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.
- package/README.md +4 -0
- package/dist/{PptxHandler-3AGIITR7.mjs → PptxHandler-3VAVJDFB.mjs} +2 -2
- package/dist/PptxHandler-V23RDNEX.cjs +14 -0
- package/dist/PptxHandler-WB3KL2WH.mjs +5 -0
- package/dist/{PresentationBuilder-JNID4B4Z.mjs → PresentationBuilder-7LJMTRJ6.mjs} +2 -2
- package/dist/{PresentationBuilder-MZBKYOYD.cjs → PresentationBuilder-KHL6GONR.cjs} +6 -6
- package/dist/{PresentationBuilder-5DPKFUXP.mjs → PresentationBuilder-PY2GB4IG.mjs} +3 -3
- package/dist/automation/index.cjs +79 -91
- package/dist/automation/index.mjs +79 -91
- package/dist/chart/index.cjs +12 -9
- package/dist/chart/index.mjs +12 -9
- package/dist/{chunk-ZYCBJKAE.mjs → chunk-243ZYX2B.mjs} +1 -1
- package/dist/{chunk-LRBWCRQ3.cjs → chunk-3J6VIKLP.cjs} +3 -3
- package/dist/{chunk-DD7COXWR.mjs → chunk-4LEVL6ZW.mjs} +30 -13
- package/dist/chunk-CODMW5KF.cjs +110 -0
- package/dist/{chunk-HTELXT2N.mjs → chunk-HLYOHD2Z.mjs} +30 -12
- package/dist/{chunk-P3WAKBVS.mjs → chunk-IPV3J3I5.mjs} +82 -90
- package/dist/{chunk-6LGRRQ3K.mjs → chunk-JHYU7HGG.mjs} +1 -1
- package/dist/{chunk-JXR6YWBW.mjs → chunk-KCDLTVUI.mjs} +125 -126
- package/dist/chunk-O3YGBYGZ.mjs +104 -0
- package/dist/{chunk-75KBNUKS.cjs → chunk-QZPOPUI5.cjs} +82 -89
- package/dist/{chunk-3BIFRTU4.cjs → chunk-RNZQ2OU4.cjs} +1294 -1276
- package/dist/{chunk-UE23HF2N.mjs → chunk-VKFKEVHK.mjs} +1 -1
- package/dist/{chunk-KKVD3R6O.mjs → chunk-WEAWSXUX.mjs} +4 -4
- package/dist/diagram/index.cjs +499 -370
- package/dist/diagram/index.d.ts +1 -0
- package/dist/diagram/index.d.ts.map +1 -1
- package/dist/diagram/index.mjs +495 -371
- package/dist/docx/embedded.cjs +67 -89
- package/dist/docx/embedded.mjs +67 -89
- package/dist/docx/index.cjs +125 -110
- package/dist/docx/index.mjs +125 -110
- package/dist/docx/layout/index.cjs +257 -110
- package/dist/docx/layout/index.d.ts +1 -0
- package/dist/docx/layout/index.d.ts.map +1 -1
- package/dist/docx/layout/index.mjs +257 -111
- package/dist/docx/layout/webfont-runs.d.ts +5 -0
- package/dist/docx/layout/webfont-runs.d.ts.map +1 -0
- package/dist/docx/load/index.cjs +67 -89
- package/dist/docx/load/index.mjs +67 -89
- package/dist/docx/shape-svg.d.ts.map +1 -1
- package/dist/docx/ui/index.cjs +79 -98
- package/dist/docx/ui/index.mjs +79 -98
- package/dist/drawingml/dash-pattern.d.ts +61 -0
- package/dist/drawingml/dash-pattern.d.ts.map +1 -0
- package/dist/drawingml/index.cjs +249 -43
- package/dist/drawingml/index.d.ts +3 -0
- package/dist/drawingml/index.d.ts.map +1 -1
- package/dist/drawingml/index.mjs +241 -44
- package/dist/drawingml/rect-path-gradient.d.ts +5 -0
- package/dist/drawingml/rect-path-gradient.d.ts.map +1 -1
- package/dist/drawingml/shape-path-gradient.d.ts +57 -0
- package/dist/drawingml/shape-path-gradient.d.ts.map +1 -0
- package/dist/geometry/index.cjs +68 -90
- package/dist/geometry/index.mjs +68 -90
- package/dist/geometry/preset-shape-definitions-exact-action-buttons.d.ts +2 -2
- package/dist/geometry/preset-shape-definitions-exact-action-buttons.d.ts.map +1 -1
- package/dist/geometry/preset-shape-definitions-exact-arrows.d.ts.map +1 -1
- package/dist/geometry/preset-shape-definitions-exact-scrolls.d.ts.map +1 -1
- package/dist/index.cjs +2937 -493
- package/dist/index.mjs +2937 -493
- package/dist/pptx/automation/index.cjs +366 -197
- package/dist/pptx/automation/index.d.ts +11 -17
- package/dist/pptx/automation/index.d.ts.map +1 -1
- package/dist/pptx/automation/index.mjs +156 -71
- package/dist/pptx/chunks/{elements-6BMEOo7i.d.ts → elements-PBugbKtv.d.ts} +3 -873
- package/dist/pptx/chunks/elements-PBugbKtv.d.ts.map +1 -0
- package/dist/pptx/chunks/{index-BbXLv6As.d.ts → index-Bj-hur0D.d.ts} +4 -4
- package/dist/pptx/chunks/{index-BbXLv6As.d.ts.map → index-Bj-hur0D.d.ts.map} +1 -1
- package/dist/pptx/chunks/{index-DvN0TkJJ.d.ts → index-CCJiD-Bm.d.ts} +14 -10
- package/dist/pptx/chunks/index-CCJiD-Bm.d.ts.map +1 -0
- package/dist/pptx/chunks/{index-Dija_Wth.d.ts → index-CGNb1TV9.d.ts} +22 -4
- package/dist/pptx/chunks/index-CGNb1TV9.d.ts.map +1 -0
- package/dist/pptx/chunks/table-C7ITXL3Y.d.ts +875 -0
- package/dist/pptx/chunks/table-C7ITXL3Y.d.ts.map +1 -0
- package/dist/pptx/chunks/{text-operations-DorONr3h.d.ts → text-operations-BNJr7aGa.d.ts} +3 -2
- package/dist/pptx/chunks/text-operations-BNJr7aGa.d.ts.map +1 -0
- package/dist/pptx/cli/index.cjs +180 -102
- package/dist/pptx/cli/index.d.ts +1 -1
- package/dist/pptx/cli/index.mjs +4 -4
- package/dist/pptx/converter/index.cjs +69 -91
- package/dist/pptx/converter/index.d.ts +1 -1
- package/dist/pptx/converter/index.mjs +2 -2
- package/dist/pptx/editor/render/custom-show-operations.cjs +2 -2
- package/dist/pptx/editor/render/custom-show-operations.mjs +1 -1
- package/dist/pptx/editor/render/find-replace.cjs +15 -15
- package/dist/pptx/editor/render/find-replace.d.ts +2 -2
- package/dist/pptx/editor/render/find-replace.mjs +2 -2
- package/dist/pptx/editor/render/slide-operations.cjs +9 -9
- package/dist/pptx/editor/render/slide-operations.mjs +3 -3
- package/dist/pptx/editor/render/table-data-grid-ops.cjs +5 -5
- package/dist/pptx/editor/render/table-data-grid-ops.mjs +1 -1
- package/dist/pptx/editor/render/table-layout.cjs +6 -6
- package/dist/pptx/editor/render/table-layout.d.ts +8 -37
- package/dist/pptx/editor/render/table-layout.d.ts.map +1 -1
- package/dist/pptx/editor/render/table-layout.mjs +1 -1
- package/dist/pptx/editor/render/text-runs-style-patch.d.ts +1 -1
- package/dist/pptx/editor/render/text-style-scope.d.ts +1 -1
- package/dist/pptx/index.cjs +225 -135
- package/dist/pptx/index.d.ts +6 -5
- package/dist/pptx/index.mjs +5 -5
- package/dist/pptx/node/index.d.ts +1 -1
- package/dist/teams/index.cjs +136 -91
- package/dist/teams/index.mjs +136 -91
- package/dist/text/css-font-family.d.ts.map +1 -1
- package/dist/text/font-metrics/design-advances.generated.d.ts +3 -1
- package/dist/text/font-metrics/design-advances.generated.d.ts.map +1 -1
- package/dist/text/index.cjs +2252 -0
- package/dist/text/index.d.ts +1 -0
- package/dist/text/index.d.ts.map +1 -1
- package/dist/text/index.mjs +2231 -1
- package/dist/text/metric-font-family.d.ts.map +1 -1
- package/dist/text/webfonts/font-weight-names.d.ts +66 -0
- package/dist/text/webfonts/font-weight-names.d.ts.map +1 -0
- package/dist/text/webfonts/google-fonts-catalogue.d.ts +14 -0
- package/dist/text/webfonts/google-fonts-catalogue.d.ts.map +1 -0
- package/dist/text/webfonts/google-fonts-lookup.d.ts +7 -0
- package/dist/text/webfonts/google-fonts-lookup.d.ts.map +1 -0
- package/dist/text/webfonts/google-fonts-request.d.ts +57 -0
- package/dist/text/webfonts/google-fonts-request.d.ts.map +1 -0
- package/dist/text/webfonts/index.d.ts +12 -0
- package/dist/text/webfonts/index.d.ts.map +1 -0
- package/dist/text/webfonts/metric-clones.d.ts +17 -0
- package/dist/text/webfonts/metric-clones.d.ts.map +1 -0
- package/dist/text/webfonts/webfont-faces.d.ts +24 -0
- package/dist/text/webfonts/webfont-faces.d.ts.map +1 -0
- package/dist/visio/index.cjs +64 -0
- package/dist/visio/index.d.ts +1 -0
- package/dist/visio/index.d.ts.map +1 -1
- package/dist/visio/index.mjs +64 -1
- package/dist/visio/ui/index.cjs +8 -0
- package/dist/visio/ui/index.mjs +8 -0
- package/dist/visio/webfont-runs.d.ts +27 -0
- package/dist/visio/webfont-runs.d.ts.map +1 -0
- package/dist/xlsx/collab/index.cjs +67 -89
- package/dist/xlsx/collab/index.mjs +67 -89
- package/dist/xlsx/index.cjs +2253 -118
- package/dist/xlsx/index.mjs +2249 -119
- package/dist/xlsx/layout/font-stack.d.ts +8 -0
- package/dist/xlsx/layout/font-stack.d.ts.map +1 -0
- package/dist/xlsx/layout/index.d.ts +3 -1
- package/dist/xlsx/layout/index.d.ts.map +1 -1
- package/dist/xlsx/layout/shape-paint.d.ts.map +1 -1
- package/dist/xlsx/layout/shape-view.d.ts.map +1 -1
- package/dist/xlsx/layout/style-view.d.ts +2 -0
- package/dist/xlsx/layout/style-view.d.ts.map +1 -1
- package/dist/xlsx/layout/webfont-runs.d.ts +11 -0
- package/dist/xlsx/layout/webfont-runs.d.ts.map +1 -0
- package/dist/xlsx/load/index.cjs +67 -89
- package/dist/xlsx/load/index.mjs +67 -89
- package/dist/xlsx/ui/commands/util.d.ts.map +1 -1
- package/dist/xlsx/ui/context.d.ts +5 -0
- package/dist/xlsx/ui/context.d.ts.map +1 -1
- package/dist/xlsx/ui/grid/cell-paint.d.ts +3 -2
- package/dist/xlsx/ui/grid/cell-paint.d.ts.map +1 -1
- package/dist/xlsx/ui/index.cjs +2093 -102
- package/dist/xlsx/ui/index.mjs +2093 -103
- package/package.json +1 -1
- package/dist/PptxHandler-EL4E4SPH.mjs +0 -5
- package/dist/PptxHandler-OIZ3R3DJ.cjs +0 -14
- package/dist/chunk-3IT6ZD7K.mjs +0 -213
- package/dist/chunk-FRUB573B.cjs +0 -219
- package/dist/pptx/chunks/elements-6BMEOo7i.d.ts.map +0 -1
- package/dist/pptx/chunks/index-Dija_Wth.d.ts.map +0 -1
- package/dist/pptx/chunks/index-DvN0TkJJ.d.ts.map +0 -1
- package/dist/pptx/chunks/text-operations-DorONr3h.d.ts.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -1096,46 +1096,46 @@ __export(chart_exports, {
|
|
|
1096
1096
|
|
|
1097
1097
|
// chart/regression.ts
|
|
1098
1098
|
function computeLinearRegression(xVals, yVals) {
|
|
1099
|
-
const
|
|
1100
|
-
if (
|
|
1099
|
+
const n3 = xVals.length;
|
|
1100
|
+
if (n3 < 2) {
|
|
1101
1101
|
return { slope: 0, intercept: 0, rSquared: 0 };
|
|
1102
1102
|
}
|
|
1103
1103
|
let sumX = 0;
|
|
1104
1104
|
let sumY = 0;
|
|
1105
1105
|
let sumXY = 0;
|
|
1106
1106
|
let sumXX = 0;
|
|
1107
|
-
for (let i2 = 0; i2 <
|
|
1107
|
+
for (let i2 = 0; i2 < n3; i2++) {
|
|
1108
1108
|
sumX += xVals[i2];
|
|
1109
1109
|
sumY += yVals[i2];
|
|
1110
1110
|
sumXY += xVals[i2] * yVals[i2];
|
|
1111
1111
|
sumXX += xVals[i2] * xVals[i2];
|
|
1112
1112
|
}
|
|
1113
|
-
const denom =
|
|
1113
|
+
const denom = n3 * sumXX - sumX * sumX;
|
|
1114
1114
|
if (Math.abs(denom) < 1e-12) {
|
|
1115
|
-
return { slope: 0, intercept: sumY /
|
|
1115
|
+
return { slope: 0, intercept: sumY / n3, rSquared: 0 };
|
|
1116
1116
|
}
|
|
1117
|
-
const slope = (
|
|
1118
|
-
const intercept = (sumY - slope * sumX) /
|
|
1117
|
+
const slope = (n3 * sumXY - sumX * sumY) / denom;
|
|
1118
|
+
const intercept = (sumY - slope * sumX) / n3;
|
|
1119
1119
|
const ssRes = yVals.reduce((s2, y, i2) => s2 + (y - (slope * xVals[i2] + intercept)) ** 2, 0);
|
|
1120
|
-
const meanY = sumY /
|
|
1120
|
+
const meanY = sumY / n3;
|
|
1121
1121
|
const ssTot = yVals.reduce((s2, y) => s2 + (y - meanY) ** 2, 0);
|
|
1122
1122
|
const rSquared = ssTot > 0 ? 1 - ssRes / ssTot : 0;
|
|
1123
1123
|
return { slope, intercept, rSquared };
|
|
1124
1124
|
}
|
|
1125
1125
|
function fitPolynomial(xVals, yVals, order) {
|
|
1126
|
-
const
|
|
1126
|
+
const n3 = xVals.length;
|
|
1127
1127
|
const m = order + 1;
|
|
1128
1128
|
const matrix2 = Array.from({ length: m }, () => Array(m + 1).fill(0));
|
|
1129
1129
|
for (let i2 = 0; i2 < m; i2++) {
|
|
1130
1130
|
for (let j = 0; j < m; j++) {
|
|
1131
1131
|
let sum2 = 0;
|
|
1132
|
-
for (let k = 0; k <
|
|
1132
|
+
for (let k = 0; k < n3; k++) {
|
|
1133
1133
|
sum2 += xVals[k] ** (i2 + j);
|
|
1134
1134
|
}
|
|
1135
1135
|
matrix2[i2][j] = sum2;
|
|
1136
1136
|
}
|
|
1137
1137
|
let sum = 0;
|
|
1138
|
-
for (let k = 0; k <
|
|
1138
|
+
for (let k = 0; k < n3; k++) {
|
|
1139
1139
|
sum += yVals[k] * xVals[k] ** i2;
|
|
1140
1140
|
}
|
|
1141
1141
|
matrix2[i2][m] = sum;
|
|
@@ -1168,14 +1168,14 @@ function fitPolynomial(xVals, yVals, order) {
|
|
|
1168
1168
|
return matrix2.map((row2) => row2[m]);
|
|
1169
1169
|
}
|
|
1170
1170
|
function computeRSquared(xVals, yVals, evalFn) {
|
|
1171
|
-
const
|
|
1172
|
-
if (
|
|
1171
|
+
const n3 = xVals.length;
|
|
1172
|
+
if (n3 === 0) {
|
|
1173
1173
|
return 0;
|
|
1174
1174
|
}
|
|
1175
|
-
const meanY = yVals.reduce((s2, y) => s2 + y, 0) /
|
|
1175
|
+
const meanY = yVals.reduce((s2, y) => s2 + y, 0) / n3;
|
|
1176
1176
|
let ssRes = 0;
|
|
1177
1177
|
let ssTot = 0;
|
|
1178
|
-
for (let i2 = 0; i2 <
|
|
1178
|
+
for (let i2 = 0; i2 < n3; i2++) {
|
|
1179
1179
|
ssRes += (yVals[i2] - evalFn(xVals[i2])) ** 2;
|
|
1180
1180
|
ssTot += (yVals[i2] - meanY) ** 2;
|
|
1181
1181
|
}
|
|
@@ -2147,8 +2147,8 @@ function chartStylePresetOfColors(seriesColors) {
|
|
|
2147
2147
|
}
|
|
2148
2148
|
|
|
2149
2149
|
// chart/quick-layouts.ts
|
|
2150
|
-
var L = (
|
|
2151
|
-
n:
|
|
2150
|
+
var L = (n3, flags, gapWidth, overlap) => ({
|
|
2151
|
+
n: n3,
|
|
2152
2152
|
title: false,
|
|
2153
2153
|
legend: null,
|
|
2154
2154
|
dataLabels: false,
|
|
@@ -2191,8 +2191,8 @@ var CHART_QUICK_LAYOUTS = [
|
|
|
2191
2191
|
L(10, { title: true, legend: "r", majorGridlines: true }, 75, 40),
|
|
2192
2192
|
L(11, { legend: "r", majorGridlines: true }, 150, 0)
|
|
2193
2193
|
];
|
|
2194
|
-
function findChartQuickLayout(
|
|
2195
|
-
return CHART_QUICK_LAYOUTS.find((layout) => layout.n ===
|
|
2194
|
+
function findChartQuickLayout(n3) {
|
|
2195
|
+
return CHART_QUICK_LAYOUTS.find((layout) => layout.n === n3);
|
|
2196
2196
|
}
|
|
2197
2197
|
var CHART_QUICK_LAYOUT_AXIS_TITLE = "Axis Title";
|
|
2198
2198
|
|
|
@@ -2493,8 +2493,8 @@ function chartErrorBarAmount(options2, values, displayIndex, sourceIndex, side)
|
|
|
2493
2493
|
|
|
2494
2494
|
// chart/radar-geometry.ts
|
|
2495
2495
|
function radarAngle(index, catCount) {
|
|
2496
|
-
const
|
|
2497
|
-
return Math.PI * 2 * index /
|
|
2496
|
+
const n3 = Math.max(catCount, 1);
|
|
2497
|
+
return Math.PI * 2 * index / n3 - Math.PI / 2;
|
|
2498
2498
|
}
|
|
2499
2499
|
function computeRadarPoints(values, maxVal, radius, cx, cy, catCount) {
|
|
2500
2500
|
const denom = maxVal > 0 ? maxVal : 1;
|
|
@@ -2504,9 +2504,9 @@ function computeRadarPoints(values, maxVal, radius, cx, cy, catCount) {
|
|
|
2504
2504
|
});
|
|
2505
2505
|
}
|
|
2506
2506
|
function radarRingPoints(cx, cy, rr, catCount) {
|
|
2507
|
-
const
|
|
2508
|
-
return Array.from({ length:
|
|
2509
|
-
const angle = radarAngle(i2,
|
|
2507
|
+
const n3 = Math.max(catCount, 1);
|
|
2508
|
+
return Array.from({ length: n3 }, (_, i2) => {
|
|
2509
|
+
const angle = radarAngle(i2, n3);
|
|
2510
2510
|
return `${(cx + rr * Math.cos(angle)).toFixed(2)},${(cy + rr * Math.sin(angle)).toFixed(2)}`;
|
|
2511
2511
|
}).join(" ");
|
|
2512
2512
|
}
|
|
@@ -2835,8 +2835,8 @@ var isLowSurrogate = (text3, at2) => {
|
|
|
2835
2835
|
const code = text3.charCodeAt(at2);
|
|
2836
2836
|
return code >= 56320 && code <= 57343;
|
|
2837
2837
|
};
|
|
2838
|
-
function shortestEdit(
|
|
2839
|
-
const max = Math.min(
|
|
2838
|
+
function shortestEdit(n3, m, same5, maxEdits) {
|
|
2839
|
+
const max = Math.min(n3 + m, maxEdits);
|
|
2840
2840
|
const offset = max + 1;
|
|
2841
2841
|
const v = new Int32Array(2 * max + 3);
|
|
2842
2842
|
const trace = [];
|
|
@@ -2845,20 +2845,20 @@ function shortestEdit(n2, m, same5, maxEdits) {
|
|
|
2845
2845
|
const down = k === -d || k !== d && v[offset + k - 1] < v[offset + k + 1];
|
|
2846
2846
|
let x = down ? v[offset + k + 1] : v[offset + k - 1] + 1;
|
|
2847
2847
|
let y = x - k;
|
|
2848
|
-
while (x <
|
|
2848
|
+
while (x < n3 && y < m && same5(x, y)) {
|
|
2849
2849
|
x++;
|
|
2850
2850
|
y++;
|
|
2851
2851
|
}
|
|
2852
2852
|
v[offset + k] = x;
|
|
2853
|
-
if (x >=
|
|
2853
|
+
if (x >= n3 && y >= m) return backtrack(trace, n3, m, d);
|
|
2854
2854
|
}
|
|
2855
2855
|
trace.push(v.slice(offset - d, offset + d + 1));
|
|
2856
2856
|
}
|
|
2857
2857
|
return void 0;
|
|
2858
2858
|
}
|
|
2859
|
-
function backtrack(trace,
|
|
2859
|
+
function backtrack(trace, n3, m, d) {
|
|
2860
2860
|
const edits = [];
|
|
2861
|
-
let x =
|
|
2861
|
+
let x = n3;
|
|
2862
2862
|
let y = m;
|
|
2863
2863
|
for (let step = d; step > 0; step--) {
|
|
2864
2864
|
const previous = trace[step - 1];
|
|
@@ -3310,15 +3310,15 @@ function* topLevelNodes(xml2, namespaces) {
|
|
|
3310
3310
|
const level4 = root.childNodes;
|
|
3311
3311
|
const stack = [root];
|
|
3312
3312
|
let top = root;
|
|
3313
|
-
const
|
|
3313
|
+
const n3 = source2.length;
|
|
3314
3314
|
let pos = 0;
|
|
3315
|
-
while (pos <
|
|
3315
|
+
while (pos < n3) {
|
|
3316
3316
|
if (level4.length && stack.length === 1) {
|
|
3317
3317
|
yield* level4;
|
|
3318
3318
|
level4.length = 0;
|
|
3319
3319
|
}
|
|
3320
3320
|
const lt = source2.indexOf("<", pos);
|
|
3321
|
-
const end = lt < 0 ?
|
|
3321
|
+
const end = lt < 0 ? n3 : lt;
|
|
3322
3322
|
if (end > pos) {
|
|
3323
3323
|
const text3 = decode(source2.slice(pos, end));
|
|
3324
3324
|
if (text3 === void 0) return false;
|
|
@@ -3374,10 +3374,10 @@ function skipCommentOrCdata(source2, lt, parent) {
|
|
|
3374
3374
|
return -1;
|
|
3375
3375
|
}
|
|
3376
3376
|
function startTag(source2, from, namespaces) {
|
|
3377
|
-
const
|
|
3377
|
+
const n3 = source2.length;
|
|
3378
3378
|
let i2 = from;
|
|
3379
3379
|
let colon = -1;
|
|
3380
|
-
while (i2 <
|
|
3380
|
+
while (i2 < n3) {
|
|
3381
3381
|
const code = source2.charCodeAt(i2);
|
|
3382
3382
|
if (isSpace(code) || code === 62 || code === 47) break;
|
|
3383
3383
|
if (code === 58) {
|
|
@@ -3397,8 +3397,8 @@ function startTag(source2, from, namespaces) {
|
|
|
3397
3397
|
ns || null
|
|
3398
3398
|
);
|
|
3399
3399
|
for (; ; ) {
|
|
3400
|
-
while (i2 <
|
|
3401
|
-
if (i2 >=
|
|
3400
|
+
while (i2 < n3 && isSpace(source2.charCodeAt(i2))) i2++;
|
|
3401
|
+
if (i2 >= n3) return void 0;
|
|
3402
3402
|
const code = source2.charCodeAt(i2);
|
|
3403
3403
|
if (code === 62) return { element: element4, selfClosing: false, end: i2 + 1 };
|
|
3404
3404
|
if (code === 47) {
|
|
@@ -3412,7 +3412,7 @@ function startTag(source2, from, namespaces) {
|
|
|
3412
3412
|
const attrPrefix = name2.includes(":") ? name2.slice(0, name2.indexOf(":")) : "";
|
|
3413
3413
|
if (attrPrefix && attrPrefix !== "xml" && !namespaces[attrPrefix]) return void 0;
|
|
3414
3414
|
let q = eq + 1;
|
|
3415
|
-
while (q <
|
|
3415
|
+
while (q < n3 && isSpace(source2.charCodeAt(q))) q++;
|
|
3416
3416
|
const quote = source2[q];
|
|
3417
3417
|
if (quote !== '"' && quote !== "'") return void 0;
|
|
3418
3418
|
const close = source2.indexOf(quote, q + 1);
|
|
@@ -3424,7 +3424,7 @@ function startTag(source2, from, namespaces) {
|
|
|
3424
3424
|
element4.attrs.push(name2, value);
|
|
3425
3425
|
i2 = close + 1;
|
|
3426
3426
|
const after = source2.charCodeAt(i2);
|
|
3427
|
-
if (i2 <
|
|
3427
|
+
if (i2 < n3 && !isSpace(after) && after !== 62 && after !== 47) return void 0;
|
|
3428
3428
|
}
|
|
3429
3429
|
}
|
|
3430
3430
|
var compiler = xpath;
|
|
@@ -3481,7 +3481,7 @@ function descendants(root, local) {
|
|
|
3481
3481
|
function orderedColorTransforms(channels, transforms) {
|
|
3482
3482
|
let { r, g: g3, b } = channels;
|
|
3483
3483
|
let alpha = 1;
|
|
3484
|
-
const
|
|
3484
|
+
const wrap3 = (value) => (value % 360 + 360) % 360;
|
|
3485
3485
|
for (const transform6 of transforms) {
|
|
3486
3486
|
const { name: name2, value } = transform6;
|
|
3487
3487
|
const fraction2 = parseDrawingFraction(value);
|
|
@@ -3499,14 +3499,14 @@ function orderedColorTransforms(channels, transforms) {
|
|
|
3499
3499
|
[r, g3, b] = [mix(r), mix(g3), mix(b)];
|
|
3500
3500
|
} else {
|
|
3501
3501
|
const hsl = rgbToHsl(r, g3, b);
|
|
3502
|
-
if (name2 === "comp") hsl.h =
|
|
3502
|
+
if (name2 === "comp") hsl.h = wrap3(hsl.h + 180);
|
|
3503
3503
|
else if (name2 === "hue") {
|
|
3504
3504
|
const hue = parseDrawingHueDegrees(value);
|
|
3505
|
-
if (hue !== void 0) hsl.h =
|
|
3505
|
+
if (hue !== void 0) hsl.h = wrap3(hue);
|
|
3506
3506
|
} else if (name2 === "hueOff") {
|
|
3507
3507
|
const hue = parseDrawingHueDegrees(value);
|
|
3508
|
-
if (hue !== void 0) hsl.h =
|
|
3509
|
-
} else if (name2 === "hueMod" && fraction2 !== void 0) hsl.h =
|
|
3508
|
+
if (hue !== void 0) hsl.h = wrap3(hsl.h + hue);
|
|
3509
|
+
} else if (name2 === "hueMod" && fraction2 !== void 0) hsl.h = wrap3(hsl.h * fraction2);
|
|
3510
3510
|
else if (name2 === "sat" && fraction2 !== void 0) hsl.s = clampUnitInterval(fraction2);
|
|
3511
3511
|
else if (name2 === "satMod" && fraction2 !== void 0) hsl.s *= fraction2;
|
|
3512
3512
|
else if (name2 === "satOff" && fraction2 !== void 0)
|
|
@@ -3664,13 +3664,13 @@ function resolveDrawingColor(color2, theme, options2) {
|
|
|
3664
3664
|
}
|
|
3665
3665
|
if (["hue", "hueMod", "hueOff", "sat", "satMod", "satOff", "lum", "lumMod", "lumOff"].some(has)) {
|
|
3666
3666
|
const hsl = rgbToHsl(r, g3, b);
|
|
3667
|
-
const
|
|
3667
|
+
const wrap3 = (degrees) => (degrees % 360 + 360) % 360;
|
|
3668
3668
|
const hueAbs = parseDrawingHueDegrees(find("hue"));
|
|
3669
|
-
if (hueAbs !== void 0) hsl.h =
|
|
3669
|
+
if (hueAbs !== void 0) hsl.h = wrap3(hueAbs);
|
|
3670
3670
|
const hueMod = parseDrawingFraction(find("hueMod"));
|
|
3671
|
-
if (hueMod !== void 0) hsl.h =
|
|
3671
|
+
if (hueMod !== void 0) hsl.h = wrap3(hsl.h * hueMod);
|
|
3672
3672
|
const hueOff = parseDrawingHueDegrees(find("hueOff"));
|
|
3673
|
-
if (hueOff !== void 0) hsl.h =
|
|
3673
|
+
if (hueOff !== void 0) hsl.h = wrap3(hsl.h + hueOff);
|
|
3674
3674
|
const satAbs = parseDrawingFraction(find("sat"));
|
|
3675
3675
|
if (satAbs !== void 0) hsl.s = clampUnitInterval(satAbs);
|
|
3676
3676
|
const satMod = parseDrawingFraction(find("satMod"));
|
|
@@ -3747,12 +3747,12 @@ var CHART_COLOR_PALETTES = [
|
|
|
3747
3747
|
function findChartColorPalette(id) {
|
|
3748
3748
|
return CHART_COLOR_PALETTES.find((palette) => palette.id === id);
|
|
3749
3749
|
}
|
|
3750
|
-
function withinLinearTransform(i2,
|
|
3751
|
-
if (
|
|
3750
|
+
function withinLinearTransform(i2, n3) {
|
|
3751
|
+
if (n3 <= 1) {
|
|
3752
3752
|
return {};
|
|
3753
3753
|
}
|
|
3754
|
-
const step = 140 / (
|
|
3755
|
-
const centre = (
|
|
3754
|
+
const step = 140 / (n3 + 1);
|
|
3755
|
+
const centre = (n3 - 1) / 2;
|
|
3756
3756
|
const value = 100 - step * Math.abs(i2 - centre);
|
|
3757
3757
|
if (i2 < centre) {
|
|
3758
3758
|
return { shade: Math.floor(value + 1e-9) * 1e3 };
|
|
@@ -3762,7 +3762,7 @@ function withinLinearTransform(i2, n2) {
|
|
|
3762
3762
|
}
|
|
3763
3763
|
return {};
|
|
3764
3764
|
}
|
|
3765
|
-
function chartPaletteSeriesColorChoice(palette, i2,
|
|
3765
|
+
function chartPaletteSeriesColorChoice(palette, i2, n3) {
|
|
3766
3766
|
let base;
|
|
3767
3767
|
let transform6;
|
|
3768
3768
|
if (palette.meth === "cycle") {
|
|
@@ -3770,9 +3770,9 @@ function chartPaletteSeriesColorChoice(palette, i2, n2) {
|
|
|
3770
3770
|
const round3 = Math.floor(i2 / palette.base.length);
|
|
3771
3771
|
transform6 = (palette.variations.length ? palette.variations[round3 % palette.variations.length] : {}) ?? {};
|
|
3772
3772
|
} else {
|
|
3773
|
-
const index = palette.meth === "withinLinearReversed" ?
|
|
3773
|
+
const index = palette.meth === "withinLinearReversed" ? n3 - 1 - i2 : i2;
|
|
3774
3774
|
base = palette.base[0];
|
|
3775
|
-
transform6 = withinLinearTransform(index,
|
|
3775
|
+
transform6 = withinLinearTransform(index, n3);
|
|
3776
3776
|
}
|
|
3777
3777
|
if (!base) throw new RangeError("A chart palette must have a base color");
|
|
3778
3778
|
return {
|
|
@@ -3781,12 +3781,12 @@ function chartPaletteSeriesColorChoice(palette, i2, n2) {
|
|
|
3781
3781
|
transforms: Object.entries(transform6).map(([name2, value]) => ({ name: name2, value: String(value) }))
|
|
3782
3782
|
};
|
|
3783
3783
|
}
|
|
3784
|
-
function chartPaletteSeriesColor(palette, i2,
|
|
3785
|
-
const choice = chartPaletteSeriesColorChoice(palette, i2,
|
|
3784
|
+
function chartPaletteSeriesColor(palette, i2, n3, scheme2) {
|
|
3785
|
+
const choice = chartPaletteSeriesColorChoice(palette, i2, n3);
|
|
3786
3786
|
return (resolveDrawingColor(choice, { scheme: (name2) => scheme2[name2] })?.hex ?? scheme2[choice.value]).toUpperCase();
|
|
3787
3787
|
}
|
|
3788
|
-
function chartPaletteColors(palette,
|
|
3789
|
-
return Array.from({ length:
|
|
3788
|
+
function chartPaletteColors(palette, n3, scheme2) {
|
|
3789
|
+
return Array.from({ length: n3 }, (_, i2) => chartPaletteSeriesColor(palette, i2, n3, scheme2));
|
|
3790
3790
|
}
|
|
3791
3791
|
|
|
3792
3792
|
// chart/color-style.ts
|
|
@@ -3963,12 +3963,12 @@ function parseArtisticPictureExtension(node) {
|
|
|
3963
3963
|
const key = ARTISTIC_PRIMARY_ATTRIBUTE[effect.localName];
|
|
3964
3964
|
if (!key) return void 0;
|
|
3965
3965
|
const raw2 = key ? effect.getAttribute(key) : null;
|
|
3966
|
-
const
|
|
3967
|
-
if (!Number.isFinite(
|
|
3966
|
+
const n3 = raw2 === null ? 0 : Number(raw2);
|
|
3967
|
+
if (!Number.isFinite(n3)) return void 0;
|
|
3968
3968
|
return {
|
|
3969
3969
|
kind: "artistic",
|
|
3970
3970
|
name: effect.localName,
|
|
3971
|
-
radius: effect.localName === "artisticBlur" ?
|
|
3971
|
+
radius: effect.localName === "artisticBlur" ? n3 : n3 / 1e3,
|
|
3972
3972
|
baked: true,
|
|
3973
3973
|
...unhandled.length ? { unhandled } : {}
|
|
3974
3974
|
};
|
|
@@ -4080,10 +4080,10 @@ function parseStandardPictureEffect(node) {
|
|
|
4080
4080
|
const raw2 = node.getAttribute(attribute2);
|
|
4081
4081
|
if (raw2 === null) continue;
|
|
4082
4082
|
const percent = raw2.endsWith("%");
|
|
4083
|
-
const
|
|
4084
|
-
if (!Number.isFinite(
|
|
4083
|
+
const n3 = Number(percent ? raw2.slice(0, -1) : raw2) / (key === "hue" ? 6e4 : key === "radiusEmu" ? 1 : percent ? 100 : 1e5);
|
|
4084
|
+
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))
|
|
4085
4085
|
return void 0;
|
|
4086
|
-
values[key] =
|
|
4086
|
+
values[key] = n3;
|
|
4087
4087
|
}
|
|
4088
4088
|
if (["biLevel", "alphaBiLevel"].includes(name2) && values.threshold === void 0)
|
|
4089
4089
|
return void 0;
|
|
@@ -4093,9 +4093,9 @@ function parseStandardPictureEffect(node) {
|
|
|
4093
4093
|
const nested = cont ? elements(cont) : [];
|
|
4094
4094
|
if (nested.length !== 1 || nested[0]?.localName !== "alphaModFix") return void 0;
|
|
4095
4095
|
const raw2 = nested[0].getAttribute("amt") ?? "100000";
|
|
4096
|
-
const
|
|
4097
|
-
if (!Number.isFinite(
|
|
4098
|
-
values.amount =
|
|
4096
|
+
const n3 = Number(raw2.endsWith("%") ? raw2.slice(0, -1) : raw2) / (raw2.endsWith("%") ? 100 : 1e5);
|
|
4097
|
+
if (!Number.isFinite(n3) || n3 < 0) return void 0;
|
|
4098
|
+
values.amount = n3;
|
|
4099
4099
|
}
|
|
4100
4100
|
let colors = [];
|
|
4101
4101
|
if (name2 === "duotone") {
|
|
@@ -4191,8 +4191,8 @@ function picturePercentage(value) {
|
|
|
4191
4191
|
const text3 = String(value ?? "").trim();
|
|
4192
4192
|
if (!text3) return void 0;
|
|
4193
4193
|
const percent = text3.endsWith("%");
|
|
4194
|
-
const
|
|
4195
|
-
return Number.isFinite(
|
|
4194
|
+
const n3 = Number(percent ? text3.slice(0, -1) : text3) / (percent ? 100 : 1e5);
|
|
4195
|
+
return Number.isFinite(n3) ? n3 : void 0;
|
|
4196
4196
|
}
|
|
4197
4197
|
function readPictureEffect(name2, attribute2) {
|
|
4198
4198
|
if (name2 === "grayscl") return { kind: "grayscale" };
|
|
@@ -4352,16 +4352,16 @@ function parsePictureLayout(fill) {
|
|
|
4352
4352
|
["scaleX", "sx"],
|
|
4353
4353
|
["scaleY", "sy"]
|
|
4354
4354
|
]) {
|
|
4355
|
-
const
|
|
4356
|
-
if (
|
|
4355
|
+
const n3 = picturePercentage(tile.getAttribute(attr4));
|
|
4356
|
+
if (n3 !== void 0) value[key] = n3;
|
|
4357
4357
|
}
|
|
4358
4358
|
for (const [key, attr4] of [
|
|
4359
4359
|
["offsetXEmu", "tx"],
|
|
4360
4360
|
["offsetYEmu", "ty"]
|
|
4361
4361
|
]) {
|
|
4362
4362
|
const raw2 = tile.getAttribute(attr4);
|
|
4363
|
-
const
|
|
4364
|
-
if (Number.isSafeInteger(
|
|
4363
|
+
const n3 = raw2 === null ? NaN : Number(raw2);
|
|
4364
|
+
if (Number.isSafeInteger(n3)) value[key] = n3;
|
|
4365
4365
|
}
|
|
4366
4366
|
const alignment = tile.getAttribute("algn");
|
|
4367
4367
|
if (alignment) value.alignment = alignment;
|
|
@@ -4416,14 +4416,14 @@ function applyPictureLayout(fill, layout) {
|
|
|
4416
4416
|
["offsetXEmu", "tx"],
|
|
4417
4417
|
["offsetYEmu", "ty"]
|
|
4418
4418
|
]) {
|
|
4419
|
-
const
|
|
4420
|
-
if (
|
|
4419
|
+
const n3 = layout.tile[key];
|
|
4420
|
+
if (n3 !== void 0 && (!Number.isFinite(n3) || (name2 === "sx" || name2 === "sy" ? n3 <= 0 : !Number.isSafeInteger(n3))))
|
|
4421
4421
|
throw new RangeError("Invalid picture tile");
|
|
4422
|
-
if (
|
|
4422
|
+
if (n3 !== before.tile?.[key])
|
|
4423
4423
|
attr4(
|
|
4424
4424
|
tile,
|
|
4425
4425
|
name2,
|
|
4426
|
-
|
|
4426
|
+
n3 === void 0 ? void 0 : Math.round(n3 * (name2 === "sx" || name2 === "sy" ? 1e5 : 1)),
|
|
4427
4427
|
void 0
|
|
4428
4428
|
);
|
|
4429
4429
|
}
|
|
@@ -4440,11 +4440,11 @@ function applyPictureLayout(fill, layout) {
|
|
|
4440
4440
|
if (tile) fill.removeChild(tile);
|
|
4441
4441
|
const rect3 = make(make(fill, "stretch"), "fillRect");
|
|
4442
4442
|
for (const key of ["l", "t", "r", "b"]) {
|
|
4443
|
-
const
|
|
4444
|
-
if (
|
|
4443
|
+
const n3 = layout.fillRect?.[key];
|
|
4444
|
+
if (n3 !== void 0 && !Number.isFinite(n3))
|
|
4445
4445
|
throw new RangeError("Invalid picture fill rectangle");
|
|
4446
|
-
if (
|
|
4447
|
-
attr4(rect3, key,
|
|
4446
|
+
if (n3 !== before.fillRect?.[key])
|
|
4447
|
+
attr4(rect3, key, n3 === void 0 ? void 0 : Math.round(n3 * 1e5), void 0);
|
|
4448
4448
|
}
|
|
4449
4449
|
}
|
|
4450
4450
|
}
|
|
@@ -5319,7 +5319,7 @@ function lerpStops(a2, b, t) {
|
|
|
5319
5319
|
opacity: oa + (ob - oa) * t
|
|
5320
5320
|
};
|
|
5321
5321
|
}
|
|
5322
|
-
function
|
|
5322
|
+
function gradientColorAt(stops, position) {
|
|
5323
5323
|
const first2 = stops[0];
|
|
5324
5324
|
const last = stops[stops.length - 1];
|
|
5325
5325
|
if (position <= first2.position) {
|
|
@@ -5381,7 +5381,7 @@ function buildRectPathGradientSvg(stops, focalPoint, fillToRect, options2) {
|
|
|
5381
5381
|
if (!Number.isInteger(bands) || bands < 1) throw new RangeError("Invalid gradient band count");
|
|
5382
5382
|
for (let i2 = bands; i2 >= 0; i2 -= 1) {
|
|
5383
5383
|
const t = i2 / bands;
|
|
5384
|
-
const { color: color2, opacity } =
|
|
5384
|
+
const { color: color2, opacity } = gradientColorAt(sorted, t * 100);
|
|
5385
5385
|
const left = lerpEdge(inner.left, 0, t);
|
|
5386
5386
|
const top = lerpEdge(inner.top, 0, t);
|
|
5387
5387
|
const right = lerpEdge(inner.right, 100, t);
|
|
@@ -5406,10 +5406,10 @@ function buildRectPathGradientExactSvg(stops, focalPoint, fillToRect) {
|
|
|
5406
5406
|
}
|
|
5407
5407
|
const sorted = [...stops].sort((a2, b) => a2.position - b.position);
|
|
5408
5408
|
const { left, top, right, bottom } = resolveInnerRect(fillToRect, focalPoint);
|
|
5409
|
-
const
|
|
5410
|
-
const alpha = (opacity, attr4) => (opacity ?? 1) < 1 ? ` ${attr4}="${
|
|
5409
|
+
const n3 = (value) => String(Math.round(value * 1e3) / 1e3);
|
|
5410
|
+
const alpha = (opacity, attr4) => (opacity ?? 1) < 1 ? ` ${attr4}="${n3(Math.max(0, opacity ?? 1))}"` : "";
|
|
5411
5411
|
const stopMarkup = sorted.map(
|
|
5412
|
-
(stop) => `<stop offset="${
|
|
5412
|
+
(stop) => `<stop offset="${n3(Math.min(Math.max(stop.position, 0), 100) / 100)}" stop-color="${stop.color}"${alpha(stop.opacity, "stop-opacity")}/>`
|
|
5413
5413
|
).join("");
|
|
5414
5414
|
const sides = [
|
|
5415
5415
|
{ id: "t", pts: [0, 0, 100, 0, right, top, left, top], v: [0, top, 0, 0], size: top },
|
|
@@ -5428,15 +5428,15 @@ function buildRectPathGradientExactSvg(stops, focalPoint, fillToRect) {
|
|
|
5428
5428
|
}
|
|
5429
5429
|
].filter((side) => side.size > 1e-3);
|
|
5430
5430
|
const defs = sides.map(
|
|
5431
|
-
(side) => `<linearGradient id="${side.id}" gradientUnits="userSpaceOnUse" x1="${
|
|
5431
|
+
(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>`
|
|
5432
5432
|
).join("");
|
|
5433
5433
|
const polygons = sides.map((side) => {
|
|
5434
|
-
const points2 = side.pts.map(
|
|
5434
|
+
const points2 = side.pts.map(n3);
|
|
5435
5435
|
const pairs = [0, 2, 4, 6].map((i2) => `${points2[i2]},${points2[i2 + 1]}`).join(" ");
|
|
5436
5436
|
return `<polygon points="${pairs}" fill="url(#${side.id})"/>`;
|
|
5437
5437
|
}).join("");
|
|
5438
5438
|
const first2 = sorted[0];
|
|
5439
|
-
const plateau = right - left > 1e-3 && bottom - top > 1e-3 ? `<rect x="${
|
|
5439
|
+
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")}/>` : "";
|
|
5440
5440
|
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>`;
|
|
5441
5441
|
}
|
|
5442
5442
|
function buildRectPathGradientImage(stops, focalPoint, fillToRect) {
|
|
@@ -8305,8 +8305,8 @@ function chartDataSheetPasteEdits(sheet, anchor, block, parseNumber) {
|
|
|
8305
8305
|
const edits = [];
|
|
8306
8306
|
const lastSeries = anchor.col + width - 1;
|
|
8307
8307
|
const lastCategory = anchor.row + block.length - 1;
|
|
8308
|
-
for (let
|
|
8309
|
-
for (let
|
|
8308
|
+
for (let n3 = sheet.series.length; n3 < lastSeries; n3++) edits.push({ kind: "add-series" });
|
|
8309
|
+
for (let n3 = sheet.categories.length; n3 < lastCategory; n3++) edits.push({ kind: "add-category" });
|
|
8310
8310
|
block.forEach(
|
|
8311
8311
|
(cells, r) => cells.forEach((raw2, c2) => {
|
|
8312
8312
|
const edit = chartDataSheetCellEdit(
|
|
@@ -9232,9 +9232,9 @@ function chartExDataLayout(space3, sheetName) {
|
|
|
9232
9232
|
const data2 = values.map((value) => {
|
|
9233
9233
|
if (dimension2.kind !== "numDim") return value;
|
|
9234
9234
|
if (value === "") return null;
|
|
9235
|
-
const
|
|
9236
|
-
if (!Number.isFinite(
|
|
9237
|
-
return
|
|
9235
|
+
const n3 = Number(value);
|
|
9236
|
+
if (!Number.isFinite(n3)) throw new Error("Numeric chart data is invalid.");
|
|
9237
|
+
return n3;
|
|
9238
9238
|
});
|
|
9239
9239
|
columns.push([level4.name ?? `Data ${columns.length + 1}`, ...data2]);
|
|
9240
9240
|
}
|
|
@@ -9734,7 +9734,7 @@ function syncTable(table, doc, writes, shared) {
|
|
|
9734
9734
|
let column = list2[col - next.start.col];
|
|
9735
9735
|
const header = writes.get(ref) ?? column?.getAttribute("name") ?? cellText(doc, ref, shared);
|
|
9736
9736
|
let name2 = header.trim() || column && !writes.has(ref) ? header : `Column${col - next.start.col + 1}`;
|
|
9737
|
-
for (let
|
|
9737
|
+
for (let n3 = 2; used.has(name2.toLowerCase()); n3++) name2 = `${header}${n3}`;
|
|
9738
9738
|
used.add(name2.toLowerCase());
|
|
9739
9739
|
if (!column) {
|
|
9740
9740
|
column = table.ownerDocument.createElementNS(
|
|
@@ -9988,8 +9988,8 @@ async function appendChartWorkbookSheet(bytes, rowsForName, options2 = {}) {
|
|
|
9988
9988
|
if (!base.trim() || /[\\/?*\[\]:]/u.test(base) || base.startsWith("'") || base.endsWith("'"))
|
|
9989
9989
|
throw new RangeError("Invalid chart data sheet name.");
|
|
9990
9990
|
let sheetName = "";
|
|
9991
|
-
for (let
|
|
9992
|
-
const suffix = String(
|
|
9991
|
+
for (let n3 = 1; ; n3++) {
|
|
9992
|
+
const suffix = String(n3);
|
|
9993
9993
|
const candidate = `${base.slice(0, 31 - suffix.length)}${suffix}`;
|
|
9994
9994
|
if (!names.has(candidate.toLowerCase())) {
|
|
9995
9995
|
sheetName = candidate;
|
|
@@ -10005,8 +10005,8 @@ async function appendChartWorkbookSheet(bytes, rowsForName, options2 = {}) {
|
|
|
10005
10005
|
throw new RangeError("Chart workbook numbers must be finite.");
|
|
10006
10006
|
const taken = new Set(Object.keys(zip.files).map((name2) => name2.toLowerCase()));
|
|
10007
10007
|
let part = "";
|
|
10008
|
-
for (let
|
|
10009
|
-
const candidate = `xl/worksheets/sheet${
|
|
10008
|
+
for (let n3 = 1; ; n3++) {
|
|
10009
|
+
const candidate = `xl/worksheets/sheet${n3}.xml`;
|
|
10010
10010
|
if (!taken.has(candidate.toLowerCase())) {
|
|
10011
10011
|
part = candidate;
|
|
10012
10012
|
break;
|
|
@@ -10014,14 +10014,14 @@ async function appendChartWorkbookSheet(bytes, rowsForName, options2 = {}) {
|
|
|
10014
10014
|
}
|
|
10015
10015
|
const ids = new Set(children(rels, "Relationship", NS.rels).map((rel) => rel.getAttribute("Id")));
|
|
10016
10016
|
let id = "";
|
|
10017
|
-
for (let
|
|
10018
|
-
if (!ids.has(`rId${
|
|
10019
|
-
id = `rId${
|
|
10017
|
+
for (let n3 = 1; ; n3++) {
|
|
10018
|
+
if (!ids.has(`rId${n3}`)) {
|
|
10019
|
+
id = `rId${n3}`;
|
|
10020
10020
|
break;
|
|
10021
10021
|
}
|
|
10022
10022
|
}
|
|
10023
10023
|
const sheetIds = entries.map((sheet2) => Number(sheet2.getAttribute("sheetId")));
|
|
10024
|
-
if (sheetIds.some((
|
|
10024
|
+
if (sheetIds.some((n3) => !Number.isSafeInteger(n3) || n3 < 1))
|
|
10025
10025
|
throw new Error("The chart workbook has invalid sheet identifiers.");
|
|
10026
10026
|
const sheet = element(sheets, "sheet");
|
|
10027
10027
|
sheet.setAttribute("name", sheetName);
|
|
@@ -11655,8 +11655,8 @@ function chart3DLayout(model, inner, view) {
|
|
|
11655
11655
|
}
|
|
11656
11656
|
|
|
11657
11657
|
// chart/render/chart-3d-mesh.ts
|
|
11658
|
-
function faceKind(
|
|
11659
|
-
const [x, y, z] =
|
|
11658
|
+
function faceKind(n3) {
|
|
11659
|
+
const [x, y, z] = n3;
|
|
11660
11660
|
if (Math.abs(y) >= Math.abs(x) && Math.abs(y) >= Math.abs(z)) return y >= 0 ? "top" : "bottom";
|
|
11661
11661
|
if (Math.abs(x) >= Math.abs(z)) return x >= 0 ? "right" : "left";
|
|
11662
11662
|
return z < 0 ? "front" : "back";
|
|
@@ -11764,10 +11764,13 @@ var FALLBACKS = {
|
|
|
11764
11764
|
calibri: '"Calibri", "Carlito", "Segoe UI", Arial, sans-serif',
|
|
11765
11765
|
"calibri light": '"Calibri Light", "Calibri", "Carlito", "Segoe UI", Arial, sans-serif',
|
|
11766
11766
|
cambria: '"Cambria", "Caladea", Georgia, serif',
|
|
11767
|
-
arial: 'Arial, "Liberation Sans", Helvetica, sans-serif',
|
|
11768
|
-
"times new roman": '"Times New Roman", "Liberation Serif", Times, serif',
|
|
11769
|
-
"courier new": '"Courier New", "Liberation Mono", monospace',
|
|
11770
|
-
|
|
11767
|
+
arial: 'Arial, "Arimo", "Liberation Sans", Helvetica, sans-serif',
|
|
11768
|
+
"times new roman": '"Times New Roman", "Tinos", "Liberation Serif", Times, serif',
|
|
11769
|
+
"courier new": '"Courier New", "Cousine", "Liberation Mono", monospace',
|
|
11770
|
+
georgia: '"Georgia", "Gelasio", serif',
|
|
11771
|
+
aptos: '"Aptos", "Calibri", "Carlito", "Segoe UI", sans-serif',
|
|
11772
|
+
"aptos narrow": '"Aptos Narrow", "Aptos", "Calibri", "Carlito", "Segoe UI", sans-serif',
|
|
11773
|
+
"aptos display": '"Aptos Display", "Aptos", "Calibri", "Carlito", "Segoe UI", sans-serif'
|
|
11771
11774
|
};
|
|
11772
11775
|
function cssFontFamily(name2) {
|
|
11773
11776
|
const known = FALLBACKS[name2.toLowerCase()];
|
|
@@ -12095,7 +12098,7 @@ function scatterAnalysis(model, px3, py, out) {
|
|
|
12095
12098
|
}
|
|
12096
12099
|
|
|
12097
12100
|
// chart/render/chart-scale.ts
|
|
12098
|
-
var clean = (
|
|
12101
|
+
var clean = (n3) => Number(n3.toPrecision(12));
|
|
12099
12102
|
function* units(raw2) {
|
|
12100
12103
|
let exp = Math.floor(Math.log10(raw2)) - 1;
|
|
12101
12104
|
for (; ; ) {
|
|
@@ -12343,8 +12346,8 @@ function findNonLiteral(tokens, index, step) {
|
|
|
12343
12346
|
}
|
|
12344
12347
|
return void 0;
|
|
12345
12348
|
}
|
|
12346
|
-
function pad(
|
|
12347
|
-
return String(
|
|
12349
|
+
function pad(n3, width) {
|
|
12350
|
+
return String(n3).padStart(width, "0");
|
|
12348
12351
|
}
|
|
12349
12352
|
function renderDatePart(part, count, date, twelveHour) {
|
|
12350
12353
|
switch (part) {
|
|
@@ -12987,9 +12990,14 @@ __export(drawingml_exports, {
|
|
|
12987
12990
|
booleanAttribute: () => booleanAttribute,
|
|
12988
12991
|
buildImageBiLevelTable: () => buildImageBiLevelTable,
|
|
12989
12992
|
buildImageLuminanceTransfer: () => buildImageLuminanceTransfer,
|
|
12993
|
+
buildOutlinePathGradientSvg: () => buildOutlinePathGradientSvg,
|
|
12990
12994
|
buildRectPathGradientExactSvg: () => buildRectPathGradientExactSvg,
|
|
12991
12995
|
buildRectPathGradientImage: () => buildRectPathGradientImage,
|
|
12992
12996
|
buildRectPathGradientSvg: () => buildRectPathGradientSvg,
|
|
12997
|
+
capCompensatedDashArray: () => capCompensatedDashArray,
|
|
12998
|
+
closedSubpaths: () => closedSubpaths,
|
|
12999
|
+
dashPatternUnits: () => dashPatternUnits,
|
|
13000
|
+
dashPenWidth: () => dashPenWidth,
|
|
12993
13001
|
descendants: () => descendants,
|
|
12994
13002
|
drawingColorBrightness: () => drawingColorBrightness,
|
|
12995
13003
|
drawingColorCss: () => drawingColorCss,
|
|
@@ -13007,9 +13015,11 @@ __export(drawingml_exports, {
|
|
|
13007
13015
|
drawingThemeFormatSchemeXml: () => drawingThemeFormatSchemeXml,
|
|
13008
13016
|
drawingThemeXml: () => drawingThemeXml,
|
|
13009
13017
|
fillElementOf: () => fillElementOf,
|
|
13018
|
+
gradientColorAt: () => gradientColorAt,
|
|
13010
13019
|
imageContentType: () => imageContentType,
|
|
13011
13020
|
inspectRasterImage: () => inspectRasterImage,
|
|
13012
13021
|
integerAttribute: () => integerAttribute,
|
|
13022
|
+
isDashedStroke: () => isDashedStroke,
|
|
13013
13023
|
isThemeColorSlot: () => isThemeColorSlot,
|
|
13014
13024
|
officeGradientPresetFill: () => officeGradientPresetFill,
|
|
13015
13025
|
officeGradientPresetId: () => officeGradientPresetId,
|
|
@@ -13067,7 +13077,9 @@ __export(drawingml_exports, {
|
|
|
13067
13077
|
resolveThemeEffectStyle: () => resolveThemeEffectStyle,
|
|
13068
13078
|
resolveThemeFillStyle: () => resolveThemeFillStyle,
|
|
13069
13079
|
resolveThemeLineStyle: () => resolveThemeLineStyle,
|
|
13080
|
+
scalePathAbout: () => scalePathAbout,
|
|
13070
13081
|
setDrawingFillXml: () => setDrawingFillXml,
|
|
13082
|
+
shapePathGradientField: () => shapePathGradientField,
|
|
13071
13083
|
stringAttribute: () => stringAttribute,
|
|
13072
13084
|
substituteDrawingPlaceholder: () => substituteDrawingPlaceholder,
|
|
13073
13085
|
svgDropShadowElement: () => svgDropShadowElement,
|
|
@@ -13459,7 +13471,7 @@ function parseCustomGeometry(custom, width, height) {
|
|
|
13459
13471
|
}
|
|
13460
13472
|
const pathWidth = path3.hasAttribute("w") ? Number(path3.getAttribute("w")) : contextWidth;
|
|
13461
13473
|
const pathHeight = path3.hasAttribute("h") ? Number(path3.getAttribute("h")) : contextHeight;
|
|
13462
|
-
if (![pathWidth, pathHeight].every((
|
|
13474
|
+
if (![pathWidth, pathHeight].every((n3) => Number.isFinite(n3) && n3 > 0)) return void 0;
|
|
13463
13475
|
paths.push({
|
|
13464
13476
|
commands,
|
|
13465
13477
|
width: pathWidth,
|
|
@@ -13894,6 +13906,152 @@ function officeGradientPresetId(fill) {
|
|
|
13894
13906
|
return index < 0 ? void 0 : index + 1;
|
|
13895
13907
|
}
|
|
13896
13908
|
|
|
13909
|
+
// drawingml/shape-path-gradient.ts
|
|
13910
|
+
var CIRCLE_FIELD_PRESETS = new Set(
|
|
13911
|
+
[
|
|
13912
|
+
"chevron",
|
|
13913
|
+
"rightArrow",
|
|
13914
|
+
"leftArrow",
|
|
13915
|
+
"upArrow",
|
|
13916
|
+
"downArrow",
|
|
13917
|
+
"stripedRightArrow",
|
|
13918
|
+
"notchedRightArrow",
|
|
13919
|
+
"bentUpArrow",
|
|
13920
|
+
"bentArrow",
|
|
13921
|
+
"uturnArrow",
|
|
13922
|
+
"leftRightArrow",
|
|
13923
|
+
"upDownArrow",
|
|
13924
|
+
"leftUpArrow",
|
|
13925
|
+
"leftRightUpArrow",
|
|
13926
|
+
"quadArrow",
|
|
13927
|
+
"curvedRightArrow",
|
|
13928
|
+
"curvedLeftArrow",
|
|
13929
|
+
"curvedUpArrow",
|
|
13930
|
+
"curvedDownArrow",
|
|
13931
|
+
"swooshArrow",
|
|
13932
|
+
"lightningBolt",
|
|
13933
|
+
"sun",
|
|
13934
|
+
"moon",
|
|
13935
|
+
"smileyFace",
|
|
13936
|
+
"ribbon",
|
|
13937
|
+
"ribbon2",
|
|
13938
|
+
"ellipseRibbon",
|
|
13939
|
+
"ellipseRibbon2",
|
|
13940
|
+
"leftRightRibbon",
|
|
13941
|
+
"verticalScroll",
|
|
13942
|
+
"horizontalScroll",
|
|
13943
|
+
"wave",
|
|
13944
|
+
"doubleWave",
|
|
13945
|
+
"flowChartDocument",
|
|
13946
|
+
"flowChartMultidocument",
|
|
13947
|
+
"flowChartPunchedTape",
|
|
13948
|
+
"flowChartMagneticDisk",
|
|
13949
|
+
"flowChartDisplay"
|
|
13950
|
+
].map((name2) => name2.toLowerCase())
|
|
13951
|
+
);
|
|
13952
|
+
var LEGACY_FIELD_PRESETS = new Set(
|
|
13953
|
+
[
|
|
13954
|
+
"donut",
|
|
13955
|
+
"noSmoking",
|
|
13956
|
+
"blockArc",
|
|
13957
|
+
"frame",
|
|
13958
|
+
"chord",
|
|
13959
|
+
"funnel",
|
|
13960
|
+
"mathDivide",
|
|
13961
|
+
"mathNotEqual",
|
|
13962
|
+
"cornerTabs",
|
|
13963
|
+
"squareTabs",
|
|
13964
|
+
"plaqueTabs",
|
|
13965
|
+
"circularArrow",
|
|
13966
|
+
"leftCircularArrow",
|
|
13967
|
+
"leftRightCircularArrow",
|
|
13968
|
+
"flowChartMagneticTape",
|
|
13969
|
+
"flowChartMagneticDrum"
|
|
13970
|
+
].map((name2) => name2.toLowerCase())
|
|
13971
|
+
);
|
|
13972
|
+
function shapePathGradientField(preset) {
|
|
13973
|
+
if (!preset || preset === "custom") return "circle";
|
|
13974
|
+
const key = preset.toLowerCase();
|
|
13975
|
+
if (CIRCLE_FIELD_PRESETS.has(key)) return "circle";
|
|
13976
|
+
if (LEGACY_FIELD_PRESETS.has(key)) return "legacy";
|
|
13977
|
+
return "outline";
|
|
13978
|
+
}
|
|
13979
|
+
var BAND_COUNT2 = 100;
|
|
13980
|
+
function n2(value) {
|
|
13981
|
+
return String(Math.round(value * 1e3) / 1e3);
|
|
13982
|
+
}
|
|
13983
|
+
var ARG_COUNT = { M: 2, L: 2, Q: 4, C: 6, A: 7, Z: 0 };
|
|
13984
|
+
function scalePathAbout(d, s2, fx, fy) {
|
|
13985
|
+
const tokens = d.match(/[A-Za-z]|-?\d*\.?\d+(?:e[-+]?\d+)?/gu);
|
|
13986
|
+
if (!tokens) return void 0;
|
|
13987
|
+
const out = [];
|
|
13988
|
+
let i2 = 0;
|
|
13989
|
+
while (i2 < tokens.length) {
|
|
13990
|
+
const command = tokens[i2++];
|
|
13991
|
+
const count = ARG_COUNT[command];
|
|
13992
|
+
if (count === void 0) return void 0;
|
|
13993
|
+
out.push(command);
|
|
13994
|
+
if (command === "Z") continue;
|
|
13995
|
+
const args = tokens.slice(i2, i2 + count).map(Number);
|
|
13996
|
+
i2 += count;
|
|
13997
|
+
if (args.length !== count || args.some((value) => !Number.isFinite(value))) return void 0;
|
|
13998
|
+
if (command === "A") {
|
|
13999
|
+
out.push(
|
|
14000
|
+
n2(args[0] * s2),
|
|
14001
|
+
n2(args[1] * s2),
|
|
14002
|
+
n2(args[2]),
|
|
14003
|
+
n2(args[3]),
|
|
14004
|
+
n2(args[4]),
|
|
14005
|
+
n2(fx + (args[5] - fx) * s2),
|
|
14006
|
+
n2(fy + (args[6] - fy) * s2)
|
|
14007
|
+
);
|
|
14008
|
+
continue;
|
|
14009
|
+
}
|
|
14010
|
+
for (let k = 0; k < count; k += 2) {
|
|
14011
|
+
out.push(n2(fx + (args[k] - fx) * s2), n2(fy + (args[k + 1] - fy) * s2));
|
|
14012
|
+
}
|
|
14013
|
+
}
|
|
14014
|
+
return out.join(" ");
|
|
14015
|
+
}
|
|
14016
|
+
function closedSubpaths(d) {
|
|
14017
|
+
const parts = d.split(/(?=M)/u).map((part) => part.trim()).filter((part) => part.endsWith("Z"));
|
|
14018
|
+
return parts.length > 0 ? parts.join(" ") : void 0;
|
|
14019
|
+
}
|
|
14020
|
+
function buildOutlinePathGradientSvg(stops, d, width, height, focusX, focusY) {
|
|
14021
|
+
if (stops.length === 0 || !(width > 0) || !(height > 0)) return void 0;
|
|
14022
|
+
if (scalePathAbout(d, 1, 0, 0) === void 0) return void 0;
|
|
14023
|
+
const sorted = [...stops].sort((a2, b) => a2.position - b.position);
|
|
14024
|
+
const fx = focusX * width;
|
|
14025
|
+
const fy = focusY * height;
|
|
14026
|
+
const translucent = sorted.some((stop) => (stop.opacity ?? 1) < 1);
|
|
14027
|
+
const body = [];
|
|
14028
|
+
if (translucent) {
|
|
14029
|
+
for (let i2 = BAND_COUNT2; i2 >= 1; i2 -= 1) {
|
|
14030
|
+
const outer = scalePathAbout(d, i2 / BAND_COUNT2, fx, fy);
|
|
14031
|
+
if (outer === void 0) return void 0;
|
|
14032
|
+
const inner = i2 > 1 ? scalePathAbout(d, (i2 - 1) / BAND_COUNT2, fx, fy) : void 0;
|
|
14033
|
+
const { color: color2, opacity } = gradientColorAt(sorted, (i2 - 0.5) / BAND_COUNT2 * 100);
|
|
14034
|
+
const alpha = opacity < 1 ? ` fill-opacity="${n2(Math.max(0, opacity))}"` : "";
|
|
14035
|
+
body.push(
|
|
14036
|
+
`<path d="${outer}${inner ? ` ${inner}` : ""}" fill="${color2}"${alpha} fill-rule="evenodd"/>`
|
|
14037
|
+
);
|
|
14038
|
+
}
|
|
14039
|
+
return wrap2(width, height, body.join(""));
|
|
14040
|
+
}
|
|
14041
|
+
body.push(`<defs><path id="p" d="${d}"/></defs>`);
|
|
14042
|
+
for (let i2 = BAND_COUNT2; i2 >= 1; i2 -= 1) {
|
|
14043
|
+
const s2 = i2 / BAND_COUNT2;
|
|
14044
|
+
const { color: color2 } = gradientColorAt(sorted, (i2 - 0.5) / BAND_COUNT2 * 100);
|
|
14045
|
+
body.push(
|
|
14046
|
+
`<use href="#p" transform="matrix(${n2(s2)} 0 0 ${n2(s2)} ${n2(fx * (1 - s2))} ${n2(fy * (1 - s2))})" fill="${color2}"/>`
|
|
14047
|
+
);
|
|
14048
|
+
}
|
|
14049
|
+
return wrap2(width, height, body.join(""));
|
|
14050
|
+
}
|
|
14051
|
+
function wrap2(width, height, body) {
|
|
14052
|
+
return `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 ${n2(width)} ${n2(height)}" preserveAspectRatio="none">${body}</svg>`;
|
|
14053
|
+
}
|
|
14054
|
+
|
|
13897
14055
|
// drawingml/read-run-properties.ts
|
|
13898
14056
|
function outerXml(element4) {
|
|
13899
14057
|
return buildXml(element4);
|
|
@@ -14258,8 +14416,8 @@ var LIGHT_DIRECTIONS = /* @__PURE__ */ new Set(["tl", "t", "tr", "l", "r", "bl",
|
|
|
14258
14416
|
// drawingml/read-3d-values.ts
|
|
14259
14417
|
var integer = (value) => {
|
|
14260
14418
|
if (value === void 0 || value === null || String(value).trim() === "") return void 0;
|
|
14261
|
-
const
|
|
14262
|
-
return Number.isSafeInteger(
|
|
14419
|
+
const n3 = Number(value);
|
|
14420
|
+
return Number.isSafeInteger(n3) ? n3 : void 0;
|
|
14263
14421
|
};
|
|
14264
14422
|
function readScene3DValues(node, read) {
|
|
14265
14423
|
const out = {};
|
|
@@ -15482,6 +15640,57 @@ function applyPictureHslPixels(data, effect) {
|
|
|
15482
15640
|
}
|
|
15483
15641
|
}
|
|
15484
15642
|
|
|
15643
|
+
// drawingml/dash-pattern.ts
|
|
15644
|
+
var PRESET_PATTERNS = {
|
|
15645
|
+
dash: [4, 3],
|
|
15646
|
+
dot: [1, 3],
|
|
15647
|
+
lgDash: [8, 3],
|
|
15648
|
+
dashDot: [4, 3, 1, 3],
|
|
15649
|
+
lgDashDot: [8, 3, 1, 3],
|
|
15650
|
+
lgDashDotDot: [8, 3, 1, 3, 1, 3],
|
|
15651
|
+
sysDash: [3, 1],
|
|
15652
|
+
sysDot: [1, 1],
|
|
15653
|
+
sysDashDot: [3, 1, 1, 1],
|
|
15654
|
+
sysDashDotDot: [3, 1, 1, 1, 1, 1]
|
|
15655
|
+
};
|
|
15656
|
+
var CUSTOM_DASH_UNIT = 1e5;
|
|
15657
|
+
var FALLBACK_CUSTOM_PATTERN = [3, 2];
|
|
15658
|
+
function dashPenWidth(strokeWidth) {
|
|
15659
|
+
if (!Number.isFinite(strokeWidth) || strokeWidth <= 1) return 1;
|
|
15660
|
+
return Math.max(1, Math.ceil(strokeWidth - 0.5));
|
|
15661
|
+
}
|
|
15662
|
+
function dashPatternUnits(dashType, customSegments) {
|
|
15663
|
+
if (!dashType || dashType === "solid") return void 0;
|
|
15664
|
+
if (dashType === "custom") {
|
|
15665
|
+
const pattern = (customSegments ?? []).flatMap((seg) => [
|
|
15666
|
+
Math.max(0, seg.dash) / CUSTOM_DASH_UNIT,
|
|
15667
|
+
Math.max(0, seg.space) / CUSTOM_DASH_UNIT
|
|
15668
|
+
]);
|
|
15669
|
+
return pattern.some((n3) => n3 > 0) ? pattern : FALLBACK_CUSTOM_PATTERN;
|
|
15670
|
+
}
|
|
15671
|
+
return PRESET_PATTERNS[dashType];
|
|
15672
|
+
}
|
|
15673
|
+
function isDashedStroke(dashType) {
|
|
15674
|
+
return dashType !== void 0 && dashType !== "solid" && dashType !== "";
|
|
15675
|
+
}
|
|
15676
|
+
function capCompensatedDashArray(pattern, strokeWidth, lineCap) {
|
|
15677
|
+
const pen = dashPenWidth(strokeWidth);
|
|
15678
|
+
const round3 = lineCap === "rnd";
|
|
15679
|
+
const out = [];
|
|
15680
|
+
for (let i2 = 0; i2 < pattern.length; i2 += 1) {
|
|
15681
|
+
const len = (pattern[i2] ?? 0) * pen;
|
|
15682
|
+
if (!round3) {
|
|
15683
|
+
out.push(len);
|
|
15684
|
+
} else if (i2 % 2 === 0) {
|
|
15685
|
+
out.push(Math.max(0, len - pen));
|
|
15686
|
+
} else {
|
|
15687
|
+
const dash = (pattern[i2 - 1] ?? 0) * pen;
|
|
15688
|
+
out.push(len + (dash - Math.max(0, dash - pen)));
|
|
15689
|
+
}
|
|
15690
|
+
}
|
|
15691
|
+
return out.map((n3) => Number(n3.toFixed(4))).join(" ");
|
|
15692
|
+
}
|
|
15693
|
+
|
|
15485
15694
|
// chart/region-map/value-color-positions.ts
|
|
15486
15695
|
function schemaPosition(node, end) {
|
|
15487
15696
|
for (const kind of ["number", "percent"]) {
|
|
@@ -15692,7 +15901,7 @@ function bubbleView(chart, model, evaluateRef) {
|
|
|
15692
15901
|
showNegativeBubbles: chart.bubble?.showNegativeBubbles === true
|
|
15693
15902
|
};
|
|
15694
15903
|
}
|
|
15695
|
-
var columnNumber = (letters) => [...letters].reduce((
|
|
15904
|
+
var columnNumber = (letters) => [...letters].reduce((n3, ch) => n3 * 26 + ch.charCodeAt(0) - 64, 0);
|
|
15696
15905
|
function refColumns(ref) {
|
|
15697
15906
|
const match = /\$?([A-Z]{1,3})\$?\d+:\$?([A-Z]{1,3})\$?\d+\s*$/i.exec(ref);
|
|
15698
15907
|
if (!match) return 1;
|
|
@@ -15987,7 +16196,7 @@ function chartSummaryView(chart, theme, options2 = {}) {
|
|
|
15987
16196
|
const rawCategories = [];
|
|
15988
16197
|
const collect = (cats) => void rawCategories.push(cats);
|
|
15989
16198
|
const extra = chart.extraGroups ?? [];
|
|
15990
|
-
const total = chart.series.length + extra.reduce((
|
|
16199
|
+
const total = chart.series.length + extra.reduce((n3, g3) => n3 + g3.series.length, 0);
|
|
15991
16200
|
const series2 = chart.series.map((s2, i2) => seriesView(ctx, s2, i2, total, collect));
|
|
15992
16201
|
const longest = Math.max(
|
|
15993
16202
|
0,
|
|
@@ -16956,7 +17165,7 @@ function formatRegionMapValue(value, cultureLanguage) {
|
|
|
16956
17165
|
}
|
|
16957
17166
|
}
|
|
16958
17167
|
function lerpColor(a2, b, t) {
|
|
16959
|
-
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 = (
|
|
17168
|
+
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");
|
|
16960
17169
|
return `#${toHex2(r)}${toHex2(g3)}${toHex2(bl)}`;
|
|
16961
17170
|
}
|
|
16962
17171
|
function resolveValueColorStops(valueColors, valueColorPositions, minVal, maxVal) {
|
|
@@ -17387,10 +17596,10 @@ function projectGeoPoint(point, projection = "mercator") {
|
|
|
17387
17596
|
];
|
|
17388
17597
|
}
|
|
17389
17598
|
if (projection === "albers") {
|
|
17390
|
-
const
|
|
17391
|
-
const c2 = Math.cos(20 * RAD) ** 2 + 2 *
|
|
17392
|
-
const rho = Math.sqrt(Math.max(0, c2 - 2 *
|
|
17393
|
-
return [rho * Math.sin(
|
|
17599
|
+
const n3 = (Math.sin(20 * RAD) + Math.sin(50 * RAD)) / 2;
|
|
17600
|
+
const c2 = Math.cos(20 * RAD) ** 2 + 2 * n3 * Math.sin(20 * RAD);
|
|
17601
|
+
const rho = Math.sqrt(Math.max(0, c2 - 2 * n3 * Math.sin(lat))) / n3;
|
|
17602
|
+
return [rho * Math.sin(n3 * lon), rho * Math.cos(n3 * lon) - Math.sqrt(c2) / n3];
|
|
17394
17603
|
}
|
|
17395
17604
|
return void 0;
|
|
17396
17605
|
}
|
|
@@ -18049,7 +18258,7 @@ function sliceLabels(model, marks, out) {
|
|
|
18049
18258
|
);
|
|
18050
18259
|
for (const [id, item2] of items.entries()) {
|
|
18051
18260
|
const { mark, label, m } = item2;
|
|
18052
|
-
const nudge = nudges.find((
|
|
18261
|
+
const nudge = nudges.find((n3) => n3.id === id);
|
|
18053
18262
|
let point = { x: item2.x + (nudge?.dx ?? 0), y: item2.y + (nudge?.dy ?? 0) };
|
|
18054
18263
|
if (model.frameSize) point = applyLabelManualLayout(label.layout, model.frameSize, point);
|
|
18055
18264
|
const moved = point.x !== item2.x || point.y !== item2.y;
|
|
@@ -18192,7 +18401,7 @@ function radarSvg(model, area) {
|
|
|
18192
18401
|
}
|
|
18193
18402
|
|
|
18194
18403
|
// chart/render/chart-svg-hierarchy.ts
|
|
18195
|
-
var
|
|
18404
|
+
var colorAt = (model, index) => {
|
|
18196
18405
|
const first2 = model.series[0];
|
|
18197
18406
|
const colors = first2?.pointColors;
|
|
18198
18407
|
return (colors && colors.length > 0 ? colors[index % colors.length] : void 0) ?? first2?.color ?? "#4472C4";
|
|
@@ -18221,7 +18430,7 @@ function treemapSvg(model, area) {
|
|
|
18221
18430
|
}
|
|
18222
18431
|
out.push(`<g data-chart-series="${cell2.seriesIndex}" data-chart-point="${cell2.pointIndex}">`);
|
|
18223
18432
|
out.push(
|
|
18224
|
-
rect(cell2.x, cell2.y, cell2.w, cell2.h,
|
|
18433
|
+
rect(cell2.x, cell2.y, cell2.w, cell2.h, colorAt(model, cell2.colorIndex)).replace(
|
|
18225
18434
|
"/>",
|
|
18226
18435
|
' rx="2"/>'
|
|
18227
18436
|
)
|
|
@@ -18260,7 +18469,7 @@ function sunburstSvg(model, area) {
|
|
|
18260
18469
|
);
|
|
18261
18470
|
for (const arc3 of arcs)
|
|
18262
18471
|
out.push(
|
|
18263
|
-
`<path d="${arc3.d}" fill="${
|
|
18472
|
+
`<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}"`}/>`
|
|
18264
18473
|
);
|
|
18265
18474
|
const flatLabels = levels.length > 1 || model.series.length !== 1 ? void 0 : model.categories;
|
|
18266
18475
|
for (const arc3 of model.hierarchy?.labels === false ? [] : arcs) {
|
|
@@ -20838,9 +21047,9 @@ function applyDataTable(draft, layout) {
|
|
|
20838
21047
|
showKeys: true
|
|
20839
21048
|
};
|
|
20840
21049
|
}
|
|
20841
|
-
function applyChartQuickLayout(space3,
|
|
20842
|
-
const layout = findChartQuickLayout(
|
|
20843
|
-
if (!layout) throw new RangeError(`No chart quick layout ${
|
|
21050
|
+
function applyChartQuickLayout(space3, n3, only = ALL_PARTS) {
|
|
21051
|
+
const layout = findChartQuickLayout(n3);
|
|
21052
|
+
if (!layout) throw new RangeError(`No chart quick layout ${n3}`);
|
|
20844
21053
|
if (!chartSupportsQuickLayout(space3))
|
|
20845
21054
|
throw new RangeError("Quick layouts apply to bar, column, line and area charts");
|
|
20846
21055
|
const parts = new Set(only);
|
|
@@ -22609,6 +22818,10 @@ function rebaseChartData(space3, sheetName) {
|
|
|
22609
22818
|
var text_exports = {};
|
|
22610
22819
|
__export(text_exports, {
|
|
22611
22820
|
FONT_SUBSTITUTION_MAP: () => FONT_SUBSTITUTION_MAP,
|
|
22821
|
+
GOOGLE_FONTS_CATALOGUE_DATE: () => GOOGLE_FONTS_CATALOGUE_DATE,
|
|
22822
|
+
GOOGLE_FONTS_CSS2_BASE: () => GOOGLE_FONTS_CSS2_BASE,
|
|
22823
|
+
GOOGLE_FONTS_FAMILIES: () => GOOGLE_FONTS_FAMILIES,
|
|
22824
|
+
GOOGLE_WEBFONT_AXIS: () => GOOGLE_WEBFONT_AXIS,
|
|
22612
22825
|
METRIC_FONT_SUBSTITUTES: () => METRIC_FONT_SUBSTITUTES,
|
|
22613
22826
|
OOXML_DATETIME_PATTERNS: () => OOXML_DATETIME_PATTERNS,
|
|
22614
22827
|
PANOSE_FAMILY_MAP: () => PANOSE_FAMILY_MAP,
|
|
@@ -22617,15 +22830,24 @@ __export(text_exports, {
|
|
|
22617
22830
|
PANOSE_WEIGHT_MAP: () => PANOSE_WEIGHT_MAP,
|
|
22618
22831
|
TEXT_CASE_MODES: () => TEXT_CASE_MODES,
|
|
22619
22832
|
buildFontFamilyString: () => buildFontFamilyString,
|
|
22833
|
+
buildGoogleFontsFragment: () => buildGoogleFontsFragment,
|
|
22834
|
+
buildGoogleFontsHref: () => buildGoogleFontsHref,
|
|
22620
22835
|
buildLeaderString: () => buildLeaderString,
|
|
22621
22836
|
changeTextCase: () => changeTextCase,
|
|
22622
22837
|
changeTextCaseRanges: () => changeTextCaseRanges,
|
|
22623
22838
|
classifyPanose: () => classifyPanose,
|
|
22839
|
+
collectRunFamilies: () => collectRunFamilies,
|
|
22840
|
+
collectWebfontFaces: () => collectWebfontFaces,
|
|
22624
22841
|
decimalAnchorIndex: () => decimalAnchorIndex,
|
|
22625
22842
|
decimalSeparatorForLanguage: () => decimalSeparatorForLanguage,
|
|
22626
22843
|
designTextWidthEm: () => designTextWidthEm,
|
|
22627
22844
|
detectFontScript: () => detectFontScript,
|
|
22628
22845
|
distributeRunsText: () => distributeRunsText,
|
|
22846
|
+
findGoogleFontsFamily: () => findGoogleFontsFamily,
|
|
22847
|
+
findMetricCompatibleGoogleFontsFamily: () => findMetricCompatibleGoogleFontsFamily,
|
|
22848
|
+
fontStyleShorthand: () => fontStyleShorthand,
|
|
22849
|
+
fontWeightAttribute: () => fontWeightAttribute,
|
|
22850
|
+
fontWeightShorthand: () => fontWeightShorthand,
|
|
22629
22851
|
formatDatePicture: () => formatDatePicture,
|
|
22630
22852
|
formatLocaleNumber: () => formatLocaleNumber,
|
|
22631
22853
|
getLeaderCharacter: () => getLeaderCharacter,
|
|
@@ -22636,11 +22858,14 @@ __export(text_exports, {
|
|
|
22636
22858
|
hasDesignAdvances: () => hasDesignAdvances,
|
|
22637
22859
|
hasDirectSubstitution: () => hasDirectSubstitution,
|
|
22638
22860
|
hasDistinctScriptFonts: () => hasDistinctScriptFonts,
|
|
22861
|
+
matchGoogleWebfontFragments: () => matchGoogleWebfontFragments,
|
|
22639
22862
|
mergeTextThreeWay: () => mergeTextThreeWay,
|
|
22640
22863
|
metricFontFamily: () => metricFontFamily,
|
|
22641
22864
|
namedFontVerticalMetrics: () => namedFontVerticalMetrics,
|
|
22865
|
+
normalizeGoogleFontsBaseUrl: () => normalizeGoogleFontsBaseUrl,
|
|
22642
22866
|
officeFontVerticalMetrics: () => officeFontVerticalMetrics,
|
|
22643
22867
|
ooxmlDateTimeFieldPicture: () => ooxmlDateTimeFieldPicture,
|
|
22868
|
+
parseFontWeightName: () => parseFontWeightName,
|
|
22644
22869
|
parseLocaleNumber: () => parseLocaleNumber,
|
|
22645
22870
|
parsePanoseBytes: () => parsePanoseBytes,
|
|
22646
22871
|
parsePanoseString: () => parsePanoseString,
|
|
@@ -22648,9 +22873,15 @@ __export(text_exports, {
|
|
|
22648
22873
|
parseTsv: () => parseTsv,
|
|
22649
22874
|
realignOrCollapseRuns: () => realignOrCollapseRuns,
|
|
22650
22875
|
resolveFontForScript: () => resolveFontForScript,
|
|
22876
|
+
resolveFontItalic: () => resolveFontItalic,
|
|
22877
|
+
resolveFontWeight: () => resolveFontWeight,
|
|
22878
|
+
resolveGoogleFontsCss2Base: () => resolveGoogleFontsCss2Base,
|
|
22879
|
+
resolveGoogleFontsFace: () => resolveGoogleFontsFace,
|
|
22651
22880
|
resolveScriptFontSet: () => resolveScriptFontSet,
|
|
22652
22881
|
segmentByFont: () => segmentByFont,
|
|
22653
22882
|
segmentByScript: () => segmentByScript,
|
|
22883
|
+
selectGoogleWebfontFamilies: () => selectGoogleWebfontFamilies,
|
|
22884
|
+
servedGoogleFontsFamily: () => servedGoogleFontsFamily,
|
|
22654
22885
|
stripFontStyleSuffix: () => stripFontStyleSuffix,
|
|
22655
22886
|
subsetTrueType: () => subsetTrueType,
|
|
22656
22887
|
toTsv: () => toTsv,
|
|
@@ -23017,6 +23248,14 @@ function changeTextCaseRanges(text3, mode, boundaries = []) {
|
|
|
23017
23248
|
|
|
23018
23249
|
// text/font-metrics/design-advances.generated.ts
|
|
23019
23250
|
var DESIGN_ADVANCES = {
|
|
23251
|
+
aptos: {
|
|
23252
|
+
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",
|
|
23253
|
+
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"
|
|
23254
|
+
},
|
|
23255
|
+
"aptos display": {
|
|
23256
|
+
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",
|
|
23257
|
+
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"
|
|
23258
|
+
},
|
|
23020
23259
|
arial: {
|
|
23021
23260
|
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",
|
|
23022
23261
|
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"
|
|
@@ -23823,6 +24062,12 @@ var METRIC_FONT_SUBSTITUTES = {
|
|
|
23823
24062
|
calibri: { fallbacks: ["Carlito"], generic: "sans-serif" },
|
|
23824
24063
|
"calibri light": { fallbacks: ["Carlito"], generic: "sans-serif" },
|
|
23825
24064
|
cambria: { fallbacks: ["Caladea"], generic: "serif" },
|
|
24065
|
+
// Aptos, the Microsoft 365 default, has Calibri-close metrics; Carlito is the closest measured
|
|
24066
|
+
// clone (see `webfonts/metric-clones.ts`, which requests the same family).
|
|
24067
|
+
aptos: { fallbacks: ["Carlito"], generic: "sans-serif" },
|
|
24068
|
+
"aptos display": { fallbacks: ["Carlito"], generic: "sans-serif" },
|
|
24069
|
+
"aptos narrow": { fallbacks: ["Carlito"], generic: "sans-serif" },
|
|
24070
|
+
"aptos serif": { fallbacks: ["Caladea"], generic: "serif" },
|
|
23826
24071
|
arial: { fallbacks: ["Arimo", "Liberation Sans"], generic: "sans-serif" },
|
|
23827
24072
|
helvetica: { fallbacks: ["Arimo", "Liberation Sans"], generic: "sans-serif" },
|
|
23828
24073
|
"times new roman": { fallbacks: ["Tinos", "Liberation Serif"], generic: "serif" },
|
|
@@ -23997,7 +24242,7 @@ function parseTrueType(data) {
|
|
|
23997
24242
|
}
|
|
23998
24243
|
|
|
23999
24244
|
// text/truetype/subset.ts
|
|
24000
|
-
var pad4 = (
|
|
24245
|
+
var pad4 = (n3) => n3 + 3 & -4;
|
|
24001
24246
|
function checksum(bytes) {
|
|
24002
24247
|
let sum = 0;
|
|
24003
24248
|
for (let i2 = 0; i2 < bytes.length; i2 += 4)
|
|
@@ -24107,6 +24352,2222 @@ function subsetTrueType(font, used) {
|
|
|
24107
24352
|
return { data: out, glyphs };
|
|
24108
24353
|
}
|
|
24109
24354
|
|
|
24355
|
+
// text/webfonts/google-fonts-catalogue.ts
|
|
24356
|
+
var GOOGLE_FONTS_CATALOGUE_DATE = "2026-09-02";
|
|
24357
|
+
var GOOGLE_FONTS_FAMILIES = [
|
|
24358
|
+
"ABeeZee",
|
|
24359
|
+
"Abel",
|
|
24360
|
+
"Abhaya Libre",
|
|
24361
|
+
"Aboreto",
|
|
24362
|
+
"Abril Fatface",
|
|
24363
|
+
"Abyssinica SIL",
|
|
24364
|
+
"Aclonica",
|
|
24365
|
+
"Acme",
|
|
24366
|
+
"Actor",
|
|
24367
|
+
"Adamina",
|
|
24368
|
+
"ADLaM Display",
|
|
24369
|
+
"Advent Pro",
|
|
24370
|
+
"Afacad",
|
|
24371
|
+
"Afacad Flux",
|
|
24372
|
+
"Agbalumo",
|
|
24373
|
+
"Agdasima",
|
|
24374
|
+
"Agu Display",
|
|
24375
|
+
"Aguafina Script",
|
|
24376
|
+
"Akatab",
|
|
24377
|
+
"Akaya Kanadaka",
|
|
24378
|
+
"Akaya Telivigala",
|
|
24379
|
+
"Akronim",
|
|
24380
|
+
"Akshar",
|
|
24381
|
+
"Akt",
|
|
24382
|
+
"Aladin",
|
|
24383
|
+
"Alan Sans",
|
|
24384
|
+
"Alata",
|
|
24385
|
+
"Alatsi",
|
|
24386
|
+
"Albert Sans",
|
|
24387
|
+
"Aldrich",
|
|
24388
|
+
"Alef",
|
|
24389
|
+
"Alegreya",
|
|
24390
|
+
"Alegreya Sans",
|
|
24391
|
+
"Alegreya Sans SC",
|
|
24392
|
+
"Alegreya SC",
|
|
24393
|
+
"Aleo",
|
|
24394
|
+
"Alex Brush",
|
|
24395
|
+
"Alexandria",
|
|
24396
|
+
"Alfa Slab One",
|
|
24397
|
+
"Alice",
|
|
24398
|
+
"Alien Block",
|
|
24399
|
+
"Alike",
|
|
24400
|
+
"Alike Angular",
|
|
24401
|
+
"Alkalami",
|
|
24402
|
+
"Alkatra",
|
|
24403
|
+
"Allan",
|
|
24404
|
+
"Allerta",
|
|
24405
|
+
"Allerta Stencil",
|
|
24406
|
+
"Allison",
|
|
24407
|
+
"Allkin",
|
|
24408
|
+
"Allura",
|
|
24409
|
+
"Almarai",
|
|
24410
|
+
"Almendra",
|
|
24411
|
+
"Almendra Display",
|
|
24412
|
+
"Almendra SC",
|
|
24413
|
+
"Alumni Sans",
|
|
24414
|
+
"Alumni Sans Collegiate One",
|
|
24415
|
+
"Alumni Sans Inline One",
|
|
24416
|
+
"Alumni Sans Pinstripe",
|
|
24417
|
+
"Alumni Sans SC",
|
|
24418
|
+
"Alyamama",
|
|
24419
|
+
"Amarante",
|
|
24420
|
+
"Amaranth",
|
|
24421
|
+
"Amarna",
|
|
24422
|
+
"Amatic SC",
|
|
24423
|
+
"Amethysta",
|
|
24424
|
+
"Amiko",
|
|
24425
|
+
"Amiri",
|
|
24426
|
+
"Amiri Quran",
|
|
24427
|
+
"Amita",
|
|
24428
|
+
"Anaheim",
|
|
24429
|
+
"Ancizar Sans",
|
|
24430
|
+
"Ancizar Serif",
|
|
24431
|
+
"Andada Pro",
|
|
24432
|
+
"Andika",
|
|
24433
|
+
"Anek Bangla",
|
|
24434
|
+
"Anek Devanagari",
|
|
24435
|
+
"Anek Gujarati",
|
|
24436
|
+
"Anek Gurmukhi",
|
|
24437
|
+
"Anek Kannada",
|
|
24438
|
+
"Anek Latin",
|
|
24439
|
+
"Anek Malayalam",
|
|
24440
|
+
"Anek Odia",
|
|
24441
|
+
"Anek Tamil",
|
|
24442
|
+
"Anek Telugu",
|
|
24443
|
+
"Angkor",
|
|
24444
|
+
"Annapurna SIL",
|
|
24445
|
+
"Annie Use Your Telescope",
|
|
24446
|
+
"Anonymous Pro",
|
|
24447
|
+
"Anta",
|
|
24448
|
+
"Antic",
|
|
24449
|
+
"Antic Didone",
|
|
24450
|
+
"Antic Slab",
|
|
24451
|
+
"Anton",
|
|
24452
|
+
"Anton SC",
|
|
24453
|
+
"Antonio",
|
|
24454
|
+
"Anuphan",
|
|
24455
|
+
"Anybody",
|
|
24456
|
+
"Aoboshi One",
|
|
24457
|
+
"AR One Sans",
|
|
24458
|
+
"Arapey",
|
|
24459
|
+
"Arbutus",
|
|
24460
|
+
"Arbutus Slab",
|
|
24461
|
+
"Architects Daughter",
|
|
24462
|
+
"Archivo",
|
|
24463
|
+
"Archivo Black",
|
|
24464
|
+
"Archivo Narrow",
|
|
24465
|
+
"Are You Serious",
|
|
24466
|
+
"Aref Ruqaa",
|
|
24467
|
+
"Aref Ruqaa Ink",
|
|
24468
|
+
"Arima",
|
|
24469
|
+
"Arimo",
|
|
24470
|
+
"Arizonia",
|
|
24471
|
+
"Armata",
|
|
24472
|
+
"Arsenal",
|
|
24473
|
+
"Arsenal SC",
|
|
24474
|
+
"Artifika",
|
|
24475
|
+
"Arvo",
|
|
24476
|
+
"Arya",
|
|
24477
|
+
"Asap",
|
|
24478
|
+
"Asap Condensed",
|
|
24479
|
+
"Asap Sharp",
|
|
24480
|
+
"Asar",
|
|
24481
|
+
"Asimovian",
|
|
24482
|
+
"Asset",
|
|
24483
|
+
"Assistant",
|
|
24484
|
+
"Asta Sans",
|
|
24485
|
+
"Astloch",
|
|
24486
|
+
"Asul",
|
|
24487
|
+
"Athiti",
|
|
24488
|
+
"Atkinson Hyperlegible",
|
|
24489
|
+
"Atkinson Hyperlegible Mono",
|
|
24490
|
+
"Atkinson Hyperlegible Next",
|
|
24491
|
+
"Atma",
|
|
24492
|
+
"Atomic Age",
|
|
24493
|
+
"Aubrey",
|
|
24494
|
+
"Audiowide",
|
|
24495
|
+
"Autour One",
|
|
24496
|
+
"Average",
|
|
24497
|
+
"Average Sans",
|
|
24498
|
+
"Averia Gruesa Libre",
|
|
24499
|
+
"Averia Libre",
|
|
24500
|
+
"Averia Sans Libre",
|
|
24501
|
+
"Averia Serif Libre",
|
|
24502
|
+
"Azeret Mono",
|
|
24503
|
+
"B612",
|
|
24504
|
+
"B612 Mono",
|
|
24505
|
+
"Babylonica",
|
|
24506
|
+
"Bacasime Antique",
|
|
24507
|
+
"Bad Script",
|
|
24508
|
+
"Badeen Display",
|
|
24509
|
+
"Bagel Fat One",
|
|
24510
|
+
"Bahiana",
|
|
24511
|
+
"Bahianita",
|
|
24512
|
+
"Bai Jamjuree",
|
|
24513
|
+
"Bakbak One",
|
|
24514
|
+
"Ballet",
|
|
24515
|
+
"Baloo 2",
|
|
24516
|
+
"Baloo Bhai 2",
|
|
24517
|
+
"Baloo Bhaijaan 2",
|
|
24518
|
+
"Baloo Bhaina 2",
|
|
24519
|
+
"Baloo Chettan 2",
|
|
24520
|
+
"Baloo Da 2",
|
|
24521
|
+
"Baloo Paaji 2",
|
|
24522
|
+
"Baloo Tamma 2",
|
|
24523
|
+
"Baloo Tammudu 2",
|
|
24524
|
+
"Baloo Thambi 2",
|
|
24525
|
+
"Balsamiq Sans",
|
|
24526
|
+
"Balthazar",
|
|
24527
|
+
"Bangers",
|
|
24528
|
+
"Barlow",
|
|
24529
|
+
"Barlow Condensed",
|
|
24530
|
+
"Barlow Semi Condensed",
|
|
24531
|
+
"Barriecito",
|
|
24532
|
+
"Barrio",
|
|
24533
|
+
"Basic",
|
|
24534
|
+
"Baskervville",
|
|
24535
|
+
"Baskervville SC",
|
|
24536
|
+
"Battambang",
|
|
24537
|
+
"Baumans",
|
|
24538
|
+
"Bayon",
|
|
24539
|
+
"BBH Bartle",
|
|
24540
|
+
"BBH Bogle",
|
|
24541
|
+
"BBH Hegarty",
|
|
24542
|
+
"Be Vietnam Pro",
|
|
24543
|
+
"Beau Rivage",
|
|
24544
|
+
"Bebas Neue",
|
|
24545
|
+
"Beiruti",
|
|
24546
|
+
"Belanosima",
|
|
24547
|
+
"Belgrano",
|
|
24548
|
+
"Bellefair",
|
|
24549
|
+
"Belleza",
|
|
24550
|
+
"Bellota",
|
|
24551
|
+
"Bellota Text",
|
|
24552
|
+
"BenchNine",
|
|
24553
|
+
"Benne",
|
|
24554
|
+
"Bentham",
|
|
24555
|
+
"Berkshire Swash",
|
|
24556
|
+
"Besley",
|
|
24557
|
+
"Betania Patmos",
|
|
24558
|
+
"Betania Patmos GDL",
|
|
24559
|
+
"Betania Patmos In",
|
|
24560
|
+
"Betania Patmos In GDL",
|
|
24561
|
+
"Beth Ellen",
|
|
24562
|
+
"Bevan",
|
|
24563
|
+
"BhuTuka Expanded One",
|
|
24564
|
+
"Big Shoulders",
|
|
24565
|
+
"Big Shoulders Inline",
|
|
24566
|
+
"Big Shoulders Stencil",
|
|
24567
|
+
"Bigelow Rules",
|
|
24568
|
+
"Bigshot One",
|
|
24569
|
+
"Bilbo",
|
|
24570
|
+
"Bilbo Swash Caps",
|
|
24571
|
+
"BioRhyme",
|
|
24572
|
+
"BioRhyme Expanded",
|
|
24573
|
+
"Birthstone",
|
|
24574
|
+
"Birthstone Bounce",
|
|
24575
|
+
"Biryani",
|
|
24576
|
+
"Bitcount",
|
|
24577
|
+
"Bitcount Grid Double",
|
|
24578
|
+
"Bitcount Grid Double Ink",
|
|
24579
|
+
"Bitcount Grid Single",
|
|
24580
|
+
"Bitcount Grid Single Ink",
|
|
24581
|
+
"Bitcount Ink",
|
|
24582
|
+
"Bitcount Prop Double",
|
|
24583
|
+
"Bitcount Prop Double Ink",
|
|
24584
|
+
"Bitcount Prop Single",
|
|
24585
|
+
"Bitcount Prop Single Ink",
|
|
24586
|
+
"Bitcount Single",
|
|
24587
|
+
"Bitcount Single Ink",
|
|
24588
|
+
"Bitter",
|
|
24589
|
+
"BIZ UDGothic",
|
|
24590
|
+
"BIZ UDMincho",
|
|
24591
|
+
"BIZ UDPGothic",
|
|
24592
|
+
"BIZ UDPMincho",
|
|
24593
|
+
"BJCree",
|
|
24594
|
+
"Black And White Picture",
|
|
24595
|
+
"Black Han Sans",
|
|
24596
|
+
"Black Ops One",
|
|
24597
|
+
"Blaka",
|
|
24598
|
+
"Blaka Hollow",
|
|
24599
|
+
"Blaka Ink",
|
|
24600
|
+
"Blinker",
|
|
24601
|
+
"Bodoni Moda",
|
|
24602
|
+
"Bodoni Moda SC",
|
|
24603
|
+
"Bokor",
|
|
24604
|
+
"Boldonse",
|
|
24605
|
+
"Bona Nova",
|
|
24606
|
+
"Bona Nova SC",
|
|
24607
|
+
"Bonbon",
|
|
24608
|
+
"Bonheur Royale",
|
|
24609
|
+
"Boogaloo",
|
|
24610
|
+
"Borel",
|
|
24611
|
+
"Bowlby One",
|
|
24612
|
+
"Bowlby One SC",
|
|
24613
|
+
"Bpmf Huninn",
|
|
24614
|
+
"Bpmf Iansui",
|
|
24615
|
+
"Bpmf Zihi Kai Std",
|
|
24616
|
+
"Braah One",
|
|
24617
|
+
"Brawler",
|
|
24618
|
+
"Bree Serif",
|
|
24619
|
+
"Bricolage Grotesque",
|
|
24620
|
+
"Bruno Ace",
|
|
24621
|
+
"Bruno Ace SC",
|
|
24622
|
+
"Brygada 1918",
|
|
24623
|
+
"Bubblegum Sans",
|
|
24624
|
+
"Bubbler One",
|
|
24625
|
+
"Buda",
|
|
24626
|
+
"Buenard",
|
|
24627
|
+
"Bungee",
|
|
24628
|
+
"Bungee Hairline",
|
|
24629
|
+
"Bungee Inline",
|
|
24630
|
+
"Bungee Outline",
|
|
24631
|
+
"Bungee Shade",
|
|
24632
|
+
"Bungee Spice",
|
|
24633
|
+
"Bungee Tint",
|
|
24634
|
+
"Butcherman",
|
|
24635
|
+
"Butterfly Kids",
|
|
24636
|
+
"Bytesized",
|
|
24637
|
+
"Caacupe One",
|
|
24638
|
+
"Cabin",
|
|
24639
|
+
"Cabin Condensed",
|
|
24640
|
+
"Cabin Sketch",
|
|
24641
|
+
"Cactus Classical Serif",
|
|
24642
|
+
"Caesar Dressing",
|
|
24643
|
+
"Cagliostro",
|
|
24644
|
+
"Cairo",
|
|
24645
|
+
"Cairo Play",
|
|
24646
|
+
"Cal Sans",
|
|
24647
|
+
"Caladea",
|
|
24648
|
+
"Calistoga",
|
|
24649
|
+
"Calligraffitti",
|
|
24650
|
+
"Cambay",
|
|
24651
|
+
"Cambo",
|
|
24652
|
+
"Candal",
|
|
24653
|
+
"Cantarell",
|
|
24654
|
+
"Cantata One",
|
|
24655
|
+
"Cantora One",
|
|
24656
|
+
"Caprasimo",
|
|
24657
|
+
"Capriola",
|
|
24658
|
+
"Caramel",
|
|
24659
|
+
"Carattere",
|
|
24660
|
+
"Cardo",
|
|
24661
|
+
"Carlito",
|
|
24662
|
+
"Carme",
|
|
24663
|
+
"Carrois Gothic",
|
|
24664
|
+
"Carrois Gothic SC",
|
|
24665
|
+
"Carter One",
|
|
24666
|
+
"Cascadia Code",
|
|
24667
|
+
"Cascadia Mono",
|
|
24668
|
+
"Castoro",
|
|
24669
|
+
"Castoro Titling",
|
|
24670
|
+
"Catamaran",
|
|
24671
|
+
"Caudex",
|
|
24672
|
+
"Cause",
|
|
24673
|
+
"Caveat",
|
|
24674
|
+
"Caveat Brush",
|
|
24675
|
+
"Cedarville Cursive",
|
|
24676
|
+
"Ceviche One",
|
|
24677
|
+
"Chakra Petch",
|
|
24678
|
+
"Changa",
|
|
24679
|
+
"Changa One",
|
|
24680
|
+
"Chango",
|
|
24681
|
+
"Charis SIL",
|
|
24682
|
+
"Charm",
|
|
24683
|
+
"Charmonman",
|
|
24684
|
+
"Chathura",
|
|
24685
|
+
"Chau Philomene One",
|
|
24686
|
+
"Chela One",
|
|
24687
|
+
"Chelsea Market",
|
|
24688
|
+
"Chenla",
|
|
24689
|
+
"Cherish",
|
|
24690
|
+
"Cherry Bomb One",
|
|
24691
|
+
"Cherry Cream Soda",
|
|
24692
|
+
"Cherry Swash",
|
|
24693
|
+
"Chewy",
|
|
24694
|
+
"Chicle",
|
|
24695
|
+
"Chilanka",
|
|
24696
|
+
"Chiron GoRound TC",
|
|
24697
|
+
"Chiron Hei HK",
|
|
24698
|
+
"Chiron Sung HK",
|
|
24699
|
+
"Chivo",
|
|
24700
|
+
"Chivo Mono",
|
|
24701
|
+
"Chocolate Classical Sans",
|
|
24702
|
+
"Chokokutai",
|
|
24703
|
+
"Chonburi",
|
|
24704
|
+
"Cinzel",
|
|
24705
|
+
"Cinzel Decorative",
|
|
24706
|
+
"Clicker Script",
|
|
24707
|
+
"Climate Crisis",
|
|
24708
|
+
"Coda",
|
|
24709
|
+
"Codystar",
|
|
24710
|
+
"Coiny",
|
|
24711
|
+
"Combo",
|
|
24712
|
+
"Comfortaa",
|
|
24713
|
+
"Comforter",
|
|
24714
|
+
"Comforter Brush",
|
|
24715
|
+
"Comic Neue",
|
|
24716
|
+
"Comic Relief",
|
|
24717
|
+
"Coming Soon",
|
|
24718
|
+
"Comme",
|
|
24719
|
+
"Commissioner",
|
|
24720
|
+
"Concert One",
|
|
24721
|
+
"Condiment",
|
|
24722
|
+
"Content",
|
|
24723
|
+
"Contrail One",
|
|
24724
|
+
"Convergence",
|
|
24725
|
+
"Cookie",
|
|
24726
|
+
"Copse",
|
|
24727
|
+
"Coral Pixels",
|
|
24728
|
+
"Corben",
|
|
24729
|
+
"Corinthia",
|
|
24730
|
+
"Cormorant",
|
|
24731
|
+
"Cormorant Garamond",
|
|
24732
|
+
"Cormorant Infant",
|
|
24733
|
+
"Cormorant SC",
|
|
24734
|
+
"Cormorant Unicase",
|
|
24735
|
+
"Cormorant Upright",
|
|
24736
|
+
"Cossette Texte",
|
|
24737
|
+
"Cossette Titre",
|
|
24738
|
+
"Courgette",
|
|
24739
|
+
"Courier Prime",
|
|
24740
|
+
"Cousine",
|
|
24741
|
+
"Coustard",
|
|
24742
|
+
"Covered By Your Grace",
|
|
24743
|
+
"Crafty Girls",
|
|
24744
|
+
"Creepster",
|
|
24745
|
+
"Crete Round",
|
|
24746
|
+
"Crimson Pro",
|
|
24747
|
+
"Crimson Text",
|
|
24748
|
+
"Croissant One",
|
|
24749
|
+
"Crushed",
|
|
24750
|
+
"Cuprum",
|
|
24751
|
+
"Cute Font",
|
|
24752
|
+
"Cutive",
|
|
24753
|
+
"Cutive Mono",
|
|
24754
|
+
"Dai Banna SIL",
|
|
24755
|
+
"Damion",
|
|
24756
|
+
"Dancing Script",
|
|
24757
|
+
"Danfo",
|
|
24758
|
+
"Dangrek",
|
|
24759
|
+
"Darker Grotesque",
|
|
24760
|
+
"Darumadrop One",
|
|
24761
|
+
"Datatype",
|
|
24762
|
+
"David Libre",
|
|
24763
|
+
"Dawning of a New Day",
|
|
24764
|
+
"Days One",
|
|
24765
|
+
"Dekko",
|
|
24766
|
+
"Dela Gothic One",
|
|
24767
|
+
"Delicious Handrawn",
|
|
24768
|
+
"Delius",
|
|
24769
|
+
"Delius Swash Caps",
|
|
24770
|
+
"Delius Unicase",
|
|
24771
|
+
"Della Respira",
|
|
24772
|
+
"Denk One",
|
|
24773
|
+
"Devonshire",
|
|
24774
|
+
"Dhurjati",
|
|
24775
|
+
"Didact Gothic",
|
|
24776
|
+
"Diphylleia",
|
|
24777
|
+
"Diplomata",
|
|
24778
|
+
"Diplomata SC",
|
|
24779
|
+
"DM Mono",
|
|
24780
|
+
"DM Sans",
|
|
24781
|
+
"DM Serif Display",
|
|
24782
|
+
"DM Serif Text",
|
|
24783
|
+
"Do Hyeon",
|
|
24784
|
+
"Dokdo",
|
|
24785
|
+
"Domine",
|
|
24786
|
+
"Donegal One",
|
|
24787
|
+
"Dongle",
|
|
24788
|
+
"Doppio One",
|
|
24789
|
+
"Dorsa",
|
|
24790
|
+
"Dosis",
|
|
24791
|
+
"DotGothic16",
|
|
24792
|
+
"Doto",
|
|
24793
|
+
"Dr Sugiyama",
|
|
24794
|
+
"Duru Sans",
|
|
24795
|
+
"Dynalight",
|
|
24796
|
+
"DynaPuff",
|
|
24797
|
+
"Eagle Lake",
|
|
24798
|
+
"East Sea Dokdo",
|
|
24799
|
+
"Eater",
|
|
24800
|
+
"EB Garamond",
|
|
24801
|
+
"Economica",
|
|
24802
|
+
"Eczar",
|
|
24803
|
+
"Edu AU VIC WA NT Arrows",
|
|
24804
|
+
"Edu AU VIC WA NT Dots",
|
|
24805
|
+
"Edu AU VIC WA NT Guides",
|
|
24806
|
+
"Edu AU VIC WA NT Hand",
|
|
24807
|
+
"Edu AU VIC WA NT Pre",
|
|
24808
|
+
"Edu NSW ACT Cursive",
|
|
24809
|
+
"Edu NSW ACT Foundation",
|
|
24810
|
+
"Edu NSW ACT Hand Pre",
|
|
24811
|
+
"Edu QLD Beginner",
|
|
24812
|
+
"Edu QLD Hand",
|
|
24813
|
+
"Edu SA Beginner",
|
|
24814
|
+
"Edu SA Hand",
|
|
24815
|
+
"Edu TAS Beginner",
|
|
24816
|
+
"Edu VIC WA NT Beginner",
|
|
24817
|
+
"Edu VIC WA NT Hand",
|
|
24818
|
+
"Edu VIC WA NT Hand Pre",
|
|
24819
|
+
"El Messiri",
|
|
24820
|
+
"Electrolize",
|
|
24821
|
+
"Elms Sans",
|
|
24822
|
+
"Elsie",
|
|
24823
|
+
"Elsie Swash Caps",
|
|
24824
|
+
"Emblema One",
|
|
24825
|
+
"Emilys Candy",
|
|
24826
|
+
"Encode Sans",
|
|
24827
|
+
"Encode Sans Condensed",
|
|
24828
|
+
"Encode Sans Expanded",
|
|
24829
|
+
"Encode Sans SC",
|
|
24830
|
+
"Encode Sans Semi Condensed",
|
|
24831
|
+
"Encode Sans Semi Expanded",
|
|
24832
|
+
"Engagement",
|
|
24833
|
+
"Englebert",
|
|
24834
|
+
"Enriqueta",
|
|
24835
|
+
"Ephesis",
|
|
24836
|
+
"Epilogue",
|
|
24837
|
+
"Epunda Sans",
|
|
24838
|
+
"Epunda Slab",
|
|
24839
|
+
"Erica One",
|
|
24840
|
+
"Esteban",
|
|
24841
|
+
"Estedad",
|
|
24842
|
+
"Estonia",
|
|
24843
|
+
"Euphoria Script",
|
|
24844
|
+
"Ewert",
|
|
24845
|
+
"Exile",
|
|
24846
|
+
"Exo",
|
|
24847
|
+
"Exo 2",
|
|
24848
|
+
"Expletus Sans",
|
|
24849
|
+
"Explora",
|
|
24850
|
+
"Faculty Glyphic",
|
|
24851
|
+
"Fahkwang",
|
|
24852
|
+
"Familjen Grotesk",
|
|
24853
|
+
"Fanwood Text",
|
|
24854
|
+
"Farro",
|
|
24855
|
+
"Farsan",
|
|
24856
|
+
"Fascinate",
|
|
24857
|
+
"Fascinate Inline",
|
|
24858
|
+
"Faster One",
|
|
24859
|
+
"Fasthand",
|
|
24860
|
+
"Fauna One",
|
|
24861
|
+
"Faustina",
|
|
24862
|
+
"Federant",
|
|
24863
|
+
"Federo",
|
|
24864
|
+
"Felipa",
|
|
24865
|
+
"Fenix",
|
|
24866
|
+
"Festive",
|
|
24867
|
+
"Figtree",
|
|
24868
|
+
"Finger Paint",
|
|
24869
|
+
"Finlandica Headline",
|
|
24870
|
+
"Finlandica Text",
|
|
24871
|
+
"Fira Code",
|
|
24872
|
+
"Fira Mono",
|
|
24873
|
+
"Fira Sans",
|
|
24874
|
+
"Fira Sans Condensed",
|
|
24875
|
+
"Fira Sans Extra Condensed",
|
|
24876
|
+
"Fjalla One",
|
|
24877
|
+
"Fjord One",
|
|
24878
|
+
"Flamenco",
|
|
24879
|
+
"Flavors",
|
|
24880
|
+
"Fleur De Leah",
|
|
24881
|
+
"Flow Block",
|
|
24882
|
+
"Flow Circular",
|
|
24883
|
+
"Flow Rounded",
|
|
24884
|
+
"Foldit",
|
|
24885
|
+
"Fondamento",
|
|
24886
|
+
"Fontdiner Swanky",
|
|
24887
|
+
"Forum",
|
|
24888
|
+
"Fragment Mono",
|
|
24889
|
+
"Francois One",
|
|
24890
|
+
"Frank Ruhl Libre",
|
|
24891
|
+
"Fraunces",
|
|
24892
|
+
"Freckle Face",
|
|
24893
|
+
"Fredericka the Great",
|
|
24894
|
+
"Fredoka",
|
|
24895
|
+
"Freehand",
|
|
24896
|
+
"Freeman",
|
|
24897
|
+
"Fresca",
|
|
24898
|
+
"Frijole",
|
|
24899
|
+
"Fruktur",
|
|
24900
|
+
"Fugaz One",
|
|
24901
|
+
"Fuggles",
|
|
24902
|
+
"Funnel Display",
|
|
24903
|
+
"Funnel Sans",
|
|
24904
|
+
"Fustat",
|
|
24905
|
+
"Fuzzy Bubbles",
|
|
24906
|
+
"Ga Maamli",
|
|
24907
|
+
"Gabarito",
|
|
24908
|
+
"Gabriela",
|
|
24909
|
+
"Gaegu",
|
|
24910
|
+
"Gafata",
|
|
24911
|
+
"Gajraj One",
|
|
24912
|
+
"Galada",
|
|
24913
|
+
"Galdeano",
|
|
24914
|
+
"Galindo",
|
|
24915
|
+
"Gamja Flower",
|
|
24916
|
+
"Gantari",
|
|
24917
|
+
"Gasoek One",
|
|
24918
|
+
"Gayathri",
|
|
24919
|
+
"Geist",
|
|
24920
|
+
"Geist Mono",
|
|
24921
|
+
"Geist Pixel",
|
|
24922
|
+
"Gelasio",
|
|
24923
|
+
"Gemunu Libre",
|
|
24924
|
+
"Genos",
|
|
24925
|
+
"Gentium Book Plus",
|
|
24926
|
+
"Gentium Plus",
|
|
24927
|
+
"Geo",
|
|
24928
|
+
"Geologica",
|
|
24929
|
+
"Geom",
|
|
24930
|
+
"Geomini",
|
|
24931
|
+
"Georama",
|
|
24932
|
+
"Geostar",
|
|
24933
|
+
"Geostar Fill",
|
|
24934
|
+
"Germania One",
|
|
24935
|
+
"GFS Didot",
|
|
24936
|
+
"GFS Neohellenic",
|
|
24937
|
+
"Gideon Roman",
|
|
24938
|
+
"Gidole",
|
|
24939
|
+
"Gidugu",
|
|
24940
|
+
"Gilda Display",
|
|
24941
|
+
"Girassol",
|
|
24942
|
+
"Give You Glory",
|
|
24943
|
+
"Glass Antiqua",
|
|
24944
|
+
"Glegoo",
|
|
24945
|
+
"Gloock",
|
|
24946
|
+
"Gloria Hallelujah",
|
|
24947
|
+
"Glory",
|
|
24948
|
+
"Gluten",
|
|
24949
|
+
"Goblin One",
|
|
24950
|
+
"Gochi Hand",
|
|
24951
|
+
"Goldman",
|
|
24952
|
+
"Golos Text",
|
|
24953
|
+
"Google Sans",
|
|
24954
|
+
"Google Sans Code",
|
|
24955
|
+
"Google Sans Flex",
|
|
24956
|
+
"Gorditas",
|
|
24957
|
+
"Gothic A1",
|
|
24958
|
+
"Gotu",
|
|
24959
|
+
"Goudy Bookletter 1911",
|
|
24960
|
+
"Gowun Batang",
|
|
24961
|
+
"Gowun Dodum",
|
|
24962
|
+
"Graduate",
|
|
24963
|
+
"Grand Hotel",
|
|
24964
|
+
"Grandiflora One",
|
|
24965
|
+
"Grandstander",
|
|
24966
|
+
"Grape Nuts",
|
|
24967
|
+
"Gravitas One",
|
|
24968
|
+
"Great Vibes",
|
|
24969
|
+
"Grechen Fuemen",
|
|
24970
|
+
"Grenze",
|
|
24971
|
+
"Grenze Gotisch",
|
|
24972
|
+
"Grey Qo",
|
|
24973
|
+
"Griffy",
|
|
24974
|
+
"Gruppo",
|
|
24975
|
+
"Gudea",
|
|
24976
|
+
"Gugi",
|
|
24977
|
+
"Gulzar",
|
|
24978
|
+
"Gupter",
|
|
24979
|
+
"Gurajada",
|
|
24980
|
+
"Gveret Levin",
|
|
24981
|
+
"Gwendolyn",
|
|
24982
|
+
"Habibi",
|
|
24983
|
+
"Hachi Maru Pop",
|
|
24984
|
+
"Hahmlet",
|
|
24985
|
+
"Halant",
|
|
24986
|
+
"Hammersmith One",
|
|
24987
|
+
"Hanalei",
|
|
24988
|
+
"Hanalei Fill",
|
|
24989
|
+
"Handjet",
|
|
24990
|
+
"Handlee",
|
|
24991
|
+
"Hanken Grotesk",
|
|
24992
|
+
"Hanuman",
|
|
24993
|
+
"Happy Monkey",
|
|
24994
|
+
"Harmattan",
|
|
24995
|
+
"Headland One",
|
|
24996
|
+
"Hedvig Letters Sans",
|
|
24997
|
+
"Hedvig Letters Serif",
|
|
24998
|
+
"Heebo",
|
|
24999
|
+
"Henny Penny",
|
|
25000
|
+
"Hepta Slab",
|
|
25001
|
+
"Herr Von Muellerhoff",
|
|
25002
|
+
"Hi Melody",
|
|
25003
|
+
"Hibur Mono",
|
|
25004
|
+
"Hina Mincho",
|
|
25005
|
+
"Hind",
|
|
25006
|
+
"Hind Guntur",
|
|
25007
|
+
"Hind Madurai",
|
|
25008
|
+
"Hind Mysuru",
|
|
25009
|
+
"Hind Siliguri",
|
|
25010
|
+
"Hind Vadodara",
|
|
25011
|
+
"Holtwood One SC",
|
|
25012
|
+
"Homemade Apple",
|
|
25013
|
+
"Homenaje",
|
|
25014
|
+
"Honk",
|
|
25015
|
+
"Host Grotesk",
|
|
25016
|
+
"Hubballi",
|
|
25017
|
+
"Hubot Sans",
|
|
25018
|
+
"Huninn",
|
|
25019
|
+
"Hurricane",
|
|
25020
|
+
"Iansui",
|
|
25021
|
+
"Ibarra Real Nova",
|
|
25022
|
+
"IBM Plex Mono",
|
|
25023
|
+
"IBM Plex Sans",
|
|
25024
|
+
"IBM Plex Sans Arabic",
|
|
25025
|
+
"IBM Plex Sans Condensed",
|
|
25026
|
+
"IBM Plex Sans Devanagari",
|
|
25027
|
+
"IBM Plex Sans Hebrew",
|
|
25028
|
+
"IBM Plex Sans JP",
|
|
25029
|
+
"IBM Plex Sans KR",
|
|
25030
|
+
"IBM Plex Sans Thai",
|
|
25031
|
+
"IBM Plex Sans Thai Looped",
|
|
25032
|
+
"IBM Plex Serif",
|
|
25033
|
+
"Iceberg",
|
|
25034
|
+
"Iceland",
|
|
25035
|
+
"Idiqlat",
|
|
25036
|
+
"IM Fell Double Pica",
|
|
25037
|
+
"IM Fell Double Pica SC",
|
|
25038
|
+
"IM Fell DW Pica",
|
|
25039
|
+
"IM Fell DW Pica SC",
|
|
25040
|
+
"IM Fell English",
|
|
25041
|
+
"IM Fell English SC",
|
|
25042
|
+
"IM Fell French Canon",
|
|
25043
|
+
"IM Fell French Canon SC",
|
|
25044
|
+
"IM Fell Great Primer",
|
|
25045
|
+
"IM Fell Great Primer SC",
|
|
25046
|
+
"Imbue",
|
|
25047
|
+
"Imperial Script",
|
|
25048
|
+
"Imprima",
|
|
25049
|
+
"Inclusive Sans",
|
|
25050
|
+
"Inconsolata",
|
|
25051
|
+
"Inder",
|
|
25052
|
+
"Indie Flower",
|
|
25053
|
+
"Ingrid Darling",
|
|
25054
|
+
"Inika",
|
|
25055
|
+
"Inknut Antiqua",
|
|
25056
|
+
"Inria Sans",
|
|
25057
|
+
"Inria Serif",
|
|
25058
|
+
"Inspiration",
|
|
25059
|
+
"Instrument Sans",
|
|
25060
|
+
"Instrument Serif",
|
|
25061
|
+
"Intel One Mono",
|
|
25062
|
+
"Inter",
|
|
25063
|
+
"Inter Tight",
|
|
25064
|
+
"Iosevka Charon",
|
|
25065
|
+
"Iosevka Charon Mono",
|
|
25066
|
+
"Irish Grover",
|
|
25067
|
+
"Island Moments",
|
|
25068
|
+
"Istok Web",
|
|
25069
|
+
"Italiana",
|
|
25070
|
+
"Italianno",
|
|
25071
|
+
"Itim",
|
|
25072
|
+
"Jacquard 12",
|
|
25073
|
+
"Jacquard 12 Charted",
|
|
25074
|
+
"Jacquard 24",
|
|
25075
|
+
"Jacquard 24 Charted",
|
|
25076
|
+
"Jacquarda Bastarda 9",
|
|
25077
|
+
"Jacquarda Bastarda 9 Charted",
|
|
25078
|
+
"Jacques Francois",
|
|
25079
|
+
"Jacques Francois Shadow",
|
|
25080
|
+
"Jaini",
|
|
25081
|
+
"Jaini Purva",
|
|
25082
|
+
"Jaldi",
|
|
25083
|
+
"Jaro",
|
|
25084
|
+
"Jersey 10",
|
|
25085
|
+
"Jersey 10 Charted",
|
|
25086
|
+
"Jersey 15",
|
|
25087
|
+
"Jersey 15 Charted",
|
|
25088
|
+
"Jersey 20",
|
|
25089
|
+
"Jersey 20 Charted",
|
|
25090
|
+
"Jersey 25",
|
|
25091
|
+
"Jersey 25 Charted",
|
|
25092
|
+
"JetBrains Mono",
|
|
25093
|
+
"Jim Nightshade",
|
|
25094
|
+
"Joan",
|
|
25095
|
+
"Jockey One",
|
|
25096
|
+
"Jolly Lodger",
|
|
25097
|
+
"Jomhuria",
|
|
25098
|
+
"Jomolhari",
|
|
25099
|
+
"Josefin Sans",
|
|
25100
|
+
"Josefin Slab",
|
|
25101
|
+
"Jost",
|
|
25102
|
+
"Joti One",
|
|
25103
|
+
"Jua",
|
|
25104
|
+
"Judson",
|
|
25105
|
+
"Julee",
|
|
25106
|
+
"Julius Sans One",
|
|
25107
|
+
"Junge",
|
|
25108
|
+
"Jura",
|
|
25109
|
+
"Just Another Hand",
|
|
25110
|
+
"Just Me Again Down Here",
|
|
25111
|
+
"K2D",
|
|
25112
|
+
"Kablammo",
|
|
25113
|
+
"Kadwa",
|
|
25114
|
+
"Kaisei Decol",
|
|
25115
|
+
"Kaisei HarunoUmi",
|
|
25116
|
+
"Kaisei Opti",
|
|
25117
|
+
"Kaisei Tokumin",
|
|
25118
|
+
"Kalam",
|
|
25119
|
+
"Kalnia",
|
|
25120
|
+
"Kalnia Glaze",
|
|
25121
|
+
"Kameron",
|
|
25122
|
+
"Kanchenjunga",
|
|
25123
|
+
"Kanit",
|
|
25124
|
+
"Kantumruy Pro",
|
|
25125
|
+
"Kapakana",
|
|
25126
|
+
"Karantina",
|
|
25127
|
+
"Karla",
|
|
25128
|
+
"Karla Tamil Inclined",
|
|
25129
|
+
"Karla Tamil Upright",
|
|
25130
|
+
"Karma",
|
|
25131
|
+
"Katibeh",
|
|
25132
|
+
"Kaushan Script",
|
|
25133
|
+
"Kavivanar",
|
|
25134
|
+
"Kavoon",
|
|
25135
|
+
"Kay Pho Du",
|
|
25136
|
+
"Kdam Thmor Pro",
|
|
25137
|
+
"Keania One",
|
|
25138
|
+
"Kedebideri",
|
|
25139
|
+
"Kelly Slab",
|
|
25140
|
+
"Kenia",
|
|
25141
|
+
"Khand",
|
|
25142
|
+
"Khmer",
|
|
25143
|
+
"Khula",
|
|
25144
|
+
"Kings",
|
|
25145
|
+
"Kirang Haerang",
|
|
25146
|
+
"Kite One",
|
|
25147
|
+
"Kiwi Maru",
|
|
25148
|
+
"Klee One",
|
|
25149
|
+
"Knewave",
|
|
25150
|
+
"Kodchasan",
|
|
25151
|
+
"Kode Mono",
|
|
25152
|
+
"Koh Santepheap",
|
|
25153
|
+
"KoHo",
|
|
25154
|
+
"Kolker Brush",
|
|
25155
|
+
"Konkhmer Sleokchher",
|
|
25156
|
+
"Kosugi",
|
|
25157
|
+
"Kosugi Maru",
|
|
25158
|
+
"Kotta One",
|
|
25159
|
+
"Koulen",
|
|
25160
|
+
"Kranky",
|
|
25161
|
+
"Kreon",
|
|
25162
|
+
"Kristi",
|
|
25163
|
+
"Krona One",
|
|
25164
|
+
"Krub",
|
|
25165
|
+
"Kufam",
|
|
25166
|
+
"Kulim Park",
|
|
25167
|
+
"Kumar One",
|
|
25168
|
+
"Kumar One Outline",
|
|
25169
|
+
"Kumbh Sans",
|
|
25170
|
+
"Kurale",
|
|
25171
|
+
"La Belle Aurore",
|
|
25172
|
+
"Labrada",
|
|
25173
|
+
"Lacquer",
|
|
25174
|
+
"Laila",
|
|
25175
|
+
"Lakki Reddy",
|
|
25176
|
+
"Lalezar",
|
|
25177
|
+
"Lancelot",
|
|
25178
|
+
"Langar",
|
|
25179
|
+
"Lateef",
|
|
25180
|
+
"Lato",
|
|
25181
|
+
"Lavishly Yours",
|
|
25182
|
+
"League Gothic",
|
|
25183
|
+
"League Script",
|
|
25184
|
+
"League Spartan",
|
|
25185
|
+
"Leckerli One",
|
|
25186
|
+
"Ledger",
|
|
25187
|
+
"Lekton",
|
|
25188
|
+
"Lemon",
|
|
25189
|
+
"Lemonada",
|
|
25190
|
+
"Lexend",
|
|
25191
|
+
"Lexend Deca",
|
|
25192
|
+
"Lexend Exa",
|
|
25193
|
+
"Lexend Giga",
|
|
25194
|
+
"Lexend Mega",
|
|
25195
|
+
"Lexend Peta",
|
|
25196
|
+
"Lexend Tera",
|
|
25197
|
+
"Lexend Zetta",
|
|
25198
|
+
"Libertinus Keyboard",
|
|
25199
|
+
"Libertinus Math",
|
|
25200
|
+
"Libertinus Mono",
|
|
25201
|
+
"Libertinus Sans",
|
|
25202
|
+
"Libertinus Serif",
|
|
25203
|
+
"Libertinus Serif Display",
|
|
25204
|
+
"Libre Barcode 128",
|
|
25205
|
+
"Libre Barcode 128 Text",
|
|
25206
|
+
"Libre Barcode 39",
|
|
25207
|
+
"Libre Barcode 39 Extended",
|
|
25208
|
+
"Libre Barcode 39 Extended Text",
|
|
25209
|
+
"Libre Barcode 39 Text",
|
|
25210
|
+
"Libre Barcode EAN13 Text",
|
|
25211
|
+
"Libre Baskerville",
|
|
25212
|
+
"Libre Bodoni",
|
|
25213
|
+
"Libre Caslon Display",
|
|
25214
|
+
"Libre Caslon Text",
|
|
25215
|
+
"Libre Franklin",
|
|
25216
|
+
"Licorice",
|
|
25217
|
+
"Life Savers",
|
|
25218
|
+
"Lilex",
|
|
25219
|
+
"Lilita One",
|
|
25220
|
+
"Lily Script One",
|
|
25221
|
+
"Limelight",
|
|
25222
|
+
"Linden Hill",
|
|
25223
|
+
"LINE Seed JP",
|
|
25224
|
+
"Linefont",
|
|
25225
|
+
"Lisu Bosa",
|
|
25226
|
+
"Liter",
|
|
25227
|
+
"Literata",
|
|
25228
|
+
"Liu Jian Mao Cao",
|
|
25229
|
+
"Livvic",
|
|
25230
|
+
"Lobster",
|
|
25231
|
+
"Lobster Two",
|
|
25232
|
+
"Londrina Outline",
|
|
25233
|
+
"Londrina Shadow",
|
|
25234
|
+
"Londrina Sketch",
|
|
25235
|
+
"Londrina Solid",
|
|
25236
|
+
"Long Cang",
|
|
25237
|
+
"Lora",
|
|
25238
|
+
"Love Light",
|
|
25239
|
+
"Love Ya Like A Sister",
|
|
25240
|
+
"Loved by the King",
|
|
25241
|
+
"Lovers Quarrel",
|
|
25242
|
+
"Luckiest Guy",
|
|
25243
|
+
"Lugrasimo",
|
|
25244
|
+
"Lumanosimo",
|
|
25245
|
+
"Lunasima",
|
|
25246
|
+
"Lusitana",
|
|
25247
|
+
"Lustria",
|
|
25248
|
+
"Luxurious Roman",
|
|
25249
|
+
"Luxurious Script",
|
|
25250
|
+
"LXGW Marker Gothic",
|
|
25251
|
+
"LXGW WenKai Mono TC",
|
|
25252
|
+
"LXGW WenKai TC",
|
|
25253
|
+
"M PLUS 1",
|
|
25254
|
+
"M PLUS 1 Code",
|
|
25255
|
+
"M PLUS 1p",
|
|
25256
|
+
"M PLUS 2",
|
|
25257
|
+
"M PLUS Code Latin",
|
|
25258
|
+
"M PLUS Rounded 1c",
|
|
25259
|
+
"M PLUS U",
|
|
25260
|
+
"Ma Shan Zheng",
|
|
25261
|
+
"Macondo",
|
|
25262
|
+
"Macondo Swash Caps",
|
|
25263
|
+
"Mada",
|
|
25264
|
+
"Madimi One",
|
|
25265
|
+
"Magra",
|
|
25266
|
+
"Maiden Orange",
|
|
25267
|
+
"Maitree",
|
|
25268
|
+
"Major Mono Display",
|
|
25269
|
+
"Mako",
|
|
25270
|
+
"Mali",
|
|
25271
|
+
"Mallanna",
|
|
25272
|
+
"Maname",
|
|
25273
|
+
"Mandali",
|
|
25274
|
+
"Manjari",
|
|
25275
|
+
"Manrope",
|
|
25276
|
+
"Mansalva",
|
|
25277
|
+
"Manuale",
|
|
25278
|
+
"Manufacturing Consent",
|
|
25279
|
+
"Marcellus",
|
|
25280
|
+
"Marcellus SC",
|
|
25281
|
+
"Marck Script",
|
|
25282
|
+
"Margarine",
|
|
25283
|
+
"Marhey",
|
|
25284
|
+
"Markazi Text",
|
|
25285
|
+
"Marko One",
|
|
25286
|
+
"Marmelad",
|
|
25287
|
+
"Martel",
|
|
25288
|
+
"Martel Sans",
|
|
25289
|
+
"Martian Mono",
|
|
25290
|
+
"Marvel",
|
|
25291
|
+
"Matangi",
|
|
25292
|
+
"Mate",
|
|
25293
|
+
"Mate SC",
|
|
25294
|
+
"Matemasie",
|
|
25295
|
+
"Maven Pro",
|
|
25296
|
+
"McLaren",
|
|
25297
|
+
"Mea Culpa",
|
|
25298
|
+
"Meddon",
|
|
25299
|
+
"MedievalSharp",
|
|
25300
|
+
"Medula One",
|
|
25301
|
+
"Meera Inimai",
|
|
25302
|
+
"Megrim",
|
|
25303
|
+
"Meie Script",
|
|
25304
|
+
"Menbere",
|
|
25305
|
+
"Meow Script",
|
|
25306
|
+
"Merienda",
|
|
25307
|
+
"Merriweather",
|
|
25308
|
+
"Merriweather Sans",
|
|
25309
|
+
"Metal",
|
|
25310
|
+
"Metal Mania",
|
|
25311
|
+
"Metamorphous",
|
|
25312
|
+
"Metrophobic",
|
|
25313
|
+
"Michroma",
|
|
25314
|
+
"Micro 5",
|
|
25315
|
+
"Micro 5 Charted",
|
|
25316
|
+
"Milonga",
|
|
25317
|
+
"Miltonian",
|
|
25318
|
+
"Miltonian Tattoo",
|
|
25319
|
+
"Mina",
|
|
25320
|
+
"Mingzat",
|
|
25321
|
+
"Miniver",
|
|
25322
|
+
"Miranda Sans",
|
|
25323
|
+
"Miriam Libre",
|
|
25324
|
+
"Mirza",
|
|
25325
|
+
"Miss Fajardose",
|
|
25326
|
+
"Mitr",
|
|
25327
|
+
"Mochiy Pop One",
|
|
25328
|
+
"Mochiy Pop P One",
|
|
25329
|
+
"Modak",
|
|
25330
|
+
"Modern Antiqua",
|
|
25331
|
+
"Moderustic",
|
|
25332
|
+
"Mogra",
|
|
25333
|
+
"Mohave",
|
|
25334
|
+
"Moirai One",
|
|
25335
|
+
"Molengo",
|
|
25336
|
+
"Molle",
|
|
25337
|
+
"Momo Signature",
|
|
25338
|
+
"Momo Trust Display",
|
|
25339
|
+
"Momo Trust Sans",
|
|
25340
|
+
"Mona Sans",
|
|
25341
|
+
"Monda",
|
|
25342
|
+
"Monofett",
|
|
25343
|
+
"Monomakh",
|
|
25344
|
+
"Monomaniac One",
|
|
25345
|
+
"Monoton",
|
|
25346
|
+
"Monsieur La Doulaise",
|
|
25347
|
+
"Montaga",
|
|
25348
|
+
"Montagu Slab",
|
|
25349
|
+
"MonteCarlo",
|
|
25350
|
+
"Montenegrin Gothic One",
|
|
25351
|
+
"Montez",
|
|
25352
|
+
"Montserrat",
|
|
25353
|
+
"Montserrat Alternates",
|
|
25354
|
+
"Montserrat Underline",
|
|
25355
|
+
"Moo Lah Lah",
|
|
25356
|
+
"Mooli",
|
|
25357
|
+
"Moon Dance",
|
|
25358
|
+
"Moul",
|
|
25359
|
+
"Moulpali",
|
|
25360
|
+
"Mountains of Christmas",
|
|
25361
|
+
"Mouse Memoirs",
|
|
25362
|
+
"Mozilla Headline",
|
|
25363
|
+
"Mozilla Text",
|
|
25364
|
+
"Mr Bedfort",
|
|
25365
|
+
"Mr Dafoe",
|
|
25366
|
+
"Mr De Haviland",
|
|
25367
|
+
"Mrs Saint Delafield",
|
|
25368
|
+
"Mrs Sheppards",
|
|
25369
|
+
"Ms Madi",
|
|
25370
|
+
"Mukta",
|
|
25371
|
+
"Mukta Mahee",
|
|
25372
|
+
"Mukta Malar",
|
|
25373
|
+
"Mukta Vaani",
|
|
25374
|
+
"Mulish",
|
|
25375
|
+
"Murecho",
|
|
25376
|
+
"MuseoModerno",
|
|
25377
|
+
"My Soul",
|
|
25378
|
+
"Mynerve",
|
|
25379
|
+
"Mystery Quest",
|
|
25380
|
+
"Nabla",
|
|
25381
|
+
"Namdhinggo",
|
|
25382
|
+
"Nanum Brush Script",
|
|
25383
|
+
"Nanum Gothic",
|
|
25384
|
+
"Nanum Gothic Coding",
|
|
25385
|
+
"Nanum Myeongjo",
|
|
25386
|
+
"Nanum Pen Script",
|
|
25387
|
+
"Narnoor",
|
|
25388
|
+
"Nata Sans",
|
|
25389
|
+
"National Park",
|
|
25390
|
+
"Neonderthaw",
|
|
25391
|
+
"Nerko One",
|
|
25392
|
+
"Neucha",
|
|
25393
|
+
"Neuton",
|
|
25394
|
+
"New Amsterdam",
|
|
25395
|
+
"New Rocker",
|
|
25396
|
+
"New Tegomin",
|
|
25397
|
+
"News Cycle",
|
|
25398
|
+
"Newsreader",
|
|
25399
|
+
"Niconne",
|
|
25400
|
+
"Niramit",
|
|
25401
|
+
"Nixie One",
|
|
25402
|
+
"Nobile",
|
|
25403
|
+
"Nokora",
|
|
25404
|
+
"Norican",
|
|
25405
|
+
"Nosifer",
|
|
25406
|
+
"Notable",
|
|
25407
|
+
"Nothing You Could Do",
|
|
25408
|
+
"Noticia Text",
|
|
25409
|
+
"Noto Color Emoji",
|
|
25410
|
+
"Noto Emoji",
|
|
25411
|
+
"Noto Kufi Arabic",
|
|
25412
|
+
"Noto Music",
|
|
25413
|
+
"Noto Naskh Arabic",
|
|
25414
|
+
"Noto Nastaliq Urdu",
|
|
25415
|
+
"Noto Rashi Hebrew",
|
|
25416
|
+
"Noto Sans",
|
|
25417
|
+
"Noto Sans Adlam",
|
|
25418
|
+
"Noto Sans Adlam Unjoined",
|
|
25419
|
+
"Noto Sans Anatolian Hieroglyphs",
|
|
25420
|
+
"Noto Sans Arabic",
|
|
25421
|
+
"Noto Sans Armenian",
|
|
25422
|
+
"Noto Sans Avestan",
|
|
25423
|
+
"Noto Sans Balinese",
|
|
25424
|
+
"Noto Sans Bamum",
|
|
25425
|
+
"Noto Sans Bassa Vah",
|
|
25426
|
+
"Noto Sans Batak",
|
|
25427
|
+
"Noto Sans Bengali",
|
|
25428
|
+
"Noto Sans Bhaiksuki",
|
|
25429
|
+
"Noto Sans Brahmi",
|
|
25430
|
+
"Noto Sans Buginese",
|
|
25431
|
+
"Noto Sans Buhid",
|
|
25432
|
+
"Noto Sans Canadian Aboriginal",
|
|
25433
|
+
"Noto Sans Carian",
|
|
25434
|
+
"Noto Sans Caucasian Albanian",
|
|
25435
|
+
"Noto Sans Chakma",
|
|
25436
|
+
"Noto Sans Cham",
|
|
25437
|
+
"Noto Sans Cherokee",
|
|
25438
|
+
"Noto Sans Chorasmian",
|
|
25439
|
+
"Noto Sans Coptic",
|
|
25440
|
+
"Noto Sans Cuneiform",
|
|
25441
|
+
"Noto Sans Cypriot",
|
|
25442
|
+
"Noto Sans Cypro Minoan",
|
|
25443
|
+
"Noto Sans Deseret",
|
|
25444
|
+
"Noto Sans Devanagari",
|
|
25445
|
+
"Noto Sans Display",
|
|
25446
|
+
"Noto Sans Duployan",
|
|
25447
|
+
"Noto Sans Egyptian Hieroglyphs",
|
|
25448
|
+
"Noto Sans Elbasan",
|
|
25449
|
+
"Noto Sans Elymaic",
|
|
25450
|
+
"Noto Sans Ethiopic",
|
|
25451
|
+
"Noto Sans Georgian",
|
|
25452
|
+
"Noto Sans Glagolitic",
|
|
25453
|
+
"Noto Sans Gothic",
|
|
25454
|
+
"Noto Sans Grantha",
|
|
25455
|
+
"Noto Sans Gujarati",
|
|
25456
|
+
"Noto Sans Gunjala Gondi",
|
|
25457
|
+
"Noto Sans Gurmukhi",
|
|
25458
|
+
"Noto Sans Hanifi Rohingya",
|
|
25459
|
+
"Noto Sans Hanunoo",
|
|
25460
|
+
"Noto Sans Hatran",
|
|
25461
|
+
"Noto Sans Hebrew",
|
|
25462
|
+
"Noto Sans HK",
|
|
25463
|
+
"Noto Sans Imperial Aramaic",
|
|
25464
|
+
"Noto Sans Indic Siyaq Numbers",
|
|
25465
|
+
"Noto Sans Inscriptional Pahlavi",
|
|
25466
|
+
"Noto Sans Inscriptional Parthian",
|
|
25467
|
+
"Noto Sans Javanese",
|
|
25468
|
+
"Noto Sans JP",
|
|
25469
|
+
"Noto Sans Kaithi",
|
|
25470
|
+
"Noto Sans Kannada",
|
|
25471
|
+
"Noto Sans Kawi",
|
|
25472
|
+
"Noto Sans Kayah Li",
|
|
25473
|
+
"Noto Sans Kharoshthi",
|
|
25474
|
+
"Noto Sans Khmer",
|
|
25475
|
+
"Noto Sans Khojki",
|
|
25476
|
+
"Noto Sans Khudawadi",
|
|
25477
|
+
"Noto Sans KR",
|
|
25478
|
+
"Noto Sans Lao",
|
|
25479
|
+
"Noto Sans Lao Looped",
|
|
25480
|
+
"Noto Sans Lepcha",
|
|
25481
|
+
"Noto Sans Limbu",
|
|
25482
|
+
"Noto Sans Linear A",
|
|
25483
|
+
"Noto Sans Linear B",
|
|
25484
|
+
"Noto Sans Lisu",
|
|
25485
|
+
"Noto Sans Lycian",
|
|
25486
|
+
"Noto Sans Lydian",
|
|
25487
|
+
"Noto Sans Mahajani",
|
|
25488
|
+
"Noto Sans Malayalam",
|
|
25489
|
+
"Noto Sans Mandaic",
|
|
25490
|
+
"Noto Sans Manichaean",
|
|
25491
|
+
"Noto Sans Marchen",
|
|
25492
|
+
"Noto Sans Masaram Gondi",
|
|
25493
|
+
"Noto Sans Math",
|
|
25494
|
+
"Noto Sans Mayan Numerals",
|
|
25495
|
+
"Noto Sans Medefaidrin",
|
|
25496
|
+
"Noto Sans Meetei Mayek",
|
|
25497
|
+
"Noto Sans Mende Kikakui",
|
|
25498
|
+
"Noto Sans Meroitic",
|
|
25499
|
+
"Noto Sans Miao",
|
|
25500
|
+
"Noto Sans Modi",
|
|
25501
|
+
"Noto Sans Mongolian",
|
|
25502
|
+
"Noto Sans Mono",
|
|
25503
|
+
"Noto Sans Mro",
|
|
25504
|
+
"Noto Sans Multani",
|
|
25505
|
+
"Noto Sans Myanmar",
|
|
25506
|
+
"Noto Sans Nabataean",
|
|
25507
|
+
"Noto Sans Nag Mundari",
|
|
25508
|
+
"Noto Sans Nandinagari",
|
|
25509
|
+
"Noto Sans New Tai Lue",
|
|
25510
|
+
"Noto Sans Newa",
|
|
25511
|
+
"Noto Sans NKo",
|
|
25512
|
+
"Noto Sans NKo Unjoined",
|
|
25513
|
+
"Noto Sans Nushu",
|
|
25514
|
+
"Noto Sans Ogham",
|
|
25515
|
+
"Noto Sans Ol Chiki",
|
|
25516
|
+
"Noto Sans Old Hungarian",
|
|
25517
|
+
"Noto Sans Old Italic",
|
|
25518
|
+
"Noto Sans Old North Arabian",
|
|
25519
|
+
"Noto Sans Old Permic",
|
|
25520
|
+
"Noto Sans Old Persian",
|
|
25521
|
+
"Noto Sans Old Sogdian",
|
|
25522
|
+
"Noto Sans Old South Arabian",
|
|
25523
|
+
"Noto Sans Old Turkic",
|
|
25524
|
+
"Noto Sans Oriya",
|
|
25525
|
+
"Noto Sans Osage",
|
|
25526
|
+
"Noto Sans Osmanya",
|
|
25527
|
+
"Noto Sans Pahawh Hmong",
|
|
25528
|
+
"Noto Sans Palmyrene",
|
|
25529
|
+
"Noto Sans Pau Cin Hau",
|
|
25530
|
+
"Noto Sans PhagsPa",
|
|
25531
|
+
"Noto Sans Phoenician",
|
|
25532
|
+
"Noto Sans Psalter Pahlavi",
|
|
25533
|
+
"Noto Sans Rejang",
|
|
25534
|
+
"Noto Sans Runic",
|
|
25535
|
+
"Noto Sans Samaritan",
|
|
25536
|
+
"Noto Sans Saurashtra",
|
|
25537
|
+
"Noto Sans SC",
|
|
25538
|
+
"Noto Sans Sharada",
|
|
25539
|
+
"Noto Sans Shavian",
|
|
25540
|
+
"Noto Sans Siddham",
|
|
25541
|
+
"Noto Sans SignWriting",
|
|
25542
|
+
"Noto Sans Sinhala",
|
|
25543
|
+
"Noto Sans Sogdian",
|
|
25544
|
+
"Noto Sans Sora Sompeng",
|
|
25545
|
+
"Noto Sans Soyombo",
|
|
25546
|
+
"Noto Sans Sundanese",
|
|
25547
|
+
"Noto Sans Sunuwar",
|
|
25548
|
+
"Noto Sans Syloti Nagri",
|
|
25549
|
+
"Noto Sans Symbols",
|
|
25550
|
+
"Noto Sans Symbols 2",
|
|
25551
|
+
"Noto Sans Syriac",
|
|
25552
|
+
"Noto Sans Syriac Eastern",
|
|
25553
|
+
"Noto Sans Syriac Western",
|
|
25554
|
+
"Noto Sans Tagalog",
|
|
25555
|
+
"Noto Sans Tagbanwa",
|
|
25556
|
+
"Noto Sans Tai Le",
|
|
25557
|
+
"Noto Sans Tai Tham",
|
|
25558
|
+
"Noto Sans Tai Viet",
|
|
25559
|
+
"Noto Sans Takri",
|
|
25560
|
+
"Noto Sans Tamil",
|
|
25561
|
+
"Noto Sans Tamil Supplement",
|
|
25562
|
+
"Noto Sans Tangsa",
|
|
25563
|
+
"Noto Sans TC",
|
|
25564
|
+
"Noto Sans Telugu",
|
|
25565
|
+
"Noto Sans Thaana",
|
|
25566
|
+
"Noto Sans Thai",
|
|
25567
|
+
"Noto Sans Thai Looped",
|
|
25568
|
+
"Noto Sans Tifinagh",
|
|
25569
|
+
"Noto Sans Tirhuta",
|
|
25570
|
+
"Noto Sans Ugaritic",
|
|
25571
|
+
"Noto Sans Vai",
|
|
25572
|
+
"Noto Sans Vithkuqi",
|
|
25573
|
+
"Noto Sans Wancho",
|
|
25574
|
+
"Noto Sans Warang Citi",
|
|
25575
|
+
"Noto Sans Yi",
|
|
25576
|
+
"Noto Sans Zanabazar Square",
|
|
25577
|
+
"Noto Serif",
|
|
25578
|
+
"Noto Serif Ahom",
|
|
25579
|
+
"Noto Serif Armenian",
|
|
25580
|
+
"Noto Serif Balinese",
|
|
25581
|
+
"Noto Serif Bengali",
|
|
25582
|
+
"Noto Serif Devanagari",
|
|
25583
|
+
"Noto Serif Display",
|
|
25584
|
+
"Noto Serif Dives Akuru",
|
|
25585
|
+
"Noto Serif Dogra",
|
|
25586
|
+
"Noto Serif Ethiopic",
|
|
25587
|
+
"Noto Serif Georgian",
|
|
25588
|
+
"Noto Serif Grantha",
|
|
25589
|
+
"Noto Serif Gujarati",
|
|
25590
|
+
"Noto Serif Gurmukhi",
|
|
25591
|
+
"Noto Serif Hebrew",
|
|
25592
|
+
"Noto Serif Hentaigana",
|
|
25593
|
+
"Noto Serif HK",
|
|
25594
|
+
"Noto Serif JP",
|
|
25595
|
+
"Noto Serif Kannada",
|
|
25596
|
+
"Noto Serif Khitan Small Script",
|
|
25597
|
+
"Noto Serif Khmer",
|
|
25598
|
+
"Noto Serif Khojki",
|
|
25599
|
+
"Noto Serif KR",
|
|
25600
|
+
"Noto Serif Lao",
|
|
25601
|
+
"Noto Serif Makasar",
|
|
25602
|
+
"Noto Serif Malayalam",
|
|
25603
|
+
"Noto Serif Myanmar",
|
|
25604
|
+
"Noto Serif NP Hmong",
|
|
25605
|
+
"Noto Serif Old Uyghur",
|
|
25606
|
+
"Noto Serif Oriya",
|
|
25607
|
+
"Noto Serif Ottoman Siyaq",
|
|
25608
|
+
"Noto Serif SC",
|
|
25609
|
+
"Noto Serif Sinhala",
|
|
25610
|
+
"Noto Serif Tamil",
|
|
25611
|
+
"Noto Serif Tangut",
|
|
25612
|
+
"Noto Serif TC",
|
|
25613
|
+
"Noto Serif Telugu",
|
|
25614
|
+
"Noto Serif Thai",
|
|
25615
|
+
"Noto Serif Tibetan",
|
|
25616
|
+
"Noto Serif Todhri",
|
|
25617
|
+
"Noto Serif Toto",
|
|
25618
|
+
"Noto Serif Vithkuqi",
|
|
25619
|
+
"Noto Serif Yezidi",
|
|
25620
|
+
"Noto Traditional Nushu",
|
|
25621
|
+
"Noto Znamenny Musical Notation",
|
|
25622
|
+
"Nova Cut",
|
|
25623
|
+
"Nova Flat",
|
|
25624
|
+
"Nova Mono",
|
|
25625
|
+
"Nova Oval",
|
|
25626
|
+
"Nova Round",
|
|
25627
|
+
"Nova Script",
|
|
25628
|
+
"Nova Slim",
|
|
25629
|
+
"Nova Square",
|
|
25630
|
+
"NTR",
|
|
25631
|
+
"Numans",
|
|
25632
|
+
"Nunito",
|
|
25633
|
+
"Nunito Sans",
|
|
25634
|
+
"Nuosu SIL",
|
|
25635
|
+
"Odibee Sans",
|
|
25636
|
+
"Odor Mean Chey",
|
|
25637
|
+
"Offside",
|
|
25638
|
+
"Oi",
|
|
25639
|
+
"Ojuju",
|
|
25640
|
+
"Old Standard TT",
|
|
25641
|
+
"Oldenburg",
|
|
25642
|
+
"Ole",
|
|
25643
|
+
"Oleo Script",
|
|
25644
|
+
"Oleo Script Swash Caps",
|
|
25645
|
+
"Onest",
|
|
25646
|
+
"Oooh Baby",
|
|
25647
|
+
"Open Sans",
|
|
25648
|
+
"Oranienbaum",
|
|
25649
|
+
"Orbit",
|
|
25650
|
+
"Orbitron",
|
|
25651
|
+
"Oregano",
|
|
25652
|
+
"Orelega One",
|
|
25653
|
+
"Orienta",
|
|
25654
|
+
"Original Surfer",
|
|
25655
|
+
"Oswald",
|
|
25656
|
+
"Outfit",
|
|
25657
|
+
"Over the Rainbow",
|
|
25658
|
+
"Overlock",
|
|
25659
|
+
"Overlock SC",
|
|
25660
|
+
"Overpass",
|
|
25661
|
+
"Overpass Mono",
|
|
25662
|
+
"Ovo",
|
|
25663
|
+
"Oxanium",
|
|
25664
|
+
"Oxygen",
|
|
25665
|
+
"Oxygen Mono",
|
|
25666
|
+
"Pacifico",
|
|
25667
|
+
"Padauk",
|
|
25668
|
+
"Padyakke Expanded One",
|
|
25669
|
+
"Palanquin",
|
|
25670
|
+
"Palanquin Dark",
|
|
25671
|
+
"Palette Mosaic",
|
|
25672
|
+
"Pangolin",
|
|
25673
|
+
"Paprika",
|
|
25674
|
+
"Parastoo",
|
|
25675
|
+
"Parisienne",
|
|
25676
|
+
"Parkinsans",
|
|
25677
|
+
"Passero One",
|
|
25678
|
+
"Passion One",
|
|
25679
|
+
"Passions Conflict",
|
|
25680
|
+
"Pathway Extreme",
|
|
25681
|
+
"Pathway Gothic One",
|
|
25682
|
+
"Patrick Hand",
|
|
25683
|
+
"Patrick Hand SC",
|
|
25684
|
+
"Pattaya",
|
|
25685
|
+
"Patua One",
|
|
25686
|
+
"Pavanam",
|
|
25687
|
+
"Paytone One",
|
|
25688
|
+
"Peddana",
|
|
25689
|
+
"Peralta",
|
|
25690
|
+
"Permanent Marker",
|
|
25691
|
+
"Petemoss",
|
|
25692
|
+
"Petit Formal Script",
|
|
25693
|
+
"Petrona",
|
|
25694
|
+
"Phetsarath",
|
|
25695
|
+
"Philosopher",
|
|
25696
|
+
"Phudu",
|
|
25697
|
+
"Piazzolla",
|
|
25698
|
+
"Piedra",
|
|
25699
|
+
"Pinyon Script",
|
|
25700
|
+
"Pirata One",
|
|
25701
|
+
"Pixelify Sans",
|
|
25702
|
+
"Plaster",
|
|
25703
|
+
"Platypi",
|
|
25704
|
+
"Play",
|
|
25705
|
+
"Playball",
|
|
25706
|
+
"Playfair",
|
|
25707
|
+
"Playfair Display",
|
|
25708
|
+
"Playfair Display SC",
|
|
25709
|
+
"Playpen Sans",
|
|
25710
|
+
"Playpen Sans Arabic",
|
|
25711
|
+
"Playpen Sans Deva",
|
|
25712
|
+
"Playpen Sans Hebrew",
|
|
25713
|
+
"Playpen Sans Thai",
|
|
25714
|
+
"Playwrite AR",
|
|
25715
|
+
"Playwrite AR Guides",
|
|
25716
|
+
"Playwrite AT",
|
|
25717
|
+
"Playwrite AT Guides",
|
|
25718
|
+
"Playwrite AU NSW",
|
|
25719
|
+
"Playwrite AU NSW Guides",
|
|
25720
|
+
"Playwrite AU QLD",
|
|
25721
|
+
"Playwrite AU QLD Guides",
|
|
25722
|
+
"Playwrite AU SA",
|
|
25723
|
+
"Playwrite AU SA Guides",
|
|
25724
|
+
"Playwrite AU TAS",
|
|
25725
|
+
"Playwrite AU TAS Guides",
|
|
25726
|
+
"Playwrite AU VIC",
|
|
25727
|
+
"Playwrite AU VIC Guides",
|
|
25728
|
+
"Playwrite BE VLG",
|
|
25729
|
+
"Playwrite BE VLG Guides",
|
|
25730
|
+
"Playwrite BE WAL",
|
|
25731
|
+
"Playwrite BE WAL Guides",
|
|
25732
|
+
"Playwrite BR",
|
|
25733
|
+
"Playwrite BR Guides",
|
|
25734
|
+
"Playwrite CA",
|
|
25735
|
+
"Playwrite CA Guides",
|
|
25736
|
+
"Playwrite CL",
|
|
25737
|
+
"Playwrite CL Guides",
|
|
25738
|
+
"Playwrite CO",
|
|
25739
|
+
"Playwrite CO Guides",
|
|
25740
|
+
"Playwrite CU",
|
|
25741
|
+
"Playwrite CU Guides",
|
|
25742
|
+
"Playwrite CZ",
|
|
25743
|
+
"Playwrite CZ Guides",
|
|
25744
|
+
"Playwrite DE Grund",
|
|
25745
|
+
"Playwrite DE Grund Guides",
|
|
25746
|
+
"Playwrite DE LA",
|
|
25747
|
+
"Playwrite DE LA Guides",
|
|
25748
|
+
"Playwrite DE SAS",
|
|
25749
|
+
"Playwrite DE SAS Guides",
|
|
25750
|
+
"Playwrite DE VA",
|
|
25751
|
+
"Playwrite DE VA Guides",
|
|
25752
|
+
"Playwrite DK Loopet",
|
|
25753
|
+
"Playwrite DK Loopet Guides",
|
|
25754
|
+
"Playwrite DK Uloopet",
|
|
25755
|
+
"Playwrite DK Uloopet Guides",
|
|
25756
|
+
"Playwrite ES",
|
|
25757
|
+
"Playwrite ES Deco",
|
|
25758
|
+
"Playwrite ES Deco Guides",
|
|
25759
|
+
"Playwrite ES Guides",
|
|
25760
|
+
"Playwrite FR Moderne",
|
|
25761
|
+
"Playwrite FR Moderne Guides",
|
|
25762
|
+
"Playwrite FR Trad",
|
|
25763
|
+
"Playwrite FR Trad Guides",
|
|
25764
|
+
"Playwrite GB J",
|
|
25765
|
+
"Playwrite GB J Guides",
|
|
25766
|
+
"Playwrite GB S",
|
|
25767
|
+
"Playwrite GB S Guides",
|
|
25768
|
+
"Playwrite HR",
|
|
25769
|
+
"Playwrite HR Guides",
|
|
25770
|
+
"Playwrite HR Lijeva",
|
|
25771
|
+
"Playwrite HR Lijeva Guides",
|
|
25772
|
+
"Playwrite HU",
|
|
25773
|
+
"Playwrite HU Guides",
|
|
25774
|
+
"Playwrite ID",
|
|
25775
|
+
"Playwrite ID Guides",
|
|
25776
|
+
"Playwrite IE",
|
|
25777
|
+
"Playwrite IE Guides",
|
|
25778
|
+
"Playwrite IN",
|
|
25779
|
+
"Playwrite IN Guides",
|
|
25780
|
+
"Playwrite IS",
|
|
25781
|
+
"Playwrite IS Guides",
|
|
25782
|
+
"Playwrite IT Moderna",
|
|
25783
|
+
"Playwrite IT Moderna Guides",
|
|
25784
|
+
"Playwrite IT Trad",
|
|
25785
|
+
"Playwrite IT Trad Guides",
|
|
25786
|
+
"Playwrite MX",
|
|
25787
|
+
"Playwrite MX Guides",
|
|
25788
|
+
"Playwrite NG Modern",
|
|
25789
|
+
"Playwrite NG Modern Guides",
|
|
25790
|
+
"Playwrite NL",
|
|
25791
|
+
"Playwrite NL Guides",
|
|
25792
|
+
"Playwrite NO",
|
|
25793
|
+
"Playwrite NO Guides",
|
|
25794
|
+
"Playwrite NZ",
|
|
25795
|
+
"Playwrite NZ Basic",
|
|
25796
|
+
"Playwrite NZ Basic Guides",
|
|
25797
|
+
"Playwrite NZ Guides",
|
|
25798
|
+
"Playwrite PE",
|
|
25799
|
+
"Playwrite PE Guides",
|
|
25800
|
+
"Playwrite PL",
|
|
25801
|
+
"Playwrite PL Guides",
|
|
25802
|
+
"Playwrite PT",
|
|
25803
|
+
"Playwrite PT Guides",
|
|
25804
|
+
"Playwrite RO",
|
|
25805
|
+
"Playwrite RO Guides",
|
|
25806
|
+
"Playwrite SK",
|
|
25807
|
+
"Playwrite SK Guides",
|
|
25808
|
+
"Playwrite TZ",
|
|
25809
|
+
"Playwrite TZ Guides",
|
|
25810
|
+
"Playwrite US Modern",
|
|
25811
|
+
"Playwrite US Modern Guides",
|
|
25812
|
+
"Playwrite US Trad",
|
|
25813
|
+
"Playwrite US Trad Guides",
|
|
25814
|
+
"Playwrite VN",
|
|
25815
|
+
"Playwrite VN Guides",
|
|
25816
|
+
"Playwrite ZA",
|
|
25817
|
+
"Playwrite ZA Guides",
|
|
25818
|
+
"Pliant",
|
|
25819
|
+
"Plus Jakarta Sans",
|
|
25820
|
+
"Pochaevsk",
|
|
25821
|
+
"Podkova",
|
|
25822
|
+
"Poetsen One",
|
|
25823
|
+
"Poiret One",
|
|
25824
|
+
"Poller One",
|
|
25825
|
+
"Poltawski Nowy",
|
|
25826
|
+
"Poly",
|
|
25827
|
+
"Pompiere",
|
|
25828
|
+
"Ponnala",
|
|
25829
|
+
"Ponomar",
|
|
25830
|
+
"Pontano Sans",
|
|
25831
|
+
"Poor Story",
|
|
25832
|
+
"Poppins",
|
|
25833
|
+
"Port Lligat Sans",
|
|
25834
|
+
"Port Lligat Slab",
|
|
25835
|
+
"Potta One",
|
|
25836
|
+
"Pragati Narrow",
|
|
25837
|
+
"Praise",
|
|
25838
|
+
"Prata",
|
|
25839
|
+
"Preahvihear",
|
|
25840
|
+
"Press Start 2P",
|
|
25841
|
+
"Pridi",
|
|
25842
|
+
"Princess Sofia",
|
|
25843
|
+
"Prociono",
|
|
25844
|
+
"Prompt",
|
|
25845
|
+
"Prosto One",
|
|
25846
|
+
"Protest Guerrilla",
|
|
25847
|
+
"Protest Revolution",
|
|
25848
|
+
"Protest Riot",
|
|
25849
|
+
"Protest Strike",
|
|
25850
|
+
"Proza Libre",
|
|
25851
|
+
"PT Mono",
|
|
25852
|
+
"PT Sans",
|
|
25853
|
+
"PT Sans Caption",
|
|
25854
|
+
"PT Sans Narrow",
|
|
25855
|
+
"PT Serif",
|
|
25856
|
+
"PT Serif Caption",
|
|
25857
|
+
"Public Sans",
|
|
25858
|
+
"Puppies Play",
|
|
25859
|
+
"Puritan",
|
|
25860
|
+
"Purple Purse",
|
|
25861
|
+
"Qahiri",
|
|
25862
|
+
"Quando",
|
|
25863
|
+
"Quantico",
|
|
25864
|
+
"Quattrocento",
|
|
25865
|
+
"Quattrocento Sans",
|
|
25866
|
+
"Questrial",
|
|
25867
|
+
"Quicksand",
|
|
25868
|
+
"Quintessential",
|
|
25869
|
+
"Qwigley",
|
|
25870
|
+
"Qwitcher Grypen",
|
|
25871
|
+
"Racing Sans One",
|
|
25872
|
+
"Radio Canada",
|
|
25873
|
+
"Radio Canada Big",
|
|
25874
|
+
"Radley",
|
|
25875
|
+
"Rajdhani",
|
|
25876
|
+
"Rakkas",
|
|
25877
|
+
"Raleway",
|
|
25878
|
+
"Raleway Dots",
|
|
25879
|
+
"Ramabhadra",
|
|
25880
|
+
"Ramaraja",
|
|
25881
|
+
"Rambla",
|
|
25882
|
+
"Rammetto One",
|
|
25883
|
+
"Rampart One",
|
|
25884
|
+
"Ramsina",
|
|
25885
|
+
"Ranchers",
|
|
25886
|
+
"Rancho",
|
|
25887
|
+
"Ranga",
|
|
25888
|
+
"Rasa",
|
|
25889
|
+
"Rationale",
|
|
25890
|
+
"Ravi Prakash",
|
|
25891
|
+
"Readex Pro",
|
|
25892
|
+
"Recursive",
|
|
25893
|
+
"Red Hat Display",
|
|
25894
|
+
"Red Hat Mono",
|
|
25895
|
+
"Red Hat Text",
|
|
25896
|
+
"Red Rose",
|
|
25897
|
+
"Redacted",
|
|
25898
|
+
"Redacted Script",
|
|
25899
|
+
"Reddit Mono",
|
|
25900
|
+
"Reddit Sans",
|
|
25901
|
+
"Reddit Sans Condensed",
|
|
25902
|
+
"Redressed",
|
|
25903
|
+
"Reem Kufi",
|
|
25904
|
+
"Reem Kufi Fun",
|
|
25905
|
+
"Reem Kufi Ink",
|
|
25906
|
+
"Reenie Beanie",
|
|
25907
|
+
"Reggae One",
|
|
25908
|
+
"REM",
|
|
25909
|
+
"Rethink Sans",
|
|
25910
|
+
"Revalia",
|
|
25911
|
+
"Rhodium Libre",
|
|
25912
|
+
"Ribeye",
|
|
25913
|
+
"Ribeye Marrow",
|
|
25914
|
+
"Righteous",
|
|
25915
|
+
"Risque",
|
|
25916
|
+
"Road Rage",
|
|
25917
|
+
"Roboto",
|
|
25918
|
+
"Roboto Condensed",
|
|
25919
|
+
"Roboto Flex",
|
|
25920
|
+
"Roboto Mono",
|
|
25921
|
+
"Roboto Serif",
|
|
25922
|
+
"Roboto Slab",
|
|
25923
|
+
"Rochester",
|
|
25924
|
+
"Rock 3D",
|
|
25925
|
+
"Rock Salt",
|
|
25926
|
+
"RocknRoll One",
|
|
25927
|
+
"Rokkitt",
|
|
25928
|
+
"Romanesco",
|
|
25929
|
+
"Ropa Sans",
|
|
25930
|
+
"Rosario",
|
|
25931
|
+
"Rosarivo",
|
|
25932
|
+
"Rouge Script",
|
|
25933
|
+
"Rowdies",
|
|
25934
|
+
"Rozha One",
|
|
25935
|
+
"Rubik",
|
|
25936
|
+
"Rubik 80s Fade",
|
|
25937
|
+
"Rubik Beastly",
|
|
25938
|
+
"Rubik Broken Fax",
|
|
25939
|
+
"Rubik Bubbles",
|
|
25940
|
+
"Rubik Burned",
|
|
25941
|
+
"Rubik Dirt",
|
|
25942
|
+
"Rubik Distressed",
|
|
25943
|
+
"Rubik Doodle Shadow",
|
|
25944
|
+
"Rubik Doodle Triangles",
|
|
25945
|
+
"Rubik Gemstones",
|
|
25946
|
+
"Rubik Glitch",
|
|
25947
|
+
"Rubik Glitch Pop",
|
|
25948
|
+
"Rubik Iso",
|
|
25949
|
+
"Rubik Lines",
|
|
25950
|
+
"Rubik Maps",
|
|
25951
|
+
"Rubik Marker Hatch",
|
|
25952
|
+
"Rubik Maze",
|
|
25953
|
+
"Rubik Microbe",
|
|
25954
|
+
"Rubik Mono One",
|
|
25955
|
+
"Rubik Moonrocks",
|
|
25956
|
+
"Rubik Pixels",
|
|
25957
|
+
"Rubik Puddles",
|
|
25958
|
+
"Rubik Scribble",
|
|
25959
|
+
"Rubik Spray Paint",
|
|
25960
|
+
"Rubik Storm",
|
|
25961
|
+
"Rubik Vinyl",
|
|
25962
|
+
"Rubik Wet Paint",
|
|
25963
|
+
"Ruda",
|
|
25964
|
+
"Rufina",
|
|
25965
|
+
"Ruge Boogie",
|
|
25966
|
+
"Ruluko",
|
|
25967
|
+
"Rum Raisin",
|
|
25968
|
+
"Ruslan Display",
|
|
25969
|
+
"Russo One",
|
|
25970
|
+
"Ruthie",
|
|
25971
|
+
"Ruwudu",
|
|
25972
|
+
"Rye",
|
|
25973
|
+
"Sacramento",
|
|
25974
|
+
"Sahitya",
|
|
25975
|
+
"Sail",
|
|
25976
|
+
"Saira",
|
|
25977
|
+
"Saira Condensed",
|
|
25978
|
+
"Saira Extra Condensed",
|
|
25979
|
+
"Saira Semi Condensed",
|
|
25980
|
+
"Saira Stencil",
|
|
25981
|
+
"Salsa",
|
|
25982
|
+
"Sanchez",
|
|
25983
|
+
"Sancreek",
|
|
25984
|
+
"Sankofa Display",
|
|
25985
|
+
"Sansation",
|
|
25986
|
+
"Sansita",
|
|
25987
|
+
"Sansita Swashed",
|
|
25988
|
+
"Sarabun",
|
|
25989
|
+
"Sarala",
|
|
25990
|
+
"Sarina",
|
|
25991
|
+
"Sarpanch",
|
|
25992
|
+
"Sassy Frass",
|
|
25993
|
+
"Satisfy",
|
|
25994
|
+
"Savate",
|
|
25995
|
+
"Sawarabi Gothic",
|
|
25996
|
+
"Sawarabi Mincho",
|
|
25997
|
+
"Scada",
|
|
25998
|
+
"Scheherazade New",
|
|
25999
|
+
"Schibsted Grotesk",
|
|
26000
|
+
"Schoolbell",
|
|
26001
|
+
"Science Gothic",
|
|
26002
|
+
"Scope One",
|
|
26003
|
+
"Scoutie Sans",
|
|
26004
|
+
"Seaweed Script",
|
|
26005
|
+
"Secular One",
|
|
26006
|
+
"Sedan",
|
|
26007
|
+
"Sedan SC",
|
|
26008
|
+
"Sedgwick Ave",
|
|
26009
|
+
"Sedgwick Ave Display",
|
|
26010
|
+
"Sekuya",
|
|
26011
|
+
"Sen",
|
|
26012
|
+
"Send Flowers",
|
|
26013
|
+
"Sevillana",
|
|
26014
|
+
"Seymour One",
|
|
26015
|
+
"Shadows Into Light",
|
|
26016
|
+
"Shadows Into Light Two",
|
|
26017
|
+
"Shafarik",
|
|
26018
|
+
"Shalimar",
|
|
26019
|
+
"Shantell Sans",
|
|
26020
|
+
"Shanti",
|
|
26021
|
+
"Share",
|
|
26022
|
+
"Share Tech",
|
|
26023
|
+
"Share Tech Mono",
|
|
26024
|
+
"Shippori Antique",
|
|
26025
|
+
"Shippori Antique B1",
|
|
26026
|
+
"Shippori Mincho",
|
|
26027
|
+
"Shippori Mincho B1",
|
|
26028
|
+
"Shizuru",
|
|
26029
|
+
"Shojumaru",
|
|
26030
|
+
"Short Stack",
|
|
26031
|
+
"Shrikhand",
|
|
26032
|
+
"Siemreap",
|
|
26033
|
+
"Sigmar",
|
|
26034
|
+
"Sigmar One",
|
|
26035
|
+
"Signika",
|
|
26036
|
+
"Signika Negative",
|
|
26037
|
+
"Silkscreen",
|
|
26038
|
+
"Simonetta",
|
|
26039
|
+
"Single Day",
|
|
26040
|
+
"Sintony",
|
|
26041
|
+
"Sirin Stencil",
|
|
26042
|
+
"Sirivennela",
|
|
26043
|
+
"Six Caps",
|
|
26044
|
+
"Sixtyfour",
|
|
26045
|
+
"Sixtyfour Convergence",
|
|
26046
|
+
"Skranji",
|
|
26047
|
+
"Slabo 13px",
|
|
26048
|
+
"Slabo 27px",
|
|
26049
|
+
"Slackey",
|
|
26050
|
+
"Slackside One",
|
|
26051
|
+
"Smokum",
|
|
26052
|
+
"Smooch",
|
|
26053
|
+
"Smooch Sans",
|
|
26054
|
+
"Smythe",
|
|
26055
|
+
"SN Pro",
|
|
26056
|
+
"Sniglet",
|
|
26057
|
+
"Snippet",
|
|
26058
|
+
"Snowburst One",
|
|
26059
|
+
"Sofadi One",
|
|
26060
|
+
"Sofia",
|
|
26061
|
+
"Sofia Sans",
|
|
26062
|
+
"Sofia Sans Condensed",
|
|
26063
|
+
"Sofia Sans Extra Condensed",
|
|
26064
|
+
"Sofia Sans Semi Condensed",
|
|
26065
|
+
"Solitreo",
|
|
26066
|
+
"Solway",
|
|
26067
|
+
"Sometype Mono",
|
|
26068
|
+
"Song Myung",
|
|
26069
|
+
"Sono",
|
|
26070
|
+
"Sonsie One",
|
|
26071
|
+
"Sora",
|
|
26072
|
+
"Sorts Mill Goudy",
|
|
26073
|
+
"Sour Gummy",
|
|
26074
|
+
"Source Code Pro",
|
|
26075
|
+
"Source Sans 3",
|
|
26076
|
+
"Source Serif 4",
|
|
26077
|
+
"Space Grotesk",
|
|
26078
|
+
"Space Mono",
|
|
26079
|
+
"Special Elite",
|
|
26080
|
+
"Special Gothic",
|
|
26081
|
+
"Special Gothic Condensed One",
|
|
26082
|
+
"Special Gothic Expanded One",
|
|
26083
|
+
"Spectral",
|
|
26084
|
+
"Spectral SC",
|
|
26085
|
+
"Spicy Rice",
|
|
26086
|
+
"Spinnaker",
|
|
26087
|
+
"Spirax",
|
|
26088
|
+
"Splash",
|
|
26089
|
+
"Spline Sans",
|
|
26090
|
+
"Spline Sans Mono",
|
|
26091
|
+
"Squada One",
|
|
26092
|
+
"Square Peg",
|
|
26093
|
+
"Sree Krushnadevaraya",
|
|
26094
|
+
"Sriracha",
|
|
26095
|
+
"Srisakdi",
|
|
26096
|
+
"Staatliches",
|
|
26097
|
+
"Stack Sans Headline",
|
|
26098
|
+
"Stack Sans Notch",
|
|
26099
|
+
"Stack Sans Text",
|
|
26100
|
+
"Stalemate",
|
|
26101
|
+
"Stalinist One",
|
|
26102
|
+
"Stardos Stencil",
|
|
26103
|
+
"Stick",
|
|
26104
|
+
"Stick No Bills",
|
|
26105
|
+
"Stint Ultra Condensed",
|
|
26106
|
+
"Stint Ultra Expanded",
|
|
26107
|
+
"STIX Two Math",
|
|
26108
|
+
"STIX Two Text",
|
|
26109
|
+
"Stoke",
|
|
26110
|
+
"Story Script",
|
|
26111
|
+
"Strait",
|
|
26112
|
+
"Strichpunkt Sans",
|
|
26113
|
+
"Style Script",
|
|
26114
|
+
"Stylish",
|
|
26115
|
+
"Sue Ellen Francisco",
|
|
26116
|
+
"Suez One",
|
|
26117
|
+
"Sulphur Point",
|
|
26118
|
+
"Sumana",
|
|
26119
|
+
"Sunflower",
|
|
26120
|
+
"Sunshiney",
|
|
26121
|
+
"Supermercado One",
|
|
26122
|
+
"Sura",
|
|
26123
|
+
"Suranna",
|
|
26124
|
+
"Suravaram",
|
|
26125
|
+
"SUSE",
|
|
26126
|
+
"SUSE Mono",
|
|
26127
|
+
"Suwannaphum",
|
|
26128
|
+
"Swanky and Moo Moo",
|
|
26129
|
+
"Syncopate",
|
|
26130
|
+
"Syne",
|
|
26131
|
+
"Syne Mono",
|
|
26132
|
+
"Syne Tactile",
|
|
26133
|
+
"Tac One",
|
|
26134
|
+
"Tagesschrift",
|
|
26135
|
+
"Tai Heritage Pro",
|
|
26136
|
+
"Tajawal",
|
|
26137
|
+
"Tangerine",
|
|
26138
|
+
"Tapestry",
|
|
26139
|
+
"Taprom",
|
|
26140
|
+
"TASA Explorer",
|
|
26141
|
+
"TASA Orbiter",
|
|
26142
|
+
"Tauri",
|
|
26143
|
+
"Taviraj",
|
|
26144
|
+
"Teachers",
|
|
26145
|
+
"Teko",
|
|
26146
|
+
"Tektur",
|
|
26147
|
+
"Telex",
|
|
26148
|
+
"Tenali Ramakrishna",
|
|
26149
|
+
"Tenor Sans",
|
|
26150
|
+
"Text Me One",
|
|
26151
|
+
"Texturina",
|
|
26152
|
+
"Thasadith",
|
|
26153
|
+
"The Girl Next Door",
|
|
26154
|
+
"The Nautigal",
|
|
26155
|
+
"Tienne",
|
|
26156
|
+
"TikTok Sans",
|
|
26157
|
+
"Tillana",
|
|
26158
|
+
"Tilt Neon",
|
|
26159
|
+
"Tilt Prism",
|
|
26160
|
+
"Tilt Warp",
|
|
26161
|
+
"Timmana",
|
|
26162
|
+
"Tinos",
|
|
26163
|
+
"Tiny5",
|
|
26164
|
+
"Tiro Bangla",
|
|
26165
|
+
"Tiro Devanagari Hindi",
|
|
26166
|
+
"Tiro Devanagari Marathi",
|
|
26167
|
+
"Tiro Devanagari Sanskrit",
|
|
26168
|
+
"Tiro Gurmukhi",
|
|
26169
|
+
"Tiro Kannada",
|
|
26170
|
+
"Tiro Tamil",
|
|
26171
|
+
"Tiro Telugu",
|
|
26172
|
+
"Tirra",
|
|
26173
|
+
"Titan One",
|
|
26174
|
+
"Titillium Web",
|
|
26175
|
+
"Tomorrow",
|
|
26176
|
+
"Tourney",
|
|
26177
|
+
"Trade Winds",
|
|
26178
|
+
"Train One",
|
|
26179
|
+
"Triodion",
|
|
26180
|
+
"Trirong",
|
|
26181
|
+
"Trispace",
|
|
26182
|
+
"Trocchi",
|
|
26183
|
+
"Trochut",
|
|
26184
|
+
"Truculenta",
|
|
26185
|
+
"Trykker",
|
|
26186
|
+
"Tsukimi Rounded",
|
|
26187
|
+
"Tuffy",
|
|
26188
|
+
"Tulpen One",
|
|
26189
|
+
"Turret Road",
|
|
26190
|
+
"Twinkle Star",
|
|
26191
|
+
"Ubuntu",
|
|
26192
|
+
"Ubuntu Condensed",
|
|
26193
|
+
"Ubuntu Mono",
|
|
26194
|
+
"Ubuntu Sans",
|
|
26195
|
+
"Ubuntu Sans Mono",
|
|
26196
|
+
"Uchen",
|
|
26197
|
+
"Ultra",
|
|
26198
|
+
"Unbounded",
|
|
26199
|
+
"Uncial Antiqua",
|
|
26200
|
+
"Underdog",
|
|
26201
|
+
"Unica One",
|
|
26202
|
+
"UnifrakturCook",
|
|
26203
|
+
"UnifrakturMaguntia",
|
|
26204
|
+
"Unkempt",
|
|
26205
|
+
"Unlock",
|
|
26206
|
+
"Unna",
|
|
26207
|
+
"UoqMunThenKhung",
|
|
26208
|
+
"Updock",
|
|
26209
|
+
"Urbanist",
|
|
26210
|
+
"Valley Sans",
|
|
26211
|
+
"Vampiro One",
|
|
26212
|
+
"Varela",
|
|
26213
|
+
"Varela Round",
|
|
26214
|
+
"Varta",
|
|
26215
|
+
"Vast Shadow",
|
|
26216
|
+
"Vazirmatn",
|
|
26217
|
+
"Vend Sans",
|
|
26218
|
+
"Vesper Libre",
|
|
26219
|
+
"Viaoda Libre",
|
|
26220
|
+
"Vibes",
|
|
26221
|
+
"Vibur",
|
|
26222
|
+
"Victor Mono",
|
|
26223
|
+
"Vidaloka",
|
|
26224
|
+
"Viga",
|
|
26225
|
+
"Vina Sans",
|
|
26226
|
+
"Voces",
|
|
26227
|
+
"Volkhov",
|
|
26228
|
+
"Vollkorn",
|
|
26229
|
+
"Vollkorn SC",
|
|
26230
|
+
"Voltaire",
|
|
26231
|
+
"VT323",
|
|
26232
|
+
"Vujahday Script",
|
|
26233
|
+
"Waiting for the Sunrise",
|
|
26234
|
+
"Wallpoet",
|
|
26235
|
+
"Walter Turncoat",
|
|
26236
|
+
"Warnes",
|
|
26237
|
+
"Water Brush",
|
|
26238
|
+
"Waterfall",
|
|
26239
|
+
"Wavefont",
|
|
26240
|
+
"WDXL Lubrifont JP N",
|
|
26241
|
+
"WDXL Lubrifont SC",
|
|
26242
|
+
"WDXL Lubrifont TC",
|
|
26243
|
+
"Wellfleet",
|
|
26244
|
+
"Wendy One",
|
|
26245
|
+
"Whisper",
|
|
26246
|
+
"WindSong",
|
|
26247
|
+
"Winky Rough",
|
|
26248
|
+
"Winky Sans",
|
|
26249
|
+
"Wire One",
|
|
26250
|
+
"Wittgenstein",
|
|
26251
|
+
"Wix Madefor Display",
|
|
26252
|
+
"Wix Madefor Text",
|
|
26253
|
+
"Work Sans",
|
|
26254
|
+
"Workbench",
|
|
26255
|
+
"Xanh Mono",
|
|
26256
|
+
"Yaldevi",
|
|
26257
|
+
"Yanone Kaffeesatz",
|
|
26258
|
+
"Yantramanav",
|
|
26259
|
+
"Yarndings 12",
|
|
26260
|
+
"Yarndings 12 Charted",
|
|
26261
|
+
"Yarndings 20",
|
|
26262
|
+
"Yarndings 20 Charted",
|
|
26263
|
+
"Yatra One",
|
|
26264
|
+
"Yellowtail",
|
|
26265
|
+
"Yeon Sung",
|
|
26266
|
+
"Yeseva One",
|
|
26267
|
+
"Yesteryear",
|
|
26268
|
+
"Yomogi",
|
|
26269
|
+
"Young Serif",
|
|
26270
|
+
"Yrsa",
|
|
26271
|
+
"Ysabeau",
|
|
26272
|
+
"Ysabeau Infant",
|
|
26273
|
+
"Ysabeau Office",
|
|
26274
|
+
"Ysabeau SC",
|
|
26275
|
+
"Yuji Boku",
|
|
26276
|
+
"Yuji Hentaigana Akari",
|
|
26277
|
+
"Yuji Hentaigana Akebono",
|
|
26278
|
+
"Yuji Mai",
|
|
26279
|
+
"Yuji Syuku",
|
|
26280
|
+
"Yusei Magic",
|
|
26281
|
+
"Yuyu",
|
|
26282
|
+
"Yuyu Short",
|
|
26283
|
+
"Zain",
|
|
26284
|
+
"Zalando Sans",
|
|
26285
|
+
"Zalando Sans Expanded",
|
|
26286
|
+
"Zalando Sans SemiExpanded",
|
|
26287
|
+
"ZCOOL KuaiLe",
|
|
26288
|
+
"ZCOOL QingKe HuangYou",
|
|
26289
|
+
"ZCOOL XiaoWei",
|
|
26290
|
+
"Zen Antique",
|
|
26291
|
+
"Zen Antique Soft",
|
|
26292
|
+
"Zen Dots",
|
|
26293
|
+
"Zen Kaku Gothic Antique",
|
|
26294
|
+
"Zen Kaku Gothic New",
|
|
26295
|
+
"Zen Kurenaido",
|
|
26296
|
+
"Zen Loop",
|
|
26297
|
+
"Zen Maru Gothic",
|
|
26298
|
+
"Zen Old Mincho",
|
|
26299
|
+
"Zen Tokyo Zoo",
|
|
26300
|
+
"Zeyada",
|
|
26301
|
+
"Zhi Mang Xing",
|
|
26302
|
+
"Zilla Slab",
|
|
26303
|
+
"Zilla Slab Highlight"
|
|
26304
|
+
];
|
|
26305
|
+
|
|
26306
|
+
// text/webfonts/google-fonts-lookup.ts
|
|
26307
|
+
var catalogueIndex;
|
|
26308
|
+
function findGoogleFontsFamily(family) {
|
|
26309
|
+
if (!catalogueIndex) {
|
|
26310
|
+
catalogueIndex = new Map(GOOGLE_FONTS_FAMILIES.map((name2) => [normaliseFamily(name2), name2]));
|
|
26311
|
+
}
|
|
26312
|
+
return catalogueIndex.get(normaliseFamily(family)) ?? null;
|
|
26313
|
+
}
|
|
26314
|
+
function normaliseFamily(family) {
|
|
26315
|
+
return family.trim().replace(/\s+/gu, " ").toLowerCase();
|
|
26316
|
+
}
|
|
26317
|
+
|
|
26318
|
+
// text/webfonts/metric-clones.ts
|
|
26319
|
+
var METRIC_COMPATIBLE_CLONES = {
|
|
26320
|
+
Calibri: "Carlito",
|
|
26321
|
+
"Calibri Light": "Carlito",
|
|
26322
|
+
Cambria: "Caladea",
|
|
26323
|
+
Aptos: "Carlito",
|
|
26324
|
+
"Aptos Display": "Carlito",
|
|
26325
|
+
"Aptos Narrow": "Carlito",
|
|
26326
|
+
"Aptos Serif": "Caladea",
|
|
26327
|
+
Arial: "Arimo",
|
|
26328
|
+
"Arial Black": "Arimo",
|
|
26329
|
+
"Arial Narrow": "Arimo",
|
|
26330
|
+
Helvetica: "Arimo",
|
|
26331
|
+
"Helvetica Neue": "Arimo",
|
|
26332
|
+
"Times New Roman": "Tinos",
|
|
26333
|
+
"Courier New": "Cousine",
|
|
26334
|
+
Georgia: "Gelasio"
|
|
26335
|
+
};
|
|
26336
|
+
function findMetricCompatibleGoogleFontsFamily(family) {
|
|
26337
|
+
if (findGoogleFontsFamily(family) !== null) {
|
|
26338
|
+
return null;
|
|
26339
|
+
}
|
|
26340
|
+
const clone2 = METRIC_COMPATIBLE_CLONES[family.trim()];
|
|
26341
|
+
return clone2 ? findGoogleFontsFamily(clone2) : null;
|
|
26342
|
+
}
|
|
26343
|
+
|
|
26344
|
+
// text/webfonts/font-weight-names.ts
|
|
26345
|
+
var WEIGHT_TOKENS = /* @__PURE__ */ new Map([
|
|
26346
|
+
["thin", 100],
|
|
26347
|
+
["hairline", 100],
|
|
26348
|
+
["extralight", 200],
|
|
26349
|
+
["ultralight", 200],
|
|
26350
|
+
["light", 300],
|
|
26351
|
+
["regular", 400],
|
|
26352
|
+
["normal", 400],
|
|
26353
|
+
["book", 400],
|
|
26354
|
+
["medium", 500],
|
|
26355
|
+
["semibold", 600],
|
|
26356
|
+
["demibold", 600],
|
|
26357
|
+
["bold", 700],
|
|
26358
|
+
["extrabold", 800],
|
|
26359
|
+
["ultrabold", 800],
|
|
26360
|
+
["black", 900],
|
|
26361
|
+
["heavy", 900],
|
|
26362
|
+
["extrablack", 900],
|
|
26363
|
+
["ultrablack", 900]
|
|
26364
|
+
]);
|
|
26365
|
+
var WEIGHT_PREFIXES = /* @__PURE__ */ new Set(["semi", "demi", "extra", "ultra"]);
|
|
26366
|
+
var STYLE_TOKENS = /* @__PURE__ */ new Set(["italic", "oblique"]);
|
|
26367
|
+
function parseFontWeightName(name2) {
|
|
26368
|
+
const tokens = name2.trim().split(/\s+/u);
|
|
26369
|
+
let weight;
|
|
26370
|
+
let consumed = 0;
|
|
26371
|
+
let end = tokens.length;
|
|
26372
|
+
let italic = false;
|
|
26373
|
+
if (end > 1 && STYLE_TOKENS.has(normaliseToken(tokens[end - 1]))) {
|
|
26374
|
+
end -= 1;
|
|
26375
|
+
consumed += 1;
|
|
26376
|
+
italic = true;
|
|
26377
|
+
}
|
|
26378
|
+
if (end > 1) {
|
|
26379
|
+
const last = normaliseToken(tokens[end - 1]);
|
|
26380
|
+
const prefix = end > 2 ? normaliseToken(tokens[end - 2]) : "";
|
|
26381
|
+
const joined = WEIGHT_PREFIXES.has(prefix) ? WEIGHT_TOKENS.get(prefix + last) : void 0;
|
|
26382
|
+
if (joined !== void 0) {
|
|
26383
|
+
weight = joined;
|
|
26384
|
+
end -= 2;
|
|
26385
|
+
consumed += 2;
|
|
26386
|
+
} else if (WEIGHT_TOKENS.has(last)) {
|
|
26387
|
+
weight = WEIGHT_TOKENS.get(last);
|
|
26388
|
+
end -= 1;
|
|
26389
|
+
consumed += 1;
|
|
26390
|
+
}
|
|
26391
|
+
}
|
|
26392
|
+
if (consumed === 0 || end < 1) {
|
|
26393
|
+
return null;
|
|
26394
|
+
}
|
|
26395
|
+
return { family: tokens.slice(0, end).join(" "), weight: weight ?? 400, italic };
|
|
26396
|
+
}
|
|
26397
|
+
function normaliseToken(token2) {
|
|
26398
|
+
return (token2 ?? "").toLowerCase().replace(/-/gu, "");
|
|
26399
|
+
}
|
|
26400
|
+
function resolveGoogleFontsFace(typeface2) {
|
|
26401
|
+
const exact = findGoogleFontsFamily(typeface2);
|
|
26402
|
+
if (exact !== null) {
|
|
26403
|
+
return { family: exact };
|
|
26404
|
+
}
|
|
26405
|
+
const parsed = parseFontWeightName(typeface2);
|
|
26406
|
+
if (!parsed) {
|
|
26407
|
+
return null;
|
|
26408
|
+
}
|
|
26409
|
+
const base = findGoogleFontsFamily(parsed.family);
|
|
26410
|
+
if (base === null) {
|
|
26411
|
+
return null;
|
|
26412
|
+
}
|
|
26413
|
+
return parsed.italic ? { family: base, weight: parsed.weight, italic: true } : { family: base, weight: parsed.weight };
|
|
26414
|
+
}
|
|
26415
|
+
var impliedStyleCache = /* @__PURE__ */ new Map();
|
|
26416
|
+
function impliedStyle(typeface2) {
|
|
26417
|
+
let cached = impliedStyleCache.get(typeface2);
|
|
26418
|
+
if (cached === void 0) {
|
|
26419
|
+
const face = resolveGoogleFontsFace(typeface2);
|
|
26420
|
+
cached = face?.weight === void 0 ? null : { weight: face.weight, italic: face.italic === true };
|
|
26421
|
+
impliedStyleCache.set(typeface2, cached);
|
|
26422
|
+
}
|
|
26423
|
+
return cached;
|
|
26424
|
+
}
|
|
26425
|
+
function primaryFamily(familyOrList) {
|
|
26426
|
+
const first2 = familyOrList.split(",")[0]?.trim() ?? "";
|
|
26427
|
+
const quoted = /^(["'])(.*)\1$/u.exec(first2);
|
|
26428
|
+
return quoted ? (quoted[2] ?? "").replace(/\\(.)/gu, "$1") : first2;
|
|
26429
|
+
}
|
|
26430
|
+
function resolveFontWeight(fontFamily, bold) {
|
|
26431
|
+
const implied = fontFamily ? impliedStyle(primaryFamily(fontFamily))?.weight : void 0;
|
|
26432
|
+
const regular = implied ?? 400;
|
|
26433
|
+
return bold ? Math.max(700, regular) : regular;
|
|
26434
|
+
}
|
|
26435
|
+
function fontWeightShorthand(fontFamily, bold) {
|
|
26436
|
+
const value = fontWeightAttribute(fontFamily, bold);
|
|
26437
|
+
return value === void 0 ? "" : `${value} `;
|
|
26438
|
+
}
|
|
26439
|
+
function fontWeightAttribute(fontFamily, bold) {
|
|
26440
|
+
const weight = resolveFontWeight(fontFamily, bold);
|
|
26441
|
+
if (weight === 400) {
|
|
26442
|
+
return void 0;
|
|
26443
|
+
}
|
|
26444
|
+
return weight === 700 ? "bold" : String(weight);
|
|
26445
|
+
}
|
|
26446
|
+
function resolveFontItalic(fontFamily, italic) {
|
|
26447
|
+
if (italic) {
|
|
26448
|
+
return true;
|
|
26449
|
+
}
|
|
26450
|
+
return fontFamily ? impliedStyle(primaryFamily(fontFamily))?.italic === true : false;
|
|
26451
|
+
}
|
|
26452
|
+
function fontStyleShorthand(fontFamily, italic) {
|
|
26453
|
+
return resolveFontItalic(fontFamily, italic) ? "italic " : "";
|
|
26454
|
+
}
|
|
26455
|
+
|
|
26456
|
+
// text/webfonts/google-fonts-request.ts
|
|
26457
|
+
var GOOGLE_FONTS_CSS2_BASE = "https://fonts.googleapis.com/css2";
|
|
26458
|
+
function normalizeGoogleFontsBaseUrl(baseUrl) {
|
|
26459
|
+
if (typeof baseUrl !== "string" || baseUrl.trim() === "") return null;
|
|
26460
|
+
let url;
|
|
26461
|
+
try {
|
|
26462
|
+
url = new URL(baseUrl.trim());
|
|
26463
|
+
} catch {
|
|
26464
|
+
return null;
|
|
26465
|
+
}
|
|
26466
|
+
if (url.protocol !== "http:" && url.protocol !== "https:") return null;
|
|
26467
|
+
if (url.username !== "" || url.password !== "" || url.search !== "" || url.hash !== "") {
|
|
26468
|
+
return null;
|
|
26469
|
+
}
|
|
26470
|
+
return url.href;
|
|
26471
|
+
}
|
|
26472
|
+
var warnedInvalidBaseUrls = /* @__PURE__ */ new Set();
|
|
26473
|
+
function resolveGoogleFontsCss2Base(option, whenUnset = GOOGLE_FONTS_CSS2_BASE, label = "pptx-viewer") {
|
|
26474
|
+
if (option === void 0) return whenUnset;
|
|
26475
|
+
if (option === false) return null;
|
|
26476
|
+
const raw2 = typeof option === "object" && option !== null ? option.baseUrl : void 0;
|
|
26477
|
+
const normalized = normalizeGoogleFontsBaseUrl(raw2);
|
|
26478
|
+
if (normalized === null && !warnedInvalidBaseUrls.has(String(raw2 ?? ""))) {
|
|
26479
|
+
warnedInvalidBaseUrls.add(String(raw2 ?? ""));
|
|
26480
|
+
console.warn(
|
|
26481
|
+
`[${label}] googleFonts.baseUrl must be an absolute http(s) URL without credentials, query or fragment; the Google Fonts fallback is disabled.`
|
|
26482
|
+
);
|
|
26483
|
+
}
|
|
26484
|
+
return normalized;
|
|
26485
|
+
}
|
|
26486
|
+
var GOOGLE_WEBFONT_AXIS = "ital,wght@0,400;0,700;1,400;1,700";
|
|
26487
|
+
var DISPLAY_PARAM = "display=swap";
|
|
26488
|
+
function selectGoogleWebfontFamilies(referenced, embedded, isLocallyInstalled) {
|
|
26489
|
+
const embeddedSet = new Set(embedded ?? []);
|
|
26490
|
+
const selected = [];
|
|
26491
|
+
for (const family of referenced) {
|
|
26492
|
+
if (embeddedSet.has(family) || isLocallyInstalled?.(family)) continue;
|
|
26493
|
+
selected.push(family);
|
|
26494
|
+
}
|
|
26495
|
+
return selected;
|
|
26496
|
+
}
|
|
26497
|
+
function buildGoogleFontsFragment(family, weights) {
|
|
26498
|
+
const sorted = [.../* @__PURE__ */ new Set([400, 700, ...weights ?? []])].sort((a2, b) => a2 - b);
|
|
26499
|
+
if (sorted.length === 2) return `${family}:${GOOGLE_WEBFONT_AXIS}`;
|
|
26500
|
+
const tuples = [0, 1].flatMap((ital) => sorted.map((weight) => `${ital},${weight}`));
|
|
26501
|
+
return `${family}:ital,wght@${tuples.join(";")}`;
|
|
26502
|
+
}
|
|
26503
|
+
function buildGoogleFontsHref(fragments, baseUrl = GOOGLE_FONTS_CSS2_BASE) {
|
|
26504
|
+
if (fragments.length === 0) return null;
|
|
26505
|
+
const query = fragments.map((fragment3) => `family=${encodeURIComponent(fragment3)}`).join("&");
|
|
26506
|
+
return `${baseUrl}?${query}&${DISPLAY_PARAM}`;
|
|
26507
|
+
}
|
|
26508
|
+
function servedGoogleFontsFamily(family) {
|
|
26509
|
+
return resolveGoogleFontsFace(family)?.family ?? findMetricCompatibleGoogleFontsFamily(family);
|
|
26510
|
+
}
|
|
26511
|
+
function matchGoogleWebfontFragments(families, onResolved) {
|
|
26512
|
+
const weightsByFamily = /* @__PURE__ */ new Map();
|
|
26513
|
+
for (const family of families) {
|
|
26514
|
+
const face = resolveGoogleFontsFace(family);
|
|
26515
|
+
const canonical = face?.family ?? findMetricCompatibleGoogleFontsFamily(family);
|
|
26516
|
+
if (canonical === null) continue;
|
|
26517
|
+
onResolved?.(family);
|
|
26518
|
+
let weights = weightsByFamily.get(canonical);
|
|
26519
|
+
if (!weights) {
|
|
26520
|
+
weights = /* @__PURE__ */ new Set();
|
|
26521
|
+
weightsByFamily.set(canonical, weights);
|
|
26522
|
+
}
|
|
26523
|
+
if (face?.weight !== void 0) {
|
|
26524
|
+
weights.add(face.weight);
|
|
26525
|
+
weights.add(Math.max(700, face.weight));
|
|
26526
|
+
}
|
|
26527
|
+
}
|
|
26528
|
+
return [...weightsByFamily].sort(([a2], [b]) => a2 < b ? -1 : a2 > b ? 1 : 0).map(([family, weights]) => buildGoogleFontsFragment(family, weights));
|
|
26529
|
+
}
|
|
26530
|
+
|
|
26531
|
+
// text/webfonts/webfont-faces.ts
|
|
26532
|
+
var MAX_SAMPLE_CHARS = 256;
|
|
26533
|
+
var quoteFamily = (family) => `"${family.replace(/[\\"]/gu, "\\$&")}"`;
|
|
26534
|
+
function collectRunFamilies(runs) {
|
|
26535
|
+
const families = /* @__PURE__ */ new Set();
|
|
26536
|
+
for (const run2 of runs) {
|
|
26537
|
+
const family = run2.family?.trim();
|
|
26538
|
+
if (family) families.add(family);
|
|
26539
|
+
}
|
|
26540
|
+
return families;
|
|
26541
|
+
}
|
|
26542
|
+
function collectWebfontFaces(runs, candidates) {
|
|
26543
|
+
const wanted = new Set(candidates);
|
|
26544
|
+
const unavailable = candidates.filter((family) => servedGoogleFontsFamily(family) === null);
|
|
26545
|
+
const faces = /* @__PURE__ */ new Map();
|
|
26546
|
+
const byFont = /* @__PURE__ */ new Map();
|
|
26547
|
+
for (const run2 of runs) {
|
|
26548
|
+
const family = run2.family?.trim();
|
|
26549
|
+
if (!family || !wanted.has(family)) continue;
|
|
26550
|
+
const served = servedGoogleFontsFamily(family);
|
|
26551
|
+
if (served === null) continue;
|
|
26552
|
+
const weight = resolveFontWeight(family, run2.bold);
|
|
26553
|
+
const style = resolveFontItalic(family, run2.italic) ? "italic " : "";
|
|
26554
|
+
const font = `${style}${weight} 16px ${quoteFamily(served)}`;
|
|
26555
|
+
let face = byFont.get(font);
|
|
26556
|
+
if (!face) {
|
|
26557
|
+
face = { family: served, font, chars: /* @__PURE__ */ new Set() };
|
|
26558
|
+
byFont.set(font, face);
|
|
26559
|
+
const list2 = faces.get(served);
|
|
26560
|
+
if (list2) list2.push(face);
|
|
26561
|
+
else faces.set(served, [face]);
|
|
26562
|
+
}
|
|
26563
|
+
for (const char of run2.text) {
|
|
26564
|
+
if (face.chars.size >= MAX_SAMPLE_CHARS) break;
|
|
26565
|
+
if (char.trim() !== "") face.chars.add(char);
|
|
26566
|
+
}
|
|
26567
|
+
}
|
|
26568
|
+
return { faces, unavailable };
|
|
26569
|
+
}
|
|
26570
|
+
|
|
24110
26571
|
// i18n/index.ts
|
|
24111
26572
|
var i18n_exports = {};
|
|
24112
26573
|
__export(i18n_exports, {
|
|
@@ -25009,6 +27470,7 @@ __export(diagram_exports, {
|
|
|
25009
27470
|
buildFabricatedQuickStyleXml: () => buildFabricatedQuickStyleXml,
|
|
25010
27471
|
buildForest: () => buildForest,
|
|
25011
27472
|
buildGeneratedDiagramCache: () => buildGeneratedDiagramCache,
|
|
27473
|
+
buildOutlinePathGradientSvg: () => buildOutlinePathGradientSvg,
|
|
25012
27474
|
buildRectPathGradientExactSvg: () => buildRectPathGradientExactSvg,
|
|
25013
27475
|
buildRectPathGradientImage: () => buildRectPathGradientImage,
|
|
25014
27476
|
buildRectPathGradientSvg: () => buildRectPathGradientSvg,
|
|
@@ -25019,6 +27481,7 @@ __export(diagram_exports, {
|
|
|
25019
27481
|
chooseAlgorithmOfType: () => chooseAlgorithmOfType,
|
|
25020
27482
|
circleNode: () => circleNode,
|
|
25021
27483
|
clampByRules: () => clampByRules,
|
|
27484
|
+
closedSubpaths: () => closedSubpaths,
|
|
25022
27485
|
collectFoldedDescendants: () => collectFoldedDescendants,
|
|
25023
27486
|
collectTransitionText: () => collectTransitionText,
|
|
25024
27487
|
computeDiagramDrawingBounds: () => computeDiagramDrawingBounds,
|
|
@@ -25063,6 +27526,7 @@ __export(diagram_exports, {
|
|
|
25063
27526
|
formatDiagramSource: () => formatDiagramSource,
|
|
25064
27527
|
formatXsdDouble: () => formatXsdDouble,
|
|
25065
27528
|
generatedDrawingDigest: () => generatedDrawingDigest,
|
|
27529
|
+
gradientColorAt: () => gradientColorAt,
|
|
25066
27530
|
groupedChildren: () => groupedChildren,
|
|
25067
27531
|
interpretSmartArtLayout: () => interpretSmartArtLayout,
|
|
25068
27532
|
isDrawableDiagramShapeView: () => isDrawableDiagramShapeView,
|
|
@@ -25159,11 +27623,13 @@ __export(diagram_exports, {
|
|
|
25159
27623
|
ruleAttributes: () => ruleAttributes,
|
|
25160
27624
|
runEngineLayout: () => runEngineLayout,
|
|
25161
27625
|
runSmartArtEngine: () => runSmartArtEngine,
|
|
27626
|
+
scalePathAbout: () => scalePathAbout,
|
|
25162
27627
|
selectArrangedNodes: () => selectArrangedNodes,
|
|
25163
27628
|
selectConstraints: () => selectConstraints,
|
|
25164
27629
|
setDiagramNodeStyle: () => setDiagramNodeStyle,
|
|
25165
27630
|
setDiagramNodeText: () => setDiagramNodeText,
|
|
25166
27631
|
setDrawingFillXml: () => setDrawingFillXml,
|
|
27632
|
+
shapePathGradientField: () => shapePathGradientField,
|
|
25167
27633
|
smartArtChildrenOf: () => smartArtChildrenOf,
|
|
25168
27634
|
structuralChooseAlgDepth: () => structuralChooseAlgDepth,
|
|
25169
27635
|
styleContext: () => styleContext,
|
|
@@ -25336,24 +27802,24 @@ function isSpace2(ch) {
|
|
|
25336
27802
|
function parseAttributes(source2) {
|
|
25337
27803
|
const attrs2 = {};
|
|
25338
27804
|
let i2 = 0;
|
|
25339
|
-
const
|
|
25340
|
-
while (i2 <
|
|
25341
|
-
while (i2 <
|
|
27805
|
+
const n3 = source2.length;
|
|
27806
|
+
while (i2 < n3) {
|
|
27807
|
+
while (i2 < n3 && !isNameChar2(source2[i2])) {
|
|
25342
27808
|
i2++;
|
|
25343
27809
|
}
|
|
25344
27810
|
const nameStart = i2;
|
|
25345
|
-
while (i2 <
|
|
27811
|
+
while (i2 < n3 && isNameChar2(source2[i2])) {
|
|
25346
27812
|
i2++;
|
|
25347
27813
|
}
|
|
25348
27814
|
const name2 = source2.slice(nameStart, i2);
|
|
25349
|
-
while (i2 <
|
|
27815
|
+
while (i2 < n3 && isSpace2(source2[i2])) {
|
|
25350
27816
|
i2++;
|
|
25351
27817
|
}
|
|
25352
27818
|
if (!name2 || source2[i2] !== "=") {
|
|
25353
27819
|
continue;
|
|
25354
27820
|
}
|
|
25355
27821
|
i2++;
|
|
25356
|
-
while (i2 <
|
|
27822
|
+
while (i2 < n3 && isSpace2(source2[i2])) {
|
|
25357
27823
|
i2++;
|
|
25358
27824
|
}
|
|
25359
27825
|
const quote = source2[i2];
|
|
@@ -26150,12 +28616,12 @@ function cmds(src) {
|
|
|
26150
28616
|
let i2 = 0;
|
|
26151
28617
|
while (i2 < tokens.length) {
|
|
26152
28618
|
const op2 = tokens[i2++];
|
|
26153
|
-
const
|
|
26154
|
-
if (
|
|
28619
|
+
const n3 = ARITY2[op2];
|
|
28620
|
+
if (n3 === void 0) {
|
|
26155
28621
|
throw new Error(`Unknown path op ${op2}`);
|
|
26156
28622
|
}
|
|
26157
|
-
const a2 = tokens.slice(i2, i2 +
|
|
26158
|
-
i2 +=
|
|
28623
|
+
const a2 = tokens.slice(i2, i2 + n3);
|
|
28624
|
+
i2 += n3;
|
|
26159
28625
|
switch (op2) {
|
|
26160
28626
|
case "M":
|
|
26161
28627
|
out.push({ kind: "moveTo", x: a2[0], y: a2[1] });
|
|
@@ -26268,84 +28734,22 @@ var triangle = (g3, dir) => g3.poly([
|
|
|
26268
28734
|
[D * dir, 0],
|
|
26269
28735
|
[-D * dir, D]
|
|
26270
28736
|
]);
|
|
26271
|
-
var
|
|
26272
|
-
|
|
26273
|
-
|
|
26274
|
-
|
|
26275
|
-
|
|
26276
|
-
[
|
|
26277
|
-
|
|
26278
|
-
|
|
26279
|
-
|
|
26280
|
-
|
|
26281
|
-
|
|
26282
|
-
|
|
26283
|
-
|
|
26284
|
-
|
|
26285
|
-
|
|
26286
|
-
|
|
26287
|
-
[-8.5, -13.5],
|
|
26288
|
-
[-9.3, -17.2],
|
|
26289
|
-
[-7.8, -19.5],
|
|
26290
|
-
[-4, -22.5],
|
|
26291
|
-
[-3.3, -21.7],
|
|
26292
|
-
[-1.8, -21.7],
|
|
26293
|
-
[-1, -23.2],
|
|
26294
|
-
[0.5, -23.2],
|
|
26295
|
-
[1.2, -21.7],
|
|
26296
|
-
[2.7, -21.7],
|
|
26297
|
-
[3.5, -22.5],
|
|
26298
|
-
[8, -18.7],
|
|
26299
|
-
[8.7, -17.2],
|
|
26300
|
-
[8, -16.5],
|
|
26301
|
-
[8, -15],
|
|
26302
|
-
[9.5, -14.2],
|
|
26303
|
-
[9.5, -13.5],
|
|
26304
|
-
[8, -12.7],
|
|
26305
|
-
[8.7, -9.7],
|
|
26306
|
-
[5, -6],
|
|
26307
|
-
[2, -6],
|
|
26308
|
-
[-2.5, -2.2],
|
|
26309
|
-
[-3.3, 0.8],
|
|
26310
|
-
[-5.5, 2.3],
|
|
26311
|
-
[-4.8, 6.8],
|
|
26312
|
-
[-6.3, 7.5],
|
|
26313
|
-
[-6.3, 18],
|
|
26314
|
-
[-4.8, 18],
|
|
26315
|
-
[-4, 17.3],
|
|
26316
|
-
[4.2, 17.3],
|
|
26317
|
-
[4.2, 6.8],
|
|
26318
|
-
[6.5, 5.3],
|
|
26319
|
-
[6.5, 3.8],
|
|
26320
|
-
[8, 3],
|
|
26321
|
-
[8, 1.5],
|
|
26322
|
-
[8.7, 0.8],
|
|
26323
|
-
[13.2, 0],
|
|
26324
|
-
[17, -4.5],
|
|
26325
|
-
[18.5, -4.5],
|
|
26326
|
-
[18.5, -6],
|
|
26327
|
-
[17.7, -6.7],
|
|
26328
|
-
[18.5, -8.2],
|
|
26329
|
-
[18.5, -15],
|
|
26330
|
-
[20, -15.7],
|
|
26331
|
-
[20, -18],
|
|
26332
|
-
[17.7, -19.5],
|
|
26333
|
-
[17.7, -21],
|
|
26334
|
-
[15.5, -24.7],
|
|
26335
|
-
[15.5, -27],
|
|
26336
|
-
[14, -27],
|
|
26337
|
-
[13.2, -27.7],
|
|
26338
|
-
[13.2, -29.2],
|
|
26339
|
-
[9.5, -30],
|
|
26340
|
-
[8.7, -30.7],
|
|
26341
|
-
[8.7, -32.2],
|
|
26342
|
-
[5.7, -31.5],
|
|
26343
|
-
[4.2, -33.7],
|
|
26344
|
-
[2.7, -33.7],
|
|
26345
|
-
[2, -32.2],
|
|
26346
|
-
[-2.5, -32.2],
|
|
26347
|
-
[-3.3, -33.7]
|
|
26348
|
-
];
|
|
28737
|
+
var U = 90;
|
|
28738
|
+
var question = (g3) => {
|
|
28739
|
+
const x = (v) => g3.x(v * U);
|
|
28740
|
+
const y = (v) => g3.y(v * U);
|
|
28741
|
+
const r = (v) => g3.len(v * U);
|
|
28742
|
+
return [
|
|
28743
|
+
`M ${x(-0.214)} ${y(-0.162)} A ${r(0.214)} ${r(0.2125)} 10800000 10800000`,
|
|
28744
|
+
`A ${r(0.108)} ${r(0.162)} 0 5400000`,
|
|
28745
|
+
`A ${r(0.053)} ${r(0.085)} 16200000 -5400000`,
|
|
28746
|
+
`L ${x(0.053)} ${y(0.187)} L ${x(-0.053)} ${y(0.187)} L ${x(-0.053)} ${y(0.08)}`,
|
|
28747
|
+
`A ${r(0.108)} ${r(0.16)} 10800000 5400000`,
|
|
28748
|
+
`A ${r(0.052)} ${r(0.082)} 5400000 -5400000`,
|
|
28749
|
+
`A ${r(0.107)} ${r(0.1065)} 0 -10800000`,
|
|
28750
|
+
`L ${x(-0.214)} ${y(-0.162)} Z`
|
|
28751
|
+
].join(" ");
|
|
28752
|
+
};
|
|
26349
28753
|
var MOVIE = [
|
|
26350
28754
|
[-33.75, -16.5],
|
|
26351
28755
|
[-33.75, -3],
|
|
@@ -26452,8 +28856,8 @@ var buttons = {
|
|
|
26452
28856
|
)
|
|
26453
28857
|
]),
|
|
26454
28858
|
actionButtonHelp: build("actionButtonHelp", (g3) => [
|
|
26455
|
-
darken(g3
|
|
26456
|
-
darken(g3.circle(
|
|
28859
|
+
darken(question(g3)),
|
|
28860
|
+
darken(g3.circle(0, 0.295 * U, 0.08 * U))
|
|
26457
28861
|
]),
|
|
26458
28862
|
actionButtonInformation: build("actionButtonInformation", (g3) => [
|
|
26459
28863
|
darken(g3.circle(0, 0.4, 34)),
|
|
@@ -29776,12 +32180,46 @@ var leftRightUpArrow2 = exactDef(
|
|
|
29776
32180
|
)
|
|
29777
32181
|
]
|
|
29778
32182
|
);
|
|
32183
|
+
var swooshArrow3 = exactDef(
|
|
32184
|
+
"swooshArrow",
|
|
32185
|
+
{ adj1: 25e3, adj2: 16667 },
|
|
32186
|
+
[
|
|
32187
|
+
"a1 pin 1 adj1 75000",
|
|
32188
|
+
"maxAdj2 */ 70000 w ss",
|
|
32189
|
+
"a2 pin 0 adj2 maxAdj2",
|
|
32190
|
+
"ad1 */ h a1 100000",
|
|
32191
|
+
"ad2 */ ss a2 100000",
|
|
32192
|
+
"xB +- r 0 ad2",
|
|
32193
|
+
"yB +- t ssd8 0",
|
|
32194
|
+
"alfa */ cd4 1 14",
|
|
32195
|
+
"dx0 tan ssd8 alfa",
|
|
32196
|
+
"xC +- xB 0 dx0",
|
|
32197
|
+
"dx1 tan ad1 alfa",
|
|
32198
|
+
"yF +- yB ad1 0",
|
|
32199
|
+
"xF +- xB dx1 0",
|
|
32200
|
+
"xE +- xF dx0 0",
|
|
32201
|
+
"yE +- yF ssd8 0",
|
|
32202
|
+
"dy2 +- yE 0 t",
|
|
32203
|
+
"dy22 */ dy2 1 2",
|
|
32204
|
+
"dy3 */ h 1 20",
|
|
32205
|
+
"yD +- dy22 0 dy3",
|
|
32206
|
+
"dy4 */ hd6 1 1",
|
|
32207
|
+
"yP1 +- hd6 dy4 0",
|
|
32208
|
+
"xP1 val wd6",
|
|
32209
|
+
"dy5 */ hd6 1 2",
|
|
32210
|
+
"yP2 +- yF dy5 0",
|
|
32211
|
+
"xP2 val wd4"
|
|
32212
|
+
],
|
|
32213
|
+
"l t r b",
|
|
32214
|
+
[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")]
|
|
32215
|
+
);
|
|
29779
32216
|
var EXACT_ARROW_PRESET_DEFINITIONS = {
|
|
29780
32217
|
leftRightArrow: leftRightArrow2,
|
|
29781
32218
|
upDownArrow: upDownArrow2,
|
|
29782
32219
|
quadArrow: quadArrow2,
|
|
29783
32220
|
leftUpArrow: leftUpArrow2,
|
|
29784
|
-
leftRightUpArrow: leftRightUpArrow2
|
|
32221
|
+
leftRightUpArrow: leftRightUpArrow2,
|
|
32222
|
+
swooshArrow: swooshArrow3
|
|
29785
32223
|
};
|
|
29786
32224
|
|
|
29787
32225
|
// geometry/preset-shape-definitions-exact-circular.ts
|
|
@@ -29803,32 +32241,32 @@ function onEllipse(name2, rw, rh, ang) {
|
|
|
29803
32241
|
`${name2}y +- vc ${name2}dy 0`
|
|
29804
32242
|
];
|
|
29805
32243
|
}
|
|
29806
|
-
function head(
|
|
32244
|
+
function head(n3, baseAng, tipAng) {
|
|
29807
32245
|
const out = [
|
|
29808
|
-
...onEllipse(`${
|
|
29809
|
-
...onEllipse(`${
|
|
29810
|
-
`${
|
|
29811
|
-
`${
|
|
29812
|
-
`${
|
|
29813
|
-
`${
|
|
29814
|
-
`${
|
|
29815
|
-
`${
|
|
29816
|
-
`${
|
|
29817
|
-
`${
|
|
29818
|
-
`${
|
|
29819
|
-
`${
|
|
32246
|
+
...onEllipse(`${n3}H`, "rw3", "rh3", baseAng),
|
|
32247
|
+
...onEllipse(`${n3}A`, "rw3", "rh3", tipAng),
|
|
32248
|
+
`${n3}Gdx cos thh ${tipAng}`,
|
|
32249
|
+
`${n3}Gdy sin thh ${tipAng}`,
|
|
32250
|
+
`${n3}Gx +- ${n3}Hx ${n3}Gdx 0`,
|
|
32251
|
+
`${n3}Gy +- ${n3}Hy ${n3}Gdy 0`,
|
|
32252
|
+
`${n3}Bx +- ${n3}Hx 0 ${n3}Gdx`,
|
|
32253
|
+
`${n3}By +- ${n3}Hy 0 ${n3}Gdy`,
|
|
32254
|
+
`${n3}sx1 +- ${n3}Bx 0 hc`,
|
|
32255
|
+
`${n3}sy1 +- ${n3}By 0 vc`,
|
|
32256
|
+
`${n3}sx2 +- ${n3}Gx 0 hc`,
|
|
32257
|
+
`${n3}sy2 +- ${n3}Gy 0 vc`
|
|
29820
32258
|
];
|
|
29821
32259
|
for (const [k, rw, rh] of [
|
|
29822
32260
|
["F", "rw1", "rh1"],
|
|
29823
32261
|
["D", "rw2", "rh2"]
|
|
29824
32262
|
]) {
|
|
29825
|
-
const m = `${
|
|
32263
|
+
const m = `${n3}${k}`;
|
|
29826
32264
|
out.push(
|
|
29827
32265
|
`${m}r min ${rw} ${rh}`,
|
|
29828
|
-
`${m}x1 */ ${
|
|
29829
|
-
`${m}y1 */ ${
|
|
29830
|
-
`${m}x2 */ ${
|
|
29831
|
-
`${m}y2 */ ${
|
|
32266
|
+
`${m}x1 */ ${n3}sx1 ${m}r ${rw}`,
|
|
32267
|
+
`${m}y1 */ ${n3}sy1 ${m}r ${rh}`,
|
|
32268
|
+
`${m}x2 */ ${n3}sx2 ${m}r ${rw}`,
|
|
32269
|
+
`${m}y2 */ ${n3}sy2 ${m}r ${rh}`,
|
|
29832
32270
|
`${m}ex +- ${m}x2 0 ${m}x1`,
|
|
29833
32271
|
`${m}ey +- ${m}y2 0 ${m}y1`,
|
|
29834
32272
|
`${m}len mod ${m}ex ${m}ey 0`,
|
|
@@ -29882,7 +32320,7 @@ var BASE = [
|
|
|
29882
32320
|
"tAng at2 rI tq",
|
|
29883
32321
|
"hAng at2 Hdx Hdy"
|
|
29884
32322
|
];
|
|
29885
|
-
var headPath = (
|
|
32323
|
+
var headPath = (n3) => `L ${n3}Gx ${n3}Gy L ${n3}Ax ${n3}Ay L ${n3}Bx ${n3}By L ${n3}DX ${n3}DY`;
|
|
29886
32324
|
var circularArrow3 = exactDef(
|
|
29887
32325
|
"circularArrow",
|
|
29888
32326
|
{ adj1: 12500, adj2: 1142319, adj3: 20457681, adj4: 108e5, adj5: 12500 },
|
|
@@ -30501,19 +32939,19 @@ var EXACT_MISC_PRESET_DEFINITIONS = {
|
|
|
30501
32939
|
};
|
|
30502
32940
|
|
|
30503
32941
|
// geometry/preset-shape-definitions-exact-funnel.ts
|
|
30504
|
-
function newton(m,
|
|
32942
|
+
function newton(m, n3) {
|
|
30505
32943
|
return [
|
|
30506
|
-
`${
|
|
30507
|
-
`${
|
|
30508
|
-
`${
|
|
30509
|
-
`${
|
|
30510
|
-
`${
|
|
30511
|
-
`${
|
|
30512
|
-
`${
|
|
30513
|
-
`${
|
|
30514
|
-
`${
|
|
30515
|
-
`${
|
|
30516
|
-
`${
|
|
32944
|
+
`${n3}b1 */ ${m} b1 1`,
|
|
32945
|
+
`${n3}b2 */ ${m} b2 1`,
|
|
32946
|
+
`${n3}s1 mod a1 ${n3}b1 0`,
|
|
32947
|
+
`${n3}s2 mod a2 ${n3}b2 0`,
|
|
32948
|
+
`${n3}m1 */ ${m} dY 1`,
|
|
32949
|
+
`${n3}f0 +- ${n3}m1 ${n3}s2 ${n3}s1`,
|
|
32950
|
+
`${n3}t1 */ ${n3}b1 b1 ${n3}s1`,
|
|
32951
|
+
`${n3}t2 */ ${n3}b2 b2 ${n3}s2`,
|
|
32952
|
+
`${n3}d0 +- dY ${n3}t2 ${n3}t1`,
|
|
32953
|
+
`${n3}d1 */ ${n3}f0 1 ${n3}d0`,
|
|
32954
|
+
`${n3} +- ${m} 0 ${n3}d1`
|
|
30517
32955
|
];
|
|
30518
32956
|
}
|
|
30519
32957
|
var STEPS = ["mA", "mB", "mC", "mD", "mE", "mF"];
|
|
@@ -30530,7 +32968,7 @@ var funnel = exactDef(
|
|
|
30530
32968
|
"a1m +- a1 0 a2",
|
|
30531
32969
|
"m0 */ a1m 1 dY",
|
|
30532
32970
|
...newton("m0", "mA"),
|
|
30533
|
-
...STEPS.slice(1).flatMap((
|
|
32971
|
+
...STEPS.slice(1).flatMap((n3, i2) => newton(STEPS[i2], n3)),
|
|
30534
32972
|
"mb1 */ mF b1 1",
|
|
30535
32973
|
"mb2 */ mF b2 1",
|
|
30536
32974
|
"phi1 at2 a1 mb1",
|
|
@@ -30587,10 +33025,13 @@ var verticalScroll = exactDef(
|
|
|
30587
33025
|
p(
|
|
30588
33026
|
"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"
|
|
30589
33027
|
),
|
|
30590
|
-
p(
|
|
30591
|
-
|
|
30592
|
-
|
|
30593
|
-
|
|
33028
|
+
p(
|
|
33029
|
+
"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",
|
|
33030
|
+
{
|
|
33031
|
+
fill: "darkenLess",
|
|
33032
|
+
stroke: false
|
|
33033
|
+
}
|
|
33034
|
+
),
|
|
30594
33035
|
p(
|
|
30595
33036
|
"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",
|
|
30596
33037
|
{ fill: "none" }
|
|
@@ -30606,10 +33047,13 @@ var horizontalScroll = exactDef(
|
|
|
30606
33047
|
p(
|
|
30607
33048
|
"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"
|
|
30608
33049
|
),
|
|
30609
|
-
p(
|
|
30610
|
-
|
|
30611
|
-
|
|
30612
|
-
|
|
33050
|
+
p(
|
|
33051
|
+
"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",
|
|
33052
|
+
{
|
|
33053
|
+
fill: "darkenLess",
|
|
33054
|
+
stroke: false
|
|
33055
|
+
}
|
|
33056
|
+
),
|
|
30613
33057
|
p(
|
|
30614
33058
|
"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",
|
|
30615
33059
|
{ fill: "none" }
|
|
@@ -30665,11 +33109,11 @@ var EXACT_LEFT_RIGHT_RIBBON_PRESET_DEFINITIONS = { leftRightRibbon };
|
|
|
30665
33109
|
|
|
30666
33110
|
// geometry/preset-shape-definitions-exact-ellipse-ribbons.ts
|
|
30667
33111
|
var AV = { adj1: 25e3, adj2: 5e4, adj3: 12500 };
|
|
30668
|
-
function para(
|
|
30669
|
-
return [`${
|
|
33112
|
+
function para(n3, x) {
|
|
33113
|
+
return [`${n3}q */ ${x} ${x} w`, `${n3}r +- ${x} 0 ${n3}q`, `${n3} */ f1 ${n3}r 1`];
|
|
30670
33114
|
}
|
|
30671
33115
|
function build2(name2, flip) {
|
|
30672
|
-
const y = (
|
|
33116
|
+
const y = (n3, off) => flip ? `${n3} +- b 0 ${off}` : `${n3} +- t ${off} 0`;
|
|
30673
33117
|
const gd17 = [
|
|
30674
33118
|
"a1 pin 0 adj1 100000",
|
|
30675
33119
|
"a2 pin 25000 adj2 75000",
|
|
@@ -31802,8 +34246,8 @@ function ray(baseX1, baseY1, baseX2, baseY2, apexX, apexY) {
|
|
|
31802
34246
|
]
|
|
31803
34247
|
};
|
|
31804
34248
|
}
|
|
31805
|
-
function starTrigTable(
|
|
31806
|
-
const total =
|
|
34249
|
+
function starTrigTable(n3) {
|
|
34250
|
+
const total = n3 * 2;
|
|
31807
34251
|
const step = Math.PI * 2 / total;
|
|
31808
34252
|
const start = -Math.PI / 2;
|
|
31809
34253
|
const result = [];
|
|
@@ -31816,8 +34260,8 @@ function starTrigTable(n2) {
|
|
|
31816
34260
|
}
|
|
31817
34261
|
return result;
|
|
31818
34262
|
}
|
|
31819
|
-
function buildStarN(
|
|
31820
|
-
const trig = starTrigTable(
|
|
34263
|
+
function buildStarN(n3, defaultAdj, hf, vf) {
|
|
34264
|
+
const trig = starTrigTable(n3);
|
|
31821
34265
|
const gdLst = [
|
|
31822
34266
|
gd9("a", `pin 0 adj 50000`),
|
|
31823
34267
|
gd9("swd2", hf === void 0 ? "*/ wd2 1 1" : "*/ wd2 hf 100000"),
|
|
@@ -31842,7 +34286,7 @@ function buildStarN(n2, defaultAdj, hf, vf) {
|
|
|
31842
34286
|
}
|
|
31843
34287
|
commands.push({ kind: "close" });
|
|
31844
34288
|
return {
|
|
31845
|
-
name: `star${
|
|
34289
|
+
name: `star${n3}`,
|
|
31846
34290
|
avLst: {
|
|
31847
34291
|
adj: defaultAdj,
|
|
31848
34292
|
...hf === void 0 ? {} : { hf },
|
|
@@ -38515,7 +40959,7 @@ function fontRule(node) {
|
|
|
38515
40959
|
}
|
|
38516
40960
|
function hasFontLength(node) {
|
|
38517
40961
|
return flattenEngineTree(node).some(
|
|
38518
|
-
(
|
|
40962
|
+
(n3) => n3.constraints.some((c2) => LENGTHS.has(c2.type) && FONT_TYPES.has(c2.refType))
|
|
38519
40963
|
);
|
|
38520
40964
|
}
|
|
38521
40965
|
function fontSearchPlan(node) {
|
|
@@ -38547,17 +40991,17 @@ function fits(node, context) {
|
|
|
38547
40991
|
if (!box) {
|
|
38548
40992
|
return true;
|
|
38549
40993
|
}
|
|
38550
|
-
for (const
|
|
38551
|
-
const b =
|
|
38552
|
-
if (!b ||
|
|
40994
|
+
for (const n3 of flattenEngineTree(node)) {
|
|
40995
|
+
const b = n3.box;
|
|
40996
|
+
if (!b || n3.alg.type === "conn" || !(b.w > 0) || !(b.h > 0)) {
|
|
38553
40997
|
continue;
|
|
38554
40998
|
}
|
|
38555
40999
|
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) {
|
|
38556
41000
|
return false;
|
|
38557
41001
|
}
|
|
38558
|
-
const font = layoutFontOf(
|
|
38559
|
-
const text3 = font === void 0 ? void 0 : context.textOf(
|
|
38560
|
-
if (font !== void 0 && text3 && !textFitsAt(
|
|
41002
|
+
const font = layoutFontOf(n3);
|
|
41003
|
+
const text3 = font === void 0 ? void 0 : context.textOf(n3);
|
|
41004
|
+
if (font !== void 0 && text3 && !textFitsAt(n3, text3, font, context.metrics, layoutFontOf)) {
|
|
38561
41005
|
return false;
|
|
38562
41006
|
}
|
|
38563
41007
|
}
|
|
@@ -38565,14 +41009,14 @@ function fits(node, context) {
|
|
|
38565
41009
|
}
|
|
38566
41010
|
function recordGrowth(node) {
|
|
38567
41011
|
const nodes = flattenEngineTree(node);
|
|
38568
|
-
for (const
|
|
38569
|
-
const grown2 =
|
|
38570
|
-
if (grown2 !== void 0 && canGrow(
|
|
38571
|
-
|
|
41012
|
+
for (const n3 of nodes) {
|
|
41013
|
+
const grown2 = n3.box?.h;
|
|
41014
|
+
if (grown2 !== void 0 && canGrow(n3, "h") && grown2 > (n3.growFloor?.h ?? -Infinity)) {
|
|
41015
|
+
n3.growFloor = { ...n3.growFloor, h: grown2 };
|
|
38572
41016
|
}
|
|
38573
41017
|
}
|
|
38574
|
-
for (const
|
|
38575
|
-
for (const group2 of
|
|
41018
|
+
for (const n3 of nodes) {
|
|
41019
|
+
for (const group2 of n3.groups) {
|
|
38576
41020
|
if (group2.type !== "h" && group2.type !== "w") {
|
|
38577
41021
|
continue;
|
|
38578
41022
|
}
|
|
@@ -38589,11 +41033,11 @@ function recordGrowth(node) {
|
|
|
38589
41033
|
}
|
|
38590
41034
|
}
|
|
38591
41035
|
function resetCandidate(node) {
|
|
38592
|
-
for (const
|
|
38593
|
-
|
|
38594
|
-
if (
|
|
38595
|
-
|
|
38596
|
-
|
|
41036
|
+
for (const n3 of flattenEngineTree(node)) {
|
|
41037
|
+
n3.growFloor = void 0;
|
|
41038
|
+
if (n3 !== node) {
|
|
41039
|
+
n3.minValues.clear();
|
|
41040
|
+
n3.maxValues.clear();
|
|
38597
41041
|
}
|
|
38598
41042
|
}
|
|
38599
41043
|
}
|
|
@@ -39361,10 +41805,10 @@ function arrangeCycle(node) {
|
|
|
39361
41805
|
}
|
|
39362
41806
|
const params = node.alg.params;
|
|
39363
41807
|
const hub = params.ctrShpMap === "fNode" ? groups.shift() : void 0;
|
|
39364
|
-
const
|
|
41808
|
+
const n3 = groups.length;
|
|
39365
41809
|
const cx0 = box.x + box.w / 2;
|
|
39366
41810
|
const cy0 = box.y + box.h / 2;
|
|
39367
|
-
if (
|
|
41811
|
+
if (n3 === 0) {
|
|
39368
41812
|
if (hub) {
|
|
39369
41813
|
placeGroup(hub, box.x, box.y, box.w, box.h);
|
|
39370
41814
|
}
|
|
@@ -39377,7 +41821,7 @@ function arrangeCycle(node) {
|
|
|
39377
41821
|
const parsedSpan = Number(params.spanAng);
|
|
39378
41822
|
const spanAng = Number.isFinite(parsedSpan) ? parsedSpan : 360;
|
|
39379
41823
|
const rotPath = params.rotPath === "alongPath";
|
|
39380
|
-
if (
|
|
41824
|
+
if (n3 === 1) {
|
|
39381
41825
|
const w0 = box.w;
|
|
39382
41826
|
const h0 = Math.min(box.h, box.w * heightOverWidth);
|
|
39383
41827
|
placeGroupCentered(groups[0], cx0, cy0, w0, h0);
|
|
@@ -39391,7 +41835,7 @@ function arrangeCycle(node) {
|
|
|
39391
41835
|
return;
|
|
39392
41836
|
}
|
|
39393
41837
|
const full = Math.abs(spanAng) >= 360;
|
|
39394
|
-
const step = full ? spanAng /
|
|
41838
|
+
const step = full ? spanAng / n3 : spanAng / (n3 - 1);
|
|
39395
41839
|
const halfStepRad = Math.abs(step) * DEG_TO_RAD / 2;
|
|
39396
41840
|
const sinHalf = Math.sin(halfStepRad);
|
|
39397
41841
|
const r0 = sinHalf > 1e-6 ? (1 + gap) / (2 * sinHalf) : 0;
|
|
@@ -39930,8 +42374,8 @@ function sanitizeLvlNode(lvlNode) {
|
|
|
39930
42374
|
function arrangePyra(node) {
|
|
39931
42375
|
const box = node.box;
|
|
39932
42376
|
const children2 = contentChildren(node);
|
|
39933
|
-
const
|
|
39934
|
-
if (!box ||
|
|
42377
|
+
const n3 = children2.length;
|
|
42378
|
+
if (!box || n3 === 0) {
|
|
39935
42379
|
return;
|
|
39936
42380
|
}
|
|
39937
42381
|
const lvlNodeName = node.alg.params.pyraLvlNode ?? "level";
|
|
@@ -39943,12 +42387,12 @@ function arrangePyra(node) {
|
|
|
39943
42387
|
}
|
|
39944
42388
|
const inverted = node.alg.params.linDir === "fromT";
|
|
39945
42389
|
const gap = Math.max(0, node.values.get("sibSp") ?? node.values.get("sp") ?? 0);
|
|
39946
|
-
const bandH = Math.max(0, (box.h - gap * (
|
|
42390
|
+
const bandH = Math.max(0, (box.h - gap * (n3 - 1)) / n3);
|
|
39947
42391
|
const bandCx = box.x + box.w / 2;
|
|
39948
42392
|
children2.forEach((child6, i2) => {
|
|
39949
42393
|
const top = box.y + i2 * (bandH + gap);
|
|
39950
|
-
const effectiveI = inverted ?
|
|
39951
|
-
const halfWide = box.w * (effectiveI + 1) /
|
|
42394
|
+
const effectiveI = inverted ? n3 - 1 - i2 : i2;
|
|
42395
|
+
const halfWide = box.w * (effectiveI + 1) / n3 / 2;
|
|
39952
42396
|
child6.box = { x: bandCx - halfWide, y: top, w: halfWide * 2, h: bandH };
|
|
39953
42397
|
});
|
|
39954
42398
|
}
|
|
@@ -39966,7 +42410,7 @@ function applyPyraAccentSplit(node) {
|
|
|
39966
42410
|
const txName = node.alg.params.pyraAcctTxNode ?? "acctTx";
|
|
39967
42411
|
const inverted = node.alg.params.linDir === "fromT";
|
|
39968
42412
|
const items = contentChildren(node);
|
|
39969
|
-
const
|
|
42413
|
+
const n3 = items.length;
|
|
39970
42414
|
const bandCx = box.x + box.w / 2;
|
|
39971
42415
|
items.forEach((item2, i2) => {
|
|
39972
42416
|
const itemBox = item2.box;
|
|
@@ -39994,8 +42438,8 @@ function applyPyraAccentSplit(node) {
|
|
|
39994
42438
|
h: descendant.box.h
|
|
39995
42439
|
};
|
|
39996
42440
|
}
|
|
39997
|
-
const effectiveI = inverted ?
|
|
39998
|
-
const halfNarrow = box.w * effectiveI /
|
|
42441
|
+
const effectiveI = inverted ? n3 - 1 - i2 : i2;
|
|
42442
|
+
const halfNarrow = box.w * effectiveI / n3 / 2;
|
|
39999
42443
|
const accentLeft = scaleFromAnchor(bandCx + halfNarrow, box.x, scale);
|
|
40000
42444
|
const accentRight = box.x + box.w;
|
|
40001
42445
|
for (const root of accentRoots) {
|
|
@@ -40065,8 +42509,8 @@ function measure3(node, box, cells, spacer, row2) {
|
|
|
40065
42509
|
);
|
|
40066
42510
|
return { cellW, cellH, along, across, cols };
|
|
40067
42511
|
}
|
|
40068
|
-
function fits2(fit2,
|
|
40069
|
-
const lines2 = Math.ceil(
|
|
42512
|
+
function fits2(fit2, n3, box, row2) {
|
|
42513
|
+
const lines2 = Math.ceil(n3 / fit2.cols);
|
|
40070
42514
|
const lineLen = fit2.cols * (row2 ? fit2.cellW : fit2.cellH) + (fit2.cols - 1) * fit2.along;
|
|
40071
42515
|
const across = lines2 * (row2 ? fit2.cellH : fit2.cellW) + (lines2 - 1) * fit2.across;
|
|
40072
42516
|
return row2 ? lineLen <= box.w + 1e-6 && across <= box.h + 1e-6 : lineLen <= box.h + 1e-6 && across <= box.w + 1e-6;
|
|
@@ -40146,19 +42590,19 @@ function gridSize(dims, m, row2) {
|
|
|
40146
42590
|
const acrossLen = lines2 * (row2 ? m.cellH : m.cellW) + (lines2 - 1) * m.across;
|
|
40147
42591
|
return row2 ? { w: alongLen, h: acrossLen } : { w: acrossLen, h: alongLen };
|
|
40148
42592
|
}
|
|
40149
|
-
function dimsFor(lineLen,
|
|
40150
|
-
const lines2 = Math.max(1, Math.ceil(
|
|
42593
|
+
function dimsFor(lineLen, n3, row2) {
|
|
42594
|
+
const lines2 = Math.max(1, Math.ceil(n3 / lineLen));
|
|
40151
42595
|
return row2 ? { cols: lineLen, rows: lines2 } : { cols: lines2, rows: lineLen };
|
|
40152
42596
|
}
|
|
40153
|
-
function chooseDims(node,
|
|
42597
|
+
function chooseDims(node, n3, m, box, row2) {
|
|
40154
42598
|
const fixed = node.values.get("bkPtFixedVal") ?? Number(node.alg.params.bkPtFixedVal);
|
|
40155
42599
|
if (node.alg.params.bkpt === "fixed" && Number.isFinite(fixed) && fixed > 0) {
|
|
40156
|
-
return dimsFor(Math.min(
|
|
42600
|
+
return dimsFor(Math.min(n3, Math.round(fixed)), n3, row2);
|
|
40157
42601
|
}
|
|
40158
|
-
let best = dimsFor(
|
|
42602
|
+
let best = dimsFor(n3, n3, row2);
|
|
40159
42603
|
let bestScale = -Infinity;
|
|
40160
|
-
for (let lineLen =
|
|
40161
|
-
const dims = dimsFor(lineLen,
|
|
42604
|
+
for (let lineLen = n3; lineLen >= 1; lineLen--) {
|
|
42605
|
+
const dims = dimsFor(lineLen, n3, row2);
|
|
40162
42606
|
const size = gridSize(dims, m, row2);
|
|
40163
42607
|
const scale = Math.min(box.w / Math.max(1e-9, size.w), box.h / Math.max(1e-9, size.h));
|
|
40164
42608
|
if (scale > bestScale + 1e-9) {
|
|
@@ -40168,7 +42612,7 @@ function chooseDims(node, n2, m, box, row2) {
|
|
|
40168
42612
|
}
|
|
40169
42613
|
if (node.alg.params.bkpt === "bal") {
|
|
40170
42614
|
const lines2 = row2 ? best.rows : best.cols;
|
|
40171
|
-
return dimsFor(Math.ceil(
|
|
42615
|
+
return dimsFor(Math.ceil(n3 / lines2), n3, row2);
|
|
40172
42616
|
}
|
|
40173
42617
|
return best;
|
|
40174
42618
|
}
|
|
@@ -40195,8 +42639,8 @@ function arrangeSnake(node) {
|
|
|
40195
42639
|
if (!(m.cellW > 0) || !(m.cellH > 0)) {
|
|
40196
42640
|
return;
|
|
40197
42641
|
}
|
|
40198
|
-
const
|
|
40199
|
-
const dims = ruled ? dimsFor(ruled.cols,
|
|
42642
|
+
const n3 = cells.length;
|
|
42643
|
+
const dims = ruled ? dimsFor(ruled.cols, n3, row2) : chooseDims(node, n3, m, box, row2);
|
|
40200
42644
|
const size = gridSize(dims, m, row2);
|
|
40201
42645
|
const scale = Math.min(1, box.w / size.w, box.h / size.h);
|
|
40202
42646
|
const cw = m.cellW * scale;
|
|
@@ -40212,7 +42656,7 @@ function arrangeSnake(node) {
|
|
|
40212
42656
|
const reverseAlternate = params.contDir === "revDir";
|
|
40213
42657
|
cells.forEach((cell2, i2) => {
|
|
40214
42658
|
const line4 = Math.floor(i2 / lineLen);
|
|
40215
|
-
const inLine = Math.min(lineLen,
|
|
42659
|
+
const inLine = Math.min(lineLen, n3 - line4 * lineLen);
|
|
40216
42660
|
const reversedLine = reverseAlternate && line4 % 2 === 1;
|
|
40217
42661
|
const pos = reversedLine ? lineLen - 1 - i2 % lineLen : i2 % lineLen;
|
|
40218
42662
|
const centre = params.off === "ctr" ? (lineLen - inLine) / 2 : 0;
|
|
@@ -40512,9 +42956,9 @@ function allNodes(entries) {
|
|
|
40512
42956
|
roots2.add(top);
|
|
40513
42957
|
}
|
|
40514
42958
|
const out = [];
|
|
40515
|
-
const visit = (
|
|
40516
|
-
out.push(
|
|
40517
|
-
|
|
42959
|
+
const visit = (n3) => {
|
|
42960
|
+
out.push(n3);
|
|
42961
|
+
n3.children.forEach(visit);
|
|
40518
42962
|
};
|
|
40519
42963
|
roots2.forEach(visit);
|
|
40520
42964
|
return out;
|
|
@@ -40783,7 +43227,7 @@ function isRenderable(node, presented, literalText) {
|
|
|
40783
43227
|
if (literalText && literalText.trim().length > 0) {
|
|
40784
43228
|
return true;
|
|
40785
43229
|
}
|
|
40786
|
-
return presented.some((
|
|
43230
|
+
return presented.some((n3) => (n3?.text ?? "").trim().length > 0);
|
|
40787
43231
|
}
|
|
40788
43232
|
|
|
40789
43233
|
// diagram/engine/engine-to-result.ts
|
|
@@ -40904,7 +43348,7 @@ function runEngineLayout(smartArtData, containerBounds, nodes, palette, style) {
|
|
|
40904
43348
|
if (!rawXmlText || !(widthPt > 0) || !(heightPt > 0)) {
|
|
40905
43349
|
return void 0;
|
|
40906
43350
|
}
|
|
40907
|
-
const nodeById = new Map(nodes.map((
|
|
43351
|
+
const nodeById = new Map(nodes.map((n3) => [n3.id, n3]));
|
|
40908
43352
|
const metrics = textMetricsFor(resolveFontTable(smartArtData.themeMinorFont));
|
|
40909
43353
|
const context = {
|
|
40910
43354
|
textOf: (node) => nodeTextFor(node, sourceIdsOf(node), transitionLabelOf(node), nodeById),
|
|
@@ -41447,11 +43891,11 @@ function navigateAxisHop(current, axis, nodes, childrenOf, parentOf, roots2) {
|
|
|
41447
43891
|
}
|
|
41448
43892
|
const excluded = new Set(
|
|
41449
43893
|
(axis === "follow" ? descendantsOf(node, childrenOf) : ancestorsOf(node, parentOf)).map(
|
|
41450
|
-
(
|
|
43894
|
+
(n3) => n3.id
|
|
41451
43895
|
)
|
|
41452
43896
|
);
|
|
41453
43897
|
const range2 = axis === "follow" ? nodes.slice(docIndex + 1) : nodes.slice(0, docIndex);
|
|
41454
|
-
addAll(range2.filter((
|
|
43898
|
+
addAll(range2.filter((n3) => !excluded.has(n3.id)));
|
|
41455
43899
|
break;
|
|
41456
43900
|
}
|
|
41457
43901
|
case "root": {
|
|
@@ -41483,7 +43927,7 @@ function selectRange(nodes, start, count) {
|
|
|
41483
43927
|
return nodes.slice(zeroBasedStart, zeroBasedStart + take);
|
|
41484
43928
|
}
|
|
41485
43929
|
function applyPointTypeAndRange(nodes, pointType2, start, count) {
|
|
41486
|
-
const filtered = pointType2 ? nodes.filter((
|
|
43930
|
+
const filtered = pointType2 ? nodes.filter((n3) => pointTypeMatches(n3, pointType2)) : nodes;
|
|
41487
43931
|
return selectRange(filtered, start, count);
|
|
41488
43932
|
}
|
|
41489
43933
|
function resolveAxisNodes(nodes, axis, pointTypes, start, count, context) {
|
|
@@ -41497,7 +43941,7 @@ function resolveAxisNodes(nodes, axis, pointTypes, start, count, context) {
|
|
|
41497
43941
|
if (axis[0] === "root" && axis.length > 1 && axis[1] !== "ch") {
|
|
41498
43942
|
return void 0;
|
|
41499
43943
|
}
|
|
41500
|
-
const byId = new Map(nodes.map((
|
|
43944
|
+
const byId = new Map(nodes.map((n3) => [n3.id, n3]));
|
|
41501
43945
|
const childrenOf = /* @__PURE__ */ new Map();
|
|
41502
43946
|
const parentOf = /* @__PURE__ */ new Map();
|
|
41503
43947
|
for (const node of nodes) {
|
|
@@ -41512,7 +43956,7 @@ function resolveAxisNodes(nodes, axis, pointTypes, start, count, context) {
|
|
|
41512
43956
|
}
|
|
41513
43957
|
}
|
|
41514
43958
|
}
|
|
41515
|
-
const roots2 = nodes.filter((
|
|
43959
|
+
const roots2 = nodes.filter((n3) => !n3.parentId || !byId.has(n3.parentId));
|
|
41516
43960
|
let current;
|
|
41517
43961
|
let nextHop;
|
|
41518
43962
|
if (axis[0] === "root" && axis.length > 1) {
|
|
@@ -41569,7 +44013,7 @@ function resolveAxisMaxDepth(nodes, axis, pointTypes, start, count, anchor) {
|
|
|
41569
44013
|
if (anchor.length === 0) {
|
|
41570
44014
|
return void 0;
|
|
41571
44015
|
}
|
|
41572
|
-
const byId = new Map(nodes.map((
|
|
44016
|
+
const byId = new Map(nodes.map((n3) => [n3.id, n3]));
|
|
41573
44017
|
let max = 0;
|
|
41574
44018
|
for (const anchorPoint of anchor) {
|
|
41575
44019
|
const resolved = resolveAxisNodes(nodes, axis, pointTypes, start, count, [anchorPoint]);
|
|
@@ -42750,14 +45194,14 @@ function selectArrangedNodes(node, flat, roots2) {
|
|
|
42750
45194
|
// diagram/layout/smartart-tree.ts
|
|
42751
45195
|
function buildForest(nodes) {
|
|
42752
45196
|
const map = /* @__PURE__ */ new Map();
|
|
42753
|
-
for (const
|
|
42754
|
-
map.set(
|
|
45197
|
+
for (const n3 of nodes) {
|
|
45198
|
+
map.set(n3.id, { node: n3, children: [] });
|
|
42755
45199
|
}
|
|
42756
45200
|
const roots2 = [];
|
|
42757
|
-
for (const
|
|
42758
|
-
const tn = map.get(
|
|
42759
|
-
if (
|
|
42760
|
-
map.get(
|
|
45201
|
+
for (const n3 of nodes) {
|
|
45202
|
+
const tn = map.get(n3.id);
|
|
45203
|
+
if (n3.parentId && map.has(n3.parentId)) {
|
|
45204
|
+
map.get(n3.parentId).children.push(tn);
|
|
42761
45205
|
} else {
|
|
42762
45206
|
roots2.push(tn);
|
|
42763
45207
|
}
|
|
@@ -42765,16 +45209,16 @@ function buildForest(nodes) {
|
|
|
42765
45209
|
return roots2;
|
|
42766
45210
|
}
|
|
42767
45211
|
function buildTree(nodes) {
|
|
42768
|
-
const hasNestedChildren = nodes.some((
|
|
45212
|
+
const hasNestedChildren = nodes.some((n3) => n3.children !== void 0 && n3.children.length > 0);
|
|
42769
45213
|
if (!hasNestedChildren) {
|
|
42770
45214
|
return buildForest(nodes);
|
|
42771
45215
|
}
|
|
42772
|
-
const toTreeNode = (
|
|
42773
|
-
node:
|
|
42774
|
-
children: (
|
|
45216
|
+
const toTreeNode = (n3) => ({
|
|
45217
|
+
node: n3,
|
|
45218
|
+
children: (n3.children ?? []).map(toTreeNode)
|
|
42775
45219
|
});
|
|
42776
|
-
const allIds = new Set(nodes.map((
|
|
42777
|
-
const roots2 = nodes.filter((
|
|
45220
|
+
const allIds = new Set(nodes.map((n3) => n3.id));
|
|
45221
|
+
const roots2 = nodes.filter((n3) => !n3.parentId || !allIds.has(n3.parentId));
|
|
42778
45222
|
return roots2.map(toTreeNode);
|
|
42779
45223
|
}
|
|
42780
45224
|
var MAX_TREE_DEPTH = 256;
|
|
@@ -43435,10 +45879,10 @@ function buildCycleHubBox(hubNode, ring, totalNodeCount, inputs, hubFontFit) {
|
|
|
43435
45879
|
}
|
|
43436
45880
|
|
|
43437
45881
|
// diagram/layout/smartart-layout-interpreter-cycle-connectors.ts
|
|
43438
|
-
function buildCycleRingConnectors(ring,
|
|
45882
|
+
function buildCycleRingConnectors(ring, n3, connectorCount, ringCentre, elementId) {
|
|
43439
45883
|
return Array.from({ length: connectorCount }, (_, i2) => {
|
|
43440
45884
|
const from = ring.centers[i2];
|
|
43441
|
-
const to = ring.centers[(i2 + 1) %
|
|
45885
|
+
const to = ring.centers[(i2 + 1) % n3];
|
|
43442
45886
|
const midX = (from.x + to.x) / 2;
|
|
43443
45887
|
const midY = (from.y + to.y) / 2;
|
|
43444
45888
|
const pullRadius = Math.max(ring.nodeWidth, ring.nodeHeight) / 2;
|
|
@@ -43993,9 +46437,9 @@ function resolveRingAxisOffset(dimension2, boundSize, scale, values) {
|
|
|
43993
46437
|
|
|
43994
46438
|
// diagram/layout/smartart-layout-interpreter-cycle-ring.ts
|
|
43995
46439
|
var DEG_TO_RAD4 = Math.PI / 180;
|
|
43996
|
-
function degenerateRingLayout(
|
|
46440
|
+
function degenerateRingLayout(n3, heightOverWidth, box) {
|
|
43997
46441
|
const boxCentre = { x: box.width / 2, y: box.height / 2 };
|
|
43998
|
-
if (
|
|
46442
|
+
if (n3 <= 0) {
|
|
43999
46443
|
return {
|
|
44000
46444
|
centers: [],
|
|
44001
46445
|
nodeWidth: 0,
|
|
@@ -44005,7 +46449,7 @@ function degenerateRingLayout(n2, heightOverWidth, box) {
|
|
|
44005
46449
|
hubHalfHeight: 0
|
|
44006
46450
|
};
|
|
44007
46451
|
}
|
|
44008
|
-
if (
|
|
46452
|
+
if (n3 === 1) {
|
|
44009
46453
|
const w0 = box.width;
|
|
44010
46454
|
const h0 = Math.min(box.height, box.width * Math.max(0.01, heightOverWidth));
|
|
44011
46455
|
return {
|
|
@@ -44019,8 +46463,8 @@ function degenerateRingLayout(n2, heightOverWidth, box) {
|
|
|
44019
46463
|
}
|
|
44020
46464
|
return void 0;
|
|
44021
46465
|
}
|
|
44022
|
-
function ringLayoutForGapFactor(
|
|
44023
|
-
if (
|
|
46466
|
+
function ringLayoutForGapFactor(n3, stAngDeg, spanDeg, gapFactor, heightOverWidth, box, hubGeometry, sibTransBulgeRatio, knownNodeWidthPx) {
|
|
46467
|
+
if (n3 === 1 && hubGeometry && knownNodeWidthPx !== void 0 && knownNodeWidthPx > 0) {
|
|
44024
46468
|
return nestedHubSatelliteRingLayout(
|
|
44025
46469
|
stAngDeg,
|
|
44026
46470
|
heightOverWidth,
|
|
@@ -44029,12 +46473,12 @@ function ringLayoutForGapFactor(n2, stAngDeg, spanDeg, gapFactor, heightOverWidt
|
|
|
44029
46473
|
knownNodeWidthPx
|
|
44030
46474
|
);
|
|
44031
46475
|
}
|
|
44032
|
-
const degenerate = degenerateRingLayout(
|
|
46476
|
+
const degenerate = degenerateRingLayout(n3, heightOverWidth, box);
|
|
44033
46477
|
if (degenerate) {
|
|
44034
46478
|
return degenerate;
|
|
44035
46479
|
}
|
|
44036
46480
|
const full = Math.abs(spanDeg) >= 360;
|
|
44037
|
-
const step = full ? spanDeg /
|
|
46481
|
+
const step = full ? spanDeg / n3 : spanDeg / (n3 - 1);
|
|
44038
46482
|
const halfStepRad = Math.abs(step) * DEG_TO_RAD4 / 2;
|
|
44039
46483
|
const clampedGap = Math.max(0, gapFactor);
|
|
44040
46484
|
const sinHalf = Math.sin(halfStepRad);
|
|
@@ -44044,7 +46488,7 @@ function ringLayoutForGapFactor(n2, stAngDeg, spanDeg, gapFactor, heightOverWidt
|
|
|
44044
46488
|
const r0Hub = hubHalfWidth + hubGeometry.gapRatio + 0.5;
|
|
44045
46489
|
r0 = Math.max(r0, r0Hub);
|
|
44046
46490
|
}
|
|
44047
|
-
const natural = Array.from({ length:
|
|
46491
|
+
const natural = Array.from({ length: n3 }, (_, i2) => {
|
|
44048
46492
|
const angleRad = (stAngDeg + i2 * step - 90) * DEG_TO_RAD4;
|
|
44049
46493
|
return { x: r0 * Math.cos(angleRad), y: r0 * Math.sin(angleRad) };
|
|
44050
46494
|
});
|
|
@@ -44073,10 +46517,10 @@ function ringLayoutForGapFactor(n2, stAngDeg, spanDeg, gapFactor, heightOverWidt
|
|
|
44073
46517
|
hubHalfHeight: naturalHubRadius * scaleY
|
|
44074
46518
|
};
|
|
44075
46519
|
}
|
|
44076
|
-
function computeCycleRingLayout(
|
|
44077
|
-
const nestedHubSatellite =
|
|
46520
|
+
function computeCycleRingLayout(n3, stAngDeg, spanDeg, minGapRatio, heightOverWidth, box, absoluteGapPx, hubGeometry, absoluteHubGapPx, sibTransBulgeRatio, knownNodeWidthPx) {
|
|
46521
|
+
const nestedHubSatellite = n3 === 1 && hubGeometry && knownNodeWidthPx !== void 0 && knownNodeWidthPx > 0;
|
|
44078
46522
|
if (!nestedHubSatellite) {
|
|
44079
|
-
const degenerate = degenerateRingLayout(
|
|
46523
|
+
const degenerate = degenerateRingLayout(n3, heightOverWidth, box);
|
|
44080
46524
|
if (degenerate) {
|
|
44081
46525
|
return degenerate;
|
|
44082
46526
|
}
|
|
@@ -44085,7 +46529,7 @@ function computeCycleRingLayout(n2, stAngDeg, spanDeg, minGapRatio, heightOverWi
|
|
|
44085
46529
|
const needsHubGapIteration = absoluteHubGapPx !== void 0 && absoluteHubGapPx > 0 && hubGeometry !== void 0;
|
|
44086
46530
|
if (!needsGapIteration && !needsHubGapIteration) {
|
|
44087
46531
|
return ringLayoutForGapFactor(
|
|
44088
|
-
|
|
46532
|
+
n3,
|
|
44089
46533
|
stAngDeg,
|
|
44090
46534
|
spanDeg,
|
|
44091
46535
|
minGapRatio,
|
|
@@ -44100,7 +46544,7 @@ function computeCycleRingLayout(n2, stAngDeg, spanDeg, minGapRatio, heightOverWi
|
|
|
44100
46544
|
let hub = hubGeometry;
|
|
44101
46545
|
for (let iteration = 0; iteration < 20; iteration += 1) {
|
|
44102
46546
|
const candidate = ringLayoutForGapFactor(
|
|
44103
|
-
|
|
46547
|
+
n3,
|
|
44104
46548
|
stAngDeg,
|
|
44105
46549
|
spanDeg,
|
|
44106
46550
|
gapFactor,
|
|
@@ -44122,7 +46566,7 @@ function computeCycleRingLayout(n2, stAngDeg, spanDeg, minGapRatio, heightOverWi
|
|
|
44122
46566
|
}
|
|
44123
46567
|
}
|
|
44124
46568
|
return ringLayoutForGapFactor(
|
|
44125
|
-
|
|
46569
|
+
n3,
|
|
44126
46570
|
stAngDeg,
|
|
44127
46571
|
spanDeg,
|
|
44128
46572
|
gapFactor,
|
|
@@ -44162,11 +46606,11 @@ function arrangeCycle2(plan, nodes, box, palette, style, elementId, index = EMPT
|
|
|
44162
46606
|
box,
|
|
44163
46607
|
sizeBox
|
|
44164
46608
|
);
|
|
44165
|
-
const
|
|
46609
|
+
const n3 = ringNodes.length;
|
|
44166
46610
|
const startDeg = numericParam(plan.node, "stAng", 0);
|
|
44167
46611
|
const spanDeg = numericParam(plan.node, "spanAng", 360);
|
|
44168
46612
|
const ring = computeCycleRingLayout(
|
|
44169
|
-
|
|
46613
|
+
n3,
|
|
44170
46614
|
startDeg,
|
|
44171
46615
|
spanDeg,
|
|
44172
46616
|
minGapRatio,
|
|
@@ -44179,12 +46623,12 @@ function arrangeCycle2(plan, nodes, box, palette, style, elementId, index = EMPT
|
|
|
44179
46623
|
knownNodeWidthPx
|
|
44180
46624
|
);
|
|
44181
46625
|
const full = Math.abs(spanDeg) >= 360;
|
|
44182
|
-
const connectorCount =
|
|
44183
|
-
const ringStepDeg =
|
|
46626
|
+
const connectorCount = n3 > 0 ? full ? n3 : Math.max(0, n3 - 1) : 0;
|
|
46627
|
+
const ringStepDeg = n3 > 0 ? full ? spanDeg / n3 : spanDeg / Math.max(1, n3 - 1) : 0;
|
|
44184
46628
|
const ringCentre = ring.hubCenter;
|
|
44185
46629
|
const connectors2 = buildCycleRingConnectors(
|
|
44186
46630
|
ring,
|
|
44187
|
-
|
|
46631
|
+
n3,
|
|
44188
46632
|
connectorCount,
|
|
44189
46633
|
ringCentre,
|
|
44190
46634
|
elementId
|
|
@@ -44362,12 +46806,12 @@ function buildHubRenderedNode(arranger, hubNode, box, palette, style, elementId,
|
|
|
44362
46806
|
|
|
44363
46807
|
// diagram/layout/smartart-node-tree-axis.ts
|
|
44364
46808
|
function topLevelSmartArtNodes(nodes) {
|
|
44365
|
-
const hasNestedChildren = nodes.some((
|
|
46809
|
+
const hasNestedChildren = nodes.some((n3) => n3.children !== void 0 && n3.children.length > 0);
|
|
44366
46810
|
if (hasNestedChildren) {
|
|
44367
46811
|
return nodes;
|
|
44368
46812
|
}
|
|
44369
|
-
const ids = new Set(nodes.map((
|
|
44370
|
-
return nodes.filter((
|
|
46813
|
+
const ids = new Set(nodes.map((n3) => n3.id));
|
|
46814
|
+
return nodes.filter((n3) => !n3.parentId || !ids.has(n3.parentId));
|
|
44371
46815
|
}
|
|
44372
46816
|
function smartArtDescendantsWithText(node, childrenOf) {
|
|
44373
46817
|
const out = [];
|
|
@@ -44390,15 +46834,15 @@ function smartArtDescendantsWithText(node, childrenOf) {
|
|
|
44390
46834
|
}
|
|
44391
46835
|
function smartArtChildrenOf(nodes, connections) {
|
|
44392
46836
|
const map = /* @__PURE__ */ new Map();
|
|
44393
|
-
for (const
|
|
44394
|
-
if (
|
|
44395
|
-
map.set(
|
|
44396
|
-
} else if (
|
|
44397
|
-
const list2 = map.get(
|
|
46837
|
+
for (const n3 of nodes) {
|
|
46838
|
+
if (n3.children && n3.children.length > 0) {
|
|
46839
|
+
map.set(n3.id, n3.children);
|
|
46840
|
+
} else if (n3.parentId) {
|
|
46841
|
+
const list2 = map.get(n3.parentId);
|
|
44398
46842
|
if (list2) {
|
|
44399
|
-
list2.push(
|
|
46843
|
+
list2.push(n3);
|
|
44400
46844
|
} else {
|
|
44401
|
-
map.set(
|
|
46845
|
+
map.set(n3.parentId, [n3]);
|
|
44402
46846
|
}
|
|
44403
46847
|
}
|
|
44404
46848
|
}
|
|
@@ -44522,7 +46966,7 @@ function applyCustomLayoutToNode(node, custom, box) {
|
|
|
44522
46966
|
}
|
|
44523
46967
|
}
|
|
44524
46968
|
function applyCustomLayoutOverrides(result, nodes, box) {
|
|
44525
|
-
const nodeById = new Map(nodes.map((
|
|
46969
|
+
const nodeById = new Map(nodes.map((n3) => [n3.id, n3]));
|
|
44526
46970
|
let changed = false;
|
|
44527
46971
|
const nodesOut = result.nodes.map((rendered) => {
|
|
44528
46972
|
const node = rendered.nodeId ? nodeById.get(rendered.nodeId) : void 0;
|
|
@@ -44706,8 +47150,8 @@ function resolveContentSizedExtents(texts, crossExtentPx, fontSizePx, table, lin
|
|
|
44706
47150
|
lines2 * fontSizePx * smartArtLineEm(table) * lineSpacingFactor + marginVerticalPx + 2 * cornerInsetPx
|
|
44707
47151
|
);
|
|
44708
47152
|
});
|
|
44709
|
-
const
|
|
44710
|
-
const gapTotal = Math.max(0,
|
|
47153
|
+
const n3 = natural.length;
|
|
47154
|
+
const gapTotal = Math.max(0, n3 - 1) * gap;
|
|
44711
47155
|
const total = natural.reduce((sum, extent) => sum + extent, 0) + gapTotal;
|
|
44712
47156
|
if (total <= usableMain || total - gapTotal <= 0) {
|
|
44713
47157
|
return natural;
|
|
@@ -44985,24 +47429,24 @@ function resolveMainAxisGap(index, role, mainAxisType, ceilingPx) {
|
|
|
44985
47429
|
}
|
|
44986
47430
|
return void 0;
|
|
44987
47431
|
}
|
|
44988
|
-
function resolveMainAxisLayout(constraints, index, role, mainAxisType, ceilingPx, usableMain, begPad, endPad,
|
|
47432
|
+
function resolveMainAxisLayout(constraints, index, role, mainAxisType, ceilingPx, usableMain, begPad, endPad, n3, clampRatio) {
|
|
44989
47433
|
const explicitSib = resolveRatioConstraint(constraints, index, role, ["sibSp", "sp"], Number.NaN);
|
|
44990
47434
|
if (!Number.isNaN(explicitSib)) {
|
|
44991
47435
|
const sib2 = clampRatio(explicitSib);
|
|
44992
|
-
const denom2 = begPad + endPad +
|
|
44993
|
-
const mainExtent2 =
|
|
47436
|
+
const denom2 = begPad + endPad + n3 + Math.max(0, n3 - 1) * sib2;
|
|
47437
|
+
const mainExtent2 = n3 > 0 ? usableMain / denom2 : usableMain;
|
|
44994
47438
|
return { mainExtent: mainExtent2, gap: sib2 * mainExtent2 };
|
|
44995
47439
|
}
|
|
44996
47440
|
const inferredGap = resolveMainAxisGap(index, role, mainAxisType, ceilingPx);
|
|
44997
47441
|
if (inferredGap && "absolutePx" in inferredGap) {
|
|
44998
47442
|
const gapAbs = Math.max(0, inferredGap.absolutePx);
|
|
44999
|
-
const denom2 = begPad + endPad +
|
|
45000
|
-
const mainExtent2 =
|
|
47443
|
+
const denom2 = begPad + endPad + n3;
|
|
47444
|
+
const mainExtent2 = n3 > 0 ? Math.max(0, usableMain - Math.max(0, n3 - 1) * gapAbs) / denom2 : usableMain;
|
|
45001
47445
|
return { mainExtent: mainExtent2, gap: gapAbs };
|
|
45002
47446
|
}
|
|
45003
47447
|
const sib = clampRatio(inferredGap && "relative" in inferredGap ? inferredGap.relative : 0.25);
|
|
45004
|
-
const denom = begPad + endPad +
|
|
45005
|
-
const mainExtent =
|
|
47448
|
+
const denom = begPad + endPad + n3 + Math.max(0, n3 - 1) * sib;
|
|
47449
|
+
const mainExtent = n3 > 0 ? usableMain / denom : usableMain;
|
|
45006
47450
|
return { mainExtent, gap: sib * mainExtent };
|
|
45007
47451
|
}
|
|
45008
47452
|
|
|
@@ -45049,15 +47493,15 @@ function arrangeRecursiveTable(view, plan, nodes, box, palette, style, elementId
|
|
|
45049
47493
|
const reversed = resolvedLinDir(view, plan.node, nodes.length, presLayoutVars, "fromT") === "fromB";
|
|
45050
47494
|
const rowChild = findRowChild(view, plan.node, presLayoutVars);
|
|
45051
47495
|
const colReversed = rowChild ? resolvedLinDir(view, rowChild, nodes.length, presLayoutVars, "fromL") === "fromR" : false;
|
|
45052
|
-
const byId = new Map(nodes.map((
|
|
45053
|
-
const childrenIn = (
|
|
47496
|
+
const byId = new Map(nodes.map((n3) => [n3.id, n3]));
|
|
47497
|
+
const childrenIn = (n3) => (childrenOf.get(n3.id) ?? []).filter((c2) => byId.has(c2.id));
|
|
45054
47498
|
const childIds = /* @__PURE__ */ new Set();
|
|
45055
|
-
for (const
|
|
45056
|
-
for (const c2 of childrenIn(
|
|
47499
|
+
for (const n3 of nodes) {
|
|
47500
|
+
for (const c2 of childrenIn(n3)) {
|
|
45057
47501
|
childIds.add(c2.id);
|
|
45058
47502
|
}
|
|
45059
47503
|
}
|
|
45060
|
-
const roots2 = nodes.filter((
|
|
47504
|
+
const roots2 = nodes.filter((n3) => !childIds.has(n3.id));
|
|
45061
47505
|
const depthOf2 = /* @__PURE__ */ new Map();
|
|
45062
47506
|
let maxDepth2 = 0;
|
|
45063
47507
|
const depthStack = roots2.map((r) => ({
|
|
@@ -45078,11 +47522,11 @@ function arrangeRecursiveTable(view, plan, nodes, box, palette, style, elementId
|
|
|
45078
47522
|
const rowGap = DEFAULT_GAP_RATIO2 * rowHeight;
|
|
45079
47523
|
const rowY = (depth) => (reversed ? generations - 1 - depth : depth) * (rowHeight + rowGap);
|
|
45080
47524
|
const splitAcross = (items, x, width) => {
|
|
45081
|
-
const
|
|
45082
|
-
if (
|
|
47525
|
+
const n3 = items.length;
|
|
47526
|
+
if (n3 === 0) {
|
|
45083
47527
|
return [];
|
|
45084
47528
|
}
|
|
45085
|
-
const denom =
|
|
47529
|
+
const denom = n3 + Math.max(0, n3 - 1) * DEFAULT_GAP_RATIO2;
|
|
45086
47530
|
const colWidth = width / denom;
|
|
45087
47531
|
const colGap = DEFAULT_GAP_RATIO2 * colWidth;
|
|
45088
47532
|
const ordered2 = colReversed ? [...items].reverse() : items;
|
|
@@ -45148,24 +47592,24 @@ function arrangeRecursiveTable(view, plan, nodes, box, palette, style, elementId
|
|
|
45148
47592
|
}
|
|
45149
47593
|
|
|
45150
47594
|
// diagram/layout/smartart-layout-snake-grid.ts
|
|
45151
|
-
function snakeGridDims(plan,
|
|
47595
|
+
function snakeGridDims(plan, n3, w, h2, flowDir) {
|
|
45152
47596
|
const bkpt = algorithmParam(plan.node, "bkpt");
|
|
45153
47597
|
const fixedVal = findConstraint(plan.node.constraints, "bkPtFixedVal")?.value;
|
|
45154
47598
|
if (bkpt === "fixed" && typeof fixedVal === "number" && fixedVal > 0) {
|
|
45155
|
-
const lineLength = Math.max(1, Math.min(
|
|
47599
|
+
const lineLength = Math.max(1, Math.min(n3, Math.round(fixedVal)));
|
|
45156
47600
|
if (flowDir === "col") {
|
|
45157
47601
|
const rows2 = lineLength;
|
|
45158
|
-
return { cols: Math.max(1, Math.ceil(
|
|
47602
|
+
return { cols: Math.max(1, Math.ceil(n3 / rows2)), rows: rows2 };
|
|
45159
47603
|
}
|
|
45160
47604
|
const cols2 = lineLength;
|
|
45161
|
-
return { cols: cols2, rows: Math.max(1, Math.ceil(
|
|
47605
|
+
return { cols: cols2, rows: Math.max(1, Math.ceil(n3 / cols2)) };
|
|
45162
47606
|
}
|
|
45163
47607
|
if (flowDir === "col") {
|
|
45164
|
-
const rows2 = Math.max(1, Math.round(Math.sqrt(
|
|
45165
|
-
return { cols: Math.max(1, Math.ceil(
|
|
47608
|
+
const rows2 = Math.max(1, Math.round(Math.sqrt(n3 * Math.max(0.2, h2 / Math.max(1, w)))));
|
|
47609
|
+
return { cols: Math.max(1, Math.ceil(n3 / rows2)), rows: rows2 };
|
|
45166
47610
|
}
|
|
45167
|
-
const cols = Math.max(1, Math.round(Math.sqrt(
|
|
45168
|
-
return { cols, rows: Math.max(1, Math.ceil(
|
|
47611
|
+
const cols = Math.max(1, Math.round(Math.sqrt(n3 * Math.max(0.2, w / Math.max(1, h2)))));
|
|
47612
|
+
return { cols, rows: Math.max(1, Math.ceil(n3 / cols)) };
|
|
45169
47613
|
}
|
|
45170
47614
|
function snakeCell(i2, dims, flowDir, sameDir, grDir) {
|
|
45171
47615
|
const primaryCount = flowDir === "col" ? dims.rows : dims.cols;
|
|
@@ -45189,7 +47633,7 @@ function snakeCell(i2, dims, flowDir, sameDir, grDir) {
|
|
|
45189
47633
|
function arrangeSnake2(plan, nodes, box, palette, style, elementId, index = EMPTY_CONSTRAINT_INDEX, childrenOf, fontName) {
|
|
45190
47634
|
const { width: w, height: h2 } = box;
|
|
45191
47635
|
const ctx = styleContext(style);
|
|
45192
|
-
const
|
|
47636
|
+
const n3 = nodes.length;
|
|
45193
47637
|
const sib = resolveRatioConstraint(
|
|
45194
47638
|
plan.node.constraints,
|
|
45195
47639
|
index,
|
|
@@ -45201,7 +47645,7 @@ function arrangeSnake2(plan, nodes, box, palette, style, elementId, index = EMPT
|
|
|
45201
47645
|
const grDirRaw = algorithmParam(plan.node, "grDir");
|
|
45202
47646
|
const grDir = grDirRaw === "tR" || grDirRaw === "bL" || grDirRaw === "bR" ? grDirRaw : "tL";
|
|
45203
47647
|
const sameDir = algorithmParam(plan.node, "contDir") === "sameDir";
|
|
45204
|
-
const { cols, rows: rows2 } = snakeGridDims(plan,
|
|
47648
|
+
const { cols, rows: rows2 } = snakeGridDims(plan, n3, w, h2, flowDir);
|
|
45205
47649
|
const usableW = w - INSET * 2;
|
|
45206
47650
|
const usableH = h2 - INSET * 2;
|
|
45207
47651
|
const mainCount = flowDir === "col" ? rows2 : cols;
|
|
@@ -45266,7 +47710,7 @@ function arrangeSnake2(plan, nodes, box, palette, style, elementId, index = EMPT
|
|
|
45266
47710
|
height: cellH,
|
|
45267
47711
|
node,
|
|
45268
47712
|
index: i2,
|
|
45269
|
-
total:
|
|
47713
|
+
total: n3,
|
|
45270
47714
|
palette,
|
|
45271
47715
|
style,
|
|
45272
47716
|
ctx,
|
|
@@ -45311,7 +47755,7 @@ function arrangeLinear2(view, plan, flow, nodes, box, palette, style, elementId,
|
|
|
45311
47755
|
const endPad = clampRatio(resolveRatioConstraint(constraints, index, role, ["endPad"], 0));
|
|
45312
47756
|
const aspect = itemAspect(view, plan, index, nodes.length, presLayoutVars);
|
|
45313
47757
|
const flow2 = ordered(nodes, flow);
|
|
45314
|
-
const
|
|
47758
|
+
const n3 = flow2.length;
|
|
45315
47759
|
const horizontal = flow.orientation === "horizontal";
|
|
45316
47760
|
const usableMain = (horizontal ? w : h2) - INSET * 2;
|
|
45317
47761
|
const usableCross = (horizontal ? h2 : w) - INSET * 2;
|
|
@@ -45325,7 +47769,7 @@ function arrangeLinear2(view, plan, flow, nodes, box, palette, style, elementId,
|
|
|
45325
47769
|
usableMain,
|
|
45326
47770
|
begPad,
|
|
45327
47771
|
endPad,
|
|
45328
|
-
|
|
47772
|
+
n3,
|
|
45329
47773
|
clampRatio
|
|
45330
47774
|
);
|
|
45331
47775
|
const itemTemplate = itemNode(plan.node);
|
|
@@ -45385,7 +47829,7 @@ function arrangeLinear2(view, plan, flow, nodes, box, palette, style, elementId,
|
|
|
45385
47829
|
height: horizontal ? itemH : itemMainExtent,
|
|
45386
47830
|
node,
|
|
45387
47831
|
index: i2,
|
|
45388
|
-
total:
|
|
47832
|
+
total: n3,
|
|
45389
47833
|
palette,
|
|
45390
47834
|
style,
|
|
45391
47835
|
ctx,
|
|
@@ -45893,7 +48337,7 @@ function resolveIterationRect(dims, box, iteration, iterationCount) {
|
|
|
45893
48337
|
|
|
45894
48338
|
// diagram/layout/smartart-layout-interpreter-composite-group-slots.ts
|
|
45895
48339
|
function contentSignature(content2) {
|
|
45896
|
-
return content2.map((
|
|
48340
|
+
return content2.map((n3) => n3.id).sort().join(" ");
|
|
45897
48341
|
}
|
|
45898
48342
|
function resolveGroupedSlots(candidates, box, index) {
|
|
45899
48343
|
const groups = /* @__PURE__ */ new Map();
|
|
@@ -46047,18 +48491,18 @@ function renderForEachBoundSlots(slots, flat, box, absX, absY, childrenOf, ctx,
|
|
|
46047
48491
|
// diagram/hierarchy/smartart-hierarchy-pitch.ts
|
|
46048
48492
|
var GENERATION_MARGIN_RATIO = 0.1675;
|
|
46049
48493
|
function computeAxisPitch(dimension2, margin, itemSize, count, fixedGapRatio) {
|
|
46050
|
-
const
|
|
46051
|
-
const gap =
|
|
48494
|
+
const n3 = Math.max(1, count);
|
|
48495
|
+
const gap = n3 <= 1 ? 0 : fixedGapRatio !== void 0 ? itemSize * Math.max(0, fixedGapRatio) : Math.max(0, (dimension2 - margin - n3 * itemSize) / (n3 - 1));
|
|
46052
48496
|
const pitch = itemSize + gap;
|
|
46053
|
-
const centeredShift = (dimension2 -
|
|
46054
|
-
const maxShift = dimension2 -
|
|
48497
|
+
const centeredShift = (dimension2 - n3 * pitch + margin) / 2;
|
|
48498
|
+
const maxShift = dimension2 - n3 * itemSize - gap * (n3 - 0.5);
|
|
46055
48499
|
return { pitch, shift: Math.min(centeredShift, maxShift) };
|
|
46056
48500
|
}
|
|
46057
48501
|
function centeredAxisPitch(dimension2, itemSize, gapRatio, count) {
|
|
46058
|
-
const
|
|
46059
|
-
const gap =
|
|
48502
|
+
const n3 = Math.max(1, count);
|
|
48503
|
+
const gap = n3 > 1 ? itemSize * Math.max(0, gapRatio) : 0;
|
|
46060
48504
|
const pitch = itemSize + gap;
|
|
46061
|
-
const span =
|
|
48505
|
+
const span = n3 * itemSize + Math.max(0, n3 - 1) * gap;
|
|
46062
48506
|
const shift = (dimension2 - span) / 2;
|
|
46063
48507
|
return { pitch, shift };
|
|
46064
48508
|
}
|
|
@@ -46593,7 +49037,7 @@ function findNamedNode(node, name2) {
|
|
|
46593
49037
|
function arrangePyramid(plan, nodes, box, palette, style, elementId, index = EMPTY_CONSTRAINT_INDEX, childrenOf, fontName) {
|
|
46594
49038
|
const { width: w, height: h2 } = box;
|
|
46595
49039
|
const ctx = styleContext(style);
|
|
46596
|
-
const
|
|
49040
|
+
const n3 = nodes.length;
|
|
46597
49041
|
const bandW = w - DEFAULT_INSET * 2;
|
|
46598
49042
|
const bandCx = DEFAULT_INSET + bandW / 2;
|
|
46599
49043
|
const gapRatio = resolveRatioConstraint(
|
|
@@ -46604,7 +49048,7 @@ function arrangePyramid(plan, nodes, box, palette, style, elementId, index = EMP
|
|
|
46604
49048
|
DEFAULT_GAP_RATIO3
|
|
46605
49049
|
);
|
|
46606
49050
|
const usableH = h2 - DEFAULT_INSET * 2;
|
|
46607
|
-
const bandH =
|
|
49051
|
+
const bandH = n3 > 0 ? usableH / (n3 + Math.max(0, n3 - 1) * gapRatio) : usableH;
|
|
46608
49052
|
const gap = gapRatio * bandH;
|
|
46609
49053
|
const lvlNodeName = algorithmParam(plan.node, "pyraLvlNode");
|
|
46610
49054
|
const lvlNode = lvlNodeName ? findNamedNode(plan.node, lvlNodeName) : void 0;
|
|
@@ -46618,9 +49062,9 @@ function arrangePyramid(plan, nodes, box, palette, style, elementId, index = EMP
|
|
|
46618
49062
|
const halfBandH = (slotBot - slotTop) * lvlHeightRatio / 2;
|
|
46619
49063
|
const yTop = slotMidY - halfBandH;
|
|
46620
49064
|
const yBot = slotMidY + halfBandH;
|
|
46621
|
-
const effectiveI = inverted ?
|
|
46622
|
-
const fTop = effectiveI /
|
|
46623
|
-
const fBot = (effectiveI + 1) /
|
|
49065
|
+
const effectiveI = inverted ? n3 - 1 - i2 : i2;
|
|
49066
|
+
const fTop = effectiveI / n3;
|
|
49067
|
+
const fBot = (effectiveI + 1) / n3;
|
|
46624
49068
|
const halfTop = bandW * fTop / 2 * lvlWidthRatio;
|
|
46625
49069
|
const halfBot = bandW * fBot / 2 * lvlWidthRatio;
|
|
46626
49070
|
return { node, yTop, yBot, halfTop, halfBot };
|
|
@@ -46657,7 +49101,7 @@ function arrangePyramid(plan, nodes, box, palette, style, elementId, index = EMP
|
|
|
46657
49101
|
fontHeight: bandH,
|
|
46658
49102
|
node,
|
|
46659
49103
|
index: i2,
|
|
46660
|
-
total:
|
|
49104
|
+
total: n3,
|
|
46661
49105
|
palette,
|
|
46662
49106
|
style,
|
|
46663
49107
|
ctx,
|
|
@@ -46807,7 +49251,7 @@ function resolveHierarchyItemNode(algorithmNode) {
|
|
|
46807
49251
|
return first2;
|
|
46808
49252
|
}
|
|
46809
49253
|
const allNames = new Set(
|
|
46810
|
-
candidates.map((c2) => c2.name).filter((
|
|
49254
|
+
candidates.map((c2) => c2.name).filter((n3) => n3 !== void 0)
|
|
46811
49255
|
);
|
|
46812
49256
|
const constraints = algorithmNode.allConstraints ?? algorithmNode.constraints ?? [];
|
|
46813
49257
|
for (const candidate of candidates) {
|
|
@@ -47961,11 +50405,11 @@ function transposeResult(result, realWidth, realHeight) {
|
|
|
47961
50405
|
// diagram/hierarchy/smartart-hierarchy-fit-item-box.ts
|
|
47962
50406
|
var ALL_CHILDREN_HANG_EXTRA_RATIO = 0.6587;
|
|
47963
50407
|
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) {
|
|
47964
|
-
const
|
|
50408
|
+
const n3 = Math.max(1, columns);
|
|
47965
50409
|
const usableW = box.width - 2 * box.width * marginXRatio;
|
|
47966
50410
|
const allHangExtra = allChildrenHang ? ALL_CHILDREN_HANG_EXTRA_RATIO : 0;
|
|
47967
|
-
const hangColumnFraction =
|
|
47968
|
-
const widthFit = usableW / (
|
|
50411
|
+
const hangColumnFraction = n3 > 0 ? Math.min(1, Math.max(0, hangingColumns) / n3) : 0;
|
|
50412
|
+
const widthFit = usableW / (n3 + Math.max(0, n3 - 1) * sibSpRatio + maxHangDepth * HIER_TAIL_OFFSET_RATIO * hangColumnFraction + allHangExtra);
|
|
47969
50413
|
const generations = Math.max(1, levels);
|
|
47970
50414
|
const usableH = box.height - 2 * box.height * marginYRatio;
|
|
47971
50415
|
const heightFit = usableH / (generations + maxHangRows + Math.max(0, generations - 1) * generationGapRatio + maxHangRows * hangHeightRatio);
|
|
@@ -49061,17 +51505,17 @@ function resolvePyraAcctRatio(planNode, index) {
|
|
|
49061
51505
|
const constraints = planNode.allConstraints ?? planNode.constraints;
|
|
49062
51506
|
return resolveRatioConstraint(constraints, index, roleOf(planNode), ["pyraAcctRatio"], 0);
|
|
49063
51507
|
}
|
|
49064
|
-
function pyramidRowGeometry(i2,
|
|
51508
|
+
function pyramidRowGeometry(i2, n3, box, gapRatio, inverted) {
|
|
49065
51509
|
const bandW = box.width - DEFAULT_INSET * 2;
|
|
49066
51510
|
const bandCx = DEFAULT_INSET + bandW / 2;
|
|
49067
51511
|
const usableH = box.height - DEFAULT_INSET * 2;
|
|
49068
|
-
const bandH =
|
|
51512
|
+
const bandH = n3 > 0 ? usableH / (n3 + Math.max(0, n3 - 1) * gapRatio) : usableH;
|
|
49069
51513
|
const gap = gapRatio * bandH;
|
|
49070
51514
|
const slotTop = DEFAULT_INSET + i2 * (bandH + gap);
|
|
49071
51515
|
const slotBot = slotTop + bandH;
|
|
49072
|
-
const effectiveI = inverted ?
|
|
49073
|
-
const fTop = effectiveI /
|
|
49074
|
-
const fBot = (effectiveI + 1) /
|
|
51516
|
+
const effectiveI = inverted ? n3 - 1 - i2 : i2;
|
|
51517
|
+
const fTop = effectiveI / n3;
|
|
51518
|
+
const fBot = (effectiveI + 1) / n3;
|
|
49075
51519
|
const halfTop = bandW * fTop / 2;
|
|
49076
51520
|
const halfBot = bandW * fBot / 2;
|
|
49077
51521
|
return {
|
|
@@ -49089,7 +51533,7 @@ function repositionPyramidBands(result, box, planNode, topLevelIds, flatNodes, h
|
|
|
49089
51533
|
return result;
|
|
49090
51534
|
}
|
|
49091
51535
|
const scale = 1 - pyraAcctRatio;
|
|
49092
|
-
const
|
|
51536
|
+
const n3 = topLevelIds.length;
|
|
49093
51537
|
const rowIndexById = new Map(topLevelIds.map((id, i2) => [id, i2]));
|
|
49094
51538
|
const parentIdById = new Map(flatNodes.map((node) => [node.id, node.parentId]));
|
|
49095
51539
|
const gapRatio = resolveRatioConstraint(
|
|
@@ -49113,7 +51557,7 @@ function repositionPyramidBands(result, box, planNode, topLevelIds, flatNodes, h
|
|
|
49113
51557
|
if (rowIndex === void 0) {
|
|
49114
51558
|
return rendered;
|
|
49115
51559
|
}
|
|
49116
|
-
const row2 = pyramidRowGeometry(rowIndex,
|
|
51560
|
+
const row2 = pyramidRowGeometry(rowIndex, n3, box, gapRatio, inverted);
|
|
49117
51561
|
const scaledLeftTop = scale * row2.leftTop;
|
|
49118
51562
|
const scaledRightTop = scale * row2.rightTop;
|
|
49119
51563
|
const scaledLeftBot = scale * row2.leftBot;
|
|
@@ -49231,12 +51675,12 @@ function runArrangement(view, input) {
|
|
|
49231
51675
|
input.connections,
|
|
49232
51676
|
presLayoutVars
|
|
49233
51677
|
) : withNamedRule;
|
|
49234
|
-
const hasAccentSomewhere = arranged.some((node) => flat.some((
|
|
51678
|
+
const hasAccentSomewhere = arranged.some((node) => flat.some((n3) => n3.parentId === node.id));
|
|
49235
51679
|
const withPyramidBands = plan.kind === "pyramid" ? repositionPyramidBands(
|
|
49236
51680
|
withItemRoles,
|
|
49237
51681
|
box,
|
|
49238
51682
|
plan.node,
|
|
49239
|
-
arranged.map((
|
|
51683
|
+
arranged.map((n3) => n3.id),
|
|
49240
51684
|
flat,
|
|
49241
51685
|
hasAccentSomewhere,
|
|
49242
51686
|
constraintIndex
|
|
@@ -49656,12 +52100,12 @@ function findDiagramShapeIndex(shapes2, nodes, nodeId) {
|
|
|
49656
52100
|
}
|
|
49657
52101
|
}
|
|
49658
52102
|
if (shapes2.length === nodes.length) {
|
|
49659
|
-
const nodeIdx = nodes.findIndex((
|
|
52103
|
+
const nodeIdx = nodes.findIndex((n3) => n3.id === nodeId);
|
|
49660
52104
|
if (nodeIdx >= 0) {
|
|
49661
52105
|
return nodeIdx;
|
|
49662
52106
|
}
|
|
49663
52107
|
}
|
|
49664
|
-
const node = nodes.find((
|
|
52108
|
+
const node = nodes.find((n3) => n3.id === nodeId);
|
|
49665
52109
|
if (node?.text) {
|
|
49666
52110
|
const text3 = node.text.trim();
|
|
49667
52111
|
const matches2 = [];
|
|
@@ -49709,7 +52153,7 @@ function createOfficeGuid() {
|
|
|
49709
52153
|
// diagram/edit/node-ops.ts
|
|
49710
52154
|
var diagramModelId = (options2) => (options2?.createModelId ?? createOfficeGuid)();
|
|
49711
52155
|
function findDiagramRootParentId(nodes) {
|
|
49712
|
-
const nodeIds = new Set(nodes.map((
|
|
52156
|
+
const nodeIds = new Set(nodes.map((n3) => n3.id));
|
|
49713
52157
|
for (const node of nodes) {
|
|
49714
52158
|
if (node.parentId && !nodeIds.has(node.parentId)) {
|
|
49715
52159
|
return node.parentId;
|
|
@@ -49746,13 +52190,13 @@ function insertSibling(data, text3, siblingId, offset, options2) {
|
|
|
49746
52190
|
const newId = diagramModelId(options2);
|
|
49747
52191
|
let parentId;
|
|
49748
52192
|
if (siblingId) {
|
|
49749
|
-
const sibling = data.nodes.find((
|
|
52193
|
+
const sibling = data.nodes.find((n3) => n3.id === siblingId);
|
|
49750
52194
|
parentId = sibling?.parentId;
|
|
49751
52195
|
}
|
|
49752
52196
|
parentId ??= findDiagramRootParentId(data.nodes);
|
|
49753
52197
|
const newNode = { id: newId, text: text3, parentId };
|
|
49754
52198
|
const nodes = [...data.nodes];
|
|
49755
|
-
const siblingIndex = siblingId ? nodes.findIndex((
|
|
52199
|
+
const siblingIndex = siblingId ? nodes.findIndex((n3) => n3.id === siblingId) : -1;
|
|
49756
52200
|
if (siblingIndex >= 0) {
|
|
49757
52201
|
nodes.splice(siblingIndex + offset, 0, newNode);
|
|
49758
52202
|
} else {
|
|
@@ -49777,7 +52221,7 @@ function addDiagramNodeBelow(data, parentId, text3, options2) {
|
|
|
49777
52221
|
return withEditedStructure(data, nodes, connections);
|
|
49778
52222
|
}
|
|
49779
52223
|
function addDiagramNodeAbove(data, nodeId, text3, options2) {
|
|
49780
|
-
const target = data.nodes.find((
|
|
52224
|
+
const target = data.nodes.find((n3) => n3.id === nodeId);
|
|
49781
52225
|
if (!target) {
|
|
49782
52226
|
return data;
|
|
49783
52227
|
}
|
|
@@ -49804,13 +52248,13 @@ function addDiagramNodeAbove(data, nodeId, text3, options2) {
|
|
|
49804
52248
|
return withEditedStructure(data, nodes, connections);
|
|
49805
52249
|
}
|
|
49806
52250
|
function removeDiagramNode(data, nodeId) {
|
|
49807
|
-
const removedNode = data.nodes.find((
|
|
49808
|
-
const childIds = data.nodes.filter((
|
|
49809
|
-
const nodes = data.nodes.filter((
|
|
49810
|
-
if (
|
|
49811
|
-
return { ...
|
|
52251
|
+
const removedNode = data.nodes.find((n3) => n3.id === nodeId);
|
|
52252
|
+
const childIds = data.nodes.filter((n3) => n3.parentId === nodeId).map((n3) => n3.id);
|
|
52253
|
+
const nodes = data.nodes.filter((n3) => n3.id !== nodeId).map((n3) => {
|
|
52254
|
+
if (n3.parentId === nodeId) {
|
|
52255
|
+
return { ...n3, parentId: removedNode?.parentId };
|
|
49812
52256
|
}
|
|
49813
|
-
return { ...
|
|
52257
|
+
return { ...n3 };
|
|
49814
52258
|
});
|
|
49815
52259
|
const connections = (data.connections ?? []).filter((c2) => c2.sourceId !== nodeId && c2.destId !== nodeId).map((c2) => ({ ...c2 }));
|
|
49816
52260
|
const grandParentId = removedNode?.parentId;
|
|
@@ -49822,7 +52266,7 @@ function removeDiagramNode(data, nodeId) {
|
|
|
49822
52266
|
return withEditedStructure(data, nodes, connections);
|
|
49823
52267
|
}
|
|
49824
52268
|
function setDiagramNodeText(data, nodeId, newText) {
|
|
49825
|
-
const nodes = data.nodes.map((
|
|
52269
|
+
const nodes = data.nodes.map((n3) => n3.id === nodeId ? { ...n3, text: newText } : n3);
|
|
49826
52270
|
return {
|
|
49827
52271
|
...data,
|
|
49828
52272
|
nodes,
|
|
@@ -49836,12 +52280,12 @@ function setDiagramNodeText(data, nodeId, newText) {
|
|
|
49836
52280
|
|
|
49837
52281
|
// diagram/edit/node-order.ts
|
|
49838
52282
|
function moveDiagramNode(data, nodeId, direction) {
|
|
49839
|
-
const node = data.nodes.find((
|
|
52283
|
+
const node = data.nodes.find((n3) => n3.id === nodeId);
|
|
49840
52284
|
if (!node) {
|
|
49841
52285
|
return data;
|
|
49842
52286
|
}
|
|
49843
|
-
const siblings = data.nodes.filter((
|
|
49844
|
-
const currentIndex = siblings.findIndex((
|
|
52287
|
+
const siblings = data.nodes.filter((n3) => n3.parentId === node.parentId);
|
|
52288
|
+
const currentIndex = siblings.findIndex((n3) => n3.id === nodeId);
|
|
49845
52289
|
const targetIndex = currentIndex + direction;
|
|
49846
52290
|
const current = siblings[currentIndex];
|
|
49847
52291
|
const target = siblings[targetIndex];
|
|
@@ -49849,8 +52293,8 @@ function moveDiagramNode(data, nodeId, direction) {
|
|
|
49849
52293
|
return data;
|
|
49850
52294
|
}
|
|
49851
52295
|
const nodes = [...data.nodes];
|
|
49852
|
-
const currentGlobalIndex = nodes.findIndex((
|
|
49853
|
-
const targetGlobalIndex = nodes.findIndex((
|
|
52296
|
+
const currentGlobalIndex = nodes.findIndex((n3) => n3.id === current.id);
|
|
52297
|
+
const targetGlobalIndex = nodes.findIndex((n3) => n3.id === target.id);
|
|
49854
52298
|
if (currentGlobalIndex >= 0 && targetGlobalIndex >= 0) {
|
|
49855
52299
|
nodes[currentGlobalIndex] = target;
|
|
49856
52300
|
nodes[targetGlobalIndex] = current;
|
|
@@ -49858,12 +52302,12 @@ function moveDiagramNode(data, nodeId, direction) {
|
|
|
49858
52302
|
return withEditedStructure(data, nodes);
|
|
49859
52303
|
}
|
|
49860
52304
|
function moveDiagramNodeToIndex(data, nodeId, newIndex) {
|
|
49861
|
-
const node = data.nodes.find((
|
|
52305
|
+
const node = data.nodes.find((n3) => n3.id === nodeId);
|
|
49862
52306
|
if (!node) {
|
|
49863
52307
|
return data;
|
|
49864
52308
|
}
|
|
49865
|
-
const siblings = data.nodes.filter((
|
|
49866
|
-
const currentIndex = siblings.findIndex((
|
|
52309
|
+
const siblings = data.nodes.filter((n3) => n3.parentId === node.parentId);
|
|
52310
|
+
const currentIndex = siblings.findIndex((n3) => n3.id === nodeId);
|
|
49867
52311
|
if (currentIndex < 0) {
|
|
49868
52312
|
return data;
|
|
49869
52313
|
}
|
|
@@ -49877,21 +52321,21 @@ function moveDiagramNodeToIndex(data, nodeId, newIndex) {
|
|
|
49877
52321
|
const siblingIds = new Set(siblings.map((s2) => s2.id));
|
|
49878
52322
|
const nodes = [];
|
|
49879
52323
|
let sibIdx = 0;
|
|
49880
|
-
for (const
|
|
49881
|
-
nodes.push(siblingIds.has(
|
|
52324
|
+
for (const n3 of data.nodes) {
|
|
52325
|
+
nodes.push(siblingIds.has(n3.id) ? reorderedSiblings[sibIdx++] ?? n3 : n3);
|
|
49882
52326
|
}
|
|
49883
52327
|
return withEditedStructure(data, nodes);
|
|
49884
52328
|
}
|
|
49885
52329
|
function promoteDiagramNode(data, nodeId) {
|
|
49886
|
-
const node = data.nodes.find((
|
|
52330
|
+
const node = data.nodes.find((n3) => n3.id === nodeId);
|
|
49887
52331
|
if (!node || !node.parentId) {
|
|
49888
52332
|
return data;
|
|
49889
52333
|
}
|
|
49890
|
-
const parent = data.nodes.find((
|
|
52334
|
+
const parent = data.nodes.find((n3) => n3.id === node.parentId);
|
|
49891
52335
|
if (!parent) {
|
|
49892
52336
|
return data;
|
|
49893
52337
|
}
|
|
49894
|
-
const nodes = data.nodes.map((
|
|
52338
|
+
const nodes = data.nodes.map((n3) => n3.id === nodeId ? { ...n3, parentId: parent.parentId } : n3);
|
|
49895
52339
|
const connections = (data.connections ?? []).filter((c2) => !(c2.sourceId === node.parentId && c2.destId === nodeId)).map((c2) => ({ ...c2 }));
|
|
49896
52340
|
if (parent.parentId) {
|
|
49897
52341
|
connections.push({
|
|
@@ -49905,18 +52349,18 @@ function promoteDiagramNode(data, nodeId) {
|
|
|
49905
52349
|
return withEditedStructure(data, nodes, connections);
|
|
49906
52350
|
}
|
|
49907
52351
|
function demoteDiagramNode(data, nodeId) {
|
|
49908
|
-
const node = data.nodes.find((
|
|
52352
|
+
const node = data.nodes.find((n3) => n3.id === nodeId);
|
|
49909
52353
|
if (!node) {
|
|
49910
52354
|
return data;
|
|
49911
52355
|
}
|
|
49912
|
-
const siblings = data.nodes.filter((
|
|
49913
|
-
const currentIndex = siblings.findIndex((
|
|
52356
|
+
const siblings = data.nodes.filter((n3) => n3.parentId === node.parentId);
|
|
52357
|
+
const currentIndex = siblings.findIndex((n3) => n3.id === nodeId);
|
|
49914
52358
|
const previous = currentIndex > 0 ? siblings[currentIndex - 1] : void 0;
|
|
49915
52359
|
if (!previous) {
|
|
49916
52360
|
return data;
|
|
49917
52361
|
}
|
|
49918
52362
|
const newParentId = previous.id;
|
|
49919
|
-
const nodes = data.nodes.map((
|
|
52363
|
+
const nodes = data.nodes.map((n3) => n3.id === nodeId ? { ...n3, parentId: newParentId } : n3);
|
|
49920
52364
|
const connections = (data.connections ?? []).filter((c2) => !(c2.sourceId === node.parentId && c2.destId === nodeId)).map((c2) => ({ ...c2 }));
|
|
49921
52365
|
connections.push({
|
|
49922
52366
|
sourceId: newParentId,
|
|
@@ -50440,7 +52884,7 @@ function resolveDiagramReflowCategory(layoutType) {
|
|
|
50440
52884
|
|
|
50441
52885
|
// diagram/edit/reflow.ts
|
|
50442
52886
|
function diagramContentNodes(nodes) {
|
|
50443
|
-
return nodes.filter((
|
|
52887
|
+
return nodes.filter((n3) => n3.text.length > 0);
|
|
50444
52888
|
}
|
|
50445
52889
|
function reflowDiagramLayout(data, bounds2) {
|
|
50446
52890
|
const nodes = diagramContentNodes(data.nodes);
|
|
@@ -51572,7 +54016,7 @@ var IV = [
|
|
|
51572
54016
|
1541459225
|
|
51573
54017
|
];
|
|
51574
54018
|
var W = new Uint32Array(64);
|
|
51575
|
-
var rotr = (x,
|
|
54019
|
+
var rotr = (x, n3) => x >>> n3 | x << 32 - n3;
|
|
51576
54020
|
function compress(h2, view, offset) {
|
|
51577
54021
|
for (let i2 = 0; i2 < 16; i2++) W[i2] = view.getUint32(offset + i2 * 4);
|
|
51578
54022
|
for (let i2 = 16; i2 < 64; i2++) {
|
|
@@ -52635,7 +55079,7 @@ var PartPatch = class {
|
|
|
52635
55079
|
if (known !== void 0) return known;
|
|
52636
55080
|
const taken = new Set(this.prefixes.values());
|
|
52637
55081
|
let prefix = preferred;
|
|
52638
|
-
for (let
|
|
55082
|
+
for (let n3 = 1; taken.has(prefix); n3++) prefix = `${preferred}${n3}`;
|
|
52639
55083
|
this.prefixes.set(ns, prefix);
|
|
52640
55084
|
const at2 = this.root.openEnd - (this.root.selfClosing ? 2 : 1);
|
|
52641
55085
|
this.add(at2, at2, ` xmlns:${prefix}="${ns}"`);
|
|
@@ -55061,10 +57505,10 @@ function encodeBase64(bytes) {
|
|
|
55061
57505
|
const a2 = bytes[i2];
|
|
55062
57506
|
const b = bytes[i2 + 1];
|
|
55063
57507
|
const c2 = bytes[i2 + 2];
|
|
55064
|
-
const
|
|
55065
|
-
out += ALPHABET2[
|
|
55066
|
-
out += b === void 0 ? "=" : ALPHABET2[
|
|
55067
|
-
out += c2 === void 0 ? "=" : ALPHABET2[
|
|
57508
|
+
const n3 = a2 << 16 | (b ?? 0) << 8 | (c2 ?? 0);
|
|
57509
|
+
out += ALPHABET2[n3 >> 18] + ALPHABET2[n3 >> 12 & 63];
|
|
57510
|
+
out += b === void 0 ? "=" : ALPHABET2[n3 >> 6 & 63];
|
|
57511
|
+
out += c2 === void 0 ? "=" : ALPHABET2[n3 & 63];
|
|
55068
57512
|
}
|
|
55069
57513
|
return out;
|
|
55070
57514
|
}
|
|
@@ -55386,8 +57830,8 @@ function md2(message) {
|
|
|
55386
57830
|
}
|
|
55387
57831
|
|
|
55388
57832
|
// digest/bit-ops.ts
|
|
55389
|
-
function rotl32(x,
|
|
55390
|
-
return (x <<
|
|
57833
|
+
function rotl32(x, n3) {
|
|
57834
|
+
return (x << n3 | x >>> 32 - n3) >>> 0;
|
|
55391
57835
|
}
|
|
55392
57836
|
function add32(...values) {
|
|
55393
57837
|
let sum = 0;
|
|
@@ -55932,7 +58376,7 @@ function ripemd160(message) {
|
|
|
55932
58376
|
|
|
55933
58377
|
// digest/sha1.ts
|
|
55934
58378
|
var W2 = new Uint32Array(80);
|
|
55935
|
-
var rotl = (x,
|
|
58379
|
+
var rotl = (x, n3) => x << n3 | x >>> 32 - n3;
|
|
55936
58380
|
function compress2(h2, view, offset) {
|
|
55937
58381
|
for (let i2 = 0; i2 < 16; i2++) W2[i2] = view.getUint32(offset + i2 * 4);
|
|
55938
58382
|
for (let i2 = 16; i2 < 80; i2++) W2[i2] = rotl(W2[i2 - 3] ^ W2[i2 - 8] ^ W2[i2 - 14] ^ W2[i2 - 16], 1);
|
|
@@ -57568,11 +60012,11 @@ function getCalloutViewBoxBounds(width, height, geometry, padding = 2) {
|
|
|
57568
60012
|
}
|
|
57569
60013
|
|
|
57570
60014
|
// geometry/cloud-bezier-paths.ts
|
|
57571
|
-
function fmt(
|
|
57572
|
-
if (!Number.isFinite(
|
|
60015
|
+
function fmt(n3) {
|
|
60016
|
+
if (!Number.isFinite(n3)) {
|
|
57573
60017
|
return "0";
|
|
57574
60018
|
}
|
|
57575
|
-
const rounded = Math.round(
|
|
60019
|
+
const rounded = Math.round(n3 * 100) / 100;
|
|
57576
60020
|
if (Object.is(rounded, -0)) {
|
|
57577
60021
|
return "0";
|
|
57578
60022
|
}
|
|
@@ -57988,8 +60432,8 @@ function aStarOrthogonal(nodes, start, end, inflated) {
|
|
|
57988
60432
|
fScore.set(startKey, heuristic(start, end));
|
|
57989
60433
|
const openSet = /* @__PURE__ */ new Set([startKey]);
|
|
57990
60434
|
const nodeMap = /* @__PURE__ */ new Map();
|
|
57991
|
-
for (const
|
|
57992
|
-
nodeMap.set(pointKey(
|
|
60435
|
+
for (const n3 of nodes) {
|
|
60436
|
+
nodeMap.set(pointKey(n3), n3);
|
|
57993
60437
|
}
|
|
57994
60438
|
const getLowest = () => {
|
|
57995
60439
|
let best;
|
|
@@ -58834,7 +61278,7 @@ var MISC_ARROW_CONNECTION_SITES = {
|
|
|
58834
61278
|
gd16("dy2", "+- yE 0 t"),
|
|
58835
61279
|
gd16("dy22", "*/ dy2 1 2"),
|
|
58836
61280
|
gd16("dy3", "*/ h 1 20"),
|
|
58837
|
-
gd16("yD", "+-
|
|
61281
|
+
gd16("yD", "+- dy22 0 dy3")
|
|
58838
61282
|
],
|
|
58839
61283
|
sites: [
|
|
58840
61284
|
cxn("cd4", "l", "b"),
|
|
@@ -62192,8 +64636,8 @@ function cross2(o, a2, b) {
|
|
|
62192
64636
|
}
|
|
62193
64637
|
function signedArea2(poly) {
|
|
62194
64638
|
let area = 0;
|
|
62195
|
-
for (let i2 = 0,
|
|
62196
|
-
const j = (i2 + 1) %
|
|
64639
|
+
for (let i2 = 0, n3 = poly.length; i2 < n3; i2++) {
|
|
64640
|
+
const j = (i2 + 1) % n3;
|
|
62197
64641
|
area += at(poly, i2).x * at(poly, j).y;
|
|
62198
64642
|
area -= at(poly, j).x * at(poly, i2).y;
|
|
62199
64643
|
}
|
|
@@ -62223,8 +64667,8 @@ function dedupPoly(poly) {
|
|
|
62223
64667
|
}
|
|
62224
64668
|
return result;
|
|
62225
64669
|
}
|
|
62226
|
-
function fmtNum(
|
|
62227
|
-
const rounded = Math.round(
|
|
64670
|
+
function fmtNum(n3) {
|
|
64671
|
+
const rounded = Math.round(n3 * 1e4) / 1e4;
|
|
62228
64672
|
return String(rounded);
|
|
62229
64673
|
}
|
|
62230
64674
|
function pointInTriangle(p2, a2, b, c2) {
|
|
@@ -62237,8 +64681,8 @@ function pointInTriangle(p2, a2, b, c2) {
|
|
|
62237
64681
|
}
|
|
62238
64682
|
function pointInPolygon(pt2, poly) {
|
|
62239
64683
|
let inside = false;
|
|
62240
|
-
const
|
|
62241
|
-
for (let i2 = 0, j =
|
|
64684
|
+
const n3 = poly.length;
|
|
64685
|
+
for (let i2 = 0, j = n3 - 1; i2 < n3; j = i2++) {
|
|
62242
64686
|
const xi = at(poly, i2).x, yi = at(poly, i2).y;
|
|
62243
64687
|
const xj = at(poly, j).x, yj = at(poly, j).y;
|
|
62244
64688
|
if (yi > pt2.y !== yj > pt2.y && pt2.x < (xj - xi) * (pt2.y - yi) / (yj - yi) + xi) {
|
|
@@ -62294,15 +64738,15 @@ function sutherlandHodgman(subject, clip) {
|
|
|
62294
64738
|
return output;
|
|
62295
64739
|
}
|
|
62296
64740
|
function isConvex(poly) {
|
|
62297
|
-
const
|
|
62298
|
-
if (
|
|
64741
|
+
const n3 = poly.length;
|
|
64742
|
+
if (n3 < 3) {
|
|
62299
64743
|
return false;
|
|
62300
64744
|
}
|
|
62301
64745
|
let sign = 0;
|
|
62302
|
-
for (let i2 = 0; i2 <
|
|
64746
|
+
for (let i2 = 0; i2 < n3; i2++) {
|
|
62303
64747
|
const o = at(poly, i2);
|
|
62304
|
-
const a2 = at(poly, (i2 + 1) %
|
|
62305
|
-
const b = at(poly, (i2 + 2) %
|
|
64748
|
+
const a2 = at(poly, (i2 + 1) % n3);
|
|
64749
|
+
const b = at(poly, (i2 + 2) % n3);
|
|
62306
64750
|
const c2 = cross2(o, a2, b);
|
|
62307
64751
|
if (Math.abs(c2) < EPSILON) {
|
|
62308
64752
|
continue;
|
|
@@ -62323,17 +64767,17 @@ function triangulate(poly) {
|
|
|
62323
64767
|
while (remaining.length > 3 && maxIterations > 0) {
|
|
62324
64768
|
maxIterations--;
|
|
62325
64769
|
let earFound = false;
|
|
62326
|
-
const
|
|
62327
|
-
for (let i2 = 0; i2 <
|
|
62328
|
-
const prev = at(remaining, (i2 +
|
|
64770
|
+
const n3 = remaining.length;
|
|
64771
|
+
for (let i2 = 0; i2 < n3; i2++) {
|
|
64772
|
+
const prev = at(remaining, (i2 + n3 - 1) % n3);
|
|
62329
64773
|
const curr = at(remaining, i2);
|
|
62330
|
-
const next = at(remaining, (i2 + 1) %
|
|
64774
|
+
const next = at(remaining, (i2 + 1) % n3);
|
|
62331
64775
|
if (cross2(prev, curr, next) <= EPSILON) {
|
|
62332
64776
|
continue;
|
|
62333
64777
|
}
|
|
62334
64778
|
let isEar = true;
|
|
62335
|
-
for (let j = 0; j <
|
|
62336
|
-
if (j === (i2 +
|
|
64779
|
+
for (let j = 0; j < n3; j++) {
|
|
64780
|
+
if (j === (i2 + n3 - 1) % n3 || j === i2 || j === (i2 + 1) % n3) {
|
|
62337
64781
|
continue;
|
|
62338
64782
|
}
|
|
62339
64783
|
if (pointInTriangle(at(remaining, j), prev, curr, next)) {
|
|
@@ -63230,7 +65674,7 @@ function tokenize(d) {
|
|
|
63230
65674
|
for (const raw2 of matches2) {
|
|
63231
65675
|
const type = raw2.charAt(0);
|
|
63232
65676
|
const nums = raw2.slice(1).match(NUMBER_RE);
|
|
63233
|
-
tokens.push({ type, values: nums ? nums.map((
|
|
65677
|
+
tokens.push({ type, values: nums ? nums.map((n3) => Number.parseFloat(n3)) : [] });
|
|
63234
65678
|
}
|
|
63235
65679
|
return tokens;
|
|
63236
65680
|
}
|
|
@@ -64239,8 +66683,8 @@ function imageRectFromCrop(frame2, insets) {
|
|
|
64239
66683
|
height
|
|
64240
66684
|
};
|
|
64241
66685
|
}
|
|
64242
|
-
function round43(
|
|
64243
|
-
return Math.round(
|
|
66686
|
+
function round43(n3) {
|
|
66687
|
+
return Math.round(n3 * 1e4) / 1e4;
|
|
64244
66688
|
}
|
|
64245
66689
|
function cropUpdateFromRects(frame2, image) {
|
|
64246
66690
|
return {
|
|
@@ -64274,7 +66718,7 @@ function pictureTileAlignment(alignment) {
|
|
|
64274
66718
|
function pictureTileGeometry(frame2, source2, tile, dpi = 96) {
|
|
64275
66719
|
const width = source2.width * (tile.scaleX ?? 1) * 96 / dpi;
|
|
64276
66720
|
const height = source2.height * (tile.scaleY ?? 1) * 96 / dpi;
|
|
64277
|
-
if (![width, height].every((
|
|
66721
|
+
if (![width, height].every((n3) => Number.isFinite(n3) && n3 > 0)) return void 0;
|
|
64278
66722
|
const anchor = pictureTileAlignment(tile.alignment);
|
|
64279
66723
|
return {
|
|
64280
66724
|
width,
|