@doenet/doenetml 0.7.23-dev.455 → 0.7.23-dev.457

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 (102) hide show
  1. package/{AnswerResponseButton-BwJAmUC9.js → AnswerResponseButton-BziJ_BkX.js} +2 -2
  2. package/{Description-CcpumkyC.js → Description-BYYr5WiJ.js} +1 -1
  3. package/{GraphFrame-BFes_3fi.js → GraphFrame-9F8opKq5.js} +2 -2
  4. package/{JSXGraphRenderer-Dfx0KeBS.js → JSXGraphRenderer-Dt8_NnNt.js} +1 -1
  5. package/{NonInlineMediaWrapper-DREDn1zR.js → NonInlineMediaWrapper-BC51pBUI.js} +1 -1
  6. package/{_error-CJuDrOK0.js → _error-CUX2i9rN.js} +2 -2
  7. package/{alert-D2p9YZXO.js → alert-B33wIUuc.js} +3 -3
  8. package/{angle-Czi0UtUv.js → angle-Os9EmluP.js} +6 -6
  9. package/{answer-Dl6erpxu.js → answer-N9KP1X4M.js} +5 -5
  10. package/{asList-BmJpHcp8.js → asList-BkpOwV9U.js} +2 -2
  11. package/{blockQuote-BPYbEkwX.js → blockQuote-CTbqTpd_.js} +3 -3
  12. package/{boolean-B10Ht1YC.js → boolean-CEkWlMho.js} +2 -2
  13. package/{booleanInput-B32JwM1q.js → booleanInput-DaRWjqPk.js} +6 -6
  14. package/{br-BzodfYYp.js → br-STlS49QL.js} +2 -2
  15. package/{button-CYkVu6zC.js → button-WE9ffu-1.js} +4 -4
  16. package/{c-DNpc53Ey.js → c-Va0PSnXF.js} +3 -3
  17. package/{cell-DuHHO47E.js → cell-zo_cGbCY.js} +3 -3
  18. package/{choiceInput-XIizsFRo.js → choiceInput-BHu0x_6v.js} +4 -4
  19. package/{circle-DX0ZW5eV.js → circle-Dc8XGM29.js} +6 -6
  20. package/{cobwebPolyline-C_XD1UcN.js → cobwebPolyline-CCE5AXRt.js} +4 -4
  21. package/{codeEditor-Bh8w049b.js → codeEditor-Bo-NQP87.js} +2 -2
  22. package/{composites-BCQbe1XR.js → composites-BrfKcOQO.js} +1 -1
  23. package/{containerBlock-CnGcU_0S.js → containerBlock-fQJc_IEz.js} +4 -4
  24. package/{containerInline-DjLjJ9N_.js → containerInline-BIG3jfL1.js} +4 -4
  25. package/{curve-B-Kwhu1l.js → curve-pEuClbPy.js} +4 -4
  26. package/{doenetml-DixRfoFb.js → doenetml-VL5jqU1S.js} +157 -33
  27. package/doenetml-external-worker.js +2 -2
  28. package/doenetml-inline-worker.js +2 -2
  29. package/{ellipsis-C7l2eqTc.js → ellipsis-CovefjEq.js} +2 -2
  30. package/{em-CuhAuzVn.js → em-kTkl8zk9.js} +3 -3
  31. package/{embed-BxgPakgw.js → embed-RTWw6dfS.js} +2 -2
  32. package/{feedback-DyeItSuA.js → feedback-DHr8u6Lv.js} +4 -4
  33. package/{figure-DpaeeQKH.js → figure-BJja6CLX.js} +3 -3
  34. package/{fillPatterns-CFUIn519.js → fillPatterns-BeXQ_TRE.js} +1 -1
  35. package/{footnote-KF-t5gMF.js → footnote-DwN4GvML.js} +3 -3
  36. package/{fractionInput-Cj5eqt03.js → fractionInput-BzMvBf2Q.js} +4 -4
  37. package/{graph-quA_4ohG.js → graph-Cr7TV-hg.js} +6 -6
  38. package/{hint-M610eqhc.js → hint-BHYHAGDH.js} +4 -4
  39. package/{hr-CheRQGHH.js → hr-DQn3iNvp.js} +2 -2
  40. package/{image-CdeLWKHy.js → image-CVt74PvO.js} +7 -7
  41. package/{index-DpNxzm6P.js → index-CPyYqXT4.js} +1 -1
  42. package/{index.es-GxUbhBmx.js → index.es-9x3zvAyt.js} +1 -1
  43. package/index.js +1 -1
  44. package/{label-CEki-rUY.js → label-D5hJmZ6o.js} +6 -6
  45. package/{labelWithLatex-D2KsEVCb.js → labelWithLatex-LUUujIt4.js} +1 -1
  46. package/{legend-CQ_pJuGm.js → legend-Cche6WXn.js} +4 -4
  47. package/{line-CUxWuhrj.js → line-CeXWfzDl.js} +6 -6
  48. package/{lineFamilyDragHandlers-NrMEC-Ix.js → lineFamilyDragHandlers-BQsabXiv.js} +1 -1
  49. package/{lineSegment-B7ve2va0.js → lineSegment-DZTcxd0c.js} +5 -5
  50. package/{list-CevPG_y3.js → list-DdMJSahQ.js} +4 -4
  51. package/{lq-DnCbmhjh.js → lq-BPsYyidf.js} +2 -2
  52. package/{lsq-DBe60cmH.js → lsq-BdvEY6yM.js} +2 -2
  53. package/{markupRenderer-DXrKT7Tr.js → markupRenderer-DciHWLHP.js} +1 -1
  54. package/{math-B02v3lBD.js → math-pK9ECfZF.js} +6 -6
  55. package/{mathInput-DY_bVyxo.js → mathInput-DAF3i631.js} +7 -7
  56. package/{matrixInput-BU8_-idX.js → matrixInput-DKNVYFQe.js} +4 -4
  57. package/{mdash-DUtJWDpF.js → mdash-DKvrzFSO.js} +2 -2
  58. package/{nbsp-B-63KoVK.js → nbsp-B8zsIgh2.js} +2 -2
  59. package/{ndash-xlJ90YNY.js → ndash-RwBs_nP0.js} +2 -2
  60. package/{number-Dfknbpb-.js → number-DRkRBlwS.js} +6 -6
  61. package/{orbitalDiagram-CdTO5NUL.js → orbitalDiagram-CN-BKVWQ.js} +2 -2
  62. package/{orbitalDiagramInput-DJ4lN7xz.js → orbitalDiagramInput-Duq8f_DT.js} +2 -2
  63. package/{p-Dh11v7lS.js → p-BWkLPdSv.js} +4 -4
  64. package/package.json +1 -1
  65. package/{paginatorControls-C2lLiOcT.js → paginatorControls-D1y8iBeN.js} +2 -2
  66. package/{pegboard-D60SSCQz.js → pegboard-CO8_6p45.js} +4 -4
  67. package/{point-Dpaq8r3s.js → point-DkPXzstS.js} +6 -6
  68. package/{polygon-C77INfzg.js → polygon-DFCWOA1S.js} +6 -6
  69. package/{polyline-CvgMZWoB.js → polyline-Bm1IGPN2.js} +5 -5
  70. package/{pre-bYCDKPW_.js → pre-CqKzu_Zl.js} +3 -3
  71. package/{prefigure-C43TwKJW.js → prefigure-DI6omTMk.js} +1 -1
  72. package/{pretzel-nejG_12I.js → pretzel-BV0q4VZI.js} +4 -4
  73. package/{q-B4EGkSip.js → q-DbAXrK36.js} +3 -3
  74. package/{ray-Bxni-HF3.js → ray-C12FBW4a.js} +5 -5
  75. package/{ref-DyLTKdNe.js → ref-DAU2qXpP.js} +2 -2
  76. package/{regionBetweenCurveXAxis-BcFP6Px_.js → regionBetweenCurveXAxis-BrbedWS8.js} +5 -5
  77. package/{regionBetweenCurves-Bszyst9V.js → regionBetweenCurves-7lGRzeR3.js} +5 -5
  78. package/{row-BYlcctw1.js → row-iBCKa3mZ.js} +2 -2
  79. package/{rq-BkqeJTpY.js → rq-DKJaEApe.js} +2 -2
  80. package/{rsq-D8IUzTxB.js → rsq-LM_KrQbd.js} +2 -2
  81. package/{section-Bt_5qccm.js → section-3xBNAMLv.js} +5 -5
  82. package/{sha256-BqwaiouD-Bk6n7gwU.js → sha256-BqwaiouD-1KY19JC3.js} +1 -1
  83. package/{sideBySide-1JTIOGlw.js → sideBySide-95Hl9yuQ.js} +2 -2
  84. package/{slider-C5HXZlQa.js → slider-DLiRFn12.js} +3 -3
  85. package/{solution-D41ikwym.js → solution-CZ53xmdx.js} +4 -4
  86. package/{spreadsheet-fQCzTrEb.js → spreadsheet-CV8gp1zF.js} +2 -2
  87. package/{sq-D0ZSJrvr.js → sq-B6sAMeie.js} +3 -3
  88. package/style.css +6 -8
  89. package/{subsetOfRealsInput-Dl1vzViH.js → subsetOfRealsInput-C5o510f9.js} +2 -2
  90. package/{summaryStatistics-D5tr6OpV.js → summaryStatistics-C_ZTuwA_.js} +2 -2
  91. package/{table-VqEtR31S.js → table-DsFXzPSP.js} +2 -2
  92. package/{tabular-CAmF9gM8.js → tabular-DKnblVK9.js} +2 -2
  93. package/{tag-CEJjbfUe.js → tag-B6lyczi4.js} +2 -2
  94. package/{text-Bgy3zM3F.js → text-Bao2qNO7.js} +6 -6
  95. package/{textInput-CzESp3Ai.js → textInput-KxtWcsyR.js} +6 -6
  96. package/{tooltip-provider-CpdAmej2.js → tooltip-provider-tHWH-fyk.js} +1 -1
  97. package/{useAnchoredGraphDragHandler-DUZ1K-aw.js → useAnchoredGraphDragHandler-BfjFDnaW.js} +1 -1
  98. package/useDoenetRenderer-D6k9TIzu.js +114 -0
  99. package/{useSubmitActionWithDelay-yMTNEQ6C.js → useSubmitActionWithDelay-BhO0QWWV.js} +2 -2
  100. package/{vector-cqJrnT5u.js → vector-D_EaVmLn.js} +6 -6
  101. package/{video-Eo3F0ldk.js → video-BkQi2LON.js} +4 -4
  102. package/useDoenetRenderer--I4QKeZ_.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-DixRfoFb.js";
1
+ import { u as useT, F as useContentT, t as useChromeLangDir, G as useRecordVisibilityChanges, z as DocContext, p as jsxRuntimeExports } from "./doenetml-VL5jqU1S.js";
2
2
  import React__default, { useRef, useContext } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer--I4QKeZ_.js";
4
- import { A as AnswerResponseButton } from "./AnswerResponseButton-BwJAmUC9.js";
5
- import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-yMTNEQ6C.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-D6k9TIzu.js";
4
+ import { A as AnswerResponseButton } from "./AnswerResponseButton-BziJ_BkX.js";
5
+ import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-BhO0QWWV.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-DixRfoFb.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-VL5jqU1S.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer--I4QKeZ_.js";
4
- import { r as renderMarkupBody } from "./markupRenderer-DXrKT7Tr.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-D6k9TIzu.js";
4
+ import { r as renderMarkupBody } from "./markupRenderer-DciHWLHP.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-DixRfoFb.js";
1
+ import { z as DocContext, p as jsxRuntimeExports } from "./doenetml-VL5jqU1S.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-Dfx0KeBS.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer--I4QKeZ_.js";
5
- import { BoardContext, LINE_LAYER_OFFSET } from "./graph-quA_4ohG.js";
6
- import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-NrMEC-Ix.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-Dt8_NnNt.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-D6k9TIzu.js";
5
+ import { BoardContext, LINE_LAYER_OFFSET } from "./graph-Cr7TV-hg.js";
6
+ import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-BQsabXiv.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-DixRfoFb.js";
1
+ import { z as DocContext, p as jsxRuntimeExports } from "./doenetml-VL5jqU1S.js";
2
2
  import React__default, { useContext, useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer--I4QKeZ_.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-D6k9TIzu.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-DixRfoFb.js";
1
+ import { z as DocContext, K as createFunctionFromDefinition, p as jsxRuntimeExports } from "./doenetml-VL5jqU1S.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-Dfx0KeBS.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer--I4QKeZ_.js";
5
- import { BoardContext, LINE_LAYER_OFFSET } from "./graph-quA_4ohG.js";
6
- import { g as getPatternFillAttributes } from "./fillPatterns-CFUIn519.js";
3
+ import { j as jxg, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-Dt8_NnNt.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-D6k9TIzu.js";
5
+ import { BoardContext, LINE_LAYER_OFFSET } from "./graph-Cr7TV-hg.js";
6
+ import { g as getPatternFillAttributes } from "./fillPatterns-BeXQ_TRE.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-DixRfoFb.js";
1
+ import { z as DocContext, K as createFunctionFromDefinition, p as jsxRuntimeExports } from "./doenetml-VL5jqU1S.js";
2
2
  import React__default, { useContext, useRef, useEffect } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer--I4QKeZ_.js";
4
- import { BoardContext, LINE_LAYER_OFFSET } from "./graph-quA_4ohG.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-D6k9TIzu.js";
4
+ import { BoardContext, LINE_LAYER_OFFSET } from "./graph-Cr7TV-hg.js";
5
5
  import { s as styleToDash } from "./styleToDash-DWb71gbd.js";
6
- import { g as getPatternFillAttributes } from "./fillPatterns-CFUIn519.js";
6
+ import { g as getPatternFillAttributes } from "./fillPatterns-BeXQ_TRE.js";
7
7
  import { b as resolveCanvasColor } from "./styleColors-Cknqcr0q.js";
8
- import { b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-Dfx0KeBS.js";
8
+ import { b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-Dt8_NnNt.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-DixRfoFb.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-VL5jqU1S.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer--I4QKeZ_.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-D6k9TIzu.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-DixRfoFb.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-VL5jqU1S.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer--I4QKeZ_.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-D6k9TIzu.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-DixRfoFb.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-VL5jqU1S.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer--I4QKeZ_.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-D6k9TIzu.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-DixRfoFb.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-VL5jqU1S.js";
2
2
  import React__default, { useContext, useRef, useEffect } from "react";
3
- import { F as FontAwesomeIcon } from "./index.es-GxUbhBmx.js";
3
+ import { F as FontAwesomeIcon } from "./index.es-9x3zvAyt.js";
4
4
  import { f as faCaretDown, a as faCaretRight } from "./index-BDlitCgu.js";
5
- import { u as useDoenetRenderer } from "./useDoenetRenderer--I4QKeZ_.js";
6
- import { a as addCommasForCompositeRanges } from "./composites-BCQbe1XR.js";
7
- import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-yMTNEQ6C.js";
5
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-D6k9TIzu.js";
6
+ import { a as addCommasForCompositeRanges } from "./composites-BrfKcOQO.js";
7
+ import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-BhO0QWWV.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-DixRfoFb.js";
1
+ import { o as getDefaultExportFromCjs } from "./doenetml-VL5jqU1S.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-DixRfoFb.js";
1
+ import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-VL5jqU1S.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer--I4QKeZ_.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-D6k9TIzu.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-DixRfoFb.js";
1
+ import { u as useT, p as jsxRuntimeExports, R as ActionButtonGroup, S as ActionButton, H as Context } from "./doenetml-VL5jqU1S.js";
2
2
  import React__default, { useState, useRef, useEffect } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer--I4QKeZ_.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-D6k9TIzu.js";
4
4
  import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
5
- import { r as renderLabelWithLatex } from "./labelWithLatex-D2KsEVCb.js";
5
+ import { r as renderLabelWithLatex } from "./labelWithLatex-LUUujIt4.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-DixRfoFb.js";
1
+ import { u as useT, G as useRecordVisibilityChanges, t as useChromeLangDir, p as jsxRuntimeExports } from "./doenetml-VL5jqU1S.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer--I4QKeZ_.js";
4
- import { F as FontAwesomeIcon } from "./index.es-GxUbhBmx.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-D6k9TIzu.js";
4
+ import { F as FontAwesomeIcon } from "./index.es-9x3zvAyt.js";
5
5
  import { c as faPuzzlePiece } from "./index-BDlitCgu.js";
6
- import { a as addCommasForCompositeRanges } from "./composites-BCQbe1XR.js";
6
+ import { a as addCommasForCompositeRanges } from "./composites-BrfKcOQO.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-DixRfoFb.js";
1
+ import { z as DocContext, G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-VL5jqU1S.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--I4QKeZ_.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-D6k9TIzu.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-DixRfoFb.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-VL5jqU1S.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer--I4QKeZ_.js";
4
- import { r as renderMarkupBody } from "./markupRenderer-DXrKT7Tr.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-D6k9TIzu.js";
4
+ import { r as renderMarkupBody } from "./markupRenderer-DciHWLHP.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 });
package/style.css CHANGED
@@ -2549,14 +2549,12 @@ Tailwind base is purposely not included because we want all styles to be prefixe
2549
2549
  }
2550
2550
 
2551
2551
  /*
2552
- * CodeMirror editor area. `@uiw/react-codemirror` injects
2553
- * `backgroundColor: '#fff'` via its default light theme extension. Our
2554
- * `colorTheme()` factory already sets `backgroundColor: "var(--canvas)"` on
2555
- * the same `&` selector, and because our extensions are appended after the
2556
- * @uiw defaults in the CodeMirror state they should win. The CSS rule below
2557
- * acts as a belt-and-suspenders override with higher specificity
2558
- * (attribute(0,1,0) + class(0,0,1) = 0,1,1 beats the generated single-class
2559
- * theme rules at 0,0,1) so the editor background is guaranteed dark.
2552
+ * CodeMirror editor area. `CodeMirror.tsx` turns off `@uiw/react-codemirror`'s
2553
+ * own theme (whose only rule painted the editor white) and its `colorTheme()`
2554
+ * factory paints the canvas itself. The rule below is belt and suspenders: its
2555
+ * three compound parts (0,3,0) outrank the `.<generated-theme-class>` a
2556
+ * CodeMirror theme emits for an `&` rule (0,1,0), so the editor background is
2557
+ * guaranteed dark whatever else ends up in the extension set.
2560
2558
  */
2561
2559
  [data-theme="dark"] .editor-panel .cm-editor {
2562
2560
  background-color: var(--canvas);
@@ -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-DixRfoFb.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-VL5jqU1S.js";
2
2
  import React__default, { useState, useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer--I4QKeZ_.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-D6k9TIzu.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-DixRfoFb.js";
1
+ import { u as useT, t as useChromeLangDir, G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-VL5jqU1S.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer--I4QKeZ_.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-D6k9TIzu.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-DixRfoFb.js";
1
+ import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-VL5jqU1S.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer--I4QKeZ_.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-D6k9TIzu.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-DixRfoFb.js";
1
+ import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-VL5jqU1S.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer--I4QKeZ_.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-D6k9TIzu.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-DixRfoFb.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-VL5jqU1S.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer--I4QKeZ_.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-D6k9TIzu.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-DixRfoFb.js";
1
+ import { z as DocContext, H as Context, p as jsxRuntimeExports, A as textRendererStyle } from "./doenetml-VL5jqU1S.js";
2
2
  import React__default, { useRef, useContext } from "react";
3
- import { j as jxg } from "./JSXGraphRenderer-Dfx0KeBS.js";
4
- import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-quA_4ohG.js";
5
- import { u as useDoenetRenderer } from "./useDoenetRenderer--I4QKeZ_.js";
3
+ import { j as jxg } from "./JSXGraphRenderer-Dt8_NnNt.js";
4
+ import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-Cr7TV-hg.js";
5
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-D6k9TIzu.js";
6
6
  import { g as getPositionFromAnchorByCoordinate } from "./graph-W6vrFcBu.js";
7
- import { ChoiceInputInlineContext } from "./choiceInput-XIizsFRo.js";
7
+ import { ChoiceInputInlineContext } from "./choiceInput-BHu0x_6v.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-DUZ1K-aw.js";
10
+ import { d as detachAnchoredGraphElement, a as attachAnchoredGraphDragHandlers } from "./useAnchoredGraphDragHandler-BfjFDnaW.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-DixRfoFb.js";
1
+ import { F as useContentT, H as Context, p as jsxRuntimeExports, T as MathJax } from "./doenetml-VL5jqU1S.js";
2
2
  import { useState, useRef, useContext, useEffect } from "react";
3
- import { j as jxg } from "./JSXGraphRenderer-Dfx0KeBS.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer--I4QKeZ_.js";
3
+ import { j as jxg } from "./JSXGraphRenderer-Dt8_NnNt.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-D6k9TIzu.js";
5
5
  import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
6
- import { BoardContext } from "./graph-quA_4ohG.js";
6
+ import { BoardContext } from "./graph-Cr7TV-hg.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-yMTNEQ6C.js";
9
- import { D as DescriptionPopover } from "./Description-CcpumkyC.js";
8
+ import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-BhO0QWWV.js";
9
+ import { D as DescriptionPopover } from "./Description-BYYr5WiJ.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-DixRfoFb.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-VL5jqU1S.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-Dfx0KeBS.js";
1
+ import { r as removeJXGEventHandlers, L as LINE_FAMILY_EVENTS, j as jxg } from "./JSXGraphRenderer-Dt8_NnNt.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-VL5jqU1S.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-9F8opKq5.js"), "./renderers/JSXGraphRenderer.tsx": () => import("./JSXGraphRenderer-Dt8_NnNt.js").then((n) => n.m), "./renderers/_error.tsx": () => import("./_error-CUX2i9rN.js"), "./renderers/alert.tsx": () => import("./alert-B33wIUuc.js"), "./renderers/angle.tsx": () => import("./angle-Os9EmluP.js"), "./renderers/answer.tsx": () => import("./answer-N9KP1X4M.js"), "./renderers/asList.tsx": () => import("./asList-BkpOwV9U.js"), "./renderers/blockQuote.tsx": () => import("./blockQuote-CTbqTpd_.js"), "./renderers/boolean.tsx": () => import("./boolean-CEkWlMho.js"), "./renderers/booleanInput.tsx": () => import("./booleanInput-DaRWjqPk.js"), "./renderers/br.tsx": () => import("./br-STlS49QL.js"), "./renderers/button.tsx": () => import("./button-WE9ffu-1.js"), "./renderers/c.tsx": () => import("./c-Va0PSnXF.js"), "./renderers/cell.tsx": () => import("./cell-zo_cGbCY.js"), "./renderers/choiceInput.tsx": () => import("./choiceInput-BHu0x_6v.js"), "./renderers/circle.tsx": () => import("./circle-Dc8XGM29.js"), "./renderers/cobwebPolyline.tsx": () => import("./cobwebPolyline-CCE5AXRt.js"), "./renderers/codeEditor.tsx": () => import("./codeEditor-Bo-NQP87.js"), "./renderers/containerBlock.tsx": () => import("./containerBlock-fQJc_IEz.js"), "./renderers/containerInline.tsx": () => import("./containerInline-BIG3jfL1.js"), "./renderers/curve.tsx": () => import("./curve-pEuClbPy.js"), "./renderers/ellipsis.tsx": () => import("./ellipsis-CovefjEq.js"), "./renderers/em.tsx": () => import("./em-kTkl8zk9.js"), "./renderers/embed.tsx": () => import("./embed-RTWw6dfS.js"), "./renderers/feedback.tsx": () => import("./feedback-DHr8u6Lv.js"), "./renderers/figure.tsx": () => import("./figure-BJja6CLX.js"), "./renderers/footnote.tsx": () => import("./footnote-DwN4GvML.js"), "./renderers/fractionInput.tsx": () => import("./fractionInput-BzMvBf2Q.js"), "./renderers/graph.tsx": () => import("./graph-Cr7TV-hg.js"), "./renderers/hint.tsx": () => import("./hint-BHYHAGDH.js"), "./renderers/hr.tsx": () => import("./hr-DQn3iNvp.js"), "./renderers/image.tsx": () => import("./image-CVt74PvO.js"), "./renderers/label.tsx": () => import("./label-D5hJmZ6o.js"), "./renderers/legend.tsx": () => import("./legend-Cche6WXn.js"), "./renderers/line.tsx": () => import("./line-CeXWfzDl.js"), "./renderers/lineSegment.tsx": () => import("./lineSegment-DZTcxd0c.js"), "./renderers/list.tsx": () => import("./list-DdMJSahQ.js"), "./renderers/lq.tsx": () => import("./lq-BPsYyidf.js"), "./renderers/lsq.tsx": () => import("./lsq-BdvEY6yM.js"), "./renderers/math.tsx": () => import("./math-pK9ECfZF.js"), "./renderers/mathInput.tsx": () => import("./mathInput-DAF3i631.js"), "./renderers/matrixInput.tsx": () => import("./matrixInput-DKNVYFQe.js"), "./renderers/mdash.tsx": () => import("./mdash-DKvrzFSO.js"), "./renderers/nbsp.tsx": () => import("./nbsp-B8zsIgh2.js"), "./renderers/ndash.tsx": () => import("./ndash-RwBs_nP0.js"), "./renderers/number.tsx": () => import("./number-DRkRBlwS.js"), "./renderers/orbitalDiagram.tsx": () => import("./orbitalDiagram-CN-BKVWQ.js"), "./renderers/orbitalDiagramInput.tsx": () => import("./orbitalDiagramInput-Duq8f_DT.js"), "./renderers/p.tsx": () => import("./p-BWkLPdSv.js"), "./renderers/paginatorControls.tsx": () => import("./paginatorControls-D1y8iBeN.js"), "./renderers/pegboard.tsx": () => import("./pegboard-CO8_6p45.js"), "./renderers/point.tsx": () => import("./point-DkPXzstS.js"), "./renderers/polygon.tsx": () => import("./polygon-DFCWOA1S.js"), "./renderers/polyline.tsx": () => import("./polyline-Bm1IGPN2.js"), "./renderers/pre.tsx": () => import("./pre-CqKzu_Zl.js"), "./renderers/prefigure.tsx": () => import("./prefigure-DI6omTMk.js"), "./renderers/pretzel.tsx": () => import("./pretzel-BV0q4VZI.js"), "./renderers/q.tsx": () => import("./q-DbAXrK36.js"), "./renderers/ray.tsx": () => import("./ray-C12FBW4a.js"), "./renderers/ref.tsx": () => import("./ref-DAU2qXpP.js"), "./renderers/regionBetweenCurveXAxis.tsx": () => import("./regionBetweenCurveXAxis-BrbedWS8.js"), "./renderers/regionBetweenCurves.tsx": () => import("./regionBetweenCurves-7lGRzeR3.js"), "./renderers/row.tsx": () => import("./row-iBCKa3mZ.js"), "./renderers/rq.tsx": () => import("./rq-DKJaEApe.js"), "./renderers/rsq.tsx": () => import("./rsq-LM_KrQbd.js"), "./renderers/section.tsx": () => import("./section-3xBNAMLv.js"), "./renderers/sideBySide.tsx": () => import("./sideBySide-95Hl9yuQ.js"), "./renderers/slider.tsx": () => import("./slider-DLiRFn12.js"), "./renderers/solution.tsx": () => import("./solution-CZ53xmdx.js"), "./renderers/spreadsheet.tsx": () => import("./spreadsheet-CV8gp1zF.js"), "./renderers/sq.tsx": () => import("./sq-B6sAMeie.js"), "./renderers/subsetOfRealsInput.tsx": () => import("./subsetOfRealsInput-C5o510f9.js"), "./renderers/summaryStatistics.tsx": () => import("./summaryStatistics-C_ZTuwA_.js"), "./renderers/table.tsx": () => import("./table-DsFXzPSP.js"), "./renderers/tabular.tsx": () => import("./tabular-DKnblVK9.js"), "./renderers/tag.tsx": () => import("./tag-B6lyczi4.js"), "./renderers/text.tsx": () => import("./text-Bao2qNO7.js"), "./renderers/textInput.tsx": () => import("./textInput-KxtWcsyR.js"), "./renderers/vector.tsx": () => import("./vector-D_EaVmLn.js"), "./renderers/video.tsx": () => import("./video-BkQi2LON.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-DixRfoFb.js";
2
- import { F as FontAwesomeIcon } from "./index.es-GxUbhBmx.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-VL5jqU1S.js";
2
+ import { F as FontAwesomeIcon } from "./index.es-9x3zvAyt.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-DixRfoFb.js";
1
+ import { z as DocContext, p as jsxRuntimeExports, A as textRendererStyle, B as DynamicMath } from "./doenetml-VL5jqU1S.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-Dfx0KeBS.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer--I4QKeZ_.js";
5
- import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-quA_4ohG.js";
6
- import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-NrMEC-Ix.js";
7
- import { ChoiceInputInlineContext } from "./choiceInput-XIizsFRo.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-Dt8_NnNt.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-D6k9TIzu.js";
5
+ import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-Cr7TV-hg.js";
6
+ import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-BQsabXiv.js";
7
+ import { ChoiceInputInlineContext } from "./choiceInput-BHu0x_6v.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-DixRfoFb.js";
1
+ import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-VL5jqU1S.js";
2
2
  import React__default, { useState, useEffect, useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer--I4QKeZ_.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-D6k9TIzu.js";
4
4
  import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
5
- import { D as DescriptionPopover, a as DescriptionAsDetails } from "./Description-CcpumkyC.js";
5
+ import { D as DescriptionPopover, a as DescriptionAsDetails } from "./Description-BYYr5WiJ.js";
6
6
  import { g as getNonInlineMediaLayoutStyles } from "./nonInlineMediaLayout-CkXHaqzo.js";
7
- import { N as NonInlineMediaWrapper } from "./NonInlineMediaWrapper-DREDn1zR.js";
7
+ import { N as NonInlineMediaWrapper } from "./NonInlineMediaWrapper-BC51pBUI.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;