@doenet/doenetml 0.7.27-dev.628 → 0.7.27-dev.629

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (111) hide show
  1. package/{AnswerResponseButton-CqX4mw79.js → AnswerResponseButton---3hLkN8.js} +2 -2
  2. package/{Description-vIa_C9kN.js → Description-E95l41XX.js} +1 -1
  3. package/{EditorViewer-B-7yoYFq.js → EditorViewer-B9b5A4KR.js} +5 -5
  4. package/{GraphFrame-CxgXH8Fe.js → GraphFrame-C4g4vZRT.js} +2 -2
  5. package/{JSXGraphRenderer-mpJqWGYi.js → JSXGraphRenderer-CMV016TQ.js} +1 -1
  6. package/{NonInlineMediaWrapper-xTxWozje.js → NonInlineMediaWrapper-B3gfFMuI.js} +1 -1
  7. package/{_error-BGiEtKvz.js → _error-Bni3Vmik.js} +2 -2
  8. package/{alert-B0IREj45.js → alert-BFNSpdig.js} +3 -3
  9. package/{angle-DGK5Nf2o.js → angle-BTEgJKwW.js} +6 -6
  10. package/{answer-DDStInxf.js → answer-KPAF5EZM.js} +5 -5
  11. package/{asList-D61zBEMr.js → asList-B6z9U8zW.js} +2 -2
  12. package/{blockQuote-BA_reGFx.js → blockQuote-BvMlg5-L.js} +3 -3
  13. package/{boolean-BqhyVxuE.js → boolean-C1QblbA6.js} +2 -2
  14. package/{booleanInput-kw1x63Zc.js → booleanInput-Dx-tdCAm.js} +6 -6
  15. package/{br-CfJDcMzz.js → br-CUpaXNWF.js} +2 -2
  16. package/{button-NoiBz4QT.js → button-k20-NZz6.js} +4 -4
  17. package/{c-DVEsqhQq.js → c-BKlBarDZ.js} +3 -3
  18. package/{cell-CTFal6T3.js → cell-C0_SHUJj.js} +3 -3
  19. package/{chart-V5dxag_X.js → chart-BZNBOaYl.js} +4 -4
  20. package/{choiceInput-CtO3RVoh.js → choiceInput-C2hSIogv.js} +5 -5
  21. package/{circle-Ca-H-H5b.js → circle-DQBiVWQF.js} +6 -6
  22. package/{cobwebPolyline-CM_U50Xw.js → cobwebPolyline-heBIhOVZ.js} +4 -4
  23. package/{codeEditor-BI45BUzV.js → codeEditor-Cv8Qr0mg.js} +2 -2
  24. package/{composites-BO1uEH43.js → composites-CYx8_ehu.js} +1 -1
  25. package/{containerBlock-BITlybOy.js → containerBlock-QQSAriqw.js} +4 -4
  26. package/{containerInline-D16kvmkx.js → containerInline-BR0fS-1V.js} +4 -4
  27. package/{curve-R0q7OTqF.js → curve-D6YZj7KJ.js} +4 -4
  28. package/{doenetml-COMnHXjV.js → doenetml-O3iody7S.js} +3 -3
  29. package/doenetml-external-worker.js +2 -2
  30. package/doenetml-inline-worker.js +3 -3
  31. package/doenetml-worker/index.esm.js +1 -1
  32. package/doenetml-worker/index.js +1 -1
  33. package/{ellipsis-efDmkEr4.js → ellipsis-DuDlbZAl.js} +2 -2
  34. package/{em-BNceB2lx.js → em-mYC5NwvY.js} +3 -3
  35. package/{embed-BGMQtD6d.js → embed-Cc7zxA7Y.js} +2 -2
  36. package/{feedback-CNbVS1fi.js → feedback-BBN5q917.js} +4 -4
  37. package/{figure-BcR3UXX9.js → figure-LMSOgB-z.js} +3 -3
  38. package/{fillPatterns-Db2FqGFf.js → fillPatterns-CQcU2pbM.js} +1 -1
  39. package/{footnote-QznpPH0z.js → footnote-CO0TKIlA.js} +3 -3
  40. package/{fractionInput-AxhuKPk4.js → fractionInput-BVAYlfS7.js} +4 -4
  41. package/{graph-AMD48rJH.js → graph-yJuxVkkp.js} +6 -6
  42. package/{hint-BDfztC9v.js → hint-kOr6bKNf.js} +4 -4
  43. package/{hovercard-store-CY7TXkAp.js → hovercard-store-D7mJeSqb.js} +1 -1
  44. package/{hr-i1AeGFqI.js → hr-DQY4SsYV.js} +2 -2
  45. package/{image-Ba7RWC7y.js → image-BteKKocp.js} +7 -7
  46. package/{index-B4BnISO1.js → index-CVcNagPW.js} +1 -1
  47. package/{index.es-BzUbiW5S.js → index.es-DzRgYd9D.js} +1 -1
  48. package/index.js +1 -1
  49. package/{label-B6rS9Zs9.js → label-C1_4FCS9.js} +6 -6
  50. package/{labelWithLatex-BbkX10t7.js → labelWithLatex-CRHnHXdJ.js} +1 -1
  51. package/{legend-ButuIw5d.js → legend-McshXoJe.js} +4 -4
  52. package/{line-C92jksEY.js → line-xH_VvOtw.js} +6 -6
  53. package/{lineFamilyDragHandlers-CQDYu_d6.js → lineFamilyDragHandlers-QWi2qyMK.js} +1 -1
  54. package/{lineSegment-DaOVoloa.js → lineSegment-DLFQkg2M.js} +5 -5
  55. package/{list-DrjH9Eb4.js → list-BQcNp4OG.js} +4 -4
  56. package/{lq-DXNaumai.js → lq-l2NJeSG9.js} +2 -2
  57. package/{lsq-BUtke6Zp.js → lsq-BDNVLSI6.js} +2 -2
  58. package/{markupRenderer-DopPJMRb.js → markupRenderer-BjNNSKod.js} +1 -1
  59. package/{math-BabMqIme.js → math-BVQvgfL2.js} +7 -7
  60. package/{mathInput-D8DRUp5X.js → mathInput-CAnRlKbi.js} +8 -8
  61. package/{mathInputSlots-pbKJD_Cq.js → mathInputSlots-DpsnmmWw.js} +1 -1
  62. package/{matrixInput-CZiqx_-n.js → matrixInput-BiNFHJZL.js} +4 -4
  63. package/{mdash-FYK2-5Jc.js → mdash-DMITBVL3.js} +2 -2
  64. package/{nbsp-BFGXIr2D.js → nbsp-ChYsmRHy.js} +2 -2
  65. package/{ndash-Ct71keHp.js → ndash-03kXrKzz.js} +2 -2
  66. package/{number-DOj4f4fi.js → number-B_ezj3Cx.js} +6 -6
  67. package/{orbitalDiagram-JeYvdGFB.js → orbitalDiagram-CzjTpHju.js} +2 -2
  68. package/{orbitalDiagramInput-DbVIrSk5.js → orbitalDiagramInput-CdGcXi0u.js} +2 -2
  69. package/{p-DL5dxeyo.js → p-GVEgqDR8.js} +4 -4
  70. package/package.json +1 -1
  71. package/{paginatorControls-ReLrKMcQ.js → paginatorControls-DbiUOk27.js} +2 -2
  72. package/{pegboard-CLsGZusB.js → pegboard-B_mAsp8Z.js} +3 -3
  73. package/{point-BtfwCRxp.js → point-DfFH05n7.js} +6 -6
  74. package/{polygon-lcO98Ygw.js → polygon-B6KMQAPv.js} +6 -6
  75. package/{polyline-DEbP5L2F.js → polyline-DOOX6PJT.js} +5 -5
  76. package/{pre-BPTU0ugg.js → pre-BG3lIeQt.js} +3 -3
  77. package/{prefigure-BPbjGIW0.js → prefigure-N99hexyo.js} +1 -1
  78. package/{pretzel-C2yugU9P.js → pretzel-BKCsqvVB.js} +4 -4
  79. package/{q-lVFlY78g.js → q-cM4SgXAn.js} +3 -3
  80. package/{ray-Dqoo2u9w.js → ray-C_1ZI_xJ.js} +5 -5
  81. package/{ref-Dr3Gu_mc.js → ref-CO_eRQUK.js} +2 -2
  82. package/{regionBetweenCurveXAxis-CPumMAe8.js → regionBetweenCurveXAxis-BIoISRH5.js} +5 -5
  83. package/{regionBetweenCurves-GP63kT5u.js → regionBetweenCurves-akAgSna7.js} +5 -5
  84. package/{row-DhMZmeok.js → row-Bh1IHXa3.js} +2 -2
  85. package/{rq-BUU4yaWw.js → rq-Dcik03rP.js} +2 -2
  86. package/{rsq-C5SY5EVQ.js → rsq-D7Qd_UBj.js} +2 -2
  87. package/{section-Cu_oOZwc.js → section-DSeHOKIV.js} +5 -5
  88. package/{sha256-8sXzDnE0-BE9ifN2b.js → sha256-8sXzDnE0-uoMWbvBh.js} +1 -1
  89. package/{sideBySide-BSScbi5l.js → sideBySide-BAXVtlQT.js} +2 -2
  90. package/{slider-DlHfl8te.js → slider-GFpM-NOg.js} +3 -3
  91. package/{slopeField-HlX0INbe.js → slopeField-C_fo2raJ.js} +2 -2
  92. package/{solution-DgSRJ_pe.js → solution-DRzV1mZJ.js} +4 -4
  93. package/{spreadsheet-pshLUCoo.js → spreadsheet-svPEWwBe.js} +2 -2
  94. package/{sq-BUhjiZQZ.js → sq-CQ8Q_U3A.js} +3 -3
  95. package/style.css +4 -0
  96. package/{subsetOfRealsInput-1Zj4_e8s.js → subsetOfRealsInput-2R-qAkKG.js} +2 -2
  97. package/{summaryStatistics-D4lL35xc.js → summaryStatistics-DAzeTBg5.js} +2 -2
  98. package/{table-C9IAFLvz.js → table-hjwJ57so.js} +2 -2
  99. package/{tabular-B9fQkGFf.js → tabular-D5LEJCRy.js} +2 -2
  100. package/{tag-DZYLalzi.js → tag-koip34Rl.js} +2 -2
  101. package/{text-Cz0RKfoA.js → text-XTJM0CRg.js} +6 -6
  102. package/{textInput-BxPpciE-.js → textInput-rGkEKA4g.js} +7 -7
  103. package/{tooltip-provider-C-hdr_-u.js → tooltip-provider--DRuJxUg.js} +2 -2
  104. package/{useAnchoredGraphDragHandler-PS-n8jT4.js → useAnchoredGraphDragHandler-DUiKd3sf.js} +1 -1
  105. package/useDoenetRenderer-DJ1tkfUN.js +114 -0
  106. package/{useFieldCurve-DCouUGIy.js → useFieldCurve-B53l8z_s.js} +2 -2
  107. package/{useSubmitActionWithDelay-T8KU65cD.js → useSubmitActionWithDelay-CHq6a1-Q.js} +2 -2
  108. package/{vector-CDlFIBvA.js → vector-DiTw_0j_.js} +6 -6
  109. package/{vectorField-Cp_l9aRn.js → vectorField-BQSr0oON.js} +2 -2
  110. package/{video-CxYWnslK.js → video-C0riDgbc.js} +4 -4
  111. package/useDoenetRenderer-D0V8XRs3.js +0 -114
@@ -1,9 +1,9 @@
1
- import { E as DocContext, q as jsxRuntimeExports } from "./doenetml-COMnHXjV.js";
1
+ import { E as DocContext, q as jsxRuntimeExports } from "./doenetml-O3iody7S.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-mpJqWGYi.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-D0V8XRs3.js";
5
- import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-AMD48rJH.js";
6
- import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-CQDYu_d6.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-CMV016TQ.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-DJ1tkfUN.js";
5
+ import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-yJuxVkkp.js";
6
+ import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-QWi2qyMK.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-BrCvjxze.js";
@@ -1,7 +1,7 @@
1
- import { J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-COMnHXjV.js";
1
+ import { J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-O3iody7S.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-D0V8XRs3.js";
4
- import { a as addCommasForCompositeRanges } from "./composites-BO1uEH43.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-DJ1tkfUN.js";
4
+ import { a as addCommasForCompositeRanges } from "./composites-CYx8_ehu.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,4 +1,4 @@
1
- import { q as jsxRuntimeExports } from "./doenetml-COMnHXjV.js";
1
+ import { q as jsxRuntimeExports } from "./doenetml-O3iody7S.js";
2
2
  import React__default, { useState, useRef, useEffect } from "react";
3
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";
@@ -1,8 +1,8 @@
1
- import { u as useT, I as useContentT, v as useChromeLangDir, J as useRecordVisibilityChanges, E as DocContext, q as jsxRuntimeExports } from "./doenetml-COMnHXjV.js";
1
+ import { u as useT, I as useContentT, v as useChromeLangDir, J as useRecordVisibilityChanges, E as DocContext, q as jsxRuntimeExports } from "./doenetml-O3iody7S.js";
2
2
  import React__default, { useRef, useContext } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-D0V8XRs3.js";
4
- import { A as AnswerResponseButton } from "./AnswerResponseButton-CqX4mw79.js";
5
- import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-T8KU65cD.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-DJ1tkfUN.js";
4
+ import { A as AnswerResponseButton } from "./AnswerResponseButton---3hLkN8.js";
5
+ import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-CHq6a1-Q.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-COMnHXjV.js";
1
+ import { q as jsxRuntimeExports } from "./doenetml-O3iody7S.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-D0V8XRs3.js";
4
- import { r as renderMarkupBody } from "./markupRenderer-DopPJMRb.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-DJ1tkfUN.js";
4
+ import { r as renderMarkupBody } from "./markupRenderer-BjNNSKod.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 { E as DocContext, q as jsxRuntimeExports } from "./doenetml-COMnHXjV.js";
1
+ import { E as DocContext, q as jsxRuntimeExports } from "./doenetml-O3iody7S.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-mpJqWGYi.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-D0V8XRs3.js";
5
- import { BoardContext, LINE_LAYER_OFFSET } from "./graph-AMD48rJH.js";
6
- import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-CQDYu_d6.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-CMV016TQ.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-DJ1tkfUN.js";
5
+ import { BoardContext, LINE_LAYER_OFFSET } from "./graph-yJuxVkkp.js";
6
+ import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-QWi2qyMK.js";
7
7
  import { a as buildLineLikeAttributes } from "./buildGraphicalAttributes-B_soifR-.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 { E as DocContext, q as jsxRuntimeExports } from "./doenetml-COMnHXjV.js";
1
+ import { E as DocContext, q as jsxRuntimeExports } from "./doenetml-O3iody7S.js";
2
2
  import React__default, { useContext, useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-D0V8XRs3.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-DJ1tkfUN.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 { E as DocContext, N as createFunctionFromDefinition, q as jsxRuntimeExports } from "./doenetml-COMnHXjV.js";
1
+ import { E as DocContext, N as createFunctionFromDefinition, q as jsxRuntimeExports } from "./doenetml-O3iody7S.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-mpJqWGYi.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-D0V8XRs3.js";
5
- import { BoardContext, LINE_LAYER_OFFSET } from "./graph-AMD48rJH.js";
6
- import { g as getPatternFillAttributes } from "./fillPatterns-Db2FqGFf.js";
3
+ import { j as jxg, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-CMV016TQ.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-DJ1tkfUN.js";
5
+ import { BoardContext, LINE_LAYER_OFFSET } from "./graph-yJuxVkkp.js";
6
+ import { g as getPatternFillAttributes } from "./fillPatterns-CQcU2pbM.js";
7
7
  import { b as resolveCanvasColor } from "./styleColors-BrCvjxze.js";
8
8
  const regionBetweenCurveXAxis = React__default.memo(function RegionBetweenCurveXAxis(props) {
9
9
  let { id, SVs } = useDoenetRenderer(props);
@@ -1,11 +1,11 @@
1
- import { E as DocContext, N as createFunctionFromDefinition, q as jsxRuntimeExports } from "./doenetml-COMnHXjV.js";
1
+ import { E as DocContext, N as createFunctionFromDefinition, q as jsxRuntimeExports } from "./doenetml-O3iody7S.js";
2
2
  import React__default, { useContext, useRef, useEffect } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-D0V8XRs3.js";
4
- import { BoardContext, LINE_LAYER_OFFSET } from "./graph-AMD48rJH.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-DJ1tkfUN.js";
4
+ import { BoardContext, LINE_LAYER_OFFSET } from "./graph-yJuxVkkp.js";
5
5
  import { s as styleToDash } from "./styleToDash-DWb71gbd.js";
6
- import { g as getPatternFillAttributes } from "./fillPatterns-Db2FqGFf.js";
6
+ import { g as getPatternFillAttributes } from "./fillPatterns-CQcU2pbM.js";
7
7
  import { b as resolveCanvasColor } from "./styleColors-BrCvjxze.js";
8
- import { b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-mpJqWGYi.js";
8
+ import { b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-CMV016TQ.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-COMnHXjV.js";
1
+ import { q as jsxRuntimeExports } from "./doenetml-O3iody7S.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-D0V8XRs3.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-DJ1tkfUN.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-COMnHXjV.js";
1
+ import { q as jsxRuntimeExports } from "./doenetml-O3iody7S.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-D0V8XRs3.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-DJ1tkfUN.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-COMnHXjV.js";
1
+ import { q as jsxRuntimeExports } from "./doenetml-O3iody7S.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-D0V8XRs3.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-DJ1tkfUN.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, I as useContentT, R as directionOf, S as useDocumentDirection, T as chromeLangDir, t as useUiLocale, E as DocContext, L as cesc, J as useRecordVisibilityChanges, q as jsxRuntimeExports, U as DocumentDirectionProvider } from "./doenetml-COMnHXjV.js";
1
+ import { u as useT, I as useContentT, R as directionOf, S as useDocumentDirection, T as chromeLangDir, t as useUiLocale, E as DocContext, L as cesc, J as useRecordVisibilityChanges, q as jsxRuntimeExports, U as DocumentDirectionProvider } from "./doenetml-O3iody7S.js";
2
2
  import React__default, { useContext, useRef, useEffect } from "react";
3
- import { F as FontAwesomeIcon } from "./index.es-BzUbiW5S.js";
3
+ import { F as FontAwesomeIcon } from "./index.es-DzRgYd9D.js";
4
4
  import { f as faCaretDown, a as faCaretRight } from "./index-BDlitCgu.js";
5
- import { u as useDoenetRenderer } from "./useDoenetRenderer-D0V8XRs3.js";
6
- import { a as addCommasForCompositeRanges } from "./composites-BO1uEH43.js";
7
- import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-T8KU65cD.js";
5
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-DJ1tkfUN.js";
6
+ import { a as addCommasForCompositeRanges } from "./composites-CYx8_ehu.js";
7
+ import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-CHq6a1-Q.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 { p as getDefaultExportFromCjs } from "./doenetml-COMnHXjV.js";
1
+ import { p as getDefaultExportFromCjs } from "./doenetml-O3iody7S.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 { J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-COMnHXjV.js";
1
+ import { J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-O3iody7S.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-D0V8XRs3.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-DJ1tkfUN.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,9 +1,9 @@
1
- import { u as useT, q as jsxRuntimeExports, V as ActionButtonGroup, W as ActionButton } from "./doenetml-COMnHXjV.js";
1
+ import { u as useT, q as jsxRuntimeExports, V as ActionButtonGroup, W as ActionButton } from "./doenetml-O3iody7S.js";
2
2
  import React__default, { useState, useRef, useEffect } from "react";
3
3
  import me from "math-expressions";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-D0V8XRs3.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-DJ1tkfUN.js";
5
5
  import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
6
- import { r as renderLabelWithLatex } from "./labelWithLatex-BbkX10t7.js";
6
+ import { r as renderLabelWithLatex } from "./labelWithLatex-CRHnHXdJ.js";
7
7
  import { l as ltrIslandProps } from "./direction-BwrU7jHk.js";
8
8
  let round_to_decimals = (x, n) => {
9
9
  try {
@@ -1,6 +1,6 @@
1
1
  import React__default from "react";
2
- import { u as useDoenetRenderer } from "./useDoenetRenderer-D0V8XRs3.js";
3
- import { u as useFieldFunction, a as useFieldCurve, b as buildSlopeFieldData } from "./useFieldCurve-DCouUGIy.js";
2
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-DJ1tkfUN.js";
3
+ import { u as useFieldFunction, a as useFieldCurve, b as buildSlopeFieldData } from "./useFieldCurve-B53l8z_s.js";
4
4
  const slopeField = React__default.memo(function SlopeField(props) {
5
5
  let { SVs } = useDoenetRenderer(props);
6
6
  SlopeField.ignoreActionsWithoutCore = () => true;
@@ -1,9 +1,9 @@
1
- import { u as useT, J as useRecordVisibilityChanges, v as useChromeLangDir, q as jsxRuntimeExports } from "./doenetml-COMnHXjV.js";
1
+ import { u as useT, J as useRecordVisibilityChanges, v as useChromeLangDir, q as jsxRuntimeExports } from "./doenetml-O3iody7S.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-D0V8XRs3.js";
4
- import { F as FontAwesomeIcon } from "./index.es-BzUbiW5S.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-DJ1tkfUN.js";
4
+ import { F as FontAwesomeIcon } from "./index.es-DzRgYd9D.js";
5
5
  import { c as faPuzzlePiece } from "./index-BDlitCgu.js";
6
- import { a as addCommasForCompositeRanges } from "./composites-BO1uEH43.js";
6
+ import { a as addCommasForCompositeRanges } from "./composites-CYx8_ehu.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 { E as DocContext, J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-COMnHXjV.js";
1
+ import { E as DocContext, J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-O3iody7S.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-D0V8XRs3.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-DJ1tkfUN.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-COMnHXjV.js";
1
+ import { q as jsxRuntimeExports } from "./doenetml-O3iody7S.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-D0V8XRs3.js";
4
- import { r as renderMarkupBody } from "./markupRenderer-DopPJMRb.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-DJ1tkfUN.js";
4
+ import { r as renderMarkupBody } from "./markupRenderer-BjNNSKod.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
@@ -2920,7 +2920,11 @@ Tailwind base is purposely not included because we want all styles to be prefixe
2920
2920
  box-sizing: border-box;
2921
2921
  }
2922
2922
  .mq-math-mode .mq-empty {
2923
+ /* Tint empty slots with the text color so they show in both themes. The
2924
+ tint is kept light so a slot next to a fraction bar still reads as
2925
+ separate from it. Browsers without color-mix() use the translucent gray. */
2923
2926
  background: rgba(0, 0, 0, 0.2);
2927
+ background: color-mix(in srgb, currentColor 25%, transparent);
2924
2928
  }
2925
2929
  .mq-math-mode .mq-empty.mq-root-block {
2926
2930
  background: transparent;
@@ -1,6 +1,6 @@
1
- import { u as useT, J as useRecordVisibilityChanges, q as jsxRuntimeExports, a0 as ToggleButtonGroup, Z as ToggleButton, V as ActionButtonGroup, W as ActionButton } from "./doenetml-COMnHXjV.js";
1
+ import { u as useT, J as useRecordVisibilityChanges, q as jsxRuntimeExports, a0 as ToggleButtonGroup, Z as ToggleButton, V as ActionButtonGroup, W as ActionButton } from "./doenetml-O3iody7S.js";
2
2
  import React__default, { useState, useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-D0V8XRs3.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-DJ1tkfUN.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, v as useChromeLangDir, J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-COMnHXjV.js";
1
+ import { u as useT, v as useChromeLangDir, J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-O3iody7S.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-D0V8XRs3.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-DJ1tkfUN.js";
4
4
  const summaryStatistics = React__default.memo(function SummaryStatistics(props) {
5
5
  let { id, SVs, actions, callAction } = useDoenetRenderer(props);
6
6
  const t = useT();
@@ -1,6 +1,6 @@
1
- import { J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-COMnHXjV.js";
1
+ import { J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-O3iody7S.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-D0V8XRs3.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-DJ1tkfUN.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 { J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-COMnHXjV.js";
1
+ import { J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-O3iody7S.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-D0V8XRs3.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-DJ1tkfUN.js";
4
4
  import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
5
5
  import { a as getBlockMarginWithOptionalTopSuppression } from "./nonInlineMediaLayout-CkXHaqzo.js";
6
6
  function borderWeightToCSSWidth(weight) {
@@ -1,6 +1,6 @@
1
- import { q as jsxRuntimeExports } from "./doenetml-COMnHXjV.js";
1
+ import { q as jsxRuntimeExports } from "./doenetml-O3iody7S.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-D0V8XRs3.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-DJ1tkfUN.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,14 +1,14 @@
1
- import { E as DocContext, K as toNumberOrNaN, q as jsxRuntimeExports, F as textRendererStyle } from "./doenetml-COMnHXjV.js";
1
+ import { E as DocContext, K as toNumberOrNaN, q as jsxRuntimeExports, F as textRendererStyle } from "./doenetml-O3iody7S.js";
2
2
  import React__default, { useRef, useContext } from "react";
3
- import { j as jxg } from "./JSXGraphRenderer-mpJqWGYi.js";
4
- import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-AMD48rJH.js";
5
- import { u as useDoenetRenderer } from "./useDoenetRenderer-D0V8XRs3.js";
3
+ import { j as jxg } from "./JSXGraphRenderer-CMV016TQ.js";
4
+ import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-yJuxVkkp.js";
5
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-DJ1tkfUN.js";
6
6
  import me from "math-expressions";
7
7
  import { g as getPositionFromAnchorByCoordinate } from "./graph-W6vrFcBu.js";
8
- import { ChoiceInputInlineContext } from "./choiceInput-CtO3RVoh.js";
8
+ import { ChoiceInputInlineContext } from "./choiceInput-C2hSIogv.js";
9
9
  import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
10
10
  import { u as useDraggableRefs } from "./useDraggableRefs-QaTfkVuD.js";
11
- import { d as detachAnchoredGraphElement, a as attachAnchoredGraphDragHandlers } from "./useAnchoredGraphDragHandler-PS-n8jT4.js";
11
+ import { d as detachAnchoredGraphElement, a as attachAnchoredGraphDragHandlers } from "./useAnchoredGraphDragHandler-DUiKd3sf.js";
12
12
  import { u as useJSXGraphCleanup } from "./useJSXGraphCleanup-BNk4sn6x.js";
13
13
  import { e as resolveTextColor, f as resolveBackgroundColor } from "./styleColors-BrCvjxze.js";
14
14
  const text = React__default.memo(function Text(props) {
@@ -1,15 +1,15 @@
1
- import { I as useContentT, K as toNumberOrNaN, q as jsxRuntimeExports, Y as MathJax } from "./doenetml-COMnHXjV.js";
1
+ import { I as useContentT, K as toNumberOrNaN, q as jsxRuntimeExports, Y as MathJax } from "./doenetml-O3iody7S.js";
2
2
  import { useState, useRef, useContext, useEffect } from "react";
3
- import { j as jxg } from "./JSXGraphRenderer-mpJqWGYi.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-D0V8XRs3.js";
3
+ import { j as jxg } from "./JSXGraphRenderer-CMV016TQ.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-DJ1tkfUN.js";
5
5
  import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
6
- import { BoardContext } from "./graph-AMD48rJH.js";
6
+ import { BoardContext } from "./graph-yJuxVkkp.js";
7
7
  import me from "math-expressions";
8
8
  import { g as getPositionFromAnchorByCoordinate, P as POINTER_DRAG_THRESHOLD } from "./graph-W6vrFcBu.js";
9
- import { c as calculateValidationState, u as useSubmitActionWithDelay, w as wantsFullCheckWorkButton, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-T8KU65cD.js";
10
- import { D as DescriptionPopover } from "./Description-vIa_C9kN.js";
9
+ import { c as calculateValidationState, u as useSubmitActionWithDelay, w as wantsFullCheckWorkButton, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-CHq6a1-Q.js";
10
+ import { D as DescriptionPopover } from "./Description-E95l41XX.js";
11
11
  import { a as addValidationStateToShortDescription } from "./validationState-DI_lxk1a.js";
12
- import { b as useInMathSlot, c as useMathSlotEditing } from "./mathInputSlots-pbKJD_Cq.js";
12
+ import { b as useInMathSlot, c as useMathSlotEditing } from "./mathInputSlots-DpsnmmWw.js";
13
13
  import { u as useMathJaxOutOfTabOrder } from "./useMathJaxOutOfTabOrder-C0wsYqBF.js";
14
14
  const EXPANDED_INPUT_MARGIN_X = 4;
15
15
  const BOARD_INPUT_FALLBACK_WIDTH = "100px";
@@ -1,5 +1,5 @@
1
- import { aj as createStoreContext, ak as createDialogComponent, a2 as forwardRef, a3 as createElement, a4 as createHook, a6 as invariant, al as useWrapElement, q as jsxRuntimeExports, a7 as useStoreState, am as isFalsyBooleanCallback, an as contains, ao as sync, ap as chain, aq as useEvent, ar as createStore, as as defaultValue, at as useStore, au as useStoreProps } from "./doenetml-COMnHXjV.js";
2
- import { H as HovercardScopedContextProvider, a as HovercardContextProvider, u as useHovercard, b as useHovercardAnchor, c as createHovercardStore, d as useHovercardStoreProps } from "./hovercard-store-CY7TXkAp.js";
1
+ import { aj as createStoreContext, ak as createDialogComponent, a2 as forwardRef, a3 as createElement, a4 as createHook, a6 as invariant, al as useWrapElement, q as jsxRuntimeExports, a7 as useStoreState, am as isFalsyBooleanCallback, an as contains, ao as sync, ap as chain, aq as useEvent, ar as createStore, as as defaultValue, at as useStore, au as useStoreProps } from "./doenetml-O3iody7S.js";
2
+ import { H as HovercardScopedContextProvider, a as HovercardContextProvider, u as useHovercard, b as useHovercardAnchor, c as createHovercardStore, d as useHovercardStoreProps } from "./hovercard-store-D7mJeSqb.js";
3
3
  import { useRef, useEffect } from "react";
4
4
  const ctx = createStoreContext([HovercardContextProvider], [HovercardScopedContextProvider]);
5
5
  const useTooltipProviderContext = ctx.useProviderContext;
@@ -1,4 +1,4 @@
1
- import { r as removeJXGEventHandlers, L as LINE_FAMILY_EVENTS, j as jxg } from "./JSXGraphRenderer-mpJqWGYi.js";
1
+ import { r as removeJXGEventHandlers, L as LINE_FAMILY_EVENTS, j as jxg } from "./JSXGraphRenderer-CMV016TQ.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 { x as useAppSelector, y as mainSlice, z as renderersLoadComponent, _ as __variableDynamicImportRuntimeHelper } from "./doenetml-O3iody7S.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-C4g4vZRT.js"), "./renderers/JSXGraphRenderer.tsx": () => import("./JSXGraphRenderer-CMV016TQ.js").then((n) => n.m), "./renderers/_error.tsx": () => import("./_error-Bni3Vmik.js"), "./renderers/alert.tsx": () => import("./alert-BFNSpdig.js"), "./renderers/angle.tsx": () => import("./angle-BTEgJKwW.js"), "./renderers/answer.tsx": () => import("./answer-KPAF5EZM.js"), "./renderers/asList.tsx": () => import("./asList-B6z9U8zW.js"), "./renderers/blockQuote.tsx": () => import("./blockQuote-BvMlg5-L.js"), "./renderers/boolean.tsx": () => import("./boolean-C1QblbA6.js"), "./renderers/booleanInput.tsx": () => import("./booleanInput-Dx-tdCAm.js"), "./renderers/br.tsx": () => import("./br-CUpaXNWF.js"), "./renderers/button.tsx": () => import("./button-k20-NZz6.js"), "./renderers/c.tsx": () => import("./c-BKlBarDZ.js"), "./renderers/cell.tsx": () => import("./cell-C0_SHUJj.js"), "./renderers/chart.tsx": () => import("./chart-BZNBOaYl.js"), "./renderers/choiceInput.tsx": () => import("./choiceInput-C2hSIogv.js"), "./renderers/circle.tsx": () => import("./circle-DQBiVWQF.js"), "./renderers/cobwebPolyline.tsx": () => import("./cobwebPolyline-heBIhOVZ.js"), "./renderers/codeEditor.tsx": () => import("./codeEditor-Cv8Qr0mg.js"), "./renderers/containerBlock.tsx": () => import("./containerBlock-QQSAriqw.js"), "./renderers/containerInline.tsx": () => import("./containerInline-BR0fS-1V.js"), "./renderers/curve.tsx": () => import("./curve-D6YZj7KJ.js"), "./renderers/ellipsis.tsx": () => import("./ellipsis-DuDlbZAl.js"), "./renderers/em.tsx": () => import("./em-mYC5NwvY.js"), "./renderers/embed.tsx": () => import("./embed-Cc7zxA7Y.js"), "./renderers/feedback.tsx": () => import("./feedback-BBN5q917.js"), "./renderers/figure.tsx": () => import("./figure-LMSOgB-z.js"), "./renderers/footnote.tsx": () => import("./footnote-CO0TKIlA.js"), "./renderers/fractionInput.tsx": () => import("./fractionInput-BVAYlfS7.js"), "./renderers/graph.tsx": () => import("./graph-yJuxVkkp.js"), "./renderers/hint.tsx": () => import("./hint-kOr6bKNf.js"), "./renderers/hr.tsx": () => import("./hr-DQY4SsYV.js"), "./renderers/image.tsx": () => import("./image-BteKKocp.js"), "./renderers/label.tsx": () => import("./label-C1_4FCS9.js"), "./renderers/legend.tsx": () => import("./legend-McshXoJe.js"), "./renderers/line.tsx": () => import("./line-xH_VvOtw.js"), "./renderers/lineSegment.tsx": () => import("./lineSegment-DLFQkg2M.js"), "./renderers/list.tsx": () => import("./list-BQcNp4OG.js"), "./renderers/lq.tsx": () => import("./lq-l2NJeSG9.js"), "./renderers/lsq.tsx": () => import("./lsq-BDNVLSI6.js"), "./renderers/math.tsx": () => import("./math-BVQvgfL2.js"), "./renderers/mathInput.tsx": () => import("./mathInput-CAnRlKbi.js"), "./renderers/matrixInput.tsx": () => import("./matrixInput-BiNFHJZL.js"), "./renderers/mdash.tsx": () => import("./mdash-DMITBVL3.js"), "./renderers/nbsp.tsx": () => import("./nbsp-ChYsmRHy.js"), "./renderers/ndash.tsx": () => import("./ndash-03kXrKzz.js"), "./renderers/number.tsx": () => import("./number-B_ezj3Cx.js"), "./renderers/orbitalDiagram.tsx": () => import("./orbitalDiagram-CzjTpHju.js"), "./renderers/orbitalDiagramInput.tsx": () => import("./orbitalDiagramInput-CdGcXi0u.js"), "./renderers/p.tsx": () => import("./p-GVEgqDR8.js"), "./renderers/paginatorControls.tsx": () => import("./paginatorControls-DbiUOk27.js"), "./renderers/pegboard.tsx": () => import("./pegboard-B_mAsp8Z.js"), "./renderers/point.tsx": () => import("./point-DfFH05n7.js"), "./renderers/polygon.tsx": () => import("./polygon-B6KMQAPv.js"), "./renderers/polyline.tsx": () => import("./polyline-DOOX6PJT.js"), "./renderers/pre.tsx": () => import("./pre-BG3lIeQt.js"), "./renderers/prefigure.tsx": () => import("./prefigure-N99hexyo.js"), "./renderers/pretzel.tsx": () => import("./pretzel-BKCsqvVB.js"), "./renderers/q.tsx": () => import("./q-cM4SgXAn.js"), "./renderers/ray.tsx": () => import("./ray-C_1ZI_xJ.js"), "./renderers/ref.tsx": () => import("./ref-CO_eRQUK.js"), "./renderers/regionBetweenCurveXAxis.tsx": () => import("./regionBetweenCurveXAxis-BIoISRH5.js"), "./renderers/regionBetweenCurves.tsx": () => import("./regionBetweenCurves-akAgSna7.js"), "./renderers/row.tsx": () => import("./row-Bh1IHXa3.js"), "./renderers/rq.tsx": () => import("./rq-Dcik03rP.js"), "./renderers/rsq.tsx": () => import("./rsq-D7Qd_UBj.js"), "./renderers/section.tsx": () => import("./section-DSeHOKIV.js"), "./renderers/sideBySide.tsx": () => import("./sideBySide-BAXVtlQT.js"), "./renderers/slider.tsx": () => import("./slider-GFpM-NOg.js"), "./renderers/slopeField.tsx": () => import("./slopeField-C_fo2raJ.js"), "./renderers/solution.tsx": () => import("./solution-DRzV1mZJ.js"), "./renderers/spreadsheet.tsx": () => import("./spreadsheet-svPEWwBe.js"), "./renderers/sq.tsx": () => import("./sq-CQ8Q_U3A.js"), "./renderers/subsetOfRealsInput.tsx": () => import("./subsetOfRealsInput-2R-qAkKG.js"), "./renderers/summaryStatistics.tsx": () => import("./summaryStatistics-DAzeTBg5.js"), "./renderers/table.tsx": () => import("./table-hjwJ57so.js"), "./renderers/tabular.tsx": () => import("./tabular-D5LEJCRy.js"), "./renderers/tag.tsx": () => import("./tag-koip34Rl.js"), "./renderers/text.tsx": () => import("./text-XTJM0CRg.js"), "./renderers/textInput.tsx": () => import("./textInput-rGkEKA4g.js"), "./renderers/vector.tsx": () => import("./vector-DiTw_0j_.js"), "./renderers/vectorField.tsx": () => import("./vectorField-BQSr0oON.js"), "./renderers/video.tsx": () => import("./video-C0riDgbc.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,6 +1,6 @@
1
1
  import { useMemo, useContext, useRef } from "react";
2
- import { BoardContext, LINE_LAYER_OFFSET } from "./graph-AMD48rJH.js";
3
- import { N as createFunctionFromDefinition, E as DocContext } from "./doenetml-COMnHXjV.js";
2
+ import { BoardContext, LINE_LAYER_OFFSET } from "./graph-yJuxVkkp.js";
3
+ import { N as createFunctionFromDefinition, E as DocContext } from "./doenetml-O3iody7S.js";
4
4
  import { s as styleToDash } from "./styleToDash-DWb71gbd.js";
5
5
  import { u as useJSXGraphCleanup } from "./useJSXGraphCleanup-BNk4sn6x.js";
6
6
  function fieldFunctionFromDefinition(fDefinition) {
@@ -1,5 +1,5 @@
1
- import { q as jsxRuntimeExports } from "./doenetml-COMnHXjV.js";
2
- import { F as FontAwesomeIcon } from "./index.es-BzUbiW5S.js";
1
+ import { q as jsxRuntimeExports } from "./doenetml-O3iody7S.js";
2
+ import { F as FontAwesomeIcon } from "./index.es-DzRgYd9D.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 checkWorkCredit(SVs) {
@@ -1,10 +1,10 @@
1
- import { E as DocContext, q as jsxRuntimeExports, F as textRendererStyle, G as DynamicMath } from "./doenetml-COMnHXjV.js";
1
+ import { E as DocContext, q as jsxRuntimeExports, F as textRendererStyle, G as DynamicMath } from "./doenetml-O3iody7S.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-mpJqWGYi.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-D0V8XRs3.js";
5
- import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-AMD48rJH.js";
6
- import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-CQDYu_d6.js";
7
- import { ChoiceInputInlineContext } from "./choiceInput-CtO3RVoh.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-CMV016TQ.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-DJ1tkfUN.js";
5
+ import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-yJuxVkkp.js";
6
+ import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-QWi2qyMK.js";
7
+ import { ChoiceInputInlineContext } from "./choiceInput-C2hSIogv.js";
8
8
  import { a as buildLineLikeAttributes, c as buildDragHandleAttributes } from "./buildGraphicalAttributes-B_soifR-.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,6 +1,6 @@
1
1
  import React__default from "react";
2
- import { u as useDoenetRenderer } from "./useDoenetRenderer-D0V8XRs3.js";
3
- import { u as useFieldFunction, a as useFieldCurve, c as buildVectorFieldData } from "./useFieldCurve-DCouUGIy.js";
2
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-DJ1tkfUN.js";
3
+ import { u as useFieldFunction, a as useFieldCurve, c as buildVectorFieldData } from "./useFieldCurve-B53l8z_s.js";
4
4
  const vectorField = React__default.memo(function VectorField(props) {
5
5
  let { SVs } = useDoenetRenderer(props);
6
6
  VectorField.ignoreActionsWithoutCore = () => true;
@@ -1,10 +1,10 @@
1
- import { J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-COMnHXjV.js";
1
+ import { J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-O3iody7S.js";
2
2
  import React__default, { useState, useEffect, useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-D0V8XRs3.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-DJ1tkfUN.js";
4
4
  import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
5
- import { D as DescriptionPopover, a as DescriptionAsDetails } from "./Description-vIa_C9kN.js";
5
+ import { D as DescriptionPopover, a as DescriptionAsDetails } from "./Description-E95l41XX.js";
6
6
  import { g as getNonInlineMediaLayoutStyles } from "./nonInlineMediaLayout-CkXHaqzo.js";
7
- import { N as NonInlineMediaWrapper } from "./NonInlineMediaWrapper-xTxWozje.js";
7
+ import { N as NonInlineMediaWrapper } from "./NonInlineMediaWrapper-B3gfFMuI.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;