ooxml-core 1.41.0 → 1.43.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (166) hide show
  1. package/README.md +4 -0
  2. package/dist/{PptxHandler-3AGIITR7.mjs → PptxHandler-3VAVJDFB.mjs} +2 -2
  3. package/dist/PptxHandler-V23RDNEX.cjs +14 -0
  4. package/dist/PptxHandler-WB3KL2WH.mjs +5 -0
  5. package/dist/{PresentationBuilder-JNID4B4Z.mjs → PresentationBuilder-7LJMTRJ6.mjs} +2 -2
  6. package/dist/{PresentationBuilder-MZBKYOYD.cjs → PresentationBuilder-KHL6GONR.cjs} +6 -6
  7. package/dist/{PresentationBuilder-5DPKFUXP.mjs → PresentationBuilder-PY2GB4IG.mjs} +3 -3
  8. package/dist/automation/index.cjs +79 -91
  9. package/dist/automation/index.mjs +79 -91
  10. package/dist/chart/index.cjs +12 -9
  11. package/dist/chart/index.mjs +12 -9
  12. package/dist/{chunk-ZYCBJKAE.mjs → chunk-243ZYX2B.mjs} +1 -1
  13. package/dist/{chunk-LRBWCRQ3.cjs → chunk-3J6VIKLP.cjs} +3 -3
  14. package/dist/{chunk-DD7COXWR.mjs → chunk-4LEVL6ZW.mjs} +30 -13
  15. package/dist/chunk-CODMW5KF.cjs +110 -0
  16. package/dist/{chunk-HTELXT2N.mjs → chunk-HLYOHD2Z.mjs} +30 -12
  17. package/dist/{chunk-P3WAKBVS.mjs → chunk-IPV3J3I5.mjs} +82 -90
  18. package/dist/{chunk-6LGRRQ3K.mjs → chunk-JHYU7HGG.mjs} +1 -1
  19. package/dist/{chunk-JXR6YWBW.mjs → chunk-KCDLTVUI.mjs} +125 -126
  20. package/dist/chunk-O3YGBYGZ.mjs +104 -0
  21. package/dist/{chunk-75KBNUKS.cjs → chunk-QZPOPUI5.cjs} +82 -89
  22. package/dist/{chunk-3BIFRTU4.cjs → chunk-RNZQ2OU4.cjs} +1294 -1276
  23. package/dist/{chunk-UE23HF2N.mjs → chunk-VKFKEVHK.mjs} +1 -1
  24. package/dist/{chunk-KKVD3R6O.mjs → chunk-WEAWSXUX.mjs} +4 -4
  25. package/dist/diagram/index.cjs +499 -370
  26. package/dist/diagram/index.d.ts +1 -0
  27. package/dist/diagram/index.d.ts.map +1 -1
  28. package/dist/diagram/index.mjs +495 -371
  29. package/dist/docx/embedded.cjs +67 -89
  30. package/dist/docx/embedded.mjs +67 -89
  31. package/dist/docx/index.cjs +125 -110
  32. package/dist/docx/index.mjs +125 -110
  33. package/dist/docx/layout/index.cjs +257 -110
  34. package/dist/docx/layout/index.d.ts +1 -0
  35. package/dist/docx/layout/index.d.ts.map +1 -1
  36. package/dist/docx/layout/index.mjs +257 -111
  37. package/dist/docx/layout/webfont-runs.d.ts +5 -0
  38. package/dist/docx/layout/webfont-runs.d.ts.map +1 -0
  39. package/dist/docx/load/index.cjs +67 -89
  40. package/dist/docx/load/index.mjs +67 -89
  41. package/dist/docx/shape-svg.d.ts.map +1 -1
  42. package/dist/docx/ui/index.cjs +79 -98
  43. package/dist/docx/ui/index.mjs +79 -98
  44. package/dist/drawingml/dash-pattern.d.ts +61 -0
  45. package/dist/drawingml/dash-pattern.d.ts.map +1 -0
  46. package/dist/drawingml/index.cjs +249 -43
  47. package/dist/drawingml/index.d.ts +3 -0
  48. package/dist/drawingml/index.d.ts.map +1 -1
  49. package/dist/drawingml/index.mjs +241 -44
  50. package/dist/drawingml/rect-path-gradient.d.ts +5 -0
  51. package/dist/drawingml/rect-path-gradient.d.ts.map +1 -1
  52. package/dist/drawingml/shape-path-gradient.d.ts +57 -0
  53. package/dist/drawingml/shape-path-gradient.d.ts.map +1 -0
  54. package/dist/geometry/index.cjs +68 -90
  55. package/dist/geometry/index.mjs +68 -90
  56. package/dist/geometry/preset-shape-definitions-exact-action-buttons.d.ts +2 -2
  57. package/dist/geometry/preset-shape-definitions-exact-action-buttons.d.ts.map +1 -1
  58. package/dist/geometry/preset-shape-definitions-exact-arrows.d.ts.map +1 -1
  59. package/dist/geometry/preset-shape-definitions-exact-scrolls.d.ts.map +1 -1
  60. package/dist/index.cjs +2937 -493
  61. package/dist/index.mjs +2937 -493
  62. package/dist/pptx/automation/index.cjs +366 -197
  63. package/dist/pptx/automation/index.d.ts +11 -17
  64. package/dist/pptx/automation/index.d.ts.map +1 -1
  65. package/dist/pptx/automation/index.mjs +156 -71
  66. package/dist/pptx/chunks/{elements-6BMEOo7i.d.ts → elements-PBugbKtv.d.ts} +3 -873
  67. package/dist/pptx/chunks/elements-PBugbKtv.d.ts.map +1 -0
  68. package/dist/pptx/chunks/{index-BbXLv6As.d.ts → index-Bj-hur0D.d.ts} +4 -4
  69. package/dist/pptx/chunks/{index-BbXLv6As.d.ts.map → index-Bj-hur0D.d.ts.map} +1 -1
  70. package/dist/pptx/chunks/{index-DvN0TkJJ.d.ts → index-CCJiD-Bm.d.ts} +14 -10
  71. package/dist/pptx/chunks/index-CCJiD-Bm.d.ts.map +1 -0
  72. package/dist/pptx/chunks/{index-Dija_Wth.d.ts → index-CGNb1TV9.d.ts} +22 -4
  73. package/dist/pptx/chunks/index-CGNb1TV9.d.ts.map +1 -0
  74. package/dist/pptx/chunks/table-C7ITXL3Y.d.ts +875 -0
  75. package/dist/pptx/chunks/table-C7ITXL3Y.d.ts.map +1 -0
  76. package/dist/pptx/chunks/{text-operations-DorONr3h.d.ts → text-operations-BNJr7aGa.d.ts} +3 -2
  77. package/dist/pptx/chunks/text-operations-BNJr7aGa.d.ts.map +1 -0
  78. package/dist/pptx/cli/index.cjs +180 -102
  79. package/dist/pptx/cli/index.d.ts +1 -1
  80. package/dist/pptx/cli/index.mjs +4 -4
  81. package/dist/pptx/converter/index.cjs +69 -91
  82. package/dist/pptx/converter/index.d.ts +1 -1
  83. package/dist/pptx/converter/index.mjs +2 -2
  84. package/dist/pptx/editor/render/custom-show-operations.cjs +2 -2
  85. package/dist/pptx/editor/render/custom-show-operations.mjs +1 -1
  86. package/dist/pptx/editor/render/find-replace.cjs +15 -15
  87. package/dist/pptx/editor/render/find-replace.d.ts +2 -2
  88. package/dist/pptx/editor/render/find-replace.mjs +2 -2
  89. package/dist/pptx/editor/render/slide-operations.cjs +9 -9
  90. package/dist/pptx/editor/render/slide-operations.mjs +3 -3
  91. package/dist/pptx/editor/render/table-data-grid-ops.cjs +5 -5
  92. package/dist/pptx/editor/render/table-data-grid-ops.mjs +1 -1
  93. package/dist/pptx/editor/render/table-layout.cjs +6 -6
  94. package/dist/pptx/editor/render/table-layout.d.ts +8 -37
  95. package/dist/pptx/editor/render/table-layout.d.ts.map +1 -1
  96. package/dist/pptx/editor/render/table-layout.mjs +1 -1
  97. package/dist/pptx/editor/render/text-runs-style-patch.d.ts +1 -1
  98. package/dist/pptx/editor/render/text-style-scope.d.ts +1 -1
  99. package/dist/pptx/index.cjs +225 -135
  100. package/dist/pptx/index.d.ts +6 -5
  101. package/dist/pptx/index.mjs +5 -5
  102. package/dist/pptx/node/index.d.ts +1 -1
  103. package/dist/teams/index.cjs +136 -91
  104. package/dist/teams/index.mjs +136 -91
  105. package/dist/text/css-font-family.d.ts.map +1 -1
  106. package/dist/text/font-metrics/design-advances.generated.d.ts +3 -1
  107. package/dist/text/font-metrics/design-advances.generated.d.ts.map +1 -1
  108. package/dist/text/index.cjs +2252 -0
  109. package/dist/text/index.d.ts +1 -0
  110. package/dist/text/index.d.ts.map +1 -1
  111. package/dist/text/index.mjs +2231 -1
  112. package/dist/text/metric-font-family.d.ts.map +1 -1
  113. package/dist/text/webfonts/font-weight-names.d.ts +66 -0
  114. package/dist/text/webfonts/font-weight-names.d.ts.map +1 -0
  115. package/dist/text/webfonts/google-fonts-catalogue.d.ts +14 -0
  116. package/dist/text/webfonts/google-fonts-catalogue.d.ts.map +1 -0
  117. package/dist/text/webfonts/google-fonts-lookup.d.ts +7 -0
  118. package/dist/text/webfonts/google-fonts-lookup.d.ts.map +1 -0
  119. package/dist/text/webfonts/google-fonts-request.d.ts +57 -0
  120. package/dist/text/webfonts/google-fonts-request.d.ts.map +1 -0
  121. package/dist/text/webfonts/index.d.ts +12 -0
  122. package/dist/text/webfonts/index.d.ts.map +1 -0
  123. package/dist/text/webfonts/metric-clones.d.ts +17 -0
  124. package/dist/text/webfonts/metric-clones.d.ts.map +1 -0
  125. package/dist/text/webfonts/webfont-faces.d.ts +24 -0
  126. package/dist/text/webfonts/webfont-faces.d.ts.map +1 -0
  127. package/dist/visio/index.cjs +64 -0
  128. package/dist/visio/index.d.ts +1 -0
  129. package/dist/visio/index.d.ts.map +1 -1
  130. package/dist/visio/index.mjs +64 -1
  131. package/dist/visio/ui/index.cjs +8 -0
  132. package/dist/visio/ui/index.mjs +8 -0
  133. package/dist/visio/webfont-runs.d.ts +27 -0
  134. package/dist/visio/webfont-runs.d.ts.map +1 -0
  135. package/dist/xlsx/collab/index.cjs +67 -89
  136. package/dist/xlsx/collab/index.mjs +67 -89
  137. package/dist/xlsx/index.cjs +2253 -118
  138. package/dist/xlsx/index.mjs +2249 -119
  139. package/dist/xlsx/layout/font-stack.d.ts +8 -0
  140. package/dist/xlsx/layout/font-stack.d.ts.map +1 -0
  141. package/dist/xlsx/layout/index.d.ts +3 -1
  142. package/dist/xlsx/layout/index.d.ts.map +1 -1
  143. package/dist/xlsx/layout/shape-paint.d.ts.map +1 -1
  144. package/dist/xlsx/layout/shape-view.d.ts.map +1 -1
  145. package/dist/xlsx/layout/style-view.d.ts +2 -0
  146. package/dist/xlsx/layout/style-view.d.ts.map +1 -1
  147. package/dist/xlsx/layout/webfont-runs.d.ts +11 -0
  148. package/dist/xlsx/layout/webfont-runs.d.ts.map +1 -0
  149. package/dist/xlsx/load/index.cjs +67 -89
  150. package/dist/xlsx/load/index.mjs +67 -89
  151. package/dist/xlsx/ui/commands/util.d.ts.map +1 -1
  152. package/dist/xlsx/ui/context.d.ts +5 -0
  153. package/dist/xlsx/ui/context.d.ts.map +1 -1
  154. package/dist/xlsx/ui/grid/cell-paint.d.ts +3 -2
  155. package/dist/xlsx/ui/grid/cell-paint.d.ts.map +1 -1
  156. package/dist/xlsx/ui/index.cjs +2093 -102
  157. package/dist/xlsx/ui/index.mjs +2093 -103
  158. package/package.json +1 -1
  159. package/dist/PptxHandler-EL4E4SPH.mjs +0 -5
  160. package/dist/PptxHandler-OIZ3R3DJ.cjs +0 -14
  161. package/dist/chunk-3IT6ZD7K.mjs +0 -213
  162. package/dist/chunk-FRUB573B.cjs +0 -219
  163. package/dist/pptx/chunks/elements-6BMEOo7i.d.ts.map +0 -1
  164. package/dist/pptx/chunks/index-Dija_Wth.d.ts.map +0 -1
  165. package/dist/pptx/chunks/index-DvN0TkJJ.d.ts.map +0 -1
  166. package/dist/pptx/chunks/text-operations-DorONr3h.d.ts.map +0 -1
package/dist/index.cjs CHANGED
@@ -1121,46 +1121,46 @@ __export(chart_exports, {
1121
1121
 
1122
1122
  // chart/regression.ts
1123
1123
  function computeLinearRegression(xVals, yVals) {
1124
- const n2 = xVals.length;
1125
- if (n2 < 2) {
1124
+ const n3 = xVals.length;
1125
+ if (n3 < 2) {
1126
1126
  return { slope: 0, intercept: 0, rSquared: 0 };
1127
1127
  }
1128
1128
  let sumX = 0;
1129
1129
  let sumY = 0;
1130
1130
  let sumXY = 0;
1131
1131
  let sumXX = 0;
1132
- for (let i2 = 0; i2 < n2; i2++) {
1132
+ for (let i2 = 0; i2 < n3; i2++) {
1133
1133
  sumX += xVals[i2];
1134
1134
  sumY += yVals[i2];
1135
1135
  sumXY += xVals[i2] * yVals[i2];
1136
1136
  sumXX += xVals[i2] * xVals[i2];
1137
1137
  }
1138
- const denom = n2 * sumXX - sumX * sumX;
1138
+ const denom = n3 * sumXX - sumX * sumX;
1139
1139
  if (Math.abs(denom) < 1e-12) {
1140
- return { slope: 0, intercept: sumY / n2, rSquared: 0 };
1140
+ return { slope: 0, intercept: sumY / n3, rSquared: 0 };
1141
1141
  }
1142
- const slope = (n2 * sumXY - sumX * sumY) / denom;
1143
- const intercept = (sumY - slope * sumX) / n2;
1142
+ const slope = (n3 * sumXY - sumX * sumY) / denom;
1143
+ const intercept = (sumY - slope * sumX) / n3;
1144
1144
  const ssRes = yVals.reduce((s2, y, i2) => s2 + (y - (slope * xVals[i2] + intercept)) ** 2, 0);
1145
- const meanY = sumY / n2;
1145
+ const meanY = sumY / n3;
1146
1146
  const ssTot = yVals.reduce((s2, y) => s2 + (y - meanY) ** 2, 0);
1147
1147
  const rSquared = ssTot > 0 ? 1 - ssRes / ssTot : 0;
1148
1148
  return { slope, intercept, rSquared };
1149
1149
  }
1150
1150
  function fitPolynomial(xVals, yVals, order) {
1151
- const n2 = xVals.length;
1151
+ const n3 = xVals.length;
1152
1152
  const m = order + 1;
1153
1153
  const matrix2 = Array.from({ length: m }, () => Array(m + 1).fill(0));
1154
1154
  for (let i2 = 0; i2 < m; i2++) {
1155
1155
  for (let j = 0; j < m; j++) {
1156
1156
  let sum2 = 0;
1157
- for (let k = 0; k < n2; k++) {
1157
+ for (let k = 0; k < n3; k++) {
1158
1158
  sum2 += xVals[k] ** (i2 + j);
1159
1159
  }
1160
1160
  matrix2[i2][j] = sum2;
1161
1161
  }
1162
1162
  let sum = 0;
1163
- for (let k = 0; k < n2; k++) {
1163
+ for (let k = 0; k < n3; k++) {
1164
1164
  sum += yVals[k] * xVals[k] ** i2;
1165
1165
  }
1166
1166
  matrix2[i2][m] = sum;
@@ -1193,14 +1193,14 @@ function fitPolynomial(xVals, yVals, order) {
1193
1193
  return matrix2.map((row2) => row2[m]);
1194
1194
  }
1195
1195
  function computeRSquared(xVals, yVals, evalFn) {
1196
- const n2 = xVals.length;
1197
- if (n2 === 0) {
1196
+ const n3 = xVals.length;
1197
+ if (n3 === 0) {
1198
1198
  return 0;
1199
1199
  }
1200
- const meanY = yVals.reduce((s2, y) => s2 + y, 0) / n2;
1200
+ const meanY = yVals.reduce((s2, y) => s2 + y, 0) / n3;
1201
1201
  let ssRes = 0;
1202
1202
  let ssTot = 0;
1203
- for (let i2 = 0; i2 < n2; i2++) {
1203
+ for (let i2 = 0; i2 < n3; i2++) {
1204
1204
  ssRes += (yVals[i2] - evalFn(xVals[i2])) ** 2;
1205
1205
  ssTot += (yVals[i2] - meanY) ** 2;
1206
1206
  }
@@ -2172,8 +2172,8 @@ function chartStylePresetOfColors(seriesColors) {
2172
2172
  }
2173
2173
 
2174
2174
  // chart/quick-layouts.ts
2175
- var L = (n2, flags, gapWidth, overlap) => ({
2176
- n: n2,
2175
+ var L = (n3, flags, gapWidth, overlap) => ({
2176
+ n: n3,
2177
2177
  title: false,
2178
2178
  legend: null,
2179
2179
  dataLabels: false,
@@ -2216,8 +2216,8 @@ var CHART_QUICK_LAYOUTS = [
2216
2216
  L(10, { title: true, legend: "r", majorGridlines: true }, 75, 40),
2217
2217
  L(11, { legend: "r", majorGridlines: true }, 150, 0)
2218
2218
  ];
2219
- function findChartQuickLayout(n2) {
2220
- return CHART_QUICK_LAYOUTS.find((layout) => layout.n === n2);
2219
+ function findChartQuickLayout(n3) {
2220
+ return CHART_QUICK_LAYOUTS.find((layout) => layout.n === n3);
2221
2221
  }
2222
2222
  var CHART_QUICK_LAYOUT_AXIS_TITLE = "Axis Title";
2223
2223
 
@@ -2518,8 +2518,8 @@ function chartErrorBarAmount(options2, values, displayIndex, sourceIndex, side)
2518
2518
 
2519
2519
  // chart/radar-geometry.ts
2520
2520
  function radarAngle(index, catCount) {
2521
- const n2 = Math.max(catCount, 1);
2522
- return Math.PI * 2 * index / n2 - Math.PI / 2;
2521
+ const n3 = Math.max(catCount, 1);
2522
+ return Math.PI * 2 * index / n3 - Math.PI / 2;
2523
2523
  }
2524
2524
  function computeRadarPoints(values, maxVal, radius, cx, cy, catCount) {
2525
2525
  const denom = maxVal > 0 ? maxVal : 1;
@@ -2529,9 +2529,9 @@ function computeRadarPoints(values, maxVal, radius, cx, cy, catCount) {
2529
2529
  });
2530
2530
  }
2531
2531
  function radarRingPoints(cx, cy, rr, catCount) {
2532
- const n2 = Math.max(catCount, 1);
2533
- return Array.from({ length: n2 }, (_, i2) => {
2534
- const angle = radarAngle(i2, n2);
2532
+ const n3 = Math.max(catCount, 1);
2533
+ return Array.from({ length: n3 }, (_, i2) => {
2534
+ const angle = radarAngle(i2, n3);
2535
2535
  return `${(cx + rr * Math.cos(angle)).toFixed(2)},${(cy + rr * Math.sin(angle)).toFixed(2)}`;
2536
2536
  }).join(" ");
2537
2537
  }
@@ -2860,8 +2860,8 @@ var isLowSurrogate = (text3, at2) => {
2860
2860
  const code = text3.charCodeAt(at2);
2861
2861
  return code >= 56320 && code <= 57343;
2862
2862
  };
2863
- function shortestEdit(n2, m, same5, maxEdits) {
2864
- const max = Math.min(n2 + m, maxEdits);
2863
+ function shortestEdit(n3, m, same5, maxEdits) {
2864
+ const max = Math.min(n3 + m, maxEdits);
2865
2865
  const offset = max + 1;
2866
2866
  const v = new Int32Array(2 * max + 3);
2867
2867
  const trace = [];
@@ -2870,20 +2870,20 @@ function shortestEdit(n2, m, same5, maxEdits) {
2870
2870
  const down = k === -d || k !== d && v[offset + k - 1] < v[offset + k + 1];
2871
2871
  let x = down ? v[offset + k + 1] : v[offset + k - 1] + 1;
2872
2872
  let y = x - k;
2873
- while (x < n2 && y < m && same5(x, y)) {
2873
+ while (x < n3 && y < m && same5(x, y)) {
2874
2874
  x++;
2875
2875
  y++;
2876
2876
  }
2877
2877
  v[offset + k] = x;
2878
- if (x >= n2 && y >= m) return backtrack(trace, n2, m, d);
2878
+ if (x >= n3 && y >= m) return backtrack(trace, n3, m, d);
2879
2879
  }
2880
2880
  trace.push(v.slice(offset - d, offset + d + 1));
2881
2881
  }
2882
2882
  return void 0;
2883
2883
  }
2884
- function backtrack(trace, n2, m, d) {
2884
+ function backtrack(trace, n3, m, d) {
2885
2885
  const edits = [];
2886
- let x = n2;
2886
+ let x = n3;
2887
2887
  let y = m;
2888
2888
  for (let step = d; step > 0; step--) {
2889
2889
  const previous = trace[step - 1];
@@ -3335,15 +3335,15 @@ function* topLevelNodes(xml2, namespaces) {
3335
3335
  const level4 = root.childNodes;
3336
3336
  const stack = [root];
3337
3337
  let top = root;
3338
- const n2 = source2.length;
3338
+ const n3 = source2.length;
3339
3339
  let pos = 0;
3340
- while (pos < n2) {
3340
+ while (pos < n3) {
3341
3341
  if (level4.length && stack.length === 1) {
3342
3342
  yield* level4;
3343
3343
  level4.length = 0;
3344
3344
  }
3345
3345
  const lt = source2.indexOf("<", pos);
3346
- const end = lt < 0 ? n2 : lt;
3346
+ const end = lt < 0 ? n3 : lt;
3347
3347
  if (end > pos) {
3348
3348
  const text3 = decode(source2.slice(pos, end));
3349
3349
  if (text3 === void 0) return false;
@@ -3399,10 +3399,10 @@ function skipCommentOrCdata(source2, lt, parent) {
3399
3399
  return -1;
3400
3400
  }
3401
3401
  function startTag(source2, from, namespaces) {
3402
- const n2 = source2.length;
3402
+ const n3 = source2.length;
3403
3403
  let i2 = from;
3404
3404
  let colon = -1;
3405
- while (i2 < n2) {
3405
+ while (i2 < n3) {
3406
3406
  const code = source2.charCodeAt(i2);
3407
3407
  if (isSpace(code) || code === 62 || code === 47) break;
3408
3408
  if (code === 58) {
@@ -3422,8 +3422,8 @@ function startTag(source2, from, namespaces) {
3422
3422
  ns || null
3423
3423
  );
3424
3424
  for (; ; ) {
3425
- while (i2 < n2 && isSpace(source2.charCodeAt(i2))) i2++;
3426
- if (i2 >= n2) return void 0;
3425
+ while (i2 < n3 && isSpace(source2.charCodeAt(i2))) i2++;
3426
+ if (i2 >= n3) return void 0;
3427
3427
  const code = source2.charCodeAt(i2);
3428
3428
  if (code === 62) return { element: element4, selfClosing: false, end: i2 + 1 };
3429
3429
  if (code === 47) {
@@ -3437,7 +3437,7 @@ function startTag(source2, from, namespaces) {
3437
3437
  const attrPrefix = name2.includes(":") ? name2.slice(0, name2.indexOf(":")) : "";
3438
3438
  if (attrPrefix && attrPrefix !== "xml" && !namespaces[attrPrefix]) return void 0;
3439
3439
  let q = eq + 1;
3440
- while (q < n2 && isSpace(source2.charCodeAt(q))) q++;
3440
+ while (q < n3 && isSpace(source2.charCodeAt(q))) q++;
3441
3441
  const quote = source2[q];
3442
3442
  if (quote !== '"' && quote !== "'") return void 0;
3443
3443
  const close = source2.indexOf(quote, q + 1);
@@ -3449,7 +3449,7 @@ function startTag(source2, from, namespaces) {
3449
3449
  element4.attrs.push(name2, value);
3450
3450
  i2 = close + 1;
3451
3451
  const after = source2.charCodeAt(i2);
3452
- if (i2 < n2 && !isSpace(after) && after !== 62 && after !== 47) return void 0;
3452
+ if (i2 < n3 && !isSpace(after) && after !== 62 && after !== 47) return void 0;
3453
3453
  }
3454
3454
  }
3455
3455
  var compiler = xpath__namespace;
@@ -3506,7 +3506,7 @@ function descendants(root, local) {
3506
3506
  function orderedColorTransforms(channels, transforms) {
3507
3507
  let { r, g: g3, b } = channels;
3508
3508
  let alpha = 1;
3509
- const wrap2 = (value) => (value % 360 + 360) % 360;
3509
+ const wrap3 = (value) => (value % 360 + 360) % 360;
3510
3510
  for (const transform6 of transforms) {
3511
3511
  const { name: name2, value } = transform6;
3512
3512
  const fraction2 = parseDrawingFraction(value);
@@ -3524,14 +3524,14 @@ function orderedColorTransforms(channels, transforms) {
3524
3524
  [r, g3, b] = [mix(r), mix(g3), mix(b)];
3525
3525
  } else {
3526
3526
  const hsl = rgbToHsl(r, g3, b);
3527
- if (name2 === "comp") hsl.h = wrap2(hsl.h + 180);
3527
+ if (name2 === "comp") hsl.h = wrap3(hsl.h + 180);
3528
3528
  else if (name2 === "hue") {
3529
3529
  const hue = parseDrawingHueDegrees(value);
3530
- if (hue !== void 0) hsl.h = wrap2(hue);
3530
+ if (hue !== void 0) hsl.h = wrap3(hue);
3531
3531
  } else if (name2 === "hueOff") {
3532
3532
  const hue = parseDrawingHueDegrees(value);
3533
- if (hue !== void 0) hsl.h = wrap2(hsl.h + hue);
3534
- } else if (name2 === "hueMod" && fraction2 !== void 0) hsl.h = wrap2(hsl.h * fraction2);
3533
+ if (hue !== void 0) hsl.h = wrap3(hsl.h + hue);
3534
+ } else if (name2 === "hueMod" && fraction2 !== void 0) hsl.h = wrap3(hsl.h * fraction2);
3535
3535
  else if (name2 === "sat" && fraction2 !== void 0) hsl.s = clampUnitInterval(fraction2);
3536
3536
  else if (name2 === "satMod" && fraction2 !== void 0) hsl.s *= fraction2;
3537
3537
  else if (name2 === "satOff" && fraction2 !== void 0)
@@ -3689,13 +3689,13 @@ function resolveDrawingColor(color2, theme, options2) {
3689
3689
  }
3690
3690
  if (["hue", "hueMod", "hueOff", "sat", "satMod", "satOff", "lum", "lumMod", "lumOff"].some(has)) {
3691
3691
  const hsl = rgbToHsl(r, g3, b);
3692
- const wrap2 = (degrees) => (degrees % 360 + 360) % 360;
3692
+ const wrap3 = (degrees) => (degrees % 360 + 360) % 360;
3693
3693
  const hueAbs = parseDrawingHueDegrees(find("hue"));
3694
- if (hueAbs !== void 0) hsl.h = wrap2(hueAbs);
3694
+ if (hueAbs !== void 0) hsl.h = wrap3(hueAbs);
3695
3695
  const hueMod = parseDrawingFraction(find("hueMod"));
3696
- if (hueMod !== void 0) hsl.h = wrap2(hsl.h * hueMod);
3696
+ if (hueMod !== void 0) hsl.h = wrap3(hsl.h * hueMod);
3697
3697
  const hueOff = parseDrawingHueDegrees(find("hueOff"));
3698
- if (hueOff !== void 0) hsl.h = wrap2(hsl.h + hueOff);
3698
+ if (hueOff !== void 0) hsl.h = wrap3(hsl.h + hueOff);
3699
3699
  const satAbs = parseDrawingFraction(find("sat"));
3700
3700
  if (satAbs !== void 0) hsl.s = clampUnitInterval(satAbs);
3701
3701
  const satMod = parseDrawingFraction(find("satMod"));
@@ -3772,12 +3772,12 @@ var CHART_COLOR_PALETTES = [
3772
3772
  function findChartColorPalette(id) {
3773
3773
  return CHART_COLOR_PALETTES.find((palette) => palette.id === id);
3774
3774
  }
3775
- function withinLinearTransform(i2, n2) {
3776
- if (n2 <= 1) {
3775
+ function withinLinearTransform(i2, n3) {
3776
+ if (n3 <= 1) {
3777
3777
  return {};
3778
3778
  }
3779
- const step = 140 / (n2 + 1);
3780
- const centre = (n2 - 1) / 2;
3779
+ const step = 140 / (n3 + 1);
3780
+ const centre = (n3 - 1) / 2;
3781
3781
  const value = 100 - step * Math.abs(i2 - centre);
3782
3782
  if (i2 < centre) {
3783
3783
  return { shade: Math.floor(value + 1e-9) * 1e3 };
@@ -3787,7 +3787,7 @@ function withinLinearTransform(i2, n2) {
3787
3787
  }
3788
3788
  return {};
3789
3789
  }
3790
- function chartPaletteSeriesColorChoice(palette, i2, n2) {
3790
+ function chartPaletteSeriesColorChoice(palette, i2, n3) {
3791
3791
  let base;
3792
3792
  let transform6;
3793
3793
  if (palette.meth === "cycle") {
@@ -3795,9 +3795,9 @@ function chartPaletteSeriesColorChoice(palette, i2, n2) {
3795
3795
  const round3 = Math.floor(i2 / palette.base.length);
3796
3796
  transform6 = (palette.variations.length ? palette.variations[round3 % palette.variations.length] : {}) ?? {};
3797
3797
  } else {
3798
- const index = palette.meth === "withinLinearReversed" ? n2 - 1 - i2 : i2;
3798
+ const index = palette.meth === "withinLinearReversed" ? n3 - 1 - i2 : i2;
3799
3799
  base = palette.base[0];
3800
- transform6 = withinLinearTransform(index, n2);
3800
+ transform6 = withinLinearTransform(index, n3);
3801
3801
  }
3802
3802
  if (!base) throw new RangeError("A chart palette must have a base color");
3803
3803
  return {
@@ -3806,12 +3806,12 @@ function chartPaletteSeriesColorChoice(palette, i2, n2) {
3806
3806
  transforms: Object.entries(transform6).map(([name2, value]) => ({ name: name2, value: String(value) }))
3807
3807
  };
3808
3808
  }
3809
- function chartPaletteSeriesColor(palette, i2, n2, scheme2) {
3810
- const choice = chartPaletteSeriesColorChoice(palette, i2, n2);
3809
+ function chartPaletteSeriesColor(palette, i2, n3, scheme2) {
3810
+ const choice = chartPaletteSeriesColorChoice(palette, i2, n3);
3811
3811
  return (resolveDrawingColor(choice, { scheme: (name2) => scheme2[name2] })?.hex ?? scheme2[choice.value]).toUpperCase();
3812
3812
  }
3813
- function chartPaletteColors(palette, n2, scheme2) {
3814
- return Array.from({ length: n2 }, (_, i2) => chartPaletteSeriesColor(palette, i2, n2, scheme2));
3813
+ function chartPaletteColors(palette, n3, scheme2) {
3814
+ return Array.from({ length: n3 }, (_, i2) => chartPaletteSeriesColor(palette, i2, n3, scheme2));
3815
3815
  }
3816
3816
 
3817
3817
  // chart/color-style.ts
@@ -3988,12 +3988,12 @@ function parseArtisticPictureExtension(node) {
3988
3988
  const key = ARTISTIC_PRIMARY_ATTRIBUTE[effect.localName];
3989
3989
  if (!key) return void 0;
3990
3990
  const raw2 = key ? effect.getAttribute(key) : null;
3991
- const n2 = raw2 === null ? 0 : Number(raw2);
3992
- if (!Number.isFinite(n2)) return void 0;
3991
+ const n3 = raw2 === null ? 0 : Number(raw2);
3992
+ if (!Number.isFinite(n3)) return void 0;
3993
3993
  return {
3994
3994
  kind: "artistic",
3995
3995
  name: effect.localName,
3996
- radius: effect.localName === "artisticBlur" ? n2 : n2 / 1e3,
3996
+ radius: effect.localName === "artisticBlur" ? n3 : n3 / 1e3,
3997
3997
  baked: true,
3998
3998
  ...unhandled.length ? { unhandled } : {}
3999
3999
  };
@@ -4105,10 +4105,10 @@ function parseStandardPictureEffect(node) {
4105
4105
  const raw2 = node.getAttribute(attribute2);
4106
4106
  if (raw2 === null) continue;
4107
4107
  const percent = raw2.endsWith("%");
4108
- const n2 = Number(percent ? raw2.slice(0, -1) : raw2) / (key === "hue" ? 6e4 : key === "radiusEmu" ? 1 : percent ? 100 : 1e5);
4109
- if (!Number.isFinite(n2) || key === "hue" && (n2 < 0 || n2 >= 360) || key === "threshold" && (n2 < 0 || n2 > 1) || key === "radiusEmu" && (!Number.isSafeInteger(n2) || n2 < 0) || ["saturation", "luminance", "amount"].includes(key) && name2 !== "alphaMod" && (n2 < (name2 === "alphaRepl" ? 0 : -1) || n2 > 1))
4108
+ const n3 = Number(percent ? raw2.slice(0, -1) : raw2) / (key === "hue" ? 6e4 : key === "radiusEmu" ? 1 : percent ? 100 : 1e5);
4109
+ if (!Number.isFinite(n3) || key === "hue" && (n3 < 0 || n3 >= 360) || key === "threshold" && (n3 < 0 || n3 > 1) || key === "radiusEmu" && (!Number.isSafeInteger(n3) || n3 < 0) || ["saturation", "luminance", "amount"].includes(key) && name2 !== "alphaMod" && (n3 < (name2 === "alphaRepl" ? 0 : -1) || n3 > 1))
4110
4110
  return void 0;
4111
- values[key] = n2;
4111
+ values[key] = n3;
4112
4112
  }
4113
4113
  if (["biLevel", "alphaBiLevel"].includes(name2) && values.threshold === void 0)
4114
4114
  return void 0;
@@ -4118,9 +4118,9 @@ function parseStandardPictureEffect(node) {
4118
4118
  const nested = cont ? elements(cont) : [];
4119
4119
  if (nested.length !== 1 || nested[0]?.localName !== "alphaModFix") return void 0;
4120
4120
  const raw2 = nested[0].getAttribute("amt") ?? "100000";
4121
- const n2 = Number(raw2.endsWith("%") ? raw2.slice(0, -1) : raw2) / (raw2.endsWith("%") ? 100 : 1e5);
4122
- if (!Number.isFinite(n2) || n2 < 0) return void 0;
4123
- values.amount = n2;
4121
+ const n3 = Number(raw2.endsWith("%") ? raw2.slice(0, -1) : raw2) / (raw2.endsWith("%") ? 100 : 1e5);
4122
+ if (!Number.isFinite(n3) || n3 < 0) return void 0;
4123
+ values.amount = n3;
4124
4124
  }
4125
4125
  let colors = [];
4126
4126
  if (name2 === "duotone") {
@@ -4216,8 +4216,8 @@ function picturePercentage(value) {
4216
4216
  const text3 = String(value ?? "").trim();
4217
4217
  if (!text3) return void 0;
4218
4218
  const percent = text3.endsWith("%");
4219
- const n2 = Number(percent ? text3.slice(0, -1) : text3) / (percent ? 100 : 1e5);
4220
- return Number.isFinite(n2) ? n2 : void 0;
4219
+ const n3 = Number(percent ? text3.slice(0, -1) : text3) / (percent ? 100 : 1e5);
4220
+ return Number.isFinite(n3) ? n3 : void 0;
4221
4221
  }
4222
4222
  function readPictureEffect(name2, attribute2) {
4223
4223
  if (name2 === "grayscl") return { kind: "grayscale" };
@@ -4377,16 +4377,16 @@ function parsePictureLayout(fill) {
4377
4377
  ["scaleX", "sx"],
4378
4378
  ["scaleY", "sy"]
4379
4379
  ]) {
4380
- const n2 = picturePercentage(tile.getAttribute(attr4));
4381
- if (n2 !== void 0) value[key] = n2;
4380
+ const n3 = picturePercentage(tile.getAttribute(attr4));
4381
+ if (n3 !== void 0) value[key] = n3;
4382
4382
  }
4383
4383
  for (const [key, attr4] of [
4384
4384
  ["offsetXEmu", "tx"],
4385
4385
  ["offsetYEmu", "ty"]
4386
4386
  ]) {
4387
4387
  const raw2 = tile.getAttribute(attr4);
4388
- const n2 = raw2 === null ? NaN : Number(raw2);
4389
- if (Number.isSafeInteger(n2)) value[key] = n2;
4388
+ const n3 = raw2 === null ? NaN : Number(raw2);
4389
+ if (Number.isSafeInteger(n3)) value[key] = n3;
4390
4390
  }
4391
4391
  const alignment = tile.getAttribute("algn");
4392
4392
  if (alignment) value.alignment = alignment;
@@ -4441,14 +4441,14 @@ function applyPictureLayout(fill, layout) {
4441
4441
  ["offsetXEmu", "tx"],
4442
4442
  ["offsetYEmu", "ty"]
4443
4443
  ]) {
4444
- const n2 = layout.tile[key];
4445
- if (n2 !== void 0 && (!Number.isFinite(n2) || (name2 === "sx" || name2 === "sy" ? n2 <= 0 : !Number.isSafeInteger(n2))))
4444
+ const n3 = layout.tile[key];
4445
+ if (n3 !== void 0 && (!Number.isFinite(n3) || (name2 === "sx" || name2 === "sy" ? n3 <= 0 : !Number.isSafeInteger(n3))))
4446
4446
  throw new RangeError("Invalid picture tile");
4447
- if (n2 !== before.tile?.[key])
4447
+ if (n3 !== before.tile?.[key])
4448
4448
  attr4(
4449
4449
  tile,
4450
4450
  name2,
4451
- n2 === void 0 ? void 0 : Math.round(n2 * (name2 === "sx" || name2 === "sy" ? 1e5 : 1)),
4451
+ n3 === void 0 ? void 0 : Math.round(n3 * (name2 === "sx" || name2 === "sy" ? 1e5 : 1)),
4452
4452
  void 0
4453
4453
  );
4454
4454
  }
@@ -4465,11 +4465,11 @@ function applyPictureLayout(fill, layout) {
4465
4465
  if (tile) fill.removeChild(tile);
4466
4466
  const rect3 = make(make(fill, "stretch"), "fillRect");
4467
4467
  for (const key of ["l", "t", "r", "b"]) {
4468
- const n2 = layout.fillRect?.[key];
4469
- if (n2 !== void 0 && !Number.isFinite(n2))
4468
+ const n3 = layout.fillRect?.[key];
4469
+ if (n3 !== void 0 && !Number.isFinite(n3))
4470
4470
  throw new RangeError("Invalid picture fill rectangle");
4471
- if (n2 !== before.fillRect?.[key])
4472
- attr4(rect3, key, n2 === void 0 ? void 0 : Math.round(n2 * 1e5), void 0);
4471
+ if (n3 !== before.fillRect?.[key])
4472
+ attr4(rect3, key, n3 === void 0 ? void 0 : Math.round(n3 * 1e5), void 0);
4473
4473
  }
4474
4474
  }
4475
4475
  }
@@ -5344,7 +5344,7 @@ function lerpStops(a2, b, t) {
5344
5344
  opacity: oa + (ob - oa) * t
5345
5345
  };
5346
5346
  }
5347
- function colorAt(stops, position) {
5347
+ function gradientColorAt(stops, position) {
5348
5348
  const first2 = stops[0];
5349
5349
  const last = stops[stops.length - 1];
5350
5350
  if (position <= first2.position) {
@@ -5406,7 +5406,7 @@ function buildRectPathGradientSvg(stops, focalPoint, fillToRect, options2) {
5406
5406
  if (!Number.isInteger(bands) || bands < 1) throw new RangeError("Invalid gradient band count");
5407
5407
  for (let i2 = bands; i2 >= 0; i2 -= 1) {
5408
5408
  const t = i2 / bands;
5409
- const { color: color2, opacity } = colorAt(sorted, t * 100);
5409
+ const { color: color2, opacity } = gradientColorAt(sorted, t * 100);
5410
5410
  const left = lerpEdge(inner.left, 0, t);
5411
5411
  const top = lerpEdge(inner.top, 0, t);
5412
5412
  const right = lerpEdge(inner.right, 100, t);
@@ -5431,10 +5431,10 @@ function buildRectPathGradientExactSvg(stops, focalPoint, fillToRect) {
5431
5431
  }
5432
5432
  const sorted = [...stops].sort((a2, b) => a2.position - b.position);
5433
5433
  const { left, top, right, bottom } = resolveInnerRect(fillToRect, focalPoint);
5434
- const n2 = (value) => String(Math.round(value * 1e3) / 1e3);
5435
- const alpha = (opacity, attr4) => (opacity ?? 1) < 1 ? ` ${attr4}="${n2(Math.max(0, opacity ?? 1))}"` : "";
5434
+ const n3 = (value) => String(Math.round(value * 1e3) / 1e3);
5435
+ const alpha = (opacity, attr4) => (opacity ?? 1) < 1 ? ` ${attr4}="${n3(Math.max(0, opacity ?? 1))}"` : "";
5436
5436
  const stopMarkup = sorted.map(
5437
- (stop) => `<stop offset="${n2(Math.min(Math.max(stop.position, 0), 100) / 100)}" stop-color="${stop.color}"${alpha(stop.opacity, "stop-opacity")}/>`
5437
+ (stop) => `<stop offset="${n3(Math.min(Math.max(stop.position, 0), 100) / 100)}" stop-color="${stop.color}"${alpha(stop.opacity, "stop-opacity")}/>`
5438
5438
  ).join("");
5439
5439
  const sides = [
5440
5440
  { id: "t", pts: [0, 0, 100, 0, right, top, left, top], v: [0, top, 0, 0], size: top },
@@ -5453,15 +5453,15 @@ function buildRectPathGradientExactSvg(stops, focalPoint, fillToRect) {
5453
5453
  }
5454
5454
  ].filter((side) => side.size > 1e-3);
5455
5455
  const defs = sides.map(
5456
- (side) => `<linearGradient id="${side.id}" gradientUnits="userSpaceOnUse" x1="${n2(side.v[0])}" y1="${n2(side.v[1])}" x2="${n2(side.v[2])}" y2="${n2(side.v[3])}">${stopMarkup}</linearGradient>`
5456
+ (side) => `<linearGradient id="${side.id}" gradientUnits="userSpaceOnUse" x1="${n3(side.v[0])}" y1="${n3(side.v[1])}" x2="${n3(side.v[2])}" y2="${n3(side.v[3])}">${stopMarkup}</linearGradient>`
5457
5457
  ).join("");
5458
5458
  const polygons = sides.map((side) => {
5459
- const points2 = side.pts.map(n2);
5459
+ const points2 = side.pts.map(n3);
5460
5460
  const pairs = [0, 2, 4, 6].map((i2) => `${points2[i2]},${points2[i2 + 1]}`).join(" ");
5461
5461
  return `<polygon points="${pairs}" fill="url(#${side.id})"/>`;
5462
5462
  }).join("");
5463
5463
  const first2 = sorted[0];
5464
- const plateau = right - left > 1e-3 && bottom - top > 1e-3 ? `<rect x="${n2(left)}" y="${n2(top)}" width="${n2(right - left)}" height="${n2(bottom - top)}" fill="${first2.color}"${alpha(first2.opacity, "fill-opacity")}/>` : "";
5464
+ const plateau = right - left > 1e-3 && bottom - top > 1e-3 ? `<rect x="${n3(left)}" y="${n3(top)}" width="${n3(right - left)}" height="${n3(bottom - top)}" fill="${first2.color}"${alpha(first2.opacity, "fill-opacity")}/>` : "";
5465
5465
  return `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none" shape-rendering="crispEdges"><defs>${defs}</defs>${polygons}${plateau}</svg>`;
5466
5466
  }
5467
5467
  function buildRectPathGradientImage(stops, focalPoint, fillToRect) {
@@ -8330,8 +8330,8 @@ function chartDataSheetPasteEdits(sheet, anchor, block, parseNumber) {
8330
8330
  const edits = [];
8331
8331
  const lastSeries = anchor.col + width - 1;
8332
8332
  const lastCategory = anchor.row + block.length - 1;
8333
- for (let n2 = sheet.series.length; n2 < lastSeries; n2++) edits.push({ kind: "add-series" });
8334
- for (let n2 = sheet.categories.length; n2 < lastCategory; n2++) edits.push({ kind: "add-category" });
8333
+ for (let n3 = sheet.series.length; n3 < lastSeries; n3++) edits.push({ kind: "add-series" });
8334
+ for (let n3 = sheet.categories.length; n3 < lastCategory; n3++) edits.push({ kind: "add-category" });
8335
8335
  block.forEach(
8336
8336
  (cells, r) => cells.forEach((raw2, c2) => {
8337
8337
  const edit = chartDataSheetCellEdit(
@@ -9257,9 +9257,9 @@ function chartExDataLayout(space3, sheetName) {
9257
9257
  const data2 = values.map((value) => {
9258
9258
  if (dimension2.kind !== "numDim") return value;
9259
9259
  if (value === "") return null;
9260
- const n2 = Number(value);
9261
- if (!Number.isFinite(n2)) throw new Error("Numeric chart data is invalid.");
9262
- return n2;
9260
+ const n3 = Number(value);
9261
+ if (!Number.isFinite(n3)) throw new Error("Numeric chart data is invalid.");
9262
+ return n3;
9263
9263
  });
9264
9264
  columns.push([level4.name ?? `Data ${columns.length + 1}`, ...data2]);
9265
9265
  }
@@ -9759,7 +9759,7 @@ function syncTable(table, doc, writes, shared) {
9759
9759
  let column = list2[col - next.start.col];
9760
9760
  const header = writes.get(ref) ?? column?.getAttribute("name") ?? cellText(doc, ref, shared);
9761
9761
  let name2 = header.trim() || column && !writes.has(ref) ? header : `Column${col - next.start.col + 1}`;
9762
- for (let n2 = 2; used.has(name2.toLowerCase()); n2++) name2 = `${header}${n2}`;
9762
+ for (let n3 = 2; used.has(name2.toLowerCase()); n3++) name2 = `${header}${n3}`;
9763
9763
  used.add(name2.toLowerCase());
9764
9764
  if (!column) {
9765
9765
  column = table.ownerDocument.createElementNS(
@@ -10013,8 +10013,8 @@ async function appendChartWorkbookSheet(bytes, rowsForName, options2 = {}) {
10013
10013
  if (!base.trim() || /[\\/?*\[\]:]/u.test(base) || base.startsWith("'") || base.endsWith("'"))
10014
10014
  throw new RangeError("Invalid chart data sheet name.");
10015
10015
  let sheetName = "";
10016
- for (let n2 = 1; ; n2++) {
10017
- const suffix = String(n2);
10016
+ for (let n3 = 1; ; n3++) {
10017
+ const suffix = String(n3);
10018
10018
  const candidate = `${base.slice(0, 31 - suffix.length)}${suffix}`;
10019
10019
  if (!names.has(candidate.toLowerCase())) {
10020
10020
  sheetName = candidate;
@@ -10030,8 +10030,8 @@ async function appendChartWorkbookSheet(bytes, rowsForName, options2 = {}) {
10030
10030
  throw new RangeError("Chart workbook numbers must be finite.");
10031
10031
  const taken = new Set(Object.keys(zip.files).map((name2) => name2.toLowerCase()));
10032
10032
  let part = "";
10033
- for (let n2 = 1; ; n2++) {
10034
- const candidate = `xl/worksheets/sheet${n2}.xml`;
10033
+ for (let n3 = 1; ; n3++) {
10034
+ const candidate = `xl/worksheets/sheet${n3}.xml`;
10035
10035
  if (!taken.has(candidate.toLowerCase())) {
10036
10036
  part = candidate;
10037
10037
  break;
@@ -10039,14 +10039,14 @@ async function appendChartWorkbookSheet(bytes, rowsForName, options2 = {}) {
10039
10039
  }
10040
10040
  const ids = new Set(children(rels, "Relationship", NS.rels).map((rel) => rel.getAttribute("Id")));
10041
10041
  let id = "";
10042
- for (let n2 = 1; ; n2++) {
10043
- if (!ids.has(`rId${n2}`)) {
10044
- id = `rId${n2}`;
10042
+ for (let n3 = 1; ; n3++) {
10043
+ if (!ids.has(`rId${n3}`)) {
10044
+ id = `rId${n3}`;
10045
10045
  break;
10046
10046
  }
10047
10047
  }
10048
10048
  const sheetIds = entries.map((sheet2) => Number(sheet2.getAttribute("sheetId")));
10049
- if (sheetIds.some((n2) => !Number.isSafeInteger(n2) || n2 < 1))
10049
+ if (sheetIds.some((n3) => !Number.isSafeInteger(n3) || n3 < 1))
10050
10050
  throw new Error("The chart workbook has invalid sheet identifiers.");
10051
10051
  const sheet = element(sheets, "sheet");
10052
10052
  sheet.setAttribute("name", sheetName);
@@ -11680,8 +11680,8 @@ function chart3DLayout(model, inner, view) {
11680
11680
  }
11681
11681
 
11682
11682
  // chart/render/chart-3d-mesh.ts
11683
- function faceKind(n2) {
11684
- const [x, y, z] = n2;
11683
+ function faceKind(n3) {
11684
+ const [x, y, z] = n3;
11685
11685
  if (Math.abs(y) >= Math.abs(x) && Math.abs(y) >= Math.abs(z)) return y >= 0 ? "top" : "bottom";
11686
11686
  if (Math.abs(x) >= Math.abs(z)) return x >= 0 ? "right" : "left";
11687
11687
  return z < 0 ? "front" : "back";
@@ -11789,10 +11789,13 @@ var FALLBACKS = {
11789
11789
  calibri: '"Calibri", "Carlito", "Segoe UI", Arial, sans-serif',
11790
11790
  "calibri light": '"Calibri Light", "Calibri", "Carlito", "Segoe UI", Arial, sans-serif',
11791
11791
  cambria: '"Cambria", "Caladea", Georgia, serif',
11792
- arial: 'Arial, "Liberation Sans", Helvetica, sans-serif',
11793
- "times new roman": '"Times New Roman", "Liberation Serif", Times, serif',
11794
- "courier new": '"Courier New", "Liberation Mono", monospace',
11795
- aptos: '"Aptos", "Calibri", "Carlito", "Segoe UI", sans-serif'
11792
+ arial: 'Arial, "Arimo", "Liberation Sans", Helvetica, sans-serif',
11793
+ "times new roman": '"Times New Roman", "Tinos", "Liberation Serif", Times, serif',
11794
+ "courier new": '"Courier New", "Cousine", "Liberation Mono", monospace',
11795
+ georgia: '"Georgia", "Gelasio", serif',
11796
+ aptos: '"Aptos", "Calibri", "Carlito", "Segoe UI", sans-serif',
11797
+ "aptos narrow": '"Aptos Narrow", "Aptos", "Calibri", "Carlito", "Segoe UI", sans-serif',
11798
+ "aptos display": '"Aptos Display", "Aptos", "Calibri", "Carlito", "Segoe UI", sans-serif'
11796
11799
  };
11797
11800
  function cssFontFamily(name2) {
11798
11801
  const known = FALLBACKS[name2.toLowerCase()];
@@ -12120,7 +12123,7 @@ function scatterAnalysis(model, px3, py, out) {
12120
12123
  }
12121
12124
 
12122
12125
  // chart/render/chart-scale.ts
12123
- var clean = (n2) => Number(n2.toPrecision(12));
12126
+ var clean = (n3) => Number(n3.toPrecision(12));
12124
12127
  function* units(raw2) {
12125
12128
  let exp = Math.floor(Math.log10(raw2)) - 1;
12126
12129
  for (; ; ) {
@@ -12368,8 +12371,8 @@ function findNonLiteral(tokens, index, step) {
12368
12371
  }
12369
12372
  return void 0;
12370
12373
  }
12371
- function pad(n2, width) {
12372
- return String(n2).padStart(width, "0");
12374
+ function pad(n3, width) {
12375
+ return String(n3).padStart(width, "0");
12373
12376
  }
12374
12377
  function renderDatePart(part, count, date, twelveHour) {
12375
12378
  switch (part) {
@@ -13012,9 +13015,14 @@ __export(drawingml_exports, {
13012
13015
  booleanAttribute: () => booleanAttribute,
13013
13016
  buildImageBiLevelTable: () => buildImageBiLevelTable,
13014
13017
  buildImageLuminanceTransfer: () => buildImageLuminanceTransfer,
13018
+ buildOutlinePathGradientSvg: () => buildOutlinePathGradientSvg,
13015
13019
  buildRectPathGradientExactSvg: () => buildRectPathGradientExactSvg,
13016
13020
  buildRectPathGradientImage: () => buildRectPathGradientImage,
13017
13021
  buildRectPathGradientSvg: () => buildRectPathGradientSvg,
13022
+ capCompensatedDashArray: () => capCompensatedDashArray,
13023
+ closedSubpaths: () => closedSubpaths,
13024
+ dashPatternUnits: () => dashPatternUnits,
13025
+ dashPenWidth: () => dashPenWidth,
13018
13026
  descendants: () => descendants,
13019
13027
  drawingColorBrightness: () => drawingColorBrightness,
13020
13028
  drawingColorCss: () => drawingColorCss,
@@ -13032,9 +13040,11 @@ __export(drawingml_exports, {
13032
13040
  drawingThemeFormatSchemeXml: () => drawingThemeFormatSchemeXml,
13033
13041
  drawingThemeXml: () => drawingThemeXml,
13034
13042
  fillElementOf: () => fillElementOf,
13043
+ gradientColorAt: () => gradientColorAt,
13035
13044
  imageContentType: () => imageContentType,
13036
13045
  inspectRasterImage: () => inspectRasterImage,
13037
13046
  integerAttribute: () => integerAttribute,
13047
+ isDashedStroke: () => isDashedStroke,
13038
13048
  isThemeColorSlot: () => isThemeColorSlot,
13039
13049
  officeGradientPresetFill: () => officeGradientPresetFill,
13040
13050
  officeGradientPresetId: () => officeGradientPresetId,
@@ -13092,7 +13102,9 @@ __export(drawingml_exports, {
13092
13102
  resolveThemeEffectStyle: () => resolveThemeEffectStyle,
13093
13103
  resolveThemeFillStyle: () => resolveThemeFillStyle,
13094
13104
  resolveThemeLineStyle: () => resolveThemeLineStyle,
13105
+ scalePathAbout: () => scalePathAbout,
13095
13106
  setDrawingFillXml: () => setDrawingFillXml,
13107
+ shapePathGradientField: () => shapePathGradientField,
13096
13108
  stringAttribute: () => stringAttribute,
13097
13109
  substituteDrawingPlaceholder: () => substituteDrawingPlaceholder,
13098
13110
  svgDropShadowElement: () => svgDropShadowElement,
@@ -13484,7 +13496,7 @@ function parseCustomGeometry(custom, width, height) {
13484
13496
  }
13485
13497
  const pathWidth = path3.hasAttribute("w") ? Number(path3.getAttribute("w")) : contextWidth;
13486
13498
  const pathHeight = path3.hasAttribute("h") ? Number(path3.getAttribute("h")) : contextHeight;
13487
- if (![pathWidth, pathHeight].every((n2) => Number.isFinite(n2) && n2 > 0)) return void 0;
13499
+ if (![pathWidth, pathHeight].every((n3) => Number.isFinite(n3) && n3 > 0)) return void 0;
13488
13500
  paths.push({
13489
13501
  commands,
13490
13502
  width: pathWidth,
@@ -13919,6 +13931,152 @@ function officeGradientPresetId(fill) {
13919
13931
  return index < 0 ? void 0 : index + 1;
13920
13932
  }
13921
13933
 
13934
+ // drawingml/shape-path-gradient.ts
13935
+ var CIRCLE_FIELD_PRESETS = new Set(
13936
+ [
13937
+ "chevron",
13938
+ "rightArrow",
13939
+ "leftArrow",
13940
+ "upArrow",
13941
+ "downArrow",
13942
+ "stripedRightArrow",
13943
+ "notchedRightArrow",
13944
+ "bentUpArrow",
13945
+ "bentArrow",
13946
+ "uturnArrow",
13947
+ "leftRightArrow",
13948
+ "upDownArrow",
13949
+ "leftUpArrow",
13950
+ "leftRightUpArrow",
13951
+ "quadArrow",
13952
+ "curvedRightArrow",
13953
+ "curvedLeftArrow",
13954
+ "curvedUpArrow",
13955
+ "curvedDownArrow",
13956
+ "swooshArrow",
13957
+ "lightningBolt",
13958
+ "sun",
13959
+ "moon",
13960
+ "smileyFace",
13961
+ "ribbon",
13962
+ "ribbon2",
13963
+ "ellipseRibbon",
13964
+ "ellipseRibbon2",
13965
+ "leftRightRibbon",
13966
+ "verticalScroll",
13967
+ "horizontalScroll",
13968
+ "wave",
13969
+ "doubleWave",
13970
+ "flowChartDocument",
13971
+ "flowChartMultidocument",
13972
+ "flowChartPunchedTape",
13973
+ "flowChartMagneticDisk",
13974
+ "flowChartDisplay"
13975
+ ].map((name2) => name2.toLowerCase())
13976
+ );
13977
+ var LEGACY_FIELD_PRESETS = new Set(
13978
+ [
13979
+ "donut",
13980
+ "noSmoking",
13981
+ "blockArc",
13982
+ "frame",
13983
+ "chord",
13984
+ "funnel",
13985
+ "mathDivide",
13986
+ "mathNotEqual",
13987
+ "cornerTabs",
13988
+ "squareTabs",
13989
+ "plaqueTabs",
13990
+ "circularArrow",
13991
+ "leftCircularArrow",
13992
+ "leftRightCircularArrow",
13993
+ "flowChartMagneticTape",
13994
+ "flowChartMagneticDrum"
13995
+ ].map((name2) => name2.toLowerCase())
13996
+ );
13997
+ function shapePathGradientField(preset) {
13998
+ if (!preset || preset === "custom") return "circle";
13999
+ const key = preset.toLowerCase();
14000
+ if (CIRCLE_FIELD_PRESETS.has(key)) return "circle";
14001
+ if (LEGACY_FIELD_PRESETS.has(key)) return "legacy";
14002
+ return "outline";
14003
+ }
14004
+ var BAND_COUNT2 = 100;
14005
+ function n2(value) {
14006
+ return String(Math.round(value * 1e3) / 1e3);
14007
+ }
14008
+ var ARG_COUNT = { M: 2, L: 2, Q: 4, C: 6, A: 7, Z: 0 };
14009
+ function scalePathAbout(d, s2, fx, fy) {
14010
+ const tokens = d.match(/[A-Za-z]|-?\d*\.?\d+(?:e[-+]?\d+)?/gu);
14011
+ if (!tokens) return void 0;
14012
+ const out = [];
14013
+ let i2 = 0;
14014
+ while (i2 < tokens.length) {
14015
+ const command = tokens[i2++];
14016
+ const count = ARG_COUNT[command];
14017
+ if (count === void 0) return void 0;
14018
+ out.push(command);
14019
+ if (command === "Z") continue;
14020
+ const args = tokens.slice(i2, i2 + count).map(Number);
14021
+ i2 += count;
14022
+ if (args.length !== count || args.some((value) => !Number.isFinite(value))) return void 0;
14023
+ if (command === "A") {
14024
+ out.push(
14025
+ n2(args[0] * s2),
14026
+ n2(args[1] * s2),
14027
+ n2(args[2]),
14028
+ n2(args[3]),
14029
+ n2(args[4]),
14030
+ n2(fx + (args[5] - fx) * s2),
14031
+ n2(fy + (args[6] - fy) * s2)
14032
+ );
14033
+ continue;
14034
+ }
14035
+ for (let k = 0; k < count; k += 2) {
14036
+ out.push(n2(fx + (args[k] - fx) * s2), n2(fy + (args[k + 1] - fy) * s2));
14037
+ }
14038
+ }
14039
+ return out.join(" ");
14040
+ }
14041
+ function closedSubpaths(d) {
14042
+ const parts = d.split(/(?=M)/u).map((part) => part.trim()).filter((part) => part.endsWith("Z"));
14043
+ return parts.length > 0 ? parts.join(" ") : void 0;
14044
+ }
14045
+ function buildOutlinePathGradientSvg(stops, d, width, height, focusX, focusY) {
14046
+ if (stops.length === 0 || !(width > 0) || !(height > 0)) return void 0;
14047
+ if (scalePathAbout(d, 1, 0, 0) === void 0) return void 0;
14048
+ const sorted = [...stops].sort((a2, b) => a2.position - b.position);
14049
+ const fx = focusX * width;
14050
+ const fy = focusY * height;
14051
+ const translucent = sorted.some((stop) => (stop.opacity ?? 1) < 1);
14052
+ const body = [];
14053
+ if (translucent) {
14054
+ for (let i2 = BAND_COUNT2; i2 >= 1; i2 -= 1) {
14055
+ const outer = scalePathAbout(d, i2 / BAND_COUNT2, fx, fy);
14056
+ if (outer === void 0) return void 0;
14057
+ const inner = i2 > 1 ? scalePathAbout(d, (i2 - 1) / BAND_COUNT2, fx, fy) : void 0;
14058
+ const { color: color2, opacity } = gradientColorAt(sorted, (i2 - 0.5) / BAND_COUNT2 * 100);
14059
+ const alpha = opacity < 1 ? ` fill-opacity="${n2(Math.max(0, opacity))}"` : "";
14060
+ body.push(
14061
+ `<path d="${outer}${inner ? ` ${inner}` : ""}" fill="${color2}"${alpha} fill-rule="evenodd"/>`
14062
+ );
14063
+ }
14064
+ return wrap2(width, height, body.join(""));
14065
+ }
14066
+ body.push(`<defs><path id="p" d="${d}"/></defs>`);
14067
+ for (let i2 = BAND_COUNT2; i2 >= 1; i2 -= 1) {
14068
+ const s2 = i2 / BAND_COUNT2;
14069
+ const { color: color2 } = gradientColorAt(sorted, (i2 - 0.5) / BAND_COUNT2 * 100);
14070
+ body.push(
14071
+ `<use href="#p" transform="matrix(${n2(s2)} 0 0 ${n2(s2)} ${n2(fx * (1 - s2))} ${n2(fy * (1 - s2))})" fill="${color2}"/>`
14072
+ );
14073
+ }
14074
+ return wrap2(width, height, body.join(""));
14075
+ }
14076
+ function wrap2(width, height, body) {
14077
+ return `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 ${n2(width)} ${n2(height)}" preserveAspectRatio="none">${body}</svg>`;
14078
+ }
14079
+
13922
14080
  // drawingml/read-run-properties.ts
13923
14081
  function outerXml(element4) {
13924
14082
  return buildXml(element4);
@@ -14283,8 +14441,8 @@ var LIGHT_DIRECTIONS = /* @__PURE__ */ new Set(["tl", "t", "tr", "l", "r", "bl",
14283
14441
  // drawingml/read-3d-values.ts
14284
14442
  var integer = (value) => {
14285
14443
  if (value === void 0 || value === null || String(value).trim() === "") return void 0;
14286
- const n2 = Number(value);
14287
- return Number.isSafeInteger(n2) ? n2 : void 0;
14444
+ const n3 = Number(value);
14445
+ return Number.isSafeInteger(n3) ? n3 : void 0;
14288
14446
  };
14289
14447
  function readScene3DValues(node, read) {
14290
14448
  const out = {};
@@ -15507,6 +15665,57 @@ function applyPictureHslPixels(data, effect) {
15507
15665
  }
15508
15666
  }
15509
15667
 
15668
+ // drawingml/dash-pattern.ts
15669
+ var PRESET_PATTERNS = {
15670
+ dash: [4, 3],
15671
+ dot: [1, 3],
15672
+ lgDash: [8, 3],
15673
+ dashDot: [4, 3, 1, 3],
15674
+ lgDashDot: [8, 3, 1, 3],
15675
+ lgDashDotDot: [8, 3, 1, 3, 1, 3],
15676
+ sysDash: [3, 1],
15677
+ sysDot: [1, 1],
15678
+ sysDashDot: [3, 1, 1, 1],
15679
+ sysDashDotDot: [3, 1, 1, 1, 1, 1]
15680
+ };
15681
+ var CUSTOM_DASH_UNIT = 1e5;
15682
+ var FALLBACK_CUSTOM_PATTERN = [3, 2];
15683
+ function dashPenWidth(strokeWidth) {
15684
+ if (!Number.isFinite(strokeWidth) || strokeWidth <= 1) return 1;
15685
+ return Math.max(1, Math.ceil(strokeWidth - 0.5));
15686
+ }
15687
+ function dashPatternUnits(dashType, customSegments) {
15688
+ if (!dashType || dashType === "solid") return void 0;
15689
+ if (dashType === "custom") {
15690
+ const pattern = (customSegments ?? []).flatMap((seg) => [
15691
+ Math.max(0, seg.dash) / CUSTOM_DASH_UNIT,
15692
+ Math.max(0, seg.space) / CUSTOM_DASH_UNIT
15693
+ ]);
15694
+ return pattern.some((n3) => n3 > 0) ? pattern : FALLBACK_CUSTOM_PATTERN;
15695
+ }
15696
+ return PRESET_PATTERNS[dashType];
15697
+ }
15698
+ function isDashedStroke(dashType) {
15699
+ return dashType !== void 0 && dashType !== "solid" && dashType !== "";
15700
+ }
15701
+ function capCompensatedDashArray(pattern, strokeWidth, lineCap) {
15702
+ const pen = dashPenWidth(strokeWidth);
15703
+ const round3 = lineCap === "rnd";
15704
+ const out = [];
15705
+ for (let i2 = 0; i2 < pattern.length; i2 += 1) {
15706
+ const len = (pattern[i2] ?? 0) * pen;
15707
+ if (!round3) {
15708
+ out.push(len);
15709
+ } else if (i2 % 2 === 0) {
15710
+ out.push(Math.max(0, len - pen));
15711
+ } else {
15712
+ const dash = (pattern[i2 - 1] ?? 0) * pen;
15713
+ out.push(len + (dash - Math.max(0, dash - pen)));
15714
+ }
15715
+ }
15716
+ return out.map((n3) => Number(n3.toFixed(4))).join(" ");
15717
+ }
15718
+
15510
15719
  // chart/region-map/value-color-positions.ts
15511
15720
  function schemaPosition(node, end) {
15512
15721
  for (const kind of ["number", "percent"]) {
@@ -15717,7 +15926,7 @@ function bubbleView(chart, model, evaluateRef) {
15717
15926
  showNegativeBubbles: chart.bubble?.showNegativeBubbles === true
15718
15927
  };
15719
15928
  }
15720
- var columnNumber = (letters) => [...letters].reduce((n2, ch) => n2 * 26 + ch.charCodeAt(0) - 64, 0);
15929
+ var columnNumber = (letters) => [...letters].reduce((n3, ch) => n3 * 26 + ch.charCodeAt(0) - 64, 0);
15721
15930
  function refColumns(ref) {
15722
15931
  const match = /\$?([A-Z]{1,3})\$?\d+:\$?([A-Z]{1,3})\$?\d+\s*$/i.exec(ref);
15723
15932
  if (!match) return 1;
@@ -16012,7 +16221,7 @@ function chartSummaryView(chart, theme, options2 = {}) {
16012
16221
  const rawCategories = [];
16013
16222
  const collect = (cats) => void rawCategories.push(cats);
16014
16223
  const extra = chart.extraGroups ?? [];
16015
- const total = chart.series.length + extra.reduce((n2, g3) => n2 + g3.series.length, 0);
16224
+ const total = chart.series.length + extra.reduce((n3, g3) => n3 + g3.series.length, 0);
16016
16225
  const series2 = chart.series.map((s2, i2) => seriesView(ctx, s2, i2, total, collect));
16017
16226
  const longest = Math.max(
16018
16227
  0,
@@ -16981,7 +17190,7 @@ function formatRegionMapValue(value, cultureLanguage) {
16981
17190
  }
16982
17191
  }
16983
17192
  function lerpColor(a2, b, t) {
16984
- const clamp6 = (v) => Math.max(0, Math.min(255, Math.round(v))), ha = a2.replace("#", ""), hb = b.replace("#", ""), r1 = parseInt(ha.substring(0, 2), 16), g1 = parseInt(ha.substring(2, 4), 16), b1 = parseInt(ha.substring(4, 6), 16), r2 = parseInt(hb.substring(0, 2), 16), g22 = parseInt(hb.substring(2, 4), 16), b2 = parseInt(hb.substring(4, 6), 16), r = clamp6(r1 + (r2 - r1) * t), g3 = clamp6(g1 + (g22 - g1) * t), bl = clamp6(b1 + (b2 - b1) * t), toHex2 = (n2) => n2.toString(16).padStart(2, "0");
17193
+ const clamp6 = (v) => Math.max(0, Math.min(255, Math.round(v))), ha = a2.replace("#", ""), hb = b.replace("#", ""), r1 = parseInt(ha.substring(0, 2), 16), g1 = parseInt(ha.substring(2, 4), 16), b1 = parseInt(ha.substring(4, 6), 16), r2 = parseInt(hb.substring(0, 2), 16), g22 = parseInt(hb.substring(2, 4), 16), b2 = parseInt(hb.substring(4, 6), 16), r = clamp6(r1 + (r2 - r1) * t), g3 = clamp6(g1 + (g22 - g1) * t), bl = clamp6(b1 + (b2 - b1) * t), toHex2 = (n3) => n3.toString(16).padStart(2, "0");
16985
17194
  return `#${toHex2(r)}${toHex2(g3)}${toHex2(bl)}`;
16986
17195
  }
16987
17196
  function resolveValueColorStops(valueColors, valueColorPositions, minVal, maxVal) {
@@ -17412,10 +17621,10 @@ function projectGeoPoint(point, projection = "mercator") {
17412
17621
  ];
17413
17622
  }
17414
17623
  if (projection === "albers") {
17415
- const n2 = (Math.sin(20 * RAD) + Math.sin(50 * RAD)) / 2;
17416
- const c2 = Math.cos(20 * RAD) ** 2 + 2 * n2 * Math.sin(20 * RAD);
17417
- const rho = Math.sqrt(Math.max(0, c2 - 2 * n2 * Math.sin(lat))) / n2;
17418
- return [rho * Math.sin(n2 * lon), rho * Math.cos(n2 * lon) - Math.sqrt(c2) / n2];
17624
+ const n3 = (Math.sin(20 * RAD) + Math.sin(50 * RAD)) / 2;
17625
+ const c2 = Math.cos(20 * RAD) ** 2 + 2 * n3 * Math.sin(20 * RAD);
17626
+ const rho = Math.sqrt(Math.max(0, c2 - 2 * n3 * Math.sin(lat))) / n3;
17627
+ return [rho * Math.sin(n3 * lon), rho * Math.cos(n3 * lon) - Math.sqrt(c2) / n3];
17419
17628
  }
17420
17629
  return void 0;
17421
17630
  }
@@ -18074,7 +18283,7 @@ function sliceLabels(model, marks, out) {
18074
18283
  );
18075
18284
  for (const [id, item2] of items.entries()) {
18076
18285
  const { mark, label, m } = item2;
18077
- const nudge = nudges.find((n2) => n2.id === id);
18286
+ const nudge = nudges.find((n3) => n3.id === id);
18078
18287
  let point = { x: item2.x + (nudge?.dx ?? 0), y: item2.y + (nudge?.dy ?? 0) };
18079
18288
  if (model.frameSize) point = applyLabelManualLayout(label.layout, model.frameSize, point);
18080
18289
  const moved = point.x !== item2.x || point.y !== item2.y;
@@ -18217,7 +18426,7 @@ function radarSvg(model, area) {
18217
18426
  }
18218
18427
 
18219
18428
  // chart/render/chart-svg-hierarchy.ts
18220
- var colorAt2 = (model, index) => {
18429
+ var colorAt = (model, index) => {
18221
18430
  const first2 = model.series[0];
18222
18431
  const colors = first2?.pointColors;
18223
18432
  return (colors && colors.length > 0 ? colors[index % colors.length] : void 0) ?? first2?.color ?? "#4472C4";
@@ -18246,7 +18455,7 @@ function treemapSvg(model, area) {
18246
18455
  }
18247
18456
  out.push(`<g data-chart-series="${cell2.seriesIndex}" data-chart-point="${cell2.pointIndex}">`);
18248
18457
  out.push(
18249
- rect(cell2.x, cell2.y, cell2.w, cell2.h, colorAt2(model, cell2.colorIndex)).replace(
18458
+ rect(cell2.x, cell2.y, cell2.w, cell2.h, colorAt(model, cell2.colorIndex)).replace(
18250
18459
  "/>",
18251
18460
  ' rx="2"/>'
18252
18461
  )
@@ -18285,7 +18494,7 @@ function sunburstSvg(model, area) {
18285
18494
  );
18286
18495
  for (const arc3 of arcs)
18287
18496
  out.push(
18288
- `<path d="${arc3.d}" fill="${colorAt2(model, arc3.colorIndex)}" stroke="#FFFFFF" stroke-width="1.5"${arc3.pointIndex === void 0 ? "" : ` data-chart-series="0" data-chart-point="${arc3.pointIndex}"`}/>`
18497
+ `<path d="${arc3.d}" fill="${colorAt(model, arc3.colorIndex)}" stroke="#FFFFFF" stroke-width="1.5"${arc3.pointIndex === void 0 ? "" : ` data-chart-series="0" data-chart-point="${arc3.pointIndex}"`}/>`
18289
18498
  );
18290
18499
  const flatLabels = levels.length > 1 || model.series.length !== 1 ? void 0 : model.categories;
18291
18500
  for (const arc3 of model.hierarchy?.labels === false ? [] : arcs) {
@@ -20863,9 +21072,9 @@ function applyDataTable(draft, layout) {
20863
21072
  showKeys: true
20864
21073
  };
20865
21074
  }
20866
- function applyChartQuickLayout(space3, n2, only = ALL_PARTS) {
20867
- const layout = findChartQuickLayout(n2);
20868
- if (!layout) throw new RangeError(`No chart quick layout ${n2}`);
21075
+ function applyChartQuickLayout(space3, n3, only = ALL_PARTS) {
21076
+ const layout = findChartQuickLayout(n3);
21077
+ if (!layout) throw new RangeError(`No chart quick layout ${n3}`);
20869
21078
  if (!chartSupportsQuickLayout(space3))
20870
21079
  throw new RangeError("Quick layouts apply to bar, column, line and area charts");
20871
21080
  const parts = new Set(only);
@@ -22634,6 +22843,10 @@ function rebaseChartData(space3, sheetName) {
22634
22843
  var text_exports = {};
22635
22844
  __export(text_exports, {
22636
22845
  FONT_SUBSTITUTION_MAP: () => FONT_SUBSTITUTION_MAP,
22846
+ GOOGLE_FONTS_CATALOGUE_DATE: () => GOOGLE_FONTS_CATALOGUE_DATE,
22847
+ GOOGLE_FONTS_CSS2_BASE: () => GOOGLE_FONTS_CSS2_BASE,
22848
+ GOOGLE_FONTS_FAMILIES: () => GOOGLE_FONTS_FAMILIES,
22849
+ GOOGLE_WEBFONT_AXIS: () => GOOGLE_WEBFONT_AXIS,
22637
22850
  METRIC_FONT_SUBSTITUTES: () => METRIC_FONT_SUBSTITUTES,
22638
22851
  OOXML_DATETIME_PATTERNS: () => OOXML_DATETIME_PATTERNS,
22639
22852
  PANOSE_FAMILY_MAP: () => PANOSE_FAMILY_MAP,
@@ -22642,15 +22855,24 @@ __export(text_exports, {
22642
22855
  PANOSE_WEIGHT_MAP: () => PANOSE_WEIGHT_MAP,
22643
22856
  TEXT_CASE_MODES: () => TEXT_CASE_MODES,
22644
22857
  buildFontFamilyString: () => buildFontFamilyString,
22858
+ buildGoogleFontsFragment: () => buildGoogleFontsFragment,
22859
+ buildGoogleFontsHref: () => buildGoogleFontsHref,
22645
22860
  buildLeaderString: () => buildLeaderString,
22646
22861
  changeTextCase: () => changeTextCase,
22647
22862
  changeTextCaseRanges: () => changeTextCaseRanges,
22648
22863
  classifyPanose: () => classifyPanose,
22864
+ collectRunFamilies: () => collectRunFamilies,
22865
+ collectWebfontFaces: () => collectWebfontFaces,
22649
22866
  decimalAnchorIndex: () => decimalAnchorIndex,
22650
22867
  decimalSeparatorForLanguage: () => decimalSeparatorForLanguage,
22651
22868
  designTextWidthEm: () => designTextWidthEm,
22652
22869
  detectFontScript: () => detectFontScript,
22653
22870
  distributeRunsText: () => distributeRunsText,
22871
+ findGoogleFontsFamily: () => findGoogleFontsFamily,
22872
+ findMetricCompatibleGoogleFontsFamily: () => findMetricCompatibleGoogleFontsFamily,
22873
+ fontStyleShorthand: () => fontStyleShorthand,
22874
+ fontWeightAttribute: () => fontWeightAttribute,
22875
+ fontWeightShorthand: () => fontWeightShorthand,
22654
22876
  formatDatePicture: () => formatDatePicture,
22655
22877
  formatLocaleNumber: () => formatLocaleNumber,
22656
22878
  getLeaderCharacter: () => getLeaderCharacter,
@@ -22661,11 +22883,14 @@ __export(text_exports, {
22661
22883
  hasDesignAdvances: () => hasDesignAdvances,
22662
22884
  hasDirectSubstitution: () => hasDirectSubstitution,
22663
22885
  hasDistinctScriptFonts: () => hasDistinctScriptFonts,
22886
+ matchGoogleWebfontFragments: () => matchGoogleWebfontFragments,
22664
22887
  mergeTextThreeWay: () => mergeTextThreeWay,
22665
22888
  metricFontFamily: () => metricFontFamily,
22666
22889
  namedFontVerticalMetrics: () => namedFontVerticalMetrics,
22890
+ normalizeGoogleFontsBaseUrl: () => normalizeGoogleFontsBaseUrl,
22667
22891
  officeFontVerticalMetrics: () => officeFontVerticalMetrics,
22668
22892
  ooxmlDateTimeFieldPicture: () => ooxmlDateTimeFieldPicture,
22893
+ parseFontWeightName: () => parseFontWeightName,
22669
22894
  parseLocaleNumber: () => parseLocaleNumber,
22670
22895
  parsePanoseBytes: () => parsePanoseBytes,
22671
22896
  parsePanoseString: () => parsePanoseString,
@@ -22673,9 +22898,15 @@ __export(text_exports, {
22673
22898
  parseTsv: () => parseTsv,
22674
22899
  realignOrCollapseRuns: () => realignOrCollapseRuns,
22675
22900
  resolveFontForScript: () => resolveFontForScript,
22901
+ resolveFontItalic: () => resolveFontItalic,
22902
+ resolveFontWeight: () => resolveFontWeight,
22903
+ resolveGoogleFontsCss2Base: () => resolveGoogleFontsCss2Base,
22904
+ resolveGoogleFontsFace: () => resolveGoogleFontsFace,
22676
22905
  resolveScriptFontSet: () => resolveScriptFontSet,
22677
22906
  segmentByFont: () => segmentByFont,
22678
22907
  segmentByScript: () => segmentByScript,
22908
+ selectGoogleWebfontFamilies: () => selectGoogleWebfontFamilies,
22909
+ servedGoogleFontsFamily: () => servedGoogleFontsFamily,
22679
22910
  stripFontStyleSuffix: () => stripFontStyleSuffix,
22680
22911
  subsetTrueType: () => subsetTrueType,
22681
22912
  toTsv: () => toTsv,
@@ -23042,6 +23273,14 @@ function changeTextCaseRanges(text3, mode, boundaries = []) {
23042
23273
 
23043
23274
  // text/font-metrics/design-advances.generated.ts
23044
23275
  var DESIGN_ADVANCES = {
23276
+ aptos: {
23277
+ regular: "203.75 292.5 370 537.5 533.75 826.25 642.5 210 292.5 292.5 457.5 533.75 286.25 340 286.25 338.75 533.75 533.75 533.75 533.75 533.75 533.75 533.75 533.75 533.75 533.75 286.25 286.25 533.75 533.75 533.75 501.25 895 588.75 603.75 692.5 686.25 556.25 525 708.75 707.5 260 331.25 568.75 500 790 706.25 732.5 577.5 732.5 606.25 566.25 478.75 681.25 585 892.5 552.5 540 516.25 295 338.75 295 533.75 460 551.25 531.25 561.25 525 560 526.25 301.25 485 551.25 238.75 238.75 486.25 260 852.5 551.25 551.25 561.25 560 335 486.25 323.75 558.75 452.5 721.25 442.5 452.5 437.5 295 270 295 533.75",
23278
+ bold: "203.75 292.5 420 537.5 533.75 841.25 676.25 232.5 292.5 292.5 457.5 533.75 300 340 300 386.25 533.75 533.75 533.75 533.75 533.75 533.75 533.75 533.75 533.75 533.75 300 300 533.75 533.75 533.75 517.5 900 620 618.75 706.25 707.5 573.75 536.25 717.5 728.75 293.75 366.25 622.5 511.25 821.25 722.5 737.5 605 737.5 633.75 598.75 505 696.25 616.25 940 598.75 586.25 547.5 337.5 386.25 337.5 533.75 460 551.25 551.25 586.25 548.75 586.25 556.25 335 511.25 578.75 267.5 267.5 533.75 296.25 888.75 578.75 573.75 586.25 586.25 368.75 516.25 355 581.25 493.75 761.25 495 493.75 466.25 337.5 270 337.5 533.75"
23279
+ },
23280
+ "aptos display": {
23281
+ regular: "192.5 246.25 370 528.75 522.5 825 622.5 210 295 295 381.25 522.5 246.25 348.75 246.25 338.75 522.5 522.5 522.5 522.5 522.5 522.5 522.5 522.5 522.5 522.5 246.25 246.25 522.5 522.5 522.5 486.25 878.75 580 582.5 656.25 655 540 508.75 671.25 661.25 235 317.5 553.75 485 765 681.25 695 556.25 695 590 546.25 477.5 651.25 573.75 886.25 550 535 516.25 295 338.75 295 522.5 460 551.25 488.75 518.75 492.5 518.75 493.75 283.75 440 506.25 210 210 447.5 243.75 800 506.25 512.5 518.75 518.75 310 462.5 303.75 506.25 432.5 716.25 440 432.5 426.25 295 218.75 295 522.5",
23282
+ bold: "192.5 261.25 420 561.25 540 838.75 655 232.5 337.5 337.5 428.75 540 261.25 365 261.25 386.25 540 540 540 540 540 540 540 540 540 540 261.25 261.25 540 540 540 502.5 887.5 610 598.75 675 677.5 548.75 516.25 685 682.5 267.5 348.75 602.5 491.25 793.75 696.25 705 585 705 610 573.75 498.75 670 600 921.25 591.25 572.5 547.5 337.5 386.25 337.5 540 460 551.25 507.5 541.25 507.5 542.5 515 317.5 472.5 533.75 240 240 500 278.75 840 533.75 530 541.25 542.5 342.5 483.75 333.75 533.75 475 747.5 488.75 475 450 337.5 251.25 337.5 540"
23283
+ },
23045
23284
  arial: {
23046
23285
  regular: "277.83 277.83 354.98 556.15 556.15 889.16 666.99 190.92 333.01 333.01 389.16 583.98 277.83 333.01 277.83 277.83 556.15 556.15 556.15 556.15 556.15 556.15 556.15 556.15 556.15 556.15 277.83 277.83 583.98 583.98 583.98 556.15 1015.14 666.99 666.99 722.17 722.17 666.99 610.84 777.83 722.17 277.83 500 666.99 556.15 833.01 722.17 777.83 666.99 777.83 722.17 666.99 610.84 722.17 666.99 943.85 666.99 666.99 610.84 277.83 277.83 277.83 469.24 556.15 333.01 556.15 556.15 500 556.15 556.15 277.83 556.15 556.15 222.17 222.17 500 222.17 833.01 556.15 556.15 556.15 556.15 333.01 500 277.83 556.15 500 722.17 500 500 500 333.98 259.77 333.98 583.98",
23047
23286
  bold: "277.83 333.01 474.12 556.15 556.15 889.16 722.17 237.79 333.01 333.01 389.16 583.98 277.83 333.01 277.83 277.83 556.15 556.15 556.15 556.15 556.15 556.15 556.15 556.15 556.15 556.15 333.01 333.01 583.98 583.98 583.98 610.84 975.1 722.17 722.17 722.17 722.17 666.99 610.84 777.83 722.17 277.83 556.15 722.17 610.84 833.01 722.17 777.83 666.99 777.83 722.17 666.99 610.84 722.17 666.99 943.85 666.99 666.99 610.84 333.01 277.83 333.01 583.98 556.15 333.01 556.15 610.84 556.15 610.84 556.15 333.01 610.84 610.84 277.83 277.83 556.15 277.83 889.16 610.84 610.84 610.84 610.84 389.16 556.15 333.01 610.84 556.15 777.83 556.15 556.15 500 389.16 279.79 389.16 583.98"
@@ -23848,6 +24087,12 @@ var METRIC_FONT_SUBSTITUTES = {
23848
24087
  calibri: { fallbacks: ["Carlito"], generic: "sans-serif" },
23849
24088
  "calibri light": { fallbacks: ["Carlito"], generic: "sans-serif" },
23850
24089
  cambria: { fallbacks: ["Caladea"], generic: "serif" },
24090
+ // Aptos, the Microsoft 365 default, has Calibri-close metrics; Carlito is the closest measured
24091
+ // clone (see `webfonts/metric-clones.ts`, which requests the same family).
24092
+ aptos: { fallbacks: ["Carlito"], generic: "sans-serif" },
24093
+ "aptos display": { fallbacks: ["Carlito"], generic: "sans-serif" },
24094
+ "aptos narrow": { fallbacks: ["Carlito"], generic: "sans-serif" },
24095
+ "aptos serif": { fallbacks: ["Caladea"], generic: "serif" },
23851
24096
  arial: { fallbacks: ["Arimo", "Liberation Sans"], generic: "sans-serif" },
23852
24097
  helvetica: { fallbacks: ["Arimo", "Liberation Sans"], generic: "sans-serif" },
23853
24098
  "times new roman": { fallbacks: ["Tinos", "Liberation Serif"], generic: "serif" },
@@ -24022,7 +24267,7 @@ function parseTrueType(data) {
24022
24267
  }
24023
24268
 
24024
24269
  // text/truetype/subset.ts
24025
- var pad4 = (n2) => n2 + 3 & -4;
24270
+ var pad4 = (n3) => n3 + 3 & -4;
24026
24271
  function checksum(bytes) {
24027
24272
  let sum = 0;
24028
24273
  for (let i2 = 0; i2 < bytes.length; i2 += 4)
@@ -24132,6 +24377,2222 @@ function subsetTrueType(font, used) {
24132
24377
  return { data: out, glyphs };
24133
24378
  }
24134
24379
 
24380
+ // text/webfonts/google-fonts-catalogue.ts
24381
+ var GOOGLE_FONTS_CATALOGUE_DATE = "2026-09-02";
24382
+ var GOOGLE_FONTS_FAMILIES = [
24383
+ "ABeeZee",
24384
+ "Abel",
24385
+ "Abhaya Libre",
24386
+ "Aboreto",
24387
+ "Abril Fatface",
24388
+ "Abyssinica SIL",
24389
+ "Aclonica",
24390
+ "Acme",
24391
+ "Actor",
24392
+ "Adamina",
24393
+ "ADLaM Display",
24394
+ "Advent Pro",
24395
+ "Afacad",
24396
+ "Afacad Flux",
24397
+ "Agbalumo",
24398
+ "Agdasima",
24399
+ "Agu Display",
24400
+ "Aguafina Script",
24401
+ "Akatab",
24402
+ "Akaya Kanadaka",
24403
+ "Akaya Telivigala",
24404
+ "Akronim",
24405
+ "Akshar",
24406
+ "Akt",
24407
+ "Aladin",
24408
+ "Alan Sans",
24409
+ "Alata",
24410
+ "Alatsi",
24411
+ "Albert Sans",
24412
+ "Aldrich",
24413
+ "Alef",
24414
+ "Alegreya",
24415
+ "Alegreya Sans",
24416
+ "Alegreya Sans SC",
24417
+ "Alegreya SC",
24418
+ "Aleo",
24419
+ "Alex Brush",
24420
+ "Alexandria",
24421
+ "Alfa Slab One",
24422
+ "Alice",
24423
+ "Alien Block",
24424
+ "Alike",
24425
+ "Alike Angular",
24426
+ "Alkalami",
24427
+ "Alkatra",
24428
+ "Allan",
24429
+ "Allerta",
24430
+ "Allerta Stencil",
24431
+ "Allison",
24432
+ "Allkin",
24433
+ "Allura",
24434
+ "Almarai",
24435
+ "Almendra",
24436
+ "Almendra Display",
24437
+ "Almendra SC",
24438
+ "Alumni Sans",
24439
+ "Alumni Sans Collegiate One",
24440
+ "Alumni Sans Inline One",
24441
+ "Alumni Sans Pinstripe",
24442
+ "Alumni Sans SC",
24443
+ "Alyamama",
24444
+ "Amarante",
24445
+ "Amaranth",
24446
+ "Amarna",
24447
+ "Amatic SC",
24448
+ "Amethysta",
24449
+ "Amiko",
24450
+ "Amiri",
24451
+ "Amiri Quran",
24452
+ "Amita",
24453
+ "Anaheim",
24454
+ "Ancizar Sans",
24455
+ "Ancizar Serif",
24456
+ "Andada Pro",
24457
+ "Andika",
24458
+ "Anek Bangla",
24459
+ "Anek Devanagari",
24460
+ "Anek Gujarati",
24461
+ "Anek Gurmukhi",
24462
+ "Anek Kannada",
24463
+ "Anek Latin",
24464
+ "Anek Malayalam",
24465
+ "Anek Odia",
24466
+ "Anek Tamil",
24467
+ "Anek Telugu",
24468
+ "Angkor",
24469
+ "Annapurna SIL",
24470
+ "Annie Use Your Telescope",
24471
+ "Anonymous Pro",
24472
+ "Anta",
24473
+ "Antic",
24474
+ "Antic Didone",
24475
+ "Antic Slab",
24476
+ "Anton",
24477
+ "Anton SC",
24478
+ "Antonio",
24479
+ "Anuphan",
24480
+ "Anybody",
24481
+ "Aoboshi One",
24482
+ "AR One Sans",
24483
+ "Arapey",
24484
+ "Arbutus",
24485
+ "Arbutus Slab",
24486
+ "Architects Daughter",
24487
+ "Archivo",
24488
+ "Archivo Black",
24489
+ "Archivo Narrow",
24490
+ "Are You Serious",
24491
+ "Aref Ruqaa",
24492
+ "Aref Ruqaa Ink",
24493
+ "Arima",
24494
+ "Arimo",
24495
+ "Arizonia",
24496
+ "Armata",
24497
+ "Arsenal",
24498
+ "Arsenal SC",
24499
+ "Artifika",
24500
+ "Arvo",
24501
+ "Arya",
24502
+ "Asap",
24503
+ "Asap Condensed",
24504
+ "Asap Sharp",
24505
+ "Asar",
24506
+ "Asimovian",
24507
+ "Asset",
24508
+ "Assistant",
24509
+ "Asta Sans",
24510
+ "Astloch",
24511
+ "Asul",
24512
+ "Athiti",
24513
+ "Atkinson Hyperlegible",
24514
+ "Atkinson Hyperlegible Mono",
24515
+ "Atkinson Hyperlegible Next",
24516
+ "Atma",
24517
+ "Atomic Age",
24518
+ "Aubrey",
24519
+ "Audiowide",
24520
+ "Autour One",
24521
+ "Average",
24522
+ "Average Sans",
24523
+ "Averia Gruesa Libre",
24524
+ "Averia Libre",
24525
+ "Averia Sans Libre",
24526
+ "Averia Serif Libre",
24527
+ "Azeret Mono",
24528
+ "B612",
24529
+ "B612 Mono",
24530
+ "Babylonica",
24531
+ "Bacasime Antique",
24532
+ "Bad Script",
24533
+ "Badeen Display",
24534
+ "Bagel Fat One",
24535
+ "Bahiana",
24536
+ "Bahianita",
24537
+ "Bai Jamjuree",
24538
+ "Bakbak One",
24539
+ "Ballet",
24540
+ "Baloo 2",
24541
+ "Baloo Bhai 2",
24542
+ "Baloo Bhaijaan 2",
24543
+ "Baloo Bhaina 2",
24544
+ "Baloo Chettan 2",
24545
+ "Baloo Da 2",
24546
+ "Baloo Paaji 2",
24547
+ "Baloo Tamma 2",
24548
+ "Baloo Tammudu 2",
24549
+ "Baloo Thambi 2",
24550
+ "Balsamiq Sans",
24551
+ "Balthazar",
24552
+ "Bangers",
24553
+ "Barlow",
24554
+ "Barlow Condensed",
24555
+ "Barlow Semi Condensed",
24556
+ "Barriecito",
24557
+ "Barrio",
24558
+ "Basic",
24559
+ "Baskervville",
24560
+ "Baskervville SC",
24561
+ "Battambang",
24562
+ "Baumans",
24563
+ "Bayon",
24564
+ "BBH Bartle",
24565
+ "BBH Bogle",
24566
+ "BBH Hegarty",
24567
+ "Be Vietnam Pro",
24568
+ "Beau Rivage",
24569
+ "Bebas Neue",
24570
+ "Beiruti",
24571
+ "Belanosima",
24572
+ "Belgrano",
24573
+ "Bellefair",
24574
+ "Belleza",
24575
+ "Bellota",
24576
+ "Bellota Text",
24577
+ "BenchNine",
24578
+ "Benne",
24579
+ "Bentham",
24580
+ "Berkshire Swash",
24581
+ "Besley",
24582
+ "Betania Patmos",
24583
+ "Betania Patmos GDL",
24584
+ "Betania Patmos In",
24585
+ "Betania Patmos In GDL",
24586
+ "Beth Ellen",
24587
+ "Bevan",
24588
+ "BhuTuka Expanded One",
24589
+ "Big Shoulders",
24590
+ "Big Shoulders Inline",
24591
+ "Big Shoulders Stencil",
24592
+ "Bigelow Rules",
24593
+ "Bigshot One",
24594
+ "Bilbo",
24595
+ "Bilbo Swash Caps",
24596
+ "BioRhyme",
24597
+ "BioRhyme Expanded",
24598
+ "Birthstone",
24599
+ "Birthstone Bounce",
24600
+ "Biryani",
24601
+ "Bitcount",
24602
+ "Bitcount Grid Double",
24603
+ "Bitcount Grid Double Ink",
24604
+ "Bitcount Grid Single",
24605
+ "Bitcount Grid Single Ink",
24606
+ "Bitcount Ink",
24607
+ "Bitcount Prop Double",
24608
+ "Bitcount Prop Double Ink",
24609
+ "Bitcount Prop Single",
24610
+ "Bitcount Prop Single Ink",
24611
+ "Bitcount Single",
24612
+ "Bitcount Single Ink",
24613
+ "Bitter",
24614
+ "BIZ UDGothic",
24615
+ "BIZ UDMincho",
24616
+ "BIZ UDPGothic",
24617
+ "BIZ UDPMincho",
24618
+ "BJCree",
24619
+ "Black And White Picture",
24620
+ "Black Han Sans",
24621
+ "Black Ops One",
24622
+ "Blaka",
24623
+ "Blaka Hollow",
24624
+ "Blaka Ink",
24625
+ "Blinker",
24626
+ "Bodoni Moda",
24627
+ "Bodoni Moda SC",
24628
+ "Bokor",
24629
+ "Boldonse",
24630
+ "Bona Nova",
24631
+ "Bona Nova SC",
24632
+ "Bonbon",
24633
+ "Bonheur Royale",
24634
+ "Boogaloo",
24635
+ "Borel",
24636
+ "Bowlby One",
24637
+ "Bowlby One SC",
24638
+ "Bpmf Huninn",
24639
+ "Bpmf Iansui",
24640
+ "Bpmf Zihi Kai Std",
24641
+ "Braah One",
24642
+ "Brawler",
24643
+ "Bree Serif",
24644
+ "Bricolage Grotesque",
24645
+ "Bruno Ace",
24646
+ "Bruno Ace SC",
24647
+ "Brygada 1918",
24648
+ "Bubblegum Sans",
24649
+ "Bubbler One",
24650
+ "Buda",
24651
+ "Buenard",
24652
+ "Bungee",
24653
+ "Bungee Hairline",
24654
+ "Bungee Inline",
24655
+ "Bungee Outline",
24656
+ "Bungee Shade",
24657
+ "Bungee Spice",
24658
+ "Bungee Tint",
24659
+ "Butcherman",
24660
+ "Butterfly Kids",
24661
+ "Bytesized",
24662
+ "Caacupe One",
24663
+ "Cabin",
24664
+ "Cabin Condensed",
24665
+ "Cabin Sketch",
24666
+ "Cactus Classical Serif",
24667
+ "Caesar Dressing",
24668
+ "Cagliostro",
24669
+ "Cairo",
24670
+ "Cairo Play",
24671
+ "Cal Sans",
24672
+ "Caladea",
24673
+ "Calistoga",
24674
+ "Calligraffitti",
24675
+ "Cambay",
24676
+ "Cambo",
24677
+ "Candal",
24678
+ "Cantarell",
24679
+ "Cantata One",
24680
+ "Cantora One",
24681
+ "Caprasimo",
24682
+ "Capriola",
24683
+ "Caramel",
24684
+ "Carattere",
24685
+ "Cardo",
24686
+ "Carlito",
24687
+ "Carme",
24688
+ "Carrois Gothic",
24689
+ "Carrois Gothic SC",
24690
+ "Carter One",
24691
+ "Cascadia Code",
24692
+ "Cascadia Mono",
24693
+ "Castoro",
24694
+ "Castoro Titling",
24695
+ "Catamaran",
24696
+ "Caudex",
24697
+ "Cause",
24698
+ "Caveat",
24699
+ "Caveat Brush",
24700
+ "Cedarville Cursive",
24701
+ "Ceviche One",
24702
+ "Chakra Petch",
24703
+ "Changa",
24704
+ "Changa One",
24705
+ "Chango",
24706
+ "Charis SIL",
24707
+ "Charm",
24708
+ "Charmonman",
24709
+ "Chathura",
24710
+ "Chau Philomene One",
24711
+ "Chela One",
24712
+ "Chelsea Market",
24713
+ "Chenla",
24714
+ "Cherish",
24715
+ "Cherry Bomb One",
24716
+ "Cherry Cream Soda",
24717
+ "Cherry Swash",
24718
+ "Chewy",
24719
+ "Chicle",
24720
+ "Chilanka",
24721
+ "Chiron GoRound TC",
24722
+ "Chiron Hei HK",
24723
+ "Chiron Sung HK",
24724
+ "Chivo",
24725
+ "Chivo Mono",
24726
+ "Chocolate Classical Sans",
24727
+ "Chokokutai",
24728
+ "Chonburi",
24729
+ "Cinzel",
24730
+ "Cinzel Decorative",
24731
+ "Clicker Script",
24732
+ "Climate Crisis",
24733
+ "Coda",
24734
+ "Codystar",
24735
+ "Coiny",
24736
+ "Combo",
24737
+ "Comfortaa",
24738
+ "Comforter",
24739
+ "Comforter Brush",
24740
+ "Comic Neue",
24741
+ "Comic Relief",
24742
+ "Coming Soon",
24743
+ "Comme",
24744
+ "Commissioner",
24745
+ "Concert One",
24746
+ "Condiment",
24747
+ "Content",
24748
+ "Contrail One",
24749
+ "Convergence",
24750
+ "Cookie",
24751
+ "Copse",
24752
+ "Coral Pixels",
24753
+ "Corben",
24754
+ "Corinthia",
24755
+ "Cormorant",
24756
+ "Cormorant Garamond",
24757
+ "Cormorant Infant",
24758
+ "Cormorant SC",
24759
+ "Cormorant Unicase",
24760
+ "Cormorant Upright",
24761
+ "Cossette Texte",
24762
+ "Cossette Titre",
24763
+ "Courgette",
24764
+ "Courier Prime",
24765
+ "Cousine",
24766
+ "Coustard",
24767
+ "Covered By Your Grace",
24768
+ "Crafty Girls",
24769
+ "Creepster",
24770
+ "Crete Round",
24771
+ "Crimson Pro",
24772
+ "Crimson Text",
24773
+ "Croissant One",
24774
+ "Crushed",
24775
+ "Cuprum",
24776
+ "Cute Font",
24777
+ "Cutive",
24778
+ "Cutive Mono",
24779
+ "Dai Banna SIL",
24780
+ "Damion",
24781
+ "Dancing Script",
24782
+ "Danfo",
24783
+ "Dangrek",
24784
+ "Darker Grotesque",
24785
+ "Darumadrop One",
24786
+ "Datatype",
24787
+ "David Libre",
24788
+ "Dawning of a New Day",
24789
+ "Days One",
24790
+ "Dekko",
24791
+ "Dela Gothic One",
24792
+ "Delicious Handrawn",
24793
+ "Delius",
24794
+ "Delius Swash Caps",
24795
+ "Delius Unicase",
24796
+ "Della Respira",
24797
+ "Denk One",
24798
+ "Devonshire",
24799
+ "Dhurjati",
24800
+ "Didact Gothic",
24801
+ "Diphylleia",
24802
+ "Diplomata",
24803
+ "Diplomata SC",
24804
+ "DM Mono",
24805
+ "DM Sans",
24806
+ "DM Serif Display",
24807
+ "DM Serif Text",
24808
+ "Do Hyeon",
24809
+ "Dokdo",
24810
+ "Domine",
24811
+ "Donegal One",
24812
+ "Dongle",
24813
+ "Doppio One",
24814
+ "Dorsa",
24815
+ "Dosis",
24816
+ "DotGothic16",
24817
+ "Doto",
24818
+ "Dr Sugiyama",
24819
+ "Duru Sans",
24820
+ "Dynalight",
24821
+ "DynaPuff",
24822
+ "Eagle Lake",
24823
+ "East Sea Dokdo",
24824
+ "Eater",
24825
+ "EB Garamond",
24826
+ "Economica",
24827
+ "Eczar",
24828
+ "Edu AU VIC WA NT Arrows",
24829
+ "Edu AU VIC WA NT Dots",
24830
+ "Edu AU VIC WA NT Guides",
24831
+ "Edu AU VIC WA NT Hand",
24832
+ "Edu AU VIC WA NT Pre",
24833
+ "Edu NSW ACT Cursive",
24834
+ "Edu NSW ACT Foundation",
24835
+ "Edu NSW ACT Hand Pre",
24836
+ "Edu QLD Beginner",
24837
+ "Edu QLD Hand",
24838
+ "Edu SA Beginner",
24839
+ "Edu SA Hand",
24840
+ "Edu TAS Beginner",
24841
+ "Edu VIC WA NT Beginner",
24842
+ "Edu VIC WA NT Hand",
24843
+ "Edu VIC WA NT Hand Pre",
24844
+ "El Messiri",
24845
+ "Electrolize",
24846
+ "Elms Sans",
24847
+ "Elsie",
24848
+ "Elsie Swash Caps",
24849
+ "Emblema One",
24850
+ "Emilys Candy",
24851
+ "Encode Sans",
24852
+ "Encode Sans Condensed",
24853
+ "Encode Sans Expanded",
24854
+ "Encode Sans SC",
24855
+ "Encode Sans Semi Condensed",
24856
+ "Encode Sans Semi Expanded",
24857
+ "Engagement",
24858
+ "Englebert",
24859
+ "Enriqueta",
24860
+ "Ephesis",
24861
+ "Epilogue",
24862
+ "Epunda Sans",
24863
+ "Epunda Slab",
24864
+ "Erica One",
24865
+ "Esteban",
24866
+ "Estedad",
24867
+ "Estonia",
24868
+ "Euphoria Script",
24869
+ "Ewert",
24870
+ "Exile",
24871
+ "Exo",
24872
+ "Exo 2",
24873
+ "Expletus Sans",
24874
+ "Explora",
24875
+ "Faculty Glyphic",
24876
+ "Fahkwang",
24877
+ "Familjen Grotesk",
24878
+ "Fanwood Text",
24879
+ "Farro",
24880
+ "Farsan",
24881
+ "Fascinate",
24882
+ "Fascinate Inline",
24883
+ "Faster One",
24884
+ "Fasthand",
24885
+ "Fauna One",
24886
+ "Faustina",
24887
+ "Federant",
24888
+ "Federo",
24889
+ "Felipa",
24890
+ "Fenix",
24891
+ "Festive",
24892
+ "Figtree",
24893
+ "Finger Paint",
24894
+ "Finlandica Headline",
24895
+ "Finlandica Text",
24896
+ "Fira Code",
24897
+ "Fira Mono",
24898
+ "Fira Sans",
24899
+ "Fira Sans Condensed",
24900
+ "Fira Sans Extra Condensed",
24901
+ "Fjalla One",
24902
+ "Fjord One",
24903
+ "Flamenco",
24904
+ "Flavors",
24905
+ "Fleur De Leah",
24906
+ "Flow Block",
24907
+ "Flow Circular",
24908
+ "Flow Rounded",
24909
+ "Foldit",
24910
+ "Fondamento",
24911
+ "Fontdiner Swanky",
24912
+ "Forum",
24913
+ "Fragment Mono",
24914
+ "Francois One",
24915
+ "Frank Ruhl Libre",
24916
+ "Fraunces",
24917
+ "Freckle Face",
24918
+ "Fredericka the Great",
24919
+ "Fredoka",
24920
+ "Freehand",
24921
+ "Freeman",
24922
+ "Fresca",
24923
+ "Frijole",
24924
+ "Fruktur",
24925
+ "Fugaz One",
24926
+ "Fuggles",
24927
+ "Funnel Display",
24928
+ "Funnel Sans",
24929
+ "Fustat",
24930
+ "Fuzzy Bubbles",
24931
+ "Ga Maamli",
24932
+ "Gabarito",
24933
+ "Gabriela",
24934
+ "Gaegu",
24935
+ "Gafata",
24936
+ "Gajraj One",
24937
+ "Galada",
24938
+ "Galdeano",
24939
+ "Galindo",
24940
+ "Gamja Flower",
24941
+ "Gantari",
24942
+ "Gasoek One",
24943
+ "Gayathri",
24944
+ "Geist",
24945
+ "Geist Mono",
24946
+ "Geist Pixel",
24947
+ "Gelasio",
24948
+ "Gemunu Libre",
24949
+ "Genos",
24950
+ "Gentium Book Plus",
24951
+ "Gentium Plus",
24952
+ "Geo",
24953
+ "Geologica",
24954
+ "Geom",
24955
+ "Geomini",
24956
+ "Georama",
24957
+ "Geostar",
24958
+ "Geostar Fill",
24959
+ "Germania One",
24960
+ "GFS Didot",
24961
+ "GFS Neohellenic",
24962
+ "Gideon Roman",
24963
+ "Gidole",
24964
+ "Gidugu",
24965
+ "Gilda Display",
24966
+ "Girassol",
24967
+ "Give You Glory",
24968
+ "Glass Antiqua",
24969
+ "Glegoo",
24970
+ "Gloock",
24971
+ "Gloria Hallelujah",
24972
+ "Glory",
24973
+ "Gluten",
24974
+ "Goblin One",
24975
+ "Gochi Hand",
24976
+ "Goldman",
24977
+ "Golos Text",
24978
+ "Google Sans",
24979
+ "Google Sans Code",
24980
+ "Google Sans Flex",
24981
+ "Gorditas",
24982
+ "Gothic A1",
24983
+ "Gotu",
24984
+ "Goudy Bookletter 1911",
24985
+ "Gowun Batang",
24986
+ "Gowun Dodum",
24987
+ "Graduate",
24988
+ "Grand Hotel",
24989
+ "Grandiflora One",
24990
+ "Grandstander",
24991
+ "Grape Nuts",
24992
+ "Gravitas One",
24993
+ "Great Vibes",
24994
+ "Grechen Fuemen",
24995
+ "Grenze",
24996
+ "Grenze Gotisch",
24997
+ "Grey Qo",
24998
+ "Griffy",
24999
+ "Gruppo",
25000
+ "Gudea",
25001
+ "Gugi",
25002
+ "Gulzar",
25003
+ "Gupter",
25004
+ "Gurajada",
25005
+ "Gveret Levin",
25006
+ "Gwendolyn",
25007
+ "Habibi",
25008
+ "Hachi Maru Pop",
25009
+ "Hahmlet",
25010
+ "Halant",
25011
+ "Hammersmith One",
25012
+ "Hanalei",
25013
+ "Hanalei Fill",
25014
+ "Handjet",
25015
+ "Handlee",
25016
+ "Hanken Grotesk",
25017
+ "Hanuman",
25018
+ "Happy Monkey",
25019
+ "Harmattan",
25020
+ "Headland One",
25021
+ "Hedvig Letters Sans",
25022
+ "Hedvig Letters Serif",
25023
+ "Heebo",
25024
+ "Henny Penny",
25025
+ "Hepta Slab",
25026
+ "Herr Von Muellerhoff",
25027
+ "Hi Melody",
25028
+ "Hibur Mono",
25029
+ "Hina Mincho",
25030
+ "Hind",
25031
+ "Hind Guntur",
25032
+ "Hind Madurai",
25033
+ "Hind Mysuru",
25034
+ "Hind Siliguri",
25035
+ "Hind Vadodara",
25036
+ "Holtwood One SC",
25037
+ "Homemade Apple",
25038
+ "Homenaje",
25039
+ "Honk",
25040
+ "Host Grotesk",
25041
+ "Hubballi",
25042
+ "Hubot Sans",
25043
+ "Huninn",
25044
+ "Hurricane",
25045
+ "Iansui",
25046
+ "Ibarra Real Nova",
25047
+ "IBM Plex Mono",
25048
+ "IBM Plex Sans",
25049
+ "IBM Plex Sans Arabic",
25050
+ "IBM Plex Sans Condensed",
25051
+ "IBM Plex Sans Devanagari",
25052
+ "IBM Plex Sans Hebrew",
25053
+ "IBM Plex Sans JP",
25054
+ "IBM Plex Sans KR",
25055
+ "IBM Plex Sans Thai",
25056
+ "IBM Plex Sans Thai Looped",
25057
+ "IBM Plex Serif",
25058
+ "Iceberg",
25059
+ "Iceland",
25060
+ "Idiqlat",
25061
+ "IM Fell Double Pica",
25062
+ "IM Fell Double Pica SC",
25063
+ "IM Fell DW Pica",
25064
+ "IM Fell DW Pica SC",
25065
+ "IM Fell English",
25066
+ "IM Fell English SC",
25067
+ "IM Fell French Canon",
25068
+ "IM Fell French Canon SC",
25069
+ "IM Fell Great Primer",
25070
+ "IM Fell Great Primer SC",
25071
+ "Imbue",
25072
+ "Imperial Script",
25073
+ "Imprima",
25074
+ "Inclusive Sans",
25075
+ "Inconsolata",
25076
+ "Inder",
25077
+ "Indie Flower",
25078
+ "Ingrid Darling",
25079
+ "Inika",
25080
+ "Inknut Antiqua",
25081
+ "Inria Sans",
25082
+ "Inria Serif",
25083
+ "Inspiration",
25084
+ "Instrument Sans",
25085
+ "Instrument Serif",
25086
+ "Intel One Mono",
25087
+ "Inter",
25088
+ "Inter Tight",
25089
+ "Iosevka Charon",
25090
+ "Iosevka Charon Mono",
25091
+ "Irish Grover",
25092
+ "Island Moments",
25093
+ "Istok Web",
25094
+ "Italiana",
25095
+ "Italianno",
25096
+ "Itim",
25097
+ "Jacquard 12",
25098
+ "Jacquard 12 Charted",
25099
+ "Jacquard 24",
25100
+ "Jacquard 24 Charted",
25101
+ "Jacquarda Bastarda 9",
25102
+ "Jacquarda Bastarda 9 Charted",
25103
+ "Jacques Francois",
25104
+ "Jacques Francois Shadow",
25105
+ "Jaini",
25106
+ "Jaini Purva",
25107
+ "Jaldi",
25108
+ "Jaro",
25109
+ "Jersey 10",
25110
+ "Jersey 10 Charted",
25111
+ "Jersey 15",
25112
+ "Jersey 15 Charted",
25113
+ "Jersey 20",
25114
+ "Jersey 20 Charted",
25115
+ "Jersey 25",
25116
+ "Jersey 25 Charted",
25117
+ "JetBrains Mono",
25118
+ "Jim Nightshade",
25119
+ "Joan",
25120
+ "Jockey One",
25121
+ "Jolly Lodger",
25122
+ "Jomhuria",
25123
+ "Jomolhari",
25124
+ "Josefin Sans",
25125
+ "Josefin Slab",
25126
+ "Jost",
25127
+ "Joti One",
25128
+ "Jua",
25129
+ "Judson",
25130
+ "Julee",
25131
+ "Julius Sans One",
25132
+ "Junge",
25133
+ "Jura",
25134
+ "Just Another Hand",
25135
+ "Just Me Again Down Here",
25136
+ "K2D",
25137
+ "Kablammo",
25138
+ "Kadwa",
25139
+ "Kaisei Decol",
25140
+ "Kaisei HarunoUmi",
25141
+ "Kaisei Opti",
25142
+ "Kaisei Tokumin",
25143
+ "Kalam",
25144
+ "Kalnia",
25145
+ "Kalnia Glaze",
25146
+ "Kameron",
25147
+ "Kanchenjunga",
25148
+ "Kanit",
25149
+ "Kantumruy Pro",
25150
+ "Kapakana",
25151
+ "Karantina",
25152
+ "Karla",
25153
+ "Karla Tamil Inclined",
25154
+ "Karla Tamil Upright",
25155
+ "Karma",
25156
+ "Katibeh",
25157
+ "Kaushan Script",
25158
+ "Kavivanar",
25159
+ "Kavoon",
25160
+ "Kay Pho Du",
25161
+ "Kdam Thmor Pro",
25162
+ "Keania One",
25163
+ "Kedebideri",
25164
+ "Kelly Slab",
25165
+ "Kenia",
25166
+ "Khand",
25167
+ "Khmer",
25168
+ "Khula",
25169
+ "Kings",
25170
+ "Kirang Haerang",
25171
+ "Kite One",
25172
+ "Kiwi Maru",
25173
+ "Klee One",
25174
+ "Knewave",
25175
+ "Kodchasan",
25176
+ "Kode Mono",
25177
+ "Koh Santepheap",
25178
+ "KoHo",
25179
+ "Kolker Brush",
25180
+ "Konkhmer Sleokchher",
25181
+ "Kosugi",
25182
+ "Kosugi Maru",
25183
+ "Kotta One",
25184
+ "Koulen",
25185
+ "Kranky",
25186
+ "Kreon",
25187
+ "Kristi",
25188
+ "Krona One",
25189
+ "Krub",
25190
+ "Kufam",
25191
+ "Kulim Park",
25192
+ "Kumar One",
25193
+ "Kumar One Outline",
25194
+ "Kumbh Sans",
25195
+ "Kurale",
25196
+ "La Belle Aurore",
25197
+ "Labrada",
25198
+ "Lacquer",
25199
+ "Laila",
25200
+ "Lakki Reddy",
25201
+ "Lalezar",
25202
+ "Lancelot",
25203
+ "Langar",
25204
+ "Lateef",
25205
+ "Lato",
25206
+ "Lavishly Yours",
25207
+ "League Gothic",
25208
+ "League Script",
25209
+ "League Spartan",
25210
+ "Leckerli One",
25211
+ "Ledger",
25212
+ "Lekton",
25213
+ "Lemon",
25214
+ "Lemonada",
25215
+ "Lexend",
25216
+ "Lexend Deca",
25217
+ "Lexend Exa",
25218
+ "Lexend Giga",
25219
+ "Lexend Mega",
25220
+ "Lexend Peta",
25221
+ "Lexend Tera",
25222
+ "Lexend Zetta",
25223
+ "Libertinus Keyboard",
25224
+ "Libertinus Math",
25225
+ "Libertinus Mono",
25226
+ "Libertinus Sans",
25227
+ "Libertinus Serif",
25228
+ "Libertinus Serif Display",
25229
+ "Libre Barcode 128",
25230
+ "Libre Barcode 128 Text",
25231
+ "Libre Barcode 39",
25232
+ "Libre Barcode 39 Extended",
25233
+ "Libre Barcode 39 Extended Text",
25234
+ "Libre Barcode 39 Text",
25235
+ "Libre Barcode EAN13 Text",
25236
+ "Libre Baskerville",
25237
+ "Libre Bodoni",
25238
+ "Libre Caslon Display",
25239
+ "Libre Caslon Text",
25240
+ "Libre Franklin",
25241
+ "Licorice",
25242
+ "Life Savers",
25243
+ "Lilex",
25244
+ "Lilita One",
25245
+ "Lily Script One",
25246
+ "Limelight",
25247
+ "Linden Hill",
25248
+ "LINE Seed JP",
25249
+ "Linefont",
25250
+ "Lisu Bosa",
25251
+ "Liter",
25252
+ "Literata",
25253
+ "Liu Jian Mao Cao",
25254
+ "Livvic",
25255
+ "Lobster",
25256
+ "Lobster Two",
25257
+ "Londrina Outline",
25258
+ "Londrina Shadow",
25259
+ "Londrina Sketch",
25260
+ "Londrina Solid",
25261
+ "Long Cang",
25262
+ "Lora",
25263
+ "Love Light",
25264
+ "Love Ya Like A Sister",
25265
+ "Loved by the King",
25266
+ "Lovers Quarrel",
25267
+ "Luckiest Guy",
25268
+ "Lugrasimo",
25269
+ "Lumanosimo",
25270
+ "Lunasima",
25271
+ "Lusitana",
25272
+ "Lustria",
25273
+ "Luxurious Roman",
25274
+ "Luxurious Script",
25275
+ "LXGW Marker Gothic",
25276
+ "LXGW WenKai Mono TC",
25277
+ "LXGW WenKai TC",
25278
+ "M PLUS 1",
25279
+ "M PLUS 1 Code",
25280
+ "M PLUS 1p",
25281
+ "M PLUS 2",
25282
+ "M PLUS Code Latin",
25283
+ "M PLUS Rounded 1c",
25284
+ "M PLUS U",
25285
+ "Ma Shan Zheng",
25286
+ "Macondo",
25287
+ "Macondo Swash Caps",
25288
+ "Mada",
25289
+ "Madimi One",
25290
+ "Magra",
25291
+ "Maiden Orange",
25292
+ "Maitree",
25293
+ "Major Mono Display",
25294
+ "Mako",
25295
+ "Mali",
25296
+ "Mallanna",
25297
+ "Maname",
25298
+ "Mandali",
25299
+ "Manjari",
25300
+ "Manrope",
25301
+ "Mansalva",
25302
+ "Manuale",
25303
+ "Manufacturing Consent",
25304
+ "Marcellus",
25305
+ "Marcellus SC",
25306
+ "Marck Script",
25307
+ "Margarine",
25308
+ "Marhey",
25309
+ "Markazi Text",
25310
+ "Marko One",
25311
+ "Marmelad",
25312
+ "Martel",
25313
+ "Martel Sans",
25314
+ "Martian Mono",
25315
+ "Marvel",
25316
+ "Matangi",
25317
+ "Mate",
25318
+ "Mate SC",
25319
+ "Matemasie",
25320
+ "Maven Pro",
25321
+ "McLaren",
25322
+ "Mea Culpa",
25323
+ "Meddon",
25324
+ "MedievalSharp",
25325
+ "Medula One",
25326
+ "Meera Inimai",
25327
+ "Megrim",
25328
+ "Meie Script",
25329
+ "Menbere",
25330
+ "Meow Script",
25331
+ "Merienda",
25332
+ "Merriweather",
25333
+ "Merriweather Sans",
25334
+ "Metal",
25335
+ "Metal Mania",
25336
+ "Metamorphous",
25337
+ "Metrophobic",
25338
+ "Michroma",
25339
+ "Micro 5",
25340
+ "Micro 5 Charted",
25341
+ "Milonga",
25342
+ "Miltonian",
25343
+ "Miltonian Tattoo",
25344
+ "Mina",
25345
+ "Mingzat",
25346
+ "Miniver",
25347
+ "Miranda Sans",
25348
+ "Miriam Libre",
25349
+ "Mirza",
25350
+ "Miss Fajardose",
25351
+ "Mitr",
25352
+ "Mochiy Pop One",
25353
+ "Mochiy Pop P One",
25354
+ "Modak",
25355
+ "Modern Antiqua",
25356
+ "Moderustic",
25357
+ "Mogra",
25358
+ "Mohave",
25359
+ "Moirai One",
25360
+ "Molengo",
25361
+ "Molle",
25362
+ "Momo Signature",
25363
+ "Momo Trust Display",
25364
+ "Momo Trust Sans",
25365
+ "Mona Sans",
25366
+ "Monda",
25367
+ "Monofett",
25368
+ "Monomakh",
25369
+ "Monomaniac One",
25370
+ "Monoton",
25371
+ "Monsieur La Doulaise",
25372
+ "Montaga",
25373
+ "Montagu Slab",
25374
+ "MonteCarlo",
25375
+ "Montenegrin Gothic One",
25376
+ "Montez",
25377
+ "Montserrat",
25378
+ "Montserrat Alternates",
25379
+ "Montserrat Underline",
25380
+ "Moo Lah Lah",
25381
+ "Mooli",
25382
+ "Moon Dance",
25383
+ "Moul",
25384
+ "Moulpali",
25385
+ "Mountains of Christmas",
25386
+ "Mouse Memoirs",
25387
+ "Mozilla Headline",
25388
+ "Mozilla Text",
25389
+ "Mr Bedfort",
25390
+ "Mr Dafoe",
25391
+ "Mr De Haviland",
25392
+ "Mrs Saint Delafield",
25393
+ "Mrs Sheppards",
25394
+ "Ms Madi",
25395
+ "Mukta",
25396
+ "Mukta Mahee",
25397
+ "Mukta Malar",
25398
+ "Mukta Vaani",
25399
+ "Mulish",
25400
+ "Murecho",
25401
+ "MuseoModerno",
25402
+ "My Soul",
25403
+ "Mynerve",
25404
+ "Mystery Quest",
25405
+ "Nabla",
25406
+ "Namdhinggo",
25407
+ "Nanum Brush Script",
25408
+ "Nanum Gothic",
25409
+ "Nanum Gothic Coding",
25410
+ "Nanum Myeongjo",
25411
+ "Nanum Pen Script",
25412
+ "Narnoor",
25413
+ "Nata Sans",
25414
+ "National Park",
25415
+ "Neonderthaw",
25416
+ "Nerko One",
25417
+ "Neucha",
25418
+ "Neuton",
25419
+ "New Amsterdam",
25420
+ "New Rocker",
25421
+ "New Tegomin",
25422
+ "News Cycle",
25423
+ "Newsreader",
25424
+ "Niconne",
25425
+ "Niramit",
25426
+ "Nixie One",
25427
+ "Nobile",
25428
+ "Nokora",
25429
+ "Norican",
25430
+ "Nosifer",
25431
+ "Notable",
25432
+ "Nothing You Could Do",
25433
+ "Noticia Text",
25434
+ "Noto Color Emoji",
25435
+ "Noto Emoji",
25436
+ "Noto Kufi Arabic",
25437
+ "Noto Music",
25438
+ "Noto Naskh Arabic",
25439
+ "Noto Nastaliq Urdu",
25440
+ "Noto Rashi Hebrew",
25441
+ "Noto Sans",
25442
+ "Noto Sans Adlam",
25443
+ "Noto Sans Adlam Unjoined",
25444
+ "Noto Sans Anatolian Hieroglyphs",
25445
+ "Noto Sans Arabic",
25446
+ "Noto Sans Armenian",
25447
+ "Noto Sans Avestan",
25448
+ "Noto Sans Balinese",
25449
+ "Noto Sans Bamum",
25450
+ "Noto Sans Bassa Vah",
25451
+ "Noto Sans Batak",
25452
+ "Noto Sans Bengali",
25453
+ "Noto Sans Bhaiksuki",
25454
+ "Noto Sans Brahmi",
25455
+ "Noto Sans Buginese",
25456
+ "Noto Sans Buhid",
25457
+ "Noto Sans Canadian Aboriginal",
25458
+ "Noto Sans Carian",
25459
+ "Noto Sans Caucasian Albanian",
25460
+ "Noto Sans Chakma",
25461
+ "Noto Sans Cham",
25462
+ "Noto Sans Cherokee",
25463
+ "Noto Sans Chorasmian",
25464
+ "Noto Sans Coptic",
25465
+ "Noto Sans Cuneiform",
25466
+ "Noto Sans Cypriot",
25467
+ "Noto Sans Cypro Minoan",
25468
+ "Noto Sans Deseret",
25469
+ "Noto Sans Devanagari",
25470
+ "Noto Sans Display",
25471
+ "Noto Sans Duployan",
25472
+ "Noto Sans Egyptian Hieroglyphs",
25473
+ "Noto Sans Elbasan",
25474
+ "Noto Sans Elymaic",
25475
+ "Noto Sans Ethiopic",
25476
+ "Noto Sans Georgian",
25477
+ "Noto Sans Glagolitic",
25478
+ "Noto Sans Gothic",
25479
+ "Noto Sans Grantha",
25480
+ "Noto Sans Gujarati",
25481
+ "Noto Sans Gunjala Gondi",
25482
+ "Noto Sans Gurmukhi",
25483
+ "Noto Sans Hanifi Rohingya",
25484
+ "Noto Sans Hanunoo",
25485
+ "Noto Sans Hatran",
25486
+ "Noto Sans Hebrew",
25487
+ "Noto Sans HK",
25488
+ "Noto Sans Imperial Aramaic",
25489
+ "Noto Sans Indic Siyaq Numbers",
25490
+ "Noto Sans Inscriptional Pahlavi",
25491
+ "Noto Sans Inscriptional Parthian",
25492
+ "Noto Sans Javanese",
25493
+ "Noto Sans JP",
25494
+ "Noto Sans Kaithi",
25495
+ "Noto Sans Kannada",
25496
+ "Noto Sans Kawi",
25497
+ "Noto Sans Kayah Li",
25498
+ "Noto Sans Kharoshthi",
25499
+ "Noto Sans Khmer",
25500
+ "Noto Sans Khojki",
25501
+ "Noto Sans Khudawadi",
25502
+ "Noto Sans KR",
25503
+ "Noto Sans Lao",
25504
+ "Noto Sans Lao Looped",
25505
+ "Noto Sans Lepcha",
25506
+ "Noto Sans Limbu",
25507
+ "Noto Sans Linear A",
25508
+ "Noto Sans Linear B",
25509
+ "Noto Sans Lisu",
25510
+ "Noto Sans Lycian",
25511
+ "Noto Sans Lydian",
25512
+ "Noto Sans Mahajani",
25513
+ "Noto Sans Malayalam",
25514
+ "Noto Sans Mandaic",
25515
+ "Noto Sans Manichaean",
25516
+ "Noto Sans Marchen",
25517
+ "Noto Sans Masaram Gondi",
25518
+ "Noto Sans Math",
25519
+ "Noto Sans Mayan Numerals",
25520
+ "Noto Sans Medefaidrin",
25521
+ "Noto Sans Meetei Mayek",
25522
+ "Noto Sans Mende Kikakui",
25523
+ "Noto Sans Meroitic",
25524
+ "Noto Sans Miao",
25525
+ "Noto Sans Modi",
25526
+ "Noto Sans Mongolian",
25527
+ "Noto Sans Mono",
25528
+ "Noto Sans Mro",
25529
+ "Noto Sans Multani",
25530
+ "Noto Sans Myanmar",
25531
+ "Noto Sans Nabataean",
25532
+ "Noto Sans Nag Mundari",
25533
+ "Noto Sans Nandinagari",
25534
+ "Noto Sans New Tai Lue",
25535
+ "Noto Sans Newa",
25536
+ "Noto Sans NKo",
25537
+ "Noto Sans NKo Unjoined",
25538
+ "Noto Sans Nushu",
25539
+ "Noto Sans Ogham",
25540
+ "Noto Sans Ol Chiki",
25541
+ "Noto Sans Old Hungarian",
25542
+ "Noto Sans Old Italic",
25543
+ "Noto Sans Old North Arabian",
25544
+ "Noto Sans Old Permic",
25545
+ "Noto Sans Old Persian",
25546
+ "Noto Sans Old Sogdian",
25547
+ "Noto Sans Old South Arabian",
25548
+ "Noto Sans Old Turkic",
25549
+ "Noto Sans Oriya",
25550
+ "Noto Sans Osage",
25551
+ "Noto Sans Osmanya",
25552
+ "Noto Sans Pahawh Hmong",
25553
+ "Noto Sans Palmyrene",
25554
+ "Noto Sans Pau Cin Hau",
25555
+ "Noto Sans PhagsPa",
25556
+ "Noto Sans Phoenician",
25557
+ "Noto Sans Psalter Pahlavi",
25558
+ "Noto Sans Rejang",
25559
+ "Noto Sans Runic",
25560
+ "Noto Sans Samaritan",
25561
+ "Noto Sans Saurashtra",
25562
+ "Noto Sans SC",
25563
+ "Noto Sans Sharada",
25564
+ "Noto Sans Shavian",
25565
+ "Noto Sans Siddham",
25566
+ "Noto Sans SignWriting",
25567
+ "Noto Sans Sinhala",
25568
+ "Noto Sans Sogdian",
25569
+ "Noto Sans Sora Sompeng",
25570
+ "Noto Sans Soyombo",
25571
+ "Noto Sans Sundanese",
25572
+ "Noto Sans Sunuwar",
25573
+ "Noto Sans Syloti Nagri",
25574
+ "Noto Sans Symbols",
25575
+ "Noto Sans Symbols 2",
25576
+ "Noto Sans Syriac",
25577
+ "Noto Sans Syriac Eastern",
25578
+ "Noto Sans Syriac Western",
25579
+ "Noto Sans Tagalog",
25580
+ "Noto Sans Tagbanwa",
25581
+ "Noto Sans Tai Le",
25582
+ "Noto Sans Tai Tham",
25583
+ "Noto Sans Tai Viet",
25584
+ "Noto Sans Takri",
25585
+ "Noto Sans Tamil",
25586
+ "Noto Sans Tamil Supplement",
25587
+ "Noto Sans Tangsa",
25588
+ "Noto Sans TC",
25589
+ "Noto Sans Telugu",
25590
+ "Noto Sans Thaana",
25591
+ "Noto Sans Thai",
25592
+ "Noto Sans Thai Looped",
25593
+ "Noto Sans Tifinagh",
25594
+ "Noto Sans Tirhuta",
25595
+ "Noto Sans Ugaritic",
25596
+ "Noto Sans Vai",
25597
+ "Noto Sans Vithkuqi",
25598
+ "Noto Sans Wancho",
25599
+ "Noto Sans Warang Citi",
25600
+ "Noto Sans Yi",
25601
+ "Noto Sans Zanabazar Square",
25602
+ "Noto Serif",
25603
+ "Noto Serif Ahom",
25604
+ "Noto Serif Armenian",
25605
+ "Noto Serif Balinese",
25606
+ "Noto Serif Bengali",
25607
+ "Noto Serif Devanagari",
25608
+ "Noto Serif Display",
25609
+ "Noto Serif Dives Akuru",
25610
+ "Noto Serif Dogra",
25611
+ "Noto Serif Ethiopic",
25612
+ "Noto Serif Georgian",
25613
+ "Noto Serif Grantha",
25614
+ "Noto Serif Gujarati",
25615
+ "Noto Serif Gurmukhi",
25616
+ "Noto Serif Hebrew",
25617
+ "Noto Serif Hentaigana",
25618
+ "Noto Serif HK",
25619
+ "Noto Serif JP",
25620
+ "Noto Serif Kannada",
25621
+ "Noto Serif Khitan Small Script",
25622
+ "Noto Serif Khmer",
25623
+ "Noto Serif Khojki",
25624
+ "Noto Serif KR",
25625
+ "Noto Serif Lao",
25626
+ "Noto Serif Makasar",
25627
+ "Noto Serif Malayalam",
25628
+ "Noto Serif Myanmar",
25629
+ "Noto Serif NP Hmong",
25630
+ "Noto Serif Old Uyghur",
25631
+ "Noto Serif Oriya",
25632
+ "Noto Serif Ottoman Siyaq",
25633
+ "Noto Serif SC",
25634
+ "Noto Serif Sinhala",
25635
+ "Noto Serif Tamil",
25636
+ "Noto Serif Tangut",
25637
+ "Noto Serif TC",
25638
+ "Noto Serif Telugu",
25639
+ "Noto Serif Thai",
25640
+ "Noto Serif Tibetan",
25641
+ "Noto Serif Todhri",
25642
+ "Noto Serif Toto",
25643
+ "Noto Serif Vithkuqi",
25644
+ "Noto Serif Yezidi",
25645
+ "Noto Traditional Nushu",
25646
+ "Noto Znamenny Musical Notation",
25647
+ "Nova Cut",
25648
+ "Nova Flat",
25649
+ "Nova Mono",
25650
+ "Nova Oval",
25651
+ "Nova Round",
25652
+ "Nova Script",
25653
+ "Nova Slim",
25654
+ "Nova Square",
25655
+ "NTR",
25656
+ "Numans",
25657
+ "Nunito",
25658
+ "Nunito Sans",
25659
+ "Nuosu SIL",
25660
+ "Odibee Sans",
25661
+ "Odor Mean Chey",
25662
+ "Offside",
25663
+ "Oi",
25664
+ "Ojuju",
25665
+ "Old Standard TT",
25666
+ "Oldenburg",
25667
+ "Ole",
25668
+ "Oleo Script",
25669
+ "Oleo Script Swash Caps",
25670
+ "Onest",
25671
+ "Oooh Baby",
25672
+ "Open Sans",
25673
+ "Oranienbaum",
25674
+ "Orbit",
25675
+ "Orbitron",
25676
+ "Oregano",
25677
+ "Orelega One",
25678
+ "Orienta",
25679
+ "Original Surfer",
25680
+ "Oswald",
25681
+ "Outfit",
25682
+ "Over the Rainbow",
25683
+ "Overlock",
25684
+ "Overlock SC",
25685
+ "Overpass",
25686
+ "Overpass Mono",
25687
+ "Ovo",
25688
+ "Oxanium",
25689
+ "Oxygen",
25690
+ "Oxygen Mono",
25691
+ "Pacifico",
25692
+ "Padauk",
25693
+ "Padyakke Expanded One",
25694
+ "Palanquin",
25695
+ "Palanquin Dark",
25696
+ "Palette Mosaic",
25697
+ "Pangolin",
25698
+ "Paprika",
25699
+ "Parastoo",
25700
+ "Parisienne",
25701
+ "Parkinsans",
25702
+ "Passero One",
25703
+ "Passion One",
25704
+ "Passions Conflict",
25705
+ "Pathway Extreme",
25706
+ "Pathway Gothic One",
25707
+ "Patrick Hand",
25708
+ "Patrick Hand SC",
25709
+ "Pattaya",
25710
+ "Patua One",
25711
+ "Pavanam",
25712
+ "Paytone One",
25713
+ "Peddana",
25714
+ "Peralta",
25715
+ "Permanent Marker",
25716
+ "Petemoss",
25717
+ "Petit Formal Script",
25718
+ "Petrona",
25719
+ "Phetsarath",
25720
+ "Philosopher",
25721
+ "Phudu",
25722
+ "Piazzolla",
25723
+ "Piedra",
25724
+ "Pinyon Script",
25725
+ "Pirata One",
25726
+ "Pixelify Sans",
25727
+ "Plaster",
25728
+ "Platypi",
25729
+ "Play",
25730
+ "Playball",
25731
+ "Playfair",
25732
+ "Playfair Display",
25733
+ "Playfair Display SC",
25734
+ "Playpen Sans",
25735
+ "Playpen Sans Arabic",
25736
+ "Playpen Sans Deva",
25737
+ "Playpen Sans Hebrew",
25738
+ "Playpen Sans Thai",
25739
+ "Playwrite AR",
25740
+ "Playwrite AR Guides",
25741
+ "Playwrite AT",
25742
+ "Playwrite AT Guides",
25743
+ "Playwrite AU NSW",
25744
+ "Playwrite AU NSW Guides",
25745
+ "Playwrite AU QLD",
25746
+ "Playwrite AU QLD Guides",
25747
+ "Playwrite AU SA",
25748
+ "Playwrite AU SA Guides",
25749
+ "Playwrite AU TAS",
25750
+ "Playwrite AU TAS Guides",
25751
+ "Playwrite AU VIC",
25752
+ "Playwrite AU VIC Guides",
25753
+ "Playwrite BE VLG",
25754
+ "Playwrite BE VLG Guides",
25755
+ "Playwrite BE WAL",
25756
+ "Playwrite BE WAL Guides",
25757
+ "Playwrite BR",
25758
+ "Playwrite BR Guides",
25759
+ "Playwrite CA",
25760
+ "Playwrite CA Guides",
25761
+ "Playwrite CL",
25762
+ "Playwrite CL Guides",
25763
+ "Playwrite CO",
25764
+ "Playwrite CO Guides",
25765
+ "Playwrite CU",
25766
+ "Playwrite CU Guides",
25767
+ "Playwrite CZ",
25768
+ "Playwrite CZ Guides",
25769
+ "Playwrite DE Grund",
25770
+ "Playwrite DE Grund Guides",
25771
+ "Playwrite DE LA",
25772
+ "Playwrite DE LA Guides",
25773
+ "Playwrite DE SAS",
25774
+ "Playwrite DE SAS Guides",
25775
+ "Playwrite DE VA",
25776
+ "Playwrite DE VA Guides",
25777
+ "Playwrite DK Loopet",
25778
+ "Playwrite DK Loopet Guides",
25779
+ "Playwrite DK Uloopet",
25780
+ "Playwrite DK Uloopet Guides",
25781
+ "Playwrite ES",
25782
+ "Playwrite ES Deco",
25783
+ "Playwrite ES Deco Guides",
25784
+ "Playwrite ES Guides",
25785
+ "Playwrite FR Moderne",
25786
+ "Playwrite FR Moderne Guides",
25787
+ "Playwrite FR Trad",
25788
+ "Playwrite FR Trad Guides",
25789
+ "Playwrite GB J",
25790
+ "Playwrite GB J Guides",
25791
+ "Playwrite GB S",
25792
+ "Playwrite GB S Guides",
25793
+ "Playwrite HR",
25794
+ "Playwrite HR Guides",
25795
+ "Playwrite HR Lijeva",
25796
+ "Playwrite HR Lijeva Guides",
25797
+ "Playwrite HU",
25798
+ "Playwrite HU Guides",
25799
+ "Playwrite ID",
25800
+ "Playwrite ID Guides",
25801
+ "Playwrite IE",
25802
+ "Playwrite IE Guides",
25803
+ "Playwrite IN",
25804
+ "Playwrite IN Guides",
25805
+ "Playwrite IS",
25806
+ "Playwrite IS Guides",
25807
+ "Playwrite IT Moderna",
25808
+ "Playwrite IT Moderna Guides",
25809
+ "Playwrite IT Trad",
25810
+ "Playwrite IT Trad Guides",
25811
+ "Playwrite MX",
25812
+ "Playwrite MX Guides",
25813
+ "Playwrite NG Modern",
25814
+ "Playwrite NG Modern Guides",
25815
+ "Playwrite NL",
25816
+ "Playwrite NL Guides",
25817
+ "Playwrite NO",
25818
+ "Playwrite NO Guides",
25819
+ "Playwrite NZ",
25820
+ "Playwrite NZ Basic",
25821
+ "Playwrite NZ Basic Guides",
25822
+ "Playwrite NZ Guides",
25823
+ "Playwrite PE",
25824
+ "Playwrite PE Guides",
25825
+ "Playwrite PL",
25826
+ "Playwrite PL Guides",
25827
+ "Playwrite PT",
25828
+ "Playwrite PT Guides",
25829
+ "Playwrite RO",
25830
+ "Playwrite RO Guides",
25831
+ "Playwrite SK",
25832
+ "Playwrite SK Guides",
25833
+ "Playwrite TZ",
25834
+ "Playwrite TZ Guides",
25835
+ "Playwrite US Modern",
25836
+ "Playwrite US Modern Guides",
25837
+ "Playwrite US Trad",
25838
+ "Playwrite US Trad Guides",
25839
+ "Playwrite VN",
25840
+ "Playwrite VN Guides",
25841
+ "Playwrite ZA",
25842
+ "Playwrite ZA Guides",
25843
+ "Pliant",
25844
+ "Plus Jakarta Sans",
25845
+ "Pochaevsk",
25846
+ "Podkova",
25847
+ "Poetsen One",
25848
+ "Poiret One",
25849
+ "Poller One",
25850
+ "Poltawski Nowy",
25851
+ "Poly",
25852
+ "Pompiere",
25853
+ "Ponnala",
25854
+ "Ponomar",
25855
+ "Pontano Sans",
25856
+ "Poor Story",
25857
+ "Poppins",
25858
+ "Port Lligat Sans",
25859
+ "Port Lligat Slab",
25860
+ "Potta One",
25861
+ "Pragati Narrow",
25862
+ "Praise",
25863
+ "Prata",
25864
+ "Preahvihear",
25865
+ "Press Start 2P",
25866
+ "Pridi",
25867
+ "Princess Sofia",
25868
+ "Prociono",
25869
+ "Prompt",
25870
+ "Prosto One",
25871
+ "Protest Guerrilla",
25872
+ "Protest Revolution",
25873
+ "Protest Riot",
25874
+ "Protest Strike",
25875
+ "Proza Libre",
25876
+ "PT Mono",
25877
+ "PT Sans",
25878
+ "PT Sans Caption",
25879
+ "PT Sans Narrow",
25880
+ "PT Serif",
25881
+ "PT Serif Caption",
25882
+ "Public Sans",
25883
+ "Puppies Play",
25884
+ "Puritan",
25885
+ "Purple Purse",
25886
+ "Qahiri",
25887
+ "Quando",
25888
+ "Quantico",
25889
+ "Quattrocento",
25890
+ "Quattrocento Sans",
25891
+ "Questrial",
25892
+ "Quicksand",
25893
+ "Quintessential",
25894
+ "Qwigley",
25895
+ "Qwitcher Grypen",
25896
+ "Racing Sans One",
25897
+ "Radio Canada",
25898
+ "Radio Canada Big",
25899
+ "Radley",
25900
+ "Rajdhani",
25901
+ "Rakkas",
25902
+ "Raleway",
25903
+ "Raleway Dots",
25904
+ "Ramabhadra",
25905
+ "Ramaraja",
25906
+ "Rambla",
25907
+ "Rammetto One",
25908
+ "Rampart One",
25909
+ "Ramsina",
25910
+ "Ranchers",
25911
+ "Rancho",
25912
+ "Ranga",
25913
+ "Rasa",
25914
+ "Rationale",
25915
+ "Ravi Prakash",
25916
+ "Readex Pro",
25917
+ "Recursive",
25918
+ "Red Hat Display",
25919
+ "Red Hat Mono",
25920
+ "Red Hat Text",
25921
+ "Red Rose",
25922
+ "Redacted",
25923
+ "Redacted Script",
25924
+ "Reddit Mono",
25925
+ "Reddit Sans",
25926
+ "Reddit Sans Condensed",
25927
+ "Redressed",
25928
+ "Reem Kufi",
25929
+ "Reem Kufi Fun",
25930
+ "Reem Kufi Ink",
25931
+ "Reenie Beanie",
25932
+ "Reggae One",
25933
+ "REM",
25934
+ "Rethink Sans",
25935
+ "Revalia",
25936
+ "Rhodium Libre",
25937
+ "Ribeye",
25938
+ "Ribeye Marrow",
25939
+ "Righteous",
25940
+ "Risque",
25941
+ "Road Rage",
25942
+ "Roboto",
25943
+ "Roboto Condensed",
25944
+ "Roboto Flex",
25945
+ "Roboto Mono",
25946
+ "Roboto Serif",
25947
+ "Roboto Slab",
25948
+ "Rochester",
25949
+ "Rock 3D",
25950
+ "Rock Salt",
25951
+ "RocknRoll One",
25952
+ "Rokkitt",
25953
+ "Romanesco",
25954
+ "Ropa Sans",
25955
+ "Rosario",
25956
+ "Rosarivo",
25957
+ "Rouge Script",
25958
+ "Rowdies",
25959
+ "Rozha One",
25960
+ "Rubik",
25961
+ "Rubik 80s Fade",
25962
+ "Rubik Beastly",
25963
+ "Rubik Broken Fax",
25964
+ "Rubik Bubbles",
25965
+ "Rubik Burned",
25966
+ "Rubik Dirt",
25967
+ "Rubik Distressed",
25968
+ "Rubik Doodle Shadow",
25969
+ "Rubik Doodle Triangles",
25970
+ "Rubik Gemstones",
25971
+ "Rubik Glitch",
25972
+ "Rubik Glitch Pop",
25973
+ "Rubik Iso",
25974
+ "Rubik Lines",
25975
+ "Rubik Maps",
25976
+ "Rubik Marker Hatch",
25977
+ "Rubik Maze",
25978
+ "Rubik Microbe",
25979
+ "Rubik Mono One",
25980
+ "Rubik Moonrocks",
25981
+ "Rubik Pixels",
25982
+ "Rubik Puddles",
25983
+ "Rubik Scribble",
25984
+ "Rubik Spray Paint",
25985
+ "Rubik Storm",
25986
+ "Rubik Vinyl",
25987
+ "Rubik Wet Paint",
25988
+ "Ruda",
25989
+ "Rufina",
25990
+ "Ruge Boogie",
25991
+ "Ruluko",
25992
+ "Rum Raisin",
25993
+ "Ruslan Display",
25994
+ "Russo One",
25995
+ "Ruthie",
25996
+ "Ruwudu",
25997
+ "Rye",
25998
+ "Sacramento",
25999
+ "Sahitya",
26000
+ "Sail",
26001
+ "Saira",
26002
+ "Saira Condensed",
26003
+ "Saira Extra Condensed",
26004
+ "Saira Semi Condensed",
26005
+ "Saira Stencil",
26006
+ "Salsa",
26007
+ "Sanchez",
26008
+ "Sancreek",
26009
+ "Sankofa Display",
26010
+ "Sansation",
26011
+ "Sansita",
26012
+ "Sansita Swashed",
26013
+ "Sarabun",
26014
+ "Sarala",
26015
+ "Sarina",
26016
+ "Sarpanch",
26017
+ "Sassy Frass",
26018
+ "Satisfy",
26019
+ "Savate",
26020
+ "Sawarabi Gothic",
26021
+ "Sawarabi Mincho",
26022
+ "Scada",
26023
+ "Scheherazade New",
26024
+ "Schibsted Grotesk",
26025
+ "Schoolbell",
26026
+ "Science Gothic",
26027
+ "Scope One",
26028
+ "Scoutie Sans",
26029
+ "Seaweed Script",
26030
+ "Secular One",
26031
+ "Sedan",
26032
+ "Sedan SC",
26033
+ "Sedgwick Ave",
26034
+ "Sedgwick Ave Display",
26035
+ "Sekuya",
26036
+ "Sen",
26037
+ "Send Flowers",
26038
+ "Sevillana",
26039
+ "Seymour One",
26040
+ "Shadows Into Light",
26041
+ "Shadows Into Light Two",
26042
+ "Shafarik",
26043
+ "Shalimar",
26044
+ "Shantell Sans",
26045
+ "Shanti",
26046
+ "Share",
26047
+ "Share Tech",
26048
+ "Share Tech Mono",
26049
+ "Shippori Antique",
26050
+ "Shippori Antique B1",
26051
+ "Shippori Mincho",
26052
+ "Shippori Mincho B1",
26053
+ "Shizuru",
26054
+ "Shojumaru",
26055
+ "Short Stack",
26056
+ "Shrikhand",
26057
+ "Siemreap",
26058
+ "Sigmar",
26059
+ "Sigmar One",
26060
+ "Signika",
26061
+ "Signika Negative",
26062
+ "Silkscreen",
26063
+ "Simonetta",
26064
+ "Single Day",
26065
+ "Sintony",
26066
+ "Sirin Stencil",
26067
+ "Sirivennela",
26068
+ "Six Caps",
26069
+ "Sixtyfour",
26070
+ "Sixtyfour Convergence",
26071
+ "Skranji",
26072
+ "Slabo 13px",
26073
+ "Slabo 27px",
26074
+ "Slackey",
26075
+ "Slackside One",
26076
+ "Smokum",
26077
+ "Smooch",
26078
+ "Smooch Sans",
26079
+ "Smythe",
26080
+ "SN Pro",
26081
+ "Sniglet",
26082
+ "Snippet",
26083
+ "Snowburst One",
26084
+ "Sofadi One",
26085
+ "Sofia",
26086
+ "Sofia Sans",
26087
+ "Sofia Sans Condensed",
26088
+ "Sofia Sans Extra Condensed",
26089
+ "Sofia Sans Semi Condensed",
26090
+ "Solitreo",
26091
+ "Solway",
26092
+ "Sometype Mono",
26093
+ "Song Myung",
26094
+ "Sono",
26095
+ "Sonsie One",
26096
+ "Sora",
26097
+ "Sorts Mill Goudy",
26098
+ "Sour Gummy",
26099
+ "Source Code Pro",
26100
+ "Source Sans 3",
26101
+ "Source Serif 4",
26102
+ "Space Grotesk",
26103
+ "Space Mono",
26104
+ "Special Elite",
26105
+ "Special Gothic",
26106
+ "Special Gothic Condensed One",
26107
+ "Special Gothic Expanded One",
26108
+ "Spectral",
26109
+ "Spectral SC",
26110
+ "Spicy Rice",
26111
+ "Spinnaker",
26112
+ "Spirax",
26113
+ "Splash",
26114
+ "Spline Sans",
26115
+ "Spline Sans Mono",
26116
+ "Squada One",
26117
+ "Square Peg",
26118
+ "Sree Krushnadevaraya",
26119
+ "Sriracha",
26120
+ "Srisakdi",
26121
+ "Staatliches",
26122
+ "Stack Sans Headline",
26123
+ "Stack Sans Notch",
26124
+ "Stack Sans Text",
26125
+ "Stalemate",
26126
+ "Stalinist One",
26127
+ "Stardos Stencil",
26128
+ "Stick",
26129
+ "Stick No Bills",
26130
+ "Stint Ultra Condensed",
26131
+ "Stint Ultra Expanded",
26132
+ "STIX Two Math",
26133
+ "STIX Two Text",
26134
+ "Stoke",
26135
+ "Story Script",
26136
+ "Strait",
26137
+ "Strichpunkt Sans",
26138
+ "Style Script",
26139
+ "Stylish",
26140
+ "Sue Ellen Francisco",
26141
+ "Suez One",
26142
+ "Sulphur Point",
26143
+ "Sumana",
26144
+ "Sunflower",
26145
+ "Sunshiney",
26146
+ "Supermercado One",
26147
+ "Sura",
26148
+ "Suranna",
26149
+ "Suravaram",
26150
+ "SUSE",
26151
+ "SUSE Mono",
26152
+ "Suwannaphum",
26153
+ "Swanky and Moo Moo",
26154
+ "Syncopate",
26155
+ "Syne",
26156
+ "Syne Mono",
26157
+ "Syne Tactile",
26158
+ "Tac One",
26159
+ "Tagesschrift",
26160
+ "Tai Heritage Pro",
26161
+ "Tajawal",
26162
+ "Tangerine",
26163
+ "Tapestry",
26164
+ "Taprom",
26165
+ "TASA Explorer",
26166
+ "TASA Orbiter",
26167
+ "Tauri",
26168
+ "Taviraj",
26169
+ "Teachers",
26170
+ "Teko",
26171
+ "Tektur",
26172
+ "Telex",
26173
+ "Tenali Ramakrishna",
26174
+ "Tenor Sans",
26175
+ "Text Me One",
26176
+ "Texturina",
26177
+ "Thasadith",
26178
+ "The Girl Next Door",
26179
+ "The Nautigal",
26180
+ "Tienne",
26181
+ "TikTok Sans",
26182
+ "Tillana",
26183
+ "Tilt Neon",
26184
+ "Tilt Prism",
26185
+ "Tilt Warp",
26186
+ "Timmana",
26187
+ "Tinos",
26188
+ "Tiny5",
26189
+ "Tiro Bangla",
26190
+ "Tiro Devanagari Hindi",
26191
+ "Tiro Devanagari Marathi",
26192
+ "Tiro Devanagari Sanskrit",
26193
+ "Tiro Gurmukhi",
26194
+ "Tiro Kannada",
26195
+ "Tiro Tamil",
26196
+ "Tiro Telugu",
26197
+ "Tirra",
26198
+ "Titan One",
26199
+ "Titillium Web",
26200
+ "Tomorrow",
26201
+ "Tourney",
26202
+ "Trade Winds",
26203
+ "Train One",
26204
+ "Triodion",
26205
+ "Trirong",
26206
+ "Trispace",
26207
+ "Trocchi",
26208
+ "Trochut",
26209
+ "Truculenta",
26210
+ "Trykker",
26211
+ "Tsukimi Rounded",
26212
+ "Tuffy",
26213
+ "Tulpen One",
26214
+ "Turret Road",
26215
+ "Twinkle Star",
26216
+ "Ubuntu",
26217
+ "Ubuntu Condensed",
26218
+ "Ubuntu Mono",
26219
+ "Ubuntu Sans",
26220
+ "Ubuntu Sans Mono",
26221
+ "Uchen",
26222
+ "Ultra",
26223
+ "Unbounded",
26224
+ "Uncial Antiqua",
26225
+ "Underdog",
26226
+ "Unica One",
26227
+ "UnifrakturCook",
26228
+ "UnifrakturMaguntia",
26229
+ "Unkempt",
26230
+ "Unlock",
26231
+ "Unna",
26232
+ "UoqMunThenKhung",
26233
+ "Updock",
26234
+ "Urbanist",
26235
+ "Valley Sans",
26236
+ "Vampiro One",
26237
+ "Varela",
26238
+ "Varela Round",
26239
+ "Varta",
26240
+ "Vast Shadow",
26241
+ "Vazirmatn",
26242
+ "Vend Sans",
26243
+ "Vesper Libre",
26244
+ "Viaoda Libre",
26245
+ "Vibes",
26246
+ "Vibur",
26247
+ "Victor Mono",
26248
+ "Vidaloka",
26249
+ "Viga",
26250
+ "Vina Sans",
26251
+ "Voces",
26252
+ "Volkhov",
26253
+ "Vollkorn",
26254
+ "Vollkorn SC",
26255
+ "Voltaire",
26256
+ "VT323",
26257
+ "Vujahday Script",
26258
+ "Waiting for the Sunrise",
26259
+ "Wallpoet",
26260
+ "Walter Turncoat",
26261
+ "Warnes",
26262
+ "Water Brush",
26263
+ "Waterfall",
26264
+ "Wavefont",
26265
+ "WDXL Lubrifont JP N",
26266
+ "WDXL Lubrifont SC",
26267
+ "WDXL Lubrifont TC",
26268
+ "Wellfleet",
26269
+ "Wendy One",
26270
+ "Whisper",
26271
+ "WindSong",
26272
+ "Winky Rough",
26273
+ "Winky Sans",
26274
+ "Wire One",
26275
+ "Wittgenstein",
26276
+ "Wix Madefor Display",
26277
+ "Wix Madefor Text",
26278
+ "Work Sans",
26279
+ "Workbench",
26280
+ "Xanh Mono",
26281
+ "Yaldevi",
26282
+ "Yanone Kaffeesatz",
26283
+ "Yantramanav",
26284
+ "Yarndings 12",
26285
+ "Yarndings 12 Charted",
26286
+ "Yarndings 20",
26287
+ "Yarndings 20 Charted",
26288
+ "Yatra One",
26289
+ "Yellowtail",
26290
+ "Yeon Sung",
26291
+ "Yeseva One",
26292
+ "Yesteryear",
26293
+ "Yomogi",
26294
+ "Young Serif",
26295
+ "Yrsa",
26296
+ "Ysabeau",
26297
+ "Ysabeau Infant",
26298
+ "Ysabeau Office",
26299
+ "Ysabeau SC",
26300
+ "Yuji Boku",
26301
+ "Yuji Hentaigana Akari",
26302
+ "Yuji Hentaigana Akebono",
26303
+ "Yuji Mai",
26304
+ "Yuji Syuku",
26305
+ "Yusei Magic",
26306
+ "Yuyu",
26307
+ "Yuyu Short",
26308
+ "Zain",
26309
+ "Zalando Sans",
26310
+ "Zalando Sans Expanded",
26311
+ "Zalando Sans SemiExpanded",
26312
+ "ZCOOL KuaiLe",
26313
+ "ZCOOL QingKe HuangYou",
26314
+ "ZCOOL XiaoWei",
26315
+ "Zen Antique",
26316
+ "Zen Antique Soft",
26317
+ "Zen Dots",
26318
+ "Zen Kaku Gothic Antique",
26319
+ "Zen Kaku Gothic New",
26320
+ "Zen Kurenaido",
26321
+ "Zen Loop",
26322
+ "Zen Maru Gothic",
26323
+ "Zen Old Mincho",
26324
+ "Zen Tokyo Zoo",
26325
+ "Zeyada",
26326
+ "Zhi Mang Xing",
26327
+ "Zilla Slab",
26328
+ "Zilla Slab Highlight"
26329
+ ];
26330
+
26331
+ // text/webfonts/google-fonts-lookup.ts
26332
+ var catalogueIndex;
26333
+ function findGoogleFontsFamily(family) {
26334
+ if (!catalogueIndex) {
26335
+ catalogueIndex = new Map(GOOGLE_FONTS_FAMILIES.map((name2) => [normaliseFamily(name2), name2]));
26336
+ }
26337
+ return catalogueIndex.get(normaliseFamily(family)) ?? null;
26338
+ }
26339
+ function normaliseFamily(family) {
26340
+ return family.trim().replace(/\s+/gu, " ").toLowerCase();
26341
+ }
26342
+
26343
+ // text/webfonts/metric-clones.ts
26344
+ var METRIC_COMPATIBLE_CLONES = {
26345
+ Calibri: "Carlito",
26346
+ "Calibri Light": "Carlito",
26347
+ Cambria: "Caladea",
26348
+ Aptos: "Carlito",
26349
+ "Aptos Display": "Carlito",
26350
+ "Aptos Narrow": "Carlito",
26351
+ "Aptos Serif": "Caladea",
26352
+ Arial: "Arimo",
26353
+ "Arial Black": "Arimo",
26354
+ "Arial Narrow": "Arimo",
26355
+ Helvetica: "Arimo",
26356
+ "Helvetica Neue": "Arimo",
26357
+ "Times New Roman": "Tinos",
26358
+ "Courier New": "Cousine",
26359
+ Georgia: "Gelasio"
26360
+ };
26361
+ function findMetricCompatibleGoogleFontsFamily(family) {
26362
+ if (findGoogleFontsFamily(family) !== null) {
26363
+ return null;
26364
+ }
26365
+ const clone2 = METRIC_COMPATIBLE_CLONES[family.trim()];
26366
+ return clone2 ? findGoogleFontsFamily(clone2) : null;
26367
+ }
26368
+
26369
+ // text/webfonts/font-weight-names.ts
26370
+ var WEIGHT_TOKENS = /* @__PURE__ */ new Map([
26371
+ ["thin", 100],
26372
+ ["hairline", 100],
26373
+ ["extralight", 200],
26374
+ ["ultralight", 200],
26375
+ ["light", 300],
26376
+ ["regular", 400],
26377
+ ["normal", 400],
26378
+ ["book", 400],
26379
+ ["medium", 500],
26380
+ ["semibold", 600],
26381
+ ["demibold", 600],
26382
+ ["bold", 700],
26383
+ ["extrabold", 800],
26384
+ ["ultrabold", 800],
26385
+ ["black", 900],
26386
+ ["heavy", 900],
26387
+ ["extrablack", 900],
26388
+ ["ultrablack", 900]
26389
+ ]);
26390
+ var WEIGHT_PREFIXES = /* @__PURE__ */ new Set(["semi", "demi", "extra", "ultra"]);
26391
+ var STYLE_TOKENS = /* @__PURE__ */ new Set(["italic", "oblique"]);
26392
+ function parseFontWeightName(name2) {
26393
+ const tokens = name2.trim().split(/\s+/u);
26394
+ let weight;
26395
+ let consumed = 0;
26396
+ let end = tokens.length;
26397
+ let italic = false;
26398
+ if (end > 1 && STYLE_TOKENS.has(normaliseToken(tokens[end - 1]))) {
26399
+ end -= 1;
26400
+ consumed += 1;
26401
+ italic = true;
26402
+ }
26403
+ if (end > 1) {
26404
+ const last = normaliseToken(tokens[end - 1]);
26405
+ const prefix = end > 2 ? normaliseToken(tokens[end - 2]) : "";
26406
+ const joined = WEIGHT_PREFIXES.has(prefix) ? WEIGHT_TOKENS.get(prefix + last) : void 0;
26407
+ if (joined !== void 0) {
26408
+ weight = joined;
26409
+ end -= 2;
26410
+ consumed += 2;
26411
+ } else if (WEIGHT_TOKENS.has(last)) {
26412
+ weight = WEIGHT_TOKENS.get(last);
26413
+ end -= 1;
26414
+ consumed += 1;
26415
+ }
26416
+ }
26417
+ if (consumed === 0 || end < 1) {
26418
+ return null;
26419
+ }
26420
+ return { family: tokens.slice(0, end).join(" "), weight: weight ?? 400, italic };
26421
+ }
26422
+ function normaliseToken(token2) {
26423
+ return (token2 ?? "").toLowerCase().replace(/-/gu, "");
26424
+ }
26425
+ function resolveGoogleFontsFace(typeface2) {
26426
+ const exact = findGoogleFontsFamily(typeface2);
26427
+ if (exact !== null) {
26428
+ return { family: exact };
26429
+ }
26430
+ const parsed = parseFontWeightName(typeface2);
26431
+ if (!parsed) {
26432
+ return null;
26433
+ }
26434
+ const base = findGoogleFontsFamily(parsed.family);
26435
+ if (base === null) {
26436
+ return null;
26437
+ }
26438
+ return parsed.italic ? { family: base, weight: parsed.weight, italic: true } : { family: base, weight: parsed.weight };
26439
+ }
26440
+ var impliedStyleCache = /* @__PURE__ */ new Map();
26441
+ function impliedStyle(typeface2) {
26442
+ let cached = impliedStyleCache.get(typeface2);
26443
+ if (cached === void 0) {
26444
+ const face = resolveGoogleFontsFace(typeface2);
26445
+ cached = face?.weight === void 0 ? null : { weight: face.weight, italic: face.italic === true };
26446
+ impliedStyleCache.set(typeface2, cached);
26447
+ }
26448
+ return cached;
26449
+ }
26450
+ function primaryFamily(familyOrList) {
26451
+ const first2 = familyOrList.split(",")[0]?.trim() ?? "";
26452
+ const quoted = /^(["'])(.*)\1$/u.exec(first2);
26453
+ return quoted ? (quoted[2] ?? "").replace(/\\(.)/gu, "$1") : first2;
26454
+ }
26455
+ function resolveFontWeight(fontFamily, bold) {
26456
+ const implied = fontFamily ? impliedStyle(primaryFamily(fontFamily))?.weight : void 0;
26457
+ const regular = implied ?? 400;
26458
+ return bold ? Math.max(700, regular) : regular;
26459
+ }
26460
+ function fontWeightShorthand(fontFamily, bold) {
26461
+ const value = fontWeightAttribute(fontFamily, bold);
26462
+ return value === void 0 ? "" : `${value} `;
26463
+ }
26464
+ function fontWeightAttribute(fontFamily, bold) {
26465
+ const weight = resolveFontWeight(fontFamily, bold);
26466
+ if (weight === 400) {
26467
+ return void 0;
26468
+ }
26469
+ return weight === 700 ? "bold" : String(weight);
26470
+ }
26471
+ function resolveFontItalic(fontFamily, italic) {
26472
+ if (italic) {
26473
+ return true;
26474
+ }
26475
+ return fontFamily ? impliedStyle(primaryFamily(fontFamily))?.italic === true : false;
26476
+ }
26477
+ function fontStyleShorthand(fontFamily, italic) {
26478
+ return resolveFontItalic(fontFamily, italic) ? "italic " : "";
26479
+ }
26480
+
26481
+ // text/webfonts/google-fonts-request.ts
26482
+ var GOOGLE_FONTS_CSS2_BASE = "https://fonts.googleapis.com/css2";
26483
+ function normalizeGoogleFontsBaseUrl(baseUrl) {
26484
+ if (typeof baseUrl !== "string" || baseUrl.trim() === "") return null;
26485
+ let url;
26486
+ try {
26487
+ url = new URL(baseUrl.trim());
26488
+ } catch {
26489
+ return null;
26490
+ }
26491
+ if (url.protocol !== "http:" && url.protocol !== "https:") return null;
26492
+ if (url.username !== "" || url.password !== "" || url.search !== "" || url.hash !== "") {
26493
+ return null;
26494
+ }
26495
+ return url.href;
26496
+ }
26497
+ var warnedInvalidBaseUrls = /* @__PURE__ */ new Set();
26498
+ function resolveGoogleFontsCss2Base(option, whenUnset = GOOGLE_FONTS_CSS2_BASE, label = "pptx-viewer") {
26499
+ if (option === void 0) return whenUnset;
26500
+ if (option === false) return null;
26501
+ const raw2 = typeof option === "object" && option !== null ? option.baseUrl : void 0;
26502
+ const normalized = normalizeGoogleFontsBaseUrl(raw2);
26503
+ if (normalized === null && !warnedInvalidBaseUrls.has(String(raw2 ?? ""))) {
26504
+ warnedInvalidBaseUrls.add(String(raw2 ?? ""));
26505
+ console.warn(
26506
+ `[${label}] googleFonts.baseUrl must be an absolute http(s) URL without credentials, query or fragment; the Google Fonts fallback is disabled.`
26507
+ );
26508
+ }
26509
+ return normalized;
26510
+ }
26511
+ var GOOGLE_WEBFONT_AXIS = "ital,wght@0,400;0,700;1,400;1,700";
26512
+ var DISPLAY_PARAM = "display=swap";
26513
+ function selectGoogleWebfontFamilies(referenced, embedded, isLocallyInstalled) {
26514
+ const embeddedSet = new Set(embedded ?? []);
26515
+ const selected = [];
26516
+ for (const family of referenced) {
26517
+ if (embeddedSet.has(family) || isLocallyInstalled?.(family)) continue;
26518
+ selected.push(family);
26519
+ }
26520
+ return selected;
26521
+ }
26522
+ function buildGoogleFontsFragment(family, weights) {
26523
+ const sorted = [.../* @__PURE__ */ new Set([400, 700, ...weights ?? []])].sort((a2, b) => a2 - b);
26524
+ if (sorted.length === 2) return `${family}:${GOOGLE_WEBFONT_AXIS}`;
26525
+ const tuples = [0, 1].flatMap((ital) => sorted.map((weight) => `${ital},${weight}`));
26526
+ return `${family}:ital,wght@${tuples.join(";")}`;
26527
+ }
26528
+ function buildGoogleFontsHref(fragments, baseUrl = GOOGLE_FONTS_CSS2_BASE) {
26529
+ if (fragments.length === 0) return null;
26530
+ const query = fragments.map((fragment3) => `family=${encodeURIComponent(fragment3)}`).join("&");
26531
+ return `${baseUrl}?${query}&${DISPLAY_PARAM}`;
26532
+ }
26533
+ function servedGoogleFontsFamily(family) {
26534
+ return resolveGoogleFontsFace(family)?.family ?? findMetricCompatibleGoogleFontsFamily(family);
26535
+ }
26536
+ function matchGoogleWebfontFragments(families, onResolved) {
26537
+ const weightsByFamily = /* @__PURE__ */ new Map();
26538
+ for (const family of families) {
26539
+ const face = resolveGoogleFontsFace(family);
26540
+ const canonical = face?.family ?? findMetricCompatibleGoogleFontsFamily(family);
26541
+ if (canonical === null) continue;
26542
+ onResolved?.(family);
26543
+ let weights = weightsByFamily.get(canonical);
26544
+ if (!weights) {
26545
+ weights = /* @__PURE__ */ new Set();
26546
+ weightsByFamily.set(canonical, weights);
26547
+ }
26548
+ if (face?.weight !== void 0) {
26549
+ weights.add(face.weight);
26550
+ weights.add(Math.max(700, face.weight));
26551
+ }
26552
+ }
26553
+ return [...weightsByFamily].sort(([a2], [b]) => a2 < b ? -1 : a2 > b ? 1 : 0).map(([family, weights]) => buildGoogleFontsFragment(family, weights));
26554
+ }
26555
+
26556
+ // text/webfonts/webfont-faces.ts
26557
+ var MAX_SAMPLE_CHARS = 256;
26558
+ var quoteFamily = (family) => `"${family.replace(/[\\"]/gu, "\\$&")}"`;
26559
+ function collectRunFamilies(runs) {
26560
+ const families = /* @__PURE__ */ new Set();
26561
+ for (const run2 of runs) {
26562
+ const family = run2.family?.trim();
26563
+ if (family) families.add(family);
26564
+ }
26565
+ return families;
26566
+ }
26567
+ function collectWebfontFaces(runs, candidates) {
26568
+ const wanted = new Set(candidates);
26569
+ const unavailable = candidates.filter((family) => servedGoogleFontsFamily(family) === null);
26570
+ const faces = /* @__PURE__ */ new Map();
26571
+ const byFont = /* @__PURE__ */ new Map();
26572
+ for (const run2 of runs) {
26573
+ const family = run2.family?.trim();
26574
+ if (!family || !wanted.has(family)) continue;
26575
+ const served = servedGoogleFontsFamily(family);
26576
+ if (served === null) continue;
26577
+ const weight = resolveFontWeight(family, run2.bold);
26578
+ const style = resolveFontItalic(family, run2.italic) ? "italic " : "";
26579
+ const font = `${style}${weight} 16px ${quoteFamily(served)}`;
26580
+ let face = byFont.get(font);
26581
+ if (!face) {
26582
+ face = { family: served, font, chars: /* @__PURE__ */ new Set() };
26583
+ byFont.set(font, face);
26584
+ const list2 = faces.get(served);
26585
+ if (list2) list2.push(face);
26586
+ else faces.set(served, [face]);
26587
+ }
26588
+ for (const char of run2.text) {
26589
+ if (face.chars.size >= MAX_SAMPLE_CHARS) break;
26590
+ if (char.trim() !== "") face.chars.add(char);
26591
+ }
26592
+ }
26593
+ return { faces, unavailable };
26594
+ }
26595
+
24135
26596
  // i18n/index.ts
24136
26597
  var i18n_exports = {};
24137
26598
  __export(i18n_exports, {
@@ -25034,6 +27495,7 @@ __export(diagram_exports, {
25034
27495
  buildFabricatedQuickStyleXml: () => buildFabricatedQuickStyleXml,
25035
27496
  buildForest: () => buildForest,
25036
27497
  buildGeneratedDiagramCache: () => buildGeneratedDiagramCache,
27498
+ buildOutlinePathGradientSvg: () => buildOutlinePathGradientSvg,
25037
27499
  buildRectPathGradientExactSvg: () => buildRectPathGradientExactSvg,
25038
27500
  buildRectPathGradientImage: () => buildRectPathGradientImage,
25039
27501
  buildRectPathGradientSvg: () => buildRectPathGradientSvg,
@@ -25044,6 +27506,7 @@ __export(diagram_exports, {
25044
27506
  chooseAlgorithmOfType: () => chooseAlgorithmOfType,
25045
27507
  circleNode: () => circleNode,
25046
27508
  clampByRules: () => clampByRules,
27509
+ closedSubpaths: () => closedSubpaths,
25047
27510
  collectFoldedDescendants: () => collectFoldedDescendants,
25048
27511
  collectTransitionText: () => collectTransitionText,
25049
27512
  computeDiagramDrawingBounds: () => computeDiagramDrawingBounds,
@@ -25088,6 +27551,7 @@ __export(diagram_exports, {
25088
27551
  formatDiagramSource: () => formatDiagramSource,
25089
27552
  formatXsdDouble: () => formatXsdDouble,
25090
27553
  generatedDrawingDigest: () => generatedDrawingDigest,
27554
+ gradientColorAt: () => gradientColorAt,
25091
27555
  groupedChildren: () => groupedChildren,
25092
27556
  interpretSmartArtLayout: () => interpretSmartArtLayout,
25093
27557
  isDrawableDiagramShapeView: () => isDrawableDiagramShapeView,
@@ -25184,11 +27648,13 @@ __export(diagram_exports, {
25184
27648
  ruleAttributes: () => ruleAttributes,
25185
27649
  runEngineLayout: () => runEngineLayout,
25186
27650
  runSmartArtEngine: () => runSmartArtEngine,
27651
+ scalePathAbout: () => scalePathAbout,
25187
27652
  selectArrangedNodes: () => selectArrangedNodes,
25188
27653
  selectConstraints: () => selectConstraints,
25189
27654
  setDiagramNodeStyle: () => setDiagramNodeStyle,
25190
27655
  setDiagramNodeText: () => setDiagramNodeText,
25191
27656
  setDrawingFillXml: () => setDrawingFillXml,
27657
+ shapePathGradientField: () => shapePathGradientField,
25192
27658
  smartArtChildrenOf: () => smartArtChildrenOf,
25193
27659
  structuralChooseAlgDepth: () => structuralChooseAlgDepth,
25194
27660
  styleContext: () => styleContext,
@@ -25361,24 +27827,24 @@ function isSpace2(ch) {
25361
27827
  function parseAttributes(source2) {
25362
27828
  const attrs2 = {};
25363
27829
  let i2 = 0;
25364
- const n2 = source2.length;
25365
- while (i2 < n2) {
25366
- while (i2 < n2 && !isNameChar2(source2[i2])) {
27830
+ const n3 = source2.length;
27831
+ while (i2 < n3) {
27832
+ while (i2 < n3 && !isNameChar2(source2[i2])) {
25367
27833
  i2++;
25368
27834
  }
25369
27835
  const nameStart = i2;
25370
- while (i2 < n2 && isNameChar2(source2[i2])) {
27836
+ while (i2 < n3 && isNameChar2(source2[i2])) {
25371
27837
  i2++;
25372
27838
  }
25373
27839
  const name2 = source2.slice(nameStart, i2);
25374
- while (i2 < n2 && isSpace2(source2[i2])) {
27840
+ while (i2 < n3 && isSpace2(source2[i2])) {
25375
27841
  i2++;
25376
27842
  }
25377
27843
  if (!name2 || source2[i2] !== "=") {
25378
27844
  continue;
25379
27845
  }
25380
27846
  i2++;
25381
- while (i2 < n2 && isSpace2(source2[i2])) {
27847
+ while (i2 < n3 && isSpace2(source2[i2])) {
25382
27848
  i2++;
25383
27849
  }
25384
27850
  const quote = source2[i2];
@@ -26175,12 +28641,12 @@ function cmds(src) {
26175
28641
  let i2 = 0;
26176
28642
  while (i2 < tokens.length) {
26177
28643
  const op2 = tokens[i2++];
26178
- const n2 = ARITY2[op2];
26179
- if (n2 === void 0) {
28644
+ const n3 = ARITY2[op2];
28645
+ if (n3 === void 0) {
26180
28646
  throw new Error(`Unknown path op ${op2}`);
26181
28647
  }
26182
- const a2 = tokens.slice(i2, i2 + n2);
26183
- i2 += n2;
28648
+ const a2 = tokens.slice(i2, i2 + n3);
28649
+ i2 += n3;
26184
28650
  switch (op2) {
26185
28651
  case "M":
26186
28652
  out.push({ kind: "moveTo", x: a2[0], y: a2[1] });
@@ -26293,84 +28759,22 @@ var triangle = (g3, dir) => g3.poly([
26293
28759
  [D * dir, 0],
26294
28760
  [-D * dir, D]
26295
28761
  ]);
26296
- var QUESTION = [
26297
- [-4.8, -33.7],
26298
- [-6.3, -31.5],
26299
- [-7.8, -31.5],
26300
- [-12.3, -28.5],
26301
- [-14.5, -28.5],
26302
- [-15.3, -27.7],
26303
- [-15.3, -25.5],
26304
- [-18.3, -21],
26305
- [-19, -17.2],
26306
- [-20.5, -16.5],
26307
- [-20.5, -12.7],
26308
- [-19, -12.7],
26309
- [-18.3, -14.2],
26310
- [-10.8, -14.2],
26311
- [-10, -13.5],
26312
- [-8.5, -13.5],
26313
- [-9.3, -17.2],
26314
- [-7.8, -19.5],
26315
- [-4, -22.5],
26316
- [-3.3, -21.7],
26317
- [-1.8, -21.7],
26318
- [-1, -23.2],
26319
- [0.5, -23.2],
26320
- [1.2, -21.7],
26321
- [2.7, -21.7],
26322
- [3.5, -22.5],
26323
- [8, -18.7],
26324
- [8.7, -17.2],
26325
- [8, -16.5],
26326
- [8, -15],
26327
- [9.5, -14.2],
26328
- [9.5, -13.5],
26329
- [8, -12.7],
26330
- [8.7, -9.7],
26331
- [5, -6],
26332
- [2, -6],
26333
- [-2.5, -2.2],
26334
- [-3.3, 0.8],
26335
- [-5.5, 2.3],
26336
- [-4.8, 6.8],
26337
- [-6.3, 7.5],
26338
- [-6.3, 18],
26339
- [-4.8, 18],
26340
- [-4, 17.3],
26341
- [4.2, 17.3],
26342
- [4.2, 6.8],
26343
- [6.5, 5.3],
26344
- [6.5, 3.8],
26345
- [8, 3],
26346
- [8, 1.5],
26347
- [8.7, 0.8],
26348
- [13.2, 0],
26349
- [17, -4.5],
26350
- [18.5, -4.5],
26351
- [18.5, -6],
26352
- [17.7, -6.7],
26353
- [18.5, -8.2],
26354
- [18.5, -15],
26355
- [20, -15.7],
26356
- [20, -18],
26357
- [17.7, -19.5],
26358
- [17.7, -21],
26359
- [15.5, -24.7],
26360
- [15.5, -27],
26361
- [14, -27],
26362
- [13.2, -27.7],
26363
- [13.2, -29.2],
26364
- [9.5, -30],
26365
- [8.7, -30.7],
26366
- [8.7, -32.2],
26367
- [5.7, -31.5],
26368
- [4.2, -33.7],
26369
- [2.7, -33.7],
26370
- [2, -32.2],
26371
- [-2.5, -32.2],
26372
- [-3.3, -33.7]
26373
- ];
28762
+ var U = 90;
28763
+ var question = (g3) => {
28764
+ const x = (v) => g3.x(v * U);
28765
+ const y = (v) => g3.y(v * U);
28766
+ const r = (v) => g3.len(v * U);
28767
+ return [
28768
+ `M ${x(-0.214)} ${y(-0.162)} A ${r(0.214)} ${r(0.2125)} 10800000 10800000`,
28769
+ `A ${r(0.108)} ${r(0.162)} 0 5400000`,
28770
+ `A ${r(0.053)} ${r(0.085)} 16200000 -5400000`,
28771
+ `L ${x(0.053)} ${y(0.187)} L ${x(-0.053)} ${y(0.187)} L ${x(-0.053)} ${y(0.08)}`,
28772
+ `A ${r(0.108)} ${r(0.16)} 10800000 5400000`,
28773
+ `A ${r(0.052)} ${r(0.082)} 5400000 -5400000`,
28774
+ `A ${r(0.107)} ${r(0.1065)} 0 -10800000`,
28775
+ `L ${x(-0.214)} ${y(-0.162)} Z`
28776
+ ].join(" ");
28777
+ };
26374
28778
  var MOVIE = [
26375
28779
  [-33.75, -16.5],
26376
28780
  [-33.75, -3],
@@ -26477,8 +28881,8 @@ var buttons = {
26477
28881
  )
26478
28882
  ]),
26479
28883
  actionButtonHelp: build("actionButtonHelp", (g3) => [
26480
- darken(g3.poly(QUESTION)),
26481
- darken(g3.circle(-0.2, 27.4, 7))
28884
+ darken(question(g3)),
28885
+ darken(g3.circle(0, 0.295 * U, 0.08 * U))
26482
28886
  ]),
26483
28887
  actionButtonInformation: build("actionButtonInformation", (g3) => [
26484
28888
  darken(g3.circle(0, 0.4, 34)),
@@ -29801,12 +32205,46 @@ var leftRightUpArrow2 = exactDef(
29801
32205
  )
29802
32206
  ]
29803
32207
  );
32208
+ var swooshArrow3 = exactDef(
32209
+ "swooshArrow",
32210
+ { adj1: 25e3, adj2: 16667 },
32211
+ [
32212
+ "a1 pin 1 adj1 75000",
32213
+ "maxAdj2 */ 70000 w ss",
32214
+ "a2 pin 0 adj2 maxAdj2",
32215
+ "ad1 */ h a1 100000",
32216
+ "ad2 */ ss a2 100000",
32217
+ "xB +- r 0 ad2",
32218
+ "yB +- t ssd8 0",
32219
+ "alfa */ cd4 1 14",
32220
+ "dx0 tan ssd8 alfa",
32221
+ "xC +- xB 0 dx0",
32222
+ "dx1 tan ad1 alfa",
32223
+ "yF +- yB ad1 0",
32224
+ "xF +- xB dx1 0",
32225
+ "xE +- xF dx0 0",
32226
+ "yE +- yF ssd8 0",
32227
+ "dy2 +- yE 0 t",
32228
+ "dy22 */ dy2 1 2",
32229
+ "dy3 */ h 1 20",
32230
+ "yD +- dy22 0 dy3",
32231
+ "dy4 */ hd6 1 1",
32232
+ "yP1 +- hd6 dy4 0",
32233
+ "xP1 val wd6",
32234
+ "dy5 */ hd6 1 2",
32235
+ "yP2 +- yF dy5 0",
32236
+ "xP2 val wd4"
32237
+ ],
32238
+ "l t r b",
32239
+ [p("M l b Q xP1 yP1 xB yB L xC t L r yD L xE yE L xF yF Q xP2 yP2 l b Z")]
32240
+ );
29804
32241
  var EXACT_ARROW_PRESET_DEFINITIONS = {
29805
32242
  leftRightArrow: leftRightArrow2,
29806
32243
  upDownArrow: upDownArrow2,
29807
32244
  quadArrow: quadArrow2,
29808
32245
  leftUpArrow: leftUpArrow2,
29809
- leftRightUpArrow: leftRightUpArrow2
32246
+ leftRightUpArrow: leftRightUpArrow2,
32247
+ swooshArrow: swooshArrow3
29810
32248
  };
29811
32249
 
29812
32250
  // geometry/preset-shape-definitions-exact-circular.ts
@@ -29828,32 +32266,32 @@ function onEllipse(name2, rw, rh, ang) {
29828
32266
  `${name2}y +- vc ${name2}dy 0`
29829
32267
  ];
29830
32268
  }
29831
- function head(n2, baseAng, tipAng) {
32269
+ function head(n3, baseAng, tipAng) {
29832
32270
  const out = [
29833
- ...onEllipse(`${n2}H`, "rw3", "rh3", baseAng),
29834
- ...onEllipse(`${n2}A`, "rw3", "rh3", tipAng),
29835
- `${n2}Gdx cos thh ${tipAng}`,
29836
- `${n2}Gdy sin thh ${tipAng}`,
29837
- `${n2}Gx +- ${n2}Hx ${n2}Gdx 0`,
29838
- `${n2}Gy +- ${n2}Hy ${n2}Gdy 0`,
29839
- `${n2}Bx +- ${n2}Hx 0 ${n2}Gdx`,
29840
- `${n2}By +- ${n2}Hy 0 ${n2}Gdy`,
29841
- `${n2}sx1 +- ${n2}Bx 0 hc`,
29842
- `${n2}sy1 +- ${n2}By 0 vc`,
29843
- `${n2}sx2 +- ${n2}Gx 0 hc`,
29844
- `${n2}sy2 +- ${n2}Gy 0 vc`
32271
+ ...onEllipse(`${n3}H`, "rw3", "rh3", baseAng),
32272
+ ...onEllipse(`${n3}A`, "rw3", "rh3", tipAng),
32273
+ `${n3}Gdx cos thh ${tipAng}`,
32274
+ `${n3}Gdy sin thh ${tipAng}`,
32275
+ `${n3}Gx +- ${n3}Hx ${n3}Gdx 0`,
32276
+ `${n3}Gy +- ${n3}Hy ${n3}Gdy 0`,
32277
+ `${n3}Bx +- ${n3}Hx 0 ${n3}Gdx`,
32278
+ `${n3}By +- ${n3}Hy 0 ${n3}Gdy`,
32279
+ `${n3}sx1 +- ${n3}Bx 0 hc`,
32280
+ `${n3}sy1 +- ${n3}By 0 vc`,
32281
+ `${n3}sx2 +- ${n3}Gx 0 hc`,
32282
+ `${n3}sy2 +- ${n3}Gy 0 vc`
29845
32283
  ];
29846
32284
  for (const [k, rw, rh] of [
29847
32285
  ["F", "rw1", "rh1"],
29848
32286
  ["D", "rw2", "rh2"]
29849
32287
  ]) {
29850
- const m = `${n2}${k}`;
32288
+ const m = `${n3}${k}`;
29851
32289
  out.push(
29852
32290
  `${m}r min ${rw} ${rh}`,
29853
- `${m}x1 */ ${n2}sx1 ${m}r ${rw}`,
29854
- `${m}y1 */ ${n2}sy1 ${m}r ${rh}`,
29855
- `${m}x2 */ ${n2}sx2 ${m}r ${rw}`,
29856
- `${m}y2 */ ${n2}sy2 ${m}r ${rh}`,
32291
+ `${m}x1 */ ${n3}sx1 ${m}r ${rw}`,
32292
+ `${m}y1 */ ${n3}sy1 ${m}r ${rh}`,
32293
+ `${m}x2 */ ${n3}sx2 ${m}r ${rw}`,
32294
+ `${m}y2 */ ${n3}sy2 ${m}r ${rh}`,
29857
32295
  `${m}ex +- ${m}x2 0 ${m}x1`,
29858
32296
  `${m}ey +- ${m}y2 0 ${m}y1`,
29859
32297
  `${m}len mod ${m}ex ${m}ey 0`,
@@ -29907,7 +32345,7 @@ var BASE = [
29907
32345
  "tAng at2 rI tq",
29908
32346
  "hAng at2 Hdx Hdy"
29909
32347
  ];
29910
- var headPath = (n2) => `L ${n2}Gx ${n2}Gy L ${n2}Ax ${n2}Ay L ${n2}Bx ${n2}By L ${n2}DX ${n2}DY`;
32348
+ var headPath = (n3) => `L ${n3}Gx ${n3}Gy L ${n3}Ax ${n3}Ay L ${n3}Bx ${n3}By L ${n3}DX ${n3}DY`;
29911
32349
  var circularArrow3 = exactDef(
29912
32350
  "circularArrow",
29913
32351
  { adj1: 12500, adj2: 1142319, adj3: 20457681, adj4: 108e5, adj5: 12500 },
@@ -30526,19 +32964,19 @@ var EXACT_MISC_PRESET_DEFINITIONS = {
30526
32964
  };
30527
32965
 
30528
32966
  // geometry/preset-shape-definitions-exact-funnel.ts
30529
- function newton(m, n2) {
32967
+ function newton(m, n3) {
30530
32968
  return [
30531
- `${n2}b1 */ ${m} b1 1`,
30532
- `${n2}b2 */ ${m} b2 1`,
30533
- `${n2}s1 mod a1 ${n2}b1 0`,
30534
- `${n2}s2 mod a2 ${n2}b2 0`,
30535
- `${n2}m1 */ ${m} dY 1`,
30536
- `${n2}f0 +- ${n2}m1 ${n2}s2 ${n2}s1`,
30537
- `${n2}t1 */ ${n2}b1 b1 ${n2}s1`,
30538
- `${n2}t2 */ ${n2}b2 b2 ${n2}s2`,
30539
- `${n2}d0 +- dY ${n2}t2 ${n2}t1`,
30540
- `${n2}d1 */ ${n2}f0 1 ${n2}d0`,
30541
- `${n2} +- ${m} 0 ${n2}d1`
32969
+ `${n3}b1 */ ${m} b1 1`,
32970
+ `${n3}b2 */ ${m} b2 1`,
32971
+ `${n3}s1 mod a1 ${n3}b1 0`,
32972
+ `${n3}s2 mod a2 ${n3}b2 0`,
32973
+ `${n3}m1 */ ${m} dY 1`,
32974
+ `${n3}f0 +- ${n3}m1 ${n3}s2 ${n3}s1`,
32975
+ `${n3}t1 */ ${n3}b1 b1 ${n3}s1`,
32976
+ `${n3}t2 */ ${n3}b2 b2 ${n3}s2`,
32977
+ `${n3}d0 +- dY ${n3}t2 ${n3}t1`,
32978
+ `${n3}d1 */ ${n3}f0 1 ${n3}d0`,
32979
+ `${n3} +- ${m} 0 ${n3}d1`
30542
32980
  ];
30543
32981
  }
30544
32982
  var STEPS = ["mA", "mB", "mC", "mD", "mE", "mF"];
@@ -30555,7 +32993,7 @@ var funnel = exactDef(
30555
32993
  "a1m +- a1 0 a2",
30556
32994
  "m0 */ a1m 1 dY",
30557
32995
  ...newton("m0", "mA"),
30558
- ...STEPS.slice(1).flatMap((n2, i2) => newton(STEPS[i2], n2)),
32996
+ ...STEPS.slice(1).flatMap((n3, i2) => newton(STEPS[i2], n3)),
30559
32997
  "mb1 */ mF b1 1",
30560
32998
  "mb2 */ mF b2 1",
30561
32999
  "phi1 at2 a1 mb1",
@@ -30612,10 +33050,13 @@ var verticalScroll = exactDef(
30612
33050
  p(
30613
33051
  "M ch ch2 A ch2 ch2 10800000 5400000 L x6 t A ch2 ch2 16200000 10800000 L x4 ch L x4 y4 A ch2 ch2 0 5400000 L ch2 b A ch2 ch2 5400000 10800000 L ch y3 Z"
30614
33052
  ),
30615
- p("M l y4 A ch2 ch2 10800000 21600000 Z M xsw cy3 A ch4 ch4 0 21600000 Z", {
30616
- fill: "darkenLess",
30617
- stroke: false
30618
- }),
33053
+ p(
33054
+ "M ch y4 A ch2 ch2 0 5400000 A ch2 ch2 5400000 10800000 A ch4 ch4 16200000 10800000 Z M x3b ch2 A ch2 ch2 0 5400000 A ch4 ch4 5400000 10800000 Z",
33055
+ {
33056
+ fill: "darkenLess",
33057
+ stroke: false
33058
+ }
33059
+ ),
30619
33060
  p(
30620
33061
  "M x3 t A ch2 ch2 16200000 10800000 L x4 ch M ch2 y4 L ch y4 M x3b ch2 L x3 ch2 A ch4 ch4 16200000 -10800000",
30621
33062
  { fill: "none" }
@@ -30631,10 +33072,13 @@ var horizontalScroll = exactDef(
30631
33072
  p(
30632
33073
  "M ch2 ch A ch2 ch2 16200000 -5400000 L l x6 A ch2 ch2 10800000 -10800000 L ch x4 L y4 x4 A ch2 ch2 5400000 -5400000 L r ch2 A ch2 ch2 0 -10800000 L y3 ch Z"
30633
33074
  ),
30634
- p("M y4 t A ch2 ch2 16200000 21600000 Z M ch cyw A ch4 ch4 0 21600000 Z", {
30635
- fill: "darkenLess",
30636
- stroke: false
30637
- }),
33075
+ p(
33076
+ "M y4 ch A ch2 ch2 5400000 -5400000 A ch2 ch2 0 -10800000 A ch4 ch4 10800000 -10800000 Z M ch2 x3b A ch2 ch2 5400000 -5400000 A ch4 ch4 0 -10800000 Z",
33077
+ {
33078
+ fill: "darkenLess",
33079
+ stroke: false
33080
+ }
33081
+ ),
30638
33082
  p(
30639
33083
  "M l x3 A ch2 ch2 10800000 -10800000 L ch x4 M y4 ch2 L y4 ch M ch2 x3b L ch2 x3 A ch4 ch4 10800000 10800000",
30640
33084
  { fill: "none" }
@@ -30690,11 +33134,11 @@ var EXACT_LEFT_RIGHT_RIBBON_PRESET_DEFINITIONS = { leftRightRibbon };
30690
33134
 
30691
33135
  // geometry/preset-shape-definitions-exact-ellipse-ribbons.ts
30692
33136
  var AV = { adj1: 25e3, adj2: 5e4, adj3: 12500 };
30693
- function para(n2, x) {
30694
- return [`${n2}q */ ${x} ${x} w`, `${n2}r +- ${x} 0 ${n2}q`, `${n2} */ f1 ${n2}r 1`];
33137
+ function para(n3, x) {
33138
+ return [`${n3}q */ ${x} ${x} w`, `${n3}r +- ${x} 0 ${n3}q`, `${n3} */ f1 ${n3}r 1`];
30695
33139
  }
30696
33140
  function build2(name2, flip) {
30697
- const y = (n2, off) => flip ? `${n2} +- b 0 ${off}` : `${n2} +- t ${off} 0`;
33141
+ const y = (n3, off) => flip ? `${n3} +- b 0 ${off}` : `${n3} +- t ${off} 0`;
30698
33142
  const gd17 = [
30699
33143
  "a1 pin 0 adj1 100000",
30700
33144
  "a2 pin 25000 adj2 75000",
@@ -31827,8 +34271,8 @@ function ray(baseX1, baseY1, baseX2, baseY2, apexX, apexY) {
31827
34271
  ]
31828
34272
  };
31829
34273
  }
31830
- function starTrigTable(n2) {
31831
- const total = n2 * 2;
34274
+ function starTrigTable(n3) {
34275
+ const total = n3 * 2;
31832
34276
  const step = Math.PI * 2 / total;
31833
34277
  const start = -Math.PI / 2;
31834
34278
  const result = [];
@@ -31841,8 +34285,8 @@ function starTrigTable(n2) {
31841
34285
  }
31842
34286
  return result;
31843
34287
  }
31844
- function buildStarN(n2, defaultAdj, hf, vf) {
31845
- const trig = starTrigTable(n2);
34288
+ function buildStarN(n3, defaultAdj, hf, vf) {
34289
+ const trig = starTrigTable(n3);
31846
34290
  const gdLst = [
31847
34291
  gd9("a", `pin 0 adj 50000`),
31848
34292
  gd9("swd2", hf === void 0 ? "*/ wd2 1 1" : "*/ wd2 hf 100000"),
@@ -31867,7 +34311,7 @@ function buildStarN(n2, defaultAdj, hf, vf) {
31867
34311
  }
31868
34312
  commands.push({ kind: "close" });
31869
34313
  return {
31870
- name: `star${n2}`,
34314
+ name: `star${n3}`,
31871
34315
  avLst: {
31872
34316
  adj: defaultAdj,
31873
34317
  ...hf === void 0 ? {} : { hf },
@@ -38540,7 +40984,7 @@ function fontRule(node) {
38540
40984
  }
38541
40985
  function hasFontLength(node) {
38542
40986
  return flattenEngineTree(node).some(
38543
- (n2) => n2.constraints.some((c2) => LENGTHS.has(c2.type) && FONT_TYPES.has(c2.refType))
40987
+ (n3) => n3.constraints.some((c2) => LENGTHS.has(c2.type) && FONT_TYPES.has(c2.refType))
38544
40988
  );
38545
40989
  }
38546
40990
  function fontSearchPlan(node) {
@@ -38572,17 +41016,17 @@ function fits(node, context) {
38572
41016
  if (!box) {
38573
41017
  return true;
38574
41018
  }
38575
- for (const n2 of flattenEngineTree(node)) {
38576
- const b = n2.box;
38577
- if (!b || n2.alg.type === "conn" || !(b.w > 0) || !(b.h > 0)) {
41019
+ for (const n3 of flattenEngineTree(node)) {
41020
+ const b = n3.box;
41021
+ if (!b || n3.alg.type === "conn" || !(b.w > 0) || !(b.h > 0)) {
38578
41022
  continue;
38579
41023
  }
38580
41024
  if (b.x < box.x - SPILL_TOLERANCE_PT || b.y < box.y - SPILL_TOLERANCE_PT || b.x + b.w > box.x + box.w + SPILL_TOLERANCE_PT || b.y + b.h > box.y + box.h + SPILL_TOLERANCE_PT) {
38581
41025
  return false;
38582
41026
  }
38583
- const font = layoutFontOf(n2);
38584
- const text3 = font === void 0 ? void 0 : context.textOf(n2);
38585
- if (font !== void 0 && text3 && !textFitsAt(n2, text3, font, context.metrics, layoutFontOf)) {
41027
+ const font = layoutFontOf(n3);
41028
+ const text3 = font === void 0 ? void 0 : context.textOf(n3);
41029
+ if (font !== void 0 && text3 && !textFitsAt(n3, text3, font, context.metrics, layoutFontOf)) {
38586
41030
  return false;
38587
41031
  }
38588
41032
  }
@@ -38590,14 +41034,14 @@ function fits(node, context) {
38590
41034
  }
38591
41035
  function recordGrowth(node) {
38592
41036
  const nodes = flattenEngineTree(node);
38593
- for (const n2 of nodes) {
38594
- const grown2 = n2.box?.h;
38595
- if (grown2 !== void 0 && canGrow(n2, "h") && grown2 > (n2.growFloor?.h ?? -Infinity)) {
38596
- n2.growFloor = { ...n2.growFloor, h: grown2 };
41037
+ for (const n3 of nodes) {
41038
+ const grown2 = n3.box?.h;
41039
+ if (grown2 !== void 0 && canGrow(n3, "h") && grown2 > (n3.growFloor?.h ?? -Infinity)) {
41040
+ n3.growFloor = { ...n3.growFloor, h: grown2 };
38597
41041
  }
38598
41042
  }
38599
- for (const n2 of nodes) {
38600
- for (const group2 of n2.groups) {
41043
+ for (const n3 of nodes) {
41044
+ for (const group2 of n3.groups) {
38601
41045
  if (group2.type !== "h" && group2.type !== "w") {
38602
41046
  continue;
38603
41047
  }
@@ -38614,11 +41058,11 @@ function recordGrowth(node) {
38614
41058
  }
38615
41059
  }
38616
41060
  function resetCandidate(node) {
38617
- for (const n2 of flattenEngineTree(node)) {
38618
- n2.growFloor = void 0;
38619
- if (n2 !== node) {
38620
- n2.minValues.clear();
38621
- n2.maxValues.clear();
41061
+ for (const n3 of flattenEngineTree(node)) {
41062
+ n3.growFloor = void 0;
41063
+ if (n3 !== node) {
41064
+ n3.minValues.clear();
41065
+ n3.maxValues.clear();
38622
41066
  }
38623
41067
  }
38624
41068
  }
@@ -39386,10 +41830,10 @@ function arrangeCycle(node) {
39386
41830
  }
39387
41831
  const params = node.alg.params;
39388
41832
  const hub = params.ctrShpMap === "fNode" ? groups.shift() : void 0;
39389
- const n2 = groups.length;
41833
+ const n3 = groups.length;
39390
41834
  const cx0 = box.x + box.w / 2;
39391
41835
  const cy0 = box.y + box.h / 2;
39392
- if (n2 === 0) {
41836
+ if (n3 === 0) {
39393
41837
  if (hub) {
39394
41838
  placeGroup(hub, box.x, box.y, box.w, box.h);
39395
41839
  }
@@ -39402,7 +41846,7 @@ function arrangeCycle(node) {
39402
41846
  const parsedSpan = Number(params.spanAng);
39403
41847
  const spanAng = Number.isFinite(parsedSpan) ? parsedSpan : 360;
39404
41848
  const rotPath = params.rotPath === "alongPath";
39405
- if (n2 === 1) {
41849
+ if (n3 === 1) {
39406
41850
  const w0 = box.w;
39407
41851
  const h0 = Math.min(box.h, box.w * heightOverWidth);
39408
41852
  placeGroupCentered(groups[0], cx0, cy0, w0, h0);
@@ -39416,7 +41860,7 @@ function arrangeCycle(node) {
39416
41860
  return;
39417
41861
  }
39418
41862
  const full = Math.abs(spanAng) >= 360;
39419
- const step = full ? spanAng / n2 : spanAng / (n2 - 1);
41863
+ const step = full ? spanAng / n3 : spanAng / (n3 - 1);
39420
41864
  const halfStepRad = Math.abs(step) * DEG_TO_RAD / 2;
39421
41865
  const sinHalf = Math.sin(halfStepRad);
39422
41866
  const r0 = sinHalf > 1e-6 ? (1 + gap) / (2 * sinHalf) : 0;
@@ -39955,8 +42399,8 @@ function sanitizeLvlNode(lvlNode) {
39955
42399
  function arrangePyra(node) {
39956
42400
  const box = node.box;
39957
42401
  const children2 = contentChildren(node);
39958
- const n2 = children2.length;
39959
- if (!box || n2 === 0) {
42402
+ const n3 = children2.length;
42403
+ if (!box || n3 === 0) {
39960
42404
  return;
39961
42405
  }
39962
42406
  const lvlNodeName = node.alg.params.pyraLvlNode ?? "level";
@@ -39968,12 +42412,12 @@ function arrangePyra(node) {
39968
42412
  }
39969
42413
  const inverted = node.alg.params.linDir === "fromT";
39970
42414
  const gap = Math.max(0, node.values.get("sibSp") ?? node.values.get("sp") ?? 0);
39971
- const bandH = Math.max(0, (box.h - gap * (n2 - 1)) / n2);
42415
+ const bandH = Math.max(0, (box.h - gap * (n3 - 1)) / n3);
39972
42416
  const bandCx = box.x + box.w / 2;
39973
42417
  children2.forEach((child6, i2) => {
39974
42418
  const top = box.y + i2 * (bandH + gap);
39975
- const effectiveI = inverted ? n2 - 1 - i2 : i2;
39976
- const halfWide = box.w * (effectiveI + 1) / n2 / 2;
42419
+ const effectiveI = inverted ? n3 - 1 - i2 : i2;
42420
+ const halfWide = box.w * (effectiveI + 1) / n3 / 2;
39977
42421
  child6.box = { x: bandCx - halfWide, y: top, w: halfWide * 2, h: bandH };
39978
42422
  });
39979
42423
  }
@@ -39991,7 +42435,7 @@ function applyPyraAccentSplit(node) {
39991
42435
  const txName = node.alg.params.pyraAcctTxNode ?? "acctTx";
39992
42436
  const inverted = node.alg.params.linDir === "fromT";
39993
42437
  const items = contentChildren(node);
39994
- const n2 = items.length;
42438
+ const n3 = items.length;
39995
42439
  const bandCx = box.x + box.w / 2;
39996
42440
  items.forEach((item2, i2) => {
39997
42441
  const itemBox = item2.box;
@@ -40019,8 +42463,8 @@ function applyPyraAccentSplit(node) {
40019
42463
  h: descendant.box.h
40020
42464
  };
40021
42465
  }
40022
- const effectiveI = inverted ? n2 - 1 - i2 : i2;
40023
- const halfNarrow = box.w * effectiveI / n2 / 2;
42466
+ const effectiveI = inverted ? n3 - 1 - i2 : i2;
42467
+ const halfNarrow = box.w * effectiveI / n3 / 2;
40024
42468
  const accentLeft = scaleFromAnchor(bandCx + halfNarrow, box.x, scale);
40025
42469
  const accentRight = box.x + box.w;
40026
42470
  for (const root of accentRoots) {
@@ -40090,8 +42534,8 @@ function measure3(node, box, cells, spacer, row2) {
40090
42534
  );
40091
42535
  return { cellW, cellH, along, across, cols };
40092
42536
  }
40093
- function fits2(fit2, n2, box, row2) {
40094
- const lines2 = Math.ceil(n2 / fit2.cols);
42537
+ function fits2(fit2, n3, box, row2) {
42538
+ const lines2 = Math.ceil(n3 / fit2.cols);
40095
42539
  const lineLen = fit2.cols * (row2 ? fit2.cellW : fit2.cellH) + (fit2.cols - 1) * fit2.along;
40096
42540
  const across = lines2 * (row2 ? fit2.cellH : fit2.cellW) + (lines2 - 1) * fit2.across;
40097
42541
  return row2 ? lineLen <= box.w + 1e-6 && across <= box.h + 1e-6 : lineLen <= box.h + 1e-6 && across <= box.w + 1e-6;
@@ -40171,19 +42615,19 @@ function gridSize(dims, m, row2) {
40171
42615
  const acrossLen = lines2 * (row2 ? m.cellH : m.cellW) + (lines2 - 1) * m.across;
40172
42616
  return row2 ? { w: alongLen, h: acrossLen } : { w: acrossLen, h: alongLen };
40173
42617
  }
40174
- function dimsFor(lineLen, n2, row2) {
40175
- const lines2 = Math.max(1, Math.ceil(n2 / lineLen));
42618
+ function dimsFor(lineLen, n3, row2) {
42619
+ const lines2 = Math.max(1, Math.ceil(n3 / lineLen));
40176
42620
  return row2 ? { cols: lineLen, rows: lines2 } : { cols: lines2, rows: lineLen };
40177
42621
  }
40178
- function chooseDims(node, n2, m, box, row2) {
42622
+ function chooseDims(node, n3, m, box, row2) {
40179
42623
  const fixed = node.values.get("bkPtFixedVal") ?? Number(node.alg.params.bkPtFixedVal);
40180
42624
  if (node.alg.params.bkpt === "fixed" && Number.isFinite(fixed) && fixed > 0) {
40181
- return dimsFor(Math.min(n2, Math.round(fixed)), n2, row2);
42625
+ return dimsFor(Math.min(n3, Math.round(fixed)), n3, row2);
40182
42626
  }
40183
- let best = dimsFor(n2, n2, row2);
42627
+ let best = dimsFor(n3, n3, row2);
40184
42628
  let bestScale = -Infinity;
40185
- for (let lineLen = n2; lineLen >= 1; lineLen--) {
40186
- const dims = dimsFor(lineLen, n2, row2);
42629
+ for (let lineLen = n3; lineLen >= 1; lineLen--) {
42630
+ const dims = dimsFor(lineLen, n3, row2);
40187
42631
  const size = gridSize(dims, m, row2);
40188
42632
  const scale = Math.min(box.w / Math.max(1e-9, size.w), box.h / Math.max(1e-9, size.h));
40189
42633
  if (scale > bestScale + 1e-9) {
@@ -40193,7 +42637,7 @@ function chooseDims(node, n2, m, box, row2) {
40193
42637
  }
40194
42638
  if (node.alg.params.bkpt === "bal") {
40195
42639
  const lines2 = row2 ? best.rows : best.cols;
40196
- return dimsFor(Math.ceil(n2 / lines2), n2, row2);
42640
+ return dimsFor(Math.ceil(n3 / lines2), n3, row2);
40197
42641
  }
40198
42642
  return best;
40199
42643
  }
@@ -40220,8 +42664,8 @@ function arrangeSnake(node) {
40220
42664
  if (!(m.cellW > 0) || !(m.cellH > 0)) {
40221
42665
  return;
40222
42666
  }
40223
- const n2 = cells.length;
40224
- const dims = ruled ? dimsFor(ruled.cols, n2, row2) : chooseDims(node, n2, m, box, row2);
42667
+ const n3 = cells.length;
42668
+ const dims = ruled ? dimsFor(ruled.cols, n3, row2) : chooseDims(node, n3, m, box, row2);
40225
42669
  const size = gridSize(dims, m, row2);
40226
42670
  const scale = Math.min(1, box.w / size.w, box.h / size.h);
40227
42671
  const cw = m.cellW * scale;
@@ -40237,7 +42681,7 @@ function arrangeSnake(node) {
40237
42681
  const reverseAlternate = params.contDir === "revDir";
40238
42682
  cells.forEach((cell2, i2) => {
40239
42683
  const line4 = Math.floor(i2 / lineLen);
40240
- const inLine = Math.min(lineLen, n2 - line4 * lineLen);
42684
+ const inLine = Math.min(lineLen, n3 - line4 * lineLen);
40241
42685
  const reversedLine = reverseAlternate && line4 % 2 === 1;
40242
42686
  const pos = reversedLine ? lineLen - 1 - i2 % lineLen : i2 % lineLen;
40243
42687
  const centre = params.off === "ctr" ? (lineLen - inLine) / 2 : 0;
@@ -40537,9 +42981,9 @@ function allNodes(entries) {
40537
42981
  roots2.add(top);
40538
42982
  }
40539
42983
  const out = [];
40540
- const visit = (n2) => {
40541
- out.push(n2);
40542
- n2.children.forEach(visit);
42984
+ const visit = (n3) => {
42985
+ out.push(n3);
42986
+ n3.children.forEach(visit);
40543
42987
  };
40544
42988
  roots2.forEach(visit);
40545
42989
  return out;
@@ -40808,7 +43252,7 @@ function isRenderable(node, presented, literalText) {
40808
43252
  if (literalText && literalText.trim().length > 0) {
40809
43253
  return true;
40810
43254
  }
40811
- return presented.some((n2) => (n2?.text ?? "").trim().length > 0);
43255
+ return presented.some((n3) => (n3?.text ?? "").trim().length > 0);
40812
43256
  }
40813
43257
 
40814
43258
  // diagram/engine/engine-to-result.ts
@@ -40929,7 +43373,7 @@ function runEngineLayout(smartArtData, containerBounds, nodes, palette, style) {
40929
43373
  if (!rawXmlText || !(widthPt > 0) || !(heightPt > 0)) {
40930
43374
  return void 0;
40931
43375
  }
40932
- const nodeById = new Map(nodes.map((n2) => [n2.id, n2]));
43376
+ const nodeById = new Map(nodes.map((n3) => [n3.id, n3]));
40933
43377
  const metrics = textMetricsFor(resolveFontTable(smartArtData.themeMinorFont));
40934
43378
  const context = {
40935
43379
  textOf: (node) => nodeTextFor(node, sourceIdsOf(node), transitionLabelOf(node), nodeById),
@@ -41472,11 +43916,11 @@ function navigateAxisHop(current, axis, nodes, childrenOf, parentOf, roots2) {
41472
43916
  }
41473
43917
  const excluded = new Set(
41474
43918
  (axis === "follow" ? descendantsOf(node, childrenOf) : ancestorsOf(node, parentOf)).map(
41475
- (n2) => n2.id
43919
+ (n3) => n3.id
41476
43920
  )
41477
43921
  );
41478
43922
  const range2 = axis === "follow" ? nodes.slice(docIndex + 1) : nodes.slice(0, docIndex);
41479
- addAll(range2.filter((n2) => !excluded.has(n2.id)));
43923
+ addAll(range2.filter((n3) => !excluded.has(n3.id)));
41480
43924
  break;
41481
43925
  }
41482
43926
  case "root": {
@@ -41508,7 +43952,7 @@ function selectRange(nodes, start, count) {
41508
43952
  return nodes.slice(zeroBasedStart, zeroBasedStart + take);
41509
43953
  }
41510
43954
  function applyPointTypeAndRange(nodes, pointType2, start, count) {
41511
- const filtered = pointType2 ? nodes.filter((n2) => pointTypeMatches(n2, pointType2)) : nodes;
43955
+ const filtered = pointType2 ? nodes.filter((n3) => pointTypeMatches(n3, pointType2)) : nodes;
41512
43956
  return selectRange(filtered, start, count);
41513
43957
  }
41514
43958
  function resolveAxisNodes(nodes, axis, pointTypes, start, count, context) {
@@ -41522,7 +43966,7 @@ function resolveAxisNodes(nodes, axis, pointTypes, start, count, context) {
41522
43966
  if (axis[0] === "root" && axis.length > 1 && axis[1] !== "ch") {
41523
43967
  return void 0;
41524
43968
  }
41525
- const byId = new Map(nodes.map((n2) => [n2.id, n2]));
43969
+ const byId = new Map(nodes.map((n3) => [n3.id, n3]));
41526
43970
  const childrenOf = /* @__PURE__ */ new Map();
41527
43971
  const parentOf = /* @__PURE__ */ new Map();
41528
43972
  for (const node of nodes) {
@@ -41537,7 +43981,7 @@ function resolveAxisNodes(nodes, axis, pointTypes, start, count, context) {
41537
43981
  }
41538
43982
  }
41539
43983
  }
41540
- const roots2 = nodes.filter((n2) => !n2.parentId || !byId.has(n2.parentId));
43984
+ const roots2 = nodes.filter((n3) => !n3.parentId || !byId.has(n3.parentId));
41541
43985
  let current;
41542
43986
  let nextHop;
41543
43987
  if (axis[0] === "root" && axis.length > 1) {
@@ -41594,7 +44038,7 @@ function resolveAxisMaxDepth(nodes, axis, pointTypes, start, count, anchor) {
41594
44038
  if (anchor.length === 0) {
41595
44039
  return void 0;
41596
44040
  }
41597
- const byId = new Map(nodes.map((n2) => [n2.id, n2]));
44041
+ const byId = new Map(nodes.map((n3) => [n3.id, n3]));
41598
44042
  let max = 0;
41599
44043
  for (const anchorPoint of anchor) {
41600
44044
  const resolved = resolveAxisNodes(nodes, axis, pointTypes, start, count, [anchorPoint]);
@@ -42775,14 +45219,14 @@ function selectArrangedNodes(node, flat, roots2) {
42775
45219
  // diagram/layout/smartart-tree.ts
42776
45220
  function buildForest(nodes) {
42777
45221
  const map = /* @__PURE__ */ new Map();
42778
- for (const n2 of nodes) {
42779
- map.set(n2.id, { node: n2, children: [] });
45222
+ for (const n3 of nodes) {
45223
+ map.set(n3.id, { node: n3, children: [] });
42780
45224
  }
42781
45225
  const roots2 = [];
42782
- for (const n2 of nodes) {
42783
- const tn = map.get(n2.id);
42784
- if (n2.parentId && map.has(n2.parentId)) {
42785
- map.get(n2.parentId).children.push(tn);
45226
+ for (const n3 of nodes) {
45227
+ const tn = map.get(n3.id);
45228
+ if (n3.parentId && map.has(n3.parentId)) {
45229
+ map.get(n3.parentId).children.push(tn);
42786
45230
  } else {
42787
45231
  roots2.push(tn);
42788
45232
  }
@@ -42790,16 +45234,16 @@ function buildForest(nodes) {
42790
45234
  return roots2;
42791
45235
  }
42792
45236
  function buildTree(nodes) {
42793
- const hasNestedChildren = nodes.some((n2) => n2.children !== void 0 && n2.children.length > 0);
45237
+ const hasNestedChildren = nodes.some((n3) => n3.children !== void 0 && n3.children.length > 0);
42794
45238
  if (!hasNestedChildren) {
42795
45239
  return buildForest(nodes);
42796
45240
  }
42797
- const toTreeNode = (n2) => ({
42798
- node: n2,
42799
- children: (n2.children ?? []).map(toTreeNode)
45241
+ const toTreeNode = (n3) => ({
45242
+ node: n3,
45243
+ children: (n3.children ?? []).map(toTreeNode)
42800
45244
  });
42801
- const allIds = new Set(nodes.map((n2) => n2.id));
42802
- const roots2 = nodes.filter((n2) => !n2.parentId || !allIds.has(n2.parentId));
45245
+ const allIds = new Set(nodes.map((n3) => n3.id));
45246
+ const roots2 = nodes.filter((n3) => !n3.parentId || !allIds.has(n3.parentId));
42803
45247
  return roots2.map(toTreeNode);
42804
45248
  }
42805
45249
  var MAX_TREE_DEPTH = 256;
@@ -43460,10 +45904,10 @@ function buildCycleHubBox(hubNode, ring, totalNodeCount, inputs, hubFontFit) {
43460
45904
  }
43461
45905
 
43462
45906
  // diagram/layout/smartart-layout-interpreter-cycle-connectors.ts
43463
- function buildCycleRingConnectors(ring, n2, connectorCount, ringCentre, elementId) {
45907
+ function buildCycleRingConnectors(ring, n3, connectorCount, ringCentre, elementId) {
43464
45908
  return Array.from({ length: connectorCount }, (_, i2) => {
43465
45909
  const from = ring.centers[i2];
43466
- const to = ring.centers[(i2 + 1) % n2];
45910
+ const to = ring.centers[(i2 + 1) % n3];
43467
45911
  const midX = (from.x + to.x) / 2;
43468
45912
  const midY = (from.y + to.y) / 2;
43469
45913
  const pullRadius = Math.max(ring.nodeWidth, ring.nodeHeight) / 2;
@@ -44018,9 +46462,9 @@ function resolveRingAxisOffset(dimension2, boundSize, scale, values) {
44018
46462
 
44019
46463
  // diagram/layout/smartart-layout-interpreter-cycle-ring.ts
44020
46464
  var DEG_TO_RAD4 = Math.PI / 180;
44021
- function degenerateRingLayout(n2, heightOverWidth, box) {
46465
+ function degenerateRingLayout(n3, heightOverWidth, box) {
44022
46466
  const boxCentre = { x: box.width / 2, y: box.height / 2 };
44023
- if (n2 <= 0) {
46467
+ if (n3 <= 0) {
44024
46468
  return {
44025
46469
  centers: [],
44026
46470
  nodeWidth: 0,
@@ -44030,7 +46474,7 @@ function degenerateRingLayout(n2, heightOverWidth, box) {
44030
46474
  hubHalfHeight: 0
44031
46475
  };
44032
46476
  }
44033
- if (n2 === 1) {
46477
+ if (n3 === 1) {
44034
46478
  const w0 = box.width;
44035
46479
  const h0 = Math.min(box.height, box.width * Math.max(0.01, heightOverWidth));
44036
46480
  return {
@@ -44044,8 +46488,8 @@ function degenerateRingLayout(n2, heightOverWidth, box) {
44044
46488
  }
44045
46489
  return void 0;
44046
46490
  }
44047
- function ringLayoutForGapFactor(n2, stAngDeg, spanDeg, gapFactor, heightOverWidth, box, hubGeometry, sibTransBulgeRatio, knownNodeWidthPx) {
44048
- if (n2 === 1 && hubGeometry && knownNodeWidthPx !== void 0 && knownNodeWidthPx > 0) {
46491
+ function ringLayoutForGapFactor(n3, stAngDeg, spanDeg, gapFactor, heightOverWidth, box, hubGeometry, sibTransBulgeRatio, knownNodeWidthPx) {
46492
+ if (n3 === 1 && hubGeometry && knownNodeWidthPx !== void 0 && knownNodeWidthPx > 0) {
44049
46493
  return nestedHubSatelliteRingLayout(
44050
46494
  stAngDeg,
44051
46495
  heightOverWidth,
@@ -44054,12 +46498,12 @@ function ringLayoutForGapFactor(n2, stAngDeg, spanDeg, gapFactor, heightOverWidt
44054
46498
  knownNodeWidthPx
44055
46499
  );
44056
46500
  }
44057
- const degenerate = degenerateRingLayout(n2, heightOverWidth, box);
46501
+ const degenerate = degenerateRingLayout(n3, heightOverWidth, box);
44058
46502
  if (degenerate) {
44059
46503
  return degenerate;
44060
46504
  }
44061
46505
  const full = Math.abs(spanDeg) >= 360;
44062
- const step = full ? spanDeg / n2 : spanDeg / (n2 - 1);
46506
+ const step = full ? spanDeg / n3 : spanDeg / (n3 - 1);
44063
46507
  const halfStepRad = Math.abs(step) * DEG_TO_RAD4 / 2;
44064
46508
  const clampedGap = Math.max(0, gapFactor);
44065
46509
  const sinHalf = Math.sin(halfStepRad);
@@ -44069,7 +46513,7 @@ function ringLayoutForGapFactor(n2, stAngDeg, spanDeg, gapFactor, heightOverWidt
44069
46513
  const r0Hub = hubHalfWidth + hubGeometry.gapRatio + 0.5;
44070
46514
  r0 = Math.max(r0, r0Hub);
44071
46515
  }
44072
- const natural = Array.from({ length: n2 }, (_, i2) => {
46516
+ const natural = Array.from({ length: n3 }, (_, i2) => {
44073
46517
  const angleRad = (stAngDeg + i2 * step - 90) * DEG_TO_RAD4;
44074
46518
  return { x: r0 * Math.cos(angleRad), y: r0 * Math.sin(angleRad) };
44075
46519
  });
@@ -44098,10 +46542,10 @@ function ringLayoutForGapFactor(n2, stAngDeg, spanDeg, gapFactor, heightOverWidt
44098
46542
  hubHalfHeight: naturalHubRadius * scaleY
44099
46543
  };
44100
46544
  }
44101
- function computeCycleRingLayout(n2, stAngDeg, spanDeg, minGapRatio, heightOverWidth, box, absoluteGapPx, hubGeometry, absoluteHubGapPx, sibTransBulgeRatio, knownNodeWidthPx) {
44102
- const nestedHubSatellite = n2 === 1 && hubGeometry && knownNodeWidthPx !== void 0 && knownNodeWidthPx > 0;
46545
+ function computeCycleRingLayout(n3, stAngDeg, spanDeg, minGapRatio, heightOverWidth, box, absoluteGapPx, hubGeometry, absoluteHubGapPx, sibTransBulgeRatio, knownNodeWidthPx) {
46546
+ const nestedHubSatellite = n3 === 1 && hubGeometry && knownNodeWidthPx !== void 0 && knownNodeWidthPx > 0;
44103
46547
  if (!nestedHubSatellite) {
44104
- const degenerate = degenerateRingLayout(n2, heightOverWidth, box);
46548
+ const degenerate = degenerateRingLayout(n3, heightOverWidth, box);
44105
46549
  if (degenerate) {
44106
46550
  return degenerate;
44107
46551
  }
@@ -44110,7 +46554,7 @@ function computeCycleRingLayout(n2, stAngDeg, spanDeg, minGapRatio, heightOverWi
44110
46554
  const needsHubGapIteration = absoluteHubGapPx !== void 0 && absoluteHubGapPx > 0 && hubGeometry !== void 0;
44111
46555
  if (!needsGapIteration && !needsHubGapIteration) {
44112
46556
  return ringLayoutForGapFactor(
44113
- n2,
46557
+ n3,
44114
46558
  stAngDeg,
44115
46559
  spanDeg,
44116
46560
  minGapRatio,
@@ -44125,7 +46569,7 @@ function computeCycleRingLayout(n2, stAngDeg, spanDeg, minGapRatio, heightOverWi
44125
46569
  let hub = hubGeometry;
44126
46570
  for (let iteration = 0; iteration < 20; iteration += 1) {
44127
46571
  const candidate = ringLayoutForGapFactor(
44128
- n2,
46572
+ n3,
44129
46573
  stAngDeg,
44130
46574
  spanDeg,
44131
46575
  gapFactor,
@@ -44147,7 +46591,7 @@ function computeCycleRingLayout(n2, stAngDeg, spanDeg, minGapRatio, heightOverWi
44147
46591
  }
44148
46592
  }
44149
46593
  return ringLayoutForGapFactor(
44150
- n2,
46594
+ n3,
44151
46595
  stAngDeg,
44152
46596
  spanDeg,
44153
46597
  gapFactor,
@@ -44187,11 +46631,11 @@ function arrangeCycle2(plan, nodes, box, palette, style, elementId, index = EMPT
44187
46631
  box,
44188
46632
  sizeBox
44189
46633
  );
44190
- const n2 = ringNodes.length;
46634
+ const n3 = ringNodes.length;
44191
46635
  const startDeg = numericParam(plan.node, "stAng", 0);
44192
46636
  const spanDeg = numericParam(plan.node, "spanAng", 360);
44193
46637
  const ring = computeCycleRingLayout(
44194
- n2,
46638
+ n3,
44195
46639
  startDeg,
44196
46640
  spanDeg,
44197
46641
  minGapRatio,
@@ -44204,12 +46648,12 @@ function arrangeCycle2(plan, nodes, box, palette, style, elementId, index = EMPT
44204
46648
  knownNodeWidthPx
44205
46649
  );
44206
46650
  const full = Math.abs(spanDeg) >= 360;
44207
- const connectorCount = n2 > 0 ? full ? n2 : Math.max(0, n2 - 1) : 0;
44208
- const ringStepDeg = n2 > 0 ? full ? spanDeg / n2 : spanDeg / Math.max(1, n2 - 1) : 0;
46651
+ const connectorCount = n3 > 0 ? full ? n3 : Math.max(0, n3 - 1) : 0;
46652
+ const ringStepDeg = n3 > 0 ? full ? spanDeg / n3 : spanDeg / Math.max(1, n3 - 1) : 0;
44209
46653
  const ringCentre = ring.hubCenter;
44210
46654
  const connectors2 = buildCycleRingConnectors(
44211
46655
  ring,
44212
- n2,
46656
+ n3,
44213
46657
  connectorCount,
44214
46658
  ringCentre,
44215
46659
  elementId
@@ -44387,12 +46831,12 @@ function buildHubRenderedNode(arranger, hubNode, box, palette, style, elementId,
44387
46831
 
44388
46832
  // diagram/layout/smartart-node-tree-axis.ts
44389
46833
  function topLevelSmartArtNodes(nodes) {
44390
- const hasNestedChildren = nodes.some((n2) => n2.children !== void 0 && n2.children.length > 0);
46834
+ const hasNestedChildren = nodes.some((n3) => n3.children !== void 0 && n3.children.length > 0);
44391
46835
  if (hasNestedChildren) {
44392
46836
  return nodes;
44393
46837
  }
44394
- const ids = new Set(nodes.map((n2) => n2.id));
44395
- return nodes.filter((n2) => !n2.parentId || !ids.has(n2.parentId));
46838
+ const ids = new Set(nodes.map((n3) => n3.id));
46839
+ return nodes.filter((n3) => !n3.parentId || !ids.has(n3.parentId));
44396
46840
  }
44397
46841
  function smartArtDescendantsWithText(node, childrenOf) {
44398
46842
  const out = [];
@@ -44415,15 +46859,15 @@ function smartArtDescendantsWithText(node, childrenOf) {
44415
46859
  }
44416
46860
  function smartArtChildrenOf(nodes, connections) {
44417
46861
  const map = /* @__PURE__ */ new Map();
44418
- for (const n2 of nodes) {
44419
- if (n2.children && n2.children.length > 0) {
44420
- map.set(n2.id, n2.children);
44421
- } else if (n2.parentId) {
44422
- const list2 = map.get(n2.parentId);
46862
+ for (const n3 of nodes) {
46863
+ if (n3.children && n3.children.length > 0) {
46864
+ map.set(n3.id, n3.children);
46865
+ } else if (n3.parentId) {
46866
+ const list2 = map.get(n3.parentId);
44423
46867
  if (list2) {
44424
- list2.push(n2);
46868
+ list2.push(n3);
44425
46869
  } else {
44426
- map.set(n2.parentId, [n2]);
46870
+ map.set(n3.parentId, [n3]);
44427
46871
  }
44428
46872
  }
44429
46873
  }
@@ -44547,7 +46991,7 @@ function applyCustomLayoutToNode(node, custom, box) {
44547
46991
  }
44548
46992
  }
44549
46993
  function applyCustomLayoutOverrides(result, nodes, box) {
44550
- const nodeById = new Map(nodes.map((n2) => [n2.id, n2]));
46994
+ const nodeById = new Map(nodes.map((n3) => [n3.id, n3]));
44551
46995
  let changed = false;
44552
46996
  const nodesOut = result.nodes.map((rendered) => {
44553
46997
  const node = rendered.nodeId ? nodeById.get(rendered.nodeId) : void 0;
@@ -44731,8 +47175,8 @@ function resolveContentSizedExtents(texts, crossExtentPx, fontSizePx, table, lin
44731
47175
  lines2 * fontSizePx * smartArtLineEm(table) * lineSpacingFactor + marginVerticalPx + 2 * cornerInsetPx
44732
47176
  );
44733
47177
  });
44734
- const n2 = natural.length;
44735
- const gapTotal = Math.max(0, n2 - 1) * gap;
47178
+ const n3 = natural.length;
47179
+ const gapTotal = Math.max(0, n3 - 1) * gap;
44736
47180
  const total = natural.reduce((sum, extent) => sum + extent, 0) + gapTotal;
44737
47181
  if (total <= usableMain || total - gapTotal <= 0) {
44738
47182
  return natural;
@@ -45010,24 +47454,24 @@ function resolveMainAxisGap(index, role, mainAxisType, ceilingPx) {
45010
47454
  }
45011
47455
  return void 0;
45012
47456
  }
45013
- function resolveMainAxisLayout(constraints, index, role, mainAxisType, ceilingPx, usableMain, begPad, endPad, n2, clampRatio) {
47457
+ function resolveMainAxisLayout(constraints, index, role, mainAxisType, ceilingPx, usableMain, begPad, endPad, n3, clampRatio) {
45014
47458
  const explicitSib = resolveRatioConstraint(constraints, index, role, ["sibSp", "sp"], Number.NaN);
45015
47459
  if (!Number.isNaN(explicitSib)) {
45016
47460
  const sib2 = clampRatio(explicitSib);
45017
- const denom2 = begPad + endPad + n2 + Math.max(0, n2 - 1) * sib2;
45018
- const mainExtent2 = n2 > 0 ? usableMain / denom2 : usableMain;
47461
+ const denom2 = begPad + endPad + n3 + Math.max(0, n3 - 1) * sib2;
47462
+ const mainExtent2 = n3 > 0 ? usableMain / denom2 : usableMain;
45019
47463
  return { mainExtent: mainExtent2, gap: sib2 * mainExtent2 };
45020
47464
  }
45021
47465
  const inferredGap = resolveMainAxisGap(index, role, mainAxisType, ceilingPx);
45022
47466
  if (inferredGap && "absolutePx" in inferredGap) {
45023
47467
  const gapAbs = Math.max(0, inferredGap.absolutePx);
45024
- const denom2 = begPad + endPad + n2;
45025
- const mainExtent2 = n2 > 0 ? Math.max(0, usableMain - Math.max(0, n2 - 1) * gapAbs) / denom2 : usableMain;
47468
+ const denom2 = begPad + endPad + n3;
47469
+ const mainExtent2 = n3 > 0 ? Math.max(0, usableMain - Math.max(0, n3 - 1) * gapAbs) / denom2 : usableMain;
45026
47470
  return { mainExtent: mainExtent2, gap: gapAbs };
45027
47471
  }
45028
47472
  const sib = clampRatio(inferredGap && "relative" in inferredGap ? inferredGap.relative : 0.25);
45029
- const denom = begPad + endPad + n2 + Math.max(0, n2 - 1) * sib;
45030
- const mainExtent = n2 > 0 ? usableMain / denom : usableMain;
47473
+ const denom = begPad + endPad + n3 + Math.max(0, n3 - 1) * sib;
47474
+ const mainExtent = n3 > 0 ? usableMain / denom : usableMain;
45031
47475
  return { mainExtent, gap: sib * mainExtent };
45032
47476
  }
45033
47477
 
@@ -45074,15 +47518,15 @@ function arrangeRecursiveTable(view, plan, nodes, box, palette, style, elementId
45074
47518
  const reversed = resolvedLinDir(view, plan.node, nodes.length, presLayoutVars, "fromT") === "fromB";
45075
47519
  const rowChild = findRowChild(view, plan.node, presLayoutVars);
45076
47520
  const colReversed = rowChild ? resolvedLinDir(view, rowChild, nodes.length, presLayoutVars, "fromL") === "fromR" : false;
45077
- const byId = new Map(nodes.map((n2) => [n2.id, n2]));
45078
- const childrenIn = (n2) => (childrenOf.get(n2.id) ?? []).filter((c2) => byId.has(c2.id));
47521
+ const byId = new Map(nodes.map((n3) => [n3.id, n3]));
47522
+ const childrenIn = (n3) => (childrenOf.get(n3.id) ?? []).filter((c2) => byId.has(c2.id));
45079
47523
  const childIds = /* @__PURE__ */ new Set();
45080
- for (const n2 of nodes) {
45081
- for (const c2 of childrenIn(n2)) {
47524
+ for (const n3 of nodes) {
47525
+ for (const c2 of childrenIn(n3)) {
45082
47526
  childIds.add(c2.id);
45083
47527
  }
45084
47528
  }
45085
- const roots2 = nodes.filter((n2) => !childIds.has(n2.id));
47529
+ const roots2 = nodes.filter((n3) => !childIds.has(n3.id));
45086
47530
  const depthOf2 = /* @__PURE__ */ new Map();
45087
47531
  let maxDepth2 = 0;
45088
47532
  const depthStack = roots2.map((r) => ({
@@ -45103,11 +47547,11 @@ function arrangeRecursiveTable(view, plan, nodes, box, palette, style, elementId
45103
47547
  const rowGap = DEFAULT_GAP_RATIO2 * rowHeight;
45104
47548
  const rowY = (depth) => (reversed ? generations - 1 - depth : depth) * (rowHeight + rowGap);
45105
47549
  const splitAcross = (items, x, width) => {
45106
- const n2 = items.length;
45107
- if (n2 === 0) {
47550
+ const n3 = items.length;
47551
+ if (n3 === 0) {
45108
47552
  return [];
45109
47553
  }
45110
- const denom = n2 + Math.max(0, n2 - 1) * DEFAULT_GAP_RATIO2;
47554
+ const denom = n3 + Math.max(0, n3 - 1) * DEFAULT_GAP_RATIO2;
45111
47555
  const colWidth = width / denom;
45112
47556
  const colGap = DEFAULT_GAP_RATIO2 * colWidth;
45113
47557
  const ordered2 = colReversed ? [...items].reverse() : items;
@@ -45173,24 +47617,24 @@ function arrangeRecursiveTable(view, plan, nodes, box, palette, style, elementId
45173
47617
  }
45174
47618
 
45175
47619
  // diagram/layout/smartart-layout-snake-grid.ts
45176
- function snakeGridDims(plan, n2, w, h2, flowDir) {
47620
+ function snakeGridDims(plan, n3, w, h2, flowDir) {
45177
47621
  const bkpt = algorithmParam(plan.node, "bkpt");
45178
47622
  const fixedVal = findConstraint(plan.node.constraints, "bkPtFixedVal")?.value;
45179
47623
  if (bkpt === "fixed" && typeof fixedVal === "number" && fixedVal > 0) {
45180
- const lineLength = Math.max(1, Math.min(n2, Math.round(fixedVal)));
47624
+ const lineLength = Math.max(1, Math.min(n3, Math.round(fixedVal)));
45181
47625
  if (flowDir === "col") {
45182
47626
  const rows2 = lineLength;
45183
- return { cols: Math.max(1, Math.ceil(n2 / rows2)), rows: rows2 };
47627
+ return { cols: Math.max(1, Math.ceil(n3 / rows2)), rows: rows2 };
45184
47628
  }
45185
47629
  const cols2 = lineLength;
45186
- return { cols: cols2, rows: Math.max(1, Math.ceil(n2 / cols2)) };
47630
+ return { cols: cols2, rows: Math.max(1, Math.ceil(n3 / cols2)) };
45187
47631
  }
45188
47632
  if (flowDir === "col") {
45189
- const rows2 = Math.max(1, Math.round(Math.sqrt(n2 * Math.max(0.2, h2 / Math.max(1, w)))));
45190
- return { cols: Math.max(1, Math.ceil(n2 / rows2)), rows: rows2 };
47633
+ const rows2 = Math.max(1, Math.round(Math.sqrt(n3 * Math.max(0.2, h2 / Math.max(1, w)))));
47634
+ return { cols: Math.max(1, Math.ceil(n3 / rows2)), rows: rows2 };
45191
47635
  }
45192
- const cols = Math.max(1, Math.round(Math.sqrt(n2 * Math.max(0.2, w / Math.max(1, h2)))));
45193
- return { cols, rows: Math.max(1, Math.ceil(n2 / cols)) };
47636
+ const cols = Math.max(1, Math.round(Math.sqrt(n3 * Math.max(0.2, w / Math.max(1, h2)))));
47637
+ return { cols, rows: Math.max(1, Math.ceil(n3 / cols)) };
45194
47638
  }
45195
47639
  function snakeCell(i2, dims, flowDir, sameDir, grDir) {
45196
47640
  const primaryCount = flowDir === "col" ? dims.rows : dims.cols;
@@ -45214,7 +47658,7 @@ function snakeCell(i2, dims, flowDir, sameDir, grDir) {
45214
47658
  function arrangeSnake2(plan, nodes, box, palette, style, elementId, index = EMPTY_CONSTRAINT_INDEX, childrenOf, fontName) {
45215
47659
  const { width: w, height: h2 } = box;
45216
47660
  const ctx = styleContext(style);
45217
- const n2 = nodes.length;
47661
+ const n3 = nodes.length;
45218
47662
  const sib = resolveRatioConstraint(
45219
47663
  plan.node.constraints,
45220
47664
  index,
@@ -45226,7 +47670,7 @@ function arrangeSnake2(plan, nodes, box, palette, style, elementId, index = EMPT
45226
47670
  const grDirRaw = algorithmParam(plan.node, "grDir");
45227
47671
  const grDir = grDirRaw === "tR" || grDirRaw === "bL" || grDirRaw === "bR" ? grDirRaw : "tL";
45228
47672
  const sameDir = algorithmParam(plan.node, "contDir") === "sameDir";
45229
- const { cols, rows: rows2 } = snakeGridDims(plan, n2, w, h2, flowDir);
47673
+ const { cols, rows: rows2 } = snakeGridDims(plan, n3, w, h2, flowDir);
45230
47674
  const usableW = w - INSET * 2;
45231
47675
  const usableH = h2 - INSET * 2;
45232
47676
  const mainCount = flowDir === "col" ? rows2 : cols;
@@ -45291,7 +47735,7 @@ function arrangeSnake2(plan, nodes, box, palette, style, elementId, index = EMPT
45291
47735
  height: cellH,
45292
47736
  node,
45293
47737
  index: i2,
45294
- total: n2,
47738
+ total: n3,
45295
47739
  palette,
45296
47740
  style,
45297
47741
  ctx,
@@ -45336,7 +47780,7 @@ function arrangeLinear2(view, plan, flow, nodes, box, palette, style, elementId,
45336
47780
  const endPad = clampRatio(resolveRatioConstraint(constraints, index, role, ["endPad"], 0));
45337
47781
  const aspect = itemAspect(view, plan, index, nodes.length, presLayoutVars);
45338
47782
  const flow2 = ordered(nodes, flow);
45339
- const n2 = flow2.length;
47783
+ const n3 = flow2.length;
45340
47784
  const horizontal = flow.orientation === "horizontal";
45341
47785
  const usableMain = (horizontal ? w : h2) - INSET * 2;
45342
47786
  const usableCross = (horizontal ? h2 : w) - INSET * 2;
@@ -45350,7 +47794,7 @@ function arrangeLinear2(view, plan, flow, nodes, box, palette, style, elementId,
45350
47794
  usableMain,
45351
47795
  begPad,
45352
47796
  endPad,
45353
- n2,
47797
+ n3,
45354
47798
  clampRatio
45355
47799
  );
45356
47800
  const itemTemplate = itemNode(plan.node);
@@ -45410,7 +47854,7 @@ function arrangeLinear2(view, plan, flow, nodes, box, palette, style, elementId,
45410
47854
  height: horizontal ? itemH : itemMainExtent,
45411
47855
  node,
45412
47856
  index: i2,
45413
- total: n2,
47857
+ total: n3,
45414
47858
  palette,
45415
47859
  style,
45416
47860
  ctx,
@@ -45918,7 +48362,7 @@ function resolveIterationRect(dims, box, iteration, iterationCount) {
45918
48362
 
45919
48363
  // diagram/layout/smartart-layout-interpreter-composite-group-slots.ts
45920
48364
  function contentSignature(content2) {
45921
- return content2.map((n2) => n2.id).sort().join(" ");
48365
+ return content2.map((n3) => n3.id).sort().join(" ");
45922
48366
  }
45923
48367
  function resolveGroupedSlots(candidates, box, index) {
45924
48368
  const groups = /* @__PURE__ */ new Map();
@@ -46072,18 +48516,18 @@ function renderForEachBoundSlots(slots, flat, box, absX, absY, childrenOf, ctx,
46072
48516
  // diagram/hierarchy/smartart-hierarchy-pitch.ts
46073
48517
  var GENERATION_MARGIN_RATIO = 0.1675;
46074
48518
  function computeAxisPitch(dimension2, margin, itemSize, count, fixedGapRatio) {
46075
- const n2 = Math.max(1, count);
46076
- const gap = n2 <= 1 ? 0 : fixedGapRatio !== void 0 ? itemSize * Math.max(0, fixedGapRatio) : Math.max(0, (dimension2 - margin - n2 * itemSize) / (n2 - 1));
48519
+ const n3 = Math.max(1, count);
48520
+ const gap = n3 <= 1 ? 0 : fixedGapRatio !== void 0 ? itemSize * Math.max(0, fixedGapRatio) : Math.max(0, (dimension2 - margin - n3 * itemSize) / (n3 - 1));
46077
48521
  const pitch = itemSize + gap;
46078
- const centeredShift = (dimension2 - n2 * pitch + margin) / 2;
46079
- const maxShift = dimension2 - n2 * itemSize - gap * (n2 - 0.5);
48522
+ const centeredShift = (dimension2 - n3 * pitch + margin) / 2;
48523
+ const maxShift = dimension2 - n3 * itemSize - gap * (n3 - 0.5);
46080
48524
  return { pitch, shift: Math.min(centeredShift, maxShift) };
46081
48525
  }
46082
48526
  function centeredAxisPitch(dimension2, itemSize, gapRatio, count) {
46083
- const n2 = Math.max(1, count);
46084
- const gap = n2 > 1 ? itemSize * Math.max(0, gapRatio) : 0;
48527
+ const n3 = Math.max(1, count);
48528
+ const gap = n3 > 1 ? itemSize * Math.max(0, gapRatio) : 0;
46085
48529
  const pitch = itemSize + gap;
46086
- const span = n2 * itemSize + Math.max(0, n2 - 1) * gap;
48530
+ const span = n3 * itemSize + Math.max(0, n3 - 1) * gap;
46087
48531
  const shift = (dimension2 - span) / 2;
46088
48532
  return { pitch, shift };
46089
48533
  }
@@ -46618,7 +49062,7 @@ function findNamedNode(node, name2) {
46618
49062
  function arrangePyramid(plan, nodes, box, palette, style, elementId, index = EMPTY_CONSTRAINT_INDEX, childrenOf, fontName) {
46619
49063
  const { width: w, height: h2 } = box;
46620
49064
  const ctx = styleContext(style);
46621
- const n2 = nodes.length;
49065
+ const n3 = nodes.length;
46622
49066
  const bandW = w - DEFAULT_INSET * 2;
46623
49067
  const bandCx = DEFAULT_INSET + bandW / 2;
46624
49068
  const gapRatio = resolveRatioConstraint(
@@ -46629,7 +49073,7 @@ function arrangePyramid(plan, nodes, box, palette, style, elementId, index = EMP
46629
49073
  DEFAULT_GAP_RATIO3
46630
49074
  );
46631
49075
  const usableH = h2 - DEFAULT_INSET * 2;
46632
- const bandH = n2 > 0 ? usableH / (n2 + Math.max(0, n2 - 1) * gapRatio) : usableH;
49076
+ const bandH = n3 > 0 ? usableH / (n3 + Math.max(0, n3 - 1) * gapRatio) : usableH;
46633
49077
  const gap = gapRatio * bandH;
46634
49078
  const lvlNodeName = algorithmParam(plan.node, "pyraLvlNode");
46635
49079
  const lvlNode = lvlNodeName ? findNamedNode(plan.node, lvlNodeName) : void 0;
@@ -46643,9 +49087,9 @@ function arrangePyramid(plan, nodes, box, palette, style, elementId, index = EMP
46643
49087
  const halfBandH = (slotBot - slotTop) * lvlHeightRatio / 2;
46644
49088
  const yTop = slotMidY - halfBandH;
46645
49089
  const yBot = slotMidY + halfBandH;
46646
- const effectiveI = inverted ? n2 - 1 - i2 : i2;
46647
- const fTop = effectiveI / n2;
46648
- const fBot = (effectiveI + 1) / n2;
49090
+ const effectiveI = inverted ? n3 - 1 - i2 : i2;
49091
+ const fTop = effectiveI / n3;
49092
+ const fBot = (effectiveI + 1) / n3;
46649
49093
  const halfTop = bandW * fTop / 2 * lvlWidthRatio;
46650
49094
  const halfBot = bandW * fBot / 2 * lvlWidthRatio;
46651
49095
  return { node, yTop, yBot, halfTop, halfBot };
@@ -46682,7 +49126,7 @@ function arrangePyramid(plan, nodes, box, palette, style, elementId, index = EMP
46682
49126
  fontHeight: bandH,
46683
49127
  node,
46684
49128
  index: i2,
46685
- total: n2,
49129
+ total: n3,
46686
49130
  palette,
46687
49131
  style,
46688
49132
  ctx,
@@ -46832,7 +49276,7 @@ function resolveHierarchyItemNode(algorithmNode) {
46832
49276
  return first2;
46833
49277
  }
46834
49278
  const allNames = new Set(
46835
- candidates.map((c2) => c2.name).filter((n2) => n2 !== void 0)
49279
+ candidates.map((c2) => c2.name).filter((n3) => n3 !== void 0)
46836
49280
  );
46837
49281
  const constraints = algorithmNode.allConstraints ?? algorithmNode.constraints ?? [];
46838
49282
  for (const candidate of candidates) {
@@ -47986,11 +50430,11 @@ function transposeResult(result, realWidth, realHeight) {
47986
50430
  // diagram/hierarchy/smartart-hierarchy-fit-item-box.ts
47987
50431
  var ALL_CHILDREN_HANG_EXTRA_RATIO = 0.6587;
47988
50432
  function fitItemBox(box, columns, levels, sibSpRatio, aspectRatio, generationGapRatio, marginXRatio, marginYRatio, maxHangDepth = 0, clampToNaturalAspect = true, maxHangRows = maxHangDepth, allChildrenHang = false, hangHeightRatio = HANG_HEIGHT_RATIO, compositeChainHeightRatio, hangingColumns = columns) {
47989
- const n2 = Math.max(1, columns);
50433
+ const n3 = Math.max(1, columns);
47990
50434
  const usableW = box.width - 2 * box.width * marginXRatio;
47991
50435
  const allHangExtra = allChildrenHang ? ALL_CHILDREN_HANG_EXTRA_RATIO : 0;
47992
- const hangColumnFraction = n2 > 0 ? Math.min(1, Math.max(0, hangingColumns) / n2) : 0;
47993
- const widthFit = usableW / (n2 + Math.max(0, n2 - 1) * sibSpRatio + maxHangDepth * HIER_TAIL_OFFSET_RATIO * hangColumnFraction + allHangExtra);
50436
+ const hangColumnFraction = n3 > 0 ? Math.min(1, Math.max(0, hangingColumns) / n3) : 0;
50437
+ const widthFit = usableW / (n3 + Math.max(0, n3 - 1) * sibSpRatio + maxHangDepth * HIER_TAIL_OFFSET_RATIO * hangColumnFraction + allHangExtra);
47994
50438
  const generations = Math.max(1, levels);
47995
50439
  const usableH = box.height - 2 * box.height * marginYRatio;
47996
50440
  const heightFit = usableH / (generations + maxHangRows + Math.max(0, generations - 1) * generationGapRatio + maxHangRows * hangHeightRatio);
@@ -49086,17 +51530,17 @@ function resolvePyraAcctRatio(planNode, index) {
49086
51530
  const constraints = planNode.allConstraints ?? planNode.constraints;
49087
51531
  return resolveRatioConstraint(constraints, index, roleOf(planNode), ["pyraAcctRatio"], 0);
49088
51532
  }
49089
- function pyramidRowGeometry(i2, n2, box, gapRatio, inverted) {
51533
+ function pyramidRowGeometry(i2, n3, box, gapRatio, inverted) {
49090
51534
  const bandW = box.width - DEFAULT_INSET * 2;
49091
51535
  const bandCx = DEFAULT_INSET + bandW / 2;
49092
51536
  const usableH = box.height - DEFAULT_INSET * 2;
49093
- const bandH = n2 > 0 ? usableH / (n2 + Math.max(0, n2 - 1) * gapRatio) : usableH;
51537
+ const bandH = n3 > 0 ? usableH / (n3 + Math.max(0, n3 - 1) * gapRatio) : usableH;
49094
51538
  const gap = gapRatio * bandH;
49095
51539
  const slotTop = DEFAULT_INSET + i2 * (bandH + gap);
49096
51540
  const slotBot = slotTop + bandH;
49097
- const effectiveI = inverted ? n2 - 1 - i2 : i2;
49098
- const fTop = effectiveI / n2;
49099
- const fBot = (effectiveI + 1) / n2;
51541
+ const effectiveI = inverted ? n3 - 1 - i2 : i2;
51542
+ const fTop = effectiveI / n3;
51543
+ const fBot = (effectiveI + 1) / n3;
49100
51544
  const halfTop = bandW * fTop / 2;
49101
51545
  const halfBot = bandW * fBot / 2;
49102
51546
  return {
@@ -49114,7 +51558,7 @@ function repositionPyramidBands(result, box, planNode, topLevelIds, flatNodes, h
49114
51558
  return result;
49115
51559
  }
49116
51560
  const scale = 1 - pyraAcctRatio;
49117
- const n2 = topLevelIds.length;
51561
+ const n3 = topLevelIds.length;
49118
51562
  const rowIndexById = new Map(topLevelIds.map((id, i2) => [id, i2]));
49119
51563
  const parentIdById = new Map(flatNodes.map((node) => [node.id, node.parentId]));
49120
51564
  const gapRatio = resolveRatioConstraint(
@@ -49138,7 +51582,7 @@ function repositionPyramidBands(result, box, planNode, topLevelIds, flatNodes, h
49138
51582
  if (rowIndex === void 0) {
49139
51583
  return rendered;
49140
51584
  }
49141
- const row2 = pyramidRowGeometry(rowIndex, n2, box, gapRatio, inverted);
51585
+ const row2 = pyramidRowGeometry(rowIndex, n3, box, gapRatio, inverted);
49142
51586
  const scaledLeftTop = scale * row2.leftTop;
49143
51587
  const scaledRightTop = scale * row2.rightTop;
49144
51588
  const scaledLeftBot = scale * row2.leftBot;
@@ -49256,12 +51700,12 @@ function runArrangement(view, input) {
49256
51700
  input.connections,
49257
51701
  presLayoutVars
49258
51702
  ) : withNamedRule;
49259
- const hasAccentSomewhere = arranged.some((node) => flat.some((n2) => n2.parentId === node.id));
51703
+ const hasAccentSomewhere = arranged.some((node) => flat.some((n3) => n3.parentId === node.id));
49260
51704
  const withPyramidBands = plan.kind === "pyramid" ? repositionPyramidBands(
49261
51705
  withItemRoles,
49262
51706
  box,
49263
51707
  plan.node,
49264
- arranged.map((n2) => n2.id),
51708
+ arranged.map((n3) => n3.id),
49265
51709
  flat,
49266
51710
  hasAccentSomewhere,
49267
51711
  constraintIndex
@@ -49681,12 +52125,12 @@ function findDiagramShapeIndex(shapes2, nodes, nodeId) {
49681
52125
  }
49682
52126
  }
49683
52127
  if (shapes2.length === nodes.length) {
49684
- const nodeIdx = nodes.findIndex((n2) => n2.id === nodeId);
52128
+ const nodeIdx = nodes.findIndex((n3) => n3.id === nodeId);
49685
52129
  if (nodeIdx >= 0) {
49686
52130
  return nodeIdx;
49687
52131
  }
49688
52132
  }
49689
- const node = nodes.find((n2) => n2.id === nodeId);
52133
+ const node = nodes.find((n3) => n3.id === nodeId);
49690
52134
  if (node?.text) {
49691
52135
  const text3 = node.text.trim();
49692
52136
  const matches2 = [];
@@ -49734,7 +52178,7 @@ function createOfficeGuid() {
49734
52178
  // diagram/edit/node-ops.ts
49735
52179
  var diagramModelId = (options2) => (options2?.createModelId ?? createOfficeGuid)();
49736
52180
  function findDiagramRootParentId(nodes) {
49737
- const nodeIds = new Set(nodes.map((n2) => n2.id));
52181
+ const nodeIds = new Set(nodes.map((n3) => n3.id));
49738
52182
  for (const node of nodes) {
49739
52183
  if (node.parentId && !nodeIds.has(node.parentId)) {
49740
52184
  return node.parentId;
@@ -49771,13 +52215,13 @@ function insertSibling(data, text3, siblingId, offset, options2) {
49771
52215
  const newId = diagramModelId(options2);
49772
52216
  let parentId;
49773
52217
  if (siblingId) {
49774
- const sibling = data.nodes.find((n2) => n2.id === siblingId);
52218
+ const sibling = data.nodes.find((n3) => n3.id === siblingId);
49775
52219
  parentId = sibling?.parentId;
49776
52220
  }
49777
52221
  parentId ??= findDiagramRootParentId(data.nodes);
49778
52222
  const newNode = { id: newId, text: text3, parentId };
49779
52223
  const nodes = [...data.nodes];
49780
- const siblingIndex = siblingId ? nodes.findIndex((n2) => n2.id === siblingId) : -1;
52224
+ const siblingIndex = siblingId ? nodes.findIndex((n3) => n3.id === siblingId) : -1;
49781
52225
  if (siblingIndex >= 0) {
49782
52226
  nodes.splice(siblingIndex + offset, 0, newNode);
49783
52227
  } else {
@@ -49802,7 +52246,7 @@ function addDiagramNodeBelow(data, parentId, text3, options2) {
49802
52246
  return withEditedStructure(data, nodes, connections);
49803
52247
  }
49804
52248
  function addDiagramNodeAbove(data, nodeId, text3, options2) {
49805
- const target = data.nodes.find((n2) => n2.id === nodeId);
52249
+ const target = data.nodes.find((n3) => n3.id === nodeId);
49806
52250
  if (!target) {
49807
52251
  return data;
49808
52252
  }
@@ -49829,13 +52273,13 @@ function addDiagramNodeAbove(data, nodeId, text3, options2) {
49829
52273
  return withEditedStructure(data, nodes, connections);
49830
52274
  }
49831
52275
  function removeDiagramNode(data, nodeId) {
49832
- const removedNode = data.nodes.find((n2) => n2.id === nodeId);
49833
- const childIds = data.nodes.filter((n2) => n2.parentId === nodeId).map((n2) => n2.id);
49834
- const nodes = data.nodes.filter((n2) => n2.id !== nodeId).map((n2) => {
49835
- if (n2.parentId === nodeId) {
49836
- return { ...n2, parentId: removedNode?.parentId };
52276
+ const removedNode = data.nodes.find((n3) => n3.id === nodeId);
52277
+ const childIds = data.nodes.filter((n3) => n3.parentId === nodeId).map((n3) => n3.id);
52278
+ const nodes = data.nodes.filter((n3) => n3.id !== nodeId).map((n3) => {
52279
+ if (n3.parentId === nodeId) {
52280
+ return { ...n3, parentId: removedNode?.parentId };
49837
52281
  }
49838
- return { ...n2 };
52282
+ return { ...n3 };
49839
52283
  });
49840
52284
  const connections = (data.connections ?? []).filter((c2) => c2.sourceId !== nodeId && c2.destId !== nodeId).map((c2) => ({ ...c2 }));
49841
52285
  const grandParentId = removedNode?.parentId;
@@ -49847,7 +52291,7 @@ function removeDiagramNode(data, nodeId) {
49847
52291
  return withEditedStructure(data, nodes, connections);
49848
52292
  }
49849
52293
  function setDiagramNodeText(data, nodeId, newText) {
49850
- const nodes = data.nodes.map((n2) => n2.id === nodeId ? { ...n2, text: newText } : n2);
52294
+ const nodes = data.nodes.map((n3) => n3.id === nodeId ? { ...n3, text: newText } : n3);
49851
52295
  return {
49852
52296
  ...data,
49853
52297
  nodes,
@@ -49861,12 +52305,12 @@ function setDiagramNodeText(data, nodeId, newText) {
49861
52305
 
49862
52306
  // diagram/edit/node-order.ts
49863
52307
  function moveDiagramNode(data, nodeId, direction) {
49864
- const node = data.nodes.find((n2) => n2.id === nodeId);
52308
+ const node = data.nodes.find((n3) => n3.id === nodeId);
49865
52309
  if (!node) {
49866
52310
  return data;
49867
52311
  }
49868
- const siblings = data.nodes.filter((n2) => n2.parentId === node.parentId);
49869
- const currentIndex = siblings.findIndex((n2) => n2.id === nodeId);
52312
+ const siblings = data.nodes.filter((n3) => n3.parentId === node.parentId);
52313
+ const currentIndex = siblings.findIndex((n3) => n3.id === nodeId);
49870
52314
  const targetIndex = currentIndex + direction;
49871
52315
  const current = siblings[currentIndex];
49872
52316
  const target = siblings[targetIndex];
@@ -49874,8 +52318,8 @@ function moveDiagramNode(data, nodeId, direction) {
49874
52318
  return data;
49875
52319
  }
49876
52320
  const nodes = [...data.nodes];
49877
- const currentGlobalIndex = nodes.findIndex((n2) => n2.id === current.id);
49878
- const targetGlobalIndex = nodes.findIndex((n2) => n2.id === target.id);
52321
+ const currentGlobalIndex = nodes.findIndex((n3) => n3.id === current.id);
52322
+ const targetGlobalIndex = nodes.findIndex((n3) => n3.id === target.id);
49879
52323
  if (currentGlobalIndex >= 0 && targetGlobalIndex >= 0) {
49880
52324
  nodes[currentGlobalIndex] = target;
49881
52325
  nodes[targetGlobalIndex] = current;
@@ -49883,12 +52327,12 @@ function moveDiagramNode(data, nodeId, direction) {
49883
52327
  return withEditedStructure(data, nodes);
49884
52328
  }
49885
52329
  function moveDiagramNodeToIndex(data, nodeId, newIndex) {
49886
- const node = data.nodes.find((n2) => n2.id === nodeId);
52330
+ const node = data.nodes.find((n3) => n3.id === nodeId);
49887
52331
  if (!node) {
49888
52332
  return data;
49889
52333
  }
49890
- const siblings = data.nodes.filter((n2) => n2.parentId === node.parentId);
49891
- const currentIndex = siblings.findIndex((n2) => n2.id === nodeId);
52334
+ const siblings = data.nodes.filter((n3) => n3.parentId === node.parentId);
52335
+ const currentIndex = siblings.findIndex((n3) => n3.id === nodeId);
49892
52336
  if (currentIndex < 0) {
49893
52337
  return data;
49894
52338
  }
@@ -49902,21 +52346,21 @@ function moveDiagramNodeToIndex(data, nodeId, newIndex) {
49902
52346
  const siblingIds = new Set(siblings.map((s2) => s2.id));
49903
52347
  const nodes = [];
49904
52348
  let sibIdx = 0;
49905
- for (const n2 of data.nodes) {
49906
- nodes.push(siblingIds.has(n2.id) ? reorderedSiblings[sibIdx++] ?? n2 : n2);
52349
+ for (const n3 of data.nodes) {
52350
+ nodes.push(siblingIds.has(n3.id) ? reorderedSiblings[sibIdx++] ?? n3 : n3);
49907
52351
  }
49908
52352
  return withEditedStructure(data, nodes);
49909
52353
  }
49910
52354
  function promoteDiagramNode(data, nodeId) {
49911
- const node = data.nodes.find((n2) => n2.id === nodeId);
52355
+ const node = data.nodes.find((n3) => n3.id === nodeId);
49912
52356
  if (!node || !node.parentId) {
49913
52357
  return data;
49914
52358
  }
49915
- const parent = data.nodes.find((n2) => n2.id === node.parentId);
52359
+ const parent = data.nodes.find((n3) => n3.id === node.parentId);
49916
52360
  if (!parent) {
49917
52361
  return data;
49918
52362
  }
49919
- const nodes = data.nodes.map((n2) => n2.id === nodeId ? { ...n2, parentId: parent.parentId } : n2);
52363
+ const nodes = data.nodes.map((n3) => n3.id === nodeId ? { ...n3, parentId: parent.parentId } : n3);
49920
52364
  const connections = (data.connections ?? []).filter((c2) => !(c2.sourceId === node.parentId && c2.destId === nodeId)).map((c2) => ({ ...c2 }));
49921
52365
  if (parent.parentId) {
49922
52366
  connections.push({
@@ -49930,18 +52374,18 @@ function promoteDiagramNode(data, nodeId) {
49930
52374
  return withEditedStructure(data, nodes, connections);
49931
52375
  }
49932
52376
  function demoteDiagramNode(data, nodeId) {
49933
- const node = data.nodes.find((n2) => n2.id === nodeId);
52377
+ const node = data.nodes.find((n3) => n3.id === nodeId);
49934
52378
  if (!node) {
49935
52379
  return data;
49936
52380
  }
49937
- const siblings = data.nodes.filter((n2) => n2.parentId === node.parentId);
49938
- const currentIndex = siblings.findIndex((n2) => n2.id === nodeId);
52381
+ const siblings = data.nodes.filter((n3) => n3.parentId === node.parentId);
52382
+ const currentIndex = siblings.findIndex((n3) => n3.id === nodeId);
49939
52383
  const previous = currentIndex > 0 ? siblings[currentIndex - 1] : void 0;
49940
52384
  if (!previous) {
49941
52385
  return data;
49942
52386
  }
49943
52387
  const newParentId = previous.id;
49944
- const nodes = data.nodes.map((n2) => n2.id === nodeId ? { ...n2, parentId: newParentId } : n2);
52388
+ const nodes = data.nodes.map((n3) => n3.id === nodeId ? { ...n3, parentId: newParentId } : n3);
49945
52389
  const connections = (data.connections ?? []).filter((c2) => !(c2.sourceId === node.parentId && c2.destId === nodeId)).map((c2) => ({ ...c2 }));
49946
52390
  connections.push({
49947
52391
  sourceId: newParentId,
@@ -50465,7 +52909,7 @@ function resolveDiagramReflowCategory(layoutType) {
50465
52909
 
50466
52910
  // diagram/edit/reflow.ts
50467
52911
  function diagramContentNodes(nodes) {
50468
- return nodes.filter((n2) => n2.text.length > 0);
52912
+ return nodes.filter((n3) => n3.text.length > 0);
50469
52913
  }
50470
52914
  function reflowDiagramLayout(data, bounds2) {
50471
52915
  const nodes = diagramContentNodes(data.nodes);
@@ -51597,7 +54041,7 @@ var IV = [
51597
54041
  1541459225
51598
54042
  ];
51599
54043
  var W = new Uint32Array(64);
51600
- var rotr = (x, n2) => x >>> n2 | x << 32 - n2;
54044
+ var rotr = (x, n3) => x >>> n3 | x << 32 - n3;
51601
54045
  function compress(h2, view, offset) {
51602
54046
  for (let i2 = 0; i2 < 16; i2++) W[i2] = view.getUint32(offset + i2 * 4);
51603
54047
  for (let i2 = 16; i2 < 64; i2++) {
@@ -52660,7 +55104,7 @@ var PartPatch = class {
52660
55104
  if (known !== void 0) return known;
52661
55105
  const taken = new Set(this.prefixes.values());
52662
55106
  let prefix = preferred;
52663
- for (let n2 = 1; taken.has(prefix); n2++) prefix = `${preferred}${n2}`;
55107
+ for (let n3 = 1; taken.has(prefix); n3++) prefix = `${preferred}${n3}`;
52664
55108
  this.prefixes.set(ns, prefix);
52665
55109
  const at2 = this.root.openEnd - (this.root.selfClosing ? 2 : 1);
52666
55110
  this.add(at2, at2, ` xmlns:${prefix}="${ns}"`);
@@ -55086,10 +57530,10 @@ function encodeBase64(bytes) {
55086
57530
  const a2 = bytes[i2];
55087
57531
  const b = bytes[i2 + 1];
55088
57532
  const c2 = bytes[i2 + 2];
55089
- const n2 = a2 << 16 | (b ?? 0) << 8 | (c2 ?? 0);
55090
- out += ALPHABET2[n2 >> 18] + ALPHABET2[n2 >> 12 & 63];
55091
- out += b === void 0 ? "=" : ALPHABET2[n2 >> 6 & 63];
55092
- out += c2 === void 0 ? "=" : ALPHABET2[n2 & 63];
57533
+ const n3 = a2 << 16 | (b ?? 0) << 8 | (c2 ?? 0);
57534
+ out += ALPHABET2[n3 >> 18] + ALPHABET2[n3 >> 12 & 63];
57535
+ out += b === void 0 ? "=" : ALPHABET2[n3 >> 6 & 63];
57536
+ out += c2 === void 0 ? "=" : ALPHABET2[n3 & 63];
55093
57537
  }
55094
57538
  return out;
55095
57539
  }
@@ -55411,8 +57855,8 @@ function md2(message) {
55411
57855
  }
55412
57856
 
55413
57857
  // digest/bit-ops.ts
55414
- function rotl32(x, n2) {
55415
- return (x << n2 | x >>> 32 - n2) >>> 0;
57858
+ function rotl32(x, n3) {
57859
+ return (x << n3 | x >>> 32 - n3) >>> 0;
55416
57860
  }
55417
57861
  function add32(...values) {
55418
57862
  let sum = 0;
@@ -55957,7 +58401,7 @@ function ripemd160(message) {
55957
58401
 
55958
58402
  // digest/sha1.ts
55959
58403
  var W2 = new Uint32Array(80);
55960
- var rotl = (x, n2) => x << n2 | x >>> 32 - n2;
58404
+ var rotl = (x, n3) => x << n3 | x >>> 32 - n3;
55961
58405
  function compress2(h2, view, offset) {
55962
58406
  for (let i2 = 0; i2 < 16; i2++) W2[i2] = view.getUint32(offset + i2 * 4);
55963
58407
  for (let i2 = 16; i2 < 80; i2++) W2[i2] = rotl(W2[i2 - 3] ^ W2[i2 - 8] ^ W2[i2 - 14] ^ W2[i2 - 16], 1);
@@ -57593,11 +60037,11 @@ function getCalloutViewBoxBounds(width, height, geometry, padding = 2) {
57593
60037
  }
57594
60038
 
57595
60039
  // geometry/cloud-bezier-paths.ts
57596
- function fmt(n2) {
57597
- if (!Number.isFinite(n2)) {
60040
+ function fmt(n3) {
60041
+ if (!Number.isFinite(n3)) {
57598
60042
  return "0";
57599
60043
  }
57600
- const rounded = Math.round(n2 * 100) / 100;
60044
+ const rounded = Math.round(n3 * 100) / 100;
57601
60045
  if (Object.is(rounded, -0)) {
57602
60046
  return "0";
57603
60047
  }
@@ -58013,8 +60457,8 @@ function aStarOrthogonal(nodes, start, end, inflated) {
58013
60457
  fScore.set(startKey, heuristic(start, end));
58014
60458
  const openSet = /* @__PURE__ */ new Set([startKey]);
58015
60459
  const nodeMap = /* @__PURE__ */ new Map();
58016
- for (const n2 of nodes) {
58017
- nodeMap.set(pointKey(n2), n2);
60460
+ for (const n3 of nodes) {
60461
+ nodeMap.set(pointKey(n3), n3);
58018
60462
  }
58019
60463
  const getLowest = () => {
58020
60464
  let best;
@@ -58859,7 +61303,7 @@ var MISC_ARROW_CONNECTION_SITES = {
58859
61303
  gd16("dy2", "+- yE 0 t"),
58860
61304
  gd16("dy22", "*/ dy2 1 2"),
58861
61305
  gd16("dy3", "*/ h 1 20"),
58862
- gd16("yD", "+- t dy22 dy3")
61306
+ gd16("yD", "+- dy22 0 dy3")
58863
61307
  ],
58864
61308
  sites: [
58865
61309
  cxn("cd4", "l", "b"),
@@ -62217,8 +64661,8 @@ function cross2(o, a2, b) {
62217
64661
  }
62218
64662
  function signedArea2(poly) {
62219
64663
  let area = 0;
62220
- for (let i2 = 0, n2 = poly.length; i2 < n2; i2++) {
62221
- const j = (i2 + 1) % n2;
64664
+ for (let i2 = 0, n3 = poly.length; i2 < n3; i2++) {
64665
+ const j = (i2 + 1) % n3;
62222
64666
  area += at(poly, i2).x * at(poly, j).y;
62223
64667
  area -= at(poly, j).x * at(poly, i2).y;
62224
64668
  }
@@ -62248,8 +64692,8 @@ function dedupPoly(poly) {
62248
64692
  }
62249
64693
  return result;
62250
64694
  }
62251
- function fmtNum(n2) {
62252
- const rounded = Math.round(n2 * 1e4) / 1e4;
64695
+ function fmtNum(n3) {
64696
+ const rounded = Math.round(n3 * 1e4) / 1e4;
62253
64697
  return String(rounded);
62254
64698
  }
62255
64699
  function pointInTriangle(p2, a2, b, c2) {
@@ -62262,8 +64706,8 @@ function pointInTriangle(p2, a2, b, c2) {
62262
64706
  }
62263
64707
  function pointInPolygon(pt2, poly) {
62264
64708
  let inside = false;
62265
- const n2 = poly.length;
62266
- for (let i2 = 0, j = n2 - 1; i2 < n2; j = i2++) {
64709
+ const n3 = poly.length;
64710
+ for (let i2 = 0, j = n3 - 1; i2 < n3; j = i2++) {
62267
64711
  const xi = at(poly, i2).x, yi = at(poly, i2).y;
62268
64712
  const xj = at(poly, j).x, yj = at(poly, j).y;
62269
64713
  if (yi > pt2.y !== yj > pt2.y && pt2.x < (xj - xi) * (pt2.y - yi) / (yj - yi) + xi) {
@@ -62319,15 +64763,15 @@ function sutherlandHodgman(subject, clip) {
62319
64763
  return output;
62320
64764
  }
62321
64765
  function isConvex(poly) {
62322
- const n2 = poly.length;
62323
- if (n2 < 3) {
64766
+ const n3 = poly.length;
64767
+ if (n3 < 3) {
62324
64768
  return false;
62325
64769
  }
62326
64770
  let sign = 0;
62327
- for (let i2 = 0; i2 < n2; i2++) {
64771
+ for (let i2 = 0; i2 < n3; i2++) {
62328
64772
  const o = at(poly, i2);
62329
- const a2 = at(poly, (i2 + 1) % n2);
62330
- const b = at(poly, (i2 + 2) % n2);
64773
+ const a2 = at(poly, (i2 + 1) % n3);
64774
+ const b = at(poly, (i2 + 2) % n3);
62331
64775
  const c2 = cross2(o, a2, b);
62332
64776
  if (Math.abs(c2) < EPSILON) {
62333
64777
  continue;
@@ -62348,17 +64792,17 @@ function triangulate(poly) {
62348
64792
  while (remaining.length > 3 && maxIterations > 0) {
62349
64793
  maxIterations--;
62350
64794
  let earFound = false;
62351
- const n2 = remaining.length;
62352
- for (let i2 = 0; i2 < n2; i2++) {
62353
- const prev = at(remaining, (i2 + n2 - 1) % n2);
64795
+ const n3 = remaining.length;
64796
+ for (let i2 = 0; i2 < n3; i2++) {
64797
+ const prev = at(remaining, (i2 + n3 - 1) % n3);
62354
64798
  const curr = at(remaining, i2);
62355
- const next = at(remaining, (i2 + 1) % n2);
64799
+ const next = at(remaining, (i2 + 1) % n3);
62356
64800
  if (cross2(prev, curr, next) <= EPSILON) {
62357
64801
  continue;
62358
64802
  }
62359
64803
  let isEar = true;
62360
- for (let j = 0; j < n2; j++) {
62361
- if (j === (i2 + n2 - 1) % n2 || j === i2 || j === (i2 + 1) % n2) {
64804
+ for (let j = 0; j < n3; j++) {
64805
+ if (j === (i2 + n3 - 1) % n3 || j === i2 || j === (i2 + 1) % n3) {
62362
64806
  continue;
62363
64807
  }
62364
64808
  if (pointInTriangle(at(remaining, j), prev, curr, next)) {
@@ -63255,7 +65699,7 @@ function tokenize(d) {
63255
65699
  for (const raw2 of matches2) {
63256
65700
  const type = raw2.charAt(0);
63257
65701
  const nums = raw2.slice(1).match(NUMBER_RE);
63258
- tokens.push({ type, values: nums ? nums.map((n2) => Number.parseFloat(n2)) : [] });
65702
+ tokens.push({ type, values: nums ? nums.map((n3) => Number.parseFloat(n3)) : [] });
63259
65703
  }
63260
65704
  return tokens;
63261
65705
  }
@@ -64264,8 +66708,8 @@ function imageRectFromCrop(frame2, insets) {
64264
66708
  height
64265
66709
  };
64266
66710
  }
64267
- function round43(n2) {
64268
- return Math.round(n2 * 1e4) / 1e4;
66711
+ function round43(n3) {
66712
+ return Math.round(n3 * 1e4) / 1e4;
64269
66713
  }
64270
66714
  function cropUpdateFromRects(frame2, image) {
64271
66715
  return {
@@ -64299,7 +66743,7 @@ function pictureTileAlignment(alignment) {
64299
66743
  function pictureTileGeometry(frame2, source2, tile, dpi = 96) {
64300
66744
  const width = source2.width * (tile.scaleX ?? 1) * 96 / dpi;
64301
66745
  const height = source2.height * (tile.scaleY ?? 1) * 96 / dpi;
64302
- if (![width, height].every((n2) => Number.isFinite(n2) && n2 > 0)) return void 0;
66746
+ if (![width, height].every((n3) => Number.isFinite(n3) && n3 > 0)) return void 0;
64303
66747
  const anchor = pictureTileAlignment(tile.alignment);
64304
66748
  return {
64305
66749
  width,