@pie-element/math-inline 12.1.1-next.32 → 12.1.1-next.34

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/module/print.js CHANGED
@@ -12652,10 +12652,16 @@ function Nd(e) {
12652
12652
  function Pd(e = {}) {
12653
12653
  let t = e.useSingleDollar ?? !1;
12654
12654
  return async (n) => {
12655
- if (typeof window > "u" || (Dd(n), !Od(n, t))) return;
12656
- await Nd(e);
12657
- let r = Td();
12658
- await r?.startup?.promise, typeof r?.typesetPromise == "function" && await r.typesetPromise([n]);
12655
+ if (typeof window > "u") return;
12656
+ Dd(n);
12657
+ let r = Nd(e);
12658
+ if (!Od(n, t)) {
12659
+ r.catch(() => {});
12660
+ return;
12661
+ }
12662
+ await r;
12663
+ let i = Td();
12664
+ await i?.startup?.promise, typeof i?.typesetPromise == "function" && await i.typesetPromise([n]);
12659
12665
  };
12660
12666
  }
12661
12667
  var Fd = "@pie-lib/math-rendering", Id = "@pie-lib/math-rendering@2", Ld = null;