@doenet/doenetml 0.7.23-dev.447 → 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 (102) hide show
  1. package/{AnswerResponseButton-BnyushMf.js → AnswerResponseButton-DbNiBj8k.js} +2 -2
  2. package/{Description-BHX0hDi7.js → Description-TLXPXfeU.js} +1 -1
  3. package/{GraphFrame-Be2S86p5.js → GraphFrame-D89bZdpF.js} +2 -2
  4. package/{JSXGraphRenderer-CfML1Caq.js → JSXGraphRenderer-DQTVjrtx.js} +1 -1
  5. package/{NonInlineMediaWrapper-Bi6yrrb9.js → NonInlineMediaWrapper-BENU9I75.js} +1 -1
  6. package/{_error-BvnJu25Y.js → _error-CrypPplw.js} +2 -2
  7. package/{alert-BqXZF8VD.js → alert-B7x8cDOW.js} +3 -3
  8. package/{angle-C1tHpiwW.js → angle-nS1UsMP2.js} +6 -6
  9. package/{answer-IB4Rz26v.js → answer-CF1kE9Sx.js} +5 -5
  10. package/{asList-Dos4GJ-x.js → asList-C73Lf9pa.js} +2 -2
  11. package/{blockQuote-CHUd4Qcy.js → blockQuote-DN2pPukA.js} +3 -3
  12. package/{boolean-BSZg9n0k.js → boolean-Drsm-s4v.js} +2 -2
  13. package/{booleanInput-BDxn-2f2.js → booleanInput-DI7s__P1.js} +6 -6
  14. package/{br-NQ820K9v.js → br-CrYTiv7s.js} +2 -2
  15. package/{button-DIkTPWB8.js → button-LlwLCYzn.js} +4 -4
  16. package/{c-C7oTafeh.js → c-DAE8HRrN.js} +3 -3
  17. package/{cell-CZ9YxOoT.js → cell-BfuqcX9L.js} +3 -3
  18. package/{choiceInput-C2OCYTFb.js → choiceInput-Cd7-mcB4.js} +4 -4
  19. package/{circle-lHVf-Rnj.js → circle-DWoaVv-k.js} +6 -6
  20. package/{cobwebPolyline-BHRXeCQK.js → cobwebPolyline-Cw48wWFR.js} +4 -4
  21. package/{codeEditor-D9514mjE.js → codeEditor-DIFXynXS.js} +2 -2
  22. package/{composites-CkJBGhYQ.js → composites-CHJxj_59.js} +1 -1
  23. package/{containerBlock-tSdyTT-w.js → containerBlock-BCn-cKWE.js} +4 -4
  24. package/{containerInline-BJyYO7iT.js → containerInline-DyFm0Cpb.js} +4 -4
  25. package/{curve-DVYbwAwj.js → curve-D_5OoWwJ.js} +4 -4
  26. package/{doenetml-Cl4m-iIr.js → doenetml-DkNBxAz0.js} +5 -5
  27. package/doenetml-external-worker.js +2 -2
  28. package/doenetml-inline-worker.js +2 -2
  29. package/{ellipsis-D-irnNHU.js → ellipsis-Bh5h6fP5.js} +2 -2
  30. package/{em-Bw9IG3qb.js → em-DKV1i1sZ.js} +3 -3
  31. package/{embed-ySzwkGz8.js → embed-ByfTYKXh.js} +2 -2
  32. package/{feedback-CoD3yjRP.js → feedback-BvuC_En7.js} +4 -4
  33. package/{figure-Cyotiyyn.js → figure-CJpZcwLL.js} +3 -3
  34. package/{fillPatterns-fEJQ_kwx.js → fillPatterns-OOb8UosT.js} +1 -1
  35. package/{footnote-DVK13b4D.js → footnote-CR0YMMAy.js} +3 -3
  36. package/{fractionInput-dl7UZUSM.js → fractionInput-Cf4dEwiI.js} +4 -4
  37. package/{graph-BfKVz-Kv.js → graph-CTIrmN47.js} +6 -6
  38. package/{hint-Cei5qC42.js → hint-D-JFwvYR.js} +4 -4
  39. package/{hr-CUHGQ_Be.js → hr-Cbd62XoO.js} +2 -2
  40. package/{image-CD-D_kAW.js → image-9F5CEsMY.js} +7 -7
  41. package/{index-bTQFB_cq.js → index-Cz9X833I.js} +1 -1
  42. package/{index.es-BX48x60Y.js → index.es-CypABRSz.js} +1 -1
  43. package/index.js +1 -1
  44. package/{label-BJGSkKnV.js → label-GT7PuIKl.js} +6 -6
  45. package/{labelWithLatex-Dd7dwoNh.js → labelWithLatex-DWMfYcAF.js} +1 -1
  46. package/{legend-BJv57uMk.js → legend-D7dr5BdZ.js} +4 -4
  47. package/{line-B7P9Ganl.js → line-CiGVZxtk.js} +6 -6
  48. package/{lineFamilyDragHandlers-DLuemdFl.js → lineFamilyDragHandlers-DpzEIj07.js} +1 -1
  49. package/{lineSegment-DTw_x5H9.js → lineSegment-DWwA221l.js} +5 -5
  50. package/{list-D9FSChcK.js → list-BIyPcRJk.js} +4 -4
  51. package/{lq-DuoHc0MU.js → lq-Azr0Ks4I.js} +2 -2
  52. package/{lsq-B7Mmh07r.js → lsq-DsyYX2X4.js} +2 -2
  53. package/{markupRenderer-DJM0buzW.js → markupRenderer-COg9WapN.js} +1 -1
  54. package/{math-C4BhqPcT.js → math-BAsu6FV3.js} +6 -6
  55. package/{mathInput-BV8hw5GI.js → mathInput-B2gGhewy.js} +7 -7
  56. package/{matrixInput-BFTfrKzf.js → matrixInput-S3ajaFPA.js} +4 -4
  57. package/{mdash-4IBt_kF2.js → mdash-BGhm6JuY.js} +2 -2
  58. package/{nbsp-CUd0IXJc.js → nbsp-DGox--rO.js} +2 -2
  59. package/{ndash-6DN51M90.js → ndash-xYdPONFz.js} +2 -2
  60. package/{number-CIuRBvhG.js → number-D0RH-QTY.js} +6 -6
  61. package/{orbitalDiagram-DuVvhurQ.js → orbitalDiagram-CNo34dod.js} +2 -2
  62. package/{orbitalDiagramInput-C9foaDXH.js → orbitalDiagramInput-DYTyoG_K.js} +2 -2
  63. package/{p-CfZmbInH.js → p-DNKng4EV.js} +4 -4
  64. package/package.json +1 -1
  65. package/{paginatorControls-DG2OYXYe.js → paginatorControls-CWyU5YAO.js} +2 -2
  66. package/{pegboard-DFbZmvAo.js → pegboard-DsTuM0-N.js} +4 -4
  67. package/{point-D81EFDo_.js → point-CzYh4Rvu.js} +6 -6
  68. package/{polygon-Bl3hf2mb.js → polygon-B4-OupmM.js} +6 -6
  69. package/{polyline-NZ9fpD9F.js → polyline-DXMgkzTv.js} +5 -5
  70. package/{pre-4Tt7zrK4.js → pre-Cc0fmCpk.js} +3 -3
  71. package/{prefigure-ChUWo_4X.js → prefigure-2n6_DGuM.js} +1 -1
  72. package/{pretzel-B3sXb45R.js → pretzel-CjrR5RtZ.js} +4 -4
  73. package/{q-HCsGnSIH.js → q-BJVM77xN.js} +3 -3
  74. package/{ray-BUQJnyuA.js → ray-COdyCHKe.js} +5 -5
  75. package/{ref-BBGzuJYH.js → ref-BUPIPzBy.js} +3 -3
  76. package/{regionBetweenCurveXAxis-B3xgD3lv.js → regionBetweenCurveXAxis-DWJYviFe.js} +5 -5
  77. package/{regionBetweenCurves-C356BuQg.js → regionBetweenCurves-C2RVk-uD.js} +5 -5
  78. package/{row-Dh0Hl7yp.js → row-Ce7_QKC-.js} +2 -2
  79. package/{rq-BLZqMXUV.js → rq-BHM0RaOX.js} +2 -2
  80. package/{rsq-D1_dDM5K.js → rsq-DuPwKoIR.js} +2 -2
  81. package/{section-Dgz5ex1-.js → section-Bp0ea4J2.js} +5 -5
  82. package/{sha256-Bzrm4-tO-DBGBRntE.js → sha256-Bzrm4-tO-iA-1AZnY.js} +1 -1
  83. package/{sideBySide-0Cw0viXe.js → sideBySide-E8RIHgtt.js} +2 -2
  84. package/{slider-CLhZx0KJ.js → slider-B354RRUs.js} +3 -3
  85. package/{solution-6X5RRJuq.js → solution-Czj5O0lh.js} +4 -4
  86. package/{spreadsheet-Dp3tMmkQ.js → spreadsheet-D6q_ccK1.js} +2 -2
  87. package/{sq-D7BAf7W-.js → sq-DoTFhRgW.js} +3 -3
  88. package/style.css +34 -15
  89. package/{subsetOfRealsInput-BvBK_Jd5.js → subsetOfRealsInput-DTolYMhe.js} +2 -2
  90. package/{summaryStatistics-BJUnMS8R.js → summaryStatistics-Beg3cGYV.js} +2 -2
  91. package/{table-9CsK8tcI.js → table-B7aXOHCt.js} +2 -2
  92. package/{tabular-BODNZXF0.js → tabular-Dl55a0Ge.js} +2 -2
  93. package/{tag-C4r4-oVg.js → tag-L840ajgo.js} +2 -2
  94. package/{text-bshUf4sW.js → text-DLPZ6wBd.js} +6 -6
  95. package/{textInput-C7dkbxaa.js → textInput-HUNuEy_i.js} +6 -6
  96. package/{tooltip-provider-p1KTK1vP.js → tooltip-provider-BAq58hUp.js} +1 -1
  97. package/{useAnchoredGraphDragHandler-C0OMh5dz.js → useAnchoredGraphDragHandler-DBoLCCA3.js} +1 -1
  98. package/useDoenetRenderer-BDU-5eK5.js +114 -0
  99. package/{useSubmitActionWithDelay-v7uRJBRr.js → useSubmitActionWithDelay-BLd_1yWz.js} +2 -2
  100. package/{vector-DxwNO6XW.js → vector-CvbNtZuf.js} +6 -6
  101. package/{video-C6_6fvZH.js → video-xTqDIUyI.js} +4 -4
  102. package/useDoenetRenderer-B5uCh7Ag.js +0 -114
@@ -1,8 +1,8 @@
1
- import { u as useT, F as useContentT, t as useChromeLangDir, G as useRecordVisibilityChanges, z as DocContext, p as jsxRuntimeExports } from "./doenetml-Cl4m-iIr.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-B5uCh7Ag.js";
4
- import { A as AnswerResponseButton } from "./AnswerResponseButton-BnyushMf.js";
5
- import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-v7uRJBRr.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-Cl4m-iIr.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-DkNBxAz0.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-B5uCh7Ag.js";
4
- import { r as renderMarkupBody } from "./markupRenderer-DJM0buzW.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-Cl4m-iIr.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-CfML1Caq.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-B5uCh7Ag.js";
5
- import { BoardContext, LINE_LAYER_OFFSET } from "./graph-BfKVz-Kv.js";
6
- import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-DLuemdFl.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-Cl4m-iIr.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-B5uCh7Ag.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-Cl4m-iIr.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-CfML1Caq.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-B5uCh7Ag.js";
5
- import { BoardContext, LINE_LAYER_OFFSET } from "./graph-BfKVz-Kv.js";
6
- import { g as getPatternFillAttributes } from "./fillPatterns-fEJQ_kwx.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-Cl4m-iIr.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-B5uCh7Ag.js";
4
- import { BoardContext, LINE_LAYER_OFFSET } from "./graph-BfKVz-Kv.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-fEJQ_kwx.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-CfML1Caq.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-Cl4m-iIr.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-DkNBxAz0.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-B5uCh7Ag.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-Cl4m-iIr.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-DkNBxAz0.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-B5uCh7Ag.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-Cl4m-iIr.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-DkNBxAz0.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-B5uCh7Ag.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-Cl4m-iIr.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-BX48x60Y.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-B5uCh7Ag.js";
6
- import { a as addCommasForCompositeRanges } from "./composites-CkJBGhYQ.js";
7
- import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-v7uRJBRr.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-Cl4m-iIr.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-Cl4m-iIr.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-B5uCh7Ag.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-Cl4m-iIr.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-B5uCh7Ag.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-Dd7dwoNh.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-Cl4m-iIr.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-B5uCh7Ag.js";
4
- import { F as FontAwesomeIcon } from "./index.es-BX48x60Y.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-CkJBGhYQ.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-Cl4m-iIr.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-B5uCh7Ag.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-Cl4m-iIr.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-DkNBxAz0.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-B5uCh7Ag.js";
4
- import { r as renderMarkupBody } from "./markupRenderer-DJM0buzW.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-Cl4m-iIr.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-B5uCh7Ag.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-Cl4m-iIr.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-B5uCh7Ag.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-Cl4m-iIr.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-B5uCh7Ag.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-Cl4m-iIr.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-B5uCh7Ag.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-Cl4m-iIr.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-DkNBxAz0.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-B5uCh7Ag.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-Cl4m-iIr.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-CfML1Caq.js";
4
- import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-BfKVz-Kv.js";
5
- import { u as useDoenetRenderer } from "./useDoenetRenderer-B5uCh7Ag.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-C2OCYTFb.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-C0OMh5dz.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-Cl4m-iIr.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-CfML1Caq.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-B5uCh7Ag.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-BfKVz-Kv.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-v7uRJBRr.js";
9
- import { D as DescriptionPopover } from "./Description-BHX0hDi7.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-Cl4m-iIr.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-CfML1Caq.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-Cl4m-iIr.js";
2
- import { F as FontAwesomeIcon } from "./index.es-BX48x60Y.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-Cl4m-iIr.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-CfML1Caq.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-B5uCh7Ag.js";
5
- import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-BfKVz-Kv.js";
6
- import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-DLuemdFl.js";
7
- import { ChoiceInputInlineContext } from "./choiceInput-C2OCYTFb.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-Cl4m-iIr.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-B5uCh7Ag.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-BHX0hDi7.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-Bi6yrrb9.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;