@doenet/doenetml 0.7.21-dev.395 → 0.7.21-dev.398

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 (104) hide show
  1. package/{AnswerResponseButton-Cr426k-V.js → AnswerResponseButton-Bu926yhx.js} +2 -2
  2. package/{Description-3I8ymwrk.js → Description-K2dsuF2n.js} +1 -1
  3. package/{GraphFrame-wsuv88JI.js → GraphFrame-CbkRSYY5.js} +2 -2
  4. package/{JSXGraphRenderer-CbGmCpAf.js → JSXGraphRenderer-CUzVmCr1.js} +42 -2
  5. package/{NonInlineMediaWrapper-B7vdoE8U.js → NonInlineMediaWrapper-CBOxNEY-.js} +1 -1
  6. package/Viewer/renderers/JSXGraphRenderer.d.ts.map +1 -1
  7. package/Viewer/renderers/utils/useMathJaxOutOfTabOrder.d.ts +18 -0
  8. package/Viewer/renderers/utils/useMathJaxOutOfTabOrder.d.ts.map +1 -0
  9. package/{_error-BAzYuERQ.js → _error-B8crXcjh.js} +2 -2
  10. package/{alert-BwYEYdCR.js → alert-D4aZwLow.js} +3 -3
  11. package/{angle-BQVGwOrl.js → angle-BEfoqzba.js} +6 -6
  12. package/{answer-C1JCllYl.js → answer-BJqV5axq.js} +5 -5
  13. package/{asList-BZo0lTJJ.js → asList-D2LiWC6h.js} +2 -2
  14. package/{blockQuote-CBjdPB-J.js → blockQuote-PfRjeJqx.js} +3 -3
  15. package/{boolean-dR_rICYj.js → boolean-DQvy03d7.js} +2 -2
  16. package/{booleanInput-xuWYo3f9.js → booleanInput-6DQ8_hji.js} +6 -6
  17. package/{br-BnSiKFQ4.js → br-DDwYdFm8.js} +2 -2
  18. package/{button-CHZpx67R.js → button-1wJWwWOf.js} +4 -4
  19. package/{c-Clt444ns.js → c-BzYHhNcn.js} +3 -3
  20. package/{cell-hi4OEoB5.js → cell-BT3KmK5o.js} +3 -3
  21. package/{choiceInput-zA1vDRMa.js → choiceInput-w0697zFY.js} +4 -4
  22. package/{circle-BX_hlldD.js → circle-Bno-DkC_.js} +6 -6
  23. package/{cobwebPolyline-BkfYeG1j.js → cobwebPolyline-D12NaphD.js} +4 -4
  24. package/{codeEditor-CaJQOGQ_.js → codeEditor-BJzeCVGE.js} +2 -2
  25. package/{composites-CJAEX8OI.js → composites-CzyvlYIF.js} +1 -1
  26. package/{containerBlock-BpgZ3lT5.js → containerBlock-DzoVgTWm.js} +4 -4
  27. package/{containerInline-CZRiF6kj.js → containerInline-DDnNwkCH.js} +4 -4
  28. package/{curve-CQyee_H2.js → curve-CKFQ8PXz.js} +4 -4
  29. package/{doenetml-DzHFuL4D.js → doenetml-BGEEuMFo.js} +5 -5
  30. package/doenetml-external-worker.js +2 -2
  31. package/doenetml-inline-worker.js +2 -2
  32. package/{ellipsis-BSXoV0KH.js → ellipsis-CePw7FyB.js} +2 -2
  33. package/{em-BMgM0JNL.js → em-DW6_BXUK.js} +3 -3
  34. package/{embed-Cyj_dHan.js → embed-CArBVLcQ.js} +2 -2
  35. package/{feedback-DRanZKdt.js → feedback-X1TjfGts.js} +4 -4
  36. package/{figure-Ce8TbW-I.js → figure-DltCWNY2.js} +3 -3
  37. package/{fillPatterns-C-0Kpero.js → fillPatterns-CTvJ1WhF.js} +1 -1
  38. package/{footnote-DNuCk3UV.js → footnote-CNyJWmpZ.js} +3 -3
  39. package/{fractionInput-Bf3rQFsN.js → fractionInput-CqWmqdpI.js} +4 -4
  40. package/{graph-SVUDIBFn.js → graph-npgGcKU1.js} +6 -6
  41. package/{hint-qwudbPEL.js → hint-BefR5DN3.js} +4 -4
  42. package/{hr-Dzgt5ouF.js → hr-B9ecVB-d.js} +2 -2
  43. package/{image-CbuK6Gxe.js → image-C9Hh3UHP.js} +7 -7
  44. package/{index-DU12P-Mf.js → index-BJMKMou5.js} +1 -1
  45. package/{index.es-DhITM8kt.js → index.es-Cwe2nLPR.js} +1 -1
  46. package/index.js +1 -1
  47. package/{label-DtrVa0uZ.js → label-BTpsPFjn.js} +6 -6
  48. package/{labelWithLatex-DjFnB36A.js → labelWithLatex-BoVE9gxB.js} +1 -1
  49. package/{legend-ww0ayKgl.js → legend-CBAYiRS3.js} +4 -4
  50. package/{line-BzM2nL5M.js → line-BERm8Hk3.js} +6 -6
  51. package/{lineFamilyDragHandlers-x8k14tLz.js → lineFamilyDragHandlers-8IQJxVnD.js} +1 -1
  52. package/{lineSegment-DDo0Zc2U.js → lineSegment-C-oEO0o9.js} +5 -5
  53. package/{list-Cph2auoF.js → list-D3dkQlt1.js} +4 -4
  54. package/{lq-1fcuizpM.js → lq-DxBBrkJK.js} +2 -2
  55. package/{lsq-B38maanf.js → lsq-BUPrDfBv.js} +2 -2
  56. package/{markupRenderer-Cs91vgwh.js → markupRenderer-BQlC6AGZ.js} +1 -1
  57. package/{math-CtbEY1m4.js → math-D4YTSzQG.js} +6 -6
  58. package/{mathInput-nva52YOz.js → mathInput-BKFmk7vp.js} +7 -7
  59. package/{matrixInput-DwBnEQTP.js → matrixInput-D5wTSWtl.js} +4 -4
  60. package/{mdash-mrmmuKuZ.js → mdash-CIYBCZqZ.js} +2 -2
  61. package/{nbsp-p9WUvwwR.js → nbsp-BwTaiURP.js} +2 -2
  62. package/{ndash-DIbY6t9p.js → ndash-D4wpL_YQ.js} +2 -2
  63. package/{number-6pkVsfY7.js → number-b3APh7K4.js} +6 -6
  64. package/{orbitalDiagram-Lg5rvkPM.js → orbitalDiagram-DZuyomEf.js} +2 -2
  65. package/{orbitalDiagramInput-CX7dtYD3.js → orbitalDiagramInput-Bm8-u4Du.js} +2 -2
  66. package/{p-CdWqVUtZ.js → p-DV4v6LAA.js} +4 -4
  67. package/package.json +1 -1
  68. package/{paginatorControls-CP5oWyWl.js → paginatorControls-BkeVSEO-.js} +2 -2
  69. package/{pegboard-CRAW_HLT.js → pegboard-Cr4emg1s.js} +4 -4
  70. package/{point-DB3BFPxs.js → point-Di5SWzoV.js} +6 -6
  71. package/{polygon-CmkZJiBK.js → polygon-BVJ0UFpL.js} +6 -6
  72. package/{polyline-C5oaTXTI.js → polyline-CM1QMDyB.js} +5 -5
  73. package/{pre-C-U24MXZ.js → pre-D-GUjHYg.js} +3 -3
  74. package/{prefigure-CkC3iN0Y.js → prefigure-QCT4XJ7k.js} +1 -1
  75. package/{pretzel-SIHtLSVV.js → pretzel-CqifcH2B.js} +4 -4
  76. package/{q-DU6wNu-k.js → q-DODKcBIP.js} +3 -3
  77. package/{ray-DfkIHlL0.js → ray-CmKeMJty.js} +5 -5
  78. package/{ref-uXr7zOOl.js → ref-CNlVuh_L.js} +2 -2
  79. package/{regionBetweenCurveXAxis-Dn8fblIL.js → regionBetweenCurveXAxis-3k8LF1SM.js} +5 -5
  80. package/{regionBetweenCurves-D2m_giU7.js → regionBetweenCurves-DoOw1r0K.js} +5 -5
  81. package/{row-DXeNeK2K.js → row-DN_wt77l.js} +2 -2
  82. package/{rq-mRxAvNpP.js → rq-DvdqTuf_.js} +2 -2
  83. package/{rsq-CC8mYbVw.js → rsq-CNggnmyh.js} +2 -2
  84. package/{section-hQTwL9og.js → section-CWK-ger1.js} +5 -5
  85. package/{sha256-AuWkkb03-Ber7Ep4y.js → sha256-AuWkkb03-RtR70coq.js} +1 -1
  86. package/{sideBySide-F0QRNGPf.js → sideBySide-BAQuF7pk.js} +2 -2
  87. package/{slider-DwKlm_Tv.js → slider-ClD1ZWD1.js} +3 -3
  88. package/{solution-C3zbKC8j.js → solution-BwthrBuO.js} +4 -4
  89. package/{spreadsheet-F2DwIheU.js → spreadsheet-CnDQ8lXn.js} +2 -2
  90. package/{sq-aMJjCMNI.js → sq-CaU1pdfM.js} +3 -3
  91. package/{subsetOfRealsInput-n7pErON9.js → subsetOfRealsInput-BXEh4ae8.js} +2 -2
  92. package/{summaryStatistics-C-jRynIr.js → summaryStatistics-MSGgkkEE.js} +2 -2
  93. package/{table-QMT2UklE.js → table-BReD9WV6.js} +2 -2
  94. package/{tabular-Dg5v0Ec6.js → tabular-3E64GHmp.js} +2 -2
  95. package/{tag-CWSF-2FQ.js → tag-w_RtitIQ.js} +2 -2
  96. package/{text-CW2YdOZq.js → text-CVGY_GWs.js} +6 -6
  97. package/{textInput-CVFa0yQx.js → textInput-D_J59zho.js} +6 -6
  98. package/{tooltip-provider-Cd4W3yvv.js → tooltip-provider-CInaPTXn.js} +1 -1
  99. package/{useAnchoredGraphDragHandler-Cm9Y1fUe.js → useAnchoredGraphDragHandler-CyYaRVRS.js} +1 -1
  100. package/useDoenetRenderer-BF6SLLFI.js +114 -0
  101. package/{useSubmitActionWithDelay-DisRa4Nr.js → useSubmitActionWithDelay-VpJXSBnL.js} +2 -2
  102. package/{vector-nXCwJGlZ.js → vector-CbC8OhGJ.js} +6 -6
  103. package/{video-EK7ZhAqU.js → video-PLEKl8rH.js} +4 -4
  104. package/useDoenetRenderer-hMj6oUPs.js +0 -114
@@ -1,8 +1,8 @@
1
- import { u as useT, w as useContentT, x as useRecordVisibilityChanges, q as DocContext, p as jsxRuntimeExports } from "./doenetml-DzHFuL4D.js";
1
+ import { u as useT, w as useContentT, x as useRecordVisibilityChanges, q as DocContext, p as jsxRuntimeExports } from "./doenetml-BGEEuMFo.js";
2
2
  import React__default, { useRef, useContext } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-hMj6oUPs.js";
4
- import { A as AnswerResponseButton } from "./AnswerResponseButton-Cr426k-V.js";
5
- import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-DisRa4Nr.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BF6SLLFI.js";
4
+ import { A as AnswerResponseButton } from "./AnswerResponseButton-Bu926yhx.js";
5
+ import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-VpJXSBnL.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-DzHFuL4D.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-BGEEuMFo.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-hMj6oUPs.js";
4
- import { r as renderMarkupBody } from "./markupRenderer-Cs91vgwh.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BF6SLLFI.js";
4
+ import { r as renderMarkupBody } from "./markupRenderer-BQlC6AGZ.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 { q as DocContext, p as jsxRuntimeExports } from "./doenetml-DzHFuL4D.js";
1
+ import { q as DocContext, p as jsxRuntimeExports } from "./doenetml-BGEEuMFo.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-CbGmCpAf.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-hMj6oUPs.js";
5
- import { BoardContext, LINE_LAYER_OFFSET } from "./graph-SVUDIBFn.js";
6
- import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-x8k14tLz.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-CUzVmCr1.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BF6SLLFI.js";
5
+ import { BoardContext, LINE_LAYER_OFFSET } from "./graph-npgGcKU1.js";
6
+ import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-8IQJxVnD.js";
7
7
  import { a as buildLineLikeAttributes } from "./buildGraphicalAttributes-C7PtyKL7.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 { q as DocContext, p as jsxRuntimeExports } from "./doenetml-DzHFuL4D.js";
1
+ import { q as DocContext, p as jsxRuntimeExports } from "./doenetml-BGEEuMFo.js";
2
2
  import React__default, { useContext, useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-hMj6oUPs.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BF6SLLFI.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 { q as DocContext, A as createFunctionFromDefinition, p as jsxRuntimeExports } from "./doenetml-DzHFuL4D.js";
1
+ import { q as DocContext, A as createFunctionFromDefinition, p as jsxRuntimeExports } from "./doenetml-BGEEuMFo.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-CbGmCpAf.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-hMj6oUPs.js";
5
- import { BoardContext, LINE_LAYER_OFFSET } from "./graph-SVUDIBFn.js";
6
- import { g as getPatternFillAttributes } from "./fillPatterns-C-0Kpero.js";
3
+ import { j as jxg, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-CUzVmCr1.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BF6SLLFI.js";
5
+ import { BoardContext, LINE_LAYER_OFFSET } from "./graph-npgGcKU1.js";
6
+ import { g as getPatternFillAttributes } from "./fillPatterns-CTvJ1WhF.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 { q as DocContext, A as createFunctionFromDefinition, p as jsxRuntimeExports } from "./doenetml-DzHFuL4D.js";
1
+ import { q as DocContext, A as createFunctionFromDefinition, p as jsxRuntimeExports } from "./doenetml-BGEEuMFo.js";
2
2
  import React__default, { useContext, useRef, useEffect } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-hMj6oUPs.js";
4
- import { BoardContext, LINE_LAYER_OFFSET } from "./graph-SVUDIBFn.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BF6SLLFI.js";
4
+ import { BoardContext, LINE_LAYER_OFFSET } from "./graph-npgGcKU1.js";
5
5
  import { s as styleToDash } from "./styleToDash-DWb71gbd.js";
6
- import { g as getPatternFillAttributes } from "./fillPatterns-C-0Kpero.js";
6
+ import { g as getPatternFillAttributes } from "./fillPatterns-CTvJ1WhF.js";
7
7
  import { b as resolveCanvasColor } from "./styleColors-Cknqcr0q.js";
8
- import { b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-CbGmCpAf.js";
8
+ import { b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-CUzVmCr1.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-DzHFuL4D.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-BGEEuMFo.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-hMj6oUPs.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BF6SLLFI.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-DzHFuL4D.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-BGEEuMFo.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-hMj6oUPs.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BF6SLLFI.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-DzHFuL4D.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-BGEEuMFo.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-hMj6oUPs.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BF6SLLFI.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, w as useContentT, q as DocContext, z as cesc, x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-DzHFuL4D.js";
1
+ import { u as useT, w as useContentT, q as DocContext, z as cesc, x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-BGEEuMFo.js";
2
2
  import React__default, { useContext, useRef, useEffect } from "react";
3
- import { F as FontAwesomeIcon } from "./index.es-DhITM8kt.js";
3
+ import { F as FontAwesomeIcon } from "./index.es-Cwe2nLPR.js";
4
4
  import { f as faCaretDown, a as faCaretRight } from "./index-BDlitCgu.js";
5
- import { u as useDoenetRenderer } from "./useDoenetRenderer-hMj6oUPs.js";
6
- import { a as addCommasForCompositeRanges } from "./composites-CJAEX8OI.js";
7
- import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-DisRa4Nr.js";
5
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BF6SLLFI.js";
6
+ import { a as addCommasForCompositeRanges } from "./composites-CzyvlYIF.js";
7
+ import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-VpJXSBnL.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-DzHFuL4D.js";
1
+ import { l as getDefaultExportFromCjs } from "./doenetml-BGEEuMFo.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 { x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-DzHFuL4D.js";
1
+ import { x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-BGEEuMFo.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-hMj6oUPs.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BF6SLLFI.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, K as ActionButtonGroup, L as ActionButton, y as Context } from "./doenetml-DzHFuL4D.js";
1
+ import { u as useT, p as jsxRuntimeExports, K as ActionButtonGroup, L as ActionButton, y as Context } from "./doenetml-BGEEuMFo.js";
2
2
  import React__default, { useState, useRef, useEffect } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-hMj6oUPs.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BF6SLLFI.js";
4
4
  import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
5
- import { r as renderLabelWithLatex } from "./labelWithLatex-DjFnB36A.js";
5
+ import { r as renderLabelWithLatex } from "./labelWithLatex-BoVE9gxB.js";
6
6
  let round_to_decimals = (x, n) => {
7
7
  try {
8
8
  return Context.round_numbers_to_decimals(x, n).tree;
@@ -1,9 +1,9 @@
1
- import { u as useT, x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-DzHFuL4D.js";
1
+ import { u as useT, x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-BGEEuMFo.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-hMj6oUPs.js";
4
- import { F as FontAwesomeIcon } from "./index.es-DhITM8kt.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BF6SLLFI.js";
4
+ import { F as FontAwesomeIcon } from "./index.es-Cwe2nLPR.js";
5
5
  import { c as faPuzzlePiece } from "./index-BDlitCgu.js";
6
- import { a as addCommasForCompositeRanges } from "./composites-CJAEX8OI.js";
6
+ import { a as addCommasForCompositeRanges } from "./composites-CzyvlYIF.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 { q as DocContext, x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-DzHFuL4D.js";
1
+ import { q as DocContext, x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-BGEEuMFo.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-hMj6oUPs.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BF6SLLFI.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-DzHFuL4D.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-BGEEuMFo.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-hMj6oUPs.js";
4
- import { r as renderMarkupBody } from "./markupRenderer-Cs91vgwh.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BF6SLLFI.js";
4
+ import { r as renderMarkupBody } from "./markupRenderer-BQlC6AGZ.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, x as useRecordVisibilityChanges, p as jsxRuntimeExports, O as ToggleButtonGroup, T as ToggleButton, K as ActionButtonGroup, L as ActionButton } from "./doenetml-DzHFuL4D.js";
1
+ import { u as useT, x as useRecordVisibilityChanges, p as jsxRuntimeExports, O as ToggleButtonGroup, T as ToggleButton, K as ActionButtonGroup, L as ActionButton } from "./doenetml-BGEEuMFo.js";
2
2
  import React__default, { useState, useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-hMj6oUPs.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BF6SLLFI.js";
4
4
  const subsetOfRealsInput = React__default.memo(function subsetOfReals(props) {
5
5
  let { id, SVs, actions, callAction } = useDoenetRenderer(props, false);
6
6
  let [mode, setMode] = useState("add remove points");
@@ -1,6 +1,6 @@
1
- import { u as useT, x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-DzHFuL4D.js";
1
+ import { u as useT, x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-BGEEuMFo.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-hMj6oUPs.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BF6SLLFI.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 { x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-DzHFuL4D.js";
1
+ import { x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-BGEEuMFo.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-hMj6oUPs.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BF6SLLFI.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 { x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-DzHFuL4D.js";
1
+ import { x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-BGEEuMFo.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-hMj6oUPs.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BF6SLLFI.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-DzHFuL4D.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-BGEEuMFo.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-hMj6oUPs.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BF6SLLFI.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 { q as DocContext, y as Context, p as jsxRuntimeExports, t as textRendererStyle } from "./doenetml-DzHFuL4D.js";
1
+ import { q as DocContext, y as Context, p as jsxRuntimeExports, t as textRendererStyle } from "./doenetml-BGEEuMFo.js";
2
2
  import React__default, { useRef, useContext } from "react";
3
- import { j as jxg } from "./JSXGraphRenderer-CbGmCpAf.js";
4
- import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-SVUDIBFn.js";
5
- import { u as useDoenetRenderer } from "./useDoenetRenderer-hMj6oUPs.js";
3
+ import { j as jxg } from "./JSXGraphRenderer-CUzVmCr1.js";
4
+ import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-npgGcKU1.js";
5
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BF6SLLFI.js";
6
6
  import { g as getPositionFromAnchorByCoordinate } from "./graph-W6vrFcBu.js";
7
- import { ChoiceInputInlineContext } from "./choiceInput-zA1vDRMa.js";
7
+ import { ChoiceInputInlineContext } from "./choiceInput-w0697zFY.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-Cm9Y1fUe.js";
10
+ import { d as detachAnchoredGraphElement, a as attachAnchoredGraphDragHandlers } from "./useAnchoredGraphDragHandler-CyYaRVRS.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 { w as useContentT, y as Context, p as jsxRuntimeExports, M as MathJax } from "./doenetml-DzHFuL4D.js";
1
+ import { w as useContentT, y as Context, p as jsxRuntimeExports, M as MathJax } from "./doenetml-BGEEuMFo.js";
2
2
  import { useState, useRef, useContext, useEffect } from "react";
3
- import { j as jxg } from "./JSXGraphRenderer-CbGmCpAf.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-hMj6oUPs.js";
3
+ import { j as jxg } from "./JSXGraphRenderer-CUzVmCr1.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BF6SLLFI.js";
5
5
  import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
6
- import { BoardContext } from "./graph-SVUDIBFn.js";
6
+ import { BoardContext } from "./graph-npgGcKU1.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-DisRa4Nr.js";
9
- import { D as DescriptionPopover } from "./Description-3I8ymwrk.js";
8
+ import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-VpJXSBnL.js";
9
+ import { D as DescriptionPopover } from "./Description-K2dsuF2n.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 { a7 as createStoreContext, a8 as HovercardScopedContextProvider, a9 as HovercardContextProvider, aa as createDialogComponent, R as forwardRef, S as createElement, U as createHook, W as invariant, ab as useWrapElement, p as jsxRuntimeExports, X as useStoreState, ac as useHovercard, ad as isFalsyBooleanCallback, ae as contains, af as sync, ag as chain, ah as useEvent, ai as useHovercardAnchor, aj as createStore, ak as createHovercardStore, al as defaultValue, am as useStore, an as useStoreProps, ao as useHovercardStoreProps } from "./doenetml-DzHFuL4D.js";
1
+ import { a7 as createStoreContext, a8 as HovercardScopedContextProvider, a9 as HovercardContextProvider, aa as createDialogComponent, R as forwardRef, S as createElement, U as createHook, W as invariant, ab as useWrapElement, p as jsxRuntimeExports, X as useStoreState, ac as useHovercard, ad as isFalsyBooleanCallback, ae as contains, af as sync, ag as chain, ah as useEvent, ai as useHovercardAnchor, aj as createStore, ak as createHovercardStore, al as defaultValue, am as useStore, an as useStoreProps, ao as useHovercardStoreProps } from "./doenetml-BGEEuMFo.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-CbGmCpAf.js";
1
+ import { r as removeJXGEventHandlers, L as LINE_FAMILY_EVENTS, j as jxg } from "./JSXGraphRenderer-CUzVmCr1.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 { F as useAppSelector, G as mainSlice, H as renderersLoadComponent, _ as __variableDynamicImportRuntimeHelper } from "./doenetml-BGEEuMFo.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-CbkRSYY5.js"), "./renderers/JSXGraphRenderer.tsx": () => import("./JSXGraphRenderer-CUzVmCr1.js").then((n) => n.m), "./renderers/_error.tsx": () => import("./_error-B8crXcjh.js"), "./renderers/alert.tsx": () => import("./alert-D4aZwLow.js"), "./renderers/angle.tsx": () => import("./angle-BEfoqzba.js"), "./renderers/answer.tsx": () => import("./answer-BJqV5axq.js"), "./renderers/asList.tsx": () => import("./asList-D2LiWC6h.js"), "./renderers/blockQuote.tsx": () => import("./blockQuote-PfRjeJqx.js"), "./renderers/boolean.tsx": () => import("./boolean-DQvy03d7.js"), "./renderers/booleanInput.tsx": () => import("./booleanInput-6DQ8_hji.js"), "./renderers/br.tsx": () => import("./br-DDwYdFm8.js"), "./renderers/button.tsx": () => import("./button-1wJWwWOf.js"), "./renderers/c.tsx": () => import("./c-BzYHhNcn.js"), "./renderers/cell.tsx": () => import("./cell-BT3KmK5o.js"), "./renderers/choiceInput.tsx": () => import("./choiceInput-w0697zFY.js"), "./renderers/circle.tsx": () => import("./circle-Bno-DkC_.js"), "./renderers/cobwebPolyline.tsx": () => import("./cobwebPolyline-D12NaphD.js"), "./renderers/codeEditor.tsx": () => import("./codeEditor-BJzeCVGE.js"), "./renderers/containerBlock.tsx": () => import("./containerBlock-DzoVgTWm.js"), "./renderers/containerInline.tsx": () => import("./containerInline-DDnNwkCH.js"), "./renderers/curve.tsx": () => import("./curve-CKFQ8PXz.js"), "./renderers/ellipsis.tsx": () => import("./ellipsis-CePw7FyB.js"), "./renderers/em.tsx": () => import("./em-DW6_BXUK.js"), "./renderers/embed.tsx": () => import("./embed-CArBVLcQ.js"), "./renderers/feedback.tsx": () => import("./feedback-X1TjfGts.js"), "./renderers/figure.tsx": () => import("./figure-DltCWNY2.js"), "./renderers/footnote.tsx": () => import("./footnote-CNyJWmpZ.js"), "./renderers/fractionInput.tsx": () => import("./fractionInput-CqWmqdpI.js"), "./renderers/graph.tsx": () => import("./graph-npgGcKU1.js"), "./renderers/hint.tsx": () => import("./hint-BefR5DN3.js"), "./renderers/hr.tsx": () => import("./hr-B9ecVB-d.js"), "./renderers/image.tsx": () => import("./image-C9Hh3UHP.js"), "./renderers/label.tsx": () => import("./label-BTpsPFjn.js"), "./renderers/legend.tsx": () => import("./legend-CBAYiRS3.js"), "./renderers/line.tsx": () => import("./line-BERm8Hk3.js"), "./renderers/lineSegment.tsx": () => import("./lineSegment-C-oEO0o9.js"), "./renderers/list.tsx": () => import("./list-D3dkQlt1.js"), "./renderers/lq.tsx": () => import("./lq-DxBBrkJK.js"), "./renderers/lsq.tsx": () => import("./lsq-BUPrDfBv.js"), "./renderers/math.tsx": () => import("./math-D4YTSzQG.js"), "./renderers/mathInput.tsx": () => import("./mathInput-BKFmk7vp.js"), "./renderers/matrixInput.tsx": () => import("./matrixInput-D5wTSWtl.js"), "./renderers/mdash.tsx": () => import("./mdash-CIYBCZqZ.js"), "./renderers/nbsp.tsx": () => import("./nbsp-BwTaiURP.js"), "./renderers/ndash.tsx": () => import("./ndash-D4wpL_YQ.js"), "./renderers/number.tsx": () => import("./number-b3APh7K4.js"), "./renderers/orbitalDiagram.tsx": () => import("./orbitalDiagram-DZuyomEf.js"), "./renderers/orbitalDiagramInput.tsx": () => import("./orbitalDiagramInput-Bm8-u4Du.js"), "./renderers/p.tsx": () => import("./p-DV4v6LAA.js"), "./renderers/paginatorControls.tsx": () => import("./paginatorControls-BkeVSEO-.js"), "./renderers/pegboard.tsx": () => import("./pegboard-Cr4emg1s.js"), "./renderers/point.tsx": () => import("./point-Di5SWzoV.js"), "./renderers/polygon.tsx": () => import("./polygon-BVJ0UFpL.js"), "./renderers/polyline.tsx": () => import("./polyline-CM1QMDyB.js"), "./renderers/pre.tsx": () => import("./pre-D-GUjHYg.js"), "./renderers/prefigure.tsx": () => import("./prefigure-QCT4XJ7k.js"), "./renderers/pretzel.tsx": () => import("./pretzel-CqifcH2B.js"), "./renderers/q.tsx": () => import("./q-DODKcBIP.js"), "./renderers/ray.tsx": () => import("./ray-CmKeMJty.js"), "./renderers/ref.tsx": () => import("./ref-CNlVuh_L.js"), "./renderers/regionBetweenCurveXAxis.tsx": () => import("./regionBetweenCurveXAxis-3k8LF1SM.js"), "./renderers/regionBetweenCurves.tsx": () => import("./regionBetweenCurves-DoOw1r0K.js"), "./renderers/row.tsx": () => import("./row-DN_wt77l.js"), "./renderers/rq.tsx": () => import("./rq-DvdqTuf_.js"), "./renderers/rsq.tsx": () => import("./rsq-CNggnmyh.js"), "./renderers/section.tsx": () => import("./section-CWK-ger1.js"), "./renderers/sideBySide.tsx": () => import("./sideBySide-BAQuF7pk.js"), "./renderers/slider.tsx": () => import("./slider-ClD1ZWD1.js"), "./renderers/solution.tsx": () => import("./solution-BwthrBuO.js"), "./renderers/spreadsheet.tsx": () => import("./spreadsheet-CnDQ8lXn.js"), "./renderers/sq.tsx": () => import("./sq-CaU1pdfM.js"), "./renderers/subsetOfRealsInput.tsx": () => import("./subsetOfRealsInput-BXEh4ae8.js"), "./renderers/summaryStatistics.tsx": () => import("./summaryStatistics-MSGgkkEE.js"), "./renderers/table.tsx": () => import("./table-BReD9WV6.js"), "./renderers/tabular.tsx": () => import("./tabular-3E64GHmp.js"), "./renderers/tag.tsx": () => import("./tag-w_RtitIQ.js"), "./renderers/text.tsx": () => import("./text-CVGY_GWs.js"), "./renderers/textInput.tsx": () => import("./textInput-D_J59zho.js"), "./renderers/vector.tsx": () => import("./vector-CbC8OhGJ.js"), "./renderers/video.tsx": () => import("./video-PLEKl8rH.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-DzHFuL4D.js";
2
- import { F as FontAwesomeIcon } from "./index.es-DhITM8kt.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-BGEEuMFo.js";
2
+ import { F as FontAwesomeIcon } from "./index.es-Cwe2nLPR.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 { q as DocContext, p as jsxRuntimeExports, t as textRendererStyle, v as DynamicMath } from "./doenetml-DzHFuL4D.js";
1
+ import { q as DocContext, p as jsxRuntimeExports, t as textRendererStyle, v as DynamicMath } from "./doenetml-BGEEuMFo.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-CbGmCpAf.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-hMj6oUPs.js";
5
- import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-SVUDIBFn.js";
6
- import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-x8k14tLz.js";
7
- import { ChoiceInputInlineContext } from "./choiceInput-zA1vDRMa.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-CUzVmCr1.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BF6SLLFI.js";
5
+ import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-npgGcKU1.js";
6
+ import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-8IQJxVnD.js";
7
+ import { ChoiceInputInlineContext } from "./choiceInput-w0697zFY.js";
8
8
  import { a as buildLineLikeAttributes } from "./buildGraphicalAttributes-C7PtyKL7.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 { x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-DzHFuL4D.js";
1
+ import { x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-BGEEuMFo.js";
2
2
  import React__default, { useState, useEffect, useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-hMj6oUPs.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BF6SLLFI.js";
4
4
  import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
5
- import { D as DescriptionPopover, a as DescriptionAsDetails } from "./Description-3I8ymwrk.js";
5
+ import { D as DescriptionPopover, a as DescriptionAsDetails } from "./Description-K2dsuF2n.js";
6
6
  import { g as getNonInlineMediaLayoutStyles } from "./nonInlineMediaLayout-CkXHaqzo.js";
7
- import { N as NonInlineMediaWrapper } from "./NonInlineMediaWrapper-B7vdoE8U.js";
7
+ import { N as NonInlineMediaWrapper } from "./NonInlineMediaWrapper-CBOxNEY-.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;