@doenet/doenetml 0.7.27-dev.592 → 0.7.27-dev.593

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-Br2JMLAI.js → AnswerResponseButton-DEwIeh-U.js} +2 -2
  2. package/{Description-BLsgHpuE.js → Description-CohxsoSp.js} +1 -1
  3. package/{DynamicMath-BxnWzC8X.js → DynamicMath-Dk78mOlk.js} +1 -1
  4. package/{EditorViewer-IYaDjQFi.js → EditorViewer-BNWr9IHP.js} +6 -6
  5. package/{GraphFrame-Cdj427zk.js → GraphFrame-DCiq0obJ.js} +2 -2
  6. package/{JSXGraphRenderer-Cwc2DrZ9.js → JSXGraphRenderer-BErCczoW.js} +1 -1
  7. package/{NonInlineMediaWrapper-CqY6tlnb.js → NonInlineMediaWrapper-CkTxmLaD.js} +1 -1
  8. package/{_error-hlRdQGH3.js → _error-Dv7tIEJY.js} +2 -2
  9. package/{alert-BQ8CtqKQ.js → alert-BtIXyGOg.js} +3 -3
  10. package/{angle-BlHx8kZi.js → angle-x3H_BqIK.js} +7 -7
  11. package/{answer-CwTqlqe5.js → answer-BKaTajbJ.js} +6 -6
  12. package/{asList-BIu2i7iC.js → asList-BUPZK7Du.js} +2 -2
  13. package/{blockQuote-D2HMZjYP.js → blockQuote-DlwDavhX.js} +3 -3
  14. package/{boolean-CeYCZIqc.js → boolean-aMWOj76-.js} +2 -2
  15. package/{booleanInput-CPPXkvw3.js → booleanInput-CsP4JkB7.js} +6 -6
  16. package/{br-DAK7JzJg.js → br-CQ9eQQMD.js} +2 -2
  17. package/{button-D2nWWJh0.js → button-LAVinIgY.js} +4 -4
  18. package/{c-Di6EAC1o.js → c-B-abX8_5.js} +3 -3
  19. package/{cell-BsXxxAn9.js → cell-DBnuUNbU.js} +3 -3
  20. package/{chart-B7M3TPUx.js → chart-Du3Hkp8n.js} +4 -4
  21. package/{choiceInput-BdpZbNLv.js → choiceInput-BVQGlWXy.js} +5 -5
  22. package/{circle-_f1BZNy3.js → circle-CGtK33ZH.js} +6 -6
  23. package/{cobwebPolyline-AUNM-87Z.js → cobwebPolyline-B6Ajgw7W.js} +4 -4
  24. package/{codeEditor-b4YJ7XUi.js → codeEditor-D27t6F7E.js} +2 -2
  25. package/{composites-CHyZng6d.js → composites-CKO2wWF8.js} +1 -1
  26. package/{containerBlock-BkSbJMo1.js → containerBlock-BieiOmQC.js} +4 -4
  27. package/{containerInline-C1HkjXSs.js → containerInline-Cn8MuU70.js} +4 -4
  28. package/{curve-CdbA0vA1.js → curve-DSeEGo5q.js} +4 -4
  29. package/{doenetml-Dtr8uuNd.js → doenetml-D6IlG41G.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-D4H8aOT5.js → ellipsis-BWQqZS8H.js} +2 -2
  35. package/{em-Cdlcm9R1.js → em-lTP4mbfc.js} +3 -3
  36. package/{embed-DgMqPgfg.js → embed-Cc3pMdoU.js} +2 -2
  37. package/{feedback-CH8pyAf1.js → feedback-CU44Bx7r.js} +4 -4
  38. package/{figure-Cn3eYs6E.js → figure-DwVS_E2x.js} +3 -3
  39. package/{fillPatterns-B2itXF6_.js → fillPatterns-CG3330mQ.js} +1 -1
  40. package/{footnote-RtWdpaDn.js → footnote-zK9hpz35.js} +3 -3
  41. package/{fractionInput-CnTy-He0.js → fractionInput-BxyAUutW.js} +4 -4
  42. package/{graph-BfEd2gHw.js → graph-DKw3DeJU.js} +6 -6
  43. package/{hint-C15QAx_E.js → hint-DfWe7QQC.js} +4 -4
  44. package/{hovercard-store-DDEPCX5A.js → hovercard-store-D2lfOof1.js} +1 -1
  45. package/{hr-CgCxjOST.js → hr-Cc0VPD_U.js} +2 -2
  46. package/{image-CsyBuLG2.js → image-C5E1Tqnv.js} +7 -7
  47. package/{index-8YQSeJo1.js → index-CPrg-TVs.js} +1 -1
  48. package/{index.es-BhI_Txzi.js → index.es-B-NcmgcW.js} +1 -1
  49. package/index.js +1 -1
  50. package/{label-BODTrD0G.js → label-Cb-3Au8R.js} +7 -7
  51. package/{labelWithLatex-BbozUygr.js → labelWithLatex-ClZ3bcxf.js} +2 -2
  52. package/{legend-BATYksyi.js → legend-CPfd8XFG.js} +4 -4
  53. package/{line-emMWe4oA.js → line-KfIQ6hwZ.js} +7 -7
  54. package/{lineFamilyDragHandlers-Dnv86Kcz.js → lineFamilyDragHandlers-CHJI9Bjk.js} +1 -1
  55. package/{lineSegment-BOW1yOQi.js → lineSegment-DBH3j-3I.js} +5 -5
  56. package/{list-BA7zwPxC.js → list-Ck-Nfjla.js} +4 -4
  57. package/{lq-CIHE9rQD.js → lq-vVltUqnz.js} +2 -2
  58. package/{lsq-CD3qZnxa.js → lsq-CrEW_82w.js} +2 -2
  59. package/{markupRenderer-CRaWmoKc.js → markupRenderer-DL_hV_9A.js} +1 -1
  60. package/{math-ZdjjAXX7.js → math-RWWIKHXe.js} +8 -8
  61. package/{mathInput-BO5O7oMQ.js → mathInput-DNDipovL.js} +8 -8
  62. package/{mathInputSlots-DrrHPOB0.js → mathInputSlots-NYt4Rklh.js} +1 -1
  63. package/{matrixInput-DiBlgFiw.js → matrixInput-BVmI_YDp.js} +4 -4
  64. package/{mdash-C3UtQny-.js → mdash-DtWjToF4.js} +2 -2
  65. package/{nbsp-DFnCX9eS.js → nbsp-Bmnb21AN.js} +2 -2
  66. package/{ndash-BlJ9tBoh.js → ndash-CA7Uo5Qr.js} +2 -2
  67. package/{number-C6F_LD0R.js → number-PG3S8aWI.js} +7 -7
  68. package/{orbitalDiagram-CO8TUXHt.js → orbitalDiagram-BAmBBNWr.js} +2 -2
  69. package/{orbitalDiagramInput-p4TPdBQg.js → orbitalDiagramInput-DTYUrE7q.js} +2 -2
  70. package/{p-BWN8Rx_O.js → p-DkgcfiJi.js} +4 -4
  71. package/package.json +1 -1
  72. package/{paginatorControls-DtA8ncaX.js → paginatorControls-O1w5FI_F.js} +2 -2
  73. package/{pegboard-DitZDFzZ.js → pegboard-Bf8OyYVU.js} +3 -3
  74. package/{point-Bx9FhX82.js → point-BJmRwB36.js} +7 -7
  75. package/{polygon-BIaKVvps.js → polygon-Bk_GgcF6.js} +6 -6
  76. package/{polyline-BejmwU3i.js → polyline-FErqqh1I.js} +5 -5
  77. package/{pre-Bvs4x7XJ.js → pre-D_-l3eId.js} +3 -3
  78. package/{prefigure-5j7a0yyB.js → prefigure-CbNn5mGQ.js} +1 -1
  79. package/{pretzel-B2rNz8ut.js → pretzel-C8tel9rN.js} +4 -4
  80. package/{q-Buuywxd3.js → q-DuTaGg9D.js} +3 -3
  81. package/{ray-CDaLHF9J.js → ray-CKU5e6bc.js} +5 -5
  82. package/{ref-wncrXEb-.js → ref-DkIiT5V9.js} +2 -2
  83. package/{regionBetweenCurveXAxis-CVWVYO7I.js → regionBetweenCurveXAxis-CxRoHqgY.js} +5 -5
  84. package/{regionBetweenCurves-B4iioM3A.js → regionBetweenCurves-DDRGduiS.js} +5 -5
  85. package/{row-A9333ZPU.js → row-CEmeXwVT.js} +2 -2
  86. package/{rq-DNOPAhCe.js → rq-CFJR6NMq.js} +2 -2
  87. package/{rsq-CxKm0Vk9.js → rsq-DBtE0JMs.js} +2 -2
  88. package/{section-C7182Dj1.js → section-F-lvHmJk.js} +5 -5
  89. package/{sha256-8sXzDnE0-CYNplwnO.js → sha256-8sXzDnE0-Cnu3n40K.js} +1 -1
  90. package/{sideBySide-BIdtNDIu.js → sideBySide-D7sk5XIC.js} +2 -2
  91. package/{slider-Cf8JFx5r.js → slider-ButEUmQC.js} +3 -3
  92. package/{slopeField-CB1h1fMi.js → slopeField-B5h4365y.js} +2 -2
  93. package/{solution-BJXB_s-9.js → solution-MRYa2UUS.js} +4 -4
  94. package/{spreadsheet-h0Yx3ood.js → spreadsheet-D5MJdPZv.js} +2 -2
  95. package/{sq-BxN5pJWW.js → sq-ybj-G1oD.js} +3 -3
  96. package/{subsetOfRealsInput-CxeavY7f.js → subsetOfRealsInput-C_hY0Je7.js} +2 -2
  97. package/{summaryStatistics-Dj2U1z5S.js → summaryStatistics-DwG9rAI0.js} +2 -2
  98. package/{table-PGh6DL2D.js → table-BfSNVfx6.js} +2 -2
  99. package/{tabular-CQgHNbms.js → tabular-DFxX7ej4.js} +2 -2
  100. package/{tag-CT2GI2XL.js → tag-CvZJWJUG.js} +2 -2
  101. package/{text-mebX8l2q.js → text-Ge3RJzjz.js} +6 -6
  102. package/{textInput-U8MJ6YCD.js → textInput-CDxRJ0P_.js} +7 -7
  103. package/{tooltip-provider-4NtBt5mF.js → tooltip-provider-BTA4ZKlE.js} +2 -2
  104. package/{useAnchoredGraphDragHandler-CZlts9dH.js → useAnchoredGraphDragHandler-Cy2Q54Vx.js} +1 -1
  105. package/useDoenetRenderer-ol7OFPO2.js +114 -0
  106. package/{useFieldCurve-Cb06Nai-.js → useFieldCurve-4aKeuk6A.js} +2 -2
  107. package/{useSubmitActionWithDelay-jBNAV8vq.js → useSubmitActionWithDelay-CSOjw_XP.js} +2 -2
  108. package/{vector-BO8KS4uS.js → vector-D1V30tV5.js} +7 -7
  109. package/{vectorField-CrFQCJKx.js → vectorField-B2jk7tjC.js} +2 -2
  110. package/{video-CWkkNMyw.js → video-D5UDTWw2.js} +4 -4
  111. package/useDoenetRenderer-6Rgze7fN.js +0 -114
@@ -1,9 +1,9 @@
1
- import { E as DocContext, q as jsxRuntimeExports } from "./doenetml-Dtr8uuNd.js";
1
+ import { E as DocContext, q as jsxRuntimeExports } from "./doenetml-D6IlG41G.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-Cwc2DrZ9.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-6Rgze7fN.js";
5
- import { BoardContext, LINE_LAYER_OFFSET, VERTEX_LAYER_OFFSET } from "./graph-BfEd2gHw.js";
6
- import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-Dnv86Kcz.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-BErCczoW.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-ol7OFPO2.js";
5
+ import { BoardContext, LINE_LAYER_OFFSET, VERTEX_LAYER_OFFSET } from "./graph-DKw3DeJU.js";
6
+ import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-CHJI9Bjk.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-B2itXF6_.js";
14
+ import { g as getPatternFillAttributes } from "./fillPatterns-CG3330mQ.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-Dtr8uuNd.js";
1
+ import { E as DocContext, q as jsxRuntimeExports } from "./doenetml-D6IlG41G.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-Cwc2DrZ9.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-6Rgze7fN.js";
5
- import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-BfEd2gHw.js";
6
- import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-Dnv86Kcz.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-BErCczoW.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-ol7OFPO2.js";
5
+ import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-DKw3DeJU.js";
6
+ import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-CHJI9Bjk.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-Dtr8uuNd.js";
1
+ import { J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-D6IlG41G.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-6Rgze7fN.js";
4
- import { a as addCommasForCompositeRanges } from "./composites-CHyZng6d.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-ol7OFPO2.js";
4
+ import { a as addCommasForCompositeRanges } from "./composites-CKO2wWF8.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-Dtr8uuNd.js";
1
+ import { q as jsxRuntimeExports } from "./doenetml-D6IlG41G.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-Dtr8uuNd.js";
1
+ import { u as useT, I as useContentT, v as useChromeLangDir, J as useRecordVisibilityChanges, E as DocContext, q as jsxRuntimeExports } from "./doenetml-D6IlG41G.js";
2
2
  import React__default, { useRef, useContext } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-6Rgze7fN.js";
4
- import { A as AnswerResponseButton } from "./AnswerResponseButton-Br2JMLAI.js";
5
- import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-jBNAV8vq.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-ol7OFPO2.js";
4
+ import { A as AnswerResponseButton } from "./AnswerResponseButton-DEwIeh-U.js";
5
+ import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-CSOjw_XP.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-Dtr8uuNd.js";
1
+ import { q as jsxRuntimeExports } from "./doenetml-D6IlG41G.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-6Rgze7fN.js";
4
- import { r as renderMarkupBody } from "./markupRenderer-CRaWmoKc.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-ol7OFPO2.js";
4
+ import { r as renderMarkupBody } from "./markupRenderer-DL_hV_9A.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-Dtr8uuNd.js";
1
+ import { E as DocContext, q as jsxRuntimeExports } from "./doenetml-D6IlG41G.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-Cwc2DrZ9.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-6Rgze7fN.js";
5
- import { BoardContext, LINE_LAYER_OFFSET } from "./graph-BfEd2gHw.js";
6
- import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-Dnv86Kcz.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-BErCczoW.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-ol7OFPO2.js";
5
+ import { BoardContext, LINE_LAYER_OFFSET } from "./graph-DKw3DeJU.js";
6
+ import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-CHJI9Bjk.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-Dtr8uuNd.js";
1
+ import { E as DocContext, q as jsxRuntimeExports } from "./doenetml-D6IlG41G.js";
2
2
  import React__default, { useContext, useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-6Rgze7fN.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-ol7OFPO2.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-Dtr8uuNd.js";
1
+ import { E as DocContext, N as createFunctionFromDefinition, q as jsxRuntimeExports } from "./doenetml-D6IlG41G.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-Cwc2DrZ9.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-6Rgze7fN.js";
5
- import { BoardContext, LINE_LAYER_OFFSET } from "./graph-BfEd2gHw.js";
6
- import { g as getPatternFillAttributes } from "./fillPatterns-B2itXF6_.js";
3
+ import { j as jxg, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-BErCczoW.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-ol7OFPO2.js";
5
+ import { BoardContext, LINE_LAYER_OFFSET } from "./graph-DKw3DeJU.js";
6
+ import { g as getPatternFillAttributes } from "./fillPatterns-CG3330mQ.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-Dtr8uuNd.js";
1
+ import { E as DocContext, N as createFunctionFromDefinition, q as jsxRuntimeExports } from "./doenetml-D6IlG41G.js";
2
2
  import React__default, { useContext, useRef, useEffect } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-6Rgze7fN.js";
4
- import { BoardContext, LINE_LAYER_OFFSET } from "./graph-BfEd2gHw.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-ol7OFPO2.js";
4
+ import { BoardContext, LINE_LAYER_OFFSET } from "./graph-DKw3DeJU.js";
5
5
  import { s as styleToDash } from "./styleToDash-DWb71gbd.js";
6
- import { g as getPatternFillAttributes } from "./fillPatterns-B2itXF6_.js";
6
+ import { g as getPatternFillAttributes } from "./fillPatterns-CG3330mQ.js";
7
7
  import { b as resolveCanvasColor } from "./styleColors-BrCvjxze.js";
8
- import { b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-Cwc2DrZ9.js";
8
+ import { b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-BErCczoW.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-Dtr8uuNd.js";
1
+ import { q as jsxRuntimeExports } from "./doenetml-D6IlG41G.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-6Rgze7fN.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-ol7OFPO2.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-Dtr8uuNd.js";
1
+ import { q as jsxRuntimeExports } from "./doenetml-D6IlG41G.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-6Rgze7fN.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-ol7OFPO2.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-Dtr8uuNd.js";
1
+ import { q as jsxRuntimeExports } from "./doenetml-D6IlG41G.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-6Rgze7fN.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-ol7OFPO2.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-Dtr8uuNd.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-D6IlG41G.js";
2
2
  import React__default, { useContext, useRef, useEffect } from "react";
3
- import { F as FontAwesomeIcon } from "./index.es-BhI_Txzi.js";
3
+ import { F as FontAwesomeIcon } from "./index.es-B-NcmgcW.js";
4
4
  import { f as faCaretDown, a as faCaretRight } from "./index-BDlitCgu.js";
5
- import { u as useDoenetRenderer } from "./useDoenetRenderer-6Rgze7fN.js";
6
- import { a as addCommasForCompositeRanges } from "./composites-CHyZng6d.js";
7
- import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-jBNAV8vq.js";
5
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-ol7OFPO2.js";
6
+ import { a as addCommasForCompositeRanges } from "./composites-CKO2wWF8.js";
7
+ import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-CSOjw_XP.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-Dtr8uuNd.js";
1
+ import { p as getDefaultExportFromCjs } from "./doenetml-D6IlG41G.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-Dtr8uuNd.js";
1
+ import { J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-D6IlG41G.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-6Rgze7fN.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-ol7OFPO2.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-Dtr8uuNd.js";
1
+ import { u as useT, q as jsxRuntimeExports, U as ActionButtonGroup, V as ActionButton } from "./doenetml-D6IlG41G.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-6Rgze7fN.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-ol7OFPO2.js";
5
5
  import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
6
- import { r as renderLabelWithLatex } from "./labelWithLatex-BbozUygr.js";
6
+ import { r as renderLabelWithLatex } from "./labelWithLatex-ClZ3bcxf.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-6Rgze7fN.js";
3
- import { u as useFieldFunction, a as useFieldCurve, b as buildSlopeFieldData } from "./useFieldCurve-Cb06Nai-.js";
2
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-ol7OFPO2.js";
3
+ import { u as useFieldFunction, a as useFieldCurve, b as buildSlopeFieldData } from "./useFieldCurve-4aKeuk6A.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-Dtr8uuNd.js";
1
+ import { u as useT, J as useRecordVisibilityChanges, v as useChromeLangDir, q as jsxRuntimeExports } from "./doenetml-D6IlG41G.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-6Rgze7fN.js";
4
- import { F as FontAwesomeIcon } from "./index.es-BhI_Txzi.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-ol7OFPO2.js";
4
+ import { F as FontAwesomeIcon } from "./index.es-B-NcmgcW.js";
5
5
  import { c as faPuzzlePiece } from "./index-BDlitCgu.js";
6
- import { a as addCommasForCompositeRanges } from "./composites-CHyZng6d.js";
6
+ import { a as addCommasForCompositeRanges } from "./composites-CKO2wWF8.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-Dtr8uuNd.js";
1
+ import { E as DocContext, J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-D6IlG41G.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-6Rgze7fN.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-ol7OFPO2.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-Dtr8uuNd.js";
1
+ import { q as jsxRuntimeExports } from "./doenetml-D6IlG41G.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-6Rgze7fN.js";
4
- import { r as renderMarkupBody } from "./markupRenderer-CRaWmoKc.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-ol7OFPO2.js";
4
+ import { r as renderMarkupBody } from "./markupRenderer-DL_hV_9A.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-Dtr8uuNd.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-D6IlG41G.js";
2
2
  import React__default, { useState, useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-6Rgze7fN.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-ol7OFPO2.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-Dtr8uuNd.js";
1
+ import { u as useT, v as useChromeLangDir, J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-D6IlG41G.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-6Rgze7fN.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-ol7OFPO2.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-Dtr8uuNd.js";
1
+ import { J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-D6IlG41G.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-6Rgze7fN.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-ol7OFPO2.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-Dtr8uuNd.js";
1
+ import { J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-D6IlG41G.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-6Rgze7fN.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-ol7OFPO2.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-Dtr8uuNd.js";
1
+ import { q as jsxRuntimeExports } from "./doenetml-D6IlG41G.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-6Rgze7fN.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-ol7OFPO2.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-Dtr8uuNd.js";
1
+ import { E as DocContext, K as toNumberOrNaN, q as jsxRuntimeExports, F as textRendererStyle } from "./doenetml-D6IlG41G.js";
2
2
  import React__default, { useRef, useContext } from "react";
3
- import { j as jxg } from "./JSXGraphRenderer-Cwc2DrZ9.js";
4
- import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-BfEd2gHw.js";
5
- import { u as useDoenetRenderer } from "./useDoenetRenderer-6Rgze7fN.js";
3
+ import { j as jxg } from "./JSXGraphRenderer-BErCczoW.js";
4
+ import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-DKw3DeJU.js";
5
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-ol7OFPO2.js";
6
6
  import me from "math-expressions";
7
7
  import { g as getPositionFromAnchorByCoordinate } from "./graph-W6vrFcBu.js";
8
- import { ChoiceInputInlineContext } from "./choiceInput-BdpZbNLv.js";
8
+ import { ChoiceInputInlineContext } from "./choiceInput-BVQGlWXy.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-CZlts9dH.js";
11
+ import { d as detachAnchoredGraphElement, a as attachAnchoredGraphDragHandlers } from "./useAnchoredGraphDragHandler-Cy2Q54Vx.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-Dtr8uuNd.js";
1
+ import { I as useContentT, K as toNumberOrNaN, q as jsxRuntimeExports, X as MathJax } from "./doenetml-D6IlG41G.js";
2
2
  import { useState, useRef, useContext, useEffect } from "react";
3
- import { j as jxg } from "./JSXGraphRenderer-Cwc2DrZ9.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-6Rgze7fN.js";
3
+ import { j as jxg } from "./JSXGraphRenderer-BErCczoW.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-ol7OFPO2.js";
5
5
  import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
6
- import { BoardContext } from "./graph-BfEd2gHw.js";
6
+ import { BoardContext } from "./graph-DKw3DeJU.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-jBNAV8vq.js";
10
- import { D as DescriptionPopover } from "./Description-BLsgHpuE.js";
9
+ import { c as calculateValidationState, u as useSubmitActionWithDelay, w as wantsFullCheckWorkButton, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-CSOjw_XP.js";
10
+ import { D as DescriptionPopover } from "./Description-CohxsoSp.js";
11
11
  import { a as addValidationStateToShortDescription } from "./validationState-DI_lxk1a.js";
12
- import { b as useInMathSlot, c as useMathSlotEditing } from "./mathInputSlots-DrrHPOB0.js";
12
+ import { b as useInMathSlot, c as useMathSlotEditing } from "./mathInputSlots-NYt4Rklh.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-Dtr8uuNd.js";
2
- import { H as HovercardScopedContextProvider, a as HovercardContextProvider, u as useHovercard, b as useHovercardAnchor, c as createHovercardStore, d as useHovercardStoreProps } from "./hovercard-store-DDEPCX5A.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-D6IlG41G.js";
2
+ import { H as HovercardScopedContextProvider, a as HovercardContextProvider, u as useHovercard, b as useHovercardAnchor, c as createHovercardStore, d as useHovercardStoreProps } from "./hovercard-store-D2lfOof1.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-Cwc2DrZ9.js";
1
+ import { r as removeJXGEventHandlers, L as LINE_FAMILY_EVENTS, j as jxg } from "./JSXGraphRenderer-BErCczoW.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-D6IlG41G.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-DCiq0obJ.js"), "./renderers/JSXGraphRenderer.tsx": () => import("./JSXGraphRenderer-BErCczoW.js").then((n) => n.m), "./renderers/_error.tsx": () => import("./_error-Dv7tIEJY.js"), "./renderers/alert.tsx": () => import("./alert-BtIXyGOg.js"), "./renderers/angle.tsx": () => import("./angle-x3H_BqIK.js"), "./renderers/answer.tsx": () => import("./answer-BKaTajbJ.js"), "./renderers/asList.tsx": () => import("./asList-BUPZK7Du.js"), "./renderers/blockQuote.tsx": () => import("./blockQuote-DlwDavhX.js"), "./renderers/boolean.tsx": () => import("./boolean-aMWOj76-.js"), "./renderers/booleanInput.tsx": () => import("./booleanInput-CsP4JkB7.js"), "./renderers/br.tsx": () => import("./br-CQ9eQQMD.js"), "./renderers/button.tsx": () => import("./button-LAVinIgY.js"), "./renderers/c.tsx": () => import("./c-B-abX8_5.js"), "./renderers/cell.tsx": () => import("./cell-DBnuUNbU.js"), "./renderers/chart.tsx": () => import("./chart-Du3Hkp8n.js"), "./renderers/choiceInput.tsx": () => import("./choiceInput-BVQGlWXy.js"), "./renderers/circle.tsx": () => import("./circle-CGtK33ZH.js"), "./renderers/cobwebPolyline.tsx": () => import("./cobwebPolyline-B6Ajgw7W.js"), "./renderers/codeEditor.tsx": () => import("./codeEditor-D27t6F7E.js"), "./renderers/containerBlock.tsx": () => import("./containerBlock-BieiOmQC.js"), "./renderers/containerInline.tsx": () => import("./containerInline-Cn8MuU70.js"), "./renderers/curve.tsx": () => import("./curve-DSeEGo5q.js"), "./renderers/ellipsis.tsx": () => import("./ellipsis-BWQqZS8H.js"), "./renderers/em.tsx": () => import("./em-lTP4mbfc.js"), "./renderers/embed.tsx": () => import("./embed-Cc3pMdoU.js"), "./renderers/feedback.tsx": () => import("./feedback-CU44Bx7r.js"), "./renderers/figure.tsx": () => import("./figure-DwVS_E2x.js"), "./renderers/footnote.tsx": () => import("./footnote-zK9hpz35.js"), "./renderers/fractionInput.tsx": () => import("./fractionInput-BxyAUutW.js"), "./renderers/graph.tsx": () => import("./graph-DKw3DeJU.js"), "./renderers/hint.tsx": () => import("./hint-DfWe7QQC.js"), "./renderers/hr.tsx": () => import("./hr-Cc0VPD_U.js"), "./renderers/image.tsx": () => import("./image-C5E1Tqnv.js"), "./renderers/label.tsx": () => import("./label-Cb-3Au8R.js"), "./renderers/legend.tsx": () => import("./legend-CPfd8XFG.js"), "./renderers/line.tsx": () => import("./line-KfIQ6hwZ.js"), "./renderers/lineSegment.tsx": () => import("./lineSegment-DBH3j-3I.js"), "./renderers/list.tsx": () => import("./list-Ck-Nfjla.js"), "./renderers/lq.tsx": () => import("./lq-vVltUqnz.js"), "./renderers/lsq.tsx": () => import("./lsq-CrEW_82w.js"), "./renderers/math.tsx": () => import("./math-RWWIKHXe.js"), "./renderers/mathInput.tsx": () => import("./mathInput-DNDipovL.js"), "./renderers/matrixInput.tsx": () => import("./matrixInput-BVmI_YDp.js"), "./renderers/mdash.tsx": () => import("./mdash-DtWjToF4.js"), "./renderers/nbsp.tsx": () => import("./nbsp-Bmnb21AN.js"), "./renderers/ndash.tsx": () => import("./ndash-CA7Uo5Qr.js"), "./renderers/number.tsx": () => import("./number-PG3S8aWI.js"), "./renderers/orbitalDiagram.tsx": () => import("./orbitalDiagram-BAmBBNWr.js"), "./renderers/orbitalDiagramInput.tsx": () => import("./orbitalDiagramInput-DTYUrE7q.js"), "./renderers/p.tsx": () => import("./p-DkgcfiJi.js"), "./renderers/paginatorControls.tsx": () => import("./paginatorControls-O1w5FI_F.js"), "./renderers/pegboard.tsx": () => import("./pegboard-Bf8OyYVU.js"), "./renderers/point.tsx": () => import("./point-BJmRwB36.js"), "./renderers/polygon.tsx": () => import("./polygon-Bk_GgcF6.js"), "./renderers/polyline.tsx": () => import("./polyline-FErqqh1I.js"), "./renderers/pre.tsx": () => import("./pre-D_-l3eId.js"), "./renderers/prefigure.tsx": () => import("./prefigure-CbNn5mGQ.js"), "./renderers/pretzel.tsx": () => import("./pretzel-C8tel9rN.js"), "./renderers/q.tsx": () => import("./q-DuTaGg9D.js"), "./renderers/ray.tsx": () => import("./ray-CKU5e6bc.js"), "./renderers/ref.tsx": () => import("./ref-DkIiT5V9.js"), "./renderers/regionBetweenCurveXAxis.tsx": () => import("./regionBetweenCurveXAxis-CxRoHqgY.js"), "./renderers/regionBetweenCurves.tsx": () => import("./regionBetweenCurves-DDRGduiS.js"), "./renderers/row.tsx": () => import("./row-CEmeXwVT.js"), "./renderers/rq.tsx": () => import("./rq-CFJR6NMq.js"), "./renderers/rsq.tsx": () => import("./rsq-DBtE0JMs.js"), "./renderers/section.tsx": () => import("./section-F-lvHmJk.js"), "./renderers/sideBySide.tsx": () => import("./sideBySide-D7sk5XIC.js"), "./renderers/slider.tsx": () => import("./slider-ButEUmQC.js"), "./renderers/slopeField.tsx": () => import("./slopeField-B5h4365y.js"), "./renderers/solution.tsx": () => import("./solution-MRYa2UUS.js"), "./renderers/spreadsheet.tsx": () => import("./spreadsheet-D5MJdPZv.js"), "./renderers/sq.tsx": () => import("./sq-ybj-G1oD.js"), "./renderers/subsetOfRealsInput.tsx": () => import("./subsetOfRealsInput-C_hY0Je7.js"), "./renderers/summaryStatistics.tsx": () => import("./summaryStatistics-DwG9rAI0.js"), "./renderers/table.tsx": () => import("./table-BfSNVfx6.js"), "./renderers/tabular.tsx": () => import("./tabular-DFxX7ej4.js"), "./renderers/tag.tsx": () => import("./tag-CvZJWJUG.js"), "./renderers/text.tsx": () => import("./text-Ge3RJzjz.js"), "./renderers/textInput.tsx": () => import("./textInput-CDxRJ0P_.js"), "./renderers/vector.tsx": () => import("./vector-D1V30tV5.js"), "./renderers/vectorField.tsx": () => import("./vectorField-B2jk7tjC.js"), "./renderers/video.tsx": () => import("./video-D5UDTWw2.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-BfEd2gHw.js";
3
- import { N as createFunctionFromDefinition, E as DocContext } from "./doenetml-Dtr8uuNd.js";
2
+ import { BoardContext, LINE_LAYER_OFFSET } from "./graph-DKw3DeJU.js";
3
+ import { N as createFunctionFromDefinition, E as DocContext } from "./doenetml-D6IlG41G.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-Dtr8uuNd.js";
2
- import { F as FontAwesomeIcon } from "./index.es-BhI_Txzi.js";
1
+ import { q as jsxRuntimeExports } from "./doenetml-D6IlG41G.js";
2
+ import { F as FontAwesomeIcon } from "./index.es-B-NcmgcW.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-Dtr8uuNd.js";
1
+ import { E as DocContext, q as jsxRuntimeExports, F as textRendererStyle } from "./doenetml-D6IlG41G.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-Cwc2DrZ9.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-6Rgze7fN.js";
5
- import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-BfEd2gHw.js";
6
- import { D as DynamicMath } from "./DynamicMath-BxnWzC8X.js";
7
- import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-Dnv86Kcz.js";
8
- import { ChoiceInputInlineContext } from "./choiceInput-BdpZbNLv.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-BErCczoW.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-ol7OFPO2.js";
5
+ import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-DKw3DeJU.js";
6
+ import { D as DynamicMath } from "./DynamicMath-Dk78mOlk.js";
7
+ import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-CHJI9Bjk.js";
8
+ import { ChoiceInputInlineContext } from "./choiceInput-BVQGlWXy.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-6Rgze7fN.js";
3
- import { u as useFieldFunction, a as useFieldCurve, c as buildVectorFieldData } from "./useFieldCurve-Cb06Nai-.js";
2
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-ol7OFPO2.js";
3
+ import { u as useFieldFunction, a as useFieldCurve, c as buildVectorFieldData } from "./useFieldCurve-4aKeuk6A.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-Dtr8uuNd.js";
1
+ import { J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-D6IlG41G.js";
2
2
  import React__default, { useState, useEffect, useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-6Rgze7fN.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-ol7OFPO2.js";
4
4
  import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
5
- import { D as DescriptionPopover, a as DescriptionAsDetails } from "./Description-BLsgHpuE.js";
5
+ import { D as DescriptionPopover, a as DescriptionAsDetails } from "./Description-CohxsoSp.js";
6
6
  import { g as getNonInlineMediaLayoutStyles } from "./nonInlineMediaLayout-CkXHaqzo.js";
7
- import { N as NonInlineMediaWrapper } from "./NonInlineMediaWrapper-CqY6tlnb.js";
7
+ import { N as NonInlineMediaWrapper } from "./NonInlineMediaWrapper-CkTxmLaD.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;