@pie-element/match 13.0.3 → 13.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.
@@ -1,5 +1,5 @@
1
1
  import { o as e } from "../browser-jJGxjKdp.js";
2
- import { A as t, B as n, Ct as r, O as i, St as a, Tt as o, Ut as s, a as c, bt as l, d as u, f as ee, k as d, n as f, p as te, r as ne, t as re, u as p, x as ie, xt as m } from "../Typography-CeNDvDr2.js";
2
+ import { A as t, B as n, Ct as r, O as i, St as a, Tt as o, Ut as s, a as c, bt as l, d as u, f as ee, k as d, n as f, p as te, r as ne, t as re, u as p, x as ie, xt as m } from "../Typography-CFjNllwV.js";
3
3
  import h, { useRef as g } from "react";
4
4
  import { createRoot as ae } from "react-dom/client";
5
5
  import { jsx as _, jsxs as v } from "react/jsx-runtime";
@@ -1,7 +1,7 @@
1
1
  import { a as e } from "./browser-jJGxjKdp.js";
2
- import { F as t, I as n, L as r, N as i, P as a } from "./Typography-CeNDvDr2.js";
2
+ import { F as t, I as n, L as r, N as i, P as a } from "./Typography-CFjNllwV.js";
3
3
  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";
4
- //#region ../../shared/math-rendering-mathjax/dist/browser/mathjax-BKrHE4xs.js
4
+ //#region ../../shared/math-rendering-mathjax/dist/browser/mathjax-CptWnMbQ.js
5
5
  var pe = Object.create, me = Object.defineProperty, he = Object.getOwnPropertyDescriptor, ge = Object.getOwnPropertyNames, _e = Object.getPrototypeOf, C = Object.prototype.hasOwnProperty, ve = (e, t, n) => () => {
6
6
  if (n) throw n[0];
7
7
  try {
@@ -36596,28 +36596,28 @@ var H_ = !0, U_ = class extends Ah {
36596
36596
  }
36597
36597
  };
36598
36598
  function W_(e) {
36599
- return `@mathjax/${e}@${t}/chtml/woff2`;
36599
+ return `@mathjax/${e}@${n}/chtml/woff2`;
36600
36600
  }
36601
36601
  var G_ = ["mathjax-newcm-font", "mathjax-mhchem-font-extension"].map(W_), K_ = /%%URL%%\/([^"')]+)/g;
36602
36602
  function q_(e) {
36603
- let t = a(e);
36604
- H_ = !!t;
36603
+ let n = a(e);
36604
+ H_ = !!n;
36605
36605
  let i = se.addFontURLs.bind(se);
36606
- se.addFontURLs = (t, r, a) => {
36607
- if (!G_.includes(a)) return i(t, r, a);
36608
- for (let [i, o] of Object.entries(r)) {
36609
- let r = !0, s = String(o.src).replace(K_, (t, i) => {
36610
- let o = n(e, `${a}/${i}`);
36611
- return o || (r = !1), o ?? "";
36606
+ se.addFontURLs = (t, n, a) => {
36607
+ if (!G_.includes(a)) return i(t, n, a);
36608
+ for (let [i, o] of Object.entries(n)) {
36609
+ let n = !0, s = String(o.src).replace(K_, (t, i) => {
36610
+ let o = r(e, `${a}/${i}`);
36611
+ return o || (n = !1), o ?? "";
36612
36612
  });
36613
- r && (t[i] = {
36613
+ n && (t[i] = {
36614
36614
  ...o,
36615
36615
  src: s
36616
36616
  });
36617
36617
  }
36618
36618
  };
36619
36619
  let o = [...e.urls?.keys() ?? []];
36620
- return e.root || o.some((e) => G_.some((t) => e.startsWith(`${t}/`))) || r(H_ ? "no-web-fonts" : "no-web-fonts-or-speech"), t;
36620
+ return e.root || o.some((e) => G_.some((t) => e.startsWith(`${t}/`))) || t(H_ ? "no-web-fonts" : "no-web-fonts-or-speech"), n;
36621
36621
  }
36622
36622
  function J_() {
36623
36623
  return new Promise((e) => {
@@ -36690,4 +36690,4 @@ function X_(e, t, n) {
36690
36690
  //#endregion
36691
36691
  export { I_ as TEX_PACKAGES, X_ as createMathJax };
36692
36692
 
36693
- //# sourceMappingURL=mathjax-BKrHE4xs-AqEwDerm.js.map
36693
+ //# sourceMappingURL=mathjax-CptWnMbQ-bcrEM4h2.js.map