@doenet/doenetml 0.7.21-dev.358 → 0.7.21-dev.359
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.
- package/{AnswerResponseButton-JYNlzkGq.js → AnswerResponseButton-NWqlV8Ng.js} +2 -2
- package/{Description-CE-Le0RD.js → Description-ChZ9_4AF.js} +1 -1
- package/{GraphFrame-C3zDGocR.js → GraphFrame-CZhoTUBt.js} +2 -2
- package/{JSXGraphRenderer-CTq64gR-.js → JSXGraphRenderer-BtoHbHD_.js} +1 -1
- package/{NonInlineMediaWrapper-CgFiTRnJ.js → NonInlineMediaWrapper-S8tW2lVw.js} +1 -1
- package/{_error-CnLcxATu.js → _error-BEf5LCmb.js} +2 -2
- package/{alert-Db4aC10G.js → alert-B0YuIX4Z.js} +3 -3
- package/{angle-D43_zdMY.js → angle-TYjV_O-9.js} +6 -6
- package/{answer-DiW6RXpD.js → answer-gjEe4BIk.js} +5 -5
- package/{asList-BRwE6eI4.js → asList-DSAka1eW.js} +2 -2
- package/{blockQuote-CXg8J5-u.js → blockQuote-9KtFL3Pc.js} +3 -3
- package/{boolean-CaJ8UPwE.js → boolean-Cd81LY4v.js} +2 -2
- package/{booleanInput-Dv72WzES.js → booleanInput-LF2aSdqT.js} +6 -6
- package/{br-BtTfVSCj.js → br-CiGI8JRY.js} +2 -2
- package/{button-Wv2D2BBS.js → button-G2_e9pyu.js} +4 -4
- package/{c-D5L0hW6D.js → c-4SdfJSO3.js} +3 -3
- package/{cell-ZqAY_DWt.js → cell-Et9jY9zi.js} +3 -3
- package/{choiceInput-B39a2NNe.js → choiceInput-D569sEg8.js} +4 -4
- package/{circle-EEo6x-bu.js → circle-BzU1ULMp.js} +6 -6
- package/{cobwebPolyline-DDodwTMb.js → cobwebPolyline-BhCBDDVv.js} +4 -4
- package/{codeEditor-nACZ-vUG.js → codeEditor-D2O5KCUO.js} +2 -2
- package/{composites-DVNqGtcR.js → composites-DHZFngyn.js} +1 -1
- package/{containerBlock-bzJe7N65.js → containerBlock-C_xdexQn.js} +4 -4
- package/{containerInline-BqK-JqQ9.js → containerInline-BET6Whnr.js} +4 -4
- package/{curve-DGxfPoJp.js → curve-Cm5E4dSL.js} +4 -4
- package/{doenetml-BZ2IOVwF.js → doenetml-DeejPxeo.js} +93 -75
- package/doenetml-external-worker.js +2 -2
- package/doenetml-inline-worker.js +2 -2
- package/{ellipsis-DRtDPKY2.js → ellipsis-gGTenFs8.js} +2 -2
- package/{em-CTrrMRYF.js → em-BVZjtJw-.js} +3 -3
- package/{embed-DPMU0k4x.js → embed-CZ_VtykS.js} +2 -2
- package/{feedback-DdQXhoCg.js → feedback-CQ7Xv3M5.js} +4 -4
- package/{figure-CpwKqqOY.js → figure-5rDN8Cv3.js} +3 -3
- package/{fillPatterns-DdhTFHvr.js → fillPatterns-ONWRVBgV.js} +1 -1
- package/{footnote-BbDzfNrT.js → footnote-D7YDK_Mo.js} +3 -3
- package/{fractionInput-C_uqv4O1.js → fractionInput-BKVnJL68.js} +4 -4
- package/{graph-BaSjQ4gr.js → graph-Bfk-g7cJ.js} +6 -6
- package/{hint-DAZsBiyZ.js → hint-DFLGShNp.js} +4 -4
- package/{hr-D_p2cfz7.js → hr-C8eiVs1Z.js} +2 -2
- package/{image-BxdVEN58.js → image-C5jiRy8R.js} +7 -7
- package/{index-DmwCFOM7.js → index-Cq8duOfQ.js} +1 -1
- package/{index.es-CKku3jzW.js → index.es-DfEB2kdX.js} +1 -1
- package/index.js +1 -1
- package/{label-C8yDgN3L.js → label-B0bd4wJx.js} +6 -6
- package/{labelWithLatex-C-JYpeVS.js → labelWithLatex-CrwVNjr-.js} +1 -1
- package/{legend-BBtS509t.js → legend-6KK5NKKf.js} +4 -4
- package/{line-5Uj0t1JV.js → line-B13ft9u3.js} +6 -6
- package/{lineFamilyDragHandlers-JFlrt_vk.js → lineFamilyDragHandlers-D1JO5-Y1.js} +1 -1
- package/{lineSegment-DvR97b9k.js → lineSegment-QL75f3rg.js} +5 -5
- package/{list-C-SyBHp-.js → list-DWW42FXa.js} +4 -4
- package/{lq-Bi15V0PQ.js → lq-DDdCsbz8.js} +2 -2
- package/{lsq-bRQLQ98P.js → lsq-BCPpoE3T.js} +2 -2
- package/{markupRenderer-BNKR9tLe.js → markupRenderer-CNMSxe6W.js} +1 -1
- package/{math-DLHSWEyw.js → math-BXS3zfvc.js} +6 -6
- package/{mathInput-BBu55fWE.js → mathInput-DKAce4ye.js} +7 -7
- package/{matrixInput-DnF8StYk.js → matrixInput-BsF-fLIA.js} +4 -4
- package/{mdash-DYS3uBYr.js → mdash-Bpnf_QHV.js} +2 -2
- package/{nbsp-DUyoTjC3.js → nbsp-YyPCZK0o.js} +2 -2
- package/{ndash-BXwIxvfi.js → ndash-DhMNQgmN.js} +2 -2
- package/{number-DN44CCH8.js → number-B91kdCeQ.js} +6 -6
- package/{orbitalDiagram-DigU9vBR.js → orbitalDiagram-DpENL-rt.js} +2 -2
- package/{orbitalDiagramInput-f2UT0EJx.js → orbitalDiagramInput-oBQR5q65.js} +2 -2
- package/{p-BYkctbXs.js → p-DSzP1-kQ.js} +4 -4
- package/package.json +1 -1
- package/{paginatorControls-CLapj2u_.js → paginatorControls-CL4tDbdP.js} +2 -2
- package/{pegboard-CcUeUG5C.js → pegboard-DuDykpFH.js} +4 -4
- package/{point-B4p2mHzD.js → point-BlR4avnu.js} +6 -6
- package/{polygon-DmGqfoql.js → polygon-b_yLS60j.js} +6 -6
- package/{polyline-BmubepKn.js → polyline-DgH-FLSv.js} +5 -5
- package/{pre-Dt-D0GGi.js → pre-CZ7NjwtX.js} +3 -3
- package/{prefigure-C8ce2faG.js → prefigure-94C3mmXN.js} +1 -1
- package/{pretzel-CZOMbU45.js → pretzel-Be4Yb3du.js} +4 -4
- package/{q-Dvgw5w5m.js → q-C8kk6LT7.js} +3 -3
- package/{ray-BumIrlhg.js → ray-K-mfV48a.js} +5 -5
- package/{ref-CmEfCBqp.js → ref-CQxUExU4.js} +2 -2
- package/{regionBetweenCurveXAxis-NbB_u0Bf.js → regionBetweenCurveXAxis-BMdw0VpP.js} +5 -5
- package/{regionBetweenCurves-Ifjx6VHy.js → regionBetweenCurves-D9YE9eeP.js} +5 -5
- package/{row-DyFIFeHS.js → row-2uzap7Jc.js} +2 -2
- package/{rq-rgp_yrQ9.js → rq-3D2LrgE8.js} +2 -2
- package/{rsq-DP9ZLkWi.js → rsq-CJeT9duV.js} +2 -2
- package/{section-C1wzsn75.js → section-CfuXFAjQ.js} +5 -5
- package/{sha256-J35x7uWS-CqDE_242.js → sha256-J35x7uWS-ribnsRfJ.js} +1 -1
- package/{sideBySide-DLiY1RYd.js → sideBySide-p7_Jh4cN.js} +2 -2
- package/{slider-DRk3Jo6_.js → slider-CB90yrda.js} +3 -3
- package/{solution-CKzona8P.js → solution-B3X3-Fwv.js} +4 -4
- package/{spreadsheet-BDaj8F20.js → spreadsheet-BG2f_vom.js} +2 -2
- package/{sq-CWGTUnMn.js → sq-YkDe8IST.js} +3 -3
- package/{subsetOfRealsInput-C6crxkRb.js → subsetOfRealsInput-CGKFN-YE.js} +2 -2
- package/{summaryStatistics-NEmq0Nnh.js → summaryStatistics-qx7j2-5X.js} +2 -2
- package/{table-Clo8MC4W.js → table-wPWydMly.js} +2 -2
- package/{tabular-DnATkuil.js → tabular-CinTpLoL.js} +2 -2
- package/{tag-CMgWONSZ.js → tag-BSP_vF0r.js} +2 -2
- package/{text-D1REYh3E.js → text-CGHRjRfH.js} +6 -6
- package/{textInput-C84NfnCp.js → textInput-CEQpMKWy.js} +6 -6
- package/{tooltip-provider-CWAvpAOu.js → tooltip-provider-CDYcMR--.js} +1 -1
- package/{useAnchoredGraphDragHandler-CawogJDq.js → useAnchoredGraphDragHandler-BpxfgUdY.js} +1 -1
- package/useDoenetRenderer-M_4QN7rb.js +114 -0
- package/{useSubmitActionWithDelay-BeNoHL73.js → useSubmitActionWithDelay-7G_Ptn20.js} +2 -2
- package/{vector-BVD39Jhg.js → vector-CIXRThoL.js} +6 -6
- package/{video-LCLDshWP.js → video-W-Kkumzm.js} +4 -4
- package/useDoenetRenderer-iQ5DcPlm.js +0 -114
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as jsxRuntimeExports, x as Button } from "./doenetml-
|
|
2
|
-
import { T as TooltipProvider, a as TooltipAnchor, b as Tooltip } from "./tooltip-provider-
|
|
1
|
+
import { n as jsxRuntimeExports, x as Button } from "./doenetml-DeejPxeo.js";
|
|
2
|
+
import { T as TooltipProvider, a as TooltipAnchor, b as Tooltip } from "./tooltip-provider-CDYcMR--.js";
|
|
3
3
|
function AnswerResponseButton({
|
|
4
4
|
answerId,
|
|
5
5
|
answerComponentIdx,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { K as memo, L as forwardRef, N as createElement, O as createHook, P as usePopoverContext, Q as invariant, R as useStoreState, S as getBasePlacement, U as useId, V as useMergeRefs, n as jsxRuntimeExports, W as removeUndefinedValues, X as useSafeLayoutEffect, Y as getWindow, Z as usePopoverStore, o as DocContext, $ as PopoverDisclosure, a0 as MdInfoOutline, a1 as Popover } from "./doenetml-
|
|
1
|
+
import { K as memo, L as forwardRef, N as createElement, O as createHook, P as usePopoverContext, Q as invariant, R as useStoreState, S as getBasePlacement, U as useId, V as useMergeRefs, n as jsxRuntimeExports, W as removeUndefinedValues, X as useSafeLayoutEffect, Y as getWindow, Z as usePopoverStore, o as DocContext, $ as PopoverDisclosure, a0 as MdInfoOutline, a1 as Popover } from "./doenetml-DeejPxeo.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 { n as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { n as jsxRuntimeExports } from "./doenetml-DeejPxeo.js";
|
|
2
2
|
import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
|
|
3
|
-
import { D as DescriptionPopover, a as DescriptionAsDetails } from "./Description-
|
|
3
|
+
import { D as DescriptionPopover, a as DescriptionAsDetails } from "./Description-ChZ9_4AF.js";
|
|
4
4
|
function GraphFrame({
|
|
5
5
|
id,
|
|
6
6
|
SVs,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { n as jsxRuntimeExports } from "./doenetml-DeejPxeo.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-M_4QN7rb.js";
|
|
4
4
|
const _error = React__default.memo(function Error(props) {
|
|
5
5
|
let { id, SVs, children } = useDoenetRenderer(props);
|
|
6
6
|
let displayedMessage = null;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { n as jsxRuntimeExports } from "./doenetml-DeejPxeo.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
4
|
-
import { a as addCommasForCompositeRanges } from "./composites-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-M_4QN7rb.js";
|
|
4
|
+
import { a as addCommasForCompositeRanges } from "./composites-DHZFngyn.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 { o as DocContext, n as jsxRuntimeExports, t as textRendererStyle, p as DynamicMath } from "./doenetml-
|
|
1
|
+
import { o as DocContext, n as jsxRuntimeExports, t as textRendererStyle, p as DynamicMath } from "./doenetml-DeejPxeo.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-
|
|
4
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
5
|
-
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-
|
|
6
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
7
|
-
import { g as getPatternFillAttributes } from "./fillPatterns-
|
|
3
|
+
import { j as jxg, s as syncLayer, a as syncWithLabelToggle, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-BtoHbHD_.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-M_4QN7rb.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-Bfk-g7cJ.js";
|
|
6
|
+
import { ChoiceInputInlineContext } from "./choiceInput-D569sEg8.js";
|
|
7
|
+
import { g as getPatternFillAttributes } from "./fillPatterns-ONWRVBgV.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 { o as DocContext, n as jsxRuntimeExports, p as DynamicMath } from "./doenetml-
|
|
1
|
+
import { o as DocContext, n as jsxRuntimeExports, p as DynamicMath } from "./doenetml-DeejPxeo.js";
|
|
2
2
|
import React__default, { useContext } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
4
|
-
import { A as AnswerResponseButton } from "./AnswerResponseButton-
|
|
5
|
-
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-
|
|
6
|
-
import { D as DescriptionPopover } from "./Description-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-M_4QN7rb.js";
|
|
4
|
+
import { A as AnswerResponseButton } from "./AnswerResponseButton-NWqlV8Ng.js";
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-7G_Ptn20.js";
|
|
6
|
+
import { D as DescriptionPopover } from "./Description-ChZ9_4AF.js";
|
|
7
7
|
const answer = React__default.memo(function Answer(props) {
|
|
8
8
|
let {
|
|
9
9
|
componentIdx,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { n as jsxRuntimeExports } from "./doenetml-DeejPxeo.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-M_4QN7rb.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 { u as useRecordVisibilityChanges, n as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useRecordVisibilityChanges, n as jsxRuntimeExports } from "./doenetml-DeejPxeo.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
4
|
-
import { r as renderMarkupBody } from "./markupRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-M_4QN7rb.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-CNMSxe6W.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 { n as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { n as jsxRuntimeExports } from "./doenetml-DeejPxeo.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-M_4QN7rb.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 { q as Context, n as jsxRuntimeExports, M as MathJax, T as ToggleButton } from "./doenetml-
|
|
1
|
+
import { q as Context, n as jsxRuntimeExports, M as MathJax, T as ToggleButton } from "./doenetml-DeejPxeo.js";
|
|
2
2
|
import React__default, { useState, useRef, useContext, useEffect } from "react";
|
|
3
|
-
import { j as jxg } from "./JSXGraphRenderer-
|
|
4
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
5
|
-
import { BoardContext } from "./graph-
|
|
3
|
+
import { j as jxg } from "./JSXGraphRenderer-BtoHbHD_.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-M_4QN7rb.js";
|
|
5
|
+
import { BoardContext } from "./graph-Bfk-g7cJ.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-
|
|
8
|
-
import { D as DescriptionPopover } from "./Description-
|
|
7
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-7G_Ptn20.js";
|
|
8
|
+
import { D as DescriptionPopover } from "./Description-ChZ9_4AF.js";
|
|
9
9
|
const booleanInput = React__default.memo(function BooleanInput(props) {
|
|
10
10
|
let { id, SVs, children, actions, ignoreUpdate, callAction } = useDoenetRenderer(props);
|
|
11
11
|
BooleanInput.baseStateVariable = "value";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { n as jsxRuntimeExports } from "./doenetml-DeejPxeo.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-M_4QN7rb.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 { q as Context, v as cesc, n as jsxRuntimeExports, B as Button2 } from "./doenetml-
|
|
1
|
+
import { q as Context, v as cesc, n as jsxRuntimeExports, B as Button2 } from "./doenetml-DeejPxeo.js";
|
|
2
2
|
import React__default, { useRef, useContext, useEffect } from "react";
|
|
3
|
-
import { j as jxg } from "./JSXGraphRenderer-
|
|
4
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
5
|
-
import { BoardContext } from "./graph-
|
|
3
|
+
import { j as jxg } from "./JSXGraphRenderer-BtoHbHD_.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-M_4QN7rb.js";
|
|
5
|
+
import { BoardContext } from "./graph-Bfk-g7cJ.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 { n as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { n as jsxRuntimeExports } from "./doenetml-DeejPxeo.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
4
|
-
import { r as renderMarkupBody } from "./markupRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-M_4QN7rb.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-CNMSxe6W.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 { n as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { n as jsxRuntimeExports } from "./doenetml-DeejPxeo.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
4
|
-
import { a as addCommasForCompositeRanges } from "./composites-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-M_4QN7rb.js";
|
|
4
|
+
import { a as addCommasForCompositeRanges } from "./composites-DHZFngyn.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 { aq as autoUpdate, o as DocContext, n as jsxRuntimeExports, ar as CANVAS_DARK_MODE_COLOR, M as MathJax } from "./doenetml-
|
|
1
|
+
import { aq as autoUpdate, o as DocContext, n as jsxRuntimeExports, ar as CANVAS_DARK_MODE_COLOR, M as MathJax } from "./doenetml-DeejPxeo.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-
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-M_4QN7rb.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-
|
|
8
|
-
import { D as DescriptionPopover } from "./Description-
|
|
7
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-7G_Ptn20.js";
|
|
8
|
+
import { D as DescriptionPopover } from "./Description-ChZ9_4AF.js";
|
|
9
9
|
import { a as addValidationStateToShortDescription } from "./validationState-CVwSJZpB.js";
|
|
10
10
|
import { a as getBlockMarginWithOptionalTopSuppression } from "./nonInlineMediaLayout-CkXHaqzo.js";
|
|
11
11
|
function _typeof(o) {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { o as DocContext, n as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { o as DocContext, n as jsxRuntimeExports } from "./doenetml-DeejPxeo.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-
|
|
4
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
5
|
-
import { BoardContext, POINT_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-
|
|
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-BtoHbHD_.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-M_4QN7rb.js";
|
|
5
|
+
import { BoardContext, POINT_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-Bfk-g7cJ.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-
|
|
8
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-D1JO5-Y1.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-C7PtyKL7.js";
|
|
14
|
-
import { g as getPatternFillAttributes } from "./fillPatterns-
|
|
14
|
+
import { g as getPatternFillAttributes } from "./fillPatterns-ONWRVBgV.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 { w as createFunctionFromDefinition, n as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { w as createFunctionFromDefinition, n as jsxRuntimeExports } from "./doenetml-DeejPxeo.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-
|
|
4
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
5
|
-
import { BoardContext, LINE_LAYER_OFFSET, VERTEX_LAYER_OFFSET } from "./graph-
|
|
3
|
+
import { j as jxg, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-BtoHbHD_.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-M_4QN7rb.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET, VERTEX_LAYER_OFFSET } from "./graph-Bfk-g7cJ.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 { n as jsxRuntimeExports, J as EditorViewer } from "./doenetml-
|
|
1
|
+
import { n as jsxRuntimeExports, J as EditorViewer } from "./doenetml-DeejPxeo.js";
|
|
2
2
|
import React__default, { useState, useEffect, useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-M_4QN7rb.js";
|
|
4
4
|
import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
|
|
5
5
|
function resolveElements(elementOrSelector, scope, selectorCache) {
|
|
6
6
|
if (elementOrSelector == null) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { u as useRecordVisibilityChanges, n as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useRecordVisibilityChanges, n as jsxRuntimeExports } from "./doenetml-DeejPxeo.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
4
|
-
import { a as addCommasForCompositeRanges } from "./composites-
|
|
5
|
-
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-M_4QN7rb.js";
|
|
4
|
+
import { a as addCommasForCompositeRanges } from "./composites-DHZFngyn.js";
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-7G_Ptn20.js";
|
|
6
6
|
const containerBlock = React__default.memo(function Container(props) {
|
|
7
7
|
let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
|
|
8
8
|
const ref = useRef(null);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { n as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { n as jsxRuntimeExports } from "./doenetml-DeejPxeo.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
4
|
-
import { a as addCommasForCompositeRanges } from "./composites-
|
|
5
|
-
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-M_4QN7rb.js";
|
|
4
|
+
import { a as addCommasForCompositeRanges } from "./composites-DHZFngyn.js";
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-7G_Ptn20.js";
|
|
6
6
|
const containerInline = React__default.memo(function ContainerInline(props) {
|
|
7
7
|
let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
|
|
8
8
|
if (SVs.hidden) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { o as DocContext, w as createFunctionFromDefinition, n as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { o as DocContext, w as createFunctionFromDefinition, n as jsxRuntimeExports } from "./doenetml-DeejPxeo.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-
|
|
4
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
5
|
-
import { BoardContext, VERTEX_LAYER_OFFSET, CONTROL_POINT_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-
|
|
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-BtoHbHD_.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-M_4QN7rb.js";
|
|
5
|
+
import { BoardContext, VERTEX_LAYER_OFFSET, CONTROL_POINT_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-Bfk-g7cJ.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";
|
|
@@ -27598,7 +27598,7 @@ async function cidFromArrayBuffer(data) {
|
|
|
27598
27598
|
await crypto.subtle.digest("SHA-256", new Uint8Array());
|
|
27599
27599
|
digest = (data2) => crypto.subtle.digest("SHA-256", data2);
|
|
27600
27600
|
} catch (e2) {
|
|
27601
|
-
const sha256 = (await import("./sha256-J35x7uWS-
|
|
27601
|
+
const sha256 = (await import("./sha256-J35x7uWS-ribnsRfJ.js").then((n2) => n2.s)).default;
|
|
27602
27602
|
digest = (data2) => sha256(data2, {
|
|
27603
27603
|
asBytes: true
|
|
27604
27604
|
});
|
|
@@ -43703,7 +43703,7 @@ function DocViewer({
|
|
|
43703
43703
|
for (const rendererClassName of coreInfo.current.rendererTypesInDocument) {
|
|
43704
43704
|
rendererClassNames.push(rendererClassName);
|
|
43705
43705
|
rendererLoaders.push(
|
|
43706
|
-
() => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "./renderers/GraphFrame.tsx": () => import("./GraphFrame-
|
|
43706
|
+
() => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "./renderers/GraphFrame.tsx": () => import("./GraphFrame-CZhoTUBt.js"), "./renderers/JSXGraphRenderer.tsx": () => import("./JSXGraphRenderer-BtoHbHD_.js").then((n2) => n2.m), "./renderers/_error.tsx": () => import("./_error-BEf5LCmb.js"), "./renderers/alert.tsx": () => import("./alert-B0YuIX4Z.js"), "./renderers/angle.tsx": () => import("./angle-TYjV_O-9.js"), "./renderers/answer.tsx": () => import("./answer-gjEe4BIk.js"), "./renderers/asList.tsx": () => import("./asList-DSAka1eW.js"), "./renderers/blockQuote.tsx": () => import("./blockQuote-9KtFL3Pc.js"), "./renderers/boolean.tsx": () => import("./boolean-Cd81LY4v.js"), "./renderers/booleanInput.tsx": () => import("./booleanInput-LF2aSdqT.js"), "./renderers/br.tsx": () => import("./br-CiGI8JRY.js"), "./renderers/button.tsx": () => import("./button-G2_e9pyu.js"), "./renderers/c.tsx": () => import("./c-4SdfJSO3.js"), "./renderers/cell.tsx": () => import("./cell-Et9jY9zi.js"), "./renderers/choiceInput.tsx": () => import("./choiceInput-D569sEg8.js"), "./renderers/circle.tsx": () => import("./circle-BzU1ULMp.js"), "./renderers/cobwebPolyline.tsx": () => import("./cobwebPolyline-BhCBDDVv.js"), "./renderers/codeEditor.tsx": () => import("./codeEditor-D2O5KCUO.js"), "./renderers/containerBlock.tsx": () => import("./containerBlock-C_xdexQn.js"), "./renderers/containerInline.tsx": () => import("./containerInline-BET6Whnr.js"), "./renderers/curve.tsx": () => import("./curve-Cm5E4dSL.js"), "./renderers/ellipsis.tsx": () => import("./ellipsis-gGTenFs8.js"), "./renderers/em.tsx": () => import("./em-BVZjtJw-.js"), "./renderers/embed.tsx": () => import("./embed-CZ_VtykS.js"), "./renderers/feedback.tsx": () => import("./feedback-CQ7Xv3M5.js"), "./renderers/figure.tsx": () => import("./figure-5rDN8Cv3.js"), "./renderers/footnote.tsx": () => import("./footnote-D7YDK_Mo.js"), "./renderers/fractionInput.tsx": () => import("./fractionInput-BKVnJL68.js"), "./renderers/graph.tsx": () => import("./graph-Bfk-g7cJ.js"), "./renderers/hint.tsx": () => import("./hint-DFLGShNp.js"), "./renderers/hr.tsx": () => import("./hr-C8eiVs1Z.js"), "./renderers/image.tsx": () => import("./image-C5jiRy8R.js"), "./renderers/label.tsx": () => import("./label-B0bd4wJx.js"), "./renderers/legend.tsx": () => import("./legend-6KK5NKKf.js"), "./renderers/line.tsx": () => import("./line-B13ft9u3.js"), "./renderers/lineSegment.tsx": () => import("./lineSegment-QL75f3rg.js"), "./renderers/list.tsx": () => import("./list-DWW42FXa.js"), "./renderers/lq.tsx": () => import("./lq-DDdCsbz8.js"), "./renderers/lsq.tsx": () => import("./lsq-BCPpoE3T.js"), "./renderers/math.tsx": () => import("./math-BXS3zfvc.js"), "./renderers/mathInput.tsx": () => import("./mathInput-DKAce4ye.js"), "./renderers/matrixInput.tsx": () => import("./matrixInput-BsF-fLIA.js"), "./renderers/mdash.tsx": () => import("./mdash-Bpnf_QHV.js"), "./renderers/nbsp.tsx": () => import("./nbsp-YyPCZK0o.js"), "./renderers/ndash.tsx": () => import("./ndash-DhMNQgmN.js"), "./renderers/number.tsx": () => import("./number-B91kdCeQ.js"), "./renderers/orbitalDiagram.tsx": () => import("./orbitalDiagram-DpENL-rt.js"), "./renderers/orbitalDiagramInput.tsx": () => import("./orbitalDiagramInput-oBQR5q65.js"), "./renderers/p.tsx": () => import("./p-DSzP1-kQ.js"), "./renderers/paginatorControls.tsx": () => import("./paginatorControls-CL4tDbdP.js"), "./renderers/pegboard.tsx": () => import("./pegboard-DuDykpFH.js"), "./renderers/point.tsx": () => import("./point-BlR4avnu.js"), "./renderers/polygon.tsx": () => import("./polygon-b_yLS60j.js"), "./renderers/polyline.tsx": () => import("./polyline-DgH-FLSv.js"), "./renderers/pre.tsx": () => import("./pre-CZ7NjwtX.js"), "./renderers/prefigure.tsx": () => import("./prefigure-94C3mmXN.js"), "./renderers/pretzel.tsx": () => import("./pretzel-Be4Yb3du.js"), "./renderers/q.tsx": () => import("./q-C8kk6LT7.js"), "./renderers/ray.tsx": () => import("./ray-K-mfV48a.js"), "./renderers/ref.tsx": () => import("./ref-CQxUExU4.js"), "./renderers/regionBetweenCurveXAxis.tsx": () => import("./regionBetweenCurveXAxis-BMdw0VpP.js"), "./renderers/regionBetweenCurves.tsx": () => import("./regionBetweenCurves-D9YE9eeP.js"), "./renderers/row.tsx": () => import("./row-2uzap7Jc.js"), "./renderers/rq.tsx": () => import("./rq-3D2LrgE8.js"), "./renderers/rsq.tsx": () => import("./rsq-CJeT9duV.js"), "./renderers/section.tsx": () => import("./section-CfuXFAjQ.js"), "./renderers/sideBySide.tsx": () => import("./sideBySide-p7_Jh4cN.js"), "./renderers/slider.tsx": () => import("./slider-CB90yrda.js"), "./renderers/solution.tsx": () => import("./solution-B3X3-Fwv.js"), "./renderers/spreadsheet.tsx": () => import("./spreadsheet-BG2f_vom.js"), "./renderers/sq.tsx": () => import("./sq-YkDe8IST.js"), "./renderers/subsetOfRealsInput.tsx": () => import("./subsetOfRealsInput-CGKFN-YE.js"), "./renderers/summaryStatistics.tsx": () => import("./summaryStatistics-qx7j2-5X.js"), "./renderers/table.tsx": () => import("./table-wPWydMly.js"), "./renderers/tabular.tsx": () => import("./tabular-CinTpLoL.js"), "./renderers/tag.tsx": () => import("./tag-BSP_vF0r.js"), "./renderers/text.tsx": () => import("./text-CGHRjRfH.js"), "./renderers/textInput.tsx": () => import("./textInput-CEQpMKWy.js"), "./renderers/vector.tsx": () => import("./vector-CIXRThoL.js"), "./renderers/video.tsx": () => import("./video-W-Kkumzm.js") }), `./renderers/${rendererClassName}.tsx`, 3)
|
|
43707
43707
|
);
|
|
43708
43708
|
}
|
|
43709
43709
|
const documentComponentInstructions = coreInfo.current.documentToRender;
|
|
@@ -144243,8 +144243,8 @@ const customHighlightStyle = createHighlightStyle({
|
|
|
144243
144243
|
// Burnt orange - 5.17:1 on white
|
|
144244
144244
|
invalid: "#a80000",
|
|
144245
144245
|
// Dark red - 6.23:1 on white
|
|
144246
|
-
blockComment: "#
|
|
144247
|
-
// Gray - 4.
|
|
144246
|
+
blockComment: "#5c636d",
|
|
144247
|
+
// Gray - 6.1:1 on white, 4.7:1 on the --mainGray selection
|
|
144248
144248
|
macroName: "#6f42c1",
|
|
144249
144249
|
// Purple - 5.01:1 on white
|
|
144250
144250
|
content: "#24292f"
|
|
@@ -187007,6 +187007,19 @@ function appendInlineMarkdown(parent, text2) {
|
|
|
187007
187007
|
}
|
|
187008
187008
|
}
|
|
187009
187009
|
}
|
|
187010
|
+
function getSelectionBackgroundColor(darkMode) {
|
|
187011
|
+
return darkMode === "dark" ? "#092c4d" : "var(--mainGray)";
|
|
187012
|
+
}
|
|
187013
|
+
function selectionThemeRules(darkMode) {
|
|
187014
|
+
const backgroundColor = getSelectionBackgroundColor(darkMode);
|
|
187015
|
+
return {
|
|
187016
|
+
"&.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground": { backgroundColor },
|
|
187017
|
+
"& > .cm-scroller > .cm-selectionLayer .cm-selectionBackground": {
|
|
187018
|
+
backgroundColor
|
|
187019
|
+
},
|
|
187020
|
+
"::selection": { backgroundColor }
|
|
187021
|
+
};
|
|
187022
|
+
}
|
|
187010
187023
|
function getGutterColors(darkMode) {
|
|
187011
187024
|
if (darkMode === "dark") {
|
|
187012
187025
|
return {
|
|
@@ -187025,42 +187038,46 @@ function getGutterColors(darkMode) {
|
|
|
187025
187038
|
}
|
|
187026
187039
|
function colorTheme(darkMode) {
|
|
187027
187040
|
const gutterColors = getGutterColors(darkMode);
|
|
187028
|
-
return EditorView.theme(
|
|
187029
|
-
|
|
187030
|
-
|
|
187031
|
-
|
|
187032
|
-
|
|
187033
|
-
|
|
187034
|
-
|
|
187035
|
-
|
|
187036
|
-
|
|
187037
|
-
|
|
187038
|
-
|
|
187039
|
-
|
|
187040
|
-
|
|
187041
|
-
|
|
187042
|
-
|
|
187043
|
-
|
|
187044
|
-
|
|
187045
|
-
|
|
187046
|
-
|
|
187047
|
-
|
|
187048
|
-
|
|
187049
|
-
|
|
187050
|
-
|
|
187051
|
-
|
|
187052
|
-
|
|
187053
|
-
|
|
187054
|
-
|
|
187055
|
-
|
|
187056
|
-
|
|
187041
|
+
return EditorView.theme(
|
|
187042
|
+
{
|
|
187043
|
+
"&": {
|
|
187044
|
+
color: "var(--canvasText)",
|
|
187045
|
+
height: "100%",
|
|
187046
|
+
backgroundColor: "var(--canvas)"
|
|
187047
|
+
},
|
|
187048
|
+
".cm-content": {
|
|
187049
|
+
caretColor: "#0e9"
|
|
187050
|
+
},
|
|
187051
|
+
"&.cm-focused .cm-cursor": {
|
|
187052
|
+
borderLeftColor: "var(--canvasText)"
|
|
187053
|
+
},
|
|
187054
|
+
...selectionThemeRules(darkMode),
|
|
187055
|
+
"&.cm-focused": {
|
|
187056
|
+
color: "var(--canvasText)"
|
|
187057
|
+
},
|
|
187058
|
+
".cm-gutters": {
|
|
187059
|
+
backgroundColor: gutterColors.backgroundColor,
|
|
187060
|
+
color: gutterColors.textColor,
|
|
187061
|
+
border: "none",
|
|
187062
|
+
borderRight: gutterColors.borderRight
|
|
187063
|
+
},
|
|
187064
|
+
".cm-activeLine": {
|
|
187065
|
+
backgroundColor: "#50505020",
|
|
187066
|
+
// Must be explicit: CodeMirror's base theme sets activeLine color
|
|
187067
|
+
// to a dark value which is invisible on a dark canvas.
|
|
187068
|
+
color: "var(--canvasText)"
|
|
187069
|
+
},
|
|
187070
|
+
// Subtle gutter highlight on the active line — CodeMirror's base
|
|
187071
|
+
// theme uses #e2f2ff (light blue) which is glaring on a dark gutter.
|
|
187072
|
+
".cm-activeLineGutter": {
|
|
187073
|
+
backgroundColor: gutterColors.activeLineBackgroundColor
|
|
187074
|
+
}
|
|
187057
187075
|
},
|
|
187058
|
-
//
|
|
187059
|
-
//
|
|
187060
|
-
|
|
187061
|
-
|
|
187062
|
-
|
|
187063
|
-
});
|
|
187076
|
+
// Tell CodeMirror the actual brightness so its base theme applies
|
|
187077
|
+
// dark-appropriate defaults (e.g. the blurred selection color) instead
|
|
187078
|
+
// of light ones.
|
|
187079
|
+
{ dark: darkMode === "dark" }
|
|
187080
|
+
);
|
|
187064
187081
|
}
|
|
187065
187082
|
function getCompletionIconColors(darkMode) {
|
|
187066
187083
|
if (darkMode === "dark") {
|
|
@@ -187141,41 +187158,42 @@ function readOnlyColorTheme(darkMode) {
|
|
|
187141
187158
|
const gutterColors = getGutterColors(darkMode);
|
|
187142
187159
|
const lineTextColor = darkMode === "dark" ? "#c8c8c8" : "#595959";
|
|
187143
187160
|
const activeLineBackgroundColor = darkMode === "dark" ? "#50505020" : "var(--mainGray)";
|
|
187144
|
-
return EditorView.theme(
|
|
187145
|
-
|
|
187146
|
-
|
|
187147
|
-
|
|
187148
|
-
|
|
187149
|
-
|
|
187150
|
-
|
|
187151
|
-
|
|
187152
|
-
|
|
187153
|
-
|
|
187154
|
-
|
|
187155
|
-
|
|
187156
|
-
|
|
187157
|
-
|
|
187158
|
-
|
|
187159
|
-
|
|
187160
|
-
|
|
187161
|
-
|
|
187162
|
-
|
|
187163
|
-
|
|
187164
|
-
|
|
187165
|
-
|
|
187166
|
-
|
|
187167
|
-
|
|
187168
|
-
|
|
187169
|
-
|
|
187170
|
-
|
|
187171
|
-
|
|
187172
|
-
|
|
187173
|
-
|
|
187161
|
+
return EditorView.theme(
|
|
187162
|
+
{
|
|
187163
|
+
"&": {
|
|
187164
|
+
color: "var(--canvasText)",
|
|
187165
|
+
height: "100%"
|
|
187166
|
+
},
|
|
187167
|
+
".cm-content": {
|
|
187168
|
+
caretColor: "#0e9",
|
|
187169
|
+
backgroundColor: "#77777720"
|
|
187170
|
+
},
|
|
187171
|
+
"&.cm-focused .cm-cursor": {
|
|
187172
|
+
borderLeftColor: "var(--canvasText)"
|
|
187173
|
+
},
|
|
187174
|
+
...selectionThemeRules(darkMode),
|
|
187175
|
+
"&.cm-focused": {
|
|
187176
|
+
color: "var(--canvasText)"
|
|
187177
|
+
},
|
|
187178
|
+
".cm-gutters": {
|
|
187179
|
+
backgroundColor: gutterColors.backgroundColor,
|
|
187180
|
+
color: gutterColors.textColor,
|
|
187181
|
+
border: "none",
|
|
187182
|
+
borderRight: gutterColors.borderRight
|
|
187183
|
+
},
|
|
187184
|
+
".cm-activeLine": {
|
|
187185
|
+
backgroundColor: activeLineBackgroundColor,
|
|
187186
|
+
color: "var(--canvasText)"
|
|
187187
|
+
},
|
|
187188
|
+
".cm-activeLineGutter": {
|
|
187189
|
+
backgroundColor: gutterColors.activeLineBackgroundColor
|
|
187190
|
+
},
|
|
187191
|
+
".cm-line": {
|
|
187192
|
+
color: lineTextColor
|
|
187193
|
+
}
|
|
187174
187194
|
},
|
|
187175
|
-
"
|
|
187176
|
-
|
|
187177
|
-
}
|
|
187178
|
-
});
|
|
187195
|
+
{ dark: darkMode === "dark" }
|
|
187196
|
+
);
|
|
187179
187197
|
}
|
|
187180
187198
|
const CodeMirror = React__default.memo(function CodeMirror2({
|
|
187181
187199
|
value,
|
|
@@ -207551,10 +207569,10 @@ function EditorFooter({
|
|
|
207551
207569
|
"div",
|
|
207552
207570
|
{
|
|
207553
207571
|
className: "doenetml-version",
|
|
207554
|
-
title: `DoenetML version ${"0.7.21-dev.
|
|
207572
|
+
title: `DoenetML version ${"0.7.21-dev.359"}`,
|
|
207555
207573
|
children: [
|
|
207556
207574
|
"v",
|
|
207557
|
-
"0.7.21-dev.
|
|
207575
|
+
"0.7.21-dev.359"
|
|
207558
207576
|
]
|
|
207559
207577
|
}
|
|
207560
207578
|
),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { k as doenetGlobalConfig } from "./doenetml-
|
|
2
|
-
import { C, D, a, c, b, d, g, e, f, h, m, i, r, s, j } from "./doenetml-
|
|
1
|
+
import { k as doenetGlobalConfig } from "./doenetml-DeejPxeo.js";
|
|
2
|
+
import { C, D, a, c, b, d, g, e, f, h, m, i, r, s, j } from "./doenetml-DeejPxeo.js";
|
|
3
3
|
const workerPath = "./doenetml-worker/index.js";
|
|
4
4
|
function resolveWorkerUrl() {
|
|
5
5
|
try {
|