arpeggi-framer-components 0.0.16 → 0.0.18

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.es.js CHANGED
@@ -8309,11 +8309,11 @@ const an = new Ip(), Ia = "Recording.wav", Bp = 1500, Zp = (e) => {
8309
8309
  cursor: "not-allowed"
8310
8310
  }
8311
8311
  }), eu = () => {
8312
- var r;
8313
- const { data: e } = La(), t = (r = e == null ? void 0 : e.recombinedAudioUrl) == null ? void 0 : r.url, { player: i, playPause: n } = Op(t);
8314
- return /* @__PURE__ */ Ee.jsx(qp, { onClick: n, disabled: i.isLoading || !t, children: /* @__PURE__ */ Ee.jsxs(ct, { children: [
8315
- /* @__PURE__ */ Ee.jsx(ct.If, { isTrue: i.isLoading || (e == null ? void 0 : e.jobStatus) === "running", children: /* @__PURE__ */ Ee.jsx(yp, {}) }),
8316
- /* @__PURE__ */ Ee.jsx(ct.If, { isTrue: i.isPlaying, children: /* @__PURE__ */ Ee.jsx(bp, {}) }),
8312
+ var a;
8313
+ const { data: e, isMutating: t } = La(), i = (a = e == null ? void 0 : e.lossyOutputFile) == null ? void 0 : a.url, { player: n, playPause: r } = Op(i);
8314
+ return /* @__PURE__ */ Ee.jsx(qp, { onClick: r, disabled: n.isLoading || !i, children: /* @__PURE__ */ Ee.jsxs(ct, { children: [
8315
+ /* @__PURE__ */ Ee.jsx(ct.If, { isTrue: n.isLoading || (e == null ? void 0 : e.jobStatus) === "running" || t, children: /* @__PURE__ */ Ee.jsx(yp, {}) }),
8316
+ /* @__PURE__ */ Ee.jsx(ct.If, { isTrue: n.isPlaying, children: /* @__PURE__ */ Ee.jsx(bp, {}) }),
8317
8317
  /* @__PURE__ */ Ee.jsx(ct.Else, { children: /* @__PURE__ */ Ee.jsx(wp, {}) })
8318
8318
  ] }) });
8319
8319
  }, Wp = 1, Up = 100 * 1024 * 1024, Vp = 1, Hp = 100, tu = ({ children: e }) => {