pptx-react-viewer 4.19.1 → 4.20.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 (89) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/{AiChatPanel-L3IRMMYT.js → AiChatPanel-3SIQQCI5.js} +27 -27
  3. package/dist/AiChatPanel-3SIQQCI5.js.br +0 -0
  4. package/dist/AiChatPanel-3SIQQCI5.js.gz +0 -0
  5. package/dist/{AiChatPanel-NUR5MVNW.mjs → AiChatPanel-GBKB26LM.mjs} +3 -3
  6. package/dist/AiChatPanel-GBKB26LM.mjs.br +0 -0
  7. package/dist/AiChatPanel-GBKB26LM.mjs.gz +0 -0
  8. package/dist/{Model3DScene-653PWVVJ.mjs → Model3DScene-MKHAUUHQ.mjs} +1 -1
  9. package/dist/Model3DScene-MKHAUUHQ.mjs.br +0 -0
  10. package/dist/Model3DScene-MKHAUUHQ.mjs.gz +0 -0
  11. package/dist/{Model3DScene-PXKI7V27.js → Model3DScene-NN27BONQ.js} +2 -2
  12. package/dist/Model3DScene-NN27BONQ.js.br +0 -0
  13. package/dist/Model3DScene-NN27BONQ.js.gz +0 -0
  14. package/dist/{chunk-VC6357LY.js → chunk-2GK65XF6.js} +821 -821
  15. package/dist/chunk-2GK65XF6.js.br +0 -0
  16. package/dist/chunk-2GK65XF6.js.gz +0 -0
  17. package/dist/{chunk-LFMZT6DP.js → chunk-2TASAHPC.js} +1229 -1203
  18. package/dist/chunk-2TASAHPC.js.br +0 -0
  19. package/dist/chunk-2TASAHPC.js.gz +0 -0
  20. package/dist/{chunk-VLYVXFGF.js → chunk-63VPDT3H.js} +187 -187
  21. package/dist/chunk-63VPDT3H.js.br +0 -0
  22. package/dist/chunk-63VPDT3H.js.gz +0 -0
  23. package/dist/{chunk-5EO3Q2PH.js → chunk-B7VFDY5Z.js} +947 -492
  24. package/dist/chunk-B7VFDY5Z.js.br +0 -0
  25. package/dist/chunk-B7VFDY5Z.js.gz +0 -0
  26. package/dist/{chunk-3576DPVG.mjs → chunk-EYBZSFNK.mjs} +1 -1
  27. package/dist/chunk-EYBZSFNK.mjs.br +0 -0
  28. package/dist/chunk-EYBZSFNK.mjs.gz +0 -0
  29. package/dist/{chunk-NEOMOXHN.mjs → chunk-IXVT2EV2.mjs} +137 -111
  30. package/dist/chunk-IXVT2EV2.mjs.br +0 -0
  31. package/dist/chunk-IXVT2EV2.mjs.gz +0 -0
  32. package/dist/{chunk-6VQD24IV.mjs → chunk-MEVOWZCB.mjs} +946 -493
  33. package/dist/chunk-MEVOWZCB.mjs.br +0 -0
  34. package/dist/chunk-MEVOWZCB.mjs.gz +0 -0
  35. package/dist/{chunk-2NYN2CLG.js → chunk-P6YP7XYO.js} +5 -5
  36. package/dist/chunk-P6YP7XYO.js.br +0 -0
  37. package/dist/{chunk-2NYN2CLG.js.gz → chunk-P6YP7XYO.js.gz} +0 -0
  38. package/dist/{chunk-CHWNGXWV.mjs → chunk-QDMBU7AS.mjs} +1 -1
  39. package/dist/chunk-QDMBU7AS.mjs.br +0 -0
  40. package/dist/chunk-QDMBU7AS.mjs.gz +0 -0
  41. package/dist/{chunk-757NASG5.mjs → chunk-QZLRYVNR.mjs} +3 -3
  42. package/dist/chunk-QZLRYVNR.mjs.br +0 -0
  43. package/dist/chunk-QZLRYVNR.mjs.gz +0 -0
  44. package/dist/index.js +61 -61
  45. package/dist/index.js.br +0 -0
  46. package/dist/index.js.gz +0 -0
  47. package/dist/index.mjs +5 -5
  48. package/dist/index.mjs.br +0 -0
  49. package/dist/index.mjs.gz +0 -0
  50. package/dist/internals.js +104 -104
  51. package/dist/internals.js.br +0 -0
  52. package/dist/internals.js.gz +0 -0
  53. package/dist/internals.mjs +3 -3
  54. package/dist/internals.mjs.br +0 -0
  55. package/dist/internals.mjs.gz +0 -0
  56. package/dist/viewer/index.js +26 -26
  57. package/dist/viewer/index.js.br +0 -0
  58. package/dist/viewer/index.js.gz +0 -0
  59. package/dist/viewer/index.mjs +5 -5
  60. package/dist/viewer/index.mjs.br +3 -3
  61. package/dist/viewer/index.mjs.gz +0 -0
  62. package/package.json +1 -1
  63. package/dist/AiChatPanel-L3IRMMYT.js.br +0 -0
  64. package/dist/AiChatPanel-L3IRMMYT.js.gz +0 -0
  65. package/dist/AiChatPanel-NUR5MVNW.mjs.br +0 -0
  66. package/dist/AiChatPanel-NUR5MVNW.mjs.gz +0 -0
  67. package/dist/Model3DScene-653PWVVJ.mjs.br +0 -0
  68. package/dist/Model3DScene-653PWVVJ.mjs.gz +0 -0
  69. package/dist/Model3DScene-PXKI7V27.js.br +0 -0
  70. package/dist/Model3DScene-PXKI7V27.js.gz +0 -0
  71. package/dist/chunk-2NYN2CLG.js.br +0 -0
  72. package/dist/chunk-3576DPVG.mjs.br +0 -0
  73. package/dist/chunk-3576DPVG.mjs.gz +0 -0
  74. package/dist/chunk-5EO3Q2PH.js.br +0 -0
  75. package/dist/chunk-5EO3Q2PH.js.gz +0 -0
  76. package/dist/chunk-6VQD24IV.mjs.br +0 -0
  77. package/dist/chunk-6VQD24IV.mjs.gz +0 -0
  78. package/dist/chunk-757NASG5.mjs.br +0 -0
  79. package/dist/chunk-757NASG5.mjs.gz +0 -0
  80. package/dist/chunk-CHWNGXWV.mjs.br +0 -0
  81. package/dist/chunk-CHWNGXWV.mjs.gz +0 -0
  82. package/dist/chunk-LFMZT6DP.js.br +0 -0
  83. package/dist/chunk-LFMZT6DP.js.gz +0 -0
  84. package/dist/chunk-NEOMOXHN.mjs.br +0 -0
  85. package/dist/chunk-NEOMOXHN.mjs.gz +0 -0
  86. package/dist/chunk-VC6357LY.js.br +0 -0
  87. package/dist/chunk-VC6357LY.js.gz +0 -0
  88. package/dist/chunk-VLYVXFGF.js.br +0 -0
  89. package/dist/chunk-VLYVXFGF.js.gz +0 -0
Binary file
Binary file
@@ -1,4 +1,4 @@
1
- import { SHAPE_PRESET_DEFS, VIEWER_SHORTCUT_REFERENCE, STROKE_DASH_OPTIONS, getAnimationInitialStyle, cloneHistorySnapshot, hasShapeProperties, getImageFitStyle, getImageFillCounterTransform, getComputedFillStyle, isImageLikeElement, getCropShapeClipPath, getImageTilingStyle, mediaPlaybackAttributes, getOnlineVideoEmbed, ONLINE_VIDEO_IFRAME_SANDBOX, ONLINE_VIDEO_IFRAME_ALLOW, buildTextBlockStyle, hasTextProperties, toCssWritingMode, toCssTextOrientation, toCssVerticalDirection, buildTextBodyLayoutStyle, buildTextBody3DSceneStyle, buildParagraphs, followingText, colorWithOpacity, normalizeHexColor, hexToRgbUnit, build3DExtrusionData, getComputedEffectStyle, getComputedStrokeStyle, getAnimationColorBaseStyle, isStrokeOnlyPresetElement, resolveShapeGeometry, getConnectorPathGeometry, normalizeStrokeDashType, getSvgStrokeDasharray, buildSvgGradientDef, buildStrokeOutline, getPresetShapeVectorGeometry, isWedgeCalloutPresetShape, svgGradientFillRef, isCalloutShape, getCalloutLeaderLineGeometry, buildCalloutLeaderLineSvgPath, getCalloutViewBoxBounds, svgLineCap, getCompoundLineOffsets, getCompoundLineWidths, canDrillDown, computeSelectionRect, DEFAULT_FONT_FAMILY, cellStyleToCss, rectToCells, isCellInRect, tableContainerCss, buildChartViewModel, resolveChartKind, chartPreserveAspectRatio, buildNotesPdfBytes, buildTiledSlidesPdfBytes, buildPreviewAnimation, measurePreviewGeometry, buildMotionPathPreview, mediaFallbackVisual, scheduleMediaTrimAndFade, registerCrossSlideAudio, shouldShowMediaFullscreenStopButton, withInlineListDecorationDefaults, segmentStyleToCss, resolveAutoFitFontScale, applyUnderlineVariant, nestedTextDecorationStyle, scaleFontSizeForAutoFit, resolveFontKerning, getSubstituteFontFamily, parsePanoseString, resolveScriptFontSet, hasDistinctScriptFonts, authoredLetterSpacingPx, pieceLetterSpacing, resolveMetricTrackingPx, hollowTextFillStyle, splitsUnderlineIntoWords, stripUnderlineDecoration, buildTabContext, TEXT_BUILD_ID_SEP, buildTextBuildSpec, textBuildSpanStyle, apply3dEffects, customGeometryPathsToSvgSubpaths, buildSubpathPaints, computeColumnBoundaries, getTableCellBandStyle, parseDrawingColor, parseDrawingColorOpacity, getCellDiagonalBorders, xmlText, cellRunStyle, getChartStylePalette, computeChartLegendLayout, mediaFallbackIcon, mediaFallbackLabelKey, MEDIA_CHROME_ATTRIBUTE, convertOmmlToMathMl, sanitizeMathMl, tableCellCss, computeResizedColumnWidths, computeResizedRowHeight, DEFAULT_ROW_HEIGHT, ooxmlGradientAngleToCssDegrees, buildRectPathGradient, buildRunTabLines, chartPartToAttrs, splitWordsForUnderline, splitRunForMetrics, splitEastAsianBreaks, splitRunByScriptFont } from './chunk-6VQD24IV.mjs';
1
+ import { SHAPE_PRESET_DEFS, VIEWER_SHORTCUT_REFERENCE, STROKE_DASH_OPTIONS, getAnimationInitialStyle, cloneHistorySnapshot, hasShapeProperties, getImageFitStyle, getImageFillCounterTransform, getComputedFillStyle, isImageLikeElement, getCropShapeClipPath, getImageTilingStyle, mediaPlaybackAttributes, getOnlineVideoEmbed, ONLINE_VIDEO_IFRAME_SANDBOX, ONLINE_VIDEO_IFRAME_ALLOW, buildTextBlockStyle, hasTextProperties, toCssWritingMode, toCssTextOrientation, toCssVerticalDirection, buildTextBodyLayoutStyle, buildTextBody3DSceneStyle, buildParagraphs, followingText, colorWithOpacity, normalizeHexColor, hexToRgbUnit, build3DExtrusionData, getComputedEffectStyle, getComputedStrokeStyle, getAnimationColorBaseStyle, isStrokeOnlyPresetElement, resolveShapeGeometry, getConnectorPathGeometry, normalizeStrokeDashType, getSvgStrokeDasharray, buildSvgGradientDef, buildStrokeOutline, getPresetShapeVectorGeometry, isWedgeCalloutPresetShape, svgGradientFillRef, isCalloutShape, getCalloutLeaderLineGeometry, buildCalloutLeaderLineSvgPath, getCalloutViewBoxBounds, svgLineCap, getCompoundLineOffsets, getCompoundLineWidths, canDrillDown, computeSelectionRect, DEFAULT_FONT_FAMILY, cellStyleToCss, rectToCells, isCellInRect, tableContainerCss, buildChartViewModel, resolveChartKind, chartPreserveAspectRatio, buildNotesPdfBytes, buildTiledSlidesPdfBytes, buildPreviewAnimation, measurePreviewGeometry, buildMotionPathPreview, mediaFallbackVisual, scheduleMediaTrimAndFade, registerCrossSlideAudio, shouldShowMediaFullscreenStopButton, withInlineListDecorationDefaults, segmentStyleToCss, resolveAutoFitFontScale, applyUnderlineVariant, nestedTextDecorationStyle, scaleFontSizeForAutoFit, resolveFontKerning, getSubstituteFontFamily, parsePanoseString, resolveScriptFontSet, hasDistinctScriptFonts, authoredLetterSpacingPx, pieceLetterSpacing, resolveMetricTrackingPx, hollowTextFillStyle, splitsUnderlineIntoWords, stripUnderlineDecoration, buildTabContext, TEXT_BUILD_ID_SEP, buildTextBuildSpec, textBuildSpanStyle, apply3dEffects, customGeometryPathsToSvgSubpaths, buildSubpathPaints, computeColumnBoundaries, getTableCellBandStyle, parseDrawingColor, parseDrawingColorOpacity, getCellDiagonalBorders, xmlText, cellRunStyle, getChartStylePalette, computeChartLegendLayout, mediaFallbackIcon, mediaFallbackLabelKey, MEDIA_CHROME_ATTRIBUTE, convertOmmlToMathMl, sanitizeMathMl, tableCellCss, computeResizedColumnWidths, computeResizedRowHeight, DEFAULT_ROW_HEIGHT, ooxmlGradientAngleToCssDegrees, buildRectPathGradient, buildRunTabLines, chartPartToAttrs, splitWordsForUnderline, splitRunForMetrics, splitEastAsianBreaks, splitRunByScriptFont } from './chunk-MEVOWZCB.mjs';
2
2
  import { translationsEn } from './chunk-Q4HRYUEP.mjs';
3
3
  import { clsx } from 'clsx';
4
4
  import { twMerge } from 'tailwind-merge';
Binary file
Binary file
@@ -1,7 +1,7 @@
1
- import { computeFocusTargets, deckDataFieldChanged, aiChangeAnimationCss, changeGhostStyle, createChatHistoryStore, collectStoredChats, exportAiChatLogs, applyElementUpdate } from './chunk-CHWNGXWV.mjs';
2
- 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, playAnimationSound, ResizeHandles, imgSrc, renderStrokeView, useChartPartSelection, resolveSmartArtDataPalette } from './chunk-757NASG5.mjs';
3
- import { ANIMATION_PRESET_OPTIONS, cn, SLIDE_NAV_THUMBNAIL_WIDTH, DEFAULT_SECTION_GROUP_ID, SHORTCUT_REFERENCE_ITEMS as SHORTCUT_REFERENCE_ITEMS$1, TOOLBAR_SECTIONS, UNGROUPED_SECTION_ID, isConnectorOrLineElement, GRID_SIZE, MIN_ELEMENT_SIZE, SHAPE_PRESETS, CONNECTOR_ARROW_OPTIONS, ARROW_SIZE_OPTIONS, DEFAULT_FILL_COLOR, startMotionPathPreview, startPreviewAnimation, stopPreviewAnimation, DEFAULT_STROKE_COLOR, STROKE_DASH_OPTIONS } from './chunk-3576DPVG.mjs';
4
- import { EMPTY_RESOLVED_CUSTOMIZATION, ANIMATION_DIRECTION_LABEL_KEYS, SWITCHABLE_LAYOUT_TYPES, compileEquationTemplateMathMl, buildUserFontFaceStyles, readStoredViewerPrefs, resolveThemeCatalogEntry, THEME_CATALOG, writeStoredViewerPrefs, openPptxFile, readBackstageRecentFile, isFeatureEnabled, isDialogAvailable, resolveAutosaveActivation, buildThemeColorMap, viewerOptionsToPreferences, applyPreferenceToOptions, resolveHistoryDepth, applyAutoCorrect, resolveImageResolutionScale, resolveAutosaveIntervalMs, resolveAutosaveIntervalSeconds, isPanelVisible, shouldShowAutosaveRecoveryPrompt, resolveOptionRootClasses, RIBBON_SCOPE_ATTR, resolve3DRenderingFlags, resolveSlideSizeSelection, RULER_THICKNESS, RULER_FONT_SIZE, editorThumbnailHeight, buildPreviewElements, deriveSlideFieldContext, SLIDE_TRANSITION_OPTIONS, hiddenSlideCue, EDITOR_THUMBNAIL_WIDTH, HIDDEN_SLIDE_SLASH_GRADIENT, HIDDEN_SLIDE_LABEL_KEY, visibleTemplateElements, normalizeHexColor, themeToCssVars, createCustomizationController, resolveEffectiveHiddenActions, listAutosaveSnapshots, resolveExpiredAutosaveSnapshots, deleteAutosaveSnapshot, masterViewCrudActions, applyMasterViewCrudAction, masterViewCrudFailureKey, EDITOR_CHROME_CSS, ribbonCustomizationCss, applyMotionPathPreset, resetSlideLayoutPath, DEFAULT_INSERT_CHART_KIND, hasCopyableFormat, 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, editorThumbnailWidth, masterViewBackgroundColor, buildFieldSubstitutionContext, shouldConfirmExternalHyperlink, safeOpenUrl, resolvePresentationAction, isPpactionUrl, parsePpactionUrl, isPresentationAdvanceClick, toggleBlackboard, PRESENT_TOOLBAR_CLASSES, resolveEditPointsAvailability, isCurrentLayout, themeColorSchemesEqual, observeElementHeight, EXPANDED_MAX_HEIGHT, resolveStatusBarSave, statusBarViewMode, formatVersionTimestamp, formatRelativeTime, scanAvailableFontFamilies, PRESETS, CATEGORIES, convertOmmlToLatex, compileLatexEquation, convertLatexToOmml, EQUATION_TEMPLATES, clampPercent2, 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, hasTextProperties, textFontSizePtToPx, FREEFORM_TOOL_IDS, isDrawingToolVisible, editingHomeControls, hasShapeProperties, withHomeGalleries, drawingHomeControls, homeGalleryControls, homeGalleryApply, shapeOutlineChange, shapeFillChange, 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, isUrlSafe, buildNotesPrintHtml, MIN_TOUCH_TARGET_PX, toggleSheet, SMARTART_PREVIEW_ELEMENT_HEIGHT, SMARTART_PREVIEW_ELEMENT_WIDTH, buildSmartArtPreviewElement, sanitizeMathMl, computeHandoutLayout, getPrintableArea, generateNoteLineCount, computeAllNotesPages, getNotesPrintableArea, downloadBlob, clampOptionNumber, QUICK_ACCESS_COMMAND_CATALOG, registerCustomFont, 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, resolveDefaultFontFamily, textFontSizePxToPt, clipboardHomeControls, slidesHomeControls, fontPickerHomeControls, getInlineEditorSelectionResult, selectedParagraphBulletKind, elementBulletKind, selectionBulletKind, 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, getShapeAdjustmentHandleDescriptors, 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, getElementTransformWithoutRotation, getElementTransform, 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, isImageLikeElement, mergeSlideTransition, slideBackgroundClearState, slideBackgroundClearPatch, getElementLabel, 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, TABLE_STYLE_PRESETS, applyTableStylePreset, tableStyleAssignmentUpdate, evenColumnWidths, redistributeColumnWidth, evenRowHeights, patchChartData, collapseChartTitleRunsForEdit, chartGridlinesState, chartGridlinesPatch, seriesSecondaryAxisPatch, setChartCategoryLabel, setChartCellValue, addChartCategory, removeChartCategory, addChartSeries, removeChartSeries, setDataLabelsRangeCache, setChartAxisLogScale, setChartAxisTitleStyle, setChartAxisGridlineStyle, setChartSeriesMarker, setChartSeriesChartType, setChartDataPointFill, setChartDataPointExplosion, setChartDataPointMarker, setChartDataPointLabel, describeSmartArtBounds, canAddTopLevelNode, classifyExtraConnections, siblingIndex, siblingCount, canRemoveTopLevelNode, imageResetPatch, imageResetState, canInteractWithElement, buildOleObjectNamePatch, getOleObjectTypeLabel, sanitizeGradientStops, shouldShowAccessibilitySection, pptxActionToElementAction, withFrameSlides, withSlidesPerPage, THEME_COLOR_SCHEME_KEYS, applyThemeOverrideToSlide, COLOR_MAP_ALIAS_KEYS, DEFAULT_COLOR_MAP, schemaLabel, THEME_COLOR_SLOT_LABEL_KEYS, SLIDE_SIZE_PRESETS, TRANSITION_VALID_DIRECTIONS, TRANSITION_ORIENTATION_TYPES, TRANSITION_PATTERN_OPTIONS, TRANSITION_THRUBLK_TYPES, clampTransitionNumber, TRANSITION_SPEED_OPTIONS, TRANSITION_MORPH_OPTIONS, flattenTagCollections, resolveTemplateBackgroundRows, formatCommentTimestamp, 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, normalizeTableStyleGuid, describeTableStyleEditor, TABLE_STYLE_EDITOR_PARTS, computeMergeCellRight, computeMergeCellDown, computeSplitCell, updateMergeAttrsInRawXml, 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, addSmartArtNodeAsChild, setSmartArtNodeStyle, removeSmartArtNode, addSiblingAfter, removeEmptyNode, demote, promote, updateSmartArtNodeText, reorder, cropResetState, clampCropValue, cropResetPatch, DUOTONE_PRESETS, ARTISTIC_EFFECTS, mediaTrimEndSeconds, trimmedMediaDurationMs, mediaTrimEndAbsoluteMs, mediaTrimResetState, mediaTrimEndMsFromAbsoluteMs, mediaTrimResetPatch, buildOleEditDialogDescriptor, buildOleContentUpdatePatch, applyOleSheetCellEdit, getOleSheetGrid, applyOleDocumentParagraphEdit, getOleDocumentParagraphs, applyOleNestedDeckElementTextEdit, getOleNestedDeckDetail, replaceOleFile, buildThemeColorSwatchGrid, themeColorSwatchRows, findSelectedThemeSwatch, themeSwatchCommit, getNonVisualDescriptionFields, resolveActionType, ELEMENT_ACTION_TYPE_OPTIONS, elementActionToPptxAction, canCommitActionType, slideSizeFromPreset, withSlideSizeOrientation, TRANSITION_DIR_ARROWS, buildDirectionGrid, getSlideTransitionAnimations, SLIDE_TRANSITION_KEYFRAMES, updateTagInCollections, deleteTagFromCollections, addTagToCollections, commentTextSegments, COMMENT_MENTION_CLASS, COMMENT_MENTION_ATTRIBUTE, insertCommentMention, reorderAnimationTimelineRows, applyAnimationTimelineOrder, getEffectSoundAsset, animationEffectLabel, overlayPointerInput, TABLE_STYLE_BORDER_SIDES, applyTableStyleFieldEdit, createTableStyleEntry, addTableStyleToMap, deleteTableStyleFromMap, LBL, SEL, FILL_MODE_OPTIONS, SECTION_HEADING, NUM, getChartUserShapeGroupTransform, withChartUserShapeGroupChildAdded, createDefaultChartUserShapeGroupChild, withChartUserShapeRowUpdated, getChartUserShapeRowChartBox, withChartUserShapeRowFlipUpdated, withChartUserShapeRowRotationUpdated, withChartUserShapeRowChartBoxUpdated, switchSmartArtLayout, rebuildDrawingShapesIfCleared, mediaTrimEndMsFromSeconds, validateMediaTrimRange, SHAPE_QUICK_STYLES, quickStyleSwatchCss, OFFICE_COLOR_SWATCHES, PATTERN_PRESET_OPTIONS, getPatternSvg, COMPOUND_LINE_OPTIONS, LINE_JOIN_OPTIONS, LINE_CAP_OPTIONS, TEXT_WARP_PRESETS, warpPreviewPath, text3dPtToEmu, text3dEmuToPt, MATERIAL_PRESETS, toSlideIndex, TABLE_STYLE_BORDER_SIDE_LABEL_KEYS, TABLE_STYLE_DASH_PRESETS, GRADIENT_TYPE_OPTIONS, PATTERN_OPTIONS, FILL_PATTERN_LABEL_KEYS, openNativeEyeDropper, toggleText3dExtrusion, BEVEL_PRESETS, cropFit, cropFill, cropToAspectRatio } from './chunk-6VQD24IV.mjs';
1
+ import { computeFocusTargets, deckDataFieldChanged, aiChangeAnimationCss, changeGhostStyle, createChatHistoryStore, collectStoredChats, exportAiChatLogs, applyElementUpdate } from './chunk-QDMBU7AS.mjs';
2
+ 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, playAnimationSound, ResizeHandles, imgSrc, renderStrokeView, useChartPartSelection, resolveSmartArtDataPalette } from './chunk-QZLRYVNR.mjs';
3
+ import { ANIMATION_PRESET_OPTIONS, cn, SLIDE_NAV_THUMBNAIL_WIDTH, DEFAULT_SECTION_GROUP_ID, SHORTCUT_REFERENCE_ITEMS as SHORTCUT_REFERENCE_ITEMS$1, TOOLBAR_SECTIONS, UNGROUPED_SECTION_ID, isConnectorOrLineElement, GRID_SIZE, MIN_ELEMENT_SIZE, SHAPE_PRESETS, CONNECTOR_ARROW_OPTIONS, ARROW_SIZE_OPTIONS, DEFAULT_FILL_COLOR, startMotionPathPreview, startPreviewAnimation, stopPreviewAnimation, DEFAULT_STROKE_COLOR, STROKE_DASH_OPTIONS } from './chunk-EYBZSFNK.mjs';
4
+ import { EMPTY_RESOLVED_CUSTOMIZATION, ANIMATION_DIRECTION_LABEL_KEYS, SWITCHABLE_LAYOUT_TYPES, compileEquationTemplateMathMl, buildUserFontFaceStyles, readStoredViewerPrefs, resolveThemeCatalogEntry, THEME_CATALOG, writeStoredViewerPrefs, openPptxFile, readBackstageRecentFile, isFeatureEnabled, isDialogAvailable, resolveAutosaveActivation, buildThemeColorMap, viewerOptionsToPreferences, applyPreferenceToOptions, resolveHistoryDepth, applyAutoCorrect, resolveImageResolutionScale, resolveAutosaveIntervalMs, resolveAutosaveIntervalSeconds, isPanelVisible, shouldShowAutosaveRecoveryPrompt, resolveOptionRootClasses, RIBBON_SCOPE_ATTR, resolve3DRenderingFlags, resolveSlideSizeSelection, RULER_THICKNESS, RULER_FONT_SIZE, editorThumbnailHeight, buildPreviewElements, deriveSlideFieldContext, SLIDE_TRANSITION_OPTIONS, hiddenSlideCue, EDITOR_THUMBNAIL_WIDTH, HIDDEN_SLIDE_SLASH_GRADIENT, HIDDEN_SLIDE_LABEL_KEY, visibleTemplateElements, normalizeHexColor, themeToCssVars, createCustomizationController, resolveEffectiveHiddenActions, listAutosaveSnapshots, resolveExpiredAutosaveSnapshots, deleteAutosaveSnapshot, masterViewCrudActions, applyMasterViewCrudAction, masterViewCrudFailureKey, EDITOR_CHROME_CSS, ribbonCustomizationCss, applyMotionPathPreset, resetSlideLayoutPath, DEFAULT_INSERT_CHART_KIND, hasCopyableFormat, 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, safeOpenUrl, resolvePresentationAction, isPpactionUrl, parsePpactionUrl, isPresentationAdvanceClick, toggleBlackboard, PRESENT_TOOLBAR_CLASSES, resolveEditPointsAvailability, isCurrentLayout, themeColorSchemesEqual, observeElementHeight, EXPANDED_MAX_HEIGHT, resolveStatusBarSave, statusBarViewMode, formatVersionTimestamp, formatRelativeTime, scanAvailableFontFamilies, PRESETS, CATEGORIES, convertOmmlToLatex, compileLatexEquation, convertLatexToOmml, EQUATION_TEMPLATES, clampPercent2, 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, hasTextProperties, textFontSizePtToPx, hasShapeProperties, 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, isUrlSafe, buildNotesPrintHtml, MIN_TOUCH_TARGET_PX, toggleSheet, SMARTART_PREVIEW_ELEMENT_HEIGHT, SMARTART_PREVIEW_ELEMENT_WIDTH, buildSmartArtPreviewElement, sanitizeMathMl, computeHandoutLayout, getPrintableArea, generateNoteLineCount, computeAllNotesPages, getNotesPrintableArea, downloadBlob, clampOptionNumber, QUICK_ACCESS_COMMAND_CATALOG, registerCustomFont, 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, getShapeAdjustmentHandleDescriptors, 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, getElementTransformWithoutRotation, getElementTransform, 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, isImageLikeElement, mergeSlideTransition, slideBackgroundClearState, slideBackgroundClearPatch, getElementLabel, 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, TABLE_STYLE_PRESETS, applyTableStylePreset, tableStyleAssignmentUpdate, evenColumnWidths, redistributeColumnWidth, evenRowHeights, patchChartData, collapseChartTitleRunsForEdit, chartGridlinesState, chartGridlinesPatch, seriesSecondaryAxisPatch, setChartCategoryLabel, setChartCellValue, addChartCategory, removeChartCategory, addChartSeries, removeChartSeries, setDataLabelsRangeCache, setChartAxisLogScale, setChartAxisTitleStyle, setChartAxisGridlineStyle, setChartSeriesMarker, setChartSeriesChartType, setChartDataPointFill, setChartDataPointExplosion, setChartDataPointMarker, setChartDataPointLabel, describeSmartArtBounds, canAddTopLevelNode, classifyExtraConnections, siblingIndex, siblingCount, canRemoveTopLevelNode, imageResetPatch, imageResetState, canInteractWithElement, buildOleObjectNamePatch, getOleObjectTypeLabel, sanitizeGradientStops, shouldShowAccessibilitySection, pptxActionToElementAction, withFrameSlides, withSlidesPerPage, THEME_COLOR_SCHEME_KEYS, applyThemeOverrideToSlide, COLOR_MAP_ALIAS_KEYS, DEFAULT_COLOR_MAP, schemaLabel, THEME_COLOR_SLOT_LABEL_KEYS, SLIDE_SIZE_PRESETS, TRANSITION_VALID_DIRECTIONS, TRANSITION_ORIENTATION_TYPES, TRANSITION_PATTERN_OPTIONS, TRANSITION_THRUBLK_TYPES, clampTransitionNumber, TRANSITION_SPEED_OPTIONS, TRANSITION_MORPH_OPTIONS, flattenTagCollections, resolveTemplateBackgroundRows, formatCommentTimestamp, 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, normalizeTableStyleGuid, describeTableStyleEditor, TABLE_STYLE_EDITOR_PARTS, computeMergeCellRight, computeMergeCellDown, computeSplitCell, updateMergeAttrsInRawXml, 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, addSmartArtNodeAsChild, setSmartArtNodeStyle, removeSmartArtNode, addSiblingAfter, removeEmptyNode, demote, promote, updateSmartArtNodeText, reorder, cropResetState, clampCropValue, cropResetPatch, DUOTONE_PRESETS, ARTISTIC_EFFECTS, mediaTrimEndSeconds, trimmedMediaDurationMs, mediaTrimEndAbsoluteMs, mediaTrimResetState, mediaTrimEndMsFromAbsoluteMs, mediaTrimResetPatch, buildOleEditDialogDescriptor, buildOleContentUpdatePatch, applyOleSheetCellEdit, getOleSheetGrid, applyOleDocumentParagraphEdit, getOleDocumentParagraphs, applyOleNestedDeckElementTextEdit, getOleNestedDeckDetail, replaceOleFile, buildThemeColorSwatchGrid, themeColorSwatchRows, findSelectedThemeSwatch, themeSwatchCommit, getNonVisualDescriptionFields, resolveActionType, ELEMENT_ACTION_TYPE_OPTIONS, elementActionToPptxAction, canCommitActionType, slideSizeFromPreset, withSlideSizeOrientation, TRANSITION_DIR_ARROWS, buildDirectionGrid, getSlideTransitionAnimations, SLIDE_TRANSITION_KEYFRAMES, updateTagInCollections, deleteTagFromCollections, addTagToCollections, commentTextSegments, COMMENT_MENTION_CLASS, COMMENT_MENTION_ATTRIBUTE, insertCommentMention, reorderAnimationTimelineRows, applyAnimationTimelineOrder, getEffectSoundAsset, animationEffectLabel, overlayPointerInput, TABLE_STYLE_BORDER_SIDES, applyTableStyleFieldEdit, createTableStyleEntry, addTableStyleToMap, deleteTableStyleFromMap, LBL, SEL, FILL_MODE_OPTIONS, SECTION_HEADING, NUM, getChartUserShapeGroupTransform, withChartUserShapeGroupChildAdded, createDefaultChartUserShapeGroupChild, withChartUserShapeRowUpdated, getChartUserShapeRowChartBox, withChartUserShapeRowFlipUpdated, withChartUserShapeRowRotationUpdated, withChartUserShapeRowChartBoxUpdated, switchSmartArtLayout, rebuildDrawingShapesIfCleared, mediaTrimEndMsFromSeconds, validateMediaTrimRange, SHAPE_QUICK_STYLES, quickStyleSwatchCss, OFFICE_COLOR_SWATCHES, PATTERN_PRESET_OPTIONS, getPatternSvg, COMPOUND_LINE_OPTIONS, LINE_JOIN_OPTIONS, LINE_CAP_OPTIONS, TEXT_WARP_PRESETS, warpPreviewPath, text3dPtToEmu, text3dEmuToPt, MATERIAL_PRESETS, toSlideIndex, TABLE_STYLE_BORDER_SIDE_LABEL_KEYS, TABLE_STYLE_DASH_PRESETS, GRADIENT_TYPE_OPTIONS, PATTERN_OPTIONS, FILL_PATTERN_LABEL_KEYS, openNativeEyeDropper, toggleText3dExtrusion, BEVEL_PRESETS, cropFit, cropFill, cropToAspectRatio } from './chunk-MEVOWZCB.mjs';
5
5
  import { LOCALE_CATALOG } from './chunk-Q4HRYUEP.mjs';
6
6
  import React97, { createContext, lazy, forwardRef, useEffect, useState, useCallback, useMemo, useRef, useLayoutEffect, useSyncExternalStore, useId, useContext, useDeferredValue, Suspense, useReducer, Fragment as Fragment$1 } from 'react';
7
7
  import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
@@ -872,7 +872,7 @@ function ArrangeSection(p) {
872
872
  /* @__PURE__ */ jsx(WebHomeControls, { family: "arrange-order", controls, onRequest: requestOrder }),
873
873
  /* @__PURE__ */ jsx(WebHomeControls, { family: "arrange-edit", controls, onRequest: requestEdit })
874
874
  ] }),
875
- /* @__PURE__ */ jsx("span", { className: "text-[9px] text-muted-foreground leading-none", children: t("pptx.arrange.groupLabel") })
875
+ /* @__PURE__ */ jsx("span", { "data-pptx-chrome": "ribbon-group-label", children: t("pptx.arrange.groupLabel") })
876
876
  ] });
877
877
  }
878
878
  var RibbonGalleryCommandsContext = createContext(null);
@@ -1095,7 +1095,6 @@ function DesignSection(p) {
1095
1095
  label: t(command.labelKey),
1096
1096
  title: t(command.titleKey),
1097
1097
  icon: command.icon,
1098
- compact: true,
1099
1098
  disabled: view.disabled,
1100
1099
  active: view.active,
1101
1100
  expanded: view.expanded,
@@ -1210,7 +1209,7 @@ function AccountPage() {
1210
1209
  return void 0;
1211
1210
  });
1212
1211
  };
1213
- const version = "4.19.0" ;
1212
+ const version = "4.19.1" ;
1214
1213
  return /* @__PURE__ */ jsxs("div", { className: "mt-8 max-w-[700px] space-y-6", children: [
1215
1214
  /* @__PURE__ */ jsxs("section", { className: cardClass, children: [
1216
1215
  /* @__PURE__ */ jsxs("h2", { className: "flex items-center gap-2 text-sm font-semibold", children: [
@@ -1653,29 +1652,6 @@ function ClipboardGroup(p) {
1653
1652
  );
1654
1653
  return /* @__PURE__ */ jsx(WebHomeControls, { family: "clipboard", controls, onRequest: request });
1655
1654
  }
1656
- function FontPickerGroup(p) {
1657
- const { t } = useTranslation();
1658
- const { enabled, fontFamily, fontSize, themeFonts, embeddedFonts, customFonts } = p;
1659
- const { onFamily, onSize } = p;
1660
- const controls = useMemo(
1661
- () => fontPickerHomeControls(
1662
- { enabled, fontFamily, fontSize, themeFonts, embeddedFonts, customFonts },
1663
- t
1664
- ),
1665
- [enabled, fontFamily, fontSize, themeFonts, embeddedFonts, customFonts, t]
1666
- );
1667
- const request = useCallback(
1668
- (id, _part, intent) => {
1669
- if (id === "home.font.fontFamily") {
1670
- onFamily(String(intent?.value));
1671
- } else {
1672
- onSize(Number(intent?.value));
1673
- }
1674
- },
1675
- [onFamily, onSize]
1676
- );
1677
- return /* @__PURE__ */ jsx(WebHomeControls, { family: "font-picker", controls, onRequest: request });
1678
- }
1679
1655
  function useLayoutPreviews(loadPreviews, enabled) {
1680
1656
  const [previews, setPreviews] = useState(/* @__PURE__ */ new Map());
1681
1657
  useEffect(() => {
@@ -1836,7 +1812,13 @@ function LayoutArtwork({
1836
1812
  element.id
1837
1813
  )) });
1838
1814
  }
1839
- var sep = /* @__PURE__ */ jsx("div", { className: "w-px self-stretch bg-border/40 mx-1 max-md:hidden" });
1815
+ var sep = /* @__PURE__ */ jsx(
1816
+ "div",
1817
+ {
1818
+ className: "w-px self-stretch bg-border/40 mx-1 max-md:hidden",
1819
+ "data-pptx-chrome": "ribbon-sep"
1820
+ }
1821
+ );
1840
1822
  var ic = "w-4 h-4";
1841
1823
  var ics = "w-3.5 h-3.5";
1842
1824
  var OV = [
@@ -2030,30 +2012,8 @@ function SlidesGroup(p) {
2030
2012
  )
2031
2013
  ] });
2032
2014
  }
2033
- function extractFontInfo(element, themeFonts) {
2034
- const placeholderType = element?.placeholderType;
2035
- const defaults = {
2036
- fontFamily: resolveDefaultFontFamily(placeholderType, themeFonts),
2037
- fontSize: "24"
2038
- };
2039
- if (!element || !hasTextProperties(element)) {
2040
- return defaults;
2041
- }
2042
- const segStyle = element.textSegments?.[0]?.style;
2043
- const textStyle = element.textStyle;
2044
- const fontFamily = segStyle?.fontFamily ?? textStyle?.fontFamily ?? defaults.fontFamily;
2045
- const fontSize = segStyle?.fontSize ?? textStyle?.fontSize;
2046
- return {
2047
- fontFamily,
2048
- fontSize: fontSize !== void 0 && fontSize !== null ? String(textFontSizePxToPt(fontSize)) : defaults.fontSize
2049
- };
2050
- }
2051
2015
  function HomeSection(p) {
2052
- const { fontFamily, fontSize } = extractFontInfo(p.selectedElement, p.themeFonts);
2053
2016
  const hasSelection = Boolean(p.selectedElement);
2054
- const canFormat = p.canEdit && Boolean(p.onUpdateTextStyle) && Boolean(
2055
- p.selectedElement && (hasTextProperties(p.selectedElement) || p.selectedElement.type === "table" && p.tableEditorState)
2056
- );
2057
2017
  return /* @__PURE__ */ jsxs(Fragment, { children: [
2058
2018
  /* @__PURE__ */ jsx(
2059
2019
  ClipboardGroup,
@@ -2084,23 +2044,7 @@ function HomeSection(p) {
2084
2044
  onResetSlide: p.onResetSlide,
2085
2045
  onAddSection: p.onAddSection
2086
2046
  }
2087
- ),
2088
- /* @__PURE__ */ jsx(
2089
- FontPickerGroup,
2090
- {
2091
- enabled: canFormat,
2092
- fontFamily,
2093
- fontSize,
2094
- themeFonts: p.themeFonts,
2095
- embeddedFonts: p.embeddedFontFamilies,
2096
- customFonts: p.customFontFamilies,
2097
- onFamily: (family) => p.onUpdateTextStyle?.({ fontFamily: family }),
2098
- onSize: (size) => p.onUpdateTextStyle?.({
2099
- fontSize: p.selectedElement && hasTextProperties(p.selectedElement) ? textFontSizePtToPx(size) : size
2100
- })
2101
- }
2102
- ),
2103
- sep
2047
+ )
2104
2048
  ] });
2105
2049
  }
2106
2050
  function nowLocalInputValue() {
@@ -2584,6 +2528,26 @@ function SlideShowSection(p) {
2584
2528
  ) })
2585
2529
  ] });
2586
2530
  }
2531
+
2532
+ // src/viewer/components/toolbar/font-info.ts
2533
+ function extractFontInfo(element, themeFonts) {
2534
+ const placeholderType = element?.placeholderType;
2535
+ const defaults = {
2536
+ fontFamily: resolveDefaultFontFamily(placeholderType, themeFonts),
2537
+ fontSize: "24"
2538
+ };
2539
+ if (!element || !hasTextProperties(element)) {
2540
+ return defaults;
2541
+ }
2542
+ const segStyle = element.textSegments?.[0]?.style;
2543
+ const textStyle = element.textStyle;
2544
+ const fontFamily = segStyle?.fontFamily ?? textStyle?.fontFamily ?? defaults.fontFamily;
2545
+ const fontSize = segStyle?.fontSize ?? textStyle?.fontSize;
2546
+ return {
2547
+ fontFamily,
2548
+ fontSize: fontSize !== void 0 && fontSize !== null ? String(textFontSizePxToPt(fontSize)) : defaults.fontSize
2549
+ };
2550
+ }
2587
2551
  var ThemeColorMapContext = createContext(void 0);
2588
2552
  var ThemeColorMapProvider = ThemeColorMapContext.Provider;
2589
2553
  function useThemeColorMap() {
@@ -2755,6 +2719,29 @@ function FontFormatGroup(p) {
2755
2719
  );
2756
2720
  return /* @__PURE__ */ jsx(WebHomeControls, { family: "font", controls, onRequest: request });
2757
2721
  }
2722
+ function FontPickerGroup(p) {
2723
+ const { t } = useTranslation();
2724
+ const { enabled, fontFamily, fontSize, themeFonts, embeddedFonts, customFonts } = p;
2725
+ const { onFamily, onSize } = p;
2726
+ const controls = useMemo(
2727
+ () => fontPickerHomeControls(
2728
+ { enabled, fontFamily, fontSize, themeFonts, embeddedFonts, customFonts },
2729
+ t
2730
+ ),
2731
+ [enabled, fontFamily, fontSize, themeFonts, embeddedFonts, customFonts, t]
2732
+ );
2733
+ const request = useCallback(
2734
+ (id, _part, intent) => {
2735
+ if (id === "home.font.fontFamily") {
2736
+ onFamily(String(intent?.value));
2737
+ } else {
2738
+ onSize(Number(intent?.value));
2739
+ }
2740
+ },
2741
+ [onFamily, onSize]
2742
+ );
2743
+ return /* @__PURE__ */ jsx(WebHomeControls, { family: "font-picker", controls, onRequest: request });
2744
+ }
2758
2745
  function ParagraphGroup(p) {
2759
2746
  const { t } = useTranslation();
2760
2747
  const { canMut, canFormat, effectiveTs, onUpdateTextStyle, onToggleBullets } = p;
@@ -2824,8 +2811,8 @@ function ParagraphGroup(p) {
2824
2811
  [canFormat, effectiveTs, onUpdateTextStyle, onToggleBullets, commands]
2825
2812
  );
2826
2813
  return /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center gap-0.5", ...groupAttr("home.paragraph"), children: [
2827
- /* @__PURE__ */ jsx("div", { className: "flex items-center gap-1", children: /* @__PURE__ */ jsx(WebHomeControls, { family: "paragraph", controls, onRequest: request }) }),
2828
- /* @__PURE__ */ jsx("span", { className: "text-[9px] text-muted-foreground leading-none", children: t("pptx.ribbon.paragraph") })
2814
+ /* @__PURE__ */ jsx("div", { className: "flex items-center gap-1", "data-pptx-chrome": "paragraph-controls", children: /* @__PURE__ */ jsx(WebHomeControls, { family: "paragraph", controls, onRequest: request }) }),
2815
+ /* @__PURE__ */ jsx("span", { "data-pptx-chrome": "ribbon-group-label", children: t("pptx.ribbon.paragraph") })
2829
2816
  ] });
2830
2817
  }
2831
2818
  function subscribe(onChange) {
@@ -2860,6 +2847,7 @@ function TextSection(p) {
2860
2847
  const { t } = useTranslation();
2861
2848
  const hasSel = Boolean(p.selectedElement);
2862
2849
  const canMut = hasSel && p.canEdit;
2850
+ const { fontFamily, fontSize } = extractFontInfo(p.selectedElement, p.themeFonts);
2863
2851
  const isTextEl = hasSel && p.selectedElement !== null && hasTextProperties(p.selectedElement);
2864
2852
  const isTable = hasSel && p.selectedElement?.type === "table";
2865
2853
  const canFormat = isTextEl || isTable;
@@ -2881,24 +2869,41 @@ function TextSection(p) {
2881
2869
  const currentHighlight = isTextEl && p.selectedElement && hasTextProperties(p.selectedElement) ? p.selectedElement.textSegments?.[0]?.style?.highlightColor ?? p.selectedElement.textStyle?.highlightColor ?? "#ffff00" : "#ffff00";
2882
2870
  return /* @__PURE__ */ jsxs(Fragment, { children: [
2883
2871
  /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center gap-0.5", ...groupAttr("home.font"), children: [
2884
- /* @__PURE__ */ jsx("div", { className: "flex items-center gap-1", "data-pptx-chrome": "font-controls", children: /* @__PURE__ */ jsx(
2885
- FontFormatGroup,
2886
- {
2887
- canMut,
2888
- canFormat,
2889
- isTextEl,
2890
- selectedElement: p.selectedElement,
2891
- tableEditorState: p.tableEditorState,
2892
- effectiveTs,
2893
- isTable,
2894
- currentColor,
2895
- currentColorRef: currentColorThemeRef,
2896
- currentHighlight,
2897
- onUpdateTextStyle: p.onUpdateTextStyle,
2898
- onTransformTextCase: p.onTransformTextCase
2899
- }
2900
- ) }),
2901
- /* @__PURE__ */ jsx("span", { className: "text-[9px] text-muted-foreground leading-none", children: t("pptx.ribbon.font") })
2872
+ /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1", "data-pptx-chrome": "font-controls", children: [
2873
+ /* @__PURE__ */ jsx(
2874
+ FontPickerGroup,
2875
+ {
2876
+ enabled: p.canEdit && (isTextEl || isTable && Boolean(p.tableEditorState)),
2877
+ fontFamily,
2878
+ fontSize,
2879
+ themeFonts: p.themeFonts,
2880
+ embeddedFonts: p.embeddedFontFamilies,
2881
+ customFonts: p.customFontFamilies,
2882
+ onFamily: (family) => p.onUpdateTextStyle({ fontFamily: family }),
2883
+ onSize: (size) => p.onUpdateTextStyle({
2884
+ fontSize: p.selectedElement && hasTextProperties(p.selectedElement) ? textFontSizePtToPx(size) : size
2885
+ })
2886
+ }
2887
+ ),
2888
+ /* @__PURE__ */ jsx(
2889
+ FontFormatGroup,
2890
+ {
2891
+ canMut,
2892
+ canFormat,
2893
+ isTextEl,
2894
+ selectedElement: p.selectedElement,
2895
+ tableEditorState: p.tableEditorState,
2896
+ effectiveTs,
2897
+ isTable,
2898
+ currentColor,
2899
+ currentColorRef: currentColorThemeRef,
2900
+ currentHighlight,
2901
+ onUpdateTextStyle: p.onUpdateTextStyle,
2902
+ onTransformTextCase: p.onTransformTextCase
2903
+ }
2904
+ )
2905
+ ] }),
2906
+ /* @__PURE__ */ jsx("span", { "data-pptx-chrome": "ribbon-group-label", children: t("pptx.ribbon.font") })
2902
2907
  ] }),
2903
2908
  sep,
2904
2909
  /* @__PURE__ */ jsx(
@@ -3126,9 +3131,7 @@ function MobileSectionBody({
3126
3131
  onInsertSlideFromLayout: p.onInsertSlideFromLayout,
3127
3132
  onInsertSlideFromTemplate: p.onInsertSlideFromTemplate,
3128
3133
  templateScheme: p.templateScheme,
3129
- selectedElement: p.selectedElement,
3130
- tableEditorState: p.tableEditorState,
3131
- onUpdateTextStyle: p.onUpdateTextStyle
3134
+ selectedElement: p.selectedElement
3132
3135
  }
3133
3136
  ) });
3134
3137
  case "insert":
@@ -3161,7 +3164,10 @@ function MobileSectionBody({
3161
3164
  tableEditorState: p.tableEditorState,
3162
3165
  onUpdateTextStyle: p.onUpdateTextStyle,
3163
3166
  onToggleBullets: p.onToggleBullets,
3164
- onTransformTextCase: p.onTransformTextCase
3167
+ onTransformTextCase: p.onTransformTextCase,
3168
+ themeFonts: p.themeFonts,
3169
+ embeddedFontFamilies: p.embeddedFontFamilies,
3170
+ customFontFamilies: p.customFontFamilies
3165
3171
  }
3166
3172
  ) });
3167
3173
  case "draw":
@@ -3494,7 +3500,7 @@ function DrawingGroup(p) {
3494
3500
  return /* @__PURE__ */ jsxs(Fragment, { children: [
3495
3501
  /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center gap-0.5", ...groupAttr("home.drawing"), children: [
3496
3502
  /* @__PURE__ */ jsx("div", { className: "flex items-center gap-1", "data-pptx-chrome": "drawing-controls", children: /* @__PURE__ */ jsx(WebHomeControls, { family: "drawing", controls, onRequest: request }) }),
3497
- /* @__PURE__ */ jsx("span", { className: "text-[9px] text-muted-foreground leading-none", children: t("pptx.ribbon.groupDrawing") })
3503
+ /* @__PURE__ */ jsx("span", { "data-pptx-chrome": "ribbon-group-label", children: t("pptx.ribbon.groupDrawing") })
3498
3504
  ] }),
3499
3505
  sep
3500
3506
  ] });
@@ -3513,8 +3519,8 @@ function EditingSection(p) {
3513
3519
  return /* @__PURE__ */ jsxs(Fragment, { children: [
3514
3520
  sep,
3515
3521
  /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center gap-0.5", ...groupAttr("home.editing"), children: [
3516
- /* @__PURE__ */ jsx("div", { className: "flex items-center gap-1", children: /* @__PURE__ */ jsx(WebHomeControls, { family: "editing", controls, onRequest: request }) }),
3517
- /* @__PURE__ */ jsx("span", { className: "text-[9px] text-muted-foreground leading-none", children: t("pptx.ribbon.editing") })
3522
+ /* @__PURE__ */ jsx("div", { className: "flex items-center gap-1", "data-pptx-chrome": "editing-controls", children: /* @__PURE__ */ jsx(WebHomeControls, { family: "editing", controls, onRequest: request }) }),
3523
+ /* @__PURE__ */ jsx("span", { "data-pptx-chrome": "ribbon-group-label", children: t("pptx.ribbon.editing") })
3518
3524
  ] })
3519
3525
  ] });
3520
3526
  }
@@ -4286,6 +4292,27 @@ function Toolbar(p) {
4286
4292
  );
4287
4293
  const fallBackHome = useCallback(() => onSetToolbarSection("home"), [onSetToolbarSection]);
4288
4294
  const contextual = useContextualRibbonTab(p.selectedElement, customization, fallBackHome);
4295
+ const detachOverflow = useRef(null);
4296
+ const inspector = useRef({ open: p.isInspectorPaneOpen, toggle: p.onToggleInspector });
4297
+ inspector.current = { open: p.isInspectorPaneOpen, toggle: p.onToggleInspector };
4298
+ const launchers = useMemo(
4299
+ () => homeLaunchers(
4300
+ () => t("pptx.inspector.properties"),
4301
+ () => {
4302
+ if (!inspector.current.open) {
4303
+ inspector.current.toggle();
4304
+ }
4305
+ }
4306
+ ),
4307
+ [t]
4308
+ );
4309
+ const attachOverflow = useCallback(
4310
+ (node) => {
4311
+ detachOverflow.current?.();
4312
+ detachOverflow.current = node ? attachRibbonOverflow(node, { launchers }) : null;
4313
+ },
4314
+ [launchers]
4315
+ );
4289
4316
  if (isNarrowViewport && mode !== "present") {
4290
4317
  return /* @__PURE__ */ jsx(MobileToolbar, { ...p });
4291
4318
  }
@@ -4357,6 +4384,7 @@ function Toolbar(p) {
4357
4384
  showRibbon && /* @__PURE__ */ jsxs(
4358
4385
  "div",
4359
4386
  {
4387
+ ref: attachOverflow,
4360
4388
  "data-pptx-chrome": "ribbon-content",
4361
4389
  className: cn(
4362
4390
  // Plain controls stay compact; labelled RibbonGroups opt into stretching.
@@ -4412,16 +4440,11 @@ function Toolbar(p) {
4412
4440
  layoutOptions: p.layoutOptions,
4413
4441
  currentLayoutPath: p.currentLayoutPath,
4414
4442
  loadLayoutPreviews: p.loadLayoutPreviews,
4415
- themeFonts: p.themeFonts,
4416
- embeddedFontFamilies: p.embeddedFontFamilies,
4417
- customFontFamilies: p.customFontFamilies,
4418
4443
  onInsertSlideFromLayout: p.onInsertSlideFromLayout,
4419
4444
  onApplyLayout: p.onApplyLayout,
4420
4445
  onInsertSlideFromTemplate: p.onInsertSlideFromTemplate,
4421
4446
  templateScheme: p.templateScheme,
4422
4447
  selectedElement: p.selectedElement,
4423
- tableEditorState: p.tableEditorState,
4424
- onUpdateTextStyle: p.onUpdateTextStyle,
4425
4448
  onResetSlide: p.onResetSlide,
4426
4449
  onAddSection: p.onAddSection
4427
4450
  }
@@ -4457,14 +4480,10 @@ function Toolbar(p) {
4457
4480
  tableEditorState: p.tableEditorState,
4458
4481
  onUpdateTextStyle: p.onUpdateTextStyle,
4459
4482
  onToggleBullets: p.onToggleBullets,
4460
- onTransformTextCase: p.onTransformTextCase
4461
- }
4462
- ),
4463
- sHome && /* @__PURE__ */ jsx(
4464
- EditingSection,
4465
- {
4466
- onToggleFindReplace: p.onToggleFindReplace,
4467
- onSelectAll: p.onSelectAll
4483
+ onTransformTextCase: p.onTransformTextCase,
4484
+ themeFonts: p.themeFonts,
4485
+ embeddedFontFamilies: p.embeddedFontFamilies,
4486
+ customFontFamilies: p.customFontFamilies
4468
4487
  }
4469
4488
  ),
4470
4489
  sHome && /* @__PURE__ */ jsx(
@@ -4480,6 +4499,13 @@ function Toolbar(p) {
4480
4499
  onUpdateElementStyle: p.onUpdateElementStyle
4481
4500
  }
4482
4501
  ),
4502
+ sHome && /* @__PURE__ */ jsx(
4503
+ EditingSection,
4504
+ {
4505
+ onToggleFindReplace: p.onToggleFindReplace,
4506
+ onSelectAll: p.onSelectAll
4507
+ }
4508
+ ),
4483
4509
  sDrw && /* @__PURE__ */ jsx(
4484
4510
  DrawSection,
4485
4511
  {
@@ -31240,7 +31266,7 @@ function useTableStyleMapHandlers(input) {
31240
31266
  var AiChatPanel = lazy(async () => {
31241
31267
  const [{ useChat }, { default: Panel }] = await Promise.all([
31242
31268
  import('@ai-sdk/react'),
31243
- import('./AiChatPanel-NUR5MVNW.mjs')
31269
+ import('./AiChatPanel-GBKB26LM.mjs')
31244
31270
  ]);
31245
31271
  function BoundAiChatPanel(props) {
31246
31272
  return /* @__PURE__ */ jsx(Panel, { ...props, useChat });
Binary file
Binary file