@doenet/doenetml 0.7.23-dev.446 → 0.7.23-dev.448

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (104) hide show
  1. package/{AnswerResponseButton-DyWXKo6v.js → AnswerResponseButton-DbNiBj8k.js} +2 -2
  2. package/{Description-D8eSeiSN.js → Description-TLXPXfeU.js} +1 -1
  3. package/{GraphFrame-BLQMoTz7.js → GraphFrame-D89bZdpF.js} +2 -2
  4. package/{JSXGraphRenderer-DsED_IYR.js → JSXGraphRenderer-DQTVjrtx.js} +1 -1
  5. package/{NonInlineMediaWrapper-BIZiYEyJ.js → NonInlineMediaWrapper-BENU9I75.js} +1 -1
  6. package/{_error-BR4OLjxm.js → _error-CrypPplw.js} +2 -2
  7. package/{alert-yVdGlXkn.js → alert-B7x8cDOW.js} +3 -3
  8. package/{angle-BHMjBiYL.js → angle-nS1UsMP2.js} +6 -6
  9. package/{answer-B3MlhyK1.js → answer-CF1kE9Sx.js} +5 -5
  10. package/{asList-C-QGYFna.js → asList-C73Lf9pa.js} +2 -2
  11. package/{blockQuote-BUijb7-U.js → blockQuote-DN2pPukA.js} +3 -3
  12. package/{boolean-Bb0VIVoS.js → boolean-Drsm-s4v.js} +2 -2
  13. package/{booleanInput-hVFN83aA.js → booleanInput-DI7s__P1.js} +6 -6
  14. package/{br-DwmabJPD.js → br-CrYTiv7s.js} +2 -2
  15. package/{button-DTnZStCy.js → button-LlwLCYzn.js} +4 -4
  16. package/{c-Dnlt6r-1.js → c-DAE8HRrN.js} +3 -3
  17. package/{cell-CdGTtaUp.js → cell-BfuqcX9L.js} +3 -3
  18. package/{choiceInput-C_4uPa4T.js → choiceInput-Cd7-mcB4.js} +4 -4
  19. package/{circle-D4puQp-K.js → circle-DWoaVv-k.js} +6 -6
  20. package/{cobwebPolyline-pzpR8b86.js → cobwebPolyline-Cw48wWFR.js} +4 -4
  21. package/{codeEditor-Bku7Ylau.js → codeEditor-DIFXynXS.js} +2 -2
  22. package/{composites-BqzFUk_h.js → composites-CHJxj_59.js} +1 -1
  23. package/{containerBlock-CiAsFmTu.js → containerBlock-BCn-cKWE.js} +4 -4
  24. package/{containerInline-BduAdm_w.js → containerInline-DyFm0Cpb.js} +4 -4
  25. package/{curve-D9Bz5bzE.js → curve-D_5OoWwJ.js} +4 -4
  26. package/{doenetml-KneMbdUl.js → doenetml-DkNBxAz0.js} +5 -5
  27. package/doenetml-external-worker.d.ts +15 -0
  28. package/doenetml-external-worker.d.ts.map +1 -1
  29. package/doenetml-external-worker.js +17 -10
  30. package/doenetml-inline-worker.js +2 -2
  31. package/{ellipsis-CySN_qv6.js → ellipsis-Bh5h6fP5.js} +2 -2
  32. package/{em-DAUgIg6f.js → em-DKV1i1sZ.js} +3 -3
  33. package/{embed-l4BxxdBO.js → embed-ByfTYKXh.js} +2 -2
  34. package/{feedback-BTZMQoBJ.js → feedback-BvuC_En7.js} +4 -4
  35. package/{figure-QbUCbI8x.js → figure-CJpZcwLL.js} +3 -3
  36. package/{fillPatterns-O5qMvUVb.js → fillPatterns-OOb8UosT.js} +1 -1
  37. package/{footnote-dMsVu_z4.js → footnote-CR0YMMAy.js} +3 -3
  38. package/{fractionInput-D7Eq6FLE.js → fractionInput-Cf4dEwiI.js} +4 -4
  39. package/{graph-mqujNItp.js → graph-CTIrmN47.js} +6 -6
  40. package/{hint-CrOY6rw7.js → hint-D-JFwvYR.js} +4 -4
  41. package/{hr-CC-1JDh8.js → hr-Cbd62XoO.js} +2 -2
  42. package/{image-DxD-Pqmd.js → image-9F5CEsMY.js} +7 -7
  43. package/{index-D3aI7lEB.js → index-Cz9X833I.js} +1 -1
  44. package/{index.es-B8h2rGUR.js → index.es-CypABRSz.js} +1 -1
  45. package/index.js +1 -1
  46. package/{label-BUJ6Rpgu.js → label-GT7PuIKl.js} +6 -6
  47. package/{labelWithLatex-DuSUomAn.js → labelWithLatex-DWMfYcAF.js} +1 -1
  48. package/{legend-BO--dbsh.js → legend-D7dr5BdZ.js} +4 -4
  49. package/{line-Dwhehwjd.js → line-CiGVZxtk.js} +6 -6
  50. package/{lineFamilyDragHandlers-C0KNuiat.js → lineFamilyDragHandlers-DpzEIj07.js} +1 -1
  51. package/{lineSegment-BUwlyA8O.js → lineSegment-DWwA221l.js} +5 -5
  52. package/{list-BewyxFt1.js → list-BIyPcRJk.js} +4 -4
  53. package/{lq-CPygjQ0I.js → lq-Azr0Ks4I.js} +2 -2
  54. package/{lsq-Dq2OdgJ3.js → lsq-DsyYX2X4.js} +2 -2
  55. package/{markupRenderer-B28xMxjd.js → markupRenderer-COg9WapN.js} +1 -1
  56. package/{math-DIkg5kdb.js → math-BAsu6FV3.js} +6 -6
  57. package/{mathInput-CuSgICqM.js → mathInput-B2gGhewy.js} +7 -7
  58. package/{matrixInput-BjEzCkej.js → matrixInput-S3ajaFPA.js} +4 -4
  59. package/{mdash-Dd0dC9ZN.js → mdash-BGhm6JuY.js} +2 -2
  60. package/{nbsp-BDj188gH.js → nbsp-DGox--rO.js} +2 -2
  61. package/{ndash-D82WGMk5.js → ndash-xYdPONFz.js} +2 -2
  62. package/{number-CsmZNCaA.js → number-D0RH-QTY.js} +6 -6
  63. package/{orbitalDiagram-CmYJeGHp.js → orbitalDiagram-CNo34dod.js} +2 -2
  64. package/{orbitalDiagramInput-6edLs5Cb.js → orbitalDiagramInput-DYTyoG_K.js} +2 -2
  65. package/{p-leQyCCs0.js → p-DNKng4EV.js} +4 -4
  66. package/package.json +1 -1
  67. package/{paginatorControls-DjBJjyTq.js → paginatorControls-CWyU5YAO.js} +2 -2
  68. package/{pegboard-CmvMLZQE.js → pegboard-DsTuM0-N.js} +4 -4
  69. package/{point-DlaA8ggd.js → point-CzYh4Rvu.js} +6 -6
  70. package/{polygon-I15KTIEp.js → polygon-B4-OupmM.js} +6 -6
  71. package/{polyline-CemVFqvk.js → polyline-DXMgkzTv.js} +5 -5
  72. package/{pre-CW_2k1QS.js → pre-Cc0fmCpk.js} +3 -3
  73. package/{prefigure-DvcLIrYI.js → prefigure-2n6_DGuM.js} +1 -1
  74. package/{pretzel-Bd6DgnWW.js → pretzel-CjrR5RtZ.js} +4 -4
  75. package/{q-B216JPnK.js → q-BJVM77xN.js} +3 -3
  76. package/{ray-DUKyOz39.js → ray-COdyCHKe.js} +5 -5
  77. package/{ref-BaSdfHFR.js → ref-BUPIPzBy.js} +3 -3
  78. package/{regionBetweenCurveXAxis-C_VBs5PN.js → regionBetweenCurveXAxis-DWJYviFe.js} +5 -5
  79. package/{regionBetweenCurves-Bj8QeXXP.js → regionBetweenCurves-C2RVk-uD.js} +5 -5
  80. package/{row-DLpefFHp.js → row-Ce7_QKC-.js} +2 -2
  81. package/{rq-DlDsQlOl.js → rq-BHM0RaOX.js} +2 -2
  82. package/{rsq-Bmp9ngqj.js → rsq-DuPwKoIR.js} +2 -2
  83. package/{section-5MLd0hE8.js → section-Bp0ea4J2.js} +5 -5
  84. package/{sha256-Bzrm4-tO-D4VOq96C.js → sha256-Bzrm4-tO-iA-1AZnY.js} +1 -1
  85. package/{sideBySide-DK__lF5P.js → sideBySide-E8RIHgtt.js} +2 -2
  86. package/{slider-Dw69lcuv.js → slider-B354RRUs.js} +3 -3
  87. package/{solution-L0c-SKhS.js → solution-Czj5O0lh.js} +4 -4
  88. package/{spreadsheet-4LrZjKvD.js → spreadsheet-D6q_ccK1.js} +2 -2
  89. package/{sq-ClwtbJl2.js → sq-DoTFhRgW.js} +3 -3
  90. package/style.css +34 -15
  91. package/{subsetOfRealsInput--odUYpOc.js → subsetOfRealsInput-DTolYMhe.js} +2 -2
  92. package/{summaryStatistics-B_C7MwLj.js → summaryStatistics-Beg3cGYV.js} +2 -2
  93. package/{table-DGt4W_HM.js → table-B7aXOHCt.js} +2 -2
  94. package/{tabular-CNiL6xjX.js → tabular-Dl55a0Ge.js} +2 -2
  95. package/{tag-Ch4GTmdQ.js → tag-L840ajgo.js} +2 -2
  96. package/{text-CYTqx_LY.js → text-DLPZ6wBd.js} +6 -6
  97. package/{textInput-yfy-FD9B.js → textInput-HUNuEy_i.js} +6 -6
  98. package/{tooltip-provider-DsW_MxoB.js → tooltip-provider-BAq58hUp.js} +1 -1
  99. package/{useAnchoredGraphDragHandler-CGKjsqrU.js → useAnchoredGraphDragHandler-DBoLCCA3.js} +1 -1
  100. package/useDoenetRenderer-BDU-5eK5.js +114 -0
  101. package/{useSubmitActionWithDelay-AdyQf3WY.js → useSubmitActionWithDelay-BLd_1yWz.js} +2 -2
  102. package/{vector-DFzBM71C.js → vector-CvbNtZuf.js} +6 -6
  103. package/{video-CAIKbj6G.js → video-xTqDIUyI.js} +4 -4
  104. package/useDoenetRenderer-NkmIqE-s.js +0 -114
@@ -1,4 +1,4 @@
1
- import { p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-DkNBxAz0.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, F as useContentT, t as useChromeLangDir, G as useRecordVisibilityChanges, z as DocContext, p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
1
+ import { u as useT, F as useContentT, t as useChromeLangDir, G as useRecordVisibilityChanges, z as DocContext, p as jsxRuntimeExports } from "./doenetml-DkNBxAz0.js";
2
2
  import React__default, { useRef, useContext } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.js";
4
- import { A as AnswerResponseButton } from "./AnswerResponseButton-DyWXKo6v.js";
5
- import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-AdyQf3WY.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BDU-5eK5.js";
4
+ import { A as AnswerResponseButton } from "./AnswerResponseButton-DbNiBj8k.js";
5
+ import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-BLd_1yWz.js";
6
6
  const pretzel = React__default.memo(function Pretzel(props) {
7
7
  let {
8
8
  componentIdx,
@@ -1,7 +1,7 @@
1
- import { p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-DkNBxAz0.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.js";
4
- import { r as renderMarkupBody } from "./markupRenderer-B28xMxjd.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BDU-5eK5.js";
4
+ import { r as renderMarkupBody } from "./markupRenderer-COg9WapN.js";
5
5
  const q = React__default.memo(function Q(props) {
6
6
  const { SVs, children } = useDoenetRenderer(props);
7
7
  const body = renderMarkupBody({ SVs, children });
@@ -1,9 +1,9 @@
1
- import { z as DocContext, p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
1
+ import { z as DocContext, p as jsxRuntimeExports } from "./doenetml-DkNBxAz0.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-DsED_IYR.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.js";
5
- import { BoardContext, LINE_LAYER_OFFSET } from "./graph-mqujNItp.js";
6
- import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-C0KNuiat.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-DQTVjrtx.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BDU-5eK5.js";
5
+ import { BoardContext, LINE_LAYER_OFFSET } from "./graph-CTIrmN47.js";
6
+ import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-DpzEIj07.js";
7
7
  import { a as buildLineLikeAttributes } from "./buildGraphicalAttributes-0RNcbd2S.js";
8
8
  import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
9
9
  import { p as pointerEventToUserCoords } from "./dragThreshold-DuSSFrIU.js";
@@ -1,6 +1,6 @@
1
- import { z as DocContext, p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
1
+ import { z as DocContext, p as jsxRuntimeExports } from "./doenetml-DkNBxAz0.js";
2
2
  import React__default, { useContext, useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BDU-5eK5.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) || {};
@@ -64,7 +64,7 @@ const ref = React__default.memo(function Ref(props) {
64
64
  "a",
65
65
  {
66
66
  style: {
67
- color: "var(--mainBlue)",
67
+ color: "var(--linkText)",
68
68
  borderRadius: "5px"
69
69
  },
70
70
  target: targetForATag || void 0,
@@ -1,9 +1,9 @@
1
- import { z as DocContext, K as createFunctionFromDefinition, p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
1
+ import { z as DocContext, K as createFunctionFromDefinition, p as jsxRuntimeExports } from "./doenetml-DkNBxAz0.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-DsED_IYR.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.js";
5
- import { BoardContext, LINE_LAYER_OFFSET } from "./graph-mqujNItp.js";
6
- import { g as getPatternFillAttributes } from "./fillPatterns-O5qMvUVb.js";
3
+ import { j as jxg, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-DQTVjrtx.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BDU-5eK5.js";
5
+ import { BoardContext, LINE_LAYER_OFFSET } from "./graph-CTIrmN47.js";
6
+ import { g as getPatternFillAttributes } from "./fillPatterns-OOb8UosT.js";
7
7
  import { b as resolveCanvasColor } from "./styleColors-Cknqcr0q.js";
8
8
  const regionBetweenCurveXAxis = React__default.memo(function RegionBetweenCurveXAxis(props) {
9
9
  let { id, SVs } = useDoenetRenderer(props);
@@ -1,11 +1,11 @@
1
- import { z as DocContext, K as createFunctionFromDefinition, p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
1
+ import { z as DocContext, K as createFunctionFromDefinition, p as jsxRuntimeExports } from "./doenetml-DkNBxAz0.js";
2
2
  import React__default, { useContext, useRef, useEffect } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.js";
4
- import { BoardContext, LINE_LAYER_OFFSET } from "./graph-mqujNItp.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BDU-5eK5.js";
4
+ import { BoardContext, LINE_LAYER_OFFSET } from "./graph-CTIrmN47.js";
5
5
  import { s as styleToDash } from "./styleToDash-DWb71gbd.js";
6
- import { g as getPatternFillAttributes } from "./fillPatterns-O5qMvUVb.js";
6
+ import { g as getPatternFillAttributes } from "./fillPatterns-OOb8UosT.js";
7
7
  import { b as resolveCanvasColor } from "./styleColors-Cknqcr0q.js";
8
- import { b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-DsED_IYR.js";
8
+ import { b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-DQTVjrtx.js";
9
9
  const regionBetweenCurves = React__default.memo(function RegionBetweenCurves(props) {
10
10
  let { id, SVs } = useDoenetRenderer(props);
11
11
  RegionBetweenCurves.ignoreActionsWithoutCore = () => true;
@@ -1,6 +1,6 @@
1
- import { p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-DkNBxAz0.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BDU-5eK5.js";
4
4
  const row = React__default.memo(function Row(props) {
5
5
  let { id, SVs, children } = useDoenetRenderer(props);
6
6
  if (SVs.hidden) {
@@ -1,6 +1,6 @@
1
- import { p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-DkNBxAz0.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BDU-5eK5.js";
4
4
  const rq = React__default.memo(function Rq(props) {
5
5
  let { SVs } = useDoenetRenderer(props, false);
6
6
  if (SVs.hidden) {
@@ -1,6 +1,6 @@
1
- import { p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-DkNBxAz0.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BDU-5eK5.js";
4
4
  const rsq = React__default.memo(function Rsq(props) {
5
5
  let { SVs } = useDoenetRenderer(props, false);
6
6
  if (SVs.hidden) {
@@ -1,10 +1,10 @@
1
- import { u as useT, F as useContentT, N as directionOf, O as useDocumentDirection, P as chromeLangDir, q as useUiLocale, z as DocContext, I as cesc, G as useRecordVisibilityChanges, p as jsxRuntimeExports, Q as DocumentDirectionProvider } from "./doenetml-KneMbdUl.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-DkNBxAz0.js";
2
2
  import React__default, { useContext, useRef, useEffect } from "react";
3
- import { F as FontAwesomeIcon } from "./index.es-B8h2rGUR.js";
3
+ import { F as FontAwesomeIcon } from "./index.es-CypABRSz.js";
4
4
  import { f as faCaretDown, a as faCaretRight } from "./index-BDlitCgu.js";
5
- import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.js";
6
- import { a as addCommasForCompositeRanges } from "./composites-BqzFUk_h.js";
7
- import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-AdyQf3WY.js";
5
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BDU-5eK5.js";
6
+ import { a as addCommasForCompositeRanges } from "./composites-CHJxj_59.js";
7
+ import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-BLd_1yWz.js";
8
8
  import { c as clickToToggleLabel } from "./disclosure-axyZa36E.js";
9
9
  const section = React__default.memo(function Section(props) {
10
10
  let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
@@ -1,4 +1,4 @@
1
- import { o as getDefaultExportFromCjs } from "./doenetml-KneMbdUl.js";
1
+ import { o as getDefaultExportFromCjs } from "./doenetml-DkNBxAz0.js";
2
2
  function _mergeNamespaces$1(n, m) {
3
3
  for (var i = 0; i < m.length; i++) {
4
4
  const e = m[i];
@@ -1,6 +1,6 @@
1
- import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
1
+ import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-DkNBxAz0.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BDU-5eK5.js";
4
4
  import { a as getBlockMarginWithOptionalTopSuppression } from "./nonInlineMediaLayout-CkXHaqzo.js";
5
5
  function isWhitespaceTextChild(child) {
6
6
  return typeof child === "string" && child.trim() === "";
@@ -1,8 +1,8 @@
1
- import { u as useT, p as jsxRuntimeExports, R as ActionButtonGroup, S as ActionButton, H as Context } from "./doenetml-KneMbdUl.js";
1
+ import { u as useT, p as jsxRuntimeExports, R as ActionButtonGroup, S as ActionButton, H as Context } from "./doenetml-DkNBxAz0.js";
2
2
  import React__default, { useState, useRef, useEffect } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BDU-5eK5.js";
4
4
  import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
5
- import { r as renderLabelWithLatex } from "./labelWithLatex-DuSUomAn.js";
5
+ import { r as renderLabelWithLatex } from "./labelWithLatex-DWMfYcAF.js";
6
6
  import { l as ltrIslandProps } from "./direction-BwrU7jHk.js";
7
7
  let round_to_decimals = (x, n) => {
8
8
  try {
@@ -1,9 +1,9 @@
1
- import { u as useT, G as useRecordVisibilityChanges, t as useChromeLangDir, p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
1
+ import { u as useT, G as useRecordVisibilityChanges, t as useChromeLangDir, p as jsxRuntimeExports } from "./doenetml-DkNBxAz0.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.js";
4
- import { F as FontAwesomeIcon } from "./index.es-B8h2rGUR.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BDU-5eK5.js";
4
+ import { F as FontAwesomeIcon } from "./index.es-CypABRSz.js";
5
5
  import { c as faPuzzlePiece } from "./index-BDlitCgu.js";
6
- import { a as addCommasForCompositeRanges } from "./composites-BqzFUk_h.js";
6
+ import { a as addCommasForCompositeRanges } from "./composites-CHJxj_59.js";
7
7
  import { c as clickToToggleLabel } from "./disclosure-axyZa36E.js";
8
8
  const solution = React__default.memo(function Solution(props) {
9
9
  let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
@@ -1,6 +1,6 @@
1
- import { z as DocContext, G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
1
+ import { z as DocContext, G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-DkNBxAz0.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-NkmIqE-s.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BDU-5eK5.js";
4
4
  import require$$2 from "react-dom";
5
5
  import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
6
6
  import { a as getBlockMarginWithOptionalTopSuppression } from "./nonInlineMediaLayout-CkXHaqzo.js";
@@ -1,7 +1,7 @@
1
- import { p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-DkNBxAz0.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.js";
4
- import { r as renderMarkupBody } from "./markupRenderer-B28xMxjd.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BDU-5eK5.js";
4
+ import { r as renderMarkupBody } from "./markupRenderer-COg9WapN.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
@@ -76,6 +76,13 @@ html {
76
76
  --lightGreen: #a6f19f;
77
77
  --lightYellow: #f5ed85;
78
78
  --whiteBlankLink: #6d4445;
79
+ /* Link text. Distinct from --mainBlue, which is a surface color (button
80
+ backgrounds) and so must stay dark in both themes. */
81
+ --linkText: #1a5a99;
82
+ /* Border for panels that paint the canvas color and so have no fill of
83
+ their own to set them apart. Meets WCAG's 3:1 non-text contrast against
84
+ the canvas, which a surface-toned border does not. */
85
+ --panelBorder: #949494;
79
86
  --mainYellow: #94610a;
80
87
  --lightOrange: #efab34;
81
88
  --mainOrange: #a36600;
@@ -107,6 +114,8 @@ html {
107
114
  --lightGreen: #1a5e20;
108
115
  --lightYellow: #f5ed85;
109
116
  --whiteBlankLink: #a9abe5;
117
+ --linkText: #8ab4f8;
118
+ --panelBorder: #6b6b6b;
110
119
  --mainYellow: #efab34;
111
120
  --lightOrange: #7a3e00;
112
121
  --mainOrange: #a36600;
@@ -2673,13 +2682,22 @@ Tailwind base is purposely not included because we want all styles to be prefixe
2673
2682
  cursor: pointer;
2674
2683
  }
2675
2684
 
2685
+ /*
2686
+ * Both description surfaces paint the canvas color rather than a surface of
2687
+ * their own. Style-definition contrast is checked statically against the canvas
2688
+ * (see `styleContrastAccessibility.ts`), so authored colors only carry their
2689
+ * WCAG AA guarantee onto a background the check actually knows about. Borders
2690
+ * and shadows, which no text sits on, still carry the raised-panel look.
2691
+ */
2676
2692
  .description[open] {
2677
- background-color: var(--revealButtonSurface);
2693
+ background-color: var(--canvas);
2678
2694
  color: var(--canvasText);
2679
2695
  }
2680
2696
  .description .details-content {
2681
- background-color: var(--revealButtonSurface);
2697
+ background-color: var(--canvas);
2682
2698
  color: var(--canvasText);
2699
+ border: 1px solid var(--panelBorder);
2700
+ border-radius: var(--mainBorderRadius);
2683
2701
  padding: 10px;
2684
2702
  }
2685
2703
 
@@ -2700,10 +2718,10 @@ Tailwind base is purposely not included because we want all styles to be prefixe
2700
2718
  border-radius: 0.5rem;
2701
2719
  border-width: 1px;
2702
2720
  border-style: solid;
2703
- border-color: hsl(204 20% 88%);
2704
- background-color: white;
2721
+ border-color: var(--panelBorder);
2722
+ background-color: var(--canvas);
2705
2723
  padding: 1rem;
2706
- color: black;
2724
+ color: var(--canvasText);
2707
2725
  box-shadow:
2708
2726
  0 10px 15px -3px rgb(0 0 0 / 0.1),
2709
2727
  0 4px 6px -4px rgb(0 0 0 / 0.1);
@@ -2716,24 +2734,25 @@ Tailwind base is purposely not included because we want all styles to be prefixe
2716
2734
  }
2717
2735
 
2718
2736
  .description-popover:where([data-theme="dark"], [data-theme="dark"] *) {
2719
- border-color: hsl(204 4% 24%);
2720
- background-color: hsl(204 4% 16%);
2721
- color: white;
2722
2737
  box-shadow:
2723
2738
  0 10px 15px -3px rgb(0 0 0 / 0.25),
2724
2739
  0 4px 6px -4px rgb(0 0 0 / 0.1);
2725
2740
  }
2726
2741
 
2727
2742
  .description-popover .arrow > svg {
2728
- fill: white;
2729
- stroke: hsl(204 20% 88%);
2743
+ fill: var(--canvas);
2744
+ stroke: var(--panelBorder);
2730
2745
  }
2731
2746
 
2732
- .description-popover
2733
- .arrow:where([data-theme="dark"], [data-theme="dark"] *)
2734
- > svg {
2735
- fill: hsl(204 4% 16%);
2736
- stroke: hsl(204 4% 24%);
2747
+ /*
2748
+ * Links in description content, both the attribution's author, subject, and
2749
+ * license anchors and any authored `<ref>`. Without this the generated anchors
2750
+ * fall through to the user agent's `#0000EE` (and `#551A8B` once visited),
2751
+ * neither of which changes with the theme.
2752
+ */
2753
+ .description .details-content a,
2754
+ .description-popover a {
2755
+ color: var(--linkText);
2737
2756
  }
2738
2757
  .doenet-viewer button.check-work {
2739
2758
  position: relative;
@@ -1,6 +1,6 @@
1
- import { u as useT, G as useRecordVisibilityChanges, p as jsxRuntimeExports, W as ToggleButtonGroup, U as ToggleButton, R as ActionButtonGroup, S as ActionButton } from "./doenetml-KneMbdUl.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-DkNBxAz0.js";
2
2
  import React__default, { useState, useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BDU-5eK5.js";
4
4
  import { l as ltrIslandProps } from "./direction-BwrU7jHk.js";
5
5
  const subsetOfRealsInput = React__default.memo(function subsetOfReals(props) {
6
6
  let { id, SVs, actions, callAction } = useDoenetRenderer(props, false);
@@ -1,6 +1,6 @@
1
- import { u as useT, t as useChromeLangDir, G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
1
+ import { u as useT, t as useChromeLangDir, G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-DkNBxAz0.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BDU-5eK5.js";
4
4
  import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
5
5
  const summaryStatistics = React__default.memo(function SummaryStatistics(props) {
6
6
  let { id, SVs, actions, callAction } = useDoenetRenderer(props);
@@ -1,6 +1,6 @@
1
- import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
1
+ import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-DkNBxAz0.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BDU-5eK5.js";
4
4
  const table = React__default.memo(function Table(props) {
5
5
  let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
6
6
  const ref = useRef(null);
@@ -1,6 +1,6 @@
1
- import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
1
+ import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-DkNBxAz0.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BDU-5eK5.js";
4
4
  import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
5
5
  import { a as getBlockMarginWithOptionalTopSuppression } from "./nonInlineMediaLayout-CkXHaqzo.js";
6
6
  const tabular = React__default.memo(function Tabular(props) {
@@ -1,6 +1,6 @@
1
- import { p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-DkNBxAz0.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BDU-5eK5.js";
4
4
  const tag = React__default.memo(function Tag(props) {
5
5
  let { id, SVs, children } = useDoenetRenderer(props);
6
6
  if (SVs.hidden) {
@@ -1,13 +1,13 @@
1
- import { z as DocContext, H as Context, p as jsxRuntimeExports, A as textRendererStyle } from "./doenetml-KneMbdUl.js";
1
+ import { z as DocContext, H as Context, p as jsxRuntimeExports, A as textRendererStyle } from "./doenetml-DkNBxAz0.js";
2
2
  import React__default, { useRef, useContext } from "react";
3
- import { j as jxg } from "./JSXGraphRenderer-DsED_IYR.js";
4
- import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-mqujNItp.js";
5
- import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.js";
3
+ import { j as jxg } from "./JSXGraphRenderer-DQTVjrtx.js";
4
+ import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-CTIrmN47.js";
5
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BDU-5eK5.js";
6
6
  import { g as getPositionFromAnchorByCoordinate } from "./graph-W6vrFcBu.js";
7
- import { ChoiceInputInlineContext } from "./choiceInput-C_4uPa4T.js";
7
+ import { ChoiceInputInlineContext } from "./choiceInput-Cd7-mcB4.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-CGKjsqrU.js";
10
+ import { d as detachAnchoredGraphElement, a as attachAnchoredGraphDragHandlers } from "./useAnchoredGraphDragHandler-DBoLCCA3.js";
11
11
  const text = React__default.memo(function Text(props) {
12
12
  let { componentIdx, id, SVs, actions, callAction } = useDoenetRenderer(props);
13
13
  Text.ignoreActionsWithoutCore = () => true;
@@ -1,12 +1,12 @@
1
- import { F as useContentT, H as Context, p as jsxRuntimeExports, T as MathJax } from "./doenetml-KneMbdUl.js";
1
+ import { F as useContentT, H as Context, p as jsxRuntimeExports, T as MathJax } from "./doenetml-DkNBxAz0.js";
2
2
  import { useState, useRef, useContext, useEffect } from "react";
3
- import { j as jxg } from "./JSXGraphRenderer-DsED_IYR.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.js";
3
+ import { j as jxg } from "./JSXGraphRenderer-DQTVjrtx.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BDU-5eK5.js";
5
5
  import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
6
- import { BoardContext } from "./graph-mqujNItp.js";
6
+ import { BoardContext } from "./graph-CTIrmN47.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-AdyQf3WY.js";
9
- import { D as DescriptionPopover } from "./Description-D8eSeiSN.js";
8
+ import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-BLd_1yWz.js";
9
+ import { D as DescriptionPopover } from "./Description-TLXPXfeU.js";
10
10
  import { a as addValidationStateToShortDescription } from "./validationState-DI_lxk1a.js";
11
11
  function TextInput(props) {
12
12
  let { id, SVs, children, actions, ignoreUpdate, callAction } = useDoenetRenderer(props);
@@ -1,4 +1,4 @@
1
- import { ae as createStoreContext, af as HovercardScopedContextProvider, ag as HovercardContextProvider, ah as createDialogComponent, Y as forwardRef, Z as createElement, $ as createHook, a1 as invariant, ai as useWrapElement, p as jsxRuntimeExports, a2 as useStoreState, aj as useHovercard, ak as isFalsyBooleanCallback, al as contains, am as sync, an as chain, ao as useEvent, ap as useHovercardAnchor, aq as createStore, ar as createHovercardStore, as as defaultValue, at as useStore, au as useStoreProps, av as useHovercardStoreProps } from "./doenetml-KneMbdUl.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-DkNBxAz0.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-DsED_IYR.js";
1
+ import { r as removeJXGEventHandlers, L as LINE_FAMILY_EVENTS, j as jxg } from "./JSXGraphRenderer-DQTVjrtx.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-DkNBxAz0.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-D89bZdpF.js"), "./renderers/JSXGraphRenderer.tsx": () => import("./JSXGraphRenderer-DQTVjrtx.js").then((n) => n.m), "./renderers/_error.tsx": () => import("./_error-CrypPplw.js"), "./renderers/alert.tsx": () => import("./alert-B7x8cDOW.js"), "./renderers/angle.tsx": () => import("./angle-nS1UsMP2.js"), "./renderers/answer.tsx": () => import("./answer-CF1kE9Sx.js"), "./renderers/asList.tsx": () => import("./asList-C73Lf9pa.js"), "./renderers/blockQuote.tsx": () => import("./blockQuote-DN2pPukA.js"), "./renderers/boolean.tsx": () => import("./boolean-Drsm-s4v.js"), "./renderers/booleanInput.tsx": () => import("./booleanInput-DI7s__P1.js"), "./renderers/br.tsx": () => import("./br-CrYTiv7s.js"), "./renderers/button.tsx": () => import("./button-LlwLCYzn.js"), "./renderers/c.tsx": () => import("./c-DAE8HRrN.js"), "./renderers/cell.tsx": () => import("./cell-BfuqcX9L.js"), "./renderers/choiceInput.tsx": () => import("./choiceInput-Cd7-mcB4.js"), "./renderers/circle.tsx": () => import("./circle-DWoaVv-k.js"), "./renderers/cobwebPolyline.tsx": () => import("./cobwebPolyline-Cw48wWFR.js"), "./renderers/codeEditor.tsx": () => import("./codeEditor-DIFXynXS.js"), "./renderers/containerBlock.tsx": () => import("./containerBlock-BCn-cKWE.js"), "./renderers/containerInline.tsx": () => import("./containerInline-DyFm0Cpb.js"), "./renderers/curve.tsx": () => import("./curve-D_5OoWwJ.js"), "./renderers/ellipsis.tsx": () => import("./ellipsis-Bh5h6fP5.js"), "./renderers/em.tsx": () => import("./em-DKV1i1sZ.js"), "./renderers/embed.tsx": () => import("./embed-ByfTYKXh.js"), "./renderers/feedback.tsx": () => import("./feedback-BvuC_En7.js"), "./renderers/figure.tsx": () => import("./figure-CJpZcwLL.js"), "./renderers/footnote.tsx": () => import("./footnote-CR0YMMAy.js"), "./renderers/fractionInput.tsx": () => import("./fractionInput-Cf4dEwiI.js"), "./renderers/graph.tsx": () => import("./graph-CTIrmN47.js"), "./renderers/hint.tsx": () => import("./hint-D-JFwvYR.js"), "./renderers/hr.tsx": () => import("./hr-Cbd62XoO.js"), "./renderers/image.tsx": () => import("./image-9F5CEsMY.js"), "./renderers/label.tsx": () => import("./label-GT7PuIKl.js"), "./renderers/legend.tsx": () => import("./legend-D7dr5BdZ.js"), "./renderers/line.tsx": () => import("./line-CiGVZxtk.js"), "./renderers/lineSegment.tsx": () => import("./lineSegment-DWwA221l.js"), "./renderers/list.tsx": () => import("./list-BIyPcRJk.js"), "./renderers/lq.tsx": () => import("./lq-Azr0Ks4I.js"), "./renderers/lsq.tsx": () => import("./lsq-DsyYX2X4.js"), "./renderers/math.tsx": () => import("./math-BAsu6FV3.js"), "./renderers/mathInput.tsx": () => import("./mathInput-B2gGhewy.js"), "./renderers/matrixInput.tsx": () => import("./matrixInput-S3ajaFPA.js"), "./renderers/mdash.tsx": () => import("./mdash-BGhm6JuY.js"), "./renderers/nbsp.tsx": () => import("./nbsp-DGox--rO.js"), "./renderers/ndash.tsx": () => import("./ndash-xYdPONFz.js"), "./renderers/number.tsx": () => import("./number-D0RH-QTY.js"), "./renderers/orbitalDiagram.tsx": () => import("./orbitalDiagram-CNo34dod.js"), "./renderers/orbitalDiagramInput.tsx": () => import("./orbitalDiagramInput-DYTyoG_K.js"), "./renderers/p.tsx": () => import("./p-DNKng4EV.js"), "./renderers/paginatorControls.tsx": () => import("./paginatorControls-CWyU5YAO.js"), "./renderers/pegboard.tsx": () => import("./pegboard-DsTuM0-N.js"), "./renderers/point.tsx": () => import("./point-CzYh4Rvu.js"), "./renderers/polygon.tsx": () => import("./polygon-B4-OupmM.js"), "./renderers/polyline.tsx": () => import("./polyline-DXMgkzTv.js"), "./renderers/pre.tsx": () => import("./pre-Cc0fmCpk.js"), "./renderers/prefigure.tsx": () => import("./prefigure-2n6_DGuM.js"), "./renderers/pretzel.tsx": () => import("./pretzel-CjrR5RtZ.js"), "./renderers/q.tsx": () => import("./q-BJVM77xN.js"), "./renderers/ray.tsx": () => import("./ray-COdyCHKe.js"), "./renderers/ref.tsx": () => import("./ref-BUPIPzBy.js"), "./renderers/regionBetweenCurveXAxis.tsx": () => import("./regionBetweenCurveXAxis-DWJYviFe.js"), "./renderers/regionBetweenCurves.tsx": () => import("./regionBetweenCurves-C2RVk-uD.js"), "./renderers/row.tsx": () => import("./row-Ce7_QKC-.js"), "./renderers/rq.tsx": () => import("./rq-BHM0RaOX.js"), "./renderers/rsq.tsx": () => import("./rsq-DuPwKoIR.js"), "./renderers/section.tsx": () => import("./section-Bp0ea4J2.js"), "./renderers/sideBySide.tsx": () => import("./sideBySide-E8RIHgtt.js"), "./renderers/slider.tsx": () => import("./slider-B354RRUs.js"), "./renderers/solution.tsx": () => import("./solution-Czj5O0lh.js"), "./renderers/spreadsheet.tsx": () => import("./spreadsheet-D6q_ccK1.js"), "./renderers/sq.tsx": () => import("./sq-DoTFhRgW.js"), "./renderers/subsetOfRealsInput.tsx": () => import("./subsetOfRealsInput-DTolYMhe.js"), "./renderers/summaryStatistics.tsx": () => import("./summaryStatistics-Beg3cGYV.js"), "./renderers/table.tsx": () => import("./table-B7aXOHCt.js"), "./renderers/tabular.tsx": () => import("./tabular-Dl55a0Ge.js"), "./renderers/tag.tsx": () => import("./tag-L840ajgo.js"), "./renderers/text.tsx": () => import("./text-DLPZ6wBd.js"), "./renderers/textInput.tsx": () => import("./textInput-HUNuEy_i.js"), "./renderers/vector.tsx": () => import("./vector-CvbNtZuf.js"), "./renderers/video.tsx": () => import("./video-xTqDIUyI.js") }), `./renderers/${childInstructions.rendererType}.tsx`, 3);
71
+ }
72
+ return rendererLoaders;
73
+ });
74
+ }
75
+ return null;
76
+ }
77
+ let child = React__default.createElement(rendererClass, propsForChild);
78
+ return child;
79
+ }
80
+ let rendererType = props.componentInstructions.rendererType;
81
+ const callAction = (argObj) => {
82
+ if (!argObj.componentIdx) {
83
+ argObj = { ...argObj };
84
+ argObj.componentIdx = componentIdx;
85
+ }
86
+ if (!argObj.rendererType) {
87
+ argObj = { ...argObj };
88
+ argObj.rendererType = rendererType;
89
+ }
90
+ return props.callAction(argObj);
91
+ };
92
+ return {
93
+ componentIdx: effectiveIdx,
94
+ id: prefixForIds + id,
95
+ SVs: stateValues,
96
+ docId: props.docId,
97
+ activityId: props.activityId,
98
+ actions,
99
+ children,
100
+ sourceOfUpdate,
101
+ ignoreUpdate,
102
+ rendererName,
103
+ initializeChildren: () => {
104
+ },
105
+ callAction,
106
+ doenetViewerUrl: props.doenetViewerUrl,
107
+ fetchExternalDoenetML: props.fetchExternalDoenetML,
108
+ requestScrollTo: props.requestScrollTo,
109
+ flags: props.flags
110
+ };
111
+ }
112
+ export {
113
+ useDoenetRenderer as u
114
+ };
@@ -1,5 +1,5 @@
1
- import { p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
2
- import { F as FontAwesomeIcon } from "./index.es-B8h2rGUR.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-DkNBxAz0.js";
2
+ import { F as FontAwesomeIcon } from "./index.es-CypABRSz.js";
3
3
  import { d as faSpinner, e as faLevelDownAlt, g as faCheck, h as faTimes, i as faCloud } from "./index-BDlitCgu.js";
4
4
  import React__default, { useCallback } from "react";
5
5
  function calculateValidationState(SVs) {
@@ -1,10 +1,10 @@
1
- import { z as DocContext, p as jsxRuntimeExports, A as textRendererStyle, B as DynamicMath } from "./doenetml-KneMbdUl.js";
1
+ import { z as DocContext, p as jsxRuntimeExports, A as textRendererStyle, B as DynamicMath } from "./doenetml-DkNBxAz0.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-DsED_IYR.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.js";
5
- import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-mqujNItp.js";
6
- import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-C0KNuiat.js";
7
- import { ChoiceInputInlineContext } from "./choiceInput-C_4uPa4T.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-DQTVjrtx.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BDU-5eK5.js";
5
+ import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-CTIrmN47.js";
6
+ import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-DpzEIj07.js";
7
+ import { ChoiceInputInlineContext } from "./choiceInput-Cd7-mcB4.js";
8
8
  import { a as buildLineLikeAttributes, c as buildDragHandleAttributes } from "./buildGraphicalAttributes-0RNcbd2S.js";
9
9
  import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
10
10
  import { p as pointerEventToUserCoords } from "./dragThreshold-DuSSFrIU.js";
@@ -1,10 +1,10 @@
1
- import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
1
+ import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-DkNBxAz0.js";
2
2
  import React__default, { useState, useEffect, useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-BDU-5eK5.js";
4
4
  import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
5
- import { D as DescriptionPopover, a as DescriptionAsDetails } from "./Description-D8eSeiSN.js";
5
+ import { D as DescriptionPopover, a as DescriptionAsDetails } from "./Description-TLXPXfeU.js";
6
6
  import { g as getNonInlineMediaLayoutStyles } from "./nonInlineMediaLayout-CkXHaqzo.js";
7
- import { N as NonInlineMediaWrapper } from "./NonInlineMediaWrapper-BIZiYEyJ.js";
7
+ import { N as NonInlineMediaWrapper } from "./NonInlineMediaWrapper-BENU9I75.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;