@pie-element/passage 8.0.6-next.20261018193205 → 8.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 +3 -3
- package/dist/browser/{dist-CTb5ZMik.js → dist-KPdIUDQ3.js} +55 -55
- package/dist/browser/dist-KPdIUDQ3.js.map +1 -0
- 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 +3 -3
- package/dist/browser/editor-runtime/{dist-DzhiWShq.js → dist-Bvb4ZmU5.js} +55 -55
- package/dist/browser/editor-runtime/dist-Bvb4ZmU5.js.map +1 -0
- package/dist/browser/editor-runtime/{mathjax-CptWnMbQ-BymmkoDr.js → mathjax-DqXi3q4c-iuQQkXxN.js} +3 -3
- package/dist/browser/editor-runtime/{mathjax-CptWnMbQ-BymmkoDr.js.map → mathjax-DqXi3q4c-iuQQkXxN.js.map} +1 -1
- package/dist/browser/editor-runtime/print/index.js +3 -3
- package/dist/browser/editor-runtime/{stimulus-tabs-CRQmVnXW.js → stimulus-tabs-BDmwfj5U.js} +2 -2
- package/dist/browser/editor-runtime/{stimulus-tabs-CRQmVnXW.js.map → stimulus-tabs-BDmwfj5U.js.map} +1 -1
- package/dist/browser/{mathjax-CptWnMbQ-ncPHVakS.js → mathjax-DqXi3q4c-BZrO4NBZ.js} +3 -3
- package/dist/browser/{mathjax-CptWnMbQ-ncPHVakS.js.map → mathjax-DqXi3q4c-BZrO4NBZ.js.map} +1 -1
- package/dist/browser/print/index.js +3 -3
- package/dist/browser/{stimulus-tabs-B6IEGNfs.js → stimulus-tabs-D8i60aIU.js} +2 -2
- package/dist/browser/{stimulus-tabs-B6IEGNfs.js.map → stimulus-tabs-D8i60aIU.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/module/print.js +31 -31
- package/module/print.js.map +1 -1
- package/package.json +12 -12
- package/dist/browser/dist-CTb5ZMik.js.map +0 -1
- package/dist/browser/editor-runtime/dist-DzhiWShq.js.map +0 -1
|
@@ -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 { d as e, m as t, p as n } from "../speech-worker-CTpOB9m5-BIgcSm3A.js";
|
|
20
|
-
import { $ as r, A as i, At as a, B as o, C as s, Ct as c, D as l, Dt as u, E as d, Et as f, F as p, G as m, H as h, I as g, J as _, K as v, L as y, N as b, O as x, Ot as S, P as C, Q as w, R as T, S as ee, St as te, T as E, Tt as D, U as ne, V as re, W as ie, X as ae, Y as O, Z as k, _ as oe, _t as se, a as ce, at as le, b as ue, bt as de, ct as fe, d as pe, dt as me, et as he, f as ge, ft as _e, gt as ve, h as ye, ht as be, i as xe, it as Se, j as Ce, k as we, kt as Te, l as Ee, lt as De, m as Oe, mt as ke, n as Ae, nt as je, ot as Me, p as Ne, pt as Pe, q as Fe, r as Ie, rt as Le, st as Re, t as ze, tt as A, u as Be, ut as Ve, v as He, vt as Ue, w as We, wt as Ge, xt as Ke, y as qe, yt as Je, z as Ye } from "../dist-
|
|
20
|
+
import { $ as r, A as i, At as a, B as o, C as s, Ct as c, D as l, Dt as u, E as d, Et as f, F as p, G as m, H as h, I as g, J as _, K as v, L as y, N as b, O as x, Ot as S, P as C, Q as w, R as T, S as ee, St as te, T as E, Tt as D, U as ne, V as re, W as ie, X as ae, Y as O, Z as k, _ as oe, _t as se, a as ce, at as le, b as ue, bt as de, ct as fe, d as pe, dt as me, et as he, f as ge, ft as _e, gt as ve, h as ye, ht as be, i as xe, it as Se, j as Ce, k as we, kt as Te, l as Ee, lt as De, m as Oe, mt as ke, n as Ae, nt as je, ot as Me, p as Ne, pt as Pe, q as Fe, r as Ie, rt as Le, st as Re, t as ze, tt as A, u as Be, ut as Ve, v as He, vt as Ue, w as We, wt as Ge, xt as Ke, y as qe, yt as Je, z as Ye } from "../dist-KPdIUDQ3.js";
|
|
21
21
|
import { a as Xe, c as Ze, d as Qe, i as $e, l as et, n as tt, o as nt, r as rt, s as it, t as at, u as ot } from "../dist-CdepepQM.js";
|
|
22
22
|
import * as j from "react";
|
|
23
23
|
import st, { Component as ct, createContext as lt, createElement as ut, createRef as dt, forwardRef as ft, memo as pt, useCallback as mt, useContext as ht, useDebugValue as gt, useEffect as _t, useId as vt, useLayoutEffect as yt, useMemo as bt, useRef as xt, useState as St, version as Ct } from "react";
|
|
@@ -34843,7 +34843,7 @@ var uW = A(aW)(({ theme: e }) => ({
|
|
|
34843
34843
|
}
|
|
34844
34844
|
}, bW = Object.freeze({
|
|
34845
34845
|
name: "@pie-element/passage",
|
|
34846
|
-
version: "8.0.6
|
|
34846
|
+
version: "8.0.6"
|
|
34847
34847
|
});
|
|
34848
34848
|
//#endregion
|
|
34849
34849
|
export { yW as default, bW as piePackage };
|
|
@@ -59,7 +59,7 @@ var l = (t = {}, r = {}) => {
|
|
|
59
59
|
}), e(a) || (i.passages = a), i;
|
|
60
60
|
}, u = Object.freeze({
|
|
61
61
|
name: "@pie-element/passage",
|
|
62
|
-
version: "8.0.6
|
|
62
|
+
version: "8.0.6"
|
|
63
63
|
});
|
|
64
64
|
//#endregion
|
|
65
65
|
export { a as createDefaultModel, c as model, o as normalize, u as piePackage, l as validate };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Ot as e } from "../dist-
|
|
2
|
-
import { t } from "../stimulus-tabs-
|
|
1
|
+
import { Ot as e } from "../dist-KPdIUDQ3.js";
|
|
2
|
+
import { t } from "../stimulus-tabs-D8i60aIU.js";
|
|
3
3
|
import n from "react";
|
|
4
4
|
import { createRoot as r } from "react-dom/client";
|
|
5
5
|
//#region ../../shared/player-events/dist/index.js
|
|
@@ -112,7 +112,7 @@ var o = class extends HTMLElement {
|
|
|
112
112
|
}
|
|
113
113
|
}, s = Object.freeze({
|
|
114
114
|
name: "@pie-element/passage",
|
|
115
|
-
version: "8.0.6
|
|
115
|
+
version: "8.0.6"
|
|
116
116
|
});
|
|
117
117
|
//#endregion
|
|
118
118
|
export { o as default, s as piePackage };
|
|
@@ -9,7 +9,7 @@ var x;
|
|
|
9
9
|
function S() {
|
|
10
10
|
return x;
|
|
11
11
|
}
|
|
12
|
-
var C = import("./mathjax-
|
|
12
|
+
var C = import("./mathjax-DqXi3q4c-BZrO4NBZ.js");
|
|
13
13
|
C.catch(() => {});
|
|
14
14
|
async function w(e, t) {
|
|
15
15
|
let { createMathJax: n } = await C;
|
|
@@ -708,25 +708,7 @@ function yt(e) {
|
|
|
708
708
|
function bt(e) {
|
|
709
709
|
for (let t of e.querySelectorAll("mjx-container")) yt(t);
|
|
710
710
|
}
|
|
711
|
-
var xt =
|
|
712
|
-
function wt(e, t) {
|
|
713
|
-
if (typeof window > "u") return;
|
|
714
|
-
let n = globalThis;
|
|
715
|
-
n[Ct] ??= {
|
|
716
|
-
logged: !1,
|
|
717
|
-
conditions: []
|
|
718
|
-
};
|
|
719
|
-
let r = n[Ct];
|
|
720
|
-
if (r.conditions.includes(e)) return;
|
|
721
|
-
r.conditions.push(e);
|
|
722
|
-
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 ${xt}`;
|
|
723
|
-
r.logged || (r.logged = !0, console.error(i)), window.dispatchEvent(new CustomEvent(St, { detail: {
|
|
724
|
-
condition: e,
|
|
725
|
-
message: i,
|
|
726
|
-
docsUrl: xt
|
|
727
|
-
} }));
|
|
728
|
-
}
|
|
729
|
-
var Tt = {
|
|
711
|
+
var xt = {
|
|
730
712
|
parallelogram: "\\lower.2em{\\Huge\\unicode{x25B1}}",
|
|
731
713
|
overarc: "\\overparen",
|
|
732
714
|
napprox: "\\not\\approx",
|
|
@@ -734,36 +716,54 @@ var Tt = {
|
|
|
734
716
|
abs: ["\\left|#1\\right|", 1],
|
|
735
717
|
perpendicular: "\\perp",
|
|
736
718
|
divide: "\\div"
|
|
737
|
-
},
|
|
719
|
+
}, St = /\\\(|\\\[|\$\$|\\\$|\\begin\{|\\(?:eq)?ref\{/, Ct = /\\\(|\\\[|\$|\\begin\{|\\(?:eq)?ref\{/, wt = /\\embed\{newLine\}\[\]/g, Tt = [
|
|
738
720
|
["$$", "$$"],
|
|
739
721
|
["$", "$"],
|
|
740
722
|
["\\[", "\\]"],
|
|
741
723
|
["\\(", "\\)"]
|
|
742
|
-
]
|
|
724
|
+
];
|
|
725
|
+
function Et(e) {
|
|
726
|
+
for (let [t, n] of Tt) if (e.startsWith(t) && e.endsWith(n)) return e.substring(t.length, e.length - n.length);
|
|
727
|
+
return e;
|
|
728
|
+
}
|
|
729
|
+
function Dt(e) {
|
|
730
|
+
return `\\(${Et(e.includes("\\displaystyle") ? e.replace("\\displaystyle", "").trim() : e)}\\)`.replace(wt, "\\newline ");
|
|
731
|
+
}
|
|
732
|
+
var Ot = "mathjax_ignore", kt = "mathjax_process", At = "https://github.com/pie-framework/pie-players/blob/develop/docs/item-player/loading-strategies.md#one-mathjax-version-per-page", jt = "pie-mathjax-version-conflict", Mt = Symbol.for("@pie-element/shared-math-rendering-mathjax/unsupported-page");
|
|
733
|
+
function Nt(e, t) {
|
|
734
|
+
if (typeof window > "u") return;
|
|
735
|
+
let n = globalThis;
|
|
736
|
+
n[Mt] ??= {
|
|
737
|
+
logged: !1,
|
|
738
|
+
conditions: []
|
|
739
|
+
};
|
|
740
|
+
let r = n[Mt];
|
|
741
|
+
if (r.conditions.includes(e)) return;
|
|
742
|
+
r.conditions.push(e);
|
|
743
|
+
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 ${At}`;
|
|
744
|
+
r.logged || (r.logged = !0, console.error(i)), window.dispatchEvent(new CustomEvent(jt, { detail: {
|
|
745
|
+
condition: e,
|
|
746
|
+
message: i,
|
|
747
|
+
docsUrl: At
|
|
748
|
+
} }));
|
|
749
|
+
}
|
|
750
|
+
var Pt = "[math-rendering] using $ is not advisable, please use $$..$$ or \\(...\\)", Ft = Symbol.for("@pie-element/shared-math-rendering-mathjax/loading"), It = "MJX-CHTML-styles", Lt = "PIE-MJX-SVG-styles", Rt = "PIE-MathJax-Menu-Settings", zt = { "mjx-container[overflow=\"linebreak\"][display]": {
|
|
743
751
|
overflow: "auto clip",
|
|
744
752
|
"min-width": "initial !important"
|
|
745
|
-
} },
|
|
746
|
-
function
|
|
753
|
+
} }, Bt = 200, Vt = 201, Ht = 202;
|
|
754
|
+
function Ut(e) {
|
|
747
755
|
let t = [...e.matches("mjx-container") ? [e] : [], ...e.querySelectorAll("mjx-container")];
|
|
748
756
|
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");
|
|
749
757
|
}
|
|
750
|
-
function Bt(e) {
|
|
751
|
-
for (let [t, n] of At) if (e.startsWith(t) && e.endsWith(n)) return e.substring(t.length, e.length - n.length);
|
|
752
|
-
return e;
|
|
753
|
-
}
|
|
754
|
-
function Vt(e) {
|
|
755
|
-
return Bt(e.includes("\\displaystyle") ? e.replace("\\displaystyle", "").trim() : e);
|
|
756
|
-
}
|
|
757
|
-
var Ht = "mathjax_ignore", Ut = "mathjax_process";
|
|
758
758
|
function Wt(e, t) {
|
|
759
|
-
let n = e.closest(`.${
|
|
760
|
-
return n !== null && t.contains(n) && !n.classList.contains(
|
|
759
|
+
let n = e.closest(`.${Ot}, .${kt}`);
|
|
760
|
+
return n !== null && t.contains(n) && !n.classList.contains("mathjax_process");
|
|
761
761
|
}
|
|
762
762
|
function Gt(e) {
|
|
763
763
|
for (let t of e.querySelectorAll("[data-latex]")) {
|
|
764
764
|
if (t.dataset.mathHandled || t.closest("mjx-container") || Wt(t, e)) continue;
|
|
765
765
|
let n = t.textContent;
|
|
766
|
-
n && (t.textContent =
|
|
766
|
+
n && (t.textContent = Dt(n), t.dataset.mathHandled = "true");
|
|
767
767
|
}
|
|
768
768
|
}
|
|
769
769
|
function Kt(e) {
|
|
@@ -771,7 +771,7 @@ function Kt(e) {
|
|
|
771
771
|
}
|
|
772
772
|
function qt(e, t) {
|
|
773
773
|
for (let t of e.querySelectorAll("math")) if (!t.closest("mjx-assistive-mml")) return !0;
|
|
774
|
-
return (t ?
|
|
774
|
+
return (t ? Ct : St).test(e.textContent ?? "");
|
|
775
775
|
}
|
|
776
776
|
function Jt(t) {
|
|
777
777
|
return new Promise((n, i) => {
|
|
@@ -788,10 +788,10 @@ function Jt(t) {
|
|
|
788
788
|
typeset: !1,
|
|
789
789
|
ready: () => {
|
|
790
790
|
let t = S(), r = t?.startup, a = Yt(t);
|
|
791
|
-
a && (Xt(t), Zt(t, f.speechLocales), e(t?._?.a11y?.sre_ts?.locales, f.speechLocales)), r?.defaultReady?.(), a && (Qt(r?.document), $t(r?.document), r?.document?.addStyles?.(
|
|
791
|
+
a && (Xt(t), Zt(t, f.speechLocales), e(t?._?.a11y?.sre_ts?.locales, f.speechLocales)), r?.defaultReady?.(), a && (Qt(r?.document), $t(r?.document), r?.document?.addStyles?.(zt), s(r?.document)), Promise.resolve(r?.promise).then(() => n(), i);
|
|
792
792
|
}
|
|
793
793
|
},
|
|
794
|
-
tex: { macros: { ...
|
|
794
|
+
tex: { macros: { ...xt } },
|
|
795
795
|
output: { displayOverflow: "linebreak" },
|
|
796
796
|
options: {
|
|
797
797
|
enableMenu: l,
|
|
@@ -803,7 +803,7 @@ function Jt(t) {
|
|
|
803
803
|
a11y: { inTabOrder: p }
|
|
804
804
|
}
|
|
805
805
|
};
|
|
806
|
-
c && m.tex && (console.warn(
|
|
806
|
+
c && m.tex && (console.warn(Pt), m.tex.inlineMath = [["$", "$"], ["\\(", "\\)"]], m.tex.processEscapes = !0), u || (m.chtml = { fontURL: "" });
|
|
807
807
|
let h = o(f.speechLocales);
|
|
808
808
|
h && m.options && (m.options.sre = { locale: h }), w(m, {
|
|
809
809
|
...f,
|
|
@@ -820,18 +820,18 @@ function Xt(e) {
|
|
|
820
820
|
let t = e?._?.output, n = t?.chtml_ts?.CHTML;
|
|
821
821
|
n && (n.STYLESHEETID = D);
|
|
822
822
|
let r = t?.svg_ts?.SVG;
|
|
823
|
-
r && (r.STYLESHEETID =
|
|
823
|
+
r && (r.STYLESHEETID = Lt);
|
|
824
824
|
}
|
|
825
825
|
function Zt(e, t) {
|
|
826
826
|
let n = e?._?.ui?.menu?.Menu?.Menu;
|
|
827
827
|
if (n) {
|
|
828
|
-
n.MENU_STORAGE =
|
|
828
|
+
n.MENU_STORAGE = Rt;
|
|
829
829
|
try {
|
|
830
|
-
let e = localStorage.getItem(
|
|
830
|
+
let e = localStorage.getItem(Rt);
|
|
831
831
|
if (!e) return;
|
|
832
832
|
let { assistiveMml: n, locale: r, ...i } = JSON.parse(e), a = r === void 0 || !t || t.has(r);
|
|
833
833
|
if (n === void 0 && a) return;
|
|
834
|
-
a && r !== void 0 && (i.locale = r), Object.keys(i).length ? localStorage.setItem(
|
|
834
|
+
a && r !== void 0 && (i.locale = r), Object.keys(i).length ? localStorage.setItem(Rt, JSON.stringify(i)) : localStorage.removeItem(Rt);
|
|
835
835
|
} catch {}
|
|
836
836
|
}
|
|
837
837
|
}
|
|
@@ -839,23 +839,23 @@ function Qt(e) {
|
|
|
839
839
|
if (!e) return;
|
|
840
840
|
let t = /* @__PURE__ */ new WeakSet(), n = (e) => {
|
|
841
841
|
let n = e.typesetRoot;
|
|
842
|
-
!n || t.has(n) || (
|
|
842
|
+
!n || t.has(n) || (Ut(n), t.add(n));
|
|
843
843
|
};
|
|
844
|
-
e.addRenderAction?.("pie-strip-latex",
|
|
844
|
+
e.addRenderAction?.("pie-strip-latex", Vt, (e) => {
|
|
845
845
|
for (let t of e.math ?? []) n(t);
|
|
846
846
|
return !1;
|
|
847
847
|
}, (e) => {
|
|
848
848
|
let t = e.typesetRoot;
|
|
849
|
-
return t &&
|
|
849
|
+
return t && Ut(t), !1;
|
|
850
850
|
});
|
|
851
851
|
let r = e.outputJax?.chtmlStyles;
|
|
852
|
-
r?.id ===
|
|
852
|
+
r?.id === It && (r.id = D), nn();
|
|
853
853
|
}
|
|
854
854
|
function $t(e) {
|
|
855
855
|
let t = (e) => {
|
|
856
856
|
e.typesetRoot && yt(e.typesetRoot);
|
|
857
857
|
};
|
|
858
|
-
e?.addRenderAction?.("pie-name-math",
|
|
858
|
+
e?.addRenderAction?.("pie-name-math", Ht, (e) => {
|
|
859
859
|
for (let n of e.math ?? []) t(n);
|
|
860
860
|
return !1;
|
|
861
861
|
}, (e) => (t(e), !1));
|
|
@@ -864,7 +864,7 @@ function en(e) {
|
|
|
864
864
|
return e instanceof HTMLStyleElement && O.includes(e.id);
|
|
865
865
|
}
|
|
866
866
|
function tn(e) {
|
|
867
|
-
|
|
867
|
+
Nt("foreign-output-stylesheet", `another MathJax added <style id="${e.id}"> to <head>`);
|
|
868
868
|
}
|
|
869
869
|
function nn() {
|
|
870
870
|
let e = document.head, t = [...e.children].find(en);
|
|
@@ -886,7 +886,7 @@ function nn() {
|
|
|
886
886
|
function rn(e) {
|
|
887
887
|
let t = e?.math;
|
|
888
888
|
if (!t?.remove) return;
|
|
889
|
-
let n = [...t].filter((e) => (e.state?.() ?? 0) >=
|
|
889
|
+
let n = [...t].filter((e) => (e.state?.() ?? 0) >= Bt && e.typesetRoot?.isConnected === !1);
|
|
890
890
|
if (n.length !== 0) {
|
|
891
891
|
for (let e of [...n].reverse()) e.clear?.();
|
|
892
892
|
t.remove(...n);
|
|
@@ -914,8 +914,8 @@ function sn(e) {
|
|
|
914
914
|
});
|
|
915
915
|
}
|
|
916
916
|
function cn(e) {
|
|
917
|
-
let t = T, n = t[
|
|
918
|
-
return n || (n = sn(e), t[
|
|
917
|
+
let t = T, n = t[Ft];
|
|
918
|
+
return n || (n = sn(e), t[Ft] = n), n;
|
|
919
919
|
}
|
|
920
920
|
function ln(e = {}) {
|
|
921
921
|
let t = e.useSingleDollar ?? !1;
|
|
@@ -936,7 +936,7 @@ function ln(e = {}) {
|
|
|
936
936
|
} catch (e) {
|
|
937
937
|
throw i.typesetClear?.([n]), e;
|
|
938
938
|
}
|
|
939
|
-
|
|
939
|
+
Ut(n), bt(n);
|
|
940
940
|
}
|
|
941
941
|
};
|
|
942
942
|
}
|
|
@@ -987,7 +987,7 @@ var Sn = async (e) => {
|
|
|
987
987
|
let n = vn()?.wrapMath?.(e, t);
|
|
988
988
|
if (n != null) return n;
|
|
989
989
|
let [r, i] = t === "dollar" || t === "double_dollar" ? ["$", "$"] : ["\\(", "\\)"];
|
|
990
|
-
return `${r}${
|
|
990
|
+
return `${r}${Et(e)}${i}`;
|
|
991
991
|
}, wn = (e) => {
|
|
992
992
|
let t = e.trim();
|
|
993
993
|
return t.startsWith("\\[") && t.endsWith("\\]") ? {
|
|
@@ -13879,4 +13879,4 @@ var Db = {
|
|
|
13879
13879
|
//#endregion
|
|
13880
13880
|
export { ml as $, $h as A, wn as At, Ll as B, e_ as C, In as Ct, gg as D, Dn as Dt, Eg as E, B as Et, pd as F, Ol as G, Nl as H, cd as I, Tl as J, Dl as K, Zu as L, ah as M, Td as N, fg as O, Sn as Ot, bd as P, hl as Q, Xu as R, D_ as S, Ln as St, Ag as T, jn as Tt, Ml as U, Fl as V, jl as W, yl as X, wl as Y, J as Z, ov as _, $r as _t, iy as a, ll as at, P_ as b, Wn as bt, Jv as c, tc as ct, Mv as d, Lo as dt, pl as et, Av as f, Io as ft, mv as g, Qa as gt, vv as h, Za as ht, cy as i, ul as it, Mh as j, lg as k, Cn as kt, Bv as l, Es as lt, yv as m, mo as mt, wy as n, fl as nt, ry as o, cl as ot, bv as p, Mo as pt, El as q, Sy as r, dl as rt, Xv as s, sl as st, Db as t, q as tt, Lv as u, Zo as ut, iv as v, Jn as vt, Hg as w, Fn as wt, j_ as x, Un as xt, K_ as y, Kn as yt, Bu as z };
|
|
13881
13881
|
|
|
13882
|
-
//# sourceMappingURL=dist-
|
|
13882
|
+
//# sourceMappingURL=dist-KPdIUDQ3.js.map
|