pptx-vue-viewer 1.1.39 → 1.1.40

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 (47) hide show
  1. package/dist/{dist-Vxk81GQT.js → dist-TmAaMB8H.js} +12 -10
  2. package/dist/dist-TmAaMB8H.js.br +0 -0
  3. package/dist/dist-TmAaMB8H.js.gz +0 -0
  4. package/dist/{dist-BEmeDRsX.cjs → dist-bnIMvyoS.cjs} +12 -10
  5. package/dist/dist-bnIMvyoS.cjs.br +0 -0
  6. package/dist/dist-bnIMvyoS.cjs.gz +0 -0
  7. package/dist/gif-encoder-Bkwy_SY5.js +2 -0
  8. package/dist/gif-encoder-Bkwy_SY5.js.br +0 -0
  9. package/dist/gif-encoder-Bkwy_SY5.js.gz +0 -0
  10. package/dist/gif-encoder-DEuMuJnU.cjs +2 -0
  11. package/dist/gif-encoder-DEuMuJnU.cjs.br +0 -0
  12. package/dist/gif-encoder-DEuMuJnU.cjs.gz +0 -0
  13. package/dist/index.cjs +1 -1
  14. package/dist/index.cjs.br +2 -2
  15. package/dist/index.cjs.gz +0 -0
  16. package/dist/index.js +1 -1
  17. package/dist/index.js.br +0 -0
  18. package/dist/index.js.gz +0 -0
  19. package/dist/viewer/PowerPointViewer.vue.d.ts.map +1 -1
  20. package/dist/viewer/composables/useIsMobile.d.ts +47 -16
  21. package/dist/viewer/composables/useIsMobile.d.ts.map +1 -1
  22. package/dist/viewer/index.cjs +1 -1
  23. package/dist/viewer/index.cjs.br +0 -0
  24. package/dist/viewer/index.cjs.gz +0 -0
  25. package/dist/viewer/index.js +1 -1
  26. package/dist/viewer/index.js.br +0 -0
  27. package/dist/viewer/index.js.gz +0 -0
  28. package/dist/{viewer-R_Ip8luV.js → viewer-CLufo3L_.js} +480 -452
  29. package/dist/viewer-CLufo3L_.js.br +0 -0
  30. package/dist/viewer-CLufo3L_.js.gz +0 -0
  31. package/dist/{viewer-Dd68DWt2.cjs → viewer-RSmOoAG1.cjs} +285 -257
  32. package/dist/viewer-RSmOoAG1.cjs.br +0 -0
  33. package/dist/{viewer-Dd68DWt2.cjs.gz → viewer-RSmOoAG1.cjs.gz} +0 -0
  34. package/package.json +1 -1
  35. package/dist/dist-BEmeDRsX.cjs.br +0 -0
  36. package/dist/dist-BEmeDRsX.cjs.gz +0 -0
  37. package/dist/dist-Vxk81GQT.js.br +0 -0
  38. package/dist/dist-Vxk81GQT.js.gz +0 -0
  39. package/dist/gif-encoder-CrGhNA-_.js +0 -2
  40. package/dist/gif-encoder-CrGhNA-_.js.br +0 -3
  41. package/dist/gif-encoder-CrGhNA-_.js.gz +0 -0
  42. package/dist/gif-encoder-Cu23-Czt.cjs +0 -2
  43. package/dist/gif-encoder-Cu23-Czt.cjs.br +0 -0
  44. package/dist/gif-encoder-Cu23-Czt.cjs.gz +0 -0
  45. package/dist/viewer-Dd68DWt2.cjs.br +0 -0
  46. package/dist/viewer-R_Ip8luV.js.br +0 -0
  47. package/dist/viewer-R_Ip8luV.js.gz +0 -0
@@ -1,7 +1,7 @@
1
- import { $ as e, A as t, B as n, C as o, D as a, E as r, F as l, G as i, H as s, I as u, K as d, L as p, M as m, N as v, O as f, P as h, Q as g, R as x, S as y, T as b, U as w, V as k, W as S, X as $, Y as M, Z as C, _ as F, at as P, b as I, d as D, et as E, g as _, h as L, i as z, it as R, k as O, l as U, m as W, n as N, nt as j, o as Y, ot as H, p as X, q as G, r as V, rt as Z, s as q, st as K, t as J, tt as Q, u as ee, v as te, w as ne, x as oe, y as ae } from "./dist-Vxk81GQT.js";
2
- import { Fragment as le, Teleport as ie, computed as se, createBlock as ue, createCommentVNode as ce, createElementBlock as de, createElementVNode as pe, createTextVNode as me, createVNode as ve, defineComponent as fe, guardReactiveProps as he, inject as ge, mergeModels as xe, mergeProps as ye, nextTick as be, normalizeClass as we, normalizeProps as ke, normalizeStyle as Se, onBeforeUnmount as $e, onMounted as Me, onScopeDispose as Ce, openBlock as Fe, provide as Te, readonly as Pe, ref as Ie, renderList as Ae, renderSlot as De, resolveComponent as Ee, resolveDynamicComponent as Be, shallowRef as _e, toDisplayString as Le, toRef as ze, toValue as Re, unref as Oe, useModel as Ue, vModelCheckbox as We, vModelSelect as Ne, vModelText as je, vShow as Ye, watch as He, withCtx as Xe, withDirectives as Ge, withKeys as Ve, withModifiers as Ze } from "vue";
1
+ import { $ as e, A as t, B as n, C as o, D as a, E as r, F as l, G as i, H as s, I as u, K as d, L as p, M as m, N as v, O as f, P as h, Q as g, R as x, S as y, T as b, U as w, V as k, W as S, X as $, Y as M, Z as C, _ as F, at as P, b as I, d as D, et as E, g as _, h as L, i as z, it as R, k as O, l as U, m as W, n as N, nt as j, o as H, ot as Y, p as X, q as G, r as V, rt as Z, s as q, st as K, t as J, tt as Q, u as ee, v as te, w as ne, x as oe, y as ae } from "./dist-TmAaMB8H.js";
2
+ import { Fragment as le, Teleport as ie, computed as se, createBlock as ue, createCommentVNode as ce, createElementBlock as de, createElementVNode as pe, createTextVNode as me, createVNode as ve, defineComponent as fe, guardReactiveProps as he, inject as ge, mergeModels as xe, mergeProps as ye, nextTick as be, normalizeClass as we, normalizeProps as ke, normalizeStyle as Se, onBeforeUnmount as $e, onMounted as Me, onScopeDispose as Ce, openBlock as Fe, provide as Te, readonly as Pe, ref as Ie, renderList as Ae, renderSlot as De, resolveComponent as Ee, resolveDynamicComponent as Be, shallowRef as _e, toDisplayString as Le, toRef as ze, toValue as Re, unref as Oe, useModel as Ue, vModelCheckbox as We, vModelSelect as Ne, vModelText as je, vShow as He, watch as Ye, withCtx as Xe, withDirectives as Ge, withKeys as Ve, withModifiers as Ze } from "vue";
3
3
  import qe from "dompurify";
4
- import { AArrowDown as Ke, AArrowUp as Je, AlignCenter as Qe, AlignJustify as et, AlignLeft as tt, AlignRight as nt, Bold as ot, Captions as at, Cast as rt, Check as lt, ChevronDown as it, ChevronUp as st, Circle as ut, ClipboardList as ct, ClipboardPaste as dt, Clock as pt, Columns2 as mt, Copy as vt, Database as ft, Diamond as ht, Download as gt, Ellipsis as xt, EyeOff as yt, File as bt, FileText as wt, FolderOpen as kt, GitCompare as St, Highlighter as $t, Image as Mt, IndentDecrease as Ct, IndentIncrease as Ft, Info as Tt, Italic as Pt, Layers as It, LayoutGrid as At, List as Dt, ListOrdered as Et, Lock as Bt, Menu as _t, MessageSquare as Lt, Minus as zt, Monitor as Rt, MoveRight as Ot, Package as Ut, PaintBucket as Wt, Paintbrush as Nt, Palette as jt, PanelLeft as Yt, PanelRight as Ht, Pencil as Xt, Pipette as Gt, Play as Vt, Plus as Zt, Presentation as qt, Printer as Kt, Radio as Jt, Redo as Qt, RemoveFormatting as en, Scissors as tn, Search as nn, Settings as on, Shapes as an, Share2 as rn, ShieldAlert as ln, Sparkles as sn, SpellCheck as un, Spline as cn, Square as dn, StickyNote as pn, Strikethrough as mn, TextCursorInput as vn, Trash2 as fn, Triangle as hn, Type as gn, Underline as xn, Undo as yn, Video as bn, Wand as wn } from "lucide-vue-next";
4
+ import { AArrowDown as Ke, AArrowUp as Je, AlignCenter as Qe, AlignJustify as et, AlignLeft as tt, AlignRight as nt, Bold as ot, Captions as at, Cast as rt, Check as lt, ChevronDown as it, ChevronUp as st, Circle as ut, ClipboardList as ct, ClipboardPaste as dt, Clock as pt, Columns2 as mt, Copy as vt, Database as ft, Diamond as ht, Download as gt, Ellipsis as xt, EyeOff as yt, File as bt, FileText as wt, FolderOpen as kt, GitCompare as St, Highlighter as $t, Image as Mt, IndentDecrease as Ct, IndentIncrease as Ft, Info as Tt, Italic as Pt, Layers as It, LayoutGrid as At, List as Dt, ListOrdered as Et, Lock as Bt, Menu as _t, MessageSquare as Lt, Minus as zt, Monitor as Rt, MoveRight as Ot, Package as Ut, PaintBucket as Wt, Paintbrush as Nt, Palette as jt, PanelLeft as Ht, PanelRight as Yt, Pencil as Xt, Pipette as Gt, Play as Vt, Plus as Zt, Presentation as qt, Printer as Kt, Radio as Jt, Redo as Qt, RemoveFormatting as en, Scissors as tn, Search as nn, Settings as on, Shapes as an, Share2 as rn, ShieldAlert as ln, Sparkles as sn, SpellCheck as un, Spline as cn, Square as dn, StickyNote as pn, Strikethrough as mn, TextCursorInput as vn, Trash2 as fn, Triangle as hn, Type as gn, Underline as xn, Undo as yn, Video as bn, Wand as wn } from "lucide-vue-next";
5
5
  import { clsx as kn } from "clsx";
6
6
  import { twMerge as Sn } from "tailwind-merge";
7
7
  var $n = {
@@ -349,7 +349,7 @@ function jn(e) {
349
349
  svgFilter: a.svgFilter
350
350
  } : t.fillColor && "transparent" !== t.fillColor && "none" !== t.fillMode ? { backgroundColor: zn(t.fillColor, t.fillOpacity) } : {};
351
351
  }
352
- var Yn = "#000000", Hn = "#ffff00";
352
+ var Hn = "#000000", Yn = "#ffff00";
353
353
  function Xn(e) {
354
354
  return Math.min(1, Math.max(0, e));
355
355
  }
@@ -378,26 +378,26 @@ function Zn(e) {
378
378
  t = Math.cos(o) * e.shadowDistance, n = Math.sin(o) * e.shadowDistance;
379
379
  } else t = "number" == typeof e.shadowOffsetX && Number.isFinite(e.shadowOffsetX) ? e.shadowOffsetX : 4, n = "number" == typeof e.shadowOffsetY && Number.isFinite(e.shadowOffsetY) ? e.shadowOffsetY : 4;
380
380
  const o = "number" == typeof e.shadowBlur && Number.isFinite(e.shadowBlur) ? Math.max(0, e.shadowBlur) : 6, a = "number" == typeof e.shadowOpacity && Number.isFinite(e.shadowOpacity) ? Xn(e.shadowOpacity) : .35;
381
- return `${Math.round(t)}px ${Math.round(n)}px ${Math.round(o)}px ${Vn(Gn(e.shadowColor, Yn), a)}`;
381
+ return `${Math.round(t)}px ${Math.round(n)}px ${Math.round(o)}px ${Vn(Gn(e.shadowColor, Hn), a)}`;
382
382
  }
383
383
  function qn(e) {
384
384
  if (!e?.innerShadowColor || "transparent" === e.innerShadowColor) return;
385
385
  const t = "number" == typeof e.innerShadowOffsetX && Number.isFinite(e.innerShadowOffsetX) ? e.innerShadowOffsetX : 0, n = "number" == typeof e.innerShadowOffsetY && Number.isFinite(e.innerShadowOffsetY) ? e.innerShadowOffsetY : 0, o = "number" == typeof e.innerShadowBlur && Number.isFinite(e.innerShadowBlur) ? Math.max(0, e.innerShadowBlur) : 6, a = "number" == typeof e.innerShadowOpacity && Number.isFinite(e.innerShadowOpacity) ? Xn(e.innerShadowOpacity) : .5;
386
- return `inset ${Math.round(t)}px ${Math.round(n)}px ${Math.round(o)}px ${Vn(Gn(e.innerShadowColor, Yn), a)}`;
386
+ return `inset ${Math.round(t)}px ${Math.round(n)}px ${Math.round(o)}px ${Vn(Gn(e.innerShadowColor, Hn), a)}`;
387
387
  }
388
388
  function Kn(e) {
389
389
  if (!e?.shadows || 0 === e.shadows.length) return;
390
390
  const t = [];
391
391
  for (const n of e.shadows) {
392
392
  if (!n.color || "transparent" === n.color) continue;
393
- const e = (n.angle ?? 0) * Math.PI / 180, o = n.distance ?? 0, a = Math.round(Math.cos(e) * o), r = Math.round(Math.sin(e) * o), l = Math.round(Math.max(0, n.blur ?? 6)), i = Xn(n.opacity ?? .35), s = Vn(Gn(n.color, Yn), i);
393
+ const e = (n.angle ?? 0) * Math.PI / 180, o = n.distance ?? 0, a = Math.round(Math.cos(e) * o), r = Math.round(Math.sin(e) * o), l = Math.round(Math.max(0, n.blur ?? 6)), i = Xn(n.opacity ?? .35), s = Vn(Gn(n.color, Hn), i);
394
394
  t.push(`${a}px ${r}px ${l}px ${s}`);
395
395
  }
396
396
  return t.length > 0 ? t.join(", ") : void 0;
397
397
  }
398
398
  function Jn(e, t, n) {
399
399
  if (!e || "transparent" === e || !t || t <= 0) return;
400
- const o = "number" == typeof n ? Xn(n) : .75, a = Gn(e, Hn);
400
+ const o = "number" == typeof n ? Xn(n) : .75, a = Gn(e, Yn);
401
401
  return `0 0 ${Math.round(.33 * t)}px ${Vn(a, o)}, 0 0 ${Math.round(.66 * t)}px ${Vn(a, .6 * o)}, 0 0 ${Math.round(t)}px ${Vn(a, .3 * o)}`;
402
402
  }
403
403
  function Qn(e, t) {
@@ -451,7 +451,7 @@ function no(e, t = {}) {
451
451
  if (!e) return;
452
452
  const n = [];
453
453
  if (e.glowColor && "transparent" !== e.glowColor && e.glowRadius) {
454
- const t = "number" == typeof e.glowOpacity ? e.glowOpacity : .75, o = Math.round(Math.max(0, e.glowRadius)), a = Vn(Gn(e.glowColor, Hn), t);
454
+ const t = "number" == typeof e.glowOpacity ? e.glowOpacity : .75, o = Math.round(Math.max(0, e.glowRadius)), a = Vn(Gn(e.glowColor, Yn), t);
455
455
  n.push(`drop-shadow(0 0 ${o}px ${a})`);
456
456
  }
457
457
  "number" == typeof e.softEdgeRadius && e.softEdgeRadius > 0 && n.push(`blur(${Math.round(e.softEdgeRadius)}px)`), "number" == typeof e.blurRadius && e.blurRadius > 0 && n.push(`blur(${Math.round(e.blurRadius)}px)`);
@@ -1275,10 +1275,10 @@ function jo(e) {
1275
1275
  }(t) ? `<mn>${n}</mn>` : (l = t, Ro.has(l.trim()) ? `<mo>${n}</mo>` : r ? `<mi mathvariant="normal">${n}</mi>` : `<mi>${n}</mi>`);
1276
1276
  var l;
1277
1277
  }
1278
- function Yo(e, t) {
1278
+ function Ho(e, t) {
1279
1279
  return `<mrow>${t(Bo(e, "m:e"))}</mrow>`;
1280
1280
  }
1281
- function Ho(e) {
1281
+ function Yo(e) {
1282
1282
  if (!e || "object" != typeof e) return "";
1283
1283
  const t = [];
1284
1284
  for (const n of Object.keys(e)) {
@@ -1298,34 +1298,34 @@ function Xo(e, t) {
1298
1298
  case "m:f": return function(e, t) {
1299
1299
  const o = Lo(Bo(Bo(e, "m:fPr"), "m:type")), a = `<mrow>${t(Bo(e, "m:num"))}</mrow>`, r = `<mrow>${t(Bo(e, "m:den"))}</mrow>`;
1300
1300
  return "lin" === o ? `<mrow>${a}<mo>/</mo>${r}</mrow>` : "noBar" === o ? `<mfrac linethickness="0">${a}${r}</mfrac>` : `<mfrac>${a}${r}</mfrac>`;
1301
- }(t, Ho);
1301
+ }(t, Yo);
1302
1302
  case "m:rad": return function(e, t) {
1303
1303
  const o = Lo(Bo(Bo(e, "m:radPr"), "m:degHide")), a = t(Bo(e, "m:e")), r = t(Bo(e, "m:deg"));
1304
1304
  return "1" === o || "on" === o || "true" === o || 0 === r.length ? `<msqrt><mrow>${a}</mrow></msqrt>` : `<mroot><mrow>${a}</mrow><mrow>${r}</mrow></mroot>`;
1305
- }(t, Ho);
1305
+ }(t, Yo);
1306
1306
  case "m:sSup": return function(e, t) {
1307
1307
  return `<msup><mrow>${t(Bo(e, "m:e"))}</mrow><mrow>${t(Bo(e, "m:sup"))}</mrow></msup>`;
1308
- }(t, Ho);
1308
+ }(t, Yo);
1309
1309
  case "m:sSub": return function(e, t) {
1310
1310
  return `<msub><mrow>${t(Bo(e, "m:e"))}</mrow><mrow>${t(Bo(e, "m:sub"))}</mrow></msub>`;
1311
- }(t, Ho);
1311
+ }(t, Yo);
1312
1312
  case "m:sSubSup": return function(e, t) {
1313
1313
  return `<msubsup><mrow>${t(Bo(e, "m:e"))}</mrow><mrow>${t(Bo(e, "m:sub"))}</mrow><mrow>${t(Bo(e, "m:sup"))}</mrow></msubsup>`;
1314
- }(t, Ho);
1314
+ }(t, Yo);
1315
1315
  case "m:sPre": return function(e, t) {
1316
1316
  return `<mmultiscripts><mrow>${t(Bo(e, "m:e"))}</mrow><mprescripts/><mrow>${t(Bo(e, "m:sub"))}</mrow><mrow>${t(Bo(e, "m:sup"))}</mrow></mmultiscripts>`;
1317
- }(t, Ho);
1317
+ }(t, Yo);
1318
1318
  case "m:nary": return function(e, t) {
1319
1319
  const n = Bo(e, "m:naryPr"), o = Lo(Bo(n, "m:chr")), a = Lo(Bo(n, "m:limLoc")), r = Lo(Bo(n, "m:subHide")), l = Lo(Bo(n, "m:supHide")), i = o ? Uo[o] || o : "∫", s = t(Bo(e, "m:sub")), u = t(Bo(e, "m:sup")), c = t(Bo(e, "m:e")), d = "1" !== r && "on" !== r && "true" !== r && s.length > 0, p = "1" !== l && "on" !== l && "true" !== l && u.length > 0;
1320
1320
  let m;
1321
1321
  return m = d && p ? "undOvr" === a ? `<munderover><mo>${zo(i)}</mo><mrow>${s}</mrow><mrow>${u}</mrow></munderover>` : `<msubsup><mo>${zo(i)}</mo><mrow>${s}</mrow><mrow>${u}</mrow></msubsup>` : d ? "undOvr" === a ? `<munder><mo>${zo(i)}</mo><mrow>${s}</mrow></munder>` : `<msub><mo>${zo(i)}</mo><mrow>${s}</mrow></msub>` : p ? "undOvr" === a ? `<mover><mo>${zo(i)}</mo><mrow>${u}</mrow></mover>` : `<msup><mo>${zo(i)}</mo><mrow>${u}</mrow></msup>` : `<mo>${zo(i)}</mo>`, `<mrow>${m}<mrow>${c}</mrow></mrow>`;
1322
- }(t, Ho);
1322
+ }(t, Yo);
1323
1323
  case "m:d": return function(e, t) {
1324
1324
  const n = Bo(e, "m:dPr"), o = Lo(Bo(n, "m:begChr")), a = Lo(Bo(n, "m:endChr")), r = Lo(Bo(n, "m:sepChr")), l = o.length > 0 ? o : "(", i = a.length > 0 ? a : ")", s = r.length > 0 ? r : "", u = Wo[l] || l, c = No[i] || i, d = _o(e["m:e"]), p = [];
1325
1325
  for (let e = 0; e < d.length; e++) e > 0 && s.length > 0 && p.push(`<mo>${zo(s)}</mo>`), p.push(`<mrow>${t(d[e])}</mrow>`);
1326
1326
  const m = l ? `<mo>${zo(u)}</mo>` : "<mo></mo>", v = i ? `<mo>${zo(c)}</mo>` : "<mo></mo>";
1327
1327
  return `<mrow>${m}${p.join("")}${v}</mrow>`;
1328
- }(t, Ho);
1328
+ }(t, Yo);
1329
1329
  case "m:m": return function(e, t) {
1330
1330
  const n = _o(e["m:mr"]), o = [];
1331
1331
  for (const e of n) {
@@ -1334,36 +1334,36 @@ function Xo(e, t) {
1334
1334
  o.push(`<mtr>${a.join("")}</mtr>`);
1335
1335
  }
1336
1336
  return `<mrow><mo>[</mo><mtable>${o.join("")}</mtable><mo>]</mo></mrow>`;
1337
- }(t, Ho);
1337
+ }(t, Yo);
1338
1338
  case "m:acc": return function(e, t) {
1339
1339
  const o = Lo(Bo(Bo(e, "m:accPr"), "m:chr"));
1340
1340
  return `<mover accent="true"><mrow>${t(Bo(e, "m:e"))}</mrow><mo>${zo(o.length > 0 ? Oo[o] || o : "̂")}</mo></mover>`;
1341
- }(t, Ho);
1341
+ }(t, Yo);
1342
1342
  case "m:bar": return function(e, t) {
1343
1343
  const o = Lo(Bo(Bo(e, "m:barPr"), "m:pos")), a = t(Bo(e, "m:e"));
1344
1344
  return "bot" === o ? `<munder><mrow>${a}</mrow><mo>¯</mo></munder>` : `<mover><mrow>${a}</mrow><mo>¯</mo></mover>`;
1345
- }(t, Ho);
1345
+ }(t, Yo);
1346
1346
  case "m:limLow": return function(e, t) {
1347
1347
  return `<munder><mrow>${t(Bo(e, "m:e"))}</mrow><mrow>${t(Bo(e, "m:lim"))}</mrow></munder>`;
1348
- }(t, Ho);
1348
+ }(t, Yo);
1349
1349
  case "m:limUpp": return function(e, t) {
1350
1350
  return `<mover><mrow>${t(Bo(e, "m:e"))}</mrow><mrow>${t(Bo(e, "m:lim"))}</mrow></mover>`;
1351
- }(t, Ho);
1351
+ }(t, Yo);
1352
1352
  case "m:groupChr": return function(e, t) {
1353
1353
  const n = Bo(e, "m:groupChrPr"), o = Lo(Bo(n, "m:chr")), a = Lo(Bo(n, "m:pos")), r = t(Bo(e, "m:e")), l = o.length > 0 ? o : "⏟";
1354
1354
  return "top" === a ? `<mover><mrow>${r}</mrow><mo>${zo(l)}</mo></mover>` : `<munder><mrow>${r}</mrow><mo>${zo(l)}</mo></munder>`;
1355
- }(t, Ho);
1355
+ }(t, Yo);
1356
1356
  case "m:eqArr": return function(e, t) {
1357
1357
  const n = _o(e["m:e"]), o = [];
1358
1358
  for (const e of n) o.push(`<mtr><mtd><mrow>${t(e)}</mrow></mtd></mtr>`);
1359
1359
  return `<mtable columnalign="left">${o.join("")}</mtable>`;
1360
- }(t, Ho);
1360
+ }(t, Yo);
1361
1361
  case "m:box":
1362
- case "m:borderBox": return Yo(t, Ho);
1362
+ case "m:borderBox": return Ho(t, Yo);
1363
1363
  case "m:func": return function(e, t) {
1364
1364
  return `<mrow>${t(Bo(e, "m:fName"))}<mo>&#x2061;</mo><mrow>${t(Bo(e, "m:e"))}</mrow></mrow>`;
1365
- }(t, Ho);
1366
- case "m:oMath": return `<mrow>${Ho(t)}</mrow>`;
1365
+ }(t, Yo);
1366
+ case "m:oMath": return `<mrow>${Yo(t)}</mrow>`;
1367
1367
  default: return "";
1368
1368
  }
1369
1369
  }
@@ -1379,7 +1379,7 @@ function Go(e) {
1379
1379
  return e["m:r"] || e["m:f"] || e["m:rad"] || e["m:sSup"] || e["m:sSub"] ? [e] : [];
1380
1380
  }(e);
1381
1381
  if (0 === t.length) return "";
1382
- const n = t.map((e) => Ho(e)).join("");
1382
+ const n = t.map((e) => Yo(e)).join("");
1383
1383
  return 0 === n.length ? "" : `<math xmlns="http://www.w3.org/1998/Math/MathML" display="inline">${n}</math>`;
1384
1384
  }
1385
1385
  var Vo = {
@@ -2661,8 +2661,8 @@ function ja(e, t, n) {
2661
2661
  legendAnchor: v
2662
2662
  };
2663
2663
  }
2664
- var Ya = "#64748b";
2665
- function Ha(e) {
2664
+ var Ha = "#64748b";
2665
+ function Ya(e) {
2666
2666
  const t = e.flatMap((e) => e.values), n = Math.min(...t, 0), o = Math.max(...t, 1);
2667
2667
  return {
2668
2668
  min: n,
@@ -2671,7 +2671,7 @@ function Ha(e) {
2671
2671
  };
2672
2672
  }
2673
2673
  function Xa(e, t, n) {
2674
- const o = hr(e.width, e.height, t, !0), a = Ha(t.series), r = t.series[0]?.values ?? [], l = Math.max(n.length, r.length, 1), i = o.plotWidth / l, s = function(e, t, n, o, a, r) {
2674
+ const o = hr(e.width, e.height, t, !0), a = Ya(t.series), r = t.series[0]?.values ?? [], l = Math.max(n.length, r.length, 1), i = o.plotWidth / l, s = function(e, t, n, o, a, r) {
2675
2675
  const l = Math.max(t, e.length, 1), i = n.plotWidth / l;
2676
2676
  return e.map((e, t) => {
2677
2677
  const l = n.plotLeft + i * t, s = vr(0, o, n.plotTop, n.plotBottom), u = vr(e, o, n.plotTop, n.plotBottom), c = Math.min(s, u), d = Math.max(Math.abs(s - u), 1);
@@ -2735,7 +2735,7 @@ function Ga(e) {
2735
2735
  };
2736
2736
  }
2737
2737
  function Va(e, t, n) {
2738
- const o = hr(e.width, e.height, t, !0), a = Ha(t.series), l = function(e, t, n, o, a) {
2738
+ const o = hr(e.width, e.height, t, !0), a = Ya(t.series), l = function(e, t, n, o, a) {
2739
2739
  const r = n.plotWidth / t, l = .5 * r, i = (r - l) / 2, s = [];
2740
2740
  for (let u = 0; u < t; u++) {
2741
2741
  const t = Ga(e.series.map((e) => e.values[u] ?? 0));
@@ -2762,7 +2762,7 @@ function Va(e, t, n) {
2762
2762
  y1: e.yMax,
2763
2763
  x2: e.xMid,
2764
2764
  y2: e.yQ3,
2765
- stroke: Ya,
2765
+ stroke: Ha,
2766
2766
  strokeWidth: 1
2767
2767
  }, {
2768
2768
  kind: "line",
@@ -2770,7 +2770,7 @@ function Va(e, t, n) {
2770
2770
  y1: e.yQ1,
2771
2771
  x2: e.xMid,
2772
2772
  y2: e.yMin,
2773
- stroke: Ya,
2773
+ stroke: Ha,
2774
2774
  strokeWidth: 1
2775
2775
  }), i.push({
2776
2776
  kind: "line",
@@ -2778,7 +2778,7 @@ function Va(e, t, n) {
2778
2778
  y1: e.yMax,
2779
2779
  x2: e.boxX + .75 * e.boxW,
2780
2780
  y2: e.yMax,
2781
- stroke: Ya,
2781
+ stroke: Ha,
2782
2782
  strokeWidth: 1
2783
2783
  }, {
2784
2784
  kind: "line",
@@ -2786,7 +2786,7 @@ function Va(e, t, n) {
2786
2786
  y1: e.yMin,
2787
2787
  x2: e.boxX + .75 * e.boxW,
2788
2788
  y2: e.yMin,
2789
- stroke: Ya,
2789
+ stroke: Ha,
2790
2790
  strokeWidth: 1
2791
2791
  }), i.push({
2792
2792
  kind: "rect",
@@ -4036,7 +4036,7 @@ var Rr = "pptx-vue", Or = `${Rr}-fadeIn`, Ur = `${Rr}-fadeOut`, Wr = `${Rr}-puls
4036
4036
  emphasis: "none",
4037
4037
  exit: "forwards"
4038
4038
  };
4039
- function Yr(e) {
4039
+ function Hr(e) {
4040
4040
  return e.entrance && "none" !== e.entrance ? {
4041
4041
  kind: "entrance",
4042
4042
  preset: e.entrance
@@ -4048,8 +4048,8 @@ function Yr(e) {
4048
4048
  preset: e.exit
4049
4049
  } : void 0;
4050
4050
  }
4051
- function Hr(e) {
4052
- const t = Yr(e);
4051
+ function Yr(e) {
4052
+ const t = Hr(e);
4053
4053
  if (!t) return;
4054
4054
  const { kind: n, preset: o } = t, a = function(e, t) {
4055
4055
  if ("entrance" === e) {
@@ -4135,7 +4135,7 @@ function Hr(e) {
4135
4135
  };
4136
4136
  }
4137
4137
  function Xr(e) {
4138
- return "entrance" === Yr(e)?.kind ? { opacity: "0" } : {};
4138
+ return "entrance" === Hr(e)?.kind ? { opacity: "0" } : {};
4139
4139
  }
4140
4140
  var Gr = `\n/* ── Entrance ── */\n@keyframes ${Rr}-appear {\n\tfrom { opacity: 0; }\n\tto { opacity: 1; }\n}\n@keyframes ${Rr}-fadeIn {\n\tfrom { opacity: 0; }\n\tto { opacity: 1; }\n}\n@keyframes ${Rr}-flyIn {\n\tfrom { opacity: 0; transform: translateY(40px); }\n\tto { opacity: 1; transform: translateY(0); }\n}\n@keyframes ${Rr}-zoomIn {\n\tfrom { opacity: 0; transform: scale(0.3); }\n\tto { opacity: 1; transform: scale(1); }\n}\n@keyframes ${Rr}-bounceIn {\n\t0% { opacity: 0; transform: scale(0.3); }\n\t50% { opacity: 1; transform: scale(1.08); }\n\t70% { transform: scale(0.95); }\n\t100% { opacity: 1; transform: scale(1); }\n}\n@keyframes ${Rr}-wipeIn {\n\tfrom { clip-path: inset(0 100% 0 0); opacity: 1; }\n\tto { clip-path: inset(0 0 0 0); opacity: 1; }\n}\n@keyframes ${Rr}-splitIn {\n\tfrom { clip-path: inset(50% 0 50% 0); opacity: 1; }\n\tto { clip-path: inset(0 0 0 0); opacity: 1; }\n}\n@keyframes ${Rr}-dissolveIn {\n\t0% { opacity: 0; filter: blur(8px); }\n\t100% { opacity: 1; filter: blur(0); }\n}\n@keyframes ${Rr}-wheelIn {\n\tfrom { opacity: 0; transform: rotate(-360deg) scale(0.5); }\n\tto { opacity: 1; transform: rotate(0deg) scale(1); }\n}\n@keyframes ${Rr}-blindsIn {\n\tfrom { clip-path: inset(0 0 100% 0); opacity: 1; }\n\tto { clip-path: inset(0 0 0 0); opacity: 1; }\n}\n@keyframes ${Rr}-boxIn {\n\tfrom { clip-path: inset(50% 50% 50% 50%); opacity: 1; }\n\tto { clip-path: inset(0 0 0 0); opacity: 1; }\n}\n@keyframes ${Rr}-floatIn {\n\tfrom { opacity: 0; transform: translateY(40px); }\n\tto { opacity: 1; transform: translateY(0); }\n}\n@keyframes ${Rr}-riseUp {\n\tfrom { opacity: 0; transform: translateY(60px); }\n\tto { opacity: 1; transform: translateY(0); }\n}\n@keyframes ${Rr}-swivel {\n\tfrom { opacity: 0; transform: rotateY(-90deg); }\n\tto { opacity: 1; transform: rotateY(0deg); }\n}\n@keyframes ${Rr}-expandIn {\n\tfrom { opacity: 0; transform: scale(0, 0); }\n\tto { opacity: 1; transform: scale(1, 1); }\n}\n@keyframes ${Rr}-checkerboardIn {\n\t0% { opacity: 0; }\n\t50% { opacity: 0.5; }\n\t100% { opacity: 1; }\n}\n@keyframes ${Rr}-flashIn {\n\t0% { opacity: 0; }\n\t25% { opacity: 1; }\n\t50% { opacity: 0; }\n\t75% { opacity: 1; }\n\t100% { opacity: 1; }\n}\n@keyframes ${Rr}-peekIn {\n\tfrom { clip-path: inset(100% 0 0 0); opacity: 1; }\n\tto { clip-path: inset(0 0 0 0); opacity: 1; }\n}\n@keyframes ${Rr}-randomBarsIn {\n\t0% { clip-path: inset(0 100% 0 0); opacity: 1; }\n\t30% { clip-path: inset(0 60% 0 0); opacity: 1; }\n\t60% { clip-path: inset(0 30% 0 0); opacity: 1; }\n\t100% { clip-path: inset(0 0 0 0); opacity: 1; }\n}\n@keyframes ${Rr}-spinnerIn {\n\tfrom { opacity: 0; transform: rotate(-720deg) scale(0.4); }\n\tto { opacity: 1; transform: rotate(0deg) scale(1); }\n}\n@keyframes ${Rr}-growTurnIn {\n\tfrom { opacity: 0; transform: rotate(-90deg) scale(0.4); }\n\tto { opacity: 1; transform: rotate(0deg) scale(1); }\n}\n\n/* ── Exit ── */\n@keyframes ${Rr}-disappear {\n\tfrom { opacity: 1; }\n\tto { opacity: 0; }\n}\n@keyframes ${Rr}-fadeOut {\n\tfrom { opacity: 1; }\n\tto { opacity: 0; }\n}\n@keyframes ${Rr}-flyOut {\n\tfrom { opacity: 1; transform: translateY(0); }\n\tto { opacity: 0; transform: translateY(40px); }\n}\n@keyframes ${Rr}-zoomOut {\n\tfrom { opacity: 1; transform: scale(1); }\n\tto { opacity: 0; transform: scale(0.3); }\n}\n@keyframes ${Rr}-bounceOut {\n\t0% { opacity: 1; transform: scale(1); }\n\t25% { transform: scale(1.08); }\n\t100% { opacity: 0; transform: scale(0.3); }\n}\n@keyframes ${Rr}-wipeOut {\n\tfrom { clip-path: inset(0 0 0 0); opacity: 1; }\n\tto { clip-path: inset(0 0 0 100%); opacity: 0; }\n}\n@keyframes ${Rr}-shrinkOut {\n\tfrom { opacity: 1; transform: scale(1); }\n\tto { opacity: 0; transform: scale(0); }\n}\n@keyframes ${Rr}-dissolveOut {\n\tfrom { opacity: 1; filter: blur(0); }\n\tto { opacity: 0; filter: blur(8px); }\n}\n\n/* ── Emphasis ── */\n@keyframes ${Rr}-spin {\n\tfrom { transform: rotate(0deg); }\n\tto { transform: rotate(360deg); }\n}\n@keyframes ${Rr}-pulse {\n\t0% { transform: scale(1); }\n\t25% { transform: scale(1.1); }\n\t50% { transform: scale(1); }\n\t75% { transform: scale(1.1); }\n\t100% { transform: scale(1); }\n}\n@keyframes ${Rr}-colorWave {\n\t0% { filter: hue-rotate(0deg); }\n\t50% { filter: hue-rotate(180deg); }\n\t100% { filter: hue-rotate(360deg); }\n}\n@keyframes ${Rr}-bounce {\n\t0% { transform: translateY(0); }\n\t20% { transform: translateY(-20px); }\n\t40% { transform: translateY(0); }\n\t60% { transform: translateY(-10px); }\n\t80% { transform: translateY(0); }\n\t100% { transform: translateY(0); }\n}\n@keyframes ${Rr}-flash {\n\t0% { opacity: 1; }\n\t25% { opacity: 0; }\n\t50% { opacity: 1; }\n\t75% { opacity: 0; }\n\t100% { opacity: 1; }\n}\n@keyframes ${Rr}-growShrink {\n\t0% { transform: scale(1); }\n\t50% { transform: scale(1.25); }\n\t100% { transform: scale(1); }\n}\n@keyframes ${Rr}-teeter {\n\t0% { transform: rotate(0deg); }\n\t25% { transform: rotate(5deg); }\n\t50% { transform: rotate(0deg); }\n\t75% { transform: rotate(-5deg); }\n\t100% { transform: rotate(0deg); }\n}\n@keyframes ${Rr}-transparency {\n\t0% { opacity: 1; }\n\t50% { opacity: 0.4; }\n\t100% { opacity: 1; }\n}\n@keyframes ${Rr}-boldFlash {\n\t0% { font-weight: inherit; }\n\t25% { font-weight: 900; }\n\t50% { font-weight: inherit; }\n\t75% { font-weight: 900; }\n\t100% { font-weight: inherit; }\n}\n@keyframes ${Rr}-wave {\n\t0% { transform: translateY(0); }\n\t25% { transform: translateY(-8px); }\n\t50% { transform: translateY(0); }\n\t75% { transform: translateY(8px); }\n\t100% { transform: translateY(0); }\n}\n`.trim(), Vr = "onClick";
4141
4141
  function Zr(e) {
@@ -5128,8 +5128,8 @@ function Ul(e) {
5128
5128
  cursor: "ew-resize"
5129
5129
  };
5130
5130
  }
5131
- var Wl = "#4c8bf5", Nl = /^[a-zA-Z0-9_-]{1,128}$/u, jl = /^#[0-9a-fA-F]{6}$/u, Yl = /<[^>]*>/gu;
5132
- function Hl(e) {
5131
+ var Wl = "#4c8bf5", Nl = /^[a-zA-Z0-9_-]{1,128}$/u, jl = /^#[0-9a-fA-F]{6}$/u, Hl = /<[^>]*>/gu;
5132
+ function Yl(e) {
5133
5133
  if (!function(e) {
5134
5134
  return Nl.test(e);
5135
5135
  }(e)) throw new Error(`Invalid collaboration room ID: "${e}". Must be 1-128 alphanumeric characters, hyphens, or underscores.`);
@@ -5137,7 +5137,7 @@ function Hl(e) {
5137
5137
  }
5138
5138
  function Xl(e) {
5139
5139
  if ("string" != typeof e) return "Anonymous";
5140
- return e.replace(Yl, "").trim().slice(0, 64) || "Anonymous";
5140
+ return e.replace(Hl, "").trim().slice(0, 64) || "Anonymous";
5141
5141
  }
5142
5142
  function Gl(e, t = Wl) {
5143
5143
  return "string" != typeof e ? t : jl.test(e) ? e : t;
@@ -6373,7 +6373,7 @@ function Ni() {
6373
6373
  function ji(e) {
6374
6374
  return e instanceof DOMException && "AbortError" === e.name;
6375
6375
  }
6376
- async function Yi(e = {}) {
6376
+ async function Hi(e = {}) {
6377
6377
  const t = await function(e = {}) {
6378
6378
  return new Promise((t) => {
6379
6379
  if ("undefined" == typeof document) return void t(null);
@@ -6395,7 +6395,7 @@ async function Yi(e = {}) {
6395
6395
  buffer: await t.arrayBuffer()
6396
6396
  } : null;
6397
6397
  }
6398
- function Hi(e) {
6398
+ function Yi(e) {
6399
6399
  return String(e).padStart(2, "0");
6400
6400
  }
6401
6401
  function Xi(e) {
@@ -6772,7 +6772,7 @@ var As = {
6772
6772
  }, _s = {
6773
6773
  key: 1,
6774
6774
  class: "pptx-vue-a11y-panel__groups flex flex-col gap-4"
6775
- }, Ls = ["data-severity"], zs = { class: "pptx-vue-a11y-group__count text-[0.6875rem] font-semibold text-muted-foreground" }, Rs = { class: "pptx-vue-a11y-group__list m-0 flex list-none flex-col gap-1.5 p-0" }, Os = ["data-severity", "data-type"], Us = ["onClick"], Ws = { class: "pptx-vue-a11y-issue__type font-semibold" }, Ns = { class: "pptx-vue-a11y-issue__message text-foreground" }, js = { class: "pptx-vue-a11y-issue__slide text-xs text-muted-foreground" }, Hs = fe({
6775
+ }, Ls = ["data-severity"], zs = { class: "pptx-vue-a11y-group__count text-[0.6875rem] font-semibold text-muted-foreground" }, Rs = { class: "pptx-vue-a11y-group__list m-0 flex list-none flex-col gap-1.5 p-0" }, Os = ["data-severity", "data-type"], Us = ["onClick"], Ws = { class: "pptx-vue-a11y-issue__type font-semibold" }, Ns = { class: "pptx-vue-a11y-issue__message text-foreground" }, js = { class: "pptx-vue-a11y-issue__slide text-xs text-muted-foreground" }, Ys = fe({
6776
6776
  __name: "AccessibilityPanel",
6777
6777
  props: { issues: {} },
6778
6778
  emits: ["select-slide"],
@@ -6880,7 +6880,7 @@ var Gs = ["aria-label"], Vs = {
6880
6880
  function p() {
6881
6881
  a();
6882
6882
  }
6883
- return He(() => n.open, (e) => {
6883
+ return Ye(() => n.open, (e) => {
6884
6884
  "undefined" != typeof document && (e ? document.addEventListener("keydown", d) : document.removeEventListener("keydown", d));
6885
6885
  }, { immediate: !0 }), $e(() => {
6886
6886
  "undefined" != typeof document && document.removeEventListener("keydown", d);
@@ -6937,7 +6937,7 @@ var Gs = ["aria-label"], Vs = {
6937
6937
  setup(e, { emit: t }) {
6938
6938
  const n = e, o = t;
6939
6939
  const a = Ie(""), r = Ie(su), l = Ie(!1);
6940
- He(() => n.open, (e) => {
6940
+ Ye(() => n.open, (e) => {
6941
6941
  e && !n.active && (a.value = n.defaults?.roomId ?? `broadcast-${Math.random().toString(36).slice(2, 10)}`, r.value = n.defaults?.serverUrl ?? su, l.value = !1);
6942
6942
  }, { immediate: !0 });
6943
6943
  const i = se(() => a.value.trim().length > 0 && r.value.trim().length > 0), s = se(() => n.active ? "Broadcasting" : "Broadcast to a live audience");
@@ -7325,7 +7325,7 @@ var Gs = ["aria-label"], Vs = {
7325
7325
  function p() {
7326
7326
  "undefined" != typeof window && (window.removeEventListener("keydown", u, !0), window.removeEventListener("mousedown", c, !0), window.removeEventListener("contextmenu", d, !0));
7327
7327
  }
7328
- return He(() => n.open, (e) => {
7328
+ return Ye(() => n.open, (e) => {
7329
7329
  e ? ("undefined" != typeof window && (window.addEventListener("keydown", u, !0), window.addEventListener("mousedown", c, !0), window.addEventListener("contextmenu", d, !0)), be(() => {
7330
7330
  const e = a.value;
7331
7331
  e && (r.value = {
@@ -7362,10 +7362,10 @@ var Gs = ["aria-label"], Vs = {
7362
7362
  key: 0,
7363
7363
  value: "",
7364
7364
  disabled: ""
7365
- }, ju = ["value"], Yu = {
7365
+ }, ju = ["value"], Hu = {
7366
7366
  key: 0,
7367
7367
  class: "pptx-vue-cs-rename-row flex items-center gap-1.5"
7368
- }, Hu = ["onKeydown"], Xu = {
7368
+ }, Yu = ["onKeydown"], Xu = {
7369
7369
  key: 1,
7370
7370
  class: "pptx-vue-cs-members flex flex-col gap-1"
7371
7371
  }, Gu = { class: "pptx-vue-cs-order m-0 flex list-none flex-col gap-0.5 p-0" }, Vu = { class: "pptx-vue-cs-order-label flex-1 overflow-hidden text-ellipsis whitespace-nowrap" }, Zu = ["disabled", "onClick"], qu = ["disabled", "onClick"], Ku = {
@@ -7441,13 +7441,13 @@ var Gs = ["aria-label"], Vs = {
7441
7441
  onClick: t[1] || (t[1] = (e) => o("delete", i.value.id))
7442
7442
  }, " Delete ")) : ce("", !0)
7443
7443
  ]),
7444
- l.value ? (Fe(), de("div", Yu, [Ge(pe("input", {
7444
+ l.value ? (Fe(), de("div", Hu, [Ge(pe("input", {
7445
7445
  "onUpdate:modelValue": t[2] || (t[2] = (e) => r.value = e),
7446
7446
  class: "pptx-vue-cs-input min-w-0 flex-1 rounded border border-border bg-popover px-1.5 py-1 text-xs text-foreground",
7447
7447
  type: "text",
7448
7448
  "aria-label": "New show name",
7449
7449
  onKeydown: [Ve(Ze(m, ["prevent"]), ["enter"]), t[3] || (t[3] = Ve(Ze((e) => l.value = !1, ["prevent"]), ["escape"]))]
7450
- }, null, 40, Hu), [[je, r.value]]), pe("button", {
7450
+ }, null, 40, Yu), [[je, r.value]]), pe("button", {
7451
7451
  type: "button",
7452
7452
  class: "pptx-vue-cs-btn shrink-0 cursor-pointer rounded border border-border bg-muted px-2 py-1 text-xs text-foreground hover:bg-accent",
7453
7453
  onClick: m
@@ -7851,7 +7851,7 @@ var lc = { class: "pptx-vue-docprops-custom flex flex-col gap-3" }, ic = { class
7851
7851
  label: "Custom"
7852
7852
  }
7853
7853
  ], r = Ie("general"), l = Ie({}), i = Ie([]), s = Ie(""), u = Ie("");
7854
- He(() => n.open, (e) => {
7854
+ Ye(() => n.open, (e) => {
7855
7855
  e && (l.value = { ...n.coreProperties ?? {} }, i.value = (n.customProperties ?? []).map((e) => ({ ...e })), s.value = n.appProperties?.manager ?? "", u.value = n.appProperties?.company ?? "", r.value = "general");
7856
7856
  }, { immediate: !0 });
7857
7857
  const c = se(() => rc(n.slides, n.coreProperties));
@@ -8010,7 +8010,7 @@ var lc = { class: "pptx-vue-docprops-custom flex flex-col gap-3" }, ic = { class
8010
8010
  opacity: v.value
8011
8011
  }, null, 8, Rc)) : ce("", !0)], 44, zc));
8012
8012
  }
8013
- }), Uc = ["aria-label"], Wc = { class: "pptx-vue-export-progress-panel w-[min(92vw,384px)] rounded-xl border border-border bg-popover p-6 text-foreground shadow-2xl" }, Nc = { class: "mb-4 text-sm font-semibold" }, jc = { class: "mb-3 h-2.5 w-full overflow-hidden rounded-full bg-muted" }, Yc = { class: "mb-4 flex items-center justify-between text-xs text-muted-foreground" }, Hc = { class: "tabular-nums" }, Xc = fe({
8013
+ }), Uc = ["aria-label"], Wc = { class: "pptx-vue-export-progress-panel w-[min(92vw,384px)] rounded-xl border border-border bg-popover p-6 text-foreground shadow-2xl" }, Nc = { class: "mb-4 text-sm font-semibold" }, jc = { class: "mb-3 h-2.5 w-full overflow-hidden rounded-full bg-muted" }, Hc = { class: "mb-4 flex items-center justify-between text-xs text-muted-foreground" }, Yc = { class: "tabular-nums" }, Xc = fe({
8014
8014
  __name: "ExportProgressModal",
8015
8015
  props: {
8016
8016
  open: { type: Boolean },
@@ -8036,7 +8036,7 @@ var lc = { class: "pptx-vue-docprops-custom flex flex-col gap-3" }, ic = { class
8036
8036
  class: "h-full rounded-full bg-primary transition-[width] duration-300 ease-out",
8037
8037
  style: Se({ width: `${a.value}%` })
8038
8038
  }, null, 4)]),
8039
- pe("div", Yc, [pe("span", null, Le(e.statusMessage ?? "Processing..."), 1), pe("span", Hc, Le(a.value) + "%", 1)]),
8039
+ pe("div", Hc, [pe("span", null, Le(e.statusMessage ?? "Processing..."), 1), pe("span", Yc, Le(a.value) + "%", 1)]),
8040
8040
  pe("div", { class: "flex justify-end" }, [pe("button", {
8041
8041
  type: "button",
8042
8042
  class: "rounded-md border border-border bg-muted px-4 py-1.5 text-xs text-foreground transition-colors hover:bg-accent",
@@ -8367,7 +8367,7 @@ var lc = { class: "pptx-vue-docprops-custom flex flex-col gap-3" }, ic = { class
8367
8367
  function u() {
8368
8368
  a.value = "", r.value = "", o("save", { actionClick: void 0 }), i();
8369
8369
  }
8370
- return He([() => n.open, () => n.element], ([e]) => {
8370
+ return Ye([() => n.open, () => n.element], ([e]) => {
8371
8371
  e && (a.value = n.element?.actionClick?.url ?? "", r.value = n.element?.actionClick?.tooltip ?? "");
8372
8372
  }, { immediate: !0 }), (t, n) => (Fe(), ue(Js, {
8373
8373
  open: e.open,
@@ -8408,7 +8408,7 @@ var lc = { class: "pptx-vue-docprops-custom flex flex-col gap-3" }, ic = { class
8408
8408
  _: 1
8409
8409
  }, 8, ["open"]));
8410
8410
  }
8411
- }), Yd = ["spellcheck"], Hd = fe({
8411
+ }), Hd = ["spellcheck"], Yd = fe({
8412
8412
  __name: "InlineTextEditor",
8413
8413
  props: {
8414
8414
  element: {},
@@ -8486,7 +8486,7 @@ var lc = { class: "pptx-vue-docprops-custom flex flex-col gap-3" }, ic = { class
8486
8486
  onBlur: s,
8487
8487
  onKeydown: u,
8488
8488
  onPointerdown: t[0] || (t[0] = Ze(() => {}, ["stop"]))
8489
- }, null, 44, Yd));
8489
+ }, null, 44, Hd));
8490
8490
  }
8491
8491
  }), Xd = { class: "pptx-vue-anim-panel flex flex-col gap-2 rounded-md border border-border bg-card p-2 text-xs" }, Gd = {
8492
8492
  key: 0,
@@ -8883,7 +8883,7 @@ var lc = { class: "pptx-vue-docprops-custom flex flex-col gap-3" }, ic = { class
8883
8883
  ]))), 128))])) : ce("", !0)
8884
8884
  ], 64)) : (Fe(), de("p", Fp, " This chart has no editable data. ")) : (Fe(), de("p", Cp, " Select a chart to edit its properties. "))]));
8885
8885
  }
8886
- }), Wp = { class: "pptx-vue-effects flex flex-col gap-3 text-xs" }, Np = { class: "pptx-vue-effects-field flex flex-col gap-1" }, jp = { class: "pptx-vue-effects-label text-muted-foreground" }, Yp = ["value"], Hp = { class: "pptx-vue-effects-section flex flex-col gap-2" }, Xp = { class: "pptx-vue-effects-check inline-flex items-center gap-2 text-foreground" }, Gp = ["checked"], Vp = {
8886
+ }), Wp = { class: "pptx-vue-effects flex flex-col gap-3 text-xs" }, Np = { class: "pptx-vue-effects-field flex flex-col gap-1" }, jp = { class: "pptx-vue-effects-label text-muted-foreground" }, Hp = ["value"], Yp = { class: "pptx-vue-effects-section flex flex-col gap-2" }, Xp = { class: "pptx-vue-effects-check inline-flex items-center gap-2 text-foreground" }, Gp = ["checked"], Vp = {
8887
8887
  key: 0,
8888
8888
  class: "pptx-vue-effects-grid grid grid-cols-2 gap-2"
8889
8889
  }, Zp = { class: "pptx-vue-effects-field flex flex-col gap-1" }, qp = ["value"], Kp = { class: "pptx-vue-effects-field flex flex-col gap-1" }, Jp = ["value"], Qp = { class: "pptx-vue-effects-field flex flex-col gap-1" }, em = ["value"], tm = { class: "pptx-vue-effects-field flex flex-col gap-1" }, nm = ["value"], om = { class: "pptx-vue-effects-section flex flex-col gap-2" }, am = { class: "pptx-vue-effects-check inline-flex items-center gap-2 text-foreground" }, rm = ["checked"], lm = {
@@ -8930,7 +8930,7 @@ var lc = { class: "pptx-vue-docprops-custom flex flex-col gap-3" }, ic = { class
8930
8930
  const t = i(e);
8931
8931
  void 0 !== t && o("update", { opacity: l(t, 0, 100) / 100 });
8932
8932
  }(e.target.value))
8933
- }, null, 40, Yp)]), a.value ? (Fe(), de(le, { key: 0 }, [pe("div", Hp, [pe("label", Xp, [pe("input", {
8933
+ }, null, 40, Hp)]), a.value ? (Fe(), de(le, { key: 0 }, [pe("div", Yp, [pe("label", Xp, [pe("input", {
8934
8934
  type: "checkbox",
8935
8935
  checked: c.value,
8936
8936
  onChange: t[1] || (t[1] = (e) => {
@@ -9194,7 +9194,7 @@ var lc = { class: "pptx-vue-docprops-custom flex flex-col gap-3" }, ic = { class
9194
9194
  chevron: "Chevron",
9195
9195
  bending: "Bending"
9196
9196
  };
9197
- var Ym = { class: "pptx-vue-smartart-layouts space-y-1.5" }, Hm = {
9197
+ var Hm = { class: "pptx-vue-smartart-layouts space-y-1.5" }, Ym = {
9198
9198
  class: "grid grid-cols-3 gap-1.5",
9199
9199
  "data-testid": "smartart-layouts"
9200
9200
  }, Xm = [
@@ -9217,7 +9217,7 @@ var Ym = { class: "pptx-vue-smartart-layouts space-y-1.5" }, Hm = {
9217
9217
  return jm[e] ?? e.charAt(0).toUpperCase() + e.slice(1);
9218
9218
  }(e);
9219
9219
  }
9220
- return (t, l) => (Fe(), de("div", Ym, [l[0] || (l[0] = pe("span", { class: "text-[11px] text-muted-foreground" }, "Switch layout", -1)), pe("div", Hm, [(Fe(!0), de(le, null, Ae(a.value, (t) => (Fe(), de("button", {
9220
+ return (t, l) => (Fe(), de("div", Hm, [l[0] || (l[0] = pe("span", { class: "text-[11px] text-muted-foreground" }, "Switch layout", -1)), pe("div", Ym, [(Fe(!0), de(le, null, Ae(a.value, (t) => (Fe(), de("button", {
9221
9221
  key: t,
9222
9222
  type: "button",
9223
9223
  disabled: !e.canEdit,
@@ -9313,7 +9313,7 @@ var Ym = { class: "pptx-vue-smartart-layouts space-y-1.5" }, Hm = {
9313
9313
  },
9314
9314
  switchLayout: function(e) {
9315
9315
  if (e === i.value) return;
9316
- const n = H(t.value, e);
9316
+ const n = Y(t.value, e);
9317
9317
  u({
9318
9318
  layoutType: n.layoutType,
9319
9319
  resolvedLayoutType: n.resolvedLayoutType,
@@ -9638,7 +9638,7 @@ var Ym = { class: "pptx-vue-smartart-layouts space-y-1.5" }, Hm = {
9638
9638
  }, jv = {
9639
9639
  key: 1,
9640
9640
  class: "pptx-vue-text-fields flex flex-col gap-2"
9641
- }, Yv = { class: "pptx-vue-text-field flex flex-col gap-1" }, Hv = ["value"], Xv = ["value"], Gv = ["value"], Vv = { class: "pptx-vue-text-row grid grid-cols-2 gap-2" }, Zv = { class: "pptx-vue-text-field flex flex-col gap-1" }, qv = ["value"], Kv = { class: "pptx-vue-text-field flex flex-col gap-1" }, Jv = ["value"], Qv = { class: "pptx-vue-text-field flex flex-col gap-1" }, ef = { class: "pptx-vue-text-toggles flex flex-wrap gap-1" }, tf = [
9641
+ }, Hv = { class: "pptx-vue-text-field flex flex-col gap-1" }, Yv = ["value"], Xv = ["value"], Gv = ["value"], Vv = { class: "pptx-vue-text-row grid grid-cols-2 gap-2" }, Zv = { class: "pptx-vue-text-field flex flex-col gap-1" }, qv = ["value"], Kv = { class: "pptx-vue-text-field flex flex-col gap-1" }, Jv = ["value"], Qv = { class: "pptx-vue-text-field flex flex-col gap-1" }, ef = { class: "pptx-vue-text-toggles flex flex-wrap gap-1" }, tf = [
9642
9642
  "aria-pressed",
9643
9643
  "title",
9644
9644
  "onClick"
@@ -9732,7 +9732,7 @@ var Ym = { class: "pptx-vue-smartart-layouts space-y-1.5" }, Hm = {
9732
9732
  return Boolean(u.value?.[e]);
9733
9733
  }
9734
9734
  return (e, t) => (Fe(), de("div", Wv, [t[7] || (t[7] = pe("h3", { class: "pptx-vue-text-title text-xs font-semibold uppercase tracking-wide text-muted-foreground" }, " Text ", -1)), s.value ? (Fe(), de("div", jv, [
9735
- pe("label", Yv, [t[1] || (t[1] = pe("span", { class: "pptx-vue-text-label text-muted-foreground" }, "Font", -1)), pe("select", {
9735
+ pe("label", Hv, [t[1] || (t[1] = pe("span", { class: "pptx-vue-text-label text-muted-foreground" }, "Font", -1)), pe("select", {
9736
9736
  class: "pptx-vue-text-input w-full bg-muted border border-border rounded px-2 py-1",
9737
9737
  value: c.value,
9738
9738
  onChange: h
@@ -9746,7 +9746,7 @@ var Ym = { class: "pptx-vue-smartart-layouts space-y-1.5" }, Hm = {
9746
9746
  key: 0,
9747
9747
  value: c.value
9748
9748
  }, Le(c.value), 9, Gv)) : ce("", !0)
9749
- ], 40, Hv)]),
9749
+ ], 40, Yv)]),
9750
9750
  pe("div", Vv, [pe("label", Zv, [t[2] || (t[2] = pe("span", { class: "pptx-vue-text-label text-muted-foreground" }, "Size (pt)", -1)), pe("input", {
9751
9751
  type: "number",
9752
9752
  class: "pptx-vue-text-input w-full bg-muted border border-border rounded px-2 py-1",
@@ -10010,7 +10010,7 @@ var Ym = { class: "pptx-vue-smartart-layouts space-y-1.5" }, Hm = {
10010
10010
  "value",
10011
10011
  "disabled",
10012
10012
  "onInput"
10013
- ], Nf = { class: "truncate text-[10px] text-muted-foreground" }, jf = { class: "flex flex-col gap-1" }, Yf = ["disabled"], Hf = { class: "flex flex-col gap-1" }, Xf = ["disabled"], Gf = { class: "flex gap-1.5 pt-1" }, Vf = ["disabled"], Zf = ["disabled"], qf = fe({
10013
+ ], Nf = { class: "truncate text-[10px] text-muted-foreground" }, jf = { class: "flex flex-col gap-1" }, Hf = ["disabled"], Yf = { class: "flex flex-col gap-1" }, Xf = ["disabled"], Gf = { class: "flex gap-1.5 pt-1" }, Vf = ["disabled"], Zf = ["disabled"], qf = fe({
10014
10014
  __name: "ThemeEditorPanel",
10015
10015
  props: {
10016
10016
  theme: {},
@@ -10142,8 +10142,8 @@ var Ym = { class: "pptx-vue-smartart-layouts space-y-1.5" }, Hm = {
10142
10142
  type: "text",
10143
10143
  disabled: !n.canEdit,
10144
10144
  class: "rounded border border-border bg-background/60 px-2 py-1 text-xs"
10145
- }, null, 8, Yf), [[je, s.value]])]),
10146
- pe("label", Hf, [t[8] || (t[8] = pe("span", { class: "text-[11px] uppercase tracking-wide text-muted-foreground" }, "Body font", -1)), Ge(pe("input", {
10145
+ }, null, 8, Hf), [[je, s.value]])]),
10146
+ pe("label", Yf, [t[8] || (t[8] = pe("span", { class: "text-[11px] uppercase tracking-wide text-muted-foreground" }, "Body font", -1)), Ge(pe("input", {
10147
10147
  "onUpdate:modelValue": t[3] || (t[3] = (e) => u.value = e),
10148
10148
  type: "text",
10149
10149
  disabled: !n.canEdit,
@@ -10477,12 +10477,12 @@ var Mh = ["viewBox", "preserveAspectRatio"], Ch = ["width", "height"], Fh = ["x"
10477
10477
  "fill",
10478
10478
  "font-weight",
10479
10479
  "dominant-baseline"
10480
- ], Nh = ["transform"], jh = ["fill"], Yh = {
10480
+ ], Nh = ["transform"], jh = ["fill"], Hh = {
10481
10481
  x: 13,
10482
10482
  y: 3,
10483
10483
  "font-size": "9",
10484
10484
  fill: "#475569"
10485
- }, Hh = hu(fe({
10485
+ }, Yh = hu(fe({
10486
10486
  __name: "ChartViewModelSvg",
10487
10487
  props: {
10488
10488
  elementId: {},
@@ -10685,7 +10685,7 @@ var Mh = ["viewBox", "preserveAspectRatio"], Ch = ["width", "height"], Fh = ["x"
10685
10685
  height: "10",
10686
10686
  rx: "2",
10687
10687
  fill: t.color
10688
- }, null, 8, jh), pe("text", Yh, Le(t.label), 1)], 8, Nh))), 128))
10688
+ }, null, 8, jh), pe("text", Hh, Le(t.label), 1)], 8, Nh))), 128))
10689
10689
  ], 8, Mh));
10690
10690
  }
10691
10691
  }), [["__scopeId", "data-v-1825feba"]]), Xh = fe({
@@ -10693,7 +10693,7 @@ var Mh = ["viewBox", "preserveAspectRatio"], Ch = ["width", "height"], Fh = ["x"
10693
10693
  props: { element: {} },
10694
10694
  setup(e) {
10695
10695
  const t = e, n = se(() => $h(t.element));
10696
- return (t, o) => (Fe(), ue(Hh, {
10696
+ return (t, o) => (Fe(), ue(Yh, {
10697
10697
  "element-id": e.element.id,
10698
10698
  vm: n.value,
10699
10699
  "preserve-aspect-ratio": "none"
@@ -10958,7 +10958,7 @@ var Mh = ["viewBox", "preserveAspectRatio"], Ch = ["width", "height"], Fh = ["x"
10958
10958
  props: { element: {} },
10959
10959
  setup(e) {
10960
10960
  const t = e, n = se(() => $h(t.element));
10961
- return (t, o) => (Fe(), ue(Hh, {
10961
+ return (t, o) => (Fe(), ue(Yh, {
10962
10962
  "element-id": e.element.id,
10963
10963
  vm: n.value,
10964
10964
  "preserve-aspect-ratio": "none"
@@ -10969,7 +10969,7 @@ var Mh = ["viewBox", "preserveAspectRatio"], Ch = ["width", "height"], Fh = ["x"
10969
10969
  props: { element: {} },
10970
10970
  setup(e) {
10971
10971
  const t = e, n = se(() => $h(t.element));
10972
- return (t, o) => (Fe(), ue(Hh, {
10972
+ return (t, o) => (Fe(), ue(Yh, {
10973
10973
  "element-id": e.element.id,
10974
10974
  vm: n.value,
10975
10975
  "preserve-aspect-ratio": "none"
@@ -11396,7 +11396,7 @@ var Mh = ["viewBox", "preserveAspectRatio"], Ch = ["width", "height"], Fh = ["x"
11396
11396
  props: { element: {} },
11397
11397
  setup(e) {
11398
11398
  const t = e, n = se(() => $h(t.element));
11399
- return (t, o) => (Fe(), ue(Hh, {
11399
+ return (t, o) => (Fe(), ue(Yh, {
11400
11400
  "element-id": e.element.id,
11401
11401
  vm: n.value,
11402
11402
  "preserve-aspect-ratio": "xMidYMid meet"
@@ -11408,7 +11408,7 @@ var Mh = ["viewBox", "preserveAspectRatio"], Ch = ["width", "height"], Fh = ["x"
11408
11408
  "width",
11409
11409
  "height",
11410
11410
  "fill"
11411
- ], Hg = fe({
11411
+ ], Yg = fe({
11412
11412
  __name: "SurfaceChart",
11413
11413
  props: {
11414
11414
  chartData: {},
@@ -11668,7 +11668,7 @@ var Mh = ["viewBox", "preserveAspectRatio"], Ch = ["width", "height"], Fh = ["x"
11668
11668
  class: "pptx-vue-element pptx-vue-chart",
11669
11669
  style: Se(n.value),
11670
11670
  "data-element-id": e.element.id
11671
- }, [i.value ? (Fe(), de("div", ox, Le(s.value), 1)) : h.value && g.value ? (Fe(), ue(Hh, {
11671
+ }, [i.value ? (Fe(), de("div", ox, Le(s.value), 1)) : h.value && g.value ? (Fe(), ue(Yh, {
11672
11672
  key: 1,
11673
11673
  "element-id": e.element.id,
11674
11674
  vm: g.value,
@@ -11743,7 +11743,7 @@ var Mh = ["viewBox", "preserveAspectRatio"], Ch = ["width", "height"], Fh = ["x"
11743
11743
  "font-weight": "600",
11744
11744
  fill: "#1e293b"
11745
11745
  }, Le(o.value?.title || "Chart"), 9, ux)) : ce("", !0),
11746
- o.value ? (Fe(), ue(Hg, {
11746
+ o.value ? (Fe(), ue(Yg, {
11747
11747
  key: 1,
11748
11748
  "chart-data": o.value,
11749
11749
  layout: d.value,
@@ -12215,7 +12215,7 @@ var Mh = ["viewBox", "preserveAspectRatio"], Ch = ["width", "height"], Fh = ["x"
12215
12215
  innerHTML: e.mathml
12216
12216
  }, null, 8, Nx))], 64))), 128)) : ce("", !0)], 12, zx));
12217
12217
  }
12218
- }), [["__scopeId", "data-v-6baf4141"]]), Yx = ["data-element-id"], Hx = ["viewBox"], Xx = [
12218
+ }), [["__scopeId", "data-v-6baf4141"]]), Hx = ["data-element-id"], Yx = ["viewBox"], Xx = [
12219
12219
  "d",
12220
12220
  "stroke",
12221
12221
  "stroke-width",
@@ -12256,7 +12256,7 @@ var Mh = ["viewBox", "preserveAspectRatio"], Ch = ["width", "height"], Fh = ["x"
12256
12256
  "stroke-linecap": "round",
12257
12257
  "stroke-linejoin": "round",
12258
12258
  "vector-effect": "non-scaling-stroke"
12259
- }, null, 8, Xx))), 128))], 8, Hx)) : ce("", !0)], 12, Yx));
12259
+ }, null, 8, Xx))), 128))], 8, Yx)) : ce("", !0)], 12, Hx));
12260
12260
  }
12261
12261
  }), [["__scopeId", "data-v-8d981bb0"]]), Vx = ["data-element-id"], Zx = ["src"], qx = {
12262
12262
  key: 1,
@@ -12685,7 +12685,7 @@ var Mh = ["viewBox", "preserveAspectRatio"], Ch = ["width", "height"], Fh = ["x"
12685
12685
  "y",
12686
12686
  "fill",
12687
12687
  "font-size"
12688
- ], Yy = ["viewBox", "data-layout-family"], Hy = ["d"], Xy = [
12688
+ ], Hy = ["viewBox", "data-layout-family"], Yy = ["d"], Xy = [
12689
12689
  "cx",
12690
12690
  "cy",
12691
12691
  "r",
@@ -12889,7 +12889,7 @@ var Mh = ["viewBox", "preserveAspectRatio"], Ch = ["width", "height"], Fh = ["x"
12889
12889
  stroke: "#94a3b8",
12890
12890
  "stroke-width": "1.5",
12891
12891
  opacity: "0.5"
12892
- }, null, 8, Hy))), 128)), (Fe(!0), de(le, null, Ae(h.value.nodes, (e) => (Fe(), de("g", {
12892
+ }, null, 8, Yy))), 128)), (Fe(!0), de(le, null, Ae(h.value.nodes, (e) => (Fe(), de("g", {
12893
12893
  key: e.key,
12894
12894
  style: Se(h.value.shadowFilter ? { filter: h.value.shadowFilter } : void 0)
12895
12895
  }, ["circle" === e.kind ? (Fe(), de(le, { key: 0 }, [pe("circle", {
@@ -12937,7 +12937,7 @@ var Mh = ["viewBox", "preserveAspectRatio"], Ch = ["width", "height"], Fh = ["x"
12937
12937
  "dominant-baseline": "central",
12938
12938
  fill: "white",
12939
12939
  "font-size": e.fontSize
12940
- }, Le(e.text), 9, Ky)], 64))], 4))), 128))], 8, Yy)) : ce("", !0)], 4)], 12, Ry));
12940
+ }, Le(e.text), 9, Ky)], 64))], 4))), 128))], 8, Hy)) : ce("", !0)], 4)], 12, Ry));
12941
12941
  }
12942
12942
  }), [["__scopeId", "data-v-de247766"]]), eb = ["data-element-id"], nb = hu(fe({
12943
12943
  __name: "SmartArt3DRenderer",
@@ -13016,7 +13016,7 @@ var Mh = ["viewBox", "preserveAspectRatio"], Ch = ["width", "height"], Fh = ["x"
13016
13016
  s.value = !0;
13017
13017
  }
13018
13018
  else s.value = !0;
13019
- }), He(() => [t.element.width, t.element.height], ([e, t]) => c?.resize(e, t)), $e(() => {
13019
+ }), Ye(() => [t.element.width, t.element.height], ([e, t]) => c?.resize(e, t)), $e(() => {
13020
13020
  c?.dispose(), c = null;
13021
13021
  }), (t, n) => s.value ? (Fe(), ue(Qy, {
13022
13022
  key: 0,
@@ -13206,7 +13206,7 @@ var rb = ["data-element-id"], lb = { class: "pptx-vue-table__grid" }, ib = { key
13206
13206
  function y(e) {
13207
13207
  e.stopPropagation(), "Enter" === e.key || "Tab" === e.key ? (e.preventDefault(), x()) : "Escape" === e.key && (e.preventDefault(), p.value = null);
13208
13208
  }
13209
- return He(p, (e) => {
13209
+ return Ye(p, (e) => {
13210
13210
  e && be(() => {
13211
13211
  const e = v.value;
13212
13212
  e && (e.focus(), e.select());
@@ -13663,11 +13663,11 @@ var rb = ["data-element-id"], lb = { class: "pptx-vue-table__grid" }, ib = { key
13663
13663
  ], Nb = { class: "pptx-vue-masters-list__label" }, jb = {
13664
13664
  key: 0,
13665
13665
  class: "pptx-vue-masters-list__layouts"
13666
- }, Yb = [
13666
+ }, Hb = [
13667
13667
  "data-testid",
13668
13668
  "onClick",
13669
13669
  "onKeydown"
13670
- ], Hb = { class: "pptx-vue-masters-list__label pptx-vue-masters-list__label--layout" }, Xb = {
13670
+ ], Yb = { class: "pptx-vue-masters-list__label pptx-vue-masters-list__label--layout" }, Xb = {
13671
13671
  key: 0,
13672
13672
  class: "pptx-vue-masters-list__empty"
13673
13673
  }, Gb = hu(fe({
@@ -13758,7 +13758,7 @@ var rb = ["data-element-id"], lb = { class: "pptx-vue-table__grid" }, ib = { key
13758
13758
  "canvas-size",
13759
13759
  "media-data-urls",
13760
13760
  "scale"
13761
- ])], 4), pe("span", Hb, Le(t.name || "Layout"), 1)], 42, Yb))), 128))])) : ce("", !0)]))), 128)), 0 === e.slideMasters.length ? (Fe(), de("div", Xb, " No slide masters ")) : ce("", !0)]));
13761
+ ])], 4), pe("span", Yb, Le(t.name || "Layout"), 1)], 42, Hb))), 128))])) : ce("", !0)]))), 128)), 0 === e.slideMasters.length ? (Fe(), de("div", Xb, " No slide masters ")) : ce("", !0)]));
13762
13762
  }
13763
13763
  }), [["__scopeId", "data-v-0a723455"]]), Vb = { class: "pptx-vue-master-sidebar" }, Zb = { class: "pptx-vue-master-sidebar__header" }, qb = { class: "pptx-vue-master-sidebar__title" }, Kb = {
13764
13764
  class: "pptx-vue-master-sidebar__tabs",
@@ -14509,7 +14509,7 @@ var mw = { class: "flex-1 space-y-1 overflow-y-auto px-1.5 pb-2 pt-1.5" }, vw =
14509
14509
  60,
14510
14510
  72,
14511
14511
  96
14512
- ], Ow = ["disabled"], Uw = { class: "relative group" }, Ww = ["disabled"], Nw = { class: "absolute left-0 top-full z-50 hidden group-hover:flex flex-col w-44 pt-1" }, jw = { class: "rounded-lg border border-border bg-popover backdrop-blur-lg shadow-2xl py-1" }, Yw = { class: "px-3 pt-1.5 pb-0.5 text-[10px] font-semibold text-muted-foreground uppercase tracking-wider" }, Hw = [
14512
+ ], Ow = ["disabled"], Uw = { class: "relative group" }, Ww = ["disabled"], Nw = { class: "absolute left-0 top-full z-50 hidden group-hover:flex flex-col w-44 pt-1" }, jw = { class: "rounded-lg border border-border bg-popover backdrop-blur-lg shadow-2xl py-1" }, Hw = { class: "px-3 pt-1.5 pb-0.5 text-[10px] font-semibold text-muted-foreground uppercase tracking-wider" }, Yw = [
14513
14513
  "disabled",
14514
14514
  "title",
14515
14515
  "onClick"
@@ -14587,14 +14587,14 @@ var mw = { class: "flex-1 space-y-1 overflow-y-auto px-1.5 pb-2 pt-1.5" }, vw =
14587
14587
  ve(Oe(sn), { class: we(Oe(Pw)) }, null, 8, ["class"]),
14588
14588
  a[3] || (a[3] = me(" Add Animation ", -1)),
14589
14589
  ve(Oe(it), { class: "w-3 h-3" })
14590
- ], 10, Ww), pe("div", Nw, [pe("div", jw, [(Fe(), de(le, null, Ae(n, (e) => (Fe(), de(le, { key: e.group }, [pe("div", Yw, Le(e.group), 1), (Fe(!0), de(le, null, Ae(e.items, (n) => (Fe(), de("button", {
14590
+ ], 10, Ww), pe("div", Nw, [pe("div", jw, [(Fe(), de(le, null, Ae(n, (e) => (Fe(), de(le, { key: e.group }, [pe("div", Hw, Le(e.group), 1), (Fe(!0), de(le, null, Ae(e.items, (n) => (Fe(), de("button", {
14591
14591
  key: n.value,
14592
14592
  type: "button",
14593
14593
  disabled: r.value,
14594
14594
  class: "flex items-center gap-2 w-full px-3 py-1.5 text-xs text-foreground hover:bg-muted transition-colors disabled:opacity-40 disabled:cursor-not-allowed",
14595
14595
  title: `Apply ${n.label}`,
14596
14596
  onClick: (o) => t.onAddAnimation?.(n.value, e.group.toLowerCase())
14597
- }, Le(n.label), 9, Hw))), 128))], 64))), 64))])])]),
14597
+ }, Le(n.label), 9, Yw))), 128))], 64))), 64))])])]),
14598
14598
  pe("div", { class: we(Oe(Cw)) }, null, 2),
14599
14599
  pe("button", {
14600
14600
  type: "button",
@@ -14609,7 +14609,7 @@ var mw = { class: "flex-1 space-y-1 overflow-y-auto px-1.5 pb-2 pt-1.5" }, vw =
14609
14609
  class: we(Oe(pw)(Oe(Mw), t.isInspectorPaneOpen ? "bg-primary hover:bg-primary/80 text-white" : "")),
14610
14610
  title: "Open the animation panel",
14611
14611
  onClick: a[1] || (a[1] = (e) => (t.onOpenAnimationPanel ?? t.onToggleInspector)())
14612
- }, [ve(Oe(Ht), { class: we(Oe(Pw)) }, null, 8, ["class"]), a[5] || (a[5] = me(" Animation Panel ", -1))], 2)
14612
+ }, [ve(Oe(Yt), { class: we(Oe(Pw)) }, null, 8, ["class"]), a[5] || (a[5] = me(" Animation Panel ", -1))], 2)
14613
14613
  ], 64));
14614
14614
  }
14615
14615
  }), Vw = [
@@ -14927,7 +14927,7 @@ function bk() {
14927
14927
  function n(n) {
14928
14928
  t.value && !t.value.contains(n.target) && (e.value = !1);
14929
14929
  }
14930
- return He(e, (e) => {
14930
+ return Ye(e, (e) => {
14931
14931
  e ? document.addEventListener("mousedown", n) : document.removeEventListener("mousedown", n);
14932
14932
  }), Ce(() => document.removeEventListener("mousedown", n)), {
14933
14933
  open: e,
@@ -15085,7 +15085,7 @@ var wk = { class: "flex flex-col items-center gap-0.5" }, kk = ["disabled"], Sk
15085
15085
  pe("div", { class: we(Oe(Cw)) }, null, 2)
15086
15086
  ], 64));
15087
15087
  }
15088
- }), Ok = ["disabled"], Uk = ["value"], Wk = ["value"], Nk = ["disabled"], jk = ["disabled"], Yk = ["disabled"], Hk = ["disabled"], Xk = ["value"], Gk = ["value"], Vk = ["disabled"], Zk = ["disabled"], qk = ["disabled"], Kk = { class: "relative group" }, Jk = ["disabled"], Qk = { class: "absolute left-0 top-full z-50 hidden group-hover:flex flex-col w-40 pt-1" }, eS = { class: "rounded-lg border border-border bg-popover backdrop-blur-lg shadow-2xl py-1" }, tS = ["disabled", "onClick"], nS = {
15088
+ }), Ok = ["disabled"], Uk = ["value"], Wk = ["value"], Nk = ["disabled"], jk = ["disabled"], Hk = ["disabled"], Yk = ["disabled"], Xk = ["value"], Gk = ["value"], Vk = ["disabled"], Zk = ["disabled"], qk = ["disabled"], Kk = { class: "relative group" }, Jk = ["disabled"], Qk = { class: "absolute left-0 top-full z-50 hidden group-hover:flex flex-col w-40 pt-1" }, eS = { class: "rounded-lg border border-border bg-popover backdrop-blur-lg shadow-2xl py-1" }, tS = ["disabled", "onClick"], nS = {
15089
15089
  class: "w-4 h-4 flex-shrink-0",
15090
15090
  viewBox: "0 0 24 24",
15091
15091
  fill: "none",
@@ -15446,13 +15446,13 @@ var wk = { class: "flex flex-col items-center gap-0.5" }, kk = ["disabled"], Sk
15446
15446
  class: we(Oe(Mw)),
15447
15447
  title: "Insert audio or video",
15448
15448
  onClick: f[4] || (f[4] = (e) => t.onOpenMediaPicker())
15449
- }, [ve(Oe(bn), { class: we(Oe(Pw)) }, null, 8, ["class"]), f[19] || (f[19] = me(" Media ", -1))], 10, Yk),
15449
+ }, [ve(Oe(bn), { class: we(Oe(Pw)) }, null, 8, ["class"]), f[19] || (f[19] = me(" Media ", -1))], 10, Hk),
15450
15450
  pe("button", {
15451
15451
  disabled: !n.value,
15452
15452
  class: we(Oe(Mw)),
15453
15453
  title: "Insert table",
15454
15454
  onClick: f[5] || (f[5] = (e) => t.onAddTable())
15455
- }, [ve(Oe(ft), { class: we(Oe(Pw)) }, null, 8, ["class"]), f[20] || (f[20] = me(" Table ", -1))], 10, Hk),
15455
+ }, [ve(Oe(ft), { class: we(Oe(Pw)) }, null, 8, ["class"]), f[20] || (f[20] = me(" Table ", -1))], 10, Yk),
15456
15456
  t.onAddChart ? (Fe(), de("div", {
15457
15457
  key: 0,
15458
15458
  class: we(Oe($w))
@@ -15742,7 +15742,7 @@ var wk = { class: "flex flex-col items-center gap-0.5" }, kk = ["disabled"], Sk
15742
15742
  "disabled",
15743
15743
  "title",
15744
15744
  "onClick"
15745
- ], PS = ["disabled"], IS = ["disabled"], AS = ["disabled"], DS = { class: "relative group" }, ES = ["disabled"], BS = { class: "absolute left-0 top-full z-50 hidden group-hover:block pt-1" }, _S = { class: "rounded-lg border border-border bg-popover backdrop-blur-lg shadow-2xl p-2 w-36" }, LS = { class: "grid grid-cols-5 gap-1.5 mb-2" }, zS = ["onClick"], RS = ["value"], OS = { class: "relative group" }, US = ["disabled"], WS = { class: "absolute left-0 top-full z-50 hidden group-hover:block pt-1" }, NS = { class: "rounded-lg border border-border bg-popover backdrop-blur-lg shadow-2xl p-2 w-36" }, jS = { class: "grid grid-cols-5 gap-1.5 mb-2" }, YS = ["onClick"], HS = ["value"], XS = { class: "flex flex-col items-center gap-0.5" }, GS = { class: "flex items-center gap-1" }, VS = ["disabled"], ZS = ["disabled"], qS = ["disabled"], KS = ["disabled"], JS = [
15745
+ ], PS = ["disabled"], IS = ["disabled"], AS = ["disabled"], DS = { class: "relative group" }, ES = ["disabled"], BS = { class: "absolute left-0 top-full z-50 hidden group-hover:block pt-1" }, _S = { class: "rounded-lg border border-border bg-popover backdrop-blur-lg shadow-2xl p-2 w-36" }, LS = { class: "grid grid-cols-5 gap-1.5 mb-2" }, zS = ["onClick"], RS = ["value"], OS = { class: "relative group" }, US = ["disabled"], WS = { class: "absolute left-0 top-full z-50 hidden group-hover:block pt-1" }, NS = { class: "rounded-lg border border-border bg-popover backdrop-blur-lg shadow-2xl p-2 w-36" }, jS = { class: "grid grid-cols-5 gap-1.5 mb-2" }, HS = ["onClick"], YS = ["value"], XS = { class: "flex flex-col items-center gap-0.5" }, GS = { class: "flex items-center gap-1" }, VS = ["disabled"], ZS = ["disabled"], qS = ["disabled"], KS = ["disabled"], JS = [
15746
15746
  "disabled",
15747
15747
  "title",
15748
15748
  "onClick"
@@ -15935,7 +15935,7 @@ var wk = { class: "flex flex-col items-center gap-0.5" }, kk = ["disabled"], Sk
15935
15935
  style: Se({ backgroundColor: e }),
15936
15936
  onMousedown: a[10] || (a[10] = Ze(() => {}, ["prevent"])),
15937
15937
  onClick: (t) => f(e)
15938
- }, null, 46, YS)), 64))]),
15938
+ }, null, 46, HS)), 64))]),
15939
15939
  pe("button", {
15940
15940
  type: "button",
15941
15941
  class: "w-full text-[10px] text-muted-foreground hover:text-foreground py-1 transition-colors",
@@ -15949,7 +15949,7 @@ var wk = { class: "flex flex-col items-center gap-0.5" }, kk = ["disabled"], Sk
15949
15949
  class: "sr-only",
15950
15950
  value: d.value,
15951
15951
  onChange: a[13] || (a[13] = (e) => f(e.target.value))
15952
- }, null, 40, HS)
15952
+ }, null, 40, YS)
15953
15953
  ])])])
15954
15954
  ]), a[20] || (a[20] = pe("span", { class: "text-[9px] text-muted-foreground leading-none" }, "Font", -1))]),
15955
15955
  pe("div", { class: we(Oe(Cw)) }, null, 2),
@@ -16083,7 +16083,7 @@ var wk = { class: "flex flex-col items-center gap-0.5" }, kk = ["disabled"], Sk
16083
16083
  class: we(Oe(pw)(Oe(Mw), n.isInspectorPaneOpen ? "bg-primary hover:bg-primary/80 text-white" : "")),
16084
16084
  title: "Open Inspector for full transition options",
16085
16085
  onClick: r[1] || (r[1] = (e) => n.onToggleInspector())
16086
- }, [ve(Oe(Ht), { class: we(Oe(Pw)) }, null, 8, ["class"]), r[5] || (r[5] = me(" Inspector ", -1))], 2)
16086
+ }, [ve(Oe(Yt), { class: we(Oe(Pw)) }, null, 8, ["class"]), r[5] || (r[5] = me(" Inspector ", -1))], 2)
16087
16087
  ], 64));
16088
16088
  }
16089
16089
  }), a$ = { class: "flex flex-col items-center gap-0.5" }, r$ = { class: "flex items-center gap-0.5" }, l$ = { class: "flex flex-col items-center gap-0.5" }, i$ = { class: "flex items-center gap-0.5" }, s$ = ["disabled"], u$ = { class: "flex flex-col items-center gap-0.5" }, c$ = { class: "flex items-center gap-0.5" }, d$ = ["disabled"], p$ = ["disabled"], m$ = fe({
@@ -16929,7 +16929,7 @@ var wk = { class: "flex flex-col items-center gap-0.5" }, kk = ["disabled"], Sk
16929
16929
  const e = r.value;
16930
16930
  e && (e.value = n.slide?.notes ?? "");
16931
16931
  }
16932
- Me(l), He(() => n.slide?.id, l);
16932
+ Me(l), Ye(() => n.slide?.id, l);
16933
16933
  const i = se(() => void 0 !== n.slide);
16934
16934
  function s(e) {
16935
16935
  const t = e.target;
@@ -16957,7 +16957,7 @@ var wk = { class: "flex flex-col items-center gap-0.5" }, kk = ["disabled"], Sk
16957
16957
  spellcheck: "true",
16958
16958
  onChange: s,
16959
16959
  onBlur: s
16960
- }, null, 40, A$)], 512), [[Ye, !a.value]])], 8, F$));
16960
+ }, null, 40, A$)], 512), [[He, !a.value]])], 8, F$));
16961
16961
  }
16962
16962
  });
16963
16963
  function E$(e) {
@@ -16977,7 +16977,7 @@ function E$(e) {
16977
16977
  for (const e of a) {
16978
16978
  let t = 0, o = 0;
16979
16979
  for (const a of e.animations) {
16980
- const e = Hr(a);
16980
+ const e = Yr(a);
16981
16981
  if (!e) continue;
16982
16982
  "afterPrevious" === a.trigger && (t += o);
16983
16983
  const r = t + (a.delayMs ?? 0), l = Kr(e.style), i = {
@@ -17012,42 +17012,68 @@ function E$(e) {
17012
17012
  function B$() {
17013
17013
  return "undefined" == typeof window ? "landscape" : "undefined" != typeof screen && screen.orientation ? screen.orientation.type.startsWith("portrait") ? "portrait" : "landscape" : window.innerHeight > window.innerWidth ? "portrait" : "landscape";
17014
17014
  }
17015
- function _$(e = 768) {
17016
- const t = Ie(!1), n = Ie(function() {
17015
+ function _$(e = 768, t) {
17016
+ const n = Ie(!1), o = Ie(!1), a = Ie(!1), r = Ie(function() {
17017
17017
  if ("undefined" == typeof window) return !1;
17018
17018
  if ("ontouchstart" in window) return !0;
17019
17019
  if ("undefined" == typeof navigator) return !1;
17020
17020
  if (navigator.maxTouchPoints > 0) return !0;
17021
17021
  const e = navigator.msMaxTouchPoints;
17022
17022
  return "number" == typeof e && e > 0;
17023
- }()), o = Ie(B$()), a = Ie(!1), r = {
17024
- isMobile: Pe(t),
17025
- isTouchDevice: Pe(n),
17026
- orientation: Pe(o),
17027
- isVirtualKeyboardOpen: Pe(a)
17028
- };
17029
- if (!("undefined" != typeof window && "function" == typeof window.matchMedia)) return r;
17030
- const l = window.matchMedia(`(max-width: ${e}px), (max-height: 499px) and (pointer: coarse) and (max-width: 1023px)`), i = (e) => {
17031
- t.value = e.matches;
17032
- };
17033
- i(l);
17034
- const s = (e) => {
17035
- i(e);
17036
- };
17037
- l.addEventListener("change", s);
17038
- const u = () => {
17039
- o.value = B$();
17023
+ }()), l = Ie(B$()), i = Ie(!1), s = Ie("undefined" != typeof window ? window.innerWidth : 1024), u = {
17024
+ isMobile: Pe(n),
17025
+ isTablet: Pe(o),
17026
+ isDesktop: Pe(a),
17027
+ isTouchDevice: Pe(r),
17028
+ orientation: Pe(l),
17029
+ isVirtualKeyboardOpen: Pe(i),
17030
+ containerWidth: Pe(s)
17031
+ }, c = (e, t) => {
17032
+ s.value = e;
17033
+ const l = function(e, t, n) {
17034
+ return e < 768 || n && t > 0 && t < 500 && e < 1024;
17035
+ }(e, t, r.value);
17036
+ n.value = l, o.value = !l && e >= 768 && e < 1024, a.value = !l && e >= 1024;
17037
+ }, d = () => {
17038
+ const e = () => {
17039
+ l.value = B$();
17040
+ };
17041
+ window.addEventListener("resize", e);
17042
+ const t = "undefined" != typeof screen ? screen.orientation : void 0;
17043
+ t?.addEventListener("change", e);
17044
+ const n = window.innerHeight || 800, o = window.visualViewport ?? void 0, a = () => {
17045
+ if (!r.value) return;
17046
+ i.value = (o?.height ?? window.innerHeight) / n < .7;
17047
+ };
17048
+ o ? o.addEventListener("resize", a) : window.addEventListener("resize", a), Ce(() => {
17049
+ window.removeEventListener("resize", e), t?.removeEventListener("change", e), o ? o.removeEventListener("resize", a) : window.removeEventListener("resize", a);
17050
+ });
17051
+ }, p = "undefined" != typeof window, m = p && "undefined" != typeof ResizeObserver, v = (f = t) ? ("function" == typeof f ? f() : f.value) ?? null : null;
17052
+ var f;
17053
+ if (m && v) {
17054
+ const e = new ResizeObserver((e) => {
17055
+ const t = e[0];
17056
+ t && c(t.contentRect.width, t.contentRect.height);
17057
+ });
17058
+ return e.observe(v), c(v.clientWidth, v.clientHeight), d(), Ce(() => {
17059
+ e.disconnect();
17060
+ }), u;
17061
+ }
17062
+ if (!(p && "function" == typeof window.matchMedia)) return u;
17063
+ const h = () => {
17064
+ c(window.innerWidth, window.innerHeight);
17065
+ }, g = window.matchMedia(`(max-width: ${e}px), (max-height: 499px) and (pointer: coarse) and (max-width: 1023px)`), x = (e) => {
17066
+ n.value = e.matches;
17067
+ const t = window.innerWidth;
17068
+ s.value = t, o.value = !e.matches && t >= 768 && t < 1024, a.value = !e.matches && t >= 1024;
17040
17069
  };
17041
- window.addEventListener("resize", u);
17042
- const c = "undefined" != typeof screen ? screen.orientation : void 0;
17043
- c?.addEventListener("change", u);
17044
- const d = window.innerHeight || 800, p = window.visualViewport ?? void 0, m = () => {
17045
- if (!n.value) return;
17046
- a.value = (p?.height ?? window.innerHeight) / d < .7;
17070
+ x(g);
17071
+ const y = (e) => {
17072
+ x(e);
17047
17073
  };
17048
- return p ? p.addEventListener("resize", m) : window.addEventListener("resize", m), Ce(() => {
17049
- l.removeEventListener("change", s), window.removeEventListener("resize", u), c?.removeEventListener("change", u), p ? p.removeEventListener("resize", m) : window.removeEventListener("resize", m);
17050
- }), r;
17074
+ return g.addEventListener("change", y), window.addEventListener("resize", h), d(), Ce(() => {
17075
+ g.removeEventListener("change", y), window.removeEventListener("resize", h);
17076
+ }), u;
17051
17077
  }
17052
17078
  var L$ = 0;
17053
17079
  function z$(e) {
@@ -17066,9 +17092,9 @@ function R$(e) {
17066
17092
  function d() {
17067
17093
  s.value += 1;
17068
17094
  }
17069
- He(() => Re(e.activeSlideIndex), (t) => {
17095
+ Ye(() => Re(e.activeSlideIndex), (t) => {
17070
17096
  Re(e.isActive) ? c !== t && (a.value.length > 0 ? i.set(c, a.value) : i.delete(c), a.value = i.get(t) ?? [], r.value = null, u = !1, d(), c = t) : c = t;
17071
- }, { flush: "sync" }), He(() => Re(e.isActive), (e) => {
17097
+ }, { flush: "sync" }), Ye(() => Re(e.isActive), (e) => {
17072
17098
  e || (t.value = "none", r.value = null, l.value = null, u = !1);
17073
17099
  }, { flush: "sync" });
17074
17100
  return {
@@ -17168,7 +17194,7 @@ function O$(e) {
17168
17194
  const s = () => {
17169
17195
  i?.(), i = null;
17170
17196
  };
17171
- He([() => t.value, () => Oe(l)], ([e, t]) => {
17197
+ Ye([() => t.value, () => Oe(l)], ([e, t]) => {
17172
17198
  s(), e && t && ((e) => {
17173
17199
  const t = os({
17174
17200
  getScale: () => n.value,
@@ -17192,7 +17218,7 @@ var U$ = {
17192
17218
  }, W$ = {
17193
17219
  key: 1,
17194
17220
  class: "pptx-vue-mpresenter absolute inset-0 z-50 flex flex-col bg-card text-foreground"
17195
- }, N$ = { class: "pptx-vue-mpresenter-header flex items-center justify-between gap-2 border-b border-border/60 px-4 py-2" }, j$ = { class: "flex flex-col" }, Y$ = { class: "font-mono text-lg tabular-nums text-primary" }, H$ = { class: "font-mono text-sm tabular-nums text-foreground" }, X$ = { class: "pptx-vue-mpresenter-main flex items-center justify-center bg-black px-3 py-3" }, G$ = { class: "pptx-vue-mpresenter-next flex items-center gap-3 border-b border-border/60 px-4 py-2" }, V$ = {
17221
+ }, N$ = { class: "pptx-vue-mpresenter-header flex items-center justify-between gap-2 border-b border-border/60 px-4 py-2" }, j$ = { class: "flex flex-col" }, H$ = { class: "font-mono text-lg tabular-nums text-primary" }, Y$ = { class: "font-mono text-sm tabular-nums text-foreground" }, X$ = { class: "pptx-vue-mpresenter-main flex items-center justify-center bg-black px-3 py-3" }, G$ = { class: "pptx-vue-mpresenter-next flex items-center gap-3 border-b border-border/60 px-4 py-2" }, V$ = {
17196
17222
  key: 1,
17197
17223
  class: "flex h-12 flex-1 items-center justify-center rounded border border-border/30 bg-muted/40 text-[10px] italic text-muted-foreground"
17198
17224
  }, Z$ = { class: "pptx-vue-mpresenter-notes flex flex-1 min-h-0 flex-col px-4 py-2" }, q$ = { class: "flex-1 overflow-y-auto whitespace-pre-wrap rounded border border-border/30 bg-muted/40 px-3 py-2 text-[15px] leading-relaxed text-foreground" }, K$ = { key: 0 }, J$ = {
@@ -17220,7 +17246,7 @@ var U$ = {
17220
17246
  });
17221
17247
  const l = se(() => function(e) {
17222
17248
  const n = Math.floor((e > 0 ? e : 0) / 1e3), o = Math.floor(n / 3600), a = Math.floor(n % 3600 / 60), r = n % 60;
17223
- return o > 0 ? `${Hi(o)}:${Hi(a)}:${Hi(r)}` : `${Hi(a)}:${Hi(r)}`;
17249
+ return o > 0 ? `${Yi(o)}:${Yi(a)}:${Yi(r)}` : `${Yi(a)}:${Yi(r)}`;
17224
17250
  }(function(e, t) {
17225
17251
  if (null == e) return 0;
17226
17252
  const n = t - e;
@@ -17258,8 +17284,8 @@ var U$ = {
17258
17284
  }));
17259
17285
  return (t, n) => i.value ? (Fe(), de("div", W$, [
17260
17286
  pe("div", N$, [
17261
- pe("div", j$, [n[3] || (n[3] = pe("span", { class: "text-[10px] uppercase tracking-wider text-muted-foreground" }, "Elapsed", -1)), pe("span", Y$, Le(l.value), 1)]),
17262
- pe("span", H$, Le(u.value), 1),
17287
+ pe("div", j$, [n[3] || (n[3] = pe("span", { class: "text-[10px] uppercase tracking-wider text-muted-foreground" }, "Elapsed", -1)), pe("span", H$, Le(l.value), 1)]),
17288
+ pe("span", Y$, Le(u.value), 1),
17263
17289
  pe("button", {
17264
17290
  type: "button",
17265
17291
  class: "pptx-vue-mpresenter-exit flex h-11 w-11 items-center justify-center rounded text-muted-foreground transition-colors hover:bg-accent hover:text-foreground",
@@ -17439,7 +17465,7 @@ var U$ = {
17439
17465
  function l() {
17440
17466
  r = !1, a?.stop(), a = null;
17441
17467
  }
17442
- He(() => t.visible, (e) => {
17468
+ Ye(() => t.visible, (e) => {
17443
17469
  if (!e) return l(), void (n.value = "");
17444
17470
  (function() {
17445
17471
  if ("undefined" == typeof window) return void (o.value = "unsupported");
@@ -17782,7 +17808,7 @@ var U$ = {
17782
17808
  }, IM = {
17783
17809
  key: 1,
17784
17810
  class: "pptx-vue-presenter absolute inset-0 z-50 flex flex-col bg-card text-foreground"
17785
- }, AM = { class: "pptx-vue-presenter-body flex flex-1 min-h-0" }, DM = { class: "pptx-vue-presenter-main flex flex-[7] min-w-0 flex-col items-center justify-center overflow-hidden bg-black p-6" }, EM = { class: "pptx-vue-presenter-slide-label mt-3 select-none font-mono text-xs tabular-nums text-white/50" }, BM = { class: "pptx-vue-presenter-rail flex flex-[3] min-w-[260px] max-w-[440px] flex-col border-l border-border bg-background" }, _M = { class: "pptx-vue-presenter-header flex items-center justify-between gap-2 border-b border-border/60 px-4 py-3" }, LM = { class: "pptx-vue-presenter-time flex flex-col" }, zM = { class: "pptx-vue-presenter-clock font-mono text-lg tabular-nums text-foreground" }, RM = { class: "pptx-vue-presenter-time pptx-vue-presenter-time--right flex flex-col items-end" }, OM = { class: "pptx-vue-presenter-elapsed font-mono text-lg tabular-nums text-primary" }, UM = { class: "pptx-vue-presenter-nav flex items-center justify-between border-b border-border/60 px-4 py-2" }, WM = ["disabled"], NM = { class: "pptx-vue-presenter-counter font-mono text-sm tabular-nums text-foreground" }, jM = ["disabled"], YM = { class: "pptx-vue-presenter-section border-b border-border/60 px-4 py-3" }, HM = {
17811
+ }, AM = { class: "pptx-vue-presenter-body flex flex-1 min-h-0" }, DM = { class: "pptx-vue-presenter-main flex flex-[7] min-w-0 flex-col items-center justify-center overflow-hidden bg-black p-6" }, EM = { class: "pptx-vue-presenter-slide-label mt-3 select-none font-mono text-xs tabular-nums text-white/50" }, BM = { class: "pptx-vue-presenter-rail flex flex-[3] min-w-[260px] max-w-[440px] flex-col border-l border-border bg-background" }, _M = { class: "pptx-vue-presenter-header flex items-center justify-between gap-2 border-b border-border/60 px-4 py-3" }, LM = { class: "pptx-vue-presenter-time flex flex-col" }, zM = { class: "pptx-vue-presenter-clock font-mono text-lg tabular-nums text-foreground" }, RM = { class: "pptx-vue-presenter-time pptx-vue-presenter-time--right flex flex-col items-end" }, OM = { class: "pptx-vue-presenter-elapsed font-mono text-lg tabular-nums text-primary" }, UM = { class: "pptx-vue-presenter-nav flex items-center justify-between border-b border-border/60 px-4 py-2" }, WM = ["disabled"], NM = { class: "pptx-vue-presenter-counter font-mono text-sm tabular-nums text-foreground" }, jM = ["disabled"], HM = { class: "pptx-vue-presenter-section border-b border-border/60 px-4 py-3" }, YM = {
17786
17812
  key: 1,
17787
17813
  class: "pptx-vue-presenter-preview-empty mt-2 flex h-16 items-center justify-center rounded border border-border/30 bg-muted/40 text-xs italic text-muted-foreground"
17788
17814
  }, XM = { class: "pptx-vue-presenter-notes-section flex flex-1 min-h-0 flex-col px-4 py-3" }, GM = { class: "pptx-vue-presenter-notes-head mb-2 flex items-center justify-between" }, VM = { class: "pptx-vue-presenter-font-ctl flex items-center gap-1" }, ZM = ["disabled"], qM = { class: "pptx-vue-presenter-font-val min-w-[28px] select-none text-center font-mono text-[10px] tabular-nums text-muted-foreground" }, KM = ["disabled"], JM = { key: 0 }, QM = {
@@ -17874,7 +17900,7 @@ var U$ = {
17874
17900
  onClick: n[2] || (n[2] = (e) => o("move", 1))
17875
17901
  }, " Next › ", 8, jM)
17876
17902
  ]),
17877
- pe("div", YM, [n[5] || (n[5] = pe("div", { class: "pptx-vue-presenter-label mb-2 text-[10px] uppercase tracking-wider text-muted-foreground" }, " Next slide ", -1)), f.value ? (Fe(), de("div", {
17903
+ pe("div", HM, [n[5] || (n[5] = pe("div", { class: "pptx-vue-presenter-label mb-2 text-[10px] uppercase tracking-wider text-muted-foreground" }, " Next slide ", -1)), f.value ? (Fe(), de("div", {
17878
17904
  key: 0,
17879
17905
  class: "pptx-vue-presenter-preview-frame relative mt-2 overflow-hidden rounded border border-border/30",
17880
17906
  style: Se(k.value)
@@ -17888,7 +17914,7 @@ var U$ = {
17888
17914
  "canvas-size",
17889
17915
  "media-data-urls",
17890
17916
  "scale"
17891
- ])], 4)) : (Fe(), de("div", HM, " End of presentation "))]),
17917
+ ])], 4)) : (Fe(), de("div", YM, " End of presentation "))]),
17892
17918
  pe("div", XM, [pe("div", GM, [n[6] || (n[6] = pe("div", { class: "pptx-vue-presenter-label text-[10px] uppercase tracking-wider text-muted-foreground" }, " Speaker notes ", -1)), pe("div", VM, [
17893
17919
  pe("button", {
17894
17920
  type: "button",
@@ -18016,7 +18042,7 @@ var U$ = {
18016
18042
  function P() {
18017
18043
  i.value = window.innerWidth, s.value = window.innerHeight;
18018
18044
  }
18019
- He(r, (e, t) => {
18045
+ Ye(r, (e, t) => {
18020
18046
  o("slide-change", e), p.reset();
18021
18047
  const a = n.slides[e], r = a?.transition;
18022
18048
  r && r.type && "none" !== r.type ? C.value = {
@@ -18024,7 +18050,7 @@ var U$ = {
18024
18050
  incoming: a,
18025
18051
  transition: r
18026
18052
  } : C.value = null;
18027
- }), He([
18053
+ }), Ye([
18028
18054
  () => p.elementStyles.value,
18029
18055
  () => p.pendingStyles.value,
18030
18056
  l
@@ -18393,7 +18419,7 @@ var U$ = {
18393
18419
  emits: ["print", "close"],
18394
18420
  setup(e, { emit: t }) {
18395
18421
  const n = e, o = t, a = Ie("slides"), r = Ie("landscape"), l = Ie("color"), i = Ie(n.defaultFrameSlides ?? !1), s = Ie(ws(n.defaultSlidesPerPage)), u = Ie("all"), c = Ie(1), d = Ie(n.slides.length);
18396
- He(() => n.open, (e) => {
18422
+ Ye(() => n.open, (e) => {
18397
18423
  e && (a.value = "slides", r.value = "landscape", l.value = "color", i.value = n.defaultFrameSlides ?? !1, s.value = ws(n.defaultSlidesPerPage), u.value = "all", c.value = 1, d.value = n.slides.length);
18398
18424
  });
18399
18425
  const p = se(() => n.slides.length), m = se(() => ks(a.value, r.value)), v = se(() => function(e, t, n, o) {
@@ -18600,7 +18626,7 @@ var U$ = {
18600
18626
  onClick: o[4] || (o[4] = (e) => t.onCreateCustomShow())
18601
18627
  }, " + Show ")], 64)) : ce("", !0);
18602
18628
  }
18603
- }), jC = { class: "inline-flex border-l border-border" }, YC = { class: "absolute right-0 top-full mt-1 z-50 w-52 rounded-lg border border-border bg-popover backdrop-blur-lg shadow-2xl py-1" }, HC = fe({
18629
+ }), jC = { class: "inline-flex border-l border-border" }, HC = { class: "absolute right-0 top-full mt-1 z-50 w-52 rounded-lg border border-border bg-popover backdrop-blur-lg shadow-2xl py-1" }, YC = fe({
18604
18630
  __name: "PresentDropdown",
18605
18631
  props: {
18606
18632
  isActive: { type: Boolean },
@@ -18633,7 +18659,7 @@ var U$ = {
18633
18659
  class: "fixed inset-0 z-40",
18634
18660
  "aria-label": "Close menu",
18635
18661
  onClick: o[2] || (o[2] = (e) => Oe(n).close())
18636
- }), pe("div", YC, [
18662
+ }), pe("div", HC, [
18637
18663
  pe("button", {
18638
18664
  type: "button",
18639
18665
  class: "flex items-center gap-2 w-full px-3 py-1.5 text-xs text-foreground hover:bg-muted transition-colors",
@@ -18714,7 +18740,7 @@ var U$ = {
18714
18740
  class: "px-2 py-0.5 rounded-sm hover:bg-accent text-[10px] text-foreground transition-colors",
18715
18741
  title: "Close master view",
18716
18742
  onClick: n[0] || (n[0] = (e) => t.onCloseMasterView())
18717
- }, " Close ")])) : (Fe(), ue(HC, {
18743
+ }, " Close ")])) : (Fe(), ue(YC, {
18718
18744
  key: 1,
18719
18745
  "is-active": "present" === t.mode,
18720
18746
  "on-present": () => t.onSetMode("present"),
@@ -19068,7 +19094,7 @@ var U$ = {
19068
19094
  title: "Toggle slides panel",
19069
19095
  "aria-label": "Toggle slides panel",
19070
19096
  onClick: n[0] || (n[0] = (e) => t.onToggleSidebar())
19071
- }, [ve(Oe(Yt), { class: we(Oe(Pw)) }, null, 8, ["class"])], 2)) : ce("", !0),
19097
+ }, [ve(Oe(Ht), { class: we(Oe(Pw)) }, null, 8, ["class"])], 2)) : ce("", !0),
19072
19098
  pe("div", { class: we(Oe(Cw)) }, null, 2),
19073
19099
  pe("button", {
19074
19100
  type: "button",
@@ -19161,7 +19187,7 @@ var U$ = {
19161
19187
  title: "Toggle inspector",
19162
19188
  "aria-label": "Toggle inspector",
19163
19189
  onClick: n[6] || (n[6] = (e) => t.onToggleInspector())
19164
- }, [ve(Oe(Ht), { class: we(Oe(Pw)) }, null, 8, ["class"])], 2)) : ce("", !0),
19190
+ }, [ve(Oe(Yt), { class: we(Oe(Pw)) }, null, 8, ["class"])], 2)) : ce("", !0),
19165
19191
  pe("button", {
19166
19192
  type: "button",
19167
19193
  class: we(Oe(pw)(aF, "text-muted-foreground")),
@@ -19769,7 +19795,7 @@ var U$ = {
19769
19795
  "canvas-size",
19770
19796
  "media-data-urls",
19771
19797
  "scale"
19772
- ])], 4)], 10, wF)], 2))), 128))], 512), [[Ye, !p(e)]]),
19798
+ ])], 4)], 10, wF)], 2))), 128))], 512), [[He, !p(e)]]),
19773
19799
  !1 !== n.canEdit && f(e) >= 0 ? (Fe(), de("button", {
19774
19800
  key: 1,
19775
19801
  type: "button",
@@ -20093,7 +20119,7 @@ var U$ = {
20093
20119
  ],
20094
20120
  setup(e, { emit: t }) {
20095
20121
  const n = e, o = t, a = Ie(""), r = Ie(""), l = Ie("");
20096
- He(() => n.open, (e) => {
20122
+ Ye(() => n.open, (e) => {
20097
20123
  e && (a.value = n.defaults?.roomId ?? "", r.value = n.defaults?.userName ?? "", l.value = n.defaults?.serverUrl ?? "");
20098
20124
  }, { immediate: !0 });
20099
20125
  const i = se(() => a.value.trim().length > 0 && r.value.trim().length > 0 && l.value.trim().length > 0);
@@ -20377,10 +20403,10 @@ function NF(e, t) {
20377
20403
  var jF = {
20378
20404
  class: "pptx-vue-shortcuts flex min-w-[18rem] flex-col gap-3",
20379
20405
  "data-pptx-shortcuts-panel": "true"
20380
- }, YF = {
20406
+ }, HF = {
20381
20407
  key: 0,
20382
20408
  class: "pptx-vue-shortcuts-list flex max-h-[22rem] flex-col gap-4 overflow-y-auto"
20383
- }, HF = { class: "pptx-vue-shortcuts-group-title text-[11px] font-semibold uppercase tracking-wide text-muted-foreground" }, XF = { class: "pptx-vue-shortcuts-desc text-[13px] text-foreground" }, GF = { class: "pptx-vue-shortcuts-combo shrink-0 whitespace-nowrap rounded border border-border bg-popover px-2 py-0.5 font-mono text-xs text-foreground" }, VF = {
20409
+ }, YF = { class: "pptx-vue-shortcuts-group-title text-[11px] font-semibold uppercase tracking-wide text-muted-foreground" }, XF = { class: "pptx-vue-shortcuts-desc text-[13px] text-foreground" }, GF = { class: "pptx-vue-shortcuts-combo shrink-0 whitespace-nowrap rounded border border-border bg-popover px-2 py-0.5 font-mono text-xs text-foreground" }, VF = {
20384
20410
  key: 1,
20385
20411
  class: "pptx-vue-shortcuts-empty px-2 py-3 text-[13px] text-muted-foreground"
20386
20412
  }, ZF = fe({
@@ -20389,7 +20415,7 @@ var jF = {
20389
20415
  emits: ["close"],
20390
20416
  setup(e, { emit: t }) {
20391
20417
  const n = e, o = t, a = Ie("");
20392
- He(() => n.open, (e) => {
20418
+ Ye(() => n.open, (e) => {
20393
20419
  e && (a.value = "");
20394
20420
  });
20395
20421
  const r = se(() => {
@@ -20436,10 +20462,10 @@ var jF = {
20436
20462
  class: "pptx-vue-shortcuts-search w-full rounded border border-border bg-muted px-2.5 py-1.5 text-foreground outline-none focus:ring-1 focus:ring-primary",
20437
20463
  placeholder: "Search shortcuts…",
20438
20464
  "aria-label": "Search shortcuts"
20439
- }, null, 512), [[je, a.value]]), u.value ? (Fe(), de("div", YF, [(Fe(!0), de(le, null, Ae(s.value, (e) => (Fe(), de("section", {
20465
+ }, null, 512), [[je, a.value]]), u.value ? (Fe(), de("div", HF, [(Fe(!0), de(le, null, Ae(s.value, (e) => (Fe(), de("section", {
20440
20466
  key: e.group,
20441
20467
  class: "pptx-vue-shortcuts-group flex flex-col gap-1"
20442
- }, [pe("h3", HF, Le(e.label), 1), (Fe(!0), de(le, null, Ae(e.shortcuts, (e) => (Fe(), de("div", {
20468
+ }, [pe("h3", YF, Le(e.label), 1), (Fe(!0), de(le, null, Ae(e.shortcuts, (e) => (Fe(), de("div", {
20443
20469
  key: e.id,
20444
20470
  class: "pptx-vue-shortcuts-row flex items-center justify-between gap-3 rounded bg-muted px-2 py-1.5"
20445
20471
  }, [pe("span", XF, Le(e.description), 1), pe("kbd", GF, Le(i(e.combo)), 1)]))), 128))]))), 128))])) : (Fe(), de("p", VF, " No shortcuts match “" + Le(a.value) + "”. ", 1))])]),
@@ -20662,7 +20688,7 @@ var JF = {
20662
20688
  i(), "undefined" != typeof ResizeObserver && l.value && (s = new ResizeObserver(() => i()), s.observe(l.value));
20663
20689
  }), $e(() => {
20664
20690
  s?.disconnect(), s = null;
20665
- }), He(() => [n.canvasSize.width, n.canvasSize.height], i), (t, n) => (Fe(), de("div", {
20691
+ }), Ye(() => [n.canvasSize.width, n.canvasSize.height], i), (t, n) => (Fe(), de("div", {
20666
20692
  ref_key: "viewportRef",
20667
20693
  ref: l,
20668
20694
  class: "pptx-vue-canvas-viewport",
@@ -20972,7 +20998,7 @@ function zT(e) {
20972
20998
  c = null;
20973
20999
  }
20974
21000
  };
20975
- return He(t, () => {
21001
+ return Ye(t, () => {
20976
21002
  s.value = !0, d() && (p(), u = r.setTimer(() => {
20977
21003
  u = null, d() && m().catch(() => {});
20978
21004
  }, o));
@@ -21043,7 +21069,7 @@ function jT(e) {
21043
21069
  if (y = null, !S || !t.onWriteBack) return;
21044
21070
  const n = e.getSourceBytes?.();
21045
21071
  if (n) try {
21046
- const { PptxHandler: e } = await import("./dist-Vxk81GQT.js").then((e) => e.j), o = new e();
21072
+ const { PptxHandler: e } = await import("./dist-TmAaMB8H.js").then((e) => e.j), o = new e();
21047
21073
  await o.load(n.buffer);
21048
21074
  const a = ci(S), r = await o.save(a);
21049
21075
  t.onWriteBack(r);
@@ -21056,7 +21082,7 @@ function jT(e) {
21056
21082
  async function F(n) {
21057
21083
  T(), w = n;
21058
21084
  try {
21059
- Hl(n.roomId);
21085
+ Yl(n.roomId);
21060
21086
  } catch {
21061
21087
  t.value = "error";
21062
21088
  return;
@@ -21098,7 +21124,7 @@ function jT(e) {
21098
21124
  if (v || !S) return;
21099
21125
  const t = ci(S);
21100
21126
  0 !== t.length && (v = !0, e.onRemoteSlides(t), v = !1, M(n));
21101
- }), f = He(e.slides, () => {
21127
+ }), f = Ye(e.slides, () => {
21102
21128
  if (!S || !k || v) return;
21103
21129
  const t = JSON.stringify(e.slides.value);
21104
21130
  t !== b && (b = t, function(e, t, n, o) {
@@ -21154,12 +21180,12 @@ function jT(e) {
21154
21180
  }
21155
21181
  };
21156
21182
  }
21157
- function YT() {
21183
+ function HT() {
21158
21184
  if ("undefined" != typeof crypto && "function" == typeof crypto.randomUUID) return `comment-${crypto.randomUUID()}`;
21159
21185
  const e = Math.random().toString(36).slice(2);
21160
21186
  return `comment-${Date.now().toString(36)}-${e}`;
21161
21187
  }
21162
- function HT(e) {
21188
+ function YT(e) {
21163
21189
  const { customShows: t, slides: n, activeSlideIndex: o, pushHistory: a } = e, r = se(() => {
21164
21190
  const e = n.value[o.value];
21165
21191
  return e?.rId && e.rId.length > 0 ? e.rId : void 0;
@@ -21399,7 +21425,7 @@ function tP(e) {
21399
21425
  const e = /* @__PURE__ */ new Set(), t = [];
21400
21426
  for (const n of a.value) e.has(n.name) || (e.add(n.name), t.push(S(n.name)));
21401
21427
  return t;
21402
- }), i = He(r, (e) => {
21428
+ }), i = Ye(r, (e) => {
21403
21429
  if ("undefined" != typeof document && "function" == typeof document.createElement && void 0 !== document.head) {
21404
21430
  if (0 === e.length) return n && n.parentNode && n.parentNode.removeChild(n), void (n = null);
21405
21431
  n || (n = document.createElement("style"), n.id = "pptx-vue-embedded-fonts", document.head.appendChild(n)), n.textContent = e;
@@ -21636,7 +21662,7 @@ function uP(t) {
21636
21662
  u.value = !0, c.value = null, d.value = !1;
21637
21663
  const P = t instanceof Uint8Array ? t.buffer.slice(t.byteOffset, t.byteOffset + t.byteLength) : t, I = P.slice(0), A = P instanceof ArrayBuffer ? P.byteLength / 1048576 : 0;
21638
21664
  A > 50 && console.warn(`[pptx] Large file detected (${A.toFixed(1)} MB). Loading may use significant memory.`);
21639
- const D = p.value, E = new Y(), B = await E.load(P);
21665
+ const D = p.value, E = new H(), B = await E.load(P);
21640
21666
  if (F !== $) return void E.dispose();
21641
21667
  D && D.dispose();
21642
21668
  const _ = [];
@@ -21742,7 +21768,7 @@ function uP(t) {
21742
21768
  outputFormat: e
21743
21769
  });
21744
21770
  };
21745
- return He(() => Re(t), (e) => {
21771
+ return Ye(() => Re(t), (e) => {
21746
21772
  e && F(e);
21747
21773
  }, { immediate: !0 }), Ce(() => {
21748
21774
  $++, C(M), C(Array.from(s.value.values())), p.value && (p.value.dispose(), p.value = null);
@@ -22099,13 +22125,13 @@ var IP = ["tabindex"], AP = {
22099
22125
  const l = e, i = n, s = ze(l, "theme");
22100
22126
  Ts(s), Te(Sh, l.smartArt3D);
22101
22127
  const u = Is(s), c = Ie(null);
22102
- He(() => l.content, () => {
22128
+ Ye(() => l.content, () => {
22103
22129
  c.value = null;
22104
22130
  });
22105
22131
  const p = se(() => c.value ?? l.content);
22106
22132
  function m() {
22107
22133
  l.onOpenFile ? l.onOpenFile() : (async () => {
22108
- const e = await Yi();
22134
+ const e = await Hi();
22109
22135
  e && (c.value = new Uint8Array(e.buffer));
22110
22136
  })();
22111
22137
  }
@@ -22117,7 +22143,7 @@ var IP = ["tabindex"], AP = {
22117
22143
  canEdit: () => l.canEdit && !_t.value,
22118
22144
  commit: function(e, t, n, o) {
22119
22145
  if (!l.canEdit) return;
22120
- const a = H.value?.elements.find((t) => t.id === e);
22146
+ const a = Y.value?.elements.find((t) => t.id === e);
22121
22147
  if (!a || "table" !== a.type) return;
22122
22148
  const r = function(e, t, n, o) {
22123
22149
  const a = e.tableData;
@@ -22140,13 +22166,13 @@ var IP = ["tabindex"], AP = {
22140
22166
  Ae.updateElement(e, { tableData: r.tableData });
22141
22167
  }
22142
22168
  }), tP($);
22143
- const j = Ie(0), Y = se(() => v.value.length), H = se(() => v.value[j.value]);
22169
+ const j = Ie(0), H = se(() => v.value.length), Y = se(() => v.value[j.value]);
22144
22170
  function V(e) {
22145
- e < 0 || e >= Y.value || (j.value = e);
22171
+ e < 0 || e >= H.value || (j.value = e);
22146
22172
  }
22147
- He(p, () => {
22173
+ Ye(p, () => {
22148
22174
  j.value = 0, xe.value = [], $e.clearHistory();
22149
- }), He(j, (e) => {
22175
+ }), Ye(j, (e) => {
22150
22176
  i("active-slide-change", e), xe.value = [];
22151
22177
  });
22152
22178
  const Z = () => V(j.value - 1), q = () => V(j.value + 1), K = Ie(null);
@@ -22178,7 +22204,7 @@ var IP = ["tabindex"], AP = {
22178
22204
  pushHistory: $e.pushHistory,
22179
22205
  selectedElementIds: xe
22180
22206
  }), De = se(() => xe.value.length > 0), Ee = se(() => {
22181
- const e = H.value?.elements ?? [], t = new Set(xe.value);
22207
+ const e = Y.value?.elements ?? [], t = new Set(xe.value);
22182
22208
  return e.filter((e) => t.has(e.id));
22183
22209
  });
22184
22210
  function Be() {
@@ -22186,7 +22212,7 @@ var IP = ["tabindex"], AP = {
22186
22212
  }
22187
22213
  const Ue = Ie(!1), We = Ie(null), Ne = se(() => 1 === Ee.value.length && Ll(Ee.value[0]));
22188
22214
  function je() {
22189
- if (Ue.value) return void Ye();
22215
+ if (Ue.value) return void He();
22190
22216
  const e = Ee.value[0];
22191
22217
  e && Ll(e) && (We.value = function(e) {
22192
22218
  const t = {};
@@ -22240,18 +22266,18 @@ var IP = ["tabindex"], AP = {
22240
22266
  return t;
22241
22267
  }(e), Ue.value = !0);
22242
22268
  }
22243
- function Ye() {
22269
+ function He() {
22244
22270
  Ue.value = !1, We.value = null;
22245
22271
  }
22246
- const Ge = Ie(null), Ve = Ie(""), qe = se(() => Ge.value ? H.value?.elements.find((e) => e.id === Ge.value) : void 0);
22272
+ const Ge = Ie(null), Ve = Ie(""), qe = se(() => Ge.value ? Y.value?.elements.find((e) => e.id === Ge.value) : void 0);
22247
22273
  function Ke(e) {
22248
- const t = H.value?.elements.find((t) => t.id === e);
22274
+ const t = Y.value?.elements.find((t) => t.id === e);
22249
22275
  t && (Ge.value = e, Ve.value = t.text ?? "");
22250
22276
  }
22251
22277
  function Je() {
22252
22278
  const e = Ge.value;
22253
22279
  if (!e) return;
22254
- const t = H.value?.elements.find((t) => t.id === e), n = Ve.value;
22280
+ const t = Y.value?.elements.find((t) => t.id === e), n = Ve.value;
22255
22281
  if (Ge.value = null, t) {
22256
22282
  const o = function(e, t, n) {
22257
22283
  const o = { ...n };
@@ -22337,7 +22363,7 @@ var IP = ["tabindex"], AP = {
22337
22363
  Ge.value = null;
22338
22364
  }
22339
22365
  function et(e) {
22340
- const t = We.value, n = H.value?.elements.find((t) => t.id === e);
22366
+ const t = We.value, n = Y.value?.elements.find((t) => t.id === e);
22341
22367
  if (!t || !n) return;
22342
22368
  const o = function(e, t) {
22343
22369
  let n = { ...e };
@@ -22360,14 +22386,14 @@ var IP = ["tabindex"], AP = {
22360
22386
  function tt(e) {
22361
22387
  if (!l.canEdit) return;
22362
22388
  const o = (e.target?.closest("[data-element-id]"))?.dataset.elementId;
22363
- if (Ge.value && o !== Ge.value && Je(), Ue.value) return o && et(o), void Ye();
22389
+ if (Ge.value && o !== Ge.value && Je(), Ue.value) return o && et(o), void He();
22364
22390
  const a = e.shiftKey || e.ctrlKey || e.metaKey;
22365
22391
  if (o) {
22366
22392
  const t = !a && 1 === xe.value.length && xe.value[0] === o;
22367
22393
  t || function(e, t) {
22368
22394
  xe.value = t ? xe.value.includes(e) ? xe.value.filter((t) => t !== e) : [...xe.value, e] : [e];
22369
22395
  }(o, a), a || function(e, t, n) {
22370
- const o = H.value?.elements.find((t) => t.id === e);
22396
+ const o = Y.value?.elements.find((t) => t.id === e);
22371
22397
  if (!o) return;
22372
22398
  nt = {
22373
22399
  id: e,
@@ -22394,8 +22420,8 @@ var IP = ["tabindex"], AP = {
22394
22420
  if (!t.moved && (Math.abs(n) > 2 || Math.abs(o) > 2) && (t.moved = !0, $e.pushHistory()), !t.moved) return;
22395
22421
  const a = Sl(t.startBox, n, o, ge.value);
22396
22422
  let r = a.x, l = a.y;
22397
- if (qo.value && !a.rotation) {
22398
- const e = (H.value?.elements ?? []).map((e) => ({
22423
+ if (Ko.value && !a.rotation) {
22424
+ const e = (Y.value?.elements ?? []).map((e) => ({
22399
22425
  id: e.id,
22400
22426
  x: e.x,
22401
22427
  y: e.y,
@@ -22475,12 +22501,12 @@ var IP = ["tabindex"], AP = {
22475
22501
  y: d,
22476
22502
  lines: p
22477
22503
  };
22478
- }(a.x, a.y, a.width, a.height, e, new Set([t.id]), Jo.value);
22479
- r = n.x, l = n.y, Ko.value = n.lines.map((e) => ({
22504
+ }(a.x, a.y, a.width, a.height, e, new Set([t.id]), Qo.value);
22505
+ r = n.x, l = n.y, Jo.value = n.lines.map((e) => ({
22480
22506
  axis: "v" === e.axis ? "x" : "y",
22481
22507
  position: e.position
22482
22508
  }));
22483
- } else Ko.value.length > 0 && (Ko.value = []);
22509
+ } else Jo.value.length > 0 && (Jo.value = []);
22484
22510
  rt({
22485
22511
  id: t.id,
22486
22512
  x: r,
@@ -22492,12 +22518,12 @@ var IP = ["tabindex"], AP = {
22492
22518
  }
22493
22519
  function at() {
22494
22520
  const e = nt;
22495
- nt = null, Ko.value.length > 0 && (Ko.value = []), window.removeEventListener("pointermove", ot), window.removeEventListener("pointerup", at), window.removeEventListener("pointercancel", at), e && !e.moved && e.wasSelected && Ke(e.id);
22521
+ nt = null, Jo.value.length > 0 && (Jo.value = []), window.removeEventListener("pointermove", ot), window.removeEventListener("pointerup", at), window.removeEventListener("pointercancel", at), e && !e.moved && e.wasSelected && Ke(e.id);
22496
22522
  }
22497
22523
  function rt(e) {
22498
22524
  const t = j.value, n = v.value[t];
22499
22525
  if (!n) return;
22500
- const { x: a, y: r, width: l, height: i } = Go.value && !e.rotation ? (u = 8, {
22526
+ const { x: a, y: r, width: l, height: i } = Vo.value && !e.rotation ? (u = 8, {
22501
22527
  x: Cl((s = e).x, u),
22502
22528
  y: Cl(s.y, u),
22503
22529
  width: Math.max(u, Cl(s.width, u)),
@@ -22721,7 +22747,7 @@ var IP = ["tabindex"], AP = {
22721
22747
  const Ct = se(() => 1 === Ee.value.length ? Ee.value[0] : void 0), Ft = se(() => {
22722
22748
  const e = Ct.value;
22723
22749
  if (!e) return;
22724
- const t = (H.value?.animations ?? []).filter((t) => t.elementId === e.id);
22750
+ const t = (Y.value?.animations ?? []).filter((t) => t.elementId === e.id);
22725
22751
  return {
22726
22752
  ...e,
22727
22753
  animations: t
@@ -22753,7 +22779,7 @@ var IP = ["tabindex"], AP = {
22753
22779
  pushHistory: $e.pushHistory
22754
22780
  }), It = Ie(null), At = se(() => null !== It.value);
22755
22781
  function Dt(e) {
22756
- const t = H.value?.elements.find((t) => t.id === e);
22782
+ const t = Y.value?.elements.find((t) => t.id === e);
22757
22783
  t && (It.value = oe(t));
22758
22784
  }
22759
22785
  function Et(e) {
@@ -22918,14 +22944,14 @@ var IP = ["tabindex"], AP = {
22918
22944
  })();
22919
22945
  break;
22920
22946
  case "hyperlink": (function(e) {
22921
- const t = H.value?.elements.find((t) => t.id === e);
22922
- t && (Yt.value = t, jt.value = !0);
22947
+ const t = Y.value?.elements.find((t) => t.id === e);
22948
+ t && (Ht.value = t, jt.value = !0);
22923
22949
  })(t);
22924
22950
  }
22925
22951
  }
22926
- const jt = Ie(!1), Yt = Ie(null);
22927
- function Ht(e) {
22928
- Yt.value && Ae.updateElement(Yt.value.id, e), jt.value = !1;
22952
+ const jt = Ie(!1), Ht = Ie(null);
22953
+ function Yt(e) {
22954
+ Ht.value && Ae.updateElement(Ht.value.id, e), jt.value = !1;
22929
22955
  }
22930
22956
  const Xt = Ie(!1), Gt = iP({
22931
22957
  slides: v,
@@ -22952,7 +22978,7 @@ var IP = ["tabindex"], AP = {
22952
22978
  canvasSize: f,
22953
22979
  rasterizeSlide: Kt
22954
22980
  }), Qt = function(e) {
22955
- const { slideCount: t, rasterizeSlide: n } = e, o = e.loadGifEncoder ?? (async () => (await import("./gif-encoder-CrGhNA-_.js")).encodeGif), a = e.createRecorder ?? xP, r = e.createCanvas ?? (() => document.createElement("canvas")), l = e.downloadBlob ?? hP, i = Ie(!1), s = Ie(0);
22981
+ const { slideCount: t, rasterizeSlide: n } = e, o = e.loadGifEncoder ?? (async () => (await import("./gif-encoder-Bkwy_SY5.js")).encodeGif), a = e.createRecorder ?? xP, r = e.createCanvas ?? (() => document.createElement("canvas")), l = e.downloadBlob ?? hP, i = Ie(!1), s = Ie(0);
22956
22982
  return {
22957
22983
  exporting: i,
22958
22984
  progress: s,
@@ -23034,7 +23060,7 @@ var IP = ["tabindex"], AP = {
23034
23060
  }
23035
23061
  };
23036
23062
  }({
23037
- slideCount: Y,
23063
+ slideCount: H,
23038
23064
  rasterizeSlide: Kt
23039
23065
  }), en = aP({
23040
23066
  exporter: Jt,
@@ -23118,12 +23144,12 @@ var IP = ["tabindex"], AP = {
23118
23144
  }
23119
23145
  function hn(e) {
23120
23146
  fn({
23121
- ...H.value?.transition ?? {},
23147
+ ...Y.value?.transition ?? {},
23122
23148
  ...e
23123
23149
  });
23124
23150
  }
23125
23151
  function gn() {
23126
- const e = H.value?.transition;
23152
+ const e = Y.value?.transition;
23127
23153
  $e.pushHistory(), v.value = v.value.map((t) => ({
23128
23154
  ...t,
23129
23155
  transition: e
@@ -23140,7 +23166,7 @@ var IP = ["tabindex"], AP = {
23140
23166
  }, v.value = o;
23141
23167
  }
23142
23168
  function yn(e, t) {
23143
- const n = Ee.value[0], o = H.value;
23169
+ const n = Ee.value[0], o = Y.value;
23144
23170
  n && o && xn(function(e, t, n, o) {
23145
23171
  return e.some((e) => e.elementId === t) ? e.map((e) => e.elementId === t ? {
23146
23172
  ...e,
@@ -23155,7 +23181,7 @@ var IP = ["tabindex"], AP = {
23155
23181
  }(o.animations ?? [], n.id, t, e));
23156
23182
  }
23157
23183
  function bn() {
23158
- const e = Ee.value[0], t = H.value;
23184
+ const e = Ee.value[0], t = Y.value;
23159
23185
  var n, o;
23160
23186
  e && t && xn((n = t.animations ?? [], o = e.id, n.filter((e) => e.elementId !== o)));
23161
23187
  }
@@ -23208,9 +23234,9 @@ var IP = ["tabindex"], AP = {
23208
23234
  enabled: $n,
23209
23235
  intervalMs: l.autosaveIntervalMs ?? 2e3,
23210
23236
  onSave: async () => {
23211
- i("autosave", await W()), Co.capture("Autosave", Date.now());
23237
+ i("autosave", await W()), Fo.capture("Autosave", Date.now());
23212
23238
  }
23213
- }), Cn = Ie(!1), Fn = se(() => H.value?.comments ?? []), Tn = se(() => l.authorName ?? "You"), Pn = function(e) {
23239
+ }), Cn = Ie(!1), Fn = se(() => Y.value?.comments ?? []), Tn = se(() => l.authorName ?? "You"), Pn = function(e) {
23214
23240
  const t = se(() => Re(e.comments) ?? []);
23215
23241
  return {
23216
23242
  slideComments: t,
@@ -23218,7 +23244,7 @@ var IP = ["tabindex"], AP = {
23218
23244
  const r = n.trim();
23219
23245
  if (0 === r.length) return null;
23220
23246
  const l = {
23221
- id: YT(),
23247
+ id: HT(),
23222
23248
  text: r,
23223
23249
  author: Re(e.authorName),
23224
23250
  createdAt: (/* @__PURE__ */ new Date()).toISOString(),
@@ -23284,13 +23310,13 @@ var IP = ["tabindex"], AP = {
23284
23310
  const n = t.getBoundingClientRect();
23285
23311
  En.setCursor((e.clientX - n.left) / ge.value, (e.clientY - n.top) / ge.value);
23286
23312
  }
23287
- He(xe, (e) => {
23313
+ Ye(xe, (e) => {
23288
23314
  En.active.value && En.setSelection(e);
23289
- }), He(j, (e) => {
23315
+ }), Ye(j, (e) => {
23290
23316
  En.active.value && En.setActiveSlide(e);
23291
- }), He(En.followedSlideIndex, (e) => {
23317
+ }), Ye(En.followedSlideIndex, (e) => {
23292
23318
  null !== e && V(e);
23293
- }), He(En.broadcasterSlideIndex, (e) => {
23319
+ }), Ye(En.broadcasterSlideIndex, (e) => {
23294
23320
  null !== e && null === En.followedClientId.value && V(e);
23295
23321
  });
23296
23322
  const On = Ie(!1), Un = (KF(M), Ie(!1)), Wn = Ie(null), Nn = se(() => {
@@ -23307,10 +23333,10 @@ var IP = ["tabindex"], AP = {
23307
23333
  };
23308
23334
  En.start(t), i("start-collaboration", t), Un.value = !1;
23309
23335
  }
23310
- function Yn() {
23336
+ function Hn() {
23311
23337
  Wn.value = null, En.stop(), i("stop-collaboration"), Un.value = !1;
23312
23338
  }
23313
- const { isMobile: Hn, isTouchDevice: Xn } = _$(), { keyboardInset: Gn } = function() {
23339
+ const Yn = Ie(null), { isMobile: Xn, isTouchDevice: Gn } = _$(768, Yn), { keyboardInset: Vn } = function() {
23314
23340
  const e = Ie(0), t = Ie(!1);
23315
23341
  return Me(() => {
23316
23342
  if ("undefined" == typeof window) return;
@@ -23334,13 +23360,13 @@ var IP = ["tabindex"], AP = {
23334
23360
  keyboardInset: Pe(e),
23335
23361
  isKeyboardOpen: Pe(t)
23336
23362
  };
23337
- }(), Vn = Ie(null);
23363
+ }(), Zn = Ie(null);
23338
23364
  O$({
23339
- targetRef: Vn,
23365
+ targetRef: Zn,
23340
23366
  currentScale: ee,
23341
23367
  minScale: .2,
23342
23368
  maxScale: 3,
23343
- enabled: Xn,
23369
+ enabled: Gn,
23344
23370
  callbacks: {
23345
23371
  onPinchZoom: (e) => {
23346
23372
  ee.value = Number(e.toFixed(2));
@@ -23357,75 +23383,75 @@ var IP = ["tabindex"], AP = {
23357
23383
  }
23358
23384
  }
23359
23385
  });
23360
- const Zn = Ie(!1), qn = Ie(!1), Kn = Ie(!1), Jn = Ie(!1);
23361
- function Qn(e) {
23362
- Jn.value = "slides" === e, qn.value = "format" === e, Kn.value = "comments" === e, Zn.value = "notes" === e;
23386
+ const qn = Ie(!1), Kn = Ie(!1), Jn = Ie(!1), Qn = Ie(!1);
23387
+ function eo(e) {
23388
+ Qn.value = "slides" === e, Kn.value = "format" === e, Jn.value = "comments" === e, qn.value = "notes" === e;
23363
23389
  }
23364
- function eo() {
23390
+ function to() {
23365
23391
  vt();
23366
23392
  }
23367
- function to() {
23393
+ function no() {
23368
23394
  _t.value = !0;
23369
23395
  }
23370
- const no = Ie(!1);
23371
- function oo(e) {
23396
+ const oo = Ie(!1);
23397
+ function ao(e) {
23372
23398
  w.value = {
23373
23399
  ...w.value,
23374
23400
  ...e.core
23375
23401
  }, k.value = e.custom, e.app && (S.value = {
23376
23402
  ...S.value,
23377
23403
  ...e.app
23378
- }), no.value = !1;
23404
+ }), oo.value = !1;
23379
23405
  }
23380
- const ao = Ie(!1), ro = Ie("slides"), lo = Ie(0), io = Ie(null), so = Ie(6);
23381
- function uo(e) {
23382
- lo.value = e, io.value = null;
23406
+ const ro = Ie(!1), lo = Ie("slides"), io = Ie(0), so = Ie(null), uo = Ie(6);
23407
+ function co(e) {
23408
+ io.value = e, so.value = null;
23383
23409
  }
23384
- function co(e, t) {
23385
- lo.value = e, io.value = t;
23410
+ function po(e, t) {
23411
+ io.value = e, so.value = t;
23386
23412
  }
23387
- const po = Ie(!1);
23388
- function mo(e) {
23389
- E.value = e, po.value = !1;
23413
+ const mo = Ie(!1);
23414
+ function vo(e) {
23415
+ E.value = e, mo.value = !1;
23390
23416
  }
23391
- const vo = $P({
23417
+ const fo = $P({
23392
23418
  sections: A,
23393
23419
  slides: v,
23394
23420
  activeSlideIndex: j,
23395
23421
  pushHistory: $e.pushHistory
23396
- }), fo = se(() => A.value.length > 0), ho = Ie(!1), go = Ie(null), xo = HT({
23422
+ }), ho = se(() => A.value.length > 0), go = Ie(!1), xo = Ie(null), yo = YT({
23397
23423
  customShows: D,
23398
23424
  slides: v,
23399
23425
  activeSlideIndex: j,
23400
23426
  pushHistory: $e.pushHistory
23401
23427
  });
23402
- function yo(e) {
23403
- go.value = xo.createCustomShow(e);
23404
- }
23405
23428
  function bo(e) {
23406
- xo.deleteCustomShow(e), go.value === e && (go.value = null);
23429
+ xo.value = yo.createCustomShow(e);
23430
+ }
23431
+ function wo(e) {
23432
+ yo.deleteCustomShow(e), xo.value === e && (xo.value = null);
23407
23433
  }
23408
- const wo = se(() => H.value?.rId), ko = se(() => {
23409
- const e = go.value, t = wo.value;
23434
+ const ko = se(() => Y.value?.rId), So = se(() => {
23435
+ const e = xo.value, t = ko.value;
23410
23436
  return null !== e && void 0 !== t && (D.value.find((t) => t.id === e)?.slideRIds.includes(t) ?? !1);
23411
23437
  });
23412
- function So() {
23413
- const e = go.value;
23438
+ function $o() {
23439
+ const e = xo.value;
23414
23440
  if (null === e) return;
23415
23441
  const t = D.value.find((t) => t.id === e), n = window.prompt("Rename custom show", t?.name ?? "")?.trim();
23416
- n && xo.renameCustomShow(e, n);
23442
+ n && yo.renameCustomShow(e, n);
23417
23443
  }
23418
- function $o() {
23419
- const e = go.value;
23444
+ function Mo() {
23445
+ const e = xo.value;
23420
23446
  if (null === e) return;
23421
23447
  const t = D.value.find((t) => t.id === e);
23422
- window.confirm(`Delete custom show "${t?.name ?? ""}"?`) && bo(e);
23448
+ window.confirm(`Delete custom show "${t?.name ?? ""}"?`) && wo(e);
23423
23449
  }
23424
- function Mo() {
23425
- const e = go.value, t = wo.value;
23426
- null !== e && void 0 !== t && xo.toggleSlideInShow(e, t);
23450
+ function Co() {
23451
+ const e = xo.value, t = ko.value;
23452
+ null !== e && void 0 !== t && yo.toggleSlideInShow(e, t);
23427
23453
  }
23428
- const Co = function(e) {
23454
+ const Fo = function(e) {
23429
23455
  const { slides: t, pushHistory: n } = e, o = Math.max(1, e.maxVersions ?? 50), a = _e([]);
23430
23456
  return {
23431
23457
  versions: a,
@@ -23456,31 +23482,31 @@ var IP = ["tabindex"], AP = {
23456
23482
  }({
23457
23483
  slides: v,
23458
23484
  pushHistory: $e.pushHistory
23459
- }), Fo = Ie(!1), To = Ie(null);
23460
- Ie(null), se(() => null !== To.value);
23461
- const Po = Ie(!1), Io = Ie(!1);
23462
- const Ao = Ie(!1);
23463
- Ie({ ...BT });
23485
+ }), To = Ie(!1), Po = Ie(null);
23486
+ Ie(null), se(() => null !== Po.value);
23487
+ const Io = Ie(!1), Ao = Ie(!1);
23464
23488
  const Do = Ie(!1);
23465
- function Eo() {
23489
+ Ie({ ...BT });
23490
+ const Eo = Ie(!1);
23491
+ function Bo() {
23466
23492
  const e = xe.value[0];
23467
23493
  e && Dt(e);
23468
23494
  }
23469
- function Bo() {
23495
+ function _o() {
23470
23496
  const e = xe.value[0];
23471
23497
  e && Et(e);
23472
23498
  }
23473
- const _o = WF({
23499
+ const Lo = WF({
23474
23500
  actions: {
23475
23501
  undo: $e.undo,
23476
23502
  redo: $e.redo,
23477
- copy: Eo,
23478
- cut: Bo,
23503
+ copy: Bo,
23504
+ cut: _o,
23479
23505
  paste: Bt,
23480
23506
  duplicate: Mt,
23481
23507
  delete: $t,
23482
23508
  selectAll: function() {
23483
- xe.value = (H.value?.elements ?? []).map((e) => e.id);
23509
+ xe.value = (Y.value?.elements ?? []).map((e) => e.id);
23484
23510
  },
23485
23511
  nudge: function(e, t) {
23486
23512
  if (0 === xe.value.length) return;
@@ -23501,23 +23527,23 @@ var IP = ["tabindex"], AP = {
23501
23527
  prevSlide: Z,
23502
23528
  nextSlide: q,
23503
23529
  escape: function() {
23504
- Ge.value ? Qe() : Ue.value ? Ye() : Be();
23530
+ Ge.value ? Qe() : Ue.value ? He() : Be();
23505
23531
  }
23506
23532
  },
23507
23533
  canEdit: () => l.canEdit,
23508
23534
  hasSelection: De,
23509
23535
  isPresenting: _t
23510
23536
  });
23511
- function Lo(e) {
23537
+ function zo(e) {
23512
23538
  const t = e.ctrlKey || e.metaKey;
23513
- l.canEdit && t && "f" === e.key.toLowerCase() ? (e.preventDefault(), Xt.value = !Xt.value) : t && "/" === e.key ? (e.preventDefault(), Do.value = !Do.value) : _o.handleKeyDown(e);
23514
- }
23515
- const zo = Ie("home"), Ro = Ie("rect"), Oo = Ie("select"), Uo = Ie("#000000"), Wo = Ie(2), No = Ie(!0), jo = Ie(!1), Yo = Ie(!1), Ho = Ie(!0), Xo = Ie(!1), Go = Ie(!1), Vo = Ie(!1), Zo = Ie(!0), qo = Ie(!1), Ko = Ie([]), Jo = Ie([]);
23516
- function Qo(e) {
23517
- Jo.value = [...Jo.value, ts(ne("guide"), e, f.value)];
23539
+ l.canEdit && t && "f" === e.key.toLowerCase() ? (e.preventDefault(), Xt.value = !Xt.value) : t && "/" === e.key ? (e.preventDefault(), Eo.value = !Eo.value) : Lo.handleKeyDown(e);
23518
23540
  }
23541
+ const Ro = Ie("home"), Oo = Ie("rect"), Uo = Ie("select"), Wo = Ie("#000000"), No = Ie(2), jo = Ie(!0), Ho = Ie(!1), Yo = Ie(!1), Xo = Ie(!0), Go = Ie(!1), Vo = Ie(!1), Zo = Ie(!1), qo = Ie(!0), Ko = Ie(!1), Jo = Ie([]), Qo = Ie([]);
23519
23542
  function ea(e) {
23520
- Jo.value = function(e, t, n, o) {
23543
+ Qo.value = [...Qo.value, ts(ne("guide"), e, f.value)];
23544
+ }
23545
+ function ta(e) {
23546
+ Qo.value = function(e, t, n, o) {
23521
23547
  return e.map((e) => {
23522
23548
  if (e.id !== t) return e;
23523
23549
  const a = "h" === e.axis ? o.height : o.width;
@@ -23526,15 +23552,15 @@ var IP = ["tabindex"], AP = {
23526
23552
  position: Math.max(0, Math.min(a, n))
23527
23553
  };
23528
23554
  });
23529
- }(Jo.value, e.id, e.position, f.value);
23555
+ }(Qo.value, e.id, e.position, f.value);
23530
23556
  }
23531
- function ta(e) {
23532
- Jo.value = function(e, t) {
23557
+ function na(e) {
23558
+ Qo.value = function(e, t) {
23533
23559
  return e.filter((e) => e.id !== t);
23534
- }(Jo.value, e);
23560
+ }(Qo.value, e);
23535
23561
  }
23536
- const na = Ie(!1), oa = se(() => l.canEdit && !_t.value && "select" !== Oo.value);
23537
- function aa(e) {
23562
+ const oa = Ie(!1), aa = se(() => l.canEdit && !_t.value && "select" !== Uo.value);
23563
+ function ra(e) {
23538
23564
  const t = e.points;
23539
23565
  if (t.length < 2) return;
23540
23566
  const n = "highlighter" === e.tool, o = n ? 3 * e.width : e.width, a = Math.max(2, o), r = t.map((e) => e.x), l = t.map((e) => e.y), i = Math.min(...r) - a, s = Math.min(...l) - a, u = Math.max(...r) + a, c = Math.max(...l) + a, d = `M ${t.map((e) => `${(e.x - i).toFixed(1)} ${(e.y - s).toFixed(1)}`).join(" L ")}`, p = {
@@ -23552,15 +23578,15 @@ var IP = ["tabindex"], AP = {
23552
23578
  };
23553
23579
  Ae.addElement(p), xe.value = [];
23554
23580
  }
23555
- function ra(e) {
23556
- const t = H.value;
23581
+ function la(e) {
23582
+ const t = Y.value;
23557
23583
  if (t) for (let n = t.elements.length - 1; n >= 0; n--) {
23558
23584
  const o = t.elements[n];
23559
23585
  if ("ink" === o.type && e.x >= o.x && e.x <= o.x + o.width && e.y >= o.y && e.y <= o.y + o.height) return void Ae.removeElement(o.id);
23560
23586
  }
23561
23587
  }
23562
- const la = Ie(!1);
23563
- function ia(e, t, n) {
23588
+ const ia = Ie(!1);
23589
+ function sa(e, t, n) {
23564
23590
  $e.pushHistory();
23565
23591
  const o = X({
23566
23592
  slides: v.value,
@@ -23569,13 +23595,13 @@ var IP = ["tabindex"], AP = {
23569
23595
  }, e, t, n);
23570
23596
  v.value = o.slides, R.value = o.theme, O.value = o.themeColorMap;
23571
23597
  }
23572
- function sa(e) {
23573
- ia(e.colorScheme, e.fontScheme, e.name), na.value = !1;
23574
- }
23575
23598
  function ua(e) {
23576
- ia(e.colorScheme, e.fontScheme, e.name), la.value = !1;
23599
+ sa(e.colorScheme, e.fontScheme, e.name), oa.value = !1;
23577
23600
  }
23578
- const ca = se(() => _t.value ? "present" : ao.value ? "master" : l.canEdit ? "edit" : "preview"), da = {
23601
+ function ca(e) {
23602
+ sa(e.colorScheme, e.fontScheme, e.name), ia.value = !1;
23603
+ }
23604
+ const da = se(() => _t.value ? "present" : ro.value ? "master" : l.canEdit ? "edit" : "preview"), pa = {
23579
23605
  left: "left",
23580
23606
  center: "centerH",
23581
23607
  right: "right",
@@ -23583,10 +23609,10 @@ var IP = ["tabindex"], AP = {
23583
23609
  middle: "middle",
23584
23610
  bottom: "bottom"
23585
23611
  };
23586
- function pa(e) {
23612
+ function ma(e) {
23587
23613
  const t = xe.value[0];
23588
23614
  if (!t) return;
23589
- const n = H.value?.elements.find((e) => e.id === t);
23615
+ const n = Y.value?.elements.find((e) => e.id === t);
23590
23616
  if (!n || !G(n)) return;
23591
23617
  const o = {
23592
23618
  ...n.textStyle,
@@ -23603,7 +23629,7 @@ var IP = ["tabindex"], AP = {
23603
23629
  textSegments: a
23604
23630
  } : { textStyle: o });
23605
23631
  }
23606
- function ma(e) {
23632
+ function va(e) {
23607
23633
  const t = new Set(xe.value), n = j.value, o = v.value[n];
23608
23634
  if (0 === t.size || !o) return;
23609
23635
  $e.pushHistory();
@@ -23619,20 +23645,20 @@ var IP = ["tabindex"], AP = {
23619
23645
  elements: a
23620
23646
  }, v.value = r;
23621
23647
  }
23622
- function va(e) {
23623
- const t = xe.value[0], n = H.value;
23648
+ function fa(e) {
23649
+ const t = xe.value[0], n = Y.value;
23624
23650
  if (!t || !n) return;
23625
23651
  const o = "front" === e || "forward" === e || "up" === e;
23626
23652
  Ae.reorder(t, o ? n.elements.length - 1 : 0);
23627
23653
  }
23628
- const fa = () => {}, ha = se(() => ({
23629
- mode: ca.value,
23654
+ const ha = () => {}, ga = se(() => ({
23655
+ mode: da.value,
23630
23656
  canEdit: l.canEdit,
23631
- isNarrowViewport: Hn.value,
23632
- isSidebarCollapsed: jo.value,
23633
- isInspectorPaneOpen: No.value,
23657
+ isNarrowViewport: Xn.value,
23658
+ isSidebarCollapsed: Ho.value,
23659
+ isInspectorPaneOpen: jo.value,
23634
23660
  isCompactToolbarOpen: !0,
23635
- toolbarSection: zo.value,
23661
+ toolbarSection: Ro.value,
23636
23662
  scale: ee.value,
23637
23663
  canUndo: $e.canUndo.value,
23638
23664
  canRedo: $e.canRedo.value,
@@ -23642,24 +23668,24 @@ var IP = ["tabindex"], AP = {
23642
23668
  selectedElement: Ee.value[0] ?? null,
23643
23669
  tableEditorState: null,
23644
23670
  editTemplateMode: !1,
23645
- newShapeType: Ro.value,
23646
- activeTool: Oo.value,
23647
- drawingColor: Uo.value,
23648
- drawingWidth: Wo.value,
23671
+ newShapeType: Oo.value,
23672
+ activeTool: Uo.value,
23673
+ drawingColor: Wo.value,
23674
+ drawingWidth: No.value,
23649
23675
  clipboardPayload: It.value ? { kind: "element" } : null,
23650
- spellCheckEnabled: Zo.value,
23651
- showGrid: Xo.value,
23652
- showRulers: Vo.value,
23653
- snapToGrid: Go.value,
23654
- snapToShape: qo.value,
23676
+ spellCheckEnabled: qo.value,
23677
+ showGrid: Go.value,
23678
+ showRulers: Zo.value,
23679
+ snapToGrid: Vo.value,
23680
+ snapToShape: Ko.value,
23655
23681
  isOverflowMenuOpen: Yo.value,
23656
23682
  layoutOptions: P.value,
23657
23683
  customShows: D.value,
23658
- activeCustomShowId: go.value,
23659
- isCurrentSlideInActiveShow: ko.value,
23684
+ activeCustomShowId: xo.value,
23685
+ isCurrentSlideInActiveShow: So.value,
23660
23686
  hasMacros: !1,
23661
- isThemeEditorOpen: la.value,
23662
- isThemeGalleryOpen: na.value,
23687
+ isThemeEditorOpen: ia.value,
23688
+ isThemeGalleryOpen: oa.value,
23663
23689
  isCommentsPanelOpen: Cn.value,
23664
23690
  slideCommentCount: Fn.value.length,
23665
23691
  formatPainterActive: Ue.value,
@@ -23667,24 +23693,24 @@ var IP = ["tabindex"], AP = {
23667
23693
  isSelectionPaneOpen: !1,
23668
23694
  eyedropperActive: !1,
23669
23695
  showSubtitles: !1,
23670
- activeSlide: H.value,
23696
+ activeSlide: Y.value,
23671
23697
  onSetMode: (e) => {
23672
23698
  "present" === e ? Lt() : _t.value = !1;
23673
23699
  },
23674
23700
  onToggleSidebar: () => {
23675
- jo.value = !jo.value;
23701
+ Ho.value = !Ho.value;
23676
23702
  },
23677
23703
  onToggleInspector: () => {
23678
- No.value = !No.value;
23704
+ jo.value = !jo.value;
23679
23705
  },
23680
23706
  onOpenAnimationPanel: () => {
23681
- zo.value = "animations";
23707
+ Ro.value = "animations";
23682
23708
  },
23683
23709
  onAddAnimation: yn,
23684
23710
  onRemoveAnimation: bn,
23685
- onToggleCompactToolbar: fa,
23711
+ onToggleCompactToolbar: ha,
23686
23712
  onSetToolbarSection: (e) => {
23687
- zo.value = e;
23713
+ Ro.value = e;
23688
23714
  },
23689
23715
  onZoomIn: re,
23690
23716
  onZoomOut: ie,
@@ -23695,62 +23721,62 @@ var IP = ["tabindex"], AP = {
23695
23721
  Xt.value = !Xt.value;
23696
23722
  },
23697
23723
  onSetNewShapeType: (e) => {
23698
- Ro.value = e;
23724
+ Oo.value = e;
23699
23725
  },
23700
23726
  onAddTextBox: vt,
23701
23727
  onAddShape: () => {
23702
23728
  return function(e) {
23703
23729
  const t = r(e);
23704
23730
  mt(t, 240, 160), Ae.addElement(t), xe.value = [t.id];
23705
- }("ellipse" === (e = Ro.value) || "roundRect" === e || "triangle" === e ? e : "rect");
23731
+ }("ellipse" === (e = Oo.value) || "roundRect" === e || "triangle" === e ? e : "rect");
23706
23732
  var e;
23707
23733
  },
23708
23734
  onAddTable: ft,
23709
23735
  onAddChart: ht,
23710
23736
  onAddSmartArt: () => {
23711
- Po.value = !0;
23737
+ Io.value = !0;
23712
23738
  },
23713
23739
  onAddEquation: () => {
23714
- Io.value = !0;
23740
+ Ao.value = !0;
23715
23741
  },
23716
23742
  onAddActionButton: St,
23717
23743
  onInsertField: void 0,
23718
23744
  onOpenImagePicker: xt,
23719
23745
  onOpenMediaPicker: wt,
23720
23746
  onSetActiveTool: (e) => {
23721
- Oo.value = e;
23747
+ Uo.value = e;
23722
23748
  },
23723
23749
  onSetDrawingColor: (e) => {
23724
- Uo.value = e;
23750
+ Wo.value = e;
23725
23751
  },
23726
23752
  onSetDrawingWidth: (e) => {
23727
- Wo.value = e;
23753
+ No.value = e;
23728
23754
  },
23729
- onSetEditTemplateMode: fa,
23755
+ onSetEditTemplateMode: ha,
23730
23756
  onSetSpellCheckEnabled: (e) => {
23731
- Zo.value = e;
23757
+ qo.value = e;
23732
23758
  },
23733
23759
  onSetShowGrid: (e) => {
23734
- Xo.value = e;
23760
+ Go.value = e;
23735
23761
  },
23736
23762
  onSetShowRulers: (e) => {
23737
- Vo.value = e;
23763
+ Zo.value = e;
23738
23764
  },
23739
23765
  onSetSnapToGrid: (e) => {
23740
- Go.value = e;
23766
+ Vo.value = e;
23741
23767
  },
23742
23768
  onSetSnapToShape: (e) => {
23743
- qo.value = e;
23769
+ Ko.value = e;
23744
23770
  },
23745
- onAddGuide: Qo,
23771
+ onAddGuide: ea,
23746
23772
  onAlignElements: (e) => {
23747
- const t = da[e];
23773
+ const t = pa[e];
23748
23774
  t && Sn(t);
23749
23775
  },
23750
- onCopy: Eo,
23751
- onCut: Bo,
23776
+ onCopy: Bo,
23777
+ onCut: _o,
23752
23778
  onPaste: Bt,
23753
- onFlip: ma,
23779
+ onFlip: va,
23754
23780
  onMoveLayer: (e) => {
23755
23781
  "forward" === e || "up" === e || "front" === e ? function() {
23756
23782
  for (const e of [...xe.value]) Ae.bringForward(e);
@@ -23758,7 +23784,7 @@ var IP = ["tabindex"], AP = {
23758
23784
  for (const e of [...xe.value]) Ae.sendBackward(e);
23759
23785
  }();
23760
23786
  },
23761
- onMoveLayerToEdge: va,
23787
+ onMoveLayerToEdge: fa,
23762
23788
  onDuplicate: Mt,
23763
23789
  onDelete: $t,
23764
23790
  onOpenFile: m,
@@ -23795,10 +23821,10 @@ var IP = ["tabindex"], AP = {
23795
23821
  },
23796
23822
  onPrint: ln.openPrintDialog,
23797
23823
  onToggleShortcuts: () => {
23798
- Do.value = !Do.value;
23824
+ Eo.value = !Eo.value;
23799
23825
  },
23800
23826
  onOpenSettings: () => {
23801
- Ao.value = !0;
23827
+ Do.value = !0;
23802
23828
  },
23803
23829
  onRunAccessibilityCheck: () => {
23804
23830
  dn.value = !0;
@@ -23806,7 +23832,7 @@ var IP = ["tabindex"], AP = {
23806
23832
  onToggleSlideSorter: () => {
23807
23833
  sn.value = !0;
23808
23834
  },
23809
- onUpdateTextStyle: pa,
23835
+ onUpdateTextStyle: ma,
23810
23836
  onSetOverflowMenuOpen: (e) => {
23811
23837
  Yo.value = e;
23812
23838
  },
@@ -23833,38 +23859,38 @@ var IP = ["tabindex"], AP = {
23833
23859
  })(e, t);
23834
23860
  },
23835
23861
  onSetActiveCustomShowId: (e) => {
23836
- go.value = e;
23862
+ xo.value = e;
23837
23863
  },
23838
23864
  onCreateCustomShow: () => {
23839
- ho.value = !0;
23865
+ go.value = !0;
23840
23866
  },
23841
- onRenameActiveCustomShow: So,
23842
- onDeleteActiveCustomShow: $o,
23843
- onToggleCurrentSlideInActiveShow: Mo,
23867
+ onRenameActiveCustomShow: $o,
23868
+ onDeleteActiveCustomShow: Mo,
23869
+ onToggleCurrentSlideInActiveShow: Co,
23844
23870
  onToggleVersionHistory: () => {
23845
- Fo.value = !0;
23871
+ To.value = !0;
23846
23872
  },
23847
23873
  onOpenPasswordProtection: void 0,
23848
23874
  onOpenDocumentProperties: () => {
23849
- no.value = !0;
23875
+ oo.value = !0;
23850
23876
  },
23851
23877
  onOpenFontEmbedding: void 0,
23852
23878
  onOpenDigitalSignatures: () => {
23853
23879
  On.value = !0;
23854
23880
  },
23855
23881
  onEnterMasterView: () => {
23856
- ao.value = !0;
23882
+ ro.value = !0;
23857
23883
  },
23858
23884
  onCloseMasterView: () => {
23859
- ao.value = !1;
23885
+ ro.value = !1;
23860
23886
  },
23861
23887
  onEnterPresenterView: void 0,
23862
23888
  onEnterRehearsalMode: void 0,
23863
23889
  onToggleThemeEditor: () => {
23864
- la.value = !la.value;
23890
+ ia.value = !ia.value;
23865
23891
  },
23866
23892
  onToggleThemeGallery: () => {
23867
- na.value = !na.value;
23893
+ oa.value = !oa.value;
23868
23894
  },
23869
23895
  onCompare: void 0,
23870
23896
  onToggleComments: () => {
@@ -23882,17 +23908,19 @@ var IP = ["tabindex"], AP = {
23882
23908
  onApplyTransitionToAll: gn
23883
23909
  }));
23884
23910
  return t({ getContent: W }), (e, t) => (Fe(), de("div", {
23911
+ ref_key: "viewerRootRef",
23912
+ ref: Yn,
23885
23913
  class: we(["pptx-vue-viewer", l.class]),
23886
23914
  style: Se(Oe(u)),
23887
23915
  tabindex: l.canEdit ? 0 : void 0,
23888
- onKeydown: Lo
23916
+ onKeydown: zo
23889
23917
  }, [
23890
23918
  Oe(g) ? (Fe(), de("div", AP, [...t[51] || (t[51] = [pe("div", {
23891
23919
  class: "pptx-vue-spinner",
23892
23920
  "aria-hidden": "true"
23893
23921
  }, null, -1), pe("p", null, "Loading presentation…", -1)])])) : Oe(y) ? (Fe(), de("div", DP, [...t[52] || (t[52] = [pe("p", null, "This presentation is password-protected and cannot be opened.", -1)])])) : Oe(x) ? (Fe(), de("div", EP, [t[53] || (t[53] = pe("p", null, "Failed to load presentation.", -1)), pe("pre", BP, Le(Oe(x)), 1)])) : (Fe(), de(le, { key: 3 }, [
23894
- Oe(Hn) ? ce("", !0) : (Fe(), ue(cF, ke(ye({ key: 0 }, ha.value)), null, 16)),
23895
- Oe(Hn) ? (Fe(), ue(C$, ke(ye({ key: 1 }, ha.value)), null, 16)) : ce("", !0),
23922
+ Oe(Xn) ? ce("", !0) : (Fe(), ue(cF, ke(ye({ key: 0 }, ga.value)), null, 16)),
23923
+ Oe(Xn) ? (Fe(), ue(C$, ke(ye({ key: 1 }, ga.value)), null, 16)) : ce("", !0),
23896
23924
  pe("input", {
23897
23925
  ref_key: "imageInputRef",
23898
23926
  ref: gt,
@@ -23938,19 +23966,19 @@ var IP = ["tabindex"], AP = {
23938
23966
  "onReplaceAll"
23939
23967
  ])) : ce("", !0),
23940
23968
  pe("div", _P, [
23941
- Oe(Hn) || fo.value || jo.value ? Oe(Hn) || jo.value ? ce("", !0) : (Fe(), de("nav", LP, [ve($F, {
23942
- groups: Oe(vo).slidesBySection.value,
23969
+ Oe(Xn) || ho.value || Ho.value ? Oe(Xn) || Ho.value ? ce("", !0) : (Fe(), de("nav", LP, [ve($F, {
23970
+ groups: Oe(fo).slidesBySection.value,
23943
23971
  "canvas-size": Oe(f),
23944
23972
  "media-data-urls": Oe(h),
23945
23973
  "active-index": j.value,
23946
23974
  "can-edit": l.canEdit,
23947
23975
  onSelect: V,
23948
- onToggleCollapse: Oe(vo).toggleSectionCollapse,
23949
- onRename: Oe(vo).renameSection,
23950
- onMoveUp: Oe(vo).moveSectionUp,
23951
- onMoveDown: Oe(vo).moveSectionDown,
23952
- onDelete: Oe(vo).deleteSection,
23953
- onAddSection: t[8] || (t[8] = (e) => Oe(vo).addSection("Untitled Section", e))
23976
+ onToggleCollapse: Oe(fo).toggleSectionCollapse,
23977
+ onRename: Oe(fo).renameSection,
23978
+ onMoveUp: Oe(fo).moveSectionUp,
23979
+ onMoveDown: Oe(fo).moveSectionDown,
23980
+ onDelete: Oe(fo).deleteSection,
23981
+ onAddSection: t[8] || (t[8] = (e) => Oe(fo).addSection("Untitled Section", e))
23954
23982
  }, null, 8, [
23955
23983
  "groups",
23956
23984
  "canvas-size",
@@ -23985,7 +24013,7 @@ var IP = ["tabindex"], AP = {
23985
24013
  ])),
23986
24014
  pe("main", {
23987
24015
  ref_key: "mainRef",
23988
- ref: Vn,
24016
+ ref: Zn,
23989
24017
  class: we(["pptx-vue-main", { "is-editable": l.canEdit }]),
23990
24018
  onPointerdown: tt,
23991
24019
  onContextmenu: Wt,
@@ -23993,39 +24021,39 @@ var IP = ["tabindex"], AP = {
23993
24021
  onTouchstart: J,
23994
24022
  onTouchend: Q
23995
24023
  }, [ve(vT, {
23996
- slide: H.value,
24024
+ slide: Y.value,
23997
24025
  "canvas-size": Oe(f),
23998
24026
  "media-data-urls": Oe(h),
23999
24027
  zoom: ge.value,
24000
- "show-rulers": Vo.value && !_t.value,
24028
+ "show-rulers": Zo.value && !_t.value,
24001
24029
  "onUpdate:fitScale": t[11] || (t[11] = (e) => he.value = e)
24002
24030
  }, {
24003
24031
  default: Xe(() => [
24004
24032
  ve(hd, {
24005
24033
  "canvas-size": Oe(f),
24006
- visible: Xo.value && !_t.value
24034
+ visible: Go.value && !_t.value
24007
24035
  }, null, 8, ["canvas-size", "visible"]),
24008
24036
  l.canEdit && !_t.value ? (Fe(), ue(du, {
24009
24037
  key: 0,
24010
- guides: Jo.value,
24038
+ guides: Qo.value,
24011
24039
  scale: ge.value,
24012
- onMove: ea,
24013
- onRemove: ta
24040
+ onMove: ta,
24041
+ onRemove: na
24014
24042
  }, null, 8, ["guides", "scale"])) : ce("", !0),
24015
- Ko.value.length > 0 ? (Fe(), ue(wT, {
24043
+ Jo.value.length > 0 ? (Fe(), ue(wT, {
24016
24044
  key: 1,
24017
- "snap-lines": Ko.value
24045
+ "snap-lines": Jo.value
24018
24046
  }, null, 8, ["snap-lines"])) : ce("", !0),
24019
24047
  l.canEdit ? (Fe(), ue(Oc, {
24020
24048
  key: 2,
24021
24049
  "canvas-size": Oe(f),
24022
- active: oa.value,
24023
- tool: Oo.value,
24024
- color: Uo.value,
24025
- width: Wo.value,
24050
+ active: aa.value,
24051
+ tool: Uo.value,
24052
+ color: Wo.value,
24053
+ width: No.value,
24026
24054
  scale: ge.value,
24027
- onStroke: aa,
24028
- onErase: ra
24055
+ onStroke: ra,
24056
+ onErase: la
24029
24057
  }, null, 8, [
24030
24058
  "canvas-size",
24031
24059
  "active",
@@ -24051,10 +24079,10 @@ var IP = ["tabindex"], AP = {
24051
24079
  "selected-ids",
24052
24080
  "zoom"
24053
24081
  ])),
24054
- l.canEdit && qe.value ? (Fe(), ue(Hd, {
24082
+ l.canEdit && qe.value ? (Fe(), ue(Yd, {
24055
24083
  key: 4,
24056
24084
  element: qe.value,
24057
- "spell-check": Zo.value,
24085
+ "spell-check": qo.value,
24058
24086
  onChange: t[10] || (t[10] = (e) => Ve.value = e),
24059
24087
  onCommit: Je,
24060
24088
  onCancel: Qe
@@ -24067,7 +24095,7 @@ var IP = ["tabindex"], AP = {
24067
24095
  Oe(_n) ? (Fe(), ue(OC, {
24068
24096
  key: 6,
24069
24097
  presences: Oe(En).remotePresences.value,
24070
- elements: H.value?.elements ?? [],
24098
+ elements: Y.value?.elements ?? [],
24071
24099
  "active-slide-index": j.value,
24072
24100
  zoom: ge.value
24073
24101
  }, null, 8, [
@@ -24084,26 +24112,26 @@ var IP = ["tabindex"], AP = {
24084
24112
  "media-data-urls",
24085
24113
  "zoom",
24086
24114
  "show-rulers"
24087
- ]), l.canEdit && !Oe(Hn) && Ho.value ? (Fe(), ue(D$, {
24115
+ ]), l.canEdit && !Oe(Xn) && Xo.value ? (Fe(), ue(D$, {
24088
24116
  key: 0,
24089
- slide: H.value,
24117
+ slide: Y.value,
24090
24118
  onUpdate: mn
24091
24119
  }, null, 8, ["slide"])) : ce("", !0)], 34),
24092
- l.canEdit && !Oe(Hn) && Ft.value && No.value ? (Fe(), ue(wf, {
24120
+ l.canEdit && !Oe(Xn) && Ft.value && jo.value ? (Fe(), ue(wf, {
24093
24121
  key: 2,
24094
24122
  element: Ft.value,
24095
24123
  onUpdate: Tt
24096
- }, null, 8, ["element"])) : l.canEdit && !Oe(Hn) && No.value && Y.value > 0 ? (Fe(), ue(Ef, {
24124
+ }, null, 8, ["element"])) : l.canEdit && !Oe(Xn) && jo.value && H.value > 0 ? (Fe(), ue(Ef, {
24097
24125
  key: 3,
24098
- slide: H.value,
24126
+ slide: Y.value,
24099
24127
  onTransitionUpdate: fn
24100
24128
  }, null, 8, ["slide"])) : ce("", !0),
24101
- l.canEdit && dn.value ? (Fe(), ue(Hs, {
24129
+ l.canEdit && dn.value ? (Fe(), ue(Ys, {
24102
24130
  key: 4,
24103
24131
  issues: Oe(pn).issues.value,
24104
24132
  onSelectSlide: V
24105
24133
  }, null, 8, ["issues"])) : ce("", !0),
24106
- l.canEdit && !Oe(Hn) && Cn.value ? (Fe(), ue(_u, {
24134
+ l.canEdit && !Oe(Xn) && Cn.value ? (Fe(), ue(_u, {
24107
24135
  key: 5,
24108
24136
  comments: Oe(Pn).slideComments.value,
24109
24137
  "author-name": Tn.value,
@@ -24134,17 +24162,17 @@ var IP = ["tabindex"], AP = {
24134
24162
  "connected-count",
24135
24163
  "onRetry"
24136
24164
  ])])) : ce("", !0),
24137
- l.canEdit && ho.value ? (Fe(), ue(tc, {
24165
+ l.canEdit && go.value ? (Fe(), ue(tc, {
24138
24166
  key: 9,
24139
24167
  "custom-shows": Oe(D),
24140
24168
  slides: Oe(v),
24141
- "active-show-id": go.value,
24142
- onCreate: yo,
24143
- onRename: Oe(xo).renameCustomShow,
24144
- onDelete: bo,
24145
- onSelect: t[15] || (t[15] = (e) => go.value = e),
24146
- onToggleSlide: Oe(xo).toggleSlideInShow,
24147
- onMoveSlide: Oe(xo).moveSlideInShow
24169
+ "active-show-id": xo.value,
24170
+ onCreate: bo,
24171
+ onRename: Oe(yo).renameCustomShow,
24172
+ onDelete: wo,
24173
+ onSelect: t[15] || (t[15] = (e) => xo.value = e),
24174
+ onToggleSlide: Oe(yo).toggleSlideInShow,
24175
+ onMoveSlide: Oe(yo).moveSlideInShow
24148
24176
  }, null, 8, [
24149
24177
  "custom-shows",
24150
24178
  "slides",
@@ -24154,20 +24182,20 @@ var IP = ["tabindex"], AP = {
24154
24182
  "onMoveSlide"
24155
24183
  ])) : ce("", !0)
24156
24184
  ]),
24157
- !Oe(Hn) && Y.value > 0 ? (Fe(), ue(FT, {
24185
+ !Oe(Xn) && H.value > 0 ? (Fe(), ue(FT, {
24158
24186
  key: 3,
24159
- "slide-count": Y.value,
24187
+ "slide-count": H.value,
24160
24188
  "active-slide-index": j.value,
24161
24189
  "is-dirty": Oe(Mn).isDirty.value,
24162
24190
  "autosave-status": $n.value ? Oe(Mn).status.value : void 0,
24163
24191
  scale: ee.value,
24164
- mode: ca.value,
24165
- "is-notes-expanded": Ho.value,
24192
+ mode: da.value,
24193
+ "is-notes-expanded": Xo.value,
24166
24194
  "show-notes": l.canEdit,
24167
24195
  onZoomIn: re,
24168
24196
  onZoomOut: ie,
24169
24197
  onZoomToFit: me,
24170
- onToggleNotes: t[16] || (t[16] = (e) => Ho.value = !Ho.value),
24198
+ onToggleNotes: t[16] || (t[16] = (e) => Xo.value = !Xo.value),
24171
24199
  onToggleSlideSorter: t[17] || (t[17] = (e) => sn.value = !0),
24172
24200
  onSetMode: t[18] || (t[18] = (e) => "present" === e ? Lt() : _t.value = !1)
24173
24201
  }, null, 8, [
@@ -24181,17 +24209,17 @@ var IP = ["tabindex"], AP = {
24181
24209
  "show-notes"
24182
24210
  ])) : ce("", !0),
24183
24211
  ve(ET, {
24184
- open: na.value,
24212
+ open: oa.value,
24185
24213
  "active-name": Oe(R)?.name,
24186
- onApply: sa,
24187
- onClose: t[19] || (t[19] = (e) => na.value = !1)
24214
+ onApply: ua,
24215
+ onClose: t[19] || (t[19] = (e) => oa.value = !1)
24188
24216
  }, null, 8, ["open", "active-name"]),
24189
- la.value && l.canEdit ? (Fe(), ue(qf, {
24217
+ ia.value && l.canEdit ? (Fe(), ue(qf, {
24190
24218
  key: 4,
24191
24219
  theme: Oe(R),
24192
24220
  "can-edit": l.canEdit,
24193
- onApply: ua,
24194
- onClose: t[20] || (t[20] = (e) => la.value = !1)
24221
+ onApply: ca,
24222
+ onClose: t[20] || (t[20] = (e) => ia.value = !1)
24195
24223
  }, null, 8, ["theme", "can-edit"])) : ce("", !0),
24196
24224
  ve(Ru, {
24197
24225
  open: Ot.value.open,
@@ -24208,8 +24236,8 @@ var IP = ["tabindex"], AP = {
24208
24236
  ]),
24209
24237
  ve(jd, {
24210
24238
  open: jt.value,
24211
- element: Yt.value,
24212
- onSave: Ht,
24239
+ element: Ht.value,
24240
+ onSave: Yt,
24213
24241
  onClose: t[22] || (t[22] = (e) => jt.value = !1)
24214
24242
  }, null, 8, ["open", "element"]),
24215
24243
  ve(zF, {
@@ -24225,13 +24253,13 @@ var IP = ["tabindex"], AP = {
24225
24253
  "active"
24226
24254
  ]),
24227
24255
  ve(Lc, {
24228
- open: no.value,
24256
+ open: oo.value,
24229
24257
  "core-properties": Oe(w),
24230
24258
  "custom-properties": Oe(k),
24231
24259
  "app-properties": Oe(S),
24232
24260
  slides: Oe(v),
24233
- onSave: oo,
24234
- onClose: t[24] || (t[24] = (e) => no.value = !1)
24261
+ onSave: ao,
24262
+ onClose: t[24] || (t[24] = (e) => oo.value = !1)
24235
24263
  }, null, 8, [
24236
24264
  "open",
24237
24265
  "core-properties",
@@ -24253,22 +24281,22 @@ var IP = ["tabindex"], AP = {
24253
24281
  "onClose"
24254
24282
  ]),
24255
24283
  ve(ZF, {
24256
- open: Do.value,
24257
- onClose: t[25] || (t[25] = (e) => Do.value = !1)
24284
+ open: Eo.value,
24285
+ onClose: t[25] || (t[25] = (e) => Eo.value = !1)
24258
24286
  }, null, 8, ["open"]),
24259
24287
  ve(Js, {
24260
- open: po.value,
24288
+ open: mo.value,
24261
24289
  title: "Header & footer",
24262
- onClose: t[27] || (t[27] = (e) => po.value = !1)
24290
+ onClose: t[27] || (t[27] = (e) => mo.value = !1)
24263
24291
  }, {
24264
24292
  default: Xe(() => [ve(Ld, {
24265
24293
  "header-footer": Oe(E),
24266
- onUpdate: mo,
24267
- onClose: t[26] || (t[26] = (e) => po.value = !1)
24294
+ onUpdate: vo,
24295
+ onClose: t[26] || (t[26] = (e) => mo.value = !1)
24268
24296
  }, null, 8, ["header-footer"])]),
24269
24297
  _: 1
24270
24298
  }, 8, ["open"]),
24271
- ao.value ? (Fe(), de("div", {
24299
+ ro.value ? (Fe(), de("div", {
24272
24300
  key: 5,
24273
24301
  class: "pptx-vue-master-overlay",
24274
24302
  role: "dialog",
@@ -24281,22 +24309,22 @@ var IP = ["tabindex"], AP = {
24281
24309
  "justify-content": "flex-start",
24282
24310
  background: "rgba(0, 0, 0, 0.45)"
24283
24311
  },
24284
- onClick: t[31] || (t[31] = Ze((e) => ao.value = !1, ["self"]))
24312
+ onClick: t[31] || (t[31] = Ze((e) => ro.value = !1, ["self"]))
24285
24313
  }, [ve(ew, {
24286
24314
  "slide-masters": Oe(T),
24287
- "active-master-index": lo.value,
24288
- "active-layout-index": io.value,
24315
+ "active-master-index": io.value,
24316
+ "active-layout-index": so.value,
24289
24317
  "canvas-size": Oe(f),
24290
24318
  "media-data-urls": Oe(h),
24291
- "master-view-tab": ro.value,
24319
+ "master-view-tab": lo.value,
24292
24320
  "notes-master": Oe(B),
24293
24321
  "handout-master": Oe(z),
24294
- "handout-slides-per-page": so.value,
24295
- onSelectMaster: uo,
24296
- onSelectLayout: co,
24297
- onTabChange: t[28] || (t[28] = (e) => ro.value = e),
24298
- onHandoutSlidesPerPageChange: t[29] || (t[29] = (e) => so.value = e),
24299
- onCollapse: t[30] || (t[30] = (e) => ao.value = !1)
24322
+ "handout-slides-per-page": uo.value,
24323
+ onSelectMaster: co,
24324
+ onSelectLayout: po,
24325
+ onTabChange: t[28] || (t[28] = (e) => lo.value = e),
24326
+ onHandoutSlidesPerPageChange: t[29] || (t[29] = (e) => uo.value = e),
24327
+ onCollapse: t[30] || (t[30] = (e) => ro.value = !1)
24300
24328
  }, null, 8, [
24301
24329
  "slide-masters",
24302
24330
  "active-master-index",
@@ -24314,7 +24342,7 @@ var IP = ["tabindex"], AP = {
24314
24342
  "viewer-url": Nn.value,
24315
24343
  defaults: { serverUrl: l.shareDefaults?.serverUrl },
24316
24344
  onStart: jn,
24317
- onStop: Yn,
24345
+ onStop: Hn,
24318
24346
  onClose: t[32] || (t[32] = (e) => Un.value = !1)
24319
24347
  }, null, 8, [
24320
24348
  "open",
@@ -24322,25 +24350,25 @@ var IP = ["tabindex"], AP = {
24322
24350
  "viewer-url",
24323
24351
  "defaults"
24324
24352
  ]),
24325
- Oe(Hn) ? (Fe(), ue(lw, {
24353
+ Oe(Xn) ? (Fe(), ue(lw, {
24326
24354
  key: 6,
24327
24355
  "slide-index": j.value,
24328
- "slide-count": Y.value,
24356
+ "slide-count": H.value,
24329
24357
  "zoom-percent": fe.value,
24330
24358
  "can-edit": l.canEdit,
24331
- "keyboard-inset": Oe(Gn),
24359
+ "keyboard-inset": Oe(Vn),
24332
24360
  "comment-count": Fn.value.length,
24333
24361
  onPrev: Z,
24334
24362
  onNext: q,
24335
24363
  onZoomIn: re,
24336
24364
  onZoomOut: ie,
24337
- onPresent: to,
24338
- onSlides: t[33] || (t[33] = (e) => Jn.value ? Jn.value = !1 : Qn("slides")),
24339
- onInsert: eo,
24340
- onFormat: t[34] || (t[34] = (e) => qn.value ? qn.value = !1 : Qn("format")),
24341
- onComments: t[35] || (t[35] = (e) => Kn.value ? Kn.value = !1 : Qn("comments")),
24365
+ onPresent: no,
24366
+ onSlides: t[33] || (t[33] = (e) => Qn.value ? Qn.value = !1 : eo("slides")),
24367
+ onInsert: to,
24368
+ onFormat: t[34] || (t[34] = (e) => Kn.value ? Kn.value = !1 : eo("format")),
24369
+ onComments: t[35] || (t[35] = (e) => Jn.value ? Jn.value = !1 : eo("comments")),
24342
24370
  onSave: t[36] || (t[36] = (e) => rn("pptx")),
24343
- onNotes: t[37] || (t[37] = (e) => Zn.value ? Zn.value = !1 : Qn("notes")),
24371
+ onNotes: t[37] || (t[37] = (e) => qn.value ? qn.value = !1 : eo("notes")),
24344
24372
  onMenu: t[38] || (t[38] = (e) => sn.value = !0)
24345
24373
  }, null, 8, [
24346
24374
  "slide-index",
@@ -24350,15 +24378,15 @@ var IP = ["tabindex"], AP = {
24350
24378
  "keyboard-inset",
24351
24379
  "comment-count"
24352
24380
  ])) : ce("", !0),
24353
- Oe(Hn) ? (Fe(), ue(bw, {
24381
+ Oe(Xn) ? (Fe(), ue(bw, {
24354
24382
  key: 7,
24355
- open: Jn.value,
24383
+ open: Qn.value,
24356
24384
  slides: Oe(v),
24357
24385
  "active-index": j.value,
24358
24386
  "canvas-size": Oe(f),
24359
24387
  "media-data-urls": Oe(h),
24360
24388
  "can-edit": l.canEdit,
24361
- onClose: t[39] || (t[39] = (e) => Jn.value = !1),
24389
+ onClose: t[39] || (t[39] = (e) => Qn.value = !1),
24362
24390
  onSelect: V,
24363
24391
  onReorder: t[40] || (t[40] = (e) => Oe(Pt).moveSlide(e.from, e.to)),
24364
24392
  onAddSlide: t[41] || (t[41] = (e) => Oe(Pt).addSlide()),
@@ -24373,42 +24401,42 @@ var IP = ["tabindex"], AP = {
24373
24401
  "media-data-urls",
24374
24402
  "can-edit"
24375
24403
  ])) : ce("", !0),
24376
- Oe(Hn) ? (Fe(), ue(dw, {
24404
+ Oe(Xn) ? (Fe(), ue(dw, {
24377
24405
  key: 8,
24378
- open: Zn.value,
24406
+ open: qn.value,
24379
24407
  title: "Notes",
24380
- onClose: t[44] || (t[44] = (e) => Zn.value = !1)
24408
+ onClose: t[44] || (t[44] = (e) => qn.value = !1)
24381
24409
  }, {
24382
24410
  default: Xe(() => [ve(D$, {
24383
- slide: H.value,
24411
+ slide: Y.value,
24384
24412
  onUpdate: mn
24385
24413
  }, null, 8, ["slide"])]),
24386
24414
  _: 1
24387
24415
  }, 8, ["open"])) : ce("", !0),
24388
- Oe(Hn) && l.canEdit ? (Fe(), ue(dw, {
24416
+ Oe(Xn) && l.canEdit ? (Fe(), ue(dw, {
24389
24417
  key: 9,
24390
- open: qn.value,
24418
+ open: Kn.value,
24391
24419
  title: "Format",
24392
- onClose: t[45] || (t[45] = (e) => qn.value = !1)
24420
+ onClose: t[45] || (t[45] = (e) => Kn.value = !1)
24393
24421
  }, {
24394
24422
  default: Xe(() => [Ft.value ? (Fe(), ue(wf, {
24395
24423
  key: 0,
24396
24424
  mobile: "",
24397
24425
  element: Ft.value,
24398
24426
  onUpdate: Tt
24399
- }, null, 8, ["element"])) : Y.value > 0 ? (Fe(), ue(Ef, {
24427
+ }, null, 8, ["element"])) : H.value > 0 ? (Fe(), ue(Ef, {
24400
24428
  key: 1,
24401
24429
  mobile: "",
24402
- slide: H.value,
24430
+ slide: Y.value,
24403
24431
  onTransitionUpdate: fn
24404
24432
  }, null, 8, ["slide"])) : (Fe(), de("p", RP, "No slide selected."))]),
24405
24433
  _: 1
24406
24434
  }, 8, ["open"])) : ce("", !0),
24407
- Oe(Hn) && l.canEdit ? (Fe(), ue(dw, {
24435
+ Oe(Xn) && l.canEdit ? (Fe(), ue(dw, {
24408
24436
  key: 10,
24409
- open: Kn.value,
24437
+ open: Jn.value,
24410
24438
  title: "Comments",
24411
- onClose: t[49] || (t[49] = (e) => Kn.value = !1)
24439
+ onClose: t[49] || (t[49] = (e) => Jn.value = !1)
24412
24440
  }, {
24413
24441
  default: Xe(() => [ve(_u, {
24414
24442
  comments: Oe(Pn).slideComments.value,