ooxml-core 1.31.0 → 1.32.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (123) hide show
  1. package/dist/{PptxHandler-KKLAYUGQ.mjs → PptxHandler-QY5VL3CY.mjs} +2 -2
  2. package/dist/PptxHandler-SJ5ZUIUX.mjs +4 -0
  3. package/dist/{PptxHandler-DHQPVTUI.cjs → PptxHandler-TESZUH66.cjs} +3 -3
  4. package/dist/{PresentationBuilder-YYZYCKTZ.mjs → PresentationBuilder-3CH5TR4W.mjs} +2 -2
  5. package/dist/{PresentationBuilder-JORMF5CP.cjs → PresentationBuilder-5NFBUP7Y.cjs} +5 -5
  6. package/dist/{PresentationBuilder-Q2Z33LLM.mjs → PresentationBuilder-S6HXHKEJ.mjs} +2 -2
  7. package/dist/automation/index.cjs +862 -389
  8. package/dist/automation/index.mjs +862 -389
  9. package/dist/{chunk-GJDFCP2T.mjs → chunk-3H5UAJB3.mjs} +258 -155
  10. package/dist/{chunk-MKDONWNO.mjs → chunk-4R65YYAD.mjs} +32 -14
  11. package/dist/{chunk-KWJYMAEF.mjs → chunk-IOTGRLJH.mjs} +255 -152
  12. package/dist/{chunk-6FXOAMNL.mjs → chunk-N6424WKA.mjs} +1 -1
  13. package/dist/{chunk-WZJ25K7P.mjs → chunk-NAWLWKOJ.mjs} +1 -1
  14. package/dist/{chunk-DJ3CDTMX.mjs → chunk-O7SVHLD7.mjs} +23 -5
  15. package/dist/{chunk-CZXM4ZJH.cjs → chunk-Q6NM64J2.cjs} +23 -4
  16. package/dist/{chunk-FFJBOR2Y.mjs → chunk-UYMSFJQZ.mjs} +76 -4
  17. package/dist/{chunk-B4LXDHBX.cjs → chunk-X6VNUBES.cjs} +1419 -1316
  18. package/dist/diagram/index.cjs +8 -4
  19. package/dist/diagram/index.mjs +8 -4
  20. package/dist/docx/embedded.cjs +8 -4
  21. package/dist/docx/embedded.mjs +8 -4
  22. package/dist/docx/index.cjs +8 -4
  23. package/dist/docx/index.mjs +8 -4
  24. package/dist/docx/layout/index.cjs +8 -4
  25. package/dist/docx/layout/index.mjs +8 -4
  26. package/dist/docx/load/index.cjs +8 -4
  27. package/dist/docx/load/index.mjs +8 -4
  28. package/dist/docx/ui/index.cjs +8 -4
  29. package/dist/docx/ui/index.mjs +8 -4
  30. package/dist/geometry/index.cjs +16 -12
  31. package/dist/geometry/index.mjs +16 -12
  32. package/dist/geometry/preset-shape-definitions-table.d.ts.map +1 -1
  33. package/dist/index.cjs +16 -12
  34. package/dist/index.mjs +16 -12
  35. package/dist/pptx/automation/index.cjs +294 -157
  36. package/dist/pptx/automation/index.d.ts +3 -3
  37. package/dist/pptx/automation/index.mjs +5 -5
  38. package/dist/pptx/chunks/{index-PdM5zpmu.d.ts → index-D-FdgqrP.d.ts} +102 -3
  39. package/dist/pptx/chunks/index-D-FdgqrP.d.ts.map +1 -0
  40. package/dist/pptx/chunks/{index-BQDcu_0a.d.ts → index-DKybuHPT.d.ts} +51 -3
  41. package/dist/pptx/chunks/{index-BQDcu_0a.d.ts.map → index-DKybuHPT.d.ts.map} +1 -1
  42. package/dist/pptx/chunks/{index-CBV1oHN7.d.ts → index-DnWlmYCy.d.ts} +2 -2
  43. package/dist/pptx/chunks/{index-CBV1oHN7.d.ts.map → index-DnWlmYCy.d.ts.map} +1 -1
  44. package/dist/pptx/cli/index.cjs +294 -157
  45. package/dist/pptx/cli/index.mjs +4 -4
  46. package/dist/pptx/converter/index.cjs +8 -4
  47. package/dist/pptx/converter/index.d.ts +1 -1
  48. package/dist/pptx/converter/index.mjs +2 -2
  49. package/dist/pptx/editor/render/find-replace.cjs +14 -14
  50. package/dist/pptx/editor/render/find-replace.d.ts +1 -1
  51. package/dist/pptx/editor/render/find-replace.mjs +1 -1
  52. package/dist/pptx/editor/render/slide-operations.cjs +8 -8
  53. package/dist/pptx/editor/render/slide-operations.mjs +2 -2
  54. package/dist/pptx/index.cjs +380 -171
  55. package/dist/pptx/index.d.ts +4 -4
  56. package/dist/pptx/index.mjs +5 -5
  57. package/dist/pptx/node/index.d.ts +1 -1
  58. package/dist/teams/chat-view.d.ts +10 -1
  59. package/dist/teams/chat-view.d.ts.map +1 -1
  60. package/dist/teams/index.cjs +805 -144
  61. package/dist/teams/index.d.ts +1 -0
  62. package/dist/teams/index.d.ts.map +1 -1
  63. package/dist/teams/index.mjs +795 -145
  64. package/dist/teams/presence-controller.d.ts +18 -3
  65. package/dist/teams/presence-controller.d.ts.map +1 -1
  66. package/dist/teams/presence-meetings.d.ts +21 -0
  67. package/dist/teams/presence-meetings.d.ts.map +1 -0
  68. package/dist/teams/presence.d.ts +40 -2
  69. package/dist/teams/presence.d.ts.map +1 -1
  70. package/dist/teams/store.d.ts +5 -0
  71. package/dist/teams/store.d.ts.map +1 -1
  72. package/dist/teams/view.d.ts +5 -0
  73. package/dist/teams/view.d.ts.map +1 -1
  74. package/dist/teams/workspace.d.ts +5 -2
  75. package/dist/teams/workspace.d.ts.map +1 -1
  76. package/dist/visio/index.cjs +6 -1
  77. package/dist/visio/index.mjs +6 -1
  78. package/dist/visio/ui/index.cjs +6 -1
  79. package/dist/visio/ui/index.mjs +6 -1
  80. package/dist/xlsx/formula/ets-drift-compare.d.ts +19 -0
  81. package/dist/xlsx/formula/ets-drift-compare.d.ts.map +1 -0
  82. package/dist/xlsx/formula/ets-excel-compare.d.ts +12 -0
  83. package/dist/xlsx/formula/ets-excel-compare.d.ts.map +1 -1
  84. package/dist/xlsx/formula/ets-init-compare.d.ts +24 -0
  85. package/dist/xlsx/formula/ets-init-compare.d.ts.map +1 -0
  86. package/dist/xlsx/formula/ets-init-maps.d.ts +21 -0
  87. package/dist/xlsx/formula/ets-init-maps.d.ts.map +1 -0
  88. package/dist/xlsx/formula/functions/ets-core.d.ts +1 -1
  89. package/dist/xlsx/formula/functions/ets-core.d.ts.map +1 -1
  90. package/dist/xlsx/formula/functions/ets-init-chain.d.ts +11 -0
  91. package/dist/xlsx/formula/functions/ets-init-chain.d.ts.map +1 -0
  92. package/dist/xlsx/formula/functions/ets-init-four.d.ts +3 -0
  93. package/dist/xlsx/formula/functions/ets-init-four.d.ts.map +1 -0
  94. package/dist/xlsx/formula/functions/ets-init-short.d.ts +17 -0
  95. package/dist/xlsx/formula/functions/ets-init-short.d.ts.map +1 -0
  96. package/dist/xlsx/formula/functions/ets-init-states.d.ts +5 -0
  97. package/dist/xlsx/formula/functions/ets-init-states.d.ts.map +1 -0
  98. package/dist/xlsx/formula/functions/ets-init-three.d.ts +23 -0
  99. package/dist/xlsx/formula/functions/ets-init-three.d.ts.map +1 -0
  100. package/dist/xlsx/formula/functions/ets-init-threeplus.d.ts +13 -0
  101. package/dist/xlsx/formula/functions/ets-init-threeplus.d.ts.map +1 -0
  102. package/dist/xlsx/formula/functions/ets-init.d.ts +18 -0
  103. package/dist/xlsx/formula/functions/ets-init.d.ts.map +1 -1
  104. package/dist/xlsx/formula/functions/ets-search-map.d.ts +24 -0
  105. package/dist/xlsx/formula/functions/ets-search-map.d.ts.map +1 -0
  106. package/dist/xlsx/formula/functions/ets-search.d.ts +17 -0
  107. package/dist/xlsx/formula/functions/ets-search.d.ts.map +1 -0
  108. package/dist/xlsx/formula/functions/ets-season.d.ts +2 -2
  109. package/dist/xlsx/formula/functions/ets-season.d.ts.map +1 -1
  110. package/dist/xlsx/formula/functions/ets-validate.d.ts +16 -0
  111. package/dist/xlsx/formula/functions/ets-validate.d.ts.map +1 -0
  112. package/dist/xlsx/index.cjs +762 -289
  113. package/dist/xlsx/index.mjs +762 -289
  114. package/dist/xlsx/layout/form-control-view.d.ts.map +1 -1
  115. package/dist/xlsx/layout/shape-view.d.ts.map +1 -1
  116. package/dist/xlsx/load/index.cjs +599 -126
  117. package/dist/xlsx/load/index.mjs +599 -126
  118. package/dist/xlsx/read/form-control.d.ts.map +1 -1
  119. package/dist/xlsx/ui/index.cjs +756 -283
  120. package/dist/xlsx/ui/index.mjs +756 -283
  121. package/package.json +1 -1
  122. package/dist/PptxHandler-E4DDV3FQ.mjs +0 -4
  123. package/dist/pptx/chunks/index-PdM5zpmu.d.ts.map +0 -1
@@ -3759,11 +3759,7 @@ var init_chart_layout_operations = __esm({
3759
3759
  }
3760
3760
  });
3761
3761
 
3762
- // pptx/core/builders/sdk/ElementFactory.ts
3763
- function generateId(prefix) {
3764
- idCounter += 1;
3765
- return `${prefix}_${Date.now().toString(36)}_${idCounter}`;
3766
- }
3762
+ // pptx/core/builders/sdk/shape-style-input.ts
3767
3763
  function mapFillToShapeStyle(fill3) {
3768
3764
  if (!fill3) {
3769
3765
  return {};
@@ -3779,18 +3775,24 @@ function mapFillToShapeStyle(fill3) {
3779
3775
  case "gradient":
3780
3776
  return {
3781
3777
  fillMode: "gradient",
3782
- fillGradientType: fill3.gradientType ?? "linear",
3778
+ fillGradientType: fill3.path ? "radial" : fill3.gradientType ?? "linear",
3783
3779
  fillGradientAngle: fill3.angle ?? 0,
3784
3780
  fillGradientStops: fill3.stops.map((s) => ({
3785
3781
  color: s.color,
3786
3782
  position: s.position,
3787
3783
  opacity: s.opacity
3788
- }))
3784
+ })),
3785
+ ...fill3.path ? { fillGradientPathType: fill3.path } : {},
3786
+ ...fill3.focus ? { fillGradientFillToRect: { ...fill3.focus } } : {},
3787
+ ...fill3.tile ? { fillGradientTileRect: { ...fill3.tile } } : {},
3788
+ ...fill3.scaled !== void 0 ? { fillGradientScaled: fill3.scaled } : {},
3789
+ ...fill3.rotWithShape !== void 0 ? { fillGradientRotWithShape: fill3.rotWithShape } : {}
3789
3790
  };
3790
3791
  case "pattern":
3791
3792
  return {
3792
3793
  fillMode: "pattern",
3793
3794
  fillPatternPreset: fill3.preset,
3795
+ ...fill3.foreground !== void 0 ? { fillColor: fill3.foreground } : {},
3794
3796
  fillPatternBackgroundColor: fill3.background
3795
3797
  };
3796
3798
  case "image":
@@ -3805,18 +3807,64 @@ function mapFillToShapeStyle(fill3) {
3805
3807
  return {};
3806
3808
  }
3807
3809
  }
3810
+ function customDashSegments(lengths, width) {
3811
+ const values = lengths.length % 2 === 1 ? [...lengths, ...lengths] : lengths;
3812
+ const segments = [];
3813
+ for (let i2 = 0; i2 + 1 < values.length; i2 += 2) {
3814
+ segments.push({
3815
+ dash: Math.max(0, Math.round(values[i2] / width * DASH_UNITS_PER_WIDTH)),
3816
+ space: Math.max(0, Math.round(values[i2 + 1] / width * DASH_UNITS_PER_WIDTH))
3817
+ });
3818
+ }
3819
+ return segments;
3820
+ }
3821
+ function mapStrokeDash(stroke) {
3822
+ if (!Array.isArray(stroke.dash)) {
3823
+ return { strokeDash: stroke.dash };
3824
+ }
3825
+ const width = stroke.width !== void 0 && stroke.width > 0 ? stroke.width : 1;
3826
+ return {
3827
+ strokeDash: "custom",
3828
+ customDashSegments: customDashSegments(stroke.dash, width)
3829
+ };
3830
+ }
3808
3831
  function mapStrokeToShapeStyle(stroke) {
3809
3832
  if (!stroke) {
3810
3833
  return {};
3811
3834
  }
3835
+ const lineJoin = stroke.join ?? (stroke.miterLimit !== void 0 ? "miter" : void 0);
3836
+ const miterLimit = lineJoin === "miter" ? stroke.miterLimit : void 0;
3812
3837
  return {
3813
3838
  strokeColor: stroke.color,
3814
3839
  strokeWidth: stroke.width,
3815
- strokeDash: stroke.dash,
3840
+ ...mapStrokeDash(stroke),
3816
3841
  strokeOpacity: stroke.opacity,
3817
- lineJoin: stroke.join,
3842
+ lineJoin,
3818
3843
  lineCap: stroke.cap,
3819
- ...stroke.themeColorRef ? { strokeColorRef: stroke.themeColorRef } : {}
3844
+ ...stroke.themeColorRef ? { strokeColorRef: stroke.themeColorRef } : {},
3845
+ ...miterLimit !== void 0 ? { miterLimit: Math.round(miterLimit * MITER_UNITS_PER_RATIO) } : {},
3846
+ ...stroke.compound ? { compoundLine: stroke.compound } : {},
3847
+ ...stroke.align ? { lineAlignment: stroke.align } : {},
3848
+ ...stroke.headEnd ? {
3849
+ connectorStartArrow: stroke.headEnd.type,
3850
+ connectorStartArrowWidth: stroke.headEnd.width,
3851
+ connectorStartArrowLength: stroke.headEnd.length
3852
+ } : {},
3853
+ ...stroke.tailEnd ? {
3854
+ connectorEndArrow: stroke.tailEnd.type,
3855
+ connectorEndArrowWidth: stroke.tailEnd.width,
3856
+ connectorEndArrowLength: stroke.tailEnd.length
3857
+ } : {}
3858
+ };
3859
+ }
3860
+ function connectorLineEndOverride(end, type) {
3861
+ if (type === void 0) {
3862
+ return {};
3863
+ }
3864
+ return {
3865
+ [`connector${end}Arrow`]: type,
3866
+ [`connector${end}ArrowWidth`]: void 0,
3867
+ [`connector${end}ArrowLength`]: void 0
3820
3868
  };
3821
3869
  }
3822
3870
  function mapShadowToShapeStyle(shadow) {
@@ -3831,14 +3879,77 @@ function mapShadowToShapeStyle(shadow) {
3831
3879
  shadowOpacity: shadow.opacity ?? 0.4
3832
3880
  };
3833
3881
  }
3882
+ function mapInnerShadowToShapeStyle(shadow) {
3883
+ if (!shadow) {
3884
+ return {};
3885
+ }
3886
+ return {
3887
+ innerShadowColor: shadow.color ?? "#000000",
3888
+ innerShadowBlur: shadow.blur,
3889
+ innerShadowOffsetX: shadow.offsetX,
3890
+ innerShadowOffsetY: shadow.offsetY,
3891
+ innerShadowOpacity: shadow.opacity
3892
+ };
3893
+ }
3894
+ function mapGlowToShapeStyle(glow) {
3895
+ if (!glow) {
3896
+ return {};
3897
+ }
3898
+ return { glowColor: glow.color, glowRadius: glow.radius, glowOpacity: glow.opacity ?? 1 };
3899
+ }
3900
+ function mapReflectionToShapeStyle(reflection) {
3901
+ if (!reflection) {
3902
+ return {};
3903
+ }
3904
+ return {
3905
+ reflectionBlurRadius: reflection.blur,
3906
+ reflectionDistance: reflection.distance,
3907
+ reflectionStartOpacity: reflection.startOpacity ?? 0.5,
3908
+ reflectionEndOpacity: reflection.endOpacity ?? 0,
3909
+ reflectionEndPosition: reflection.endPosition ?? 0.9,
3910
+ // PowerPoint's reflection presets: a mirror image below the shape.
3911
+ reflectionDirection: 90,
3912
+ reflectionScaleY: -1e5,
3913
+ reflectionAlignment: "bl",
3914
+ reflectionRotateWithShape: false
3915
+ };
3916
+ }
3834
3917
  function buildShapeStyle(opts) {
3835
3918
  const parts = {
3836
3919
  ...mapFillToShapeStyle(opts.fill),
3837
3920
  ...mapStrokeToShapeStyle(opts.stroke),
3838
- ...mapShadowToShapeStyle(opts.shadow)
3921
+ ...mapShadowToShapeStyle(opts.shadow),
3922
+ ...mapInnerShadowToShapeStyle(opts.innerShadow),
3923
+ ...mapGlowToShapeStyle(opts.glow),
3924
+ ...opts.softEdge !== void 0 ? { softEdgeRadius: opts.softEdge } : {},
3925
+ ...mapReflectionToShapeStyle(opts.reflection)
3839
3926
  };
3840
3927
  return Object.keys(parts).length > 0 ? parts : void 0;
3841
3928
  }
3929
+ var DASH_UNITS_PER_WIDTH, MITER_UNITS_PER_RATIO;
3930
+ var init_shape_style_input = __esm({
3931
+ "pptx/core/builders/sdk/shape-style-input.ts"() {
3932
+ DASH_UNITS_PER_WIDTH = 1e5;
3933
+ MITER_UNITS_PER_RATIO = 1e5;
3934
+ }
3935
+ });
3936
+
3937
+ // pptx/core/builders/sdk/ElementFactory.ts
3938
+ function generateId(prefix) {
3939
+ idCounter += 1;
3940
+ return `${prefix}_${Date.now().toString(36)}_${idCounter}`;
3941
+ }
3942
+ function effectInputs(options2, fill3) {
3943
+ return {
3944
+ fill: fill3,
3945
+ stroke: options2?.stroke,
3946
+ shadow: options2?.shadow,
3947
+ innerShadow: options2?.innerShadow,
3948
+ glow: options2?.glow,
3949
+ softEdge: options2?.softEdge,
3950
+ reflection: options2?.reflection
3951
+ };
3952
+ }
3842
3953
  function mapTextStyleInput(opts) {
3843
3954
  if (!opts) {
3844
3955
  return {};
@@ -3940,11 +4051,7 @@ function createTextElement(text2, options2) {
3940
4051
  text: plainText,
3941
4052
  textStyle: mapTextStyleInput(textStyleBase),
3942
4053
  textSegments: buildTextSegments(text2, textStyleBase),
3943
- shapeStyle: buildShapeStyle({
3944
- fill: options2?.fill,
3945
- stroke: options2?.stroke,
3946
- shadow: options2?.shadow
3947
- })
4054
+ shapeStyle: buildShapeStyle(effectInputs(options2, options2?.fill))
3948
4055
  };
3949
4056
  }
3950
4057
  function createShapeElement(shapeType, options2) {
@@ -3957,11 +4064,9 @@ function createShapeElement(shapeType, options2) {
3957
4064
  opacity: options2?.opacity,
3958
4065
  shapeType,
3959
4066
  shapeAdjustments: options2?.adjustments,
3960
- shapeStyle: buildShapeStyle({
3961
- fill: options2?.fill ?? { type: "solid", color: "#4472C4" },
3962
- stroke: options2?.stroke,
3963
- shadow: options2?.shadow
3964
- })
4067
+ shapeStyle: buildShapeStyle(
4068
+ effectInputs(options2, options2?.fill ?? { type: "solid", color: "#4472C4" })
4069
+ )
3965
4070
  };
3966
4071
  if (options2?.text) {
3967
4072
  el.text = options2.text;
@@ -3973,11 +4078,19 @@ function createShapeElement(shapeType, options2) {
3973
4078
  function createConnectorElement(options2) {
3974
4079
  const p = pos("connector", options2);
3975
4080
  const connType = options2?.type === "bent" ? "bentConnector3" : options2?.type === "curved" ? "curvedConnector3" : "straightConnector1";
4081
+ const strokeInput = options2?.stroke;
4082
+ const stroke = mapStrokeToShapeStyle({
4083
+ ...strokeInput,
4084
+ color: strokeInput?.color ?? "#000000",
4085
+ width: strokeInput?.width ?? 1
4086
+ });
3976
4087
  const style = {
3977
- ...mapStrokeToShapeStyle(options2?.stroke ?? { color: "#000000", width: 1 }),
3978
- connectorStartArrow: options2?.startArrow ?? "none",
3979
- connectorEndArrow: options2?.endArrow ?? "none"
4088
+ ...stroke,
4089
+ ...connectorLineEndOverride("Start", options2?.startArrow),
4090
+ ...connectorLineEndOverride("End", options2?.endArrow)
3980
4091
  };
4092
+ style.connectorStartArrow ??= "none";
4093
+ style.connectorEndArrow ??= "none";
3981
4094
  if (options2?.from) {
3982
4095
  style.connectorStartConnection = {
3983
4096
  shapeId: options2.from.elementId,
@@ -4157,9 +4270,8 @@ function createFreeformElement(pathData, options2) {
4157
4270
  pathHeight,
4158
4271
  customGeometryPaths,
4159
4272
  shapeStyle: buildShapeStyle({
4160
- fill: options2?.fill ?? { type: "none" },
4161
- stroke: options2?.stroke ?? { color: "#000000", width: 2 },
4162
- shadow: options2?.shadow
4273
+ ...effectInputs(options2, options2?.fill ?? { type: "none" }),
4274
+ stroke: options2?.stroke ?? { color: "#000000", width: 2 }
4163
4275
  })
4164
4276
  };
4165
4277
  if (options2?.text) {
@@ -4176,6 +4288,7 @@ var init_ElementFactory = __esm({
4176
4288
  init_custom_geometry();
4177
4289
  init_chart_gradient_input();
4178
4290
  init_chart_layout_operations();
4291
+ init_shape_style_input();
4179
4292
  idCounter = 0;
4180
4293
  DEFAULTS = {
4181
4294
  text: { x: 100, y: 100, width: 600, height: 50 },
@@ -12782,7 +12895,8 @@ var init_preset_shape_definitions_table = __esm({
12782
12895
  gd16("stAng", "pin 0 adj1 21599999"),
12783
12896
  gd16("endAng", "pin 0 adj2 21599999"),
12784
12897
  gd16("swAng", "+- endAng 0 stAng"),
12785
- gd16("swAng2", "?: swAng swAng +- 21600000 swAng 0"),
12898
+ gd16("swAngWrap", "+- swAng 21600000 0"),
12899
+ gd16("swAng2", "?: swAng swAng swAngWrap"),
12786
12900
  gd16("stx", "cos wd2 stAng"),
12787
12901
  gd16("sty", "sin hd2 stAng"),
12788
12902
  gd16("x1", "+- hc stx 0"),
@@ -12827,7 +12941,8 @@ var init_preset_shape_definitions_table = __esm({
12827
12941
  gd16("stAng", "pin 0 adj1 21599999"),
12828
12942
  gd16("endAng", "pin 0 adj2 21599999"),
12829
12943
  gd16("swAng", "+- endAng 0 stAng"),
12830
- gd16("swAng2", "?: swAng swAng +- 21600000 swAng 0"),
12944
+ gd16("swAngWrap", "+- swAng 21600000 0"),
12945
+ gd16("swAng2", "?: swAng swAng swAngWrap"),
12831
12946
  gd16("stx", "cos wd2 stAng"),
12832
12947
  gd16("sty", "sin hd2 stAng"),
12833
12948
  gd16("x1", "+- hc stx 0"),
@@ -12851,7 +12966,8 @@ var init_preset_shape_definitions_table = __esm({
12851
12966
  gd16("stAng", "pin 0 adj1 21599999"),
12852
12967
  gd16("endAng", "pin 0 adj2 21599999"),
12853
12968
  gd16("swAng", "+- endAng 0 stAng"),
12854
- gd16("swAng2", "?: swAng swAng +- 21600000 swAng 0"),
12969
+ gd16("swAngWrap", "+- swAng 21600000 0"),
12970
+ gd16("swAng2", "?: swAng swAng swAngWrap"),
12855
12971
  gd16("stx", "cos wd2 stAng"),
12856
12972
  gd16("sty", "sin hd2 stAng"),
12857
12973
  gd16("x1", "+- hc stx 0"),
@@ -12946,7 +13062,8 @@ var init_preset_shape_definitions_table = __esm({
12946
13062
  gd16("iwd2", "+- wd2 0 thw"),
12947
13063
  gd16("ihd2", "+- hd2 0 thh2"),
12948
13064
  gd16("swAng", "+- endAng 0 stAng"),
12949
- gd16("swAng2", "?: swAng swAng +- 21600000 swAng 0"),
13065
+ gd16("swAngWrap", "+- swAng 21600000 0"),
13066
+ gd16("swAng2", "?: swAng swAng swAngWrap"),
12950
13067
  gd16("mswAng", "+- 0 0 swAng2"),
12951
13068
  gd16("stx", "cos wd2 stAng"),
12952
13069
  gd16("sty", "sin hd2 stAng"),
@@ -57572,9 +57689,23 @@ function reorderObjectKeysByLocalName(obj, schemaOrder) {
57572
57689
  }
57573
57690
  return result;
57574
57691
  }
57575
- var EFFECT_LST_ORDER, SP_PR_ORDER2, TC_PR_BORDERS_ORDER, BLIP_FILL_ORDER, PRESENTATION_CHILD_ORDER, SHAPE_STYLE_ORDER;
57692
+ var LN_CHILD_ORDER, EFFECT_LST_ORDER, SP_PR_ORDER2, TC_PR_BORDERS_ORDER, BLIP_FILL_ORDER, PRESENTATION_CHILD_ORDER, SHAPE_STYLE_ORDER;
57576
57693
  var init_xml_reorder = __esm({
57577
57694
  "pptx/core/utils/xml-reorder.ts"() {
57695
+ LN_CHILD_ORDER = [
57696
+ "a:noFill",
57697
+ "a:solidFill",
57698
+ "a:gradFill",
57699
+ "a:pattFill",
57700
+ "a:prstDash",
57701
+ "a:custDash",
57702
+ "a:round",
57703
+ "a:bevel",
57704
+ "a:miter",
57705
+ "a:headEnd",
57706
+ "a:tailEnd",
57707
+ "a:extLst"
57708
+ ];
57578
57709
  EFFECT_LST_ORDER = [
57579
57710
  "a:blur",
57580
57711
  "a:fillOverlay",
@@ -61534,7 +61665,8 @@ var init_ConnectorXmlFactory = __esm({
61534
61665
  const { element: element2 } = init;
61535
61666
  const geometry = element2.shapeType && element2.shapeType !== "line" ? this.context.normalizePresetGeometry(element2.shapeType) : "straightConnector1";
61536
61667
  const strokeColor = element2.shapeStyle?.strokeColor || "#1F2937";
61537
- const strokeWidth = Math.max(1, element2.shapeStyle?.strokeWidth || 1);
61668
+ const requestedWidth = element2.shapeStyle?.strokeWidth;
61669
+ const strokeWidth = requestedWidth !== void 0 && requestedWidth > 0 ? requestedWidth : 1;
61538
61670
  const lineNode = {
61539
61671
  "@_w": String(Math.round(strokeWidth * this.context.emuPerPx))
61540
61672
  };
@@ -65904,6 +66036,7 @@ function buildReflectionXml(style, context) {
65904
66036
  const numericValues = [
65905
66037
  style.reflectionBlurRadius,
65906
66038
  style.reflectionStartOpacity,
66039
+ style.reflectionEndOpacity,
65907
66040
  style.reflectionDistance
65908
66041
  ];
65909
66042
  if (!numericValues.some((value) => typeof value === "number" && Number.isFinite(value) && value > 0)) {
@@ -119645,6 +119778,56 @@ var init_pptx_show_properties = __esm({
119645
119778
  }
119646
119779
  });
119647
119780
 
119781
+ // pptx/core/utils/cust-data-list-dom.ts
119782
+ function custDataContainer(doc) {
119783
+ const root = doc.documentElement;
119784
+ if (!root || root.namespaceURI !== NS.p) {
119785
+ return void 0;
119786
+ }
119787
+ if (root.localName === "presentation") {
119788
+ return root;
119789
+ }
119790
+ return CSLD_ROOTS.has(root.localName) ? first(root, "cSld", NS.p) : void 0;
119791
+ }
119792
+ function createPresentationElement(doc, container2, local) {
119793
+ return doc.createElementNS(NS.p, container2.prefix ? `${container2.prefix}:${local}` : local);
119794
+ }
119795
+ function ensureCustDataList(doc, container2) {
119796
+ const existing = first(container2, "custDataLst", NS.p);
119797
+ if (existing) {
119798
+ return existing;
119799
+ }
119800
+ const insertBefore4 = container2.localName === "presentation" ? PRESENTATION_INSERT_BEFORE : CSLD_INSERT_BEFORE;
119801
+ const list3 = createPresentationElement(doc, container2, "custDataLst");
119802
+ const before = elements(container2).find(
119803
+ (child32) => child32.namespaceURI === NS.p && insertBefore4.has(child32.localName)
119804
+ );
119805
+ container2.insertBefore(list3, before ?? null);
119806
+ return list3;
119807
+ }
119808
+ function listChildren(list3, local) {
119809
+ return elements(list3).filter((child32) => child32.namespaceURI === NS.p && child32.localName === local);
119810
+ }
119811
+ function removeIfEmpty(list3) {
119812
+ if (elements(list3).length === 0) {
119813
+ list3.parentNode?.removeChild(list3);
119814
+ }
119815
+ }
119816
+ var CSLD_ROOTS, PRESENTATION_INSERT_BEFORE, CSLD_INSERT_BEFORE;
119817
+ var init_cust_data_list_dom = __esm({
119818
+ "pptx/core/utils/cust-data-list-dom.ts"() {
119819
+ init_xml2();
119820
+ CSLD_ROOTS = /* @__PURE__ */ new Set(["sld", "notes", "sldLayout", "sldMaster", "handoutMaster"]);
119821
+ PRESENTATION_INSERT_BEFORE = /* @__PURE__ */ new Set([
119822
+ "kinsoku",
119823
+ "defaultTextStyle",
119824
+ "modifyVerifier",
119825
+ "extLst"
119826
+ ]);
119827
+ CSLD_INSERT_BEFORE = /* @__PURE__ */ new Set(["controls", "extLst"]);
119828
+ }
119829
+ });
119830
+
119648
119831
  // pptx/core/utils/customer-data-package.ts
119649
119832
  async function writeCustomerDataScopes(zip, scopes, codec2) {
119650
119833
  let nextIndex = maxCustomXmlIndex(zip) + 1;
@@ -119654,9 +119837,9 @@ async function writeCustomerDataScopes(zip, scopes, codec2) {
119654
119837
  if (!sourceXml) {
119655
119838
  continue;
119656
119839
  }
119657
- const sourceData = codec2.parse(sourceXml);
119658
- const container2 = getContainer(sourceData, scope.location);
119659
- if (!container2) {
119840
+ const sourceDoc = parseXml(sourceXml, { label: scope.sourcePartPath });
119841
+ const container2 = custDataContainer(sourceDoc);
119842
+ if (!container2 || !matchesLocation(container2, scope.location)) {
119660
119843
  continue;
119661
119844
  }
119662
119845
  const relsPath2 = relsForSourcePart(scope.sourcePartPath);
@@ -119691,12 +119874,10 @@ async function writeCustomerDataScopes(zip, scopes, codec2) {
119691
119874
  authoredEntries.push(rawEntry);
119692
119875
  contentTypes2.set(path4, entry2.contentType);
119693
119876
  }
119694
- const existingList = container2["p:custDataLst"] ?? {};
119695
- existingList["p:custData"] = authoredEntries;
119696
- placeCustomerDataList(container2, existingList, scope.location);
119877
+ replaceCustomerDataEntries(sourceDoc, container2, authoredEntries, codec2);
119697
119878
  relsRoot["Relationship"] = relationships3;
119698
119879
  zip.file(relsPath2, codec2.build(relsData));
119699
- zip.file(scope.sourcePartPath, codec2.build(sourceData));
119880
+ zip.file(scope.sourcePartPath, buildXml(sourceDoc));
119700
119881
  }
119701
119882
  await upsertContentTypes(zip, codec2, contentTypes2);
119702
119883
  }
@@ -119718,12 +119899,9 @@ async function resolveContentType(zip, codec2, path4) {
119718
119899
  );
119719
119900
  return fallback?.["@_ContentType"] ? String(fallback["@_ContentType"]) : void 0;
119720
119901
  }
119721
- function getContainer(data, location) {
119722
- if (location === "presentation") {
119723
- return data["p:presentation"];
119724
- }
119725
- const slide = data["p:sld"];
119726
- return slide?.["p:cSld"];
119902
+ function matchesLocation(container2, location) {
119903
+ const rootName = container2.ownerDocument?.documentElement?.localName;
119904
+ return rootName === (location === "presentation" ? "presentation" : "sld");
119727
119905
  }
119728
119906
  function upsertRelationship(relationships3, entry2, target) {
119729
119907
  let relationship2 = relationships3.find(
@@ -119743,27 +119921,27 @@ function upsertRelationship(relationships3, entry2, target) {
119743
119921
  function isCustomXmlRelationship(value) {
119744
119922
  return String(value ?? "").endsWith("/relationships/customXml");
119745
119923
  }
119746
- function placeCustomerDataList(container2, list3, location) {
119747
- const insertBefore4 = location === "presentation" ? /* @__PURE__ */ new Set(["p:kinsoku", "p:defaultTextStyle", "p:modifyVerifier", "p:extLst"]) : /* @__PURE__ */ new Set(["p:controls", "p:extLst"]);
119748
- const rebuilt = {};
119749
- let inserted = false;
119750
- for (const [key2, value] of Object.entries(container2)) {
119751
- if (key2 === "p:custDataLst") {
119752
- continue;
119753
- }
119754
- if (!inserted && insertBefore4.has(key2)) {
119755
- rebuilt["p:custDataLst"] = list3;
119756
- inserted = true;
119757
- }
119758
- rebuilt[key2] = value;
119759
- }
119760
- if (!inserted) {
119761
- rebuilt["p:custDataLst"] = list3;
119924
+ function replaceCustomerDataEntries(doc, container2, entries, codec2) {
119925
+ const list3 = ensureCustDataList(doc, container2);
119926
+ for (const stale of listChildren(list3, "custData")) {
119927
+ list3.removeChild(stale);
119762
119928
  }
119763
- for (const key2 of Object.keys(container2)) {
119764
- delete container2[key2];
119929
+ const anchor2 = listChildren(list3, "tags")[0] ?? null;
119930
+ for (const entry2 of entries) {
119931
+ list3.insertBefore(customerDataElement(doc, entry2, codec2), anchor2);
119765
119932
  }
119766
- Object.assign(container2, rebuilt);
119933
+ removeIfEmpty(list3);
119934
+ }
119935
+ function customerDataElement(doc, entry2, codec2) {
119936
+ const root = doc.documentElement;
119937
+ const declarations = Array.from(root.attributes).filter((attribute7) => attribute7.name === "xmlns" || attribute7.name.startsWith("xmlns:")).map((attribute7) => `${attribute7.name}="${attribute7.value}"`).join(" ");
119938
+ const fragment2 = parseXml(
119939
+ `<wrap ${declarations}>${codec2.build({ "p:custData": entry2 })}</wrap>`,
119940
+ {
119941
+ label: "p:custData"
119942
+ }
119943
+ );
119944
+ return doc.importNode(fragment2.documentElement.firstChild, true);
119767
119945
  }
119768
119946
  async function upsertContentTypes(zip, codec2, contentTypes2) {
119769
119947
  const xml = await zip.file("[Content_Types].xml")?.async("string");
@@ -119818,6 +119996,8 @@ function ensureArray16(value) {
119818
119996
  var CUSTOM_XML_RELATIONSHIP_TYPE, DEFAULT_CONTENT_TYPE;
119819
119997
  var init_customer_data_package = __esm({
119820
119998
  "pptx/core/utils/customer-data-package.ts"() {
119999
+ init_xml2();
120000
+ init_cust_data_list_dom();
119821
120001
  init_safe_path();
119822
120002
  CUSTOM_XML_RELATIONSHIP_TYPE = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml";
119823
120003
  DEFAULT_CONTENT_TYPE = "application/xml";
@@ -119825,88 +120005,60 @@ var init_customer_data_package = __esm({
119825
120005
  });
119826
120006
 
119827
120007
  // pptx/core/utils/tag-package-owning-element.ts
119828
- function resolveTagsContainer(data) {
119829
- const presentation = data["p:presentation"];
119830
- if (presentation) {
119831
- return { container: presentation, insertBefore: PRESENTATION_INSERT_BEFORE };
119832
- }
119833
- for (const rootKey of CSLD_ROOTS) {
119834
- const root = data[rootKey];
119835
- if (root) {
119836
- const cSld = root["p:cSld"] ??= {};
119837
- return { container: cSld, insertBefore: CSLD_INSERT_BEFORE };
119838
- }
119839
- }
119840
- return void 0;
120008
+ function tagsElements(doc) {
120009
+ return Array.from(doc.getElementsByTagNameNS(NS.p, "tags"));
119841
120010
  }
119842
- function placeAtKey(container2, key2, value, insertBefore4) {
119843
- const rebuilt = {};
119844
- let inserted = false;
119845
- for (const [childKey3, childValue] of Object.entries(container2)) {
119846
- if (childKey3 === key2) {
119847
- continue;
119848
- }
119849
- if (!inserted && insertBefore4.has(childKey3)) {
119850
- rebuilt[key2] = value;
119851
- inserted = true;
119852
- }
119853
- rebuilt[childKey3] = childValue;
119854
- }
119855
- if (!inserted) {
119856
- rebuilt[key2] = value;
119857
- }
119858
- for (const existingKey of Object.keys(container2)) {
119859
- delete container2[existingKey];
119860
- }
119861
- Object.assign(container2, rebuilt);
120011
+ function mentionsTagsId(xml, relationshipId2) {
120012
+ return xml.includes("tags") && xml.includes(`"${relationshipId2}"`);
119862
120013
  }
119863
- async function upsertTagsOwningElement(zip, codec2, sourcePartPath, relationshipId2) {
120014
+ async function upsertTagsOwningElement(zip, sourcePartPath, relationshipId2) {
119864
120015
  const xml = await zip.file(sourcePartPath)?.async("string");
119865
120016
  if (!xml) {
119866
120017
  return;
119867
120018
  }
119868
- const data = codec2.parse(xml);
119869
- const resolved = resolveTagsContainer(data);
119870
- if (!resolved) {
120019
+ const doc = parseXml(xml, { label: sourcePartPath });
120020
+ if (mentionsTagsId(xml, relationshipId2) && tagsElements(doc).some((tags2) => relAttr(tags2, "id") === relationshipId2)) {
119871
120021
  return;
119872
120022
  }
119873
- const { container: container2, insertBefore: insertBefore4 } = resolved;
119874
- const list3 = { ...container2["p:custDataLst"] ?? {} };
119875
- list3["p:tags"] = { "@_r:id": relationshipId2 };
119876
- placeAtKey(container2, "p:custDataLst", list3, insertBefore4);
119877
- zip.file(sourcePartPath, codec2.build(data));
119878
- }
119879
- async function removeTagsOwningElement(zip, codec2, sourcePartPath) {
119880
- const xml = await zip.file(sourcePartPath)?.async("string");
119881
- if (!xml) {
120023
+ const container2 = custDataContainer(doc);
120024
+ if (!container2) {
119882
120025
  return;
119883
120026
  }
119884
- const data = codec2.parse(xml);
119885
- const resolved = resolveTagsContainer(data);
119886
- if (!resolved) {
120027
+ const list3 = ensureCustDataList(doc, container2);
120028
+ for (const stale of listChildren(list3, "tags")) {
120029
+ list3.removeChild(stale);
120030
+ }
120031
+ const tags = createPresentationElement(doc, container2, "tags");
120032
+ tags.setAttributeNS(NS.r, "r:id", relationshipId2);
120033
+ list3.appendChild(tags);
120034
+ zip.file(sourcePartPath, buildXml(doc));
120035
+ }
120036
+ async function removeTagsOwningElement(zip, sourcePartPath, relationshipId2) {
120037
+ const xml = await zip.file(sourcePartPath)?.async("string");
120038
+ if (!xml || relationshipId2 !== void 0 && !mentionsTagsId(xml, relationshipId2)) {
119887
120039
  return;
119888
120040
  }
119889
- const list3 = resolved.container["p:custDataLst"];
119890
- if (!list3 || list3["p:tags"] === void 0) {
120041
+ const doc = parseXml(xml, { label: sourcePartPath });
120042
+ const container2 = custDataContainer(doc);
120043
+ const owned = tagsElements(doc).filter(
120044
+ (tags) => relationshipId2 === void 0 ? tags.parentNode?.parentNode === container2 : relAttr(tags, "id") === relationshipId2
120045
+ );
120046
+ if (owned.length === 0) {
119891
120047
  return;
119892
120048
  }
119893
- delete list3["p:tags"];
119894
- if (Object.keys(list3).length === 0) {
119895
- delete resolved.container["p:custDataLst"];
120049
+ for (const tags of owned) {
120050
+ const list3 = tags.parentNode;
120051
+ list3?.removeChild(tags);
120052
+ if (list3) {
120053
+ removeIfEmpty(list3);
120054
+ }
119896
120055
  }
119897
- zip.file(sourcePartPath, codec2.build(data));
120056
+ zip.file(sourcePartPath, buildXml(doc));
119898
120057
  }
119899
- var CSLD_ROOTS, PRESENTATION_INSERT_BEFORE, CSLD_INSERT_BEFORE;
119900
120058
  var init_tag_package_owning_element = __esm({
119901
120059
  "pptx/core/utils/tag-package-owning-element.ts"() {
119902
- CSLD_ROOTS = ["p:sld", "p:notes", "p:sldLayout", "p:sldMaster", "p:handoutMaster"];
119903
- PRESENTATION_INSERT_BEFORE = /* @__PURE__ */ new Set([
119904
- "p:kinsoku",
119905
- "p:defaultTextStyle",
119906
- "p:modifyVerifier",
119907
- "p:extLst"
119908
- ]);
119909
- CSLD_INSERT_BEFORE = /* @__PURE__ */ new Set(["p:controls", "p:extLst"]);
120060
+ init_xml2();
120061
+ init_cust_data_list_dom();
119910
120062
  }
119911
120063
  });
119912
120064
 
@@ -119977,12 +120129,7 @@ async function writeTagCollections(zip, collections, codec2) {
119977
120129
  collection.rawXml = { ...collection.rawXml ?? {}, "p:tagLst": root };
119978
120130
  zip.file(collection.path, codec2.build(collection.rawXml));
119979
120131
  await upsertTagRelationship(zip, codec2, collection);
119980
- await upsertTagsOwningElement(
119981
- zip,
119982
- codec2,
119983
- collection.sourcePartPath,
119984
- collection.relationshipId
119985
- );
120132
+ await upsertTagsOwningElement(zip, collection.sourcePartPath, collection.relationshipId);
119986
120133
  writtenPaths.add(collection.path);
119987
120134
  }
119988
120135
  await upsertTagContentTypes(zip, codec2, writtenPaths);
@@ -119991,7 +120138,7 @@ async function removeTagCollection(zip, codec2, collection) {
119991
120138
  if (!collection.path || !collection.sourcePartPath) {
119992
120139
  return;
119993
120140
  }
119994
- await removeTagsOwningElement(zip, codec2, collection.sourcePartPath);
120141
+ await removeTagsOwningElement(zip, collection.sourcePartPath, collection.relationshipId);
119995
120142
  await removeTagRelationship(zip, codec2, collection);
119996
120143
  zip.remove(collection.path);
119997
120144
  await removeTagContentTypeOverride(zip, codec2, collection.path);
@@ -139110,14 +139257,13 @@ function writeLineJoin(spPr, shapeStyle, owns) {
139110
139257
  }
139111
139258
  function writeShapeStroke(spPr, shapeStyle, ctx) {
139112
139259
  const owns = createLineStyleGate(shapeStyle);
139113
- if ((shapeStyle.strokeColor !== void 0 || shapeStyle.strokeFillMode === "gradient" || shapeStyle.strokeFillMode === "pattern") && // The width travels with the paint: `writeLineFill` turns a zero width
139260
+ if (typeof shapeStyle.strokeWidth === "number" && shapeStyle.strokeWidth > 0 && owns("strokeWidth")) {
139261
+ ensureLineNode(spPr)["@_w"] = String(Math.round(shapeStyle.strokeWidth * ctx.emuPerPx));
139262
+ }
139263
+ if ((shapeStyle.strokeColor !== void 0 || shapeStyle.strokeFillMode === "gradient" || shapeStyle.strokeFillMode === "pattern") && // The paint still waits on the width: `writeLineFill` turns a zero width
139114
139264
  // into `a:noFill`, so the two cannot be decided apart.
139115
139265
  owns("strokeColor", "strokeOpacity", "strokeFillMode", "strokeWidth")) {
139116
- const lineNode = ensureLineNode(spPr);
139117
- if (typeof shapeStyle.strokeWidth === "number" && shapeStyle.strokeWidth > 0 && owns("strokeWidth")) {
139118
- lineNode["@_w"] = String(Math.round(shapeStyle.strokeWidth * ctx.emuPerPx));
139119
- }
139120
- writeLineFill(lineNode, shapeStyle, ctx.parseColor);
139266
+ writeLineFill(ensureLineNode(spPr), shapeStyle, ctx.parseColor);
139121
139267
  }
139122
139268
  if (shapeStyle.strokeDash !== void 0 && owns("strokeDash")) {
139123
139269
  applyDrawingLineDash(ensureLineNode(spPr), shapeStyle);
@@ -139136,6 +139282,10 @@ function writeShapeStroke(spPr, shapeStyle, ctx) {
139136
139282
  if (ctx.lineEffectListXml && spPr["a:ln"]) {
139137
139283
  spPr["a:ln"]["a:effectLst"] = ctx.lineEffectListXml;
139138
139284
  }
139285
+ const lineNode = spPr["a:ln"];
139286
+ if (lineNode && typeof lineNode === "object" && !Array.isArray(lineNode)) {
139287
+ spPr["a:ln"] = reorderObjectKeysByLocalName(lineNode, LN_CHILD_ORDER);
139288
+ }
139139
139289
  }
139140
139290
  function writeShapeFillAndStroke(spPr, shapeStyle, ctx) {
139141
139291
  resetSpPrFormattingForStyleMatrix(spPr, shapeStyle);
@@ -139146,6 +139296,7 @@ var init_save_shape_fill_stroke = __esm({
139146
139296
  "pptx/core/core/runtime/save-shape-fill-stroke.ts"() {
139147
139297
  init_color_xml_preservation();
139148
139298
  init_drawing_line_dash();
139299
+ init_xml_reorder();
139149
139300
  init_drawing_fill_xml();
139150
139301
  init_authored_shape_style();
139151
139302
  init_fill_choice_group();
@@ -144270,7 +144421,7 @@ function writeTableStyleSectionCell3D(section, cell3D) {
144270
144421
  }
144271
144422
  tcStyle["a:cell3D"] = node2;
144272
144423
  }
144273
- var EMU_PER_PIXEL4, BORDER_SIDE_ORDER, LN_CHILD_ORDER, LN_FILL_KEYS;
144424
+ var EMU_PER_PIXEL4, BORDER_SIDE_ORDER, LN_FILL_KEYS;
144274
144425
  var init_table_style_border_write = __esm({
144275
144426
  "pptx/core/core/runtime/table-style-border-write.ts"() {
144276
144427
  init_xml_reorder();
@@ -144286,20 +144437,6 @@ var init_table_style_border_write = __esm({
144286
144437
  "a:tl2br",
144287
144438
  "a:tr2bl"
144288
144439
  ];
144289
- LN_CHILD_ORDER = [
144290
- "a:noFill",
144291
- "a:solidFill",
144292
- "a:gradFill",
144293
- "a:pattFill",
144294
- "a:prstDash",
144295
- "a:custDash",
144296
- "a:round",
144297
- "a:bevel",
144298
- "a:miter",
144299
- "a:headEnd",
144300
- "a:tailEnd",
144301
- "a:extLst"
144302
- ];
144303
144440
  LN_FILL_KEYS = ["a:noFill", "a:solidFill", "a:gradFill", "a:pattFill"];
144304
144441
  }
144305
144442
  });