@banou/ripple 0.0.35 → 0.0.36

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.
Files changed (51) hide show
  1. package/README.md +8 -0
  2. package/ar-CS4Yzfxw-ntfoSy6g.js +52 -0
  3. package/assets/worker-C5z2LwD4.js +23 -0
  4. package/cs-CxBZ1aTx-DJlDhThf.js +52 -0
  5. package/de-BByk96M5.js +529 -0
  6. package/de-DphEdq0O-Cx5KYfi3.js +52 -0
  7. package/el-BVTNfAWK-DR4z_l3g.js +52 -0
  8. package/es-419-BSBCtqRj.js +529 -0
  9. package/es-419-D6gsvnn8-DPOi-mTp.js +52 -0
  10. package/fkn.json +1 -1
  11. package/fr-BqAzAJX0-tO4ZnrRx.js +52 -0
  12. package/fr-DTVt1r9F.js +529 -0
  13. package/he-DbFw1CdO-BQBjAJw3.js +52 -0
  14. package/hi-rBroV7g8-BKMVjsFT.js +52 -0
  15. package/hu-m-QKaaxF-BMZqq-7P.js +52 -0
  16. package/id-BYpApdK9-Dkgrchef.js +52 -0
  17. package/index.js +17467 -11400
  18. package/it-DFIqX3Zv.js +529 -0
  19. package/it-NTcUh3Gr-lPnPd57N.js +52 -0
  20. package/ja-BNOeE4ac.js +529 -0
  21. package/ja-DSmX_bxj-CtZfcziw.js +52 -0
  22. package/ko-AySLianc.js +529 -0
  23. package/ko-DyPzWasj-BzWTky6S.js +52 -0
  24. package/libav-jspi.wasm +0 -0
  25. package/libav-worker.js +74 -129
  26. package/libav.wasm +0 -0
  27. package/ms-8pQbqM0D-CqJOEt8R.js +52 -0
  28. package/nl-q7xvc3xW-wNb_UuNc.js +52 -0
  29. package/package.json +1 -1
  30. package/pl-C6Ow4ra5-DnFaIeqF.js +52 -0
  31. package/pl-CbVJGC-B.js +529 -0
  32. package/pt-BR-BcfbDHsH.js +529 -0
  33. package/pt-BR-wudK3giz-CNnIslbU.js +52 -0
  34. package/remote-CbOGAlJZ.js +229 -0
  35. package/ro-DBrd08Df-DVgJ76rr.js +52 -0
  36. package/ru-BuCRhXdv.js +529 -0
  37. package/ru-D5kxBkik-Co3SZGx7.js +52 -0
  38. package/sv-DJC3tXfW-CtNN1hTP.js +52 -0
  39. package/sw.js +2 -2
  40. package/th-BNzU_FYo-R9JeWVkr.js +52 -0
  41. package/tr-CW7R7N9k-CKbYpVyF.js +52 -0
  42. package/tr-C_v8NzIK.js +529 -0
  43. package/uk-C66esN2W-BVOzQwRO.js +52 -0
  44. package/vi-oOaDECwu-P7-ObqFb.js +52 -0
  45. package/volume-normalizer-worklet.js +40 -26
  46. package/zh-Hans-D_1CA1C3.js +529 -0
  47. package/zh-Hans-IhL1Pl78-BSKvaC2F.js +52 -0
  48. package/zh-Hant-C5YyFjEc-Dghd5nFF.js +52 -0
  49. package/zh-Hant-CQCQPnti.js +529 -0
  50. package/assets/worker-kaROsro7.js +0 -23
  51. package/remote-DvdN47iT.js +0 -209
package/libav-worker.js CHANGED
@@ -1,4 +1,4 @@
1
- //#region node_modules/osra/build/index.js
1
+ // node_modules/osra/build/index.js
2
2
  var e = Object.defineProperty, t = (t, n) => {
3
3
  let r = {};
4
4
  for (var i in t) e(r, i, {
@@ -462,24 +462,23 @@ var e = Object.defineProperty, t = (t, n) => {
462
462
  mt.set(e, t), e.eventTarget.addEventListener("message", ({ detail: n }) => {
463
463
  if (n.type !== "message" && n.type !== "message-port-close" || t.tombstones.has(n.portId)) return;
464
464
  let r = t.ports.get(n.portId);
465
- if (n.seq === void 0) {
466
- r?.handler?.(n);
467
- return;
468
- }
469
- if (!r) {
470
- if (t.pendingPorts >= pt) return;
471
- r = gt(t, n.portId);
472
- }
473
- if (!(n.seq < r.nextSeq)) {
474
- if (r.buffer.size >= ft && !(n.seq === r.nextSeq && r.handler)) {
475
- r.buffer.clear(), _t(t, n.portId), r.handler?.({
476
- type: "message-port-close",
477
- remoteUuid: e.remoteUuid,
478
- portId: n.portId
479
- });
480
- return;
465
+ if (n.seq === void 0) r?.handler?.(n);
466
+ else {
467
+ if (!r) {
468
+ if (t.pendingPorts >= pt) return;
469
+ r = gt(t, n.portId);
470
+ }
471
+ if (!(n.seq < r.nextSeq)) {
472
+ if (r.buffer.size >= ft && !(n.seq === r.nextSeq && r.handler)) {
473
+ r.buffer.clear(), _t(t, n.portId), r.handler?.({
474
+ type: "message-port-close",
475
+ remoteUuid: e.remoteUuid,
476
+ portId: n.portId
477
+ });
478
+ return;
479
+ }
480
+ r.buffer.set(n.seq, n), vt(r);
481
481
  }
482
- r.buffer.set(n.seq, n), vt(r);
483
482
  }
484
483
  }), Je(e, () => {
485
484
  for (let [n, r] of [...t.ports]) r.handler?.({
@@ -538,11 +537,7 @@ var e = Object.defineProperty, t = (t, n) => {
538
537
  let t = s.deref();
539
538
  t?.removeEventListener("message", p), t instanceof R && (t._onClose = void 0);
540
539
  }, f = (e) => {
541
- if (e.type === "message-port-close") {
542
- d(), a.dispatchEvent(new Event("close")), a.close();
543
- return;
544
- }
545
- Tt(e.data, t, (e) => wt(a, e, !1), () => {});
540
+ e.type === "message-port-close" ? (d(), a.dispatchEvent(new Event("close")), a.close()) : Tt(e.data, t, (e) => wt(a, e, !1), () => {});
546
541
  };
547
542
  function p({ data: e }) {
548
543
  t.sendMessage({
@@ -582,21 +577,13 @@ var e = Object.defineProperty, t = (t, n) => {
582
577
  let a = nt(() => Z(r, t)), o = ct(a), s = Array.isArray(i) ? i : [], c = s.length ? [...o, ...s] : o, l = () => {
583
578
  e.postMessage(a, c), H(c);
584
579
  };
585
- if (n && !n.shipped) {
586
- n.pending.push(l);
587
- return;
588
- }
589
- l();
580
+ n && !n.shipped ? n.pending.push(l) : l();
590
581
  }, r.start = () => e.start();
591
582
  let s = () => {
592
583
  e.removeEventListener("message", i), e.removeEventListener("messageerror", a), e.removeEventListener("close", o), e.close();
593
584
  };
594
585
  return r.close = () => {
595
- if (n && !n.shipped) {
596
- n.pending.push(s);
597
- return;
598
- }
599
- s();
586
+ n && !n.shipped ? n.pending.push(s) : s();
600
587
  }, r;
601
588
  }, Ft = (e) => {
602
589
  if (O(e.transport)) {
@@ -681,15 +668,11 @@ var e = Object.defineProperty, t = (t, n) => {
681
668
  let a, o = () => {
682
669
  n.close(), Bt.delete(n), a?.();
683
670
  };
684
- if (r && Ye(t)) {
685
- i(/* @__PURE__ */ Error("osra: connection closed")), o();
686
- return;
687
- }
688
- a = r ? Je(t, () => {
671
+ r && Ye(t) ? (i(/* @__PURE__ */ Error("osra: connection closed")), o()) : (a = r ? Je(t, () => {
689
672
  i(/* @__PURE__ */ Error("osra: connection closed")), o();
690
673
  }) : void 0, n.addEventListener("message", ({ data: t }) => {
691
674
  t.type === "resolve" ? e(t.data) : i(t.error), o();
692
- }, { once: !0 }), n.start();
675
+ }, { once: !0 }), n.start());
693
676
  });
694
677
  }, Ut = /* @__PURE__ */ t({
695
678
  box: () => Jt,
@@ -1478,11 +1461,7 @@ var e = Object.defineProperty, t = (t, n) => {
1478
1461
  revive: (e, t) => ({})
1479
1462
  }
1480
1463
  ], Ar = (e, t) => t.find((t) => t.type === e.type), jr = (e) => !!e && typeof e == "object" && Object.getPrototypeOf(e) === Object.prototype, Mr = (e, t) => Array.isArray(e) ? e.map((e) => t(e)) : jr(e) ? Object.fromEntries(Object.entries(e).map(([e, n]) => [e, t(n)])) : e, Nr = /* @__PURE__ */ new WeakSet(), Pr = /* @__PURE__ */ new WeakSet(), Fr = 0, Ir = [], Lr = (e, t) => {
1481
- if (Fr === 0) {
1482
- e();
1483
- return;
1484
- }
1485
- Ir.push({
1464
+ Fr === 0 ? e() : Ir.push({
1486
1465
  commit: e,
1487
1466
  rollback: t
1488
1467
  });
@@ -1681,14 +1660,10 @@ var e = Object.defineProperty, t = (t, n) => {
1681
1660
  }
1682
1661
  for (let e of t) {
1683
1662
  let t = e.wake;
1684
- if (t) {
1685
- e.wake = void 0, t({
1686
- value: r,
1687
- done: !1
1688
- });
1689
- continue;
1690
- }
1691
- e.buffered.push(r);
1663
+ t ? (e.wake = void 0, t({
1664
+ value: r,
1665
+ done: !1
1666
+ })) : e.buffered.push(r);
1692
1667
  }
1693
1668
  }
1694
1669
  },
@@ -1780,14 +1755,10 @@ var e = Object.defineProperty, t = (t, n) => {
1780
1755
  rejectRemoteValue: S,
1781
1756
  abortConnection: (e) => {
1782
1757
  let t = _.get(e);
1783
- if (!t) {
1784
- v.add(e);
1785
- return;
1786
- }
1787
- _.delete(e), w({
1758
+ t ? (_.delete(e), w({
1788
1759
  type: "close",
1789
1760
  remoteUuid: e
1790
- }), Xe(t.connection.revivableContext), S(/* @__PURE__ */ Error("osra: connection aborted"));
1761
+ }), Xe(t.connection.revivableContext), S(/* @__PURE__ */ Error("osra: connection aborted"))) : v.add(e);
1791
1762
  },
1792
1763
  claimPendingAbort: (e) => v.delete(e),
1793
1764
  addConnection: (e, t) => {
@@ -1828,8 +1799,7 @@ var e = Object.defineProperty, t = (t, n) => {
1828
1799
  for (let e of $r) e.init(te);
1829
1800
  return Xr(b, y, h);
1830
1801
  }, ti = (e, t) => ei(e, t), ni = {};
1831
- //#endregion
1832
- //#region dist/libav.js
1802
+ // dist/libav.js
1833
1803
  (function(e, t) {
1834
1804
  var n = (() => {
1835
1805
  var e = typeof document < "u" ? document.currentScript?.src : void 0;
@@ -1951,20 +1921,18 @@ var e = Object.defineProperty, t = (t, n) => {
1951
1921
  if (i - t > 16 && e.buffer && Te) return Te.decode(e.subarray(t, i));
1952
1922
  for (var a = ""; t < i;) {
1953
1923
  var o = e[t++];
1954
- if (!(o & 128)) {
1955
- a += String.fromCharCode(o);
1956
- continue;
1957
- }
1958
- var s = e[t++] & 63;
1959
- if ((o & 224) == 192) {
1960
- a += String.fromCharCode((o & 31) << 6 | s);
1961
- continue;
1962
- }
1963
- var c = e[t++] & 63;
1964
- if (o = (o & 240) == 224 ? (o & 15) << 12 | s << 6 | c : (o & 7) << 18 | s << 12 | c << 6 | e[t++] & 63, o < 65536) a += String.fromCharCode(o);
1924
+ if (!(o & 128)) a += String.fromCharCode(o);
1965
1925
  else {
1966
- var l = o - 65536;
1967
- a += String.fromCharCode(55296 | l >> 10, 56320 | l & 1023);
1926
+ var s = e[t++] & 63;
1927
+ if ((o & 224) == 192) a += String.fromCharCode((o & 31) << 6 | s);
1928
+ else {
1929
+ var c = e[t++] & 63;
1930
+ if (o = (o & 240) == 224 ? (o & 15) << 12 | s << 6 | c : (o & 7) << 18 | s << 12 | c << 6 | e[t++] & 63, o < 65536) a += String.fromCharCode(o);
1931
+ else {
1932
+ var l = o - 65536;
1933
+ a += String.fromCharCode(55296 | l >> 10, 56320 | l & 1023);
1934
+ }
1935
+ }
1968
1936
  }
1969
1937
  }
1970
1938
  return a;
@@ -2209,7 +2177,7 @@ var e = Object.defineProperty, t = (t, n) => {
2209
2177
  }, xt = {}, St = {}, Ct = (e, t) => {
2210
2178
  for (t === void 0 && z("ptr should not be undefined"); e.baseClass;) t = e.upcast(t), e = e.baseClass;
2211
2179
  return t;
2212
- }, wt = (e, t) => (t = Ct(e, t), St[t]), Tt = (e, t) => ((!t.ptrType || !t.ptr) && rt("makeClassHandle requires ptr and ptrType"), !!t.smartPtrType != !!t.smartPtr && rt("Both smartPtrType and smartPtr must be specified"), t.count = { value: 1 }, Dt(Object.create(e, { $$: {
2180
+ }, wt = (e, t) => (t = Ct(e, t), St[t]), Tt = (e, t) => (t.ptrType && t.ptr || rt("makeClassHandle requires ptr and ptrType"), !!t.smartPtrType != !!t.smartPtr && rt("Both smartPtrType and smartPtr must be specified"), t.count = { value: 1 }, Dt(Object.create(e, { $$: {
2213
2181
  value: t,
2214
2182
  writable: !0
2215
2183
  } })));
@@ -2317,7 +2285,7 @@ var e = Object.defineProperty, t = (t, n) => {
2317
2285
  function U(e, t) {
2318
2286
  var n;
2319
2287
  if (t === null) return this.isReference && z(`null is not a valid ${this.name}`), this.isSmartPointer ? (n = this.rawConstructor(), e !== null && e.push(this.rawDestructor, n), n) : 0;
2320
- (!t || !t.$$) && z(`Cannot pass "${ot(t)}" as a ${this.name}`), t.$$.ptr || z(`Cannot pass deleted object as a pointer of type ${this.name}`), !this.isConst && t.$$.ptrType.isConst && z(`Cannot convert argument of type ${t.$$.smartPtrType ? t.$$.smartPtrType.name : t.$$.ptrType.name} to parameter type ${this.name}`);
2288
+ t && t.$$ || z(`Cannot pass "${ot(t)}" as a ${this.name}`), t.$$.ptr || z(`Cannot pass deleted object as a pointer of type ${this.name}`), !this.isConst && t.$$.ptrType.isConst && z(`Cannot convert argument of type ${t.$$.smartPtrType ? t.$$.smartPtrType.name : t.$$.ptrType.name} to parameter type ${this.name}`);
2321
2289
  var r = t.$$.ptrType.registeredClass;
2322
2290
  if (n = zt(t.$$.ptr, r, this.registeredClass), this.isSmartPointer) switch (t.$$.smartPtr === void 0 && z("Passing raw pointer to smart pointer is illegal"), this.sharingPolicy) {
2323
2291
  case 0:
@@ -2387,13 +2355,7 @@ var e = Object.defineProperty, t = (t, n) => {
2387
2355
  }, Zt = (e, t) => {
2388
2356
  var n = [], r = {};
2389
2357
  function i(e) {
2390
- if (!r[e] && !L[e]) {
2391
- if (tt[e]) {
2392
- tt[e].forEach(i);
2393
- return;
2394
- }
2395
- n.push(e), r[e] = !0;
2396
- }
2358
+ r[e] || L[e] || (tt[e] ? tt[e].forEach(i) : (n.push(e), r[e] = !0));
2397
2359
  }
2398
2360
  throw t.forEach(i), new Yt(`${e}: ` + n.map(Xt).join([", "]));
2399
2361
  }, Qt = (e, t, n, r, i, a, o, s, c, l, u, d, f) => {
@@ -3080,7 +3042,7 @@ var e = Object.defineProperty, t = (t, n) => {
3080
3042
  l: Ln,
3081
3043
  za: Rn,
3082
3044
  ka: zn,
3083
- w: Hn,
3045
+ x: Hn,
3084
3046
  oa: Un,
3085
3047
  I: Gn,
3086
3048
  va: gn,
@@ -3101,7 +3063,7 @@ var e = Object.defineProperty, t = (t, n) => {
3101
3063
  N: Sr,
3102
3064
  $: Dr,
3103
3065
  aa: Or,
3104
- v: kr,
3066
+ w: kr,
3105
3067
  _: Ar,
3106
3068
  G: jr,
3107
3069
  Z: Mr,
@@ -3112,7 +3074,7 @@ var e = Object.defineProperty, t = (t, n) => {
3112
3074
  K: Ei,
3113
3075
  b: bi,
3114
3076
  d: vi,
3115
- x: Ci,
3077
+ v: Ci,
3116
3078
  wa: ki,
3117
3079
  xa: Oi,
3118
3080
  A: Si,
@@ -3143,13 +3105,13 @@ var e = Object.defineProperty, t = (t, n) => {
3143
3105
  var oi = r.dynCall_iiiji = Y.Vb;
3144
3106
  r.dynCall_iiijjji = Y.Wb, r.dynCall_jiiij = Y.Xb, r.dynCall_iiiiij = Y.Yb, r.dynCall_iiiiiij = Y.Zb, r.dynCall_jiiji = Y._b;
3145
3107
  var si = r.dynCall_viiid = Y.$b, ci = r.dynCall_viiidii = Y.ac;
3146
- r.dynCall_viif = Y.bc, r.dynCall_dii = Y.cc, r.dynCall_viid = Y.dc, r.dynCall_diji = Y.ec, r.dynCall_iiiid = Y.fc;
3147
- var li = r.dynCall_iid = Y.gc, ui = r.dynCall_iiiiiiiiiii = Y.hc;
3148
- r.dynCall_iiiidii = Y.ic;
3149
- var di = r.dynCall_di = Y.jc, fi = r.dynCall_vid = Y.kc, pi = r.dynCall_vij = Y.lc;
3150
- r.dynCall_diiii = Y.mc, r.dynCall_iidiiii = Y.nc;
3151
- var mi = Y.oc, hi = Y.pc, gi = Y.qc, _i = Y.rc;
3152
- r._ff_h264_cabac_tables = 1216105;
3108
+ r.dynCall_dii = Y.bc, r.dynCall_viid = Y.cc, r.dynCall_diji = Y.dc, r.dynCall_iiiid = Y.ec;
3109
+ var li = r.dynCall_iid = Y.fc, ui = r.dynCall_iiiiiiiiiii = Y.gc;
3110
+ r.dynCall_iiiidii = Y.hc;
3111
+ var di = r.dynCall_di = Y.ic, fi = r.dynCall_vid = Y.jc, pi = r.dynCall_vij = Y.kc;
3112
+ r.dynCall_diiii = Y.lc, r.dynCall_iidiiii = Y.mc;
3113
+ var mi = Y.nc, hi = Y.oc, gi = Y.pc, _i = Y.qc;
3114
+ r._ff_h264_cabac_tables = 1216169;
3153
3115
  function vi(e, t, n, r) {
3154
3116
  var i = j();
3155
3117
  try {
@@ -3332,11 +3294,7 @@ var e = Object.defineProperty, t = (t, n) => {
3332
3294
  }
3333
3295
  r.getExceptionMessage = Rr;
3334
3296
  function Ri() {
3335
- if (D > 0) {
3336
- ce = Ri;
3337
- return;
3338
- }
3339
- if (ae(), D > 0) {
3297
+ if (D > 0 || (ae(), D > 0)) {
3340
3298
  ce = Ri;
3341
3299
  return;
3342
3300
  }
@@ -3361,8 +3319,7 @@ var e = Object.defineProperty, t = (t, n) => {
3361
3319
  }
3362
3320
  }, ni);
3363
3321
  var ri = ni, ii = {};
3364
- //#endregion
3365
- //#region dist/libav-jspi.js
3322
+ // dist/libav-jspi.js
3366
3323
  (function(e, t) {
3367
3324
  var n = (() => {
3368
3325
  var e = typeof document < "u" ? document.currentScript?.src : void 0;
@@ -3481,20 +3438,18 @@ var ri = ni, ii = {};
3481
3438
  if (i - t > 16 && e.buffer && Se) return Se.decode(e.subarray(t, i));
3482
3439
  for (var a = ""; t < i;) {
3483
3440
  var o = e[t++];
3484
- if (!(o & 128)) {
3485
- a += String.fromCharCode(o);
3486
- continue;
3487
- }
3488
- var s = e[t++] & 63;
3489
- if ((o & 224) == 192) {
3490
- a += String.fromCharCode((o & 31) << 6 | s);
3491
- continue;
3492
- }
3493
- var c = e[t++] & 63;
3494
- if (o = (o & 240) == 224 ? (o & 15) << 12 | s << 6 | c : (o & 7) << 18 | s << 12 | c << 6 | e[t++] & 63, o < 65536) a += String.fromCharCode(o);
3441
+ if (!(o & 128)) a += String.fromCharCode(o);
3495
3442
  else {
3496
- var l = o - 65536;
3497
- a += String.fromCharCode(55296 | l >> 10, 56320 | l & 1023);
3443
+ var s = e[t++] & 63;
3444
+ if ((o & 224) == 192) a += String.fromCharCode((o & 31) << 6 | s);
3445
+ else {
3446
+ var c = e[t++] & 63;
3447
+ if (o = (o & 240) == 224 ? (o & 15) << 12 | s << 6 | c : (o & 7) << 18 | s << 12 | c << 6 | e[t++] & 63, o < 65536) a += String.fromCharCode(o);
3448
+ else {
3449
+ var l = o - 65536;
3450
+ a += String.fromCharCode(55296 | l >> 10, 56320 | l & 1023);
3451
+ }
3452
+ }
3498
3453
  }
3499
3454
  }
3500
3455
  return a;
@@ -3681,7 +3636,7 @@ var ri = ni, ii = {};
3681
3636
  }, R = {}, lt = {}, z = (e, t) => {
3682
3637
  for (t === void 0 && P("ptr should not be undefined"); e.baseClass;) t = e.upcast(t), e = e.baseClass;
3683
3638
  return t;
3684
- }, ut = (e, t) => (t = z(e, t), lt[t]), B = (e, t) => ((!t.ptrType || !t.ptr) && Ke("makeClassHandle requires ptr and ptrType"), !!t.smartPtrType != !!t.smartPtr && Ke("Both smartPtrType and smartPtr must be specified"), t.count = { value: 1 }, ft(Object.create(e, { $$: {
3639
+ }, ut = (e, t) => (t = z(e, t), lt[t]), B = (e, t) => (t.ptrType && t.ptr || Ke("makeClassHandle requires ptr and ptrType"), !!t.smartPtrType != !!t.smartPtr && Ke("Both smartPtrType and smartPtr must be specified"), t.count = { value: 1 }, ft(Object.create(e, { $$: {
3685
3640
  value: t,
3686
3641
  writable: !0
3687
3642
  } })));
@@ -3789,7 +3744,7 @@ var ri = ni, ii = {};
3789
3744
  function Et(e, t) {
3790
3745
  var n;
3791
3746
  if (t === null) return this.isReference && P(`null is not a valid ${this.name}`), this.isSmartPointer ? (n = this.rawConstructor(), e !== null && e.push(this.rawDestructor, n), n) : 0;
3792
- (!t || !t.$$) && P(`Cannot pass "${Ye(t)}" as a ${this.name}`), t.$$.ptr || P(`Cannot pass deleted object as a pointer of type ${this.name}`), !this.isConst && t.$$.ptrType.isConst && P(`Cannot convert argument of type ${t.$$.smartPtrType ? t.$$.smartPtrType.name : t.$$.ptrType.name} to parameter type ${this.name}`);
3747
+ t && t.$$ || P(`Cannot pass "${Ye(t)}" as a ${this.name}`), t.$$.ptr || P(`Cannot pass deleted object as a pointer of type ${this.name}`), !this.isConst && t.$$.ptrType.isConst && P(`Cannot convert argument of type ${t.$$.smartPtrType ? t.$$.smartPtrType.name : t.$$.ptrType.name} to parameter type ${this.name}`);
3793
3748
  var r = t.$$.ptrType.registeredClass;
3794
3749
  if (n = wt(t.$$.ptr, r, this.registeredClass), this.isSmartPointer) switch (t.$$.smartPtr === void 0 && P("Passing raw pointer to smart pointer is illegal"), this.sharingPolicy) {
3795
3750
  case 0:
@@ -3858,13 +3813,7 @@ var ri = ni, ii = {};
3858
3813
  }, Lt = (e, t) => {
3859
3814
  var n = [], r = {};
3860
3815
  function i(e) {
3861
- if (!r[e] && !M[e]) {
3862
- if (We[e]) {
3863
- We[e].forEach(i);
3864
- return;
3865
- }
3866
- n.push(e), r[e] = !0;
3867
- }
3816
+ r[e] || M[e] || (We[e] ? We[e].forEach(i) : (n.push(e), r[e] = !0));
3868
3817
  }
3869
3818
  throw t.forEach(i), new Ft(`${e}: ` + n.map(It).join([", "]));
3870
3819
  }, Rt = (e, t, n, r, i, a, o, s, c, l, u, d, f) => {
@@ -4481,13 +4430,9 @@ var ri = ni, ii = {};
4481
4430
  }, J = await _e();
4482
4431
  J.__wasm_call_ctors;
4483
4432
  var br = J.__getTypeName, xr = J.free, Sr = J.malloc, Cr = J.__trap, wr = J._emscripten_stack_restore, Tr = J._emscripten_stack_alloc, Er = J.emscripten_stack_get_current, Dr = J.__cxa_decrement_exception_refcount, Or = J.__cxa_increment_exception_refcount, kr = J.__thrown_object_from_unwind_exception, Ar = J.__get_exception_message;
4484
- r._ff_h264_cabac_tables = 1216265, r.getExceptionMessage = vr;
4433
+ r._ff_h264_cabac_tables = 1216329, r.getExceptionMessage = vr;
4485
4434
  function jr() {
4486
- if (se > 0) {
4487
- D = jr;
4488
- return;
4489
- }
4490
- if (ie(), se > 0) {
4435
+ if (se > 0 || (ie(), se > 0)) {
4491
4436
  D = jr;
4492
4437
  return;
4493
4438
  }
@@ -4560,6 +4505,7 @@ ti({ makeRemuxer: async ({ publicPath: e, length: t, bufferSize: n, audioStreamI
4560
4505
  let t = new Uint8Array(e.data.byteLength);
4561
4506
  return t.set(e.data), {
4562
4507
  data: t.buffer,
4508
+ timestampOffset: e.timestampOffset,
4563
4509
  videoExtradata: new Uint8Array(ci(e.videoExtradata)).buffer,
4564
4510
  attachments: ci(e.attachments).map((e) => {
4565
4511
  let t = new Uint8Array(a.HEAPU8.buffer, e.ptr, e.size), n = new Uint8Array(t);
@@ -4729,7 +4675,7 @@ ti({ makeRemuxer: async ({ publicPath: e, length: t, bufferSize: n, audioStreamI
4729
4675
  }
4730
4676
  let n = await s.readKeyframe(c(e), t);
4731
4677
  if (!n.data?.byteLength) throw Error("empty keyframe data");
4732
- if ((!h || h.state === "closed") && (h = m()), h.state === "unconfigured") {
4678
+ if (h && h.state !== "closed" || (h = m()), h.state === "unconfigured") {
4733
4679
  if (!d) throw Error("decoder not configured");
4734
4680
  h.configure(d);
4735
4681
  }
@@ -4747,4 +4693,3 @@ ti({ makeRemuxer: async ({ publicPath: e, length: t, bufferSize: n, audioStreamI
4747
4693
  }
4748
4694
  };
4749
4695
  } }, { transport: globalThis });
4750
- //#endregion
package/libav.wasm CHANGED
Binary file
@@ -0,0 +1,52 @@
1
+ //#region node_modules/@banou/media-player/dist/ms-8pQbqM0D.js
2
+ var e = "Audio", t = "Disalin", n = "Salin", r = "Mati", i = "Redam", a = "Jeda", o = "Main", s = "Kualiti", c = "Main semula", l = "Tetapan", u = "Sari kata", d = "Tidak tersedia", f = "dipulihkan", p = {
3
+ "(Default)": "(Biasa)",
4
+ Audio: e,
5
+ Copied: t,
6
+ Copy: n,
7
+ "Copy the errors": "Salin ralat",
8
+ "Could not switch. Try again.": "Tidak dapat bertukar. Cuba lagi.",
9
+ Disable: r,
10
+ "Exit full screen (f)": "Keluar skrin penuh (f)",
11
+ "Exit picture in picture": "Keluar gambar dalam gambar",
12
+ "Full screen": "Skrin penuh",
13
+ "Full screen (f)": "Skrin penuh (f)",
14
+ Mute: i,
15
+ "Mute (m)": "Redam (m)",
16
+ "Normalize volume": "Seimbangkan kelantangan",
17
+ "Now click your browser's pop out button": "Sekarang klik butang gambar dalam gambar pada pelayar anda",
18
+ Pause: a,
19
+ "Pause (k)": "Jeda (k)",
20
+ "Picture in picture": "Gambar dalam gambar",
21
+ Play: o,
22
+ "Play (k)": "Main (k)",
23
+ "Playback errors ({count})": "Ralat main balik ({count})",
24
+ "Playback failed": "Main balik gagal",
25
+ "Playback speed": "Kelajuan main balik",
26
+ "Put the subtitles in the picture": "Benamkan sari kata dalam gambar",
27
+ "Put the subtitles in the video": "Benamkan sari kata dalam video",
28
+ Quality: s,
29
+ "Reading the video file failed": "Fail video tidak dapat dibaca",
30
+ Replay: c,
31
+ "Replay (k)": "Main semula (k)",
32
+ Settings: l,
33
+ "Skip Ending": "Langkau penutup",
34
+ "Skip Opening": "Langkau intro",
35
+ Subtitles: u,
36
+ "Subtitles are in the picture": "Sari kata sudah ada dalam gambar",
37
+ "The MediaSource closed before a SourceBuffer could be created": "MediaSource ditutup sebelum SourceBuffer dapat dibuat",
38
+ "The MediaSource never opened": "MediaSource tidak pernah dibuka",
39
+ "The browser rejected a media segment": "Pelayar menolak satu segmen media",
40
+ "The video codec in this file could not be identified": "Codec video dalam fail ini tidak dapat dikenal pasti",
41
+ "This browser cannot play the codecs in this file: {codecs}": "Pelayar ini tidak dapat memainkan codec dalam fail ini: {codecs}",
42
+ "This file has no subtitles": "Fail ini tiada sari kata",
43
+ "Track {number}": "Trek {number}",
44
+ Unavailable: d,
45
+ "Unmute (m)": "Nyahredam (m)",
46
+ "at {time}": "pada {time}",
47
+ recovered: f,
48
+ "{rate}x": "{rate}x",
49
+ "{start} to {end}": "{start} hingga {end}"
50
+ };
51
+ //#endregion
52
+ export { e as Audio, t as Copied, n as Copy, r as Disable, i as Mute, a as Pause, o as Play, s as Quality, c as Replay, l as Settings, u as Subtitles, d as Unavailable, p as default, f as recovered };
@@ -0,0 +1,52 @@
1
+ //#region node_modules/@banou/media-player/dist/nl-q7xvc3xW.js
2
+ var e = "Audio", t = "Gekopieerd", n = "Kopiëren", r = "Uit", i = "Dempen", a = "Pauzeren", o = "Afspelen", s = "Kwaliteit", c = "Opnieuw afspelen", l = "Instellingen", u = "Ondertitels", d = "Niet beschikbaar", f = "hersteld", p = {
3
+ "(Default)": "(Normaal)",
4
+ Audio: e,
5
+ Copied: t,
6
+ Copy: n,
7
+ "Copy the errors": "Fouten kopiëren",
8
+ "Could not switch. Try again.": "Wisselen is mislukt. Probeer het opnieuw.",
9
+ Disable: "Uit",
10
+ "Exit full screen (f)": "Volledig scherm sluiten (f)",
11
+ "Exit picture in picture": "Beeld-in-beeld sluiten",
12
+ "Full screen": "Volledig scherm",
13
+ "Full screen (f)": "Volledig scherm (f)",
14
+ Mute: i,
15
+ "Mute (m)": "Dempen (m)",
16
+ "Normalize volume": "Volume gelijktrekken",
17
+ "Now click your browser's pop out button": "Klik nu op de beeld-in-beeldknop van je browser",
18
+ Pause: a,
19
+ "Pause (k)": "Pauzeren (k)",
20
+ "Picture in picture": "Beeld-in-beeld",
21
+ Play: o,
22
+ "Play (k)": "Afspelen (k)",
23
+ "Playback errors ({count})": "Afspeelfouten ({count})",
24
+ "Playback failed": "Afspelen mislukt",
25
+ "Playback speed": "Afspeelsnelheid",
26
+ "Put the subtitles in the picture": "Ondertitels in het beeld branden",
27
+ "Put the subtitles in the video": "Ondertitels in de video branden",
28
+ Quality: s,
29
+ "Reading the video file failed": "Het videobestand kon niet worden gelezen",
30
+ Replay: c,
31
+ "Replay (k)": "Opnieuw afspelen (k)",
32
+ Settings: l,
33
+ "Skip Ending": "Aftiteling overslaan",
34
+ "Skip Opening": "Intro overslaan",
35
+ Subtitles: u,
36
+ "Subtitles are in the picture": "De ondertitels staan in het beeld",
37
+ "The MediaSource closed before a SourceBuffer could be created": "De MediaSource sloot voordat er een SourceBuffer kon worden gemaakt",
38
+ "The MediaSource never opened": "De MediaSource is nooit geopend",
39
+ "The browser rejected a media segment": "De browser heeft een mediasegment geweigerd",
40
+ "The video codec in this file could not be identified": "De videocodec van dit bestand kon niet worden herkend",
41
+ "This browser cannot play the codecs in this file: {codecs}": "Deze browser kan de codecs van dit bestand niet afspelen: {codecs}",
42
+ "This file has no subtitles": "Dit bestand heeft geen ondertitels",
43
+ "Track {number}": "Track {number}",
44
+ Unavailable: d,
45
+ "Unmute (m)": "Dempen opheffen (m)",
46
+ "at {time}": "bij {time}",
47
+ recovered: f,
48
+ "{rate}x": "{rate}x",
49
+ "{start} to {end}": "{start} tot {end}"
50
+ };
51
+ //#endregion
52
+ export { e as Audio, t as Copied, n as Copy, r as Disable, i as Mute, a as Pause, o as Play, s as Quality, c as Replay, l as Settings, u as Subtitles, d as Unavailable, p as default, f as recovered };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@banou/ripple",
3
- "version": "0.0.35",
3
+ "version": "0.0.36",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",
@@ -0,0 +1,52 @@
1
+ //#region node_modules/@banou/media-player/dist/pl-C6Ow4ra5.js
2
+ var e = "Dźwięk", t = "Skopiowano", n = "Kopiuj", r = "Wyłączone", i = "Wycisz", a = "Wstrzymaj", o = "Odtwórz", s = "Jakość", c = "Odtwórz ponownie", l = "Ustawienia", u = "Napisy", d = "Niedostępne", f = "naprawiono", p = {
3
+ "(Default)": "(Normalna)",
4
+ Audio: e,
5
+ Copied: t,
6
+ Copy: n,
7
+ "Copy the errors": "Kopiuj błędy",
8
+ "Could not switch. Try again.": "Nie udało się przełączyć. Spróbuj ponownie.",
9
+ Disable: r,
10
+ "Exit full screen (f)": "Zamknij pełny ekran (f)",
11
+ "Exit picture in picture": "Zamknij obraz w obrazie",
12
+ "Full screen": "Pełny ekran",
13
+ "Full screen (f)": "Pełny ekran (f)",
14
+ Mute: i,
15
+ "Mute (m)": "Wycisz (m)",
16
+ "Normalize volume": "Wyrównaj głośność",
17
+ "Now click your browser's pop out button": "Teraz kliknij przycisk obrazu w obrazie w przeglądarce",
18
+ Pause: a,
19
+ "Pause (k)": "Wstrzymaj (k)",
20
+ "Picture in picture": "Obraz w obrazie",
21
+ Play: o,
22
+ "Play (k)": "Odtwórz (k)",
23
+ "Playback errors ({count})": "Błędy odtwarzania ({count})",
24
+ "Playback failed": "Nie udało się odtworzyć",
25
+ "Playback speed": "Szybkość",
26
+ "Put the subtitles in the picture": "Wtop napisy w obraz",
27
+ "Put the subtitles in the video": "Wtop napisy w wideo",
28
+ Quality: s,
29
+ "Reading the video file failed": "Nie udało się odczytać pliku wideo",
30
+ Replay: c,
31
+ "Replay (k)": "Odtwórz ponownie (k)",
32
+ Settings: l,
33
+ "Skip Ending": "Pomiń napisy końcowe",
34
+ "Skip Opening": "Pomiń czołówkę",
35
+ Subtitles: u,
36
+ "Subtitles are in the picture": "Napisy są w obrazie",
37
+ "The MediaSource closed before a SourceBuffer could be created": "MediaSource zamknął się, zanim udało się utworzyć SourceBuffer",
38
+ "The MediaSource never opened": "MediaSource nigdy się nie otworzył",
39
+ "The browser rejected a media segment": "Przeglądarka odrzuciła segment multimedialny",
40
+ "The video codec in this file could not be identified": "Nie udało się rozpoznać kodeka wideo tego pliku",
41
+ "This browser cannot play the codecs in this file: {codecs}": "Ta przeglądarka nie może odtworzyć kodeków tego pliku: {codecs}",
42
+ "This file has no subtitles": "Ten plik nie ma napisów",
43
+ "Track {number}": "Ścieżka {number}",
44
+ Unavailable: d,
45
+ "Unmute (m)": "Wyłącz wyciszenie (m)",
46
+ "at {time}": "w {time}",
47
+ recovered: f,
48
+ "{rate}x": "{rate}x",
49
+ "{start} to {end}": "od {start} do {end}"
50
+ };
51
+ //#endregion
52
+ export { e as Audio, t as Copied, n as Copy, r as Disable, i as Mute, a as Pause, o as Play, s as Quality, c as Replay, l as Settings, u as Subtitles, d as Unavailable, p as default, f as recovered };