@pie-element/ebsr 15.0.3-next.20261007184841 → 15.0.3
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 +7079 -7079
- package/dist/browser/author/index.js.map +1 -1
- package/dist/browser/delivery/index.js +4 -4
- package/dist/browser/{delivery-BoI-z9Fb.js → delivery-Cqm_UJdo.js} +327 -341
- package/dist/browser/delivery-Cqm_UJdo.js.map +1 -0
- package/dist/browser/editor-runtime/author/index.js +1789 -1789
- package/dist/browser/editor-runtime/author/index.js.map +1 -1
- package/dist/browser/editor-runtime/delivery/index.js +4 -4
- package/dist/browser/editor-runtime/{delivery-Dud-i805.js → delivery-CSxnEjs8.js} +335 -349
- package/dist/browser/editor-runtime/delivery-CSxnEjs8.js.map +1 -0
- package/dist/browser/{mathjax-BKrHE4xs-D46Z_Jvk.js → editor-runtime/mathjax-BKrHE4xs-C7tnUXFV.js} +22 -22
- package/dist/browser/editor-runtime/{mathjax-BKrHE4xs-CN9xw1r8.js.map → mathjax-BKrHE4xs-C7tnUXFV.js.map} +1 -1
- package/dist/browser/editor-runtime/print/index.js +2 -2
- package/dist/browser/{private-tags-BON-CGlK.js → editor-runtime/private-tags-tCTQADfn.js} +3152 -3189
- package/dist/browser/editor-runtime/private-tags-tCTQADfn.js.map +1 -0
- package/dist/browser/{editor-runtime/mathjax-BKrHE4xs-CN9xw1r8.js → mathjax-BKrHE4xs-DJ4AsHVv.js} +26 -26
- package/dist/browser/{mathjax-BKrHE4xs-D46Z_Jvk.js.map → mathjax-BKrHE4xs-DJ4AsHVv.js.map} +1 -1
- package/dist/browser/print/index.js +2 -2
- package/dist/browser/{editor-runtime/private-tags-oyLB-9le.js → private-tags-CAv6hFS7.js} +3003 -3040
- package/dist/browser/private-tags-CAv6hFS7.js.map +1 -0
- package/dist/index.iife.js +24 -24
- package/dist/private-tags.js +1 -1
- package/module/print.js +1037 -1088
- package/module/print.js.map +1 -1
- package/package.json +10 -10
- package/dist/browser/delivery-BoI-z9Fb.js.map +0 -1
- package/dist/browser/editor-runtime/delivery-Dud-i805.js.map +0 -1
- package/dist/browser/editor-runtime/private-tags-oyLB-9le.js.map +0 -1
- package/dist/browser/private-tags-BON-CGlK.js.map +0 -1
package/dist/browser/{editor-runtime/mathjax-BKrHE4xs-CN9xw1r8.js → mathjax-BKrHE4xs-DJ4AsHVv.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as e,
|
|
1
|
+
import { B as e, L as t, R as n, V as r, Yt as i, z as a } from "./private-tags-CAv6hFS7.js";
|
|
2
2
|
import { A as o, C as s, D as c, E as l, O as u, S as d, T as f, _ as p, a as m, b as h, c as g, d as _, f as ee, g as v, h as y, i as b, j as te, k as ne, l as x, m as re, n as ie, o as S, p as ae, s as oe, t as se, u as ce, v as le, w as ue, x as de, y as fe } from "./chtml-CbqemTOM-x0_YISTK.js";
|
|
3
3
|
//#region ../../shared/math-rendering-mathjax/dist/browser/mathjax-BKrHE4xs.js
|
|
4
4
|
var pe = Object.create, me = Object.defineProperty, he = Object.getOwnPropertyDescriptor, ge = Object.getOwnPropertyNames, _e = Object.getPrototypeOf, C = Object.prototype.hasOwnProperty, ve = (e, t, n) => () => {
|
|
@@ -24,8 +24,8 @@ var pe = Object.create, me = Object.defineProperty, he = Object.getOwnPropertyDe
|
|
|
24
24
|
}, Se = (e, t, n) => (n = e == null ? {} : pe(_e(e)), xe(t || !e || !e.__esModule ? me(n, "default", {
|
|
25
25
|
value: e,
|
|
26
26
|
enumerable: !0
|
|
27
|
-
}) : n, e)), Ce = /* @__PURE__ */ ((e) => typeof
|
|
28
|
-
if (typeof
|
|
27
|
+
}) : n, e)), Ce = /* @__PURE__ */ ((e) => typeof i < "u" ? i : typeof Proxy < "u" ? new Proxy(e, { get: (e, t) => (typeof i < "u" ? i : e)[t] }) : e)(function(e) {
|
|
28
|
+
if (typeof i < "u") return i.apply(this, arguments);
|
|
29
29
|
throw Error("Calling `require` for \"" + e + "\" in an environment that doesn't expose the `require` function. See https://rolldown.rs/in-depth/bundling-cjs#require-external-modules for more details.");
|
|
30
30
|
});
|
|
31
31
|
function we(e, t, n, r, i, a, o = null) {
|
|
@@ -36594,29 +36594,29 @@ var H_ = !0, U_ = class extends Ah {
|
|
|
36594
36594
|
this.menu.findID("Options", "Collapsible").disable(), this.menu.findID("Options", "AutoCollapse").disable(), H_ || this.menu.findID("Options", "Enrich").disable();
|
|
36595
36595
|
}
|
|
36596
36596
|
};
|
|
36597
|
-
function W_(
|
|
36598
|
-
return `@mathjax/${
|
|
36597
|
+
function W_(e) {
|
|
36598
|
+
return `@mathjax/${e}@${a}/chtml/woff2`;
|
|
36599
36599
|
}
|
|
36600
36600
|
var G_ = ["mathjax-newcm-font", "mathjax-mhchem-font-extension"].map(W_), K_ = /%%URL%%\/([^"')]+)/g;
|
|
36601
|
-
function q_(
|
|
36602
|
-
let
|
|
36603
|
-
H_ = !!
|
|
36604
|
-
let
|
|
36605
|
-
se.addFontURLs = (
|
|
36606
|
-
if (!G_.includes(
|
|
36607
|
-
for (let [
|
|
36608
|
-
let
|
|
36609
|
-
let o =
|
|
36610
|
-
return o || (
|
|
36601
|
+
function q_(t) {
|
|
36602
|
+
let i = n(t);
|
|
36603
|
+
H_ = !!i;
|
|
36604
|
+
let a = se.addFontURLs.bind(se);
|
|
36605
|
+
se.addFontURLs = (n, r, i) => {
|
|
36606
|
+
if (!G_.includes(i)) return a(n, r, i);
|
|
36607
|
+
for (let [a, o] of Object.entries(r)) {
|
|
36608
|
+
let r = !0, s = String(o.src).replace(K_, (n, a) => {
|
|
36609
|
+
let o = e(t, `${i}/${a}`);
|
|
36610
|
+
return o || (r = !1), o ?? "";
|
|
36611
36611
|
});
|
|
36612
|
-
|
|
36612
|
+
r && (n[a] = {
|
|
36613
36613
|
...o,
|
|
36614
36614
|
src: s
|
|
36615
36615
|
});
|
|
36616
36616
|
}
|
|
36617
36617
|
};
|
|
36618
|
-
let o = [...
|
|
36619
|
-
return
|
|
36618
|
+
let o = [...t.urls?.keys() ?? []];
|
|
36619
|
+
return t.root || o.some((e) => G_.some((t) => e.startsWith(`${t}/`))) || r(H_ ? "no-web-fonts" : "no-web-fonts-or-speech"), i;
|
|
36620
36620
|
}
|
|
36621
36621
|
function J_() {
|
|
36622
36622
|
return new Promise((e) => {
|
|
@@ -36630,10 +36630,10 @@ function J_() {
|
|
|
36630
36630
|
function Y_(e) {
|
|
36631
36631
|
for (let [t, n] of Object.entries(Oc)) (n === kc || n.prototype instanceof kc) && Object.defineProperty(n, "sheetId", { value: `PIE-MJX-${t}-styles-${e}` });
|
|
36632
36632
|
}
|
|
36633
|
-
function X_(e,
|
|
36633
|
+
function X_(e, n, r) {
|
|
36634
36634
|
if (Cm.startup) throw Error("[math-rendering] The bundled MathJax starts once");
|
|
36635
|
-
z_(e), de.asyncLoad = V_, Y_(
|
|
36636
|
-
let i = q_(
|
|
36635
|
+
z_(e), de.asyncLoad = V_, Y_(r);
|
|
36636
|
+
let i = q_(n), a = e.loader?.load?.includes("a11y/assistive-mml") ?? !1;
|
|
36637
36637
|
Cm.config = e, Cm._ = {
|
|
36638
36638
|
a11y: {
|
|
36639
36639
|
explorer: { Region: Oc },
|
|
@@ -36654,15 +36654,15 @@ function X_(e, t, n) {
|
|
|
36654
36654
|
...Xh,
|
|
36655
36655
|
fontURL: W_("mathjax-mhchem-font-extension")
|
|
36656
36656
|
});
|
|
36657
|
-
let
|
|
36657
|
+
let n = new of({
|
|
36658
36658
|
packages: I_,
|
|
36659
36659
|
...e.tex
|
|
36660
|
-
}),
|
|
36660
|
+
}), r = new lu(), l = new ym(Sm({ chtml: { ...e.chtml } }, "chtml", {
|
|
36661
36661
|
...e.output,
|
|
36662
36662
|
fontData: se,
|
|
36663
36663
|
fontURL: W_("mathjax-newcm-font")
|
|
36664
36664
|
})), u = Dl();
|
|
36665
|
-
i && (u.createWorker = async (e) =>
|
|
36665
|
+
i && (u.createWorker = async (e) => t(i, e));
|
|
36666
36666
|
let d = new Ql(u, 5);
|
|
36667
36667
|
d = oc(d, new lu({ allowHtmlInTokenNodes: !0 })), d = Dc(d, null), d = bl(d), a && (d = Zt(d)), d = Yh(d), de.handlers.register(d);
|
|
36668
36668
|
let f = { ...e.options };
|
|
@@ -36670,7 +36670,7 @@ function X_(e, t, n) {
|
|
|
36670
36670
|
let p = de.document(document, {
|
|
36671
36671
|
...f,
|
|
36672
36672
|
MenuClass: U_,
|
|
36673
|
-
InputJax: [
|
|
36673
|
+
InputJax: [n, r],
|
|
36674
36674
|
OutputJax: l
|
|
36675
36675
|
});
|
|
36676
36676
|
c.document = p, J_().then(() => p.menu?.loadingPromise).then(o, s);
|
|
@@ -36689,4 +36689,4 @@ function X_(e, t, n) {
|
|
|
36689
36689
|
//#endregion
|
|
36690
36690
|
export { I_ as TEX_PACKAGES, X_ as createMathJax };
|
|
36691
36691
|
|
|
36692
|
-
//# sourceMappingURL=mathjax-BKrHE4xs-
|
|
36692
|
+
//# sourceMappingURL=mathjax-BKrHE4xs-DJ4AsHVv.js.map
|