@pie-element/drawing-response 13.0.4 → 13.0.5-next.20261012213240

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.
@@ -746,7 +746,7 @@ var An;
746
746
  function jn() {
747
747
  return An;
748
748
  }
749
- var Mn = import("./mathjax-CptWnMbQ-DcYUveQa.js");
749
+ var Mn = import("./mathjax-CptWnMbQ-Dq-pTzwJ.js");
750
750
  Mn.catch(() => {});
751
751
  async function Nn(e, t) {
752
752
  let { createMathJax: n } = await Mn;
@@ -12885,7 +12885,8 @@ var { translator: Wx } = ub, Gx = "pie-prompt-audio-player", Kx = "play-audio-bu
12885
12885
  let a = i.querySelector("audio");
12886
12886
  if (a) {
12887
12887
  let e = document.createElement("source");
12888
- if (e.setAttribute("type", "audio/mp3"), e.setAttribute("src", a.getAttribute("src")), a.removeAttribute("src"), a.id = this.audioId, a.classList.add(Gx), a.appendChild(e), n) {
12888
+ if (e.setAttribute("type", "audio/mp3"), e.setAttribute("src", a.getAttribute("src")), a.removeAttribute("src"), a.id) for (let e of i.querySelectorAll(`[${lg}]`)) e.getAttribute("data-pie-play-audio") === a.id && e.setAttribute("data-pie-play-audio", this.audioId);
12889
+ if (a.id = this.audioId, a.classList.add(Gx), a.appendChild(e), n) {
12889
12890
  a.style.display = "none";
12890
12891
  let e = document.createElement("button");
12891
12892
  e.setAttribute("type", "button"), e.setAttribute("aria-label", Wx.t("common:playAudio", { lng: r })), e.id = this.playButtonId, e.className = Kx, Object.assign(e.style, {
@@ -15111,4 +15112,4 @@ var ZC = (e, t) => {
15111
15112
  //#endregion
15112
15113
  export { Gg as $, kv as A, Kt as At, Z_ as B, hb as C, Sn as Ct, Pv as D, Yt as Dt, ey as E, qt as Et, bv as F, Ht as Ft, m_ as G, W_ as H, gv as I, Jt as It, $g as J, p_ as K, ov as L, Qt as Lt, Dv as M, Gt as Mt, Ev as N, $t as Nt, Mv as O, en as Ot, Q as P, tn as Pt, Jg as Q, iv as R, Nb as S, On as St, sy as T, gn as Tt, N_ as U, G_ as V, M_ as W, Zg as X, Qg as Y, Yg as Z, _x as _, xa as _t, xC as a, lf as at, Yb as b, va as bt, lS as c, rd as ct, Ux as d, W as dt, Sp as et, Bx as f, rl as ft, xx as g, Na as gt, Sx as h, Pa as ht, DC as i, dp as it, Ov as j, Ut as jt, jv as k, Wt as kt, cS as l, G as lt, Cx as m, Hc as mt, WC as n, hp as nt, kS as o, Fd as ot, Nx as p, Vc as pt, t_ as q, RC as r, pp as rt, pS as s, Dd as st, ew as t, Y as tt, Qx as u, Uu as ut, lx as v, ga as vt, ub as w, nn as wt, Lb as x, kn as xt, sx as y, _a as yt, ev as z };
15113
15114
 
15114
- //# sourceMappingURL=MenuItem-BCm3hJnN.js.map
15115
+ //# sourceMappingURL=MenuItem-BKI_iXPR.js.map