@pie-element/drawing-response 12.1.2-next.20 → 12.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.
@@ -189,10 +189,16 @@ function fe(e) {
189
189
  function pe(e = {}) {
190
190
  let t = e.useSingleDollar ?? !1;
191
191
  return async (n) => {
192
- if (typeof window > "u" || (oe(n), !se(n, t))) return;
193
- await fe(e);
194
- let r = F();
195
- await r?.startup?.promise, typeof r?.typesetPromise == "function" && await r.typesetPromise([n]);
192
+ if (typeof window > "u") return;
193
+ oe(n);
194
+ let r = fe(e);
195
+ if (!se(n, t)) {
196
+ r.catch(() => {});
197
+ return;
198
+ }
199
+ await r;
200
+ let i = F();
201
+ await i?.startup?.promise, typeof i?.typesetPromise == "function" && await i.typesetPromise([n]);
196
202
  };
197
203
  }
198
204
  var me = "@pie-lib/math-rendering", he = "@pie-lib/math-rendering@2", I = null;
@@ -10534,4 +10540,4 @@ var dh = (e, t) => {
10534
10540
  //#endregion
10535
10541
  export { Z as $, Zu as A, mu as B, Md as C, S as Ct, td as D, x as Dt, nd as E, ne as Et, Au as F, Tl as G, nu as H, Ou as I, xl as J, Cl as K, wu as L, $ as M, Wu as N, $u as O, w as Ot, Bu as P, pc as Q, xu as R, Xd as S, O as St, id as T, te as Tt, Rl as U, ru as V, Ll as W, vl as X, yl as Y, hl as Z, Ff as _, ye as _t, Fm as a, xo as at, pf as b, D as bt, Cp as c, W as ct, sp as d, Lr as dt, oc as et, ip as f, Rr as ft, zf as g, be as gt, Bf as h, Ce as ht, Vm as i, ko as it, Xu as j, Qu as k, C as kt, Sp as l, U as lt, Vf as m, Fe as mt, ih as n, nc as nt, Up as o, Xa as ot, Zf as p, Ie as pt, Sl as q, Qm as r, J as rt, Dp as s, G as st, mh as t, ic as tt, fp as u, $r as ut, Df as v, ee as vt, kd as w, b as wt, ef as x, T as xt, Tf as y, k as yt, hu as z };
10536
10542
 
10537
- //# sourceMappingURL=MenuItem-Bs-a3PUj.js.map
10543
+ //# sourceMappingURL=MenuItem-xoqmpnZK.js.map