@doenet/doenetml 0.7.27-dev.600 → 0.7.27-dev.601

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 (116) hide show
  1. package/{AnswerResponseButton-DRLPfkKx.js → AnswerResponseButton-Br8dVMCF.js} +2 -2
  2. package/{Description-Dnx0Wj5g.js → Description-CAcyr01x.js} +1 -1
  3. package/{DynamicMath-DwJh2O6V.js → DynamicMath-OboPz8sW.js} +1 -1
  4. package/{EditorViewer-BU4y7SS_.js → EditorViewer-DhAvNjGF.js} +6 -6
  5. package/{GraphFrame-GgkUnQaE.js → GraphFrame-BGOZLZrr.js} +2 -2
  6. package/{JSXGraphRenderer-BdgvyalU.js → JSXGraphRenderer-ErWFm_0I.js} +1 -1
  7. package/{NonInlineMediaWrapper-Be8ZfYVO.js → NonInlineMediaWrapper-BoUiAP3i.js} +1 -1
  8. package/Viewer/DocViewer.d.ts.map +1 -1
  9. package/{_error-BI0fm_EW.js → _error-B_T2O6n9.js} +2 -2
  10. package/{alert-CSwJw1Xk.js → alert-DqGavtP5.js} +3 -3
  11. package/{angle-TuwOIirf.js → angle-BD62UBou.js} +7 -7
  12. package/{answer-DnmqUjOd.js → answer-BTpgrjoH.js} +6 -6
  13. package/{asList-BpDW6re3.js → asList-DyUNS4W1.js} +2 -2
  14. package/{blockQuote-C4MJUpEg.js → blockQuote-BZoG1yuB.js} +3 -3
  15. package/{boolean-DzqY3Jth.js → boolean-CIXPAuEO.js} +2 -2
  16. package/{booleanInput-DZRs32M4.js → booleanInput-D0qPwcye.js} +6 -6
  17. package/{br-AM84c9EK.js → br-CYwD_ZoD.js} +2 -2
  18. package/{button-CEDt2p7D.js → button-AqVvmF1d.js} +4 -4
  19. package/{c-Bi_RnCxx.js → c-BBHoa0kH.js} +3 -3
  20. package/{cell-dZDWcV5N.js → cell-D0RlFgrX.js} +3 -3
  21. package/{chart-BccyZCTa.js → chart-E6yv4u4F.js} +4 -4
  22. package/{choiceInput-CyNc1XFd.js → choiceInput-BuQJgQFZ.js} +5 -5
  23. package/{circle-DYK6xF5K.js → circle-BHKrZbFB.js} +6 -6
  24. package/{cobwebPolyline-B-dE4Zjk.js → cobwebPolyline-Dp15cAYD.js} +4 -4
  25. package/{codeEditor-BIoOwtZn.js → codeEditor-C37DlAk2.js} +2 -2
  26. package/{composites-CZHKsG2K.js → composites-QKGX5lHW.js} +1 -1
  27. package/{containerBlock-CnvZr0DE.js → containerBlock-Bbd4-0Vg.js} +4 -4
  28. package/{containerInline-D-OIzD_O.js → containerInline-DC1ndJFE.js} +4 -4
  29. package/{curve-Tqb6qV20.js → curve-CXA-8o_c.js} +4 -4
  30. package/{doenetml-lTNZSKPX.js → doenetml-DOnPQyVt.js} +48 -19
  31. package/doenetml-external-worker.js +2 -2
  32. package/doenetml-inline-worker.js +3 -3
  33. package/doenetml-worker/index.esm.js +1 -1
  34. package/doenetml-worker/index.js +1 -1
  35. package/{ellipsis-DzrH9xJj.js → ellipsis-DedzGCU4.js} +2 -2
  36. package/{em-CMNxo__i.js → em-DeuHWzO4.js} +3 -3
  37. package/{embed-B1lGIkid.js → embed-uWlByFO3.js} +2 -2
  38. package/{feedback-C_V1CWQt.js → feedback-BLsHoNjo.js} +4 -4
  39. package/{figure-DedJMEw3.js → figure-5cj6ESRd.js} +3 -3
  40. package/{fillPatterns-CC0NDYfA.js → fillPatterns-ZEjDLSV6.js} +1 -1
  41. package/{footnote-DP2c50aW.js → footnote-B8lz8ZtF.js} +3 -3
  42. package/{fractionInput-BJn0vzEq.js → fractionInput-BSc5a3Jq.js} +4 -4
  43. package/{graph-CVHmqVMI.js → graph-zsVCDJ_C.js} +6 -6
  44. package/{hint-UBSBtKji.js → hint-B7vXdDBO.js} +4 -4
  45. package/{hovercard-store-DZoE9EXp.js → hovercard-store-BMffCk3l.js} +1 -1
  46. package/{hr-CLlCYSEN.js → hr-DxOGasRe.js} +2 -2
  47. package/{image-DoCtIRTQ.js → image-FRKzDoRo.js} +7 -7
  48. package/{index-2g19oVY4.js → index-BuodoDP-.js} +1 -1
  49. package/{index.es-DDmkqYTY.js → index.es-BLk07si_.js} +1 -1
  50. package/index.js +1 -1
  51. package/{label-DZr_08kb.js → label-CaieRpRW.js} +7 -7
  52. package/{labelWithLatex-BNgGmSUR.js → labelWithLatex-D9_lM2LB.js} +2 -2
  53. package/{legend-CJ77Dig-.js → legend-B-i9268c.js} +4 -4
  54. package/{line-CXUZ0Do-.js → line-wZ_KxcUL.js} +7 -7
  55. package/{lineFamilyDragHandlers-C_j0RRjP.js → lineFamilyDragHandlers-CSA5Rrwd.js} +1 -1
  56. package/{lineSegment-izLTBFDb.js → lineSegment-CKMeyE54.js} +5 -5
  57. package/{list-MPcqtNGF.js → list-hNH8JSbR.js} +4 -4
  58. package/{lq-BWWJA31G.js → lq-DBLSHy5a.js} +2 -2
  59. package/{lsq-eVn4vd1b.js → lsq-CoSQIGWw.js} +2 -2
  60. package/{markupRenderer-gYk-Xa5D.js → markupRenderer-C1a4rcSh.js} +1 -1
  61. package/{math-eiqieXDf.js → math-BuxG2IDS.js} +8 -8
  62. package/{mathInput-Cl_9qUWQ.js → mathInput-BOsGcMRy.js} +8 -8
  63. package/{mathInputSlots-C6SzK5ya.js → mathInputSlots-D8AWtb5G.js} +1 -1
  64. package/{matrixInput-BbUw7foU.js → matrixInput-aCyJfFhL.js} +4 -4
  65. package/{mdash-CO5zKn0F.js → mdash-CsfaaDHU.js} +2 -2
  66. package/{nbsp-BOmVGggq.js → nbsp-B4_d1VIW.js} +2 -2
  67. package/{ndash-6ocZV7n5.js → ndash-BZB63bn_.js} +2 -2
  68. package/{number-CcXCwsro.js → number-Bw3RdaLA.js} +7 -7
  69. package/{orbitalDiagram-CeH1UHK9.js → orbitalDiagram-DApWtp_d.js} +2 -2
  70. package/{orbitalDiagramInput-BvreoL7u.js → orbitalDiagramInput-rNH5Rm0p.js} +2 -2
  71. package/{p-Hde4txoW.js → p-BL1Fqmsd.js} +4 -4
  72. package/package.json +1 -1
  73. package/{paginatorControls-DyYLk5uY.js → paginatorControls-KxzQ4S-U.js} +2 -2
  74. package/{pegboard-DtOIamcd.js → pegboard-fhmtuyj_.js} +3 -3
  75. package/{point-B03_LE2N.js → point-D2JxZ9w2.js} +7 -7
  76. package/{polygon-DUIRNl4Z.js → polygon-ya1hYxmr.js} +6 -6
  77. package/{polyline-Ye7eCf_H.js → polyline-CksV57jo.js} +5 -5
  78. package/{pre-CUJMG1ql.js → pre-ijh_Zmfv.js} +3 -3
  79. package/{prefigure-B6IfOpgD.js → prefigure-CzRrCcLa.js} +1 -1
  80. package/{pretzel-L48POuWZ.js → pretzel-DAR1hc7t.js} +4 -4
  81. package/{q-Dqcw3Ma0.js → q-DbrW1ur0.js} +3 -3
  82. package/{ray-C48k0cGU.js → ray-1kco5Rfm.js} +5 -5
  83. package/{ref-CkAeYyOv.js → ref-CXYiGecY.js} +2 -2
  84. package/{regionBetweenCurveXAxis-Dk0ln7xg.js → regionBetweenCurveXAxis-CwoLNzVy.js} +5 -5
  85. package/{regionBetweenCurves-B9b3kbUO.js → regionBetweenCurves-DVRhdXWl.js} +5 -5
  86. package/{row-DPG7BfoK.js → row-u_-YqzAR.js} +2 -2
  87. package/{rq-DSAbbZnk.js → rq-P5rwMQnu.js} +2 -2
  88. package/{rsq-dT2gnlI4.js → rsq-U1SPfQSW.js} +2 -2
  89. package/{section-BoeXSpeq.js → section-BMrVpInx.js} +5 -5
  90. package/{sha256-8sXzDnE0-B0V_5yBW.js → sha256-8sXzDnE0-COlJ7K2T.js} +1 -1
  91. package/{sideBySide-BZPk8S-n.js → sideBySide-DXuFaM9D.js} +2 -2
  92. package/{slider-De3LwXC-.js → slider-xmbFqbN0.js} +3 -3
  93. package/{slopeField-Dmk26pJq.js → slopeField-BsgX9ja_.js} +2 -2
  94. package/{solution-Bef7G-Fw.js → solution-1kjdX9Wr.js} +4 -4
  95. package/{spreadsheet-DBOf9y0M.js → spreadsheet-BT-V5bIv.js} +2 -2
  96. package/{sq-Bn6c1Dg2.js → sq-Co8WFmd2.js} +3 -3
  97. package/state/slices/main.d.ts +18 -1
  98. package/state/slices/main.d.ts.map +1 -1
  99. package/state/slices/main.test.d.ts +2 -0
  100. package/state/slices/main.test.d.ts.map +1 -0
  101. package/{subsetOfRealsInput-B0shzzZw.js → subsetOfRealsInput-CdUiro7B.js} +2 -2
  102. package/{summaryStatistics-Bj3pdkuF.js → summaryStatistics-D7HmNNwi.js} +2 -2
  103. package/{table-CMaTfBa6.js → table-D9OuIa6d.js} +2 -2
  104. package/{tabular-BPdLWc7Y.js → tabular-EcQDZEaT.js} +2 -2
  105. package/{tag-B7J7qDaO.js → tag-BsQbXSZY.js} +2 -2
  106. package/{text-FWu2uHTk.js → text-mAG0ihP1.js} +6 -6
  107. package/{textInput-D9aKfl6i.js → textInput-DBFFB_Hk.js} +7 -7
  108. package/{tooltip-provider-BfeGXkDD.js → tooltip-provider-Dw-2NKHe.js} +2 -2
  109. package/{useAnchoredGraphDragHandler-nNGlrpyX.js → useAnchoredGraphDragHandler-CjYflV2x.js} +1 -1
  110. package/useDoenetRenderer-DBIgwgbm.js +114 -0
  111. package/{useFieldCurve-PBcgiMJO.js → useFieldCurve-CSwMbG3o.js} +2 -2
  112. package/{useSubmitActionWithDelay-DWgkUYH_.js → useSubmitActionWithDelay-GTC0ReUA.js} +2 -2
  113. package/{vector-CVAVSnGf.js → vector-DN6rQEOp.js} +7 -7
  114. package/{vectorField-CzxygtWz.js → vectorField-CGM8o2JG.js} +2 -2
  115. package/{video-Drv8q5rq.js → video-BPQYpaxz.js} +4 -4
  116. package/useDoenetRenderer-BWkT4-nO.js +0 -114
@@ -1,9 +1,9 @@
1
- import { E as DocContext, q as jsxRuntimeExports } from "./doenetml-lTNZSKPX.js";
1
+ import { E as DocContext, q as jsxRuntimeExports } from "./doenetml-DOnPQyVt.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-BdgvyalU.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-BWkT4-nO.js";
5
- import { BoardContext, LINE_LAYER_OFFSET, VERTEX_LAYER_OFFSET } from "./graph-CVHmqVMI.js";
6
- import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-C_j0RRjP.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-ErWFm_0I.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-DBIgwgbm.js";
5
+ import { BoardContext, LINE_LAYER_OFFSET, VERTEX_LAYER_OFFSET } from "./graph-zsVCDJ_C.js";
6
+ import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-CSA5Rrwd.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-BrCvjxze.js";
@@ -11,7 +11,7 @@ import { s as styleToDash } from "./styleToDash-DWb71gbd.js";
11
11
  import { u as useDraggableRefs } from "./useDraggableRefs-QaTfkVuD.js";
12
12
  import { u as useJSXGraphCleanup } from "./useJSXGraphCleanup-BNk4sn6x.js";
13
13
  import { d as buildBaseAttributes } from "./buildGraphicalAttributes-B_soifR-.js";
14
- import { g as getPatternFillAttributes } from "./fillPatterns-CC0NDYfA.js";
14
+ import { g as getPatternFillAttributes } from "./fillPatterns-ZEjDLSV6.js";
15
15
  const polygon = React__default.memo(function Polygon(props) {
16
16
  let { componentIdx, id, SVs, actions, sourceOfUpdate, callAction } = useDoenetRenderer(props);
17
17
  Polygon.ignoreActionsWithoutCore = () => true;
@@ -1,9 +1,9 @@
1
- import { E as DocContext, q as jsxRuntimeExports } from "./doenetml-lTNZSKPX.js";
1
+ import { E as DocContext, q as jsxRuntimeExports } from "./doenetml-DOnPQyVt.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-BdgvyalU.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-BWkT4-nO.js";
5
- import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-CVHmqVMI.js";
6
- import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-C_j0RRjP.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-ErWFm_0I.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-DBIgwgbm.js";
5
+ import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-zsVCDJ_C.js";
6
+ import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-CSA5Rrwd.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-BrCvjxze.js";
@@ -1,7 +1,7 @@
1
- import { J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-lTNZSKPX.js";
1
+ import { J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-DOnPQyVt.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-BWkT4-nO.js";
4
- import { a as addCommasForCompositeRanges } from "./composites-CZHKsG2K.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-DBIgwgbm.js";
4
+ import { a as addCommasForCompositeRanges } from "./composites-QKGX5lHW.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 { q as jsxRuntimeExports } from "./doenetml-lTNZSKPX.js";
1
+ import { q as jsxRuntimeExports } from "./doenetml-DOnPQyVt.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, I as useContentT, v as useChromeLangDir, J as useRecordVisibilityChanges, E as DocContext, q as jsxRuntimeExports } from "./doenetml-lTNZSKPX.js";
1
+ import { u as useT, I as useContentT, v as useChromeLangDir, J as useRecordVisibilityChanges, E as DocContext, q as jsxRuntimeExports } from "./doenetml-DOnPQyVt.js";
2
2
  import React__default, { useRef, useContext } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-BWkT4-nO.js";
4
- import { A as AnswerResponseButton } from "./AnswerResponseButton-DRLPfkKx.js";
5
- import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-DWgkUYH_.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-DBIgwgbm.js";
4
+ import { A as AnswerResponseButton } from "./AnswerResponseButton-Br8dVMCF.js";
5
+ import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-GTC0ReUA.js";
6
6
  const pretzel = React__default.memo(function Pretzel(props) {
7
7
  let {
8
8
  componentIdx,
@@ -1,7 +1,7 @@
1
- import { q as jsxRuntimeExports } from "./doenetml-lTNZSKPX.js";
1
+ import { q as jsxRuntimeExports } from "./doenetml-DOnPQyVt.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-BWkT4-nO.js";
4
- import { r as renderMarkupBody } from "./markupRenderer-gYk-Xa5D.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-DBIgwgbm.js";
4
+ import { r as renderMarkupBody } from "./markupRenderer-C1a4rcSh.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 { E as DocContext, q as jsxRuntimeExports } from "./doenetml-lTNZSKPX.js";
1
+ import { E as DocContext, q as jsxRuntimeExports } from "./doenetml-DOnPQyVt.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-BdgvyalU.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-BWkT4-nO.js";
5
- import { BoardContext, LINE_LAYER_OFFSET } from "./graph-CVHmqVMI.js";
6
- import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-C_j0RRjP.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-ErWFm_0I.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-DBIgwgbm.js";
5
+ import { BoardContext, LINE_LAYER_OFFSET } from "./graph-zsVCDJ_C.js";
6
+ import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-CSA5Rrwd.js";
7
7
  import { a as buildLineLikeAttributes } from "./buildGraphicalAttributes-B_soifR-.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 { E as DocContext, q as jsxRuntimeExports } from "./doenetml-lTNZSKPX.js";
1
+ import { E as DocContext, q as jsxRuntimeExports } from "./doenetml-DOnPQyVt.js";
2
2
  import React__default, { useContext, useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-BWkT4-nO.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-DBIgwgbm.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 { E as DocContext, N as createFunctionFromDefinition, q as jsxRuntimeExports } from "./doenetml-lTNZSKPX.js";
1
+ import { E as DocContext, N as createFunctionFromDefinition, q as jsxRuntimeExports } from "./doenetml-DOnPQyVt.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-BdgvyalU.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-BWkT4-nO.js";
5
- import { BoardContext, LINE_LAYER_OFFSET } from "./graph-CVHmqVMI.js";
6
- import { g as getPatternFillAttributes } from "./fillPatterns-CC0NDYfA.js";
3
+ import { j as jxg, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-ErWFm_0I.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-DBIgwgbm.js";
5
+ import { BoardContext, LINE_LAYER_OFFSET } from "./graph-zsVCDJ_C.js";
6
+ import { g as getPatternFillAttributes } from "./fillPatterns-ZEjDLSV6.js";
7
7
  import { b as resolveCanvasColor } from "./styleColors-BrCvjxze.js";
8
8
  const regionBetweenCurveXAxis = React__default.memo(function RegionBetweenCurveXAxis(props) {
9
9
  let { id, SVs } = useDoenetRenderer(props);
@@ -1,11 +1,11 @@
1
- import { E as DocContext, N as createFunctionFromDefinition, q as jsxRuntimeExports } from "./doenetml-lTNZSKPX.js";
1
+ import { E as DocContext, N as createFunctionFromDefinition, q as jsxRuntimeExports } from "./doenetml-DOnPQyVt.js";
2
2
  import React__default, { useContext, useRef, useEffect } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-BWkT4-nO.js";
4
- import { BoardContext, LINE_LAYER_OFFSET } from "./graph-CVHmqVMI.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-DBIgwgbm.js";
4
+ import { BoardContext, LINE_LAYER_OFFSET } from "./graph-zsVCDJ_C.js";
5
5
  import { s as styleToDash } from "./styleToDash-DWb71gbd.js";
6
- import { g as getPatternFillAttributes } from "./fillPatterns-CC0NDYfA.js";
6
+ import { g as getPatternFillAttributes } from "./fillPatterns-ZEjDLSV6.js";
7
7
  import { b as resolveCanvasColor } from "./styleColors-BrCvjxze.js";
8
- import { b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-BdgvyalU.js";
8
+ import { b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-ErWFm_0I.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 { q as jsxRuntimeExports } from "./doenetml-lTNZSKPX.js";
1
+ import { q as jsxRuntimeExports } from "./doenetml-DOnPQyVt.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-BWkT4-nO.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-DBIgwgbm.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 { q as jsxRuntimeExports } from "./doenetml-lTNZSKPX.js";
1
+ import { q as jsxRuntimeExports } from "./doenetml-DOnPQyVt.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-BWkT4-nO.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-DBIgwgbm.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 { q as jsxRuntimeExports } from "./doenetml-lTNZSKPX.js";
1
+ import { q as jsxRuntimeExports } from "./doenetml-DOnPQyVt.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-BWkT4-nO.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-DBIgwgbm.js";
4
4
  const rsq = React__default.memo(function Rsq(props) {
5
5
  let { SVs } = useDoenetRenderer(props, false);
6
6
  if (SVs.hidden) {
@@ -1,10 +1,10 @@
1
- import { u as useT, I as useContentT, Q as directionOf, R as useDocumentDirection, S as chromeLangDir, t as useUiLocale, E as DocContext, L as cesc, J as useRecordVisibilityChanges, q as jsxRuntimeExports, T as DocumentDirectionProvider } from "./doenetml-lTNZSKPX.js";
1
+ import { u as useT, I as useContentT, Q as directionOf, R as useDocumentDirection, S as chromeLangDir, t as useUiLocale, E as DocContext, L as cesc, J as useRecordVisibilityChanges, q as jsxRuntimeExports, T as DocumentDirectionProvider } from "./doenetml-DOnPQyVt.js";
2
2
  import React__default, { useContext, useRef, useEffect } from "react";
3
- import { F as FontAwesomeIcon } from "./index.es-DDmkqYTY.js";
3
+ import { F as FontAwesomeIcon } from "./index.es-BLk07si_.js";
4
4
  import { f as faCaretDown, a as faCaretRight } from "./index-BDlitCgu.js";
5
- import { u as useDoenetRenderer } from "./useDoenetRenderer-BWkT4-nO.js";
6
- import { a as addCommasForCompositeRanges } from "./composites-CZHKsG2K.js";
7
- import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-DWgkUYH_.js";
5
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-DBIgwgbm.js";
6
+ import { a as addCommasForCompositeRanges } from "./composites-QKGX5lHW.js";
7
+ import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-GTC0ReUA.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);
@@ -1,4 +1,4 @@
1
- import { p as getDefaultExportFromCjs } from "./doenetml-lTNZSKPX.js";
1
+ import { p as getDefaultExportFromCjs } from "./doenetml-DOnPQyVt.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 { J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-lTNZSKPX.js";
1
+ import { J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-DOnPQyVt.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-BWkT4-nO.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-DBIgwgbm.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,9 +1,9 @@
1
- import { u as useT, q as jsxRuntimeExports, U as ActionButtonGroup, V as ActionButton } from "./doenetml-lTNZSKPX.js";
1
+ import { u as useT, q as jsxRuntimeExports, U as ActionButtonGroup, V as ActionButton } from "./doenetml-DOnPQyVt.js";
2
2
  import React__default, { useState, useRef, useEffect } from "react";
3
3
  import me from "math-expressions";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-BWkT4-nO.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-DBIgwgbm.js";
5
5
  import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
6
- import { r as renderLabelWithLatex } from "./labelWithLatex-BNgGmSUR.js";
6
+ import { r as renderLabelWithLatex } from "./labelWithLatex-D9_lM2LB.js";
7
7
  import { l as ltrIslandProps } from "./direction-BwrU7jHk.js";
8
8
  let round_to_decimals = (x, n) => {
9
9
  try {
@@ -1,6 +1,6 @@
1
1
  import React__default from "react";
2
- import { u as useDoenetRenderer } from "./useDoenetRenderer-BWkT4-nO.js";
3
- import { u as useFieldFunction, a as useFieldCurve, b as buildSlopeFieldData } from "./useFieldCurve-PBcgiMJO.js";
2
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-DBIgwgbm.js";
3
+ import { u as useFieldFunction, a as useFieldCurve, b as buildSlopeFieldData } from "./useFieldCurve-CSwMbG3o.js";
4
4
  const slopeField = React__default.memo(function SlopeField(props) {
5
5
  let { SVs } = useDoenetRenderer(props);
6
6
  SlopeField.ignoreActionsWithoutCore = () => true;
@@ -1,9 +1,9 @@
1
- import { u as useT, J as useRecordVisibilityChanges, v as useChromeLangDir, q as jsxRuntimeExports } from "./doenetml-lTNZSKPX.js";
1
+ import { u as useT, J as useRecordVisibilityChanges, v as useChromeLangDir, q as jsxRuntimeExports } from "./doenetml-DOnPQyVt.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-BWkT4-nO.js";
4
- import { F as FontAwesomeIcon } from "./index.es-DDmkqYTY.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-DBIgwgbm.js";
4
+ import { F as FontAwesomeIcon } from "./index.es-BLk07si_.js";
5
5
  import { c as faPuzzlePiece } from "./index-BDlitCgu.js";
6
- import { a as addCommasForCompositeRanges } from "./composites-CZHKsG2K.js";
6
+ import { a as addCommasForCompositeRanges } from "./composites-QKGX5lHW.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 { E as DocContext, J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-lTNZSKPX.js";
1
+ import { E as DocContext, J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-DOnPQyVt.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-BWkT4-nO.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-DBIgwgbm.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 { q as jsxRuntimeExports } from "./doenetml-lTNZSKPX.js";
1
+ import { q as jsxRuntimeExports } from "./doenetml-DOnPQyVt.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-BWkT4-nO.js";
4
- import { r as renderMarkupBody } from "./markupRenderer-gYk-Xa5D.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-DBIgwgbm.js";
4
+ import { r as renderMarkupBody } from "./markupRenderer-C1a4rcSh.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 });
@@ -17,6 +17,23 @@ export type UniqueActionIdentifier = string & {
17
17
  readonly __brand: unique symbol;
18
18
  };
19
19
  export declare function actionIdentifier(actionId: string, componentIdx: number): UniqueActionIdentifier;
20
+ /**
21
+ * The value a renderer put on screen ahead of core, together with the component
22
+ * it belongs to. The component index is carried alongside the value so that an
23
+ * update arriving for that component can tell whether one of its own actions is
24
+ * still in flight.
25
+ */
26
+ export type PendingRendererValue = {
27
+ componentIdx: number;
28
+ value: any;
29
+ };
30
+ export type UpdatesToIgnore = Map<UniqueActionIdentifier, PendingRendererValue>;
31
+ /**
32
+ * Drop whatever `actionId` left pending. Core has finished with that action, so
33
+ * its answer has either been matched up already or is never coming, and a value
34
+ * left behind would go on suppressing core's updates to that component.
35
+ */
36
+ export declare function clearPendingValuesForAction(updatesToIgnore: UpdatesToIgnore, actionId: string): void;
20
37
  export interface MainSlice {
21
38
  /**
22
39
  * A map of component names/ids to information that the component needs to render.
@@ -44,7 +61,7 @@ export declare const mainThunks: {
44
61
  sourceOfUpdate?: Record<string, any>;
45
62
  baseStateVariable?: string;
46
63
  actionId?: string;
47
- updatesToIgnoreRef: React.RefObject<Map<UniqueActionIdentifier, string>>;
64
+ updatesToIgnoreRef: React.RefObject<UpdatesToIgnore>;
48
65
  prefixForIds: string;
49
66
  }, {
50
67
  state: import('..').RootState;
@@ -1 +1 @@
1
- {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../../src/state/slices/main.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtD,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,MAAM,aAAa,GAAG;IACxB,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACjC,cAAc,CAAC,EAAE;QACb,KAAK,CAAC,EAAE,OAAO,CAAC;QAChB,iBAAiB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KAC/C,CAAC;IACF,YAAY,EAAE,OAAO,CAAC;IACtB,oBAAoB,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,CAAC;IAC5C,YAAY,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG,MAAM,GAAG;IAC1C,QAAQ,CAAC,OAAO,EAAE,OAAO,MAAM,CAAC;CACnC,CAAC;AACF,wBAAgB,gBAAgB,CAC5B,QAAQ,EAAE,MAAM,EAChB,YAAY,EAAE,MAAM,GACrB,sBAAsB,CAExB;AAGD,MAAM,WAAW,SAAS;IACtB;;;OAGG;IACH,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC;CAChD;AAOD,eAAO,MAAM,SAAS;gFAQF,aAAa,CAAC;QAClB,GAAG,EAAE,MAAM,CAAC;QACZ,aAAa,EAAE,aAAa,CAAC;KAChC,CAAC;;;EASZ,CAAC;AAEH,eAAO,MAAM,UAAU;IACnB;;OAEG;;gBAeiB,MAAM;sBACA,MAAM;qBACP,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;+BACT,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE;yBAC3B,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;4BAChB,MAAM;mBACf,MAAM;4BACG,KAAK,CAAC,SAAS,CAC/B,GAAG,CAAC,sBAAsB,EAAE,MAAM,CAAC,CACtC;sBACa,MAAM;;;;;;;;;;;CAyEnC,CAAC"}
1
+ {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../../src/state/slices/main.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtD,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,MAAM,aAAa,GAAG;IACxB,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACjC,cAAc,CAAC,EAAE;QACb,KAAK,CAAC,EAAE,OAAO,CAAC;QAChB,iBAAiB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KAC/C,CAAC;IACF,YAAY,EAAE,OAAO,CAAC;IACtB,oBAAoB,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,CAAC;IAC5C,YAAY,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG,MAAM,GAAG;IAC1C,QAAQ,CAAC,OAAO,EAAE,OAAO,MAAM,CAAC;CACnC,CAAC;AACF,wBAAgB,gBAAgB,CAC5B,QAAQ,EAAE,MAAM,EAChB,YAAY,EAAE,MAAM,GACrB,sBAAsB,CAExB;AAED;;;;;GAKG;AACH,MAAM,MAAM,oBAAoB,GAAG;IAC/B,YAAY,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,GAAG,CAAC;CACd,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,GAAG,CAAC,sBAAsB,EAAE,oBAAoB,CAAC,CAAC;AAkBhF;;;;GAIG;AACH,wBAAgB,2BAA2B,CACvC,eAAe,EAAE,eAAe,EAChC,QAAQ,EAAE,MAAM,QAQnB;AAaD,MAAM,WAAW,SAAS;IACtB;;;OAGG;IACH,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC;CAChD;AAOD,eAAO,MAAM,SAAS;gFAQF,aAAa,CAAC;QAClB,GAAG,EAAE,MAAM,CAAC;QACZ,aAAa,EAAE,aAAa,CAAC;KAChC,CAAC;;;EASZ,CAAC;AAEH,eAAO,MAAM,UAAU;IACnB;;OAEG;;gBAeiB,MAAM;sBACA,MAAM;qBACP,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;+BACT,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE;yBAC3B,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;4BAChB,MAAM;mBACf,MAAM;4BACG,KAAK,CAAC,SAAS,CAAC,eAAe,CAAC;sBACtC,MAAM;;;;;;;;;;;CAgFnC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=main.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"main.test.d.ts","sourceRoot":"","sources":["../../../src/state/slices/main.test.ts"],"names":[],"mappings":""}
@@ -1,6 +1,6 @@
1
- import { u as useT, J as useRecordVisibilityChanges, q as jsxRuntimeExports, $ as ToggleButtonGroup, Y as ToggleButton, U as ActionButtonGroup, V as ActionButton } from "./doenetml-lTNZSKPX.js";
1
+ import { u as useT, J as useRecordVisibilityChanges, q as jsxRuntimeExports, $ as ToggleButtonGroup, Y as ToggleButton, U as ActionButtonGroup, V as ActionButton } from "./doenetml-DOnPQyVt.js";
2
2
  import React__default, { useState, useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-BWkT4-nO.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-DBIgwgbm.js";
4
4
  import { l as ltrIslandProps } from "./direction-BwrU7jHk.js";
5
5
  const subsetOfRealsInput = React__default.memo(function subsetOfReals(props) {
6
6
  let { id, SVs, actions, callAction } = useDoenetRenderer(props, false);
@@ -1,6 +1,6 @@
1
- import { u as useT, v as useChromeLangDir, J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-lTNZSKPX.js";
1
+ import { u as useT, v as useChromeLangDir, J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-DOnPQyVt.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-BWkT4-nO.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-DBIgwgbm.js";
4
4
  const summaryStatistics = React__default.memo(function SummaryStatistics(props) {
5
5
  let { id, SVs, actions, callAction } = useDoenetRenderer(props);
6
6
  const t = useT();
@@ -1,6 +1,6 @@
1
- import { J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-lTNZSKPX.js";
1
+ import { J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-DOnPQyVt.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-BWkT4-nO.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-DBIgwgbm.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 { J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-lTNZSKPX.js";
1
+ import { J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-DOnPQyVt.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-BWkT4-nO.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-DBIgwgbm.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 { q as jsxRuntimeExports } from "./doenetml-lTNZSKPX.js";
1
+ import { q as jsxRuntimeExports } from "./doenetml-DOnPQyVt.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-BWkT4-nO.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-DBIgwgbm.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,14 +1,14 @@
1
- import { E as DocContext, K as toNumberOrNaN, q as jsxRuntimeExports, F as textRendererStyle } from "./doenetml-lTNZSKPX.js";
1
+ import { E as DocContext, K as toNumberOrNaN, q as jsxRuntimeExports, F as textRendererStyle } from "./doenetml-DOnPQyVt.js";
2
2
  import React__default, { useRef, useContext } from "react";
3
- import { j as jxg } from "./JSXGraphRenderer-BdgvyalU.js";
4
- import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-CVHmqVMI.js";
5
- import { u as useDoenetRenderer } from "./useDoenetRenderer-BWkT4-nO.js";
3
+ import { j as jxg } from "./JSXGraphRenderer-ErWFm_0I.js";
4
+ import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-zsVCDJ_C.js";
5
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-DBIgwgbm.js";
6
6
  import me from "math-expressions";
7
7
  import { g as getPositionFromAnchorByCoordinate } from "./graph-W6vrFcBu.js";
8
- import { ChoiceInputInlineContext } from "./choiceInput-CyNc1XFd.js";
8
+ import { ChoiceInputInlineContext } from "./choiceInput-BuQJgQFZ.js";
9
9
  import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
10
10
  import { u as useDraggableRefs } from "./useDraggableRefs-QaTfkVuD.js";
11
- import { d as detachAnchoredGraphElement, a as attachAnchoredGraphDragHandlers } from "./useAnchoredGraphDragHandler-nNGlrpyX.js";
11
+ import { d as detachAnchoredGraphElement, a as attachAnchoredGraphDragHandlers } from "./useAnchoredGraphDragHandler-CjYflV2x.js";
12
12
  import { u as useJSXGraphCleanup } from "./useJSXGraphCleanup-BNk4sn6x.js";
13
13
  import { e as resolveTextColor, f as resolveBackgroundColor } from "./styleColors-BrCvjxze.js";
14
14
  const text = React__default.memo(function Text(props) {
@@ -1,15 +1,15 @@
1
- import { I as useContentT, K as toNumberOrNaN, q as jsxRuntimeExports, X as MathJax } from "./doenetml-lTNZSKPX.js";
1
+ import { I as useContentT, K as toNumberOrNaN, q as jsxRuntimeExports, X as MathJax } from "./doenetml-DOnPQyVt.js";
2
2
  import { useState, useRef, useContext, useEffect } from "react";
3
- import { j as jxg } from "./JSXGraphRenderer-BdgvyalU.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-BWkT4-nO.js";
3
+ import { j as jxg } from "./JSXGraphRenderer-ErWFm_0I.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-DBIgwgbm.js";
5
5
  import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
6
- import { BoardContext } from "./graph-CVHmqVMI.js";
6
+ import { BoardContext } from "./graph-zsVCDJ_C.js";
7
7
  import me from "math-expressions";
8
8
  import { g as getPositionFromAnchorByCoordinate, P as POINTER_DRAG_THRESHOLD } from "./graph-W6vrFcBu.js";
9
- import { c as calculateValidationState, u as useSubmitActionWithDelay, w as wantsFullCheckWorkButton, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-DWgkUYH_.js";
10
- import { D as DescriptionPopover } from "./Description-Dnx0Wj5g.js";
9
+ import { c as calculateValidationState, u as useSubmitActionWithDelay, w as wantsFullCheckWorkButton, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-GTC0ReUA.js";
10
+ import { D as DescriptionPopover } from "./Description-CAcyr01x.js";
11
11
  import { a as addValidationStateToShortDescription } from "./validationState-DI_lxk1a.js";
12
- import { b as useInMathSlot, c as useMathSlotEditing } from "./mathInputSlots-C6SzK5ya.js";
12
+ import { b as useInMathSlot, c as useMathSlotEditing } from "./mathInputSlots-D8AWtb5G.js";
13
13
  import { u as useMathJaxOutOfTabOrder } from "./useMathJaxOutOfTabOrder-C0wsYqBF.js";
14
14
  const EXPANDED_INPUT_MARGIN_X = 4;
15
15
  const BOARD_INPUT_FALLBACK_WIDTH = "100px";
@@ -1,5 +1,5 @@
1
- import { ai as createStoreContext, aj as createDialogComponent, a1 as forwardRef, a2 as createElement, a3 as createHook, a5 as invariant, ak as useWrapElement, q as jsxRuntimeExports, a6 as useStoreState, al as isFalsyBooleanCallback, am as contains, an as sync, ao as chain, ap as useEvent, aq as createStore, ar as defaultValue, as as useStore, at as useStoreProps } from "./doenetml-lTNZSKPX.js";
2
- import { H as HovercardScopedContextProvider, a as HovercardContextProvider, u as useHovercard, b as useHovercardAnchor, c as createHovercardStore, d as useHovercardStoreProps } from "./hovercard-store-DZoE9EXp.js";
1
+ import { ai as createStoreContext, aj as createDialogComponent, a1 as forwardRef, a2 as createElement, a3 as createHook, a5 as invariant, ak as useWrapElement, q as jsxRuntimeExports, a6 as useStoreState, al as isFalsyBooleanCallback, am as contains, an as sync, ao as chain, ap as useEvent, aq as createStore, ar as defaultValue, as as useStore, at as useStoreProps } from "./doenetml-DOnPQyVt.js";
2
+ import { H as HovercardScopedContextProvider, a as HovercardContextProvider, u as useHovercard, b as useHovercardAnchor, c as createHovercardStore, d as useHovercardStoreProps } from "./hovercard-store-BMffCk3l.js";
3
3
  import { useRef, useEffect } from "react";
4
4
  const ctx = createStoreContext([HovercardContextProvider], [HovercardScopedContextProvider]);
5
5
  const useTooltipProviderContext = ctx.useProviderContext;
@@ -1,4 +1,4 @@
1
- import { r as removeJXGEventHandlers, L as LINE_FAMILY_EVENTS, j as jxg } from "./JSXGraphRenderer-BdgvyalU.js";
1
+ import { r as removeJXGEventHandlers, L as LINE_FAMILY_EVENTS, j as jxg } from "./JSXGraphRenderer-ErWFm_0I.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 { x as useAppSelector, y as mainSlice, z as renderersLoadComponent, _ as __variableDynamicImportRuntimeHelper } from "./doenetml-DOnPQyVt.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-BGOZLZrr.js"), "./renderers/JSXGraphRenderer.tsx": () => import("./JSXGraphRenderer-ErWFm_0I.js").then((n) => n.m), "./renderers/_error.tsx": () => import("./_error-B_T2O6n9.js"), "./renderers/alert.tsx": () => import("./alert-DqGavtP5.js"), "./renderers/angle.tsx": () => import("./angle-BD62UBou.js"), "./renderers/answer.tsx": () => import("./answer-BTpgrjoH.js"), "./renderers/asList.tsx": () => import("./asList-DyUNS4W1.js"), "./renderers/blockQuote.tsx": () => import("./blockQuote-BZoG1yuB.js"), "./renderers/boolean.tsx": () => import("./boolean-CIXPAuEO.js"), "./renderers/booleanInput.tsx": () => import("./booleanInput-D0qPwcye.js"), "./renderers/br.tsx": () => import("./br-CYwD_ZoD.js"), "./renderers/button.tsx": () => import("./button-AqVvmF1d.js"), "./renderers/c.tsx": () => import("./c-BBHoa0kH.js"), "./renderers/cell.tsx": () => import("./cell-D0RlFgrX.js"), "./renderers/chart.tsx": () => import("./chart-E6yv4u4F.js"), "./renderers/choiceInput.tsx": () => import("./choiceInput-BuQJgQFZ.js"), "./renderers/circle.tsx": () => import("./circle-BHKrZbFB.js"), "./renderers/cobwebPolyline.tsx": () => import("./cobwebPolyline-Dp15cAYD.js"), "./renderers/codeEditor.tsx": () => import("./codeEditor-C37DlAk2.js"), "./renderers/containerBlock.tsx": () => import("./containerBlock-Bbd4-0Vg.js"), "./renderers/containerInline.tsx": () => import("./containerInline-DC1ndJFE.js"), "./renderers/curve.tsx": () => import("./curve-CXA-8o_c.js"), "./renderers/ellipsis.tsx": () => import("./ellipsis-DedzGCU4.js"), "./renderers/em.tsx": () => import("./em-DeuHWzO4.js"), "./renderers/embed.tsx": () => import("./embed-uWlByFO3.js"), "./renderers/feedback.tsx": () => import("./feedback-BLsHoNjo.js"), "./renderers/figure.tsx": () => import("./figure-5cj6ESRd.js"), "./renderers/footnote.tsx": () => import("./footnote-B8lz8ZtF.js"), "./renderers/fractionInput.tsx": () => import("./fractionInput-BSc5a3Jq.js"), "./renderers/graph.tsx": () => import("./graph-zsVCDJ_C.js"), "./renderers/hint.tsx": () => import("./hint-B7vXdDBO.js"), "./renderers/hr.tsx": () => import("./hr-DxOGasRe.js"), "./renderers/image.tsx": () => import("./image-FRKzDoRo.js"), "./renderers/label.tsx": () => import("./label-CaieRpRW.js"), "./renderers/legend.tsx": () => import("./legend-B-i9268c.js"), "./renderers/line.tsx": () => import("./line-wZ_KxcUL.js"), "./renderers/lineSegment.tsx": () => import("./lineSegment-CKMeyE54.js"), "./renderers/list.tsx": () => import("./list-hNH8JSbR.js"), "./renderers/lq.tsx": () => import("./lq-DBLSHy5a.js"), "./renderers/lsq.tsx": () => import("./lsq-CoSQIGWw.js"), "./renderers/math.tsx": () => import("./math-BuxG2IDS.js"), "./renderers/mathInput.tsx": () => import("./mathInput-BOsGcMRy.js"), "./renderers/matrixInput.tsx": () => import("./matrixInput-aCyJfFhL.js"), "./renderers/mdash.tsx": () => import("./mdash-CsfaaDHU.js"), "./renderers/nbsp.tsx": () => import("./nbsp-B4_d1VIW.js"), "./renderers/ndash.tsx": () => import("./ndash-BZB63bn_.js"), "./renderers/number.tsx": () => import("./number-Bw3RdaLA.js"), "./renderers/orbitalDiagram.tsx": () => import("./orbitalDiagram-DApWtp_d.js"), "./renderers/orbitalDiagramInput.tsx": () => import("./orbitalDiagramInput-rNH5Rm0p.js"), "./renderers/p.tsx": () => import("./p-BL1Fqmsd.js"), "./renderers/paginatorControls.tsx": () => import("./paginatorControls-KxzQ4S-U.js"), "./renderers/pegboard.tsx": () => import("./pegboard-fhmtuyj_.js"), "./renderers/point.tsx": () => import("./point-D2JxZ9w2.js"), "./renderers/polygon.tsx": () => import("./polygon-ya1hYxmr.js"), "./renderers/polyline.tsx": () => import("./polyline-CksV57jo.js"), "./renderers/pre.tsx": () => import("./pre-ijh_Zmfv.js"), "./renderers/prefigure.tsx": () => import("./prefigure-CzRrCcLa.js"), "./renderers/pretzel.tsx": () => import("./pretzel-DAR1hc7t.js"), "./renderers/q.tsx": () => import("./q-DbrW1ur0.js"), "./renderers/ray.tsx": () => import("./ray-1kco5Rfm.js"), "./renderers/ref.tsx": () => import("./ref-CXYiGecY.js"), "./renderers/regionBetweenCurveXAxis.tsx": () => import("./regionBetweenCurveXAxis-CwoLNzVy.js"), "./renderers/regionBetweenCurves.tsx": () => import("./regionBetweenCurves-DVRhdXWl.js"), "./renderers/row.tsx": () => import("./row-u_-YqzAR.js"), "./renderers/rq.tsx": () => import("./rq-P5rwMQnu.js"), "./renderers/rsq.tsx": () => import("./rsq-U1SPfQSW.js"), "./renderers/section.tsx": () => import("./section-BMrVpInx.js"), "./renderers/sideBySide.tsx": () => import("./sideBySide-DXuFaM9D.js"), "./renderers/slider.tsx": () => import("./slider-xmbFqbN0.js"), "./renderers/slopeField.tsx": () => import("./slopeField-BsgX9ja_.js"), "./renderers/solution.tsx": () => import("./solution-1kjdX9Wr.js"), "./renderers/spreadsheet.tsx": () => import("./spreadsheet-BT-V5bIv.js"), "./renderers/sq.tsx": () => import("./sq-Co8WFmd2.js"), "./renderers/subsetOfRealsInput.tsx": () => import("./subsetOfRealsInput-CdUiro7B.js"), "./renderers/summaryStatistics.tsx": () => import("./summaryStatistics-D7HmNNwi.js"), "./renderers/table.tsx": () => import("./table-D9OuIa6d.js"), "./renderers/tabular.tsx": () => import("./tabular-EcQDZEaT.js"), "./renderers/tag.tsx": () => import("./tag-BsQbXSZY.js"), "./renderers/text.tsx": () => import("./text-mAG0ihP1.js"), "./renderers/textInput.tsx": () => import("./textInput-DBFFB_Hk.js"), "./renderers/vector.tsx": () => import("./vector-DN6rQEOp.js"), "./renderers/vectorField.tsx": () => import("./vectorField-CGM8o2JG.js"), "./renderers/video.tsx": () => import("./video-BPQYpaxz.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,6 +1,6 @@
1
1
  import { useMemo, useContext, useRef } from "react";
2
- import { BoardContext, LINE_LAYER_OFFSET } from "./graph-CVHmqVMI.js";
3
- import { N as createFunctionFromDefinition, E as DocContext } from "./doenetml-lTNZSKPX.js";
2
+ import { BoardContext, LINE_LAYER_OFFSET } from "./graph-zsVCDJ_C.js";
3
+ import { N as createFunctionFromDefinition, E as DocContext } from "./doenetml-DOnPQyVt.js";
4
4
  import { s as styleToDash } from "./styleToDash-DWb71gbd.js";
5
5
  import { u as useJSXGraphCleanup } from "./useJSXGraphCleanup-BNk4sn6x.js";
6
6
  function fieldFunctionFromDefinition(fDefinition) {
@@ -1,5 +1,5 @@
1
- import { q as jsxRuntimeExports } from "./doenetml-lTNZSKPX.js";
2
- import { F as FontAwesomeIcon } from "./index.es-DDmkqYTY.js";
1
+ import { q as jsxRuntimeExports } from "./doenetml-DOnPQyVt.js";
2
+ import { F as FontAwesomeIcon } from "./index.es-BLk07si_.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 checkWorkCredit(SVs) {