docx-plus 0.1.6 → 0.1.7

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.
package/dist/index.mjs CHANGED
@@ -6461,6 +6461,49 @@ var BuilderElement = class extends XmlComponent {
6461
6461
  if (children) this.root.push(...children);
6462
6462
  }
6463
6463
  };
6464
+ /**
6465
+ * Creates a NextAttributeComponent with explicit XML attribute keys.
6466
+ *
6467
+ * This is the correct way to add non-w: namespace attributes (c:, a:, dgm:, r:)
6468
+ * to XmlComponent elements. Unlike XmlAttributeComponent which maps through xmlKeys,
6469
+ * this function takes explicit XML attribute names directly.
6470
+ *
6471
+ * @param attrs - Object with full XML attribute names (e.g., "c:val", "dgm:modelId")
6472
+ * @returns A NextAttributeComponent that produces correct _attr XML
6473
+ *
6474
+ * @example
6475
+ * ```typescript
6476
+ * // Push directly into root for attributes on the element itself:
6477
+ * this.root.push(chartAttr({ "c:idx": 0 }));
6478
+ *
6479
+ * // Wrap in a named element for child elements with attributes:
6480
+ * this.root.push(wrapEl("c:barDir", chartAttr({ "c:val": "col" })));
6481
+ * ```
6482
+ */
6483
+ const chartAttr = (attrs) => new NextAttributeComponent(Object.fromEntries(Object.entries(attrs).map(([key, value]) => [key, {
6484
+ key,
6485
+ value
6486
+ }])));
6487
+ /**
6488
+ * Wraps a component in a named XmlComponent element.
6489
+ *
6490
+ * Used with chartAttr to create child elements with attributes:
6491
+ * wrapEl("c:barDir", chartAttr({ "c:val": "col" }))
6492
+ * produces <c:barDir c:val="col"/>
6493
+ *
6494
+ * @param elementName - The XML element name
6495
+ * @param child - The child component (typically a NextAttributeComponent from chartAttr)
6496
+ * @returns An XmlComponent with the given name wrapping the child
6497
+ */
6498
+ function wrapEl(elementName, child) {
6499
+ const el = new class extends XmlComponent {
6500
+ constructor(name) {
6501
+ super(name);
6502
+ }
6503
+ }(elementName);
6504
+ el["root"].push(child);
6505
+ return el;
6506
+ }
6464
6507
  //#endregion
6465
6508
  //#region src/file/paragraph/formatting/alignment.ts
6466
6509
  /**
@@ -14010,6 +14053,64 @@ var GraphicData = class extends XmlComponent {
14010
14053
  effects: md.effects
14011
14054
  });
14012
14055
  this.root.push(wpg);
14056
+ } else if (mediaData.type === "chart") {
14057
+ this.root.push(new GraphicDataAttributes({ uri: "http://schemas.openxmlformats.org/drawingml/2006/chart" }));
14058
+ const md = mediaData;
14059
+ const chartRef = new class extends XmlComponent {
14060
+ constructor() {
14061
+ super("c:chart");
14062
+ }
14063
+ }();
14064
+ chartRef["root"].push(new NextAttributeComponent({
14065
+ xmlnsC: {
14066
+ key: "xmlns:c",
14067
+ value: "http://schemas.openxmlformats.org/drawingml/2006/chart"
14068
+ },
14069
+ xmlnsR: {
14070
+ key: "xmlns:r",
14071
+ value: "http://schemas.openxmlformats.org/officeDocument/2006/relationships"
14072
+ },
14073
+ rId: {
14074
+ key: "r:id",
14075
+ value: `rId{chart:${md.chartKey}}`
14076
+ }
14077
+ }));
14078
+ this.root.push(chartRef);
14079
+ } else if (mediaData.type === "smartart") {
14080
+ this.root.push(new GraphicDataAttributes({ uri: "http://schemas.openxmlformats.org/drawingml/2006/diagram" }));
14081
+ const md = mediaData;
14082
+ const relIds = new class extends XmlComponent {
14083
+ constructor() {
14084
+ super("dgm:relIds");
14085
+ }
14086
+ }();
14087
+ relIds["root"].push(new NextAttributeComponent({
14088
+ xmlnsDgm: {
14089
+ key: "xmlns:dgm",
14090
+ value: "http://schemas.openxmlformats.org/drawingml/2006/diagram"
14091
+ },
14092
+ xmlnsR: {
14093
+ key: "xmlns:r",
14094
+ value: "http://schemas.openxmlformats.org/officeDocument/2006/relationships"
14095
+ },
14096
+ rCs: {
14097
+ key: "r:cs",
14098
+ value: `rId{smartart-cs:${md.smartArtKey}}`
14099
+ },
14100
+ rDm: {
14101
+ key: "r:dm",
14102
+ value: `rId{smartart:${md.smartArtKey}}`
14103
+ },
14104
+ rLo: {
14105
+ key: "r:lo",
14106
+ value: `rId{smartart-lo:${md.smartArtKey}}`
14107
+ },
14108
+ rQs: {
14109
+ key: "r:qs",
14110
+ value: `rId{smartart-qs:${md.smartArtKey}}`
14111
+ }
14112
+ }));
14113
+ this.root.push(relIds);
14013
14114
  } else {
14014
14115
  this.root.push(new GraphicDataAttributes({ uri: "http://schemas.openxmlformats.org/drawingml/2006/picture" }));
14015
14116
  const pic = new Pic({
@@ -15220,6 +15321,896 @@ var ImageRun = class extends Run {
15220
15321
  }
15221
15322
  };
15222
15323
  //#endregion
15324
+ //#region src/file/chart/axes/axes.ts
15325
+ /**
15326
+ * Chart axes — c:catAx and c:valAx.
15327
+ *
15328
+ * @module
15329
+ */
15330
+ /**
15331
+ * c:catAx — category axis.
15332
+ */
15333
+ var CatAx = class extends XmlComponent {
15334
+ constructor(axId, crossAx) {
15335
+ super("c:catAx");
15336
+ this.root.push(wrapEl("c:axId", chartAttr({ val: axId })));
15337
+ this.root.push(wrapEl("c:crossAx", chartAttr({ val: crossAx })));
15338
+ this.root.push(new EmptyElement("c:scaling"));
15339
+ this.root.push(new EmptyElement("c:delete"));
15340
+ this.root.push(wrapEl("c:axPos", chartAttr({ val: "b" })));
15341
+ this.root.push(wrapEl("c:auto", chartAttr({ val: true })));
15342
+ this.root.push(wrapEl("c:lblOffset", chartAttr({ val: "100" })));
15343
+ this.root.push(wrapEl("c:noMultiLvlLbl", chartAttr({ val: false })));
15344
+ }
15345
+ };
15346
+ /**
15347
+ * c:valAx — value axis.
15348
+ */
15349
+ var ValAx = class extends XmlComponent {
15350
+ constructor(axId, crossAx) {
15351
+ super("c:valAx");
15352
+ this.root.push(wrapEl("c:axId", chartAttr({ val: axId })));
15353
+ this.root.push(wrapEl("c:crossAx", chartAttr({ val: crossAx })));
15354
+ this.root.push(new EmptyElement("c:scaling"));
15355
+ this.root.push(new EmptyElement("c:delete"));
15356
+ this.root.push(wrapEl("c:axPos", chartAttr({ val: "l" })));
15357
+ this.root.push(wrapEl("c:numFmt", chartAttr({
15358
+ formatCode: "General",
15359
+ sourceLinked: true
15360
+ })));
15361
+ this.root.push(new EmptyElement("c:majorTickMark"));
15362
+ this.root.push(new EmptyElement("c:minorTickMark"));
15363
+ this.root.push(new EmptyElement("c:tickLblPos"));
15364
+ this.root.push(new EmptyElement("c:spPr"));
15365
+ }
15366
+ };
15367
+ //#endregion
15368
+ //#region src/file/chart/series/series-data.ts
15369
+ /**
15370
+ * Chart series data helpers — creates c:strRef and c:numRef structures.
15371
+ *
15372
+ * @module
15373
+ */
15374
+ /**
15375
+ * Creates a c:strRef element with string literal cache.
15376
+ */
15377
+ const createStrRef = (values) => {
15378
+ return new StrRef(typeof values === "string" ? [values] : values);
15379
+ };
15380
+ /**
15381
+ * Creates a c:numRef element with numeric literal cache.
15382
+ */
15383
+ const createNumRef = (values) => new NumRef(values);
15384
+ var StrRef = class extends XmlComponent {
15385
+ constructor(values) {
15386
+ super("c:strRef");
15387
+ this.root.push(new EmptyElement("c:f"));
15388
+ this.root.push(new StrCache(values));
15389
+ }
15390
+ };
15391
+ var StrCache = class extends XmlComponent {
15392
+ constructor(values) {
15393
+ super("c:strCache");
15394
+ this.root.push(wrapEl("c:ptCount", chartAttr({ val: values.length })));
15395
+ for (let i = 0; i < values.length; i++) this.root.push(new StrPt(i, values[i]));
15396
+ }
15397
+ };
15398
+ var StrPt = class extends XmlComponent {
15399
+ constructor(index, value) {
15400
+ super("c:pt");
15401
+ this.root.push(chartAttr({ idx: index }));
15402
+ this.root.push(new StringValue("c:v", value));
15403
+ }
15404
+ };
15405
+ var NumRef = class extends XmlComponent {
15406
+ constructor(values) {
15407
+ super("c:numRef");
15408
+ this.root.push(new EmptyElement("c:f"));
15409
+ this.root.push(new NumCache(values));
15410
+ }
15411
+ };
15412
+ var NumCache = class extends XmlComponent {
15413
+ constructor(values) {
15414
+ super("c:numCache");
15415
+ this.root.push(wrapEl("c:ptCount", chartAttr({ val: values.length })));
15416
+ this.root.push(new FormatCode("General"));
15417
+ for (let i = 0; i < values.length; i++) this.root.push(new NumPt(i, values[i]));
15418
+ }
15419
+ };
15420
+ var NumPt = class extends XmlComponent {
15421
+ constructor(index, value) {
15422
+ super("c:pt");
15423
+ this.root.push(chartAttr({ idx: index }));
15424
+ this.root.push(new StringValue("c:v", String(value)));
15425
+ }
15426
+ };
15427
+ var FormatCode = class extends XmlComponent {
15428
+ constructor(code) {
15429
+ super("c:formatCode");
15430
+ this.root.push(code);
15431
+ }
15432
+ };
15433
+ var StringValue = class extends XmlComponent {
15434
+ constructor(name, val) {
15435
+ super(name);
15436
+ this.root.push(val);
15437
+ }
15438
+ };
15439
+ //#endregion
15440
+ //#region src/file/chart/chart-types/area-chart.ts
15441
+ /**
15442
+ * Area chart XML component (c:areaChart).
15443
+ *
15444
+ * @module
15445
+ */
15446
+ var AreaChart = class extends XmlComponent {
15447
+ constructor(options) {
15448
+ super("c:areaChart");
15449
+ this.root.push(wrapEl("c:grouping", chartAttr({ val: "standard" })));
15450
+ for (let i = 0; i < options.series.length; i++) this.root.push(new AreaSeries(i, options.series[i], options.categories));
15451
+ this.root.push(wrapEl("c:axId", chartAttr({ val: 10 })));
15452
+ this.root.push(wrapEl("c:axId", chartAttr({ val: 20 })));
15453
+ }
15454
+ };
15455
+ var AreaSeries = class extends XmlComponent {
15456
+ constructor(index, series, categories) {
15457
+ super("c:ser");
15458
+ this.root.push(wrapEl("c:idx", chartAttr({ val: index })));
15459
+ this.root.push(wrapEl("c:order", chartAttr({ val: index })));
15460
+ this.root.push(new SeriesTx$4(series.name));
15461
+ this.root.push(new SeriesCat$3(categories));
15462
+ this.root.push(new SeriesVal$3(series.values));
15463
+ this.root.push(new EmptyElement("c:spPr"));
15464
+ }
15465
+ };
15466
+ var SeriesTx$4 = class extends XmlComponent {
15467
+ constructor(name) {
15468
+ super("c:tx");
15469
+ this.root.push(createStrRef(name));
15470
+ }
15471
+ };
15472
+ var SeriesCat$3 = class extends XmlComponent {
15473
+ constructor(categories) {
15474
+ super("c:cat");
15475
+ this.root.push(createStrRef(categories));
15476
+ }
15477
+ };
15478
+ var SeriesVal$3 = class extends XmlComponent {
15479
+ constructor(values) {
15480
+ super("c:val");
15481
+ this.root.push(createNumRef(values));
15482
+ }
15483
+ };
15484
+ //#endregion
15485
+ //#region src/file/chart/chart-types/bar-chart.ts
15486
+ /**
15487
+ * Bar/Column chart XML component (c:barChart).
15488
+ *
15489
+ * @module
15490
+ */
15491
+ /**
15492
+ * CT_BarChart — bar or column chart type.
15493
+ */
15494
+ var BarChart = class extends XmlComponent {
15495
+ constructor(options) {
15496
+ super("c:barChart");
15497
+ this.root.push(wrapEl("c:barDir", chartAttr({ val: options.barDirection })));
15498
+ this.root.push(wrapEl("c:grouping", chartAttr({ val: "clustered" })));
15499
+ for (let i = 0; i < options.series.length; i++) this.root.push(new BarSeries(i, options.series[i], options.categories));
15500
+ this.root.push(wrapEl("c:axId", chartAttr({ val: 10 })));
15501
+ this.root.push(wrapEl("c:axId", chartAttr({ val: 20 })));
15502
+ }
15503
+ };
15504
+ var BarSeries = class extends XmlComponent {
15505
+ constructor(index, series, categories) {
15506
+ super("c:ser");
15507
+ this.root.push(wrapEl("c:idx", chartAttr({ val: index })));
15508
+ this.root.push(wrapEl("c:order", chartAttr({ val: index })));
15509
+ this.root.push(new SeriesTx$3(series.name));
15510
+ this.root.push(new SeriesCat$2(categories));
15511
+ this.root.push(new SeriesVal$2(series.values));
15512
+ this.root.push(new EmptyElement("c:spPr"));
15513
+ }
15514
+ };
15515
+ var SeriesTx$3 = class extends XmlComponent {
15516
+ constructor(name) {
15517
+ super("c:tx");
15518
+ this.root.push(createStrRef(name));
15519
+ }
15520
+ };
15521
+ var SeriesCat$2 = class extends XmlComponent {
15522
+ constructor(categories) {
15523
+ super("c:cat");
15524
+ this.root.push(createStrRef(categories));
15525
+ }
15526
+ };
15527
+ var SeriesVal$2 = class extends XmlComponent {
15528
+ constructor(values) {
15529
+ super("c:val");
15530
+ this.root.push(createNumRef(values));
15531
+ }
15532
+ };
15533
+ //#endregion
15534
+ //#region src/file/chart/chart-types/line-chart.ts
15535
+ /**
15536
+ * Line chart XML component (c:lineChart).
15537
+ *
15538
+ * @module
15539
+ */
15540
+ var LineChart = class extends XmlComponent {
15541
+ constructor(options) {
15542
+ super("c:lineChart");
15543
+ this.root.push(wrapEl("c:grouping", chartAttr({ val: "standard" })));
15544
+ for (let i = 0; i < options.series.length; i++) this.root.push(new LineSeries(i, options.series[i], options.categories));
15545
+ this.root.push(wrapEl("c:axId", chartAttr({ val: 10 })));
15546
+ this.root.push(wrapEl("c:axId", chartAttr({ val: 20 })));
15547
+ }
15548
+ };
15549
+ var LineSeries = class extends XmlComponent {
15550
+ constructor(index, series, categories) {
15551
+ super("c:ser");
15552
+ this.root.push(wrapEl("c:idx", chartAttr({ val: index })));
15553
+ this.root.push(wrapEl("c:order", chartAttr({ val: index })));
15554
+ this.root.push(new SeriesTx$2(series.name));
15555
+ this.root.push(new SeriesCat$1(categories));
15556
+ this.root.push(new SeriesVal$1(series.values));
15557
+ this.root.push(new EmptyElement("c:spPr"));
15558
+ this.root.push(new Marker$1());
15559
+ }
15560
+ };
15561
+ var Marker$1 = class extends XmlComponent {
15562
+ constructor() {
15563
+ super("c:marker");
15564
+ this.root.push(wrapEl("c:symbol", chartAttr({ val: "none" })));
15565
+ }
15566
+ };
15567
+ var SeriesTx$2 = class extends XmlComponent {
15568
+ constructor(name) {
15569
+ super("c:tx");
15570
+ this.root.push(createStrRef(name));
15571
+ }
15572
+ };
15573
+ var SeriesCat$1 = class extends XmlComponent {
15574
+ constructor(categories) {
15575
+ super("c:cat");
15576
+ this.root.push(createStrRef(categories));
15577
+ }
15578
+ };
15579
+ var SeriesVal$1 = class extends XmlComponent {
15580
+ constructor(values) {
15581
+ super("c:val");
15582
+ this.root.push(createNumRef(values));
15583
+ }
15584
+ };
15585
+ //#endregion
15586
+ //#region src/file/chart/chart-types/pie-chart.ts
15587
+ /**
15588
+ * Pie chart XML component (c:pieChart).
15589
+ *
15590
+ * @module
15591
+ */
15592
+ var PieChart = class extends XmlComponent {
15593
+ constructor(options) {
15594
+ super("c:pieChart");
15595
+ this.root.push(wrapEl("c:varyColors", chartAttr({ val: true })));
15596
+ const series = options.series[0];
15597
+ if (series) this.root.push(new PieSeries(series, options.categories));
15598
+ }
15599
+ };
15600
+ var PieSeries = class extends XmlComponent {
15601
+ constructor(series, categories) {
15602
+ super("c:ser");
15603
+ this.root.push(wrapEl("c:idx", chartAttr({ val: 0 })));
15604
+ this.root.push(wrapEl("c:order", chartAttr({ val: 0 })));
15605
+ this.root.push(new SeriesTx$1(series.name));
15606
+ this.root.push(new SeriesCat(categories));
15607
+ this.root.push(new SeriesVal(series.values));
15608
+ for (let i = 0; i < categories.length; i++) this.root.push(wrapEl("c:dPt", chartAttr({ idx: i })));
15609
+ this.root.push(new EmptyElement("c:spPr"));
15610
+ }
15611
+ };
15612
+ var SeriesTx$1 = class extends XmlComponent {
15613
+ constructor(name) {
15614
+ super("c:tx");
15615
+ this.root.push(createStrRef(name));
15616
+ }
15617
+ };
15618
+ var SeriesCat = class extends XmlComponent {
15619
+ constructor(categories) {
15620
+ super("c:cat");
15621
+ this.root.push(createStrRef(categories));
15622
+ }
15623
+ };
15624
+ var SeriesVal = class extends XmlComponent {
15625
+ constructor(values) {
15626
+ super("c:val");
15627
+ this.root.push(createNumRef(values));
15628
+ }
15629
+ };
15630
+ //#endregion
15631
+ //#region src/file/chart/chart-types/scatter-chart.ts
15632
+ /**
15633
+ * Scatter chart XML component (c:scatterChart).
15634
+ *
15635
+ * @module
15636
+ */
15637
+ var ScatterChart = class extends XmlComponent {
15638
+ constructor(options) {
15639
+ super("c:scatterChart");
15640
+ for (let i = 0; i < options.series.length; i++) this.root.push(new ScatterSeries(i, options.series[i], options.categories));
15641
+ this.root.push(wrapEl("c:axId", chartAttr({ val: 10 })));
15642
+ this.root.push(wrapEl("c:axId", chartAttr({ val: 20 })));
15643
+ this.root.push(wrapEl("c:axId", chartAttr({ val: 30 })));
15644
+ }
15645
+ };
15646
+ var ScatterSeries = class extends XmlComponent {
15647
+ constructor(index, series, categories) {
15648
+ super("c:ser");
15649
+ this.root.push(wrapEl("c:idx", chartAttr({ val: index })));
15650
+ this.root.push(wrapEl("c:order", chartAttr({ val: index })));
15651
+ this.root.push(new SeriesTx(series.name));
15652
+ this.root.push(new XValues(categories));
15653
+ this.root.push(new YValues(series.values));
15654
+ this.root.push(new EmptyElement("c:spPr"));
15655
+ this.root.push(new Marker());
15656
+ }
15657
+ };
15658
+ var SeriesTx = class extends XmlComponent {
15659
+ constructor(_name) {
15660
+ super("c:tx");
15661
+ this.root.push(createNumRef([1]));
15662
+ }
15663
+ };
15664
+ var XValues = class extends XmlComponent {
15665
+ constructor(categories) {
15666
+ super("c:xVal");
15667
+ const xValues = categories.map((_, i) => i + 1);
15668
+ this.root.push(createNumRef(xValues));
15669
+ }
15670
+ };
15671
+ var YValues = class extends XmlComponent {
15672
+ constructor(values) {
15673
+ super("c:yVal");
15674
+ this.root.push(createNumRef(values));
15675
+ }
15676
+ };
15677
+ var Marker = class extends XmlComponent {
15678
+ constructor() {
15679
+ super("c:marker");
15680
+ this.root.push(wrapEl("c:symbol", chartAttr({ val: "circle" })));
15681
+ this.root.push(new EmptyElement("c:size"));
15682
+ }
15683
+ };
15684
+ //#endregion
15685
+ //#region src/file/chart/chart-types/create-chart-type.ts
15686
+ /**
15687
+ * Creates the appropriate chart type XML component.
15688
+ */
15689
+ const createChartType = (options) => {
15690
+ switch (options.type) {
15691
+ case "column":
15692
+ case "bar": return new BarChart({
15693
+ barDirection: options.type === "column" ? "col" : "bar",
15694
+ categories: options.categories,
15695
+ series: options.series
15696
+ });
15697
+ case "line": return new LineChart({
15698
+ categories: options.categories,
15699
+ series: options.series
15700
+ });
15701
+ case "pie": return new PieChart({
15702
+ categories: options.categories,
15703
+ series: options.series
15704
+ });
15705
+ case "area": return new AreaChart({
15706
+ categories: options.categories,
15707
+ series: options.series
15708
+ });
15709
+ case "scatter": return new ScatterChart({
15710
+ categories: options.categories,
15711
+ series: options.series
15712
+ });
15713
+ default: throw new Error(`Chart type "${options.type}" is not supported`);
15714
+ }
15715
+ };
15716
+ //#endregion
15717
+ //#region src/file/chart/title.ts
15718
+ /**
15719
+ * Chart title (c:title).
15720
+ *
15721
+ * @module
15722
+ */
15723
+ /**
15724
+ * c:title — chart title overlay.
15725
+ */
15726
+ var ChartTitle = class extends XmlComponent {
15727
+ constructor(title) {
15728
+ super("c:title");
15729
+ this.root.push(new TitleTx(title));
15730
+ this.root.push(new TitleOverlay());
15731
+ }
15732
+ };
15733
+ var TitleTx = class extends XmlComponent {
15734
+ constructor(title) {
15735
+ super("c:tx");
15736
+ const rich = new class extends XmlComponent {
15737
+ constructor() {
15738
+ super("c:rich");
15739
+ }
15740
+ }();
15741
+ rich["root"].push(new class extends XmlComponent {
15742
+ constructor() {
15743
+ super("a:bodyPr");
15744
+ }
15745
+ }());
15746
+ rich["root"].push(new class extends XmlComponent {
15747
+ constructor() {
15748
+ super("a:lstStyle");
15749
+ }
15750
+ }());
15751
+ const p = new class extends XmlComponent {
15752
+ constructor() {
15753
+ super("a:p");
15754
+ }
15755
+ }();
15756
+ const r = new class extends XmlComponent {
15757
+ constructor() {
15758
+ super("a:r");
15759
+ }
15760
+ }();
15761
+ r["root"].push(new class extends XmlComponent {
15762
+ constructor() {
15763
+ super("a:t");
15764
+ }
15765
+ }(title));
15766
+ p["root"].push(r);
15767
+ rich["root"].push(p);
15768
+ this.root.push(rich);
15769
+ }
15770
+ };
15771
+ var TitleOverlay = class extends XmlComponent {
15772
+ constructor() {
15773
+ super("c:overlay");
15774
+ this.root.push(chartAttr({ val: 0 }));
15775
+ }
15776
+ };
15777
+ //#endregion
15778
+ //#region src/file/chart/chart-space.ts
15779
+ /**
15780
+ * ChartSpace — root element for chart XML parts (c:chartSpace).
15781
+ *
15782
+ * @module
15783
+ */
15784
+ /**
15785
+ * c:chartSpace — root element for chart XML parts.
15786
+ */
15787
+ var ChartSpace = class extends XmlComponent {
15788
+ constructor(options) {
15789
+ super("c:chartSpace");
15790
+ this.root.push(chartAttr({
15791
+ "xmlns:a": "http://schemas.openxmlformats.org/drawingml/2006/main",
15792
+ "xmlns:c": "http://schemas.openxmlformats.org/drawingml/2006/chart",
15793
+ "xmlns:r": "http://schemas.openxmlformats.org/officeDocument/2006/relationships"
15794
+ }));
15795
+ const chart = new ChartContainer();
15796
+ if (options.title) chart["root"].push(new ChartTitle(options.title));
15797
+ chart["root"].push(new EmptyElement("c:autoTitleDeleted"));
15798
+ const plotArea = new PlotArea();
15799
+ plotArea["root"].push(createChartType({
15800
+ categories: options.categories,
15801
+ series: options.series,
15802
+ type: options.type
15803
+ }));
15804
+ if (options.type !== "pie") if (options.type === "scatter") {
15805
+ plotArea["root"].push(new ValAx(10, 20));
15806
+ plotArea["root"].push(new ValAx(20, 10));
15807
+ } else {
15808
+ plotArea["root"].push(new CatAx(10, 20));
15809
+ plotArea["root"].push(new ValAx(20, 10));
15810
+ }
15811
+ chart["root"].push(plotArea);
15812
+ if (options.showLegend !== false) chart["root"].push(createLegend());
15813
+ this.root.push(chart);
15814
+ if (options.style !== void 0) this.root.push(new ChartStyle(options.style));
15815
+ }
15816
+ };
15817
+ var ChartContainer = class extends XmlComponent {
15818
+ constructor() {
15819
+ super("c:chart");
15820
+ }
15821
+ };
15822
+ var PlotArea = class extends XmlComponent {
15823
+ constructor() {
15824
+ super("c:plotArea");
15825
+ }
15826
+ };
15827
+ function createLegend() {
15828
+ const legend = new class extends XmlComponent {
15829
+ constructor() {
15830
+ super("c:legend");
15831
+ }
15832
+ }();
15833
+ legend["root"].push(new EmptyElement("c:legendPos"));
15834
+ legend["root"].push(new EmptyElement("c:layout"));
15835
+ legend["root"].push(new EmptyElement("c:overlay"));
15836
+ return legend;
15837
+ }
15838
+ var ChartStyle = class extends XmlComponent {
15839
+ constructor(val) {
15840
+ super("c:style");
15841
+ this.root.push(chartAttr({ val: String(val) }));
15842
+ }
15843
+ };
15844
+ //#endregion
15845
+ //#region src/file/paragraph/run/chart-run.ts
15846
+ /**
15847
+ * ChartRun module for embedding charts in WordprocessingML documents.
15848
+ *
15849
+ * Charts are stored as independent XML parts (word/charts/chart{n}.xml)
15850
+ * and referenced from document.xml via drawing relationships.
15851
+ *
15852
+ * @module
15853
+ */
15854
+ /**
15855
+ * Represents an embedded chart in a WordprocessingML document.
15856
+ *
15857
+ * @publicApi
15858
+ *
15859
+ * @example
15860
+ * ```typescript
15861
+ * new ChartRun({
15862
+ * type: "column",
15863
+ * data: {
15864
+ * categories: ["Q1", "Q2", "Q3", "Q4"],
15865
+ * series: [
15866
+ * { name: "Sales", values: [100, 200, 300, 400] },
15867
+ * ],
15868
+ * },
15869
+ * transformation: { width: 500, height: 300 },
15870
+ * title: "Quarterly Sales",
15871
+ * });
15872
+ * ```
15873
+ */
15874
+ var ChartRun = class extends Run {
15875
+ constructor(options) {
15876
+ super({});
15877
+ _defineProperty(this, "chartOptions", void 0);
15878
+ _defineProperty(this, "chartKey", void 0);
15879
+ this.chartOptions = options;
15880
+ this.chartKey = `chart_${this.hashChartData(options)}`;
15881
+ const drawing = new Drawing({
15882
+ chartKey: this.chartKey,
15883
+ transformation: createTransformation(options.transformation),
15884
+ type: "chart"
15885
+ }, {
15886
+ docProperties: options.altText,
15887
+ floating: options.floating
15888
+ });
15889
+ this.root.push(drawing);
15890
+ }
15891
+ prepForXml(context) {
15892
+ const chartSpace = new ChartSpace({
15893
+ categories: this.chartOptions.data.categories,
15894
+ series: this.chartOptions.data.series,
15895
+ showLegend: this.chartOptions.showLegend,
15896
+ style: this.chartOptions.style,
15897
+ title: this.chartOptions.title,
15898
+ type: this.chartOptions.type
15899
+ });
15900
+ context.file.Charts.addChart(this.chartKey, {
15901
+ chartSpace,
15902
+ key: this.chartKey
15903
+ });
15904
+ return super.prepForXml(context);
15905
+ }
15906
+ hashChartData(options) {
15907
+ const data = `${options.type}:${JSON.stringify(options.data)}`;
15908
+ let hash = 0;
15909
+ for (let i = 0; i < data.length; i++) {
15910
+ const char = data.charCodeAt(i);
15911
+ hash = (hash << 5) - hash + char | 0;
15912
+ }
15913
+ return Math.abs(hash);
15914
+ }
15915
+ };
15916
+ //#endregion
15917
+ //#region src/file/smartart/data-model/connection.ts
15918
+ /**
15919
+ * dgm:cxn — SmartArt data model connection (edge).
15920
+ *
15921
+ * @module
15922
+ */
15923
+ /**
15924
+ * CT_Cxn — a single connection in the data model.
15925
+ */
15926
+ var Connection = class extends XmlComponent {
15927
+ constructor(modelId, srcId, destId, type = "parOf", srcOrd = 0, destOrd = 0) {
15928
+ super("dgm:cxn");
15929
+ this.root.push(chartAttr({
15930
+ modelId,
15931
+ srcId,
15932
+ destId,
15933
+ type,
15934
+ srcOrd,
15935
+ destOrd
15936
+ }));
15937
+ }
15938
+ };
15939
+ //#endregion
15940
+ //#region src/file/smartart/data-model/data-model.ts
15941
+ /**
15942
+ * dgm:dataModel — SmartArt data model root element.
15943
+ *
15944
+ * @module
15945
+ */
15946
+ /**
15947
+ * CT_DataModel — the complete data model for a SmartArt diagram.
15948
+ */
15949
+ var DataModel = class extends XmlComponent {
15950
+ constructor(points, connections) {
15951
+ super("dgm:dataModel");
15952
+ this.root.push(chartAttr({
15953
+ "xmlns:a": "http://schemas.openxmlformats.org/drawingml/2006/main",
15954
+ "xmlns:dgm": "http://schemas.openxmlformats.org/drawingml/2006/diagram"
15955
+ }));
15956
+ const ptLst = new class extends XmlComponent {
15957
+ constructor() {
15958
+ super("dgm:ptLst");
15959
+ }
15960
+ }();
15961
+ for (const pt of points) ptLst["root"].push(pt);
15962
+ this.root.push(ptLst);
15963
+ const cxnLst = new class extends XmlComponent {
15964
+ constructor() {
15965
+ super("dgm:cxnLst");
15966
+ }
15967
+ }();
15968
+ for (const cxn of connections) cxnLst["root"].push(cxn);
15969
+ this.root.push(cxnLst);
15970
+ this.root.push(new EmptyElement$2("dgm:bg"));
15971
+ this.root.push(new EmptyElement$2("dgm:whole"));
15972
+ }
15973
+ };
15974
+ /**
15975
+ * Helper for empty self-closing XML elements.
15976
+ */
15977
+ var EmptyElement$2 = class extends XmlComponent {
15978
+ constructor(tag) {
15979
+ super(tag);
15980
+ }
15981
+ };
15982
+ //#endregion
15983
+ //#region src/file/smartart/data-model/point.ts
15984
+ /**
15985
+ * dgm:pt — SmartArt data model point (node).
15986
+ *
15987
+ * @module
15988
+ */
15989
+ /**
15990
+ * CT_Pt — a single point in the data model.
15991
+ */
15992
+ var Point = class extends XmlComponent {
15993
+ constructor(modelId, text, type = "node") {
15994
+ super("dgm:pt");
15995
+ this.root.push(chartAttr({
15996
+ modelId,
15997
+ type
15998
+ }));
15999
+ this.root.push(new PointText(text));
16000
+ }
16001
+ };
16002
+ /**
16003
+ * dgm:t — text body within a point.
16004
+ *
16005
+ * Per XSD, dgm:t has type CT_TextBody, so bodyPr/lstStyle/p
16006
+ * are direct children (no a:txBody wrapper).
16007
+ */
16008
+ var PointText = class extends XmlComponent {
16009
+ constructor(text) {
16010
+ super("dgm:t");
16011
+ this.root.push(new class extends XmlComponent {
16012
+ constructor() {
16013
+ super("a:bodyPr");
16014
+ }
16015
+ }());
16016
+ this.root.push(new class extends XmlComponent {
16017
+ constructor() {
16018
+ super("a:lstStyle");
16019
+ }
16020
+ }());
16021
+ const p = new class extends XmlComponent {
16022
+ constructor() {
16023
+ super("a:p");
16024
+ }
16025
+ }();
16026
+ if (text) {
16027
+ const r = new class extends XmlComponent {
16028
+ constructor() {
16029
+ super("a:r");
16030
+ }
16031
+ }();
16032
+ const t = new class extends XmlComponent {
16033
+ constructor() {
16034
+ super("a:t");
16035
+ }
16036
+ }();
16037
+ t["root"].push(text);
16038
+ r["root"].push(t);
16039
+ p["root"].push(r);
16040
+ }
16041
+ this.root.push(p);
16042
+ }
16043
+ };
16044
+ //#endregion
16045
+ //#region src/file/smartart/tree-to-model.ts
16046
+ /**
16047
+ * Converts a tree-shaped API into a flat data model (points + connections).
16048
+ *
16049
+ * @module
16050
+ */
16051
+ /**
16052
+ * Layout/style/color uniqueId URIs for dgm:prSet on the doc root.
16053
+ */
16054
+ const DEFAULT_LAYOUT_ID = "urn:microsoft.com/office/officeart/2005/8/layout/default";
16055
+ const DEFAULT_STYLE_ID = "urn:microsoft.com/office/officeart/2005/8/quickstyle/simple1";
16056
+ const DEFAULT_COLOR_ID = "urn:microsoft.com/office/officeart/2005/8/colors/accent1_2";
16057
+ /**
16058
+ * Creates the doc root point (type="doc") with layout/style/color prSet.
16059
+ *
16060
+ * Per XSD CT_Pt sequence: prSet, spPr, t, extLst
16061
+ * CT_ElemPropSet is attributes-only (no child elements).
16062
+ */
16063
+ function createDocPoint() {
16064
+ const pt = new class extends XmlComponent {
16065
+ constructor() {
16066
+ super("dgm:pt");
16067
+ }
16068
+ }();
16069
+ pt["root"].push(chartAttr({
16070
+ modelId: 0,
16071
+ type: "doc"
16072
+ }));
16073
+ const prSet = new class extends XmlComponent {
16074
+ constructor() {
16075
+ super("dgm:prSet");
16076
+ }
16077
+ }();
16078
+ prSet["root"].push(chartAttr({
16079
+ loTypeId: DEFAULT_LAYOUT_ID,
16080
+ loCatId: "list",
16081
+ qsTypeId: DEFAULT_STYLE_ID,
16082
+ qsCatId: "simple",
16083
+ csTypeId: DEFAULT_COLOR_ID,
16084
+ csCatId: "accent1",
16085
+ phldr: "0"
16086
+ }));
16087
+ pt["root"].push(prSet);
16088
+ pt["root"].push(new EmptyElement$1("dgm:spPr"));
16089
+ pt["root"].push(createEmptyTextBody());
16090
+ return pt;
16091
+ }
16092
+ /**
16093
+ * Creates a minimal dgm:t with empty text body.
16094
+ * Per XSD, dgm:t is CT_TextBody — bodyPr/lstStyle/p are direct children.
16095
+ */
16096
+ function createEmptyTextBody() {
16097
+ const t = new class extends XmlComponent {
16098
+ constructor() {
16099
+ super("dgm:t");
16100
+ }
16101
+ }();
16102
+ t["root"].push(new EmptyElement$1("a:bodyPr"));
16103
+ t["root"].push(new EmptyElement$1("a:lstStyle"));
16104
+ t["root"].push(new EmptyElement$1("a:p"));
16105
+ return t;
16106
+ }
16107
+ /**
16108
+ * Helper for empty self-closing XML elements.
16109
+ */
16110
+ var EmptyElement$1 = class extends XmlComponent {
16111
+ constructor(tag) {
16112
+ super(tag);
16113
+ }
16114
+ };
16115
+ /**
16116
+ * Converts a tree of nodes into flat points and connections.
16117
+ *
16118
+ * The first point is a "doc" root (type="doc") with layout/style/color prSet.
16119
+ * Subsequent points are regular "node" types connected via parOf.
16120
+ */
16121
+ const treeToModel = (nodes) => {
16122
+ const points = [];
16123
+ const connections = [];
16124
+ let nextModelId = 1;
16125
+ let nextCxnId = 100;
16126
+ points.push(createDocPoint());
16127
+ for (let i = 0; i < nodes.length; i++) {
16128
+ const walk = (node, parentId, srcOrd) => {
16129
+ const modelId = nextModelId++;
16130
+ points.push(new Point(modelId, node.text));
16131
+ connections.push(new Connection(nextCxnId++, parentId, modelId, "parOf", srcOrd));
16132
+ if (node.children) for (let j = 0; j < node.children.length; j++) walk(node.children[j], modelId, j);
16133
+ };
16134
+ walk(nodes[i], 0, i);
16135
+ }
16136
+ return {
16137
+ connections,
16138
+ points
16139
+ };
16140
+ };
16141
+ /**
16142
+ * Creates a DataModel from tree nodes.
16143
+ */
16144
+ const createDataModel = (nodes) => {
16145
+ const { connections, points } = treeToModel(nodes);
16146
+ return new DataModel(points, connections);
16147
+ };
16148
+ //#endregion
16149
+ //#region src/file/paragraph/run/smartart-run.ts
16150
+ /**
16151
+ * SmartArtRun module for embedding SmartArt diagrams in WordprocessingML documents.
16152
+ *
16153
+ * SmartArt data is stored in `word/diagrams/data{n}.xml`.
16154
+ * Layout, style, and colors reference Word's built-in definitions.
16155
+ *
16156
+ * @module
16157
+ */
16158
+ /**
16159
+ * Represents an embedded SmartArt diagram in a WordprocessingML document.
16160
+ *
16161
+ * @publicApi
16162
+ *
16163
+ * @example
16164
+ * ```typescript
16165
+ * new SmartArtRun({
16166
+ * data: {
16167
+ * nodes: [
16168
+ * { text: "Main", children: [
16169
+ * { text: "Sub 1" },
16170
+ * { text: "Sub 2" },
16171
+ * ]},
16172
+ * ],
16173
+ * },
16174
+ * transformation: { width: 500, height: 300 },
16175
+ * });
16176
+ * ```
16177
+ */
16178
+ var SmartArtRun = class extends Run {
16179
+ constructor(options) {
16180
+ super({});
16181
+ _defineProperty(this, "smartArtOptions", void 0);
16182
+ _defineProperty(this, "smartArtKey", void 0);
16183
+ this.smartArtOptions = options;
16184
+ this.smartArtKey = `smartart_${this.hashSmartArtData(options)}`;
16185
+ const drawing = new Drawing({
16186
+ smartArtKey: this.smartArtKey,
16187
+ transformation: createTransformation(options.transformation),
16188
+ type: "smartart"
16189
+ }, {
16190
+ docProperties: options.altText,
16191
+ floating: options.floating
16192
+ });
16193
+ this.root.push(drawing);
16194
+ }
16195
+ prepForXml(context) {
16196
+ const smartArtData = {
16197
+ dataModel: createDataModel(this.smartArtOptions.data.nodes),
16198
+ key: this.smartArtKey
16199
+ };
16200
+ context.file.SmartArts.addSmartArt(this.smartArtKey, smartArtData);
16201
+ return super.prepForXml(context);
16202
+ }
16203
+ hashSmartArtData(options) {
16204
+ const data = JSON.stringify(options.data);
16205
+ let hash = 0;
16206
+ for (let i = 0; i < data.length; i++) {
16207
+ const char = data.charCodeAt(i);
16208
+ hash = (hash << 5) - hash + char | 0;
16209
+ }
16210
+ return Math.abs(hash);
16211
+ }
16212
+ };
16213
+ //#endregion
15223
16214
  //#region src/file/paragraph/run/wps-shape-run.ts
15224
16215
  /**
15225
16216
  * @publicApi
@@ -23296,6 +24287,26 @@ var Bibliography = class extends XmlComponent {
23296
24287
  }
23297
24288
  };
23298
24289
  //#endregion
24290
+ //#region src/file/chart/chart-collection.ts
24291
+ /**
24292
+ * Manages chart parts in a document.
24293
+ *
24294
+ * Similar to Media, this collection stores chart XML components
24295
+ * that will be serialized into separate XML parts in the DOCX package.
24296
+ */
24297
+ var ChartCollection = class {
24298
+ constructor() {
24299
+ _defineProperty(this, "map", void 0);
24300
+ this.map = /* @__PURE__ */ new Map();
24301
+ }
24302
+ addChart(key, chartData) {
24303
+ this.map.set(key, chartData);
24304
+ }
24305
+ get Array() {
24306
+ return [...this.map.values()];
24307
+ }
24308
+ };
24309
+ //#endregion
23299
24310
  //#region src/file/content-types/content-types-attributes.ts
23300
24311
  /**
23301
24312
  * Attributes for the Types (Content Types) element.
@@ -23457,6 +24468,46 @@ var ContentTypes = class extends XmlComponent {
23457
24468
  addHeader(index) {
23458
24469
  this.root.push(createOverride("application/vnd.openxmlformats-officedocument.wordprocessingml.header+xml", `/word/header${index}.xml`));
23459
24470
  }
24471
+ /**
24472
+ * Registers a chart part in the content types.
24473
+ *
24474
+ * @param index - Chart index number (e.g., 1 for charts/chart1.xml)
24475
+ */
24476
+ addChart(index) {
24477
+ this.root.push(createOverride("application/vnd.openxmlformats-officedocument.drawingml.chart+xml", `/word/charts/chart${index}.xml`));
24478
+ }
24479
+ /**
24480
+ * Registers a diagram data part in the content types.
24481
+ *
24482
+ * @param index - Diagram data index number
24483
+ */
24484
+ addDiagramData(index) {
24485
+ this.root.push(createOverride("application/vnd.openxmlformats-officedocument.drawingml.diagramData+xml", `/word/diagrams/data${index}.xml`));
24486
+ }
24487
+ /**
24488
+ * Registers a diagram layout part in the content types.
24489
+ *
24490
+ * @param index - Diagram layout index number
24491
+ */
24492
+ addDiagramLayout(index) {
24493
+ this.root.push(createOverride("application/vnd.openxmlformats-officedocument.drawingml.diagramLayout+xml", `/word/diagrams/layout${index}.xml`));
24494
+ }
24495
+ /**
24496
+ * Registers a diagram style part in the content types.
24497
+ *
24498
+ * @param index - Diagram style index number
24499
+ */
24500
+ addDiagramStyle(index) {
24501
+ this.root.push(createOverride("application/vnd.openxmlformats-officedocument.drawingml.diagramStyle+xml", `/word/diagrams/quickStyle${index}.xml`));
24502
+ }
24503
+ /**
24504
+ * Registers a diagram colors part in the content types.
24505
+ *
24506
+ * @param index - Diagram colors index number
24507
+ */
24508
+ addDiagramColors(index) {
24509
+ this.root.push(createOverride("application/vnd.openxmlformats-officedocument.drawingml.diagramColors+xml", `/word/diagrams/colors${index}.xml`));
24510
+ }
23460
24511
  };
23461
24512
  //#endregion
23462
24513
  //#region src/file/document/document-attributes.ts
@@ -27345,6 +28396,23 @@ var Settings = class extends XmlComponent {
27345
28396
  }
27346
28397
  };
27347
28398
  //#endregion
28399
+ //#region src/file/smartart/smartart-collection.ts
28400
+ /**
28401
+ * Manages SmartArt parts in a document.
28402
+ */
28403
+ var SmartArtCollection = class {
28404
+ constructor() {
28405
+ _defineProperty(this, "map", void 0);
28406
+ this.map = /* @__PURE__ */ new Map();
28407
+ }
28408
+ addSmartArt(key, data) {
28409
+ this.map.set(key, data);
28410
+ }
28411
+ get Array() {
28412
+ return [...this.map.values()];
28413
+ }
28414
+ };
28415
+ //#endregion
27348
28416
  //#region src/file/styles/style/components.ts
27349
28417
  /**
27350
28418
  * Style components module for WordprocessingML documents.
@@ -28398,6 +29466,8 @@ var File = class {
28398
29466
  _defineProperty(this, "coreProperties", void 0);
28399
29467
  _defineProperty(this, "numbering", void 0);
28400
29468
  _defineProperty(this, "media", void 0);
29469
+ _defineProperty(this, "charts", void 0);
29470
+ _defineProperty(this, "smartArts", void 0);
28401
29471
  _defineProperty(this, "fileRelationships", void 0);
28402
29472
  _defineProperty(this, "footnotesWrapper", void 0);
28403
29473
  _defineProperty(this, "endnotesWrapper", void 0);
@@ -28441,6 +29511,8 @@ var File = class {
28441
29511
  updateFields: (_options$features2 = options.features) === null || _options$features2 === void 0 ? void 0 : _options$features2.updateFields
28442
29512
  });
28443
29513
  this.media = new Media();
29514
+ this.charts = new ChartCollection();
29515
+ this.smartArts = new SmartArtCollection();
28444
29516
  if (options.externalStyles !== void 0) {
28445
29517
  var _options$styles;
28446
29518
  const defaultStyles = new DefaultStylesFactory().newInstance((_options$styles = options.styles) === null || _options$styles === void 0 ? void 0 : _options$styles.default);
@@ -28532,6 +29604,12 @@ var File = class {
28532
29604
  get Media() {
28533
29605
  return this.media;
28534
29606
  }
29607
+ get Charts() {
29608
+ return this.charts;
29609
+ }
29610
+ get SmartArts() {
29611
+ return this.smartArts;
29612
+ }
28535
29613
  get FileRelationships() {
28536
29614
  return this.fileRelationships;
28537
29615
  }
@@ -29849,6 +30927,27 @@ var Textbox = class extends FileChild {
29849
30927
  }
29850
30928
  };
29851
30929
  //#endregion
30930
+ //#region src/file/smartart/built-in-layouts.ts
30931
+ /**
30932
+ * Built-in SmartArt layout, style, and color URIs.
30933
+ *
30934
+ * These reference Word's built-in definitions — we only need to point to them.
30935
+ *
30936
+ * @module
30937
+ */
30938
+ /** Built-in SmartArt layout URIs */
30939
+ const LAYOUTS = {
30940
+ process: "http://schemas.openxmlformats.org/drawingml/2006/diagram/process1",
30941
+ hierarchy: "http://schemas.openxmlformats.org/drawingml/2006/diagram/hierarchy1",
30942
+ cycle: "http://schemas.openxmlformats.org/drawingml/2006/diagram/cycle1",
30943
+ pyramid: "http://schemas.openxmlformats.org/drawingml/2006/diagram/pyramid1",
30944
+ list: "http://schemas.openxmlformats.org/drawingml/2006/diagram/list1"
30945
+ };
30946
+ /** Default style URI (accent 1) */
30947
+ const DEFAULT_STYLE_URI = "http://schemas.openxmlformats.org/drawingml/2006/diagramstyle/2";
30948
+ /** Default color transform URI (colorful accent 1) */
30949
+ const DEFAULT_COLOR_URI = "http://schemas.openxmlformats.org/drawingml/2006/diagramcolor/3";
30950
+ //#endregion
29852
30951
  //#region src/util/output-type.ts
29853
30952
  init__polyfill_node_stream();
29854
30953
  /**
@@ -30155,6 +31254,31 @@ var Formatter = class {
30155
31254
  }
30156
31255
  };
30157
31256
  //#endregion
31257
+ //#region src/export/packer/chart-replacer.ts
31258
+ /**
31259
+ * Replaces chart placeholder tokens with relationship IDs in XML content.
31260
+ *
31261
+ * Charts use placeholders like `{chart:chart_123}` in the document XML.
31262
+ * This class replaces them with the actual relationship IDs.
31263
+ */
31264
+ var ChartReplacer = class {
31265
+ /**
31266
+ * Replaces chart placeholder tokens with relationship IDs.
31267
+ *
31268
+ * @param xmlData - The XML string containing chart placeholders
31269
+ * @param charts - The chart collection
31270
+ * @param offset - Starting offset for relationship IDs
31271
+ * @returns XML string with placeholders replaced by relationship IDs
31272
+ */
31273
+ replace(xmlData, charts, offset) {
31274
+ let currentXmlData = xmlData;
31275
+ charts.Array.forEach((chartData, i) => {
31276
+ currentXmlData = currentXmlData.replace(new RegExp(`\\{chart:${chartData.key}\\}`, "g"), (offset + i).toString());
31277
+ });
31278
+ return currentXmlData;
31279
+ }
31280
+ };
31281
+ //#endregion
30158
31282
  //#region src/export/packer/image-replacer.ts
30159
31283
  /**
30160
31284
  * Replaces image placeholders with relationship IDs in XML content.
@@ -30230,6 +31354,68 @@ var NumberingReplacer = class {
30230
31354
  }
30231
31355
  };
30232
31356
  //#endregion
31357
+ //#region src/export/packer/smartart-replacer.ts
31358
+ /**
31359
+ * Replaces SmartArt placeholder tokens with relationship IDs in XML content.
31360
+ *
31361
+ * SmartArt uses multiple placeholders:
31362
+ * - `{smartart:N}` — data model relationship (internal)
31363
+ * - `{smartart-lo:N}` — layout relationship (internal)
31364
+ * - `{smartart-qs:N}` — quick style relationship (internal)
31365
+ * - `{smartart-cs:N}` — color style relationship (internal)
31366
+ */
31367
+ var SmartArtReplacer = class {
31368
+ /**
31369
+ * Replaces SmartArt placeholder tokens with relationship IDs.
31370
+ */
31371
+ replace(xmlData, smartArts, dataOffset) {
31372
+ let currentXmlData = xmlData;
31373
+ smartArts.Array.forEach((smartArtData, i) => {
31374
+ const key = smartArtData.key;
31375
+ currentXmlData = currentXmlData.replace(new RegExp(`\\{smartart:${key}\\}`, "g"), (dataOffset + i).toString());
31376
+ const loOffset = dataOffset + smartArts.Array.length;
31377
+ const qsOffset = loOffset + smartArts.Array.length;
31378
+ const csOffset = qsOffset + smartArts.Array.length;
31379
+ currentXmlData = currentXmlData.replace(new RegExp(`\\{smartart-lo:${key}\\}`, "g"), (loOffset + i).toString());
31380
+ currentXmlData = currentXmlData.replace(new RegExp(`\\{smartart-qs:${key}\\}`, "g"), (qsOffset + i).toString());
31381
+ currentXmlData = currentXmlData.replace(new RegExp(`\\{smartart-cs:${key}\\}`, "g"), (csOffset + i).toString());
31382
+ });
31383
+ return currentXmlData;
31384
+ }
31385
+ /**
31386
+ * Adds SmartArt relationships to the document relationships.
31387
+ *
31388
+ * All relationships are internal (pointing to package-local files).
31389
+ */
31390
+ addRelationships(smartArts, addRelationship, baseOffset, chartCount) {
31391
+ const dataOffset = baseOffset + chartCount;
31392
+ const smartArtCount = smartArts.Array.length;
31393
+ const loOffset = dataOffset + smartArtCount;
31394
+ const qsOffset = loOffset + smartArtCount;
31395
+ const csOffset = qsOffset + smartArtCount;
31396
+ smartArts.Array.forEach((_smartArtData, i) => {
31397
+ addRelationship(dataOffset + i, "http://schemas.openxmlformats.org/officeDocument/2006/relationships/diagramData", `diagrams/data${i + 1}.xml`);
31398
+ addRelationship(loOffset + i, "http://schemas.microsoft.com/office/2007/relationships/diagramLayout", `diagrams/layout${i + 1}.xml`);
31399
+ addRelationship(qsOffset + i, "http://schemas.microsoft.com/office/2007/relationships/diagramStyle", `diagrams/quickStyle${i + 1}.xml`);
31400
+ addRelationship(csOffset + i, "http://schemas.microsoft.com/office/2007/relationships/diagramColors", `diagrams/colors${i + 1}.xml`);
31401
+ });
31402
+ }
31403
+ };
31404
+ //#endregion
31405
+ //#region src/file/smartart/built-in-definitions.ts
31406
+ /**
31407
+ * Built-in SmartArt definitions — layout, quick style, and color transforms.
31408
+ * These are Word's built-in definitions extracted from a reference document.
31409
+ *
31410
+ * @module
31411
+ */
31412
+ /** Default list layout definition (dgm:layoutDef) */
31413
+ const DEFAULT_LAYOUT_XML = "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\r\n<dgm:layoutDef xmlns:dgm=\"http://schemas.openxmlformats.org/drawingml/2006/diagram\" xmlns:a=\"http://schemas.openxmlformats.org/drawingml/2006/main\" uniqueId=\"urn:microsoft.com/office/officeart/2005/8/layout/default\"><dgm:title val=\"\"/><dgm:desc val=\"\"/><dgm:catLst><dgm:cat type=\"list\" pri=\"400\"/></dgm:catLst><dgm:sampData><dgm:dataModel><dgm:ptLst><dgm:pt modelId=\"0\" type=\"doc\"/><dgm:pt modelId=\"1\"><dgm:prSet phldr=\"1\"/></dgm:pt><dgm:pt modelId=\"2\"><dgm:prSet phldr=\"1\"/></dgm:pt><dgm:pt modelId=\"3\"><dgm:prSet phldr=\"1\"/></dgm:pt><dgm:pt modelId=\"4\"><dgm:prSet phldr=\"1\"/></dgm:pt><dgm:pt modelId=\"5\"><dgm:prSet phldr=\"1\"/></dgm:pt></dgm:ptLst><dgm:cxnLst><dgm:cxn modelId=\"6\" srcId=\"0\" destId=\"1\" srcOrd=\"0\" destOrd=\"0\"/><dgm:cxn modelId=\"7\" srcId=\"0\" destId=\"2\" srcOrd=\"1\" destOrd=\"0\"/><dgm:cxn modelId=\"8\" srcId=\"0\" destId=\"3\" srcOrd=\"2\" destOrd=\"0\"/><dgm:cxn modelId=\"9\" srcId=\"0\" destId=\"4\" srcOrd=\"3\" destOrd=\"0\"/><dgm:cxn modelId=\"10\" srcId=\"0\" destId=\"5\" srcOrd=\"4\" destOrd=\"0\"/></dgm:cxnLst><dgm:bg/><dgm:whole/></dgm:dataModel></dgm:sampData><dgm:styleData><dgm:dataModel><dgm:ptLst><dgm:pt modelId=\"0\" type=\"doc\"/><dgm:pt modelId=\"1\"/><dgm:pt modelId=\"2\"/></dgm:ptLst><dgm:cxnLst><dgm:cxn modelId=\"3\" srcId=\"0\" destId=\"1\" srcOrd=\"0\" destOrd=\"0\"/><dgm:cxn modelId=\"4\" srcId=\"0\" destId=\"2\" srcOrd=\"1\" destOrd=\"0\"/></dgm:cxnLst><dgm:bg/><dgm:whole/></dgm:dataModel></dgm:styleData><dgm:clrData><dgm:dataModel><dgm:ptLst><dgm:pt modelId=\"0\" type=\"doc\"/><dgm:pt modelId=\"1\"/><dgm:pt modelId=\"2\"/><dgm:pt modelId=\"3\"/><dgm:pt modelId=\"4\"/><dgm:pt modelId=\"5\"/><dgm:pt modelId=\"6\"/></dgm:ptLst><dgm:cxnLst><dgm:cxn modelId=\"7\" srcId=\"0\" destId=\"1\" srcOrd=\"0\" destOrd=\"0\"/><dgm:cxn modelId=\"8\" srcId=\"0\" destId=\"2\" srcOrd=\"1\" destOrd=\"0\"/><dgm:cxn modelId=\"9\" srcId=\"0\" destId=\"3\" srcOrd=\"2\" destOrd=\"0\"/><dgm:cxn modelId=\"10\" srcId=\"0\" destId=\"4\" srcOrd=\"3\" destOrd=\"0\"/><dgm:cxn modelId=\"11\" srcId=\"0\" destId=\"5\" srcOrd=\"4\" destOrd=\"0\"/><dgm:cxn modelId=\"12\" srcId=\"0\" destId=\"6\" srcOrd=\"5\" destOrd=\"0\"/></dgm:cxnLst><dgm:bg/><dgm:whole/></dgm:dataModel></dgm:clrData><dgm:layoutNode name=\"diagram\"><dgm:varLst><dgm:dir/><dgm:resizeHandles val=\"exact\"/></dgm:varLst><dgm:choose name=\"Name0\"><dgm:if name=\"Name1\" func=\"var\" arg=\"dir\" op=\"equ\" val=\"norm\"><dgm:alg type=\"snake\"><dgm:param type=\"grDir\" val=\"tL\"/><dgm:param type=\"flowDir\" val=\"row\"/><dgm:param type=\"contDir\" val=\"sameDir\"/><dgm:param type=\"off\" val=\"ctr\"/></dgm:alg></dgm:if><dgm:else name=\"Name2\"><dgm:alg type=\"snake\"><dgm:param type=\"grDir\" val=\"tR\"/><dgm:param type=\"flowDir\" val=\"row\"/><dgm:param type=\"contDir\" val=\"sameDir\"/><dgm:param type=\"off\" val=\"ctr\"/></dgm:alg></dgm:else></dgm:choose><dgm:shape xmlns:r=\"http://schemas.openxmlformats.org/officeDocument/2006/relationships\" r:blip=\"\"><dgm:adjLst/></dgm:shape><dgm:presOf/><dgm:constrLst><dgm:constr type=\"w\" for=\"ch\" forName=\"node\" refType=\"w\"/><dgm:constr type=\"h\" for=\"ch\" forName=\"node\" refType=\"w\" refFor=\"ch\" refForName=\"node\" fact=\"0.6\"/><dgm:constr type=\"w\" for=\"ch\" forName=\"sibTrans\" refType=\"w\" refFor=\"ch\" refForName=\"node\" fact=\"0.1\"/><dgm:constr type=\"sp\" refType=\"w\" refFor=\"ch\" refForName=\"sibTrans\"/><dgm:constr type=\"primFontSz\" for=\"ch\" forName=\"node\" op=\"equ\" val=\"65\"/></dgm:constrLst><dgm:ruleLst/><dgm:forEach name=\"Name3\" axis=\"ch\" ptType=\"node\"><dgm:layoutNode name=\"node\"><dgm:varLst><dgm:bulletEnabled val=\"1\"/></dgm:varLst><dgm:alg type=\"tx\"/><dgm:shape type=\"rect\" xmlns:r=\"http://schemas.openxmlformats.org/officeDocument/2006/relationships\" r:blip=\"\"><dgm:adjLst/></dgm:shape><dgm:presOf axis=\"desOrSelf\" ptType=\"node\"/><dgm:constrLst><dgm:constr type=\"lMarg\" refType=\"primFontSz\" fact=\"0.3\"/><dgm:constr type=\"rMarg\" refType=\"primFontSz\" fact=\"0.3\"/><dgm:constr type=\"tMarg\" refType=\"primFontSz\" fact=\"0.3\"/><dgm:constr type=\"bMarg\" refType=\"primFontSz\" fact=\"0.3\"/></dgm:constrLst><dgm:ruleLst><dgm:rule type=\"primFontSz\" val=\"5\" fact=\"NaN\" max=\"NaN\"/></dgm:ruleLst></dgm:layoutNode><dgm:forEach name=\"Name4\" axis=\"followSib\" ptType=\"sibTrans\" cnt=\"1\"><dgm:layoutNode name=\"sibTrans\"><dgm:alg type=\"sp\"/><dgm:shape xmlns:r=\"http://schemas.openxmlformats.org/officeDocument/2006/relationships\" r:blip=\"\"><dgm:adjLst/></dgm:shape><dgm:presOf/><dgm:constrLst/><dgm:ruleLst/></dgm:layoutNode></dgm:forEach></dgm:forEach></dgm:layoutNode></dgm:layoutDef>";
31414
+ /** Simple quick style definition (dgm:styleDef) */
31415
+ const DEFAULT_STYLE_XML = "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\r\n<dgm:styleDef xmlns:dgm=\"http://schemas.openxmlformats.org/drawingml/2006/diagram\" xmlns:a=\"http://schemas.openxmlformats.org/drawingml/2006/main\" uniqueId=\"urn:microsoft.com/office/officeart/2005/8/quickstyle/simple1\"><dgm:title val=\"\"/><dgm:desc val=\"\"/><dgm:catLst><dgm:cat type=\"simple\" pri=\"10100\"/></dgm:catLst><dgm:scene3d><a:camera prst=\"orthographicFront\"/><a:lightRig rig=\"threePt\" dir=\"t\"/></dgm:scene3d><dgm:styleLbl name=\"node0\"><dgm:scene3d><a:camera prst=\"orthographicFront\"/><a:lightRig rig=\"threePt\" dir=\"t\"/></dgm:scene3d><dgm:sp3d/><dgm:txPr/><dgm:style><a:lnRef idx=\"2\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:lnRef><a:fillRef idx=\"1\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:fillRef><a:effectRef idx=\"0\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:effectRef><a:fontRef idx=\"minor\"><a:schemeClr val=\"lt1\"/></a:fontRef></dgm:style></dgm:styleLbl><dgm:styleLbl name=\"lnNode1\"><dgm:scene3d><a:camera prst=\"orthographicFront\"/><a:lightRig rig=\"threePt\" dir=\"t\"/></dgm:scene3d><dgm:sp3d/><dgm:txPr/><dgm:style><a:lnRef idx=\"2\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:lnRef><a:fillRef idx=\"1\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:fillRef><a:effectRef idx=\"0\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:effectRef><a:fontRef idx=\"minor\"><a:schemeClr val=\"lt1\"/></a:fontRef></dgm:style></dgm:styleLbl><dgm:styleLbl name=\"vennNode1\"><dgm:scene3d><a:camera prst=\"orthographicFront\"/><a:lightRig rig=\"threePt\" dir=\"t\"/></dgm:scene3d><dgm:sp3d/><dgm:txPr/><dgm:style><a:lnRef idx=\"2\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:lnRef><a:fillRef idx=\"1\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:fillRef><a:effectRef idx=\"0\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:effectRef><a:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"/></a:fontRef></dgm:style></dgm:styleLbl><dgm:styleLbl name=\"alignNode1\"><dgm:scene3d><a:camera prst=\"orthographicFront\"/><a:lightRig rig=\"threePt\" dir=\"t\"/></dgm:scene3d><dgm:sp3d/><dgm:txPr/><dgm:style><a:lnRef idx=\"2\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:lnRef><a:fillRef idx=\"1\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:fillRef><a:effectRef idx=\"0\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:effectRef><a:fontRef idx=\"minor\"><a:schemeClr val=\"lt1\"/></a:fontRef></dgm:style></dgm:styleLbl><dgm:styleLbl name=\"node1\"><dgm:scene3d><a:camera prst=\"orthographicFront\"/><a:lightRig rig=\"threePt\" dir=\"t\"/></dgm:scene3d><dgm:sp3d/><dgm:txPr/><dgm:style><a:lnRef idx=\"2\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:lnRef><a:fillRef idx=\"1\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:fillRef><a:effectRef idx=\"0\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:effectRef><a:fontRef idx=\"minor\"><a:schemeClr val=\"lt1\"/></a:fontRef></dgm:style></dgm:styleLbl><dgm:styleLbl name=\"node2\"><dgm:scene3d><a:camera prst=\"orthographicFront\"/><a:lightRig rig=\"threePt\" dir=\"t\"/></dgm:scene3d><dgm:sp3d/><dgm:txPr/><dgm:style><a:lnRef idx=\"2\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:lnRef><a:fillRef idx=\"1\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:fillRef><a:effectRef idx=\"0\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:effectRef><a:fontRef idx=\"minor\"><a:schemeClr val=\"lt1\"/></a:fontRef></dgm:style></dgm:styleLbl><dgm:styleLbl name=\"node3\"><dgm:scene3d><a:camera prst=\"orthographicFront\"/><a:lightRig rig=\"threePt\" dir=\"t\"/></dgm:scene3d><dgm:sp3d/><dgm:txPr/><dgm:style><a:lnRef idx=\"2\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:lnRef><a:fillRef idx=\"1\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:fillRef><a:effectRef idx=\"0\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:effectRef><a:fontRef idx=\"minor\"><a:schemeClr val=\"lt1\"/></a:fontRef></dgm:style></dgm:styleLbl><dgm:styleLbl name=\"node4\"><dgm:scene3d><a:camera prst=\"orthographicFront\"/><a:lightRig rig=\"threePt\" dir=\"t\"/></dgm:scene3d><dgm:sp3d/><dgm:txPr/><dgm:style><a:lnRef idx=\"2\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:lnRef><a:fillRef idx=\"1\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:fillRef><a:effectRef idx=\"0\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:effectRef><a:fontRef idx=\"minor\"><a:schemeClr val=\"lt1\"/></a:fontRef></dgm:style></dgm:styleLbl><dgm:styleLbl name=\"fgImgPlace1\"><dgm:scene3d><a:camera prst=\"orthographicFront\"/><a:lightRig rig=\"threePt\" dir=\"t\"/></dgm:scene3d><dgm:sp3d/><dgm:txPr/><dgm:style><a:lnRef idx=\"2\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:lnRef><a:fillRef idx=\"1\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:fillRef><a:effectRef idx=\"0\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:effectRef><a:fontRef idx=\"minor\"/></dgm:style></dgm:styleLbl><dgm:styleLbl name=\"alignImgPlace1\"><dgm:scene3d><a:camera prst=\"orthographicFront\"/><a:lightRig rig=\"threePt\" dir=\"t\"/></dgm:scene3d><dgm:sp3d/><dgm:txPr/><dgm:style><a:lnRef idx=\"2\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:lnRef><a:fillRef idx=\"1\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:fillRef><a:effectRef idx=\"0\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:effectRef><a:fontRef idx=\"minor\"/></dgm:style></dgm:styleLbl><dgm:styleLbl name=\"bgImgPlace1\"><dgm:scene3d><a:camera prst=\"orthographicFront\"/><a:lightRig rig=\"threePt\" dir=\"t\"/></dgm:scene3d><dgm:sp3d/><dgm:txPr/><dgm:style><a:lnRef idx=\"2\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:lnRef><a:fillRef idx=\"1\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:fillRef><a:effectRef idx=\"0\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:effectRef><a:fontRef idx=\"minor\"/></dgm:style></dgm:styleLbl><dgm:styleLbl name=\"sibTrans2D1\"><dgm:scene3d><a:camera prst=\"orthographicFront\"/><a:lightRig rig=\"threePt\" dir=\"t\"/></dgm:scene3d><dgm:sp3d/><dgm:txPr/><dgm:style><a:lnRef idx=\"0\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:lnRef><a:fillRef idx=\"1\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:fillRef><a:effectRef idx=\"0\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:effectRef><a:fontRef idx=\"minor\"><a:schemeClr val=\"lt1\"/></a:fontRef></dgm:style></dgm:styleLbl><dgm:styleLbl name=\"fgSibTrans2D1\"><dgm:scene3d><a:camera prst=\"orthographicFront\"/><a:lightRig rig=\"threePt\" dir=\"t\"/></dgm:scene3d><dgm:sp3d/><dgm:txPr/><dgm:style><a:lnRef idx=\"0\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:lnRef><a:fillRef idx=\"1\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:fillRef><a:effectRef idx=\"0\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:effectRef><a:fontRef idx=\"minor\"><a:schemeClr val=\"lt1\"/></a:fontRef></dgm:style></dgm:styleLbl><dgm:styleLbl name=\"bgSibTrans2D1\"><dgm:scene3d><a:camera prst=\"orthographicFront\"/><a:lightRig rig=\"threePt\" dir=\"t\"/></dgm:scene3d><dgm:sp3d/><dgm:txPr/><dgm:style><a:lnRef idx=\"0\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:lnRef><a:fillRef idx=\"1\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:fillRef><a:effectRef idx=\"0\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:effectRef><a:fontRef idx=\"minor\"><a:schemeClr val=\"lt1\"/></a:fontRef></dgm:style></dgm:styleLbl><dgm:styleLbl name=\"sibTrans1D1\"><dgm:scene3d><a:camera prst=\"orthographicFront\"/><a:lightRig rig=\"threePt\" dir=\"t\"/></dgm:scene3d><dgm:sp3d/><dgm:txPr/><dgm:style><a:lnRef idx=\"1\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:lnRef><a:fillRef idx=\"0\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:fillRef><a:effectRef idx=\"0\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:effectRef><a:fontRef idx=\"minor\"/></dgm:style></dgm:styleLbl><dgm:styleLbl name=\"callout\"><dgm:scene3d><a:camera prst=\"orthographicFront\"/><a:lightRig rig=\"threePt\" dir=\"t\"/></dgm:scene3d><dgm:sp3d/><dgm:txPr/><dgm:style><a:lnRef idx=\"2\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:lnRef><a:fillRef idx=\"1\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:fillRef><a:effectRef idx=\"0\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:effectRef><a:fontRef idx=\"minor\"/></dgm:style></dgm:styleLbl><dgm:styleLbl name=\"asst0\"><dgm:scene3d><a:camera prst=\"orthographicFront\"/><a:lightRig rig=\"threePt\" dir=\"t\"/></dgm:scene3d><dgm:sp3d/><dgm:txPr/><dgm:style><a:lnRef idx=\"2\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:lnRef><a:fillRef idx=\"1\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:fillRef><a:effectRef idx=\"0\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:effectRef><a:fontRef idx=\"minor\"><a:schemeClr val=\"lt1\"/></a:fontRef></dgm:style></dgm:styleLbl><dgm:styleLbl name=\"asst1\"><dgm:scene3d><a:camera prst=\"orthographicFront\"/><a:lightRig rig=\"threePt\" dir=\"t\"/></dgm:scene3d><dgm:sp3d/><dgm:txPr/><dgm:style><a:lnRef idx=\"2\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:lnRef><a:fillRef idx=\"1\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:fillRef><a:effectRef idx=\"0\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:effectRef><a:fontRef idx=\"minor\"><a:schemeClr val=\"lt1\"/></a:fontRef></dgm:style></dgm:styleLbl><dgm:styleLbl name=\"asst2\"><dgm:scene3d><a:camera prst=\"orthographicFront\"/><a:lightRig rig=\"threePt\" dir=\"t\"/></dgm:scene3d><dgm:sp3d/><dgm:txPr/><dgm:style><a:lnRef idx=\"2\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:lnRef><a:fillRef idx=\"1\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:fillRef><a:effectRef idx=\"0\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:effectRef><a:fontRef idx=\"minor\"><a:schemeClr val=\"lt1\"/></a:fontRef></dgm:style></dgm:styleLbl><dgm:styleLbl name=\"asst3\"><dgm:scene3d><a:camera prst=\"orthographicFront\"/><a:lightRig rig=\"threePt\" dir=\"t\"/></dgm:scene3d><dgm:sp3d/><dgm:txPr/><dgm:style><a:lnRef idx=\"2\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:lnRef><a:fillRef idx=\"1\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:fillRef><a:effectRef idx=\"0\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:effectRef><a:fontRef idx=\"minor\"><a:schemeClr val=\"lt1\"/></a:fontRef></dgm:style></dgm:styleLbl><dgm:styleLbl name=\"asst4\"><dgm:scene3d><a:camera prst=\"orthographicFront\"/><a:lightRig rig=\"threePt\" dir=\"t\"/></dgm:scene3d><dgm:sp3d/><dgm:txPr/><dgm:style><a:lnRef idx=\"2\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:lnRef><a:fillRef idx=\"1\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:fillRef><a:effectRef idx=\"0\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:effectRef><a:fontRef idx=\"minor\"><a:schemeClr val=\"lt1\"/></a:fontRef></dgm:style></dgm:styleLbl><dgm:styleLbl name=\"parChTrans2D1\"><dgm:scene3d><a:camera prst=\"orthographicFront\"/><a:lightRig rig=\"threePt\" dir=\"t\"/></dgm:scene3d><dgm:sp3d/><dgm:txPr/><dgm:style><a:lnRef idx=\"2\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:lnRef><a:fillRef idx=\"1\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:fillRef><a:effectRef idx=\"0\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:effectRef><a:fontRef idx=\"minor\"><a:schemeClr val=\"lt1\"/></a:fontRef></dgm:style></dgm:styleLbl><dgm:styleLbl name=\"parChTrans2D2\"><dgm:scene3d><a:camera prst=\"orthographicFront\"/><a:lightRig rig=\"threePt\" dir=\"t\"/></dgm:scene3d><dgm:sp3d/><dgm:txPr/><dgm:style><a:lnRef idx=\"2\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:lnRef><a:fillRef idx=\"1\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:fillRef><a:effectRef idx=\"0\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:effectRef><a:fontRef idx=\"minor\"><a:schemeClr val=\"lt1\"/></a:fontRef></dgm:style></dgm:styleLbl><dgm:styleLbl name=\"parChTrans2D3\"><dgm:scene3d><a:camera prst=\"orthographicFront\"/><a:lightRig rig=\"threePt\" dir=\"t\"/></dgm:scene3d><dgm:sp3d/><dgm:txPr/><dgm:style><a:lnRef idx=\"2\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:lnRef><a:fillRef idx=\"1\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:fillRef><a:effectRef idx=\"0\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:effectRef><a:fontRef idx=\"minor\"><a:schemeClr val=\"lt1\"/></a:fontRef></dgm:style></dgm:styleLbl><dgm:styleLbl name=\"parChTrans2D4\"><dgm:scene3d><a:camera prst=\"orthographicFront\"/><a:lightRig rig=\"threePt\" dir=\"t\"/></dgm:scene3d><dgm:sp3d/><dgm:txPr/><dgm:style><a:lnRef idx=\"2\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:lnRef><a:fillRef idx=\"1\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:fillRef><a:effectRef idx=\"0\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:effectRef><a:fontRef idx=\"minor\"><a:schemeClr val=\"lt1\"/></a:fontRef></dgm:style></dgm:styleLbl><dgm:styleLbl name=\"parChTrans1D1\"><dgm:scene3d><a:camera prst=\"orthographicFront\"/><a:lightRig rig=\"threePt\" dir=\"t\"/></dgm:scene3d><dgm:sp3d/><dgm:txPr/><dgm:style><a:lnRef idx=\"2\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:lnRef><a:fillRef idx=\"0\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:fillRef><a:effectRef idx=\"0\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:effectRef><a:fontRef idx=\"minor\"/></dgm:style></dgm:styleLbl><dgm:styleLbl name=\"parChTrans1D2\"><dgm:scene3d><a:camera prst=\"orthographicFront\"/><a:lightRig rig=\"threePt\" dir=\"t\"/></dgm:scene3d><dgm:sp3d/><dgm:txPr/><dgm:style><a:lnRef idx=\"2\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:lnRef><a:fillRef idx=\"0\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:fillRef><a:effectRef idx=\"0\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:effectRef><a:fontRef idx=\"minor\"/></dgm:style></dgm:styleLbl><dgm:styleLbl name=\"parChTrans1D3\"><dgm:scene3d><a:camera prst=\"orthographicFront\"/><a:lightRig rig=\"threePt\" dir=\"t\"/></dgm:scene3d><dgm:sp3d/><dgm:txPr/><dgm:style><a:lnRef idx=\"2\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:lnRef><a:fillRef idx=\"0\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:fillRef><a:effectRef idx=\"0\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:effectRef><a:fontRef idx=\"minor\"/></dgm:style></dgm:styleLbl><dgm:styleLbl name=\"parChTrans1D4\"><dgm:scene3d><a:camera prst=\"orthographicFront\"/><a:lightRig rig=\"threePt\" dir=\"t\"/></dgm:scene3d><dgm:sp3d/><dgm:txPr/><dgm:style><a:lnRef idx=\"2\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:lnRef><a:fillRef idx=\"0\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:fillRef><a:effectRef idx=\"0\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:effectRef><a:fontRef idx=\"minor\"/></dgm:style></dgm:styleLbl><dgm:styleLbl name=\"fgAcc1\"><dgm:scene3d><a:camera prst=\"orthographicFront\"/><a:lightRig rig=\"threePt\" dir=\"t\"/></dgm:scene3d><dgm:sp3d/><dgm:txPr/><dgm:style><a:lnRef idx=\"2\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:lnRef><a:fillRef idx=\"1\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:fillRef><a:effectRef idx=\"0\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:effectRef><a:fontRef idx=\"minor\"/></dgm:style></dgm:styleLbl><dgm:styleLbl name=\"conFgAcc1\"><dgm:scene3d><a:camera prst=\"orthographicFront\"/><a:lightRig rig=\"threePt\" dir=\"t\"/></dgm:scene3d><dgm:sp3d/><dgm:txPr/><dgm:style><a:lnRef idx=\"2\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:lnRef><a:fillRef idx=\"1\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:fillRef><a:effectRef idx=\"0\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:effectRef><a:fontRef idx=\"minor\"/></dgm:style></dgm:styleLbl><dgm:styleLbl name=\"alignAcc1\"><dgm:scene3d><a:camera prst=\"orthographicFront\"/><a:lightRig rig=\"threePt\" dir=\"t\"/></dgm:scene3d><dgm:sp3d/><dgm:txPr/><dgm:style><a:lnRef idx=\"2\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:lnRef><a:fillRef idx=\"1\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:fillRef><a:effectRef idx=\"0\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:effectRef><a:fontRef idx=\"minor\"/></dgm:style></dgm:styleLbl><dgm:styleLbl name=\"trAlignAcc1\"><dgm:scene3d><a:camera prst=\"orthographicFront\"/><a:lightRig rig=\"threePt\" dir=\"t\"/></dgm:scene3d><dgm:sp3d/><dgm:txPr/><dgm:style><a:lnRef idx=\"1\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:lnRef><a:fillRef idx=\"1\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:fillRef><a:effectRef idx=\"0\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:effectRef><a:fontRef idx=\"minor\"/></dgm:style></dgm:styleLbl><dgm:styleLbl name=\"bgAcc1\"><dgm:scene3d><a:camera prst=\"orthographicFront\"/><a:lightRig rig=\"threePt\" dir=\"t\"/></dgm:scene3d><dgm:sp3d/><dgm:txPr/><dgm:style><a:lnRef idx=\"2\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:lnRef><a:fillRef idx=\"1\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:fillRef><a:effectRef idx=\"0\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:effectRef><a:fontRef idx=\"minor\"/></dgm:style></dgm:styleLbl><dgm:styleLbl name=\"solidFgAcc1\"><dgm:scene3d><a:camera prst=\"orthographicFront\"/><a:lightRig rig=\"threePt\" dir=\"t\"/></dgm:scene3d><dgm:sp3d/><dgm:txPr/><dgm:style><a:lnRef idx=\"2\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:lnRef><a:fillRef idx=\"1\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:fillRef><a:effectRef idx=\"0\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:effectRef><a:fontRef idx=\"minor\"/></dgm:style></dgm:styleLbl><dgm:styleLbl name=\"solidAlignAcc1\"><dgm:scene3d><a:camera prst=\"orthographicFront\"/><a:lightRig rig=\"threePt\" dir=\"t\"/></dgm:scene3d><dgm:sp3d/><dgm:txPr/><dgm:style><a:lnRef idx=\"2\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:lnRef><a:fillRef idx=\"1\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:fillRef><a:effectRef idx=\"0\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:effectRef><a:fontRef idx=\"minor\"/></dgm:style></dgm:styleLbl><dgm:styleLbl name=\"solidBgAcc1\"><dgm:scene3d><a:camera prst=\"orthographicFront\"/><a:lightRig rig=\"threePt\" dir=\"t\"/></dgm:scene3d><dgm:sp3d/><dgm:txPr/><dgm:style><a:lnRef idx=\"2\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:lnRef><a:fillRef idx=\"1\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:fillRef><a:effectRef idx=\"0\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:effectRef><a:fontRef idx=\"minor\"/></dgm:style></dgm:styleLbl><dgm:styleLbl name=\"fgAccFollowNode1\"><dgm:scene3d><a:camera prst=\"orthographicFront\"/><a:lightRig rig=\"threePt\" dir=\"t\"/></dgm:scene3d><dgm:sp3d/><dgm:txPr/><dgm:style><a:lnRef idx=\"2\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:lnRef><a:fillRef idx=\"1\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:fillRef><a:effectRef idx=\"0\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:effectRef><a:fontRef idx=\"minor\"/></dgm:style></dgm:styleLbl><dgm:styleLbl name=\"alignAccFollowNode1\"><dgm:scene3d><a:camera prst=\"orthographicFront\"/><a:lightRig rig=\"threePt\" dir=\"t\"/></dgm:scene3d><dgm:sp3d/><dgm:txPr/><dgm:style><a:lnRef idx=\"2\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:lnRef><a:fillRef idx=\"1\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:fillRef><a:effectRef idx=\"0\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:effectRef><a:fontRef idx=\"minor\"/></dgm:style></dgm:styleLbl><dgm:styleLbl name=\"bgAccFollowNode1\"><dgm:scene3d><a:camera prst=\"orthographicFront\"/><a:lightRig rig=\"threePt\" dir=\"t\"/></dgm:scene3d><dgm:sp3d/><dgm:txPr/><dgm:style><a:lnRef idx=\"2\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:lnRef><a:fillRef idx=\"1\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:fillRef><a:effectRef idx=\"0\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:effectRef><a:fontRef idx=\"minor\"/></dgm:style></dgm:styleLbl><dgm:styleLbl name=\"fgAcc0\"><dgm:scene3d><a:camera prst=\"orthographicFront\"/><a:lightRig rig=\"threePt\" dir=\"t\"/></dgm:scene3d><dgm:sp3d/><dgm:txPr/><dgm:style><a:lnRef idx=\"2\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:lnRef><a:fillRef idx=\"1\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:fillRef><a:effectRef idx=\"0\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:effectRef><a:fontRef idx=\"minor\"/></dgm:style></dgm:styleLbl><dgm:styleLbl name=\"fgAcc2\"><dgm:scene3d><a:camera prst=\"orthographicFront\"/><a:lightRig rig=\"threePt\" dir=\"t\"/></dgm:scene3d><dgm:sp3d/><dgm:txPr/><dgm:style><a:lnRef idx=\"2\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:lnRef><a:fillRef idx=\"1\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:fillRef><a:effectRef idx=\"0\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:effectRef><a:fontRef idx=\"minor\"/></dgm:style></dgm:styleLbl><dgm:styleLbl name=\"fgAcc3\"><dgm:scene3d><a:camera prst=\"orthographicFront\"/><a:lightRig rig=\"threePt\" dir=\"t\"/></dgm:scene3d><dgm:sp3d/><dgm:txPr/><dgm:style><a:lnRef idx=\"2\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:lnRef><a:fillRef idx=\"1\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:fillRef><a:effectRef idx=\"0\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:effectRef><a:fontRef idx=\"minor\"/></dgm:style></dgm:styleLbl><dgm:styleLbl name=\"fgAcc4\"><dgm:scene3d><a:camera prst=\"orthographicFront\"/><a:lightRig rig=\"threePt\" dir=\"t\"/></dgm:scene3d><dgm:sp3d/><dgm:txPr/><dgm:style><a:lnRef idx=\"2\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:lnRef><a:fillRef idx=\"1\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:fillRef><a:effectRef idx=\"0\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:effectRef><a:fontRef idx=\"minor\"/></dgm:style></dgm:styleLbl><dgm:styleLbl name=\"bgShp\"><dgm:scene3d><a:camera prst=\"orthographicFront\"/><a:lightRig rig=\"threePt\" dir=\"t\"/></dgm:scene3d><dgm:sp3d/><dgm:txPr/><dgm:style><a:lnRef idx=\"0\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:lnRef><a:fillRef idx=\"1\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:fillRef><a:effectRef idx=\"0\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:effectRef><a:fontRef idx=\"minor\"/></dgm:style></dgm:styleLbl><dgm:styleLbl name=\"dkBgShp\"><dgm:scene3d><a:camera prst=\"orthographicFront\"/><a:lightRig rig=\"threePt\" dir=\"t\"/></dgm:scene3d><dgm:sp3d/><dgm:txPr/><dgm:style><a:lnRef idx=\"0\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:lnRef><a:fillRef idx=\"1\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:fillRef><a:effectRef idx=\"0\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:effectRef><a:fontRef idx=\"minor\"/></dgm:style></dgm:styleLbl><dgm:styleLbl name=\"trBgShp\"><dgm:scene3d><a:camera prst=\"orthographicFront\"/><a:lightRig rig=\"threePt\" dir=\"t\"/></dgm:scene3d><dgm:sp3d/><dgm:txPr/><dgm:style><a:lnRef idx=\"0\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:lnRef><a:fillRef idx=\"1\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:fillRef><a:effectRef idx=\"0\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:effectRef><a:fontRef idx=\"minor\"/></dgm:style></dgm:styleLbl><dgm:styleLbl name=\"fgShp\"><dgm:scene3d><a:camera prst=\"orthographicFront\"/><a:lightRig rig=\"threePt\" dir=\"t\"/></dgm:scene3d><dgm:sp3d/><dgm:txPr/><dgm:style><a:lnRef idx=\"2\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:lnRef><a:fillRef idx=\"1\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:fillRef><a:effectRef idx=\"0\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:effectRef><a:fontRef idx=\"minor\"/></dgm:style></dgm:styleLbl><dgm:styleLbl name=\"revTx\"><dgm:scene3d><a:camera prst=\"orthographicFront\"/><a:lightRig rig=\"threePt\" dir=\"t\"/></dgm:scene3d><dgm:sp3d/><dgm:txPr/><dgm:style><a:lnRef idx=\"0\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:lnRef><a:fillRef idx=\"0\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:fillRef><a:effectRef idx=\"0\"><a:scrgbClr r=\"0\" g=\"0\" b=\"0\"/></a:effectRef><a:fontRef idx=\"minor\"/></dgm:style></dgm:styleLbl></dgm:styleDef>";
31416
+ /** Accent 1 color transform definition (dgm:colorsDef) */
31417
+ const DEFAULT_COLORS_XML = "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\r\n<dgm:colorsDef xmlns:dgm=\"http://schemas.openxmlformats.org/drawingml/2006/diagram\" xmlns:a=\"http://schemas.openxmlformats.org/drawingml/2006/main\" uniqueId=\"urn:microsoft.com/office/officeart/2005/8/colors/accent1_2\"><dgm:title val=\"\"/><dgm:desc val=\"\"/><dgm:catLst><dgm:cat type=\"accent1\" pri=\"11200\"/></dgm:catLst><dgm:styleLbl name=\"node0\"><dgm:fillClrLst meth=\"repeat\"><a:schemeClr val=\"accent1\"/></dgm:fillClrLst><dgm:linClrLst meth=\"repeat\"><a:schemeClr val=\"lt1\"/></dgm:linClrLst><dgm:effectClrLst/><dgm:txLinClrLst/><dgm:txFillClrLst/><dgm:txEffectClrLst/></dgm:styleLbl><dgm:styleLbl name=\"alignNode1\"><dgm:fillClrLst meth=\"repeat\"><a:schemeClr val=\"accent1\"/></dgm:fillClrLst><dgm:linClrLst meth=\"repeat\"><a:schemeClr val=\"accent1\"/></dgm:linClrLst><dgm:effectClrLst/><dgm:txLinClrLst/><dgm:txFillClrLst/><dgm:txEffectClrLst/></dgm:styleLbl><dgm:styleLbl name=\"node1\"><dgm:fillClrLst meth=\"repeat\"><a:schemeClr val=\"accent1\"/></dgm:fillClrLst><dgm:linClrLst meth=\"repeat\"><a:schemeClr val=\"lt1\"/></dgm:linClrLst><dgm:effectClrLst/><dgm:txLinClrLst/><dgm:txFillClrLst/><dgm:txEffectClrLst/></dgm:styleLbl><dgm:styleLbl name=\"lnNode1\"><dgm:fillClrLst meth=\"repeat\"><a:schemeClr val=\"accent1\"/></dgm:fillClrLst><dgm:linClrLst meth=\"repeat\"><a:schemeClr val=\"lt1\"/></dgm:linClrLst><dgm:effectClrLst/><dgm:txLinClrLst/><dgm:txFillClrLst/><dgm:txEffectClrLst/></dgm:styleLbl><dgm:styleLbl name=\"vennNode1\"><dgm:fillClrLst meth=\"repeat\"><a:schemeClr val=\"accent1\"><a:alpha val=\"50000\"/></a:schemeClr></dgm:fillClrLst><dgm:linClrLst meth=\"repeat\"><a:schemeClr val=\"lt1\"/></dgm:linClrLst><dgm:effectClrLst/><dgm:txLinClrLst/><dgm:txFillClrLst/><dgm:txEffectClrLst/></dgm:styleLbl><dgm:styleLbl name=\"node2\"><dgm:fillClrLst meth=\"repeat\"><a:schemeClr val=\"accent1\"/></dgm:fillClrLst><dgm:linClrLst meth=\"repeat\"><a:schemeClr val=\"lt1\"/></dgm:linClrLst><dgm:effectClrLst/><dgm:txLinClrLst/><dgm:txFillClrLst/><dgm:txEffectClrLst/></dgm:styleLbl><dgm:styleLbl name=\"node3\"><dgm:fillClrLst meth=\"repeat\"><a:schemeClr val=\"accent1\"/></dgm:fillClrLst><dgm:linClrLst meth=\"repeat\"><a:schemeClr val=\"lt1\"/></dgm:linClrLst><dgm:effectClrLst/><dgm:txLinClrLst/><dgm:txFillClrLst/><dgm:txEffectClrLst/></dgm:styleLbl><dgm:styleLbl name=\"node4\"><dgm:fillClrLst meth=\"repeat\"><a:schemeClr val=\"accent1\"/></dgm:fillClrLst><dgm:linClrLst meth=\"repeat\"><a:schemeClr val=\"lt1\"/></dgm:linClrLst><dgm:effectClrLst/><dgm:txLinClrLst/><dgm:txFillClrLst/><dgm:txEffectClrLst/></dgm:styleLbl><dgm:styleLbl name=\"fgImgPlace1\"><dgm:fillClrLst meth=\"repeat\"><a:schemeClr val=\"accent1\"><a:tint val=\"50000\"/></a:schemeClr></dgm:fillClrLst><dgm:linClrLst meth=\"repeat\"><a:schemeClr val=\"lt1\"/></dgm:linClrLst><dgm:effectClrLst/><dgm:txLinClrLst/><dgm:txFillClrLst meth=\"repeat\"><a:schemeClr val=\"lt1\"/></dgm:txFillClrLst><dgm:txEffectClrLst/></dgm:styleLbl><dgm:styleLbl name=\"alignImgPlace1\"><dgm:fillClrLst meth=\"repeat\"><a:schemeClr val=\"accent1\"><a:tint val=\"50000\"/></a:schemeClr></dgm:fillClrLst><dgm:linClrLst meth=\"repeat\"><a:schemeClr val=\"lt1\"/></dgm:linClrLst><dgm:effectClrLst/><dgm:txLinClrLst/><dgm:txFillClrLst meth=\"repeat\"><a:schemeClr val=\"lt1\"/></dgm:txFillClrLst><dgm:txEffectClrLst/></dgm:styleLbl><dgm:styleLbl name=\"bgImgPlace1\"><dgm:fillClrLst meth=\"repeat\"><a:schemeClr val=\"accent1\"><a:tint val=\"50000\"/></a:schemeClr></dgm:fillClrLst><dgm:linClrLst meth=\"repeat\"><a:schemeClr val=\"lt1\"/></dgm:linClrLst><dgm:effectClrLst/><dgm:txLinClrLst/><dgm:txFillClrLst meth=\"repeat\"><a:schemeClr val=\"lt1\"/></dgm:txFillClrLst><dgm:txEffectClrLst/></dgm:styleLbl><dgm:styleLbl name=\"sibTrans2D1\"><dgm:fillClrLst meth=\"repeat\"><a:schemeClr val=\"accent1\"><a:tint val=\"60000\"/></a:schemeClr></dgm:fillClrLst><dgm:linClrLst meth=\"repeat\"><a:schemeClr val=\"accent1\"><a:tint val=\"60000\"/></a:schemeClr></dgm:linClrLst><dgm:effectClrLst/><dgm:txLinClrLst/><dgm:txFillClrLst/><dgm:txEffectClrLst/></dgm:styleLbl><dgm:styleLbl name=\"fgSibTrans2D1\"><dgm:fillClrLst meth=\"repeat\"><a:schemeClr val=\"accent1\"><a:tint val=\"60000\"/></a:schemeClr></dgm:fillClrLst><dgm:linClrLst meth=\"repeat\"><a:schemeClr val=\"accent1\"><a:tint val=\"60000\"/></a:schemeClr></dgm:linClrLst><dgm:effectClrLst/><dgm:txLinClrLst/><dgm:txFillClrLst/><dgm:txEffectClrLst/></dgm:styleLbl><dgm:styleLbl name=\"bgSibTrans2D1\"><dgm:fillClrLst meth=\"repeat\"><a:schemeClr val=\"accent1\"><a:tint val=\"60000\"/></a:schemeClr></dgm:fillClrLst><dgm:linClrLst meth=\"repeat\"><a:schemeClr val=\"accent1\"><a:tint val=\"60000\"/></a:schemeClr></dgm:linClrLst><dgm:effectClrLst/><dgm:txLinClrLst/><dgm:txFillClrLst/><dgm:txEffectClrLst/></dgm:styleLbl><dgm:styleLbl name=\"sibTrans1D1\"><dgm:fillClrLst meth=\"repeat\"><a:schemeClr val=\"accent1\"/></dgm:fillClrLst><dgm:linClrLst meth=\"repeat\"><a:schemeClr val=\"accent1\"/></dgm:linClrLst><dgm:effectClrLst/><dgm:txLinClrLst/><dgm:txFillClrLst meth=\"repeat\"><a:schemeClr val=\"tx1\"/></dgm:txFillClrLst><dgm:txEffectClrLst/></dgm:styleLbl><dgm:styleLbl name=\"callout\"><dgm:fillClrLst meth=\"repeat\"><a:schemeClr val=\"accent1\"/></dgm:fillClrLst><dgm:linClrLst meth=\"repeat\"><a:schemeClr val=\"accent1\"><a:tint val=\"50000\"/></a:schemeClr></dgm:linClrLst><dgm:effectClrLst/><dgm:txLinClrLst/><dgm:txFillClrLst meth=\"repeat\"><a:schemeClr val=\"tx1\"/></dgm:txFillClrLst><dgm:txEffectClrLst/></dgm:styleLbl><dgm:styleLbl name=\"asst0\"><dgm:fillClrLst meth=\"repeat\"><a:schemeClr val=\"accent1\"/></dgm:fillClrLst><dgm:linClrLst meth=\"repeat\"><a:schemeClr val=\"lt1\"/></dgm:linClrLst><dgm:effectClrLst/><dgm:txLinClrLst/><dgm:txFillClrLst/><dgm:txEffectClrLst/></dgm:styleLbl><dgm:styleLbl name=\"asst1\"><dgm:fillClrLst meth=\"repeat\"><a:schemeClr val=\"accent1\"/></dgm:fillClrLst><dgm:linClrLst meth=\"repeat\"><a:schemeClr val=\"lt1\"/></dgm:linClrLst><dgm:effectClrLst/><dgm:txLinClrLst/><dgm:txFillClrLst/><dgm:txEffectClrLst/></dgm:styleLbl><dgm:styleLbl name=\"asst2\"><dgm:fillClrLst meth=\"repeat\"><a:schemeClr val=\"accent1\"/></dgm:fillClrLst><dgm:linClrLst meth=\"repeat\"><a:schemeClr val=\"lt1\"/></dgm:linClrLst><dgm:effectClrLst/><dgm:txLinClrLst/><dgm:txFillClrLst/><dgm:txEffectClrLst/></dgm:styleLbl><dgm:styleLbl name=\"asst3\"><dgm:fillClrLst meth=\"repeat\"><a:schemeClr val=\"accent1\"/></dgm:fillClrLst><dgm:linClrLst meth=\"repeat\"><a:schemeClr val=\"lt1\"/></dgm:linClrLst><dgm:effectClrLst/><dgm:txLinClrLst/><dgm:txFillClrLst/><dgm:txEffectClrLst/></dgm:styleLbl><dgm:styleLbl name=\"asst4\"><dgm:fillClrLst meth=\"repeat\"><a:schemeClr val=\"accent1\"/></dgm:fillClrLst><dgm:linClrLst meth=\"repeat\"><a:schemeClr val=\"lt1\"/></dgm:linClrLst><dgm:effectClrLst/><dgm:txLinClrLst/><dgm:txFillClrLst/><dgm:txEffectClrLst/></dgm:styleLbl><dgm:styleLbl name=\"parChTrans2D1\"><dgm:fillClrLst meth=\"repeat\"><a:schemeClr val=\"accent1\"><a:tint val=\"60000\"/></a:schemeClr></dgm:fillClrLst><dgm:linClrLst meth=\"repeat\"><a:schemeClr val=\"accent1\"><a:tint val=\"60000\"/></a:schemeClr></dgm:linClrLst><dgm:effectClrLst/><dgm:txLinClrLst/><dgm:txFillClrLst meth=\"repeat\"><a:schemeClr val=\"lt1\"/></dgm:txFillClrLst><dgm:txEffectClrLst/></dgm:styleLbl><dgm:styleLbl name=\"parChTrans2D2\"><dgm:fillClrLst meth=\"repeat\"><a:schemeClr val=\"accent1\"/></dgm:fillClrLst><dgm:linClrLst meth=\"repeat\"><a:schemeClr val=\"accent1\"/></dgm:linClrLst><dgm:effectClrLst/><dgm:txLinClrLst/><dgm:txFillClrLst meth=\"repeat\"><a:schemeClr val=\"lt1\"/></dgm:txFillClrLst><dgm:txEffectClrLst/></dgm:styleLbl><dgm:styleLbl name=\"parChTrans2D3\"><dgm:fillClrLst meth=\"repeat\"><a:schemeClr val=\"accent1\"/></dgm:fillClrLst><dgm:linClrLst meth=\"repeat\"><a:schemeClr val=\"accent1\"/></dgm:linClrLst><dgm:effectClrLst/><dgm:txLinClrLst/><dgm:txFillClrLst meth=\"repeat\"><a:schemeClr val=\"lt1\"/></dgm:txFillClrLst><dgm:txEffectClrLst/></dgm:styleLbl><dgm:styleLbl name=\"parChTrans2D4\"><dgm:fillClrLst meth=\"repeat\"><a:schemeClr val=\"accent1\"/></dgm:fillClrLst><dgm:linClrLst meth=\"repeat\"><a:schemeClr val=\"accent1\"/></dgm:linClrLst><dgm:effectClrLst/><dgm:txLinClrLst/><dgm:txFillClrLst meth=\"repeat\"><a:schemeClr val=\"lt1\"/></dgm:txFillClrLst><dgm:txEffectClrLst/></dgm:styleLbl><dgm:styleLbl name=\"parChTrans1D1\"><dgm:fillClrLst meth=\"repeat\"><a:schemeClr val=\"accent1\"/></dgm:fillClrLst><dgm:linClrLst meth=\"repeat\"><a:schemeClr val=\"accent1\"><a:shade val=\"60000\"/></a:schemeClr></dgm:linClrLst><dgm:effectClrLst/><dgm:txLinClrLst/><dgm:txFillClrLst meth=\"repeat\"><a:schemeClr val=\"tx1\"/></dgm:txFillClrLst><dgm:txEffectClrLst/></dgm:styleLbl><dgm:styleLbl name=\"parChTrans1D2\"><dgm:fillClrLst meth=\"repeat\"><a:schemeClr val=\"accent1\"/></dgm:fillClrLst><dgm:linClrLst meth=\"repeat\"><a:schemeClr val=\"accent1\"><a:shade val=\"60000\"/></a:schemeClr></dgm:linClrLst><dgm:effectClrLst/><dgm:txLinClrLst/><dgm:txFillClrLst meth=\"repeat\"><a:schemeClr val=\"tx1\"/></dgm:txFillClrLst><dgm:txEffectClrLst/></dgm:styleLbl><dgm:styleLbl name=\"parChTrans1D3\"><dgm:fillClrLst meth=\"repeat\"><a:schemeClr val=\"accent1\"/></dgm:fillClrLst><dgm:linClrLst meth=\"repeat\"><a:schemeClr val=\"accent1\"><a:shade val=\"80000\"/></a:schemeClr></dgm:linClrLst><dgm:effectClrLst/><dgm:txLinClrLst/><dgm:txFillClrLst meth=\"repeat\"><a:schemeClr val=\"tx1\"/></dgm:txFillClrLst><dgm:txEffectClrLst/></dgm:styleLbl><dgm:styleLbl name=\"parChTrans1D4\"><dgm:fillClrLst meth=\"repeat\"><a:schemeClr val=\"accent1\"/></dgm:fillClrLst><dgm:linClrLst meth=\"repeat\"><a:schemeClr val=\"accent1\"><a:shade val=\"80000\"/></a:schemeClr></dgm:linClrLst><dgm:effectClrLst/><dgm:txLinClrLst/><dgm:txFillClrLst meth=\"repeat\"><a:schemeClr val=\"tx1\"/></dgm:txFillClrLst><dgm:txEffectClrLst/></dgm:styleLbl><dgm:styleLbl name=\"fgAcc1\"><dgm:fillClrLst meth=\"repeat\"><a:schemeClr val=\"lt1\"><a:alpha val=\"90000\"/></a:schemeClr></dgm:fillClrLst><dgm:linClrLst meth=\"repeat\"><a:schemeClr val=\"accent1\"/></dgm:linClrLst><dgm:effectClrLst/><dgm:txLinClrLst/><dgm:txFillClrLst meth=\"repeat\"><a:schemeClr val=\"dk1\"/></dgm:txFillClrLst><dgm:txEffectClrLst/></dgm:styleLbl><dgm:styleLbl name=\"conFgAcc1\"><dgm:fillClrLst meth=\"repeat\"><a:schemeClr val=\"lt1\"><a:alpha val=\"90000\"/></a:schemeClr></dgm:fillClrLst><dgm:linClrLst meth=\"repeat\"><a:schemeClr val=\"accent1\"/></dgm:linClrLst><dgm:effectClrLst/><dgm:txLinClrLst/><dgm:txFillClrLst meth=\"repeat\"><a:schemeClr val=\"dk1\"/></dgm:txFillClrLst><dgm:txEffectClrLst/></dgm:styleLbl><dgm:styleLbl name=\"alignAcc1\"><dgm:fillClrLst meth=\"repeat\"><a:schemeClr val=\"lt1\"><a:alpha val=\"90000\"/></a:schemeClr></dgm:fillClrLst><dgm:linClrLst meth=\"repeat\"><a:schemeClr val=\"accent1\"/></dgm:linClrLst><dgm:effectClrLst/><dgm:txLinClrLst/><dgm:txFillClrLst meth=\"repeat\"><a:schemeClr val=\"dk1\"/></dgm:txFillClrLst><dgm:txEffectClrLst/></dgm:styleLbl><dgm:styleLbl name=\"trAlignAcc1\"><dgm:fillClrLst meth=\"repeat\"><a:schemeClr val=\"lt1\"><a:alpha val=\"40000\"/></a:schemeClr></dgm:fillClrLst><dgm:linClrLst meth=\"repeat\"><a:schemeClr val=\"accent1\"/></dgm:linClrLst><dgm:effectClrLst/><dgm:txLinClrLst/><dgm:txFillClrLst meth=\"repeat\"><a:schemeClr val=\"dk1\"/></dgm:txFillClrLst><dgm:txEffectClrLst/></dgm:styleLbl><dgm:styleLbl name=\"bgAcc1\"><dgm:fillClrLst meth=\"repeat\"><a:schemeClr val=\"lt1\"><a:alpha val=\"90000\"/></a:schemeClr></dgm:fillClrLst><dgm:linClrLst meth=\"repeat\"><a:schemeClr val=\"accent1\"/></dgm:linClrLst><dgm:effectClrLst/><dgm:txLinClrLst/><dgm:txFillClrLst meth=\"repeat\"><a:schemeClr val=\"dk1\"/></dgm:txFillClrLst><dgm:txEffectClrLst/></dgm:styleLbl><dgm:styleLbl name=\"solidFgAcc1\"><dgm:fillClrLst meth=\"repeat\"><a:schemeClr val=\"lt1\"/></dgm:fillClrLst><dgm:linClrLst meth=\"repeat\"><a:schemeClr val=\"accent1\"/></dgm:linClrLst><dgm:effectClrLst/><dgm:txLinClrLst/><dgm:txFillClrLst meth=\"repeat\"><a:schemeClr val=\"dk1\"/></dgm:txFillClrLst><dgm:txEffectClrLst/></dgm:styleLbl><dgm:styleLbl name=\"solidAlignAcc1\"><dgm:fillClrLst meth=\"repeat\"><a:schemeClr val=\"lt1\"/></dgm:fillClrLst><dgm:linClrLst meth=\"repeat\"><a:schemeClr val=\"accent1\"/></dgm:linClrLst><dgm:effectClrLst/><dgm:txLinClrLst/><dgm:txFillClrLst meth=\"repeat\"><a:schemeClr val=\"dk1\"/></dgm:txFillClrLst><dgm:txEffectClrLst/></dgm:styleLbl><dgm:styleLbl name=\"solidBgAcc1\"><dgm:fillClrLst meth=\"repeat\"><a:schemeClr val=\"lt1\"/></dgm:fillClrLst><dgm:linClrLst meth=\"repeat\"><a:schemeClr val=\"accent1\"/></dgm:linClrLst><dgm:effectClrLst/><dgm:txLinClrLst/><dgm:txFillClrLst meth=\"repeat\"><a:schemeClr val=\"dk1\"/></dgm:txFillClrLst><dgm:txEffectClrLst/></dgm:styleLbl><dgm:styleLbl name=\"fgAccFollowNode1\"><dgm:fillClrLst meth=\"repeat\"><a:schemeClr val=\"accent1\"><a:alpha val=\"90000\"/><a:tint val=\"40000\"/></a:schemeClr></dgm:fillClrLst><dgm:linClrLst meth=\"repeat\"><a:schemeClr val=\"accent1\"><a:alpha val=\"90000\"/><a:tint val=\"40000\"/></a:schemeClr></dgm:linClrLst><dgm:effectClrLst/><dgm:txLinClrLst/><dgm:txFillClrLst meth=\"repeat\"><a:schemeClr val=\"dk1\"/></dgm:txFillClrLst><dgm:txEffectClrLst/></dgm:styleLbl><dgm:styleLbl name=\"alignAccFollowNode1\"><dgm:fillClrLst meth=\"repeat\"><a:schemeClr val=\"accent1\"><a:alpha val=\"90000\"/><a:tint val=\"40000\"/></a:schemeClr></dgm:fillClrLst><dgm:linClrLst meth=\"repeat\"><a:schemeClr val=\"accent1\"><a:alpha val=\"90000\"/><a:tint val=\"40000\"/></a:schemeClr></dgm:linClrLst><dgm:effectClrLst/><dgm:txLinClrLst/><dgm:txFillClrLst meth=\"repeat\"><a:schemeClr val=\"dk1\"/></dgm:txFillClrLst><dgm:txEffectClrLst/></dgm:styleLbl><dgm:styleLbl name=\"bgAccFollowNode1\"><dgm:fillClrLst meth=\"repeat\"><a:schemeClr val=\"accent1\"><a:alpha val=\"90000\"/><a:tint val=\"40000\"/></a:schemeClr></dgm:fillClrLst><dgm:linClrLst meth=\"repeat\"><a:schemeClr val=\"accent1\"><a:alpha val=\"90000\"/><a:tint val=\"40000\"/></a:schemeClr></dgm:linClrLst><dgm:effectClrLst/><dgm:txLinClrLst/><dgm:txFillClrLst meth=\"repeat\"><a:schemeClr val=\"dk1\"/></dgm:txFillClrLst><dgm:txEffectClrLst/></dgm:styleLbl><dgm:styleLbl name=\"fgAcc0\"><dgm:fillClrLst meth=\"repeat\"><a:schemeClr val=\"lt1\"><a:alpha val=\"90000\"/></a:schemeClr></dgm:fillClrLst><dgm:linClrLst meth=\"repeat\"><a:schemeClr val=\"accent1\"/></dgm:linClrLst><dgm:effectClrLst/><dgm:txLinClrLst/><dgm:txFillClrLst meth=\"repeat\"><a:schemeClr val=\"dk1\"/></dgm:txFillClrLst><dgm:txEffectClrLst/></dgm:styleLbl><dgm:styleLbl name=\"fgAcc2\"><dgm:fillClrLst meth=\"repeat\"><a:schemeClr val=\"lt1\"><a:alpha val=\"90000\"/></a:schemeClr></dgm:fillClrLst><dgm:linClrLst meth=\"repeat\"><a:schemeClr val=\"accent1\"/></dgm:linClrLst><dgm:effectClrLst/><dgm:txLinClrLst/><dgm:txFillClrLst meth=\"repeat\"><a:schemeClr val=\"dk1\"/></dgm:txFillClrLst><dgm:txEffectClrLst/></dgm:styleLbl><dgm:styleLbl name=\"fgAcc3\"><dgm:fillClrLst meth=\"repeat\"><a:schemeClr val=\"lt1\"><a:alpha val=\"90000\"/></a:schemeClr></dgm:fillClrLst><dgm:linClrLst meth=\"repeat\"><a:schemeClr val=\"accent1\"/></dgm:linClrLst><dgm:effectClrLst/><dgm:txLinClrLst/><dgm:txFillClrLst meth=\"repeat\"><a:schemeClr val=\"dk1\"/></dgm:txFillClrLst><dgm:txEffectClrLst/></dgm:styleLbl><dgm:styleLbl name=\"fgAcc4\"><dgm:fillClrLst meth=\"repeat\"><a:schemeClr val=\"lt1\"><a:alpha val=\"90000\"/></a:schemeClr></dgm:fillClrLst><dgm:linClrLst meth=\"repeat\"><a:schemeClr val=\"accent1\"/></dgm:linClrLst><dgm:effectClrLst/><dgm:txLinClrLst/><dgm:txFillClrLst meth=\"repeat\"><a:schemeClr val=\"dk1\"/></dgm:txFillClrLst><dgm:txEffectClrLst/></dgm:styleLbl><dgm:styleLbl name=\"bgShp\"><dgm:fillClrLst meth=\"repeat\"><a:schemeClr val=\"accent1\"><a:tint val=\"40000\"/></a:schemeClr></dgm:fillClrLst><dgm:linClrLst meth=\"repeat\"><a:schemeClr val=\"accent1\"/></dgm:linClrLst><dgm:effectClrLst/><dgm:txLinClrLst/><dgm:txFillClrLst meth=\"repeat\"><a:schemeClr val=\"dk1\"/></dgm:txFillClrLst><dgm:txEffectClrLst/></dgm:styleLbl><dgm:styleLbl name=\"dkBgShp\"><dgm:fillClrLst meth=\"repeat\"><a:schemeClr val=\"accent1\"><a:shade val=\"80000\"/></a:schemeClr></dgm:fillClrLst><dgm:linClrLst meth=\"repeat\"><a:schemeClr val=\"accent1\"/></dgm:linClrLst><dgm:effectClrLst/><dgm:txLinClrLst/><dgm:txFillClrLst meth=\"repeat\"><a:schemeClr val=\"lt1\"/></dgm:txFillClrLst><dgm:txEffectClrLst/></dgm:styleLbl><dgm:styleLbl name=\"trBgShp\"><dgm:fillClrLst meth=\"repeat\"><a:schemeClr val=\"accent1\"><a:tint val=\"50000\"/><a:alpha val=\"40000\"/></a:schemeClr></dgm:fillClrLst><dgm:linClrLst meth=\"repeat\"><a:schemeClr val=\"accent1\"/></dgm:linClrLst><dgm:effectClrLst/><dgm:txLinClrLst/><dgm:txFillClrLst meth=\"repeat\"><a:schemeClr val=\"lt1\"/></dgm:txFillClrLst><dgm:txEffectClrLst/></dgm:styleLbl><dgm:styleLbl name=\"fgShp\"><dgm:fillClrLst meth=\"repeat\"><a:schemeClr val=\"accent1\"><a:tint val=\"60000\"/></a:schemeClr></dgm:fillClrLst><dgm:linClrLst meth=\"repeat\"><a:schemeClr val=\"lt1\"/></dgm:linClrLst><dgm:effectClrLst/><dgm:txLinClrLst/><dgm:txFillClrLst meth=\"repeat\"><a:schemeClr val=\"dk1\"/></dgm:txFillClrLst><dgm:txEffectClrLst/></dgm:styleLbl><dgm:styleLbl name=\"revTx\"><dgm:fillClrLst meth=\"repeat\"><a:schemeClr val=\"lt1\"><a:alpha val=\"0\"/></a:schemeClr></dgm:fillClrLst><dgm:linClrLst meth=\"repeat\"><a:schemeClr val=\"dk1\"><a:alpha val=\"0\"/></a:schemeClr></dgm:linClrLst><dgm:effectClrLst/><dgm:txLinClrLst/><dgm:txFillClrLst meth=\"repeat\"><a:schemeClr val=\"tx1\"/></dgm:txFillClrLst><dgm:txEffectClrLst/></dgm:styleLbl></dgm:colorsDef>";
31418
+ //#endregion
30233
31419
  //#region src/export/packer/next-compiler.ts
30234
31420
  /**
30235
31421
  * Compiles File objects into OOXML-compliant ZIP file data.
@@ -30254,9 +31440,13 @@ var Compiler = class {
30254
31440
  _defineProperty(this, "formatter", void 0);
30255
31441
  _defineProperty(this, "imageReplacer", void 0);
30256
31442
  _defineProperty(this, "numberingReplacer", void 0);
31443
+ _defineProperty(this, "chartReplacer", void 0);
31444
+ _defineProperty(this, "smartArtReplacer", void 0);
30257
31445
  this.formatter = new Formatter();
30258
31446
  this.imageReplacer = new ImageReplacer();
30259
31447
  this.numberingReplacer = new NumberingReplacer();
31448
+ this.chartReplacer = new ChartReplacer();
31449
+ this.smartArtReplacer = new SmartArtReplacer();
30260
31450
  }
30261
31451
  /**
30262
31452
  * Compiles a File object into a flat file map suitable for fflate zipSync.
@@ -30380,14 +31570,25 @@ var Compiler = class {
30380
31570
  path: "word/_rels/comments.xml.rels"
30381
31571
  },
30382
31572
  ContentTypes: {
30383
- data: (0, import_xml.default)(this.formatter.format(file.ContentTypes, {
30384
- file,
30385
- stack: [],
30386
- viewWrapper: file.Document
30387
- }), {
30388
- declaration: { encoding: "UTF-8" },
30389
- indent: prettify
30390
- }),
31573
+ data: (() => {
31574
+ file.Charts.Array.forEach((_, i) => {
31575
+ file.ContentTypes.addChart(i + 1);
31576
+ });
31577
+ file.SmartArts.Array.forEach((_, i) => {
31578
+ file.ContentTypes.addDiagramData(i + 1);
31579
+ file.ContentTypes.addDiagramLayout(i + 1);
31580
+ file.ContentTypes.addDiagramStyle(i + 1);
31581
+ file.ContentTypes.addDiagramColors(i + 1);
31582
+ });
31583
+ return (0, import_xml.default)(this.formatter.format(file.ContentTypes, {
31584
+ file,
31585
+ stack: [],
31586
+ viewWrapper: file.Document
31587
+ }), {
31588
+ declaration: { encoding: "UTF-8" },
31589
+ indent: prettify
31590
+ });
31591
+ })(),
30391
31592
  path: "[Content_Types].xml"
30392
31593
  },
30393
31594
  CustomProperties: {
@@ -30406,7 +31607,10 @@ var Compiler = class {
30406
31607
  },
30407
31608
  Document: {
30408
31609
  data: (() => {
30409
- const xmlData = this.imageReplacer.replace(documentXmlData, documentMediaDatas, documentRelationshipCount);
31610
+ let xmlData = this.imageReplacer.replace(documentXmlData, documentMediaDatas, documentRelationshipCount);
31611
+ xmlData = this.chartReplacer.replace(xmlData, file.Charts, documentRelationshipCount);
31612
+ const smartArtDataOffset = documentRelationshipCount + documentMediaDatas.length + file.Charts.Array.length;
31613
+ xmlData = this.smartArtReplacer.replace(xmlData, file.SmartArts, smartArtDataOffset);
30410
31614
  return this.numberingReplacer.replace(xmlData, file.Numbering.ConcreteNumbering);
30411
31615
  })(),
30412
31616
  path: "word/document.xml"
@@ -30593,6 +31797,13 @@ var Compiler = class {
30593
31797
  documentMediaDatas.forEach((mediaData, i) => {
30594
31798
  file.Document.Relationships.addRelationship(documentRelationshipCount + i, "http://schemas.openxmlformats.org/officeDocument/2006/relationships/image", `media/${mediaData.fileName}`);
30595
31799
  });
31800
+ const chartOffset = documentRelationshipCount + documentMediaDatas.length;
31801
+ file.Charts.Array.forEach((_chartData, i) => {
31802
+ file.Document.Relationships.addRelationship(chartOffset + i, "http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart", `charts/chart${i + 1}.xml`);
31803
+ });
31804
+ this.smartArtReplacer.addRelationships(file.SmartArts, (id, type, target, targetMode) => {
31805
+ file.Document.Relationships.addRelationship(id, type, target, targetMode);
31806
+ }, documentRelationshipCount, documentMediaDatas.length + file.Charts.Array.length);
30596
31807
  file.Document.Relationships.addRelationship(file.Document.Relationships.RelationshipCount + 1, "http://schemas.openxmlformats.org/officeDocument/2006/relationships/fontTable", "fontTable.xml");
30597
31808
  return (0, import_xml.default)(this.formatter.format(file.Document.Relationships, {
30598
31809
  file,
@@ -30652,7 +31863,55 @@ var Compiler = class {
30652
31863
  indent: prettify
30653
31864
  }),
30654
31865
  path: "word/bibliography.xml"
30655
- } } : {}
31866
+ } } : {},
31867
+ ...file.Charts.Array.length > 0 ? { Charts: file.Charts.Array.flatMap((chartData, i) => [{
31868
+ data: (0, import_xml.default)(this.formatter.format(chartData.chartSpace, {
31869
+ file,
31870
+ stack: [],
31871
+ viewWrapper: file.Document
31872
+ }), {
31873
+ declaration: {
31874
+ encoding: "UTF-8",
31875
+ standalone: "yes"
31876
+ },
31877
+ indent: prettify
31878
+ }),
31879
+ path: `word/charts/chart${i + 1}.xml`
31880
+ }, {
31881
+ data: (0, import_xml.default)({ Relationships: { _attr: { xmlns: "http://schemas.openxmlformats.org/package/2006/relationships" } } }, { declaration: {
31882
+ encoding: "UTF-8",
31883
+ standalone: "yes"
31884
+ } }),
31885
+ path: `word/charts/_rels/chart${i + 1}.xml.rels`
31886
+ }]) } : {},
31887
+ ...file.SmartArts.Array.length > 0 ? {
31888
+ DiagramData: file.SmartArts.Array.map((smartArtData, i) => ({
31889
+ data: (0, import_xml.default)(this.formatter.format(smartArtData.dataModel, {
31890
+ file,
31891
+ stack: [],
31892
+ viewWrapper: file.Document
31893
+ }), {
31894
+ declaration: {
31895
+ encoding: "UTF-8",
31896
+ standalone: "yes"
31897
+ },
31898
+ indent: prettify
31899
+ }),
31900
+ path: `word/diagrams/data${i + 1}.xml`
31901
+ })),
31902
+ DiagramLayout: file.SmartArts.Array.map((_smartArtData, i) => ({
31903
+ data: DEFAULT_LAYOUT_XML,
31904
+ path: `word/diagrams/layout${i + 1}.xml`
31905
+ })),
31906
+ DiagramStyle: file.SmartArts.Array.map((_smartArtData, i) => ({
31907
+ data: DEFAULT_STYLE_XML,
31908
+ path: `word/diagrams/quickStyle${i + 1}.xml`
31909
+ })),
31910
+ DiagramColors: file.SmartArts.Array.map((_smartArtData, i) => ({
31911
+ data: DEFAULT_COLORS_XML,
31912
+ path: `word/diagrams/colors${i + 1}.xml`
31913
+ }))
31914
+ } : {}
30656
31915
  };
30657
31916
  }
30658
31917
  };
@@ -31645,4 +32904,4 @@ const findPatchKeys = (text) => {
31645
32904
  return (_text$match = text.match(/(?<=\{\{).+?(?=\}\})/gs)) !== null && _text$match !== void 0 ? _text$match : [];
31646
32905
  };
31647
32906
  //#endregion
31648
- export { AbstractNumbering, AlignmentType, AnnotationReference, Attributes, BaseXmlComponent, Bibliography, Body, Bookmark, BookmarkEnd, BookmarkStart, Border, BorderStyle, BuilderElement, CarriageReturn, CellMerge, CellMergeAttributes, CharacterSet, CheckBox, CheckBoxSymbolElement, CheckBoxUtil, Column, ColumnBreak, Comment, CommentRangeEnd, CommentRangeStart, CommentReference, Comments, ConcreteHyperlink, ConcreteNumbering, ContinuationSeparator, DayLong, DayShort, DeletedTableCell, DeletedTableRow, DeletedTextRun, File as Document, File, DocumentAttributeNamespaces, DocumentAttributes, DocumentBackground, DocumentBackgroundAttributes, DocumentDefaults, DocumentGridType, Drawing, DropCapType, EMPTY_OBJECT, EmphasisMarkType, EmptyElement, EndnoteIdReference, EndnoteReference, EndnoteReferenceRun, EndnoteReferenceRunAttributes, Endnotes, ExternalHyperlink, FileChild, FootNoteReferenceRunAttributes, FootNotes, Footer, FooterWrapper, FootnoteReference, FootnoteReferenceElement, FootnoteReferenceRun, FormFieldTextType, FractionType, FrameAnchorType, FrameWrap, GridSpan, Header, HeaderFooterReferenceType, HeaderFooterType, HeaderWrapper, HeadingLevel, HeightRule, HighlightColor, HorizontalPositionAlign, HorizontalPositionRelativeFrom, HpsMeasureElement, HyperlinkType, IgnoreIfEmptyXmlComponent, ImageRun, ImportedRootElementAttributes, ImportedXmlComponent, InitializableXmlComponent, InsertedTableCell, InsertedTableRow, InsertedTextRun, InternalHyperlink, LastRenderedPageBreak, LeaderType, Level, LevelBase, LevelForOverride, LevelFormat, LevelOverride, LevelSuffix, LineNumberRestartFormat, LineRuleType, Math$1 as Math, MathAngledBrackets, MathBorderBox, MathBox, MathCurlyBrackets, MathDegree, MathDenominator, MathEqArr, MathFraction, MathFunction, MathFunctionName, MathGroupChr, MathIntegral, MathLimit, MathLimitLower, MathLimitUpper, MathMatrix, MathNumerator, MathParagraph, MathPhant, MathPreSubSuperScript, MathRadical, MathRadicalProperties, MathRoundBrackets, MathRun, MathSquareBrackets, MathSubScript, MathSubSuperScript, MathSum, MathSuperScript, Media, MonthLong, MonthShort, NextAttributeComponent, NoBreakHyphen, NumberFormat, NumberProperties, NumberValueElement, NumberedItemReference, NumberedItemReferenceFormat, Numbering, OnOffElement, OverlapType, Packer, PageBorderDisplay, PageBorderOffsetFrom, PageBorderZOrder, PageBorders, PageBreak, PageBreakBefore, PageNumber, PageNumberElement, PageNumberSeparator, PageOrientation, PageReference, PageTextDirection, PageTextDirectionType, Paragraph, ParagraphProperties, ParagraphPropertiesChange, ParagraphPropertiesDefaults, ParagraphRunProperties, PatchType, PositionalTab, PositionalTabAlignment, PositionalTabLeader, PositionalTabRelativeTo, PrettifyType, RelativeHorizontalPosition, RelativeVerticalPosition, RubyAlign, Run, RunProperties, RunPropertiesChange, RunPropertiesDefaults, SdtDateMappingType, SdtLock, SectionProperties, SectionPropertiesChange, SectionType, Separator, SequentialIdentifier, ShadingType, SimpleField, SimpleMailMergeField, SoftHyphen, SpaceType, StringContainer, StringEnumValueElement, StringValueElement, StructuredDocumentTagBlock, StructuredDocumentTagContent, StructuredDocumentTagProperties, StructuredDocumentTagRun, StyleForCharacter, StyleForParagraph, StyleLevel, Styles, SymbolRun, TDirection, Tab, TabStopPosition, TabStopType, Table, TableAnchorType, TableBorders, TableCell, TableCellBorders, TableLayoutType, TableOfContents, TableProperties, TableRow, TableRowProperties, TableRowPropertiesChange, TextAlignmentType, TextBodyWrappingType, TextDirection, TextEffect, TextHorzOverflowType, TextRun, TextVertOverflowType, TextVerticalType, TextWrappingSide, TextWrappingType, Textbox, TextboxTightWrapType, ThematicBreak, ThemeColor, ThemeFont, UnderlineType, VerticalAlign, VerticalAlignSection, VerticalAlignTable, VerticalAnchor, VerticalMerge, VerticalMergeRevisionType, VerticalMergeType, VerticalPositionAlign, VerticalPositionRelativeFrom, WORKAROUND2, WORKAROUND3, WORKAROUND4, WidthType, WpgGroupRun, WpsShapeRun, XmlAttributeComponent, XmlComponent, YearLong, YearShort, abstractNumUniqueNumericIdGen, bookmarkUniqueNumericIdGen, concreteNumUniqueNumericIdGen, convertInchesToTwip, convertMillimetersToTwip, convertToXmlComponent, createAlignment, createBodyProperties, createBorderElement, createCnfStyle, createColumns, createDivId, createDocumentGrid, createDotEmphasisMark, createEmphasisMark, createFormFieldData, createFrameProperties, createHeaderFooterReference, createHorizontalPosition, createIndent, createLineNumberType, createMathAccent, createMathAccentCharacter, createMathAccentProperties, createMathBar, createMathBarProperties, createMathBase, createMathBorderBoxProperties, createMathBoxProperties, createMathControlProperties, createMathEqArrProperties, createMathFractionProperties, createMathFunctionProperties, createMathGroupChrProperties, createMathLimitLocation, createMathLimitLowProperties, createMathLimitUpperProperties, createMathMatrixProperties, createMathNAryProperties, createMathPhantProperties, createMathPreSubSuperScriptProperties, createMathProperties, createMathRunProperties, createMathSubScriptElement, createMathSubScriptProperties, createMathSubSuperScriptProperties, createMathSuperScriptElement, createMathSuperScriptProperties, createOutlineLevel, createPageMargin, createPageNumberType, createPageSize, createParagraphStyle, createRuby, createRunFonts, createSectionType, createShading, createSimplePos, createSpacing, createStringElement, createTabStop, createTabStopItem, createTableFloatProperties, createTableLayout, createTableLook, createTableRowHeight, createTableWidthElement, createTransformation, createUnderline, createVerticalAlign, createVerticalPosition, createWrapNone, createWrapSquare, createWrapThrough, createWrapTight, createWrapTopAndBottom, dateTimeValue, decimalNumber, docPropertiesUniqueNumericIdGen, eighthPointMeasureValue, hashedId, hexColorValue, hpsMeasureValue, longHexNumber, measurementOrPercentValue, patchDetector, patchDocument, percentageValue, pointMeasureValue, positiveUniversalMeasureValue, sectionMarginDefaults, sectionPageSizeDefaults, shortHexNumber, signedHpsMeasureValue, signedTwipsMeasureValue, twipsMeasureValue, uCharHexNumber, uniqueId, uniqueNumericIdCreator, uniqueUuid, universalMeasureValue, unsignedDecimalNumber };
32907
+ export { AbstractNumbering, AlignmentType, AnnotationReference, Attributes, BaseXmlComponent, Bibliography, Body, Bookmark, BookmarkEnd, BookmarkStart, Border, BorderStyle, BuilderElement, CarriageReturn, CellMerge, CellMergeAttributes, CharacterSet, ChartCollection, ChartRun, ChartSpace, CheckBox, CheckBoxSymbolElement, CheckBoxUtil, Column, ColumnBreak, Comment, CommentRangeEnd, CommentRangeStart, CommentReference, Comments, ConcreteHyperlink, ConcreteNumbering, Connection, ContinuationSeparator, DEFAULT_COLOR_URI, DEFAULT_STYLE_URI, DataModel, DayLong, DayShort, DeletedTableCell, DeletedTableRow, DeletedTextRun, File as Document, File, DocumentAttributeNamespaces, DocumentAttributes, DocumentBackground, DocumentBackgroundAttributes, DocumentDefaults, DocumentGridType, Drawing, DropCapType, EMPTY_OBJECT, EmphasisMarkType, EmptyElement, EndnoteIdReference, EndnoteReference, EndnoteReferenceRun, EndnoteReferenceRunAttributes, Endnotes, ExternalHyperlink, FileChild, FootNoteReferenceRunAttributes, FootNotes, Footer, FooterWrapper, FootnoteReference, FootnoteReferenceElement, FootnoteReferenceRun, FormFieldTextType, FractionType, FrameAnchorType, FrameWrap, GridSpan, Header, HeaderFooterReferenceType, HeaderFooterType, HeaderWrapper, HeadingLevel, HeightRule, HighlightColor, HorizontalPositionAlign, HorizontalPositionRelativeFrom, HpsMeasureElement, HyperlinkType, IgnoreIfEmptyXmlComponent, ImageRun, ImportedRootElementAttributes, ImportedXmlComponent, InitializableXmlComponent, InsertedTableCell, InsertedTableRow, InsertedTextRun, InternalHyperlink, LAYOUTS, LastRenderedPageBreak, LeaderType, Level, LevelBase, LevelForOverride, LevelFormat, LevelOverride, LevelSuffix, LineNumberRestartFormat, LineRuleType, Math$1 as Math, MathAngledBrackets, MathBorderBox, MathBox, MathCurlyBrackets, MathDegree, MathDenominator, MathEqArr, MathFraction, MathFunction, MathFunctionName, MathGroupChr, MathIntegral, MathLimit, MathLimitLower, MathLimitUpper, MathMatrix, MathNumerator, MathParagraph, MathPhant, MathPreSubSuperScript, MathRadical, MathRadicalProperties, MathRoundBrackets, MathRun, MathSquareBrackets, MathSubScript, MathSubSuperScript, MathSum, MathSuperScript, Media, MonthLong, MonthShort, NextAttributeComponent, NoBreakHyphen, NumberFormat, NumberProperties, NumberValueElement, NumberedItemReference, NumberedItemReferenceFormat, Numbering, OnOffElement, OverlapType, Packer, PageBorderDisplay, PageBorderOffsetFrom, PageBorderZOrder, PageBorders, PageBreak, PageBreakBefore, PageNumber, PageNumberElement, PageNumberSeparator, PageOrientation, PageReference, PageTextDirection, PageTextDirectionType, Paragraph, ParagraphProperties, ParagraphPropertiesChange, ParagraphPropertiesDefaults, ParagraphRunProperties, PatchType, Point, PositionalTab, PositionalTabAlignment, PositionalTabLeader, PositionalTabRelativeTo, PrettifyType, RelativeHorizontalPosition, RelativeVerticalPosition, RubyAlign, Run, RunProperties, RunPropertiesChange, RunPropertiesDefaults, SdtDateMappingType, SdtLock, SectionProperties, SectionPropertiesChange, SectionType, Separator, SequentialIdentifier, ShadingType, SimpleField, SimpleMailMergeField, SmartArtCollection, SmartArtRun, SoftHyphen, SpaceType, StringContainer, StringEnumValueElement, StringValueElement, StructuredDocumentTagBlock, StructuredDocumentTagContent, StructuredDocumentTagProperties, StructuredDocumentTagRun, StyleForCharacter, StyleForParagraph, StyleLevel, Styles, SymbolRun, TDirection, Tab, TabStopPosition, TabStopType, Table, TableAnchorType, TableBorders, TableCell, TableCellBorders, TableLayoutType, TableOfContents, TableProperties, TableRow, TableRowProperties, TableRowPropertiesChange, TextAlignmentType, TextBodyWrappingType, TextDirection, TextEffect, TextHorzOverflowType, TextRun, TextVertOverflowType, TextVerticalType, TextWrappingSide, TextWrappingType, Textbox, TextboxTightWrapType, ThematicBreak, ThemeColor, ThemeFont, UnderlineType, VerticalAlign, VerticalAlignSection, VerticalAlignTable, VerticalAnchor, VerticalMerge, VerticalMergeRevisionType, VerticalMergeType, VerticalPositionAlign, VerticalPositionRelativeFrom, WORKAROUND2, WORKAROUND3, WORKAROUND4, WidthType, WpgGroupRun, WpsShapeRun, XmlAttributeComponent, XmlComponent, YearLong, YearShort, abstractNumUniqueNumericIdGen, bookmarkUniqueNumericIdGen, chartAttr, concreteNumUniqueNumericIdGen, convertInchesToTwip, convertMillimetersToTwip, convertToXmlComponent, createAlignment, createBodyProperties, createBorderElement, createCnfStyle, createColumns, createDataModel, createDivId, createDocumentGrid, createDotEmphasisMark, createEmphasisMark, createFormFieldData, createFrameProperties, createHeaderFooterReference, createHorizontalPosition, createIndent, createLineNumberType, createMathAccent, createMathAccentCharacter, createMathAccentProperties, createMathBar, createMathBarProperties, createMathBase, createMathBorderBoxProperties, createMathBoxProperties, createMathControlProperties, createMathEqArrProperties, createMathFractionProperties, createMathFunctionProperties, createMathGroupChrProperties, createMathLimitLocation, createMathLimitLowProperties, createMathLimitUpperProperties, createMathMatrixProperties, createMathNAryProperties, createMathPhantProperties, createMathPreSubSuperScriptProperties, createMathProperties, createMathRunProperties, createMathSubScriptElement, createMathSubScriptProperties, createMathSubSuperScriptProperties, createMathSuperScriptElement, createMathSuperScriptProperties, createOutlineLevel, createPageMargin, createPageNumberType, createPageSize, createParagraphStyle, createRuby, createRunFonts, createSectionType, createShading, createSimplePos, createSpacing, createStringElement, createTabStop, createTabStopItem, createTableFloatProperties, createTableLayout, createTableLook, createTableRowHeight, createTableWidthElement, createTransformation, createUnderline, createVerticalAlign, createVerticalPosition, createWrapNone, createWrapSquare, createWrapThrough, createWrapTight, createWrapTopAndBottom, dateTimeValue, decimalNumber, docPropertiesUniqueNumericIdGen, eighthPointMeasureValue, hashedId, hexColorValue, hpsMeasureValue, longHexNumber, measurementOrPercentValue, patchDetector, patchDocument, percentageValue, pointMeasureValue, positiveUniversalMeasureValue, sectionMarginDefaults, sectionPageSizeDefaults, shortHexNumber, signedHpsMeasureValue, signedTwipsMeasureValue, treeToModel, twipsMeasureValue, uCharHexNumber, uniqueId, uniqueNumericIdCreator, uniqueUuid, universalMeasureValue, unsignedDecimalNumber, wrapEl };