@pie-element/placement-ordering 15.0.6-next.20261018193205 → 15.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/{drag-provider-Cb5v6v-2.js → drag-provider-D4hwNRhY.js} +55 -55
- package/dist/browser/drag-provider-D4hwNRhY.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/{drag-provider-Ba6Wvmai.js → drag-provider-X93TNp6V.js} +55 -55
- package/dist/browser/editor-runtime/drag-provider-X93TNp6V.js.map +1 -0
- package/dist/browser/editor-runtime/{mathjax-CptWnMbQ-CR_i7r9X.js → mathjax-DqXi3q4c-C6UsRdhB.js} +3 -3
- package/dist/browser/editor-runtime/{mathjax-CptWnMbQ-CR_i7r9X.js.map → mathjax-DqXi3q4c-C6UsRdhB.js.map} +1 -1
- package/dist/browser/{mathjax-CptWnMbQ-Camhfbkk.js → mathjax-DqXi3q4c-uPGzEOmh.js} +3 -3
- package/dist/browser/{mathjax-CptWnMbQ-Camhfbkk.js.map → mathjax-DqXi3q4c-uPGzEOmh.js.map} +1 -1
- package/dist/index.iife.js +1 -1
- package/dist/schemas/configuration.schema.json +1 -1
- package/dist/schemas/model.schema.json +1 -1
- package/dist/schemas/session.schema.json +1 -1
- package/package.json +16 -16
- package/dist/browser/drag-provider-Cb5v6v-2.js.map +0 -1
- package/dist/browser/editor-runtime/drag-provider-Ba6Wvmai.js.map +0 -1
|
@@ -18,7 +18,7 @@
|
|
|
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 { i as e, r as t, t as n } from "../rolldown-runtime-CWhphoD1.js";
|
|
20
20
|
import { S as r, T as i, _ as a, a as o, b as s, c, f as l, g as u, i as d, m as f, n as p, s as m, t as h, u as g, v as _, w as v, y } from "../dist-CwKUcf7l.js";
|
|
21
|
-
import { $ as b, A as x, At as S, B as C, Bt as w, C as ee, Ct as T, D as E, Dt as te, E as D, Et as ne, F as O, Ft as re, G as ie, H as ae, Ht as oe, I as se, It as ce, J as k, K as le, L as ue, Lt as de, M as fe, Mt as pe, Nt as me, O as he, Ot as ge, P as _e, Pt as ve, Q as ye, R as be, Rt as xe, S as Se, St as Ce, T as we, Tt as A, U as Te, Ut as Ee, V as j, Vt as De, W as Oe, Wt as ke, X as Ae, Y as M, Z as je, _ as Me, _t as Ne, at as Pe, b as Fe, bt as Ie, c as Le, ct as Re, d as ze, dt as Be, et as Ve, f as He, ft as Ue, gt as N, it as We, jt as Ge, k as Ke, kt as qe, l as Je, lt as Ye, nt as Xe, o as Ze, ot as Qe, q as $e, rt as et, s as tt, st as nt, t as rt, tt as it, u as at, ut as ot, v as st, vt as P, wt as ct, x as lt, xt as ut, y as dt, yt as ft, z as pt, zt as mt } from "../drag-provider-
|
|
21
|
+
import { $ as b, A as x, At as S, B as C, Bt as w, C as ee, Ct as T, D as E, Dt as te, E as D, Et as ne, F as O, Ft as re, G as ie, H as ae, Ht as oe, I as se, It as ce, J as k, K as le, L as ue, Lt as de, M as fe, Mt as pe, Nt as me, O as he, Ot as ge, P as _e, Pt as ve, Q as ye, R as be, Rt as xe, S as Se, St as Ce, T as we, Tt as A, U as Te, Ut as Ee, V as j, Vt as De, W as Oe, Wt as ke, X as Ae, Y as M, Z as je, _ as Me, _t as Ne, at as Pe, b as Fe, bt as Ie, c as Le, ct as Re, d as ze, dt as Be, et as Ve, f as He, ft as Ue, gt as N, it as We, jt as Ge, k as Ke, kt as qe, l as Je, lt as Ye, nt as Xe, o as Ze, ot as Qe, q as $e, rt as et, s as tt, st as nt, t as rt, tt as it, u as at, ut as ot, v as st, vt as P, wt as ct, x as lt, xt as ut, y as dt, yt as ft, z as pt, zt as mt } from "../drag-provider-D4hwNRhY.js";
|
|
22
22
|
import * as F from "react";
|
|
23
23
|
import ht, { Component as gt, createContext as _t, createElement as vt, createRef as yt, forwardRef as bt, memo as xt, useCallback as St, useContext as Ct, useDebugValue as wt, useEffect as Tt, useId as Et, useLayoutEffect as Dt, useMemo as Ot, useRef as kt, useState as At, version as jt } from "react";
|
|
24
24
|
import { createRoot as Mt } from "react-dom/client";
|
|
@@ -36777,7 +36777,7 @@ var _G = (0, Zt.default)("@pie-element:placement-ordering:design"), { Panel: vG,
|
|
|
36777
36777
|
}
|
|
36778
36778
|
}, NG = Object.freeze({
|
|
36779
36779
|
name: "@pie-element/placement-ordering",
|
|
36780
|
-
version: "15.0.6
|
|
36780
|
+
version: "15.0.6"
|
|
36781
36781
|
});
|
|
36782
36782
|
//#endregion
|
|
36783
36783
|
export { jG as addWeightToCorrectResponse, MG as default, NG as piePackage };
|
|
@@ -327,7 +327,7 @@ var U = (e, t) => new Promise((n) => {
|
|
|
327
327
|
}), u((n || []).map((e) => e.id), (r || []).map((e) => typeof e != "string" && e.id || e)) && (a.orderError = "The correct ordering should not be identical to the initial ordering."), i(s) || (a.choicesErrors = s), a;
|
|
328
328
|
}, K = Object.freeze({
|
|
329
329
|
name: "@pie-element/placement-ordering",
|
|
330
|
-
version: "15.0.6
|
|
330
|
+
version: "15.0.6"
|
|
331
331
|
});
|
|
332
332
|
//#endregion
|
|
333
333
|
export { U as createCorrectResponseSession, B as createDefaultModel, R as getLogTrace, H as model, V as normalize, z as outcome, K as piePackage, L as questionError, G as validate };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as e } from "../rolldown-runtime-CWhphoD1.js";
|
|
2
2
|
import { S as t, g as n, i as r, l as i, n as a, r as o, t as s, w as c, x as l } from "../dist-CwKUcf7l.js";
|
|
3
|
-
import { Ht as u, N as d, P as f, Vt as p, a as m, c as h, g, gt as _, h as v, ht as y, i as b, j as x, m as S, mt as C, n as w, o as ee, p as T, pt as E, r as D, s as te, t as O, vt as k, w as A } from "../drag-provider-
|
|
3
|
+
import { Ht as u, N as d, P as f, Vt as p, a as m, c as h, g, gt as _, h as v, ht as y, i as b, j as x, m as S, mt as C, n as w, o as ee, p as T, pt as E, r as D, s as te, t as O, vt as k, w as A } from "../drag-provider-D4hwNRhY.js";
|
|
4
4
|
import j, { createElement as M, useRef as ne } from "react";
|
|
5
5
|
import { createRoot as N } from "react-dom/client";
|
|
6
6
|
import re from "react-dom";
|
|
@@ -1304,7 +1304,7 @@ var gt = class extends j.Component {
|
|
|
1304
1304
|
}
|
|
1305
1305
|
}, xt = Object.freeze({
|
|
1306
1306
|
name: "@pie-element/placement-ordering",
|
|
1307
|
-
version: "15.0.6
|
|
1307
|
+
version: "15.0.6"
|
|
1308
1308
|
});
|
|
1309
1309
|
//#endregion
|
|
1310
1310
|
export { bt as default, yt as isValidSession, xt as piePackage };
|
|
@@ -11,7 +11,7 @@ var j = /* @__PURE__ */ e(r(), 1), M;
|
|
|
11
11
|
function N() {
|
|
12
12
|
return M;
|
|
13
13
|
}
|
|
14
|
-
var ne = import("./mathjax-
|
|
14
|
+
var ne = import("./mathjax-DqXi3q4c-uPGzEOmh.js");
|
|
15
15
|
ne.catch(() => {});
|
|
16
16
|
async function P(e, t) {
|
|
17
17
|
let { createMathJax: n } = await ne;
|
|
@@ -710,25 +710,7 @@ function Mt(e) {
|
|
|
710
710
|
function Nt(e) {
|
|
711
711
|
for (let t of e.querySelectorAll("mjx-container")) Mt(t);
|
|
712
712
|
}
|
|
713
|
-
var Pt =
|
|
714
|
-
function Lt(e, t) {
|
|
715
|
-
if (typeof window > "u") return;
|
|
716
|
-
let n = globalThis;
|
|
717
|
-
n[It] ??= {
|
|
718
|
-
logged: !1,
|
|
719
|
-
conditions: []
|
|
720
|
-
};
|
|
721
|
-
let r = n[It];
|
|
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 ${Pt}`;
|
|
725
|
-
r.logged || (r.logged = !0, console.error(i)), window.dispatchEvent(new CustomEvent(Ft, { detail: {
|
|
726
|
-
condition: e,
|
|
727
|
-
message: i,
|
|
728
|
-
docsUrl: Pt
|
|
729
|
-
} }));
|
|
730
|
-
}
|
|
731
|
-
var Rt = {
|
|
713
|
+
var Pt = {
|
|
732
714
|
parallelogram: "\\lower.2em{\\Huge\\unicode{x25B1}}",
|
|
733
715
|
overarc: "\\overparen",
|
|
734
716
|
napprox: "\\not\\approx",
|
|
@@ -736,36 +718,54 @@ var Rt = {
|
|
|
736
718
|
abs: ["\\left|#1\\right|", 1],
|
|
737
719
|
perpendicular: "\\perp",
|
|
738
720
|
divide: "\\div"
|
|
739
|
-
},
|
|
721
|
+
}, Ft = /\\\(|\\\[|\$\$|\\\$|\\begin\{|\\(?:eq)?ref\{/, It = /\\\(|\\\[|\$|\\begin\{|\\(?:eq)?ref\{/, Lt = /\\embed\{newLine\}\[\]/g, Rt = [
|
|
740
722
|
["$$", "$$"],
|
|
741
723
|
["$", "$"],
|
|
742
724
|
["\\[", "\\]"],
|
|
743
725
|
["\\(", "\\)"]
|
|
744
|
-
]
|
|
726
|
+
];
|
|
727
|
+
function zt(e) {
|
|
728
|
+
for (let [t, n] of Rt) if (e.startsWith(t) && e.endsWith(n)) return e.substring(t.length, e.length - n.length);
|
|
729
|
+
return e;
|
|
730
|
+
}
|
|
731
|
+
function Bt(e) {
|
|
732
|
+
return `\\(${zt(e.includes("\\displaystyle") ? e.replace("\\displaystyle", "").trim() : e)}\\)`.replace(Lt, "\\newline ");
|
|
733
|
+
}
|
|
734
|
+
var Vt = "mathjax_ignore", Ht = "mathjax_process", Ut = "https://github.com/pie-framework/pie-players/blob/develop/docs/item-player/loading-strategies.md#one-mathjax-version-per-page", Wt = "pie-mathjax-version-conflict", Gt = Symbol.for("@pie-element/shared-math-rendering-mathjax/unsupported-page");
|
|
735
|
+
function Kt(e, t) {
|
|
736
|
+
if (typeof window > "u") return;
|
|
737
|
+
let n = globalThis;
|
|
738
|
+
n[Gt] ??= {
|
|
739
|
+
logged: !1,
|
|
740
|
+
conditions: []
|
|
741
|
+
};
|
|
742
|
+
let r = n[Gt];
|
|
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 ${Ut}`;
|
|
746
|
+
r.logged || (r.logged = !0, console.error(i)), window.dispatchEvent(new CustomEvent(Wt, { detail: {
|
|
747
|
+
condition: e,
|
|
748
|
+
message: i,
|
|
749
|
+
docsUrl: Ut
|
|
750
|
+
} }));
|
|
751
|
+
}
|
|
752
|
+
var qt = "[math-rendering] using $ is not advisable, please use $$..$$ or \\(...\\)", Jt = Symbol.for("@pie-element/shared-math-rendering-mathjax/loading"), Yt = "MJX-CHTML-styles", Xt = "PIE-MJX-SVG-styles", Zt = "PIE-MathJax-Menu-Settings", Qt = { "mjx-container[overflow=\"linebreak\"][display]": {
|
|
745
753
|
overflow: "auto clip",
|
|
746
754
|
"min-width": "initial !important"
|
|
747
|
-
} },
|
|
748
|
-
function
|
|
755
|
+
} }, $t = 200, en = 201, tn = 202;
|
|
756
|
+
function nn(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 $t(e) {
|
|
753
|
-
for (let [t, n] of Ut) if (e.startsWith(t) && e.endsWith(n)) return e.substring(t.length, e.length - n.length);
|
|
754
|
-
return e;
|
|
755
|
-
}
|
|
756
|
-
function en(e) {
|
|
757
|
-
return $t(e.includes("\\displaystyle") ? e.replace("\\displaystyle", "").trim() : e);
|
|
758
|
-
}
|
|
759
|
-
var tn = "mathjax_ignore", nn = "mathjax_process";
|
|
760
760
|
function rn(e, t) {
|
|
761
|
-
let n = e.closest(`.${
|
|
762
|
-
return n !== null && t.contains(n) && !n.classList.contains(
|
|
761
|
+
let n = e.closest(`.${Vt}, .${Ht}`);
|
|
762
|
+
return n !== null && t.contains(n) && !n.classList.contains("mathjax_process");
|
|
763
763
|
}
|
|
764
764
|
function an(e) {
|
|
765
765
|
for (let t of e.querySelectorAll("[data-latex]")) {
|
|
766
766
|
if (t.dataset.mathHandled || t.closest("mjx-container") || rn(t, e)) continue;
|
|
767
767
|
let n = t.textContent;
|
|
768
|
-
n && (t.textContent =
|
|
768
|
+
n && (t.textContent = Bt(n), t.dataset.mathHandled = "true");
|
|
769
769
|
}
|
|
770
770
|
}
|
|
771
771
|
function on(e) {
|
|
@@ -773,7 +773,7 @@ function on(e) {
|
|
|
773
773
|
}
|
|
774
774
|
function sn(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 ? It : Ft).test(e.textContent ?? "");
|
|
777
777
|
}
|
|
778
778
|
function cn(e) {
|
|
779
779
|
return new Promise((t, n) => {
|
|
@@ -790,10 +790,10 @@ function cn(e) {
|
|
|
790
790
|
typeset: !1,
|
|
791
791
|
ready: () => {
|
|
792
792
|
let e = N(), r = e?.startup, a = ln(e);
|
|
793
|
-
a && (un(e), dn(e, f.speechLocales), i(e?._?.a11y?.sre_ts?.locales, f.speechLocales)), r?.defaultReady?.(), a && (fn(r?.document), pn(r?.document), r?.document?.addStyles?.(
|
|
793
|
+
a && (un(e), dn(e, f.speechLocales), i(e?._?.a11y?.sre_ts?.locales, f.speechLocales)), r?.defaultReady?.(), a && (fn(r?.document), pn(r?.document), r?.document?.addStyles?.(Qt), c(r?.document)), Promise.resolve(r?.promise).then(() => t(), n);
|
|
794
794
|
}
|
|
795
795
|
},
|
|
796
|
-
tex: { macros: { ...
|
|
796
|
+
tex: { macros: { ...Pt } },
|
|
797
797
|
output: { displayOverflow: "linebreak" },
|
|
798
798
|
options: {
|
|
799
799
|
enableMenu: l,
|
|
@@ -805,7 +805,7 @@ function cn(e) {
|
|
|
805
805
|
a11y: { inTabOrder: p }
|
|
806
806
|
}
|
|
807
807
|
};
|
|
808
|
-
r && m.tex && (console.warn(
|
|
808
|
+
r && m.tex && (console.warn(qt), m.tex.inlineMath = [["$", "$"], ["\\(", "\\)"]], m.tex.processEscapes = !0), u || (m.chtml = { fontURL: "" });
|
|
809
809
|
let h = s(f.speechLocales);
|
|
810
810
|
h && m.options && (m.options.sre = { locale: h }), P(m, {
|
|
811
811
|
...f,
|
|
@@ -822,18 +822,18 @@ function un(e) {
|
|
|
822
822
|
let t = e?._?.output, n = t?.chtml_ts?.CHTML;
|
|
823
823
|
n && (n.STYLESHEETID = oe);
|
|
824
824
|
let r = t?.svg_ts?.SVG;
|
|
825
|
-
r && (r.STYLESHEETID =
|
|
825
|
+
r && (r.STYLESHEETID = Xt);
|
|
826
826
|
}
|
|
827
827
|
function dn(e, t) {
|
|
828
828
|
let n = e?._?.ui?.menu?.Menu?.Menu;
|
|
829
829
|
if (n) {
|
|
830
|
-
n.MENU_STORAGE =
|
|
830
|
+
n.MENU_STORAGE = Zt;
|
|
831
831
|
try {
|
|
832
|
-
let e = localStorage.getItem(
|
|
832
|
+
let e = localStorage.getItem(Zt);
|
|
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(Zt, JSON.stringify(i)) : localStorage.removeItem(Zt);
|
|
837
837
|
} catch {}
|
|
838
838
|
}
|
|
839
839
|
}
|
|
@@ -841,23 +841,23 @@ function fn(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) || (nn(n), t.add(n));
|
|
845
845
|
};
|
|
846
|
-
e.addRenderAction?.("pie-strip-latex",
|
|
846
|
+
e.addRenderAction?.("pie-strip-latex", en, (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 && nn(t), !1;
|
|
852
852
|
});
|
|
853
853
|
let r = e.outputJax?.chtmlStyles;
|
|
854
|
-
r?.id ===
|
|
854
|
+
r?.id === Yt && (r.id = oe), gn();
|
|
855
855
|
}
|
|
856
856
|
function pn(e) {
|
|
857
857
|
let t = (e) => {
|
|
858
858
|
e.typesetRoot && Mt(e.typesetRoot);
|
|
859
859
|
};
|
|
860
|
-
e?.addRenderAction?.("pie-name-math",
|
|
860
|
+
e?.addRenderAction?.("pie-name-math", tn, (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 mn(e) {
|
|
|
866
866
|
return e instanceof HTMLStyleElement && se.includes(e.id);
|
|
867
867
|
}
|
|
868
868
|
function hn(e) {
|
|
869
|
-
|
|
869
|
+
Kt("foreign-output-stylesheet", `another MathJax added <style id="${e.id}"> to <head>`);
|
|
870
870
|
}
|
|
871
871
|
function gn() {
|
|
872
872
|
let e = document.head, t = [...e.children].find(mn);
|
|
@@ -888,7 +888,7 @@ function gn() {
|
|
|
888
888
|
function _n(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) >= $t && 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 bn(e) {
|
|
|
916
916
|
});
|
|
917
917
|
}
|
|
918
918
|
function xn(e) {
|
|
919
|
-
let t = re, n = t[
|
|
920
|
-
return n || (n = bn(e), t[
|
|
919
|
+
let t = re, n = t[Jt];
|
|
920
|
+
return n || (n = bn(e), t[Jt] = n), n;
|
|
921
921
|
}
|
|
922
922
|
function Sn(e = {}) {
|
|
923
923
|
let t = e.useSingleDollar ?? !1;
|
|
@@ -938,7 +938,7 @@ function Sn(e = {}) {
|
|
|
938
938
|
} catch (e) {
|
|
939
939
|
throw i.typesetClear?.([n]), e;
|
|
940
940
|
}
|
|
941
|
-
|
|
941
|
+
nn(n), Nt(n);
|
|
942
942
|
}
|
|
943
943
|
};
|
|
944
944
|
}
|
|
@@ -989,7 +989,7 @@ var Fn = async (e) => {
|
|
|
989
989
|
let n = jn()?.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}${zt(e)}${i}`;
|
|
993
993
|
}, Ln = (e) => {
|
|
994
994
|
let t = e.trim();
|
|
995
995
|
return t.startsWith("\\[") && t.endsWith("\\]") ? {
|
|
@@ -13004,4 +13004,4 @@ Hx.propTypes = {
|
|
|
13004
13004
|
//#endregion
|
|
13005
13005
|
export { oh as $, __ as A, Lo as At, mg as B, Vn as Bt, Sv as C, fl as Ct, X_ as D, Ss as Dt, cv as E, As as Et, bg as F, sa as Ft, qh as G, cg as H, Fn as Ht, vg as I, Qi as It, zh as J, Kh as K, _g as L, Ii as Lt, f_ as M, Mo as Mt, a_ as N, bo as Nt, R_ as O, Qo as Ot, zg as P, la as Pt, bh as Q, gg as R, Li as Rt, Cv as S, pl as St, uv as T, rc as Tt, ig as U, In as Ut, Q as V, Bn as Vt, Jh as W, Ln as Wt, Mh as X, Nh as Y, xh as Z, Wv as _, Cl as _t, Jy as a, Um as at, Pv as b, hl as bt, ky as c, Bm as ct, ly as d, Lm as dt, nh as et, cy as f, Im as ft, Qv as g, eu as gt, $v as h, Ad as ht, Mb as i, Ym as it, g_ as j, H as jt, P_ as k, Ro as kt, Dy as l, zm as lt, ry as m, lm as mt, $ as n, Xm as nt, Rx as o, Hm as ot, ay as p, pm as pt, Hh as q, kx as r, Jm as rt, Vx as s, Vm as st, Hx as t, th as tt, py as u, Rm as ut, Vv as v, q as vt, vv as w, oc as wt, wv as x, ml as xt, Iv as y, gl as yt, hg as z, Hn as zt };
|
|
13006
13006
|
|
|
13007
|
-
//# sourceMappingURL=drag-provider-
|
|
13007
|
+
//# sourceMappingURL=drag-provider-D4hwNRhY.js.map
|