@doenet/doenetml 0.7.24-dev.484 → 0.7.24-dev.486

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 (112) hide show
  1. package/{AnswerResponseButton-DOkiGXwR.js → AnswerResponseButton-XKnLjuuA.js} +2 -2
  2. package/{Description-dd5zo0Da.js → Description-Dh2cMINb.js} +1 -1
  3. package/EditorViewer/EditorViewer.d.ts +6 -0
  4. package/EditorViewer/EditorViewer.d.ts.map +1 -1
  5. package/{GraphFrame-CJnYmlxB.js → GraphFrame-CoR6zZFS.js} +2 -2
  6. package/{JSXGraphRenderer-CqQeYbb_.js → JSXGraphRenderer-Bq1h8yN6.js} +1 -1
  7. package/{NonInlineMediaWrapper-Bzzs4aLp.js → NonInlineMediaWrapper-Bre5BZoP.js} +1 -1
  8. package/Viewer/DocViewer.d.ts +15 -1
  9. package/Viewer/DocViewer.d.ts.map +1 -1
  10. package/{_error-DshBxNw7.js → _error-B1JAx-ob.js} +2 -2
  11. package/{alert-boEZiy8P.js → alert-CvkDuRqi.js} +3 -3
  12. package/{angle-Cg_cvHt2.js → angle-BDZD0oAp.js} +6 -6
  13. package/{answer-Cv8KidCI.js → answer-DnCm4w3g.js} +5 -5
  14. package/{asList-BRziaNyA.js → asList-BPDtyhFP.js} +2 -2
  15. package/{blockQuote-DHZVW_Gd.js → blockQuote-By6NN2EG.js} +3 -3
  16. package/{boolean-CD7ZkKG1.js → boolean-ULg_g9h3.js} +2 -2
  17. package/{booleanInput-B2d95be3.js → booleanInput-CJgXieYS.js} +6 -6
  18. package/{br-BySBp0Qm.js → br-B_MJywNl.js} +2 -2
  19. package/{button-i7QU2Gp2.js → button-k3kV2nYB.js} +4 -4
  20. package/{c-C6eFHKOm.js → c-DMW2serk.js} +3 -3
  21. package/{cell-CuBy_sd-.js → cell-BwreMR82.js} +3 -3
  22. package/{choiceInput-cCdnPZxl.js → choiceInput-nqoJpFM9.js} +4 -4
  23. package/{circle-Cl0ehDpP.js → circle-DP5PVQ57.js} +6 -6
  24. package/{cobwebPolyline-CIbCw1DX.js → cobwebPolyline-BkwcXd8R.js} +4 -4
  25. package/{codeEditor-CVdj4BCY.js → codeEditor-COhhb7wH.js} +2 -2
  26. package/{composites-BahnWZ44.js → composites-7vkKK_uQ.js} +1 -1
  27. package/{containerBlock-DrN10qVb.js → containerBlock-B4p79ga5.js} +4 -4
  28. package/{containerInline-BMaCC4K_.js → containerInline-b4gD_dws.js} +4 -4
  29. package/{curve-D_UKYjPX.js → curve-CHP53IOC.js} +4 -4
  30. package/{doenetml-aUmY9leg.js → doenetml-DYY06WUu.js} +152 -34
  31. package/doenetml-external-worker.js +2 -2
  32. package/doenetml-inline-worker.js +2 -2
  33. package/doenetml.d.ts +13 -1
  34. package/doenetml.d.ts.map +1 -1
  35. package/{ellipsis-CY3IE_8F.js → ellipsis-DRfYwdzZ.js} +2 -2
  36. package/{em-B1X1bCB5.js → em-B7-gUmqe.js} +3 -3
  37. package/{embed-CKDnpG5N.js → embed-CmPH08aV.js} +2 -2
  38. package/{feedback-COUFZk1c.js → feedback-Ceo6f3yn.js} +4 -4
  39. package/{figure-Blo3AaKP.js → figure-3Hq1EnOM.js} +3 -3
  40. package/{fillPatterns-BMeeuJF5.js → fillPatterns-CUlTAPd2.js} +1 -1
  41. package/{footnote-LNP_5Px7.js → footnote-D7RYIrVb.js} +3 -3
  42. package/{fractionInput-B0vgkmCH.js → fractionInput-DLOWjDLI.js} +4 -4
  43. package/global-config.d.ts +11 -7
  44. package/global-config.d.ts.map +1 -1
  45. package/{graph-tfQQFRA6.js → graph-B0fmps0e.js} +6 -6
  46. package/{hint-BNFwH9y4.js → hint-HzAGnzGA.js} +4 -4
  47. package/{hr-DLtP75RR.js → hr-D2-K7x8O.js} +2 -2
  48. package/{image-BAVOKRjs.js → image-DK5RM3SK.js} +7 -7
  49. package/{index-DEGhhHR0.js → index-XhmlPdJX.js} +1 -1
  50. package/{index.es-EwFj50Xp.js → index.es-Ceo2FiZx.js} +1 -1
  51. package/index.js +1 -1
  52. package/{label-CcWhR8P3.js → label-C2R0RtI5.js} +6 -6
  53. package/{labelWithLatex-CG5R0Beu.js → labelWithLatex-CykQVcza.js} +1 -1
  54. package/{legend-CTr43fsJ.js → legend-DdY3z3O9.js} +4 -4
  55. package/{line-Uh10z24B.js → line-iUHka3pR.js} +6 -6
  56. package/{lineFamilyDragHandlers-Cq8PcFCJ.js → lineFamilyDragHandlers-CNgQjRxW.js} +1 -1
  57. package/{lineSegment-hVn537jV.js → lineSegment-DBrrRMbb.js} +5 -5
  58. package/{list-C-YcT9Dk.js → list-CC02MNvZ.js} +4 -4
  59. package/{lq-Cj3uwOLp.js → lq-q7qprVSb.js} +2 -2
  60. package/{lsq-7QeR5rpb.js → lsq-jUtkHSDC.js} +2 -2
  61. package/{markupRenderer-DaZQsDAf.js → markupRenderer-CyoqYLhP.js} +1 -1
  62. package/{math-DrMdOcrl.js → math-CeuOGNyS.js} +6 -6
  63. package/{mathInput-CtURtu72.js → mathInput-STleJNTX.js} +7 -7
  64. package/{matrixInput-DgV6Rt8a.js → matrixInput-tLWhu4j6.js} +4 -4
  65. package/{mdash-4WjRv6iT.js → mdash-CD2JKxkq.js} +2 -2
  66. package/{nbsp-yuITh3Y6.js → nbsp-De--mMwo.js} +2 -2
  67. package/{ndash-DkVZ1P1m.js → ndash-TpfqxeCb.js} +2 -2
  68. package/{number-AVe_Yorf.js → number-y4gfrlw9.js} +6 -6
  69. package/{orbitalDiagram-BgRjqqBD.js → orbitalDiagram-B4QxQhcb.js} +2 -2
  70. package/{orbitalDiagramInput-CbCVpaO2.js → orbitalDiagramInput-Dzv0gwgO.js} +2 -2
  71. package/{p-B9P3Wh1I.js → p-DxoLDBQi.js} +4 -4
  72. package/package.json +1 -1
  73. package/{paginatorControls-CgRMs12_.js → paginatorControls-BWiE0HBB.js} +2 -2
  74. package/{pegboard-DOmqpNmS.js → pegboard-C0Adh_43.js} +4 -4
  75. package/{point-Dek6LcYq.js → point-CHznhj63.js} +6 -6
  76. package/{polygon-CtjOBqjz.js → polygon-CU1FPxpV.js} +6 -6
  77. package/{polyline-PBXmF4gv.js → polyline-BHuszkzT.js} +5 -5
  78. package/{pre-CwsrcLE-.js → pre-D-g_jk88.js} +3 -3
  79. package/{prefigure-BYOevvcI.js → prefigure-GOVqurod.js} +1 -1
  80. package/{pretzel-3C2U-3Z2.js → pretzel-DJQ6qCSl.js} +4 -4
  81. package/{q-B0j14wnX.js → q-BCLAkLFl.js} +3 -3
  82. package/{ray-DquLwch7.js → ray-DAFTYk5O.js} +5 -5
  83. package/{ref-gb-FQAGZ.js → ref-CZ5sA88e.js} +2 -2
  84. package/{regionBetweenCurveXAxis-BmWzX2yw.js → regionBetweenCurveXAxis-BOogk9l8.js} +5 -5
  85. package/{regionBetweenCurves-UTO3bi4h.js → regionBetweenCurves-38QNZodB.js} +5 -5
  86. package/{row-CxL5y8rd.js → row-zyewjtmj.js} +2 -2
  87. package/{rq-DObfWLeh.js → rq-9yTyIeeD.js} +2 -2
  88. package/{rsq-CPquodKd.js → rsq-Cn0b8WQG.js} +2 -2
  89. package/{section-DHS5-Mky.js → section-BYNBuO3r.js} +5 -5
  90. package/{sha256-DT5xJ2Hv-8W5OTWey.js → sha256-DT5xJ2Hv-DSXRomyG.js} +1 -1
  91. package/{sideBySide-BZMviE2e.js → sideBySide-OuKpmQLa.js} +2 -2
  92. package/{slider-DQ_e-7JO.js → slider-BQ3wLOwR.js} +3 -3
  93. package/{slopeField-DhpVaCAs.js → slopeField-Cy3yTScw.js} +2 -2
  94. package/{solution-CeOknXdN.js → solution-_hPAXnKh.js} +4 -4
  95. package/{spreadsheet-Bb7QZCwp.js → spreadsheet-5SUvg7IK.js} +2 -2
  96. package/{sq-DFXnQtlX.js → sq-DL1MOouF.js} +3 -3
  97. package/{subsetOfRealsInput-OMZK5TMU.js → subsetOfRealsInput-4MmqB_Vb.js} +2 -2
  98. package/{summaryStatistics-DL5x6SV9.js → summaryStatistics-Dr4zaYfC.js} +2 -2
  99. package/{table-Ch6FGFNm.js → table-CRgfHe5B.js} +2 -2
  100. package/{tabular-i1heii-8.js → tabular-D3QmFZAN.js} +2 -2
  101. package/{tag-BMGntAbf.js → tag-Cnjb85Kf.js} +2 -2
  102. package/{text-Dc55QUnq.js → text-Xm4fKkll.js} +6 -6
  103. package/{textInput-B3xysjq1.js → textInput-BXYovocc.js} +6 -6
  104. package/{tooltip-provider-DZ3hRPOU.js → tooltip-provider-B8hAf3i7.js} +1 -1
  105. package/{useAnchoredGraphDragHandler-BCAKAf-r.js → useAnchoredGraphDragHandler-DwfO0NmX.js} +1 -1
  106. package/useDoenetRenderer-9ms1rqyh.js +114 -0
  107. package/{useFieldCurve-hjrRP_ku.js → useFieldCurve-D2_THLHH.js} +2 -2
  108. package/{useSubmitActionWithDelay-ByB5sjDD.js → useSubmitActionWithDelay-BlKfgtmD.js} +2 -2
  109. package/{vector-OZe-6Ily.js → vector-Dju-cA7W.js} +6 -6
  110. package/{vectorField-D9u-3-c1.js → vectorField-BV6FAaCj.js} +2 -2
  111. package/{video-B3Ot8JE_.js → video-CITdZVjK.js} +4 -4
  112. package/useDoenetRenderer-D0-8JAxz.js +0 -114
@@ -1,8 +1,8 @@
1
1
  import React__default, { useContext, useRef, useEffect } from "react";
2
- import { j as jxg } from "./JSXGraphRenderer-CqQeYbb_.js";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-D0-8JAxz.js";
4
- import { BoardContext, BASE_LAYER_OFFSET } from "./graph-tfQQFRA6.js";
5
- import { H as Context } from "./doenetml-aUmY9leg.js";
2
+ import { j as jxg } from "./JSXGraphRenderer-Bq1h8yN6.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-9ms1rqyh.js";
4
+ import { BoardContext, BASE_LAYER_OFFSET } from "./graph-B0fmps0e.js";
5
+ import { H as Context } from "./doenetml-DYY06WUu.js";
6
6
  const { round } = Context.math;
7
7
  function latticeIsDrawable(...range) {
8
8
  return range.every(Number.isFinite);
@@ -1,12 +1,12 @@
1
- import { z as DocContext, A as textRendererStyle, p as jsxRuntimeExports, B as DynamicMath } from "./doenetml-aUmY9leg.js";
1
+ import { z as DocContext, A as textRendererStyle, p as jsxRuntimeExports, B as DynamicMath } from "./doenetml-DYY06WUu.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-CqQeYbb_.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-D0-8JAxz.js";
5
- import { BoardContext, POINT_LAYER_OFFSET } from "./graph-tfQQFRA6.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-Bq1h8yN6.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-9ms1rqyh.js";
5
+ import { BoardContext, POINT_LAYER_OFFSET } from "./graph-B0fmps0e.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-Cq8PcFCJ.js";
9
- import { ChoiceInputInlineContext } from "./choiceInput-cCdnPZxl.js";
8
+ import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-CNgQjRxW.js";
9
+ import { ChoiceInputInlineContext } from "./choiceInput-nqoJpFM9.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,9 +1,9 @@
1
- import { z as DocContext, p as jsxRuntimeExports } from "./doenetml-aUmY9leg.js";
1
+ import { z as DocContext, p as jsxRuntimeExports } from "./doenetml-DYY06WUu.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-CqQeYbb_.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-D0-8JAxz.js";
5
- import { BoardContext, LINE_LAYER_OFFSET, VERTEX_LAYER_OFFSET } from "./graph-tfQQFRA6.js";
6
- import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-Cq8PcFCJ.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-Bq1h8yN6.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-9ms1rqyh.js";
5
+ import { BoardContext, LINE_LAYER_OFFSET, VERTEX_LAYER_OFFSET } from "./graph-B0fmps0e.js";
6
+ import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-CNgQjRxW.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";
@@ -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-0RNcbd2S.js";
14
- import { g as getPatternFillAttributes } from "./fillPatterns-BMeeuJF5.js";
14
+ import { g as getPatternFillAttributes } from "./fillPatterns-CUlTAPd2.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 { z as DocContext, p as jsxRuntimeExports } from "./doenetml-aUmY9leg.js";
1
+ import { z as DocContext, p as jsxRuntimeExports } from "./doenetml-DYY06WUu.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-CqQeYbb_.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-D0-8JAxz.js";
5
- import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-tfQQFRA6.js";
6
- import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-Cq8PcFCJ.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-Bq1h8yN6.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-9ms1rqyh.js";
5
+ import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-B0fmps0e.js";
6
+ import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-CNgQjRxW.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 { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-aUmY9leg.js";
1
+ import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-DYY06WUu.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-D0-8JAxz.js";
4
- import { a as addCommasForCompositeRanges } from "./composites-BahnWZ44.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-9ms1rqyh.js";
4
+ import { a as addCommasForCompositeRanges } from "./composites-7vkKK_uQ.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-aUmY9leg.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-DYY06WUu.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, F as useContentT, t as useChromeLangDir, G as useRecordVisibilityChanges, z as DocContext, p as jsxRuntimeExports } from "./doenetml-aUmY9leg.js";
1
+ import { u as useT, F as useContentT, t as useChromeLangDir, G as useRecordVisibilityChanges, z as DocContext, p as jsxRuntimeExports } from "./doenetml-DYY06WUu.js";
2
2
  import React__default, { useRef, useContext } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-D0-8JAxz.js";
4
- import { A as AnswerResponseButton } from "./AnswerResponseButton-DOkiGXwR.js";
5
- import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-ByB5sjDD.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-9ms1rqyh.js";
4
+ import { A as AnswerResponseButton } from "./AnswerResponseButton-XKnLjuuA.js";
5
+ import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-BlKfgtmD.js";
6
6
  const pretzel = React__default.memo(function Pretzel(props) {
7
7
  let {
8
8
  componentIdx,
@@ -1,7 +1,7 @@
1
- import { p as jsxRuntimeExports } from "./doenetml-aUmY9leg.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-DYY06WUu.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-D0-8JAxz.js";
4
- import { r as renderMarkupBody } from "./markupRenderer-DaZQsDAf.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-9ms1rqyh.js";
4
+ import { r as renderMarkupBody } from "./markupRenderer-CyoqYLhP.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 { z as DocContext, p as jsxRuntimeExports } from "./doenetml-aUmY9leg.js";
1
+ import { z as DocContext, p as jsxRuntimeExports } from "./doenetml-DYY06WUu.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-CqQeYbb_.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-D0-8JAxz.js";
5
- import { BoardContext, LINE_LAYER_OFFSET } from "./graph-tfQQFRA6.js";
6
- import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-Cq8PcFCJ.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-Bq1h8yN6.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-9ms1rqyh.js";
5
+ import { BoardContext, LINE_LAYER_OFFSET } from "./graph-B0fmps0e.js";
6
+ import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-CNgQjRxW.js";
7
7
  import { a as buildLineLikeAttributes } from "./buildGraphicalAttributes-0RNcbd2S.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 { z as DocContext, p as jsxRuntimeExports } from "./doenetml-aUmY9leg.js";
1
+ import { z as DocContext, p as jsxRuntimeExports } from "./doenetml-DYY06WUu.js";
2
2
  import React__default, { useContext, useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-D0-8JAxz.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-9ms1rqyh.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 { z as DocContext, K as createFunctionFromDefinition, p as jsxRuntimeExports } from "./doenetml-aUmY9leg.js";
1
+ import { z as DocContext, K as createFunctionFromDefinition, p as jsxRuntimeExports } from "./doenetml-DYY06WUu.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-CqQeYbb_.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-D0-8JAxz.js";
5
- import { BoardContext, LINE_LAYER_OFFSET } from "./graph-tfQQFRA6.js";
6
- import { g as getPatternFillAttributes } from "./fillPatterns-BMeeuJF5.js";
3
+ import { j as jxg, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-Bq1h8yN6.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-9ms1rqyh.js";
5
+ import { BoardContext, LINE_LAYER_OFFSET } from "./graph-B0fmps0e.js";
6
+ import { g as getPatternFillAttributes } from "./fillPatterns-CUlTAPd2.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 { z as DocContext, K as createFunctionFromDefinition, p as jsxRuntimeExports } from "./doenetml-aUmY9leg.js";
1
+ import { z as DocContext, K as createFunctionFromDefinition, p as jsxRuntimeExports } from "./doenetml-DYY06WUu.js";
2
2
  import React__default, { useContext, useRef, useEffect } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-D0-8JAxz.js";
4
- import { BoardContext, LINE_LAYER_OFFSET } from "./graph-tfQQFRA6.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-9ms1rqyh.js";
4
+ import { BoardContext, LINE_LAYER_OFFSET } from "./graph-B0fmps0e.js";
5
5
  import { s as styleToDash } from "./styleToDash-DWb71gbd.js";
6
- import { g as getPatternFillAttributes } from "./fillPatterns-BMeeuJF5.js";
6
+ import { g as getPatternFillAttributes } from "./fillPatterns-CUlTAPd2.js";
7
7
  import { b as resolveCanvasColor } from "./styleColors-Cknqcr0q.js";
8
- import { b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-CqQeYbb_.js";
8
+ import { b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-Bq1h8yN6.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-aUmY9leg.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-DYY06WUu.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-D0-8JAxz.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-9ms1rqyh.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-aUmY9leg.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-DYY06WUu.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-D0-8JAxz.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-9ms1rqyh.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-aUmY9leg.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-DYY06WUu.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-D0-8JAxz.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-9ms1rqyh.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, F as useContentT, N as directionOf, O as useDocumentDirection, P as chromeLangDir, q as useUiLocale, z as DocContext, I as cesc, G as useRecordVisibilityChanges, p as jsxRuntimeExports, Q as DocumentDirectionProvider } from "./doenetml-aUmY9leg.js";
1
+ import { u as useT, F as useContentT, N as directionOf, O as useDocumentDirection, P as chromeLangDir, q as useUiLocale, z as DocContext, I as cesc, G as useRecordVisibilityChanges, p as jsxRuntimeExports, Q as DocumentDirectionProvider } from "./doenetml-DYY06WUu.js";
2
2
  import React__default, { useContext, useRef, useEffect } from "react";
3
- import { F as FontAwesomeIcon } from "./index.es-EwFj50Xp.js";
3
+ import { F as FontAwesomeIcon } from "./index.es-Ceo2FiZx.js";
4
4
  import { f as faCaretDown, a as faCaretRight } from "./index-BDlitCgu.js";
5
- import { u as useDoenetRenderer } from "./useDoenetRenderer-D0-8JAxz.js";
6
- import { a as addCommasForCompositeRanges } from "./composites-BahnWZ44.js";
7
- import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-ByB5sjDD.js";
5
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-9ms1rqyh.js";
6
+ import { a as addCommasForCompositeRanges } from "./composites-7vkKK_uQ.js";
7
+ import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-BlKfgtmD.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 { o as getDefaultExportFromCjs } from "./doenetml-aUmY9leg.js";
1
+ import { o as getDefaultExportFromCjs } from "./doenetml-DYY06WUu.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 { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-aUmY9leg.js";
1
+ import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-DYY06WUu.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-D0-8JAxz.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-9ms1rqyh.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, R as ActionButtonGroup, S as ActionButton, H as Context } from "./doenetml-aUmY9leg.js";
1
+ import { u as useT, p as jsxRuntimeExports, R as ActionButtonGroup, S as ActionButton, H as Context } from "./doenetml-DYY06WUu.js";
2
2
  import React__default, { useState, useRef, useEffect } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-D0-8JAxz.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-9ms1rqyh.js";
4
4
  import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
5
- import { r as renderLabelWithLatex } from "./labelWithLatex-CG5R0Beu.js";
5
+ import { r as renderLabelWithLatex } from "./labelWithLatex-CykQVcza.js";
6
6
  import { l as ltrIslandProps } from "./direction-BwrU7jHk.js";
7
7
  let round_to_decimals = (x, n) => {
8
8
  try {
@@ -1,6 +1,6 @@
1
1
  import React__default from "react";
2
- import { u as useDoenetRenderer } from "./useDoenetRenderer-D0-8JAxz.js";
3
- import { u as useFieldFunction, a as useFieldCurve, b as buildSlopeFieldData } from "./useFieldCurve-hjrRP_ku.js";
2
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-9ms1rqyh.js";
3
+ import { u as useFieldFunction, a as useFieldCurve, b as buildSlopeFieldData } from "./useFieldCurve-D2_THLHH.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, G as useRecordVisibilityChanges, t as useChromeLangDir, p as jsxRuntimeExports } from "./doenetml-aUmY9leg.js";
1
+ import { u as useT, G as useRecordVisibilityChanges, t as useChromeLangDir, p as jsxRuntimeExports } from "./doenetml-DYY06WUu.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-D0-8JAxz.js";
4
- import { F as FontAwesomeIcon } from "./index.es-EwFj50Xp.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-9ms1rqyh.js";
4
+ import { F as FontAwesomeIcon } from "./index.es-Ceo2FiZx.js";
5
5
  import { c as faPuzzlePiece } from "./index-BDlitCgu.js";
6
- import { a as addCommasForCompositeRanges } from "./composites-BahnWZ44.js";
6
+ import { a as addCommasForCompositeRanges } from "./composites-7vkKK_uQ.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 { z as DocContext, G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-aUmY9leg.js";
1
+ import { z as DocContext, G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-DYY06WUu.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-D0-8JAxz.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-9ms1rqyh.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-aUmY9leg.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-DYY06WUu.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-D0-8JAxz.js";
4
- import { r as renderMarkupBody } from "./markupRenderer-DaZQsDAf.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-9ms1rqyh.js";
4
+ import { r as renderMarkupBody } from "./markupRenderer-CyoqYLhP.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, G as useRecordVisibilityChanges, p as jsxRuntimeExports, W as ToggleButtonGroup, U as ToggleButton, R as ActionButtonGroup, S as ActionButton } from "./doenetml-aUmY9leg.js";
1
+ import { u as useT, G as useRecordVisibilityChanges, p as jsxRuntimeExports, W as ToggleButtonGroup, U as ToggleButton, R as ActionButtonGroup, S as ActionButton } from "./doenetml-DYY06WUu.js";
2
2
  import React__default, { useState, useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-D0-8JAxz.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-9ms1rqyh.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, t as useChromeLangDir, G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-aUmY9leg.js";
1
+ import { u as useT, t as useChromeLangDir, G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-DYY06WUu.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-D0-8JAxz.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-9ms1rqyh.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 { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-aUmY9leg.js";
1
+ import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-DYY06WUu.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-D0-8JAxz.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-9ms1rqyh.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 { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-aUmY9leg.js";
1
+ import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-DYY06WUu.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-D0-8JAxz.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-9ms1rqyh.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-aUmY9leg.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-DYY06WUu.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-D0-8JAxz.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-9ms1rqyh.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 { z as DocContext, H as Context, p as jsxRuntimeExports, A as textRendererStyle } from "./doenetml-aUmY9leg.js";
1
+ import { z as DocContext, H as Context, p as jsxRuntimeExports, A as textRendererStyle } from "./doenetml-DYY06WUu.js";
2
2
  import React__default, { useRef, useContext } from "react";
3
- import { j as jxg } from "./JSXGraphRenderer-CqQeYbb_.js";
4
- import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-tfQQFRA6.js";
5
- import { u as useDoenetRenderer } from "./useDoenetRenderer-D0-8JAxz.js";
3
+ import { j as jxg } from "./JSXGraphRenderer-Bq1h8yN6.js";
4
+ import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-B0fmps0e.js";
5
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-9ms1rqyh.js";
6
6
  import { g as getPositionFromAnchorByCoordinate } from "./graph-W6vrFcBu.js";
7
- import { ChoiceInputInlineContext } from "./choiceInput-cCdnPZxl.js";
7
+ import { ChoiceInputInlineContext } from "./choiceInput-nqoJpFM9.js";
8
8
  import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
9
9
  import { u as useDraggableRefs } from "./useDraggableRefs-QaTfkVuD.js";
10
- import { d as detachAnchoredGraphElement, a as attachAnchoredGraphDragHandlers } from "./useAnchoredGraphDragHandler-BCAKAf-r.js";
10
+ import { d as detachAnchoredGraphElement, a as attachAnchoredGraphDragHandlers } from "./useAnchoredGraphDragHandler-DwfO0NmX.js";
11
11
  import { u as useJSXGraphCleanup } from "./useJSXGraphCleanup-BNk4sn6x.js";
12
12
  const text = React__default.memo(function Text(props) {
13
13
  let { componentIdx, id, SVs, actions, callAction } = useDoenetRenderer(props);
@@ -1,12 +1,12 @@
1
- import { F as useContentT, H as Context, p as jsxRuntimeExports, T as MathJax } from "./doenetml-aUmY9leg.js";
1
+ import { F as useContentT, H as Context, p as jsxRuntimeExports, T as MathJax } from "./doenetml-DYY06WUu.js";
2
2
  import { useState, useRef, useContext, useEffect } from "react";
3
- import { j as jxg } from "./JSXGraphRenderer-CqQeYbb_.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-D0-8JAxz.js";
3
+ import { j as jxg } from "./JSXGraphRenderer-Bq1h8yN6.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-9ms1rqyh.js";
5
5
  import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
6
- import { BoardContext } from "./graph-tfQQFRA6.js";
6
+ import { BoardContext } from "./graph-B0fmps0e.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-ByB5sjDD.js";
9
- import { D as DescriptionPopover } from "./Description-dd5zo0Da.js";
8
+ import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-BlKfgtmD.js";
9
+ import { D as DescriptionPopover } from "./Description-Dh2cMINb.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);
@@ -1,4 +1,4 @@
1
- import { ae as createStoreContext, af as HovercardScopedContextProvider, ag as HovercardContextProvider, ah as createDialogComponent, Y as forwardRef, Z as createElement, $ as createHook, a1 as invariant, ai as useWrapElement, p as jsxRuntimeExports, a2 as useStoreState, aj as useHovercard, ak as isFalsyBooleanCallback, al as contains, am as sync, an as chain, ao as useEvent, ap as useHovercardAnchor, aq as createStore, ar as createHovercardStore, as as defaultValue, at as useStore, au as useStoreProps, av as useHovercardStoreProps } from "./doenetml-aUmY9leg.js";
1
+ import { ae as createStoreContext, af as HovercardScopedContextProvider, ag as HovercardContextProvider, ah as createDialogComponent, Y as forwardRef, Z as createElement, $ as createHook, a1 as invariant, ai as useWrapElement, p as jsxRuntimeExports, a2 as useStoreState, aj as useHovercard, ak as isFalsyBooleanCallback, al as contains, am as sync, an as chain, ao as useEvent, ap as useHovercardAnchor, aq as createStore, ar as createHovercardStore, as as defaultValue, at as useStore, au as useStoreProps, av as useHovercardStoreProps } from "./doenetml-DYY06WUu.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-CqQeYbb_.js";
1
+ import { r as removeJXGEventHandlers, L as LINE_FAMILY_EVENTS, j as jxg } from "./JSXGraphRenderer-Bq1h8yN6.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 { w as useAppSelector, x as mainSlice, y as renderersLoadComponent, _ as __variableDynamicImportRuntimeHelper } from "./doenetml-DYY06WUu.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-CoR6zZFS.js"), "./renderers/JSXGraphRenderer.tsx": () => import("./JSXGraphRenderer-Bq1h8yN6.js").then((n) => n.m), "./renderers/_error.tsx": () => import("./_error-B1JAx-ob.js"), "./renderers/alert.tsx": () => import("./alert-CvkDuRqi.js"), "./renderers/angle.tsx": () => import("./angle-BDZD0oAp.js"), "./renderers/answer.tsx": () => import("./answer-DnCm4w3g.js"), "./renderers/asList.tsx": () => import("./asList-BPDtyhFP.js"), "./renderers/blockQuote.tsx": () => import("./blockQuote-By6NN2EG.js"), "./renderers/boolean.tsx": () => import("./boolean-ULg_g9h3.js"), "./renderers/booleanInput.tsx": () => import("./booleanInput-CJgXieYS.js"), "./renderers/br.tsx": () => import("./br-B_MJywNl.js"), "./renderers/button.tsx": () => import("./button-k3kV2nYB.js"), "./renderers/c.tsx": () => import("./c-DMW2serk.js"), "./renderers/cell.tsx": () => import("./cell-BwreMR82.js"), "./renderers/choiceInput.tsx": () => import("./choiceInput-nqoJpFM9.js"), "./renderers/circle.tsx": () => import("./circle-DP5PVQ57.js"), "./renderers/cobwebPolyline.tsx": () => import("./cobwebPolyline-BkwcXd8R.js"), "./renderers/codeEditor.tsx": () => import("./codeEditor-COhhb7wH.js"), "./renderers/containerBlock.tsx": () => import("./containerBlock-B4p79ga5.js"), "./renderers/containerInline.tsx": () => import("./containerInline-b4gD_dws.js"), "./renderers/curve.tsx": () => import("./curve-CHP53IOC.js"), "./renderers/ellipsis.tsx": () => import("./ellipsis-DRfYwdzZ.js"), "./renderers/em.tsx": () => import("./em-B7-gUmqe.js"), "./renderers/embed.tsx": () => import("./embed-CmPH08aV.js"), "./renderers/feedback.tsx": () => import("./feedback-Ceo6f3yn.js"), "./renderers/figure.tsx": () => import("./figure-3Hq1EnOM.js"), "./renderers/footnote.tsx": () => import("./footnote-D7RYIrVb.js"), "./renderers/fractionInput.tsx": () => import("./fractionInput-DLOWjDLI.js"), "./renderers/graph.tsx": () => import("./graph-B0fmps0e.js"), "./renderers/hint.tsx": () => import("./hint-HzAGnzGA.js"), "./renderers/hr.tsx": () => import("./hr-D2-K7x8O.js"), "./renderers/image.tsx": () => import("./image-DK5RM3SK.js"), "./renderers/label.tsx": () => import("./label-C2R0RtI5.js"), "./renderers/legend.tsx": () => import("./legend-DdY3z3O9.js"), "./renderers/line.tsx": () => import("./line-iUHka3pR.js"), "./renderers/lineSegment.tsx": () => import("./lineSegment-DBrrRMbb.js"), "./renderers/list.tsx": () => import("./list-CC02MNvZ.js"), "./renderers/lq.tsx": () => import("./lq-q7qprVSb.js"), "./renderers/lsq.tsx": () => import("./lsq-jUtkHSDC.js"), "./renderers/math.tsx": () => import("./math-CeuOGNyS.js"), "./renderers/mathInput.tsx": () => import("./mathInput-STleJNTX.js"), "./renderers/matrixInput.tsx": () => import("./matrixInput-tLWhu4j6.js"), "./renderers/mdash.tsx": () => import("./mdash-CD2JKxkq.js"), "./renderers/nbsp.tsx": () => import("./nbsp-De--mMwo.js"), "./renderers/ndash.tsx": () => import("./ndash-TpfqxeCb.js"), "./renderers/number.tsx": () => import("./number-y4gfrlw9.js"), "./renderers/orbitalDiagram.tsx": () => import("./orbitalDiagram-B4QxQhcb.js"), "./renderers/orbitalDiagramInput.tsx": () => import("./orbitalDiagramInput-Dzv0gwgO.js"), "./renderers/p.tsx": () => import("./p-DxoLDBQi.js"), "./renderers/paginatorControls.tsx": () => import("./paginatorControls-BWiE0HBB.js"), "./renderers/pegboard.tsx": () => import("./pegboard-C0Adh_43.js"), "./renderers/point.tsx": () => import("./point-CHznhj63.js"), "./renderers/polygon.tsx": () => import("./polygon-CU1FPxpV.js"), "./renderers/polyline.tsx": () => import("./polyline-BHuszkzT.js"), "./renderers/pre.tsx": () => import("./pre-D-g_jk88.js"), "./renderers/prefigure.tsx": () => import("./prefigure-GOVqurod.js"), "./renderers/pretzel.tsx": () => import("./pretzel-DJQ6qCSl.js"), "./renderers/q.tsx": () => import("./q-BCLAkLFl.js"), "./renderers/ray.tsx": () => import("./ray-DAFTYk5O.js"), "./renderers/ref.tsx": () => import("./ref-CZ5sA88e.js"), "./renderers/regionBetweenCurveXAxis.tsx": () => import("./regionBetweenCurveXAxis-BOogk9l8.js"), "./renderers/regionBetweenCurves.tsx": () => import("./regionBetweenCurves-38QNZodB.js"), "./renderers/row.tsx": () => import("./row-zyewjtmj.js"), "./renderers/rq.tsx": () => import("./rq-9yTyIeeD.js"), "./renderers/rsq.tsx": () => import("./rsq-Cn0b8WQG.js"), "./renderers/section.tsx": () => import("./section-BYNBuO3r.js"), "./renderers/sideBySide.tsx": () => import("./sideBySide-OuKpmQLa.js"), "./renderers/slider.tsx": () => import("./slider-BQ3wLOwR.js"), "./renderers/slopeField.tsx": () => import("./slopeField-Cy3yTScw.js"), "./renderers/solution.tsx": () => import("./solution-_hPAXnKh.js"), "./renderers/spreadsheet.tsx": () => import("./spreadsheet-5SUvg7IK.js"), "./renderers/sq.tsx": () => import("./sq-DL1MOouF.js"), "./renderers/subsetOfRealsInput.tsx": () => import("./subsetOfRealsInput-4MmqB_Vb.js"), "./renderers/summaryStatistics.tsx": () => import("./summaryStatistics-Dr4zaYfC.js"), "./renderers/table.tsx": () => import("./table-CRgfHe5B.js"), "./renderers/tabular.tsx": () => import("./tabular-D3QmFZAN.js"), "./renderers/tag.tsx": () => import("./tag-Cnjb85Kf.js"), "./renderers/text.tsx": () => import("./text-Xm4fKkll.js"), "./renderers/textInput.tsx": () => import("./textInput-BXYovocc.js"), "./renderers/vector.tsx": () => import("./vector-Dju-cA7W.js"), "./renderers/vectorField.tsx": () => import("./vectorField-BV6FAaCj.js"), "./renderers/video.tsx": () => import("./video-CITdZVjK.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-tfQQFRA6.js";
3
- import { K as createFunctionFromDefinition, z as DocContext } from "./doenetml-aUmY9leg.js";
2
+ import { BoardContext, LINE_LAYER_OFFSET } from "./graph-B0fmps0e.js";
3
+ import { K as createFunctionFromDefinition, z as DocContext } from "./doenetml-DYY06WUu.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 { p as jsxRuntimeExports } from "./doenetml-aUmY9leg.js";
2
- import { F as FontAwesomeIcon } from "./index.es-EwFj50Xp.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-DYY06WUu.js";
2
+ import { F as FontAwesomeIcon } from "./index.es-Ceo2FiZx.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) {
@@ -1,10 +1,10 @@
1
- import { z as DocContext, p as jsxRuntimeExports, A as textRendererStyle, B as DynamicMath } from "./doenetml-aUmY9leg.js";
1
+ import { z as DocContext, p as jsxRuntimeExports, A as textRendererStyle, B as DynamicMath } from "./doenetml-DYY06WUu.js";
2
2
  import React__default, { useContext, useRef } from "react";
3
- import { j as jxg, s as syncLayer, g as syncVisPropValues, 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-CqQeYbb_.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-D0-8JAxz.js";
5
- import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-tfQQFRA6.js";
6
- import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-Cq8PcFCJ.js";
7
- import { ChoiceInputInlineContext } from "./choiceInput-cCdnPZxl.js";
3
+ import { j as jxg, s as syncLayer, g as syncVisPropValues, 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-Bq1h8yN6.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-9ms1rqyh.js";
5
+ import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-B0fmps0e.js";
6
+ import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-CNgQjRxW.js";
7
+ import { ChoiceInputInlineContext } from "./choiceInput-nqoJpFM9.js";
8
8
  import { a as buildLineLikeAttributes, c as buildDragHandleAttributes } from "./buildGraphicalAttributes-0RNcbd2S.js";
9
9
  import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
10
10
  import { p as pointerEventToUserCoords } from "./dragThreshold-DuSSFrIU.js";