@doenet/doenetml 0.7.23-dev.449 → 0.7.23-dev.451

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-UEy4yVa4.js → AnswerResponseButton-CCbBdVkg.js} +2 -2
  2. package/{Description-BbO3Ifxk.js → Description-Dz-pguUD.js} +1 -1
  3. package/{GraphFrame-DEi4X0al.js → GraphFrame-C_2gGi6e.js} +2 -2
  4. package/{JSXGraphRenderer-DHakXsvR.js → JSXGraphRenderer-CkbsvJad.js} +89 -10
  5. package/{NonInlineMediaWrapper-DG1KofO-.js → NonInlineMediaWrapper-BruMwMVr.js} +1 -1
  6. package/Viewer/renderers/utils/jsxgraph.d.ts +19 -0
  7. package/Viewer/renderers/utils/jsxgraph.d.ts.map +1 -1
  8. package/Viewer/renderers/utils/jsxgraph.test.d.ts +2 -0
  9. package/Viewer/renderers/utils/jsxgraph.test.d.ts.map +1 -0
  10. package/Viewer/renderers/utils/useAxisTickSpacingSync.d.ts +61 -0
  11. package/Viewer/renderers/utils/useAxisTickSpacingSync.d.ts.map +1 -0
  12. package/Viewer/renderers/utils/useAxisTickSpacingSync.test.d.ts +2 -0
  13. package/Viewer/renderers/utils/useAxisTickSpacingSync.test.d.ts.map +1 -0
  14. package/Viewer/renderers/utils/useGridAndAxesSync.d.ts.map +1 -1
  15. package/Viewer/renderers/utils/useJSXGraphBoardSync.d.ts.map +1 -1
  16. package/{_error-CDiW5RJC.js → _error-Ca8BLX8t.js} +2 -2
  17. package/{alert-Dr4CTj5E.js → alert-DuY_6CR3.js} +3 -3
  18. package/{angle-B1Ozb-wD.js → angle-C5T49Vfs.js} +6 -6
  19. package/{answer-D4bU9C9k.js → answer-Do1gSSkp.js} +5 -5
  20. package/{asList-CzwGSh_G.js → asList-DhZoDwtC.js} +2 -2
  21. package/{blockQuote-BwheyHl5.js → blockQuote-CO8hdhtn.js} +3 -3
  22. package/{boolean-4XFDWqOt.js → boolean-CP5vglVX.js} +2 -2
  23. package/{booleanInput-BC2ORTJm.js → booleanInput-D5YPYG_v.js} +6 -6
  24. package/{br-BsNvWMIK.js → br-DRISZ42Q.js} +2 -2
  25. package/{button-BfQi6eQD.js → button-FSXFT9cy.js} +4 -4
  26. package/{c-DEDPwPGK.js → c-C2RTlcO9.js} +3 -3
  27. package/{cell-BViOaKx_.js → cell-CIJqLPXL.js} +3 -3
  28. package/{choiceInput-xREQCG25.js → choiceInput-BojtViZr.js} +4 -4
  29. package/{circle-DEys04Sy.js → circle-CwaqaL1x.js} +6 -6
  30. package/{cobwebPolyline-DM3Zgcud.js → cobwebPolyline-BoapHkAJ.js} +4 -4
  31. package/{codeEditor-DDvELiRy.js → codeEditor-CQZQ_Sgl.js} +2 -2
  32. package/{composites-Bh3V_otr.js → composites-BQzt_CzT.js} +1 -1
  33. package/{containerBlock-JnSeab3Q.js → containerBlock-BVffhoVg.js} +4 -4
  34. package/{containerInline-B8RHy2w7.js → containerInline-DhwbC1uc.js} +4 -4
  35. package/{curve-BnWEYO8K.js → curve-DqAITSLl.js} +4 -4
  36. package/{doenetml-C41C9uhi.js → doenetml-DfKVXzta.js} +99 -29
  37. package/doenetml-external-worker.js +2 -2
  38. package/doenetml-inline-worker.js +2 -2
  39. package/{ellipsis-DhFsozJr.js → ellipsis-BiZ8TBWX.js} +2 -2
  40. package/{em-BZOHIcKy.js → em-CQ_fuVKv.js} +3 -3
  41. package/{embed-Bgwz4v40.js → embed-DxwByfQW.js} +2 -2
  42. package/{feedback-B-V5b2GT.js → feedback-BWiOiBVR.js} +4 -4
  43. package/{figure-eVDdemuJ.js → figure-DpvuPyBU.js} +3 -3
  44. package/{fillPatterns-ZDSB7In1.js → fillPatterns-C08iiJmh.js} +1 -1
  45. package/{footnote-DvM6nfS2.js → footnote-ZWibHgkE.js} +3 -3
  46. package/{fractionInput-Qe404QXq.js → fractionInput-jX820zm9.js} +4 -4
  47. package/{graph-CmXqyW4w.js → graph-C-TERXvy.js} +6 -6
  48. package/{hint-DGqk8H5X.js → hint-DQwYThlJ.js} +4 -4
  49. package/{hr-DeY86wF1.js → hr-PWuCBmCz.js} +2 -2
  50. package/{image-D5YoTcqD.js → image-CVTHh9pV.js} +7 -7
  51. package/{index-DDR4Qnmz.js → index-BRQr-ipf.js} +1 -1
  52. package/{index.es-CLeRoWQm.js → index.es-sJCqa4Zq.js} +1 -1
  53. package/index.js +1 -1
  54. package/{label-BihLmo8z.js → label-CGY8FwRu.js} +6 -6
  55. package/{labelWithLatex-CHi0KEKv.js → labelWithLatex-Dvb8ltM1.js} +1 -1
  56. package/{legend-Bg9cBFdR.js → legend-X13WivZ9.js} +4 -4
  57. package/{line-DW4q6MS-.js → line-a4jiFgwR.js} +6 -6
  58. package/{lineFamilyDragHandlers-BD8srOh0.js → lineFamilyDragHandlers-B73ZzprP.js} +1 -1
  59. package/{lineSegment-BdDioSmh.js → lineSegment-CpwqZvZk.js} +5 -5
  60. package/{list-BTEUzHzP.js → list-C-W1Iulr.js} +4 -4
  61. package/{lq-CM-LZ3Ir.js → lq-MPRG_Yo5.js} +2 -2
  62. package/{lsq-EFjZ7rrR.js → lsq-Daqx4Tl6.js} +2 -2
  63. package/{markupRenderer-BGBfXfMi.js → markupRenderer-TBdfwPFV.js} +1 -1
  64. package/{math-CnyNoFHg.js → math-Dm0ysPB2.js} +6 -6
  65. package/{mathInput-jLbCKekg.js → mathInput-BqwdT8-r.js} +7 -7
  66. package/{matrixInput-CvzofwFa.js → matrixInput-CSQLR4ND.js} +4 -4
  67. package/{mdash-SY1Jv_hO.js → mdash-WMZ0mV1N.js} +2 -2
  68. package/{nbsp-C1Bd_tu0.js → nbsp-3DH_QApw.js} +2 -2
  69. package/{ndash-Dx8OhtxB.js → ndash-B43BUrjI.js} +2 -2
  70. package/{number-BWuU7L4-.js → number-D_e9pu8f.js} +6 -6
  71. package/{orbitalDiagram-OXWiHNSU.js → orbitalDiagram-CMKvEBPD.js} +2 -2
  72. package/{orbitalDiagramInput-BFuj7eOE.js → orbitalDiagramInput-BgAN0VY8.js} +2 -2
  73. package/{p-C-AEWXVt.js → p-DZOx2mxJ.js} +4 -4
  74. package/package.json +1 -1
  75. package/{paginatorControls-Bd8ugf1e.js → paginatorControls-C3162vBQ.js} +2 -2
  76. package/{pegboard-B6Z_g1Sj.js → pegboard-DnhRDSXo.js} +4 -4
  77. package/{point-D489oQHb.js → point-B135KTU_.js} +6 -6
  78. package/{polygon-k_7VjQId.js → polygon-BalEyYfw.js} +6 -6
  79. package/{polyline-C-KYCF-_.js → polyline-DIWcbPeB.js} +5 -5
  80. package/{pre-DUo1q3m_.js → pre-DOZp6Lj5.js} +3 -3
  81. package/{prefigure-C0sMdfdw.js → prefigure-zvKU0-kA.js} +1 -1
  82. package/{pretzel-CFJn-3PI.js → pretzel-BzI1mLo1.js} +4 -4
  83. package/{q-DQ1Yis0H.js → q-DUQQ2PBw.js} +3 -3
  84. package/{ray-Ddz-OG5s.js → ray-CqD7d0Tt.js} +5 -5
  85. package/{ref-Er_0nLfC.js → ref-AaQiek3d.js} +2 -2
  86. package/{regionBetweenCurveXAxis-JgOZzSZP.js → regionBetweenCurveXAxis-DHAtUwSA.js} +5 -5
  87. package/{regionBetweenCurves-7zRAwJRw.js → regionBetweenCurves-BoqvAVQZ.js} +5 -5
  88. package/{row-EqrizhIL.js → row-CMp_0Qob.js} +2 -2
  89. package/{rq-wxjr-EET.js → rq-CVHDxjJi.js} +2 -2
  90. package/{rsq-BH0WIH2G.js → rsq-BBzsr7QW.js} +2 -2
  91. package/{section-DbNPBZrf.js → section-DlAAVdfW.js} +5 -5
  92. package/{sha256-Bzrm4-tO-BonHaO6c.js → sha256-Bzrm4-tO-EuFegTkb.js} +1 -1
  93. package/{sideBySide-iUhzf1on.js → sideBySide-CrJ3xbEE.js} +2 -2
  94. package/{slider-XsCARjxn.js → slider-De0jRM7b.js} +3 -3
  95. package/{solution-B2SPRWRR.js → solution-BCdd20VE.js} +4 -4
  96. package/{spreadsheet--SowIGO4.js → spreadsheet--zG29OnG.js} +2 -2
  97. package/{sq-90Q2pW9i.js → sq-IV2d3Zw7.js} +3 -3
  98. package/{subsetOfRealsInput-CZ48sJ-r.js → subsetOfRealsInput-D9x0ueAK.js} +2 -2
  99. package/{summaryStatistics-DINYkjue.js → summaryStatistics-XOvVD1W8.js} +2 -2
  100. package/{table-B-uxPTHL.js → table-BKLHL7WQ.js} +2 -2
  101. package/{tabular-D_b7EzRt.js → tabular-eMSfqXy6.js} +2 -2
  102. package/{tag-CWwMOI7g.js → tag-DsnPFaqa.js} +2 -2
  103. package/{text-BHhMdsx-.js → text-CUQqfQz8.js} +6 -6
  104. package/{textInput-uOjvmQGE.js → textInput-DfTseZjR.js} +6 -6
  105. package/{tooltip-provider-Cr4ZhP5V.js → tooltip-provider-BG8BmSJk.js} +1 -1
  106. package/{useAnchoredGraphDragHandler-DbO7ma-X.js → useAnchoredGraphDragHandler-ejfg06ek.js} +1 -1
  107. package/useDoenetRenderer-CDyY-0g2.js +114 -0
  108. package/{useSubmitActionWithDelay-CRvAlX3l.js → useSubmitActionWithDelay-BvBipxs5.js} +2 -2
  109. package/{vector-BW6NNJVt.js → vector-Ccfea2hU.js} +6 -6
  110. package/{video-CXDpTPpX.js → video-DjQsMdGC.js} +4 -4
  111. package/useDoenetRenderer-CtWuWLFX.js +0 -114
@@ -1,8 +1,8 @@
1
- import { u as useT, F as useContentT, t as useChromeLangDir, G as useRecordVisibilityChanges, z as DocContext, p as jsxRuntimeExports } from "./doenetml-C41C9uhi.js";
1
+ import { u as useT, F as useContentT, t as useChromeLangDir, G as useRecordVisibilityChanges, z as DocContext, p as jsxRuntimeExports } from "./doenetml-DfKVXzta.js";
2
2
  import React__default, { useRef, useContext } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CtWuWLFX.js";
4
- import { A as AnswerResponseButton } from "./AnswerResponseButton-UEy4yVa4.js";
5
- import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-CRvAlX3l.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-CDyY-0g2.js";
4
+ import { A as AnswerResponseButton } from "./AnswerResponseButton-CCbBdVkg.js";
5
+ import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-BvBipxs5.js";
6
6
  const pretzel = React__default.memo(function Pretzel(props) {
7
7
  let {
8
8
  componentIdx,
@@ -1,7 +1,7 @@
1
- import { p as jsxRuntimeExports } from "./doenetml-C41C9uhi.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-DfKVXzta.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CtWuWLFX.js";
4
- import { r as renderMarkupBody } from "./markupRenderer-BGBfXfMi.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-CDyY-0g2.js";
4
+ import { r as renderMarkupBody } from "./markupRenderer-TBdfwPFV.js";
5
5
  const q = React__default.memo(function Q(props) {
6
6
  const { SVs, children } = useDoenetRenderer(props);
7
7
  const body = renderMarkupBody({ SVs, children });
@@ -1,9 +1,9 @@
1
- import { z as DocContext, p as jsxRuntimeExports } from "./doenetml-C41C9uhi.js";
1
+ import { z as DocContext, p as jsxRuntimeExports } from "./doenetml-DfKVXzta.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-DHakXsvR.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CtWuWLFX.js";
5
- import { BoardContext, LINE_LAYER_OFFSET } from "./graph-CmXqyW4w.js";
6
- import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-BD8srOh0.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-CkbsvJad.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-CDyY-0g2.js";
5
+ import { BoardContext, LINE_LAYER_OFFSET } from "./graph-C-TERXvy.js";
6
+ import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-B73ZzprP.js";
7
7
  import { a as buildLineLikeAttributes } from "./buildGraphicalAttributes-0RNcbd2S.js";
8
8
  import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
9
9
  import { p as pointerEventToUserCoords } from "./dragThreshold-DuSSFrIU.js";
@@ -1,6 +1,6 @@
1
- import { z as DocContext, p as jsxRuntimeExports } from "./doenetml-C41C9uhi.js";
1
+ import { z as DocContext, p as jsxRuntimeExports } from "./doenetml-DfKVXzta.js";
2
2
  import React__default, { useContext, useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CtWuWLFX.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-CDyY-0g2.js";
4
4
  const ref = React__default.memo(function Ref(props) {
5
5
  const { id, SVs, children, requestScrollTo } = useDoenetRenderer(props);
6
6
  const { doenetViewerUrl } = useContext(DocContext) || {};
@@ -1,9 +1,9 @@
1
- import { z as DocContext, K as createFunctionFromDefinition, p as jsxRuntimeExports } from "./doenetml-C41C9uhi.js";
1
+ import { z as DocContext, K as createFunctionFromDefinition, p as jsxRuntimeExports } from "./doenetml-DfKVXzta.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-DHakXsvR.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CtWuWLFX.js";
5
- import { BoardContext, LINE_LAYER_OFFSET } from "./graph-CmXqyW4w.js";
6
- import { g as getPatternFillAttributes } from "./fillPatterns-ZDSB7In1.js";
3
+ import { j as jxg, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-CkbsvJad.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-CDyY-0g2.js";
5
+ import { BoardContext, LINE_LAYER_OFFSET } from "./graph-C-TERXvy.js";
6
+ import { g as getPatternFillAttributes } from "./fillPatterns-C08iiJmh.js";
7
7
  import { b as resolveCanvasColor } from "./styleColors-Cknqcr0q.js";
8
8
  const regionBetweenCurveXAxis = React__default.memo(function RegionBetweenCurveXAxis(props) {
9
9
  let { id, SVs } = useDoenetRenderer(props);
@@ -1,11 +1,11 @@
1
- import { z as DocContext, K as createFunctionFromDefinition, p as jsxRuntimeExports } from "./doenetml-C41C9uhi.js";
1
+ import { z as DocContext, K as createFunctionFromDefinition, p as jsxRuntimeExports } from "./doenetml-DfKVXzta.js";
2
2
  import React__default, { useContext, useRef, useEffect } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CtWuWLFX.js";
4
- import { BoardContext, LINE_LAYER_OFFSET } from "./graph-CmXqyW4w.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-CDyY-0g2.js";
4
+ import { BoardContext, LINE_LAYER_OFFSET } from "./graph-C-TERXvy.js";
5
5
  import { s as styleToDash } from "./styleToDash-DWb71gbd.js";
6
- import { g as getPatternFillAttributes } from "./fillPatterns-ZDSB7In1.js";
6
+ import { g as getPatternFillAttributes } from "./fillPatterns-C08iiJmh.js";
7
7
  import { b as resolveCanvasColor } from "./styleColors-Cknqcr0q.js";
8
- import { b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-DHakXsvR.js";
8
+ import { b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-CkbsvJad.js";
9
9
  const regionBetweenCurves = React__default.memo(function RegionBetweenCurves(props) {
10
10
  let { id, SVs } = useDoenetRenderer(props);
11
11
  RegionBetweenCurves.ignoreActionsWithoutCore = () => true;
@@ -1,6 +1,6 @@
1
- import { p as jsxRuntimeExports } from "./doenetml-C41C9uhi.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-DfKVXzta.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CtWuWLFX.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-CDyY-0g2.js";
4
4
  const row = React__default.memo(function Row(props) {
5
5
  let { id, SVs, children } = useDoenetRenderer(props);
6
6
  if (SVs.hidden) {
@@ -1,6 +1,6 @@
1
- import { p as jsxRuntimeExports } from "./doenetml-C41C9uhi.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-DfKVXzta.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CtWuWLFX.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-CDyY-0g2.js";
4
4
  const rq = React__default.memo(function Rq(props) {
5
5
  let { SVs } = useDoenetRenderer(props, false);
6
6
  if (SVs.hidden) {
@@ -1,6 +1,6 @@
1
- import { p as jsxRuntimeExports } from "./doenetml-C41C9uhi.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-DfKVXzta.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CtWuWLFX.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-CDyY-0g2.js";
4
4
  const rsq = React__default.memo(function Rsq(props) {
5
5
  let { SVs } = useDoenetRenderer(props, false);
6
6
  if (SVs.hidden) {
@@ -1,10 +1,10 @@
1
- import { u as useT, F as useContentT, N as directionOf, O as useDocumentDirection, P as chromeLangDir, q as useUiLocale, z as DocContext, I as cesc, G as useRecordVisibilityChanges, p as jsxRuntimeExports, Q as DocumentDirectionProvider } from "./doenetml-C41C9uhi.js";
1
+ import { u as useT, F as useContentT, N as directionOf, O as useDocumentDirection, P as chromeLangDir, q as useUiLocale, z as DocContext, I as cesc, G as useRecordVisibilityChanges, p as jsxRuntimeExports, Q as DocumentDirectionProvider } from "./doenetml-DfKVXzta.js";
2
2
  import React__default, { useContext, useRef, useEffect } from "react";
3
- import { F as FontAwesomeIcon } from "./index.es-CLeRoWQm.js";
3
+ import { F as FontAwesomeIcon } from "./index.es-sJCqa4Zq.js";
4
4
  import { f as faCaretDown, a as faCaretRight } from "./index-BDlitCgu.js";
5
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CtWuWLFX.js";
6
- import { a as addCommasForCompositeRanges } from "./composites-Bh3V_otr.js";
7
- import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-CRvAlX3l.js";
5
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-CDyY-0g2.js";
6
+ import { a as addCommasForCompositeRanges } from "./composites-BQzt_CzT.js";
7
+ import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-BvBipxs5.js";
8
8
  import { c as clickToToggleLabel } from "./disclosure-axyZa36E.js";
9
9
  const section = React__default.memo(function Section(props) {
10
10
  let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
@@ -1,4 +1,4 @@
1
- import { o as getDefaultExportFromCjs } from "./doenetml-C41C9uhi.js";
1
+ import { o as getDefaultExportFromCjs } from "./doenetml-DfKVXzta.js";
2
2
  function _mergeNamespaces$1(n, m) {
3
3
  for (var i = 0; i < m.length; i++) {
4
4
  const e = m[i];
@@ -1,6 +1,6 @@
1
- import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-C41C9uhi.js";
1
+ import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-DfKVXzta.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CtWuWLFX.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-CDyY-0g2.js";
4
4
  import { a as getBlockMarginWithOptionalTopSuppression } from "./nonInlineMediaLayout-CkXHaqzo.js";
5
5
  function isWhitespaceTextChild(child) {
6
6
  return typeof child === "string" && child.trim() === "";
@@ -1,8 +1,8 @@
1
- import { u as useT, p as jsxRuntimeExports, R as ActionButtonGroup, S as ActionButton, H as Context } from "./doenetml-C41C9uhi.js";
1
+ import { u as useT, p as jsxRuntimeExports, R as ActionButtonGroup, S as ActionButton, H as Context } from "./doenetml-DfKVXzta.js";
2
2
  import React__default, { useState, useRef, useEffect } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CtWuWLFX.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-CDyY-0g2.js";
4
4
  import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
5
- import { r as renderLabelWithLatex } from "./labelWithLatex-CHi0KEKv.js";
5
+ import { r as renderLabelWithLatex } from "./labelWithLatex-Dvb8ltM1.js";
6
6
  import { l as ltrIslandProps } from "./direction-BwrU7jHk.js";
7
7
  let round_to_decimals = (x, n) => {
8
8
  try {
@@ -1,9 +1,9 @@
1
- import { u as useT, G as useRecordVisibilityChanges, t as useChromeLangDir, p as jsxRuntimeExports } from "./doenetml-C41C9uhi.js";
1
+ import { u as useT, G as useRecordVisibilityChanges, t as useChromeLangDir, p as jsxRuntimeExports } from "./doenetml-DfKVXzta.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CtWuWLFX.js";
4
- import { F as FontAwesomeIcon } from "./index.es-CLeRoWQm.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-CDyY-0g2.js";
4
+ import { F as FontAwesomeIcon } from "./index.es-sJCqa4Zq.js";
5
5
  import { c as faPuzzlePiece } from "./index-BDlitCgu.js";
6
- import { a as addCommasForCompositeRanges } from "./composites-Bh3V_otr.js";
6
+ import { a as addCommasForCompositeRanges } from "./composites-BQzt_CzT.js";
7
7
  import { c as clickToToggleLabel } from "./disclosure-axyZa36E.js";
8
8
  const solution = React__default.memo(function Solution(props) {
9
9
  let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
@@ -1,6 +1,6 @@
1
- import { z as DocContext, G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-C41C9uhi.js";
1
+ import { z as DocContext, G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-DfKVXzta.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-CtWuWLFX.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-CDyY-0g2.js";
4
4
  import require$$2 from "react-dom";
5
5
  import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
6
6
  import { a as getBlockMarginWithOptionalTopSuppression } from "./nonInlineMediaLayout-CkXHaqzo.js";
@@ -1,7 +1,7 @@
1
- import { p as jsxRuntimeExports } from "./doenetml-C41C9uhi.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-DfKVXzta.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CtWuWLFX.js";
4
- import { r as renderMarkupBody } from "./markupRenderer-BGBfXfMi.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-CDyY-0g2.js";
4
+ import { r as renderMarkupBody } from "./markupRenderer-TBdfwPFV.js";
5
5
  const sq = React__default.memo(function Sq(props) {
6
6
  const { SVs, children } = useDoenetRenderer(props);
7
7
  const body = renderMarkupBody({ SVs, children });
@@ -1,6 +1,6 @@
1
- import { u as useT, G as useRecordVisibilityChanges, p as jsxRuntimeExports, W as ToggleButtonGroup, U as ToggleButton, R as ActionButtonGroup, S as ActionButton } from "./doenetml-C41C9uhi.js";
1
+ import { u as useT, G as useRecordVisibilityChanges, p as jsxRuntimeExports, W as ToggleButtonGroup, U as ToggleButton, R as ActionButtonGroup, S as ActionButton } from "./doenetml-DfKVXzta.js";
2
2
  import React__default, { useState, useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CtWuWLFX.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-CDyY-0g2.js";
4
4
  import { l as ltrIslandProps } from "./direction-BwrU7jHk.js";
5
5
  const subsetOfRealsInput = React__default.memo(function subsetOfReals(props) {
6
6
  let { id, SVs, actions, callAction } = useDoenetRenderer(props, false);
@@ -1,6 +1,6 @@
1
- import { u as useT, t as useChromeLangDir, G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-C41C9uhi.js";
1
+ import { u as useT, t as useChromeLangDir, G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-DfKVXzta.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CtWuWLFX.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-CDyY-0g2.js";
4
4
  import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
5
5
  const summaryStatistics = React__default.memo(function SummaryStatistics(props) {
6
6
  let { id, SVs, actions, callAction } = useDoenetRenderer(props);
@@ -1,6 +1,6 @@
1
- import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-C41C9uhi.js";
1
+ import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-DfKVXzta.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CtWuWLFX.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-CDyY-0g2.js";
4
4
  const table = React__default.memo(function Table(props) {
5
5
  let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
6
6
  const ref = useRef(null);
@@ -1,6 +1,6 @@
1
- import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-C41C9uhi.js";
1
+ import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-DfKVXzta.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CtWuWLFX.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-CDyY-0g2.js";
4
4
  import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
5
5
  import { a as getBlockMarginWithOptionalTopSuppression } from "./nonInlineMediaLayout-CkXHaqzo.js";
6
6
  const tabular = React__default.memo(function Tabular(props) {
@@ -1,6 +1,6 @@
1
- import { p as jsxRuntimeExports } from "./doenetml-C41C9uhi.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-DfKVXzta.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CtWuWLFX.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-CDyY-0g2.js";
4
4
  const tag = React__default.memo(function Tag(props) {
5
5
  let { id, SVs, children } = useDoenetRenderer(props);
6
6
  if (SVs.hidden) {
@@ -1,13 +1,13 @@
1
- import { z as DocContext, H as Context, p as jsxRuntimeExports, A as textRendererStyle } from "./doenetml-C41C9uhi.js";
1
+ import { z as DocContext, H as Context, p as jsxRuntimeExports, A as textRendererStyle } from "./doenetml-DfKVXzta.js";
2
2
  import React__default, { useRef, useContext } from "react";
3
- import { j as jxg } from "./JSXGraphRenderer-DHakXsvR.js";
4
- import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-CmXqyW4w.js";
5
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CtWuWLFX.js";
3
+ import { j as jxg } from "./JSXGraphRenderer-CkbsvJad.js";
4
+ import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-C-TERXvy.js";
5
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-CDyY-0g2.js";
6
6
  import { g as getPositionFromAnchorByCoordinate } from "./graph-W6vrFcBu.js";
7
- import { ChoiceInputInlineContext } from "./choiceInput-xREQCG25.js";
7
+ import { ChoiceInputInlineContext } from "./choiceInput-BojtViZr.js";
8
8
  import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
9
9
  import { u as useDraggableRefs, a as useJSXGraphCleanup } from "./useJSXGraphCleanup-CX91oVW8.js";
10
- import { d as detachAnchoredGraphElement, a as attachAnchoredGraphDragHandlers } from "./useAnchoredGraphDragHandler-DbO7ma-X.js";
10
+ import { d as detachAnchoredGraphElement, a as attachAnchoredGraphDragHandlers } from "./useAnchoredGraphDragHandler-ejfg06ek.js";
11
11
  const text = React__default.memo(function Text(props) {
12
12
  let { componentIdx, id, SVs, actions, callAction } = useDoenetRenderer(props);
13
13
  Text.ignoreActionsWithoutCore = () => true;
@@ -1,12 +1,12 @@
1
- import { F as useContentT, H as Context, p as jsxRuntimeExports, T as MathJax } from "./doenetml-C41C9uhi.js";
1
+ import { F as useContentT, H as Context, p as jsxRuntimeExports, T as MathJax } from "./doenetml-DfKVXzta.js";
2
2
  import { useState, useRef, useContext, useEffect } from "react";
3
- import { j as jxg } from "./JSXGraphRenderer-DHakXsvR.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CtWuWLFX.js";
3
+ import { j as jxg } from "./JSXGraphRenderer-CkbsvJad.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-CDyY-0g2.js";
5
5
  import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
6
- import { BoardContext } from "./graph-CmXqyW4w.js";
6
+ import { BoardContext } from "./graph-C-TERXvy.js";
7
7
  import { g as getPositionFromAnchorByCoordinate, P as POINTER_DRAG_THRESHOLD } from "./graph-W6vrFcBu.js";
8
- import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-CRvAlX3l.js";
9
- import { D as DescriptionPopover } from "./Description-BbO3Ifxk.js";
8
+ import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-BvBipxs5.js";
9
+ import { D as DescriptionPopover } from "./Description-Dz-pguUD.js";
10
10
  import { a as addValidationStateToShortDescription } from "./validationState-DI_lxk1a.js";
11
11
  function TextInput(props) {
12
12
  let { id, SVs, children, actions, ignoreUpdate, callAction } = useDoenetRenderer(props);
@@ -1,4 +1,4 @@
1
- import { ae as createStoreContext, af as HovercardScopedContextProvider, ag as HovercardContextProvider, ah as createDialogComponent, Y as forwardRef, Z as createElement, $ as createHook, a1 as invariant, ai as useWrapElement, p as jsxRuntimeExports, a2 as useStoreState, aj as useHovercard, ak as isFalsyBooleanCallback, al as contains, am as sync, an as chain, ao as useEvent, ap as useHovercardAnchor, aq as createStore, ar as createHovercardStore, as as defaultValue, at as useStore, au as useStoreProps, av as useHovercardStoreProps } from "./doenetml-C41C9uhi.js";
1
+ import { ae as createStoreContext, af as HovercardScopedContextProvider, ag as HovercardContextProvider, ah as createDialogComponent, Y as forwardRef, Z as createElement, $ as createHook, a1 as invariant, ai as useWrapElement, p as jsxRuntimeExports, a2 as useStoreState, aj as useHovercard, ak as isFalsyBooleanCallback, al as contains, am as sync, an as chain, ao as useEvent, ap as useHovercardAnchor, aq as createStore, ar as createHovercardStore, as as defaultValue, at as useStore, au as useStoreProps, av as useHovercardStoreProps } from "./doenetml-DfKVXzta.js";
2
2
  import { useRef, useEffect } from "react";
3
3
  const ctx = createStoreContext([HovercardContextProvider], [HovercardScopedContextProvider]);
4
4
  const useTooltipProviderContext = ctx.useProviderContext;
@@ -1,4 +1,4 @@
1
- import { r as removeJXGEventHandlers, L as LINE_FAMILY_EVENTS, j as jxg } from "./JSXGraphRenderer-DHakXsvR.js";
1
+ import { r as removeJXGEventHandlers, L as LINE_FAMILY_EVENTS, j as jxg } from "./JSXGraphRenderer-CkbsvJad.js";
2
2
  import { e as exceededDragThreshold, p as pointerEventToUserCoords } from "./dragThreshold-DuSSFrIU.js";
3
3
  function attachAnchoredGraphDragHandlers(params) {
4
4
  const {
@@ -0,0 +1,114 @@
1
+ import { w as useAppSelector, x as mainSlice, y as renderersLoadComponent, _ as __variableDynamicImportRuntimeHelper } from "./doenetml-DfKVXzta.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-C_2gGi6e.js"), "./renderers/JSXGraphRenderer.tsx": () => import("./JSXGraphRenderer-CkbsvJad.js").then((n) => n.m), "./renderers/_error.tsx": () => import("./_error-Ca8BLX8t.js"), "./renderers/alert.tsx": () => import("./alert-DuY_6CR3.js"), "./renderers/angle.tsx": () => import("./angle-C5T49Vfs.js"), "./renderers/answer.tsx": () => import("./answer-Do1gSSkp.js"), "./renderers/asList.tsx": () => import("./asList-DhZoDwtC.js"), "./renderers/blockQuote.tsx": () => import("./blockQuote-CO8hdhtn.js"), "./renderers/boolean.tsx": () => import("./boolean-CP5vglVX.js"), "./renderers/booleanInput.tsx": () => import("./booleanInput-D5YPYG_v.js"), "./renderers/br.tsx": () => import("./br-DRISZ42Q.js"), "./renderers/button.tsx": () => import("./button-FSXFT9cy.js"), "./renderers/c.tsx": () => import("./c-C2RTlcO9.js"), "./renderers/cell.tsx": () => import("./cell-CIJqLPXL.js"), "./renderers/choiceInput.tsx": () => import("./choiceInput-BojtViZr.js"), "./renderers/circle.tsx": () => import("./circle-CwaqaL1x.js"), "./renderers/cobwebPolyline.tsx": () => import("./cobwebPolyline-BoapHkAJ.js"), "./renderers/codeEditor.tsx": () => import("./codeEditor-CQZQ_Sgl.js"), "./renderers/containerBlock.tsx": () => import("./containerBlock-BVffhoVg.js"), "./renderers/containerInline.tsx": () => import("./containerInline-DhwbC1uc.js"), "./renderers/curve.tsx": () => import("./curve-DqAITSLl.js"), "./renderers/ellipsis.tsx": () => import("./ellipsis-BiZ8TBWX.js"), "./renderers/em.tsx": () => import("./em-CQ_fuVKv.js"), "./renderers/embed.tsx": () => import("./embed-DxwByfQW.js"), "./renderers/feedback.tsx": () => import("./feedback-BWiOiBVR.js"), "./renderers/figure.tsx": () => import("./figure-DpvuPyBU.js"), "./renderers/footnote.tsx": () => import("./footnote-ZWibHgkE.js"), "./renderers/fractionInput.tsx": () => import("./fractionInput-jX820zm9.js"), "./renderers/graph.tsx": () => import("./graph-C-TERXvy.js"), "./renderers/hint.tsx": () => import("./hint-DQwYThlJ.js"), "./renderers/hr.tsx": () => import("./hr-PWuCBmCz.js"), "./renderers/image.tsx": () => import("./image-CVTHh9pV.js"), "./renderers/label.tsx": () => import("./label-CGY8FwRu.js"), "./renderers/legend.tsx": () => import("./legend-X13WivZ9.js"), "./renderers/line.tsx": () => import("./line-a4jiFgwR.js"), "./renderers/lineSegment.tsx": () => import("./lineSegment-CpwqZvZk.js"), "./renderers/list.tsx": () => import("./list-C-W1Iulr.js"), "./renderers/lq.tsx": () => import("./lq-MPRG_Yo5.js"), "./renderers/lsq.tsx": () => import("./lsq-Daqx4Tl6.js"), "./renderers/math.tsx": () => import("./math-Dm0ysPB2.js"), "./renderers/mathInput.tsx": () => import("./mathInput-BqwdT8-r.js"), "./renderers/matrixInput.tsx": () => import("./matrixInput-CSQLR4ND.js"), "./renderers/mdash.tsx": () => import("./mdash-WMZ0mV1N.js"), "./renderers/nbsp.tsx": () => import("./nbsp-3DH_QApw.js"), "./renderers/ndash.tsx": () => import("./ndash-B43BUrjI.js"), "./renderers/number.tsx": () => import("./number-D_e9pu8f.js"), "./renderers/orbitalDiagram.tsx": () => import("./orbitalDiagram-CMKvEBPD.js"), "./renderers/orbitalDiagramInput.tsx": () => import("./orbitalDiagramInput-BgAN0VY8.js"), "./renderers/p.tsx": () => import("./p-DZOx2mxJ.js"), "./renderers/paginatorControls.tsx": () => import("./paginatorControls-C3162vBQ.js"), "./renderers/pegboard.tsx": () => import("./pegboard-DnhRDSXo.js"), "./renderers/point.tsx": () => import("./point-B135KTU_.js"), "./renderers/polygon.tsx": () => import("./polygon-BalEyYfw.js"), "./renderers/polyline.tsx": () => import("./polyline-DIWcbPeB.js"), "./renderers/pre.tsx": () => import("./pre-DOZp6Lj5.js"), "./renderers/prefigure.tsx": () => import("./prefigure-zvKU0-kA.js"), "./renderers/pretzel.tsx": () => import("./pretzel-BzI1mLo1.js"), "./renderers/q.tsx": () => import("./q-DUQQ2PBw.js"), "./renderers/ray.tsx": () => import("./ray-CqD7d0Tt.js"), "./renderers/ref.tsx": () => import("./ref-AaQiek3d.js"), "./renderers/regionBetweenCurveXAxis.tsx": () => import("./regionBetweenCurveXAxis-DHAtUwSA.js"), "./renderers/regionBetweenCurves.tsx": () => import("./regionBetweenCurves-BoqvAVQZ.js"), "./renderers/row.tsx": () => import("./row-CMp_0Qob.js"), "./renderers/rq.tsx": () => import("./rq-CVHDxjJi.js"), "./renderers/rsq.tsx": () => import("./rsq-BBzsr7QW.js"), "./renderers/section.tsx": () => import("./section-DlAAVdfW.js"), "./renderers/sideBySide.tsx": () => import("./sideBySide-CrJ3xbEE.js"), "./renderers/slider.tsx": () => import("./slider-De0jRM7b.js"), "./renderers/solution.tsx": () => import("./solution-BCdd20VE.js"), "./renderers/spreadsheet.tsx": () => import("./spreadsheet--zG29OnG.js"), "./renderers/sq.tsx": () => import("./sq-IV2d3Zw7.js"), "./renderers/subsetOfRealsInput.tsx": () => import("./subsetOfRealsInput-D9x0ueAK.js"), "./renderers/summaryStatistics.tsx": () => import("./summaryStatistics-XOvVD1W8.js"), "./renderers/table.tsx": () => import("./table-BKLHL7WQ.js"), "./renderers/tabular.tsx": () => import("./tabular-eMSfqXy6.js"), "./renderers/tag.tsx": () => import("./tag-DsnPFaqa.js"), "./renderers/text.tsx": () => import("./text-CUQqfQz8.js"), "./renderers/textInput.tsx": () => import("./textInput-DfTseZjR.js"), "./renderers/vector.tsx": () => import("./vector-Ccfea2hU.js"), "./renderers/video.tsx": () => import("./video-DjQsMdGC.js") }), `./renderers/${childInstructions.rendererType}.tsx`, 3);
71
+ }
72
+ return rendererLoaders;
73
+ });
74
+ }
75
+ return null;
76
+ }
77
+ let child = React__default.createElement(rendererClass, propsForChild);
78
+ return child;
79
+ }
80
+ let rendererType = props.componentInstructions.rendererType;
81
+ const callAction = (argObj) => {
82
+ if (!argObj.componentIdx) {
83
+ argObj = { ...argObj };
84
+ argObj.componentIdx = componentIdx;
85
+ }
86
+ if (!argObj.rendererType) {
87
+ argObj = { ...argObj };
88
+ argObj.rendererType = rendererType;
89
+ }
90
+ return props.callAction(argObj);
91
+ };
92
+ return {
93
+ componentIdx: effectiveIdx,
94
+ id: prefixForIds + id,
95
+ SVs: stateValues,
96
+ docId: props.docId,
97
+ activityId: props.activityId,
98
+ actions,
99
+ children,
100
+ sourceOfUpdate,
101
+ ignoreUpdate,
102
+ rendererName,
103
+ initializeChildren: () => {
104
+ },
105
+ callAction,
106
+ doenetViewerUrl: props.doenetViewerUrl,
107
+ fetchExternalDoenetML: props.fetchExternalDoenetML,
108
+ requestScrollTo: props.requestScrollTo,
109
+ flags: props.flags
110
+ };
111
+ }
112
+ export {
113
+ useDoenetRenderer as u
114
+ };
@@ -1,5 +1,5 @@
1
- import { p as jsxRuntimeExports } from "./doenetml-C41C9uhi.js";
2
- import { F as FontAwesomeIcon } from "./index.es-CLeRoWQm.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-DfKVXzta.js";
2
+ import { F as FontAwesomeIcon } from "./index.es-sJCqa4Zq.js";
3
3
  import { d as faSpinner, e as faLevelDownAlt, g as faCheck, h as faTimes, i as faCloud } from "./index-BDlitCgu.js";
4
4
  import React__default, { useCallback } from "react";
5
5
  function calculateValidationState(SVs) {
@@ -1,10 +1,10 @@
1
- import { z as DocContext, p as jsxRuntimeExports, A as textRendererStyle, B as DynamicMath } from "./doenetml-C41C9uhi.js";
1
+ import { z as DocContext, p as jsxRuntimeExports, A as textRendererStyle, B as DynamicMath } from "./doenetml-DfKVXzta.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-DHakXsvR.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CtWuWLFX.js";
5
- import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-CmXqyW4w.js";
6
- import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-BD8srOh0.js";
7
- import { ChoiceInputInlineContext } from "./choiceInput-xREQCG25.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-CkbsvJad.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-CDyY-0g2.js";
5
+ import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-C-TERXvy.js";
6
+ import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-B73ZzprP.js";
7
+ import { ChoiceInputInlineContext } from "./choiceInput-BojtViZr.js";
8
8
  import { a as buildLineLikeAttributes, c as buildDragHandleAttributes } from "./buildGraphicalAttributes-0RNcbd2S.js";
9
9
  import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
10
10
  import { p as pointerEventToUserCoords } from "./dragThreshold-DuSSFrIU.js";
@@ -1,10 +1,10 @@
1
- import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-C41C9uhi.js";
1
+ import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-DfKVXzta.js";
2
2
  import React__default, { useState, useEffect, useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CtWuWLFX.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-CDyY-0g2.js";
4
4
  import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
5
- import { D as DescriptionPopover, a as DescriptionAsDetails } from "./Description-BbO3Ifxk.js";
5
+ import { D as DescriptionPopover, a as DescriptionAsDetails } from "./Description-Dz-pguUD.js";
6
6
  import { g as getNonInlineMediaLayoutStyles } from "./nonInlineMediaLayout-CkXHaqzo.js";
7
- import { N as NonInlineMediaWrapper } from "./NonInlineMediaWrapper-DG1KofO-.js";
7
+ import { N as NonInlineMediaWrapper } from "./NonInlineMediaWrapper-BruMwMVr.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;