@pie-element/passage 7.1.2-next.20 → 7.1.2-next.22

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
@@ -13606,10 +13606,16 @@ function nf(e) {
13606
13606
  function rf(e = {}) {
13607
13607
  let t = e.useSingleDollar ?? !1;
13608
13608
  return async (n) => {
13609
- if (typeof window > "u" || (Xd(n), !Zd(n, t))) return;
13610
- await nf(e);
13611
- let r = Jd();
13612
- await r?.startup?.promise, typeof r?.typesetPromise == "function" && await r.typesetPromise([n]);
13609
+ if (typeof window > "u") return;
13610
+ Xd(n);
13611
+ let r = nf(e);
13612
+ if (!Zd(n, t)) {
13613
+ r.catch(() => {});
13614
+ return;
13615
+ }
13616
+ await r;
13617
+ let i = Jd();
13618
+ await i?.startup?.promise, typeof i?.typesetPromise == "function" && await i.typesetPromise([n]);
13613
13619
  };
13614
13620
  }
13615
13621
  var af = "@pie-lib/math-rendering", of = "@pie-lib/math-rendering@2", sf = null;