ooxml-ui 1.49.0 → 1.50.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (143) hide show
  1. package/README.md +10 -2
  2. package/dist/building-block-styles.d.ts +1 -0
  3. package/dist/chart/format-pane-effects.d.ts +1 -0
  4. package/dist/chart/format-pane-options.d.ts.map +1 -1
  5. package/dist/chart/format-pane-space.d.ts.map +1 -1
  6. package/dist/chart/format-pane-targets.d.ts +1 -0
  7. package/dist/chart/format-pane-view.d.ts +5 -0
  8. package/dist/chart/format-pane-view.d.ts.map +1 -1
  9. package/dist/chrome/find-replace-fields.d.ts +1 -0
  10. package/dist/{chunk-ZTLP52FH.js → chunk-2JHM6UO3.js} +1 -1
  11. package/dist/{chunk-J3ROBM74.js → chunk-63ELC26U.js} +2 -2
  12. package/dist/{chunk-MUY444GW.js → chunk-BY7X2LNM.js} +1 -1
  13. package/dist/{chunk-G5CALQUW.js → chunk-IHZK4NPQ.js} +1 -1
  14. package/dist/{chunk-UEFVC6V4.js → chunk-SRYBCJC2.js} +8 -2
  15. package/dist/controls.js +1 -1
  16. package/dist/docx/building-blocks-read-aloud.d.ts +24 -0
  17. package/dist/docx/building-blocks.d.ts +5 -0
  18. package/dist/docx/editor-core.d.ts +3 -0
  19. package/dist/docx/element-api.d.ts +7 -0
  20. package/dist/docx/index.d.ts +2 -0
  21. package/dist/docx/read-aloud-session.d.ts +39 -0
  22. package/dist/docx/read-aloud.d.ts +14 -1
  23. package/dist/docx/view-options.d.ts +3 -0
  24. package/dist/docx.js +276 -158
  25. package/dist/index.js +4 -4
  26. package/dist/pptx/{chunk-WBGU7BWD.cjs → chunk-2JR2CHTG.cjs} +31 -1
  27. package/dist/pptx/{chunk-UFJBHFSD.cjs → chunk-3JGYWDMR.cjs} +5 -0
  28. package/dist/pptx/{chunk-Q6YXUH4R.cjs → chunk-3YKUOEZ5.cjs} +42 -42
  29. package/dist/pptx/{chunk-4OM7WS6M.mjs → chunk-74ESWHDZ.mjs} +1 -1
  30. package/dist/pptx/{chunk-JOQIMYHE.cjs → chunk-N7RS46HM.cjs} +2494 -555
  31. package/dist/pptx/{chunk-JJP24O2L.mjs → chunk-OWXWCDNG.mjs} +2401 -554
  32. package/dist/pptx/{chunk-PTIGQSTY.mjs → chunk-QYBBLVGY.mjs} +31 -1
  33. package/dist/pptx/{chunk-2P6TH4ZE.mjs → chunk-VOBKKF45.mjs} +5 -0
  34. package/dist/pptx/dom/index.cjs +375 -375
  35. package/dist/pptx/dom/index.mjs +7 -7
  36. package/dist/pptx/i18n/index.cjs +6 -6
  37. package/dist/pptx/i18n/index.mjs +1 -1
  38. package/dist/pptx/i18n/translations-en.d.ts.map +1 -1
  39. package/dist/pptx/index.cjs +3443 -3075
  40. package/dist/pptx/index.mjs +3 -3
  41. package/dist/pptx/render/building-block-actions.d.ts +106 -0
  42. package/dist/pptx/render/building-block-actions.d.ts.map +1 -0
  43. package/dist/pptx/render/building-block-custom-shows.d.ts +74 -0
  44. package/dist/pptx/render/building-block-custom-shows.d.ts.map +1 -0
  45. package/dist/pptx/render/building-block-document-properties.d.ts +78 -0
  46. package/dist/pptx/render/building-block-document-properties.d.ts.map +1 -0
  47. package/dist/pptx/render/building-block-font-embedding.d.ts +42 -0
  48. package/dist/pptx/render/building-block-font-embedding.d.ts.map +1 -0
  49. package/dist/pptx/render/building-block-password.d.ts +71 -0
  50. package/dist/pptx/render/building-block-password.d.ts.map +1 -0
  51. package/dist/pptx/render/building-block-show-dialogs.d.ts +61 -0
  52. package/dist/pptx/render/building-block-show-dialogs.d.ts.map +1 -0
  53. package/dist/pptx/render/building-block-show-settings.d.ts +61 -0
  54. package/dist/pptx/render/building-block-show-settings.d.ts.map +1 -0
  55. package/dist/pptx/render/building-block-signatures.d.ts +68 -0
  56. package/dist/pptx/render/building-block-signatures.d.ts.map +1 -0
  57. package/dist/pptx/render/building-blocks/action-groups.d.ts +61 -0
  58. package/dist/pptx/render/building-blocks/action-groups.d.ts.map +1 -0
  59. package/dist/pptx/render/building-blocks/actions-types.d.ts +110 -0
  60. package/dist/pptx/render/building-blocks/actions-types.d.ts.map +1 -0
  61. package/dist/pptx/render/building-blocks/find-bar-controller.d.ts +18 -0
  62. package/dist/pptx/render/building-blocks/find-bar-controller.d.ts.map +1 -0
  63. package/dist/pptx/render/building-blocks/find-highlight-dom.d.ts +20 -0
  64. package/dist/pptx/render/building-blocks/find-highlight-dom.d.ts.map +1 -0
  65. package/dist/pptx/render/building-blocks/find-layout.d.ts +62 -0
  66. package/dist/pptx/render/building-blocks/find-layout.d.ts.map +1 -0
  67. package/dist/pptx/render/building-blocks/groups/file-dialog-groups.d.ts +45 -0
  68. package/dist/pptx/render/building-blocks/groups/file-dialog-groups.d.ts.map +1 -0
  69. package/dist/pptx/render/building-blocks/groups/index.d.ts +25 -0
  70. package/dist/pptx/render/building-blocks/groups/index.d.ts.map +1 -0
  71. package/dist/pptx/render/building-blocks/groups/show-dialog-groups.d.ts +79 -0
  72. package/dist/pptx/render/building-blocks/groups/show-dialog-groups.d.ts.map +1 -0
  73. package/dist/pptx/render/building-blocks/hyperlink-edit-data.d.ts +57 -0
  74. package/dist/pptx/render/building-blocks/hyperlink-edit-data.d.ts.map +1 -0
  75. package/dist/pptx/render/building-blocks/index.d.ts +19 -0
  76. package/dist/pptx/render/building-blocks/index.d.ts.map +1 -0
  77. package/dist/pptx/render/building-blocks/media-element-from-file.d.ts +23 -0
  78. package/dist/pptx/render/building-blocks/media-element-from-file.d.ts.map +1 -0
  79. package/dist/pptx/render/building-blocks/mode.d.ts +11 -0
  80. package/dist/pptx/render/building-blocks/mode.d.ts.map +1 -0
  81. package/dist/pptx/render/building-blocks/requests.d.ts +96 -0
  82. package/dist/pptx/render/building-blocks/requests.d.ts.map +1 -0
  83. package/dist/pptx/render/building-blocks/session.d.ts +84 -0
  84. package/dist/pptx/render/building-blocks/session.d.ts.map +1 -0
  85. package/dist/pptx/render/building-blocks/toolbar.d.ts +56 -0
  86. package/dist/pptx/render/building-blocks/toolbar.d.ts.map +1 -0
  87. package/dist/pptx/render/chart-format/chart-format-source.d.ts.map +1 -1
  88. package/dist/pptx/render/controller/index.d.ts +4 -0
  89. package/dist/pptx/render/controller/index.d.ts.map +1 -1
  90. package/dist/pptx/render/controller/ribbon-display-controller.d.ts +80 -0
  91. package/dist/pptx/render/controller/ribbon-display-controller.d.ts.map +1 -0
  92. package/dist/pptx/render/controller/save-revision.d.ts +83 -0
  93. package/dist/pptx/render/controller/save-revision.d.ts.map +1 -0
  94. package/dist/pptx/render/editor-chrome/ribbon-css.d.ts +1 -1
  95. package/dist/pptx/render/editor-chrome/ribbon-css.d.ts.map +1 -1
  96. package/dist/pptx/render/font-catalog.cjs +3 -3
  97. package/dist/pptx/render/font-catalog.d.ts +27 -3
  98. package/dist/pptx/render/font-catalog.d.ts.map +1 -1
  99. package/dist/pptx/render/font-catalog.mjs +1 -1
  100. package/dist/pptx/render/index.d.ts +12 -0
  101. package/dist/pptx/render/index.d.ts.map +1 -1
  102. package/dist/pptx/render/insert-chart.d.ts +12 -0
  103. package/dist/pptx/render/insert-chart.d.ts.map +1 -1
  104. package/dist/pptx/render/read-only-recommendation.d.ts +2 -0
  105. package/dist/pptx/render/read-only-recommendation.d.ts.map +1 -1
  106. package/dist/pptx/render/ribbon-display.d.ts +50 -0
  107. package/dist/pptx/render/ribbon-display.d.ts.map +1 -0
  108. package/dist/pptx/render/ribbon-home-state-extras.d.ts.map +1 -1
  109. package/dist/pptx/render/stage-element-ids.d.ts +9 -0
  110. package/dist/pptx/render/stage-element-ids.d.ts.map +1 -1
  111. package/dist/pptx/render/viewer-props-manifest.d.ts.map +1 -1
  112. package/dist/pptx/render/viewer-zoom-store.d.ts.map +1 -1
  113. package/dist/pptx/render/viewport-navigation.d.ts +93 -0
  114. package/dist/pptx/render/viewport-navigation.d.ts.map +1 -0
  115. package/dist/pptx/render/zoom-step.d.ts +9 -2
  116. package/dist/pptx/render/zoom-step.d.ts.map +1 -1
  117. package/dist/pptx/{smartart-insert-preview-I6S2OSWU.cjs → smartart-insert-preview-WPIGM6UQ.cjs} +5 -5
  118. package/dist/pptx/{smartart-insert-preview-KQJPGRDR.mjs → smartart-insert-preview-ZHDQ5QDD.mjs} +4 -4
  119. package/dist/pptx/types.d.ts +20 -0
  120. package/dist/pptx/types.d.ts.map +1 -1
  121. package/dist/ribbon/color-preview.d.ts +0 -1
  122. package/dist/teams.js +2 -2
  123. package/dist/visio/controller.d.ts +11 -0
  124. package/dist/visio/index.d.ts +1 -0
  125. package/dist/visio/text-edit-outcome.d.ts +41 -0
  126. package/dist/visio/viewer-inline-text.d.ts +7 -0
  127. package/dist/visio.js +137 -14
  128. package/dist/xlsx/building-blocks.d.ts +24 -0
  129. package/dist/xlsx/commands/test-support.d.ts +1 -0
  130. package/dist/xlsx/component.d.ts +7 -0
  131. package/dist/xlsx/context-menu/host-api.d.ts +55 -0
  132. package/dist/xlsx/context-menu/menu.d.ts +9 -0
  133. package/dist/xlsx/dialogs/find-replace.d.ts +2 -4
  134. package/dist/xlsx/editor-core.d.ts +2 -0
  135. package/dist/xlsx/host-find.d.ts +3 -0
  136. package/dist/xlsx/host-function.d.ts +3 -0
  137. package/dist/xlsx/host-open.d.ts +10 -0
  138. package/dist/xlsx/host-workflows.d.ts +9 -0
  139. package/dist/xlsx/index.d.ts +1 -0
  140. package/dist/xlsx/surface-actions.d.ts +20 -4
  141. package/dist/xlsx/surface-workflows.d.ts +132 -0
  142. package/dist/xlsx.js +543 -205
  143. package/package.json +2 -2
@@ -5,8 +5,8 @@ import { buildLayoutPreviewGeometry } from './chunk-A63ASSCH.mjs';
5
5
  import { remapTextToSegments } from './chunk-GVH4QN7R.mjs';
6
6
  import { ANIMATION_RIBBON_CATEGORIES, MOTION_PATH_FAMILIES, motionPathPresetsByFamily, motionPathPresetLabelKey, motionPathFamilyLabelKey, animationsGated, animationsLabel, motionPathPresetById, DEFAULT_MOTION_PATH_PRESET_ID, canRequestAnimations } from './chunk-6B3UUVRS.mjs';
7
7
  import { applyCaseTransformToSegments } from './chunk-APQ3OOAT.mjs';
8
- import { buildFontCatalog } from './chunk-PTIGQSTY.mjs';
9
- import { RIBBON_SHAPE_SWATCHES, withExclusiveLineSpacing, splitTextStyleUpdate, mergeTextStyleUpdate, overrideParagraphProperties, TEXT_DECORATION_FLAGS, reconcileDecorationFlags, overrideParagraphIndents, paragraphOverridePatch, canInteractWithElement } from './chunk-FUKVYJPM.mjs';
8
+ import { buildFontCatalog } from './chunk-QYBBLVGY.mjs';
9
+ import { RIBBON_SHAPE_SWATCHES, withExclusiveLineSpacing, splitTextStyleUpdate, mergeTextStyleUpdate, overrideParagraphProperties, TEXT_DECORATION_FLAGS, reconcileDecorationFlags, overrideParagraphIndents, paragraphOverridePatch, canInteractWithElement, resetSlideLayoutPath } from './chunk-FUKVYJPM.mjs';
10
10
  import { CHARACTER_SPACING_OPTIONS, CHANGE_CASE_OPTIONS, LINE_SPACING_OPTIONS, COMMON_FONT_SIZES } from './chunk-SMSCEGAE.mjs';
11
11
  import { isUrlSafe, parsePpactionUrl, safeOpenUrl, isPpactionUrl, resolveHyperlinkHref, clampSlideIndex } from './chunk-7FXQHSPE.mjs';
12
12
  import { createImageElementFromFile } from './chunk-L55MIOBC.mjs';
@@ -22,10 +22,10 @@ import { A4_PORTRAIT } from './chunk-WHUMPYEM.mjs';
22
22
  import { escapeHtml } from './chunk-IEAO7N4E.mjs';
23
23
  import { TOUCH, tok, OFFICE_TOKENS, installOfficeUiTheme, withOfficeThemeCss, installOfficeUiThemeFor, LEGACY_OFFICE_THEME_TOKENS, legacyThemeBridge, GALLERY_THEME_PRESETS, activeGalleryThemePreset } from './chunk-G4VNRJUX.mjs';
24
24
  import { resolveTableCellImageUrls, resolveTextFillBlipUrls, collectMediaElements, resolveMediaElementSource } from './chunk-AEQGGKRZ.mjs';
25
- import { CHART_FORMAT_STRINGS, CHART_FORMAT_LOCALES, translationsEn } from './chunk-2P6TH4ZE.mjs';
25
+ import { CHART_FORMAT_STRINGS, CHART_FORMAT_LOCALES, translationsEn } from './chunk-VOBKKF45.mjs';
26
26
  import { createControllerStore } from './chunk-PM2SOLK3.mjs';
27
27
  import { updateTextSegmentStyle } from './chunk-PEDGPFLR.mjs';
28
- import { addSmartArtNode, addSmartArtNodeBefore, addSmartArtNodeAbove, addSmartArtNodeAsChild, evaluatePresetShape, flattenNodes, updateMergeAttrsInRawXml, chartDataToSheet, chartDataApplySheetEdits, chartSupportsSecondaryAxis, isChartSeriesOnSecondaryAxis, readChartElementFormat, setSmartArtNodeStyle, updateSmartArtNodeText, THEME_COLOR_SCHEME_KEYS, parseChartFormatTargetKey, withChartSeriesOnSecondaryAxis, withChartSeriesOptions, withChartAxisOptions, withChartLegendOptions, withChartDataLabelOptions, withChartElementFormat, reflowSmartArtPictures, applySmartArtQuickStyle3d, reorderSmartArtNode, demoteSmartArtNode, promoteSmartArtNode, removeSmartArtNode, createChartElement, interpretSmartArtLayout, styleStroke, strokeFor, nodeTextStyle, fitFontSize, truncate, nodeOpacity, nodeStroke, nodeFill, styleShadow, gearPoints, buildTree, treeWidth, treeDepth, MIN_ELEMENT_SIZE, makeStoreAwareId, hasShapeProperties, getElementTextContent, hasTextProperties, isImageLikeElement, applyDrawingColorTransforms as applyDrawingColorTransforms$1, hslToRgb as hslToRgb$1, PRESET_COLOR_MAP, getSubstituteFontFamily, evaluateGuides, deobfuscateFont, chartDataChangeType, resetChartElementFormat, isNativeAfterAnimationOnly, resolveThemeColorRef, resolveOoxmlPresetMapping, getCapturedPreset, resolveDirectionSubtype, capturedPresetNativeAnimation, timingCurveToAccelDecel, applyAfterAnimationFromEditorList, parsePanoseString, EMU_PER_PX as EMU_PER_PX$1, DEFAULT_POWERPOINT_TABLE_STYLE_ID, DEFAULT_SCHEME_COLOR_MAP as DEFAULT_SCHEME_COLOR_MAP$1, ELEMENT_PARAGRAPH_GEOMETRY_KEYS, createAutoNumberSequence, nextAutoNumber, breakAutoNumberRun, getLinkedTextBoxSegments, deriveSlideTitle, svgPathToPolygons, createBuiltinVariables, resolveCoordinate, getPresetConnectionSites, getConnectorPathGeometry, getShapeType, detectFontFormat, getPptxLoadLimitViolation, createEditorId, reassignDescendantIds, checkMissingAltText, checkMissingSlideTitle, checkLowContrast, checkComplexTables, checkBlankSlide, checkDuplicateTitles, rebaseCommentMentions, renameSlideMaster, deleteSlideMaster, duplicateSlideMaster, insertSlideMaster, renameLayout, deleteLayout, duplicateLayout, insertLayout, switchSmartArtLayout, buildThemeColorMap, resolveModifyVerifierAlgorithmName, verifyModifyPassword, evaluateCustomGeometryPaths, cloneElement, SLIDE_PACKAGE_CLIPBOARD_MIME, deserializeSlidePackageClipboard, importSlidePackage, PptxHandler, createSlideClipboardPackage, serializeSlidePackageClipboard, serializePptxToJson, PPTX_JSON_MIME_TYPE, douglasPeucker, resolveEffectTiming, lookupPresetShape, normalizeStShapeType, resolveCustomGeometryGuideContext, smartArtQuickStyleHas3d, relayoutSmartArt, customGeometryPathsToSvgSubpaths, BACKGROUND_STYLE_PRESETS, THEME_EFFECT_SCHEMES, findThemeEffectSchemeByName, SWITCHABLE_LAYOUT_TYPES, reResolveSlideFonts, reResolveSlideColors, reResolveElementColors, reResolveElementFonts, resolveOpacitySet, resolveTableBackgroundFillRef, resolveTableBackgroundEffectRef, getRoundRectRadiusPx, resolveCustomGeometryToken, formatSchemeKey, cropShapeForPresetGeometry, resolveVisibilitySetTiming, resolveTableStyleLineRef, backgroundStylePreset, ooxmlGradientAngleToCssDegrees, themeColorRefFromColorChoice } from 'ooxml-core/pptx';
28
+ import { addSmartArtNode, addSmartArtNodeBefore, addSmartArtNodeAbove, addSmartArtNodeAsChild, evaluatePresetShape, flattenNodes, updateMergeAttrsInRawXml, chartDataToSheet, chartDataApplySheetEdits, chartModelLabelPositions, chartSupportsSecondaryAxis, isChartSeriesOnSecondaryAxis, readChartElementFormat, setSmartArtNodeStyle, updateSmartArtNodeText, THEME_COLOR_SCHEME_KEYS, parseChartFormatTargetKey, withChartSeriesOnSecondaryAxis, withChartSeriesOptions, withChartAxisOptions, withChartLegendOptions, withChartDataLabelOptions, withChartElementFormat, reflowSmartArtPictures, applySmartArtQuickStyle3d, reorderSmartArtNode, demoteSmartArtNode, promoteSmartArtNode, removeSmartArtNode, createChartElement, interpretSmartArtLayout, styleStroke, strokeFor, nodeTextStyle, fitFontSize, truncate, nodeOpacity, nodeStroke, nodeFill, styleShadow, gearPoints, buildTree, treeWidth, treeDepth, MIN_ELEMENT_SIZE, makeStoreAwareId, hasShapeProperties, getElementTextContent, hasTextProperties, isImageLikeElement, applyDrawingColorTransforms as applyDrawingColorTransforms$1, hslToRgb as hslToRgb$1, PRESET_COLOR_MAP, getSubstituteFontFamily, evaluateGuides, deobfuscateFont, chartDataChangeType, resetChartElementFormat, isNativeAfterAnimationOnly, resolveThemeColorRef, resolveOoxmlPresetMapping, getCapturedPreset, resolveDirectionSubtype, capturedPresetNativeAnimation, timingCurveToAccelDecel, applyAfterAnimationFromEditorList, parsePanoseString, EMU_PER_PX as EMU_PER_PX$1, DEFAULT_POWERPOINT_TABLE_STYLE_ID, DEFAULT_SCHEME_COLOR_MAP as DEFAULT_SCHEME_COLOR_MAP$1, ELEMENT_PARAGRAPH_GEOMETRY_KEYS, createAutoNumberSequence, nextAutoNumber, breakAutoNumberRun, getLinkedTextBoxSegments, deriveSlideTitle, svgPathToPolygons, createBuiltinVariables, resolveCoordinate, getPresetConnectionSites, getConnectorPathGeometry, getShapeType, detectFontFormat, getPptxLoadLimitViolation, createEditorId, reassignDescendantIds, checkMissingAltText, checkMissingSlideTitle, checkLowContrast, checkComplexTables, checkBlankSlide, checkDuplicateTitles, rebaseCommentMentions, resolveModifyVerifierAlgorithmName, inspectSignaturesFromBuffer, renameSlideMaster, deleteSlideMaster, duplicateSlideMaster, insertSlideMaster, renameLayout, deleteLayout, duplicateLayout, insertLayout, switchSmartArtLayout, buildThemeColorMap, verifyModifyPassword, evaluateCustomGeometryPaths, cloneElement, SLIDE_PACKAGE_CLIPBOARD_MIME, deserializeSlidePackageClipboard, importSlidePackage, PptxHandler, createSlideClipboardPackage, serializeSlidePackageClipboard, serializePptxToJson, PPTX_JSON_MIME_TYPE, douglasPeucker, resolveEffectTiming, lookupPresetShape, normalizeStShapeType, resolveCustomGeometryGuideContext, smartArtQuickStyleHas3d, relayoutSmartArt, customGeometryPathsToSvgSubpaths, BACKGROUND_STYLE_PRESETS, THEME_EFFECT_SCHEMES, findThemeEffectSchemeByName, SWITCHABLE_LAYOUT_TYPES, reResolveSlideFonts, reResolveSlideColors, reResolveElementColors, reResolveElementFonts, resolveOpacitySet, resolveTableBackgroundFillRef, resolveTableBackgroundEffectRef, getRoundRectRadiusPx, resolveCustomGeometryToken, formatSchemeKey, cropShapeForPresetGeometry, resolveVisibilitySetTiming, resolveTableStyleLineRef, backgroundStylePreset, ooxmlGradientAngleToCssDegrees, themeColorRefFromColorChoice } from 'ooxml-core/pptx';
29
29
  export { AFTER_ANIMATION_VALUES, DEFAULT_AFTER_ANIMATION_DIM_COLOR, algorithmParam, applySpeedToDuration, buildTree, chartGridAddCategory, chartGridAddSeries, chartGridRemoveCategory, chartGridRemoveSeries, chartGridSetCategoryLabel, chartGridSetCellValue, chevronPoints, colour, discoverArrangement, findConstraint, fitFontSize, flattenNodes, gearPoints, getAfterAnimation, getAfterAnimationState, interpretSmartArtLayout, isNativeAfterAnimationOnly, itemNode, nodeFill, nodeOpacity, nodeStroke, nodeTextStyle, numericParam, ratioConstraint, reassignDescendantIds, resolveEffectTiming, resolveFlowDirection, resolveIterationCount, setAfterAnimation, setAfterAnimationColor, shouldHoldEndState, strokeFor, styleShadow, styleStroke, treeDepth, treeWidth, truncate } from 'ooxml-core/pptx';
30
30
  import { SHAPE_GALLERY_CATEGORIES, shapeGalleryCategoryKey, shapeGalleryNameKey, RESIZE_HANDLE_GEOMETRY, computeSnap, snapToGridStep, routeOrthogonalConnector, waypointsToPathD, elbowSegmentCount, curvedElbowPathD, arrowKeyDelta, flattenSvgPath, applyDragDelta, computeSnapToShape, applyResize, lockResizeAspect, createRotationDrag, boxCenter, snapAngle, imageRectFromCrop, cropUpdateFromRects, resolveRotateHandlePlacement, pictureTileAlignment, elbowWaypoints as elbowWaypoints$1, pictureFillCounterTransform, pictureTileGeometry } from 'ooxml-core/geometry';
31
31
  export { CANVAS_SENTINEL, PADDING_DEFAULT, RESIZE_HANDLES, RESIZE_HANDLE_GEOMETRY, ROTATE_STEM_PX, ROUTING_PADDING_DEFAULT, SNAP_THRESHOLD, aStarOrthogonal, alignElements, applyDragDelta, applyResize, boxCenter, buildGraphNodes, computeAlign, computeDistribute, computeRotation, computeSnap, computeSnapToShape, createRotationDrag, cropUpdateFromRects, directPathClear, distributeElements, heuristic, imageRectFromCrop, inflateRect, isCornerHandle, lockResizeAspect, pointInRect, pointKey, resolveAlignReferenceBox, rotateDelta, routeConnector, routeOrthogonalConnector, segmentIntersectsRect, simplifyPath, snapAngle, snapBox, snapToGridStep, snapValue, usesSlideReference, waypointsToPathD, waypointsToPathData } from 'ooxml-core/geometry';
@@ -37,7 +37,7 @@ import { isParagraphSeparatorSegment } from 'ooxml-core/pptx/editor/render/text-
37
37
  export { isParagraphSeparatorSegment } from 'ooxml-core/pptx/editor/render/text-segment-paragraph-break';
38
38
  import { convertLatexToOmml, convertOmmlToMathMl } from 'ooxml-core/math';
39
39
  export { convertLatexToOmml, convertOmmlToLatex, convertOmmlToMathMl, ommlToMathml } from 'ooxml-core/math';
40
- import { applyChartDataSheetEdits, chartDataSheetCellEdit, chartDataSheetPasteEdits, chartSeriesEntries, chartGroupPaintsLine, chartTargetShape, chartSeriesSecondaryAxisSupported, chartTargetHasText, chartFormatTargetKey, chartDrawingColorFromHex, chartSeriesOnSecondaryAxis, chartSeriesMarkersSupported, chartSeriesAnalysisSupported, resolveChartGradient, chartTargetEffects, chartTargetTextFormatting, CHART_MARKER_SYMBOLS, chartPointsToEmu, chartEffectEditsFromAppearance, chartThreeDFromAppearance, chartDrawingGradientFrom, chartTargetThreeD, fitChartTrendline, findChartStylePreset, CHART_STYLE_PRESETS, sameChartColors, resolveChart3DProjection, sortGradientStops, removeGradientStop, updateGradientStop, CHART_QUICK_LAYOUTS, findChartColorPalette, niceValueAxisBounds, axisTargetIntervals, chartPaletteColors, CHART_COLOR_PALETTES, CHART_QUICK_LAYOUT_AXIS_TITLE } from 'ooxml-core/chart';
40
+ import { applyChartDataSheetEdits, chartDataSheetCellEdit, chartDataSheetPasteEdits, chartSeriesEntries, chartLabelPositions, chartGroupPaintsLine, chartTargetShape, chartSeriesSecondaryAxisSupported, chartTargetHasText, chartFormatTargetKey, chartDrawingColorFromHex, chartSeriesOnSecondaryAxis, chartSeriesMarkersSupported, chartSeriesAnalysisSupported, resolveChartGradient, chartTargetEffects, chartTargetTextFormatting, CHART_MARKER_SYMBOLS, chartPointsToEmu, chartEffectEditsFromAppearance, chartThreeDFromAppearance, chartDrawingGradientFrom, chartTargetThreeD, fitChartTrendline, findChartStylePreset, CHART_STYLE_PRESETS, sameChartColors, resolveChart3DProjection, sortGradientStops, removeGradientStop, updateGradientStop, CHART_QUICK_LAYOUTS, findChartColorPalette, niceValueAxisBounds, axisTargetIntervals, chartPaletteColors, CHART_COLOR_PALETTES, CHART_QUICK_LAYOUT_AXIS_TITLE } from 'ooxml-core/chart';
41
41
  import { ARROWHEAD_LABEL_KEYS, ARROW_SIZE_LABEL_KEYS, SMARTART_LAYOUT_LABEL_KEYS } from 'ooxml-core/pptx/editor/render/schema-label-keys';
42
42
  export { ARROWHEAD_LABEL_KEYS, ARROW_SIZE_LABEL_KEYS, SMARTART_COLOR_SCHEME_LABEL_KEYS, SMARTART_LAYOUT_LABEL_KEYS, SMARTART_STYLE_LABEL_KEYS, THEME_COLOR_SLOT_LABEL_KEYS, schemaLabel } from 'ooxml-core/pptx/editor/render/schema-label-keys';
43
43
  export { createDefaultChartUserShape, listChartUserShapeDescriptors, pixelRectToAbsAnchor, pixelRectToRelAnchor, validateChartUserShapeAnchor, withChartUserShapeAdded, withChartUserShapeRemoved, withChartUserShapeUpdated } from 'ooxml-core/pptx/editor/render/chart-user-shape-edit';
@@ -73,7 +73,7 @@ import { createDepartureChannel } from 'ooxml-core/pptx/editor/render/collaborat
73
73
  export { DEPARTURE_CHANNEL, createDepartureChannel, removeAwarenessStatesLocally } from 'ooxml-core/pptx/editor/render/collaboration-departure';
74
74
  import { createSnapshotTextPositions } from 'ooxml-core/pptx/editor/render/collaboration-text-snapshot-positions';
75
75
  export { createSnapshotTextPositions } from 'ooxml-core/pptx/editor/render/collaboration-text-snapshot-positions';
76
- import { clearCustomShowActions, deleteCustomShow, copyCustomShow, createCustomShow, nextCustomShowId, moveCustomShowSlide, addSlidesToCustomShow, removeSlidesFromCustomShow, renameCustomShow } from 'ooxml-core/pptx/editor/render/custom-show-operations';
76
+ import { clearCustomShowActions, deleteCustomShow, copyCustomShow, createCustomShow, nextCustomShowId, setCustomShowSlides, customShowSlides, moveCustomShowSlide, addSlidesToCustomShow, removeSlidesFromCustomShow, renameCustomShow } from 'ooxml-core/pptx/editor/render/custom-show-operations';
77
77
  export { addSection, deleteSection, generateSectionId, groupSlidesBySection, moveSectionDown, moveSectionUp, moveSlidesToSection, renameSection, resolveSlideId } from 'ooxml-core/pptx/editor/render/section-operations';
78
78
  import { createBlankSlide, createSlidePaste, captureSlideClipboardTemplates, captureSlideClipboard, makeSlideId } from 'ooxml-core/pptx/editor/render/slide-operations';
79
79
  export { applySlidePasteTemplates, captureSlideClipboard, captureSlideClipboardTemplates, createBlankSlide, createSlidePaste, insertSlidePaste, makeSlideId } from 'ooxml-core/pptx/editor/render/slide-operations';
@@ -5136,8 +5136,8 @@ function createGlyphOutlineLookup(cache3) {
5136
5136
 
5137
5137
  // src/pptx/render/text-warp-outline-font-cache.ts
5138
5138
  function toArrayBuffer(bytes) {
5139
- const copy = bytes.slice();
5140
- return copy.buffer;
5139
+ const copy2 = bytes.slice();
5140
+ return copy2.buffer;
5141
5141
  }
5142
5142
  function primaryFontFamily(family2) {
5143
5143
  const first = family2.split(",")[0] ?? family2;
@@ -7926,7 +7926,10 @@ function labelOptions(labels) {
7926
7926
  fields.push(check("labels.showPercent", "labelPercentage", "Percentage", labels.showPercent));
7927
7927
  }
7928
7928
  fields.push(check("labels.showLegendKey", "labelLegendKey", "Legend key", labels.showLegendKey));
7929
- const positions2 = labelPositions(type);
7929
+ const accepted = labels.positions;
7930
+ const positions2 = labelPositions(type).filter(
7931
+ ([value]) => accepted === void 0 || accepted.includes(value)
7932
+ );
7930
7933
  if (positions2.length > 0) {
7931
7934
  fields.push({
7932
7935
  id: "labels.position",
@@ -8228,11 +8231,15 @@ function pptxChartFormatSource(data) {
8228
8231
  showValue: labels.showValue,
8229
8232
  showPercent: labels.showPercent,
8230
8233
  showLegendKey: labels.showLegendKey,
8231
- position: labels.position
8234
+ position: labels.position,
8235
+ ...positionsOf(chartModelLabelPositions(data, seriesIndex))
8232
8236
  };
8233
8237
  }
8234
8238
  };
8235
8239
  }
8240
+ function positionsOf(positions2) {
8241
+ return positions2 ? { positions: positions2 } : {};
8242
+ }
8236
8243
 
8237
8244
  // src/pptx/render/chart-format/chart-format-pane-model.ts
8238
8245
  function chartFormatTabs(data, targetKey, mode = "chart") {
@@ -24934,6 +24941,119 @@ function newEquationElement(x = DEFAULT_X, y = EQUATION_DEFAULT_Y) {
24934
24941
  ]
24935
24942
  };
24936
24943
  }
24944
+
24945
+ // src/pptx/render/ribbon-display.ts
24946
+ var RIBBON_DISPLAY_MODES = ["fullScreen", "tabs", "always"];
24947
+ var DEFAULT_RIBBON_DISPLAY_MODE = "always";
24948
+ var LABEL_KEYS = {
24949
+ fullScreen: "pptx.ribbon.display.fullScreen",
24950
+ tabs: "pptx.ribbon.display.tabs",
24951
+ always: "pptx.ribbon.display.always"
24952
+ };
24953
+ var RIBBON_DISPLAY_OPTIONS_LABEL_KEY = "pptx.ribbon.displayOptions";
24954
+ var RIBBON_DISPLAY_REVEAL_LABEL_KEY = "pptx.ribbon.showRibbon";
24955
+ function normalizeRibbonDisplayMode(value) {
24956
+ return RIBBON_DISPLAY_MODES.includes(value) ? value : DEFAULT_RIBBON_DISPLAY_MODE;
24957
+ }
24958
+ function ribbonDisplayMenu(current) {
24959
+ return RIBBON_DISPLAY_MODES.map((mode) => ({
24960
+ mode,
24961
+ labelKey: LABEL_KEYS[mode],
24962
+ checked: mode === current
24963
+ }));
24964
+ }
24965
+ function toggleRibbonCollapsed(mode) {
24966
+ return mode === "always" ? "tabs" : "always";
24967
+ }
24968
+ function ribbonDisplayLayout(mode, peek) {
24969
+ if (mode === "always") return { titleBar: true, tabs: true, commands: "docked", reveal: false };
24970
+ if (mode === "tabs")
24971
+ return { titleBar: true, tabs: true, commands: peek ? "overlay" : "hidden", reveal: false };
24972
+ return { titleBar: false, tabs: peek, commands: peek ? "overlay" : "hidden", reveal: !peek };
24973
+ }
24974
+
24975
+ // src/pptx/render/controller/ribbon-display-controller.ts
24976
+ var RIBBON_AUTO_COLLAPSE_MEDIA = "(max-height: 500px)";
24977
+ function derive(inputs) {
24978
+ const automatic = inputs.mode === "always" && inputs.autoCollapse && inputs.shortViewport && !inputs.chosen;
24979
+ const effectiveMode = automatic ? "tabs" : inputs.mode;
24980
+ const peek = effectiveMode === "always" ? false : inputs.peek;
24981
+ return {
24982
+ mode: inputs.mode,
24983
+ effectiveMode,
24984
+ peek,
24985
+ menuOpen: inputs.menuOpen,
24986
+ layout: ribbonDisplayLayout(effectiveMode, peek),
24987
+ menu: ribbonDisplayMenu(effectiveMode)
24988
+ };
24989
+ }
24990
+ function createRibbonDisplayController(options = {}) {
24991
+ let inputs = {
24992
+ mode: normalizeRibbonDisplayMode(options.initial),
24993
+ peek: false,
24994
+ menuOpen: false,
24995
+ autoCollapse: false,
24996
+ shortViewport: false,
24997
+ chosen: false
24998
+ };
24999
+ const store = createControllerStore(derive(inputs));
25000
+ const commit = (patch) => {
25001
+ const next2 = { ...inputs, ...patch };
25002
+ if (Object.keys(next2).every((key) => next2[key] === inputs[key])) {
25003
+ return;
25004
+ }
25005
+ inputs = next2;
25006
+ store.set(derive(inputs));
25007
+ };
25008
+ const choose = (mode) => {
25009
+ const changed = mode !== store.getSnapshot().effectiveMode;
25010
+ commit({ mode, chosen: true, peek: false, menuOpen: false });
25011
+ if (changed) {
25012
+ options.onChange?.(mode);
25013
+ }
25014
+ };
25015
+ const dismiss = () => commit({ peek: false, menuOpen: false });
25016
+ return {
25017
+ getSnapshot: store.getSnapshot,
25018
+ subscribe: store.subscribe,
25019
+ setMode: (mode) => commit({ mode: normalizeRibbonDisplayMode(mode), peek: false, menuOpen: false }),
25020
+ choose,
25021
+ toggleCollapsed: () => choose(toggleRibbonCollapsed(store.getSnapshot().effectiveMode)),
25022
+ tabChosen(tab) {
25023
+ if (tab !== "file" && store.getSnapshot().effectiveMode === "tabs") {
25024
+ commit({ peek: true });
25025
+ }
25026
+ },
25027
+ reveal() {
25028
+ if (store.getSnapshot().effectiveMode === "fullScreen") {
25029
+ commit({ peek: true });
25030
+ }
25031
+ },
25032
+ dismiss,
25033
+ setMenuOpen: (open) => commit({ menuOpen: open }),
25034
+ toggleMenu: () => commit({ menuOpen: !inputs.menuOpen }),
25035
+ // Changing the setting is a fresh instruction: it applies again even after the user
25036
+ // picked a mode by hand.
25037
+ setAutoCollapse: (enabled) => commit({
25038
+ autoCollapse: enabled,
25039
+ chosen: enabled === inputs.autoCollapse ? inputs.chosen : false
25040
+ }),
25041
+ setShortViewport: (short) => commit({ shortViewport: short }),
25042
+ handleKeydown(event) {
25043
+ if (event.key === "F1" && event.ctrlKey) {
25044
+ event.preventDefault();
25045
+ choose(toggleRibbonCollapsed(store.getSnapshot().effectiveMode));
25046
+ return true;
25047
+ }
25048
+ const { peek, menuOpen } = store.getSnapshot();
25049
+ if (event.key === "Escape" && (peek || menuOpen)) {
25050
+ dismiss();
25051
+ return true;
25052
+ }
25053
+ return false;
25054
+ }
25055
+ };
25056
+ }
24937
25057
  function clampDepth(depth) {
24938
25058
  const value = depth ?? DEFAULT_EDITOR_HISTORY_DEPTH;
24939
25059
  return Number.isFinite(value) ? Math.max(1, Math.floor(value)) : DEFAULT_EDITOR_HISTORY_DEPTH;
@@ -27157,6 +27277,49 @@ function withSaveProgress(storage, controller) {
27157
27277
  }
27158
27278
  });
27159
27279
  }
27280
+
27281
+ // src/pptx/render/controller/save-revision.ts
27282
+ function createSaveRevisionController(deps) {
27283
+ let revision = 0;
27284
+ let mark;
27285
+ let savedRevision = 0;
27286
+ const observe = () => {
27287
+ const sources = deps.getSources();
27288
+ if (sources.length === 0 || autosaveSourcesChanged(mark, sources)) {
27289
+ revision += 1;
27290
+ mark = autosaveSnapshotMark("", sources);
27291
+ }
27292
+ return revision;
27293
+ };
27294
+ return {
27295
+ getRevision: observe,
27296
+ getSavedRevision: () => savedRevision,
27297
+ async snapshot() {
27298
+ const at = observe();
27299
+ const content = await deps.serialize();
27300
+ return { revision: at, content };
27301
+ },
27302
+ acknowledge(acknowledged) {
27303
+ const current = observe();
27304
+ if (!Number.isInteger(acknowledged) || acknowledged < 1 || acknowledged > current) {
27305
+ return { status: "unknown", revision: acknowledged };
27306
+ }
27307
+ if (acknowledged < savedRevision) {
27308
+ return { status: "stale", revision: acknowledged, savedRevision };
27309
+ }
27310
+ const repeated = acknowledged === savedRevision;
27311
+ savedRevision = acknowledged;
27312
+ if (acknowledged !== current) {
27313
+ return { status: "pending", revision: acknowledged, currentRevision: current };
27314
+ }
27315
+ deps.markClean();
27316
+ if (!repeated) {
27317
+ deps.discardRecovery();
27318
+ }
27319
+ return { status: "clean", revision: acknowledged };
27320
+ }
27321
+ };
27322
+ }
27160
27323
  var TEMPLATE_REF_WIDTH_EMU = 12192e3;
27161
27324
  var TEMPLATE_REF_HEIGHT_EMU = 6858e3;
27162
27325
  var DEFAULT_SLIDE_WIDTH_PX = 1280;
@@ -37308,10 +37471,10 @@ function buildMorphTextBodyPlan(pairs, context3, durationMs, measure2) {
37308
37471
  plan.parts.set(outgoingId, part2);
37309
37472
  plan.parts.set(incomingId, part2);
37310
37473
  const body = part2 === "body";
37311
- const copy = body ? morphBodyCopy : morphTextCopy;
37474
+ const copy2 = body ? morphBodyCopy : morphTextCopy;
37312
37475
  plan.groups.push({
37313
- outgoing: copy(body ? from : upright.from, outgoingId),
37314
- incoming: copy(body ? to : upright.to, incomingId)
37476
+ outgoing: copy2(body ? from : upright.from, outgoingId),
37477
+ incoming: copy2(body ? to : upright.to, incomingId)
37315
37478
  });
37316
37479
  }
37317
37480
  }
@@ -48057,18 +48220,18 @@ function recordLiveColorLeaves(leaves, value, patch) {
48057
48220
  }
48058
48221
  function writeLeaf(container, path, leaf) {
48059
48222
  const [head, ...rest] = path;
48060
- const copy = Array.isArray(container) ? [...container] : { ...isContainer(container) ? container : {} };
48061
- const record = copy;
48223
+ const copy2 = Array.isArray(container) ? [...container] : { ...isContainer(container) ? container : {} };
48224
+ const record = copy2;
48062
48225
  if (rest.length > 0) {
48063
48226
  record[head] = writeLeaf(record[head], rest, leaf);
48064
48227
  } else if (leaf.present) {
48065
48228
  record[head] = leaf.value;
48066
- } else if (Array.isArray(copy)) {
48229
+ } else if (Array.isArray(copy2)) {
48067
48230
  record[head] = void 0;
48068
48231
  } else {
48069
48232
  delete record[head];
48070
48233
  }
48071
- return copy;
48234
+ return copy2;
48072
48235
  }
48073
48236
  function isEmptyContainer(value) {
48074
48237
  return isContainer(value) && Object.keys(value).length === 0;
@@ -49128,9 +49291,9 @@ var mintObjectUrl = (bytes, mime) => {
49128
49291
  if (!hasObjectUrlSupport()) {
49129
49292
  return null;
49130
49293
  }
49131
- const copy = new Uint8Array(bytes.length);
49132
- copy.set(bytes);
49133
- return URL.createObjectURL(new Blob([copy], { type: mime }));
49294
+ const copy2 = new Uint8Array(bytes.length);
49295
+ copy2.set(bytes);
49296
+ return URL.createObjectURL(new Blob([copy2], { type: mime }));
49134
49297
  };
49135
49298
  function createEmbeddedFontsSheet(doc, styleId) {
49136
49299
  let liveUrls = [];
@@ -50558,7 +50721,7 @@ function createViewerCommandStore(initial, reduce) {
50558
50721
 
50559
50722
  // src/pptx/render/zoom-step.ts
50560
50723
  var ZOOM_STEP = 0.1;
50561
- var MIN_ZOOM_SCALE = 0.2;
50724
+ var MIN_ZOOM_SCALE = 0.1;
50562
50725
  var MAX_ZOOM_SCALE = 5;
50563
50726
  function roundZoom(scale3) {
50564
50727
  return Math.round(scale3 * 100) / 100;
@@ -50590,8 +50753,14 @@ var DEFAULT_VIEWER_ZOOM_STATE = {
50590
50753
  fitScale: 1,
50591
50754
  manual: false
50592
50755
  };
50756
+ function atFit(state) {
50757
+ return state.zoom === 1 && !state.manual ? state : { ...state, zoom: 1, manual: false };
50758
+ }
50593
50759
  function withZoom(state, zoom) {
50594
50760
  const clamped = clampZoomScale(zoom);
50761
+ if (clamped === 1) {
50762
+ return atFit(state);
50763
+ }
50595
50764
  if (clamped === state.zoom && state.manual) {
50596
50765
  return state;
50597
50766
  }
@@ -50606,7 +50775,7 @@ function reduceViewerZoom(state, command2) {
50606
50775
  case "set-zoom":
50607
50776
  return withZoom(state, command2.zoom);
50608
50777
  case "zoom-to-fit":
50609
- return state.zoom === 1 && !state.manual ? state : { ...state, zoom: 1, manual: false };
50778
+ return atFit(state);
50610
50779
  case "set-fit-scale": {
50611
50780
  const fitScale = Number.isFinite(command2.fitScale) && command2.fitScale > 0 ? command2.fitScale : 1;
50612
50781
  return fitScale === state.fitScale ? state : { ...state, fitScale };
@@ -50628,6 +50797,344 @@ function viewerZoomPercent(zoom) {
50628
50797
  return Math.round(zoom * 100);
50629
50798
  }
50630
50799
 
50800
+ // src/pptx/render/viewport-navigation.ts
50801
+ var VIEWPORT_STAGE_SELECTOR = '[aria-roledescription="slide"]';
50802
+ var DRAG_PAN_THRESHOLD_PX = 4;
50803
+ var MAX_LAYOUT_FRAMES = 6;
50804
+ var ANCHOR_REUSE_MS = 400;
50805
+ var ANCHOR_REUSE_DISTANCE_PX = 2;
50806
+ function zoomAnchorAt(stage, clientX, clientY) {
50807
+ if (!(stage.width > 0) || !(stage.height > 0)) {
50808
+ return null;
50809
+ }
50810
+ return {
50811
+ fx: (clientX - stage.left) / stage.width,
50812
+ fy: (clientY - stage.top) / stage.height,
50813
+ clientX,
50814
+ clientY
50815
+ };
50816
+ }
50817
+ function anchoredScrollPosition(scroll, stage, anchor) {
50818
+ return {
50819
+ left: scroll.left + stage.left + anchor.fx * stage.width - anchor.clientX,
50820
+ top: scroll.top + stage.top + anchor.fy * stage.height - anchor.clientY
50821
+ };
50822
+ }
50823
+ function viewportCanPan(viewport) {
50824
+ return viewport.scrollWidth > viewport.clientWidth || viewport.scrollHeight > viewport.clientHeight;
50825
+ }
50826
+ function resetViewportScroll(viewport) {
50827
+ viewport.scrollLeft = 0;
50828
+ viewport.scrollTop = 0;
50829
+ }
50830
+ var SPACE_OWNER_SELECTOR = [
50831
+ "input",
50832
+ "textarea",
50833
+ "select",
50834
+ "button",
50835
+ "a[href]",
50836
+ // Space toggles a disclosure and plays or pauses media with native controls.
50837
+ "summary",
50838
+ "video[controls]",
50839
+ "audio[controls]",
50840
+ '[role="button"]',
50841
+ '[role="checkbox"]',
50842
+ '[role="combobox"]',
50843
+ '[role="menuitem"]',
50844
+ '[role="menuitemcheckbox"]',
50845
+ '[role="menuitemradio"]',
50846
+ '[role="option"]',
50847
+ '[role="radio"]',
50848
+ '[role="searchbox"]',
50849
+ '[role="switch"]',
50850
+ '[role="tab"]',
50851
+ '[role="textbox"]'
50852
+ ].join(",");
50853
+ function eventOwnsSpaceKey(event) {
50854
+ return targetOwnsSpaceKey(event.composedPath?.()[0] ?? event.target);
50855
+ }
50856
+ function targetOwnsSpaceKey(target) {
50857
+ const element = target;
50858
+ if (!element || typeof element.closest !== "function") {
50859
+ return false;
50860
+ }
50861
+ return element.isContentEditable === true || element.closest(SPACE_OWNER_SELECTOR) !== null;
50862
+ }
50863
+ var TOUCH_EVENTS = ["touchstart", "touchend", "touchcancel"];
50864
+ function attachViewportNavigation(viewport, options) {
50865
+ const doc = viewport.ownerDocument;
50866
+ const win = doc.defaultView;
50867
+ const requestFrame = options.requestFrame ?? ((callback) => win?.requestAnimationFrame(callback) ?? 0);
50868
+ const cancelFrame = options.cancelFrame ?? ((handle) => win?.cancelAnimationFrame(handle));
50869
+ const now = options.now ?? (() => win?.performance.now() ?? Date.now());
50870
+ const isActive = () => options.isActive?.() ?? true;
50871
+ const wheelBuffer = createWheelStepBuffer();
50872
+ const originalCursor = viewport.style.cursor;
50873
+ let pending3 = null;
50874
+ let gesture = null;
50875
+ let frame = 0;
50876
+ let gestureStartZoom = null;
50877
+ let fingers = 0;
50878
+ let hovering = false;
50879
+ let spaceHeld = false;
50880
+ let pan = null;
50881
+ const findStage = () => viewport.querySelector(VIEWPORT_STAGE_SELECTOR);
50882
+ const applyPending = () => {
50883
+ frame = 0;
50884
+ if (!pending3) {
50885
+ return;
50886
+ }
50887
+ const rect3 = findStage()?.getBoundingClientRect();
50888
+ if (!rect3 || rect3.width === pending3.width) {
50889
+ pending3.frames += 1;
50890
+ if (pending3.frames < MAX_LAYOUT_FRAMES) {
50891
+ frame = requestFrame(applyPending);
50892
+ } else {
50893
+ pending3 = null;
50894
+ }
50895
+ return;
50896
+ }
50897
+ const next2 = anchoredScrollPosition(
50898
+ { left: viewport.scrollLeft, top: viewport.scrollTop },
50899
+ rect3,
50900
+ pending3.anchor
50901
+ );
50902
+ pending3 = null;
50903
+ viewport.scrollLeft = next2.left;
50904
+ viewport.scrollTop = next2.top;
50905
+ };
50906
+ const gestureAnchor = (rect3, clientX, clientY) => {
50907
+ const time = now();
50908
+ const continues = gesture !== null && time - gesture.time <= ANCHOR_REUSE_MS && Math.abs(clientX - gesture.anchor.clientX) <= ANCHOR_REUSE_DISTANCE_PX && Math.abs(clientY - gesture.anchor.clientY) <= ANCHOR_REUSE_DISTANCE_PX;
50909
+ const anchor = continues ? { ...gesture.anchor, clientX, clientY } : rect3 ? zoomAnchorAt(rect3, clientX, clientY) : null;
50910
+ gesture = anchor ? { anchor, time } : null;
50911
+ return anchor;
50912
+ };
50913
+ const zoomAt = (zoom, clientX, clientY) => {
50914
+ const before = options.getZoom();
50915
+ const rect3 = findStage()?.getBoundingClientRect();
50916
+ const anchor = gestureAnchor(rect3, clientX, clientY);
50917
+ if (rect3 && pending3 && pending3.width === rect3.width) {
50918
+ if (anchor) {
50919
+ pending3.anchor = anchor;
50920
+ }
50921
+ } else {
50922
+ pending3 = rect3 && anchor ? { anchor, width: rect3.width, frames: 0 } : null;
50923
+ }
50924
+ options.setZoom(zoom);
50925
+ if (options.getZoom() === before) {
50926
+ pending3 = null;
50927
+ return;
50928
+ }
50929
+ if (pending3 && frame === 0) {
50930
+ frame = requestFrame(applyPending);
50931
+ }
50932
+ };
50933
+ const onWheel = (event) => {
50934
+ if (!isActive()) {
50935
+ return;
50936
+ }
50937
+ const mapped = mapEditingWheel(event, wheelBuffer, true);
50938
+ if (mapped.intent !== "zoom") {
50939
+ return;
50940
+ }
50941
+ event.preventDefault();
50942
+ zoomAt(options.getZoom() + mapped.deltaScale, event.clientX, event.clientY);
50943
+ };
50944
+ const onTouches = (event) => {
50945
+ fingers = event.touches.length;
50946
+ };
50947
+ const onGestureStart = (event) => {
50948
+ if (!isActive() || fingers > 0) {
50949
+ return;
50950
+ }
50951
+ event.preventDefault();
50952
+ gestureStartZoom = options.getZoom();
50953
+ };
50954
+ const onGestureChange = (event) => {
50955
+ if (gestureStartZoom === null) {
50956
+ return;
50957
+ }
50958
+ event.preventDefault();
50959
+ const gesture2 = event;
50960
+ zoomAt(gestureStartZoom * gesture2.scale, gesture2.clientX, gesture2.clientY);
50961
+ };
50962
+ const onGestureEnd = (event) => {
50963
+ if (gestureStartZoom === null) {
50964
+ return;
50965
+ }
50966
+ event.preventDefault();
50967
+ gestureStartZoom = null;
50968
+ };
50969
+ const updateCursor = () => {
50970
+ if (pan?.started) {
50971
+ viewport.style.cursor = "grabbing";
50972
+ } else if (spaceHeld && hovering) {
50973
+ viewport.style.cursor = "grab";
50974
+ } else {
50975
+ viewport.style.cursor = originalCursor;
50976
+ }
50977
+ };
50978
+ const onPointerEnter = () => {
50979
+ hovering = true;
50980
+ updateCursor();
50981
+ };
50982
+ const onPointerLeave = () => {
50983
+ hovering = false;
50984
+ updateCursor();
50985
+ };
50986
+ const onKeyDown = (event) => {
50987
+ if (event.key !== " " || event.ctrlKey || event.metaKey || event.altKey) {
50988
+ return;
50989
+ }
50990
+ if (spaceHeld) {
50991
+ event.preventDefault();
50992
+ return;
50993
+ }
50994
+ if (!hovering || !isActive() || eventOwnsSpaceKey(event) || !viewportCanPan(viewport)) {
50995
+ return;
50996
+ }
50997
+ event.preventDefault();
50998
+ spaceHeld = true;
50999
+ updateCursor();
51000
+ };
51001
+ const releaseSpace = () => {
51002
+ if (!spaceHeld) {
51003
+ return;
51004
+ }
51005
+ spaceHeld = false;
51006
+ updateCursor();
51007
+ };
51008
+ const onKeyUp = (event) => {
51009
+ if (event.key === " " && spaceHeld) {
51010
+ event.preventDefault();
51011
+ releaseSpace();
51012
+ }
51013
+ };
51014
+ const suppressNextClick = () => {
51015
+ const onClick = (event) => {
51016
+ event.preventDefault();
51017
+ event.stopPropagation();
51018
+ };
51019
+ viewport.addEventListener("click", onClick, { capture: true, once: true });
51020
+ win?.setTimeout(() => viewport.removeEventListener("click", onClick, true), 0);
51021
+ };
51022
+ const startPanning = (event) => {
51023
+ if (!pan) {
51024
+ return;
51025
+ }
51026
+ pan.started = true;
51027
+ try {
51028
+ viewport.setPointerCapture(event.pointerId);
51029
+ } catch {
51030
+ }
51031
+ updateCursor();
51032
+ };
51033
+ const onPointerDown = (event) => {
51034
+ if (pan || !isActive() || !viewportCanPan(viewport)) {
51035
+ return;
51036
+ }
51037
+ const middle = event.button === 1;
51038
+ const spaceDrag = event.button === 0 && spaceHeld;
51039
+ const plainDrag = event.button === 0 && !spaceHeld && event.pointerType !== "touch" && (options.dragPans?.() ?? false);
51040
+ if (!middle && !spaceDrag && !plainDrag) {
51041
+ return;
51042
+ }
51043
+ pan = {
51044
+ pointerId: event.pointerId,
51045
+ startX: event.clientX,
51046
+ startY: event.clientY,
51047
+ left: viewport.scrollLeft,
51048
+ top: viewport.scrollTop,
51049
+ started: false,
51050
+ thresholded: plainDrag
51051
+ };
51052
+ if (!plainDrag) {
51053
+ event.preventDefault();
51054
+ event.stopPropagation();
51055
+ startPanning(event);
51056
+ }
51057
+ };
51058
+ const onPointerMove = (event) => {
51059
+ if (!pan || event.pointerId !== pan.pointerId) {
51060
+ return;
51061
+ }
51062
+ const dx = event.clientX - pan.startX;
51063
+ const dy = event.clientY - pan.startY;
51064
+ if (!pan.started) {
51065
+ if (Math.hypot(dx, dy) < DRAG_PAN_THRESHOLD_PX) {
51066
+ return;
51067
+ }
51068
+ startPanning(event);
51069
+ }
51070
+ event.preventDefault();
51071
+ viewport.scrollLeft = pan.left - dx;
51072
+ viewport.scrollTop = pan.top - dy;
51073
+ };
51074
+ const endPan = (event) => {
51075
+ if (!pan || event.pointerId !== pan.pointerId) {
51076
+ return;
51077
+ }
51078
+ const { started, thresholded } = pan;
51079
+ pan = null;
51080
+ if (started) {
51081
+ try {
51082
+ viewport.releasePointerCapture(event.pointerId);
51083
+ } catch {
51084
+ }
51085
+ if (thresholded && event.type === "pointerup") {
51086
+ suppressNextClick();
51087
+ }
51088
+ }
51089
+ updateCursor();
51090
+ };
51091
+ const onWindowBlur = () => {
51092
+ releaseSpace();
51093
+ };
51094
+ viewport.addEventListener("wheel", onWheel, { passive: false });
51095
+ for (const type of TOUCH_EVENTS) {
51096
+ viewport.addEventListener(type, onTouches, { passive: true });
51097
+ }
51098
+ viewport.addEventListener("gesturestart", onGestureStart);
51099
+ viewport.addEventListener("gesturechange", onGestureChange);
51100
+ viewport.addEventListener("gestureend", onGestureEnd);
51101
+ viewport.addEventListener("pointerenter", onPointerEnter);
51102
+ viewport.addEventListener("pointerleave", onPointerLeave);
51103
+ viewport.addEventListener("pointerdown", onPointerDown, true);
51104
+ viewport.addEventListener("pointermove", onPointerMove, true);
51105
+ viewport.addEventListener("pointerup", endPan, true);
51106
+ viewport.addEventListener("pointercancel", endPan, true);
51107
+ doc.addEventListener("keydown", onKeyDown, true);
51108
+ doc.addEventListener("keyup", onKeyUp, true);
51109
+ win?.addEventListener("blur", onWindowBlur);
51110
+ return () => {
51111
+ if (frame !== 0) {
51112
+ cancelFrame(frame);
51113
+ frame = 0;
51114
+ }
51115
+ pending3 = null;
51116
+ pan = null;
51117
+ spaceHeld = false;
51118
+ viewport.style.cursor = originalCursor;
51119
+ viewport.removeEventListener("wheel", onWheel);
51120
+ for (const type of TOUCH_EVENTS) {
51121
+ viewport.removeEventListener(type, onTouches);
51122
+ }
51123
+ viewport.removeEventListener("gesturestart", onGestureStart);
51124
+ viewport.removeEventListener("gesturechange", onGestureChange);
51125
+ viewport.removeEventListener("gestureend", onGestureEnd);
51126
+ viewport.removeEventListener("pointerenter", onPointerEnter);
51127
+ viewport.removeEventListener("pointerleave", onPointerLeave);
51128
+ viewport.removeEventListener("pointerdown", onPointerDown, true);
51129
+ viewport.removeEventListener("pointermove", onPointerMove, true);
51130
+ viewport.removeEventListener("pointerup", endPan, true);
51131
+ viewport.removeEventListener("pointercancel", endPan, true);
51132
+ doc.removeEventListener("keydown", onKeyDown, true);
51133
+ doc.removeEventListener("keyup", onKeyUp, true);
51134
+ win?.removeEventListener("blur", onWindowBlur);
51135
+ };
51136
+ }
51137
+
50631
51138
  // src/pptx/render/audience-content-store.ts
50632
51139
  var DB_NAME3 = "pptx-viewer-audience";
50633
51140
  var DB_VERSION3 = 1;
@@ -52738,7 +53245,7 @@ function resolveSlidePaneClick(input) {
52738
53245
  }
52739
53246
 
52740
53247
  // src/pptx/render/slide-pane-context-menu.ts
52741
- var LABEL_KEYS = {
53248
+ var LABEL_KEYS2 = {
52742
53249
  "new-slide": "pptx.slidesPane.contextMenu.newSlide",
52743
53250
  duplicate: "pptx.slidesPane.contextMenu.duplicate",
52744
53251
  delete: "pptx.slidesPane.contextMenu.delete",
@@ -52751,11 +53258,11 @@ var COUNT_LABEL_KEYS = {
52751
53258
  delete: "pptx.slidesPane.contextMenu.deleteCount"
52752
53259
  };
52753
53260
  function slidePaneContextMenuLabelKey(id) {
52754
- return LABEL_KEYS[id];
53261
+ return LABEL_KEYS2[id];
52755
53262
  }
52756
53263
  function entry(id, context3, extra = {}) {
52757
53264
  const countKey = context3.selectedCount > 1 ? COUNT_LABEL_KEYS[id] : void 0;
52758
- return { id, labelKey: countKey ?? LABEL_KEYS[id], countLabelKey: countKey, ...extra };
53265
+ return { id, labelKey: countKey ?? LABEL_KEYS2[id], countLabelKey: countKey, ...extra };
52759
53266
  }
52760
53267
  function buildSlidePaneContextMenuEntries(context3) {
52761
53268
  const showsHide = context3.hasVisibleInSelection || !context3.hasHiddenInSelection;
@@ -52773,7 +53280,7 @@ function buildSlidePaneContextMenuEntries(context3) {
52773
53280
  }
52774
53281
 
52775
53282
  // src/pptx/render/section-context-menu.ts
52776
- var LABEL_KEYS2 = {
53283
+ var LABEL_KEYS3 = {
52777
53284
  rename: "pptx.sections.rename",
52778
53285
  delete: "pptx.sections.delete",
52779
53286
  "move-up": "pptx.sections.moveUp",
@@ -52781,24 +53288,24 @@ var LABEL_KEYS2 = {
52781
53288
  "add-after": "pptx.sections.addAfter"
52782
53289
  };
52783
53290
  function sectionContextMenuLabelKey(id) {
52784
- return LABEL_KEYS2[id];
53291
+ return LABEL_KEYS3[id];
52785
53292
  }
52786
53293
  function buildSectionContextMenuEntries(context3) {
52787
53294
  return [
52788
- { id: "rename", labelKey: LABEL_KEYS2.rename },
52789
- { id: "delete", labelKey: LABEL_KEYS2.delete },
53295
+ { id: "rename", labelKey: LABEL_KEYS3.rename },
53296
+ { id: "delete", labelKey: LABEL_KEYS3.delete },
52790
53297
  {
52791
53298
  id: "move-up",
52792
- labelKey: LABEL_KEYS2["move-up"],
53299
+ labelKey: LABEL_KEYS3["move-up"],
52793
53300
  separatorBefore: true,
52794
53301
  disabled: context3.sectionIndex <= 0
52795
53302
  },
52796
53303
  {
52797
53304
  id: "move-down",
52798
- labelKey: LABEL_KEYS2["move-down"],
53305
+ labelKey: LABEL_KEYS3["move-down"],
52799
53306
  disabled: context3.sectionIndex >= context3.totalSections - 1
52800
53307
  },
52801
- { id: "add-after", labelKey: LABEL_KEYS2["add-after"], separatorBefore: true }
53308
+ { id: "add-after", labelKey: LABEL_KEYS3["add-after"], separatorBefore: true }
52802
53309
  ];
52803
53310
  }
52804
53311
  function sectionAddAfterSlideIndex(lastSlideIndexOfSection, totalSlides) {
@@ -53569,7 +54076,7 @@ function hasMultipleSelectedTableCells(cells, tableData) {
53569
54076
  }
53570
54077
  return false;
53571
54078
  }
53572
- var LABEL_KEYS3 = {
54079
+ var LABEL_KEYS4 = {
53573
54080
  copy: "pptx.contextMenu.copy",
53574
54081
  cut: "pptx.contextMenu.cut",
53575
54082
  paste: "pptx.contextMenu.paste",
@@ -53610,10 +54117,10 @@ var LABEL_KEYS3 = {
53610
54117
  delete: "pptx.contextMenu.delete"
53611
54118
  };
53612
54119
  function contextMenuLabelKey(id) {
53613
- return LABEL_KEYS3[id];
54120
+ return LABEL_KEYS4[id];
53614
54121
  }
53615
54122
  function entry2(id, extra = {}) {
53616
- return { id, labelKey: LABEL_KEYS3[id], ...extra };
54123
+ return { id, labelKey: LABEL_KEYS4[id], ...extra };
53617
54124
  }
53618
54125
  function tableEntries(table2) {
53619
54126
  if (!table2) {
@@ -53709,7 +54216,7 @@ function buildContextMenuEntries(context3 = {}) {
53709
54216
  }
53710
54217
 
53711
54218
  // src/pptx/render/canvas-context-menu-commands.ts
53712
- var LABEL_KEYS4 = {
54219
+ var LABEL_KEYS5 = {
53713
54220
  paste: "pptx.contextMenu.paste",
53714
54221
  layout: "pptx.canvasContextMenu.layout",
53715
54222
  "reset-slide": "pptx.canvasContextMenu.resetSlide",
@@ -53718,10 +54225,10 @@ var LABEL_KEYS4 = {
53718
54225
  ruler: "pptx.canvasContextMenu.ruler"
53719
54226
  };
53720
54227
  function canvasContextMenuLabelKey(id) {
53721
- return LABEL_KEYS4[id];
54228
+ return LABEL_KEYS5[id];
53722
54229
  }
53723
54230
  function entry3(id, extra = {}) {
53724
- return { id, labelKey: LABEL_KEYS4[id], ...extra };
54231
+ return { id, labelKey: LABEL_KEYS5[id], ...extra };
53725
54232
  }
53726
54233
  function buildCanvasContextMenuEntries(context3 = {}) {
53727
54234
  const { hasClipboard, showGrid, showRulers } = context3;
@@ -56523,16 +57030,22 @@ var GROUPED_INSERT_CHART_KINDS = [
56523
57030
  "line",
56524
57031
  "area"
56525
57032
  ];
57033
+ function isValidInsertChartData(data) {
57034
+ return data !== void 0 && data.categories.length > 0 && data.series.length > 0 && data.series.every(
57035
+ (series) => series.values.length === data.categories.length && series.values.every((value) => Number.isFinite(value))
57036
+ );
57037
+ }
56526
57038
  function createDefaultChartElement(chartKind = DEFAULT_INSERT_CHART_KIND, position, options = {}) {
56527
57039
  const option = INSERT_CHART_TYPES.find((entry6) => entry6.id === chartKind);
56528
57040
  const chartType = option?.type ?? chartKind;
56529
57041
  const chartExData = buildChartExInsertData(option?.id ?? chartKind);
57042
+ const hostData = isValidInsertChartData(options.data) ? options.data : void 0;
56530
57043
  return createChartElement(
56531
57044
  chartType,
56532
57045
  {
56533
- categories: chartExData?.categories ?? [...DEFAULT_CATEGORIES],
56534
- series: chartExData?.series ?? [{ name: "Series 1", values: [...DEFAULT_SERIES_VALUES] }],
56535
- ...chartExData?.categoryLevels ? { categoryLevels: chartExData.categoryLevels } : {},
57046
+ categories: hostData ? [...hostData.categories] : chartExData?.categories ?? [...DEFAULT_CATEGORIES],
57047
+ series: hostData ? hostData.series.map((s) => ({ name: s.name, values: [...s.values] })) : chartExData?.series ?? [{ name: "Series 1", values: [...DEFAULT_SERIES_VALUES] }],
57048
+ ...!hostData && chartExData?.categoryLevels ? { categoryLevels: chartExData.categoryLevels } : {},
56536
57049
  ...options.title === void 0 ? { title: "Chart Title" } : options.title.trim() ? { title: options.title.trim() } : {},
56537
57050
  hasLegend: options.hasLegend ?? true,
56538
57051
  ...options.grouping !== void 0 && GROUPED_INSERT_CHART_KINDS.includes(option?.id ?? chartKind) ? { grouping: options.grouping } : {},
@@ -57758,97 +58271,1820 @@ function classifyMediaType(mimeType) {
57758
58271
  return null;
57759
58272
  }
57760
58273
 
57761
- // src/pptx/render/template-background-rows.ts
57762
- function resolveTemplateBackgroundRows(activeSlide, slideMasters, fallbackLayoutLabel, fallbackMasterLabel) {
57763
- const result = {};
57764
- if (activeSlide.layoutPath) {
57765
- result.layout = {
57766
- path: activeSlide.layoutPath,
57767
- label: activeSlide.layoutName ?? fallbackLayoutLabel,
57768
- title: activeSlide.layoutName ?? activeSlide.layoutPath
58274
+ // src/pptx/render/building-block-actions.ts
58275
+ var BUILDING_BLOCK_OK = { ok: true };
58276
+ function buildingBlockFailure(code) {
58277
+ return { ok: false, code };
58278
+ }
58279
+ var HOST_IMAGE_MAX_BYTES = 25 * 1024 * 1024;
58280
+ var HOST_MEDIA_MAX_BYTES = 100 * 1024 * 1024;
58281
+ function validateHostImageFile(file, maxBytes = HOST_IMAGE_MAX_BYTES) {
58282
+ if (!file) {
58283
+ return buildingBlockFailure("no-file");
58284
+ }
58285
+ if (!file.type.startsWith("image/")) {
58286
+ return buildingBlockFailure("unsupported-type");
58287
+ }
58288
+ if (file.size === 0) {
58289
+ return buildingBlockFailure("empty-file");
58290
+ }
58291
+ return file.size > maxBytes ? buildingBlockFailure("file-too-large") : BUILDING_BLOCK_OK;
58292
+ }
58293
+ function validateHostMediaFile(file, maxBytes = HOST_MEDIA_MAX_BYTES) {
58294
+ if (!file) {
58295
+ return buildingBlockFailure("no-file");
58296
+ }
58297
+ const mediaType = classifyMediaType(file.type);
58298
+ if (!mediaType) {
58299
+ return buildingBlockFailure("unsupported-type");
58300
+ }
58301
+ if (file.size === 0) {
58302
+ return buildingBlockFailure("empty-file");
58303
+ }
58304
+ return file.size > maxBytes ? buildingBlockFailure("file-too-large") : { ok: true, mediaType };
58305
+ }
58306
+ var BUILDING_BLOCK_UNMOUNTED_DIALOG_ACTIONS = [
58307
+ // The other dialogs raise host requests now (`actions.passwordProtection`, `.documentProperties`,
58308
+ // `.fontEmbedding`, `.digitalSignatures`, `.setUpSlideShow`, `.customShows`, `.shortcuts`);
58309
+ // Broadcast cannot be completed.
58310
+ "onOpenBroadcastDialog"
58311
+ ];
58312
+ function describeBuildingBlockActions(input) {
58313
+ const gate = () => {
58314
+ if (!input.ready) {
58315
+ return "not-ready";
58316
+ }
58317
+ if (!input.canEdit || !input.editing) {
58318
+ return "read-only";
58319
+ }
58320
+ return input.canInsert ? void 0 : "protected";
58321
+ };
58322
+ const state = (needsHostUi, ...conditions) => {
58323
+ const reason = [gate(), ...conditions].find((code) => code !== void 0);
58324
+ return reason === void 0 ? { available: true, needsHostUi } : { available: false, reason, needsHostUi };
58325
+ };
58326
+ const slide = input.hasActiveSlide ? void 0 : "no-slide";
58327
+ const selection = input.hasSelection ? void 0 : "no-selection";
58328
+ return {
58329
+ insertImage: state(true, slide),
58330
+ insertMedia: state(true, slide),
58331
+ hyperlink: state(true, selection),
58332
+ removeHyperlink: state(
58333
+ false,
58334
+ selection,
58335
+ input.selectionHasHyperlink ? void 0 : "no-hyperlink"
58336
+ ),
58337
+ insertSmartArt: state(true, slide),
58338
+ insertChart: state(true, slide),
58339
+ insertEquation: state(true, slide),
58340
+ editEquation: state(true, selection, input.selectionHasEquation ? void 0 : "no-equation"),
58341
+ replace: state(false),
58342
+ applyLayout: state(
58343
+ false,
58344
+ slide,
58345
+ input.hasHandler && input.layoutCount > 0 ? void 0 : "no-layout"
58346
+ ),
58347
+ resetLayout: state(
58348
+ false,
58349
+ slide,
58350
+ input.hasHandler && input.hasCurrentLayout ? void 0 : "no-layout"
58351
+ ),
58352
+ // Apply is gated like an edit; the request itself also fires read-only (see the file dialogs).
58353
+ passwordProtection: state(true),
58354
+ documentProperties: state(true),
58355
+ fontEmbedding: state(true),
58356
+ digitalSignatures: state(true)
58357
+ };
58358
+ }
58359
+
58360
+ // src/pptx/render/building-block-document-properties.ts
58361
+ var EDITABLE_CORE_PROPERTY_KEYS = [
58362
+ "title",
58363
+ "subject",
58364
+ "creator",
58365
+ "keywords",
58366
+ "description",
58367
+ "category"
58368
+ ];
58369
+ var EDITABLE_APP_PROPERTY_KEYS = ["company", "manager"];
58370
+ var CUSTOM_PROPERTY_TYPES = ["lpwstr", "i4", "filetime", "bool"];
58371
+ function documentPropertiesChanged(current, draft) {
58372
+ return EDITABLE_CORE_PROPERTY_KEYS.some(
58373
+ (key) => (draft.core[key] ?? "") !== (current.core[key] ?? "")
58374
+ ) || appPropertiesChanged(current.app, draft.app) || draft.custom.length !== current.custom.length || draft.custom.some((property, index) => {
58375
+ const existing = current.custom[index];
58376
+ return property.name !== existing?.name || property.value !== existing?.value || property.type !== existing?.type;
58377
+ });
58378
+ }
58379
+ function appPropertiesChanged(current, draft) {
58380
+ return EDITABLE_APP_PROPERTY_KEYS.some((key) => (draft?.[key] ?? "") !== (current?.[key] ?? ""));
58381
+ }
58382
+ function validCustomProperty(property) {
58383
+ if (typeof property.name !== "string" || property.name.trim() === "") {
58384
+ return false;
58385
+ }
58386
+ if (!CUSTOM_PROPERTY_TYPES.includes(property.type)) {
58387
+ return false;
58388
+ }
58389
+ if (typeof property.value !== "string") {
58390
+ return false;
58391
+ }
58392
+ switch (property.type) {
58393
+ case "i4":
58394
+ return /^-?\d+$/u.test(property.value.trim());
58395
+ case "bool":
58396
+ return property.value === "true" || property.value === "false";
58397
+ case "filetime":
58398
+ return !Number.isNaN(Date.parse(property.value));
58399
+ default:
58400
+ return true;
58401
+ }
58402
+ }
58403
+ function planDocumentPropertiesPatch(current, patch) {
58404
+ const invalid = { ok: false, code: "invalid-data" };
58405
+ const coreEntries = Object.entries(patch.core ?? {});
58406
+ const appEntries = Object.entries(patch.app ?? {});
58407
+ for (const [key, value] of coreEntries) {
58408
+ if (!EDITABLE_CORE_PROPERTY_KEYS.includes(key) || typeof value !== "string") {
58409
+ return invalid;
58410
+ }
58411
+ }
58412
+ for (const [key, value] of appEntries) {
58413
+ if (!EDITABLE_APP_PROPERTY_KEYS.includes(key) || typeof value !== "string") {
58414
+ return invalid;
58415
+ }
58416
+ }
58417
+ const set = patch.custom?.set ?? [];
58418
+ if (!set.every(validCustomProperty)) {
58419
+ return invalid;
58420
+ }
58421
+ const core = Object.fromEntries(coreEntries);
58422
+ const app = Object.fromEntries(appEntries);
58423
+ const hasCustom = set.length > 0 || (patch.custom?.remove?.length ?? 0) > 0;
58424
+ let custom = current.custom;
58425
+ if (hasCustom) {
58426
+ const removed = new Set(patch.custom?.remove ?? []);
58427
+ custom = [
58428
+ ...current.custom.flatMap((property) => {
58429
+ if (removed.has(property.name)) {
58430
+ return [];
58431
+ }
58432
+ const replacement = set.find((next2) => next2.name === property.name);
58433
+ return [replacement ? { ...replacement } : property];
58434
+ }),
58435
+ ...set.filter((next2) => !current.custom.some((property) => property.name === next2.name))
58436
+ ];
58437
+ }
58438
+ const changed = documentPropertiesChanged(
58439
+ { core: current.core, custom: current.custom, app: current.app },
58440
+ { core: { ...current.core, ...core }, custom, app: { ...current.app, ...app } }
58441
+ );
58442
+ return {
58443
+ ok: true,
58444
+ changed,
58445
+ ...coreEntries.length > 0 ? { core } : {},
58446
+ ...hasCustom ? { custom } : {},
58447
+ ...appPropertiesChanged(current.app, { ...current.app, ...app }) ? { app } : {}
58448
+ };
58449
+ }
58450
+ function copy(snapshot) {
58451
+ return {
58452
+ core: { ...snapshot.core },
58453
+ custom: snapshot.custom.map((property) => ({ ...property })),
58454
+ app: { ...snapshot.app }
58455
+ };
58456
+ }
58457
+ function buildDocumentPropertiesActions(input) {
58458
+ return {
58459
+ current: copy(input.current()),
58460
+ apply: (patch) => {
58461
+ const denied = input.refuse();
58462
+ if (denied) {
58463
+ return denied;
58464
+ }
58465
+ const plan = planDocumentPropertiesPatch(input.current(), patch);
58466
+ if (!plan.ok) {
58467
+ return buildingBlockFailure(plan.code);
58468
+ }
58469
+ if (plan.changed) {
58470
+ input.applyUpdate({
58471
+ ...plan.core ? { core: plan.core } : {},
58472
+ ...plan.custom ? { custom: plan.custom } : {},
58473
+ ...plan.app ? { app: plan.app } : {}
58474
+ });
58475
+ }
58476
+ return input.complete(BUILDING_BLOCK_OK);
58477
+ }
58478
+ };
58479
+ }
58480
+
58481
+ // src/pptx/render/font-embedding.ts
58482
+ var FONT_EMBEDDING_UNAVAILABLE_KEY = "pptx.fonts.embedUnavailable";
58483
+ function describeFontEmbedding(embeddedFamilies) {
58484
+ const seen = /* @__PURE__ */ new Set();
58485
+ const families = [];
58486
+ for (const raw of embeddedFamilies ?? []) {
58487
+ const family2 = raw?.trim();
58488
+ if (!family2) {
58489
+ continue;
58490
+ }
58491
+ const key = family2.toLowerCase();
58492
+ if (seen.has(key)) {
58493
+ continue;
58494
+ }
58495
+ seen.add(key);
58496
+ families.push(family2);
58497
+ }
58498
+ const hasAny = families.length > 0;
58499
+ return {
58500
+ embeddedFamilies: families,
58501
+ interactive: hasAny,
58502
+ initialEnabled: hasAny,
58503
+ ...hasAny ? {} : { disabledReasonKey: FONT_EMBEDDING_UNAVAILABLE_KEY }
58504
+ };
58505
+ }
58506
+ function embeddedFontSaveOptions(embedFonts) {
58507
+ return embedFonts ? { embedTrueTypeFonts: true } : { embeddedFontList: null, embedTrueTypeFonts: false };
58508
+ }
58509
+
58510
+ // src/pptx/render/building-block-font-embedding.ts
58511
+ function describeFontEmbeddingState(input) {
58512
+ const descriptor = input.descriptor ?? describeFontEmbedding(input.embeddedFamilies);
58513
+ return {
58514
+ embedFonts: input.embedFonts,
58515
+ embeddedFamilies: descriptor.embeddedFamilies,
58516
+ usedFamilies: [...input.usedFamilies],
58517
+ canEmbed: descriptor.interactive,
58518
+ ...descriptor.disabledReasonKey ? { unavailableReasonKey: descriptor.disabledReasonKey } : {}
58519
+ };
58520
+ }
58521
+ function buildFontEmbeddingActions(input) {
58522
+ return {
58523
+ state: input.state,
58524
+ setEmbedFonts: (enabled) => {
58525
+ const denied = input.refuse();
58526
+ if (denied) {
58527
+ return denied;
58528
+ }
58529
+ const latest = input.latest();
58530
+ if (enabled && !latest.canEmbed) {
58531
+ return buildingBlockFailure("unsupported");
58532
+ }
58533
+ if (latest.embedFonts !== enabled) {
58534
+ input.apply(enabled);
58535
+ input.markDirty();
58536
+ }
58537
+ return input.complete(BUILDING_BLOCK_OK);
58538
+ }
58539
+ };
58540
+ }
58541
+
58542
+ // src/pptx/render/password-protection.ts
58543
+ function getPasswordStrength(password) {
58544
+ if (!password) {
58545
+ return 0;
58546
+ }
58547
+ let score2 = 0;
58548
+ if (password.length >= 8) {
58549
+ score2 += 1;
58550
+ }
58551
+ if (password.length >= 12) {
58552
+ score2 += 1;
58553
+ }
58554
+ if (/[A-Z]/u.test(password) && /[a-z]/u.test(password)) {
58555
+ score2 += 1;
58556
+ }
58557
+ if (/\d/u.test(password)) {
58558
+ score2 += 1;
58559
+ }
58560
+ if (/[^A-Za-z0-9]/u.test(password)) {
58561
+ score2 += 1;
58562
+ }
58563
+ return Math.min(score2, 4);
58564
+ }
58565
+ function validatePasswordPair(password, confirmation) {
58566
+ if (!password) {
58567
+ return "required";
58568
+ }
58569
+ if (password !== confirmation) {
58570
+ return "mismatch";
58571
+ }
58572
+ if (password.length < 4) {
58573
+ return "tooShort";
58574
+ }
58575
+ return null;
58576
+ }
58577
+ var NOT_RECOMMENDED = {
58578
+ kind: null,
58579
+ messageKey: "",
58580
+ defaultReadOnly: false,
58581
+ requiresPassword: false
58582
+ };
58583
+ var MARK_AS_FINAL_PROPERTY_NAME = "_MarkAsFinal";
58584
+ function isTruthyCustomPropertyValue(value) {
58585
+ const normalized = value.trim().toLowerCase();
58586
+ return normalized === "true" || normalized === "1" || normalized === "yes";
58587
+ }
58588
+ function isMarkedAsFinal(customProperties) {
58589
+ if (!customProperties) {
58590
+ return false;
58591
+ }
58592
+ return customProperties.some(
58593
+ (property) => property.name === MARK_AS_FINAL_PROPERTY_NAME && isTruthyCustomPropertyValue(property.value)
58594
+ );
58595
+ }
58596
+ function readOnlyRecommendation(data) {
58597
+ if (!data) {
58598
+ return NOT_RECOMMENDED;
58599
+ }
58600
+ const verifier = data.modifyVerifier;
58601
+ if (verifier && (verifier.hashData || verifier.algorithmName)) {
58602
+ return {
58603
+ kind: "modifyVerifier",
58604
+ messageKey: "pptx.readOnly.modifyVerifierRecommended",
58605
+ defaultReadOnly: true,
58606
+ // A hash this viewer can actually check requires the password before
58607
+ // "Edit anyway" can lift the lock; `saltData` is deliberately NOT part
58608
+ // of this check (see the field doc comment above): only a missing hash
58609
+ // or an unrecognised algorithm falls back to the plain "Edit anyway"
58610
+ // every other recommendation already has.
58611
+ requiresPassword: Boolean(verifier.hashData && resolveModifyVerifierAlgorithmName(verifier))
57769
58612
  };
57770
58613
  }
57771
- const master = slideMasters?.find((m) => m.layoutPaths?.includes(activeSlide.layoutPath ?? ""));
57772
- if (master) {
57773
- result.master = {
57774
- path: master.path,
57775
- label: master.name ?? fallbackMasterLabel,
57776
- title: master.name ?? master.path
58614
+ if (isMarkedAsFinal(data.customProperties)) {
58615
+ return {
58616
+ kind: "markedFinal",
58617
+ messageKey: "pptx.readOnly.markedFinal",
58618
+ defaultReadOnly: true,
58619
+ requiresPassword: false
57777
58620
  };
57778
58621
  }
57779
- return result;
58622
+ return NOT_RECOMMENDED;
57780
58623
  }
57781
58624
 
57782
- // src/pptx/render/transition-template-elements.ts
57783
- function transitionTemplateElements(outgoingSlide, incomingSlide, templateElementsBySlideId) {
57784
- const of = (slide) => slide ? [...visibleTemplateElements(slide, templateElementsBySlideId[slide.id] ?? [])] : [];
57785
- return { outgoing: of(outgoingSlide), incoming: of(incomingSlide) };
58625
+ // src/pptx/render/building-block-password.ts
58626
+ var MIN_OPEN_PASSWORD_LENGTH = 4;
58627
+ var PASSWORD_CODES = {
58628
+ required: "password-required",
58629
+ mismatch: "password-mismatch",
58630
+ tooShort: "password-too-short"
58631
+ };
58632
+ var MARK_AS_FINAL_PROPERTY = "_MarkAsFinal";
58633
+ function validateOpenPassword(password, confirmation) {
58634
+ const invalid = validatePasswordPair(password, confirmation);
58635
+ return invalid === null ? BUILDING_BLOCK_OK : buildingBlockFailure(PASSWORD_CODES[invalid]);
58636
+ }
58637
+ function describePasswordProtection(input) {
58638
+ return {
58639
+ openPassword: input.openPasswordSet,
58640
+ modifyPassword: input.hasModifyVerifier,
58641
+ readOnlyRecommended: input.recommendation.kind !== null,
58642
+ markedFinal: isMarkedAsFinal(input.customProperties),
58643
+ supported: {
58644
+ openPassword: true,
58645
+ markedFinal: true,
58646
+ modifyPassword: false,
58647
+ readOnlyRecommended: false
58648
+ }
58649
+ };
58650
+ }
58651
+ function markAsFinalProperties(customProperties, final) {
58652
+ if (isMarkedAsFinal(customProperties) === final) {
58653
+ return void 0;
58654
+ }
58655
+ const others = customProperties.filter((property) => property.name !== MARK_AS_FINAL_PROPERTY);
58656
+ return final ? [...others, { name: MARK_AS_FINAL_PROPERTY, value: "true", type: "bool" }] : others;
58657
+ }
58658
+ function buildPasswordProtectionActions(input) {
58659
+ const guard = (run2) => input.refuse() ?? run2();
58660
+ return {
58661
+ state: input.state,
58662
+ setOpenPassword: (password, confirmation) => guard(() => {
58663
+ const checked = validateOpenPassword(password, confirmation);
58664
+ if (!checked.ok) {
58665
+ return checked;
58666
+ }
58667
+ input.applyOpenPassword(password);
58668
+ input.markDirty();
58669
+ return input.complete(BUILDING_BLOCK_OK);
58670
+ }),
58671
+ clearOpenPassword: () => guard(() => {
58672
+ input.applyOpenPassword(null);
58673
+ input.markDirty();
58674
+ return input.complete(BUILDING_BLOCK_OK);
58675
+ }),
58676
+ setMarkedFinal: (final) => guard(() => {
58677
+ const next2 = markAsFinalProperties(input.customProperties(), final);
58678
+ if (next2) {
58679
+ input.applyCustomProperties(next2);
58680
+ }
58681
+ return input.complete(BUILDING_BLOCK_OK);
58682
+ }),
58683
+ setModifyPassword: () => input.refuse() ?? buildingBlockFailure("unsupported")
58684
+ };
58685
+ }
58686
+ function describeSignaturesState(input) {
58687
+ return {
58688
+ signed: input.signed,
58689
+ count: input.count,
58690
+ removedOnSave: true,
58691
+ supported: { list: true, remove: true, create: false, trust: false }
58692
+ };
58693
+ }
58694
+ function toHostSignatureInfo(signature) {
58695
+ const { certificate } = signature;
58696
+ return {
58697
+ path: signature.signaturePath,
58698
+ ...certificate?.subject ? { signer: certificate.subject } : {},
58699
+ ...certificate?.issuer ? { issuer: certificate.issuer } : {},
58700
+ ...certificate?.validFrom ? { validFrom: certificate.validFrom } : {},
58701
+ ...certificate?.validTo ? { validTo: certificate.validTo } : {},
58702
+ expired: signature.status === "expired",
58703
+ integrity: signature.integrity
58704
+ };
58705
+ }
58706
+ async function listPackageSignatures(content) {
58707
+ if (!content) {
58708
+ return [];
58709
+ }
58710
+ return (await inspectSignaturesFromBuffer(content)).map(toHostSignatureInfo);
58711
+ }
58712
+ function buildSignatureActions(input) {
58713
+ return {
58714
+ state: input.state,
58715
+ list: () => listPackageSignatures(input.content()),
58716
+ remove: () => {
58717
+ const denied = input.refuse();
58718
+ if (denied) {
58719
+ return denied;
58720
+ }
58721
+ if (!input.state.signed) {
58722
+ return buildingBlockFailure("no-signatures");
58723
+ }
58724
+ input.markDirty();
58725
+ return input.complete(BUILDING_BLOCK_OK);
58726
+ },
58727
+ sign: () => buildingBlockFailure("unsupported")
58728
+ };
57786
58729
  }
57787
58730
 
57788
- // src/pptx/render/preview-elements.ts
57789
- var DEFAULT_PREVIEW_ELEMENT_CAP = 500;
57790
- function buildPreviewElements(slide, templateElements = [], options) {
57791
- const cap = options?.cap ?? DEFAULT_PREVIEW_ELEMENT_CAP;
57792
- const merged = [...visibleTemplateElements(slide, templateElements), ...slide.elements];
57793
- if (cap > 0 && merged.length > cap) {
57794
- return merged.slice(0, cap);
58731
+ // src/pptx/render/building-block-show-settings.ts
58732
+ var SHOW_TYPES = ["presented", "browsed", "kiosk"];
58733
+ var ADVANCE_MODES = ["manual", "useTimings"];
58734
+ var SLIDES_MODES = ["all", "range", "customShow"];
58735
+ function applySlideShowSettingsPatch(current, patch, context3) {
58736
+ const next2 = { ...current, ...patch };
58737
+ if (patch.showType === "kiosk") {
58738
+ next2.loopContinuously = true;
57795
58739
  }
57796
- return merged;
58740
+ if (patch.showSlidesMode === "range") {
58741
+ next2.showSlidesFrom = patch.showSlidesFrom ?? current.showSlidesFrom ?? 1;
58742
+ next2.showSlidesTo = patch.showSlidesTo ?? current.showSlidesTo ?? context3.slideCount;
58743
+ }
58744
+ if (patch.showSlidesMode === "customShow") {
58745
+ const id = patch.showSlidesCustomShowId ?? current.showSlidesCustomShowId ?? context3.customShows[0]?.id;
58746
+ if (id !== void 0) {
58747
+ next2.showSlidesCustomShowId = id;
58748
+ }
58749
+ }
58750
+ return next2;
57797
58751
  }
57798
- var SMARTART_PREVIEW_ELEMENT_WIDTH = 600;
57799
- var SMARTART_PREVIEW_ELEMENT_HEIGHT = 340;
57800
- var SMARTART_PREVIEW_FALLBACK_ITEMS = ["1", "2", "3"];
57801
- function buildSmartArtPreviewElement(layout, defaultItems) {
57802
- const preset2 = PRESETS.find((p) => p.layout === layout);
57803
- const items = [...defaultItems ?? preset2?.defaultItems ?? SMARTART_PREVIEW_FALLBACK_ITEMS];
58752
+ function validateSlideShowSettings(settings, context3) {
58753
+ const known = (value, list2) => value === void 0 || list2.includes(value);
58754
+ if (!known(settings.showType, SHOW_TYPES) || !known(settings.advanceMode, ADVANCE_MODES) || !known(settings.showSlidesMode, SLIDES_MODES)) {
58755
+ return buildingBlockFailure("invalid-data");
58756
+ }
58757
+ if (settings.showSlidesMode === "range") {
58758
+ const from = settings.showSlidesFrom ?? 1;
58759
+ const to = settings.showSlidesTo ?? context3.slideCount;
58760
+ if (!Number.isInteger(from) || !Number.isInteger(to) || from < 1 || to > context3.slideCount || from > to) {
58761
+ return buildingBlockFailure("invalid-range");
58762
+ }
58763
+ }
58764
+ if (settings.showSlidesMode === "customShow" && !context3.customShows.some((show) => show.id === settings.showSlidesCustomShowId)) {
58765
+ return buildingBlockFailure("unknown-show");
58766
+ }
58767
+ if (settings.penColor !== void 0 && !/^#?[0-9a-f]{6}$/i.test(settings.penColor)) {
58768
+ return buildingBlockFailure("invalid-data");
58769
+ }
58770
+ return BUILDING_BLOCK_OK;
58771
+ }
58772
+ function describeSlideShowSettings(settings, context3) {
58773
+ return {
58774
+ showType: settings.showType ?? "presented",
58775
+ loop: Boolean(settings.loopContinuously),
58776
+ playNarration: settings.showWithNarration !== false,
58777
+ playAnimation: settings.showWithAnimation !== false,
58778
+ subtitles: Boolean(settings.showSubtitles),
58779
+ advanceMode: settings.advanceMode ?? "useTimings",
58780
+ slidesMode: settings.showSlidesMode ?? "all",
58781
+ rangeFrom: settings.showSlidesFrom ?? 1,
58782
+ rangeTo: settings.showSlidesTo ?? context3.slideCount,
58783
+ customShowId: settings.showSlidesCustomShowId,
58784
+ penColor: settings.penColor,
58785
+ kioskRestartTime: settings.kioskRestartTime,
58786
+ showScrollbar: settings.showScrollbar ?? true,
58787
+ slideCount: context3.slideCount,
58788
+ customShows: context3.customShows.map(({ id, name }) => ({ id, name }))
58789
+ };
58790
+ }
58791
+ function resolveSlideShowSettings(current, patch, context3) {
58792
+ const settings = applySlideShowSettingsPatch(current, patch, context3);
58793
+ const checked = validateSlideShowSettings(settings, context3);
58794
+ return checked.ok ? { ok: true, settings } : { ok: false, code: checked.code };
58795
+ }
58796
+ function applyCustomShowEdit(shows, slides, edit) {
58797
+ const known = new Set(slides.map((slide) => slide.rId));
58798
+ const fail = (code) => ({ ok: false, code });
58799
+ if ("id" in edit && !shows.some((show) => show.id === edit.id)) {
58800
+ return fail("unknown-show");
58801
+ }
58802
+ if ((edit.kind === "create" || edit.kind === "rename") && edit.name.trim() === "") {
58803
+ return fail("invalid-name");
58804
+ }
58805
+ const rIds = edit.kind === "create" || edit.kind === "setSlides" ? edit.slideRIds : void 0;
58806
+ if (rIds?.some((rId) => !known.has(rId))) {
58807
+ return fail("unknown-slide");
58808
+ }
58809
+ const controller = createCustomShowsController(shows, "id" in edit ? edit.id : null);
58810
+ let showId = "id" in edit ? edit.id : void 0;
58811
+ let next2;
58812
+ if (edit.kind === "setSlides") {
58813
+ next2 = setCustomShowSlides(shows, edit.id, edit.slideRIds).shows;
58814
+ } else {
58815
+ if (edit.kind === "create") {
58816
+ controller.create(edit.name);
58817
+ } else if (edit.kind === "rename") {
58818
+ controller.rename(edit.name);
58819
+ } else if (edit.kind === "copy") {
58820
+ controller.copySelected(edit.name);
58821
+ } else {
58822
+ controller.removeSelected();
58823
+ }
58824
+ const state = controller.getSnapshot();
58825
+ next2 = state.shows;
58826
+ showId = edit.kind === "remove" ? void 0 : state.selectedId ?? void 0;
58827
+ }
58828
+ if (edit.kind === "create" && rIds && rIds.length > 0 && showId !== void 0) {
58829
+ next2 = setCustomShowSlides(next2, showId, rIds).shows;
58830
+ }
58831
+ const result = controller.result(slides);
57804
58832
  return {
57805
- id: `smartart-preview-${layout}`,
57806
- type: "smartArt",
57807
- x: 0,
57808
- y: 0,
57809
- width: SMARTART_PREVIEW_ELEMENT_WIDTH,
57810
- height: SMARTART_PREVIEW_ELEMENT_HEIGHT,
57811
- smartArtData: buildSmartArtPresetData(layout, items)
58833
+ ok: true,
58834
+ shows: next2.map((show) => ({ ...show, slideRIds: [...show.slideRIds] })),
58835
+ slides: result.slides,
58836
+ showId
58837
+ };
58838
+ }
58839
+ function resolveCustomShowStart(shows, slides, id) {
58840
+ const show = shows.find((candidate) => candidate.id === id);
58841
+ if (!show) {
58842
+ return { ok: false, code: "unknown-show" };
58843
+ }
58844
+ const first = customShowSlides(show, slides)[0];
58845
+ return first ? { ok: true, firstSlideIndex: slides.indexOf(first) } : { ok: false, code: "no-slide" };
58846
+ }
58847
+ function describeCustomShows(shows, slides) {
58848
+ return {
58849
+ shows: shows.map((show) => ({
58850
+ id: show.id,
58851
+ name: show.name,
58852
+ slideRIds: [...show.slideRIds],
58853
+ slideCount: customShowSlides(show, slides).length
58854
+ })),
58855
+ slides: slides.map((slide, index) => ({ rId: slide.rId, number: index + 1 }))
57812
58856
  };
57813
58857
  }
57814
58858
 
57815
- // src/pptx/render/shape-preset-catalog.ts
57816
- var SHAPE_PRESET_DEFS = [
58859
+ // src/pptx/render/viewer-preferences.ts
58860
+ var DEFAULT_VIEWER_PREFERENCES = {
58861
+ autoSave: true,
58862
+ spellCheck: false,
58863
+ showGrid: false,
58864
+ showRulers: false,
58865
+ snapToGrid: false,
58866
+ reducedMotion: false
58867
+ };
58868
+ var DEFAULT_VIEWER_SETTINGS = DEFAULT_VIEWER_PREFERENCES;
58869
+ var VIEWER_SHORTCUT_REFERENCE = [
58870
+ { actionKey: "pptx.toolbar.undo", shortcut: "Ctrl/Cmd+Z", group: "history" },
57817
58871
  {
57818
- type: "rect",
57819
- label: "Rectangle",
57820
- i18nKey: "pptx.editorToolbar.shapeRectangle",
57821
- glyph: "square",
57822
- glyphClass: ""
58872
+ actionKey: "pptx.toolbar.redo",
58873
+ shortcut: "Ctrl/Cmd+Shift+Z or Ctrl/Cmd+Y",
58874
+ group: "history"
57823
58875
  },
58876
+ { actionKey: "pptx.shortcuts.action.copyElement", shortcut: "Ctrl/Cmd+C", group: "clipboard" },
58877
+ { actionKey: "pptx.shortcuts.action.cutElement", shortcut: "Ctrl/Cmd+X", group: "clipboard" },
58878
+ { actionKey: "pptx.shortcuts.action.pasteElement", shortcut: "Ctrl/Cmd+V", group: "clipboard" },
57824
58879
  {
57825
- type: "roundRect",
57826
- label: "Rounded",
57827
- i18nKey: "pptx.shapePresets.rounded",
57828
- glyph: "square",
57829
- glyphClass: ""
58880
+ actionKey: "pptx.shortcuts.action.duplicateElement",
58881
+ shortcut: "Ctrl/Cmd+D",
58882
+ group: "editing"
57830
58883
  },
57831
58884
  {
57832
- type: "ellipse",
57833
- label: "Circle",
57834
- i18nKey: "pptx.shapePresets.circle",
57835
- glyph: "circle",
57836
- glyphClass: ""
58885
+ actionKey: "pptx.shortcuts.action.deleteElement",
58886
+ shortcut: "Delete / Backspace",
58887
+ group: "editing"
57837
58888
  },
58889
+ { actionKey: "pptx.shortcuts.action.selectAll", shortcut: "Ctrl/Cmd+A", group: "editing" },
58890
+ { actionKey: "pptx.ribbon.group", shortcut: "Ctrl/Cmd+G", group: "editing" },
58891
+ { actionKey: "pptx.ribbon.ungroup", shortcut: "Ctrl/Cmd+Shift+G", group: "editing" },
58892
+ { actionKey: "pptx.shortcuts.action.nudgeElement", shortcut: "Arrow keys", group: "editing" },
57838
58893
  {
57839
- type: "cylinder",
57840
- label: "Cylinder",
57841
- i18nKey: "pptx.shapePresets.cylinder",
57842
- glyph: "database",
57843
- glyphClass: ""
58894
+ actionKey: "pptx.shortcuts.action.nudgeElementLarge",
58895
+ shortcut: "Shift+Arrow keys",
58896
+ group: "editing"
57844
58897
  },
57845
58898
  {
57846
- type: "rtArrow",
57847
- label: "Right Arrow",
57848
- i18nKey: "pptx.shapePresets.rightArrow",
57849
- glyph: "moveRight",
57850
- glyphClass: ""
57851
- },
58899
+ actionKey: "pptx.shortcuts.action.prevSlide",
58900
+ shortcut: "Left or Up arrow, Page Up",
58901
+ group: "navigation"
58902
+ },
58903
+ {
58904
+ actionKey: "pptx.shortcuts.action.nextSlide",
58905
+ shortcut: "Right or Down arrow, Page Down",
58906
+ group: "navigation"
58907
+ },
58908
+ {
58909
+ actionKey: "pptx.shortcuts.action.zoomCanvas",
58910
+ shortcut: "Ctrl/Cmd+Mouse wheel",
58911
+ group: "navigation"
58912
+ },
58913
+ {
58914
+ actionKey: "pptx.shortcuts.action.commitTextEdit",
58915
+ shortcut: "Ctrl/Cmd+Enter",
58916
+ group: "editing"
58917
+ },
58918
+ { actionKey: "pptx.shortcuts.action.cancelTextEdit", shortcut: "Escape", group: "editing" },
58919
+ // Both of these reached the shared keymap late (Ctrl+F was hand-wired in two
58920
+ // bindings, Ctrl+/ in one), so the panel that is supposed to teach the keymap
58921
+ // was advertising neither. The help panel is the keymap's documentation: a
58922
+ // chord missing here is a chord nobody discovers.
58923
+ { actionKey: "pptx.findReplace.title", shortcut: "Ctrl/Cmd+F", group: "general" },
58924
+ { actionKey: "pptx.slideShow.fromBeginning", shortcut: "F5", group: "general" },
58925
+ { actionKey: "pptx.slideShow.fromCurrent", shortcut: "Shift+F5", group: "general" },
58926
+ { actionKey: "pptx.shortcuts.title", shortcut: "? or Ctrl/Cmd+/", group: "general" }
58927
+ ];
58928
+ var SHORTCUT_REFERENCE_GROUP_LABEL_KEYS = {
58929
+ history: "pptx.editorToolbar.history",
58930
+ clipboard: "pptx.ribbon.clipboard",
58931
+ editing: "pptx.shortcuts.group.editing",
58932
+ navigation: "pptx.shortcuts.group.navigation",
58933
+ general: "pptx.settings.general"
58934
+ };
58935
+ function groupShortcutReference(items = VIEWER_SHORTCUT_REFERENCE) {
58936
+ const order = Object.keys(SHORTCUT_REFERENCE_GROUP_LABEL_KEYS);
58937
+ return order.map((group) => ({
58938
+ group,
58939
+ labelKey: SHORTCUT_REFERENCE_GROUP_LABEL_KEYS[group],
58940
+ shortcuts: items.filter((item4) => item4.group === group)
58941
+ })).filter((bucket) => bucket.shortcuts.length > 0);
58942
+ }
58943
+ var SHORTCUT_REFERENCE_ITEMS = VIEWER_SHORTCUT_REFERENCE;
58944
+ var VIEWER_PREFERENCE_TOGGLES = [
58945
+ { key: "autoSave", labelKey: "pptx.settings.autoSave" },
58946
+ { key: "spellCheck", labelKey: "pptx.settings.spellCheck" },
58947
+ { key: "showGrid", labelKey: "pptx.settings.showGrid" },
58948
+ { key: "showRulers", labelKey: "pptx.settings.showRulers" },
58949
+ { key: "snapToGrid", labelKey: "pptx.settings.snapToGrid" },
58950
+ { key: "reducedMotion", labelKey: "pptx.settings.reducedMotion" }
58951
+ ];
58952
+ var SETTING_TOGGLES = VIEWER_PREFERENCE_TOGGLES;
58953
+ function updateViewerPreference(preferences, key, value) {
58954
+ return { ...preferences, [key]: value };
58955
+ }
58956
+ function viewerPreferencesFromViewProperties(data, defaults) {
58957
+ const slideViewPr = data.viewProperties?.slideViewPr;
58958
+ const gridSpacing = data.viewProperties?.gridSpacing;
58959
+ return {
58960
+ ...defaults,
58961
+ snapToGrid: slideViewPr?.snapToGrid ?? defaults.snapToGrid,
58962
+ snapToObjects: slideViewPr?.snapToObjects ?? defaults.snapToObjects,
58963
+ showGuides: slideViewPr?.showGuides ?? defaults.showGuides,
58964
+ gridSpacingCx: gridSpacing?.cx ?? defaults.gridSpacingCx,
58965
+ gridSpacingCy: gridSpacing?.cy ?? defaults.gridSpacingCy
58966
+ };
58967
+ }
58968
+ function viewPropertiesPatchFromPreferences(preferences) {
58969
+ const patch = {
58970
+ slideViewPr: {
58971
+ snapToGrid: preferences.snapToGrid,
58972
+ snapToObjects: preferences.snapToObjects ?? false,
58973
+ showGuides: preferences.showGuides ?? false
58974
+ }
58975
+ };
58976
+ if (typeof preferences.gridSpacingCx === "number" && typeof preferences.gridSpacingCy === "number") {
58977
+ patch.gridSpacing = { cx: preferences.gridSpacingCx, cy: preferences.gridSpacingCy };
58978
+ }
58979
+ return patch;
58980
+ }
58981
+
58982
+ // src/pptx/render/building-block-show-dialogs.ts
58983
+ function describeShowDialogActions(input) {
58984
+ const gate = describeBuildingBlockActions(input).replace;
58985
+ const edit = () => gate.available ? { available: true, needsHostUi: true } : { available: false, reason: gate.reason ?? "not-ready", needsHostUi: true };
58986
+ return {
58987
+ setUpSlideShow: edit(),
58988
+ customShows: edit(),
58989
+ broadcast: { available: false, reason: "unsupported", needsHostUi: true },
58990
+ shortcuts: { available: true, needsHostUi: true }
58991
+ };
58992
+ }
58993
+ function describeBroadcastSupport() {
58994
+ return { supported: false, reason: "unsupported", requires: "collaboration-service" };
58995
+ }
58996
+ function describeShortcutCatalogue(translate2) {
58997
+ return groupShortcutReference(VIEWER_SHORTCUT_REFERENCE).flatMap(
58998
+ (bucket) => bucket.shortcuts.map((item4) => ({
58999
+ id: item4.actionKey.replace(/^pptx\./, "").replace(/^shortcuts\.action\./, ""),
59000
+ descriptionKey: item4.actionKey,
59001
+ description: translate2(item4.actionKey),
59002
+ keys: item4.shortcut,
59003
+ alternatives: item4.shortcut.split(" or ").map((part2) => part2.trim()),
59004
+ group: item4.group,
59005
+ groupLabel: translate2(bucket.labelKey)
59006
+ }))
59007
+ );
59008
+ }
59009
+
59010
+ // src/pptx/render/building-blocks/action-groups.ts
59011
+ function defineBuildingBlockActionGroup(group) {
59012
+ return group;
59013
+ }
59014
+ function createBuildingBlockGroupContext(requests, refuse, ready) {
59015
+ return {
59016
+ refuse,
59017
+ ready,
59018
+ request: (next2) => requests.request(next2),
59019
+ complete: (kind, result) => requests.complete(kind, result)
59020
+ };
59021
+ }
59022
+
59023
+ // src/pptx/render/find-replace-session.ts
59024
+ var DEFAULT_FIND_REPLACE_OPTIONS = Object.freeze({
59025
+ matchCase: false,
59026
+ includeNotes: false,
59027
+ includeChartTitles: true,
59028
+ includeChartData: false
59029
+ });
59030
+ var INITIAL_FIND_REPLACE_SESSION = Object.freeze({
59031
+ query: "",
59032
+ replacement: "",
59033
+ options: DEFAULT_FIND_REPLACE_OPTIONS,
59034
+ matches: Object.freeze([]),
59035
+ current: -1,
59036
+ pendingRefind: null
59037
+ });
59038
+ function search(slides, session) {
59039
+ return session.query ? findInSlides(slides, session.query, session.options) : [];
59040
+ }
59041
+ function cursorAfterReplace(pending3, count) {
59042
+ if (count === 0) {
59043
+ return -1;
59044
+ }
59045
+ if (pending3.scope === "all") {
59046
+ return 0;
59047
+ }
59048
+ const created = Math.max(0, count - (pending3.count - 1));
59049
+ return (pending3.index + created) % count;
59050
+ }
59051
+ function reduceFindReplaceSession(session, event) {
59052
+ switch (event.type) {
59053
+ case "search": {
59054
+ const next2 = {
59055
+ ...session,
59056
+ query: event.query ?? session.query,
59057
+ options: event.options ? { ...session.options, ...event.options } : session.options,
59058
+ pendingRefind: null
59059
+ };
59060
+ const matches = search(event.slides, next2);
59061
+ return { ...next2, matches, current: matches.length > 0 ? 0 : -1 };
59062
+ }
59063
+ case "setReplacement":
59064
+ return event.replacement === session.replacement ? session : { ...session, replacement: event.replacement };
59065
+ case "step": {
59066
+ const count = session.matches.length;
59067
+ if (count === 0) {
59068
+ return session;
59069
+ }
59070
+ const from = session.current < 0 ? event.direction > 0 ? -1 : 0 : session.current;
59071
+ const current = (from + event.direction + count) % count;
59072
+ return current === session.current ? session : { ...session, current };
59073
+ }
59074
+ case "replaced":
59075
+ return {
59076
+ ...session,
59077
+ pendingRefind: {
59078
+ scope: event.plan.scope,
59079
+ index: event.plan.index,
59080
+ count: event.plan.count,
59081
+ base: event.slides
59082
+ }
59083
+ };
59084
+ case "slidesChanged": {
59085
+ const pending3 = session.pendingRefind;
59086
+ if (!pending3 || event.slides === pending3.base) {
59087
+ return session;
59088
+ }
59089
+ const matches = search(event.slides, session);
59090
+ return {
59091
+ ...session,
59092
+ matches,
59093
+ current: cursorAfterReplace(pending3, matches.length),
59094
+ pendingRefind: null
59095
+ };
59096
+ }
59097
+ case "close":
59098
+ return session.matches.length === 0 && session.current === -1 && !session.pendingRefind ? session : { ...session, matches: [], current: -1, pendingRefind: null };
59099
+ }
59100
+ }
59101
+ function findReplaceStatus(session) {
59102
+ const total = session.matches.length;
59103
+ return { current: total > 0 && session.current >= 0 ? session.current + 1 : 0, total };
59104
+ }
59105
+ function findReplaceTarget(session) {
59106
+ const match = session.current >= 0 ? session.matches[session.current] : void 0;
59107
+ if (!match) {
59108
+ return null;
59109
+ }
59110
+ return { slideIndex: match.slideIndex, elementId: match.notes ? null : match.elementId };
59111
+ }
59112
+ function matchKey(match) {
59113
+ return JSON.stringify([
59114
+ match.slideIndex,
59115
+ match.elementId,
59116
+ match.elementPath ?? null,
59117
+ match.tableCell ?? null,
59118
+ match.smartArtNodeId ?? null,
59119
+ match.notes ?? false,
59120
+ match.chartTitle ?? false,
59121
+ match.chartSeriesIndex ?? null,
59122
+ match.chartCategoryIndex ?? null,
59123
+ match.segmentIndex,
59124
+ match.startOffset,
59125
+ match.length
59126
+ ]);
59127
+ }
59128
+ function planFindReplace(session, slides, scope) {
59129
+ const found = search(slides, session);
59130
+ let matches = found;
59131
+ let index = -1;
59132
+ if (scope === "current") {
59133
+ const current = session.current >= 0 ? session.matches[session.current] : void 0;
59134
+ const key = current ? matchKey(current) : null;
59135
+ index = key === null ? -1 : found.findIndex((match) => matchKey(match) === key);
59136
+ matches = index >= 0 ? [found[index]] : [];
59137
+ }
59138
+ if (matches.length === 0 || matches.some((match) => match.readOnly)) {
59139
+ return null;
59140
+ }
59141
+ return { scope, matches, replacement: session.replacement, count: found.length, index };
59142
+ }
59143
+
59144
+ // src/pptx/render/find-replace-session-actions.ts
59145
+ function findReplaceSessionActions(store, host2) {
59146
+ const apply7 = (event) => {
59147
+ const current = store.get();
59148
+ const next2 = reduceFindReplaceSession(current, event);
59149
+ if (next2 !== current) {
59150
+ store.set(next2);
59151
+ }
59152
+ return next2 !== current;
59153
+ };
59154
+ const show = () => {
59155
+ const target = findReplaceTarget(store.get());
59156
+ if (target) {
59157
+ host2.navigate(target);
59158
+ }
59159
+ };
59160
+ const step2 = (direction) => {
59161
+ apply7({ type: "step", direction });
59162
+ show();
59163
+ };
59164
+ const slidesChanged = () => {
59165
+ if (apply7({ type: "slidesChanged", slides: host2.slides() })) {
59166
+ show();
59167
+ }
59168
+ };
59169
+ const replace = (scope) => {
59170
+ const slides = host2.slides();
59171
+ const plan = planFindReplace(store.get(), slides, scope);
59172
+ if (!plan) {
59173
+ return 0;
59174
+ }
59175
+ const result = applyFindReplacements(slides, plan.matches, plan.replacement);
59176
+ if (result.replacements === 0) {
59177
+ return 0;
59178
+ }
59179
+ host2.commit(result.slides, scope);
59180
+ apply7({ type: "replaced", plan, slides });
59181
+ slidesChanged();
59182
+ return result.replacements;
59183
+ };
59184
+ return {
59185
+ search: (change = {}) => {
59186
+ apply7({ type: "search", slides: host2.slides(), ...change });
59187
+ show();
59188
+ },
59189
+ setReplacement: (replacement) => {
59190
+ apply7({ type: "setReplacement", replacement });
59191
+ },
59192
+ next: () => step2(1),
59193
+ previous: () => step2(-1),
59194
+ replaceCurrent: () => replace("current"),
59195
+ replaceAll: () => replace("all"),
59196
+ slidesChanged,
59197
+ close: () => {
59198
+ apply7({ type: "close" });
59199
+ }
59200
+ };
59201
+ }
59202
+
59203
+ // src/pptx/render/building-blocks/find-bar-controller.ts
59204
+ function createFindBarController(host2) {
59205
+ const store = createControllerStore({
59206
+ open: false,
59207
+ session: INITIAL_FIND_REPLACE_SESSION
59208
+ });
59209
+ const actions = findReplaceSessionActions(
59210
+ {
59211
+ get: () => store.getSnapshot().session,
59212
+ set: (session) => store.update((current) => ({ ...current, session }))
59213
+ },
59214
+ host2
59215
+ );
59216
+ const setOpen = (open) => {
59217
+ if (store.getSnapshot().open === open) {
59218
+ return;
59219
+ }
59220
+ if (!open) {
59221
+ actions.close();
59222
+ }
59223
+ store.update((current) => ({ ...current, open }));
59224
+ };
59225
+ return {
59226
+ getSnapshot: store.getSnapshot,
59227
+ subscribe: store.subscribe,
59228
+ setOpen,
59229
+ toggle: () => setOpen(!store.getSnapshot().open),
59230
+ slidesChanged: () => actions.slidesChanged(),
59231
+ port() {
59232
+ const { open, session } = store.getSnapshot();
59233
+ return {
59234
+ open,
59235
+ setOpen,
59236
+ query: session.query,
59237
+ replacement: session.replacement,
59238
+ options: session.options,
59239
+ matches: session.matches,
59240
+ currentIndex: session.current,
59241
+ setQuery: (query) => actions.search({ query }),
59242
+ setReplacement: (replacement) => actions.setReplacement(replacement),
59243
+ setOptions: (change) => actions.search({ options: change }),
59244
+ find: () => actions.search(),
59245
+ navigate: (delta) => delta > 0 ? actions.next() : actions.previous(),
59246
+ replaceCurrent: () => void actions.replaceCurrent(),
59247
+ replaceAll: () => void actions.replaceAll()
59248
+ };
59249
+ }
59250
+ };
59251
+ }
59252
+
59253
+ // src/pptx/render/building-blocks/find-layout.ts
59254
+ function buildFindReplaceActions(port, refuseReplace) {
59255
+ const { matches, currentIndex } = port;
59256
+ return {
59257
+ open: port.open,
59258
+ setOpen: port.setOpen,
59259
+ query: port.query,
59260
+ replacement: port.replacement,
59261
+ options: port.options,
59262
+ matches,
59263
+ currentIndex,
59264
+ currentMatch: matches[currentIndex] ?? null,
59265
+ setQuery: port.setQuery,
59266
+ setReplacement: port.setReplacement,
59267
+ setOptions: port.setOptions,
59268
+ find: port.find,
59269
+ next: () => port.navigate(1),
59270
+ previous: () => port.navigate(-1),
59271
+ replaceCurrent: () => refuseReplace() ?? (matches[currentIndex] === void 0 ? buildingBlockFailure("no-match") : (port.replaceCurrent(), BUILDING_BLOCK_OK)),
59272
+ replaceAll: () => refuseReplace() ?? (matches.length === 0 ? buildingBlockFailure("no-match") : (port.replaceAll(), BUILDING_BLOCK_OK))
59273
+ };
59274
+ }
59275
+ function findHighlightTargets(matches, currentIndex, slideIndex) {
59276
+ const targets = /* @__PURE__ */ new Map();
59277
+ matches.forEach((match, index) => {
59278
+ if (match.slideIndex === slideIndex) {
59279
+ targets.set(
59280
+ match.elementId,
59281
+ (targets.get(match.elementId) ?? false) || index === currentIndex
59282
+ );
59283
+ }
59284
+ });
59285
+ return [...targets].map(([elementId, current]) => ({ elementId, current }));
59286
+ }
59287
+ function buildLayoutActions(deps) {
59288
+ const apply7 = async (path, requireListed) => {
59289
+ const denied = deps.refuse("applyLayout");
59290
+ if (denied) {
59291
+ return denied;
59292
+ }
59293
+ if (requireListed && !deps.getScopedLayouts().some((layout) => layout.path === path)) {
59294
+ return buildingBlockFailure("unknown-layout");
59295
+ }
59296
+ try {
59297
+ await deps.applyLayout(path);
59298
+ return BUILDING_BLOCK_OK;
59299
+ } catch {
59300
+ return buildingBlockFailure("unknown-layout");
59301
+ }
59302
+ };
59303
+ const reset = async () => {
59304
+ const path = resetSlideLayoutPath(deps.getActiveSlide());
59305
+ if (path === void 0) {
59306
+ return buildingBlockFailure("no-layout");
59307
+ }
59308
+ return deps.refuse("resetLayout") ?? apply7(path, false);
59309
+ };
59310
+ return {
59311
+ layout: {
59312
+ current: deps.scopedLayouts.find((layout) => layout.path === deps.activeSlide?.layoutPath),
59313
+ currentPath: deps.activeSlide?.layoutPath,
59314
+ available: deps.scopedLayouts,
59315
+ apply: (path) => apply7(path, true),
59316
+ reset
59317
+ },
59318
+ apply: apply7,
59319
+ reset
59320
+ };
59321
+ }
59322
+
59323
+ // src/pptx/render/building-blocks/find-highlight-dom.ts
59324
+ var FIND_MATCH_ATTRIBUTE = "data-pptx-find-match";
59325
+ function markFindHighlights(root, targets) {
59326
+ const marks = new Map(
59327
+ targets.map((target) => [target.elementId, target.current ? "current" : "match"])
59328
+ );
59329
+ for (const node of root.querySelectorAll(`[${FIND_MATCH_ATTRIBUTE}]`)) {
59330
+ if (!marks.has(node.getAttribute("data-element-id") ?? "")) {
59331
+ node.removeAttribute(FIND_MATCH_ATTRIBUTE);
59332
+ }
59333
+ }
59334
+ if (marks.size === 0) {
59335
+ return;
59336
+ }
59337
+ for (const node of root.querySelectorAll("[data-element-id]")) {
59338
+ const mark = marks.get(node.getAttribute("data-element-id") ?? "");
59339
+ if (mark && node.getAttribute(FIND_MATCH_ATTRIBUTE) !== mark) {
59340
+ node.setAttribute(FIND_MATCH_ATTRIBUTE, mark);
59341
+ }
59342
+ }
59343
+ }
59344
+ function syncFindHighlights(root, matches, currentIndex, slideIndex) {
59345
+ markFindHighlights(root, findHighlightTargets(matches, currentIndex, slideIndex));
59346
+ }
59347
+
59348
+ // src/pptx/render/building-blocks/groups/file-dialog-groups.ts
59349
+ var passwordProtectionGroup = defineBuildingBlockActionGroup({
59350
+ id: "passwordProtection",
59351
+ create: (context3, port) => buildPasswordProtectionActions({
59352
+ state: describePasswordProtection(port.input()),
59353
+ customProperties: () => port.customProperties(),
59354
+ refuse: () => context3.refuse("passwordProtection"),
59355
+ applyOpenPassword: (password) => port.applyOpenPassword(password),
59356
+ applyCustomProperties: (next2) => port.applyCustomProperties(next2),
59357
+ markDirty: () => port.markDirty(),
59358
+ complete: (result) => context3.complete("passwordProtection", result)
59359
+ })
59360
+ });
59361
+ var documentPropertiesGroup = defineBuildingBlockActionGroup({
59362
+ id: "documentProperties",
59363
+ create: (context3, port) => buildDocumentPropertiesActions({
59364
+ current: () => port.current(),
59365
+ refuse: () => context3.refuse("documentProperties"),
59366
+ applyUpdate: (update) => port.applyUpdate(update),
59367
+ complete: (result) => context3.complete("documentProperties", result)
59368
+ })
59369
+ });
59370
+ var fontEmbeddingGroup = defineBuildingBlockActionGroup({
59371
+ id: "fontEmbedding",
59372
+ create: (context3, port) => buildFontEmbeddingActions({
59373
+ state: describeFontEmbeddingState(port.input()),
59374
+ refuse: () => context3.refuse("fontEmbedding"),
59375
+ latest: () => {
59376
+ const { embedFonts, canEmbed } = describeFontEmbeddingState(port.input());
59377
+ return { embedFonts, canEmbed };
59378
+ },
59379
+ apply: (enabled) => port.apply(enabled),
59380
+ markDirty: () => port.markDirty(),
59381
+ complete: (result) => context3.complete("fontEmbedding", result)
59382
+ })
59383
+ });
59384
+ var digitalSignaturesGroup = defineBuildingBlockActionGroup({
59385
+ id: "digitalSignatures",
59386
+ create: (context3, port) => buildSignatureActions({
59387
+ state: describeSignaturesState({ signed: port.signed(), count: port.count() }),
59388
+ content: () => port.content(),
59389
+ refuse: () => context3.refuse("digitalSignatures"),
59390
+ markDirty: () => port.markDirty(),
59391
+ complete: (result) => context3.complete("digitalSignatures", result)
59392
+ })
59393
+ });
59394
+
59395
+ // src/pptx/render/building-blocks/groups/show-dialog-groups.ts
59396
+ var settingsContext = (port) => ({
59397
+ slideCount: port.slideCount(),
59398
+ customShows: [...port.customShows()]
59399
+ });
59400
+ var setUpSlideShowGroup = defineBuildingBlockActionGroup({
59401
+ id: "setUpSlideShow",
59402
+ create: (context3, port) => ({
59403
+ current: describeSlideShowSettings(port.presentationProperties(), settingsContext(port)),
59404
+ apply: (patch) => {
59405
+ const denied = context3.refuse("setUpSlideShow");
59406
+ if (denied) {
59407
+ return denied;
59408
+ }
59409
+ const resolved2 = resolveSlideShowSettings(
59410
+ port.presentationProperties(),
59411
+ patch,
59412
+ settingsContext(port)
59413
+ );
59414
+ if (!resolved2.ok) {
59415
+ return buildingBlockFailure(resolved2.code);
59416
+ }
59417
+ port.save(resolved2.settings);
59418
+ return context3.complete("setUpSlideShow", BUILDING_BLOCK_OK);
59419
+ }
59420
+ })
59421
+ });
59422
+ var customShowsGroup = defineBuildingBlockActionGroup({
59423
+ id: "customShows",
59424
+ create: (context3, port) => {
59425
+ const edit = (change) => {
59426
+ const denied = context3.refuse("customShows");
59427
+ if (denied) {
59428
+ return denied;
59429
+ }
59430
+ const outcome = applyCustomShowEdit(port.customShows(), port.slides(), change);
59431
+ if (!outcome.ok) {
59432
+ return buildingBlockFailure(outcome.code);
59433
+ }
59434
+ port.commit(outcome.shows, outcome.slides);
59435
+ return BUILDING_BLOCK_OK;
59436
+ };
59437
+ return {
59438
+ ...describeCustomShows(port.customShows(), port.slides()),
59439
+ activeId: port.activeId(),
59440
+ create: (name, slideRIds) => edit({ kind: "create", name, ...slideRIds ? { slideRIds } : {} }),
59441
+ rename: (id, name) => edit({ kind: "rename", id, name }),
59442
+ setSlides: (id, slideRIds) => edit({ kind: "setSlides", id, slideRIds }),
59443
+ copy: (id, name) => edit({ kind: "copy", id, ...name === void 0 ? {} : { name } }),
59444
+ remove: (id) => edit({ kind: "remove", id }),
59445
+ start: (id) => {
59446
+ if (!context3.ready()) {
59447
+ return buildingBlockFailure("not-ready");
59448
+ }
59449
+ const target = resolveCustomShowStart(port.customShows(), port.slides(), id);
59450
+ if (!target.ok) {
59451
+ return buildingBlockFailure(target.code);
59452
+ }
59453
+ port.start(id);
59454
+ return context3.complete("customShows", BUILDING_BLOCK_OK);
59455
+ }
59456
+ };
59457
+ }
59458
+ });
59459
+ var broadcastGroup = defineBuildingBlockActionGroup({
59460
+ id: "broadcast",
59461
+ create: (_context, _port) => describeBroadcastSupport()
59462
+ });
59463
+ var shortcutsGroup = defineBuildingBlockActionGroup({
59464
+ id: "shortcuts",
59465
+ create: (_context, port) => ({
59466
+ open: port.open(),
59467
+ setOpen: (open) => port.setOpen(open),
59468
+ toggle: () => port.toggle(),
59469
+ catalogue: describeShortcutCatalogue((key) => port.translate(key))
59470
+ })
59471
+ });
59472
+
59473
+ // src/pptx/render/building-blocks/groups/index.ts
59474
+ var BUILDING_BLOCK_GROUP_IDS = [
59475
+ "passwordProtection",
59476
+ "documentProperties",
59477
+ "fontEmbedding",
59478
+ "digitalSignatures",
59479
+ "setUpSlideShow",
59480
+ "customShows",
59481
+ "broadcast",
59482
+ "shortcuts"
59483
+ ];
59484
+ function registerBuildingBlockGroups(session, ports) {
59485
+ const stops = [
59486
+ session.register(passwordProtectionGroup, ports.passwordProtection),
59487
+ session.register(documentPropertiesGroup, ports.documentProperties),
59488
+ session.register(fontEmbeddingGroup, ports.fontEmbedding),
59489
+ session.register(digitalSignaturesGroup, ports.digitalSignatures),
59490
+ session.register(setUpSlideShowGroup, ports.setUpSlideShow),
59491
+ session.register(customShowsGroup, ports.customShows),
59492
+ session.register(broadcastGroup, null),
59493
+ session.register(shortcutsGroup, ports.shortcuts)
59494
+ ];
59495
+ return () => {
59496
+ for (const stop of stops) {
59497
+ stop();
59498
+ }
59499
+ };
59500
+ }
59501
+
59502
+ // src/pptx/render/building-blocks/hyperlink-edit-data.ts
59503
+ var HYPERLINK_ACTION_VERB_MAP = {
59504
+ "ppaction://hlinkshowjump?jump=nextslide": "nextSlide",
59505
+ "ppaction://hlinkshowjump?jump=previousslide": "prevSlide",
59506
+ "ppaction://hlinkshowjump?jump=firstslide": "firstSlide",
59507
+ "ppaction://hlinkshowjump?jump=lastslide": "lastSlide",
59508
+ "ppaction://hlinkshowjump?jump=endshow": "endShow"
59509
+ };
59510
+ var HYPERLINK_ACTION_VERB_TO_PPACTION = {
59511
+ nextSlide: "ppaction://hlinkshowjump?jump=nextslide",
59512
+ prevSlide: "ppaction://hlinkshowjump?jump=previousslide",
59513
+ firstSlide: "ppaction://hlinkshowjump?jump=firstslide",
59514
+ lastSlide: "ppaction://hlinkshowjump?jump=lastslide",
59515
+ endShow: "ppaction://hlinkshowjump?jump=endshow"
59516
+ };
59517
+ function detectHyperlinkTargetType(url, action) {
59518
+ if (action && action.startsWith("ppaction://")) {
59519
+ if (action.includes("hlinksldjump")) {
59520
+ return "slide";
59521
+ }
59522
+ return "action";
59523
+ }
59524
+ if (!url) {
59525
+ return "url";
59526
+ }
59527
+ if (url.startsWith("mailto:")) {
59528
+ return "email";
59529
+ }
59530
+ if (/^[a-zA-Z]:\\|^\.\.?[/\\]|^file:/i.test(url)) {
59531
+ return "file";
59532
+ }
59533
+ return "url";
59534
+ }
59535
+ function parseHyperlinkEmailUrl(url) {
59536
+ if (!url.startsWith("mailto:")) {
59537
+ return { address: url, subject: "" };
59538
+ }
59539
+ const withoutScheme = url.slice(7);
59540
+ const qIdx = withoutScheme.indexOf("?");
59541
+ if (qIdx < 0) {
59542
+ return { address: withoutScheme, subject: "" };
59543
+ }
59544
+ const address = withoutScheme.slice(0, qIdx);
59545
+ const params = new URLSearchParams(withoutScheme.slice(qIdx + 1));
59546
+ return { address, subject: params.get("subject") || "" };
59547
+ }
59548
+ function parseHyperlinkSlideNumber(url, action) {
59549
+ if (action === "ppaction://hlinksldjump" && url) {
59550
+ const match = url.match(/slide(\d+)\.xml$/i);
59551
+ if (match?.[1]) {
59552
+ return parseInt(match[1], 10);
59553
+ }
59554
+ }
59555
+ if (url) {
59556
+ const hashMatch = url.match(/#\s*Slide\s+(\d+)/i);
59557
+ if (hashMatch?.[1]) {
59558
+ return parseInt(hashMatch[1], 10);
59559
+ }
59560
+ }
59561
+ return 1;
59562
+ }
59563
+ function resolveHyperlinkEditResult(data) {
59564
+ const tooltip = data.tooltip.trim() || void 0;
59565
+ const withTooltip = (value) => tooltip === void 0 ? value : { ...value, tooltip };
59566
+ switch (data.targetType) {
59567
+ case "email": {
59568
+ const mailto = data.emailSubject ? `mailto:${data.emailAddress}?subject=${encodeURIComponent(data.emailSubject)}` : `mailto:${data.emailAddress}`;
59569
+ return withTooltip({ url: mailto });
59570
+ }
59571
+ case "slide":
59572
+ return withTooltip({
59573
+ url: `slide${data.slideNumber}.xml`,
59574
+ action: "ppaction://hlinksldjump"
59575
+ });
59576
+ case "file":
59577
+ return withTooltip({ url: data.filePath });
59578
+ case "action":
59579
+ return withTooltip({ url: "", action: HYPERLINK_ACTION_VERB_TO_PPACTION[data.actionVerb] });
59580
+ case "url":
59581
+ default:
59582
+ return withTooltip({ url: data.url });
59583
+ }
59584
+ }
59585
+ function hyperlinkEditDataFromAction(actionClick) {
59586
+ if (!actionClick || !actionClick.url && !actionClick.action) {
59587
+ return null;
59588
+ }
59589
+ const { url, action, tooltip } = actionClick;
59590
+ const targetType = detectHyperlinkTargetType(url, action);
59591
+ const email = parseHyperlinkEmailUrl(url ?? "");
59592
+ return {
59593
+ targetType,
59594
+ url: targetType === "url" ? url ?? "" : "",
59595
+ tooltip: tooltip ?? "",
59596
+ emailAddress: targetType === "email" ? email.address : "",
59597
+ emailSubject: targetType === "email" ? email.subject : "",
59598
+ slideNumber: parseHyperlinkSlideNumber(url, action),
59599
+ filePath: targetType === "file" ? url ?? "" : "",
59600
+ actionVerb: action && HYPERLINK_ACTION_VERB_MAP[action.toLowerCase()] || "nextSlide"
59601
+ };
59602
+ }
59603
+ function hyperlinkEditPatch(data) {
59604
+ const resolved2 = resolveHyperlinkEditResult(data);
59605
+ if (resolved2.url && !isUrlSafe(resolved2.url)) {
59606
+ return { ok: false, code: "unsafe-url" };
59607
+ }
59608
+ const actionClick = {};
59609
+ if (resolved2.url) {
59610
+ actionClick.url = resolved2.url;
59611
+ }
59612
+ if (resolved2.action !== void 0) {
59613
+ actionClick.action = resolved2.action;
59614
+ }
59615
+ if (resolved2.tooltip !== void 0) {
59616
+ actionClick.tooltip = resolved2.tooltip;
59617
+ }
59618
+ return { ok: true, actionClick };
59619
+ }
59620
+ var MEDIA_AUDIO_SIZE = { width: 420, height: 64 };
59621
+ var MEDIA_VIDEO_MAX_SIZE = { width: 640, height: 360 };
59622
+ function probeVideoSize(doc, dataUrl) {
59623
+ const max = MEDIA_VIDEO_MAX_SIZE;
59624
+ return new Promise((resolve) => {
59625
+ const probe = doc.createElement("video");
59626
+ probe.preload = "metadata";
59627
+ probe.onloadedmetadata = () => {
59628
+ const width = probe.videoWidth || max.width;
59629
+ const height = probe.videoHeight || max.height;
59630
+ if (width > max.width || height > max.height) {
59631
+ const scale3 = Math.min(max.width / width, max.height / height);
59632
+ resolve({ width: Math.round(width * scale3), height: Math.round(height * scale3) });
59633
+ return;
59634
+ }
59635
+ resolve({ width, height });
59636
+ };
59637
+ probe.onerror = () => resolve({ width: max.width, height: max.height });
59638
+ probe.src = dataUrl;
59639
+ });
59640
+ }
59641
+ function mediaElementFromFile(file, canvasSize, doc = document) {
59642
+ const mediaType = classifyMediaType(file.type);
59643
+ if (!mediaType) {
59644
+ return Promise.resolve(null);
59645
+ }
59646
+ return new Promise((resolve) => {
59647
+ const reader = new FileReader();
59648
+ reader.onload = async () => {
59649
+ const dataUrl = typeof reader.result === "string" ? reader.result : "";
59650
+ if (!dataUrl) {
59651
+ resolve(null);
59652
+ return;
59653
+ }
59654
+ const size2 = mediaType === "audio" ? { ...MEDIA_AUDIO_SIZE } : await probeVideoSize(doc, dataUrl);
59655
+ resolve({
59656
+ id: createEditorId("media"),
59657
+ type: "media",
59658
+ mediaType,
59659
+ mediaMimeType: file.type || void 0,
59660
+ mediaData: dataUrl,
59661
+ x: Math.max(0, Math.round((canvasSize.width - size2.width) / 2)),
59662
+ y: Math.max(0, Math.round((canvasSize.height - size2.height) / 2)),
59663
+ width: size2.width,
59664
+ height: size2.height
59665
+ });
59666
+ };
59667
+ reader.onerror = () => resolve(null);
59668
+ reader.readAsDataURL(file);
59669
+ });
59670
+ }
59671
+
59672
+ // src/pptx/render/building-blocks/mode.ts
59673
+ function resolveBuildingBlockMode(mode, canEdit) {
59674
+ return mode === "edit" && !canEdit ? "preview" : mode;
59675
+ }
59676
+
59677
+ // src/pptx/render/building-blocks/requests.ts
59678
+ var BUILDING_BLOCK_REQUEST_ACTIONS = {
59679
+ image: () => "insertImage",
59680
+ media: () => "insertMedia",
59681
+ hyperlink: () => "hyperlink",
59682
+ smartArt: () => "insertSmartArt",
59683
+ chart: () => "insertChart",
59684
+ equation: (request) => request.existingOmml ? "editEquation" : "insertEquation",
59685
+ passwordProtection: () => "passwordProtection",
59686
+ documentProperties: () => "documentProperties",
59687
+ fontEmbedding: () => "fontEmbedding",
59688
+ digitalSignatures: () => "digitalSignatures",
59689
+ setUpSlideShow: () => "setUpSlideShow",
59690
+ customShows: () => "customShows",
59691
+ shortcuts: () => "shortcuts"
59692
+ };
59693
+ var BUILDING_BLOCK_VIEWABLE_REQUESTS = /* @__PURE__ */ new Set([
59694
+ "passwordProtection",
59695
+ "documentProperties",
59696
+ "fontEmbedding",
59697
+ "digitalSignatures"
59698
+ ]);
59699
+ function buildingBlockRequestAction(request) {
59700
+ const resolve = BUILDING_BLOCK_REQUEST_ACTIONS[request.kind];
59701
+ return resolve(request);
59702
+ }
59703
+ function createBuildingBlockRequests(deps) {
59704
+ const store = createControllerStore(null);
59705
+ return {
59706
+ getSnapshot: store.getSnapshot,
59707
+ subscribe: store.subscribe,
59708
+ request(next2) {
59709
+ const { available, reason } = deps.state(buildingBlockRequestAction(next2));
59710
+ const allowed = BUILDING_BLOCK_VIEWABLE_REQUESTS.has(next2.kind) ? reason !== "not-ready" : available;
59711
+ if (!allowed) {
59712
+ return false;
59713
+ }
59714
+ store.set(next2);
59715
+ deps.onRequest?.(next2);
59716
+ return true;
59717
+ },
59718
+ complete(kind, result) {
59719
+ if (result.ok) {
59720
+ store.update((current) => current?.kind === kind ? null : current);
59721
+ }
59722
+ return result;
59723
+ },
59724
+ cancel: () => store.set(null),
59725
+ announce(next2, open) {
59726
+ if (open) {
59727
+ store.set(next2);
59728
+ } else {
59729
+ store.update((current) => current?.kind === next2.kind ? null : current);
59730
+ }
59731
+ deps.onRequest?.(next2);
59732
+ }
59733
+ };
59734
+ }
59735
+
59736
+ // src/pptx/render/building-blocks/session.ts
59737
+ function describeBuildingBlockAvailability(input) {
59738
+ return { ...describeBuildingBlockActions(input), ...describeShowDialogActions(input) };
59739
+ }
59740
+ function selectionEquation(element) {
59741
+ const segments = element?.textSegments;
59742
+ const found = segments?.find((segment) => segment.equationXml)?.equationXml;
59743
+ return found ? found : null;
59744
+ }
59745
+ function createPptxBuildingBlockSession(port) {
59746
+ const availability = () => describeBuildingBlockAvailability(port.availabilityInput());
59747
+ const refuse = (id) => {
59748
+ const { available, reason } = availability()[id];
59749
+ return available ? void 0 : buildingBlockFailure(reason ?? "not-ready");
59750
+ };
59751
+ const requests = createBuildingBlockRequests({
59752
+ state: (id) => availability()[id],
59753
+ onRequest: (request) => port.onRequest?.(request)
59754
+ });
59755
+ const context3 = createBuildingBlockGroupContext(
59756
+ requests,
59757
+ refuse,
59758
+ () => port.availabilityInput().ready
59759
+ );
59760
+ const groups = /* @__PURE__ */ new Map();
59761
+ const gated = (id, kind, run2) => {
59762
+ const denied = refuse(id);
59763
+ if (denied) {
59764
+ return denied;
59765
+ }
59766
+ run2();
59767
+ return requests.complete(kind, BUILDING_BLOCK_OK);
59768
+ };
59769
+ const insertImage = async (file) => {
59770
+ const denied = refuse("insertImage");
59771
+ if (denied) {
59772
+ return denied;
59773
+ }
59774
+ const checked = validateHostImageFile(file, port.fileLimits()?.imageBytes);
59775
+ if (!checked.ok) {
59776
+ return checked;
59777
+ }
59778
+ const before = port.target();
59779
+ const decode = port.decodeImage ?? createImageElementFromFile;
59780
+ const element = await decode(file, port.canvasSize());
59781
+ if (!element) {
59782
+ return buildingBlockFailure("decode-failed");
59783
+ }
59784
+ const now = port.target();
59785
+ if (now.deck !== before.deck || now.slideId !== before.slideId) {
59786
+ return buildingBlockFailure("stale-target");
59787
+ }
59788
+ const stillDenied = refuse("insertImage");
59789
+ if (stillDenied) {
59790
+ return stillDenied;
59791
+ }
59792
+ port.addElement(element);
59793
+ return requests.complete("image", BUILDING_BLOCK_OK);
59794
+ };
59795
+ const insertMedia = async (file) => {
59796
+ const denied = refuse("insertMedia");
59797
+ if (denied) {
59798
+ return denied;
59799
+ }
59800
+ const checked = validateHostMediaFile(file, port.fileLimits()?.mediaBytes);
59801
+ if (!checked.ok) {
59802
+ return checked;
59803
+ }
59804
+ const before = port.target();
59805
+ const sameTarget = () => {
59806
+ const now = port.target();
59807
+ return now.deck === before.deck && now.slideId === before.slideId && now.slideIndex === before.slideIndex && availability().insertMedia.available;
59808
+ };
59809
+ return requests.complete("media", await port.insertMediaFile(file, sameTarget));
59810
+ };
59811
+ const layoutActions = () => buildLayoutActions({
59812
+ activeSlide: port.activeSlide(),
59813
+ scopedLayouts: port.scopedLayouts(),
59814
+ getScopedLayouts: () => port.scopedLayouts(),
59815
+ getActiveSlide: () => port.activeSlide(),
59816
+ refuse: (id) => refuse(id),
59817
+ applyLayout: (path) => port.applyLayout(path)
59818
+ });
59819
+ const hyperlinkApply = (data) => {
59820
+ const denied = refuse("hyperlink");
59821
+ if (denied) {
59822
+ return denied;
59823
+ }
59824
+ const resolved2 = resolveHyperlinkEditResult(data);
59825
+ if (!resolved2.url && !resolved2.action) {
59826
+ return buildingBlockFailure("invalid-target");
59827
+ }
59828
+ return requests.complete("hyperlink", port.applyHyperlink(data));
59829
+ };
59830
+ const hyperlinkRemove = () => refuse("removeHyperlink") ?? port.removeHyperlink();
59831
+ const smartArtInsert = (layout, items) => gated("insertSmartArt", "smartArt", () => port.insertSmartArt(layout, items));
59832
+ const chartInsert = (kind, options) => {
59833
+ if (options?.data !== void 0 && !isValidInsertChartData(options.data)) {
59834
+ return refuse("insertChart") ?? buildingBlockFailure("invalid-data");
59835
+ }
59836
+ return gated("insertChart", "chart", () => port.insertChart(kind, options));
59837
+ };
59838
+ const equationInsert = (omml) => gated("insertEquation", "equation", () => port.insertEquation(omml));
59839
+ const equationUpdate = (omml) => gated("editEquation", "equation", () => port.updateEquation(omml));
59840
+ const cancel = () => {
59841
+ requests.cancel();
59842
+ port.onCancel?.();
59843
+ };
59844
+ return {
59845
+ requests,
59846
+ context: context3,
59847
+ request: (next2) => requests.request(next2),
59848
+ announce: (next2, open) => requests.announce(next2, open),
59849
+ applyLayout: (path) => layoutActions().apply(path, true),
59850
+ resetSlide: () => layoutActions().reset(),
59851
+ register(group, groupPort) {
59852
+ const create = () => group.create(context3, groupPort);
59853
+ groups.set(group.id, create);
59854
+ return () => {
59855
+ if (groups.get(group.id) === create) {
59856
+ groups.delete(group.id);
59857
+ }
59858
+ };
59859
+ },
59860
+ actions() {
59861
+ const selected = port.selectedElement();
59862
+ const extensions = {};
59863
+ for (const [id, create] of groups) {
59864
+ Reflect.set(extensions, id, create());
59865
+ }
59866
+ return {
59867
+ ...extensions,
59868
+ availability: availability(),
59869
+ unmountedDialogActions: BUILDING_BLOCK_UNMOUNTED_DIALOG_ACTIONS,
59870
+ pending: requests.getSnapshot(),
59871
+ cancel,
59872
+ insertImage,
59873
+ insertMedia,
59874
+ hyperlink: {
59875
+ current: hyperlinkEditDataFromAction(selected?.actionClick),
59876
+ slideCount: port.slideCount(),
59877
+ apply: hyperlinkApply,
59878
+ remove: hyperlinkRemove
59879
+ },
59880
+ smartArt: { insert: smartArtInsert },
59881
+ chart: { insert: chartInsert },
59882
+ equation: {
59883
+ current: selectionEquation(selected),
59884
+ insert: equationInsert,
59885
+ update: equationUpdate
59886
+ },
59887
+ findReplace: buildFindReplaceActions(port.findReplace(), () => refuse("replace")),
59888
+ layout: layoutActions().layout
59889
+ };
59890
+ }
59891
+ };
59892
+ }
59893
+
59894
+ // src/pptx/render/building-blocks/toolbar.ts
59895
+ var LABELS = {
59896
+ undo: "pptx.toolbar.undo",
59897
+ redo: "pptx.toolbar.redo",
59898
+ insertImage: "pptx.insert.pictures",
59899
+ insertMedia: "pptx.ribbon.media",
59900
+ insertChart: "pptx.ribbon.chart",
59901
+ insertSmartArt: "pptx.ribbon.smartArt",
59902
+ insertEquation: "pptx.ribbon.equation",
59903
+ hyperlink: "pptx.ribbon.link",
59904
+ find: "pptx.toolbar.findAndReplace",
59905
+ resetLayout: "pptx.ribbon.groupReset",
59906
+ zoomOut: "pptx.statusBar.zoomOut",
59907
+ zoomIn: "pptx.statusBar.zoomIn",
59908
+ zoomToFit: "pptx.statusBar.zoomToFit",
59909
+ previousSlide: "pptx.mobileBar.previousSlide",
59910
+ nextSlide: "pptx.mobileBar.nextSlide"
59911
+ };
59912
+ var HIDDEN_BY = {
59913
+ undo: "undo",
59914
+ redo: "redo",
59915
+ insertImage: "insert",
59916
+ insertMedia: "insert",
59917
+ insertChart: "insert",
59918
+ insertSmartArt: "insert",
59919
+ insertEquation: "insert",
59920
+ hyperlink: "insert",
59921
+ zoomOut: "zoom",
59922
+ zoomIn: "zoom",
59923
+ zoomToFit: "zoom",
59924
+ previousSlide: "navigation",
59925
+ nextSlide: "navigation"
59926
+ };
59927
+ function describeBuildingBlockToolbar(input) {
59928
+ const hidden = new Set(input.hiddenActions ?? []);
59929
+ const control4 = (id, disabled, pressed) => {
59930
+ const by = HIDDEN_BY[id];
59931
+ if (by !== void 0 && hidden.has(by)) {
59932
+ return void 0;
59933
+ }
59934
+ const base2 = { id, labelKey: LABELS[id], disabled };
59935
+ return pressed === void 0 ? base2 : { ...base2, pressed };
59936
+ };
59937
+ const action = (id) => control4(id, !input.availability[id].available);
59938
+ const groups = [
59939
+ ["history", [control4("undo", !input.canUndo), control4("redo", !input.canRedo)]],
59940
+ [
59941
+ "insert",
59942
+ [
59943
+ action("insertImage"),
59944
+ action("insertMedia"),
59945
+ action("insertChart"),
59946
+ action("insertSmartArt"),
59947
+ action("insertEquation"),
59948
+ action("hyperlink")
59949
+ ]
59950
+ ],
59951
+ ["editing", [control4("find", false, input.findOpen), action("resetLayout")]],
59952
+ ["view", [control4("zoomOut", false), control4("zoomIn", false), control4("zoomToFit", false)]],
59953
+ [
59954
+ "navigation",
59955
+ [
59956
+ control4("previousSlide", input.slideIndex <= 0),
59957
+ control4("nextSlide", input.slideIndex >= input.slideCount - 1)
59958
+ ]
59959
+ ]
59960
+ ];
59961
+ return groups.map(([id, controls2]) => ({
59962
+ id,
59963
+ controls: controls2.filter((entry6) => !!entry6)
59964
+ })).filter((group) => group.controls.length > 0);
59965
+ }
59966
+ function runBuildingBlockToolbarControl(id, session, view2) {
59967
+ switch (id) {
59968
+ case "insertImage":
59969
+ session.request({ kind: "image" });
59970
+ return;
59971
+ case "insertMedia":
59972
+ session.request({ kind: "media" });
59973
+ return;
59974
+ case "insertChart":
59975
+ session.request({ kind: "chart" });
59976
+ return;
59977
+ case "insertSmartArt":
59978
+ session.request({ kind: "smartArt" });
59979
+ return;
59980
+ case "insertEquation":
59981
+ session.request({ kind: "equation", existingOmml: null });
59982
+ return;
59983
+ case "hyperlink":
59984
+ session.request({ kind: "hyperlink" });
59985
+ return;
59986
+ case "resetLayout":
59987
+ void session.resetSlide();
59988
+ return;
59989
+ case "find":
59990
+ view2.toggleFind();
59991
+ return;
59992
+ default:
59993
+ view2[id]();
59994
+ }
59995
+ }
59996
+
59997
+ // src/pptx/render/template-background-rows.ts
59998
+ function resolveTemplateBackgroundRows(activeSlide, slideMasters, fallbackLayoutLabel, fallbackMasterLabel) {
59999
+ const result = {};
60000
+ if (activeSlide.layoutPath) {
60001
+ result.layout = {
60002
+ path: activeSlide.layoutPath,
60003
+ label: activeSlide.layoutName ?? fallbackLayoutLabel,
60004
+ title: activeSlide.layoutName ?? activeSlide.layoutPath
60005
+ };
60006
+ }
60007
+ const master = slideMasters?.find((m) => m.layoutPaths?.includes(activeSlide.layoutPath ?? ""));
60008
+ if (master) {
60009
+ result.master = {
60010
+ path: master.path,
60011
+ label: master.name ?? fallbackMasterLabel,
60012
+ title: master.name ?? master.path
60013
+ };
60014
+ }
60015
+ return result;
60016
+ }
60017
+
60018
+ // src/pptx/render/transition-template-elements.ts
60019
+ function transitionTemplateElements(outgoingSlide, incomingSlide, templateElementsBySlideId) {
60020
+ const of = (slide) => slide ? [...visibleTemplateElements(slide, templateElementsBySlideId[slide.id] ?? [])] : [];
60021
+ return { outgoing: of(outgoingSlide), incoming: of(incomingSlide) };
60022
+ }
60023
+
60024
+ // src/pptx/render/preview-elements.ts
60025
+ var DEFAULT_PREVIEW_ELEMENT_CAP = 500;
60026
+ function buildPreviewElements(slide, templateElements = [], options) {
60027
+ const cap = options?.cap ?? DEFAULT_PREVIEW_ELEMENT_CAP;
60028
+ const merged = [...visibleTemplateElements(slide, templateElements), ...slide.elements];
60029
+ if (cap > 0 && merged.length > cap) {
60030
+ return merged.slice(0, cap);
60031
+ }
60032
+ return merged;
60033
+ }
60034
+ var SMARTART_PREVIEW_ELEMENT_WIDTH = 600;
60035
+ var SMARTART_PREVIEW_ELEMENT_HEIGHT = 340;
60036
+ var SMARTART_PREVIEW_FALLBACK_ITEMS = ["1", "2", "3"];
60037
+ function buildSmartArtPreviewElement(layout, defaultItems) {
60038
+ const preset2 = PRESETS.find((p) => p.layout === layout);
60039
+ const items = [...defaultItems ?? preset2?.defaultItems ?? SMARTART_PREVIEW_FALLBACK_ITEMS];
60040
+ return {
60041
+ id: `smartart-preview-${layout}`,
60042
+ type: "smartArt",
60043
+ x: 0,
60044
+ y: 0,
60045
+ width: SMARTART_PREVIEW_ELEMENT_WIDTH,
60046
+ height: SMARTART_PREVIEW_ELEMENT_HEIGHT,
60047
+ smartArtData: buildSmartArtPresetData(layout, items)
60048
+ };
60049
+ }
60050
+
60051
+ // src/pptx/render/shape-preset-catalog.ts
60052
+ var SHAPE_PRESET_DEFS = [
60053
+ {
60054
+ type: "rect",
60055
+ label: "Rectangle",
60056
+ i18nKey: "pptx.editorToolbar.shapeRectangle",
60057
+ glyph: "square",
60058
+ glyphClass: ""
60059
+ },
60060
+ {
60061
+ type: "roundRect",
60062
+ label: "Rounded",
60063
+ i18nKey: "pptx.shapePresets.rounded",
60064
+ glyph: "square",
60065
+ glyphClass: ""
60066
+ },
60067
+ {
60068
+ type: "ellipse",
60069
+ label: "Circle",
60070
+ i18nKey: "pptx.shapePresets.circle",
60071
+ glyph: "circle",
60072
+ glyphClass: ""
60073
+ },
60074
+ {
60075
+ type: "cylinder",
60076
+ label: "Cylinder",
60077
+ i18nKey: "pptx.shapePresets.cylinder",
60078
+ glyph: "database",
60079
+ glyphClass: ""
60080
+ },
60081
+ {
60082
+ type: "rtArrow",
60083
+ label: "Right Arrow",
60084
+ i18nKey: "pptx.shapePresets.rightArrow",
60085
+ glyph: "moveRight",
60086
+ glyphClass: ""
60087
+ },
57852
60088
  {
57853
60089
  type: "leftArrow",
57854
60090
  label: "Left Arrow",
@@ -58778,35 +61014,6 @@ function homeRow(item4, sectionId, groupKey, group) {
58778
61014
  };
58779
61015
  }
58780
61016
  var homeShapeValue = (value) => value.replace(/^recent:/u, "");
58781
-
58782
- // src/pptx/render/font-embedding.ts
58783
- var FONT_EMBEDDING_UNAVAILABLE_KEY = "pptx.fonts.embedUnavailable";
58784
- function describeFontEmbedding(embeddedFamilies) {
58785
- const seen = /* @__PURE__ */ new Set();
58786
- const families = [];
58787
- for (const raw of embeddedFamilies ?? []) {
58788
- const family2 = raw?.trim();
58789
- if (!family2) {
58790
- continue;
58791
- }
58792
- const key = family2.toLowerCase();
58793
- if (seen.has(key)) {
58794
- continue;
58795
- }
58796
- seen.add(key);
58797
- families.push(family2);
58798
- }
58799
- const hasAny = families.length > 0;
58800
- return {
58801
- embeddedFamilies: families,
58802
- interactive: hasAny,
58803
- initialEnabled: hasAny,
58804
- ...hasAny ? {} : { disabledReasonKey: FONT_EMBEDDING_UNAVAILABLE_KEY }
58805
- };
58806
- }
58807
- function embeddedFontSaveOptions(embedFonts) {
58808
- return embedFonts ? { embedTrueTypeFonts: true } : { embeddedFontList: null, embedTrueTypeFonts: false };
58809
- }
58810
61017
  var OFFICE_COLOR_SWATCHES = [
58811
61018
  { hex: "#000000", label: "Black", labelKey: "pptx.colorPicker.standard.black" },
58812
61019
  { hex: "#ffffff", label: "White", labelKey: "pptx.colorPicker.standard.white" },
@@ -60821,42 +63028,6 @@ async function scanAvailableFontFamilies(families, source = browserFontSource())
60821
63028
  }
60822
63029
  }
60823
63030
 
60824
- // src/pptx/render/password-protection.ts
60825
- function getPasswordStrength(password) {
60826
- if (!password) {
60827
- return 0;
60828
- }
60829
- let score2 = 0;
60830
- if (password.length >= 8) {
60831
- score2 += 1;
60832
- }
60833
- if (password.length >= 12) {
60834
- score2 += 1;
60835
- }
60836
- if (/[A-Z]/u.test(password) && /[a-z]/u.test(password)) {
60837
- score2 += 1;
60838
- }
60839
- if (/\d/u.test(password)) {
60840
- score2 += 1;
60841
- }
60842
- if (/[^A-Za-z0-9]/u.test(password)) {
60843
- score2 += 1;
60844
- }
60845
- return Math.min(score2, 4);
60846
- }
60847
- function validatePasswordPair(password, confirmation) {
60848
- if (!password) {
60849
- return "required";
60850
- }
60851
- if (password !== confirmation) {
60852
- return "mismatch";
60853
- }
60854
- if (password.length < 4) {
60855
- return "tooShort";
60856
- }
60857
- return null;
60858
- }
60859
-
60860
63031
  // src/pptx/render/theme-write-queue.ts
60861
63032
  var pendingWrites = /* @__PURE__ */ new WeakMap();
60862
63033
  function startWrite(write) {
@@ -61070,129 +63241,6 @@ function buildDeckSaveOptions(state) {
61070
63241
  };
61071
63242
  }
61072
63243
 
61073
- // src/pptx/render/viewer-preferences.ts
61074
- var DEFAULT_VIEWER_PREFERENCES = {
61075
- autoSave: true,
61076
- spellCheck: false,
61077
- showGrid: false,
61078
- showRulers: false,
61079
- snapToGrid: false,
61080
- reducedMotion: false
61081
- };
61082
- var DEFAULT_VIEWER_SETTINGS = DEFAULT_VIEWER_PREFERENCES;
61083
- var VIEWER_SHORTCUT_REFERENCE = [
61084
- { actionKey: "pptx.toolbar.undo", shortcut: "Ctrl/Cmd+Z", group: "history" },
61085
- {
61086
- actionKey: "pptx.toolbar.redo",
61087
- shortcut: "Ctrl/Cmd+Shift+Z or Ctrl/Cmd+Y",
61088
- group: "history"
61089
- },
61090
- { actionKey: "pptx.shortcuts.action.copyElement", shortcut: "Ctrl/Cmd+C", group: "clipboard" },
61091
- { actionKey: "pptx.shortcuts.action.cutElement", shortcut: "Ctrl/Cmd+X", group: "clipboard" },
61092
- { actionKey: "pptx.shortcuts.action.pasteElement", shortcut: "Ctrl/Cmd+V", group: "clipboard" },
61093
- {
61094
- actionKey: "pptx.shortcuts.action.duplicateElement",
61095
- shortcut: "Ctrl/Cmd+D",
61096
- group: "editing"
61097
- },
61098
- {
61099
- actionKey: "pptx.shortcuts.action.deleteElement",
61100
- shortcut: "Delete / Backspace",
61101
- group: "editing"
61102
- },
61103
- { actionKey: "pptx.shortcuts.action.selectAll", shortcut: "Ctrl/Cmd+A", group: "editing" },
61104
- { actionKey: "pptx.ribbon.group", shortcut: "Ctrl/Cmd+G", group: "editing" },
61105
- { actionKey: "pptx.ribbon.ungroup", shortcut: "Ctrl/Cmd+Shift+G", group: "editing" },
61106
- { actionKey: "pptx.shortcuts.action.nudgeElement", shortcut: "Arrow keys", group: "editing" },
61107
- {
61108
- actionKey: "pptx.shortcuts.action.nudgeElementLarge",
61109
- shortcut: "Shift+Arrow keys",
61110
- group: "editing"
61111
- },
61112
- {
61113
- actionKey: "pptx.shortcuts.action.prevSlide",
61114
- shortcut: "Left or Up arrow, Page Up",
61115
- group: "navigation"
61116
- },
61117
- {
61118
- actionKey: "pptx.shortcuts.action.nextSlide",
61119
- shortcut: "Right or Down arrow, Page Down",
61120
- group: "navigation"
61121
- },
61122
- {
61123
- actionKey: "pptx.shortcuts.action.zoomCanvas",
61124
- shortcut: "Ctrl/Cmd+Mouse wheel",
61125
- group: "navigation"
61126
- },
61127
- {
61128
- actionKey: "pptx.shortcuts.action.commitTextEdit",
61129
- shortcut: "Ctrl/Cmd+Enter",
61130
- group: "editing"
61131
- },
61132
- { actionKey: "pptx.shortcuts.action.cancelTextEdit", shortcut: "Escape", group: "editing" },
61133
- // Both of these reached the shared keymap late (Ctrl+F was hand-wired in two
61134
- // bindings, Ctrl+/ in one), so the panel that is supposed to teach the keymap
61135
- // was advertising neither. The help panel is the keymap's documentation: a
61136
- // chord missing here is a chord nobody discovers.
61137
- { actionKey: "pptx.findReplace.title", shortcut: "Ctrl/Cmd+F", group: "general" },
61138
- { actionKey: "pptx.slideShow.fromBeginning", shortcut: "F5", group: "general" },
61139
- { actionKey: "pptx.slideShow.fromCurrent", shortcut: "Shift+F5", group: "general" },
61140
- { actionKey: "pptx.shortcuts.title", shortcut: "? or Ctrl/Cmd+/", group: "general" }
61141
- ];
61142
- var SHORTCUT_REFERENCE_GROUP_LABEL_KEYS = {
61143
- history: "pptx.editorToolbar.history",
61144
- clipboard: "pptx.ribbon.clipboard",
61145
- editing: "pptx.shortcuts.group.editing",
61146
- navigation: "pptx.shortcuts.group.navigation",
61147
- general: "pptx.settings.general"
61148
- };
61149
- function groupShortcutReference(items = VIEWER_SHORTCUT_REFERENCE) {
61150
- const order = Object.keys(SHORTCUT_REFERENCE_GROUP_LABEL_KEYS);
61151
- return order.map((group) => ({
61152
- group,
61153
- labelKey: SHORTCUT_REFERENCE_GROUP_LABEL_KEYS[group],
61154
- shortcuts: items.filter((item4) => item4.group === group)
61155
- })).filter((bucket) => bucket.shortcuts.length > 0);
61156
- }
61157
- var SHORTCUT_REFERENCE_ITEMS = VIEWER_SHORTCUT_REFERENCE;
61158
- var VIEWER_PREFERENCE_TOGGLES = [
61159
- { key: "autoSave", labelKey: "pptx.settings.autoSave" },
61160
- { key: "spellCheck", labelKey: "pptx.settings.spellCheck" },
61161
- { key: "showGrid", labelKey: "pptx.settings.showGrid" },
61162
- { key: "showRulers", labelKey: "pptx.settings.showRulers" },
61163
- { key: "snapToGrid", labelKey: "pptx.settings.snapToGrid" },
61164
- { key: "reducedMotion", labelKey: "pptx.settings.reducedMotion" }
61165
- ];
61166
- var SETTING_TOGGLES = VIEWER_PREFERENCE_TOGGLES;
61167
- function updateViewerPreference(preferences, key, value) {
61168
- return { ...preferences, [key]: value };
61169
- }
61170
- function viewerPreferencesFromViewProperties(data, defaults) {
61171
- const slideViewPr = data.viewProperties?.slideViewPr;
61172
- const gridSpacing = data.viewProperties?.gridSpacing;
61173
- return {
61174
- ...defaults,
61175
- snapToGrid: slideViewPr?.snapToGrid ?? defaults.snapToGrid,
61176
- snapToObjects: slideViewPr?.snapToObjects ?? defaults.snapToObjects,
61177
- showGuides: slideViewPr?.showGuides ?? defaults.showGuides,
61178
- gridSpacingCx: gridSpacing?.cx ?? defaults.gridSpacingCx,
61179
- gridSpacingCy: gridSpacing?.cy ?? defaults.gridSpacingCy
61180
- };
61181
- }
61182
- function viewPropertiesPatchFromPreferences(preferences) {
61183
- const patch = {
61184
- slideViewPr: {
61185
- snapToGrid: preferences.snapToGrid,
61186
- snapToObjects: preferences.snapToObjects ?? false,
61187
- showGuides: preferences.showGuides ?? false
61188
- }
61189
- };
61190
- if (typeof preferences.gridSpacingCx === "number" && typeof preferences.gridSpacingCy === "number") {
61191
- patch.gridSpacing = { cx: preferences.gridSpacingCx, cy: preferences.gridSpacingCy };
61192
- }
61193
- return patch;
61194
- }
61195
-
61196
63244
  // src/pptx/render/presentation-ole-verb.ts
61197
63245
  var SHOW_VERBS = /* @__PURE__ */ new Set([1, -2]);
61198
63246
  function resolveOleVerbTarget(slide, elementId, verb) {
@@ -72563,53 +74611,6 @@ function placeholderPromptDescriptor(element, mode) {
72563
74611
  }
72564
74612
  return { text: promptText, style: PLACEHOLDER_PROMPT_STYLE };
72565
74613
  }
72566
- var NOT_RECOMMENDED = {
72567
- kind: null,
72568
- messageKey: "",
72569
- defaultReadOnly: false,
72570
- requiresPassword: false
72571
- };
72572
- var MARK_AS_FINAL_PROPERTY_NAME = "_MarkAsFinal";
72573
- function isTruthyCustomPropertyValue(value) {
72574
- const normalized = value.trim().toLowerCase();
72575
- return normalized === "true" || normalized === "1" || normalized === "yes";
72576
- }
72577
- function isMarkedAsFinal(customProperties) {
72578
- if (!customProperties) {
72579
- return false;
72580
- }
72581
- return customProperties.some(
72582
- (property) => property.name === MARK_AS_FINAL_PROPERTY_NAME && isTruthyCustomPropertyValue(property.value)
72583
- );
72584
- }
72585
- function readOnlyRecommendation(data) {
72586
- if (!data) {
72587
- return NOT_RECOMMENDED;
72588
- }
72589
- const verifier = data.modifyVerifier;
72590
- if (verifier && (verifier.hashData || verifier.algorithmName)) {
72591
- return {
72592
- kind: "modifyVerifier",
72593
- messageKey: "pptx.readOnly.modifyVerifierRecommended",
72594
- defaultReadOnly: true,
72595
- // A hash this viewer can actually check requires the password before
72596
- // "Edit anyway" can lift the lock; `saltData` is deliberately NOT part
72597
- // of this check (see the field doc comment above): only a missing hash
72598
- // or an unrecognised algorithm falls back to the plain "Edit anyway"
72599
- // every other recommendation already has.
72600
- requiresPassword: Boolean(verifier.hashData && resolveModifyVerifierAlgorithmName(verifier))
72601
- };
72602
- }
72603
- if (isMarkedAsFinal(data.customProperties)) {
72604
- return {
72605
- kind: "markedFinal",
72606
- messageKey: "pptx.readOnly.markedFinal",
72607
- defaultReadOnly: true,
72608
- requiresPassword: false
72609
- };
72610
- }
72611
- return NOT_RECOMMENDED;
72612
- }
72613
74614
  async function checkModifyPassword(verifier, password) {
72614
74615
  if (!verifier?.hashData || !resolveModifyVerifierAlgorithmName(verifier)) {
72615
74616
  return { ok: false, reason: "unsupported-algorithm" };
@@ -74210,7 +76211,7 @@ var EDIT_POINTS_COMMAND_IDS = [
74210
76211
  "curved-segment",
74211
76212
  "exit"
74212
76213
  ];
74213
- var LABEL_KEYS5 = {
76214
+ var LABEL_KEYS6 = {
74214
76215
  "add-point": "pptx.editPoints.addPoint",
74215
76216
  "delete-point": "pptx.editPoints.deletePoint",
74216
76217
  "delete-segment": "pptx.editPoints.deleteSegment",
@@ -74224,10 +76225,10 @@ var LABEL_KEYS5 = {
74224
76225
  exit: "pptx.editPoints.exit"
74225
76226
  };
74226
76227
  function editPointsCommandLabelKey(id) {
74227
- return LABEL_KEYS5[id];
76228
+ return LABEL_KEYS6[id];
74228
76229
  }
74229
76230
  function entry4(id, extra = {}) {
74230
- return { id, labelKey: LABEL_KEYS5[id], ...extra };
76231
+ return { id, labelKey: LABEL_KEYS6[id], ...extra };
74231
76232
  }
74232
76233
  function pointCount2(geometry) {
74233
76234
  return geometry.subpaths.reduce((sum, sub) => sum + sub.nodes.length, 0);
@@ -75799,6 +77800,16 @@ var EDITOR_RIBBON_CSS = `
75799
77800
  background: color-mix(in oklab, var(--pptx-secondary) 50%, transparent);
75800
77801
  color: var(--pptx-foreground); border-bottom: 1px solid var(--pptx-border);
75801
77802
  }
77803
+ /* Full-screen mode lays the whole ribbon over the slide: the half-transparent fill above
77804
+ would let the slide show through, so the page background goes underneath it. */
77805
+ [data-pptx-editor-chrome] [data-pptx-chrome="ribbon"][data-ribbon-display="fullScreen"][data-ribbon-peek] {
77806
+ background:
77807
+ linear-gradient(
77808
+ color-mix(in oklab, var(--pptx-secondary) 50%, transparent),
77809
+ color-mix(in oklab, var(--pptx-secondary) 50%, transparent)
77810
+ ),
77811
+ var(--pptx-background);
77812
+ }
75802
77813
  [data-pptx-editor-chrome] [data-pptx-chrome="ribbon-primary"] {
75803
77814
  min-height: 32px; height: 32px; padding: 2px 6px; gap: 2px;
75804
77815
  border: 0; box-sizing: border-box;
@@ -78228,14 +80239,27 @@ function homeGalleryApply(family2, controlId, itemId, context3) {
78228
80239
  return spec5?.gallery ? applyRibbonGalleryItem(spec5.gallery.id, itemId, context3) : void 0;
78229
80240
  }
78230
80241
  function fontFamilyItems(catalog, t2) {
78231
- return buildFontCatalog(catalog).flatMap(
78232
- (group) => group.entries.map((entry6) => ({
78233
- value: entry6.family,
78234
- label: entry6.family,
78235
- group: t2(group.labelKey),
78236
- fontFamily: entry6.family,
78237
- ...entry6.themeRole && { description: t2(`pptx.font.role.${entry6.themeRole}`) }
78238
- }))
80242
+ const groups = buildFontCatalog({ ...catalog, includeWeightVariants: true });
80243
+ const claimed = new Set(
80244
+ groups.flatMap((group) => group.entries.map((entry6) => entry6.family.toLowerCase()))
80245
+ );
80246
+ return groups.flatMap(
80247
+ (group) => group.entries.flatMap((entry6) => {
80248
+ const row2 = {
80249
+ value: entry6.family,
80250
+ label: entry6.family,
80251
+ group: t2(group.labelKey),
80252
+ fontFamily: entry6.family,
80253
+ ...entry6.themeRole && { description: t2(`pptx.font.role.${entry6.themeRole}`) }
80254
+ };
80255
+ const variants = (entry6.variants ?? []).flatMap(({ family: family2 }) => {
80256
+ const key = family2.toLowerCase();
80257
+ if (claimed.has(key)) return [];
80258
+ claimed.add(key);
80259
+ return [{ value: family2, label: family2, group: row2.group, fontFamily: family2 }];
80260
+ });
80261
+ return [row2, ...variants];
80262
+ })
78239
80263
  );
78240
80264
  }
78241
80265
  function fontPickerHomeControls(input, t2) {
@@ -79398,186 +81422,6 @@ function autosaveStatusKind(status) {
79398
81422
  return state === "saving" || state === "saved" || state === "error" ? state : "idle";
79399
81423
  }
79400
81424
 
79401
- // src/pptx/render/find-replace-session.ts
79402
- var DEFAULT_FIND_REPLACE_OPTIONS = Object.freeze({
79403
- matchCase: false,
79404
- includeNotes: false,
79405
- includeChartTitles: true,
79406
- includeChartData: false
79407
- });
79408
- var INITIAL_FIND_REPLACE_SESSION = Object.freeze({
79409
- query: "",
79410
- replacement: "",
79411
- options: DEFAULT_FIND_REPLACE_OPTIONS,
79412
- matches: Object.freeze([]),
79413
- current: -1,
79414
- pendingRefind: null
79415
- });
79416
- function search(slides, session) {
79417
- return session.query ? findInSlides(slides, session.query, session.options) : [];
79418
- }
79419
- function cursorAfterReplace(pending3, count) {
79420
- if (count === 0) {
79421
- return -1;
79422
- }
79423
- if (pending3.scope === "all") {
79424
- return 0;
79425
- }
79426
- const created = Math.max(0, count - (pending3.count - 1));
79427
- return (pending3.index + created) % count;
79428
- }
79429
- function reduceFindReplaceSession(session, event) {
79430
- switch (event.type) {
79431
- case "search": {
79432
- const next2 = {
79433
- ...session,
79434
- query: event.query ?? session.query,
79435
- options: event.options ? { ...session.options, ...event.options } : session.options,
79436
- pendingRefind: null
79437
- };
79438
- const matches = search(event.slides, next2);
79439
- return { ...next2, matches, current: matches.length > 0 ? 0 : -1 };
79440
- }
79441
- case "setReplacement":
79442
- return event.replacement === session.replacement ? session : { ...session, replacement: event.replacement };
79443
- case "step": {
79444
- const count = session.matches.length;
79445
- if (count === 0) {
79446
- return session;
79447
- }
79448
- const from = session.current < 0 ? event.direction > 0 ? -1 : 0 : session.current;
79449
- const current = (from + event.direction + count) % count;
79450
- return current === session.current ? session : { ...session, current };
79451
- }
79452
- case "replaced":
79453
- return {
79454
- ...session,
79455
- pendingRefind: {
79456
- scope: event.plan.scope,
79457
- index: event.plan.index,
79458
- count: event.plan.count,
79459
- base: event.slides
79460
- }
79461
- };
79462
- case "slidesChanged": {
79463
- const pending3 = session.pendingRefind;
79464
- if (!pending3 || event.slides === pending3.base) {
79465
- return session;
79466
- }
79467
- const matches = search(event.slides, session);
79468
- return {
79469
- ...session,
79470
- matches,
79471
- current: cursorAfterReplace(pending3, matches.length),
79472
- pendingRefind: null
79473
- };
79474
- }
79475
- case "close":
79476
- return session.matches.length === 0 && session.current === -1 && !session.pendingRefind ? session : { ...session, matches: [], current: -1, pendingRefind: null };
79477
- }
79478
- }
79479
- function findReplaceStatus(session) {
79480
- const total = session.matches.length;
79481
- return { current: total > 0 && session.current >= 0 ? session.current + 1 : 0, total };
79482
- }
79483
- function findReplaceTarget(session) {
79484
- const match = session.current >= 0 ? session.matches[session.current] : void 0;
79485
- if (!match) {
79486
- return null;
79487
- }
79488
- return { slideIndex: match.slideIndex, elementId: match.notes ? null : match.elementId };
79489
- }
79490
- function matchKey(match) {
79491
- return JSON.stringify([
79492
- match.slideIndex,
79493
- match.elementId,
79494
- match.elementPath ?? null,
79495
- match.tableCell ?? null,
79496
- match.smartArtNodeId ?? null,
79497
- match.notes ?? false,
79498
- match.chartTitle ?? false,
79499
- match.chartSeriesIndex ?? null,
79500
- match.chartCategoryIndex ?? null,
79501
- match.segmentIndex,
79502
- match.startOffset,
79503
- match.length
79504
- ]);
79505
- }
79506
- function planFindReplace(session, slides, scope) {
79507
- const found = search(slides, session);
79508
- let matches = found;
79509
- let index = -1;
79510
- if (scope === "current") {
79511
- const current = session.current >= 0 ? session.matches[session.current] : void 0;
79512
- const key = current ? matchKey(current) : null;
79513
- index = key === null ? -1 : found.findIndex((match) => matchKey(match) === key);
79514
- matches = index >= 0 ? [found[index]] : [];
79515
- }
79516
- if (matches.length === 0 || matches.some((match) => match.readOnly)) {
79517
- return null;
79518
- }
79519
- return { scope, matches, replacement: session.replacement, count: found.length, index };
79520
- }
79521
-
79522
- // src/pptx/render/find-replace-session-actions.ts
79523
- function findReplaceSessionActions(store, host2) {
79524
- const apply7 = (event) => {
79525
- const current = store.get();
79526
- const next2 = reduceFindReplaceSession(current, event);
79527
- if (next2 !== current) {
79528
- store.set(next2);
79529
- }
79530
- return next2 !== current;
79531
- };
79532
- const show = () => {
79533
- const target = findReplaceTarget(store.get());
79534
- if (target) {
79535
- host2.navigate(target);
79536
- }
79537
- };
79538
- const step2 = (direction) => {
79539
- apply7({ type: "step", direction });
79540
- show();
79541
- };
79542
- const slidesChanged = () => {
79543
- if (apply7({ type: "slidesChanged", slides: host2.slides() })) {
79544
- show();
79545
- }
79546
- };
79547
- const replace = (scope) => {
79548
- const slides = host2.slides();
79549
- const plan = planFindReplace(store.get(), slides, scope);
79550
- if (!plan) {
79551
- return 0;
79552
- }
79553
- const result = applyFindReplacements(slides, plan.matches, plan.replacement);
79554
- if (result.replacements === 0) {
79555
- return 0;
79556
- }
79557
- host2.commit(result.slides, scope);
79558
- apply7({ type: "replaced", plan, slides });
79559
- slidesChanged();
79560
- return result.replacements;
79561
- };
79562
- return {
79563
- search: (change = {}) => {
79564
- apply7({ type: "search", slides: host2.slides(), ...change });
79565
- show();
79566
- },
79567
- setReplacement: (replacement) => {
79568
- apply7({ type: "setReplacement", replacement });
79569
- },
79570
- next: () => step2(1),
79571
- previous: () => step2(-1),
79572
- replaceCurrent: () => replace("current"),
79573
- replaceAll: () => replace("all"),
79574
- slidesChanged,
79575
- close: () => {
79576
- apply7({ type: "close" });
79577
- }
79578
- };
79579
- }
79580
-
79581
81425
  // src/pptx/render/viewer-api-guard.ts
79582
81426
  var GATED_VIEWER_EDIT_METHODS = [
79583
81427
  "addSlide",
@@ -79919,7 +81763,7 @@ function createMobileIcon(doc, icon2) {
79919
81763
 
79920
81764
  // src/pptx/web-components/mobile-bar.ts
79921
81765
  var identity = (key) => key;
79922
- var LABEL_KEYS6 = {
81766
+ var LABEL_KEYS7 = {
79923
81767
  slides: "pptx.sections.slides",
79924
81768
  insert: "pptx.mobileBar.insert",
79925
81769
  inspector: "pptx.field.format",
@@ -79990,7 +81834,7 @@ function definePptxMobileBar(registry2) {
79990
81834
  if (id === "notes") {
79991
81835
  button.setAttribute("aria-label", t2("pptx.statusBar.toggleNotes"));
79992
81836
  }
79993
- label2.textContent = t2(LABEL_KEYS6[id]);
81837
+ label2.textContent = t2(LABEL_KEYS7[id]);
79994
81838
  const count = id === "comments" ? s.commentCount ?? 0 : 0;
79995
81839
  badge.hidden = count <= 0;
79996
81840
  badge.textContent = count > 99 ? "99+" : String(count);
@@ -83241,28 +85085,28 @@ function axisView(axis, advanced = false) {
83241
85085
  logScale: axis.scaling.logBase !== void 0,
83242
85086
  numberFormat: axis.numberFormat && !axis.numberFormat.sourceLinked ? axis.numberFormat.formatCode : ""
83243
85087
  };
83244
- const copy = (key, value) => {
85088
+ const copy2 = (key, value) => {
83245
85089
  if (value !== void 0) view2[key] = value;
83246
85090
  };
83247
- copy("min", axis.scaling.min);
83248
- copy("max", axis.scaling.max);
83249
- copy("logBase", axis.scaling.logBase);
83250
- copy("majorUnit", axis.majorUnit);
83251
- copy("minorUnit", axis.minorUnit);
83252
- copy("crosses", axis.crosses);
83253
- copy("crossesAt", axis.crossesAt);
83254
- copy("displayUnits", axis.displayUnits?.builtInUnit);
83255
- copy("majorTickMark", axis.majorTickMark);
83256
- copy("minorTickMark", axis.minorTickMark);
83257
- copy("tickLabelPosition", axis.tickLabelPosition);
85091
+ copy2("min", axis.scaling.min);
85092
+ copy2("max", axis.scaling.max);
85093
+ copy2("logBase", axis.scaling.logBase);
85094
+ copy2("majorUnit", axis.majorUnit);
85095
+ copy2("minorUnit", axis.minorUnit);
85096
+ copy2("crosses", axis.crosses);
85097
+ copy2("crossesAt", axis.crossesAt);
85098
+ copy2("displayUnits", axis.displayUnits?.builtInUnit);
85099
+ copy2("majorTickMark", axis.majorTickMark);
85100
+ copy2("minorTickMark", axis.minorTickMark);
85101
+ copy2("tickLabelPosition", axis.tickLabelPosition);
83258
85102
  if (advanced) {
83259
85103
  view2.title = axis.title?.text ?? "";
83260
85104
  if (axis.numberFormat) view2.numberFormatSourceLinked = axis.numberFormat.sourceLinked ?? true;
83261
85105
  if (axis.kind === "date") {
83262
85106
  view2.timeUnitsEditable = true;
83263
- copy("baseTimeUnit", axis.baseTimeUnit);
83264
- copy("majorTimeUnit", axis.majorTimeUnit);
83265
- copy("minorTimeUnit", axis.minorTimeUnit);
85107
+ copy2("baseTimeUnit", axis.baseTimeUnit);
85108
+ copy2("majorTimeUnit", axis.majorTimeUnit);
85109
+ copy2("minorTimeUnit", axis.minorTimeUnit);
83266
85110
  }
83267
85111
  }
83268
85112
  return view2;
@@ -83353,6 +85197,9 @@ function chartSpaceFormatSource(space, options = {}) {
83353
85197
  set("showPercent", pick("showPercent"));
83354
85198
  set("showLegendKey", pick("showLegendKey"));
83355
85199
  set("position", pick("position"));
85200
+ const edited = entry6 ? [entry6.group] : space.plotArea.groups.filter((item4) => item4.kind !== "surface");
85201
+ if (edited.length > 0)
85202
+ view2.positions = edited.map((item4) => chartLabelPositions(item4.element, item4.grouping)).reduce((all, own2) => all.filter((value) => own2.includes(value)));
83356
85203
  return view2;
83357
85204
  };
83358
85205
  return {
@@ -88512,7 +90359,7 @@ function definePptxInsertSmartArtDialog(registry2) {
88512
90359
  if (this.#live || this.#draw) {
88513
90360
  return;
88514
90361
  }
88515
- this.#live = import('./smartart-insert-preview-KQJPGRDR.mjs').then((module) => {
90362
+ this.#live = import('./smartart-insert-preview-ZHDQ5QDD.mjs').then((module) => {
88516
90363
  if (this.#draw || !this.#picker) {
88517
90364
  return;
88518
90365
  }
@@ -95969,4 +97816,4 @@ async function rasterizeElementToDataUrl(node, naturalWidth, naturalHeight, doc,
95969
97816
  // src/pptx/index.ts
95970
97817
  registerPptxWebControls();
95971
97818
 
95972
- export { ABUTTING_EDGE_BLEED_PX, ACCESSIBILITY_TAB, ACTION_AFFORDANCE_CSS, ACTION_BUTTON_DEFAULT_ACTIONS, ACTION_BUTTON_PRESETS, ACTION_INDICATOR_CLASS, ACTION_INDICATOR_ICON_PATH, ADD_INS_TAB, ADVANCED_TAB, AI_OPTIONS_CATEGORY, ALIGN_OPTIONS, ALL_CLASSIFIED_PRESETS, ANGLE_UNITS_PER_RADIAN, ANGLE_UNITS_PER_TURN, ANIMATION_COLOR_BASE_PROPERTIES, ANIMATION_KEYFRAMES_CSS, ARTISTIC_EFFECTS, AUDIENCE_FULLSCREEN_BOUNCE_MS, AUDIENCE_HASH, AUTOFIT_MIN_SHAPE_HEIGHT_PX, AUTOFIT_MODE_OPTIONS, AUTOSAVE_DB_NAME, AUTOSAVE_DB_VERSION, AUTOSAVE_DEFAULT_INTERVAL_MS, AUTOSAVE_DEFAULT_INTERVAL_SECONDS, AUTOSAVE_MIN_INTERVAL_SECONDS, AUTOSAVE_RECOVERY_WINDOW_MS, AUTOSAVE_STORE_NAME, AUTO_HIDE_DELAY_MS, AVATAR_COLOR_SWATCHES, AnimationSequencer, BACKSTAGE_BACK_CLASSES, BACKSTAGE_CARDS, BACKSTAGE_CARD_IDS, BACKSTAGE_NAV, BACKSTAGE_NAV_CLASSES, BACKSTAGE_PAGE_CARDS, BACKSTAGE_PAGE_IDS, BACKSTAGE_SEARCH_CLASSES, BACKSTAGE_TEMPLATES, BAR3D_SHAPE_OPTIONS, BARN_FILTER_TOKEN_TO_SUBTYPE, BASELINE_FONT_SCALE, BASELINE_PENDING_VAR, BEVEL_PRESETS, BI_LEVEL_THRESHOLDS, BOTTOM_TRIGGER_FRACTION, BRIGHTNESS_CONTRAST_STEPS, BROADCAST_THROTTLE_MS, CANVAS_CONTEXT_MENU_COMMAND_IDS, CANVAS_DIMENSION_CANDIDATES, CATEGORIES, CHART_3D_TYPES, CHART_AXIS_TYPE_LABEL_KEYS, CHART_DATA_LABEL_POSITION_LABEL_KEYS, CHART_ERROR_BAR_DIRECTION_LABEL_KEYS, CHART_ERROR_BAR_VALTYPE_LABEL_KEYS, CHART_GRIDLINE_DASH_LABEL_KEYS, CHART_GROUPING_LABEL_KEYS, CHART_MARKER_SYMBOL_LABEL_KEYS, CHART_QUICK_ACTION_BUTTON_SIZE, CHART_SELECTION_ELEMENTS, CHART_SELECTION_FAMILY, CHART_SELECTION_FORMAT, CHART_SELECTION_RESET, CHART_TRENDLINE_LABEL_KEYS, CHART_TYPE_LABEL_KEYS, CHART_TYPE_OPTIONS, CINEMATIC_TRANSITION_KEYFRAMES, CLOSED_READING_VIEW, CLOUD_OPEN_ACCEPT, COLLABORATION_OFF, COLLAB_LEAVE_MESSAGE, COMBO_SERIES_TYPE_OPTIONS, COMBO_SUPPORTED_TYPES, COMMAND_SEARCH_ENTRIES, COMMENT_ACTIVE_ATTR, COMMENT_ID_ATTR, COMMENT_MARKER_COLOR, COMMENT_MARKER_SIZE, COMMENT_MENTION_ATTRIBUTE, COMMENT_MENTION_CLASS, COMPAT_TOAST_METRICS, COMPAT_TOAST_VISIBLE_LIMIT, COMPOUND_LINE_OPTIONS, CONNECTION_TIMEOUT_MS, CONNECTOR_ARROW_CONTROLS, CONNECTOR_ARROW_SIZE_VALUES, CONNECTOR_ARROW_VALUES, CONNECTOR_HIT_MIN_WIDTH, CONNECTOR_SITE_SNAP_PX, CONTEXTUAL_TAB_GROUPS, CONTEXT_MENU_EDITOR_LAYER, CONTEXT_MENU_PRESENTATION_LAYER, CROP_ASPECT_GROUP_LABEL_KEYS, CROP_ASPECT_LABEL_KEY, CROP_ASPECT_PRESETS, CROP_FILL_LABEL_KEY, CROP_FIT_LABEL_KEY, CROP_GHOST_OPACITY, CROP_HANDLE_ARIA_KEY, CROP_HANDLE_LENGTH_PX, CROP_HANDLE_THICKNESS_PX, CROP_LABEL_KEY, CROP_MODE_HINT_KEY, CURSOR_PALETTE, DATA_LABEL_CONTENT_OPTIONS, DATA_LABEL_POSITION_OPTIONS, DEBOUNCE_MS, DECK_WEBFONT_FOLLOW_MS, DECK_WEBFONT_PROGRESS_DELAY_MS, DECK_WEBFONT_TIMEOUT_MS, DEFAULT_ANIMATION_TIMING_CURVE, DEFAULT_BOUNDS, DEFAULT_BROADCAST_SERVER_URL, DEFAULT_BUILD_LEVEL, DEFAULT_CHART_GLOW, DEFAULT_CHART_SHADOW, DEFAULT_COLOR_CHANGE_TOLERANCE, DEFAULT_CURSOR_COLOR, DEFAULT_DENSE_BUTTON_PX, DEFAULT_FIND_REPLACE_OPTIONS, DEFAULT_INSERT_CHART_KIND, DEFAULT_INSERT_CHART_TYPE, DEFAULT_LINE_HEIGHT, DEFAULT_LIST_CONVERSION_SCOPE, DEFAULT_MORPH_DURATION_MS, DEFAULT_MOTION_PATH_DURATION_MS, DEFAULT_NOTES_FONT_SIZE_PT, DEFAULT_OWNED_USER_NAME, DEFAULT_PALETTE, DEFAULT_POINTER_PRESSURE, DEFAULT_PREVIEW_ELEMENT_CAP, DEFAULT_QUICK_ACCESS_COMMAND_IDS, DEFAULT_RIBBON_TRANSITION_DURATION_SEC, DEFAULT_ROUND_RECT_ADJUSTMENT, DEFAULT_ROW_HEIGHT, DEFAULT_SCHEME_COLOR_MAP, DEFAULT_SLIDE_BACKGROUND, DEFAULT_TAG_COLLECTION_PATH, DEFAULT_TRANSITION_DURATION_MS, DEFAULT_VIEWER_OPTIONS, DEFAULT_VIEWER_PREFERENCES, DEFAULT_VIEWER_PROFILE, DEFAULT_VIEWER_SETTINGS, DEFAULT_VIEWER_ZOOM_STATE, DEFAULT_VIRTUAL_OVERSCAN, DESIGN_RIBBON_COMMANDS, DESIGN_RIBBON_GROUPS, DIALOG_ENTRY_POINTS, DISPLAY_UNITS_OPTIONS, DISTRIBUTED_TEXT_JUSTIFY, DRAWING_TOOL_IDS, DRAW_RIBBON_TOOLS, DRAW_WIDTH_PRESETS, DUOTONE_PRESETS, EASE, EDITABLE_AXIS_ROWS, EDITOR_CHROME_CSS, EDITOR_SHORTCUT_ACTION_IDS, EDITOR_SHORTCUT_DESCRIPTIONS, EDITOR_SLIDE_RAIL_WIDTH, EDITOR_THUMBNAIL_GAP, EDITOR_THUMBNAIL_NUMBER_HEIGHT, EDITOR_THUMBNAIL_ROW_CHROME, EDITOR_THUMBNAIL_WIDTH, EDITOR_VIEWPORT_FIT, EDIT_LAYER_MARKER_ATTRS, EDIT_POINTS_COMMAND_IDS, EDIT_POINTS_DRAG_THRESHOLD_PX, EDIT_POINTS_MENU_COMMAND_IDS, EDIT_POINTS_PATH_SCALE, EDIT_POINTS_STYLE, EDIT_POINTS_TARGET_ATTR, EDIT_POINT_COINCIDENT_EPSILON, EFFECT_SOUND_CATALOGUE, ELEMENT_ACTION_TYPE_OPTIONS, ELEMENT_CLIPBOARD_MARKER, ELEMENT_CLIPBOARD_MIME_TYPE, ELEMENT_CLIPBOARD_VERSION, ELEMENT_CONTEXT_MENU_COMMAND_IDS, ELEMENT_GEOMETRY_SECTION, ELEMENT_GEOMETRY_SECTIONS, EMPH_FILTER_PRESETS, EMPTY_RESOLVED_CUSTOMIZATION, EMPTY_RIBBON_TRANSITION_DRAFT, EQUATION_FONT_FAMILY, EQUATION_TEMPLATES, ERASER_HIT_RADIUS, ERROR_BAR_SUPPORTED_TYPES, ERROR_BAR_TYPE_OPTIONS, ERROR_BAR_VALTYPE_OPTIONS, ERROR_BAR_VALUE_TYPES, EXCLUDED_STYLE_PROPERTIES, EXPANDED_MAX_HEIGHT, EXPLOSION_SUPPORTED_TYPES, EXPORT_ASSEMBLING_PERCENT, EXPORT_DONE_PERCENT, EXTERNAL_CONTENT_SETTING_ID, EditGeometryPen, EditPointsSession, FEATURE_ENTRY_POINTS, FILL_MODE_OPTIONS, FILL_PATTERN_LABEL_KEYS, FIXED_SPACING_RUN_LINE_HEIGHT, FIXED_TAB_GALLERIES, FLY_SUBTYPE_TO_EDGE, FONT_DOWNLOAD_SETTING_ID, FONT_EMBEDDING_UNAVAILABLE_KEY, FOREIGN_OBJECT_SVG_DATA_URL_PREFIX, FRAGMENT_TRANSITION_KEYFRAMES, FREEFORM_CLOSE_TOLERANCE_FACTOR, FREEFORM_CLOSE_TOLERANCE_MIN_PX, FREEFORM_COORD_SCALE, FREEFORM_FREEHAND_TOLERANCE_PX, FREEFORM_MIN_POINTS, FREEFORM_TOOL_IDS, FREEFORM_TOOL_LABEL_KEYS, FREEFORM_TOOL_STYLE, ForeignObjectRasterError, FreeformToolSession, GATED_VIEWER_EDIT_METHODS, GENERAL_TAB, GENERIC_FALLBACK_FILTER_FAMILIES, GEOMETRY_MORPH_STEPS, GIF_POST_CAPTURE_MAX_SIDE, GLYPH_ENVELOPE_PRESETS, GRADIENT_TYPE_OPTIONS, GRIDLINE_DASH_OPTIONS, GROUPED_INSERT_CHART_KINDS, GROUPING_OPTIONS, GROUPING_SUPPORTED_TYPES, GlyphOutlineFontCache, HELP_RIBBON_COMMANDS, HIDDEN_SLIDE_ATTRIBUTE, HIDDEN_SLIDE_DIM_OPACITY, HIDDEN_SLIDE_LABEL_KEY, HIDDEN_SLIDE_SLASH_GRADIENT, HIGHLIGHTER_COLORS, HIGHLIGHT_CLEAR_STYLE, HIGHLIGHT_CLICK_FLASH_DURATION_MS, HIGHLIGHT_CLICK_STYLE, HIGHLIGHT_HOVER_STYLE, HOLLOW_HIT_MIN_WIDTH, HOME_CHANGE_CASE_ITEMS, HOME_CHARACTER_SPACING_ITEMS, HOME_COLOUR_KEYS, HOME_COLUMN_ITEMS, HOME_CROP_ITEMS, HOME_DRAWING_ARRANGE_ITEMS, HOME_FONT_SIZE_ITEMS, HOME_HIGHLIGHT_PRESETS, HOME_LAUNCHER_GROUPS, HOME_LINE_SPACING_ITEMS, HOME_MERGE_ITEMS, HOME_SELECT_ITEMS, HOME_SHAPE_ITEMS, HOME_TEXT_DIRECTION_ITEMS, INDENT_PX, INITIAL_FIND_REPLACE_SESSION, INITIAL_READ_ONLY_SESSION, INITIAL_SYNC_GRACE_MS, INLINE_GALLERY_TILE_COUNT, INSERT_CHART_GROUPINGS, INSERT_CHART_TYPES, INSERT_COMMANDS, INSERT_FIELDS, INSERT_GROUPS, INSERT_GROUP_CAPTIONS, INSERT_GROUP_SCALING, INSERT_TABLE_MAX, INSPECTOR_CARD_IDS, INSPECTOR_GALLERIES, INSPECTOR_PANEL_DEFAULT_WIDTH, INSPECTOR_RESET_ACTION_KEYS, INSPECTOR_SECTION_ATTRIBUTE, INSTANT, KEYBOARD_OPEN_THRESHOLD, LANGUAGE_TAB, LAYOUT_FAMILY_MAP, LBL, LEGEND_POSITION_OPTIONS, LINE_CAP_OPTIONS, LINE_JOIN_OPTIONS, LINE_PITCH_EM, LINK_TOOLTIP_CLASS, LINK_TOOLTIP_HINT_CLASS, LINK_TOOLTIP_HOST_CLASS, LINK_TOOLTIP_LABEL_CLASS, LINK_TOOLTIP_PANEL_CLASS, LIVE_PATCH_THROTTLE_MS, LOAD_LIMIT_MESSAGE_KEYS, LONG_PRESS_DURATION_MS, LONG_PRESS_MOVE_TOLERANCE_PX, MARKER_SUPPORTED_TYPES, MARKER_SYMBOL_OPTIONS, MATERIAL_PRESETS, MAX_COLOR_DISTANCE, MAX_ENVELOPE_GLYPH_SLICES, MAX_HEIGHT, MAX_INDENT_LEVEL, MAX_LABEL_CHARS, MAX_PARAGRAPH_LEVEL, MAX_ZOOM_SCALE, MEDIA_CHROME_ATTRIBUTE, MEDIA_FALLBACK_ICONS, MEDIA_FULLSCREEN_OVERLAY_STYLE, MERGE_CURVE_SEGMENTS, MERGE_SHAPES_HINT_KEY, MERGE_SHAPES_LABEL_KEY, MERGE_SHAPES_MENU_ITEMS, MERGE_SHAPE_OPERATIONS, MIN_COLUMN_PROPORTION, MIN_COLUMN_WIDTH_FRACTION, MIN_CROP_FRAME_PX, MIN_ELEMENT_SIZE4 as MIN_ELEMENT_SIZE, MIN_ROW_HEIGHT, MIN_TOUCH_TARGET_PX, MIN_ZOOM_SCALE, MOBILE_BREAKPOINT, MOBILE_LANDSCAPE_MAX_HEIGHT, MOBILE_NEXT_THUMB_WIDTH, MODAL_FOCUSABLE_SELECTOR, MORPH_CROSSFADE_EASING, MORPH_CROSSFADE_GROUP_CSS_TEXT, MORPH_CROSSFADE_GROUP_STYLE, MORPH_CROSSFADE_HALF_BLEND_MODE, MORPH_CROSSFADE_HALF_CSS_TEXT, MORPH_CROSSFADE_HALF_STYLE, MORPH_EASING, MORPH_EASING_POINTS, MORPH_FADE_IN_EASING, MORPH_FADE_IN_START_PERCENT, MORPH_FADE_IN_START_PROGRESS, MORPH_FADE_OUT_EASING, MORPH_FADE_OUT_END_PERCENT, MORPH_FADE_OUT_END_PROGRESS, MORPH_FADE_OUT_HOLD_PERCENT, NEUTRAL_SATURATION_PERCENT, NEUTRAL_TEMPERATURE_K, NOMINAL_ENVELOPE_BAND, NORM_AUTOFIT_STEPS, NOTES_BORDER_WIDTH, NOTES_CONTINUATION_HEADER_SIZE, NOTES_FONT_SIZE, NOTES_FONT_SIZE_DEFAULT, NOTES_FONT_SIZE_MAX, NOTES_FONT_SIZE_MIN, NOTES_FONT_SIZE_STEP, NOTES_GAP, NOTES_LINE_HEIGHT, NOTES_MARGIN, NOTES_PAGE_H, NOTES_PAGE_W, NOTES_SLIDE_FRACTION, NOTES_TOOLBAR_DEFAULT_STATE, NO_ADVANCE_AFTER_TEXT, NUDGE_LARGE, NUDGE_SMALL, NUDGE_STEP, NUDGE_STEP_LARGE, NUM, OFFICE_COLOR_SWATCHES, OFFICE_COLOR_SWATCH_HEXES, ONLINE_VIDEO_IFRAME_ALLOW, ONLINE_VIDEO_IFRAME_SANDBOX, OPTIONS_PAGE_IDS, OPTIONS_SECTION_IDS, OPTIONS_SETTING_IDS, OUTLINE_LEVEL_ATTR, OUTLINE_ROW_ATTR, OUTLINE_SAMPLE_COUNT, OUTLINE_SLIDE_ATTR, OUTLINE_TITLE_ELEMENT_NAME, OUTLINE_VIEW_ATTR, P14_TRANSITION_KEYFRAMES, P14_TRANSITION_KEYFRAMES_2, P14_TRANSITION_KEYFRAMES_ALL, PALETTES, PANEL_ENTRY_POINTS, PASTE_OFFSET_PX, PASTE_SPECIAL_OPTIONS, PATTERN_OPTIONS, PATTERN_PRESET_OPTIONS, PDF_SLIDES_PAGE_HEIGHT_PT, PDF_SLIDES_PAGE_WIDTH_PT, PEN_COLORS, PICTURE_ADJUST_TILE, PICTURE_ARTISTIC_EFFECTS_GALLERY, PICTURE_ARTISTIC_EFFECT_NAMES, PICTURE_COLOR_GALLERY, PICTURE_CORRECTIONS_GALLERY, PIXELATE_FILTER_VALUES, PIXELATE_IN_KEYFRAMES, PIXELATE_LEVELS, PIXELATE_OUT_KEYFRAMES, PNG_COLOR_TYPE_RGBA, PNG_SIGNATURE, POWERPOINT_BROADCAST_PREFIX, PPTX_OPEN_ACCEPT, PRESENCE_HEARTBEAT_MS, PRESENTATION_ANIM_TRIGGER_ATTRIBUTE, PRESENTATION_CHANNEL_NAME, PRESENTATION_HASH, PRESENTATION_HIT_TEST_CSS, PRESENTATION_INERT_CLICK_SELECTOR, PRESENTATION_MESSAGE_ORIGIN, PRESENTATION_NONCE_KEY, PRESENTATION_OPEN_EXTENSIONS, PRESENTATION_STAGE_ATTRIBUTE, PRESENTER_CONSOLE_CLASSES, PRESENTER_CONSOLE_CONTROLS, PRESENTER_CONSOLE_LABEL_KEYS, PRESENTER_CONSOLE_ORDER, PRESENTER_LAYOUT_METRICS, PRESENTER_NAVIGATOR_LABEL_KEYS, PRESENTER_RAIL_CONTROLS, PRESENTER_RAIL_LABEL_KEYS, PRESENTER_TIMER_SEGMENT_MS, PRESENTER_ZOOM_MAX, PRESENTER_ZOOM_MIN, PRESENTER_ZOOM_STEP, PRESENT_ANNOTATION_OVER_BLACKOUT_Z, PRESENT_ANNOTATION_Z, PRESENT_BLACKOUT_Z, PRESENT_TOOLBAR_CLASSES, PRESENT_TOOLBAR_CONTROLS, PRESENT_TOOLBAR_LABEL_KEYS, PRESENT_TOOLBAR_METRICS, PRESENT_TOOLBAR_ORDER, PRESETS, PRESET_ID_TO_EFFECT, PROOFING_TAB, PROXIMITY_SIZE_RATIO_LIMIT, PROXIMITY_THRESHOLD, PX_PER_CM, PX_PER_INCH, PX_TO_PT, PresentationAnimationController, QUICK_ACCESS_COMMAND_CATALOG, QUICK_ACCESS_TAB, RADAR_STYLE_OPTIONS, RANDOM_ELIGIBLE_TYPES, RASTER_STRATEGY_FALLBACK_WARNING, READING_VIEW_ATTR, READING_VIEW_COUNTER_ATTR, READING_VIEW_STAGE_ATTR, READ_ONLY_BADGE_ATTR, RECENT_COLOR_LIMIT, RECENT_SHAPES_HEADING_KEY, RECENT_SHAPES_KEY, RECENT_SHAPES_MAX, RECOLOR_ACCENTS, RECORD_COMMAND_GROUPS, REVIEW_COMMENT_COMMAND_IDS, RGBA_BYTES_PER_PIXEL, RIBBON_ADD_IN_TAB_ATTR, RIBBON_CONTEXTUAL_TABS, RIBBON_CONTEXTUAL_TAB_ATTR, RIBBON_CONTROL_ALIASES, RIBBON_CONTROL_ATTR, RIBBON_CONTROL_CATALOG, RIBBON_CONTROL_ICONS, RIBBON_CONTROL_IDS, RIBBON_GALLERY_ATTR, RIBBON_GALLERY_IDS, RIBBON_GALLERY_ITEM_ATTR, RIBBON_GALLERY_POPUP_ATTR, RIBBON_GROUPS, RIBBON_GROUP_ATTR, RIBBON_GROUP_IDS, RIBBON_HOME_FAMILIES, RIBBON_HOME_INDENT_STEP, RIBBON_MENU_COMMAND_IDS, RIBBON_RESERVED_TAB_IDS, RIBBON_SCOPE_ATTR, RIBBON_TAB, RIBBON_TAB_IDS, RIBBON_TRANSITION_PRESETS, RULER_FONT_SIZE, RULER_THICKNESS, RUN_HYPERLINK_ATTR, RUN_PROGRAM_NOTICE_METRICS, SATURATION_PERCENTS, SAVE_FAILED_TOAST, SAVE_FAILED_TOAST_CODE, SAVE_PROGRESS_TEXT_KEYS, SAVE_TAB, SCREEN_TIP_CHOICES, SECTION_HEADING, SEL, SELECTION_CONTROL_CSS_VARS, SEPIA_DUOTONE, SETTING_TOGGLES, SEVERITY_GROUPS, SEVERITY_LABELS, SEVERITY_LABEL_KEYS, SHAPE_ADJUSTMENT_MAX, SHAPE_ADJUSTMENT_MIN, SHAPE_BEVEL_OPTIONS, SHAPE_EFFECT_SECTIONS, SHAPE_GALLERY_ITEMS, SHAPE_LINE_SECTION, SHAPE_LINE_SECTIONS, SHAPE_PRESET_DEFS, SHAPE_PRESET_ROWS, SHAPE_PRESET_STYLE_ROWS, SHAPE_QUICK_STYLES, SHAPE_STYLE_COLUMNS, SHAPE_THEME_STYLE_ROWS, SHAPE_THUMB_VIEW_BOX, SHARPEN_SOFTEN_PERCENTS, SHORTCUT_REFERENCE_ITEMS, SLIDE_RAIL_FOOTER_ACTIONS, SLIDE_SHOW_COMMAND_GROUPS, SLIDE_SHOW_OPTIONS, SLIDE_SIZE_PRESETS, SLIDE_SORTER_MENU_LABEL_KEYS, SLIDE_TEMPLATES, SLIDE_TEMPLATES_ENTRY_ID, SLIDE_TEMPLATES_ENTRY_KEY, SLIDE_TEMPLATE_IDS, SLIDE_THUMBNAIL_TRANSITION_TOOLTIP_KEY, SLIDE_TRANSITION_KEYFRAMES, SLIDE_TRANSITION_KEYFRAMES_CSS, SLIDE_TRANSITION_LABEL_KEYS, SLIDE_TRANSITION_OPTIONS, SLIDE_VIRTUALIZATION_THRESHOLD, SMARTART_3D_EDIT_LAYER_ATTRIBUTE, SMARTART_CONNECTOR_OPACITY, SMARTART_CONNECTOR_STROKE, SMARTART_CONNECTOR_WIDTH, SMARTART_LABEL_COLOR, SMARTART_PREVIEW_ELEMENT_HEIGHT, SMARTART_PREVIEW_ELEMENT_WIDTH, SMARTART_PREVIEW_FALLBACK_ITEMS, SORTER_MAX_ZOOM, SORTER_MIN_ZOOM, SORTER_ZOOM_STEP, SPLIT_SUBTYPE_TO_VARIANT, STALE_PRESENCE_MS, STATUS_BAR_CLASSES, STATUS_BAR_METRICS, STROKE_DASH_OPTIONS, SUBTITLE_LANGUAGES, SURFACE_WIREFRAME_OPTIONS, SVG_WARP_PRESETS, SWIPE_MAX_VERTICAL_PX, SWIPE_THRESHOLD_PX, TABLET_BREAKPOINT, TABLE_CELL_TEXT_DEFAULTS, TABLE_STYLE_PRESETS, TAB_ROW_ACTION_CLASSES, TEMPERATURES_K, TEMPLATE_REF_HEIGHT_EMU, TEMPLATE_REF_WIDTH_EMU, TEXT_3D_DEFAULT_EXTRUSION_PT, TEXT_3D_EMU_PER_PT, TEXT_3D_MAX_BEVEL_PT, TEXT_3D_MAX_EXTRUSION_PT, TEXT_BOX_SECTION, TEXT_BOX_SECTIONS, TEXT_BUILD_ID_SEP, TEXT_DIRECTION_OPTIONS, TEXT_EFFECT_SECTIONS, TEXT_WARP_PRESETS, TEXT_WRAP_OPTIONS, THREE_VIEW_EVENTS, TICK_LABEL_POSITION_OPTIONS, TITLE_BAR_CLASSES, TITLE_BAR_DEDICATED_IDS, TITLE_BAR_DEFAULT_FILE_KEY, TITLE_BAR_METRICS, TOOLBAR_BUTTON_DESCRIPTIONS, TOOLBAR_BUTTON_IDS, TOOLBAR_TABS, TRACE_SIZE_PX, TRANSITION_DIR_ARROWS, TRANSITION_DIR_GRID_POSITIONS, TRANSITION_DURATION_MAX_SEC, TRANSITION_MORPH_OPTIONS, TRANSITION_ORIENTATION_TYPES, TRANSITION_PREVIEW_ATTR, TRANSITION_SOUND_CURRENT_VALUE, TRANSITION_SOUND_NONE_VALUE, TRANSITION_SOUND_OTHER_VALUE, TRANSITION_SPEED_DURATION_MS, TRANSITION_SPEED_OPTIONS, TRENDLINE_SUPPORTED_TYPES, TRENDLINE_TYPE_OPTIONS, TRUST_TAB, TYPE_LABELS2 as TYPE_LABELS, TYPE_LABEL_KEYS, TimelineEngine, VALIGN_OPTIONS, VIEWER_ADDIN_CATALOG, VIEWER_BACKSTAGE_REGION_IDS, VIEWER_CAPABILITY_DESCRIPTIONS, VIEWER_CAPABILITY_IDS, VIEWER_DIALOG_DESCRIPTIONS, VIEWER_DIALOG_IDS, VIEWER_DIALOG_REGION_DESCRIPTIONS, VIEWER_DIALOG_REGION_IDS, VIEWER_EXPORT_FORMAT_DESCRIPTIONS, VIEWER_EXPORT_FORMAT_IDS, VIEWER_FEATURE_DESCRIPTIONS, VIEWER_FEATURE_IDS, VIEWER_OPTIONS_TABS, VIEWER_PANEL_DESCRIPTIONS, VIEWER_PANEL_IDS, VIEWER_PANEL_REGION_DESCRIPTIONS, VIEWER_PANEL_REGION_IDS, VIEWER_PREFERENCE_TOGGLES, VIEWER_PREFS_STORAGE_KEY, VIEWER_REGION_ATTRIBUTE, VIEWER_REGION_IDS, VIEWER_ROOT_OPTION_DEFAULTS, VIEWER_SHORTCUT_REFERENCE, VIEW_EDITABLE_COMMANDS, ViewerRegionHost, WARP_PATH_GENERATORS, WARP_PRESET_DEFINITIONS, WASHOUT_LUM, WHEEL_SPOKE_COUNTS, WIPE_FILTER_TOKEN_TO_SUBTYPE, WIPE_SUBTYPE_TO_EDGE, ZOOM_MAX_PERCENT, ZOOM_MIN_PERCENT, ZOOM_STEP, _resetCanvasDimensionCache, _resetNativeImageSizeCacheForTests, abuttingEdgeBleedStyle, accentDuotone, acceptAutosaveRecovery, acceptsPresentationInput, acknowledgeAutosaveRecovery, actionAffordanceLabels, actionButtonLabelKey, actionTypeNeedsTarget, activateModalFocus, addCommentToList, addEditPoint, addGradientStopPatch, addQuickAccessCommand, addSiblingAfter, addTagToCollections, adjacentComment, adjustGalleryModule, adjustmentRange, advanceChartMarkDrag, advanceMainSequence, advanceStep, alertNoticeDialog, alignPatch, angularAdjustmentKeys, annotationCapturesPointer, annotationOverlayZIndex, appendPresentationInkPoint, apply3dEffects, applyAcceptAllSlides, applyAcceptSlide, applyActiveInlineListFormatting, applyAnimationGroupSteps, applyAnimationOpacity, applyAnimationTimelineOrder, applyAutoCorrect, applyAutoCorrectToEdit, applyChart3DDrag, applyChart3DSelect, applyChartBuildReveal, applyChartElementToggle, applyChartFormatEdit, applyChartFormatField, applyChartRevealDescriptor, applyChartStylePreset, applyColorChange, applyDiagramRevealDescriptor, applyDrawingColorTransforms, applyDuotone, applyElementActionAffordances, applyFontAlignmentFallback, applyHighlightClickStyle, applyInlineCommand, applyInlineRunStyle, applyInlineTextDraft, applyListStyleUpdate, applyLockedOptions, applyMasterViewCrudAction, applyMediaCommandVerb, applyMediaEndedStep, applyMediaPlaybackAttributes, applyMergeShapesPlan, applyMotionPathPreset, applyNotesLevelDefaults, applyOutlineEdit, applyParagraphBaselineShift, applyParagraphCommand, applyPasteSpecialFormat, applyPreferenceToOptions, applyReadOnlySessionEvent, applyReadingViewCommand, applyRehearsalTimings, applyRenderedElementAccessibility, applyReroutedConnectors, applyRibbonGalleryItem, applyRibbonTransitionDraft, applySlideTransitionSound, applySmartArtTextPaneRequest, applySorterAction, applySpatialLayout, applyStepBuildMetadata, applyStyleToSelectedSegments, applyTableCellFontWeight, applyTableStylePreset, applyTextStyleUpdate, applyThemeByPath, applyTransitionSoundFile, applyTransitionStockSound, applyUnderlineVariant, applyUniformCellPaddingPatch, archFitSweep, armBaselineSettle, armEditorKeyboard, arrangeAlignAction, arrangeHomeControls, arrangePainterHomeControls, arrangeShapeHomeControls, asSelectionIds, assemblePng, assertElementUpdateTarget, assignUserColor, attachCollaborationInlineEditor, attachEditorImagePaste, attachInlineListController, attachMediaControlBar, attachOverlayKeyboard, attachPresentationVisibilityPause, attachRibbonOverflow, attachRotateHandlePlacement, attachViewerHyperlinks, authorConnectorBetweenSites, authoredLetterSpacingPx, autoFitModeOf, autoFitModePatch, autosaveDisabledReasonKey, autosaveIntervalMs, autosaveRecoveryPrompt, autosaveSnapshotMark, autosaveSourcesChanged, autosaveStatusKind, availableQuickAccessCommands, backstageCardsFor, backstageNavEntries, bar3DShapePatch, baselinePlacementStyle, baselineShiftOf, beginChartMarkDrag, beginCropDrag, beginShapeAdjustment, beginZoomExcursion, bendEditSegment, bindCollaborationHistory, bindInlineListParagraph, bindInlineListRun, bindPptxOptionsDialog, blindsDecl, bookmarkOptionValue, bookmarkTriggerPatch, booleanRegions, borderCssWidthPx, borrowExternalCollaborationAwareness, boundsOf, boxForAnimation, boxOverlapRatio, boxesOverlap, build3DExtrusionData, buildAbsoluteRotationKeyframe, buildAbsoluteScaleKeyframe, buildActionButtonElement, buildAnimationRibbonPreview, buildAnimationTimelineRows, buildBarActions, buildBehaviorPreview, buildBroadcastConfig, buildBroadcastViewerUrl, buildCacheKey, buildCanvasContextMenuEntries, buildChart3DSpecForElement, buildChartExInsertData, buildChartFormatPaneModel, buildChartQuickActionsDescriptor, buildChartStylePresets, buildChromeStyle, buildClearHyperlinkPatch, buildClickGroups, buildCollaborationShareUrl, buildCollaborationState, buildColorAnimationKeyframes, buildColorInterpolationProps, buildColorTavKeyframe, buildCommentMarkers, buildConnectorElementLookup, buildConnectorGeometry, buildConnectorPathD, buildContextMenuEntries, buildCreateCollaborationConfig, buildCropOverlay, buildDeckJson, buildDeckSaveOptions, buildDirectionGrid, buildDuotoneCacheKey, buildDynamicKeyframe, buildDynamicKeyframes, buildEditPointsMenu, buildEditPointsView, buildElementClipboardPayload, buildEmbeddedFontStyles, buildEquationBlockStyle, buildFieldSubstitutionContext, buildFontFaceRule, buildForeignObjectSvgBody, buildFreeformShapeElement, buildFreeformStrokeGeometry, buildFreeformToolElement, buildFreeformToolGeometry, buildGlyphEnvelope, buildGlyphEnvelopeBlock, buildHelpRibbon, buildHollowHitOutline, buildHyperlinkPatch, buildIdatChunk, buildIendChunk, buildIhdrChunk, buildImageFitTransform, buildInkGroupStrokes, buildInlineListStylePatch, buildInlineStyleText, buildInlineTextCommitPatch, buildJoinCollaborationConfig, buildLiveInkStrokeView, buildMirrorTiledBackground, buildMorphAnimationRules, buildMorphIncomingAnchoredOrder, buildMorphMergedOrder, buildMorphOutlineRules, buildMorphScopedCss, buildMorphTransitionPlan, buildMotionPathKeyframes, buildMotionPathPreview, buildNotesPdfBytes, buildNotesPrintHtml, buildNotesTextStream, buildOleContentUpdatePatch, buildOleEditDialogDescriptor, buildOleObjectNamePatch, buildOpacityTavKeyframe, buildOptionsBaseline, buildOutline, buildOutlinePrintJobDocument, buildParagraphs, buildPngChunk, buildPptxOptionCategories, buildPresentationAudienceUrl, buildPresentationClickGroups, buildPresentationTouchControlState, buildPreviewAnimation, buildPreviewElements, buildPrintDocument, buildPrintStyleSheet, buildQueryLinkUrl, buildQuickStylesGallery, buildRasterPictureElement, buildRasterPrintJobDocument, buildRecordRibbon, buildReviewRibbon, buildRibbonGallery, buildRunEffectStyle, buildRunProgramNotice, buildRunTabLines, buildSectionContextMenuEntries, buildShareConfig, buildShareUrl, buildSlideOverflowMap, buildSlidePaneContextMenuEntries, buildSlideSorterContextMenuEntries, buildSlideTemplateContent, buildSlideTemplateSlide, buildSlidesPaneFieldContext, buildSlidesPaneTableStyleContext, buildSlidesPdfBytes, buildSmartArt3DModel, buildSmartArt3DSpecForElement, buildSmartArtA11y, buildSmartArtPresetData, buildSmartArtPresetNodes, buildSmartArtPreviewElement, buildStepCommand, buildStrokeInterpolationProps, buildStrokePathD, buildSummaryZoomView, buildSurfaceGeometry, buildSurfaceLabels, buildTabContext, buildTabRowActionsState, buildTableDataGrid, buildTextBlockStyle, buildTextBlurFilter, buildTextBody3DSceneStyle, buildTextBodyLayoutStyle, buildTextBuildSpec, buildTextFillCss, buildTextGlowFilter, buildTextHslFilter, buildTextInnerShadowCss, buildTextRunFilterChain, buildTextShadowCss, buildTextSoftEdgeFilter, buildTextStyleHoldKeyframe, buildTextStyleOverrideCss, buildTextWarpGallery, buildTiledSlidesPdfBytes, buildTimeline, buildTitleBarState, buildTokenMorphAnimations, buildUserFontFaceStyles, buildVectorPrintJobDocument, buildWarpPath, buildWarpedGlyphOutlinePathD, buildWrapperStyle, buildZoomTransitionOverride, builtinTableStyleMap, calculateContinuationPageMaxLines, calculateNotesPageLayout, calculateViewportFit, canAddTopLevelNode, canCommitActionType, canCreateCollaborationSession, canCropElement, canEditElementPoints, canGoNext, canGoPrevious, canJoinCollaborationSession, canMergeShapes, canRemoveTopLevelNode, canRequestDraw, canRequestHome, canRequestInsert, canRequestTransitions, canRequestView, canStartBroadcast, canStartShare, canSweepAutosaveSnapshots, canUseClipboard, cancelBuildReveal, cancelCropUpdate, canvasContextMenuLabelKey, canvasToJpegData, captionDisplayText, carryBuildState, cascadeDownPath, cascadeUpPath, cell3DBevelCss, cellImageFillCss, cellParagraphBlocks, cellPatternFillCss, cellRunStyle, cellStyleToCss, centeredSvgTextLines, characterSpacingPatch, chartAxesVisibilityPatch, chartAxesVisibilityState, chartAxisTitlesPatch, chartAxisTitlesState, chartDataLabelsTogglePatch, chartDataSheetLabels, chartEventPathElements, chartFormatContextMenuLabelKey, chartFormatPaneTitle2 as chartFormatPaneTitle, chartFormatTabs, chartFormatTargetAtPoint, chartFormatTargetFromEvent, chartFormatTargetLabel2 as chartFormatTargetLabel, chartPlaceholderLabel, chartSelectionHomeControls, chartStylePresetPalette, chartThreeViewSpec, checkModifyPassword, checkerboardDecl, choices2 as choices, circleFitSweep, circleOutline, clampCursorPosition, clampFlyoutPosition, clampGifDimensions, clampNotesFontSize, clampOptionNumber, clampPercent2 as clampPercent, clampPresenterZoom, clampScale, clampShapeAdjustmentValue, clampSorterZoom, clampStep, clampText3dPt, clampZoomScale, classifyExtraConnections, classifyMediaType, classifyTextWarp, clearActiveAnimationGroup, clearAllComments, clearAllLocalViewerData, clearAudienceContent, clearAutosaveRecoveryAcknowledgement, clearAutosaveSnapshots, clearColorChangeCache, clearDuotoneCache, clearLocalAwareness, clearMotionPath, clearNativeImageSizeCache, clearPlaybackTimers, clearPresentationDeck, clearSeriesColor, clearSlideComments, clearStoredViewerPrefs, clearTransitionSound, clientPointToViewBox, clientToChartPoint, clientToSlidePoint, clipPathToPolygon, clipboardHomeControls, cloneElementForPaste, cloneElementUpdates, cloneHeaderFooterDraft, cloneOptions, closeEditPath, closeReadingView, cloudFilesLabels, coerceInspectorFieldValue, collaborationHistoryReady, collaborationStatesEqual, collectAccessibilityIssues, collectChartBuildInfo, collectCoherent3DOffNodeIds, collectConnectorSiteCandidates, collectDeckWebfontFaces, collectDeckWebfontRuns, collectDiagramBuildInfo, collectExternalFontFaceCss, collectFontFaceCss, collectFontsFromElement, collectGlyphEnvelopeFontFamilies, collectReferencedFontFamilies, collectUsedFonts, colorDistance, columnHandleSegments, columnIndexAtFraction, combineTileRowPixels, commentCounts, commentMarkerTitle, commentMentionQuery, commentTextSegments, commitElementUpdateBatch, commitGalleryResult, commitSmartArtNodeFill, commitSmartArtNodeText, commitsThroughDeckStyle, comparePresentation, compareSlide, compareSlides, compatToastStackStyle, compatToastStackStyleAttr, compatibilityWarningToasts, compileEquationTemplateMathMl, compileLatexEquation, computeAllNotesPages, computeAnchoredPopupPosition, computeAutoFitShapeHeightPx, computeAutoFitTextStyle, computeBendingLayout, computeBuildProgress, computeCameraPlacement, computeColumnBoundaries, computeConnectorGeometry, computeCycleLayout, computeDocumentStatistics, computeDrawingViewBox, computeEntranceAnimationDelay, computeExportTilePlan, computeFunnelLayout, computeGearLayout, computeGridExtent, computeGridSpacingPx, computeHierarchyLayout, computeInlineEditorRect, computeKeyboardInset, computeListLayout, computeMarqueeHitIds, computeMatrixLayout, computeMoveFrame, computeNormAutofitShrink, computeNotesPageLayout, computeProcessLayout, computePyramidLayout, computeRadialLayout, computeReadingOrder, computeResizeFrame, computeResizedColumnWidths, computeResizedRowHeight, computeRotateFrame, computeScrollDelta, computeShadeToTitleFillToRect, computeSmartArtElementLayout, computeSmartArtLayout, computeTabSize, computeTabbedLayout, computeTableMergeCrossings, computeTargetLayout, computeTimelineLayout, computeTrendlinePoints, computeVennLayout, computeVirtualRange, computeZOrderSwaps, confirmActionDialog, confirmDeleteDialog, confirmExternalHyperlinkDialog, connectedServicesLabels, connectorAdjustmentFraction, connectorArrowPatch, connectorArrowValue, connectorBendFraction, connectorEndpointId, connectorEndpointPoint, connectorHitStrokeWidth, connectorPresetForSpan, connectorSnapTransform, connectorWrapperTransform, contextMenuInspectorAnchor, contextMenuLabelKey, contextMenuViewItems, contextualTabLabelKey, contextualTabsForElement, coordinatesAt, correspondingChildren, countAccessibilityIssues, countTextSegments, countTopLevel, countWords, crc32, createActiveAnimationGroup, createAutosaveController, createAutosaveRecoveryController, createBackstagePresentation, createCloudDocumentController, createCollabProvider, createCollaborationHistory, createCollaborationLivePatcher, createCollaborationSessionController, createCollaborationStateReporter, createCustomShow2 as createCustomShow, createCustomShowsController, createCustomizationController, createDeckStyleHost, createDefaultChartElement, createDefaultChartUserShapeGroupChild, createEditorHistoryController, createEmbeddedFontsSheet, createEmbeddedOutlineFontsSlot, createEnvelopeWarp, createGalleryPreviewController, createGestureController, createGlyphOutlineLookup, createGuide, createInitialPresentationSnapshot, createInlineListModelObserver, createInlineListSeed, createInspectorColorFields, createLiveColorInput, createPlainNotesSegments, createPresenceProjector, createPresencePublisher, createPresentationKeyBuffer, createPresentationSessionId, createPresenterPointer, createPresenterShowGuard, createPresenterTimer, createPreviewEditGuard, createRibbonControlIcon, createSaveProgressController, createSheetDismissGesture, createSlidePackageClipboard, createSlideSorterState, createSlidesPaneBulkSlideOps, createSyncGate, createTouchGestureRecognizer, createViewerCommandStore, createViewerOptionsStore, createViewerStore, createViewerZoomStore, createWheelStepBuffer, createWriteBackScheduler, createYjsFactories, cropControlSpec, cropFill, cropFit, cropFrameOf, cropHomeControls, cropModeKeyAction, cropResetPatch, cropResetState, cropSessionChanged, cropToAspectRatio, crossedHistoryTheme, cssBaseline, cssCdata, cssEasingForAccelDecel, cssEasingForTimingCurve, cssFontWeightNumber, cssKeyframeName, cubicBounds, cubicPointAt, cursorForTool, customizeBackstageCards, customizeBackstageNav, customizeCanvasContextMenuEntries, customizeContextMenuEntries, customizeOptionsTabs, cycleSelectableElement, dataUrlToBlob, deckJsonFileName, decodePendingBaseline, defaultDuration, defaultGradientState, defaultMentionId, defaultRichEnabled, deleteAutosaveSnapshot, deleteEditPoint, deleteEditSegment, deleteMasterViewElements, deleteOldestAutosaveEntry, deleteTagFromCollections, deliverSavedPresentation, demote, derivePresenceList, derivePresetAdjustmentHandles, deriveSlideFieldContext, deriveViewportBreakpoints, describeCollaborationShellState, describeElementChange, describeFontEmbedding, describePptxChart, describeSmartArtBounds, describeSmartArtDiagram, deserializeElementClipboard, designCommandState, detectOrientation, detectTouchDevice, diffOptionsAgainstBaseline, diffSlideElements, diffTokens, diffViewerOptions, disableGlowPatch, disableInnerShadowPatch, disableOuterShadowPatch, disableReflectionPatch, disableSoftEdgePatch, discardAutosaveRecovery, dispatchChartSelectionRequest, dispatchCropRequest, dispatchEditorKey, dispatchReadOnlyBannerIntent, dispatchStatusBarIntent, dominantDisplacement, downloadBlob, downloadDataUrl, dragCropHandle, drawLabel, drawingHomeControls, drawingShapeLabelColor, drawingShapesLayoutResult, driveBuildReveal, durationOf, eastAsianBreaksForRun, editCommentInList, editFrameFromElement, editGeometryBounds, editGeometryFromElement, editGeometryToElementPatch, editGeometryToPaths, editGeometryToSlidePath, editLocalToSlide, editPointsCommandLabelKey, editPointsElementSignature, editSlideToLocal, editingHomeControls, editorNudgeDelta, editorSlideStep, editorThumbnailHeight, editorThumbnailStep, editorThumbnailWidth, editorViewportFitFor, effectSoundCatalogueEntry, effectiveTextBuildType, effectiveTimingCurve, effectiveZoomScale, effectsStateOf, elementContainerHeightStyle, elementHasTextHyperlink, elementHitTargetStyle, elementIdSelector, elementInLocalFrame, elementOutlineLoops, elementPictureFilename, ellipseArcToCubics, embedImagesOnClone, embeddedFontSaveOptions, emphasisFilterKeyframeCss, emptyGalleryModule, enableGlowPatch, enableInnerShadowPatch, enableOuterShadowPatch, enableReflectionPatch, enableSoftEdgePatch, encodeGif, encodePendingBaseline, encodePngFromPixels, encodePngFromRowBands, endAudienceDisplay, ensureActionAffordanceStyles, envelopeCurveAt, envelopeCurveXExtent, envelopeWrapWidth, equalizePaths, erasePresentationInkAt, escapeCssAttributeValue2 as escapeCssAttributeValue, escapePdfText, escapeSvgText, escapeXml, evenColumnWidths, evenRowHeights, exactPitchPoints, executeMediaCommandInDom, expandCapabilities, expandTextBuildAnimations, expandTextRangeAnimations, exportAbortError, exportDeckJson, externalSessionFromCollabSession, extraConnectionCount, extraQuickAccessCommands, extractCssUrl, extractGlyphOutlineCommands, extractStepGraphicElement, eyedropperAvailable, feedSvgPath, fetchAsDataUrl, fetchGoogleWebfontOutlineBytes, fillLeader, fillLeaderWithMeasure, fillModeForClass, filterCommands, filterMenuEntries, filterPixelBlock, filterRenderedElements, filterRowNone, filterVisibleTabs, finalizeClickGroup, findCanvasElementNode, findChartPartElementInEvent, findChartPartInEvent, findChartUserShapeNode, findCommentLocation, findConnectorSiteNear, findEffectSoundCatalogueEntry, findEraserHitElementId, findHighlightClickTarget, findMediaBookmarkGatedSteps, findMediaElementByElementId, findMediaEndGatedSteps, findOutlineRow, findPresentationActionTarget, findReplaceSessionActions, findReplaceStatus, findReplaceTarget, findRibbonAddIn, findSlideStage, findSmartArtNodeText, finishAnimationGroupSteps, finishCropUpdate, finishDomAnimationsForGroup, finishPrintWindow, firstShowSlideIndex, fitGlyphEnvelopeAffine, fitTransformsFromInsets, flattenMorphElements, flattenOutline, flattenSlideElements, flattenTagCollections, flattenViewerOptions, followCommentEdit, followingText, fontAlignmentVerticalAlign, fontFamilyItems, fontHomeControls, fontMimeForFormat, fontPickerHomeControls, fontSizePx, foreignObjectSvgToDataUrl, forgetSessionDeck, forgetStepsUsingRemovedParts, formatAdvanceAfterText, formatBackstageDate, formatBackstageSize, formatBytes, formatCursorLabel, formatEditPointsTarget, formatElapsed, formatIsoDate, formatLoadLimitBytes, formatMediaTime, formatMobileElapsed, formatRelativeTime, formatSlideCounter, formatSnapshotSize, formatTime, formatVersionTimestamp, fractionalClientSize, frameSlideSvg, freeformCloseTolerance, galleryDeckView, galleryHasItems, galleryItemLabel, galleryTextLabel, gateViewerEdits, generateBroadcastRoomId, generateCommentId, generateCustomShowId, generateElementId, generateFullMorphTransition, generateGeometryMorphAnimation, generateImageCropGhostAnimations, generateImageCropMorphAnimations, generateMorphAnimations, generateMorphGhostAnimations, generateTextMorphAnimations, generateTicks, generateUnmatchedFadeInAnimations, generateUnmatchedFadeOutAnimations, get3DBevelShadow, get3DMaterialFilter, get3DTransformStyle, get3dTransformCss, getAcknowledgedAutosaveRecoveryTimestamp, getActiveInlineListSelection, getActiveXControlOverlayView, getAnimationColorBaseStyle, getAnimationInitialStyle, getAnimationOpacity, getAriaLabel, getAriaRole, getAriaRoleDescription, getArtisticFilterId, getArtisticImageFilter, getAutosaveSnapshot, getBackgroundAnimationLayers, getBackgroundAnimationState, getBevelLightingFilterId, getBevelLightingFilterMarkup, getBevelLightingSvgFilter, getBevelStyle, getBuiltinTableStyle, getBuiltinTableStyleName, getCachedNativeImageSize, getCachedResult, getCameraTransform, getCellDiagonalBorders, getChartUserShapeGroupTransform, getChartUserShapeRowChartBox, getCinematicTransitionAnimations, getComputed3dStyle, getComputedImageStyle, getConnectionSites, getConnectorEndpointHandles, getContainerStyle, getContourBoxShadow, getCropShapeClipPath, getCurrentParagraphIndex, getDenseGridLayoutPlan, getDensePanelTouchTargetBox, getDensePanelTouchTargetPx, getDiagonalBorders, getDraggedShapeAdjustmentValue, getDraggedShapeAdjustments, getDuotoneCachedResult, getDuotoneImageFilter, getEffectKeyframes, getEffectSoundAsset, getEffectSoundState, getElementCreationId, getElementMorphName, getEnvelopeCssTransform, getExtrusionBoxShadow, getExtrusionShadow, getFragmentedTransitionDescriptor, getFrameEffectStyle, getFrameInverseTransform, getGroupChildParentFill, getImageAlphaFilter, getImageAlphaFilterId, getImageBackgroundRemoval, getImageColorWashStyle, getImageCorrectionsFilterTokens, getImageDuotoneFilterId, getImageEffectsFilter, getImageEffectsOpacity, getImageFillCounterTransform, getImageFillOverlayFilter, getImageFillOverlayFilterId, getImageFilterCss, getImageFitStyle, getImageOverflow, getImageSharpenFilter, getImageSharpenFilterId, getImageSrc, getImageSvgFilters, getImageTilingStyle, getInitialStyleForEffect, getInlineEditorSelection, getInlineEditorSelectionResult, getKinsokuLineBreakStyles, getLightAngleFromCamera, getLightRigCss, getLocalStorageUsageSummary, getMaterialCssOverrides, getMaterialFilter, getMaterialGradientOverlay, getMaxCanvasDimension, getNonVisualDescriptionFields, getNotesPrintableArea, getOleAriaLabel, getOleBadgeLabel, getOleDisplayName, getOleIconShapes, getOleTypeColor, getOleTypeLabel, getOnlineVideoEmbed, getOverflowSegments, getP14TransitionAnimations, getPasswordStrength, getPendingSelectionRestore, getPictureFrameLayers, getPictureShadowFilter, getPlaceholderStyle, getPresentationContextMenuSections, getQuickAccessCommand, getReducedMotionStyles, getRegionRenderer, getResizeHandleHitAreaStyle, getRoundRectAdjustmentValue, getRoundRectRadiusPx2 as getRoundRectRadiusPx, getSectionLayoutPlan, getSelectionControlArtworkStyle, getSelectionOutlineColor, getSessionTabId, getShapeAdjustmentHandleDescriptor, getShapeAdjustmentHandleDescriptors, getShapeConnectionSites, getShapeEffectAnimationLayerStyle, getShapeEffectLayerPlacement, getSilhouetteFillLayer, getSimpleCssTransform, getSlideBackgroundStyle, getSlideTransitionAnimations, getSmartArtNodeBounds, getSpeechRecognitionCtor, getTableCellBandStyle, getTableResizeScale, getTextAlphaOpacity, getTextBodyRotationTransform, getTextCompensationOrigin, getTextCompensationStyle, getTouchDistance, getUnrotatedShapeConnectionSites, getViewerOptionsTab, getWarpCssTransform, getWarpPath, ghostMorphPairsHiddenByGhosts, glowStateOf, glowStyle, gradientStateFromStyle, gradientStateOf, gradientStatePatch, gradientStopColorCommitPatch, groupDrillChain, groupElementParagraphs, groupIntoParagraphs, groupIssuesBySeverity, groupParagraphsByBuildLevel, groupShortcutReference, groupTilesByRow, handleEditorAnchorClick, handleLiveColorEvent, handlePresentationStageClick, handleReadingViewKey, handleThreeViewChartEvent, hasAdvancedImageAlphaEffects, hasCommentMentions, hasCrop, hasExistingLink, hasGlyphEnvelope, hasGradientFill, hasImageFillOverlayEffect, hasImageOverrides, hasMotionPath, hasMultipleSelectedTableCells, hasPersistentAudio, hasPictureFrame, hasShowSlideAfter, hasText3dExtrusion, hasTextWarp, hasTiltData, hasWarpPresetDefinition, hexToRgb, hiddenSlideCue, hiddenSlideLabelId, hideChartSeries, historyStepUsesParts, historyTheme, hollowTextFillStyle, homeColourState, homeControlKey, homeFamilyControls, homeFamilyKeys, homeGalleryApply, homeGalleryControls, homeLabel, homeLaunchers, homeShapeGalleryItems, homeShapeValue, homeSnapshotTranslator, hostFontDownloadLock, hostMenuLabel, hslToRgb, imageAdjustmentsPatch, imageAdjustmentsStateOf, imageCropPatch, imageCropStateOf, imageResetPatch, imageResetState, incomingSegmentIndex, inferNodeTypes, initialHiddenStyle, initialInspectorOpen, initializeInlineListDom, inkGroupViewBox, inlineComputedStylesOnClone, inlineElementPointerEvents, inlineGalleryItems, innerShadowStateOf, innerShadowStyle, insertChartPreviewSvg, insertCommentMention, insertControlStatus, insertEntryEnabled, insertHyperlinkAtSelection, insertLabel, insertedLayoutCompletion, insetPaddingForBorders, inspectorFieldPatch, inspectorNumber, inspectorTogglePatch, installSvgIdScope, interpolateColor, interpolateOutline, interpolatePaths, interpolateSmartArtPalette, isActionButton, isActionHidden, isAdditiveSelectionPress, isArtisticEffectRendered, isAudienceDisplayHash, isAudienceDisplayTab, isAudienceTab, isBackstagePageVisible, isBlackboardActive, isBookmarkGated, isBrowserOpenableMime, isChart3DViewEnabled, isChartTitleEvent, isCleanAfterSave, isClickAdvanceAllowed, isColumnBoundaryMergedAt, isDensePanelCompact, isDialogAvailable, isDrawingToolVisible, isEastAsianChar, isEditPointsCandidate, isEditPointsEnabled, isEditableMotionPath, isEditingAllowed, isEditorControlTarget, isEditorTextInputTarget, isElementActionable, isElementHidden, isElementMarkedDecorative, isElementRendered, isEmptyDeck, isEquationOnlyText, isExportAbortError, isFeatureEnabled, isFontFamilyAvailable, isFontFamilyInstalledLocally, isForwardedEditLayerEvent, isFreeformStrokeClosed, isHeaderFooterDateTextVisible, isHeaderFooterFooterTextVisible, isHeaderFooterHeaderTextVisible, isHollowShapeElement, isImageTiled, isInBottomTriggerZone, isInertMorphPair, isInjectableUrl, isKeyboardOpen, isKoreanLanguage, isLegacyBinaryPresentation, isLinkedTextBox, isLinkedTextBoxHead, isMasterViewEditable, isMediaCommandAnimation, isMediaEndGated, isMediaFullscreenActive, isMergeableElement, isMixedContentBlocked, isMobileViewport, isNavigationAction, isNoOpPresentationAction, isOptionLocked, isOptionsPageVisible, isOutlineViewDismissKey, isPanelVisible, isPeerToPeerShare, isPictureElement, isPointInRegion, isPresenceFresh, isPresentationAdvanceClick, isPresentationAudience, isPresentationSessionMessage, isRegionReplaced, isReviewCommentCommand, isRibbonControlId, isRibbonControlVisible, isRibbonGroupId, isRibbonGroupVisible, isRoutedToLegacyBevelShadow, isRowBoundaryMergedAt, isRunHyperlinkClickable, isSafeSvgMarkup, isSameArtisticEffect, isSameBrowserRoom, isSeriesUsingSecondaryAxis, isSettingLocked, isSettingVisible, isSupportedPresentationFile, isTabletViewport, isValidRoomId, isVerticalTextDirection, issueTrackKey, issueTypeLabel, keepStoredLockedValues, lastLineExtentDelta, lastShowSlideIndex, latexToMathMl, layoutEnvelopeBlock, leaderGlyph, lerpColor, lineHeightToPx, lineSpacingPatch, listAutosaveSnapshots, listBackstageRecentFiles, listChartFormatTargets, listChartUserShapeRows, listCommentLocations, listMediaBookmarkOptions, listenForOutlineViewDismiss, loadAudienceContent, loadDeckWebfontOutlines, loadPresentationDeck, loadSessionDeck, loadedThemeName, lockExternalContentSetting, lockFontDownloadSetting, makeCloneId, mapAwarenessCursors, mapCustomizedEditorKey, mapDuotonePixels, mapEditingWheel, mapEditorKey, mapInlineEditorChord, mapInlineTextFormatKey, mapOutlineKey, mapPresentationKey, mapPresentationWheel, mapReadingViewKey, mapSlideShowStartKey, mapSlideSorterKey, markAnimationGroupActive, markInsertedParagraph, maskEdgeDecl, maskEdgeInitialStyle, maskEdgePartialDecl, maskShapeDecl, maskShapeInitialStyle, masterViewBackgroundColor, masterViewCrudActions, masterViewCrudFailureKey, masterViewElements, masterViewOwnerElementId, masterViewPartForElement, masterViewParts, masterViewPseudoSlide, matchCommentMentionAuthors, matchGoogleWebfontFragments2 as matchGoogleWebfontFragments, matchMorphElements, matchMorphElementsFull, matchSlideSizePreset, matchTextTokens, matchesShortcutChord, mayLeaveSlideShow, measureAutoFitContentHeightPx, measureFontBoxWithCanvas, measureGlyphAdvances, measureNormAutofitStepHeightPx, measurePreviewGeometry, measureSvgViewportRect, measureTextWidth, measureViewportClientSize, measureWarpParagraphWidth, mediaControlBarEnabled, mediaControlBarVisible, mediaFallbackIcon, mediaFallbackLabelKey, mediaFallbackVisual, mediaPlaybackAttributes, mediaSurfaceOf, mediaTimeFromPointer, mediaTimelineGeometry, mediaTransportVisible, mediaTrimEndAbsoluteMs, mediaTrimEndMsFromAbsoluteMs, mediaTrimEndMsFromSeconds, mediaTrimEndSeconds, mediaTrimRangeForDrag, mediaTrimResetPatch, mediaTrimResetState, mergeAdditiveSelection, mergeCaptionResults, mergeCoincidentHandles, mergeCustomization, mergeImageEffects, mergeOperationForCommand, mergePresentationSnapshot, mergeSegments, mergeText3d, mergeTextStyleOnStart, mergeViewerOptions, mixHex, mobileElapsedSince, mobileNextThumbSize, mobileSlideCounter, modalActiveElement, modalFocusableElements, morphGroupChildPairs, morphImageCropChanged, morphOffstageTextAdoptsTarget, morphOffstageTextSizeChange, morphOptionToMode, morphOverlayElementSlots, morphOverlayStackSlots, morphPairIncomingFadesIn, morphPairNeedsCrossfade, morphTextReplacedInSlot, motionPathEndFraction, motionPathEndPixel, motionPathFor, motionPathFractionPoints, motionPathNativeAnimations, motionPathToSvgD, moveAnimationTimelineRowBy, moveEditHandle, moveEditNode, moveGuide, movePresenterPointer, moveQuickAccessCommand, moveSelection, mruColorsPatch, msToFrameDelayCs, nearestCubicParam, nearestLineParam, needsMorphFlattening, needsOwnedSession, needsSvgArtisticFilter, nestedTextDecorationStyle, newEquationElement, newFieldElement, newShapeElement, newSmartArtElement, newTableElement, newTextElement, nextAutosaveDelayMs, nextPresentedSlide, nextShowSlideIndex, normalizeAccelDecel, normalizeFontFormat, normalizeNotesLinkUrl, normalizeOutlinePair, normalizeRegion, normalizeSegments, normalizeSubtitleSettings, normalizeWheelDelta, notesSegmentsToSpans, nudgeDelta, numberControl, observeElementHeight, observeExternalCollaborationReadiness, observeExternalCollaborationSession, observeViewportClientSize, officeColorSwatchLabel, oleActionsVisible, ooxmlDashToCssBorderStyle, openAutosaveDb, openBoundaryRuns, openCollaborationYSession, openEditPathAtNode, openExternalHyperlinkConfirmed, openFilePicker, openNativeEyeDropper, openOwnedCollaboration, openPendingPrintWindow, openPlacesLabels, openPptxFile, openPrintWindow, openReadingView, openSlidesPaneLayoutGallery, openUrlInNewTab, optionValueKey, optionsBlockSlot, optionsPaneSlot, optionsSettingIdOf, outerShadowStateOf, outerShadowStyle, outgoingSegmentIndex, outlineBounds, outlineRowKey, overlayInlineTextSnapshot, overlayMasterViewInlineSnapshot, overlayPointerInput, paintDefs, paintedElementSize, paletteColour, panCropImage, paragraphGroupText, paragraphHomeAction, paragraphHomeAlign, paragraphHomeControls, paragraphsToSegments, parseAdvanceAfterMs, parseAudienceNonce, parseBookmarkOptionValue, parseCropValue, parseDrawingColor, parseDrawingColorChoice, parseDrawingColorOpacity, parseEditPointsTarget, parseGradientCssStops, parseHexColor, parseHexToRgb, parseMediaCommand, parseOoxmlBezierCurve, parseOptionValueKey, parseOptionsSettingId, parsePathPoints, parsePolygonPoints, parsePresentationSessionId, parsePt, parseSegmentsFromRichEditor, parseShortcutChord, parseSvgPath, parseViewBox, partitionMasterViewElements, passesClicksThroughBox, pasteElementHasText, patchChartData, patchHeaderFooterDraft, pathCoordinates, pauseAllPersistentAudio, pendingElementStyles, pickColorByClickFallback, pictureAdjustTileSvg, pictureArtisticSections, pictureColorSections, pictureCorrectionsSections, pictureEffects, pictureSizeHomeControls, pieceLetterSpacing, placeAudienceWindow, placeCaretAt, placeCaretAtEnd, placeTileOnPage, placeholderPromptDescriptor, planFindReplace, planGifFrames, planMergeShapes, planPrintJob, playAnimationRibbonPreview, playFeedbackSound, playGroup, playSlideTransitionPreview, pointFromPointerEvent, pointsToSvgPathD, polygonRegionBounds, powerPointAccelDecelProgress, powerPointBaseline, powerPointDescent, pptxChartFormatKey, pptxChartFormatSource, pptxLoadErrorMessage, pptxOptionsLabels, prefersReducedMotion, prefetchDeckWebfonts, prepareDeckWebfonts, prepareElementForInsertion, prepareElementUpdateBatch, prepareElementsForPaste, presenceEntriesEqual, presenceListsEqual, presenceToCursors, presentToolbarBlackboardActive, presentToolbarCssVars, presentToolbarStyleAttr, presentationBaseName, presentationEntrySlideIndex, presentationInkPath, presentationSaveMimeType, presentationSnapshotsEqual, presentationViewItems, presenterConsoleAction, presenterConsoleCssVars, presenterConsoleStyleAttr, presenterConsoleViewState, presenterElapsed, presenterNextDisabled, presenterPaneAdvancesOnClick, presenterPrevDisabled, presenterTimerProgress, previewGalleryResult, previousShowSlideIndex, primaryMasterViewPart, printJobRasterFallback, probeAutosaveRecovery, probeMaxCanvasDimension, probeNativeImageSize, projectDrawingShapes, projectSmartArtViewBoxRect, promote, promptNameDialog, proportionalLineHeight, pruneExpiredAutosaveSnapshots, publishLiveGeometry, publishLiveInlineText, pushRecentColor, pushRecentShape, px2 as px, quadToCubicControls, queueThemeWrite, quickStyleShapeStyle, quickStyleSwatchCss, quickStyleSwatchStyleAttr, radarStylePatch, randomBarsBandDecl, rasterResultToPngBlob, rasterResultToPngDataUrl, rasterizeElement, rasterizeElementClampedToCanvas, rasterizeElementTiledToCanvas, rasterizeElementTiles, rasterizeElementToDataUrl, rasterizeForeignObjectSvg, rasterizeWindow, readBackstageRecentFile, readCropInsets, readEditPointsTarget, readEditableText, readEditorSegments, readElementParagraphs, readFontFileStyle, readInlineListNativeSnapshot, readInlineListSelection, readInlineListSnapshot, readListActivationSelection, readOnlyBannerState, readOnlyBannerVisible, readOnlyLocked, readOnlyRecommendation, readOnlySessionActions, readRecentShapes, readRibbonTransitionDraft, readSlideShowOption, readSoundFileAsDataUrl, readStoredViewerPrefs, readViewportMetrics, readingViewFitScale, reanchorEditFrame, rebaseOptions, rebuildDrawingShapesIfCleared, recentColorsGridView, recolorInheritedText, reconcileInlineListFormatting, reconcileInlineListSnapshot, recordProgressPercent, recordTableCellBold, redirectExitShapeByDirection, redirectMaskEffectByFilterSubtype, redistributeColumnWidth, reduceFindReplaceSession, reduceReadOnlySession, reduceViewerZoom, referenceBox, referenceFont, reflectionStateOf, reflectionStyle, reflowRibbon, reflowSmartArtData, reflowToDrawingShapes, refreshSilhouetteMorphFilters, refreshSmartArtPictureImage, regionArea, registerCollaborationTeardown, registerCrossSlideAudio, registerInlineListParagraphFormat, registerInlineListRunStyle, registerPersistentAudio, registerPptxWebControls, releasePptxRenderCaches, rememberSessionDeck, removeCommentFromList, removeCommentFromSlides, removeEmptyNode, removeGradientStopPatch, removeGuide, removeQuickAccessCommand, removedSlideMasterParts, renderSparklineSvg, renderedImageCorrections, reorder, reorderAnimationTimelineRows, replaceMasterViewElements, replacePixels, replyToCommentInList, reportInlineTextDraft, rerouteConnectorsForMovedElements, resamplePolygon, resetChartFormatTarget, resetGlyphEnvelopeMeasureCache, resetGlyphTraceCache, resetGoogleWebfontSessionCache, resetMetricTrackingCache, resetPresenterTimer, resizeSelection, resolve3DRenderingFlags, resolveAbuttingEdgeBleeds, resolveAccentHex, resolveActionType, resolveActiveRibbonAddIn, resolveActiveRibbonTab, resolveAllowExternalContent, resolveAnimationCss, resolveAnimationEnd, resolveAnimationStart, resolveAnimationWheelSpokeCount, resolveAudienceScreenPlacement, resolveAuthoredCustomShowId, resolveAuthoredSlideRange, resolveAutoAdvanceDelayMs, resolveAutoFitFontScale, resolveAutosaveActivation, resolveAutosaveFileKey, resolveAutosaveIntervalMs, resolveAutosaveIntervalSeconds, resolveBlockFont, resolveChartBuildMode, resolveChartFormatTarget, resolveChartRevealDescriptor, resolveChartThreeViewSpec, resolveCloudDocumentView, resolveCollaborationConfig, resolveCollaborationShellEditability, resolveCollaborationShellState, resolveColorAnimationTargets, resolveColorChangedImageSource, resolveConnectorEndpointUpdate, resolveCssProperties, resolveCssTextAlign, resolveCustomization, resolveDefaultPrintSettings, resolveDiagramBuildMode, resolveDiagramRevealDescriptor, resolveDirection, resolveDirection8, resolveDisplaySlideNumber, resolveDrawingShapeNodeId, resolveEastAsianBreakOptions, resolveEditPointsAvailability, resolveEffect, resolveEffectiveEndCondition, resolveEffectiveGoogleFonts, resolveEffectiveHiddenActions, resolveEffectiveStartCondition, resolveElementActionAffordance, resolveElementAriaAttributes, resolveElementHighlightClick, resolveElementOutline, resolveEmbeddedFontClearBytes, resolveExpiredAutosaveSnapshots, resolveExportBaseName, resolveExportCaptureDecision, resolveFieldDateText, resolveFilterEffect, resolveFilterPresetSubtype, resolveFontDownloadBase, resolveFontKerning, resolveFontRefIdx, resolveFontVariant, resolveForwardSlideWithZoomReturn, resolveGoogleWebfontHref, resolveGroupChildFill, resolveGroupDoubleClickTarget, resolveGroupPressTarget, resolveHighlightClickForElementId, resolveHistoryDepth, resolveHyperlinkTargetAttrs, resolveImageResolutionPpi, resolveImageResolutionScale, resolveInitialSlideIndex, resolveInlineEditAutoFitHeight, resolveInlineEditNormAutofitShrink, resolveInsertSlideLayout, resolveInsertedFieldText, resolveInspectorSections, resolveKeyboardCustomization, resolveLayoutFamily, resolveLineHeight, resolveMediaBookmarkTimesMs, resolveMediaTimeNodeElementIds, resolveMetricTracking, resolveMetricTrackingPx, resolveMorphCrossfadeGroups, resolveMorphGhostIds, resolveMorphOverlayArrivals, resolveMorphOverlayLayers, resolveMorphOverlayStack, resolveNotesLevelStyle, resolveNotesSchematicBodyFontSizePx, resolveNotesSegments, resolveOleEditorKind, resolveOleType, resolveOleVerbTarget, resolveOnlineVideoEmbed, resolveOptionRootClasses, resolveOrientation, resolvePalette, resolveParagraphAlign, resolveParagraphBaseline, resolveParagraphBaselineShift, resolveParagraphRtl, resolveParagraphSpacing, resolveParagraphStrutFontSize, resolvePresentationAction, resolvePresentationClick, resolveProfileInitial, resolveReadOnlyBadge, resolveReportedViewerMode, resolveRevealedChartData, resolveRevealedDrawingShapeNodeIds, resolveRevealedDrawingShapes, resolveRevealedSmartArtNodes, resolveRunEquation, resolveRunFont, resolveRunHyperlink, resolveRunRuby, resolveSchemeColor, resolveScreenTip, resolveSecondaryAxisId, resolveSelectionPaneRename, resolveShadeToTitleBackgroundImage, resolveShadeToTitleRect, resolveShapeGeometry, resolveShowBackward, resolveShowForward, resolveShowSlideIndexes, resolveSlideOutlineElements, resolveSlidePaneClick, resolveSlideSizeSelection, resolveSlideTitle, resolveSlideTransition, resolveSmartArt3DLayout, resolveSmartArtThreeViewSpec, resolveStageEdgeBleeds, resolveStatusBarSave, resolveStepBuildDescriptor, resolveStyleDiagonalBorders, resolveSummaryZoomNavigation, resolveSummaryZoomTileNavigationTarget, resolveTableStyleCell3D, resolveTableStyleEntry, resolveTemplateBackgroundRows, resolveTextAlignLast, resolveTextBodyColumns, resolveTextBodyRectPadding, resolveTextOutlineDashCss, resolveTextOverflowClip, resolveTextStyleAnimation, resolveTextStyleOnCleanup, resolveTitleBarStatusKey, resolveTitleBarStrip, resolveTrackedTextWidth, resolveTransitionDurationMs, resolveTransitionSoundAction, resolveTransportForServerUrl, resolveUnderlineDecorationStyle, resolveUnderlineLineDecoration, resolveUnlistedChartFormatTarget, resolveVertOverflowEllipsisStyle, resolveVerticalAnchorJustifyContent, resolveViewerAddinRows, resolveViewerAddinStatus, resolveViewerRootOptions, resolveViewportFitOptions, resolveVisibleRibbonTabs, resolveWarpRunPaint, resolveWheelSpokeCount, resolveZoomExcursionEndIndex, resolveZoomNavigationTarget, restoreCrossedTheme, restoreEditorKeyboardFocus, restoreFilteredSeries, restoreInlineListBodySelection, restoreParagraphMetadata, restoreSegmentSelection, restoreSessionDeck, restoreUnlockedOptions, resumeAllPersistentAudio, revealComment, revealedElementStyles, revealedSmartArtNodeCount, revealedStageCount, rgbToHex, rgbToHsl, rgbaToHex, ribbonAddInControlId, ribbonAddInGroupViews, ribbonControlAttrs, ribbonCustomizationCss, ribbonGroupAttrs, ribbonGroupOfControl, ribbonGroupViews, ribbonTransitionStockSoundUrl, ribbonTransitionTargets, ribbonTransitionUpdates, ribbonTransitionsDraftPatch, ribbonTransitionsSoundChange, roundedRectOutline, routeEditLayerPointerToNodes, rowHandleSegments, rowIndexAtOffset, rulerDragToGuidePosition, runEditPointsCommand, runEquationMathMl, runMediaCommand, runPresentationAction, runProgramNoticeStackStyle, runProgramNoticeStackStyleAttr, runReadOnlyPasswordCheck, runReviewCommentCommand, runRibbonAddInCommand, safeColor, sameArray, sameHex, sameRegionContext2 as sameRegionContext, sameRenderer2 as sameRenderer, sampleColorFromSlide, sampleImageCropMorphSteps, sampleWarpPresetCurve, sampleWarpPresetXExtent, sanitizeAvatarUrl, sanitizeColor, sanitizeCssDeclaration, sanitizeDownloadFilename, sanitizeMathMl, sanitizeOrientation, sanitizePixelDimension, sanitizePresence, sanitizeSlideIndex, sanitizeUserName, saveAutosaveSnapshot, saveDeckWithPassword, saveElementAsPicture, saveFailureMessage, saveProgressStatus, saveViewerProfile, savedPresentationFileName, savedPresentationRevision, scaleFontSizeForAutoFit, scanAvailableFontFamilies, scheduleAutoAdvanceChain, scheduleMediaTrimAndFade, scopeSvgIds, scrollInspectorSectionIntoView, sectionAddAfterSlideIndex, sectionContextMenuLabelKey, secureRandomToken, secureRandomUuid, seedBroadcastFields, seedHyperlinkDraft, seedPlainInlineText, seedRecentColors, seedShareFields, seedShareSessionFields, segmentStyleToCss, segmentsToEditorHtml, segmentsToParagraphs, segmentsToPlainText, select, selectGoogleWebfontCandidates, selectSorterSlide, selectTrustedEmbeddedFonts, selectedBookmarkOptionValue, selectedParagraphBulletKind, selectionBounds, selectionBulletKind, serializeElementClipboard, serializeShapeAdjustments, serializeSvgPath, seriesColorClearState, seriesSecondaryAxisPatch, setCachedResult, setDataLabelsRangeCache, setDuotoneCachedResult, setEditNodeType, setEditSegmentKind, setEffectSound, setEffectStockSound, setMasterViewBackgroundColor, setMotionPath, setMotionPathEnd, setPendingCaretPoint, setPendingSelectionRestore, setSelectionBullets, setTriggerBookmark, settleBaselines, settleThemeWrites, shapeGalleryItem, shapeGalleryItemForValue, shapeGallerySections, shapeQuickStyleLabel, shapeQuickStylePatch, shapeStyleWithoutFormatting, shapeThumbnailPath, shapeTileSvg, sheetAfterNavigate, shortestRotationTarget, shouldAutoFollowBroadcaster, shouldAutoHide, shouldClearAutosaveCacheOnClose, shouldCommitSmartArtNodeText, shouldConfirmExternalHyperlink, shouldDiscardAutosaveOnSuccessfulSave, shouldGeometryMorph, shouldLoopContinuously, shouldOpenInProtectedView, shouldProbeAutosaveRecovery, shouldRenderHitTarget, shouldSeekAnimationGroup, shouldShowAccessibilitySection, shouldShowAutosaveRecoveryPrompt, shouldShowElementHandles, shouldShowMediaFullscreenStopButton, shouldStickyActionRow, shouldUseSvgWarp, shouldWriteAutosaveSnapshot, siblingCount, siblingIndex, signedLoopArea, signedPercent, simplifyFreeformVertices, simplifyLoop, slideAnimatedElementIds, slideBackgroundClearPatch, slideBackgroundClearState, slideClipboardLabels, slidePaneContextMenuLabelKey, slidePaneViewItems, slideProgressPercent, slideShowOptionChange, slideSizeFromCanvasPx, slideSizeFromPreset, slideSizeOrientation, slideSizeToCanvasPx, slideSorterContextMenuLabel, slideSorterPasteIndexes, slideStatusLabel, slideThumbnailLayout, slideThumbnailTransitionBadge, slideThumbnailTransitionBadgeStyle, slidesHomeControls, slidesPaneRehearsalTimings, smartArtCategoryDescriptionKey, smartArtCategoryLabelKey, smartArtConnectorPaint, smartArtLayoutLabel, smartArtLayoutSwitchPatch, smartArtNodeAriaLabel, smartArtNodeAtPoint, smartArtNodeLabel, smartArtPresetLabelKey, smartArtTextPaneLabels, smartArtTextPaneView, smartArtThreeViewSpec, snapBoxToGrid, snapMoveToSpanGuides, softEdgeStateOf, solveShapeAdjustmentValue, solveShapeAdjustments, sortEntranceAnimations, sorterGridColumns, sorterMenuContext, sorterPasteInsertAt, sorterSelectionIndexes, spaceBeforeCaretRange, splitCubic, splitEastAsianBreaks, splitEastAsianRunPieces, splitRegionComponents, splitRunByScriptFont, splitRunForMetrics, splitStyledRun, splitWordsForUnderline, splitsUnderlineIntoWords, stageKeepsElementIds, startCropSession, startMediaAutoplay, startRotationFrame, statusBarState, statusBarViewMode, stepPresenterZoom, stitchContinuousGradientFill, stopAllPersistentAudio, storeAudienceContent, storePresentationDeck, stripEditLayerMarkers, stripElementIdMarkers, stripUnderlineDecoration, strokeToInkElement, styleShadowFilter, substituteFieldText, subtitleLanguageLabel, subtitleRecognitionLanguage, subtitleSettingsFromOptions, subtitleSettingsLabels, supportsAltTextField, supportsCssLinearEasing, supportsTitleField, surfaceVertexWorldPosition, surfaceWireframePatch, svgArcToCubics, svgId, svgTile, svgToDataUrl, swapPresentationWindows, switchSmartArtLayoutData, syncGoogleWebfontStylesheet, tabRowActionsAttributes, tableCellCss, tableCellFillColorCommitPatch, tableCellPointerIntent, tableCellTextColorCommitPatch, tableContainerCss, tableFrameCss, tableInspectorPatch, tableInspectorStateOf, tableLayoutCells, takePendingCaretPoint, templateSchemeFromTheme, text3dEmuToPt, text3dFieldsPatch, text3dInheritsFromTemplate, text3dPtToEmu, text3dStylePatch, textAdvancedPatch, textAdvancedStateFromStyle, textAdvancedStateOf, textBuildSpanStyle, textControl, textDirectionPatch, textRectCentreX, textRunColor, textWarpStyle, textWrapOf, textWrapPatch, themeColorGridCommit, themeColorGridView, themePartWrites, themeShapeStyleXml, threeViewStateOf, tileRectToSourceRect, tileSpecFromShapeStyle, timingCurveToCss, titleBarCssVars, titleBarStyleAttr, titleBarTone, toCssTextOrientation, toCssVerticalDirection, toCssWritingMode, toElementAxes, toGestureTransform, toSlideIndex, toggle, toggleBlackboard, toggleCommentResolvedInList, toggleInList, togglePresenterTimer, toggleSelectionBullets, toggleSheet, toggleStageElementMedia, toggleText3dExtrusion, toggleText3dExtrusionPatch, tokenizeText, toleranceToThreshold, traceGlyphOutlineCommands, trackActiveComment, transformConnectionSite, transformInlineListCase, transitionSoundOptions, transitionSoundSelectedValue, transitionStockSoundId, transitionTemplateElements, transitionsLabel, translateChartFormatText2 as translateChartFormatText, translateMotionPath, travelledBox, trimCommentMentions, trimmedMediaDurationMs, updateGlowPatch, updateGradientStopPatch, updateInnerShadowPatch, updateMasterViewElement, updateOuterShadowPatch, updateReflectionPatch, updateSubtitleSettings, updateTagInCollections, updateViewerPreference, vAlignPatch, validateMediaTrimRange, validatePasswordPair, validateRoomId, viewLabel, viewPropertiesPatchFromPreferences, viewerOptionsToPreferences, viewerPreferencesFromViewProperties, viewerZoomPercent, visibleContextualTabs, visibleRibbonAddIns, warpFitCapacity, warpFitScale, warpParagraphLayouts, warpPreviewPath, wasWrittenByThisPage, wheelDecl, wireMediaBookmarkSteps, wireMediaEndedSteps, withChartUserShapeGroupChildAdded, withChartUserShapeRowChartBoxUpdated, withChartUserShapeRowFlipUpdated, withChartUserShapeRowRemoved, withChartUserShapeRowRotationUpdated, withChartUserShapeRowTextUpdated, withChartUserShapeRowUpdated, withConnectorEndpointUpdate, withHistoryMasterThemes, withHistoryTheme, withHomeGalleries, withInlineListDecorationDefaults, withNodeAtPath, withRecordEntry, withSaveFailureToast, withSaveProgress, withSlideSizeOrientation, wrapEnvelopeParagraph, wrapForeignObjectSvg, wrapNotesText, writeBackReport, writeElementParagraphs, writeStoredViewerPrefs, writeThemeParts, zeroDelayCssAnimation, zoomInPercent, zoomInScale, zoomOutPercent, zoomOutScale };
97819
+ export { ABUTTING_EDGE_BLEED_PX, ACCESSIBILITY_TAB, ACTION_AFFORDANCE_CSS, ACTION_BUTTON_DEFAULT_ACTIONS, ACTION_BUTTON_PRESETS, ACTION_INDICATOR_CLASS, ACTION_INDICATOR_ICON_PATH, ADD_INS_TAB, ADVANCED_TAB, AI_OPTIONS_CATEGORY, ALIGN_OPTIONS, ALL_CLASSIFIED_PRESETS, ANGLE_UNITS_PER_RADIAN, ANGLE_UNITS_PER_TURN, ANIMATION_COLOR_BASE_PROPERTIES, ANIMATION_KEYFRAMES_CSS, ARTISTIC_EFFECTS, AUDIENCE_FULLSCREEN_BOUNCE_MS, AUDIENCE_HASH, AUTOFIT_MIN_SHAPE_HEIGHT_PX, AUTOFIT_MODE_OPTIONS, AUTOSAVE_DB_NAME, AUTOSAVE_DB_VERSION, AUTOSAVE_DEFAULT_INTERVAL_MS, AUTOSAVE_DEFAULT_INTERVAL_SECONDS, AUTOSAVE_MIN_INTERVAL_SECONDS, AUTOSAVE_RECOVERY_WINDOW_MS, AUTOSAVE_STORE_NAME, AUTO_HIDE_DELAY_MS, AVATAR_COLOR_SWATCHES, AnimationSequencer, BACKSTAGE_BACK_CLASSES, BACKSTAGE_CARDS, BACKSTAGE_CARD_IDS, BACKSTAGE_NAV, BACKSTAGE_NAV_CLASSES, BACKSTAGE_PAGE_CARDS, BACKSTAGE_PAGE_IDS, BACKSTAGE_SEARCH_CLASSES, BACKSTAGE_TEMPLATES, BAR3D_SHAPE_OPTIONS, BARN_FILTER_TOKEN_TO_SUBTYPE, BASELINE_FONT_SCALE, BASELINE_PENDING_VAR, BEVEL_PRESETS, BI_LEVEL_THRESHOLDS, BOTTOM_TRIGGER_FRACTION, BRIGHTNESS_CONTRAST_STEPS, BROADCAST_THROTTLE_MS, BUILDING_BLOCK_GROUP_IDS, BUILDING_BLOCK_OK, BUILDING_BLOCK_REQUEST_ACTIONS, BUILDING_BLOCK_UNMOUNTED_DIALOG_ACTIONS, BUILDING_BLOCK_VIEWABLE_REQUESTS, CANVAS_CONTEXT_MENU_COMMAND_IDS, CANVAS_DIMENSION_CANDIDATES, CATEGORIES, CHART_3D_TYPES, CHART_AXIS_TYPE_LABEL_KEYS, CHART_DATA_LABEL_POSITION_LABEL_KEYS, CHART_ERROR_BAR_DIRECTION_LABEL_KEYS, CHART_ERROR_BAR_VALTYPE_LABEL_KEYS, CHART_GRIDLINE_DASH_LABEL_KEYS, CHART_GROUPING_LABEL_KEYS, CHART_MARKER_SYMBOL_LABEL_KEYS, CHART_QUICK_ACTION_BUTTON_SIZE, CHART_SELECTION_ELEMENTS, CHART_SELECTION_FAMILY, CHART_SELECTION_FORMAT, CHART_SELECTION_RESET, CHART_TRENDLINE_LABEL_KEYS, CHART_TYPE_LABEL_KEYS, CHART_TYPE_OPTIONS, CINEMATIC_TRANSITION_KEYFRAMES, CLOSED_READING_VIEW, CLOUD_OPEN_ACCEPT, COLLABORATION_OFF, COLLAB_LEAVE_MESSAGE, COMBO_SERIES_TYPE_OPTIONS, COMBO_SUPPORTED_TYPES, COMMAND_SEARCH_ENTRIES, COMMENT_ACTIVE_ATTR, COMMENT_ID_ATTR, COMMENT_MARKER_COLOR, COMMENT_MARKER_SIZE, COMMENT_MENTION_ATTRIBUTE, COMMENT_MENTION_CLASS, COMPAT_TOAST_METRICS, COMPAT_TOAST_VISIBLE_LIMIT, COMPOUND_LINE_OPTIONS, CONNECTION_TIMEOUT_MS, CONNECTOR_ARROW_CONTROLS, CONNECTOR_ARROW_SIZE_VALUES, CONNECTOR_ARROW_VALUES, CONNECTOR_HIT_MIN_WIDTH, CONNECTOR_SITE_SNAP_PX, CONTEXTUAL_TAB_GROUPS, CONTEXT_MENU_EDITOR_LAYER, CONTEXT_MENU_PRESENTATION_LAYER, CROP_ASPECT_GROUP_LABEL_KEYS, CROP_ASPECT_LABEL_KEY, CROP_ASPECT_PRESETS, CROP_FILL_LABEL_KEY, CROP_FIT_LABEL_KEY, CROP_GHOST_OPACITY, CROP_HANDLE_ARIA_KEY, CROP_HANDLE_LENGTH_PX, CROP_HANDLE_THICKNESS_PX, CROP_LABEL_KEY, CROP_MODE_HINT_KEY, CURSOR_PALETTE, CUSTOM_PROPERTY_TYPES, DATA_LABEL_CONTENT_OPTIONS, DATA_LABEL_POSITION_OPTIONS, DEBOUNCE_MS, DECK_WEBFONT_FOLLOW_MS, DECK_WEBFONT_PROGRESS_DELAY_MS, DECK_WEBFONT_TIMEOUT_MS, DEFAULT_ANIMATION_TIMING_CURVE, DEFAULT_BOUNDS, DEFAULT_BROADCAST_SERVER_URL, DEFAULT_BUILD_LEVEL, DEFAULT_CHART_GLOW, DEFAULT_CHART_SHADOW, DEFAULT_COLOR_CHANGE_TOLERANCE, DEFAULT_CURSOR_COLOR, DEFAULT_DENSE_BUTTON_PX, DEFAULT_FIND_REPLACE_OPTIONS, DEFAULT_INSERT_CHART_KIND, DEFAULT_INSERT_CHART_TYPE, DEFAULT_LINE_HEIGHT, DEFAULT_LIST_CONVERSION_SCOPE, DEFAULT_MORPH_DURATION_MS, DEFAULT_MOTION_PATH_DURATION_MS, DEFAULT_NOTES_FONT_SIZE_PT, DEFAULT_OWNED_USER_NAME, DEFAULT_PALETTE, DEFAULT_POINTER_PRESSURE, DEFAULT_PREVIEW_ELEMENT_CAP, DEFAULT_QUICK_ACCESS_COMMAND_IDS, DEFAULT_RIBBON_DISPLAY_MODE, DEFAULT_RIBBON_TRANSITION_DURATION_SEC, DEFAULT_ROUND_RECT_ADJUSTMENT, DEFAULT_ROW_HEIGHT, DEFAULT_SCHEME_COLOR_MAP, DEFAULT_SLIDE_BACKGROUND, DEFAULT_TAG_COLLECTION_PATH, DEFAULT_TRANSITION_DURATION_MS, DEFAULT_VIEWER_OPTIONS, DEFAULT_VIEWER_PREFERENCES, DEFAULT_VIEWER_PROFILE, DEFAULT_VIEWER_SETTINGS, DEFAULT_VIEWER_ZOOM_STATE, DEFAULT_VIRTUAL_OVERSCAN, DESIGN_RIBBON_COMMANDS, DESIGN_RIBBON_GROUPS, DIALOG_ENTRY_POINTS, DISPLAY_UNITS_OPTIONS, DISTRIBUTED_TEXT_JUSTIFY, DRAWING_TOOL_IDS, DRAW_RIBBON_TOOLS, DRAW_WIDTH_PRESETS, DUOTONE_PRESETS, EASE, EDITABLE_APP_PROPERTY_KEYS, EDITABLE_AXIS_ROWS, EDITABLE_CORE_PROPERTY_KEYS, EDITOR_CHROME_CSS, EDITOR_SHORTCUT_ACTION_IDS, EDITOR_SHORTCUT_DESCRIPTIONS, EDITOR_SLIDE_RAIL_WIDTH, EDITOR_THUMBNAIL_GAP, EDITOR_THUMBNAIL_NUMBER_HEIGHT, EDITOR_THUMBNAIL_ROW_CHROME, EDITOR_THUMBNAIL_WIDTH, EDITOR_VIEWPORT_FIT, EDIT_LAYER_MARKER_ATTRS, EDIT_POINTS_COMMAND_IDS, EDIT_POINTS_DRAG_THRESHOLD_PX, EDIT_POINTS_MENU_COMMAND_IDS, EDIT_POINTS_PATH_SCALE, EDIT_POINTS_STYLE, EDIT_POINTS_TARGET_ATTR, EDIT_POINT_COINCIDENT_EPSILON, EFFECT_SOUND_CATALOGUE, ELEMENT_ACTION_TYPE_OPTIONS, ELEMENT_CLIPBOARD_MARKER, ELEMENT_CLIPBOARD_MIME_TYPE, ELEMENT_CLIPBOARD_VERSION, ELEMENT_CONTEXT_MENU_COMMAND_IDS, ELEMENT_GEOMETRY_SECTION, ELEMENT_GEOMETRY_SECTIONS, EMPH_FILTER_PRESETS, EMPTY_RESOLVED_CUSTOMIZATION, EMPTY_RIBBON_TRANSITION_DRAFT, EQUATION_FONT_FAMILY, EQUATION_TEMPLATES, ERASER_HIT_RADIUS, ERROR_BAR_SUPPORTED_TYPES, ERROR_BAR_TYPE_OPTIONS, ERROR_BAR_VALTYPE_OPTIONS, ERROR_BAR_VALUE_TYPES, EXCLUDED_STYLE_PROPERTIES, EXPANDED_MAX_HEIGHT, EXPLOSION_SUPPORTED_TYPES, EXPORT_ASSEMBLING_PERCENT, EXPORT_DONE_PERCENT, EXTERNAL_CONTENT_SETTING_ID, EditGeometryPen, EditPointsSession, FEATURE_ENTRY_POINTS, FILL_MODE_OPTIONS, FILL_PATTERN_LABEL_KEYS, FIND_MATCH_ATTRIBUTE, FIXED_SPACING_RUN_LINE_HEIGHT, FIXED_TAB_GALLERIES, FLY_SUBTYPE_TO_EDGE, FONT_DOWNLOAD_SETTING_ID, FONT_EMBEDDING_UNAVAILABLE_KEY, FOREIGN_OBJECT_SVG_DATA_URL_PREFIX, FRAGMENT_TRANSITION_KEYFRAMES, FREEFORM_CLOSE_TOLERANCE_FACTOR, FREEFORM_CLOSE_TOLERANCE_MIN_PX, FREEFORM_COORD_SCALE, FREEFORM_FREEHAND_TOLERANCE_PX, FREEFORM_MIN_POINTS, FREEFORM_TOOL_IDS, FREEFORM_TOOL_LABEL_KEYS, FREEFORM_TOOL_STYLE, ForeignObjectRasterError, FreeformToolSession, GATED_VIEWER_EDIT_METHODS, GENERAL_TAB, GENERIC_FALLBACK_FILTER_FAMILIES, GEOMETRY_MORPH_STEPS, GIF_POST_CAPTURE_MAX_SIDE, GLYPH_ENVELOPE_PRESETS, GRADIENT_TYPE_OPTIONS, GRIDLINE_DASH_OPTIONS, GROUPED_INSERT_CHART_KINDS, GROUPING_OPTIONS, GROUPING_SUPPORTED_TYPES, GlyphOutlineFontCache, HELP_RIBBON_COMMANDS, HIDDEN_SLIDE_ATTRIBUTE, HIDDEN_SLIDE_DIM_OPACITY, HIDDEN_SLIDE_LABEL_KEY, HIDDEN_SLIDE_SLASH_GRADIENT, HIGHLIGHTER_COLORS, HIGHLIGHT_CLEAR_STYLE, HIGHLIGHT_CLICK_FLASH_DURATION_MS, HIGHLIGHT_CLICK_STYLE, HIGHLIGHT_HOVER_STYLE, HOLLOW_HIT_MIN_WIDTH, HOME_CHANGE_CASE_ITEMS, HOME_CHARACTER_SPACING_ITEMS, HOME_COLOUR_KEYS, HOME_COLUMN_ITEMS, HOME_CROP_ITEMS, HOME_DRAWING_ARRANGE_ITEMS, HOME_FONT_SIZE_ITEMS, HOME_HIGHLIGHT_PRESETS, HOME_LAUNCHER_GROUPS, HOME_LINE_SPACING_ITEMS, HOME_MERGE_ITEMS, HOME_SELECT_ITEMS, HOME_SHAPE_ITEMS, HOME_TEXT_DIRECTION_ITEMS, HOST_IMAGE_MAX_BYTES, HOST_MEDIA_MAX_BYTES, HYPERLINK_ACTION_VERB_MAP, HYPERLINK_ACTION_VERB_TO_PPACTION, INDENT_PX, INITIAL_FIND_REPLACE_SESSION, INITIAL_READ_ONLY_SESSION, INITIAL_SYNC_GRACE_MS, INLINE_GALLERY_TILE_COUNT, INSERT_CHART_GROUPINGS, INSERT_CHART_TYPES, INSERT_COMMANDS, INSERT_FIELDS, INSERT_GROUPS, INSERT_GROUP_CAPTIONS, INSERT_GROUP_SCALING, INSERT_TABLE_MAX, INSPECTOR_CARD_IDS, INSPECTOR_GALLERIES, INSPECTOR_PANEL_DEFAULT_WIDTH, INSPECTOR_RESET_ACTION_KEYS, INSPECTOR_SECTION_ATTRIBUTE, INSTANT, KEYBOARD_OPEN_THRESHOLD, LANGUAGE_TAB, LAYOUT_FAMILY_MAP, LBL, LEGEND_POSITION_OPTIONS, LINE_CAP_OPTIONS, LINE_JOIN_OPTIONS, LINE_PITCH_EM, LINK_TOOLTIP_CLASS, LINK_TOOLTIP_HINT_CLASS, LINK_TOOLTIP_HOST_CLASS, LINK_TOOLTIP_LABEL_CLASS, LINK_TOOLTIP_PANEL_CLASS, LIVE_PATCH_THROTTLE_MS, LOAD_LIMIT_MESSAGE_KEYS, LONG_PRESS_DURATION_MS, LONG_PRESS_MOVE_TOLERANCE_PX, MARKER_SUPPORTED_TYPES, MARKER_SYMBOL_OPTIONS, MATERIAL_PRESETS, MAX_COLOR_DISTANCE, MAX_ENVELOPE_GLYPH_SLICES, MAX_HEIGHT, MAX_INDENT_LEVEL, MAX_LABEL_CHARS, MAX_PARAGRAPH_LEVEL, MAX_ZOOM_SCALE, MEDIA_AUDIO_SIZE, MEDIA_CHROME_ATTRIBUTE, MEDIA_FALLBACK_ICONS, MEDIA_FULLSCREEN_OVERLAY_STYLE, MEDIA_VIDEO_MAX_SIZE, MERGE_CURVE_SEGMENTS, MERGE_SHAPES_HINT_KEY, MERGE_SHAPES_LABEL_KEY, MERGE_SHAPES_MENU_ITEMS, MERGE_SHAPE_OPERATIONS, MIN_COLUMN_PROPORTION, MIN_COLUMN_WIDTH_FRACTION, MIN_CROP_FRAME_PX, MIN_ELEMENT_SIZE4 as MIN_ELEMENT_SIZE, MIN_OPEN_PASSWORD_LENGTH, MIN_ROW_HEIGHT, MIN_TOUCH_TARGET_PX, MIN_ZOOM_SCALE, MOBILE_BREAKPOINT, MOBILE_LANDSCAPE_MAX_HEIGHT, MOBILE_NEXT_THUMB_WIDTH, MODAL_FOCUSABLE_SELECTOR, MORPH_CROSSFADE_EASING, MORPH_CROSSFADE_GROUP_CSS_TEXT, MORPH_CROSSFADE_GROUP_STYLE, MORPH_CROSSFADE_HALF_BLEND_MODE, MORPH_CROSSFADE_HALF_CSS_TEXT, MORPH_CROSSFADE_HALF_STYLE, MORPH_EASING, MORPH_EASING_POINTS, MORPH_FADE_IN_EASING, MORPH_FADE_IN_START_PERCENT, MORPH_FADE_IN_START_PROGRESS, MORPH_FADE_OUT_EASING, MORPH_FADE_OUT_END_PERCENT, MORPH_FADE_OUT_END_PROGRESS, MORPH_FADE_OUT_HOLD_PERCENT, NEUTRAL_SATURATION_PERCENT, NEUTRAL_TEMPERATURE_K, NOMINAL_ENVELOPE_BAND, NORM_AUTOFIT_STEPS, NOTES_BORDER_WIDTH, NOTES_CONTINUATION_HEADER_SIZE, NOTES_FONT_SIZE, NOTES_FONT_SIZE_DEFAULT, NOTES_FONT_SIZE_MAX, NOTES_FONT_SIZE_MIN, NOTES_FONT_SIZE_STEP, NOTES_GAP, NOTES_LINE_HEIGHT, NOTES_MARGIN, NOTES_PAGE_H, NOTES_PAGE_W, NOTES_SLIDE_FRACTION, NOTES_TOOLBAR_DEFAULT_STATE, NO_ADVANCE_AFTER_TEXT, NUDGE_LARGE, NUDGE_SMALL, NUDGE_STEP, NUDGE_STEP_LARGE, NUM, OFFICE_COLOR_SWATCHES, OFFICE_COLOR_SWATCH_HEXES, ONLINE_VIDEO_IFRAME_ALLOW, ONLINE_VIDEO_IFRAME_SANDBOX, OPTIONS_PAGE_IDS, OPTIONS_SECTION_IDS, OPTIONS_SETTING_IDS, OUTLINE_LEVEL_ATTR, OUTLINE_ROW_ATTR, OUTLINE_SAMPLE_COUNT, OUTLINE_SLIDE_ATTR, OUTLINE_TITLE_ELEMENT_NAME, OUTLINE_VIEW_ATTR, P14_TRANSITION_KEYFRAMES, P14_TRANSITION_KEYFRAMES_2, P14_TRANSITION_KEYFRAMES_ALL, PALETTES, PANEL_ENTRY_POINTS, PASTE_OFFSET_PX, PASTE_SPECIAL_OPTIONS, PATTERN_OPTIONS, PATTERN_PRESET_OPTIONS, PDF_SLIDES_PAGE_HEIGHT_PT, PDF_SLIDES_PAGE_WIDTH_PT, PEN_COLORS, PICTURE_ADJUST_TILE, PICTURE_ARTISTIC_EFFECTS_GALLERY, PICTURE_ARTISTIC_EFFECT_NAMES, PICTURE_COLOR_GALLERY, PICTURE_CORRECTIONS_GALLERY, PIXELATE_FILTER_VALUES, PIXELATE_IN_KEYFRAMES, PIXELATE_LEVELS, PIXELATE_OUT_KEYFRAMES, PNG_COLOR_TYPE_RGBA, PNG_SIGNATURE, POWERPOINT_BROADCAST_PREFIX, PPTX_OPEN_ACCEPT, PRESENCE_HEARTBEAT_MS, PRESENTATION_ANIM_TRIGGER_ATTRIBUTE, PRESENTATION_CHANNEL_NAME, PRESENTATION_HASH, PRESENTATION_HIT_TEST_CSS, PRESENTATION_INERT_CLICK_SELECTOR, PRESENTATION_MESSAGE_ORIGIN, PRESENTATION_NONCE_KEY, PRESENTATION_OPEN_EXTENSIONS, PRESENTATION_STAGE_ATTRIBUTE, PRESENTER_CONSOLE_CLASSES, PRESENTER_CONSOLE_CONTROLS, PRESENTER_CONSOLE_LABEL_KEYS, PRESENTER_CONSOLE_ORDER, PRESENTER_LAYOUT_METRICS, PRESENTER_NAVIGATOR_LABEL_KEYS, PRESENTER_RAIL_CONTROLS, PRESENTER_RAIL_LABEL_KEYS, PRESENTER_TIMER_SEGMENT_MS, PRESENTER_ZOOM_MAX, PRESENTER_ZOOM_MIN, PRESENTER_ZOOM_STEP, PRESENT_ANNOTATION_OVER_BLACKOUT_Z, PRESENT_ANNOTATION_Z, PRESENT_BLACKOUT_Z, PRESENT_TOOLBAR_CLASSES, PRESENT_TOOLBAR_CONTROLS, PRESENT_TOOLBAR_LABEL_KEYS, PRESENT_TOOLBAR_METRICS, PRESENT_TOOLBAR_ORDER, PRESETS, PRESET_ID_TO_EFFECT, PROOFING_TAB, PROXIMITY_SIZE_RATIO_LIMIT, PROXIMITY_THRESHOLD, PX_PER_CM, PX_PER_INCH, PX_TO_PT, PresentationAnimationController, QUICK_ACCESS_COMMAND_CATALOG, QUICK_ACCESS_TAB, RADAR_STYLE_OPTIONS, RANDOM_ELIGIBLE_TYPES, RASTER_STRATEGY_FALLBACK_WARNING, READING_VIEW_ATTR, READING_VIEW_COUNTER_ATTR, READING_VIEW_STAGE_ATTR, READ_ONLY_BADGE_ATTR, RECENT_COLOR_LIMIT, RECENT_SHAPES_HEADING_KEY, RECENT_SHAPES_KEY, RECENT_SHAPES_MAX, RECOLOR_ACCENTS, RECORD_COMMAND_GROUPS, REVIEW_COMMENT_COMMAND_IDS, RGBA_BYTES_PER_PIXEL, RIBBON_ADD_IN_TAB_ATTR, RIBBON_AUTO_COLLAPSE_MEDIA, RIBBON_CONTEXTUAL_TABS, RIBBON_CONTEXTUAL_TAB_ATTR, RIBBON_CONTROL_ALIASES, RIBBON_CONTROL_ATTR, RIBBON_CONTROL_CATALOG, RIBBON_CONTROL_ICONS, RIBBON_CONTROL_IDS, RIBBON_DISPLAY_MODES, RIBBON_DISPLAY_OPTIONS_LABEL_KEY, RIBBON_DISPLAY_REVEAL_LABEL_KEY, RIBBON_GALLERY_ATTR, RIBBON_GALLERY_IDS, RIBBON_GALLERY_ITEM_ATTR, RIBBON_GALLERY_POPUP_ATTR, RIBBON_GROUPS, RIBBON_GROUP_ATTR, RIBBON_GROUP_IDS, RIBBON_HOME_FAMILIES, RIBBON_HOME_INDENT_STEP, RIBBON_MENU_COMMAND_IDS, RIBBON_RESERVED_TAB_IDS, RIBBON_SCOPE_ATTR, RIBBON_TAB, RIBBON_TAB_IDS, RIBBON_TRANSITION_PRESETS, RULER_FONT_SIZE, RULER_THICKNESS, RUN_HYPERLINK_ATTR, RUN_PROGRAM_NOTICE_METRICS, SATURATION_PERCENTS, SAVE_FAILED_TOAST, SAVE_FAILED_TOAST_CODE, SAVE_PROGRESS_TEXT_KEYS, SAVE_TAB, SCREEN_TIP_CHOICES, SECTION_HEADING, SEL, SELECTION_CONTROL_CSS_VARS, SEPIA_DUOTONE, SETTING_TOGGLES, SEVERITY_GROUPS, SEVERITY_LABELS, SEVERITY_LABEL_KEYS, SHAPE_ADJUSTMENT_MAX, SHAPE_ADJUSTMENT_MIN, SHAPE_BEVEL_OPTIONS, SHAPE_EFFECT_SECTIONS, SHAPE_GALLERY_ITEMS, SHAPE_LINE_SECTION, SHAPE_LINE_SECTIONS, SHAPE_PRESET_DEFS, SHAPE_PRESET_ROWS, SHAPE_PRESET_STYLE_ROWS, SHAPE_QUICK_STYLES, SHAPE_STYLE_COLUMNS, SHAPE_THEME_STYLE_ROWS, SHAPE_THUMB_VIEW_BOX, SHARPEN_SOFTEN_PERCENTS, SHORTCUT_REFERENCE_ITEMS, SLIDE_RAIL_FOOTER_ACTIONS, SLIDE_SHOW_COMMAND_GROUPS, SLIDE_SHOW_OPTIONS, SLIDE_SIZE_PRESETS, SLIDE_SORTER_MENU_LABEL_KEYS, SLIDE_TEMPLATES, SLIDE_TEMPLATES_ENTRY_ID, SLIDE_TEMPLATES_ENTRY_KEY, SLIDE_TEMPLATE_IDS, SLIDE_THUMBNAIL_TRANSITION_TOOLTIP_KEY, SLIDE_TRANSITION_KEYFRAMES, SLIDE_TRANSITION_KEYFRAMES_CSS, SLIDE_TRANSITION_LABEL_KEYS, SLIDE_TRANSITION_OPTIONS, SLIDE_VIRTUALIZATION_THRESHOLD, SMARTART_3D_EDIT_LAYER_ATTRIBUTE, SMARTART_CONNECTOR_OPACITY, SMARTART_CONNECTOR_STROKE, SMARTART_CONNECTOR_WIDTH, SMARTART_LABEL_COLOR, SMARTART_PREVIEW_ELEMENT_HEIGHT, SMARTART_PREVIEW_ELEMENT_WIDTH, SMARTART_PREVIEW_FALLBACK_ITEMS, SORTER_MAX_ZOOM, SORTER_MIN_ZOOM, SORTER_ZOOM_STEP, SPLIT_SUBTYPE_TO_VARIANT, STALE_PRESENCE_MS, STATUS_BAR_CLASSES, STATUS_BAR_METRICS, STROKE_DASH_OPTIONS, SUBTITLE_LANGUAGES, SURFACE_WIREFRAME_OPTIONS, SVG_WARP_PRESETS, SWIPE_MAX_VERTICAL_PX, SWIPE_THRESHOLD_PX, TABLET_BREAKPOINT, TABLE_CELL_TEXT_DEFAULTS, TABLE_STYLE_PRESETS, TAB_ROW_ACTION_CLASSES, TEMPERATURES_K, TEMPLATE_REF_HEIGHT_EMU, TEMPLATE_REF_WIDTH_EMU, TEXT_3D_DEFAULT_EXTRUSION_PT, TEXT_3D_EMU_PER_PT, TEXT_3D_MAX_BEVEL_PT, TEXT_3D_MAX_EXTRUSION_PT, TEXT_BOX_SECTION, TEXT_BOX_SECTIONS, TEXT_BUILD_ID_SEP, TEXT_DIRECTION_OPTIONS, TEXT_EFFECT_SECTIONS, TEXT_WARP_PRESETS, TEXT_WRAP_OPTIONS, THREE_VIEW_EVENTS, TICK_LABEL_POSITION_OPTIONS, TITLE_BAR_CLASSES, TITLE_BAR_DEDICATED_IDS, TITLE_BAR_DEFAULT_FILE_KEY, TITLE_BAR_METRICS, TOOLBAR_BUTTON_DESCRIPTIONS, TOOLBAR_BUTTON_IDS, TOOLBAR_TABS, TRACE_SIZE_PX, TRANSITION_DIR_ARROWS, TRANSITION_DIR_GRID_POSITIONS, TRANSITION_DURATION_MAX_SEC, TRANSITION_MORPH_OPTIONS, TRANSITION_ORIENTATION_TYPES, TRANSITION_PREVIEW_ATTR, TRANSITION_SOUND_CURRENT_VALUE, TRANSITION_SOUND_NONE_VALUE, TRANSITION_SOUND_OTHER_VALUE, TRANSITION_SPEED_DURATION_MS, TRANSITION_SPEED_OPTIONS, TRENDLINE_SUPPORTED_TYPES, TRENDLINE_TYPE_OPTIONS, TRUST_TAB, TYPE_LABELS2 as TYPE_LABELS, TYPE_LABEL_KEYS, TimelineEngine, VALIGN_OPTIONS, VIEWER_ADDIN_CATALOG, VIEWER_BACKSTAGE_REGION_IDS, VIEWER_CAPABILITY_DESCRIPTIONS, VIEWER_CAPABILITY_IDS, VIEWER_DIALOG_DESCRIPTIONS, VIEWER_DIALOG_IDS, VIEWER_DIALOG_REGION_DESCRIPTIONS, VIEWER_DIALOG_REGION_IDS, VIEWER_EXPORT_FORMAT_DESCRIPTIONS, VIEWER_EXPORT_FORMAT_IDS, VIEWER_FEATURE_DESCRIPTIONS, VIEWER_FEATURE_IDS, VIEWER_OPTIONS_TABS, VIEWER_PANEL_DESCRIPTIONS, VIEWER_PANEL_IDS, VIEWER_PANEL_REGION_DESCRIPTIONS, VIEWER_PANEL_REGION_IDS, VIEWER_PREFERENCE_TOGGLES, VIEWER_PREFS_STORAGE_KEY, VIEWER_REGION_ATTRIBUTE, VIEWER_REGION_IDS, VIEWER_ROOT_OPTION_DEFAULTS, VIEWER_SHORTCUT_REFERENCE, VIEW_EDITABLE_COMMANDS, ViewerRegionHost, WARP_PATH_GENERATORS, WARP_PRESET_DEFINITIONS, WASHOUT_LUM, WHEEL_SPOKE_COUNTS, WIPE_FILTER_TOKEN_TO_SUBTYPE, WIPE_SUBTYPE_TO_EDGE, ZOOM_MAX_PERCENT, ZOOM_MIN_PERCENT, ZOOM_STEP, _resetCanvasDimensionCache, _resetNativeImageSizeCacheForTests, abuttingEdgeBleedStyle, accentDuotone, acceptAutosaveRecovery, acceptsPresentationInput, acknowledgeAutosaveRecovery, actionAffordanceLabels, actionButtonLabelKey, actionTypeNeedsTarget, activateModalFocus, addCommentToList, addEditPoint, addGradientStopPatch, addQuickAccessCommand, addSiblingAfter, addTagToCollections, adjacentComment, adjustGalleryModule, adjustmentRange, advanceChartMarkDrag, advanceMainSequence, advanceStep, alertNoticeDialog, alignPatch, angularAdjustmentKeys, annotationCapturesPointer, annotationOverlayZIndex, appPropertiesChanged, appendPresentationInkPoint, apply3dEffects, applyAcceptAllSlides, applyAcceptSlide, applyActiveInlineListFormatting, applyAnimationGroupSteps, applyAnimationOpacity, applyAnimationTimelineOrder, applyAutoCorrect, applyAutoCorrectToEdit, applyChart3DDrag, applyChart3DSelect, applyChartBuildReveal, applyChartElementToggle, applyChartFormatEdit, applyChartFormatField, applyChartRevealDescriptor, applyChartStylePreset, applyColorChange, applyCustomShowEdit, applyDiagramRevealDescriptor, applyDrawingColorTransforms, applyDuotone, applyElementActionAffordances, applyFontAlignmentFallback, applyHighlightClickStyle, applyInlineCommand, applyInlineRunStyle, applyInlineTextDraft, applyListStyleUpdate, applyLockedOptions, applyMasterViewCrudAction, applyMediaCommandVerb, applyMediaEndedStep, applyMediaPlaybackAttributes, applyMergeShapesPlan, applyMotionPathPreset, applyNotesLevelDefaults, applyOutlineEdit, applyParagraphBaselineShift, applyParagraphCommand, applyPasteSpecialFormat, applyPreferenceToOptions, applyReadOnlySessionEvent, applyReadingViewCommand, applyRehearsalTimings, applyRenderedElementAccessibility, applyReroutedConnectors, applyRibbonGalleryItem, applyRibbonTransitionDraft, applySlideShowSettingsPatch, applySlideTransitionSound, applySmartArtTextPaneRequest, applySorterAction, applySpatialLayout, applyStepBuildMetadata, applyStyleToSelectedSegments, applyTableCellFontWeight, applyTableStylePreset, applyTextStyleUpdate, applyThemeByPath, applyTransitionSoundFile, applyTransitionStockSound, applyUnderlineVariant, applyUniformCellPaddingPatch, archFitSweep, armBaselineSettle, armEditorKeyboard, arrangeAlignAction, arrangeHomeControls, arrangePainterHomeControls, arrangeShapeHomeControls, asSelectionIds, assemblePng, assertElementUpdateTarget, assignUserColor, attachCollaborationInlineEditor, attachEditorImagePaste, attachInlineListController, attachMediaControlBar, attachOverlayKeyboard, attachPresentationVisibilityPause, attachRibbonOverflow, attachRotateHandlePlacement, attachViewerHyperlinks, attachViewportNavigation, authorConnectorBetweenSites, authoredLetterSpacingPx, autoFitModeOf, autoFitModePatch, autosaveDisabledReasonKey, autosaveIntervalMs, autosaveRecoveryPrompt, autosaveSnapshotMark, autosaveSourcesChanged, autosaveStatusKind, availableQuickAccessCommands, backstageCardsFor, backstageNavEntries, bar3DShapePatch, baselinePlacementStyle, baselineShiftOf, beginChartMarkDrag, beginCropDrag, beginShapeAdjustment, beginZoomExcursion, bendEditSegment, bindCollaborationHistory, bindInlineListParagraph, bindInlineListRun, bindPptxOptionsDialog, blindsDecl, bookmarkOptionValue, bookmarkTriggerPatch, booleanRegions, borderCssWidthPx, borrowExternalCollaborationAwareness, boundsOf, boxForAnimation, boxOverlapRatio, boxesOverlap, broadcastGroup, build3DExtrusionData, buildAbsoluteRotationKeyframe, buildAbsoluteScaleKeyframe, buildActionButtonElement, buildAnimationRibbonPreview, buildAnimationTimelineRows, buildBarActions, buildBehaviorPreview, buildBroadcastConfig, buildBroadcastViewerUrl, buildCacheKey, buildCanvasContextMenuEntries, buildChart3DSpecForElement, buildChartExInsertData, buildChartFormatPaneModel, buildChartQuickActionsDescriptor, buildChartStylePresets, buildChromeStyle, buildClearHyperlinkPatch, buildClickGroups, buildCollaborationShareUrl, buildCollaborationState, buildColorAnimationKeyframes, buildColorInterpolationProps, buildColorTavKeyframe, buildCommentMarkers, buildConnectorElementLookup, buildConnectorGeometry, buildConnectorPathD, buildContextMenuEntries, buildCreateCollaborationConfig, buildCropOverlay, buildDeckJson, buildDeckSaveOptions, buildDirectionGrid, buildDocumentPropertiesActions, buildDuotoneCacheKey, buildDynamicKeyframe, buildDynamicKeyframes, buildEditPointsMenu, buildEditPointsView, buildElementClipboardPayload, buildEmbeddedFontStyles, buildEquationBlockStyle, buildFieldSubstitutionContext, buildFindReplaceActions, buildFontEmbeddingActions, buildFontFaceRule, buildForeignObjectSvgBody, buildFreeformShapeElement, buildFreeformStrokeGeometry, buildFreeformToolElement, buildFreeformToolGeometry, buildGlyphEnvelope, buildGlyphEnvelopeBlock, buildHelpRibbon, buildHollowHitOutline, buildHyperlinkPatch, buildIdatChunk, buildIendChunk, buildIhdrChunk, buildImageFitTransform, buildInkGroupStrokes, buildInlineListStylePatch, buildInlineStyleText, buildInlineTextCommitPatch, buildJoinCollaborationConfig, buildLayoutActions, buildLiveInkStrokeView, buildMirrorTiledBackground, buildMorphAnimationRules, buildMorphIncomingAnchoredOrder, buildMorphMergedOrder, buildMorphOutlineRules, buildMorphScopedCss, buildMorphTransitionPlan, buildMotionPathKeyframes, buildMotionPathPreview, buildNotesPdfBytes, buildNotesPrintHtml, buildNotesTextStream, buildOleContentUpdatePatch, buildOleEditDialogDescriptor, buildOleObjectNamePatch, buildOpacityTavKeyframe, buildOptionsBaseline, buildOutline, buildOutlinePrintJobDocument, buildParagraphs, buildPasswordProtectionActions, buildPngChunk, buildPptxOptionCategories, buildPresentationAudienceUrl, buildPresentationClickGroups, buildPresentationTouchControlState, buildPreviewAnimation, buildPreviewElements, buildPrintDocument, buildPrintStyleSheet, buildQueryLinkUrl, buildQuickStylesGallery, buildRasterPictureElement, buildRasterPrintJobDocument, buildRecordRibbon, buildReviewRibbon, buildRibbonGallery, buildRunEffectStyle, buildRunProgramNotice, buildRunTabLines, buildSectionContextMenuEntries, buildShareConfig, buildShareUrl, buildSignatureActions, buildSlideOverflowMap, buildSlidePaneContextMenuEntries, buildSlideSorterContextMenuEntries, buildSlideTemplateContent, buildSlideTemplateSlide, buildSlidesPaneFieldContext, buildSlidesPaneTableStyleContext, buildSlidesPdfBytes, buildSmartArt3DModel, buildSmartArt3DSpecForElement, buildSmartArtA11y, buildSmartArtPresetData, buildSmartArtPresetNodes, buildSmartArtPreviewElement, buildStepCommand, buildStrokeInterpolationProps, buildStrokePathD, buildSummaryZoomView, buildSurfaceGeometry, buildSurfaceLabels, buildTabContext, buildTabRowActionsState, buildTableDataGrid, buildTextBlockStyle, buildTextBlurFilter, buildTextBody3DSceneStyle, buildTextBodyLayoutStyle, buildTextBuildSpec, buildTextFillCss, buildTextGlowFilter, buildTextHslFilter, buildTextInnerShadowCss, buildTextRunFilterChain, buildTextShadowCss, buildTextSoftEdgeFilter, buildTextStyleHoldKeyframe, buildTextStyleOverrideCss, buildTextWarpGallery, buildTiledSlidesPdfBytes, buildTimeline, buildTitleBarState, buildTokenMorphAnimations, buildUserFontFaceStyles, buildVectorPrintJobDocument, buildWarpPath, buildWarpedGlyphOutlinePathD, buildWrapperStyle, buildZoomTransitionOverride, buildingBlockFailure, buildingBlockRequestAction, builtinTableStyleMap, calculateContinuationPageMaxLines, calculateNotesPageLayout, calculateViewportFit, canAddTopLevelNode, canCommitActionType, canCreateCollaborationSession, canCropElement, canEditElementPoints, canGoNext, canGoPrevious, canJoinCollaborationSession, canMergeShapes, canRemoveTopLevelNode, canRequestDraw, canRequestHome, canRequestInsert, canRequestTransitions, canRequestView, canStartBroadcast, canStartShare, canSweepAutosaveSnapshots, canUseClipboard, cancelBuildReveal, cancelCropUpdate, canvasContextMenuLabelKey, canvasToJpegData, captionDisplayText, carryBuildState, cascadeDownPath, cascadeUpPath, cell3DBevelCss, cellImageFillCss, cellParagraphBlocks, cellPatternFillCss, cellRunStyle, cellStyleToCss, centeredSvgTextLines, characterSpacingPatch, chartAxesVisibilityPatch, chartAxesVisibilityState, chartAxisTitlesPatch, chartAxisTitlesState, chartDataLabelsTogglePatch, chartDataSheetLabels, chartEventPathElements, chartFormatContextMenuLabelKey, chartFormatPaneTitle2 as chartFormatPaneTitle, chartFormatTabs, chartFormatTargetAtPoint, chartFormatTargetFromEvent, chartFormatTargetLabel2 as chartFormatTargetLabel, chartPlaceholderLabel, chartSelectionHomeControls, chartStylePresetPalette, chartThreeViewSpec, checkModifyPassword, checkerboardDecl, choices2 as choices, circleFitSweep, circleOutline, clampCursorPosition, clampFlyoutPosition, clampGifDimensions, clampNotesFontSize, clampOptionNumber, clampPercent2 as clampPercent, clampPresenterZoom, clampScale, clampShapeAdjustmentValue, clampSorterZoom, clampStep, clampText3dPt, clampZoomScale, classifyExtraConnections, classifyMediaType, classifyTextWarp, clearActiveAnimationGroup, clearAllComments, clearAllLocalViewerData, clearAudienceContent, clearAutosaveRecoveryAcknowledgement, clearAutosaveSnapshots, clearColorChangeCache, clearDuotoneCache, clearLocalAwareness, clearMotionPath, clearNativeImageSizeCache, clearPlaybackTimers, clearPresentationDeck, clearSeriesColor, clearSlideComments, clearStoredViewerPrefs, clearTransitionSound, clientPointToViewBox, clientToChartPoint, clientToSlidePoint, clipPathToPolygon, clipboardHomeControls, cloneElementForPaste, cloneElementUpdates, cloneHeaderFooterDraft, cloneOptions, closeEditPath, closeReadingView, cloudFilesLabels, coerceInspectorFieldValue, collaborationHistoryReady, collaborationStatesEqual, collectAccessibilityIssues, collectChartBuildInfo, collectCoherent3DOffNodeIds, collectConnectorSiteCandidates, collectDeckWebfontFaces, collectDeckWebfontRuns, collectDiagramBuildInfo, collectExternalFontFaceCss, collectFontFaceCss, collectFontsFromElement, collectGlyphEnvelopeFontFamilies, collectReferencedFontFamilies, collectUsedFonts, colorDistance, columnHandleSegments, columnIndexAtFraction, combineTileRowPixels, commentCounts, commentMarkerTitle, commentMentionQuery, commentTextSegments, commitElementUpdateBatch, commitGalleryResult, commitSmartArtNodeFill, commitSmartArtNodeText, commitsThroughDeckStyle, comparePresentation, compareSlide, compareSlides, compatToastStackStyle, compatToastStackStyleAttr, compatibilityWarningToasts, compileEquationTemplateMathMl, compileLatexEquation, computeAllNotesPages, computeAnchoredPopupPosition, computeAutoFitShapeHeightPx, computeAutoFitTextStyle, computeBendingLayout, computeBuildProgress, computeCameraPlacement, computeColumnBoundaries, computeConnectorGeometry, computeCycleLayout, computeDocumentStatistics, computeDrawingViewBox, computeEntranceAnimationDelay, computeExportTilePlan, computeFunnelLayout, computeGearLayout, computeGridExtent, computeGridSpacingPx, computeHierarchyLayout, computeInlineEditorRect, computeKeyboardInset, computeListLayout, computeMarqueeHitIds, computeMatrixLayout, computeMoveFrame, computeNormAutofitShrink, computeNotesPageLayout, computeProcessLayout, computePyramidLayout, computeRadialLayout, computeReadingOrder, computeResizeFrame, computeResizedColumnWidths, computeResizedRowHeight, computeRotateFrame, computeScrollDelta, computeShadeToTitleFillToRect, computeSmartArtElementLayout, computeSmartArtLayout, computeTabSize, computeTabbedLayout, computeTableMergeCrossings, computeTargetLayout, computeTimelineLayout, computeTrendlinePoints, computeVennLayout, computeVirtualRange, computeZOrderSwaps, confirmActionDialog, confirmDeleteDialog, confirmExternalHyperlinkDialog, connectedServicesLabels, connectorAdjustmentFraction, connectorArrowPatch, connectorArrowValue, connectorBendFraction, connectorEndpointId, connectorEndpointPoint, connectorHitStrokeWidth, connectorPresetForSpan, connectorSnapTransform, connectorWrapperTransform, contextMenuInspectorAnchor, contextMenuLabelKey, contextMenuViewItems, contextualTabLabelKey, contextualTabsForElement, coordinatesAt, correspondingChildren, countAccessibilityIssues, countTextSegments, countTopLevel, countWords, crc32, createActiveAnimationGroup, createAutosaveController, createAutosaveRecoveryController, createBackstagePresentation, createBuildingBlockGroupContext, createBuildingBlockRequests, createCloudDocumentController, createCollabProvider, createCollaborationHistory, createCollaborationLivePatcher, createCollaborationSessionController, createCollaborationStateReporter, createCustomShow2 as createCustomShow, createCustomShowsController, createCustomizationController, createDeckStyleHost, createDefaultChartElement, createDefaultChartUserShapeGroupChild, createEditorHistoryController, createEmbeddedFontsSheet, createEmbeddedOutlineFontsSlot, createEnvelopeWarp, createFindBarController, createGalleryPreviewController, createGestureController, createGlyphOutlineLookup, createGuide, createInitialPresentationSnapshot, createInlineListModelObserver, createInlineListSeed, createInspectorColorFields, createLiveColorInput, createPlainNotesSegments, createPptxBuildingBlockSession, createPresenceProjector, createPresencePublisher, createPresentationKeyBuffer, createPresentationSessionId, createPresenterPointer, createPresenterShowGuard, createPresenterTimer, createPreviewEditGuard, createRibbonControlIcon, createRibbonDisplayController, createSaveProgressController, createSaveRevisionController, createSheetDismissGesture, createSlidePackageClipboard, createSlideSorterState, createSlidesPaneBulkSlideOps, createSyncGate, createTouchGestureRecognizer, createViewerCommandStore, createViewerOptionsStore, createViewerStore, createViewerZoomStore, createWheelStepBuffer, createWriteBackScheduler, createYjsFactories, cropControlSpec, cropFill, cropFit, cropFrameOf, cropHomeControls, cropModeKeyAction, cropResetPatch, cropResetState, cropSessionChanged, cropToAspectRatio, crossedHistoryTheme, cssBaseline, cssCdata, cssEasingForAccelDecel, cssEasingForTimingCurve, cssFontWeightNumber, cssKeyframeName, cubicBounds, cubicPointAt, cursorForTool, customShowsGroup, customizeBackstageCards, customizeBackstageNav, customizeCanvasContextMenuEntries, customizeContextMenuEntries, customizeOptionsTabs, cycleSelectableElement, dataUrlToBlob, deckJsonFileName, decodePendingBaseline, defaultDuration, defaultGradientState, defaultMentionId, defaultRichEnabled, defineBuildingBlockActionGroup, deleteAutosaveSnapshot, deleteEditPoint, deleteEditSegment, deleteMasterViewElements, deleteOldestAutosaveEntry, deleteTagFromCollections, deliverSavedPresentation, demote, derivePresenceList, derivePresetAdjustmentHandles, deriveSlideFieldContext, deriveViewportBreakpoints, describeBroadcastSupport, describeBuildingBlockActions, describeBuildingBlockAvailability, describeBuildingBlockToolbar, describeCollaborationShellState, describeCustomShows, describeElementChange, describeFontEmbedding, describeFontEmbeddingState, describePasswordProtection, describePptxChart, describeShortcutCatalogue, describeShowDialogActions, describeSignaturesState, describeSlideShowSettings, describeSmartArtBounds, describeSmartArtDiagram, deserializeElementClipboard, designCommandState, detectHyperlinkTargetType, detectOrientation, detectTouchDevice, diffOptionsAgainstBaseline, diffSlideElements, diffTokens, diffViewerOptions, digitalSignaturesGroup, disableGlowPatch, disableInnerShadowPatch, disableOuterShadowPatch, disableReflectionPatch, disableSoftEdgePatch, discardAutosaveRecovery, dispatchChartSelectionRequest, dispatchCropRequest, dispatchEditorKey, dispatchReadOnlyBannerIntent, dispatchStatusBarIntent, documentPropertiesChanged, documentPropertiesGroup, dominantDisplacement, downloadBlob, downloadDataUrl, dragCropHandle, drawLabel, drawingHomeControls, drawingShapeLabelColor, drawingShapesLayoutResult, driveBuildReveal, durationOf, eastAsianBreaksForRun, editCommentInList, editFrameFromElement, editGeometryBounds, editGeometryFromElement, editGeometryToElementPatch, editGeometryToPaths, editGeometryToSlidePath, editLocalToSlide, editPointsCommandLabelKey, editPointsElementSignature, editSlideToLocal, editingHomeControls, editorNudgeDelta, editorSlideStep, editorThumbnailHeight, editorThumbnailStep, editorThumbnailWidth, editorViewportFitFor, effectSoundCatalogueEntry, effectiveTextBuildType, effectiveTimingCurve, effectiveZoomScale, effectsStateOf, elementContainerHeightStyle, elementHasTextHyperlink, elementHitTargetStyle, elementIdSelector, elementInLocalFrame, elementOutlineLoops, elementPictureFilename, ellipseArcToCubics, embedImagesOnClone, embeddedFontSaveOptions, emphasisFilterKeyframeCss, emptyGalleryModule, enableGlowPatch, enableInnerShadowPatch, enableOuterShadowPatch, enableReflectionPatch, enableSoftEdgePatch, encodeGif, encodePendingBaseline, encodePngFromPixels, encodePngFromRowBands, endAudienceDisplay, ensureActionAffordanceStyles, envelopeCurveAt, envelopeCurveXExtent, envelopeWrapWidth, equalizePaths, erasePresentationInkAt, escapeCssAttributeValue2 as escapeCssAttributeValue, escapePdfText, escapeSvgText, escapeXml, evenColumnWidths, evenRowHeights, exactPitchPoints, executeMediaCommandInDom, expandCapabilities, expandTextBuildAnimations, expandTextRangeAnimations, exportAbortError, exportDeckJson, externalSessionFromCollabSession, extraConnectionCount, extraQuickAccessCommands, extractCssUrl, extractGlyphOutlineCommands, extractStepGraphicElement, eyedropperAvailable, feedSvgPath, fetchAsDataUrl, fetchGoogleWebfontOutlineBytes, fillLeader, fillLeaderWithMeasure, fillModeForClass, filterCommands, filterMenuEntries, filterPixelBlock, filterRenderedElements, filterRowNone, filterVisibleTabs, finalizeClickGroup, findCanvasElementNode, findChartPartElementInEvent, findChartPartInEvent, findChartUserShapeNode, findCommentLocation, findConnectorSiteNear, findEffectSoundCatalogueEntry, findEraserHitElementId, findHighlightClickTarget, findHighlightTargets, findMediaBookmarkGatedSteps, findMediaElementByElementId, findMediaEndGatedSteps, findOutlineRow, findPresentationActionTarget, findReplaceSessionActions, findReplaceStatus, findReplaceTarget, findRibbonAddIn, findSlideStage, findSmartArtNodeText, finishAnimationGroupSteps, finishCropUpdate, finishDomAnimationsForGroup, finishPrintWindow, firstShowSlideIndex, fitGlyphEnvelopeAffine, fitTransformsFromInsets, flattenMorphElements, flattenOutline, flattenSlideElements, flattenTagCollections, flattenViewerOptions, followCommentEdit, followingText, fontAlignmentVerticalAlign, fontEmbeddingGroup, fontFamilyItems, fontHomeControls, fontMimeForFormat, fontPickerHomeControls, fontSizePx, foreignObjectSvgToDataUrl, forgetSessionDeck, forgetStepsUsingRemovedParts, formatAdvanceAfterText, formatBackstageDate, formatBackstageSize, formatBytes, formatCursorLabel, formatEditPointsTarget, formatElapsed, formatIsoDate, formatLoadLimitBytes, formatMediaTime, formatMobileElapsed, formatRelativeTime, formatSlideCounter, formatSnapshotSize, formatTime, formatVersionTimestamp, fractionalClientSize, frameSlideSvg, freeformCloseTolerance, galleryDeckView, galleryHasItems, galleryItemLabel, galleryTextLabel, gateViewerEdits, generateBroadcastRoomId, generateCommentId, generateCustomShowId, generateElementId, generateFullMorphTransition, generateGeometryMorphAnimation, generateImageCropGhostAnimations, generateImageCropMorphAnimations, generateMorphAnimations, generateMorphGhostAnimations, generateTextMorphAnimations, generateTicks, generateUnmatchedFadeInAnimations, generateUnmatchedFadeOutAnimations, get3DBevelShadow, get3DMaterialFilter, get3DTransformStyle, get3dTransformCss, getAcknowledgedAutosaveRecoveryTimestamp, getActiveInlineListSelection, getActiveXControlOverlayView, getAnimationColorBaseStyle, getAnimationInitialStyle, getAnimationOpacity, getAriaLabel, getAriaRole, getAriaRoleDescription, getArtisticFilterId, getArtisticImageFilter, getAutosaveSnapshot, getBackgroundAnimationLayers, getBackgroundAnimationState, getBevelLightingFilterId, getBevelLightingFilterMarkup, getBevelLightingSvgFilter, getBevelStyle, getBuiltinTableStyle, getBuiltinTableStyleName, getCachedNativeImageSize, getCachedResult, getCameraTransform, getCellDiagonalBorders, getChartUserShapeGroupTransform, getChartUserShapeRowChartBox, getCinematicTransitionAnimations, getComputed3dStyle, getComputedImageStyle, getConnectionSites, getConnectorEndpointHandles, getContainerStyle, getContourBoxShadow, getCropShapeClipPath, getCurrentParagraphIndex, getDenseGridLayoutPlan, getDensePanelTouchTargetBox, getDensePanelTouchTargetPx, getDiagonalBorders, getDraggedShapeAdjustmentValue, getDraggedShapeAdjustments, getDuotoneCachedResult, getDuotoneImageFilter, getEffectKeyframes, getEffectSoundAsset, getEffectSoundState, getElementCreationId, getElementMorphName, getEnvelopeCssTransform, getExtrusionBoxShadow, getExtrusionShadow, getFragmentedTransitionDescriptor, getFrameEffectStyle, getFrameInverseTransform, getGroupChildParentFill, getImageAlphaFilter, getImageAlphaFilterId, getImageBackgroundRemoval, getImageColorWashStyle, getImageCorrectionsFilterTokens, getImageDuotoneFilterId, getImageEffectsFilter, getImageEffectsOpacity, getImageFillCounterTransform, getImageFillOverlayFilter, getImageFillOverlayFilterId, getImageFilterCss, getImageFitStyle, getImageOverflow, getImageSharpenFilter, getImageSharpenFilterId, getImageSrc, getImageSvgFilters, getImageTilingStyle, getInitialStyleForEffect, getInlineEditorSelection, getInlineEditorSelectionResult, getKinsokuLineBreakStyles, getLightAngleFromCamera, getLightRigCss, getLocalStorageUsageSummary, getMaterialCssOverrides, getMaterialFilter, getMaterialGradientOverlay, getMaxCanvasDimension, getNonVisualDescriptionFields, getNotesPrintableArea, getOleAriaLabel, getOleBadgeLabel, getOleDisplayName, getOleIconShapes, getOleTypeColor, getOleTypeLabel, getOnlineVideoEmbed, getOverflowSegments, getP14TransitionAnimations, getPasswordStrength, getPendingSelectionRestore, getPictureFrameLayers, getPictureShadowFilter, getPlaceholderStyle, getPresentationContextMenuSections, getQuickAccessCommand, getReducedMotionStyles, getRegionRenderer, getResizeHandleHitAreaStyle, getRoundRectAdjustmentValue, getRoundRectRadiusPx2 as getRoundRectRadiusPx, getSectionLayoutPlan, getSelectionControlArtworkStyle, getSelectionOutlineColor, getSessionTabId, getShapeAdjustmentHandleDescriptor, getShapeAdjustmentHandleDescriptors, getShapeConnectionSites, getShapeEffectAnimationLayerStyle, getShapeEffectLayerPlacement, getSilhouetteFillLayer, getSimpleCssTransform, getSlideBackgroundStyle, getSlideTransitionAnimations, getSmartArtNodeBounds, getSpeechRecognitionCtor, getTableCellBandStyle, getTableResizeScale, getTextAlphaOpacity, getTextBodyRotationTransform, getTextCompensationOrigin, getTextCompensationStyle, getTouchDistance, getUnrotatedShapeConnectionSites, getViewerOptionsTab, getWarpCssTransform, getWarpPath, ghostMorphPairsHiddenByGhosts, glowStateOf, glowStyle, gradientStateFromStyle, gradientStateOf, gradientStatePatch, gradientStopColorCommitPatch, groupDrillChain, groupElementParagraphs, groupIntoParagraphs, groupIssuesBySeverity, groupParagraphsByBuildLevel, groupShortcutReference, groupTilesByRow, handleEditorAnchorClick, handleLiveColorEvent, handlePresentationStageClick, handleReadingViewKey, handleThreeViewChartEvent, hasAdvancedImageAlphaEffects, hasCommentMentions, hasCrop, hasExistingLink, hasGlyphEnvelope, hasGradientFill, hasImageFillOverlayEffect, hasImageOverrides, hasMotionPath, hasMultipleSelectedTableCells, hasPersistentAudio, hasPictureFrame, hasShowSlideAfter, hasText3dExtrusion, hasTextWarp, hasTiltData, hasWarpPresetDefinition, hexToRgb, hiddenSlideCue, hiddenSlideLabelId, hideChartSeries, historyStepUsesParts, historyTheme, hollowTextFillStyle, homeColourState, homeControlKey, homeFamilyControls, homeFamilyKeys, homeGalleryApply, homeGalleryControls, homeLabel, homeLaunchers, homeShapeGalleryItems, homeShapeValue, homeSnapshotTranslator, hostFontDownloadLock, hostMenuLabel, hslToRgb, hyperlinkEditDataFromAction, hyperlinkEditPatch, imageAdjustmentsPatch, imageAdjustmentsStateOf, imageCropPatch, imageCropStateOf, imageResetPatch, imageResetState, incomingSegmentIndex, inferNodeTypes, initialHiddenStyle, initialInspectorOpen, initializeInlineListDom, inkGroupViewBox, inlineComputedStylesOnClone, inlineElementPointerEvents, inlineGalleryItems, innerShadowStateOf, innerShadowStyle, insertChartPreviewSvg, insertCommentMention, insertControlStatus, insertEntryEnabled, insertHyperlinkAtSelection, insertLabel, insertedLayoutCompletion, insetPaddingForBorders, inspectorFieldPatch, inspectorNumber, inspectorTogglePatch, installSvgIdScope, interpolateColor, interpolateOutline, interpolatePaths, interpolateSmartArtPalette, isActionButton, isActionHidden, isAdditiveSelectionPress, isArtisticEffectRendered, isAudienceDisplayHash, isAudienceDisplayTab, isAudienceTab, isBackstagePageVisible, isBlackboardActive, isBookmarkGated, isBrowserOpenableMime, isChart3DViewEnabled, isChartTitleEvent, isCleanAfterSave, isClickAdvanceAllowed, isColumnBoundaryMergedAt, isDensePanelCompact, isDialogAvailable, isDrawingToolVisible, isEastAsianChar, isEditPointsCandidate, isEditPointsEnabled, isEditableMotionPath, isEditingAllowed, isEditorControlTarget, isEditorTextInputTarget, isElementActionable, isElementHidden, isElementMarkedDecorative, isElementRendered, isEmptyDeck, isEquationOnlyText, isExportAbortError, isFeatureEnabled, isFontFamilyAvailable, isFontFamilyInstalledLocally, isForwardedEditLayerEvent, isFreeformStrokeClosed, isHeaderFooterDateTextVisible, isHeaderFooterFooterTextVisible, isHeaderFooterHeaderTextVisible, isHollowShapeElement, isImageTiled, isInBottomTriggerZone, isInertMorphPair, isInjectableUrl, isKeyboardOpen, isKoreanLanguage, isLegacyBinaryPresentation, isLinkedTextBox, isLinkedTextBoxHead, isMarkedAsFinal, isMasterViewEditable, isMediaCommandAnimation, isMediaEndGated, isMediaFullscreenActive, isMergeableElement, isMixedContentBlocked, isMobileViewport, isNavigationAction, isNoOpPresentationAction, isOptionLocked, isOptionsPageVisible, isOutlineViewDismissKey, isPanelVisible, isPeerToPeerShare, isPictureElement, isPointInRegion, isPresenceFresh, isPresentationAdvanceClick, isPresentationAudience, isPresentationSessionMessage, isRegionReplaced, isReviewCommentCommand, isRibbonControlId, isRibbonControlVisible, isRibbonGroupId, isRibbonGroupVisible, isRoutedToLegacyBevelShadow, isRowBoundaryMergedAt, isRunHyperlinkClickable, isSafeSvgMarkup, isSameArtisticEffect, isSameBrowserRoom, isSeriesUsingSecondaryAxis, isSettingLocked, isSettingVisible, isSupportedPresentationFile, isTabletViewport, isValidInsertChartData, isValidRoomId, isVerticalTextDirection, issueTrackKey, issueTypeLabel, keepStoredLockedValues, lastLineExtentDelta, lastShowSlideIndex, latexToMathMl, layoutEnvelopeBlock, leaderGlyph, lerpColor, lineHeightToPx, lineSpacingPatch, listAutosaveSnapshots, listBackstageRecentFiles, listChartFormatTargets, listChartUserShapeRows, listCommentLocations, listMediaBookmarkOptions, listPackageSignatures, listenForOutlineViewDismiss, loadAudienceContent, loadDeckWebfontOutlines, loadPresentationDeck, loadSessionDeck, loadedThemeName, lockExternalContentSetting, lockFontDownloadSetting, makeCloneId, mapAwarenessCursors, mapCustomizedEditorKey, mapDuotonePixels, mapEditingWheel, mapEditorKey, mapInlineEditorChord, mapInlineTextFormatKey, mapOutlineKey, mapPresentationKey, mapPresentationWheel, mapReadingViewKey, mapSlideShowStartKey, mapSlideSorterKey, markAnimationGroupActive, markAsFinalProperties, markFindHighlights, markInsertedParagraph, maskEdgeDecl, maskEdgeInitialStyle, maskEdgePartialDecl, maskShapeDecl, maskShapeInitialStyle, masterViewBackgroundColor, masterViewCrudActions, masterViewCrudFailureKey, masterViewElements, masterViewOwnerElementId, masterViewPartForElement, masterViewParts, masterViewPseudoSlide, matchCommentMentionAuthors, matchGoogleWebfontFragments2 as matchGoogleWebfontFragments, matchMorphElements, matchMorphElementsFull, matchSlideSizePreset, matchTextTokens, matchesShortcutChord, mayLeaveSlideShow, measureAutoFitContentHeightPx, measureFontBoxWithCanvas, measureGlyphAdvances, measureNormAutofitStepHeightPx, measurePreviewGeometry, measureSvgViewportRect, measureTextWidth, measureViewportClientSize, measureWarpParagraphWidth, mediaControlBarEnabled, mediaControlBarVisible, mediaElementFromFile, mediaFallbackIcon, mediaFallbackLabelKey, mediaFallbackVisual, mediaPlaybackAttributes, mediaSurfaceOf, mediaTimeFromPointer, mediaTimelineGeometry, mediaTransportVisible, mediaTrimEndAbsoluteMs, mediaTrimEndMsFromAbsoluteMs, mediaTrimEndMsFromSeconds, mediaTrimEndSeconds, mediaTrimRangeForDrag, mediaTrimResetPatch, mediaTrimResetState, mergeAdditiveSelection, mergeCaptionResults, mergeCoincidentHandles, mergeCustomization, mergeImageEffects, mergeOperationForCommand, mergePresentationSnapshot, mergeSegments, mergeText3d, mergeTextStyleOnStart, mergeViewerOptions, mixHex, mobileElapsedSince, mobileNextThumbSize, mobileSlideCounter, modalActiveElement, modalFocusableElements, morphGroupChildPairs, morphImageCropChanged, morphOffstageTextAdoptsTarget, morphOffstageTextSizeChange, morphOptionToMode, morphOverlayElementSlots, morphOverlayStackSlots, morphPairIncomingFadesIn, morphPairNeedsCrossfade, morphTextReplacedInSlot, motionPathEndFraction, motionPathEndPixel, motionPathFor, motionPathFractionPoints, motionPathNativeAnimations, motionPathToSvgD, moveAnimationTimelineRowBy, moveEditHandle, moveEditNode, moveGuide, movePresenterPointer, moveQuickAccessCommand, moveSelection, mruColorsPatch, msToFrameDelayCs, nearestCubicParam, nearestLineParam, needsMorphFlattening, needsOwnedSession, needsSvgArtisticFilter, nestedTextDecorationStyle, newEquationElement, newFieldElement, newShapeElement, newSmartArtElement, newTableElement, newTextElement, nextAutosaveDelayMs, nextPresentedSlide, nextShowSlideIndex, normalizeAccelDecel, normalizeFontFormat, normalizeNotesLinkUrl, normalizeOutlinePair, normalizeRegion, normalizeRibbonDisplayMode, normalizeSegments, normalizeSubtitleSettings, normalizeWheelDelta, notesSegmentsToSpans, nudgeDelta, numberControl, observeElementHeight, observeExternalCollaborationReadiness, observeExternalCollaborationSession, observeViewportClientSize, officeColorSwatchLabel, oleActionsVisible, ooxmlDashToCssBorderStyle, openAutosaveDb, openBoundaryRuns, openCollaborationYSession, openEditPathAtNode, openExternalHyperlinkConfirmed, openFilePicker, openNativeEyeDropper, openOwnedCollaboration, openPendingPrintWindow, openPlacesLabels, openPptxFile, openPrintWindow, openReadingView, openSlidesPaneLayoutGallery, openUrlInNewTab, optionValueKey, optionsBlockSlot, optionsPaneSlot, optionsSettingIdOf, outerShadowStateOf, outerShadowStyle, outgoingSegmentIndex, outlineBounds, outlineRowKey, overlayInlineTextSnapshot, overlayMasterViewInlineSnapshot, overlayPointerInput, paintDefs, paintedElementSize, paletteColour, panCropImage, paragraphGroupText, paragraphHomeAction, paragraphHomeAlign, paragraphHomeControls, paragraphsToSegments, parseAdvanceAfterMs, parseAudienceNonce, parseBookmarkOptionValue, parseCropValue, parseDrawingColor, parseDrawingColorChoice, parseDrawingColorOpacity, parseEditPointsTarget, parseGradientCssStops, parseHexColor, parseHexToRgb, parseHyperlinkEmailUrl, parseHyperlinkSlideNumber, parseMediaCommand, parseOoxmlBezierCurve, parseOptionValueKey, parseOptionsSettingId, parsePathPoints, parsePolygonPoints, parsePresentationSessionId, parsePt, parseSegmentsFromRichEditor, parseShortcutChord, parseSvgPath, parseViewBox, partitionMasterViewElements, passesClicksThroughBox, passwordProtectionGroup, pasteElementHasText, patchChartData, patchHeaderFooterDraft, pathCoordinates, pauseAllPersistentAudio, pendingElementStyles, pickColorByClickFallback, pictureAdjustTileSvg, pictureArtisticSections, pictureColorSections, pictureCorrectionsSections, pictureEffects, pictureSizeHomeControls, pieceLetterSpacing, placeAudienceWindow, placeCaretAt, placeCaretAtEnd, placeTileOnPage, placeholderPromptDescriptor, planDocumentPropertiesPatch, planFindReplace, planGifFrames, planMergeShapes, planPrintJob, playAnimationRibbonPreview, playFeedbackSound, playGroup, playSlideTransitionPreview, pointFromPointerEvent, pointsToSvgPathD, polygonRegionBounds, powerPointAccelDecelProgress, powerPointBaseline, powerPointDescent, pptxChartFormatKey, pptxChartFormatSource, pptxLoadErrorMessage, pptxOptionsLabels, prefersReducedMotion, prefetchDeckWebfonts, prepareDeckWebfonts, prepareElementForInsertion, prepareElementUpdateBatch, prepareElementsForPaste, presenceEntriesEqual, presenceListsEqual, presenceToCursors, presentToolbarBlackboardActive, presentToolbarCssVars, presentToolbarStyleAttr, presentationBaseName, presentationEntrySlideIndex, presentationInkPath, presentationSaveMimeType, presentationSnapshotsEqual, presentationViewItems, presenterConsoleAction, presenterConsoleCssVars, presenterConsoleStyleAttr, presenterConsoleViewState, presenterElapsed, presenterNextDisabled, presenterPaneAdvancesOnClick, presenterPrevDisabled, presenterTimerProgress, previewGalleryResult, previousShowSlideIndex, primaryMasterViewPart, printJobRasterFallback, probeAutosaveRecovery, probeMaxCanvasDimension, probeNativeImageSize, probeVideoSize, projectDrawingShapes, projectSmartArtViewBoxRect, promote, promptNameDialog, proportionalLineHeight, pruneExpiredAutosaveSnapshots, publishLiveGeometry, publishLiveInlineText, pushRecentColor, pushRecentShape, px2 as px, quadToCubicControls, queueThemeWrite, quickStyleShapeStyle, quickStyleSwatchCss, quickStyleSwatchStyleAttr, radarStylePatch, randomBarsBandDecl, rasterResultToPngBlob, rasterResultToPngDataUrl, rasterizeElement, rasterizeElementClampedToCanvas, rasterizeElementTiledToCanvas, rasterizeElementTiles, rasterizeElementToDataUrl, rasterizeForeignObjectSvg, rasterizeWindow, readBackstageRecentFile, readCropInsets, readEditPointsTarget, readEditableText, readEditorSegments, readElementParagraphs, readFontFileStyle, readInlineListNativeSnapshot, readInlineListSelection, readInlineListSnapshot, readListActivationSelection, readOnlyBannerState, readOnlyBannerVisible, readOnlyLocked, readOnlyRecommendation, readOnlySessionActions, readRecentShapes, readRibbonTransitionDraft, readSlideShowOption, readSoundFileAsDataUrl, readStoredViewerPrefs, readViewportMetrics, readingViewFitScale, reanchorEditFrame, rebaseOptions, rebuildDrawingShapesIfCleared, recentColorsGridView, recolorInheritedText, reconcileInlineListFormatting, reconcileInlineListSnapshot, recordProgressPercent, recordTableCellBold, redirectExitShapeByDirection, redirectMaskEffectByFilterSubtype, redistributeColumnWidth, reduceFindReplaceSession, reduceReadOnlySession, reduceViewerZoom, referenceBox, referenceFont, reflectionStateOf, reflectionStyle, reflowRibbon, reflowSmartArtData, reflowToDrawingShapes, refreshSilhouetteMorphFilters, refreshSmartArtPictureImage, regionArea, registerBuildingBlockGroups, registerCollaborationTeardown, registerCrossSlideAudio, registerInlineListParagraphFormat, registerInlineListRunStyle, registerPersistentAudio, registerPptxWebControls, releasePptxRenderCaches, rememberSessionDeck, removeCommentFromList, removeCommentFromSlides, removeEmptyNode, removeGradientStopPatch, removeGuide, removeQuickAccessCommand, removedSlideMasterParts, renderSparklineSvg, renderedImageCorrections, reorder, reorderAnimationTimelineRows, replaceMasterViewElements, replacePixels, replyToCommentInList, reportInlineTextDraft, rerouteConnectorsForMovedElements, resamplePolygon, resetChartFormatTarget, resetGlyphEnvelopeMeasureCache, resetGlyphTraceCache, resetGoogleWebfontSessionCache, resetMetricTrackingCache, resetPresenterTimer, resetViewportScroll, resizeSelection, resolve3DRenderingFlags, resolveAbuttingEdgeBleeds, resolveAccentHex, resolveActionType, resolveActiveRibbonAddIn, resolveActiveRibbonTab, resolveAllowExternalContent, resolveAnimationCss, resolveAnimationEnd, resolveAnimationStart, resolveAnimationWheelSpokeCount, resolveAudienceScreenPlacement, resolveAuthoredCustomShowId, resolveAuthoredSlideRange, resolveAutoAdvanceDelayMs, resolveAutoFitFontScale, resolveAutosaveActivation, resolveAutosaveFileKey, resolveAutosaveIntervalMs, resolveAutosaveIntervalSeconds, resolveBlockFont, resolveBuildingBlockMode, resolveChartBuildMode, resolveChartFormatTarget, resolveChartRevealDescriptor, resolveChartThreeViewSpec, resolveCloudDocumentView, resolveCollaborationConfig, resolveCollaborationShellEditability, resolveCollaborationShellState, resolveColorAnimationTargets, resolveColorChangedImageSource, resolveConnectorEndpointUpdate, resolveCssProperties, resolveCssTextAlign, resolveCustomShowStart, resolveCustomization, resolveDefaultPrintSettings, resolveDiagramBuildMode, resolveDiagramRevealDescriptor, resolveDirection, resolveDirection8, resolveDisplaySlideNumber, resolveDrawingShapeNodeId, resolveEastAsianBreakOptions, resolveEditPointsAvailability, resolveEffect, resolveEffectiveEndCondition, resolveEffectiveGoogleFonts, resolveEffectiveHiddenActions, resolveEffectiveStartCondition, resolveElementActionAffordance, resolveElementAriaAttributes, resolveElementHighlightClick, resolveElementOutline, resolveEmbeddedFontClearBytes, resolveExpiredAutosaveSnapshots, resolveExportBaseName, resolveExportCaptureDecision, resolveFieldDateText, resolveFilterEffect, resolveFilterPresetSubtype, resolveFontDownloadBase, resolveFontKerning, resolveFontRefIdx, resolveFontVariant, resolveForwardSlideWithZoomReturn, resolveGoogleWebfontHref, resolveGroupChildFill, resolveGroupDoubleClickTarget, resolveGroupPressTarget, resolveHighlightClickForElementId, resolveHistoryDepth, resolveHyperlinkEditResult, resolveHyperlinkTargetAttrs, resolveImageResolutionPpi, resolveImageResolutionScale, resolveInitialSlideIndex, resolveInlineEditAutoFitHeight, resolveInlineEditNormAutofitShrink, resolveInsertSlideLayout, resolveInsertedFieldText, resolveInspectorSections, resolveKeyboardCustomization, resolveLayoutFamily, resolveLineHeight, resolveMediaBookmarkTimesMs, resolveMediaTimeNodeElementIds, resolveMetricTracking, resolveMetricTrackingPx, resolveMorphCrossfadeGroups, resolveMorphGhostIds, resolveMorphOverlayArrivals, resolveMorphOverlayLayers, resolveMorphOverlayStack, resolveNotesLevelStyle, resolveNotesSchematicBodyFontSizePx, resolveNotesSegments, resolveOleEditorKind, resolveOleType, resolveOleVerbTarget, resolveOnlineVideoEmbed, resolveOptionRootClasses, resolveOrientation, resolvePalette, resolveParagraphAlign, resolveParagraphBaseline, resolveParagraphBaselineShift, resolveParagraphRtl, resolveParagraphSpacing, resolveParagraphStrutFontSize, resolvePresentationAction, resolvePresentationClick, resolveProfileInitial, resolveReadOnlyBadge, resolveReportedViewerMode, resolveRevealedChartData, resolveRevealedDrawingShapeNodeIds, resolveRevealedDrawingShapes, resolveRevealedSmartArtNodes, resolveRunEquation, resolveRunFont, resolveRunHyperlink, resolveRunRuby, resolveSchemeColor, resolveScreenTip, resolveSecondaryAxisId, resolveSelectionPaneRename, resolveShadeToTitleBackgroundImage, resolveShadeToTitleRect, resolveShapeGeometry, resolveShowBackward, resolveShowForward, resolveShowSlideIndexes, resolveSlideOutlineElements, resolveSlidePaneClick, resolveSlideShowSettings, resolveSlideSizeSelection, resolveSlideTitle, resolveSlideTransition, resolveSmartArt3DLayout, resolveSmartArtThreeViewSpec, resolveStageEdgeBleeds, resolveStatusBarSave, resolveStepBuildDescriptor, resolveStyleDiagonalBorders, resolveSummaryZoomNavigation, resolveSummaryZoomTileNavigationTarget, resolveTableStyleCell3D, resolveTableStyleEntry, resolveTemplateBackgroundRows, resolveTextAlignLast, resolveTextBodyColumns, resolveTextBodyRectPadding, resolveTextOutlineDashCss, resolveTextOverflowClip, resolveTextStyleAnimation, resolveTextStyleOnCleanup, resolveTitleBarStatusKey, resolveTitleBarStrip, resolveTrackedTextWidth, resolveTransitionDurationMs, resolveTransitionSoundAction, resolveTransportForServerUrl, resolveUnderlineDecorationStyle, resolveUnderlineLineDecoration, resolveUnlistedChartFormatTarget, resolveVertOverflowEllipsisStyle, resolveVerticalAnchorJustifyContent, resolveViewerAddinRows, resolveViewerAddinStatus, resolveViewerRootOptions, resolveViewportFitOptions, resolveVisibleRibbonTabs, resolveWarpRunPaint, resolveWheelSpokeCount, resolveZoomExcursionEndIndex, resolveZoomNavigationTarget, restoreCrossedTheme, restoreEditorKeyboardFocus, restoreFilteredSeries, restoreInlineListBodySelection, restoreParagraphMetadata, restoreSegmentSelection, restoreSessionDeck, restoreUnlockedOptions, resumeAllPersistentAudio, revealComment, revealedElementStyles, revealedSmartArtNodeCount, revealedStageCount, rgbToHex, rgbToHsl, rgbaToHex, ribbonAddInControlId, ribbonAddInGroupViews, ribbonControlAttrs, ribbonCustomizationCss, ribbonDisplayLayout, ribbonDisplayMenu, ribbonGroupAttrs, ribbonGroupOfControl, ribbonGroupViews, ribbonTransitionStockSoundUrl, ribbonTransitionTargets, ribbonTransitionUpdates, ribbonTransitionsDraftPatch, ribbonTransitionsSoundChange, roundedRectOutline, routeEditLayerPointerToNodes, rowHandleSegments, rowIndexAtOffset, rulerDragToGuidePosition, runBuildingBlockToolbarControl, runEditPointsCommand, runEquationMathMl, runMediaCommand, runPresentationAction, runProgramNoticeStackStyle, runProgramNoticeStackStyleAttr, runReadOnlyPasswordCheck, runReviewCommentCommand, runRibbonAddInCommand, safeColor, sameArray, sameHex, sameRegionContext2 as sameRegionContext, sameRenderer2 as sameRenderer, sampleColorFromSlide, sampleImageCropMorphSteps, sampleWarpPresetCurve, sampleWarpPresetXExtent, sanitizeAvatarUrl, sanitizeColor, sanitizeCssDeclaration, sanitizeDownloadFilename, sanitizeMathMl, sanitizeOrientation, sanitizePixelDimension, sanitizePresence, sanitizeSlideIndex, sanitizeUserName, saveAutosaveSnapshot, saveDeckWithPassword, saveElementAsPicture, saveFailureMessage, saveProgressStatus, saveViewerProfile, savedPresentationFileName, savedPresentationRevision, scaleFontSizeForAutoFit, scanAvailableFontFamilies, scheduleAutoAdvanceChain, scheduleMediaTrimAndFade, scopeSvgIds, scrollInspectorSectionIntoView, sectionAddAfterSlideIndex, sectionContextMenuLabelKey, secureRandomToken, secureRandomUuid, seedBroadcastFields, seedHyperlinkDraft, seedPlainInlineText, seedRecentColors, seedShareFields, seedShareSessionFields, segmentStyleToCss, segmentsToEditorHtml, segmentsToParagraphs, segmentsToPlainText, select, selectGoogleWebfontCandidates, selectSorterSlide, selectTrustedEmbeddedFonts, selectedBookmarkOptionValue, selectedParagraphBulletKind, selectionBounds, selectionBulletKind, selectionEquation, serializeElementClipboard, serializeShapeAdjustments, serializeSvgPath, seriesColorClearState, seriesSecondaryAxisPatch, setCachedResult, setDataLabelsRangeCache, setDuotoneCachedResult, setEditNodeType, setEditSegmentKind, setEffectSound, setEffectStockSound, setMasterViewBackgroundColor, setMotionPath, setMotionPathEnd, setPendingCaretPoint, setPendingSelectionRestore, setSelectionBullets, setTriggerBookmark, setUpSlideShowGroup, settleBaselines, settleThemeWrites, shapeGalleryItem, shapeGalleryItemForValue, shapeGallerySections, shapeQuickStyleLabel, shapeQuickStylePatch, shapeStyleWithoutFormatting, shapeThumbnailPath, shapeTileSvg, sheetAfterNavigate, shortcutsGroup, shortestRotationTarget, shouldAutoFollowBroadcaster, shouldAutoHide, shouldClearAutosaveCacheOnClose, shouldCommitSmartArtNodeText, shouldConfirmExternalHyperlink, shouldDiscardAutosaveOnSuccessfulSave, shouldGeometryMorph, shouldLoopContinuously, shouldOpenInProtectedView, shouldProbeAutosaveRecovery, shouldRenderHitTarget, shouldSeekAnimationGroup, shouldShowAccessibilitySection, shouldShowAutosaveRecoveryPrompt, shouldShowElementHandles, shouldShowMediaFullscreenStopButton, shouldStickyActionRow, shouldUseSvgWarp, shouldWriteAutosaveSnapshot, siblingCount, siblingIndex, signedLoopArea, signedPercent, simplifyFreeformVertices, simplifyLoop, slideAnimatedElementIds, slideBackgroundClearPatch, slideBackgroundClearState, slideClipboardLabels, slidePaneContextMenuLabelKey, slidePaneViewItems, slideProgressPercent, slideShowOptionChange, slideSizeFromCanvasPx, slideSizeFromPreset, slideSizeOrientation, slideSizeToCanvasPx, slideSorterContextMenuLabel, slideSorterPasteIndexes, slideStatusLabel, slideThumbnailLayout, slideThumbnailTransitionBadge, slideThumbnailTransitionBadgeStyle, slidesHomeControls, slidesPaneRehearsalTimings, smartArtCategoryDescriptionKey, smartArtCategoryLabelKey, smartArtConnectorPaint, smartArtLayoutLabel, smartArtLayoutSwitchPatch, smartArtNodeAriaLabel, smartArtNodeAtPoint, smartArtNodeLabel, smartArtPresetLabelKey, smartArtTextPaneLabels, smartArtTextPaneView, smartArtThreeViewSpec, snapBoxToGrid, snapMoveToSpanGuides, softEdgeStateOf, solveShapeAdjustmentValue, solveShapeAdjustments, sortEntranceAnimations, sorterGridColumns, sorterMenuContext, sorterPasteInsertAt, sorterSelectionIndexes, spaceBeforeCaretRange, splitCubic, splitEastAsianBreaks, splitEastAsianRunPieces, splitRegionComponents, splitRunByScriptFont, splitRunForMetrics, splitStyledRun, splitWordsForUnderline, splitsUnderlineIntoWords, stageKeepsElementIds, startCropSession, startMediaAutoplay, startRotationFrame, statusBarState, statusBarViewMode, stepPresenterZoom, stitchContinuousGradientFill, stopAllPersistentAudio, storeAudienceContent, storePresentationDeck, stripEditLayerMarkers, stripElementIdMarkers, stripUnderlineDecoration, strokeToInkElement, styleShadowFilter, substituteFieldText, subtitleLanguageLabel, subtitleRecognitionLanguage, subtitleSettingsFromOptions, subtitleSettingsLabels, supportsAltTextField, supportsCssLinearEasing, supportsTitleField, surfaceVertexWorldPosition, surfaceWireframePatch, svgArcToCubics, svgId, svgTile, svgToDataUrl, swapPresentationWindows, switchSmartArtLayoutData, syncFindHighlights, syncGoogleWebfontStylesheet, tabRowActionsAttributes, tableCellCss, tableCellFillColorCommitPatch, tableCellPointerIntent, tableCellTextColorCommitPatch, tableContainerCss, tableFrameCss, tableInspectorPatch, tableInspectorStateOf, tableLayoutCells, takePendingCaretPoint, templateSchemeFromTheme, text3dEmuToPt, text3dFieldsPatch, text3dInheritsFromTemplate, text3dPtToEmu, text3dStylePatch, textAdvancedPatch, textAdvancedStateFromStyle, textAdvancedStateOf, textBuildSpanStyle, textControl, textDirectionPatch, textRectCentreX, textRunColor, textWarpStyle, textWrapOf, textWrapPatch, themeColorGridCommit, themeColorGridView, themePartWrites, themeShapeStyleXml, threeViewStateOf, tileRectToSourceRect, tileSpecFromShapeStyle, timingCurveToCss, titleBarCssVars, titleBarStyleAttr, titleBarTone, toCssTextOrientation, toCssVerticalDirection, toCssWritingMode, toElementAxes, toGestureTransform, toHostSignatureInfo, toSlideIndex, toggle, toggleBlackboard, toggleCommentResolvedInList, toggleInList, togglePresenterTimer, toggleRibbonCollapsed, toggleSelectionBullets, toggleSheet, toggleStageElementMedia, toggleText3dExtrusion, toggleText3dExtrusionPatch, tokenizeText, toleranceToThreshold, traceGlyphOutlineCommands, trackActiveComment, transformConnectionSite, transformInlineListCase, transitionSoundOptions, transitionSoundSelectedValue, transitionStockSoundId, transitionTemplateElements, transitionsLabel, translateChartFormatText2 as translateChartFormatText, translateMotionPath, travelledBox, trimCommentMentions, trimmedMediaDurationMs, updateGlowPatch, updateGradientStopPatch, updateInnerShadowPatch, updateMasterViewElement, updateOuterShadowPatch, updateReflectionPatch, updateSubtitleSettings, updateTagInCollections, updateViewerPreference, vAlignPatch, validateHostImageFile, validateHostMediaFile, validateMediaTrimRange, validateOpenPassword, validatePasswordPair, validateRoomId, validateSlideShowSettings, viewLabel, viewPropertiesPatchFromPreferences, viewerOptionsToPreferences, viewerPreferencesFromViewProperties, viewerZoomPercent, visibleContextualTabs, visibleRibbonAddIns, warpFitCapacity, warpFitScale, warpParagraphLayouts, warpPreviewPath, wasWrittenByThisPage, wheelDecl, wireMediaBookmarkSteps, wireMediaEndedSteps, withChartUserShapeGroupChildAdded, withChartUserShapeRowChartBoxUpdated, withChartUserShapeRowFlipUpdated, withChartUserShapeRowRemoved, withChartUserShapeRowRotationUpdated, withChartUserShapeRowTextUpdated, withChartUserShapeRowUpdated, withConnectorEndpointUpdate, withHistoryMasterThemes, withHistoryTheme, withHomeGalleries, withInlineListDecorationDefaults, withNodeAtPath, withRecordEntry, withSaveFailureToast, withSaveProgress, withSlideSizeOrientation, wrapEnvelopeParagraph, wrapForeignObjectSvg, wrapNotesText, writeBackReport, writeElementParagraphs, writeStoredViewerPrefs, writeThemeParts, zeroDelayCssAnimation, zoomInPercent, zoomInScale, zoomOutPercent, zoomOutScale };