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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (103) hide show
  1. package/{AnswerResponseButton-DyWXKo6v.js → AnswerResponseButton-BnyushMf.js} +2 -2
  2. package/{Description-D8eSeiSN.js → Description-BHX0hDi7.js} +1 -1
  3. package/{GraphFrame-BLQMoTz7.js → GraphFrame-Be2S86p5.js} +2 -2
  4. package/{JSXGraphRenderer-DsED_IYR.js → JSXGraphRenderer-CfML1Caq.js} +1 -1
  5. package/{NonInlineMediaWrapper-BIZiYEyJ.js → NonInlineMediaWrapper-Bi6yrrb9.js} +1 -1
  6. package/{_error-BR4OLjxm.js → _error-BvnJu25Y.js} +2 -2
  7. package/{alert-yVdGlXkn.js → alert-BqXZF8VD.js} +3 -3
  8. package/{angle-BHMjBiYL.js → angle-C1tHpiwW.js} +6 -6
  9. package/{answer-B3MlhyK1.js → answer-IB4Rz26v.js} +5 -5
  10. package/{asList-C-QGYFna.js → asList-Dos4GJ-x.js} +2 -2
  11. package/{blockQuote-BUijb7-U.js → blockQuote-CHUd4Qcy.js} +3 -3
  12. package/{boolean-Bb0VIVoS.js → boolean-BSZg9n0k.js} +2 -2
  13. package/{booleanInput-hVFN83aA.js → booleanInput-BDxn-2f2.js} +6 -6
  14. package/{br-DwmabJPD.js → br-NQ820K9v.js} +2 -2
  15. package/{button-DTnZStCy.js → button-DIkTPWB8.js} +4 -4
  16. package/{c-Dnlt6r-1.js → c-C7oTafeh.js} +3 -3
  17. package/{cell-CdGTtaUp.js → cell-CZ9YxOoT.js} +3 -3
  18. package/{choiceInput-C_4uPa4T.js → choiceInput-C2OCYTFb.js} +4 -4
  19. package/{circle-D4puQp-K.js → circle-lHVf-Rnj.js} +6 -6
  20. package/{cobwebPolyline-pzpR8b86.js → cobwebPolyline-BHRXeCQK.js} +4 -4
  21. package/{codeEditor-Bku7Ylau.js → codeEditor-D9514mjE.js} +2 -2
  22. package/{composites-BqzFUk_h.js → composites-CkJBGhYQ.js} +1 -1
  23. package/{containerBlock-CiAsFmTu.js → containerBlock-tSdyTT-w.js} +4 -4
  24. package/{containerInline-BduAdm_w.js → containerInline-BJyYO7iT.js} +4 -4
  25. package/{curve-D9Bz5bzE.js → curve-DVYbwAwj.js} +4 -4
  26. package/{doenetml-KneMbdUl.js → doenetml-Cl4m-iIr.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-D-irnNHU.js} +2 -2
  32. package/{em-DAUgIg6f.js → em-Bw9IG3qb.js} +3 -3
  33. package/{embed-l4BxxdBO.js → embed-ySzwkGz8.js} +2 -2
  34. package/{feedback-BTZMQoBJ.js → feedback-CoD3yjRP.js} +4 -4
  35. package/{figure-QbUCbI8x.js → figure-Cyotiyyn.js} +3 -3
  36. package/{fillPatterns-O5qMvUVb.js → fillPatterns-fEJQ_kwx.js} +1 -1
  37. package/{footnote-dMsVu_z4.js → footnote-DVK13b4D.js} +3 -3
  38. package/{fractionInput-D7Eq6FLE.js → fractionInput-dl7UZUSM.js} +4 -4
  39. package/{graph-mqujNItp.js → graph-BfKVz-Kv.js} +6 -6
  40. package/{hint-CrOY6rw7.js → hint-Cei5qC42.js} +4 -4
  41. package/{hr-CC-1JDh8.js → hr-CUHGQ_Be.js} +2 -2
  42. package/{image-DxD-Pqmd.js → image-CD-D_kAW.js} +7 -7
  43. package/{index-D3aI7lEB.js → index-bTQFB_cq.js} +1 -1
  44. package/{index.es-B8h2rGUR.js → index.es-BX48x60Y.js} +1 -1
  45. package/index.js +1 -1
  46. package/{label-BUJ6Rpgu.js → label-BJGSkKnV.js} +6 -6
  47. package/{labelWithLatex-DuSUomAn.js → labelWithLatex-Dd7dwoNh.js} +1 -1
  48. package/{legend-BO--dbsh.js → legend-BJv57uMk.js} +4 -4
  49. package/{line-Dwhehwjd.js → line-B7P9Ganl.js} +6 -6
  50. package/{lineFamilyDragHandlers-C0KNuiat.js → lineFamilyDragHandlers-DLuemdFl.js} +1 -1
  51. package/{lineSegment-BUwlyA8O.js → lineSegment-DTw_x5H9.js} +5 -5
  52. package/{list-BewyxFt1.js → list-D9FSChcK.js} +4 -4
  53. package/{lq-CPygjQ0I.js → lq-DuoHc0MU.js} +2 -2
  54. package/{lsq-Dq2OdgJ3.js → lsq-B7Mmh07r.js} +2 -2
  55. package/{markupRenderer-B28xMxjd.js → markupRenderer-DJM0buzW.js} +1 -1
  56. package/{math-DIkg5kdb.js → math-C4BhqPcT.js} +6 -6
  57. package/{mathInput-CuSgICqM.js → mathInput-BV8hw5GI.js} +7 -7
  58. package/{matrixInput-BjEzCkej.js → matrixInput-BFTfrKzf.js} +4 -4
  59. package/{mdash-Dd0dC9ZN.js → mdash-4IBt_kF2.js} +2 -2
  60. package/{nbsp-BDj188gH.js → nbsp-CUd0IXJc.js} +2 -2
  61. package/{ndash-D82WGMk5.js → ndash-6DN51M90.js} +2 -2
  62. package/{number-CsmZNCaA.js → number-CIuRBvhG.js} +6 -6
  63. package/{orbitalDiagram-CmYJeGHp.js → orbitalDiagram-DuVvhurQ.js} +2 -2
  64. package/{orbitalDiagramInput-6edLs5Cb.js → orbitalDiagramInput-C9foaDXH.js} +2 -2
  65. package/{p-leQyCCs0.js → p-CfZmbInH.js} +4 -4
  66. package/package.json +1 -1
  67. package/{paginatorControls-DjBJjyTq.js → paginatorControls-DG2OYXYe.js} +2 -2
  68. package/{pegboard-CmvMLZQE.js → pegboard-DFbZmvAo.js} +4 -4
  69. package/{point-DlaA8ggd.js → point-D81EFDo_.js} +6 -6
  70. package/{polygon-I15KTIEp.js → polygon-Bl3hf2mb.js} +6 -6
  71. package/{polyline-CemVFqvk.js → polyline-NZ9fpD9F.js} +5 -5
  72. package/{pre-CW_2k1QS.js → pre-4Tt7zrK4.js} +3 -3
  73. package/{prefigure-DvcLIrYI.js → prefigure-ChUWo_4X.js} +1 -1
  74. package/{pretzel-Bd6DgnWW.js → pretzel-B3sXb45R.js} +4 -4
  75. package/{q-B216JPnK.js → q-HCsGnSIH.js} +3 -3
  76. package/{ray-DUKyOz39.js → ray-BUQJnyuA.js} +5 -5
  77. package/{ref-BaSdfHFR.js → ref-BBGzuJYH.js} +2 -2
  78. package/{regionBetweenCurveXAxis-C_VBs5PN.js → regionBetweenCurveXAxis-B3xgD3lv.js} +5 -5
  79. package/{regionBetweenCurves-Bj8QeXXP.js → regionBetweenCurves-C356BuQg.js} +5 -5
  80. package/{row-DLpefFHp.js → row-Dh0Hl7yp.js} +2 -2
  81. package/{rq-DlDsQlOl.js → rq-BLZqMXUV.js} +2 -2
  82. package/{rsq-Bmp9ngqj.js → rsq-D1_dDM5K.js} +2 -2
  83. package/{section-5MLd0hE8.js → section-Dgz5ex1-.js} +5 -5
  84. package/{sha256-Bzrm4-tO-D4VOq96C.js → sha256-Bzrm4-tO-DBGBRntE.js} +1 -1
  85. package/{sideBySide-DK__lF5P.js → sideBySide-0Cw0viXe.js} +2 -2
  86. package/{slider-Dw69lcuv.js → slider-CLhZx0KJ.js} +3 -3
  87. package/{solution-L0c-SKhS.js → solution-6X5RRJuq.js} +4 -4
  88. package/{spreadsheet-4LrZjKvD.js → spreadsheet-Dp3tMmkQ.js} +2 -2
  89. package/{sq-ClwtbJl2.js → sq-D7BAf7W-.js} +3 -3
  90. package/{subsetOfRealsInput--odUYpOc.js → subsetOfRealsInput-BvBK_Jd5.js} +2 -2
  91. package/{summaryStatistics-B_C7MwLj.js → summaryStatistics-BJUnMS8R.js} +2 -2
  92. package/{table-DGt4W_HM.js → table-9CsK8tcI.js} +2 -2
  93. package/{tabular-CNiL6xjX.js → tabular-BODNZXF0.js} +2 -2
  94. package/{tag-Ch4GTmdQ.js → tag-C4r4-oVg.js} +2 -2
  95. package/{text-CYTqx_LY.js → text-bshUf4sW.js} +6 -6
  96. package/{textInput-yfy-FD9B.js → textInput-C7dkbxaa.js} +6 -6
  97. package/{tooltip-provider-DsW_MxoB.js → tooltip-provider-p1KTK1vP.js} +1 -1
  98. package/{useAnchoredGraphDragHandler-CGKjsqrU.js → useAnchoredGraphDragHandler-C0OMh5dz.js} +1 -1
  99. package/useDoenetRenderer-B5uCh7Ag.js +114 -0
  100. package/{useSubmitActionWithDelay-AdyQf3WY.js → useSubmitActionWithDelay-v7uRJBRr.js} +2 -2
  101. package/{vector-DFzBM71C.js → vector-DxwNO6XW.js} +6 -6
  102. package/{video-CAIKbj6G.js → video-C6_6fvZH.js} +4 -4
  103. package/useDoenetRenderer-NkmIqE-s.js +0 -114
@@ -1,5 +1,5 @@
1
- import { u as useT, p as jsxRuntimeExports, L as Button } from "./doenetml-KneMbdUl.js";
2
- import { T as TooltipProvider, a as TooltipAnchor, b as Tooltip } from "./tooltip-provider-DsW_MxoB.js";
1
+ import { u as useT, p as jsxRuntimeExports, L as Button } from "./doenetml-Cl4m-iIr.js";
2
+ import { T as TooltipProvider, a as TooltipAnchor, b as Tooltip } from "./tooltip-provider-p1KTK1vP.js";
3
3
  function AnswerResponseButton({
4
4
  answerId,
5
5
  answerComponentIdx,
@@ -1,4 +1,4 @@
1
- import { X as memo, Y as forwardRef, Z as createElement, $ as createHook, a0 as usePopoverContext, a1 as invariant, a2 as useStoreState, a3 as getBasePlacement, a4 as useId, a5 as useMergeRefs, p as jsxRuntimeExports, a6 as removeUndefinedValues, a7 as useSafeLayoutEffect, a8 as getWindow, a9 as usePopoverStore, z as DocContext, u as useT, aa as PopoverDisclosure, ab as MdInfoOutline, ac as Popover } from "./doenetml-KneMbdUl.js";
1
+ import { X as memo, Y as forwardRef, Z as createElement, $ as createHook, a0 as usePopoverContext, a1 as invariant, a2 as useStoreState, a3 as getBasePlacement, a4 as useId, a5 as useMergeRefs, p as jsxRuntimeExports, a6 as removeUndefinedValues, a7 as useSafeLayoutEffect, a8 as getWindow, a9 as usePopoverStore, z as DocContext, u as useT, aa as PopoverDisclosure, ab as MdInfoOutline, ac as Popover } from "./doenetml-Cl4m-iIr.js";
2
2
  import { useMemo, useState, useRef, useContext } from "react";
3
3
  const POPOVER_ARROW_PATH = "M23 27.8C24.1 29 26.4 30 28 30H30H0H2C3.7 30 5.9 29 7 27.8L14 20.6C14.7 19.8 15.3 19.8 16 20.6L23 27.8Z";
4
4
  const TagName = "div";
@@ -1,6 +1,6 @@
1
- import { p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-Cl4m-iIr.js";
2
2
  import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
3
- import { D as DescriptionPopover, a as DescriptionAsDetails } from "./Description-D8eSeiSN.js";
3
+ import { D as DescriptionPopover, a as DescriptionAsDetails } from "./Description-BHX0hDi7.js";
4
4
  function GraphFrame({
5
5
  id,
6
6
  SVs,
@@ -1,4 +1,4 @@
1
- import { H as Context, I as cesc, p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
1
+ import { H as Context, I as cesc, p as jsxRuntimeExports } from "./doenetml-Cl4m-iIr.js";
2
2
  import { useEffect, useState, useRef } from "react";
3
3
  var jxg = {};
4
4
  try {
@@ -1,4 +1,4 @@
1
- import { p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-Cl4m-iIr.js";
2
2
  function NonInlineMediaWrapper({
3
3
  id,
4
4
  displayMode,
@@ -1,6 +1,6 @@
1
- import { u as useT, q as useUiLocale, t as useChromeLangDir, v as useDiagnosticFormatter, p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
1
+ import { u as useT, q as useUiLocale, t as useChromeLangDir, v as useDiagnosticFormatter, p as jsxRuntimeExports } from "./doenetml-Cl4m-iIr.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-B5uCh7Ag.js";
4
4
  const _error = React__default.memo(function Error(props) {
5
5
  let { id, SVs, children } = useDoenetRenderer(props);
6
6
  const t = useT();
@@ -1,7 +1,7 @@
1
- import { p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-Cl4m-iIr.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.js";
4
- import { a as addCommasForCompositeRanges } from "./composites-BqzFUk_h.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-B5uCh7Ag.js";
4
+ import { a as addCommasForCompositeRanges } from "./composites-CkJBGhYQ.js";
5
5
  const alert = React__default.memo(function Alert(props) {
6
6
  let { id, SVs, children } = useDoenetRenderer(props);
7
7
  if (SVs.hidden) {
@@ -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-Cl4m-iIr.js";
2
2
  import React__default, { useContext, useRef, useEffect } from "react";
3
- import { j as jxg, s as syncLayer, a as syncWithLabelToggle, 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 { ChoiceInputInlineContext } from "./choiceInput-C_4uPa4T.js";
7
- import { g as getPatternFillAttributes } from "./fillPatterns-O5qMvUVb.js";
3
+ import { j as jxg, s as syncLayer, a as syncWithLabelToggle, 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 { ChoiceInputInlineContext } from "./choiceInput-C2OCYTFb.js";
7
+ import { g as getPatternFillAttributes } from "./fillPatterns-fEJQ_kwx.js";
8
8
  import { r as resolveFillColor, a as resolveLineColor, b as resolveCanvasColor } from "./styleColors-Cknqcr0q.js";
9
9
  const angle = React__default.memo(function Angle(props) {
10
10
  let { id, SVs } = useDoenetRenderer(props);
@@ -1,9 +1,9 @@
1
- import { F as useContentT, z as DocContext, p as jsxRuntimeExports, B as DynamicMath } from "./doenetml-KneMbdUl.js";
1
+ import { F as useContentT, z as DocContext, p as jsxRuntimeExports, B as DynamicMath } from "./doenetml-Cl4m-iIr.js";
2
2
  import React__default, { 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";
6
- import { D as DescriptionPopover } from "./Description-D8eSeiSN.js";
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";
6
+ import { D as DescriptionPopover } from "./Description-BHX0hDi7.js";
7
7
  const answer = React__default.memo(function Answer(props) {
8
8
  let {
9
9
  componentIdx,
@@ -1,6 +1,6 @@
1
- import { p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-Cl4m-iIr.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-B5uCh7Ag.js";
4
4
  const asList = React__default.memo(function AsList(props) {
5
5
  let { id, SVs, children } = useDoenetRenderer(props);
6
6
  if (SVs.hidden) {
@@ -1,7 +1,7 @@
1
- import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
1
+ import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-Cl4m-iIr.js";
2
2
  import React__default, { useRef } 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-B5uCh7Ag.js";
4
+ import { r as renderMarkupBody } from "./markupRenderer-DJM0buzW.js";
5
5
  const blockQuote = React__default.memo(function Container(props) {
6
6
  const { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
7
7
  const ref = useRef(null);
@@ -1,6 +1,6 @@
1
- import { p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-Cl4m-iIr.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-B5uCh7Ag.js";
4
4
  const boolean = React__default.memo(function Boolean(props) {
5
5
  let { id, SVs } = useDoenetRenderer(props, false);
6
6
  if (SVs.hidden) {
@@ -1,11 +1,11 @@
1
- import { F as useContentT, H as Context, p as jsxRuntimeExports, T as MathJax, U as ToggleButton } from "./doenetml-KneMbdUl.js";
1
+ import { F as useContentT, H as Context, p as jsxRuntimeExports, T as MathJax, U as ToggleButton } from "./doenetml-Cl4m-iIr.js";
2
2
  import React__default, { 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";
5
- import { BoardContext } from "./graph-mqujNItp.js";
3
+ import { j as jxg } from "./JSXGraphRenderer-CfML1Caq.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-B5uCh7Ag.js";
5
+ import { BoardContext } from "./graph-BfKVz-Kv.js";
6
6
  import { g as getPositionFromAnchorByCoordinate, P as POINTER_DRAG_THRESHOLD } from "./graph-W6vrFcBu.js";
7
- import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-AdyQf3WY.js";
8
- import { D as DescriptionPopover } from "./Description-D8eSeiSN.js";
7
+ import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-v7uRJBRr.js";
8
+ import { D as DescriptionPopover } from "./Description-BHX0hDi7.js";
9
9
  const booleanInput = React__default.memo(function BooleanInput(props) {
10
10
  let { id, SVs, children, actions, ignoreUpdate, callAction } = useDoenetRenderer(props);
11
11
  const tContent = useContentT();
@@ -1,6 +1,6 @@
1
- import { p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-Cl4m-iIr.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-B5uCh7Ag.js";
4
4
  const br = React__default.memo(function Br(props) {
5
5
  let { id, SVs } = useDoenetRenderer(props);
6
6
  if (SVs.hidden) {
@@ -1,8 +1,8 @@
1
- import { H as Context, I as cesc, p as jsxRuntimeExports, J as Button2 } from "./doenetml-KneMbdUl.js";
1
+ import { H as Context, I as cesc, p as jsxRuntimeExports, J as Button2 } from "./doenetml-Cl4m-iIr.js";
2
2
  import React__default, { 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";
5
- import { BoardContext } from "./graph-mqujNItp.js";
3
+ import { j as jxg } from "./JSXGraphRenderer-CfML1Caq.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-B5uCh7Ag.js";
5
+ import { BoardContext } from "./graph-BfKVz-Kv.js";
6
6
  import { g as getPositionFromAnchorByCoordinate, P as POINTER_DRAG_THRESHOLD } from "./graph-W6vrFcBu.js";
7
7
  const button = React__default.memo(function ButtonComponent(props) {
8
8
  let { id, SVs, actions, callAction } = useDoenetRenderer(
@@ -1,7 +1,7 @@
1
- import { p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-Cl4m-iIr.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-B5uCh7Ag.js";
4
+ import { r as renderMarkupBody } from "./markupRenderer-DJM0buzW.js";
5
5
  const c = React__default.memo(function C(props) {
6
6
  const { id, SVs, children } = useDoenetRenderer(props);
7
7
  const body = renderMarkupBody({ SVs, children });
@@ -1,7 +1,7 @@
1
- import { p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-Cl4m-iIr.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.js";
4
- import { a as addCommasForCompositeRanges } from "./composites-BqzFUk_h.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-B5uCh7Ag.js";
4
+ import { a as addCommasForCompositeRanges } from "./composites-CkJBGhYQ.js";
5
5
  const cell = React__default.memo(function Cell(props) {
6
6
  let { id, SVs, children } = useDoenetRenderer(props);
7
7
  if (SVs.hidden) {
@@ -1,11 +1,11 @@
1
- import { aB as autoUpdate, u as useT, F as useContentT, z as DocContext, p as jsxRuntimeExports, aC as CANVAS_DARK_MODE_COLOR, T as MathJax } from "./doenetml-KneMbdUl.js";
1
+ import { aB as autoUpdate, u as useT, F as useContentT, z as DocContext, p as jsxRuntimeExports, aC as CANVAS_DARK_MODE_COLOR, T as MathJax } from "./doenetml-Cl4m-iIr.js";
2
2
  import * as React from "react";
3
3
  import React__default, { useState, useCallback, forwardRef, useContext, useLayoutEffect, useRef, useMemo, createContext, Component, Fragment, useEffect } from "react";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-B5uCh7Ag.js";
5
5
  import { a as _objectWithoutPropertiesLoose, _ as _setPrototypeOf, b as _extends } from "./setPrototypeOf-C-47lAIH.js";
6
6
  import { createPortal } from "react-dom";
7
- import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-AdyQf3WY.js";
8
- import { D as DescriptionPopover } from "./Description-D8eSeiSN.js";
7
+ import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-v7uRJBRr.js";
8
+ import { D as DescriptionPopover } from "./Description-BHX0hDi7.js";
9
9
  import { a as addValidationStateToShortDescription } from "./validationState-DI_lxk1a.js";
10
10
  import { a as getBlockMarginWithOptionalTopSuppression } from "./nonInlineMediaLayout-CkXHaqzo.js";
11
11
  function _typeof(o) {
@@ -1,17 +1,17 @@
1
- import { z as DocContext, p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
1
+ import { z as DocContext, p as jsxRuntimeExports } from "./doenetml-Cl4m-iIr.js";
2
2
  import React__default, { useContext, useRef } from "react";
3
- import { j as jxg, s as syncLayer, e as syncLineStrokeStyle, a as syncWithLabelToggle, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight, r as removeJXGEventHandlers } from "./JSXGraphRenderer-DsED_IYR.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.js";
5
- import { BoardContext, POINT_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-mqujNItp.js";
3
+ import { j as jxg, s as syncLayer, e as syncLineStrokeStyle, a as syncWithLabelToggle, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight, r as removeJXGEventHandlers } from "./JSXGraphRenderer-CfML1Caq.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-B5uCh7Ag.js";
5
+ import { BoardContext, POINT_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-BfKVz-Kv.js";
6
6
  import { c as characterizeOffGraphPoint, a as characterizeOffGraphCircleArc } from "./offGraphIndicators-CYoqQHuD.js";
7
7
  import { n as normalizePointStyle, a as normalizePointSize, b as adjustPointLabelPosition, c as getEffectiveBoundingBox, d as getGraphCornerWithBuffer, e as calculatePointLabelAnchor } from "./graph-W6vrFcBu.js";
8
- import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-C0KNuiat.js";
8
+ import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-DLuemdFl.js";
9
9
  import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
10
10
  import { p as pointerEventToUserCoords } from "./dragThreshold-DuSSFrIU.js";
11
11
  import { a as resolveLineColor, r as resolveFillColor, c as resolveMarkerColor, b as resolveCanvasColor } from "./styleColors-Cknqcr0q.js";
12
12
  import { s as styleToDash } from "./styleToDash-DWb71gbd.js";
13
13
  import { b as buildFilledShapeAttributes } from "./buildGraphicalAttributes-0RNcbd2S.js";
14
- import { g as getPatternFillAttributes } from "./fillPatterns-O5qMvUVb.js";
14
+ import { g as getPatternFillAttributes } from "./fillPatterns-fEJQ_kwx.js";
15
15
  import { u as useDraggableRefs, a as useJSXGraphCleanup } from "./useJSXGraphCleanup-CX91oVW8.js";
16
16
  const circle = React__default.memo(function Circle(props) {
17
17
  let { componentIdx, id, SVs, actions, callAction } = useDoenetRenderer(props);
@@ -1,8 +1,8 @@
1
- import { K as createFunctionFromDefinition, p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
1
+ import { K as createFunctionFromDefinition, p as jsxRuntimeExports } from "./doenetml-Cl4m-iIr.js";
2
2
  import React__default, { useContext, useRef } 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, VERTEX_LAYER_OFFSET } from "./graph-mqujNItp.js";
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, VERTEX_LAYER_OFFSET } from "./graph-BfKVz-Kv.js";
6
6
  import { s as styleToDash } from "./styleToDash-DWb71gbd.js";
7
7
  const cobwebPolyline = React__default.memo(function CobwebPolyline(props) {
8
8
  let { componentIdx, id, SVs, actions, sourceOfUpdate, callAction } = useDoenetRenderer(props);
@@ -1,6 +1,6 @@
1
- import { p as jsxRuntimeExports, ad as EditorViewer } from "./doenetml-KneMbdUl.js";
1
+ import { p as jsxRuntimeExports, ad as EditorViewer } from "./doenetml-Cl4m-iIr.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-B5uCh7Ag.js";
4
4
  import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
5
5
  function resolveElements(elementOrSelector, scope, selectorCache) {
6
6
  if (elementOrSelector == null) {
@@ -1,4 +1,4 @@
1
- import { p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-Cl4m-iIr.js";
2
2
  import React__default from "react";
3
3
  function addCommasForCompositeRanges({
4
4
  compositeReplacementActiveRange,
@@ -1,8 +1,8 @@
1
- import { F as useContentT, G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
1
+ import { F as useContentT, G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-Cl4m-iIr.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.js";
4
- import { a as addCommasForCompositeRanges } from "./composites-BqzFUk_h.js";
5
- import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-AdyQf3WY.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-B5uCh7Ag.js";
4
+ import { a as addCommasForCompositeRanges } from "./composites-CkJBGhYQ.js";
5
+ import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-v7uRJBRr.js";
6
6
  const containerBlock = React__default.memo(function Container(props) {
7
7
  let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
8
8
  const tContent = useContentT();
@@ -1,8 +1,8 @@
1
- import { F as useContentT, p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
1
+ import { F as useContentT, p as jsxRuntimeExports } from "./doenetml-Cl4m-iIr.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.js";
4
- import { a as addCommasForCompositeRanges } from "./composites-BqzFUk_h.js";
5
- import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-AdyQf3WY.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-B5uCh7Ag.js";
4
+ import { a as addCommasForCompositeRanges } from "./composites-CkJBGhYQ.js";
5
+ import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-v7uRJBRr.js";
6
6
  const containerInline = React__default.memo(function ContainerInline(props) {
7
7
  let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
8
8
  const tContent = useContentT();
@@ -1,8 +1,8 @@
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-Cl4m-iIr.js";
2
2
  import React__default, { useContext, useRef } from "react";
3
- import { s as syncLayer, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, g as syncVisPropValues, j as jxg, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-DsED_IYR.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.js";
5
- import { BoardContext, VERTEX_LAYER_OFFSET, CONTROL_POINT_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-mqujNItp.js";
3
+ import { s as syncLayer, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, g as syncVisPropValues, j as jxg, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-CfML1Caq.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-B5uCh7Ag.js";
5
+ import { BoardContext, VERTEX_LAYER_OFFSET, CONTROL_POINT_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-BfKVz-Kv.js";
6
6
  import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
7
7
  import { a as resolveLineColor, d as resolveHandleColor } from "./styleColors-Cknqcr0q.js";
8
8
  import { s as styleToDash } from "./styleToDash-DWb71gbd.js";
@@ -30992,7 +30992,7 @@ async function cidFromArrayBuffer(data) {
30992
30992
  await crypto.subtle.digest("SHA-256", new Uint8Array());
30993
30993
  digest = (data2) => crypto.subtle.digest("SHA-256", data2);
30994
30994
  } catch (e2) {
30995
- const sha256 = (await import("./sha256-Bzrm4-tO-D4VOq96C.js").then((n2) => n2.s)).default;
30995
+ const sha256 = (await import("./sha256-Bzrm4-tO-DBGBRntE.js").then((n2) => n2.s)).default;
30996
30996
  digest = (data2) => sha256(data2, {
30997
30997
  asBytes: true
30998
30998
  });
@@ -47462,7 +47462,7 @@ function DocViewer({
47462
47462
  for (const rendererClassName of coreInfo.current.rendererTypesInDocument) {
47463
47463
  rendererClassNames.push(rendererClassName);
47464
47464
  rendererLoaders.push(
47465
- () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "./renderers/GraphFrame.tsx": () => import("./GraphFrame-BLQMoTz7.js"), "./renderers/JSXGraphRenderer.tsx": () => import("./JSXGraphRenderer-DsED_IYR.js").then((n2) => n2.m), "./renderers/_error.tsx": () => import("./_error-BR4OLjxm.js"), "./renderers/alert.tsx": () => import("./alert-yVdGlXkn.js"), "./renderers/angle.tsx": () => import("./angle-BHMjBiYL.js"), "./renderers/answer.tsx": () => import("./answer-B3MlhyK1.js"), "./renderers/asList.tsx": () => import("./asList-C-QGYFna.js"), "./renderers/blockQuote.tsx": () => import("./blockQuote-BUijb7-U.js"), "./renderers/boolean.tsx": () => import("./boolean-Bb0VIVoS.js"), "./renderers/booleanInput.tsx": () => import("./booleanInput-hVFN83aA.js"), "./renderers/br.tsx": () => import("./br-DwmabJPD.js"), "./renderers/button.tsx": () => import("./button-DTnZStCy.js"), "./renderers/c.tsx": () => import("./c-Dnlt6r-1.js"), "./renderers/cell.tsx": () => import("./cell-CdGTtaUp.js"), "./renderers/choiceInput.tsx": () => import("./choiceInput-C_4uPa4T.js"), "./renderers/circle.tsx": () => import("./circle-D4puQp-K.js"), "./renderers/cobwebPolyline.tsx": () => import("./cobwebPolyline-pzpR8b86.js"), "./renderers/codeEditor.tsx": () => import("./codeEditor-Bku7Ylau.js"), "./renderers/containerBlock.tsx": () => import("./containerBlock-CiAsFmTu.js"), "./renderers/containerInline.tsx": () => import("./containerInline-BduAdm_w.js"), "./renderers/curve.tsx": () => import("./curve-D9Bz5bzE.js"), "./renderers/ellipsis.tsx": () => import("./ellipsis-CySN_qv6.js"), "./renderers/em.tsx": () => import("./em-DAUgIg6f.js"), "./renderers/embed.tsx": () => import("./embed-l4BxxdBO.js"), "./renderers/feedback.tsx": () => import("./feedback-BTZMQoBJ.js"), "./renderers/figure.tsx": () => import("./figure-QbUCbI8x.js"), "./renderers/footnote.tsx": () => import("./footnote-dMsVu_z4.js"), "./renderers/fractionInput.tsx": () => import("./fractionInput-D7Eq6FLE.js"), "./renderers/graph.tsx": () => import("./graph-mqujNItp.js"), "./renderers/hint.tsx": () => import("./hint-CrOY6rw7.js"), "./renderers/hr.tsx": () => import("./hr-CC-1JDh8.js"), "./renderers/image.tsx": () => import("./image-DxD-Pqmd.js"), "./renderers/label.tsx": () => import("./label-BUJ6Rpgu.js"), "./renderers/legend.tsx": () => import("./legend-BO--dbsh.js"), "./renderers/line.tsx": () => import("./line-Dwhehwjd.js"), "./renderers/lineSegment.tsx": () => import("./lineSegment-BUwlyA8O.js"), "./renderers/list.tsx": () => import("./list-BewyxFt1.js"), "./renderers/lq.tsx": () => import("./lq-CPygjQ0I.js"), "./renderers/lsq.tsx": () => import("./lsq-Dq2OdgJ3.js"), "./renderers/math.tsx": () => import("./math-DIkg5kdb.js"), "./renderers/mathInput.tsx": () => import("./mathInput-CuSgICqM.js"), "./renderers/matrixInput.tsx": () => import("./matrixInput-BjEzCkej.js"), "./renderers/mdash.tsx": () => import("./mdash-Dd0dC9ZN.js"), "./renderers/nbsp.tsx": () => import("./nbsp-BDj188gH.js"), "./renderers/ndash.tsx": () => import("./ndash-D82WGMk5.js"), "./renderers/number.tsx": () => import("./number-CsmZNCaA.js"), "./renderers/orbitalDiagram.tsx": () => import("./orbitalDiagram-CmYJeGHp.js"), "./renderers/orbitalDiagramInput.tsx": () => import("./orbitalDiagramInput-6edLs5Cb.js"), "./renderers/p.tsx": () => import("./p-leQyCCs0.js"), "./renderers/paginatorControls.tsx": () => import("./paginatorControls-DjBJjyTq.js"), "./renderers/pegboard.tsx": () => import("./pegboard-CmvMLZQE.js"), "./renderers/point.tsx": () => import("./point-DlaA8ggd.js"), "./renderers/polygon.tsx": () => import("./polygon-I15KTIEp.js"), "./renderers/polyline.tsx": () => import("./polyline-CemVFqvk.js"), "./renderers/pre.tsx": () => import("./pre-CW_2k1QS.js"), "./renderers/prefigure.tsx": () => import("./prefigure-DvcLIrYI.js"), "./renderers/pretzel.tsx": () => import("./pretzel-Bd6DgnWW.js"), "./renderers/q.tsx": () => import("./q-B216JPnK.js"), "./renderers/ray.tsx": () => import("./ray-DUKyOz39.js"), "./renderers/ref.tsx": () => import("./ref-BaSdfHFR.js"), "./renderers/regionBetweenCurveXAxis.tsx": () => import("./regionBetweenCurveXAxis-C_VBs5PN.js"), "./renderers/regionBetweenCurves.tsx": () => import("./regionBetweenCurves-Bj8QeXXP.js"), "./renderers/row.tsx": () => import("./row-DLpefFHp.js"), "./renderers/rq.tsx": () => import("./rq-DlDsQlOl.js"), "./renderers/rsq.tsx": () => import("./rsq-Bmp9ngqj.js"), "./renderers/section.tsx": () => import("./section-5MLd0hE8.js"), "./renderers/sideBySide.tsx": () => import("./sideBySide-DK__lF5P.js"), "./renderers/slider.tsx": () => import("./slider-Dw69lcuv.js"), "./renderers/solution.tsx": () => import("./solution-L0c-SKhS.js"), "./renderers/spreadsheet.tsx": () => import("./spreadsheet-4LrZjKvD.js"), "./renderers/sq.tsx": () => import("./sq-ClwtbJl2.js"), "./renderers/subsetOfRealsInput.tsx": () => import("./subsetOfRealsInput--odUYpOc.js"), "./renderers/summaryStatistics.tsx": () => import("./summaryStatistics-B_C7MwLj.js"), "./renderers/table.tsx": () => import("./table-DGt4W_HM.js"), "./renderers/tabular.tsx": () => import("./tabular-CNiL6xjX.js"), "./renderers/tag.tsx": () => import("./tag-Ch4GTmdQ.js"), "./renderers/text.tsx": () => import("./text-CYTqx_LY.js"), "./renderers/textInput.tsx": () => import("./textInput-yfy-FD9B.js"), "./renderers/vector.tsx": () => import("./vector-DFzBM71C.js"), "./renderers/video.tsx": () => import("./video-CAIKbj6G.js") }), `./renderers/${rendererClassName}.tsx`, 3)
47465
+ () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "./renderers/GraphFrame.tsx": () => import("./GraphFrame-Be2S86p5.js"), "./renderers/JSXGraphRenderer.tsx": () => import("./JSXGraphRenderer-CfML1Caq.js").then((n2) => n2.m), "./renderers/_error.tsx": () => import("./_error-BvnJu25Y.js"), "./renderers/alert.tsx": () => import("./alert-BqXZF8VD.js"), "./renderers/angle.tsx": () => import("./angle-C1tHpiwW.js"), "./renderers/answer.tsx": () => import("./answer-IB4Rz26v.js"), "./renderers/asList.tsx": () => import("./asList-Dos4GJ-x.js"), "./renderers/blockQuote.tsx": () => import("./blockQuote-CHUd4Qcy.js"), "./renderers/boolean.tsx": () => import("./boolean-BSZg9n0k.js"), "./renderers/booleanInput.tsx": () => import("./booleanInput-BDxn-2f2.js"), "./renderers/br.tsx": () => import("./br-NQ820K9v.js"), "./renderers/button.tsx": () => import("./button-DIkTPWB8.js"), "./renderers/c.tsx": () => import("./c-C7oTafeh.js"), "./renderers/cell.tsx": () => import("./cell-CZ9YxOoT.js"), "./renderers/choiceInput.tsx": () => import("./choiceInput-C2OCYTFb.js"), "./renderers/circle.tsx": () => import("./circle-lHVf-Rnj.js"), "./renderers/cobwebPolyline.tsx": () => import("./cobwebPolyline-BHRXeCQK.js"), "./renderers/codeEditor.tsx": () => import("./codeEditor-D9514mjE.js"), "./renderers/containerBlock.tsx": () => import("./containerBlock-tSdyTT-w.js"), "./renderers/containerInline.tsx": () => import("./containerInline-BJyYO7iT.js"), "./renderers/curve.tsx": () => import("./curve-DVYbwAwj.js"), "./renderers/ellipsis.tsx": () => import("./ellipsis-D-irnNHU.js"), "./renderers/em.tsx": () => import("./em-Bw9IG3qb.js"), "./renderers/embed.tsx": () => import("./embed-ySzwkGz8.js"), "./renderers/feedback.tsx": () => import("./feedback-CoD3yjRP.js"), "./renderers/figure.tsx": () => import("./figure-Cyotiyyn.js"), "./renderers/footnote.tsx": () => import("./footnote-DVK13b4D.js"), "./renderers/fractionInput.tsx": () => import("./fractionInput-dl7UZUSM.js"), "./renderers/graph.tsx": () => import("./graph-BfKVz-Kv.js"), "./renderers/hint.tsx": () => import("./hint-Cei5qC42.js"), "./renderers/hr.tsx": () => import("./hr-CUHGQ_Be.js"), "./renderers/image.tsx": () => import("./image-CD-D_kAW.js"), "./renderers/label.tsx": () => import("./label-BJGSkKnV.js"), "./renderers/legend.tsx": () => import("./legend-BJv57uMk.js"), "./renderers/line.tsx": () => import("./line-B7P9Ganl.js"), "./renderers/lineSegment.tsx": () => import("./lineSegment-DTw_x5H9.js"), "./renderers/list.tsx": () => import("./list-D9FSChcK.js"), "./renderers/lq.tsx": () => import("./lq-DuoHc0MU.js"), "./renderers/lsq.tsx": () => import("./lsq-B7Mmh07r.js"), "./renderers/math.tsx": () => import("./math-C4BhqPcT.js"), "./renderers/mathInput.tsx": () => import("./mathInput-BV8hw5GI.js"), "./renderers/matrixInput.tsx": () => import("./matrixInput-BFTfrKzf.js"), "./renderers/mdash.tsx": () => import("./mdash-4IBt_kF2.js"), "./renderers/nbsp.tsx": () => import("./nbsp-CUd0IXJc.js"), "./renderers/ndash.tsx": () => import("./ndash-6DN51M90.js"), "./renderers/number.tsx": () => import("./number-CIuRBvhG.js"), "./renderers/orbitalDiagram.tsx": () => import("./orbitalDiagram-DuVvhurQ.js"), "./renderers/orbitalDiagramInput.tsx": () => import("./orbitalDiagramInput-C9foaDXH.js"), "./renderers/p.tsx": () => import("./p-CfZmbInH.js"), "./renderers/paginatorControls.tsx": () => import("./paginatorControls-DG2OYXYe.js"), "./renderers/pegboard.tsx": () => import("./pegboard-DFbZmvAo.js"), "./renderers/point.tsx": () => import("./point-D81EFDo_.js"), "./renderers/polygon.tsx": () => import("./polygon-Bl3hf2mb.js"), "./renderers/polyline.tsx": () => import("./polyline-NZ9fpD9F.js"), "./renderers/pre.tsx": () => import("./pre-4Tt7zrK4.js"), "./renderers/prefigure.tsx": () => import("./prefigure-ChUWo_4X.js"), "./renderers/pretzel.tsx": () => import("./pretzel-B3sXb45R.js"), "./renderers/q.tsx": () => import("./q-HCsGnSIH.js"), "./renderers/ray.tsx": () => import("./ray-BUQJnyuA.js"), "./renderers/ref.tsx": () => import("./ref-BBGzuJYH.js"), "./renderers/regionBetweenCurveXAxis.tsx": () => import("./regionBetweenCurveXAxis-B3xgD3lv.js"), "./renderers/regionBetweenCurves.tsx": () => import("./regionBetweenCurves-C356BuQg.js"), "./renderers/row.tsx": () => import("./row-Dh0Hl7yp.js"), "./renderers/rq.tsx": () => import("./rq-BLZqMXUV.js"), "./renderers/rsq.tsx": () => import("./rsq-D1_dDM5K.js"), "./renderers/section.tsx": () => import("./section-Dgz5ex1-.js"), "./renderers/sideBySide.tsx": () => import("./sideBySide-0Cw0viXe.js"), "./renderers/slider.tsx": () => import("./slider-CLhZx0KJ.js"), "./renderers/solution.tsx": () => import("./solution-6X5RRJuq.js"), "./renderers/spreadsheet.tsx": () => import("./spreadsheet-Dp3tMmkQ.js"), "./renderers/sq.tsx": () => import("./sq-D7BAf7W-.js"), "./renderers/subsetOfRealsInput.tsx": () => import("./subsetOfRealsInput-BvBK_Jd5.js"), "./renderers/summaryStatistics.tsx": () => import("./summaryStatistics-BJUnMS8R.js"), "./renderers/table.tsx": () => import("./table-9CsK8tcI.js"), "./renderers/tabular.tsx": () => import("./tabular-BODNZXF0.js"), "./renderers/tag.tsx": () => import("./tag-C4r4-oVg.js"), "./renderers/text.tsx": () => import("./text-bshUf4sW.js"), "./renderers/textInput.tsx": () => import("./textInput-C7dkbxaa.js"), "./renderers/vector.tsx": () => import("./vector-DxwNO6XW.js"), "./renderers/video.tsx": () => import("./video-C6_6fvZH.js") }), `./renderers/${rendererClassName}.tsx`, 3)
47466
47466
  );
47467
47467
  }
47468
47468
  const documentComponentInstructions = coreInfo.current.documentToRender;
@@ -187677,12 +187677,12 @@ function EditorFooter({
187677
187677
  className: "doenetml-version",
187678
187678
  title: t4(
187679
187679
  "editor-version-title",
187680
- { version: "0.7.23-dev.446" },
187681
- `DoenetML version ${"0.7.23-dev.446"}`
187680
+ { version: "0.7.23-dev.447" },
187681
+ `DoenetML version ${"0.7.23-dev.447"}`
187682
187682
  ),
187683
187683
  children: [
187684
187684
  "v",
187685
- "0.7.23-dev.446"
187685
+ "0.7.23-dev.447"
187686
187686
  ]
187687
187687
  }
187688
187688
  ),
@@ -1,2 +1,17 @@
1
1
  export * from './index';
2
+ /**
3
+ * Point the viewer's core worker at `workerUrl`, wrapping it for cross-origin
4
+ * loading where that is needed.
5
+ *
6
+ * Exported so `@doenet/standalone` can redirect the worker to a version-pinned
7
+ * copy of itself — see `pinPackageVersion` there, which explains why the URL
8
+ * this module resolves is not always the one to use. It has to be a call an
9
+ * importer makes afterwards rather than something configured ahead of time: the
10
+ * resolution below runs in this module's body, before any importer's. Both
11
+ * calls land at module evaluation, and must: a second call revokes the Blob URL
12
+ * the first wrapped the worker in, and past the first viewer mount that URL can
13
+ * already be held elsewhere — a mounted editor hands `doenetWorkerUrl` to the
14
+ * LSP, which spawns its own core from it later.
15
+ */
16
+ export declare function setExternalCoreWorkerUrl(workerUrl: string): void;
2
17
  //# sourceMappingURL=doenetml-external-worker.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"doenetml-external-worker.d.ts","sourceRoot":"","sources":["../src/doenetml-external-worker.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"doenetml-external-worker.d.ts","sourceRoot":"","sources":["../src/doenetml-external-worker.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AAiDxB;;;;;;;;;;;;;GAaG;AACH,wBAAgB,wBAAwB,CAAC,SAAS,EAAE,MAAM,QAsBzD"}
@@ -1,5 +1,5 @@
1
- import { n as doenetGlobalConfig } from "./doenetml-KneMbdUl.js";
2
- import { C, D, a, c, b, d, f, g, e, h, i, m, j, r, s, k, l } from "./doenetml-KneMbdUl.js";
1
+ import { n as doenetGlobalConfig } from "./doenetml-Cl4m-iIr.js";
2
+ import { C, D, a, c, b, d, f, g, e, h, i, m, j, r, s, k, l } from "./doenetml-Cl4m-iIr.js";
3
3
  const workerPath = "./doenetml-worker/index.js";
4
4
  function resolveWorkerUrl() {
5
5
  try {
@@ -12,6 +12,19 @@ function resolveWorkerUrl() {
12
12
  return null;
13
13
  }
14
14
  }
15
+ let ownedBootstrapUrl = null;
16
+ function setExternalCoreWorkerUrl(workerUrl) {
17
+ const bootstrapUrl = isSameOrigin(workerUrl) ? null : URL.createObjectURL(
18
+ new Blob([`importScripts(${JSON.stringify(workerUrl)});`], {
19
+ type: "text/javascript"
20
+ })
21
+ );
22
+ if (ownedBootstrapUrl !== null) {
23
+ URL.revokeObjectURL(ownedBootstrapUrl);
24
+ }
25
+ ownedBootstrapUrl = bootstrapUrl;
26
+ doenetGlobalConfig.doenetWorkerUrl = bootstrapUrl ?? workerUrl;
27
+ }
15
28
  function isSameOrigin(url) {
16
29
  try {
17
30
  const u = new URL(url, self.location.href);
@@ -26,14 +39,7 @@ function isSameOrigin(url) {
26
39
  try {
27
40
  const workerUrl = resolveWorkerUrl();
28
41
  if (workerUrl !== null) {
29
- if (isSameOrigin(workerUrl)) {
30
- doenetGlobalConfig.doenetWorkerUrl = workerUrl;
31
- } else {
32
- const bootstrap = `importScripts(${JSON.stringify(workerUrl)});`;
33
- doenetGlobalConfig.doenetWorkerUrl = URL.createObjectURL(
34
- new Blob([bootstrap], { type: "text/javascript" })
35
- );
36
- }
42
+ setExternalCoreWorkerUrl(workerUrl);
37
43
  }
38
44
  } catch (e2) {
39
45
  console.warn("Unable to resolve external DoenetML worker URL:", e2);
@@ -55,5 +61,6 @@ export {
55
61
  r as retrieveTextFileForCid,
56
62
  s as serializedComponentsReplacer,
57
63
  k as serializedComponentsReviver,
64
+ setExternalCoreWorkerUrl,
58
65
  l as setLocaleLoaders
59
66
  };