@silurus/ooxml 0.89.2 → 0.89.4

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 (95) hide show
  1. package/README.md +4 -3
  2. package/dist/{abort-VrnK7mdP.js → abort-JztSoyw2.js} +0 -2
  3. package/dist/assets/render-worker-BUa1gyCE.js +15 -0
  4. package/dist/{bounded-raw-part-cache-C3daknU-.js → bounded-raw-part-cache-Bi_VqXmg.js} +7 -115
  5. package/dist/{bundled-asset-url-E2nXURF9.js → bundled-asset-url-BMJ8vNHP.js} +0 -2
  6. package/dist/{canvas-viewer-mechanics-SZWSnn6j.js → canvas-viewer-mechanics-ycCX6v-z.js} +3 -25
  7. package/dist/{cfb-guard-dNeUiANF.js → cfb-guard-BIaHdonq.js} +1 -13
  8. package/dist/chart-ex.mjs +4 -7
  9. package/dist/{chunk-Dy4uBu1J.js → chunk-D5OxutzX.js} +0 -2
  10. package/dist/{comment-overlay-controller-CHDxT0e7.js → comment-overlay-controller-CR5ySvki.js} +2 -22
  11. package/dist/{comment-ui-runtime-Dk2qrPy_.js → comment-ui-runtime-BWhLz4gq.js} +5 -7
  12. package/dist/comment-ui-runtime-BtP_TpvT.js +2 -0
  13. package/dist/{comment-ui-runtime-BcwaRnMR.js → comment-ui-runtime-CwTOCwA8.js} +5 -7
  14. package/dist/{delimited-text-worker-host-CikWU6_m.js → delimited-text-worker-host-RwvuSsP2.js} +0 -4
  15. package/dist/{document-model-source-BD2VSd2L.js → document-model-source-Csow9uxO.js} +9 -11
  16. package/dist/{document-pull-client-DhSGspvi.js → document-pull-client-CHpz0Q1p.js} +7572 -7285
  17. package/dist/{document-pull-worker-D-E0Iz3P.js → document-pull-worker-1ZJv9f9W.js} +3 -7
  18. package/dist/{docx-CXfILbzI.js → docx-D9E0vCq-.js} +12 -18
  19. package/dist/{docx-CCZBO1WQ.js → docx-GXxH0AwW.js} +13 -65
  20. package/dist/{docx-model-source-Ci6xb487.js → docx-model-source-aKx2gZH9.js} +7 -9
  21. package/dist/docx.mjs +6 -6
  22. package/dist/docx_parser_bg.wasm +0 -0
  23. package/dist/{drawingml-shape-Bp0yEZHC.js → drawingml-shape-BwELUfNW.js} +2 -6
  24. package/dist/{duotone-DN8P4aXe.js → duotone-BI7CoghW.js} +2 -6
  25. package/dist/{emf-CGFQIz6c.js → emf-DgUBx9BU.js} +2 -4
  26. package/dist/{font-preload-demand-CGOB-MoE.js → font-preload-demand-BuMy4iJ1.js} +2 -8
  27. package/dist/{grid-geometry-C3IG20ut.js → grid-geometry-CqTDvpDr.js} +1 -6
  28. package/dist/{host-layout-DVMw8hDY.js → host-layout-Cz_lCuTZ.js} +0 -1
  29. package/dist/{host-layout-measure-BAysJILu.js → host-layout-measure-GU0oJ4Me.js} +1 -3
  30. package/dist/{in-process-pull-transport-DuXcPZng.js → in-process-pull-transport-BPJ7M0uC.js} +0 -2
  31. package/dist/index.mjs +3 -3
  32. package/dist/internal-companion.mjs +3 -5
  33. package/dist/{line-distribute-DhQqysA2.js → line-distribute-C_CJisnJ.js} +2 -18
  34. package/dist/math.mjs +2 -8
  35. package/dist/{mathjax-BhwN6ilc.js → mathjax-DvwccQ8e.js} +0 -2
  36. package/dist/{model-source-kz_NkZqT.js → model-source-COXegBNA.js} +1 -3
  37. package/dist/{model-source-BkmyX_r-.js → model-source-DLXFe4_2.js} +3 -5
  38. package/dist/{model-source-session-CnPCTRDD.js → model-source-session-B3WVQCM5.js} +5 -9
  39. package/dist/{model-source-session-CF4iXav8.js → model-source-session-BVZBHZ04.js} +5 -11
  40. package/dist/{model-source-session-CJmkItIK.js → model-source-session-DfUgVpr1.js} +4 -8
  41. package/dist/node.mjs +6 -6
  42. package/dist/{pixel-budget-BpTYrepD.js → pixel-budget-DI82Hn3R.js} +0 -2
  43. package/dist/{plot-area-frame-Bs_j4uu7.js → plot-area-frame-D3JtHvov.js} +1 -167
  44. package/dist/{pptx-BhmLP_Ed.js → pptx-BD0jwWs6.js} +9 -11
  45. package/dist/{pptx-Bo9hCGQU.js → pptx-CLyebeF_.js} +16 -62
  46. package/dist/{pptx-model-source-J0SrVkO6.js → pptx-model-source-D_2mnSxI.js} +5 -7
  47. package/dist/pptx.mjs +7 -7
  48. package/dist/pptx_parser_bg.wasm +0 -0
  49. package/dist/{presentation-model-source-CebYmrOD.js → presentation-model-source-rWZ3Y-S_.js} +8 -10
  50. package/dist/{raster-target-YQ4G6rxo.js → raster-target-Ca3tyA0L.js} +0 -2
  51. package/dist/{read-only-comment-decoration-PidH0wnP.js → read-only-comment-decoration-B06YO2zk.js} +0 -4
  52. package/dist/{read-only-comment-margin-B52rDVKo.js → read-only-comment-margin-Ee9Y6vPg.js} +0 -2
  53. package/dist/region-map.mjs +4 -7
  54. package/dist/{render-hT2OVZUi.js → render-Cs1bgbEm.js} +3 -5
  55. package/dist/{render-worker-host-Desevuoc.js → render-worker-host-BR7n4xKy.js} +0 -4
  56. package/dist/render-worker-host-BxsA-yJo.js +5 -0
  57. package/dist/{render-worker-host-BmAQ-sWT.js → render-worker-host-CZC0WOn8.js} +0 -4
  58. package/dist/{renderer-CvZ4JmoL.js → renderer-DFDF48zw.js} +7 -55
  59. package/dist/{renderer-module-contract-CWM7jv6d.js → renderer-module-contract-BuTx2FWJ.js} +0 -2
  60. package/dist/{renderer-BFWqhLEt.js → renderer-xdugdcMd.js} +6 -70
  61. package/dist/{resource-measurement-DBiUwblM.js → resource-measurement-CTGrNAsD.js} +2 -18
  62. package/dist/{session-CWDKFWCh.js → session-B5CgMc2N.js} +7 -17
  63. package/dist/{slide-pull-client-BuBvXMyc.js → slide-pull-client-43mS9T70.js} +9 -63
  64. package/dist/{three-d-BKwNPAP4.js → three-d-ByHGsYrX.js} +1 -11
  65. package/dist/three-d.mjs +4 -17
  66. package/dist/{tiff-contract-C6M3QcPp.js → tiff-contract-DEd8CGuz.js} +0 -2
  67. package/dist/tiff.mjs +5 -8
  68. package/dist/types/chart-ex.d.ts +2 -2
  69. package/dist/types/docx.d.ts +12 -11
  70. package/dist/types/index.d.ts +19 -15
  71. package/dist/types/internal-companion.d.ts +1 -1
  72. package/dist/types/math.d.ts +1 -1
  73. package/dist/types/node.d.ts +7 -6
  74. package/dist/types/pptx.d.ts +11 -11
  75. package/dist/types/region-map.d.ts +2 -2
  76. package/dist/types/three-d.d.ts +2 -2
  77. package/dist/types/tiff.d.ts +1 -1
  78. package/dist/types/xlsx.d.ts +14 -11
  79. package/dist/{visible-index-FeVA0mGE.js → visible-index-vN-4BNn7.js} +0 -2
  80. package/dist/{wasm-loader-rlgHmcSv.js → wasm-loader-KAOyLXzf.js} +0 -4
  81. package/dist/{wasm-runtime-generation-BWGfM44b.js → wasm-runtime-generation-BsWKRY7U.js} +1 -3
  82. package/dist/{workbook-model-source-Che8Zbjw.js → workbook-model-source-CZtKSWad.js} +9 -11
  83. package/dist/{worker-source-UAi3GNcM.js → worker-source-C29EQNUj.js} +0 -2
  84. package/dist/{worker-source-SbudzjYL.js → worker-source-D3NwPe6l.js} +0 -2
  85. package/dist/{worker-source-DrwhR9fw.js → worker-source-ZQE9C1j6.js} +0 -2
  86. package/dist/{worksheet-pull-client-Cxzj6uuB.js → worksheet-pull-client-D5zAevQv.js} +4 -18
  87. package/dist/{xlsx-C5BSwMUd.js → xlsx-S6orTmKI.js} +8 -16
  88. package/dist/{xlsx-CUVUep5I.js → xlsx-lvftmF1U.js} +119 -131
  89. package/dist/{xlsx-model-source-C3_PiPBo.js → xlsx-model-source-Cm9ocDgT.js} +8 -12
  90. package/dist/xlsx.mjs +7 -7
  91. package/dist/xlsx_parser_bg.wasm +0 -0
  92. package/package.json +2 -2
  93. package/dist/assets/render-worker-D_SMt5nl.js +0 -15
  94. package/dist/comment-ui-runtime-B7ZvovcS.js +0 -2
  95. package/dist/render-worker-host-Cz224I38.js +0 -9
@@ -1,4 +1,4 @@
1
- //#region dist/.types-work/chart-BX4Zli_Z.d.ts
1
+ //#region dist/.types-work/chart-oB13FB5_.d.ts
2
2
  type DecodedImageBudgetStrategy = 'adaptive' | 'strict';
3
3
  interface ImageResourceOptions {
4
4
  decodedByteBudget?: number;
@@ -1533,12 +1533,12 @@ interface ChartRect {
1533
1533
  h: number;
1534
1534
  }
1535
1535
  //#endregion
1536
- //#region dist/.types-work/chart-ex-contract-uCVPGn_g.d.ts
1536
+ //#region dist/.types-work/chart-ex-contract-Btw9pmox.d.ts
1537
1537
  interface ChartExRenderer {
1538
1538
  render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number, shapeRotationDeg?: number): boolean;
1539
1539
  }
1540
1540
  //#endregion
1541
- //#region dist/.types-work/mathjax-Cs1A6yAm.d.ts
1541
+ //#region dist/.types-work/mathjax-DXhFag3c.d.ts
1542
1542
  interface MathSvg {
1543
1543
  svg: string;
1544
1544
  widthEm: number;
@@ -1550,17 +1550,17 @@ interface MathRenderer {
1550
1550
  mathMLToSvg(mathml: string): Promise<MathSvg>;
1551
1551
  }
1552
1552
  //#endregion
1553
- //#region dist/.types-work/three-d-contract-BAX9ecoe.d.ts
1553
+ //#region dist/.types-work/three-d-contract-C1vpmN0H.d.ts
1554
1554
  interface ChartThreeDRenderer {
1555
1555
  render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number, shapeRotationDeg?: number): boolean;
1556
1556
  }
1557
1557
  //#endregion
1558
- //#region dist/.types-work/region-map-contract-J2ruXmu1.d.ts
1558
+ //#region dist/.types-work/region-map-contract-C3gO5S5h.d.ts
1559
1559
  interface ChartRegionMapRenderer {
1560
1560
  render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number, shapeRotationDeg?: number): boolean;
1561
1561
  }
1562
1562
  //#endregion
1563
- //#region dist/.types-work/tiff-contract-bt8L_KEc.d.ts
1563
+ //#region dist/.types-work/tiff-contract-CiDe3tba.d.ts
1564
1564
  interface TiffRenderOptions {
1565
1565
  targetWidthPx?: number;
1566
1566
  targetHeightPx?: number;
@@ -1575,7 +1575,7 @@ interface TiffRenderer {
1575
1575
  render(bytes: Uint8Array, options?: Readonly<TiffRenderOptions>): Promise<ImageBitmap | null>;
1576
1576
  }
1577
1577
  //#endregion
1578
- //#region dist/.types-work/hyperlink-BER006VA.d.ts
1578
+ //#region dist/.types-work/hyperlink-Du5ndoeF.d.ts
1579
1579
  type CjkLang = 'kr' | 'sc' | 'tc' | 'hk' | 'jp';
1580
1580
  type CjkFallback = 'auto' | CjkLang;
1581
1581
  type OoxmlErrorCode = 'encrypted' | 'invalid-password' | 'unsupported-encryption' | 'legacy-binary-format' | 'not-ooxml' | 'unsupported-image-effect' | 'invalid-numbering' | 'unsupported-content';
@@ -1711,7 +1711,7 @@ type HyperlinkTarget = {
1711
1711
  };
1712
1712
  declare function openExternalHyperlink(url: string, allowed?: readonly string[], win?: Pick<Window, 'open'> | undefined): boolean;
1713
1713
  //#endregion
1714
- //#region dist/.types-work/find-highlight-CT_JWmHP.d.ts
1714
+ //#region dist/.types-work/find-highlight-bgte5AM6.d.ts
1715
1715
  interface TextSelectionContextOptions {
1716
1716
  readonly maxTextCharacters?: number;
1717
1717
  readonly maxRunLocators?: number;
@@ -1772,7 +1772,7 @@ interface FindHighlightColors {
1772
1772
  active?: string;
1773
1773
  }
1774
1774
  //#endregion
1775
- //#region dist/.types-work/model-source-BvlR3Xr6.d.ts
1775
+ //#region dist/.types-work/model-source-o_kIn8O6.d.ts
1776
1776
  type ModelSourceTarget = 'docx' | 'xlsx' | 'pptx';
1777
1777
  type ModelSourceConfigValue = string | number | boolean | null;
1778
1778
  type ModelSourceConfig = Readonly<Record<string, ModelSourceConfigValue>>;
@@ -1802,7 +1802,7 @@ interface ModelSourceModule<TArchive = unknown> {
1802
1802
  openModelSource(bytes: Uint8Array, config: ModelSourceConfig, signal?: AbortSignal, transfer?: readonly Transferable[]): Promise<OpenedModelSource<TArchive>>;
1803
1803
  }
1804
1804
  //#endregion
1805
- //#region dist/.types-work/types-DD7HF1Wg.d.ts
1805
+ //#region dist/.types-work/types-C2FlVYUX.d.ts
1806
1806
  type DocxDiagnosticCode = 'FLOW_OVERLAP' | 'BOTTOM_MARGIN_INVASION' | 'FLOW_DOMAIN_INVASION' | 'INVALID_REFERENCE' | 'INVALID_GEOMETRY' | 'INVALID_VALUE' | 'MISSING_RESOURCE' | 'NON_CONVERGENCE' | 'UNSUPPORTED_FEATURE';
1807
1807
  interface DocxDiagnostic {
1808
1808
  readonly code: DocxDiagnosticCode;
@@ -1834,6 +1834,7 @@ interface EmbeddedFontRef {
1834
1834
  fontKey: string;
1835
1835
  }
1836
1836
  interface DocSettings {
1837
+ footnoteLayoutLikeWW8?: boolean;
1837
1838
  doNotUseHtmlParagraphAutoSpacing?: boolean;
1838
1839
  kinsoku?: boolean;
1839
1840
  noLineBreaksBefore?: string;
@@ -2625,7 +2626,7 @@ interface RenderPageOptions {
2625
2626
  showTrackedChanges?: boolean;
2626
2627
  }
2627
2628
  //#endregion
2628
- //#region dist/.types-work/docx-Ch9sglGX.d.ts
2629
+ //#region dist/.types-work/docx-Y6PoeUXw.d.ts
2629
2630
  interface CommentAnchorRange {
2630
2631
  readonly commentId: string;
2631
2632
  readonly source: Readonly<DocxStorySource>;
@@ -3137,7 +3138,7 @@ declare namespace docx_d_exports {
3137
3138
  export { AnchorHostMetrics, AutoResizeOptions, BlendMode, BlipEffect, BlipEffectContainer, BlipEffectFill, BlipEffectImageFill, BodyElement, BorderSpec, CellBorders, CellElement, ChartAreaGroupDecorations, ChartAxisNumberFormat, ChartBarGroupDecorations, ChartClassicSurfaceBandStyles, ChartDataLabelOverride, ChartDataPointOverride, ChartDataTable, ChartDecorationLineStyle, ChartDisplayUnits, ChartDisplayUnitsLabel, ChartErrBars, ChartExElementStyle, ChartExRenderer, ChartLabelBox, ChartLegendEntryOverride, ChartLineDashSegment, ChartLineGroupDecorations, ChartManualLayout, ChartModel, ChartOfPie, ChartPlotGroup, ChartPlotGroupAxisSlot, ChartPlotGroupKind, ChartRect, ChartRegionMapRenderer, ChartRun, ChartSeries, ChartSeriesDataLabels, ChartStockBarPaint, ChartStockUpDownBarStyle, ChartSurfaceBandFormat, ChartTextBox, ChartTextParagraph, ChartTextRun, ChartThreeD, ChartThreeDPictureOptions, ChartThreeDRenderer, ChartThreeDSeriesAxis, ChartThreeDSurface, ChartTrendline, ChartType, ChartexBoxSeries, ChartexBoxWhisker, ChartexGeography, ChartexHistogramBinning, ChartexRegionMap, ChartexRegionMapColors, ChartexRegionMapRow, ChartexSunburst, ChartexSunburstRow, ChartexTreemap, ChartexValueColorStop, CjkFallback, ColSpec, CollectPageRunsOptions, ColumnsSpec, CommentAnchorGeometryFallback, CommentAnchorPoint, CommentAnchorRange, DecodedImageBudgetStrategy, DocComment, DocNote, DocParagraph, DocRevision, DocRun, DocSettings, DocTable, DocTableCell, DocTableRow, DocxCommentAnchorKind, DocxCommentHighlightRect, DocxCommentMark, DocxCommentSelectionContext, DocxCommentsOptions, DocxDiagnostic, DocxDiagnosticCode, DocxDocument, DocxDocumentModel, DocxElementContext, DocxElementContextOptions, DocxHighlightColors, DocxHighlightMatch, DocxMatchLocation, DocxPageCommentThreadsOptions, DocxPagePoint, DocxRunBorder, DocxScrollViewer, DocxScrollViewerOptions, DocxSelectionContext, DocxSelectionContextOptions, DocxSelectionRunLocator, DocxSelectionSourceLocator, DocxStorySource, DocxTextRun, DocxTextRunInfo, DocxTextSelectionContext, DocxViewer, DocxViewerOptions, DrawingMLCustomDashSegment, Duotone$1 as Duotone, EmbeddedFontRef, FieldRun, FillRect, FindHighlightColors, FindMatch, FindMatchesOptions, FramePr, Glow, GradientFill, GradientStop, HeaderFooter, HeadersFooters, HyperlinkTarget, ImageFill, ImageResourceOptions, ImageRun, LegendManualLayout, LineEnd, LineNumbering, LineSpacing, LoadOptions$2 as LoadOptions, MatchRunSlice, MathAccent, MathArray, MathBar, MathBorderBox, MathBox, MathDelimiter, MathFraction, MathFunc, MathGroup, MathGroupChr, MathLimit, MathNary, MathNode, MathPhant, MathRadical, MathRenderer, MathRun, MathSPre, MathScript, MathStyle, MathSvg, ModelSource, ModelSourceConfig, ModelSourceConfigValue, ModelSourceLoad, ModelSourceModule, ModelSourceModuleDescriptor, ModelSourceTarget, NoFill, NoteRef, NumberingInfo, OoxmlDecodedImageLimitError, OoxmlDecodedImageLimitMetric, OoxmlError, OoxmlErrorCode, OoxmlErrorStage, OoxmlFormat, OoxmlResourceLimit, OoxmlResourceLimitError, OoxmlResourceLimitErrorDetails, OoxmlResourceLimits, OoxmlResourceMetric, OoxmlResourceMetrics, OoxmlResourceMetricsCheckpoint, OoxmlResourceName, OoxmlResourcePolicySnapshot, OoxmlResourceUsageSnapshot, OoxmlResourceViolation, OoxmlUnsupportedContentDetails, OpenedModelSource, PTabRun, PageBorderEdge, PageBorders, PageNumType, ParaBorderEdge, ParagraphBorders, PathCmd$1 as PathCmd, PatternFill, Reflection, RenderPageOptions, RenderPageToBitmapOptions, ResolveDocxCommentThreadsOptions, ResolvedDocxCommentAnchor, ResolvedDocxCommentThread, RevisionAnchorGeometryFallback, RevisionAnchorRange, RubyAnnotation, RunRevision, SecondaryValueAxis, SectionGeom, SectionProps, Shadow, ShapeFill$1 as ShapeFill, ShapeRun, ShapeStrokeFill, ShapeText$1 as ShapeText, ShapeTextRun$1 as ShapeTextRun, SoftEdge, SolidFill, SrcRect, TabStop, TableBorders, TblpPr, TextPath, TextSelectionContextOptions, TiffDecodeError, TiffRenderOptions, TiffRenderer, TileInfo, ViewerCommentConnectorOptions, ViewerCommentConnectorRoute, ViewerCommentConnectorStroke, ViewerCommentMessageContext, ViewerCommentThreadContext, ViewerContextMenuEvent, XlsxWorksheetLimits, ZoomableViewer, autoResize, buildDocxHighlightLayer, buildDocxTextLayer, isOoxmlDecodedImageLimitError, isTiffDecodeError, noteText, openExternalHyperlink, readDocxTextSelectionContext, resolveCommentAnchorRuns, resolveDocxCommentThreads, resolveRevisionAnchorRuns };
3138
3139
  }
3139
3140
  //#endregion
3140
- //#region dist/.types-work/types-BYMzwltM.d.ts
3141
+ //#region dist/.types-work/types-CahOVsZA.d.ts
3141
3142
  interface BlipBullet {
3142
3143
  type: 'blip';
3143
3144
  imagePath: string;
@@ -3429,7 +3430,7 @@ interface PictureElement {
3429
3430
  sp3d?: Sp3d;
3430
3431
  }
3431
3432
  //#endregion
3432
- //#region dist/.types-work/pptx-Fl1NT0GT.d.ts
3433
+ //#region dist/.types-work/pptx-XevDYFlC.d.ts
3433
3434
  interface PptxTextRunInfo {
3434
3435
  renderElementIndex?: number;
3435
3436
  elementIndex?: number;
@@ -3961,7 +3962,7 @@ declare namespace pptx_d_exports {
3961
3962
  export { ArrowEnd, AutoResizeOptions, Bevel3d, BlendMode, BlipBullet, BlipEffect, BlipEffectContainer, BlipEffectFill, BlipEffectImageFill, Bullet, Camera3d, ChartAreaGroupDecorations, ChartAxisNumberFormat, ChartBarGroupDecorations, ChartClassicSurfaceBandStyles, ChartDataLabelOverride, ChartDataPointOverride, ChartDataTable, ChartDecorationLineStyle, ChartDisplayUnits, ChartDisplayUnitsLabel, ChartElement, ChartErrBars, ChartExElementStyle, ChartExRenderer, ChartLabelBox, ChartLegendEntryOverride, ChartLineDashSegment, ChartLineGroupDecorations, ChartManualLayout, ChartModel, ChartOfPie, ChartPlotGroup, ChartPlotGroupAxisSlot, ChartPlotGroupKind, ChartRect, ChartRegionMapRenderer, ChartSeries, ChartSeriesDataLabels, ChartStockBarPaint, ChartStockUpDownBarStyle, ChartSurfaceBandFormat, ChartTextBox, ChartTextParagraph, ChartTextRun, ChartThreeD, ChartThreeDPictureOptions, ChartThreeDRenderer, ChartThreeDSeriesAxis, ChartThreeDSurface, ChartTrendline, ChartType, ChartexBoxSeries, ChartexBoxWhisker, ChartexGeography, ChartexHistogramBinning, ChartexRegionMap, ChartexRegionMapColors, ChartexRegionMapRow, ChartexSunburst, ChartexSunburstRow, ChartexTreemap, ChartexValueColorStop, CjkFallback, DecodedImageBudgetStrategy, DimOptions, DrawingMLCustomDashSegment, Duotone$1 as Duotone, EquationBranchFallback, EquationRun, Fill, FillRect, FindHighlightColors, FindMatch, FindMatchesOptions, Glow, GradientFill, GradientStop$1 as GradientStop, HiddenSlideMode, HyperlinkTarget, ImageFill, ImageResourceOptions, LegendManualLayout, LightRig, LineBreak, LoadOptions$1 as LoadOptions, MatchRunSlice, MathAccent, MathArray, MathBar, MathBorderBox, MathBox, MathDelimiter, MathFraction, MathFunc, MathGroup, MathGroupChr, MathLimit, MathNary, MathNode, MathPhant, MathRadical, MathRenderer, MathRun, MathSPre, MathScript, MathStyle, MathSvg, MediaElement, ModelSource, ModelSourceConfig, ModelSourceConfigValue, ModelSourceLoad, ModelSourceModule, ModelSourceModuleDescriptor, ModelSourceTarget, NoFill, OoxmlDecodedImageLimitError, OoxmlDecodedImageLimitMetric, OoxmlError, OoxmlErrorCode, OoxmlErrorStage, OoxmlFormat, OoxmlResourceLimit, OoxmlResourceLimitError, OoxmlResourceLimitErrorDetails, OoxmlResourceLimits, OoxmlResourceMetric, OoxmlResourceMetrics, OoxmlResourceMetricsCheckpoint, OoxmlResourceName, OoxmlResourcePolicySnapshot, OoxmlResourceUsageSnapshot, OoxmlResourceViolation, OoxmlUnsupportedContentDetails, OpenedModelSource, Paragraph, PathCmd$2 as PathCmd, PatternFill, PictureElement, PptxComment, PptxCommentAnchor, PptxCommentReply, PptxCommentSelectionContext, PptxCommentsOptions, PptxElementBounds, PptxElementContext, PptxElementContextOptions, PptxHighlightColors, PptxHighlightMatch, PptxMatchLocation, PptxPresentation, PptxScrollViewer, PptxScrollViewerOptions, PptxSelectionContext, PptxSelectionContextOptions, PptxSelectionRunLocator, PptxSlidePoint, PptxTextRunInfo, PptxTextSelectionContext, PptxViewer, PptxViewerOptions, PresentSlideOptions, Presentation, PresentationHandle, Reflection, RenderOptions, RenderSlideOptions, RenderSlideToBitmapOptions, Rot3d, Scene3d, SecondaryValueAxis, Shadow, ShapeElement, Slide, SlideElement, SlideElementOrigin, SlideElementSource, SlideRenderOptions, SoftEdge, SolidFill, Sp3d, SpaceLine, SrcRect, Stroke, TabStop$1 as TabStop, TableCell, TableElement, TableRow, TextBody, TextOutline, TextRect, TextRun, TextRunCallback, TextRunData, TextSelectionContextOptions, TiffDecodeError, TiffRenderOptions, TiffRenderer, TileInfo, ViewerCommentConnectorOptions, ViewerCommentConnectorRoute, ViewerCommentConnectorStroke, ViewerCommentMessageContext, ViewerCommentThreadContext, ViewerContextMenuEvent, XlsxWorksheetLimits, ZoomableViewer, autoResize, buildPptxHighlightLayer, buildPptxTextLayer, isOoxmlDecodedImageLimitError, isTiffDecodeError, openExternalHyperlink, readPptxTextSelectionContext, renderSlide };
3962
3963
  }
3963
3964
  //#endregion
3964
- //#region dist/.types-work/types-_hQx9Nud.d.ts
3965
+ //#region dist/.types-work/types-BkLrqKyW.d.ts
3965
3966
  type ShapeFill = Exclude<Fill, {
3966
3967
  fillType: 'image';
3967
3968
  } | {
@@ -4798,7 +4799,7 @@ interface XlsxRenderViewportOptions {
4798
4799
  } | null;
4799
4800
  }
4800
4801
  //#endregion
4801
- //#region dist/.types-work/xlsx-CEbhcCVw.d.ts
4802
+ //#region dist/.types-work/xlsx-s1Y5IqCI.d.ts
4802
4803
  type ResolvedList = {
4803
4804
  kind: 'values';
4804
4805
  values: string[];
@@ -5119,6 +5120,7 @@ declare class XlsxViewerEngine implements ZoomableViewer {
5119
5120
  private get activeCell();
5120
5121
  private get selectionMode();
5121
5122
  private _pendingZoomAnchor;
5123
+ private displayedViewport;
5122
5124
  private readonly selectionController;
5123
5125
  private readonly notifier;
5124
5126
  private readonly contextReader;
@@ -5179,7 +5181,9 @@ declare class XlsxViewerEngine implements ZoomableViewer {
5179
5181
  scrollToCell(ref: string, options?: XlsxScrollToCellOptions): Promise<void>;
5180
5182
  private _stepSheet;
5181
5183
  private _initialSheet;
5184
+ private displayedViewportOffset;
5182
5185
  getCellAt(clientX: number, clientY: number): CellAddress | null;
5186
+ private cellAtGeometry;
5183
5187
  private elementContextViewport;
5184
5188
  private elementContextAt;
5185
5189
  private _cellRect;
@@ -1,4 +1,4 @@
1
- //#region dist/.types-work/model-source-BvlR3Xr6.d.ts
1
+ //#region dist/.types-work/model-source-o_kIn8O6.d.ts
2
2
  declare const MODEL_SOURCE_MODULE_PROTOCOL = "ooxml-model-source-module/v2";
3
3
  //#endregion
4
4
  //#region dist/.types-work/internal-companion.d.ts
@@ -1,4 +1,4 @@
1
- //#region dist/.types-work/mathjax-Cs1A6yAm.d.ts
1
+ //#region dist/.types-work/mathjax-DXhFag3c.d.ts
2
2
  interface MathSvg {
3
3
  svg: string;
4
4
  widthEm: number;
@@ -1,4 +1,4 @@
1
- //#region dist/.types-work/chart-BX4Zli_Z.d.ts
1
+ //#region dist/.types-work/chart-oB13FB5_.d.ts
2
2
  type MathStyle = 'roman' | 'italic' | 'bold' | 'boldItalic';
3
3
  interface MathRun {
4
4
  kind: 'run';
@@ -1509,7 +1509,7 @@ interface ChartLegendEntryOverride {
1509
1509
  fontItalic?: boolean | null;
1510
1510
  }
1511
1511
  //#endregion
1512
- //#region dist/.types-work/hyperlink-BER006VA.d.ts
1512
+ //#region dist/.types-work/hyperlink-Du5ndoeF.d.ts
1513
1513
  type CjkLang = 'kr' | 'sc' | 'tc' | 'hk' | 'jp';
1514
1514
  type CjkFallback = 'auto' | CjkLang;
1515
1515
  type OoxmlErrorCode = 'encrypted' | 'invalid-password' | 'unsupported-encryption' | 'legacy-binary-format' | 'not-ooxml' | 'unsupported-image-effect' | 'invalid-numbering' | 'unsupported-content';
@@ -1619,7 +1619,7 @@ type HyperlinkTarget = {
1619
1619
  slideIndex?: number;
1620
1620
  };
1621
1621
  //#endregion
1622
- //#region dist/.types-work/model-source-BvlR3Xr6.d.ts
1622
+ //#region dist/.types-work/model-source-o_kIn8O6.d.ts
1623
1623
  type ModelSourceTarget = 'docx' | 'xlsx' | 'pptx';
1624
1624
  type ModelSourceConfigValue = string | number | boolean | null;
1625
1625
  type ModelSourceConfig = Readonly<Record<string, ModelSourceConfigValue>>;
@@ -1649,7 +1649,7 @@ interface ModelSourceModule<TArchive = unknown> {
1649
1649
  openModelSource(bytes: Uint8Array, config: ModelSourceConfig, signal?: AbortSignal, transfer?: readonly Transferable[]): Promise<OpenedModelSource<TArchive>>;
1650
1650
  }
1651
1651
  //#endregion
1652
- //#region dist/.types-work/types-DD7HF1Wg.d.ts
1652
+ //#region dist/.types-work/types-C2FlVYUX.d.ts
1653
1653
  interface DocxDocumentModel {
1654
1654
  section: SectionProps;
1655
1655
  body: BodyElement[];
@@ -1674,6 +1674,7 @@ interface EmbeddedFontRef {
1674
1674
  fontKey: string;
1675
1675
  }
1676
1676
  interface DocSettings {
1677
+ footnoteLayoutLikeWW8?: boolean;
1677
1678
  doNotUseHtmlParagraphAutoSpacing?: boolean;
1678
1679
  kinsoku?: boolean;
1679
1680
  noLineBreaksBefore?: string;
@@ -2455,7 +2456,7 @@ interface DocxTextRunInfo {
2455
2456
  eastAsianVert?: boolean;
2456
2457
  }
2457
2458
  //#endregion
2458
- //#region dist/.types-work/types-BYMzwltM.d.ts
2459
+ //#region dist/.types-work/types-CahOVsZA.d.ts
2459
2460
  interface Paragraph extends Paragraph$1 {
2460
2461
  mathFallbacks?: {
2461
2462
  start: number;
@@ -2735,7 +2736,7 @@ interface PictureElement {
2735
2736
  sp3d?: Sp3d;
2736
2737
  }
2737
2738
  //#endregion
2738
- //#region dist/.types-work/types-_hQx9Nud.d.ts
2739
+ //#region dist/.types-work/types-BkLrqKyW.d.ts
2739
2740
  type ShapeFill = Exclude<Fill, {
2740
2741
  fillType: 'image';
2741
2742
  } | {
@@ -1,4 +1,4 @@
1
- //#region dist/.types-work/chart-BX4Zli_Z.d.ts
1
+ //#region dist/.types-work/chart-oB13FB5_.d.ts
2
2
  type DecodedImageBudgetStrategy = 'adaptive' | 'strict';
3
3
  interface ImageResourceOptions {
4
4
  decodedByteBudget?: number;
@@ -1533,12 +1533,12 @@ interface ChartRect {
1533
1533
  h: number;
1534
1534
  }
1535
1535
  //#endregion
1536
- //#region dist/.types-work/chart-ex-contract-uCVPGn_g.d.ts
1536
+ //#region dist/.types-work/chart-ex-contract-Btw9pmox.d.ts
1537
1537
  interface ChartExRenderer {
1538
1538
  render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number, shapeRotationDeg?: number): boolean;
1539
1539
  }
1540
1540
  //#endregion
1541
- //#region dist/.types-work/mathjax-Cs1A6yAm.d.ts
1541
+ //#region dist/.types-work/mathjax-DXhFag3c.d.ts
1542
1542
  interface MathSvg {
1543
1543
  svg: string;
1544
1544
  widthEm: number;
@@ -1550,17 +1550,17 @@ interface MathRenderer {
1550
1550
  mathMLToSvg(mathml: string): Promise<MathSvg>;
1551
1551
  }
1552
1552
  //#endregion
1553
- //#region dist/.types-work/three-d-contract-BAX9ecoe.d.ts
1553
+ //#region dist/.types-work/three-d-contract-C1vpmN0H.d.ts
1554
1554
  interface ChartThreeDRenderer {
1555
1555
  render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number, shapeRotationDeg?: number): boolean;
1556
1556
  }
1557
1557
  //#endregion
1558
- //#region dist/.types-work/region-map-contract-J2ruXmu1.d.ts
1558
+ //#region dist/.types-work/region-map-contract-C3gO5S5h.d.ts
1559
1559
  interface ChartRegionMapRenderer {
1560
1560
  render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number, shapeRotationDeg?: number): boolean;
1561
1561
  }
1562
1562
  //#endregion
1563
- //#region dist/.types-work/tiff-contract-bt8L_KEc.d.ts
1563
+ //#region dist/.types-work/tiff-contract-CiDe3tba.d.ts
1564
1564
  interface TiffRenderOptions {
1565
1565
  targetWidthPx?: number;
1566
1566
  targetHeightPx?: number;
@@ -1575,7 +1575,7 @@ interface TiffRenderer {
1575
1575
  render(bytes: Uint8Array, options?: Readonly<TiffRenderOptions>): Promise<ImageBitmap | null>;
1576
1576
  }
1577
1577
  //#endregion
1578
- //#region dist/.types-work/hyperlink-BER006VA.d.ts
1578
+ //#region dist/.types-work/hyperlink-Du5ndoeF.d.ts
1579
1579
  type CjkLang = 'kr' | 'sc' | 'tc' | 'hk' | 'jp';
1580
1580
  type CjkFallback = 'auto' | CjkLang;
1581
1581
  type OoxmlErrorCode = 'encrypted' | 'invalid-password' | 'unsupported-encryption' | 'legacy-binary-format' | 'not-ooxml' | 'unsupported-image-effect' | 'invalid-numbering' | 'unsupported-content';
@@ -1711,7 +1711,7 @@ type HyperlinkTarget = {
1711
1711
  };
1712
1712
  declare function openExternalHyperlink(url: string, allowed?: readonly string[], win?: Pick<Window, 'open'> | undefined): boolean;
1713
1713
  //#endregion
1714
- //#region dist/.types-work/find-highlight-CT_JWmHP.d.ts
1714
+ //#region dist/.types-work/find-highlight-bgte5AM6.d.ts
1715
1715
  interface TextSelectionContextOptions {
1716
1716
  readonly maxTextCharacters?: number;
1717
1717
  readonly maxRunLocators?: number;
@@ -1772,7 +1772,7 @@ interface FindHighlightColors {
1772
1772
  active?: string;
1773
1773
  }
1774
1774
  //#endregion
1775
- //#region dist/.types-work/model-source-BvlR3Xr6.d.ts
1775
+ //#region dist/.types-work/model-source-o_kIn8O6.d.ts
1776
1776
  type ModelSourceTarget = 'docx' | 'xlsx' | 'pptx';
1777
1777
  type ModelSourceConfigValue = string | number | boolean | null;
1778
1778
  type ModelSourceConfig = Readonly<Record<string, ModelSourceConfigValue>>;
@@ -1802,7 +1802,7 @@ interface ModelSourceModule<TArchive = unknown> {
1802
1802
  openModelSource(bytes: Uint8Array, config: ModelSourceConfig, signal?: AbortSignal, transfer?: readonly Transferable[]): Promise<OpenedModelSource<TArchive>>;
1803
1803
  }
1804
1804
  //#endregion
1805
- //#region dist/.types-work/types-BYMzwltM.d.ts
1805
+ //#region dist/.types-work/types-CahOVsZA.d.ts
1806
1806
  interface BlipBullet {
1807
1807
  type: 'blip';
1808
1808
  imagePath: string;
@@ -2094,7 +2094,7 @@ interface PictureElement {
2094
2094
  sp3d?: Sp3d;
2095
2095
  }
2096
2096
  //#endregion
2097
- //#region dist/.types-work/pptx-Fl1NT0GT.d.ts
2097
+ //#region dist/.types-work/pptx-XevDYFlC.d.ts
2098
2098
  interface PptxTextRunInfo {
2099
2099
  renderElementIndex?: number;
2100
2100
  elementIndex?: number;
@@ -1,4 +1,4 @@
1
- //#region dist/.types-work/chart-BX4Zli_Z.d.ts
1
+ //#region dist/.types-work/chart-oB13FB5_.d.ts
2
2
  interface Duotone {
3
3
  clr1: string;
4
4
  clr2: string;
@@ -1223,7 +1223,7 @@ interface ChartRect {
1223
1223
  h: number;
1224
1224
  }
1225
1225
  //#endregion
1226
- //#region dist/.types-work/region-map-contract-J2ruXmu1.d.ts
1226
+ //#region dist/.types-work/region-map-contract-C3gO5S5h.d.ts
1227
1227
  interface ChartRegionMapRenderer {
1228
1228
  render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number, shapeRotationDeg?: number): boolean;
1229
1229
  }
@@ -1,4 +1,4 @@
1
- //#region dist/.types-work/chart-BX4Zli_Z.d.ts
1
+ //#region dist/.types-work/chart-oB13FB5_.d.ts
2
2
  interface Duotone {
3
3
  clr1: string;
4
4
  clr2: string;
@@ -1223,7 +1223,7 @@ interface ChartRect {
1223
1223
  h: number;
1224
1224
  }
1225
1225
  //#endregion
1226
- //#region dist/.types-work/three-d-contract-BAX9ecoe.d.ts
1226
+ //#region dist/.types-work/three-d-contract-C1vpmN0H.d.ts
1227
1227
  interface ChartThreeDRenderer {
1228
1228
  render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number, shapeRotationDeg?: number): boolean;
1229
1229
  }
@@ -1,4 +1,4 @@
1
- //#region dist/.types-work/tiff-contract-bt8L_KEc.d.ts
1
+ //#region dist/.types-work/tiff-contract-CiDe3tba.d.ts
2
2
  interface TiffRenderOptions {
3
3
  targetWidthPx?: number;
4
4
  targetHeightPx?: number;
@@ -1,4 +1,4 @@
1
- //#region dist/.types-work/chart-BX4Zli_Z.d.ts
1
+ //#region dist/.types-work/chart-oB13FB5_.d.ts
2
2
  type DecodedImageBudgetStrategy = 'adaptive' | 'strict';
3
3
  interface ImageResourceOptions {
4
4
  decodedByteBudget?: number;
@@ -1345,12 +1345,12 @@ interface ChartRect {
1345
1345
  h: number;
1346
1346
  }
1347
1347
  //#endregion
1348
- //#region dist/.types-work/chart-ex-contract-uCVPGn_g.d.ts
1348
+ //#region dist/.types-work/chart-ex-contract-Btw9pmox.d.ts
1349
1349
  interface ChartExRenderer {
1350
1350
  render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number, shapeRotationDeg?: number): boolean;
1351
1351
  }
1352
1352
  //#endregion
1353
- //#region dist/.types-work/mathjax-Cs1A6yAm.d.ts
1353
+ //#region dist/.types-work/mathjax-DXhFag3c.d.ts
1354
1354
  interface MathSvg {
1355
1355
  svg: string;
1356
1356
  widthEm: number;
@@ -1362,17 +1362,17 @@ interface MathRenderer {
1362
1362
  mathMLToSvg(mathml: string): Promise<MathSvg>;
1363
1363
  }
1364
1364
  //#endregion
1365
- //#region dist/.types-work/three-d-contract-BAX9ecoe.d.ts
1365
+ //#region dist/.types-work/three-d-contract-C1vpmN0H.d.ts
1366
1366
  interface ChartThreeDRenderer {
1367
1367
  render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number, shapeRotationDeg?: number): boolean;
1368
1368
  }
1369
1369
  //#endregion
1370
- //#region dist/.types-work/region-map-contract-J2ruXmu1.d.ts
1370
+ //#region dist/.types-work/region-map-contract-C3gO5S5h.d.ts
1371
1371
  interface ChartRegionMapRenderer {
1372
1372
  render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number, shapeRotationDeg?: number): boolean;
1373
1373
  }
1374
1374
  //#endregion
1375
- //#region dist/.types-work/tiff-contract-bt8L_KEc.d.ts
1375
+ //#region dist/.types-work/tiff-contract-CiDe3tba.d.ts
1376
1376
  interface TiffRenderOptions {
1377
1377
  targetWidthPx?: number;
1378
1378
  targetHeightPx?: number;
@@ -1387,7 +1387,7 @@ interface TiffRenderer {
1387
1387
  render(bytes: Uint8Array, options?: Readonly<TiffRenderOptions>): Promise<ImageBitmap | null>;
1388
1388
  }
1389
1389
  //#endregion
1390
- //#region dist/.types-work/hyperlink-BER006VA.d.ts
1390
+ //#region dist/.types-work/hyperlink-Du5ndoeF.d.ts
1391
1391
  type CjkLang = 'kr' | 'sc' | 'tc' | 'hk' | 'jp';
1392
1392
  type CjkFallback = 'auto' | CjkLang;
1393
1393
  type OoxmlErrorCode = 'encrypted' | 'invalid-password' | 'unsupported-encryption' | 'legacy-binary-format' | 'not-ooxml' | 'unsupported-image-effect' | 'invalid-numbering' | 'unsupported-content';
@@ -1515,7 +1515,7 @@ type HyperlinkTarget = {
1515
1515
  };
1516
1516
  declare function openExternalHyperlink(url: string, allowed?: readonly string[], win?: Pick<Window, 'open'> | undefined): boolean;
1517
1517
  //#endregion
1518
- //#region dist/.types-work/find-highlight-CT_JWmHP.d.ts
1518
+ //#region dist/.types-work/find-highlight-bgte5AM6.d.ts
1519
1519
  interface ViewerContextMenuEvent<TContext> {
1520
1520
  readonly originalEvent: MouseEvent;
1521
1521
  getContext(): Promise<TContext | null>;
@@ -1559,7 +1559,7 @@ interface FindHighlightColors {
1559
1559
  active?: string;
1560
1560
  }
1561
1561
  //#endregion
1562
- //#region dist/.types-work/model-source-BvlR3Xr6.d.ts
1562
+ //#region dist/.types-work/model-source-o_kIn8O6.d.ts
1563
1563
  type ModelSourceTarget = 'docx' | 'xlsx' | 'pptx';
1564
1564
  type ModelSourceConfigValue = string | number | boolean | null;
1565
1565
  type ModelSourceConfig = Readonly<Record<string, ModelSourceConfigValue>>;
@@ -1589,7 +1589,7 @@ interface ModelSourceModule<TArchive = unknown> {
1589
1589
  openModelSource(bytes: Uint8Array, config: ModelSourceConfig, signal?: AbortSignal, transfer?: readonly Transferable[]): Promise<OpenedModelSource<TArchive>>;
1590
1590
  }
1591
1591
  //#endregion
1592
- //#region dist/.types-work/types-_hQx9Nud.d.ts
1592
+ //#region dist/.types-work/types-BkLrqKyW.d.ts
1593
1593
  type ShapeFill = Exclude<Fill, {
1594
1594
  fillType: 'image';
1595
1595
  } | {
@@ -2426,7 +2426,7 @@ interface XlsxRenderViewportOptions {
2426
2426
  } | null;
2427
2427
  }
2428
2428
  //#endregion
2429
- //#region dist/.types-work/xlsx-CEbhcCVw.d.ts
2429
+ //#region dist/.types-work/xlsx-s1Y5IqCI.d.ts
2430
2430
  type ResolvedList = {
2431
2431
  kind: 'values';
2432
2432
  values: string[];
@@ -2747,6 +2747,7 @@ declare class XlsxViewerEngine implements ZoomableViewer {
2747
2747
  private get activeCell();
2748
2748
  private get selectionMode();
2749
2749
  private _pendingZoomAnchor;
2750
+ private displayedViewport;
2750
2751
  private readonly selectionController;
2751
2752
  private readonly notifier;
2752
2753
  private readonly contextReader;
@@ -2807,7 +2808,9 @@ declare class XlsxViewerEngine implements ZoomableViewer {
2807
2808
  scrollToCell(ref: string, options?: XlsxScrollToCellOptions): Promise<void>;
2808
2809
  private _stepSheet;
2809
2810
  private _initialSheet;
2811
+ private displayedViewportOffset;
2810
2812
  getCellAt(clientX: number, clientY: number): CellAddress | null;
2813
+ private cellAtGeometry;
2811
2814
  private elementContextViewport;
2812
2815
  private elementContextAt;
2813
2816
  private _cellRect;
@@ -1,4 +1,3 @@
1
- //#region packages/core/src/nav/visible-index.ts
2
1
  function e(e, t, n, r) {
3
2
  for (let i = e + t; i >= 0 && i < r; i += t) if (!n(i)) return i;
4
3
  return e;
@@ -13,5 +12,4 @@ function n(e, t) {
13
12
  for (let r = 0; r < t; r++) e(r) || n++;
14
13
  return n;
15
14
  }
16
- //#endregion
17
15
  export { e as n, t as r, n as t };
@@ -1,7 +1,6 @@
1
1
  import { existsSync as e, readFileSync as t } from "node:fs";
2
2
  import { fileURLToPath as n } from "node:url";
3
3
  import { basename as r, dirname as i, resolve as a } from "node:path";
4
- //#region packages/core/src/internal/owned-session.ts
5
4
  async function o(e, t) {
6
5
  let n = await e(), r;
7
6
  try {
@@ -16,8 +15,6 @@ async function o(e, t) {
16
15
  }
17
16
  }
18
17
  }
19
- //#endregion
20
- //#region packages/node/src/wasm-loader.ts
21
18
  function s(e) {
22
19
  return new WebAssembly.Module(t(e));
23
20
  }
@@ -31,5 +28,4 @@ function l(t, o, s) {
31
28
  let u = a(c, r(o));
32
29
  return e(u) || !s ? u : n(import.meta.resolve(s));
33
30
  }
34
- //#endregion
35
31
  export { l as n, o as r, c as t };
@@ -1,5 +1,4 @@
1
- import { I as e, K as t, L as n, R as r, z as i } from "./bounded-raw-part-cache-C3daknU-.js";
2
- //#region packages/core/src/internal/wasm-runtime-generation.ts
1
+ import { I as e, K as t, L as n, R as r, z as i } from "./bounded-raw-part-cache-Bi_VqXmg.js";
3
2
  function a(t) {
4
3
  return r(t) ? new e(`WASM parser trapped and was recycled: ${t instanceof Error ? t.message : String(t)}`) : null;
5
4
  }
@@ -93,5 +92,4 @@ var c = class {
93
92
  this.failure = e, this.archive = void 0, n(t);
94
93
  }
95
94
  };
96
- //#endregion
97
95
  export { s as t };
@@ -1,12 +1,11 @@
1
- import { N as e, j as t, qt as n } from "./bounded-raw-part-cache-C3daknU-.js";
2
- import { T as r } from "./canvas-viewer-mechanics-SZWSnn6j.js";
3
- import { a as i, g as a } from "./renderer-CvZ4JmoL.js";
4
- import { b as o } from "./worksheet-pull-client-Cxzj6uuB.js";
5
- import { c as s, l as c } from "./xlsx-CUVUep5I.js";
6
- import { n as l, o as u, r as d } from "./model-source-kz_NkZqT.js";
7
- import { t as f } from "./bundled-asset-url-E2nXURF9.js";
8
- import { n as p } from "./host-layout-DVMw8hDY.js";
9
- //#region packages/xlsx/src/internal/workbook-model-source.ts
1
+ import { N as e, j as t, qt as n } from "./bounded-raw-part-cache-Bi_VqXmg.js";
2
+ import { T as r } from "./canvas-viewer-mechanics-ycCX6v-z.js";
3
+ import { a as i, g as a } from "./renderer-DFDF48zw.js";
4
+ import { b as o } from "./worksheet-pull-client-D5zAevQv.js";
5
+ import { c as s, l as c } from "./xlsx-lvftmF1U.js";
6
+ import { n as l, o as u, r as d } from "./model-source-COXegBNA.js";
7
+ import { t as f } from "./bundled-asset-url-BMJ8vNHP.js";
8
+ import { n as p } from "./host-layout-Cz_lCuTZ.js";
10
9
  async function m(i, d, f) {
11
10
  let p = o(d);
12
11
  d = {
@@ -53,7 +52,7 @@ async function m(i, d, f) {
53
52
  let p = l(t, "xlsx");
54
53
  try {
55
54
  _.setSourceBytes(e.byteLength), _.checkpoint("container ready");
56
- let t = g === "worker" ? (await import("./render-worker-host-Desevuoc.js")).createRenderWorker() : new (await (import("./worker-source-UAi3GNcM.js"))).default(), n, i = h(t, p, d, (e) => {
55
+ let t = g === "worker" ? (await import("./render-worker-host-BR7n4xKy.js")).createRenderWorker() : new (await (import("./worker-source-C29EQNUj.js"))).default(), n, i = h(t, p, d, (e) => {
57
56
  n && (n.sourceMdw = e);
58
57
  });
59
58
  try {
@@ -90,5 +89,4 @@ function h(e, t, n, r) {
90
89
  }
91
90
  });
92
91
  }
93
- //#endregion
94
92
  export { m as loadXlsxModelSource };