@pie-element/multi-trait-rubric 8.1.2-next.18 → 8.1.2-next.19
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/dist/browser/{Typography-CR9tXNhP.js → Typography-DfR9n_9-.js} +368 -335
- package/dist/browser/{Typography-CR9tXNhP.js.map → Typography-DfR9n_9-.js.map} +1 -1
- package/dist/browser/author/index.js +102 -102
- package/dist/browser/author/index.js.map +1 -1
- package/dist/browser/delivery/index.js +48 -48
- package/dist/browser/editor-runtime/{Typography-CgHBy44t.js → Typography-LNDmiTxk.js} +368 -335
- package/dist/browser/editor-runtime/{Typography-CgHBy44t.js.map → Typography-LNDmiTxk.js.map} +1 -1
- package/dist/browser/editor-runtime/author/index.js +389 -389
- package/dist/browser/editor-runtime/author/index.js.map +1 -1
- package/dist/browser/editor-runtime/delivery/index.js +48 -48
- package/dist/index.iife.js +21 -21
- package/package.json +10 -7
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
(document.head || document.documentElement).appendChild(style);
|
|
17
17
|
}
|
|
18
18
|
})([["cb0f0518b022d739", (url) => "@font-face{font-family:Symbola;src:local(Symbola Regular),local(Symbola),url(\"" + url(() => new URL("../assets/Symbola-4c507403.woff2", import.meta.url)) + "\")format(\"woff2\")}.mq-editable-field{display:inline-block}.mq-editable-field .mq-cursor{z-index:1;border-left:1px solid #000;margin-left:-1px;padding:0;display:inline-block;position:relative}.mq-editable-field .mq-cursor.mq-blink{visibility:hidden}.mq-editable-field,.mq-math-mode .mq-editable-field{border:1px solid gray}.mq-editable-field.mq-focused,.mq-math-mode .mq-editable-field.mq-focused{border-color:#709ac0;border-radius:1px;box-shadow:0 0 1px 2px #8bd,inset 0 0 2px #6ae}.mq-math-mode .mq-editable-field{margin:1px}.mq-editable-field .mq-latex-command-input{color:inherit;border:1px solid gray;margin-left:2px;margin-right:1px;padding-right:1px;font-family:Courier New,monospace}.mq-editable-field .mq-latex-command-input.mq-empty{background:0 0}.mq-editable-field .mq-latex-command-input.mq-hasCursor{border-color:activeborder}.mq-editable-field.mq-empty:after,.mq-editable-field.mq-text-mode:after,.mq-math-mode .mq-empty:after,.mq-editable-field .mq-cursor:only-child:after,.mq-editable-field .mq-textarea+.mq-cursor:last-child:after{visibility:hidden;content:\"c\"}.mq-editable-field .mq-text-mode .mq-cursor:only-child:after{content:\"\"}.mq-editable-field.mq-text-mode{overflow:auto hidden}.mq-root-block,.mq-math-mode .mq-root-block{box-sizing:border-box;white-space:nowrap;vertical-align:middle;width:100%;padding:2px;display:inline-block;overflow:hidden}.mq-math-mode{font-variant:normal;font-size:115%;font-style:normal;font-weight:400;line-height:1;display:inline-block}.mq-math-mode .mq-non-leaf,.mq-math-mode .mq-scaled{display:inline-block}.mq-math-mode var,.mq-math-mode .mq-text-mode,.mq-math-mode .mq-nonSymbola{font-family:Times New Roman,Symbola,serif;line-height:.9}.mq-math-mode *{font-size:inherit;line-height:inherit;-webkit-user-select:none;user-select:none;box-sizing:border-box;border-color:#000;margin:0;padding:0}.mq-math-mode .mq-empty,.mq-math-mode.mq-empty{background:0 0}.mq-math-mode .mq-text-mode{white-space:pre;display:inline-block}.mq-math-mode .mq-text-mode.mq-hasCursor{min-width:1ex;margin:0 -.1em;padding:0 .1em;box-shadow:inset 0 .1em .2em #a9a9a9}.mq-math-mode .mq-font{font:1em Times New Roman,Symbola,serif}.mq-math-mode .mq-font *{font-family:inherit;font-style:inherit}.mq-math-mode b,.mq-math-mode b.mq-font{font-weight:bolder}.mq-math-mode var,.mq-math-mode i,.mq-math-mode i.mq-font{font-style:italic}.mq-math-mode var.mq-f{margin-left:.1em;margin-right:.2em}.mq-math-mode .mq-roman var.mq-f{margin:0}.mq-math-mode big{font-size:200%}.mq-math-mode .mq-int>big{vertical-align:-.16em;display:inline-block;transform:scaleX(.7)}.mq-math-mode .mq-int>.mq-supsub{vertical-align:-1.1em;padding-right:.2em;font-size:80%}.mq-math-mode .mq-int>.mq-supsub>.mq-sup>.mq-sup-inner{vertical-align:1.3em}.mq-math-mode .mq-int>.mq-supsub>.mq-sub{margin-left:-.35em}.mq-math-mode .mq-roman{font-style:normal}.mq-math-mode .mq-sans-serif{font-family:sans-serif,Symbola,serif}.mq-math-mode .mq-monospace{font-family:monospace,Symbola,serif}.mq-math-mode .mq-overleftrightarrow{margin-top:.35em;position:relative}.mq-math-mode .mq-overleftrightarrow .mq-overleftrightarrow-inner{text-align:center;border-top:.14em solid #4d4d4d;min-width:1em;margin:0 .1em;padding-top:.35em;display:inline-block;position:relative}.mq-math-mode .mq-overleftrightarrow .mq-overleftrightarrow-inner .mq-empty{min-width:1em;margin-top:.1em;display:inline-block}.mq-math-mode .mq-overleftrightarrow .mq-overleftrightarrow-inner .mq-overleftrightarrow-inner-right{text-align:right;font-family:LearnosityIconsRegular;font-size:.75em;line-height:1em;display:block;position:absolute;top:-.562em;right:-.4em}.mq-math-mode .mq-overleftrightarrow .mq-overleftrightarrow-inner .mq-overleftrightarrow-inner-left{text-align:left;font-family:LearnosityIconsRegular;font-size:.75em;line-height:1em;display:block;position:absolute;top:-.562em;left:-.4em}.mq-math-mode .mq-overline .mq-overline-inner{text-align:center;border-top:.14em solid #4d4d4d;margin-left:.1em;padding-top:.2em;padding-right:.1em;display:inline-block}.mq-math-mode .mq-overline .mq-overline-inner .mq-empty{min-width:1em;margin-top:.1em;display:inline-block}.mq-math-mode .mq-overline .mq-overline-inner .mq-overline-inner-right,.mq-math-mode .mq-overline .mq-overline-inner .mq-overline-inner-left{display:none}.mq-math-mode .mq-longdiv{padding-top:.2em}.mq-math-mode .mq-longdiv .mq-longdiv-curve-border{border-top-right-radius:100em;border-bottom-right-radius:100em;width:2px;max-width:2px;margin-right:-.12em;padding-top:.2em;font-size:1.4em;display:inline}.mq-math-mode .mq-longdiv .mq-longdiv-inner{text-align:center;border-top:1px solid gray;border-radius:0 0 0 10px;min-width:1em;margin-left:-.2em;margin-right:.15em;padding-top:.19em;padding-left:.44em;font-size:1em;display:inline}.mq-math-mode .mq-longdiv .mq-longdiv-inner .mq-empty{min-width:1.5em;display:inline-block}.mq-math-mode .mq-underline{border-bottom:1px solid #000;margin-bottom:1px}.mq-math-mode .mq-underline.mq-empty{min-width:1em}.mq-math-mode .mq-overarc{-moz-border-radius-topright:50% .3em;-moz-border-radius-topleft:50% .3em;border-top:1px solid #000;border-top-left-radius:50% .3em;border-top-right-radius:50% .3em;margin-top:1px;padding-top:.15em}.mq-math-mode .mq-overarrow{margin-top:.35em;position:relative}.mq-math-mode .mq-overarrow .mq-overarrow-inner{text-align:center;border-top:.14em solid #4d4d4d;min-width:1em;margin:0 .1em;padding-top:.35em;display:inline-block;position:relative}.mq-math-mode .mq-overarrow .mq-overarrow-inner .mq-empty{min-width:1em;margin-top:.1em;display:inline-block}.mq-math-mode .mq-overarrow .mq-overarrow-inner .mq-overarrow-inner-right{text-align:right;font-family:LearnosityIconsRegular;font-size:.75em;line-height:1em;display:block;position:absolute;top:-.562em;right:-.4em}.mq-math-mode .mq-overarrow .mq-overarrow-inner .mq-overarrow-inner-left{text-align:left;font-family:LearnosityIconsRegular;font-size:.75em;line-height:1em;display:none;position:absolute;top:-.562em;left:-.4em}.mq-math-mode .mq-overarrow.mq-arrow-left .mq-overarrow-inner .mq-overarrow-inner-right{display:none}.mq-math-mode .mq-overarrow.mq-arrow-left .mq-overarrow-inner .mq-overarrow-inner-left{display:block}.mq-math-mode .mq-overarrow.mq-arrow-both{vertical-align:text-bottom}.mq-math-mode .mq-overarrow.mq-arrow-both.mq-empty{min-height:1.23em}.mq-math-mode .mq-overarrow.mq-arrow-both.mq-empty:after{top:-.34em}.mq-math-mode .mq-overarrow.mq-arrow-both:before{filter:FlipH;-ms-filter:\"FlipH\";transform:scaleX(-1)}.mq-math-mode .mq-overarrow.mq-arrow-both:after{content:\"➤\";visibility:visible;text-align:right;font-size:.5em;line-height:0;display:block;position:relative;top:-2.3em}.mq-math-mode .mq-xarrow{text-align:center;vertical-align:.9em;padding:0 .2em;font-size:70%;position:relative}.mq-math-mode .mq-xarrow .mq-xarrow-over{border-bottom:1px solid #000;padding:.1em .1em .2em;display:block;position:relative}.mq-math-mode .mq-xarrow .mq-xarrow-under{float:left;margin-bottom:.2em;padding:0 .1em .2em;position:relative;top:.2em}.mq-math-mode .mq-xarrow .mq-xarrow-over:before{content:\"➤\";height:1em;font-size:.6em;display:block;position:absolute;bottom:-.62em;right:-.3em}.mq-math-mode .mq-xarrow.mq-arrow-left .mq-xarrow-over:before{filter:FlipH;-ms-filter:\"FlipH\";left:-.3em;right:auto;transform:scaleX(-1)}.mq-math-mode .mq-binary-operator{padding:0 .2em;display:inline-block}.mq-math-mode .mq-supsub{text-align:left;vertical-align:-.5em;font-size:90%}.mq-math-mode .mq-supsub.mq-sup-only{vertical-align:.5em}.mq-math-mode .mq-supsub.mq-sup-only .mq-sup{vertical-align:text-bottom;display:inline-block}.mq-math-mode .mq-supsub .mq-sup{display:block}.mq-math-mode .mq-supsub .mq-sub{float:left;display:block}.mq-math-mode .mq-supsub .mq-binary-operator{padding:0 .1em}.mq-math-mode .mq-supsub .mq-fraction{font-size:70%}.mq-math-mode sup.mq-nthroot{vertical-align:.8em;min-width:.5em;margin-left:.2em;margin-right:-.6em;font-size:80%}.mq-math-mode .mq-paren{vertical-align:top;transform-origin:50% .06em;padding:0 .1em}.mq-math-mode .mq-paren.mq-ghost{color:silver}.mq-math-mode .mq-paren+span{margin-top:.1em;margin-bottom:.1em}.mq-math-mode .mq-array{vertical-align:middle;text-align:center}.mq-math-mode .mq-array>span{display:block}.mq-math-mode .mq-operator-name{font-family:Symbola,Times New Roman,serif;font-style:normal;line-height:.9}.mq-math-mode var.mq-operator-name.mq-first{padding-left:.2em}.mq-math-mode var.mq-operator-name.mq-last,.mq-math-mode .mq-supsub.mq-after-operator-name{padding-right:.2em}.mq-math-mode .mq-fraction{text-align:center;vertical-align:-.4em;padding:0 .2em;font-size:90%}.mq-math-mode .mq-fraction,.mq-math-mode .mq-large-operator{display:-moz-groupbox}.mq-math-mode x:-moz-any-link{display:-moz-groupbox}.mq-math-mode .mq-fraction,.mq-math-mode .mq-large-operator,.mq-math-mode x:default{display:inline-block}.mq-math-mode x:-moz-any-link{display:inline-block}.mq-math-mode .mq-underset.mq-tilde-vector .mq-under{line-height:.6em}.mq-math-mode .mq-numerator,.mq-math-mode .mq-denominator,.mq-math-mode .mq-dot-recurring,.mq-math-mode .mq-over,.mq-math-mode .mq-under{display:block}.mq-math-mode .mq-numerator,.mq-math-mode .mq-over{margin-bottom:.2em;padding:0 .1em}.mq-math-mode .mq-denominator{float:right;border-top:1px solid;width:100%;padding:.3em .1em .1em}.mq-math-mode .mq-dot-recurring{text-align:center;height:.6em}.mq-math-mode .mq-overunder{text-align:center;position:relative;top:.01em}.mq-math-mode .mq-overunder .mq-font{font-family:inherit}.mq-math-mode .mq-overunder.mq-underset{vertical-align:text-top}.mq-math-mode .mq-overunder.mq-underset .mq-under,.mq-math-mode .mq-overunder.mq-overset .mq-over{font-size:.7em;display:block}.mq-math-mode .mq-sqrt-prefix{vertical-align:top;transform-origin:top;padding-top:0;position:relative;top:.1em}.mq-math-mode .mq-sqrt-stem{border-top:1px solid;margin-top:1px;margin-right:.1em;padding-top:1px;padding-left:.15em;padding-right:.2em}.mq-math-mode .mq-diacritic-above{text-align:center;line-height:.4em;display:block}.mq-math-mode .mq-diacritic-stem{text-align:center;display:block}.mq-math-mode .mq-hat-prefix{text-align:center;margin-bottom:-.7em;line-height:.95em;display:block;transform:scaleX(1.5)}.mq-math-mode .mq-hat-stem{display:block}.mq-math-mode .mq-large-operator{vertical-align:-.2em;text-align:center;vertical-align:middle;padding:.2em}.mq-math-mode .mq-large-operator .mq-from,.mq-math-mode .mq-large-operator big,.mq-math-mode .mq-large-operator .mq-to{display:block}.mq-math-mode .mq-large-operator .mq-from,.mq-math-mode .mq-large-operator .mq-to{font-size:80%}.mq-math-mode .mq-large-operator .mq-from{float:right;width:100%}.mq-math-mode .mq-lim{text-align:center}.mq-math-mode .mq-lim span{display:block}.mq-math-mode .mq-lim .mq-approaches{float:right;width:100%;font-size:80%}.mq-math-mode .mq-lim .mq-approaches span>span{display:inline}.mq-math-mode .mq-matrix{vertical-align:middle;margin-left:.1em;margin-right:.1em}.mq-math-mode .mq-matrix table{border-spacing:3px;border-collapse:separate;border-bottom:none;width:auto}.mq-math-mode .mq-matrix table.mq-rows-1{vertical-align:middle;margin-bottom:1px}.mq-math-mode .mq-matrix td{vertical-align:baseline;border:1px dotted #fff;width:auto;padding:.1em .3em}.mq-math-mode .mq-matrix td.mq-empty{border:1px dotted #000}.mq-math-mode .mq-abs{border-left:1px solid #000;border-right:1px solid #000;margin-left:.1em;margin-right:.1em;padding-left:.2em;padding-right:.2em}.mq-math-mode .mq-lrnplaceholder{margin-left:.05em;margin-right:.05em}.mq-math-mode .mq-parallelogram{margin-top:-.5em;line-height:1em;position:relative;overflow:hidden}.mq-math-mode .mq-parallelogram .mq-parallelogram-inner{font-size:2em;position:relative;top:.23em}.mq-math-mode,.mq-math-mode .mq-editable-field{cursor:text;font-family:Symbola,Times New Roman,serif}.mq-math-mode .mq-longdiv .mq-longdiv-curve-border,.mq-math-mode .mq-editable-field .mq-longdiv .mq-longdiv-curve-border{font-size:1.33em}.mq-overarrow{text-align:center;border-top:1px solid #000;min-width:.5em;margin-top:1px;padding-top:.2em}.mq-overarrow:before{content:\"➤\";text-align:right;font-size:.5em;line-height:0;display:block;position:relative;top:-.34em}.mq-overarrow.mq-arrow-left:before{filter:FlipH;-ms-filter:\"FlipH\";transform:scaleX(-1)}.mq-overarrow.mq-arrow-both{vertical-align:text-bottom}.mq-overarrow.mq-arrow-both.mq-empty{min-height:1.23em}.mq-overarrow.mq-arrow-both.mq-empty:after{top:-.34em}.mq-overarrow.mq-arrow-both:before{filter:FlipH;-ms-filter:\"FlipH\";transform:scaleX(-1)}.mq-overarrow.mq-arrow-both:after{content:\"➤\";visibility:visible;text-align:right;font-size:.5em;line-height:0;display:block;position:relative;top:-2.3em}.mq-math-mode .mq-selection,.mq-editable-field .mq-selection,.mq-math-mode .mq-selection .mq-non-leaf,.mq-editable-field .mq-selection .mq-non-leaf,.mq-math-mode .mq-selection .mq-scaled,.mq-editable-field .mq-selection .mq-scaled{color:highlighttext;border-color:highlighttext;background:highlight!important}.mq-math-mode .mq-selection .mq-matrixed,.mq-editable-field .mq-selection .mq-matrixed{background:#39f!important}.mq-math-mode .mq-selection .mq-matrixed-container,.mq-editable-field .mq-selection .mq-matrixed-container{filter:progid:DXImageTransform.Microsoft.Chroma(color=\"#3399FF\")!important}.mq-math-mode .mq-selection.mq-blur,.mq-editable-field .mq-selection.mq-blur,.mq-math-mode .mq-selection.mq-blur .mq-non-leaf,.mq-editable-field .mq-selection.mq-blur .mq-non-leaf,.mq-math-mode .mq-selection.mq-blur .mq-scaled,.mq-editable-field .mq-selection.mq-blur .mq-scaled,.mq-math-mode .mq-selection.mq-blur .mq-matrixed,.mq-editable-field .mq-selection.mq-blur .mq-matrixed{color:#000;border-color:#000;background:#d4d4d4!important}.mq-math-mode .mq-selection.mq-blur .mq-matrixed-container,.mq-editable-field .mq-selection.mq-blur .mq-matrixed-container{filter:progid:DXImageTransform.Microsoft.Chroma(color=\"#D4D4D4\")!important}.mq-editable-field .mq-textarea,.mq-math-mode .mq-textarea{-webkit-user-select:text;user-select:text;position:relative}.mq-editable-field .mq-textarea>textarea,.mq-math-mode .mq-textarea>textarea{opacity:0;overflow:hidden}.mq-editable-field .mq-textarea *,.mq-math-mode .mq-textarea *,.mq-editable-field .mq-selectable,.mq-math-mode .mq-selectable{-webkit-user-select:text;user-select:text;clip:rect(1em 1em 1em 1em);resize:none;box-sizing:content-box;width:1px;height:1px;position:absolute;transform:scale(0)}.mq-math-mode .mq-matrixed{background:#fff;display:inline-block}.mq-math-mode .mq-matrixed-container{filter:progid:DXImageTransform.Microsoft.Chroma(color=\"white\");margin-top:-.1em}.mq-math-mode .mq-matrix table{border-spacing:2px}button .mq-math-mode .mq-matrix table.mq-rows-2 td,button .mq-math-mode .mq-matrix table.mq-rows-3 td{width:.9em;font-size:.3em}button .mq-math-mode .mq-matrix table.mq-rows-2{margin-bottom:-2px}button .mq-math-mode .mq-matrix table.mq-rows-1{margin-bottom:3px}button .mq-math-mode .mq-matrix table.mq-rows-1 td{width:1.1em;margin-bottom:3px;font-size:.6em}button .mq-math-mode .mq-matrix .matrix-edit-content-row{text-align:center;vertical-align:middle;display:inline-block}button .mq-math-mode .mq-matrix .matrix-edit-content-row p{font-size:.7em}button .mq-math-mode .mq-matrix .matrix-edit-content-col{text-align:center;vertical-align:middle;display:inline-block}button .mq-math-mode .mq-matrix .matrix-edit-content-col p{padding:0 .15em;font-size:.7em}button .mq-math-mode .mq-matrix .mq-paren{padding:0;display:inline-block;transform:scale(1.13,1.77)}button .matrix-edit .mq-empty{width:.8em;margin:.1em;padding:.1em;font-size:.4em}\n"]]);
|
|
19
|
-
import { $ as e, A as t, B as n, Ct as r, D as i, Dt as a, E as o, Et as s, F as c, G as l, H as u, I as d, J as f, K as p, L as m, M as h, N as g, O as _, Ot as v, P as y, Q as b, R as x, S, St as C, T as w, Tt as
|
|
19
|
+
import { $ as e, A as t, B as n, Ct as r, D as i, Dt as a, E as o, Et as s, F as c, G as l, H as u, I as d, J as f, K as p, L as m, M as h, N as g, O as _, Ot as v, P as y, Q as b, R as x, S, St as C, T as w, Tt as T, U as ee, V as E, W as D, X as O, Y as te, Z as ne, _t as k, a as re, at as ie, b as ae, c as oe, ct as se, d as ce, dt as le, et as ue, f as de, ft as A, g as fe, gt as pe, h as me, i as he, it as j, j as ge, k as _e, kt as ve, l as ye, lt as be, m as xe, mt as Se, n as Ce, nt as we, o as Te, ot as M, p as Ee, pt as De, q as Oe, r as ke, rt as Ae, s as je, st as Me, t as Ne, tt as Pe, u as Fe, ut as Ie, v as Le, vt as Re, w as ze, wt as Be, x as Ve, xt as He, y as Ue, yt as We, z as Ge } from "../Typography-DfR9n_9-.js";
|
|
20
20
|
import * as N from "react";
|
|
21
21
|
import P, { Component as Ke, createContext as qe, createElement as Je, createRef as Ye, forwardRef as Xe, memo as Ze, useCallback as Qe, useContext as $e, useDebugValue as et, useEffect as F, useLayoutEffect as tt, useMemo as nt, useReducer as rt, useRef as it, useState as at, version as ot } from "react";
|
|
22
22
|
import { createRoot as st } from "react-dom/client";
|
|
@@ -661,13 +661,13 @@ function Bn(e) {
|
|
|
661
661
|
var S = En(n), C = "clientHeight", w = "clientWidth";
|
|
662
662
|
if (S === rn(n) && (S = Sn(n), bn(S).position !== "static" && s === "absolute" && (C = "scrollHeight", w = "scrollWidth")), S = S, i === "top" || (i === "left" || i === "right") && a === "end") {
|
|
663
663
|
b = Ut;
|
|
664
|
-
var
|
|
665
|
-
h -=
|
|
664
|
+
var T = d && S === x && x.visualViewport ? x.visualViewport.height : S[C];
|
|
665
|
+
h -= T - r.height, h *= c ? 1 : -1;
|
|
666
666
|
}
|
|
667
667
|
if (i === "left" || (i === "top" || i === "bottom") && a === "end") {
|
|
668
668
|
y = Wt;
|
|
669
|
-
var
|
|
670
|
-
p -=
|
|
669
|
+
var ee = d && S === x && x.visualViewport ? x.visualViewport.width : S[w];
|
|
670
|
+
p -= ee - r.width, p *= c ? 1 : -1;
|
|
671
671
|
}
|
|
672
672
|
}
|
|
673
673
|
var E = Object.assign({ position: s }, l && Rn), D = u === !0 ? zn({
|
|
@@ -903,20 +903,20 @@ function lr(e, t) {
|
|
|
903
903
|
element: y,
|
|
904
904
|
strategy: "absolute",
|
|
905
905
|
placement: i
|
|
906
|
-
}), w = rr(Object.assign({}, y, C)),
|
|
907
|
-
top: x.top -
|
|
908
|
-
bottom:
|
|
909
|
-
left: x.left -
|
|
910
|
-
right:
|
|
906
|
+
}), w = rr(Object.assign({}, y, C)), T = f === "popper" ? w : S, ee = {
|
|
907
|
+
top: x.top - T.top + _.top,
|
|
908
|
+
bottom: T.bottom - x.bottom + _.bottom,
|
|
909
|
+
left: x.left - T.left + _.left,
|
|
910
|
+
right: T.right - x.right + _.right
|
|
911
911
|
}, E = e.modifiersData.offset;
|
|
912
912
|
if (f === "popper" && E) {
|
|
913
913
|
var D = E[i];
|
|
914
|
-
Object.keys(
|
|
914
|
+
Object.keys(ee).forEach(function(e) {
|
|
915
915
|
var t = ["right", "bottom"].indexOf(e) >= 0 ? 1 : -1, n = ["top", "bottom"].indexOf(e) >= 0 ? "y" : "x";
|
|
916
|
-
|
|
916
|
+
ee[e] += D[n] * t;
|
|
917
917
|
});
|
|
918
918
|
}
|
|
919
|
-
return
|
|
919
|
+
return ee;
|
|
920
920
|
}
|
|
921
921
|
//#endregion
|
|
922
922
|
//#region ../../../node_modules/.bun/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js
|
|
@@ -963,9 +963,9 @@ function fr(e) {
|
|
|
963
963
|
flipVariations: m,
|
|
964
964
|
allowedAutoPlacements: h
|
|
965
965
|
}) : n);
|
|
966
|
-
}, []), b = t.rects.reference, x = t.rects.popper, S = /* @__PURE__ */ new Map(), C = !0, w = y[0],
|
|
967
|
-
var
|
|
968
|
-
placement:
|
|
966
|
+
}, []), b = t.rects.reference, x = t.rects.popper, S = /* @__PURE__ */ new Map(), C = !0, w = y[0], T = 0; T < y.length; T++) {
|
|
967
|
+
var ee = y[T], E = dn(ee), D = Ln(ee) === Jt, O = ["top", Ut].indexOf(E) >= 0, te = O ? "width" : "height", ne = lr(t, {
|
|
968
|
+
placement: ee,
|
|
969
969
|
boundary: u,
|
|
970
970
|
rootBoundary: d,
|
|
971
971
|
altBoundary: f,
|
|
@@ -976,10 +976,10 @@ function fr(e) {
|
|
|
976
976
|
if (a && ie.push(ne[E] <= 0), s && ie.push(ne[k] <= 0, ne[re] <= 0), ie.every(function(e) {
|
|
977
977
|
return e;
|
|
978
978
|
})) {
|
|
979
|
-
w =
|
|
979
|
+
w = ee, C = !1;
|
|
980
980
|
break;
|
|
981
981
|
}
|
|
982
|
-
S.set(
|
|
982
|
+
S.set(ee, ie);
|
|
983
983
|
}
|
|
984
984
|
if (C) for (var ae = m ? 3 : 1, oe = function(e) {
|
|
985
985
|
var t = y.find(function(t) {
|
|
@@ -1099,13 +1099,13 @@ function wr(e) {
|
|
|
1099
1099
|
rootBoundary: l,
|
|
1100
1100
|
padding: d,
|
|
1101
1101
|
altBoundary: u
|
|
1102
|
-
}), _ = dn(t.placement), v = Ln(t.placement), y = !v, b = Dn(_), x = Cr(b), S = t.modifiersData.popperOffsets, C = t.rects.reference, w = t.rects.popper,
|
|
1103
|
-
mainAxis:
|
|
1104
|
-
altAxis:
|
|
1102
|
+
}), _ = dn(t.placement), v = Ln(t.placement), y = !v, b = Dn(_), x = Cr(b), S = t.modifiersData.popperOffsets, C = t.rects.reference, w = t.rects.popper, T = typeof h == "function" ? h(Object.assign({}, t.rects, { placement: t.placement })) : h, ee = typeof T == "number" ? {
|
|
1103
|
+
mainAxis: T,
|
|
1104
|
+
altAxis: T
|
|
1105
1105
|
} : Object.assign({
|
|
1106
1106
|
mainAxis: 0,
|
|
1107
1107
|
altAxis: 0
|
|
1108
|
-
},
|
|
1108
|
+
}, T), E = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, D = {
|
|
1109
1109
|
x: 0,
|
|
1110
1110
|
y: 0
|
|
1111
1111
|
};
|
|
@@ -1114,11 +1114,11 @@ function wr(e) {
|
|
|
1114
1114
|
var O = b === "y" ? "top" : Gt, te = b === "y" ? Ut : Wt, ne = b === "y" ? "height" : "width", k = S[b], re = k + g[O], ie = k - g[te], ae = p ? -w[ne] / 2 : 0, oe = v === "start" ? C[ne] : w[ne], se = v === "start" ? -w[ne] : -C[ne], ce = t.elements.arrow, le = p && ce ? vn(ce) : {
|
|
1115
1115
|
width: 0,
|
|
1116
1116
|
height: 0
|
|
1117
|
-
}, ue = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : An(), de = ue[O], A = ue[te], fe = On(0, C[ne], le[ne]), pe = y ? C[ne] / 2 - ae - fe - de -
|
|
1117
|
+
}, ue = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : An(), de = ue[O], A = ue[te], fe = On(0, C[ne], le[ne]), pe = y ? C[ne] / 2 - ae - fe - de - ee.mainAxis : oe - fe - de - ee.mainAxis, me = y ? -C[ne] / 2 + ae + fe + A + ee.mainAxis : se + fe + A + ee.mainAxis, he = t.elements.arrow && En(t.elements.arrow), j = he ? b === "y" ? he.clientTop || 0 : he.clientLeft || 0 : 0, ge = E?.[b] ?? 0, _e = k + pe - ge - j, ve = k + me - ge, ye = On(p ? pn(re, _e) : re, k, p ? fn(ie, ve) : ie);
|
|
1118
1118
|
S[b] = ye, D[b] = ye - k;
|
|
1119
1119
|
}
|
|
1120
1120
|
if (s) {
|
|
1121
|
-
var be = b === "x" ? "top" : Gt, xe = b === "x" ? Ut : Wt, Se = S[x], Ce = x === "y" ? "height" : "width", we = Se + g[be], Te = Se - g[xe], M = ["top", Gt].indexOf(_) !== -1, Ee = E?.[x] ?? 0, De = M ? we : Se - C[Ce] - w[Ce] - Ee +
|
|
1121
|
+
var be = b === "x" ? "top" : Gt, xe = b === "x" ? Ut : Wt, Se = S[x], Ce = x === "y" ? "height" : "width", we = Se + g[be], Te = Se - g[xe], M = ["top", Gt].indexOf(_) !== -1, Ee = E?.[x] ?? 0, De = M ? we : Se - C[Ce] - w[Ce] - Ee + ee.altAxis, Oe = M ? Se + C[Ce] + w[Ce] - Ee - ee.altAxis : Te, ke = p && M ? kn(De, Se, Oe) : On(p ? De : we, Se, p ? Oe : Te);
|
|
1122
1122
|
S[x] = ke, D[x] = ke - Se;
|
|
1123
1123
|
}
|
|
1124
1124
|
t.modifiersData[r] = D;
|
|
@@ -1364,11 +1364,11 @@ var Hr = (e) => {
|
|
|
1364
1364
|
pe(() => {
|
|
1365
1365
|
b.current = y;
|
|
1366
1366
|
}, [y]), N.useImperativeHandle(u, () => v.current, []);
|
|
1367
|
-
let x = zr(c, i), [S, C] = N.useState(x), [w,
|
|
1367
|
+
let x = zr(c, i), [S, C] = N.useState(x), [w, T] = N.useState(Br(n));
|
|
1368
1368
|
N.useEffect(() => {
|
|
1369
1369
|
v.current && v.current.forceUpdate();
|
|
1370
1370
|
}), N.useEffect(() => {
|
|
1371
|
-
n &&
|
|
1371
|
+
n && T(Br(n));
|
|
1372
1372
|
}, [n]), pe(() => {
|
|
1373
1373
|
if (!w || !s) return;
|
|
1374
1374
|
let e = (e) => {
|
|
@@ -1414,8 +1414,8 @@ var Hr = (e) => {
|
|
|
1414
1414
|
l,
|
|
1415
1415
|
x
|
|
1416
1416
|
]);
|
|
1417
|
-
let
|
|
1418
|
-
p !== null && (
|
|
1417
|
+
let ee = { placement: S };
|
|
1418
|
+
p !== null && (ee.TransitionProps = p);
|
|
1419
1419
|
let E = Hr(e), D = f.root ?? "div";
|
|
1420
1420
|
return /*#__PURE__*/ I(D, {
|
|
1421
1421
|
...ye({
|
|
@@ -1429,7 +1429,7 @@ var Hr = (e) => {
|
|
|
1429
1429
|
ownerState: e,
|
|
1430
1430
|
className: E.root
|
|
1431
1431
|
}),
|
|
1432
|
-
children: typeof r == "function" ? r(
|
|
1432
|
+
children: typeof r == "function" ? r(ee) : r
|
|
1433
1433
|
});
|
|
1434
1434
|
}), Gr = M(/* @__PURE__ */ N.forwardRef(function(e, t) {
|
|
1435
1435
|
let { anchorEl: n, children: r, container: i, direction: a = "ltr", disablePortal: o = !1, keepMounted: s = !1, modifiers: c, open: l, placement: u = "bottom", popperOptions: d = Ur, popperRef: f, style: p, transition: m = !1, slotProps: h = {}, slots: g = {}, ..._ } = e, [v, y] = N.useState(!0), x = () => {
|
|
@@ -1444,12 +1444,12 @@ var Hr = (e) => {
|
|
|
1444
1444
|
let e = Br(n);
|
|
1445
1445
|
C = e && Vr(e) ? b(e).body : b(null).body;
|
|
1446
1446
|
}
|
|
1447
|
-
let w = !l && s && (!m || v) ? "none" : void 0,
|
|
1447
|
+
let w = !l && s && (!m || v) ? "none" : void 0, T = m ? {
|
|
1448
1448
|
in: l,
|
|
1449
1449
|
onEnter: x,
|
|
1450
1450
|
onExited: S
|
|
1451
1451
|
} : void 0;
|
|
1452
|
-
return /*#__PURE__*/ I(
|
|
1452
|
+
return /*#__PURE__*/ I(ee, {
|
|
1453
1453
|
disablePortal: o,
|
|
1454
1454
|
container: C,
|
|
1455
1455
|
children: /*#__PURE__*/ I(Wr, {
|
|
@@ -1472,7 +1472,7 @@ var Hr = (e) => {
|
|
|
1472
1472
|
display: w,
|
|
1473
1473
|
...p
|
|
1474
1474
|
},
|
|
1475
|
-
TransitionProps:
|
|
1475
|
+
TransitionProps: T,
|
|
1476
1476
|
children: r
|
|
1477
1477
|
})
|
|
1478
1478
|
});
|
|
@@ -1794,7 +1794,7 @@ var $r = k("MuiInputBase", [
|
|
|
1794
1794
|
let n = Pe({
|
|
1795
1795
|
props: e,
|
|
1796
1796
|
name: "MuiInputBase"
|
|
1797
|
-
}), { "aria-describedby": r, autoComplete: i, autoFocus: a, className: o, color: s, components: c = {}, componentsProps: u = {}, defaultValue: d, disabled: f, disableInjectingGlobalStyles: m, endAdornment: h, error: g, fullWidth: _ = !1, id: v, inputComponent: y = "input", inputProps: b = {}, inputRef: x, margin: S, maxRows: C, minRows: w, multiline:
|
|
1797
|
+
}), { "aria-describedby": r, autoComplete: i, autoFocus: a, className: o, color: s, components: c = {}, componentsProps: u = {}, defaultValue: d, disabled: f, disableInjectingGlobalStyles: m, endAdornment: h, error: g, fullWidth: _ = !1, id: v, inputComponent: y = "input", inputProps: b = {}, inputRef: x, margin: S, maxRows: C, minRows: w, multiline: ee = !1, name: E, onBlur: D, onChange: O, onClick: te, onFocus: k, onKeyDown: re, onKeyUp: ie, placeholder: ae, readOnly: oe, renderSuffix: se, rows: ce, size: le, slotProps: ue = {}, slots: A = {}, startAdornment: pe, type: he = "text", value: j, ..._e } = n, ve = b.value == null ? j : b.value, { current: ye } = N.useRef(ve != null), be = N.useRef(), Se = N.useCallback((e) => {}, []), Ce = p(be, x, b.ref, Se), [we, Te] = N.useState(!1), M = xe(), Ee = fe({
|
|
1798
1798
|
props: n,
|
|
1799
1799
|
muiFormControl: M,
|
|
1800
1800
|
states: [
|
|
@@ -1838,7 +1838,7 @@ var $r = k("MuiInputBase", [
|
|
|
1838
1838
|
}, Ne = (e, ...t) => {
|
|
1839
1839
|
if (!ye) {
|
|
1840
1840
|
let t = e.target || be.current;
|
|
1841
|
-
if (t == null) throw Error(
|
|
1841
|
+
if (t == null) throw Error(T(1));
|
|
1842
1842
|
ke({ value: t.value });
|
|
1843
1843
|
}
|
|
1844
1844
|
b.onChange && b.onChange(e, ...t), O && O(e, ...t);
|
|
@@ -1849,7 +1849,7 @@ var $r = k("MuiInputBase", [
|
|
|
1849
1849
|
let Fe = (e) => {
|
|
1850
1850
|
be.current && e.currentTarget === e.target && be.current.focus(), te && te(e);
|
|
1851
1851
|
}, Ie = y, Le = b;
|
|
1852
|
-
|
|
1852
|
+
ee && Ie === "input" && (Le = ce ? {
|
|
1853
1853
|
type: void 0,
|
|
1854
1854
|
minRows: ce,
|
|
1855
1855
|
maxRows: ce,
|
|
@@ -1876,7 +1876,7 @@ var $r = k("MuiInputBase", [
|
|
|
1876
1876
|
formControl: M,
|
|
1877
1877
|
fullWidth: _,
|
|
1878
1878
|
hiddenLabel: Ee.hiddenLabel,
|
|
1879
|
-
multiline:
|
|
1879
|
+
multiline: ee,
|
|
1880
1880
|
size: Ee.size,
|
|
1881
1881
|
startAdornment: pe,
|
|
1882
1882
|
type: he
|
|
@@ -2051,7 +2051,7 @@ var vi = (e) => {
|
|
|
2051
2051
|
padding: 0,
|
|
2052
2052
|
zIndex: 1
|
|
2053
2053
|
}), xi = /*#__PURE__*/ N.forwardRef(function(e, t) {
|
|
2054
|
-
let { autoFocus: n, checked: r, checkedIcon: i, defaultChecked: a, disabled: o, disableFocusRipple: s = !1, edge: c = !1, icon: l, id: u, inputProps: d, inputRef: f, name: p, onBlur: m, onChange: h, onFocus: g, readOnly: _, required: v = !1, tabIndex: y, type: b, value: x, slots: S = {}, slotProps: C = {}, ...w } = e, [
|
|
2054
|
+
let { autoFocus: n, checked: r, checkedIcon: i, defaultChecked: a, disabled: o, disableFocusRipple: s = !1, edge: c = !1, icon: l, id: u, inputProps: d, inputRef: f, name: p, onBlur: m, onChange: h, onFocus: g, readOnly: _, required: v = !1, tabIndex: y, type: b, value: x, slots: S = {}, slotProps: C = {}, ...w } = e, [T, ee] = ht({
|
|
2055
2055
|
controlled: r,
|
|
2056
2056
|
default: !!a,
|
|
2057
2057
|
name: "SwitchBase",
|
|
@@ -2063,12 +2063,12 @@ var vi = (e) => {
|
|
|
2063
2063
|
}, ne = (e) => {
|
|
2064
2064
|
if (e.nativeEvent.defaultPrevented || _) return;
|
|
2065
2065
|
let t = e.target.checked;
|
|
2066
|
-
|
|
2066
|
+
ee(t), h && h(e, t);
|
|
2067
2067
|
}, k = o;
|
|
2068
2068
|
D && k === void 0 && (k = D.disabled);
|
|
2069
2069
|
let re = b === "checkbox" || b === "radio", ie = {
|
|
2070
2070
|
...e,
|
|
2071
|
-
checked:
|
|
2071
|
+
checked: T,
|
|
2072
2072
|
disabled: k,
|
|
2073
2073
|
disableFocusRipple: s,
|
|
2074
2074
|
edge: c
|
|
@@ -2132,7 +2132,7 @@ var vi = (e) => {
|
|
|
2132
2132
|
});
|
|
2133
2133
|
return /*#__PURE__*/ L(se, {
|
|
2134
2134
|
...ce,
|
|
2135
|
-
children: [/*#__PURE__*/ I(le, { ...ue }),
|
|
2135
|
+
children: [/*#__PURE__*/ I(le, { ...ue }), T ? i : l]
|
|
2136
2136
|
});
|
|
2137
2137
|
}), Si = g(/*#__PURE__*/ I("path", { d: "M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" }), "CheckBoxOutlineBlank"), Ci = g(/*#__PURE__*/ I("path", { d: "M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z" }), "CheckBox"), wi = g(/*#__PURE__*/ I("path", { d: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z" }), "IndeterminateCheckBox");
|
|
2138
2138
|
//#endregion
|
|
@@ -2398,7 +2398,7 @@ var Pi = k("MuiDialog", [
|
|
|
2398
2398
|
}), i = be(), a = {
|
|
2399
2399
|
enter: i.transitions.duration.enteringScreen,
|
|
2400
2400
|
exit: i.transitions.duration.leavingScreen
|
|
2401
|
-
}, { "aria-describedby": o, "aria-labelledby": s, "aria-modal": l = !0, BackdropComponent: u, BackdropProps: d, children: f, className: p, disableEscapeKeyDown: m = !1, fullScreen: h = !1, fullWidth: g = !1, maxWidth: _ = "sm", onClick: v, onClose: y, open: b, PaperComponent: x = c, PaperProps: S = {}, role: C = "dialog", scroll: w = "paper", slots:
|
|
2401
|
+
}, { "aria-describedby": o, "aria-labelledby": s, "aria-modal": l = !0, BackdropComponent: u, BackdropProps: d, children: f, className: p, disableEscapeKeyDown: m = !1, fullScreen: h = !1, fullWidth: g = !1, maxWidth: _ = "sm", onClick: v, onClose: y, open: b, PaperComponent: x = c, PaperProps: S = {}, role: C = "dialog", scroll: w = "paper", slots: T = {}, slotProps: ee = {}, TransitionComponent: O = n, transitionDuration: te = a, TransitionProps: ne, ...k } = r, re = {
|
|
2402
2402
|
...r,
|
|
2403
2403
|
disableEscapeKeyDown: m,
|
|
2404
2404
|
fullScreen: h,
|
|
@@ -2412,13 +2412,13 @@ var Pi = k("MuiDialog", [
|
|
|
2412
2412
|
}, ce = De(s), le = N.useMemo(() => ({ titleId: ce }), [ce]), ue = {
|
|
2413
2413
|
slots: {
|
|
2414
2414
|
transition: O,
|
|
2415
|
-
...
|
|
2415
|
+
...T
|
|
2416
2416
|
},
|
|
2417
2417
|
slotProps: {
|
|
2418
2418
|
transition: ne,
|
|
2419
2419
|
paper: S,
|
|
2420
2420
|
backdrop: d,
|
|
2421
|
-
...
|
|
2421
|
+
...ee
|
|
2422
2422
|
}
|
|
2423
2423
|
}, [de, A] = E("root", {
|
|
2424
2424
|
elementType: Ri,
|
|
@@ -2976,7 +2976,7 @@ var da = k("MuiFormControlLabel", [
|
|
|
2976
2976
|
labelPlacement: d,
|
|
2977
2977
|
required: x,
|
|
2978
2978
|
error: C.error
|
|
2979
|
-
},
|
|
2979
|
+
}, T = fa(w), [ee, D] = E("typography", {
|
|
2980
2980
|
elementType: Ne,
|
|
2981
2981
|
externalForwardedProps: {
|
|
2982
2982
|
slots: h,
|
|
@@ -2987,20 +2987,20 @@ var da = k("MuiFormControlLabel", [
|
|
|
2987
2987
|
},
|
|
2988
2988
|
ownerState: w
|
|
2989
2989
|
}), O = u;
|
|
2990
|
-
return O != null && O.type !== Ne && !c && (O = /*#__PURE__*/ I(
|
|
2990
|
+
return O != null && O.type !== Ne && !c && (O = /*#__PURE__*/ I(ee, {
|
|
2991
2991
|
component: "span",
|
|
2992
2992
|
...D,
|
|
2993
|
-
className: We(
|
|
2993
|
+
className: We(T.label, D?.className),
|
|
2994
2994
|
children: O
|
|
2995
2995
|
})), /*#__PURE__*/ L(pa, {
|
|
2996
|
-
className: We(
|
|
2996
|
+
className: We(T.root, i),
|
|
2997
2997
|
ownerState: w,
|
|
2998
2998
|
ref: t,
|
|
2999
2999
|
...v,
|
|
3000
3000
|
children: [/*#__PURE__*/ N.cloneElement(o, S), x ? /*#__PURE__*/ L("div", { children: [O, /*#__PURE__*/ L(ma, {
|
|
3001
3001
|
ownerState: w,
|
|
3002
3002
|
"aria-hidden": !0,
|
|
3003
|
-
className:
|
|
3003
|
+
className: T.asterisk,
|
|
3004
3004
|
children: [" ", "*"]
|
|
3005
3005
|
})] }) : O]
|
|
3006
3006
|
});
|
|
@@ -3809,14 +3809,14 @@ var eo = (e, t) => {
|
|
|
3809
3809
|
S.dense,
|
|
3810
3810
|
f,
|
|
3811
3811
|
m
|
|
3812
|
-
]), w = N.useRef(null),
|
|
3812
|
+
]), w = N.useRef(null), T = N.Children.toArray(i), ee = T.length && h(T[T.length - 1], ["ListItemSecondaryAction"]), D = {
|
|
3813
3813
|
...n,
|
|
3814
3814
|
alignItems: r,
|
|
3815
3815
|
dense: C.dense,
|
|
3816
3816
|
disableGutters: m,
|
|
3817
3817
|
disablePadding: g,
|
|
3818
3818
|
divider: _,
|
|
3819
|
-
hasSecondaryAction:
|
|
3819
|
+
hasSecondaryAction: ee
|
|
3820
3820
|
}, O = to(D), te = p(w, t), [ne, k] = E("secondaryAction", {
|
|
3821
3821
|
elementType: $a,
|
|
3822
3822
|
externalForwardedProps: {
|
|
@@ -3829,7 +3829,7 @@ var eo = (e, t) => {
|
|
|
3829
3829
|
className: We(O.root, ie.className, a),
|
|
3830
3830
|
...x
|
|
3831
3831
|
}, se = o || "li";
|
|
3832
|
-
return
|
|
3832
|
+
return ee ? (se = !ae.component && !o ? "div" : se, l === "li" && (se === "li" ? se = "div" : ae.component === "li" && (ae.component = "div")), /*#__PURE__*/ I(oe.Provider, {
|
|
3833
3833
|
value: C,
|
|
3834
3834
|
children: /*#__PURE__*/ L(ro, {
|
|
3835
3835
|
as: l,
|
|
@@ -3847,8 +3847,8 @@ var eo = (e, t) => {
|
|
|
3847
3847
|
}
|
|
3848
3848
|
},
|
|
3849
3849
|
...ae,
|
|
3850
|
-
children:
|
|
3851
|
-
}),
|
|
3850
|
+
children: T
|
|
3851
|
+
}), T.pop()]
|
|
3852
3852
|
})
|
|
3853
3853
|
})) : /*#__PURE__*/ I(oe.Provider, {
|
|
3854
3854
|
value: C,
|
|
@@ -3861,7 +3861,7 @@ var eo = (e, t) => {
|
|
|
3861
3861
|
...ie.ownerState
|
|
3862
3862
|
} },
|
|
3863
3863
|
...ae,
|
|
3864
|
-
children: [
|
|
3864
|
+
children: [T, v && /*#__PURE__*/ I(ne, {
|
|
3865
3865
|
...k,
|
|
3866
3866
|
children: v
|
|
3867
3867
|
})]
|
|
@@ -4124,7 +4124,7 @@ var To = Co.Provider, Eo, Do = M(po, {
|
|
|
4124
4124
|
nativeInput: ["nativeInput"]
|
|
4125
4125
|
}, vo, t);
|
|
4126
4126
|
}, jo = /*#__PURE__*/ N.forwardRef(function(e, t) {
|
|
4127
|
-
let { "aria-describedby": n, "aria-label": r, autoFocus: i, autoWidth: a, children: o, className: s, defaultOpen: c, defaultValue: l, disabled: u, displayEmpty: d, error: f = !1, IconComponent: m, inputRef: h, labelId: g, MenuProps: _ = {}, multiple: v, name: y, onBlur: b, onChange: x, onClose: S, onFocus: C, onKeyDown: w, onMouseDown:
|
|
4127
|
+
let { "aria-describedby": n, "aria-label": r, autoFocus: i, autoWidth: a, children: o, className: s, defaultOpen: c, defaultValue: l, disabled: u, displayEmpty: d, error: f = !1, IconComponent: m, inputRef: h, labelId: g, MenuProps: _ = {}, multiple: v, name: y, onBlur: b, onChange: x, onClose: S, onFocus: C, onKeyDown: w, onMouseDown: ee, onOpen: E, open: D, readOnly: O, renderValue: te, required: k, SelectDisplayProps: re = {}, tabIndex: ie, type: ae, value: oe, variant: se = "standard", ...ce } = e, [le, ue] = ht({
|
|
4128
4128
|
controlled: oe,
|
|
4129
4129
|
default: l,
|
|
4130
4130
|
name: "Select"
|
|
@@ -4174,7 +4174,7 @@ var To = Co.Provider, Eo, Do = M(po, {
|
|
|
4174
4174
|
let M = (e, t) => {
|
|
4175
4175
|
e ? (be(bo(t)), E && E(t)) : (be(null), S && S(t)), ge || (ve(a ? null : Ce.clientWidth), fe(e));
|
|
4176
4176
|
}, Ee = (e) => {
|
|
4177
|
-
|
|
4177
|
+
ee?.(e), e.button === 0 && (e.preventDefault(), me.current.focus(), M(!0, e));
|
|
4178
4178
|
}, Oe = (e) => {
|
|
4179
4179
|
M(!1, e);
|
|
4180
4180
|
}, ke = N.Children.toArray(o), Ae = (e) => {
|
|
@@ -4223,7 +4223,7 @@ var To = Co.Provider, Eo, Do = M(po, {
|
|
|
4223
4223
|
if (!/*#__PURE__*/ N.isValidElement(e)) return null;
|
|
4224
4224
|
let t;
|
|
4225
4225
|
if (v) {
|
|
4226
|
-
if (!Array.isArray(le)) throw Error(
|
|
4226
|
+
if (!Array.isArray(le)) throw Error(T(2));
|
|
4227
4227
|
t = le.some((t) => So(t, e.props.value)), t && Le && Ie.push(e.props.children);
|
|
4228
4228
|
} else t = So(le, e.props.value), t && Le && (Fe = e.props.children);
|
|
4229
4229
|
return /*#__PURE__*/ N.cloneElement(e, {
|
|
@@ -4618,11 +4618,11 @@ var Vo = (e) => {
|
|
|
4618
4618
|
let n = Pe({
|
|
4619
4619
|
name: "MuiSelect",
|
|
4620
4620
|
props: e
|
|
4621
|
-
}), { autoWidth: r = !1, children: i, classes: a = {}, className: o, defaultOpen: s = !1, displayEmpty: c = !1, IconComponent: l = gi, id: u, input: d, inputProps: m, label: h, labelId: g, MenuProps: _, multiple: v = !1, native: y = !1, onClose: b, onOpen: x, open: S, renderValue: C, SelectDisplayProps: w, variant:
|
|
4621
|
+
}), { autoWidth: r = !1, children: i, classes: a = {}, className: o, defaultOpen: s = !1, displayEmpty: c = !1, IconComponent: l = gi, id: u, input: d, inputProps: m, label: h, labelId: g, MenuProps: _, multiple: v = !1, native: y = !1, onClose: b, onOpen: x, open: S, renderValue: C, SelectDisplayProps: w, variant: T = "outlined", ...ee } = n, E = y ? _o : jo, D = fe({
|
|
4622
4622
|
props: n,
|
|
4623
4623
|
muiFormControl: xe(),
|
|
4624
4624
|
states: ["variant", "error"]
|
|
4625
|
-
}), O = D.variant ||
|
|
4625
|
+
}), O = D.variant || T, te = {
|
|
4626
4626
|
...n,
|
|
4627
4627
|
variant: O,
|
|
4628
4628
|
classes: a
|
|
@@ -4666,7 +4666,7 @@ var Vo = (e) => {
|
|
|
4666
4666
|
ref: ae,
|
|
4667
4667
|
className: We(ie.props.className, o, ne.root),
|
|
4668
4668
|
...!d && { variant: O },
|
|
4669
|
-
...
|
|
4669
|
+
...ee
|
|
4670
4670
|
}) });
|
|
4671
4671
|
});
|
|
4672
4672
|
Ko.muiName = "Select";
|
|
@@ -4948,7 +4948,7 @@ var fs = /*#__PURE__*/ I(rs, { checked: !0 }), ps = /*#__PURE__*/ I(rs, {}), ms
|
|
|
4948
4948
|
size: l
|
|
4949
4949
|
}, b = ls(y), x = as(), S = r, C = pt(c, x && x.onChange), w = s;
|
|
4950
4950
|
x && (S === void 0 && (S = ds(x.value, n.value)), w === void 0 && (w = x.name));
|
|
4951
|
-
let
|
|
4951
|
+
let T = m.input ?? h, [ee, D] = E("root", {
|
|
4952
4952
|
ref: t,
|
|
4953
4953
|
elementType: us,
|
|
4954
4954
|
className: We(b.root, u),
|
|
@@ -4973,10 +4973,10 @@ var fs = /*#__PURE__*/ I(rs, { checked: !0 }), ps = /*#__PURE__*/ I(rs, {}), ms
|
|
|
4973
4973
|
name: w,
|
|
4974
4974
|
checked: S,
|
|
4975
4975
|
slots: p,
|
|
4976
|
-
slotProps: { input: typeof
|
|
4976
|
+
slotProps: { input: typeof T == "function" ? T(y) : T }
|
|
4977
4977
|
}
|
|
4978
4978
|
});
|
|
4979
|
-
return /*#__PURE__*/ I(
|
|
4979
|
+
return /*#__PURE__*/ I(ee, {
|
|
4980
4980
|
...D,
|
|
4981
4981
|
classes: b
|
|
4982
4982
|
});
|
|
@@ -5667,7 +5667,7 @@ var Bs = k("MuiTabs", [
|
|
|
5667
5667
|
let r = Pe({
|
|
5668
5668
|
props: t,
|
|
5669
5669
|
name: "MuiTabs"
|
|
5670
|
-
}), i = be(), a = Se(), { "aria-label": o, "aria-labelledby": s, action: c, centered: u = !1, children: d, className: f, component: p = "div", allowScrollButtonsMobile: m = !1, indicatorColor: h = "primary", onChange: g, orientation: _ = "horizontal", ScrollButtonComponent: v, scrollButtons: y = "auto", selectionFollowsFocus: b, slots: x = {}, slotProps: S = {}, TabIndicatorProps: C = {}, TabScrollButtonProps: w = {}, textColor:
|
|
5670
|
+
}), i = be(), a = Se(), { "aria-label": o, "aria-labelledby": s, action: c, centered: u = !1, children: d, className: f, component: p = "div", allowScrollButtonsMobile: m = !1, indicatorColor: h = "primary", onChange: g, orientation: _ = "horizontal", ScrollButtonComponent: v, scrollButtons: y = "auto", selectionFollowsFocus: b, slots: x = {}, slotProps: S = {}, TabIndicatorProps: C = {}, TabScrollButtonProps: w = {}, textColor: T = "primary", value: ee, variant: D = "standard", visibleScrollbar: O = !1, ...k } = r, re = D === "scrollable", ie = _ === "vertical", ae = ie ? "scrollTop" : "scrollLeft", oe = ie ? "top" : "left", se = ie ? "bottom" : "right", ce = ie ? "clientHeight" : "clientWidth", le = ie ? "height" : "width", ue = {
|
|
5671
5671
|
...r,
|
|
5672
5672
|
component: p,
|
|
5673
5673
|
allowScrollButtonsMobile: m,
|
|
@@ -5675,7 +5675,7 @@ var Bs = k("MuiTabs", [
|
|
|
5675
5675
|
orientation: _,
|
|
5676
5676
|
vertical: ie,
|
|
5677
5677
|
scrollButtons: y,
|
|
5678
|
-
textColor:
|
|
5678
|
+
textColor: T,
|
|
5679
5679
|
variant: D,
|
|
5680
5680
|
visibleScrollbar: O,
|
|
5681
5681
|
fixed: !re,
|
|
@@ -5718,10 +5718,10 @@ var Bs = k("MuiTabs", [
|
|
|
5718
5718
|
};
|
|
5719
5719
|
}
|
|
5720
5720
|
let n;
|
|
5721
|
-
if (e &&
|
|
5721
|
+
if (e && ee !== !1) {
|
|
5722
5722
|
let e = ke.current.children;
|
|
5723
5723
|
if (e.length > 0) {
|
|
5724
|
-
let t = e[De.get(
|
|
5724
|
+
let t = e[De.get(ee)];
|
|
5725
5725
|
n = t ? t.getBoundingClientRect() : null;
|
|
5726
5726
|
}
|
|
5727
5727
|
}
|
|
@@ -5881,16 +5881,16 @@ var Bs = k("MuiTabs", [
|
|
|
5881
5881
|
if (!/*#__PURE__*/ N.isValidElement(e)) return null;
|
|
5882
5882
|
let t = e.props.value === void 0 ? Ze : e.props.value;
|
|
5883
5883
|
De.set(t, Ze);
|
|
5884
|
-
let n = t ===
|
|
5884
|
+
let n = t === ee;
|
|
5885
5885
|
return Ze += 1, /*#__PURE__*/ N.cloneElement(e, {
|
|
5886
5886
|
fullWidth: D === "fullWidth",
|
|
5887
5887
|
indicator: n && !pe && Xe,
|
|
5888
5888
|
selected: n,
|
|
5889
5889
|
selectionFollowsFocus: b,
|
|
5890
5890
|
onChange: g,
|
|
5891
|
-
textColor:
|
|
5891
|
+
textColor: T,
|
|
5892
5892
|
value: t,
|
|
5893
|
-
...Ze === 1 &&
|
|
5893
|
+
...Ze === 1 && ee === !1 && !e.props.tabIndex ? { tabIndex: 0 } : {}
|
|
5894
5894
|
});
|
|
5895
5895
|
}), $e = (e) => {
|
|
5896
5896
|
if (e.altKey || e.shiftKey || e.ctrlKey || e.metaKey) return;
|
|
@@ -5987,7 +5987,7 @@ var $s = {
|
|
|
5987
5987
|
let n = Pe({
|
|
5988
5988
|
props: e,
|
|
5989
5989
|
name: "MuiTextField"
|
|
5990
|
-
}), { autoComplete: r, autoFocus: i = !1, children: a, className: o, color: s = "primary", defaultValue: c, disabled: l = !1, error: u = !1, FormHelperTextProps: d, fullWidth: f = !1, helperText: p, id: m, InputLabelProps: h, inputProps: g, InputProps: _, inputRef: v, label: y, maxRows: b, minRows: x, multiline: S = !1, name: C, onBlur: w, onChange:
|
|
5990
|
+
}), { autoComplete: r, autoFocus: i = !1, children: a, className: o, color: s = "primary", defaultValue: c, disabled: l = !1, error: u = !1, FormHelperTextProps: d, fullWidth: f = !1, helperText: p, id: m, InputLabelProps: h, inputProps: g, InputProps: _, inputRef: v, label: y, maxRows: b, minRows: x, multiline: S = !1, name: C, onBlur: w, onChange: T, onFocus: ee, placeholder: D, required: O = !1, rows: te, select: ne = !1, SelectProps: k, slots: re = {}, slotProps: ie = {}, type: ae, value: oe, variant: se = "outlined", ...ce } = n, le = {
|
|
5991
5991
|
...n,
|
|
5992
5992
|
autoFocus: i,
|
|
5993
5993
|
color: s,
|
|
@@ -6065,8 +6065,8 @@ var $s = {
|
|
|
6065
6065
|
id: de,
|
|
6066
6066
|
inputRef: v,
|
|
6067
6067
|
onBlur: w,
|
|
6068
|
-
onChange:
|
|
6069
|
-
onFocus:
|
|
6068
|
+
onChange: T,
|
|
6069
|
+
onFocus: ee,
|
|
6070
6070
|
placeholder: D,
|
|
6071
6071
|
inputProps: Ce,
|
|
6072
6072
|
slots: { input: re.htmlInput ? Se : void 0 },
|
|
@@ -14788,17 +14788,17 @@ function Ey(e) {
|
|
|
14788
14788
|
var Dy = (e, t, n, r = {}) => ({ editor: i, tr: a, state: o, dispatch: s, chain: c, commands: l, can: u }) => {
|
|
14789
14789
|
let { extensions: d, splittableMarks: f } = i.extensionManager, p = s_(e, o.schema), m = s_(t, o.schema), { selection: h, storedMarks: g } = o, { $from: _, $to: v } = h, y = _.blockRange(v), b = g || h.$to.parentOffset && h.$from.marks();
|
|
14790
14790
|
if (!y) return !1;
|
|
14791
|
-
let x = bv((e) => ay(e.type.name, d))(h), S = h.from === 0 && h.to === o.doc.content.size, C = o.doc.content.content, w = C.length === 1 ? C[0] : null,
|
|
14791
|
+
let x = bv((e) => ay(e.type.name, d))(h), S = h.from === 0 && h.to === o.doc.content.size, C = o.doc.content.content, w = C.length === 1 ? C[0] : null, T = S && w && ay(w.type.name, d) ? {
|
|
14792
14792
|
node: w,
|
|
14793
14793
|
pos: 0,
|
|
14794
14794
|
depth: 0
|
|
14795
|
-
} : null,
|
|
14796
|
-
if ((E || D) &&
|
|
14797
|
-
if (
|
|
14795
|
+
} : null, ee = x ?? T, E = !!x && y.depth >= 1 && y.depth - x.depth <= 1, D = !!T;
|
|
14796
|
+
if ((E || D) && ee) {
|
|
14797
|
+
if (ee.node.type === p) return S && D ? c().command(({ tr: e, dispatch: t }) => {
|
|
14798
14798
|
let n = Ey(e);
|
|
14799
14799
|
return n ? (e.setSelection(n), t && t(e), !0) : !1;
|
|
14800
14800
|
}).liftListItem(m).run() : l.liftListItem(m);
|
|
14801
|
-
if (ay(
|
|
14801
|
+
if (ay(ee.node.type.name, d) && p.validContent(ee.node.content)) return c().command(() => (a.setNodeMarkup(ee.pos, p), !0)).command(() => wy(a, p)).command(() => Ty(a, p)).run();
|
|
14802
14802
|
}
|
|
14803
14803
|
return !n || !b || !s ? c().command(() => u().wrapInList(p, r) ? !0 : l.clearNodes()).wrapInList(p, r).command(() => wy(a, p)).command(() => Ty(a, p)).run() : c().command(() => {
|
|
14804
14804
|
let e = u().wrapInList(p, r), t = b.filter((e) => f.includes(e.type.name));
|
|
@@ -21485,7 +21485,7 @@ var cO = /*#__PURE__*/ Ze(function(e) {
|
|
|
21485
21485
|
id: _,
|
|
21486
21486
|
data: x?.data ?? JD,
|
|
21487
21487
|
rect: S
|
|
21488
|
-
}, [_, x]), w = it(null), [
|
|
21488
|
+
}, [_, x]), w = it(null), [T, ee] = at(null), [E, D] = at(null), O = HT(l, Object.values(l)), te = qT("DndDescribedBy", t), ne = nt(() => b.getEnabled(), [b]), k = iO(s), { droppableRects: re, measureDroppableContainers: ie, measuringScheduled: ae } = OD(ne, {
|
|
21489
21489
|
dragging: g,
|
|
21490
21490
|
dependencies: [y.x, y.y],
|
|
21491
21491
|
config: k.droppable
|
|
@@ -21586,7 +21586,7 @@ var cO = /*#__PURE__*/ Ze(function(e) {
|
|
|
21586
21586
|
}), f({
|
|
21587
21587
|
type: "onDragStart",
|
|
21588
21588
|
event: i
|
|
21589
|
-
}),
|
|
21589
|
+
}), ee(je.current), D(a);
|
|
21590
21590
|
});
|
|
21591
21591
|
},
|
|
21592
21592
|
onMove(e) {
|
|
@@ -21613,7 +21613,7 @@ var cO = /*#__PURE__*/ Ze(function(e) {
|
|
|
21613
21613
|
}, e === pE.DragEnd && typeof s == "function" && await Promise.resolve(s(o)) && (e = pE.DragCancel);
|
|
21614
21614
|
}
|
|
21615
21615
|
w.current = null, ft(() => {
|
|
21616
|
-
d({ type: e }), h(sO.Uninitialized), ke(null),
|
|
21616
|
+
d({ type: e }), h(sO.Uninitialized), ke(null), ee(null), D(null), je.current = null;
|
|
21617
21617
|
let t = e === pE.DragEnd ? "onDragEnd" : "onDragCancel";
|
|
21618
21618
|
if (o) {
|
|
21619
21619
|
let e = O.current[t];
|
|
@@ -21778,7 +21778,7 @@ var cO = /*#__PURE__*/ Ze(function(e) {
|
|
|
21778
21778
|
hiddenTextDescribedById: te
|
|
21779
21779
|
}));
|
|
21780
21780
|
function Ie() {
|
|
21781
|
-
let e =
|
|
21781
|
+
let e = T?.autoScrollEnabled === !1, t = typeof r == "object" ? r.enabled === !1 : r === !1, n = g && !e && !t;
|
|
21782
21782
|
return typeof r == "object" ? {
|
|
21783
21783
|
...r,
|
|
21784
21784
|
enabled: n
|
|
@@ -21894,7 +21894,7 @@ function _O({ n: e, children: t, isDragging: n, isOver: r, dragItem: i, value: a
|
|
|
21894
21894
|
F(() => (document.addEventListener("click", u), () => {
|
|
21895
21895
|
document.removeEventListener("click", u);
|
|
21896
21896
|
}), []), F(() => {
|
|
21897
|
-
l.current && typeof
|
|
21897
|
+
l.current && typeof w == "function" && w(l.current);
|
|
21898
21898
|
}, [
|
|
21899
21899
|
a?.value,
|
|
21900
21900
|
r,
|
|
@@ -22106,9 +22106,9 @@ var SO = (e) => {
|
|
|
22106
22106
|
n,
|
|
22107
22107
|
a
|
|
22108
22108
|
]);
|
|
22109
|
-
let
|
|
22109
|
+
let T = (e) => e.clientX > document.documentElement.clientWidth || e.clientY > document.documentElement.clientHeight || e.target === document.documentElement;
|
|
22110
22110
|
return F(() => {
|
|
22111
|
-
m.current && typeof
|
|
22111
|
+
m.current && typeof w == "function" && w(m.current);
|
|
22112
22112
|
}, [s]), F(() => {
|
|
22113
22113
|
let e = document.body.getBoundingClientRect(), { from: n } = t.state.selection, r = t.view.coordsAtPos(n);
|
|
22114
22114
|
y({
|
|
@@ -22116,7 +22116,7 @@ var SO = (e) => {
|
|
|
22116
22116
|
left: r.left
|
|
22117
22117
|
});
|
|
22118
22118
|
let i = (e) => {
|
|
22119
|
-
if (
|
|
22119
|
+
if (T(e)) return;
|
|
22120
22120
|
let n = e.target.closest("[data-toolbar-for]");
|
|
22121
22121
|
!e.target.closest("[data-inline-dropdown-toolbar]") && (!n || n.dataset.toolbarFor !== f.current?.instanceId) && !t._toolbarOpened && d.current && !d.current.contains(e.target) && !e.target.closest("[data-inline-node]") && C();
|
|
22122
22122
|
};
|
|
@@ -27343,7 +27343,7 @@ var QN = ZN, { commonMqFontStyles: $N, longdivStyles: eP, supsubStyles: tP } = i
|
|
|
27343
27343
|
"data-latex": "",
|
|
27344
27344
|
"data-raw": e.latex
|
|
27345
27345
|
},
|
|
27346
|
-
|
|
27346
|
+
ze(e.latex, e.wrapper)
|
|
27347
27347
|
];
|
|
27348
27348
|
},
|
|
27349
27349
|
addNodeView() {
|
|
@@ -27809,7 +27809,7 @@ function FP(e) {
|
|
|
27809
27809
|
}, []), F(() => {
|
|
27810
27810
|
w();
|
|
27811
27811
|
});
|
|
27812
|
-
let
|
|
27812
|
+
let T = Qe(() => {
|
|
27813
27813
|
let e = v.current;
|
|
27814
27814
|
if (e && (!e.style.width || e.style.width === "calc(20px)")) {
|
|
27815
27815
|
let n = Math.min(e.naturalWidth, c), r = Math.min(e.naturalHeight, l);
|
|
@@ -27829,7 +27829,7 @@ function FP(e) {
|
|
|
27829
27829
|
c,
|
|
27830
27830
|
l,
|
|
27831
27831
|
C
|
|
27832
|
-
]),
|
|
27832
|
+
]), ee = (e, t, n = !0, r) => {
|
|
27833
27833
|
if (n) {
|
|
27834
27834
|
let n = e.width / e.height;
|
|
27835
27835
|
return r === "height" ? {
|
|
@@ -27847,7 +27847,7 @@ function FP(e) {
|
|
|
27847
27847
|
let n = e.target.getBoundingClientRect(), r = {
|
|
27848
27848
|
width: t.naturalWidth,
|
|
27849
27849
|
height: t.naturalHeight
|
|
27850
|
-
}, i =
|
|
27850
|
+
}, i = ee(r, {
|
|
27851
27851
|
width: e.clientX - n.left,
|
|
27852
27852
|
height: e.clientY - n.top
|
|
27853
27853
|
});
|
|
@@ -27888,7 +27888,7 @@ function FP(e) {
|
|
|
27888
27888
|
ref: v,
|
|
27889
27889
|
src: t.attrs.src,
|
|
27890
27890
|
style: ne,
|
|
27891
|
-
onLoad:
|
|
27891
|
+
onLoad: T,
|
|
27892
27892
|
alt: t.attrs.alt
|
|
27893
27893
|
}), /* @__PURE__ */ I(NP, {
|
|
27894
27894
|
ref: y,
|
|
@@ -36298,7 +36298,7 @@ var vG = M(_G)({ color: j.text() }), yG = M(RW)(({ theme: e }) => ({
|
|
|
36298
36298
|
paddingBottom: e.spacing(1)
|
|
36299
36299
|
}));
|
|
36300
36300
|
function wG({ error: e, trait: { name: t, standards: n, description: r, scorePointsDescriptors: i }, traitLabel: a, scorePointsValues: o, showStandards: s, showDescription: c, enableDragAndDrop: l, currentPosition: u, secondaryBlockWidth: d, spellCheck: f, maxPoints: p, uploadSoundSupport: m, mathMlOptions: h = {}, expandedPluginProps: g = {}, labelPluginProps: _ = {}, imageSupport: v = {}, index: y, onTraitChanged: b, onTraitRemoved: x, onTraitDropped: S }) {
|
|
36301
|
-
let [C, w] = P.useState(null),
|
|
36301
|
+
let [C, w] = P.useState(null), T = P.useRef(null), { attributes: ee, listeners: E, setNodeRef: D, transform: O, isDragging: te } = fO({
|
|
36302
36302
|
id: `trait-${y}`,
|
|
36303
36303
|
data: {
|
|
36304
36304
|
type: "trait",
|
|
@@ -36313,7 +36313,7 @@ function wG({ error: e, trait: { name: t, standards: n, description: r, scorePoi
|
|
|
36313
36313
|
}
|
|
36314
36314
|
});
|
|
36315
36315
|
P.useLayoutEffect(() => {
|
|
36316
|
-
u !== void 0 &&
|
|
36316
|
+
u !== void 0 && T.current && T.current.scrollTo({ left: u });
|
|
36317
36317
|
}, [u]);
|
|
36318
36318
|
let k = (e) => {
|
|
36319
36319
|
kt(e) || b({
|
|
@@ -36340,7 +36340,7 @@ function wG({ error: e, trait: { name: t, standards: n, description: r, scorePoi
|
|
|
36340
36340
|
/* @__PURE__ */ L(bG, { children: [
|
|
36341
36341
|
l && /* @__PURE__ */ I("span", {
|
|
36342
36342
|
ref: D,
|
|
36343
|
-
...
|
|
36343
|
+
...ee,
|
|
36344
36344
|
...E,
|
|
36345
36345
|
children: /* @__PURE__ */ I(vG, {})
|
|
36346
36346
|
}),
|
|
@@ -36382,7 +36382,7 @@ function wG({ error: e, trait: { name: t, standards: n, description: r, scorePoi
|
|
|
36382
36382
|
e && /* @__PURE__ */ I(CG, { children: e.name || "" })
|
|
36383
36383
|
] }), /* @__PURE__ */ L(VW, {
|
|
36384
36384
|
setRef: (e) => {
|
|
36385
|
-
|
|
36385
|
+
T.current = e;
|
|
36386
36386
|
},
|
|
36387
36387
|
width: `${d}px`,
|
|
36388
36388
|
children: [
|
|
@@ -36598,7 +36598,7 @@ var TG = 216, EG = M("div")(({ theme: e }) => ({
|
|
|
36598
36598
|
});
|
|
36599
36599
|
};
|
|
36600
36600
|
render() {
|
|
36601
|
-
let { errors: e, scale: t, scaleIndex: n, showStandards: r, onScaleChanged: i, excludeZero: a, showDescription: o, showLevelTagInput: s, showScorePointLabels: c, enableDragAndDrop: l, spellCheck: u, width: d, uploadSoundSupport: f, maxPointsEnabled: p, mathMlOptions: m = {}, maxMaxPoints: h, expandedPluginProps: g = {}, labelPluginProps: _ = {}, imageSupport: v = {} } = this.props || {}, { maxPoints: y, scorePointsLabels: b, traitLabel: x, traits: S } = t || {}, { showDecreaseMaxPointsDialog: C, showDeleteScaleDialog: w, showDeleteTraitDialog:
|
|
36601
|
+
let { errors: e, scale: t, scaleIndex: n, showStandards: r, onScaleChanged: i, excludeZero: a, showDescription: o, showLevelTagInput: s, showScorePointLabels: c, enableDragAndDrop: l, spellCheck: u, width: d, uploadSoundSupport: f, maxPointsEnabled: p, mathMlOptions: m = {}, maxMaxPoints: h, expandedPluginProps: g = {}, labelPluginProps: _ = {}, imageSupport: v = {} } = this.props || {}, { maxPoints: y, scorePointsLabels: b, traitLabel: x, traits: S } = t || {}, { showDecreaseMaxPointsDialog: C, showDeleteScaleDialog: w, showDeleteTraitDialog: T, currentPosition: ee, showRight: E, showLeft: D, showInfoDialog: O, infoDialogText: te } = this.state, { traitsErrors: ne, scorePointsErrors: k } = e || {}, re = ne && ne[n] || {}, ie = k && k[n] || {}, ae = [], oe = parseInt(d) - 32 - 200 || 320;
|
|
36602
36602
|
for (let e = y; +(e >= a); --e) ae.push(e);
|
|
36603
36603
|
return /* @__PURE__ */ I(iW, {
|
|
36604
36604
|
onDragEnd: this.onTraitDropped,
|
|
@@ -36625,7 +36625,7 @@ var TG = 216, EG = M("div")(({ theme: e }) => ({
|
|
|
36625
36625
|
updateMaxPointsFieldValue: this.updateMaxPointsFieldValue,
|
|
36626
36626
|
scaleIndex: n,
|
|
36627
36627
|
showDeleteScaleModal: this.showDeleteScaleModal,
|
|
36628
|
-
currentPosition:
|
|
36628
|
+
currentPosition: ee,
|
|
36629
36629
|
secondaryBlockWidth: oe,
|
|
36630
36630
|
spellCheck: u,
|
|
36631
36631
|
uploadSoundSupport: f,
|
|
@@ -36648,7 +36648,7 @@ var TG = 216, EG = M("div")(({ theme: e }) => ({
|
|
|
36648
36648
|
showStandards: r,
|
|
36649
36649
|
showDescription: o,
|
|
36650
36650
|
maxPoints: y,
|
|
36651
|
-
currentPosition:
|
|
36651
|
+
currentPosition: ee,
|
|
36652
36652
|
enableDragAndDrop: l,
|
|
36653
36653
|
secondaryBlockWidth: oe,
|
|
36654
36654
|
spellCheck: u,
|
|
@@ -36689,7 +36689,7 @@ var TG = 216, EG = M("div")(({ theme: e }) => ({
|
|
|
36689
36689
|
cancel: this.hideDeleteScaleModal
|
|
36690
36690
|
}),
|
|
36691
36691
|
/* @__PURE__ */ I(bW, {
|
|
36692
|
-
open: !!
|
|
36692
|
+
open: !!T,
|
|
36693
36693
|
deleteTrait: this.onTraitRemoved,
|
|
36694
36694
|
cancel: this.hideDeleteTraitModal,
|
|
36695
36695
|
traitLabel: x.toLowerCase()
|
|
@@ -36877,7 +36877,7 @@ var NG = class extends P.Component {
|
|
|
36877
36877
|
t === "excludeZero" ? this.showToggleExcludeZeroModal() : n(e);
|
|
36878
36878
|
};
|
|
36879
36879
|
render() {
|
|
36880
|
-
let { model: e, configuration: t, onConfigurationChanged: n, uploadSoundSupport: r, imageSupport: i } = this.props || {}, { addScale: a, baseInputConfiguration: o = {}, dragAndDrop: s, contentDimensions: c = {}, showDescription: l, showExcludeZero: u, showLevelTagInput: d, showStandards: f, showHalfScoring: p, showMaxPoint: m, showScorePointLabels: h, showVisibleToStudent: g, spellCheck: _ = {}, settingsPanelDisabled: v, maxNoOfTraits: y, minNoOfTraits: b, width: x, mathMlOptions: S = {}, maxMaxPoints: C, expandedInput: w = {}, labelInput:
|
|
36880
|
+
let { model: e, configuration: t, onConfigurationChanged: n, uploadSoundSupport: r, imageSupport: i } = this.props || {}, { addScale: a, baseInputConfiguration: o = {}, dragAndDrop: s, contentDimensions: c = {}, showDescription: l, showExcludeZero: u, showLevelTagInput: d, showStandards: f, showHalfScoring: p, showMaxPoint: m, showScorePointLabels: h, showVisibleToStudent: g, spellCheck: _ = {}, settingsPanelDisabled: v, maxNoOfTraits: y, minNoOfTraits: b, width: x, mathMlOptions: S = {}, maxMaxPoints: C, expandedInput: w = {}, labelInput: T = {} } = t || {}, { errors: ee, extraCSSRules: E, scales: D, excludeZero: O, description: te, pointLabels: ne, standards: k, spellCheckEnabled: re, maxPointsEnabled: ie, addScaleEnabled: ae } = e || {}, { showExcludeZeroDialog: oe, showInfoDialog: se, infoDialogText: ce, adjustedWidth: le } = this.state || {}, ue = D?.some((e) => e.maxPoints === 1), de = {
|
|
36881
36881
|
standards: f.settings && kG(f.label),
|
|
36882
36882
|
"showLevelTagInput.enabled": d.settings && kG(d.label, !0),
|
|
36883
36883
|
visibleToStudent: g.settings && kG(g.label),
|
|
@@ -36921,7 +36921,7 @@ var NG = class extends P.Component {
|
|
|
36921
36921
|
children: [(D || []).map((e, t) => /* @__PURE__ */ I(DG, {
|
|
36922
36922
|
scale: e,
|
|
36923
36923
|
scaleIndex: t,
|
|
36924
|
-
errors:
|
|
36924
|
+
errors: ee,
|
|
36925
36925
|
onScaleRemoved: this.onScaleRemoved,
|
|
36926
36926
|
onScaleChanged: this.onScaleChanged,
|
|
36927
36927
|
showStandards: k,
|
|
@@ -36941,7 +36941,7 @@ var NG = class extends P.Component {
|
|
|
36941
36941
|
mathMlOptions: S,
|
|
36942
36942
|
maxMaxPoints: C,
|
|
36943
36943
|
expandedPluginProps: fe(w?.inputConfiguration),
|
|
36944
|
-
labelPluginProps: fe(
|
|
36944
|
+
labelPluginProps: fe(T?.inputConfiguration)
|
|
36945
36945
|
}, `scale-${t}`)), ae && /* @__PURE__ */ I(LW, {
|
|
36946
36946
|
onClick: this.onScaleAdded,
|
|
36947
36947
|
children: "Add Scale"
|