pptx-vue-viewer 4.65.0 → 4.67.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 (81) hide show
  1. package/CHANGELOG.md +36 -0
  2. package/README.md +10 -0
  3. package/dist/i18n/de.cjs +3 -0
  4. package/dist/i18n/de.cjs.br +0 -0
  5. package/dist/i18n/de.cjs.gz +0 -0
  6. package/dist/i18n/de.mjs +3 -0
  7. package/dist/i18n/de.mjs.br +0 -0
  8. package/dist/i18n/de.mjs.gz +0 -0
  9. package/dist/i18n/es.cjs +3 -0
  10. package/dist/i18n/es.cjs.br +0 -0
  11. package/dist/i18n/es.cjs.gz +0 -0
  12. package/dist/i18n/es.mjs +3 -0
  13. package/dist/i18n/es.mjs.br +0 -0
  14. package/dist/i18n/es.mjs.gz +0 -0
  15. package/dist/i18n/fr.cjs +3 -0
  16. package/dist/i18n/fr.cjs.br +0 -0
  17. package/dist/i18n/fr.cjs.gz +0 -0
  18. package/dist/i18n/fr.mjs +3 -0
  19. package/dist/i18n/fr.mjs.br +0 -0
  20. package/dist/i18n/fr.mjs.gz +0 -0
  21. package/dist/i18n/zh-CN.cjs +3 -0
  22. package/dist/i18n/zh-CN.cjs.br +0 -0
  23. package/dist/i18n/zh-CN.cjs.gz +0 -0
  24. package/dist/i18n/zh-CN.mjs +3 -0
  25. package/dist/i18n/zh-CN.mjs.br +0 -0
  26. package/dist/i18n/zh-CN.mjs.gz +0 -0
  27. package/dist/index.cjs +1 -1
  28. package/dist/index.cjs.br +0 -0
  29. package/dist/index.cjs.gz +0 -0
  30. package/dist/index.d.ts +6 -2
  31. package/dist/index.js +3 -3
  32. package/dist/index.js.br +0 -0
  33. package/dist/index.js.gz +0 -0
  34. package/dist/internals.cjs +1 -1
  35. package/dist/internals.cjs.br +0 -0
  36. package/dist/internals.cjs.gz +0 -0
  37. package/dist/internals.d.ts +9 -0
  38. package/dist/internals.js +1 -1
  39. package/dist/internals.js.br +0 -0
  40. package/dist/internals.js.gz +0 -0
  41. package/dist/pptx-vue-viewer.css +1 -1
  42. package/dist/pptx-vue-viewer.css.br +0 -0
  43. package/dist/pptx-vue-viewer.css.gz +0 -0
  44. package/dist/{useViewerSettingsDialog-CuiWscv-.cjs → useViewerSettingsDialog-BNnWGJwV.cjs} +430 -388
  45. package/dist/useViewerSettingsDialog-BNnWGJwV.cjs.br +0 -0
  46. package/dist/useViewerSettingsDialog-BNnWGJwV.cjs.gz +0 -0
  47. package/dist/{useViewerSettingsDialog-D5C2Wbjw.js → useViewerSettingsDialog-CGI6HR0i.js} +1913 -1866
  48. package/dist/useViewerSettingsDialog-CGI6HR0i.js.br +0 -0
  49. package/dist/useViewerSettingsDialog-CGI6HR0i.js.gz +0 -0
  50. package/dist/viewer/index.cjs +1 -1
  51. package/dist/viewer/index.cjs.br +0 -0
  52. package/dist/viewer/index.cjs.gz +0 -0
  53. package/dist/viewer/index.d.ts +14 -2
  54. package/dist/viewer/index.js +3 -3
  55. package/dist/viewer/index.js.br +0 -0
  56. package/dist/viewer/index.js.gz +0 -0
  57. package/dist/{viewer-q1mZieZF.cjs → viewer-B-B4pL2o.cjs} +1328 -1361
  58. package/dist/viewer-B-B4pL2o.cjs.br +0 -0
  59. package/dist/viewer-B-B4pL2o.cjs.gz +0 -0
  60. package/dist/{viewer-DQPBgO7l.js → viewer-DYs723bH.js} +8472 -8505
  61. package/dist/viewer-DYs723bH.js.br +0 -0
  62. package/dist/viewer-DYs723bH.js.gz +0 -0
  63. package/dist/{y-webrtc-CpZkvep1.js → y-webrtc-BxRkXfn3.js} +23 -23
  64. package/dist/y-webrtc-BxRkXfn3.js.br +0 -0
  65. package/dist/y-webrtc-BxRkXfn3.js.gz +0 -0
  66. package/dist/{y-webrtc-CTBB9Ok0.cjs → y-webrtc-D9l3ByiO.cjs} +1 -1
  67. package/dist/y-webrtc-D9l3ByiO.cjs.br +0 -0
  68. package/dist/y-webrtc-D9l3ByiO.cjs.gz +0 -0
  69. package/package.json +4 -4
  70. package/dist/useViewerSettingsDialog-CuiWscv-.cjs.br +0 -0
  71. package/dist/useViewerSettingsDialog-CuiWscv-.cjs.gz +0 -0
  72. package/dist/useViewerSettingsDialog-D5C2Wbjw.js.br +0 -0
  73. package/dist/useViewerSettingsDialog-D5C2Wbjw.js.gz +0 -0
  74. package/dist/viewer-DQPBgO7l.js.br +0 -0
  75. package/dist/viewer-DQPBgO7l.js.gz +0 -0
  76. package/dist/viewer-q1mZieZF.cjs.br +0 -0
  77. package/dist/viewer-q1mZieZF.cjs.gz +0 -0
  78. package/dist/y-webrtc-CTBB9Ok0.cjs.br +0 -0
  79. package/dist/y-webrtc-CTBB9Ok0.cjs.gz +0 -0
  80. package/dist/y-webrtc-CpZkvep1.js.br +0 -0
  81. package/dist/y-webrtc-CpZkvep1.js.gz +0 -0
@@ -1,4 +1,4 @@
1
- const e = require("./useViewerSettingsDialog-CuiWscv-.cjs"), t = require("./useController-CYBNpWy-.cjs"), n = require("./ai-8VTpsXre.cjs"), o = require("./useAiPanelController-aOhIHxkq.cjs");
1
+ const e = require("./useViewerSettingsDialog-BNnWGJwV.cjs"), t = require("./useController-CYBNpWy-.cjs"), n = require("./ai-8VTpsXre.cjs"), o = require("./useAiPanelController-aOhIHxkq.cjs");
2
2
  require("./i18n.cjs");
3
3
  let a = require("ooxml-ui/pptx"), l = require("vue"), r = require("lucide-vue-next"), i = require("ooxml-ui/pptx/ai/host"), s = require("ooxml-ui/pptx/i18n");
4
4
  var c = Symbol("pptx-viewer-theme");
@@ -608,101 +608,97 @@ var fe = ["spellcheck", "aria-label"], xe = (0, l.defineComponent)({
608
608
  "format",
609
609
  "listSession"
610
610
  ],
611
- setup(e, { emit: n }) {
612
- const { t: o } = t.useI18n(), r = e, i = n, s = (0, l.ref)(null), c = (0, l.shallowRef)((0, a.createInlineListSeed)((0, l.toRaw)(r.element)));
613
- let d, p, u = !1, m = !1;
614
- function v() {
615
- return s.value?.innerText ?? "";
611
+ setup(n, { emit: o }) {
612
+ const { t: r } = t.useI18n(), i = n, s = o, c = (0, l.ref)(null), d = (0, l.shallowRef)((0, a.createInlineListSeed)((0, l.toRaw)(i.element)));
613
+ let p, u, m = !1, v = !1;
614
+ function g() {
615
+ return c.value ? (0, a.readEditableText)(c.value) : "";
616
616
  }
617
- (0, l.watch)(() => r.element, async (e) => {
618
- if (p) return void p.checkModel((0, l.toRaw)(e));
619
- if (c.value) return;
617
+ (0, l.watch)(() => i.element, async (e) => {
618
+ if (u) return void u.checkModel((0, l.toRaw)(e));
619
+ if (d.value) return;
620
620
  const t = (0, a.createInlineListSeed)((0, l.toRaw)(e));
621
621
  if (!t) return;
622
622
  const n = (0, a.inlineListBodyText)("textSegments" in e ? e.textSegments : void 0);
623
- if (s.value && (0, a.readEditableText)(s.value) !== n) return u = !0, void i("cancel");
624
- const o = s.value ? (0, a.readListActivationSelection)(s.value, (0, a.inlineListBodyText)("textSegments" in e ? e.textSegments : void 0)) : void 0;
625
- m = !0, c.value = t, await (0, l.nextTick)(), u || f(o), m = !1;
623
+ if (c.value && (0, a.readEditableText)(c.value) !== n) return m = !0, void s("cancel");
624
+ const o = c.value ? (0, a.readListActivationSelection)(c.value, (0, a.inlineListBodyText)("textSegments" in e ? e.textSegments : void 0)) : void 0;
625
+ v = !0, d.value = t, await (0, l.nextTick)(), m || x(o), v = !1;
626
626
  });
627
- const g = (0, l.computed)(() => function(e, t) {
628
- const n = e.textStyle ?? {}, o = "number" == typeof n.fontSize ? `${n.fontSize}px` : void 0, a = "string" == typeof n.align ? n.align : void 0;
629
- return {
627
+ const f = (0, l.computed)(() => {
628
+ return t = i.element, n = Boolean(d.value || i.livePatcher?.isActive()), {
629
+ ...e.getTextBlockStyle(t),
630
630
  position: "absolute",
631
- left: `${e.x}px`,
632
- top: `${e.y}px`,
633
- width: `${e.width}px`,
634
- height: `${e.height}px`,
635
- display: t ? "block" : "flex",
636
- flexDirection: "column",
637
- justifyContent: "center",
631
+ left: `${t.x}px`,
632
+ top: `${t.y}px`,
633
+ width: `${t.width}px`,
634
+ height: `${t.height}px`,
635
+ ...n ? {
636
+ display: "block",
637
+ textDecoration: "none",
638
+ textDecorationLine: "none"
639
+ } : {},
638
640
  boxSizing: "border-box",
639
- padding: "2px 4px",
640
641
  margin: 0,
641
642
  outline: "2px solid var(--pptx-vue-selection-color, #3b82f6)",
642
643
  background: "transparent",
643
- color: "string" == typeof n.color ? n.color : "#111827",
644
- fontFamily: "string" == typeof n.fontFamily ? n.fontFamily : "inherit",
645
- fontSize: o ?? "inherit",
646
- fontWeight: n.bold ? 700 : "normal",
647
- fontStyle: n.italic ? "italic" : "normal",
648
- ...t ? {
649
- textDecoration: "none",
650
- textDecorationLine: "none"
651
- } : {},
652
- textAlign: a ?? "left",
653
644
  overflow: "hidden",
654
645
  whiteSpace: "pre-wrap",
655
646
  cursor: "text",
656
647
  zIndex: 60
657
648
  };
658
- }(r.element, Boolean(c.value || r.livePatcher?.isActive())));
659
- function f(e) {
660
- const t = s.value;
649
+ var t, n;
650
+ });
651
+ function x(e) {
652
+ const t = c.value;
661
653
  if (!t) return;
662
- const n = c.value;
663
- if (r.livePatcher?.isActive()) {
664
- if (p = (0, a.attachCollaborationInlineEditor)(t, (0, l.toRaw)(r.element), {
665
- patcher: r.livePatcher,
666
- slideId: r.slideId,
667
- onSnapshot: (e) => i("change", e.text, e),
654
+ const n = d.value;
655
+ if (i.livePatcher?.isActive()) {
656
+ if (u = (0, a.attachCollaborationInlineEditor)(t, (0, l.toRaw)(i.element), {
657
+ patcher: i.livePatcher,
658
+ slideId: i.slideId,
659
+ onSnapshot: (e) => s("change", e.text, e),
668
660
  onCancel: () => {
669
- u = !0, i("cancel");
661
+ m = !0, s("cancel");
670
662
  }
671
- }), !p) return u = !0, void i("cancel");
672
- d = p, i("listSession", {
673
- controller: p,
663
+ }), !u) return m = !0, void s("cancel");
664
+ p = u, s("listSession", {
665
+ controller: u,
674
666
  active: !0
675
667
  });
676
- } else n && (0, a.initializeInlineListDom)(t, n) ? (d = (0, a.attachInlineListController)(t, n, {
677
- isCurrent: () => !u && r.element.id === n.elementId && s.value === t,
678
- onRead: (e) => i("change", "supported" === e.kind ? e.snapshot.text : e.text, "supported" === e.kind ? e.snapshot : void 0)
679
- }), i("listSession", {
680
- controller: d,
668
+ } else if (n && (0, a.initializeInlineListDom)(t, n)) p = (0, a.attachInlineListController)(t, n, {
669
+ isCurrent: () => !m && i.element.id === n.elementId && c.value === t,
670
+ onRead: (e) => s("change", "supported" === e.kind ? e.snapshot.text : e.text, "supported" === e.kind ? e.snapshot : void 0)
671
+ }), s("listSession", {
672
+ controller: p,
681
673
  active: !0
682
- })) : t.innerText = r.element.text ?? "";
674
+ });
675
+ else {
676
+ const e = (0, l.toRaw)(i.element);
677
+ (0, a.seedPlainInlineText)(t, "textSegments" in e ? e.textSegments : void 0, i.element.text ?? "", "textStyle" in e ? e.textStyle : void 0);
678
+ }
683
679
  t.focus(), (0, a.placeCaretAt)(t, (0, a.takePendingCaretPoint)()), n && e && (0, a.restoreInlineListBodySelection)(n, t, e);
684
680
  }
685
- function x() {
686
- d || i("change", v());
687
- }
688
681
  function y() {
689
- if (!m && !u) {
690
- if (d) {
691
- const e = d.refresh();
692
- if (p && "supported" !== e.kind) return;
693
- } else i("change", v());
694
- i("commit");
682
+ p || s("change", g());
683
+ }
684
+ function h() {
685
+ if (!v && !m) {
686
+ if (p) {
687
+ const e = p.refresh();
688
+ if (u && "supported" !== e.kind) return;
689
+ } else s("change", g());
690
+ s("commit");
695
691
  }
696
692
  }
697
- function h(e) {
698
- if (d && e.isComposing) return;
693
+ function b(e) {
694
+ if (p && e.isComposing) return;
699
695
  const t = (0, a.mapInlineTextFormatKey)(e);
700
696
  if (t) {
701
697
  e.preventDefault(), e.stopPropagation();
702
698
  const n = function() {
703
- const e = r.element;
704
- if (!d) return e.textSegments?.[0]?.style ?? e.textStyle;
705
- const t = d.readSelection(), n = "supported" === t.kind ? t.snapshot.textSegments?.[t.selection?.startSegIdx ?? 0]?.style : e.textSegments?.[0]?.style;
699
+ const e = i.element;
700
+ if (!p) return e.textSegments?.[0]?.style ?? e.textStyle;
701
+ const t = p.readSelection(), n = "supported" === t.kind ? t.snapshot.textSegments?.[t.selection?.startSegIdx ?? 0]?.style : e.textSegments?.[0]?.style;
706
702
  return {
707
703
  ...n,
708
704
  bold: n?.bold ?? e.textStyle?.bold,
@@ -710,40 +706,40 @@ var fe = ["spellcheck", "aria-label"], xe = (0, l.defineComponent)({
710
706
  underline: n?.underline ?? e.textStyle?.underline
711
707
  };
712
708
  }();
713
- i("format", { [t]: !n?.[t] });
709
+ s("format", { [t]: !n?.[t] });
714
710
  return;
715
711
  }
716
712
  const n = (0, a.mapInlineEditorChord)(e);
717
- if (n) return e.preventDefault(), e.stopPropagation(), void ("commit" === n && s.value?.blur());
718
- "Enter" !== e.key || d && (!p || c.value) || function() {
713
+ if (n) return e.preventDefault(), e.stopPropagation(), void ("commit" === n && c.value?.blur());
714
+ "Enter" !== e.key || p && (!u || d.value) || function() {
719
715
  const e = window.getSelection();
720
716
  if (!e || !e.isCollapsed || 0 === e.rangeCount) return;
721
717
  const { startContainer: n, startOffset: o } = e.getRangeAt(0);
722
718
  if (n.nodeType !== Node.TEXT_NODE || 0 === o) return;
723
719
  if (" " !== (n.textContent ?? "").charAt(o - 1)) return;
724
720
  const a = document.createRange();
725
- a.setStart(n, o - 1), a.setEnd(n, o), p ? p.mutate(a, () => a.deleteContents()) : a.deleteContents();
721
+ a.setStart(n, o - 1), a.setEnd(n, o), u ? u.mutate(a, () => a.deleteContents()) : a.deleteContents();
726
722
  }();
727
723
  }
728
- return (0, l.onMounted)(() => f()), (0, l.onBeforeUnmount)(() => {
729
- u = !0, d?.dispose(), d && i("listSession", {
730
- controller: d,
724
+ return (0, l.onMounted)(() => x()), (0, l.onBeforeUnmount)(() => {
725
+ m = !0, p?.dispose(), p && s("listSession", {
726
+ controller: p,
731
727
  active: !1
732
728
  });
733
729
  }), (e, t) => ((0, l.openBlock)(), (0, l.createElementBlock)("div", {
734
- key: c.value ? "list" : "plain",
730
+ key: d.value ? "list" : "plain",
735
731
  ref_key: "editorRef",
736
- ref: s,
732
+ ref: c,
737
733
  class: "pptx-vue-inline-editor",
738
734
  "data-inline-editor": "",
739
735
  contenteditable: "true",
740
- spellcheck: r.spellCheck,
736
+ spellcheck: i.spellCheck,
741
737
  role: "textbox",
742
- "aria-label": (0, l.unref)(o)("pptx.inlineEditor.editText"),
743
- style: (0, l.normalizeStyle)(g.value),
744
- onInput: x,
745
- onBlur: y,
746
- onKeydown: h,
738
+ "aria-label": (0, l.unref)(r)("pptx.inlineEditor.editText"),
739
+ style: (0, l.normalizeStyle)(f.value),
740
+ onInput: y,
741
+ onBlur: h,
742
+ onKeydown: b,
747
743
  onPointerdown: t[0] || (t[0] = (0, l.withModifiers)(() => {}, ["stop"]))
748
744
  }, null, 44, fe));
749
745
  }
@@ -2874,7 +2870,7 @@ var so = Symbol("pptx-viewer-storage");
2874
2870
  function co() {
2875
2871
  return (0, l.inject)(so, () => {});
2876
2872
  }
2877
- var po = "4.65.0", uo = Symbol("pptx-account-auth");
2873
+ var po = "4.67.0", uo = Symbol("pptx-account-auth");
2878
2874
  var mo = { class: "pptx-vue-account mt-8 flex max-w-[760px] flex-col gap-6" }, vo = { class: "pptx-vue-account-section border border-border bg-card p-6 text-card-foreground" }, go = { class: "text-base font-semibold" }, fo = { class: "mt-4 flex items-center gap-4" }, xo = { class: "min-w-0 flex-1" }, yo = { class: "block text-xs font-medium text-muted-foreground" }, ho = ["value", "placeholder"], bo = { class: "mt-4" }, ko = { class: "block text-xs font-medium text-muted-foreground" }, So = { class: "mt-2 flex gap-2" }, Eo = [
2879
2875
  "aria-pressed",
2880
2876
  "aria-label",
@@ -7722,6 +7718,7 @@ var oi = ["placement", ".state"], ai = {
7722
7718
  autosaveStatus: {},
7723
7719
  lastSavedAt: {},
7724
7720
  saveProgress: {},
7721
+ fontProgress: {},
7725
7722
  scale: {},
7726
7723
  isNotesExpanded: { type: Boolean },
7727
7724
  mode: {},
@@ -7746,6 +7743,7 @@ var oi = ["placement", ".state"], ai = {
7746
7743
  timestamp: r.lastSavedAt ?? void 0
7747
7744
  } : void 0,
7748
7745
  saveProgress: r.saveProgress ? (0, a.saveProgressStatus)(r.saveProgress, (e) => o(e, { percent: "{percent}" })) : void 0,
7746
+ fontProgress: r.fontProgress,
7749
7747
  zoomPercent: void 0 === r.scale ? void 0 : 100 * r.scale,
7750
7748
  notesExpanded: r.isNotesExpanded,
7751
7749
  viewMode: (0, a.statusBarViewMode)(r.mode),
@@ -26147,10 +26145,7 @@ var UG = ["aria-busy", "tabindex"], HG = {
26147
26145
  hiddenActions: {},
26148
26146
  ribbonAddIns: {},
26149
26147
  initialSlide: {},
26150
- googleFonts: {
26151
- type: [Boolean, Object],
26152
- default: void 0
26153
- },
26148
+ googleFonts: { default: void 0 },
26154
26149
  listConversionScope: {},
26155
26150
  allowExternalContent: {
26156
26151
  type: Boolean,
@@ -26283,14 +26278,14 @@ var UG = ["aria-busy", "tabindex"], HG = {
26283
26278
  });
26284
26279
  const P = T.activeContent, D = (0, l.ref)(0), _ = e.usePasswordProtection(), { optionsStore: A, viewerOptions: M } = e.useViewerOptionsStore(), L = function(e) {
26285
26280
  const { props: t } = e, o = (0, a.createCustomizationController)(t.customization);
26286
- o.setAllowExternalContent(t.allowExternalContent);
26281
+ o.setAllowExternalContent(t.allowExternalContent), o.setGoogleFonts(t.googleFonts);
26287
26282
  const r = (0, l.shallowRef)(o.getResolved());
26288
26283
  f(e.optionsStore, r.value);
26289
26284
  const i = o.subscribe(() => {
26290
26285
  const t = o.getResolved();
26291
26286
  t !== r.value && (r.value = t, f(e.optionsStore, t));
26292
26287
  });
26293
- (0, l.onScopeDispose)(i), (0, l.watch)(() => t.customization, (e) => o.api.setCustomization(e ?? {})), (0, l.watch)(() => t.allowExternalContent, (e) => o.setAllowExternalContent(e)), (0, l.provide)(g, r);
26288
+ (0, l.onScopeDispose)(i), (0, l.watch)(() => t.customization, (e) => o.api.setCustomization(e ?? {})), (0, l.watch)(() => t.allowExternalContent, (e) => o.setAllowExternalContent(e)), (0, l.watch)(() => t.googleFonts, (e) => o.setGoogleFonts(e)), (0, l.provide)(g, r);
26294
26289
  const s = (0, l.computed)(() => Boolean(t.ai) && (0, a.isFeatureEnabled)(r.value, "ai")), c = (0, l.computed)(() => s.value ? n.aiAssistants.resolve(t.ai) : void 0);
26295
26290
  return {
26296
26291
  controller: o,
@@ -26307,35 +26302,35 @@ var UG = ["aria-busy", "tabindex"], HG = {
26307
26302
  }({
26308
26303
  props: v,
26309
26304
  optionsStore: A
26310
- }), { panelVisible: H, dialogAvailable: G, effectiveHiddenActions: K, aiEnabled: $, aiConfig: j, aiChatPanel: W } = L, q = function(e) {
26305
+ }), H = (0, l.computed)(() => (0, a.resolveEffectiveGoogleFonts)(v.googleFonts, M.value)), { panelVisible: G, dialogAvailable: K, effectiveHiddenActions: $, aiEnabled: j, aiConfig: W, aiChatPanel: q } = L, Y = function(e) {
26311
26306
  const t = `pptx-vue-ribbon-${MG += 1}`;
26312
26307
  return {
26313
26308
  rootAttrs: { [a.RIBBON_SCOPE_ATTR]: t },
26314
26309
  css: (0, l.computed)(() => (0, a.ribbonCustomizationCss)(e.value, t))
26315
26310
  };
26316
- }(L.resolved), Y = (0, l.shallowRef)(void 0), X = e.useLoadContent(() => P.value, {
26317
- getHeldDeck: () => Y.value,
26311
+ }(L.resolved), X = (0, l.shallowRef)(void 0), Z = e.useLoadContent(() => P.value, {
26312
+ getHeldDeck: () => X.value,
26318
26313
  getPendingInlineEdit: () => {
26319
- if (!De.value) return;
26320
- const e = bt.value?.readInlineSnapshot();
26321
- if (ko.showMasterView.value && e) return {
26314
+ if (!_e.value) return;
26315
+ const e = St.value?.readInlineSnapshot();
26316
+ if (Eo.showMasterView.value && e) return {
26322
26317
  snapshot: e,
26323
26318
  target: { masterView: {
26324
- tab: ko.masterViewTab.value,
26325
- masterIndex: ko.activeMasterIndex.value,
26326
- layoutIndex: ko.activeLayoutIndex.value
26319
+ tab: Eo.masterViewTab.value,
26320
+ masterIndex: Eo.activeMasterIndex.value,
26321
+ layoutIndex: Eo.activeLayoutIndex.value
26327
26322
  } }
26328
26323
  };
26329
- if (ht.isInlineInputPending()) throw new Error("Finish the current text input before saving.");
26330
- const t = ht.readInlineSnapshot();
26331
- return t && Re.value ? {
26324
+ if (kt.isInlineInputPending()) throw new Error("Finish the current text input before saving.");
26325
+ const t = kt.readInlineSnapshot();
26326
+ return t && Ue.value ? {
26332
26327
  snapshot: t,
26333
- text: (0, a.applyAutoCorrectToEdit)(t.text, ht.readInlineStartText(), M.value.proofing),
26334
- target: { slideId: Re.value.id }
26328
+ text: (0, a.applyAutoCorrectToEdit)(t.text, kt.readInlineStartText(), M.value.proofing),
26329
+ target: { slideId: Ue.value.id }
26335
26330
  } : void 0;
26336
26331
  },
26337
26332
  onContentApplied: () => {
26338
- D.value += 1, Me.value = (0, a.resolveInitialSlideIndex)(v.initialSlide, Z.value.length);
26333
+ D.value += 1, Re.value = (0, a.resolveInitialSlideIndex)(v.initialSlide, Q.value.length);
26339
26334
  },
26340
26335
  getSaveIntent: () => ({
26341
26336
  password: _.presentationPassword.value,
@@ -26343,9 +26338,10 @@ var UG = ["aria-busy", "tabindex"], HG = {
26343
26338
  }),
26344
26339
  getAllowExternalImages: () => (0, a.resolveAllowExternalContent)(v.allowExternalContent, M.value),
26345
26340
  getLimits: () => v.limits,
26341
+ getGoogleFonts: () => H.value,
26346
26342
  translate: (e, t) => b(e, t),
26347
- getEmbedFonts: () => po.embedFontsEnabled.value
26348
- }), { slides: Z, templateElementsBySlideId: Q, canvasSize: J, mediaDataUrls: ee, loading: te, error: ne, isEncrypted: oe, coreProperties: ae, customProperties: le, modifyVerifier: re, compatibilityWarnings: se, appProperties: ce, tagCollections: de, signatures: pe, tableStyleMap: ue, slideMasters: me, sections: ve, customShows: ge, modernCommentAuthors: fe, presentationProperties: xe, viewProperties: ye, headerFooter: he, notesMaster: be, handoutMaster: ke, theme: Se, themeColorMap: Ee, handler: Ce, getContent: we, getRecoverySnapshot: Be } = X, Ne = (0, l.ref)(!1), Ve = (0, l.computed)(() => (0, a.shouldOpenInProtectedView)(M.value) && !Ne.value), Te = function(e) {
26343
+ getEmbedFonts: () => vo.embedFontsEnabled.value
26344
+ }), { slides: Q, templateElementsBySlideId: J, canvasSize: ee, mediaDataUrls: te, loading: ne, fontProgress: oe, error: ae, isEncrypted: le, coreProperties: re, customProperties: se, modifyVerifier: ce, compatibilityWarnings: de, appProperties: pe, tagCollections: ue, signatures: me, tableStyleMap: ve, slideMasters: ge, sections: fe, customShows: xe, modernCommentAuthors: ye, presentationProperties: he, viewProperties: be, headerFooter: ke, notesMaster: Se, handoutMaster: Ee, theme: Ce, themeColorMap: we, handler: Be, getContent: Ne, getRecoverySnapshot: Ve } = Z, Te = (0, l.ref)(!1), Fe = (0, l.computed)(() => (0, a.shouldOpenInProtectedView)(M.value) && !Te.value), Pe = function(e) {
26349
26345
  function t() {
26350
26346
  return (0, a.readOnlyRecommendation)({
26351
26347
  modifyVerifier: e.modifyVerifier.value,
@@ -26379,14 +26375,14 @@ var UG = ["aria-busy", "tabindex"], HG = {
26379
26375
  cancelPasswordPrompt: r.cancelPassword
26380
26376
  };
26381
26377
  }({
26382
- modifyVerifier: re,
26383
- customProperties: le,
26378
+ modifyVerifier: ce,
26379
+ customProperties: se,
26384
26380
  loadVersion: D
26385
- }), Fe = (0, l.ref)(!0), Pe = (0, l.ref)(!1), De = (0, l.computed)(() => Fe.value && N.value.canEdit && (0, a.isEditingAllowed)(L.resolved.value) && !Pe.value && !Ve.value && !Te.locked.value);
26386
- function Ie() {
26387
- Ne.value = !0;
26381
+ }), De = (0, l.ref)(!0), Ie = (0, l.ref)(!1), _e = (0, l.computed)(() => De.value && N.value.canEdit && (0, a.isEditingAllowed)(L.resolved.value) && !Ie.value && !Fe.value && !Pe.locked.value);
26382
+ function Ae() {
26383
+ Te.value = !0;
26388
26384
  }
26389
- const _e = function(e) {
26385
+ const ze = function(e) {
26390
26386
  const t = (0, l.ref)(/* @__PURE__ */ new Set()), n = (0, l.ref)(!1), o = (0, l.ref)([]), r = (0, l.computed)(() => [...o.value, ...(0, a.compatibilityWarningToasts)(e.warnings.value)]), i = (0, l.computed)(() => n.value ? [] : r.value.filter((e) => !t.value.has(e.id)));
26391
26387
  return {
26392
26388
  visibleToasts: (0, l.computed)(() => i.value.slice(0, 5)),
@@ -26405,9 +26401,9 @@ var UG = ["aria-busy", "tabindex"], HG = {
26405
26401
  o.value = [e, ...o.value.filter((t) => t.id !== e.id)], a.delete(e.id), t.value = a, n.value = !1;
26406
26402
  }
26407
26403
  };
26408
- }({ warnings: se });
26409
- (0, l.provide)(e.TableThemeKey, () => e.tableThemeContextFor(Se.value, ue.value));
26410
- const Ae = function(e) {
26404
+ }({ warnings: de });
26405
+ (0, l.provide)(e.TableThemeKey, () => e.tableThemeContextFor(Ce.value, ve.value));
26406
+ const Me = function(e) {
26411
26407
  const t = (0, l.ref)((0, a.seedRecentColors)(e.presentationProperties.value));
26412
26408
  return e.loadVersion && (0, l.watch)(e.loadVersion, () => {
26413
26409
  t.value = (0, a.seedRecentColors)(e.presentationProperties.value);
@@ -26422,68 +26418,34 @@ var UG = ["aria-busy", "tabindex"], HG = {
26422
26418
  }
26423
26419
  };
26424
26420
  }({
26425
- presentationProperties: xe,
26421
+ presentationProperties: he,
26426
26422
  loadVersion: D
26427
26423
  });
26428
- (0, l.provide)(to, Ae), (0, l.provide)(qa, Ee), e.provideZoomTargetLookup((t) => e.toZoomTargetInfo(Z.value[t])), (0, l.provide)(e.FieldContextKey, () => (0, a.buildFieldSubstitutionContext)({
26429
- headerFooter: he.value,
26430
- customProperties: le.value,
26431
- slide: Re.value,
26432
- firstSlideNumber: X.firstSlideNumber.value
26424
+ (0, l.provide)(to, Me), (0, l.provide)(qa, we), e.provideZoomTargetLookup((t) => e.toZoomTargetInfo(Q.value[t])), (0, l.provide)(e.FieldContextKey, () => (0, a.buildFieldSubstitutionContext)({
26425
+ headerFooter: ke.value,
26426
+ customProperties: se.value,
26427
+ slide: Ue.value,
26428
+ firstSlideNumber: Z.firstSlideNumber.value
26433
26429
  }));
26434
- const { tableSelection: ze } = e.useTableCellEditingContext({
26435
- canEdit: () => De.value,
26436
- canEditInline: () => De.value && !Ut.presenting.value,
26437
- findActiveElement: (e) => Xe.findActiveElement(e),
26438
- updateElement: (e, t) => it.updateElement(e, t),
26439
- commitTableCell: (e, t, n, o) => ht.commitTableCell(e, t, n, o)
26430
+ const { tableSelection: Oe } = e.useTableCellEditingContext({
26431
+ canEdit: () => _e.value,
26432
+ canEditInline: () => _e.value && !Gt.presenting.value,
26433
+ findActiveElement: (e) => Qe.findActiveElement(e),
26434
+ updateElement: (e, t) => ct.updateElement(e, t),
26435
+ commitTableCell: (e, t, n, o) => kt.commitTableCell(e, t, n, o)
26440
26436
  });
26441
26437
  e.useSmartArtNodeEditContext({
26442
- canEdit: () => De.value,
26443
- canEditInline: () => De.value && !Ut.presenting.value,
26444
- findActiveElement: (e) => Xe.findActiveElement(e),
26445
- updateElement: (e, t) => it.updateElement(e, t)
26446
- }), e.useEmbeddedFonts(X.embeddedFonts), function(t, n, o) {
26447
- const r = "pptx-vue-google-fonts";
26448
- (0, l.watchEffect)((e) => {
26449
- if ("undefined" == typeof document) return;
26450
- let i = !1;
26451
- e(() => {
26452
- i = !0;
26453
- }), (0, a.resolveGoogleWebfontHref)((0, l.toValue)(t) ?? [], (0, l.toValue)(n) ?? [], void 0, (0, a.resolveGoogleFontsCss2Base)((0, l.toValue)(o))).then((e) => i ? null : ((0, a.syncGoogleWebfontStylesheet)(document, r, e), e));
26454
- }), (0, l.onScopeDispose)(() => {
26455
- document.getElementById(r)?.remove();
26456
- }), (0, l.watchEffect)((r) => {
26457
- let i = !1;
26458
- r(() => {
26459
- i = !0;
26460
- });
26461
- const s = (0, l.toValue)(t) ?? [], c = (0, l.toValue)(n) ?? [], d = (0, a.resolveGoogleFontsCss2Base)((0, l.toValue)(o)), p = (0, a.collectReferencedFontFamilies)(s), u = (0, a.selectGoogleWebfontFamilies)(p, (0, a.selectTrustedEmbeddedFonts)(c).map((e) => e.name));
26462
- 0 !== u.length && (0, a.resolveGoogleWebfontHref)(s, c, void 0, d).then(async (t) => {
26463
- if (i || !t) return;
26464
- const n = [{
26465
- bold: !1,
26466
- italic: !1
26467
- }, {
26468
- bold: !0,
26469
- italic: !1
26470
- }];
26471
- let o = !1;
26472
- for (const l of u) for (const r of n) {
26473
- if (i) return;
26474
- const n = await (0, a.fetchGoogleWebfontOutlineBytes)(t, l, r.bold, r.italic, fetch);
26475
- n && e.glyphOutlineFontCache.registerFontBytes(l, r.bold, r.italic, n) && (o = !0);
26476
- }
26477
- o && !i && (e.glyphOutlineFontsTick.value += 1);
26478
- });
26479
- });
26480
- }(Z, X.embeddedFonts, () => v.googleFonts), (0, l.watchEffect)((e) => {
26438
+ canEdit: () => _e.value,
26439
+ canEditInline: () => _e.value && !Gt.presenting.value,
26440
+ findActiveElement: (e) => Qe.findActiveElement(e),
26441
+ updateElement: (e, t) => ct.updateElement(e, t)
26442
+ }), e.useEmbeddedFonts(Z.embeddedFonts), e.useGoogleWebfonts(Q, Z.embeddedFonts, H), (0, l.watchEffect)((e) => {
26481
26443
  const t = (0, a.buildUserFontFaceStyles)(v.fonts ?? []);
26482
26444
  if (!t || "undefined" == typeof document) return;
26483
26445
  const n = document.createElement("style");
26484
26446
  n.dataset.pptxUserFonts = "vue", n.textContent = t, document.head.appendChild(n), e(() => n.remove());
26485
26447
  });
26486
- const { activeSlideIndex: Me, slideCount: Oe, activeSlide: Re, goTo: Le, goPrev: Ue, goNext: He } = function(e) {
26448
+ const { activeSlideIndex: Re, slideCount: Le, activeSlide: Ue, goTo: He, goPrev: Ge, goNext: Ke } = function(e) {
26487
26449
  const t = (0, l.ref)(0), n = (0, l.computed)(() => e.value.length), o = (0, l.computed)(() => e.value[t.value]);
26488
26450
  function a(e) {
26489
26451
  e < 0 || e >= n.value || (t.value = e);
@@ -26496,7 +26458,7 @@ var UG = ["aria-busy", "tabindex"], HG = {
26496
26458
  goPrev: () => a(t.value - 1),
26497
26459
  goNext: () => a(t.value + 1)
26498
26460
  };
26499
- }(Z), { zoom: Ge, fitScale: Ke, effectiveZoom: $e, zoomIn: je, zoomOut: We, zoomReset: qe } = function() {
26461
+ }(Q), { zoom: $e, fitScale: je, effectiveZoom: We, zoomIn: qe, zoomOut: Ye, zoomReset: Xe } = function() {
26500
26462
  const e = (0, a.createViewerZoomStore)(), t = LG(e, (e) => e.zoom), n = LG(e, (e) => e.fitScale);
26501
26463
  return {
26502
26464
  zoom: (0, l.computed)({
@@ -26521,11 +26483,11 @@ var UG = ["aria-busy", "tabindex"], HG = {
26521
26483
  };
26522
26484
  }();
26523
26485
  (0, l.watch)(P, () => {
26524
- Me.value = 0, Xe.selectedElementIds.value = [], rt.clearHistory(), Ne.value = !1, Te.reset(), _e.reset();
26525
- }), (0, l.watch)(Me, (e) => {
26486
+ Re.value = 0, Qe.selectedElementIds.value = [], st.clearHistory(), Te.value = !1, Pe.reset(), ze.reset();
26487
+ }), (0, l.watch)(Re, (e) => {
26526
26488
  h("active-slide-change", e);
26527
26489
  });
26528
- const Ye = function(e) {
26490
+ const Ze = function(e) {
26529
26491
  let t = null;
26530
26492
  return {
26531
26493
  onTouchStart: function(n) {
@@ -26546,10 +26508,10 @@ var UG = ["aria-busy", "tabindex"], HG = {
26546
26508
  }
26547
26509
  };
26548
26510
  }({
26549
- canEdit: () => De.value,
26550
- goPrev: Ue,
26551
- goNext: He
26552
- }), Xe = function(e) {
26511
+ canEdit: () => _e.value,
26512
+ goPrev: Ge,
26513
+ goNext: Ke
26514
+ }), Qe = function(e) {
26553
26515
  const { slides: t, templateElementsBySlideId: n, activeSlide: o } = e, r = (0, l.ref)([]), i = (0, l.ref)(!1), s = (0, l.computed)(() => r.value.length > 0), c = (0, l.computed)(() => n.value[o.value?.id ?? ""] ?? []), d = (0, l.computed)(() => (0, a.slideSpaceMembers)(o.value?.elements ?? [])), p = (0, l.computed)(() => {
26554
26516
  const e = new Set(r.value), t = (o.value?.elements ?? []).filter((t) => e.has(t.id)), n = c.value.filter((t) => e.has(t.id)), a = new Set(t.map((e) => e.id)), l = r.value.flatMap((e) => {
26555
26517
  const t = a.has(e) ? void 0 : d.value.get(e);
@@ -26590,10 +26552,10 @@ var UG = ["aria-busy", "tabindex"], HG = {
26590
26552
  isInteractive: (e) => (0, a.isElementIdInteractive)(e, i.value)
26591
26553
  };
26592
26554
  }({
26593
- slides: Z,
26594
- templateElementsBySlideId: Q,
26595
- activeSlide: Re
26596
- }), Ze = function({ activeSlideIndex: e, goTo: t, selectedElementIds: n }) {
26555
+ slides: Q,
26556
+ templateElementsBySlideId: J,
26557
+ activeSlide: Ue
26558
+ }), Je = function({ activeSlideIndex: e, goTo: t, selectedElementIds: n }) {
26597
26559
  let o = null;
26598
26560
  return (0, l.watch)(e, (e) => {
26599
26561
  const t = o === e;
@@ -26602,46 +26564,46 @@ var UG = ["aria-busy", "tabindex"], HG = {
26602
26564
  t(a), o = e.value, n.value = l;
26603
26565
  } };
26604
26566
  }({
26605
- activeSlideIndex: Me,
26606
- goTo: Le,
26607
- selectedElementIds: Xe.selectedElementIds
26608
- }), { selectedElementIds: Qe, editTemplateMode: Je, activeTemplateElements: et, findActiveElement: tt, selectedElements: nt, mergedSlides: ot, clearSelection: at } = Xe, lt = () => (0, a.loadedThemeName)(X.themeOptions.value, me.value), rt = e.useEditorHistory(Z, Q, {
26567
+ activeSlideIndex: Re,
26568
+ goTo: He,
26569
+ selectedElementIds: Qe.selectedElementIds
26570
+ }), { selectedElementIds: et, editTemplateMode: tt, activeTemplateElements: nt, findActiveElement: ot, selectedElements: at, mergedSlides: lt, clearSelection: rt } = Qe, it = () => (0, a.loadedThemeName)(Z.themeOptions.value, ge.value), st = e.useEditorHistory(Q, J, {
26609
26571
  maxDepth: (0, a.resolveHistoryDepth)(M.value),
26610
- activeSlideIndex: Me,
26572
+ activeSlideIndex: Re,
26611
26573
  onChange: () => h("change"),
26612
26574
  theme: {
26613
- theme: Se,
26614
- themeColorMap: Ee,
26615
- handler: Ce,
26616
- loadedThemeName: lt,
26617
- slideMasters: me
26575
+ theme: Ce,
26576
+ themeColorMap: we,
26577
+ handler: Be,
26578
+ loadedThemeName: it,
26579
+ slideMasters: ge
26618
26580
  }
26619
26581
  });
26620
- (0, l.watch)(() => (0, a.resolveHistoryDepth)(M.value), (e) => rt.setMaxDepth(e));
26621
- const it = e.useEditorOperations({
26622
- slides: Z,
26623
- activeSlideIndex: Me,
26624
- pushHistory: rt.pushHistory,
26625
- selectedElementIds: Qe,
26626
- templateElementsBySlideId: Q
26627
- }), st = mn(it, () => L.resolved.value);
26628
- (0, l.watch)(Ge, (e) => {
26582
+ (0, l.watch)(() => (0, a.resolveHistoryDepth)(M.value), (e) => st.setMaxDepth(e));
26583
+ const ct = e.useEditorOperations({
26584
+ slides: Q,
26585
+ activeSlideIndex: Re,
26586
+ pushHistory: st.pushHistory,
26587
+ selectedElementIds: et,
26588
+ templateElementsBySlideId: J
26589
+ }), dt = mn(ct, () => L.resolved.value);
26590
+ (0, l.watch)($e, (e) => {
26629
26591
  h("zoom-change", e);
26630
- }), (0, l.watch)(Qe, (e) => {
26592
+ }), (0, l.watch)(et, (e) => {
26631
26593
  h("selection-change", e);
26632
- const t = ze.value;
26633
- t && !e.includes(t.elementId) && (ze.value = null);
26634
- }), (0, l.watch)(Oe, (e) => {
26594
+ const t = Oe.value;
26595
+ t && !e.includes(t.elementId) && (Oe.value = null);
26596
+ }), (0, l.watch)(Le, (e) => {
26635
26597
  h("slide-count-change", e);
26636
- }), (0, l.watch)(te, (e, t) => {
26637
- !t || e || ne.value || h("load", {
26638
- slideCount: Z.value.length,
26639
- canvasSize: J.value
26598
+ }), (0, l.watch)(ne, (e, t) => {
26599
+ !t || e || ae.value || h("load", {
26600
+ slideCount: Q.value.length,
26601
+ canvasSize: ee.value
26640
26602
  });
26641
- }), (0, l.watch)(ne, (e) => {
26603
+ }), (0, l.watch)(ae, (e) => {
26642
26604
  e && h("error", e);
26643
26605
  });
26644
- const { marquee: ct, beginMarquee: dt, cancelMarquee: pt } = function(e) {
26606
+ const { marquee: pt, beginMarquee: ut, cancelMarquee: mt } = function(e) {
26645
26607
  const { getSelectableElements: t, getCanvasSize: n, selectedElementIds: o } = e, r = (0, l.ref)(null);
26646
26608
  let i = null, s = 0, c = 0, d = [], p = !1;
26647
26609
  function u() {
@@ -26697,111 +26659,111 @@ var UG = ["aria-busy", "tabindex"], HG = {
26697
26659
  }
26698
26660
  };
26699
26661
  }({
26700
- getSelectableElements: () => [...et.value, ...Re.value?.elements ?? []].filter((e) => Xe.isInteractive(e.id) && (0, a.canInteractWithElement)(e, "select")),
26701
- getCanvasSize: () => J.value,
26702
- selectedElementIds: Qe
26662
+ getSelectableElements: () => [...nt.value, ...Ue.value?.elements ?? []].filter((e) => Qe.isInteractive(e.id) && (0, a.canInteractWithElement)(e, "select")),
26663
+ getCanvasSize: () => ee.value,
26664
+ selectedElementIds: et
26703
26665
  });
26704
- (0, l.onBeforeUnmount)(pt);
26705
- const ut = (0, l.ref)(!1), mt = o.useAiPanelController({
26706
- activeSlideIndex: Me,
26707
- selectedElementIds: Qe,
26666
+ (0, l.onBeforeUnmount)(mt);
26667
+ const vt = (0, l.ref)(!1), gt = o.useAiPanelController({
26668
+ activeSlideIndex: Re,
26669
+ selectedElementIds: et,
26708
26670
  selectedElement: () => {
26709
- const e = Qe.value[0];
26710
- return e ? tt(e) ?? null : null;
26671
+ const e = et.value[0];
26672
+ return e ? ot(e) ?? null : null;
26711
26673
  }
26712
- }), { formatPainterActive: vt, canActivateFormatPainter: gt, toggleFormatPainter: ft, cancelFormatPainter: xt, applyFormatToTarget: yt } = e.useFormatPainter({
26713
- selectedElements: nt,
26714
- findActiveElement: tt,
26715
- ops: it
26716
- }), ht = e.useInlineEditing({
26717
- canEdit: () => De.value,
26718
- findActiveElement: tt,
26719
- ops: it,
26720
- livePatcher: () => ao.collab.livePatcher,
26721
- autosave: () => $n.engine,
26722
- activeSlide: () => Re.value,
26674
+ }), { formatPainterActive: ft, canActivateFormatPainter: xt, toggleFormatPainter: yt, cancelFormatPainter: ht, applyFormatToTarget: bt } = e.useFormatPainter({
26675
+ selectedElements: at,
26676
+ findActiveElement: ot,
26677
+ ops: ct
26678
+ }), kt = e.useInlineEditing({
26679
+ canEdit: () => _e.value,
26680
+ findActiveElement: ot,
26681
+ ops: ct,
26682
+ livePatcher: () => io.collab.livePatcher,
26683
+ autosave: () => qn.engine,
26684
+ activeSlide: () => Ue.value,
26723
26685
  onConnectedSuspend: (e) => {
26724
- const t = Re.value?.id;
26725
- Z.value = Z.value.map((n) => n.id === t ? {
26686
+ const t = Ue.value?.id;
26687
+ Q.value = Q.value.map((n) => n.id === t ? {
26726
26688
  ...n,
26727
26689
  elements: [...(0, a.overlayInlineTextSnapshot)(n.elements, e)]
26728
26690
  } : n);
26729
26691
  },
26730
26692
  proofing: () => M.value.proofing
26731
- }), bt = (0, l.ref)(null), kt = e.useInsertElementDialogs({
26732
- ops: it,
26733
- selectedElementIds: Qe,
26734
- findActiveElement: tt
26735
- }), { requestElementEdit: St, onCanvasDoubleClick: Et, onCanvasPointerDown: Ct, onEscape: wt } = TG({
26736
- canEdit: () => De.value,
26737
- editTemplateMode: Je,
26738
- findActiveElement: tt,
26739
- openEquationEditorForElement: kt.openEquationEditorForElement,
26740
- enterInlineEdit: ht.enterInlineEdit,
26741
- inlineEditingElementId: ht.inlineEditingElementId,
26742
- commitInlineEdit: ht.commitInlineEdit,
26743
- cancelInlineEdit: ht.cancelInlineEdit,
26744
- formatPainterActive: vt,
26745
- cancelFormatPainter: xt,
26746
- applyFormatToTarget: yt,
26747
- selectedElementIds: Qe,
26748
- selectElement: Xe.selectElement,
26749
- clearSelection: at,
26750
- activeSlideIndex: Me,
26751
- aiPickMode: mt.pickMode,
26752
- addAiPick: mt.addPick,
26753
- startElementDrag: (e, t, n) => Nt.startElementDrag(e, t, n),
26754
- beginMarquee: dt,
26755
- slideElements: () => Re.value?.elements,
26756
- canvasSize: () => J.value
26757
- }), Bt = (0, l.computed)(() => (0, a.computeGridSpacingPx)(ye.value?.gridSpacing, 8)), Nt = e.useElementDrag({
26758
- findActiveElement: tt,
26759
- pushHistory: rt.pushHistory,
26760
- effectiveZoom: $e,
26761
- activeTemplateElements: et,
26762
- activeSlide: Re,
26763
- activeSlideIndex: Me,
26764
- gridSpacingPx: Bt,
26765
- slides: Z,
26766
- templateElementsBySlideId: Q,
26767
- canvasSize: J,
26768
- enterInlineEdit: St
26769
- }), Vt = e.useElementInsertion({
26770
- canvasSize: J,
26771
- ops: it,
26772
- selectedElementIds: Qe,
26773
- slides: Z,
26774
- activeSlideIndex: Me,
26775
- pushHistory: rt.pushHistory,
26776
- handler: Ce,
26777
- templateElementsBySlideId: Q
26778
- }), { imageInputRef: Tt, mediaInputRef: Ft } = Vt, Pt = e.useSlideTemplateInsertion({
26779
- canvasSize: J,
26780
- slides: Z,
26781
- activeSlideIndex: Me,
26782
- pushHistory: rt.pushHistory,
26783
- theme: Se
26784
- }), { deleteSelected: Dt, duplicateSelected: It, bringForward: _t, sendBackward: At } = e.useMultiSelectOps({
26785
- selectedElementIds: Qe,
26786
- ops: it,
26787
- clearSelection: at
26788
- }), zt = PG({
26789
- slides: Z,
26790
- activeSlide: Re,
26791
- activeSlideIndex: Me,
26792
- selectedElements: nt,
26793
- pushHistory: rt.pushHistory,
26794
- updateElement: (e, t) => it.updateElement(e, t),
26795
- previewElement: (e, t) => it.previewElement(e, t),
26796
- findActiveElement: tt
26693
+ }), St = (0, l.ref)(null), Et = e.useInsertElementDialogs({
26694
+ ops: ct,
26695
+ selectedElementIds: et,
26696
+ findActiveElement: ot
26697
+ }), { requestElementEdit: Ct, onCanvasDoubleClick: wt, onCanvasPointerDown: Bt, onEscape: Nt } = TG({
26698
+ canEdit: () => _e.value,
26699
+ editTemplateMode: tt,
26700
+ findActiveElement: ot,
26701
+ openEquationEditorForElement: Et.openEquationEditorForElement,
26702
+ enterInlineEdit: kt.enterInlineEdit,
26703
+ inlineEditingElementId: kt.inlineEditingElementId,
26704
+ commitInlineEdit: kt.commitInlineEdit,
26705
+ cancelInlineEdit: kt.cancelInlineEdit,
26706
+ formatPainterActive: ft,
26707
+ cancelFormatPainter: ht,
26708
+ applyFormatToTarget: bt,
26709
+ selectedElementIds: et,
26710
+ selectElement: Qe.selectElement,
26711
+ clearSelection: rt,
26712
+ activeSlideIndex: Re,
26713
+ aiPickMode: gt.pickMode,
26714
+ addAiPick: gt.addPick,
26715
+ startElementDrag: (e, t, n) => Tt.startElementDrag(e, t, n),
26716
+ beginMarquee: ut,
26717
+ slideElements: () => Ue.value?.elements,
26718
+ canvasSize: () => ee.value
26719
+ }), Vt = (0, l.computed)(() => (0, a.computeGridSpacingPx)(be.value?.gridSpacing, 8)), Tt = e.useElementDrag({
26720
+ findActiveElement: ot,
26721
+ pushHistory: st.pushHistory,
26722
+ effectiveZoom: We,
26723
+ activeTemplateElements: nt,
26724
+ activeSlide: Ue,
26725
+ activeSlideIndex: Re,
26726
+ gridSpacingPx: Vt,
26727
+ slides: Q,
26728
+ templateElementsBySlideId: J,
26729
+ canvasSize: ee,
26730
+ enterInlineEdit: Ct
26731
+ }), Ft = e.useElementInsertion({
26732
+ canvasSize: ee,
26733
+ ops: ct,
26734
+ selectedElementIds: et,
26735
+ slides: Q,
26736
+ activeSlideIndex: Re,
26737
+ pushHistory: st.pushHistory,
26738
+ handler: Be,
26739
+ templateElementsBySlideId: J
26740
+ }), { imageInputRef: Pt, mediaInputRef: Dt } = Ft, It = e.useSlideTemplateInsertion({
26741
+ canvasSize: ee,
26742
+ slides: Q,
26743
+ activeSlideIndex: Re,
26744
+ pushHistory: st.pushHistory,
26745
+ theme: Ce
26746
+ }), { deleteSelected: _t, duplicateSelected: At, bringForward: zt, sendBackward: Mt } = e.useMultiSelectOps({
26747
+ selectedElementIds: et,
26748
+ ops: ct,
26749
+ clearSelection: rt
26750
+ }), Ot = PG({
26751
+ slides: Q,
26752
+ activeSlide: Ue,
26753
+ activeSlideIndex: Re,
26754
+ selectedElements: at,
26755
+ pushHistory: st.pushHistory,
26756
+ updateElement: (e, t) => ct.updateElement(e, t),
26757
+ previewElement: (e, t) => ct.previewElement(e, t),
26758
+ findActiveElement: ot
26797
26759
  });
26798
- (0, l.provide)(Ww, zt.inspectorPreview);
26799
- const Mt = e.useSlideOperations({
26800
- slides: Z,
26801
- activeSlideIndex: Me,
26802
- pushHistory: rt.pushHistory,
26803
- templateElementsBySlideId: Q
26804
- }), Ot = function(t) {
26760
+ (0, l.provide)(Ww, Ot.inspectorPreview);
26761
+ const Rt = e.useSlideOperations({
26762
+ slides: Q,
26763
+ activeSlideIndex: Re,
26764
+ pushHistory: st.pushHistory,
26765
+ templateElementsBySlideId: J
26766
+ }), Lt = function(t) {
26805
26767
  const n = (0, l.shallowRef)(null), o = (0, l.computed)(() => null !== n.value);
26806
26768
  function r(o) {
26807
26769
  const a = t.findSlideElement(o);
@@ -26821,11 +26783,11 @@ var UG = ["aria-busy", "tabindex"], HG = {
26821
26783
  }
26822
26784
  };
26823
26785
  }({
26824
- findSlideElement: (e) => Re.value?.elements.find((t) => t.id === e),
26825
- addElement: (e) => it.addElement(e),
26826
- removeElement: (e) => it.removeElement(e),
26827
- selectedElementIds: Qe
26828
- }), Rt = function(e) {
26786
+ findSlideElement: (e) => Ue.value?.elements.find((t) => t.id === e),
26787
+ addElement: (e) => ct.addElement(e),
26788
+ removeElement: (e) => ct.removeElement(e),
26789
+ selectedElementIds: et
26790
+ }), Ut = function(e) {
26829
26791
  const { clipboard: t, ops: n, selectedElementIds: o } = e, r = (0, l.ref)(!1), i = (0, l.shallowRef)(null);
26830
26792
  return {
26831
26793
  isPasteSpecialDialogOpen: r,
@@ -26873,15 +26835,15 @@ var UG = ["aria-busy", "tabindex"], HG = {
26873
26835
  }
26874
26836
  };
26875
26837
  }({
26876
- clipboard: Ot.clipboard,
26877
- ops: it,
26878
- selectedElementIds: Qe
26838
+ clipboard: Lt.clipboard,
26839
+ ops: ct,
26840
+ selectedElementIds: et
26879
26841
  });
26880
- function Lt() {
26881
- const e = Ot.pasteElement();
26882
- e && Rt.notePastedElement(e);
26842
+ function Ht() {
26843
+ const e = Lt.pasteElement();
26844
+ e && Ut.notePastedElement(e);
26883
26845
  }
26884
- const Ut = function(t) {
26846
+ const Gt = function(t) {
26885
26847
  const { slides: n, activeSlideIndex: o, pushHistory: r } = t, { presenting: i, startPresenting: s, onPresentClose: c, onPresentSlideChange: d } = e.usePresentationModeWiring({
26886
26848
  slides: n,
26887
26849
  activeSlideIndex: o,
@@ -26927,23 +26889,23 @@ var UG = ["aria-busy", "tabindex"], HG = {
26927
26889
  presentationStartIndex: u
26928
26890
  };
26929
26891
  }({
26930
- slides: Z,
26931
- activeSlideIndex: Me,
26932
- customShows: ge,
26933
- activeCustomShowId: () => ho.activeCustomShowId.value,
26934
- authoredRange: () => bo.value,
26935
- pushHistory: rt.pushHistory
26892
+ slides: Q,
26893
+ activeSlideIndex: Re,
26894
+ customShows: xe,
26895
+ activeCustomShowId: () => ko.activeCustomShowId.value,
26896
+ authoredRange: () => So.value,
26897
+ pushHistory: st.pushHistory
26936
26898
  });
26937
26899
  e.useChartCanvasEditContext({
26938
- canEditInline: () => De.value && !Ut.presenting.value,
26939
- isElementSelected: (e) => Qe.value.includes(e),
26940
- updateElement: (e, t) => it.updateElement(e, t)
26900
+ canEditInline: () => _e.value && !Gt.presenting.value,
26901
+ isElementSelected: (e) => et.value.includes(e),
26902
+ updateElement: (e, t) => ct.updateElement(e, t)
26941
26903
  });
26942
- const Ht = e.useChartFormatPane({
26943
- selectedElement: () => 1 === Qe.value.length ? nt.value[0] : null,
26944
- canEdit: () => De.value && !Ut.presenting.value,
26945
- updateElement: (e, t) => it.updateElement(e, t)
26946
- }), Gt = function(e) {
26904
+ const Kt = e.useChartFormatPane({
26905
+ selectedElement: () => 1 === et.value.length ? at.value[0] : null,
26906
+ canEdit: () => _e.value && !Gt.presenting.value,
26907
+ updateElement: (e, t) => ct.updateElement(e, t)
26908
+ }), $t = function(e) {
26947
26909
  const t = (0, l.ref)(!1), n = (0, l.ref)(null);
26948
26910
  function o(o) {
26949
26911
  const a = e.findSlideElement(o);
@@ -26962,43 +26924,43 @@ var UG = ["aria-busy", "tabindex"], HG = {
26962
26924
  }
26963
26925
  };
26964
26926
  }({
26965
- findSlideElement: (e) => Re.value?.elements.find((t) => t.id === e),
26966
- selectedElementIds: Qe,
26967
- updateElement: (e, t) => it.updateElement(e, t)
26927
+ findSlideElement: (e) => Ue.value?.elements.find((t) => t.id === e),
26928
+ selectedElementIds: et,
26929
+ updateElement: (e, t) => ct.updateElement(e, t)
26968
26930
  });
26969
- const Kt = (0, l.ref)(!1), $t = e.useFindReplace({
26970
- slides: Z,
26971
- showMatch: Ze.showSlideSelection,
26972
- pushHistory: rt.pushHistory,
26973
- open: Kt
26974
- }), Wt = e.useExportWiring({
26975
- mergedSlides: ot,
26976
- slides: Z,
26977
- slideCount: Oe,
26978
- canvasSize: J,
26979
- activeSlideIndex: Me,
26980
- saveAs: X.saveAs,
26931
+ const Wt = (0, l.ref)(!1), qt = e.useFindReplace({
26932
+ slides: Q,
26933
+ showMatch: Je.showSlideSelection,
26934
+ pushHistory: st.pushHistory,
26935
+ open: Wt
26936
+ }), Yt = e.useExportWiring({
26937
+ mergedSlides: lt,
26938
+ slides: Q,
26939
+ slideCount: Le,
26940
+ canvasSize: ee,
26941
+ activeSlideIndex: Re,
26942
+ saveAs: Z.saveAs,
26981
26943
  fileName: () => N.value.fileName,
26982
- getDeckData: () => VG(X),
26944
+ getDeckData: () => VG(Z),
26983
26945
  imageExportScale: () => (0, a.resolveImageResolutionScale)(M.value),
26984
26946
  getOptions: () => M.value,
26985
26947
  filePath: V,
26986
26948
  storage: () => N.value.storage,
26987
26949
  onSaveError: (e) => {
26988
- h("error", (0, a.saveFailureMessage)(e)), _e.notify(a.SAVE_FAILED_TOAST);
26950
+ h("error", (0, a.saveFailureMessage)(e)), ze.notify(a.SAVE_FAILED_TOAST);
26989
26951
  },
26990
- changeSources: () => [Z.value, Q.value],
26952
+ changeSources: () => [Q.value, J.value],
26991
26953
  onSavedClean: () => {
26992
- $n.isDirty.value = !1;
26954
+ qn.isDirty.value = !1;
26993
26955
  }
26994
- }), { exportStageRef: qt, exportSlide: Yt, rasterizeSlide: Xt, exportProgressCtl: Zt, onExportPdf: Qt } = Wt, Jt = e.usePrint({
26995
- slides: ot,
26996
- activeSlideIndex: Me,
26997
- rasterizeSlide: Xt,
26998
- slideSize: J,
26999
- handoutMaster: ke,
27000
- canOpen: () => G("print")
27001
- }), en = function(e) {
26956
+ }), { exportStageRef: Xt, exportSlide: Zt, rasterizeSlide: Qt, exportProgressCtl: Jt, onExportPdf: en } = Yt, tn = e.usePrint({
26957
+ slides: lt,
26958
+ activeSlideIndex: Re,
26959
+ rasterizeSlide: Qt,
26960
+ slideSize: ee,
26961
+ handoutMaster: Ee,
26962
+ canOpen: () => K("print")
26963
+ }), nn = function(e) {
27002
26964
  const t = (0, l.ref)(!1), n = (0, l.ref)(!1), o = (0, l.ref)(!1);
27003
26965
  return {
27004
26966
  showSorter: t,
@@ -27016,39 +26978,39 @@ var UG = ["aria-busy", "tabindex"], HG = {
27016
26978
  }
27017
26979
  };
27018
26980
  }({
27019
- slides: Z,
27020
- goTo: Le,
27021
- moveSlide: Mt.moveSlide,
27022
- pushHistory: rt.pushHistory
27023
- }), tn = (0, l.ref)(!1), nn = e.useAccessibility(Z), { onNotesUpdate: on, toggleSlideHidden: an, applySlideBackgroundPatch: ln, onTransitionChange: rn, onApplyTransitionToAll: sn, onAddAnimation: cn, onRemoveAnimation: dn } = e.useSlideMutations({
27024
- slides: Z,
27025
- activeSlideIndex: Me,
27026
- activeSlide: Re,
27027
- pushHistory: rt.pushHistory,
27028
- selectedElements: nt,
26981
+ slides: Q,
26982
+ goTo: He,
26983
+ moveSlide: Rt.moveSlide,
26984
+ pushHistory: st.pushHistory
26985
+ }), on = (0, l.ref)(!1), an = e.useAccessibility(Q), { onNotesUpdate: ln, toggleSlideHidden: rn, applySlideBackgroundPatch: sn, onTransitionChange: cn, onApplyTransitionToAll: dn, onAddAnimation: pn, onRemoveAnimation: un } = e.useSlideMutations({
26986
+ slides: Q,
26987
+ activeSlideIndex: Re,
26988
+ activeSlide: Ue,
26989
+ pushHistory: st.pushHistory,
26990
+ selectedElements: at,
27029
26991
  onNotesChanged: (e) => h("notes-update", e)
27030
- }), { canGroup: pn, canUngroup: un, canDistribute: vn, selectionGroupable: gn, onAlign: fn, onDistribute: xn, onGroup: yn, onUngroup: hn } = e.useAlignGroup({
27031
- selectedElements: nt,
27032
- selectedElementIds: Qe,
27033
- activeSlideIndex: Me,
27034
- slides: Z,
27035
- canvasSize: J,
27036
- pushHistory: rt.pushHistory
27037
- }), bn = {
27038
- canEdit: () => De.value && !Ut.presenting.value,
27039
- slides: Z,
27040
- activeSlideIndex: Me,
27041
- selectedElementIds: Qe,
27042
- pushHistory: () => rt.pushHistory()
27043
- }, kn = {
27044
- ..._G(bn),
26992
+ }), { canGroup: vn, canUngroup: gn, canDistribute: fn, selectionGroupable: xn, onAlign: yn, onDistribute: hn, onGroup: bn, onUngroup: kn } = e.useAlignGroup({
26993
+ selectedElements: at,
26994
+ selectedElementIds: et,
26995
+ activeSlideIndex: Re,
26996
+ slides: Q,
26997
+ canvasSize: ee,
26998
+ pushHistory: st.pushHistory
26999
+ }), Sn = {
27000
+ canEdit: () => _e.value && !Gt.presenting.value,
27001
+ slides: Q,
27002
+ activeSlideIndex: Re,
27003
+ selectedElementIds: et,
27004
+ pushHistory: () => st.pushHistory()
27005
+ }, En = {
27006
+ ..._G(Sn),
27045
27007
  ...zG({
27046
- ...bn,
27047
- mediaDataUrls: ee
27008
+ ...Sn,
27009
+ mediaDataUrls: te
27048
27010
  })
27049
27011
  };
27050
- (0, l.provide)(Dn, kn);
27051
- const Sn = e.useRibbonUiState(v.inspectorInitiallyOpen), { activeTool: En, drawingColor: Cn, drawingWidth: wn, inspectorOpen: Bn, sidebarCollapsed: Nn, notesExpanded: Vn, showGrid: Tn, showRulers: Fn, showGuides: Pn, spellCheckEnabled: In, themeGalleryOpen: _n, themeEditorOpen: An } = Sn, zn = (0, l.ref)(null), Mn = function(e) {
27012
+ (0, l.provide)(Dn, En);
27013
+ const Cn = e.useRibbonUiState(v.inspectorInitiallyOpen), { activeTool: wn, drawingColor: Bn, drawingWidth: Nn, inspectorOpen: Vn, sidebarCollapsed: Tn, notesExpanded: Fn, showGrid: Pn, showRulers: In, showGuides: _n, spellCheckEnabled: An, themeGalleryOpen: zn, themeEditorOpen: Mn } = Cn, On = (0, l.ref)(null), Rn = function(e) {
27052
27014
  const { t: n } = t.useI18n(), o = (0, l.ref)({
27053
27015
  open: !1,
27054
27016
  x: 0,
@@ -27113,78 +27075,78 @@ var UG = ["aria-busy", "tabindex"], HG = {
27113
27075
  }
27114
27076
  };
27115
27077
  }({
27116
- slideIndex: () => Me.value,
27117
- hasClipboard: Ot.hasClipboard,
27118
- showGrid: Tn,
27119
- showRulers: Fn,
27120
- onPaste: Lt,
27078
+ slideIndex: () => Re.value,
27079
+ hasClipboard: Lt.hasClipboard,
27080
+ showGrid: Pn,
27081
+ showRulers: In,
27082
+ onPaste: Ht,
27121
27083
  onOpenLayoutGallery: (e, t) => {
27122
- zn.value = {
27084
+ On.value = {
27123
27085
  x: e,
27124
27086
  y: t
27125
27087
  };
27126
27088
  },
27127
27089
  onResetSlide: () => {
27128
- const e = (0, a.resetSlideLayoutPath)(Re.value);
27129
- e && Vt.applyLayoutToActiveSlide(e);
27090
+ const e = (0, a.resetSlideLayoutPath)(Ue.value);
27091
+ e && Ft.applyLayoutToActiveSlide(e);
27130
27092
  },
27131
27093
  onOpenFormatBackground: () => {
27132
- Qe.value = [], Bn.value = !0;
27094
+ et.value = [], Vn.value = !0;
27133
27095
  },
27134
27096
  customization: () => L.resolved.value
27135
- }), On = (0, l.ref)(/* @__PURE__ */ new Map());
27097
+ }), Ln = (0, l.ref)(/* @__PURE__ */ new Map());
27136
27098
  (0, l.watchEffect)(() => {
27137
- zn.value && Vt.loadLayoutPreviews().then((e) => {
27138
- On.value = new Map(e.map((e) => [e.path, e]));
27099
+ On.value && Ft.loadLayoutPreviews().then((e) => {
27100
+ Ln.value = new Map(e.map((e) => [e.path, e]));
27139
27101
  }).catch(() => {});
27140
27102
  });
27141
- const Rn = (0, l.computed)(() => ({
27142
- anchor: zn.value,
27143
- layoutOptions: X.layoutOptions.value,
27144
- previews: On.value,
27145
- currentLayoutPath: Re.value?.layoutPath,
27103
+ const Un = (0, l.computed)(() => ({
27104
+ anchor: On.value,
27105
+ layoutOptions: Z.layoutOptions.value,
27106
+ previews: Ln.value,
27107
+ currentLayoutPath: Ue.value?.layoutPath,
27146
27108
  onSelect: (e) => {
27147
- Vt.applyLayoutToActiveSlide(e.path), zn.value = null;
27109
+ Ft.applyLayoutToActiveSlide(e.path), On.value = null;
27148
27110
  },
27149
27111
  onClose: () => {
27150
- zn.value = null;
27112
+ On.value = null;
27151
27113
  }
27152
- })), { contextMenu: Ln, contextItems: Un, onCanvasContextMenu: Hn, onContextSelect: Gn } = e.useContextMenu({
27153
- slideIndex: () => Me.value,
27154
- canEdit: () => De.value,
27155
- findActiveElement: tt,
27156
- tableSelection: ze,
27157
- hasClipboard: Ot.hasClipboard,
27158
- canGroup: pn,
27159
- selectionGroupable: gn,
27160
- editTemplateMode: Je,
27161
- selectedElementIds: Qe,
27162
- inlineEditingElementId: ht.inlineEditingElementId,
27163
- inspectorOpen: Bn,
27164
- enterInlineEdit: ht.enterInlineEdit,
27165
- ops: it,
27166
- cutElement: Ot.cutElement,
27167
- copyElement: Ot.copyElement,
27168
- pasteElement: Lt,
27169
- onGroup: yn,
27170
- onUngroup: hn,
27171
- onEmptyCanvasContextMenu: Mn.openCanvasContextMenu,
27172
- openHyperlinkDialog: Gt.openHyperlinkDialog,
27114
+ })), { contextMenu: Hn, contextItems: Gn, onCanvasContextMenu: Kn, onContextSelect: $n } = e.useContextMenu({
27115
+ slideIndex: () => Re.value,
27116
+ canEdit: () => _e.value,
27117
+ findActiveElement: ot,
27118
+ tableSelection: Oe,
27119
+ hasClipboard: Lt.hasClipboard,
27120
+ canGroup: vn,
27121
+ selectionGroupable: xn,
27122
+ editTemplateMode: tt,
27123
+ selectedElementIds: et,
27124
+ inlineEditingElementId: kt.inlineEditingElementId,
27125
+ inspectorOpen: Vn,
27126
+ enterInlineEdit: kt.enterInlineEdit,
27127
+ ops: ct,
27128
+ cutElement: Lt.cutElement,
27129
+ copyElement: Lt.copyElement,
27130
+ pasteElement: Ht,
27131
+ onGroup: bn,
27132
+ onUngroup: kn,
27133
+ onEmptyCanvasContextMenu: Rn.openCanvasContextMenu,
27134
+ openHyperlinkDialog: $t.openHyperlinkDialog,
27173
27135
  onAddComment: () => {
27174
- oo.showComments.value = !0;
27136
+ lo.showComments.value = !0;
27175
27137
  },
27176
- aiEnabled: () => $.value,
27138
+ aiEnabled: () => j.value,
27177
27139
  customization: () => L.resolved.value,
27178
- onEditPoints: st.startEditPoints,
27179
- mergeCrop: kn,
27180
- chartFormat: Ht,
27140
+ onEditPoints: dt.startEditPoints,
27141
+ mergeCrop: En,
27142
+ chartFormat: Kt,
27181
27143
  onAskAi: () => {
27182
- mt.askAboutSelection(), ut.value = !0;
27144
+ gt.askAboutSelection(), vt.value = !0;
27183
27145
  },
27184
27146
  onFixAi: () => {
27185
- mt.fixSelection(), ut.value = !0;
27147
+ gt.fixSelection(), vt.value = !0;
27186
27148
  }
27187
- }), Kn = (0, l.ref)(!1), { autosave: $n, autosaveEnabled: jn, autosaveActive: qn, toggleAutosave: Yn, autosaveDisabledReason: Xn, autosaveToggleAvailable: Zn } = function(t) {
27149
+ }), jn = (0, l.ref)(!1), { autosave: qn, autosaveEnabled: Yn, autosaveActive: Xn, toggleAutosave: Zn, autosaveDisabledReason: Qn, autosaveToggleAvailable: Jn } = function(t) {
27188
27150
  const n = (0, l.ref)(!0), o = (0, l.computed)(() => (0, a.resolveAutosaveActivation)({
27189
27151
  hostAutosave: t.autosaveEnabledByHost(),
27190
27152
  userEnabled: n.value,
@@ -27220,21 +27182,21 @@ var UG = ["aria-busy", "tabindex"], HG = {
27220
27182
  autosaveToggleAvailable: s
27221
27183
  };
27222
27184
  }({
27223
- slides: Z,
27224
- templateElements: Q,
27225
- paused: Kn,
27226
- loading: te,
27227
- canEdit: () => De.value,
27185
+ slides: Q,
27186
+ templateElements: J,
27187
+ paused: jn,
27188
+ loading: ne,
27189
+ canEdit: () => _e.value,
27228
27190
  autosaveEnabledByHost: () => v.autosave,
27229
27191
  intervalMs: () => v.autosaveIntervalMs,
27230
27192
  optionsIntervalSeconds: () => (0, a.resolveAutosaveIntervalSeconds)(M.value),
27231
27193
  snapshotName: V,
27232
27194
  storage: () => N.value.storage,
27233
- getRecoverySnapshot: Be,
27234
- getInlineEditingId: () => ht.inlineEditingElementId.value,
27195
+ getRecoverySnapshot: Ve,
27196
+ getInlineEditingId: () => kt.inlineEditingElementId.value,
27235
27197
  emitAutosave: (e) => h("autosave", e),
27236
- captureVersion: (e, t) => yo.versionHistory.capture(e, t)
27237
- }), Qn = function(e) {
27198
+ captureVersion: (e, t) => bo.versionHistory.capture(e, t)
27199
+ }), eo = function(e) {
27238
27200
  const n = (0, a.createAutosaveRecoveryController)({
27239
27201
  getStorage: () => e.storage?.(),
27240
27202
  load: (t) => e.onRestore(t),
@@ -27266,15 +27228,15 @@ var UG = ["aria-busy", "tabindex"], HG = {
27266
27228
  filePath: V,
27267
27229
  fileName: () => N.value.fileName,
27268
27230
  storage: () => N.value.storage,
27269
- loading: te,
27270
- error: ne,
27271
- slideCount: () => Z.value.length,
27231
+ loading: ne,
27232
+ error: ae,
27233
+ slideCount: () => Q.value.length,
27272
27234
  autosaveAllowed: () => !1 !== v.autosave,
27273
27235
  onOffered: (e) => h("autosave-recovery", e),
27274
27236
  onRestore: (e) => {
27275
27237
  T.internalContent.value = e;
27276
27238
  }
27277
- }), Jn = function(e) {
27239
+ }), no = function(e) {
27278
27240
  const { handler: t, slideMasters: n, canvasSize: o, slideSize: r, slides: i, templateElementsBySlideId: s, pptxTheme: c, themeColorMap: d, coreProperties: p, appProperties: u, customProperties: m, tagCollections: v, markDirty: g, pushHistory: f } = e, x = (0, l.ref)(null);
27279
27241
  function y(e) {
27280
27242
  const t = Math.max(1, Math.round(e.width)), n = Math.max(1, Math.round(e.height));
@@ -27346,24 +27308,24 @@ var UG = ["aria-busy", "tabindex"], HG = {
27346
27308
  }
27347
27309
  };
27348
27310
  }({
27349
- handler: Ce,
27350
- slideMasters: me,
27351
- canvasSize: J,
27352
- slideSize: X.slideSize,
27353
- slides: Z,
27354
- templateElementsBySlideId: Q,
27355
- pptxTheme: Se,
27356
- themeColorMap: Ee,
27357
- coreProperties: ae,
27358
- appProperties: ce,
27359
- customProperties: le,
27360
- tagCollections: de,
27311
+ handler: Be,
27312
+ slideMasters: ge,
27313
+ canvasSize: ee,
27314
+ slideSize: Z.slideSize,
27315
+ slides: Q,
27316
+ templateElementsBySlideId: J,
27317
+ pptxTheme: Ce,
27318
+ themeColorMap: we,
27319
+ coreProperties: re,
27320
+ appProperties: pe,
27321
+ customProperties: se,
27322
+ tagCollections: ue,
27361
27323
  markDirty: () => {
27362
- $n.isDirty.value = !0;
27324
+ qn.isDirty.value = !0;
27363
27325
  },
27364
27326
  onCorePropertiesChanged: (e) => h("properties-change", e),
27365
- pushHistory: rt.pushHistory
27366
- }), eo = function(e) {
27327
+ pushHistory: st.pushHistory
27328
+ }), oo = function(e) {
27367
27329
  const { tableStyleMap: t, tableStylesToDelete: n, markDirty: o } = e;
27368
27330
  return {
27369
27331
  onTableStyleMapChange: function(e) {
@@ -27382,105 +27344,105 @@ var UG = ["aria-busy", "tabindex"], HG = {
27382
27344
  }
27383
27345
  };
27384
27346
  }({
27385
- tableStyleMap: X.tableStyleMap,
27386
- tableStylesToDelete: X.tableStylesToDelete,
27347
+ tableStyleMap: Z.tableStyleMap,
27348
+ tableStylesToDelete: Z.tableStylesToDelete,
27387
27349
  markDirty: () => {
27388
- $n.isDirty.value = !0;
27350
+ qn.isDirty.value = !0;
27389
27351
  }
27390
- }), no = (0, l.computed)(() => v.authorName || M.value.general.userName || "You"), oo = e.useCommentsWiring({
27391
- activeSlide: Re,
27392
- activeSlideIndex: Me,
27393
- slides: Z,
27394
- authorName: no,
27395
- pushHistory: rt.pushHistory
27396
- }), ao = e.useCollaborationWiring({
27397
- slides: Z,
27398
- history: rt,
27399
- slidesPaused: () => Kn.value,
27352
+ }), ao = (0, l.computed)(() => v.authorName || M.value.general.userName || "You"), lo = e.useCommentsWiring({
27353
+ activeSlide: Ue,
27354
+ activeSlideIndex: Re,
27355
+ slides: Q,
27356
+ authorName: ao,
27357
+ pushHistory: st.pushHistory
27358
+ }), io = e.useCollaborationWiring({
27359
+ slides: Q,
27360
+ history: st,
27361
+ slidesPaused: () => jn.value,
27400
27362
  loadVersion: D,
27401
27363
  getLoadOrigin: () => T.loadOrigin.value,
27402
- getTemplateElements: () => Q.value,
27364
+ getTemplateElements: () => J.value,
27403
27365
  getSourceBytes: () => {
27404
27366
  const e = P.value;
27405
27367
  return e ? e instanceof Uint8Array ? e : new Uint8Array(e) : null;
27406
27368
  },
27407
27369
  getSaveOptions: () => (0, a.buildDeckSaveOptions)({
27408
- headerFooter: he.value,
27409
- presentationProperties: xe.value,
27410
- viewProperties: ye.value,
27411
- customShows: ge.value,
27412
- sections: ve.value,
27413
- coreProperties: ae.value,
27414
- appProperties: ce.value,
27415
- customProperties: le.value,
27416
- tagCollections: de.value,
27417
- slideMasters: me.value,
27418
- notesMaster: be.value,
27419
- handoutMaster: ke.value,
27370
+ headerFooter: ke.value,
27371
+ presentationProperties: he.value,
27372
+ viewProperties: be.value,
27373
+ customShows: xe.value,
27374
+ sections: fe.value,
27375
+ coreProperties: re.value,
27376
+ appProperties: pe.value,
27377
+ customProperties: se.value,
27378
+ tagCollections: ue.value,
27379
+ slideMasters: ge.value,
27380
+ notesMaster: Se.value,
27381
+ handoutMaster: Ee.value,
27420
27382
  slideSize: (0, a.resolveSlideSizeSelection)({
27421
- current: X.slideSize.value,
27422
- canvas: J.value
27383
+ current: Z.slideSize.value,
27384
+ canvas: ee.value
27423
27385
  }).size,
27424
- tableStyleMap: ue.value,
27425
- tableStylesDefaultId: X.tableStylesDefaultId.value,
27426
- tableStylesToDelete: X.tableStylesToDelete.value,
27427
- embedFonts: po.embedFontsEnabled.value
27386
+ tableStyleMap: ve.value,
27387
+ tableStylesDefaultId: Z.tableStylesDefaultId.value,
27388
+ tableStylesToDelete: Z.tableStylesToDelete.value,
27389
+ embedFonts: vo.embedFontsEnabled.value
27428
27390
  }),
27429
27391
  initialUserColor: (0, a.resolveCollaborationConfig)(v.collaboration)?.userColor,
27430
- canvasWidth: (0, l.computed)(() => J.value.width),
27431
- canvasHeight: (0, l.computed)(() => J.value.height),
27392
+ canvasWidth: (0, l.computed)(() => ee.value.width),
27393
+ canvasHeight: (0, l.computed)(() => ee.value.height),
27432
27394
  collaborationProp: () => v.collaboration,
27433
- selectedElementIds: Qe,
27434
- activeSlideIndex: Me,
27435
- goTo: Le,
27436
- effectiveZoom: $e,
27395
+ selectedElementIds: et,
27396
+ activeSlideIndex: Re,
27397
+ goTo: He,
27398
+ effectiveZoom: We,
27437
27399
  authorName: () => v.authorName,
27438
27400
  onStartCollaboration: (e) => h("start-collaboration", e),
27439
27401
  onStopCollaboration: () => h("stop-collaboration")
27440
27402
  });
27441
- (0, l.watch)(ao.collab.readOnly, (e) => {
27442
- e && !Pe.value && ht.commitInlineEdit(), Pe.value = e;
27403
+ (0, l.watch)(io.collab.readOnly, (e) => {
27404
+ e && !Ie.value && kt.commitInlineEdit(), Ie.value = e;
27443
27405
  }, {
27444
27406
  immediate: !0,
27445
27407
  flush: "sync"
27446
27408
  });
27447
- const lo = (0, a.createCollaborationStateReporter)((e) => h("collaboration-change", e));
27448
- (0, l.watch)(ao.collab.state, (e) => lo.update(e), {
27409
+ const co = (0, a.createCollaborationStateReporter)((e) => h("collaboration-change", e));
27410
+ (0, l.watch)(io.collab.state, (e) => co.update(e), {
27449
27411
  immediate: !0,
27450
27412
  flush: "sync"
27451
27413
  });
27452
- const io = e.useSignatureWorkflow({
27453
- signatures: pe,
27454
- isDirty: $n.isDirty
27455
- }), co = e.useSlideShowSettings({ presentationProperties: xe }), po = e.useFontEmbedding({
27456
- slides: Z,
27457
- embeddedFonts: X.embeddedFonts
27458
- }), mo = (0, l.ref)([]);
27459
- function vo(e) {
27460
- mo.value.includes(e) || (mo.value = [...mo.value, e]);
27461
- }
27462
- const go = e.useSelectionPaneWiring({
27463
- findActiveElement: tt,
27464
- activeSlide: Re,
27465
- selectedElementIds: Qe,
27466
- ops: it
27467
- }), fo = e.useDocumentPropertiesDialog({
27468
- coreProperties: ae,
27469
- customProperties: le,
27470
- appProperties: ce,
27414
+ const po = e.useSignatureWorkflow({
27415
+ signatures: me,
27416
+ isDirty: qn.isDirty
27417
+ }), mo = e.useSlideShowSettings({ presentationProperties: he }), vo = e.useFontEmbedding({
27418
+ slides: Q,
27419
+ embeddedFonts: Z.embeddedFonts
27420
+ }), go = (0, l.ref)([]);
27421
+ function fo(e) {
27422
+ go.value.includes(e) || (go.value = [...go.value, e]);
27423
+ }
27424
+ const xo = e.useSelectionPaneWiring({
27425
+ findActiveElement: ot,
27426
+ activeSlide: Ue,
27427
+ selectedElementIds: et,
27428
+ ops: ct
27429
+ }), yo = e.useDocumentPropertiesDialog({
27430
+ coreProperties: re,
27431
+ customProperties: se,
27432
+ appProperties: pe,
27471
27433
  onCorePropertiesChanged: (e) => h("properties-change", e)
27472
- }), xo = e.useHeaderFooterDialog({ headerFooter: he }), yo = e.useVersionHistoryWiring({
27473
- slides: Z,
27474
- pushHistory: rt.pushHistory
27475
- }), ho = e.useCustomShowsWiring({
27476
- customShows: ge,
27477
- slides: Z,
27478
- activeSlideIndex: Me,
27479
- activeSlide: Re,
27480
- presentationProperties: xe,
27481
- pushHistory: rt.pushHistory,
27482
- startShow: () => Ut.presentFromBeginning()
27483
- }), bo = (0, l.computed)(() => (0, a.resolveAuthoredSlideRange)(xe.value, Z.value.length) ?? null), ko = function(t) {
27434
+ }), ho = e.useHeaderFooterDialog({ headerFooter: ke }), bo = e.useVersionHistoryWiring({
27435
+ slides: Q,
27436
+ pushHistory: st.pushHistory
27437
+ }), ko = e.useCustomShowsWiring({
27438
+ customShows: xe,
27439
+ slides: Q,
27440
+ activeSlideIndex: Re,
27441
+ activeSlide: Ue,
27442
+ presentationProperties: he,
27443
+ pushHistory: st.pushHistory,
27444
+ startShow: () => Gt.presentFromBeginning()
27445
+ }), So = (0, l.computed)(() => (0, a.resolveAuthoredSlideRange)(he.value, Q.value.length) ?? null), Eo = function(t) {
27484
27446
  const n = e.useMasterViewState();
27485
27447
  function o() {
27486
27448
  return {
@@ -27550,47 +27512,47 @@ var UG = ["aria-busy", "tabindex"], HG = {
27550
27512
  }
27551
27513
  };
27552
27514
  }({
27553
- slideMasters: me,
27554
- notesMaster: be,
27555
- handoutMaster: ke,
27515
+ slideMasters: ge,
27516
+ notesMaster: Se,
27517
+ handoutMaster: Ee,
27556
27518
  markDirty: () => {
27557
- $n.isDirty.value = !0;
27519
+ qn.isDirty.value = !0;
27558
27520
  }
27559
- }), So = IG({
27560
- handler: Ce,
27561
- slideMasters: me,
27562
- layoutOptions: X.layoutOptions,
27563
- deckData: () => VG(X),
27521
+ }), Co = IG({
27522
+ handler: Be,
27523
+ slideMasters: ge,
27524
+ layoutOptions: Z.layoutOptions,
27525
+ deckData: () => VG(Z),
27564
27526
  target: () => ({
27565
- tab: ko.masterViewTab.value,
27566
- masterIndex: ko.activeMasterIndex.value,
27567
- layoutIndex: ko.activeLayoutIndex.value
27527
+ tab: Eo.masterViewTab.value,
27528
+ masterIndex: Eo.activeMasterIndex.value,
27529
+ layoutIndex: Eo.activeLayoutIndex.value
27568
27530
  }),
27569
- onSelectMaster: ko.onSelectMaster,
27570
- onSelectLayout: ko.onSelectLayout,
27531
+ onSelectMaster: Eo.onSelectMaster,
27532
+ onSelectLayout: Eo.onSelectLayout,
27571
27533
  markDirty: () => {
27572
- $n.isDirty.value = !0;
27534
+ qn.isDirty.value = !0;
27573
27535
  },
27574
- pushHistory: rt.pushHistory,
27575
- forgetHistory: rt.forgetHistory
27576
- }), Eo = e.useSectionOperations({
27577
- sections: ve,
27578
- slides: Z,
27579
- activeSlideIndex: Me,
27580
- pushHistory: rt.pushHistory
27581
- }), Co = (0, l.computed)(() => ve.value.length > 0);
27582
- const wo = (0, l.ref)(null);
27536
+ pushHistory: st.pushHistory,
27537
+ forgetHistory: st.forgetHistory
27538
+ }), wo = e.useSectionOperations({
27539
+ sections: fe,
27540
+ slides: Q,
27541
+ activeSlideIndex: Re,
27542
+ pushHistory: st.pushHistory
27543
+ }), Bo = (0, l.computed)(() => fe.value.length > 0);
27544
+ const No = (0, l.ref)(null);
27583
27545
  (0, l.watchEffect)((e) => {
27584
- const t = wo.value, n = De.value;
27546
+ const t = No.value, n = _e.value;
27585
27547
  t && e((0, a.attachViewerHyperlinks)(t, {
27586
27548
  getState: () => ({
27587
- slide: ot.value[Me.value],
27588
- slideCount: ot.value.length,
27589
- currentSlideIndex: Me.value,
27549
+ slide: lt.value[Re.value],
27550
+ slideCount: lt.value.length,
27551
+ currentSlideIndex: Re.value,
27590
27552
  editable: n,
27591
- presenting: Ut.presenting.value
27553
+ presenting: Gt.presenting.value
27592
27554
  }),
27593
- goToSlide: Le,
27555
+ goToSlide: He,
27594
27556
  onHyperlinkClick: (e) => v.onHyperlinkClick?.(e),
27595
27557
  confirmExternalHyperlink: (e) => !(0, a.shouldConfirmExternalHyperlink)(M.value, e) || (0, a.confirmExternalHyperlinkDialog)(e, {
27596
27558
  t: b,
@@ -27598,21 +27560,21 @@ var UG = ["aria-busy", "tabindex"], HG = {
27598
27560
  })
27599
27561
  }));
27600
27562
  }, { flush: "post" });
27601
- const { isMobile: Bo, isTouchDevice: No } = e.useIsMobile(768), { keyboardInset: Vo } = e.useKeyboardInsets(), To = (0, l.ref)(null), Fo = (0, l.ref)(null);
27563
+ const { isMobile: Vo, isTouchDevice: To } = e.useIsMobile(768), { keyboardInset: Fo } = e.useKeyboardInsets(), Po = (0, l.ref)(null), Do = (0, l.ref)(null);
27602
27564
  e.useTouchGestures({
27603
- targetRef: To,
27604
- currentScale: Ge,
27565
+ targetRef: Po,
27566
+ currentScale: $e,
27605
27567
  minScale: a.MIN_ZOOM_SCALE,
27606
27568
  maxScale: a.MAX_ZOOM_SCALE,
27607
- enabled: No,
27569
+ enabled: To,
27608
27570
  callbacks: {
27609
27571
  onPinchZoom: (e) => {
27610
- Ge.value = Number(e.toFixed(2));
27572
+ $e.value = Number(e.toFixed(2));
27611
27573
  },
27612
27574
  onLongPress: (e, t) => {
27613
- if (!De.value || Ut.presenting.value) return;
27614
- const n = Qe.value[0];
27615
- n && (Ln.value = {
27575
+ if (!_e.value || Gt.presenting.value) return;
27576
+ const n = et.value[0];
27577
+ n && (Hn.value = {
27616
27578
  open: !0,
27617
27579
  x: e,
27618
27580
  y: t,
@@ -27621,74 +27583,74 @@ var UG = ["aria-busy", "tabindex"], HG = {
27621
27583
  }
27622
27584
  }
27623
27585
  });
27624
- const Po = e.useMobileChrome({ presenting: Ut.presenting }), Do = e.useRibbonActions({
27625
- readInlineSnapshot: ht.readInlineSnapshot,
27626
- formatInlineSnapshot: ht.formatInlineSnapshot,
27627
- endInlineListSession: ht.endInlineListSession,
27586
+ const Io = e.useMobileChrome({ presenting: Gt.presenting }), _o = e.useRibbonActions({
27587
+ readInlineSnapshot: kt.readInlineSnapshot,
27588
+ formatInlineSnapshot: kt.formatInlineSnapshot,
27589
+ endInlineListSession: kt.endInlineListSession,
27628
27590
  listConversionScope: () => v.listConversionScope,
27629
- canEdit: () => De.value,
27630
- presenting: Ut.presenting,
27631
- showMasterView: ko.showMasterView,
27632
- tableSelection: ze,
27633
- selectedElements: nt,
27634
- selectedElementIds: Qe,
27635
- activeSlide: Re,
27636
- activeSlideIndex: Me,
27637
- slides: Z,
27638
- pushHistory: rt.pushHistory,
27639
- ops: it
27640
- }), { ribbonMode: Io, ribbonUpdateTextStyle: _o, ribbonMoveToEdge: Ao } = Do, zo = (0, l.computed)(() => "preview" === Io.value && Fe.value ? "edit" : Io.value);
27641
- (0, l.watch)(Io, (e) => {
27591
+ canEdit: () => _e.value,
27592
+ presenting: Gt.presenting,
27593
+ showMasterView: Eo.showMasterView,
27594
+ tableSelection: Oe,
27595
+ selectedElements: at,
27596
+ selectedElementIds: et,
27597
+ activeSlide: Ue,
27598
+ activeSlideIndex: Re,
27599
+ slides: Q,
27600
+ pushHistory: st.pushHistory,
27601
+ ops: ct
27602
+ }), { ribbonMode: Ao, ribbonUpdateTextStyle: zo, ribbonMoveToEdge: Mo } = _o, Oo = (0, l.computed)(() => "preview" === Ao.value && De.value ? "edit" : Ao.value);
27603
+ (0, l.watch)(Ao, (e) => {
27642
27604
  h("mode-change", e);
27643
- }), (0, l.watch)(() => "present" === Io.value, (e) => h("presentation-change", e));
27644
- const { showShortcuts: Mo, onEditorKeydown: Oo, copySelected: Ro, cutSelected: Lo, selectAllElements: Uo } = e.useEditorKeyboard({
27645
- canEdit: () => De.value,
27646
- canPaste: () => Ot.hasClipboard.value && Boolean(Re.value),
27647
- hasSelection: Xe.hasSelection,
27648
- presenting: Ut.presenting,
27649
- findOpen: Kt,
27650
- selectedElementIds: Qe,
27651
- activeSlide: Re,
27652
- activeSlideIndex: Me,
27653
- slides: Z,
27654
- templateElementsBySlideId: Q,
27655
- pushHistory: rt.pushHistory,
27656
- undo: rt.undo,
27657
- redo: rt.redo,
27658
- copyElement: Ot.copyElement,
27659
- cutElement: Ot.cutElement,
27660
- pasteElement: Lt,
27661
- onPasteSpecial: Rt.openPasteSpecialDialog,
27662
- duplicateSelected: It,
27663
- deleteSelected: Dt,
27664
- goPrev: Ue,
27665
- goNext: He,
27666
- onEscape: wt,
27667
- onGroup: yn,
27668
- onUngroup: hn,
27669
- presentFromBeginning: Ut.presentFromBeginning,
27670
- startPresenting: Ut.startPresenting,
27671
- inlineEditingElementId: ht.inlineEditingElementId,
27672
- tableEditorIsEditing: () => null !== ze.value,
27673
- activeTool: () => En.value,
27674
- selectedElements: nt,
27675
- selectElement: Xe.selectElement,
27676
- ribbonUpdateTextStyle: _o,
27677
- addSlide: () => Mt.addSlide(),
27678
- openHyperlinkForSelection: Gt.openHyperlinkForSelection,
27679
- toggleFormatPainter: ft,
27680
- applyFormatToTarget: yt,
27681
- cancelFormatPainter: xt,
27605
+ }), (0, l.watch)(() => "present" === Ao.value, (e) => h("presentation-change", e));
27606
+ const { showShortcuts: Ro, onEditorKeydown: Lo, copySelected: Uo, cutSelected: Ho, selectAllElements: Go } = e.useEditorKeyboard({
27607
+ canEdit: () => _e.value,
27608
+ canPaste: () => Lt.hasClipboard.value && Boolean(Ue.value),
27609
+ hasSelection: Qe.hasSelection,
27610
+ presenting: Gt.presenting,
27611
+ findOpen: Wt,
27612
+ selectedElementIds: et,
27613
+ activeSlide: Ue,
27614
+ activeSlideIndex: Re,
27615
+ slides: Q,
27616
+ templateElementsBySlideId: J,
27617
+ pushHistory: st.pushHistory,
27618
+ undo: st.undo,
27619
+ redo: st.redo,
27620
+ copyElement: Lt.copyElement,
27621
+ cutElement: Lt.cutElement,
27622
+ pasteElement: Ht,
27623
+ onPasteSpecial: Ut.openPasteSpecialDialog,
27624
+ duplicateSelected: At,
27625
+ deleteSelected: _t,
27626
+ goPrev: Ge,
27627
+ goNext: Ke,
27628
+ onEscape: Nt,
27629
+ onGroup: bn,
27630
+ onUngroup: kn,
27631
+ presentFromBeginning: Gt.presentFromBeginning,
27632
+ startPresenting: Gt.startPresenting,
27633
+ inlineEditingElementId: kt.inlineEditingElementId,
27634
+ tableEditorIsEditing: () => null !== Oe.value,
27635
+ activeTool: () => wn.value,
27636
+ selectedElements: at,
27637
+ selectElement: Qe.selectElement,
27638
+ ribbonUpdateTextStyle: zo,
27639
+ addSlide: () => Rt.addSlide(),
27640
+ openHyperlinkForSelection: $t.openHyperlinkForSelection,
27641
+ toggleFormatPainter: yt,
27642
+ applyFormatToTarget: bt,
27643
+ cancelFormatPainter: ht,
27682
27644
  customization: () => L.resolved.value
27683
- }), Ho = (0, l.computed)(() => Bo.value || !Bn.value && !ut.value ? 0 : a.INSPECTOR_PANEL_DEFAULT_WIDTH), Go = (0, l.ref)(null), Ko = (0, l.ref)(0);
27645
+ }), Ko = (0, l.computed)(() => Vo.value || !Vn.value && !vt.value ? 0 : a.INSPECTOR_PANEL_DEFAULT_WIDTH), $o = (0, l.ref)(null), jo = (0, l.ref)(0);
27684
27646
  (0, l.watchEffect)((e) => {
27685
- const t = Go.value?.$el;
27686
- if (!(t instanceof HTMLElement)) return void (Ko.value = 0);
27647
+ const t = $o.value?.$el;
27648
+ if (!(t instanceof HTMLElement)) return void (jo.value = 0);
27687
27649
  const n = (0, a.observeElementHeight)(t, (e) => {
27688
- Ko.value = e;
27650
+ jo.value = e;
27689
27651
  });
27690
27652
  e(() => {
27691
- n(), Ko.value = 0;
27653
+ n(), jo.value = 0;
27692
27654
  });
27693
27655
  }), function(e) {
27694
27656
  const { viewProperties: t, loadVersion: n, snapToGrid: o, snapToObjects: r, showGuides: i } = e;
@@ -27725,13 +27687,13 @@ var UG = ["aria-busy", "tabindex"], HG = {
27725
27687
  };
27726
27688
  }, { flush: "sync" });
27727
27689
  }({
27728
- viewProperties: ye,
27690
+ viewProperties: be,
27729
27691
  loadVersion: D,
27730
- snapToGrid: Nt.snapToGrid,
27731
- snapToObjects: Nt.snapToShape,
27732
- showGuides: Pn
27692
+ snapToGrid: Tt.snapToGrid,
27693
+ snapToObjects: Tt.snapToShape,
27694
+ showGuides: _n
27733
27695
  });
27734
- const $o = (0, l.ref)(!1), jo = (0, l.computed)(() => (0, a.resolveOptionRootClasses)(M.value, "pptx-vue")), Wo = (0, l.computed)(() => (0, a.resolve3DRenderingFlags)({
27696
+ const Wo = (0, l.ref)(!1), qo = (0, l.computed)(() => (0, a.resolveOptionRootClasses)(M.value, "pptx-vue")), Yo = (0, l.computed)(() => (0, a.resolve3DRenderingFlags)({
27735
27697
  smartArt3D: v.smartArt3D,
27736
27698
  surfaceChart3D: v.surfaceChart3D,
27737
27699
  barChart3D: v.barChart3D,
@@ -27739,54 +27701,54 @@ var UG = ["aria-busy", "tabindex"], HG = {
27739
27701
  areaChart3D: v.areaChart3D,
27740
27702
  pieChart3D: v.pieChart3D
27741
27703
  }, M.value));
27742
- (0, l.provide)(e.Rendering3DFlagsKey, Wo);
27743
- const qo = (0, l.computed)(() => ({
27744
- smartArt3d: Wo.value.smartArt3D,
27745
- collaboration: ao.collabActive.value
27746
- })), { showSettings: Yo } = e.useViewerSettingsDialog({
27747
- autoSave: jn,
27748
- spellCheck: In,
27749
- showGrid: Tn,
27750
- showRulers: Fn,
27751
- snapToGrid: Nt.snapToGrid,
27752
- reducedMotion: $o,
27704
+ (0, l.provide)(e.Rendering3DFlagsKey, Yo);
27705
+ const Xo = (0, l.computed)(() => ({
27706
+ smartArt3d: Yo.value.smartArt3D,
27707
+ collaboration: io.collabActive.value
27708
+ })), { showSettings: Zo } = e.useViewerSettingsDialog({
27709
+ autoSave: Yn,
27710
+ spellCheck: An,
27711
+ showGrid: Pn,
27712
+ showRulers: In,
27713
+ snapToGrid: Tt.snapToGrid,
27714
+ reducedMotion: Wo,
27753
27715
  optionsStore: A,
27754
27716
  viewerOptions: M
27755
27717
  });
27756
- function Xo() {
27718
+ function Qo() {
27757
27719
  (0, a.clearAutosaveSnapshots)(N.value.storage).catch(() => {});
27758
27720
  }
27759
- let Zo;
27760
- function Qo() {
27761
- (0, a.shouldClearAutosaveCacheOnClose)(M.value) && Xo();
27721
+ let Jo;
27722
+ function ea() {
27723
+ (0, a.shouldClearAutosaveCacheOnClose)(M.value) && Qo();
27762
27724
  }
27763
- (0, l.watch)(() => $n.isDirty.value, (e) => h("dirty-change", e), { immediate: !0 }), (0, l.watch)(jn, (e) => h("autosave-toggle", e)), (0, l.watch)(() => (0, a.autosaveStatusKind)($n.status.value), (e) => h("autosave-status", e)), (0, l.watch)(() => ao.collab.status.value, (e) => h("collaboration-status", e)), (0, l.onMounted)(() => {
27764
- Zo = (0, a.installSvgIdScope)();
27765
- }), (0, l.onBeforeUnmount)(() => Zo?.()), (0, l.onMounted)(() => {
27725
+ (0, l.watch)(() => qn.isDirty.value, (e) => h("dirty-change", e), { immediate: !0 }), (0, l.watch)(Yn, (e) => h("autosave-toggle", e)), (0, l.watch)(() => (0, a.autosaveStatusKind)(qn.status.value), (e) => h("autosave-status", e)), (0, l.watch)(() => io.collab.status.value, (e) => h("collaboration-status", e)), (0, l.onMounted)(() => {
27726
+ Jo = (0, a.installSvgIdScope)();
27727
+ }), (0, l.onBeforeUnmount)(() => Jo?.()), (0, l.onMounted)(() => {
27766
27728
  (0, a.pruneExpiredAutosaveSnapshots)(M.value, N.value.storage).catch(() => {});
27767
- }), "undefined" != typeof window && window.addEventListener("beforeunload", Qo), (0, l.onBeforeUnmount)(() => {
27768
- "undefined" != typeof window && window.removeEventListener("beforeunload", Qo), Qo();
27729
+ }), "undefined" != typeof window && window.addEventListener("beforeunload", ea), (0, l.onBeforeUnmount)(() => {
27730
+ "undefined" != typeof window && window.removeEventListener("beforeunload", ea), ea();
27769
27731
  });
27770
- const { drawingActive: Jo, addInkStroke: ea, eraseInkAt: ta } = e.useInkDrawing({
27771
- canEdit: () => De.value,
27772
- presenting: Ut.presenting,
27773
- activeTool: En,
27774
- activeSlide: Re,
27775
- selectedElementIds: Qe,
27776
- ops: it
27777
- }), na = e.useThemeEditing({
27778
- handler: Ce,
27779
- slides: Z,
27780
- pptxTheme: Se,
27781
- themeColorMap: Ee,
27782
- pushHistory: rt.pushHistory,
27783
- themeGalleryOpen: _n,
27784
- themeEditorOpen: An,
27785
- templateElementsBySlideId: Q,
27786
- loadedThemeName: lt
27732
+ const { drawingActive: ta, addInkStroke: na, eraseInkAt: oa } = e.useInkDrawing({
27733
+ canEdit: () => _e.value,
27734
+ presenting: Gt.presenting,
27735
+ activeTool: wn,
27736
+ activeSlide: Ue,
27737
+ selectedElementIds: et,
27738
+ ops: ct
27739
+ }), aa = e.useThemeEditing({
27740
+ handler: Be,
27741
+ slides: Q,
27742
+ pptxTheme: Ce,
27743
+ themeColorMap: we,
27744
+ pushHistory: st.pushHistory,
27745
+ themeGalleryOpen: zn,
27746
+ themeEditorOpen: Mn,
27747
+ templateElementsBySlideId: J,
27748
+ loadedThemeName: it
27787
27749
  });
27788
- function oa(e) {
27789
- na.applyThemeUpdates(e);
27750
+ function la(e) {
27751
+ aa.applyThemeUpdates(e);
27790
27752
  }
27791
27753
  Wn({
27792
27754
  deckStyle: function(e) {
@@ -27814,27 +27776,27 @@ var UG = ["aria-busy", "tabindex"], HG = {
27814
27776
  }
27815
27777
  }));
27816
27778
  }({
27817
- held: Kn,
27818
- heldDeck: Y,
27819
- slides: Z,
27820
- templateElementsBySlideId: Q,
27821
- pptxTheme: Se,
27822
- themeColorMap: Ee,
27823
- handler: Ce,
27824
- selectedSlideIds: () => Re.value ? [Re.value.id] : [],
27825
- pushHistory: rt.pushHistory
27779
+ held: jn,
27780
+ heldDeck: X,
27781
+ slides: Q,
27782
+ templateElementsBySlideId: J,
27783
+ pptxTheme: Ce,
27784
+ themeColorMap: we,
27785
+ handler: Be,
27786
+ selectedSlideIds: () => Ue.value ? [Ue.value.id] : [],
27787
+ pushHistory: st.pushHistory
27826
27788
  }),
27827
- activeSlide: () => Re.value ?? null,
27828
- editable: () => De.value,
27829
- selectedElement: () => nt.value[0] ?? null,
27830
- theme: Se,
27831
- themeColorMap: Ee,
27832
- handler: Ce,
27833
- tableSelection: () => ze.value,
27834
- updateElement: (e, t) => it.updateElement(e, t),
27835
- applyTheme: oa
27789
+ activeSlide: () => Ue.value ?? null,
27790
+ editable: () => _e.value,
27791
+ selectedElement: () => at.value[0] ?? null,
27792
+ theme: Ce,
27793
+ themeColorMap: we,
27794
+ handler: Be,
27795
+ tableSelection: () => Oe.value,
27796
+ updateElement: (e, t) => ct.updateElement(e, t),
27797
+ applyTheme: la
27836
27798
  });
27837
- const aa = function(e) {
27799
+ const ra = function(e) {
27838
27800
  return (0, i.createPptxAiBridge)({
27839
27801
  getSlides: () => e.slides.value,
27840
27802
  getActiveSlideIndex: () => e.activeSlideIndex.value,
@@ -27907,267 +27869,267 @@ var UG = ["aria-busy", "tabindex"], HG = {
27907
27869
  });
27908
27870
  }({
27909
27871
  onCorePropertiesChanged: (e) => h("properties-change", e),
27910
- slides: Z,
27911
- activeSlideIndex: Me,
27912
- canvasSize: J,
27913
- theme: Se,
27914
- handler: Ce,
27915
- sections: ve,
27916
- customShows: ge,
27917
- presentationProperties: xe,
27918
- customProperties: le,
27919
- coreProperties: ae,
27920
- appProperties: ce,
27921
- viewProperties: ye,
27922
- tableStyleMap: ue,
27923
- tableStylesDefaultId: X.tableStylesDefaultId,
27924
- tagCollections: de,
27872
+ slides: Q,
27873
+ activeSlideIndex: Re,
27874
+ canvasSize: ee,
27875
+ theme: Ce,
27876
+ handler: Be,
27877
+ sections: fe,
27878
+ customShows: xe,
27879
+ presentationProperties: he,
27880
+ customProperties: se,
27881
+ coreProperties: re,
27882
+ appProperties: pe,
27883
+ viewProperties: be,
27884
+ tableStyleMap: ve,
27885
+ tableStylesDefaultId: Z.tableStylesDefaultId,
27886
+ tagCollections: ue,
27925
27887
  fileName: () => N.value.fileName,
27926
- pushHistory: rt.pushHistory,
27888
+ pushHistory: st.pushHistory,
27927
27889
  markDirty: () => {
27928
- $n.isDirty.value = !0;
27890
+ qn.isDirty.value = !0;
27929
27891
  },
27930
- goTo: Le,
27892
+ goTo: He,
27931
27893
  setSelection: (e) => {
27932
- Qe.value = e;
27894
+ et.value = e;
27933
27895
  },
27934
- applyThemeUpdates: oa,
27935
- selectedElementIds: () => Qe.value,
27936
- pinnedFocus: () => mt.pinnedFocus.value,
27937
- pickedFocus: () => mt.pickTargets.value
27938
- }), la = (ra = {
27939
- canEdit: () => De.value,
27940
- isMobile: Bo,
27941
- zoom: Ge,
27942
- zoomIn: je,
27943
- zoomOut: We,
27944
- zoomReset: qe,
27945
- findOpen: Kt,
27946
- activeSlide: Re,
27947
- activeSlideIndex: Me,
27948
- showA11y: tn,
27949
- showShortcuts: Mo,
27950
- showSettings: Yo,
27951
- deck: X,
27952
- embeddedFontFamilies: po.embeddedFontNames,
27953
- customFontFamilies: mo,
27954
- ui: Sn,
27955
- selection: Xe,
27956
- history: rt,
27896
+ applyThemeUpdates: la,
27897
+ selectedElementIds: () => et.value,
27898
+ pinnedFocus: () => gt.pinnedFocus.value,
27899
+ pickedFocus: () => gt.pickTargets.value
27900
+ }), ia = (sa = {
27901
+ canEdit: () => _e.value,
27902
+ isMobile: Vo,
27903
+ zoom: $e,
27904
+ zoomIn: qe,
27905
+ zoomOut: Ye,
27906
+ zoomReset: Xe,
27907
+ findOpen: Wt,
27908
+ activeSlide: Ue,
27909
+ activeSlideIndex: Re,
27910
+ showA11y: on,
27911
+ showShortcuts: Ro,
27912
+ showSettings: Zo,
27913
+ deck: Z,
27914
+ embeddedFontFamilies: vo.embeddedFontNames,
27915
+ customFontFamilies: go,
27916
+ ui: Cn,
27917
+ selection: Qe,
27918
+ history: st,
27957
27919
  arrange: {
27958
- bringForward: _t,
27959
- sendBackward: At,
27960
- duplicateSelected: It,
27961
- deleteSelected: Dt,
27962
- canDistribute: vn,
27963
- onAlign: fn,
27964
- onDistribute: xn,
27965
- onGroup: yn,
27966
- onUngroup: hn
27920
+ bringForward: zt,
27921
+ sendBackward: Mt,
27922
+ duplicateSelected: At,
27923
+ deleteSelected: _t,
27924
+ canDistribute: fn,
27925
+ onAlign: yn,
27926
+ onDistribute: hn,
27927
+ onGroup: bn,
27928
+ onUngroup: kn
27967
27929
  },
27968
27930
  editing: {
27969
- clipboard: Ot.clipboard,
27970
- pasteElement: Lt,
27971
- copySelected: Ro,
27972
- cutSelected: Lo,
27973
- formatPainterActive: vt,
27974
- canActivateFormatPainter: gt,
27975
- toggleFormatPainter: ft,
27931
+ clipboard: Lt.clipboard,
27932
+ pasteElement: Ht,
27933
+ copySelected: Uo,
27934
+ cutSelected: Ho,
27935
+ formatPainterActive: ft,
27936
+ canActivateFormatPainter: xt,
27937
+ toggleFormatPainter: yt,
27976
27938
  updateSelectedShapeStyle: function(t) {
27977
- const n = nt.value[0];
27978
- n && (0, e.dist_exports.hasShapeProperties)(n) && it.updateElement(n.id, { shapeStyle: {
27939
+ const n = at.value[0];
27940
+ n && (0, e.dist_exports.hasShapeProperties)(n) && ct.updateElement(n.id, { shapeStyle: {
27979
27941
  ...n.shapeStyle,
27980
27942
  ...t
27981
27943
  } });
27982
27944
  },
27983
- openHyperlinkForSelection: Gt.openHyperlinkForSelection
27945
+ openHyperlinkForSelection: $t.openHyperlinkForSelection
27984
27946
  },
27985
27947
  slideMutations: {
27986
- toggleSlideHidden: an,
27987
- onAddAnimation: cn,
27988
- onRemoveAnimation: dn,
27989
- onTransitionChange: rn,
27990
- onApplyTransitionToAll: sn
27948
+ toggleSlideHidden: rn,
27949
+ onAddAnimation: pn,
27950
+ onRemoveAnimation: un,
27951
+ onTransitionChange: cn,
27952
+ onApplyTransitionToAll: dn
27991
27953
  },
27992
27954
  slideCommands: {
27993
- addSection: Eo.addSection,
27955
+ addSection: wo.addSection,
27994
27956
  defaultSectionName: () => b("pptx.sections.defaultName"),
27995
- selectAllElements: Uo,
27996
- clearSelection: at
27957
+ selectAllElements: Go,
27958
+ clearSelection: rt
27997
27959
  },
27998
- presentationProperties: xe,
27999
- ribbonActions: Do,
28000
- chromeMode: zo,
28001
- drag: Nt,
28002
- insertion: Vt,
28003
- templateInsertion: Pt,
28004
- insertDialogs: kt,
28005
- exporter: Wt,
28006
- printer: Jt,
28007
- presentation: Ut,
28008
- deckViews: en,
28009
- comments: oo,
28010
- collaboration: ao,
28011
- customShows: ho,
28012
- versionHistory: yo,
28013
- documentProperties: fo,
28014
- fontEmbedding: po,
28015
- signatureWorkflow: io,
28016
- selectionPane: go,
28017
- slideShow: co,
27960
+ presentationProperties: he,
27961
+ ribbonActions: _o,
27962
+ chromeMode: Oo,
27963
+ drag: Tt,
27964
+ insertion: Ft,
27965
+ templateInsertion: It,
27966
+ insertDialogs: Et,
27967
+ exporter: Yt,
27968
+ printer: tn,
27969
+ presentation: Gt,
27970
+ deckViews: nn,
27971
+ comments: lo,
27972
+ collaboration: io,
27973
+ customShows: ko,
27974
+ versionHistory: bo,
27975
+ documentProperties: yo,
27976
+ fontEmbedding: vo,
27977
+ signatureWorkflow: po,
27978
+ selectionPane: xo,
27979
+ slideShow: mo,
28018
27980
  password: _,
28019
- masterView: ko,
28020
- headerFooterDialog: xo,
27981
+ masterView: Eo,
27982
+ headerFooterDialog: ho,
28021
27983
  handleOpenFile: T.handleOpenFile,
28022
27984
  handleOpenRecentFile: T.handleOpenRecentFile,
28023
27985
  createPresentation: function(e) {
28024
- Z.value = (0, a.createBackstagePresentation)(e), Q.value = {}, Me.value = 0, Xe.selectedElementIds.value = [];
27986
+ Q.value = (0, a.createBackstagePresentation)(e), J.value = {}, Re.value = 0, Qe.selectedElementIds.value = [];
28025
27987
  },
28026
27988
  compareWithPresentation: async function() {
28027
27989
  const t = await (0, a.openPptxFile)();
28028
27990
  if (!t) return;
28029
27991
  const n = await new e.dist_exports.PptxHandler().load(t.buffer, { allowExternalImages: (0, a.resolveAllowExternalContent)(v.allowExternalContent, M.value) });
28030
- n && yo.compareWithSlides(n.slides);
27992
+ n && bo.compareWithSlides(n.slides);
28031
27993
  }
28032
27994
  }, e.useRibbonProps({
28033
- ribbonMode: ra.chromeMode,
28034
- canEdit: ra.canEdit,
28035
- isMobile: ra.isMobile,
28036
- sidebarCollapsed: ra.ui.sidebarCollapsed,
28037
- inspectorOpen: ra.ui.inspectorOpen,
28038
- ribbonExpanded: ra.ui.ribbonExpanded,
28039
- toolbarSection: ra.ui.toolbarSection,
28040
- zoom: ra.zoom,
28041
- canUndo: ra.history.canUndo,
28042
- canRedo: ra.history.canRedo,
28043
- findOpen: ra.findOpen,
28044
- selectedElements: ra.selection.selectedElements,
28045
- activeTableSelection: ra.ribbonActions.activeTableSelection,
28046
- editTemplateMode: ra.selection.editTemplateMode,
28047
- newShapeType: ra.ui.newShapeType,
28048
- activeTool: ra.ui.activeTool,
28049
- drawingColor: ra.ui.drawingColor,
28050
- drawingWidth: ra.ui.drawingWidth,
28051
- clipboard: ra.editing.clipboard,
28052
- spellCheckEnabled: ra.ui.spellCheckEnabled,
28053
- showGrid: ra.ui.showGrid,
28054
- showRulers: ra.ui.showRulers,
28055
- showGuides: ra.ui.showGuides,
28056
- snapToGrid: ra.drag.snapToGrid,
28057
- snapToShape: ra.drag.snapToShape,
28058
- overflowOpen: ra.ui.overflowOpen,
28059
- layoutOptions: ra.deck.layoutOptions,
28060
- embeddedFontFamilies: ra.embeddedFontFamilies,
28061
- customFontFamilies: ra.customFontFamilies,
28062
- theme: ra.deck.theme,
28063
- customShows: ra.deck.customShows,
28064
- activeCustomShowId: ra.customShows.activeCustomShowId,
28065
- isCurrentSlideInActiveShow: ra.customShows.isCurrentSlideInActiveShow,
28066
- themeEditorOpen: ra.ui.themeEditorOpen,
28067
- themeGalleryOpen: ra.ui.themeGalleryOpen,
28068
- eyedropperActive: ra.ui.eyedropperActive,
28069
- showComments: ra.comments.showComments,
28070
- activeComments: ra.comments.activeComments,
28071
- reviewComments: ra.comments.reviewHost,
28072
- formatPainterActive: ra.editing.formatPainterActive,
28073
- canActivateFormatPainter: ra.editing.canActivateFormatPainter,
28074
- showSelectionPane: ra.selectionPane.showSelectionPane,
28075
- showSubtitles: ra.slideShow.showSubtitles,
28076
- activeSlide: ra.activeSlide,
28077
- activeSlideIndex: ra.activeSlideIndex,
28078
- toggleSlideHidden: ra.slideMutations.toggleSlideHidden,
28079
- presentationProperties: ra.presentationProperties,
28080
- presenting: ra.presentation.presenting,
28081
- canDistribute: ra.arrange.canDistribute,
28082
- shareOpen: ra.collaboration.shareOpen,
28083
- showShortcuts: ra.showShortcuts,
28084
- showSettings: ra.showSettings,
28085
- showHeaderFooter: ra.headerFooterDialog.showHeaderFooter,
28086
- showA11y: ra.showA11y,
28087
- showSorter: ra.deckViews.showSorter,
28088
- showReadingView: ra.deckViews.showReadingView,
28089
- showOutlineView: ra.deckViews.showOutlineView,
28090
- showCustomShows: ra.customShows.showCustomShows,
28091
- showVersionHistory: ra.versionHistory.showVersionHistory,
28092
- showPasswordDialog: ra.password.showPasswordDialog,
28093
- propertiesOpen: ra.documentProperties.propertiesOpen,
28094
- showFontEmbedding: ra.fontEmbedding.showFontEmbedding,
28095
- showSignatures: ra.signatureWorkflow.showSignatures,
28096
- showMasterView: ra.masterView.showMasterView,
28097
- showSetUpSlideShow: ra.slideShow.showSetUpSlideShow,
28098
- broadcastOpen: ra.collaboration.broadcastOpen,
28099
- showInsertSmartArt: ra.insertDialogs.showInsertSmartArt,
28100
- showEquationEditor: ra.insertDialogs.showEquationEditor,
28101
- collab: ra.collaboration.collab,
28102
- startPresenting: ra.presentation.startPresenting,
28103
- presentFromBeginning: ra.presentation.presentFromBeginning,
28104
- startPresenterView: ra.presentation.startPresenterView,
28105
- startRehearsal: ra.presentation.startRehearsal,
28106
- compareWithPresentation: ra.compareWithPresentation,
28107
- onAddAnimation: ra.slideMutations.onAddAnimation,
28108
- onRemoveAnimation: ra.slideMutations.onRemoveAnimation,
28109
- zoomIn: ra.zoomIn,
28110
- zoomOut: ra.zoomOut,
28111
- zoomReset: ra.zoomReset,
28112
- undo: ra.history.undo,
28113
- redo: ra.history.redo,
28114
- addText: ra.insertion.addText,
28115
- addShape: ra.insertion.addShape,
28116
- addTable: ra.insertion.addTable,
28117
- addChart: ra.insertion.addChart,
28118
- addField: ra.insertion.addField,
28119
- addActionButton: ra.insertion.addActionButton,
28120
- openImagePicker: ra.insertion.openImagePicker,
28121
- openMediaPicker: ra.insertion.openMediaPicker,
28122
- addGuide: ra.drag.addGuide,
28123
- onAlign: ra.arrange.onAlign,
28124
- onDistribute: ra.arrange.onDistribute,
28125
- copySelected: ra.editing.copySelected,
28126
- cutSelected: ra.editing.cutSelected,
28127
- pasteElement: ra.editing.pasteElement,
28128
- ribbonFlip: ra.ribbonActions.ribbonFlip,
28129
- bringForward: ra.arrange.bringForward,
28130
- sendBackward: ra.arrange.sendBackward,
28131
- ribbonMoveToEdge: ra.ribbonActions.ribbonMoveToEdge,
28132
- onGroup: ra.arrange.onGroup,
28133
- onUngroup: ra.arrange.onUngroup,
28134
- updateSelectedShapeStyle: ra.editing.updateSelectedShapeStyle,
28135
- openHyperlinkForSelection: ra.editing.openHyperlinkForSelection,
28136
- duplicateSelected: ra.arrange.duplicateSelected,
28137
- deleteSelected: ra.arrange.deleteSelected,
28138
- handleOpenFile: ra.handleOpenFile,
28139
- handleOpenRecentFile: ra.handleOpenRecentFile,
28140
- createPresentation: ra.createPresentation,
28141
- onExportPng: ra.exporter.onExportPng,
28142
- onExportPdf: ra.exporter.onExportPdf,
28143
- onExportWebm: ra.exporter.onExportWebm,
28144
- onExportGif: ra.exporter.onExportGif,
28145
- onExportJson: ra.exporter.onExportJson,
28146
- downloadAs: ra.exporter.downloadAs,
28147
- save: ra.exporter.save,
28148
- onCopySlideAsImage: ra.exporter.onCopySlideAsImage,
28149
- openPrintDialog: ra.printer.openPrintDialog,
28150
- ribbonUpdateTextStyle: ra.ribbonActions.ribbonUpdateTextStyle,
28151
- ribbonUpdateTextCase: ra.ribbonActions.ribbonUpdateTextCase,
28152
- insertSlideFromLayout: ra.insertion.insertSlideFromLayout,
28153
- applyLayoutToActiveSlide: ra.insertion.applyLayoutToActiveSlide,
28154
- loadLayoutPreviews: ra.insertion.loadLayoutPreviews,
28155
- insertSlideFromTemplate: ra.templateInsertion.insertSlideFromTemplate,
28156
- onRenameActiveCustomShow: ra.customShows.onRenameActiveCustomShow,
28157
- onDeleteActiveCustomShow: ra.customShows.onDeleteActiveCustomShow,
28158
- onToggleCurrentSlideInActiveShow: ra.customShows.onToggleCurrentSlideInActiveShow,
28159
- toggleFormatPainter: ra.editing.toggleFormatPainter,
28160
- onToggleSubtitles: ra.slideShow.onToggleSubtitles,
28161
- onTransitionChange: ra.slideMutations.onTransitionChange,
28162
- onApplyTransitionToAll: ra.slideMutations.onApplyTransitionToAll,
28163
- addSection: ra.slideCommands.addSection,
28164
- defaultSectionName: ra.slideCommands.defaultSectionName,
28165
- selectAllElements: ra.slideCommands.selectAllElements,
28166
- clearSelection: ra.slideCommands.clearSelection,
28167
- onPresentationPropertiesUpdate: ra.slideShow.onPresentationPropertiesUpdate
27995
+ ribbonMode: sa.chromeMode,
27996
+ canEdit: sa.canEdit,
27997
+ isMobile: sa.isMobile,
27998
+ sidebarCollapsed: sa.ui.sidebarCollapsed,
27999
+ inspectorOpen: sa.ui.inspectorOpen,
28000
+ ribbonExpanded: sa.ui.ribbonExpanded,
28001
+ toolbarSection: sa.ui.toolbarSection,
28002
+ zoom: sa.zoom,
28003
+ canUndo: sa.history.canUndo,
28004
+ canRedo: sa.history.canRedo,
28005
+ findOpen: sa.findOpen,
28006
+ selectedElements: sa.selection.selectedElements,
28007
+ activeTableSelection: sa.ribbonActions.activeTableSelection,
28008
+ editTemplateMode: sa.selection.editTemplateMode,
28009
+ newShapeType: sa.ui.newShapeType,
28010
+ activeTool: sa.ui.activeTool,
28011
+ drawingColor: sa.ui.drawingColor,
28012
+ drawingWidth: sa.ui.drawingWidth,
28013
+ clipboard: sa.editing.clipboard,
28014
+ spellCheckEnabled: sa.ui.spellCheckEnabled,
28015
+ showGrid: sa.ui.showGrid,
28016
+ showRulers: sa.ui.showRulers,
28017
+ showGuides: sa.ui.showGuides,
28018
+ snapToGrid: sa.drag.snapToGrid,
28019
+ snapToShape: sa.drag.snapToShape,
28020
+ overflowOpen: sa.ui.overflowOpen,
28021
+ layoutOptions: sa.deck.layoutOptions,
28022
+ embeddedFontFamilies: sa.embeddedFontFamilies,
28023
+ customFontFamilies: sa.customFontFamilies,
28024
+ theme: sa.deck.theme,
28025
+ customShows: sa.deck.customShows,
28026
+ activeCustomShowId: sa.customShows.activeCustomShowId,
28027
+ isCurrentSlideInActiveShow: sa.customShows.isCurrentSlideInActiveShow,
28028
+ themeEditorOpen: sa.ui.themeEditorOpen,
28029
+ themeGalleryOpen: sa.ui.themeGalleryOpen,
28030
+ eyedropperActive: sa.ui.eyedropperActive,
28031
+ showComments: sa.comments.showComments,
28032
+ activeComments: sa.comments.activeComments,
28033
+ reviewComments: sa.comments.reviewHost,
28034
+ formatPainterActive: sa.editing.formatPainterActive,
28035
+ canActivateFormatPainter: sa.editing.canActivateFormatPainter,
28036
+ showSelectionPane: sa.selectionPane.showSelectionPane,
28037
+ showSubtitles: sa.slideShow.showSubtitles,
28038
+ activeSlide: sa.activeSlide,
28039
+ activeSlideIndex: sa.activeSlideIndex,
28040
+ toggleSlideHidden: sa.slideMutations.toggleSlideHidden,
28041
+ presentationProperties: sa.presentationProperties,
28042
+ presenting: sa.presentation.presenting,
28043
+ canDistribute: sa.arrange.canDistribute,
28044
+ shareOpen: sa.collaboration.shareOpen,
28045
+ showShortcuts: sa.showShortcuts,
28046
+ showSettings: sa.showSettings,
28047
+ showHeaderFooter: sa.headerFooterDialog.showHeaderFooter,
28048
+ showA11y: sa.showA11y,
28049
+ showSorter: sa.deckViews.showSorter,
28050
+ showReadingView: sa.deckViews.showReadingView,
28051
+ showOutlineView: sa.deckViews.showOutlineView,
28052
+ showCustomShows: sa.customShows.showCustomShows,
28053
+ showVersionHistory: sa.versionHistory.showVersionHistory,
28054
+ showPasswordDialog: sa.password.showPasswordDialog,
28055
+ propertiesOpen: sa.documentProperties.propertiesOpen,
28056
+ showFontEmbedding: sa.fontEmbedding.showFontEmbedding,
28057
+ showSignatures: sa.signatureWorkflow.showSignatures,
28058
+ showMasterView: sa.masterView.showMasterView,
28059
+ showSetUpSlideShow: sa.slideShow.showSetUpSlideShow,
28060
+ broadcastOpen: sa.collaboration.broadcastOpen,
28061
+ showInsertSmartArt: sa.insertDialogs.showInsertSmartArt,
28062
+ showEquationEditor: sa.insertDialogs.showEquationEditor,
28063
+ collab: sa.collaboration.collab,
28064
+ startPresenting: sa.presentation.startPresenting,
28065
+ presentFromBeginning: sa.presentation.presentFromBeginning,
28066
+ startPresenterView: sa.presentation.startPresenterView,
28067
+ startRehearsal: sa.presentation.startRehearsal,
28068
+ compareWithPresentation: sa.compareWithPresentation,
28069
+ onAddAnimation: sa.slideMutations.onAddAnimation,
28070
+ onRemoveAnimation: sa.slideMutations.onRemoveAnimation,
28071
+ zoomIn: sa.zoomIn,
28072
+ zoomOut: sa.zoomOut,
28073
+ zoomReset: sa.zoomReset,
28074
+ undo: sa.history.undo,
28075
+ redo: sa.history.redo,
28076
+ addText: sa.insertion.addText,
28077
+ addShape: sa.insertion.addShape,
28078
+ addTable: sa.insertion.addTable,
28079
+ addChart: sa.insertion.addChart,
28080
+ addField: sa.insertion.addField,
28081
+ addActionButton: sa.insertion.addActionButton,
28082
+ openImagePicker: sa.insertion.openImagePicker,
28083
+ openMediaPicker: sa.insertion.openMediaPicker,
28084
+ addGuide: sa.drag.addGuide,
28085
+ onAlign: sa.arrange.onAlign,
28086
+ onDistribute: sa.arrange.onDistribute,
28087
+ copySelected: sa.editing.copySelected,
28088
+ cutSelected: sa.editing.cutSelected,
28089
+ pasteElement: sa.editing.pasteElement,
28090
+ ribbonFlip: sa.ribbonActions.ribbonFlip,
28091
+ bringForward: sa.arrange.bringForward,
28092
+ sendBackward: sa.arrange.sendBackward,
28093
+ ribbonMoveToEdge: sa.ribbonActions.ribbonMoveToEdge,
28094
+ onGroup: sa.arrange.onGroup,
28095
+ onUngroup: sa.arrange.onUngroup,
28096
+ updateSelectedShapeStyle: sa.editing.updateSelectedShapeStyle,
28097
+ openHyperlinkForSelection: sa.editing.openHyperlinkForSelection,
28098
+ duplicateSelected: sa.arrange.duplicateSelected,
28099
+ deleteSelected: sa.arrange.deleteSelected,
28100
+ handleOpenFile: sa.handleOpenFile,
28101
+ handleOpenRecentFile: sa.handleOpenRecentFile,
28102
+ createPresentation: sa.createPresentation,
28103
+ onExportPng: sa.exporter.onExportPng,
28104
+ onExportPdf: sa.exporter.onExportPdf,
28105
+ onExportWebm: sa.exporter.onExportWebm,
28106
+ onExportGif: sa.exporter.onExportGif,
28107
+ onExportJson: sa.exporter.onExportJson,
28108
+ downloadAs: sa.exporter.downloadAs,
28109
+ save: sa.exporter.save,
28110
+ onCopySlideAsImage: sa.exporter.onCopySlideAsImage,
28111
+ openPrintDialog: sa.printer.openPrintDialog,
28112
+ ribbonUpdateTextStyle: sa.ribbonActions.ribbonUpdateTextStyle,
28113
+ ribbonUpdateTextCase: sa.ribbonActions.ribbonUpdateTextCase,
28114
+ insertSlideFromLayout: sa.insertion.insertSlideFromLayout,
28115
+ applyLayoutToActiveSlide: sa.insertion.applyLayoutToActiveSlide,
28116
+ loadLayoutPreviews: sa.insertion.loadLayoutPreviews,
28117
+ insertSlideFromTemplate: sa.templateInsertion.insertSlideFromTemplate,
28118
+ onRenameActiveCustomShow: sa.customShows.onRenameActiveCustomShow,
28119
+ onDeleteActiveCustomShow: sa.customShows.onDeleteActiveCustomShow,
28120
+ onToggleCurrentSlideInActiveShow: sa.customShows.onToggleCurrentSlideInActiveShow,
28121
+ toggleFormatPainter: sa.editing.toggleFormatPainter,
28122
+ onToggleSubtitles: sa.slideShow.onToggleSubtitles,
28123
+ onTransitionChange: sa.slideMutations.onTransitionChange,
28124
+ onApplyTransitionToAll: sa.slideMutations.onApplyTransitionToAll,
28125
+ addSection: sa.slideCommands.addSection,
28126
+ defaultSectionName: sa.slideCommands.defaultSectionName,
28127
+ selectAllElements: sa.slideCommands.selectAllElements,
28128
+ clearSelection: sa.slideCommands.clearSelection,
28129
+ onPresentationPropertiesUpdate: sa.slideShow.onPresentationPropertiesUpdate
28168
28130
  }));
28169
- var ra;
28170
- const { handleCommandSearch: ia, handleQuickAccessCommand: sa } = function(e) {
28131
+ var sa;
28132
+ const { handleCommandSearch: ca, handleQuickAccessCommand: da } = function(e) {
28171
28133
  const t = {
28172
28134
  format: {
28173
28135
  bold: () => e.updateTextStyle({ bold: !0 }),
@@ -28250,138 +28212,141 @@ var UG = ["aria-busy", "tabindex"], HG = {
28250
28212
  }
28251
28213
  };
28252
28214
  }({
28253
- updateTextStyle: _o,
28254
- addText: Vt.addText,
28255
- addShape: Vt.addShape,
28256
- addTable: Vt.addTable,
28257
- addChart: Vt.addChart,
28258
- openImagePicker: Vt.openImagePicker,
28259
- openMediaPicker: Vt.openMediaPicker,
28260
- showInsertSmartArt: kt.showInsertSmartArt,
28261
- showEquationEditor: kt.showEquationEditor,
28262
- editingEquationOmml: kt.editingEquationOmml,
28263
- hyperlinkOpen: Gt.hyperlinkOpen,
28264
- showGrid: Tn,
28265
- showRulers: Fn,
28266
- showSorter: en.showSorter,
28267
- spellCheckEnabled: In,
28268
- themeGalleryOpen: _n,
28269
- zoomIn: je,
28270
- zoomOut: We,
28271
- zoomReset: qe,
28272
- startPresenting: Ut.startPresenting,
28273
- presentFromBeginning: Ut.presentFromBeginning,
28274
- moveToEdge: Ao,
28275
- duplicateSelected: It,
28276
- openPrintDialog: Jt.openPrintDialog,
28277
- exportPdf: Qt,
28278
- addSlide: Mt.addSlide
28279
- }), ca = NG(la, L.resolved);
28280
- var da = wo, pa = {
28281
- getCanvas: () => To.value,
28282
- getTarget: () => !De.value || te.value || ne.value || Ut.presenting.value || ko.showMasterView.value || Je.value || ht.inlineEditingElementId.value || "select" !== En.value || Ln.value?.open || !Re.value || !Ce.value ? null : {
28283
- documentId: Ce.value,
28284
- slideId: Re.value.id,
28285
- canvasSize: J.value
28215
+ updateTextStyle: zo,
28216
+ addText: Ft.addText,
28217
+ addShape: Ft.addShape,
28218
+ addTable: Ft.addTable,
28219
+ addChart: Ft.addChart,
28220
+ openImagePicker: Ft.openImagePicker,
28221
+ openMediaPicker: Ft.openMediaPicker,
28222
+ showInsertSmartArt: Et.showInsertSmartArt,
28223
+ showEquationEditor: Et.showEquationEditor,
28224
+ editingEquationOmml: Et.editingEquationOmml,
28225
+ hyperlinkOpen: $t.hyperlinkOpen,
28226
+ showGrid: Pn,
28227
+ showRulers: In,
28228
+ showSorter: nn.showSorter,
28229
+ spellCheckEnabled: An,
28230
+ themeGalleryOpen: zn,
28231
+ zoomIn: qe,
28232
+ zoomOut: Ye,
28233
+ zoomReset: Xe,
28234
+ startPresenting: Gt.startPresenting,
28235
+ presentFromBeginning: Gt.presentFromBeginning,
28236
+ moveToEdge: Mo,
28237
+ duplicateSelected: At,
28238
+ openPrintDialog: tn.openPrintDialog,
28239
+ exportPdf: en,
28240
+ addSlide: Rt.addSlide
28241
+ }), pa = NG(ia, L.resolved);
28242
+ var ua = No, ma = {
28243
+ getCanvas: () => Po.value,
28244
+ getTarget: () => !_e.value || ne.value || ae.value || Gt.presenting.value || Eo.showMasterView.value || tt.value || kt.inlineEditingElementId.value || "select" !== wn.value || Hn.value?.open || !Ue.value || !Be.value ? null : {
28245
+ documentId: Be.value,
28246
+ slideId: Ue.value.id,
28247
+ canvasSize: ee.value
28286
28248
  },
28287
- insertElement: it.addElement
28249
+ insertElement: ct.addElement
28288
28250
  };
28289
28251
  (0, l.watch)([
28290
- da,
28291
- () => pa.getTarget()?.documentId,
28292
- () => pa.getTarget()?.slideId,
28293
- () => pa.getTarget()?.canvasSize.width,
28294
- () => pa.getTarget()?.canvasSize.height
28252
+ ua,
28253
+ () => ma.getTarget()?.documentId,
28254
+ () => ma.getTarget()?.slideId,
28255
+ () => ma.getTarget()?.canvasSize.width,
28256
+ () => ma.getTarget()?.canvasSize.height
28295
28257
  ], (e, t, n) => {
28296
- da.value && n((0, a.attachEditorImagePaste)(da.value, pa));
28258
+ ua.value && n((0, a.attachEditorImagePaste)(ua.value, ma));
28297
28259
  }, {
28298
28260
  immediate: !0,
28299
28261
  flush: "sync"
28300
28262
  });
28301
- const ua = {
28263
+ const va = {
28302
28264
  ...RG({
28303
- slides: Z,
28304
- activeSlide: Re,
28305
- activeSlideIndex: Me,
28306
- slideCount: Oe,
28307
- selectedElementIds: Qe,
28308
- zoom: Ge,
28309
- isDirty: $n.isDirty,
28310
- presenting: Ut.presenting,
28311
- showMasterView: ko.showMasterView,
28312
- mode: Io,
28313
- canEdit: De,
28314
- loading: te,
28315
- error: ne,
28316
- editTemplateMode: Je,
28265
+ slides: Q,
28266
+ activeSlide: Ue,
28267
+ activeSlideIndex: Re,
28268
+ slideCount: Le,
28269
+ selectedElementIds: et,
28270
+ zoom: $e,
28271
+ isDirty: qn.isDirty,
28272
+ presenting: Gt.presenting,
28273
+ showMasterView: Eo.showMasterView,
28274
+ mode: Ao,
28275
+ canEdit: _e,
28276
+ loading: ne,
28277
+ error: ae,
28278
+ editTemplateMode: tt,
28317
28279
  setEditingRequested: (e) => {
28318
- Fe.value = e;
28280
+ De.value = e;
28319
28281
  },
28320
- hasActivePointerInteraction: () => Nt.hasActivePointerInteraction() || null !== ct.value || Boolean(Fo.value?.hasActivePointerInteraction()),
28321
- commitPendingText: ht.commitInlineEdit,
28322
- getContent: we,
28323
- goTo: Le,
28324
- goPrev: Ue,
28325
- goNext: He,
28326
- zoomIn: je,
28327
- zoomOut: We,
28328
- zoomReset: qe,
28329
- startPresenting: Ut.startPresenting,
28330
- history: rt,
28331
- slideOps: Mt,
28332
- toggleSlideHidden: an,
28333
- elementOps: it
28282
+ hasActivePointerInteraction: () => Tt.hasActivePointerInteraction() || null !== pt.value || Boolean(Do.value?.hasActivePointerInteraction()),
28283
+ commitPendingText: kt.commitInlineEdit,
28284
+ getContent: Ne,
28285
+ goTo: He,
28286
+ goPrev: Ge,
28287
+ goNext: Ke,
28288
+ zoomIn: qe,
28289
+ zoomOut: Ye,
28290
+ zoomReset: Xe,
28291
+ startPresenting: Gt.startPresenting,
28292
+ history: st,
28293
+ slideOps: Rt,
28294
+ toggleSlideHidden: rn,
28295
+ elementOps: ct
28334
28296
  }),
28335
28297
  ...L.api
28336
28298
  };
28337
- p(ua), (0, l.provide)(y, (0, l.computed)(() => ({
28338
- viewer: ua,
28339
- mode: Io.value,
28340
- canEdit: De.value,
28341
- activeSlideIndex: Me.value,
28342
- slideCount: Oe.value,
28343
- selectedElementIds: Qe.value,
28299
+ p(va), (0, l.provide)(y, (0, l.computed)(() => ({
28300
+ viewer: va,
28301
+ mode: Ao.value,
28302
+ canEdit: _e.value,
28303
+ activeSlideIndex: Re.value,
28304
+ slideCount: Le.value,
28305
+ selectedElementIds: et.value,
28344
28306
  locale: k.localeCode.value
28345
28307
  })));
28346
- const ma = (0, a.createSlidePackageClipboard)({
28347
- getSnapshot: () => Ce.value ? {
28348
- handler: Ce.value,
28349
- slides: Z.value,
28350
- templateElementsBySlideId: Q.value,
28308
+ const ga = (0, a.createSlidePackageClipboard)({
28309
+ getSnapshot: () => Be.value ? {
28310
+ handler: Be.value,
28311
+ slides: Q.value,
28312
+ templateElementsBySlideId: J.value,
28351
28313
  allowExternalImages: (0, a.resolveAllowExternalContent)(v.allowExternalContent, M.value),
28352
- editable: De.value
28314
+ editable: _e.value
28353
28315
  } : null,
28354
28316
  commit: (e) => {
28355
- rt.pushHistory(), Ce.value = e.handler, Z.value = e.slides, Q.value = e.templateElementsBySlideId, me.value = e.data.slideMasters ?? [], X.layoutOptions.value = e.data.layoutOptions ?? [], X.themeOptions.value = e.data.themeOptions ?? [];
28356
- for (const [t, n] of e.mediaUrls) ee.value.set(t, n);
28357
- Me.value = e.insertAt, $n.isDirty.value = !0;
28317
+ st.pushHistory(), Be.value = e.handler, Q.value = e.slides, J.value = e.templateElementsBySlideId, ge.value = e.data.slideMasters ?? [], Z.layoutOptions.value = e.data.layoutOptions ?? [], Z.themeOptions.value = e.data.themeOptions ?? [];
28318
+ for (const [t, n] of e.mediaUrls) te.value.set(t, n);
28319
+ Re.value = e.insertAt, qn.isDirty.value = !0;
28358
28320
  }
28359
28321
  });
28360
- return (0, l.onBeforeUnmount)(() => ma.dispose()), (t, n) => ((0, l.openBlock)(), (0, l.createElementBlock)("div", (0, l.mergeProps)({
28322
+ return (0, l.onBeforeUnmount)(() => ga.dispose()), (t, n) => ((0, l.openBlock)(), (0, l.createElementBlock)("div", (0, l.mergeProps)({
28361
28323
  ref_key: "viewerRootRef",
28362
- ref: wo,
28324
+ ref: No,
28363
28325
  class: ["pptx-vue-viewer", [
28364
28326
  v.class,
28365
- { "pptx-vue-reduced-motion": $o.value },
28366
- ...jo.value
28327
+ { "pptx-vue-reduced-motion": Wo.value },
28328
+ ...qo.value
28367
28329
  ]],
28368
28330
  "data-pptx-theme-root": "",
28369
28331
  "data-pptx-scope": "",
28370
28332
  "data-pptx-editor-chrome": "",
28371
28333
  style: (0, l.unref)(S)
28372
- }, (0, l.unref)(q).rootAttrs, {
28373
- "aria-busy": (0, l.unref)(te) ? "true" : "false",
28374
- tabindex: De.value ? 0 : void 0,
28375
- onKeydown: n[21] || (n[21] = (...e) => (0, l.unref)(Oo) && (0, l.unref)(Oo)(...e))
28334
+ }, (0, l.unref)(Y).rootAttrs, {
28335
+ "aria-busy": (0, l.unref)(ne) ? "true" : "false",
28336
+ tabindex: _e.value ? 0 : void 0,
28337
+ onKeydown: n[21] || (n[21] = (...e) => (0, l.unref)(Lo) && (0, l.unref)(Lo)(...e))
28376
28338
  }), [
28377
28339
  (0, l.createVNode)((0, l.unref)(R)),
28378
- (0, l.createVNode)((0, l.unref)(OG), { css: (0, l.unref)(q).css.value }, null, 8, ["css"]),
28379
- (0, l.unref)(te) ? ((0, l.openBlock)(), (0, l.createElementBlock)("div", HG, [n[22] || (n[22] = (0, l.createElementVNode)("div", {
28340
+ (0, l.createVNode)((0, l.unref)(OG), { css: (0, l.unref)(Y).css.value }, null, 8, ["css"]),
28341
+ (0, l.unref)(ne) ? ((0, l.openBlock)(), (0, l.createElementBlock)("div", HG, [n[22] || (n[22] = (0, l.createElementVNode)("div", {
28380
28342
  class: "pptx-vue-spinner",
28381
28343
  "aria-hidden": "true"
28382
- }, null, -1)), (0, l.createElementVNode)("p", null, (0, l.toDisplayString)((0, l.unref)(b)("pptx.viewer.loading")), 1)])) : (0, l.unref)(oe) ? ((0, l.openBlock)(), (0, l.createElementBlock)("div", GG, [(0, l.createElementVNode)("p", null, (0, l.toDisplayString)((0, l.unref)(b)("pptx.viewer.encrypted")), 1)])) : (0, l.unref)(ne) ? ((0, l.openBlock)(), (0, l.createElementBlock)("div", KG, [(0, l.createElementVNode)("p", null, (0, l.toDisplayString)((0, l.unref)(b)("pptx.viewer.loadError")), 1), (0, l.createElementVNode)("pre", $G, (0, l.toDisplayString)((0, l.unref)(ne)), 1)])) : ((0, l.openBlock)(), (0, l.createElementBlock)(l.Fragment, { key: 3 }, [
28383
- !(0, l.unref)(Ut).presenting.value && x.value.showToolbar ? ((0, l.openBlock)(), (0, l.createElementBlock)(l.Fragment, { key: 0 }, [
28384
- N.value.canEdit && (0, l.unref)(a.isEditingAllowed)((0, l.unref)(L).resolved.value) && Ve.value ? ((0, l.openBlock)(), (0, l.createElementBlock)("div", jG, [
28344
+ }, null, -1)), (0, l.createElementVNode)("p", null, (0, l.toDisplayString)((0, l.unref)(oe) ? (0, l.unref)(b)("pptx.viewer.loadingFonts", {
28345
+ loaded: (0, l.unref)(oe).loaded,
28346
+ total: (0, l.unref)(oe).total
28347
+ }) : (0, l.unref)(b)("pptx.viewer.loading")), 1)])) : (0, l.unref)(le) ? ((0, l.openBlock)(), (0, l.createElementBlock)("div", GG, [(0, l.createElementVNode)("p", null, (0, l.toDisplayString)((0, l.unref)(b)("pptx.viewer.encrypted")), 1)])) : (0, l.unref)(ae) ? ((0, l.openBlock)(), (0, l.createElementBlock)("div", KG, [(0, l.createElementVNode)("p", null, (0, l.toDisplayString)((0, l.unref)(b)("pptx.viewer.loadError")), 1), (0, l.createElementVNode)("pre", $G, (0, l.toDisplayString)((0, l.unref)(ae)), 1)])) : ((0, l.openBlock)(), (0, l.createElementBlock)(l.Fragment, { key: 3 }, [
28348
+ !(0, l.unref)(Gt).presenting.value && x.value.showToolbar ? ((0, l.openBlock)(), (0, l.createElementBlock)(l.Fragment, { key: 0 }, [
28349
+ N.value.canEdit && (0, l.unref)(a.isEditingAllowed)((0, l.unref)(L).resolved.value) && Fe.value ? ((0, l.openBlock)(), (0, l.createElementBlock)("div", jG, [
28385
28350
  (0, l.createVNode)((0, l.unref)(r.ShieldAlert), {
28386
28351
  class: "h-4 w-4 shrink-0 text-amber-400",
28387
28352
  "aria-hidden": "true"
@@ -28390,20 +28355,20 @@ var UG = ["aria-busy", "tabindex"], HG = {
28390
28355
  (0, l.createElementVNode)("button", {
28391
28356
  type: "button",
28392
28357
  class: "shrink-0 rounded border border-amber-600/50 px-3 py-1 text-xs font-medium text-amber-100 transition-colors hover:bg-amber-700/30",
28393
- onClick: Ie
28358
+ onClick: Ae
28394
28359
  }, (0, l.toDisplayString)((0, l.unref)(b)("pptx.security.enableEditing")), 1)
28395
28360
  ])) : (0, l.createCommentVNode)("", !0),
28396
- (0, l.unref)(Te).showBanner.value ? ((0, l.openBlock)(), (0, l.createBlock)(Ml, {
28361
+ (0, l.unref)(Pe).showBanner.value ? ((0, l.openBlock)(), (0, l.createBlock)(Ml, {
28397
28362
  key: 1,
28398
- kind: (0, l.unref)(Te).recommendation.value.kind,
28399
- "message-key": (0, l.unref)(Te).recommendation.value.messageKey,
28400
- "password-prompt-open": (0, l.unref)(Te).passwordPromptOpen.value,
28401
- "password-error": (0, l.unref)(Te).passwordError.value,
28402
- "checking-password": (0, l.unref)(Te).checkingPassword.value,
28403
- onEditAnyway: (0, l.unref)(Te).editAnyway,
28404
- onDismiss: (0, l.unref)(Te).dismiss,
28405
- onSubmitPassword: (0, l.unref)(Te).submitPassword,
28406
- onCancelPassword: (0, l.unref)(Te).cancelPasswordPrompt
28363
+ kind: (0, l.unref)(Pe).recommendation.value.kind,
28364
+ "message-key": (0, l.unref)(Pe).recommendation.value.messageKey,
28365
+ "password-prompt-open": (0, l.unref)(Pe).passwordPromptOpen.value,
28366
+ "password-error": (0, l.unref)(Pe).passwordError.value,
28367
+ "checking-password": (0, l.unref)(Pe).checkingPassword.value,
28368
+ onEditAnyway: (0, l.unref)(Pe).editAnyway,
28369
+ onDismiss: (0, l.unref)(Pe).dismiss,
28370
+ onSubmitPassword: (0, l.unref)(Pe).submitPassword,
28371
+ onCancelPassword: (0, l.unref)(Pe).cancelPasswordPrompt
28407
28372
  }, null, 8, [
28408
28373
  "kind",
28409
28374
  "message-key",
@@ -28415,31 +28380,31 @@ var UG = ["aria-busy", "tabindex"], HG = {
28415
28380
  "onSubmitPassword",
28416
28381
  "onCancelPassword"
28417
28382
  ])) : (0, l.createCommentVNode)("", !0),
28418
- !(0, l.unref)(Bo) && (0, l.unref)(H)("titleBar") ? ((0, l.openBlock)(), (0, l.createBlock)(ri, {
28383
+ !(0, l.unref)(Vo) && (0, l.unref)(G)("titleBar") ? ((0, l.openBlock)(), (0, l.createBlock)(ri, {
28419
28384
  key: 2,
28420
- mode: zo.value,
28421
- "can-edit": De.value,
28385
+ mode: Oo.value,
28386
+ "can-edit": _e.value,
28422
28387
  "file-name": N.value.fileName,
28423
- "is-dirty": (0, l.unref)($n).isDirty.value,
28424
- "autosave-status": (0, l.unref)(Xn) ? "disabled" : (0, l.unref)($n).status.value,
28425
- "autosave-enabled": (0, l.unref)(qn),
28426
- "autosave-disabled-reason": (0, l.unref)(Xn),
28427
- "autosave-toggle-available": (0, l.unref)(Zn),
28428
- "on-toggle-autosave": (0, l.unref)(Yn),
28429
- "can-undo": (0, l.unref)(rt).canUndo.value,
28430
- "undo-label": (0, l.unref)(rt).undoLabel.value,
28431
- "redo-label": (0, l.unref)(rt).redoLabel.value,
28432
- "can-redo": (0, l.unref)(rt).canRedo.value,
28433
- "on-undo": (0, l.unref)(rt).undo,
28434
- "on-redo": (0, l.unref)(rt).redo,
28388
+ "is-dirty": (0, l.unref)(qn).isDirty.value,
28389
+ "autosave-status": (0, l.unref)(Qn) ? "disabled" : (0, l.unref)(qn).status.value,
28390
+ "autosave-enabled": (0, l.unref)(Xn),
28391
+ "autosave-disabled-reason": (0, l.unref)(Qn),
28392
+ "autosave-toggle-available": (0, l.unref)(Jn),
28393
+ "on-toggle-autosave": (0, l.unref)(Zn),
28394
+ "can-undo": (0, l.unref)(st).canUndo.value,
28395
+ "undo-label": (0, l.unref)(st).undoLabel.value,
28396
+ "redo-label": (0, l.unref)(st).redoLabel.value,
28397
+ "can-redo": (0, l.unref)(st).canRedo.value,
28398
+ "on-undo": (0, l.unref)(st).undo,
28399
+ "on-redo": (0, l.unref)(st).redo,
28435
28400
  "on-save": () => {
28436
- (0, l.unref)(Wt).save();
28401
+ (0, l.unref)(Yt).save();
28437
28402
  },
28438
- "find-replace-open": Kt.value,
28439
- "on-toggle-find-replace": () => Kt.value = !Kt.value,
28440
- "on-command-search": (0, l.unref)(ia),
28441
- "on-quick-command": (0, l.unref)(sa),
28442
- "hidden-actions": (0, l.unref)(K)
28403
+ "find-replace-open": Wt.value,
28404
+ "on-toggle-find-replace": () => Wt.value = !Wt.value,
28405
+ "on-command-search": (0, l.unref)(ca),
28406
+ "on-quick-command": (0, l.unref)(da),
28407
+ "hidden-actions": (0, l.unref)($)
28443
28408
  }, null, 8, [
28444
28409
  "mode",
28445
28410
  "can-edit",
@@ -28463,14 +28428,14 @@ var UG = ["aria-busy", "tabindex"], HG = {
28463
28428
  "on-quick-command",
28464
28429
  "hidden-actions"
28465
28430
  ])) : (0, l.createCommentVNode)("", !0),
28466
- (0, l.unref)(Bo) ? ((0, l.openBlock)(), (0, l.createBlock)(wl, (0, l.mergeProps)({ key: 4 }, (0, l.unref)(ca), {
28467
- "hidden-actions": (0, l.unref)(K),
28431
+ (0, l.unref)(Vo) ? ((0, l.openBlock)(), (0, l.createBlock)(wl, (0, l.mergeProps)({ key: 4 }, (0, l.unref)(pa), {
28432
+ "hidden-actions": (0, l.unref)($),
28468
28433
  "recent-presentations-count": (0, l.unref)(M).advanced.recentPresentationsCount,
28469
- "ai-enabled": (0, l.unref)($),
28470
- "is-ai-panel-open": ut.value,
28471
- "on-toggle-ai-panel": () => ut.value = !ut.value,
28472
- "insert-open": (0, l.unref)(Po).mobileInsertOpen.value,
28473
- onCloseInsert: n[0] || (n[0] = (e) => (0, l.unref)(Po).mobileInsertOpen.value = !1)
28434
+ "ai-enabled": (0, l.unref)(j),
28435
+ "is-ai-panel-open": vt.value,
28436
+ "on-toggle-ai-panel": () => vt.value = !vt.value,
28437
+ "insert-open": (0, l.unref)(Io).mobileInsertOpen.value,
28438
+ onCloseInsert: n[0] || (n[0] = (e) => (0, l.unref)(Io).mobileInsertOpen.value = !1)
28474
28439
  }), null, 16, [
28475
28440
  "hidden-actions",
28476
28441
  "recent-presentations-count",
@@ -28478,12 +28443,12 @@ var UG = ["aria-busy", "tabindex"], HG = {
28478
28443
  "is-ai-panel-open",
28479
28444
  "on-toggle-ai-panel",
28480
28445
  "insert-open"
28481
- ])) : ((0, l.openBlock)(), (0, l.createElementBlock)(l.Fragment, { key: 3 }, [(0, l.createVNode)(ni, (0, l.mergeProps)((0, l.unref)(ca), {
28482
- "hidden-actions": (0, l.unref)(K),
28446
+ ])) : ((0, l.openBlock)(), (0, l.createElementBlock)(l.Fragment, { key: 3 }, [(0, l.createVNode)(ni, (0, l.mergeProps)((0, l.unref)(pa), {
28447
+ "hidden-actions": (0, l.unref)($),
28483
28448
  "recent-presentations-count": (0, l.unref)(M).advanced.recentPresentationsCount,
28484
- "ai-enabled": (0, l.unref)($),
28485
- "is-ai-panel-open": ut.value,
28486
- "on-toggle-ai-panel": () => ut.value = !ut.value
28449
+ "ai-enabled": (0, l.unref)(j),
28450
+ "is-ai-panel-open": vt.value,
28451
+ "on-toggle-ai-panel": () => vt.value = !vt.value
28487
28452
  }), null, 16, [
28488
28453
  "hidden-actions",
28489
28454
  "recent-presentations-count",
@@ -28492,11 +28457,11 @@ var UG = ["aria-busy", "tabindex"], HG = {
28492
28457
  "on-toggle-ai-panel"
28493
28458
  ]), (0, l.createVNode)(ri, {
28494
28459
  placement: "belowRibbon",
28495
- mode: zo.value,
28496
- "can-edit": De.value,
28497
- "is-dirty": (0, l.unref)($n).isDirty.value,
28498
- "autosave-enabled": (0, l.unref)(qn),
28499
- "on-quick-command": (0, l.unref)(sa)
28460
+ mode: Oo.value,
28461
+ "can-edit": _e.value,
28462
+ "is-dirty": (0, l.unref)(qn).isDirty.value,
28463
+ "autosave-enabled": (0, l.unref)(Xn),
28464
+ "on-quick-command": (0, l.unref)(da)
28500
28465
  }, null, 8, [
28501
28466
  "mode",
28502
28467
  "can-edit",
@@ -28507,44 +28472,44 @@ var UG = ["aria-busy", "tabindex"], HG = {
28507
28472
  ], 64)) : (0, l.createCommentVNode)("", !0),
28508
28473
  (0, l.createElementVNode)("input", {
28509
28474
  ref_key: "imageInputRef",
28510
- ref: Tt,
28475
+ ref: Pt,
28511
28476
  type: "file",
28512
28477
  accept: "image/*",
28513
28478
  "aria-hidden": "true",
28514
28479
  style: { display: "none" },
28515
- onChange: n[1] || (n[1] = (...e) => (0, l.unref)(Vt).onImageFileSelected && (0, l.unref)(Vt).onImageFileSelected(...e))
28480
+ onChange: n[1] || (n[1] = (...e) => (0, l.unref)(Ft).onImageFileSelected && (0, l.unref)(Ft).onImageFileSelected(...e))
28516
28481
  }, null, 544),
28517
28482
  (0, l.createElementVNode)("input", {
28518
28483
  ref_key: "mediaInputRef",
28519
- ref: Ft,
28484
+ ref: Dt,
28520
28485
  type: "file",
28521
28486
  accept: "audio/*,video/*",
28522
28487
  "aria-hidden": "true",
28523
28488
  style: { display: "none" },
28524
- onChange: n[2] || (n[2] = (...e) => (0, l.unref)(Vt).onMediaFileSelected && (0, l.unref)(Vt).onMediaFileSelected(...e))
28489
+ onChange: n[2] || (n[2] = (...e) => (0, l.unref)(Ft).onMediaFileSelected && (0, l.unref)(Ft).onMediaFileSelected(...e))
28525
28490
  }, null, 544),
28526
- De.value && Kt.value && (0, l.unref)(H)("findReplace") ? ((0, l.openBlock)(), (0, l.createBlock)(ie, {
28491
+ _e.value && Wt.value && (0, l.unref)(G)("findReplace") ? ((0, l.openBlock)(), (0, l.createBlock)(ie, {
28527
28492
  key: 1,
28528
- query: (0, l.unref)($t).query.value,
28529
- "onUpdate:query": n[3] || (n[3] = (e) => (0, l.unref)($t).query.value = e),
28530
- replacement: (0, l.unref)($t).replacement.value,
28531
- "onUpdate:replacement": n[4] || (n[4] = (e) => (0, l.unref)($t).replacement.value = e),
28532
- "match-case": (0, l.unref)($t).matchCase.value,
28533
- "onUpdate:matchCase": n[5] || (n[5] = (e) => (0, l.unref)($t).matchCase.value = e),
28534
- "include-notes": (0, l.unref)($t).includeNotes.value,
28535
- "onUpdate:includeNotes": n[6] || (n[6] = (e) => (0, l.unref)($t).includeNotes.value = e),
28536
- "include-chart-titles": (0, l.unref)($t).includeChartTitles.value,
28537
- "onUpdate:includeChartTitles": n[7] || (n[7] = (e) => (0, l.unref)($t).includeChartTitles.value = e),
28538
- "include-chart-data": (0, l.unref)($t).includeChartData.value,
28539
- "onUpdate:includeChartData": n[8] || (n[8] = (e) => (0, l.unref)($t).includeChartData.value = e),
28540
- "match-count": (0, l.unref)($t).matchCount.value,
28541
- "current-index": (0, l.unref)($t).currentMatch.value,
28542
- matches: (0, l.unref)($t).matches.value,
28543
- onNext: (0, l.unref)($t).next,
28544
- onPrev: (0, l.unref)($t).prev,
28545
- onReplace: (0, l.unref)($t).replaceCurrent,
28546
- onReplaceAll: (0, l.unref)($t).replaceAll,
28547
- onClose: n[9] || (n[9] = (e) => Kt.value = !1)
28493
+ query: (0, l.unref)(qt).query.value,
28494
+ "onUpdate:query": n[3] || (n[3] = (e) => (0, l.unref)(qt).query.value = e),
28495
+ replacement: (0, l.unref)(qt).replacement.value,
28496
+ "onUpdate:replacement": n[4] || (n[4] = (e) => (0, l.unref)(qt).replacement.value = e),
28497
+ "match-case": (0, l.unref)(qt).matchCase.value,
28498
+ "onUpdate:matchCase": n[5] || (n[5] = (e) => (0, l.unref)(qt).matchCase.value = e),
28499
+ "include-notes": (0, l.unref)(qt).includeNotes.value,
28500
+ "onUpdate:includeNotes": n[6] || (n[6] = (e) => (0, l.unref)(qt).includeNotes.value = e),
28501
+ "include-chart-titles": (0, l.unref)(qt).includeChartTitles.value,
28502
+ "onUpdate:includeChartTitles": n[7] || (n[7] = (e) => (0, l.unref)(qt).includeChartTitles.value = e),
28503
+ "include-chart-data": (0, l.unref)(qt).includeChartData.value,
28504
+ "onUpdate:includeChartData": n[8] || (n[8] = (e) => (0, l.unref)(qt).includeChartData.value = e),
28505
+ "match-count": (0, l.unref)(qt).matchCount.value,
28506
+ "current-index": (0, l.unref)(qt).currentMatch.value,
28507
+ matches: (0, l.unref)(qt).matches.value,
28508
+ onNext: (0, l.unref)(qt).next,
28509
+ onPrev: (0, l.unref)(qt).prev,
28510
+ onReplace: (0, l.unref)(qt).replaceCurrent,
28511
+ onReplaceAll: (0, l.unref)(qt).replaceAll,
28512
+ onClose: n[9] || (n[9] = (e) => Wt.value = !1)
28548
28513
  }, null, 8, [
28549
28514
  "query",
28550
28515
  "replacement",
@@ -28561,25 +28526,25 @@ var UG = ["aria-busy", "tabindex"], HG = {
28561
28526
  "onReplaceAll"
28562
28527
  ])) : (0, l.createCommentVNode)("", !0),
28563
28528
  (0, l.withDirectives)((0, l.createElementVNode)("div", qG, [
28564
- (0, l.unref)(Bo) || (0, l.unref)(Nn) || (0, l.unref)(Ut).presenting.value || !x.value.showThumbnails || !(0, l.unref)(H)("slidesPane") ? (0, l.createCommentVNode)("", !0) : ((0, l.openBlock)(), (0, l.createBlock)(wG, {
28529
+ (0, l.unref)(Vo) || (0, l.unref)(Tn) || (0, l.unref)(Gt).presenting.value || !x.value.showThumbnails || !(0, l.unref)(G)("slidesPane") ? (0, l.createCommentVNode)("", !0) : ((0, l.openBlock)(), (0, l.createBlock)(wG, {
28565
28530
  key: 0,
28566
- "merged-slides": (0, l.unref)(ot),
28567
- "active-slide-index": (0, l.unref)(Me),
28568
- "canvas-size": (0, l.unref)(J),
28569
- "media-data-urls": (0, l.unref)(ee),
28570
- "can-edit": De.value,
28571
- "has-sections": Co.value,
28572
- "section-ops": (0, l.unref)(Eo),
28573
- "slide-ops": (0, l.unref)(Mt),
28574
- "go-to": (0, l.unref)(Le),
28575
- "toggle-slide-hidden": (0, l.unref)(an),
28576
- "header-footer": (0, l.unref)(he),
28577
- "custom-properties": (0, l.unref)(le),
28578
- "first-slide-number": (0, l.unref)(X).firstSlideNumber.value,
28579
- theme: (0, l.unref)(Se),
28580
- "table-style-map": (0, l.unref)(ue),
28531
+ "merged-slides": (0, l.unref)(lt),
28532
+ "active-slide-index": (0, l.unref)(Re),
28533
+ "canvas-size": (0, l.unref)(ee),
28534
+ "media-data-urls": (0, l.unref)(te),
28535
+ "can-edit": _e.value,
28536
+ "has-sections": Bo.value,
28537
+ "section-ops": (0, l.unref)(wo),
28538
+ "slide-ops": (0, l.unref)(Rt),
28539
+ "go-to": (0, l.unref)(He),
28540
+ "toggle-slide-hidden": (0, l.unref)(rn),
28541
+ "header-footer": (0, l.unref)(ke),
28542
+ "custom-properties": (0, l.unref)(se),
28543
+ "first-slide-number": (0, l.unref)(Z).firstSlideNumber.value,
28544
+ theme: (0, l.unref)(Ce),
28545
+ "table-style-map": (0, l.unref)(ve),
28581
28546
  "on-open-layout-for-slide": (e, t, n) => {
28582
- (0, l.unref)(Le)(e), zn.value = {
28547
+ (0, l.unref)(He)(e), On.value = {
28583
28548
  x: t,
28584
28549
  y: n
28585
28550
  };
@@ -28604,64 +28569,64 @@ var UG = ["aria-busy", "tabindex"], HG = {
28604
28569
  ])),
28605
28570
  (0, l.createElementVNode)("main", {
28606
28571
  ref_key: "mainRef",
28607
- ref: To,
28608
- class: (0, l.normalizeClass)(["pptx-vue-main", { "is-editable": De.value }]),
28609
- "data-pptx-ai-active": (0, l.unref)(j) && (0, l.unref)(mt).canvasAnimating.value ? "true" : void 0,
28610
- onPointerdown: n[11] || (n[11] = (...e) => (0, l.unref)(Ct) && (0, l.unref)(Ct)(...e)),
28611
- onDblclickCapture: n[12] || (n[12] = (...e) => (0, l.unref)(Et) && (0, l.unref)(Et)(...e)),
28612
- onContextmenu: n[13] || (n[13] = (...e) => (0, l.unref)(Hn) && (0, l.unref)(Hn)(...e)),
28613
- onPointermove: n[14] || (n[14] = (...e) => (0, l.unref)(ao).onCollabPointerMove && (0, l.unref)(ao).onCollabPointerMove(...e)),
28614
- onTouchstart: n[15] || (n[15] = (...e) => (0, l.unref)(Ye).onTouchStart && (0, l.unref)(Ye).onTouchStart(...e)),
28615
- onTouchend: n[16] || (n[16] = (...e) => (0, l.unref)(Ye).onTouchEnd && (0, l.unref)(Ye).onTouchEnd(...e))
28572
+ ref: Po,
28573
+ class: (0, l.normalizeClass)(["pptx-vue-main", { "is-editable": _e.value }]),
28574
+ "data-pptx-ai-active": (0, l.unref)(W) && (0, l.unref)(gt).canvasAnimating.value ? "true" : void 0,
28575
+ onPointerdown: n[11] || (n[11] = (...e) => (0, l.unref)(Bt) && (0, l.unref)(Bt)(...e)),
28576
+ onDblclickCapture: n[12] || (n[12] = (...e) => (0, l.unref)(wt) && (0, l.unref)(wt)(...e)),
28577
+ onContextmenu: n[13] || (n[13] = (...e) => (0, l.unref)(Kn) && (0, l.unref)(Kn)(...e)),
28578
+ onPointermove: n[14] || (n[14] = (...e) => (0, l.unref)(io).onCollabPointerMove && (0, l.unref)(io).onCollabPointerMove(...e)),
28579
+ onTouchstart: n[15] || (n[15] = (...e) => (0, l.unref)(Ze).onTouchStart && (0, l.unref)(Ze).onTouchStart(...e)),
28580
+ onTouchend: n[16] || (n[16] = (...e) => (0, l.unref)(Ze).onTouchEnd && (0, l.unref)(Ze).onTouchEnd(...e))
28616
28581
  }, [(0, l.createVNode)(xi, {
28617
- slide: (0, l.unref)(Re),
28618
- "canvas-size": (0, l.unref)(J),
28619
- "media-data-urls": (0, l.unref)(ee),
28620
- zoom: (0, l.unref)($e),
28582
+ slide: (0, l.unref)(Ue),
28583
+ "canvas-size": (0, l.unref)(ee),
28584
+ "media-data-urls": (0, l.unref)(te),
28585
+ zoom: (0, l.unref)(We),
28621
28586
  "fit-padding": v.fitPadding,
28622
28587
  "max-fit-scale": v.maxFitScale,
28623
- "show-rulers": (0, l.unref)(Fn) && !(0, l.unref)(Ut).presenting.value,
28624
- "ruler-selected-bounds": (0, l.unref)(Xe).rulerSelectedBounds.value,
28625
- "can-drag-guides": De.value && !(0, l.unref)(Ut).presenting.value,
28626
- "template-elements": (0, l.unref)(et),
28627
- "edit-template-mode": (0, l.unref)(Je) && !(0, l.unref)(Ut).presenting.value,
28628
- "inline-editing-element-id": (0, l.unref)(ht).inlineEditingElementId.value,
28629
- "selected-element-ids": (0, l.unref)(Xe).selectedElementIds.value,
28630
- "onUpdate:fitScale": n[10] || (n[10] = (e) => Ke.value = e),
28631
- onCreateGuide: (0, l.unref)(Nt).addGuide
28588
+ "show-rulers": (0, l.unref)(In) && !(0, l.unref)(Gt).presenting.value,
28589
+ "ruler-selected-bounds": (0, l.unref)(Qe).rulerSelectedBounds.value,
28590
+ "can-drag-guides": _e.value && !(0, l.unref)(Gt).presenting.value,
28591
+ "template-elements": (0, l.unref)(nt),
28592
+ "edit-template-mode": (0, l.unref)(tt) && !(0, l.unref)(Gt).presenting.value,
28593
+ "inline-editing-element-id": (0, l.unref)(kt).inlineEditingElementId.value,
28594
+ "selected-element-ids": (0, l.unref)(Qe).selectedElementIds.value,
28595
+ "onUpdate:fitScale": n[10] || (n[10] = (e) => je.value = e),
28596
+ onCreateGuide: (0, l.unref)(Tt).addGuide
28632
28597
  }, {
28633
28598
  default: (0, l.withCtx)(() => [(0, l.createVNode)(Ys, {
28634
28599
  ref_key: "canvasOverlaysRef",
28635
- ref: Fo,
28636
- "can-edit": De.value,
28637
- presenting: (0, l.unref)(Ut).presenting.value,
28638
- "canvas-size": (0, l.unref)(J),
28639
- "effective-zoom": (0, l.unref)($e),
28640
- "active-slide": (0, l.unref)(Re),
28641
- "active-slide-index": (0, l.unref)(Me),
28642
- "selected-elements": (0, l.unref)(nt),
28643
- "selected-element-ids": (0, l.unref)(Qe),
28644
- marquee: (0, l.unref)(ct),
28645
- "active-comments": (0, l.unref)(oo).activeComments.value,
28646
- "on-comment-marker-click": (0, l.unref)(oo).onCommentMarkerClick,
28647
- "show-grid": (0, l.unref)(Tn),
28648
- "grid-spacing-px": Bt.value,
28649
- "show-guides": (0, l.unref)(Pn),
28650
- drag: (0, l.unref)(Nt),
28651
- "inline-edit": (0, l.unref)(ht),
28652
- inspector: (0, l.unref)(zt),
28653
- collaboration: (0, l.unref)(ao),
28654
- "spell-check-enabled": (0, l.unref)(In),
28655
- "drawing-active": (0, l.unref)(Jo),
28656
- "active-tool": (0, l.unref)(En),
28657
- "drawing-color": (0, l.unref)(Cn),
28658
- "drawing-width": (0, l.unref)(wn),
28659
- "on-stroke": (0, l.unref)(ea),
28660
- "on-erase": (0, l.unref)(ta),
28661
- ai: (0, l.unref)(j),
28662
- "ai-panel": (0, l.unref)(mt),
28663
- "on-request-edit": (0, l.unref)(St),
28664
- "on-format": (0, l.unref)(_o)
28600
+ ref: Do,
28601
+ "can-edit": _e.value,
28602
+ presenting: (0, l.unref)(Gt).presenting.value,
28603
+ "canvas-size": (0, l.unref)(ee),
28604
+ "effective-zoom": (0, l.unref)(We),
28605
+ "active-slide": (0, l.unref)(Ue),
28606
+ "active-slide-index": (0, l.unref)(Re),
28607
+ "selected-elements": (0, l.unref)(at),
28608
+ "selected-element-ids": (0, l.unref)(et),
28609
+ marquee: (0, l.unref)(pt),
28610
+ "active-comments": (0, l.unref)(lo).activeComments.value,
28611
+ "on-comment-marker-click": (0, l.unref)(lo).onCommentMarkerClick,
28612
+ "show-grid": (0, l.unref)(Pn),
28613
+ "grid-spacing-px": Vt.value,
28614
+ "show-guides": (0, l.unref)(_n),
28615
+ drag: (0, l.unref)(Tt),
28616
+ "inline-edit": (0, l.unref)(kt),
28617
+ inspector: (0, l.unref)(Ot),
28618
+ collaboration: (0, l.unref)(io),
28619
+ "spell-check-enabled": (0, l.unref)(An),
28620
+ "drawing-active": (0, l.unref)(ta),
28621
+ "active-tool": (0, l.unref)(wn),
28622
+ "drawing-color": (0, l.unref)(Bn),
28623
+ "drawing-width": (0, l.unref)(Nn),
28624
+ "on-stroke": (0, l.unref)(na),
28625
+ "on-erase": (0, l.unref)(oa),
28626
+ ai: (0, l.unref)(W),
28627
+ "ai-panel": (0, l.unref)(gt),
28628
+ "on-request-edit": (0, l.unref)(Ct),
28629
+ "on-format": (0, l.unref)(zo)
28665
28630
  }, null, 8, [
28666
28631
  "can-edit",
28667
28632
  "presenting",
@@ -28710,41 +28675,41 @@ var UG = ["aria-busy", "tabindex"], HG = {
28710
28675
  "selected-element-ids",
28711
28676
  "onCreateGuide"
28712
28677
  ])], 42, YG),
28713
- (0, l.unref)(Ut).presenting.value ? (0, l.createCommentVNode)("", !0) : ((0, l.openBlock)(), (0, l.createBlock)(dG, {
28678
+ (0, l.unref)(Gt).presenting.value ? (0, l.createCommentVNode)("", !0) : ((0, l.openBlock)(), (0, l.createBlock)(dG, {
28714
28679
  key: 1,
28715
- deck: (0, l.unref)(X),
28716
- "can-edit": De.value,
28717
- "edit-template-mode": (0, l.unref)(Je),
28718
- "is-mobile": (0, l.unref)(Bo),
28719
- "inspector-open": (0, l.unref)(Bn),
28720
- "on-close-inspector": () => Bn.value = !1,
28721
- "inspector-element": (0, l.unref)(zt).inspectorElementForPanels.value,
28722
- "active-slide": (0, l.unref)(Re),
28723
- "slide-count": (0, l.unref)(Oe),
28724
- "author-name": no.value,
28725
- "selected-element-ids": (0, l.unref)(Qe),
28726
- "deck-actions": (0, l.unref)(Jn),
28727
- comments: (0, l.unref)(oo),
28728
- accessibility: (0, l.unref)(nn),
28729
- "show-a11y": tn.value,
28730
- "signature-workflow": (0, l.unref)(io),
28731
- "selection-pane": (0, l.unref)(go),
28732
- collaboration: (0, l.unref)(ao),
28733
- "custom-shows": (0, l.unref)(ho),
28734
- ai: (0, l.unref)(j),
28735
- "ai-chat-panel": (0, l.unref)(W),
28736
- "ai-panel-open": ut.value,
28737
- "on-close-ai-panel": () => ut.value = !1,
28738
- "ai-panel": (0, l.unref)(mt),
28739
- "ai-bridge": (0, l.unref)(aa),
28740
- "ribbon-mode": zo.value,
28741
- "go-to": (0, l.unref)(Le),
28742
- "on-inspector-update": (0, l.unref)(zt).onInspectorUpdate,
28743
- "on-update-slide-animations": (0, l.unref)(zt).writeSlideAnimations,
28744
- "on-table-style-map-change": (0, l.unref)(eo).onTableStyleMapChange,
28745
- "on-delete-table-style": (0, l.unref)(eo).onDeleteTableStyle,
28746
- "on-slide-update": (0, l.unref)(ln),
28747
- "on-presentation-update": (0, l.unref)(co).onPresentationPropertiesUpdate
28680
+ deck: (0, l.unref)(Z),
28681
+ "can-edit": _e.value,
28682
+ "edit-template-mode": (0, l.unref)(tt),
28683
+ "is-mobile": (0, l.unref)(Vo),
28684
+ "inspector-open": (0, l.unref)(Vn),
28685
+ "on-close-inspector": () => Vn.value = !1,
28686
+ "inspector-element": (0, l.unref)(Ot).inspectorElementForPanels.value,
28687
+ "active-slide": (0, l.unref)(Ue),
28688
+ "slide-count": (0, l.unref)(Le),
28689
+ "author-name": ao.value,
28690
+ "selected-element-ids": (0, l.unref)(et),
28691
+ "deck-actions": (0, l.unref)(no),
28692
+ comments: (0, l.unref)(lo),
28693
+ accessibility: (0, l.unref)(an),
28694
+ "show-a11y": on.value,
28695
+ "signature-workflow": (0, l.unref)(po),
28696
+ "selection-pane": (0, l.unref)(xo),
28697
+ collaboration: (0, l.unref)(io),
28698
+ "custom-shows": (0, l.unref)(ko),
28699
+ ai: (0, l.unref)(W),
28700
+ "ai-chat-panel": (0, l.unref)(q),
28701
+ "ai-panel-open": vt.value,
28702
+ "on-close-ai-panel": () => vt.value = !1,
28703
+ "ai-panel": (0, l.unref)(gt),
28704
+ "ai-bridge": (0, l.unref)(ra),
28705
+ "ribbon-mode": Oo.value,
28706
+ "go-to": (0, l.unref)(He),
28707
+ "on-inspector-update": (0, l.unref)(Ot).onInspectorUpdate,
28708
+ "on-update-slide-animations": (0, l.unref)(Ot).writeSlideAnimations,
28709
+ "on-table-style-map-change": (0, l.unref)(oo).onTableStyleMapChange,
28710
+ "on-delete-table-style": (0, l.unref)(oo).onDeleteTableStyle,
28711
+ "on-slide-update": (0, l.unref)(sn),
28712
+ "on-presentation-update": (0, l.unref)(mo).onPresentationPropertiesUpdate
28748
28713
  }, null, 8, [
28749
28714
  "deck",
28750
28715
  "can-edit",
@@ -28780,47 +28745,48 @@ var UG = ["aria-busy", "tabindex"], HG = {
28780
28745
  "on-slide-update",
28781
28746
  "on-presentation-update"
28782
28747
  ]))
28783
- ], 512), [[l.vShow, !(0, l.unref)(Ut).presenting.value]]),
28784
- De.value && !(0, l.unref)(Bo) && (0, l.unref)(Oe) > 0 && !(0, l.unref)(Ut).presenting.value && (0, l.unref)(H)("notes") ? ((0, l.openBlock)(), (0, l.createBlock)(Al, {
28748
+ ], 512), [[l.vShow, !(0, l.unref)(Gt).presenting.value]]),
28749
+ _e.value && !(0, l.unref)(Vo) && (0, l.unref)(Le) > 0 && !(0, l.unref)(Gt).presenting.value && (0, l.unref)(G)("notes") ? ((0, l.openBlock)(), (0, l.createBlock)(Al, {
28785
28750
  key: 2,
28786
28751
  ref_key: "notesPanel",
28787
- ref: Go,
28788
- slide: (0, l.unref)(Re),
28789
- expanded: (0, l.unref)(Vn),
28790
- "notes-style": (0, l.unref)(be)?.notesStyle,
28791
- onUpdate: (0, l.unref)(on),
28792
- onToggle: n[17] || (n[17] = (e) => Vn.value = !(0, l.unref)(Vn))
28752
+ ref: $o,
28753
+ slide: (0, l.unref)(Ue),
28754
+ expanded: (0, l.unref)(Fn),
28755
+ "notes-style": (0, l.unref)(Se)?.notesStyle,
28756
+ onUpdate: (0, l.unref)(ln),
28757
+ onToggle: n[17] || (n[17] = (e) => Fn.value = !(0, l.unref)(Fn))
28793
28758
  }, null, 8, [
28794
28759
  "slide",
28795
28760
  "expanded",
28796
28761
  "notes-style",
28797
28762
  "onUpdate"
28798
28763
  ])) : (0, l.createCommentVNode)("", !0),
28799
- !(0, l.unref)(Bo) && (0, l.unref)(Oe) > 0 && !(0, l.unref)(Ut).presenting.value && x.value.showToolbar && (0, l.unref)(H)("statusBar") ? ((0, l.openBlock)(), (0, l.createBlock)(ki, {
28764
+ !(0, l.unref)(Vo) && (0, l.unref)(Le) > 0 && !(0, l.unref)(Gt).presenting.value && x.value.showToolbar && (0, l.unref)(G)("statusBar") ? ((0, l.openBlock)(), (0, l.createBlock)(ki, {
28800
28765
  key: 3,
28801
- "slide-count": (0, l.unref)(Oe),
28802
- "active-slide-index": (0, l.unref)(Me),
28803
- "is-dirty": (0, l.unref)($n).isDirty.value,
28804
- "autosave-status": (0, l.unref)(Xn) ? "disabled" : (0, l.unref)(jn) ? (0, l.unref)($n).status.value : void 0,
28805
- "last-saved-at": (0, l.unref)($n).lastSavedAt.value,
28766
+ "slide-count": (0, l.unref)(Le),
28767
+ "active-slide-index": (0, l.unref)(Re),
28768
+ "is-dirty": (0, l.unref)(qn).isDirty.value,
28769
+ "autosave-status": (0, l.unref)(Qn) ? "disabled" : (0, l.unref)(Yn) ? (0, l.unref)(qn).status.value : void 0,
28770
+ "last-saved-at": (0, l.unref)(qn).lastSavedAt.value,
28806
28771
  "save-progress": (0, l.unref)(B),
28807
- scale: (0, l.unref)(Ge),
28808
- mode: zo.value,
28809
- "is-notes-expanded": (0, l.unref)(Vn),
28810
- "show-notes": De.value && (0, l.unref)(H)("notes"),
28811
- "hidden-actions": (0, l.unref)(K),
28812
- onZoomIn: (0, l.unref)(je),
28813
- onZoomOut: (0, l.unref)(We),
28814
- onZoomToFit: (0, l.unref)(qe),
28815
- onToggleNotes: n[18] || (n[18] = (e) => Vn.value = !(0, l.unref)(Vn)),
28816
- onToggleSlideSorter: n[19] || (n[19] = (e) => (0, l.unref)(en).showSorter.value = !0),
28817
- onSetMode: n[20] || (n[20] = (e) => "present" === e ? (0, l.unref)(Ut).startPresenting() : (0, l.unref)(Ut).presenting.value = !1)
28818
- }, (0, l.createSlots)({ _: 2 }, [(0, l.unref)(ao).collabActive.value && (0, l.unref)(G)("share") ? {
28772
+ "font-progress": (0, l.unref)(oe),
28773
+ scale: (0, l.unref)($e),
28774
+ mode: Oo.value,
28775
+ "is-notes-expanded": (0, l.unref)(Fn),
28776
+ "show-notes": _e.value && (0, l.unref)(G)("notes"),
28777
+ "hidden-actions": (0, l.unref)($),
28778
+ onZoomIn: (0, l.unref)(qe),
28779
+ onZoomOut: (0, l.unref)(Ye),
28780
+ onZoomToFit: (0, l.unref)(Xe),
28781
+ onToggleNotes: n[18] || (n[18] = (e) => Fn.value = !(0, l.unref)(Fn)),
28782
+ onToggleSlideSorter: n[19] || (n[19] = (e) => (0, l.unref)(nn).showSorter.value = !0),
28783
+ onSetMode: n[20] || (n[20] = (e) => "present" === e ? (0, l.unref)(Gt).startPresenting() : (0, l.unref)(Gt).presenting.value = !1)
28784
+ }, (0, l.createSlots)({ _: 2 }, [(0, l.unref)(io).collabActive.value && (0, l.unref)(K)("share") ? {
28819
28785
  name: "collaboration",
28820
28786
  fn: (0, l.withCtx)(() => [(0, l.createVNode)(z, {
28821
- status: (0, l.unref)(ao).collab.status.value,
28822
- "connected-count": (0, l.unref)(ao).collab.connectedCount.value,
28823
- onRetry: (0, l.unref)(ao).collab.retry
28787
+ status: (0, l.unref)(io).collab.status.value,
28788
+ "connected-count": (0, l.unref)(io).collab.connectedCount.value,
28789
+ onRetry: (0, l.unref)(io).collab.retry
28824
28790
  }, null, 8, [
28825
28791
  "status",
28826
28792
  "connected-count",
@@ -28834,6 +28800,7 @@ var UG = ["aria-busy", "tabindex"], HG = {
28834
28800
  "autosave-status",
28835
28801
  "last-saved-at",
28836
28802
  "save-progress",
28803
+ "font-progress",
28837
28804
  "scale",
28838
28805
  "mode",
28839
28806
  "is-notes-expanded",
@@ -28844,27 +28811,27 @@ var UG = ["aria-busy", "tabindex"], HG = {
28844
28811
  "onZoomToFit"
28845
28812
  ])) : (0, l.createCommentVNode)("", !0),
28846
28813
  (0, l.createVNode)(Zu, {
28847
- "can-edit": De.value,
28848
- theme: (0, l.unref)(Se),
28849
- "theme-gallery-open": (0, l.unref)(_n),
28850
- "on-close-theme-gallery": () => _n.value = !1,
28851
- "theme-editor-open": (0, l.unref)(An),
28852
- "on-close-theme-editor": () => An.value = !1,
28853
- "theme-editing": (0, l.unref)(na),
28854
- "context-menu": (0, l.unref)(Ln),
28855
- "context-items": (0, l.unref)(Un),
28856
- "on-context-select": (0, l.unref)(Gn),
28857
- "on-close-context-menu": () => (0, l.unref)(Ln).open = !1,
28858
- "canvas-context-menu": (0, l.unref)(Mn).canvasContextMenu.value,
28859
- "canvas-context-items": (0, l.unref)(Mn).canvasContextItems.value,
28860
- "on-canvas-context-select": (0, l.unref)(Mn).onCanvasContextSelect,
28861
- "on-close-canvas-context-menu": (0, l.unref)(Mn).closeCanvasContextMenu,
28862
- "layout-gallery": Rn.value,
28863
- hyperlink: (0, l.unref)(Gt),
28864
- "slide-count": (0, l.unref)(Oe),
28865
- collaboration: (0, l.unref)(ao),
28814
+ "can-edit": _e.value,
28815
+ theme: (0, l.unref)(Ce),
28816
+ "theme-gallery-open": (0, l.unref)(zn),
28817
+ "on-close-theme-gallery": () => zn.value = !1,
28818
+ "theme-editor-open": (0, l.unref)(Mn),
28819
+ "on-close-theme-editor": () => Mn.value = !1,
28820
+ "theme-editing": (0, l.unref)(aa),
28821
+ "context-menu": (0, l.unref)(Hn),
28822
+ "context-items": (0, l.unref)(Gn),
28823
+ "on-context-select": (0, l.unref)($n),
28824
+ "on-close-context-menu": () => (0, l.unref)(Hn).open = !1,
28825
+ "canvas-context-menu": (0, l.unref)(Rn).canvasContextMenu.value,
28826
+ "canvas-context-items": (0, l.unref)(Rn).canvasContextItems.value,
28827
+ "on-canvas-context-select": (0, l.unref)(Rn).onCanvasContextSelect,
28828
+ "on-close-canvas-context-menu": (0, l.unref)(Rn).closeCanvasContextMenu,
28829
+ "layout-gallery": Un.value,
28830
+ hyperlink: (0, l.unref)($t),
28831
+ "slide-count": (0, l.unref)(Le),
28832
+ collaboration: (0, l.unref)(io),
28866
28833
  "share-defaults": v.shareDefaults,
28867
- "paste-special": (0, l.unref)(Rt)
28834
+ "paste-special": (0, l.unref)(Ut)
28868
28835
  }, null, 8, [
28869
28836
  "can-edit",
28870
28837
  "theme",
@@ -28890,12 +28857,12 @@ var UG = ["aria-busy", "tabindex"], HG = {
28890
28857
  ]),
28891
28858
  (0, l.createVNode)(I, {
28892
28859
  prompt: (0, l.unref)(a.shouldShowAutosaveRecoveryPrompt)({
28893
- prompt: (0, l.unref)(Qn).prompt.value,
28894
- presenting: (0, l.unref)(Ut).presenting.value
28895
- }) ? (0, l.unref)(Qn).prompt.value : null,
28896
- discarding: (0, l.unref)(Qn).discarding.value,
28897
- onRestore: (0, l.unref)(Qn).restore,
28898
- onDiscard: (0, l.unref)(Qn).discard
28860
+ prompt: (0, l.unref)(eo).prompt.value,
28861
+ presenting: (0, l.unref)(Gt).presenting.value
28862
+ }) ? (0, l.unref)(eo).prompt.value : null,
28863
+ discarding: (0, l.unref)(eo).discarding.value,
28864
+ onRestore: (0, l.unref)(eo).restore,
28865
+ onDiscard: (0, l.unref)(eo).discard
28899
28866
  }, null, 8, [
28900
28867
  "prompt",
28901
28868
  "discarding",
@@ -28903,35 +28870,35 @@ var UG = ["aria-busy", "tabindex"], HG = {
28903
28870
  "onDiscard"
28904
28871
  ]),
28905
28872
  (0, l.createVNode)(dx, {
28906
- "custom-font-families": mo.value,
28907
- slides: (0, l.unref)(Z),
28908
- onCustomFontRegistered: vo,
28909
- "active-slide-index": (0, l.unref)(Me),
28910
- "canvas-size": (0, l.unref)(J),
28911
- "media-data-urls": (0, l.unref)(ee),
28912
- "core-properties": (0, l.unref)(ae),
28913
- "custom-properties": (0, l.unref)(le),
28914
- "app-properties": (0, l.unref)(ce),
28915
- "header-footer": (0, l.unref)(he),
28916
- "document-properties": (0, l.unref)(fo),
28917
- "version-history": (0, l.unref)(yo),
28918
- printer: (0, l.unref)(Jt),
28919
- "header-footer-dialog": (0, l.unref)(xo),
28920
- "show-shortcuts": (0, l.unref)(Mo),
28921
- "on-close-shortcuts": () => Mo.value = !1,
28922
- "show-settings": (0, l.unref)(Yo) && (0, l.unref)(G)("options"),
28923
- "on-close-settings": () => Yo.value = !1,
28873
+ "custom-font-families": go.value,
28874
+ slides: (0, l.unref)(Q),
28875
+ onCustomFontRegistered: fo,
28876
+ "active-slide-index": (0, l.unref)(Re),
28877
+ "canvas-size": (0, l.unref)(ee),
28878
+ "media-data-urls": (0, l.unref)(te),
28879
+ "core-properties": (0, l.unref)(re),
28880
+ "custom-properties": (0, l.unref)(se),
28881
+ "app-properties": (0, l.unref)(pe),
28882
+ "header-footer": (0, l.unref)(ke),
28883
+ "document-properties": (0, l.unref)(yo),
28884
+ "version-history": (0, l.unref)(bo),
28885
+ printer: (0, l.unref)(tn),
28886
+ "header-footer-dialog": (0, l.unref)(ho),
28887
+ "show-shortcuts": (0, l.unref)(Ro),
28888
+ "on-close-shortcuts": () => Ro.value = !1,
28889
+ "show-settings": (0, l.unref)(Zo) && (0, l.unref)(K)("options"),
28890
+ "on-close-settings": () => Zo.value = !1,
28924
28891
  "options-store": (0, l.unref)(A),
28925
28892
  "viewer-options": (0, l.unref)(M),
28926
- "addin-status": qo.value,
28893
+ "addin-status": Xo.value,
28927
28894
  "theme-key": (0, l.unref)(k).themeKey.value,
28928
28895
  "on-theme-select": (0, l.unref)(k).selectTheme,
28929
28896
  "locale-code": (0, l.unref)(k).localeCode.value,
28930
28897
  "on-locale-select": (0, l.unref)(k).selectLocale,
28931
28898
  "available-themes": v.availableThemes,
28932
28899
  "available-locales": (0, l.unref)(k).resolvedAvailableLocales.value,
28933
- "ai-enabled": (0, l.unref)($),
28934
- "on-clear-cache": Xo
28900
+ "ai-enabled": (0, l.unref)(j),
28901
+ "on-clear-cache": Qo
28935
28902
  }, null, 8, [
28936
28903
  "custom-font-families",
28937
28904
  "slides",
@@ -28961,19 +28928,19 @@ var UG = ["aria-busy", "tabindex"], HG = {
28961
28928
  "available-locales",
28962
28929
  "ai-enabled"
28963
28930
  ]),
28964
- (0, l.unref)(ko).showMasterView.value ? ((0, l.openBlock)(), (0, l.createBlock)(jt, {
28931
+ (0, l.unref)(Eo).showMasterView.value ? ((0, l.openBlock)(), (0, l.createBlock)(jt, {
28965
28932
  key: 4,
28966
28933
  ref_key: "masterInlineEditor",
28967
- ref: bt,
28968
- state: (0, l.unref)(ko),
28969
- crud: (0, l.unref)(So),
28970
- "slide-masters": (0, l.unref)(me),
28971
- "canvas-size": (0, l.unref)(J),
28972
- "media-data-urls": (0, l.unref)(ee),
28973
- "notes-master": (0, l.unref)(be),
28974
- "notes-canvas-size": (0, l.unref)(X).notesCanvasSize.value,
28975
- "handout-master": (0, l.unref)(ke),
28976
- "can-edit": De.value,
28934
+ ref: St,
28935
+ state: (0, l.unref)(Eo),
28936
+ crud: (0, l.unref)(Co),
28937
+ "slide-masters": (0, l.unref)(ge),
28938
+ "canvas-size": (0, l.unref)(ee),
28939
+ "media-data-urls": (0, l.unref)(te),
28940
+ "notes-master": (0, l.unref)(Se),
28941
+ "notes-canvas-size": (0, l.unref)(Z).notesCanvasSize.value,
28942
+ "handout-master": (0, l.unref)(Ee),
28943
+ "can-edit": _e.value,
28977
28944
  "list-conversion-scope": v.listConversionScope
28978
28945
  }, null, 8, [
28979
28946
  "state",
@@ -28988,18 +28955,18 @@ var UG = ["aria-busy", "tabindex"], HG = {
28988
28955
  "list-conversion-scope"
28989
28956
  ])) : (0, l.createCommentVNode)("", !0),
28990
28957
  (0, l.createVNode)(rp, {
28991
- collaboration: (0, l.unref)(ao),
28958
+ collaboration: (0, l.unref)(io),
28992
28959
  "broadcast-server-url": v.shareDefaults?.serverUrl,
28993
- "slide-show": (0, l.unref)(co),
28994
- "presentation-properties": (0, l.unref)(xe),
28995
- "custom-shows": (0, l.unref)(ge),
28996
- "slide-count": (0, l.unref)(Oe),
28960
+ "slide-show": (0, l.unref)(mo),
28961
+ "presentation-properties": (0, l.unref)(he),
28962
+ "custom-shows": (0, l.unref)(xe),
28963
+ "slide-count": (0, l.unref)(Le),
28997
28964
  password: (0, l.unref)(_),
28998
- "font-embedding": (0, l.unref)(po),
28999
- "insert-dialogs": (0, l.unref)(kt),
29000
- "signature-workflow": (0, l.unref)(io),
29001
- "signature-count": (0, l.unref)(pe).length,
29002
- "deck-actions": (0, l.unref)(Jn)
28965
+ "font-embedding": (0, l.unref)(vo),
28966
+ "insert-dialogs": (0, l.unref)(Et),
28967
+ "signature-workflow": (0, l.unref)(po),
28968
+ "signature-count": (0, l.unref)(me).length,
28969
+ "deck-actions": (0, l.unref)(no)
29003
28970
  }, null, 8, [
29004
28971
  "collaboration",
29005
28972
  "broadcast-server-url",
@@ -29014,35 +28981,35 @@ var UG = ["aria-busy", "tabindex"], HG = {
29014
28981
  "signature-count",
29015
28982
  "deck-actions"
29016
28983
  ]),
29017
- (0, l.unref)(Bo) && !(0, l.unref)(Ut).presenting.value && x.value.showToolbar ? ((0, l.openBlock)(), (0, l.createBlock)(dR, {
28984
+ (0, l.unref)(Vo) && !(0, l.unref)(Gt).presenting.value && x.value.showToolbar ? ((0, l.openBlock)(), (0, l.createBlock)(dR, {
29018
28985
  key: 5,
29019
- chrome: (0, l.unref)(Po),
29020
- deck: (0, l.unref)(X),
29021
- "slide-ops": (0, l.unref)(Mt),
29022
- comments: (0, l.unref)(oo),
29023
- "deck-actions": (0, l.unref)(Jn),
29024
- "edit-template-mode": (0, l.unref)(Je),
29025
- "merged-slides": (0, l.unref)(ot),
29026
- "active-slide": (0, l.unref)(Re),
29027
- "active-slide-index": (0, l.unref)(Me),
29028
- "slide-count": (0, l.unref)(Oe),
29029
- "active-comments": (0, l.unref)(oo).activeComments.value,
29030
- "can-edit": De.value,
29031
- "keyboard-inset": (0, l.unref)(Vo),
29032
- "inspector-element": (0, l.unref)(zt).inspectorElementForPanels.value,
29033
- "author-name": no.value,
29034
- "notes-master": (0, l.unref)(be),
29035
- "go-to": (0, l.unref)(Le),
29036
- "toggle-slide-hidden": (0, l.unref)(an),
29037
- "on-add-section": (0, l.unref)(Eo).addSection,
29038
- "on-notes-update": (0, l.unref)(on),
29039
- "on-inspector-update": (0, l.unref)(zt).onInspectorUpdate,
29040
- "on-update-slide-animations": (0, l.unref)(zt).writeSlideAnimations,
29041
- "on-table-style-map-change": (0, l.unref)(eo).onTableStyleMapChange,
29042
- "on-delete-table-style": (0, l.unref)(eo).onDeleteTableStyle,
29043
- "on-slide-update": (0, l.unref)(ln),
29044
- "on-presentation-update": (0, l.unref)(co).onPresentationPropertiesUpdate,
29045
- "on-select-element": (0, l.unref)(go).onSelectionPaneSelect
28986
+ chrome: (0, l.unref)(Io),
28987
+ deck: (0, l.unref)(Z),
28988
+ "slide-ops": (0, l.unref)(Rt),
28989
+ comments: (0, l.unref)(lo),
28990
+ "deck-actions": (0, l.unref)(no),
28991
+ "edit-template-mode": (0, l.unref)(tt),
28992
+ "merged-slides": (0, l.unref)(lt),
28993
+ "active-slide": (0, l.unref)(Ue),
28994
+ "active-slide-index": (0, l.unref)(Re),
28995
+ "slide-count": (0, l.unref)(Le),
28996
+ "active-comments": (0, l.unref)(lo).activeComments.value,
28997
+ "can-edit": _e.value,
28998
+ "keyboard-inset": (0, l.unref)(Fo),
28999
+ "inspector-element": (0, l.unref)(Ot).inspectorElementForPanels.value,
29000
+ "author-name": ao.value,
29001
+ "notes-master": (0, l.unref)(Se),
29002
+ "go-to": (0, l.unref)(He),
29003
+ "toggle-slide-hidden": (0, l.unref)(rn),
29004
+ "on-add-section": (0, l.unref)(wo).addSection,
29005
+ "on-notes-update": (0, l.unref)(ln),
29006
+ "on-inspector-update": (0, l.unref)(Ot).onInspectorUpdate,
29007
+ "on-update-slide-animations": (0, l.unref)(Ot).writeSlideAnimations,
29008
+ "on-table-style-map-change": (0, l.unref)(oo).onTableStyleMapChange,
29009
+ "on-delete-table-style": (0, l.unref)(oo).onDeleteTableStyle,
29010
+ "on-slide-update": (0, l.unref)(sn),
29011
+ "on-presentation-update": (0, l.unref)(mo).onPresentationPropertiesUpdate,
29012
+ "on-select-element": (0, l.unref)(xo).onSelectionPaneSelect
29046
29013
  }, null, 8, [
29047
29014
  "chrome",
29048
29015
  "deck",
@@ -29074,7 +29041,7 @@ var UG = ["aria-busy", "tabindex"], HG = {
29074
29041
  ])) : (0, l.createCommentVNode)("", !0),
29075
29042
  (0, l.createElementVNode)("div", {
29076
29043
  ref_key: "exportStageRef",
29077
- ref: qt,
29044
+ ref: Xt,
29078
29045
  class: "pptx-vue-export-stage",
29079
29046
  "aria-hidden": "true",
29080
29047
  style: {
@@ -29084,11 +29051,11 @@ var UG = ["aria-busy", "tabindex"], HG = {
29084
29051
  "pointer-events": "none",
29085
29052
  opacity: "0"
29086
29053
  }
29087
- }, [(0, l.unref)(Yt) ? ((0, l.openBlock)(), (0, l.createBlock)(e.SlideStage_default, {
29054
+ }, [(0, l.unref)(Zt) ? ((0, l.openBlock)(), (0, l.createBlock)(e.SlideStage_default, {
29088
29055
  key: 0,
29089
- slide: (0, l.unref)(Yt),
29090
- "canvas-size": (0, l.unref)(J),
29091
- "media-data-urls": (0, l.unref)(ee),
29056
+ slide: (0, l.unref)(Zt),
29057
+ "canvas-size": (0, l.unref)(ee),
29058
+ "media-data-urls": (0, l.unref)(te),
29092
29059
  scale: 1
29093
29060
  }, null, 8, [
29094
29061
  "slide",
@@ -29096,14 +29063,14 @@ var UG = ["aria-busy", "tabindex"], HG = {
29096
29063
  "media-data-urls"
29097
29064
  ])) : (0, l.createCommentVNode)("", !0)], 512)
29098
29065
  ], 64)),
29099
- !(0, l.unref)(Ut).presenting.value && x.value.showCompatibilityToasts ? ((0, l.openBlock)(), (0, l.createBlock)(O, {
29066
+ !(0, l.unref)(Gt).presenting.value && x.value.showCompatibilityToasts ? ((0, l.openBlock)(), (0, l.createBlock)(O, {
29100
29067
  key: 4,
29101
- toasts: (0, l.unref)(_e).visibleToasts.value,
29102
- "overflow-count": (0, l.unref)(_e).overflowCount.value,
29103
- "right-inset": Ho.value,
29104
- "bottom-inset": Ko.value,
29105
- onDismiss: (0, l.unref)(_e).dismiss,
29106
- onDismissAll: (0, l.unref)(_e).dismissAll
29068
+ toasts: (0, l.unref)(ze).visibleToasts.value,
29069
+ "overflow-count": (0, l.unref)(ze).overflowCount.value,
29070
+ "right-inset": Ko.value,
29071
+ "bottom-inset": jo.value,
29072
+ onDismiss: (0, l.unref)(ze).dismiss,
29073
+ onDismissAll: (0, l.unref)(ze).dismissAll
29107
29074
  }, null, 8, [
29108
29075
  "toasts",
29109
29076
  "overflow-count",
@@ -29113,11 +29080,11 @@ var UG = ["aria-busy", "tabindex"], HG = {
29113
29080
  "onDismissAll"
29114
29081
  ])) : (0, l.createCommentVNode)("", !0),
29115
29082
  (0, l.createVNode)(U, {
29116
- open: (0, l.unref)(Zt).exportModalOpen.value,
29117
- title: (0, l.unref)(Zt).exportModalTitle.value,
29118
- progress: (0, l.unref)(Zt).exportProgress.value,
29119
- "status-message": (0, l.unref)(Zt).exportStatusMessage.value,
29120
- onCancel: (0, l.unref)(Zt).cancelExport
29083
+ open: (0, l.unref)(Jt).exportModalOpen.value,
29084
+ title: (0, l.unref)(Jt).exportModalTitle.value,
29085
+ progress: (0, l.unref)(Jt).exportProgress.value,
29086
+ "status-message": (0, l.unref)(Jt).exportStatusMessage.value,
29087
+ onCancel: (0, l.unref)(Jt).cancelExport
29121
29088
  }, null, 8, [
29122
29089
  "open",
29123
29090
  "title",
@@ -29126,31 +29093,31 @@ var UG = ["aria-busy", "tabindex"], HG = {
29126
29093
  "onCancel"
29127
29094
  ]),
29128
29095
  (0, l.createVNode)(LU, {
29129
- "deck-views": (0, l.unref)(en),
29096
+ "deck-views": (0, l.unref)(nn),
29130
29097
  "on-hyperlink-click": v.onHyperlinkClick,
29131
- presentation: (0, l.unref)(Ut),
29132
- "merged-slides": (0, l.unref)(ot),
29133
- "clipboard-templates": (0, l.unref)(Q),
29134
- slides: (0, l.unref)(Z),
29135
- "canvas-size": (0, l.unref)(J),
29136
- "media-data-urls": (0, l.unref)(ee),
29098
+ presentation: (0, l.unref)(Gt),
29099
+ "merged-slides": (0, l.unref)(lt),
29100
+ "clipboard-templates": (0, l.unref)(J),
29101
+ slides: (0, l.unref)(Q),
29102
+ "canvas-size": (0, l.unref)(ee),
29103
+ "media-data-urls": (0, l.unref)(te),
29137
29104
  content: v.content,
29138
- "active-slide-index": (0, l.unref)(Me),
29139
- "can-edit": De.value,
29140
- "presentation-properties": (0, l.unref)(xe),
29141
- "custom-shows": (0, l.unref)(ge),
29142
- "authored-range": bo.value,
29105
+ "active-slide-index": (0, l.unref)(Re),
29106
+ "can-edit": _e.value,
29107
+ "presentation-properties": (0, l.unref)(he),
29108
+ "custom-shows": (0, l.unref)(xe),
29109
+ "authored-range": So.value,
29143
29110
  "end-with-black-slide": (0, l.unref)(M).advanced.slideShowEndWithBlackSlide,
29144
29111
  "prompt-keep-ink-annotations": (0, l.unref)(M).advanced.slideShowPromptKeepInkAnnotations,
29145
29112
  "show-menu-on-right-click": (0, l.unref)(M).advanced.slideShowShowMenuOnRightClick,
29146
29113
  "show-popup-toolbar": (0, l.unref)(M).advanced.slideShowShowPopupToolbar,
29147
29114
  "pixelate-mosaic-animation": (0, l.unref)(M).advanced.pixelateMosaicAnimation,
29148
- "duplicate-slide": (0, l.unref)(Mt).duplicateSlide,
29149
- "paste-slides": (0, l.unref)(Mt).pasteSlides,
29150
- "copy-system-slides": (e) => (0, l.unref)(ma).copy(e),
29151
- "paste-system-slides": (e) => (0, l.unref)(ma).paste(e),
29152
- "delete-slide": (0, l.unref)(Mt).deleteSlide,
29153
- "toggle-slide-hidden": (0, l.unref)(an)
29115
+ "duplicate-slide": (0, l.unref)(Rt).duplicateSlide,
29116
+ "paste-slides": (0, l.unref)(Rt).pasteSlides,
29117
+ "copy-system-slides": (e) => (0, l.unref)(ga).copy(e),
29118
+ "paste-system-slides": (e) => (0, l.unref)(ga).paste(e),
29119
+ "delete-slide": (0, l.unref)(Rt).deleteSlide,
29120
+ "toggle-slide-hidden": (0, l.unref)(rn)
29154
29121
  }, null, 8, [
29155
29122
  "deck-views",
29156
29123
  "on-hyperlink-click",