@doenet/doenetml 0.7.27-dev.607 → 0.7.27-dev.608

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 (111) hide show
  1. package/{AnswerResponseButton-CcPcTICB.js → AnswerResponseButton-uYspmSl_.js} +2 -2
  2. package/{Description-D-loNBOA.js → Description-B0Si_zmU.js} +1 -1
  3. package/{DynamicMath-CePf52oD.js → DynamicMath-CyO1NQJt.js} +1 -1
  4. package/{EditorViewer-BvPF1VKl.js → EditorViewer-BO6kJnXx.js} +6 -6
  5. package/{GraphFrame-sWztj-7c.js → GraphFrame-DopD6swJ.js} +2 -2
  6. package/{JSXGraphRenderer-bx_73JYX.js → JSXGraphRenderer-C4-Eyvmr.js} +1 -1
  7. package/{NonInlineMediaWrapper-CUCsqYP1.js → NonInlineMediaWrapper-CE5wbmYZ.js} +1 -1
  8. package/{_error-Phmze06d.js → _error-B4g9BolH.js} +2 -2
  9. package/{alert-12URP5Nm.js → alert-Deyeff2F.js} +3 -3
  10. package/{angle-hO-UjCix.js → angle-xKEMXPRh.js} +7 -7
  11. package/{answer-Ihuyd-Gb.js → answer-BkYqXpba.js} +6 -6
  12. package/{asList-BXj1bdfe.js → asList-BnlCUTA_.js} +2 -2
  13. package/{blockQuote-mLIr3RNX.js → blockQuote-CRqjyiEG.js} +3 -3
  14. package/{boolean-p_YSvHTw.js → boolean-4ZYl3Ctc.js} +2 -2
  15. package/{booleanInput-hyfr9DG_.js → booleanInput-P3zLhoSU.js} +6 -6
  16. package/{br-CdvSHGuN.js → br-PD-eohnC.js} +2 -2
  17. package/{button-XkDSvdzz.js → button-CrLRwR4V.js} +4 -4
  18. package/{c-CG4naVkI.js → c-6Dkk7pNW.js} +3 -3
  19. package/{cell-ColbB0AU.js → cell-DOXKRmAw.js} +3 -3
  20. package/{chart-BN4E8lxn.js → chart-Dqloyr1Z.js} +4 -4
  21. package/{choiceInput-ClsHGKh_.js → choiceInput-DStEvz_f.js} +5 -5
  22. package/{circle-DGH8P7j_.js → circle-aO99GI-j.js} +6 -6
  23. package/{cobwebPolyline-BKqB_pj6.js → cobwebPolyline-BG5TUeSp.js} +4 -4
  24. package/{codeEditor-B9z3rwAm.js → codeEditor-p_1268lk.js} +2 -2
  25. package/{composites-DdsqVFwA.js → composites-Ie1AKOxw.js} +1 -1
  26. package/{containerBlock-CLKfwzBx.js → containerBlock-DI3UFsmR.js} +4 -4
  27. package/{containerInline-Dnb8yCwQ.js → containerInline-CJjDpSbC.js} +4 -4
  28. package/{curve-BTYBAfZO.js → curve-WbFY3bn6.js} +4 -4
  29. package/{doenetml-DrhVr0vx.js → doenetml-BatJ8Rvz.js} +3 -3
  30. package/doenetml-external-worker.js +2 -2
  31. package/doenetml-inline-worker.js +3 -3
  32. package/doenetml-worker/index.esm.js +1 -1
  33. package/doenetml-worker/index.js +1 -1
  34. package/{ellipsis-Nt16OPvs.js → ellipsis-DPcHjCAn.js} +2 -2
  35. package/{em-DJNWuZyV.js → em-Ca_e4wTF.js} +3 -3
  36. package/{embed-D4wQzAzW.js → embed-OjgcjdVA.js} +2 -2
  37. package/{feedback-iKZUKpkP.js → feedback-C7AQ862X.js} +4 -4
  38. package/{figure-BWN3rk2h.js → figure-Bm8qktuX.js} +3 -3
  39. package/{fillPatterns-BU1GwIgH.js → fillPatterns-CGqfNe88.js} +1 -1
  40. package/{footnote-BbZ6Dx2u.js → footnote-RZqcc_dc.js} +3 -3
  41. package/{fractionInput-DN6qteCr.js → fractionInput-4VJ0Z1yX.js} +4 -4
  42. package/{graph-Bns5ACIa.js → graph-CHIWsqcj.js} +6 -6
  43. package/{hint-Qkjq4Qku.js → hint-DYsmGkZo.js} +4 -4
  44. package/{hovercard-store-CPNidv3B.js → hovercard-store-BBA7T1n_.js} +1 -1
  45. package/{hr-DUhpb4-G.js → hr-Du-PDZg0.js} +2 -2
  46. package/{image-CEAXK7kt.js → image-DOYfAIs-.js} +7 -7
  47. package/{index-C12zQYw6.js → index-O4zz9eCo.js} +1 -1
  48. package/{index.es-BiAI-RX0.js → index.es-TzpfZf0E.js} +1 -1
  49. package/index.js +1 -1
  50. package/{label-B2IzS3xn.js → label-Yiczm61R.js} +7 -7
  51. package/{labelWithLatex-BmYNVkI1.js → labelWithLatex-DZ7rE3c1.js} +2 -2
  52. package/{legend-gOaT13Cc.js → legend-z0Y2VVTA.js} +4 -4
  53. package/{line-uvGkay89.js → line-BWZKh04k.js} +7 -7
  54. package/{lineFamilyDragHandlers-C94CTAgA.js → lineFamilyDragHandlers-BWNfvxmV.js} +1 -1
  55. package/{lineSegment-DC5WgfNs.js → lineSegment-CMy9LiMf.js} +5 -5
  56. package/{list-B9PFe3oC.js → list-FO8ZytZy.js} +4 -4
  57. package/{lq-B9b6gk_9.js → lq-D7OdrCH-.js} +2 -2
  58. package/{lsq-BsaAokVx.js → lsq-B9AXr9Er.js} +2 -2
  59. package/{markupRenderer-BqRyrKMC.js → markupRenderer-CNP-gTcU.js} +1 -1
  60. package/{math-B-4gZyjs.js → math-BqSWWKfc.js} +8 -8
  61. package/{mathInput-qEzTwUVF.js → mathInput-DDn2R0fU.js} +8 -8
  62. package/{mathInputSlots-C34cy62R.js → mathInputSlots-JwDQDiIg.js} +1 -1
  63. package/{matrixInput-Db9EmH_6.js → matrixInput-DW9R_ktp.js} +4 -4
  64. package/{mdash-DSlrzlP6.js → mdash-eemuh8J6.js} +2 -2
  65. package/{nbsp-DOFq8JNr.js → nbsp-DrsrVIjq.js} +2 -2
  66. package/{ndash-CpU1KxNg.js → ndash-DtQmql-g.js} +2 -2
  67. package/{number-CsNW6aRm.js → number-DcvLRg6y.js} +7 -7
  68. package/{orbitalDiagram-DafUW09i.js → orbitalDiagram-BcwuWfZW.js} +2 -2
  69. package/{orbitalDiagramInput-COXwNUG5.js → orbitalDiagramInput-CBbqwidn.js} +2 -2
  70. package/{p-CJMz-6nw.js → p-fZdicqU6.js} +4 -4
  71. package/package.json +1 -1
  72. package/{paginatorControls-DEXc21Vu.js → paginatorControls-BgCz-E6O.js} +2 -2
  73. package/{pegboard-DGJXJzao.js → pegboard-j-AOJBa4.js} +3 -3
  74. package/{point-BANwyqUq.js → point-DPiwyn2R.js} +7 -7
  75. package/{polygon-DFyhHXct.js → polygon-BrZh_uiW.js} +6 -6
  76. package/{polyline-BXomYCCk.js → polyline-SiEIV1GS.js} +5 -5
  77. package/{pre-I2WwMP-b.js → pre-D3MeJgOV.js} +3 -3
  78. package/{prefigure-xuC28eES.js → prefigure-Db6JF7fm.js} +1 -1
  79. package/{pretzel-BmlHgPuW.js → pretzel-CkY91epC.js} +4 -4
  80. package/{q-_fZ2242s.js → q-CvT35a-n.js} +3 -3
  81. package/{ray-q4angB0V.js → ray-CwR8xB0W.js} +5 -5
  82. package/{ref-BJ9I_150.js → ref-Cy6oC2ID.js} +2 -2
  83. package/{regionBetweenCurveXAxis-CUk2iE1k.js → regionBetweenCurveXAxis-DPyo8Arj.js} +5 -5
  84. package/{regionBetweenCurves-BlUloK4d.js → regionBetweenCurves-cbwTJQos.js} +5 -5
  85. package/{row-DSELk2Yp.js → row-Ccc6whSi.js} +2 -2
  86. package/{rq-D4wFBEWq.js → rq-TqAHXU25.js} +2 -2
  87. package/{rsq-B1eybCAs.js → rsq-BSC7B3ai.js} +2 -2
  88. package/{section-CT_Go6tJ.js → section-CoU5UBmq.js} +5 -5
  89. package/{sha256-8sXzDnE0-DK5xnuhx.js → sha256-8sXzDnE0-Br42T_SE.js} +1 -1
  90. package/{sideBySide-ElD7Vfga.js → sideBySide-CyZmrCu_.js} +2 -2
  91. package/{slider-CKjDrgfk.js → slider-DljXr82P.js} +3 -3
  92. package/{slopeField-tx3OCXS2.js → slopeField-ByOdUbBN.js} +2 -2
  93. package/{solution-D-s2UVR7.js → solution-XujB2Ar0.js} +4 -4
  94. package/{spreadsheet-0Kt2HYXD.js → spreadsheet-Crn9QOGu.js} +2 -2
  95. package/{sq-BahVdMuW.js → sq-DwVEpxxD.js} +3 -3
  96. package/{subsetOfRealsInput-C31SgP22.js → subsetOfRealsInput-05dPpGls.js} +2 -2
  97. package/{summaryStatistics-C3CT6zd-.js → summaryStatistics-BG3pu8qK.js} +2 -2
  98. package/{table-BNO9wJMS.js → table-DbBoxYWq.js} +2 -2
  99. package/{tabular-BUqUTqfA.js → tabular-Cq7nSf6t.js} +2 -2
  100. package/{tag-Kd4gObtu.js → tag-BlLtJ8Jt.js} +2 -2
  101. package/{text-G_oxDI57.js → text-DLc7KzYQ.js} +6 -6
  102. package/{textInput-Do_JyW1P.js → textInput-B3wt2rcJ.js} +7 -7
  103. package/{tooltip-provider-B_ham7il.js → tooltip-provider-iIOLNQIb.js} +2 -2
  104. package/{useAnchoredGraphDragHandler-CRqJg4IY.js → useAnchoredGraphDragHandler-4L9jKi-M.js} +1 -1
  105. package/useDoenetRenderer-BX7dquo_.js +114 -0
  106. package/{useFieldCurve-BzY2-BjB.js → useFieldCurve-DceIn9Zh.js} +2 -2
  107. package/{useSubmitActionWithDelay-DIddTuEF.js → useSubmitActionWithDelay-Cr502fpk.js} +2 -2
  108. package/{vector-BDXYVq-v.js → vector-DjkzMxri.js} +7 -7
  109. package/{vectorField-XQ3QwILa.js → vectorField-CsLfVYB4.js} +2 -2
  110. package/{video-BghLXhe9.js → video-4Czbp8gi.js} +4 -4
  111. package/useDoenetRenderer-DS8AMW4t.js +0 -114
@@ -1,9 +1,9 @@
1
- import { E as DocContext, q as jsxRuntimeExports } from "./doenetml-DrhVr0vx.js";
1
+ import { E as DocContext, q as jsxRuntimeExports } from "./doenetml-BatJ8Rvz.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-bx_73JYX.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-DS8AMW4t.js";
5
- import { BoardContext, LINE_LAYER_OFFSET, VERTEX_LAYER_OFFSET } from "./graph-Bns5ACIa.js";
6
- import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-C94CTAgA.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-C4-Eyvmr.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BX7dquo_.js";
5
+ import { BoardContext, LINE_LAYER_OFFSET, VERTEX_LAYER_OFFSET } from "./graph-CHIWsqcj.js";
6
+ import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-BWNfvxmV.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-BU1GwIgH.js";
14
+ import { g as getPatternFillAttributes } from "./fillPatterns-CGqfNe88.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-DrhVr0vx.js";
1
+ import { E as DocContext, q as jsxRuntimeExports } from "./doenetml-BatJ8Rvz.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-bx_73JYX.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-DS8AMW4t.js";
5
- import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-Bns5ACIa.js";
6
- import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-C94CTAgA.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-C4-Eyvmr.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BX7dquo_.js";
5
+ import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-CHIWsqcj.js";
6
+ import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-BWNfvxmV.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-DrhVr0vx.js";
1
+ import { J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-BatJ8Rvz.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-DS8AMW4t.js";
4
- import { a as addCommasForCompositeRanges } from "./composites-DdsqVFwA.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BX7dquo_.js";
4
+ import { a as addCommasForCompositeRanges } from "./composites-Ie1AKOxw.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-DrhVr0vx.js";
1
+ import { q as jsxRuntimeExports } from "./doenetml-BatJ8Rvz.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-DrhVr0vx.js";
1
+ import { u as useT, I as useContentT, v as useChromeLangDir, J as useRecordVisibilityChanges, E as DocContext, q as jsxRuntimeExports } from "./doenetml-BatJ8Rvz.js";
2
2
  import React__default, { useRef, useContext } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-DS8AMW4t.js";
4
- import { A as AnswerResponseButton } from "./AnswerResponseButton-CcPcTICB.js";
5
- import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-DIddTuEF.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BX7dquo_.js";
4
+ import { A as AnswerResponseButton } from "./AnswerResponseButton-uYspmSl_.js";
5
+ import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-Cr502fpk.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-DrhVr0vx.js";
1
+ import { q as jsxRuntimeExports } from "./doenetml-BatJ8Rvz.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-DS8AMW4t.js";
4
- import { r as renderMarkupBody } from "./markupRenderer-BqRyrKMC.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BX7dquo_.js";
4
+ import { r as renderMarkupBody } from "./markupRenderer-CNP-gTcU.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-DrhVr0vx.js";
1
+ import { E as DocContext, q as jsxRuntimeExports } from "./doenetml-BatJ8Rvz.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-bx_73JYX.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-DS8AMW4t.js";
5
- import { BoardContext, LINE_LAYER_OFFSET } from "./graph-Bns5ACIa.js";
6
- import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-C94CTAgA.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-C4-Eyvmr.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BX7dquo_.js";
5
+ import { BoardContext, LINE_LAYER_OFFSET } from "./graph-CHIWsqcj.js";
6
+ import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-BWNfvxmV.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-DrhVr0vx.js";
1
+ import { E as DocContext, q as jsxRuntimeExports } from "./doenetml-BatJ8Rvz.js";
2
2
  import React__default, { useContext, useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-DS8AMW4t.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BX7dquo_.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-DrhVr0vx.js";
1
+ import { E as DocContext, N as createFunctionFromDefinition, q as jsxRuntimeExports } from "./doenetml-BatJ8Rvz.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-bx_73JYX.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-DS8AMW4t.js";
5
- import { BoardContext, LINE_LAYER_OFFSET } from "./graph-Bns5ACIa.js";
6
- import { g as getPatternFillAttributes } from "./fillPatterns-BU1GwIgH.js";
3
+ import { j as jxg, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-C4-Eyvmr.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BX7dquo_.js";
5
+ import { BoardContext, LINE_LAYER_OFFSET } from "./graph-CHIWsqcj.js";
6
+ import { g as getPatternFillAttributes } from "./fillPatterns-CGqfNe88.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-DrhVr0vx.js";
1
+ import { E as DocContext, N as createFunctionFromDefinition, q as jsxRuntimeExports } from "./doenetml-BatJ8Rvz.js";
2
2
  import React__default, { useContext, useRef, useEffect } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-DS8AMW4t.js";
4
- import { BoardContext, LINE_LAYER_OFFSET } from "./graph-Bns5ACIa.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BX7dquo_.js";
4
+ import { BoardContext, LINE_LAYER_OFFSET } from "./graph-CHIWsqcj.js";
5
5
  import { s as styleToDash } from "./styleToDash-DWb71gbd.js";
6
- import { g as getPatternFillAttributes } from "./fillPatterns-BU1GwIgH.js";
6
+ import { g as getPatternFillAttributes } from "./fillPatterns-CGqfNe88.js";
7
7
  import { b as resolveCanvasColor } from "./styleColors-BrCvjxze.js";
8
- import { b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-bx_73JYX.js";
8
+ import { b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-C4-Eyvmr.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-DrhVr0vx.js";
1
+ import { q as jsxRuntimeExports } from "./doenetml-BatJ8Rvz.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-DS8AMW4t.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BX7dquo_.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-DrhVr0vx.js";
1
+ import { q as jsxRuntimeExports } from "./doenetml-BatJ8Rvz.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-DS8AMW4t.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BX7dquo_.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-DrhVr0vx.js";
1
+ import { q as jsxRuntimeExports } from "./doenetml-BatJ8Rvz.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-DS8AMW4t.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BX7dquo_.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-DrhVr0vx.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-BatJ8Rvz.js";
2
2
  import React__default, { useContext, useRef, useEffect } from "react";
3
- import { F as FontAwesomeIcon } from "./index.es-BiAI-RX0.js";
3
+ import { F as FontAwesomeIcon } from "./index.es-TzpfZf0E.js";
4
4
  import { f as faCaretDown, a as faCaretRight } from "./index-BDlitCgu.js";
5
- import { u as useDoenetRenderer } from "./useDoenetRenderer-DS8AMW4t.js";
6
- import { a as addCommasForCompositeRanges } from "./composites-DdsqVFwA.js";
7
- import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-DIddTuEF.js";
5
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BX7dquo_.js";
6
+ import { a as addCommasForCompositeRanges } from "./composites-Ie1AKOxw.js";
7
+ import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-Cr502fpk.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-DrhVr0vx.js";
1
+ import { p as getDefaultExportFromCjs } from "./doenetml-BatJ8Rvz.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-DrhVr0vx.js";
1
+ import { J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-BatJ8Rvz.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-DS8AMW4t.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BX7dquo_.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-DrhVr0vx.js";
1
+ import { u as useT, q as jsxRuntimeExports, U as ActionButtonGroup, V as ActionButton } from "./doenetml-BatJ8Rvz.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-DS8AMW4t.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BX7dquo_.js";
5
5
  import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
6
- import { r as renderLabelWithLatex } from "./labelWithLatex-BmYNVkI1.js";
6
+ import { r as renderLabelWithLatex } from "./labelWithLatex-DZ7rE3c1.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-DS8AMW4t.js";
3
- import { u as useFieldFunction, a as useFieldCurve, b as buildSlopeFieldData } from "./useFieldCurve-BzY2-BjB.js";
2
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BX7dquo_.js";
3
+ import { u as useFieldFunction, a as useFieldCurve, b as buildSlopeFieldData } from "./useFieldCurve-DceIn9Zh.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-DrhVr0vx.js";
1
+ import { u as useT, J as useRecordVisibilityChanges, v as useChromeLangDir, q as jsxRuntimeExports } from "./doenetml-BatJ8Rvz.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-DS8AMW4t.js";
4
- import { F as FontAwesomeIcon } from "./index.es-BiAI-RX0.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BX7dquo_.js";
4
+ import { F as FontAwesomeIcon } from "./index.es-TzpfZf0E.js";
5
5
  import { c as faPuzzlePiece } from "./index-BDlitCgu.js";
6
- import { a as addCommasForCompositeRanges } from "./composites-DdsqVFwA.js";
6
+ import { a as addCommasForCompositeRanges } from "./composites-Ie1AKOxw.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-DrhVr0vx.js";
1
+ import { E as DocContext, J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-BatJ8Rvz.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-DS8AMW4t.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BX7dquo_.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-DrhVr0vx.js";
1
+ import { q as jsxRuntimeExports } from "./doenetml-BatJ8Rvz.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-DS8AMW4t.js";
4
- import { r as renderMarkupBody } from "./markupRenderer-BqRyrKMC.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BX7dquo_.js";
4
+ import { r as renderMarkupBody } from "./markupRenderer-CNP-gTcU.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, J as useRecordVisibilityChanges, q as jsxRuntimeExports, $ as ToggleButtonGroup, Y as ToggleButton, U as ActionButtonGroup, V as ActionButton } from "./doenetml-DrhVr0vx.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-BatJ8Rvz.js";
2
2
  import React__default, { useState, useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-DS8AMW4t.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BX7dquo_.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-DrhVr0vx.js";
1
+ import { u as useT, v as useChromeLangDir, J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-BatJ8Rvz.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-DS8AMW4t.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BX7dquo_.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-DrhVr0vx.js";
1
+ import { J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-BatJ8Rvz.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-DS8AMW4t.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BX7dquo_.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-DrhVr0vx.js";
1
+ import { J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-BatJ8Rvz.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-DS8AMW4t.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BX7dquo_.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-DrhVr0vx.js";
1
+ import { q as jsxRuntimeExports } from "./doenetml-BatJ8Rvz.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-DS8AMW4t.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BX7dquo_.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-DrhVr0vx.js";
1
+ import { E as DocContext, K as toNumberOrNaN, q as jsxRuntimeExports, F as textRendererStyle } from "./doenetml-BatJ8Rvz.js";
2
2
  import React__default, { useRef, useContext } from "react";
3
- import { j as jxg } from "./JSXGraphRenderer-bx_73JYX.js";
4
- import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-Bns5ACIa.js";
5
- import { u as useDoenetRenderer } from "./useDoenetRenderer-DS8AMW4t.js";
3
+ import { j as jxg } from "./JSXGraphRenderer-C4-Eyvmr.js";
4
+ import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-CHIWsqcj.js";
5
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BX7dquo_.js";
6
6
  import me from "math-expressions";
7
7
  import { g as getPositionFromAnchorByCoordinate } from "./graph-W6vrFcBu.js";
8
- import { ChoiceInputInlineContext } from "./choiceInput-ClsHGKh_.js";
8
+ import { ChoiceInputInlineContext } from "./choiceInput-DStEvz_f.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-CRqJg4IY.js";
11
+ import { d as detachAnchoredGraphElement, a as attachAnchoredGraphDragHandlers } from "./useAnchoredGraphDragHandler-4L9jKi-M.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-DrhVr0vx.js";
1
+ import { I as useContentT, K as toNumberOrNaN, q as jsxRuntimeExports, X as MathJax } from "./doenetml-BatJ8Rvz.js";
2
2
  import { useState, useRef, useContext, useEffect } from "react";
3
- import { j as jxg } from "./JSXGraphRenderer-bx_73JYX.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-DS8AMW4t.js";
3
+ import { j as jxg } from "./JSXGraphRenderer-C4-Eyvmr.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BX7dquo_.js";
5
5
  import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
6
- import { BoardContext } from "./graph-Bns5ACIa.js";
6
+ import { BoardContext } from "./graph-CHIWsqcj.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-DIddTuEF.js";
10
- import { D as DescriptionPopover } from "./Description-D-loNBOA.js";
9
+ import { c as calculateValidationState, u as useSubmitActionWithDelay, w as wantsFullCheckWorkButton, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-Cr502fpk.js";
10
+ import { D as DescriptionPopover } from "./Description-B0Si_zmU.js";
11
11
  import { a as addValidationStateToShortDescription } from "./validationState-DI_lxk1a.js";
12
- import { b as useInMathSlot, c as useMathSlotEditing } from "./mathInputSlots-C34cy62R.js";
12
+ import { b as useInMathSlot, c as useMathSlotEditing } from "./mathInputSlots-JwDQDiIg.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-DrhVr0vx.js";
2
- import { H as HovercardScopedContextProvider, a as HovercardContextProvider, u as useHovercard, b as useHovercardAnchor, c as createHovercardStore, d as useHovercardStoreProps } from "./hovercard-store-CPNidv3B.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-BatJ8Rvz.js";
2
+ import { H as HovercardScopedContextProvider, a as HovercardContextProvider, u as useHovercard, b as useHovercardAnchor, c as createHovercardStore, d as useHovercardStoreProps } from "./hovercard-store-BBA7T1n_.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-bx_73JYX.js";
1
+ import { r as removeJXGEventHandlers, L as LINE_FAMILY_EVENTS, j as jxg } from "./JSXGraphRenderer-C4-Eyvmr.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-BatJ8Rvz.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-DopD6swJ.js"), "./renderers/JSXGraphRenderer.tsx": () => import("./JSXGraphRenderer-C4-Eyvmr.js").then((n) => n.m), "./renderers/_error.tsx": () => import("./_error-B4g9BolH.js"), "./renderers/alert.tsx": () => import("./alert-Deyeff2F.js"), "./renderers/angle.tsx": () => import("./angle-xKEMXPRh.js"), "./renderers/answer.tsx": () => import("./answer-BkYqXpba.js"), "./renderers/asList.tsx": () => import("./asList-BnlCUTA_.js"), "./renderers/blockQuote.tsx": () => import("./blockQuote-CRqjyiEG.js"), "./renderers/boolean.tsx": () => import("./boolean-4ZYl3Ctc.js"), "./renderers/booleanInput.tsx": () => import("./booleanInput-P3zLhoSU.js"), "./renderers/br.tsx": () => import("./br-PD-eohnC.js"), "./renderers/button.tsx": () => import("./button-CrLRwR4V.js"), "./renderers/c.tsx": () => import("./c-6Dkk7pNW.js"), "./renderers/cell.tsx": () => import("./cell-DOXKRmAw.js"), "./renderers/chart.tsx": () => import("./chart-Dqloyr1Z.js"), "./renderers/choiceInput.tsx": () => import("./choiceInput-DStEvz_f.js"), "./renderers/circle.tsx": () => import("./circle-aO99GI-j.js"), "./renderers/cobwebPolyline.tsx": () => import("./cobwebPolyline-BG5TUeSp.js"), "./renderers/codeEditor.tsx": () => import("./codeEditor-p_1268lk.js"), "./renderers/containerBlock.tsx": () => import("./containerBlock-DI3UFsmR.js"), "./renderers/containerInline.tsx": () => import("./containerInline-CJjDpSbC.js"), "./renderers/curve.tsx": () => import("./curve-WbFY3bn6.js"), "./renderers/ellipsis.tsx": () => import("./ellipsis-DPcHjCAn.js"), "./renderers/em.tsx": () => import("./em-Ca_e4wTF.js"), "./renderers/embed.tsx": () => import("./embed-OjgcjdVA.js"), "./renderers/feedback.tsx": () => import("./feedback-C7AQ862X.js"), "./renderers/figure.tsx": () => import("./figure-Bm8qktuX.js"), "./renderers/footnote.tsx": () => import("./footnote-RZqcc_dc.js"), "./renderers/fractionInput.tsx": () => import("./fractionInput-4VJ0Z1yX.js"), "./renderers/graph.tsx": () => import("./graph-CHIWsqcj.js"), "./renderers/hint.tsx": () => import("./hint-DYsmGkZo.js"), "./renderers/hr.tsx": () => import("./hr-Du-PDZg0.js"), "./renderers/image.tsx": () => import("./image-DOYfAIs-.js"), "./renderers/label.tsx": () => import("./label-Yiczm61R.js"), "./renderers/legend.tsx": () => import("./legend-z0Y2VVTA.js"), "./renderers/line.tsx": () => import("./line-BWZKh04k.js"), "./renderers/lineSegment.tsx": () => import("./lineSegment-CMy9LiMf.js"), "./renderers/list.tsx": () => import("./list-FO8ZytZy.js"), "./renderers/lq.tsx": () => import("./lq-D7OdrCH-.js"), "./renderers/lsq.tsx": () => import("./lsq-B9AXr9Er.js"), "./renderers/math.tsx": () => import("./math-BqSWWKfc.js"), "./renderers/mathInput.tsx": () => import("./mathInput-DDn2R0fU.js"), "./renderers/matrixInput.tsx": () => import("./matrixInput-DW9R_ktp.js"), "./renderers/mdash.tsx": () => import("./mdash-eemuh8J6.js"), "./renderers/nbsp.tsx": () => import("./nbsp-DrsrVIjq.js"), "./renderers/ndash.tsx": () => import("./ndash-DtQmql-g.js"), "./renderers/number.tsx": () => import("./number-DcvLRg6y.js"), "./renderers/orbitalDiagram.tsx": () => import("./orbitalDiagram-BcwuWfZW.js"), "./renderers/orbitalDiagramInput.tsx": () => import("./orbitalDiagramInput-CBbqwidn.js"), "./renderers/p.tsx": () => import("./p-fZdicqU6.js"), "./renderers/paginatorControls.tsx": () => import("./paginatorControls-BgCz-E6O.js"), "./renderers/pegboard.tsx": () => import("./pegboard-j-AOJBa4.js"), "./renderers/point.tsx": () => import("./point-DPiwyn2R.js"), "./renderers/polygon.tsx": () => import("./polygon-BrZh_uiW.js"), "./renderers/polyline.tsx": () => import("./polyline-SiEIV1GS.js"), "./renderers/pre.tsx": () => import("./pre-D3MeJgOV.js"), "./renderers/prefigure.tsx": () => import("./prefigure-Db6JF7fm.js"), "./renderers/pretzel.tsx": () => import("./pretzel-CkY91epC.js"), "./renderers/q.tsx": () => import("./q-CvT35a-n.js"), "./renderers/ray.tsx": () => import("./ray-CwR8xB0W.js"), "./renderers/ref.tsx": () => import("./ref-Cy6oC2ID.js"), "./renderers/regionBetweenCurveXAxis.tsx": () => import("./regionBetweenCurveXAxis-DPyo8Arj.js"), "./renderers/regionBetweenCurves.tsx": () => import("./regionBetweenCurves-cbwTJQos.js"), "./renderers/row.tsx": () => import("./row-Ccc6whSi.js"), "./renderers/rq.tsx": () => import("./rq-TqAHXU25.js"), "./renderers/rsq.tsx": () => import("./rsq-BSC7B3ai.js"), "./renderers/section.tsx": () => import("./section-CoU5UBmq.js"), "./renderers/sideBySide.tsx": () => import("./sideBySide-CyZmrCu_.js"), "./renderers/slider.tsx": () => import("./slider-DljXr82P.js"), "./renderers/slopeField.tsx": () => import("./slopeField-ByOdUbBN.js"), "./renderers/solution.tsx": () => import("./solution-XujB2Ar0.js"), "./renderers/spreadsheet.tsx": () => import("./spreadsheet-Crn9QOGu.js"), "./renderers/sq.tsx": () => import("./sq-DwVEpxxD.js"), "./renderers/subsetOfRealsInput.tsx": () => import("./subsetOfRealsInput-05dPpGls.js"), "./renderers/summaryStatistics.tsx": () => import("./summaryStatistics-BG3pu8qK.js"), "./renderers/table.tsx": () => import("./table-DbBoxYWq.js"), "./renderers/tabular.tsx": () => import("./tabular-Cq7nSf6t.js"), "./renderers/tag.tsx": () => import("./tag-BlLtJ8Jt.js"), "./renderers/text.tsx": () => import("./text-DLc7KzYQ.js"), "./renderers/textInput.tsx": () => import("./textInput-B3wt2rcJ.js"), "./renderers/vector.tsx": () => import("./vector-DjkzMxri.js"), "./renderers/vectorField.tsx": () => import("./vectorField-CsLfVYB4.js"), "./renderers/video.tsx": () => import("./video-4Czbp8gi.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-Bns5ACIa.js";
3
- import { N as createFunctionFromDefinition, E as DocContext } from "./doenetml-DrhVr0vx.js";
2
+ import { BoardContext, LINE_LAYER_OFFSET } from "./graph-CHIWsqcj.js";
3
+ import { N as createFunctionFromDefinition, E as DocContext } from "./doenetml-BatJ8Rvz.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-DrhVr0vx.js";
2
- import { F as FontAwesomeIcon } from "./index.es-BiAI-RX0.js";
1
+ import { q as jsxRuntimeExports } from "./doenetml-BatJ8Rvz.js";
2
+ import { F as FontAwesomeIcon } from "./index.es-TzpfZf0E.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) {
@@ -1,11 +1,11 @@
1
- import { E as DocContext, q as jsxRuntimeExports, F as textRendererStyle } from "./doenetml-DrhVr0vx.js";
1
+ import { E as DocContext, q as jsxRuntimeExports, F as textRendererStyle } from "./doenetml-BatJ8Rvz.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-bx_73JYX.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-DS8AMW4t.js";
5
- import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-Bns5ACIa.js";
6
- import { D as DynamicMath } from "./DynamicMath-CePf52oD.js";
7
- import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-C94CTAgA.js";
8
- import { ChoiceInputInlineContext } from "./choiceInput-ClsHGKh_.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-C4-Eyvmr.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BX7dquo_.js";
5
+ import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-CHIWsqcj.js";
6
+ import { D as DynamicMath } from "./DynamicMath-CyO1NQJt.js";
7
+ import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-BWNfvxmV.js";
8
+ import { ChoiceInputInlineContext } from "./choiceInput-DStEvz_f.js";
9
9
  import { a as buildLineLikeAttributes, c as buildDragHandleAttributes } from "./buildGraphicalAttributes-B_soifR-.js";
10
10
  import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
11
11
  import { p as pointerEventToUserCoords } from "./dragThreshold-DuSSFrIU.js";
@@ -1,6 +1,6 @@
1
1
  import React__default from "react";
2
- import { u as useDoenetRenderer } from "./useDoenetRenderer-DS8AMW4t.js";
3
- import { u as useFieldFunction, a as useFieldCurve, c as buildVectorFieldData } from "./useFieldCurve-BzY2-BjB.js";
2
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BX7dquo_.js";
3
+ import { u as useFieldFunction, a as useFieldCurve, c as buildVectorFieldData } from "./useFieldCurve-DceIn9Zh.js";
4
4
  const vectorField = React__default.memo(function VectorField(props) {
5
5
  let { SVs } = useDoenetRenderer(props);
6
6
  VectorField.ignoreActionsWithoutCore = () => true;
@@ -1,10 +1,10 @@
1
- import { J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-DrhVr0vx.js";
1
+ import { J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-BatJ8Rvz.js";
2
2
  import React__default, { useState, useEffect, useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-DS8AMW4t.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BX7dquo_.js";
4
4
  import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
5
- import { D as DescriptionPopover, a as DescriptionAsDetails } from "./Description-D-loNBOA.js";
5
+ import { D as DescriptionPopover, a as DescriptionAsDetails } from "./Description-B0Si_zmU.js";
6
6
  import { g as getNonInlineMediaLayoutStyles } from "./nonInlineMediaLayout-CkXHaqzo.js";
7
- import { N as NonInlineMediaWrapper } from "./NonInlineMediaWrapper-CUCsqYP1.js";
7
+ import { N as NonInlineMediaWrapper } from "./NonInlineMediaWrapper-CE5wbmYZ.js";
8
8
  const YT_API_SRC = "https://www.youtube.com/iframe_api";
9
9
  const listeners = /* @__PURE__ */ new Set();
10
10
  let installed = false;