@eigenpal/docx-js-editor 0.0.26 → 0.0.27

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 (78) hide show
  1. package/README.md +6 -5
  2. package/dist/{ClipboardManager-Bbo5MM_U.d.cts → ClipboardManager-BYO62Qs5.d.cts} +1 -1
  3. package/dist/{ClipboardManager-CR843H7H.d.ts → ClipboardManager-YQYq5X_Z.d.ts} +1 -1
  4. package/dist/{DocumentAgent-lHtXgMFN.d.ts → DocumentAgent-BW1-gnqM.d.ts} +1 -1
  5. package/dist/{DocumentAgent-cHf96hwL.d.cts → DocumentAgent-ZcA8CUmC.d.cts} +1 -1
  6. package/dist/{agentApi-DmDuQm0e.d.cts → agentApi-B0688ssC.d.cts} +6 -0
  7. package/dist/{agentApi-DmDuQm0e.d.ts → agentApi-B0688ssC.d.ts} +6 -0
  8. package/dist/{chunk-FUK46DWH.js → chunk-4XF5YD4I.js} +2 -2
  9. package/dist/chunk-76GITSCY.cjs +258 -0
  10. package/dist/{chunk-OWMG5MW5.cjs → chunk-7YCCCWUZ.cjs} +3 -3
  11. package/dist/{chunk-6TUCNECX.js → chunk-ABNIHWGF.js} +1 -1
  12. package/dist/{chunk-PIVLDW7B.cjs → chunk-CL62W2HQ.cjs} +7 -7
  13. package/dist/chunk-E7U5ZBOK.js +3 -0
  14. package/dist/{chunk-Y62HOQL2.cjs → chunk-EUH3GF72.cjs} +4 -4
  15. package/dist/chunk-H7AKDCWH.js +258 -0
  16. package/dist/{chunk-5ILXHRJS.cjs → chunk-J5YOIHCW.cjs} +2 -2
  17. package/dist/chunk-JO2CKU4O.js +1 -0
  18. package/dist/chunk-MHUCHYNM.cjs +59 -0
  19. package/dist/{chunk-KL2RYY6G.cjs → chunk-NKW2UER2.cjs} +2 -2
  20. package/dist/chunk-OJ7NJK46.cjs +1 -0
  21. package/dist/chunk-PP54GVGD.js +59 -0
  22. package/dist/{chunk-JIKVCUR6.js → chunk-T2SRPPZY.js} +1 -1
  23. package/dist/{chunk-3X3LTNK4.js → chunk-YP3CXYSU.js} +7 -7
  24. package/dist/{clipboard-CU-zASXS.d.ts → clipboard-D0EG6AxE.d.ts} +1 -1
  25. package/dist/{clipboard-DBabJ6mU.d.cts → clipboard-Da1iPK0O.d.cts} +1 -1
  26. package/dist/{colorResolver-yl7Xh_Qg.d.cts → colorResolver-DR1p8Eg-.d.cts} +2 -2
  27. package/dist/{colorResolver-BTTqW66Q.d.ts → colorResolver-Dk7bMHIa.d.ts} +2 -2
  28. package/dist/core-plugins-reexport.cjs +1 -1
  29. package/dist/core-plugins-reexport.d.cts +4 -4
  30. package/dist/core-plugins-reexport.d.ts +4 -4
  31. package/dist/core-plugins-reexport.js +1 -1
  32. package/dist/core-reexport.cjs +1 -1
  33. package/dist/core-reexport.d.cts +10 -10
  34. package/dist/core-reexport.d.ts +10 -10
  35. package/dist/core-reexport.js +1 -1
  36. package/dist/{fontLoader-Daq8y8C2.d.cts → fontLoader-54sS8rtN.d.cts} +1 -1
  37. package/dist/{fontLoader-DQJOS1sb.d.ts → fontLoader-C7RvUiHx.d.ts} +1 -1
  38. package/dist/headless-reexport.cjs +2 -2
  39. package/dist/headless-reexport.d.cts +7 -7
  40. package/dist/headless-reexport.d.ts +7 -7
  41. package/dist/headless-reexport.js +1 -1
  42. package/dist/index.cjs +2 -2
  43. package/dist/index.d.cts +11 -11
  44. package/dist/index.d.ts +11 -11
  45. package/dist/index.js +1 -1
  46. package/dist/mcp-reexport.cjs +3 -3
  47. package/dist/mcp-reexport.d.cts +2 -2
  48. package/dist/mcp-reexport.d.ts +2 -2
  49. package/dist/mcp-reexport.js +1 -1
  50. package/dist/{react-CFPWe7nV.d.ts → react-C_O0Z9ci.d.ts} +10 -4
  51. package/dist/{react-CKqhN17E.d.cts → react-XjilVrXZ.d.cts} +10 -4
  52. package/dist/react.cjs +1 -1
  53. package/dist/react.d.cts +5 -5
  54. package/dist/react.d.ts +5 -5
  55. package/dist/react.js +1 -1
  56. package/dist/{registry-C2DPl-QW.d.ts → registry-BHOeZbR9.d.ts} +1 -1
  57. package/dist/{registry-CXGC344v.d.cts → registry-CqFFeBgF.d.cts} +1 -1
  58. package/dist/selectionRects-BMXJJCPJ.cjs +1 -0
  59. package/dist/selectionRects-TWK7CAC3.js +1 -0
  60. package/dist/styles.css +1 -1
  61. package/dist/{types-BpokDLqL.d.ts → types-BwCYaZKB.d.ts} +1 -1
  62. package/dist/{types-COQvtZji.d.cts → types-DAxXgYu5.d.cts} +1 -1
  63. package/dist/ui.cjs +1 -1
  64. package/dist/ui.d.cts +3 -3
  65. package/dist/ui.d.ts +3 -3
  66. package/dist/ui.js +1 -1
  67. package/dist/{variableDetector-BYzE_RXw.d.ts → variableDetector-B2FHghLx.d.ts} +1 -1
  68. package/dist/{variableDetector-C8ST_dnq.d.cts → variableDetector-DIeB1Nxd.d.cts} +1 -1
  69. package/package.json +1 -1
  70. package/dist/chunk-4CUGBNL2.cjs +0 -1
  71. package/dist/chunk-5GFXHUMP.js +0 -1
  72. package/dist/chunk-MUIREXKH.js +0 -3
  73. package/dist/chunk-PGEORVCG.js +0 -59
  74. package/dist/chunk-PUVSVHHB.cjs +0 -59
  75. package/dist/chunk-S36T7OK5.cjs +0 -258
  76. package/dist/chunk-YYBSUBRG.js +0 -258
  77. package/dist/selectionRects-7QU337P5.cjs +0 -1
  78. package/dist/selectionRects-V5RC2BYX.js +0 -1
@@ -4,10 +4,10 @@ import * as prosemirror_view from 'prosemirror-view';
4
4
  import { EditorView } from 'prosemirror-view';
5
5
  import * as prosemirror_state from 'prosemirror-state';
6
6
  import { EditorState, Transaction } from 'prosemirror-state';
7
- import { T as TextFormatting, w as ParagraphFormatting, D as Document, X as Theme, e as Table } from './agentApi-DmDuQm0e.cjs';
8
- import { e as PrintOptions, g as TableContext, T as TableAction, P as ParsedClipboardContent } from './clipboard-DBabJ6mU.cjs';
9
- import { g as DocxInput, D as DocumentAgent } from './DocumentAgent-cHf96hwL.cjs';
10
- import { g as EditorPluginCore, k as PluginPanelProps, R as RenderedDomContext, f as EditorHandle, h as ErrorNotification, m as SavedDocumentData, d as AutoSaveStatus, e as ClipboardSelection } from './ClipboardManager-Bbo5MM_U.cjs';
7
+ import { T as TextFormatting, w as ParagraphFormatting, D as Document, X as Theme, e as Table } from './agentApi-B0688ssC.cjs';
8
+ import { e as PrintOptions, g as TableContext, T as TableAction, P as ParsedClipboardContent } from './clipboard-Da1iPK0O.cjs';
9
+ import { g as DocxInput, D as DocumentAgent } from './DocumentAgent-ZcA8CUmC.cjs';
10
+ import { g as EditorPluginCore, k as PluginPanelProps, R as RenderedDomContext, f as EditorHandle, h as ErrorNotification, m as SavedDocumentData, d as AutoSaveStatus, e as ClipboardSelection } from './ClipboardManager-BYO62Qs5.cjs';
11
11
  import * as react_jsx_runtime from 'react/jsx-runtime';
12
12
 
13
13
  /**
@@ -99,6 +99,8 @@ type TableFragment = FragmentBase & {
99
99
  continuesFromPrev?: boolean;
100
100
  /** True if this continues onto the next page. */
101
101
  continuesOnNext?: boolean;
102
+ /** Number of header rows prepended to this continuation fragment (0 or undefined for first fragment). */
103
+ headerRowCount?: number;
102
104
  };
103
105
  /**
104
106
  * An image fragment positioned on a page.
@@ -169,6 +171,8 @@ type Page = {
169
171
  footnoteIds?: number[];
170
172
  /** Height reserved for the footnote area at page bottom (pixels). */
171
173
  footnoteReservedHeight?: number;
174
+ /** Column layout for this page (if multi-column). */
175
+ columns?: ColumnLayout;
172
176
  };
173
177
  /**
174
178
  * Column layout configuration.
@@ -177,6 +181,8 @@ type ColumnLayout = {
177
181
  count: number;
178
182
  gap: number;
179
183
  equalWidth?: boolean;
184
+ /** Draw vertical separator line between columns (w:sep). */
185
+ separator?: boolean;
180
186
  };
181
187
  /**
182
188
  * Header/footer layout for a specific type.
package/dist/react.cjs CHANGED
@@ -1 +1 @@
1
- 'use strict';var chunkS36T7OK5_cjs=require('./chunk-S36T7OK5.cjs');require('./chunk-4CUGBNL2.cjs'),require('./chunk-OWMG5MW5.cjs'),require('./chunk-VTAS7VZ6.cjs'),require('./chunk-XS2AQFMF.cjs');var chunk2VHQ7YOQ_cjs=require('./chunk-2VHQ7YOQ.cjs');require('./chunk-KL2RYY6G.cjs'),require('./chunk-IA4LPH2A.cjs'),require('./chunk-5ILXHRJS.cjs'),require('./chunk-B7TICMXD.cjs'),require('./chunk-PUVSVHHB.cjs'),require('./chunk-P7ZF45KZ.cjs');var chunkPIVLDW7B_cjs=require('./chunk-PIVLDW7B.cjs');require('./chunk-YS7FDEZ4.cjs'),require('./chunk-KR32M3S4.cjs'),require('./chunk-XQNCLN4T.cjs'),require('./chunk-PCJ5ACUV.cjs');Object.defineProperty(exports,"DocxEditor",{enumerable:true,get:function(){return chunkS36T7OK5_cjs.j}});Object.defineProperty(exports,"ErrorBoundary",{enumerable:true,get:function(){return chunkS36T7OK5_cjs.d}});Object.defineProperty(exports,"ErrorProvider",{enumerable:true,get:function(){return chunkS36T7OK5_cjs.c}});Object.defineProperty(exports,"PLUGIN_HOST_STYLES",{enumerable:true,get:function(){return chunkS36T7OK5_cjs.U}});Object.defineProperty(exports,"ParseErrorDisplay",{enumerable:true,get:function(){return chunkS36T7OK5_cjs.e}});Object.defineProperty(exports,"PluginHost",{enumerable:true,get:function(){return chunkS36T7OK5_cjs.V}});Object.defineProperty(exports,"UnsupportedFeatureWarning",{enumerable:true,get:function(){return chunkS36T7OK5_cjs.f}});Object.defineProperty(exports,"ZOOM_PRESETS",{enumerable:true,get:function(){return chunkS36T7OK5_cjs.m}});Object.defineProperty(exports,"clampZoom",{enumerable:true,get:function(){return chunkS36T7OK5_cjs.v}});Object.defineProperty(exports,"findNearestZoomPreset",{enumerable:true,get:function(){return chunkS36T7OK5_cjs.p}});Object.defineProperty(exports,"formatZoom",{enumerable:true,get:function(){return chunkS36T7OK5_cjs.s}});Object.defineProperty(exports,"generateOverlayElements",{enumerable:true,get:function(){return chunkS36T7OK5_cjs.S}});Object.defineProperty(exports,"getNextZoomPreset",{enumerable:true,get:function(){return chunkS36T7OK5_cjs.q}});Object.defineProperty(exports,"getPreviousZoomPreset",{enumerable:true,get:function(){return chunkS36T7OK5_cjs.r}});Object.defineProperty(exports,"getUserFriendlyMessage",{enumerable:true,get:function(){return chunkS36T7OK5_cjs.h}});Object.defineProperty(exports,"getZoomPresets",{enumerable:true,get:function(){return chunkS36T7OK5_cjs.o}});Object.defineProperty(exports,"isParseError",{enumerable:true,get:function(){return chunkS36T7OK5_cjs.g}});Object.defineProperty(exports,"isZoomPreset",{enumerable:true,get:function(){return chunkS36T7OK5_cjs.u}});Object.defineProperty(exports,"parseZoom",{enumerable:true,get:function(){return chunkS36T7OK5_cjs.t}});Object.defineProperty(exports,"renderAsync",{enumerable:true,get:function(){return chunkS36T7OK5_cjs.k}});Object.defineProperty(exports,"useAutoSave",{enumerable:true,get:function(){return chunkS36T7OK5_cjs.l}});Object.defineProperty(exports,"useClipboard",{enumerable:true,get:function(){return chunkS36T7OK5_cjs.T}});Object.defineProperty(exports,"useErrorNotifications",{enumerable:true,get:function(){return chunkS36T7OK5_cjs.b}});Object.defineProperty(exports,"useSelectionHighlight",{enumerable:true,get:function(){return chunkS36T7OK5_cjs.R}});Object.defineProperty(exports,"useTableSelection",{enumerable:true,get:function(){return chunkS36T7OK5_cjs.i}});Object.defineProperty(exports,"useWheelZoom",{enumerable:true,get:function(){return chunkS36T7OK5_cjs.n}});Object.defineProperty(exports,"TABLE_DATA_ATTRIBUTES",{enumerable:true,get:function(){return chunk2VHQ7YOQ_cjs.x}});Object.defineProperty(exports,"createSelectionFromDOM",{enumerable:true,get:function(){return chunk2VHQ7YOQ_cjs.F}});Object.defineProperty(exports,"formatLastSaveTime",{enumerable:true,get:function(){return chunk2VHQ7YOQ_cjs.s}});Object.defineProperty(exports,"formatStorageSize",{enumerable:true,get:function(){return chunk2VHQ7YOQ_cjs.v}});Object.defineProperty(exports,"getAutoSaveStatusLabel",{enumerable:true,get:function(){return chunk2VHQ7YOQ_cjs.t}});Object.defineProperty(exports,"getAutoSaveStorageSize",{enumerable:true,get:function(){return chunk2VHQ7YOQ_cjs.u}});Object.defineProperty(exports,"getSelectionRuns",{enumerable:true,get:function(){return chunk2VHQ7YOQ_cjs.E}});Object.defineProperty(exports,"isAutoSaveSupported",{enumerable:true,get:function(){return chunk2VHQ7YOQ_cjs.w}});Object.defineProperty(exports,"toArrayBuffer",{enumerable:true,get:function(){return chunkPIVLDW7B_cjs.m}});
1
+ 'use strict';var chunk76GITSCY_cjs=require('./chunk-76GITSCY.cjs');require('./chunk-OJ7NJK46.cjs'),require('./chunk-7YCCCWUZ.cjs'),require('./chunk-VTAS7VZ6.cjs'),require('./chunk-XS2AQFMF.cjs');var chunk2VHQ7YOQ_cjs=require('./chunk-2VHQ7YOQ.cjs');require('./chunk-NKW2UER2.cjs'),require('./chunk-IA4LPH2A.cjs'),require('./chunk-J5YOIHCW.cjs'),require('./chunk-B7TICMXD.cjs'),require('./chunk-MHUCHYNM.cjs'),require('./chunk-P7ZF45KZ.cjs');var chunkCL62W2HQ_cjs=require('./chunk-CL62W2HQ.cjs');require('./chunk-YS7FDEZ4.cjs'),require('./chunk-KR32M3S4.cjs'),require('./chunk-XQNCLN4T.cjs'),require('./chunk-PCJ5ACUV.cjs');Object.defineProperty(exports,"DocxEditor",{enumerable:true,get:function(){return chunk76GITSCY_cjs.j}});Object.defineProperty(exports,"ErrorBoundary",{enumerable:true,get:function(){return chunk76GITSCY_cjs.d}});Object.defineProperty(exports,"ErrorProvider",{enumerable:true,get:function(){return chunk76GITSCY_cjs.c}});Object.defineProperty(exports,"PLUGIN_HOST_STYLES",{enumerable:true,get:function(){return chunk76GITSCY_cjs.U}});Object.defineProperty(exports,"ParseErrorDisplay",{enumerable:true,get:function(){return chunk76GITSCY_cjs.e}});Object.defineProperty(exports,"PluginHost",{enumerable:true,get:function(){return chunk76GITSCY_cjs.V}});Object.defineProperty(exports,"UnsupportedFeatureWarning",{enumerable:true,get:function(){return chunk76GITSCY_cjs.f}});Object.defineProperty(exports,"ZOOM_PRESETS",{enumerable:true,get:function(){return chunk76GITSCY_cjs.m}});Object.defineProperty(exports,"clampZoom",{enumerable:true,get:function(){return chunk76GITSCY_cjs.v}});Object.defineProperty(exports,"findNearestZoomPreset",{enumerable:true,get:function(){return chunk76GITSCY_cjs.p}});Object.defineProperty(exports,"formatZoom",{enumerable:true,get:function(){return chunk76GITSCY_cjs.s}});Object.defineProperty(exports,"generateOverlayElements",{enumerable:true,get:function(){return chunk76GITSCY_cjs.S}});Object.defineProperty(exports,"getNextZoomPreset",{enumerable:true,get:function(){return chunk76GITSCY_cjs.q}});Object.defineProperty(exports,"getPreviousZoomPreset",{enumerable:true,get:function(){return chunk76GITSCY_cjs.r}});Object.defineProperty(exports,"getUserFriendlyMessage",{enumerable:true,get:function(){return chunk76GITSCY_cjs.h}});Object.defineProperty(exports,"getZoomPresets",{enumerable:true,get:function(){return chunk76GITSCY_cjs.o}});Object.defineProperty(exports,"isParseError",{enumerable:true,get:function(){return chunk76GITSCY_cjs.g}});Object.defineProperty(exports,"isZoomPreset",{enumerable:true,get:function(){return chunk76GITSCY_cjs.u}});Object.defineProperty(exports,"parseZoom",{enumerable:true,get:function(){return chunk76GITSCY_cjs.t}});Object.defineProperty(exports,"renderAsync",{enumerable:true,get:function(){return chunk76GITSCY_cjs.k}});Object.defineProperty(exports,"useAutoSave",{enumerable:true,get:function(){return chunk76GITSCY_cjs.l}});Object.defineProperty(exports,"useClipboard",{enumerable:true,get:function(){return chunk76GITSCY_cjs.T}});Object.defineProperty(exports,"useErrorNotifications",{enumerable:true,get:function(){return chunk76GITSCY_cjs.b}});Object.defineProperty(exports,"useSelectionHighlight",{enumerable:true,get:function(){return chunk76GITSCY_cjs.R}});Object.defineProperty(exports,"useTableSelection",{enumerable:true,get:function(){return chunk76GITSCY_cjs.i}});Object.defineProperty(exports,"useWheelZoom",{enumerable:true,get:function(){return chunk76GITSCY_cjs.n}});Object.defineProperty(exports,"TABLE_DATA_ATTRIBUTES",{enumerable:true,get:function(){return chunk2VHQ7YOQ_cjs.x}});Object.defineProperty(exports,"createSelectionFromDOM",{enumerable:true,get:function(){return chunk2VHQ7YOQ_cjs.F}});Object.defineProperty(exports,"formatLastSaveTime",{enumerable:true,get:function(){return chunk2VHQ7YOQ_cjs.s}});Object.defineProperty(exports,"formatStorageSize",{enumerable:true,get:function(){return chunk2VHQ7YOQ_cjs.v}});Object.defineProperty(exports,"getAutoSaveStatusLabel",{enumerable:true,get:function(){return chunk2VHQ7YOQ_cjs.t}});Object.defineProperty(exports,"getAutoSaveStorageSize",{enumerable:true,get:function(){return chunk2VHQ7YOQ_cjs.u}});Object.defineProperty(exports,"getSelectionRuns",{enumerable:true,get:function(){return chunk2VHQ7YOQ_cjs.E}});Object.defineProperty(exports,"isAutoSaveSupported",{enumerable:true,get:function(){return chunk2VHQ7YOQ_cjs.w}});Object.defineProperty(exports,"toArrayBuffer",{enumerable:true,get:function(){return chunkCL62W2HQ_cjs.m}});
package/dist/react.d.cts CHANGED
@@ -1,10 +1,10 @@
1
- export { a as DocxEditor, b as DocxEditorHandle, c as DocxEditorProps, d as DocxEditorRef, e as EditorPlugin, f as ErrorBoundary, g as ErrorBoundaryProps, h as ErrorContextValue, i as ErrorProvider, P as PLUGIN_HOST_STYLES, k as ParseErrorDisplay, l as ParseErrorDisplayProps, m as PluginContext, n as PluginHost, o as PluginHostProps, p as PluginHostRef, q as RenderAsyncOptions, s as SelectionOverlayProps, T as TableSelectionState, U as UnsupportedFeatureWarning, u as UnsupportedFeatureWarningProps, v as UseAutoSaveOptions, w as UseAutoSaveReturn, x as UseClipboardOptions, y as UseClipboardReturn, z as UseSelectionHighlightOptions, A as UseSelectionHighlightReturn, B as UseTableSelectionOptions, C as UseTableSelectionReturn, F as UseWheelZoomOptions, G as UseWheelZoomReturn, Z as ZOOM_PRESETS, J as clampZoom, M as findNearestZoomPreset, N as formatZoom, O as generateOverlayElements, X as getNextZoomPreset, Y as getPreviousZoomPreset, a1 as getUserFriendlyMessage, a2 as getZoomPresets, a6 as isParseError, a9 as isZoomPreset, ac as parseZoom, ae as renderAsync, ag as useAutoSave, ah as useClipboard, ai as useErrorNotifications, aj as useSelectionHighlight, ak as useTableSelection, al as useWheelZoom } from './react-CKqhN17E.cjs';
2
- export { g as DocxInput, t as toArrayBuffer } from './DocumentAgent-cHf96hwL.cjs';
3
- export { d as AutoSaveStatus, e as ClipboardSelection, h as ErrorNotification, i as ErrorSeverity, j as PanelConfig, k as PluginPanelProps, m as SavedDocumentData, T as TABLE_DATA_ATTRIBUTES, p as createSelectionFromDOM, t as formatLastSaveTime, u as formatStorageSize, v as getAutoSaveStatusLabel, w as getAutoSaveStorageSize, x as getSelectionRuns, z as isAutoSaveSupported } from './ClipboardManager-Bbo5MM_U.cjs';
1
+ export { a as DocxEditor, b as DocxEditorHandle, c as DocxEditorProps, d as DocxEditorRef, e as EditorPlugin, f as ErrorBoundary, g as ErrorBoundaryProps, h as ErrorContextValue, i as ErrorProvider, P as PLUGIN_HOST_STYLES, k as ParseErrorDisplay, l as ParseErrorDisplayProps, m as PluginContext, n as PluginHost, o as PluginHostProps, p as PluginHostRef, q as RenderAsyncOptions, s as SelectionOverlayProps, T as TableSelectionState, U as UnsupportedFeatureWarning, u as UnsupportedFeatureWarningProps, v as UseAutoSaveOptions, w as UseAutoSaveReturn, x as UseClipboardOptions, y as UseClipboardReturn, z as UseSelectionHighlightOptions, A as UseSelectionHighlightReturn, B as UseTableSelectionOptions, C as UseTableSelectionReturn, F as UseWheelZoomOptions, G as UseWheelZoomReturn, Z as ZOOM_PRESETS, J as clampZoom, M as findNearestZoomPreset, N as formatZoom, O as generateOverlayElements, X as getNextZoomPreset, Y as getPreviousZoomPreset, a1 as getUserFriendlyMessage, a2 as getZoomPresets, a6 as isParseError, a9 as isZoomPreset, ac as parseZoom, ae as renderAsync, ag as useAutoSave, ah as useClipboard, ai as useErrorNotifications, aj as useSelectionHighlight, ak as useTableSelection, al as useWheelZoom } from './react-XjilVrXZ.cjs';
2
+ export { g as DocxInput, t as toArrayBuffer } from './DocumentAgent-ZcA8CUmC.cjs';
3
+ export { d as AutoSaveStatus, e as ClipboardSelection, h as ErrorNotification, i as ErrorSeverity, j as PanelConfig, k as PluginPanelProps, m as SavedDocumentData, T as TABLE_DATA_ATTRIBUTES, p as createSelectionFromDOM, t as formatLastSaveTime, u as formatStorageSize, v as getAutoSaveStatusLabel, w as getAutoSaveStorageSize, x as getSelectionRuns, z as isAutoSaveSupported } from './ClipboardManager-BYO62Qs5.cjs';
4
4
  import 'react';
5
5
  import 'prosemirror-view';
6
6
  import 'prosemirror-state';
7
- import './agentApi-DmDuQm0e.cjs';
8
- import './clipboard-DBabJ6mU.cjs';
7
+ import './agentApi-B0688ssC.cjs';
8
+ import './clipboard-Da1iPK0O.cjs';
9
9
  import 'react/jsx-runtime';
10
10
  import 'prosemirror-model';
package/dist/react.d.ts CHANGED
@@ -1,10 +1,10 @@
1
- export { a as DocxEditor, b as DocxEditorHandle, c as DocxEditorProps, d as DocxEditorRef, e as EditorPlugin, f as ErrorBoundary, g as ErrorBoundaryProps, h as ErrorContextValue, i as ErrorProvider, P as PLUGIN_HOST_STYLES, k as ParseErrorDisplay, l as ParseErrorDisplayProps, m as PluginContext, n as PluginHost, o as PluginHostProps, p as PluginHostRef, q as RenderAsyncOptions, s as SelectionOverlayProps, T as TableSelectionState, U as UnsupportedFeatureWarning, u as UnsupportedFeatureWarningProps, v as UseAutoSaveOptions, w as UseAutoSaveReturn, x as UseClipboardOptions, y as UseClipboardReturn, z as UseSelectionHighlightOptions, A as UseSelectionHighlightReturn, B as UseTableSelectionOptions, C as UseTableSelectionReturn, F as UseWheelZoomOptions, G as UseWheelZoomReturn, Z as ZOOM_PRESETS, J as clampZoom, M as findNearestZoomPreset, N as formatZoom, O as generateOverlayElements, X as getNextZoomPreset, Y as getPreviousZoomPreset, a1 as getUserFriendlyMessage, a2 as getZoomPresets, a6 as isParseError, a9 as isZoomPreset, ac as parseZoom, ae as renderAsync, ag as useAutoSave, ah as useClipboard, ai as useErrorNotifications, aj as useSelectionHighlight, ak as useTableSelection, al as useWheelZoom } from './react-CFPWe7nV.js';
2
- export { g as DocxInput, t as toArrayBuffer } from './DocumentAgent-lHtXgMFN.js';
3
- export { d as AutoSaveStatus, e as ClipboardSelection, h as ErrorNotification, i as ErrorSeverity, j as PanelConfig, k as PluginPanelProps, m as SavedDocumentData, T as TABLE_DATA_ATTRIBUTES, p as createSelectionFromDOM, t as formatLastSaveTime, u as formatStorageSize, v as getAutoSaveStatusLabel, w as getAutoSaveStorageSize, x as getSelectionRuns, z as isAutoSaveSupported } from './ClipboardManager-CR843H7H.js';
1
+ export { a as DocxEditor, b as DocxEditorHandle, c as DocxEditorProps, d as DocxEditorRef, e as EditorPlugin, f as ErrorBoundary, g as ErrorBoundaryProps, h as ErrorContextValue, i as ErrorProvider, P as PLUGIN_HOST_STYLES, k as ParseErrorDisplay, l as ParseErrorDisplayProps, m as PluginContext, n as PluginHost, o as PluginHostProps, p as PluginHostRef, q as RenderAsyncOptions, s as SelectionOverlayProps, T as TableSelectionState, U as UnsupportedFeatureWarning, u as UnsupportedFeatureWarningProps, v as UseAutoSaveOptions, w as UseAutoSaveReturn, x as UseClipboardOptions, y as UseClipboardReturn, z as UseSelectionHighlightOptions, A as UseSelectionHighlightReturn, B as UseTableSelectionOptions, C as UseTableSelectionReturn, F as UseWheelZoomOptions, G as UseWheelZoomReturn, Z as ZOOM_PRESETS, J as clampZoom, M as findNearestZoomPreset, N as formatZoom, O as generateOverlayElements, X as getNextZoomPreset, Y as getPreviousZoomPreset, a1 as getUserFriendlyMessage, a2 as getZoomPresets, a6 as isParseError, a9 as isZoomPreset, ac as parseZoom, ae as renderAsync, ag as useAutoSave, ah as useClipboard, ai as useErrorNotifications, aj as useSelectionHighlight, ak as useTableSelection, al as useWheelZoom } from './react-C_O0Z9ci.js';
2
+ export { g as DocxInput, t as toArrayBuffer } from './DocumentAgent-BW1-gnqM.js';
3
+ export { d as AutoSaveStatus, e as ClipboardSelection, h as ErrorNotification, i as ErrorSeverity, j as PanelConfig, k as PluginPanelProps, m as SavedDocumentData, T as TABLE_DATA_ATTRIBUTES, p as createSelectionFromDOM, t as formatLastSaveTime, u as formatStorageSize, v as getAutoSaveStatusLabel, w as getAutoSaveStorageSize, x as getSelectionRuns, z as isAutoSaveSupported } from './ClipboardManager-YQYq5X_Z.js';
4
4
  import 'react';
5
5
  import 'prosemirror-view';
6
6
  import 'prosemirror-state';
7
- import './agentApi-DmDuQm0e.js';
8
- import './clipboard-CU-zASXS.js';
7
+ import './agentApi-B0688ssC.js';
8
+ import './clipboard-D0EG6AxE.js';
9
9
  import 'react/jsx-runtime';
10
10
  import 'prosemirror-model';
package/dist/react.js CHANGED
@@ -1 +1 @@
1
- export{j as DocxEditor,d as ErrorBoundary,c as ErrorProvider,U as PLUGIN_HOST_STYLES,e as ParseErrorDisplay,V as PluginHost,f as UnsupportedFeatureWarning,m as ZOOM_PRESETS,v as clampZoom,p as findNearestZoomPreset,s as formatZoom,S as generateOverlayElements,q as getNextZoomPreset,r as getPreviousZoomPreset,h as getUserFriendlyMessage,o as getZoomPresets,g as isParseError,u as isZoomPreset,t as parseZoom,k as renderAsync,l as useAutoSave,T as useClipboard,b as useErrorNotifications,R as useSelectionHighlight,i as useTableSelection,n as useWheelZoom}from'./chunk-YYBSUBRG.js';import'./chunk-5GFXHUMP.js';import'./chunk-MUIREXKH.js';import'./chunk-CTYOM6BE.js';import'./chunk-PJVI53AH.js';export{x as TABLE_DATA_ATTRIBUTES,F as createSelectionFromDOM,s as formatLastSaveTime,v as formatStorageSize,t as getAutoSaveStatusLabel,u as getAutoSaveStorageSize,E as getSelectionRuns,w as isAutoSaveSupported}from'./chunk-FVUGBRDD.js';import'./chunk-JIKVCUR6.js';import'./chunk-4VUZBV2S.js';import'./chunk-6TUCNECX.js';import'./chunk-CLDB6TL7.js';import'./chunk-PGEORVCG.js';import'./chunk-AARNCPWR.js';export{m as toArrayBuffer}from'./chunk-3X3LTNK4.js';import'./chunk-BUEMG4NW.js';import'./chunk-SE5EN2QL.js';import'./chunk-USRMBYI6.js';import'./chunk-H5NTJZO4.js';
1
+ export{j as DocxEditor,d as ErrorBoundary,c as ErrorProvider,U as PLUGIN_HOST_STYLES,e as ParseErrorDisplay,V as PluginHost,f as UnsupportedFeatureWarning,m as ZOOM_PRESETS,v as clampZoom,p as findNearestZoomPreset,s as formatZoom,S as generateOverlayElements,q as getNextZoomPreset,r as getPreviousZoomPreset,h as getUserFriendlyMessage,o as getZoomPresets,g as isParseError,u as isZoomPreset,t as parseZoom,k as renderAsync,l as useAutoSave,T as useClipboard,b as useErrorNotifications,R as useSelectionHighlight,i as useTableSelection,n as useWheelZoom}from'./chunk-H7AKDCWH.js';import'./chunk-JO2CKU4O.js';import'./chunk-E7U5ZBOK.js';import'./chunk-CTYOM6BE.js';import'./chunk-PJVI53AH.js';export{x as TABLE_DATA_ATTRIBUTES,F as createSelectionFromDOM,s as formatLastSaveTime,v as formatStorageSize,t as getAutoSaveStatusLabel,u as getAutoSaveStorageSize,E as getSelectionRuns,w as isAutoSaveSupported}from'./chunk-FVUGBRDD.js';import'./chunk-T2SRPPZY.js';import'./chunk-4VUZBV2S.js';import'./chunk-ABNIHWGF.js';import'./chunk-CLDB6TL7.js';import'./chunk-PP54GVGD.js';import'./chunk-AARNCPWR.js';export{m as toArrayBuffer}from'./chunk-YP3CXYSU.js';import'./chunk-BUEMG4NW.js';import'./chunk-SE5EN2QL.js';import'./chunk-USRMBYI6.js';import'./chunk-H5NTJZO4.js';
@@ -1,4 +1,4 @@
1
- import { C as CorePlugin, P as PluginOptions, a as PluginRegistrationResult, b as CommandHandler, M as McpToolDefinition, c as PluginEventListener } from './types-BpokDLqL.js';
1
+ import { C as CorePlugin, P as PluginOptions, a as PluginRegistrationResult, b as CommandHandler, M as McpToolDefinition, c as PluginEventListener } from './types-BwCYaZKB.js';
2
2
 
3
3
  /**
4
4
  * Plugin Registry
@@ -1,4 +1,4 @@
1
- import { C as CorePlugin, P as PluginOptions, a as PluginRegistrationResult, b as CommandHandler, M as McpToolDefinition, c as PluginEventListener } from './types-COQvtZji.cjs';
1
+ import { C as CorePlugin, P as PluginOptions, a as PluginRegistrationResult, b as CommandHandler, M as McpToolDefinition, c as PluginEventListener } from './types-DAxXgYu5.cjs';
2
2
 
3
3
  /**
4
4
  * Plugin Registry
@@ -0,0 +1 @@
1
+ 'use strict';var chunkOJ7NJK46_cjs=require('./chunk-OJ7NJK46.cjs');require('./chunk-PCJ5ACUV.cjs');Object.defineProperty(exports,"getCaretPosition",{enumerable:true,get:function(){return chunkOJ7NJK46_cjs.o}});Object.defineProperty(exports,"groupRectsByPage",{enumerable:true,get:function(){return chunkOJ7NJK46_cjs.q}});Object.defineProperty(exports,"isMultiPageSelection",{enumerable:true,get:function(){return chunkOJ7NJK46_cjs.p}});Object.defineProperty(exports,"selectionToRects",{enumerable:true,get:function(){return chunkOJ7NJK46_cjs.n}});
@@ -0,0 +1 @@
1
+ export{o as getCaretPosition,q as groupRectsByPage,p as isMultiPageSelection,n as selectionToRects}from'./chunk-JO2CKU4O.js';import'./chunk-H5NTJZO4.js';
package/dist/styles.css CHANGED
@@ -1 +1 @@
1
- .ep-root .\!visible{visibility:visible!important}.ep-root .visible{visibility:visible}.ep-root .collapse{visibility:collapse}.ep-root .static{position:static}.ep-root .fixed{position:fixed}.ep-root .absolute{position:absolute}.ep-root .relative{position:relative}.ep-root .sticky{position:sticky}.ep-root .right-2{right:.5rem}.ep-root .z-50{z-index:50}.ep-root .-mx-1{margin-left:-.25rem;margin-right:-.25rem}.ep-root .mx-1\.5{margin-left:.375rem;margin-right:.375rem}.ep-root .mx-2{margin-left:.5rem;margin-right:.5rem}.ep-root .my-1{margin-top:.25rem;margin-bottom:.25rem}.ep-root .-ml-1{margin-left:-.25rem}.ep-root .mb-1{margin-bottom:.25rem}.ep-root .ml-auto{margin-left:auto}.ep-root .block{display:block}.ep-root .inline-block{display:inline-block}.ep-root .\!inline{display:inline!important}.ep-root .inline{display:inline}.ep-root .flex{display:flex}.ep-root .inline-flex{display:inline-flex}.ep-root .\!table{display:table!important}.ep-root .table{display:table}.ep-root .grid{display:grid}.ep-root .inline-grid{display:inline-grid}.ep-root .contents{display:contents}.ep-root .hidden{display:none}.ep-root .h-10{height:2.5rem}.ep-root .h-11{height:2.75rem}.ep-root .h-3\.5{height:.875rem}.ep-root .h-4{height:1rem}.ep-root .h-5{height:1.25rem}.ep-root .h-6{height:1.5rem}.ep-root .h-7{height:1.75rem}.ep-root .h-8{height:2rem}.ep-root .h-9{height:2.25rem}.ep-root .h-\[var\(--radix-select-trigger-height\)\]{height:var(--radix-select-trigger-height)}.ep-root .h-px{height:1px}.ep-root .max-h-72{max-height:18rem}.ep-root .max-h-\[300px\]{max-height:300px}.ep-root .max-h-\[400px\]{max-height:400px}.ep-root .min-h-\[36px\]{min-height:36px}.ep-root .w-10{width:2.5rem}.ep-root .w-3\.5{width:.875rem}.ep-root .w-4{width:1rem}.ep-root .w-5{width:1.25rem}.ep-root .w-7{width:1.75rem}.ep-root .w-9{width:2.25rem}.ep-root .w-full{width:100%}.ep-root .w-px{width:1px}.ep-root .min-w-0{min-width:0}.ep-root .min-w-\[100px\]{min-width:100px}.ep-root .min-w-\[260px\]{min-width:260px}.ep-root .min-w-\[55px\]{min-width:55px}.ep-root .min-w-\[70px\]{min-width:70px}.ep-root .min-w-\[8rem\]{min-width:8rem}.ep-root .min-w-\[var\(--radix-select-trigger-width\)\]{min-width:var(--radix-select-trigger-width)}.ep-root .max-w-\[300px\]{max-width:300px}.ep-root .flex-1{flex:1 1 0%}.ep-root .flex-shrink{flex-shrink:1}.ep-root .flex-shrink-0{flex-shrink:0}.ep-root .shrink{flex-shrink:1}.ep-root .shrink-0{flex-shrink:0}.ep-root .transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.ep-root .cursor-not-allowed{cursor:not-allowed}.ep-root .cursor-pointer{cursor:pointer}.ep-root .select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.ep-root .select-all{-webkit-user-select:all;-moz-user-select:all;user-select:all}.ep-root .resize{resize:both}.ep-root .flex-col{flex-direction:column}.ep-root .flex-wrap{flex-wrap:wrap}.ep-root .items-center{align-items:center}.ep-root .items-stretch{align-items:stretch}.ep-root .justify-center{justify-content:center}.ep-root .justify-between{justify-content:space-between}.ep-root .gap-0{gap:0}.ep-root .gap-0\.5{gap:.125rem}.ep-root .gap-1{gap:.25rem}.ep-root .gap-2{gap:.5rem}.ep-root .gap-px{gap:1px}.ep-root .overflow-hidden{overflow:hidden}.ep-root .overflow-x-auto{overflow-x:auto}.ep-root .truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ep-root .whitespace-nowrap{white-space:nowrap}.ep-root .rounded{border-radius:.25rem}.ep-root .rounded-full{border-radius:9999px}.ep-root .rounded-lg{border-radius:var(--radius)}.ep-root .rounded-md{border-radius:calc(var(--radius) - 2px)}.ep-root .rounded-none{border-radius:0}.ep-root .rounded-l-none{border-top-left-radius:0;border-bottom-left-radius:0}.ep-root .rounded-r-none{border-top-right-radius:0;border-bottom-right-radius:0}.ep-root .\!border{border-width:1px!important}.ep-root .border{border-width:1px}.ep-root .border-0{border-width:0}.ep-root .border-b{border-bottom-width:1px}.ep-root .border-r{border-right-width:1px}.ep-root .border-input{border-color:hsl(var(--input))}.ep-root .border-slate-100{--tw-border-opacity:1;border-color:rgb(241 245 249/var(--tw-border-opacity,1))}.ep-root .border-slate-200{--tw-border-opacity:1;border-color:rgb(226 232 240/var(--tw-border-opacity,1))}.ep-root .border-slate-200\/50{border-color:rgba(226,232,240,.5)}.ep-root .border-slate-300{--tw-border-opacity:1;border-color:rgb(203 213 225/var(--tw-border-opacity,1))}.ep-root .bg-\[\#f1f5f9\]{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}.ep-root .bg-background{background-color:hsl(var(--background))}.ep-root .bg-destructive{background-color:hsl(var(--destructive))}.ep-root .bg-doc-bg{background-color:var(--doc-bg)}.ep-root .bg-primary{background-color:hsl(var(--primary))}.ep-root .bg-secondary{background-color:hsl(var(--secondary))}.ep-root .bg-slate-100{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}.ep-root .bg-slate-200{--tw-bg-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity,1))}.ep-root .bg-slate-900{--tw-bg-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity,1))}.ep-root .bg-transparent{background-color:transparent}.ep-root .bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.ep-root .p-1{padding:.25rem}.ep-root .px-1{padding-left:.25rem;padding-right:.25rem}.ep-root .px-1\.5{padding-left:.375rem;padding-right:.375rem}.ep-root .px-2{padding-left:.5rem;padding-right:.5rem}.ep-root .px-3{padding-left:.75rem;padding-right:.75rem}.ep-root .px-4{padding-left:1rem;padding-right:1rem}.ep-root .px-5{padding-left:1.25rem;padding-right:1.25rem}.ep-root .px-8{padding-left:2rem;padding-right:2rem}.ep-root .py-0{padding-top:0;padding-bottom:0}.ep-root .py-1{padding-top:.25rem;padding-bottom:.25rem}.ep-root .py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.ep-root .py-2{padding-top:.5rem;padding-bottom:.5rem}.ep-root .py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.ep-root .pl-3{padding-left:.75rem}.ep-root .pr-1{padding-right:.25rem}.ep-root .pt-2{padding-top:.5rem}.ep-root .text-left{text-align:left}.ep-root .text-center{text-align:center}.ep-root .text-base{font-size:1rem;line-height:1.5rem}.ep-root .text-sm{font-size:.875rem;line-height:1.25rem}.ep-root .text-xs{font-size:.75rem;line-height:1rem}.ep-root .font-medium{font-weight:500}.ep-root .font-normal{font-weight:400}.ep-root .uppercase{text-transform:uppercase}.ep-root .lowercase{text-transform:lowercase}.ep-root .capitalize{text-transform:capitalize}.ep-root .italic{font-style:italic}.ep-root .ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.ep-root .leading-tight{line-height:1.25}.ep-root .text-destructive-foreground{color:hsl(var(--destructive-foreground))}.ep-root .text-primary{color:hsl(var(--primary))}.ep-root .text-primary-foreground{color:hsl(var(--primary-foreground))}.ep-root .text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity,1))}.ep-root .text-secondary-foreground{color:hsl(var(--secondary-foreground))}.ep-root .text-slate-400{--tw-text-opacity:1;color:rgb(148 163 184/var(--tw-text-opacity,1))}.ep-root .text-slate-500{--tw-text-opacity:1;color:rgb(100 116 139/var(--tw-text-opacity,1))}.ep-root .text-slate-700{--tw-text-opacity:1;color:rgb(51 65 85/var(--tw-text-opacity,1))}.ep-root .text-slate-800{--tw-text-opacity:1;color:rgb(30 41 59/var(--tw-text-opacity,1))}.ep-root .text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.ep-root .underline{text-decoration-line:underline}.ep-root .line-through{text-decoration-line:line-through}.ep-root .underline-offset-4{text-underline-offset:4px}.ep-root .opacity-30{opacity:.3}.ep-root .opacity-50{opacity:.5}.ep-root .shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}.ep-root .shadow-lg,.ep-root .shadow-sm{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.ep-root .shadow-sm{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color)}.ep-root .outline-none{outline:2px solid transparent;outline-offset:2px}.ep-root .\!outline{outline-style:solid!important}.ep-root .outline{outline-style:solid}.ep-root .ring-offset-background{--tw-ring-offset-color:hsl(var(--background))}.ep-root .blur{--tw-blur:blur(8px)}.ep-root .blur,.ep-root .filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.ep-root .transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ep-root .transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ep-root .duration-150{transition-duration:.15s}.ep-root .ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ep-root .ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}@keyframes enter{0%{opacity:var(--tw-enter-opacity,1);transform:translate3d(var(--tw-enter-translate-x,0),var(--tw-enter-translate-y,0),0) scale3d(var(--tw-enter-scale,1),var(--tw-enter-scale,1),var(--tw-enter-scale,1)) rotate(var(--tw-enter-rotate,0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity,1);transform:translate3d(var(--tw-exit-translate-x,0),var(--tw-exit-translate-y,0),0) scale3d(var(--tw-exit-scale,1),var(--tw-exit-scale,1),var(--tw-exit-scale,1)) rotate(var(--tw-exit-rotate,0))}}.ep-root .zoom-in{--tw-enter-scale:0}.ep-root .zoom-out{--tw-exit-scale:0}.ep-root .duration-150{animation-duration:.15s}.ep-root .ease-in-out{animation-timing-function:cubic-bezier(.4,0,.2,1)}.ep-root .ease-out{animation-timing-function:cubic-bezier(0,0,.2,1)}.ep-root .running{animation-play-state:running}.ep-root{--background:0 0% 100%;--foreground:222.2 84% 4.9%;--card:0 0% 100%;--card-foreground:222.2 84% 4.9%;--popover:0 0% 100%;--popover-foreground:222.2 84% 4.9%;--primary:221.2 83.2% 53.3%;--primary-foreground:210 40% 98%;--secondary:210 40% 96.1%;--secondary-foreground:222.2 47.4% 11.2%;--muted:210 40% 96.1%;--muted-foreground:215.4 16.3% 46.9%;--accent:210 40% 96.1%;--accent-foreground:222.2 47.4% 11.2%;--destructive:0 84.2% 60.2%;--destructive-foreground:210 40% 98%;--border:214.3 31.8% 91.4%;--input:214.3 31.8% 91.4%;--ring:221.2 83.2% 53.3%;--radius:0.5rem;--doc-bg:#f8f9fa;--doc-primary:#1a73e8;--doc-primary-hover:#1557b0;--doc-primary-light:#e8f0fe;--doc-text:#202124;--doc-text-muted:#5f6368;--doc-text-subtle:#9aa0a6;--doc-text-placeholder:#999;--doc-border:#e0e0e0;--doc-border-light:#dadce0;--doc-border-dark:#d0d0d0;--doc-border-input:#ccc;--doc-bg-subtle:#f5f5f5;--doc-bg-hover:#f1f3f4;--doc-bg-input:#f8f9fa;--doc-error:#c5221f;--doc-error-bg:#fce8e6;--doc-success:#34a853;--doc-success-bg:#e8f5e9;--doc-warning:#f9a825;--doc-warning-bg:#fff8e1;--doc-link:#0563c1}[contenteditable=true]{caret-color:#000;outline:none;caret-shape:bar}.docx-run-editable[contenteditable=true]{caret-color:#000;min-height:1em;display:inline}.docx-paragraph-empty [contenteditable=true]{min-height:1em;min-width:1px;display:inline-block}.docx-paragraph-editable{cursor:text}.docx-run-editable[contenteditable=true]:focus{outline:none}.docx-paragraph-editable:focus-within{outline:none}.docx-run ::selection,.docx-run-editable ::selection,.docx-run-editable::selection,.docx-run::selection,[contenteditable=true] ::selection,[contenteditable=true]::selection{background-color:rgba(26,115,232,.3)!important;color:inherit!important}.docx-run ::-moz-selection,.docx-run-editable ::-moz-selection,.docx-run-editable::-moz-selection,.docx-run::-moz-selection,[contenteditable=true] ::-moz-selection,[contenteditable=true]::-moz-selection{background-color:rgba(26,115,232,.3)!important;color:inherit!important}.docx-paragraph ::selection,.docx-paragraph-editable ::selection,.docx-paragraph-editable::selection,.docx-paragraph::selection{background-color:rgba(26,115,232,.3)!important;color:inherit!important}.docx-paragraph ::-moz-selection,.docx-paragraph-editable ::-moz-selection,.docx-paragraph-editable::-moz-selection,.docx-paragraph::-moz-selection{background-color:rgba(26,115,232,.3)!important;color:inherit!important}.docx-hyperlink ::selection,.docx-hyperlink::selection{background-color:rgba(26,115,232,.3)!important;color:inherit!important}.docx-hyperlink ::-moz-selection,.docx-hyperlink::-moz-selection{background-color:rgba(26,115,232,.3)!important;color:inherit!important}.docx-run-highlighted ::selection,.docx-run-highlighted::selection{background-color:rgba(26,115,232,.5)!important;color:inherit!important}.docx-run-highlighted ::-moz-selection,.docx-run-highlighted::-moz-selection{background-color:rgba(26,115,232,.5)!important;color:inherit!important}.docx-run-dark-bg ::selection,.docx-run-dark-bg::selection{background-color:rgba(100,181,246,.5)!important;color:inherit!important}.docx-run-dark-bg ::-moz-selection,.docx-run-dark-bg::-moz-selection{background-color:rgba(100,181,246,.5)!important;color:inherit!important}.docx-run-bold ::selection,.docx-run-bold::selection{background-color:rgba(26,115,232,.3)!important;color:inherit!important}.docx-run-bold ::-moz-selection,.docx-run-bold::-moz-selection{background-color:rgba(26,115,232,.3)!important;color:inherit!important}.docx-run-italic ::selection,.docx-run-italic::selection{background-color:rgba(26,115,232,.3)!important;color:inherit!important}.docx-run-italic ::-moz-selection,.docx-run-italic::-moz-selection{background-color:rgba(26,115,232,.3)!important;color:inherit!important}.docx-find-highlight{background-color:rgba(255,235,59,.5)!important;border-radius:2px}.docx-find-highlight-current{background-color:rgba(255,152,0,.6)!important;border-radius:2px;outline:2px solid rgba(255,152,0,.8)}.docx-ai-selection-preview{background-color:rgba(156,39,176,.2);border-bottom:2px dashed rgba(156,39,176,.6)}.docx-selection-overlay-container{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;z-index:1;overflow:hidden}.docx-selection-overlay-rect{position:absolute;background-color:rgba(66,133,244,.25);pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.docx-run-highlighted[contenteditable=true]{caret-color:#333}.docx-run-dark-bg[contenteditable=true]{caret-color:#fff}.docx-editor{cursor:default}.docx-editor-page{cursor:text}.docx-bookmark-end,.docx-bookmark-start,.docx-drawing-placeholder,.docx-field,.docx-list-marker,.docx-shape-placeholder{cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none}.docx-run-has-variable [contenteditable=false]{cursor:default;-webkit-user-select:all;-moz-user-select:all;user-select:all}.layout-table-cell-selected{position:relative;outline:2px solid rgba(66,133,244,.6);outline-offset:-2px}.layout-table-cell-selected:after{content:"";position:absolute;inset:0;background-color:rgba(66,133,244,.15);pointer-events:none}.layout-table-resize-handle{background-color:transparent;transition:background-color .15s}.layout-table-resize-handle.dragging,.layout-table-resize-handle:hover{background-color:rgba(66,133,244,.6)}.layout-table-edge-handle-bottom,.layout-table-row-resize-handle{background-color:transparent;transition:background-color .15s}.layout-table-edge-handle-bottom.dragging,.layout-table-edge-handle-bottom:hover,.layout-table-row-resize-handle.dragging,.layout-table-row-resize-handle:hover{background-color:rgba(66,133,244,.6)}.layout-table-edge-handle-right{background-color:transparent;transition:background-color .15s}.layout-table-edge-handle-right.dragging,.layout-table-edge-handle-right:hover{background-color:rgba(66,133,244,.6)}.paged-editor--readonly .layout-table-edge-handle-bottom,.paged-editor--readonly .layout-table-edge-handle-right,.paged-editor--readonly .layout-table-resize-handle,.paged-editor--readonly .layout-table-row-resize-handle{display:none!important}.paged-editor--readonly .layout-page-footer,.paged-editor--readonly .layout-page-header{cursor:default;pointer-events:none}.paged-editor--readonly .layout-page-content{cursor:default}.docx-outline-heading-btn:hover{background-color:#f1f3f4}@media (max-width:1280px){.docx-outline-nav{display:none!important}}.layout-page-content{cursor:text}.layout-page-footer,.layout-page-header{cursor:pointer;transition:background-color .15s ease}.layout-page-footer:hover,.layout-page-header:hover{background-color:rgba(37,99,235,.06)}.layout-page-header:empty:hover:after{content:"Double-click to add header";display:block;text-align:center;color:#9ca3af;font-size:11px;padding:4px 0}.layout-page-footer:empty:hover:after{content:"Double-click to add footer";display:block;text-align:center;color:#9ca3af;font-size:11px;padding:4px 0}.hf-editor-pm .ProseMirror{outline:none;min-height:40px;padding:4px}.hf-editor-pm .ProseMirror:focus{outline:none}.hf-editor-pm .ProseMirror p{display:block;margin:0;padding:0;min-height:1em;white-space:pre-wrap;word-wrap:break-word;line-height:normal}.paged-editor--hf-editing .layout-page-content{opacity:.4;pointer-events:none;transition:opacity .15s ease}.paged-editor--editing-header .layout-page-header{border-bottom:1px dotted #4285f4}.paged-editor--editing-footer .layout-page-footer{border-top:1px dotted #4285f4}.paged-editor--editing-footer .layout-page-footer>*,.paged-editor--editing-header .layout-page-header>*{visibility:hidden}.paged-editor--hf-editing .layout-page-footer:hover,.paged-editor--hf-editing .layout-page-header:hover{background-color:transparent}.docx-section-break{position:relative}.docx-section-break:after{content:"Section Break (" attr(data-section-break) ")";display:block;text-align:center;font-size:9px;color:var(--doc-text-muted,#9ca3af);border-top:1px dashed var(--doc-border,#d1d5db);margin-top:4px;padding-top:2px;pointer-events:none}.ep-hyperlink-popup__icon-btn:hover{background:#f1f3f4}.ep-root .first\:pl-0:first-child{padding-left:0}.ep-root .last\:border-r-0:last-child{border-right-width:0}.ep-root .hover\:border-slate-300:hover{--tw-border-opacity:1;border-color:rgb(203 213 225/var(--tw-border-opacity,1))}.ep-root .hover\:bg-accent:hover{background-color:hsl(var(--accent))}.ep-root .hover\:bg-destructive\/90:hover{background-color:hsl(var(--destructive)/.9)}.ep-root .hover\:bg-primary\/90:hover{background-color:hsl(var(--primary)/.9)}.ep-root .hover\:bg-secondary\/80:hover{background-color:hsl(var(--secondary)/.8)}.ep-root .hover\:bg-slate-100:hover{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}.ep-root .hover\:bg-slate-100\/80:hover{background-color:rgba(241,245,249,.8)}.ep-root .hover\:bg-slate-50:hover{--tw-bg-opacity:1;background-color:rgb(248 250 252/var(--tw-bg-opacity,1))}.ep-root .hover\:bg-slate-800:hover{--tw-bg-opacity:1;background-color:rgb(30 41 59/var(--tw-bg-opacity,1))}.ep-root .hover\:text-accent-foreground:hover{color:hsl(var(--accent-foreground))}.ep-root .hover\:text-slate-900:hover{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity,1))}.ep-root .hover\:text-white:hover{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.ep-root .hover\:underline:hover{text-decoration-line:underline}.ep-root .focus\:bg-slate-100:focus{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}.ep-root .focus\:bg-slate-100\/80:focus{background-color:rgba(241,245,249,.8)}.ep-root .focus\:bg-white:focus{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.ep-root .focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.ep-root .focus\:ring-1:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.ep-root .focus\:ring-slate-300:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(203 213 225/var(--tw-ring-opacity,1))}.ep-root .focus\:ring-slate-400:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(148 163 184/var(--tw-ring-opacity,1))}.ep-root .focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.ep-root .focus-visible\:ring-2:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.ep-root .focus-visible\:ring-ring:focus-visible{--tw-ring-color:hsl(var(--ring))}.ep-root .focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px}.ep-root .disabled\:pointer-events-none:disabled{pointer-events:none}.ep-root .disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.ep-root .disabled\:opacity-50:disabled{opacity:.5}.ep-root .data-\[disabled\]\:pointer-events-none[data-disabled]{pointer-events:none}.ep-root .data-\[side\=bottom\]\:translate-y-1[data-side=bottom]{--tw-translate-y:0.25rem}.ep-root .data-\[side\=bottom\]\:translate-y-1[data-side=bottom],.ep-root .data-\[side\=top\]\:-translate-y-1[data-side=top]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.ep-root .data-\[side\=top\]\:-translate-y-1[data-side=top]{--tw-translate-y:-0.25rem}.ep-root .data-\[disabled\]\:opacity-50[data-disabled]{opacity:.5}.ep-root .data-\[state\=open\]\:animate-in[data-state=open]{animation-name:enter;animation-duration:.15s;--tw-enter-opacity:initial;--tw-enter-scale:initial;--tw-enter-rotate:initial;--tw-enter-translate-x:initial;--tw-enter-translate-y:initial}.ep-root .data-\[state\=closed\]\:animate-out[data-state=closed]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity:initial;--tw-exit-scale:initial;--tw-exit-rotate:initial;--tw-exit-translate-x:initial;--tw-exit-translate-y:initial}.ep-root .data-\[state\=closed\]\:fade-out-0[data-state=closed]{--tw-exit-opacity:0}.ep-root .data-\[state\=open\]\:fade-in-0[data-state=open]{--tw-enter-opacity:0}.ep-root .data-\[state\=closed\]\:zoom-out-95[data-state=closed]{--tw-exit-scale:.95}.ep-root .data-\[state\=open\]\:zoom-in-95[data-state=open]{--tw-enter-scale:.95}.ep-root .data-\[side\=bottom\]\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y:-0.5rem}.ep-root .data-\[side\=top\]\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y:0.5rem}.ep-root :is(.\[\&\>span\]\:truncate>span){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
1
+ .ep-root .\!visible{visibility:visible!important}.ep-root .visible{visibility:visible}.ep-root .collapse{visibility:collapse}.ep-root .static{position:static}.ep-root .fixed{position:fixed}.ep-root .absolute{position:absolute}.ep-root .relative{position:relative}.ep-root .sticky{position:sticky}.ep-root .right-2{right:.5rem}.ep-root .z-50{z-index:50}.ep-root .-mx-1{margin-left:-.25rem;margin-right:-.25rem}.ep-root .mx-1\.5{margin-left:.375rem;margin-right:.375rem}.ep-root .mx-2{margin-left:.5rem;margin-right:.5rem}.ep-root .my-1{margin-top:.25rem;margin-bottom:.25rem}.ep-root .-ml-1{margin-left:-.25rem}.ep-root .mb-1{margin-bottom:.25rem}.ep-root .ml-auto{margin-left:auto}.ep-root .block{display:block}.ep-root .inline-block{display:inline-block}.ep-root .\!inline{display:inline!important}.ep-root .inline{display:inline}.ep-root .flex{display:flex}.ep-root .inline-flex{display:inline-flex}.ep-root .\!table{display:table!important}.ep-root .table{display:table}.ep-root .grid{display:grid}.ep-root .inline-grid{display:inline-grid}.ep-root .contents{display:contents}.ep-root .hidden{display:none}.ep-root .h-10{height:2.5rem}.ep-root .h-11{height:2.75rem}.ep-root .h-3\.5{height:.875rem}.ep-root .h-4{height:1rem}.ep-root .h-5{height:1.25rem}.ep-root .h-6{height:1.5rem}.ep-root .h-7{height:1.75rem}.ep-root .h-8{height:2rem}.ep-root .h-9{height:2.25rem}.ep-root .h-\[var\(--radix-select-trigger-height\)\]{height:var(--radix-select-trigger-height)}.ep-root .h-px{height:1px}.ep-root .max-h-72{max-height:18rem}.ep-root .max-h-\[300px\]{max-height:300px}.ep-root .max-h-\[400px\]{max-height:400px}.ep-root .min-h-\[36px\]{min-height:36px}.ep-root .w-10{width:2.5rem}.ep-root .w-3\.5{width:.875rem}.ep-root .w-4{width:1rem}.ep-root .w-5{width:1.25rem}.ep-root .w-7{width:1.75rem}.ep-root .w-9{width:2.25rem}.ep-root .w-full{width:100%}.ep-root .w-px{width:1px}.ep-root .min-w-0{min-width:0}.ep-root .min-w-\[100px\]{min-width:100px}.ep-root .min-w-\[260px\]{min-width:260px}.ep-root .min-w-\[55px\]{min-width:55px}.ep-root .min-w-\[70px\]{min-width:70px}.ep-root .min-w-\[8rem\]{min-width:8rem}.ep-root .min-w-\[var\(--radix-select-trigger-width\)\]{min-width:var(--radix-select-trigger-width)}.ep-root .max-w-\[300px\]{max-width:300px}.ep-root .flex-1{flex:1 1 0%}.ep-root .flex-shrink{flex-shrink:1}.ep-root .flex-shrink-0{flex-shrink:0}.ep-root .shrink{flex-shrink:1}.ep-root .shrink-0{flex-shrink:0}.ep-root .transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.ep-root .cursor-not-allowed{cursor:not-allowed}.ep-root .cursor-pointer{cursor:pointer}.ep-root .select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.ep-root .select-all{-webkit-user-select:all;-moz-user-select:all;user-select:all}.ep-root .resize{resize:both}.ep-root .flex-col{flex-direction:column}.ep-root .flex-wrap{flex-wrap:wrap}.ep-root .items-center{align-items:center}.ep-root .items-stretch{align-items:stretch}.ep-root .justify-center{justify-content:center}.ep-root .justify-between{justify-content:space-between}.ep-root .gap-0{gap:0}.ep-root .gap-0\.5{gap:.125rem}.ep-root .gap-1{gap:.25rem}.ep-root .gap-2{gap:.5rem}.ep-root .gap-px{gap:1px}.ep-root .overflow-hidden{overflow:hidden}.ep-root .overflow-x-auto{overflow-x:auto}.ep-root .truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ep-root .whitespace-nowrap{white-space:nowrap}.ep-root .rounded{border-radius:.25rem}.ep-root .rounded-full{border-radius:9999px}.ep-root .rounded-lg{border-radius:var(--radius)}.ep-root .rounded-md{border-radius:calc(var(--radius) - 2px)}.ep-root .rounded-none{border-radius:0}.ep-root .rounded-l-none{border-top-left-radius:0;border-bottom-left-radius:0}.ep-root .rounded-r-none{border-top-right-radius:0;border-bottom-right-radius:0}.ep-root .\!border{border-width:1px!important}.ep-root .border{border-width:1px}.ep-root .border-0{border-width:0}.ep-root .border-b{border-bottom-width:1px}.ep-root .border-r{border-right-width:1px}.ep-root .border-input{border-color:hsl(var(--input))}.ep-root .border-slate-100{--tw-border-opacity:1;border-color:rgb(241 245 249/var(--tw-border-opacity,1))}.ep-root .border-slate-200{--tw-border-opacity:1;border-color:rgb(226 232 240/var(--tw-border-opacity,1))}.ep-root .border-slate-200\/50{border-color:rgba(226,232,240,.5)}.ep-root .border-slate-300{--tw-border-opacity:1;border-color:rgb(203 213 225/var(--tw-border-opacity,1))}.ep-root .bg-\[\#f1f5f9\]{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}.ep-root .bg-background{background-color:hsl(var(--background))}.ep-root .bg-destructive{background-color:hsl(var(--destructive))}.ep-root .bg-doc-bg{background-color:var(--doc-bg)}.ep-root .bg-primary{background-color:hsl(var(--primary))}.ep-root .bg-secondary{background-color:hsl(var(--secondary))}.ep-root .bg-slate-100{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}.ep-root .bg-slate-200{--tw-bg-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity,1))}.ep-root .bg-slate-900{--tw-bg-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity,1))}.ep-root .bg-transparent{background-color:transparent}.ep-root .bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.ep-root .p-1{padding:.25rem}.ep-root .px-1{padding-left:.25rem;padding-right:.25rem}.ep-root .px-1\.5{padding-left:.375rem;padding-right:.375rem}.ep-root .px-2{padding-left:.5rem;padding-right:.5rem}.ep-root .px-3{padding-left:.75rem;padding-right:.75rem}.ep-root .px-4{padding-left:1rem;padding-right:1rem}.ep-root .px-5{padding-left:1.25rem;padding-right:1.25rem}.ep-root .px-8{padding-left:2rem;padding-right:2rem}.ep-root .py-0{padding-top:0;padding-bottom:0}.ep-root .py-1{padding-top:.25rem;padding-bottom:.25rem}.ep-root .py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.ep-root .py-2{padding-top:.5rem;padding-bottom:.5rem}.ep-root .py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.ep-root .pb-1{padding-bottom:.25rem}.ep-root .pl-3{padding-left:.75rem}.ep-root .pr-1{padding-right:.25rem}.ep-root .pt-2{padding-top:.5rem}.ep-root .text-left{text-align:left}.ep-root .text-center{text-align:center}.ep-root .text-base{font-size:1rem;line-height:1.5rem}.ep-root .text-sm{font-size:.875rem;line-height:1.25rem}.ep-root .text-xs{font-size:.75rem;line-height:1rem}.ep-root .font-medium{font-weight:500}.ep-root .font-normal{font-weight:400}.ep-root .uppercase{text-transform:uppercase}.ep-root .lowercase{text-transform:lowercase}.ep-root .capitalize{text-transform:capitalize}.ep-root .italic{font-style:italic}.ep-root .ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.ep-root .leading-tight{line-height:1.25}.ep-root .text-destructive-foreground{color:hsl(var(--destructive-foreground))}.ep-root .text-primary{color:hsl(var(--primary))}.ep-root .text-primary-foreground{color:hsl(var(--primary-foreground))}.ep-root .text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity,1))}.ep-root .text-secondary-foreground{color:hsl(var(--secondary-foreground))}.ep-root .text-slate-400{--tw-text-opacity:1;color:rgb(148 163 184/var(--tw-text-opacity,1))}.ep-root .text-slate-500{--tw-text-opacity:1;color:rgb(100 116 139/var(--tw-text-opacity,1))}.ep-root .text-slate-700{--tw-text-opacity:1;color:rgb(51 65 85/var(--tw-text-opacity,1))}.ep-root .text-slate-800{--tw-text-opacity:1;color:rgb(30 41 59/var(--tw-text-opacity,1))}.ep-root .text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.ep-root .underline{text-decoration-line:underline}.ep-root .line-through{text-decoration-line:line-through}.ep-root .underline-offset-4{text-underline-offset:4px}.ep-root .opacity-30{opacity:.3}.ep-root .opacity-50{opacity:.5}.ep-root .shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}.ep-root .shadow-lg,.ep-root .shadow-sm{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.ep-root .shadow-sm{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color)}.ep-root .outline-none{outline:2px solid transparent;outline-offset:2px}.ep-root .\!outline{outline-style:solid!important}.ep-root .outline{outline-style:solid}.ep-root .ring-offset-background{--tw-ring-offset-color:hsl(var(--background))}.ep-root .blur{--tw-blur:blur(8px)}.ep-root .blur,.ep-root .filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.ep-root .transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ep-root .transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ep-root .duration-150{transition-duration:.15s}.ep-root .ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ep-root .ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}@keyframes enter{0%{opacity:var(--tw-enter-opacity,1);transform:translate3d(var(--tw-enter-translate-x,0),var(--tw-enter-translate-y,0),0) scale3d(var(--tw-enter-scale,1),var(--tw-enter-scale,1),var(--tw-enter-scale,1)) rotate(var(--tw-enter-rotate,0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity,1);transform:translate3d(var(--tw-exit-translate-x,0),var(--tw-exit-translate-y,0),0) scale3d(var(--tw-exit-scale,1),var(--tw-exit-scale,1),var(--tw-exit-scale,1)) rotate(var(--tw-exit-rotate,0))}}.ep-root .zoom-in{--tw-enter-scale:0}.ep-root .zoom-out{--tw-exit-scale:0}.ep-root .duration-150{animation-duration:.15s}.ep-root .ease-in-out{animation-timing-function:cubic-bezier(.4,0,.2,1)}.ep-root .ease-out{animation-timing-function:cubic-bezier(0,0,.2,1)}.ep-root .running{animation-play-state:running}.ep-root{--background:0 0% 100%;--foreground:222.2 84% 4.9%;--card:0 0% 100%;--card-foreground:222.2 84% 4.9%;--popover:0 0% 100%;--popover-foreground:222.2 84% 4.9%;--primary:221.2 83.2% 53.3%;--primary-foreground:210 40% 98%;--secondary:210 40% 96.1%;--secondary-foreground:222.2 47.4% 11.2%;--muted:210 40% 96.1%;--muted-foreground:215.4 16.3% 46.9%;--accent:210 40% 96.1%;--accent-foreground:222.2 47.4% 11.2%;--destructive:0 84.2% 60.2%;--destructive-foreground:210 40% 98%;--border:214.3 31.8% 91.4%;--input:214.3 31.8% 91.4%;--ring:221.2 83.2% 53.3%;--radius:0.5rem;--doc-bg:#f8f9fa;--doc-primary:#1a73e8;--doc-primary-hover:#1557b0;--doc-primary-light:#e8f0fe;--doc-text:#202124;--doc-text-muted:#5f6368;--doc-text-subtle:#9aa0a6;--doc-text-placeholder:#999;--doc-border:#e0e0e0;--doc-border-light:#dadce0;--doc-border-dark:#d0d0d0;--doc-border-input:#ccc;--doc-bg-subtle:#f5f5f5;--doc-bg-hover:#f1f3f4;--doc-bg-input:#f8f9fa;--doc-error:#c5221f;--doc-error-bg:#fce8e6;--doc-success:#34a853;--doc-success-bg:#e8f5e9;--doc-warning:#f9a825;--doc-warning-bg:#fff8e1;--doc-link:#0563c1}[contenteditable=true]{caret-color:#000;outline:none;caret-shape:bar}.docx-run-editable[contenteditable=true]{caret-color:#000;min-height:1em;display:inline}.docx-paragraph-empty [contenteditable=true]{min-height:1em;min-width:1px;display:inline-block}.docx-paragraph-editable{cursor:text}.docx-run-editable[contenteditable=true]:focus{outline:none}.docx-paragraph-editable:focus-within{outline:none}.docx-run ::selection,.docx-run-editable ::selection,.docx-run-editable::selection,.docx-run::selection,[contenteditable=true] ::selection,[contenteditable=true]::selection{background-color:rgba(26,115,232,.3)!important;color:inherit!important}.docx-run ::-moz-selection,.docx-run-editable ::-moz-selection,.docx-run-editable::-moz-selection,.docx-run::-moz-selection,[contenteditable=true] ::-moz-selection,[contenteditable=true]::-moz-selection{background-color:rgba(26,115,232,.3)!important;color:inherit!important}.docx-paragraph ::selection,.docx-paragraph-editable ::selection,.docx-paragraph-editable::selection,.docx-paragraph::selection{background-color:rgba(26,115,232,.3)!important;color:inherit!important}.docx-paragraph ::-moz-selection,.docx-paragraph-editable ::-moz-selection,.docx-paragraph-editable::-moz-selection,.docx-paragraph::-moz-selection{background-color:rgba(26,115,232,.3)!important;color:inherit!important}.docx-hyperlink ::selection,.docx-hyperlink::selection{background-color:rgba(26,115,232,.3)!important;color:inherit!important}.docx-hyperlink ::-moz-selection,.docx-hyperlink::-moz-selection{background-color:rgba(26,115,232,.3)!important;color:inherit!important}.docx-run-highlighted ::selection,.docx-run-highlighted::selection{background-color:rgba(26,115,232,.5)!important;color:inherit!important}.docx-run-highlighted ::-moz-selection,.docx-run-highlighted::-moz-selection{background-color:rgba(26,115,232,.5)!important;color:inherit!important}.docx-run-dark-bg ::selection,.docx-run-dark-bg::selection{background-color:rgba(100,181,246,.5)!important;color:inherit!important}.docx-run-dark-bg ::-moz-selection,.docx-run-dark-bg::-moz-selection{background-color:rgba(100,181,246,.5)!important;color:inherit!important}.docx-run-bold ::selection,.docx-run-bold::selection{background-color:rgba(26,115,232,.3)!important;color:inherit!important}.docx-run-bold ::-moz-selection,.docx-run-bold::-moz-selection{background-color:rgba(26,115,232,.3)!important;color:inherit!important}.docx-run-italic ::selection,.docx-run-italic::selection{background-color:rgba(26,115,232,.3)!important;color:inherit!important}.docx-run-italic ::-moz-selection,.docx-run-italic::-moz-selection{background-color:rgba(26,115,232,.3)!important;color:inherit!important}.docx-find-highlight{background-color:rgba(255,235,59,.5)!important;border-radius:2px}.docx-find-highlight-current{background-color:rgba(255,152,0,.6)!important;border-radius:2px;outline:2px solid rgba(255,152,0,.8)}.docx-ai-selection-preview{background-color:rgba(156,39,176,.2);border-bottom:2px dashed rgba(156,39,176,.6)}.docx-selection-overlay-container{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;z-index:1;overflow:hidden}.docx-selection-overlay-rect{position:absolute;background-color:rgba(66,133,244,.25);pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.docx-run-highlighted[contenteditable=true]{caret-color:#333}.docx-run-dark-bg[contenteditable=true]{caret-color:#fff}.docx-editor{cursor:default}.docx-editor-page{cursor:text}.docx-bookmark-end,.docx-bookmark-start,.docx-drawing-placeholder,.docx-field,.docx-list-marker,.docx-shape-placeholder{cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none}.docx-run-has-variable [contenteditable=false]{cursor:default;-webkit-user-select:all;-moz-user-select:all;user-select:all}.layout-table-cell-selected{position:relative;outline:2px solid rgba(66,133,244,.6);outline-offset:-2px}.layout-table-cell-selected:after{content:"";position:absolute;inset:0;background-color:rgba(66,133,244,.15);pointer-events:none}.layout-table-resize-handle{background-color:transparent;transition:background-color .15s}.layout-table-resize-handle.dragging,.layout-table-resize-handle:hover{background-color:rgba(66,133,244,.6)}.layout-table-edge-handle-bottom,.layout-table-row-resize-handle{background-color:transparent;transition:background-color .15s}.layout-table-edge-handle-bottom.dragging,.layout-table-edge-handle-bottom:hover,.layout-table-row-resize-handle.dragging,.layout-table-row-resize-handle:hover{background-color:rgba(66,133,244,.6)}.layout-table-edge-handle-right{background-color:transparent;transition:background-color .15s}.layout-table-edge-handle-right.dragging,.layout-table-edge-handle-right:hover{background-color:rgba(66,133,244,.6)}.paged-editor--readonly .layout-table-edge-handle-bottom,.paged-editor--readonly .layout-table-edge-handle-right,.paged-editor--readonly .layout-table-resize-handle,.paged-editor--readonly .layout-table-row-resize-handle{display:none!important}.paged-editor--readonly .layout-page-footer,.paged-editor--readonly .layout-page-header{cursor:default;pointer-events:none}.paged-editor--readonly .layout-page-content{cursor:default}.docx-outline-heading-btn:hover{background-color:#f1f3f4}@media (max-width:1280px){.docx-outline-nav{display:none!important}}.layout-page-content{cursor:text}.layout-page-footer,.layout-page-header{cursor:pointer;transition:background-color .15s ease}.layout-page-footer:hover,.layout-page-header:hover{background-color:rgba(37,99,235,.06)}.layout-page-header:empty:hover:after{content:"Double-click to add header";display:block;text-align:center;color:#9ca3af;font-size:11px;padding:4px 0}.layout-page-footer:empty:hover:after{content:"Double-click to add footer";display:block;text-align:center;color:#9ca3af;font-size:11px;padding:4px 0}.hf-editor-pm .ProseMirror{outline:none;min-height:40px;padding:4px}.hf-editor-pm .ProseMirror:focus{outline:none}.hf-editor-pm .ProseMirror p{display:block;margin:0;padding:0;min-height:1em;white-space:pre-wrap;word-wrap:break-word;line-height:normal}.paged-editor--hf-editing .layout-page-content{opacity:.4;pointer-events:none;transition:opacity .15s ease}.paged-editor--editing-header .layout-page-header{border-bottom:1px dotted #4285f4}.paged-editor--editing-footer .layout-page-footer{border-top:1px dotted #4285f4}.paged-editor--editing-footer .layout-page-footer>*,.paged-editor--editing-header .layout-page-header>*{visibility:hidden}.paged-editor--hf-editing .layout-page-footer:hover,.paged-editor--hf-editing .layout-page-header:hover{background-color:transparent}.docx-section-break{position:relative}.docx-section-break:after{content:"Section Break (" attr(data-section-break) ")";display:block;text-align:center;font-size:9px;color:var(--doc-text-muted,#9ca3af);border-top:1px dashed var(--doc-border,#d1d5db);margin-top:4px;padding-top:2px;pointer-events:none}.ep-hyperlink-popup__icon-btn:hover{background:#f1f3f4}.ep-root .first\:pl-0:first-child{padding-left:0}.ep-root .last\:border-r-0:last-child{border-right-width:0}.ep-root .hover\:border-slate-300:hover{--tw-border-opacity:1;border-color:rgb(203 213 225/var(--tw-border-opacity,1))}.ep-root .hover\:bg-accent:hover{background-color:hsl(var(--accent))}.ep-root .hover\:bg-destructive\/90:hover{background-color:hsl(var(--destructive)/.9)}.ep-root .hover\:bg-primary\/90:hover{background-color:hsl(var(--primary)/.9)}.ep-root .hover\:bg-secondary\/80:hover{background-color:hsl(var(--secondary)/.8)}.ep-root .hover\:bg-slate-100:hover{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}.ep-root .hover\:bg-slate-100\/80:hover{background-color:rgba(241,245,249,.8)}.ep-root .hover\:bg-slate-50:hover{--tw-bg-opacity:1;background-color:rgb(248 250 252/var(--tw-bg-opacity,1))}.ep-root .hover\:bg-slate-800:hover{--tw-bg-opacity:1;background-color:rgb(30 41 59/var(--tw-bg-opacity,1))}.ep-root .hover\:text-accent-foreground:hover{color:hsl(var(--accent-foreground))}.ep-root .hover\:text-slate-900:hover{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity,1))}.ep-root .hover\:text-white:hover{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.ep-root .hover\:underline:hover{text-decoration-line:underline}.ep-root .focus\:bg-slate-100:focus{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}.ep-root .focus\:bg-slate-100\/80:focus{background-color:rgba(241,245,249,.8)}.ep-root .focus\:bg-white:focus{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.ep-root .focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.ep-root .focus\:ring-1:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.ep-root .focus\:ring-slate-300:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(203 213 225/var(--tw-ring-opacity,1))}.ep-root .focus\:ring-slate-400:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(148 163 184/var(--tw-ring-opacity,1))}.ep-root .focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.ep-root .focus-visible\:ring-2:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.ep-root .focus-visible\:ring-ring:focus-visible{--tw-ring-color:hsl(var(--ring))}.ep-root .focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px}.ep-root .disabled\:pointer-events-none:disabled{pointer-events:none}.ep-root .disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.ep-root .disabled\:opacity-50:disabled{opacity:.5}.ep-root .data-\[disabled\]\:pointer-events-none[data-disabled]{pointer-events:none}.ep-root .data-\[side\=bottom\]\:translate-y-1[data-side=bottom]{--tw-translate-y:0.25rem}.ep-root .data-\[side\=bottom\]\:translate-y-1[data-side=bottom],.ep-root .data-\[side\=top\]\:-translate-y-1[data-side=top]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.ep-root .data-\[side\=top\]\:-translate-y-1[data-side=top]{--tw-translate-y:-0.25rem}.ep-root .data-\[disabled\]\:opacity-50[data-disabled]{opacity:.5}.ep-root .data-\[state\=open\]\:animate-in[data-state=open]{animation-name:enter;animation-duration:.15s;--tw-enter-opacity:initial;--tw-enter-scale:initial;--tw-enter-rotate:initial;--tw-enter-translate-x:initial;--tw-enter-translate-y:initial}.ep-root .data-\[state\=closed\]\:animate-out[data-state=closed]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity:initial;--tw-exit-scale:initial;--tw-exit-rotate:initial;--tw-exit-translate-x:initial;--tw-exit-translate-y:initial}.ep-root .data-\[state\=closed\]\:fade-out-0[data-state=closed]{--tw-exit-opacity:0}.ep-root .data-\[state\=open\]\:fade-in-0[data-state=open]{--tw-enter-opacity:0}.ep-root .data-\[state\=closed\]\:zoom-out-95[data-state=closed]{--tw-exit-scale:.95}.ep-root .data-\[state\=open\]\:zoom-in-95[data-state=open]{--tw-enter-scale:.95}.ep-root .data-\[side\=bottom\]\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y:-0.5rem}.ep-root .data-\[side\=top\]\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y:0.5rem}.ep-root :is(.\[\&\>span\]\:truncate>span){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@@ -1,4 +1,4 @@
1
- import { D as Document, P as Position, R as Range, A as AgentCommand } from './agentApi-DmDuQm0e.js';
1
+ import { D as Document, P as Position, R as Range, A as AgentCommand } from './agentApi-B0688ssC.js';
2
2
 
3
3
  /**
4
4
  * Core Plugin System Types
@@ -1,4 +1,4 @@
1
- import { D as Document, P as Position, R as Range, A as AgentCommand } from './agentApi-DmDuQm0e.cjs';
1
+ import { D as Document, P as Position, R as Range, A as AgentCommand } from './agentApi-B0688ssC.cjs';
2
2
 
3
3
  /**
4
4
  * Core Plugin System Types
package/dist/ui.cjs CHANGED
@@ -1 +1 @@
1
- 'use strict';var chunkY62HOQL2_cjs=require('./chunk-Y62HOQL2.cjs'),chunkOWMG5MW5_cjs=require('./chunk-OWMG5MW5.cjs'),chunkVTAS7VZ6_cjs=require('./chunk-VTAS7VZ6.cjs'),chunkXS2AQFMF_cjs=require('./chunk-XS2AQFMF.cjs');require('./chunk-NVAQQYBJ.cjs'),require('./chunk-IA4LPH2A.cjs'),require('./chunk-KR32M3S4.cjs'),require('./chunk-PCJ5ACUV.cjs');Object.defineProperty(exports,"ColorPicker",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.q}});Object.defineProperty(exports,"ContextMenu",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.a}});Object.defineProperty(exports,"InsertImageDialog",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.$}});Object.defineProperty(exports,"InsertSymbolDialog",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.ja}});Object.defineProperty(exports,"InsertTableDialog",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.U}});Object.defineProperty(exports,"KeyboardShortcutsDialog",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.wa}});Object.defineProperty(exports,"LoadingIndicator",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.H}});Object.defineProperty(exports,"PasteSpecialDialog",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.qa}});Object.defineProperty(exports,"PrintButton",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.r}});Object.defineProperty(exports,"PrintStyles",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.s}});Object.defineProperty(exports,"ResponsePreview",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.g}});Object.defineProperty(exports,"ResponsiveToolbar",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.P}});Object.defineProperty(exports,"ResponsiveToolbarGroup",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.Q}});Object.defineProperty(exports,"SYMBOL_CATEGORIES",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.ia}});Object.defineProperty(exports,"TableInsertButtons",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.A}});Object.defineProperty(exports,"TableMergeButton",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.z}});Object.defineProperty(exports,"TextContextMenu",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.k}});Object.defineProperty(exports,"UnsavedIndicator",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.B}});Object.defineProperty(exports,"calculateFitDimensions",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.ea}});Object.defineProperty(exports,"clampTableConfig",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.Y}});Object.defineProperty(exports,"createChangeTracker",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.G}});Object.defineProperty(exports,"createDefaultTableConfig",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.W}});Object.defineProperty(exports,"createErrorResponse",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.j}});Object.defineProperty(exports,"createMockResponse",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.i}});Object.defineProperty(exports,"createToolbarItem",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.R}});Object.defineProperty(exports,"createToolbarItems",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.S}});Object.defineProperty(exports,"dataUrlToBlob",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.fa}});Object.defineProperty(exports,"delay",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.N}});Object.defineProperty(exports,"formatFileSize",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.ha}});Object.defineProperty(exports,"formatPrintPageRange",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.x}});Object.defineProperty(exports,"formatShortcutKeys",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.Da}});Object.defineProperty(exports,"formatTableDimensions",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.Z}});Object.defineProperty(exports,"getActionShortcut",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.c}});Object.defineProperty(exports,"getAllActions",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.f}});Object.defineProperty(exports,"getAllCategories",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.Ca}});Object.defineProperty(exports,"getAllIndicatorPositions",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.F}});Object.defineProperty(exports,"getAllIndicatorVariants",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.E}});Object.defineProperty(exports,"getAllLoadingSizes",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.M}});Object.defineProperty(exports,"getAllLoadingVariants",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.L}});Object.defineProperty(exports,"getAllPasteOptions",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.ta}});Object.defineProperty(exports,"getCategoryLabel",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.Ba}});Object.defineProperty(exports,"getCommonShortcuts",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.Aa}});Object.defineProperty(exports,"getDefaultActions",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.e}});Object.defineProperty(exports,"getDefaultPasteOption",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.ua}});Object.defineProperty(exports,"getDefaultPrintOptions",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.v}});Object.defineProperty(exports,"getDefaultShortcuts",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.ya}});Object.defineProperty(exports,"getDefaultTextContextMenuItems",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.o}});Object.defineProperty(exports,"getImageAcceptString",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.da}});Object.defineProperty(exports,"getImageDimensions",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.ga}});Object.defineProperty(exports,"getLoadingVariantLabel",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.K}});Object.defineProperty(exports,"getPasteOption",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.sa}});Object.defineProperty(exports,"getRecommendedPriority",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.T}});Object.defineProperty(exports,"getShortcutsByCategory",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.za}});Object.defineProperty(exports,"getSupportedImageExtensions",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.ca}});Object.defineProperty(exports,"getSymbolCategories",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.la}});Object.defineProperty(exports,"getSymbolUnicodeInfo",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.na}});Object.defineProperty(exports,"getSymbolsByCategory",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.ma}});Object.defineProperty(exports,"getTablePresets",{enumerable:true,get:function(){return chunkY62HOQL2_cjs._}});Object.defineProperty(exports,"getTextActionLabel",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.m}});Object.defineProperty(exports,"getTextActionShortcut",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.n}});Object.defineProperty(exports,"getVariantLabel",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.D}});Object.defineProperty(exports,"isActionAvailable",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.d}});Object.defineProperty(exports,"isPasteSpecialShortcut",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.va}});Object.defineProperty(exports,"isPrintSupported",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.y}});Object.defineProperty(exports,"isTextActionAvailable",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.p}});Object.defineProperty(exports,"isValidImageFile",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.ba}});Object.defineProperty(exports,"isValidTableConfig",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.X}});Object.defineProperty(exports,"openPrintWindow",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.u}});Object.defineProperty(exports,"parsePageRange",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.w}});Object.defineProperty(exports,"searchSymbols",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.oa}});Object.defineProperty(exports,"symbolFromCodePoint",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.pa}});Object.defineProperty(exports,"triggerPrint",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.t}});Object.defineProperty(exports,"useContextMenu",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.b}});Object.defineProperty(exports,"useInsertImageDialog",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.aa}});Object.defineProperty(exports,"useInsertSymbolDialog",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.ka}});Object.defineProperty(exports,"useInsertTableDialog",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.V}});Object.defineProperty(exports,"useKeyboardShortcutsDialog",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.xa}});Object.defineProperty(exports,"useLoading",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.I}});Object.defineProperty(exports,"useLoadingOperations",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.J}});Object.defineProperty(exports,"usePasteSpecial",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.ra}});Object.defineProperty(exports,"useResponsePreview",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.h}});Object.defineProperty(exports,"useResponsiveToolbar",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.O}});Object.defineProperty(exports,"useTextContextMenu",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.l}});Object.defineProperty(exports,"useUnsavedChanges",{enumerable:true,get:function(){return chunkY62HOQL2_cjs.C}});Object.defineProperty(exports,"AdvancedColorPicker",{enumerable:true,get:function(){return chunkOWMG5MW5_cjs.k}});Object.defineProperty(exports,"AlignmentButtons",{enumerable:true,get:function(){return chunkOWMG5MW5_cjs.l}});Object.defineProperty(exports,"FontPicker",{enumerable:true,get:function(){return chunkOWMG5MW5_cjs.g}});Object.defineProperty(exports,"FontSizePicker",{enumerable:true,get:function(){return chunkOWMG5MW5_cjs.j}});Object.defineProperty(exports,"HorizontalRuler",{enumerable:true,get:function(){return chunkOWMG5MW5_cjs.E}});Object.defineProperty(exports,"LineSpacingPicker",{enumerable:true,get:function(){return chunkOWMG5MW5_cjs.o}});Object.defineProperty(exports,"ListButtons",{enumerable:true,get:function(){return chunkOWMG5MW5_cjs.m}});Object.defineProperty(exports,"StylePicker",{enumerable:true,get:function(){return chunkOWMG5MW5_cjs.p}});Object.defineProperty(exports,"TableBorderColorPicker",{enumerable:true,get:function(){return chunkOWMG5MW5_cjs.s}});Object.defineProperty(exports,"TableBorderPicker",{enumerable:true,get:function(){return chunkOWMG5MW5_cjs.r}});Object.defineProperty(exports,"TableBorderWidthPicker",{enumerable:true,get:function(){return chunkOWMG5MW5_cjs.t}});Object.defineProperty(exports,"TableCellFillPicker",{enumerable:true,get:function(){return chunkOWMG5MW5_cjs.u}});Object.defineProperty(exports,"TableMoreDropdown",{enumerable:true,get:function(){return chunkOWMG5MW5_cjs.v}});Object.defineProperty(exports,"TableToolbar",{enumerable:true,get:function(){return chunkOWMG5MW5_cjs.J}});Object.defineProperty(exports,"Toolbar",{enumerable:true,get:function(){return chunkOWMG5MW5_cjs.D}});Object.defineProperty(exports,"ToolbarButton",{enumerable:true,get:function(){return chunkOWMG5MW5_cjs.A}});Object.defineProperty(exports,"ToolbarGroup",{enumerable:true,get:function(){return chunkOWMG5MW5_cjs.B}});Object.defineProperty(exports,"ToolbarSeparator",{enumerable:true,get:function(){return chunkOWMG5MW5_cjs.C}});Object.defineProperty(exports,"ZoomControl",{enumerable:true,get:function(){return chunkOWMG5MW5_cjs.q}});Object.defineProperty(exports,"addColumn",{enumerable:true,get:function(){return chunkOWMG5MW5_cjs.P}});Object.defineProperty(exports,"addRow",{enumerable:true,get:function(){return chunkOWMG5MW5_cjs.N}});Object.defineProperty(exports,"createDefaultListState",{enumerable:true,get:function(){return chunkOWMG5MW5_cjs.n}});Object.defineProperty(exports,"createTableContext",{enumerable:true,get:function(){return chunkOWMG5MW5_cjs.K}});Object.defineProperty(exports,"deleteColumn",{enumerable:true,get:function(){return chunkOWMG5MW5_cjs.Q}});Object.defineProperty(exports,"deleteRow",{enumerable:true,get:function(){return chunkOWMG5MW5_cjs.O}});Object.defineProperty(exports,"getCellAt",{enumerable:true,get:function(){return chunkOWMG5MW5_cjs.M}});Object.defineProperty(exports,"getColumnCount",{enumerable:true,get:function(){return chunkOWMG5MW5_cjs.L}});Object.defineProperty(exports,"getMarginInUnits",{enumerable:true,get:function(){return chunkOWMG5MW5_cjs.H}});Object.defineProperty(exports,"getRulerDimensions",{enumerable:true,get:function(){return chunkOWMG5MW5_cjs.G}});Object.defineProperty(exports,"mergeCells",{enumerable:true,get:function(){return chunkOWMG5MW5_cjs.R}});Object.defineProperty(exports,"parseMarginFromUnits",{enumerable:true,get:function(){return chunkOWMG5MW5_cjs.I}});Object.defineProperty(exports,"positionToMargin",{enumerable:true,get:function(){return chunkOWMG5MW5_cjs.F}});Object.defineProperty(exports,"splitCell",{enumerable:true,get:function(){return chunkOWMG5MW5_cjs.S}});Object.defineProperty(exports,"FindReplaceDialog",{enumerable:true,get:function(){return chunkVTAS7VZ6_cjs.n}});Object.defineProperty(exports,"createDefaultFindOptions",{enumerable:true,get:function(){return chunkVTAS7VZ6_cjs.a}});Object.defineProperty(exports,"createSearchPattern",{enumerable:true,get:function(){return chunkVTAS7VZ6_cjs.c}});Object.defineProperty(exports,"escapeRegexString",{enumerable:true,get:function(){return chunkVTAS7VZ6_cjs.b}});Object.defineProperty(exports,"findAllMatches",{enumerable:true,get:function(){return chunkVTAS7VZ6_cjs.d}});Object.defineProperty(exports,"findInDocument",{enumerable:true,get:function(){return chunkVTAS7VZ6_cjs.j}});Object.defineProperty(exports,"findInParagraph",{enumerable:true,get:function(){return chunkVTAS7VZ6_cjs.k}});Object.defineProperty(exports,"getDefaultHighlightOptions",{enumerable:true,get:function(){return chunkVTAS7VZ6_cjs.i}});Object.defineProperty(exports,"getMatchCountText",{enumerable:true,get:function(){return chunkVTAS7VZ6_cjs.g}});Object.defineProperty(exports,"isEmptySearch",{enumerable:true,get:function(){return chunkVTAS7VZ6_cjs.h}});Object.defineProperty(exports,"replaceAllInContent",{enumerable:true,get:function(){return chunkVTAS7VZ6_cjs.e}});Object.defineProperty(exports,"replaceFirstInContent",{enumerable:true,get:function(){return chunkVTAS7VZ6_cjs.f}});Object.defineProperty(exports,"scrollToMatch",{enumerable:true,get:function(){return chunkVTAS7VZ6_cjs.l}});Object.defineProperty(exports,"useFindReplace",{enumerable:true,get:function(){return chunkVTAS7VZ6_cjs.m}});Object.defineProperty(exports,"HyperlinkDialog",{enumerable:true,get:function(){return chunkXS2AQFMF_cjs.d}});Object.defineProperty(exports,"useHyperlinkDialog",{enumerable:true,get:function(){return chunkXS2AQFMF_cjs.m}});
1
+ 'use strict';var chunkEUH3GF72_cjs=require('./chunk-EUH3GF72.cjs'),chunk7YCCCWUZ_cjs=require('./chunk-7YCCCWUZ.cjs'),chunkVTAS7VZ6_cjs=require('./chunk-VTAS7VZ6.cjs'),chunkXS2AQFMF_cjs=require('./chunk-XS2AQFMF.cjs');require('./chunk-NVAQQYBJ.cjs'),require('./chunk-IA4LPH2A.cjs'),require('./chunk-KR32M3S4.cjs'),require('./chunk-PCJ5ACUV.cjs');Object.defineProperty(exports,"ColorPicker",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.q}});Object.defineProperty(exports,"ContextMenu",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.a}});Object.defineProperty(exports,"InsertImageDialog",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.$}});Object.defineProperty(exports,"InsertSymbolDialog",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.ja}});Object.defineProperty(exports,"InsertTableDialog",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.U}});Object.defineProperty(exports,"KeyboardShortcutsDialog",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.wa}});Object.defineProperty(exports,"LoadingIndicator",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.H}});Object.defineProperty(exports,"PasteSpecialDialog",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.qa}});Object.defineProperty(exports,"PrintButton",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.r}});Object.defineProperty(exports,"PrintStyles",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.s}});Object.defineProperty(exports,"ResponsePreview",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.g}});Object.defineProperty(exports,"ResponsiveToolbar",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.P}});Object.defineProperty(exports,"ResponsiveToolbarGroup",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.Q}});Object.defineProperty(exports,"SYMBOL_CATEGORIES",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.ia}});Object.defineProperty(exports,"TableInsertButtons",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.A}});Object.defineProperty(exports,"TableMergeButton",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.z}});Object.defineProperty(exports,"TextContextMenu",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.k}});Object.defineProperty(exports,"UnsavedIndicator",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.B}});Object.defineProperty(exports,"calculateFitDimensions",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.ea}});Object.defineProperty(exports,"clampTableConfig",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.Y}});Object.defineProperty(exports,"createChangeTracker",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.G}});Object.defineProperty(exports,"createDefaultTableConfig",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.W}});Object.defineProperty(exports,"createErrorResponse",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.j}});Object.defineProperty(exports,"createMockResponse",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.i}});Object.defineProperty(exports,"createToolbarItem",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.R}});Object.defineProperty(exports,"createToolbarItems",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.S}});Object.defineProperty(exports,"dataUrlToBlob",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.fa}});Object.defineProperty(exports,"delay",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.N}});Object.defineProperty(exports,"formatFileSize",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.ha}});Object.defineProperty(exports,"formatPrintPageRange",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.x}});Object.defineProperty(exports,"formatShortcutKeys",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.Da}});Object.defineProperty(exports,"formatTableDimensions",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.Z}});Object.defineProperty(exports,"getActionShortcut",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.c}});Object.defineProperty(exports,"getAllActions",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.f}});Object.defineProperty(exports,"getAllCategories",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.Ca}});Object.defineProperty(exports,"getAllIndicatorPositions",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.F}});Object.defineProperty(exports,"getAllIndicatorVariants",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.E}});Object.defineProperty(exports,"getAllLoadingSizes",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.M}});Object.defineProperty(exports,"getAllLoadingVariants",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.L}});Object.defineProperty(exports,"getAllPasteOptions",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.ta}});Object.defineProperty(exports,"getCategoryLabel",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.Ba}});Object.defineProperty(exports,"getCommonShortcuts",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.Aa}});Object.defineProperty(exports,"getDefaultActions",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.e}});Object.defineProperty(exports,"getDefaultPasteOption",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.ua}});Object.defineProperty(exports,"getDefaultPrintOptions",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.v}});Object.defineProperty(exports,"getDefaultShortcuts",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.ya}});Object.defineProperty(exports,"getDefaultTextContextMenuItems",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.o}});Object.defineProperty(exports,"getImageAcceptString",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.da}});Object.defineProperty(exports,"getImageDimensions",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.ga}});Object.defineProperty(exports,"getLoadingVariantLabel",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.K}});Object.defineProperty(exports,"getPasteOption",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.sa}});Object.defineProperty(exports,"getRecommendedPriority",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.T}});Object.defineProperty(exports,"getShortcutsByCategory",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.za}});Object.defineProperty(exports,"getSupportedImageExtensions",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.ca}});Object.defineProperty(exports,"getSymbolCategories",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.la}});Object.defineProperty(exports,"getSymbolUnicodeInfo",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.na}});Object.defineProperty(exports,"getSymbolsByCategory",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.ma}});Object.defineProperty(exports,"getTablePresets",{enumerable:true,get:function(){return chunkEUH3GF72_cjs._}});Object.defineProperty(exports,"getTextActionLabel",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.m}});Object.defineProperty(exports,"getTextActionShortcut",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.n}});Object.defineProperty(exports,"getVariantLabel",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.D}});Object.defineProperty(exports,"isActionAvailable",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.d}});Object.defineProperty(exports,"isPasteSpecialShortcut",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.va}});Object.defineProperty(exports,"isPrintSupported",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.y}});Object.defineProperty(exports,"isTextActionAvailable",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.p}});Object.defineProperty(exports,"isValidImageFile",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.ba}});Object.defineProperty(exports,"isValidTableConfig",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.X}});Object.defineProperty(exports,"openPrintWindow",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.u}});Object.defineProperty(exports,"parsePageRange",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.w}});Object.defineProperty(exports,"searchSymbols",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.oa}});Object.defineProperty(exports,"symbolFromCodePoint",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.pa}});Object.defineProperty(exports,"triggerPrint",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.t}});Object.defineProperty(exports,"useContextMenu",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.b}});Object.defineProperty(exports,"useInsertImageDialog",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.aa}});Object.defineProperty(exports,"useInsertSymbolDialog",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.ka}});Object.defineProperty(exports,"useInsertTableDialog",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.V}});Object.defineProperty(exports,"useKeyboardShortcutsDialog",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.xa}});Object.defineProperty(exports,"useLoading",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.I}});Object.defineProperty(exports,"useLoadingOperations",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.J}});Object.defineProperty(exports,"usePasteSpecial",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.ra}});Object.defineProperty(exports,"useResponsePreview",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.h}});Object.defineProperty(exports,"useResponsiveToolbar",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.O}});Object.defineProperty(exports,"useTextContextMenu",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.l}});Object.defineProperty(exports,"useUnsavedChanges",{enumerable:true,get:function(){return chunkEUH3GF72_cjs.C}});Object.defineProperty(exports,"AdvancedColorPicker",{enumerable:true,get:function(){return chunk7YCCCWUZ_cjs.k}});Object.defineProperty(exports,"AlignmentButtons",{enumerable:true,get:function(){return chunk7YCCCWUZ_cjs.l}});Object.defineProperty(exports,"FontPicker",{enumerable:true,get:function(){return chunk7YCCCWUZ_cjs.g}});Object.defineProperty(exports,"FontSizePicker",{enumerable:true,get:function(){return chunk7YCCCWUZ_cjs.j}});Object.defineProperty(exports,"HorizontalRuler",{enumerable:true,get:function(){return chunk7YCCCWUZ_cjs.E}});Object.defineProperty(exports,"LineSpacingPicker",{enumerable:true,get:function(){return chunk7YCCCWUZ_cjs.o}});Object.defineProperty(exports,"ListButtons",{enumerable:true,get:function(){return chunk7YCCCWUZ_cjs.m}});Object.defineProperty(exports,"StylePicker",{enumerable:true,get:function(){return chunk7YCCCWUZ_cjs.p}});Object.defineProperty(exports,"TableBorderColorPicker",{enumerable:true,get:function(){return chunk7YCCCWUZ_cjs.s}});Object.defineProperty(exports,"TableBorderPicker",{enumerable:true,get:function(){return chunk7YCCCWUZ_cjs.r}});Object.defineProperty(exports,"TableBorderWidthPicker",{enumerable:true,get:function(){return chunk7YCCCWUZ_cjs.t}});Object.defineProperty(exports,"TableCellFillPicker",{enumerable:true,get:function(){return chunk7YCCCWUZ_cjs.u}});Object.defineProperty(exports,"TableMoreDropdown",{enumerable:true,get:function(){return chunk7YCCCWUZ_cjs.v}});Object.defineProperty(exports,"TableToolbar",{enumerable:true,get:function(){return chunk7YCCCWUZ_cjs.Z}});Object.defineProperty(exports,"Toolbar",{enumerable:true,get:function(){return chunk7YCCCWUZ_cjs.D}});Object.defineProperty(exports,"ToolbarButton",{enumerable:true,get:function(){return chunk7YCCCWUZ_cjs.A}});Object.defineProperty(exports,"ToolbarGroup",{enumerable:true,get:function(){return chunk7YCCCWUZ_cjs.B}});Object.defineProperty(exports,"ToolbarSeparator",{enumerable:true,get:function(){return chunk7YCCCWUZ_cjs.C}});Object.defineProperty(exports,"ZoomControl",{enumerable:true,get:function(){return chunk7YCCCWUZ_cjs.q}});Object.defineProperty(exports,"addColumn",{enumerable:true,get:function(){return chunk7YCCCWUZ_cjs.da}});Object.defineProperty(exports,"addRow",{enumerable:true,get:function(){return chunk7YCCCWUZ_cjs.ba}});Object.defineProperty(exports,"createDefaultListState",{enumerable:true,get:function(){return chunk7YCCCWUZ_cjs.n}});Object.defineProperty(exports,"createTableContext",{enumerable:true,get:function(){return chunk7YCCCWUZ_cjs._}});Object.defineProperty(exports,"deleteColumn",{enumerable:true,get:function(){return chunk7YCCCWUZ_cjs.ea}});Object.defineProperty(exports,"deleteRow",{enumerable:true,get:function(){return chunk7YCCCWUZ_cjs.ca}});Object.defineProperty(exports,"getCellAt",{enumerable:true,get:function(){return chunk7YCCCWUZ_cjs.aa}});Object.defineProperty(exports,"getColumnCount",{enumerable:true,get:function(){return chunk7YCCCWUZ_cjs.$}});Object.defineProperty(exports,"getMarginInUnits",{enumerable:true,get:function(){return chunk7YCCCWUZ_cjs.H}});Object.defineProperty(exports,"getRulerDimensions",{enumerable:true,get:function(){return chunk7YCCCWUZ_cjs.G}});Object.defineProperty(exports,"mergeCells",{enumerable:true,get:function(){return chunk7YCCCWUZ_cjs.fa}});Object.defineProperty(exports,"parseMarginFromUnits",{enumerable:true,get:function(){return chunk7YCCCWUZ_cjs.I}});Object.defineProperty(exports,"positionToMargin",{enumerable:true,get:function(){return chunk7YCCCWUZ_cjs.F}});Object.defineProperty(exports,"splitCell",{enumerable:true,get:function(){return chunk7YCCCWUZ_cjs.ga}});Object.defineProperty(exports,"FindReplaceDialog",{enumerable:true,get:function(){return chunkVTAS7VZ6_cjs.n}});Object.defineProperty(exports,"createDefaultFindOptions",{enumerable:true,get:function(){return chunkVTAS7VZ6_cjs.a}});Object.defineProperty(exports,"createSearchPattern",{enumerable:true,get:function(){return chunkVTAS7VZ6_cjs.c}});Object.defineProperty(exports,"escapeRegexString",{enumerable:true,get:function(){return chunkVTAS7VZ6_cjs.b}});Object.defineProperty(exports,"findAllMatches",{enumerable:true,get:function(){return chunkVTAS7VZ6_cjs.d}});Object.defineProperty(exports,"findInDocument",{enumerable:true,get:function(){return chunkVTAS7VZ6_cjs.j}});Object.defineProperty(exports,"findInParagraph",{enumerable:true,get:function(){return chunkVTAS7VZ6_cjs.k}});Object.defineProperty(exports,"getDefaultHighlightOptions",{enumerable:true,get:function(){return chunkVTAS7VZ6_cjs.i}});Object.defineProperty(exports,"getMatchCountText",{enumerable:true,get:function(){return chunkVTAS7VZ6_cjs.g}});Object.defineProperty(exports,"isEmptySearch",{enumerable:true,get:function(){return chunkVTAS7VZ6_cjs.h}});Object.defineProperty(exports,"replaceAllInContent",{enumerable:true,get:function(){return chunkVTAS7VZ6_cjs.e}});Object.defineProperty(exports,"replaceFirstInContent",{enumerable:true,get:function(){return chunkVTAS7VZ6_cjs.f}});Object.defineProperty(exports,"scrollToMatch",{enumerable:true,get:function(){return chunkVTAS7VZ6_cjs.l}});Object.defineProperty(exports,"useFindReplace",{enumerable:true,get:function(){return chunkVTAS7VZ6_cjs.m}});Object.defineProperty(exports,"HyperlinkDialog",{enumerable:true,get:function(){return chunkXS2AQFMF_cjs.d}});Object.defineProperty(exports,"useHyperlinkDialog",{enumerable:true,get:function(){return chunkXS2AQFMF_cjs.m}});
package/dist/ui.d.cts CHANGED
@@ -1,8 +1,8 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import React__default, { CSSProperties, ReactNode } from 'react';
3
- import { ag as ParagraphAlignment, ae as ColorValue, K as Style, X as Theme, G as SelectionContext, f as AIAction, i as AgentResponse, ah as StyleType, C as SectionProperties, ai as TabStop, D as Document } from './agentApi-DmDuQm0e.cjs';
4
- import { T as TableAction, P as ParsedClipboardContent } from './clipboard-DBabJ6mU.cjs';
5
- export { c as PrintButton, d as PrintButtonProps, e as PrintOptions, f as PrintStyles, g as TableContext, h as TableSelection, i as TableToolbar, j as TableToolbarProps, k as addColumn, l as addRow, q as createTableContext, r as deleteColumn, s as deleteRow, t as formatPrintPageRange, u as getCellAt, v as getColumnCount, w as getDefaultPrintOptions, A as isPrintSupported, D as mergeCells, E as openPrintWindow, H as parsePageRange, L as splitCell, M as triggerPrint } from './clipboard-DBabJ6mU.cjs';
3
+ import { ag as ParagraphAlignment, ae as ColorValue, K as Style, X as Theme, G as SelectionContext, f as AIAction, i as AgentResponse, ah as StyleType, C as SectionProperties, ai as TabStop, D as Document } from './agentApi-B0688ssC.cjs';
4
+ import { T as TableAction, P as ParsedClipboardContent } from './clipboard-Da1iPK0O.cjs';
5
+ export { c as PrintButton, d as PrintButtonProps, e as PrintOptions, f as PrintStyles, g as TableContext, h as TableSelection, i as TableToolbar, j as TableToolbarProps, k as addColumn, l as addRow, q as createTableContext, r as deleteColumn, s as deleteRow, t as formatPrintPageRange, u as getCellAt, v as getColumnCount, w as getDefaultPrintOptions, A as isPrintSupported, D as mergeCells, E as openPrintWindow, H as parsePageRange, L as splitCell, M as triggerPrint } from './clipboard-Da1iPK0O.cjs';
6
6
 
7
7
  /**
8
8
  * List type
package/dist/ui.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import React__default, { CSSProperties, ReactNode } from 'react';
3
- import { ag as ParagraphAlignment, ae as ColorValue, K as Style, X as Theme, G as SelectionContext, f as AIAction, i as AgentResponse, ah as StyleType, C as SectionProperties, ai as TabStop, D as Document } from './agentApi-DmDuQm0e.js';
4
- import { T as TableAction, P as ParsedClipboardContent } from './clipboard-CU-zASXS.js';
5
- export { c as PrintButton, d as PrintButtonProps, e as PrintOptions, f as PrintStyles, g as TableContext, h as TableSelection, i as TableToolbar, j as TableToolbarProps, k as addColumn, l as addRow, q as createTableContext, r as deleteColumn, s as deleteRow, t as formatPrintPageRange, u as getCellAt, v as getColumnCount, w as getDefaultPrintOptions, A as isPrintSupported, D as mergeCells, E as openPrintWindow, H as parsePageRange, L as splitCell, M as triggerPrint } from './clipboard-CU-zASXS.js';
3
+ import { ag as ParagraphAlignment, ae as ColorValue, K as Style, X as Theme, G as SelectionContext, f as AIAction, i as AgentResponse, ah as StyleType, C as SectionProperties, ai as TabStop, D as Document } from './agentApi-B0688ssC.js';
4
+ import { T as TableAction, P as ParsedClipboardContent } from './clipboard-D0EG6AxE.js';
5
+ export { c as PrintButton, d as PrintButtonProps, e as PrintOptions, f as PrintStyles, g as TableContext, h as TableSelection, i as TableToolbar, j as TableToolbarProps, k as addColumn, l as addRow, q as createTableContext, r as deleteColumn, s as deleteRow, t as formatPrintPageRange, u as getCellAt, v as getColumnCount, w as getDefaultPrintOptions, A as isPrintSupported, D as mergeCells, E as openPrintWindow, H as parsePageRange, L as splitCell, M as triggerPrint } from './clipboard-D0EG6AxE.js';
6
6
 
7
7
  /**
8
8
  * List type
package/dist/ui.js CHANGED
@@ -1 +1 @@
1
- export{q as ColorPicker,a as ContextMenu,$ as InsertImageDialog,ja as InsertSymbolDialog,U as InsertTableDialog,wa as KeyboardShortcutsDialog,H as LoadingIndicator,qa as PasteSpecialDialog,r as PrintButton,s as PrintStyles,g as ResponsePreview,P as ResponsiveToolbar,Q as ResponsiveToolbarGroup,ia as SYMBOL_CATEGORIES,A as TableInsertButtons,z as TableMergeButton,k as TextContextMenu,B as UnsavedIndicator,ea as calculateFitDimensions,Y as clampTableConfig,G as createChangeTracker,W as createDefaultTableConfig,j as createErrorResponse,i as createMockResponse,R as createToolbarItem,S as createToolbarItems,fa as dataUrlToBlob,N as delay,ha as formatFileSize,x as formatPrintPageRange,Da as formatShortcutKeys,Z as formatTableDimensions,c as getActionShortcut,f as getAllActions,Ca as getAllCategories,F as getAllIndicatorPositions,E as getAllIndicatorVariants,M as getAllLoadingSizes,L as getAllLoadingVariants,ta as getAllPasteOptions,Ba as getCategoryLabel,Aa as getCommonShortcuts,e as getDefaultActions,ua as getDefaultPasteOption,v as getDefaultPrintOptions,ya as getDefaultShortcuts,o as getDefaultTextContextMenuItems,da as getImageAcceptString,ga as getImageDimensions,K as getLoadingVariantLabel,sa as getPasteOption,T as getRecommendedPriority,za as getShortcutsByCategory,ca as getSupportedImageExtensions,la as getSymbolCategories,na as getSymbolUnicodeInfo,ma as getSymbolsByCategory,_ as getTablePresets,m as getTextActionLabel,n as getTextActionShortcut,D as getVariantLabel,d as isActionAvailable,va as isPasteSpecialShortcut,y as isPrintSupported,p as isTextActionAvailable,ba as isValidImageFile,X as isValidTableConfig,u as openPrintWindow,w as parsePageRange,oa as searchSymbols,pa as symbolFromCodePoint,t as triggerPrint,b as useContextMenu,aa as useInsertImageDialog,ka as useInsertSymbolDialog,V as useInsertTableDialog,xa as useKeyboardShortcutsDialog,I as useLoading,J as useLoadingOperations,ra as usePasteSpecial,h as useResponsePreview,O as useResponsiveToolbar,l as useTextContextMenu,C as useUnsavedChanges}from'./chunk-FUK46DWH.js';export{k as AdvancedColorPicker,l as AlignmentButtons,g as FontPicker,j as FontSizePicker,E as HorizontalRuler,o as LineSpacingPicker,m as ListButtons,p as StylePicker,s as TableBorderColorPicker,r as TableBorderPicker,t as TableBorderWidthPicker,u as TableCellFillPicker,v as TableMoreDropdown,J as TableToolbar,D as Toolbar,A as ToolbarButton,B as ToolbarGroup,C as ToolbarSeparator,q as ZoomControl,P as addColumn,N as addRow,n as createDefaultListState,K as createTableContext,Q as deleteColumn,O as deleteRow,M as getCellAt,L as getColumnCount,H as getMarginInUnits,G as getRulerDimensions,R as mergeCells,I as parseMarginFromUnits,F as positionToMargin,S as splitCell}from'./chunk-MUIREXKH.js';export{n as FindReplaceDialog,a as createDefaultFindOptions,c as createSearchPattern,b as escapeRegexString,d as findAllMatches,j as findInDocument,k as findInParagraph,i as getDefaultHighlightOptions,g as getMatchCountText,h as isEmptySearch,e as replaceAllInContent,f as replaceFirstInContent,l as scrollToMatch,m as useFindReplace}from'./chunk-CTYOM6BE.js';export{d as HyperlinkDialog,m as useHyperlinkDialog}from'./chunk-PJVI53AH.js';import'./chunk-QVPR2W5S.js';import'./chunk-4VUZBV2S.js';import'./chunk-SE5EN2QL.js';import'./chunk-H5NTJZO4.js';
1
+ export{q as ColorPicker,a as ContextMenu,$ as InsertImageDialog,ja as InsertSymbolDialog,U as InsertTableDialog,wa as KeyboardShortcutsDialog,H as LoadingIndicator,qa as PasteSpecialDialog,r as PrintButton,s as PrintStyles,g as ResponsePreview,P as ResponsiveToolbar,Q as ResponsiveToolbarGroup,ia as SYMBOL_CATEGORIES,A as TableInsertButtons,z as TableMergeButton,k as TextContextMenu,B as UnsavedIndicator,ea as calculateFitDimensions,Y as clampTableConfig,G as createChangeTracker,W as createDefaultTableConfig,j as createErrorResponse,i as createMockResponse,R as createToolbarItem,S as createToolbarItems,fa as dataUrlToBlob,N as delay,ha as formatFileSize,x as formatPrintPageRange,Da as formatShortcutKeys,Z as formatTableDimensions,c as getActionShortcut,f as getAllActions,Ca as getAllCategories,F as getAllIndicatorPositions,E as getAllIndicatorVariants,M as getAllLoadingSizes,L as getAllLoadingVariants,ta as getAllPasteOptions,Ba as getCategoryLabel,Aa as getCommonShortcuts,e as getDefaultActions,ua as getDefaultPasteOption,v as getDefaultPrintOptions,ya as getDefaultShortcuts,o as getDefaultTextContextMenuItems,da as getImageAcceptString,ga as getImageDimensions,K as getLoadingVariantLabel,sa as getPasteOption,T as getRecommendedPriority,za as getShortcutsByCategory,ca as getSupportedImageExtensions,la as getSymbolCategories,na as getSymbolUnicodeInfo,ma as getSymbolsByCategory,_ as getTablePresets,m as getTextActionLabel,n as getTextActionShortcut,D as getVariantLabel,d as isActionAvailable,va as isPasteSpecialShortcut,y as isPrintSupported,p as isTextActionAvailable,ba as isValidImageFile,X as isValidTableConfig,u as openPrintWindow,w as parsePageRange,oa as searchSymbols,pa as symbolFromCodePoint,t as triggerPrint,b as useContextMenu,aa as useInsertImageDialog,ka as useInsertSymbolDialog,V as useInsertTableDialog,xa as useKeyboardShortcutsDialog,I as useLoading,J as useLoadingOperations,ra as usePasteSpecial,h as useResponsePreview,O as useResponsiveToolbar,l as useTextContextMenu,C as useUnsavedChanges}from'./chunk-4XF5YD4I.js';export{k as AdvancedColorPicker,l as AlignmentButtons,g as FontPicker,j as FontSizePicker,E as HorizontalRuler,o as LineSpacingPicker,m as ListButtons,p as StylePicker,s as TableBorderColorPicker,r as TableBorderPicker,t as TableBorderWidthPicker,u as TableCellFillPicker,v as TableMoreDropdown,Z as TableToolbar,D as Toolbar,A as ToolbarButton,B as ToolbarGroup,C as ToolbarSeparator,q as ZoomControl,da as addColumn,ba as addRow,n as createDefaultListState,_ as createTableContext,ea as deleteColumn,ca as deleteRow,aa as getCellAt,$ as getColumnCount,H as getMarginInUnits,G as getRulerDimensions,fa as mergeCells,I as parseMarginFromUnits,F as positionToMargin,ga as splitCell}from'./chunk-E7U5ZBOK.js';export{n as FindReplaceDialog,a as createDefaultFindOptions,c as createSearchPattern,b as escapeRegexString,d as findAllMatches,j as findInDocument,k as findInParagraph,i as getDefaultHighlightOptions,g as getMatchCountText,h as isEmptySearch,e as replaceAllInContent,f as replaceFirstInContent,l as scrollToMatch,m as useFindReplace}from'./chunk-CTYOM6BE.js';export{d as HyperlinkDialog,m as useHyperlinkDialog}from'./chunk-PJVI53AH.js';import'./chunk-QVPR2W5S.js';import'./chunk-4VUZBV2S.js';import'./chunk-SE5EN2QL.js';import'./chunk-H5NTJZO4.js';
@@ -1,4 +1,4 @@
1
- import { D as Document, d as DocumentBody, a as Paragraph } from './agentApi-DmDuQm0e.js';
1
+ import { D as Document, d as DocumentBody, a as Paragraph } from './agentApi-B0688ssC.js';
2
2
 
3
3
  /**
4
4
  * DOCX Repacker - Repack modified document into valid DOCX
@@ -1,4 +1,4 @@
1
- import { D as Document, d as DocumentBody, a as Paragraph } from './agentApi-DmDuQm0e.cjs';
1
+ import { D as Document, d as DocumentBody, a as Paragraph } from './agentApi-B0688ssC.cjs';
2
2
 
3
3
  /**
4
4
  * DOCX Repacker - Repack modified document into valid DOCX
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eigenpal/docx-js-editor",
3
- "version": "0.0.26",
3
+ "version": "0.0.27",
4
4
  "description": "A browser-based DOCX template editor with variable insertion support",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -1 +0,0 @@
1
- 'use strict';var ue={calibri:{googleFont:"Carlito",category:"sans-serif",fallbackStack:["Calibri","Carlito","Arial","Helvetica","sans-serif"],singleLineRatio:1.2207},cambria:{googleFont:"Caladea",category:"serif",fallbackStack:["Cambria","Caladea","Georgia","serif"],singleLineRatio:1.2676},arial:{googleFont:"Arimo",category:"sans-serif",fallbackStack:["Arial","Arimo","Helvetica","sans-serif"],singleLineRatio:1.1499},"times new roman":{googleFont:"Tinos",category:"serif",fallbackStack:["Times New Roman","Tinos","Times","serif"],singleLineRatio:1.1499},"courier new":{googleFont:"Cousine",category:"monospace",fallbackStack:["Courier New","Cousine","Courier","monospace"],singleLineRatio:1.1328},georgia:{googleFont:"Tinos",category:"serif",fallbackStack:["Georgia","Tinos","Times New Roman","serif"],singleLineRatio:1.1362},verdana:{googleFont:"Open Sans",category:"sans-serif",fallbackStack:["Verdana","Open Sans","Arial","sans-serif"],singleLineRatio:1.2153},tahoma:{googleFont:"Open Sans",category:"sans-serif",fallbackStack:["Tahoma","Open Sans","Arial","sans-serif"],singleLineRatio:1.2075},"trebuchet ms":{googleFont:"Fira Sans",category:"sans-serif",fallbackStack:["Trebuchet MS","Fira Sans","Arial","sans-serif"],singleLineRatio:1.1431},"comic sans ms":{googleFont:"Comic Neue",category:"cursive",fallbackStack:["Comic Sans MS","Comic Neue","cursive"],singleLineRatio:1.3936},impact:{googleFont:"Anton",category:"sans-serif",fallbackStack:["Impact","Anton","Arial Black","sans-serif"],singleLineRatio:1.2197},"palatino linotype":{googleFont:"EB Garamond",category:"serif",fallbackStack:["Palatino Linotype","EB Garamond","Palatino","Georgia","serif"],singleLineRatio:1.0259},"book antiqua":{googleFont:"EB Garamond",category:"serif",fallbackStack:["Book Antiqua","EB Garamond","Palatino","Georgia","serif"],singleLineRatio:1.0259},garamond:{googleFont:"EB Garamond",category:"serif",fallbackStack:["Garamond","EB Garamond","Georgia","serif"],singleLineRatio:1.068},"century gothic":{googleFont:"Questrial",category:"sans-serif",fallbackStack:["Century Gothic","Questrial","Arial","sans-serif"],singleLineRatio:1.1611},"lucida sans":{googleFont:"Open Sans",category:"sans-serif",fallbackStack:["Lucida Sans","Open Sans","Arial","sans-serif"],singleLineRatio:1.1655},"lucida console":{googleFont:"Cousine",category:"monospace",fallbackStack:["Lucida Console","Cousine","Courier New","monospace"],singleLineRatio:1.1387},consolas:{googleFont:"Inconsolata",category:"monospace",fallbackStack:["Consolas","Inconsolata","Cousine","Courier New","monospace"],singleLineRatio:1.1626},"ms mincho":{googleFont:"Noto Serif JP",category:"serif",fallbackStack:["MS Mincho","Noto Serif JP","serif"],singleLineRatio:1.15},"ms gothic":{googleFont:"Noto Sans JP",category:"sans-serif",fallbackStack:["MS Gothic","Noto Sans JP","sans-serif"],singleLineRatio:1.15},simhei:{googleFont:"Noto Sans SC",category:"sans-serif",fallbackStack:["SimHei","Noto Sans SC","sans-serif"],singleLineRatio:1.15},simsun:{googleFont:"Noto Serif SC",category:"serif",fallbackStack:["SimSun","Noto Serif SC","serif"],singleLineRatio:1.15},"malgun gothic":{googleFont:"Noto Sans KR",category:"sans-serif",fallbackStack:["Malgun Gothic","Noto Sans KR","sans-serif"],singleLineRatio:1.15}},ge={"sans-serif":"Arial, Helvetica, sans-serif",serif:"Times New Roman, Times, serif",monospace:"Courier New, Courier, monospace",cursive:"cursive",fantasy:"fantasy","system-ui":"system-ui, sans-serif"};function fe(n){let e=n.toLowerCase();return e.includes("mono")||e.includes("courier")||e.includes("consolas")||e.includes("console")||e.includes("code")||e.includes("terminal")?"monospace":e.includes("times")||e.includes("georgia")||e.includes("garamond")||e.includes("palatino")||e.includes("baskerville")||e.includes("bodoni")||e.includes("cambria")||e.includes("mincho")||e.includes("ming")||e.includes("song")||e.includes("serif")?"serif":e.includes("script")||e.includes("cursive")||e.includes("comic")||e.includes("brush")||e.includes("hand")?"cursive":"sans-serif"}function Q(n){let e=n.trim().toLowerCase(),a=ue[e];if(a)return {googleFont:a.googleFont,cssFallback:a.fallbackStack.map(K).join(", "),originalFont:n,hasGoogleEquivalent:true,singleLineRatio:a.singleLineRatio};let t=fe(n),r=ge[t];return {googleFont:null,cssFallback:`${K(n)}, ${r}`,originalFont:n,hasGoogleEquivalent:false,singleLineRatio:1.15}}function K(n){return ["serif","sans-serif","monospace","cursive","fantasy","system-ui"].includes(n.toLowerCase())?n:/[\s,'"()]/.test(n)?`"${n.replace(/"/g,'\\"')}"`:n}function Fe(n,e){if(!e)return null;let t=n.toLowerCase().startsWith("major")?e.majorFont:e.minorFont;if(!t)return null;let r=n.toLowerCase();return r.includes("eastasia")||r.includes("ea")?t.ea??t.latin??null:r.includes("cs")||r.includes("bidi")?t.cs??t.latin??null:t.latin??null}var Z=96,ee=11,ne="Calibri",he=1,de=.8,pe=.2,A=null;function X(){if(!A){let n=typeof document<"u"?document.createElement("canvas"):null;if(!n)throw new Error("Canvas not available. Ensure this runs in a DOM environment.");if(A=n.getContext("2d"),!A)throw new Error("Failed to get 2D context from canvas")}return A}function we(){A=null;}var V=new Map;function te(n){let e=V.get(n);if(e===void 0){let a=Q(n);e={cssFallback:a.cssFallback,singleLineRatio:a.singleLineRatio},V.set(n,e);}return e}function be(n){return te(n).cssFallback}function U(n){let e=[];n.italic&&e.push("italic"),n.bold&&e.push("bold");let a=n.fontSize??ee,t=oe(a);e.push(`${t}px`);let r=n.fontFamily??ne;return e.push(be(r)),e.join(" ")}function xe(n){let e=n.fontSize??ee,a=n.fontFamily??ne,t=oe(e),r=t*de,o=t*pe,c=t*he;try{let s=X();s.font=U(n);let g=s.measureText("Hg");typeof g.actualBoundingBoxAscent=="number"&&typeof g.actualBoundingBoxDescent=="number"&&(r=g.actualBoundingBoxAscent,o=g.actualBoundingBoxDescent);}catch{}c=Math.max(c,r+o);let i=te(a).singleLineRatio;return {fontSize:e,ascent:r,descent:o,lineHeight:c,fontFamily:a,singleLineRatio:i}}function Me(n,e){if(!n)return 0;let a=X();a.font=U(e);let r=a.measureText(n).width;return e.letterSpacing&&n.length>1&&(r+=e.letterSpacing*(n.length-1)),r}function W(n,e){let a=xe(e);if(!n)return {width:0,charWidths:[],metrics:a};let t=X();t.font=U(e);let r=e.letterSpacing??0,o=[],c=0;for(let i=0;i<n.length;i++){let s=n[i],h=t.measureText(s).width;r&&i<n.length-1&&(h+=r),o.push(h),c+=h;}return {width:c,charWidths:o,metrics:a}}function Te(n,e){if(e.length===0||n<=0)return 0;let a=0;for(let t=0;t<e.length;t++){let r=e[t],o=a+r/2;if(n<=o)return t;a+=r;}return e.length}function oe(n){return n*Z/72}function q(n,e){let a=n.pageGap??0,t=0;for(let r=0;r<e&&r<n.pages.length;r++){let c=n.pages[r].size?.h??n.pageSize.h;t+=c+a;}return t}function ae(n,e){return n.findIndex(a=>a.id===e)}function ke(n,e){let a=0;for(let t=n.fromLine;t<n.toLine&&t<e.lines.length;t++)a+=e.lines[t].lineHeight;return a}function Ie(n,e,a,t){let r=[...n.page.fragments].sort((o,c)=>{let i=o.y-c.y;return Math.abs(i)>.5?i:o.x-c.x});for(let o of r){let c=ae(e,o.blockId);if(c===-1)continue;let i=e[c],s=a[c];if(!i||!s)continue;let g;if(o.kind==="paragraph"){if(i.kind!=="paragraph"||s.kind!=="paragraph")continue;g=ke(o,s);}else if(o.kind==="table")g=o.height;else if(o.kind==="image")g=o.height;else continue;let h=t.x>=o.x&&t.x<=o.x+o.width,l=t.y>=o.y&&t.y<=o.y+g;if(h&&l)return {fragment:o,block:i,measure:s,pageIndex:n.pageIndex,localX:t.x-o.x,localY:t.y-o.y}}return null}function Ce(n,e,a,t){for(let r of n.page.fragments){if(r.kind!=="table")continue;let o=r,c=t.x>=o.x&&t.x<=o.x+o.width,i=t.y>=o.y&&t.y<=o.y+o.height;if(!c||!i)continue;let s=ae(e,o.blockId);if(s===-1)continue;let g=e[s],h=a[s];if(!g||g.kind!=="table"||!h||h.kind!=="table")continue;let l=g,f=h,d=t.x-o.x,F=t.y-o.y,x=0,p=-1;if(f.rows.length===0||l.rows.length===0)continue;for(let u=o.fromRow;u<o.toRow&&u<f.rows.length;u++){let L=f.rows[u];if(F>=x&&F<x+L.height){p=u;break}x+=L.height;}if(p===-1&&(p=Math.min(o.toRow-1,f.rows.length-1),p<o.fromRow))continue;let m=f.rows[p],S=l.rows[p];if(!m||!S)continue;let b=0,k=-1;if(m.cells.length===0||S.cells.length===0)continue;for(let u=0;u<m.cells.length;u++){let L=m.cells[u];if(d>=b&&d<b+L.width){k=u;break}b+=L.width;}if(k===-1&&(k=m.cells.length-1,k<0))continue;let y=m.cells[k],R=S.cells[k];if(!y||!R)continue;let w=0;for(let u=o.fromRow;u<p;u++)w+=f.rows[u]?.height??0;let I=0;for(let u=0;u<k;u++)I+=m.cells[u]?.width??0;let T,M;if(R.blocks&&R.blocks.length>0){let u=R.blocks[0],L=y.blocks[0];u.kind==="paragraph"&&L?.kind==="paragraph"&&(T=u,M=L);}let C=d-I,B=F-w;return {fragment:o,block:l,measure:f,pageIndex:n.pageIndex,rowIndex:p,colIndex:k,cellBlock:T,cellMeasure:M,cellLocalX:Math.max(0,C),cellLocalY:Math.max(0,B)}}return null}function re(n){return {fontFamily:n.fontFamily??"Arial",fontSize:n.fontSize??12,bold:n.bold,italic:n.italic,letterSpacing:n.letterSpacing}}function j(n,e){return n.findIndex(a=>a.id===e)}function G(n,e){let t=(n.pmStart??0)+1,r=0,o;for(let s=0;s<n.runs.length&&s<=e.toRun;s++){let g=n.runs[s];if(g){if(s<e.fromRun)g.kind==="text"?r+=(g.text??"").length:r+=1;else if(s===e.fromRun){r+=e.fromChar,o=t+r;break}}}o===void 0&&(o=t);let c=0;for(let s=e.fromRun;s<=e.toRun&&s<n.runs.length;s++){let g=n.runs[s];if(g)if(g.kind==="text"){let h=g.text??"",l=s===e.fromRun?e.fromChar:0,f=s===e.toRun?e.toChar:h.length;c+=f-l;}else c+=1;}let i=o+c;return {pmStart:o,pmEnd:i}}function ie(n,e,a,t){let r=[];for(let o=0;o<e.lines.length;o++){let c=e.lines[o],i=G(n,c);i.pmStart===void 0||i.pmEnd===void 0||i.pmEnd>a&&i.pmStart<t&&r.push({line:c,index:o});}return r}function v(n,e,a){let t=G(n,e);return t.pmStart===void 0?0:Math.max(0,a-t.pmStart)}function _(n,e,a,t){let r=0,o=0;for(let c=e.fromRun;c<=e.toRun&&c<n.runs.length;c++){let i=n.runs[c];if(i){if(i.kind==="tab"){let s=i.width??48;if(o+1>=a)return a<=o?r:r+s;r+=s,o+=1;continue}if(i.kind==="image"){let s=i.width;if(o+1>=a)return a<=o?r:r+s;r+=s,o+=1;continue}if(i.kind==="lineBreak"){if(a<=o)return r;o+=1;continue}if(i.kind==="text"){let s=i.text??"",g=c===e.fromRun,h=c===e.toRun,l=g?e.fromChar:0,f=h?e.toChar:s.length,d=s.slice(l,f);if(o+d.length>=a){let p=a-o,m=re(i),S=W(d.slice(0,p),m);return r+S.width}let F=re(i),x=W(d,F);r+=x.width,o+=d.length;}}}return r}function N(n,e){let a=0;for(let t=0;t<e&&t<n.lines.length;t++)a+=n.lines[t].lineHeight;return a}function He(n,e,a,t,r){if(t===r)return [];let o=Math.min(t,r),c=Math.max(t,r),i=[];for(let s=0;s<n.pages.length;s++){let g=n.pages[s],h=q(n,s);for(let l of g.fragments){if(l.kind==="paragraph"){let f=j(e,l.blockId);if(f===-1)continue;let d=e[f],F=a[f];if(!d||d.kind!=="paragraph"||!F||F.kind!=="paragraph")continue;let x=d,p=F,m=l,S=ie(x,p,o,c);for(let{line:b,index:k}of S){if(k<m.fromLine||k>=m.toLine)continue;let y=G(x,b);if(y.pmStart===void 0||y.pmEnd===void 0)continue;let R=Math.max(y.pmStart,o),w=Math.min(y.pmEnd,c);if(R>=w)continue;let I=v(x,b,R),T=v(x,b,w),M=x.attrs?.indent,C=M?.left??0,B=M?.right??0,u=Math.max(0,l.width-C-B),L=_(x,b,I),z=_(x,b,T),H=x.attrs?.alignment??"left",P=0;H==="center"?P=Math.max(0,(u-b.width)/2):H==="right"&&(P=Math.max(0,u-b.width));let D=N(p,k)-N(p,m.fromLine),E=l.x+C+P+Math.min(L,z),O=Math.max(1,Math.abs(z-L)),Y=l.y+D;i.push({x:E,y:Y+h,width:O,height:b.lineHeight,pageIndex:s});}}if(l.kind==="table"){let f=j(e,l.blockId);if(f===-1)continue;let d=e[f],F=a[f];if(!d||d.kind!=="table"||!F||F.kind!=="table")continue;let x=d,p=F,m=l,S=0;for(let b=m.fromRow;b<m.toRow&&b<x.rows.length;b++){let k=x.rows[b],y=p.rows[b];if(!k||!y)continue;let R=0;for(let w=0;w<k.cells.length;w++){let I=k.cells[w],T=y.cells[w];if(!(!I||!T)){for(let M=0;M<I.blocks.length;M++){let C=I.blocks[M],B=T.blocks[M];if(!C||C.kind!=="paragraph"||!B||B.kind!=="paragraph")continue;let u=C,L=B,z=ie(u,L,o,c),H=0;for(let{line:P,index:D}of z){let E=G(u,P);if(E.pmStart===void 0||E.pmEnd===void 0)continue;let O=Math.max(E.pmStart,o),Y=Math.min(E.pmEnd,c);if(O>=Y)continue;let se=v(u,P,O),ce=v(u,P,Y),J=_(u,P,se,T.width),$=_(u,P,ce,T.width),le=N(L,D);i.push({x:m.x+R+Math.min(J,$),y:m.y+S+H+le+h,width:Math.max(1,Math.abs($-J)),height:P.lineHeight,pageIndex:s});}H+=L.totalHeight;}R+=T.width;}}S+=y.height;}}if(l.kind==="image"){let f=l.pmStart??0;(l.pmEnd??f+1)>o&&f<c&&i.push({x:l.x,y:l.y+h,width:l.width,height:l.height,pageIndex:s});}}}return i}function Ae(n,e,a,t){for(let r=0;r<n.pages.length;r++){let o=n.pages[r],c=q(n,r);for(let i of o.fragments){if(i.kind==="paragraph"){let s=j(e,i.blockId);if(s===-1)continue;let g=e[s],h=a[s];if(!g||g.kind!=="paragraph"||!h||h.kind!=="paragraph")continue;let l=g,f=h,d=i,F=l.pmStart??0,x=l.pmEnd??F;if(t<F||t>x)continue;for(let p=d.fromLine;p<d.toLine;p++){let m=f.lines[p];if(!m)continue;let S=G(l,m);if(!(S.pmStart===void 0||S.pmEnd===void 0)&&t>=S.pmStart&&t<=S.pmEnd){let b=v(l,m,t),k=l.attrs?.indent,y=k?.left??0,R=k?.right??0,w=Math.max(0,i.width-y-R),I=_(l,m,b),T=l.attrs?.alignment??"left",M=0;T==="center"?M=Math.max(0,(w-m.width)/2):T==="right"&&(M=Math.max(0,w-m.width));let C=N(f,p)-N(f,d.fromLine);return {x:i.x+y+M+I,y:i.y+C+c,height:m.lineHeight,pageIndex:r}}}}if(i.kind==="image"){let s=i.pmStart??0,g=i.pmEnd??s+1;if(t>=s&&t<=g){let h=t===s?0:i.width;return {x:i.x+h,y:i.y+c,height:i.height,pageIndex:r}}}}}return null}function ve(n){return n.length<=1?false:new Set(n.map(a=>a.pageIndex)).size>1}function _e(n){let e=new Map;for(let a of n){let t=e.get(a.pageIndex)??[];t.push(a),e.set(a.pageIndex,t);}return e}exports.a=Q;exports.b=Fe;exports.c=we;exports.d=xe;exports.e=Me;exports.f=W;exports.g=Te;exports.h=oe;exports.i=Ie;exports.j=Ce;exports.k=He;exports.l=Ae;exports.m=ve;exports.n=_e;
@@ -1 +0,0 @@
1
- var ue={calibri:{googleFont:"Carlito",category:"sans-serif",fallbackStack:["Calibri","Carlito","Arial","Helvetica","sans-serif"],singleLineRatio:1.2207},cambria:{googleFont:"Caladea",category:"serif",fallbackStack:["Cambria","Caladea","Georgia","serif"],singleLineRatio:1.2676},arial:{googleFont:"Arimo",category:"sans-serif",fallbackStack:["Arial","Arimo","Helvetica","sans-serif"],singleLineRatio:1.1499},"times new roman":{googleFont:"Tinos",category:"serif",fallbackStack:["Times New Roman","Tinos","Times","serif"],singleLineRatio:1.1499},"courier new":{googleFont:"Cousine",category:"monospace",fallbackStack:["Courier New","Cousine","Courier","monospace"],singleLineRatio:1.1328},georgia:{googleFont:"Tinos",category:"serif",fallbackStack:["Georgia","Tinos","Times New Roman","serif"],singleLineRatio:1.1362},verdana:{googleFont:"Open Sans",category:"sans-serif",fallbackStack:["Verdana","Open Sans","Arial","sans-serif"],singleLineRatio:1.2153},tahoma:{googleFont:"Open Sans",category:"sans-serif",fallbackStack:["Tahoma","Open Sans","Arial","sans-serif"],singleLineRatio:1.2075},"trebuchet ms":{googleFont:"Fira Sans",category:"sans-serif",fallbackStack:["Trebuchet MS","Fira Sans","Arial","sans-serif"],singleLineRatio:1.1431},"comic sans ms":{googleFont:"Comic Neue",category:"cursive",fallbackStack:["Comic Sans MS","Comic Neue","cursive"],singleLineRatio:1.3936},impact:{googleFont:"Anton",category:"sans-serif",fallbackStack:["Impact","Anton","Arial Black","sans-serif"],singleLineRatio:1.2197},"palatino linotype":{googleFont:"EB Garamond",category:"serif",fallbackStack:["Palatino Linotype","EB Garamond","Palatino","Georgia","serif"],singleLineRatio:1.0259},"book antiqua":{googleFont:"EB Garamond",category:"serif",fallbackStack:["Book Antiqua","EB Garamond","Palatino","Georgia","serif"],singleLineRatio:1.0259},garamond:{googleFont:"EB Garamond",category:"serif",fallbackStack:["Garamond","EB Garamond","Georgia","serif"],singleLineRatio:1.068},"century gothic":{googleFont:"Questrial",category:"sans-serif",fallbackStack:["Century Gothic","Questrial","Arial","sans-serif"],singleLineRatio:1.1611},"lucida sans":{googleFont:"Open Sans",category:"sans-serif",fallbackStack:["Lucida Sans","Open Sans","Arial","sans-serif"],singleLineRatio:1.1655},"lucida console":{googleFont:"Cousine",category:"monospace",fallbackStack:["Lucida Console","Cousine","Courier New","monospace"],singleLineRatio:1.1387},consolas:{googleFont:"Inconsolata",category:"monospace",fallbackStack:["Consolas","Inconsolata","Cousine","Courier New","monospace"],singleLineRatio:1.1626},"ms mincho":{googleFont:"Noto Serif JP",category:"serif",fallbackStack:["MS Mincho","Noto Serif JP","serif"],singleLineRatio:1.15},"ms gothic":{googleFont:"Noto Sans JP",category:"sans-serif",fallbackStack:["MS Gothic","Noto Sans JP","sans-serif"],singleLineRatio:1.15},simhei:{googleFont:"Noto Sans SC",category:"sans-serif",fallbackStack:["SimHei","Noto Sans SC","sans-serif"],singleLineRatio:1.15},simsun:{googleFont:"Noto Serif SC",category:"serif",fallbackStack:["SimSun","Noto Serif SC","serif"],singleLineRatio:1.15},"malgun gothic":{googleFont:"Noto Sans KR",category:"sans-serif",fallbackStack:["Malgun Gothic","Noto Sans KR","sans-serif"],singleLineRatio:1.15}},ge={"sans-serif":"Arial, Helvetica, sans-serif",serif:"Times New Roman, Times, serif",monospace:"Courier New, Courier, monospace",cursive:"cursive",fantasy:"fantasy","system-ui":"system-ui, sans-serif"};function fe(n){let e=n.toLowerCase();return e.includes("mono")||e.includes("courier")||e.includes("consolas")||e.includes("console")||e.includes("code")||e.includes("terminal")?"monospace":e.includes("times")||e.includes("georgia")||e.includes("garamond")||e.includes("palatino")||e.includes("baskerville")||e.includes("bodoni")||e.includes("cambria")||e.includes("mincho")||e.includes("ming")||e.includes("song")||e.includes("serif")?"serif":e.includes("script")||e.includes("cursive")||e.includes("comic")||e.includes("brush")||e.includes("hand")?"cursive":"sans-serif"}function Q(n){let e=n.trim().toLowerCase(),a=ue[e];if(a)return {googleFont:a.googleFont,cssFallback:a.fallbackStack.map(K).join(", "),originalFont:n,hasGoogleEquivalent:true,singleLineRatio:a.singleLineRatio};let t=fe(n),r=ge[t];return {googleFont:null,cssFallback:`${K(n)}, ${r}`,originalFont:n,hasGoogleEquivalent:false,singleLineRatio:1.15}}function K(n){return ["serif","sans-serif","monospace","cursive","fantasy","system-ui"].includes(n.toLowerCase())?n:/[\s,'"()]/.test(n)?`"${n.replace(/"/g,'\\"')}"`:n}function Fe(n,e){if(!e)return null;let t=n.toLowerCase().startsWith("major")?e.majorFont:e.minorFont;if(!t)return null;let r=n.toLowerCase();return r.includes("eastasia")||r.includes("ea")?t.ea??t.latin??null:r.includes("cs")||r.includes("bidi")?t.cs??t.latin??null:t.latin??null}var Z=96,ee=11,ne="Calibri",he=1,de=.8,pe=.2,A=null;function X(){if(!A){let n=typeof document<"u"?document.createElement("canvas"):null;if(!n)throw new Error("Canvas not available. Ensure this runs in a DOM environment.");if(A=n.getContext("2d"),!A)throw new Error("Failed to get 2D context from canvas")}return A}function we(){A=null;}var V=new Map;function te(n){let e=V.get(n);if(e===void 0){let a=Q(n);e={cssFallback:a.cssFallback,singleLineRatio:a.singleLineRatio},V.set(n,e);}return e}function be(n){return te(n).cssFallback}function U(n){let e=[];n.italic&&e.push("italic"),n.bold&&e.push("bold");let a=n.fontSize??ee,t=oe(a);e.push(`${t}px`);let r=n.fontFamily??ne;return e.push(be(r)),e.join(" ")}function xe(n){let e=n.fontSize??ee,a=n.fontFamily??ne,t=oe(e),r=t*de,o=t*pe,c=t*he;try{let s=X();s.font=U(n);let g=s.measureText("Hg");typeof g.actualBoundingBoxAscent=="number"&&typeof g.actualBoundingBoxDescent=="number"&&(r=g.actualBoundingBoxAscent,o=g.actualBoundingBoxDescent);}catch{}c=Math.max(c,r+o);let i=te(a).singleLineRatio;return {fontSize:e,ascent:r,descent:o,lineHeight:c,fontFamily:a,singleLineRatio:i}}function Me(n,e){if(!n)return 0;let a=X();a.font=U(e);let r=a.measureText(n).width;return e.letterSpacing&&n.length>1&&(r+=e.letterSpacing*(n.length-1)),r}function W(n,e){let a=xe(e);if(!n)return {width:0,charWidths:[],metrics:a};let t=X();t.font=U(e);let r=e.letterSpacing??0,o=[],c=0;for(let i=0;i<n.length;i++){let s=n[i],h=t.measureText(s).width;r&&i<n.length-1&&(h+=r),o.push(h),c+=h;}return {width:c,charWidths:o,metrics:a}}function Te(n,e){if(e.length===0||n<=0)return 0;let a=0;for(let t=0;t<e.length;t++){let r=e[t],o=a+r/2;if(n<=o)return t;a+=r;}return e.length}function oe(n){return n*Z/72}function q(n,e){let a=n.pageGap??0,t=0;for(let r=0;r<e&&r<n.pages.length;r++){let c=n.pages[r].size?.h??n.pageSize.h;t+=c+a;}return t}function ae(n,e){return n.findIndex(a=>a.id===e)}function ke(n,e){let a=0;for(let t=n.fromLine;t<n.toLine&&t<e.lines.length;t++)a+=e.lines[t].lineHeight;return a}function Ie(n,e,a,t){let r=[...n.page.fragments].sort((o,c)=>{let i=o.y-c.y;return Math.abs(i)>.5?i:o.x-c.x});for(let o of r){let c=ae(e,o.blockId);if(c===-1)continue;let i=e[c],s=a[c];if(!i||!s)continue;let g;if(o.kind==="paragraph"){if(i.kind!=="paragraph"||s.kind!=="paragraph")continue;g=ke(o,s);}else if(o.kind==="table")g=o.height;else if(o.kind==="image")g=o.height;else continue;let h=t.x>=o.x&&t.x<=o.x+o.width,l=t.y>=o.y&&t.y<=o.y+g;if(h&&l)return {fragment:o,block:i,measure:s,pageIndex:n.pageIndex,localX:t.x-o.x,localY:t.y-o.y}}return null}function Ce(n,e,a,t){for(let r of n.page.fragments){if(r.kind!=="table")continue;let o=r,c=t.x>=o.x&&t.x<=o.x+o.width,i=t.y>=o.y&&t.y<=o.y+o.height;if(!c||!i)continue;let s=ae(e,o.blockId);if(s===-1)continue;let g=e[s],h=a[s];if(!g||g.kind!=="table"||!h||h.kind!=="table")continue;let l=g,f=h,d=t.x-o.x,F=t.y-o.y,x=0,p=-1;if(f.rows.length===0||l.rows.length===0)continue;for(let u=o.fromRow;u<o.toRow&&u<f.rows.length;u++){let L=f.rows[u];if(F>=x&&F<x+L.height){p=u;break}x+=L.height;}if(p===-1&&(p=Math.min(o.toRow-1,f.rows.length-1),p<o.fromRow))continue;let m=f.rows[p],S=l.rows[p];if(!m||!S)continue;let b=0,k=-1;if(m.cells.length===0||S.cells.length===0)continue;for(let u=0;u<m.cells.length;u++){let L=m.cells[u];if(d>=b&&d<b+L.width){k=u;break}b+=L.width;}if(k===-1&&(k=m.cells.length-1,k<0))continue;let y=m.cells[k],R=S.cells[k];if(!y||!R)continue;let w=0;for(let u=o.fromRow;u<p;u++)w+=f.rows[u]?.height??0;let I=0;for(let u=0;u<k;u++)I+=m.cells[u]?.width??0;let T,M;if(R.blocks&&R.blocks.length>0){let u=R.blocks[0],L=y.blocks[0];u.kind==="paragraph"&&L?.kind==="paragraph"&&(T=u,M=L);}let C=d-I,B=F-w;return {fragment:o,block:l,measure:f,pageIndex:n.pageIndex,rowIndex:p,colIndex:k,cellBlock:T,cellMeasure:M,cellLocalX:Math.max(0,C),cellLocalY:Math.max(0,B)}}return null}function re(n){return {fontFamily:n.fontFamily??"Arial",fontSize:n.fontSize??12,bold:n.bold,italic:n.italic,letterSpacing:n.letterSpacing}}function j(n,e){return n.findIndex(a=>a.id===e)}function G(n,e){let t=(n.pmStart??0)+1,r=0,o;for(let s=0;s<n.runs.length&&s<=e.toRun;s++){let g=n.runs[s];if(g){if(s<e.fromRun)g.kind==="text"?r+=(g.text??"").length:r+=1;else if(s===e.fromRun){r+=e.fromChar,o=t+r;break}}}o===void 0&&(o=t);let c=0;for(let s=e.fromRun;s<=e.toRun&&s<n.runs.length;s++){let g=n.runs[s];if(g)if(g.kind==="text"){let h=g.text??"",l=s===e.fromRun?e.fromChar:0,f=s===e.toRun?e.toChar:h.length;c+=f-l;}else c+=1;}let i=o+c;return {pmStart:o,pmEnd:i}}function ie(n,e,a,t){let r=[];for(let o=0;o<e.lines.length;o++){let c=e.lines[o],i=G(n,c);i.pmStart===void 0||i.pmEnd===void 0||i.pmEnd>a&&i.pmStart<t&&r.push({line:c,index:o});}return r}function v(n,e,a){let t=G(n,e);return t.pmStart===void 0?0:Math.max(0,a-t.pmStart)}function _(n,e,a,t){let r=0,o=0;for(let c=e.fromRun;c<=e.toRun&&c<n.runs.length;c++){let i=n.runs[c];if(i){if(i.kind==="tab"){let s=i.width??48;if(o+1>=a)return a<=o?r:r+s;r+=s,o+=1;continue}if(i.kind==="image"){let s=i.width;if(o+1>=a)return a<=o?r:r+s;r+=s,o+=1;continue}if(i.kind==="lineBreak"){if(a<=o)return r;o+=1;continue}if(i.kind==="text"){let s=i.text??"",g=c===e.fromRun,h=c===e.toRun,l=g?e.fromChar:0,f=h?e.toChar:s.length,d=s.slice(l,f);if(o+d.length>=a){let p=a-o,m=re(i),S=W(d.slice(0,p),m);return r+S.width}let F=re(i),x=W(d,F);r+=x.width,o+=d.length;}}}return r}function N(n,e){let a=0;for(let t=0;t<e&&t<n.lines.length;t++)a+=n.lines[t].lineHeight;return a}function He(n,e,a,t,r){if(t===r)return [];let o=Math.min(t,r),c=Math.max(t,r),i=[];for(let s=0;s<n.pages.length;s++){let g=n.pages[s],h=q(n,s);for(let l of g.fragments){if(l.kind==="paragraph"){let f=j(e,l.blockId);if(f===-1)continue;let d=e[f],F=a[f];if(!d||d.kind!=="paragraph"||!F||F.kind!=="paragraph")continue;let x=d,p=F,m=l,S=ie(x,p,o,c);for(let{line:b,index:k}of S){if(k<m.fromLine||k>=m.toLine)continue;let y=G(x,b);if(y.pmStart===void 0||y.pmEnd===void 0)continue;let R=Math.max(y.pmStart,o),w=Math.min(y.pmEnd,c);if(R>=w)continue;let I=v(x,b,R),T=v(x,b,w),M=x.attrs?.indent,C=M?.left??0,B=M?.right??0,u=Math.max(0,l.width-C-B),L=_(x,b,I),z=_(x,b,T),H=x.attrs?.alignment??"left",P=0;H==="center"?P=Math.max(0,(u-b.width)/2):H==="right"&&(P=Math.max(0,u-b.width));let D=N(p,k)-N(p,m.fromLine),E=l.x+C+P+Math.min(L,z),O=Math.max(1,Math.abs(z-L)),Y=l.y+D;i.push({x:E,y:Y+h,width:O,height:b.lineHeight,pageIndex:s});}}if(l.kind==="table"){let f=j(e,l.blockId);if(f===-1)continue;let d=e[f],F=a[f];if(!d||d.kind!=="table"||!F||F.kind!=="table")continue;let x=d,p=F,m=l,S=0;for(let b=m.fromRow;b<m.toRow&&b<x.rows.length;b++){let k=x.rows[b],y=p.rows[b];if(!k||!y)continue;let R=0;for(let w=0;w<k.cells.length;w++){let I=k.cells[w],T=y.cells[w];if(!(!I||!T)){for(let M=0;M<I.blocks.length;M++){let C=I.blocks[M],B=T.blocks[M];if(!C||C.kind!=="paragraph"||!B||B.kind!=="paragraph")continue;let u=C,L=B,z=ie(u,L,o,c),H=0;for(let{line:P,index:D}of z){let E=G(u,P);if(E.pmStart===void 0||E.pmEnd===void 0)continue;let O=Math.max(E.pmStart,o),Y=Math.min(E.pmEnd,c);if(O>=Y)continue;let se=v(u,P,O),ce=v(u,P,Y),J=_(u,P,se,T.width),$=_(u,P,ce,T.width),le=N(L,D);i.push({x:m.x+R+Math.min(J,$),y:m.y+S+H+le+h,width:Math.max(1,Math.abs($-J)),height:P.lineHeight,pageIndex:s});}H+=L.totalHeight;}R+=T.width;}}S+=y.height;}}if(l.kind==="image"){let f=l.pmStart??0;(l.pmEnd??f+1)>o&&f<c&&i.push({x:l.x,y:l.y+h,width:l.width,height:l.height,pageIndex:s});}}}return i}function Ae(n,e,a,t){for(let r=0;r<n.pages.length;r++){let o=n.pages[r],c=q(n,r);for(let i of o.fragments){if(i.kind==="paragraph"){let s=j(e,i.blockId);if(s===-1)continue;let g=e[s],h=a[s];if(!g||g.kind!=="paragraph"||!h||h.kind!=="paragraph")continue;let l=g,f=h,d=i,F=l.pmStart??0,x=l.pmEnd??F;if(t<F||t>x)continue;for(let p=d.fromLine;p<d.toLine;p++){let m=f.lines[p];if(!m)continue;let S=G(l,m);if(!(S.pmStart===void 0||S.pmEnd===void 0)&&t>=S.pmStart&&t<=S.pmEnd){let b=v(l,m,t),k=l.attrs?.indent,y=k?.left??0,R=k?.right??0,w=Math.max(0,i.width-y-R),I=_(l,m,b),T=l.attrs?.alignment??"left",M=0;T==="center"?M=Math.max(0,(w-m.width)/2):T==="right"&&(M=Math.max(0,w-m.width));let C=N(f,p)-N(f,d.fromLine);return {x:i.x+y+M+I,y:i.y+C+c,height:m.lineHeight,pageIndex:r}}}}if(i.kind==="image"){let s=i.pmStart??0,g=i.pmEnd??s+1;if(t>=s&&t<=g){let h=t===s?0:i.width;return {x:i.x+h,y:i.y+c,height:i.height,pageIndex:r}}}}}return null}function ve(n){return n.length<=1?false:new Set(n.map(a=>a.pageIndex)).size>1}function _e(n){let e=new Map;for(let a of n){let t=e.get(a.pageIndex)??[];t.push(a),e.set(a.pageIndex,t);}return e}export{Q as a,Fe as b,we as c,xe as d,Me as e,W as f,Te as g,oe as h,Ie as i,Ce as j,He as k,Ae as l,ve as m,_e as n};