@pie-element/hotspot 12.0.6-next.20261018193205 → 12.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-DKBKI3F4.js → dist-DcaFfXgZ.js} +55 -55
- package/dist/browser/dist-DcaFfXgZ.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 +2 -2
- package/dist/browser/editor-runtime/{dist-EJYnPXMd.js → dist-CQb_MaZX.js} +55 -55
- package/dist/browser/editor-runtime/dist-CQb_MaZX.js.map +1 -0
- package/dist/browser/editor-runtime/{mathjax-CptWnMbQ-DlzgkqoE.js → mathjax-DqXi3q4c-M53s6mdE.js} +3 -3
- package/dist/browser/editor-runtime/{mathjax-CptWnMbQ-DlzgkqoE.js.map → mathjax-DqXi3q4c-M53s6mdE.js.map} +1 -1
- package/dist/browser/{mathjax-CptWnMbQ-DdmHhmSv.js → mathjax-DqXi3q4c-CBcqCJT1.js} +3 -3
- package/dist/browser/{mathjax-CptWnMbQ-DdmHhmSv.js.map → mathjax-DqXi3q4c-CBcqCJT1.js.map} +1 -1
- package/dist/index.iife.js +44 -44
- 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 +14 -14
- package/dist/browser/dist-DKBKI3F4.js.map +0 -1
- package/dist/browser/editor-runtime/dist-EJYnPXMd.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 { a as e, i as t, o as n, t as r } from "../rolldown-runtime-DY7j01NX.js";
|
|
20
|
-
import { $ as i, $t as a, B as o, Bt as s, C as c, Ct as l, Dt as u, Et as d, F as f, Ft as p, Gt as m, H as h, Ht as g, I as _, It as v, J as y, Jt as b, K as x, Kt as S, L as C, Lt as w, M as T, Mt as E, N as ee, Nt as D, P as te, Pt as ne, Q as re, Qt as O, Rt as ie, S as ae, St as oe, T as se, Tt as ce, U as le, Ut as k, V as ue, Vt as de, W as fe, Wt as A, X as pe, Xt as me, Y as he, Yt as ge, Z as _e, Zt as ve, _ as ye, _t as be, an as xe, at as Se, b as Ce, bt as we, c as Te, ct as Ee, d as De, dt as Oe, en as ke, et as Ae, f as je, ft as Me, g as Ne, gt as Pe, h as Fe, ht as Ie, i as Le, in as Re, it as ze, j as Be, l as Ve, lt as He, m as Ue, mt as We, n as Ge, nn as j, nt as M, o as Ke, on as qe, ot as Je, p as Ye, pt as Xe, qt as Ze, r as Qe, rn as $e, rt as et, s as tt, st as nt, t as rt, tn as it, tt as at, ut as ot, v as st, vt as ct, w as lt, wt as ut, x as dt, xt as ft, y as pt, yt as mt, z as ht, zt as gt } from "../dist-
|
|
20
|
+
import { $ as i, $t as a, B as o, Bt as s, C as c, Ct as l, Dt as u, Et as d, F as f, Ft as p, Gt as m, H as h, Ht as g, I as _, It as v, J as y, Jt as b, K as x, Kt as S, L as C, Lt as w, M as T, Mt as E, N as ee, Nt as D, P as te, Pt as ne, Q as re, Qt as O, Rt as ie, S as ae, St as oe, T as se, Tt as ce, U as le, Ut as k, V as ue, Vt as de, W as fe, Wt as A, X as pe, Xt as me, Y as he, Yt as ge, Z as _e, Zt as ve, _ as ye, _t as be, an as xe, at as Se, b as Ce, bt as we, c as Te, ct as Ee, d as De, dt as Oe, en as ke, et as Ae, f as je, ft as Me, g as Ne, gt as Pe, h as Fe, ht as Ie, i as Le, in as Re, it as ze, j as Be, l as Ve, lt as He, m as Ue, mt as We, n as Ge, nn as j, nt as M, o as Ke, on as qe, ot as Je, p as Ye, pt as Xe, qt as Ze, r as Qe, rn as $e, rt as et, s as tt, st as nt, t as rt, tn as it, tt as at, ut as ot, v as st, vt as ct, w as lt, wt as ut, x as dt, xt as ft, y as pt, yt as mt, z as ht, zt as gt } from "../dist-DcaFfXgZ.js";
|
|
21
21
|
import { t as _t } from "../browser-D2bPrfKY.js";
|
|
22
22
|
import { a as vt, c as yt, d as bt, f as xt, i as St, l as Ct, n as wt, o as Tt, r as Et, s as Dt, t as Ot, u as kt } from "../dist-C8XqH7gi.js";
|
|
23
23
|
import * as N from "react";
|
|
@@ -37706,7 +37706,7 @@ var { Panel: HK, toggle: UK, dropdown: WK } = nG, GK = (e) => e != null, KK = D(
|
|
|
37706
37706
|
}
|
|
37707
37707
|
}, rq = Object.freeze({
|
|
37708
37708
|
name: "@pie-element/hotspot",
|
|
37709
|
-
version: "12.0.6
|
|
37709
|
+
version: "12.0.6"
|
|
37710
37710
|
});
|
|
37711
37711
|
//#endregion
|
|
37712
37712
|
export { nq as default, rq as piePackage };
|
|
@@ -198,7 +198,7 @@ var y = (e) => {
|
|
|
198
198
|
return l < r ? o.shapes = `There should be at least ${r} shapes defined.` : i !== void 0 && l > i && (o.shapes = `No more than ${i} shapes should be defined.`), c < 1 ? o.selections = "There should be at least 1 shape selected." : a !== void 0 && c > a && (o.selections = `No more than ${a} shapes should be selected.`), o;
|
|
199
199
|
}, C = Object.freeze({
|
|
200
200
|
name: "@pie-element/hotspot",
|
|
201
|
-
version: "12.0.6
|
|
201
|
+
version: "12.0.6"
|
|
202
202
|
});
|
|
203
203
|
//#endregion
|
|
204
204
|
export { b as createCorrectResponseSession, h as createDefaultModel, _ as getLogTrace, m as model, p as normalize, v as outcome, C as piePackage, S as validate };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { o as e } from "../rolldown-runtime-DY7j01NX.js";
|
|
2
|
-
import { A as t, At as n, D as r, G as i, Nt as a, O as o, Ot as s, R as c, Y as l, a as u, c as d, i as f, in as p, jt as m, k as h, kt as g, l as _, n as v, nn as y, o as b, q as x, r as S, s as C, t as w, tn as T, u as E, x as D } from "../dist-
|
|
2
|
+
import { A as t, At as n, D as r, G as i, Nt as a, O as o, Ot as s, R as c, Y as l, a as u, c as d, i as f, in as p, jt as m, k as h, kt as g, l as _, n as v, nn as y, o as b, q as x, r as S, s as C, t as w, tn as T, u as E, x as D } from "../dist-DcaFfXgZ.js";
|
|
3
3
|
import O, { useRef as k } from "react";
|
|
4
4
|
import { createRoot as ee } from "react-dom/client";
|
|
5
5
|
import { jsx as A, jsxs as j } from "react/jsx-runtime";
|
|
@@ -1241,7 +1241,7 @@ var ot = D, st = ot.default, ct = st && typeof st == "object" ? st : ot, lt = at
|
|
|
1241
1241
|
}
|
|
1242
1242
|
}, dt = Object.freeze({
|
|
1243
1243
|
name: "@pie-element/hotspot",
|
|
1244
|
-
version: "12.0.6
|
|
1244
|
+
version: "12.0.6"
|
|
1245
1245
|
});
|
|
1246
1246
|
//#endregion
|
|
1247
1247
|
export { ut as default, dt as piePackage };
|
|
@@ -11,7 +11,7 @@ var w;
|
|
|
11
11
|
function T() {
|
|
12
12
|
return w;
|
|
13
13
|
}
|
|
14
|
-
var E = import("./mathjax-
|
|
14
|
+
var E = import("./mathjax-DqXi3q4c-CBcqCJT1.js");
|
|
15
15
|
E.catch(() => {});
|
|
16
16
|
async function D(e, t) {
|
|
17
17
|
let { createMathJax: n } = await E;
|
|
@@ -710,25 +710,7 @@ function wt(e) {
|
|
|
710
710
|
function Tt(e) {
|
|
711
711
|
for (let t of e.querySelectorAll("mjx-container")) wt(t);
|
|
712
712
|
}
|
|
713
|
-
var Et =
|
|
714
|
-
function kt(e, t) {
|
|
715
|
-
if (typeof window > "u") return;
|
|
716
|
-
let n = globalThis;
|
|
717
|
-
n[Ot] ??= {
|
|
718
|
-
logged: !1,
|
|
719
|
-
conditions: []
|
|
720
|
-
};
|
|
721
|
-
let r = n[Ot];
|
|
722
|
-
if (r.conditions.includes(e)) return;
|
|
723
|
-
r.conditions.push(e);
|
|
724
|
-
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 ${Et}`;
|
|
725
|
-
r.logged || (r.logged = !0, console.error(i)), window.dispatchEvent(new CustomEvent(Dt, { detail: {
|
|
726
|
-
condition: e,
|
|
727
|
-
message: i,
|
|
728
|
-
docsUrl: Et
|
|
729
|
-
} }));
|
|
730
|
-
}
|
|
731
|
-
var At = {
|
|
713
|
+
var Et = {
|
|
732
714
|
parallelogram: "\\lower.2em{\\Huge\\unicode{x25B1}}",
|
|
733
715
|
overarc: "\\overparen",
|
|
734
716
|
napprox: "\\not\\approx",
|
|
@@ -736,36 +718,54 @@ var At = {
|
|
|
736
718
|
abs: ["\\left|#1\\right|", 1],
|
|
737
719
|
perpendicular: "\\perp",
|
|
738
720
|
divide: "\\div"
|
|
739
|
-
},
|
|
721
|
+
}, Dt = /\\\(|\\\[|\$\$|\\\$|\\begin\{|\\(?:eq)?ref\{/, Ot = /\\\(|\\\[|\$|\\begin\{|\\(?:eq)?ref\{/, kt = /\\embed\{newLine\}\[\]/g, At = [
|
|
740
722
|
["$$", "$$"],
|
|
741
723
|
["$", "$"],
|
|
742
724
|
["\\[", "\\]"],
|
|
743
725
|
["\\(", "\\)"]
|
|
744
|
-
]
|
|
726
|
+
];
|
|
727
|
+
function jt(e) {
|
|
728
|
+
for (let [t, n] of At) if (e.startsWith(t) && e.endsWith(n)) return e.substring(t.length, e.length - n.length);
|
|
729
|
+
return e;
|
|
730
|
+
}
|
|
731
|
+
function Mt(e) {
|
|
732
|
+
return `\\(${jt(e.includes("\\displaystyle") ? e.replace("\\displaystyle", "").trim() : e)}\\)`.replace(kt, "\\newline ");
|
|
733
|
+
}
|
|
734
|
+
var Nt = "mathjax_ignore", Pt = "mathjax_process", Ft = "https://github.com/pie-framework/pie-players/blob/develop/docs/item-player/loading-strategies.md#one-mathjax-version-per-page", It = "pie-mathjax-version-conflict", Lt = Symbol.for("@pie-element/shared-math-rendering-mathjax/unsupported-page");
|
|
735
|
+
function Rt(e, t) {
|
|
736
|
+
if (typeof window > "u") return;
|
|
737
|
+
let n = globalThis;
|
|
738
|
+
n[Lt] ??= {
|
|
739
|
+
logged: !1,
|
|
740
|
+
conditions: []
|
|
741
|
+
};
|
|
742
|
+
let r = n[Lt];
|
|
743
|
+
if (r.conditions.includes(e)) return;
|
|
744
|
+
r.conditions.push(e);
|
|
745
|
+
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 ${Ft}`;
|
|
746
|
+
r.logged || (r.logged = !0, console.error(i)), window.dispatchEvent(new CustomEvent(It, { detail: {
|
|
747
|
+
condition: e,
|
|
748
|
+
message: i,
|
|
749
|
+
docsUrl: Ft
|
|
750
|
+
} }));
|
|
751
|
+
}
|
|
752
|
+
var zt = "[math-rendering] using $ is not advisable, please use $$..$$ or \\(...\\)", Bt = Symbol.for("@pie-element/shared-math-rendering-mathjax/loading"), Vt = "MJX-CHTML-styles", Ht = "PIE-MJX-SVG-styles", Ut = "PIE-MathJax-Menu-Settings", Wt = { "mjx-container[overflow=\"linebreak\"][display]": {
|
|
745
753
|
overflow: "auto clip",
|
|
746
754
|
"min-width": "initial !important"
|
|
747
|
-
} },
|
|
748
|
-
function
|
|
755
|
+
} }, Gt = 200, Kt = 201, qt = 202;
|
|
756
|
+
function Jt(e) {
|
|
749
757
|
let t = [...e.matches("mjx-container") ? [e] : [], ...e.querySelectorAll("mjx-container")];
|
|
750
758
|
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");
|
|
751
759
|
}
|
|
752
|
-
function Gt(e) {
|
|
753
|
-
for (let [t, n] of Ft) if (e.startsWith(t) && e.endsWith(n)) return e.substring(t.length, e.length - n.length);
|
|
754
|
-
return e;
|
|
755
|
-
}
|
|
756
|
-
function Kt(e) {
|
|
757
|
-
return Gt(e.includes("\\displaystyle") ? e.replace("\\displaystyle", "").trim() : e);
|
|
758
|
-
}
|
|
759
|
-
var qt = "mathjax_ignore", Jt = "mathjax_process";
|
|
760
760
|
function Yt(e, t) {
|
|
761
|
-
let n = e.closest(`.${
|
|
762
|
-
return n !== null && t.contains(n) && !n.classList.contains(
|
|
761
|
+
let n = e.closest(`.${Nt}, .${Pt}`);
|
|
762
|
+
return n !== null && t.contains(n) && !n.classList.contains("mathjax_process");
|
|
763
763
|
}
|
|
764
764
|
function Xt(e) {
|
|
765
765
|
for (let t of e.querySelectorAll("[data-latex]")) {
|
|
766
766
|
if (t.dataset.mathHandled || t.closest("mjx-container") || Yt(t, e)) continue;
|
|
767
767
|
let n = t.textContent;
|
|
768
|
-
n && (t.textContent =
|
|
768
|
+
n && (t.textContent = Mt(n), t.dataset.mathHandled = "true");
|
|
769
769
|
}
|
|
770
770
|
}
|
|
771
771
|
function Zt(e) {
|
|
@@ -773,7 +773,7 @@ function Zt(e) {
|
|
|
773
773
|
}
|
|
774
774
|
function Qt(e, t) {
|
|
775
775
|
for (let t of e.querySelectorAll("math")) if (!t.closest("mjx-assistive-mml")) return !0;
|
|
776
|
-
return (t ?
|
|
776
|
+
return (t ? Ot : Dt).test(e.textContent ?? "");
|
|
777
777
|
}
|
|
778
778
|
function $t(e) {
|
|
779
779
|
return new Promise((t, n) => {
|
|
@@ -790,10 +790,10 @@ function $t(e) {
|
|
|
790
790
|
typeset: !1,
|
|
791
791
|
ready: () => {
|
|
792
792
|
let e = T(), r = e?.startup, i = en(e);
|
|
793
|
-
i && (tn(e), nn(e, f.speechLocales), a(e?._?.a11y?.sre_ts?.locales, f.speechLocales)), r?.defaultReady?.(), i && (rn(r?.document), an(r?.document), r?.document?.addStyles?.(
|
|
793
|
+
i && (tn(e), nn(e, f.speechLocales), a(e?._?.a11y?.sre_ts?.locales, f.speechLocales)), r?.defaultReady?.(), i && (rn(r?.document), an(r?.document), r?.document?.addStyles?.(Wt), l(r?.document)), Promise.resolve(r?.promise).then(() => t(), n);
|
|
794
794
|
}
|
|
795
795
|
},
|
|
796
|
-
tex: { macros: { ...
|
|
796
|
+
tex: { macros: { ...Et } },
|
|
797
797
|
output: { displayOverflow: "linebreak" },
|
|
798
798
|
options: {
|
|
799
799
|
enableMenu: i,
|
|
@@ -805,7 +805,7 @@ function $t(e) {
|
|
|
805
805
|
a11y: { inTabOrder: p }
|
|
806
806
|
}
|
|
807
807
|
};
|
|
808
|
-
r && m.tex && (console.warn(
|
|
808
|
+
r && m.tex && (console.warn(zt), m.tex.inlineMath = [["$", "$"], ["\\(", "\\)"]], m.tex.processEscapes = !0), u || (m.chtml = { fontURL: "" });
|
|
809
809
|
let h = c(f.speechLocales);
|
|
810
810
|
h && m.options && (m.options.sre = { locale: h }), D(m, {
|
|
811
811
|
...f,
|
|
@@ -822,18 +822,18 @@ function tn(e) {
|
|
|
822
822
|
let t = e?._?.output, n = t?.chtml_ts?.CHTML;
|
|
823
823
|
n && (n.STYLESHEETID = j);
|
|
824
824
|
let r = t?.svg_ts?.SVG;
|
|
825
|
-
r && (r.STYLESHEETID =
|
|
825
|
+
r && (r.STYLESHEETID = Ht);
|
|
826
826
|
}
|
|
827
827
|
function nn(e, t) {
|
|
828
828
|
let n = e?._?.ui?.menu?.Menu?.Menu;
|
|
829
829
|
if (n) {
|
|
830
|
-
n.MENU_STORAGE =
|
|
830
|
+
n.MENU_STORAGE = Ut;
|
|
831
831
|
try {
|
|
832
|
-
let e = localStorage.getItem(
|
|
832
|
+
let e = localStorage.getItem(Ut);
|
|
833
833
|
if (!e) return;
|
|
834
834
|
let { assistiveMml: n, locale: r, ...i } = JSON.parse(e), a = r === void 0 || !t || t.has(r);
|
|
835
835
|
if (n === void 0 && a) return;
|
|
836
|
-
a && r !== void 0 && (i.locale = r), Object.keys(i).length ? localStorage.setItem(
|
|
836
|
+
a && r !== void 0 && (i.locale = r), Object.keys(i).length ? localStorage.setItem(Ut, JSON.stringify(i)) : localStorage.removeItem(Ut);
|
|
837
837
|
} catch {}
|
|
838
838
|
}
|
|
839
839
|
}
|
|
@@ -841,23 +841,23 @@ function rn(e) {
|
|
|
841
841
|
if (!e) return;
|
|
842
842
|
let t = /* @__PURE__ */ new WeakSet(), n = (e) => {
|
|
843
843
|
let n = e.typesetRoot;
|
|
844
|
-
!n || t.has(n) || (
|
|
844
|
+
!n || t.has(n) || (Jt(n), t.add(n));
|
|
845
845
|
};
|
|
846
|
-
e.addRenderAction?.("pie-strip-latex",
|
|
846
|
+
e.addRenderAction?.("pie-strip-latex", Kt, (e) => {
|
|
847
847
|
for (let t of e.math ?? []) n(t);
|
|
848
848
|
return !1;
|
|
849
849
|
}, (e) => {
|
|
850
850
|
let t = e.typesetRoot;
|
|
851
|
-
return t &&
|
|
851
|
+
return t && Jt(t), !1;
|
|
852
852
|
});
|
|
853
853
|
let r = e.outputJax?.chtmlStyles;
|
|
854
|
-
r?.id ===
|
|
854
|
+
r?.id === Vt && (r.id = j), cn();
|
|
855
855
|
}
|
|
856
856
|
function an(e) {
|
|
857
857
|
let t = (e) => {
|
|
858
858
|
e.typesetRoot && wt(e.typesetRoot);
|
|
859
859
|
};
|
|
860
|
-
e?.addRenderAction?.("pie-name-math",
|
|
860
|
+
e?.addRenderAction?.("pie-name-math", qt, (e) => {
|
|
861
861
|
for (let n of e.math ?? []) t(n);
|
|
862
862
|
return !1;
|
|
863
863
|
}, (e) => (t(e), !1));
|
|
@@ -866,7 +866,7 @@ function on(e) {
|
|
|
866
866
|
return e instanceof HTMLStyleElement && M.includes(e.id);
|
|
867
867
|
}
|
|
868
868
|
function sn(e) {
|
|
869
|
-
|
|
869
|
+
Rt("foreign-output-stylesheet", `another MathJax added <style id="${e.id}"> to <head>`);
|
|
870
870
|
}
|
|
871
871
|
function cn() {
|
|
872
872
|
let e = document.head, t = [...e.children].find(on);
|
|
@@ -888,7 +888,7 @@ function cn() {
|
|
|
888
888
|
function ln(e) {
|
|
889
889
|
let t = e?.math;
|
|
890
890
|
if (!t?.remove) return;
|
|
891
|
-
let n = [...t].filter((e) => (e.state?.() ?? 0) >=
|
|
891
|
+
let n = [...t].filter((e) => (e.state?.() ?? 0) >= Gt && e.typesetRoot?.isConnected === !1);
|
|
892
892
|
if (n.length !== 0) {
|
|
893
893
|
for (let e of [...n].reverse()) e.clear?.();
|
|
894
894
|
t.remove(...n);
|
|
@@ -916,8 +916,8 @@ function fn(e) {
|
|
|
916
916
|
});
|
|
917
917
|
}
|
|
918
918
|
function pn(e) {
|
|
919
|
-
let t = O, n = t[
|
|
920
|
-
return n || (n = fn(e), t[
|
|
919
|
+
let t = O, n = t[Bt];
|
|
920
|
+
return n || (n = fn(e), t[Bt] = n), n;
|
|
921
921
|
}
|
|
922
922
|
function mn(e = {}) {
|
|
923
923
|
let t = e.useSingleDollar ?? !1;
|
|
@@ -938,7 +938,7 @@ function mn(e = {}) {
|
|
|
938
938
|
} catch (e) {
|
|
939
939
|
throw i.typesetClear?.([n]), e;
|
|
940
940
|
}
|
|
941
|
-
|
|
941
|
+
Jt(n), Tt(n);
|
|
942
942
|
}
|
|
943
943
|
};
|
|
944
944
|
}
|
|
@@ -989,7 +989,7 @@ var Dn = async (e) => {
|
|
|
989
989
|
let n = Cn()?.wrapMath?.(e, t);
|
|
990
990
|
if (n != null) return n;
|
|
991
991
|
let [r, i] = t === "dollar" || t === "double_dollar" ? ["$", "$"] : ["\\(", "\\)"];
|
|
992
|
-
return `${r}${
|
|
992
|
+
return `${r}${jt(e)}${i}`;
|
|
993
993
|
}, kn = (e) => {
|
|
994
994
|
let t = e.trim();
|
|
995
995
|
return t.startsWith("\\[") && t.endsWith("\\]") ? {
|
|
@@ -23630,4 +23630,4 @@ var YE = {
|
|
|
23630
23630
|
//#endregion
|
|
23631
23631
|
export { Kh as $, ri as $t, kv as A, _p as At, z_ as B, Jc as Bt, Wv as C, hm as Ct, Iv as D, dm as Dt, Lv as E, fm as Et, tv as F, Eu as Ft, qg as G, Zs as Gt, h_ as H, mc as Ht, ev as I, Tu as It, _g as J, To as Jt, Ug as K, qs as Kt, $_ as L, wu as Lt, vv as M, Pu as Mt, pv as N, U as Nt, Pv as O, Sp as Ot, dv as P, Du as Pt, qh as Q, $a as Qt, Y_ as R, Cu as Rt, iy as S, gm as St, zv as T, pm as Tt, d_ as U, ec as Ut, D_ as V, Bc as Vt, Jg as W, $s as Wt, Xh as X, ho as Xt, gg as Y, V as Yt, Jh as Z, Qa as Zt, cw as _, Tm as _t, RT as a, On as an, Ch as at, fy as b, vm as bt, zT as c, _h as ct, WT as d, sh as dt, ni as en, Gh as et, dT as f, Xm as ft, fw as g, Am as gt, mw as h, jm as ht, HT as i, Dn as in, Nh as it, xv as j, ed as jt, Av as k, xp as kt, KT as l, mh as lt, gw as m, Fm as mt, BT as n, Hn as nn, zh as nt, IT as o, kn as on, Sh as ot, NT as p, Ym as pt, Ig as q, Fs as qt, LT as r, Vn as rn, Lh as rt, VT as s, xh as st, YE as t, ti as tn, Wh as tt, UT as u, ch as ut, uw as v, Cm as vt, Bv as w, mm as wt, oy as x, _m as xt, sy as y, wm as yt, V_ as z, xl as zt };
|
|
23632
23632
|
|
|
23633
|
-
//# sourceMappingURL=dist-
|
|
23633
|
+
//# sourceMappingURL=dist-DcaFfXgZ.js.map
|