@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.
Files changed (29) hide show
  1. package/dist/browser/author/index.js +7079 -7079
  2. package/dist/browser/author/index.js.map +1 -1
  3. package/dist/browser/delivery/index.js +4 -4
  4. package/dist/browser/{delivery-BoI-z9Fb.js → delivery-Cqm_UJdo.js} +327 -341
  5. package/dist/browser/delivery-Cqm_UJdo.js.map +1 -0
  6. package/dist/browser/editor-runtime/author/index.js +1789 -1789
  7. package/dist/browser/editor-runtime/author/index.js.map +1 -1
  8. package/dist/browser/editor-runtime/delivery/index.js +4 -4
  9. package/dist/browser/editor-runtime/{delivery-Dud-i805.js → delivery-CSxnEjs8.js} +335 -349
  10. package/dist/browser/editor-runtime/delivery-CSxnEjs8.js.map +1 -0
  11. package/dist/browser/{mathjax-BKrHE4xs-D46Z_Jvk.js → editor-runtime/mathjax-BKrHE4xs-C7tnUXFV.js} +22 -22
  12. package/dist/browser/editor-runtime/{mathjax-BKrHE4xs-CN9xw1r8.js.map → mathjax-BKrHE4xs-C7tnUXFV.js.map} +1 -1
  13. package/dist/browser/editor-runtime/print/index.js +2 -2
  14. package/dist/browser/{private-tags-BON-CGlK.js → editor-runtime/private-tags-tCTQADfn.js} +3152 -3189
  15. package/dist/browser/editor-runtime/private-tags-tCTQADfn.js.map +1 -0
  16. package/dist/browser/{editor-runtime/mathjax-BKrHE4xs-CN9xw1r8.js → mathjax-BKrHE4xs-DJ4AsHVv.js} +26 -26
  17. package/dist/browser/{mathjax-BKrHE4xs-D46Z_Jvk.js.map → mathjax-BKrHE4xs-DJ4AsHVv.js.map} +1 -1
  18. package/dist/browser/print/index.js +2 -2
  19. package/dist/browser/{editor-runtime/private-tags-oyLB-9le.js → private-tags-CAv6hFS7.js} +3003 -3040
  20. package/dist/browser/private-tags-CAv6hFS7.js.map +1 -0
  21. package/dist/index.iife.js +24 -24
  22. package/dist/private-tags.js +1 -1
  23. package/module/print.js +1037 -1088
  24. package/module/print.js.map +1 -1
  25. package/package.json +10 -10
  26. package/dist/browser/delivery-BoI-z9Fb.js.map +0 -1
  27. package/dist/browser/editor-runtime/delivery-Dud-i805.js.map +0 -1
  28. package/dist/browser/editor-runtime/private-tags-oyLB-9le.js.map +0 -1
  29. package/dist/browser/private-tags-BON-CGlK.js.map +0 -1
@@ -1,4 +1,4 @@
1
- import { B as e, H as t, Qt as n, R as r, V as i, z as a } from "./private-tags-oyLB-9le.js";
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 n < "u" ? n : typeof Proxy < "u" ? new Proxy(e, { get: (e, t) => (typeof n < "u" ? n : e)[t] }) : e)(function(e) {
28
- if (typeof n < "u") return n.apply(this, arguments);
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_(t) {
36598
- return `@mathjax/${t}@${e}/chtml/woff2`;
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_(e) {
36602
- let n = a(e);
36603
- H_ = !!n;
36604
- let r = se.addFontURLs.bind(se);
36605
- se.addFontURLs = (t, n, a) => {
36606
- if (!G_.includes(a)) return r(t, n, a);
36607
- for (let [r, o] of Object.entries(n)) {
36608
- let n = !0, s = String(o.src).replace(K_, (t, r) => {
36609
- let o = i(e, `${a}/${r}`);
36610
- return o || (n = !1), 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
- n && (t[r] = {
36612
+ r && (n[a] = {
36613
36613
  ...o,
36614
36614
  src: s
36615
36615
  });
36616
36616
  }
36617
36617
  };
36618
- let o = [...e.urls?.keys() ?? []];
36619
- return e.root || o.some((e) => G_.some((t) => e.startsWith(`${t}/`))) || t(H_ ? "no-web-fonts" : "no-web-fonts-or-speech"), n;
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, t, n) {
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_(n);
36636
- let i = q_(t), a = e.loader?.load?.includes("a11y/assistive-mml") ?? !1;
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 t = new of({
36657
+ let n = new of({
36658
36658
  packages: I_,
36659
36659
  ...e.tex
36660
- }), n = new lu(), l = new ym(Sm({ chtml: { ...e.chtml } }, "chtml", {
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) => r(i, 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: [t, n],
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-CN9xw1r8.js.map
36692
+ //# sourceMappingURL=mathjax-BKrHE4xs-DJ4AsHVv.js.map