@silurus/ooxml 0.89.0 → 0.89.1

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 (65) hide show
  1. package/THIRD_PARTY_NOTICES.md +1 -1
  2. package/dist/assets/render-worker-C5G_Nr_A.js +35 -0
  3. package/dist/assets/render-worker-DQfWdNsm.js +16 -0
  4. package/dist/assets/render-worker-Ds7LjwU-.js +15 -0
  5. package/dist/bounded-raw-part-cache-CsnNptAy.js +33925 -0
  6. package/dist/{canvas-viewer-mechanics-DfQqRKkD.js → canvas-viewer-mechanics-BZ8QCrRi.js} +2 -2
  7. package/dist/{cfb-guard-9QTRTg7f.js → cfb-guard-dNeUiANF.js} +1 -1
  8. package/dist/chart-ex.mjs +477 -477
  9. package/dist/{comment-overlay-controller-B5_zGgG5.js → comment-overlay-controller-CBvQx-En.js} +16 -16
  10. package/dist/{comment-ui-runtime-D_sb2K6s.js → comment-ui-runtime-BKidRH36.js} +3 -3
  11. package/dist/{comment-ui-runtime-Jy-3goA9.js → comment-ui-runtime-C47QoDUy.js} +3 -3
  12. package/dist/{document-model-source-BKNrXjAL.js → document-model-source-MzFPrxt0.js} +44 -44
  13. package/dist/{document-pull-client-CxONDGbk.js → document-pull-client-BoJeuURD.js} +6102 -7994
  14. package/dist/{document-pull-worker-AMyXYpPq.js → document-pull-worker-CaP8XESP.js} +18 -18
  15. package/dist/{docx-D91ER1_S.js → docx-BN70UhvX.js} +24 -24
  16. package/dist/{docx-DhDnKEI6.js → docx-BRRtSvk3.js} +556 -556
  17. package/dist/{docx-model-source-CdrSt3hF.js → docx-model-source-CTO9iw_W.js} +12 -12
  18. package/dist/docx.mjs +4 -4
  19. package/dist/{drawingml-shape-ChcGZNd8.js → drawingml-shape-CHmq8kpM.js} +55 -55
  20. package/dist/{duotone-ekYik4ix.js → duotone-DN8P4aXe.js} +1 -1
  21. package/dist/{emf-UT6I8rVi.js → emf-CGFQIz6c.js} +60 -60
  22. package/dist/{font-preload-demand-CdJZUMCT.js → font-preload-demand-Dmy31xt-.js} +2 -2
  23. package/dist/{grid-geometry-uQOgViJU.js → grid-geometry-C3IG20ut.js} +1 -1
  24. package/dist/{host-layout-measure-CCEgaC_v.js → host-layout-measure-DsuQ2UJs.js} +1 -1
  25. package/dist/index.mjs +3 -3
  26. package/dist/internal-companion.mjs +2 -2
  27. package/dist/{line-distribute-CPOV6csk.js → line-distribute-Bu8psjGd.js} +153 -70
  28. package/dist/{model-source-DJGzDtGb.js → model-source-s5hRpk4w.js} +4 -4
  29. package/dist/{model-source-session-Bu9CHFHc.js → model-source-session-6fuaqbGs.js} +18 -18
  30. package/dist/{model-source-session-CDuijwv1.js → model-source-session-DqrR4XHR.js} +2 -2
  31. package/dist/{model-source-session-sKpNiIJI.js → model-source-session-cPJSF_Ak.js} +10 -10
  32. package/dist/node.mjs +5 -5
  33. package/dist/{bounded-raw-part-cache-B7JoC1CD.js → plot-area-frame-Bs_j4uu7.js} +15189 -37964
  34. package/dist/{pptx-C_uxLVKB.js → pptx-CaJ6ILnw.js} +9 -9
  35. package/dist/{pptx-CDP9dZHe.js → pptx-_BOGcBym.js} +58 -58
  36. package/dist/{pptx-model-source-O7LhpOjz.js → pptx-model-source-B_9afw9R.js} +5 -5
  37. package/dist/pptx.mjs +5 -5
  38. package/dist/{presentation-model-source-tmROzteR.js → presentation-model-source-CGHLyX32.js} +5 -5
  39. package/dist/region-map.mjs +53 -53
  40. package/dist/{render-CJVglUHl.js → render-CzbDzRKa.js} +2 -2
  41. package/dist/{render-worker-host-BseIaVvm.js → render-worker-host-B1u6BOUd.js} +1 -1
  42. package/dist/{render-worker-host-CyxPU4JU.js → render-worker-host-C-EECo68.js} +1 -1
  43. package/dist/{render-worker-host-aF6aWkC0.js → render-worker-host-DDqZTCVf.js} +1 -1
  44. package/dist/renderer-CD2cvVAF.js +5823 -0
  45. package/dist/{renderer-CkGLj0CC.js → renderer-DRoeb14O.js} +696 -696
  46. package/dist/{resource-measurement-mXw-WjMF.js → resource-measurement-Dhhm7P_l.js} +162 -161
  47. package/dist/{session-Csv9maad.js → session-XPmC0CUd.js} +176 -176
  48. package/dist/{slide-pull-client-DRZYwBTu.js → slide-pull-client-tq7U_fYg.js} +1454 -1484
  49. package/dist/{three-d-BK5siJgJ.js → three-d-BKwNPAP4.js} +107 -107
  50. package/dist/three-d.mjs +625 -625
  51. package/dist/{wasm-runtime-generation-DX4y0Ecl.js → wasm-runtime-generation-D6TKZdNb.js} +4 -4
  52. package/dist/{workbook-model-source-BTC4ISTS.js → workbook-model-source-BIGrfZy6.js} +6 -6
  53. package/dist/worker-source-DrwhR9fw.js +22 -0
  54. package/dist/{worksheet-pull-client-CkHgbtyM.js → worksheet-pull-client-ClvPO_Jf.js} +74 -74
  55. package/dist/{xlsx-CpSDPAEU.js → xlsx-CsmREBaZ.js} +430 -420
  56. package/dist/{xlsx-D5569TPf.js → xlsx-DmHfeNNp.js} +24 -24
  57. package/dist/{xlsx-model-source-DPSkjFic.js → xlsx-model-source-D1flORqy.js} +55 -55
  58. package/dist/xlsx.mjs +5 -5
  59. package/package.json +1 -1
  60. package/dist/assets/render-worker-CUOU6mL2.js +0 -16
  61. package/dist/assets/render-worker-DOqrFhSU.js +0 -15
  62. package/dist/assets/render-worker-DvWUdZUN.js +0 -35
  63. package/dist/plot-area-frame-CaJFvZ7p.js +0 -8502
  64. package/dist/renderer-Czw1cCC7.js +0 -5823
  65. package/dist/worker-source-I1cIYBel.js +0 -22
@@ -1,8 +1,8 @@
1
- import { Dn as e, Gn as t, Hn as n, Kn as r, Q as i, qn as a } from "./bounded-raw-part-cache-B7JoC1CD.js";
2
- import { C as o, S as s, _ as c, a as l, b as u, g as d, h as f, l as p, m, p as h, r as g, x as _, y as v } from "./canvas-viewer-mechanics-DfQqRKkD.js";
1
+ import { An as e, En as t, Y as n, dn as r, jn as i, kn as a } from "./bounded-raw-part-cache-CsnNptAy.js";
2
+ import { C as o, S as s, _ as c, a as l, b as u, g as d, h as f, l as p, m, p as h, r as g, x as _, y as v } from "./canvas-viewer-mechanics-BZ8QCrRi.js";
3
3
  //#region packages/core/src/fonts/embedded.ts
4
- function y(t, n = e) {
5
- return t.byteLength > 0 && t.byteLength <= n;
4
+ function y(e, t = r) {
5
+ return e.byteLength > 0 && e.byteLength <= t;
6
6
  }
7
7
  function b(e, t) {
8
8
  let n = x(t), r = e.slice(), i = Math.min(32, r.length);
@@ -21,11 +21,11 @@ function ee(e, t, n, r) {
21
21
  for (let e = 0; e < r.length; e++) i ^= r[e], i = Math.imul(i, 16777619);
22
22
  return `${e}|${t}|${n}|${r.length}|${(i >>> 0).toString(16)}`;
23
23
  }
24
- async function S(i, o = e) {
25
- let s = n();
24
+ async function S(n, o = r) {
25
+ let s = t();
26
26
  if (!s || typeof FontFace > "u") return [];
27
27
  let c = [], l = /* @__PURE__ */ new Set(), u = [];
28
- for (let e of i) try {
28
+ for (let e of n) try {
29
29
  if (!y(e.bytes, o)) {
30
30
  u.push(e.family);
31
31
  continue;
@@ -33,7 +33,7 @@ async function S(i, o = e) {
33
33
  let t = e.odttf ? b(e.bytes, e.fontKey ?? "") : e.bytes, n = `embedded:${ee(e.family, e.weight, e.style, t)}`;
34
34
  if (l.has(n)) continue;
35
35
  l.add(n);
36
- let { face: r } = a(n, s, () => {
36
+ let { face: r } = i(n, s, () => {
37
37
  let n = t.buffer.slice(t.byteOffset, t.byteOffset + t.byteLength), r = new FontFace(e.family, n, {
38
38
  weight: e.weight,
39
39
  style: e.style
@@ -46,16 +46,16 @@ async function S(i, o = e) {
46
46
  }
47
47
  let d = c;
48
48
  if (c.length > 0) {
49
- let e = await t(Promise.allSettled(c.map((e) => Promise.resolve().then(() => e.load()))));
50
- Array.isArray(e) ? (d = [], e.forEach((e, t) => {
51
- let n = c[t];
52
- e.status === "fulfilled" ? d.push(n) : (u.push(n.family), r([n]));
53
- })) : (u.push(...c.map((e) => e.family)), r(c), d = []);
49
+ let t = await a(Promise.allSettled(c.map((e) => Promise.resolve().then(() => e.load()))));
50
+ Array.isArray(t) ? (d = [], t.forEach((t, n) => {
51
+ let r = c[n];
52
+ t.status === "fulfilled" ? d.push(r) : (u.push(r.family), e([r]));
53
+ })) : (u.push(...c.map((e) => e.family)), e(c), d = []);
54
54
  }
55
55
  return u.length > 0 && console.warn(`[ooxml] failed to register embedded font(s): ${[...new Set(u)].join(", ")}; falling back to substitute fonts (text may shift or differ).`), d;
56
56
  }
57
- function C(e) {
58
- r(e);
57
+ function C(t) {
58
+ e(t);
59
59
  }
60
60
  //#endregion
61
61
  //#region packages/core/src/layout/virtual-scroll.ts
@@ -684,7 +684,7 @@ var Q = class {
684
684
  return Math.max(0, t - n - r);
685
685
  }
686
686
  dpr() {
687
- return this.hooks.options().dpr ?? i();
687
+ return this.hooks.options().dpr ?? n();
688
688
  }
689
689
  }, re = class {
690
690
  notify;
@@ -1,6 +1,6 @@
1
- import { E as e } from "./comment-overlay-controller-B5_zGgG5.js";
2
- import { L as t } from "./document-pull-client-CxONDGbk.js";
3
- import { f as n } from "./docx-DhDnKEI6.js";
1
+ import { E as e } from "./comment-overlay-controller-CBvQx-En.js";
2
+ import { L as t } from "./document-pull-client-BoJeuURD.js";
3
+ import { f as n } from "./docx-BRRtSvk3.js";
4
4
  import { i as r, n as i, o as a, r as o, s, t as c } from "./read-only-comment-margin-B52rDVKo.js";
5
5
  import { i as l, n as u, r as d, t as f } from "./read-only-comment-decoration-PidH0wnP.js";
6
6
  //#region packages/docx/src/comment-margin.ts
@@ -1,6 +1,6 @@
1
- import { xa as e } from "./plot-area-frame-CaJFvZ7p.js";
2
- import { E as t } from "./comment-overlay-controller-B5_zGgG5.js";
3
- import { r as n } from "./pptx-CDP9dZHe.js";
1
+ import { Aa as e } from "./plot-area-frame-Bs_j4uu7.js";
2
+ import { E as t } from "./comment-overlay-controller-CBvQx-En.js";
3
+ import { r as n } from "./pptx-_BOGcBym.js";
4
4
  import { i as r, n as i, o as a, r as o, t as s } from "./read-only-comment-margin-B52rDVKo.js";
5
5
  import { i as c, n as l, r as u, t as d } from "./read-only-comment-decoration-PidH0wnP.js";
6
6
  //#region packages/pptx/src/comment-margin.ts
@@ -1,8 +1,8 @@
1
- import { F as e, N as t, Un as n, Wn as r, cn as i, dn as a } from "./bounded-raw-part-cache-B7JoC1CD.js";
2
- import { P as o, b as s } from "./comment-overlay-controller-B5_zGgG5.js";
3
- import { N as c, _ as l, a as u, d, f, j as p, l as m, o as h, p as g, s as _, v, y } from "./document-pull-client-CxONDGbk.js";
4
- import { _ as b, c as x, g as S, h as C, l as w, m as T, u as E } from "./docx-DhDnKEI6.js";
5
- import { T as D } from "./canvas-viewer-mechanics-DfQqRKkD.js";
1
+ import { Dn as e, N as t, On as n, Xt as r, j as i, qt as a } from "./bounded-raw-part-cache-CsnNptAy.js";
2
+ import { P as o, b as s } from "./comment-overlay-controller-CBvQx-En.js";
3
+ import { N as c, _ as l, a as u, d, f, j as p, l as m, o as h, p as g, s as _, v, y } from "./document-pull-client-BoJeuURD.js";
4
+ import { _ as b, c as x, g as S, h as C, l as w, m as T, u as E } from "./docx-BRRtSvk3.js";
5
+ import { T as D } from "./canvas-viewer-mechanics-BZ8QCrRi.js";
6
6
  import { n as O } from "./renderer-module-contract-CWM7jv6d.js";
7
7
  import { n as k, o as A, r as j } from "./model-source-kz_NkZqT.js";
8
8
  import { t as M } from "./bundled-asset-url-E2nXURF9.js";
@@ -30,7 +30,7 @@ async function F(j, M = {}, N) {
30
30
  if (F?.aborted) throw new y();
31
31
  };
32
32
  L();
33
- let R = i(M.cjkFallback), z = e(M), B = Date.now(), V = M.mode ?? "main", H = new t({
33
+ let R = a(M.cjkFallback), z = t(M), B = Date.now(), V = M.mode ?? "main", H = new i({
34
34
  enabled: !0,
35
35
  format: "docx",
36
36
  mode: V,
@@ -40,24 +40,24 @@ async function F(j, M = {}, N) {
40
40
  });
41
41
  try {
42
42
  if (V === "worker" && (typeof Worker > "u" || typeof OffscreenCanvas > "u")) throw Error("mode: 'worker' requires Worker and OffscreenCanvas support");
43
- let e;
43
+ let t;
44
44
  if (typeof j == "string") {
45
- let t = await fetch(j, { signal: F });
46
- if (!t.ok) throw Error(`Failed to fetch: ${t.status} ${t.statusText}`);
47
- e = await t.arrayBuffer();
48
- } else e = j;
45
+ let e = await fetch(j, { signal: F });
46
+ if (!e.ok) throw Error(`Failed to fetch: ${e.status} ${e.statusText}`);
47
+ t = await e.arrayBuffer();
48
+ } else t = j;
49
49
  L();
50
- let t = A(M.legacyDoc === void 0 ? void 0 : [M.legacyDoc], "docx", new Uint8Array(e));
51
- if (!t) return x.load(e, {
50
+ let i = A(M.legacyDoc === void 0 ? void 0 : [M.legacyDoc], "docx", new Uint8Array(t));
51
+ if (!i) return x.load(t, {
52
52
  ...M,
53
53
  legacyDoc: void 0
54
54
  });
55
- let i = k(t, "docx");
55
+ let a = k(i, "docx");
56
56
  try {
57
- H.setSourceBytes(e.byteLength), H.checkpoint("container ready");
58
- let t = V === "worker" ? (await import("./render-worker-host-aF6aWkC0.js")).createRenderWorker() : new (await (import("./worker-source-SbudzjYL.js"))).default(), k, A, j = !1, U = () => {
57
+ H.setSourceBytes(t.byteLength), H.checkpoint("container ready");
58
+ let i = V === "worker" ? (await import("./render-worker-host-DDqZTCVf.js")).createRenderWorker() : new (await (import("./worker-source-SbudzjYL.js"))).default(), k, A, j = !1, U = () => {
59
59
  j || !k || (j = !0, k.destroy());
60
- }, W = I(t, i, M, (e) => {
60
+ }, W = I(i, a, M, (e) => {
61
61
  k && P(k, e);
62
62
  }), G = V === "worker" ? O(M) : void 0, K = V === "worker" && !!M.progressiveLayout;
63
63
  try {
@@ -67,8 +67,8 @@ async function F(j, M = {}, N) {
67
67
  B,
68
68
  M.wasmUrl
69
69
  ]), k = A, F?.addEventListener("abort", U, { once: !0 }), L(), k._metrics = H, k._cjkFallback = R, k._allowFootnoteContinuation = M.allowFootnoteContinuation !== !1;
70
- let t = c(k), D = p(M.currentDate, t.defaultCurrentDateMs, M.showTrackedChanges === !0);
71
- t.activeLayoutOptions = D, await k._parse(e, z.policy, V === "worker" ? !!M.useGoogleFonts : !1, M.workerTimeoutMs, (e) => H.observeUsage(e), G, K ? {
70
+ let i = c(k), D = p(M.currentDate, i.defaultCurrentDateMs, M.showTrackedChanges === !0);
71
+ i.activeLayoutOptions = D, await k._parse(t, z.policy, V === "worker" ? !!M.useGoogleFonts : !1, M.workerTimeoutMs, (e) => H.observeUsage(e), G, K ? {
72
72
  onPartial: M.onLayoutPartial,
73
73
  onComplete: M.onLayoutComplete,
74
74
  onProgress: M.onLayoutProgress,
@@ -91,15 +91,15 @@ async function F(j, M = {}, N) {
91
91
  faces: [],
92
92
  routes: {}
93
93
  };
94
- if (F?.aborted) throw a(P.faces), new y();
94
+ if (F?.aborted) throw r(P.faces), new y();
95
95
  k._officeFontFaces = P.faces;
96
96
  let I = [];
97
97
  if (k._mode === "main" && M.useGoogleFonts && k._document) {
98
- let e = f(k._document, R, P);
99
- I = e.installedSubstituteFamilies;
100
- let t = await n(e.names, l);
101
- if (F?.aborted) throw r(t), new y();
102
- k._googleFontFaces = t;
98
+ let t = f(k._document, R, P);
99
+ I = t.installedSubstituteFamilies;
100
+ let r = await e(t.names, l);
101
+ if (F?.aborted) throw n(r), new y();
102
+ k._googleFontFaces = r;
103
103
  }
104
104
  let q;
105
105
  if (k._mode === "main" && M.math && k._document && h(k._document) && (q = await _(k._document, M.math)), L(), k._mode === "main" && k._document && k._source) {
@@ -115,35 +115,35 @@ async function F(j, M = {}, N) {
115
115
  installedFamilies: "installed" in P ? P.installed : void 0,
116
116
  mathResources: q?.records,
117
117
  mathDrawables: q?.drawables
118
- }, r = await d(k._source, k._document, {
118
+ }, i = await d(k._source, k._document, {
119
119
  useGoogleFonts: !!M.useGoogleFonts,
120
120
  cjkFallback: R
121
121
  });
122
- if (F?.aborted) throw a(r.faces), new y();
123
- k._officeFontFaces = [...k._officeFontFaces, ...r.faces], t.services = m(k._source, {
122
+ if (F?.aborted) throw r(i.faces), new y();
123
+ k._officeFontFaces = [...k._officeFontFaces, ...i.faces], t.services = m(k._source, {
124
124
  ...n,
125
- nativeRouteMetrics: r.nativeRouteMetrics
125
+ nativeRouteMetrics: i.nativeRouteMetrics
126
126
  });
127
- let i = t.services, o = u(k._source, i, t.defaultCurrentDateMs), l = k._source.fatalParse === null, f = t.activeLayoutOptions;
127
+ let a = t.services, o = u(k._source, a, t.defaultCurrentDateMs), l = k._source.fatalParse === null, f = t.activeLayoutOptions;
128
128
  if (!f) throw Error("Active layout view was not recorded at load");
129
129
  let h = { onProgress: M.onLayoutProgress ? (t) => e._layoutObservers.notify("onLayoutProgress", M.onLayoutProgress, { committedUnits: t }) : void 0 };
130
130
  if (l && M.progressiveLayout) {
131
131
  let e = o.layoutVariants, t = k, n = new AbortController();
132
132
  t._layoutAbort = n;
133
- let r = s(), a = null, c = !0;
134
- t._layoutCompletion = E(k._source.bodyLayoutInput, i, f, {
133
+ let r = s(), i = null, c = !0;
134
+ t._layoutCompletion = E(k._source.bodyLayoutInput, a, f, {
135
135
  scheduler: {
136
136
  ...h,
137
137
  signal: n.signal
138
138
  },
139
139
  onPreview: (n) => {
140
140
  if (!c) return;
141
- let i = a === null, o = t._replaceMainLayoutPublication(e, f, a, n.layout);
141
+ let a = i === null, o = t._replaceMainLayoutPublication(e, f, i, n.layout);
142
142
  if (o === null) {
143
143
  c = !1;
144
144
  return;
145
145
  }
146
- if (a = o, i) t._layoutLifecycle.begin(), w(t, {
146
+ if (i = o, a) t._layoutLifecycle.begin(), w(t, {
147
147
  pageCount: n.layout.pages.length,
148
148
  exact: n.exact,
149
149
  complete: !1
@@ -161,13 +161,13 @@ async function F(j, M = {}, N) {
161
161
  }
162
162
  }
163
163
  }).then((n) => {
164
- c && t._replaceMainLayoutPublication(e, f, a, n) === null && (c = !1), t._layoutLifecycle.succeed(), w(t, {
164
+ c && t._replaceMainLayoutPublication(e, f, i, n) === null && (c = !1), t._layoutLifecycle.succeed(), w(t, {
165
165
  pageCount: t.pageCount,
166
166
  exact: !0,
167
167
  complete: !0
168
168
  }), t._layoutObservers.notify("onLayoutComplete", M.onLayoutComplete), r.resolve();
169
169
  }).catch((e) => {
170
- if (a === null) {
170
+ if (i === null) {
171
171
  r.reject(e);
172
172
  return;
173
173
  }
@@ -187,21 +187,21 @@ async function F(j, M = {}, N) {
187
187
  L();
188
188
  let e = N?.requestedView(), n = e === void 0 ? f : p(M.currentDate, t.defaultCurrentDateMs, e);
189
189
  t.activeLayoutOptions = n;
190
- let r = new AbortController(), a = !1, s = N?.subscribeViewChange(() => {
190
+ let r = new AbortController(), i = !1, s = N?.subscribeViewChange(() => {
191
191
  let e = N.requestedView();
192
- a || e === void 0 || e === !0 == (n.showTrackedChanges === !0) || (a = !0, r.abort());
192
+ i || e === void 0 || e === !0 == (n.showTrackedChanges === !0) || (i = !0, r.abort());
193
193
  });
194
194
  k._layoutAbort = r;
195
195
  try {
196
- let e = await v(k._source.bodyLayoutInput, i, n, {
196
+ let e = await v(k._source.bodyLayoutInput, a, n, {
197
197
  ...h,
198
198
  signal: r.signal
199
199
  });
200
- if (L(), a) continue;
200
+ if (L(), i) continue;
201
201
  o.layoutVariants.prime(n, e);
202
202
  break;
203
203
  } catch (e) {
204
- if (e instanceof y && a && !F?.aborted) continue;
204
+ if (e instanceof y && i && !F?.aborted) continue;
205
205
  throw e;
206
206
  } finally {
207
207
  s?.(), k._layoutAbort = null;
@@ -209,14 +209,14 @@ async function F(j, M = {}, N) {
209
209
  }
210
210
  else o.layoutVariants.layoutFor(f);
211
211
  }
212
- return L(), await k._resourceUsage(M.workerTimeoutMs ?? 1e3).then((e) => H.observeUsage(e), () => void 0), H.checkpoint("model and layout ready"), L(), H.succeed({ pages: k.pageCount }), i.release(), A;
212
+ return L(), await k._resourceUsage(M.workerTimeoutMs ?? 1e3).then((e) => H.observeUsage(e), () => void 0), H.checkpoint("model and layout ready"), L(), H.succeed({ pages: k.pageCount }), a.release(), A;
213
213
  } catch (e) {
214
- throw D(t, k ? U : void 0), e;
214
+ throw D(i, k ? U : void 0), e;
215
215
  } finally {
216
216
  F?.removeEventListener("abort", U);
217
217
  }
218
218
  } finally {
219
- i.release();
219
+ a.release();
220
220
  }
221
221
  } catch (e) {
222
222
  throw H.fail(e), e;