@pie-element/matrix 5.0.3 → 5.0.4-next.20261009061152

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 (23) hide show
  1. package/dist/browser/{Radio-BRHK8FCI.js → Radio-DBfbnY_9.js} +3263 -3263
  2. package/dist/browser/Radio-DBfbnY_9.js.map +1 -0
  3. package/dist/browser/author/index.js +14 -14
  4. package/dist/browser/delivery/index.js +2 -2
  5. package/dist/browser/editor-runtime/{Radio-DqZH96xq.js → Radio-CvVmVk60.js} +3263 -3263
  6. package/dist/browser/editor-runtime/Radio-CvVmVk60.js.map +1 -0
  7. package/dist/browser/editor-runtime/author/index.js +10 -10
  8. package/dist/browser/editor-runtime/author/index.js.map +1 -1
  9. package/dist/browser/editor-runtime/delivery/index.js +2 -2
  10. package/dist/browser/{mathjax-BKrHE4xs-DMJdB93L.js → editor-runtime/mathjax-CptWnMbQ-BymmkoDr.js} +21 -21
  11. package/dist/browser/editor-runtime/{mathjax-BKrHE4xs-olIoaCQN.js.map → mathjax-CptWnMbQ-BymmkoDr.js.map} +1 -1
  12. package/dist/browser/{speech-worker-CP5P4gRS-G4rtBs8u.js → editor-runtime/speech-worker-CTpOB9m5-pwCKeQ9c.js} +46 -43
  13. package/dist/browser/editor-runtime/speech-worker-CTpOB9m5-pwCKeQ9c.js.map +1 -0
  14. package/dist/browser/{editor-runtime/mathjax-BKrHE4xs-olIoaCQN.js → mathjax-CptWnMbQ-ncPHVakS.js} +25 -25
  15. package/dist/browser/{mathjax-BKrHE4xs-DMJdB93L.js.map → mathjax-CptWnMbQ-ncPHVakS.js.map} +1 -1
  16. package/dist/browser/{editor-runtime/speech-worker-CP5P4gRS-OkQyXQak.js → speech-worker-CTpOB9m5-BIgcSm3A.js} +20 -17
  17. package/dist/browser/speech-worker-CTpOB9m5-BIgcSm3A.js.map +1 -0
  18. package/dist/index.iife.js +55 -55
  19. package/package.json +10 -10
  20. package/dist/browser/Radio-BRHK8FCI.js.map +0 -1
  21. package/dist/browser/editor-runtime/Radio-DqZH96xq.js.map +0 -1
  22. package/dist/browser/editor-runtime/speech-worker-CP5P4gRS-OkQyXQak.js.map +0 -1
  23. package/dist/browser/speech-worker-CP5P4gRS-G4rtBs8u.js.map +0 -1
@@ -1,5 +1,5 @@
1
- import { m as e } from "../speech-worker-CP5P4gRS-OkQyXQak.js";
2
- import { E as t, Mt as n, O as r, T as i, a, d as o, i as s, jt as c, kt as l, st as u, t as d, y as f } from "../Radio-DqZH96xq.js";
1
+ import { h as e } from "../speech-worker-CTpOB9m5-pwCKeQ9c.js";
2
+ import { E as t, Mt as n, O as r, T as i, a, d as o, i as s, jt as c, kt as l, st as u, t as d, y as f } from "../Radio-CvVmVk60.js";
3
3
  import p from "react";
4
4
  import { createRoot as m } from "react-dom/client";
5
5
  import { jsx as h, jsxs as g } from "react/jsx-runtime";
@@ -1,6 +1,6 @@
1
- import { a as e, f as t, l as n, n as r, o as i, r as a } from "./speech-worker-CP5P4gRS-G4rtBs8u.js";
1
+ import { a as e, l as t, m as n, n as r, r as i, t as a } from "./speech-worker-CTpOB9m5-pwCKeQ9c.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
- //#region ../../shared/math-rendering-mathjax/dist/browser/mathjax-BKrHE4xs.js
3
+ //#region ../../shared/math-rendering-mathjax/dist/browser/mathjax-CptWnMbQ.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) => () => {
5
5
  if (n) throw n[0];
6
6
  try {
@@ -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 t < "u" ? t : typeof Proxy < "u" ? new Proxy(e, { get: (e, n) => (typeof t < "u" ? t : e)[n] }) : e)(function(e) {
28
- if (typeof t < "u") return t.apply(this, arguments);
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);
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) {
@@ -36599,24 +36599,24 @@ function W_(t) {
36599
36599
  }
36600
36600
  var G_ = ["mathjax-newcm-font", "mathjax-mhchem-font-extension"].map(W_), K_ = /%%URL%%\/([^"')]+)/g;
36601
36601
  function q_(e) {
36602
- let t = a(e);
36603
- H_ = !!t;
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 ?? "";
36602
+ let n = r(e);
36603
+ H_ = !!n;
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 = t(e, `${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
36618
  let o = [...e.urls?.keys() ?? []];
36619
- return e.root || o.some((e) => G_.some((t) => e.startsWith(`${t}/`))) || n(H_ ? "no-web-fonts" : "no-web-fonts-or-speech"), t;
36619
+ return e.root || o.some((e) => G_.some((t) => e.startsWith(`${t}/`))) || i(H_ ? "no-web-fonts" : "no-web-fonts-or-speech"), n;
36620
36620
  }
36621
36621
  function J_() {
36622
36622
  return new Promise((e) => {
@@ -36633,13 +36633,13 @@ function Y_(e) {
36633
36633
  function X_(e, t, n) {
36634
36634
  if (Cm.startup) throw Error("[math-rendering] The bundled MathJax starts once");
36635
36635
  z_(e), de.asyncLoad = V_, Y_(n);
36636
- let i = q_(t), a = e.loader?.load?.includes("a11y/assistive-mml") ?? !1;
36636
+ let r = q_(t), i = e.loader?.load?.includes("a11y/assistive-mml") ?? !1;
36637
36637
  Cm.config = e, Cm._ = {
36638
36638
  a11y: {
36639
36639
  explorer: { Region: Oc },
36640
36640
  explorer_ts: gl,
36641
36641
  sre_ts: Js,
36642
- ...a ? { "assistive-mml": qt } : {}
36642
+ ...i ? { "assistive-mml": qt } : {}
36643
36643
  },
36644
36644
  output: { chtml_ts: { CHTML: ym } },
36645
36645
  ui: { menu: { Menu: { Menu: Ah } } }
@@ -36662,11 +36662,11 @@ function X_(e, t, n) {
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
+ r && (u.createWorker = async (e) => a(r, e));
36666
36666
  let d = new Ql(u, 5);
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);
36667
+ d = oc(d, new lu({ allowHtmlInTokenNodes: !0 })), d = Dc(d, null), d = bl(d), i && (d = Zt(d)), d = Yh(d), de.handlers.register(d);
36668
36668
  let f = { ...e.options };
36669
- i || (f.enableEnrichment = !1);
36669
+ r || (f.enableEnrichment = !1);
36670
36670
  let p = de.document(document, {
36671
36671
  ...f,
36672
36672
  MenuClass: U_,
@@ -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-DMJdB93L.js.map
36692
+ //# sourceMappingURL=mathjax-CptWnMbQ-BymmkoDr.js.map