pptx-react-viewer 4.27.0 → 4.29.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 (128) hide show
  1. package/CHANGELOG.md +46 -0
  2. package/README.md +3 -0
  3. package/dist/{AiChatPanel-3J6XGIJ4.mjs → AiChatPanel-6EIOUV7J.mjs} +2 -2
  4. package/dist/AiChatPanel-6EIOUV7J.mjs.br +0 -0
  5. package/dist/AiChatPanel-6EIOUV7J.mjs.gz +0 -0
  6. package/dist/{AiChatPanel-EGTSK4T5.js → AiChatPanel-AK6X4NJD.js} +10 -10
  7. package/dist/AiChatPanel-AK6X4NJD.js.br +0 -0
  8. package/dist/AiChatPanel-AK6X4NJD.js.gz +0 -0
  9. package/dist/{Model3DScene-2V2GQ6FY.mjs → Model3DScene-EZDCI7TT.mjs} +1 -1
  10. package/dist/Model3DScene-EZDCI7TT.mjs.br +0 -0
  11. package/dist/Model3DScene-EZDCI7TT.mjs.gz +0 -0
  12. package/dist/{Model3DScene-Q3XEZSWV.js → Model3DScene-KYIYYLMY.js} +1 -1
  13. package/dist/Model3DScene-KYIYYLMY.js.br +0 -0
  14. package/dist/Model3DScene-KYIYYLMY.js.gz +0 -0
  15. package/dist/{chunk-ZK7UEEXE.mjs → chunk-6YOFWVII.mjs} +83 -80
  16. package/dist/chunk-6YOFWVII.mjs.br +0 -0
  17. package/dist/chunk-6YOFWVII.mjs.gz +0 -0
  18. package/dist/{chunk-5RQTZ376.js → chunk-7JMO6R6B.js} +394 -391
  19. package/dist/chunk-7JMO6R6B.js.br +0 -0
  20. package/dist/chunk-7JMO6R6B.js.gz +0 -0
  21. package/dist/chunk-CTL42ZRR.js +4238 -0
  22. package/dist/chunk-CTL42ZRR.js.br +0 -0
  23. package/dist/chunk-CTL42ZRR.js.gz +0 -0
  24. package/dist/{chunk-QGM4M3NI.js → chunk-DFFCFNK2.js} +2 -0
  25. package/dist/chunk-DFFCFNK2.js.br +0 -0
  26. package/dist/chunk-DFFCFNK2.js.gz +0 -0
  27. package/dist/{chunk-34AXBLYH.mjs → chunk-EW45F35P.mjs} +80 -78
  28. package/dist/chunk-EW45F35P.mjs.br +0 -0
  29. package/dist/chunk-EW45F35P.mjs.gz +0 -0
  30. package/dist/{chunk-6DZX6EAA.mjs → chunk-GDQSMJQZ.mjs} +2 -1
  31. package/dist/chunk-GDQSMJQZ.mjs.br +0 -0
  32. package/dist/chunk-GDQSMJQZ.mjs.gz +0 -0
  33. package/dist/{chunk-MQCBMO6A.js → chunk-K3EGXT6W.js} +261 -259
  34. package/dist/chunk-K3EGXT6W.js.br +0 -0
  35. package/dist/chunk-K3EGXT6W.js.gz +0 -0
  36. package/dist/chunk-VI575UU6.mjs +3897 -0
  37. package/dist/chunk-VI575UU6.mjs.br +0 -0
  38. package/dist/chunk-VI575UU6.mjs.gz +0 -0
  39. package/dist/i18n.js +1 -1
  40. package/dist/i18n.js.br +2 -2
  41. package/dist/i18n.js.gz +0 -0
  42. package/dist/i18n.mjs +1 -1
  43. package/dist/i18n.mjs.br +0 -0
  44. package/dist/i18n.mjs.gz +0 -0
  45. package/dist/index.d.ts +17 -0
  46. package/dist/index.js +25 -25
  47. package/dist/index.js.br +0 -0
  48. package/dist/index.js.gz +0 -0
  49. package/dist/index.mjs +4 -4
  50. package/dist/index.mjs.br +0 -0
  51. package/dist/index.mjs.gz +0 -0
  52. package/dist/internals.d.ts +11 -1
  53. package/dist/internals.js +82 -82
  54. package/dist/internals.js.br +0 -0
  55. package/dist/internals.js.gz +0 -0
  56. package/dist/internals.mjs +3 -3
  57. package/dist/internals.mjs.br +0 -0
  58. package/dist/internals.mjs.gz +0 -0
  59. package/dist/{three.module-A6ACXOES.mjs → three.module-2R4ADL7W.mjs} +1 -1
  60. package/dist/three.module-2R4ADL7W.mjs.br +0 -0
  61. package/dist/three.module-2R4ADL7W.mjs.gz +0 -0
  62. package/dist/{three.module-IORLGCSX.js → three.module-LS32MK23.js} +1 -1
  63. package/dist/three.module-LS32MK23.js.br +0 -0
  64. package/dist/three.module-LS32MK23.js.gz +0 -0
  65. package/dist/viewer/index.d.ts +17 -0
  66. package/dist/viewer/index.js +20 -20
  67. package/dist/viewer/index.js.br +0 -0
  68. package/dist/viewer/index.js.gz +0 -0
  69. package/dist/viewer/index.mjs +4 -4
  70. package/dist/viewer/index.mjs.br +0 -0
  71. package/dist/viewer/index.mjs.gz +0 -0
  72. package/dist/{y-webrtc-F5IA7T5S.mjs → y-webrtc-6DZI5KUK.mjs} +1 -1
  73. package/dist/y-webrtc-6DZI5KUK.mjs.br +0 -0
  74. package/dist/y-webrtc-6DZI5KUK.mjs.gz +0 -0
  75. package/dist/{y-webrtc-6LID3XZO.js → y-webrtc-OTRGEYOH.js} +5 -5
  76. package/dist/y-webrtc-OTRGEYOH.js.br +0 -0
  77. package/dist/y-webrtc-OTRGEYOH.js.gz +0 -0
  78. package/dist/{y-websocket-HOY2HFMH.js → y-websocket-AWBYMAHL.js} +1 -1
  79. package/dist/y-websocket-AWBYMAHL.js.br +0 -0
  80. package/dist/y-websocket-AWBYMAHL.js.gz +0 -0
  81. package/dist/{y-websocket-VGLBV2HJ.mjs → y-websocket-VAKUVRQT.mjs} +1 -1
  82. package/dist/y-websocket-VAKUVRQT.mjs.br +0 -0
  83. package/dist/y-websocket-VAKUVRQT.mjs.gz +0 -0
  84. package/package.json +4 -3
  85. package/dist/AiChatPanel-3J6XGIJ4.mjs.br +0 -0
  86. package/dist/AiChatPanel-3J6XGIJ4.mjs.gz +0 -0
  87. package/dist/AiChatPanel-EGTSK4T5.js.br +0 -0
  88. package/dist/AiChatPanel-EGTSK4T5.js.gz +0 -0
  89. package/dist/Model3DScene-2V2GQ6FY.mjs.br +0 -0
  90. package/dist/Model3DScene-2V2GQ6FY.mjs.gz +0 -0
  91. package/dist/Model3DScene-Q3XEZSWV.js.br +0 -2
  92. package/dist/Model3DScene-Q3XEZSWV.js.gz +0 -0
  93. package/dist/UTIF-RPFRSSC5.mjs +0 -6400
  94. package/dist/UTIF-RPFRSSC5.mjs.br +0 -0
  95. package/dist/UTIF-RPFRSSC5.mjs.gz +0 -0
  96. package/dist/UTIF-XWCKRN6V.js +0 -6402
  97. package/dist/UTIF-XWCKRN6V.js.br +0 -0
  98. package/dist/UTIF-XWCKRN6V.js.gz +0 -0
  99. package/dist/chunk-34AXBLYH.mjs.br +0 -0
  100. package/dist/chunk-34AXBLYH.mjs.gz +0 -0
  101. package/dist/chunk-5RQTZ376.js.br +0 -0
  102. package/dist/chunk-5RQTZ376.js.gz +0 -0
  103. package/dist/chunk-6DZX6EAA.mjs.br +0 -0
  104. package/dist/chunk-6DZX6EAA.mjs.gz +0 -0
  105. package/dist/chunk-MQCBMO6A.js.br +0 -0
  106. package/dist/chunk-MQCBMO6A.js.gz +0 -0
  107. package/dist/chunk-QGM4M3NI.js.br +0 -0
  108. package/dist/chunk-QGM4M3NI.js.gz +0 -0
  109. package/dist/chunk-TYJZJJZ6.mjs +0 -208183
  110. package/dist/chunk-TYJZJJZ6.mjs.br +0 -0
  111. package/dist/chunk-TYJZJJZ6.mjs.gz +0 -0
  112. package/dist/chunk-WK6JBJCT.js +0 -208548
  113. package/dist/chunk-WK6JBJCT.js.br +0 -0
  114. package/dist/chunk-WK6JBJCT.js.gz +0 -0
  115. package/dist/chunk-ZK7UEEXE.mjs.br +0 -0
  116. package/dist/chunk-ZK7UEEXE.mjs.gz +0 -0
  117. package/dist/three.module-A6ACXOES.mjs.br +0 -0
  118. package/dist/three.module-A6ACXOES.mjs.gz +0 -0
  119. package/dist/three.module-IORLGCSX.js.br +0 -0
  120. package/dist/three.module-IORLGCSX.js.gz +0 -0
  121. package/dist/y-webrtc-6LID3XZO.js.br +0 -0
  122. package/dist/y-webrtc-6LID3XZO.js.gz +0 -0
  123. package/dist/y-webrtc-F5IA7T5S.mjs.br +0 -0
  124. package/dist/y-webrtc-F5IA7T5S.mjs.gz +0 -0
  125. package/dist/y-websocket-HOY2HFMH.js.br +0 -0
  126. package/dist/y-websocket-HOY2HFMH.js.gz +0 -0
  127. package/dist/y-websocket-VGLBV2HJ.mjs.br +0 -0
  128. package/dist/y-websocket-VGLBV2HJ.mjs.gz +0 -0
@@ -1,6 +1,6 @@
1
- import { useViewerOptions, useReadOnlyRecommendationState, useCompatibilityToastsState, useReducedMotion, useViewerState, useIsMobile, useResizablePanels, useDerivedSlideState, useZoomViewport, useEditorHistory, usePresentationSetup, useTouchGestures, useViewerDialogs, useEditorOperations, useViewerIntegration, useViewPreferencesSync, useLayoutSwitching, Rendering3DFlagsContext, CollaborationProvider, useCollaboration, useCollaborationDocumentSync, useFollowMode, useBroadcastFollower, SlideBackgroundImageLayer, StaticElementRenderer, safePrompt, scopeLayoutOptionsToActiveSlide, ChartPartSelectionProvider, useToolbarVisibility, useKeyboardInsets, useModalDismissDrag, ViewerOptionsStoreContext, ViewerOptionsContext, useViewerOptionsContext, useVirtualizedSlides, useSwipeNavigation, PresentationTransitionOverlay, RemoteSelectionOverlay, CollaborationCursorOverlay, useSheetDismissDrag, detectTargetType, parseEmailUrl, parseSlideFromUrl, ACTION_VERB_MAP, ElementRenderer, InlineCollaborationContext, SmartArtRenderer, downloadBlob, playAnimationSound, ResizeHandles, imgSrc, renderStrokeView, useChartPartSelection, DUOTONE_PRESETS, getSlideTransitionAnimations, SLIDE_TRANSITION_KEYFRAMES, resolveSmartArtDataPalette } from './chunk-34AXBLYH.mjs';
2
- import { ANIMATION_PRESET_OPTIONS, SWITCHABLE_LAYOUT_TYPES, buildThemeColorMap, cn, SLIDE_NAV_THUMBNAIL_WIDTH, SLIDE_TRANSITION_OPTIONS, normalizeHexColor, hasCopyableFormat, DEFAULT_SECTION_GROUP_ID, safeOpenUrl, isPpactionUrl, parsePpactionUrl, themeColorSchemesEqual, SHORTCUT_REFERENCE_ITEMS as SHORTCUT_REFERENCE_ITEMS$1, TOOLBAR_SECTIONS, hasTextProperties, hasShapeProperties, isUrlSafe, computeHandoutLayout, getPrintableArea, generateNoteLineCount, UNGROUPED_SECTION_ID, getShapeAdjustmentHandleDescriptors, isConnectorOrLineElement, GRID_SIZE, getElementTransformWithoutRotation, getElementTransform, MIN_ELEMENT_SIZE, isImageLikeElement, getElementLabel, TABLE_STYLE_PRESETS, setChartAxisLogScale, setChartAxisTitleStyle, setChartAxisGridlineStyle, setChartSeriesMarker, setChartSeriesChartType, setChartDataPointFill, setChartDataPointExplosion, setChartDataPointMarker, setChartDataPointLabel, getOleObjectTypeLabel, SHAPE_PRESETS, sanitizeGradientStops, pptxActionToElementAction, THEME_COLOR_SCHEME_KEYS, applyThemeOverrideToSlide, COLOR_MAP_ALIAS_KEYS, DEFAULT_COLOR_MAP, TRANSITION_VALID_DIRECTIONS, TRANSITION_PATTERN_OPTIONS, TRANSITION_THRUBLK_TYPES, formatCommentTimestamp, normalizeTableStyleGuid, updateMergeAttrsInRawXml, addSmartArtNodeAsChild, setSmartArtNodeStyle, removeSmartArtNode, updateSmartArtNodeText, clampCropValue, CONNECTOR_ARROW_OPTIONS, ARROW_SIZE_OPTIONS, applyOleSheetCellEdit, getOleSheetGrid, applyOleDocumentParagraphEdit, getOleDocumentParagraphs, applyOleNestedDeckElementTextEdit, getOleNestedDeckDetail, replaceOleFile, DEFAULT_FILL_COLOR, elementActionToPptxAction, startMotionPathPreview, startPreviewAnimation, stopPreviewAnimation, createTableStyleEntry, addTableStyleToMap, deleteTableStyleFromMap, SHAPE_QUICK_STYLES, getPatternSvg, DEFAULT_STROKE_COLOR, STROKE_DASH_OPTIONS, openNativeEyeDropper } from './chunk-TYJZJJZ6.mjs';
3
- import { EMPTY_RESOLVED_CUSTOMIZATION, ANIMATION_DIRECTION_LABEL_KEYS, compileEquationTemplateMathMl, buildUserFontFaceStyles, readStoredViewerPrefs, resolveThemeCatalogEntry, THEME_CATALOG, writeStoredViewerPrefs, openPptxFile, readBackstageRecentFile, isFeatureEnabled, isDialogAvailable, resolveAutosaveActivation, viewerOptionsToPreferences, applyPreferenceToOptions, resolveHistoryDepth, applyAutoCorrect, resolveImageResolutionScale, resolveAutosaveIntervalMs, resolveAutosaveIntervalSeconds, isPanelVisible, shouldShowAutosaveRecoveryPrompt, resolveOptionRootClasses, RIBBON_SCOPE_ATTR, resolve3DRenderingFlags, resolveSlideSizeSelection, RULER_THICKNESS, RULER_FONT_SIZE, editorThumbnailHeight, buildPreviewElements, deriveSlideFieldContext, hiddenSlideCue, EDITOR_THUMBNAIL_WIDTH, HIDDEN_SLIDE_SLASH_GRADIENT, HIDDEN_SLIDE_LABEL_KEY, visibleTemplateElements, themeToCssVars, createCustomizationController, resolveEffectiveHiddenActions, listAutosaveSnapshots, resolveExpiredAutosaveSnapshots, deleteAutosaveSnapshot, masterViewCrudActions, applyMasterViewCrudAction, masterViewCrudFailureKey, EDITOR_CHROME_CSS, ribbonCustomizationCss, applyMotionPathPreset, resetSlideLayoutPath, DEFAULT_INSERT_CHART_KIND, templateSchemeFromTheme, createBackstagePresentation, playFeedbackSound, shouldDiscardAutosaveOnSuccessfulSave, setMasterViewBackgroundColor, canUseClipboard, runProgramNoticeStackStyle, printPropertiesFrameSlides, printPropertiesSlidesPerPage, PASTE_SPECIAL_OPTIONS, findCanvasElementNode, getDensePanelTouchTargetPx, shouldStickyActionRow, customizeOptionsTabs, VIEWER_OPTIONS_TABS, isOptionsPageVisible, DEFAULT_QUICK_ACCESS_COMMAND_IDS, isHeaderFooterDateTextVisible, isHeaderFooterHeaderTextVisible, isHeaderFooterFooterTextVisible, buildJoinCollaborationConfig, buildCreateCollaborationConfig, generateBroadcastRoomId, DEFAULT_BROADCAST_SERVER_URL, buildBroadcastViewerUrl, resolveTransportForServerUrl, getSlideBackgroundStyle, pushRecentColor, mruColorsPatch, shouldClearAutosaveCacheOnClose, canCropElement, cropSessionChanged, cancelCropUpdate, startCropSession, homeLaunchers, attachRibbonOverflow, editorThumbnailWidth, masterViewBackgroundColor, buildFieldSubstitutionContext, shouldConfirmExternalHyperlink, resolvePresentationAction, isPresentationAdvanceClick, toggleBlackboard, PRESENT_TOOLBAR_CLASSES, resolveEditPointsAvailability, isCurrentLayout, observeElementHeight, EXPANDED_MAX_HEIGHT, resolveStatusBarSave, statusBarViewMode, formatVersionTimestamp, formatRelativeTime, scanAvailableFontFamilies, PRESETS, CATEGORIES, convertOmmlToLatex, compileLatexEquation, convertLatexToOmml, EQUATION_TEMPLATES, clampPercent, resolveDefaultPrintSettings, HANDOUT_OPTIONS, TOOLBAR_TABS, SHORTCUT_REFERENCE_ITEMS, resolveViewerAddinRows, availableQuickAccessCommands, addQuickAccessCommand, removeQuickAccessCommand, moveQuickAccessCommand, CUSTOM_FONT_ACCEPT, activateModalFocus, buildCollaborationShareUrl, buildActiveSessionUsers, SORTER_MIN_ZOOM, SORTER_ZOOM_STEP, SORTER_MAX_ZOOM, canGoPrevious, formatSlideCounter, READING_VIEW_COUNTER_ATTR, canGoNext, READING_VIEW_ATTR, OUTLINE_LEVEL_ATTR, OUTLINE_SLIDE_ATTR, OUTLINE_ROW_ATTR, OUTLINE_VIEW_ATTR, mobileElapsedSince, nextPresentedSlide, presenterPrevDisabled, presenterNextDisabled, formatMobileElapsed, mobileSlideCounter, presenterPaneAdvancesOnClick, presenterTimerProgress, PRESENTER_CONSOLE_CLASSES, formatElapsed, cropModeKeyAction, buildTitleBarState, resolveScreenTip, visibleContextualTabs, resolveActiveRibbonTab, contextualTabLabelKey, RIBBON_CONTEXTUAL_TAB_ATTR, TAB_ROW_ACTION_CLASSES, customizeBackstageNav, BACKSTAGE_NAV, listBackstageRecentFiles, BACKSTAGE_BACK_CLASSES, BACKSTAGE_NAV_CLASSES, FREEFORM_TOOL_IDS, isDrawingToolVisible, textFontSizePtToPx, withHomeGalleries, drawingHomeControls, homeGalleryControls, homeGalleryApply, shapeOutlineChange, shapeFillChange, editingHomeControls, arrangeHomeControls, arrangePainterHomeControls, arrangeAlignAction, DESIGN_RIBBON_GROUPS, DESIGN_RIBBON_COMMANDS, designCommandState, FIXED_TAB_GALLERIES, CONTEXTUAL_TAB_GROUPS, editorThumbnailStep, resolveSlidePaneClick, SLIDE_VIRTUALIZATION_THRESHOLD, buildSectionContextMenuEntries, buildSlidePaneContextMenuEntries, slidePaneViewItems, isEditPointsEnabled, PRESENTATION_HIT_TEST_CSS, PRESENTATION_STAGE_ATTRIBUTE, buildStrokePathD, cursorForTool, annotationOverlayZIndex, presentationInkPath, resolveNotesSchematicBodyFontSizePx, PRESENTER_NAVIGATOR_LABEL_KEYS, getPresentationContextMenuSections, CONTEXT_MENU_PRESENTATION_LAYER, presentationViewItems, subtitleRecognitionLanguage, subtitleSettingsFromOptions, getSpeechRecognitionCtor, mergeCaptionResults, customizeContextMenuEntries, buildContextMenuEntries, contextMenuViewItems, customizeCanvasContextMenuEntries, buildCanvasContextMenuEntries, buildLayoutPreviewGeometry, scaleSlidesForSizeChange, slideSizeToCanvasPx, resolveSelectionPaneRename, themeEditorLabels, resolveNotesSegments, defaultRichEnabled, segmentsToEditorHtml, DEBOUNCE_MS, createPlainNotesSegments, parseSegmentsFromRichEditor, segmentsToPlainText, getCurrentParagraphIndex, segmentsToParagraphs, paragraphsToSegments, MAX_INDENT_LEVEL, INDENT_PX as INDENT_PX$1, buildNotesPrintHtml, MIN_TOUCH_TARGET_PX, toggleSheet, SMARTART_PREVIEW_ELEMENT_HEIGHT, SMARTART_PREVIEW_ELEMENT_WIDTH, buildSmartArtPreviewElement, sanitizeMathMl, computeAllNotesPages, getNotesPrintableArea, clampOptionNumber, QUICK_ACCESS_COMMAND_CATALOG, registerCustomFont, createSlideSorterState, sorterSelectionIndexes, selectSorterSlide, applySorterAction, slideSorterPasteIndexes, sorterGridColumns, sorterMenuContext, buildSlideSorterContextMenuEntries, slideSorterContextMenuLabel, openReadingView, applyReadingViewCommand, createPresentationKeyBuffer, readingViewFitScale, READING_VIEW_STAGE_ATTR, buildOutline, applyOutlineEdit, mapOutlineKey, notesSegmentsToSpans, erasePresentationInkAt, movePresenterPointer, appendPresentationInkPoint, presenterConsoleAction, presenterConsoleViewState, NOTES_FONT_SIZE_DEFAULT, formatTime, NOTES_FONT_SIZE_MIN, clampNotesFontSize, NOTES_FONT_SIZE_STEP, NOTES_FONT_SIZE_MAX, BACKSTAGE_TEMPLATES, formatBackstageDate, formatBackstageSize, customizeBackstageCards, backstageCardsFor, DEFAULT_VIEWER_PROFILE, resolveProfileInitial, AVATAR_COLOR_SWATCHES, clipboardHomeControls, slidesHomeControls, resolveDefaultFontFamily, textFontSizePxToPt, getInlineEditorSelectionResult, selectedParagraphBulletKind, elementBulletKind, selectionBulletKind, fontPickerHomeControls, fontHomeControls, nextToggleValue, RIBBON_GROUP_ATTR, paragraphHomeAlign, paragraphHomeControls, paragraphHomeAction, arrangeShapeHomeControls, strokeWidthOf, canSetStrokeWidth, canUngroupSelection, canGroupSelection, parseCropValue, buildRibbonGallery, readRibbonTransitionDraft, SLIDE_SHOW_COMMAND_GROUPS, RECORD_COMMAND_GROUPS, buildReviewRibbon, HELP_RIBBON_COMMANDS, galleryTextLabel, sectionAddAfterSlideIndex, masterViewPseudoSlide, PRESENTATION_ANIM_TRIGGER_ATTRIBUTE, parentSelection, slideSpaceElement, isGroupMember, motionPathFor, setMotionPath, shouldShowElementHandles, computeAnchoredPopupPosition, applyTableStyleDelete, applyTableStyleMapChange, handleReadingViewKey, getLocalStorageUsageSummary, saveViewerProfile, clearAllLocalViewerData, SLIDE_TEMPLATES, getSelectionTextStyleFlags, TEXT_DECORATION_FLAGS, applyRibbonGalleryItem, ribbonTransitionsDraftPatch, ribbonTransitionUpdates, ribbonTransitionsSoundChange, ribbonTransitionStockSoundUrl, playSlideTransitionPreview, playAnimationRibbonPreview, SLIDE_SHOW_OPTIONS, createViewerOptionsStore, subtitleSettingsLabels, attachEditorImagePaste, authorConnectorBetweenSites, findEraserHitElementId, generateTicks, rulerDragToGuidePosition, resolveElementInteractivity, buildChartQuickActionsDescriptor, applyChartElementToggle, CHART_QUICK_ACTION_BUTTON_SIZE, applyChartStylePreset, hideChartSeries, restoreFilteredSeries, buildCropOverlay, CROP_HANDLE_ARIA_KEY, getActiveXControlOverlayView, buildCommentMarkers, COMMENT_MARKER_SIZE, collectConnectorSiteCandidates, getConnectorEndpointHandles, findConnectorSiteNear, motionPathToSvgD, motionPathEndPixel, isEditableMotionPath, setMotionPathEnd, canEditElementPoints, MERGE_SHAPES_MENU_ITEMS, hasMultipleSelectedTableCells, isElementLocked, mergeSlideTransition, slideBackgroundClearState, slideBackgroundClearPatch, effectiveDirection, TRIGGER_OPTIONS, effectiveTimingCurve, mapSlideSorterKey, isEditorTextInputTarget, clampSorterZoom, buildSlideTemplateContent, updateSubtitleSettings, buildFreeformShapeElement, buildLiveInkStrokeView, beginCropDrag, CONNECTOR_SITE_SNAP_PX, resolveConnectorEndpointUpdate, withConnectorEndpointUpdate, getShapeConnectionSites, FreeformToolSession, attachOverlayKeyboard, EditPointsSession, EDIT_POINTS_STYLE, elementLockTogglePatch, buildTableDataGrid, getDenseGridLayoutPlan, appendTableElementRow, removeLastTableElementRow, appendTableElementColumn, removeLastTableElementColumn, removeTableElementColumn, removeTableElementRow, setTableElementCellText, applyTableStylePreset, tableStyleAssignmentUpdate, evenColumnWidths, redistributeColumnWidth, evenRowHeights, patchChartData, collapseChartTitleRunsForEdit, chartGridlinesState, chartGridlinesPatch, seriesSecondaryAxisPatch, setChartCategoryLabel, setChartCellValue, addChartCategory, removeChartCategory, addChartSeries, removeChartSeries, setDataLabelsRangeCache, describeSmartArtBounds, canAddTopLevelNode, classifyExtraConnections, siblingIndex, siblingCount, canRemoveTopLevelNode, imageResetPatch, imageResetState, canInteractWithElement, buildOleObjectNamePatch, shouldShowAccessibilitySection, withFrameSlides, withSlidesPerPage, schemaLabel, THEME_COLOR_SLOT_LABEL_KEYS, SLIDE_SIZE_PRESETS, TRANSITION_ORIENTATION_TYPES, clampTransitionNumber, TRANSITION_SPEED_OPTIONS, TRANSITION_MORPH_OPTIONS, flattenTagCollections, resolveTemplateBackgroundRows, commentMentionQuery, matchCommentMentionAuthors, buildAnimationTimelineRows, clearMotionPath, setTrigger, setTriggerBookmark, getEffectSoundState, setEffectSound, setEffectStockSound, setAfterAnimation, setAfterAnimationColor, directionValuesFor, buildAnimationTimelineBars, motionPathPresetIdForPath, MOTION_PATH_FAMILIES, motionPathPresetsByFamily, motionPathPresetLabelKey, motionPathFamilyLabelKey, EFFECT_SOUND_CATALOGUE, listMediaBookmarkOptions, selectedBookmarkOptionValue, hasTiltData, toElementAxes, dragCropHandle, panCropImage, clientToSlidePoint, EDIT_POINTS_TARGET_ATTR, describeTableStyleEditor, TABLE_STYLE_EDITOR_PARTS, computeMergeCellRight, computeMergeCellDown, computeSplitCell, resolveDisplayedChartType, CHART_TYPE_OPTIONS, chartDataLabelsTogglePatch, BAR3D_SHAPE_OPTIONS, bar3DShapePatch, RADAR_STYLE_OPTIONS, radarStylePatch, SURFACE_WIREFRAME_OPTIONS, surfaceWireframePatch, isSeriesUsingSecondaryAxis, seriesColorClearState, listChartUserShapeRows, withChartUserShapeAdded, createDefaultChartUserShape, withChartUserShapeRowRemoved, withChartUserShapeRowTextUpdated, SMARTART_COLOR_SCHEME_LABEL_KEYS, SMARTART_STYLE_LABEL_KEYS, addSiblingAfter, removeEmptyNode, demote, promote, reorder, cropResetState, cropResetPatch, ARTISTIC_EFFECTS, mediaTrimEndSeconds, trimmedMediaDurationMs, mediaTrimEndAbsoluteMs, mediaTrimResetState, mediaTrimEndMsFromAbsoluteMs, mediaTrimResetPatch, buildOleEditDialogDescriptor, buildOleContentUpdatePatch, buildThemeColorSwatchGrid, themeColorSwatchRows, findSelectedThemeSwatch, themeSwatchCommit, getNonVisualDescriptionFields, resolveActionType, ELEMENT_ACTION_TYPE_OPTIONS, canCommitActionType, slideSizeFromPreset, withSlideSizeOrientation, TRANSITION_DIR_ARROWS, buildDirectionGrid, updateTagInCollections, deleteTagFromCollections, addTagToCollections, commentTextSegments, COMMENT_MENTION_CLASS, COMMENT_MENTION_ATTRIBUTE, insertCommentMention, reorderAnimationTimelineRows, applyAnimationTimelineOrder, getEffectSoundAsset, animationEffectLabel, overlayPointerInput, TABLE_STYLE_BORDER_SIDES, applyTableStyleFieldEdit, LBL as LBL$1, SEL as SEL$1, FILL_MODE_OPTIONS as FILL_MODE_OPTIONS$1, SECTION_HEADING, NUM as NUM$1, getChartUserShapeGroupTransform, withChartUserShapeGroupChildAdded, createDefaultChartUserShapeGroupChild, withChartUserShapeRowUpdated, getChartUserShapeRowChartBox, withChartUserShapeRowFlipUpdated, withChartUserShapeRowRotationUpdated, withChartUserShapeRowChartBoxUpdated, smartArtLayoutSwitchPatch, rebuildDrawingShapesIfCleared, mediaTrimEndMsFromSeconds, validateMediaTrimRange, quickStyleSwatchCss, OFFICE_COLOR_SWATCHES, PATTERN_PRESET_OPTIONS as PATTERN_PRESET_OPTIONS$1, COMPOUND_LINE_OPTIONS as COMPOUND_LINE_OPTIONS$1, LINE_JOIN_OPTIONS as LINE_JOIN_OPTIONS$1, LINE_CAP_OPTIONS as LINE_CAP_OPTIONS$1, TEXT_WARP_PRESETS, warpPreviewPath, text3dPtToEmu, text3dEmuToPt, MATERIAL_PRESETS, toSlideIndex, TABLE_STYLE_BORDER_SIDE_LABEL_KEYS, TABLE_STYLE_DASH_PRESETS, GRADIENT_TYPE_OPTIONS as GRADIENT_TYPE_OPTIONS$1, PATTERN_OPTIONS, FILL_PATTERN_LABEL_KEYS, toggleText3dExtrusion, BEVEL_PRESETS, cropFit, cropFill, cropToAspectRatio } from 'ooxml-ui/pptx';
1
+ import { useViewerOptions, useReadOnlyRecommendationState, useCompatibilityToastsState, useReducedMotion, useViewerState, useIsMobile, useResizablePanels, useDerivedSlideState, useZoomViewport, useEditorHistory, usePresentationSetup, useTouchGestures, useViewerDialogs, useEditorOperations, useViewerIntegration, useViewPreferencesSync, useLayoutSwitching, Rendering3DFlagsContext, CollaborationProvider, useCollaboration, useCollaborationDocumentSync, useFollowMode, useBroadcastFollower, SlideBackgroundImageLayer, StaticElementRenderer, safePrompt, scopeLayoutOptionsToActiveSlide, ChartPartSelectionProvider, useToolbarVisibility, useKeyboardInsets, useModalDismissDrag, ViewerOptionsStoreContext, ViewerOptionsContext, useViewerOptionsContext, useVirtualizedSlides, useSwipeNavigation, PresentationTransitionOverlay, RemoteSelectionOverlay, CollaborationCursorOverlay, useSheetDismissDrag, detectTargetType, parseEmailUrl, parseSlideFromUrl, ACTION_VERB_MAP, ElementRenderer, InlineCollaborationContext, SmartArtRenderer, downloadBlob, playAnimationSound, ResizeHandles, imgSrc, renderStrokeView, useChartPartSelection, DUOTONE_PRESETS, getSlideTransitionAnimations, SLIDE_TRANSITION_KEYFRAMES, resolveSmartArtDataPalette } from './chunk-EW45F35P.mjs';
2
+ import { ANIMATION_PRESET_OPTIONS, dist_exports, cn, SLIDE_NAV_THUMBNAIL_WIDTH, SLIDE_TRANSITION_OPTIONS, normalizeHexColor, hasCopyableFormat, DEFAULT_SECTION_GROUP_ID, safeOpenUrl, isPpactionUrl, parsePpactionUrl, SHORTCUT_REFERENCE_ITEMS as SHORTCUT_REFERENCE_ITEMS$1, TOOLBAR_SECTIONS, isUrlSafe, computeHandoutLayout, getPrintableArea, generateNoteLineCount, UNGROUPED_SECTION_ID, getShapeAdjustmentHandleDescriptors, isConnectorOrLineElement, GRID_SIZE, getElementTransformWithoutRotation, getElementTransform, MIN_ELEMENT_SIZE, getElementLabel, TABLE_STYLE_PRESETS, SHAPE_PRESETS, sanitizeGradientStops, formatCommentTimestamp, clampCropValue, CONNECTOR_ARROW_OPTIONS, ARROW_SIZE_OPTIONS, DEFAULT_FILL_COLOR, startMotionPathPreview, startPreviewAnimation, stopPreviewAnimation, SHAPE_QUICK_STYLES, getPatternSvg, DEFAULT_STROKE_COLOR, STROKE_DASH_OPTIONS, openNativeEyeDropper } from './chunk-VI575UU6.mjs';
3
+ import { EMPTY_RESOLVED_CUSTOMIZATION, ANIMATION_DIRECTION_LABEL_KEYS, compileEquationTemplateMathMl, resolveViewerRootOptions, buildUserFontFaceStyles, readStoredViewerPrefs, resolveThemeCatalogEntry, THEME_CATALOG, writeStoredViewerPrefs, openPptxFile, readBackstageRecentFile, isFeatureEnabled, isDialogAvailable, resolveAutosaveActivation, viewerOptionsToPreferences, applyPreferenceToOptions, resolveHistoryDepth, applyAutoCorrect, resolveImageResolutionScale, resolveAutosaveIntervalMs, resolveAutosaveIntervalSeconds, isPanelVisible, shouldShowAutosaveRecoveryPrompt, resolveOptionRootClasses, RIBBON_SCOPE_ATTR, resolve3DRenderingFlags, resolveSlideSizeSelection, RULER_THICKNESS, RULER_FONT_SIZE, editorThumbnailHeight, buildPreviewElements, deriveSlideFieldContext, hiddenSlideCue, EDITOR_THUMBNAIL_WIDTH, HIDDEN_SLIDE_SLASH_GRADIENT, HIDDEN_SLIDE_LABEL_KEY, visibleTemplateElements, themeToCssVars, createCustomizationController, resolveEffectiveHiddenActions, listAutosaveSnapshots, resolveExpiredAutosaveSnapshots, deleteAutosaveSnapshot, masterViewCrudActions, applyMasterViewCrudAction, masterViewCrudFailureKey, EDITOR_CHROME_CSS, ribbonCustomizationCss, applyMotionPathPreset, resetSlideLayoutPath, DEFAULT_INSERT_CHART_KIND, templateSchemeFromTheme, createBackstagePresentation, playFeedbackSound, shouldDiscardAutosaveOnSuccessfulSave, setMasterViewBackgroundColor, canUseClipboard, runProgramNoticeStackStyle, printPropertiesFrameSlides, printPropertiesSlidesPerPage, PASTE_SPECIAL_OPTIONS, findCanvasElementNode, getDensePanelTouchTargetPx, shouldStickyActionRow, customizeOptionsTabs, VIEWER_OPTIONS_TABS, isOptionsPageVisible, DEFAULT_QUICK_ACCESS_COMMAND_IDS, isHeaderFooterDateTextVisible, isHeaderFooterHeaderTextVisible, isHeaderFooterFooterTextVisible, buildJoinCollaborationConfig, buildCreateCollaborationConfig, generateBroadcastRoomId, DEFAULT_BROADCAST_SERVER_URL, buildBroadcastViewerUrl, resolveTransportForServerUrl, getSlideBackgroundStyle, pushRecentColor, mruColorsPatch, shouldClearAutosaveCacheOnClose, canCropElement, cropSessionChanged, cancelCropUpdate, startCropSession, homeLaunchers, attachRibbonOverflow, editorThumbnailWidth, masterViewBackgroundColor, buildFieldSubstitutionContext, shouldConfirmExternalHyperlink, resolvePresentationAction, isPresentationAdvanceClick, toggleBlackboard, PRESENT_TOOLBAR_CLASSES, resolveEditPointsAvailability, isCurrentLayout, observeElementHeight, EXPANDED_MAX_HEIGHT, resolveStatusBarSave, statusBarViewMode, formatVersionTimestamp, formatRelativeTime, scanAvailableFontFamilies, PRESETS, CATEGORIES, convertOmmlToLatex, compileLatexEquation, convertLatexToOmml, EQUATION_TEMPLATES, clampPercent, resolveDefaultPrintSettings, HANDOUT_OPTIONS, TOOLBAR_TABS, SHORTCUT_REFERENCE_ITEMS, resolveViewerAddinRows, availableQuickAccessCommands, addQuickAccessCommand, removeQuickAccessCommand, moveQuickAccessCommand, CUSTOM_FONT_ACCEPT, activateModalFocus, buildCollaborationShareUrl, buildActiveSessionUsers, SORTER_MIN_ZOOM, SORTER_ZOOM_STEP, SORTER_MAX_ZOOM, canGoPrevious, formatSlideCounter, READING_VIEW_COUNTER_ATTR, canGoNext, READING_VIEW_ATTR, OUTLINE_LEVEL_ATTR, OUTLINE_SLIDE_ATTR, OUTLINE_ROW_ATTR, OUTLINE_VIEW_ATTR, mobileElapsedSince, nextPresentedSlide, presenterPrevDisabled, presenterNextDisabled, formatMobileElapsed, mobileSlideCounter, presenterPaneAdvancesOnClick, presenterTimerProgress, PRESENTER_CONSOLE_CLASSES, formatElapsed, cropModeKeyAction, buildTitleBarState, resolveScreenTip, visibleContextualTabs, resolveActiveRibbonTab, contextualTabLabelKey, RIBBON_CONTEXTUAL_TAB_ATTR, TAB_ROW_ACTION_CLASSES, customizeBackstageNav, BACKSTAGE_NAV, listBackstageRecentFiles, BACKSTAGE_BACK_CLASSES, BACKSTAGE_NAV_CLASSES, FREEFORM_TOOL_IDS, isDrawingToolVisible, textFontSizePtToPx, withHomeGalleries, drawingHomeControls, homeGalleryControls, homeGalleryApply, shapeOutlineChange, shapeFillChange, editingHomeControls, arrangeHomeControls, arrangePainterHomeControls, arrangeAlignAction, DESIGN_RIBBON_GROUPS, DESIGN_RIBBON_COMMANDS, designCommandState, FIXED_TAB_GALLERIES, CONTEXTUAL_TAB_GROUPS, editorThumbnailStep, resolveSlidePaneClick, SLIDE_VIRTUALIZATION_THRESHOLD, buildSectionContextMenuEntries, buildSlidePaneContextMenuEntries, slidePaneViewItems, isEditPointsEnabled, PRESENTATION_HIT_TEST_CSS, PRESENTATION_STAGE_ATTRIBUTE, buildStrokePathD, cursorForTool, annotationOverlayZIndex, presentationInkPath, resolveNotesSchematicBodyFontSizePx, PRESENTER_NAVIGATOR_LABEL_KEYS, getPresentationContextMenuSections, CONTEXT_MENU_PRESENTATION_LAYER, presentationViewItems, subtitleRecognitionLanguage, subtitleSettingsFromOptions, getSpeechRecognitionCtor, mergeCaptionResults, customizeContextMenuEntries, buildContextMenuEntries, contextMenuViewItems, customizeCanvasContextMenuEntries, buildCanvasContextMenuEntries, buildLayoutPreviewGeometry, scaleSlidesForSizeChange, slideSizeToCanvasPx, resolveSelectionPaneRename, themeEditorLabels, resolveNotesSegments, defaultRichEnabled, segmentsToEditorHtml, DEBOUNCE_MS, createPlainNotesSegments, parseSegmentsFromRichEditor, segmentsToPlainText, getCurrentParagraphIndex, segmentsToParagraphs, paragraphsToSegments, MAX_INDENT_LEVEL, INDENT_PX as INDENT_PX$1, buildNotesPrintHtml, MIN_TOUCH_TARGET_PX, toggleSheet, SMARTART_PREVIEW_ELEMENT_HEIGHT, SMARTART_PREVIEW_ELEMENT_WIDTH, buildSmartArtPreviewElement, sanitizeMathMl, computeAllNotesPages, getNotesPrintableArea, clampOptionNumber, QUICK_ACCESS_COMMAND_CATALOG, registerCustomFont, createSlideSorterState, sorterSelectionIndexes, selectSorterSlide, applySorterAction, slideSorterPasteIndexes, sorterGridColumns, sorterMenuContext, buildSlideSorterContextMenuEntries, slideSorterContextMenuLabel, openReadingView, applyReadingViewCommand, createPresentationKeyBuffer, readingViewFitScale, READING_VIEW_STAGE_ATTR, buildOutline, applyOutlineEdit, mapOutlineKey, notesSegmentsToSpans, erasePresentationInkAt, movePresenterPointer, appendPresentationInkPoint, presenterConsoleAction, presenterConsoleViewState, NOTES_FONT_SIZE_DEFAULT, formatTime, NOTES_FONT_SIZE_MIN, clampNotesFontSize, NOTES_FONT_SIZE_STEP, NOTES_FONT_SIZE_MAX, BACKSTAGE_TEMPLATES, formatBackstageDate, formatBackstageSize, customizeBackstageCards, backstageCardsFor, DEFAULT_VIEWER_PROFILE, resolveProfileInitial, AVATAR_COLOR_SWATCHES, clipboardHomeControls, slidesHomeControls, resolveDefaultFontFamily, textFontSizePxToPt, getInlineEditorSelectionResult, selectedParagraphBulletKind, elementBulletKind, selectionBulletKind, fontPickerHomeControls, fontHomeControls, nextToggleValue, RIBBON_GROUP_ATTR, paragraphHomeAlign, paragraphHomeControls, paragraphHomeAction, arrangeShapeHomeControls, strokeWidthOf, canSetStrokeWidth, canUngroupSelection, canGroupSelection, parseCropValue, buildRibbonGallery, readRibbonTransitionDraft, SLIDE_SHOW_COMMAND_GROUPS, RECORD_COMMAND_GROUPS, buildReviewRibbon, HELP_RIBBON_COMMANDS, galleryTextLabel, sectionAddAfterSlideIndex, masterViewPseudoSlide, PRESENTATION_ANIM_TRIGGER_ATTRIBUTE, parentSelection, slideSpaceElement, isGroupMember, motionPathFor, setMotionPath, shouldShowElementHandles, computeAnchoredPopupPosition, applyTableStyleDelete, applyTableStyleMapChange, handleReadingViewKey, getLocalStorageUsageSummary, saveViewerProfile, clearAllLocalViewerData, SLIDE_TEMPLATES, getSelectionTextStyleFlags, TEXT_DECORATION_FLAGS, applyRibbonGalleryItem, ribbonTransitionsDraftPatch, ribbonTransitionUpdates, ribbonTransitionsSoundChange, ribbonTransitionStockSoundUrl, playSlideTransitionPreview, playAnimationRibbonPreview, SLIDE_SHOW_OPTIONS, createViewerOptionsStore, subtitleSettingsLabels, attachEditorImagePaste, authorConnectorBetweenSites, findEraserHitElementId, generateTicks, rulerDragToGuidePosition, resolveElementInteractivity, buildChartQuickActionsDescriptor, applyChartElementToggle, CHART_QUICK_ACTION_BUTTON_SIZE, applyChartStylePreset, hideChartSeries, restoreFilteredSeries, buildCropOverlay, CROP_HANDLE_ARIA_KEY, getActiveXControlOverlayView, buildCommentMarkers, COMMENT_MARKER_SIZE, collectConnectorSiteCandidates, getConnectorEndpointHandles, findConnectorSiteNear, motionPathToSvgD, motionPathEndPixel, isEditableMotionPath, setMotionPathEnd, canEditElementPoints, MERGE_SHAPES_MENU_ITEMS, hasMultipleSelectedTableCells, isElementLocked, mergeSlideTransition, slideBackgroundClearState, slideBackgroundClearPatch, effectiveDirection, TRIGGER_OPTIONS, effectiveTimingCurve, mapSlideSorterKey, isEditorTextInputTarget, clampSorterZoom, buildSlideTemplateContent, updateSubtitleSettings, buildFreeformShapeElement, buildLiveInkStrokeView, beginCropDrag, CONNECTOR_SITE_SNAP_PX, resolveConnectorEndpointUpdate, withConnectorEndpointUpdate, getShapeConnectionSites, FreeformToolSession, attachOverlayKeyboard, EditPointsSession, EDIT_POINTS_STYLE, elementLockTogglePatch, buildTableDataGrid, getDenseGridLayoutPlan, appendTableElementRow, removeLastTableElementRow, appendTableElementColumn, removeLastTableElementColumn, removeTableElementColumn, removeTableElementRow, setTableElementCellText, applyTableStylePreset, tableStyleAssignmentUpdate, evenColumnWidths, redistributeColumnWidth, evenRowHeights, patchChartData, collapseChartTitleRunsForEdit, chartGridlinesState, chartGridlinesPatch, seriesSecondaryAxisPatch, setChartCategoryLabel, setChartCellValue, addChartCategory, removeChartCategory, addChartSeries, removeChartSeries, setDataLabelsRangeCache, describeSmartArtBounds, canAddTopLevelNode, classifyExtraConnections, siblingIndex, siblingCount, canRemoveTopLevelNode, imageResetPatch, imageResetState, canInteractWithElement, buildOleObjectNamePatch, shouldShowAccessibilitySection, withFrameSlides, withSlidesPerPage, schemaLabel, THEME_COLOR_SLOT_LABEL_KEYS, SLIDE_SIZE_PRESETS, TRANSITION_ORIENTATION_TYPES, clampTransitionNumber, TRANSITION_SPEED_OPTIONS, TRANSITION_MORPH_OPTIONS, flattenTagCollections, resolveTemplateBackgroundRows, commentMentionQuery, matchCommentMentionAuthors, buildAnimationTimelineRows, clearMotionPath, setTrigger, setTriggerBookmark, getEffectSoundState, setEffectSound, setEffectStockSound, setAfterAnimation, setAfterAnimationColor, directionValuesFor, buildAnimationTimelineBars, motionPathPresetIdForPath, MOTION_PATH_FAMILIES, motionPathPresetsByFamily, motionPathPresetLabelKey, motionPathFamilyLabelKey, EFFECT_SOUND_CATALOGUE, listMediaBookmarkOptions, selectedBookmarkOptionValue, hasTiltData, toElementAxes, dragCropHandle, panCropImage, clientToSlidePoint, EDIT_POINTS_TARGET_ATTR, describeTableStyleEditor, TABLE_STYLE_EDITOR_PARTS, computeMergeCellRight, computeMergeCellDown, computeSplitCell, resolveDisplayedChartType, CHART_TYPE_OPTIONS, chartDataLabelsTogglePatch, BAR3D_SHAPE_OPTIONS, bar3DShapePatch, RADAR_STYLE_OPTIONS, radarStylePatch, SURFACE_WIREFRAME_OPTIONS, surfaceWireframePatch, isSeriesUsingSecondaryAxis, seriesColorClearState, listChartUserShapeRows, withChartUserShapeAdded, createDefaultChartUserShape, withChartUserShapeRowRemoved, withChartUserShapeRowTextUpdated, SMARTART_COLOR_SCHEME_LABEL_KEYS, SMARTART_STYLE_LABEL_KEYS, addSiblingAfter, removeEmptyNode, demote, promote, reorder, cropResetState, cropResetPatch, ARTISTIC_EFFECTS, mediaTrimEndSeconds, trimmedMediaDurationMs, mediaTrimEndAbsoluteMs, mediaTrimResetState, mediaTrimEndMsFromAbsoluteMs, mediaTrimResetPatch, buildOleEditDialogDescriptor, buildOleContentUpdatePatch, buildThemeColorSwatchGrid, themeColorSwatchRows, findSelectedThemeSwatch, themeSwatchCommit, getNonVisualDescriptionFields, resolveActionType, ELEMENT_ACTION_TYPE_OPTIONS, canCommitActionType, slideSizeFromPreset, withSlideSizeOrientation, TRANSITION_DIR_ARROWS, buildDirectionGrid, updateTagInCollections, deleteTagFromCollections, addTagToCollections, commentTextSegments, COMMENT_MENTION_CLASS, COMMENT_MENTION_ATTRIBUTE, insertCommentMention, reorderAnimationTimelineRows, applyAnimationTimelineOrder, getEffectSoundAsset, animationEffectLabel, overlayPointerInput, TABLE_STYLE_BORDER_SIDES, applyTableStyleFieldEdit, LBL as LBL$1, SEL as SEL$1, FILL_MODE_OPTIONS as FILL_MODE_OPTIONS$1, SECTION_HEADING, NUM as NUM$1, getChartUserShapeGroupTransform, withChartUserShapeGroupChildAdded, createDefaultChartUserShapeGroupChild, withChartUserShapeRowUpdated, getChartUserShapeRowChartBox, withChartUserShapeRowFlipUpdated, withChartUserShapeRowRotationUpdated, withChartUserShapeRowChartBoxUpdated, smartArtLayoutSwitchPatch, rebuildDrawingShapesIfCleared, mediaTrimEndMsFromSeconds, validateMediaTrimRange, quickStyleSwatchCss, OFFICE_COLOR_SWATCHES, PATTERN_PRESET_OPTIONS as PATTERN_PRESET_OPTIONS$1, COMPOUND_LINE_OPTIONS as COMPOUND_LINE_OPTIONS$1, LINE_JOIN_OPTIONS as LINE_JOIN_OPTIONS$1, LINE_CAP_OPTIONS as LINE_CAP_OPTIONS$1, TEXT_WARP_PRESETS, warpPreviewPath, text3dPtToEmu, text3dEmuToPt, MATERIAL_PRESETS, toSlideIndex, TABLE_STYLE_BORDER_SIDE_LABEL_KEYS, TABLE_STYLE_DASH_PRESETS, GRADIENT_TYPE_OPTIONS as GRADIENT_TYPE_OPTIONS$1, PATTERN_OPTIONS, FILL_PATTERN_LABEL_KEYS, toggleText3dExtrusion, BEVEL_PRESETS, cropFit, cropFill, cropToAspectRatio } from 'ooxml-ui/pptx';
4
4
  export { THEME_CATALOG, defaultCssVars, defaultRadius, defaultThemeColors, resolveThemeCatalogEntry, themeToCssVars, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius } from 'ooxml-ui/pptx';
5
5
  import React97, { createContext, lazy, forwardRef, useEffect, useState, useCallback, useMemo, useRef, useLayoutEffect, useSyncExternalStore, useId, useContext, useDeferredValue, Suspense, useReducer, Fragment as Fragment$1 } from 'react';
6
6
  import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
@@ -1210,7 +1210,7 @@ function AccountPage() {
1210
1210
  return void 0;
1211
1211
  });
1212
1212
  };
1213
- const version = "4.27.0" ;
1213
+ const version = "4.29.0" ;
1214
1214
  return /* @__PURE__ */ jsxs("div", { className: "mt-8 max-w-[700px] space-y-6", children: [
1215
1215
  /* @__PURE__ */ jsxs("section", { className: cardClass, children: [
1216
1216
  /* @__PURE__ */ jsxs("h2", { className: "flex items-center gap-2 text-sm font-semibold", children: [
@@ -2535,7 +2535,7 @@ function extractFontInfo(element, themeFonts) {
2535
2535
  fontFamily: resolveDefaultFontFamily(placeholderType, themeFonts),
2536
2536
  fontSize: "24"
2537
2537
  };
2538
- if (!element || !hasTextProperties(element)) {
2538
+ if (!element || !(0, dist_exports.hasTextProperties)(element)) {
2539
2539
  return defaults;
2540
2540
  }
2541
2541
  const segStyle = element.textSegments?.[0]?.style;
@@ -2556,7 +2556,7 @@ function getEffectiveTextStyle(element, tableEditorState) {
2556
2556
  if (!element) {
2557
2557
  return void 0;
2558
2558
  }
2559
- if (hasTextProperties(element)) {
2559
+ if ((0, dist_exports.hasTextProperties)(element)) {
2560
2560
  return element.textStyle;
2561
2561
  }
2562
2562
  if (element.type === "table" && tableEditorState && element.tableData) {
@@ -2569,7 +2569,7 @@ function isTextDecorationFlag(id) {
2569
2569
  return TEXT_DECORATION_FLAGS.includes(id);
2570
2570
  }
2571
2571
  function textSectionFlags(element, tableEditorState, readSelection) {
2572
- if (element && hasTextProperties(element)) {
2572
+ if (element && (0, dist_exports.hasTextProperties)(element)) {
2573
2573
  const result = readSelection ? getInlineEditorSelectionResult(element.textSegments) : null;
2574
2574
  const current = result?.kind === "supported" && (!result.snapshot || result.snapshot.elementId === element.id) ? result : null;
2575
2575
  return getSelectionTextStyleFlags(
@@ -2585,7 +2585,7 @@ function textSectionFlags(element, tableEditorState, readSelection) {
2585
2585
  );
2586
2586
  }
2587
2587
  function textSectionBulletKind(element, tableEditorState) {
2588
- if (element && hasTextProperties(element)) {
2588
+ if (element && (0, dist_exports.hasTextProperties)(element)) {
2589
2589
  const result = getInlineEditorSelectionResult(element.textSegments, { preserveCaret: true });
2590
2590
  return result.kind === "supported" && (!result.snapshot || result.snapshot.elementId === element.id) ? selectionBulletKind(element, result.selection, result.snapshot?.textSegments) : elementBulletKind(element);
2591
2591
  }
@@ -2822,7 +2822,7 @@ function subscribe(onChange) {
2822
2822
  }
2823
2823
  function useParagraphListKind(element) {
2824
2824
  const read = useCallback(() => {
2825
- if (!element || !hasTextProperties(element)) {
2825
+ if (!element || !(0, dist_exports.hasTextProperties)(element)) {
2826
2826
  return "none";
2827
2827
  }
2828
2828
  const result = getInlineEditorSelectionResult(element.textSegments, { preserveCaret: true });
@@ -2845,7 +2845,7 @@ function TextSection(p) {
2845
2845
  const hasSel = Boolean(p.selectedElement);
2846
2846
  const canMut = hasSel && p.canEdit;
2847
2847
  const { fontFamily, fontSize } = extractFontInfo(p.selectedElement, p.themeFonts);
2848
- const isTextEl = hasSel && p.selectedElement !== null && hasTextProperties(p.selectedElement);
2848
+ const isTextEl = hasSel && p.selectedElement !== null && (0, dist_exports.hasTextProperties)(p.selectedElement);
2849
2849
  const isTable = hasSel && p.selectedElement?.type === "table";
2850
2850
  const canFormat = isTextEl || isTable;
2851
2851
  const effectiveTs = getEffectiveTextStyle(p.selectedElement, p.tableEditorState);
@@ -2855,15 +2855,15 @@ function TextSection(p) {
2855
2855
  if (!p.canEdit || !canFormat || !p.selectedElement) {
2856
2856
  return;
2857
2857
  }
2858
- if (hasTextProperties(p.selectedElement)) {
2858
+ if ((0, dist_exports.hasTextProperties)(p.selectedElement)) {
2859
2859
  p.onToggleBullets(kind);
2860
2860
  return;
2861
2861
  }
2862
2862
  p.onUpdateTextStyle({ listType: effectiveTs?.listType === kind ? "none" : kind });
2863
2863
  };
2864
- const currentColor = isTextEl && p.selectedElement && hasTextProperties(p.selectedElement) ? p.selectedElement.textSegments?.[0]?.style?.color ?? p.selectedElement.textStyle?.color ?? "#000000" : effectiveTs?.color ?? "#000000";
2865
- const currentColorThemeRef = isTextEl && p.selectedElement && hasTextProperties(p.selectedElement) ? p.selectedElement.textSegments?.[0]?.style?.colorRef ?? p.selectedElement.textStyle?.colorRef : void 0;
2866
- const currentHighlight = isTextEl && p.selectedElement && hasTextProperties(p.selectedElement) ? p.selectedElement.textSegments?.[0]?.style?.highlightColor ?? p.selectedElement.textStyle?.highlightColor ?? "#ffff00" : "#ffff00";
2864
+ const currentColor = isTextEl && p.selectedElement && (0, dist_exports.hasTextProperties)(p.selectedElement) ? p.selectedElement.textSegments?.[0]?.style?.color ?? p.selectedElement.textStyle?.color ?? "#000000" : effectiveTs?.color ?? "#000000";
2865
+ const currentColorThemeRef = isTextEl && p.selectedElement && (0, dist_exports.hasTextProperties)(p.selectedElement) ? p.selectedElement.textSegments?.[0]?.style?.colorRef ?? p.selectedElement.textStyle?.colorRef : void 0;
2866
+ const currentHighlight = isTextEl && p.selectedElement && (0, dist_exports.hasTextProperties)(p.selectedElement) ? p.selectedElement.textSegments?.[0]?.style?.highlightColor ?? p.selectedElement.textStyle?.highlightColor ?? "#ffff00" : "#ffff00";
2867
2867
  return /* @__PURE__ */ jsxs(Fragment, { children: [
2868
2868
  /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center gap-0.5", ...groupAttr("home.font"), children: [
2869
2869
  /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1", "data-pptx-chrome": "font-controls", children: [
@@ -2878,7 +2878,7 @@ function TextSection(p) {
2878
2878
  customFonts: p.customFontFamilies,
2879
2879
  onFamily: (family) => p.onUpdateTextStyle({ fontFamily: family }),
2880
2880
  onSize: (size) => p.onUpdateTextStyle({
2881
- fontSize: p.selectedElement && hasTextProperties(p.selectedElement) ? textFontSizePtToPx(size) : size
2881
+ fontSize: p.selectedElement && (0, dist_exports.hasTextProperties)(p.selectedElement) ? textFontSizePtToPx(size) : size
2882
2882
  })
2883
2883
  }
2884
2884
  ),
@@ -3422,7 +3422,7 @@ function DrawingGroup(p) {
3422
3422
  const { recentColors, pushColor } = useRecentColors();
3423
3423
  const themeColors = useThemeColorMap();
3424
3424
  const commands = useRibbonGalleryCommands();
3425
- const style = p.selectedElement && hasShapeProperties(p.selectedElement) ? p.selectedElement.shapeStyle : void 0;
3425
+ const style = p.selectedElement && (0, dist_exports.hasShapeProperties)(p.selectedElement) ? p.selectedElement.shapeStyle : void 0;
3426
3426
  const { onMoveLayer, onMoveLayerToEdge, onSetNewShapeType, onAddShape, onUpdateElementStyle } = p;
3427
3427
  const hasSelection = Boolean(p.selectedElement);
3428
3428
  const controls = useMemo(
@@ -14165,7 +14165,7 @@ function getElementDisplayName(element, index) {
14165
14165
  if (element.name && element.name.trim().length > 0) {
14166
14166
  return element.name.trim();
14167
14167
  }
14168
- if (hasTextProperties(element) && element.text && element.text.trim().length > 0) {
14168
+ if ((0, dist_exports.hasTextProperties)(element) && element.text && element.text.trim().length > 0) {
14169
14169
  return element.text.trim().slice(0, 32);
14170
14170
  }
14171
14171
  const label = TYPE_LABELS[element.type] ?? "Object";
@@ -15207,7 +15207,7 @@ function useAnimationHandlers({
15207
15207
  if (!el) {
15208
15208
  return anim.elementId.slice(0, 8);
15209
15209
  }
15210
- const text = hasTextProperties(el) ? el.text : void 0;
15210
+ const text = (0, dist_exports.hasTextProperties)(el) ? el.text : void 0;
15211
15211
  return text || getElementLabel(el);
15212
15212
  },
15213
15213
  [activeSlide.elements]
@@ -15218,7 +15218,7 @@ function useAnimationHandlers({
15218
15218
  if (!el) {
15219
15219
  return id.slice(0, 8);
15220
15220
  }
15221
- const text = hasTextProperties(el) ? el.text : void 0;
15221
+ const text = (0, dist_exports.hasTextProperties)(el) ? el.text : void 0;
15222
15222
  return text || getElementLabel(el);
15223
15223
  }).join(", "),
15224
15224
  [activeSlide.elements]
@@ -15699,11 +15699,11 @@ function ActionSettingsPanel({
15699
15699
  onUpdateElement
15700
15700
  }) {
15701
15701
  const { t } = useTranslation();
15702
- const clickAction = selectedElement.actionClick ? pptxActionToElementAction(selectedElement.actionClick, "click") : void 0;
15703
- const hoverAction = selectedElement.actionHover ? pptxActionToElementAction(selectedElement.actionHover, "hover") : void 0;
15702
+ const clickAction = selectedElement.actionClick ? (0, dist_exports.pptxActionToElementAction)(selectedElement.actionClick, "click") : void 0;
15703
+ const hoverAction = selectedElement.actionHover ? (0, dist_exports.pptxActionToElementAction)(selectedElement.actionHover, "hover") : void 0;
15704
15704
  const updateAction = (trigger, type, patch) => {
15705
15705
  const ea = { trigger, type, ...patch };
15706
- const pa = elementActionToPptxAction(ea);
15706
+ const pa = (0, dist_exports.elementActionToPptxAction)(ea);
15707
15707
  if (trigger === "click") {
15708
15708
  onUpdateElement({ actionClick: pa });
15709
15709
  } else {
@@ -17748,40 +17748,40 @@ function ChartDataPanel({ selectedElement, canEdit, onUpdateElement }) {
17748
17748
  [chartData, selectedElement, replaceChartData]
17749
17749
  );
17750
17750
  const setAxisLogScale = useCallback(
17751
- (axisType, opts) => applyChartOp((el) => setChartAxisLogScale(el, axisType, opts)),
17751
+ (axisType, opts) => applyChartOp((el) => (0, dist_exports.setChartAxisLogScale)(el, axisType, opts)),
17752
17752
  [applyChartOp]
17753
17753
  );
17754
17754
  const setAxisTitleStyle = useCallback(
17755
- (axisType, edit) => applyChartOp((el) => setChartAxisTitleStyle(el, axisType, edit)),
17755
+ (axisType, edit) => applyChartOp((el) => (0, dist_exports.setChartAxisTitleStyle)(el, axisType, edit)),
17756
17756
  [applyChartOp]
17757
17757
  );
17758
17758
  const setGridlineStyle = useCallback(
17759
- (axisType, which, edit) => applyChartOp((el) => setChartAxisGridlineStyle(el, axisType, which, edit)),
17759
+ (axisType, which, edit) => applyChartOp((el) => (0, dist_exports.setChartAxisGridlineStyle)(el, axisType, which, edit)),
17760
17760
  [applyChartOp]
17761
17761
  );
17762
17762
  const setSeriesMarker = useCallback(
17763
- (index, marker) => applyChartOp((el) => setChartSeriesMarker(el, index, marker)),
17763
+ (index, marker) => applyChartOp((el) => (0, dist_exports.setChartSeriesMarker)(el, index, marker)),
17764
17764
  [applyChartOp]
17765
17765
  );
17766
17766
  const setSeriesType = useCallback(
17767
- (index, seriesType) => applyChartOp((el) => setChartSeriesChartType(el, index, seriesType)),
17767
+ (index, seriesType) => applyChartOp((el) => (0, dist_exports.setChartSeriesChartType)(el, index, seriesType)),
17768
17768
  [applyChartOp]
17769
17769
  );
17770
17770
  const setPointFill = useCallback(
17771
- (seriesIndex, pointIndex, color) => applyChartOp((el) => setChartDataPointFill(el, seriesIndex, pointIndex, color)),
17771
+ (seriesIndex, pointIndex, color) => applyChartOp((el) => (0, dist_exports.setChartDataPointFill)(el, seriesIndex, pointIndex, color)),
17772
17772
  [applyChartOp]
17773
17773
  );
17774
17774
  const setPointExplosion = useCallback(
17775
- (seriesIndex, pointIndex, explosion) => applyChartOp((el) => setChartDataPointExplosion(el, seriesIndex, pointIndex, explosion)),
17775
+ (seriesIndex, pointIndex, explosion) => applyChartOp((el) => (0, dist_exports.setChartDataPointExplosion)(el, seriesIndex, pointIndex, explosion)),
17776
17776
  [applyChartOp]
17777
17777
  );
17778
17778
  const setPointMarker = useCallback(
17779
- (seriesIndex, pointIndex, marker) => applyChartOp((el) => setChartDataPointMarker(el, seriesIndex, pointIndex, marker)),
17779
+ (seriesIndex, pointIndex, marker) => applyChartOp((el) => (0, dist_exports.setChartDataPointMarker)(el, seriesIndex, pointIndex, marker)),
17780
17780
  [applyChartOp]
17781
17781
  );
17782
17782
  const setPointLabel = useCallback(
17783
17783
  (seriesIndex, pointIndex, text) => applyChartOp(
17784
- (el) => setChartDataPointLabel(el, seriesIndex, pointIndex, text !== null ? { text } : null)
17784
+ (el) => (0, dist_exports.setChartDataPointLabel)(el, seriesIndex, pointIndex, text !== null ? { text } : null)
17785
17785
  ),
17786
17786
  [applyChartOp]
17787
17787
  );
@@ -18049,17 +18049,17 @@ function OleEditorDialog({
18049
18049
  const kind = descriptor.contentTab.kind;
18050
18050
  const load = async () => {
18051
18051
  if (kind === "sheet") {
18052
- const value = await getOleSheetGrid(element);
18052
+ const value = await (0, dist_exports.getOleSheetGrid)(element);
18053
18053
  if (!cancelled) {
18054
18054
  setGrid(value);
18055
18055
  }
18056
18056
  } else if (kind === "document") {
18057
- const value = await getOleDocumentParagraphs(element);
18057
+ const value = await (0, dist_exports.getOleDocumentParagraphs)(element);
18058
18058
  if (!cancelled) {
18059
18059
  setParagraphs(value);
18060
18060
  }
18061
18061
  } else if (kind === "deck") {
18062
- const value = await getOleNestedDeckDetail(element);
18062
+ const value = await (0, dist_exports.getOleNestedDeckDetail)(element);
18063
18063
  if (!cancelled) {
18064
18064
  setDeckSlides(value);
18065
18065
  }
@@ -18085,9 +18085,9 @@ function OleEditorDialog({
18085
18085
  const handleCellEdit = useCallback(
18086
18086
  async (row, col, value) => {
18087
18087
  try {
18088
- const updated = await applyOleSheetCellEdit(element, { row, col, value });
18088
+ const updated = await (0, dist_exports.applyOleSheetCellEdit)(element, { row, col, value });
18089
18089
  commit(updated);
18090
- const refreshed = await getOleSheetGrid(updated);
18090
+ const refreshed = await (0, dist_exports.getOleSheetGrid)(updated);
18091
18091
  if (mountedRef.current) {
18092
18092
  setGrid(refreshed);
18093
18093
  }
@@ -18102,9 +18102,9 @@ function OleEditorDialog({
18102
18102
  const handleParagraphEdit = useCallback(
18103
18103
  async (index, text) => {
18104
18104
  try {
18105
- const updated = await applyOleDocumentParagraphEdit(element, index, text);
18105
+ const updated = await (0, dist_exports.applyOleDocumentParagraphEdit)(element, index, text);
18106
18106
  commit(updated);
18107
- const refreshed = await getOleDocumentParagraphs(updated);
18107
+ const refreshed = await (0, dist_exports.getOleDocumentParagraphs)(updated);
18108
18108
  if (mountedRef.current) {
18109
18109
  setParagraphs(refreshed);
18110
18110
  }
@@ -18119,14 +18119,14 @@ function OleEditorDialog({
18119
18119
  const handleDeckElementEdit = useCallback(
18120
18120
  async (slideIndex, deckElementId, text) => {
18121
18121
  try {
18122
- const updated = await applyOleNestedDeckElementTextEdit(
18122
+ const updated = await (0, dist_exports.applyOleNestedDeckElementTextEdit)(
18123
18123
  element,
18124
18124
  slideIndex,
18125
18125
  deckElementId,
18126
18126
  text
18127
18127
  );
18128
18128
  commit(updated);
18129
- const refreshed = await getOleNestedDeckDetail(updated);
18129
+ const refreshed = await (0, dist_exports.getOleNestedDeckDetail)(updated);
18130
18130
  if (mountedRef.current) {
18131
18131
  setDeckSlides(refreshed);
18132
18132
  }
@@ -18142,7 +18142,7 @@ function OleEditorDialog({
18142
18142
  async (file) => {
18143
18143
  try {
18144
18144
  const bytes = new Uint8Array(await file.arrayBuffer());
18145
- const updated = await replaceOleFile(element, bytes, file.name);
18145
+ const updated = await (0, dist_exports.replaceOleFile)(element, bytes, file.name);
18146
18146
  commit(updated);
18147
18147
  if (mountedRef.current) {
18148
18148
  onClose();
@@ -18414,7 +18414,7 @@ function OlePropertiesPanel({
18414
18414
  ] }),
18415
18415
  /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between gap-2", children: [
18416
18416
  /* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: t("pptx.ole.type") }),
18417
- /* @__PURE__ */ jsx("span", { className: "text-foreground truncate", children: getOleObjectTypeLabel(ole.oleObjectType) })
18417
+ /* @__PURE__ */ jsx("span", { className: "text-foreground truncate", children: (0, dist_exports.getOleObjectTypeLabel)(ole.oleObjectType) })
18418
18418
  ] }),
18419
18419
  ole.fileName && /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between gap-2", children: [
18420
18420
  /* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: t("pptx.ole.fileName") }),
@@ -18940,7 +18940,7 @@ function ImageCropSection({
18940
18940
  onUpdateElement
18941
18941
  }) {
18942
18942
  const { t } = useTranslation();
18943
- if (!isImageLikeElement(selectedElement)) {
18943
+ if (!(0, dist_exports.isImageLikeElement)(selectedElement)) {
18944
18944
  return null;
18945
18945
  }
18946
18946
  const croppable = cropResetState(selectedElement, canEdit, true).enabled;
@@ -22125,7 +22125,7 @@ function TextAdvancedSections({
22125
22125
  canEdit,
22126
22126
  onUpdateTextStyle
22127
22127
  }) {
22128
- if (!hasTextProperties(selectedElement)) {
22128
+ if (!(0, dist_exports.hasTextProperties)(selectedElement)) {
22129
22129
  return null;
22130
22130
  }
22131
22131
  const ts = selectedElement.textStyle;
@@ -22154,7 +22154,7 @@ function ShapeTextPanels({
22154
22154
  }) {
22155
22155
  const { t } = useTranslation();
22156
22156
  return /* @__PURE__ */ jsxs(Fragment, { children: [
22157
- hasShapeProperties(selectedElement) && /* @__PURE__ */ jsxs("div", { className: CARD2, children: [
22157
+ (0, dist_exports.hasShapeProperties)(selectedElement) && /* @__PURE__ */ jsxs("div", { className: CARD2, children: [
22158
22158
  /* @__PURE__ */ jsx("div", { className: HEADING2, children: t("pptx.shape.type", "Shape Type") }),
22159
22159
  /* @__PURE__ */ jsx(
22160
22160
  WebSelect,
@@ -22169,7 +22169,7 @@ function ShapeTextPanels({
22169
22169
  }
22170
22170
  )
22171
22171
  ] }),
22172
- hasShapeProperties(selectedElement) && /* @__PURE__ */ jsxs("div", { className: CARD2, "data-pptx-fill-stroke": true, "data-pptx-inspector-section": "fill-stroke", children: [
22172
+ (0, dist_exports.hasShapeProperties)(selectedElement) && /* @__PURE__ */ jsxs("div", { className: CARD2, "data-pptx-fill-stroke": true, "data-pptx-inspector-section": "fill-stroke", children: [
22173
22173
  /* @__PURE__ */ jsx("div", { className: HEADING2, children: t("pptx.shape.fillStroke", "Fill & Stroke") }),
22174
22174
  /* @__PURE__ */ jsx(
22175
22175
  FillStrokeProperties,
@@ -22187,7 +22187,7 @@ function ShapeTextPanels({
22187
22187
  }
22188
22188
  )
22189
22189
  ] }),
22190
- hasTextProperties(selectedElement) && /* @__PURE__ */ jsxs("div", { className: CARD2, "data-pptx-text-card": true, children: [
22190
+ (0, dist_exports.hasTextProperties)(selectedElement) && /* @__PURE__ */ jsxs("div", { className: CARD2, "data-pptx-text-card": true, children: [
22191
22191
  /* @__PURE__ */ jsx("div", { className: HEADING2, children: t("pptx.text.title", "Text") }),
22192
22192
  /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-2 gap-1.5 text-[11px]", children: [
22193
22193
  /* @__PURE__ */ jsxs("label", { className: "flex flex-col gap-1", children: [
@@ -22463,7 +22463,7 @@ var THUMB_COMPONENTS = {
22463
22463
  chevron: ChevronThumb,
22464
22464
  bending: BendingThumb
22465
22465
  };
22466
- var LAYOUT_DESCRIPTORS = SWITCHABLE_LAYOUT_TYPES.map((type) => ({
22466
+ var LAYOUT_DESCRIPTORS = dist_exports.SWITCHABLE_LAYOUT_TYPES.map((type) => ({
22467
22467
  type,
22468
22468
  i18nKey: `pptx.smartart.category.${type}`
22469
22469
  }));
@@ -22804,10 +22804,10 @@ function SmartArtPropertiesPanel({
22804
22804
  applySmartArtData({ ...smartArtData, ...patch });
22805
22805
  };
22806
22806
  const handleUpdateNodeText = (nodeId, text) => {
22807
- applySmartArtData(updateSmartArtNodeText(smartArtData, nodeId, text));
22807
+ applySmartArtData((0, dist_exports.updateSmartArtNodeText)(smartArtData, nodeId, text));
22808
22808
  };
22809
22809
  const handleChangeNodeStyle = (nodeId, patch) => {
22810
- const next = setSmartArtNodeStyle(smartArtData, nodeId, patch);
22810
+ const next = (0, dist_exports.setSmartArtNodeStyle)(smartArtData, nodeId, patch);
22811
22811
  if (next !== smartArtData) {
22812
22812
  applySmartArtData(next);
22813
22813
  }
@@ -22816,17 +22816,17 @@ function SmartArtPropertiesPanel({
22816
22816
  if (!canAddTopLevelNode(layout, topLevelCount)) {
22817
22817
  return;
22818
22818
  }
22819
- applySmartArtData(addSmartArtNodeAsChild(smartArtData));
22819
+ applySmartArtData((0, dist_exports.addSmartArtNodeAsChild)(smartArtData));
22820
22820
  };
22821
22821
  const addSubItem = (parentId) => {
22822
- applySmartArtData(addSmartArtNodeAsChild(smartArtData, parentId, "Sub-item"));
22822
+ applySmartArtData((0, dist_exports.addSmartArtNodeAsChild)(smartArtData, parentId, "Sub-item"));
22823
22823
  };
22824
22824
  const removeNode = (nodeId) => {
22825
22825
  const isTopLevel = !nodes.find((n) => n.id === nodeId)?.parentId;
22826
22826
  if (isTopLevel && !canRemoveTopLevelNode(layout, topLevelCount)) {
22827
22827
  return;
22828
22828
  }
22829
- applySmartArtData(removeSmartArtNode(smartArtData, nodeId));
22829
+ applySmartArtData((0, dist_exports.removeSmartArtNode)(smartArtData, nodeId));
22830
22830
  };
22831
22831
  const moveNode = (nodeId, direction) => {
22832
22832
  const next = reorder(smartArtData, nodeId, direction);
@@ -23812,7 +23812,7 @@ function TableStyleEditor({
23812
23812
  const { t } = useTranslation();
23813
23813
  const themeColorMap = useThemeColorMap();
23814
23814
  const [activeStyleId, setActiveStyleId] = useState(
23815
- styleId ? normalizeTableStyleGuid(styleId) : ""
23815
+ styleId ? (0, dist_exports.normalizeTableStyleGuid)(styleId) : ""
23816
23816
  );
23817
23817
  const [selectedPart, setSelectedPart] = useState("wholeTbl");
23818
23818
  const entry = activeStyleId ? styleMap?.[activeStyleId] : void 0;
@@ -23833,8 +23833,8 @@ function TableStyleEditor({
23833
23833
  return;
23834
23834
  }
23835
23835
  const nextMap = { ...styleMap ?? {} };
23836
- const created = createTableStyleEntry(nextMap, { styleName: name, basedOn: entry });
23837
- addTableStyleToMap(nextMap, created);
23836
+ const created = (0, dist_exports.createTableStyleEntry)(nextMap, { styleName: name, basedOn: entry });
23837
+ (0, dist_exports.addTableStyleToMap)(nextMap, created);
23838
23838
  onStyleMapChange(nextMap);
23839
23839
  setActiveStyleId(created.styleId);
23840
23840
  onAssignStyle?.(created.styleId);
@@ -23844,7 +23844,7 @@ function TableStyleEditor({
23844
23844
  return;
23845
23845
  }
23846
23846
  const nextMap = { ...styleMap };
23847
- deleteTableStyleFromMap(nextMap, entry.styleId);
23847
+ (0, dist_exports.deleteTableStyleFromMap)(nextMap, entry.styleId);
23848
23848
  onStyleMapChange(nextMap);
23849
23849
  onDeleteStyle(entry.styleId);
23850
23850
  onClose();
@@ -23898,7 +23898,7 @@ function TablePropertiesPanel({
23898
23898
  const updateMergeRows = (rows) => {
23899
23899
  const tableData = { ...td, rows };
23900
23900
  const updates = { tableData };
23901
- const rawXml = updateMergeAttrsInRawXml(tableElement, tableData);
23901
+ const rawXml = (0, dist_exports.updateMergeAttrsInRawXml)(tableElement, tableData);
23902
23902
  if (rawXml) {
23903
23903
  updates.rawXml = rawXml;
23904
23904
  }
@@ -24192,7 +24192,7 @@ function ElementInspectorBody({
24192
24192
  box: { width: selectedElement.width, height: selectedElement.height }
24193
24193
  }
24194
24194
  ),
24195
- isImageLikeElement(selectedElement) && /* @__PURE__ */ jsx(
24195
+ (0, dist_exports.isImageLikeElement)(selectedElement) && /* @__PURE__ */ jsx(
24196
24196
  ImagePropertiesPanel,
24197
24197
  {
24198
24198
  selectedElement,
@@ -24756,7 +24756,7 @@ function InspectorCommentsSection({
24756
24756
  ] });
24757
24757
  }
24758
24758
  function elementLabel(element) {
24759
- const text = hasTextProperties(element) ? (element.text || "").slice(0, 24) : void 0;
24759
+ const text = (0, dist_exports.hasTextProperties)(element) ? (element.text || "").slice(0, 24) : void 0;
24760
24760
  return text || element.type;
24761
24761
  }
24762
24762
  function InspectorElementsTab({
@@ -25387,14 +25387,14 @@ function SlideThemeOverridePanel({
25387
25387
  const translate = useCallback((key) => t(key), [t]);
25388
25388
  const override = activeSlide?.clrMapOverride;
25389
25389
  const isOverrideActive = override !== void 0;
25390
- const targetSlotOptions = useMemo(() => [...THEME_COLOR_SCHEME_KEYS], []);
25390
+ const targetSlotOptions = useMemo(() => [...dist_exports.THEME_COLOR_SCHEME_KEYS], []);
25391
25391
  const commitOverride = useCallback(
25392
25392
  (nextOverride) => {
25393
25393
  if (!activeSlide || !theme?.colorScheme) {
25394
25394
  onUpdateSlide({ clrMapOverride: nextOverride });
25395
25395
  return;
25396
25396
  }
25397
- const nextSlide = applyThemeOverrideToSlide(activeSlide, theme.colorScheme, nextOverride);
25397
+ const nextSlide = (0, dist_exports.applyThemeOverrideToSlide)(activeSlide, theme.colorScheme, nextOverride);
25398
25398
  onUpdateSlide({
25399
25399
  clrMapOverride: nextSlide.clrMapOverride,
25400
25400
  backgroundColor: nextSlide.backgroundColor,
@@ -25407,8 +25407,8 @@ function SlideThemeOverridePanel({
25407
25407
  (enabled) => {
25408
25408
  if (enabled) {
25409
25409
  const defaultMap = {};
25410
- for (const key of COLOR_MAP_ALIAS_KEYS) {
25411
- defaultMap[key] = DEFAULT_COLOR_MAP[key];
25410
+ for (const key of dist_exports.COLOR_MAP_ALIAS_KEYS) {
25411
+ defaultMap[key] = dist_exports.DEFAULT_COLOR_MAP[key];
25412
25412
  }
25413
25413
  commitOverride(defaultMap);
25414
25414
  } else {
@@ -25421,9 +25421,9 @@ function SlideThemeOverridePanel({
25421
25421
  (alias, targetSlot) => {
25422
25422
  const current = override ?? {};
25423
25423
  const next = { ...current, [alias]: targetSlot };
25424
- for (const key of COLOR_MAP_ALIAS_KEYS) {
25424
+ for (const key of dist_exports.COLOR_MAP_ALIAS_KEYS) {
25425
25425
  if (!next[key]) {
25426
- next[key] = DEFAULT_COLOR_MAP[key];
25426
+ next[key] = dist_exports.DEFAULT_COLOR_MAP[key];
25427
25427
  }
25428
25428
  }
25429
25429
  commitOverride(next);
@@ -25455,8 +25455,8 @@ function SlideThemeOverridePanel({
25455
25455
  ),
25456
25456
  t("pptx.themeOverride.enableOverride")
25457
25457
  ] }),
25458
- isOverrideActive && override && /* @__PURE__ */ jsx("div", { className: "space-y-1.5", children: COLOR_MAP_ALIAS_KEYS.map((alias) => {
25459
- const currentTarget = override[alias] ?? DEFAULT_COLOR_MAP[alias];
25458
+ isOverrideActive && override && /* @__PURE__ */ jsx("div", { className: "space-y-1.5", children: dist_exports.COLOR_MAP_ALIAS_KEYS.map((alias) => {
25459
+ const currentTarget = override[alias] ?? dist_exports.DEFAULT_COLOR_MAP[alias];
25460
25460
  const resolvedHex = resolveSlotColor(currentTarget);
25461
25461
  return /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 text-[11px]", children: [
25462
25462
  /* @__PURE__ */ jsx("span", { className: "w-24 truncate text-muted-foreground", title: ALIAS_LABELS[alias], children: ALIAS_LABELS[alias] }),
@@ -25621,13 +25621,13 @@ function SlideTransitionSection({
25621
25621
  return null;
25622
25622
  }
25623
25623
  const transitionType = activeSlide.transition?.type ?? "none";
25624
- const validDirections = TRANSITION_VALID_DIRECTIONS[transitionType];
25624
+ const validDirections = dist_exports.TRANSITION_VALID_DIRECTIONS[transitionType];
25625
25625
  const hasDirections = validDirections !== void 0 && validDirections.length > 0;
25626
25626
  const usesOrientation = TRANSITION_ORIENTATION_TYPES.has(transitionType);
25627
25627
  const isWheel = transitionType === "wheel";
25628
25628
  const isMorph = transitionType === "morph";
25629
- const patternOptions = TRANSITION_PATTERN_OPTIONS[transitionType];
25630
- const hasThruBlk = TRANSITION_THRUBLK_TYPES.has(transitionType);
25629
+ const patternOptions = dist_exports.TRANSITION_PATTERN_OPTIONS[transitionType];
25630
+ const hasThruBlk = dist_exports.TRANSITION_THRUBLK_TYPES.has(transitionType);
25631
25631
  return /* @__PURE__ */ jsxs(
25632
25632
  "div",
25633
25633
  {
@@ -31217,7 +31217,7 @@ function useTableStyleMapHandlers(input) {
31217
31217
  var AiChatPanel = lazy(async () => {
31218
31218
  const [{ useChat }, { default: Panel }] = await Promise.all([
31219
31219
  import('@ai-sdk/react'),
31220
- import('./AiChatPanel-3J6XGIJ4.mjs')
31220
+ import('./AiChatPanel-6EIOUV7J.mjs')
31221
31221
  ]);
31222
31222
  function BoundAiChatPanel(props) {
31223
31223
  return /* @__PURE__ */ jsx(Panel, { ...props, useChat });
@@ -31833,7 +31833,7 @@ function ViewerSidePanels(props) {
31833
31833
  const customization = useViewerCustomizationContext();
31834
31834
  const inspectorOpen = (mode === "edit" || mode === "master") && s.isInspectorPaneOpen && isPanelVisible(customization, "inspector");
31835
31835
  const currentBuiltInTheme = BUILT_IN_THEMES.find(
31836
- (candidate) => themeColorSchemesEqual(s.theme?.colorScheme, candidate.colorScheme)
31836
+ (candidate) => (0, dist_exports.themeColorSchemesEqual)(s.theme?.colorScheme, candidate.colorScheme)
31837
31837
  ) ?? null;
31838
31838
  return /* @__PURE__ */ jsxs(Fragment, { children: [
31839
31839
  inspectorOpen && onResizeRight && /* @__PURE__ */ jsx(ResizeHandle, { direction: "horizontal", onResize: onResizeRight }),
@@ -34439,8 +34439,10 @@ var PowerPointViewer = forwardRef(
34439
34439
  pieChart3D = false,
34440
34440
  hiddenActions: legacyHiddenActions,
34441
34441
  ai,
34442
- customization
34442
+ customization,
34443
+ initialSlide
34443
34444
  } = props;
34445
+ const rootOptions = resolveViewerRootOptions(props);
34444
34446
  useEffect(() => {
34445
34447
  const css = buildUserFontFaceStyles(fonts);
34446
34448
  if (!css) {
@@ -34592,7 +34594,7 @@ var PowerPointViewer = forwardRef(
34592
34594
  [state.recentColors, pushColor]
34593
34595
  );
34594
34596
  const themeColorMapValue = useMemo(
34595
- () => state.theme?.colorScheme ? buildThemeColorMap(state.theme.colorScheme) : void 0,
34597
+ () => state.theme?.colorScheme ? (0, dist_exports.buildThemeColorMap)(state.theme.colorScheme) : void 0,
34596
34598
  [state.theme?.colorScheme]
34597
34599
  );
34598
34600
  const settings = useMemo(
@@ -34930,6 +34932,7 @@ var PowerPointViewer = forwardRef(
34930
34932
  // (SSRF/privacy-safe), so only an explicit `true` here lets remote
34931
34933
  // http(s) image sources actually load.
34932
34934
  allowExternalImages: viewerOptions.trust.allowExternalContent,
34935
+ initialSlide,
34933
34936
  setReadOnlyRecommendation: readOnlyRec.setRecommendation,
34934
34937
  setModifyVerifier: readOnlyRec.setModifyVerifier,
34935
34938
  setCompatToasts: compatToastsState.setToasts,
@@ -35096,7 +35099,7 @@ var PowerPointViewer = forwardRef(
35096
35099
  markDirty: history.markDirty,
35097
35100
  applyThemeUpdates: applyAiTheme
35098
35101
  });
35099
- const showSlidesPane = mode === "edit" && !isMobile && !dialogs.isNarrowViewport && state.isSlidesPaneOpen && isPanelVisible(customizationResolved, "slidesPane");
35102
+ const showSlidesPane = mode === "edit" && !isMobile && !dialogs.isNarrowViewport && state.isSlidesPaneOpen && rootOptions.showThumbnails && isPanelVisible(customizationResolved, "slidesPane");
35100
35103
  const showMasterPane = mode === "master" && !isMobile && state.isSlidesPaneOpen;
35101
35104
  const addinStatus = {
35102
35105
  smartArt3d: smartArt3D && !viewerOptions.advanced.disable3DRendering,
@@ -35125,7 +35128,7 @@ var PowerPointViewer = forwardRef(
35125
35128
  tabIndex: 0,
35126
35129
  className: "h-full w-full flex flex-col overflow-hidden outline-none",
35127
35130
  children: loading ? /* @__PURE__ */ jsx(LoadingState, {}) : error ? /* @__PURE__ */ jsx(ErrorState, { error }) : /* @__PURE__ */ jsx(ThemeColorMapProvider, { value: themeColorMapValue, children: /* @__PURE__ */ jsxs(RecentColorsProvider, { value: recentColorsValue, children: [
35128
- mode !== "present" && /* @__PURE__ */ jsx(
35131
+ mode !== "present" && rootOptions.showToolbar && /* @__PURE__ */ jsx(
35129
35132
  ViewerToolbarSection,
35130
35133
  {
35131
35134
  mode,
@@ -35179,7 +35182,7 @@ var PowerPointViewer = forwardRef(
35179
35182
  onSetShowGuides: viewPreferencesSync.handleSetShowGuides
35180
35183
  }
35181
35184
  ),
35182
- mode !== "present" && readOnlyRec.bannerVisible && /* @__PURE__ */ jsx(
35185
+ mode !== "present" && rootOptions.showToolbar && readOnlyRec.bannerVisible && /* @__PURE__ */ jsx(
35183
35186
  ReadOnlyBanner,
35184
35187
  {
35185
35188
  recommendation: readOnlyRec.recommendation,
@@ -35272,13 +35275,13 @@ var PowerPointViewer = forwardRef(
35272
35275
  mode,
35273
35276
  onSetMode: handleSetMode,
35274
35277
  onToggleSlideSorter: () => state.setShowSlideSorter((p) => !p),
35275
- hideStatusBar: isMobile,
35278
+ hideStatusBar: isMobile || !rootOptions.showToolbar,
35276
35279
  hiddenActions,
35277
35280
  notesStyle: state.notesMaster?.notesStyle,
35278
35281
  onNotesHeightChange: setNotesBarHeight
35279
35282
  }
35280
35283
  ),
35281
- mode !== "present" && isMobile && /* @__PURE__ */ jsx(
35284
+ mode !== "present" && isMobile && rootOptions.showToolbar && /* @__PURE__ */ jsx(
35282
35285
  MobileChromeOverlay,
35283
35286
  {
35284
35287
  state,
Binary file
Binary file