@silurus/ooxml 0.82.0 → 0.82.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 (27) hide show
  1. package/dist/assets/{render-worker-7-Zr7fSw.js → render-worker-Cy-QsDge.js} +1 -1
  2. package/dist/assets/{render-worker-B5gsW6b5.js → render-worker-aHayzR7v.js} +4 -4
  3. package/dist/{comment-ui-runtime-BAe30Ct9.js → comment-ui-runtime-C1RV_3iu.js} +1 -1
  4. package/dist/comment-ui-runtime-DTGN3Vyy.js +2 -0
  5. package/dist/{comment-ui-runtime-BUCj4hWn.js → comment-ui-runtime-DgCZpPR0.js} +1 -1
  6. package/dist/{document-pull-client-BCgmytqI.js → document-pull-client-B1WOjA0z.js} +1 -1
  7. package/dist/{docx-wokGKYfi.js → docx-HoZXZUPA.js} +3 -3
  8. package/dist/docx.mjs +1 -1
  9. package/dist/index.mjs +3 -3
  10. package/dist/node.mjs +5 -5
  11. package/dist/{pptx-DU8L8I2T.js → pptx-DEUP4Yq5.js} +3 -3
  12. package/dist/pptx.mjs +2 -2
  13. package/dist/{read-only-comment-margin-Dn2y55W6.js → read-only-comment-margin-DrUX-YrP.js} +1 -1
  14. package/dist/{render-CenWM4g1.js → render-BC8p7vZQ.js} +1 -1
  15. package/dist/{render-worker-host-BmH3kGSj.js → render-worker-host-BNnXCtAu.js} +1 -1
  16. package/dist/{render-worker-host-BNENN3qP.js → render-worker-host-DhnkTyjj.js} +1 -1
  17. package/dist/{session-Cky_swUj.js → session-Da7LEQUB.js} +1 -1
  18. package/dist/{slide-pull-client-CqTVFb3W.js → slide-pull-client-Bg9DusLX.js} +603 -597
  19. package/dist/types/docx.d.ts +3 -1
  20. package/dist/types/index.d.ts +9 -3
  21. package/dist/types/node.d.ts +384 -378
  22. package/dist/types/pptx.d.ts +3 -1
  23. package/dist/types/xlsx.d.ts +3 -1
  24. package/dist/{xlsx-DlV37-0j.js → xlsx-DMWeXT-c.js} +1 -1
  25. package/dist/xlsx.mjs +1 -1
  26. package/package.json +2 -1
  27. package/dist/comment-ui-runtime-F4a3te6p.js +0 -2
@@ -1,7 +1,7 @@
1
1
  import { i as e } from "./units-BzZ0gAxs.js";
2
2
  import { t } from "./highlight-rect-MaCt0om0.js";
3
3
  import { t as n } from "./comment-occurrence-C34fWs_F.js";
4
- import { i as r, n as i, o as a, r as o, t as s } from "./read-only-comment-margin-Dn2y55W6.js";
4
+ import { i as r, n as i, o as a, r as o, t as s } from "./read-only-comment-margin-DrUX-YrP.js";
5
5
  import { i as c, n as l, r as u, t as d } from "./read-only-comment-decoration-DcFevX_Q.js";
6
6
  //#region packages/pptx/src/comment-margin.ts
7
7
  function f(e, t, n) {
@@ -0,0 +1,2 @@
1
+ import { a as e } from "./read-only-comment-margin-DrUX-YrP.js";
2
+ export { e as paintReadOnlyCommentCard };
@@ -1,7 +1,7 @@
1
1
  import { t as e } from "./highlight-rect-MaCt0om0.js";
2
2
  import { o as t } from "./source-key-BklvnEyQ.js";
3
3
  import { n } from "./comments-Cf9W7r3M.js";
4
- import { i as r, n as i, o as a, r as o, s, t as c } from "./read-only-comment-margin-Dn2y55W6.js";
4
+ import { i as r, n as i, o as a, r as o, s, t as c } from "./read-only-comment-margin-DrUX-YrP.js";
5
5
  import { i as l, n as u, r as d, t as f } from "./read-only-comment-decoration-DcFevX_Q.js";
6
6
  //#region packages/docx/src/comment-margin.ts
7
7
  function p(e, r) {
@@ -21501,7 +21501,7 @@ function Wx(e, t, n) {
21501
21501
  let p = Ux(e, r, n);
21502
21502
  for (; p.advancePt > n.availableHeightPt + bx;) {
21503
21503
  let t = r.at(-1), i = r.filter((e) => e.ownership === "source").length;
21504
- if (!(t?.ownership === "source" && t.fragmentIndex === 0 && t.ranges.every((e) => e.every((e) => e.kind === "whole"))) || i <= 1) break;
21504
+ if (!(t?.ownership === "source" && t.fragmentIndex === 0) || i <= 1) break;
21505
21505
  r.pop(), l = Object.freeze({
21506
21506
  rowIndex: t.logicalRowIndex,
21507
21507
  rowFragmentIndex: 0,
@@ -2,7 +2,7 @@ import { t as e } from "./chunk-DmhlhrBa.js";
2
2
  import { B as t, Ct as n, Et as r, Jt as i, R as a, Yt as o, a as s, it as c, mt as l, q as u, z as d } from "./line-metrics-B3syvDn2.js";
3
3
  import { C as f, E as p, S as m, T as h, _ as g, a as _, b as ee, c as v, d as y, f as te, g as ne, h as re, i as b, l as x, m as ie, n as ae, o as oe, p as se, r as ce, s as le, t as ue, u as de, v as fe, w as pe, x as me, y as S } from "./canvas-viewer-mechanics-CS_qbr6T.js";
4
4
  import { a as he, c as ge, i as _e, o as ve, r as ye, s as be, t as xe } from "./bounded-raw-part-cache-C6ro6Ezf.js";
5
- import { C, E as Se, S as w, T as Ce, _ as T, a as we, b as Te, c as Ee, d as De, f as Oe, g as ke, h as Ae, l as je, m as Me, n as Ne, o as Pe, p as Fe, s as Ie, t as Le, v as Re, w as ze, x as Be, y as E } from "./document-pull-client-BCgmytqI.js";
5
+ import { C, E as Se, S as w, T as Ce, _ as T, a as we, b as Te, c as Ee, d as De, f as Oe, g as ke, h as Ae, l as je, m as Me, n as Ne, o as Pe, p as Fe, s as Ie, t as Le, v as Re, w as ze, x as Be, y as E } from "./document-pull-client-B1WOjA0z.js";
6
6
  import { cn as Ve, ln as He } from "./plot-area-frame-DHV02PJU.js";
7
7
  import { a as D } from "./units-BzZ0gAxs.js";
8
8
  import { n as Ue } from "./renderer-module-contract-DLbb7zY0.js";
@@ -473,7 +473,7 @@ var K = class e {
473
473
  t = await e.arrayBuffer();
474
474
  } else t = n;
475
475
  t = p(await h(t, r.password)), c.setSourceBytes(t.byteLength), c.checkpoint("container ready");
476
- let a = s === "worker" ? (await import("./render-worker-host-BNENN3qP.js")).createRenderWorker() : new nt(), l = s === "worker" ? Ue(r) : void 0, u;
476
+ let a = s === "worker" ? (await import("./render-worker-host-DhnkTyjj.js")).createRenderWorker() : new nt(), l = s === "worker" ? Ue(r) : void 0, u;
477
477
  try {
478
478
  if (u = new e(a, s, o, r.wasmUrl), u._metrics = c, await u._parse(t, i.policy, s === "worker" ? !!r.useGoogleFonts : !1, r.workerTimeoutMs, (e) => c.observeUsage(e), l), s === "worker" && u._mode === "main" && (c.setMode("main"), console.warn("[ooxml] mode: 'worker' fell back to main-thread rendering because this document requires DOM OpenType vertical glyph selection.")), r.math && u._mode === "worker" && !l?.math && console.warn("[ooxml] a custom math renderer cannot cross the worker boundary; equations will be skipped in mode: 'worker'. Use the math renderer from @silurus/ooxml/math."), r.threeD && u._mode === "worker" && !l?.threeD && console.warn("[ooxml] a custom 3-D chart renderer cannot cross the worker boundary; charts use their 2-D family fallback in mode: 'worker'. Use the renderer from @silurus/ooxml/three-d."), u._threeD = u._mode === "worker" ? void 0 : r.threeD, r.regionMap && u._mode === "worker" && !l?.regionMap && console.warn("[ooxml] a custom Region Map renderer cannot cross the worker boundary; geospatial charts use the unsupported-chart placeholder in mode: 'worker'. Use the renderer from @silurus/ooxml/region-map."), u._regionMap = u._mode === "worker" ? void 0 : r.regionMap, r.chartEx && u._mode === "worker" && !l?.chartEx && console.warn("[ooxml] a custom ChartEx renderer cannot cross the worker boundary; ChartEx charts use the unsupported-chart placeholder in mode: 'worker'. Use the renderer from @silurus/ooxml/chart-ex."), u._chartEx = u._mode === "worker" ? void 0 : r.chartEx, u._mode === "main" && r.useGoogleFonts && u._document && (u._googleFontFaces = await _e(Fe(u._document), Oe)), u._mode === "main" && u._document?.embeddedFonts?.length) {
479
479
  let e = u;
@@ -1294,7 +1294,7 @@ var Pt = Symbol("DocxViewer.borrowedDocument"), Q = class e {
1294
1294
  }
1295
1295
  }, Ft = 150, It = "0 1px 3px rgba(0,0,0,0.2)", $ = 12, Lt = 13, Rt = Symbol("DocxScrollViewer.borrowedDocument"), zt;
1296
1296
  function Bt() {
1297
- return zt ??= import("./comment-ui-runtime-BUCj4hWn.js");
1297
+ return zt ??= import("./comment-ui-runtime-DgCZpPR0.js");
1298
1298
  }
1299
1299
  var Vt = class e {
1300
1300
  _documentOwner;
package/dist/docx.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import { Jt as e, Yt as t, a as n } from "./line-metrics-B3syvDn2.js";
2
2
  import { w as r } from "./canvas-viewer-mechanics-CS_qbr6T.js";
3
- import { a as i, c as a, i as o, l as s, n as c, o as l, r as u, s as d } from "./docx-wokGKYfi.js";
3
+ import { a as i, c as a, i as o, l as s, n as c, o as l, r as u, s as d } from "./docx-HoZXZUPA.js";
4
4
  import { cn as f, ln as p } from "./plot-area-frame-DHV02PJU.js";
5
5
  import { n as m, r as h } from "./comments-Cf9W7r3M.js";
6
6
  export { a as DocxDocument, u as DocxScrollViewer, o as DocxViewer, f as OoxmlDecodedImageLimitError, e as OoxmlError, t as OoxmlResourceLimitError, r as autoResize, l as buildDocxHighlightLayer, d as buildDocxTextLayer, p as isOoxmlDecodedImageLimitError, c as noteText, n as openExternalHyperlink, i as readDocxTextSelectionContext, m as resolveCommentAnchorRuns, h as resolveDocxCommentThreads, s as resolveRevisionAnchorRuns };
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { t as e } from "./docx-wokGKYfi.js";
2
- import { t } from "./xlsx-DlV37-0j.js";
3
- import { t as n } from "./pptx-DU8L8I2T.js";
1
+ import { t as e } from "./docx-HoZXZUPA.js";
2
+ import { t } from "./xlsx-DMWeXT-c.js";
3
+ import { t as n } from "./pptx-DEUP4Yq5.js";
4
4
  export { e as docx, n as pptx, t as xlsx };
package/dist/node.mjs CHANGED
@@ -1,13 +1,13 @@
1
1
  import { t as e } from "./chunk-DmhlhrBa.js";
2
- import { t } from "./slide-pull-client-CqTVFb3W.js";
2
+ import { t } from "./slide-pull-client-Bg9DusLX.js";
3
3
  import { B as n, Ct as r, Et as i, F as a, H as o, I as s, P as c, R as l, U as u, W as d, Yt as f, at as p, ot as m, q as h, rt as g, st as ee } from "./line-metrics-B3syvDn2.js";
4
4
  import { t as te } from "./bounded-raw-part-cache-C6ro6Ezf.js";
5
- import { a as ne, c as re, i as ie, l as ae, r as oe, u as se } from "./document-pull-client-BCgmytqI.js";
5
+ import { a as ne, c as re, i as ie, l as ae, r as oe, u as se } from "./document-pull-client-B1WOjA0z.js";
6
6
  import { cn as ce, ln as le } from "./plot-area-frame-DHV02PJU.js";
7
7
  import { t as ue } from "./transfer-R6NjgBKD.js";
8
8
  import { a as de, c as fe, d as pe, l as me, o as he, r as ge, s as _e, t as ve, u as ye } from "./worksheet-pull-client-CYtwXP5D.js";
9
- import { a as be, i as xe, n as Se, r as Ce } from "./session-Cky_swUj.js";
10
- import { a as we, n as Te, r as Ee, t as De } from "./render-CenWM4g1.js";
9
+ import { a as be, i as xe, n as Se, r as Ce } from "./session-Da7LEQUB.js";
10
+ import { a as we, n as Te, r as Ee, t as De } from "./render-BC8p7vZQ.js";
11
11
  import { existsSync as Oe, readFileSync as ke } from "node:fs";
12
12
  import { fileURLToPath as Ae } from "node:url";
13
13
  import { basename as je, dirname as Me, resolve as Ne } from "node:path";
@@ -134,7 +134,7 @@ var Be = class {
134
134
  async renderSlide(e, t, n) {
135
135
  return this.assertOpen(), this.enqueueRender(async () => {
136
136
  b(this.signal);
137
- let { renderSlideNode: r } = await import("./render-CenWM4g1.js").then((e) => e.i);
137
+ let { renderSlideNode: r } = await import("./render-BC8p7vZQ.js").then((e) => e.i);
138
138
  await r(e, {
139
139
  slideWidth: this.slideWidth,
140
140
  slideHeight: this.slideHeight,
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./chunk-DmhlhrBa.js";
2
- import { a as t, c as n, i as r, l as i, n as a, o, r as s, s as c, t as l } from "./slide-pull-client-CqTVFb3W.js";
2
+ import { a as t, c as n, i as r, l as i, n as a, o, r as s, s as c, t as l } from "./slide-pull-client-Bg9DusLX.js";
3
3
  import { B as u, Ct as d, Et as f, G as p, Jt as m, R as h, Yt as g, a as _, at as v, ht as y, it as b, mt as x, q as S, z as C } from "./line-metrics-B3syvDn2.js";
4
4
  import { C as w, E as ee, S as te, T as ne, _ as re, a as T, b as ie, c as E, d as ae, f as oe, g as se, h as ce, i as D, l as O, m as le, n as ue, o as de, p as fe, r as pe, s as me, t as he, v as ge, w as _e, x as ve, y as ye } from "./canvas-viewer-mechanics-CS_qbr6T.js";
5
5
  import { a as be, i as xe, n as Se, t as Ce } from "./bounded-raw-part-cache-C6ro6Ezf.js";
@@ -798,7 +798,7 @@ var q = class e {
798
798
  s = await e.arrayBuffer();
799
799
  } else s = t;
800
800
  s = ee(await ne(s, n.password)), a.setSourceBytes(s.byteLength), a.checkpoint("container ready");
801
- let c = i === "worker" ? (await import("./render-worker-host-BmH3kGSj.js")).createRenderWorker() : new ot(), l = i === "worker" ? De(n) : void 0, u;
801
+ let c = i === "worker" ? (await import("./render-worker-host-BNnXCtAu.js")).createRenderWorker() : new ot(), l = i === "worker" ? De(n) : void 0, u;
802
802
  try {
803
803
  return u = new e(c, i, n.wasmUrl), u._metrics = a, n.math && i === "worker" && !l?.math && console.warn("[ooxml] a custom math renderer cannot cross the worker boundary; equations will be skipped in mode: 'worker'. Use the math renderer from @silurus/ooxml/math."), n.threeD && i === "worker" && !l?.threeD && console.warn("[ooxml] a custom 3-D chart renderer cannot cross the worker boundary; charts use their 2-D family fallback in mode: 'worker'. Use the renderer from @silurus/ooxml/three-d."), u._math = i === "worker" ? void 0 : n.math, u._threeD = i === "worker" ? void 0 : n.threeD, n.regionMap && i === "worker" && !l?.regionMap && console.warn("[ooxml] a custom Region Map renderer cannot cross the worker boundary; geospatial charts use the unsupported-chart placeholder in mode: 'worker'. Use the renderer from @silurus/ooxml/region-map."), u._regionMap = i === "worker" ? void 0 : n.regionMap, n.chartEx && i === "worker" && !l?.chartEx && console.warn("[ooxml] a custom ChartEx renderer cannot cross the worker boundary; ChartEx charts use the unsupported-chart placeholder in mode: 'worker'. Use the renderer from @silurus/ooxml/chart-ex."), u._chartEx = i === "worker" ? void 0 : n.chartEx, await u._parse(s, r.policy, i === "worker" ? !!n.useGoogleFonts : !1, n.workerTimeoutMs, (e) => a.observeUsage(e), l), a.checkpoint("presentation preflight ready"), i === "main" && n.useGoogleFonts && u._preflight && (u._googleFontFaces = await xe(u._preflight.fontPreloadNames, o)), a.succeed({ slides: u.slideCount }), u;
804
804
  } catch (e) {
@@ -1544,7 +1544,7 @@ var St = Symbol("PptxViewer.borrowedPresentation"), Z = {
1544
1544
  }
1545
1545
  }, wt = 150, Tt = "0 1px 3px rgba(0,0,0,0.2)", Q = 12, Et;
1546
1546
  function Dt() {
1547
- return Et ??= import("./comment-ui-runtime-BAe30Ct9.js");
1547
+ return Et ??= import("./comment-ui-runtime-C1RV_3iu.js");
1548
1548
  }
1549
1549
  var $ = 440, Ot = 20, kt = Symbol("PptxScrollViewer.borrowedPresentation"), At = class e {
1550
1550
  _presentationOwner;
package/dist/pptx.mjs CHANGED
@@ -1,6 +1,6 @@
1
- import { c as e } from "./slide-pull-client-CqTVFb3W.js";
1
+ import { c as e } from "./slide-pull-client-Bg9DusLX.js";
2
2
  import { Jt as t, Yt as n, a as r } from "./line-metrics-B3syvDn2.js";
3
3
  import { w as i } from "./canvas-viewer-mechanics-CS_qbr6T.js";
4
4
  import { cn as a, ln as o } from "./plot-area-frame-DHV02PJU.js";
5
- import { a as s, i as c, n as l, o as u, r as d, s as f } from "./pptx-DU8L8I2T.js";
5
+ import { a as s, i as c, n as l, o as u, r as d, s as f } from "./pptx-DEUP4Yq5.js";
6
6
  export { a as OoxmlDecodedImageLimitError, t as OoxmlError, n as OoxmlResourceLimitError, s as PptxPresentation, l as PptxScrollViewer, d as PptxViewer, i as autoResize, u as buildPptxHighlightLayer, f as buildPptxTextLayer, o as isOoxmlDecodedImageLimitError, r as openExternalHyperlink, c as readPptxTextSelectionContext, e as renderSlide };
@@ -1,5 +1,5 @@
1
1
  //#region packages/core/src/internal/read-only-comment-margin.ts
2
- var e = 1, t = "\n:where(.ooxml-comment-marker) {\n padding: 0;\n border: 0;\n cursor: pointer;\n pointer-events: auto;\n background: transparent;\n box-shadow: none;\n color: var(--ooxml-comment-marker-color, var(--ooxml-comment-author-accent));\n}\n:where([data-ooxml-comment-highlight]) {\n position: absolute;\n pointer-events: none;\n background: var(--ooxml-comment-highlight, color-mix(in srgb, var(--ooxml-comment-author-accent) 18%, transparent));\n transform-origin: top left;\n}\n:where([data-ooxml-comment-highlight][data-active=\"true\"]) {\n background: var(--ooxml-comment-highlight-active, color-mix(in srgb, var(--ooxml-comment-author-accent) 34%, transparent));\n}\n:where([data-ooxml-comment-target]) {\n position: absolute;\n box-sizing: border-box;\n pointer-events: none;\n border-style: solid;\n border-color: var(--ooxml-comment-target-border, #2563eb);\n background: var(--ooxml-comment-target-background, rgba(37, 99, 235, .06));\n transform-origin: center;\n}\n:where(.ooxml-comment-card) {\n position: relative;\n display: block;\n width: 100%;\n margin: 0 0 var(--ooxml-comment-card-gap, .42em);\n box-sizing: border-box;\n padding: var(--ooxml-comment-card-padding, .56em .68em);\n border: 0;\n border-radius: var(--ooxml-comment-card-radius, .3em);\n text-align: start;\n cursor: default;\n font: inherit;\n outline: none;\n background: var(--ooxml-comment-card-background, #fff);\n box-shadow: var(--ooxml-comment-card-shadow, none);\n}\n:where(button.ooxml-comment-card) {\n cursor: pointer;\n}\n:where(.ooxml-comment-card[data-standalone=\"true\"]) {\n position: absolute;\n width: max-content;\n max-width: 100%;\n margin: 0;\n z-index: 3;\n pointer-events: none;\n overflow: hidden;\n font-size: 13px;\n}\n:where(.ooxml-comment-card[data-active=\"true\"]) {\n background: var(--ooxml-comment-card-active-background, #eff6ff);\n box-shadow: var(--ooxml-comment-card-active-shadow, none);\n}\n:where(.ooxml-comment-card[data-focused=\"true\"]) {\n box-shadow: var(--ooxml-comment-card-focus-shadow, 0 0 0 .12em rgba(37, 99, 235, .65));\n}\n:where(.ooxml-comment-card [data-ooxml-comment-part=\"content\"]) {\n min-width: 0;\n flex: 1;\n}\n:where(.ooxml-comment-card [data-ooxml-comment-part=\"identity\"]) {\n display: flex;\n align-items: baseline;\n gap: .48em;\n min-width: 0;\n}\n:where(.ooxml-comment-card__author) {\n min-width: 0;\n font: 700 .84em/1.3 var(--ooxml-comment-font-family, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif);\n color: var(--ooxml-comment-author-color, #0f172a);\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n:where(.ooxml-comment-card__date) {\n font: 500 .66em/1.35 var(--ooxml-comment-date-font-family, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace);\n color: var(--ooxml-comment-muted-color, #64748b);\n white-space: nowrap;\n}\n:where(.ooxml-comment-card__body) {\n margin-top: .28em;\n font: 400 .84em/1.45 var(--ooxml-comment-font-family, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif);\n color: var(--ooxml-comment-body-color, #334155);\n white-space: pre-wrap;\n overflow-wrap: anywhere;\n}\n:where(.ooxml-comment-card__reply) {\n margin: .55em 0 0 .45em;\n padding: .08em 0 0 .65em;\n border-left: .08em solid var(--ooxml-comment-reply-border, rgba(100, 116, 139, .24));\n}\n:where(.ooxml-comment-card [data-ooxml-comment-part=\"frame\"]) {\n position: absolute;\n inset: 0;\n box-sizing: border-box;\n pointer-events: none;\n border-radius: inherit;\n border: var(--ooxml-comment-card-border, 1px solid rgba(148, 163, 184, .34));\n border-left: var(--ooxml-comment-card-border-left, .14em solid var(--ooxml-comment-author-accent));\n border-right: var(--ooxml-comment-card-border-right, var(--ooxml-comment-card-border, 1px solid rgba(148, 163, 184, .34)));\n}\n:where(.ooxml-comment-card[data-active=\"true\"] [data-ooxml-comment-part=\"frame\"]) {\n border: var(--ooxml-comment-card-active-border, 1px solid rgba(37, 99, 235, .5));\n border-left: var(--ooxml-comment-card-border-left, .14em solid var(--ooxml-comment-author-accent));\n border-right: var(--ooxml-comment-card-border-right, var(--ooxml-comment-card-active-border, 1px solid rgba(37, 99, 235, .5)));\n}\n:where([data-ooxml-comment-ui=\"margin\"] > [data-ooxml-comment-item]) {\n position: absolute;\n left: 0;\n padding: 0 .14em;\n box-sizing: border-box;\n transform-origin: 0 0;\n}\n";
2
+ var e = 1, t = "\n:where(.ooxml-comment-marker) {\n padding: 0;\n border: 0;\n cursor: pointer;\n pointer-events: auto;\n background: transparent;\n box-shadow: none;\n color: var(--ooxml-comment-marker-color, var(--ooxml-comment-author-accent));\n}\n:where([data-ooxml-comment-highlight]) {\n position: absolute;\n pointer-events: none;\n background: var(--ooxml-comment-highlight, color-mix(in srgb, var(--ooxml-comment-author-accent) 18%, transparent));\n transform-origin: top left;\n}\n:where([data-ooxml-comment-highlight][data-active=\"true\"]) {\n background: var(--ooxml-comment-highlight-active, color-mix(in srgb, var(--ooxml-comment-author-accent) 34%, transparent));\n}\n:where([data-ooxml-comment-target]) {\n position: absolute;\n box-sizing: border-box;\n pointer-events: none;\n border-style: solid;\n border-color: var(--ooxml-comment-target-border, #2563eb);\n background: var(--ooxml-comment-target-background, rgba(37, 99, 235, .06));\n transform-origin: center;\n}\n:where(.ooxml-comment-card) {\n position: relative;\n display: block;\n width: 100%;\n margin: 0 0 var(--ooxml-comment-card-gap, .42em);\n box-sizing: border-box;\n padding: var(--ooxml-comment-card-padding, .56em .68em);\n border: 0;\n border-radius: var(--ooxml-comment-card-radius, .3em);\n text-align: start;\n cursor: default;\n font: inherit;\n outline: none;\n background: var(--ooxml-comment-card-background, #fff);\n box-shadow: var(--ooxml-comment-card-shadow, none);\n}\n:where(button.ooxml-comment-card) {\n cursor: pointer;\n}\n:where(.ooxml-comment-card[data-standalone=\"true\"]) {\n position: absolute;\n width: max-content;\n max-width: 100%;\n margin: 0;\n z-index: 3;\n pointer-events: none;\n overflow: hidden;\n font-size: 13px;\n}\n:where(.ooxml-comment-card[data-active=\"true\"]) {\n background: var(--ooxml-comment-card-active-background, #eff6ff);\n box-shadow: var(--ooxml-comment-card-active-shadow, none);\n}\n:where(.ooxml-comment-card[data-focused=\"true\"]) {\n box-shadow: var(--ooxml-comment-card-focus-shadow, 0 0 0 .12em rgba(37, 99, 235, .65));\n}\n:where(.ooxml-comment-card [data-ooxml-comment-part=\"content\"]) {\n min-width: 0;\n flex: 1;\n}\n:where(.ooxml-comment-card [data-ooxml-comment-part=\"identity\"]) {\n display: flex;\n align-items: baseline;\n gap: .48em;\n min-width: 0;\n}\n:where(.ooxml-comment-card__author) {\n min-width: 0;\n font: 700 .84em/1.3 var(--ooxml-comment-font-family, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif);\n color: var(--ooxml-comment-author-color, #0f172a);\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n:where(.ooxml-comment-card__date) {\n font: 500 .66em/1.35 var(--ooxml-comment-date-font-family, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace);\n color: var(--ooxml-comment-muted-color, #64748b);\n white-space: nowrap;\n}\n:where(.ooxml-comment-card__body) {\n margin-top: .28em;\n font: 400 .84em/1.45 var(--ooxml-comment-font-family, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif);\n color: var(--ooxml-comment-body-color, #334155);\n white-space: pre-wrap;\n overflow-wrap: anywhere;\n}\n:where(.ooxml-comment-card__reply) {\n margin: .55em 0 0 .45em;\n padding: .08em 0 0 .65em;\n border-left: .08em solid var(--ooxml-comment-reply-border, rgba(100, 116, 139, .24));\n}\n:where(.ooxml-comment-card [data-ooxml-comment-part=\"frame\"]) {\n position: absolute;\n inset: 0;\n box-sizing: border-box;\n pointer-events: none;\n border-radius: inherit;\n border: var(--ooxml-comment-card-border, 1px solid rgba(148, 163, 184, .34));\n border-left: var(--ooxml-comment-card-border-left, .14em solid var(--ooxml-comment-author-accent));\n border-right: var(--ooxml-comment-card-border-right, var(--ooxml-comment-card-border, 1px solid rgba(148, 163, 184, .34)));\n}\n:where(.ooxml-comment-card[data-active=\"true\"] [data-ooxml-comment-part=\"frame\"]) {\n border: var(--ooxml-comment-card-active-border, 1px solid rgba(37, 99, 235, .5));\n border-left: var(--ooxml-comment-card-border-left, .14em solid var(--ooxml-comment-author-accent));\n border-right: var(--ooxml-comment-card-border-right, var(--ooxml-comment-card-active-border, 1px solid rgba(37, 99, 235, .5)));\n}\n:where([data-ooxml-comment-ui=\"margin\"] > [data-ooxml-comment-item]) {\n position: absolute;\n left: 0;\n padding: 0 .14em;\n box-sizing: border-box;\n transform-origin: 0 0;\n}\n:where([data-ooxml-comment-ui=\"margin\"] > [data-ooxml-comment-item]:last-child > .ooxml-comment-card) {\n margin-bottom: 0;\n}\n";
3
3
  function n(e) {
4
4
  let n = e.head;
5
5
  if (!n || n.querySelector("style[data-ooxml-comment-styles]")) return;
@@ -43,7 +43,7 @@ function a(e, t) {
43
43
  return n = o.then(() => void 0, () => void 0), o;
44
44
  }
45
45
  async function o(e, t, n, r = {}) {
46
- let { renderSlide: i } = await import("./session-Cky_swUj.js").then((e) => e.t), o = t.slides[n];
46
+ let { renderSlide: i } = await import("./session-Da7LEQUB.js").then((e) => e.t), o = t.slides[n];
47
47
  if (!o) throw Error(`Slide index ${n} out of range`);
48
48
  let s = r.width ?? 960, c = r.dpr ?? 2, l = r.fetchImage ?? (async () => new Blob([])), u = async () => {
49
49
  await i(e, o, t.slideWidth, t.slideHeight, {
@@ -1,5 +1,5 @@
1
1
  //#region packages/pptx/src/render-worker.ts?worker&url
2
- var e = "" + new URL("assets/render-worker-B5gsW6b5.js", import.meta.url).href;
2
+ var e = "" + new URL("assets/render-worker-aHayzR7v.js", import.meta.url).href;
3
3
  //#endregion
4
4
  //#region packages/pptx/src/render-worker-host.ts
5
5
  function t() {
@@ -1,5 +1,5 @@
1
1
  //#region packages/docx/src/render-worker.ts?worker&url
2
- var e = "" + new URL("assets/render-worker-7-Zr7fSw.js", import.meta.url).href;
2
+ var e = "" + new URL("assets/render-worker-Cy-QsDge.js", import.meta.url).href;
3
3
  //#endregion
4
4
  //#region packages/docx/src/render-worker-host.ts
5
5
  function t() {
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./chunk-DmhlhrBa.js";
2
- import { c as t, i as n } from "./slide-pull-client-CqTVFb3W.js";
2
+ import { c as t, i as n } from "./slide-pull-client-Bg9DusLX.js";
3
3
  import { B as r, F as i, H as a, I as o, K as s, P as c, R as l, Yt as u, at as d, dt as f, ft as p, it as m, lt as h, ot as g, rt as _, st as v, ut as y } from "./line-metrics-B3syvDn2.js";
4
4
  import { t as b } from "./transfer-R6NjgBKD.js";
5
5
  //#region packages/pptx/src/slide-cursor-operation.ts