@pie-element/match 13.0.6-next.20261018193205 → 13.0.6
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/author/index.js +2 -2
- package/dist/browser/controller/index.js +1 -1
- package/dist/browser/delivery/index.js +2 -2
- package/dist/browser/{dist-CwkeJYno.js → dist-Ck3Whxbr.js} +55 -55
- package/dist/browser/{dist-CwkeJYno.js.map → dist-Ck3Whxbr.js.map} +1 -1
- package/dist/browser/editor-runtime/author/index.js +2 -2
- package/dist/browser/editor-runtime/controller/index.js +1 -1
- package/dist/browser/editor-runtime/delivery/index.js +2 -2
- package/dist/browser/editor-runtime/{dist-xoi1Q8MD.js → dist-DnjZuoI4.js} +55 -55
- package/dist/browser/editor-runtime/{dist-xoi1Q8MD.js.map → dist-DnjZuoI4.js.map} +1 -1
- package/dist/browser/editor-runtime/{mathjax-CptWnMbQ-DOHDl8ih.js → mathjax-DqXi3q4c-CmNb0K2t.js} +4 -4
- package/dist/browser/editor-runtime/{mathjax-CptWnMbQ-DOHDl8ih.js.map → mathjax-DqXi3q4c-CmNb0K2t.js.map} +1 -1
- package/dist/browser/{mathjax-CptWnMbQ-CSViSqWd.js → mathjax-DqXi3q4c-BXH7dQCu.js} +4 -4
- package/dist/browser/{mathjax-CptWnMbQ-CSViSqWd.js.map → mathjax-DqXi3q4c-BXH7dQCu.js.map} +1 -1
- package/dist/index.iife.js +1 -1
- package/dist/schemas/configuration.schema.json +1 -1
- package/dist/schemas/model.schema.json +1 -1
- package/dist/schemas/session.schema.json +1 -1
- package/package.json +16 -16
|
@@ -17,7 +17,7 @@
|
|
|
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
19
|
import { a as e, i as t, n, t as r } from "../browser-kkT1XVKw.js";
|
|
20
|
-
import { $ as i, A as a, At as o, B as s, Bt as c, C as l, D as u, Dt as d, E as f, Et as p, Ft as m, G as h, H as g, Ht as _, It as v, J as y, K as b, Lt as x, M as S, Mt as C, Nt as w, O as ee, Ot as T, Pt as E, Q as D, R as te, Rt as O, St as k, T as A, Tt as ne, U as re, Ut as ie, V as ae, Vt as oe, W as se, Wt as ce, X as le, Y as ue, Z as de, _ as fe, _t as pe, a as me, at as he, b as ge, c as _e, ct as ve, dt as ye, et as be, ft as xe, g as Se, gt as Ce, h as we, ht as Te, i as Ee, it as De, j as Oe, jt as ke, kt as Ae, l as je, lt as Me, mt as Ne, n as Pe, nt as Fe, o as Ie, ot as Le, pt as Re, q as ze, r as Be, rt as Ve, s as He, st as Ue, t as We, tt as j, u as Ge, ut as Ke, v as qe, vt as Je, w as Ye, x as Xe, y as Ze, yt as Qe, z as $e, zt as et } from "../dist-
|
|
20
|
+
import { $ as i, A as a, At as o, B as s, Bt as c, C as l, D as u, Dt as d, E as f, Et as p, Ft as m, G as h, H as g, Ht as _, It as v, J as y, K as b, Lt as x, M as S, Mt as C, Nt as w, O as ee, Ot as T, Pt as E, Q as D, R as te, Rt as O, St as k, T as A, Tt as ne, U as re, Ut as ie, V as ae, Vt as oe, W as se, Wt as ce, X as le, Y as ue, Z as de, _ as fe, _t as pe, a as me, at as he, b as ge, c as _e, ct as ve, dt as ye, et as be, ft as xe, g as Se, gt as Ce, h as we, ht as Te, i as Ee, it as De, j as Oe, jt as ke, kt as Ae, l as je, lt as Me, mt as Ne, n as Pe, nt as Fe, o as Ie, ot as Le, pt as Re, q as ze, r as Be, rt as Ve, s as He, st as Ue, t as We, tt as j, u as Ge, ut as Ke, v as qe, vt as Je, w as Ye, x as Xe, y as Ze, yt as Qe, z as $e, zt as et } from "../dist-Ck3Whxbr.js";
|
|
21
21
|
import { a as tt, c as nt, d as rt, f as it, i as at, l as ot, n as st, o as ct, p as lt, r as ut, s as dt, t as ft, u as pt } from "../dist-C_7_lHKV.js";
|
|
22
22
|
import * as M from "react";
|
|
23
23
|
import N, { Component as mt, createContext as ht, createElement as gt, createRef as _t, forwardRef as vt, memo as yt, useCallback as bt, useContext as xt, useDebugValue as St, useEffect as P, useId as Ct, useLayoutEffect as wt, useMemo as Tt, useReducer as Et, useRef as Dt, useState as Ot, version as kt } from "react";
|
|
@@ -37635,7 +37635,7 @@ var GK = (0, hc.default)("pie-elements:match:configure"), KK = p("div")(({ theme
|
|
|
37635
37635
|
}
|
|
37636
37636
|
}, vq = Object.freeze({
|
|
37637
37637
|
name: "@pie-element/match",
|
|
37638
|
-
version: "13.0.6
|
|
37638
|
+
version: "13.0.6"
|
|
37639
37639
|
});
|
|
37640
37640
|
//#endregion
|
|
37641
37641
|
export { _q as default, vq as piePackage };
|
|
@@ -269,7 +269,7 @@ var F = (e, t) => new Promise((n) => {
|
|
|
269
269
|
}), Object.values(d).some((e) => (e || "").length) && (p.rowsErrors = d, Object.values(d).some((e) => (e || "").includes("No correct response defined.")) && (p.correctResponseError = r === "radio" ? "There should be a correct response defined for every row." : "There should be at least one correct response defined for every row.")), Object.values(f).some((e) => (e || "").length) && (p.columnsErrors = f), p;
|
|
270
270
|
}, z = Object.freeze({
|
|
271
271
|
name: "@pie-element/match",
|
|
272
|
-
version: "13.0.6
|
|
272
|
+
version: "13.0.6"
|
|
273
273
|
});
|
|
274
274
|
//#endregion
|
|
275
275
|
export { F as createCorrectResponseSession, M as createDefaultModel, A as getLogTrace, P as model, N as normalize, j as outcome, z as piePackage, R as validate };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as e } from "../browser-kkT1XVKw.js";
|
|
2
|
-
import { A as t, B as n, Ct as r, Et as i, S as a, St as o, Wt as s, bt as c, d as l, f as u, i as ee, k as d, m as te, n as ne, o as f, p as re, r as ie, t as p, wt as m, xt as h } from "../dist-
|
|
2
|
+
import { A as t, B as n, Ct as r, Et as i, S as a, St as o, Wt as s, bt as c, d as l, f as u, i as ee, k as d, m as te, n as ne, o as f, p as re, r as ie, t as p, wt as m, xt as h } from "../dist-Ck3Whxbr.js";
|
|
3
3
|
import g, { useRef as ae } from "react";
|
|
4
4
|
import { createRoot as oe } from "react-dom/client";
|
|
5
5
|
import { jsx as _, jsxs as v } from "react/jsx-runtime";
|
|
@@ -633,7 +633,7 @@ var ge = class e extends CustomEvent {
|
|
|
633
633
|
}
|
|
634
634
|
}, ve = Object.freeze({
|
|
635
635
|
name: "@pie-element/match",
|
|
636
|
-
version: "13.0.6
|
|
636
|
+
version: "13.0.6"
|
|
637
637
|
});
|
|
638
638
|
//#endregion
|
|
639
639
|
export { Q as Component, _e as default, $ as isComplete, ve as piePackage };
|
|
@@ -7951,7 +7951,7 @@ var gm;
|
|
|
7951
7951
|
function _m() {
|
|
7952
7952
|
return gm;
|
|
7953
7953
|
}
|
|
7954
|
-
var vm = import("./mathjax-
|
|
7954
|
+
var vm = import("./mathjax-DqXi3q4c-BXH7dQCu.js");
|
|
7955
7955
|
vm.catch(() => {});
|
|
7956
7956
|
async function ym(e, t) {
|
|
7957
7957
|
let { createMathJax: n } = await vm;
|
|
@@ -8650,25 +8650,7 @@ function eg(e) {
|
|
|
8650
8650
|
function tg(e) {
|
|
8651
8651
|
for (let t of e.querySelectorAll("mjx-container")) eg(t);
|
|
8652
8652
|
}
|
|
8653
|
-
var ng =
|
|
8654
|
-
function ag(e, t) {
|
|
8655
|
-
if (typeof window > "u") return;
|
|
8656
|
-
let n = globalThis;
|
|
8657
|
-
n[ig] ??= {
|
|
8658
|
-
logged: !1,
|
|
8659
|
-
conditions: []
|
|
8660
|
-
};
|
|
8661
|
-
let r = n[ig];
|
|
8662
|
-
if (r.conditions.includes(e)) return;
|
|
8663
|
-
r.conditions.push(e);
|
|
8664
|
-
let i = `[math-rendering] Unsupported page (${e}): ${t}. PIE supports one MathJax major version per page; with MathJax 3 and 4 on one page, math rendering is best effort and may break. See ${ng}`;
|
|
8665
|
-
r.logged || (r.logged = !0, console.error(i)), window.dispatchEvent(new CustomEvent(rg, { detail: {
|
|
8666
|
-
condition: e,
|
|
8667
|
-
message: i,
|
|
8668
|
-
docsUrl: ng
|
|
8669
|
-
} }));
|
|
8670
|
-
}
|
|
8671
|
-
var og = {
|
|
8653
|
+
var ng = {
|
|
8672
8654
|
parallelogram: "\\lower.2em{\\Huge\\unicode{x25B1}}",
|
|
8673
8655
|
overarc: "\\overparen",
|
|
8674
8656
|
napprox: "\\not\\approx",
|
|
@@ -8676,36 +8658,54 @@ var og = {
|
|
|
8676
8658
|
abs: ["\\left|#1\\right|", 1],
|
|
8677
8659
|
perpendicular: "\\perp",
|
|
8678
8660
|
divide: "\\div"
|
|
8679
|
-
},
|
|
8661
|
+
}, rg = /\\\(|\\\[|\$\$|\\\$|\\begin\{|\\(?:eq)?ref\{/, ig = /\\\(|\\\[|\$|\\begin\{|\\(?:eq)?ref\{/, ag = /\\embed\{newLine\}\[\]/g, og = [
|
|
8680
8662
|
["$$", "$$"],
|
|
8681
8663
|
["$", "$"],
|
|
8682
8664
|
["\\[", "\\]"],
|
|
8683
8665
|
["\\(", "\\)"]
|
|
8684
|
-
]
|
|
8666
|
+
];
|
|
8667
|
+
function sg(e) {
|
|
8668
|
+
for (let [t, n] of og) if (e.startsWith(t) && e.endsWith(n)) return e.substring(t.length, e.length - n.length);
|
|
8669
|
+
return e;
|
|
8670
|
+
}
|
|
8671
|
+
function cg(e) {
|
|
8672
|
+
return `\\(${sg(e.includes("\\displaystyle") ? e.replace("\\displaystyle", "").trim() : e)}\\)`.replace(ag, "\\newline ");
|
|
8673
|
+
}
|
|
8674
|
+
var lg = "mathjax_ignore", ug = "mathjax_process", dg = "https://github.com/pie-framework/pie-players/blob/develop/docs/item-player/loading-strategies.md#one-mathjax-version-per-page", fg = "pie-mathjax-version-conflict", pg = Symbol.for("@pie-element/shared-math-rendering-mathjax/unsupported-page");
|
|
8675
|
+
function mg(e, t) {
|
|
8676
|
+
if (typeof window > "u") return;
|
|
8677
|
+
let n = globalThis;
|
|
8678
|
+
n[pg] ??= {
|
|
8679
|
+
logged: !1,
|
|
8680
|
+
conditions: []
|
|
8681
|
+
};
|
|
8682
|
+
let r = n[pg];
|
|
8683
|
+
if (r.conditions.includes(e)) return;
|
|
8684
|
+
r.conditions.push(e);
|
|
8685
|
+
let i = `[math-rendering] Unsupported page (${e}): ${t}. PIE supports one MathJax major version per page; with MathJax 3 and 4 on one page, math rendering is best effort and may break. See ${dg}`;
|
|
8686
|
+
r.logged || (r.logged = !0, console.error(i)), window.dispatchEvent(new CustomEvent(fg, { detail: {
|
|
8687
|
+
condition: e,
|
|
8688
|
+
message: i,
|
|
8689
|
+
docsUrl: dg
|
|
8690
|
+
} }));
|
|
8691
|
+
}
|
|
8692
|
+
var hg = "[math-rendering] using $ is not advisable, please use $$..$$ or \\(...\\)", gg = Symbol.for("@pie-element/shared-math-rendering-mathjax/loading"), _g = "MJX-CHTML-styles", vg = "PIE-MJX-SVG-styles", yg = "PIE-MathJax-Menu-Settings", bg = { "mjx-container[overflow=\"linebreak\"][display]": {
|
|
8685
8693
|
overflow: "auto clip",
|
|
8686
8694
|
"min-width": "initial !important"
|
|
8687
|
-
} },
|
|
8688
|
-
function
|
|
8695
|
+
} }, xg = 200, Sg = 201, Cg = 202;
|
|
8696
|
+
function wg(e) {
|
|
8689
8697
|
let t = [...e.matches("mjx-container") ? [e] : [], ...e.querySelectorAll("mjx-container")];
|
|
8690
8698
|
for (let e of t) for (let t of [e, ...e.querySelectorAll("[data-latex],[data-latex-item]")]) t.removeAttribute("data-latex"), t.removeAttribute("data-latex-item");
|
|
8691
8699
|
}
|
|
8692
|
-
function xg(e) {
|
|
8693
|
-
for (let [t, n] of dg) if (e.startsWith(t) && e.endsWith(n)) return e.substring(t.length, e.length - n.length);
|
|
8694
|
-
return e;
|
|
8695
|
-
}
|
|
8696
|
-
function Sg(e) {
|
|
8697
|
-
return xg(e.includes("\\displaystyle") ? e.replace("\\displaystyle", "").trim() : e);
|
|
8698
|
-
}
|
|
8699
|
-
var Cg = "mathjax_ignore", wg = "mathjax_process";
|
|
8700
8700
|
function Tg(e, t) {
|
|
8701
|
-
let n = e.closest(`.${
|
|
8702
|
-
return n !== null && t.contains(n) && !n.classList.contains(
|
|
8701
|
+
let n = e.closest(`.${lg}, .${ug}`);
|
|
8702
|
+
return n !== null && t.contains(n) && !n.classList.contains("mathjax_process");
|
|
8703
8703
|
}
|
|
8704
8704
|
function Eg(e) {
|
|
8705
8705
|
for (let t of e.querySelectorAll("[data-latex]")) {
|
|
8706
8706
|
if (t.dataset.mathHandled || t.closest("mjx-container") || Tg(t, e)) continue;
|
|
8707
8707
|
let n = t.textContent;
|
|
8708
|
-
n && (t.textContent =
|
|
8708
|
+
n && (t.textContent = cg(n), t.dataset.mathHandled = "true");
|
|
8709
8709
|
}
|
|
8710
8710
|
}
|
|
8711
8711
|
function Dg(e) {
|
|
@@ -8713,7 +8713,7 @@ function Dg(e) {
|
|
|
8713
8713
|
}
|
|
8714
8714
|
function Og(e, t) {
|
|
8715
8715
|
for (let t of e.querySelectorAll("math")) if (!t.closest("mjx-assistive-mml")) return !0;
|
|
8716
|
-
return (t ?
|
|
8716
|
+
return (t ? ig : rg).test(e.textContent ?? "");
|
|
8717
8717
|
}
|
|
8718
8718
|
function kg(e) {
|
|
8719
8719
|
return new Promise((t, n) => {
|
|
@@ -8730,10 +8730,10 @@ function kg(e) {
|
|
|
8730
8730
|
typeset: !1,
|
|
8731
8731
|
ready: () => {
|
|
8732
8732
|
let e = _m(), r = e?.startup, i = Ag(e);
|
|
8733
|
-
i && (jg(e), Mg(e, s.speechLocales), im(e?._?.a11y?.sre_ts?.locales, s.speechLocales)), r?.defaultReady?.(), i && (Ng(r?.document), Pg(r?.document), r?.document?.addStyles?.(
|
|
8733
|
+
i && (jg(e), Mg(e, s.speechLocales), im(e?._?.a11y?.sre_ts?.locales, s.speechLocales)), r?.defaultReady?.(), i && (Ng(r?.document), Pg(r?.document), r?.document?.addStyles?.(bg), fm(r?.document)), Promise.resolve(r?.promise).then(() => t(), n);
|
|
8734
8734
|
}
|
|
8735
8735
|
},
|
|
8736
|
-
tex: { macros: { ...
|
|
8736
|
+
tex: { macros: { ...ng } },
|
|
8737
8737
|
output: { displayOverflow: "linebreak" },
|
|
8738
8738
|
options: {
|
|
8739
8739
|
enableMenu: i,
|
|
@@ -8745,7 +8745,7 @@ function kg(e) {
|
|
|
8745
8745
|
a11y: { inTabOrder: c }
|
|
8746
8746
|
}
|
|
8747
8747
|
};
|
|
8748
|
-
r && l.tex && (console.warn(
|
|
8748
|
+
r && l.tex && (console.warn(hg), l.tex.inlineMath = [["$", "$"], ["\\(", "\\)"]], l.tex.processEscapes = !0), a || (l.chtml = { fontURL: "" });
|
|
8749
8749
|
let u = am(s.speechLocales);
|
|
8750
8750
|
u && l.options && (l.options.sre = { locale: u }), ym(l, {
|
|
8751
8751
|
...s,
|
|
@@ -8762,18 +8762,18 @@ function jg(e) {
|
|
|
8762
8762
|
let t = e?._?.output, n = t?.chtml_ts?.CHTML;
|
|
8763
8763
|
n && (n.STYLESHEETID = wm);
|
|
8764
8764
|
let r = t?.svg_ts?.SVG;
|
|
8765
|
-
r && (r.STYLESHEETID =
|
|
8765
|
+
r && (r.STYLESHEETID = vg);
|
|
8766
8766
|
}
|
|
8767
8767
|
function Mg(e, t) {
|
|
8768
8768
|
let n = e?._?.ui?.menu?.Menu?.Menu;
|
|
8769
8769
|
if (n) {
|
|
8770
|
-
n.MENU_STORAGE =
|
|
8770
|
+
n.MENU_STORAGE = yg;
|
|
8771
8771
|
try {
|
|
8772
|
-
let e = localStorage.getItem(
|
|
8772
|
+
let e = localStorage.getItem(yg);
|
|
8773
8773
|
if (!e) return;
|
|
8774
8774
|
let { assistiveMml: n, locale: r, ...i } = JSON.parse(e), a = r === void 0 || !t || t.has(r);
|
|
8775
8775
|
if (n === void 0 && a) return;
|
|
8776
|
-
a && r !== void 0 && (i.locale = r), Object.keys(i).length ? localStorage.setItem(
|
|
8776
|
+
a && r !== void 0 && (i.locale = r), Object.keys(i).length ? localStorage.setItem(yg, JSON.stringify(i)) : localStorage.removeItem(yg);
|
|
8777
8777
|
} catch {}
|
|
8778
8778
|
}
|
|
8779
8779
|
}
|
|
@@ -8781,23 +8781,23 @@ function Ng(e) {
|
|
|
8781
8781
|
if (!e) return;
|
|
8782
8782
|
let t = /* @__PURE__ */ new WeakSet(), n = (e) => {
|
|
8783
8783
|
let n = e.typesetRoot;
|
|
8784
|
-
!n || t.has(n) || (
|
|
8784
|
+
!n || t.has(n) || (wg(n), t.add(n));
|
|
8785
8785
|
};
|
|
8786
|
-
e.addRenderAction?.("pie-strip-latex",
|
|
8786
|
+
e.addRenderAction?.("pie-strip-latex", Sg, (e) => {
|
|
8787
8787
|
for (let t of e.math ?? []) n(t);
|
|
8788
8788
|
return !1;
|
|
8789
8789
|
}, (e) => {
|
|
8790
8790
|
let t = e.typesetRoot;
|
|
8791
|
-
return t &&
|
|
8791
|
+
return t && wg(t), !1;
|
|
8792
8792
|
});
|
|
8793
8793
|
let r = e.outputJax?.chtmlStyles;
|
|
8794
|
-
r?.id ===
|
|
8794
|
+
r?.id === _g && (r.id = wm), Lg();
|
|
8795
8795
|
}
|
|
8796
8796
|
function Pg(e) {
|
|
8797
8797
|
let t = (e) => {
|
|
8798
8798
|
e.typesetRoot && eg(e.typesetRoot);
|
|
8799
8799
|
};
|
|
8800
|
-
e?.addRenderAction?.("pie-name-math",
|
|
8800
|
+
e?.addRenderAction?.("pie-name-math", Cg, (e) => {
|
|
8801
8801
|
for (let n of e.math ?? []) t(n);
|
|
8802
8802
|
return !1;
|
|
8803
8803
|
}, (e) => (t(e), !1));
|
|
@@ -8806,7 +8806,7 @@ function Fg(e) {
|
|
|
8806
8806
|
return e instanceof HTMLStyleElement && Tm.includes(e.id);
|
|
8807
8807
|
}
|
|
8808
8808
|
function Ig(e) {
|
|
8809
|
-
|
|
8809
|
+
mg("foreign-output-stylesheet", `another MathJax added <style id="${e.id}"> to <head>`);
|
|
8810
8810
|
}
|
|
8811
8811
|
function Lg() {
|
|
8812
8812
|
let e = document.head, t = [...e.children].find(Fg);
|
|
@@ -8828,7 +8828,7 @@ function Lg() {
|
|
|
8828
8828
|
function Rg(e) {
|
|
8829
8829
|
let t = e?.math;
|
|
8830
8830
|
if (!t?.remove) return;
|
|
8831
|
-
let n = [...t].filter((e) => (e.state?.() ?? 0) >=
|
|
8831
|
+
let n = [...t].filter((e) => (e.state?.() ?? 0) >= xg && e.typesetRoot?.isConnected === !1);
|
|
8832
8832
|
if (n.length !== 0) {
|
|
8833
8833
|
for (let e of [...n].reverse()) e.clear?.();
|
|
8834
8834
|
t.remove(...n);
|
|
@@ -8856,8 +8856,8 @@ function Vg(e) {
|
|
|
8856
8856
|
});
|
|
8857
8857
|
}
|
|
8858
8858
|
function Hg(e) {
|
|
8859
|
-
let t = bm, n = t[
|
|
8860
|
-
return n || (n = Vg(e), t[
|
|
8859
|
+
let t = bm, n = t[gg];
|
|
8860
|
+
return n || (n = Vg(e), t[gg] = n), n;
|
|
8861
8861
|
}
|
|
8862
8862
|
function Ug(e = {}) {
|
|
8863
8863
|
let t = e.useSingleDollar ?? !1;
|
|
@@ -8878,7 +8878,7 @@ function Ug(e = {}) {
|
|
|
8878
8878
|
} catch (e) {
|
|
8879
8879
|
throw i.typesetClear?.([n]), e;
|
|
8880
8880
|
}
|
|
8881
|
-
|
|
8881
|
+
wg(n), tg(n);
|
|
8882
8882
|
}
|
|
8883
8883
|
};
|
|
8884
8884
|
}
|
|
@@ -8929,7 +8929,7 @@ var n_ = async (e) => {
|
|
|
8929
8929
|
let n = Qg()?.wrapMath?.(e, t);
|
|
8930
8930
|
if (n != null) return n;
|
|
8931
8931
|
let [r, i] = t === "dollar" || t === "double_dollar" ? ["$", "$"] : ["\\(", "\\)"];
|
|
8932
|
-
return `${r}${
|
|
8932
|
+
return `${r}${sg(e)}${i}`;
|
|
8933
8933
|
}, i_ = (e) => {
|
|
8934
8934
|
let t = e.trim();
|
|
8935
8935
|
return t.startsWith("\\[") && t.endsWith("\\]") ? {
|
|
@@ -13682,4 +13682,4 @@ var lx = {
|
|
|
13682
13682
|
//#endregion
|
|
13683
13683
|
export { Nf as $, n_ as A, so as At, Pp as B, Gt as Bt, nv as C, fs as Ct, E_ as D, fo as Dt, A_ as E, q as Et, cm as F, qr as Ft, cp as G, fp as H, At as Ht, Up as I, Nr as It, Q as J, sp as K, nm as L, Mr as Lt, i_ as M, Qi as Mt, hm as N, Ti as Nt, l_ as O, uo as Ot, mm as P, _i as Pt, Lf as Q, Hp as R, H as Rt, uv as S, zs as St, H_ as T, yo as Tt, dp as U, b as Ut, mp as V, kt as Vt, lp as W, y as Wt, Yf as X, $f as Y, Rf as Z, Ov as _, Dd as _t, Ey as a, Xd as at, hv as b, Sd as bt, ay as c, Bd as ct, Zv as d, Nd as dt, Af as et, Yv as f, Md as ft, Nv as g, Od as gt, Iv as h, kd as ht, Hy as i, df as it, r_ as j, ta as jt, c_ as k, lo as kt, ty as l, Rd as lt, Wv as m, Ad as mt, ob as n, Cf as nt, xy as o, Kd as ot, Gv as p, jd as pt, op as q, $y as r, ff as rt, yy as s, Gd as st, lx as t, wf as tt, ey as u, zd as ut, Ev as v, Td as vt, ev as w, zo as wt, mv as x, vd as xt, gv as y, Cd as yt, Fp as z, nn as zt };
|
|
13684
13684
|
|
|
13685
|
-
//# sourceMappingURL=dist-
|
|
13685
|
+
//# sourceMappingURL=dist-Ck3Whxbr.js.map
|