@doenet/doenetml 0.7.21-dev.439 → 0.7.22-dev.440

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 (101) hide show
  1. package/{AnswerResponseButton-BwN2ZJlx.js → AnswerResponseButton-BBNdSfp-.js} +2 -2
  2. package/{Description-COTMaPJ3.js → Description-COcIfA5f.js} +1 -1
  3. package/{GraphFrame-BpTU2qBJ.js → GraphFrame-DHqtCo8b.js} +2 -2
  4. package/{JSXGraphRenderer-Bnla54C-.js → JSXGraphRenderer-C7sAvDqA.js} +1 -1
  5. package/{NonInlineMediaWrapper-Dfi-ln9B.js → NonInlineMediaWrapper-B91JDd1i.js} +1 -1
  6. package/{_error-Dqod12GE.js → _error-Crx6I4OR.js} +2 -2
  7. package/{alert-DS0bckrg.js → alert-CR-AWuTz.js} +3 -3
  8. package/{angle-DKAo5D4J.js → angle-D5VIm_dm.js} +6 -6
  9. package/{answer-C7_8f-fj.js → answer-__vFYbiH.js} +5 -5
  10. package/{asList-CSVW5nEy.js → asList-Dirlog76.js} +2 -2
  11. package/{blockQuote-C7CBeJGl.js → blockQuote-CH6NpEPk.js} +3 -3
  12. package/{boolean-YUT8z7-X.js → boolean-CHkKKfV8.js} +2 -2
  13. package/{booleanInput-DR2Q4L-W.js → booleanInput-C9vcsKTJ.js} +6 -6
  14. package/{br-BXYmTjlM.js → br-b1_nReM-.js} +2 -2
  15. package/{button-Sg_iBUIP.js → button-Dyp_k6Aj.js} +4 -4
  16. package/{c-DTINiHPi.js → c-BrscNe4_.js} +3 -3
  17. package/{cell-hyX-LMpC.js → cell-BsJo-Jlj.js} +3 -3
  18. package/{choiceInput-BEBb0IIr.js → choiceInput-Cnf0dbNG.js} +4 -4
  19. package/{circle-BJa3QNsK.js → circle-BM31YfGx.js} +6 -6
  20. package/{cobwebPolyline-BcuTB3Cu.js → cobwebPolyline-_Dq6jLxQ.js} +4 -4
  21. package/{codeEditor-ahY4_nzJ.js → codeEditor-DIHneVxn.js} +2 -2
  22. package/{composites-Dwn5TwAw.js → composites-Bb4XNTFb.js} +1 -1
  23. package/{containerBlock-DiHfgwjB.js → containerBlock-B8rKiQiA.js} +4 -4
  24. package/{containerInline-UVy-vQJg.js → containerInline-BAsgnrl3.js} +4 -4
  25. package/{curve-DLVfrATW.js → curve-Dy99hHci.js} +4 -4
  26. package/{doenetml-D04ih3ZF.js → doenetml-DP8Y1bFO.js} +5 -5
  27. package/doenetml-external-worker.js +2 -2
  28. package/doenetml-inline-worker.js +2 -2
  29. package/{ellipsis-EOtnihMl.js → ellipsis-DVn-wS-T.js} +2 -2
  30. package/{em-DReQ5nAc.js → em-ULiJvvM1.js} +3 -3
  31. package/{embed-ugaqhd6F.js → embed-s-S-R-ly.js} +2 -2
  32. package/{feedback-BdgPOpq1.js → feedback-DP8YTv93.js} +4 -4
  33. package/{figure-Dp9v6Qeo.js → figure-CnyfbWjn.js} +3 -3
  34. package/{fillPatterns-DDEhnDje.js → fillPatterns-BS-pggZe.js} +1 -1
  35. package/{footnote-C8QGB99h.js → footnote-CE11wnw2.js} +3 -3
  36. package/{fractionInput-9rel3Dmt.js → fractionInput-CboSWhuF.js} +4 -4
  37. package/{graph-DMP5xo6F.js → graph-CX37qeZQ.js} +6 -6
  38. package/{hint-yEU4kFaO.js → hint-Bv537kpg.js} +4 -4
  39. package/{hr-C7nHn3oR.js → hr-DRqJfD5n.js} +2 -2
  40. package/{image-DH3LHhtW.js → image-Dh2SJ80F.js} +7 -7
  41. package/{index-Bi_cqVBb.js → index-09JuRy2Y.js} +1 -1
  42. package/{index.es-B_1JiIwQ.js → index.es-D_U8jarR.js} +1 -1
  43. package/index.js +1 -1
  44. package/{label-NuEkXmbt.js → label-C0zQv0Hp.js} +6 -6
  45. package/{labelWithLatex-BVskov8U.js → labelWithLatex-CktTerdg.js} +1 -1
  46. package/{legend-BKEiGKDW.js → legend-CO42FXzh.js} +4 -4
  47. package/{line-D8U44xrT.js → line-75joeWQf.js} +6 -6
  48. package/{lineFamilyDragHandlers-Dgy9BZLt.js → lineFamilyDragHandlers-CR39EnO0.js} +1 -1
  49. package/{lineSegment-C83e5Rka.js → lineSegment-B61huKwv.js} +5 -5
  50. package/{list-ClpxNU30.js → list-s8Cz69NZ.js} +4 -4
  51. package/{lq-PtdHKGgT.js → lq-EFTZGtl4.js} +2 -2
  52. package/{lsq-b5SyeWe_.js → lsq-C5K63vuS.js} +2 -2
  53. package/{markupRenderer-DoZho45l.js → markupRenderer-XjwEI-uE.js} +1 -1
  54. package/{math-DmPVz6c3.js → math-BoCLat7g.js} +6 -6
  55. package/{mathInput-C-vaqcFR.js → mathInput-RNdNgRSu.js} +7 -7
  56. package/{matrixInput-BcoTgtrS.js → matrixInput-H-lHJ4Bh.js} +4 -4
  57. package/{mdash-BsdODJ9w.js → mdash-CUuKsGLQ.js} +2 -2
  58. package/{nbsp-C7mlrRTo.js → nbsp-gGIH6Wd5.js} +2 -2
  59. package/{ndash-BbGzmzxx.js → ndash-CwVgyeBj.js} +2 -2
  60. package/{number-mBMoDEBJ.js → number-DAnoeWAB.js} +6 -6
  61. package/{orbitalDiagram-D8ZvoD0H.js → orbitalDiagram-Ce1qNgHU.js} +2 -2
  62. package/{orbitalDiagramInput-BswRw54i.js → orbitalDiagramInput-CKPXw0JH.js} +2 -2
  63. package/{p-D3NeTecs.js → p-DU01XSsJ.js} +4 -4
  64. package/package.json +1 -1
  65. package/{paginatorControls-26yGJ6IL.js → paginatorControls-D0BIaIqJ.js} +2 -2
  66. package/{pegboard-BwQPG7Pc.js → pegboard-rpoLgDgs.js} +4 -4
  67. package/{point-CAvf5hRq.js → point-yLJ-kjTi.js} +6 -6
  68. package/{polygon-fZ9iJv3K.js → polygon-CV3zXoF6.js} +6 -6
  69. package/{polyline-BS5bFqHB.js → polyline-CLxgKKmz.js} +5 -5
  70. package/{pre-o-2Fw4L_.js → pre-CVMb7kW4.js} +3 -3
  71. package/{prefigure-DxOR9Fq-.js → prefigure-Bs2AkKZ1.js} +1 -1
  72. package/{pretzel-BjbnyOsK.js → pretzel-DUeLV-Ue.js} +4 -4
  73. package/{q-C65cG9IV.js → q-B1CCAo-K.js} +3 -3
  74. package/{ray-841O-eRF.js → ray-Bf9uob8_.js} +5 -5
  75. package/{ref-DIXVSQqr.js → ref-DqvJpRMq.js} +2 -2
  76. package/{regionBetweenCurveXAxis-DLzG6jlO.js → regionBetweenCurveXAxis-B86uSY1W.js} +5 -5
  77. package/{regionBetweenCurves-DjFOqBXZ.js → regionBetweenCurves-BtLUkzR1.js} +5 -5
  78. package/{row-Dnlu5dsG.js → row-BNHM4kUH.js} +2 -2
  79. package/{rq-Cy_1G3HK.js → rq-DB-pDggY.js} +2 -2
  80. package/{rsq-Dcut6hj4.js → rsq-CrRNEDvD.js} +2 -2
  81. package/{section-DGqnW3Xa.js → section-BsNAiTLC.js} +5 -5
  82. package/{sha256-Bzrm4-tO-BeeIgOwr.js → sha256-Bzrm4-tO-SfFa0x2D.js} +1 -1
  83. package/{sideBySide-haaZCVBR.js → sideBySide-BR8MjVrK.js} +2 -2
  84. package/{slider-DZcttL-5.js → slider-BcvR0SVF.js} +3 -3
  85. package/{solution-Cn5YI9cI.js → solution-VDiFkWie.js} +4 -4
  86. package/{spreadsheet-DrAghT0D.js → spreadsheet-wEz7Ti-7.js} +2 -2
  87. package/{sq-yswR_E9H.js → sq-DdzIAtqI.js} +3 -3
  88. package/{subsetOfRealsInput-DaHSleKk.js → subsetOfRealsInput-DHUITGR_.js} +2 -2
  89. package/{summaryStatistics-D-tROrDL.js → summaryStatistics-Scz9vYo3.js} +2 -2
  90. package/{table-BObmIQER.js → table-_E-o0UEe.js} +2 -2
  91. package/{tabular-DNww87q0.js → tabular-YNEYZmlX.js} +2 -2
  92. package/{tag-B1IfegVo.js → tag-Cl2mYqWk.js} +2 -2
  93. package/{text-CmhUFpTO.js → text-Cg_09aUm.js} +6 -6
  94. package/{textInput-BZaAPhb7.js → textInput-CZkpoxjp.js} +6 -6
  95. package/{tooltip-provider-DvdJLp59.js → tooltip-provider-BsBcSwXs.js} +1 -1
  96. package/{useAnchoredGraphDragHandler-DXCC8FRh.js → useAnchoredGraphDragHandler-DNVsJGkt.js} +1 -1
  97. package/useDoenetRenderer-Bvv_cwEa.js +114 -0
  98. package/{useSubmitActionWithDelay-DRJMBnsc.js → useSubmitActionWithDelay-DoE4sjeF.js} +2 -2
  99. package/{vector-BF-MAzvF.js → vector-BcEBo2Ze.js} +6 -6
  100. package/{video-CEXpKhaX.js → video-BmfS7sZB.js} +4 -4
  101. package/useDoenetRenderer-ejHPCU93.js +0 -114
@@ -1,8 +1,8 @@
1
- import { u as useT, x as useContentT, o as useChromeLangDir, y as useRecordVisibilityChanges, t as DocContext, q as jsxRuntimeExports } from "./doenetml-D04ih3ZF.js";
1
+ import { u as useT, x as useContentT, o as useChromeLangDir, y as useRecordVisibilityChanges, t as DocContext, q as jsxRuntimeExports } from "./doenetml-DP8Y1bFO.js";
2
2
  import React__default, { useRef, useContext } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-ejHPCU93.js";
4
- import { A as AnswerResponseButton } from "./AnswerResponseButton-BwN2ZJlx.js";
5
- import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-DRJMBnsc.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-Bvv_cwEa.js";
4
+ import { A as AnswerResponseButton } from "./AnswerResponseButton-BBNdSfp-.js";
5
+ import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-DoE4sjeF.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-D04ih3ZF.js";
1
+ import { q as jsxRuntimeExports } from "./doenetml-DP8Y1bFO.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-ejHPCU93.js";
4
- import { r as renderMarkupBody } from "./markupRenderer-DoZho45l.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-Bvv_cwEa.js";
4
+ import { r as renderMarkupBody } from "./markupRenderer-XjwEI-uE.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 { t as DocContext, q as jsxRuntimeExports } from "./doenetml-D04ih3ZF.js";
1
+ import { t as DocContext, q as jsxRuntimeExports } from "./doenetml-DP8Y1bFO.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-Bnla54C-.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-ejHPCU93.js";
5
- import { BoardContext, LINE_LAYER_OFFSET } from "./graph-DMP5xo6F.js";
6
- import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-Dgy9BZLt.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-C7sAvDqA.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-Bvv_cwEa.js";
5
+ import { BoardContext, LINE_LAYER_OFFSET } from "./graph-CX37qeZQ.js";
6
+ import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-CR39EnO0.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 { t as DocContext, q as jsxRuntimeExports } from "./doenetml-D04ih3ZF.js";
1
+ import { t as DocContext, q as jsxRuntimeExports } from "./doenetml-DP8Y1bFO.js";
2
2
  import React__default, { useContext, useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-ejHPCU93.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-Bvv_cwEa.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 { t as DocContext, E as createFunctionFromDefinition, q as jsxRuntimeExports } from "./doenetml-D04ih3ZF.js";
1
+ import { t as DocContext, E as createFunctionFromDefinition, q as jsxRuntimeExports } from "./doenetml-DP8Y1bFO.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-Bnla54C-.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-ejHPCU93.js";
5
- import { BoardContext, LINE_LAYER_OFFSET } from "./graph-DMP5xo6F.js";
6
- import { g as getPatternFillAttributes } from "./fillPatterns-DDEhnDje.js";
3
+ import { j as jxg, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-C7sAvDqA.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-Bvv_cwEa.js";
5
+ import { BoardContext, LINE_LAYER_OFFSET } from "./graph-CX37qeZQ.js";
6
+ import { g as getPatternFillAttributes } from "./fillPatterns-BS-pggZe.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 { t as DocContext, E as createFunctionFromDefinition, q as jsxRuntimeExports } from "./doenetml-D04ih3ZF.js";
1
+ import { t as DocContext, E as createFunctionFromDefinition, q as jsxRuntimeExports } from "./doenetml-DP8Y1bFO.js";
2
2
  import React__default, { useContext, useRef, useEffect } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-ejHPCU93.js";
4
- import { BoardContext, LINE_LAYER_OFFSET } from "./graph-DMP5xo6F.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-Bvv_cwEa.js";
4
+ import { BoardContext, LINE_LAYER_OFFSET } from "./graph-CX37qeZQ.js";
5
5
  import { s as styleToDash } from "./styleToDash-DWb71gbd.js";
6
- import { g as getPatternFillAttributes } from "./fillPatterns-DDEhnDje.js";
6
+ import { g as getPatternFillAttributes } from "./fillPatterns-BS-pggZe.js";
7
7
  import { b as resolveCanvasColor } from "./styleColors-Cknqcr0q.js";
8
- import { b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-Bnla54C-.js";
8
+ import { b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-C7sAvDqA.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-D04ih3ZF.js";
1
+ import { q as jsxRuntimeExports } from "./doenetml-DP8Y1bFO.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-ejHPCU93.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-Bvv_cwEa.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-D04ih3ZF.js";
1
+ import { q as jsxRuntimeExports } from "./doenetml-DP8Y1bFO.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-ejHPCU93.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-Bvv_cwEa.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-D04ih3ZF.js";
1
+ import { q as jsxRuntimeExports } from "./doenetml-DP8Y1bFO.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-ejHPCU93.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-Bvv_cwEa.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, x as useContentT, L as directionOf, M as useDocumentDirection, N as chromeLangDir, n as useUiLocale, t as DocContext, A as cesc, y as useRecordVisibilityChanges, q as jsxRuntimeExports, O as DocumentDirectionProvider } from "./doenetml-D04ih3ZF.js";
1
+ import { u as useT, x as useContentT, L as directionOf, M as useDocumentDirection, N as chromeLangDir, n as useUiLocale, t as DocContext, A as cesc, y as useRecordVisibilityChanges, q as jsxRuntimeExports, O as DocumentDirectionProvider } from "./doenetml-DP8Y1bFO.js";
2
2
  import React__default, { useContext, useRef, useEffect } from "react";
3
- import { F as FontAwesomeIcon } from "./index.es-B_1JiIwQ.js";
3
+ import { F as FontAwesomeIcon } from "./index.es-D_U8jarR.js";
4
4
  import { f as faCaretDown, a as faCaretRight } from "./index-BDlitCgu.js";
5
- import { u as useDoenetRenderer } from "./useDoenetRenderer-ejHPCU93.js";
6
- import { a as addCommasForCompositeRanges } from "./composites-Dwn5TwAw.js";
7
- import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-DRJMBnsc.js";
5
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-Bvv_cwEa.js";
6
+ import { a as addCommasForCompositeRanges } from "./composites-Bb4XNTFb.js";
7
+ import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-DoE4sjeF.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 { l as getDefaultExportFromCjs } from "./doenetml-D04ih3ZF.js";
1
+ import { l as getDefaultExportFromCjs } from "./doenetml-DP8Y1bFO.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 { y as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-D04ih3ZF.js";
1
+ import { y as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-DP8Y1bFO.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-ejHPCU93.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-Bvv_cwEa.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, q as jsxRuntimeExports, P as ActionButtonGroup, Q as ActionButton, z as Context } from "./doenetml-D04ih3ZF.js";
1
+ import { u as useT, q as jsxRuntimeExports, P as ActionButtonGroup, Q as ActionButton, z as Context } from "./doenetml-DP8Y1bFO.js";
2
2
  import React__default, { useState, useRef, useEffect } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-ejHPCU93.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-Bvv_cwEa.js";
4
4
  import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
5
- import { r as renderLabelWithLatex } from "./labelWithLatex-BVskov8U.js";
5
+ import { r as renderLabelWithLatex } from "./labelWithLatex-CktTerdg.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, y as useRecordVisibilityChanges, o as useChromeLangDir, q as jsxRuntimeExports } from "./doenetml-D04ih3ZF.js";
1
+ import { u as useT, y as useRecordVisibilityChanges, o as useChromeLangDir, q as jsxRuntimeExports } from "./doenetml-DP8Y1bFO.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-ejHPCU93.js";
4
- import { F as FontAwesomeIcon } from "./index.es-B_1JiIwQ.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-Bvv_cwEa.js";
4
+ import { F as FontAwesomeIcon } from "./index.es-D_U8jarR.js";
5
5
  import { c as faPuzzlePiece } from "./index-BDlitCgu.js";
6
- import { a as addCommasForCompositeRanges } from "./composites-Dwn5TwAw.js";
6
+ import { a as addCommasForCompositeRanges } from "./composites-Bb4XNTFb.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 { t as DocContext, y as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-D04ih3ZF.js";
1
+ import { t as DocContext, y as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-DP8Y1bFO.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-ejHPCU93.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-Bvv_cwEa.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-D04ih3ZF.js";
1
+ import { q as jsxRuntimeExports } from "./doenetml-DP8Y1bFO.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-ejHPCU93.js";
4
- import { r as renderMarkupBody } from "./markupRenderer-DoZho45l.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-Bvv_cwEa.js";
4
+ import { r as renderMarkupBody } from "./markupRenderer-XjwEI-uE.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, y as useRecordVisibilityChanges, q as jsxRuntimeExports, U as ToggleButtonGroup, T as ToggleButton, P as ActionButtonGroup, Q as ActionButton } from "./doenetml-D04ih3ZF.js";
1
+ import { u as useT, y as useRecordVisibilityChanges, q as jsxRuntimeExports, U as ToggleButtonGroup, T as ToggleButton, P as ActionButtonGroup, Q as ActionButton } from "./doenetml-DP8Y1bFO.js";
2
2
  import React__default, { useState, useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-ejHPCU93.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-Bvv_cwEa.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, o as useChromeLangDir, y as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-D04ih3ZF.js";
1
+ import { u as useT, o as useChromeLangDir, y as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-DP8Y1bFO.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-ejHPCU93.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-Bvv_cwEa.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 { y as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-D04ih3ZF.js";
1
+ import { y as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-DP8Y1bFO.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-ejHPCU93.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-Bvv_cwEa.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 { y as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-D04ih3ZF.js";
1
+ import { y as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-DP8Y1bFO.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-ejHPCU93.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-Bvv_cwEa.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-D04ih3ZF.js";
1
+ import { q as jsxRuntimeExports } from "./doenetml-DP8Y1bFO.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-ejHPCU93.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-Bvv_cwEa.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 { t as DocContext, z as Context, q as jsxRuntimeExports, v as textRendererStyle } from "./doenetml-D04ih3ZF.js";
1
+ import { t as DocContext, z as Context, q as jsxRuntimeExports, v as textRendererStyle } from "./doenetml-DP8Y1bFO.js";
2
2
  import React__default, { useRef, useContext } from "react";
3
- import { j as jxg } from "./JSXGraphRenderer-Bnla54C-.js";
4
- import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-DMP5xo6F.js";
5
- import { u as useDoenetRenderer } from "./useDoenetRenderer-ejHPCU93.js";
3
+ import { j as jxg } from "./JSXGraphRenderer-C7sAvDqA.js";
4
+ import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-CX37qeZQ.js";
5
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-Bvv_cwEa.js";
6
6
  import { g as getPositionFromAnchorByCoordinate } from "./graph-W6vrFcBu.js";
7
- import { ChoiceInputInlineContext } from "./choiceInput-BEBb0IIr.js";
7
+ import { ChoiceInputInlineContext } from "./choiceInput-Cnf0dbNG.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-DXCC8FRh.js";
10
+ import { d as detachAnchoredGraphElement, a as attachAnchoredGraphDragHandlers } from "./useAnchoredGraphDragHandler-DNVsJGkt.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 { x as useContentT, z as Context, q as jsxRuntimeExports, R as MathJax } from "./doenetml-D04ih3ZF.js";
1
+ import { x as useContentT, z as Context, q as jsxRuntimeExports, R as MathJax } from "./doenetml-DP8Y1bFO.js";
2
2
  import { useState, useRef, useContext, useEffect } from "react";
3
- import { j as jxg } from "./JSXGraphRenderer-Bnla54C-.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-ejHPCU93.js";
3
+ import { j as jxg } from "./JSXGraphRenderer-C7sAvDqA.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-Bvv_cwEa.js";
5
5
  import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
6
- import { BoardContext } from "./graph-DMP5xo6F.js";
6
+ import { BoardContext } from "./graph-CX37qeZQ.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-DRJMBnsc.js";
9
- import { D as DescriptionPopover } from "./Description-COTMaPJ3.js";
8
+ import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-DoE4sjeF.js";
9
+ import { D as DescriptionPopover } from "./Description-COcIfA5f.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 { ac as createStoreContext, ad as HovercardScopedContextProvider, ae as HovercardContextProvider, af as createDialogComponent, X as forwardRef, Y as createElement, Z as createHook, a0 as invariant, ag as useWrapElement, q as jsxRuntimeExports, a1 as useStoreState, ah as useHovercard, ai as isFalsyBooleanCallback, aj as contains, ak as sync, al as chain, am as useEvent, an as useHovercardAnchor, ao as createStore, ap as createHovercardStore, aq as defaultValue, ar as useStore, as as useStoreProps, at as useHovercardStoreProps } from "./doenetml-D04ih3ZF.js";
1
+ import { ac as createStoreContext, ad as HovercardScopedContextProvider, ae as HovercardContextProvider, af as createDialogComponent, X as forwardRef, Y as createElement, Z as createHook, a0 as invariant, ag as useWrapElement, q as jsxRuntimeExports, a1 as useStoreState, ah as useHovercard, ai as isFalsyBooleanCallback, aj as contains, ak as sync, al as chain, am as useEvent, an as useHovercardAnchor, ao as createStore, ap as createHovercardStore, aq as defaultValue, ar as useStore, as as useStoreProps, at as useHovercardStoreProps } from "./doenetml-DP8Y1bFO.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-Bnla54C-.js";
1
+ import { r as removeJXGEventHandlers, L as LINE_FAMILY_EVENTS, j as jxg } from "./JSXGraphRenderer-C7sAvDqA.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 { G as useAppSelector, H as mainSlice, I as renderersLoadComponent, _ as __variableDynamicImportRuntimeHelper } from "./doenetml-DP8Y1bFO.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-DHqtCo8b.js"), "./renderers/JSXGraphRenderer.tsx": () => import("./JSXGraphRenderer-C7sAvDqA.js").then((n) => n.m), "./renderers/_error.tsx": () => import("./_error-Crx6I4OR.js"), "./renderers/alert.tsx": () => import("./alert-CR-AWuTz.js"), "./renderers/angle.tsx": () => import("./angle-D5VIm_dm.js"), "./renderers/answer.tsx": () => import("./answer-__vFYbiH.js"), "./renderers/asList.tsx": () => import("./asList-Dirlog76.js"), "./renderers/blockQuote.tsx": () => import("./blockQuote-CH6NpEPk.js"), "./renderers/boolean.tsx": () => import("./boolean-CHkKKfV8.js"), "./renderers/booleanInput.tsx": () => import("./booleanInput-C9vcsKTJ.js"), "./renderers/br.tsx": () => import("./br-b1_nReM-.js"), "./renderers/button.tsx": () => import("./button-Dyp_k6Aj.js"), "./renderers/c.tsx": () => import("./c-BrscNe4_.js"), "./renderers/cell.tsx": () => import("./cell-BsJo-Jlj.js"), "./renderers/choiceInput.tsx": () => import("./choiceInput-Cnf0dbNG.js"), "./renderers/circle.tsx": () => import("./circle-BM31YfGx.js"), "./renderers/cobwebPolyline.tsx": () => import("./cobwebPolyline-_Dq6jLxQ.js"), "./renderers/codeEditor.tsx": () => import("./codeEditor-DIHneVxn.js"), "./renderers/containerBlock.tsx": () => import("./containerBlock-B8rKiQiA.js"), "./renderers/containerInline.tsx": () => import("./containerInline-BAsgnrl3.js"), "./renderers/curve.tsx": () => import("./curve-Dy99hHci.js"), "./renderers/ellipsis.tsx": () => import("./ellipsis-DVn-wS-T.js"), "./renderers/em.tsx": () => import("./em-ULiJvvM1.js"), "./renderers/embed.tsx": () => import("./embed-s-S-R-ly.js"), "./renderers/feedback.tsx": () => import("./feedback-DP8YTv93.js"), "./renderers/figure.tsx": () => import("./figure-CnyfbWjn.js"), "./renderers/footnote.tsx": () => import("./footnote-CE11wnw2.js"), "./renderers/fractionInput.tsx": () => import("./fractionInput-CboSWhuF.js"), "./renderers/graph.tsx": () => import("./graph-CX37qeZQ.js"), "./renderers/hint.tsx": () => import("./hint-Bv537kpg.js"), "./renderers/hr.tsx": () => import("./hr-DRqJfD5n.js"), "./renderers/image.tsx": () => import("./image-Dh2SJ80F.js"), "./renderers/label.tsx": () => import("./label-C0zQv0Hp.js"), "./renderers/legend.tsx": () => import("./legend-CO42FXzh.js"), "./renderers/line.tsx": () => import("./line-75joeWQf.js"), "./renderers/lineSegment.tsx": () => import("./lineSegment-B61huKwv.js"), "./renderers/list.tsx": () => import("./list-s8Cz69NZ.js"), "./renderers/lq.tsx": () => import("./lq-EFTZGtl4.js"), "./renderers/lsq.tsx": () => import("./lsq-C5K63vuS.js"), "./renderers/math.tsx": () => import("./math-BoCLat7g.js"), "./renderers/mathInput.tsx": () => import("./mathInput-RNdNgRSu.js"), "./renderers/matrixInput.tsx": () => import("./matrixInput-H-lHJ4Bh.js"), "./renderers/mdash.tsx": () => import("./mdash-CUuKsGLQ.js"), "./renderers/nbsp.tsx": () => import("./nbsp-gGIH6Wd5.js"), "./renderers/ndash.tsx": () => import("./ndash-CwVgyeBj.js"), "./renderers/number.tsx": () => import("./number-DAnoeWAB.js"), "./renderers/orbitalDiagram.tsx": () => import("./orbitalDiagram-Ce1qNgHU.js"), "./renderers/orbitalDiagramInput.tsx": () => import("./orbitalDiagramInput-CKPXw0JH.js"), "./renderers/p.tsx": () => import("./p-DU01XSsJ.js"), "./renderers/paginatorControls.tsx": () => import("./paginatorControls-D0BIaIqJ.js"), "./renderers/pegboard.tsx": () => import("./pegboard-rpoLgDgs.js"), "./renderers/point.tsx": () => import("./point-yLJ-kjTi.js"), "./renderers/polygon.tsx": () => import("./polygon-CV3zXoF6.js"), "./renderers/polyline.tsx": () => import("./polyline-CLxgKKmz.js"), "./renderers/pre.tsx": () => import("./pre-CVMb7kW4.js"), "./renderers/prefigure.tsx": () => import("./prefigure-Bs2AkKZ1.js"), "./renderers/pretzel.tsx": () => import("./pretzel-DUeLV-Ue.js"), "./renderers/q.tsx": () => import("./q-B1CCAo-K.js"), "./renderers/ray.tsx": () => import("./ray-Bf9uob8_.js"), "./renderers/ref.tsx": () => import("./ref-DqvJpRMq.js"), "./renderers/regionBetweenCurveXAxis.tsx": () => import("./regionBetweenCurveXAxis-B86uSY1W.js"), "./renderers/regionBetweenCurves.tsx": () => import("./regionBetweenCurves-BtLUkzR1.js"), "./renderers/row.tsx": () => import("./row-BNHM4kUH.js"), "./renderers/rq.tsx": () => import("./rq-DB-pDggY.js"), "./renderers/rsq.tsx": () => import("./rsq-CrRNEDvD.js"), "./renderers/section.tsx": () => import("./section-BsNAiTLC.js"), "./renderers/sideBySide.tsx": () => import("./sideBySide-BR8MjVrK.js"), "./renderers/slider.tsx": () => import("./slider-BcvR0SVF.js"), "./renderers/solution.tsx": () => import("./solution-VDiFkWie.js"), "./renderers/spreadsheet.tsx": () => import("./spreadsheet-wEz7Ti-7.js"), "./renderers/sq.tsx": () => import("./sq-DdzIAtqI.js"), "./renderers/subsetOfRealsInput.tsx": () => import("./subsetOfRealsInput-DHUITGR_.js"), "./renderers/summaryStatistics.tsx": () => import("./summaryStatistics-Scz9vYo3.js"), "./renderers/table.tsx": () => import("./table-_E-o0UEe.js"), "./renderers/tabular.tsx": () => import("./tabular-YNEYZmlX.js"), "./renderers/tag.tsx": () => import("./tag-Cl2mYqWk.js"), "./renderers/text.tsx": () => import("./text-Cg_09aUm.js"), "./renderers/textInput.tsx": () => import("./textInput-CZkpoxjp.js"), "./renderers/vector.tsx": () => import("./vector-BcEBo2Ze.js"), "./renderers/video.tsx": () => import("./video-BmfS7sZB.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 { q as jsxRuntimeExports } from "./doenetml-D04ih3ZF.js";
2
- import { F as FontAwesomeIcon } from "./index.es-B_1JiIwQ.js";
1
+ import { q as jsxRuntimeExports } from "./doenetml-DP8Y1bFO.js";
2
+ import { F as FontAwesomeIcon } from "./index.es-D_U8jarR.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 { t as DocContext, q as jsxRuntimeExports, v as textRendererStyle, w as DynamicMath } from "./doenetml-D04ih3ZF.js";
1
+ import { t as DocContext, q as jsxRuntimeExports, v as textRendererStyle, w as DynamicMath } from "./doenetml-DP8Y1bFO.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-Bnla54C-.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-ejHPCU93.js";
5
- import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-DMP5xo6F.js";
6
- import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-Dgy9BZLt.js";
7
- import { ChoiceInputInlineContext } from "./choiceInput-BEBb0IIr.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-C7sAvDqA.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-Bvv_cwEa.js";
5
+ import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-CX37qeZQ.js";
6
+ import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-CR39EnO0.js";
7
+ import { ChoiceInputInlineContext } from "./choiceInput-Cnf0dbNG.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 { y as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-D04ih3ZF.js";
1
+ import { y as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-DP8Y1bFO.js";
2
2
  import React__default, { useState, useEffect, useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-ejHPCU93.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-Bvv_cwEa.js";
4
4
  import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
5
- import { D as DescriptionPopover, a as DescriptionAsDetails } from "./Description-COTMaPJ3.js";
5
+ import { D as DescriptionPopover, a as DescriptionAsDetails } from "./Description-COcIfA5f.js";
6
6
  import { g as getNonInlineMediaLayoutStyles } from "./nonInlineMediaLayout-CkXHaqzo.js";
7
- import { N as NonInlineMediaWrapper } from "./NonInlineMediaWrapper-Dfi-ln9B.js";
7
+ import { N as NonInlineMediaWrapper } from "./NonInlineMediaWrapper-B91JDd1i.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;