@silurus/ooxml 0.89.2 → 0.89.4
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 -3
- package/dist/{abort-VrnK7mdP.js → abort-JztSoyw2.js} +0 -2
- package/dist/assets/render-worker-BUa1gyCE.js +15 -0
- package/dist/{bounded-raw-part-cache-C3daknU-.js → bounded-raw-part-cache-Bi_VqXmg.js} +7 -115
- package/dist/{bundled-asset-url-E2nXURF9.js → bundled-asset-url-BMJ8vNHP.js} +0 -2
- package/dist/{canvas-viewer-mechanics-SZWSnn6j.js → canvas-viewer-mechanics-ycCX6v-z.js} +3 -25
- package/dist/{cfb-guard-dNeUiANF.js → cfb-guard-BIaHdonq.js} +1 -13
- package/dist/chart-ex.mjs +4 -7
- package/dist/{chunk-Dy4uBu1J.js → chunk-D5OxutzX.js} +0 -2
- package/dist/{comment-overlay-controller-CHDxT0e7.js → comment-overlay-controller-CR5ySvki.js} +2 -22
- package/dist/{comment-ui-runtime-Dk2qrPy_.js → comment-ui-runtime-BWhLz4gq.js} +5 -7
- package/dist/comment-ui-runtime-BtP_TpvT.js +2 -0
- package/dist/{comment-ui-runtime-BcwaRnMR.js → comment-ui-runtime-CwTOCwA8.js} +5 -7
- package/dist/{delimited-text-worker-host-CikWU6_m.js → delimited-text-worker-host-RwvuSsP2.js} +0 -4
- package/dist/{document-model-source-BD2VSd2L.js → document-model-source-Csow9uxO.js} +9 -11
- package/dist/{document-pull-client-DhSGspvi.js → document-pull-client-CHpz0Q1p.js} +7572 -7285
- package/dist/{document-pull-worker-D-E0Iz3P.js → document-pull-worker-1ZJv9f9W.js} +3 -7
- package/dist/{docx-CXfILbzI.js → docx-D9E0vCq-.js} +12 -18
- package/dist/{docx-CCZBO1WQ.js → docx-GXxH0AwW.js} +13 -65
- package/dist/{docx-model-source-Ci6xb487.js → docx-model-source-aKx2gZH9.js} +7 -9
- package/dist/docx.mjs +6 -6
- package/dist/docx_parser_bg.wasm +0 -0
- package/dist/{drawingml-shape-Bp0yEZHC.js → drawingml-shape-BwELUfNW.js} +2 -6
- package/dist/{duotone-DN8P4aXe.js → duotone-BI7CoghW.js} +2 -6
- package/dist/{emf-CGFQIz6c.js → emf-DgUBx9BU.js} +2 -4
- package/dist/{font-preload-demand-CGOB-MoE.js → font-preload-demand-BuMy4iJ1.js} +2 -8
- package/dist/{grid-geometry-C3IG20ut.js → grid-geometry-CqTDvpDr.js} +1 -6
- package/dist/{host-layout-DVMw8hDY.js → host-layout-Cz_lCuTZ.js} +0 -1
- package/dist/{host-layout-measure-BAysJILu.js → host-layout-measure-GU0oJ4Me.js} +1 -3
- package/dist/{in-process-pull-transport-DuXcPZng.js → in-process-pull-transport-BPJ7M0uC.js} +0 -2
- package/dist/index.mjs +3 -3
- package/dist/internal-companion.mjs +3 -5
- package/dist/{line-distribute-DhQqysA2.js → line-distribute-C_CJisnJ.js} +2 -18
- package/dist/math.mjs +2 -8
- package/dist/{mathjax-BhwN6ilc.js → mathjax-DvwccQ8e.js} +0 -2
- package/dist/{model-source-kz_NkZqT.js → model-source-COXegBNA.js} +1 -3
- package/dist/{model-source-BkmyX_r-.js → model-source-DLXFe4_2.js} +3 -5
- package/dist/{model-source-session-CnPCTRDD.js → model-source-session-B3WVQCM5.js} +5 -9
- package/dist/{model-source-session-CF4iXav8.js → model-source-session-BVZBHZ04.js} +5 -11
- package/dist/{model-source-session-CJmkItIK.js → model-source-session-DfUgVpr1.js} +4 -8
- package/dist/node.mjs +6 -6
- package/dist/{pixel-budget-BpTYrepD.js → pixel-budget-DI82Hn3R.js} +0 -2
- package/dist/{plot-area-frame-Bs_j4uu7.js → plot-area-frame-D3JtHvov.js} +1 -167
- package/dist/{pptx-BhmLP_Ed.js → pptx-BD0jwWs6.js} +9 -11
- package/dist/{pptx-Bo9hCGQU.js → pptx-CLyebeF_.js} +16 -62
- package/dist/{pptx-model-source-J0SrVkO6.js → pptx-model-source-D_2mnSxI.js} +5 -7
- package/dist/pptx.mjs +7 -7
- package/dist/pptx_parser_bg.wasm +0 -0
- package/dist/{presentation-model-source-CebYmrOD.js → presentation-model-source-rWZ3Y-S_.js} +8 -10
- package/dist/{raster-target-YQ4G6rxo.js → raster-target-Ca3tyA0L.js} +0 -2
- package/dist/{read-only-comment-decoration-PidH0wnP.js → read-only-comment-decoration-B06YO2zk.js} +0 -4
- package/dist/{read-only-comment-margin-B52rDVKo.js → read-only-comment-margin-Ee9Y6vPg.js} +0 -2
- package/dist/region-map.mjs +4 -7
- package/dist/{render-hT2OVZUi.js → render-Cs1bgbEm.js} +3 -5
- package/dist/{render-worker-host-Desevuoc.js → render-worker-host-BR7n4xKy.js} +0 -4
- package/dist/render-worker-host-BxsA-yJo.js +5 -0
- package/dist/{render-worker-host-BmAQ-sWT.js → render-worker-host-CZC0WOn8.js} +0 -4
- package/dist/{renderer-CvZ4JmoL.js → renderer-DFDF48zw.js} +7 -55
- package/dist/{renderer-module-contract-CWM7jv6d.js → renderer-module-contract-BuTx2FWJ.js} +0 -2
- package/dist/{renderer-BFWqhLEt.js → renderer-xdugdcMd.js} +6 -70
- package/dist/{resource-measurement-DBiUwblM.js → resource-measurement-CTGrNAsD.js} +2 -18
- package/dist/{session-CWDKFWCh.js → session-B5CgMc2N.js} +7 -17
- package/dist/{slide-pull-client-BuBvXMyc.js → slide-pull-client-43mS9T70.js} +9 -63
- package/dist/{three-d-BKwNPAP4.js → three-d-ByHGsYrX.js} +1 -11
- package/dist/three-d.mjs +4 -17
- package/dist/{tiff-contract-C6M3QcPp.js → tiff-contract-DEd8CGuz.js} +0 -2
- package/dist/tiff.mjs +5 -8
- package/dist/types/chart-ex.d.ts +2 -2
- package/dist/types/docx.d.ts +12 -11
- package/dist/types/index.d.ts +19 -15
- package/dist/types/internal-companion.d.ts +1 -1
- package/dist/types/math.d.ts +1 -1
- package/dist/types/node.d.ts +7 -6
- package/dist/types/pptx.d.ts +11 -11
- package/dist/types/region-map.d.ts +2 -2
- package/dist/types/three-d.d.ts +2 -2
- package/dist/types/tiff.d.ts +1 -1
- package/dist/types/xlsx.d.ts +14 -11
- package/dist/{visible-index-FeVA0mGE.js → visible-index-vN-4BNn7.js} +0 -2
- package/dist/{wasm-loader-rlgHmcSv.js → wasm-loader-KAOyLXzf.js} +0 -4
- package/dist/{wasm-runtime-generation-BWGfM44b.js → wasm-runtime-generation-BsWKRY7U.js} +1 -3
- package/dist/{workbook-model-source-Che8Zbjw.js → workbook-model-source-CZtKSWad.js} +9 -11
- package/dist/{worker-source-UAi3GNcM.js → worker-source-C29EQNUj.js} +0 -2
- package/dist/{worker-source-SbudzjYL.js → worker-source-D3NwPe6l.js} +0 -2
- package/dist/{worker-source-DrwhR9fw.js → worker-source-ZQE9C1j6.js} +0 -2
- package/dist/{worksheet-pull-client-Cxzj6uuB.js → worksheet-pull-client-D5zAevQv.js} +4 -18
- package/dist/{xlsx-C5BSwMUd.js → xlsx-S6orTmKI.js} +8 -16
- package/dist/{xlsx-CUVUep5I.js → xlsx-lvftmF1U.js} +119 -131
- package/dist/{xlsx-model-source-C3_PiPBo.js → xlsx-model-source-Cm9ocDgT.js} +8 -12
- package/dist/xlsx.mjs +7 -7
- package/dist/xlsx_parser_bg.wasm +0 -0
- package/package.json +2 -2
- package/dist/assets/render-worker-D_SMt5nl.js +0 -15
- package/dist/comment-ui-runtime-B7ZvovcS.js +0 -2
- package/dist/render-worker-host-Cz224I38.js +0 -9
|
@@ -1,13 +1,10 @@
|
|
|
1
|
-
import { f as e, o as t, s as n, u as r } from "./pixel-budget-
|
|
2
|
-
//#region packages/core/src/internal/own-key.ts
|
|
1
|
+
import { f as e, o as t, s as n, u as r } from "./pixel-budget-DI82Hn3R.js";
|
|
3
2
|
function i(e, t) {
|
|
4
3
|
return t != null && Object.hasOwn(e, t) ? e[t] : void 0;
|
|
5
4
|
}
|
|
6
5
|
function a(e, t) {
|
|
7
6
|
return t != null && Object.hasOwn(e, t);
|
|
8
7
|
}
|
|
9
|
-
//#endregion
|
|
10
|
-
//#region packages/core/src/internal/css-font-family.ts
|
|
11
8
|
function o(e) {
|
|
12
9
|
let t = "";
|
|
13
10
|
for (let n of e) {
|
|
@@ -16,8 +13,6 @@ function o(e) {
|
|
|
16
13
|
}
|
|
17
14
|
return `"${t}"`;
|
|
18
15
|
}
|
|
19
|
-
//#endregion
|
|
20
|
-
//#region packages/core/src/fonts/google-fonts.ts
|
|
21
16
|
var s = "https://fonts.googleapis.com/css2?family=Noto+Naskh+Arabic:wght@400;700&display=swap", c = "https://fonts.googleapis.com/css2?family=Noto+Sans+Arabic:wght@400;700&display=swap", l = "https://fonts.googleapis.com/css2?family=Libre+Franklin:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&display=swap", u = {
|
|
22
17
|
calibri: {
|
|
23
18
|
url: "https://fonts.googleapis.com/css2?family=Carlito:ital,wght@0,400;0,700;1,400;1,700&display=swap",
|
|
@@ -89,8 +84,6 @@ function d(e, t = u) {
|
|
|
89
84
|
}
|
|
90
85
|
return n;
|
|
91
86
|
}
|
|
92
|
-
//#endregion
|
|
93
|
-
//#region packages/core/src/fonts/font-stack.ts
|
|
94
87
|
function f(e) {
|
|
95
88
|
return e.map(o).join(", ");
|
|
96
89
|
}
|
|
@@ -26279,8 +26272,6 @@ var v = new Set(Object.entries(u).filter(([, e]) => e.loadFamily === "Noto Naskh
|
|
|
26279
26272
|
xAvgCharWidth: 1963
|
|
26280
26273
|
}
|
|
26281
26274
|
];
|
|
26282
|
-
//#endregion
|
|
26283
|
-
//#region packages/core/src/fonts/reference-font-metrics.ts
|
|
26284
26275
|
function w(e) {
|
|
26285
26276
|
return Object.freeze(e.aliases), Object.freeze(e.hhea), e.win && Object.freeze(e.win), e.typoMetrics && Object.freeze(e.typoMetrics), e.panose && Object.freeze(e.panose), e.decoration && Object.freeze(e.decoration), Object.freeze(e);
|
|
26286
26277
|
}
|
|
@@ -26330,8 +26321,6 @@ function P(e, t = {}) {
|
|
|
26330
26321
|
let n = j(e);
|
|
26331
26322
|
return n ? N(n)?.get(M(t)) ?? k : k;
|
|
26332
26323
|
}
|
|
26333
|
-
//#endregion
|
|
26334
|
-
//#region packages/core/src/fonts/scripts.ts
|
|
26335
26324
|
var F = {
|
|
26336
26325
|
"noto sans cjk sc": "Noto Sans SC",
|
|
26337
26326
|
"noto serif cjk sc": "Noto Serif SC",
|
|
@@ -26493,8 +26482,6 @@ function fe(e, t) {
|
|
|
26493
26482
|
let n = new ue(t);
|
|
26494
26483
|
return n.addText(e), n.preferredCjkLanguage();
|
|
26495
26484
|
}
|
|
26496
|
-
//#endregion
|
|
26497
|
-
//#region packages/core/src/chart/effective-style.ts
|
|
26498
26485
|
var pe = [
|
|
26499
26486
|
"fontSizeHpt",
|
|
26500
26487
|
"fontBold",
|
|
@@ -26739,8 +26726,6 @@ function V(e, t, n) {
|
|
|
26739
26726
|
let r = we(e, n), i = r >= 0 ? e.varyingPointChartStyleRolesByGroup?.[r] : void 0;
|
|
26740
26727
|
return i == null ? e.varyingPointChartStyleRoles?.[t] ?? e.chartStyleRoles?.[t] : i[t];
|
|
26741
26728
|
}
|
|
26742
|
-
//#endregion
|
|
26743
|
-
//#region packages/core/src/chart/sparse-style-index.ts
|
|
26744
26729
|
var Re;
|
|
26745
26730
|
function ze(e) {
|
|
26746
26731
|
if (Re) return e();
|
|
@@ -26773,8 +26758,6 @@ function Ve(e, t) {
|
|
|
26773
26758
|
let n = Re.membership.get(e);
|
|
26774
26759
|
return n || (n = new Set(e), Re.membership.set(e, n)), n.has(t);
|
|
26775
26760
|
}
|
|
26776
|
-
//#endregion
|
|
26777
|
-
//#region packages/core/src/chart/style-paint.ts
|
|
26778
26761
|
function He(e, t, n) {
|
|
26779
26762
|
let r = t === "font" ? e.fontFormattingIndices : t === "fill" ? e.fillFormattingIndices : t === "line" ? e.lineFormattingIndices : e.effectFormattingIndices, i = r ? Be(r, n) : -1;
|
|
26780
26763
|
return i >= 0 ? i : n;
|
|
@@ -26926,8 +26909,6 @@ function it(e, t, n) {
|
|
|
26926
26909
|
lineJoin: r?.lineJoin ?? c?.lineJoin
|
|
26927
26910
|
};
|
|
26928
26911
|
}
|
|
26929
|
-
//#endregion
|
|
26930
|
-
//#region packages/core/src/chart/classic-data-point-style.ts
|
|
26931
26912
|
function at(e, t, n, r, i) {
|
|
26932
26913
|
let a = r?.chartexStyle, o = n.chartexStyle, s = Ce(e, n), c = V(e, t, s >= 0 ? s : i) ?? (t === "dataPoint" ? e.chartexDataPointStyle : e.chartexDataPointLineStyle), l = B(e, t), u = Pe(e) ? Qe(e, n, r, i) : r?.lineHidden === !0 ? null : et(a, l, r?.idx ?? i);
|
|
26933
26914
|
u === void 0 && r?.lineColor && (u = {
|
|
@@ -26972,11 +26953,7 @@ function ot(e, t, n, r, i) {
|
|
|
26972
26953
|
let u = H(t.chartexStyle, s, r);
|
|
26973
26954
|
return u === void 0 ? t.color === "00000000" ? null : t.fillPattern ? t.fillPattern : qe(o, r) : u;
|
|
26974
26955
|
}
|
|
26975
|
-
//#endregion
|
|
26976
|
-
//#region packages/core/src/units.ts
|
|
26977
26956
|
var st = 914400, G = 12700, ct = 9525, lt = 4 / 3, ut = 91440, dt = 45720;
|
|
26978
|
-
//#endregion
|
|
26979
|
-
//#region packages/core/src/chart/category-spacing.ts
|
|
26980
26957
|
function ft(e, t) {
|
|
26981
26958
|
return t == null || !Number.isFinite(t) ? e : e * Math.max(0, Math.min(1e3, t)) / 100;
|
|
26982
26959
|
}
|
|
@@ -27025,8 +27002,6 @@ function vt(e) {
|
|
|
27025
27002
|
for (let t of e.series) t.values.length > n && (n = t.values.length);
|
|
27026
27003
|
return n > 0 ? Array.from({ length: n }, (e, t) => String(t + 1)) : [];
|
|
27027
27004
|
}
|
|
27028
|
-
//#endregion
|
|
27029
|
-
//#region packages/core/src/chart/text-elide.ts
|
|
27030
27005
|
var yt = "…";
|
|
27031
27006
|
function bt(e, t, n) {
|
|
27032
27007
|
if (t === "" || n <= 0) return "";
|
|
@@ -27040,8 +27015,6 @@ function bt(e, t, n) {
|
|
|
27040
27015
|
let o = a > 0 ? t.charCodeAt(a - 1) : 0;
|
|
27041
27016
|
return o >= 55296 && o <= 56319 && a--, t.slice(0, a) + yt;
|
|
27042
27017
|
}
|
|
27043
|
-
//#endregion
|
|
27044
|
-
//#region packages/core/src/chart/chart-text-lines.ts
|
|
27045
27018
|
var xt = /\r\n|\r|\n/, St = /^(?:\r\n|\r|\n)+|(?:\r\n|\r|\n)+$/g;
|
|
27046
27019
|
function Ct(e) {
|
|
27047
27020
|
return e + 2;
|
|
@@ -27092,8 +27065,6 @@ function Mt(e, t, n, r, i, a, o) {
|
|
|
27092
27065
|
a && e.fillText(a, n, l + r * i);
|
|
27093
27066
|
});
|
|
27094
27067
|
}
|
|
27095
|
-
//#endregion
|
|
27096
|
-
//#region packages/core/src/chart/layout.ts
|
|
27097
27068
|
function Nt(e, t, n) {
|
|
27098
27069
|
let r = Math.max(1, t), i = [], a = [], o = 0;
|
|
27099
27070
|
for (let t = 0; t < e.length; t++) {
|
|
@@ -27317,8 +27288,6 @@ function cn(e, t, n, r, i, a, o) {
|
|
|
27317
27288
|
}
|
|
27318
27289
|
};
|
|
27319
27290
|
}
|
|
27320
|
-
//#endregion
|
|
27321
|
-
//#region packages/core/src/chart/data-label-layout.ts
|
|
27322
27291
|
var ln = (e) => [
|
|
27323
27292
|
e.x,
|
|
27324
27293
|
e.y,
|
|
@@ -27523,8 +27492,6 @@ function _n(e, t, n, r, i) {
|
|
|
27523
27492
|
let d = c.slice(0, a);
|
|
27524
27493
|
return l && d.length > 0 && !d[d.length - 1].endsWith("…") && (d[d.length - 1] = hn(`${d[d.length - 1]}…`, t, i)), d;
|
|
27525
27494
|
}
|
|
27526
|
-
//#endregion
|
|
27527
|
-
//#region packages/core/src/chart/data-label-style.ts
|
|
27528
27495
|
function vn(e, t) {
|
|
27529
27496
|
return (t?.deleted ?? e?.deleted) === !0;
|
|
27530
27497
|
}
|
|
@@ -27612,8 +27579,6 @@ function En(e, t, n, r, i, a, o = "center", s = "center", c = n.w, l = 0) {
|
|
|
27612
27579
|
y: n.y + n.h / 2
|
|
27613
27580
|
};
|
|
27614
27581
|
}
|
|
27615
|
-
//#endregion
|
|
27616
|
-
//#region packages/core/src/chart/legend-entry-plan.ts
|
|
27617
27582
|
function Dn(e, t = 1, n = !0) {
|
|
27618
27583
|
return e === "pie" || e === "ofPie" ? !0 : e === "doughnut" && (t <= 1 || n);
|
|
27619
27584
|
}
|
|
@@ -27670,8 +27635,6 @@ function Pn(e, t, n) {
|
|
|
27670
27635
|
for (let e = 0; e < r.count; e++) if (!t.has(r.firstIndex + e)) return !0;
|
|
27671
27636
|
return !1;
|
|
27672
27637
|
}
|
|
27673
|
-
//#endregion
|
|
27674
|
-
//#region packages/core/src/chart/marker-style.ts
|
|
27675
27638
|
function Fn(e) {
|
|
27676
27639
|
return e.markerSymbol != null || e.markerSize != null || e.markerFill != null || e.markerFillPaint !== void 0 || e.markerFillPaintAuthored === !0 || e.markerStyle != null || e.markerLine != null || e.markerLinePaintAuthored === !0 || e.markerLineWidthEmu != null;
|
|
27677
27640
|
}
|
|
@@ -27758,8 +27721,6 @@ function Zn(e, t) {
|
|
|
27758
27721
|
function Qn(e) {
|
|
27759
27722
|
return e?.fillType === "gradient" ? e.stops.length : e == null ? 0 : 1;
|
|
27760
27723
|
}
|
|
27761
|
-
//#endregion
|
|
27762
|
-
//#region packages/core/src/chart/plot-groups.ts
|
|
27763
27724
|
var $n = new Set([
|
|
27764
27725
|
"area3D",
|
|
27765
27726
|
"line3D",
|
|
@@ -27822,8 +27783,6 @@ function ir(e) {
|
|
|
27822
27783
|
}
|
|
27823
27784
|
return [...n].every((e) => e === "scatter" || e === "bubble") ? t.length > 2 ? "unsupported" : "scatter-bubble" : t.length === 2 && t[0].kind === "stock" && t[1].kind === "line" && (t[0].seriesCount === 3 || t[0].seriesCount === 4) && (t[1].grouping == null || t[1].grouping === "standard") && t.every((e) => e.categoryAxis === "primary" && e.valueAxis === "primary") ? "stock-line" : "unsupported";
|
|
27824
27785
|
}
|
|
27825
|
-
//#endregion
|
|
27826
|
-
//#region packages/core/src/chart/of-pie.ts
|
|
27827
27786
|
function ar(e, t) {
|
|
27828
27787
|
let n = e?.splitType ?? "auto", r = e?.splitPos, i = /* @__PURE__ */ new Set();
|
|
27829
27788
|
if ((e?.splitPosAuthored === !0 || r != null) && (![
|
|
@@ -27866,16 +27825,12 @@ function ar(e, t) {
|
|
|
27866
27825
|
}
|
|
27867
27826
|
return i;
|
|
27868
27827
|
}
|
|
27869
|
-
//#endregion
|
|
27870
|
-
//#region packages/core/src/chart/image-fill-errors.ts
|
|
27871
27828
|
function or(e, t) {
|
|
27872
27829
|
if (!Number.isSafeInteger(e) || e < 0 || e > t) throw new r("image-effect-work", t, Number.isSafeInteger(e) && e >= 0 ? e : 2 ** 53 - 1);
|
|
27873
27830
|
}
|
|
27874
27831
|
function K() {
|
|
27875
27832
|
throw new b("unsupported-image-effect", "Unrepresentable chart image geometry");
|
|
27876
27833
|
}
|
|
27877
|
-
//#endregion
|
|
27878
|
-
//#region packages/core/src/image/image-effect-frame.ts
|
|
27879
27834
|
var sr = /* @__PURE__ */ new WeakMap();
|
|
27880
27835
|
function cr(e) {
|
|
27881
27836
|
return sr.get(e);
|
|
@@ -27901,8 +27856,6 @@ function dr(e, t) {
|
|
|
27901
27856
|
y: Math.ceil(Math.max(0, n.y, r.height - n.y - n.height) / n.height)
|
|
27902
27857
|
};
|
|
27903
27858
|
}
|
|
27904
|
-
//#endregion
|
|
27905
|
-
//#region packages/core/src/canvas/aux-canvas.ts
|
|
27906
27859
|
function fr(e, t) {
|
|
27907
27860
|
return [Math.max(1, Math.ceil(e)), Math.max(1, Math.ceil(t))];
|
|
27908
27861
|
}
|
|
@@ -27931,8 +27884,6 @@ function pr(e, t, n) {
|
|
|
27931
27884
|
return null;
|
|
27932
27885
|
}
|
|
27933
27886
|
}
|
|
27934
|
-
//#endregion
|
|
27935
|
-
//#region packages/core/src/image/dib.ts
|
|
27936
27887
|
var mr = t, hr = n;
|
|
27937
27888
|
function gr(e, t, n, i, a) {
|
|
27938
27889
|
if (t < 0 || i < 0 || a < 0 || n < 40 || t + n > e.byteLength || i + a > e.byteLength) return null;
|
|
@@ -28037,8 +27988,6 @@ function vr(t, n, r, i, a, o) {
|
|
|
28037
27988
|
return !1;
|
|
28038
27989
|
}
|
|
28039
27990
|
}
|
|
28040
|
-
//#endregion
|
|
28041
|
-
//#region packages/core/src/fonts/metafile-symbol-encoding.ts
|
|
28042
27991
|
var yr = Object.fromEntries(Object.entries({
|
|
28043
27992
|
32: 32,
|
|
28044
27993
|
33: 33,
|
|
@@ -28235,8 +28184,6 @@ function Tr(e, t, n = !1) {
|
|
|
28235
28184
|
}
|
|
28236
28185
|
return i;
|
|
28237
28186
|
}
|
|
28238
|
-
//#endregion
|
|
28239
|
-
//#region packages/core/src/text/bidi/char-data.generated.ts
|
|
28240
28187
|
var Er = [
|
|
28241
28188
|
"L",
|
|
28242
28189
|
"R",
|
|
@@ -32040,8 +31987,6 @@ var Er = [
|
|
|
32040
31987
|
65378,
|
|
32041
31988
|
1
|
|
32042
31989
|
];
|
|
32043
|
-
//#endregion
|
|
32044
|
-
//#region packages/core/src/text/bidi/char-data.ts
|
|
32045
31990
|
function jr(e) {
|
|
32046
31991
|
let t = 0, n = Dr.length - 1;
|
|
32047
31992
|
for (; t < n;) {
|
|
@@ -32382,8 +32327,6 @@ function Xr(e, t, n) {
|
|
|
32382
32327
|
}
|
|
32383
32328
|
return r;
|
|
32384
32329
|
}
|
|
32385
|
-
//#endregion
|
|
32386
|
-
//#region packages/core/src/text/bidi/uax9/index.ts
|
|
32387
32330
|
function Zr(e) {
|
|
32388
32331
|
let t = [], n = [], r = [];
|
|
32389
32332
|
for (let i = 0; i < e.length;) {
|
|
@@ -32418,14 +32361,10 @@ var Qr = class {
|
|
|
32418
32361
|
function $r() {
|
|
32419
32362
|
return new Qr();
|
|
32420
32363
|
}
|
|
32421
|
-
//#endregion
|
|
32422
|
-
//#region packages/core/src/text/bidi/engine.ts
|
|
32423
32364
|
var ei = null;
|
|
32424
32365
|
function ti() {
|
|
32425
32366
|
return ei === null && (ei = $r()), ei;
|
|
32426
32367
|
}
|
|
32427
|
-
//#endregion
|
|
32428
|
-
//#region packages/core/src/text/bidi/line-order.ts
|
|
32429
32368
|
var ni = /[\u0590-\u08FF\uFB1D-\uFDFF\uFE70-\uFEFF\u200F\u202B\u202E\u2067]|[\u{10800}-\u{10FFF}\u{1E800}-\u{1EFFF}]/u;
|
|
32430
32369
|
function ri(e) {
|
|
32431
32370
|
return ni.test(e);
|
|
@@ -32441,8 +32380,6 @@ function ii(e, t, n) {
|
|
|
32441
32380
|
segLevels: i
|
|
32442
32381
|
};
|
|
32443
32382
|
}
|
|
32444
|
-
//#endregion
|
|
32445
|
-
//#region packages/core/src/text/joining-type.generated.ts
|
|
32446
32383
|
var ai = [
|
|
32447
32384
|
"U",
|
|
32448
32385
|
"C",
|
|
@@ -34317,8 +34254,6 @@ var ai = [
|
|
|
34317
34254
|
5,
|
|
34318
34255
|
0
|
|
34319
34256
|
];
|
|
34320
|
-
//#endregion
|
|
34321
|
-
//#region packages/core/src/text/joining-type.ts
|
|
34322
34257
|
function ci(e) {
|
|
34323
34258
|
let t = 0, n = oi.length - 1, r = -1;
|
|
34324
34259
|
for (; t <= n;) {
|
|
@@ -34335,8 +34270,6 @@ function ui(e) {
|
|
|
34335
34270
|
let t = ci(e);
|
|
34336
34271
|
return t === "D" || t === "R" || t === "C";
|
|
34337
34272
|
}
|
|
34338
|
-
//#endregion
|
|
34339
|
-
//#region packages/core/src/text/font-decoration.ts
|
|
34340
34273
|
function di(e, t, n) {
|
|
34341
34274
|
for (let r of P(e, {
|
|
34342
34275
|
weight: t,
|
|
@@ -34356,14 +34289,10 @@ function di(e, t, n) {
|
|
|
34356
34289
|
}
|
|
34357
34290
|
return null;
|
|
34358
34291
|
}
|
|
34359
|
-
//#endregion
|
|
34360
|
-
//#region packages/core/src/canvas/crisp.ts
|
|
34361
34292
|
function fi(e, t, n) {
|
|
34362
34293
|
let r = Math.round(t * n) % 2 == 1 ? .5 : 0, i = e * n;
|
|
34363
34294
|
return (Math.round(i - r) + r) / n - e;
|
|
34364
34295
|
}
|
|
34365
|
-
//#endregion
|
|
34366
|
-
//#region packages/core/src/draw/dash.ts
|
|
34367
34296
|
function pi(e, t) {
|
|
34368
34297
|
return e.map((e) => e * t);
|
|
34369
34298
|
}
|
|
@@ -34543,8 +34472,6 @@ function wi(e, t) {
|
|
|
34543
34472
|
let n = i(Ci, e);
|
|
34544
34473
|
return n ? pi(n, t) : [];
|
|
34545
34474
|
}
|
|
34546
|
-
//#endregion
|
|
34547
|
-
//#region packages/core/src/text/underline.ts
|
|
34548
34475
|
var Ti = .05, Ei = .32, Di = 1.8, Oi = 1.4, ki = 6, Ai = 2.5;
|
|
34549
34476
|
function ji(e, t, n, r, i, a, o, s = 1, c, l) {
|
|
34550
34477
|
let u = c == null ? l ? l.thicknessPx : Math.max(1, i * Ti) : Math.max(0, c), d = o === "heavy" || (o?.endsWith("Heavy") ?? !1), f = d ? u * (l ? 1.5 : Di) : u, p = l ? n + l.topPx + u / 2 : void 0, m = p === void 0 ? n + Math.max(2, f) : d ? p - f / 2 : p, h = fi(m, f, s);
|
|
@@ -35205,8 +35132,6 @@ function xa(e, t) {
|
|
|
35205
35132
|
let [n, r, i, a] = ba(e, t);
|
|
35206
35133
|
return i > 0 && a > 0 ? (e.ctx.fillStyle = e.bkColor, e.ctx.fillRect(n, r, i, a), !0) : !1;
|
|
35207
35134
|
}
|
|
35208
|
-
//#endregion
|
|
35209
|
-
//#region packages/core/src/image/wmf.ts
|
|
35210
35135
|
var J = {
|
|
35211
35136
|
EOF: 0,
|
|
35212
35137
|
SETBKMODE: 258,
|
|
@@ -36061,8 +35986,6 @@ async function co(e, t, n, r) {
|
|
|
36061
35986
|
let a = i.getContext("2d");
|
|
36062
35987
|
return !a || (a.lineJoin = "round", a.lineCap = "round", !ro(e, a, t, n, r)) ? null : createImageBitmap(i);
|
|
36063
35988
|
}
|
|
36064
|
-
//#endregion
|
|
36065
|
-
//#region packages/core/src/image/crop.ts
|
|
36066
35989
|
function lo(e) {
|
|
36067
35990
|
if (!e) return !0;
|
|
36068
35991
|
if (![
|
|
@@ -36236,8 +36159,6 @@ function bo(e, t, n, r) {
|
|
|
36236
36159
|
height: Math.max(0, s > 0 ? a / s : a)
|
|
36237
36160
|
};
|
|
36238
36161
|
}
|
|
36239
|
-
//#endregion
|
|
36240
|
-
//#region packages/core/src/shape/fill-frame.ts
|
|
36241
36162
|
function xo(e, t, n, r) {
|
|
36242
36163
|
if (t === 0) return e;
|
|
36243
36164
|
let i = -t * Math.PI / 180, a = Math.cos(i), o = Math.sin(i), s = e.a ?? 1, c = e.b ?? 0, l = e.c ?? 0, u = e.d ?? 1, d = (e.e ?? 0) - n, f = (e.f ?? 0) - r;
|
|
@@ -36250,8 +36171,6 @@ function xo(e, t, n, r) {
|
|
|
36250
36171
|
f: r + o * d + a * f
|
|
36251
36172
|
};
|
|
36252
36173
|
}
|
|
36253
|
-
//#endregion
|
|
36254
|
-
//#region packages/core/src/shape/pattern-bitmaps.ts
|
|
36255
36174
|
var So = {
|
|
36256
36175
|
pct5: "#......./......../......../......../....#.../......../......../........",
|
|
36257
36176
|
pct10: "#......./......../....#.../......../#......./......../....#.../........",
|
|
@@ -36329,8 +36248,6 @@ function To(e, t) {
|
|
|
36329
36248
|
let n = (e, t) => parseInt(e.slice(t, t + 2), 16), r = Math.round((n(e, 0) + n(t, 0)) / 2), i = Math.round((n(e, 2) + n(t, 2)) / 2), a = Math.round((n(e, 4) + n(t, 4)) / 2), o = (e) => e.length >= 8 ? n(e, 6) / 255 : 1;
|
|
36330
36249
|
return `rgba(${r},${i},${a},${(o(e) + o(t)) / 2})`;
|
|
36331
36250
|
}
|
|
36332
|
-
//#endregion
|
|
36333
|
-
//#region packages/core/src/shape/stroke-geometry.ts
|
|
36334
36251
|
function Eo(e, t) {
|
|
36335
36252
|
if (!Number.isFinite(t) || t < 0) throw RangeError("Invalid DrawingML stroke scale");
|
|
36336
36253
|
if (!e) return Object.freeze({
|
|
@@ -36351,8 +36268,6 @@ function Eo(e, t) {
|
|
|
36351
36268
|
if (!Number.isFinite(o.lineWidth) || !Number.isFinite(o.miterLimit) || o.miterLimit <= 0 || !o.dash.every((e) => Number.isFinite(e) && e >= 0)) throw RangeError("Invalid resolved DrawingML stroke");
|
|
36352
36269
|
return Object.freeze(o);
|
|
36353
36270
|
}
|
|
36354
|
-
//#endregion
|
|
36355
|
-
//#region packages/core/src/canvas/strict-brush-surface.ts
|
|
36356
36271
|
var Do = 0;
|
|
36357
36272
|
function Oo(e) {
|
|
36358
36273
|
Do++;
|
|
@@ -36366,8 +36281,6 @@ function ko() {
|
|
|
36366
36281
|
if (Do > 0) throw new b("unsupported-image-effect", "Brush surface unavailable");
|
|
36367
36282
|
return null;
|
|
36368
36283
|
}
|
|
36369
|
-
//#endregion
|
|
36370
|
-
//#region packages/core/src/shape/path-gradient.ts
|
|
36371
36284
|
var Ao = 512, jo = 2, Mo = 16, No = Math.PI / 32, Po = (e, t, n) => [e[0] * t + e[2] * n + e[4], e[1] * t + e[3] * n + e[5]], Fo = (e, t) => [
|
|
36372
36285
|
e[0] * t[0] + e[2] * t[1],
|
|
36373
36286
|
e[1] * t[0] + e[3] * t[1],
|
|
@@ -36901,8 +36814,6 @@ function Xo(e, t, n, r, i, a, o, s = 0) {
|
|
|
36901
36814
|
function Zo() {
|
|
36902
36815
|
return 6566400;
|
|
36903
36816
|
}
|
|
36904
|
-
//#endregion
|
|
36905
|
-
//#region packages/core/src/shape/path-enclosure.ts
|
|
36906
36817
|
function Qo(e, t, n, r) {
|
|
36907
36818
|
if (![
|
|
36908
36819
|
"beginPath",
|
|
@@ -37078,8 +36989,6 @@ function es(e, t, n) {
|
|
|
37078
36989
|
if (!Object.values(_).every(Number.isFinite)) throw RangeError("Non-finite path enclosure");
|
|
37079
36990
|
return _;
|
|
37080
36991
|
}
|
|
37081
|
-
//#endregion
|
|
37082
|
-
//#region packages/core/src/shape/paint-bounds.ts
|
|
37083
36992
|
var ts = /* @__PURE__ */ new WeakMap(), ns = /* @__PURE__ */ new WeakMap(), rs = (e) => ns.get(e) ?? e, is = /* @__PURE__ */ new WeakMap();
|
|
37084
36993
|
function as(e) {
|
|
37085
36994
|
if (ts.has(e)) return e;
|
|
@@ -37130,8 +37039,6 @@ function ss(e, t) {
|
|
|
37130
37039
|
h: Math.max(...l) - Math.min(...l) + 2 * o
|
|
37131
37040
|
};
|
|
37132
37041
|
}
|
|
37133
|
-
//#endregion
|
|
37134
|
-
//#region packages/core/src/shape/paint.ts
|
|
37135
37042
|
var cs = 512;
|
|
37136
37043
|
function ls(e) {
|
|
37137
37044
|
return e?.fillType === "gradient" && e.gradType === "radial" && (e.path === "rect" || e.path === "shape") && (e.tileRect?.l ?? 0) === 0 && (e.tileRect?.t ?? 0) === 0 && (e.tileRect?.r ?? 0) === 0 && (e.tileRect?.b ?? 0) === 0;
|
|
@@ -37373,8 +37280,6 @@ function As(e, t) {
|
|
|
37373
37280
|
function js(e, t, n) {
|
|
37374
37281
|
e.strokeStyle = t ? fs(t.color) : "transparent", As(e, Eo(t, n));
|
|
37375
37282
|
}
|
|
37376
|
-
//#endregion
|
|
37377
|
-
//#region packages/core/src/chart/box-whisker.ts
|
|
37378
37283
|
var Ms = .06;
|
|
37379
37284
|
function Ns(e) {
|
|
37380
37285
|
let t = Math.floor(e.length / 2);
|
|
@@ -37453,8 +37358,6 @@ function Vs(e, t, n, r, i, a, o) {
|
|
|
37453
37358
|
centerX: f + d / 2
|
|
37454
37359
|
};
|
|
37455
37360
|
}
|
|
37456
|
-
//#endregion
|
|
37457
|
-
//#region packages/core/src/canvas/clamp.ts
|
|
37458
37361
|
var Hs = 32767, Us = 1 << 24;
|
|
37459
37362
|
function Ws(e, t) {
|
|
37460
37363
|
let n = Number.isFinite(e) && e > 0 ? Math.max(1, Math.round(e)) : 1, r = Number.isFinite(t) && t > 0 ? Math.max(1, Math.round(t)) : 1, i = Math.min(1, Hs / n, Hs / r), a = n * r, o = a > 16777216 ? Math.sqrt(Us / a) : 1, s = Math.min(i, o);
|
|
@@ -37470,8 +37373,6 @@ function Ws(e, t) {
|
|
|
37470
37373
|
clamped: !0
|
|
37471
37374
|
};
|
|
37472
37375
|
}
|
|
37473
|
-
//#endregion
|
|
37474
|
-
//#region packages/core/src/shape/effects.ts
|
|
37475
37376
|
var Gs = !1;
|
|
37476
37377
|
function Ks() {
|
|
37477
37378
|
return !Gs && typeof console < "u" && typeof console.warn == "function" && (Gs = !0, console.warn("[ooxml] effects: geometric coverage canvas unavailable or exceeds canvas limits; soft edge and inner shadow omitted; the original body is still painted.")), null;
|
|
@@ -37607,8 +37508,6 @@ function ac(e, t, n, r, i, a, o) {
|
|
|
37607
37508
|
function oc(e) {
|
|
37608
37509
|
return e < 0 ? 0 : e > 1 ? 1 : e;
|
|
37609
37510
|
}
|
|
37610
|
-
//#endregion
|
|
37611
|
-
//#region packages/core/src/chart/style-effects.ts
|
|
37612
37511
|
var sc = Us, cc = /* @__PURE__ */ new WeakMap();
|
|
37613
37512
|
function lc(e, t, n = sc, r = 1) {
|
|
37614
37513
|
let i = cc.get(e), a = Number.isSafeInteger(r) && r > 0 ? r : 1;
|
|
@@ -37718,8 +37617,6 @@ function Sc(e, t, n, r, i, a, o, s = r) {
|
|
|
37718
37617
|
let w = !1;
|
|
37719
37618
|
!C && b && c.softEdge && x && (e.save(), _(), ic(e, g, u, c.softEdge, f, p, m, x), e.restore(), w = !0), w || (e.save(), C && ("radius" in C ? yc(e, C, a) : vc(e, C, a)), o(e), e.restore()), b && c.innerShadow && x && (e.save(), _(), rc(e, x, u, c.innerShadow, f, p, m), e.restore());
|
|
37720
37619
|
}
|
|
37721
|
-
//#endregion
|
|
37722
|
-
//#region packages/core/src/chart/chart-ex-hierarchy.ts
|
|
37723
37620
|
var Cc = 512;
|
|
37724
37621
|
function wc(e) {
|
|
37725
37622
|
if (e.length > 1e4) return !0;
|
|
@@ -37792,8 +37689,6 @@ function Dc(e) {
|
|
|
37792
37689
|
}
|
|
37793
37690
|
return t;
|
|
37794
37691
|
}
|
|
37795
|
-
//#endregion
|
|
37796
|
-
//#region packages/core/src/excel-date.ts
|
|
37797
37692
|
var Oc = 864e5, kc = Date.UTC(1899, 11, 30), Ac = Date.UTC(1904, 0, 1);
|
|
37798
37693
|
function jc(e, t = !1) {
|
|
37799
37694
|
return Number.isFinite(e) && e >= 0 && e < (t ? 2957004 : 2958466);
|
|
@@ -37812,8 +37707,6 @@ function Pc(e, t = !1) {
|
|
|
37812
37707
|
let n = (e.getTime() - kc) / Oc;
|
|
37813
37708
|
return n <= 60 ? n - 1 : n;
|
|
37814
37709
|
}
|
|
37815
|
-
//#endregion
|
|
37816
|
-
//#region packages/core/src/excel-number-format.ts
|
|
37817
37710
|
function Fc(e) {
|
|
37818
37711
|
if (e.length >= 4) return 3;
|
|
37819
37712
|
let t = e[e.length - 1], n = 0;
|
|
@@ -38133,8 +38026,6 @@ function Jc(e) {
|
|
|
38133
38026
|
}
|
|
38134
38027
|
return !1;
|
|
38135
38028
|
}
|
|
38136
|
-
//#endregion
|
|
38137
|
-
//#region packages/core/src/text/round-decimal.ts
|
|
38138
38029
|
function Yc(e, t) {
|
|
38139
38030
|
if (!Number.isFinite(e)) return String(e);
|
|
38140
38031
|
let n = Math.max(0, Math.trunc(t)), r = e < 0, [i, a = ""] = Xc(Math.abs(e).toString()).split("."), o = a.padEnd(n + 1, "0"), s = o.slice(0, n), c = o.charCodeAt(n) - 48, l = (i + s).split("").map((e) => e.charCodeAt(0) - 48);
|
|
@@ -38156,8 +38047,6 @@ function Xc(e) {
|
|
|
38156
38047
|
let [, n, r = "", i] = t, a = parseInt(i, 10), o = n + r, s = n.length + a;
|
|
38157
38048
|
return s <= 0 ? "0." + "0".repeat(-s) + o : s >= o.length ? o + "0".repeat(s - o.length) : o.slice(0, s) + "." + o.slice(s);
|
|
38158
38049
|
}
|
|
38159
|
-
//#endregion
|
|
38160
|
-
//#region packages/core/src/chart/chart-number-format.ts
|
|
38161
38050
|
var Zc = /* @__PURE__ */ new Map();
|
|
38162
38051
|
function Qc(e, t = !1, n = typeof navigator > "u" ? void 0 : navigator.language) {
|
|
38163
38052
|
if (!jc(e, t)) return "#";
|
|
@@ -38254,8 +38143,6 @@ function rl(e, t) {
|
|
|
38254
38143
|
let n = t.indexOf("."), r = n >= 0 ? t.slice(0, n) : t, i = n >= 0 ? t.slice(n + 1) : "", a = /,/.test(r), o = (i.match(/[#0?]/g) ?? []).length, s = (r.replace(/,/g, "").match(/0/g) ?? []).length, [c, l = ""] = Yc(e, o).split("."), u = c.padStart(s, "0"), d = a ? u.replace(/\B(?=(\d{3})+(?!\d))/g, ",") : u;
|
|
38255
38144
|
return o === 0 ? d : `${d}.${l.padEnd(o, "0")}`;
|
|
38256
38145
|
}
|
|
38257
|
-
//#endregion
|
|
38258
|
-
//#region packages/core/src/chart/data-label-content.ts
|
|
38259
38146
|
function il(e) {
|
|
38260
38147
|
if (e.customText) return e.customText;
|
|
38261
38148
|
let t = [];
|
|
@@ -38265,8 +38152,6 @@ function il(e) {
|
|
|
38265
38152
|
}
|
|
38266
38153
|
return e.showPercent && e.percentRatio != null && t.push(el(e.percentRatio, e.percentFormatCode ?? e.formatCode ?? "0%", e.date1904)), e.showBubbleSize && e.bubbleSize != null && t.push(el(e.bubbleSize, e.formatCode ?? null, e.date1904)), t.filter((e) => e !== "").join(e.separator ?? e.defaultSeparator ?? " ");
|
|
38267
38154
|
}
|
|
38268
|
-
//#endregion
|
|
38269
|
-
//#region packages/core/src/chart/image-fill-context.ts
|
|
38270
38155
|
var al;
|
|
38271
38156
|
function ol(e, t) {
|
|
38272
38157
|
let n = al;
|
|
@@ -38280,8 +38165,6 @@ function ol(e, t) {
|
|
|
38280
38165
|
function sl(e, t, n, r, i, a, o, s = 0) {
|
|
38281
38166
|
return al?.(e, t, n, r, i, a, o, s) ?? !1;
|
|
38282
38167
|
}
|
|
38283
|
-
//#endregion
|
|
38284
|
-
//#region packages/core/src/chart/label-box.ts
|
|
38285
38168
|
function cl(e, t, n, r, i = 0, a = i) {
|
|
38286
38169
|
if (!t || !e && !r) return e ?? void 0;
|
|
38287
38170
|
let o = e ?? {}, s = t.fillNoStyle !== !0 && (t.fillPaintAuthored === !0 || t.fillHidden === !0 || t.fillPaints != null || t.fillColors != null), c = o.fillHidden === !0 ? U(n) : void 0, l = H(o.style, n, i), u = o.fillPaint != null || o.fill != null || l !== void 0 || o.fillHidden === !0 && c !== void 0 || o.fillPaintAuthored === !0 && o.fillHidden !== !0, d = c === void 0 ? o.fillPaint ?? (o.fill ? {
|
|
@@ -38345,8 +38228,6 @@ function dl(e, t, n, r, i = 0) {
|
|
|
38345
38228
|
a && (e.save(), e.strokeStyle = a, e.lineWidth = t.borderWidthEmu == null ? Math.max(.25, .75 * r) : Math.max(.25, t.borderWidthEmu / G * r), e.setLineDash(xi(t.borderCustomDash, t.borderDash, e.lineWidth)), t.borderCap === "rnd" ? e.lineCap = "round" : t.borderCap === "sq" ? e.lineCap = "square" : t.borderCap === "flat" && (e.lineCap = "butt"), t.borderJoin === "round" ? e.lineJoin = "round" : t.borderJoin === "bevel" ? e.lineJoin = "bevel" : t.borderJoin === "miter" && (e.lineJoin = "miter"), e.strokeRect(n.x, n.y, n.w, n.h), e.restore());
|
|
38346
38229
|
}, t.effectFallbackIndex ?? t.effectStyleIndex ?? 0);
|
|
38347
38230
|
}
|
|
38348
|
-
//#endregion
|
|
38349
|
-
//#region packages/core/src/chart/chart-ex-label.ts
|
|
38350
38231
|
function fl(e) {
|
|
38351
38232
|
let t = e?.divisor;
|
|
38352
38233
|
return t != null && Number.isFinite(t) && t > 0 ? t : 1;
|
|
@@ -38385,8 +38266,6 @@ function pl(e, t, n, r, i, a, o, s, c) {
|
|
|
38385
38266
|
textStyle: yn(u, l)
|
|
38386
38267
|
};
|
|
38387
38268
|
}
|
|
38388
|
-
//#endregion
|
|
38389
|
-
//#region packages/core/src/chart/chart-ex-hierarchy-labels.ts
|
|
38390
38269
|
function ml(e, t) {
|
|
38391
38270
|
let n = e.chartexSunburst ? {
|
|
38392
38271
|
rows: e.chartexSunburst.rows,
|
|
@@ -38459,8 +38338,6 @@ function hl(e, t) {
|
|
|
38459
38338
|
}
|
|
38460
38339
|
return "ok";
|
|
38461
38340
|
}
|
|
38462
|
-
//#endregion
|
|
38463
|
-
//#region packages/core/src/chart/waterfall-plan.ts
|
|
38464
38341
|
function gl(e, t, n) {
|
|
38465
38342
|
let r = Math.max(e.length, t), i = new Set(n), a = !1, o = (e, t) => {
|
|
38466
38343
|
let n = e + t;
|
|
@@ -38499,8 +38376,6 @@ function gl(e, t, n) {
|
|
|
38499
38376
|
cumulativeOverflow: a
|
|
38500
38377
|
};
|
|
38501
38378
|
}
|
|
38502
|
-
//#endregion
|
|
38503
|
-
//#region packages/core/src/chart/resource-limits.ts
|
|
38504
38379
|
var _l = 1e4, vl = 4096, yl = 1048576, bl = 4096;
|
|
38505
38380
|
function xl(e, t, n, r = n) {
|
|
38506
38381
|
return fc(e, t, n, r) != null;
|
|
@@ -38736,8 +38611,6 @@ function Al(e) {
|
|
|
38736
38611
|
}
|
|
38737
38612
|
return t;
|
|
38738
38613
|
}
|
|
38739
|
-
//#endregion
|
|
38740
|
-
//#region packages/core/src/chart/three-d-surface-picture-plan.ts
|
|
38741
38614
|
function jl(e, t) {
|
|
38742
38615
|
return !Number.isSafeInteger(t) || t < 0 ? !1 : e.slabFaces ? t === 0 ? e.slabFaces.front : t === 1 || t >= 6 ? !1 : t % 2 == 0 ? e.slabFaces.end : e.slabFaces.sides : t === 0;
|
|
38743
38616
|
}
|
|
@@ -38825,8 +38698,6 @@ function Rl(e, t, n, r) {
|
|
|
38825
38698
|
slabFaces: s
|
|
38826
38699
|
});
|
|
38827
38700
|
}
|
|
38828
|
-
//#endregion
|
|
38829
|
-
//#region packages/core/src/chart/axis-style.ts
|
|
38830
38701
|
function zl(e, t) {
|
|
38831
38702
|
return e ? Math.max(.5, e / G) * t : 1;
|
|
38832
38703
|
}
|
|
@@ -38845,8 +38716,6 @@ function Vl(e, t, n) {
|
|
|
38845
38716
|
function Hl(e) {
|
|
38846
38717
|
return e.catAxisCrossBetween !== "midCat";
|
|
38847
38718
|
}
|
|
38848
|
-
//#endregion
|
|
38849
|
-
//#region packages/core/src/chart/compound-frame.ts
|
|
38850
38719
|
function Ul(e, t) {
|
|
38851
38720
|
if (!Number.isFinite(e) || e <= 0) return [];
|
|
38852
38721
|
let n = t === "dbl" ? [
|
|
@@ -38887,8 +38756,6 @@ function Gl(e, t, n, r, i, a, o, s = 0) {
|
|
|
38887
38756
|
a > 0 && o > 0 && (e.lineWidth = c.width, s > 0 ? (Wl(e, t + c.center, n + c.center, a, o, Math.max(0, s - c.center)), e.stroke()) : e.strokeRect(t + c.center, n + c.center, a, o));
|
|
38888
38757
|
}
|
|
38889
38758
|
}
|
|
38890
|
-
//#endregion
|
|
38891
|
-
//#region packages/core/src/chart/legend-frame.ts
|
|
38892
38759
|
function Kl(e) {
|
|
38893
38760
|
let t = B(e, "legend"), n = e.legendFillHidden === !0 && U(t) === void 0;
|
|
38894
38761
|
if (!(e.legendFillHidden === !0 && !n)) {
|
|
@@ -38909,8 +38776,6 @@ function ql(e, t, n, r, i = 0) {
|
|
|
38909
38776
|
e.restore();
|
|
38910
38777
|
});
|
|
38911
38778
|
}
|
|
38912
|
-
//#endregion
|
|
38913
|
-
//#region packages/core/src/chart/source-visibility.ts
|
|
38914
38779
|
function Jl(e, t) {
|
|
38915
38780
|
if (!e.some(Boolean)) return null;
|
|
38916
38781
|
let n = Math.max(t, e.length), r = [], i = new Int32Array(n);
|
|
@@ -39066,8 +38931,6 @@ function su(e) {
|
|
|
39066
38931
|
plotGroups: a
|
|
39067
38932
|
};
|
|
39068
38933
|
}
|
|
39069
|
-
//#endregion
|
|
39070
|
-
//#region packages/core/src/chart/image-fill-geometry.ts
|
|
39071
38934
|
function cu() {
|
|
39072
38935
|
throw new r("image-effect-work", bl, 2 ** 53 - 1);
|
|
39073
38936
|
}
|
|
@@ -39185,8 +39048,6 @@ function _u(e, t, n, r = !1) {
|
|
|
39185
39048
|
counts: g
|
|
39186
39049
|
};
|
|
39187
39050
|
}
|
|
39188
|
-
//#endregion
|
|
39189
|
-
//#region packages/core/src/chart/pareto-layout.ts
|
|
39190
39051
|
function vu(e, t) {
|
|
39191
39052
|
return e == null ? e : e.flatMap((e) => {
|
|
39192
39053
|
let n = t.get(e.idx);
|
|
@@ -39240,8 +39101,6 @@ function bu(e, t, n = {}) {
|
|
|
39240
39101
|
}
|
|
39241
39102
|
};
|
|
39242
39103
|
}
|
|
39243
|
-
//#endregion
|
|
39244
|
-
//#region packages/core/src/chart/shared/palette.ts
|
|
39245
39104
|
var xu = [
|
|
39246
39105
|
"4472C4",
|
|
39247
39106
|
"ED7D31",
|
|
@@ -39312,8 +39171,6 @@ function Ou(e, t, n, r, i, a, o, s, c, l, u, d = !0) {
|
|
|
39312
39171
|
function ku(e, t) {
|
|
39313
39172
|
return e?.chartexFormatIdx ?? t;
|
|
39314
39173
|
}
|
|
39315
|
-
//#endregion
|
|
39316
|
-
//#region packages/core/src/chart/axis-scale.ts
|
|
39317
39174
|
function Au(e, t = {
|
|
39318
39175
|
min: 0,
|
|
39319
39176
|
max: 1
|
|
@@ -39649,8 +39506,6 @@ function Ku(e, t, n, r) {
|
|
|
39649
39506
|
ys: []
|
|
39650
39507
|
};
|
|
39651
39508
|
}
|
|
39652
|
-
//#endregion
|
|
39653
|
-
//#region packages/core/src/chart/shared/geometry.ts
|
|
39654
39509
|
function qu(e, t, n) {
|
|
39655
39510
|
return e < t ? t : e > n ? n : e;
|
|
39656
39511
|
}
|
|
@@ -39667,8 +39522,6 @@ function Yu(e, t = 1) {
|
|
|
39667
39522
|
function Xu(e, t, n = 1) {
|
|
39668
39523
|
return xi(e, t, Number.isFinite(n) && n > 0 ? n : 1);
|
|
39669
39524
|
}
|
|
39670
|
-
//#endregion
|
|
39671
|
-
//#region packages/core/src/chart/shared/fonts.ts
|
|
39672
39525
|
var Zu = "Calibri, Arial, sans-serif";
|
|
39673
39526
|
function Qu(e) {
|
|
39674
39527
|
return `"${e}", ${Zu}`;
|
|
@@ -39683,8 +39536,6 @@ function ed(e, t, n) {
|
|
|
39683
39536
|
function td(e, t, n = !1, r = !1) {
|
|
39684
39537
|
return `${r ? "italic " : ""}${n ? "bold " : ""}${e}px ${t}`;
|
|
39685
39538
|
}
|
|
39686
|
-
//#endregion
|
|
39687
|
-
//#region packages/core/src/chart/shared/style-roles.ts
|
|
39688
39539
|
function nd(e, t, n, r = {
|
|
39689
39540
|
x: 0,
|
|
39690
39541
|
y: 0,
|
|
@@ -40410,8 +40261,6 @@ function Od(e, t) {
|
|
|
40410
40261
|
dataLabelFontFace: Ce
|
|
40411
40262
|
} : e))));
|
|
40412
40263
|
}
|
|
40413
|
-
//#endregion
|
|
40414
|
-
//#region packages/core/src/chart/shared/axis.ts
|
|
40415
40264
|
function kd(e, t, n, r, i, a, o, s = !1, c = !1, l = "major", u = 1, d) {
|
|
40416
40265
|
if (c || t === "none" || !t) return;
|
|
40417
40266
|
let f = jd(l, o, u), p = t === "cross" ? f / 2 : f, m = e.strokeStyle, h = e.lineWidth, g = e.getLineDash?.() ?? [];
|
|
@@ -40754,8 +40603,6 @@ function cf(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m = !1) {
|
|
|
40754
40603
|
};
|
|
40755
40604
|
t.valAxisTitle && h(t.valAxisTitle, m ? "horizontal" : "left", p, t.valAxisTitleFontBold ?? !0, t.valAxisTitleFontItalic ?? !1, sf(t.valAxisTitleFontColor), ed(t, t.valAxisTitleFontFace, "major"), t.valAxisTitleRotation, t.valAxisTitleVerticalMode, t.valAxisTitleManualLayout, t.valAxisTitleStyle), t.catAxisTitle && h(t.catAxisTitle, m ? "left" : "horizontal", f, t.catAxisTitleFontBold ?? !0, t.catAxisTitleFontItalic ?? !1, sf(t.catAxisTitleFontColor), ed(t, t.catAxisTitleFontFace, "major"), t.catAxisTitleRotation, t.catAxisTitleVerticalMode, t.catAxisTitleManualLayout, t.catAxisTitleStyle);
|
|
40756
40605
|
}
|
|
40757
|
-
//#endregion
|
|
40758
|
-
//#region packages/core/src/chart/date-axis.ts
|
|
40759
40606
|
function lf(e) {
|
|
40760
40607
|
return e === "days" || e === "months" || e === "years" ? e : null;
|
|
40761
40608
|
}
|
|
@@ -40817,8 +40664,6 @@ function pf(e) {
|
|
|
40817
40664
|
minorTicks: c == null ? [] : j(a, c).filter((e) => !ee.has(l(e.serial)))
|
|
40818
40665
|
};
|
|
40819
40666
|
}
|
|
40820
|
-
//#endregion
|
|
40821
|
-
//#region packages/core/src/chart/shared/secondary-axis.ts
|
|
40822
40667
|
function mf(e, t, n = Ud(e)) {
|
|
40823
40668
|
return e.catAxisIsDate === !0 ? pf({
|
|
40824
40669
|
categories: t,
|
|
@@ -40951,8 +40796,6 @@ function Sf(e, t) {
|
|
|
40951
40796
|
let n = Ht(e.titleFontSizeHpt, t);
|
|
40952
40797
|
return n + 8 + Kt(e.title, n, "right", e.titleRotation, e.titleVerticalMode);
|
|
40953
40798
|
}
|
|
40954
|
-
//#endregion
|
|
40955
|
-
//#region packages/core/src/chart/chart-ex-column-paint.ts
|
|
40956
40799
|
function Cf(e, t) {
|
|
40957
40800
|
let n = new Set(t);
|
|
40958
40801
|
if (e.series.some((e) => !n.has(e))) return !1;
|
|
@@ -41088,8 +40931,6 @@ function Af(e, t, n) {
|
|
|
41088
40931
|
let a = 1 - e.overlapPct / 100, o = i / (1 + (e.seriesCount - 1) * a + e.gapWidthPct / 100), s = o * a, c = o + (e.seriesCount - 1) * s, l = r - i / 2 + (i - c) / 2 + t * s;
|
|
41089
40932
|
return l + o > 0 && l < 1;
|
|
41090
40933
|
}
|
|
41091
|
-
//#endregion
|
|
41092
|
-
//#region packages/core/src/chart/chart-ex-legend-series.ts
|
|
41093
40934
|
function jf(e, t) {
|
|
41094
40935
|
return {
|
|
41095
40936
|
name: e,
|
|
@@ -41098,8 +40939,6 @@ function jf(e, t) {
|
|
|
41098
40939
|
trendLines: t?.trendLines
|
|
41099
40940
|
};
|
|
41100
40941
|
}
|
|
41101
|
-
//#endregion
|
|
41102
|
-
//#region packages/core/src/chart/chart-ex-column-plan.ts
|
|
41103
40942
|
function Mf(e, t, n, r = []) {
|
|
41104
40943
|
let i = Ne(e, {
|
|
41105
40944
|
chartType: "clusteredBar",
|
|
@@ -41181,8 +41020,6 @@ function Ff(e, t) {
|
|
|
41181
41020
|
if (t(a, void 0, ku(a, n), e.series.length) === !1) return;
|
|
41182
41021
|
}
|
|
41183
41022
|
}
|
|
41184
|
-
//#endregion
|
|
41185
|
-
//#region packages/core/src/chart/image-fill.ts
|
|
41186
41023
|
var If = new Set([
|
|
41187
41024
|
"line",
|
|
41188
41025
|
"stackedLine",
|
|
@@ -41786,8 +41623,6 @@ function mp(e, t, n, r, i, a, o = lt, s = 0) {
|
|
|
41786
41623
|
e.restore();
|
|
41787
41624
|
}
|
|
41788
41625
|
}
|
|
41789
|
-
//#endregion
|
|
41790
|
-
//#region packages/core/src/chart/plot-area-frame.ts
|
|
41791
41626
|
function hp(e, t, n, r, i, a, o, s = 0) {
|
|
41792
41627
|
Sc(e, t.plotAreaStyle, t.threeD ? t.chartStyleRoles?.plotArea3D : t.chartStyleRoles?.plotArea, 0, {
|
|
41793
41628
|
x: n,
|
|
@@ -41807,5 +41642,4 @@ function hp(e, t, n, r, i, a, o, s = 0) {
|
|
|
41807
41642
|
l && (e.strokeStyle = l, e.setLineDash(xi(t.plotAreaLineCustomDash, t.plotAreaLineDash, c)), e.lineCap = t.plotAreaLineCap === "rnd" ? "round" : t.plotAreaLineCap === "sq" ? "square" : "butt", e.lineJoin = t.plotAreaLineJoin === "round" || t.plotAreaLineJoin === "bevel" ? t.plotAreaLineJoin : "miter", Gl(e, n, r, i, a, c, t.plotAreaLineCompound)), e.restore();
|
|
41808
41643
|
});
|
|
41809
41644
|
}
|
|
41810
|
-
//#endregion
|
|
41811
41645
|
export { Wd as $, Le as $a, nn as $i, Bs as $n, ur as $r, Rl as $t, mf as A, ct as Aa, Nn as Ai, Nc as An, i as Ao, Oa as Ar, Gu as At, Md as B, U as Ba, Cn as Bi, lc as Bn, _i as Br, Ou as Bt, jf as C, pt as Ca, Kn as Ci, el as Cn, m as Co, ho as Cr, qu as Ct, Cf as D, dt as Da, On as Di, Jc as Dn, d as Do, bo as Dr, Pu as Dt, Of as E, ut as Ea, Ln as Ei, Uc as En, u as Eo, lo as Er, Nu as Et, hf as F, Ze as Fa, bn as Fi, Ec as Fn, Ei as Fr, xu as Ft, tf as G, Je as Ga, an as Gi, qs as Gn, ii as Gr, su as Gt, zd as H, W as Ha, gn as Hi, nc as Hn, ci as Hr, Tu as Ht, Sf as I, rt as Ia, xn as Ii, Dc as In, ji as Ir, Du as It, kd as J, V as Ja, Jt as Ji, Hs as Jn, Tr as Jr, Gl as Jt, Bd as K, it as Ka, Kt as Ki, ec as Kn, ri as Kr, au as Kt, xf as L, We as La, vn as Li, Z as Ln, hi as Lr, Cu as Lt, bf as M, ot as Ma, Dn as Mi, Pc as Mn, co as Mr, Vu as Mt, vf as N, at as Na, Pn as Ni, Tc as Nn, so as Nr, Wu as Nt, kf as O, st as Oa, Mn as Oi, Ic as On, o as Oo, go as Or, Au as Ot, _f as P, Xe as Pa, En as Pi, wc as Pn, Ti as Pr, Su as Pt, af as Q, Ce as Qa, tn as Qi, Rs as Qn, pr as Qr, Vl as Qt, Qd as R, H as Ra, yn as Ri, Sc as Rn, xi as Rr, ku as Rt, Pf as S, ht as Sa, Fn as Si, $c as Sn, h as So, uo as Sr, Ju as St, Af as T, _t as Ta, Xn as Ti, Yc as Tn, f as To, vo as Tr, Yu as Tt, Vd as U, qe as Ua, _n as Ui, ac as Un, li as Ur, bu as Ut, Ud as V, tt as Va, wn as Vi, rc as Vn, fi as Vr, Eu as Vt, rf as W, nt as Wa, fn as Wi, ic as Wn, ui as Wr, _u as Wt, Rd as X, Pe as Xa, Ut as Xi, zs as Xn, gr as Xr, Hl as Xt, cf as Y, Ne as Ya, qt as Yi, Ws as Yn, vr as Yr, zl as Yt, Xd as Z, Te as Za, en as Zi, Vs as Zn, q as Zr, Bl as Zt, Gf as _, Ot as _a, Jn as _i, cl as _n, P as _o, Oo as _r, Zu as _t, Lf as a, Rt as aa, ar as ai, bl as an, ie as ao, fs as ar, Hd as at, Nf as b, gt as ba, Gn as bi, il as bn, v as bo, mo as br, ed as bt, Jf as c, sn as ca, rr as ci, El as cn, ue as co, ls as cr, $d as ct, cp as d, Dt as da, Vn as di, kl as dn, te as do, Ts as dr, id as dt, Yt as ea, cr as ei, jl as en, Ee as eo, Ls as er, Jd as et, ip as f, Tt as fa, Bn as fi, gl as fn, L as fo, os as fr, od as ft, Kf as g, jt as ga, Yn as gi, ll as gn, de as go, es as gr, yd as gt, pp as h, At as ha, Wn as hi, pl as hn, ne as ho, $o as hr, ad as ht, Yf as i, Ft as ia, K as ii, _l as in, Ie as io, _s as ir, Nd as it, gf as j, lt as ja, An as ji, jc as jn, Da as jr, ju as jt, wf as k, G as ka, jn as ki, Fc as kn, a as ko, Aa as kr, Ku as kt, rp as l, Wt as la, Rn as li, Al as ln, re as lo, Es as lr, nd as lt, fp as m, Ct as ma, qn as mi, hl as mn, I as mo, Qo as mr, rd as mt, Vf as n, zt as na, lr as ni, Ml as nn, B as no, js as nr, Zd as nt, Bf as o, cn as oa, ir as oi, yl as on, ae as oo, vs as or, Pd as ot, ap as p, wt as pa, Hn as pi, ml as pn, le as po, as as pr, sd as pt, qd as q, ze as qa, Ht as qi, Us as qn, ti as qr, ql as qt, Hf as r, on as ra, or as ri, Pl as rn, xe as ro, gs as rr, Ad as rt, sp as s, Nt as sa, nr as si, vl as sn, ce as so, bs as sr, Fd as st, hp as t, Bt as ta, dr as ti, Nl as tn, ke as to, As as tr, Kd as tt, Uf as u, rn as ua, Un as ui, Ol as un, fe as uo, ws as ur, Od as ut, mp as v, bt as va, Qn as vi, ul as vn, b as vo, Eo as vr, Qu as vt, Ef as w, vt as wa, Zn as wi, Qc as wn, _ as wo, yo as wr, Xu as wt, Ff as x, ft as xa, In as xi, tl as xn, y as xo, _o as xr, $u as xt, Zf as y, mt as ya, zn as yi, dl as yn, x as yo, po as yr, td as yt, jd as z, et as za, Tn as zi, bc as zn, yi as zr, wu as zt };
|