pptx-react-viewer 4.72.0 → 4.73.1

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 (58) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist/ai.d.ts +15 -0
  3. package/dist/{chunk-TBG6UJHU.mjs → chunk-BGWFZCRX.mjs} +2 -2
  4. package/dist/chunk-BGWFZCRX.mjs.br +0 -0
  5. package/dist/chunk-BGWFZCRX.mjs.gz +0 -0
  6. package/dist/{chunk-DHCM6STL.mjs → chunk-CRC3V4UG.mjs} +1 -1
  7. package/dist/chunk-CRC3V4UG.mjs.br +0 -0
  8. package/dist/{chunk-DHCM6STL.mjs.gz → chunk-CRC3V4UG.mjs.gz} +0 -0
  9. package/dist/{chunk-BYPHHRBZ.js → chunk-XG4WSJ4O.js} +1 -1
  10. package/dist/chunk-XG4WSJ4O.js.br +0 -0
  11. package/dist/{chunk-BYPHHRBZ.js.gz → chunk-XG4WSJ4O.js.gz} +0 -0
  12. package/dist/{chunk-HQH274BM.js → chunk-YLJSLYQS.js} +122 -122
  13. package/dist/chunk-YLJSLYQS.js.br +0 -0
  14. package/dist/chunk-YLJSLYQS.js.gz +0 -0
  15. package/dist/index.d.ts +3 -3
  16. package/dist/index.js +24 -24
  17. package/dist/index.js.br +0 -0
  18. package/dist/index.js.gz +0 -0
  19. package/dist/index.mjs +2 -2
  20. package/dist/index.mjs.br +0 -0
  21. package/dist/index.mjs.gz +0 -0
  22. package/dist/internals.d.ts +16 -16
  23. package/dist/internals.js +80 -80
  24. package/dist/internals.js.br +0 -0
  25. package/dist/internals.js.gz +0 -0
  26. package/dist/internals.mjs +1 -1
  27. package/dist/internals.mjs.br +0 -0
  28. package/dist/internals.mjs.gz +0 -0
  29. package/dist/pptx-viewer-canvas.css +2 -2
  30. package/dist/pptx-viewer-canvas.css.br +0 -0
  31. package/dist/pptx-viewer-canvas.css.gz +0 -0
  32. package/dist/pptx-viewer.css +2 -2
  33. package/dist/pptx-viewer.css.br +0 -0
  34. package/dist/pptx-viewer.css.gz +0 -0
  35. package/dist/{three.module-MBFHAT6M.js → three.module-JBKIR2OB.js} +1369 -1174
  36. package/dist/three.module-JBKIR2OB.js.br +0 -0
  37. package/dist/three.module-JBKIR2OB.js.gz +0 -0
  38. package/dist/{three.module-EBJVANGB.mjs → three.module-PMXOC26V.mjs} +1370 -1174
  39. package/dist/three.module-PMXOC26V.mjs.br +0 -0
  40. package/dist/three.module-PMXOC26V.mjs.gz +0 -0
  41. package/dist/viewer/index.d.ts +12 -12
  42. package/dist/viewer/index.js +18 -18
  43. package/dist/viewer/index.js.br +0 -0
  44. package/dist/viewer/index.js.gz +0 -0
  45. package/dist/viewer/index.mjs +2 -2
  46. package/dist/viewer/index.mjs.br +0 -0
  47. package/dist/viewer/index.mjs.gz +0 -0
  48. package/package.json +10 -10
  49. package/dist/chunk-BYPHHRBZ.js.br +0 -0
  50. package/dist/chunk-DHCM6STL.mjs.br +0 -0
  51. package/dist/chunk-HQH274BM.js.br +0 -0
  52. package/dist/chunk-HQH274BM.js.gz +0 -0
  53. package/dist/chunk-TBG6UJHU.mjs.br +0 -0
  54. package/dist/chunk-TBG6UJHU.mjs.gz +0 -0
  55. package/dist/three.module-EBJVANGB.mjs.br +0 -0
  56. package/dist/three.module-EBJVANGB.mjs.gz +0 -0
  57. package/dist/three.module-MBFHAT6M.js.br +0 -0
  58. package/dist/three.module-MBFHAT6M.js.gz +0 -0
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkLVEFHZ76_js = require('./chunk-LVEFHZ76.js');
4
- var chunkBYPHHRBZ_js = require('./chunk-BYPHHRBZ.js');
4
+ var chunkXG4WSJ4O_js = require('./chunk-XG4WSJ4O.js');
5
5
  var chunkP2COO2QO_js = require('./chunk-P2COO2QO.js');
6
6
  var pptx = require('ooxml-ui/pptx');
7
7
  var React108 = require('react');
@@ -577,7 +577,7 @@ function SlideThumbnailImpl({
577
577
  ...pptx.deviceStrokeStageStyle(scale)
578
578
  },
579
579
  children: [
580
- /* @__PURE__ */ jsxRuntime.jsx(chunkBYPHHRBZ_js.SlideBackgroundImageLayer, { slide }),
580
+ /* @__PURE__ */ jsxRuntime.jsx(chunkXG4WSJ4O_js.SlideBackgroundImageLayer, { slide }),
581
581
  slide.transition && slide.transition.type !== "none" && slide.transition.type !== "cut" && /* @__PURE__ */ jsxRuntime.jsx(
582
582
  "div",
583
583
  {
@@ -587,7 +587,7 @@ function SlideThumbnailImpl({
587
587
  }
588
588
  ),
589
589
  previewElements.map((element, index) => /* @__PURE__ */ jsxRuntime.jsx(
590
- chunkBYPHHRBZ_js.StaticElementRenderer,
590
+ chunkXG4WSJ4O_js.StaticElementRenderer,
591
591
  {
592
592
  element,
593
593
  activeSlide: slide,
@@ -1042,7 +1042,7 @@ function SlidesPaneSidebar({
1042
1042
  tableStyleContext
1043
1043
  }) {
1044
1044
  const { t } = chunkP2COO2QO_js.useTranslation();
1045
- const collab = chunkBYPHHRBZ_js.useCollaboration();
1045
+ const collab = chunkXG4WSJ4O_js.useCollaboration();
1046
1046
  const slideRefs = React108.useRef(/* @__PURE__ */ new Map());
1047
1047
  const renameInputRef = React108.useRef(null);
1048
1048
  const slidePresenceMap = React108.useMemo(() => {
@@ -1137,7 +1137,7 @@ function SlidesPaneSidebar({
1137
1137
  [sectionGroups, showSectionHeaders, effectiveCollapsed]
1138
1138
  );
1139
1139
  const shouldVirtualize = slides.length >= VIRTUALIZATION_THRESHOLD;
1140
- const { startIndex, endIndex, totalHeight, offsetY, scrollContainerRef, scrollToIndex } = chunkBYPHHRBZ_js.useVirtualizedSlides({
1140
+ const { startIndex, endIndex, totalHeight, offsetY, scrollContainerRef, scrollToIndex } = chunkXG4WSJ4O_js.useVirtualizedSlides({
1141
1141
  totalItems: shouldVirtualize ? flatItems.length : 0,
1142
1142
  itemHeight: estimatedItemHeight
1143
1143
  });
@@ -1421,7 +1421,7 @@ function SlideTemplatePreview({
1421
1421
  transformOrigin: "top left"
1422
1422
  },
1423
1423
  children: previewSlide.elements.map((element, index) => /* @__PURE__ */ jsxRuntime.jsx(
1424
- chunkBYPHHRBZ_js.StaticElementRenderer,
1424
+ chunkXG4WSJ4O_js.StaticElementRenderer,
1425
1425
  {
1426
1426
  element,
1427
1427
  activeSlide: previewSlide,
@@ -1490,7 +1490,7 @@ function SlideTemplateGalleryDialog({
1490
1490
  scheme
1491
1491
  }) {
1492
1492
  const { t } = chunkP2COO2QO_js.useTranslation();
1493
- const { panelStyle, handlers: dragHandlers } = chunkBYPHHRBZ_js.useModalDismissDrag(onClose);
1493
+ const { panelStyle, handlers: dragHandlers } = chunkXG4WSJ4O_js.useModalDismissDrag(onClose);
1494
1494
  const [selected, setSelected] = React108.useState(null);
1495
1495
  const dialogRef = React108.useRef(null);
1496
1496
  useModalFocus(isOpen, dialogRef, onClose);
@@ -2041,7 +2041,7 @@ function MobileSheet({
2041
2041
  }) {
2042
2042
  const sheetRef = React108.useRef(null);
2043
2043
  const { t } = chunkP2COO2QO_js.useTranslation();
2044
- const { dragY, dragging, handlers } = chunkBYPHHRBZ_js.useSheetDismissDrag(onClose);
2044
+ const { dragY, dragging, handlers } = chunkXG4WSJ4O_js.useSheetDismissDrag(onClose);
2045
2045
  useModalFocus(open, sheetRef, onClose);
2046
2046
  if (!open) {
2047
2047
  return null;
@@ -2310,7 +2310,7 @@ function WebHomeControls({
2310
2310
  function ShapeArrangeExtras(p) {
2311
2311
  const commands = useShapeFormatContext();
2312
2312
  const crop = commands?.crop;
2313
- const { isHidden } = chunkBYPHHRBZ_js.useToolbarVisibility(p.hiddenActions);
2313
+ const { isHidden } = chunkXG4WSJ4O_js.useToolbarVisibility(p.hiddenActions);
2314
2314
  const { onGroupElements, onUngroupElement, onUpdateElementStyle } = p;
2315
2315
  const controls = React108.useMemo(
2316
2316
  () => pptx.arrangeShapeHomeControls({
@@ -2645,7 +2645,7 @@ function TransitionsSection(p) {
2645
2645
  case "soundPreview": {
2646
2646
  const url = pptx.ribbonTransitionStockSoundUrl(transition);
2647
2647
  if (url) {
2648
- chunkBYPHHRBZ_js.playAnimationSound(url);
2648
+ chunkXG4WSJ4O_js.playAnimationSound(url);
2649
2649
  }
2650
2650
  break;
2651
2651
  }
@@ -2853,7 +2853,7 @@ function AccountPage() {
2853
2853
  refreshUsage();
2854
2854
  setTimeout(() => setCleared(false), 4e3);
2855
2855
  };
2856
- const version = "4.72.0" ;
2856
+ const version = "4.73.1" ;
2857
2857
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-8 max-w-[700px] space-y-6", children: [
2858
2858
  /* @__PURE__ */ jsxRuntime.jsxs("section", { className: cardClass, children: [
2859
2859
  /* @__PURE__ */ jsxRuntime.jsxs("h2", { className: "flex items-center gap-2 text-sm font-semibold", children: [
@@ -3118,7 +3118,7 @@ function FileSection(p) {
3118
3118
  const page = offered(requestedPage) ? requestedPage : offered("home") ? "home" : nav.find((item) => item.id !== "save" && item.id !== "close")?.id ?? "home";
3119
3119
  const [query, setQuery] = React108.useState("");
3120
3120
  const [recent, setRecent] = React108.useState([]);
3121
- const { isHidden } = chunkBYPHHRBZ_js.useToolbarVisibility(p.hiddenActions);
3121
+ const { isHidden } = chunkXG4WSJ4O_js.useToolbarVisibility(p.hiddenActions);
3122
3122
  const exportHidden = isHidden("export");
3123
3123
  const storage = useViewerStorage();
3124
3124
  const cloud = useViewerCloudFiles();
@@ -3487,7 +3487,7 @@ function LayoutArtwork({
3487
3487
  backgroundColor
3488
3488
  };
3489
3489
  return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: (preview?.elements ?? []).slice(0, MAX_PREVIEW_ELEMENTS).map((element, index) => /* @__PURE__ */ jsxRuntime.jsx(
3490
- chunkBYPHHRBZ_js.StaticElementRenderer,
3490
+ chunkXG4WSJ4O_js.StaticElementRenderer,
3491
3491
  {
3492
3492
  element,
3493
3493
  activeSlide: slide,
@@ -3842,7 +3842,7 @@ function SlideShowOptions({
3842
3842
  }
3843
3843
  function SubtitleSettingsControl() {
3844
3844
  const { t } = chunkP2COO2QO_js.useTranslation();
3845
- const supplied = React108.useContext(chunkBYPHHRBZ_js.ViewerOptionsStoreContext);
3845
+ const supplied = React108.useContext(chunkXG4WSJ4O_js.ViewerOptionsStoreContext);
3846
3846
  const fallback = React108.useRef(null);
3847
3847
  if (!supplied) {
3848
3848
  fallback.current ??= pptx.createViewerOptionsStore({ persist: false });
@@ -3876,7 +3876,7 @@ function SubtitleSettingsControl() {
3876
3876
  }
3877
3877
  function SlideShowSection(p) {
3878
3878
  const { t } = chunkP2COO2QO_js.useTranslation();
3879
- const { isHidden } = chunkBYPHHRBZ_js.useToolbarVisibility(p.hiddenActions);
3879
+ const { isHidden } = chunkXG4WSJ4O_js.useToolbarVisibility(p.hiddenActions);
3880
3880
  const actions = {
3881
3881
  "slideShow.startSlideShow.fromBeginning": p.onPresentFromBeginning ?? (() => p.onSetMode("present")),
3882
3882
  "slideShow.startSlideShow.fromCurrent": p.onPresent,
@@ -4396,7 +4396,7 @@ function MobileMenuSheet(props) {
4396
4396
  const { t } = chunkP2COO2QO_js.useTranslation();
4397
4397
  const { open, onClose } = props;
4398
4398
  const [active, setActive] = React108.useState("home");
4399
- const { isTabVisible } = chunkBYPHHRBZ_js.useToolbarVisibility(props.hiddenActions);
4399
+ const { isTabVisible } = chunkXG4WSJ4O_js.useToolbarVisibility(props.hiddenActions);
4400
4400
  return /* @__PURE__ */ jsxRuntime.jsx(
4401
4401
  MobileSheet,
4402
4402
  {
@@ -4688,7 +4688,7 @@ function MobileToolbar(props) {
4688
4688
  const { t } = chunkP2COO2QO_js.useTranslation();
4689
4689
  const { mode, canUndo, canRedo, onUndo, onRedo, onSetMode, onSaveAsPptx } = props;
4690
4690
  const [menuOpen, setMenuOpen] = React108.useState(false);
4691
- const { isHidden } = chunkBYPHHRBZ_js.useToolbarVisibility(props.hiddenActions);
4691
+ const { isHidden } = chunkXG4WSJ4O_js.useToolbarVisibility(props.hiddenActions);
4692
4692
  const showEdit = mode === "edit" || mode === "master";
4693
4693
  const hidden = [];
4694
4694
  if (isHidden("undo")) {
@@ -4735,7 +4735,7 @@ function MobileToolbar(props) {
4735
4735
  }
4736
4736
  function ChartSelectionStrip() {
4737
4737
  const { t } = chunkP2COO2QO_js.useTranslation();
4738
- const commands = chunkBYPHHRBZ_js.useChartFormatContext();
4738
+ const commands = chunkXG4WSJ4O_js.useChartFormatContext();
4739
4739
  const chart = commands?.chart;
4740
4740
  const chartData = chart?.type === "chart" ? chart.chartData : void 0;
4741
4741
  const controls = React108.useMemo(
@@ -4766,7 +4766,7 @@ function PictureSizeStrip({
4766
4766
  hiddenActions
4767
4767
  }) {
4768
4768
  const crop = useShapeFormatContext()?.crop;
4769
- const { isHidden } = chunkBYPHHRBZ_js.useToolbarVisibility(hiddenActions);
4769
+ const { isHidden } = chunkXG4WSJ4O_js.useToolbarVisibility(hiddenActions);
4770
4770
  const controls = React108.useMemo(
4771
4771
  () => pptx.pictureSizeHomeControls({
4772
4772
  editable: Boolean(crop),
@@ -4939,7 +4939,7 @@ var TAB_BASE = "relative px-3.5 py-2 text-[12px] font-medium whitespace-nowrap t
4939
4939
  var TAB_UNDERLINE = "after:absolute after:-bottom-px after:left-0 after:right-0 after:h-[2.5px] after:bg-primary";
4940
4940
  function RibbonTabBar(p) {
4941
4941
  const { t } = chunkP2COO2QO_js.useTranslation();
4942
- const viewerOptions = chunkBYPHHRBZ_js.useViewerOptionsContext();
4942
+ const viewerOptions = chunkXG4WSJ4O_js.useViewerOptionsContext();
4943
4943
  return /* @__PURE__ */ jsxRuntime.jsxs(
4944
4944
  "div",
4945
4945
  {
@@ -5016,9 +5016,9 @@ function RibbonTabBar(p) {
5016
5016
  }
5017
5017
  function TabRowActions(p) {
5018
5018
  const { t } = chunkP2COO2QO_js.useTranslation();
5019
- const collab = chunkBYPHHRBZ_js.useCollaboration();
5019
+ const collab = chunkXG4WSJ4O_js.useCollaboration();
5020
5020
  const isCollaborating = Boolean(collab && collab.status === "connected");
5021
- const { isHidden } = chunkBYPHHRBZ_js.useToolbarVisibility(p.hiddenActions);
5021
+ const { isHidden } = chunkXG4WSJ4O_js.useToolbarVisibility(p.hiddenActions);
5022
5022
  const customization = useViewerCustomizationContext();
5023
5023
  const ref = React108.useRef(null);
5024
5024
  const handlers = React108.useRef(p);
@@ -5073,7 +5073,7 @@ function TabRowActions(p) {
5073
5073
  }
5074
5074
  function TitleBarElement(p) {
5075
5075
  const { t } = chunkP2COO2QO_js.useTranslation();
5076
- const options = chunkBYPHHRBZ_js.useViewerOptionsContext();
5076
+ const options = chunkXG4WSJ4O_js.useViewerOptionsContext();
5077
5077
  const customization = useViewerCustomizationContext();
5078
5078
  const ref = React108.useRef(null);
5079
5079
  const stripVisible = options.quickAccess.visible && pptx.isPanelVisible(customization, "quickAccessToolbar");
@@ -5504,7 +5504,7 @@ function ToolbarPrimaryRow(p) {
5504
5504
  onToggleSidebar,
5505
5505
  onToggleInspector
5506
5506
  } = p;
5507
- const collab = chunkBYPHHRBZ_js.useCollaboration();
5507
+ const collab = chunkXG4WSJ4O_js.useCollaboration();
5508
5508
  const customization = useViewerCustomizationContext();
5509
5509
  const showSlidesToggle = pptx.isPanelVisible(customization, "slidesPane");
5510
5510
  const showInspectorToggle = pptx.isPanelVisible(customization, "inspector");
@@ -5805,8 +5805,8 @@ function ToolbarLateTabs({
5805
5805
  function Toolbar(p) {
5806
5806
  const { mode, isNarrowViewport, isCompactToolbarOpen, toolbarSection, onSetToolbarSection } = p;
5807
5807
  const { t } = chunkP2COO2QO_js.useTranslation();
5808
- const { isTabVisible } = chunkBYPHHRBZ_js.useToolbarVisibility(p.hiddenActions);
5809
- const viewerOptions = chunkBYPHHRBZ_js.useViewerOptionsContext();
5808
+ const { isTabVisible } = chunkXG4WSJ4O_js.useToolbarVisibility(p.hiddenActions);
5809
+ const viewerOptions = chunkXG4WSJ4O_js.useViewerOptionsContext();
5810
5810
  const customization = useViewerCustomizationContext();
5811
5811
  const belowInput = React108.useMemo(
5812
5812
  () => ({
@@ -6783,7 +6783,7 @@ function DrawingOverlaySvg({
6783
6783
  onPointerDown,
6784
6784
  onPointerMove,
6785
6785
  onPointerUp,
6786
- children: isStrokeActive && liveStrokeView ? chunkBYPHHRBZ_js.renderStrokeView(liveStrokeView, true, void 0, "ink-live-preview") : isStrokeActive && liveStrokeD && /* @__PURE__ */ jsxRuntime.jsx(
6786
+ children: isStrokeActive && liveStrokeView ? chunkXG4WSJ4O_js.renderStrokeView(liveStrokeView, true, void 0, "ink-live-preview") : isStrokeActive && liveStrokeD && /* @__PURE__ */ jsxRuntime.jsx(
6787
6787
  "path",
6788
6788
  {
6789
6789
  d: liveStrokeD,
@@ -7333,7 +7333,7 @@ function PictureCropOverlay({
7333
7333
  };
7334
7334
  };
7335
7335
  const { ghost, frame, handles } = overlay;
7336
- const src = chunkBYPHHRBZ_js.imgSrc(element);
7336
+ const src = chunkXG4WSJ4O_js.imgSrc(element);
7337
7337
  return /* @__PURE__ */ jsxRuntime.jsxs(
7338
7338
  "div",
7339
7339
  {
@@ -7509,7 +7509,7 @@ function HorizontalRulerView({ ticks, widthPx, highlight }) {
7509
7509
  }
7510
7510
  );
7511
7511
  }
7512
- var HorizontalRuler = /* @__PURE__ */ chunkBYPHHRBZ_js.withDisplayName(
7512
+ var HorizontalRuler = /* @__PURE__ */ chunkXG4WSJ4O_js.withDisplayName(
7513
7513
  /* @__PURE__ */ React108__default.default.memo(HorizontalRulerView),
7514
7514
  "HorizontalRuler"
7515
7515
  );
@@ -7583,7 +7583,7 @@ function VerticalRulerView({ ticks, heightPx, highlight }) {
7583
7583
  }
7584
7584
  );
7585
7585
  }
7586
- var VerticalRuler = /* @__PURE__ */ chunkBYPHHRBZ_js.withDisplayName(
7586
+ var VerticalRuler = /* @__PURE__ */ chunkXG4WSJ4O_js.withDisplayName(
7587
7587
  /* @__PURE__ */ React108__default.default.memo(VerticalRulerView),
7588
7588
  "VerticalRuler"
7589
7589
  );
@@ -7777,7 +7777,7 @@ function SelectionHandleOverlay({
7777
7777
  onDoubleClick: (e) => onDoubleClick(element.id, e),
7778
7778
  onContextMenu: (e) => onContextMenu(element.id, e),
7779
7779
  children: /* @__PURE__ */ jsxRuntime.jsx(
7780
- chunkBYPHHRBZ_js.ResizeHandles,
7780
+ chunkXG4WSJ4O_js.ResizeHandles,
7781
7781
  {
7782
7782
  elementId: element.id,
7783
7783
  adjustmentHandles,
@@ -8488,7 +8488,7 @@ function SlideCanvas(props) {
8488
8488
  props.registerInlineEditReader
8489
8489
  ]
8490
8490
  );
8491
- return /* @__PURE__ */ jsxRuntime.jsx(chunkBYPHHRBZ_js.InlineCollaborationContext.Provider, { value, children: /* @__PURE__ */ jsxRuntime.jsx(SlideCanvasContent, { ...props }) });
8491
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkXG4WSJ4O_js.InlineCollaborationContext.Provider, { value, children: /* @__PURE__ */ jsxRuntime.jsx(SlideCanvasContent, { ...props }) });
8492
8492
  }
8493
8493
  function SlideCanvasContent({
8494
8494
  imagePaste,
@@ -8761,7 +8761,7 @@ function SlideCanvasContent({
8761
8761
  onPointerMove: handleStagePointerMove,
8762
8762
  onPointerUp: handleStagePointerUp,
8763
8763
  children: [
8764
- /* @__PURE__ */ jsxRuntime.jsx(chunkBYPHHRBZ_js.SlideBackgroundImageLayer, { slide: activeSlide }),
8764
+ /* @__PURE__ */ jsxRuntime.jsx(chunkXG4WSJ4O_js.SlideBackgroundImageLayer, { slide: activeSlide }),
8765
8765
  presentationKeyframesCss && /* @__PURE__ */ jsxRuntime.jsx("style", { children: presentationKeyframesCss }),
8766
8766
  /* @__PURE__ */ jsxRuntime.jsx(GridOverlay, { canvasSize, gridSpacingPx, visible: showGrid }),
8767
8767
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -8773,7 +8773,7 @@ function SlideCanvasContent({
8773
8773
  }
8774
8774
  ),
8775
8775
  templateElements.map((element, index) => /* @__PURE__ */ jsxRuntime.jsx(
8776
- chunkBYPHHRBZ_js.ElementRenderer,
8776
+ chunkXG4WSJ4O_js.ElementRenderer,
8777
8777
  {
8778
8778
  element,
8779
8779
  activeSlide,
@@ -8818,7 +8818,7 @@ function SlideCanvasContent({
8818
8818
  `tpl-${element.id}`
8819
8819
  )),
8820
8820
  activeSlide?.elements.map((element, index) => /* @__PURE__ */ jsxRuntime.jsx(
8821
- chunkBYPHHRBZ_js.ElementRenderer,
8821
+ chunkXG4WSJ4O_js.ElementRenderer,
8822
8822
  {
8823
8823
  element,
8824
8824
  activeSlide,
@@ -8885,7 +8885,7 @@ function SlideCanvasContent({
8885
8885
  editingMember && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
8886
8886
  /* @__PURE__ */ jsxRuntime.jsx("style", { children: `[data-element-id="${cssAttr(editingMember.parentId)}"] [data-element-id="${cssAttr(editingMember.member.id)}"]{visibility:hidden}` }),
8887
8887
  /* @__PURE__ */ jsxRuntime.jsx(
8888
- chunkBYPHHRBZ_js.ElementRenderer,
8888
+ chunkXG4WSJ4O_js.ElementRenderer,
8889
8889
  {
8890
8890
  element: editingMember.member,
8891
8891
  activeSlide,
@@ -9402,7 +9402,7 @@ function ContextMenu(props) {
9402
9402
  const { t } = chunkP2COO2QO_js.useTranslation();
9403
9403
  const customization = useViewerCustomizationContext();
9404
9404
  const shapeFormat = useShapeFormatContext();
9405
- const chartFormat = chunkBYPHHRBZ_js.useChartFormatContext();
9405
+ const chartFormat = chunkXG4WSJ4O_js.useChartFormatContext();
9406
9406
  const open = Boolean(contextMenuState) && mode === "edit";
9407
9407
  const handlers = {
9408
9408
  ...contextMenuHandlers(props, shapeFormat),
@@ -11371,7 +11371,7 @@ function ReadingViewStage({
11371
11371
  className: "absolute left-0 top-0 origin-top-left",
11372
11372
  style: { width, height, transform: `scale(${scale})`, ...pptx.deviceStrokeStageStyle(scale) },
11373
11373
  children: elements.map((element, index) => /* @__PURE__ */ jsxRuntime.jsx(
11374
- chunkBYPHHRBZ_js.StaticElementRenderer,
11374
+ chunkXG4WSJ4O_js.StaticElementRenderer,
11375
11375
  {
11376
11376
  element,
11377
11377
  activeSlide: slide,
@@ -12026,7 +12026,7 @@ function SlideNotesPanel({
12026
12026
  });
12027
12027
  const hasNotes = draft.trim().length > 0;
12028
12028
  const slideLabel = activeSlide ? t("pptx.notes.slideN", { n: activeSlide.slideNumber }) : t("pptx.notes.noSlide");
12029
- const { dragY, handlers: dragHandlers } = chunkBYPHHRBZ_js.useSheetDismissDrag(onToggle);
12029
+ const { dragY, handlers: dragHandlers } = chunkXG4WSJ4O_js.useSheetDismissDrag(onToggle);
12030
12030
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
12031
12031
  isExpanded && /* @__PURE__ */ jsxRuntime.jsx(
12032
12032
  "button",
@@ -13163,7 +13163,7 @@ function DocumentPropertiesDialog({
13163
13163
  const handleClose = React108.useCallback(() => {
13164
13164
  onClose();
13165
13165
  }, [onClose]);
13166
- const { panelStyle, handlers: dragHandlers } = chunkBYPHHRBZ_js.useModalDismissDrag(handleClose);
13166
+ const { panelStyle, handlers: dragHandlers } = chunkXG4WSJ4O_js.useModalDismissDrag(handleClose);
13167
13167
  if (!isOpen) {
13168
13168
  return null;
13169
13169
  }
@@ -13760,7 +13760,7 @@ function PresentationSubtitleBar({
13760
13760
  }) {
13761
13761
  const { t } = chunkP2COO2QO_js.useTranslation();
13762
13762
  const language = pptx.subtitleRecognitionLanguage(
13763
- pptx.subtitleSettingsFromOptions(chunkBYPHHRBZ_js.useViewerOptionsContext()),
13763
+ pptx.subtitleSettingsFromOptions(chunkXG4WSJ4O_js.useViewerOptionsContext()),
13764
13764
  typeof navigator === "undefined" ? "en-US" : navigator.language
13765
13765
  );
13766
13766
  const [captionText, setCaptionText] = React108.useState("");
@@ -13954,7 +13954,7 @@ function ScaledSlidePreviewImpl({
13954
13954
  ...pptx.deviceStrokeStageStyle(scale)
13955
13955
  },
13956
13956
  children: previewElements.map((element, index) => /* @__PURE__ */ jsxRuntime.jsx(
13957
- chunkBYPHHRBZ_js.StaticElementRenderer,
13957
+ chunkXG4WSJ4O_js.StaticElementRenderer,
13958
13958
  {
13959
13959
  element,
13960
13960
  activeSlide: slide,
@@ -15288,7 +15288,7 @@ function EffectSoundRow({
15288
15288
  }
15289
15289
  const asset = pptx.getEffectSoundAsset(soundState.catalogueId);
15290
15290
  if (asset) {
15291
- chunkBYPHHRBZ_js.playAnimationSound(asset.dataUrl);
15291
+ chunkXG4WSJ4O_js.playAnimationSound(asset.dataUrl);
15292
15292
  }
15293
15293
  };
15294
15294
  return /* @__PURE__ */ jsxRuntime.jsxs("label", { className: "flex flex-col gap-1", children: [
@@ -15800,7 +15800,7 @@ function AnimationPanel({
15800
15800
  onUpdateSlide
15801
15801
  }) {
15802
15802
  const { t } = chunkP2COO2QO_js.useTranslation();
15803
- const { viewportWidth } = chunkBYPHHRBZ_js.useIsMobile();
15803
+ const { viewportWidth } = chunkXG4WSJ4O_js.useIsMobile();
15804
15804
  const directionBtnPx = Math.max(28, pptx.getDensePanelTouchTargetPx(viewportWidth));
15805
15805
  const fieldStyle = { minHeight: pptx.getDensePanelTouchTargetPx(viewportWidth) };
15806
15806
  const handlers = useAnimationHandlers({
@@ -17925,8 +17925,8 @@ function ChartUserShapeOptions({
17925
17925
  }
17926
17926
  function ChartDataPanel({ selectedElement, canEdit, onUpdateElement }) {
17927
17927
  const chartData = selectedElement.chartData;
17928
- const followDataPoint = chunkBYPHHRBZ_js.useViewerOptionsContext().advanced.chartPropertiesFollowDataPoint;
17929
- const { selection: partSelection } = chunkBYPHHRBZ_js.useChartPartSelection();
17928
+ const followDataPoint = chunkXG4WSJ4O_js.useViewerOptionsContext().advanced.chartPropertiesFollowDataPoint;
17929
+ const { selection: partSelection } = chunkXG4WSJ4O_js.useChartPartSelection();
17930
17930
  const canvasPart = partSelection?.elementId === selectedElement.id ? partSelection.part : null;
17931
17931
  const title = chartData?.title;
17932
17932
  const chartType = chartData?.chartType;
@@ -19122,7 +19122,7 @@ function DuotonePanel({
19122
19122
  ] }),
19123
19123
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1", children: [
19124
19124
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-muted-foreground text-[10px]", children: t("pptx.image.duotonePresets") }),
19125
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-4 gap-1", children: chunkBYPHHRBZ_js.DUOTONE_PRESETS.map((preset) => /* @__PURE__ */ jsxRuntime.jsxs(
19125
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-4 gap-1", children: chunkXG4WSJ4O_js.DUOTONE_PRESETS.map((preset) => /* @__PURE__ */ jsxRuntime.jsxs(
19126
19126
  "button",
19127
19127
  {
19128
19128
  type: "button",
@@ -22380,7 +22380,7 @@ function SmartArtPropertiesPanel({
22380
22380
  const reflowed = box ? pptx.rebuildDrawingShapesIfCleared(
22381
22381
  newData,
22382
22382
  newData.layout,
22383
- chunkBYPHHRBZ_js.resolveSmartArtDataPalette(newData),
22383
+ chunkXG4WSJ4O_js.resolveSmartArtDataPalette(newData),
22384
22384
  newData.style ?? "flat",
22385
22385
  "inspector",
22386
22386
  box
@@ -22453,7 +22453,7 @@ function TableDataGrid({
22453
22453
  }) {
22454
22454
  const { t } = chunkP2COO2QO_js.useTranslation();
22455
22455
  const grid = pptx.buildTableDataGrid(tableElement);
22456
- const { viewportWidth } = chunkBYPHHRBZ_js.useIsMobile();
22456
+ const { viewportWidth } = chunkXG4WSJ4O_js.useIsMobile();
22457
22457
  const gridPlan = pptx.getDenseGridLayoutPlan(viewportWidth);
22458
22458
  const touchTargetPx = pptx.getDensePanelTouchTargetPx(viewportWidth);
22459
22459
  const stickyGutterClass = gridPlan.stickyFirstColumn ? "sticky left-0 z-10" : "";
@@ -24302,7 +24302,7 @@ function InspectorPaneHeader({
24302
24302
  onClose
24303
24303
  }) {
24304
24304
  const { t } = chunkP2COO2QO_js.useTranslation();
24305
- const { viewportWidth } = chunkBYPHHRBZ_js.useIsMobile();
24305
+ const { viewportWidth } = chunkXG4WSJ4O_js.useIsMobile();
24306
24306
  const touchTargetPx = pptx.getDensePanelTouchTargetPx(viewportWidth);
24307
24307
  const touchBtnStyle = { minWidth: touchTargetPx, minHeight: touchTargetPx };
24308
24308
  return /* @__PURE__ */ jsxRuntime.jsxs(
@@ -25003,7 +25003,7 @@ function TransitionPreview({
25003
25003
  const { t } = chunkP2COO2QO_js.useTranslation();
25004
25004
  const durationMs = transition.durationMs ?? 500;
25005
25005
  const animations = React108.useMemo(
25006
- () => chunkBYPHHRBZ_js.getSlideTransitionAnimations(
25006
+ () => chunkXG4WSJ4O_js.getSlideTransitionAnimations(
25007
25007
  transition.type,
25008
25008
  durationMs,
25009
25009
  transition.direction,
@@ -25072,7 +25072,7 @@ function TransitionPreview({
25072
25072
  ]
25073
25073
  }
25074
25074
  ),
25075
- /* @__PURE__ */ jsxRuntime.jsx("style", { children: chunkBYPHHRBZ_js.SLIDE_TRANSITION_KEYFRAMES })
25075
+ /* @__PURE__ */ jsxRuntime.jsx("style", { children: chunkXG4WSJ4O_js.SLIDE_TRANSITION_KEYFRAMES })
25076
25076
  ] });
25077
25077
  }
25078
25078
  var DEFAULT_DURATION_MS = 320;
@@ -25735,7 +25735,7 @@ function InspectorPane(props) {
25735
25735
  } = props;
25736
25736
  const hasSelection = selectedElement !== null;
25737
25737
  const { t } = chunkP2COO2QO_js.useTranslation();
25738
- const { dragY, handlers: dragHandlers } = chunkBYPHHRBZ_js.useSheetDismissDrag(onClose);
25738
+ const { dragY, handlers: dragHandlers } = chunkXG4WSJ4O_js.useSheetDismissDrag(onClose);
25739
25739
  const {
25740
25740
  animationPanelHeight,
25741
25741
  effectiveThemeOptions,
@@ -26148,7 +26148,7 @@ function PresentationTouchControls({
26148
26148
  hideNavigation = false
26149
26149
  }) {
26150
26150
  const { t } = chunkP2COO2QO_js.useTranslation();
26151
- const { isTouchDevice } = chunkBYPHHRBZ_js.useIsMobile();
26151
+ const { isTouchDevice } = chunkXG4WSJ4O_js.useIsMobile();
26152
26152
  if (!isTouchDevice) {
26153
26153
  return null;
26154
26154
  }
@@ -26795,11 +26795,11 @@ function PrintDialog({
26795
26795
  }) {
26796
26796
  const { t } = chunkP2COO2QO_js.useTranslation();
26797
26797
  const regionRenderer = useRegionRenderer("dialog.print");
26798
- const { panelStyle, handlers: dragHandlers } = chunkBYPHHRBZ_js.useModalDismissDrag(onClose);
26799
- const { viewportWidth } = chunkBYPHHRBZ_js.useIsMobile();
26798
+ const { panelStyle, handlers: dragHandlers } = chunkXG4WSJ4O_js.useModalDismissDrag(onClose);
26799
+ const { viewportWidth } = chunkXG4WSJ4O_js.useIsMobile();
26800
26800
  const touchTargetPx = pptx.getDensePanelTouchTargetPx(viewportWidth);
26801
26801
  const closeBtnStyle = { minWidth: touchTargetPx, minHeight: touchTargetPx };
26802
- const printOptionDefaults = pptx.resolveDefaultPrintSettings(chunkBYPHHRBZ_js.useViewerOptionsContext());
26802
+ const printOptionDefaults = pptx.resolveDefaultPrintSettings(chunkXG4WSJ4O_js.useViewerOptionsContext());
26803
26803
  const [printWhat, setPrintWhat] = React108.useState(printOptionDefaults?.printWhat ?? "slides");
26804
26804
  const [orientation, setOrientation] = React108.useState("landscape");
26805
26805
  const [colorMode, setColorMode] = React108.useState(
@@ -27289,14 +27289,14 @@ function BroadcastDialog({
27289
27289
  }) {
27290
27290
  const { t } = chunkP2COO2QO_js.useTranslation();
27291
27291
  const regionRenderer = useRegionRenderer("dialog.broadcast");
27292
- const collab = chunkBYPHHRBZ_js.useCollaboration();
27292
+ const collab = chunkXG4WSJ4O_js.useCollaboration();
27293
27293
  const isBroadcasting = collab !== null && collab.status !== "disconnected" && collab.status !== "error" && collab.config.role === "owner";
27294
27294
  const [roomId, setRoomId] = React108.useState("");
27295
27295
  const [userName, setUserName] = React108.useState("");
27296
27296
  const [serverUrl, setServerUrl] = React108.useState("");
27297
27297
  const [copied, setCopied] = React108.useState(false);
27298
27298
  const dialogRef = React108.useRef(null);
27299
- const { panelStyle, handlers: dragHandlers } = chunkBYPHHRBZ_js.useModalDismissDrag(onClose);
27299
+ const { panelStyle, handlers: dragHandlers } = chunkXG4WSJ4O_js.useModalDismissDrag(onClose);
27300
27300
  useModalFocus(open, dialogRef, onClose);
27301
27301
  React108.useEffect(() => {
27302
27302
  if (open && !isBroadcasting) {
@@ -27612,7 +27612,7 @@ function ActiveSessionView({
27612
27612
  onCopyRoomId,
27613
27613
  onStopCollaboration
27614
27614
  }) {
27615
- const { t } = chunkP2COO2QO_js.useTranslation(), viewerOptions = chunkBYPHHRBZ_js.useViewerOptionsContext(), statusColor = collab.status === "connected" ? "text-green-400" : collab.status === "connecting" ? "text-yellow-400" : "text-red-400", statusIcon = collab.status === "connected" || collab.status === "connecting" ? /* @__PURE__ */ jsxRuntime.jsx(lu.LuWifi, { className: "w-4 h-4" }) : /* @__PURE__ */ jsxRuntime.jsx(lu.LuWifiOff, { className: "w-4 h-4" }), sessionUsers = pptx.buildActiveSessionUsers({
27615
+ const { t } = chunkP2COO2QO_js.useTranslation(), viewerOptions = chunkXG4WSJ4O_js.useViewerOptionsContext(), statusColor = collab.status === "connected" ? "text-green-400" : collab.status === "connecting" ? "text-yellow-400" : "text-red-400", statusIcon = collab.status === "connected" || collab.status === "connecting" ? /* @__PURE__ */ jsxRuntime.jsx(lu.LuWifi, { className: "w-4 h-4" }) : /* @__PURE__ */ jsxRuntime.jsx(lu.LuWifiOff, { className: "w-4 h-4" }), sessionUsers = pptx.buildActiveSessionUsers({
27616
27616
  localUserName: activeCollaboration?.userName ?? collab.config.userName,
27617
27617
  localUserInitials: viewerOptions.general.userInitials,
27618
27618
  localUserColor: collab.config.userColor,
@@ -27711,7 +27711,7 @@ function StartSessionForm({
27711
27711
  onRetry
27712
27712
  }) {
27713
27713
  const { t } = chunkP2COO2QO_js.useTranslation();
27714
- const { viewportWidth } = chunkBYPHHRBZ_js.useIsMobile();
27714
+ const { viewportWidth } = chunkXG4WSJ4O_js.useIsMobile();
27715
27715
  const tabBtnStyle = { minHeight: pptx.getDensePanelTouchTargetPx(viewportWidth) };
27716
27716
  const inputReadOnlyClass = preconfigured ? " opacity-70 cursor-not-allowed" : "";
27717
27717
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
@@ -27845,7 +27845,7 @@ function ShareDialog({
27845
27845
  defaultUserName,
27846
27846
  defaultServerUrl
27847
27847
  }) {
27848
- const collab = chunkBYPHHRBZ_js.useCollaboration();
27848
+ const collab = chunkXG4WSJ4O_js.useCollaboration();
27849
27849
  const isActive = collab !== null && collab.status !== "disconnected" && collab.status !== "error";
27850
27850
  const { t } = chunkP2COO2QO_js.useTranslation();
27851
27851
  const regionRenderer = useRegionRenderer("dialog.share");
@@ -27856,9 +27856,9 @@ function ShareDialog({
27856
27856
  const [invitation, setInvitation] = React108.useState("");
27857
27857
  const [copied, setCopied] = React108.useState(false);
27858
27858
  const dialogRef = React108.useRef(null);
27859
- const { panelStyle, handlers: dragHandlers } = chunkBYPHHRBZ_js.useModalDismissDrag(onClose);
27859
+ const { panelStyle, handlers: dragHandlers } = chunkXG4WSJ4O_js.useModalDismissDrag(onClose);
27860
27860
  useModalFocus(open, dialogRef, onClose);
27861
- const { viewportWidth, viewportHeight } = chunkBYPHHRBZ_js.useIsMobile();
27861
+ const { viewportWidth, viewportHeight } = chunkXG4WSJ4O_js.useIsMobile();
27862
27862
  const touchTargetPx = pptx.getDensePanelTouchTargetPx(viewportWidth);
27863
27863
  const touchBtnStyle = { minWidth: touchTargetPx, minHeight: touchTargetPx };
27864
27864
  const stickyFooterClass = pptx.shouldStickyActionRow(viewportWidth, viewportHeight) ? "sticky bottom-0 bg-popover" : "";
@@ -28157,12 +28157,12 @@ function HyperlinkEditDialog({
28157
28157
  onCancel
28158
28158
  }) {
28159
28159
  const { t } = chunkP2COO2QO_js.useTranslation();
28160
- const { panelStyle, handlers: dragHandlers } = chunkBYPHHRBZ_js.useModalDismissDrag(onCancel);
28160
+ const { panelStyle, handlers: dragHandlers } = chunkXG4WSJ4O_js.useModalDismissDrag(onCancel);
28161
28161
  const inputRef = React108.useRef(null);
28162
- const detectedType = chunkBYPHHRBZ_js.detectTargetType(initialUrl, initialAction);
28163
- const emailParts = chunkBYPHHRBZ_js.parseEmailUrl(initialUrl || "");
28164
- const detectedSlide = chunkBYPHHRBZ_js.parseSlideFromUrl(initialUrl, initialAction);
28165
- const detectedVerb = initialAction ? chunkBYPHHRBZ_js.ACTION_VERB_MAP[initialAction.toLowerCase()] || "nextSlide" : "nextSlide";
28162
+ const detectedType = chunkXG4WSJ4O_js.detectTargetType(initialUrl, initialAction);
28163
+ const emailParts = chunkXG4WSJ4O_js.parseEmailUrl(initialUrl || "");
28164
+ const detectedSlide = chunkXG4WSJ4O_js.parseSlideFromUrl(initialUrl, initialAction);
28165
+ const detectedVerb = initialAction ? chunkXG4WSJ4O_js.ACTION_VERB_MAP[initialAction.toLowerCase()] || "nextSlide" : "nextSlide";
28166
28166
  const [targetType, setTargetType] = React108.useState(detectedType);
28167
28167
  const [url, setUrl] = React108.useState(
28168
28168
  detectedType === "email" || detectedType === "slide" || detectedType === "action" ? "" : initialUrl || ""
@@ -28441,7 +28441,7 @@ function ViewerBottomPanels({
28441
28441
  notesStyle,
28442
28442
  onNotesHeightChange
28443
28443
  }) {
28444
- const { isHidden } = chunkBYPHHRBZ_js.useToolbarVisibility(hiddenActions);
28444
+ const { isHidden } = chunkXG4WSJ4O_js.useToolbarVisibility(hiddenActions);
28445
28445
  const customization = useViewerCustomizationContext();
28446
28446
  const showNotes = pptx.isPanelVisible(customization, "notes");
28447
28447
  const notesRenderer = useRegionRenderer("notes");
@@ -28840,7 +28840,7 @@ function ViewerToolbarSection(props) {
28840
28840
  [activeSlide, propertyHandlers]
28841
28841
  );
28842
28842
  const scopedLayoutOptions = React108__default.default.useMemo(
28843
- () => chunkBYPHHRBZ_js.scopeLayoutOptionsToActiveSlide(s.layoutOptions, activeSlide),
28843
+ () => chunkXG4WSJ4O_js.scopeLayoutOptionsToActiveSlide(s.layoutOptions, activeSlide),
28844
28844
  [s.layoutOptions, activeSlide]
28845
28845
  );
28846
28846
  const handleResetSlide = React108.useCallback(() => {
@@ -29247,7 +29247,7 @@ function ViewerToolbarSection(props) {
29247
29247
  isMobileInsertOpen: s.isMobileInsertOpen,
29248
29248
  onCloseMobileInsert: () => s.setIsMobileInsertOpen(false),
29249
29249
  slideCommentCount: activeSlide?.comments?.length ?? 0,
29250
- reviewComments: chunkBYPHHRBZ_js.createReviewCommentsHost({
29250
+ reviewComments: chunkXG4WSJ4O_js.createReviewCommentsHost({
29251
29251
  state: s,
29252
29252
  activeSlideIndex,
29253
29253
  updateSlides: ops.updateSlides,
@@ -29370,7 +29370,7 @@ function CustomShowsDialog({
29370
29370
  // eslint-disable-next-line react-hooks/exhaustive-deps
29371
29371
  []
29372
29372
  );
29373
- chunkBYPHHRBZ_js.useController(controller);
29373
+ chunkXG4WSJ4O_js.useController(controller);
29374
29374
  const view = controller.view(slides);
29375
29375
  const [active, setActive] = React108.useState(activeCustomShowId ?? "");
29376
29376
  const pickerValue = view.shows.some(({ id }) => id === active) ? active : "";
@@ -29650,7 +29650,7 @@ function EquationEditorDialog({
29650
29650
  existingOmml
29651
29651
  }) {
29652
29652
  const { t } = chunkP2COO2QO_js.useTranslation();
29653
- const { panelStyle, handlers: dragHandlers } = chunkBYPHHRBZ_js.useModalDismissDrag(onClose);
29653
+ const { panelStyle, handlers: dragHandlers } = chunkXG4WSJ4O_js.useModalDismissDrag(onClose);
29654
29654
  const initialLatex = React108.useMemo(() => {
29655
29655
  if (!existingOmml) {
29656
29656
  return "";
@@ -30368,11 +30368,11 @@ function PresentationStage({
30368
30368
  })
30369
30369
  },
30370
30370
  children: [
30371
- /* @__PURE__ */ jsxRuntime.jsx(chunkBYPHHRBZ_js.SlideBackgroundImageLayer, { slide: activeSlide }),
30371
+ /* @__PURE__ */ jsxRuntime.jsx(chunkXG4WSJ4O_js.SlideBackgroundImageLayer, { slide: activeSlide }),
30372
30372
  /* @__PURE__ */ jsxRuntime.jsx("style", { children: pptx.PRESENTATION_HIT_TEST_CSS }),
30373
30373
  presentationKeyframesCss && /* @__PURE__ */ jsxRuntime.jsx("style", { children: presentationKeyframesCss }),
30374
30374
  templateElements.map((element, index) => /* @__PURE__ */ jsxRuntime.jsx(
30375
- chunkBYPHHRBZ_js.ElementRenderer,
30375
+ chunkXG4WSJ4O_js.ElementRenderer,
30376
30376
  {
30377
30377
  element,
30378
30378
  activeSlide,
@@ -30410,7 +30410,7 @@ function PresentationStage({
30410
30410
  `tpl-${element.id}`
30411
30411
  )),
30412
30412
  activeSlide?.elements.map((element, index) => /* @__PURE__ */ jsxRuntime.jsx(
30413
- chunkBYPHHRBZ_js.ElementRenderer,
30413
+ chunkXG4WSJ4O_js.ElementRenderer,
30414
30414
  {
30415
30415
  element,
30416
30416
  activeSlide,
@@ -30522,7 +30522,7 @@ function PresentationTransitionMount({
30522
30522
  templateElementsBySlideId
30523
30523
  );
30524
30524
  return /* @__PURE__ */ jsxRuntime.jsx(
30525
- chunkBYPHHRBZ_js.PresentationTransitionOverlay,
30525
+ chunkXG4WSJ4O_js.PresentationTransitionOverlay,
30526
30526
  {
30527
30527
  outgoingSlide,
30528
30528
  templateElements: templates.outgoing,
@@ -30568,8 +30568,8 @@ function ViewerCanvasArea(props) {
30568
30568
  aiCanvasActive = false
30569
30569
  } = props;
30570
30570
  const { t } = chunkP2COO2QO_js.useTranslation();
30571
- const { isHidden } = chunkBYPHHRBZ_js.useToolbarVisibility(hiddenActions);
30572
- const viewerOptions = chunkBYPHHRBZ_js.useViewerOptionsContext();
30571
+ const { isHidden } = chunkXG4WSJ4O_js.useToolbarVisibility(hiddenActions);
30572
+ const viewerOptions = chunkXG4WSJ4O_js.useViewerOptionsContext();
30573
30573
  const outlineAuthoring = useOutlineAuthoring({
30574
30574
  state: s,
30575
30575
  updateElement: canvasHandlers.handleUpdateSmartArtElement,
@@ -30702,7 +30702,7 @@ function ViewerCanvasArea(props) {
30702
30702
  s.setActiveSlideIndex((i) => Math.max(0, i - 1));
30703
30703
  }
30704
30704
  }, [mode, presentation, s]);
30705
- const swipe = chunkBYPHHRBZ_js.useSwipeNavigation({
30705
+ const swipe = chunkXG4WSJ4O_js.useSwipeNavigation({
30706
30706
  enabled: swipeEnabled,
30707
30707
  onNext: handleSwipeNext,
30708
30708
  onPrev: handleSwipePrev
@@ -30888,14 +30888,14 @@ function ViewerCanvasArea(props) {
30888
30888
  outlineAuthoring,
30889
30889
  collaborationOverlay: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
30890
30890
  /* @__PURE__ */ jsxRuntime.jsx(
30891
- chunkBYPHHRBZ_js.RemoteSelectionOverlay,
30891
+ chunkXG4WSJ4O_js.RemoteSelectionOverlay,
30892
30892
  {
30893
30893
  elements: effectiveSlide?.elements ?? [],
30894
30894
  activeSlideIndex
30895
30895
  }
30896
30896
  ),
30897
30897
  /* @__PURE__ */ jsxRuntime.jsx(
30898
- chunkBYPHHRBZ_js.CollaborationCursorOverlay,
30898
+ chunkXG4WSJ4O_js.CollaborationCursorOverlay,
30899
30899
  {
30900
30900
  activeSlideIndex,
30901
30901
  canvasWidth: canvasSize.width,
@@ -31133,7 +31133,7 @@ function AiChangeOverlay({ batch, activeSlideIndex }) {
31133
31133
  }
31134
31134
  function ChartFormatPanel() {
31135
31135
  const { t } = chunkP2COO2QO_js.useTranslation();
31136
- const commands = chunkBYPHHRBZ_js.useChartFormatContext();
31136
+ const commands = chunkXG4WSJ4O_js.useChartFormatContext();
31137
31137
  const ref = React108.useRef(null);
31138
31138
  const chart = commands?.chart;
31139
31139
  const chartData = chart?.type === "chart" ? chart.chartData : void 0;
@@ -31206,7 +31206,7 @@ function MobileDismissSheet({
31206
31206
  children
31207
31207
  }) {
31208
31208
  const { t } = chunkP2COO2QO_js.useTranslation();
31209
- const { dragY, handlers } = chunkBYPHHRBZ_js.useSheetDismissDrag(onClose);
31209
+ const { dragY, handlers } = chunkXG4WSJ4O_js.useSheetDismissDrag(onClose);
31210
31210
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
31211
31211
  /* @__PURE__ */ jsxRuntime.jsx(
31212
31212
  "button",
@@ -31950,7 +31950,7 @@ function ViewerMainContent(props) {
31950
31950
  );
31951
31951
  const layoutGalleryAnchorRef = React108.useRef(null);
31952
31952
  const layoutGalleryPreviews = useLayoutPreviews(loadLayoutPreviews, layoutGalleryAnchor !== null);
31953
- return /* @__PURE__ */ jsxRuntime.jsx(chunkBYPHHRBZ_js.ChartPartSelectionProvider, { children: /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-pptx-chrome": "body", className: "relative z-10 flex flex-1 min-h-0", children: [
31953
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkXG4WSJ4O_js.ChartPartSelectionProvider, { children: /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-pptx-chrome": "body", className: "relative z-10 flex flex-1 min-h-0", children: [
31954
31954
  showSlidesPane && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
31955
31955
  slidesPaneRenderer ? (
31956
31956
  // The rail's slot (width, collapse, resize handle) stays the viewer's.
@@ -32455,7 +32455,7 @@ function MobileChromeOverlay(props) {
32455
32455
  slideSectionGroups,
32456
32456
  canEdit,
32457
32457
  commentCount
32458
- } = props, { keyboardInset, isKeyboardOpen } = chunkBYPHHRBZ_js.useKeyboardInsets(), activeSheet = s.isMobileInsertOpen ? "insert" : s.isSlidesPaneOpen ? "slides" : s.isInspectorPaneOpen ? s.sidebarPanelMode === "comments" ? "comments" : "inspector" : !s.isSlideNotesCollapsed ? "notes" : null, closeAllSheets = () => {
32458
+ } = props, { keyboardInset, isKeyboardOpen } = chunkXG4WSJ4O_js.useKeyboardInsets(), activeSheet = s.isMobileInsertOpen ? "insert" : s.isSlidesPaneOpen ? "slides" : s.isInspectorPaneOpen ? s.sidebarPanelMode === "comments" ? "comments" : "inspector" : !s.isSlideNotesCollapsed ? "notes" : null, closeAllSheets = () => {
32459
32459
  s.setIsSlidesPaneOpen(false);
32460
32460
  s.setIsMobileInsertOpen(false);
32461
32461
  s.setIsInspectorPaneOpen(false);
@@ -32932,7 +32932,7 @@ async function exportAiChatLogs(options) {
32932
32932
  chats,
32933
32933
  { format: options?.format, detailed: options?.detailed, now: options?.now },
32934
32934
  (filename, content, mime) => {
32935
- chunkBYPHHRBZ_js.downloadBlob(new Blob([content], { type: mime }), filename);
32935
+ chunkXG4WSJ4O_js.downloadBlob(new Blob([content], { type: mime }), filename);
32936
32936
  }
32937
32937
  );
32938
32938
  }
@@ -33285,7 +33285,7 @@ function ViewerOptionsProvider({
33285
33285
  store,
33286
33286
  children
33287
33287
  }) {
33288
- return /* @__PURE__ */ jsxRuntime.jsx(chunkBYPHHRBZ_js.ViewerOptionsStoreContext.Provider, { value: store, children: /* @__PURE__ */ jsxRuntime.jsx(chunkBYPHHRBZ_js.ViewerOptionsContext.Provider, { value: options, children }) });
33288
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkXG4WSJ4O_js.ViewerOptionsStoreContext.Provider, { value: store, children: /* @__PURE__ */ jsxRuntime.jsx(chunkXG4WSJ4O_js.ViewerOptionsContext.Provider, { value: options, children }) });
33289
33289
  }
33290
33290
  function useAiBridge(input) {
33291
33291
  const ref = React108.useRef(input);
@@ -33368,7 +33368,7 @@ function useAiPanelController(input) {
33368
33368
  getSelectedElement: () => inputRef.current.selectedElement
33369
33369
  })
33370
33370
  );
33371
- const state = chunkBYPHHRBZ_js.useController(controller);
33371
+ const state = chunkXG4WSJ4O_js.useController(controller);
33372
33372
  React108.useEffect(() => () => controller.dispose(), [controller]);
33373
33373
  const liveFocusTargets = React108.useMemo(
33374
33374
  () => host.computeFocusTargets({ activeSlideIndex, selectedElementIds, selectedElementId }),
@@ -34146,7 +34146,7 @@ var PowerPointViewerBody = /* @__PURE__ */ React108.forwardRef(
34146
34146
  limits
34147
34147
  } = props;
34148
34148
  const cloudDocument = React108.useMemo(() => pptx.createCloudDocumentController(), []);
34149
- const cloudFile = chunkBYPHHRBZ_js.useController(cloudDocument).file;
34149
+ const cloudFile = chunkXG4WSJ4O_js.useController(cloudDocument).file;
34150
34150
  const {
34151
34151
  storage: viewerStorage,
34152
34152
  fileName,
@@ -34160,7 +34160,7 @@ var PowerPointViewerBody = /* @__PURE__ */ React108.forwardRef(
34160
34160
  filePath: hostFilePath
34161
34161
  });
34162
34162
  const saveProgress = React108.useMemo(() => pptx.createSaveProgressController(), []);
34163
- const saveProgressState = chunkBYPHHRBZ_js.useController(saveProgress);
34163
+ const saveProgressState = chunkXG4WSJ4O_js.useController(saveProgress);
34164
34164
  const storage = React108.useMemo(
34165
34165
  () => viewerStorage ? saveProgress.wrap(viewerStorage) : viewerStorage,
34166
34166
  [viewerStorage, saveProgress]
@@ -34259,7 +34259,7 @@ var PowerPointViewerBody = /* @__PURE__ */ React108.forwardRef(
34259
34259
  },
34260
34260
  [hostStorage, cloudDocument]
34261
34261
  );
34262
- const { optionsStore, options: viewerOptions } = chunkBYPHHRBZ_js.useViewerOptions();
34262
+ const { optionsStore, options: viewerOptions } = chunkXG4WSJ4O_js.useViewerOptions();
34263
34263
  const custom = useViewerCustomization(
34264
34264
  customization,
34265
34265
  legacyHiddenActions,
@@ -34279,8 +34279,8 @@ var PowerPointViewerBody = /* @__PURE__ */ React108.forwardRef(
34279
34279
  const handleEnableEditing = React108.useCallback(() => {
34280
34280
  setProtectedViewOverridden(true);
34281
34281
  }, []);
34282
- const readOnlyRec = chunkBYPHHRBZ_js.useReadOnlyRecommendationState(content);
34283
- const compatToastsState = chunkBYPHHRBZ_js.useCompatibilityToastsState();
34282
+ const readOnlyRec = chunkXG4WSJ4O_js.useReadOnlyRecommendationState(content);
34283
+ const compatToastsState = chunkXG4WSJ4O_js.useCompatibilityToastsState();
34284
34284
  const [notesBarHeight, setNotesBarHeight] = React108.useState(0);
34285
34285
  const runProgramNoticesState = useRunProgramNoticesState();
34286
34286
  const [collaborationReadOnly, setCollaborationReadOnly] = React108.useState(Boolean(collaboration));
@@ -34303,8 +34303,8 @@ var PowerPointViewerBody = /* @__PURE__ */ React108.forwardRef(
34303
34303
  filePath
34304
34304
  });
34305
34305
  const [isShareDialogOpen, setIsShareDialogOpen] = React108.useState(false);
34306
- const { reducedMotion, toggleReducedMotion } = chunkBYPHHRBZ_js.useReducedMotion();
34307
- const state = chunkBYPHHRBZ_js.useViewerState({
34306
+ const { reducedMotion, toggleReducedMotion } = chunkXG4WSJ4O_js.useReducedMotion();
34307
+ const state = chunkXG4WSJ4O_js.useViewerState({
34308
34308
  content,
34309
34309
  canEdit,
34310
34310
  inspectorInitiallyOpen: props.inspectorInitiallyOpen
@@ -34431,16 +34431,16 @@ var PowerPointViewerBody = /* @__PURE__ */ React108.forwardRef(
34431
34431
  }
34432
34432
  }, [settings, optionsStore]);
34433
34433
  const handleClearOptionsCache = useAutosaveCacheMaintenance(viewerOptions, storage);
34434
- const mobile = chunkBYPHHRBZ_js.useIsMobile();
34434
+ const mobile = chunkXG4WSJ4O_js.useIsMobile();
34435
34435
  const { isMobile, isTouchDevice, isVirtualKeyboardOpen } = mobile;
34436
- const resizablePanels = chunkBYPHHRBZ_js.useResizablePanels();
34436
+ const resizablePanels = chunkXG4WSJ4O_js.useResizablePanels();
34437
34437
  const {
34438
34438
  gridSpacingPx,
34439
34439
  visibleSlideIndexes,
34440
34440
  slideSectionGroups,
34441
34441
  masterPseudoSlide,
34442
34442
  authoredRange
34443
- } = chunkBYPHHRBZ_js.useDerivedSlideState({
34443
+ } = chunkXG4WSJ4O_js.useDerivedSlideState({
34444
34444
  slides,
34445
34445
  sections: state.sections,
34446
34446
  customShows: state.customShows,
@@ -34465,7 +34465,7 @@ var PowerPointViewerBody = /* @__PURE__ */ React108.forwardRef(
34465
34465
  state.cropSessionRef
34466
34466
  ]
34467
34467
  );
34468
- const zoom = chunkBYPHHRBZ_js.useZoomViewport({
34468
+ const zoom = chunkXG4WSJ4O_js.useZoomViewport({
34469
34469
  canvasSize,
34470
34470
  selectedElements: state.selectedElements,
34471
34471
  fitPadding: props.fitPadding,
@@ -34481,7 +34481,7 @@ var PowerPointViewerBody = /* @__PURE__ */ React108.forwardRef(
34481
34481
  onChangeCallback.current?.();
34482
34482
  }, [setIsDirty]);
34483
34483
  const restoreHistoryThemeRef = React108.useRef(void 0);
34484
- const history = chunkBYPHHRBZ_js.useEditorHistory({
34484
+ const history = chunkXG4WSJ4O_js.useEditorHistory({
34485
34485
  slides,
34486
34486
  canvasSize,
34487
34487
  activeSlideIndex,
@@ -34510,7 +34510,7 @@ var PowerPointViewerBody = /* @__PURE__ */ React108.forwardRef(
34510
34510
  setEditTemplateMode: state.setEditTemplateMode,
34511
34511
  setHeaderFooter: state.setHeaderFooter
34512
34512
  });
34513
- const { presentation, annotations, actionSoundHandlerRef, setExitModeHandler } = chunkBYPHHRBZ_js.usePresentationSetup({
34513
+ const { presentation, annotations, actionSoundHandlerRef, setExitModeHandler } = chunkXG4WSJ4O_js.usePresentationSetup({
34514
34514
  mode,
34515
34515
  slides,
34516
34516
  visibleSlideIndexes,
@@ -34589,7 +34589,7 @@ var PowerPointViewerBody = /* @__PURE__ */ React108.forwardRef(
34589
34589
  loading,
34590
34590
  error
34591
34591
  ]);
34592
- chunkBYPHHRBZ_js.useTouchGestures({
34592
+ chunkXG4WSJ4O_js.useTouchGestures({
34593
34593
  targetRef: zoom.canvasViewportRef,
34594
34594
  currentScale: zoom.scale,
34595
34595
  callbacks: {
@@ -34611,7 +34611,7 @@ var PowerPointViewerBody = /* @__PURE__ */ React108.forwardRef(
34611
34611
  },
34612
34612
  enabled: isTouchDevice
34613
34613
  });
34614
- const dialogs = chunkBYPHHRBZ_js.useViewerDialogs({
34614
+ const dialogs = chunkXG4WSJ4O_js.useViewerDialogs({
34615
34615
  mode,
34616
34616
  slides,
34617
34617
  activeSlide,
@@ -34639,7 +34639,7 @@ var PowerPointViewerBody = /* @__PURE__ */ React108.forwardRef(
34639
34639
  history,
34640
34640
  embeddedFontFamilies: state.embeddedFonts.map((font) => font.name)
34641
34641
  });
34642
- chunkBYPHHRBZ_js.useClearSelectionOnSlideChange(state, activeSlideIndex);
34642
+ chunkXG4WSJ4O_js.useClearSelectionOnSlideChange(state, activeSlideIndex);
34643
34643
  const zoomBeforePresentRef = React108.useRef(null);
34644
34644
  React108.useEffect(() => {
34645
34645
  if (mode !== "present") {
@@ -34657,7 +34657,7 @@ var PowerPointViewerBody = /* @__PURE__ */ React108.forwardRef(
34657
34657
  zoom.handleZoomToFit();
34658
34658
  zoom.canvasViewportRef.current?.scrollTo({ left: 0, top: 0 });
34659
34659
  }, [mode]);
34660
- const editorOps = chunkBYPHHRBZ_js.useEditorOperations({
34660
+ const editorOps = chunkXG4WSJ4O_js.useEditorOperations({
34661
34661
  state,
34662
34662
  history,
34663
34663
  zoom,
@@ -34702,7 +34702,7 @@ var PowerPointViewerBody = /* @__PURE__ */ React108.forwardRef(
34702
34702
  handlerRef,
34703
34703
  viewerApi,
34704
34704
  loadVersion
34705
- } = chunkBYPHHRBZ_js.useViewerIntegration({
34705
+ } = chunkXG4WSJ4O_js.useViewerIntegration({
34706
34706
  transformCommittedText: (text, previous) => pptx.applyAutoCorrectToEdit(text, previous, viewerOptions.proofing),
34707
34707
  state,
34708
34708
  zoom,
@@ -34847,7 +34847,7 @@ var PowerPointViewerBody = /* @__PURE__ */ React108.forwardRef(
34847
34847
  updateElementById: editorOps.ops.updateElementById
34848
34848
  });
34849
34849
  const ribbonScope = useRibbonScopeToken();
34850
- const viewPreferencesSync = chunkBYPHHRBZ_js.useViewPreferencesSync({
34850
+ const viewPreferencesSync = chunkXG4WSJ4O_js.useViewPreferencesSync({
34851
34851
  loadVersion,
34852
34852
  viewProperties: state.viewProperties,
34853
34853
  setViewProperties: state.setViewProperties,
@@ -34898,7 +34898,7 @@ var PowerPointViewerBody = /* @__PURE__ */ React108.forwardRef(
34898
34898
  },
34899
34899
  [state]
34900
34900
  );
34901
- const layoutSwitching = chunkBYPHHRBZ_js.useLayoutSwitching({
34901
+ const layoutSwitching = chunkXG4WSJ4O_js.useLayoutSwitching({
34902
34902
  handler: handlerRef.current,
34903
34903
  slides,
34904
34904
  activeSlideIndex,
@@ -35419,8 +35419,8 @@ var PowerPointViewerBody = /* @__PURE__ */ React108.forwardRef(
35419
35419
  // Nothing previously provided it, so every one of those consumers was
35420
35420
  // silently reading `DEFAULT_VIEWER_OPTIONS` forever, no matter what
35421
35421
  // the user changed in the Options dialog.
35422
- /* @__PURE__ */ jsxRuntime.jsx(ViewerOptionsProvider, { options: viewerOptions, store: optionsStore, children: /* @__PURE__ */ jsxRuntime.jsx(ViewerCustomizationContext.Provider, { value: customizationResolved, children: /* @__PURE__ */ jsxRuntime.jsx(ViewerStorageContext.Provider, { value: hostStorage, children: /* @__PURE__ */ jsxRuntime.jsx(ViewerCloudFilesContext.Provider, { value: cloudFiles, children: /* @__PURE__ */ jsxRuntime.jsx(ViewerRegionBaseContext.Provider, { value: regionBase, children: /* @__PURE__ */ jsxRuntime.jsx(RibbonAddInsContext.Provider, { value: ribbonAddIns ?? NO_RIBBON_ADD_INS, children: /* @__PURE__ */ jsxRuntime.jsx(AccountAuthContext.Provider, { value: accountAuth, children: /* @__PURE__ */ jsxRuntime.jsx(chunkBYPHHRBZ_js.Rendering3DFlagsContext.Provider, { value: effective3D, children: /* @__PURE__ */ jsxRuntime.jsx(ViewerThemeProvider, { theme: effectiveTheme, children: /* @__PURE__ */ jsxRuntime.jsxs(
35423
- chunkBYPHHRBZ_js.CollaborationProvider,
35422
+ /* @__PURE__ */ jsxRuntime.jsx(ViewerOptionsProvider, { options: viewerOptions, store: optionsStore, children: /* @__PURE__ */ jsxRuntime.jsx(ViewerCustomizationContext.Provider, { value: customizationResolved, children: /* @__PURE__ */ jsxRuntime.jsx(ViewerStorageContext.Provider, { value: hostStorage, children: /* @__PURE__ */ jsxRuntime.jsx(ViewerCloudFilesContext.Provider, { value: cloudFiles, children: /* @__PURE__ */ jsxRuntime.jsx(ViewerRegionBaseContext.Provider, { value: regionBase, children: /* @__PURE__ */ jsxRuntime.jsx(RibbonAddInsContext.Provider, { value: ribbonAddIns ?? NO_RIBBON_ADD_INS, children: /* @__PURE__ */ jsxRuntime.jsx(AccountAuthContext.Provider, { value: accountAuth, children: /* @__PURE__ */ jsxRuntime.jsx(chunkXG4WSJ4O_js.Rendering3DFlagsContext.Provider, { value: effective3D, children: /* @__PURE__ */ jsxRuntime.jsx(ViewerThemeProvider, { theme: effectiveTheme, children: /* @__PURE__ */ jsxRuntime.jsxs(
35423
+ chunkXG4WSJ4O_js.CollaborationProvider,
35424
35424
  {
35425
35425
  config: collaboration,
35426
35426
  canvasWidth: canvasSize.width,
@@ -35477,19 +35477,19 @@ var PowerPointViewerBody = /* @__PURE__ */ React108.forwardRef(
35477
35477
  slideCount: slides.length
35478
35478
  }
35479
35479
  ),
35480
- /* @__PURE__ */ jsxRuntime.jsx(ShapeFormatContext.Provider, { value: shapeFormat, children: /* @__PURE__ */ jsxRuntime.jsx(RibbonGalleryCommandsContext.Provider, { value: ribbonGalleries, children: /* @__PURE__ */ jsxRuntime.jsx(chunkBYPHHRBZ_js.ChartFormatContext.Provider, { value: chartFormat, children: viewerContent }) }) })
35480
+ /* @__PURE__ */ jsxRuntime.jsx(ShapeFormatContext.Provider, { value: shapeFormat, children: /* @__PURE__ */ jsxRuntime.jsx(RibbonGalleryCommandsContext.Provider, { value: ribbonGalleries, children: /* @__PURE__ */ jsxRuntime.jsx(chunkXG4WSJ4O_js.ChartFormatContext.Provider, { value: chartFormat, children: viewerContent }) }) })
35481
35481
  ]
35482
35482
  }
35483
35483
  ) }) }) }) }) }) }) }) }) })
35484
35484
  );
35485
35485
  }
35486
35486
  );
35487
- var PowerPointViewer2 = /* @__PURE__ */ chunkBYPHHRBZ_js.withDisplayName(
35487
+ var PowerPointViewer2 = /* @__PURE__ */ chunkXG4WSJ4O_js.withDisplayName(
35488
35488
  PowerPointViewerComponent,
35489
35489
  "PowerPointViewer"
35490
35490
  );
35491
35491
  function CollaborationStatusStrip() {
35492
- const collab = chunkBYPHHRBZ_js.useCollaboration();
35492
+ const collab = chunkXG4WSJ4O_js.useCollaboration();
35493
35493
  if (!collab) {
35494
35494
  return null;
35495
35495
  }
@@ -35506,9 +35506,9 @@ function CollaborationStateReporter({
35506
35506
  onChange,
35507
35507
  onStatus
35508
35508
  }) {
35509
- const collab = chunkBYPHHRBZ_js.useCollaboration();
35509
+ const collab = chunkXG4WSJ4O_js.useCollaboration();
35510
35510
  useCollaborationStateReport(collab, onChange);
35511
- chunkBYPHHRBZ_js.useReportOnChange(collab?.status ?? "disconnected", onStatus, "disconnected");
35511
+ chunkXG4WSJ4O_js.useReportOnChange(collab?.status ?? "disconnected", onStatus, "disconnected");
35512
35512
  return null;
35513
35513
  }
35514
35514
  function CollaborationDocumentSync({
@@ -35523,8 +35523,8 @@ function CollaborationDocumentSync({
35523
35523
  onReadOnlyChange,
35524
35524
  history
35525
35525
  }) {
35526
- const collab = chunkBYPHHRBZ_js.useCollaboration();
35527
- chunkBYPHHRBZ_js.useCollaborationDocumentSync({
35526
+ const collab = chunkXG4WSJ4O_js.useCollaboration();
35527
+ chunkXG4WSJ4O_js.useCollaborationDocumentSync({
35528
35528
  collaboration: collab,
35529
35529
  history,
35530
35530
  slides,
@@ -35544,14 +35544,14 @@ function CollaborationFollowLayer({
35544
35544
  setActiveSlideIndex,
35545
35545
  slideCount
35546
35546
  }) {
35547
- const collab = chunkBYPHHRBZ_js.useCollaboration();
35548
- const { followedClientId, followUser } = chunkBYPHHRBZ_js.useFollowMode({
35547
+ const collab = chunkXG4WSJ4O_js.useCollaboration();
35548
+ const { followedClientId, followUser } = chunkXG4WSJ4O_js.useFollowMode({
35549
35549
  collab,
35550
35550
  activeSlideIndex,
35551
35551
  setActiveSlideIndex,
35552
35552
  slideCount
35553
35553
  });
35554
- chunkBYPHHRBZ_js.useBroadcastFollower({
35554
+ chunkXG4WSJ4O_js.useBroadcastFollower({
35555
35555
  collab,
35556
35556
  activeSlideIndex,
35557
35557
  setActiveSlideIndex,