@doenet/doenetml 0.7.22 → 0.7.23-dev.445

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 (103) hide show
  1. package/{AnswerResponseButton-z26tufJs.js → AnswerResponseButton-Sa5y_G1z.js} +2 -2
  2. package/{Description-CgfkOAsF.js → Description-CSS5gsfo.js} +1 -1
  3. package/{GraphFrame-BfihAgoG.js → GraphFrame-sj_nZNfI.js} +2 -2
  4. package/{JSXGraphRenderer-BGRQlTa2.js → JSXGraphRenderer-Dnc5iDPV.js} +1 -1
  5. package/{NonInlineMediaWrapper-Bfz3Wg2x.js → NonInlineMediaWrapper-BKw5sWSr.js} +1 -1
  6. package/{_error-Dc58Ivsy.js → _error-xD-Sg0LN.js} +2 -2
  7. package/{alert-CGjYkXsO.js → alert-DAXadVXB.js} +3 -3
  8. package/{angle-97wH4Ys9.js → angle-D0mApKJi.js} +6 -6
  9. package/{answer-DwJn-HYB.js → answer-lm7qsqVK.js} +5 -5
  10. package/{asList-DBFNMD6X.js → asList-aUHRQ-J2.js} +2 -2
  11. package/{blockQuote-DGQ4BKrQ.js → blockQuote-Dl_yWuPq.js} +3 -3
  12. package/{boolean-Cvr8d5xk.js → boolean-CfacyHq_.js} +2 -2
  13. package/{booleanInput-Z053Kvv-.js → booleanInput-BZViGjPp.js} +6 -6
  14. package/{br-DJnyVoyA.js → br-CjdIAekX.js} +2 -2
  15. package/{button-DFLl0_Km.js → button-BqZi6gpi.js} +4 -4
  16. package/{c-9AZgfFbD.js → c-Do6N2kRV.js} +3 -3
  17. package/{cell-CNkuz0Ul.js → cell-COP25aiA.js} +3 -3
  18. package/{choiceInput-B3Hnc0NP.js → choiceInput-yV5cFT_y.js} +4 -4
  19. package/{circle-ByH7ZKM8.js → circle-Dlk53UHF.js} +6 -6
  20. package/{cobwebPolyline-C2Mt2w5_.js → cobwebPolyline-D0aX9jbZ.js} +4 -4
  21. package/{codeEditor-BRIEjNsU.js → codeEditor-rWfQJxN1.js} +2 -2
  22. package/{composites-Dkldm2Vp.js → composites-OSI5h2pg.js} +1 -1
  23. package/{containerBlock-DUiOOf5u.js → containerBlock-BJI1rtVu.js} +4 -4
  24. package/{containerInline-DZQaDktJ.js → containerInline-Ci-1qfC3.js} +4 -4
  25. package/{curve-DYY-ePZb.js → curve-Dqzjs1rB.js} +4 -4
  26. package/{doenetml-D5HX-x7S.js → doenetml-DG6ritlq.js} +851 -84
  27. package/doenetml-external-worker.js +8 -6
  28. package/doenetml-inline-worker.js +8 -6
  29. package/{ellipsis-CvGUChTX.js → ellipsis-fPCHcWEF.js} +2 -2
  30. package/{em-WMlNwyJV.js → em--94e1kc8.js} +3 -3
  31. package/{embed-Ts8N9zsJ.js → embed-Mks0hikC.js} +2 -2
  32. package/{feedback-fyFZJNr-.js → feedback-BXMuDUb_.js} +4 -4
  33. package/{figure-CvH-umji.js → figure-CzJEIcbF.js} +3 -3
  34. package/{fillPatterns-BxyLP9oy.js → fillPatterns-BwWhz4ON.js} +1 -1
  35. package/{footnote-BKpCCSpF.js → footnote-C5Vomg6s.js} +3 -3
  36. package/{fractionInput-CegMDYmq.js → fractionInput-CzOtnpcS.js} +4 -4
  37. package/{graph-6vpwOcjZ.js → graph-CcJSrGrZ.js} +6 -6
  38. package/{hint-g6IEkpOj.js → hint-DDWi0Op0.js} +4 -4
  39. package/{hr-DR_PDOdp.js → hr-D8EWYtKb.js} +2 -2
  40. package/{image-DXbtZtpl.js → image-BlU75GvM.js} +7 -7
  41. package/{index-iT2H0VJs.js → index-AbZAWCBI.js} +1 -1
  42. package/index.d.ts +1 -0
  43. package/index.d.ts.map +1 -1
  44. package/{index.es-C5jQv44J.js → index.es-BCI7SGcV.js} +1 -1
  45. package/index.js +7 -5
  46. package/{label-A72n_FEH.js → label-QQCwMCBj.js} +6 -6
  47. package/{labelWithLatex-By0i4njZ.js → labelWithLatex-CAigBAL8.js} +1 -1
  48. package/{legend-CdJsGBdl.js → legend-Dc3X02WL.js} +4 -4
  49. package/{line-D9DRsSaF.js → line-DaccB4Qv.js} +6 -6
  50. package/{lineFamilyDragHandlers-Dl1BMPrP.js → lineFamilyDragHandlers-BgH-_1ox.js} +1 -1
  51. package/{lineSegment-DGKFUZRD.js → lineSegment-Dg-Aeh-B.js} +5 -5
  52. package/{list-CCWvt27q.js → list-BKbVIcjL.js} +4 -4
  53. package/{lq-D3JiP6au.js → lq-S05DHD3q.js} +2 -2
  54. package/{lsq-CzTXhDrA.js → lsq-CVqVyTEJ.js} +2 -2
  55. package/{markupRenderer-PgPCJVQ4.js → markupRenderer--dxcdorP.js} +1 -1
  56. package/{math-BwyJvx_l.js → math-BfbAyB3x.js} +6 -6
  57. package/{mathInput-TmmGKcf6.js → mathInput-DKaO1sxA.js} +7 -7
  58. package/{matrixInput-CyQPqk1-.js → matrixInput-DfVbyiX5.js} +4 -4
  59. package/{mdash-Ki9BeVTF.js → mdash-BB4iDnGa.js} +2 -2
  60. package/{nbsp-bX1kNdfi.js → nbsp-DtFaH4wt.js} +2 -2
  61. package/{ndash-CsuWYs5d.js → ndash-PbT0whCc.js} +2 -2
  62. package/{number-BRMOc-nJ.js → number-WkIN5YxP.js} +6 -6
  63. package/{orbitalDiagram-CYUPIJxh.js → orbitalDiagram-Dxp7-e0F.js} +2 -2
  64. package/{orbitalDiagramInput-HtC-z_hm.js → orbitalDiagramInput-BbH6T9Mn.js} +2 -2
  65. package/{p-OxuePfOc.js → p-rtrgBCFF.js} +4 -4
  66. package/package.json +1 -1
  67. package/{paginatorControls-D9gndDjL.js → paginatorControls-C2fKxlsq.js} +2 -2
  68. package/{pegboard-8j9BEK4B.js → pegboard-Dz-sRyjx.js} +4 -4
  69. package/{point-C2PjGG5K.js → point-CMoAcwE5.js} +6 -6
  70. package/{polygon-CX-Bh1kP.js → polygon-CG5SBHDs.js} +6 -6
  71. package/{polyline-CW4UpPVk.js → polyline-ButEStBz.js} +5 -5
  72. package/{pre-RACzW6qm.js → pre-B6YD3p62.js} +3 -3
  73. package/{prefigure-C7x7kbaF.js → prefigure-AcutCm54.js} +2 -2
  74. package/{pretzel-BZ1IR4LM.js → pretzel-BaGJbkRb.js} +4 -4
  75. package/{q-Ckln1Wct.js → q-DAxQD3R9.js} +3 -3
  76. package/{ray-B_exORWR.js → ray-hEV4tSOq.js} +5 -5
  77. package/{ref-4PCXthsO.js → ref-DN-7cyqI.js} +2 -2
  78. package/{regionBetweenCurveXAxis-xpcdsu7r.js → regionBetweenCurveXAxis-NNQCG4M5.js} +5 -5
  79. package/{regionBetweenCurves-D008cTQy.js → regionBetweenCurves-mGUMDojJ.js} +5 -5
  80. package/{row-D4F-dIpD.js → row-BUKnzR1q.js} +2 -2
  81. package/{rq-Bo3cGdDE.js → rq-C-z7yKCS.js} +2 -2
  82. package/{rsq-Duqega7O.js → rsq-GiB5Ksln.js} +2 -2
  83. package/{section-C7JhOcfS.js → section-THXxSIXj.js} +5 -5
  84. package/{sha256-Bzrm4-tO-CvAUGkOU.js → sha256-Bzrm4-tO-CHktaBh6.js} +1 -1
  85. package/{sideBySide-DX66G0uP.js → sideBySide-DNhnkP28.js} +2 -2
  86. package/{slider-D6Adyob-.js → slider-VmKSRov-.js} +3 -3
  87. package/{solution-O_b6wkco.js → solution--sxVtEFn.js} +4 -4
  88. package/{spreadsheet-KHSCRaVg.js → spreadsheet-Dr0ymyBh.js} +2 -2
  89. package/{sq-94l7R-cD.js → sq-AcTs3gR0.js} +3 -3
  90. package/{subsetOfRealsInput-BfqWk4lE.js → subsetOfRealsInput-tCdAHqhW.js} +2 -2
  91. package/{summaryStatistics-cnbLxjy1.js → summaryStatistics-D1cD7f_V.js} +2 -2
  92. package/{table-Ct9lxAgO.js → table-JdmaKACu.js} +2 -2
  93. package/{tabular-CcyMJzGI.js → tabular-9lfzVRNH.js} +2 -2
  94. package/{tag-CakW4-2Z.js → tag-CKUTRPQr.js} +2 -2
  95. package/{text-DOkN5oPb.js → text-Ba1OFqyV.js} +6 -6
  96. package/{textInput-MTKc-7d-.js → textInput-crredFnq.js} +6 -6
  97. package/{tooltip-provider-crfLKplj.js → tooltip-provider-wQWrbmca.js} +1 -1
  98. package/{useAnchoredGraphDragHandler-CerehN46.js → useAnchoredGraphDragHandler-C9ibMjoG.js} +1 -1
  99. package/useDoenetRenderer-rtZcMjTC.js +114 -0
  100. package/{useSubmitActionWithDelay-B-8RE6oy.js → useSubmitActionWithDelay-i3pdoqV8.js} +2 -2
  101. package/{vector-Jx7YLo4a.js → vector-DjPOfXhf.js} +6 -6
  102. package/{video-BjmxyUjk.js → video-CdYmVd8t.js} +4 -4
  103. package/useDoenetRenderer-CqXPf2ND.js +0 -114
@@ -1,9 +1,9 @@
1
- import { t as DocContext, q as jsxRuntimeExports } from "./doenetml-D5HX-x7S.js";
1
+ import { z as DocContext, p as jsxRuntimeExports } from "./doenetml-DG6ritlq.js";
2
2
  import React__default, { useContext, useRef } from "react";
3
- import { s as syncLayer, r as removeJXGEventHandlers, j as jxg, g as syncVisPropValues, e as syncLineStrokeStyle, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-BGRQlTa2.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CqXPf2ND.js";
5
- import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-6vpwOcjZ.js";
6
- import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-Dl1BMPrP.js";
3
+ import { s as syncLayer, r as removeJXGEventHandlers, j as jxg, g as syncVisPropValues, e as syncLineStrokeStyle, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-Dnc5iDPV.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-rtZcMjTC.js";
5
+ import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-CcJSrGrZ.js";
6
+ import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-BgH-_1ox.js";
7
7
  import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
8
8
  import { p as pointerEventToUserCoords } from "./dragThreshold-DuSSFrIU.js";
9
9
  import { a as resolveLineColor, d as resolveHandleColor } from "./styleColors-Cknqcr0q.js";
@@ -1,7 +1,7 @@
1
- import { y as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-D5HX-x7S.js";
1
+ import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-DG6ritlq.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CqXPf2ND.js";
4
- import { a as addCommasForCompositeRanges } from "./composites-Dkldm2Vp.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-rtZcMjTC.js";
4
+ import { a as addCommasForCompositeRanges } from "./composites-OSI5h2pg.js";
5
5
  import { a as getBlockMarginWithOptionalTopSuppression } from "./nonInlineMediaLayout-CkXHaqzo.js";
6
6
  const pre = React__default.memo(function Pre(props) {
7
7
  let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
@@ -1,6 +1,6 @@
1
- import { q as jsxRuntimeExports } from "./doenetml-D5HX-x7S.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-DG6ritlq.js";
2
2
  import React__default, { useState, useRef, useEffect } from "react";
3
- const __vite_import_meta_env__ = {};
3
+ const __vite_import_meta_env__ = { "VITE_PREFIGURE_MODULE_URL": "https://cdn.jsdelivr.net/npm/@doenet/prefigure@latest/prefigure.js" };
4
4
  const DEFAULT_PREFIGURE_BUILD_ENDPOINT = "https://prefigure.doenet.org/build";
5
5
  const DEFAULT_PREFIGURE_DIAGCESS_SCRIPT_URL = "https://cdn.jsdelivr.net/npm/diagcess@1.4.1/dist/diagcess.js";
6
6
  const DEFAULT_PREFIGURE_MODULE_URL = "https://cdn.jsdelivr.net/npm/@doenet/prefigure@0.6.7/prefigure.js";
@@ -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-D5HX-x7S.js";
1
+ import { u as useT, F as useContentT, t as useChromeLangDir, G as useRecordVisibilityChanges, z as DocContext, p as jsxRuntimeExports } from "./doenetml-DG6ritlq.js";
2
2
  import React__default, { useRef, useContext } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CqXPf2ND.js";
4
- import { A as AnswerResponseButton } from "./AnswerResponseButton-z26tufJs.js";
5
- import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-B-8RE6oy.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-rtZcMjTC.js";
4
+ import { A as AnswerResponseButton } from "./AnswerResponseButton-Sa5y_G1z.js";
5
+ import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-i3pdoqV8.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-D5HX-x7S.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-DG6ritlq.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CqXPf2ND.js";
4
- import { r as renderMarkupBody } from "./markupRenderer-PgPCJVQ4.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-rtZcMjTC.js";
4
+ import { r as renderMarkupBody } from "./markupRenderer--dxcdorP.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-D5HX-x7S.js";
1
+ import { z as DocContext, p as jsxRuntimeExports } from "./doenetml-DG6ritlq.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-BGRQlTa2.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CqXPf2ND.js";
5
- import { BoardContext, LINE_LAYER_OFFSET } from "./graph-6vpwOcjZ.js";
6
- import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-Dl1BMPrP.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-Dnc5iDPV.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-rtZcMjTC.js";
5
+ import { BoardContext, LINE_LAYER_OFFSET } from "./graph-CcJSrGrZ.js";
6
+ import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-BgH-_1ox.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-D5HX-x7S.js";
1
+ import { z as DocContext, p as jsxRuntimeExports } from "./doenetml-DG6ritlq.js";
2
2
  import React__default, { useContext, useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CqXPf2ND.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-rtZcMjTC.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-D5HX-x7S.js";
1
+ import { z as DocContext, K as createFunctionFromDefinition, p as jsxRuntimeExports } from "./doenetml-DG6ritlq.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-BGRQlTa2.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CqXPf2ND.js";
5
- import { BoardContext, LINE_LAYER_OFFSET } from "./graph-6vpwOcjZ.js";
6
- import { g as getPatternFillAttributes } from "./fillPatterns-BxyLP9oy.js";
3
+ import { j as jxg, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-Dnc5iDPV.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-rtZcMjTC.js";
5
+ import { BoardContext, LINE_LAYER_OFFSET } from "./graph-CcJSrGrZ.js";
6
+ import { g as getPatternFillAttributes } from "./fillPatterns-BwWhz4ON.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-D5HX-x7S.js";
1
+ import { z as DocContext, K as createFunctionFromDefinition, p as jsxRuntimeExports } from "./doenetml-DG6ritlq.js";
2
2
  import React__default, { useContext, useRef, useEffect } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CqXPf2ND.js";
4
- import { BoardContext, LINE_LAYER_OFFSET } from "./graph-6vpwOcjZ.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-rtZcMjTC.js";
4
+ import { BoardContext, LINE_LAYER_OFFSET } from "./graph-CcJSrGrZ.js";
5
5
  import { s as styleToDash } from "./styleToDash-DWb71gbd.js";
6
- import { g as getPatternFillAttributes } from "./fillPatterns-BxyLP9oy.js";
6
+ import { g as getPatternFillAttributes } from "./fillPatterns-BwWhz4ON.js";
7
7
  import { b as resolveCanvasColor } from "./styleColors-Cknqcr0q.js";
8
- import { b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-BGRQlTa2.js";
8
+ import { b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-Dnc5iDPV.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-D5HX-x7S.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-DG6ritlq.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CqXPf2ND.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-rtZcMjTC.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-D5HX-x7S.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-DG6ritlq.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CqXPf2ND.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-rtZcMjTC.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-D5HX-x7S.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-DG6ritlq.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CqXPf2ND.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-rtZcMjTC.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-D5HX-x7S.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-DG6ritlq.js";
2
2
  import React__default, { useContext, useRef, useEffect } from "react";
3
- import { F as FontAwesomeIcon } from "./index.es-C5jQv44J.js";
3
+ import { F as FontAwesomeIcon } from "./index.es-BCI7SGcV.js";
4
4
  import { f as faCaretDown, a as faCaretRight } from "./index-BDlitCgu.js";
5
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CqXPf2ND.js";
6
- import { a as addCommasForCompositeRanges } from "./composites-Dkldm2Vp.js";
7
- import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-B-8RE6oy.js";
5
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-rtZcMjTC.js";
6
+ import { a as addCommasForCompositeRanges } from "./composites-OSI5h2pg.js";
7
+ import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-i3pdoqV8.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-D5HX-x7S.js";
1
+ import { o as getDefaultExportFromCjs } from "./doenetml-DG6ritlq.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-D5HX-x7S.js";
1
+ import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-DG6ritlq.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CqXPf2ND.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-rtZcMjTC.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-D5HX-x7S.js";
1
+ import { u as useT, p as jsxRuntimeExports, R as ActionButtonGroup, S as ActionButton, H as Context } from "./doenetml-DG6ritlq.js";
2
2
  import React__default, { useState, useRef, useEffect } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CqXPf2ND.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-rtZcMjTC.js";
4
4
  import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
5
- import { r as renderLabelWithLatex } from "./labelWithLatex-By0i4njZ.js";
5
+ import { r as renderLabelWithLatex } from "./labelWithLatex-CAigBAL8.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-D5HX-x7S.js";
1
+ import { u as useT, G as useRecordVisibilityChanges, t as useChromeLangDir, p as jsxRuntimeExports } from "./doenetml-DG6ritlq.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CqXPf2ND.js";
4
- import { F as FontAwesomeIcon } from "./index.es-C5jQv44J.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-rtZcMjTC.js";
4
+ import { F as FontAwesomeIcon } from "./index.es-BCI7SGcV.js";
5
5
  import { c as faPuzzlePiece } from "./index-BDlitCgu.js";
6
- import { a as addCommasForCompositeRanges } from "./composites-Dkldm2Vp.js";
6
+ import { a as addCommasForCompositeRanges } from "./composites-OSI5h2pg.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-D5HX-x7S.js";
1
+ import { z as DocContext, G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-DG6ritlq.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-CqXPf2ND.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-rtZcMjTC.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-D5HX-x7S.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-DG6ritlq.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CqXPf2ND.js";
4
- import { r as renderMarkupBody } from "./markupRenderer-PgPCJVQ4.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-rtZcMjTC.js";
4
+ import { r as renderMarkupBody } from "./markupRenderer--dxcdorP.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-D5HX-x7S.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-DG6ritlq.js";
2
2
  import React__default, { useState, useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CqXPf2ND.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-rtZcMjTC.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-D5HX-x7S.js";
1
+ import { u as useT, t as useChromeLangDir, G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-DG6ritlq.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CqXPf2ND.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-rtZcMjTC.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-D5HX-x7S.js";
1
+ import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-DG6ritlq.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CqXPf2ND.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-rtZcMjTC.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-D5HX-x7S.js";
1
+ import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-DG6ritlq.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CqXPf2ND.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-rtZcMjTC.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-D5HX-x7S.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-DG6ritlq.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CqXPf2ND.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-rtZcMjTC.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-D5HX-x7S.js";
1
+ import { z as DocContext, H as Context, p as jsxRuntimeExports, A as textRendererStyle } from "./doenetml-DG6ritlq.js";
2
2
  import React__default, { useRef, useContext } from "react";
3
- import { j as jxg } from "./JSXGraphRenderer-BGRQlTa2.js";
4
- import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-6vpwOcjZ.js";
5
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CqXPf2ND.js";
3
+ import { j as jxg } from "./JSXGraphRenderer-Dnc5iDPV.js";
4
+ import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-CcJSrGrZ.js";
5
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-rtZcMjTC.js";
6
6
  import { g as getPositionFromAnchorByCoordinate } from "./graph-W6vrFcBu.js";
7
- import { ChoiceInputInlineContext } from "./choiceInput-B3Hnc0NP.js";
7
+ import { ChoiceInputInlineContext } from "./choiceInput-yV5cFT_y.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-CerehN46.js";
10
+ import { d as detachAnchoredGraphElement, a as attachAnchoredGraphDragHandlers } from "./useAnchoredGraphDragHandler-C9ibMjoG.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-D5HX-x7S.js";
1
+ import { F as useContentT, H as Context, p as jsxRuntimeExports, T as MathJax } from "./doenetml-DG6ritlq.js";
2
2
  import { useState, useRef, useContext, useEffect } from "react";
3
- import { j as jxg } from "./JSXGraphRenderer-BGRQlTa2.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CqXPf2ND.js";
3
+ import { j as jxg } from "./JSXGraphRenderer-Dnc5iDPV.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-rtZcMjTC.js";
5
5
  import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
6
- import { BoardContext } from "./graph-6vpwOcjZ.js";
6
+ import { BoardContext } from "./graph-CcJSrGrZ.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-B-8RE6oy.js";
9
- import { D as DescriptionPopover } from "./Description-CgfkOAsF.js";
8
+ import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-i3pdoqV8.js";
9
+ import { D as DescriptionPopover } from "./Description-CSS5gsfo.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-D5HX-x7S.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-DG6ritlq.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-BGRQlTa2.js";
1
+ import { r as removeJXGEventHandlers, L as LINE_FAMILY_EVENTS, j as jxg } from "./JSXGraphRenderer-Dnc5iDPV.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-DG6ritlq.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-sj_nZNfI.js"), "./renderers/JSXGraphRenderer.tsx": () => import("./JSXGraphRenderer-Dnc5iDPV.js").then((n) => n.m), "./renderers/_error.tsx": () => import("./_error-xD-Sg0LN.js"), "./renderers/alert.tsx": () => import("./alert-DAXadVXB.js"), "./renderers/angle.tsx": () => import("./angle-D0mApKJi.js"), "./renderers/answer.tsx": () => import("./answer-lm7qsqVK.js"), "./renderers/asList.tsx": () => import("./asList-aUHRQ-J2.js"), "./renderers/blockQuote.tsx": () => import("./blockQuote-Dl_yWuPq.js"), "./renderers/boolean.tsx": () => import("./boolean-CfacyHq_.js"), "./renderers/booleanInput.tsx": () => import("./booleanInput-BZViGjPp.js"), "./renderers/br.tsx": () => import("./br-CjdIAekX.js"), "./renderers/button.tsx": () => import("./button-BqZi6gpi.js"), "./renderers/c.tsx": () => import("./c-Do6N2kRV.js"), "./renderers/cell.tsx": () => import("./cell-COP25aiA.js"), "./renderers/choiceInput.tsx": () => import("./choiceInput-yV5cFT_y.js"), "./renderers/circle.tsx": () => import("./circle-Dlk53UHF.js"), "./renderers/cobwebPolyline.tsx": () => import("./cobwebPolyline-D0aX9jbZ.js"), "./renderers/codeEditor.tsx": () => import("./codeEditor-rWfQJxN1.js"), "./renderers/containerBlock.tsx": () => import("./containerBlock-BJI1rtVu.js"), "./renderers/containerInline.tsx": () => import("./containerInline-Ci-1qfC3.js"), "./renderers/curve.tsx": () => import("./curve-Dqzjs1rB.js"), "./renderers/ellipsis.tsx": () => import("./ellipsis-fPCHcWEF.js"), "./renderers/em.tsx": () => import("./em--94e1kc8.js"), "./renderers/embed.tsx": () => import("./embed-Mks0hikC.js"), "./renderers/feedback.tsx": () => import("./feedback-BXMuDUb_.js"), "./renderers/figure.tsx": () => import("./figure-CzJEIcbF.js"), "./renderers/footnote.tsx": () => import("./footnote-C5Vomg6s.js"), "./renderers/fractionInput.tsx": () => import("./fractionInput-CzOtnpcS.js"), "./renderers/graph.tsx": () => import("./graph-CcJSrGrZ.js"), "./renderers/hint.tsx": () => import("./hint-DDWi0Op0.js"), "./renderers/hr.tsx": () => import("./hr-D8EWYtKb.js"), "./renderers/image.tsx": () => import("./image-BlU75GvM.js"), "./renderers/label.tsx": () => import("./label-QQCwMCBj.js"), "./renderers/legend.tsx": () => import("./legend-Dc3X02WL.js"), "./renderers/line.tsx": () => import("./line-DaccB4Qv.js"), "./renderers/lineSegment.tsx": () => import("./lineSegment-Dg-Aeh-B.js"), "./renderers/list.tsx": () => import("./list-BKbVIcjL.js"), "./renderers/lq.tsx": () => import("./lq-S05DHD3q.js"), "./renderers/lsq.tsx": () => import("./lsq-CVqVyTEJ.js"), "./renderers/math.tsx": () => import("./math-BfbAyB3x.js"), "./renderers/mathInput.tsx": () => import("./mathInput-DKaO1sxA.js"), "./renderers/matrixInput.tsx": () => import("./matrixInput-DfVbyiX5.js"), "./renderers/mdash.tsx": () => import("./mdash-BB4iDnGa.js"), "./renderers/nbsp.tsx": () => import("./nbsp-DtFaH4wt.js"), "./renderers/ndash.tsx": () => import("./ndash-PbT0whCc.js"), "./renderers/number.tsx": () => import("./number-WkIN5YxP.js"), "./renderers/orbitalDiagram.tsx": () => import("./orbitalDiagram-Dxp7-e0F.js"), "./renderers/orbitalDiagramInput.tsx": () => import("./orbitalDiagramInput-BbH6T9Mn.js"), "./renderers/p.tsx": () => import("./p-rtrgBCFF.js"), "./renderers/paginatorControls.tsx": () => import("./paginatorControls-C2fKxlsq.js"), "./renderers/pegboard.tsx": () => import("./pegboard-Dz-sRyjx.js"), "./renderers/point.tsx": () => import("./point-CMoAcwE5.js"), "./renderers/polygon.tsx": () => import("./polygon-CG5SBHDs.js"), "./renderers/polyline.tsx": () => import("./polyline-ButEStBz.js"), "./renderers/pre.tsx": () => import("./pre-B6YD3p62.js"), "./renderers/prefigure.tsx": () => import("./prefigure-AcutCm54.js"), "./renderers/pretzel.tsx": () => import("./pretzel-BaGJbkRb.js"), "./renderers/q.tsx": () => import("./q-DAxQD3R9.js"), "./renderers/ray.tsx": () => import("./ray-hEV4tSOq.js"), "./renderers/ref.tsx": () => import("./ref-DN-7cyqI.js"), "./renderers/regionBetweenCurveXAxis.tsx": () => import("./regionBetweenCurveXAxis-NNQCG4M5.js"), "./renderers/regionBetweenCurves.tsx": () => import("./regionBetweenCurves-mGUMDojJ.js"), "./renderers/row.tsx": () => import("./row-BUKnzR1q.js"), "./renderers/rq.tsx": () => import("./rq-C-z7yKCS.js"), "./renderers/rsq.tsx": () => import("./rsq-GiB5Ksln.js"), "./renderers/section.tsx": () => import("./section-THXxSIXj.js"), "./renderers/sideBySide.tsx": () => import("./sideBySide-DNhnkP28.js"), "./renderers/slider.tsx": () => import("./slider-VmKSRov-.js"), "./renderers/solution.tsx": () => import("./solution--sxVtEFn.js"), "./renderers/spreadsheet.tsx": () => import("./spreadsheet-Dr0ymyBh.js"), "./renderers/sq.tsx": () => import("./sq-AcTs3gR0.js"), "./renderers/subsetOfRealsInput.tsx": () => import("./subsetOfRealsInput-tCdAHqhW.js"), "./renderers/summaryStatistics.tsx": () => import("./summaryStatistics-D1cD7f_V.js"), "./renderers/table.tsx": () => import("./table-JdmaKACu.js"), "./renderers/tabular.tsx": () => import("./tabular-9lfzVRNH.js"), "./renderers/tag.tsx": () => import("./tag-CKUTRPQr.js"), "./renderers/text.tsx": () => import("./text-Ba1OFqyV.js"), "./renderers/textInput.tsx": () => import("./textInput-crredFnq.js"), "./renderers/vector.tsx": () => import("./vector-DjPOfXhf.js"), "./renderers/video.tsx": () => import("./video-CdYmVd8t.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-D5HX-x7S.js";
2
- import { F as FontAwesomeIcon } from "./index.es-C5jQv44J.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-DG6ritlq.js";
2
+ import { F as FontAwesomeIcon } from "./index.es-BCI7SGcV.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-D5HX-x7S.js";
1
+ import { z as DocContext, p as jsxRuntimeExports, A as textRendererStyle, B as DynamicMath } from "./doenetml-DG6ritlq.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-BGRQlTa2.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CqXPf2ND.js";
5
- import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-6vpwOcjZ.js";
6
- import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-Dl1BMPrP.js";
7
- import { ChoiceInputInlineContext } from "./choiceInput-B3Hnc0NP.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-Dnc5iDPV.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-rtZcMjTC.js";
5
+ import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-CcJSrGrZ.js";
6
+ import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-BgH-_1ox.js";
7
+ import { ChoiceInputInlineContext } from "./choiceInput-yV5cFT_y.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-D5HX-x7S.js";
1
+ import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-DG6ritlq.js";
2
2
  import React__default, { useState, useEffect, useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CqXPf2ND.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-rtZcMjTC.js";
4
4
  import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
5
- import { D as DescriptionPopover, a as DescriptionAsDetails } from "./Description-CgfkOAsF.js";
5
+ import { D as DescriptionPopover, a as DescriptionAsDetails } from "./Description-CSS5gsfo.js";
6
6
  import { g as getNonInlineMediaLayoutStyles } from "./nonInlineMediaLayout-CkXHaqzo.js";
7
- import { N as NonInlineMediaWrapper } from "./NonInlineMediaWrapper-Bfz3Wg2x.js";
7
+ import { N as NonInlineMediaWrapper } from "./NonInlineMediaWrapper-BKw5sWSr.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;