@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.
Files changed (95) hide show
  1. package/README.md +4 -3
  2. package/dist/{abort-VrnK7mdP.js → abort-JztSoyw2.js} +0 -2
  3. package/dist/assets/render-worker-BUa1gyCE.js +15 -0
  4. package/dist/{bounded-raw-part-cache-C3daknU-.js → bounded-raw-part-cache-Bi_VqXmg.js} +7 -115
  5. package/dist/{bundled-asset-url-E2nXURF9.js → bundled-asset-url-BMJ8vNHP.js} +0 -2
  6. package/dist/{canvas-viewer-mechanics-SZWSnn6j.js → canvas-viewer-mechanics-ycCX6v-z.js} +3 -25
  7. package/dist/{cfb-guard-dNeUiANF.js → cfb-guard-BIaHdonq.js} +1 -13
  8. package/dist/chart-ex.mjs +4 -7
  9. package/dist/{chunk-Dy4uBu1J.js → chunk-D5OxutzX.js} +0 -2
  10. package/dist/{comment-overlay-controller-CHDxT0e7.js → comment-overlay-controller-CR5ySvki.js} +2 -22
  11. package/dist/{comment-ui-runtime-Dk2qrPy_.js → comment-ui-runtime-BWhLz4gq.js} +5 -7
  12. package/dist/comment-ui-runtime-BtP_TpvT.js +2 -0
  13. package/dist/{comment-ui-runtime-BcwaRnMR.js → comment-ui-runtime-CwTOCwA8.js} +5 -7
  14. package/dist/{delimited-text-worker-host-CikWU6_m.js → delimited-text-worker-host-RwvuSsP2.js} +0 -4
  15. package/dist/{document-model-source-BD2VSd2L.js → document-model-source-Csow9uxO.js} +9 -11
  16. package/dist/{document-pull-client-DhSGspvi.js → document-pull-client-CHpz0Q1p.js} +7572 -7285
  17. package/dist/{document-pull-worker-D-E0Iz3P.js → document-pull-worker-1ZJv9f9W.js} +3 -7
  18. package/dist/{docx-CXfILbzI.js → docx-D9E0vCq-.js} +12 -18
  19. package/dist/{docx-CCZBO1WQ.js → docx-GXxH0AwW.js} +13 -65
  20. package/dist/{docx-model-source-Ci6xb487.js → docx-model-source-aKx2gZH9.js} +7 -9
  21. package/dist/docx.mjs +6 -6
  22. package/dist/docx_parser_bg.wasm +0 -0
  23. package/dist/{drawingml-shape-Bp0yEZHC.js → drawingml-shape-BwELUfNW.js} +2 -6
  24. package/dist/{duotone-DN8P4aXe.js → duotone-BI7CoghW.js} +2 -6
  25. package/dist/{emf-CGFQIz6c.js → emf-DgUBx9BU.js} +2 -4
  26. package/dist/{font-preload-demand-CGOB-MoE.js → font-preload-demand-BuMy4iJ1.js} +2 -8
  27. package/dist/{grid-geometry-C3IG20ut.js → grid-geometry-CqTDvpDr.js} +1 -6
  28. package/dist/{host-layout-DVMw8hDY.js → host-layout-Cz_lCuTZ.js} +0 -1
  29. package/dist/{host-layout-measure-BAysJILu.js → host-layout-measure-GU0oJ4Me.js} +1 -3
  30. package/dist/{in-process-pull-transport-DuXcPZng.js → in-process-pull-transport-BPJ7M0uC.js} +0 -2
  31. package/dist/index.mjs +3 -3
  32. package/dist/internal-companion.mjs +3 -5
  33. package/dist/{line-distribute-DhQqysA2.js → line-distribute-C_CJisnJ.js} +2 -18
  34. package/dist/math.mjs +2 -8
  35. package/dist/{mathjax-BhwN6ilc.js → mathjax-DvwccQ8e.js} +0 -2
  36. package/dist/{model-source-kz_NkZqT.js → model-source-COXegBNA.js} +1 -3
  37. package/dist/{model-source-BkmyX_r-.js → model-source-DLXFe4_2.js} +3 -5
  38. package/dist/{model-source-session-CnPCTRDD.js → model-source-session-B3WVQCM5.js} +5 -9
  39. package/dist/{model-source-session-CF4iXav8.js → model-source-session-BVZBHZ04.js} +5 -11
  40. package/dist/{model-source-session-CJmkItIK.js → model-source-session-DfUgVpr1.js} +4 -8
  41. package/dist/node.mjs +6 -6
  42. package/dist/{pixel-budget-BpTYrepD.js → pixel-budget-DI82Hn3R.js} +0 -2
  43. package/dist/{plot-area-frame-Bs_j4uu7.js → plot-area-frame-D3JtHvov.js} +1 -167
  44. package/dist/{pptx-BhmLP_Ed.js → pptx-BD0jwWs6.js} +9 -11
  45. package/dist/{pptx-Bo9hCGQU.js → pptx-CLyebeF_.js} +16 -62
  46. package/dist/{pptx-model-source-J0SrVkO6.js → pptx-model-source-D_2mnSxI.js} +5 -7
  47. package/dist/pptx.mjs +7 -7
  48. package/dist/pptx_parser_bg.wasm +0 -0
  49. package/dist/{presentation-model-source-CebYmrOD.js → presentation-model-source-rWZ3Y-S_.js} +8 -10
  50. package/dist/{raster-target-YQ4G6rxo.js → raster-target-Ca3tyA0L.js} +0 -2
  51. package/dist/{read-only-comment-decoration-PidH0wnP.js → read-only-comment-decoration-B06YO2zk.js} +0 -4
  52. package/dist/{read-only-comment-margin-B52rDVKo.js → read-only-comment-margin-Ee9Y6vPg.js} +0 -2
  53. package/dist/region-map.mjs +4 -7
  54. package/dist/{render-hT2OVZUi.js → render-Cs1bgbEm.js} +3 -5
  55. package/dist/{render-worker-host-Desevuoc.js → render-worker-host-BR7n4xKy.js} +0 -4
  56. package/dist/render-worker-host-BxsA-yJo.js +5 -0
  57. package/dist/{render-worker-host-BmAQ-sWT.js → render-worker-host-CZC0WOn8.js} +0 -4
  58. package/dist/{renderer-CvZ4JmoL.js → renderer-DFDF48zw.js} +7 -55
  59. package/dist/{renderer-module-contract-CWM7jv6d.js → renderer-module-contract-BuTx2FWJ.js} +0 -2
  60. package/dist/{renderer-BFWqhLEt.js → renderer-xdugdcMd.js} +6 -70
  61. package/dist/{resource-measurement-DBiUwblM.js → resource-measurement-CTGrNAsD.js} +2 -18
  62. package/dist/{session-CWDKFWCh.js → session-B5CgMc2N.js} +7 -17
  63. package/dist/{slide-pull-client-BuBvXMyc.js → slide-pull-client-43mS9T70.js} +9 -63
  64. package/dist/{three-d-BKwNPAP4.js → three-d-ByHGsYrX.js} +1 -11
  65. package/dist/three-d.mjs +4 -17
  66. package/dist/{tiff-contract-C6M3QcPp.js → tiff-contract-DEd8CGuz.js} +0 -2
  67. package/dist/tiff.mjs +5 -8
  68. package/dist/types/chart-ex.d.ts +2 -2
  69. package/dist/types/docx.d.ts +12 -11
  70. package/dist/types/index.d.ts +19 -15
  71. package/dist/types/internal-companion.d.ts +1 -1
  72. package/dist/types/math.d.ts +1 -1
  73. package/dist/types/node.d.ts +7 -6
  74. package/dist/types/pptx.d.ts +11 -11
  75. package/dist/types/region-map.d.ts +2 -2
  76. package/dist/types/three-d.d.ts +2 -2
  77. package/dist/types/tiff.d.ts +1 -1
  78. package/dist/types/xlsx.d.ts +14 -11
  79. package/dist/{visible-index-FeVA0mGE.js → visible-index-vN-4BNn7.js} +0 -2
  80. package/dist/{wasm-loader-rlgHmcSv.js → wasm-loader-KAOyLXzf.js} +0 -4
  81. package/dist/{wasm-runtime-generation-BWGfM44b.js → wasm-runtime-generation-BsWKRY7U.js} +1 -3
  82. package/dist/{workbook-model-source-Che8Zbjw.js → workbook-model-source-CZtKSWad.js} +9 -11
  83. package/dist/{worker-source-UAi3GNcM.js → worker-source-C29EQNUj.js} +0 -2
  84. package/dist/{worker-source-SbudzjYL.js → worker-source-D3NwPe6l.js} +0 -2
  85. package/dist/{worker-source-DrwhR9fw.js → worker-source-ZQE9C1j6.js} +0 -2
  86. package/dist/{worksheet-pull-client-Cxzj6uuB.js → worksheet-pull-client-D5zAevQv.js} +4 -18
  87. package/dist/{xlsx-C5BSwMUd.js → xlsx-S6orTmKI.js} +8 -16
  88. package/dist/{xlsx-CUVUep5I.js → xlsx-lvftmF1U.js} +119 -131
  89. package/dist/{xlsx-model-source-C3_PiPBo.js → xlsx-model-source-Cm9ocDgT.js} +8 -12
  90. package/dist/xlsx.mjs +7 -7
  91. package/dist/xlsx_parser_bg.wasm +0 -0
  92. package/package.json +2 -2
  93. package/dist/assets/render-worker-D_SMt5nl.js +0 -15
  94. package/dist/comment-ui-runtime-B7ZvovcS.js +0 -2
  95. package/dist/render-worker-host-Cz224I38.js +0 -9
@@ -1,11 +1,10 @@
1
- import { Ao as e, Gr as t, Kr as n, Nr as r, Sr as i, Yn as a, Zr as o, _o as s, _r as c, ar as l, cr as u, ei as d, ir as f, ko as p, or as m, qr as h, vo as g, xr as _, yo as v } from "./plot-area-frame-Bs_j4uu7.js";
2
- import { a as y, d as b, i as x, n as S, o as C, r as w, s as T, t as ee, u as E } from "./pixel-budget-BpTYrepD.js";
3
- import { B as te, F as ne, I as re, M as ie, N as ae, P as oe, z as se } from "./renderer-BFWqhLEt.js";
4
- import { n as ce, t as le } from "./tiff-contract-C6M3QcPp.js";
5
- import { n as ue, r as de } from "./raster-target-YQ4G6rxo.js";
6
- import { a as fe, c as pe, i as me, l as he, n as ge, r as _e, s as ve, t as ye } from "./duotone-DN8P4aXe.js";
7
- import { t as be } from "./mathjax-BhwN6ilc.js";
8
- //#region packages/core/src/fonts/font-registry.ts
1
+ import { Ao as e, Gr as t, Kr as n, Nr as r, Sr as i, Yn as a, Zr as o, _o as s, _r as c, ar as l, cr as u, ei as d, ir as f, ko as p, or as m, qr as h, vo as g, xr as _, yo as v } from "./plot-area-frame-D3JtHvov.js";
2
+ import { a as y, d as b, i as x, n as S, o as C, r as w, s as T, t as ee, u as E } from "./pixel-budget-DI82Hn3R.js";
3
+ import { B as te, F as ne, I as re, M as ie, N as ae, P as oe, z as se } from "./renderer-xdugdcMd.js";
4
+ import { n as ce, t as le } from "./tiff-contract-DEd8CGuz.js";
5
+ import { n as ue, r as de } from "./raster-target-Ca3tyA0L.js";
6
+ import { a as fe, c as pe, i as me, l as he, n as ge, r as _e, s as ve, t as ye } from "./duotone-BI7CoghW.js";
7
+ import { t as be } from "./mathjax-DvwccQ8e.js";
9
8
  var xe = /* @__PURE__ */ new Map();
10
9
  function Se(e, t, n) {
11
10
  let r = xe.get(e), i = r?.get(t);
@@ -42,8 +41,6 @@ function Ce(e) {
42
41
  }
43
42
  }
44
43
  }
45
- //#endregion
46
- //#region packages/core/src/fonts/preload.ts
47
44
  var we = 15e3;
48
45
  function Te(e) {
49
46
  return Promise.race([e, new Promise((e) => setTimeout(e, we))]);
@@ -218,19 +215,13 @@ async function Ne(e, t, n = Oe()) {
218
215
  function Pe(e) {
219
216
  Ce(e);
220
217
  }
221
- //#endregion
222
- //#region packages/core/src/worker/resource-policy.generated.ts
223
218
  var Fe = 134217728, Ie = 268435456, Le = 4096, Re = 2e4, ze = 67108864, Be = 67108864, Ve = 67108864, He = 67108864, Ue = 134217728, We = 134217728, Ge = 1e5, Ke = 25e4, qe = 33554432, Je = 67108864, Ye = 2e5, Xe = 5e5, Ze = 67108864, Qe = 134217728, $e = 25e4, et = 31457280;
224
- //#endregion
225
- //#region packages/core/src/text/cjk-ranges.ts
226
219
  function tt(e) {
227
220
  return e >= 12288 && e <= 40959 || e >= 44032 && e <= 55203 || e >= 63744 && e <= 64255 || e >= 65280 && e <= 65519;
228
221
  }
229
222
  function nt(e) {
230
223
  return e === 32 || e === 9 || e === 10 || e === 13 ? !1 : !tt(e);
231
224
  }
232
- //#endregion
233
- //#region packages/core/src/text/sea-break.ts
234
225
  function rt(e) {
235
226
  return e === "my" || e === "bo";
236
227
  }
@@ -402,8 +393,6 @@ function xt(e) {
402
393
  }
403
394
  return n;
404
395
  }
405
- //#endregion
406
- //#region packages/core/src/fonts/local-metrics.ts
407
396
  var St = /* @__PURE__ */ new WeakSet();
408
397
  function Ct(e) {
409
398
  return St.has(e);
@@ -493,8 +482,6 @@ async function Dt(e, t = Oe()) {
493
482
  function Ot(e) {
494
483
  Ce(e);
495
484
  }
496
- //#endregion
497
- //#region packages/core/src/fonts/office-fallback.ts
498
485
  var kt = 32, At = 8e3;
499
486
  function jt(e) {
500
487
  let t = e.family.trim();
@@ -626,8 +613,6 @@ async function zt(e, t) {
626
613
  s = setTimeout(e, At);
627
614
  })]), s !== void 0 && clearTimeout(s), a = !1, new Set(r);
628
615
  }
629
- //#endregion
630
- //#region packages/core/src/fonts/cjk-fallback.ts
631
616
  function Bt(e) {
632
617
  if (!e?.trim()) return null;
633
618
  let t;
@@ -671,8 +656,6 @@ function Vt(e = "auto") {
671
656
  }
672
657
  return "jp";
673
658
  }
674
- //#endregion
675
- //#region packages/core/src/shape/custGeom.ts
676
659
  function Ht(e, t, n, r, i) {
677
660
  let a = Infinity, o = Infinity, s = -Infinity, c = -Infinity, l = (e, t) => {
678
661
  !Number.isFinite(e) || !Number.isFinite(t) || (a = Math.min(a, e), o = Math.min(o, t), s = Math.max(s, e), c = Math.max(c, t));
@@ -738,8 +721,6 @@ function Ut(e, t, n, r, i, a) {
738
721
  }
739
722
  }
740
723
  }
741
- //#endregion
742
- //#region packages/core/src/shape/custgeom-endpoints.ts
743
724
  var k = 1e-9;
744
725
  function Wt(e) {
745
726
  return e.cmd === "lineTo" || e.cmd === "cubicBezTo" || e.cmd === "quadBezTo" || e.cmd === "arcTo";
@@ -904,8 +885,6 @@ function Zt(e) {
904
885
  }
905
886
  return t;
906
887
  }
907
- //#endregion
908
- //#region packages/core/src/shape/path-data.ts
909
888
  var Qt = class extends RangeError {};
910
889
  function $t(e = () => {}) {
911
890
  let t = [], n = (n, r) => {
@@ -23006,8 +22985,6 @@ function on(e, t, n) {
23006
22985
  }
23007
22986
  }
23008
22987
  }
23009
- //#endregion
23010
- //#region packages/core/src/shape/preset-geometry/path-executor.ts
23011
22988
  var sn = Math.PI * 2 / 216e5;
23012
22989
  function cn(e, t, n, r, i, a, o) {
23013
22990
  let s = t.w == null ? 1 : a / t.w, c = t.h == null ? 1 : o / t.h, l = (e) => r + e * s, u = (e) => i + e * c, d = 0, f = 0;
@@ -23044,8 +23021,6 @@ function cn(e, t, n, r, i, a, o) {
23044
23021
  break;
23045
23022
  }
23046
23023
  }
23047
- //#endregion
23048
- //#region packages/core/src/shape/preset-geometry/geometry.ts
23049
23024
  var j = nn, ln = /* @__PURE__ */ new WeakMap();
23050
23025
  function un(e) {
23051
23026
  let t = ln.get(e);
@@ -23236,8 +23211,6 @@ function Sn(e) {
23236
23211
  default: return null;
23237
23212
  }
23238
23213
  }
23239
- //#endregion
23240
- //#region packages/core/src/shape/preset.ts
23241
23214
  var Cn = {
23242
23215
  oval: "ellipse",
23243
23216
  rtriangle: "rttriangle",
@@ -23258,8 +23231,6 @@ function wn(t, n, r, i, a, o, s = null, c = null, l = null, u = null) {
23258
23231
  u
23259
23232
  ]) || t.rect(r, i, a, o);
23260
23233
  }
23261
- //#endregion
23262
- //#region packages/core/src/shape/arrow-geometry.ts
23263
23234
  var Tn = {
23264
23235
  sm: 2,
23265
23236
  med: 3,
@@ -23544,8 +23515,6 @@ function Kn(e, t, n) {
23544
23515
  args: Object.freeze(e.args)
23545
23516
  })));
23546
23517
  }
23547
- //#endregion
23548
- //#region packages/core/src/shape/arrow.ts
23549
23518
  function qn(e, t, n, r) {
23550
23519
  let i = $t();
23551
23520
  t(i.sink), tn(e, Kn(i.commands, n, r));
@@ -23575,8 +23544,6 @@ function Zn(e, t, n, r, i, a, o, s, c, l, d) {
23575
23544
  h: 2 * E
23576
23545
  }) ?? void 0;
23577
23546
  }
23578
- //#endregion
23579
- //#region packages/core/src/shape/preset-geometry/index.ts
23580
23547
  function Qn(e, t, n, r, i, a, o, s, c, l, u) {
23581
23548
  let d = bn(t, i, a, o, void 0, n, r);
23582
23549
  if (!d) return !1;
@@ -23609,8 +23576,6 @@ function Qn(e, t, n, r, i, a, o, s, c, l, u) {
23609
23576
  }
23610
23577
  return !0;
23611
23578
  }
23612
- //#endregion
23613
- //#region packages/core/src/image/decode-gate.ts
23614
23579
  var $n = /* @__PURE__ */ new WeakMap();
23615
23580
  async function er(e, t) {
23616
23581
  let n = $n.get(e);
@@ -23625,8 +23590,6 @@ async function er(e, t) {
23625
23590
  t ? t() : (n.active--, n.active === 0 && $n.delete(e));
23626
23591
  }
23627
23592
  }
23628
- //#endregion
23629
- //#region packages/core/src/image/adaptive-image-budget.ts
23630
23593
  function tr(e = void 0) {
23631
23594
  if (e !== void 0 && (typeof e != "object" || !e || Array.isArray(e))) throw TypeError("imageResources must be an object when provided");
23632
23595
  let t = e?.decodedByteBudget ?? 134217728;
@@ -23765,8 +23728,6 @@ function ar(e, t) {
23765
23728
  degraded: f < 1
23766
23729
  });
23767
23730
  }
23768
- //#endregion
23769
- //#region packages/core/src/image/bitmap-image-by-path.ts
23770
23731
  function or(e) {
23771
23732
  return typeof e == "object" && !!e || typeof e == "function";
23772
23733
  }
@@ -24126,8 +24087,6 @@ function Xr(e) {
24126
24087
  t.entries.clear(), t.retainedBytes = 0, M.delete(e);
24127
24088
  }
24128
24089
  }
24129
- //#endregion
24130
- //#region packages/core/src/image/svg-image-by-path.ts
24131
24090
  var Zr = /* @__PURE__ */ new WeakMap(), Qr = 256;
24132
24091
  function $r(e) {
24133
24092
  let t = Zr.get(e);
@@ -24171,8 +24130,6 @@ function ti(e) {
24171
24130
  let t = Zr.get(e);
24172
24131
  t && (t.imgs.clear(), Zr.delete(e));
24173
24132
  }
24174
- //#endregion
24175
- //#region packages/core/src/image/svg-raster.ts
24176
24133
  function ni(e) {
24177
24134
  return typeof e == "number" && Number.isFinite(e) && e > 0 ? Math.ceil(e) : void 0;
24178
24135
  }
@@ -24220,8 +24177,6 @@ async function ai(e, t = {}) {
24220
24177
  URL.revokeObjectURL(n);
24221
24178
  }
24222
24179
  }
24223
- //#endregion
24224
- //#region packages/core/src/image/image-effect-work.ts
24225
24180
  var oi = class {
24226
24181
  limit;
24227
24182
  used = 0;
@@ -24234,8 +24189,6 @@ var oi = class {
24234
24189
  this.used = t;
24235
24190
  }
24236
24191
  };
24237
- //#endregion
24238
- //#region packages/core/src/image/blip-validation.ts
24239
24192
  function R() {
24240
24193
  throw new g("unsupported-image-effect", "Malformed image effect parameters");
24241
24194
  }
@@ -24435,8 +24388,6 @@ function di(e, t) {
24435
24388
  default: R();
24436
24389
  }
24437
24390
  }
24438
- //#endregion
24439
- //#region packages/core/src/image/blip-spatial.ts
24440
24391
  function fi(e, t) {
24441
24392
  let n = e.frame ?? {
24442
24393
  x: 0,
@@ -24519,8 +24470,6 @@ function mi(e, t) {
24519
24470
  }
24520
24471
  };
24521
24472
  }
24522
- //#endregion
24523
- //#region packages/core/src/image/blip-compound.ts
24524
24473
  function hi(e, t, n) {
24525
24474
  let r = t.frame ?? {
24526
24475
  x: 0,
@@ -24665,8 +24614,6 @@ function _i(e, t, n) {
24665
24614
  ][i] : [Math.cos(r * Math.PI / 180), Math.sin(r * Math.PI / 180)];
24666
24615
  return t && (n.hostFlipH && (a = -a), n.hostFlipV && (o = -o)), [a, o];
24667
24616
  }
24668
- //#endregion
24669
- //#region packages/core/src/image/blip-fill.ts
24670
24617
  function vi(e, t, n, r, i, a, o) {
24671
24618
  let s = t < 0 ? 0 : e[t + 3] / 255, c = r < 0 ? 0 : n[r + 3] / 255, l = c + s * (1 - c);
24672
24619
  for (let u = 0; u < 3; u++) {
@@ -24817,8 +24764,6 @@ function Si(e, t, n, r, i, a = 0) {
24817
24764
  o.width = 0;
24818
24765
  }
24819
24766
  }
24820
- //#endregion
24821
- //#region packages/core/src/image/blip-blur.ts
24822
24767
  function Ci(e, t, n, r, i) {
24823
24768
  let a = Math.ceil(n), o = Math.ceil(r), s = e + (i ? 2 * a : 0), c = t + (i ? 2 * o : 0), l = 2 * a + 2 * o + 2, u = s * c * (l + 2) + 2 * l, d = (l + 4) * Float64Array.BYTES_PER_ELEMENT, f = s * c;
24824
24769
  if (![
@@ -24896,8 +24841,6 @@ function Ti(e, t, n, r) {
24896
24841
  }
24897
24842
  };
24898
24843
  }
24899
- //#endregion
24900
- //#region packages/core/src/image/blip-effects.ts
24901
24844
  function Ei(e) {
24902
24845
  return typeof e == "object" && !!e && Array.isArray(e.effects);
24903
24846
  }
@@ -25536,13 +25479,9 @@ function Ji(e, t) {
25536
25479
  }
25537
25480
  return n;
25538
25481
  }
25539
- //#endregion
25540
- //#region packages/core/src/image/blip-gate.ts
25541
25482
  function Yi(e) {
25542
25483
  return e.svgImagePath != null && e.srcRect == null;
25543
25484
  }
25544
- //#endregion
25545
- //#region packages/core/src/image/pixel-transform-bitmap-by-path.ts
25546
25485
  var Xi = "duotone";
25547
25486
  async function Zi(e, t, n, r, a = {}) {
25548
25487
  try {
@@ -25609,8 +25548,6 @@ async function Zi(e, t, n, r, a = {}) {
25609
25548
  throw n?.strict ? ie(e) : e;
25610
25549
  }
25611
25550
  }
25612
- //#endregion
25613
- //#region packages/core/src/image/duotone-only-bitmap-by-path.ts
25614
25551
  function Qi(e, t) {
25615
25552
  return t ? `${e}|duo:${t.clr1}:${t.clr2}` : e;
25616
25553
  }
@@ -25622,8 +25559,6 @@ function $i(e, t, n, r, i = {}) {
25622
25559
  apply: (e, t) => ye(e, n, t)
25623
25560
  } : void 0, r, i);
25624
25561
  }
25625
- //#endregion
25626
- //#region packages/core/src/image/duotone-bitmap-by-path.ts
25627
25562
  function ea(e, t) {
25628
25563
  return Ei(t) ? `${e}|fx:${ji(t)}` : Qi(e, t);
25629
25564
  }
@@ -25700,8 +25635,6 @@ async function na(e, t, n, r, i, a) {
25700
25635
  }), t)
25701
25636
  }, r, i);
25702
25637
  }
25703
- //#endregion
25704
- //#region packages/core/src/math/mathml.ts
25705
25638
  var ra = {
25706
25639
  "&": "&amp;",
25707
25640
  "<": "&lt;",
@@ -25835,8 +25768,6 @@ function Sa(e) {
25835
25768
  function Ca(e, t) {
25836
25769
  return `<math xmlns="http://www.w3.org/1998/Math/MathML" display="${t ? "block" : "inline"}">${G(e)}</math>`;
25837
25770
  }
25838
- //#endregion
25839
- //#region packages/core/src/math/raster.ts
25840
25771
  var wa = 256, Ta = 64;
25841
25772
  function Ea(e, t, n) {
25842
25773
  let r = Math.max(1, Math.round(t * wa)), i = Math.max(1, Math.round(n * wa));
@@ -26001,8 +25932,6 @@ function Fa(e, t) {
26001
25932
  let r = Pa(e.raster, t);
26002
25933
  return e.tinted.set(t, r), r;
26003
25934
  }
26004
- //#endregion
26005
- //#region packages/core/src/canvas/env.ts
26006
25935
  function Ia(e) {
26007
25936
  if (typeof HTMLCanvasElement < "u" && e instanceof HTMLCanvasElement) return !0;
26008
25937
  if (typeof e != "object" || !e) return !1;
@@ -26014,8 +25943,6 @@ function Ia(e) {
26014
25943
  function La(e = 1) {
26015
25944
  return typeof window < "u" && window.devicePixelRatio || e;
26016
25945
  }
26017
- //#endregion
26018
- //#region packages/core/src/worker/pull-credit-error.ts
26019
25946
  var Ra = "ooxml-insufficient-credit", za = "OOXML_INSUFFICIENT_CREDIT:";
26020
25947
  function Ba(e) {
26021
25948
  return typeof e == "number" && Number.isSafeInteger(e) && e > 0;
@@ -26066,8 +25993,6 @@ async function Ka(e, t, n, r) {
26066
25993
  function qa(e) {
26067
25994
  return e instanceof Ha || !!e && typeof e == "object" && e.code === "ooxml-insufficient-credit" && Va(e);
26068
25995
  }
26069
- //#endregion
26070
- //#region packages/core/src/worker/error-wire.ts
26071
25996
  var Ja = "OOXML_RESOURCE_LIMIT:", Ya = "OOXML_NOT_OOXML:", Xa = 128, Za = 256, Qa = 4096;
26072
25997
  function Y(e) {
26073
25998
  return typeof e == "number" && Number.isSafeInteger(e) && e >= 0;
@@ -26428,8 +26353,6 @@ function Oo(e) {
26428
26353
  return /* @__PURE__ */ Error("Worker operation failed with an unreadable error payload");
26429
26354
  }
26430
26355
  }
26431
- //#endregion
26432
- //#region packages/core/src/internal/runtime-generation.ts
26433
26356
  var ko = class {
26434
26357
  initialize;
26435
26358
  reinitialize;
@@ -26504,8 +26427,6 @@ function Mo(e) {
26504
26427
  typeof t == "function" && Reflect.apply(t, e, []);
26505
26428
  } catch {}
26506
26429
  }
26507
- //#endregion
26508
- //#region packages/core/src/worker/resource-policy.ts
26509
26430
  var No = Object.freeze({
26510
26431
  maxArchiveEntryBytes: Fe,
26511
26432
  maxTotalInflatedBytes: Ie,
@@ -26557,8 +26478,6 @@ function zo(e) {
26557
26478
  e.maxArchiveEntries === null ? 0n : BigInt(e.maxArchiveEntries)
26558
26479
  ];
26559
26480
  }
26560
- //#endregion
26561
- //#region packages/core/src/internal/console-tui.ts
26562
26481
  var Bo = [
26563
26482
  "font-family: \"SFMono-Regular\", Menlo, Monaco, Consolas, monospace",
26564
26483
  "font-size: 12px",
@@ -26577,8 +26496,6 @@ function Vo(e) {
26577
26496
  function Ho() {
26578
26497
  return typeof window < "u" && globalThis.process?.release?.name !== "node";
26579
26498
  }
26580
- //#endregion
26581
- //#region packages/core/src/worker/resource-debug-view.ts
26582
26499
  function Uo(e) {
26583
26500
  let t = e.scope === "session" ? "SESSION" : "LOAD", n = e.status === "ok" ? e.scope === "session" ? "COMPLETE" : "READY" : "FAILED", r = [Jo(` OOXML ${t} ${e.format.toUpperCase()} ${n} `, 68)];
26584
26501
  if (r.push(Z(`mode ${e.mode.padEnd(8)} elapsed ${Ko(e.elapsedMs)}`, 68)), e.sourceBytes !== void 0 && r.push(Z(`source ${Go(e.sourceBytes)}`, 68)), r.push(Yo(" admission ", 68)), r.push(Xo("largest entry", e.usage?.largestInflatedEntryBytes, e.policy.maxArchiveEntryBytes, 68)), r.push(Xo("total inflated", e.usage?.distinctInflatedBytes, e.policy.maxTotalInflatedBytes, 68)), r.push(Z(`entry count ${e.usage ? qo(e.usage.archiveEntryCount) : "—"} / ${e.policy.maxArchiveEntries === null ? "public off" : qo(e.policy.maxArchiveEntries)}`, 68)), e.usage ? r.push(Z(`declared inflated ${Go(e.usage.declaredInflatedBytes)}`, 68)) : r.push(Z("usage unavailable for this report", 68)), e.checkpoints.length > 0) {
@@ -26638,8 +26555,6 @@ function Xo(e, t, n, r) {
26638
26555
  let i = t === void 0 || n === null || n <= 0 ? 0 : Math.min(1, t / n), a = Math.round(i * 16), o = `${"█".repeat(a)}${"░".repeat(16 - a)}`, s = `${t === void 0 ? "—" : Go(t)} / ${n === null ? "public off" : Go(n)}`;
26639
26556
  return Z(`${e.padEnd(14)} ${o} ${s}`, r);
26640
26557
  }
26641
- //#endregion
26642
- //#region packages/core/src/worker/resource-debug.ts
26643
26558
  var Zo = 1e3;
26644
26559
  async function Qo(e, t) {
26645
26560
  e.observeUsage(await t(Zo));
@@ -26774,8 +26689,6 @@ function cs(e) {
26774
26689
  } catch {}
26775
26690
  return Object.freeze({});
26776
26691
  }
26777
- //#endregion
26778
- //#region packages/core/src/worker/pull-session.ts
26779
26692
  var ls = 1e3, Q = "ooxml-pull-v1";
26780
26693
  function $(e, t) {
26781
26694
  if (!Number.isSafeInteger(e) || e <= 0) throw RangeError(`${t} must be a positive safe integer`);
@@ -27311,8 +27224,6 @@ function _s(e) {
27311
27224
  };
27312
27225
  }
27313
27226
  var vs = _s();
27314
- //#endregion
27315
- //#region packages/core/src/text/kinsoku/split.ts
27316
27227
  function ys(e, t, n, r = 1) {
27317
27228
  if (!n.enabled || t <= 0 || t >= e.length) return t;
27318
27229
  let i = (t) => t < e.length && n.lineStartForbidden.has(e[t].codePointAt(0)), a = (t) => t >= 0 && n.lineEndForbidden.has(e[t].codePointAt(0)), o = t;
@@ -27330,8 +27241,6 @@ function bs(e, t, n) {
27330
27241
  }
27331
27242
  return 0;
27332
27243
  }
27333
- //#endregion
27334
- //#region packages/core/src/text/line-break-class.generated.ts
27335
27244
  var xs = /* @__PURE__ */ "BK.CM.CR.GL.LF.NL.SP.WJ.ZW.ZWJ.AK.AL.AP.AS.B2.BA.BB.CB.CL.CP.EB.EM.EX.H2.H3.HL.HH.HY.ID.IN.IS.JL.JT.JV.NS.NU.OP.PO.PR.QU.RI.SY.VF.VI".split("."), Ss = [
27336
27245
  0,
27337
27246
  9,
@@ -32839,8 +32748,6 @@ var xs = /* @__PURE__ */ "BK.CM.CR.GL.LF.NL.SP.WJ.ZW.ZWJ.AK.AL.AP.AS.B2.BA.BB.CB
32839
32748
  196606,
32840
32749
  262142
32841
32750
  ];
32842
- //#endregion
32843
- //#region packages/core/src/text/line-break.ts
32844
32751
  function Es(e) {
32845
32752
  let t = 0, n = Ss.length - 1;
32846
32753
  for (; t < n;) {
@@ -32864,8 +32771,6 @@ function Os(e, t) {
32864
32771
  let r = Es(t), i = n === "AL" || n === "HL", a = r === "AL" || r === "HL";
32865
32772
  return !!(i && (a || r === "NU" || r === "PR" || r === "PO") || a && (n === "NU" || n === "PR" || n === "PO") || n === "PR" && (r === "ID" || r === "EB" || r === "EM") || (n === "ID" || n === "EB" || n === "EM") && r === "PO" || n === "NU" && (r === "NU" || r === "PO" || r === "PR") || r === "NU" && (n === "PO" || n === "PR" || n === "HY" || n === "IS") || (i || n === "NU") && r === "OP" && !Ds(t) || n === "CP" && !Ds(e) && (a || r === "NU"));
32866
32773
  }
32867
- //#endregion
32868
- //#region packages/core/src/text/vertical-orientation.generated.ts
32869
32774
  var ks = [
32870
32775
  "U",
32871
32776
  "R",
@@ -33434,8 +33339,6 @@ var ks = [
33434
33339
  0,
33435
33340
  1
33436
33341
  ];
33437
- //#endregion
33438
- //#region packages/core/src/text/vertical-orientation.ts
33439
33342
  function Ms(e) {
33440
33343
  let t = 0, n = As.length - 1;
33441
33344
  for (; t < n;) {
@@ -33489,8 +33392,6 @@ var Bs = new Set([
33489
33392
  function Vs(e) {
33490
33393
  return Bs.has(e);
33491
33394
  }
33492
- //#endregion
33493
- //#region packages/core/src/text/vertical-vert-feature.ts
33494
33395
  var Hs = 256, Us = 200, Ws = /* @__PURE__ */ new WeakMap();
33495
33396
  function Gs(e) {
33496
33397
  let t = e.canvas, n = t?.ownerDocument?.defaultView?.HTMLCanvasElement;
@@ -33674,8 +33575,6 @@ function ic(e, t) {
33674
33575
  }
33675
33576
  });
33676
33577
  }
33677
- //#endregion
33678
- //#region packages/core/src/interaction/hyperlink.ts
33679
33578
  var ac = [
33680
33579
  "http",
33681
33580
  "https",
@@ -33700,8 +33599,6 @@ function cc(e, t = ac, n = typeof window < "u" ? window : void 0) {
33700
33599
  let r = sc(e, t);
33701
33600
  return r === null || !n ? !1 : (n.open(r, "_blank", "noopener,noreferrer"), !0);
33702
33601
  }
33703
- //#endregion
33704
- //#region packages/core/src/fonts/office-auto-line.ts
33705
33602
  var lc = 1.3;
33706
33603
  function uc(e, t) {
33707
33604
  if (e == null || t == null || !Number.isFinite(e) || !Number.isFinite(t) || e < 0 || t < 0 || e + t <= 0) return null;
@@ -33752,8 +33649,6 @@ function fc(e) {
33752
33649
  descentRatio: m / n
33753
33650
  }) : null;
33754
33651
  }
33755
- //#endregion
33756
- //#region packages/core/src/text/bidi/segment-line.ts
33757
33652
  var pc = (e) => {
33758
33653
  let t = e.text;
33759
33654
  return typeof t == "string" ? t : void 0;
@@ -33803,8 +33698,6 @@ function hc(e, n, r = {}) {
33803
33698
  rtl: d
33804
33699
  };
33805
33700
  }
33806
- //#endregion
33807
- //#region packages/core/src/internal/bounded-async-lru-cache.ts
33808
33701
  function gc(e, t) {
33809
33702
  if (!Number.isSafeInteger(e) || e <= 0) throw TypeError(`${t} must be a positive safe integer`);
33810
33703
  }
@@ -33921,5 +33814,4 @@ var vc = class {
33921
33814
  this.#e.clear();
33922
33815
  }
33923
33816
  };
33924
- //#endregion
33925
33817
  export { Ca as $, _t as $t, Zo as A, Ce as An, wn as At, eo as B, tn as Bt, ys as C, Je as Cn, Zn as Ct, Q as D, Ne as Dn, Nn as Dt, ds as E, Oe as En, Fn as Et, zo as F, Sn as Ft, So as G, Ht as Gt, mo as H, $t as Ht, Ao as I, bn as It, Ka as J, Nt as Jt, ho as K, Bt as Kt, Mo as L, an as Lt, Qo as M, xn as Mt, Ro as N, yn as Nt, ps as O, Pe as On, In as Ot, Lo as P, fn as Pt, Na as Q, ot as Qt, jo as R, on as Rt, bs as S, qe as Sn, Xn as St, _s as T, Me as Tn, qn as Tt, bo as U, Zt as Ut, Oo as V, en as Vt, po as W, Ut as Wt, Ia as X, Lt as Xt, La as Y, Ft as Yt, Fa as Z, O as Zt, Ns as _, Xe as _n, Sr as _t, lc as a, D as an, ji as at, Os as b, Ye as bn, Qn as bt, ac as c, nt as cn, ei as ct, ic as d, et as dn, Jr as dt, bt as en, ea as et, nc as f, Ue as fn, qr as ft, Ps as g, $e as gn, Hr as gt, Is as h, We as hn, Tr as ht, mc as i, it as in, Oi as it, $o as j, Se as jn, mn as jt, fs as k, Te as kn, Kn as kt, oc as l, ze as ln, pr as lt, Xs as m, Ve as mn, Yr as mt, vc as n, ct as nn, Yi as nt, fc as o, ht as on, ai as ot, rc as p, He as pn, vr as pt, Wa as q, Vt as qt, hc as r, st as rn, ki as rt, dc as s, tt as sn, ti as st, yc as t, xt as tn, ta as tt, cc as u, Be as un, Xr as ut, Vs as v, Ze as vn, tr as vt, vs as w, Ge as wn, Jn as wt, Es as x, Ke as xn, Yn as xt, zs as y, Qe as yn, ar as yt, ko as z, Qt as zt };
@@ -1,4 +1,3 @@
1
- //#region packages/core/src/internal/bundled-asset-url.ts
2
1
  function e(e, t) {
3
2
  if (e.startsWith("/") && globalThis.location?.href) {
4
3
  let n;
@@ -11,5 +10,4 @@ function e(e, t) {
11
10
  }
12
11
  return new URL(e, t).href;
13
12
  }
14
- //#endregion
15
13
  export { e as t };
@@ -1,7 +1,6 @@
1
- import { ot as e } from "./bounded-raw-part-cache-C3daknU-.js";
2
- import { B as t } from "./renderer-BFWqhLEt.js";
3
- import { t as n } from "./abort-VrnK7mdP.js";
4
- //#region packages/core/src/autoResize.ts
1
+ import { ot as e } from "./bounded-raw-part-cache-Bi_VqXmg.js";
2
+ import { B as t } from "./renderer-xdugdcMd.js";
3
+ import { t as n } from "./abort-JztSoyw2.js";
5
4
  function r(e, t, n = {}) {
6
5
  let r = n.pauseWhenHidden ?? !0, i = null, a = 0, o = 0, s = null, c = !1, l = !1, u = () => {
7
6
  if (!l && !(r && typeof document < "u" && document.hidden)) {
@@ -37,8 +36,6 @@ function r(e, t, n = {}) {
37
36
  l = !0, f.disconnect(), i !== null && (cancelAnimationFrame(i), i = null), r && typeof document < "u" && document.removeEventListener("visibilitychange", p);
38
37
  };
39
38
  }
40
- //#endregion
41
- //#region packages/core/src/worker/bridge.ts
42
39
  function i() {
43
40
  return n("worker request aborted");
44
41
  }
@@ -154,8 +151,6 @@ var a = class {
154
151
  this._terminated || (this._terminated = !0, this._worker.removeEventListener("message", this._handle), this._worker.removeEventListener("messageerror", this._handleWorkerError), this._worker.removeEventListener("error", this._handleWorkerError), this._worker.terminate(), this._rejectAll(/* @__PURE__ */ Error("Worker terminated")), this._orphaned.clear());
155
152
  }
156
153
  };
157
- //#endregion
158
- //#region packages/core/src/worker/rejected-load.ts
159
154
  function o(e, t) {
160
155
  if (t) try {
161
156
  t();
@@ -165,8 +160,6 @@ function o(e, t) {
165
160
  e.terminate();
166
161
  } catch {}
167
162
  }
168
- //#endregion
169
- //#region packages/core/src/worker/svg-decode-bridge.ts
170
163
  function s(e) {
171
164
  return !!e && typeof e == "object" && e.kind === "ooxmlDecodeSvg";
172
165
  }
@@ -191,8 +184,6 @@ function c(n, r) {
191
184
  } catch {}
192
185
  }), !0) : !1;
193
186
  }
194
- //#endregion
195
- //#region packages/core/src/interaction/zoom.ts
196
187
  var l = 1.1, u = 10, d = 3, f = 1;
197
188
  function p(e, t) {
198
189
  let n;
@@ -216,8 +207,6 @@ function h(e, t, n, r, i) {
216
207
  let a = n > 0 ? r / n : 1, o = (e + t) * a - t, s = i.maxScroll > 0 ? i.maxScroll : 0;
217
208
  return o < 0 ? 0 : o > s ? s : o;
218
209
  }
219
- //#endregion
220
- //#region packages/core/src/interaction/zoomable.ts
221
210
  var g = Object.freeze([
222
211
  .25,
223
212
  .33,
@@ -258,8 +247,6 @@ function x(e, t) {
258
247
  let s = a / r;
259
248
  return Math.min(o, s);
260
249
  }
261
- //#endregion
262
- //#region packages/core/src/search/text-index.ts
263
250
  function S(e) {
264
251
  let t = e.toLowerCase();
265
252
  if (t.length === e.length) return t;
@@ -313,16 +300,12 @@ function E(e, t, n = {}) {
313
300
  }
314
301
  return o;
315
302
  }
316
- //#endregion
317
- //#region packages/core/src/search/find-cursor.ts
318
303
  function D(e, t) {
319
304
  return t <= 0 ? -1 : e < 0 ? 0 : (e + 1) % t;
320
305
  }
321
306
  function O(e, t) {
322
307
  return t <= 0 ? -1 : e < 0 ? t - 1 : (e - 1 + t) % t;
323
308
  }
324
- //#endregion
325
- //#region packages/core/src/internal/utf16-prefix.ts
326
309
  function k(e, t) {
327
310
  let n = Math.min(e.length, t);
328
311
  if (n > 0 && n < e.length) {
@@ -331,8 +314,6 @@ function k(e, t) {
331
314
  }
332
315
  return e.slice(0, n);
333
316
  }
334
- //#endregion
335
- //#region packages/core/src/internal/chart-context.ts
336
317
  var A = 65536;
337
318
  function j(e) {
338
319
  let t = e ?? 16384;
@@ -386,8 +367,6 @@ function M(e, t) {
386
367
  maxTextCharacters: n
387
368
  };
388
369
  }
389
- //#endregion
390
- //#region packages/core/src/internal/canvas-viewer-mechanics.ts
391
370
  var N = 65536, P = 1024;
392
371
  function F(e, t, n) {
393
372
  let r = e ?? t;
@@ -671,5 +650,4 @@ var J = class {
671
650
  this.closed = !0;
672
651
  }
673
652
  };
674
- //#endregion
675
653
  export { m as C, r as D, a as E, h as S, o as T, E as _, Y as a, v as b, R as c, A as d, M as f, C as g, O as h, X as i, W as l, D as m, K as n, J as o, k as p, G as r, U as s, z as t, q as u, b as v, c as w, y as x, x as y };
@@ -1,5 +1,4 @@
1
- import { vo as e } from "./plot-area-frame-Bs_j4uu7.js";
2
- //#region packages/core/src/errors/cfb-read.ts
1
+ import { vo as e } from "./plot-area-frame-D3JtHvov.js";
3
2
  var t = [
4
3
  208,
5
4
  207,
@@ -165,8 +164,6 @@ function b(e, t, n, i, a, o) {
165
164
  let g = e.getUint32(m, !0);
166
165
  return g === r ? r : g;
167
166
  }
168
- //#endregion
169
- //#region packages/core/src/errors/cfb-sniff.ts
170
167
  var x = [
171
168
  208,
172
169
  207,
@@ -237,8 +234,6 @@ function j(e, t) {
237
234
  function M(e) {
238
235
  return e >= 0 && e <= S;
239
236
  }
240
- //#endregion
241
- //#region packages/core/src/crypto/encryption-info.ts
242
237
  function N(e) {
243
238
  if (typeof atob == "function") {
244
239
  let t = atob(e), n = new Uint8Array(t.length);
@@ -306,8 +301,6 @@ function te(e) {
306
301
  dataIntegrity: l
307
302
  };
308
303
  }
309
- //#endregion
310
- //#region packages/core/src/crypto/agile.ts
311
304
  var R = {
312
305
  verifierHashInput: new Uint8Array([
313
306
  254,
@@ -463,8 +456,6 @@ async function $(e, t, n) {
463
456
  if (W(r), W(i), !await re(n, i)) throw new V("invalid-password", "The supplied password is incorrect.");
464
457
  return oe(t, r, await ae(n, i));
465
458
  }
466
- //#endregion
467
- //#region packages/core/src/crypto/decrypt-ooxml.ts
468
459
  var se = "EncryptionInfo", ce = "EncryptedPackage";
469
460
  async function le(e, t) {
470
461
  let n = u(e, se), r = u(e, ce);
@@ -492,8 +483,6 @@ async function le(e, t) {
492
483
  };
493
484
  }
494
485
  }
495
- //#endregion
496
- //#region packages/core/src/errors/cfb-guard.ts
497
486
  function ue(t) {
498
487
  let n = O(t instanceof Uint8Array ? t : new Uint8Array(t));
499
488
  if (n !== null) switch (n) {
@@ -524,5 +513,4 @@ function fe(e) {
524
513
  let t = new Uint8Array(e.byteLength);
525
514
  return t.set(e), t.buffer;
526
515
  }
527
- //#endregion
528
516
  export { fe as n, de as t };
package/dist/chart-ex.mjs CHANGED
@@ -1,7 +1,7 @@
1
- import { $ as e, $i as t, $n as n, Fn as r, Ga as i, Gi as a, In as o, J as s, Ln as c, Mt as l, Nn as u, Pn as d, Qi as f, Qn as p, R as m, Rn as h, Rt as g, S as _, Ta as v, Ut as y, Va as b, Wt as x, Y as S, Ya as C, Yt as w, Zn as T, Zt as E, _a as D, _n as O, b as k, bt as A, ct as j, da as M, ea as N, er as P, fn as F, gn as I, ha as ee, hn as te, ia as ne, in as L, it as R, jt as re, ma as ie, mn as ae, no as z, nt as oe, oa as se, on as ce, ot as le, pn as ue, rt as de, s as fe, st as pe, t as me, ta as he, tt as ge, ua as _e, vi as ve, x as B, xn as V, yt as ye, za as be, zt as H } from "./plot-area-frame-Bs_j4uu7.js";
2
- import { A as xe, C as Se, D as Ce, E as we, O as Te, S as Ee, T as De, _ as U, a as Oe, b as ke, c as Ae, d as je, f as Me, g as Ne, i as Pe, j as Fe, k as Ie, l as Le, m as Re, o as ze, p as Be, s as Ve, u as He, v as Ue, w as We, x as Ge, y as W } from "./renderer-BFWqhLEt.js";
3
- import { t as G } from "./renderer-module-contract-CWM7jv6d.js";
4
- //#region packages/core/src/chart/chart-ex-renderer.ts
1
+ // optional-renderer: packages/core/src/chart/chart-ex-renderer.ts
2
+ import { $ as e, $i as t, $n as n, Fn as r, Ga as i, Gi as a, In as o, J as s, Ln as c, Mt as l, Nn as u, Pn as d, Qi as f, Qn as p, R as m, Rn as h, Rt as g, S as _, Ta as v, Ut as y, Va as b, Wt as x, Y as S, Ya as C, Yt as w, Zn as T, Zt as E, _a as D, _n as O, b as k, bt as A, ct as j, da as M, ea as N, er as P, fn as F, gn as I, ha as ee, hn as te, ia as ne, in as L, it as R, jt as re, ma as ie, mn as ae, no as z, nt as oe, oa as se, on as ce, ot as le, pn as ue, rt as de, s as fe, st as pe, t as me, ta as he, tt as ge, ua as _e, vi as ve, x as B, xn as V, yt as ye, za as be, zt as H } from "./plot-area-frame-D3JtHvov.js";
3
+ import { A as xe, C as Se, D as Ce, E as we, O as Te, S as Ee, T as De, _ as U, a as Oe, b as ke, c as Ae, d as je, f as Me, g as Ne, i as Pe, j as Fe, k as Ie, l as Le, m as Re, o as ze, p as Be, s as Ve, u as He, v as Ue, w as We, x as Ge, y as W } from "./renderer-xdugdcMd.js";
4
+ import { t as G } from "./renderer-module-contract-BuTx2FWJ.js";
5
5
  function Ke(e, t, n, r = 1) {
6
6
  let a = 0, o = Math.max(1, n?.w ?? 32 * r), s = Math.max(1, n?.h ?? 16 * r), c = ae(e, ({ label: n, linkedStyleIndex: c }) => {
7
7
  let l = n.labelBox, u = I(l), d = u ? e.chartStyleRoles?.dataLabelCallout ?? e.chartStyleRoles?.dataLabel : e.chartStyleRoles?.dataLabel, f = u ? z(e, "dataLabelCallout") ?? z(e, "dataLabel") : z(e, "dataLabel"), p = O(l, d, f, d != null, 0, c)?.fillPaint, m = be(l?.style, f, 0), h = l?.borderHidden === !0 ? b(f) : void 0, g = l?.borderColor != null || l?.borderFill != null || m !== void 0 || h !== void 0 || l?.borderPaintAuthored === !0 && l?.borderHidden !== !0, _ = m === void 0 ? h === void 0 ? l?.borderFill ?? (l?.borderColor ? {
@@ -979,8 +979,5 @@ function nt(e, t, n, r, i = 0) {
979
979
  default: return !1;
980
980
  }
981
981
  }
982
- //#endregion
983
- //#region src/chart-ex.ts
984
982
  var rt = G({ render: nt }, "chartEx");
985
- //#endregion
986
983
  export { rt as chartEx };
@@ -1,4 +1,3 @@
1
- //#region \0rolldown/runtime.js
2
1
  var e = Object.defineProperty, t = (t, n) => {
3
2
  let r = {};
4
3
  for (var i in t) e(r, i, {
@@ -7,5 +6,4 @@ var e = Object.defineProperty, t = (t, n) => {
7
6
  });
8
7
  return n || e(r, Symbol.toStringTag, { value: "Module" }), r;
9
8
  };
10
- //#endregion
11
9
  export { t };