ooxml-core 1.10.0 → 1.11.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 (162) hide show
  1. package/dist/PptxHandler-DNZHAHUY.cjs +12 -0
  2. package/dist/PptxHandler-E44KDHMQ.mjs +3 -0
  3. package/dist/{PptxHandler-ADEFY476.mjs → PptxHandler-NROFYT2N.mjs} +2 -2
  4. package/dist/automation/index.cjs +3293 -2867
  5. package/dist/automation/index.mjs +3293 -2867
  6. package/dist/{chunk-3N6XMMTT.cjs → chunk-2UVH6RHI.cjs} +1138 -996
  7. package/dist/{chunk-ZOUGMAZG.mjs → chunk-7DSZI7S6.mjs} +1 -1
  8. package/dist/{chunk-S6DOCMQC.cjs → chunk-7QZGRB3T.cjs} +0 -10
  9. package/dist/chunk-ANZ4Q6I3.cjs +21 -0
  10. package/dist/{chunk-5NVJN4E6.mjs → chunk-EC2W2MDY.mjs} +1 -1
  11. package/dist/chunk-EGTRL3QJ.mjs +19 -0
  12. package/dist/chunk-GXHKNSZX.mjs +9 -0
  13. package/dist/{chunk-CCHYFCPD.mjs → chunk-HCXUI5UC.mjs} +296 -103
  14. package/dist/chunk-HDQXPSHY.cjs +17 -0
  15. package/dist/chunk-KTYBFGEY.mjs +14 -0
  16. package/dist/chunk-QOO36KG4.cjs +42 -0
  17. package/dist/chunk-R2KZXD6U.mjs +39 -0
  18. package/dist/{chunk-A6P7G3UK.mjs → chunk-U2DF3EGK.mjs} +1 -1
  19. package/dist/{chunk-R6KSBNKX.mjs → chunk-UAY26XOI.mjs} +1 -9
  20. package/dist/{chunk-WUE5ZHU3.mjs → chunk-W5ARCUJB.mjs} +3 -3
  21. package/dist/chunk-XZPZHXV4.cjs +12 -0
  22. package/dist/{chunk-ZE53K7DH.mjs → chunk-YB5SRNFS.mjs} +244 -102
  23. package/dist/docx/layout/flow-table.d.ts.map +1 -1
  24. package/dist/docx/layout/index.cjs +125 -56
  25. package/dist/docx/layout/index.mjs +125 -56
  26. package/dist/docx/layout/nested-fragment-edges.d.ts +9 -0
  27. package/dist/docx/layout/nested-fragment-edges.d.ts.map +1 -0
  28. package/dist/docx/layout/result.d.ts +7 -0
  29. package/dist/docx/layout/result.d.ts.map +1 -1
  30. package/dist/docx/layout/table-border-layout.d.ts +1 -1
  31. package/dist/docx/layout/table-border-layout.d.ts.map +1 -1
  32. package/dist/docx/layout/table-cell-layout.d.ts +1 -1
  33. package/dist/docx/layout/table-cell-layout.d.ts.map +1 -1
  34. package/dist/docx/layout/table-frames.d.ts.map +1 -1
  35. package/dist/docx/layout/table-layout.d.ts +1 -1
  36. package/dist/docx/layout/table-layout.d.ts.map +1 -1
  37. package/dist/pptx/automation/index.cjs +266 -114
  38. package/dist/pptx/automation/index.d.ts +5 -4
  39. package/dist/pptx/automation/index.d.ts.map +1 -1
  40. package/dist/pptx/automation/index.mjs +5 -5
  41. package/dist/pptx/chunks/{text-operations-BqHmLaLA.d.ts → elements-DD3UGOMd.d.ts} +17 -3262
  42. package/dist/pptx/chunks/elements-DD3UGOMd.d.ts.map +1 -0
  43. package/dist/pptx/chunks/{index-DUCGeZh7.d.ts → index-BZrFyNtU.d.ts} +53 -5
  44. package/dist/pptx/chunks/index-BZrFyNtU.d.ts.map +1 -0
  45. package/dist/pptx/chunks/{index-Cuxtr76Y.d.ts → index-DdX02BSm.d.ts} +5 -3
  46. package/dist/pptx/chunks/index-DdX02BSm.d.ts.map +1 -0
  47. package/dist/pptx/chunks/smart-art-ENMMEbmW.d.ts +1512 -0
  48. package/dist/pptx/chunks/smart-art-ENMMEbmW.d.ts.map +1 -0
  49. package/dist/pptx/chunks/text-D49FKllA.d.ts +1473 -0
  50. package/dist/pptx/chunks/text-D49FKllA.d.ts.map +1 -0
  51. package/dist/pptx/chunks/text-operations-CyMTMfID.d.ts +3261 -0
  52. package/dist/pptx/chunks/text-operations-CyMTMfID.d.ts.map +1 -0
  53. package/dist/pptx/cli/index.cjs +266 -114
  54. package/dist/pptx/cli/index.d.ts +1 -1
  55. package/dist/pptx/cli/index.mjs +4 -4
  56. package/dist/pptx/converter/index.d.ts +1 -1
  57. package/dist/pptx/converter/index.mjs +2 -2
  58. package/dist/pptx/editor/render/find-replace.cjs +17 -16
  59. package/dist/pptx/editor/render/find-replace.d.ts +2 -2
  60. package/dist/pptx/editor/render/find-replace.mjs +2 -1
  61. package/dist/pptx/editor/render/font-family-update.cjs +14 -0
  62. package/dist/pptx/editor/render/font-family-update.d.ts +17 -0
  63. package/dist/pptx/editor/render/font-family-update.d.ts.map +1 -0
  64. package/dist/pptx/editor/render/font-family-update.mjs +1 -0
  65. package/dist/pptx/editor/render/paragraph-geometry-overrides.cjs +14 -0
  66. package/dist/pptx/editor/render/paragraph-geometry-overrides.d.ts +17 -0
  67. package/dist/pptx/editor/render/paragraph-geometry-overrides.d.ts.map +1 -0
  68. package/dist/pptx/editor/render/paragraph-geometry-overrides.mjs +12 -0
  69. package/dist/pptx/editor/render/slide-operations.cjs +9 -8
  70. package/dist/pptx/editor/render/slide-operations.mjs +3 -2
  71. package/dist/pptx/editor/render/table-data-grid-ops.cjs +1 -1
  72. package/dist/pptx/editor/render/table-data-grid-ops.mjs +1 -1
  73. package/dist/pptx/editor/render/text-content-style.cjs +18 -0
  74. package/dist/pptx/editor/render/text-content-style.d.ts +9 -0
  75. package/dist/pptx/editor/render/text-content-style.d.ts.map +1 -0
  76. package/dist/pptx/editor/render/text-content-style.mjs +5 -0
  77. package/dist/pptx/editor/render/text-runs-style-patch.cjs +17 -0
  78. package/dist/pptx/editor/render/text-runs-style-patch.d.ts +7 -0
  79. package/dist/pptx/editor/render/text-runs-style-patch.d.ts.map +1 -0
  80. package/dist/pptx/editor/render/text-runs-style-patch.mjs +15 -0
  81. package/dist/pptx/editor/render/text-style-scope.cjs +173 -0
  82. package/dist/pptx/editor/render/text-style-scope.d.ts +76 -0
  83. package/dist/pptx/editor/render/text-style-scope.d.ts.map +1 -0
  84. package/dist/pptx/editor/render/text-style-scope.mjs +164 -0
  85. package/dist/pptx/editor/render/theme-editor-model.cjs +1 -1
  86. package/dist/pptx/editor/render/theme-editor-model.mjs +1 -1
  87. package/dist/pptx/editor/render/update-text-segment-style.cjs +11 -0
  88. package/dist/pptx/editor/render/update-text-segment-style.d.ts +14 -0
  89. package/dist/pptx/editor/render/update-text-segment-style.d.ts.map +1 -0
  90. package/dist/pptx/editor/render/update-text-segment-style.mjs +2 -0
  91. package/dist/pptx/index.cjs +329 -114
  92. package/dist/pptx/index.d.ts +7 -5
  93. package/dist/pptx/index.mjs +5 -5
  94. package/dist/pptx/smartart-layouts/index.d.ts +1 -1
  95. package/dist/teams/index.cjs +112 -16
  96. package/dist/teams/index.mjs +112 -16
  97. package/dist/visio/edit-commands.d.ts +3 -3
  98. package/dist/visio/edit-commands.d.ts.map +1 -1
  99. package/dist/visio/edit-formatting-scope.d.ts.map +1 -1
  100. package/dist/visio/edit-recalculate-index.d.ts.map +1 -1
  101. package/dist/visio/edit-text-field-commands.d.ts +15 -0
  102. package/dist/visio/edit-text-field-commands.d.ts.map +1 -1
  103. package/dist/visio/edit-text-field.d.ts +2 -2
  104. package/dist/visio/edit-text-field.d.ts.map +1 -1
  105. package/dist/visio/edit.d.ts +1 -1
  106. package/dist/visio/edit.d.ts.map +1 -1
  107. package/dist/visio/index.cjs +382 -210
  108. package/dist/visio/index.d.ts +1 -1
  109. package/dist/visio/index.d.ts.map +1 -1
  110. package/dist/visio/index.mjs +382 -210
  111. package/dist/visio/model.d.ts +6 -0
  112. package/dist/visio/model.d.ts.map +1 -1
  113. package/dist/visio/shapes.d.ts.map +1 -1
  114. package/dist/visio/style.d.ts +1 -1
  115. package/dist/visio/style.d.ts.map +1 -1
  116. package/dist/visio/text-field-display.d.ts +3 -0
  117. package/dist/visio/text-field-display.d.ts.map +1 -1
  118. package/dist/visio/text-field-editability.d.ts +6 -0
  119. package/dist/visio/text-field-editability.d.ts.map +1 -0
  120. package/dist/visio/text-field-independent.d.ts +4 -0
  121. package/dist/visio/text-field-independent.d.ts.map +1 -0
  122. package/dist/visio/text-field-source.d.ts +6 -0
  123. package/dist/visio/text-field-source.d.ts.map +1 -0
  124. package/dist/visio/ui/edit-commands.d.ts.map +1 -1
  125. package/dist/visio/ui/index.cjs +394 -211
  126. package/dist/visio/ui/index.mjs +394 -211
  127. package/dist/visio/ui/snapshot-scene.d.ts.map +1 -1
  128. package/dist/xlsx/edit/pivots.d.ts.map +1 -1
  129. package/dist/xlsx/index.cjs +773 -514
  130. package/dist/xlsx/index.mjs +772 -515
  131. package/dist/xlsx/load/index.cjs +541 -292
  132. package/dist/xlsx/load/index.mjs +541 -292
  133. package/dist/xlsx/model-pivots.d.ts +8 -0
  134. package/dist/xlsx/model-pivots.d.ts.map +1 -1
  135. package/dist/xlsx/pivot/admission.d.ts.map +1 -1
  136. package/dist/xlsx/pivot/aggregate.d.ts.map +1 -1
  137. package/dist/xlsx/pivot/data.d.ts +2 -2
  138. package/dist/xlsx/pivot/data.d.ts.map +1 -1
  139. package/dist/xlsx/pivot/index.d.ts +2 -0
  140. package/dist/xlsx/pivot/index.d.ts.map +1 -1
  141. package/dist/xlsx/pivot/measures.d.ts +1 -1
  142. package/dist/xlsx/pivot/measures.d.ts.map +1 -1
  143. package/dist/xlsx/pivot/page-filter-admission.d.ts +5 -0
  144. package/dist/xlsx/pivot/page-filter-admission.d.ts.map +1 -0
  145. package/dist/xlsx/pivot/page-filter.d.ts +11 -0
  146. package/dist/xlsx/pivot/page-filter.d.ts.map +1 -0
  147. package/dist/xlsx/pivot/read.d.ts.map +1 -1
  148. package/dist/xlsx/pivot/table-xml.d.ts.map +1 -1
  149. package/dist/xlsx/pivot/values-axis.d.ts +4 -1
  150. package/dist/xlsx/pivot/values-axis.d.ts.map +1 -1
  151. package/dist/xlsx/ui/commands/i18n/navigation.d.ts.map +1 -1
  152. package/dist/xlsx/ui/commands/i18n/pivots.d.ts.map +1 -1
  153. package/dist/xlsx/ui/index.cjs +95 -12
  154. package/dist/xlsx/ui/index.mjs +95 -12
  155. package/package.json +2 -2
  156. package/dist/PptxHandler-5UURGJEV.mjs +0 -2
  157. package/dist/PptxHandler-U5XB2HUE.cjs +0 -11
  158. package/dist/pptx/chunks/index-Cuxtr76Y.d.ts.map +0 -1
  159. package/dist/pptx/chunks/index-DUCGeZh7.d.ts.map +0 -1
  160. package/dist/pptx/chunks/smart-art-D-sXa_Nb.d.ts +0 -2980
  161. package/dist/pptx/chunks/smart-art-D-sXa_Nb.d.ts.map +0 -1
  162. package/dist/pptx/chunks/text-operations-BqHmLaLA.d.ts.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"text-operations-CyMTMfID.d.ts","names":["_$__three_d0.Pptx3DScene","_$__three_d0.Pptx3DShape","_$__masters0.PptxHeaderFooterFlags"],"sources":["../../../pptx/core/types/transition.ts","../../../pptx/core/types/animation-behavior.ts","../../../pptx/core/types/animation.ts","../../../pptx/core/types/comment-mentions.ts","../../../pptx/core/types/metadata.ts","../../../pptx/core/types/theme.ts","../../../pptx/core/types/masters.ts","../../../pptx/core/types/embedded-font.ts","../../../pptx/core/types/presentation-print-properties.ts","../../../pptx/core/types/view-properties.ts","../../../pptx/core/types/presentation.ts","../../../pptx/core/builders/sdk/merge-operations.ts","../../../pptx/core/builders/sdk/text-operations.ts"],"mappings":";;;;;;;;;;;;;;;KA0BY;;KA8DA;;KAGA,2BAA2B;;KAG3B;;KAGA;;KAGA;;KAGA;;;;;;;;;;;;;;;;;;;;;;cAuBC,6BAA6B,SACzC,QAAQ,OAAO;;;;;cAiDH,4BAA4B,SACxC,QAAQ,OAAO;;;;;;;;;;;cAgBH,0BAA0B,YAAY;;;;;;;;;;;;;;;;;;;;;;KAwBvC;UAEK;EAChB,MAAM;;EAEN,QAAQ;EACR;EACA;EACA;EACA;;EAEA;;EAEA;;;;;;;EAOA;;EAEA,SAAS;;;;;;;EAOT,cAAc;;EAEd;;EAEA;;EAEA;;EAEA;;;EAGA;;;;;;;;;;EAUA;;;;;EAKA;;E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,gBAAgB;;EAEhB,QAAQ;;EAER,eAAe;;EAEf,gBAAgB;;;;;;;EAOhB;;EAEA;;EAEA,gBAAgB;;EAEhB,mBAAmB;;;;;;;;;;;;;;;EAenB;;;;;EAKA;;;;;;;;EAQA,mBAAmB;;EAEnB;;EAEA,cAAc;;EAEd,gBAAgB;;EAEhB,eAAe;;EAEf,OAAO;;EAEP,mBAAmB;;EAEnB,iBAAiB;;EAEjB,gBAAgB;;EAEhB;;EAEA;;EAEA;;EAEA,qBAAqB;;EAErB,iBAAiB;;EAEjB,iBAAiB;;EAEjB,aAAa;;;;;;;;EAQb,YAAY;;EAEZ,UAAU;;EAEV,iBAAiB;;EAEjB,eAAe;;EAEf,gBAAgB;;EAEhB,iBAAiB;;EAEjB,uBAAuB;;;;;;;;;EASvB;;;;;;;KAYW;;;;;;;;;;;;;;UAeK;;EAEhB,QAAQ;;EAER;;EAEA;;EAEA;;EAEA;;;;;;;;;;;;;;;;;;;;;;;;;;UA2BgB;;EAEhB;;EAEA;;EAEA;;EAEA;;EAEA;;UAGgB;EAChB;EACA;EACA;EACA;;EAEA;;;;;;EAMA,cAAc;;;;;EAKd;;;;;EAKA;;;;;;;EAOA;;;;;;;EAOA,oBAAoB;;;;;;;UCv1BJ;;EAEhB;;EAEA;;EAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAoMe,kBACf,YAAY,UACZ,YAAY,UACZ,UAAU;;;;;;UC9MM;;EAEhB;;EAEA;;EAEA;;EAEA;;EAEA;;;;;;;;;;;;;;;;;;;iBAuNe,SAAS,QAAQ,aAAa,iBAAiB,SAAS;;;;;;;;;;;;;;;;;;iBAoDxD,mBACf,OAAO,WACP,iBAAiB,QACjB;;;;;;;;;;;;;;;;;;iBA6De,YACf,QAAQ,aACR,iBAAiB,QACjB"}
@@ -67270,57 +67270,6 @@ var init_native_animation_media_walk = __esm({
67270
67270
  }
67271
67271
  });
67272
67272
 
67273
- // pptx/core/services/animation-effect-filter-parsing.ts
67274
- function parseFilterToken(raw) {
67275
- const trimmed2 = raw.trim();
67276
- if (!trimmed2) {
67277
- return void 0;
67278
- }
67279
- const match = FILTER_TOKEN_RE.exec(trimmed2);
67280
- if (!match) {
67281
- return void 0;
67282
- }
67283
- const family = match[1].toLowerCase();
67284
- const subtypeToken = match[2];
67285
- const subtype = subtypeToken !== void 0 && subtypeToken !== "" ? subtypeToken : void 0;
67286
- return { family, subtype };
67287
- }
67288
- function parseAnimEffectFilter(childTnList) {
67289
- if (!childTnList) {
67290
- return void 0;
67291
- }
67292
- const rawAnimEffect = childTnList["p:animEffect"];
67293
- const animEffect = Array.isArray(rawAnimEffect) ? rawAnimEffect[0] : rawAnimEffect;
67294
- if (!animEffect || typeof animEffect !== "object") {
67295
- return void 0;
67296
- }
67297
- const node = animEffect;
67298
- const filterAttr = node["@_filter"];
67299
- if (filterAttr === void 0 || filterAttr === null) {
67300
- return void 0;
67301
- }
67302
- const raw = String(filterAttr);
67303
- const firstToken = raw.split(";")[0] ?? "";
67304
- const parsed = parseFilterToken(firstToken);
67305
- if (!parsed) {
67306
- return void 0;
67307
- }
67308
- const transitionAttr = node["@_transition"];
67309
- const transition = transitionAttr === "in" || transitionAttr === "out" || transitionAttr === "none" ? transitionAttr : void 0;
67310
- return {
67311
- family: parsed.family,
67312
- subtype: parsed.subtype,
67313
- transition,
67314
- raw
67315
- };
67316
- }
67317
- var FILTER_TOKEN_RE;
67318
- var init_animation_effect_filter_parsing = __esm({
67319
- "pptx/core/services/animation-effect-filter-parsing.ts"() {
67320
- FILTER_TOKEN_RE = /^([A-Za-z]+)(?:\(([^)]*)\))?$/;
67321
- }
67322
- });
67323
-
67324
67273
  // pptx/core/services/native-animation-cbhvr-attrs.ts
67325
67274
  function extractCBhvrAttrs(cBhvr) {
67326
67275
  if (!cBhvr) {
@@ -67397,59 +67346,6 @@ var init_native_animation_cbhvr_attrs = __esm({
67397
67346
  }
67398
67347
  });
67399
67348
 
67400
- // pptx/core/services/native-animation-attribute-components.ts
67401
- function extractBounceEndFraction(raw) {
67402
- if (raw === void 0) {
67403
- return void 0;
67404
- }
67405
- const parsed = Number(raw);
67406
- if (!Number.isFinite(parsed)) {
67407
- return void 0;
67408
- }
67409
- return Math.max(0, Math.min(1, parsed / 1e5));
67410
- }
67411
- function extractAttributeAnimations(childTnList) {
67412
- if (!childTnList) {
67413
- return void 0;
67414
- }
67415
- const components = [];
67416
- for (const node of ensureArray10(childTnList["p:anim"])) {
67417
- const attrName = extractAttrNameFromCBhvr(node["p:cBhvr"]);
67418
- const keyframes = extractKeyframes(node);
67419
- const from = node["@_from"] !== void 0 ? String(node["@_from"]) : void 0;
67420
- const to = node["@_to"] !== void 0 ? String(node["@_to"]) : void 0;
67421
- const by = node["@_by"] !== void 0 ? String(node["@_by"]) : void 0;
67422
- const hasKeyframes = Boolean(keyframes && keyframes.length > 0);
67423
- if (!attrName || !hasKeyframes && from === void 0 && to === void 0 && by === void 0) {
67424
- continue;
67425
- }
67426
- const behavior = node["p:cBhvr"];
67427
- const cTn = behavior?.["p:cTn"];
67428
- const calcMode = normalizeCalcMode(node["@_calcmode"]);
67429
- const bounceEnd = extractBounceEndFraction(node["@_p14:bounceEnd"]);
67430
- components.push({
67431
- attrName,
67432
- keyframes: keyframes ?? [],
67433
- durationMs: readTimingAttr(cTn?.["@_dur"]),
67434
- delayMs: cTn ? extractStartConditionDelayMs(cTn) : void 0,
67435
- ...calcMode ? { calcMode } : {},
67436
- ...from !== void 0 ? { from } : {},
67437
- ...to !== void 0 ? { to } : {},
67438
- ...by !== void 0 ? { by } : {},
67439
- ...bounceEnd !== void 0 ? { bounceEnd } : {}
67440
- });
67441
- }
67442
- return components.length > 0 ? components : void 0;
67443
- }
67444
- var init_native_animation_attribute_components = __esm({
67445
- "pptx/core/services/native-animation-attribute-components.ts"() {
67446
- init_native_animation_attr_name();
67447
- init_native_animation_cbhvr_attrs();
67448
- init_native_animation_extended_helpers();
67449
- init_native_animation_helpers();
67450
- }
67451
- });
67452
-
67453
67349
  // pptx/core/services/native-animation-behaviors.ts
67454
67350
  function attrText(raw) {
67455
67351
  if (raw === void 0 || raw === null) {
@@ -67651,6 +67547,210 @@ var init_native_animation_behaviors = __esm({
67651
67547
  }
67652
67548
  });
67653
67549
 
67550
+ // pptx/core/services/native-animation-visibility-timing.ts
67551
+ function hasNativeVisibilitySet(node) {
67552
+ if (node["@_presetClass"] !== "entr" || String(node["@_presetID"]) !== "0") return false;
67553
+ const children15 = node["p:childTnLst"];
67554
+ if (!isXmlObject5(children15)) return false;
67555
+ return ensureArray10(children15["p:set"]).some((set2) => {
67556
+ const common = set2["p:cBhvr"];
67557
+ const list2 = isXmlObject5(common) ? common["p:attrNameLst"] : void 0;
67558
+ const names = isXmlObject5(list2) ? list2["p:attrName"] : void 0;
67559
+ return (Array.isArray(names) ? names : [names]).some(
67560
+ (name) => String(isXmlObject5(name) ? name["#text"] : name).trim().toLowerCase() === "style.visibility"
67561
+ );
67562
+ });
67563
+ }
67564
+ function simpleStarts(node, clickGate = false) {
67565
+ const list2 = node["p:stCondLst"];
67566
+ if (list2 === void 0) return true;
67567
+ if (!isXmlObject5(list2) || Object.keys(list2).some((key2) => key2 !== "p:cond")) return false;
67568
+ const conditions = ensureArray10(list2["p:cond"]);
67569
+ return conditions.length === 1 && conditions.every(
67570
+ (condition) => Object.keys(condition).every((key2) => key2 === "@_delay") && (condition["@_delay"] === void 0 || /^\d+$/u.test(String(condition["@_delay"])) && Number.isSafeInteger(Number(condition["@_delay"])) && Number(condition["@_delay"]) <= 2147483647 || clickGate && condition["@_delay"] === "indefinite")
67571
+ );
67572
+ }
67573
+ function unsupportedVisibilityContainerTiming(node) {
67574
+ if (node["@_presetClass"] !== void 0) return false;
67575
+ const structuralRoot = ["tmRoot", "mainSeq"].includes(String(node["@_nodeType"] ?? ""));
67576
+ return !neutralTiming(node) || !simpleStarts(node, true) || ensureArray10(isXmlObject5(node["p:stCondLst"]) ? node["p:stCondLst"]["p:cond"] : void 0).some(
67577
+ (condition) => /^\d+$/u.test(String(condition["@_delay"])) && Number(condition["@_delay"]) > 0
67578
+ ) || node["@_dur"] !== void 0 && !(structuralRoot && node["@_dur"] === "indefinite") || node["@_fill"] !== void 0 && node["@_fill"] !== "hold" || node["p:subTnLst"] !== void 0;
67579
+ }
67580
+ function extractVisibilitySetTiming(node) {
67581
+ if (node["@_presetClass"] !== "entr" || String(node["@_presetID"]) !== "0" || String(node["@_presetSubtype"] ?? "0") !== "0" || node["@_dur"] !== void 0 || node["@_fill"] !== "hold" || !neutralTiming(node) || !simpleStarts(node))
67582
+ return void 0;
67583
+ const children15 = node["p:childTnLst"];
67584
+ if (!isXmlObject5(children15) || Object.keys(children15).length !== 1 || !children15["p:set"])
67585
+ return void 0;
67586
+ const sets = ensureArray10(children15["p:set"]);
67587
+ if (sets.length !== 1) return void 0;
67588
+ if (Object.keys(sets[0]).some((key2) => !["p:cBhvr", "p:to"].includes(key2))) return void 0;
67589
+ const to = sets[0]["p:to"];
67590
+ if (!isXmlObject5(to) || Object.keys(to).length !== 1 || !isXmlObject5(to["p:strVal"]) || Object.keys(to["p:strVal"]).some((key2) => key2 !== "@_val") || to["p:strVal"]["@_val"] !== "visible")
67591
+ return void 0;
67592
+ const common = sets[0]["p:cBhvr"];
67593
+ if (!isXmlObject5(common) || Object.keys(common).some(
67594
+ (key2) => !["p:cTn", "p:tgtEl", "p:attrNameLst", "@_additive"].includes(key2)
67595
+ ) || common["@_additive"] !== void 0 && !["base", "repl", "none"].includes(String(common["@_additive"])))
67596
+ return void 0;
67597
+ const target = common["p:tgtEl"];
67598
+ if (!isXmlObject5(target) || Object.keys(target).length !== 1 || !isXmlObject5(target["p:spTgt"]) || Object.keys(target["p:spTgt"]).some((key2) => key2 !== "@_spid") || !/^\d+$/u.test(String(target["p:spTgt"]["@_spid"])))
67599
+ return void 0;
67600
+ const child30 = common["p:cTn"];
67601
+ if (!isXmlObject5(child30) || !neutralTiming(child30) || !simpleStarts(child30) || String(child30["@_dur"]) !== "1" || child30["@_fill"] !== "hold")
67602
+ return void 0;
67603
+ const behavior = extractBehaviors(children15)?.[0];
67604
+ if (!behavior || behavior.kind !== "set" || behavior.value !== "visible" || behavior.attrNames.length !== 1 || behavior.attrNames[0] !== "style.visibility" || behavior.timing.unsupportedSetTiming)
67605
+ return void 0;
67606
+ try {
67607
+ assertAfterAnimationClearSupported(node);
67608
+ } catch {
67609
+ return void 0;
67610
+ }
67611
+ const sub = node["p:subTnLst"];
67612
+ if (sub !== void 0) {
67613
+ if (!isXmlObject5(sub)) return void 0;
67614
+ for (const [key2, raw] of Object.entries(sub)) {
67615
+ for (const value of ensureArray10(raw)) {
67616
+ if (!extractAfterAnimationFromSubTnLst({ "p:subTnLst": { [key2]: value } }))
67617
+ return void 0;
67618
+ }
67619
+ }
67620
+ }
67621
+ const delayMs = behavior.timing.delayMs ?? 0;
67622
+ if (!Number.isSafeInteger(delayMs) || delayMs < 0 || delayMs >= 2147483647) return void 0;
67623
+ return { delayMs, durationMs: 1 };
67624
+ }
67625
+ var neutralTiming;
67626
+ var init_native_animation_visibility_timing = __esm({
67627
+ "pptx/core/services/native-animation-visibility-timing.ts"() {
67628
+ init_native_animation_behaviors();
67629
+ init_animation_after_effect_write();
67630
+ init_native_animation_after_effect();
67631
+ init_native_animation_helpers();
67632
+ neutralTiming = (node) => [
67633
+ "@_repeatDur",
67634
+ "@_tmFilter",
67635
+ "@_endSync",
67636
+ "@_evtFilter",
67637
+ "@_display",
67638
+ "@_masterRel",
67639
+ "@_syncBehavior",
67640
+ "@_nodePh",
67641
+ "@_progress",
67642
+ "@_p14:presetBounceEnd",
67643
+ "p:endCondLst",
67644
+ "p:endSync",
67645
+ "p:iterate"
67646
+ ].every((key2) => node[key2] === void 0) && (node["@_repeatCount"] === void 0 || String(node["@_repeatCount"]) === "1000") && (node["@_autoRev"] === void 0 || ["0", "false"].includes(String(node["@_autoRev"]))) && (node["@_spd"] === void 0 || String(node["@_spd"]) === "100000") && (node["@_accel"] === void 0 || String(node["@_accel"]) === "0") && (node["@_decel"] === void 0 || String(node["@_decel"]) === "0");
67647
+ }
67648
+ });
67649
+
67650
+ // pptx/core/services/animation-effect-filter-parsing.ts
67651
+ function parseFilterToken(raw) {
67652
+ const trimmed2 = raw.trim();
67653
+ if (!trimmed2) {
67654
+ return void 0;
67655
+ }
67656
+ const match = FILTER_TOKEN_RE.exec(trimmed2);
67657
+ if (!match) {
67658
+ return void 0;
67659
+ }
67660
+ const family = match[1].toLowerCase();
67661
+ const subtypeToken = match[2];
67662
+ const subtype = subtypeToken !== void 0 && subtypeToken !== "" ? subtypeToken : void 0;
67663
+ return { family, subtype };
67664
+ }
67665
+ function parseAnimEffectFilter(childTnList) {
67666
+ if (!childTnList) {
67667
+ return void 0;
67668
+ }
67669
+ const rawAnimEffect = childTnList["p:animEffect"];
67670
+ const animEffect = Array.isArray(rawAnimEffect) ? rawAnimEffect[0] : rawAnimEffect;
67671
+ if (!animEffect || typeof animEffect !== "object") {
67672
+ return void 0;
67673
+ }
67674
+ const node = animEffect;
67675
+ const filterAttr = node["@_filter"];
67676
+ if (filterAttr === void 0 || filterAttr === null) {
67677
+ return void 0;
67678
+ }
67679
+ const raw = String(filterAttr);
67680
+ const firstToken = raw.split(";")[0] ?? "";
67681
+ const parsed = parseFilterToken(firstToken);
67682
+ if (!parsed) {
67683
+ return void 0;
67684
+ }
67685
+ const transitionAttr = node["@_transition"];
67686
+ const transition = transitionAttr === "in" || transitionAttr === "out" || transitionAttr === "none" ? transitionAttr : void 0;
67687
+ return {
67688
+ family: parsed.family,
67689
+ subtype: parsed.subtype,
67690
+ transition,
67691
+ raw
67692
+ };
67693
+ }
67694
+ var FILTER_TOKEN_RE;
67695
+ var init_animation_effect_filter_parsing = __esm({
67696
+ "pptx/core/services/animation-effect-filter-parsing.ts"() {
67697
+ FILTER_TOKEN_RE = /^([A-Za-z]+)(?:\(([^)]*)\))?$/;
67698
+ }
67699
+ });
67700
+
67701
+ // pptx/core/services/native-animation-attribute-components.ts
67702
+ function extractBounceEndFraction(raw) {
67703
+ if (raw === void 0) {
67704
+ return void 0;
67705
+ }
67706
+ const parsed = Number(raw);
67707
+ if (!Number.isFinite(parsed)) {
67708
+ return void 0;
67709
+ }
67710
+ return Math.max(0, Math.min(1, parsed / 1e5));
67711
+ }
67712
+ function extractAttributeAnimations(childTnList) {
67713
+ if (!childTnList) {
67714
+ return void 0;
67715
+ }
67716
+ const components = [];
67717
+ for (const node of ensureArray10(childTnList["p:anim"])) {
67718
+ const attrName = extractAttrNameFromCBhvr(node["p:cBhvr"]);
67719
+ const keyframes = extractKeyframes(node);
67720
+ const from = node["@_from"] !== void 0 ? String(node["@_from"]) : void 0;
67721
+ const to = node["@_to"] !== void 0 ? String(node["@_to"]) : void 0;
67722
+ const by = node["@_by"] !== void 0 ? String(node["@_by"]) : void 0;
67723
+ const hasKeyframes = Boolean(keyframes && keyframes.length > 0);
67724
+ if (!attrName || !hasKeyframes && from === void 0 && to === void 0 && by === void 0) {
67725
+ continue;
67726
+ }
67727
+ const behavior = node["p:cBhvr"];
67728
+ const cTn = behavior?.["p:cTn"];
67729
+ const calcMode = normalizeCalcMode(node["@_calcmode"]);
67730
+ const bounceEnd = extractBounceEndFraction(node["@_p14:bounceEnd"]);
67731
+ components.push({
67732
+ attrName,
67733
+ keyframes: keyframes ?? [],
67734
+ durationMs: readTimingAttr(cTn?.["@_dur"]),
67735
+ delayMs: cTn ? extractStartConditionDelayMs(cTn) : void 0,
67736
+ ...calcMode ? { calcMode } : {},
67737
+ ...from !== void 0 ? { from } : {},
67738
+ ...to !== void 0 ? { to } : {},
67739
+ ...by !== void 0 ? { by } : {},
67740
+ ...bounceEnd !== void 0 ? { bounceEnd } : {}
67741
+ });
67742
+ }
67743
+ return components.length > 0 ? components : void 0;
67744
+ }
67745
+ var init_native_animation_attribute_components = __esm({
67746
+ "pptx/core/services/native-animation-attribute-components.ts"() {
67747
+ init_native_animation_attr_name();
67748
+ init_native_animation_cbhvr_attrs();
67749
+ init_native_animation_extended_helpers();
67750
+ init_native_animation_helpers();
67751
+ }
67752
+ });
67753
+
67654
67754
  // pptx/core/services/native-animation-child-timing.ts
67655
67755
  function isEnabled(value) {
67656
67756
  return value === true || value === 1 || value === "1" || value === "true";
@@ -67780,12 +67880,13 @@ function resolveNodeTrigger(cTn, currentTrigger) {
67780
67880
  }
67781
67881
  return trigger;
67782
67882
  }
67783
- function buildTimingNodeAnimation(cTn, trigger, group) {
67883
+ function buildTimingNodeAnimation(cTn, trigger, group, unsupportedVisibilityAncestor = false) {
67784
67884
  const presetClass = cTn["@_presetClass"];
67785
- const presetId = cTn["@_presetID"] ? Number.parseInt(String(cTn["@_presetID"]), 10) : void 0;
67885
+ const presetId = cTn["@_presetID"] !== void 0 ? Number.parseInt(String(cTn["@_presetID"]), 10) : void 0;
67786
67886
  const presetSubtype = cTn["@_presetSubtype"] !== void 0 ? Number.parseInt(String(cTn["@_presetSubtype"]), 10) : void 0;
67787
67887
  const childAutoReverseTiming = extractChildAutoReverseTiming(cTn, ensureArray10);
67788
- const durationMs = readTimingAttr(cTn["@_dur"]) ?? childAutoReverseTiming?.durationMs ?? extractChildBehaviourDurationMs(cTn, ensureArray10);
67888
+ const visibilitySetTiming = !unsupportedVisibilityAncestor && group.seqConcurrent === true && group.seqNextAction === "seek" && ["onClick", "withPrevious"].includes(trigger) ? extractVisibilitySetTiming(cTn) : void 0;
67889
+ const durationMs = readTimingAttr(cTn["@_dur"]) ?? childAutoReverseTiming?.durationMs ?? extractChildBehaviourDurationMs(cTn, ensureArray10) ?? (visibilitySetTiming ? visibilitySetTiming.delayMs + visibilitySetTiming.durationMs : void 0);
67789
67890
  const delayMs = readTimingAttr(cTn["@_delay"]) ?? extractStartConditionDelayMs(cTn);
67790
67891
  const accel = parseTimingPercentFraction(cTn["@_accel"]);
67791
67892
  const decel = parseTimingPercentFraction(cTn["@_decel"]);
@@ -67836,6 +67937,8 @@ function buildTimingNodeAnimation(cTn, trigger, group) {
67836
67937
  presetId,
67837
67938
  presetSubtype,
67838
67939
  durationMs,
67940
+ visibilitySetTiming,
67941
+ unsupportedVisibilitySet: hasNativeVisibilitySet(cTn) && !visibilitySetTiming || void 0,
67839
67942
  delayMs,
67840
67943
  accel,
67841
67944
  decel,
@@ -67931,22 +68034,24 @@ var init_native_animation_timing_node_extract = __esm({
67931
68034
  init_native_animation_child_timing();
67932
68035
  init_native_animation_extended_helpers();
67933
68036
  init_native_animation_helpers();
68037
+ init_native_animation_visibility_timing();
67934
68038
  init_native_animation_set_components();
67935
68039
  }
67936
68040
  });
67937
68041
 
67938
68042
  // pptx/core/services/native-animation-timing-walk.ts
67939
- function walkTimingTree(node, animations, currentTrigger, group, ctx) {
68043
+ function walkTimingTree(node, animations, currentTrigger, group, ctx, unsupportedVisibilityAncestor = false) {
67940
68044
  if (!node) {
67941
68045
  return;
67942
68046
  }
67943
68047
  const cTn = node["p:cTn"];
67944
68048
  if (cTn) {
67945
68049
  const trigger = resolveNodeTrigger(cTn, currentTrigger);
67946
- const animation = buildTimingNodeAnimation(cTn, trigger, group);
68050
+ const animation = buildTimingNodeAnimation(cTn, trigger, group, unsupportedVisibilityAncestor);
67947
68051
  if (animation) {
67948
68052
  animations.push(animation);
67949
68053
  }
68054
+ const unsupportedChildVisibility = unsupportedVisibilityAncestor || unsupportedVisibilityContainerTiming(cTn);
67950
68055
  const childTnList = cTn["p:childTnLst"];
67951
68056
  if (childTnList) {
67952
68057
  const isClickLevel = isMainSequence(cTn);
@@ -67966,7 +68071,8 @@ function walkTimingTree(node, animations, currentTrigger, group, ctx) {
67966
68071
  id: String(mainSequenceId)
67967
68072
  } : void 0
67968
68073
  }),
67969
- ctx
68074
+ ctx,
68075
+ unsupportedChildVisibility
67970
68076
  );
67971
68077
  }
67972
68078
  for (const sequence of sequences) {
@@ -67974,11 +68080,18 @@ function walkTimingTree(node, animations, currentTrigger, group, ctx) {
67974
68080
  continue;
67975
68081
  }
67976
68082
  const seqAttrs = extractSeqAttrs(sequence);
67977
- walkTimingTree(sequence, animations, trigger, { ...group, ...seqAttrs }, ctx);
68083
+ walkTimingTree(
68084
+ sequence,
68085
+ animations,
68086
+ trigger,
68087
+ { ...group, ...seqAttrs },
68088
+ ctx,
68089
+ unsupportedChildVisibility
68090
+ );
67978
68091
  }
67979
68092
  for (const excl of exclusives) {
67980
68093
  const exclAnims = [];
67981
- walkTimingTree(excl, exclAnims, trigger, group, ctx);
68094
+ walkTimingTree(excl, exclAnims, trigger, group, ctx, true);
67982
68095
  const exclGroupId = ctx.allocateExclGroupId();
67983
68096
  for (const a of exclAnims) {
67984
68097
  a.exclusive = true;
@@ -67998,7 +68111,8 @@ function walkTimingTree(node, animations, currentTrigger, group, ctx) {
67998
68111
  childGroupContext(group, parallel["p:cTn"], {
67999
68112
  isClickLevelGroup: false
68000
68113
  }),
68001
- ctx
68114
+ ctx,
68115
+ unsupportedVisibilityAncestor
68002
68116
  );
68003
68117
  }
68004
68118
  for (const sequence of directSequences) {
@@ -68006,7 +68120,14 @@ function walkTimingTree(node, animations, currentTrigger, group, ctx) {
68006
68120
  continue;
68007
68121
  }
68008
68122
  const seqAttrs = extractSeqAttrs(sequence);
68009
- walkTimingTree(sequence, animations, currentTrigger, { ...group, ...seqAttrs }, ctx);
68123
+ walkTimingTree(
68124
+ sequence,
68125
+ animations,
68126
+ currentTrigger,
68127
+ { ...group, ...seqAttrs },
68128
+ ctx,
68129
+ unsupportedVisibilityAncestor
68130
+ );
68010
68131
  }
68011
68132
  }
68012
68133
  var init_native_animation_timing_walk = __esm({
@@ -68014,6 +68135,7 @@ var init_native_animation_timing_walk = __esm({
68014
68135
  init_animation_group_context();
68015
68136
  init_animation_timing_attrs();
68016
68137
  init_native_animation_helpers();
68138
+ init_native_animation_visibility_timing();
68017
68139
  init_native_animation_interactive_predicate();
68018
68140
  init_native_animation_timing_node_extract();
68019
68141
  }
@@ -127396,6 +127518,36 @@ var init_PptxHandlerRuntimeShapeTextParsing = __esm({
127396
127518
  )
127397
127519
  );
127398
127520
  const pPr = this.mergeXmlObjects(lstStyleParagraphDefaults, directPPr);
127521
+ if (!textStyle.inheritedParagraphSpacing) {
127522
+ textStyle.inheritedParagraphSpacing = {};
127523
+ for (let spacingLevel = 0; spacingLevel < 9; spacingLevel++) {
127524
+ const key2 = `a:lvl${spacingLevel + 1}pPr`;
127525
+ const defaults = this.mergeXmlObjects(
127526
+ this.mergeXmlObjects(
127527
+ inheritedLstStyle?.["a:defPPr"],
127528
+ inheritedLstStyle?.[key2]
127529
+ ),
127530
+ this.mergeXmlObjects(
127531
+ ownLstStyle?.["a:defPPr"],
127532
+ ownLstStyle?.[key2]
127533
+ )
127534
+ );
127535
+ const inherited = this.mergeXmlObjects(
127536
+ defaults,
127537
+ inheritedParagraph?.["a:pPr"]
127538
+ );
127539
+ const spacing = this.extractParagraphOwnProperties({ "a:pPr": inherited }, textStyle.fontSize) ?? {};
127540
+ const phLevel = ctx.effectiveLevelStyles?.[spacingLevel];
127541
+ const phBase = ctx.effectiveLevelStyles?.[-1];
127542
+ if (phLevel) this.applyPlaceholderLevelDefaults(spacing, phLevel);
127543
+ if (phBase) this.applyPlaceholderLevelDefaults(spacing, phBase);
127544
+ textStyle.inheritedParagraphSpacing[spacingLevel] = {
127545
+ paragraphSpacingBefore: spacing.paragraphSpacingBefore ?? 0,
127546
+ paragraphSpacingAfter: spacing.paragraphSpacingAfter ?? 0,
127547
+ ...spacing.lineSpacingExactPt !== void 0 ? { lineSpacingExactPt: spacing.lineSpacingExactPt } : { lineSpacing: spacing.lineSpacing ?? 1 }
127548
+ };
127549
+ }
127550
+ }
127399
127551
  const paragraphRtl = this.parseOptionalBooleanAttr(pPr?.["@_rtl"]);
127400
127552
  if (paragraphRtl !== void 0 && textStyle.rtl === void 0) {
127401
127553
  textStyle.rtl = paragraphRtl;
@@ -1,4 +1,4 @@
1
- import { a as MergeOptions, t as FindResult } from "../chunks/text-operations-BqHmLaLA.js";
1
+ import { a as MergeOptions, t as FindResult } from "../chunks/text-operations-CyMTMfID.js";
2
2
  //#region pptx/cli/commands.d.ts
3
3
  /** Result from the `info` command. */
4
4
  interface InfoResult {
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
- import { replaceText, findText, mergePresentation } from '../../chunk-A6P7G3UK.mjs';
3
- import { PptxMarkdownConverter } from '../../chunk-ZOUGMAZG.mjs';
4
- import { PptxHandler } from '../../chunk-CCHYFCPD.mjs';
5
- import { SvgExporter, isImageLikeElement, blobUrlToDataUrl } from '../../chunk-5NVJN4E6.mjs';
2
+ import { replaceText, findText, mergePresentation } from '../../chunk-U2DF3EGK.mjs';
3
+ import { PptxMarkdownConverter } from '../../chunk-7DSZI7S6.mjs';
4
+ import { PptxHandler } from '../../chunk-HCXUI5UC.mjs';
5
+ import { SvgExporter, isImageLikeElement, blobUrlToDataUrl } from '../../chunk-EC2W2MDY.mjs';
6
6
  import '../../chunk-KBIJI6P5.mjs';
7
7
  import '../../chunk-3GXV5MPC.mjs';
8
8
  import '../../chunk-54S5A5PZ.mjs';
@@ -1,2 +1,2 @@
1
- import { A as SlideProcessor, B as generateMediaFilename, C as PptxJsonAssetStats, D as SvgExportOptions, E as isPptxJsonText, F as deriveOutputPath, H as ConversionResult, I as getDirectory, L as normalizePath, M as PptxConverterOptions, N as PptxMarkdownConverter, O as SvgExporter, P as DocumentConverter, R as MediaContext, S as PPTX_JSON_VERSION, T as decodePptxJsonText, U as FileSystemAdapter, V as ConversionOptions, _ as decodeJsonValue, a as deserializePptxFromJson, b as PPTX_JSON_FORMAT, c as pptxDataFromJsonDocument, d as serializePptxToJson, f as PRESENTATION_FIELD_KEYS, g as bytesToBase64, h as base64ToBytes, i as PptxJsonFormatError, j as SlideProcessorOptions, k as SlideMetadataRenderer, l as PptxJsonSerializeOptions, m as JsonAssetAccumulator, n as PptxJsonConverterOptions, o as parsePptxJson, p as PRESENTATION_FIELD_NAMES, r as applyImportedPptxData, s as parsePptxJsonDocument, t as PptxJsonConverter, u as buildPptxJsonDocument, v as encodeJsonValue, w as PptxJsonDocument, x as PPTX_JSON_MIME_TYPE, y as PPTX_JSON_FILE_EXTENSION, z as dataUrlToMediaBytes } from "../chunks/index-Cuxtr76Y.js";
1
+ import { A as SlideProcessor, B as generateMediaFilename, C as PptxJsonAssetStats, D as SvgExportOptions, E as isPptxJsonText, F as deriveOutputPath, H as ConversionResult, I as getDirectory, L as normalizePath, M as PptxConverterOptions, N as PptxMarkdownConverter, O as SvgExporter, P as DocumentConverter, R as MediaContext, S as PPTX_JSON_VERSION, T as decodePptxJsonText, U as FileSystemAdapter, V as ConversionOptions, _ as decodeJsonValue, a as deserializePptxFromJson, b as PPTX_JSON_FORMAT, c as pptxDataFromJsonDocument, d as serializePptxToJson, f as PRESENTATION_FIELD_KEYS, g as bytesToBase64, h as base64ToBytes, i as PptxJsonFormatError, j as SlideProcessorOptions, k as SlideMetadataRenderer, l as PptxJsonSerializeOptions, m as JsonAssetAccumulator, n as PptxJsonConverterOptions, o as parsePptxJson, p as PRESENTATION_FIELD_NAMES, r as applyImportedPptxData, s as parsePptxJsonDocument, t as PptxJsonConverter, u as buildPptxJsonDocument, v as encodeJsonValue, w as PptxJsonDocument, x as PPTX_JSON_MIME_TYPE, y as PPTX_JSON_FILE_EXTENSION, z as dataUrlToMediaBytes } from "../chunks/index-DdX02BSm.js";
2
2
  export { type ConversionOptions, type ConversionResult, DocumentConverter, type FileSystemAdapter, type JsonAssetAccumulator, MediaContext, PPTX_JSON_FILE_EXTENSION, PPTX_JSON_FORMAT, PPTX_JSON_MIME_TYPE, PPTX_JSON_VERSION, PRESENTATION_FIELD_KEYS, PRESENTATION_FIELD_NAMES, type PptxConverterOptions, type PptxJsonAssetStats, PptxJsonConverter, type PptxJsonConverterOptions, type PptxJsonDocument, PptxJsonFormatError, type PptxJsonSerializeOptions, PptxMarkdownConverter, SlideMetadataRenderer, SlideProcessor, type SlideProcessorOptions, type SvgExportOptions, SvgExporter, applyImportedPptxData, base64ToBytes, buildPptxJsonDocument, bytesToBase64, dataUrlToMediaBytes, decodeJsonValue, decodePptxJsonText, deriveOutputPath, deserializePptxFromJson, encodeJsonValue, generateMediaFilename, getDirectory, isPptxJsonText, normalizePath, parsePptxJson, parsePptxJsonDocument, pptxDataFromJsonDocument, serializePptxToJson };
@@ -1,6 +1,6 @@
1
1
  import '../../chunk-6Q7TP72Y.mjs';
2
- export { DocumentConverter, MediaContext, PptxMarkdownConverter, SlideMetadataRenderer, SlideProcessor, dataUrlToMediaBytes, deriveOutputPath, generateMediaFilename, getDirectory, normalizePath } from '../../chunk-ZOUGMAZG.mjs';
3
- export { PPTX_JSON_FILE_EXTENSION, PPTX_JSON_FORMAT, PPTX_JSON_MIME_TYPE, PPTX_JSON_VERSION, PRESENTATION_FIELD_KEYS, PRESENTATION_FIELD_NAMES, PptxJsonConverter, PptxJsonFormatError, SvgExporter, applyImportedPptxData, base64ToBytes, buildPptxJsonDocument, bytesToBase64, decodeJsonValue, decodePptxJsonText, deserializePptxFromJson, encodeJsonValue, isPptxJsonText, parsePptxJson, parsePptxJsonDocument, pptxDataFromJsonDocument, serializePptxToJson } from '../../chunk-5NVJN4E6.mjs';
2
+ export { DocumentConverter, MediaContext, PptxMarkdownConverter, SlideMetadataRenderer, SlideProcessor, dataUrlToMediaBytes, deriveOutputPath, generateMediaFilename, getDirectory, normalizePath } from '../../chunk-7DSZI7S6.mjs';
3
+ export { PPTX_JSON_FILE_EXTENSION, PPTX_JSON_FORMAT, PPTX_JSON_MIME_TYPE, PPTX_JSON_VERSION, PRESENTATION_FIELD_KEYS, PRESENTATION_FIELD_NAMES, PptxJsonConverter, PptxJsonFormatError, SvgExporter, applyImportedPptxData, base64ToBytes, buildPptxJsonDocument, bytesToBase64, decodeJsonValue, decodePptxJsonText, deserializePptxFromJson, encodeJsonValue, isPptxJsonText, parsePptxJson, parsePptxJsonDocument, pptxDataFromJsonDocument, serializePptxToJson } from '../../chunk-EC2W2MDY.mjs';
4
4
  import '../../chunk-KBIJI6P5.mjs';
5
5
  import '../../chunk-54S5A5PZ.mjs';
6
6
  import '../../chunk-KII4AAYH.mjs';
@@ -1,6 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var chunkS6DOCMQC_cjs = require('../../../chunk-S6DOCMQC.cjs');
3
+ var chunk7QZGRB3T_cjs = require('../../../chunk-7QZGRB3T.cjs');
4
+ var chunkXZPZHXV4_cjs = require('../../../chunk-XZPZHXV4.cjs');
4
5
  var chunkAWIDASUW_cjs = require('../../../chunk-AWIDASUW.cjs');
5
6
  require('../../../chunk-7IUNOWFJ.cjs');
6
7
  require('../../../chunk-Y6665UXH.cjs');
@@ -83,7 +84,7 @@ function* findTextTargets(element, elementId = element.id, path = [], includeCha
83
84
  includeChartTitles,
84
85
  includeChartData
85
86
  );
86
- } else if (chunkS6DOCMQC_cjs.hasTextProperties(element)) {
87
+ } else if (chunkXZPZHXV4_cjs.hasTextProperties(element)) {
87
88
  const runs = element.textSegments?.length ? element.textSegments : element.text ? [{ text: element.text, style: element.textStyle ?? {} }] : [];
88
89
  yield { ...location, runs };
89
90
  } else if (element.type === "table" && element.tableData) {
@@ -143,10 +144,10 @@ function* findSlideTextTargets(slide, includeNotes = false, includeChartTitles =
143
144
  function patchTableXml(element, rowIndex, colIndex, original, runs) {
144
145
  if (!element.rawXml) return void 0;
145
146
  const rawXml = structuredClone(element.rawXml);
146
- const table = chunkS6DOCMQC_cjs.getTblFromRawXml(rawXml);
147
- const row = chunkS6DOCMQC_cjs.ensureArray(table?.["a:tr"])[rowIndex];
148
- const cell = chunkS6DOCMQC_cjs.ensureArray(row?.["a:tc"])[colIndex];
149
- const paragraphs = chunkS6DOCMQC_cjs.ensureArray(
147
+ const table = chunk7QZGRB3T_cjs.getTblFromRawXml(rawXml);
148
+ const row = chunk7QZGRB3T_cjs.ensureArray(table?.["a:tr"])[rowIndex];
149
+ const cell = chunk7QZGRB3T_cjs.ensureArray(row?.["a:tc"])[colIndex];
150
+ const paragraphs = chunk7QZGRB3T_cjs.ensureArray(
150
151
  cell?.["a:txBody"]?.["a:p"]
151
152
  );
152
153
  let paragraphIndex = 0, runIndex = 0, fieldIndex = 0;
@@ -161,7 +162,7 @@ function patchTableXml(element, rowIndex, colIndex, original, runs) {
161
162
  if (previous.isLineBreak) continue;
162
163
  const paragraph = paragraphs[paragraphIndex];
163
164
  const key = previous.isField ? "a:fld" : "a:r";
164
- const xmlRun = chunkS6DOCMQC_cjs.ensureArray(paragraph?.[key])[previous.isField ? fieldIndex++ : runIndex++];
165
+ const xmlRun = chunk7QZGRB3T_cjs.ensureArray(paragraph?.[key])[previous.isField ? fieldIndex++ : runIndex++];
165
166
  if (!xmlRun) return void 0;
166
167
  if (previous.text !== runs[index].text) xmlRun["a:t"] = runs[index].text;
167
168
  }
@@ -171,7 +172,7 @@ function updateNode(nodes, nodeId, text) {
171
172
  return nodes.map((node) => {
172
173
  if (node.id === nodeId) {
173
174
  const originalParagraphs = node.paragraphs ?? (node.runs?.length ? [{ items: node.runs.map((run) => ({ kind: "run", run })) }] : void 0);
174
- const paragraphs = originalParagraphs ? chunkS6DOCMQC_cjs.reconcileSmartArtTextParagraphs(originalParagraphs, text) : void 0;
175
+ const paragraphs = originalParagraphs ? chunk7QZGRB3T_cjs.reconcileSmartArtTextParagraphs(originalParagraphs, text) : void 0;
175
176
  return { ...node, text, ...paragraphs ? { paragraphs } : {} };
176
177
  }
177
178
  if (!node.children) return node;
@@ -250,14 +251,14 @@ function replaceLeaf(element, match, replacement) {
250
251
  );
251
252
  if (!runs) return element;
252
253
  let text = runs.map((run) => run.isParagraphBreak ? "\n" : run.isLineBreak ? "" : run.text).join("");
253
- let rawXml = cell.textRuns?.length ? patchTableXml(element, rowIndex, colIndex, original2, runs) : chunkS6DOCMQC_cjs.updateCellTextInRawXml(element, rowIndex, colIndex, text);
254
+ let rawXml = cell.textRuns?.length ? patchTableXml(element, rowIndex, colIndex, original2, runs) : chunk7QZGRB3T_cjs.updateCellTextInRawXml(element, rowIndex, colIndex, text);
254
255
  if (rawXml) {
255
- const table = chunkS6DOCMQC_cjs.getTblFromRawXml(rawXml);
256
- const xmlRow = chunkS6DOCMQC_cjs.ensureArray(table?.["a:tr"])[rowIndex];
257
- const xmlCell = chunkS6DOCMQC_cjs.ensureArray(xmlRow?.["a:tc"])[colIndex];
258
- text = chunkS6DOCMQC_cjs.flattenCellTxBodyText(
256
+ const table = chunk7QZGRB3T_cjs.getTblFromRawXml(rawXml);
257
+ const xmlRow = chunk7QZGRB3T_cjs.ensureArray(table?.["a:tr"])[rowIndex];
258
+ const xmlCell = chunk7QZGRB3T_cjs.ensureArray(xmlRow?.["a:tc"])[colIndex];
259
+ text = chunk7QZGRB3T_cjs.flattenCellTxBodyText(
259
260
  xmlCell?.["a:txBody"],
260
- (value) => chunkS6DOCMQC_cjs.ensureArray(value)
261
+ (value) => chunk7QZGRB3T_cjs.ensureArray(value)
261
262
  );
262
263
  }
263
264
  const rows = [...element.tableData.rows], cells = [...row.cells];
@@ -271,7 +272,7 @@ function replaceLeaf(element, match, replacement) {
271
272
  if (!node || match.startOffset < 0 || match.startOffset + match.length > node.text.length)
272
273
  return element;
273
274
  const text = node.text.slice(0, match.startOffset) + replacement + node.text.slice(match.startOffset + match.length);
274
- const next = chunkS6DOCMQC_cjs.updateSmartArtNodeText({ ...data, nodes }, node.id, text);
275
+ const next = chunk7QZGRB3T_cjs.updateSmartArtNodeText({ ...data, nodes }, node.id, text);
275
276
  const drawingShapes = next.drawingShapes?.map((shape, index) => {
276
277
  if (shape === data.drawingShapes?.[index] || !shape.textSegments) return shape;
277
278
  return {
@@ -284,7 +285,7 @@ function replaceLeaf(element, match, replacement) {
284
285
  smartArtData: { ...next, drawingShapes, nodes: updateNode(data.nodes, node.id, text) }
285
286
  };
286
287
  }
287
- if (!chunkS6DOCMQC_cjs.hasTextProperties(element)) return element;
288
+ if (!chunkXZPZHXV4_cjs.hasTextProperties(element)) return element;
288
289
  const original = element.textSegments?.length ? element.textSegments : element.text ? [{ text: element.text, style: element.textStyle ?? {} }] : [];
289
290
  const segments = replaceFindRuns(
290
291
  original,
@@ -1,5 +1,5 @@
1
- import { C as PptxSlide } from "../../chunks/text-operations-BqHmLaLA.js";
2
- import "../../chunks/index-DUCGeZh7.js";
1
+ import "../../chunks/index-BZrFyNtU.js";
2
+ import { C as PptxSlide } from "../../chunks/text-operations-CyMTMfID.js";
3
3
  //#region pptx/editor/render/find-replace.d.ts
4
4
  /** Identifies a single match of the find query at segment-level precision. */
5
5
  export interface FindResult {
@@ -1,4 +1,5 @@
1
- import { hasTextProperties, updateCellTextInRawXml, getTblFromRawXml, ensureArray, flattenCellTxBodyText, updateSmartArtNodeText, reconcileSmartArtTextParagraphs } from '../../../chunk-R6KSBNKX.mjs';
1
+ import { updateCellTextInRawXml, getTblFromRawXml, ensureArray, flattenCellTxBodyText, updateSmartArtNodeText, reconcileSmartArtTextParagraphs } from '../../../chunk-UAY26XOI.mjs';
2
+ import { hasTextProperties } from '../../../chunk-GXHKNSZX.mjs';
2
3
  import { remapTextToSegments } from '../../../chunk-CBNKBVX5.mjs';
3
4
  import '../../../chunk-F4TB6B32.mjs';
4
5
  import '../../../chunk-3E6KBUG5.mjs';