@docx-editor.dev/core 2.34.0 → 2.35.0-canary.20261104032723.sha-43c2012
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.
- package/dist/automation.cjs +1 -1
- package/dist/automation.d.ts +8 -8
- package/dist/automation.js +1 -1
- package/dist/binding.cjs +1 -1
- package/dist/binding.d.ts +12 -12
- package/dist/binding.js +1 -1
- package/dist/{chrome-print-DY0xsXm_.d.ts → chrome-print-CK3v5NhC.d.ts} +11 -11
- package/dist/{chunk-ZJ74LCFI.cjs → chunk-4C7JUJDX.cjs} +1 -1
- package/dist/{chunk-NKZVMMHU.cjs → chunk-4NPNKO5U.cjs} +1 -1
- package/dist/chunk-6IYKYYWF.js +32 -0
- package/dist/{chunk-DYLB5U42.js → chunk-7ACXKFKO.js} +1 -1
- package/dist/{chunk-KCUXXO3Q.js → chunk-A5GMOQWD.js} +1 -1
- package/dist/{chunk-E5BKDHIP.cjs → chunk-AMOFXSEO.cjs} +1 -1
- package/dist/{chunk-V7CO55DO.cjs → chunk-CDAFCPT6.cjs} +2 -2
- package/dist/chunk-CU6QPXKD.js +2 -0
- package/dist/{chunk-AVCYP7OY.js → chunk-EBIMIIC3.js} +5 -5
- package/dist/chunk-ELR6HXOO.js +1 -0
- package/dist/chunk-EMITIPLN.js +4 -0
- package/dist/{chunk-IWXBRUPG.cjs → chunk-FBGZOGLU.cjs} +3 -3
- package/dist/{chunk-37IYWENL.cjs → chunk-GTICLPKS.cjs} +1 -1
- package/dist/{chunk-37RNWL45.js → chunk-I4WSXFY6.js} +2 -2
- package/dist/{chunk-VQOAC3VI.cjs → chunk-IGB66DIX.cjs} +20 -20
- package/dist/chunk-JQPTNBLT.js +236 -0
- package/dist/{chunk-5HUVQXET.cjs → chunk-JVWRILO3.cjs} +2 -2
- package/dist/{chunk-7FUORGCW.js → chunk-JZ4LO3ZZ.js} +1 -1
- package/dist/chunk-KOYEBRLV.js +1 -0
- package/dist/{chunk-DR6W23TB.cjs → chunk-KZZPOZOF.cjs} +1 -1
- package/dist/{chunk-VLQDQNSS.js → chunk-LZ64O473.js} +1 -1
- package/dist/chunk-NPWMZIPA.cjs +32 -0
- package/dist/chunk-NS2QCOAS.js +7 -0
- package/dist/chunk-O2PGRL5D.js +3 -0
- package/dist/{chunk-NEM774E3.cjs → chunk-Q4MUV5KX.cjs} +1 -1
- package/dist/chunk-TFJUIP4X.cjs +236 -0
- package/dist/{chunk-L74TCGVH.cjs → chunk-TZTKEPCC.cjs} +1 -1
- package/dist/chunk-V6FOPP2H.js +30 -0
- package/dist/chunk-XFEIUKOS.cjs +7 -0
- package/dist/{chunk-5KOLFKOB.cjs → chunk-ZF4N3N3L.cjs} +5 -5
- package/dist/collaboration/replication.cjs +1 -1
- package/dist/collaboration/replication.d.ts +11 -4
- package/dist/collaboration/replication.js +1 -1
- package/dist/collaboration.d.ts +2 -2
- package/dist/contracts/document.d.ts +2 -2
- package/dist/contracts/editor.d.ts +8 -8
- package/dist/contracts/modules.d.ts +10 -10
- package/dist/contracts/types.d.ts +3 -3
- package/dist/{custom-node-writes-DparEcZK.d.ts → custom-node-writes-BC3z8NwO.d.ts} +2 -2
- package/dist/{document-protection-DdWxihIN.d.ts → document-protection-8hXPdn5U.d.ts} +1 -1
- package/dist/{drawing-graphic-kind-CK0cMc7H.d.ts → drawing-graphic-kind-_5u2E4ee.d.ts} +2 -2
- package/dist/{drawing-preview-package-fFjXpOMS.d.ts → drawing-preview-package-JyAqL6OV.d.ts} +1 -1
- package/dist/{editor-DDCkWqfD.d.ts → editor-BGCdE3tB.d.ts} +4 -4
- package/dist/editor.cjs +1 -1
- package/dist/editor.d.ts +25 -25
- package/dist/editor.js +1 -1
- package/dist/export.cjs +2 -2
- package/dist/export.d.ts +6 -6
- package/dist/export.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +17 -17
- package/dist/index.js +1 -1
- package/dist/{layout-shaping-Byj-TwsI.d.ts → layout-shaping-D2qNes9-.d.ts} +1 -1
- package/dist/layout.cjs +1 -1
- package/dist/layout.d.ts +34 -24
- package/dist/layout.js +1 -1
- package/dist/{note-properties-BiunaIQa.d.ts → note-properties-DGPzKUuA.d.ts} +1 -1
- package/dist/output.cjs +1 -1
- package/dist/output.d.ts +10 -10
- package/dist/output.js +1 -1
- package/dist/{protocol-Dn44dL4M.d.ts → protocol-0y3iaYj9.d.ts} +2 -2
- package/dist/{review-paragraph-order-BWMXAKuA.d.ts → review-paragraph-order-DeQp2_iu.d.ts} +1 -1
- package/dist/{revision-projection-DwFhgIR0.d.ts → revision-projection-CrAv-HP6.d.ts} +1 -1
- package/dist/{semantic-cell-selection-DhalxEBH.d.ts → semantic-cell-selection-CeG_qqDV.d.ts} +2 -2
- package/dist/{semantic-interaction-QeuzEtAk.d.ts → semantic-interaction-DcE_ZsiD.d.ts} +1 -1
- package/dist/{semantic-paint-BYDZbTiY.d.ts → semantic-paint-DfeN6UQF.d.ts} +4 -4
- package/dist/{semantic-record-queries-Bf5bgQL3.d.ts → semantic-record-queries-qwd9Ict6.d.ts} +1 -1
- package/dist/{semantic-records-CzZiWMY8.d.ts → semantic-records-thL1rcmG.d.ts} +12 -5
- package/dist/store.cjs +1 -1
- package/dist/store.d.ts +12 -12
- package/dist/store.js +1 -1
- package/dist/{tree-op-types-DKvJSH8T.d.ts → tree-op-types-CGlwCQXg.d.ts} +15 -2
- package/dist/{tree-package-store-Cl3BkWXF.d.ts → tree-package-store-D0_BOm-r.d.ts} +1 -1
- package/dist/{tree-session-contract-BL50pqs8.d.ts → tree-session-contract-DkThhHjy.d.ts} +4 -4
- package/dist/{unsupported-elements-Bra4QTOM.d.ts → unsupported-elements-qj0sXi2s.d.ts} +1 -1
- package/package.json +2 -2
- package/dist/chunk-5JP3QQF7.js +0 -7
- package/dist/chunk-6MF5PN2E.js +0 -236
- package/dist/chunk-77JT2AU7.js +0 -2
- package/dist/chunk-A5BTVPET.cjs +0 -236
- package/dist/chunk-AFXFH2T2.js +0 -3
- package/dist/chunk-BL2E4QRA.js +0 -1
- package/dist/chunk-DB7X4Y6O.js +0 -4
- package/dist/chunk-KYA4Y2YB.js +0 -1
- package/dist/chunk-NBSSQSKY.js +0 -30
- package/dist/chunk-TXIO5WYQ.cjs +0 -32
- package/dist/chunk-UKG2TXWH.cjs +0 -7
- package/dist/chunk-YWJSQA2O.js +0 -32
package/dist/editor.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var chunkVQOAC3VI_cjs=require('./chunk-VQOAC3VI.cjs'),chunkV3N4SOAK_cjs=require('./chunk-V3N4SOAK.cjs'),chunkIWXBRUPG_cjs=require('./chunk-IWXBRUPG.cjs'),chunkDR6W23TB_cjs=require('./chunk-DR6W23TB.cjs'),chunkV7CO55DO_cjs=require('./chunk-V7CO55DO.cjs');require('./chunk-UKG2TXWH.cjs'),require('./chunk-ZJ74LCFI.cjs');var chunkTXIO5WYQ_cjs=require('./chunk-TXIO5WYQ.cjs');require('./chunk-5KOLFKOB.cjs'),require('./chunk-NKZVMMHU.cjs'),require('./chunk-L74TCGVH.cjs'),require('./chunk-NEM774E3.cjs'),require('./chunk-E5BKDHIP.cjs'),require('./chunk-5HUVQXET.cjs'),require('./chunk-2CWQY27B.cjs'),require('./chunk-37IYWENL.cjs');var chunkA5BTVPET_cjs=require('./chunk-A5BTVPET.cjs');require('./chunk-UKVVUHZL.cjs');Object.defineProperty(exports,"AUTO_ZOOM_MODE",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.mc}});Object.defineProperty(exports,"BROWSER_AUTOMATION_CAPABILITIES",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.sc}});Object.defineProperty(exports,"CHROME_GROUPS",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Bb}});Object.defineProperty(exports,"CHROME_MENUS",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Fb}});Object.defineProperty(exports,"CHROME_UNAVAILABLE_KEY",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Ib}});Object.defineProperty(exports,"CONTENT_CONTROL_PICTURE_ACCEPT",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Nb}});Object.defineProperty(exports,"ChromeExportError",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.kd}});Object.defineProperty(exports,"ChromePrintError",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.md}});Object.defineProperty(exports,"DEFAULT_REVIEW_PANE",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.c}});Object.defineProperty(exports,"DEFAULT_TABLE_CHROME_DRAFT",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Ba}});Object.defineProperty(exports,"DEFAULT_WATERMARK_FONT",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.ea}});Object.defineProperty(exports,"DocumentRefreshError",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.bd}});Object.defineProperty(exports,"EMU_PER_POINT",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.na}});Object.defineProperty(exports,"FIT_WIDTH_ZOOM_MODE",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.nc}});Object.defineProperty(exports,"HIGHLIGHT_REFRESH_MS",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.dd}});Object.defineProperty(exports,"IMAGE_OVERLAY_NUDGE_PT",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.wa}});Object.defineProperty(exports,"IMAGE_OVERLAY_NUDGE_SHIFT_PT",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.xa}});Object.defineProperty(exports,"LINE_SPACING_PRESETS",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs._c}});Object.defineProperty(exports,"LOADING_SNAPSHOT",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.f}});Object.defineProperty(exports,"NO_MIXED_FIELDS",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Pc}});Object.defineProperty(exports,"PX_PER_CM",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.M}});Object.defineProperty(exports,"PX_PER_INCH",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.L}});Object.defineProperty(exports,"REVIEW_MARKERS_GUTTER_PX",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.jc}});Object.defineProperty(exports,"SEARCH_DEBOUNCE_MS",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.fd}});Object.defineProperty(exports,"SEARCH_HIGHLIGHT_PRIORITY",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.id}});Object.defineProperty(exports,"SEARCH_HIGHLIGHT_SET",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.hd}});Object.defineProperty(exports,"SEARCH_MATCH_LIMIT",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.gd}});Object.defineProperty(exports,"SNAP_TWIPS_CM",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.S}});Object.defineProperty(exports,"SNAP_TWIPS_INCH",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.R}});Object.defineProperty(exports,"SPLIT_CELL_FALLBACK_MAX",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Wc}});Object.defineProperty(exports,"TABLE_BORDER_STYLE_OPTIONS",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Ha}});Object.defineProperty(exports,"TABLE_BORDER_TARGET_OPTIONS",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Ga}});Object.defineProperty(exports,"TABLE_BORDER_WIDTH_OPTIONS",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Ia}});Object.defineProperty(exports,"TABLE_CHROME_SLOT_IDS",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Ca}});Object.defineProperty(exports,"TAB_ALIGNMENT_LABELS",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Lc}});Object.defineProperty(exports,"TOOLBAR_COLLAPSE_ORDER",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.$a}});Object.defineProperty(exports,"TOOLBAR_HOST_ITEM",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.jb}});Object.defineProperty(exports,"TOOLBAR_ITEM_ATTRIBUTE",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.ib}});Object.defineProperty(exports,"TOOLBAR_OVERFLOW_HYSTERESIS",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.bb}});Object.defineProperty(exports,"TOOLBAR_PANEL_EDGE_MARGIN",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.fb}});Object.defineProperty(exports,"TOOLBAR_PINNED_GROUPS",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.ab}});Object.defineProperty(exports,"TWIPS_PER_CM",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Q}});Object.defineProperty(exports,"TWIPS_PER_INCH",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.P}});Object.defineProperty(exports,"ZOOM_MAX",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.lc}});Object.defineProperty(exports,"ZOOM_MIN",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.kc}});Object.defineProperty(exports,"alignmentAfterDirectionChange",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Tc}});Object.defineProperty(exports,"applyTableChromePick",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Ja}});Object.defineProperty(exports,"applyThemeShade",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.$}});Object.defineProperty(exports,"applyThemeTint",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs._}});Object.defineProperty(exports,"arrangeToolbarGroups",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.eb}});Object.defineProperty(exports,"barRoomWidth",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.vb}});Object.defineProperty(exports,"beginEditorPreview",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.ic}});Object.defineProperty(exports,"bindHistoryGroup",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Zc}});Object.defineProperty(exports,"blankDocumentBytes",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.h}});Object.defineProperty(exports,"bookmarkDialogInitialName",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.ud}});Object.defineProperty(exports,"bookmarkDialogNameState",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.vd}});Object.defineProperty(exports,"bookmarkDialogRows",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.pd}});Object.defineProperty(exports,"calendarDateForKey",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Vb}});Object.defineProperty(exports,"calendarDateFromText",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Xb}});Object.defineProperty(exports,"calendarDateText",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Wb}});Object.defineProperty(exports,"calendarMonth",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Tb}});Object.defineProperty(exports,"calendarMonthNames",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Yb}});Object.defineProperty(exports,"calendarMonthTitle",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Rb}});Object.defineProperty(exports,"calendarWeekdays",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Sb}});Object.defineProperty(exports,"canExecuteImageCommand",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.ua}});Object.defineProperty(exports,"captureImageMutationPreconditions",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.ta}});Object.defineProperty(exports,"changedFields",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Sc}});Object.defineProperty(exports,"chordLetter",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.zb}});Object.defineProperty(exports,"chromeControlCount",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Hb}});Object.defineProperty(exports,"chromeMenuSlots",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Gb}});Object.defineProperty(exports,"chromeProbeForSlot",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Na}});Object.defineProperty(exports,"chromeSlotId",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Cb}});Object.defineProperty(exports,"chromeSlotIsToggle",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Ta}});Object.defineProperty(exports,"clipboardDropLandsText",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.C}});Object.defineProperty(exports,"clipboardPasteLandsContent",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.B}});Object.defineProperty(exports,"collapseOrder",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.db}});Object.defineProperty(exports,"commandExecOptions",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Y}});Object.defineProperty(exports,"commandForSlot",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Oa}});Object.defineProperty(exports,"commandForSlotValue",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Qa}});Object.defineProperty(exports,"commandForTableChromeSlotValue",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Pa}});Object.defineProperty(exports,"computeImageResizeResult",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Fc}});Object.defineProperty(exports,"computeMovedImagePosition",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.ra}});Object.defineProperty(exports,"computeResizedImageExtentEmu",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.qa}});Object.defineProperty(exports,"contentControlPopupKeyDown",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Lb}});Object.defineProperty(exports,"contentControlPopupOpener",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Mb}});Object.defineProperty(exports,"controlsOverflow",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.wb}});Object.defineProperty(exports,"copyEditorStyles",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.E}});Object.defineProperty(exports,"createBrowserAutomationHost",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.tc}});Object.defineProperty(exports,"createContentControlListNavigation",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Zb}});Object.defineProperty(exports,"createDocumentRefresh",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.cd}});Object.defineProperty(exports,"createDocumentSearch",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.jd}});Object.defineProperty(exports,"createDocxEditor",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.rc}});Object.defineProperty(exports,"createFontSource",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.J}});Object.defineProperty(exports,"createImageOverlayScrollPort",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Gc}});Object.defineProperty(exports,"createLayoutShaping",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.b}});Object.defineProperty(exports,"cropPercentFromCropPermille",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.la}});Object.defineProperty(exports,"cropPercentFromPermille",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.ja}});Object.defineProperty(exports,"cropPercentFromSourceCrop",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.ga}});Object.defineProperty(exports,"cropPermilleFromCropPercent",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.ka}});Object.defineProperty(exports,"cropPermilleFromPercent",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.ia}});Object.defineProperty(exports,"cssPixelsToLayoutPoints",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Bc}});Object.defineProperty(exports,"customFonts",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.K}});Object.defineProperty(exports,"defaultChromeGroups",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Db}});Object.defineProperty(exports,"defaultTableLabel",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Da}});Object.defineProperty(exports,"deferFonts",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.g}});Object.defineProperty(exports,"dragIndent",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.V}});Object.defineProperty(exports,"drawingPreviewDocx",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.xd}});Object.defineProperty(exports,"editorCommandKey",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs._a}});Object.defineProperty(exports,"editorHostDocument",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.l}});Object.defineProperty(exports,"editorHostElement",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.k}});Object.defineProperty(exports,"editorHostWindow",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.m}});Object.defineProperty(exports,"editorInstanceScope",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.uc}});Object.defineProperty(exports,"editorPreviewActive",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.hc}});Object.defineProperty(exports,"emuToOverlayPoints",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.pa}});Object.defineProperty(exports,"equationAtPosition",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.ac}});Object.defineProperty(exports,"executeImageCommand",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.va}});Object.defineProperty(exports,"finalizeImageOverlayInteraction",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Hc}});Object.defineProperty(exports,"firstDayOfWeek",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Qb}});Object.defineProperty(exports,"formatInches",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Jc}});Object.defineProperty(exports,"formattingBarChromeGroups",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Eb}});Object.defineProperty(exports,"generateRulerTicks",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.N}});Object.defineProperty(exports,"goToBookmarkGroups",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.td}});Object.defineProperty(exports,"goToBookmarkMatch",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.sd}});Object.defineProperty(exports,"goToBookmarkRows",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.qd}});Object.defineProperty(exports,"goToBookmarkTarget",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.rd}});Object.defineProperty(exports,"handlePosition",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.T}});Object.defineProperty(exports,"hasOpenNestedPopup",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.wc}});Object.defineProperty(exports,"historyShortcutOf",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.$b}});Object.defineProperty(exports,"hostDirectionOf",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.z}});Object.defineProperty(exports,"hostDocumentOf",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.i}});Object.defineProperty(exports,"hostTimers",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.r}});Object.defineProperty(exports,"hostWindowOf",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.j}});Object.defineProperty(exports,"inchesToTwips",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Kc}});Object.defineProperty(exports,"initialSplitCellCounts",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Yc}});Object.defineProperty(exports,"isChromePrintShortcut",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.nd}});Object.defineProperty(exports,"isDomNode",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.q}});Object.defineProperty(exports,"isElementNode",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.n}});Object.defineProperty(exports,"isGoToChord",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Ab}});Object.defineProperty(exports,"isHTMLElementNode",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.o}});Object.defineProperty(exports,"isInputEvent",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.v}});Object.defineProperty(exports,"isKeyboardEvent",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.s}});Object.defineProperty(exports,"isMouseEvent",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.u}});Object.defineProperty(exports,"isPointerEvent",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.t}});Object.defineProperty(exports,"isStaleImageInteractionCommit",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.za}});Object.defineProperty(exports,"isTableChromeSlot",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Ea}});Object.defineProperty(exports,"isTextNode",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.p}});Object.defineProperty(exports,"isoDateOf",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Ob}});Object.defineProperty(exports,"keepScrollAtInlineEnd",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.w}});Object.defineProperty(exports,"layoutPointsToCssPixels",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Ac}});Object.defineProperty(exports,"lineSpacingMenuRowLabel",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.ad}});Object.defineProperty(exports,"lineSpacingMenuRows",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.$c}});Object.defineProperty(exports,"listenForOutsidePress",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.yc}});Object.defineProperty(exports,"listenForPopupEscape",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.vc}});Object.defineProperty(exports,"listenForPopupFocusLeave",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.xc}});Object.defineProperty(exports,"loadFonts",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.I}});Object.defineProperty(exports,"lowerColorValueForBorder",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.ba}});Object.defineProperty(exports,"lowerColorValueForFill",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.ca}});Object.defineProperty(exports,"mixedFieldsOf",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Qc}});Object.defineProperty(exports,"mountPaginatedSurface",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.bc}});Object.defineProperty(exports,"observeContentControlPopup",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Kb}});Object.defineProperty(exports,"observeHostDirection",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.A}});Object.defineProperty(exports,"openEditorWindow",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.D}});Object.defineProperty(exports,"overlayFrameToSheetCssPixels",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Cc}});Object.defineProperty(exports,"overlayHostOrigin",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Dc}});Object.defineProperty(exports,"parseIsoDate",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Pb}});Object.defineProperty(exports,"partOfNodeId",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.H}});Object.defineProperty(exports,"placeSubmenu",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.x}});Object.defineProperty(exports,"pointsToEmu",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.oa}});Object.defineProperty(exports,"positionContentControlPopup",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Jb}});Object.defineProperty(exports,"probeTableChromeCommand",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Ka}});Object.defineProperty(exports,"readAvailableWidth",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.xb}});Object.defineProperty(exports,"readColumnGap",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.ub}});Object.defineProperty(exports,"readInlineMargins",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.tb}});Object.defineProperty(exports,"readSplitCellCounts",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Xc}});Object.defineProperty(exports,"readToolbarRow",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.yb}});Object.defineProperty(exports,"reportAutomationException",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.gc}});Object.defineProperty(exports,"reportAutomationRefusal",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.ec}});Object.defineProperty(exports,"reportAutomationReviewSkip",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.fc}});Object.defineProperty(exports,"resizePreservesAspect",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Ec}});Object.defineProperty(exports,"resolveColorValueToCss",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.da}});Object.defineProperty(exports,"resolveReviewPane",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.d}});Object.defineProperty(exports,"resolveThemeColorHex",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.aa}});Object.defineProperty(exports,"resolveZoomMode",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.oc}});Object.defineProperty(exports,"reviewPaneEntitledZoom",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.qc}});Object.defineProperty(exports,"reviewPaneListsItem",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.e}});Object.defineProperty(exports,"rulerMarginTicks",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.X}});Object.defineProperty(exports,"rulerPageBox",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.O}});Object.defineProperty(exports,"rulerTabPosition",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.W}});Object.defineProperty(exports,"runChromeExport",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.ld}});Object.defineProperty(exports,"runChromePrint",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.od}});Object.defineProperty(exports,"runSave",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Xa}});Object.defineProperty(exports,"runTableChromeCommand",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Va}});Object.defineProperty(exports,"runTableCommand",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Za}});Object.defineProperty(exports,"runToolbarCommand",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Wa}});Object.defineProperty(exports,"sameItemOverflow",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.pb}});Object.defineProperty(exports,"sameTabStops",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Rc}});Object.defineProperty(exports,"sameZoomMode",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.pc}});Object.defineProperty(exports,"seedFields",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Oc}});Object.defineProperty(exports,"selectedDrawingOverlayTargetOf",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.ya}});Object.defineProperty(exports,"selectedImageStateOf",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.sa}});Object.defineProperty(exports,"separatorLeadingCost",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.rb}});Object.defineProperty(exports,"shiftMonth",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Ub}});Object.defineProperty(exports,"signedFirstLineOf",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Nc}});Object.defineProperty(exports,"snapTwips",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.U}});Object.defineProperty(exports,"sourceCropFromCropPercent",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.ha}});Object.defineProperty(exports,"specialOf",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Mc}});Object.defineProperty(exports,"storyLabelTop",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.F}});Object.defineProperty(exports,"submenuKeys",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.y}});Object.defineProperty(exports,"surfaceExtent",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs._b}});Object.defineProperty(exports,"surfacePaintScale",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.zc}});Object.defineProperty(exports,"tableChromeIconPaths",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Ma}});Object.defineProperty(exports,"tableChromeLabelKeyForTarget",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.La}});Object.defineProperty(exports,"tableChromeToolbarState",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Ra}});Object.defineProperty(exports,"tableChromeVisible",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Fa}});Object.defineProperty(exports,"tableCommandState",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Aa}});Object.defineProperty(exports,"tableCommandToolbarState",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Ya}});Object.defineProperty(exports,"textboxFrameReason",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.G}});Object.defineProperty(exports,"toEditorFontError",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.a}});Object.defineProperty(exports,"toolbarCommandState",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Sa}});Object.defineProperty(exports,"toolbarCommandStates",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Ua}});Object.defineProperty(exports,"toolbarGroupItems",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.mb}});Object.defineProperty(exports,"toolbarGroupPriority",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.cb}});Object.defineProperty(exports,"toolbarGroupsKey",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.lb}});Object.defineProperty(exports,"toolbarHostPanelShown",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.nb}});Object.defineProperty(exports,"toolbarItemKey",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.kb}});Object.defineProperty(exports,"toolbarOverflowItems",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.qb}});Object.defineProperty(exports,"toolbarPanelPlacement",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.gb}});Object.defineProperty(exports,"toolbarPopupLeft",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.hb}});Object.defineProperty(exports,"toolbarShownCount",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.ob}});Object.defineProperty(exports,"trailingGapCost",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.sb}});Object.defineProperty(exports,"trapTabWithin",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Vc}});Object.defineProperty(exports,"twipsToInches",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Ic}});Object.defineProperty(exports,"unsupportedElementRuleMatches",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.wd}});Object.defineProperty(exports,"validateImageCropPercent",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.ma}});Object.defineProperty(exports,"validateThemeModifier",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Z}});Object.defineProperty(exports,"watchHighlights",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.ed}});Object.defineProperty(exports,"watermarkShapeBox",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.fa}});Object.defineProperty(exports,"withTabStop",{enumerable:true,get:function(){return chunkVQOAC3VI_cjs.Uc}});Object.defineProperty(exports,"resolveEditorModules",{enumerable:true,get:function(){return chunkV3N4SOAK_cjs.a}});Object.defineProperty(exports,"observeUnsupportedElements",{enumerable:true,get:function(){return chunkIWXBRUPG_cjs.c}});Object.defineProperty(exports,"DEFAULT_FONT",{enumerable:true,get:function(){return chunkDR6W23TB_cjs.d}});Object.defineProperty(exports,"FONT_RESOLVER_BRAND",{enumerable:true,get:function(){return chunkDR6W23TB_cjs.n}});Object.defineProperty(exports,"FONT_RESOLVER_MARK_KEY",{enumerable:true,get:function(){return chunkDR6W23TB_cjs.m}});Object.defineProperty(exports,"MAX_RESOLVER_FAMILIES",{enumerable:true,get:function(){return chunkDR6W23TB_cjs.c}});Object.defineProperty(exports,"WORD_DEFAULT_FONT",{enumerable:true,get:function(){return chunkDR6W23TB_cjs.e}});Object.defineProperty(exports,"composeFontConfiguration",{enumerable:true,get:function(){return chunkDR6W23TB_cjs.f}});Object.defineProperty(exports,"composeFontOrigins",{enumerable:true,get:function(){return chunkDR6W23TB_cjs.s}});Object.defineProperty(exports,"defineFontResolver",{enumerable:true,get:function(){return chunkDR6W23TB_cjs.o}});Object.defineProperty(exports,"isFontResolver",{enumerable:true,get:function(){return chunkDR6W23TB_cjs.p}});Object.defineProperty(exports,"disposeLayoutShaping",{enumerable:true,get:function(){return chunkV7CO55DO_cjs.u}});Object.defineProperty(exports,"DEFAULT_REVISION_MARKUP",{enumerable:true,get:function(){return chunkTXIO5WYQ_cjs.gb}});Object.defineProperty(exports,"REVISION_MARKUP_COLORS",{enumerable:true,get:function(){return chunkTXIO5WYQ_cjs.fb}});Object.defineProperty(exports,"resolveRevisionMarkup",{enumerable:true,get:function(){return chunkTXIO5WYQ_cjs.hb}});Object.defineProperty(exports,"DEFAULT_IMAGE_RESOURCE_LIMITS",{enumerable:true,get:function(){return chunkA5BTVPET_cjs.r}});Object.defineProperty(exports,"DRAWING_REL_FROM_H",{enumerable:true,get:function(){return chunkA5BTVPET_cjs.en}});Object.defineProperty(exports,"DRAWING_REL_FROM_V",{enumerable:true,get:function(){return chunkA5BTVPET_cjs.fn}});Object.defineProperty(exports,"IMAGE_WRAP_TARGETS",{enumerable:true,get:function(){return chunkA5BTVPET_cjs.Je}});Object.defineProperty(exports,"TEXT_FORM_FORMATS",{enumerable:true,get:function(){return chunkA5BTVPET_cjs.Ak}});Object.defineProperty(exports,"positionInputFromPropertiesCommand",{enumerable:true,get:function(){return chunkA5BTVPET_cjs.hn}});Object.defineProperty(exports,"propertiesCommandHasPositionFields",{enumerable:true,get:function(){return chunkA5BTVPET_cjs.gn}});Object.defineProperty(exports,"resolveImageResourceLimits",{enumerable:true,get:function(){return chunkA5BTVPET_cjs.s}});Object.defineProperty(exports,"resolveSvgIntrinsicSize",{enumerable:true,get:function(){return chunkA5BTVPET_cjs.Nf}});Object.defineProperty(exports,"sniffImageMime",{enumerable:true,get:function(){return chunkA5BTVPET_cjs.Jf}});Object.defineProperty(exports,"validateDrawingPositionInput",{enumerable:true,get:function(){return chunkA5BTVPET_cjs.dn}});Object.defineProperty(exports,"validateRasterHeader",{enumerable:true,get:function(){return chunkA5BTVPET_cjs.Of}});Object.defineProperty(exports,"validateSetImagePositionCommand",{enumerable:true,get:function(){return chunkA5BTVPET_cjs.in}});
|
|
1
|
+
'use strict';var chunkIGB66DIX_cjs=require('./chunk-IGB66DIX.cjs'),chunkV3N4SOAK_cjs=require('./chunk-V3N4SOAK.cjs'),chunkFBGZOGLU_cjs=require('./chunk-FBGZOGLU.cjs'),chunkKZZPOZOF_cjs=require('./chunk-KZZPOZOF.cjs'),chunkCDAFCPT6_cjs=require('./chunk-CDAFCPT6.cjs');require('./chunk-XFEIUKOS.cjs'),require('./chunk-4C7JUJDX.cjs');var chunkNPWMZIPA_cjs=require('./chunk-NPWMZIPA.cjs');require('./chunk-ZF4N3N3L.cjs'),require('./chunk-4NPNKO5U.cjs'),require('./chunk-TZTKEPCC.cjs'),require('./chunk-Q4MUV5KX.cjs'),require('./chunk-AMOFXSEO.cjs'),require('./chunk-JVWRILO3.cjs'),require('./chunk-2CWQY27B.cjs'),require('./chunk-GTICLPKS.cjs');var chunkTFJUIP4X_cjs=require('./chunk-TFJUIP4X.cjs');require('./chunk-UKVVUHZL.cjs');Object.defineProperty(exports,"AUTO_ZOOM_MODE",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.mc}});Object.defineProperty(exports,"BROWSER_AUTOMATION_CAPABILITIES",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.sc}});Object.defineProperty(exports,"CHROME_GROUPS",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Bb}});Object.defineProperty(exports,"CHROME_MENUS",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Fb}});Object.defineProperty(exports,"CHROME_UNAVAILABLE_KEY",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Ib}});Object.defineProperty(exports,"CONTENT_CONTROL_PICTURE_ACCEPT",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Nb}});Object.defineProperty(exports,"ChromeExportError",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.kd}});Object.defineProperty(exports,"ChromePrintError",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.md}});Object.defineProperty(exports,"DEFAULT_REVIEW_PANE",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.c}});Object.defineProperty(exports,"DEFAULT_TABLE_CHROME_DRAFT",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Ba}});Object.defineProperty(exports,"DEFAULT_WATERMARK_FONT",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.ea}});Object.defineProperty(exports,"DocumentRefreshError",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.bd}});Object.defineProperty(exports,"EMU_PER_POINT",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.na}});Object.defineProperty(exports,"FIT_WIDTH_ZOOM_MODE",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.nc}});Object.defineProperty(exports,"HIGHLIGHT_REFRESH_MS",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.dd}});Object.defineProperty(exports,"IMAGE_OVERLAY_NUDGE_PT",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.wa}});Object.defineProperty(exports,"IMAGE_OVERLAY_NUDGE_SHIFT_PT",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.xa}});Object.defineProperty(exports,"LINE_SPACING_PRESETS",{enumerable:true,get:function(){return chunkIGB66DIX_cjs._c}});Object.defineProperty(exports,"LOADING_SNAPSHOT",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.f}});Object.defineProperty(exports,"NO_MIXED_FIELDS",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Pc}});Object.defineProperty(exports,"PX_PER_CM",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.M}});Object.defineProperty(exports,"PX_PER_INCH",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.L}});Object.defineProperty(exports,"REVIEW_MARKERS_GUTTER_PX",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.jc}});Object.defineProperty(exports,"SEARCH_DEBOUNCE_MS",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.fd}});Object.defineProperty(exports,"SEARCH_HIGHLIGHT_PRIORITY",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.id}});Object.defineProperty(exports,"SEARCH_HIGHLIGHT_SET",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.hd}});Object.defineProperty(exports,"SEARCH_MATCH_LIMIT",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.gd}});Object.defineProperty(exports,"SNAP_TWIPS_CM",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.S}});Object.defineProperty(exports,"SNAP_TWIPS_INCH",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.R}});Object.defineProperty(exports,"SPLIT_CELL_FALLBACK_MAX",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Wc}});Object.defineProperty(exports,"TABLE_BORDER_STYLE_OPTIONS",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Ha}});Object.defineProperty(exports,"TABLE_BORDER_TARGET_OPTIONS",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Ga}});Object.defineProperty(exports,"TABLE_BORDER_WIDTH_OPTIONS",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Ia}});Object.defineProperty(exports,"TABLE_CHROME_SLOT_IDS",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Ca}});Object.defineProperty(exports,"TAB_ALIGNMENT_LABELS",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Lc}});Object.defineProperty(exports,"TOOLBAR_COLLAPSE_ORDER",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.$a}});Object.defineProperty(exports,"TOOLBAR_HOST_ITEM",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.jb}});Object.defineProperty(exports,"TOOLBAR_ITEM_ATTRIBUTE",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.ib}});Object.defineProperty(exports,"TOOLBAR_OVERFLOW_HYSTERESIS",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.bb}});Object.defineProperty(exports,"TOOLBAR_PANEL_EDGE_MARGIN",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.fb}});Object.defineProperty(exports,"TOOLBAR_PINNED_GROUPS",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.ab}});Object.defineProperty(exports,"TWIPS_PER_CM",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Q}});Object.defineProperty(exports,"TWIPS_PER_INCH",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.P}});Object.defineProperty(exports,"ZOOM_MAX",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.lc}});Object.defineProperty(exports,"ZOOM_MIN",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.kc}});Object.defineProperty(exports,"alignmentAfterDirectionChange",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Tc}});Object.defineProperty(exports,"applyTableChromePick",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Ja}});Object.defineProperty(exports,"applyThemeShade",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.$}});Object.defineProperty(exports,"applyThemeTint",{enumerable:true,get:function(){return chunkIGB66DIX_cjs._}});Object.defineProperty(exports,"arrangeToolbarGroups",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.eb}});Object.defineProperty(exports,"barRoomWidth",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.vb}});Object.defineProperty(exports,"beginEditorPreview",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.ic}});Object.defineProperty(exports,"bindHistoryGroup",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Zc}});Object.defineProperty(exports,"blankDocumentBytes",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.h}});Object.defineProperty(exports,"bookmarkDialogInitialName",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.ud}});Object.defineProperty(exports,"bookmarkDialogNameState",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.vd}});Object.defineProperty(exports,"bookmarkDialogRows",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.pd}});Object.defineProperty(exports,"calendarDateForKey",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Vb}});Object.defineProperty(exports,"calendarDateFromText",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Xb}});Object.defineProperty(exports,"calendarDateText",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Wb}});Object.defineProperty(exports,"calendarMonth",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Tb}});Object.defineProperty(exports,"calendarMonthNames",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Yb}});Object.defineProperty(exports,"calendarMonthTitle",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Rb}});Object.defineProperty(exports,"calendarWeekdays",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Sb}});Object.defineProperty(exports,"canExecuteImageCommand",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.ua}});Object.defineProperty(exports,"captureImageMutationPreconditions",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.ta}});Object.defineProperty(exports,"changedFields",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Sc}});Object.defineProperty(exports,"chordLetter",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.zb}});Object.defineProperty(exports,"chromeControlCount",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Hb}});Object.defineProperty(exports,"chromeMenuSlots",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Gb}});Object.defineProperty(exports,"chromeProbeForSlot",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Na}});Object.defineProperty(exports,"chromeSlotId",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Cb}});Object.defineProperty(exports,"chromeSlotIsToggle",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Ta}});Object.defineProperty(exports,"clipboardDropLandsText",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.C}});Object.defineProperty(exports,"clipboardPasteLandsContent",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.B}});Object.defineProperty(exports,"collapseOrder",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.db}});Object.defineProperty(exports,"commandExecOptions",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Y}});Object.defineProperty(exports,"commandForSlot",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Oa}});Object.defineProperty(exports,"commandForSlotValue",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Qa}});Object.defineProperty(exports,"commandForTableChromeSlotValue",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Pa}});Object.defineProperty(exports,"computeImageResizeResult",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Fc}});Object.defineProperty(exports,"computeMovedImagePosition",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.ra}});Object.defineProperty(exports,"computeResizedImageExtentEmu",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.qa}});Object.defineProperty(exports,"contentControlPopupKeyDown",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Lb}});Object.defineProperty(exports,"contentControlPopupOpener",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Mb}});Object.defineProperty(exports,"controlsOverflow",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.wb}});Object.defineProperty(exports,"copyEditorStyles",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.E}});Object.defineProperty(exports,"createBrowserAutomationHost",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.tc}});Object.defineProperty(exports,"createContentControlListNavigation",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Zb}});Object.defineProperty(exports,"createDocumentRefresh",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.cd}});Object.defineProperty(exports,"createDocumentSearch",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.jd}});Object.defineProperty(exports,"createDocxEditor",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.rc}});Object.defineProperty(exports,"createFontSource",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.J}});Object.defineProperty(exports,"createImageOverlayScrollPort",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Gc}});Object.defineProperty(exports,"createLayoutShaping",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.b}});Object.defineProperty(exports,"cropPercentFromCropPermille",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.la}});Object.defineProperty(exports,"cropPercentFromPermille",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.ja}});Object.defineProperty(exports,"cropPercentFromSourceCrop",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.ga}});Object.defineProperty(exports,"cropPermilleFromCropPercent",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.ka}});Object.defineProperty(exports,"cropPermilleFromPercent",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.ia}});Object.defineProperty(exports,"cssPixelsToLayoutPoints",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Bc}});Object.defineProperty(exports,"customFonts",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.K}});Object.defineProperty(exports,"defaultChromeGroups",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Db}});Object.defineProperty(exports,"defaultTableLabel",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Da}});Object.defineProperty(exports,"deferFonts",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.g}});Object.defineProperty(exports,"dragIndent",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.V}});Object.defineProperty(exports,"drawingPreviewDocx",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.xd}});Object.defineProperty(exports,"editorCommandKey",{enumerable:true,get:function(){return chunkIGB66DIX_cjs._a}});Object.defineProperty(exports,"editorHostDocument",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.l}});Object.defineProperty(exports,"editorHostElement",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.k}});Object.defineProperty(exports,"editorHostWindow",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.m}});Object.defineProperty(exports,"editorInstanceScope",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.uc}});Object.defineProperty(exports,"editorPreviewActive",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.hc}});Object.defineProperty(exports,"emuToOverlayPoints",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.pa}});Object.defineProperty(exports,"equationAtPosition",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.ac}});Object.defineProperty(exports,"executeImageCommand",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.va}});Object.defineProperty(exports,"finalizeImageOverlayInteraction",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Hc}});Object.defineProperty(exports,"firstDayOfWeek",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Qb}});Object.defineProperty(exports,"formatInches",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Jc}});Object.defineProperty(exports,"formattingBarChromeGroups",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Eb}});Object.defineProperty(exports,"generateRulerTicks",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.N}});Object.defineProperty(exports,"goToBookmarkGroups",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.td}});Object.defineProperty(exports,"goToBookmarkMatch",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.sd}});Object.defineProperty(exports,"goToBookmarkRows",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.qd}});Object.defineProperty(exports,"goToBookmarkTarget",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.rd}});Object.defineProperty(exports,"handlePosition",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.T}});Object.defineProperty(exports,"hasOpenNestedPopup",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.wc}});Object.defineProperty(exports,"historyShortcutOf",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.$b}});Object.defineProperty(exports,"hostDirectionOf",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.z}});Object.defineProperty(exports,"hostDocumentOf",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.i}});Object.defineProperty(exports,"hostTimers",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.r}});Object.defineProperty(exports,"hostWindowOf",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.j}});Object.defineProperty(exports,"inchesToTwips",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Kc}});Object.defineProperty(exports,"initialSplitCellCounts",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Yc}});Object.defineProperty(exports,"isChromePrintShortcut",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.nd}});Object.defineProperty(exports,"isDomNode",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.q}});Object.defineProperty(exports,"isElementNode",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.n}});Object.defineProperty(exports,"isGoToChord",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Ab}});Object.defineProperty(exports,"isHTMLElementNode",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.o}});Object.defineProperty(exports,"isInputEvent",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.v}});Object.defineProperty(exports,"isKeyboardEvent",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.s}});Object.defineProperty(exports,"isMouseEvent",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.u}});Object.defineProperty(exports,"isPointerEvent",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.t}});Object.defineProperty(exports,"isStaleImageInteractionCommit",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.za}});Object.defineProperty(exports,"isTableChromeSlot",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Ea}});Object.defineProperty(exports,"isTextNode",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.p}});Object.defineProperty(exports,"isoDateOf",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Ob}});Object.defineProperty(exports,"keepScrollAtInlineEnd",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.w}});Object.defineProperty(exports,"layoutPointsToCssPixels",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Ac}});Object.defineProperty(exports,"lineSpacingMenuRowLabel",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.ad}});Object.defineProperty(exports,"lineSpacingMenuRows",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.$c}});Object.defineProperty(exports,"listenForOutsidePress",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.yc}});Object.defineProperty(exports,"listenForPopupEscape",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.vc}});Object.defineProperty(exports,"listenForPopupFocusLeave",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.xc}});Object.defineProperty(exports,"loadFonts",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.I}});Object.defineProperty(exports,"lowerColorValueForBorder",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.ba}});Object.defineProperty(exports,"lowerColorValueForFill",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.ca}});Object.defineProperty(exports,"mixedFieldsOf",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Qc}});Object.defineProperty(exports,"mountPaginatedSurface",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.bc}});Object.defineProperty(exports,"observeContentControlPopup",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Kb}});Object.defineProperty(exports,"observeHostDirection",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.A}});Object.defineProperty(exports,"openEditorWindow",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.D}});Object.defineProperty(exports,"overlayFrameToSheetCssPixels",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Cc}});Object.defineProperty(exports,"overlayHostOrigin",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Dc}});Object.defineProperty(exports,"parseIsoDate",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Pb}});Object.defineProperty(exports,"partOfNodeId",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.H}});Object.defineProperty(exports,"placeSubmenu",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.x}});Object.defineProperty(exports,"pointsToEmu",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.oa}});Object.defineProperty(exports,"positionContentControlPopup",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Jb}});Object.defineProperty(exports,"probeTableChromeCommand",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Ka}});Object.defineProperty(exports,"readAvailableWidth",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.xb}});Object.defineProperty(exports,"readColumnGap",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.ub}});Object.defineProperty(exports,"readInlineMargins",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.tb}});Object.defineProperty(exports,"readSplitCellCounts",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Xc}});Object.defineProperty(exports,"readToolbarRow",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.yb}});Object.defineProperty(exports,"reportAutomationException",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.gc}});Object.defineProperty(exports,"reportAutomationRefusal",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.ec}});Object.defineProperty(exports,"reportAutomationReviewSkip",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.fc}});Object.defineProperty(exports,"resizePreservesAspect",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Ec}});Object.defineProperty(exports,"resolveColorValueToCss",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.da}});Object.defineProperty(exports,"resolveReviewPane",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.d}});Object.defineProperty(exports,"resolveThemeColorHex",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.aa}});Object.defineProperty(exports,"resolveZoomMode",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.oc}});Object.defineProperty(exports,"reviewPaneEntitledZoom",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.qc}});Object.defineProperty(exports,"reviewPaneListsItem",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.e}});Object.defineProperty(exports,"rulerMarginTicks",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.X}});Object.defineProperty(exports,"rulerPageBox",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.O}});Object.defineProperty(exports,"rulerTabPosition",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.W}});Object.defineProperty(exports,"runChromeExport",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.ld}});Object.defineProperty(exports,"runChromePrint",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.od}});Object.defineProperty(exports,"runSave",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Xa}});Object.defineProperty(exports,"runTableChromeCommand",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Va}});Object.defineProperty(exports,"runTableCommand",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Za}});Object.defineProperty(exports,"runToolbarCommand",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Wa}});Object.defineProperty(exports,"sameItemOverflow",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.pb}});Object.defineProperty(exports,"sameTabStops",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Rc}});Object.defineProperty(exports,"sameZoomMode",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.pc}});Object.defineProperty(exports,"seedFields",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Oc}});Object.defineProperty(exports,"selectedDrawingOverlayTargetOf",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.ya}});Object.defineProperty(exports,"selectedImageStateOf",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.sa}});Object.defineProperty(exports,"separatorLeadingCost",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.rb}});Object.defineProperty(exports,"shiftMonth",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Ub}});Object.defineProperty(exports,"signedFirstLineOf",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Nc}});Object.defineProperty(exports,"snapTwips",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.U}});Object.defineProperty(exports,"sourceCropFromCropPercent",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.ha}});Object.defineProperty(exports,"specialOf",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Mc}});Object.defineProperty(exports,"storyLabelTop",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.F}});Object.defineProperty(exports,"submenuKeys",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.y}});Object.defineProperty(exports,"surfaceExtent",{enumerable:true,get:function(){return chunkIGB66DIX_cjs._b}});Object.defineProperty(exports,"surfacePaintScale",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.zc}});Object.defineProperty(exports,"tableChromeIconPaths",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Ma}});Object.defineProperty(exports,"tableChromeLabelKeyForTarget",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.La}});Object.defineProperty(exports,"tableChromeToolbarState",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Ra}});Object.defineProperty(exports,"tableChromeVisible",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Fa}});Object.defineProperty(exports,"tableCommandState",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Aa}});Object.defineProperty(exports,"tableCommandToolbarState",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Ya}});Object.defineProperty(exports,"textboxFrameReason",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.G}});Object.defineProperty(exports,"toEditorFontError",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.a}});Object.defineProperty(exports,"toolbarCommandState",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Sa}});Object.defineProperty(exports,"toolbarCommandStates",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Ua}});Object.defineProperty(exports,"toolbarGroupItems",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.mb}});Object.defineProperty(exports,"toolbarGroupPriority",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.cb}});Object.defineProperty(exports,"toolbarGroupsKey",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.lb}});Object.defineProperty(exports,"toolbarHostPanelShown",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.nb}});Object.defineProperty(exports,"toolbarItemKey",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.kb}});Object.defineProperty(exports,"toolbarOverflowItems",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.qb}});Object.defineProperty(exports,"toolbarPanelPlacement",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.gb}});Object.defineProperty(exports,"toolbarPopupLeft",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.hb}});Object.defineProperty(exports,"toolbarShownCount",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.ob}});Object.defineProperty(exports,"trailingGapCost",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.sb}});Object.defineProperty(exports,"trapTabWithin",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Vc}});Object.defineProperty(exports,"twipsToInches",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Ic}});Object.defineProperty(exports,"unsupportedElementRuleMatches",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.wd}});Object.defineProperty(exports,"validateImageCropPercent",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.ma}});Object.defineProperty(exports,"validateThemeModifier",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Z}});Object.defineProperty(exports,"watchHighlights",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.ed}});Object.defineProperty(exports,"watermarkShapeBox",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.fa}});Object.defineProperty(exports,"withTabStop",{enumerable:true,get:function(){return chunkIGB66DIX_cjs.Uc}});Object.defineProperty(exports,"resolveEditorModules",{enumerable:true,get:function(){return chunkV3N4SOAK_cjs.a}});Object.defineProperty(exports,"observeUnsupportedElements",{enumerable:true,get:function(){return chunkFBGZOGLU_cjs.c}});Object.defineProperty(exports,"DEFAULT_FONT",{enumerable:true,get:function(){return chunkKZZPOZOF_cjs.d}});Object.defineProperty(exports,"FONT_RESOLVER_BRAND",{enumerable:true,get:function(){return chunkKZZPOZOF_cjs.n}});Object.defineProperty(exports,"FONT_RESOLVER_MARK_KEY",{enumerable:true,get:function(){return chunkKZZPOZOF_cjs.m}});Object.defineProperty(exports,"MAX_RESOLVER_FAMILIES",{enumerable:true,get:function(){return chunkKZZPOZOF_cjs.c}});Object.defineProperty(exports,"WORD_DEFAULT_FONT",{enumerable:true,get:function(){return chunkKZZPOZOF_cjs.e}});Object.defineProperty(exports,"composeFontConfiguration",{enumerable:true,get:function(){return chunkKZZPOZOF_cjs.f}});Object.defineProperty(exports,"composeFontOrigins",{enumerable:true,get:function(){return chunkKZZPOZOF_cjs.s}});Object.defineProperty(exports,"defineFontResolver",{enumerable:true,get:function(){return chunkKZZPOZOF_cjs.o}});Object.defineProperty(exports,"isFontResolver",{enumerable:true,get:function(){return chunkKZZPOZOF_cjs.p}});Object.defineProperty(exports,"disposeLayoutShaping",{enumerable:true,get:function(){return chunkCDAFCPT6_cjs.u}});Object.defineProperty(exports,"DEFAULT_REVISION_MARKUP",{enumerable:true,get:function(){return chunkNPWMZIPA_cjs.gb}});Object.defineProperty(exports,"REVISION_MARKUP_COLORS",{enumerable:true,get:function(){return chunkNPWMZIPA_cjs.fb}});Object.defineProperty(exports,"resolveRevisionMarkup",{enumerable:true,get:function(){return chunkNPWMZIPA_cjs.hb}});Object.defineProperty(exports,"DEFAULT_IMAGE_RESOURCE_LIMITS",{enumerable:true,get:function(){return chunkTFJUIP4X_cjs.r}});Object.defineProperty(exports,"DRAWING_REL_FROM_H",{enumerable:true,get:function(){return chunkTFJUIP4X_cjs.hn}});Object.defineProperty(exports,"DRAWING_REL_FROM_V",{enumerable:true,get:function(){return chunkTFJUIP4X_cjs.in}});Object.defineProperty(exports,"IMAGE_WRAP_TARGETS",{enumerable:true,get:function(){return chunkTFJUIP4X_cjs.Oe}});Object.defineProperty(exports,"TEXT_FORM_FORMATS",{enumerable:true,get:function(){return chunkTFJUIP4X_cjs.Dk}});Object.defineProperty(exports,"positionInputFromPropertiesCommand",{enumerable:true,get:function(){return chunkTFJUIP4X_cjs.kn}});Object.defineProperty(exports,"propertiesCommandHasPositionFields",{enumerable:true,get:function(){return chunkTFJUIP4X_cjs.jn}});Object.defineProperty(exports,"resolveImageResourceLimits",{enumerable:true,get:function(){return chunkTFJUIP4X_cjs.s}});Object.defineProperty(exports,"resolveSvgIntrinsicSize",{enumerable:true,get:function(){return chunkTFJUIP4X_cjs.Sf}});Object.defineProperty(exports,"sniffImageMime",{enumerable:true,get:function(){return chunkTFJUIP4X_cjs.Of}});Object.defineProperty(exports,"validateDrawingPositionInput",{enumerable:true,get:function(){return chunkTFJUIP4X_cjs.gn}});Object.defineProperty(exports,"validateRasterHeader",{enumerable:true,get:function(){return chunkTFJUIP4X_cjs.Tf}});Object.defineProperty(exports,"validateSetImagePositionCommand",{enumerable:true,get:function(){return chunkTFJUIP4X_cjs.ln}});
|
package/dist/editor.d.ts
CHANGED
|
@@ -9,46 +9,46 @@
|
|
|
9
9
|
* @packageDocumentation
|
|
10
10
|
* @public
|
|
11
11
|
*/
|
|
12
|
-
import { O as OoxmlPart, b5 as TreeDocColorValue, r as ColorValue, aa as DrawingPositionInput, G as ParagraphTabStop, ar as Watermark } from './tree-op-types-
|
|
13
|
-
export { b6 as DEFAULT_IMAGE_RESOURCE_LIMITS, b7 as IMAGE_WRAP_TARGETS, ad as ImageDecodePort, ae as ImageResourceLimits, ag as ImageWrapTarget, F as ParagraphFlags, al as RenderableImageMime, R as ReviewModelInput, an as SupportedImageMime, b8 as TEXT_FORM_FORMATS, aq as VectorImageMime, b9 as resolveImageResourceLimits, ba as resolveSvgIntrinsicSize, bb as sniffImageMime, bc as validateRasterHeader } from './tree-op-types-
|
|
14
|
-
export { C as ContentLockPolicy, F as FieldResultsMode } from './tree-package-store-
|
|
15
|
-
export { D as DrawingGraphicKind, a as DrawingSupport, b as DrawingSupportIssue } from './drawing-graphic-kind-
|
|
16
|
-
import { B as BookmarkNameProblem, D as DrawingPreviewPackageLimits, a as DrawingPreviewPackageResult } from './drawing-preview-package-
|
|
17
|
-
import { T as TreeDocxSessionView, f as DocumentThemeColorEntry } from './tree-session-contract-
|
|
18
|
-
export { a as TreeApplyResult } from './tree-session-contract-
|
|
12
|
+
import { O as OoxmlPart, b5 as TreeDocColorValue, r as ColorValue, aa as DrawingPositionInput, G as ParagraphTabStop, ar as Watermark } from './tree-op-types-CGlwCQXg.js';
|
|
13
|
+
export { b6 as DEFAULT_IMAGE_RESOURCE_LIMITS, b7 as IMAGE_WRAP_TARGETS, ad as ImageDecodePort, ae as ImageResourceLimits, ag as ImageWrapTarget, F as ParagraphFlags, al as RenderableImageMime, R as ReviewModelInput, an as SupportedImageMime, b8 as TEXT_FORM_FORMATS, aq as VectorImageMime, b9 as resolveImageResourceLimits, ba as resolveSvgIntrinsicSize, bb as sniffImageMime, bc as validateRasterHeader } from './tree-op-types-CGlwCQXg.js';
|
|
14
|
+
export { C as ContentLockPolicy, F as FieldResultsMode } from './tree-package-store-D0_BOm-r.js';
|
|
15
|
+
export { D as DrawingGraphicKind, a as DrawingSupport, b as DrawingSupportIssue } from './drawing-graphic-kind-_5u2E4ee.js';
|
|
16
|
+
import { B as BookmarkNameProblem, D as DrawingPreviewPackageLimits, a as DrawingPreviewPackageResult } from './drawing-preview-package-JyAqL6OV.js';
|
|
17
|
+
import { T as TreeDocxSessionView, f as DocumentThemeColorEntry } from './tree-session-contract-DkThhHjy.js';
|
|
18
|
+
export { a as TreeApplyResult } from './tree-session-contract-DkThhHjy.js';
|
|
19
19
|
export { CollectReviewItems, EditorModule, EditorModuleRegistry, ReviewModuleContribution, RevisionMarkupDialog, RevisionMarkupDialogHost, resolveEditorModules } from './contracts/modules.js';
|
|
20
20
|
import { F as FontShapingOptions } from './font-shaping-policy-BvpkrfxM.js';
|
|
21
|
-
import { J as EditorFontError, W as EditorSnapshot, x as Editor, b as EditorCommand, C as CanResult, aR as ZoomMode, g as ClearAnchorHighlightOptions, c as AnchorHighlightOptions, aw as ScrollToAnchorOptions, av as ScrollPlacement, A as AnchorHighlightAnimation, a4 as HighlightRange, a6 as HighlightResult, a3 as HighlightOptions, aM as TextMatch, f as BookmarkSummary, B as BookmarkPlace } from './editor-
|
|
22
|
-
export { a2 as HighlightHit, a5 as HighlightRect, a9 as ImageContext, aa as ImageCropPercent, aS as ImageCropPermille, an as ReviewItemHit, ax as SelectedImageState, aJ as TableInteractionLabelKey, aO as TrackedChangeFilterMode, aP as TrackedChangePredicate, aT as cropPercentFromCropPermille, aU as cropPercentFromPermille, aV as cropPercentFromSourceCrop, aW as cropPermilleFromCropPercent, aX as cropPermilleFromPercent, aY as sourceCropFromCropPercent, aZ as validateImageCropPercent } from './editor-
|
|
23
|
-
import { L as LayoutShapingInstrumentation, a as LayoutShapingOptions } from './layout-shaping-
|
|
24
|
-
export { d as disposeLayoutShaping } from './layout-shaping-
|
|
21
|
+
import { J as EditorFontError, W as EditorSnapshot, x as Editor, b as EditorCommand, C as CanResult, aR as ZoomMode, g as ClearAnchorHighlightOptions, c as AnchorHighlightOptions, aw as ScrollToAnchorOptions, av as ScrollPlacement, A as AnchorHighlightAnimation, a4 as HighlightRange, a6 as HighlightResult, a3 as HighlightOptions, aM as TextMatch, f as BookmarkSummary, B as BookmarkPlace } from './editor-BGCdE3tB.js';
|
|
22
|
+
export { a2 as HighlightHit, a5 as HighlightRect, a9 as ImageContext, aa as ImageCropPercent, aS as ImageCropPermille, an as ReviewItemHit, ax as SelectedImageState, aJ as TableInteractionLabelKey, aO as TrackedChangeFilterMode, aP as TrackedChangePredicate, aT as cropPercentFromCropPermille, aU as cropPercentFromPermille, aV as cropPercentFromSourceCrop, aW as cropPermilleFromCropPercent, aX as cropPermilleFromPercent, aY as sourceCropFromCropPercent, aZ as validateImageCropPercent } from './editor-BGCdE3tB.js';
|
|
23
|
+
import { L as LayoutShapingInstrumentation, a as LayoutShapingOptions } from './layout-shaping-D2qNes9-.js';
|
|
24
|
+
export { d as disposeLayoutShaping } from './layout-shaping-D2qNes9-.js';
|
|
25
25
|
import { F as FontConfiguration } from './editor-fonts-D_-vjuJi.js';
|
|
26
26
|
export { C as ComposeFontOriginsOptions, D as DEFAULT_FONT, F as FONT_RESOLVER_BRAND, a as FONT_RESOLVER_MARK_KEY, b as FontConfigurationBase, c as FontConfigurationFragment, d as FontOrigin, e as FontOriginFailure, f as FontResolutionRequest, g as FontResolver, h as FontResolverMark, m as MAX_RESOLVER_FAMILIES, M as MarkedFontResolver, W as WORD_DEFAULT_FONT, i as composeFontConfiguration, j as composeFontOrigins, k as defineFontResolver, l as isFontResolver } from './font-resolver-Bm9XqTNO.js';
|
|
27
|
-
import { ae as PaginatedSurfaceOptions, af as OpenPaginatedResult, ag as PaginatedSurface, ah as TableCommandPlan, z as DocxEditorInstance, ai as SurfaceFormatting } from './chrome-print-
|
|
28
|
-
export { aj as AnchorFrameOrigin, A as AttachOptions, B as BlankDocumentOptions, a as BookmarkChromeHandlers, b as BookmarkMarkInfo, c as BookmarkMarkOptions, ak as BookmarkMarkOptionsSource, C as CHROME_GROUPS, d as CHROME_MENUS, al as CHROME_UNAVAILABLE_KEY, am as ChromeControl, an as ChromeControlId, ao as ChromeControlState, e as ChromeExportError, f as ChromeExportFormat, g as ChromeExportHandlers, h as ChromeExportResult, i as ChromeExportView, ap as ChromeGroup, aq as ChromeGroupId, j as ChromeMenu, k as ChromeMenuEntry, l as ChromeMenuId, m as ChromeMenuItemEntry, n as ChromeMenuSeparatorEntry, o as ChromeMenuSubmenuEntry, p as ChromePrintError, q as ChromePrintErrorCode, r as ChromePrintJob, s as ChromePrintOptions, t as ChromeSlotId, u as CommentDraftChromeHandlers, v as ContentControlWidgetChromeHandlers, w as ContentControlWidgetSession, x as CustomFontsOptions, y as CustomFontsResolver, ar as DEFAULT_TABLE_CHROME_DRAFT, D as DocxEditorConfig, as as DrawingSelectionIntent, at as EMU_PER_POINT, au as EditorCommandExecute, E as EquationActivation, F as EquationChromeHandlers, av as EquationOps, aw as FinalizedImageOverlayInteraction, G as FontLoadFailure, H as FontLoadFailureReason, I as FontMeasurementState, J as FontUrlSource, ax as FormattingBarOptions, K as GoToChromeHandlers, L as HistoryGroupBinding, M as HistoryGroupBindingOptions, N as HyperlinkActivation, O as HyperlinkChromeHandlers, ay as HyperlinkOps, az as IMAGE_OVERLAY_NUDGE_PT, aA as IMAGE_OVERLAY_NUDGE_SHIFT_PT, aB as ImageInteractionSession, aC as ImageOverlayScrollPort, aD as ImageResizeHandle, aE as ImageResizeResult, P as InvalidTextFormFieldChromeHandlers, Q as InvalidTextFormFieldSession, R as LoadFontsRequest, S as LoadFontsResult, T as LockedControlNavigation, aF as OpeningIndicatorHost, aG as OverlayFrameRect, aH as PaginatedSurfaceState, aI as ParagraphPropertyEdit, U as PopupChromeRegistrationOptions, aJ as RemoteCaretLabelAnchor, aK as RemoteCaretLabelHost, aL as ReviewWriteIntent, aM as RunTableChromeCommandResult, aN as SectionAnchor, aO as SectionBreakInsertType, aP as SelectedDrawingOverlayTarget, V as SurfaceEquation, W as SurfaceHyperlink, aQ as SurfaceIndentAndListOps, aR as SurfaceInsertImageInput, aS as SurfaceNavigation, aT as SurfaceOverlayCoordinates, aU as SurfaceParagraphFormat, aV as TABLE_BORDER_STYLE_OPTIONS, aW as TABLE_BORDER_TARGET_OPTIONS, aX as TABLE_BORDER_WIDTH_OPTIONS, aY as TABLE_CHROME_SLOT_IDS, aZ as TableBorderStyleOption, a_ as TableBorderTargetOption, a$ as TableBorderTargetValue, b0 as TableBorderWidthOption, b1 as TableChromeDraft, b2 as TableChromePick, X as TableChromeSlotId, b3 as TextFormFieldChromeHandlers, b4 as TextFormFieldDialogSession, b5 as TocRemovalRefusal, Y as ToolbarCommandState, b6 as ToolbarSlotValue, Z as ToolbarValueMap, _ as ToolbarValueSlot, b7 as applyTableChromePick, $ as bindHistoryGroup, a0 as blankDocumentBytes, b8 as canExecuteImageCommand, b9 as captureImageMutationPreconditions, ba as chromeControlCount, a1 as chromeMenuSlots, bb as chromeProbeForSlot, bc as chromeSlotId, bd as chromeSlotIsToggle, be as commandExecOptions, a2 as commandForSlot, a3 as commandForSlotValue, bf as commandForTableChromeSlotValue, bg as computeImageResizeResult, bh as computeMovedImagePosition, bi as computeResizedImageExtentEmu, a4 as createDocxEditor, a5 as createFontSource, bj as createImageOverlayScrollPort, bk as cssPixelsToLayoutPoints, a6 as customFonts, bl as defaultChromeGroups, bm as defaultTableLabel, a7 as deferFonts, bn as emuToOverlayPoints, bo as equationAtPosition, bp as executeImageCommand, bq as finalizeImageOverlayInteraction, br as formattingBarChromeGroups, a8 as isChromePrintShortcut, bs as isStaleImageInteractionCommit, bt as isTableChromeSlot, bu as layoutPointsToCssPixels, a9 as loadFonts, bv as overlayFrameToSheetCssPixels, bw as overlayHostOrigin, bx as pointsToEmu, by as probeTableChromeCommand, bz as resizePreservesAspect, aa as runChromeExport, ab as runChromePrint, bA as runSave, bB as runTableChromeCommand, bC as runTableCommand, ac as runToolbarCommand, bD as selectedDrawingOverlayTargetOf, bE as selectedImageStateOf, bF as surfacePaintScale, bG as tableChromeIconPaths, bH as tableChromeLabelKeyForTarget, bI as tableChromeToolbarState, bJ as tableChromeVisible, bK as tableCommandToolbarState, ad as toolbarCommandState, bL as toolbarCommandStates } from './chrome-print-
|
|
29
|
-
import { a as AutomationCapabilities, b as AutomationHost, e as AutomationBatchRequest, f as AutomationBatchResponse } from './protocol-
|
|
27
|
+
import { ae as PaginatedSurfaceOptions, af as OpenPaginatedResult, ag as PaginatedSurface, ah as TableCommandPlan, z as DocxEditorInstance, ai as SurfaceFormatting } from './chrome-print-CK3v5NhC.js';
|
|
28
|
+
export { aj as AnchorFrameOrigin, A as AttachOptions, B as BlankDocumentOptions, a as BookmarkChromeHandlers, b as BookmarkMarkInfo, c as BookmarkMarkOptions, ak as BookmarkMarkOptionsSource, C as CHROME_GROUPS, d as CHROME_MENUS, al as CHROME_UNAVAILABLE_KEY, am as ChromeControl, an as ChromeControlId, ao as ChromeControlState, e as ChromeExportError, f as ChromeExportFormat, g as ChromeExportHandlers, h as ChromeExportResult, i as ChromeExportView, ap as ChromeGroup, aq as ChromeGroupId, j as ChromeMenu, k as ChromeMenuEntry, l as ChromeMenuId, m as ChromeMenuItemEntry, n as ChromeMenuSeparatorEntry, o as ChromeMenuSubmenuEntry, p as ChromePrintError, q as ChromePrintErrorCode, r as ChromePrintJob, s as ChromePrintOptions, t as ChromeSlotId, u as CommentDraftChromeHandlers, v as ContentControlWidgetChromeHandlers, w as ContentControlWidgetSession, x as CustomFontsOptions, y as CustomFontsResolver, ar as DEFAULT_TABLE_CHROME_DRAFT, D as DocxEditorConfig, as as DrawingSelectionIntent, at as EMU_PER_POINT, au as EditorCommandExecute, E as EquationActivation, F as EquationChromeHandlers, av as EquationOps, aw as FinalizedImageOverlayInteraction, G as FontLoadFailure, H as FontLoadFailureReason, I as FontMeasurementState, J as FontUrlSource, ax as FormattingBarOptions, K as GoToChromeHandlers, L as HistoryGroupBinding, M as HistoryGroupBindingOptions, N as HyperlinkActivation, O as HyperlinkChromeHandlers, ay as HyperlinkOps, az as IMAGE_OVERLAY_NUDGE_PT, aA as IMAGE_OVERLAY_NUDGE_SHIFT_PT, aB as ImageInteractionSession, aC as ImageOverlayScrollPort, aD as ImageResizeHandle, aE as ImageResizeResult, P as InvalidTextFormFieldChromeHandlers, Q as InvalidTextFormFieldSession, R as LoadFontsRequest, S as LoadFontsResult, T as LockedControlNavigation, aF as OpeningIndicatorHost, aG as OverlayFrameRect, aH as PaginatedSurfaceState, aI as ParagraphPropertyEdit, U as PopupChromeRegistrationOptions, aJ as RemoteCaretLabelAnchor, aK as RemoteCaretLabelHost, aL as ReviewWriteIntent, aM as RunTableChromeCommandResult, aN as SectionAnchor, aO as SectionBreakInsertType, aP as SelectedDrawingOverlayTarget, V as SurfaceEquation, W as SurfaceHyperlink, aQ as SurfaceIndentAndListOps, aR as SurfaceInsertImageInput, aS as SurfaceNavigation, aT as SurfaceOverlayCoordinates, aU as SurfaceParagraphFormat, aV as TABLE_BORDER_STYLE_OPTIONS, aW as TABLE_BORDER_TARGET_OPTIONS, aX as TABLE_BORDER_WIDTH_OPTIONS, aY as TABLE_CHROME_SLOT_IDS, aZ as TableBorderStyleOption, a_ as TableBorderTargetOption, a$ as TableBorderTargetValue, b0 as TableBorderWidthOption, b1 as TableChromeDraft, b2 as TableChromePick, X as TableChromeSlotId, b3 as TextFormFieldChromeHandlers, b4 as TextFormFieldDialogSession, b5 as TocRemovalRefusal, Y as ToolbarCommandState, b6 as ToolbarSlotValue, Z as ToolbarValueMap, _ as ToolbarValueSlot, b7 as applyTableChromePick, $ as bindHistoryGroup, a0 as blankDocumentBytes, b8 as canExecuteImageCommand, b9 as captureImageMutationPreconditions, ba as chromeControlCount, a1 as chromeMenuSlots, bb as chromeProbeForSlot, bc as chromeSlotId, bd as chromeSlotIsToggle, be as commandExecOptions, a2 as commandForSlot, a3 as commandForSlotValue, bf as commandForTableChromeSlotValue, bg as computeImageResizeResult, bh as computeMovedImagePosition, bi as computeResizedImageExtentEmu, a4 as createDocxEditor, a5 as createFontSource, bj as createImageOverlayScrollPort, bk as cssPixelsToLayoutPoints, a6 as customFonts, bl as defaultChromeGroups, bm as defaultTableLabel, a7 as deferFonts, bn as emuToOverlayPoints, bo as equationAtPosition, bp as executeImageCommand, bq as finalizeImageOverlayInteraction, br as formattingBarChromeGroups, a8 as isChromePrintShortcut, bs as isStaleImageInteractionCommit, bt as isTableChromeSlot, bu as layoutPointsToCssPixels, a9 as loadFonts, bv as overlayFrameToSheetCssPixels, bw as overlayHostOrigin, bx as pointsToEmu, by as probeTableChromeCommand, bz as resizePreservesAspect, aa as runChromeExport, ab as runChromePrint, bA as runSave, bB as runTableChromeCommand, bC as runTableCommand, ac as runToolbarCommand, bD as selectedDrawingOverlayTargetOf, bE as selectedImageStateOf, bF as surfacePaintScale, bG as tableChromeIconPaths, bH as tableChromeLabelKeyForTarget, bI as tableChromeToolbarState, bJ as tableChromeVisible, bK as tableCommandToolbarState, ad as toolbarCommandState, bL as toolbarCommandStates } from './chrome-print-CK3v5NhC.js';
|
|
29
|
+
import { a as AutomationCapabilities, b as AutomationHost, e as AutomationBatchRequest, f as AutomationBatchResponse } from './protocol-0y3iaYj9.js';
|
|
30
30
|
import { c as HistoryGroup } from './editor-scope-CA6egMaK.js';
|
|
31
31
|
export { d as HistoryGroupOptions } from './editor-scope-CA6egMaK.js';
|
|
32
32
|
import { E as EditDiagnosticCode, R as ReviewDiagnosticCode, k as ReviewOperation } from './diagnostic-hints-BTyb8yzX.js';
|
|
33
|
-
import { S as SemanticLayout, T as TextMeasurer, U as UnsupportedElement } from './semantic-records-
|
|
34
|
-
export { t as SectionProperties, h as UnsupportedElementLayout, i as UnsupportedElementRule,
|
|
33
|
+
import { S as SemanticLayout, T as TextMeasurer, U as UnsupportedElement } from './semantic-records-thL1rcmG.js';
|
|
34
|
+
export { t as SectionProperties, u as SectionVerticalAlign, h as UnsupportedElementLayout, i as UnsupportedElementRule, v as unsupportedElementRuleMatches } from './semantic-records-thL1rcmG.js';
|
|
35
35
|
import { ReviewPaneOverflow } from './contracts/types.js';
|
|
36
36
|
export { CommentMarkerStyle, DEFAULT_REVIEW_PANE, ResolvedReviewPane, ReviewPaneItemFields, ReviewPaneOpening, ReviewPaneOptions, RevisionDisplay, resolveReviewPane, reviewPaneListsItem } from './contracts/types.js';
|
|
37
|
-
export { D as DEFAULT_REVISION_MARKUP, c as REVISION_MARKUP_COLORS, d as ResolvedRevisionMarkup, a as ReviewDisplayMode, e as RevisionChangedLinesMark, f as RevisionDeletionMark, g as RevisionMarkupChromeHandlers, h as RevisionMarkupColor, R as RevisionMarkupDialogSession, i as RevisionMarkupMark, j as RevisionMarkupNamedColor, k as RevisionMarkupOptions, l as RevisionMarkupStyle, m as RevisionMarkupTextStyle, r as resolveRevisionMarkup } from './revision-projection-
|
|
38
|
-
export { N as NavigationCommand, S as SemanticPosition, a as SemanticSelection } from './semantic-interaction-
|
|
39
|
-
export { F as FieldShadingMode, R as ReviewAuthorInfo, a as RevisionAuthorAssignments, b as RevisionAuthorStyle, c as RevisionStyles } from './semantic-paint-
|
|
40
|
-
export { U as UnsupportedElementHost, o as observeUnsupportedElements } from './unsupported-elements-
|
|
37
|
+
export { D as DEFAULT_REVISION_MARKUP, c as REVISION_MARKUP_COLORS, d as ResolvedRevisionMarkup, a as ReviewDisplayMode, e as RevisionChangedLinesMark, f as RevisionDeletionMark, g as RevisionMarkupChromeHandlers, h as RevisionMarkupColor, R as RevisionMarkupDialogSession, i as RevisionMarkupMark, j as RevisionMarkupNamedColor, k as RevisionMarkupOptions, l as RevisionMarkupStyle, m as RevisionMarkupTextStyle, r as resolveRevisionMarkup } from './revision-projection-CrAv-HP6.js';
|
|
38
|
+
export { N as NavigationCommand, S as SemanticPosition, a as SemanticSelection } from './semantic-interaction-DcE_ZsiD.js';
|
|
39
|
+
export { F as FieldShadingMode, R as ReviewAuthorInfo, a as RevisionAuthorAssignments, b as RevisionAuthorStyle, c as RevisionStyles } from './semantic-paint-DfeN6UQF.js';
|
|
40
|
+
export { U as UnsupportedElementHost, o as observeUnsupportedElements } from './unsupported-elements-qj0sXi2s.js';
|
|
41
41
|
export { CollaborationModuleContribution } from './collaboration.js';
|
|
42
|
-
import './custom-node-writes-
|
|
42
|
+
import './custom-node-writes-BC3z8NwO.js';
|
|
43
43
|
import 'prosemirror-model';
|
|
44
44
|
import './collaboration/replication.js';
|
|
45
45
|
import './failure-6KGFrDO9.js';
|
|
46
|
-
import './document-protection-
|
|
46
|
+
import './document-protection-8hXPdn5U.js';
|
|
47
47
|
import './contracts/document.js';
|
|
48
48
|
import './contracts/interaction.js';
|
|
49
|
-
import './semantic-cell-selection-
|
|
50
|
-
import './note-properties-
|
|
51
|
-
import './semantic-record-queries-
|
|
49
|
+
import './semantic-cell-selection-CeG_qqDV.js';
|
|
50
|
+
import './note-properties-DGPzKUuA.js';
|
|
51
|
+
import './semantic-record-queries-qwd9Ict6.js';
|
|
52
52
|
|
|
53
53
|
declare function toEditorFontError(error: unknown): EditorFontError;
|
|
54
54
|
declare function createLayoutShaping(configuration: FontConfiguration, instrumentation?: LayoutShapingInstrumentation, execution?: FontShapingOptions): Promise<LayoutShapingOptions>;
|
package/dist/editor.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{mc as AUTO_ZOOM_MODE,sc as BROWSER_AUTOMATION_CAPABILITIES,Bb as CHROME_GROUPS,Fb as CHROME_MENUS,Ib as CHROME_UNAVAILABLE_KEY,Nb as CONTENT_CONTROL_PICTURE_ACCEPT,kd as ChromeExportError,md as ChromePrintError,c as DEFAULT_REVIEW_PANE,Ba as DEFAULT_TABLE_CHROME_DRAFT,ea as DEFAULT_WATERMARK_FONT,bd as DocumentRefreshError,na as EMU_PER_POINT,nc as FIT_WIDTH_ZOOM_MODE,dd as HIGHLIGHT_REFRESH_MS,wa as IMAGE_OVERLAY_NUDGE_PT,xa as IMAGE_OVERLAY_NUDGE_SHIFT_PT,_c as LINE_SPACING_PRESETS,f as LOADING_SNAPSHOT,Pc as NO_MIXED_FIELDS,M as PX_PER_CM,L as PX_PER_INCH,jc as REVIEW_MARKERS_GUTTER_PX,fd as SEARCH_DEBOUNCE_MS,id as SEARCH_HIGHLIGHT_PRIORITY,hd as SEARCH_HIGHLIGHT_SET,gd as SEARCH_MATCH_LIMIT,S as SNAP_TWIPS_CM,R as SNAP_TWIPS_INCH,Wc as SPLIT_CELL_FALLBACK_MAX,Ha as TABLE_BORDER_STYLE_OPTIONS,Ga as TABLE_BORDER_TARGET_OPTIONS,Ia as TABLE_BORDER_WIDTH_OPTIONS,Ca as TABLE_CHROME_SLOT_IDS,Lc as TAB_ALIGNMENT_LABELS,$a as TOOLBAR_COLLAPSE_ORDER,jb as TOOLBAR_HOST_ITEM,ib as TOOLBAR_ITEM_ATTRIBUTE,bb as TOOLBAR_OVERFLOW_HYSTERESIS,fb as TOOLBAR_PANEL_EDGE_MARGIN,ab as TOOLBAR_PINNED_GROUPS,Q as TWIPS_PER_CM,P as TWIPS_PER_INCH,lc as ZOOM_MAX,kc as ZOOM_MIN,Tc as alignmentAfterDirectionChange,Ja as applyTableChromePick,$ as applyThemeShade,_ as applyThemeTint,eb as arrangeToolbarGroups,vb as barRoomWidth,ic as beginEditorPreview,Zc as bindHistoryGroup,h as blankDocumentBytes,ud as bookmarkDialogInitialName,vd as bookmarkDialogNameState,pd as bookmarkDialogRows,Vb as calendarDateForKey,Xb as calendarDateFromText,Wb as calendarDateText,Tb as calendarMonth,Yb as calendarMonthNames,Rb as calendarMonthTitle,Sb as calendarWeekdays,ua as canExecuteImageCommand,ta as captureImageMutationPreconditions,Sc as changedFields,zb as chordLetter,Hb as chromeControlCount,Gb as chromeMenuSlots,Na as chromeProbeForSlot,Cb as chromeSlotId,Ta as chromeSlotIsToggle,C as clipboardDropLandsText,B as clipboardPasteLandsContent,db as collapseOrder,Y as commandExecOptions,Oa as commandForSlot,Qa as commandForSlotValue,Pa as commandForTableChromeSlotValue,Fc as computeImageResizeResult,ra as computeMovedImagePosition,qa as computeResizedImageExtentEmu,Lb as contentControlPopupKeyDown,Mb as contentControlPopupOpener,wb as controlsOverflow,E as copyEditorStyles,tc as createBrowserAutomationHost,Zb as createContentControlListNavigation,cd as createDocumentRefresh,jd as createDocumentSearch,rc as createDocxEditor,J as createFontSource,Gc as createImageOverlayScrollPort,b as createLayoutShaping,la as cropPercentFromCropPermille,ja as cropPercentFromPermille,ga as cropPercentFromSourceCrop,ka as cropPermilleFromCropPercent,ia as cropPermilleFromPercent,Bc as cssPixelsToLayoutPoints,K as customFonts,Db as defaultChromeGroups,Da as defaultTableLabel,g as deferFonts,V as dragIndent,xd as drawingPreviewDocx,_a as editorCommandKey,l as editorHostDocument,k as editorHostElement,m as editorHostWindow,uc as editorInstanceScope,hc as editorPreviewActive,pa as emuToOverlayPoints,ac as equationAtPosition,va as executeImageCommand,Hc as finalizeImageOverlayInteraction,Qb as firstDayOfWeek,Jc as formatInches,Eb as formattingBarChromeGroups,N as generateRulerTicks,td as goToBookmarkGroups,sd as goToBookmarkMatch,qd as goToBookmarkRows,rd as goToBookmarkTarget,T as handlePosition,wc as hasOpenNestedPopup,$b as historyShortcutOf,z as hostDirectionOf,i as hostDocumentOf,r as hostTimers,j as hostWindowOf,Kc as inchesToTwips,Yc as initialSplitCellCounts,nd as isChromePrintShortcut,q as isDomNode,n as isElementNode,Ab as isGoToChord,o as isHTMLElementNode,v as isInputEvent,s as isKeyboardEvent,u as isMouseEvent,t as isPointerEvent,za as isStaleImageInteractionCommit,Ea as isTableChromeSlot,p as isTextNode,Ob as isoDateOf,w as keepScrollAtInlineEnd,Ac as layoutPointsToCssPixels,ad as lineSpacingMenuRowLabel,$c as lineSpacingMenuRows,yc as listenForOutsidePress,vc as listenForPopupEscape,xc as listenForPopupFocusLeave,I as loadFonts,ba as lowerColorValueForBorder,ca as lowerColorValueForFill,Qc as mixedFieldsOf,bc as mountPaginatedSurface,Kb as observeContentControlPopup,A as observeHostDirection,D as openEditorWindow,Cc as overlayFrameToSheetCssPixels,Dc as overlayHostOrigin,Pb as parseIsoDate,H as partOfNodeId,x as placeSubmenu,oa as pointsToEmu,Jb as positionContentControlPopup,Ka as probeTableChromeCommand,xb as readAvailableWidth,ub as readColumnGap,tb as readInlineMargins,Xc as readSplitCellCounts,yb as readToolbarRow,gc as reportAutomationException,ec as reportAutomationRefusal,fc as reportAutomationReviewSkip,Ec as resizePreservesAspect,da as resolveColorValueToCss,d as resolveReviewPane,aa as resolveThemeColorHex,oc as resolveZoomMode,qc as reviewPaneEntitledZoom,e as reviewPaneListsItem,X as rulerMarginTicks,O as rulerPageBox,W as rulerTabPosition,ld as runChromeExport,od as runChromePrint,Xa as runSave,Va as runTableChromeCommand,Za as runTableCommand,Wa as runToolbarCommand,pb as sameItemOverflow,Rc as sameTabStops,pc as sameZoomMode,Oc as seedFields,ya as selectedDrawingOverlayTargetOf,sa as selectedImageStateOf,rb as separatorLeadingCost,Ub as shiftMonth,Nc as signedFirstLineOf,U as snapTwips,ha as sourceCropFromCropPercent,Mc as specialOf,F as storyLabelTop,y as submenuKeys,_b as surfaceExtent,zc as surfacePaintScale,Ma as tableChromeIconPaths,La as tableChromeLabelKeyForTarget,Ra as tableChromeToolbarState,Fa as tableChromeVisible,Aa as tableCommandState,Ya as tableCommandToolbarState,G as textboxFrameReason,a as toEditorFontError,Sa as toolbarCommandState,Ua as toolbarCommandStates,mb as toolbarGroupItems,cb as toolbarGroupPriority,lb as toolbarGroupsKey,nb as toolbarHostPanelShown,kb as toolbarItemKey,qb as toolbarOverflowItems,gb as toolbarPanelPlacement,hb as toolbarPopupLeft,ob as toolbarShownCount,sb as trailingGapCost,Vc as trapTabWithin,Ic as twipsToInches,wd as unsupportedElementRuleMatches,ma as validateImageCropPercent,Z as validateThemeModifier,ed as watchHighlights,fa as watermarkShapeBox,Uc as withTabStop}from'./chunk-
|
|
1
|
+
export{mc as AUTO_ZOOM_MODE,sc as BROWSER_AUTOMATION_CAPABILITIES,Bb as CHROME_GROUPS,Fb as CHROME_MENUS,Ib as CHROME_UNAVAILABLE_KEY,Nb as CONTENT_CONTROL_PICTURE_ACCEPT,kd as ChromeExportError,md as ChromePrintError,c as DEFAULT_REVIEW_PANE,Ba as DEFAULT_TABLE_CHROME_DRAFT,ea as DEFAULT_WATERMARK_FONT,bd as DocumentRefreshError,na as EMU_PER_POINT,nc as FIT_WIDTH_ZOOM_MODE,dd as HIGHLIGHT_REFRESH_MS,wa as IMAGE_OVERLAY_NUDGE_PT,xa as IMAGE_OVERLAY_NUDGE_SHIFT_PT,_c as LINE_SPACING_PRESETS,f as LOADING_SNAPSHOT,Pc as NO_MIXED_FIELDS,M as PX_PER_CM,L as PX_PER_INCH,jc as REVIEW_MARKERS_GUTTER_PX,fd as SEARCH_DEBOUNCE_MS,id as SEARCH_HIGHLIGHT_PRIORITY,hd as SEARCH_HIGHLIGHT_SET,gd as SEARCH_MATCH_LIMIT,S as SNAP_TWIPS_CM,R as SNAP_TWIPS_INCH,Wc as SPLIT_CELL_FALLBACK_MAX,Ha as TABLE_BORDER_STYLE_OPTIONS,Ga as TABLE_BORDER_TARGET_OPTIONS,Ia as TABLE_BORDER_WIDTH_OPTIONS,Ca as TABLE_CHROME_SLOT_IDS,Lc as TAB_ALIGNMENT_LABELS,$a as TOOLBAR_COLLAPSE_ORDER,jb as TOOLBAR_HOST_ITEM,ib as TOOLBAR_ITEM_ATTRIBUTE,bb as TOOLBAR_OVERFLOW_HYSTERESIS,fb as TOOLBAR_PANEL_EDGE_MARGIN,ab as TOOLBAR_PINNED_GROUPS,Q as TWIPS_PER_CM,P as TWIPS_PER_INCH,lc as ZOOM_MAX,kc as ZOOM_MIN,Tc as alignmentAfterDirectionChange,Ja as applyTableChromePick,$ as applyThemeShade,_ as applyThemeTint,eb as arrangeToolbarGroups,vb as barRoomWidth,ic as beginEditorPreview,Zc as bindHistoryGroup,h as blankDocumentBytes,ud as bookmarkDialogInitialName,vd as bookmarkDialogNameState,pd as bookmarkDialogRows,Vb as calendarDateForKey,Xb as calendarDateFromText,Wb as calendarDateText,Tb as calendarMonth,Yb as calendarMonthNames,Rb as calendarMonthTitle,Sb as calendarWeekdays,ua as canExecuteImageCommand,ta as captureImageMutationPreconditions,Sc as changedFields,zb as chordLetter,Hb as chromeControlCount,Gb as chromeMenuSlots,Na as chromeProbeForSlot,Cb as chromeSlotId,Ta as chromeSlotIsToggle,C as clipboardDropLandsText,B as clipboardPasteLandsContent,db as collapseOrder,Y as commandExecOptions,Oa as commandForSlot,Qa as commandForSlotValue,Pa as commandForTableChromeSlotValue,Fc as computeImageResizeResult,ra as computeMovedImagePosition,qa as computeResizedImageExtentEmu,Lb as contentControlPopupKeyDown,Mb as contentControlPopupOpener,wb as controlsOverflow,E as copyEditorStyles,tc as createBrowserAutomationHost,Zb as createContentControlListNavigation,cd as createDocumentRefresh,jd as createDocumentSearch,rc as createDocxEditor,J as createFontSource,Gc as createImageOverlayScrollPort,b as createLayoutShaping,la as cropPercentFromCropPermille,ja as cropPercentFromPermille,ga as cropPercentFromSourceCrop,ka as cropPermilleFromCropPercent,ia as cropPermilleFromPercent,Bc as cssPixelsToLayoutPoints,K as customFonts,Db as defaultChromeGroups,Da as defaultTableLabel,g as deferFonts,V as dragIndent,xd as drawingPreviewDocx,_a as editorCommandKey,l as editorHostDocument,k as editorHostElement,m as editorHostWindow,uc as editorInstanceScope,hc as editorPreviewActive,pa as emuToOverlayPoints,ac as equationAtPosition,va as executeImageCommand,Hc as finalizeImageOverlayInteraction,Qb as firstDayOfWeek,Jc as formatInches,Eb as formattingBarChromeGroups,N as generateRulerTicks,td as goToBookmarkGroups,sd as goToBookmarkMatch,qd as goToBookmarkRows,rd as goToBookmarkTarget,T as handlePosition,wc as hasOpenNestedPopup,$b as historyShortcutOf,z as hostDirectionOf,i as hostDocumentOf,r as hostTimers,j as hostWindowOf,Kc as inchesToTwips,Yc as initialSplitCellCounts,nd as isChromePrintShortcut,q as isDomNode,n as isElementNode,Ab as isGoToChord,o as isHTMLElementNode,v as isInputEvent,s as isKeyboardEvent,u as isMouseEvent,t as isPointerEvent,za as isStaleImageInteractionCommit,Ea as isTableChromeSlot,p as isTextNode,Ob as isoDateOf,w as keepScrollAtInlineEnd,Ac as layoutPointsToCssPixels,ad as lineSpacingMenuRowLabel,$c as lineSpacingMenuRows,yc as listenForOutsidePress,vc as listenForPopupEscape,xc as listenForPopupFocusLeave,I as loadFonts,ba as lowerColorValueForBorder,ca as lowerColorValueForFill,Qc as mixedFieldsOf,bc as mountPaginatedSurface,Kb as observeContentControlPopup,A as observeHostDirection,D as openEditorWindow,Cc as overlayFrameToSheetCssPixels,Dc as overlayHostOrigin,Pb as parseIsoDate,H as partOfNodeId,x as placeSubmenu,oa as pointsToEmu,Jb as positionContentControlPopup,Ka as probeTableChromeCommand,xb as readAvailableWidth,ub as readColumnGap,tb as readInlineMargins,Xc as readSplitCellCounts,yb as readToolbarRow,gc as reportAutomationException,ec as reportAutomationRefusal,fc as reportAutomationReviewSkip,Ec as resizePreservesAspect,da as resolveColorValueToCss,d as resolveReviewPane,aa as resolveThemeColorHex,oc as resolveZoomMode,qc as reviewPaneEntitledZoom,e as reviewPaneListsItem,X as rulerMarginTicks,O as rulerPageBox,W as rulerTabPosition,ld as runChromeExport,od as runChromePrint,Xa as runSave,Va as runTableChromeCommand,Za as runTableCommand,Wa as runToolbarCommand,pb as sameItemOverflow,Rc as sameTabStops,pc as sameZoomMode,Oc as seedFields,ya as selectedDrawingOverlayTargetOf,sa as selectedImageStateOf,rb as separatorLeadingCost,Ub as shiftMonth,Nc as signedFirstLineOf,U as snapTwips,ha as sourceCropFromCropPercent,Mc as specialOf,F as storyLabelTop,y as submenuKeys,_b as surfaceExtent,zc as surfacePaintScale,Ma as tableChromeIconPaths,La as tableChromeLabelKeyForTarget,Ra as tableChromeToolbarState,Fa as tableChromeVisible,Aa as tableCommandState,Ya as tableCommandToolbarState,G as textboxFrameReason,a as toEditorFontError,Sa as toolbarCommandState,Ua as toolbarCommandStates,mb as toolbarGroupItems,cb as toolbarGroupPriority,lb as toolbarGroupsKey,nb as toolbarHostPanelShown,kb as toolbarItemKey,qb as toolbarOverflowItems,gb as toolbarPanelPlacement,hb as toolbarPopupLeft,ob as toolbarShownCount,sb as trailingGapCost,Vc as trapTabWithin,Ic as twipsToInches,wd as unsupportedElementRuleMatches,ma as validateImageCropPercent,Z as validateThemeModifier,ed as watchHighlights,fa as watermarkShapeBox,Uc as withTabStop}from'./chunk-V6FOPP2H.js';export{a as resolveEditorModules}from'./chunk-4HENIAFG.js';export{c as observeUnsupportedElements}from'./chunk-I4WSXFY6.js';export{d as DEFAULT_FONT,n as FONT_RESOLVER_BRAND,m as FONT_RESOLVER_MARK_KEY,c as MAX_RESOLVER_FAMILIES,e as WORD_DEFAULT_FONT,f as composeFontConfiguration,s as composeFontOrigins,o as defineFontResolver,p as isFontResolver}from'./chunk-CU6QPXKD.js';export{t as disposeLayoutShaping}from'./chunk-O2PGRL5D.js';import'./chunk-RIYSCEFQ.js';import'./chunk-NS2QCOAS.js';import'./chunk-KOYEBRLV.js';export{gb as DEFAULT_REVISION_MARKUP,fb as REVISION_MARKUP_COLORS,hb as resolveRevisionMarkup}from'./chunk-6IYKYYWF.js';import'./chunk-EBIMIIC3.js';import'./chunk-ELR6HXOO.js';import'./chunk-JZ4LO3ZZ.js';import'./chunk-A5GMOQWD.js';import'./chunk-LZ64O473.js';import'./chunk-EMITIPLN.js';import'./chunk-WN7ICTA5.js';import'./chunk-7ACXKFKO.js';export{r as DEFAULT_IMAGE_RESOURCE_LIMITS,hn as DRAWING_REL_FROM_H,in as DRAWING_REL_FROM_V,Oe as IMAGE_WRAP_TARGETS,Dk as TEXT_FORM_FORMATS,kn as positionInputFromPropertiesCommand,jn as propertiesCommandHasPositionFields,s as resolveImageResourceLimits,Sf as resolveSvgIntrinsicSize,Of as sniffImageMime,gn as validateDrawingPositionInput,Tf as validateRasterHeader,ln as validateSetImagePositionCommand}from'./chunk-JQPTNBLT.js';import'./chunk-S6J4O5XP.js';
|
package/dist/export.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var chunkDR6W23TB_cjs=require('./chunk-DR6W23TB.cjs'),chunkV7CO55DO_cjs=require('./chunk-V7CO55DO.cjs'),chunkZJ74LCFI_cjs=require('./chunk-ZJ74LCFI.cjs'),chunkTXIO5WYQ_cjs=require('./chunk-TXIO5WYQ.cjs'),chunkNKZVMMHU_cjs=require('./chunk-NKZVMMHU.cjs');require('./chunk-NEM774E3.cjs'),require('./chunk-E5BKDHIP.cjs');var chunk5HUVQXET_cjs=require('./chunk-5HUVQXET.cjs'),chunkA5BTVPET_cjs=require('./chunk-A5BTVPET.cjs');function Yt(e,o,t){let n=chunkA5BTVPET_cjs.Yd().metafile;return n?n.replay(e,o,{textAdvance:t.measureText}):Promise.resolve(null)}function $t(e){return !Number.isFinite(e)||e<=0?.8:Math.max(1,Math.round(e*.8))/e}function _(e,o,t){if(o.environment.features.smcp!==1||!/[\p{Ll} ]/u.test(o.text))return t;let n={...o,environment:{...o.environment,features:{...o.environment.features,smcp:0}}},a=e.shape(n);if(t.glyphs.length!==a.glyphs.length||t.glyphs.some((d,f)=>d.id!==a.glyphs[f]?.id))return t;let r=[],s=0;for(let d of o.text){let f=d===" "||d.toUpperCase()!==d,E=r.at(-1);E&&(E.lower===f||/\p{M}/u.test(d))?E.text+=d:r.push({text:d,start:s,lower:f}),s+=d.length;}let i=[],p=[],l=[],u=true,y=0,c=$t(o.fontSizeHalfPoints);for(let d of o.environment.direction==="rtl"?r.reverse():r){let f=d.lower?c:1,E=[],R=[],m="",x=d.start;for(let h of d.text){let b=d.lower?h.toUpperCase():h;for(let F=0;F<b.length;F++)E.push(x),R.push(x+h.length);m+=b,x+=h.length;}let g=e.shape({...n,text:m}),S=i.length;for(let[h,b]of g.glyphs.entries()){let F=g.exactAdvancesX?.[h];F===void 0?u=false:l.push(F*f),i.push({...b,cluster:E[b.cluster]??d.start,originX:chunkTXIO5WYQ_cjs.n(y+Math.round(b.originX*f)),originY:chunkTXIO5WYQ_cjs.n(Math.round(b.originY*f)),offsetX:chunkTXIO5WYQ_cjs.n(Math.round(b.offsetX*f)),offsetY:chunkTXIO5WYQ_cjs.n(Math.round(b.offsetY*f)),advanceX:chunkTXIO5WYQ_cjs.n(Math.round(b.advanceX*f)),advanceY:chunkTXIO5WYQ_cjs.n(Math.round(b.advanceY*f)),drawScale:f});}for(let h of g.clusters){let b=E[h.textStart]??d.start,F=R[h.textEnd-1]??x,I=chunkTXIO5WYQ_cjs.n(Math.round(h.advance*f)),T=p.at(-1);T&&T.textStart===b&&T.textEnd===F?p[p.length-1]={...T,glyphEnd:S+h.glyphEnd,advance:chunkTXIO5WYQ_cjs.n(T.advance+I),caretEdges:[chunkTXIO5WYQ_cjs.n(0),chunkTXIO5WYQ_cjs.n(T.advance+I)]}:p.push({...h,textStart:b,textEnd:F,glyphStart:S+h.glyphStart,glyphEnd:S+h.glyphEnd,advance:I,caretEdges:h.caretEdges.map(Gt=>chunkTXIO5WYQ_cjs.n(Math.round(Gt*f))),fontSpan:0});}y+=g.glyphs.reduce((h,b)=>h+Math.round(b.advanceX*f),0);}return {...t,glyphs:i,clusters:p,fontSpans:[{...t.fontSpans[0],glyphStart:0,glyphEnd:i.length}],exactAdvancesX:u&&l.length===i.length?l:void 0}}var yt=new WeakMap;function Kt(e){let o=yt.get(e);return o===void 0&&(o=Qt(e.bytes,e.faceIndex),yt.set(e,o)),o}var Zt=new Set(["COLR","CBDT","sbix"]),Jt=512;function Qt(e,o){let t=new DataView(e.buffer,e.byteOffset,e.byteLength);if(e.byteLength<12)return false;let n=0;if(ht(e,0)==="ttcf"){let r=t.getUint32(8);if(o<0||o>=r||12+4*o+4>e.byteLength||(n=t.getUint32(12+4*o),n+12>e.byteLength))return false}let a=Math.min(t.getUint16(n+4),Jt);for(let r=0;r<a;r++){let s=n+12+r*16;if(s+4>e.byteLength)return false;if(Zt.has(ht(e,s)))return true}return false}function ht(e,o){return String.fromCharCode(e[o],e[o+1],e[o+2],e[o+3])}var eo=/\p{Emoji_Presentation}|️/u;function to(e){return eo.test(e)}function z(e,o){if(e.length<2)return e;let t=e.filter(Kt);if(t.length===0||t.length===e.length)return e;let n=e.filter(a=>!t.includes(a));return to(o)?[...t,...n]:[...n,...t]}var oo=2048;function gt(e,o,t,n){if(!t.clusters.length||t.clusters.length>oo)return null;let a=(m,x)=>{let{context:g,...S}=o,h={...S,text:x,environment:chunkTXIO5WYQ_cjs.r({...o.environment,font:m})};return _(e,h,e.shape(h))},r=[],s=new Map;for(let m of [...t.clusters].sort((x,g)=>x.textStart-g.textStart)){let x=o.environment.font,g=o.text.slice(m.textStart,m.textEnd),S=r.at(-1);if(/^[\uFE0E\uFE0F]$/.test(g)&&S&&S.end===m.textStart){S.end=m.textEnd;continue}if(o.environment.script==="Hebr"&&/^\s+$/u.test(g)&&S&&S.font!==o.environment.font&&S.end===m.textStart){S.end=m.textEnd;continue}if(t.glyphs.slice(m.glyphStart,m.glyphEnd).some(b=>b.id===0)){let b=o.text.slice(m.textStart,m.textEnd+1),F=s.get(g)??z(n,b).find(I=>{try{return !a(I,g).glyphs.some(T=>T.id===0)}catch{return false}});if(!F)return null;s.set(g,F),x=F;}let h=r.at(-1);h&&h.font===x&&h.end===m.textStart?h.end=m.textEnd:r.push({start:m.textStart,end:m.textEnd,font:x});}let i=[],p=[],l=[],u=[],y=true,c=0,d=0,f=0,E=0,R=0;for(let m of o.environment.direction==="rtl"?r.reverse():r){let x=a(m.font,o.text.slice(m.start,m.end));if(x.glyphs.some(h=>h.id===0))return null;let g=i.length,S=l.length;for(let h of x.glyphs)i.push({...h,cluster:m.start+h.cluster,originX:chunkTXIO5WYQ_cjs.n(c+h.originX),originY:chunkTXIO5WYQ_cjs.n(d+h.originY)});if(x.exactAdvancesX===void 0)y=false;else for(let h of x.exactAdvancesX)u.push(h);for(let h of x.clusters)p.push({...h,textStart:m.start+h.textStart,textEnd:m.start+h.textEnd,glyphStart:g+h.glyphStart,glyphEnd:g+h.glyphEnd,fontSpan:S});x.glyphs.length&&l.push({font:m.font,glyphStart:g,glyphEnd:i.length,fallbackIndex:m.font===o.environment.font?null:n.indexOf(m.font)}),c+=x.glyphs.reduce((h,b)=>h+b.advanceX,0),d+=x.glyphs.reduce((h,b)=>h+b.advanceY,0),f=Math.max(f,x.metrics.ascent),E=Math.max(E,x.metrics.descent),R=Math.max(R,x.metrics.lineGap);}return chunkTXIO5WYQ_cjs.u({...t,glyphs:i,clusters:p,fontSpans:l,exactAdvancesX:y&&u.length===i.length?u:void 0,metrics:{ascent:chunkTXIO5WYQ_cjs.n(f),descent:chunkTXIO5WYQ_cjs.n(E),lineGap:chunkTXIO5WYQ_cjs.n(R)}},{...o.environment,fallbackOrder:n})}var no=new Map([["Beng",["bng2","beng"]],["Deva",["dev2","deva"]],["Gujr",["gjr2","gujr"]],["Guru",["gur2","guru"]],["Knda",["knd2","knda"]],["Mlym",["mlm2","mlym"]],["Orya",["ory2","orya"]],["Taml",["tml2","taml"]],["Telu",["tel2","telu"]],["Nkoo",["nko "]]]),ro=512,xt=new WeakMap;function io(e,o){let t=new Set,n=new DataView(e.buffer,e.byteOffset,e.byteLength),a=d=>d+2<=n.byteLength?n.getUint16(d):-1,r=d=>d+4<=n.byteLength?n.getUint32(d):-1,s=d=>d+4<=n.byteLength?String.fromCharCode(n.getUint8(d),n.getUint8(d+1),n.getUint8(d+2),n.getUint8(d+3)):"",i=0;if(s(0)==="ttcf"){let d=r(8);if(d<0||o<0||o>=d||(i=r(12+o*4),i<0))return t}let p=a(i+4);if(p<0||p>1024)return t;let l=-1;for(let d=0;d<p;d+=1){let f=i+12+d*16;if(s(f)==="GSUB"){l=r(f+8);break}}if(l<0)return t;let u=a(l+4);if(u<=0)return t;let y=l+u,c=a(y);if(c<0)return t;for(let d=0;d<Math.min(c,ro);d+=1){let f=s(y+2+d*6);f&&t.add(f);}return t}function ao(e,o){let t=xt.get(e);return t||(t=io(e.bytes,e.faceIndex),xt.set(e,t)),(no.get(o)??[o.toLowerCase()]).some(a=>t.has(a))}function Ft(e,o){let t=e.filter(n=>ao(n,o));return t.length===0||t.length===e.length?e:[...t,...e.filter(n=>!t.includes(n))]}function Q(e,o,t){if(!o.text.includes("\u2011"))return t;let n=new Set(t.glyphs.filter(r=>r.id===0).map(r=>r.cluster));if(!n.size)return t;let a=o.text.replace(/\u2011/g,(r,s)=>n.has(s)?"-":r);if(a===o.text)return t;try{let r=e.shape({...o,text:a});return chunkTXIO5WYQ_cjs.u({...r,text:o.text},o.environment)}catch{return t}}function Et(e,o){if(o.length===0)return e;if(o.length>16)throw new RangeError("At most 16 glyph fallback faces are supported");let t=o.map(i=>e.fonts.resolve(i)).filter(i=>!(i instanceof chunkTXIO5WYQ_cjs.d)),n={shape(i){return Q(e.shaper,i,e.shaper.shape(i))}},a=new WeakMap,r={shape(i){let p=e.shaper.shape(i),l=a.get(p);if(l&&l.input.text===i.text&&l.input.fontSizeHalfPoints===i.fontSizeHalfPoints&&l.input.bidiLevel===i.bidiLevel&&l.input.context?.before===i.context?.before&&l.input.context?.after===i.context?.after&&l.input.environment===i.environment)return l.run;let u=s(i,Q(e.shaper,i,p));return a.set(p,{input:i,run:u}),u}},s=(i,p)=>{let l=_(n,i,p);if(!l.glyphs.some(u=>u.id===0)||/^[\t\n\r\f]*$/.test(i.text))return l;if(/^(Latn|Cyrl|Grek|Hebr|Hani|Hira|Kana|Hang|Zyyy|Zinh)$/.test(i.environment.script)||/^(Arab|Syrc|Nkoo|Mong)$/.test(i.environment.script)&&lo(i.text,l)){let u=gt(n,i,l,t);if(u)return u}for(let u of Ft(z(t,i.text),i.environment.script))if(!(u.hash===i.environment.font.hash&&u.faceIndex===i.environment.font.faceIndex))try{let y={...i,environment:chunkTXIO5WYQ_cjs.r({...i.environment,font:u})},c=_(n,y,n.shape(y));if(!c.glyphs.some(d=>d.id===0))return c}catch{}return l};return {...e,shaper:r}}var so=/[\p{Script=Arabic}\p{Script=Syriac}\p{Script=Nko}\p{Script=Mongolian}ـ]/u;function lo(e,o){let t=false;for(let n of o.clusters)if(o.glyphs.slice(n.glyphStart,n.glyphEnd).some(a=>a.id===0)&&(t=true,so.test(e.slice(n.textStart,n.textEnd))))return false;return t}var ee=chunkTXIO5WYQ_cjs.b;function te(e){return typeof e.admittedFontFace=="function"}var co=Object.freeze([{weight:400,style:"normal"},{weight:700,style:"normal"},{weight:400,style:"italic"},{weight:700,style:"italic"}]);function H(e){return Object.freeze({family:e.family,weight:e.weight,style:e.style})}var bt=new WeakMap;function X(e){let o=bt.get(e);return o||bt.set(e,o=uo(e)),o}function uo(e){let o=e.substitution;return Object.freeze({id:e.id,identity:e.identity,family:e.family,request:H(e.request),byteLength:e.byteLength,hash:e.hash,faceIndex:e.faceIndex,substitution:o?Object.freeze({requested:H(o.requested),resolved:H(o.resolved),...o.lineMetrics?{lineMetrics:Object.freeze({...o.lineMetrics})}:{}}):null})}function po(e){return Object.freeze({...X(e),bytes:chunkTXIO5WYQ_cjs.i(e)})}function fo(e,o){if(!e)return null;try{let t=e(o);return !t||t instanceof chunkTXIO5WYQ_cjs.d?null:po(t)}catch{return null}}function Rt(e){return o=>{if(e.status()!=="active")throw e.unavailable();return fo(e.resolve(),o)}}function mo(e){return Object.freeze(e.slice(0,ee).map(o=>Object.freeze({request:H(o.request),partName:o.partName,reason:o.reason})))}function oe(e,o,t,n,a=[],r=new Set){let s=new Map;for(let p of [...e,o]){let l=p.toLowerCase();s.has(l)||s.set(l,p);}let i=[...s.values()].map(p=>{let l=[];for(let y of co){let c=n?.({family:p,...y});!c||c instanceof chunkTXIO5WYQ_cjs.d||l.push(Object.freeze({...y,sourceFamily:c.family,via:c.substitution?"substitution":"direct",identity:c.identity,id:c.id,hash:c.hash,faceIndex:c.faceIndex,substitution:c.substitution}));}let u=r.has(p.trim().toLowerCase())?l.filter(y=>y.via==="direct").length:l.length;return Object.freeze({family:p,coverage:u===4?"complete":u>0?"partial":"none",faces:Object.freeze(l)})});return Object.freeze({requestedFamilies:Object.freeze([...e]),defaultFamily:o,families:Object.freeze(i),originFailures:Object.freeze([...t]),droppedEmbeddedFonts:mo(a)})}function ne(e,o){if(o.onFontResolution){try{let t=o.onFontResolution(e);Promise.resolve(t).catch(n=>{console.warn("[fonts] font-resolution diagnostics callback failed",n);});}catch(t){console.warn("[fonts] font-resolution diagnostics callback failed",t);}return}for(let t of e.originFailures)console.warn("[fonts] a document export font origin failed and was skipped",t);for(let t of e.droppedEmbeddedFonts??[])console.warn("[fonts] a document embedded font face was dropped during export",t);}function re(e,o,t=[]){let n=l=>l.trim().toLowerCase(),a=new Set([...e.requestedFamilies,e.defaultFamily].map(n)),r=new Set(t.map(l=>n(l.family))),s=l=>{if(!(l instanceof chunkDR6W23TB_cjs.q))return true;let u=n(l.request.family);return a.has(u)||!r.has(u)},i=e.originFailures.some(({cause:l})=>l instanceof chunkDR6W23TB_cjs.r?l.causes.length===0||l.causes.some(s):s(l));if(o.fontPolicy!=="strict"||!i&&e.families.every(l=>l.coverage==="complete"))return;let p=e.families.filter(l=>l.coverage!=="complete").map(l=>l.family).join(", ");throw new chunkZJ74LCFI_cjs.h("layoutFailed",`Strict font policy refused export${p?`; incomplete families: ${p}`:"; a font origin failed"}`)}function G(){return new Map}function V(e,o,t,n){if(t.trim().length===0)return null;let a={family:t,weight:n.bold?700:400,style:n.italic?"italic":"normal"},r=chunkTXIO5WYQ_cjs.h(a),s=o.get(r);if(!s){try{s=e.fonts.resolve(a);}catch{return null}o.set(r,s);}return s instanceof chunkTXIO5WYQ_cjs.d?null:s}function St(e,o,t){let n=t.fontFamily??e.defaultFont.family;return V(e,o,n,t)}function ie(e){return typeof e.shapeLaidOutText=="function"}function yo(e){for(let o of e){let t=o.codePointAt(0);if(t!==32&&(t<=255||t>=61440&&t<=61695))return false}return true}function ae(e){let o=G(),t=new WeakMap;return n=>{let a=chunkTXIO5WYQ_cjs.Ga(n.style,n.fontSlot),r=chunkTXIO5WYQ_cjs.Dd(n)?chunkTXIO5WYQ_cjs.Ed(n):chunkTXIO5WYQ_cjs.na(n.text,a);if(r.length===0)return null;let s=a.fontFamily??e.defaultFont.family,i=V(e,o,s,a)??(chunkA5BTVPET_cjs.b(s)&&yo(r)?V(e,o,e.defaultFont.family,a):null);if(!i)return null;try{if(a.smallCaps&&!chunkV7CO55DO_cjs.Q(e.shaper,e.environment,i,a,t))return null;let p=chunkV7CO55DO_cjs.P(e.shaper,e.environment,i,a,r);return Object.freeze({run:p,font:X(p.fontSpans[0]?.font??i),...p.fontSpans.length>1?{fonts:Object.freeze(p.fontSpans.map(l=>X(l.font)))}:{},fixedPointScale:e.environment.fixedPointScale})}catch{return null}}}function Ot(e){return o=>{if(e.status()!=="active")throw e.unavailable();return e.shaping()?.shapeLaidOutText(o)??null}}var C=new Map,vt=new WeakMap,se=0,U;var le=32,wt=chunkTXIO5WYQ_cjs.c;function At(){if(U)return U;let e=(async()=>(await chunkV7CO55DO_cjs.d(),chunkV7CO55DO_cjs.h({...chunkV7CO55DO_cjs.i,maxFontBytes:chunkTXIO5WYQ_cjs.a})))();return U=e,e.catch(()=>{U===e&&(U=void 0);}),e}function Tt(e){let o=G();return chunkV7CO55DO_cjs.ga(e,{resolveFont(t){return St(e,o,t)},fallback:chunkTXIO5WYQ_cjs.ta()})}async function Lt(e,o,t=[],n=false,a){if(!chunkV7CO55DO_cjs.m(e))throw new TypeError("Session exporter shaping requires a prepared font handle");let r=chunkV7CO55DO_cjs.k(a,chunkV7CO55DO_cjs.i),s=await At(),i=Et(await chunkV7CO55DO_cjs.t(e,s,r,o,n),t);return Object.freeze({createMeasurer:()=>Tt(i),resolveFont:p=>i.fonts.resolve(p),shapeLaidOutText:ae(i),producer:["node-export-session",JSON.stringify(t),e.fingerprint,i.operation.shapingHash,`producer:${i.operation.producerVersion}`,`fallback:${chunkTXIO5WYQ_cjs.sa}`].join("|"),extensionFingerprint:e.fingerprint})}function ho(e,o,t){if(!chunkV7CO55DO_cjs.m(e))return Promise.reject(new TypeError("Shared exporter shaping requires a prepared font handle"));let n=chunkV7CO55DO_cjs.k(t,chunkV7CO55DO_cjs.i),a=chunkV7CO55DO_cjs.j(n),r=vt.get(e),s=r?.get(a);if(s)return s;let i=`${chunkV7CO55DO_cjs.o(e)}|${a}`,p=C.get(i);if(!p){if(C.size>=le)return Promise.reject(new RangeError(`Shared exporter shaping is limited to ${le} process-wide configurations`));p=(async()=>{let c=chunkV7CO55DO_cjs.n(e).sources.reduce((f,E)=>f+(E.availability==="forbidden"?0:E.bytes.byteLength),0);if(se+c>wt)throw new RangeError(`Shared exporter shaping font bytes are limited to ${wt} process-wide`);se+=c;let d;try{let f=await At();d=await chunkV7CO55DO_cjs.t(e,f,n,o);}catch(f){throw se-=c,f}return Object.freeze({createMeasurer:()=>Tt(d),shapeLaidOutText:ae(d),shapingHash:d.operation.shapingHash,producerVersion:d.operation.producerVersion})})(),C.set(i,p),p.catch(()=>{C.get(i)===p&&C.delete(i);});}let l=e.fingerprint,u=p.then(y=>Object.freeze({createMeasurer:y.createMeasurer,shapeLaidOutText:y.shapeLaidOutText,producer:["node-export",l,y.shapingHash,`producer:${y.producerVersion}`,`fallback:${chunkTXIO5WYQ_cjs.sa}`].join("|"),extensionFingerprint:l}));return r||vt.set(e,r=new Map),r.set(a,u),u.catch(()=>{r?.get(a)===u&&r.delete(a);}),u}var go="http://schemas.openxmlformats.org/officeDocument/2006/relationships/fontTable";function xo(e){let o=e.currentPackage(),t=(o.relationships.get(o.mainDocumentPart)??[]).find(a=>a.type===go),n;if(t){let a=chunkA5BTVPET_cjs.N(t);a.mode==="Internal"&&a.target.ok&&(n=o.parts.get(a.target.partName));}return n??=o.parts.get("/word/fontTable.xml"),chunkA5BTVPET_cjs.Lg(o,n)}function Pt(e,o){let t=xo(e);if(t.length!==0)return chunkDR6W23TB_cjs.o(n=>{let a=new Set((n.resolvedFaces??[]).map(s=>chunkTXIO5WYQ_cjs.h(s))),r=chunkDR6W23TB_cjs.K(t,{maxFontBytes:chunkTXIO5WYQ_cjs.a,aggregateBudget:Fo(n),shadowedRequests:a});if(o)for(let s of r.dropped){if(o.dropped.length>=ee)break;o.dropped.push(s);}return {sources:r.sources}})}function Fo(e){let o=e.committedSourceBytes;return o===void 0||!Number.isSafeInteger(o)||o<=0?chunkTXIO5WYQ_cjs.c:Math.max(0,chunkTXIO5WYQ_cjs.c-o)}function Eo(e){return te(e)&&ie(e)}var A=0,Mt=Symbol("font-resolution-timeout");function bo(e){let o=0,t=false;return e?.(A),{reserve:a=>{if(t)throw new Error("Document font-byte lease is already released");if(A+a>chunkTXIO5WYQ_cjs.c)throw new chunkZJ74LCFI_cjs.h("layoutFailed",`Active document export font bytes are limited to ${chunkTXIO5WYQ_cjs.c}; requested ${a} bytes with ${A} bytes already active`);A+=a,o+=a,e?.(A);let r=false;return ()=>{r||t||(r=true,A-=a,o-=a,e?.(A));}},release:()=>{t||(t=true,A-=o,o=0,e?.(A));}}}function ce(e,o){return e.attributes.find(t=>t.localName===o)?.value}function Ro(e,o){return e.attributes.find(t=>t.localName===o&&(t.namespaceUri===chunkA5BTVPET_cjs.pa||t.namespaceUri===""))?.value}async function So(e,o){if(o.reuseAcrossRevisions===true)throw new TypeError("reuseAcrossRevisions requires a live view or caller-supplied measurer; document-aware byte sessions are immutable");if(o.signal?.aborted)return {ok:false,reason:"aborted"};let t=chunk5HUVQXET_cjs.Ba(e);if(!t.ok)return t;let{fonts:n,lastResortFonts:a,fontResolutionTimeoutMs:r,fontPolicy:s,onFontResolution:i,glyphFallbacks:p,documentLigatures:l,fontShaping:u,...y}=o,c=Array.isArray(n)?n:[n],d=a===void 0?[]:Array.isArray(a)?a:[a],f,E;try{E=await Oo(t.view,c,{signal:o.signal,timeoutMs:r??o.resourceTimeoutMs,fontPolicy:s,glyphFallbacks:p,documentLigatures:l,fontShaping:u,lastResortFonts:d,onFontResolution:F=>(f=F,i?.(F))});}catch(F){if(F instanceof chunkZJ74LCFI_cjs.h&&F.code==="aborted")return {ok:false,reason:"aborted"};throw F}if(!f)throw E?.dispose(),new chunkZJ74LCFI_cjs.h("layoutFailed","Document font resolution completed without publishing its evidence");let R;try{R=chunkZJ74LCFI_cjs.i(t.view,{...y,reuseAcrossRevisions:!1,...E?{measurer:E.createMeasurer(),producer:o.producer??E.producer}:o.producer?{producer:o.producer}:{}});}catch(F){throw E?.dispose(),F}if(!R.ok)return E?.dispose(),R;let m=R.session,x=E,g="active",S=()=>g==="aborted"?new chunkZJ74LCFI_cjs.h("aborted","Export resource settlement was aborted"):new chunkZJ74LCFI_cjs.h("disposed","Export session has been disposed"),h=F=>{if(g==="active"){g=F,o.signal?.removeEventListener("abort",b);try{m.dispose();}finally{x?.dispose(),x=void 0;}}},b=()=>h("aborted");return o.signal?.addEventListener("abort",b,{once:true}),o.signal?.aborted&&b(),{ok:true,session:Object.freeze({fontResolution:f,layout:()=>g==="active"?m.layout():Promise.reject(S()),layoutFor:F=>g==="active"?m.layoutFor(F):Promise.reject(S()),validatedImageBytes:F=>g==="active"?m.validatedImageBytes(F):null,metafileBytes:F=>g==="active"?m.metafileBytes?.(F)??null:null,chartFallbackResource:F=>g==="active"?m.chartFallbackResource?.(F)??Promise.resolve(void 0):Promise.resolve(void 0),admittedFontFace:Rt({status:()=>g,unavailable:S,resolve:()=>x?.resolveFont}),shapeLaidOutText:Ot({status:()=>g,unavailable:S,shaping:()=>x}),dispose:()=>h("disposed")})}}async function Oo(e,o,t={}){let n=chunkV7CO55DO_cjs.k(t.fontShaping,chunkV7CO55DO_cjs.i);if((t.glyphFallbacks?.length??0)>16)throw new RangeError("At most 16 glyph fallback faces are supported");let a=vo(t.timeoutMs),r=new AbortController,s=()=>r.abort(t.signal?.reason);t.signal?.addEventListener("abort",s,{once:true}),t.signal?.aborted&&s();let i=setTimeout(()=>r.abort(Mt),a);try{de(r.signal);let p=(async()=>{let l=bo(t.onActiveFontBytesChange),u=!1;try{let y=Ao(e).slice(0,chunkDR6W23TB_cjs.c),c=chunkDR6W23TB_cjs.D(e,y),d=[],f={dropped:[]},E=Pt(e,f),R=[...o,...E?[E]:[],...t.lastResortFonts??[]],m=await chunkDR6W23TB_cjs.t(R,{families:[...new Set([...(t.glyphFallbacks??[]).map(F=>F.family),...c.families])].slice(0,chunkDR6W23TB_cjs.c),defaultFamily:chunkDR6W23TB_cjs.d.family,signal:r.signal},{onOriginFailure:F=>d.push(F),reserveOwnedBytes:l.reserve,maxExecutionFontBytes:n.maxFontBytes,awaitDeferred:!0});de(r.signal);let x=chunkDR6W23TB_cjs.f(m??{}),g=chunkDR6W23TB_cjs.F(x,c),S=chunkDR6W23TB_cjs.G(x,g,c);if(g.sources.length===0){let F=oe(y,g.defaultFont.family,d,void 0,f.dropped);ne(F,t),re(F,t,t.glyphFallbacks);return}let h=await Lt(chunkV7CO55DO_cjs.q(g),void 0,t.glyphFallbacks,t.documentLigatures,{maxFontBytes:n.maxFontBytes});de(r.signal);let b=oe(y,g.defaultFont.family,d,h.resolveFont,f.dropped,S);return ne(b,t),re(b,t,t.glyphFallbacks),u=!0,Object.freeze({...h,dispose:l.release})}finally{u||l.release();}})();return await Promise.race([p,wo(r.signal)])}finally{clearTimeout(i),t.signal?.removeEventListener("abort",s);}}function vo(e){if(e===void 0)return 6e4;if(!Number.isFinite(e)||e<=0)throw new RangeError("timeoutMs must be a positive finite number");return Math.max(1,e)}function wo(e){return new Promise((o,t)=>{let n=()=>{t(kt(e));};e.aborted?n():e.addEventListener("abort",n,{once:true});})}function kt(e){let o=e.reason===Mt;return new chunkZJ74LCFI_cjs.h(o?"timedOut":"aborted",o?"Font resolution timed out":"Font resolution was aborted",o?void 0:{cause:e.reason})}function de(e){if(e.aborted)throw kt(e)}function Ao(e){let o=[e.part().root],t=[],n=[],a=new Set([e.part().name]),r=(u,y)=>{!y||a.has(y.name)||(a.add(y.name),u.push(y.root));};for(let u of e.headerFooterPartsBySection()){for(let y of u.headers.values())r(t,y);for(let y of u.footers.values())r(t,y);}for(let u of ["footnote","endnote"])n.push(...To(e,u));let s=e.documentThemeFonts(),i={...s,major:s.major,minor:s.minor,majorEastAsia:s.majorEastAsia??null,minorEastAsia:s.minorEastAsia??null},p=new Map,l=(u,y)=>{let c=chunkNKZVMMHU_cjs.e(u,e.stylesRoot(),i,Po(u,y)),d=chunkDR6W23TB_cjs.B(u,e.numberingRoot(),e.stylesRoot(),i);for(let f of [...c.direct,...Do(u),...d,...chunkDR6W23TB_cjs.y(u,e.stylesRoot(),i),...c.inherited]){let E=f.toLowerCase();p.has(E)||p.set(E,f);}};l(o,"body");for(let u of chunkDR6W23TB_cjs.u(e.currentPackage(),i)){let y=u.toLowerCase();p.has(y)||p.set(y,u);}return l(t,"furniture"),l(n,"note"),[...p.values()]}function To(e,o){let t=chunkA5BTVPET_cjs.gj(e.currentPackage(),o);if(!t)return [];let n=new Set(chunkA5BTVPET_cjs.hj(e.part()).filter(r=>r.noteKind===o).map(r=>r.noteId)),a=[];for(let r of t.root.children){if(r.kind==="textValue")continue;let s=chunkA5BTVPET_cjs.Jc(r),i=chunkA5BTVPET_cjs.Ic(r);(s==="separator"||s==="continuationSeparator"||i!==null&&n.has(i))&&a.push(r);}return a}var Lo="http://schemas.openxmlformats.org/officeDocument/2006/math";function Po(e,o){let t=new Set;for(let n of e){let a=[],r=[{node:n,context:o}];for(;r.length>0;){let{node:s,context:i}=r.pop();s.namespaceUri===chunkA5BTVPET_cjs.pa&&s.localName==="p"&&a.push({paragraph:s,context:i});let p=s.namespaceUri===chunkA5BTVPET_cjs.pa&&s.localName==="txbxContent"&&(i==="body"||i==="note")?"detached":i;for(let l=s.children.length-1;l>=0;l-=1){let u=s.children[l];u.kind!=="textValue"&&r.push({node:u,context:p});}}for(let s of a)Mo(s.paragraph,t,s.context);}return t}function Mo(e,o,t){let n=chunkTXIO5WYQ_cjs.Nc(),a=null,r=null,s="",i=false,p=false,l=false,u=0,y=[];for(let c=e.children.length-1;c>=0;c-=1){let d=e.children[c];d.kind!=="textValue"&&y.push({node:d,runId:null,visibility:k,containerDepth:0});}for(;y.length>0;){let{node:c,runId:d,visibility:f,containerDepth:E}=y.pop();if(E>=chunkA5BTVPET_cjs.Aa||c.namespaceUri===chunkA5BTVPET_cjs.pa&&c.localName==="p")continue;let R=c.namespaceUri===chunkA5BTVPET_cjs.pa&&c.localName==="r"?c.id:d;if(c.namespaceUri===chunkA5BTVPET_cjs.pa&&c.localName==="fldSimple"){let m=ce(c,"instr")??"";chunkTXIO5WYQ_cjs.ke(m,{allowPageFields:t==="body"||t==="furniture",allowRefFields:t==="body"||t==="note",allowPageRef:t==="body",allowAutonum:t==="body"||t==="note"})&&ko(c)!==k&&o.add(c.id);}if(c.namespaceUri===chunkA5BTVPET_cjs.pa&&c.localName==="fldChar"){let m=ce(c,"fldCharType");if(m==="begin")chunkTXIO5WYQ_cjs.Qc(n),n.nesting===1&&(a=R,r=null,s="",i=false,p=false,l=chunkA5BTVPET_cjs.ch(c),u=0);else if(m==="separate"){let x=n.nesting===1;if(chunkTXIO5WYQ_cjs.Sc(n),x){let g=chunkTXIO5WYQ_cjs.Pc(n);s=g.instruction,i=g.overflow||n.nestingOverflow,r=R,p=true;}}else if(m==="end"){if(n.nesting===1){if(n.phase==="instruction"){let g=chunkTXIO5WYQ_cjs.Pc(n);s=g.instruction,i=g.overflow||n.nestingOverflow;}if(!i&&chunkTXIO5WYQ_cjs.je(s,{hasSeparate:p,hasLegacyFormData:l,allowPageFields:t==="body"||t==="furniture",allowRefFields:t==="body"||t==="note",allowPageRef:t==="body",allowAutonum:t==="body"||t==="note"})&&u!==k){let g=r??a;g&&o.add(g);}}chunkTXIO5WYQ_cjs.Tc(n);}continue}if(c.namespaceUri===chunkA5BTVPET_cjs.pa&&(c.localName==="instrText"||c.localName==="delInstrText")){chunkTXIO5WYQ_cjs.Rc(n,Ct(c),c.localName==="delInstrText");continue}n.nesting>0&&chunkTXIO5WYQ_cjs.Uc(n)&&c.namespaceUri===chunkA5BTVPET_cjs.pa&&Dt(c)&&(u|=f);for(let m=c.children.length-1;m>=0;m-=1){let x=c.children[m];x.kind!=="textValue"&&y.push({node:x,runId:R,visibility:f&_t(c),containerDepth:chunkA5BTVPET_cjs.Ba(c,E)});}}chunkTXIO5WYQ_cjs.Oc(n);}function Dt(e){return e.localName==="t"||e.localName==="delText"?Ct(e).length>0:e.localName==="sym"||e.localName==="tab"||e.localName==="br"}var ue=1,It=2,Nt=4,k=ue|It|Nt;function ko(e){let o=[];for(let n of e.children)n.kind!=="textValue"&&o.push({node:n,visibility:k});let t=0;for(;o.length>0;){let{node:n,visibility:a}=o.pop();if(!(n.namespaceUri===chunkA5BTVPET_cjs.pa&&n.localName==="p")){if(n.namespaceUri===chunkA5BTVPET_cjs.pa&&Dt(n)&&(t|=a,t===k))return t;for(let r of n.children)r.kind!=="textValue"&&o.push({node:r,visibility:a&_t(n)});}}return t}function _t(e){return e.namespaceUri!==chunkA5BTVPET_cjs.pa?k:e.localName==="ins"||e.localName==="moveTo"?ue|It:e.localName==="del"||e.localName==="moveFrom"?ue|Nt:k}function Do(e){let o=new Map,t=n=>{let a=chunkNKZVMMHU_cjs.b(n??void 0);if(a===null)return;let r=a.toLowerCase();o.has(r)||o.set(r,a);};for(let n of e){let a=[n];for(;a.length>0;){let r=a.pop();if(r.namespaceUri===Lo&&t(chunkTXIO5WYQ_cjs.zc),r.namespaceUri===chunkA5BTVPET_cjs.pa&&r.localName==="sym"&&t(chunkNKZVMMHU_cjs.c(Ro(r,"font"))),r.localName==="textpath"&&t(chunkA5BTVPET_cjs.Wd(r)),r.namespaceUri===chunkA5BTVPET_cjs.pa&&r.localName==="fldSimple"){let s=ce(r,"instr");t(chunkTXIO5WYQ_cjs.ie(s??"")?.font??null);}if(r.namespaceUri===chunkA5BTVPET_cjs.pa&&r.localName==="p")for(let s of chunkDR6W23TB_cjs.A(r))t(s);for(let s=r.children.length-1;s>=0;s-=1){let i=r.children[s];i.kind!=="textValue"&&a.push(i);}}}return [...o.values()]}function Ct(e){let o="",t=[...e.children].reverse();for(;t.length>0&&o.length<=256;){let n=t.pop();if(n.kind==="textValue")o+=n.value;else for(let a=n.children.length-1;a>=0;a-=1)t.push(n.children[a]);}return o}var qt="FILE_TOO_LARGE",Ut=8;function Io(e){return typeof e=="object"&&e!==null}function jt(e){if(!(!Io(e)||typeof e.code!="string"))return e.code}function zt(e){return e===""||e.toLowerCase()==="localhost"}function No(e){try{let o=decodeURIComponent(e);return o.includes("\0")?null:o}catch{return null}}function Ht(e){let o=No(e);if(o===null)return null;let t=[];for(let n of o.split(/[/\\]/))if(!(n===""||n===".")){if(n===".."){if(t.length===0)return null;t.pop();continue}t.push(n);}return `/${t.join("/")}`}function Xt(e){let o=Ht(e);return o===null?null:o.endsWith("/")?o:`${o}/`}function _o(e){return e==="/"||/^\/[A-Za-z]:\/$/.test(e)}function Co(e){let o;try{o=typeof e=="string"?new URL(e):new URL("href"in e?e.href:String(e));}catch{throw new TypeError("trustedRoot must be an absolute file: URL")}if(o.protocol!=="file:")throw new TypeError("trustedRoot must use the file: protocol");if(o.username!==""||o.password!=="")throw new TypeError("trustedRoot must not include credentials");if(!zt(o.host))throw new TypeError("trustedRoot must be a local file: URL");let t=Xt(o.pathname);if(t===null||_o(t))throw new TypeError("trustedRoot must be a directory inside the filesystem");let n=new URL("file:///");return n.pathname=t,n}function Uo(e){if(typeof e=="string")return [e];if(typeof e=="object"&&e!==null&&"href"in e)return [e];if(Array.isArray(e))return e;throw new TypeError("trustedRoot must be an absolute file: URL")}function Bo(e){let o=Uo(e);if(o.length===0)throw new TypeError("trustedRoot must name at least one directory");if(o.length>Ut)throw new TypeError(`trustedRoot must not exceed ${Ut} directories`);return o.map(Co)}function qo(e){if(!Number.isSafeInteger(e)||e<=0)throw new TypeError("maxBytes must be a positive safe integer");if(e>chunkTXIO5WYQ_cjs.a)throw new TypeError(`maxBytes must not exceed ${chunkTXIO5WYQ_cjs.a}`);return e}function jo(e,o){if(e.protocol!=="file:"||e.username!==""||e.password!==""||!zt(e.host))return null;let t=Ht(e.pathname);if(t===null)return null;for(let n of o){let a=Xt(n.pathname);if(a===null||!t.startsWith(a)||t.length<=a.length)continue;let r=new URL("file:///");return r.pathname=t,r}return null}function zo(e){return typeof e=="string"?new URL(e):"href"in e&&typeof e.href=="string"?new URL(e.href):new URL("url"in e?e.url:String(e))}function Ho(e,o,t){let n=t.relative(t.resolve(e),t.resolve(o));return n!==""&&!n.startsWith("..")&&!t.isAbsolute(n)}function Bt(e,o,t){return e.some(n=>Ho(n,o,t))}async function Xo(e,o){let t=[];for(let n of e)try{t.push(await o(n));}catch(a){if(jt(a)==="ENOENT")continue;throw a}return t}function Go(e){return async(o,{signal:t,maxBytes:n})=>{if(t?.aborted)throw t.reason;let[{open:a,realpath:r},{constants:s},{fileURLToPath:i},p]=await Promise.all([import('fs/promises'),import('fs'),import('url'),import('path')]),l=e.map(f=>p.resolve(i(f.href))),u=p.resolve(i(typeof o=="string"?o:o.href));if(!Bt(l,u,p))throw Object.assign(new Error("packaged file is outside trustedRoot"),{code:"ENOENT"});let y=typeof s.O_NOFOLLOW=="number"?s.O_RDONLY|s.O_NOFOLLOW:"r",c=await a(u,y),d=()=>{c.close();};t?.addEventListener("abort",d,{once:true});try{if(t?.aborted)throw t.reason;let f=await r(u);if(!Bt(await Xo(l,r),f,p))throw Object.assign(new Error("packaged file is outside trustedRoot"),{code:"ENOENT"});let E=(await c.stat()).size;if(!Number.isSafeInteger(E)||E<0||E>n)throw Object.assign(new Error("packaged file exceeds maxBytes"),{code:qt});let R=new Uint8Array(E),m=0;for(;m<R.byteLength;){if(t?.aborted)throw t.reason;let{bytesRead:x}=await c.read(R,m,R.byteLength-m,m);if(x===0)break;m+=x;}if(t?.aborted)throw t.reason;return m===R.byteLength?R:R.slice(0,m)}catch(f){throw t?.aborted?t.reason:f}finally{t?.removeEventListener("abort",d),await c.close().catch(()=>{});}}}function Vo(e){if(e===null||typeof e!="object")throw new TypeError("createPackagedFileFetch requires trustedRoot and maxBytes");if(e.trustedRoot===void 0||e.maxBytes===void 0)throw new TypeError("createPackagedFileFetch requires trustedRoot and maxBytes");let o=Bo(e.trustedRoot),t=qo(e.maxBytes),n=e.read??Go(o),a=e.networkFetch??fetch;return(async(r,s)=>{let i=s?.signal;if(i?.aborted)throw i.reason;let p=zo(r);if(p.protocol!=="file:")return a(p,s);let l=jo(p,o);if(!l)return new Response(null,{status:404});let u=i?new AbortController:void 0,y=()=>u?.abort(i?.reason);i?.addEventListener("abort",y,{once:true});let c;try{if(c=await n(l,{maxBytes:t,...u?{signal:u.signal}:{}}),i?.aborted)throw i.reason;if(c.byteLength>t)return new Response(null,{status:413})}catch(d){if(i?.aborted)throw i.reason;if(u?.signal.aborted)throw u.signal.reason??d;if(d instanceof DOMException&&d.name==="AbortError"||d instanceof Error&&d.name==="AbortError")throw d;let f=jt(d);if(f===qt)return new Response(null,{status:413});if(f==="ENOENT"||f==="ENOTDIR"||f==="ELOOP")return new Response(null,{status:404});throw d}finally{i?.removeEventListener("abort",y);}return new Response(c,{status:200})})}
|
|
2
|
-
Object.defineProperty(exports,"ExportResourceError",{enumerable:true,get:function(){return
|
|
1
|
+
'use strict';var chunkKZZPOZOF_cjs=require('./chunk-KZZPOZOF.cjs'),chunkCDAFCPT6_cjs=require('./chunk-CDAFCPT6.cjs'),chunk4C7JUJDX_cjs=require('./chunk-4C7JUJDX.cjs'),chunkNPWMZIPA_cjs=require('./chunk-NPWMZIPA.cjs'),chunk4NPNKO5U_cjs=require('./chunk-4NPNKO5U.cjs');require('./chunk-Q4MUV5KX.cjs'),require('./chunk-AMOFXSEO.cjs');var chunkJVWRILO3_cjs=require('./chunk-JVWRILO3.cjs'),chunkTFJUIP4X_cjs=require('./chunk-TFJUIP4X.cjs');function Yt(e,o,t){let n=chunkTFJUIP4X_cjs.be().metafile;return n?n.replay(e,o,{textAdvance:t.measureText}):Promise.resolve(null)}function $t(e){return !Number.isFinite(e)||e<=0?.8:Math.max(1,Math.round(e*.8))/e}function _(e,o,t){if(o.environment.features.smcp!==1||!/[\p{Ll} ]/u.test(o.text))return t;let n={...o,environment:{...o.environment,features:{...o.environment.features,smcp:0}}},a=e.shape(n);if(t.glyphs.length!==a.glyphs.length||t.glyphs.some((d,f)=>d.id!==a.glyphs[f]?.id))return t;let r=[],s=0;for(let d of o.text){let f=d===" "||d.toUpperCase()!==d,E=r.at(-1);E&&(E.lower===f||/\p{M}/u.test(d))?E.text+=d:r.push({text:d,start:s,lower:f}),s+=d.length;}let i=[],p=[],l=[],u=true,y=0,c=$t(o.fontSizeHalfPoints);for(let d of o.environment.direction==="rtl"?r.reverse():r){let f=d.lower?c:1,E=[],R=[],m="",x=d.start;for(let h of d.text){let b=d.lower?h.toUpperCase():h;for(let F=0;F<b.length;F++)E.push(x),R.push(x+h.length);m+=b,x+=h.length;}let g=e.shape({...n,text:m}),S=i.length;for(let[h,b]of g.glyphs.entries()){let F=g.exactAdvancesX?.[h];F===void 0?u=false:l.push(F*f),i.push({...b,cluster:E[b.cluster]??d.start,originX:chunkNPWMZIPA_cjs.n(y+Math.round(b.originX*f)),originY:chunkNPWMZIPA_cjs.n(Math.round(b.originY*f)),offsetX:chunkNPWMZIPA_cjs.n(Math.round(b.offsetX*f)),offsetY:chunkNPWMZIPA_cjs.n(Math.round(b.offsetY*f)),advanceX:chunkNPWMZIPA_cjs.n(Math.round(b.advanceX*f)),advanceY:chunkNPWMZIPA_cjs.n(Math.round(b.advanceY*f)),drawScale:f});}for(let h of g.clusters){let b=E[h.textStart]??d.start,F=R[h.textEnd-1]??x,I=chunkNPWMZIPA_cjs.n(Math.round(h.advance*f)),T=p.at(-1);T&&T.textStart===b&&T.textEnd===F?p[p.length-1]={...T,glyphEnd:S+h.glyphEnd,advance:chunkNPWMZIPA_cjs.n(T.advance+I),caretEdges:[chunkNPWMZIPA_cjs.n(0),chunkNPWMZIPA_cjs.n(T.advance+I)]}:p.push({...h,textStart:b,textEnd:F,glyphStart:S+h.glyphStart,glyphEnd:S+h.glyphEnd,advance:I,caretEdges:h.caretEdges.map(Gt=>chunkNPWMZIPA_cjs.n(Math.round(Gt*f))),fontSpan:0});}y+=g.glyphs.reduce((h,b)=>h+Math.round(b.advanceX*f),0);}return {...t,glyphs:i,clusters:p,fontSpans:[{...t.fontSpans[0],glyphStart:0,glyphEnd:i.length}],exactAdvancesX:u&&l.length===i.length?l:void 0}}var yt=new WeakMap;function Kt(e){let o=yt.get(e);return o===void 0&&(o=Qt(e.bytes,e.faceIndex),yt.set(e,o)),o}var Zt=new Set(["COLR","CBDT","sbix"]),Jt=512;function Qt(e,o){let t=new DataView(e.buffer,e.byteOffset,e.byteLength);if(e.byteLength<12)return false;let n=0;if(ht(e,0)==="ttcf"){let r=t.getUint32(8);if(o<0||o>=r||12+4*o+4>e.byteLength||(n=t.getUint32(12+4*o),n+12>e.byteLength))return false}let a=Math.min(t.getUint16(n+4),Jt);for(let r=0;r<a;r++){let s=n+12+r*16;if(s+4>e.byteLength)return false;if(Zt.has(ht(e,s)))return true}return false}function ht(e,o){return String.fromCharCode(e[o],e[o+1],e[o+2],e[o+3])}var eo=/\p{Emoji_Presentation}|️/u;function to(e){return eo.test(e)}function z(e,o){if(e.length<2)return e;let t=e.filter(Kt);if(t.length===0||t.length===e.length)return e;let n=e.filter(a=>!t.includes(a));return to(o)?[...t,...n]:[...n,...t]}var oo=2048;function gt(e,o,t,n){if(!t.clusters.length||t.clusters.length>oo)return null;let a=(m,x)=>{let{context:g,...S}=o,h={...S,text:x,environment:chunkNPWMZIPA_cjs.r({...o.environment,font:m})};return _(e,h,e.shape(h))},r=[],s=new Map;for(let m of [...t.clusters].sort((x,g)=>x.textStart-g.textStart)){let x=o.environment.font,g=o.text.slice(m.textStart,m.textEnd),S=r.at(-1);if(/^[\uFE0E\uFE0F]$/.test(g)&&S&&S.end===m.textStart){S.end=m.textEnd;continue}if(o.environment.script==="Hebr"&&/^\s+$/u.test(g)&&S&&S.font!==o.environment.font&&S.end===m.textStart){S.end=m.textEnd;continue}if(t.glyphs.slice(m.glyphStart,m.glyphEnd).some(b=>b.id===0)){let b=o.text.slice(m.textStart,m.textEnd+1),F=s.get(g)??z(n,b).find(I=>{try{return !a(I,g).glyphs.some(T=>T.id===0)}catch{return false}});if(!F)return null;s.set(g,F),x=F;}let h=r.at(-1);h&&h.font===x&&h.end===m.textStart?h.end=m.textEnd:r.push({start:m.textStart,end:m.textEnd,font:x});}let i=[],p=[],l=[],u=[],y=true,c=0,d=0,f=0,E=0,R=0;for(let m of o.environment.direction==="rtl"?r.reverse():r){let x=a(m.font,o.text.slice(m.start,m.end));if(x.glyphs.some(h=>h.id===0))return null;let g=i.length,S=l.length;for(let h of x.glyphs)i.push({...h,cluster:m.start+h.cluster,originX:chunkNPWMZIPA_cjs.n(c+h.originX),originY:chunkNPWMZIPA_cjs.n(d+h.originY)});if(x.exactAdvancesX===void 0)y=false;else for(let h of x.exactAdvancesX)u.push(h);for(let h of x.clusters)p.push({...h,textStart:m.start+h.textStart,textEnd:m.start+h.textEnd,glyphStart:g+h.glyphStart,glyphEnd:g+h.glyphEnd,fontSpan:S});x.glyphs.length&&l.push({font:m.font,glyphStart:g,glyphEnd:i.length,fallbackIndex:m.font===o.environment.font?null:n.indexOf(m.font)}),c+=x.glyphs.reduce((h,b)=>h+b.advanceX,0),d+=x.glyphs.reduce((h,b)=>h+b.advanceY,0),f=Math.max(f,x.metrics.ascent),E=Math.max(E,x.metrics.descent),R=Math.max(R,x.metrics.lineGap);}return chunkNPWMZIPA_cjs.u({...t,glyphs:i,clusters:p,fontSpans:l,exactAdvancesX:y&&u.length===i.length?u:void 0,metrics:{ascent:chunkNPWMZIPA_cjs.n(f),descent:chunkNPWMZIPA_cjs.n(E),lineGap:chunkNPWMZIPA_cjs.n(R)}},{...o.environment,fallbackOrder:n})}var no=new Map([["Beng",["bng2","beng"]],["Deva",["dev2","deva"]],["Gujr",["gjr2","gujr"]],["Guru",["gur2","guru"]],["Knda",["knd2","knda"]],["Mlym",["mlm2","mlym"]],["Orya",["ory2","orya"]],["Taml",["tml2","taml"]],["Telu",["tel2","telu"]],["Nkoo",["nko "]]]),ro=512,xt=new WeakMap;function io(e,o){let t=new Set,n=new DataView(e.buffer,e.byteOffset,e.byteLength),a=d=>d+2<=n.byteLength?n.getUint16(d):-1,r=d=>d+4<=n.byteLength?n.getUint32(d):-1,s=d=>d+4<=n.byteLength?String.fromCharCode(n.getUint8(d),n.getUint8(d+1),n.getUint8(d+2),n.getUint8(d+3)):"",i=0;if(s(0)==="ttcf"){let d=r(8);if(d<0||o<0||o>=d||(i=r(12+o*4),i<0))return t}let p=a(i+4);if(p<0||p>1024)return t;let l=-1;for(let d=0;d<p;d+=1){let f=i+12+d*16;if(s(f)==="GSUB"){l=r(f+8);break}}if(l<0)return t;let u=a(l+4);if(u<=0)return t;let y=l+u,c=a(y);if(c<0)return t;for(let d=0;d<Math.min(c,ro);d+=1){let f=s(y+2+d*6);f&&t.add(f);}return t}function ao(e,o){let t=xt.get(e);return t||(t=io(e.bytes,e.faceIndex),xt.set(e,t)),(no.get(o)??[o.toLowerCase()]).some(a=>t.has(a))}function Ft(e,o){let t=e.filter(n=>ao(n,o));return t.length===0||t.length===e.length?e:[...t,...e.filter(n=>!t.includes(n))]}function Q(e,o,t){if(!o.text.includes("\u2011"))return t;let n=new Set(t.glyphs.filter(r=>r.id===0).map(r=>r.cluster));if(!n.size)return t;let a=o.text.replace(/\u2011/g,(r,s)=>n.has(s)?"-":r);if(a===o.text)return t;try{let r=e.shape({...o,text:a});return chunkNPWMZIPA_cjs.u({...r,text:o.text},o.environment)}catch{return t}}function Et(e,o){if(o.length===0)return e;if(o.length>16)throw new RangeError("At most 16 glyph fallback faces are supported");let t=o.map(i=>e.fonts.resolve(i)).filter(i=>!(i instanceof chunkNPWMZIPA_cjs.d)),n={shape(i){return Q(e.shaper,i,e.shaper.shape(i))}},a=new WeakMap,r={shape(i){let p=e.shaper.shape(i),l=a.get(p);if(l&&l.input.text===i.text&&l.input.fontSizeHalfPoints===i.fontSizeHalfPoints&&l.input.bidiLevel===i.bidiLevel&&l.input.context?.before===i.context?.before&&l.input.context?.after===i.context?.after&&l.input.environment===i.environment)return l.run;let u=s(i,Q(e.shaper,i,p));return a.set(p,{input:i,run:u}),u}},s=(i,p)=>{let l=_(n,i,p);if(!l.glyphs.some(u=>u.id===0)||/^[\t\n\r\f]*$/.test(i.text))return l;if(/^(Latn|Cyrl|Grek|Hebr|Hani|Hira|Kana|Hang|Zyyy|Zinh)$/.test(i.environment.script)||/^(Arab|Syrc|Nkoo|Mong)$/.test(i.environment.script)&&lo(i.text,l)){let u=gt(n,i,l,t);if(u)return u}for(let u of Ft(z(t,i.text),i.environment.script))if(!(u.hash===i.environment.font.hash&&u.faceIndex===i.environment.font.faceIndex))try{let y={...i,environment:chunkNPWMZIPA_cjs.r({...i.environment,font:u})},c=_(n,y,n.shape(y));if(!c.glyphs.some(d=>d.id===0))return c}catch{}return l};return {...e,shaper:r}}var so=/[\p{Script=Arabic}\p{Script=Syriac}\p{Script=Nko}\p{Script=Mongolian}ـ]/u;function lo(e,o){let t=false;for(let n of o.clusters)if(o.glyphs.slice(n.glyphStart,n.glyphEnd).some(a=>a.id===0)&&(t=true,so.test(e.slice(n.textStart,n.textEnd))))return false;return t}var ee=chunkNPWMZIPA_cjs.b;function te(e){return typeof e.admittedFontFace=="function"}var co=Object.freeze([{weight:400,style:"normal"},{weight:700,style:"normal"},{weight:400,style:"italic"},{weight:700,style:"italic"}]);function H(e){return Object.freeze({family:e.family,weight:e.weight,style:e.style})}var bt=new WeakMap;function X(e){let o=bt.get(e);return o||bt.set(e,o=uo(e)),o}function uo(e){let o=e.substitution;return Object.freeze({id:e.id,identity:e.identity,family:e.family,request:H(e.request),byteLength:e.byteLength,hash:e.hash,faceIndex:e.faceIndex,substitution:o?Object.freeze({requested:H(o.requested),resolved:H(o.resolved),...o.lineMetrics?{lineMetrics:Object.freeze({...o.lineMetrics})}:{}}):null})}function po(e){return Object.freeze({...X(e),bytes:chunkNPWMZIPA_cjs.i(e)})}function fo(e,o){if(!e)return null;try{let t=e(o);return !t||t instanceof chunkNPWMZIPA_cjs.d?null:po(t)}catch{return null}}function Rt(e){return o=>{if(e.status()!=="active")throw e.unavailable();return fo(e.resolve(),o)}}function mo(e){return Object.freeze(e.slice(0,ee).map(o=>Object.freeze({request:H(o.request),partName:o.partName,reason:o.reason})))}function oe(e,o,t,n,a=[],r=new Set){let s=new Map;for(let p of [...e,o]){let l=p.toLowerCase();s.has(l)||s.set(l,p);}let i=[...s.values()].map(p=>{let l=[];for(let y of co){let c=n?.({family:p,...y});!c||c instanceof chunkNPWMZIPA_cjs.d||l.push(Object.freeze({...y,sourceFamily:c.family,via:c.substitution?"substitution":"direct",identity:c.identity,id:c.id,hash:c.hash,faceIndex:c.faceIndex,substitution:c.substitution}));}let u=r.has(p.trim().toLowerCase())?l.filter(y=>y.via==="direct").length:l.length;return Object.freeze({family:p,coverage:u===4?"complete":u>0?"partial":"none",faces:Object.freeze(l)})});return Object.freeze({requestedFamilies:Object.freeze([...e]),defaultFamily:o,families:Object.freeze(i),originFailures:Object.freeze([...t]),droppedEmbeddedFonts:mo(a)})}function ne(e,o){if(o.onFontResolution){try{let t=o.onFontResolution(e);Promise.resolve(t).catch(n=>{console.warn("[fonts] font-resolution diagnostics callback failed",n);});}catch(t){console.warn("[fonts] font-resolution diagnostics callback failed",t);}return}for(let t of e.originFailures)console.warn("[fonts] a document export font origin failed and was skipped",t);for(let t of e.droppedEmbeddedFonts??[])console.warn("[fonts] a document embedded font face was dropped during export",t);}function re(e,o,t=[]){let n=l=>l.trim().toLowerCase(),a=new Set([...e.requestedFamilies,e.defaultFamily].map(n)),r=new Set(t.map(l=>n(l.family))),s=l=>{if(!(l instanceof chunkKZZPOZOF_cjs.q))return true;let u=n(l.request.family);return a.has(u)||!r.has(u)},i=e.originFailures.some(({cause:l})=>l instanceof chunkKZZPOZOF_cjs.r?l.causes.length===0||l.causes.some(s):s(l));if(o.fontPolicy!=="strict"||!i&&e.families.every(l=>l.coverage==="complete"))return;let p=e.families.filter(l=>l.coverage!=="complete").map(l=>l.family).join(", ");throw new chunk4C7JUJDX_cjs.h("layoutFailed",`Strict font policy refused export${p?`; incomplete families: ${p}`:"; a font origin failed"}`)}function G(){return new Map}function V(e,o,t,n){if(t.trim().length===0)return null;let a={family:t,weight:n.bold?700:400,style:n.italic?"italic":"normal"},r=chunkNPWMZIPA_cjs.h(a),s=o.get(r);if(!s){try{s=e.fonts.resolve(a);}catch{return null}o.set(r,s);}return s instanceof chunkNPWMZIPA_cjs.d?null:s}function St(e,o,t){let n=t.fontFamily??e.defaultFont.family;return V(e,o,n,t)}function ie(e){return typeof e.shapeLaidOutText=="function"}function yo(e){for(let o of e){let t=o.codePointAt(0);if(t!==32&&(t<=255||t>=61440&&t<=61695))return false}return true}function ae(e){let o=G(),t=new WeakMap;return n=>{let a=chunkNPWMZIPA_cjs.Ga(n.style,n.fontSlot),r=chunkNPWMZIPA_cjs.Dd(n)?chunkNPWMZIPA_cjs.Ed(n):chunkNPWMZIPA_cjs.na(n.text,a);if(r.length===0)return null;let s=a.fontFamily??e.defaultFont.family,i=V(e,o,s,a)??(chunkTFJUIP4X_cjs.b(s)&&yo(r)?V(e,o,e.defaultFont.family,a):null);if(!i)return null;try{if(a.smallCaps&&!chunkCDAFCPT6_cjs.Q(e.shaper,e.environment,i,a,t))return null;let p=chunkCDAFCPT6_cjs.P(e.shaper,e.environment,i,a,r);return Object.freeze({run:p,font:X(p.fontSpans[0]?.font??i),...p.fontSpans.length>1?{fonts:Object.freeze(p.fontSpans.map(l=>X(l.font)))}:{},fixedPointScale:e.environment.fixedPointScale})}catch{return null}}}function Ot(e){return o=>{if(e.status()!=="active")throw e.unavailable();return e.shaping()?.shapeLaidOutText(o)??null}}var C=new Map,vt=new WeakMap,se=0,U;var le=32,wt=chunkNPWMZIPA_cjs.c;function At(){if(U)return U;let e=(async()=>(await chunkCDAFCPT6_cjs.d(),chunkCDAFCPT6_cjs.h({...chunkCDAFCPT6_cjs.i,maxFontBytes:chunkNPWMZIPA_cjs.a})))();return U=e,e.catch(()=>{U===e&&(U=void 0);}),e}function Tt(e){let o=G();return chunkCDAFCPT6_cjs.ga(e,{resolveFont(t){return St(e,o,t)},fallback:chunkNPWMZIPA_cjs.ta()})}async function Lt(e,o,t=[],n=false,a){if(!chunkCDAFCPT6_cjs.m(e))throw new TypeError("Session exporter shaping requires a prepared font handle");let r=chunkCDAFCPT6_cjs.k(a,chunkCDAFCPT6_cjs.i),s=await At(),i=Et(await chunkCDAFCPT6_cjs.t(e,s,r,o,n),t);return Object.freeze({createMeasurer:()=>Tt(i),resolveFont:p=>i.fonts.resolve(p),shapeLaidOutText:ae(i),producer:["node-export-session",JSON.stringify(t),e.fingerprint,i.operation.shapingHash,`producer:${i.operation.producerVersion}`,`fallback:${chunkNPWMZIPA_cjs.sa}`].join("|"),extensionFingerprint:e.fingerprint})}function ho(e,o,t){if(!chunkCDAFCPT6_cjs.m(e))return Promise.reject(new TypeError("Shared exporter shaping requires a prepared font handle"));let n=chunkCDAFCPT6_cjs.k(t,chunkCDAFCPT6_cjs.i),a=chunkCDAFCPT6_cjs.j(n),r=vt.get(e),s=r?.get(a);if(s)return s;let i=`${chunkCDAFCPT6_cjs.o(e)}|${a}`,p=C.get(i);if(!p){if(C.size>=le)return Promise.reject(new RangeError(`Shared exporter shaping is limited to ${le} process-wide configurations`));p=(async()=>{let c=chunkCDAFCPT6_cjs.n(e).sources.reduce((f,E)=>f+(E.availability==="forbidden"?0:E.bytes.byteLength),0);if(se+c>wt)throw new RangeError(`Shared exporter shaping font bytes are limited to ${wt} process-wide`);se+=c;let d;try{let f=await At();d=await chunkCDAFCPT6_cjs.t(e,f,n,o);}catch(f){throw se-=c,f}return Object.freeze({createMeasurer:()=>Tt(d),shapeLaidOutText:ae(d),shapingHash:d.operation.shapingHash,producerVersion:d.operation.producerVersion})})(),C.set(i,p),p.catch(()=>{C.get(i)===p&&C.delete(i);});}let l=e.fingerprint,u=p.then(y=>Object.freeze({createMeasurer:y.createMeasurer,shapeLaidOutText:y.shapeLaidOutText,producer:["node-export",l,y.shapingHash,`producer:${y.producerVersion}`,`fallback:${chunkNPWMZIPA_cjs.sa}`].join("|"),extensionFingerprint:l}));return r||vt.set(e,r=new Map),r.set(a,u),u.catch(()=>{r?.get(a)===u&&r.delete(a);}),u}var go="http://schemas.openxmlformats.org/officeDocument/2006/relationships/fontTable";function xo(e){let o=e.currentPackage(),t=(o.relationships.get(o.mainDocumentPart)??[]).find(a=>a.type===go),n;if(t){let a=chunkTFJUIP4X_cjs.N(t);a.mode==="Internal"&&a.target.ok&&(n=o.parts.get(a.target.partName));}return n??=o.parts.get("/word/fontTable.xml"),chunkTFJUIP4X_cjs.Rg(o,n)}function Pt(e,o){let t=xo(e);if(t.length!==0)return chunkKZZPOZOF_cjs.o(n=>{let a=new Set((n.resolvedFaces??[]).map(s=>chunkNPWMZIPA_cjs.h(s))),r=chunkKZZPOZOF_cjs.K(t,{maxFontBytes:chunkNPWMZIPA_cjs.a,aggregateBudget:Fo(n),shadowedRequests:a});if(o)for(let s of r.dropped){if(o.dropped.length>=ee)break;o.dropped.push(s);}return {sources:r.sources}})}function Fo(e){let o=e.committedSourceBytes;return o===void 0||!Number.isSafeInteger(o)||o<=0?chunkNPWMZIPA_cjs.c:Math.max(0,chunkNPWMZIPA_cjs.c-o)}function Eo(e){return te(e)&&ie(e)}var A=0,Mt=Symbol("font-resolution-timeout");function bo(e){let o=0,t=false;return e?.(A),{reserve:a=>{if(t)throw new Error("Document font-byte lease is already released");if(A+a>chunkNPWMZIPA_cjs.c)throw new chunk4C7JUJDX_cjs.h("layoutFailed",`Active document export font bytes are limited to ${chunkNPWMZIPA_cjs.c}; requested ${a} bytes with ${A} bytes already active`);A+=a,o+=a,e?.(A);let r=false;return ()=>{r||t||(r=true,A-=a,o-=a,e?.(A));}},release:()=>{t||(t=true,A-=o,o=0,e?.(A));}}}function ce(e,o){return e.attributes.find(t=>t.localName===o)?.value}function Ro(e,o){return e.attributes.find(t=>t.localName===o&&(t.namespaceUri===chunkTFJUIP4X_cjs.pa||t.namespaceUri===""))?.value}async function So(e,o){if(o.reuseAcrossRevisions===true)throw new TypeError("reuseAcrossRevisions requires a live view or caller-supplied measurer; document-aware byte sessions are immutable");if(o.signal?.aborted)return {ok:false,reason:"aborted"};let t=chunkJVWRILO3_cjs.Ba(e);if(!t.ok)return t;let{fonts:n,lastResortFonts:a,fontResolutionTimeoutMs:r,fontPolicy:s,onFontResolution:i,glyphFallbacks:p,documentLigatures:l,fontShaping:u,...y}=o,c=Array.isArray(n)?n:[n],d=a===void 0?[]:Array.isArray(a)?a:[a],f,E;try{E=await Oo(t.view,c,{signal:o.signal,timeoutMs:r??o.resourceTimeoutMs,fontPolicy:s,glyphFallbacks:p,documentLigatures:l,fontShaping:u,lastResortFonts:d,onFontResolution:F=>(f=F,i?.(F))});}catch(F){if(F instanceof chunk4C7JUJDX_cjs.h&&F.code==="aborted")return {ok:false,reason:"aborted"};throw F}if(!f)throw E?.dispose(),new chunk4C7JUJDX_cjs.h("layoutFailed","Document font resolution completed without publishing its evidence");let R;try{R=chunk4C7JUJDX_cjs.i(t.view,{...y,reuseAcrossRevisions:!1,...E?{measurer:E.createMeasurer(),producer:o.producer??E.producer}:o.producer?{producer:o.producer}:{}});}catch(F){throw E?.dispose(),F}if(!R.ok)return E?.dispose(),R;let m=R.session,x=E,g="active",S=()=>g==="aborted"?new chunk4C7JUJDX_cjs.h("aborted","Export resource settlement was aborted"):new chunk4C7JUJDX_cjs.h("disposed","Export session has been disposed"),h=F=>{if(g==="active"){g=F,o.signal?.removeEventListener("abort",b);try{m.dispose();}finally{x?.dispose(),x=void 0;}}},b=()=>h("aborted");return o.signal?.addEventListener("abort",b,{once:true}),o.signal?.aborted&&b(),{ok:true,session:Object.freeze({fontResolution:f,layout:()=>g==="active"?m.layout():Promise.reject(S()),layoutFor:F=>g==="active"?m.layoutFor(F):Promise.reject(S()),validatedImageBytes:F=>g==="active"?m.validatedImageBytes(F):null,metafileBytes:F=>g==="active"?m.metafileBytes?.(F)??null:null,chartFallbackResource:F=>g==="active"?m.chartFallbackResource?.(F)??Promise.resolve(void 0):Promise.resolve(void 0),admittedFontFace:Rt({status:()=>g,unavailable:S,resolve:()=>x?.resolveFont}),shapeLaidOutText:Ot({status:()=>g,unavailable:S,shaping:()=>x}),dispose:()=>h("disposed")})}}async function Oo(e,o,t={}){let n=chunkCDAFCPT6_cjs.k(t.fontShaping,chunkCDAFCPT6_cjs.i);if((t.glyphFallbacks?.length??0)>16)throw new RangeError("At most 16 glyph fallback faces are supported");let a=vo(t.timeoutMs),r=new AbortController,s=()=>r.abort(t.signal?.reason);t.signal?.addEventListener("abort",s,{once:true}),t.signal?.aborted&&s();let i=setTimeout(()=>r.abort(Mt),a);try{de(r.signal);let p=(async()=>{let l=bo(t.onActiveFontBytesChange),u=!1;try{let y=Ao(e).slice(0,chunkKZZPOZOF_cjs.c),c=chunkKZZPOZOF_cjs.D(e,y),d=[],f={dropped:[]},E=Pt(e,f),R=[...o,...E?[E]:[],...t.lastResortFonts??[]],m=await chunkKZZPOZOF_cjs.t(R,{families:[...new Set([...(t.glyphFallbacks??[]).map(F=>F.family),...c.families])].slice(0,chunkKZZPOZOF_cjs.c),defaultFamily:chunkKZZPOZOF_cjs.d.family,signal:r.signal},{onOriginFailure:F=>d.push(F),reserveOwnedBytes:l.reserve,maxExecutionFontBytes:n.maxFontBytes,awaitDeferred:!0});de(r.signal);let x=chunkKZZPOZOF_cjs.f(m??{}),g=chunkKZZPOZOF_cjs.F(x,c),S=chunkKZZPOZOF_cjs.G(x,g,c);if(g.sources.length===0){let F=oe(y,g.defaultFont.family,d,void 0,f.dropped);ne(F,t),re(F,t,t.glyphFallbacks);return}let h=await Lt(chunkCDAFCPT6_cjs.q(g),void 0,t.glyphFallbacks,t.documentLigatures,{maxFontBytes:n.maxFontBytes});de(r.signal);let b=oe(y,g.defaultFont.family,d,h.resolveFont,f.dropped,S);return ne(b,t),re(b,t,t.glyphFallbacks),u=!0,Object.freeze({...h,dispose:l.release})}finally{u||l.release();}})();return await Promise.race([p,wo(r.signal)])}finally{clearTimeout(i),t.signal?.removeEventListener("abort",s);}}function vo(e){if(e===void 0)return 6e4;if(!Number.isFinite(e)||e<=0)throw new RangeError("timeoutMs must be a positive finite number");return Math.max(1,e)}function wo(e){return new Promise((o,t)=>{let n=()=>{t(kt(e));};e.aborted?n():e.addEventListener("abort",n,{once:true});})}function kt(e){let o=e.reason===Mt;return new chunk4C7JUJDX_cjs.h(o?"timedOut":"aborted",o?"Font resolution timed out":"Font resolution was aborted",o?void 0:{cause:e.reason})}function de(e){if(e.aborted)throw kt(e)}function Ao(e){let o=[e.part().root],t=[],n=[],a=new Set([e.part().name]),r=(u,y)=>{!y||a.has(y.name)||(a.add(y.name),u.push(y.root));};for(let u of e.headerFooterPartsBySection()){for(let y of u.headers.values())r(t,y);for(let y of u.footers.values())r(t,y);}for(let u of ["footnote","endnote"])n.push(...To(e,u));let s=e.documentThemeFonts(),i={...s,major:s.major,minor:s.minor,majorEastAsia:s.majorEastAsia??null,minorEastAsia:s.minorEastAsia??null},p=new Map,l=(u,y)=>{let c=chunk4NPNKO5U_cjs.e(u,e.stylesRoot(),i,Po(u,y)),d=chunkKZZPOZOF_cjs.B(u,e.numberingRoot(),e.stylesRoot(),i);for(let f of [...c.direct,...Do(u),...d,...chunkKZZPOZOF_cjs.y(u,e.stylesRoot(),i),...c.inherited]){let E=f.toLowerCase();p.has(E)||p.set(E,f);}};l(o,"body");for(let u of chunkKZZPOZOF_cjs.u(e.currentPackage(),i)){let y=u.toLowerCase();p.has(y)||p.set(y,u);}return l(t,"furniture"),l(n,"note"),[...p.values()]}function To(e,o){let t=chunkTFJUIP4X_cjs.mj(e.currentPackage(),o);if(!t)return [];let n=new Set(chunkTFJUIP4X_cjs.nj(e.part()).filter(r=>r.noteKind===o).map(r=>r.noteId)),a=[];for(let r of t.root.children){if(r.kind==="textValue")continue;let s=chunkTFJUIP4X_cjs.Sc(r),i=chunkTFJUIP4X_cjs.Rc(r);(s==="separator"||s==="continuationSeparator"||i!==null&&n.has(i))&&a.push(r);}return a}var Lo="http://schemas.openxmlformats.org/officeDocument/2006/math";function Po(e,o){let t=new Set;for(let n of e){let a=[],r=[{node:n,context:o}];for(;r.length>0;){let{node:s,context:i}=r.pop();s.namespaceUri===chunkTFJUIP4X_cjs.pa&&s.localName==="p"&&a.push({paragraph:s,context:i});let p=s.namespaceUri===chunkTFJUIP4X_cjs.pa&&s.localName==="txbxContent"&&(i==="body"||i==="note")?"detached":i;for(let l=s.children.length-1;l>=0;l-=1){let u=s.children[l];u.kind!=="textValue"&&r.push({node:u,context:p});}}for(let s of a)Mo(s.paragraph,t,s.context);}return t}function Mo(e,o,t){let n=chunkNPWMZIPA_cjs.Nc(),a=null,r=null,s="",i=false,p=false,l=false,u=0,y=[];for(let c=e.children.length-1;c>=0;c-=1){let d=e.children[c];d.kind!=="textValue"&&y.push({node:d,runId:null,visibility:k,containerDepth:0});}for(;y.length>0;){let{node:c,runId:d,visibility:f,containerDepth:E}=y.pop();if(E>=chunkTFJUIP4X_cjs.Aa||c.namespaceUri===chunkTFJUIP4X_cjs.pa&&c.localName==="p")continue;let R=c.namespaceUri===chunkTFJUIP4X_cjs.pa&&c.localName==="r"?c.id:d;if(c.namespaceUri===chunkTFJUIP4X_cjs.pa&&c.localName==="fldSimple"){let m=ce(c,"instr")??"";chunkNPWMZIPA_cjs.ke(m,{allowPageFields:t==="body"||t==="furniture",allowRefFields:t==="body"||t==="note",allowPageRef:t==="body",allowAutonum:t==="body"||t==="note"})&&ko(c)!==k&&o.add(c.id);}if(c.namespaceUri===chunkTFJUIP4X_cjs.pa&&c.localName==="fldChar"){let m=ce(c,"fldCharType");if(m==="begin")chunkNPWMZIPA_cjs.Qc(n),n.nesting===1&&(a=R,r=null,s="",i=false,p=false,l=chunkTFJUIP4X_cjs.ih(c),u=0);else if(m==="separate"){let x=n.nesting===1;if(chunkNPWMZIPA_cjs.Sc(n),x){let g=chunkNPWMZIPA_cjs.Pc(n);s=g.instruction,i=g.overflow||n.nestingOverflow,r=R,p=true;}}else if(m==="end"){if(n.nesting===1){if(n.phase==="instruction"){let g=chunkNPWMZIPA_cjs.Pc(n);s=g.instruction,i=g.overflow||n.nestingOverflow;}if(!i&&chunkNPWMZIPA_cjs.je(s,{hasSeparate:p,hasLegacyFormData:l,allowPageFields:t==="body"||t==="furniture",allowRefFields:t==="body"||t==="note",allowPageRef:t==="body",allowAutonum:t==="body"||t==="note"})&&u!==k){let g=r??a;g&&o.add(g);}}chunkNPWMZIPA_cjs.Tc(n);}continue}if(c.namespaceUri===chunkTFJUIP4X_cjs.pa&&(c.localName==="instrText"||c.localName==="delInstrText")){chunkNPWMZIPA_cjs.Rc(n,Ct(c),c.localName==="delInstrText");continue}n.nesting>0&&chunkNPWMZIPA_cjs.Uc(n)&&c.namespaceUri===chunkTFJUIP4X_cjs.pa&&Dt(c)&&(u|=f);for(let m=c.children.length-1;m>=0;m-=1){let x=c.children[m];x.kind!=="textValue"&&y.push({node:x,runId:R,visibility:f&_t(c),containerDepth:chunkTFJUIP4X_cjs.Ba(c,E)});}}chunkNPWMZIPA_cjs.Oc(n);}function Dt(e){return e.localName==="t"||e.localName==="delText"?Ct(e).length>0:e.localName==="sym"||e.localName==="tab"||e.localName==="br"}var ue=1,It=2,Nt=4,k=ue|It|Nt;function ko(e){let o=[];for(let n of e.children)n.kind!=="textValue"&&o.push({node:n,visibility:k});let t=0;for(;o.length>0;){let{node:n,visibility:a}=o.pop();if(!(n.namespaceUri===chunkTFJUIP4X_cjs.pa&&n.localName==="p")){if(n.namespaceUri===chunkTFJUIP4X_cjs.pa&&Dt(n)&&(t|=a,t===k))return t;for(let r of n.children)r.kind!=="textValue"&&o.push({node:r,visibility:a&_t(n)});}}return t}function _t(e){return e.namespaceUri!==chunkTFJUIP4X_cjs.pa?k:e.localName==="ins"||e.localName==="moveTo"?ue|It:e.localName==="del"||e.localName==="moveFrom"?ue|Nt:k}function Do(e){let o=new Map,t=n=>{let a=chunk4NPNKO5U_cjs.b(n??void 0);if(a===null)return;let r=a.toLowerCase();o.has(r)||o.set(r,a);};for(let n of e){let a=[n];for(;a.length>0;){let r=a.pop();if(r.namespaceUri===Lo&&t(chunkNPWMZIPA_cjs.zc),r.namespaceUri===chunkTFJUIP4X_cjs.pa&&r.localName==="sym"&&t(chunk4NPNKO5U_cjs.c(Ro(r,"font"))),r.localName==="textpath"&&t(chunkTFJUIP4X_cjs.$d(r)),r.namespaceUri===chunkTFJUIP4X_cjs.pa&&r.localName==="fldSimple"){let s=ce(r,"instr");t(chunkNPWMZIPA_cjs.ie(s??"")?.font??null);}if(r.namespaceUri===chunkTFJUIP4X_cjs.pa&&r.localName==="p")for(let s of chunkKZZPOZOF_cjs.A(r))t(s);for(let s=r.children.length-1;s>=0;s-=1){let i=r.children[s];i.kind!=="textValue"&&a.push(i);}}}return [...o.values()]}function Ct(e){let o="",t=[...e.children].reverse();for(;t.length>0&&o.length<=256;){let n=t.pop();if(n.kind==="textValue")o+=n.value;else for(let a=n.children.length-1;a>=0;a-=1)t.push(n.children[a]);}return o}var qt="FILE_TOO_LARGE",Ut=8;function Io(e){return typeof e=="object"&&e!==null}function jt(e){if(!(!Io(e)||typeof e.code!="string"))return e.code}function zt(e){return e===""||e.toLowerCase()==="localhost"}function No(e){try{let o=decodeURIComponent(e);return o.includes("\0")?null:o}catch{return null}}function Ht(e){let o=No(e);if(o===null)return null;let t=[];for(let n of o.split(/[/\\]/))if(!(n===""||n===".")){if(n===".."){if(t.length===0)return null;t.pop();continue}t.push(n);}return `/${t.join("/")}`}function Xt(e){let o=Ht(e);return o===null?null:o.endsWith("/")?o:`${o}/`}function _o(e){return e==="/"||/^\/[A-Za-z]:\/$/.test(e)}function Co(e){let o;try{o=typeof e=="string"?new URL(e):new URL("href"in e?e.href:String(e));}catch{throw new TypeError("trustedRoot must be an absolute file: URL")}if(o.protocol!=="file:")throw new TypeError("trustedRoot must use the file: protocol");if(o.username!==""||o.password!=="")throw new TypeError("trustedRoot must not include credentials");if(!zt(o.host))throw new TypeError("trustedRoot must be a local file: URL");let t=Xt(o.pathname);if(t===null||_o(t))throw new TypeError("trustedRoot must be a directory inside the filesystem");let n=new URL("file:///");return n.pathname=t,n}function Uo(e){if(typeof e=="string")return [e];if(typeof e=="object"&&e!==null&&"href"in e)return [e];if(Array.isArray(e))return e;throw new TypeError("trustedRoot must be an absolute file: URL")}function Bo(e){let o=Uo(e);if(o.length===0)throw new TypeError("trustedRoot must name at least one directory");if(o.length>Ut)throw new TypeError(`trustedRoot must not exceed ${Ut} directories`);return o.map(Co)}function qo(e){if(!Number.isSafeInteger(e)||e<=0)throw new TypeError("maxBytes must be a positive safe integer");if(e>chunkNPWMZIPA_cjs.a)throw new TypeError(`maxBytes must not exceed ${chunkNPWMZIPA_cjs.a}`);return e}function jo(e,o){if(e.protocol!=="file:"||e.username!==""||e.password!==""||!zt(e.host))return null;let t=Ht(e.pathname);if(t===null)return null;for(let n of o){let a=Xt(n.pathname);if(a===null||!t.startsWith(a)||t.length<=a.length)continue;let r=new URL("file:///");return r.pathname=t,r}return null}function zo(e){return typeof e=="string"?new URL(e):"href"in e&&typeof e.href=="string"?new URL(e.href):new URL("url"in e?e.url:String(e))}function Ho(e,o,t){let n=t.relative(t.resolve(e),t.resolve(o));return n!==""&&!n.startsWith("..")&&!t.isAbsolute(n)}function Bt(e,o,t){return e.some(n=>Ho(n,o,t))}async function Xo(e,o){let t=[];for(let n of e)try{t.push(await o(n));}catch(a){if(jt(a)==="ENOENT")continue;throw a}return t}function Go(e){return async(o,{signal:t,maxBytes:n})=>{if(t?.aborted)throw t.reason;let[{open:a,realpath:r},{constants:s},{fileURLToPath:i},p]=await Promise.all([import('fs/promises'),import('fs'),import('url'),import('path')]),l=e.map(f=>p.resolve(i(f.href))),u=p.resolve(i(typeof o=="string"?o:o.href));if(!Bt(l,u,p))throw Object.assign(new Error("packaged file is outside trustedRoot"),{code:"ENOENT"});let y=typeof s.O_NOFOLLOW=="number"?s.O_RDONLY|s.O_NOFOLLOW:"r",c=await a(u,y),d=()=>{c.close();};t?.addEventListener("abort",d,{once:true});try{if(t?.aborted)throw t.reason;let f=await r(u);if(!Bt(await Xo(l,r),f,p))throw Object.assign(new Error("packaged file is outside trustedRoot"),{code:"ENOENT"});let E=(await c.stat()).size;if(!Number.isSafeInteger(E)||E<0||E>n)throw Object.assign(new Error("packaged file exceeds maxBytes"),{code:qt});let R=new Uint8Array(E),m=0;for(;m<R.byteLength;){if(t?.aborted)throw t.reason;let{bytesRead:x}=await c.read(R,m,R.byteLength-m,m);if(x===0)break;m+=x;}if(t?.aborted)throw t.reason;return m===R.byteLength?R:R.slice(0,m)}catch(f){throw t?.aborted?t.reason:f}finally{t?.removeEventListener("abort",d),await c.close().catch(()=>{});}}}function Vo(e){if(e===null||typeof e!="object")throw new TypeError("createPackagedFileFetch requires trustedRoot and maxBytes");if(e.trustedRoot===void 0||e.maxBytes===void 0)throw new TypeError("createPackagedFileFetch requires trustedRoot and maxBytes");let o=Bo(e.trustedRoot),t=qo(e.maxBytes),n=e.read??Go(o),a=e.networkFetch??fetch;return(async(r,s)=>{let i=s?.signal;if(i?.aborted)throw i.reason;let p=zo(r);if(p.protocol!=="file:")return a(p,s);let l=jo(p,o);if(!l)return new Response(null,{status:404});let u=i?new AbortController:void 0,y=()=>u?.abort(i?.reason);i?.addEventListener("abort",y,{once:true});let c;try{if(c=await n(l,{maxBytes:t,...u?{signal:u.signal}:{}}),i?.aborted)throw i.reason;if(c.byteLength>t)return new Response(null,{status:413})}catch(d){if(i?.aborted)throw i.reason;if(u?.signal.aborted)throw u.signal.reason??d;if(d instanceof DOMException&&d.name==="AbortError"||d instanceof Error&&d.name==="AbortError")throw d;let f=jt(d);if(f===qt)return new Response(null,{status:413});if(f==="ENOENT"||f==="ENOTDIR"||f==="ELOOP")return new Response(null,{status:404});throw d}finally{i?.removeEventListener("abort",y);}return new Response(c,{status:200})})}
|
|
2
|
+
Object.defineProperty(exports,"ExportResourceError",{enumerable:true,get:function(){return chunk4C7JUJDX_cjs.h}});Object.defineProperty(exports,"createNodeImageDecodePort",{enumerable:true,get:function(){return chunk4C7JUJDX_cjs.d}});Object.defineProperty(exports,"exportDestinationNamed",{enumerable:true,get:function(){return chunk4C7JUJDX_cjs.c}});Object.defineProperty(exports,"openDocumentForExport",{enumerable:true,get:function(){return chunk4C7JUJDX_cjs.i}});exports.MAX_SHARED_EXPORT_SHAPING_CONFIGURATIONS=le;exports.acquireSharedExportShaping=ho;exports.createPackagedFileFetch=Vo;exports.hasExportAdmittedFont=te;exports.hasExportLaidOutText=ie;exports.hasFontBackedExportCapabilities=Eo;exports.openFontBackedDocumentForExport=So;exports.replayMetafile=Yt;
|
package/dist/export.d.ts
CHANGED
|
@@ -7,17 +7,17 @@
|
|
|
7
7
|
* @packageDocumentation
|
|
8
8
|
* @public
|
|
9
9
|
*/
|
|
10
|
-
import { a as ReviewDisplayMode, d as ResolvedRevisionMarkup, k as RevisionMarkupOptions } from './revision-projection-
|
|
11
|
-
import { aj as PreservedImageMime, ae as ImageResourceLimits, an as SupportedImageMime, ad as ImageDecodePort } from './tree-op-types-
|
|
12
|
-
import { S as SemanticLayout, p as SemanticReviewArtifactRecord, I as InlineDrawingRecord, A as AnchoredDrawingRecord, q as ListMarkerPictureRecord, T as TextMeasurer, o as FontRequest, r as FontSubstitution, s as ShapedRun, e as StyleSpanRecord } from './semantic-records-
|
|
13
|
-
import { c as DocumentProperties, H as HeadlessDocumentView, d as HeadlessDocumentRejection } from './drawing-graphic-kind-
|
|
10
|
+
import { a as ReviewDisplayMode, d as ResolvedRevisionMarkup, k as RevisionMarkupOptions } from './revision-projection-CrAv-HP6.js';
|
|
11
|
+
import { aj as PreservedImageMime, ae as ImageResourceLimits, an as SupportedImageMime, ad as ImageDecodePort } from './tree-op-types-CGlwCQXg.js';
|
|
12
|
+
import { S as SemanticLayout, p as SemanticReviewArtifactRecord, I as InlineDrawingRecord, A as AnchoredDrawingRecord, q as ListMarkerPictureRecord, T as TextMeasurer, o as FontRequest, r as FontSubstitution, s as ShapedRun, e as StyleSpanRecord } from './semantic-records-thL1rcmG.js';
|
|
13
|
+
import { c as DocumentProperties, H as HeadlessDocumentView, d as HeadlessDocumentRejection } from './drawing-graphic-kind-_5u2E4ee.js';
|
|
14
14
|
import { M as MetafileFont, a as MetafileReplay } from './metafile-drawing-Ce6TuWLm.js';
|
|
15
15
|
export { b as MetafileCommand, c as MetafileDrawing, d as MetafileMatrix, e as MetafilePaint, f as MetafilePathCommand, g as MetafileRaster } from './metafile-drawing-Ce6TuWLm.js';
|
|
16
16
|
import { F as FontShapingOptions } from './font-shaping-policy-BvpkrfxM.js';
|
|
17
|
-
import { P as PreparedLayoutFontConfiguration, L as LayoutShapingInstrumentation } from './layout-shaping-
|
|
17
|
+
import { P as PreparedLayoutFontConfiguration, L as LayoutShapingInstrumentation } from './layout-shaping-D2qNes9-.js';
|
|
18
18
|
import { e as FontOriginFailure, d as FontOrigin } from './font-resolver-Bm9XqTNO.js';
|
|
19
19
|
import './editor-scope-CA6egMaK.js';
|
|
20
|
-
import './tree-package-store-
|
|
20
|
+
import './tree-package-store-D0_BOm-r.js';
|
|
21
21
|
import './editor-fonts-D_-vjuJi.js';
|
|
22
22
|
|
|
23
23
|
/** Source content that cannot be certified by the layout snapshot. @public */
|