@pie-element/fraction-model 7.0.6-next.20261018193205 → 7.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 +1 -1
- package/dist/browser/{delivery-BpaiQGre.js → delivery-Ke6UuFKN.js} +56 -56
- package/dist/browser/{delivery-BpaiQGre.js.map → delivery-Ke6UuFKN.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 +1 -1
- package/dist/browser/editor-runtime/{delivery-b8wCSeGV.js → delivery-hSadszxo.js} +56 -56
- package/dist/browser/editor-runtime/{delivery-b8wCSeGV.js.map → delivery-hSadszxo.js.map} +1 -1
- package/dist/browser/editor-runtime/{mathjax-CptWnMbQ-DKPohRxq.js → mathjax-DqXi3q4c-SnBvU8bv.js} +4 -4
- package/dist/browser/editor-runtime/{mathjax-CptWnMbQ-DKPohRxq.js.map → mathjax-DqXi3q4c-SnBvU8bv.js.map} +1 -1
- package/dist/browser/{mathjax-CptWnMbQ-B6nftkyK.js → mathjax-DqXi3q4c-C9VzNmMN.js} +4 -4
- package/dist/browser/{mathjax-CptWnMbQ-B6nftkyK.js.map → mathjax-DqXi3q4c-C9VzNmMN.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 +12 -12
|
@@ -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, At as n, B as r, C as i, Ct as a, D as o, Dt as s, E as c, Et as l, F as u, G as d, H as f, I as p, J as m, K as h, L as g, M as _, Mt as v, N as y, O as b, Ot as x, P as S, Q as C, R as ee, S as w, St as T, T as E, Tt as D, U as O, V as k, W as A, X as te, Y as ne, Z as re, _ as ie, _t as ae, a as oe, at as se, b as ce, bt as le, c as ue, ct as de, d as fe, dt as pe, et as me, ft as j, gt as he, ht as ge, i as _e, it as ve, j as ye, k as be, kt as xe, l as Se, lt as M, mt as N, nt as Ce, o as we, ot as Te, pt as Ee, q as De, r as Oe, rt as ke, s as Ae, st as je, tt as Me, u as Ne, ut as Pe, v as Fe, vt as Ie, w as Le, wt as Re, x as ze, xt as Be, y as P, yt as Ve, z as He } from "../delivery-
|
|
19
|
+
import { $ as e, A as t, At as n, B as r, C as i, Ct as a, D as o, Dt as s, E as c, Et as l, F as u, G as d, H as f, I as p, J as m, K as h, L as g, M as _, Mt as v, N as y, O as b, Ot as x, P as S, Q as C, R as ee, S as w, St as T, T as E, Tt as D, U as O, V as k, W as A, X as te, Y as ne, Z as re, _ as ie, _t as ae, a as oe, at as se, b as ce, bt as le, c as ue, ct as de, d as fe, dt as pe, et as me, ft as j, gt as he, ht as ge, i as _e, it as ve, j as ye, k as be, kt as xe, l as Se, lt as M, mt as N, nt as Ce, o as we, ot as Te, pt as Ee, q as De, r as Oe, rt as ke, s as Ae, st as je, tt as Me, u as Ne, ut as Pe, v as Fe, vt as Ie, w as Le, wt as Re, x as ze, xt as Be, y as P, yt as Ve, z as He } from "../delivery-hSadszxo.js";
|
|
20
20
|
import { a as Ue, c as We, d as Ge, i as Ke, l as qe, n as Je, o as Ye, r as Xe, s as Ze, t as Qe, u as $e } from "../dist-mr_8J_lk.js";
|
|
21
21
|
import * as F from "react";
|
|
22
22
|
import I, { Component as et, createContext as tt, createElement as nt, createRef as rt, forwardRef as it, memo as at, useCallback as ot, useContext as st, useDebugValue as ct, useEffect as L, useLayoutEffect as lt, useMemo as ut, useRef as R, useState as dt, version as ft } from "react";
|
|
@@ -16163,7 +16163,7 @@ var jb = I.forwardRef((e, t) => /* @__PURE__ */ z(Ab, {
|
|
|
16163
16163
|
}
|
|
16164
16164
|
}, Qb = Object.freeze({
|
|
16165
16165
|
name: "@pie-element/fraction-model",
|
|
16166
|
-
version: "7.0.6
|
|
16166
|
+
version: "7.0.6"
|
|
16167
16167
|
});
|
|
16168
16168
|
//#endregion
|
|
16169
16169
|
export { Zb as default, Qb as piePackage };
|
|
@@ -73,7 +73,7 @@ var t = { model: {
|
|
|
73
73
|
return n;
|
|
74
74
|
}, p = Object.freeze({
|
|
75
75
|
name: "@pie-element/fraction-model",
|
|
76
|
-
version: "7.0.6
|
|
76
|
+
version: "7.0.6"
|
|
77
77
|
});
|
|
78
78
|
//#endregion
|
|
79
79
|
export { d as createCorrectResponseSession, l as createDefaultModel, n as getResponseCorrectness, u as model, o as outcome, p as piePackage, f as validate };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as e, n as t, t as n } from "../delivery-
|
|
1
|
+
import { i as e, n as t, t as n } from "../delivery-hSadszxo.js";
|
|
2
2
|
export { e as FractionModelChart, n as default, t as piePackage };
|
|
@@ -12480,7 +12480,7 @@ var Mv;
|
|
|
12480
12480
|
function Nv() {
|
|
12481
12481
|
return Mv;
|
|
12482
12482
|
}
|
|
12483
|
-
var Pv = import("./mathjax-
|
|
12483
|
+
var Pv = import("./mathjax-DqXi3q4c-SnBvU8bv.js");
|
|
12484
12484
|
Pv.catch(() => {});
|
|
12485
12485
|
async function Fv(e, t) {
|
|
12486
12486
|
let { createMathJax: n } = await Pv;
|
|
@@ -13179,25 +13179,7 @@ function gb(e) {
|
|
|
13179
13179
|
function _b(e) {
|
|
13180
13180
|
for (let t of e.querySelectorAll("mjx-container")) gb(t);
|
|
13181
13181
|
}
|
|
13182
|
-
var vb =
|
|
13183
|
-
function xb(e, t) {
|
|
13184
|
-
if (typeof window > "u") return;
|
|
13185
|
-
let n = globalThis;
|
|
13186
|
-
n[bb] ??= {
|
|
13187
|
-
logged: !1,
|
|
13188
|
-
conditions: []
|
|
13189
|
-
};
|
|
13190
|
-
let r = n[bb];
|
|
13191
|
-
if (r.conditions.includes(e)) return;
|
|
13192
|
-
r.conditions.push(e);
|
|
13193
|
-
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 ${vb}`;
|
|
13194
|
-
r.logged || (r.logged = !0, console.error(i)), window.dispatchEvent(new CustomEvent(yb, { detail: {
|
|
13195
|
-
condition: e,
|
|
13196
|
-
message: i,
|
|
13197
|
-
docsUrl: vb
|
|
13198
|
-
} }));
|
|
13199
|
-
}
|
|
13200
|
-
var Sb = {
|
|
13182
|
+
var vb = {
|
|
13201
13183
|
parallelogram: "\\lower.2em{\\Huge\\unicode{x25B1}}",
|
|
13202
13184
|
overarc: "\\overparen",
|
|
13203
13185
|
napprox: "\\not\\approx",
|
|
@@ -13205,36 +13187,54 @@ var Sb = {
|
|
|
13205
13187
|
abs: ["\\left|#1\\right|", 1],
|
|
13206
13188
|
perpendicular: "\\perp",
|
|
13207
13189
|
divide: "\\div"
|
|
13208
|
-
},
|
|
13190
|
+
}, yb = /\\\(|\\\[|\$\$|\\\$|\\begin\{|\\(?:eq)?ref\{/, bb = /\\\(|\\\[|\$|\\begin\{|\\(?:eq)?ref\{/, xb = /\\embed\{newLine\}\[\]/g, Sb = [
|
|
13209
13191
|
["$$", "$$"],
|
|
13210
13192
|
["$", "$"],
|
|
13211
13193
|
["\\[", "\\]"],
|
|
13212
13194
|
["\\(", "\\)"]
|
|
13213
|
-
]
|
|
13195
|
+
];
|
|
13196
|
+
function Cb(e) {
|
|
13197
|
+
for (let [t, n] of Sb) if (e.startsWith(t) && e.endsWith(n)) return e.substring(t.length, e.length - n.length);
|
|
13198
|
+
return e;
|
|
13199
|
+
}
|
|
13200
|
+
function wb(e) {
|
|
13201
|
+
return `\\(${Cb(e.includes("\\displaystyle") ? e.replace("\\displaystyle", "").trim() : e)}\\)`.replace(xb, "\\newline ");
|
|
13202
|
+
}
|
|
13203
|
+
var Tb = "mathjax_ignore", Eb = "mathjax_process", Db = "https://github.com/pie-framework/pie-players/blob/develop/docs/item-player/loading-strategies.md#one-mathjax-version-per-page", Ob = "pie-mathjax-version-conflict", kb = Symbol.for("@pie-element/shared-math-rendering-mathjax/unsupported-page");
|
|
13204
|
+
function Ab(e, t) {
|
|
13205
|
+
if (typeof window > "u") return;
|
|
13206
|
+
let n = globalThis;
|
|
13207
|
+
n[kb] ??= {
|
|
13208
|
+
logged: !1,
|
|
13209
|
+
conditions: []
|
|
13210
|
+
};
|
|
13211
|
+
let r = n[kb];
|
|
13212
|
+
if (r.conditions.includes(e)) return;
|
|
13213
|
+
r.conditions.push(e);
|
|
13214
|
+
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 ${Db}`;
|
|
13215
|
+
r.logged || (r.logged = !0, console.error(i)), window.dispatchEvent(new CustomEvent(Ob, { detail: {
|
|
13216
|
+
condition: e,
|
|
13217
|
+
message: i,
|
|
13218
|
+
docsUrl: Db
|
|
13219
|
+
} }));
|
|
13220
|
+
}
|
|
13221
|
+
var jb = "[math-rendering] using $ is not advisable, please use $$..$$ or \\(...\\)", Mb = Symbol.for("@pie-element/shared-math-rendering-mathjax/loading"), Nb = "MJX-CHTML-styles", Pb = "PIE-MJX-SVG-styles", Fb = "PIE-MathJax-Menu-Settings", Ib = { "mjx-container[overflow=\"linebreak\"][display]": {
|
|
13214
13222
|
overflow: "auto clip",
|
|
13215
13223
|
"min-width": "initial !important"
|
|
13216
|
-
} },
|
|
13217
|
-
function
|
|
13224
|
+
} }, Lb = 200, Rb = 201, zb = 202;
|
|
13225
|
+
function Bb(e) {
|
|
13218
13226
|
let t = [...e.matches("mjx-container") ? [e] : [], ...e.querySelectorAll("mjx-container")];
|
|
13219
13227
|
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");
|
|
13220
13228
|
}
|
|
13221
|
-
function Lb(e) {
|
|
13222
|
-
for (let [t, n] of Db) if (e.startsWith(t) && e.endsWith(n)) return e.substring(t.length, e.length - n.length);
|
|
13223
|
-
return e;
|
|
13224
|
-
}
|
|
13225
|
-
function Rb(e) {
|
|
13226
|
-
return Lb(e.includes("\\displaystyle") ? e.replace("\\displaystyle", "").trim() : e);
|
|
13227
|
-
}
|
|
13228
|
-
var zb = "mathjax_ignore", Bb = "mathjax_process";
|
|
13229
13229
|
function Vb(e, t) {
|
|
13230
|
-
let n = e.closest(`.${
|
|
13231
|
-
return n !== null && t.contains(n) && !n.classList.contains(
|
|
13230
|
+
let n = e.closest(`.${Tb}, .${Eb}`);
|
|
13231
|
+
return n !== null && t.contains(n) && !n.classList.contains("mathjax_process");
|
|
13232
13232
|
}
|
|
13233
13233
|
function Hb(e) {
|
|
13234
13234
|
for (let t of e.querySelectorAll("[data-latex]")) {
|
|
13235
13235
|
if (t.dataset.mathHandled || t.closest("mjx-container") || Vb(t, e)) continue;
|
|
13236
13236
|
let n = t.textContent;
|
|
13237
|
-
n && (t.textContent =
|
|
13237
|
+
n && (t.textContent = wb(n), t.dataset.mathHandled = "true");
|
|
13238
13238
|
}
|
|
13239
13239
|
}
|
|
13240
13240
|
function Ub(e) {
|
|
@@ -13242,7 +13242,7 @@ function Ub(e) {
|
|
|
13242
13242
|
}
|
|
13243
13243
|
function Wb(e, t) {
|
|
13244
13244
|
for (let t of e.querySelectorAll("math")) if (!t.closest("mjx-assistive-mml")) return !0;
|
|
13245
|
-
return (t ?
|
|
13245
|
+
return (t ? bb : yb).test(e.textContent ?? "");
|
|
13246
13246
|
}
|
|
13247
13247
|
function Gb(e) {
|
|
13248
13248
|
return new Promise((t, n) => {
|
|
@@ -13259,10 +13259,10 @@ function Gb(e) {
|
|
|
13259
13259
|
typeset: !1,
|
|
13260
13260
|
ready: () => {
|
|
13261
13261
|
let e = Nv(), r = e?.startup, i = Kb(e);
|
|
13262
|
-
i && (qb(e), Jb(e, s.speechLocales), bv(e?._?.a11y?.sre_ts?.locales, s.speechLocales)), r?.defaultReady?.(), i && (Yb(r?.document), Xb(r?.document), r?.document?.addStyles?.(
|
|
13262
|
+
i && (qb(e), Jb(e, s.speechLocales), bv(e?._?.a11y?.sre_ts?.locales, s.speechLocales)), r?.defaultReady?.(), i && (Yb(r?.document), Xb(r?.document), r?.document?.addStyles?.(Ib), Ov(r?.document)), Promise.resolve(r?.promise).then(() => t(), n);
|
|
13263
13263
|
}
|
|
13264
13264
|
},
|
|
13265
|
-
tex: { macros: { ...
|
|
13265
|
+
tex: { macros: { ...vb } },
|
|
13266
13266
|
output: { displayOverflow: "linebreak" },
|
|
13267
13267
|
options: {
|
|
13268
13268
|
enableMenu: i,
|
|
@@ -13274,7 +13274,7 @@ function Gb(e) {
|
|
|
13274
13274
|
a11y: { inTabOrder: c }
|
|
13275
13275
|
}
|
|
13276
13276
|
};
|
|
13277
|
-
r && l.tex && (console.warn(
|
|
13277
|
+
r && l.tex && (console.warn(jb), l.tex.inlineMath = [["$", "$"], ["\\(", "\\)"]], l.tex.processEscapes = !0), a || (l.chtml = { fontURL: "" });
|
|
13278
13278
|
let u = xv(s.speechLocales);
|
|
13279
13279
|
u && l.options && (l.options.sre = { locale: u }), Fv(l, {
|
|
13280
13280
|
...s,
|
|
@@ -13291,18 +13291,18 @@ function qb(e) {
|
|
|
13291
13291
|
let t = e?._?.output, n = t?.chtml_ts?.CHTML;
|
|
13292
13292
|
n && (n.STYLESHEETID = Bv);
|
|
13293
13293
|
let r = t?.svg_ts?.SVG;
|
|
13294
|
-
r && (r.STYLESHEETID =
|
|
13294
|
+
r && (r.STYLESHEETID = Pb);
|
|
13295
13295
|
}
|
|
13296
13296
|
function Jb(e, t) {
|
|
13297
13297
|
let n = e?._?.ui?.menu?.Menu?.Menu;
|
|
13298
13298
|
if (n) {
|
|
13299
|
-
n.MENU_STORAGE =
|
|
13299
|
+
n.MENU_STORAGE = Fb;
|
|
13300
13300
|
try {
|
|
13301
|
-
let e = localStorage.getItem(
|
|
13301
|
+
let e = localStorage.getItem(Fb);
|
|
13302
13302
|
if (!e) return;
|
|
13303
13303
|
let { assistiveMml: n, locale: r, ...i } = JSON.parse(e), a = r === void 0 || !t || t.has(r);
|
|
13304
13304
|
if (n === void 0 && a) return;
|
|
13305
|
-
a && r !== void 0 && (i.locale = r), Object.keys(i).length ? localStorage.setItem(
|
|
13305
|
+
a && r !== void 0 && (i.locale = r), Object.keys(i).length ? localStorage.setItem(Fb, JSON.stringify(i)) : localStorage.removeItem(Fb);
|
|
13306
13306
|
} catch {}
|
|
13307
13307
|
}
|
|
13308
13308
|
}
|
|
@@ -13310,23 +13310,23 @@ function Yb(e) {
|
|
|
13310
13310
|
if (!e) return;
|
|
13311
13311
|
let t = /* @__PURE__ */ new WeakSet(), n = (e) => {
|
|
13312
13312
|
let n = e.typesetRoot;
|
|
13313
|
-
!n || t.has(n) || (
|
|
13313
|
+
!n || t.has(n) || (Bb(n), t.add(n));
|
|
13314
13314
|
};
|
|
13315
|
-
e.addRenderAction?.("pie-strip-latex",
|
|
13315
|
+
e.addRenderAction?.("pie-strip-latex", Rb, (e) => {
|
|
13316
13316
|
for (let t of e.math ?? []) n(t);
|
|
13317
13317
|
return !1;
|
|
13318
13318
|
}, (e) => {
|
|
13319
13319
|
let t = e.typesetRoot;
|
|
13320
|
-
return t &&
|
|
13320
|
+
return t && Bb(t), !1;
|
|
13321
13321
|
});
|
|
13322
13322
|
let r = e.outputJax?.chtmlStyles;
|
|
13323
|
-
r?.id ===
|
|
13323
|
+
r?.id === Nb && (r.id = Bv), $b();
|
|
13324
13324
|
}
|
|
13325
13325
|
function Xb(e) {
|
|
13326
13326
|
let t = (e) => {
|
|
13327
13327
|
e.typesetRoot && gb(e.typesetRoot);
|
|
13328
13328
|
};
|
|
13329
|
-
e?.addRenderAction?.("pie-name-math",
|
|
13329
|
+
e?.addRenderAction?.("pie-name-math", zb, (e) => {
|
|
13330
13330
|
for (let n of e.math ?? []) t(n);
|
|
13331
13331
|
return !1;
|
|
13332
13332
|
}, (e) => (t(e), !1));
|
|
@@ -13335,7 +13335,7 @@ function Zb(e) {
|
|
|
13335
13335
|
return e instanceof HTMLStyleElement && Vv.includes(e.id);
|
|
13336
13336
|
}
|
|
13337
13337
|
function Qb(e) {
|
|
13338
|
-
|
|
13338
|
+
Ab("foreign-output-stylesheet", `another MathJax added <style id="${e.id}"> to <head>`);
|
|
13339
13339
|
}
|
|
13340
13340
|
function $b() {
|
|
13341
13341
|
let e = document.head, t = [...e.children].find(Zb);
|
|
@@ -13357,7 +13357,7 @@ function $b() {
|
|
|
13357
13357
|
function ex(e) {
|
|
13358
13358
|
let t = e?.math;
|
|
13359
13359
|
if (!t?.remove) return;
|
|
13360
|
-
let n = [...t].filter((e) => (e.state?.() ?? 0) >=
|
|
13360
|
+
let n = [...t].filter((e) => (e.state?.() ?? 0) >= Lb && e.typesetRoot?.isConnected === !1);
|
|
13361
13361
|
if (n.length !== 0) {
|
|
13362
13362
|
for (let e of [...n].reverse()) e.clear?.();
|
|
13363
13363
|
t.remove(...n);
|
|
@@ -13385,8 +13385,8 @@ function rx(e) {
|
|
|
13385
13385
|
});
|
|
13386
13386
|
}
|
|
13387
13387
|
function ix(e) {
|
|
13388
|
-
let t = Iv, n = t[
|
|
13389
|
-
return n || (n = rx(e), t[
|
|
13388
|
+
let t = Iv, n = t[Mb];
|
|
13389
|
+
return n || (n = rx(e), t[Mb] = n), n;
|
|
13390
13390
|
}
|
|
13391
13391
|
function ax(e = {}) {
|
|
13392
13392
|
let t = e.useSingleDollar ?? !1;
|
|
@@ -13407,7 +13407,7 @@ function ax(e = {}) {
|
|
|
13407
13407
|
} catch (e) {
|
|
13408
13408
|
throw i.typesetClear?.([n]), e;
|
|
13409
13409
|
}
|
|
13410
|
-
|
|
13410
|
+
Bb(n), _b(n);
|
|
13411
13411
|
}
|
|
13412
13412
|
};
|
|
13413
13413
|
}
|
|
@@ -13458,7 +13458,7 @@ var vx = async (e) => {
|
|
|
13458
13458
|
let n = mx()?.wrapMath?.(e, t);
|
|
13459
13459
|
if (n != null) return n;
|
|
13460
13460
|
let [r, i] = t === "dollar" || t === "double_dollar" ? ["$", "$"] : ["\\(", "\\)"];
|
|
13461
|
-
return `${r}${
|
|
13461
|
+
return `${r}${Cb(e)}${i}`;
|
|
13462
13462
|
}, bx = (e) => {
|
|
13463
13463
|
let t = e.trim();
|
|
13464
13464
|
return t.startsWith("\\[") && t.endsWith("\\]") ? {
|
|
@@ -31214,9 +31214,9 @@ var X0 = aS, Z0 = X0.default, Q0 = Z0 && typeof Z0 == "object" ? Z0 : X0, $0 = Y
|
|
|
31214
31214
|
}
|
|
31215
31215
|
}, a2 = Object.freeze({
|
|
31216
31216
|
name: "@pie-element/fraction-model",
|
|
31217
|
-
version: "7.0.6
|
|
31217
|
+
version: "7.0.6"
|
|
31218
31218
|
});
|
|
31219
31219
|
//#endregion
|
|
31220
31220
|
export { vs as $, sd as A, ee as At, fl as B, Zd as C, ei as Ct, Sd as D, Qt as Dt, Rd as E, Zt as Et, Cl as F, wc as G, rl as H, Sl as I, sc as J, yc as K, xl as L, Zu as M, I as Mt, fu as N, md as O, re as Ot, Tl as P, ys as Q, hl as R, If as S, ti as St, Kd as T, mn as Tt, Gc as U, ul as V, Vc as W, nc as X, tc as Y, xs as Z, L_ as _, No as _t, z0 as a, cs as at, lp as b, Vi as bt, Ex as c, as as ct, bx as d, Zo as dt, _s as et, jv as f, K as ft, vv as g, Fo as gt, av as h, Lo as ht, W0 as i, us as it, td as j, te as jt, dd as k, P as kt, vx as l, rs as lt, wv as m, G as mt, a2 as n, ps as nt, Yw as o, ss as ot, Av as p, Wo as pt, pc as q, q0 as r, fs as rt, qw as s, os as st, i2 as t, hs as tt, yx as u, Qo as ut, T_ as v, Ta as vt, qd as w, U as wt, ip as x, hi as xt, fp as y, Sa as yt, pl as z };
|
|
31221
31221
|
|
|
31222
|
-
//# sourceMappingURL=delivery-
|
|
31222
|
+
//# sourceMappingURL=delivery-hSadszxo.js.map
|