pptx-react-viewer 3.11.0 → 3.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (156) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/dist/{AiChatPanel-L5H455NZ.mjs → AiChatPanel-SCA4RLFI.mjs} +4 -4
  3. package/dist/AiChatPanel-SCA4RLFI.mjs.br +0 -0
  4. package/dist/AiChatPanel-SCA4RLFI.mjs.gz +0 -0
  5. package/dist/{AiChatPanel-A3ZMMVUA.js → AiChatPanel-TXCDQDHD.js} +25 -25
  6. package/dist/AiChatPanel-TXCDQDHD.js.br +0 -0
  7. package/dist/AiChatPanel-TXCDQDHD.js.gz +0 -0
  8. package/dist/{Area3DChartScene-OAD36KIX.mjs → Area3DChartScene-NSV5AIMM.mjs} +1 -1
  9. package/dist/{Area3DChartScene-OAD36KIX.mjs.br → Area3DChartScene-NSV5AIMM.mjs.br} +0 -0
  10. package/dist/Area3DChartScene-NSV5AIMM.mjs.gz +0 -0
  11. package/dist/{Area3DChartScene-R2CKCYCB.js → Area3DChartScene-YAK6W2J5.js} +2 -2
  12. package/dist/Area3DChartScene-YAK6W2J5.js.br +0 -0
  13. package/dist/Area3DChartScene-YAK6W2J5.js.gz +0 -0
  14. package/dist/{Bar3DChartScene-XNNXF26T.mjs → Bar3DChartScene-DFJ7XK3Q.mjs} +1 -1
  15. package/dist/{Bar3DChartScene-XNNXF26T.mjs.br → Bar3DChartScene-DFJ7XK3Q.mjs.br} +0 -0
  16. package/dist/Bar3DChartScene-DFJ7XK3Q.mjs.gz +0 -0
  17. package/dist/{Bar3DChartScene-CRRPMXGQ.js → Bar3DChartScene-WNBEX3TN.js} +2 -2
  18. package/dist/Bar3DChartScene-WNBEX3TN.js.br +0 -0
  19. package/dist/Bar3DChartScene-WNBEX3TN.js.gz +0 -0
  20. package/dist/{Line3DChartScene-44PLZML2.js → Line3DChartScene-PXA6WAQG.js} +2 -2
  21. package/dist/Line3DChartScene-PXA6WAQG.js.br +0 -0
  22. package/dist/Line3DChartScene-PXA6WAQG.js.gz +0 -0
  23. package/dist/{Line3DChartScene-MNNPB3LZ.mjs → Line3DChartScene-TK6RPGET.mjs} +1 -1
  24. package/dist/{Line3DChartScene-MNNPB3LZ.mjs.br → Line3DChartScene-TK6RPGET.mjs.br} +0 -0
  25. package/dist/Line3DChartScene-TK6RPGET.mjs.gz +0 -0
  26. package/dist/{Model3DScene-5MUREFLY.mjs → Model3DScene-7FZSQ3SP.mjs} +1 -1
  27. package/dist/Model3DScene-7FZSQ3SP.mjs.br +0 -0
  28. package/dist/Model3DScene-7FZSQ3SP.mjs.gz +0 -0
  29. package/dist/{Model3DScene-RYPYQPJH.js → Model3DScene-FJQOUWCV.js} +2 -2
  30. package/dist/{Model3DScene-RYPYQPJH.js.br → Model3DScene-FJQOUWCV.js.br} +0 -0
  31. package/dist/Model3DScene-FJQOUWCV.js.gz +0 -0
  32. package/dist/{PieChart3DScene-KYZSSG5X.mjs → PieChart3DScene-KKZTAIFB.mjs} +1 -1
  33. package/dist/PieChart3DScene-KKZTAIFB.mjs.br +0 -0
  34. package/dist/PieChart3DScene-KKZTAIFB.mjs.gz +0 -0
  35. package/dist/{PieChart3DScene-GACYCSSQ.js → PieChart3DScene-P25IGVT6.js} +2 -2
  36. package/dist/PieChart3DScene-P25IGVT6.js.br +0 -0
  37. package/dist/PieChart3DScene-P25IGVT6.js.gz +0 -0
  38. package/dist/PowerPointViewer-Cl6jBPNw.d.ts.map +1 -1
  39. package/dist/{SurfaceChart3DScene-RI5G4BHS.js → SurfaceChart3DScene-36MT6QAK.js} +2 -2
  40. package/dist/SurfaceChart3DScene-36MT6QAK.js.br +0 -0
  41. package/dist/SurfaceChart3DScene-36MT6QAK.js.gz +0 -0
  42. package/dist/{SurfaceChart3DScene-ZUP4PRUZ.mjs → SurfaceChart3DScene-LWJCERTR.mjs} +1 -1
  43. package/dist/SurfaceChart3DScene-LWJCERTR.mjs.br +0 -0
  44. package/dist/SurfaceChart3DScene-LWJCERTR.mjs.gz +0 -0
  45. package/dist/{chunk-SUEZMQRT.mjs → chunk-2FSNTJVI.mjs} +1 -1
  46. package/dist/chunk-2FSNTJVI.mjs.br +0 -0
  47. package/dist/{chunk-SUEZMQRT.mjs.gz → chunk-2FSNTJVI.mjs.gz} +0 -0
  48. package/dist/{chunk-Y6GG2OOW.js → chunk-3AJ54EAB.js} +5 -0
  49. package/dist/chunk-3AJ54EAB.js.br +0 -0
  50. package/dist/chunk-3AJ54EAB.js.gz +0 -0
  51. package/dist/{chunk-LY5535CF.js → chunk-3WK4AE52.js} +5364 -1513
  52. package/dist/chunk-3WK4AE52.js.br +0 -0
  53. package/dist/chunk-3WK4AE52.js.gz +0 -0
  54. package/dist/{chunk-BX4XVY5X.js → chunk-45AVHO7M.js} +5 -5
  55. package/dist/chunk-45AVHO7M.js.br +0 -0
  56. package/dist/chunk-45AVHO7M.js.gz +0 -0
  57. package/dist/{chunk-MRBHJ26I.js → chunk-AARQTIMN.js} +489 -456
  58. package/dist/chunk-AARQTIMN.js.br +0 -0
  59. package/dist/chunk-AARQTIMN.js.gz +0 -0
  60. package/dist/{chunk-6BNPHEEX.mjs → chunk-C2BDHCL2.mjs} +5359 -1514
  61. package/dist/chunk-C2BDHCL2.mjs.br +0 -0
  62. package/dist/chunk-C2BDHCL2.mjs.gz +0 -0
  63. package/dist/{chunk-TAGG5YNA.mjs → chunk-HMX3MQR7.mjs} +5 -0
  64. package/dist/chunk-HMX3MQR7.mjs.br +0 -0
  65. package/dist/chunk-HMX3MQR7.mjs.gz +0 -0
  66. package/dist/{chunk-5T4Y4QPV.mjs → chunk-HXDNYDRJ.mjs} +22 -8
  67. package/dist/chunk-HXDNYDRJ.mjs.br +0 -0
  68. package/dist/chunk-HXDNYDRJ.mjs.gz +0 -0
  69. package/dist/{chunk-IK25LY4C.js → chunk-O27KNZLJ.js} +195 -181
  70. package/dist/chunk-O27KNZLJ.js.br +0 -0
  71. package/dist/chunk-O27KNZLJ.js.gz +0 -0
  72. package/dist/{chunk-4PL3GBSD.js → chunk-T7MY5L3O.js} +1607 -1388
  73. package/dist/chunk-T7MY5L3O.js.br +0 -0
  74. package/dist/chunk-T7MY5L3O.js.gz +0 -0
  75. package/dist/{chunk-VHFPZBUW.mjs → chunk-WRHPPTYF.mjs} +53 -20
  76. package/dist/chunk-WRHPPTYF.mjs.br +0 -0
  77. package/dist/chunk-WRHPPTYF.mjs.gz +0 -0
  78. package/dist/{chunk-N75WRHON.mjs → chunk-ZOEKVSSU.mjs} +361 -142
  79. package/dist/chunk-ZOEKVSSU.mjs.br +0 -0
  80. package/dist/chunk-ZOEKVSSU.mjs.gz +0 -0
  81. package/dist/i18n.js +4 -4
  82. package/dist/i18n.js.br +0 -0
  83. package/dist/i18n.js.gz +0 -0
  84. package/dist/i18n.mjs +1 -1
  85. package/dist/i18n.mjs.br +0 -0
  86. package/dist/i18n.mjs.gz +0 -0
  87. package/dist/index.d.ts +92 -0
  88. package/dist/index.js +47 -47
  89. package/dist/index.js.br +0 -0
  90. package/dist/index.js.gz +0 -0
  91. package/dist/index.mjs +6 -6
  92. package/dist/index.mjs.br +0 -0
  93. package/dist/index.mjs.gz +0 -0
  94. package/dist/internals.d.ts +157 -0
  95. package/dist/internals.d.ts.map +1 -1
  96. package/dist/internals.js +79 -79
  97. package/dist/internals.js.br +0 -0
  98. package/dist/internals.js.gz +0 -0
  99. package/dist/internals.mjs +4 -4
  100. package/dist/internals.mjs.br +0 -0
  101. package/dist/internals.mjs.gz +0 -0
  102. package/dist/viewer/index.d.ts +81 -0
  103. package/dist/viewer/index.js +27 -27
  104. package/dist/viewer/index.js.br +0 -0
  105. package/dist/viewer/index.js.gz +0 -0
  106. package/dist/viewer/index.mjs +6 -6
  107. package/dist/viewer/index.mjs.br +0 -0
  108. package/dist/viewer/index.mjs.gz +0 -0
  109. package/package.json +1 -1
  110. package/dist/AiChatPanel-A3ZMMVUA.js.br +0 -0
  111. package/dist/AiChatPanel-A3ZMMVUA.js.gz +0 -0
  112. package/dist/AiChatPanel-L5H455NZ.mjs.br +0 -0
  113. package/dist/AiChatPanel-L5H455NZ.mjs.gz +0 -0
  114. package/dist/Area3DChartScene-OAD36KIX.mjs.gz +0 -0
  115. package/dist/Area3DChartScene-R2CKCYCB.js.br +0 -0
  116. package/dist/Area3DChartScene-R2CKCYCB.js.gz +0 -0
  117. package/dist/Bar3DChartScene-CRRPMXGQ.js.br +0 -0
  118. package/dist/Bar3DChartScene-CRRPMXGQ.js.gz +0 -0
  119. package/dist/Bar3DChartScene-XNNXF26T.mjs.gz +0 -0
  120. package/dist/Line3DChartScene-44PLZML2.js.br +0 -0
  121. package/dist/Line3DChartScene-44PLZML2.js.gz +0 -0
  122. package/dist/Line3DChartScene-MNNPB3LZ.mjs.gz +0 -0
  123. package/dist/Model3DScene-5MUREFLY.mjs.br +0 -0
  124. package/dist/Model3DScene-5MUREFLY.mjs.gz +0 -0
  125. package/dist/Model3DScene-RYPYQPJH.js.gz +0 -0
  126. package/dist/PieChart3DScene-GACYCSSQ.js.br +0 -0
  127. package/dist/PieChart3DScene-GACYCSSQ.js.gz +0 -0
  128. package/dist/PieChart3DScene-KYZSSG5X.mjs.br +0 -0
  129. package/dist/PieChart3DScene-KYZSSG5X.mjs.gz +0 -0
  130. package/dist/SurfaceChart3DScene-RI5G4BHS.js.br +0 -0
  131. package/dist/SurfaceChart3DScene-RI5G4BHS.js.gz +0 -0
  132. package/dist/SurfaceChart3DScene-ZUP4PRUZ.mjs.br +0 -0
  133. package/dist/SurfaceChart3DScene-ZUP4PRUZ.mjs.gz +0 -0
  134. package/dist/chunk-4PL3GBSD.js.br +0 -0
  135. package/dist/chunk-4PL3GBSD.js.gz +0 -0
  136. package/dist/chunk-5T4Y4QPV.mjs.br +0 -0
  137. package/dist/chunk-5T4Y4QPV.mjs.gz +0 -0
  138. package/dist/chunk-6BNPHEEX.mjs.br +0 -0
  139. package/dist/chunk-6BNPHEEX.mjs.gz +0 -0
  140. package/dist/chunk-BX4XVY5X.js.br +0 -0
  141. package/dist/chunk-BX4XVY5X.js.gz +0 -0
  142. package/dist/chunk-IK25LY4C.js.br +0 -0
  143. package/dist/chunk-IK25LY4C.js.gz +0 -0
  144. package/dist/chunk-LY5535CF.js.br +0 -0
  145. package/dist/chunk-LY5535CF.js.gz +0 -0
  146. package/dist/chunk-MRBHJ26I.js.br +0 -0
  147. package/dist/chunk-MRBHJ26I.js.gz +0 -0
  148. package/dist/chunk-N75WRHON.mjs.br +0 -0
  149. package/dist/chunk-N75WRHON.mjs.gz +0 -0
  150. package/dist/chunk-SUEZMQRT.mjs.br +0 -0
  151. package/dist/chunk-TAGG5YNA.mjs.br +0 -0
  152. package/dist/chunk-TAGG5YNA.mjs.gz +0 -0
  153. package/dist/chunk-VHFPZBUW.mjs.br +0 -0
  154. package/dist/chunk-VHFPZBUW.mjs.gz +0 -0
  155. package/dist/chunk-Y6GG2OOW.js.br +0 -0
  156. package/dist/chunk-Y6GG2OOW.js.gz +0 -0
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var chunkLY5535CF_js = require('./chunk-LY5535CF.js');
4
- var chunkY6GG2OOW_js = require('./chunk-Y6GG2OOW.js');
3
+ var chunk3WK4AE52_js = require('./chunk-3WK4AE52.js');
4
+ var chunk3AJ54EAB_js = require('./chunk-3AJ54EAB.js');
5
5
  var clsx = require('clsx');
6
6
  var tailwindMerge = require('tailwind-merge');
7
7
  var React7 = require('react');
@@ -15,7 +15,7 @@ var React7__default = /*#__PURE__*/_interopDefault(React7);
15
15
 
16
16
  // src/viewer/utils/animation-effects.ts
17
17
  function getAnimationInitialStyle2(preset, nativeAnimation) {
18
- return chunkLY5535CF_js.getAnimationInitialStyle(preset, nativeAnimation);
18
+ return chunk3WK4AE52_js.getAnimationInitialStyle(preset, nativeAnimation);
19
19
  }
20
20
  function cn(...inputs) {
21
21
  return tailwindMerge.twMerge(clsx.clsx(inputs));
@@ -23,7 +23,7 @@ function cn(...inputs) {
23
23
 
24
24
  // src/viewer/utils/clone.ts
25
25
  function cloneHistorySnapshot2(snapshot) {
26
- return chunkLY5535CF_js.cloneHistorySnapshot(snapshot);
26
+ return chunk3WK4AE52_js.cloneHistorySnapshot(snapshot);
27
27
  }
28
28
 
29
29
  // src/viewer/constants/scalar.ts
@@ -61,7 +61,7 @@ var TOOLBAR_SECTIONS = [
61
61
  { id: "view", labelKey: "pptx.ribbon.tab.view" },
62
62
  { id: "help", labelKey: "pptx.ribbon.tab.help" }
63
63
  ];
64
- var SHORTCUT_REFERENCE_ITEMS = chunkLY5535CF_js.VIEWER_SHORTCUT_REFERENCE;
64
+ var SHORTCUT_REFERENCE_ITEMS = chunk3WK4AE52_js.VIEWER_SHORTCUT_REFERENCE;
65
65
 
66
66
  // src/viewer/constants/transitions-animations.ts
67
67
  var ANIMATION_PRESET_OPTIONS = [
@@ -89,7 +89,7 @@ var GLYPH_COMPONENTS = {
89
89
  plus: lu.LuPlus,
90
90
  triangle: lu.LuTriangle
91
91
  };
92
- var SHAPE_PRESETS = chunkLY5535CF_js.SHAPE_PRESET_DEFS.map(
92
+ var SHAPE_PRESETS = chunk3WK4AE52_js.SHAPE_PRESET_DEFS.map(
93
93
  (def) => ({
94
94
  type: def.type,
95
95
  label: def.label,
@@ -114,7 +114,7 @@ var ARROW_SIZE_OPTIONS = [
114
114
  { value: "med", label: "Medium", i18nKey: "pptx.connectorOptions.sizeMedium" },
115
115
  { value: "lg", label: "Large", i18nKey: "pptx.connectorOptions.sizeLarge" }
116
116
  ];
117
- var STROKE_DASH_OPTIONS2 = chunkLY5535CF_js.STROKE_DASH_OPTIONS;
117
+ var STROKE_DASH_OPTIONS2 = chunk3WK4AE52_js.STROKE_DASH_OPTIONS;
118
118
 
119
119
  // src/viewer/utils/shape-types.tsx
120
120
  function getShapeType(shapeType) {
@@ -223,7 +223,7 @@ function isConnectorOrLineElement(element) {
223
223
  if (element.type === "connector") {
224
224
  return true;
225
225
  }
226
- if (!chunkLY5535CF_js.hasShapeProperties(element)) {
226
+ if (!chunk3WK4AE52_js.hasShapeProperties(element)) {
227
227
  return false;
228
228
  }
229
229
  const st = getShapeType(element.shapeType);
@@ -232,17 +232,17 @@ function isConnectorOrLineElement(element) {
232
232
 
233
233
  // src/viewer/utils/image-style.ts
234
234
  function getImageMaskStyle(element) {
235
- if (!chunkLY5535CF_js.hasShapeProperties(element)) {
235
+ if (!chunk3WK4AE52_js.hasShapeProperties(element)) {
236
236
  return void 0;
237
237
  }
238
- const geometry = chunkLY5535CF_js.resolveShapeGeometry(element);
238
+ const geometry = chunk3WK4AE52_js.resolveShapeGeometry(element);
239
239
  if (geometry.kind === "borderRadius") {
240
240
  return { borderRadius: geometry.radius };
241
241
  }
242
242
  return geometry.kind === "clipPath" ? { clipPath: geometry.clipPath } : void 0;
243
243
  }
244
244
  function getImageRenderStyle(element) {
245
- const fit = chunkLY5535CF_js.getImageFitStyle(element);
245
+ const fit = chunk3WK4AE52_js.getImageFitStyle(element);
246
246
  return {
247
247
  // A translated/scaled crop must be masked by its stationary wrapper, not
248
248
  // by the moving bitmap itself.
@@ -259,7 +259,7 @@ function getImageSurfaceMaskStyle(element) {
259
259
  };
260
260
  }
261
261
  function getImageSurfaceStyle(element) {
262
- const fill = chunkLY5535CF_js.hasShapeProperties(element) ? chunkLY5535CF_js.getComputedFillStyle(element) : void 0;
262
+ const fill = chunk3WK4AE52_js.hasShapeProperties(element) ? chunk3WK4AE52_js.getComputedFillStyle(element) : void 0;
263
263
  return {
264
264
  position: "absolute",
265
265
  inset: 0,
@@ -272,13 +272,13 @@ function getImageSurfaceStyle(element) {
272
272
  };
273
273
  }
274
274
  function getCropShapeClipPath2(element) {
275
- if (!chunkLY5535CF_js.isImageLikeElement(element)) {
275
+ if (!chunk3WK4AE52_js.isImageLikeElement(element)) {
276
276
  return void 0;
277
277
  }
278
- return chunkLY5535CF_js.getCropShapeClipPath(element.cropShape, element.width, element.height);
278
+ return chunk3WK4AE52_js.getCropShapeClipPath(element.cropShape, element.width, element.height);
279
279
  }
280
280
  function getImageTilingStyle2(element) {
281
- return chunkLY5535CF_js.getImageTilingStyle(element);
281
+ return chunk3WK4AE52_js.getImageTilingStyle(element);
282
282
  }
283
283
 
284
284
  // src/viewer/utils/geometry-image.ts
@@ -410,7 +410,7 @@ function VideoWithMetadata({
410
410
  {
411
411
  ref: mediaRef,
412
412
  className: "w-full h-full pointer-events-auto",
413
- style: isFullScreen ? { objectFit: "cover" } : chunkLY5535CF_js.getImageFitStyle(element),
413
+ style: isFullScreen ? { objectFit: "cover" } : chunk3WK4AE52_js.getImageFitStyle(element),
414
414
  controls: showTransport,
415
415
  preload: "metadata",
416
416
  playsInline: true,
@@ -467,7 +467,7 @@ function PresentationMediaController({
467
467
  const [isMediaPlaying, setIsMediaPlaying] = React7.useState(false);
468
468
  const trimStartSec = element.trimStartMs !== void 0 ? element.trimStartMs / 1e3 : 0;
469
469
  const hideWhenNotPlaying = isPresentationMode && element.hideWhenNotPlaying === true;
470
- const { volume: playbackVolume, playbackRate } = chunkLY5535CF_js.mediaPlaybackAttributes({
470
+ const { volume: playbackVolume, playbackRate } = chunk3WK4AE52_js.mediaPlaybackAttributes({
471
471
  loop: element.loop,
472
472
  volume: element.volume,
473
473
  playbackSpeed: element.playbackSpeed
@@ -515,7 +515,7 @@ function PresentationMediaController({
515
515
  if (!el || !isPresentationMode) {
516
516
  return;
517
517
  }
518
- return chunkLY5535CF_js.scheduleMediaTrimAndFade(el, {
518
+ return chunk3WK4AE52_js.scheduleMediaTrimAndFade(el, {
519
519
  trimStartMs: element.trimStartMs,
520
520
  trimEndMs: element.trimEndMs,
521
521
  fadeInDuration: element.fadeInDuration,
@@ -536,7 +536,7 @@ function PresentationMediaController({
536
536
  }
537
537
  if (element.playAcrossSlides && element.mediaType === "audio") {
538
538
  const dataUrl = element.mediaData ?? resolvedDataUrl;
539
- if (chunkLY5535CF_js.registerCrossSlideAudio(element, dataUrl)) {
539
+ if (chunk3WK4AE52_js.registerCrossSlideAudio(element, dataUrl)) {
540
540
  return;
541
541
  }
542
542
  }
@@ -581,7 +581,7 @@ function PresentationMediaController({
581
581
  ] });
582
582
  }
583
583
  function label(key) {
584
- return key === void 0 ? void 0 : chunkY6GG2OOW_js.translationsEn[key];
584
+ return key === void 0 ? void 0 : chunk3AJ54EAB_js.translationsEn[key];
585
585
  }
586
586
  function FallbackIcon({
587
587
  paths,
@@ -617,17 +617,17 @@ function Badge({
617
617
  "div",
618
618
  {
619
619
  className: `absolute inset-0 flex flex-col items-center justify-center ${isMissing ? "gap-1" : ""}`,
620
- ...{ [chunkLY5535CF_js.MEDIA_CHROME_ATTRIBUTE]: visual.badge },
620
+ ...{ [chunk3WK4AE52_js.MEDIA_CHROME_ATTRIBUTE]: visual.badge },
621
621
  children: [
622
622
  /* @__PURE__ */ jsxRuntime.jsx(
623
623
  FallbackIcon,
624
624
  {
625
- paths: chunkLY5535CF_js.mediaFallbackIcon(visual, element.mediaType),
625
+ paths: chunk3WK4AE52_js.mediaFallbackIcon(visual, element.mediaType),
626
626
  size: isMissing ? 32 : 48,
627
627
  className: isMissing ? "text-white/60" : "text-white/80 drop-shadow-md"
628
628
  }
629
629
  ),
630
- isMissing && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-[10px] text-white/60", children: label(chunkLY5535CF_js.mediaFallbackLabelKey(visual, element.mediaType)) })
630
+ isMissing && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-[10px] text-white/60", children: label(chunk3WK4AE52_js.mediaFallbackLabelKey(visual, element.mediaType)) })
631
631
  ]
632
632
  }
633
633
  );
@@ -644,17 +644,17 @@ function Placeholder({
644
644
  "div",
645
645
  {
646
646
  className: `w-full h-full flex flex-col items-center justify-center gap-1 pointer-events-none rounded ${isMissing ? "bg-black/30 border border-dashed border-white/20" : element.mediaType === "audio" ? "bg-black/10" : "bg-black/20"}`,
647
- ...{ [chunkLY5535CF_js.MEDIA_CHROME_ATTRIBUTE]: visual.placeholder },
647
+ ...{ [chunk3WK4AE52_js.MEDIA_CHROME_ATTRIBUTE]: visual.placeholder },
648
648
  children: [
649
649
  /* @__PURE__ */ jsxRuntime.jsx(
650
650
  FallbackIcon,
651
651
  {
652
- paths: chunkLY5535CF_js.mediaFallbackIcon(visual, element.mediaType),
652
+ paths: chunk3WK4AE52_js.mediaFallbackIcon(visual, element.mediaType),
653
653
  size: isMissing ? 36 : element.mediaType === "audio" ? 24 : 32,
654
654
  className: isMissing ? "text-white/50" : "text-white/70"
655
655
  }
656
656
  ),
657
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: `text-[10px] ${isMissing ? "text-white/50" : "text-white/70"}`, children: label(chunkLY5535CF_js.mediaFallbackLabelKey(visual, element.mediaType)) })
657
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: `text-[10px] ${isMissing ? "text-white/50" : "text-white/70"}`, children: label(chunk3WK4AE52_js.mediaFallbackLabelKey(visual, element.mediaType)) })
658
658
  ]
659
659
  }
660
660
  );
@@ -664,7 +664,7 @@ function renderMediaFallback({
664
664
  posterUrl,
665
665
  surface
666
666
  }) {
667
- const visual = chunkLY5535CF_js.mediaFallbackVisual(surface, {
667
+ const visual = chunk3WK4AE52_js.mediaFallbackVisual(surface, {
668
668
  hasPoster: Boolean(posterUrl),
669
669
  missing: element.mediaMissing === true
670
670
  });
@@ -674,9 +674,9 @@ function renderMediaFallback({
674
674
  "img",
675
675
  {
676
676
  src: posterUrl,
677
- alt: visual.dimPoster ? chunkY6GG2OOW_js.translationsEn["pptx.media.posterAlt"] : chunkY6GG2OOW_js.translationsEn["pptx.media.videoPosterAlt"],
677
+ alt: visual.dimPoster ? chunk3AJ54EAB_js.translationsEn["pptx.media.posterAlt"] : chunk3AJ54EAB_js.translationsEn["pptx.media.videoPosterAlt"],
678
678
  className: `w-full h-full${visual.dimPoster ? " opacity-50" : ""}`,
679
- style: chunkLY5535CF_js.getImageFitStyle(element)
679
+ style: chunk3WK4AE52_js.getImageFitStyle(element)
680
680
  }
681
681
  ),
682
682
  /* @__PURE__ */ jsxRuntime.jsx(Badge, { visual, element })
@@ -686,7 +686,7 @@ function renderMediaFallback({
686
686
  }
687
687
  function renderMediaElement(element, mediaDataUrls, options) {
688
688
  if (element.type !== "media") {
689
- return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full h-full flex items-center justify-center text-[11px] text-white/80 pointer-events-none", children: chunkY6GG2OOW_js.translationsEn["pptx.media.title"] });
689
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full h-full flex items-center justify-center text-[11px] text-white/80 pointer-events-none", children: chunk3AJ54EAB_js.translationsEn["pptx.media.title"] });
690
690
  }
691
691
  const mediaType = element.mediaType;
692
692
  const mediaPath = element.mediaPath;
@@ -694,7 +694,7 @@ function renderMediaElement(element, mediaDataUrls, options) {
694
694
  const dataUrl = element.mediaData ?? (mediaPath ? mediaDataUrls.get(mediaPath) : void 0);
695
695
  const trimFragment = buildTrimFragment(element);
696
696
  const posterUrl = element.posterFrameData ?? void 0;
697
- const shouldLoop = chunkLY5535CF_js.mediaPlaybackAttributes(element).loop;
697
+ const shouldLoop = chunk3WK4AE52_js.mediaPlaybackAttributes(element).loop;
698
698
  const shouldAutoPlay = options?.autoPlay === true || element.autoPlay === true;
699
699
  const isFullScreen = options?.fullScreen === true;
700
700
  const isPresentationMode = options?.isPresentationMode === true;
@@ -772,25 +772,25 @@ function renderMediaElement(element, mediaDataUrls, options) {
772
772
  if (surface.presenting || surface.preview) {
773
773
  return null;
774
774
  }
775
- return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full h-full flex items-center justify-center text-[11px] text-white/80 pointer-events-none", children: chunkY6GG2OOW_js.translationsEn["pptx.media.title"] });
775
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full h-full flex items-center justify-center text-[11px] text-white/80 pointer-events-none", children: chunk3AJ54EAB_js.translationsEn["pptx.media.title"] });
776
776
  }
777
777
 
778
778
  // src/viewer/utils/text-utils.tsx
779
779
  function getTextStyleForElement(element, fallbackColor) {
780
- return chunkLY5535CF_js.buildTextBlockStyle(element, { fallbackColor });
780
+ return chunk3WK4AE52_js.buildTextBlockStyle(element, { fallbackColor });
781
781
  }
782
782
 
783
783
  // src/viewer/utils/text-layout.tsx
784
784
  function getTextLayoutStyle(element) {
785
- if (!chunkLY5535CF_js.hasTextProperties(element)) {
785
+ if (!chunk3WK4AE52_js.hasTextProperties(element)) {
786
786
  return {};
787
787
  }
788
- const writingMode = chunkLY5535CF_js.toCssWritingMode(element.textStyle?.textDirection);
789
- const textOrientation = chunkLY5535CF_js.toCssTextOrientation(element.textStyle?.textDirection);
790
- const verticalDirection = chunkLY5535CF_js.toCssVerticalDirection(element.textStyle?.textDirection);
788
+ const writingMode = chunk3WK4AE52_js.toCssWritingMode(element.textStyle?.textDirection);
789
+ const textOrientation = chunk3WK4AE52_js.toCssTextOrientation(element.textStyle?.textDirection);
790
+ const verticalDirection = chunk3WK4AE52_js.toCssVerticalDirection(element.textStyle?.textDirection);
791
791
  const textWrapNone = element.textStyle?.textWrap === "none";
792
792
  const shapeAutoFitTextBox = element.textStyle?.autoFitMode === "shrink" && (element.type === "text" || element.locks?.txBox === true);
793
- const hasParagraphIndents = chunkLY5535CF_js.hasTextProperties(element) && element.paragraphIndents && element.paragraphIndents.length > 0;
793
+ const hasParagraphIndents = chunk3WK4AE52_js.hasTextProperties(element) && element.paragraphIndents && element.paragraphIndents.length > 0;
794
794
  const paragraphMarginLeft = element.textStyle?.paragraphMarginLeft;
795
795
  const paragraphIndent = element.textStyle?.paragraphIndent;
796
796
  const marginLeft = !hasParagraphIndents && typeof paragraphMarginLeft === "number" && paragraphMarginLeft !== 0 ? paragraphMarginLeft : void 0;
@@ -799,7 +799,7 @@ function getTextLayoutStyle(element) {
799
799
  const bodyBottom = element.textStyle?.bodyInsetBottom ?? DEFAULT_BODY_INSET_TB_PX;
800
800
  return {
801
801
  // Columns / flex anchoring / anchorCtr / tab-size / kinsoku, from shared.
802
- ...chunkLY5535CF_js.buildTextBodyLayoutStyle(element),
802
+ ...chunk3WK4AE52_js.buildTextBodyLayoutStyle(element),
803
803
  // Body inset only. Paragraph spacing (spcBef/spcAft) is applied
804
804
  // per-paragraph by the paragraph renderer, not collapsed here.
805
805
  paddingTop: bodyTop,
@@ -827,7 +827,7 @@ function getTextLayoutStyle(element) {
827
827
 
828
828
  // src/viewer/utils/text-effects.tsx
829
829
  function buildTextBody3DSceneStyle2(textStyle, elementSize) {
830
- return chunkLY5535CF_js.buildTextBody3DSceneStyle(textStyle, elementSize);
830
+ return chunk3WK4AE52_js.buildTextBody3DSceneStyle(textStyle, elementSize);
831
831
  }
832
832
 
833
833
  // src/viewer/utils/text-warp-css.tsx
@@ -1012,13 +1012,13 @@ function wrapWithTextBuildAnimation(elementId, paraIndex, renderedSegments, para
1012
1012
  if (!subElementAnimStates || subElementAnimStates.size === 0) {
1013
1013
  return renderedSegments;
1014
1014
  }
1015
- const paraKey = `${elementId}${chunkLY5535CF_js.TEXT_BUILD_ID_SEP}p${paraIndex}`;
1015
+ const paraKey = `${elementId}${chunk3WK4AE52_js.TEXT_BUILD_ID_SEP}p${paraIndex}`;
1016
1016
  const paraState = subElementAnimStates.get(paraKey);
1017
1017
  if (paraState) {
1018
1018
  const style = buildAnimStyle(paraState);
1019
1019
  return /* @__PURE__ */ jsxRuntime.jsx("span", { "data-anim-id": paraKey, style: { display: "inline", ...style }, children: renderedSegments }, paraKey);
1020
1020
  }
1021
- const spec = chunkLY5535CF_js.buildTextBuildSpec(
1021
+ const spec = chunk3WK4AE52_js.buildTextBuildSpec(
1022
1022
  elementId,
1023
1023
  paraIndex,
1024
1024
  paraRuns.map((run) => ({ text: run.text, style: run })),
@@ -1036,7 +1036,7 @@ function wrapWithTextBuildAnimation(elementId, paraIndex, renderedSegments, para
1036
1036
  "span",
1037
1037
  {
1038
1038
  "data-anim-id": span.animId,
1039
- style: chunkLY5535CF_js.textBuildSpanStyle(span),
1039
+ style: chunk3WK4AE52_js.textBuildSpanStyle(span),
1040
1040
  children: content
1041
1041
  },
1042
1042
  span.animId
@@ -1047,13 +1047,13 @@ function renderUnderlineWords(text, isUnderlineWords, wordDecoration, metric, ke
1047
1047
  if (!isUnderlineWords || !text) {
1048
1048
  return inner(text, keyPrefix, metric);
1049
1049
  }
1050
- const pieces = chunkLY5535CF_js.splitWordsForUnderline(text);
1050
+ const pieces = chunk3WK4AE52_js.splitWordsForUnderline(text);
1051
1051
  if (pieces.length === 0) {
1052
1052
  return inner(text, keyPrefix, metric);
1053
1053
  }
1054
1054
  const gapMetric = metric ? {
1055
1055
  ...metric,
1056
- nestedStyle: metric.nestedStyle ? chunkLY5535CF_js.stripUnderlineDecoration(metric.nestedStyle) : void 0
1056
+ nestedStyle: metric.nestedStyle ? chunk3WK4AE52_js.stripUnderlineDecoration(metric.nestedStyle) : void 0
1057
1057
  } : void 0;
1058
1058
  return pieces.map((piece, i) => {
1059
1059
  const key = `${keyPrefix}-u${i}`;
@@ -1086,7 +1086,7 @@ function makeSegmentPieceRenderer(needsScriptFonts, scriptFonts, baseFontFamily,
1086
1086
  );
1087
1087
  }
1088
1088
  function renderTabbedLine(line, ctx, keyPrefix, renderPiece, nestedStyle, underlineWords = false) {
1089
- const [lineLayout] = chunkLY5535CF_js.buildRunTabLines(
1089
+ const [lineLayout] = chunk3WK4AE52_js.buildRunTabLines(
1090
1090
  line,
1091
1091
  ctx,
1092
1092
  nestedStyle,
@@ -1105,7 +1105,7 @@ function renderScriptAwareText(text, needsScriptFonts, scriptFonts, baseFontFami
1105
1105
  if (!needsScriptFonts || !text) {
1106
1106
  return text;
1107
1107
  }
1108
- const pieces = chunkLY5535CF_js.splitRunByScriptFont(
1108
+ const pieces = chunk3WK4AE52_js.splitRunByScriptFont(
1109
1109
  text,
1110
1110
  scriptFonts,
1111
1111
  baseFontFamily,
@@ -1122,7 +1122,7 @@ function renderMetricPieces(text, metric, keyPrefix, inner) {
1122
1122
  if (!metric || !text) {
1123
1123
  return inner(text, keyPrefix);
1124
1124
  }
1125
- const pieces = chunkLY5535CF_js.splitRunForMetrics(text, metric.font);
1125
+ const pieces = chunk3WK4AE52_js.splitRunForMetrics(text, metric.font);
1126
1126
  if (pieces.length <= 1) {
1127
1127
  return inner(text, keyPrefix);
1128
1128
  }
@@ -1131,7 +1131,7 @@ function renderMetricPieces(text, metric, keyPrefix, inner) {
1131
1131
  {
1132
1132
  style: {
1133
1133
  ...metric.nestedStyle,
1134
- letterSpacing: chunkLY5535CF_js.pieceLetterSpacing(metric.authoredPx, piece.tracking)
1134
+ letterSpacing: chunk3WK4AE52_js.pieceLetterSpacing(metric.authoredPx, piece.tracking)
1135
1135
  },
1136
1136
  children: inner(piece.text, `${keyPrefix}-w${i}`)
1137
1137
  },
@@ -1207,8 +1207,8 @@ function renderSegmentContent(elementId, segmentIndex, textValue, lines, needsSc
1207
1207
  });
1208
1208
  }
1209
1209
  function renderEquationSegment(elementId, segmentIndex, equationXml, equationNumber) {
1210
- const mathml = chunkLY5535CF_js.convertOmmlToMathMl(equationXml);
1211
- const safeMathml = mathml ? chunkLY5535CF_js.sanitizeMathMl(mathml) : "";
1210
+ const mathml = chunk3WK4AE52_js.convertOmmlToMathMl(equationXml);
1211
+ const safeMathml = mathml ? chunk3WK4AE52_js.sanitizeMathMl(mathml) : "";
1212
1212
  const equationContent = safeMathml ? /* @__PURE__ */ jsxRuntime.jsx(
1213
1213
  "span",
1214
1214
  {
@@ -1218,7 +1218,7 @@ function renderEquationSegment(elementId, segmentIndex, equationXml, equationNum
1218
1218
  },
1219
1219
  dangerouslySetInnerHTML: { __html: safeMathml }
1220
1220
  }
1221
- ) : /* @__PURE__ */ jsxRuntime.jsx("span", { className: "inline-block px-1 py-0.5 rounded text-xs bg-gray-200/20 text-gray-400 italic", children: chunkY6GG2OOW_js.translationsEn["pptx.textSegment.equationFallback"] });
1221
+ ) : /* @__PURE__ */ jsxRuntime.jsx("span", { className: "inline-block px-1 py-0.5 rounded text-xs bg-gray-200/20 text-gray-400 italic", children: chunk3AJ54EAB_js.translationsEn["pptx.textSegment.equationFallback"] });
1222
1222
  if (equationNumber) {
1223
1223
  return /* @__PURE__ */ jsxRuntime.jsxs(
1224
1224
  "span",
@@ -1337,7 +1337,7 @@ function renderParagraphRun(run, segment, ctx, keySuffix = "") {
1337
1337
  const segmentStyle = segment?.style ?? {};
1338
1338
  const textValue = run.text;
1339
1339
  const lines = textValue.split("\n");
1340
- const resolvedSegmentColor = chunkLY5535CF_js.normalizeHexColor(
1340
+ const resolvedSegmentColor = chunk3WK4AE52_js.normalizeHexColor(
1341
1341
  segmentStyle.color || element.textStyle?.color,
1342
1342
  run.hyperlink ? HYPERLINK_COLOR : fallbackColor
1343
1343
  );
@@ -1345,16 +1345,16 @@ function renderParagraphRun(run, segment, ctx, keySuffix = "") {
1345
1345
  const baselineFraction = rawBaseline === 0 ? 0 : Math.abs(rawBaseline) >= 1e3 ? rawBaseline / 1e5 : rawBaseline / 100;
1346
1346
  const baselineFontScale = baselineFraction !== 0 ? BASELINE_FONT_SCALE : 1;
1347
1347
  const rawFontSize = segmentStyle.fontSize || element.textStyle?.fontSize || DEFAULT_TEXT_FONT_SIZE;
1348
- const baseFontSize = rawFontSize * chunkLY5535CF_js.resolveAutoFitFontScale(element.textStyle);
1348
+ const baseFontSize = rawFontSize * chunk3WK4AE52_js.resolveAutoFitFontScale(element.textStyle);
1349
1349
  const baselineShift = baselineFraction !== 0 ? `${baselineFraction * baseFontSize}px` : void 0;
1350
- const fontKerning = chunkLY5535CF_js.resolveFontKerning(segmentStyle.kerning, baseFontSize);
1350
+ const fontKerning = chunk3WK4AE52_js.resolveFontKerning(segmentStyle.kerning, baseFontSize);
1351
1351
  const rawFontFamily = segmentStyle.fontFamily || element.textStyle?.fontFamily;
1352
- const baseFontFamily = rawFontFamily ? chunkLY5535CF_js.getSubstituteFontFamily(
1352
+ const baseFontFamily = rawFontFamily ? chunk3WK4AE52_js.getSubstituteFontFamily(
1353
1353
  rawFontFamily,
1354
- chunkLY5535CF_js.parsePanoseString(segmentStyle.latinFontPanose ?? element.textStyle?.latinFontPanose)
1354
+ chunk3WK4AE52_js.parsePanoseString(segmentStyle.latinFontPanose ?? element.textStyle?.latinFontPanose)
1355
1355
  ) : DEFAULT_FONT_FAMILY2;
1356
- const scriptFonts = chunkLY5535CF_js.resolveScriptFontSet(segmentStyle, element.textStyle, baseFontFamily);
1357
- const needsScriptFonts = chunkLY5535CF_js.hasDistinctScriptFonts(scriptFonts);
1356
+ const scriptFonts = chunk3WK4AE52_js.resolveScriptFontSet(segmentStyle, element.textStyle, baseFontFamily);
1357
+ const needsScriptFonts = chunk3WK4AE52_js.hasDistinctScriptFonts(scriptFonts);
1358
1358
  const authoredLetterSpacing = typeof segmentStyle.characterSpacing === "number" && segmentStyle.characterSpacing !== 0 ? segmentStyle.characterSpacing / 100 * (96 / 72) : 0;
1359
1359
  const metricFont = {
1360
1360
  fontFamily: baseFontFamily,
@@ -1362,7 +1362,7 @@ function renderParagraphRun(run, segment, ctx, keySuffix = "") {
1362
1362
  bold: Boolean(segmentStyle.bold),
1363
1363
  italic: Boolean(segmentStyle.italic)
1364
1364
  };
1365
- const nestedStyle = chunkLY5535CF_js.nestedTextDecorationStyle(run.style);
1365
+ const nestedStyle = chunk3WK4AE52_js.nestedTextDecorationStyle(run.style);
1366
1366
  const metricContext = { font: metricFont, authoredPx: authoredLetterSpacing, nestedStyle };
1367
1367
  const spanStyle = { ...run.style };
1368
1368
  spanStyle.color = resolvedSegmentColor;
@@ -1370,11 +1370,11 @@ function renderParagraphRun(run, segment, ctx, keySuffix = "") {
1370
1370
  spanStyle.fontFamily = baseFontFamily;
1371
1371
  spanStyle.verticalAlign = baselineShift;
1372
1372
  spanStyle.fontKerning = fontKerning;
1373
- spanStyle.letterSpacing = chunkLY5535CF_js.pieceLetterSpacing(
1373
+ spanStyle.letterSpacing = chunk3WK4AE52_js.pieceLetterSpacing(
1374
1374
  authoredLetterSpacing,
1375
- chunkLY5535CF_js.resolveMetricTrackingPx(textValue, metricFont)
1375
+ chunk3WK4AE52_js.resolveMetricTrackingPx(textValue, metricFont)
1376
1376
  );
1377
- const hollow = chunkLY5535CF_js.hollowTextFillStyle(segmentStyle, {
1377
+ const hollow = chunk3WK4AE52_js.hollowTextFillStyle(segmentStyle, {
1378
1378
  color: resolvedSegmentColor,
1379
1379
  textStroke: typeof spanStyle.WebkitTextStroke === "string" ? spanStyle.WebkitTextStroke : void 0
1380
1380
  });
@@ -1389,7 +1389,7 @@ function renderParagraphRun(run, segment, ctx, keySuffix = "") {
1389
1389
  const isUnderlineWords = Boolean(segmentStyle.underline) && segmentStyle.underlineStyle === "words";
1390
1390
  const wordDecoration = isUnderlineWords ? nestedStyle ?? run.underlineWordPieces?.find((piece) => piece.style)?.style : void 0;
1391
1391
  if (isUnderlineWords) {
1392
- const stripped = chunkLY5535CF_js.stripUnderlineDecoration(spanStyle);
1392
+ const stripped = chunk3WK4AE52_js.stripUnderlineDecoration(spanStyle);
1393
1393
  spanStyle.textDecoration = stripped.textDecoration;
1394
1394
  delete spanStyle.textDecorationStyle;
1395
1395
  delete spanStyle.textDecorationThickness;
@@ -1405,7 +1405,7 @@ function renderParagraphRun(run, segment, ctx, keySuffix = "") {
1405
1405
  scriptFonts,
1406
1406
  baseFontFamily,
1407
1407
  findHighlights,
1408
- chunkLY5535CF_js.buildTabContext(
1408
+ chunk3WK4AE52_js.buildTabContext(
1409
1409
  element.textStyle?.tabStops,
1410
1410
  element.textStyle?.defaultTabSize,
1411
1411
  baseFontSize,
@@ -1433,7 +1433,7 @@ function renderRubyOrText(run, baseContent) {
1433
1433
  ] });
1434
1434
  }
1435
1435
  function renderTextSegments(element, fallbackColor, emptyFallback, findHighlights, onHyperlinkClick, fieldContext, subElementAnimStates, segmentOverrides, requireCtrlClick, placeholderPrompt) {
1436
- if (!chunkLY5535CF_js.hasTextProperties(element)) {
1436
+ if (!chunk3WK4AE52_js.hasTextProperties(element)) {
1437
1437
  return emptyFallback || null;
1438
1438
  }
1439
1439
  const segments = segmentOverrides ?? element.textSegments;
@@ -1443,7 +1443,7 @@ function renderTextSegments(element, fallbackColor, emptyFallback, findHighlight
1443
1443
  }
1444
1444
  return element.text || emptyFallback || "";
1445
1445
  }
1446
- const paragraphs = chunkLY5535CF_js.buildParagraphs(element, fieldContext, segmentOverrides);
1446
+ const paragraphs = chunk3WK4AE52_js.buildParagraphs(element, fieldContext, segmentOverrides);
1447
1447
  const ctx = {
1448
1448
  element,
1449
1449
  fallbackColor,
@@ -1569,13 +1569,13 @@ function renderBulletMarker(para, paraIndex, elementId) {
1569
1569
  );
1570
1570
  }
1571
1571
  function getDuotoneColors(element) {
1572
- if (!chunkLY5535CF_js.isImageLikeElement(element)) {
1572
+ if (!chunk3WK4AE52_js.isImageLikeElement(element)) {
1573
1573
  return void 0;
1574
1574
  }
1575
1575
  return element.imageEffects?.duotone;
1576
1576
  }
1577
1577
  function buildLineShadowCss(element) {
1578
- if (!chunkLY5535CF_js.hasShapeProperties(element)) {
1578
+ if (!chunk3WK4AE52_js.hasShapeProperties(element)) {
1579
1579
  return void 0;
1580
1580
  }
1581
1581
  const ss = element.shapeStyle;
@@ -1586,13 +1586,13 @@ function buildLineShadowCss(element) {
1586
1586
  const offsetY = typeof ss.lineShadowOffsetY === "number" ? ss.lineShadowOffsetY : 2;
1587
1587
  const blur = typeof ss.lineShadowBlur === "number" ? Math.max(0, ss.lineShadowBlur) : 4;
1588
1588
  const opacity = typeof ss.lineShadowOpacity === "number" ? Math.max(0, Math.min(1, ss.lineShadowOpacity)) : 0.35;
1589
- return `${Math.round(offsetX)}px ${Math.round(offsetY)}px ${Math.round(blur)}px ${chunkLY5535CF_js.colorWithOpacity(
1590
- chunkLY5535CF_js.normalizeHexColor(ss.lineShadowColor, "#000000"),
1589
+ return `${Math.round(offsetX)}px ${Math.round(offsetY)}px ${Math.round(blur)}px ${chunk3WK4AE52_js.colorWithOpacity(
1590
+ chunk3WK4AE52_js.normalizeHexColor(ss.lineShadowColor, "#000000"),
1591
1591
  opacity
1592
1592
  )}`;
1593
1593
  }
1594
1594
  function buildLineGlowFilter(element) {
1595
- if (!chunkLY5535CF_js.hasShapeProperties(element)) {
1595
+ if (!chunk3WK4AE52_js.hasShapeProperties(element)) {
1596
1596
  return void 0;
1597
1597
  }
1598
1598
  const ss = element.shapeStyle;
@@ -1601,22 +1601,22 @@ function buildLineGlowFilter(element) {
1601
1601
  }
1602
1602
  const glowOpacity = typeof ss.lineGlowOpacity === "number" ? ss.lineGlowOpacity : 0.75;
1603
1603
  const glowRad = Math.round(Math.max(0, ss.lineGlowRadius));
1604
- const glowCol = chunkLY5535CF_js.colorWithOpacity(chunkLY5535CF_js.normalizeHexColor(ss.lineGlowColor, "#ffff00"), glowOpacity);
1604
+ const glowCol = chunk3WK4AE52_js.colorWithOpacity(chunk3WK4AE52_js.normalizeHexColor(ss.lineGlowColor, "#ffff00"), glowOpacity);
1605
1605
  return `drop-shadow(0 0 ${glowRad}px ${glowCol})`;
1606
1606
  }
1607
1607
  function getDagDuotoneFilterId(elementId) {
1608
1608
  return `dag-duotone-${elementId}`;
1609
1609
  }
1610
1610
  function hasDagDuotoneEffect(element) {
1611
- if (!chunkLY5535CF_js.hasShapeProperties(element)) {
1611
+ if (!chunk3WK4AE52_js.hasShapeProperties(element)) {
1612
1612
  return false;
1613
1613
  }
1614
1614
  return Boolean(element.shapeStyle?.dagDuotone);
1615
1615
  }
1616
1616
  function renderDagDuotoneSvgFilter(elementId, color1, color2) {
1617
1617
  const filterId = getDagDuotoneFilterId(elementId);
1618
- const c1 = chunkLY5535CF_js.hexToRgbUnit(color1);
1619
- const c2 = chunkLY5535CF_js.hexToRgbUnit(color2);
1618
+ const c1 = chunk3WK4AE52_js.hexToRgbUnit(color1);
1619
+ const c2 = chunk3WK4AE52_js.hexToRgbUnit(color2);
1620
1620
  const grayscaleMatrix = [
1621
1621
  0.2126,
1622
1622
  0.7152,
@@ -1660,7 +1660,7 @@ function renderDagDuotoneSvgFilter(elementId, color1, color2) {
1660
1660
 
1661
1661
  // src/viewer/utils/shape-visual-3d.ts
1662
1662
  function build3DExtrusionData2(shape3d, scene3d, fillColor, elementWidth, elementHeight) {
1663
- return chunkLY5535CF_js.build3DExtrusionData(
1663
+ return chunk3WK4AE52_js.build3DExtrusionData(
1664
1664
  shape3d,
1665
1665
  scene3d,
1666
1666
  fillColor,
@@ -1668,8 +1668,15 @@ function build3DExtrusionData2(shape3d, scene3d, fillColor, elementWidth, elemen
1668
1668
  elementHeight
1669
1669
  );
1670
1670
  }
1671
- function apply3dEffects2(base, scene3d, shape3d, fillColorFallback, elementSize) {
1672
- chunkLY5535CF_js.apply3dEffects(base, scene3d, shape3d, fillColorFallback, elementSize);
1671
+ function apply3dEffects2(base, scene3d, shape3d, fillColorFallback, elementSize, elementId) {
1672
+ chunk3WK4AE52_js.apply3dEffects(
1673
+ base,
1674
+ scene3d,
1675
+ shape3d,
1676
+ fillColorFallback,
1677
+ elementSize,
1678
+ elementId
1679
+ );
1673
1680
  }
1674
1681
 
1675
1682
  // src/viewer/utils/shape-visual-style.ts
@@ -1677,11 +1684,11 @@ function rendersCustomVectorPath(element) {
1677
1684
  return (element.type === "shape" || element.type === "image" || element.type === "picture") && Boolean(element.pathData) && typeof element.pathWidth === "number" && element.pathWidth > 0 && typeof element.pathHeight === "number" && element.pathHeight > 0;
1678
1685
  }
1679
1686
  function rendersWedgeCalloutVector(element) {
1680
- return element.type === "shape" && chunkLY5535CF_js.isWedgeCalloutPresetShape(element.shapeType);
1687
+ return element.type === "shape" && chunk3WK4AE52_js.isWedgeCalloutPresetShape(element.shapeType);
1681
1688
  }
1682
1689
  function getShapeVisualStyle(element, _hasFill, fillColor, _strokeWidth, _strokeColor, animatesFill, animatesStroke, parentGroupFill) {
1683
1690
  if (element.type === "group") {
1684
- const fx2 = chunkLY5535CF_js.getComputedEffectStyle(element);
1691
+ const fx2 = chunk3WK4AE52_js.getComputedEffectStyle(element);
1685
1692
  const groupStyle = {};
1686
1693
  if (fx2.filter) {
1687
1694
  groupStyle.filter = fx2.filter;
@@ -1691,13 +1698,13 @@ function getShapeVisualStyle(element, _hasFill, fillColor, _strokeWidth, _stroke
1691
1698
  }
1692
1699
  return groupStyle;
1693
1700
  }
1694
- if (!chunkLY5535CF_js.hasShapeProperties(element)) {
1701
+ if (!chunk3WK4AE52_js.hasShapeProperties(element)) {
1695
1702
  return {};
1696
1703
  }
1697
1704
  const ss = element.shapeStyle;
1698
- const fill = animatesFill ? void 0 : chunkLY5535CF_js.getComputedFillStyle(element, parentGroupFill);
1699
- const fx = chunkLY5535CF_js.getComputedEffectStyle(element);
1700
- const stroke = chunkLY5535CF_js.getComputedStrokeStyle(element);
1705
+ const fill = animatesFill ? void 0 : chunk3WK4AE52_js.getComputedFillStyle(element, parentGroupFill);
1706
+ const fx = chunk3WK4AE52_js.getComputedEffectStyle(element);
1707
+ const stroke = chunk3WK4AE52_js.getComputedStrokeStyle(element);
1701
1708
  const base = {
1702
1709
  // A gradient fill REPLACES the solid fill, it does not sit on top of it;
1703
1710
  // the whole precedence lives in shared's `getComputedFillStyle`.
@@ -1736,7 +1743,7 @@ function getShapeVisualStyle(element, _hasFill, fillColor, _strokeWidth, _stroke
1736
1743
  };
1737
1744
  Object.assign(
1738
1745
  base,
1739
- chunkLY5535CF_js.getAnimationColorBaseStyle(element, {
1746
+ chunk3WK4AE52_js.getAnimationColorBaseStyle(element, {
1740
1747
  animatesFill,
1741
1748
  animatesStroke,
1742
1749
  parentGroupFill
@@ -1747,11 +1754,18 @@ function getShapeVisualStyle(element, _hasFill, fillColor, _strokeWidth, _stroke
1747
1754
  base.borderColor = void 0;
1748
1755
  base.borderStyle = void 0;
1749
1756
  }
1750
- apply3dEffects2(base, ss?.scene3d, ss?.shape3d, ss?.fillColor ?? fillColor, {
1751
- width: element.width,
1752
- height: element.height
1753
- });
1754
- if (rendersCustomVectorPath(element) || rendersWedgeCalloutVector(element) || chunkLY5535CF_js.isStrokeOnlyPresetElement(element)) {
1757
+ apply3dEffects2(
1758
+ base,
1759
+ ss?.scene3d,
1760
+ ss?.shape3d,
1761
+ ss?.fillColor ?? fillColor,
1762
+ {
1763
+ width: element.width,
1764
+ height: element.height
1765
+ },
1766
+ element.id
1767
+ );
1768
+ if (rendersCustomVectorPath(element) || rendersWedgeCalloutVector(element) || chunk3WK4AE52_js.isStrokeOnlyPresetElement(element)) {
1755
1769
  base.backgroundColor = "transparent";
1756
1770
  base.backgroundImage = void 0;
1757
1771
  base.borderWidth = void 0;
@@ -1765,7 +1779,7 @@ function getShapeVisualStyle(element, _hasFill, fillColor, _strokeWidth, _stroke
1765
1779
  if (rendersWedgeCalloutVector(element)) {
1766
1780
  return base;
1767
1781
  }
1768
- const geometry = chunkLY5535CF_js.resolveShapeGeometry(element);
1782
+ const geometry = chunk3WK4AE52_js.resolveShapeGeometry(element);
1769
1783
  switch (geometry.kind) {
1770
1784
  case "bare":
1771
1785
  return { backgroundColor: "transparent", borderWidth: 0, borderStyle: "none" };
@@ -1791,13 +1805,13 @@ function getShapeVisualStyle(element, _hasFill, fillColor, _strokeWidth, _stroke
1791
1805
  function getConnectorAdjustment(element, key, fallback) {
1792
1806
  const direct = element.shapeAdjustments?.[key];
1793
1807
  if (typeof direct === "number" && Number.isFinite(direct)) {
1794
- return chunkLY5535CF_js.clampUnitInterval(direct / 1e5);
1808
+ return chunk3WK4AE52_js.clampUnitInterval(direct / 1e5);
1795
1809
  }
1796
1810
  const fallbackKey = element.shapeAdjustments?.adj;
1797
1811
  if (typeof fallbackKey === "number" && Number.isFinite(fallbackKey)) {
1798
- return chunkLY5535CF_js.clampUnitInterval(fallbackKey / 1e5);
1812
+ return chunk3WK4AE52_js.clampUnitInterval(fallbackKey / 1e5);
1799
1813
  }
1800
- return chunkLY5535CF_js.clampUnitInterval(fallback);
1814
+ return chunk3WK4AE52_js.clampUnitInterval(fallback);
1801
1815
  }
1802
1816
  function getConnectorPathGeometry(element) {
1803
1817
  const width = Math.max(element.width, 0);
@@ -1962,11 +1976,11 @@ function strokeContext(shapeStyle, strokePaint, strokeWidth, dashArray) {
1962
1976
  strokePaint,
1963
1977
  strokeWidth,
1964
1978
  dashArray,
1965
- lineCap: chunkLY5535CF_js.svgLineCap(shapeStyle?.lineCap),
1979
+ lineCap: chunk3WK4AE52_js.svgLineCap(shapeStyle?.lineCap),
1966
1980
  lineJoin,
1967
1981
  miterLimit,
1968
- offsets: chunkLY5535CF_js.getCompoundLineOffsets(shapeStyle?.compoundLine, strokeWidth),
1969
- widths: chunkLY5535CF_js.getCompoundLineWidths(shapeStyle?.compoundLine, strokeWidth)
1982
+ offsets: chunk3WK4AE52_js.getCompoundLineOffsets(shapeStyle?.compoundLine, strokeWidth),
1983
+ widths: chunk3WK4AE52_js.getCompoundLineWidths(shapeStyle?.compoundLine, strokeWidth)
1970
1984
  };
1971
1985
  }
1972
1986
  function strokeStrands(d, keyBase, ctx) {
@@ -1989,12 +2003,12 @@ function strokeStrands(d, keyBase, ctx) {
1989
2003
  }
1990
2004
  function renderCustomGeometryVector(pathData, pathWidth, pathHeight, structuredPaths, shapeStyle, hasFill, fillColor, fillOpacity, strokePaint, strokeWidth, dashArray, animatesFill = false, gradient) {
1991
2005
  const ctx = strokeContext(shapeStyle, strokePaint, strokeWidth, dashArray);
1992
- const subpaths = structuredPaths && structuredPaths.length > 0 ? chunkLY5535CF_js.customGeometryPathsToSvgSubpaths(structuredPaths, pathWidth, pathHeight) : void 0;
2006
+ const subpaths = structuredPaths && structuredPaths.length > 0 ? chunk3WK4AE52_js.customGeometryPathsToSvgSubpaths(structuredPaths, pathWidth, pathHeight) : void 0;
1993
2007
  const needsPerSubpath = subpaths !== void 0 && subpaths.some((sp) => sp.fillMode && sp.fillMode !== "norm" || sp.stroke === false);
1994
- const gradientPaint = gradient ? chunkLY5535CF_js.svgGradientFillRef(gradient) : void 0;
2008
+ const gradientPaint = gradient ? chunk3WK4AE52_js.svgGradientFillRef(gradient) : void 0;
1995
2009
  const nodes = [];
1996
2010
  if (subpaths && needsPerSubpath) {
1997
- const paints = chunkLY5535CF_js.buildSubpathPaints(subpaths, hasFill, fillColor, fillOpacity);
2011
+ const paints = chunk3WK4AE52_js.buildSubpathPaints(subpaths, hasFill, fillColor, fillOpacity);
1998
2012
  paints.forEach((paint, idx) => {
1999
2013
  if (paint.fill !== "none") {
2000
2014
  const mode = subpaths[idx]?.fillMode;
@@ -2023,7 +2037,7 @@ function renderCustomGeometryVector(pathData, pathWidth, pathHeight, structuredP
2023
2037
  "path",
2024
2038
  {
2025
2039
  d: pathData,
2026
- fill: animatesFill ? "inherit" : gradientPaint ?? chunkLY5535CF_js.colorWithOpacity(fillColor, fillOpacity),
2040
+ fill: animatesFill ? "inherit" : gradientPaint ?? chunk3WK4AE52_js.colorWithOpacity(fillColor, fillOpacity),
2027
2041
  stroke: "none",
2028
2042
  vectorEffect: "non-scaling-stroke"
2029
2043
  },
@@ -2049,14 +2063,14 @@ function renderCustomGeometryVector(pathData, pathWidth, pathHeight, structuredP
2049
2063
  );
2050
2064
  }
2051
2065
  function renderVectorShape(element, hasFill, fillColor, strokeWidth, strokeColor, animatesFill, animatesStroke) {
2052
- if (!chunkLY5535CF_js.hasShapeProperties(element)) {
2066
+ if (!chunk3WK4AE52_js.hasShapeProperties(element)) {
2053
2067
  return null;
2054
2068
  }
2055
2069
  const normalizedType = (element.shapeType || "").toLowerCase();
2056
- const fillPaint = animatesFill ? "inherit" : chunkLY5535CF_js.colorWithOpacity(fillColor, element.shapeStyle?.fillOpacity);
2057
- const strokePaint = animatesStroke ? "inherit" : chunkLY5535CF_js.colorWithOpacity(strokeColor, element.shapeStyle?.strokeOpacity);
2058
- const dashType = chunkLY5535CF_js.normalizeStrokeDashType(element.shapeStyle?.strokeDash);
2059
- const dashArray = chunkLY5535CF_js.getSvgStrokeDasharray(
2070
+ const fillPaint = animatesFill ? "inherit" : chunk3WK4AE52_js.colorWithOpacity(fillColor, element.shapeStyle?.fillOpacity);
2071
+ const strokePaint = animatesStroke ? "inherit" : chunk3WK4AE52_js.colorWithOpacity(strokeColor, element.shapeStyle?.strokeOpacity);
2072
+ const dashType = chunk3WK4AE52_js.normalizeStrokeDashType(element.shapeStyle?.strokeDash);
2073
+ const dashArray = chunk3WK4AE52_js.getSvgStrokeDasharray(
2060
2074
  dashType,
2061
2075
  Math.max(strokeWidth, 1),
2062
2076
  element.shapeStyle?.customDashSegments
@@ -2137,13 +2151,13 @@ function renderVectorShape(element, hasFill, fillColor, strokeWidth, strokeColor
2137
2151
  // container's `background-image` is suppressed for custom geometry, so
2138
2152
  // without this the shape fell back to the parser's representative solid
2139
2153
  // and lost every fade (issue #132).
2140
- chunkLY5535CF_js.buildSvgGradientDef(element.shapeStyle, element.id)
2154
+ chunk3WK4AE52_js.buildSvgGradientDef(element.shapeStyle, element.id)
2141
2155
  );
2142
2156
  }
2143
- if ((element.type === "image" || element.type === "picture") && strokeWidth > 0 && !chunkLY5535CF_js.buildStrokeOutline(element)) {
2157
+ if ((element.type === "image" || element.type === "picture") && strokeWidth > 0 && !chunk3WK4AE52_js.buildStrokeOutline(element)) {
2144
2158
  const width = Math.max(element.width, 1);
2145
2159
  const height = Math.max(element.height, 1);
2146
- const geometry = chunkLY5535CF_js.getPresetShapeVectorGeometry(
2160
+ const geometry = chunk3WK4AE52_js.getPresetShapeVectorGeometry(
2147
2161
  element.shapeType || "rect",
2148
2162
  width,
2149
2163
  height,
@@ -2171,18 +2185,18 @@ function renderVectorShape(element, hasFill, fillColor, strokeWidth, strokeColor
2171
2185
  );
2172
2186
  }
2173
2187
  }
2174
- if (element.type === "shape" && chunkLY5535CF_js.isWedgeCalloutPresetShape(element.shapeType)) {
2188
+ if (element.type === "shape" && chunk3WK4AE52_js.isWedgeCalloutPresetShape(element.shapeType)) {
2175
2189
  const width = Math.max(element.width, 1);
2176
2190
  const height = Math.max(element.height, 1);
2177
- const geometry = chunkLY5535CF_js.getPresetShapeVectorGeometry(
2191
+ const geometry = chunk3WK4AE52_js.getPresetShapeVectorGeometry(
2178
2192
  element.shapeType,
2179
2193
  width,
2180
2194
  height,
2181
2195
  element.shapeAdjustments
2182
2196
  );
2183
2197
  if (geometry) {
2184
- const gradient = chunkLY5535CF_js.buildSvgGradientDef(element.shapeStyle, element.id);
2185
- const gradientPaint = gradient ? chunkLY5535CF_js.svgGradientFillRef(gradient) : void 0;
2198
+ const gradient = chunk3WK4AE52_js.buildSvgGradientDef(element.shapeStyle, element.id);
2199
+ const gradientPaint = gradient ? chunk3WK4AE52_js.svgGradientFillRef(gradient) : void 0;
2186
2200
  return /* @__PURE__ */ jsxRuntime.jsxs(
2187
2201
  "svg",
2188
2202
  {
@@ -2215,18 +2229,18 @@ function renderVectorShape(element, hasFill, fillColor, strokeWidth, strokeColor
2215
2229
  );
2216
2230
  }
2217
2231
  }
2218
- if (chunkLY5535CF_js.isCalloutShape(normalizedType)) {
2232
+ if (chunk3WK4AE52_js.isCalloutShape(normalizedType)) {
2219
2233
  const width = Math.max(element.width, 1);
2220
2234
  const height = Math.max(element.height, 1);
2221
- const geometry = chunkLY5535CF_js.getCalloutLeaderLineGeometry(
2235
+ const geometry = chunk3WK4AE52_js.getCalloutLeaderLineGeometry(
2222
2236
  normalizedType,
2223
2237
  width,
2224
2238
  height,
2225
2239
  element.shapeAdjustments
2226
2240
  );
2227
2241
  if (geometry && geometry.points.length >= 2) {
2228
- const leaderPath = chunkLY5535CF_js.buildCalloutLeaderLineSvgPath(geometry);
2229
- const bounds = chunkLY5535CF_js.getCalloutViewBoxBounds(width, height, geometry);
2242
+ const leaderPath = chunk3WK4AE52_js.buildCalloutLeaderLineSvgPath(geometry);
2243
+ const bounds = chunk3WK4AE52_js.getCalloutViewBoxBounds(width, height, geometry);
2230
2244
  const lineStroke = Math.max(strokeWidth, 1);
2231
2245
  const offsetLeft = bounds.minX;
2232
2246
  const offsetTop = bounds.minY;
@@ -2289,10 +2303,10 @@ function renderVectorShape(element, hasFill, fillColor, strokeWidth, strokeColor
2289
2303
  const endArrowW = element.shapeStyle?.connectorEndArrowWidth;
2290
2304
  const endArrowL = element.shapeStyle?.connectorEndArrowLength;
2291
2305
  const compoundLine = element.shapeStyle?.compoundLine;
2292
- const connectorLineCap = chunkLY5535CF_js.svgLineCap(element.shapeStyle?.lineCap);
2306
+ const connectorLineCap = chunk3WK4AE52_js.svgLineCap(element.shapeStyle?.lineCap);
2293
2307
  const hitTargetWidth = Math.max(strokeWidth * 3, 12);
2294
- const offsets = chunkLY5535CF_js.getCompoundLineOffsets(compoundLine, strokeWidth);
2295
- const widths = chunkLY5535CF_js.getCompoundLineWidths(compoundLine, strokeWidth);
2308
+ const offsets = chunk3WK4AE52_js.getCompoundLineOffsets(compoundLine, strokeWidth);
2309
+ const widths = chunk3WK4AE52_js.getCompoundLineWidths(compoundLine, strokeWidth);
2296
2310
  return /* @__PURE__ */ jsxRuntime.jsxs(
2297
2311
  "svg",
2298
2312
  {
@@ -2359,15 +2373,15 @@ function parseGradientFillCss(gradFill) {
2359
2373
  }
2360
2374
  const rawStops = stops.map((gs) => {
2361
2375
  const pos = Number.parseInt(String(gs["@_pos"] || "0"), 10) / 1e3;
2362
- const color = chunkLY5535CF_js.parseDrawingColor(gs) ?? "#888888";
2363
- const opacity = chunkLY5535CF_js.parseDrawingColorOpacity(gs);
2376
+ const color = chunk3WK4AE52_js.parseDrawingColor(gs) ?? "#888888";
2377
+ const opacity = chunk3WK4AE52_js.parseDrawingColorOpacity(gs);
2364
2378
  return { position: pos, color, opacity };
2365
2379
  }).sort((a, b) => a.position - b.position);
2366
- const stopStrings = rawStops.map((s) => `${chunkLY5535CF_js.colorWithOpacity(s.color, s.opacity)} ${s.position.toFixed(1)}%`).join(", ");
2380
+ const stopStrings = rawStops.map((s) => `${chunk3WK4AE52_js.colorWithOpacity(s.color, s.opacity)} ${s.position.toFixed(1)}%`).join(", ");
2367
2381
  const lin = gradFill["a:lin"];
2368
2382
  if (lin) {
2369
2383
  const angRaw = Number.parseInt(String(lin["@_ang"] || "0"), 10);
2370
- const angleDeg = Math.round(chunkLY5535CF_js.ooxmlGradientAngleToCssDegrees(angRaw / 6e4));
2384
+ const angleDeg = Math.round(chunk3WK4AE52_js.ooxmlGradientAngleToCssDegrees(angRaw / 6e4));
2371
2385
  return `linear-gradient(${angleDeg}deg, ${stopStrings})`;
2372
2386
  }
2373
2387
  const path = gradFill["a:path"];
@@ -2381,7 +2395,7 @@ function parseGradientFillCss(gradFill) {
2381
2395
  b: Number.parseInt(String(fillToRectXml["@_b"] || "0"), 10) / 1e5
2382
2396
  } : void 0;
2383
2397
  if (pathType === "rect") {
2384
- return chunkLY5535CF_js.buildRectPathGradient(rawStops, void 0, fillToRect);
2398
+ return chunk3WK4AE52_js.buildRectPathGradient(rawStops, void 0, fillToRect);
2385
2399
  }
2386
2400
  let cx = 50;
2387
2401
  let cy = 50;
@@ -2403,8 +2417,8 @@ function parsePatternFillCss(pattFill) {
2403
2417
  if (!pattFill) {
2404
2418
  return void 0;
2405
2419
  }
2406
- const fgColor = chunkLY5535CF_js.parseDrawingColor(pattFill["a:fgClr"]) ?? "#000000";
2407
- const bgColor = chunkLY5535CF_js.parseDrawingColor(pattFill["a:bgClr"]) ?? "#ffffff";
2420
+ const fgColor = chunk3WK4AE52_js.parseDrawingColor(pattFill["a:fgClr"]) ?? "#000000";
2421
+ const bgColor = chunk3WK4AE52_js.parseDrawingColor(pattFill["a:bgClr"]) ?? "#ffffff";
2408
2422
  const preset = String(pattFill["@_prst"] || "ltDnDiag");
2409
2423
  switch (preset) {
2410
2424
  case "ltHorz":
@@ -2515,11 +2529,11 @@ function parseCellBorders(cellProperties) {
2515
2529
  const prstDash = ln["a:prstDash"];
2516
2530
  const dashVal = prstDash ? String(prstDash["@_val"] || "") : void 0;
2517
2531
  const cssBorderStyle = ooxmlDashToCss(dashVal);
2518
- const color = chunkLY5535CF_js.parseDrawingColor(ln["a:solidFill"]);
2532
+ const color = chunk3WK4AE52_js.parseDrawingColor(ln["a:solidFill"]);
2519
2533
  if (color) {
2520
- const opacity = chunkLY5535CF_js.parseDrawingColorOpacity(ln["a:solidFill"]);
2534
+ const opacity = chunk3WK4AE52_js.parseDrawingColorOpacity(ln["a:solidFill"]);
2521
2535
  const key = `${edge.prefix}`;
2522
- borderStyle[key] = `${widthPx}px ${cssBorderStyle} ${chunkLY5535CF_js.colorWithOpacity(color, opacity)}`;
2536
+ borderStyle[key] = `${widthPx}px ${cssBorderStyle} ${chunk3WK4AE52_js.colorWithOpacity(color, opacity)}`;
2523
2537
  }
2524
2538
  }
2525
2539
  return borderStyle;
@@ -2532,7 +2546,7 @@ function parseCellTextEffects(runProps) {
2532
2546
  const textShadowParts = [];
2533
2547
  const outerShdw = effectLst["a:outerShdw"];
2534
2548
  if (outerShdw) {
2535
- const shdwColor = chunkLY5535CF_js.parseDrawingColor(outerShdw);
2549
+ const shdwColor = chunk3WK4AE52_js.parseDrawingColor(outerShdw);
2536
2550
  if (shdwColor) {
2537
2551
  const blurRad = Number.parseInt(String(outerShdw["@_blurRad"] || "0"), 10);
2538
2552
  const blurPx = blurRad > 0 ? Math.round(blurRad / 12700) : 0;
@@ -2550,7 +2564,7 @@ function parseCellTextEffects(runProps) {
2550
2564
  }
2551
2565
  const glow = effectLst["a:glow"];
2552
2566
  if (glow) {
2553
- const glowColor = chunkLY5535CF_js.parseDrawingColor(glow);
2567
+ const glowColor = chunk3WK4AE52_js.parseDrawingColor(glow);
2554
2568
  if (glowColor) {
2555
2569
  const glowRad = Number.parseInt(String(glow["@_rad"] || "0"), 10);
2556
2570
  const glowPx = glowRad > 0 ? Math.round(glowRad / 12700) : 2;
@@ -2630,10 +2644,10 @@ function extractTableCellStyle(cellXml, fallbackStyle, schemeColorOverrides) {
2630
2644
  if (runProps?.["@_u"] !== void 0) {
2631
2645
  cellStyle.textDecorationLine = runProps["@_u"] === "sng" ? "underline" : "none";
2632
2646
  }
2633
- const runColor = chunkLY5535CF_js.parseDrawingColor(runProps?.["a:solidFill"], schemeColorOverrides) || chunkLY5535CF_js.parseDrawingColor(runProps?.["a:highlight"], schemeColorOverrides);
2647
+ const runColor = chunk3WK4AE52_js.parseDrawingColor(runProps?.["a:solidFill"], schemeColorOverrides) || chunk3WK4AE52_js.parseDrawingColor(runProps?.["a:highlight"], schemeColorOverrides);
2634
2648
  if (runColor) {
2635
- const opacity = chunkLY5535CF_js.parseDrawingColorOpacity(runProps?.["a:solidFill"]);
2636
- cellStyle.color = chunkLY5535CF_js.colorWithOpacity(runColor, opacity);
2649
+ const opacity = chunk3WK4AE52_js.parseDrawingColorOpacity(runProps?.["a:solidFill"]);
2650
+ cellStyle.color = chunk3WK4AE52_js.colorWithOpacity(runColor, opacity);
2637
2651
  }
2638
2652
  const fontFamily = runProps?.["a:latin"]?.["@_typeface"] || runProps?.["a:ea"]?.["@_typeface"] || runProps?.["a:cs"]?.["@_typeface"];
2639
2653
  if (fontFamily) {
@@ -2643,15 +2657,15 @@ function extractTableCellStyle(cellXml, fallbackStyle, schemeColorOverrides) {
2643
2657
  cellStyle.textAlign = parseParagraphAlignment(paragraphProperties["@_algn"]);
2644
2658
  }
2645
2659
  const cellProperties = cellXml["a:tcPr"];
2646
- const cellFill = chunkLY5535CF_js.parseDrawingColor(
2660
+ const cellFill = chunk3WK4AE52_js.parseDrawingColor(
2647
2661
  cellProperties?.["a:solidFill"],
2648
2662
  schemeColorOverrides
2649
2663
  );
2650
2664
  if (cellFill) {
2651
- const opacity = chunkLY5535CF_js.parseDrawingColorOpacity(
2665
+ const opacity = chunk3WK4AE52_js.parseDrawingColorOpacity(
2652
2666
  cellProperties?.["a:solidFill"]
2653
2667
  );
2654
- cellStyle.backgroundColor = chunkLY5535CF_js.colorWithOpacity(cellFill, opacity);
2668
+ cellStyle.backgroundColor = chunk3WK4AE52_js.colorWithOpacity(cellFill, opacity);
2655
2669
  } else {
2656
2670
  const gradCss = parseGradientFillCss(cellProperties?.["a:gradFill"]);
2657
2671
  if (gradCss) {
@@ -2666,16 +2680,16 @@ function extractTableCellStyle(cellXml, fallbackStyle, schemeColorOverrides) {
2666
2680
  const edgeBorders = parseCellBorders(cellProperties);
2667
2681
  Object.assign(cellStyle, edgeBorders);
2668
2682
  if (!cellStyle.borderLeftColor && !cellStyle.borderRightColor && !cellStyle.borderTopColor && !cellStyle.borderBottomColor) {
2669
- const borderColor = chunkLY5535CF_js.parseDrawingColor(
2683
+ const borderColor = chunk3WK4AE52_js.parseDrawingColor(
2670
2684
  cellProperties?.["a:lnL"]?.["a:solidFill"],
2671
2685
  schemeColorOverrides
2672
- ) || chunkLY5535CF_js.parseDrawingColor(
2686
+ ) || chunk3WK4AE52_js.parseDrawingColor(
2673
2687
  cellProperties?.["a:lnR"]?.["a:solidFill"],
2674
2688
  schemeColorOverrides
2675
- ) || chunkLY5535CF_js.parseDrawingColor(
2689
+ ) || chunk3WK4AE52_js.parseDrawingColor(
2676
2690
  cellProperties?.["a:lnT"]?.["a:solidFill"],
2677
2691
  schemeColorOverrides
2678
- ) || chunkLY5535CF_js.parseDrawingColor(
2692
+ ) || chunk3WK4AE52_js.parseDrawingColor(
2679
2693
  cellProperties?.["a:lnB"]?.["a:solidFill"],
2680
2694
  schemeColorOverrides
2681
2695
  );
@@ -2747,7 +2761,7 @@ function getTableCellBandStyle2(element, rowIndex, cellIndex, rowCount, columnCo
2747
2761
  if (element.type !== "table") {
2748
2762
  return void 0;
2749
2763
  }
2750
- return chunkLY5535CF_js.getTableCellBandStyle(element.tableData, rowIndex, cellIndex, rowCount, columnCount, {
2764
+ return chunk3WK4AE52_js.getTableCellBandStyle(element.tableData, rowIndex, cellIndex, rowCount, columnCount, {
2751
2765
  tableStyleMap: styleCtx?.tableStyleMap,
2752
2766
  colorScheme: styleCtx?.theme?.colorScheme,
2753
2767
  fontScheme: styleCtx?.theme?.fontScheme
@@ -2823,7 +2837,7 @@ function renderTableCellContent(cell, fallbackText) {
2823
2837
  return /* @__PURE__ */ jsxRuntime.jsx(
2824
2838
  "span",
2825
2839
  {
2826
- style: { position: "relative", ...chunkLY5535CF_js.cellRunStyle(run) },
2840
+ style: { position: "relative", ...chunk3WK4AE52_js.cellRunStyle(run) },
2827
2841
  children: run.text
2828
2842
  },
2829
2843
  `r-${index}`
@@ -2831,7 +2845,7 @@ function renderTableCellContent(cell, fallbackText) {
2831
2845
  });
2832
2846
  }
2833
2847
  function getCellDiagonalBorders2(style, tableData, pos, styleCtx) {
2834
- return chunkLY5535CF_js.getCellDiagonalBorders(style, tableData, pos, {
2848
+ return chunk3WK4AE52_js.getCellDiagonalBorders(style, tableData, pos, {
2835
2849
  tableStyleMap: styleCtx?.tableStyleMap,
2836
2850
  colorScheme: styleCtx?.theme?.colorScheme,
2837
2851
  fontScheme: styleCtx?.theme?.fontScheme
@@ -2964,7 +2978,7 @@ function TableResizeOverlay({
2964
2978
  const containerRef = React7.useRef(null);
2965
2979
  const [rowBounds, setRowBounds] = React7.useState([]);
2966
2980
  const dragRef = React7.useRef(null);
2967
- const colBoundaries = React7.useMemo(() => chunkLY5535CF_js.computeColumnBoundaries(columnWidths), [columnWidths]);
2981
+ const colBoundaries = React7.useMemo(() => chunk3WK4AE52_js.computeColumnBoundaries(columnWidths), [columnWidths]);
2968
2982
  const measureRows = React7.useCallback(() => {
2969
2983
  const container = containerRef.current;
2970
2984
  if (!container) {
@@ -3011,11 +3025,11 @@ function TableResizeOverlay({
3011
3025
  const rect = containerRef.current.getBoundingClientRect();
3012
3026
  if (drag.type === "col" && drag.initialWidths && onResizeColumns) {
3013
3027
  const deltaProp = (e.clientX - drag.startPos) / rect.width;
3014
- onResizeColumns(chunkLY5535CF_js.computeResizedColumnWidths(drag.initialWidths, drag.index, deltaProp));
3028
+ onResizeColumns(chunk3WK4AE52_js.computeResizedColumnWidths(drag.initialWidths, drag.index, deltaProp));
3015
3029
  } else if (drag.type === "row" && onResizeRow) {
3016
3030
  const deltaY = e.clientY - drag.startPos;
3017
- const newHeight = chunkLY5535CF_js.computeResizedRowHeight(
3018
- drag.initialRowHeight ?? chunkLY5535CF_js.DEFAULT_ROW_HEIGHT,
3031
+ const newHeight = chunk3WK4AE52_js.computeResizedRowHeight(
3032
+ drag.initialRowHeight ?? chunk3WK4AE52_js.DEFAULT_ROW_HEIGHT,
3019
3033
  deltaY
3020
3034
  );
3021
3035
  onResizeRow(drag.index, newHeight);
@@ -3053,7 +3067,7 @@ function TableResizeOverlay({
3053
3067
  e.stopPropagation();
3054
3068
  const table = containerRef.current?.querySelector("table");
3055
3069
  const tr = table?.querySelectorAll("tbody > tr")[index];
3056
- const actualHeight = tr?.offsetHeight ?? chunkLY5535CF_js.DEFAULT_ROW_HEIGHT;
3070
+ const actualHeight = tr?.offsetHeight ?? chunk3WK4AE52_js.DEFAULT_ROW_HEIGHT;
3057
3071
  document.body.style.cursor = "row-resize";
3058
3072
  document.body.style.userSelect = "none";
3059
3073
  dragRef.current = {
@@ -3093,14 +3107,14 @@ function renderTableFromTableData(element, textStyle, options) {
3093
3107
  const rowCount = tableData.rows.length;
3094
3108
  const columnCount = tableData.columnWidths.length;
3095
3109
  const selectedCell = options?.selectedCell || null;
3096
- const isEditable = Boolean(options?.editable) && chunkLY5535CF_js.canDrillDown(element);
3110
+ const isEditable = Boolean(options?.editable) && chunk3WK4AE52_js.canDrillDown(element);
3097
3111
  const hasCellSelectionHandler = typeof options?.onSelectCell === "function";
3098
3112
  const sharedCtx = {
3099
3113
  tableStyleMap: options?.styleCtx?.tableStyleMap,
3100
3114
  colorScheme: options?.styleCtx?.theme?.colorScheme,
3101
3115
  fontScheme: options?.styleCtx?.theme?.fontScheme
3102
3116
  };
3103
- const cellCss = (cell, rowIndex, cellIndex) => chunkLY5535CF_js.tableCellCss(
3117
+ const cellCss = (cell, rowIndex, cellIndex) => chunk3WK4AE52_js.tableCellCss(
3104
3118
  tableData,
3105
3119
  cell,
3106
3120
  { rowIndex, cellIndex, rowCount, columnCount },
@@ -3113,7 +3127,7 @@ function renderTableFromTableData(element, textStyle, options) {
3113
3127
  }
3114
3128
  const first = selectedCell.selectedCells[0];
3115
3129
  const last = selectedCell.selectedCells[selectedCell.selectedCells.length - 1];
3116
- return chunkLY5535CF_js.computeSelectionRect(first.row, first.col, last.row, last.col, tableData);
3130
+ return chunk3WK4AE52_js.computeSelectionRect(first.row, first.col, last.row, last.col, tableData);
3117
3131
  })();
3118
3132
  return /* @__PURE__ */ jsxRuntime.jsx(
3119
3133
  TableResizeOverlay,
@@ -3134,9 +3148,9 @@ function renderTableFromTableData(element, textStyle, options) {
3134
3148
  {
3135
3149
  className: "w-full h-full border-collapse table-fixed",
3136
3150
  style: {
3137
- fontFamily: chunkLY5535CF_js.DEFAULT_FONT_FAMILY,
3151
+ fontFamily: chunk3WK4AE52_js.DEFAULT_FONT_FAMILY,
3138
3152
  // `a:tblPr@rtl` mirrors the column order for RTL decks.
3139
- ...chunkLY5535CF_js.tableContainerCss(tableData)
3153
+ ...chunk3WK4AE52_js.tableContainerCss(tableData)
3140
3154
  },
3141
3155
  children: [
3142
3156
  tableData.columnWidths.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("colgroup", { children: tableData.columnWidths.map((w, ci) => /* @__PURE__ */ jsxRuntime.jsx(
@@ -3155,7 +3169,7 @@ function renderTableFromTableData(element, textStyle, options) {
3155
3169
  return null;
3156
3170
  }
3157
3171
  const isCellSelected = selectedCell?.rowIndex === rowIndex && selectedCell?.columnIndex === cellIndex;
3158
- const isInMultiSelection = chunkLY5535CF_js.isCellInRect(rowIndex, cellIndex, selectionRect);
3172
+ const isInMultiSelection = chunk3WK4AE52_js.isCellInRect(rowIndex, cellIndex, selectionRect);
3159
3173
  const isCellEditing = isCellSelected && selectedCell?.isEditing;
3160
3174
  const diag = getCellDiagonalBorders2(
3161
3175
  cell.style,
@@ -3184,7 +3198,7 @@ function renderTableFromTableData(element, textStyle, options) {
3184
3198
  }
3185
3199
  event.stopPropagation();
3186
3200
  if (event.shiftKey && selectedCell) {
3187
- const rect = chunkLY5535CF_js.computeSelectionRect(
3201
+ const rect = chunk3WK4AE52_js.computeSelectionRect(
3188
3202
  selectedCell.rowIndex,
3189
3203
  selectedCell.columnIndex,
3190
3204
  rowIndex,
@@ -3194,7 +3208,7 @@ function renderTableFromTableData(element, textStyle, options) {
3194
3208
  options?.onSelectCell?.({
3195
3209
  rowIndex: selectedCell.rowIndex,
3196
3210
  columnIndex: selectedCell.columnIndex,
3197
- selectedCells: chunkLY5535CF_js.rectToCells(rect)
3211
+ selectedCells: chunk3WK4AE52_js.rectToCells(rect)
3198
3212
  });
3199
3213
  } else {
3200
3214
  options?.onSelectCell?.({
@@ -3255,10 +3269,10 @@ function renderTableElement(element, textStyle, options) {
3255
3269
  if (tableEl2.tableData && tableEl2.tableData.rows.length > 0) {
3256
3270
  return renderTableFromTableData(tableEl2, textStyle, options);
3257
3271
  }
3258
- return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full h-full flex items-center justify-center text-[11px] text-white/80 pointer-events-none", children: chunkY6GG2OOW_js.translationsEn["pptx.table.title"] });
3272
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full h-full flex items-center justify-center text-[11px] text-white/80 pointer-events-none", children: chunk3AJ54EAB_js.translationsEn["pptx.table.title"] });
3259
3273
  }
3260
3274
  const selectedCell = options?.selectedCell || null;
3261
- const isEditable = Boolean(options?.editable) && chunkLY5535CF_js.canDrillDown(element);
3275
+ const isEditable = Boolean(options?.editable) && chunk3WK4AE52_js.canDrillDown(element);
3262
3276
  const hasCellSelectionHandler = typeof options?.onSelectCell === "function";
3263
3277
  const tableEl = element;
3264
3278
  const xmlSelectionRect = (() => {
@@ -3270,7 +3284,7 @@ function renderTableElement(element, textStyle, options) {
3270
3284
  }
3271
3285
  const first = selectedCell.selectedCells[0];
3272
3286
  const last = selectedCell.selectedCells[selectedCell.selectedCells.length - 1];
3273
- return chunkLY5535CF_js.computeSelectionRect(first.row, first.col, last.row, last.col, tableEl.tableData);
3287
+ return chunk3WK4AE52_js.computeSelectionRect(first.row, first.col, last.row, last.col, tableEl.tableData);
3274
3288
  })();
3275
3289
  const schemeOverrides = options?.styleCtx?.theme?.colorScheme ? options.styleCtx.theme.colorScheme : void 0;
3276
3290
  return /* @__PURE__ */ jsxRuntime.jsx(
@@ -3292,9 +3306,9 @@ function renderTableElement(element, textStyle, options) {
3292
3306
  {
3293
3307
  className: "w-full h-full border-collapse table-fixed",
3294
3308
  style: {
3295
- fontFamily: chunkLY5535CF_js.DEFAULT_FONT_FAMILY,
3309
+ fontFamily: chunk3WK4AE52_js.DEFAULT_FONT_FAMILY,
3296
3310
  // `a:tblPr@rtl` mirrors the column order for RTL decks.
3297
- ...chunkLY5535CF_js.tableContainerCss(tableEl.tableData)
3311
+ ...chunk3WK4AE52_js.tableContainerCss(tableEl.tableData)
3298
3312
  },
3299
3313
  children: [
3300
3314
  parsedTable.columnPercentages.length > 0 ? /* @__PURE__ */ jsxRuntime.jsx("colgroup", { children: parsedTable.columnPercentages.map((percentage, columnIndex) => /* @__PURE__ */ jsxRuntime.jsx(
@@ -3351,7 +3365,7 @@ function renderTableElement(element, textStyle, options) {
3351
3365
  color: textStyle.color,
3352
3366
  ...bandStyle,
3353
3367
  ...xmlCellStyle,
3354
- ...tdCellOverride ? chunkLY5535CF_js.cellStyleToCss(tdCellOverride) : void 0,
3368
+ ...tdCellOverride ? chunk3WK4AE52_js.cellStyleToCss(tdCellOverride) : void 0,
3355
3369
  ...diag ? { position: "relative" } : void 0
3356
3370
  };
3357
3371
  return /* @__PURE__ */ jsxRuntime.jsxs(
@@ -3361,7 +3375,7 @@ function renderTableElement(element, textStyle, options) {
3361
3375
  "border px-1 py-0.5 align-top",
3362
3376
  isEditable && hasCellSelectionHandler ? "border-blue-200/70 cursor-cell" : "border-white/30",
3363
3377
  selectedCell?.rowIndex === rowIndex && selectedCell?.columnIndex === cellIndex ? "ring-1 ring-inset ring-blue-500" : null,
3364
- chunkLY5535CF_js.isCellInRect(rowIndex, cellIndex, xmlSelectionRect) && !(selectedCell?.rowIndex === rowIndex && selectedCell?.columnIndex === cellIndex) ? "bg-blue-500/15 ring-1 ring-inset ring-blue-400/50" : null
3378
+ chunk3WK4AE52_js.isCellInRect(rowIndex, cellIndex, xmlSelectionRect) && !(selectedCell?.rowIndex === rowIndex && selectedCell?.columnIndex === cellIndex) ? "bg-blue-500/15 ring-1 ring-inset ring-blue-400/50" : null
3365
3379
  ),
3366
3380
  colSpan,
3367
3381
  rowSpan: rSpan,
@@ -3372,7 +3386,7 @@ function renderTableElement(element, textStyle, options) {
3372
3386
  }
3373
3387
  event.stopPropagation();
3374
3388
  if (event.shiftKey && selectedCell && tableEl.tableData) {
3375
- const rect = chunkLY5535CF_js.computeSelectionRect(
3389
+ const rect = chunk3WK4AE52_js.computeSelectionRect(
3376
3390
  selectedCell.rowIndex,
3377
3391
  selectedCell.columnIndex,
3378
3392
  rowIndex,
@@ -3382,7 +3396,7 @@ function renderTableElement(element, textStyle, options) {
3382
3396
  options?.onSelectCell?.({
3383
3397
  rowIndex: selectedCell.rowIndex,
3384
3398
  columnIndex: selectedCell.columnIndex,
3385
- selectedCells: chunkLY5535CF_js.rectToCells(rect)
3399
+ selectedCells: chunk3WK4AE52_js.rectToCells(rect)
3386
3400
  });
3387
3401
  } else {
3388
3402
  options?.onSelectCell?.({
@@ -3441,23 +3455,23 @@ function renderTableElement(element, textStyle, options) {
3441
3455
  );
3442
3456
  }
3443
3457
  function partAttrs(part) {
3444
- return part ? chunkLY5535CF_js.chartPartToAttrs(part) : void 0;
3458
+ return part ? chunk3WK4AE52_js.chartPartToAttrs(part) : void 0;
3445
3459
  }
3446
3460
  function resolveReactPalette(chartData) {
3447
3461
  if (chartData.colorPalette && chartData.colorPalette.length > 0) {
3448
3462
  return chartData.colorPalette;
3449
3463
  }
3450
- return [...chunkLY5535CF_js.getChartStylePalette(chartData.style?.styleId)];
3464
+ return [...chunk3WK4AE52_js.getChartStylePalette(chartData.style?.styleId)];
3451
3465
  }
3452
3466
  function buildReactChartViewModel(element) {
3453
3467
  if (element.type !== "chart" || !element.chartData) {
3454
- return chunkLY5535CF_js.buildChartViewModel(element);
3468
+ return chunk3WK4AE52_js.buildChartViewModel(element);
3455
3469
  }
3456
3470
  const palette = resolveReactPalette(element.chartData), themedElement = {
3457
3471
  ...element,
3458
3472
  chartData: { ...element.chartData, colorPalette: palette }
3459
3473
  };
3460
- return chunkLY5535CF_js.buildChartViewModel(themedElement);
3474
+ return chunk3WK4AE52_js.buildChartViewModel(themedElement);
3461
3475
  }
3462
3476
  function renderPrimitive(prim, key) {
3463
3477
  switch (prim.kind) {
@@ -3608,7 +3622,7 @@ function renderText(t, key) {
3608
3622
  );
3609
3623
  }
3610
3624
  function renderChartViewModel(elementId, vm, preserveAspectRatio = "none") {
3611
- const legendItems = chunkLY5535CF_js.computeChartLegendLayout(vm);
3625
+ const legendItems = chunk3WK4AE52_js.computeChartLegendLayout(vm);
3612
3626
  return /* @__PURE__ */ jsxRuntime.jsxs(
3613
3627
  "svg",
3614
3628
  {
@@ -3746,17 +3760,17 @@ function renderChartViewModel(elementId, vm, preserveAspectRatio = "none") {
3746
3760
  }
3747
3761
  function renderChartElement(element) {
3748
3762
  if (element.type !== "chart") {
3749
- return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full h-full flex items-center justify-center text-[11px] text-white/80 pointer-events-none", children: chunkY6GG2OOW_js.translationsEn["pptx.chart.heading"] });
3763
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full h-full flex items-center justify-center text-[11px] text-white/80 pointer-events-none", children: chunk3AJ54EAB_js.translationsEn["pptx.chart.heading"] });
3750
3764
  }
3751
3765
  const chartData = element.chartData;
3752
3766
  if (!chartData || chartData.series.length === 0) {
3753
- return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full h-full flex items-center justify-center text-[11px] text-white/80 pointer-events-none", children: chunkY6GG2OOW_js.translationsEn["pptx.chart.heading"] });
3767
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full h-full flex items-center justify-center text-[11px] text-white/80 pointer-events-none", children: chunk3AJ54EAB_js.translationsEn["pptx.chart.heading"] });
3754
3768
  }
3755
- const kind = chunkLY5535CF_js.resolveChartKind(chartData.chartType ?? "bar");
3769
+ const kind = chunk3WK4AE52_js.resolveChartKind(chartData.chartType ?? "bar");
3756
3770
  return renderChartViewModel(
3757
3771
  element.id,
3758
3772
  buildReactChartViewModel(element),
3759
- chunkLY5535CF_js.chartPreserveAspectRatio(kind)
3773
+ chunk3WK4AE52_js.chartPreserveAspectRatio(kind)
3760
3774
  );
3761
3775
  }
3762
3776
 
@@ -3776,14 +3790,14 @@ function buildNotesPdf(pages) {
3776
3790
  notes: page.notes,
3777
3791
  slideNumber: page.slideNumber
3778
3792
  }));
3779
- const bytes = chunkLY5535CF_js.buildNotesPdfBytes(images, meta);
3793
+ const bytes = chunk3WK4AE52_js.buildNotesPdfBytes(images, meta);
3780
3794
  const blob = new Blob([bytes], { type: "application/pdf" });
3781
3795
  return URL.createObjectURL(blob);
3782
3796
  }
3783
3797
 
3784
3798
  // src/viewer/utils/pdf-builder-slides.ts
3785
3799
  function buildPdfFromImageData(images) {
3786
- const bytes = chunkLY5535CF_js.buildSlidesPdfBytes(images);
3800
+ const bytes = chunk3WK4AE52_js.buildSlidesPdfBytes(images);
3787
3801
  const blob = new Blob([bytes], { type: "application/pdf" });
3788
3802
  return URL.createObjectURL(blob);
3789
3803
  }
@@ -3792,7 +3806,7 @@ function buildPdfFromImageData(images) {
3792
3806
  var activePreview = null;
3793
3807
  function startPreviewAnimation(elementId, preset, options) {
3794
3808
  stopPreviewAnimation();
3795
- const descriptor = chunkLY5535CF_js.buildPreviewAnimation(preset, options);
3809
+ const descriptor = chunk3WK4AE52_js.buildPreviewAnimation(preset, options);
3796
3810
  if (!descriptor) {
3797
3811
  return;
3798
3812
  }
@@ -3805,7 +3819,7 @@ function startMotionPathPreview(elementId, path, options) {
3805
3819
  return;
3806
3820
  }
3807
3821
  const stage = domEl.offsetParent;
3808
- const descriptor = chunkLY5535CF_js.buildMotionPathPreview({
3822
+ const descriptor = chunk3WK4AE52_js.buildMotionPathPreview({
3809
3823
  path,
3810
3824
  slideWidth: stage?.offsetWidth || DEFAULT_PREVIEW_SLIDE_WIDTH,
3811
3825
  slideHeight: stage?.offsetHeight || DEFAULT_PREVIEW_SLIDE_HEIGHT,