@doenet/doenetml 0.7.22-dev.442 → 0.7.22-dev.444

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 (101) hide show
  1. package/{AnswerResponseButton-DCjMDTk4.js → AnswerResponseButton-CA4L7a4o.js} +2 -2
  2. package/{Description-CTAceATx.js → Description-D1KAri6_.js} +1 -1
  3. package/{GraphFrame-DO7dDuzJ.js → GraphFrame-CS7OdwH1.js} +2 -2
  4. package/{JSXGraphRenderer-BzXi_g99.js → JSXGraphRenderer-DgSH6Em-.js} +1 -1
  5. package/{NonInlineMediaWrapper-BQb4Bh0c.js → NonInlineMediaWrapper-pXfZgr2C.js} +1 -1
  6. package/{_error-CzjNNlsE.js → _error-DqP9a_HT.js} +2 -2
  7. package/{alert-CGw0aQhB.js → alert-8e_2IDwp.js} +3 -3
  8. package/{angle-btCfWYz9.js → angle-hABOcGsL.js} +6 -6
  9. package/{answer-RDkvhS_k.js → answer-B8uIWNzu.js} +5 -5
  10. package/{asList-QsvtmjGf.js → asList-EWmdB3HX.js} +2 -2
  11. package/{blockQuote-CPA4zeyP.js → blockQuote-D2lZ537m.js} +3 -3
  12. package/{boolean-CmrR9NJq.js → boolean-BJ88UXTq.js} +2 -2
  13. package/{booleanInput-BBNlCNtT.js → booleanInput-CPa277Yu.js} +6 -6
  14. package/{br-CxnI1I4V.js → br-D7fRW_qy.js} +2 -2
  15. package/{button-CltvuTwV.js → button-DZxxPNQe.js} +4 -4
  16. package/{c-CSydY5w6.js → c-C8gZZvyf.js} +3 -3
  17. package/{cell-ri5Wcv3u.js → cell-Bk-KUza3.js} +3 -3
  18. package/{choiceInput-BhZkDEKf.js → choiceInput-DIDA1Ahw.js} +4 -4
  19. package/{circle-D5Wj9LX4.js → circle-CnQ9mOXh.js} +6 -6
  20. package/{cobwebPolyline-l2jdpNKY.js → cobwebPolyline-B8IiaY9W.js} +4 -4
  21. package/{codeEditor-BbScBkcJ.js → codeEditor-zQxvJCk1.js} +2 -2
  22. package/{composites-C9SJZrgM.js → composites-BqhfAODL.js} +1 -1
  23. package/{containerBlock-C9tMj6CN.js → containerBlock-Dvm3Qb_I.js} +4 -4
  24. package/{containerInline-ClsjSXyq.js → containerInline-CflIt3aE.js} +4 -4
  25. package/{curve-CCpEIKyx.js → curve-CRSJTbRI.js} +4 -4
  26. package/{doenetml-D74uBf1m.js → doenetml-DU8CSF9t.js} +5 -5
  27. package/doenetml-external-worker.js +2 -2
  28. package/doenetml-inline-worker.js +2 -2
  29. package/{ellipsis-Bg6iheX4.js → ellipsis-XSX1GAkK.js} +2 -2
  30. package/{em-DHKP8k2Q.js → em-9x8N3DUp.js} +3 -3
  31. package/{embed-Db4y_vPk.js → embed-BzE32KzP.js} +2 -2
  32. package/{feedback-FUdQ-zui.js → feedback-BZIW6UXv.js} +4 -4
  33. package/{figure-C_5Tykez.js → figure-CYk6nlar.js} +3 -3
  34. package/{fillPatterns-BbHOSpaJ.js → fillPatterns-XwPsRKRf.js} +1 -1
  35. package/{footnote-XqJ3xA0-.js → footnote-BAWVl7p2.js} +3 -3
  36. package/{fractionInput-CE-nkfVh.js → fractionInput-DB8chZT1.js} +4 -4
  37. package/{graph-kQvymrMJ.js → graph-Dd9xnFyR.js} +6 -6
  38. package/{hint-DgKouk6P.js → hint-hdGxrF0e.js} +4 -4
  39. package/{hr-56OjAa_R.js → hr-ha2F190k.js} +2 -2
  40. package/{image-CkllfZk1.js → image-D_KYhLeW.js} +7 -7
  41. package/{index-DeXrmQE7.js → index-Baff_z0z.js} +1 -1
  42. package/{index.es-hGsBiv8P.js → index.es-B9RSAk-I.js} +1 -1
  43. package/index.js +1 -1
  44. package/{label-DJntns7Q.js → label-DnImtFvZ.js} +6 -6
  45. package/{labelWithLatex-Dpy78NYt.js → labelWithLatex-Cbdx0v5u.js} +1 -1
  46. package/{legend-CjhaEsIo.js → legend-NKA-9Thd.js} +4 -4
  47. package/{line-CbKJFEaY.js → line-3vAXaMn-.js} +6 -6
  48. package/{lineFamilyDragHandlers-D19jSo_T.js → lineFamilyDragHandlers-DKtUHfMO.js} +1 -1
  49. package/{lineSegment-COCKF8OH.js → lineSegment-Dcze5uZI.js} +5 -5
  50. package/{list-C8jLoxT4.js → list-FEVMza62.js} +4 -4
  51. package/{lq-DDzV1Q4U.js → lq-CMgSXV5k.js} +2 -2
  52. package/{lsq-BojIAg_K.js → lsq-BuQq1O_A.js} +2 -2
  53. package/{markupRenderer-DMVJAcMJ.js → markupRenderer-DeIwhNCL.js} +1 -1
  54. package/{math-C-NsoYlF.js → math-LuqDDM2G.js} +6 -6
  55. package/{mathInput-DTG1y-pl.js → mathInput-D47jp3rC.js} +7 -7
  56. package/{matrixInput-DYw0tIFL.js → matrixInput-DCbKIg-R.js} +4 -4
  57. package/{mdash-CYQzidiO.js → mdash-J_w9GhEA.js} +2 -2
  58. package/{nbsp-ceTYBYn5.js → nbsp-BoB3BHKi.js} +2 -2
  59. package/{ndash-D2roB2Mn.js → ndash-DONJGSnd.js} +2 -2
  60. package/{number-BJdeeqJr.js → number-DaWXPdfu.js} +6 -6
  61. package/{orbitalDiagram-EemCPegH.js → orbitalDiagram-Crcn8htf.js} +2 -2
  62. package/{orbitalDiagramInput-2IS-teNs.js → orbitalDiagramInput-BQso-GVB.js} +2 -2
  63. package/{p-Dv8u-PIc.js → p-MkdaxhSf.js} +4 -4
  64. package/package.json +1 -1
  65. package/{paginatorControls-Cuy7kMjK.js → paginatorControls-C_bi74a3.js} +2 -2
  66. package/{pegboard-DIQbvx1O.js → pegboard-BJ47uXpn.js} +4 -4
  67. package/{point-DdDRRbLk.js → point-BXhho0XD.js} +6 -6
  68. package/{polygon-Bkqm0Vjo.js → polygon-BCnc2O1Y.js} +6 -6
  69. package/{polyline-CCxGjupZ.js → polyline-BJ-jby7W.js} +5 -5
  70. package/{pre-DeszjuNZ.js → pre-C_ynD7Go.js} +3 -3
  71. package/{prefigure-BIntVB78.js → prefigure-D1Y1NTPp.js} +1 -1
  72. package/{pretzel-D-jDNwQj.js → pretzel-3Qy8iB8r.js} +4 -4
  73. package/{q-uCbLIJmw.js → q-HHmebLeo.js} +3 -3
  74. package/{ray-WO0k577n.js → ray-Blji26hY.js} +5 -5
  75. package/{ref-Cp-2n2rm.js → ref-U7l2AKl3.js} +2 -2
  76. package/{regionBetweenCurveXAxis-B2ISm8p_.js → regionBetweenCurveXAxis-DLueRGMS.js} +5 -5
  77. package/{regionBetweenCurves-BOBSl-HA.js → regionBetweenCurves-CF0OoExY.js} +5 -5
  78. package/{row-CZC2SjKu.js → row-C78hgRf9.js} +2 -2
  79. package/{rq-CVtSIk2A.js → rq-CWgDM0my.js} +2 -2
  80. package/{rsq-B31qjPlp.js → rsq-C8LvpbTJ.js} +2 -2
  81. package/{section-DH_cDX7W.js → section-BVTMDSAz.js} +5 -5
  82. package/{sha256-Bzrm4-tO-DQ0ZjusA.js → sha256-Bzrm4-tO-9Sy5jYSe.js} +1 -1
  83. package/{sideBySide-DcSE_zrI.js → sideBySide-C52S3klc.js} +2 -2
  84. package/{slider-B2sTgqLl.js → slider-BU6EQDAy.js} +3 -3
  85. package/{solution-D_D7vob1.js → solution-B0FNjgTa.js} +4 -4
  86. package/{spreadsheet-CBSLb_kV.js → spreadsheet-FoDM8G33.js} +2 -2
  87. package/{sq-cOFlZ9wA.js → sq-eZJFFGI1.js} +3 -3
  88. package/{subsetOfRealsInput-Dx4xkCQg.js → subsetOfRealsInput-DkFVlpvM.js} +2 -2
  89. package/{summaryStatistics-CFtBN5xt.js → summaryStatistics-DG6OFwCQ.js} +2 -2
  90. package/{table-33pW6XMT.js → table-b-LADdAl.js} +2 -2
  91. package/{tabular-Cx_ItUn6.js → tabular-Do7Z6U-h.js} +2 -2
  92. package/{tag-CWizH0ZR.js → tag-sPNfs6uN.js} +2 -2
  93. package/{text-C69OVzqT.js → text-C6SFazdX.js} +6 -6
  94. package/{textInput-CBydMizs.js → textInput-BnNwjIYA.js} +6 -6
  95. package/{tooltip-provider-sdB-Y1pa.js → tooltip-provider-ZuMfKaSc.js} +1 -1
  96. package/{useAnchoredGraphDragHandler-CS1ZRN0t.js → useAnchoredGraphDragHandler-CjoaIjvc.js} +1 -1
  97. package/useDoenetRenderer-CUd4biwl.js +114 -0
  98. package/{useSubmitActionWithDelay-BbvwSW2W.js → useSubmitActionWithDelay-CFbFE5uC.js} +2 -2
  99. package/{vector-DPb2I2bA.js → vector-CFc8rMbI.js} +6 -6
  100. package/{video-C2Q1JjUw.js → video-vS8MNaYa.js} +4 -4
  101. package/useDoenetRenderer-CEoiyWnx.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-D74uBf1m.js";
1
+ import { u as useT, F as useContentT, t as useChromeLangDir, G as useRecordVisibilityChanges, z as DocContext, p as jsxRuntimeExports } from "./doenetml-DU8CSF9t.js";
2
2
  import React__default, { useRef, useContext } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CEoiyWnx.js";
4
- import { A as AnswerResponseButton } from "./AnswerResponseButton-DCjMDTk4.js";
5
- import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-BbvwSW2W.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-CUd4biwl.js";
4
+ import { A as AnswerResponseButton } from "./AnswerResponseButton-CA4L7a4o.js";
5
+ import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-CFbFE5uC.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-D74uBf1m.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-DU8CSF9t.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CEoiyWnx.js";
4
- import { r as renderMarkupBody } from "./markupRenderer-DMVJAcMJ.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-CUd4biwl.js";
4
+ import { r as renderMarkupBody } from "./markupRenderer-DeIwhNCL.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-D74uBf1m.js";
1
+ import { z as DocContext, p as jsxRuntimeExports } from "./doenetml-DU8CSF9t.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-BzXi_g99.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CEoiyWnx.js";
5
- import { BoardContext, LINE_LAYER_OFFSET } from "./graph-kQvymrMJ.js";
6
- import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-D19jSo_T.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-DgSH6Em-.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-CUd4biwl.js";
5
+ import { BoardContext, LINE_LAYER_OFFSET } from "./graph-Dd9xnFyR.js";
6
+ import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-DKtUHfMO.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-D74uBf1m.js";
1
+ import { z as DocContext, p as jsxRuntimeExports } from "./doenetml-DU8CSF9t.js";
2
2
  import React__default, { useContext, useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CEoiyWnx.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-CUd4biwl.js";
4
4
  const ref = React__default.memo(function Ref(props) {
5
5
  const { id, SVs, children, requestScrollTo } = useDoenetRenderer(props);
6
6
  const { doenetViewerUrl } = useContext(DocContext) || {};
@@ -1,9 +1,9 @@
1
- import { z as DocContext, K as createFunctionFromDefinition, p as jsxRuntimeExports } from "./doenetml-D74uBf1m.js";
1
+ import { z as DocContext, K as createFunctionFromDefinition, p as jsxRuntimeExports } from "./doenetml-DU8CSF9t.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-BzXi_g99.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CEoiyWnx.js";
5
- import { BoardContext, LINE_LAYER_OFFSET } from "./graph-kQvymrMJ.js";
6
- import { g as getPatternFillAttributes } from "./fillPatterns-BbHOSpaJ.js";
3
+ import { j as jxg, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-DgSH6Em-.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-CUd4biwl.js";
5
+ import { BoardContext, LINE_LAYER_OFFSET } from "./graph-Dd9xnFyR.js";
6
+ import { g as getPatternFillAttributes } from "./fillPatterns-XwPsRKRf.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-D74uBf1m.js";
1
+ import { z as DocContext, K as createFunctionFromDefinition, p as jsxRuntimeExports } from "./doenetml-DU8CSF9t.js";
2
2
  import React__default, { useContext, useRef, useEffect } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CEoiyWnx.js";
4
- import { BoardContext, LINE_LAYER_OFFSET } from "./graph-kQvymrMJ.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-CUd4biwl.js";
4
+ import { BoardContext, LINE_LAYER_OFFSET } from "./graph-Dd9xnFyR.js";
5
5
  import { s as styleToDash } from "./styleToDash-DWb71gbd.js";
6
- import { g as getPatternFillAttributes } from "./fillPatterns-BbHOSpaJ.js";
6
+ import { g as getPatternFillAttributes } from "./fillPatterns-XwPsRKRf.js";
7
7
  import { b as resolveCanvasColor } from "./styleColors-Cknqcr0q.js";
8
- import { b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-BzXi_g99.js";
8
+ import { b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-DgSH6Em-.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-D74uBf1m.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-DU8CSF9t.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CEoiyWnx.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-CUd4biwl.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-D74uBf1m.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-DU8CSF9t.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CEoiyWnx.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-CUd4biwl.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-D74uBf1m.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-DU8CSF9t.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CEoiyWnx.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-CUd4biwl.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-D74uBf1m.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-DU8CSF9t.js";
2
2
  import React__default, { useContext, useRef, useEffect } from "react";
3
- import { F as FontAwesomeIcon } from "./index.es-hGsBiv8P.js";
3
+ import { F as FontAwesomeIcon } from "./index.es-B9RSAk-I.js";
4
4
  import { f as faCaretDown, a as faCaretRight } from "./index-BDlitCgu.js";
5
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CEoiyWnx.js";
6
- import { a as addCommasForCompositeRanges } from "./composites-C9SJZrgM.js";
7
- import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-BbvwSW2W.js";
5
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-CUd4biwl.js";
6
+ import { a as addCommasForCompositeRanges } from "./composites-BqhfAODL.js";
7
+ import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-CFbFE5uC.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-D74uBf1m.js";
1
+ import { o as getDefaultExportFromCjs } from "./doenetml-DU8CSF9t.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-D74uBf1m.js";
1
+ import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-DU8CSF9t.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CEoiyWnx.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-CUd4biwl.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-D74uBf1m.js";
1
+ import { u as useT, p as jsxRuntimeExports, R as ActionButtonGroup, S as ActionButton, H as Context } from "./doenetml-DU8CSF9t.js";
2
2
  import React__default, { useState, useRef, useEffect } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CEoiyWnx.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-CUd4biwl.js";
4
4
  import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
5
- import { r as renderLabelWithLatex } from "./labelWithLatex-Dpy78NYt.js";
5
+ import { r as renderLabelWithLatex } from "./labelWithLatex-Cbdx0v5u.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-D74uBf1m.js";
1
+ import { u as useT, G as useRecordVisibilityChanges, t as useChromeLangDir, p as jsxRuntimeExports } from "./doenetml-DU8CSF9t.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CEoiyWnx.js";
4
- import { F as FontAwesomeIcon } from "./index.es-hGsBiv8P.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-CUd4biwl.js";
4
+ import { F as FontAwesomeIcon } from "./index.es-B9RSAk-I.js";
5
5
  import { c as faPuzzlePiece } from "./index-BDlitCgu.js";
6
- import { a as addCommasForCompositeRanges } from "./composites-C9SJZrgM.js";
6
+ import { a as addCommasForCompositeRanges } from "./composites-BqhfAODL.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-D74uBf1m.js";
1
+ import { z as DocContext, G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-DU8CSF9t.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-CEoiyWnx.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-CUd4biwl.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-D74uBf1m.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-DU8CSF9t.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CEoiyWnx.js";
4
- import { r as renderMarkupBody } from "./markupRenderer-DMVJAcMJ.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-CUd4biwl.js";
4
+ import { r as renderMarkupBody } from "./markupRenderer-DeIwhNCL.js";
5
5
  const sq = React__default.memo(function Sq(props) {
6
6
  const { SVs, children } = useDoenetRenderer(props);
7
7
  const body = renderMarkupBody({ SVs, children });
@@ -1,6 +1,6 @@
1
- import { u as useT, G as useRecordVisibilityChanges, p as jsxRuntimeExports, W as ToggleButtonGroup, U as ToggleButton, R as ActionButtonGroup, S as ActionButton } from "./doenetml-D74uBf1m.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-DU8CSF9t.js";
2
2
  import React__default, { useState, useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CEoiyWnx.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-CUd4biwl.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-D74uBf1m.js";
1
+ import { u as useT, t as useChromeLangDir, G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-DU8CSF9t.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CEoiyWnx.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-CUd4biwl.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-D74uBf1m.js";
1
+ import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-DU8CSF9t.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CEoiyWnx.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-CUd4biwl.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-D74uBf1m.js";
1
+ import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-DU8CSF9t.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CEoiyWnx.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-CUd4biwl.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-D74uBf1m.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-DU8CSF9t.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CEoiyWnx.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-CUd4biwl.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-D74uBf1m.js";
1
+ import { z as DocContext, H as Context, p as jsxRuntimeExports, A as textRendererStyle } from "./doenetml-DU8CSF9t.js";
2
2
  import React__default, { useRef, useContext } from "react";
3
- import { j as jxg } from "./JSXGraphRenderer-BzXi_g99.js";
4
- import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-kQvymrMJ.js";
5
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CEoiyWnx.js";
3
+ import { j as jxg } from "./JSXGraphRenderer-DgSH6Em-.js";
4
+ import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-Dd9xnFyR.js";
5
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-CUd4biwl.js";
6
6
  import { g as getPositionFromAnchorByCoordinate } from "./graph-W6vrFcBu.js";
7
- import { ChoiceInputInlineContext } from "./choiceInput-BhZkDEKf.js";
7
+ import { ChoiceInputInlineContext } from "./choiceInput-DIDA1Ahw.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-CS1ZRN0t.js";
10
+ import { d as detachAnchoredGraphElement, a as attachAnchoredGraphDragHandlers } from "./useAnchoredGraphDragHandler-CjoaIjvc.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-D74uBf1m.js";
1
+ import { F as useContentT, H as Context, p as jsxRuntimeExports, T as MathJax } from "./doenetml-DU8CSF9t.js";
2
2
  import { useState, useRef, useContext, useEffect } from "react";
3
- import { j as jxg } from "./JSXGraphRenderer-BzXi_g99.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CEoiyWnx.js";
3
+ import { j as jxg } from "./JSXGraphRenderer-DgSH6Em-.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-CUd4biwl.js";
5
5
  import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
6
- import { BoardContext } from "./graph-kQvymrMJ.js";
6
+ import { BoardContext } from "./graph-Dd9xnFyR.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-BbvwSW2W.js";
9
- import { D as DescriptionPopover } from "./Description-CTAceATx.js";
8
+ import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-CFbFE5uC.js";
9
+ import { D as DescriptionPopover } from "./Description-D1KAri6_.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-D74uBf1m.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-DU8CSF9t.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-BzXi_g99.js";
1
+ import { r as removeJXGEventHandlers, L as LINE_FAMILY_EVENTS, j as jxg } from "./JSXGraphRenderer-DgSH6Em-.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-DU8CSF9t.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-CS7OdwH1.js"), "./renderers/JSXGraphRenderer.tsx": () => import("./JSXGraphRenderer-DgSH6Em-.js").then((n) => n.m), "./renderers/_error.tsx": () => import("./_error-DqP9a_HT.js"), "./renderers/alert.tsx": () => import("./alert-8e_2IDwp.js"), "./renderers/angle.tsx": () => import("./angle-hABOcGsL.js"), "./renderers/answer.tsx": () => import("./answer-B8uIWNzu.js"), "./renderers/asList.tsx": () => import("./asList-EWmdB3HX.js"), "./renderers/blockQuote.tsx": () => import("./blockQuote-D2lZ537m.js"), "./renderers/boolean.tsx": () => import("./boolean-BJ88UXTq.js"), "./renderers/booleanInput.tsx": () => import("./booleanInput-CPa277Yu.js"), "./renderers/br.tsx": () => import("./br-D7fRW_qy.js"), "./renderers/button.tsx": () => import("./button-DZxxPNQe.js"), "./renderers/c.tsx": () => import("./c-C8gZZvyf.js"), "./renderers/cell.tsx": () => import("./cell-Bk-KUza3.js"), "./renderers/choiceInput.tsx": () => import("./choiceInput-DIDA1Ahw.js"), "./renderers/circle.tsx": () => import("./circle-CnQ9mOXh.js"), "./renderers/cobwebPolyline.tsx": () => import("./cobwebPolyline-B8IiaY9W.js"), "./renderers/codeEditor.tsx": () => import("./codeEditor-zQxvJCk1.js"), "./renderers/containerBlock.tsx": () => import("./containerBlock-Dvm3Qb_I.js"), "./renderers/containerInline.tsx": () => import("./containerInline-CflIt3aE.js"), "./renderers/curve.tsx": () => import("./curve-CRSJTbRI.js"), "./renderers/ellipsis.tsx": () => import("./ellipsis-XSX1GAkK.js"), "./renderers/em.tsx": () => import("./em-9x8N3DUp.js"), "./renderers/embed.tsx": () => import("./embed-BzE32KzP.js"), "./renderers/feedback.tsx": () => import("./feedback-BZIW6UXv.js"), "./renderers/figure.tsx": () => import("./figure-CYk6nlar.js"), "./renderers/footnote.tsx": () => import("./footnote-BAWVl7p2.js"), "./renderers/fractionInput.tsx": () => import("./fractionInput-DB8chZT1.js"), "./renderers/graph.tsx": () => import("./graph-Dd9xnFyR.js"), "./renderers/hint.tsx": () => import("./hint-hdGxrF0e.js"), "./renderers/hr.tsx": () => import("./hr-ha2F190k.js"), "./renderers/image.tsx": () => import("./image-D_KYhLeW.js"), "./renderers/label.tsx": () => import("./label-DnImtFvZ.js"), "./renderers/legend.tsx": () => import("./legend-NKA-9Thd.js"), "./renderers/line.tsx": () => import("./line-3vAXaMn-.js"), "./renderers/lineSegment.tsx": () => import("./lineSegment-Dcze5uZI.js"), "./renderers/list.tsx": () => import("./list-FEVMza62.js"), "./renderers/lq.tsx": () => import("./lq-CMgSXV5k.js"), "./renderers/lsq.tsx": () => import("./lsq-BuQq1O_A.js"), "./renderers/math.tsx": () => import("./math-LuqDDM2G.js"), "./renderers/mathInput.tsx": () => import("./mathInput-D47jp3rC.js"), "./renderers/matrixInput.tsx": () => import("./matrixInput-DCbKIg-R.js"), "./renderers/mdash.tsx": () => import("./mdash-J_w9GhEA.js"), "./renderers/nbsp.tsx": () => import("./nbsp-BoB3BHKi.js"), "./renderers/ndash.tsx": () => import("./ndash-DONJGSnd.js"), "./renderers/number.tsx": () => import("./number-DaWXPdfu.js"), "./renderers/orbitalDiagram.tsx": () => import("./orbitalDiagram-Crcn8htf.js"), "./renderers/orbitalDiagramInput.tsx": () => import("./orbitalDiagramInput-BQso-GVB.js"), "./renderers/p.tsx": () => import("./p-MkdaxhSf.js"), "./renderers/paginatorControls.tsx": () => import("./paginatorControls-C_bi74a3.js"), "./renderers/pegboard.tsx": () => import("./pegboard-BJ47uXpn.js"), "./renderers/point.tsx": () => import("./point-BXhho0XD.js"), "./renderers/polygon.tsx": () => import("./polygon-BCnc2O1Y.js"), "./renderers/polyline.tsx": () => import("./polyline-BJ-jby7W.js"), "./renderers/pre.tsx": () => import("./pre-C_ynD7Go.js"), "./renderers/prefigure.tsx": () => import("./prefigure-D1Y1NTPp.js"), "./renderers/pretzel.tsx": () => import("./pretzel-3Qy8iB8r.js"), "./renderers/q.tsx": () => import("./q-HHmebLeo.js"), "./renderers/ray.tsx": () => import("./ray-Blji26hY.js"), "./renderers/ref.tsx": () => import("./ref-U7l2AKl3.js"), "./renderers/regionBetweenCurveXAxis.tsx": () => import("./regionBetweenCurveXAxis-DLueRGMS.js"), "./renderers/regionBetweenCurves.tsx": () => import("./regionBetweenCurves-CF0OoExY.js"), "./renderers/row.tsx": () => import("./row-C78hgRf9.js"), "./renderers/rq.tsx": () => import("./rq-CWgDM0my.js"), "./renderers/rsq.tsx": () => import("./rsq-C8LvpbTJ.js"), "./renderers/section.tsx": () => import("./section-BVTMDSAz.js"), "./renderers/sideBySide.tsx": () => import("./sideBySide-C52S3klc.js"), "./renderers/slider.tsx": () => import("./slider-BU6EQDAy.js"), "./renderers/solution.tsx": () => import("./solution-B0FNjgTa.js"), "./renderers/spreadsheet.tsx": () => import("./spreadsheet-FoDM8G33.js"), "./renderers/sq.tsx": () => import("./sq-eZJFFGI1.js"), "./renderers/subsetOfRealsInput.tsx": () => import("./subsetOfRealsInput-DkFVlpvM.js"), "./renderers/summaryStatistics.tsx": () => import("./summaryStatistics-DG6OFwCQ.js"), "./renderers/table.tsx": () => import("./table-b-LADdAl.js"), "./renderers/tabular.tsx": () => import("./tabular-Do7Z6U-h.js"), "./renderers/tag.tsx": () => import("./tag-sPNfs6uN.js"), "./renderers/text.tsx": () => import("./text-C6SFazdX.js"), "./renderers/textInput.tsx": () => import("./textInput-BnNwjIYA.js"), "./renderers/vector.tsx": () => import("./vector-CFc8rMbI.js"), "./renderers/video.tsx": () => import("./video-vS8MNaYa.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-D74uBf1m.js";
2
- import { F as FontAwesomeIcon } from "./index.es-hGsBiv8P.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-DU8CSF9t.js";
2
+ import { F as FontAwesomeIcon } from "./index.es-B9RSAk-I.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-D74uBf1m.js";
1
+ import { z as DocContext, p as jsxRuntimeExports, A as textRendererStyle, B as DynamicMath } from "./doenetml-DU8CSF9t.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-BzXi_g99.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CEoiyWnx.js";
5
- import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-kQvymrMJ.js";
6
- import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-D19jSo_T.js";
7
- import { ChoiceInputInlineContext } from "./choiceInput-BhZkDEKf.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-DgSH6Em-.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-CUd4biwl.js";
5
+ import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-Dd9xnFyR.js";
6
+ import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-DKtUHfMO.js";
7
+ import { ChoiceInputInlineContext } from "./choiceInput-DIDA1Ahw.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-D74uBf1m.js";
1
+ import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-DU8CSF9t.js";
2
2
  import React__default, { useState, useEffect, useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CEoiyWnx.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-CUd4biwl.js";
4
4
  import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
5
- import { D as DescriptionPopover, a as DescriptionAsDetails } from "./Description-CTAceATx.js";
5
+ import { D as DescriptionPopover, a as DescriptionAsDetails } from "./Description-D1KAri6_.js";
6
6
  import { g as getNonInlineMediaLayoutStyles } from "./nonInlineMediaLayout-CkXHaqzo.js";
7
- import { N as NonInlineMediaWrapper } from "./NonInlineMediaWrapper-BQb4Bh0c.js";
7
+ import { N as NonInlineMediaWrapper } from "./NonInlineMediaWrapper-pXfZgr2C.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;