vue-data-ui 3.9.15 → 3.9.16

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 (164) hide show
  1. package/README.md +1 -0
  2. package/dist/{Arrow-f1dKmuRH.js → Arrow-ChEFq9U7.js} +1 -1
  3. package/dist/{BaseDraggableDialog-CAJxIF6g.js → BaseDraggableDialog-Z5LfhW87.js} +2 -2
  4. package/dist/{BaseIcon-4i3dd7Ty.js → BaseIcon-CbVDYv89.js} +1 -1
  5. package/dist/{BaseZoomControls-C0H509ZF.js → BaseZoomControls-e4hnaBoq.js} +2 -2
  6. package/dist/{ColorPicker-B9oF4-O6.js → ColorPicker-B2OcIXIs.js} +2 -2
  7. package/dist/{DataTable-WrXCJkfE.js → DataTable-BT_IeqPe.js} +2 -2
  8. package/dist/{Legend-D6z73edh.js → Legend-D2xmnFPH.js} +2 -2
  9. package/dist/{NonSvgPenAndPaper-7clRuQVF.js → NonSvgPenAndPaper-Dgnix4B_.js} +3 -3
  10. package/dist/{PackageVersion-BLzm8l_I.js → PackageVersion-Br3DrrFh.js} +1 -1
  11. package/dist/{PenAndPaper-DxIUvoQ8.js → PenAndPaper-CvyKWfNl.js} +3 -3
  12. package/dist/{Shape-DAHhCEdg.js → Shape-12_eh8zD.js} +1 -1
  13. package/dist/{Slicer-Bn8azYkD.js → Slicer-BCPOPoP2.js} +2 -2
  14. package/dist/{SlicerPreview-oV3dMuV1.js → SlicerPreview-CgKqSG-h.js} +2 -2
  15. package/dist/{SparkTooltip-D7iYVquk.js → SparkTooltip-D_OsZuuE.js} +1 -1
  16. package/dist/{Title-DGnfNZuO.js → Title-DSOZzIrU.js} +1 -1
  17. package/dist/{Tooltip-TDyKgLB6.js → Tooltip-D0pGX8qz.js} +1 -1
  18. package/dist/{UserOptions-CzJWRC4s.js → UserOptions-BQO4YFrn.js} +2 -2
  19. package/dist/components/arrow.js +1 -1
  20. package/dist/components/vue-ui-3d-bar.js +1 -1
  21. package/dist/components/vue-ui-accordion.js +1 -1
  22. package/dist/components/vue-ui-age-pyramid.js +1 -1
  23. package/dist/components/vue-ui-annotator.js +1 -1
  24. package/dist/components/vue-ui-bullet.js +1 -1
  25. package/dist/components/vue-ui-candlestick.js +1 -1
  26. package/dist/components/vue-ui-carousel-table.js +1 -1
  27. package/dist/components/vue-ui-chestnut.js +1 -1
  28. package/dist/components/vue-ui-chord.js +1 -1
  29. package/dist/components/vue-ui-circle-pack.js +1 -1
  30. package/dist/components/vue-ui-cursor.js +1 -1
  31. package/dist/components/vue-ui-dag.js +1 -1
  32. package/dist/components/vue-ui-dashboard.js +1 -1
  33. package/dist/components/vue-ui-digits.js +1 -1
  34. package/dist/components/vue-ui-donut-evolution.js +1 -1
  35. package/dist/components/vue-ui-donut.js +1 -1
  36. package/dist/components/vue-ui-dumbbell.js +1 -1
  37. package/dist/components/vue-ui-flow.js +1 -1
  38. package/dist/components/vue-ui-funnel.js +1 -1
  39. package/dist/components/vue-ui-galaxy.js +1 -1
  40. package/dist/components/vue-ui-gauge.js +1 -1
  41. package/dist/components/vue-ui-geo.js +1 -1
  42. package/dist/components/vue-ui-gizmo.js +1 -1
  43. package/dist/components/vue-ui-heatmap.js +1 -1
  44. package/dist/components/vue-ui-history-plot.js +1 -1
  45. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  46. package/dist/components/vue-ui-icon.js +1 -1
  47. package/dist/components/vue-ui-kpi.js +1 -1
  48. package/dist/components/vue-ui-mini-loader.js +1 -1
  49. package/dist/components/vue-ui-molecule.js +1 -1
  50. package/dist/components/vue-ui-mood-radar.js +1 -1
  51. package/dist/components/vue-ui-nested-donuts.js +1 -1
  52. package/dist/components/vue-ui-onion.js +1 -1
  53. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  54. package/dist/components/vue-ui-quadrant.js +1 -1
  55. package/dist/components/vue-ui-quick-chart.js +1 -1
  56. package/dist/components/vue-ui-radar.js +1 -1
  57. package/dist/components/vue-ui-rating.js +1 -1
  58. package/dist/components/vue-ui-relation-circle.js +1 -1
  59. package/dist/components/vue-ui-ridgeline.js +1 -1
  60. package/dist/components/vue-ui-rings.js +1 -1
  61. package/dist/components/vue-ui-scatter.js +1 -1
  62. package/dist/components/vue-ui-skeleton.js +1 -1
  63. package/dist/components/vue-ui-smiley.js +1 -1
  64. package/dist/components/vue-ui-spark-trend.js +1 -1
  65. package/dist/components/vue-ui-sparkbar.js +1 -1
  66. package/dist/components/vue-ui-sparkgauge.js +1 -1
  67. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  68. package/dist/components/vue-ui-sparkline.js +1 -1
  69. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  70. package/dist/components/vue-ui-stackbar.js +1 -1
  71. package/dist/components/vue-ui-stackline.js +1 -1
  72. package/dist/components/vue-ui-strip-plot.js +1 -1
  73. package/dist/components/vue-ui-table-heatmap.js +1 -1
  74. package/dist/components/vue-ui-table-sparkline.js +1 -1
  75. package/dist/components/vue-ui-table.js +1 -1
  76. package/dist/components/vue-ui-thermometer.js +1 -1
  77. package/dist/components/vue-ui-timer.js +1 -1
  78. package/dist/components/vue-ui-tiremarks.js +1 -1
  79. package/dist/components/vue-ui-treemap.js +1 -1
  80. package/dist/components/vue-ui-vertical-bar.js +1 -1
  81. package/dist/components/vue-ui-waffle.js +1 -1
  82. package/dist/components/vue-ui-wheel.js +1 -1
  83. package/dist/components/vue-ui-word-cloud.js +1 -1
  84. package/dist/components/vue-ui-world.js +1 -1
  85. package/dist/components/vue-ui-xy-canvas.js +1 -1
  86. package/dist/components/vue-ui-xy.js +1 -1
  87. package/dist/{dom-to-png-C2K57N1M.js → dom-to-png-WXGPkYro.js} +1 -1
  88. package/dist/{img-DKigoPDs.js → img-CqYIrJ8I.js} +1 -1
  89. package/dist/{labelUtils-PMU3ZGCb.js → labelUtils-B3mOOEke.js} +1 -1
  90. package/dist/{lib-BwysEpWI.js → lib-2iaAPQ_c.js} +340 -322
  91. package/dist/{pdf-BHGnVnBG.js → pdf-Q5BpWMSa.js} +1 -1
  92. package/dist/style.css +1 -1
  93. package/dist/types/vue-data-ui.d.ts +1 -0
  94. package/dist/{useAutoSizeLabelsInsideViewbox-DO2dxQ78.js → useAutoSizeLabelsInsideViewbox-DmpzKQ9i.js} +1 -1
  95. package/dist/{useNestedProp-OFRiX4kU.js → useNestedProp-2p4Tjzc8.js} +3 -2
  96. package/dist/{usePrinter-BJzHDpYF.js → usePrinter-ChVMpU2f.js} +2 -2
  97. package/dist/{vue-data-ui-DLBPk_qz.js → vue-data-ui-BWmTki6E.js} +67 -67
  98. package/dist/vue-data-ui.js +72 -72
  99. package/dist/{vue-ui-3d-bar-B3kUXUiU.js → vue-ui-3d-bar-HXoQbs8d.js} +6 -6
  100. package/dist/{vue-ui-accordion-DUuwVsuJ.js → vue-ui-accordion-Dm0mNNKQ.js} +3 -3
  101. package/dist/{vue-ui-age-pyramid-ByKj9osZ.js → vue-ui-age-pyramid-CGsJUmDL.js} +6 -6
  102. package/dist/{vue-ui-annotator-BZuXK7ov.js → vue-ui-annotator-BorYyD6t.js} +7 -7
  103. package/dist/{vue-ui-bullet-DcFBb0YG.js → vue-ui-bullet-B5H4sazy.js} +7 -7
  104. package/dist/{vue-ui-candlestick-B0rV5Vhv.js → vue-ui-candlestick-COYxFrX8.js} +7 -7
  105. package/dist/{vue-ui-carousel-table-CKRr0PUC.js → vue-ui-carousel-table-BsGu8u47.js} +4 -4
  106. package/dist/{vue-ui-chestnut-CsTwZfmt.js → vue-ui-chestnut-CPleio5s.js} +5 -5
  107. package/dist/{vue-ui-chord-Ci7wdPU5.js → vue-ui-chord-BL2kiRYa.js} +8 -8
  108. package/dist/{vue-ui-circle-pack-CosGMpWi.js → vue-ui-circle-pack-Ctax0o8l.js} +6 -6
  109. package/dist/{vue-ui-cursor-Druq_LcL.js → vue-ui-cursor-CcGTsKr9.js} +3 -3
  110. package/dist/{vue-ui-dag-TkXJQIwo.js → vue-ui-dag-BZeJu8RB.js} +7 -7
  111. package/dist/{vue-ui-dashboard-C1PRSeLr.js → vue-ui-dashboard-DU95z4Iw.js} +68 -68
  112. package/dist/{vue-ui-digits-DDh5Vxvc.js → vue-ui-digits-DsKNaw_K.js} +2 -2
  113. package/dist/{vue-ui-donut-CKDYWkKE.js → vue-ui-donut-CN7x4Wrm.js} +9 -9
  114. package/dist/{vue-ui-donut-evolution-BvNNQtyL.js → vue-ui-donut-evolution-D4zNv3y3.js} +8 -8
  115. package/dist/{vue-ui-dumbbell-D4uWpexA.js → vue-ui-dumbbell-CWi8sl8t.js} +7 -7
  116. package/dist/{vue-ui-flow-CTLxckNx.js → vue-ui-flow-BydA9ef6.js} +7 -7
  117. package/dist/{vue-ui-funnel-BWyQixj8.js → vue-ui-funnel-C83WaW6R.js} +6 -6
  118. package/dist/{vue-ui-galaxy-C0TDWUTS.js → vue-ui-galaxy-BnY90Ga4.js} +8 -8
  119. package/dist/{vue-ui-gauge-ChOANZyZ.js → vue-ui-gauge-HqwbKAiY.js} +7 -7
  120. package/dist/{vue-ui-geo-Cv7JzD1c.js → vue-ui-geo-wW6nP6hV.js} +7 -7
  121. package/dist/{vue-ui-gizmo-Cd8foemN.js → vue-ui-gizmo-B_MBb1r3.js} +3 -3
  122. package/dist/{vue-ui-heatmap-mxoacXPq.js → vue-ui-heatmap-Ctb6By74.js} +7 -7
  123. package/dist/{vue-ui-history-plot-BsyGaRQT.js → vue-ui-history-plot-ptSYfBrS.js} +7 -7
  124. package/dist/{vue-ui-horizontal-bar-e_tYBG4d.js → vue-ui-horizontal-bar-Oj8JxE1o.js} +483 -459
  125. package/dist/{vue-ui-kpi-DQRm5B2_.js → vue-ui-kpi-CyQCcR37.js} +3 -3
  126. package/dist/{vue-ui-mini-loader-CObyi21D.js → vue-ui-mini-loader-CXB5jl9q.js} +2 -2
  127. package/dist/{vue-ui-molecule-DjucsQhe.js → vue-ui-molecule-B3f4D6xs.js} +5 -5
  128. package/dist/{vue-ui-mood-radar-DOd2rxuT.js → vue-ui-mood-radar-BymSOzbZ.js} +7 -7
  129. package/dist/{vue-ui-nested-donuts-DE7p2Fgp.js → vue-ui-nested-donuts-Bm75G0c4.js} +8 -8
  130. package/dist/{vue-ui-onion-BATuVto7.js → vue-ui-onion-BPPHtjJs.js} +9 -9
  131. package/dist/{vue-ui-parallel-coordinate-plot-BLp7NM3E.js → vue-ui-parallel-coordinate-plot-CesySg69.js} +8 -8
  132. package/dist/{vue-ui-quadrant-AW-eksks.js → vue-ui-quadrant-Dxhvwzha.js} +8 -8
  133. package/dist/{vue-ui-quick-chart-BCnCOAxm.js → vue-ui-quick-chart-CmfR2FF6.js} +6 -6
  134. package/dist/{vue-ui-radar-B710xZlD.js → vue-ui-radar-9TUuj49-.js} +8 -8
  135. package/dist/{vue-ui-rating-iq2tKZ_U.js → vue-ui-rating-C-sJPTB9.js} +2 -2
  136. package/dist/{vue-ui-relation-circle-C4noyjHV.js → vue-ui-relation-circle-CSw8wygj.js} +7 -7
  137. package/dist/{vue-ui-ridgeline-Ciih1SOm.js → vue-ui-ridgeline-pwJ8hRsj.js} +8 -8
  138. package/dist/{vue-ui-rings-Bwak5MGF.js → vue-ui-rings-BQK3rKYv.js} +9 -9
  139. package/dist/{vue-ui-scatter-Bbk87yp_.js → vue-ui-scatter-DqGnrGmi.js} +8 -8
  140. package/dist/{vue-ui-skeleton-DTP-lHk-.js → vue-ui-skeleton-CprmuWSV.js} +3 -3
  141. package/dist/{vue-ui-smiley-Ccv9c7pA.js → vue-ui-smiley-TGFkjkro.js} +2 -2
  142. package/dist/{vue-ui-spark-trend-BEVWCHis.js → vue-ui-spark-trend-BMgbFhyC.js} +3 -3
  143. package/dist/{vue-ui-sparkbar-BHfJPNZl.js → vue-ui-sparkbar-BR9c9pzQ.js} +3 -3
  144. package/dist/{vue-ui-sparkgauge-3xNJCJ70.js → vue-ui-sparkgauge-QR8NMM76.js} +3 -3
  145. package/dist/{vue-ui-sparkhistogram-_lV4WXS_.js → vue-ui-sparkhistogram-BZPWjy4g.js} +4 -4
  146. package/dist/{vue-ui-sparkline-BfFlV5kx.js → vue-ui-sparkline-B7DUXyD7.js} +3 -3
  147. package/dist/{vue-ui-sparkstackbar-v3ayd3bl.js → vue-ui-sparkstackbar-CBURF9DG.js} +3 -3
  148. package/dist/{vue-ui-stackbar-YQygDhDd.js → vue-ui-stackbar-8wfpQv75.js} +9 -9
  149. package/dist/{vue-ui-stackline-x9MMyg_1.js → vue-ui-stackline-KEkKIgeE.js} +9 -9
  150. package/dist/{vue-ui-strip-plot-Csh9RwiY.js → vue-ui-strip-plot-tBq-1HEl.js} +7 -7
  151. package/dist/{vue-ui-table-BBmsVv1l.js → vue-ui-table-DQtQ5vth.js} +5 -5
  152. package/dist/{vue-ui-table-heatmap-B-T8pWI-.js → vue-ui-table-heatmap-CUOXC4JX.js} +5 -5
  153. package/dist/{vue-ui-table-sparkline-BmkIssWR.js → vue-ui-table-sparkline-B-fJpPuE.js} +4 -4
  154. package/dist/{vue-ui-thermometer-HNdHuF-6.js → vue-ui-thermometer-BjWvhObo.js} +7 -7
  155. package/dist/{vue-ui-timer-BHHgGQZo.js → vue-ui-timer-KHzMsLix.js} +5 -5
  156. package/dist/{vue-ui-tiremarks-H585-mQM.js → vue-ui-tiremarks-DHTm-0Rk.js} +6 -6
  157. package/dist/{vue-ui-treemap-YXAtO95p.js → vue-ui-treemap-BUskEYhL.js} +8 -8
  158. package/dist/{vue-ui-waffle-BE8SWjIj.js → vue-ui-waffle-DB2x0hkH.js} +9 -9
  159. package/dist/{vue-ui-wheel-DWxbunQa.js → vue-ui-wheel-CIF3OMNS.js} +6 -6
  160. package/dist/{vue-ui-word-cloud-JwfLrZoU.js → vue-ui-word-cloud-DA2S9vUS.js} +7 -7
  161. package/dist/{vue-ui-world-CkgiS9TT.js → vue-ui-world-GYXka5Ap.js} +6 -6
  162. package/dist/{vue-ui-xy-COxHwrGr.js → vue-ui-xy-GG6jRpRS.js} +9 -9
  163. package/dist/{vue-ui-xy-canvas-Cg7fpBqF.js → vue-ui-xy-canvas-s7QCO2Kv.js} +10 -10
  164. package/package.json +1 -1
@@ -1,30 +1,30 @@
1
1
  import { unref as tt, isRef as nt, toRaw as ft } from "vue";
2
- const ht = "#COMP# dataset prop is either missing, undefined or empty.", Ft = "#COMP# dataset is missing the '#ATTR#' attribute.", dt = "#COMP# dataset '#ATTR#' attribute cannot be empty.", gt = "#COMP# dataset #KEY# item at index #INDX# is missing the '#ATTR#' attribute.", pt = "#COMP# : Chart could not be built. Dataset is not formatted correctly", Et = "#COMP# : A wrong value was provided to the #ATTR# attribute (#KEY# is not a valid value).", At = {
2
+ const ht = "#COMP# dataset prop is either missing, undefined or empty.", Ft = "#COMP# dataset is missing the '#ATTR#' attribute.", gt = "#COMP# dataset '#ATTR#' attribute cannot be empty.", dt = "#COMP# dataset #KEY# item at index #INDX# is missing the '#ATTR#' attribute.", pt = "#COMP# : Chart could not be built. Dataset is not formatted correctly", Et = "#COMP# : A wrong value was provided to the #ATTR# attribute (#KEY# is not a valid value).", At = {
3
3
  dataset: ht,
4
4
  datasetAttribute: Ft,
5
- datasetAttributeEmpty: dt,
6
- datasetSerieAttribute: gt,
5
+ datasetAttributeEmpty: gt,
6
+ datasetSerieAttribute: dt,
7
7
  notBuildable: pt,
8
8
  attributeWrongValue: Et
9
9
  };
10
- function Yt(t, n, e, o, r, s = 1.99999, c = 2, i = 1.45, l = 360, u = 105.25, a = 0) {
10
+ function Ht(t, n, e, o, r, s = 1.99999, c = 2, i = 1.45, l = 360, u = 105.25, a = 0) {
11
11
  const { series: f } = t;
12
12
  if (!f || f.length === 0)
13
13
  return [];
14
14
  const h = f.reduce((p, y) => p + y.value, 0), F = [];
15
- let d = 0;
15
+ let g = 0;
16
16
  for (let p = 0; p < f.length; p++) {
17
- const y = f[p].value, x = f.length === 1, E = x ? 1 : h > 0 ? y / h : 0, C = E * (Math.PI * s), O = (x ? 0.5 : h > 0 ? y / 2 / h : 0.5) * (Math.PI * c), { startX: L, startY: m, endX: $, endY: M, path: D } = Z(
17
+ const y = f[p].value, x = f.length === 1, E = x ? 1 : h > 0 ? y / h : 0, M = E * (Math.PI * s), O = (x ? 0.5 : h > 0 ? y / 2 / h : 0.5) * (Math.PI * c), { startX: L, startY: m, endX: $, endY: C, path: D } = Z(
18
18
  [n, e],
19
19
  [o, r],
20
- [d, C],
20
+ [g, M],
21
21
  u,
22
22
  l,
23
23
  c
24
- ), g = Z(
24
+ ), d = Z(
25
25
  [n, e],
26
26
  [o - a, r - a],
27
- [d, C],
27
+ [g, M],
28
28
  u,
29
29
  l,
30
30
  c,
@@ -32,40 +32,40 @@ function Yt(t, n, e, o, r, s = 1.99999, c = 2, i = 1.45, l = 360, u = 105.25, a
32
32
  ), I = Z(
33
33
  [n, e],
34
34
  [o * i, r * i],
35
- [d, O],
35
+ [g, O],
36
36
  u,
37
37
  l,
38
38
  c
39
39
  );
40
40
  F.push({
41
- arcSlice: `${D} L ${g.startX} ${g.startY} ${g.path} L ${L} ${m}`,
41
+ arcSlice: `${D} L ${d.startX} ${d.startY} ${d.path} L ${L} ${m}`,
42
42
  cx: A(n),
43
43
  cy: A(e),
44
44
  ...f[p],
45
45
  proportion: A(E),
46
- ratio: A(C),
46
+ ratio: A(M),
47
47
  path: D.replaceAll("NaN", "0"),
48
48
  startX: A(L),
49
49
  startY: A(m),
50
50
  endX: A($),
51
- endY: A(M),
51
+ endY: A(C),
52
52
  separator: {
53
- x: g.startX,
54
- y: g.startY
53
+ x: d.startX,
54
+ y: d.startY
55
55
  },
56
56
  firstSeparator: {
57
- x: Number(g.path.split(" ").at(-2)),
58
- y: Number(g.path.split(" ").at(-1))
57
+ x: Number(d.path.split(" ").at(-2)),
58
+ y: Number(d.path.split(" ").at(-1))
59
59
  },
60
60
  center: I
61
- }), d += C;
61
+ }), g += M;
62
62
  }
63
63
  return F;
64
64
  }
65
- function et([t, n], [e, o]) {
65
+ function rt([t, n], [e, o]) {
66
66
  return [t + e, n + o];
67
67
  }
68
- function rt([[t, n], [e, o]], [r, s]) {
68
+ function st([[t, n], [e, o]], [r, s]) {
69
69
  return [t * r + n * s, e * r + o * s];
70
70
  }
71
71
  function yt(t) {
@@ -76,14 +76,14 @@ function yt(t) {
76
76
  }
77
77
  function Z([t, n], [e, o], [r, s], c, i = 360, l = 2, u = !1) {
78
78
  s = s % (l * Math.PI);
79
- const a = yt(c), [f, h] = et(
80
- rt(a, [
79
+ const a = yt(c), [f, h] = rt(
80
+ st(a, [
81
81
  e * Math.cos(r),
82
82
  o * Math.sin(r)
83
83
  ]),
84
84
  [t, n]
85
- ), [F, d] = et(
86
- rt(a, [
85
+ ), [F, g] = rt(
86
+ st(a, [
87
87
  e * Math.cos(r + s),
88
88
  o * Math.sin(r + s)
89
89
  ]),
@@ -91,17 +91,17 @@ function Z([t, n], [e, o], [r, s], c, i = 360, l = 2, u = !1) {
91
91
  ), p = s > Math.PI ? 1 : 0, y = s > 0 ? u ? 0 : 1 : u ? 1 : 0;
92
92
  return {
93
93
  startX: A(u ? F : f),
94
- startY: A(u ? d : h),
94
+ startY: A(u ? g : h),
95
95
  endX: A(u ? f : F),
96
- endY: A(u ? h : d),
97
- path: `M${A(u ? F : f)} ${A(u ? d : h)} A ${[
96
+ endY: A(u ? h : g),
97
+ path: `M${A(u ? F : f)} ${A(u ? g : h)} A ${[
98
98
  A(e),
99
99
  A(o),
100
100
  A(c / (l * Math.PI) * i),
101
101
  A(p),
102
102
  A(y),
103
103
  A(u ? f : F),
104
- A(u ? h : d)
104
+ A(u ? h : g)
105
105
  ].join(" ")}`
106
106
  };
107
107
  }
@@ -110,7 +110,7 @@ function xt({ defaultConfig: t, userConfig: n }) {
110
110
  return Object.keys(e).forEach((o) => {
111
111
  if (Object.hasOwn(n, o)) {
112
112
  const r = n[o];
113
- r === null ? e[o] = null : ["boolean", "function"].includes(typeof r) ? e[o] = r : ["string", "number"].includes(typeof r) ? lt(r) && (e[o] = r) : Array.isArray(e[o]) ? mt({ userConfig: n, key: o }) && (e[o] = r) : bt({ userConfig: n, key: o }) && (e[o] = xt({
113
+ r === null ? e[o] = null : ["boolean", "function"].includes(typeof r) ? e[o] = r : ["string", "number"].includes(typeof r) ? et(r) && (e[o] = r) : Array.isArray(e[o]) ? mt({ userConfig: n, key: o }) && (e[o] = r) : bt({ userConfig: n, key: o }) && (e[o] = xt({
114
114
  defaultConfig: e[o],
115
115
  userConfig: r
116
116
  }));
@@ -128,19 +128,19 @@ function mt({ userConfig: t, key: n }) {
128
128
  function bt({ userConfig: t, key: n }) {
129
129
  return Object.hasOwn(t, n) && !Array.isArray(t[n]) && typeof t[n] == "object";
130
130
  }
131
- function lt(t) {
131
+ function et(t) {
132
132
  return ![null, void 0, NaN, 1 / 0, -1 / 0].includes(t);
133
133
  }
134
- function Ht(t) {
134
+ function Ut(t) {
135
135
  return ![void 0, NaN, 1 / 0, -1 / 0].includes(t);
136
136
  }
137
- function Ut(t, n = 0) {
138
- return lt(t) ? t : n;
137
+ function Gt(t, n = 0) {
138
+ return et(t) ? t : n;
139
139
  }
140
140
  function A(t, n = 0) {
141
141
  return isNaN(t) ? n : t;
142
142
  }
143
- const st = [
143
+ const ot = [
144
144
  "#1f77b4",
145
145
  "#aec7e8",
146
146
  "#ff7f0e",
@@ -182,7 +182,7 @@ const st = [
182
182
  "#ce6dbd",
183
183
  "#de9ed6"
184
184
  ];
185
- function Gt(t = "default") {
185
+ function vt(t = "default") {
186
186
  switch (t) {
187
187
  case "hack":
188
188
  return v.hack;
@@ -199,8 +199,8 @@ function Gt(t = "default") {
199
199
  }
200
200
  }
201
201
  const v = {
202
- default: st,
203
- dark: st,
202
+ default: ot,
203
+ dark: ot,
204
204
  celebration: [
205
205
  "#D32F2F",
206
206
  "#E64A19",
@@ -363,7 +363,7 @@ const v = {
363
363
  "#C3C5C5",
364
364
  "#A0AC94"
365
365
  ]
366
- }, ot = ["00", "03", "05", "08", "0A", "0D", "0F", "12", "14", "17", "1A", "1C", "1F", "21", "24", "26", "29", "2B", "2E", "30", "33", "36", "38", "3B", "3D", "40", "42", "45", "47", "4A", "4D", "4F", "52", "54", "57", "59", "5C", "5E", "61", "63", "66", "69", "6B", "6E", "70", "73", "75", "78", "7A", "7D", "80", "82", "85", "87", "8A", "8C", "8F", "91", "94", "96", "99", "9C", "9E", "A1", "A3", "A6", "A8", "AB", "AD", "B0", "B3", "B5", "B8", "BA", "BD", "BF", "C2", "C4", "C7", "C9", "CC", "CF", "D1", "D4", "D6", "D9", "DB", "DE", "E0", "E3", "E6", "E8", "EB", "ED", "F0", "F2", "F5", "F7", "FA", "FC", "FF"];
366
+ }, it = ["00", "03", "05", "08", "0A", "0D", "0F", "12", "14", "17", "1A", "1C", "1F", "21", "24", "26", "29", "2B", "2E", "30", "33", "36", "38", "3B", "3D", "40", "42", "45", "47", "4A", "4D", "4F", "52", "54", "57", "59", "5C", "5E", "61", "63", "66", "69", "6B", "6E", "70", "73", "75", "78", "7A", "7D", "80", "82", "85", "87", "8A", "8C", "8F", "91", "94", "96", "99", "9C", "9E", "A1", "A3", "A6", "A8", "AB", "AD", "B0", "B3", "B5", "B8", "BA", "BD", "BF", "C2", "C4", "C7", "C9", "CC", "CF", "D1", "D4", "D6", "D9", "DB", "DE", "E0", "E3", "E6", "E8", "EB", "ED", "F0", "F2", "F5", "F7", "FA", "FC", "FF"];
367
367
  function ut(t) {
368
368
  const n = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i, e = /^#?([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i, o = /^rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*([\d.]+))?\)$/i, r = /^hsla?\((\d+),\s*([\d.]+)%,\s*([\d.]+)%(?:,\s*([\d.]+))?\)$/i;
369
369
  if (t == null || typeof t == "number" && isNaN(t))
@@ -395,7 +395,7 @@ function ut(t) {
395
395
  } else if (s = t.match(r)) {
396
396
  const [, i, l, u, a] = s;
397
397
  c = a ? parseFloat(a) : 1;
398
- const [f, h, F] = Mt(Number(i), Number(l), Number(u));
398
+ const [f, h, F] = Ct(Number(i), Number(l), Number(u));
399
399
  return `#${G(f)}${G(h)}${G(F)}${G(Math.round(c * 255))}`;
400
400
  }
401
401
  return null;
@@ -404,7 +404,7 @@ function G(t) {
404
404
  const n = Number(t).toString(16);
405
405
  return n.length === 1 ? "0" + n : n;
406
406
  }
407
- function Mt(t, n, e, o = 1) {
407
+ function Ct(t, n, e, o = 1) {
408
408
  t /= 360, n /= 100, e /= 100;
409
409
  let r, s, c;
410
410
  if (n === 0)
@@ -420,43 +420,43 @@ function Mt(t, n, e, o = 1) {
420
420
  o
421
421
  ];
422
422
  }
423
- function vt(t, n) {
423
+ function Xt(t, n) {
424
424
  const e = t.length === 9 ? t.substring(0, 7) : t, o = t.length === 9 ? t.substring(7, 9) : null, r = (f) => ({
425
425
  r: parseInt(f.substring(1, 3), 16),
426
426
  g: parseInt(f.substring(3, 5), 16),
427
427
  b: parseInt(f.substring(5, 7), 16)
428
428
  }), s = ({ r: f, g: h, b: F }) => {
429
429
  f /= 255, h /= 255, F /= 255;
430
- const d = Math.max(f, h, F), p = Math.min(f, h, F);
431
- let y, x, E = (d + p) / 2;
432
- if (d === p)
430
+ const g = Math.max(f, h, F), p = Math.min(f, h, F);
431
+ let y, x, E = (g + p) / 2;
432
+ if (g === p)
433
433
  y = x = 0;
434
434
  else {
435
- const C = d - p;
436
- switch (x = E > 0.5 ? C / (2 - d - p) : C / (d + p), d) {
435
+ const M = g - p;
436
+ switch (x = E > 0.5 ? M / (2 - g - p) : M / (g + p), g) {
437
437
  case f:
438
- y = (h - F) / C + (h < F ? 6 : 0);
438
+ y = (h - F) / M + (h < F ? 6 : 0);
439
439
  break;
440
440
  case h:
441
- y = (F - f) / C + 2;
441
+ y = (F - f) / M + 2;
442
442
  break;
443
443
  case F:
444
- y = (f - h) / C + 4;
444
+ y = (f - h) / M + 4;
445
445
  break;
446
446
  }
447
447
  y /= 6;
448
448
  }
449
449
  return { h: y, s: x, l: E };
450
450
  }, c = ({ h: f, s: h, l: F }) => {
451
- let d, p, y;
451
+ let g, p, y;
452
452
  if (h === 0)
453
- d = p = y = F;
453
+ g = p = y = F;
454
454
  else {
455
- const x = (R, O, L) => (L < 0 && (L += 1), L > 1 && (L -= 1), L < 0.16666666666666666 ? R + (O - R) * 6 * L : L < 0.5 ? O : L < 0.6666666666666666 ? R + (O - R) * (0.6666666666666666 - L) * 6 : R), E = F < 0.5 ? F * (1 + h) : F + h - F * h, C = 2 * F - E;
456
- d = x(C, E, f + 1 / 3), p = x(C, E, f), y = x(C, E, f - 1 / 3);
455
+ const x = (R, O, L) => (L < 0 && (L += 1), L > 1 && (L -= 1), L < 0.16666666666666666 ? R + (O - R) * 6 * L : L < 0.5 ? O : L < 0.6666666666666666 ? R + (O - R) * (0.6666666666666666 - L) * 6 : R), E = F < 0.5 ? F * (1 + h) : F + h - F * h, M = 2 * F - E;
456
+ g = x(M, E, f + 1 / 3), p = x(M, E, f), y = x(M, E, f - 1 / 3);
457
457
  }
458
458
  return {
459
- r: Math.round(d * 255),
459
+ r: Math.round(g * 255),
460
460
  g: Math.round(p * 255),
461
461
  b: Math.round(y * 255)
462
462
  };
@@ -465,7 +465,7 @@ function vt(t, n) {
465
465
  const u = c(l);
466
466
  return `#${(u.r << 16 | u.g << 8 | u.b).toString(16).padStart(6, "0")}` + (o || "");
467
467
  }
468
- function Ct({
468
+ function Mt({
469
469
  centerX: t,
470
470
  centerY: n,
471
471
  outerPoints: e,
@@ -484,14 +484,14 @@ function Ct({
484
484
  coordinates: l
485
485
  };
486
486
  }
487
- function Xt({
487
+ function jt({
488
488
  plot: t,
489
489
  radius: n,
490
490
  sides: e,
491
491
  rotation: o = 0
492
492
  }) {
493
493
  const r = t.x, s = t.y, c = e / 2;
494
- return Ct({
494
+ return Mt({
495
495
  centerX: r,
496
496
  centerY: s,
497
497
  outerPoints: c,
@@ -514,7 +514,7 @@ function $t({
514
514
  }
515
515
  return l;
516
516
  }
517
- function jt({
517
+ function Kt({
518
518
  plot: t,
519
519
  radius: n,
520
520
  apexes: e = 5
@@ -528,7 +528,7 @@ function jt({
528
528
  outerRadius: l
529
529
  });
530
530
  }
531
- function Kt({ series: t }) {
531
+ function Wt({ series: t }) {
532
532
  if (!Array.isArray(t) || t.length === 0) return "";
533
533
  const n = Array.from(
534
534
  new Map(
@@ -566,7 +566,7 @@ function Kt({ series: t }) {
566
566
  function X(t) {
567
567
  return t * Math.PI / 180;
568
568
  }
569
- function Wt(t) {
569
+ function Vt(t) {
570
570
  if (t) {
571
571
  let n = t, e = 1;
572
572
  if (n.startsWith("rgba")) {
@@ -588,7 +588,7 @@ function K(t) {
588
588
  function Q(t) {
589
589
  return !!t && (t.__v_isRef || t.__v_isReactive || t.__v_isReadonly || t.effect || t.dep || t.deps || t.subs);
590
590
  }
591
- function it(t) {
591
+ function ct(t) {
592
592
  return t === "" ? "#000000" : t === "transparent" ? "#FFFFFF00" : ut(t) ?? t;
593
593
  }
594
594
  function q(t, n = /* @__PURE__ */ new WeakSet()) {
@@ -598,11 +598,11 @@ function q(t, n = /* @__PURE__ */ new WeakSet()) {
598
598
  for (const o in e) {
599
599
  const r = nt(e[o]) ? tt(e[o]) : e[o];
600
600
  if (o === "color" || o === "backgroundColor") {
601
- typeof r == "string" && (e[o] = it(r));
601
+ typeof r == "string" && (e[o] = ct(r));
602
602
  continue;
603
603
  }
604
604
  if (o === "stroke") {
605
- typeof r == "string" ? e[o] = it(r) : K(r) && !Q(r) && q(r, n);
605
+ typeof r == "string" ? e[o] = ct(r) : K(r) && !Q(r) && q(r, n);
606
606
  continue;
607
607
  }
608
608
  if (Array.isArray(r)) {
@@ -614,30 +614,30 @@ function q(t, n = /* @__PURE__ */ new WeakSet()) {
614
614
  }
615
615
  return e;
616
616
  }
617
- function Vt(t) {
617
+ function _t(t) {
618
618
  const n = t?.length ?? 0;
619
619
  if (n < 2) return { x1: 0, y1: 0, x2: 0, y2: 0, slope: 0, trend: 0 };
620
620
  let e = 0, o = 0, r = 0, s = 0;
621
- for (const { x: M, y: D } of t)
622
- e += M, o += D, r += M * D, s += M * M;
621
+ for (const { x: C, y: D } of t)
622
+ e += C, o += D, r += C * D, s += C * C;
623
623
  const c = n * s - e * e || 1, i = (n * r - e * o) / c, l = (o - i * e) / n, u = t[0].x, a = t[n - 1].x, f = i * u + l, h = i * a + l;
624
- let F = 0, d = 0, p = 0, y = 0;
625
- for (let M = 0; M < n; M += 1)
626
- F += M, d += t[M].value, p += M * t[M].value, y += M * M;
627
- const x = n * y - F * F || 1, E = (n * p - F * d) / x, C = (d - E * F) / n, R = C, O = E * (n - 1) + C, m = Math.max(Math.abs(R), Math.abs(d / n), Math.abs(O), 1e-9), $ = (O - R) / m;
624
+ let F = 0, g = 0, p = 0, y = 0;
625
+ for (let C = 0; C < n; C += 1)
626
+ F += C, g += t[C].value, p += C * t[C].value, y += C * C;
627
+ const x = n * y - F * F || 1, E = (n * p - F * g) / x, M = (g - E * F) / n, R = M, O = E * (n - 1) + M, m = Math.max(Math.abs(R), Math.abs(g / n), Math.abs(O), 1e-9), $ = (O - R) / m;
628
628
  return { x1: u, y1: f, x2: a, y2: h, slope: i, trend: $ };
629
629
  }
630
- function _t(t) {
630
+ function zt(t) {
631
631
  const n = Math.floor(t.length / 2), e = [...t].sort((o, r) => o - r);
632
632
  return t.length % 2 !== 0 ? e[n] : (e[n - 1] + e[n]) / 2;
633
633
  }
634
- function zt(t) {
634
+ function Zt(t) {
635
635
  let n = [];
636
636
  for (let e = 0; e < t.length; e += 1)
637
637
  n.push(`${A(t[e].x)},${A(t[e].y)} `);
638
638
  return n.join(" ").trim();
639
639
  }
640
- function Zt(t) {
640
+ function Qt(t) {
641
641
  if (t.length < 2) return "0,0";
642
642
  const n = t.length - 1, e = [`${A(t[0].x)},${A(t[0].y)}`], o = [], r = [], s = [], c = [];
643
643
  for (let i = 0; i < n; i += 1)
@@ -651,12 +651,12 @@ function Zt(t) {
651
651
  c[i] = l;
652
652
  }
653
653
  for (let i = 0; i < n; i += 1) {
654
- const l = t[i].x, u = t[i].y, a = t[i + 1].x, f = t[i + 1].y, h = c[i], F = c[i + 1], d = l + (a - l) / 3, p = u + h * (a - l) / 3, y = a - (a - l) / 3, x = f - F * (a - l) / 3;
655
- e.push(`C ${A(d)},${A(p)} ${A(y)},${A(x)} ${A(a)},${A(f)}`);
654
+ const l = t[i].x, u = t[i].y, a = t[i + 1].x, f = t[i + 1].y, h = c[i], F = c[i + 1], g = l + (a - l) / 3, p = u + h * (a - l) / 3, y = a - (a - l) / 3, x = f - F * (a - l) / 3;
655
+ e.push(`C ${A(g)},${A(p)} ${A(y)},${A(x)} ${A(a)},${A(f)}`);
656
656
  }
657
657
  return e.join(" ");
658
658
  }
659
- function Qt(t, n = 0.2) {
659
+ function qt(t, n = 0.2) {
660
660
  function e(c, i) {
661
661
  const l = i.x - c.x, u = i.y - c.y;
662
662
  return {
@@ -665,7 +665,7 @@ function Qt(t, n = 0.2) {
665
665
  };
666
666
  }
667
667
  function o(c, i, l, u) {
668
- const h = e(i || c, l || c), F = h.angle + (u ? Math.PI : 0), d = h.length * n, p = c.x + Math.cos(F) * d, y = c.y + Math.sin(F) * d;
668
+ const h = e(i || c, l || c), F = h.angle + (u ? Math.PI : 0), g = h.length * n, p = c.x + Math.cos(F) * g, y = c.y + Math.sin(F) * g;
669
669
  return { x: p, y };
670
670
  }
671
671
  function r(c, i, l) {
@@ -677,7 +677,7 @@ function Qt(t, n = 0.2) {
677
677
  ""
678
678
  );
679
679
  }
680
- function qt() {
680
+ function Jt() {
681
681
  return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(t) {
682
682
  const n = Math.random() * 16 | 0;
683
683
  return (t == "x" ? n : n & 3 | 8).toString(16);
@@ -690,7 +690,7 @@ function W(t, n = !1, e = 16, o = !1) {
690
690
  function V(t, n = 16, e = 16) {
691
691
  return t.center.endY > t.cy ? t.center.endY + e : t.center.endY < t.cy ? t.center.endY - n : t.center.endY;
692
692
  }
693
- function Jt({
693
+ function tn({
694
694
  initX: t,
695
695
  initY: n,
696
696
  offset: e,
@@ -719,20 +719,20 @@ function Dt(t) {
719
719
  const { x: i, y: l } = n.getPointAtLength(s);
720
720
  return { x: i, y: l };
721
721
  }
722
- function tn(t, n = !1, e = 16, o = 16, r = !1, s = !1, c = 0, i = 12, l = !1) {
722
+ function nn(t, n = !1, e = 16, o = 16, r = !1, s = !1, c = 0, i = 12, l = !1) {
723
723
  const { x: u } = Dt(t.path), a = `${W(t).x},${V(t, e, o) - 4} `;
724
724
  let f = "", h, F;
725
725
  u > t.cx ? (h = W(t).x - i, F = V(t, e, o) - 4, f = `${h},${F}`) : u < t.cx ? (h = W(t).x + i, F = V(t, e, o) - 4, f = `${h},${F}`) : (h = W(t).x + i, F = V(t, e, o) - 4, f = `${h},${F}`);
726
- const d = ` ${t.center.endX},${t.center.endY}`;
727
- return l ? s ? `M${f} Q${f} ${d}` : `M${a} Q${f} ${d}` : `M${s ? "" : a}${f}${d}`;
726
+ const g = ` ${t.center.endX},${t.center.endY}`;
727
+ return l ? s ? `M${f} Q${f} ${g}` : `M${a} Q${f} ${g}` : `M${s ? "" : a}${f}${g}`;
728
728
  }
729
- function nn(t) {
729
+ function en(t) {
730
730
  return ![null, void 0, NaN].includes(t);
731
731
  }
732
- function en(t, n) {
732
+ function rn(t, n) {
733
733
  return [...t].map((e) => e[n]).reduce((e, o) => e + o, 0);
734
734
  }
735
- function rn(t, n = !0, e = !1) {
735
+ function sn(t, n = !0, e = !1) {
736
736
  if (!t.length) return "M0,0";
737
737
  let o = "";
738
738
  return t.forEach((r) => {
@@ -740,15 +740,15 @@ function rn(t, n = !0, e = !1) {
740
740
  o += `${r.x},${r.y} `;
741
741
  }), e ? o.trim() : `M${o}${n ? "Z" : ""}`;
742
742
  }
743
- function sn({ csvContent: t, title: n = "vue-data-ui" }) {
743
+ function on({ csvContent: t, title: n = "vue-data-ui" }) {
744
744
  const e = encodeURI(t), o = document.createElement("a");
745
745
  o.setAttribute("href", e), o.setAttribute("download", `${n}.csv`), document.body.appendChild(o), o.click(), o.remove(), window.URL.revokeObjectURL(e);
746
746
  }
747
- function on(t) {
747
+ function cn(t) {
748
748
  return `data:text/csv;charset=utf-8,${t.map((n) => n.join(",")).join(`
749
749
  `)}`;
750
750
  }
751
- function cn(t, n) {
751
+ function an(t, n) {
752
752
  if (!/^#([0-9A-F]{3}){1,2}([0-9A-F]{2})?$/i.test(t))
753
753
  return console.warn("lightenHexColor : Invalid hex color format"), "#000000";
754
754
  let e = t.replace("#", "");
@@ -760,7 +760,7 @@ function cn(t, n) {
760
760
  }
761
761
  return u;
762
762
  }
763
- function an(t, n) {
763
+ function ln(t, n) {
764
764
  if (!/^#([0-9A-F]{3}){1,2}([0-9A-F]{2})?$/i.test(t))
765
765
  return console.warn("darkenHexColor: Invalid hex color format"), "#000000";
766
766
  let e = t.replace("#", "");
@@ -777,7 +777,7 @@ function z(t, n) {
777
777
  let r;
778
778
  return n ? o < 1.5 ? r = 1 : o < 3 ? r = 2 : o < 7 ? r = 5 : r = 10 : o <= 1 ? r = 1 : o <= 2 ? r = 2 : o <= 5 ? r = 5 : r = 10, r * Math.pow(10, e);
779
779
  }
780
- function ln(t, n, e, o = !1) {
780
+ function un(t, n, e, o = !1) {
781
781
  const r = o ? n - t : z(n - t, !1), s = o ? r / (e - 1) : z(r / (e - 1), !0), c = Math.floor(t / s) * s, i = Math.ceil(n / s) * s, l = [];
782
782
  for (let u = c; u <= i; u += s)
783
783
  l.push(u);
@@ -788,7 +788,7 @@ function ln(t, n, e, o = !1) {
788
788
  ticks: l
789
789
  };
790
790
  }
791
- function un(t, n, e, o = !1) {
791
+ function fn(t, n, e, o = !1) {
792
792
  const r = o ? n - t : z(n - t, !1), s = o ? r / (e - 1) : z(r / (e - 1), !0), c = Math.floor(t / s) * s, i = Math.ceil(n / s) * s;
793
793
  let l = [], u = c;
794
794
  for (; u <= i; )
@@ -800,12 +800,12 @@ function un(t, n, e, o = !1) {
800
800
  ticks: l
801
801
  };
802
802
  }
803
- function fn(t, n, e, o, r) {
803
+ function hn(t, n, e, o, r) {
804
804
  const s = (h) => {
805
- let F = parseInt(h.substring(1, 3), 16), d = parseInt(h.substring(3, 5), 16), p = parseInt(h.substring(5, 7), 16), y = 1;
806
- return h.length === 9 && (y = parseInt(h.substring(7, 9), 16) / 255), { r: F, g: d, b: p, a: y };
807
- }, c = ({ r: h, g: F, b: d, a: p }) => {
808
- const y = (E) => E.toString(16).padStart(2, "0"), x = `#${y(h)}${y(F)}${y(d)}`;
805
+ let F = parseInt(h.substring(1, 3), 16), g = parseInt(h.substring(3, 5), 16), p = parseInt(h.substring(5, 7), 16), y = 1;
806
+ return h.length === 9 && (y = parseInt(h.substring(7, 9), 16) / 255), { r: F, g, b: p, a: y };
807
+ }, c = ({ r: h, g: F, b: g, a: p }) => {
808
+ const y = (E) => E.toString(16).padStart(2, "0"), x = `#${y(h)}${y(F)}${y(g)}`;
809
809
  if (p !== 1) {
810
810
  const E = Math.round(p * 255).toString(16).padStart(2, "0");
811
811
  return x + E;
@@ -820,11 +820,11 @@ function fn(t, n, e, o, r) {
820
820
  }, f = i.a + (l.a - i.a) * u;
821
821
  return c({ ...a, a: f });
822
822
  }
823
- function hn({ p: t = "", v: n, s: e = "", r: o = 0, space: r = !1, isAnimating: s = !1, regex: c = /[^%]/g, replacement: i = "-", locale: l = null }) {
823
+ function Fn({ p: t = "", v: n, s: e = "", r: o = 0, space: r = !1, isAnimating: s = !1, regex: c = /[^%]/g, replacement: i = "-", locale: l = null }) {
824
824
  const u = l ? Number(Number(n).toFixed(o)).toLocaleString(l) : Number(Number(n).toFixed(o)).toLocaleString(), a = u === 1 / 0 ? "∞" : u === -1 / 0 ? "-∞" : u, f = `${t ?? ""}${r ? " " : ""}${[void 0, null].includes(n) ? "-" : a}${r ? " " : ""}${e ?? ""}`;
825
825
  return s ? f.replace(c, i) : f;
826
826
  }
827
- function Fn({ source: t, length: n = 3 }) {
827
+ function gn({ source: t, length: n = 3 }) {
828
828
  if (!t && t !== 0)
829
829
  return "";
830
830
  t = String(t);
@@ -843,13 +843,13 @@ function Fn({ source: t, length: n = 3 }) {
843
843
  function dn(t) {
844
844
  return !!t && typeof t == "function";
845
845
  }
846
- function gn(t) {
846
+ function pn(t) {
847
847
  return typeof t.apply(null, arguments) == "string";
848
848
  }
849
- function pn(t) {
849
+ function En(t) {
850
850
  return Array.isArray(t) ? t.length === 0 : t ? Object.keys(t).length === 0 : !0;
851
851
  }
852
- function En({ componentName: t, type: n, property: e = "", index: o = "", key: r = "", warn: s = !0, debug: c = !0 }) {
852
+ function An({ componentName: t, type: n, property: e = "", index: o = "", key: r = "", warn: s = !0, debug: c = !0 }) {
853
853
  if (!c) return;
854
854
  const i = `
855
855
  > ${At[n].replace("#COMP#", t).replace("#ATTR#", e).replace("#INDX#", o).replace("#KEY#", r)}
@@ -882,7 +882,7 @@ function Bt(t) {
882
882
  }
883
883
  return n;
884
884
  }
885
- function An({
885
+ function yn({
886
886
  maxPoints: t,
887
887
  a: n = 6,
888
888
  b: e = 6,
@@ -893,19 +893,19 @@ function An({
893
893
  boxHeight: i,
894
894
  padding: l = 12
895
895
  }) {
896
- const u = St({ points: t, a: n, b: e, angleStep: o, startX: 0, startY: 0 }), { minX: a, minY: f, maxX: h, maxY: F, width: d, height: p } = Rt(u), y = (a + h) / 2, x = (f + F) / 2, E = Math.max(1, c - 2 * l), C = Math.max(1, i - 2 * l), R = Math.min(E / d, C / p), O = r - y * R, L = s - x * R;
896
+ const u = St({ points: t, a: n, b: e, angleStep: o, startX: 0, startY: 0 }), { minX: a, minY: f, maxX: h, maxY: F, width: g, height: p } = Rt(u), y = (a + h) / 2, x = (f + F) / 2, E = Math.max(1, c - 2 * l), M = Math.max(1, i - 2 * l), R = Math.min(E / g, M / p), O = r - y * R, L = s - x * R;
897
897
  return function($) {
898
- const M = Math.max(2, Math.min(Math.round($), u.length)), D = u.slice(0, M).map((g) => ({ x: g.x * R + O, y: g.y * R + L }));
898
+ const C = Math.max(2, Math.min(Math.round($), u.length)), D = u.slice(0, C).map((d) => ({ x: d.x * R + O, y: d.y * R + L }));
899
899
  return Bt(D);
900
900
  };
901
901
  }
902
- function yn({ datasetObject: t, requiredAttributes: n }) {
902
+ function xn({ datasetObject: t, requiredAttributes: n }) {
903
903
  let e = [];
904
904
  return n.forEach((o) => {
905
905
  Object.hasOwn(t, o) || e.push(o);
906
906
  }), e;
907
907
  }
908
- const ct = {
908
+ const at = {
909
909
  ALICEBLUE: "#F0F8FF",
910
910
  ANTIQUEWHITE: "#FAEBD7",
911
911
  AQUA: "#00FFFF",
@@ -1055,10 +1055,10 @@ function It(t) {
1055
1055
  if (e === "" || e[0] === "#") return e;
1056
1056
  if (e.toLowerCase() === "transparent") return "#FFFFFF00";
1057
1057
  const o = e.toUpperCase(), r = o.replace(/GRAY/g, "GREY");
1058
- return ct[o] || ct[r] || e;
1058
+ return at[o] || at[r] || e;
1059
1059
  }
1060
1060
  const J = "http://www.w3.org/2000/svg";
1061
- function xn(t) {
1061
+ function mn(t) {
1062
1062
  if (t.length < 2)
1063
1063
  return 0;
1064
1064
  let n = 0, e = 0;
@@ -1071,13 +1071,30 @@ function xn(t) {
1071
1071
  }
1072
1072
  return e === 0 ? 0 : n / e;
1073
1073
  }
1074
- function mn({ content: t, fontSize: n, fill: e, x: o, y: r }) {
1075
- return t.split(`
1076
- `).map(
1077
- (c, i) => `<tspan x="${o}" y="${r + i * n}" fill="${e}">${c}</tspan>`
1074
+ function Lt({
1075
+ content: t,
1076
+ fontSize: n,
1077
+ fill: e,
1078
+ x: o,
1079
+ y: r,
1080
+ translateY: s = !1
1081
+ }) {
1082
+ const c = t.split(`
1083
+ `), l = c.length * n, u = s ? (l - n) / 2 : 0;
1084
+ return c.map(
1085
+ (a, f) => `<tspan x="${o}" y="${r - u + f * n}" fill="${e}">${a}</tspan>`
1078
1086
  ).join("");
1079
1087
  }
1080
- function bn({ content: t, fontSize: n, fill: e, x: o, autoOffset: r = !1 }) {
1088
+ function bn(t) {
1089
+ return et(t) ? (Lt({
1090
+ content: t,
1091
+ fontSize: 1,
1092
+ fill: "",
1093
+ x: 0,
1094
+ y: 0
1095
+ }).match(/<tspan\b/g) || []).length : 1;
1096
+ }
1097
+ function Cn({ content: t, fontSize: n, fill: e, x: o, autoOffset: r = !1 }) {
1081
1098
  const s = t.split(`
1082
1099
  `), c = r ? (s.length - 1) * n / 2 : 0;
1083
1100
  return s.map((i, l) => {
@@ -1105,10 +1122,10 @@ function Mn({
1105
1122
  i += f;
1106
1123
  }), i;
1107
1124
  }
1108
- function Cn(t) {
1125
+ function $n(t) {
1109
1126
  return t.length ? t.map((n) => ut(n)) : [];
1110
1127
  }
1111
- function $n(t, n = null) {
1128
+ function Dn(t, n = null) {
1112
1129
  const e = t.replace(/[\p{P}\p{S}]+/gu, " ").trim(), c = (/[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}\p{Script=Hangul}\p{Script=Thai}\p{Script=Lao}\p{Script=Khmer}\p{Script=Tibetan}\p{Script=Myanmar}\p{Script=Devanagari}]/u.test(t) ? [...e] : e.split(/\s+/)).filter((i) => i.trim().length > 0).reduce((i, l) => (i[l] ? i[l] += 1 : i[l] = 1, i), {});
1113
1130
  return Object.keys(c).map((i) => {
1114
1131
  let l = i;
@@ -1118,7 +1135,7 @@ function $n(t, n = null) {
1118
1135
  };
1119
1136
  });
1120
1137
  }
1121
- function Dn(t) {
1138
+ function Sn(t) {
1122
1139
  let n = t.reduce((i, l) => i + (l.stackRatio || 0), 0), e = t.filter((i) => i.stackRatio === void 0).length, o = 1 - n, r = e > 0 ? o / e : 0, s = t.map((i) => ({
1123
1140
  ...i,
1124
1141
  stackRatio: i.stackRatio !== void 0 ? i.stackRatio : r
@@ -1129,18 +1146,18 @@ function Dn(t) {
1129
1146
  cumulatedStackRatio: c
1130
1147
  })), s;
1131
1148
  }
1132
- function Sn(t) {
1149
+ function Rn(t) {
1133
1150
  function n(u, a, f, h) {
1134
- const F = f - u, d = h - a;
1135
- return Math.sqrt(F * F + d * d);
1151
+ const F = f - u, g = h - a;
1152
+ return Math.sqrt(F * F + g * g);
1136
1153
  }
1137
1154
  function e(u, a, f, h) {
1138
- let d = 0, p = u.x, y = u.y;
1155
+ let g = 0, p = u.x, y = u.y;
1139
1156
  for (let x = 1; x <= 100; x += 1) {
1140
- const E = x / 100, C = 1 - E, R = C * C, O = E * E, L = R * C * u.x + 3 * R * E * a.x + 3 * C * O * f.x + O * E * h.x, m = R * C * u.y + 3 * R * E * a.y + 3 * C * O * f.y + O * E * h.y;
1141
- d += n(p, y, L, m), p = L, y = m;
1157
+ const E = x / 100, M = 1 - E, R = M * M, O = E * E, L = R * M * u.x + 3 * R * E * a.x + 3 * M * O * f.x + O * E * h.x, m = R * M * u.y + 3 * R * E * a.y + 3 * M * O * f.y + O * E * h.y;
1158
+ g += n(p, y, L, m), p = L, y = m;
1142
1159
  }
1143
- return d;
1160
+ return g;
1144
1161
  }
1145
1162
  const o = t.match(/[a-zA-Z][^a-zA-Z]*/g);
1146
1163
  let r = 0, s = 0, c = 0, i = 0, l = 0;
@@ -1179,7 +1196,7 @@ function Sn(t) {
1179
1196
  }
1180
1197
  }), l;
1181
1198
  }
1182
- function Rn({
1199
+ function Bn({
1183
1200
  relator: t,
1184
1201
  adjuster: n,
1185
1202
  source: e,
@@ -1190,12 +1207,12 @@ function Rn({
1190
1207
  const c = t / (n / e);
1191
1208
  return c > s ? s : c < o ? r : c;
1192
1209
  }
1193
- function Bn(t) {
1210
+ function In(t) {
1194
1211
  return t.reduce((n, e) => (e.series.forEach((o, r) => {
1195
1212
  ![void 0, null, 1 / 0, -1 / 0].includes(o) && !isNaN(o) && (n[r] = (n[r] || 0) + o);
1196
1213
  }), n), []);
1197
1214
  }
1198
- function Lt(t, { value: n, config: e }) {
1215
+ function Nt(t, { value: n, config: e }) {
1199
1216
  let o = !1, r = n;
1200
1217
  if (typeof t == "function")
1201
1218
  try {
@@ -1208,14 +1225,14 @@ function Lt(t, { value: n, config: e }) {
1208
1225
  value: r
1209
1226
  };
1210
1227
  }
1211
- function In(t, n, e, o) {
1212
- const { isValid: r, value: s } = Lt(t, { value: n, config: o });
1228
+ function Ln(t, n, e, o) {
1229
+ const { isValid: r, value: s } = Nt(t, { value: n, config: o });
1213
1230
  return r ? s : e;
1214
1231
  }
1215
- function Ln(t, n) {
1232
+ function Nn(t, n) {
1216
1233
  return n.split(".").every((e) => t !== null && typeof t == "object" && e in t ? (t = t[e], !0) : !1);
1217
1234
  }
1218
- function Nn(t, n = [], e = !1) {
1235
+ function On(t, n = [], e = !1) {
1219
1236
  function o(s) {
1220
1237
  return e && s === null ? null : typeof s == "string" && isNaN(Number(s)) || typeof s == "number" && isFinite(s) ? s : 0;
1221
1238
  }
@@ -1263,18 +1280,18 @@ function Nn(t, n = [], e = !1) {
1263
1280
  }
1264
1281
  return r(t);
1265
1282
  }
1266
- function On(t, n = 100) {
1267
- return t.length === 9 ? t.substring(0, 7) + ot[n] : t + ot[n];
1283
+ function wn(t, n = 100) {
1284
+ return t.length === 9 ? t.substring(0, 7) + it[n] : t + it[n];
1268
1285
  }
1269
- function wn({ series: t, center: n, maxRadius: e, hasGhost: o = !1 }) {
1286
+ function Tn({ series: t, center: n, maxRadius: e, hasGhost: o = !1 }) {
1270
1287
  const s = 360 / (t.length - (o ? 1 : 0));
1271
1288
  return t.map((i, l) => {
1272
- const a = i * e, f = l * s, h = f + s, F = f + s / 2, d = X(f) - X(90), p = X(h) - X(90), y = X(F) - X(90), x = n.x + a * Math.cos(d), E = n.y + a * Math.sin(d), C = n.x + a * Math.cos(p), R = n.y + a * Math.sin(p), O = n.x + a * Math.cos(y), L = n.y + a * Math.sin(y);
1289
+ const a = i * e, f = l * s, h = f + s, F = f + s / 2, g = X(f) - X(90), p = X(h) - X(90), y = X(F) - X(90), x = n.x + a * Math.cos(g), E = n.y + a * Math.sin(g), M = n.x + a * Math.cos(p), R = n.y + a * Math.sin(p), O = n.x + a * Math.cos(y), L = n.y + a * Math.sin(y);
1273
1290
  return {
1274
1291
  path: `
1275
1292
  M ${n.x} ${n.y}
1276
1293
  L ${x} ${E}
1277
- A ${a} ${a} 0 0 1 ${C} ${R}
1294
+ A ${a} ${a} 0 0 1 ${M} ${R}
1278
1295
  Z
1279
1296
  `.trim(),
1280
1297
  middlePoint: { x: O, y: L },
@@ -1282,7 +1299,7 @@ function wn({ series: t, center: n, maxRadius: e, hasGhost: o = !1 }) {
1282
1299
  };
1283
1300
  });
1284
1301
  }
1285
- function Tn({ data: t, threshold: n }) {
1302
+ function Pn({ data: t, threshold: n }) {
1286
1303
  if (n >= t.length || n < 3)
1287
1304
  return t;
1288
1305
  const e = [], o = (t.length - 2) / (n - 2);
@@ -1296,16 +1313,16 @@ function Tn({ data: t, threshold: n }) {
1296
1313
  u /= l.length, a /= l.length;
1297
1314
  let f = -1, h = r;
1298
1315
  for (let F = c; F < i; F += 1) {
1299
- const d = Math.abs(
1316
+ const g = Math.abs(
1300
1317
  (t[r].x - u) * (t[F].y - t[r].y) - (t[r].x - t[F].x) * (a - t[r].y)
1301
1318
  );
1302
- d > f && (f = d, h = F);
1319
+ g > f && (f = g, h = F);
1303
1320
  }
1304
1321
  e.push(t[h]), r = h;
1305
1322
  }
1306
1323
  return e.push(t[t.length - 1]), e;
1307
1324
  }
1308
- function Pn({ data: t, threshold: n }) {
1325
+ function kn({ data: t, threshold: n }) {
1309
1326
  if (n >= t.length || n < 3)
1310
1327
  return t;
1311
1328
  const e = [], o = (t.length - 2) / (n - 2);
@@ -1322,29 +1339,29 @@ function Pn({ data: t, threshold: n }) {
1322
1339
  }
1323
1340
  return e.push(t[t.length - 1]), e;
1324
1341
  }
1325
- function kn({ data: t, threshold: n, key: e = "value" }) {
1342
+ function Yn({ data: t, threshold: n, key: e = "value" }) {
1326
1343
  if (n >= t.length || n < 3)
1327
1344
  return t;
1328
1345
  const o = [], r = (t.length - 2) / (n - 2);
1329
1346
  let s = 0;
1330
1347
  o.push(t[s]);
1331
1348
  for (let c = 0; c < n - 2; c += 1) {
1332
- const i = Math.floor((c + 1) * r) + 1, l = Math.min(Math.floor((c + 2) * r) + 1, t.length), u = t.slice(i, l), a = u.reduce((F, d) => F + d[e], 0) / u.length;
1349
+ const i = Math.floor((c + 1) * r) + 1, l = Math.min(Math.floor((c + 2) * r) + 1, t.length), u = t.slice(i, l), a = u.reduce((F, g) => F + g[e], 0) / u.length;
1333
1350
  let f = -1, h = s;
1334
1351
  for (let F = i; F < l; F += 1) {
1335
- const d = Math.abs((t[s][e] - a) * (F - s));
1336
- d > f && (f = d, h = F);
1352
+ const g = Math.abs((t[s][e] - a) * (F - s));
1353
+ g > f && (f = g, h = F);
1337
1354
  }
1338
1355
  o.push(t[h]), s = h;
1339
1356
  }
1340
1357
  return o.push(t[t.length - 1]), o;
1341
1358
  }
1342
- function Yn({ radius: t, centerX: n, centerY: e, percentage: o }) {
1359
+ function Hn({ radius: t, centerX: n, centerY: e, percentage: o }) {
1343
1360
  o = Math.max(0, Math.min(1, o));
1344
1361
  const r = o * Math.PI, s = n - t, c = e, i = n - t * Math.cos(r), l = e - t * Math.sin(r);
1345
1362
  return `M ${n},${e} L ${s},${c} A ${t},${t} 0 0 1 ${i},${l} Z`.trim();
1346
1363
  }
1347
- function Hn({ svgElement: t, x: n, y: e, offsetY: o = 0, element: r }) {
1364
+ function Un({ svgElement: t, x: n, y: e, offsetY: o = 0, element: r }) {
1348
1365
  if (!t || !r) return { top: 0, left: 0 };
1349
1366
  const s = t.createSVGPoint();
1350
1367
  s.x = n, s.y = e;
@@ -1355,7 +1372,7 @@ function Hn({ svgElement: t, x: n, y: e, offsetY: o = 0, element: r }) {
1355
1372
  left: c.x + u
1356
1373
  };
1357
1374
  }
1358
- function Un({ svgElement: t, x: n, y: e, element: o, position: r }) {
1375
+ function Gn({ svgElement: t, x: n, y: e, element: o, position: r }) {
1359
1376
  if (!t || !o) return { top: 0, left: 0 };
1360
1377
  const s = t.createSVGPoint();
1361
1378
  s.x = n, s.y = e;
@@ -1392,14 +1409,14 @@ function _(t) {
1392
1409
  Object.prototype.hasOwnProperty.call(t, e) && (n[e] = _(t[e]));
1393
1410
  return n;
1394
1411
  }
1395
- function Nt(t) {
1412
+ function Ot(t) {
1396
1413
  const n = [];
1397
1414
  let e = [];
1398
1415
  for (const o of t)
1399
1416
  !o || o.value == null || Number.isNaN(o.x) || Number.isNaN(o.y) ? (e.length && n.push(e), e = []) : e.push(o);
1400
1417
  return e.length && n.push(e), n;
1401
1418
  }
1402
- function Gn(t, n) {
1419
+ function vn(t, n) {
1403
1420
  const e = t.filter((c) => !!c);
1404
1421
  if (!e[0]) return [-10, -10, "", -10, -10].toString();
1405
1422
  const o = { x: e[0].x, y: n }, r = { x: e.at(-1).x, y: n }, s = [];
@@ -1407,9 +1424,9 @@ function Gn(t, n) {
1407
1424
  s.push(`${c.x},${c.y} `);
1408
1425
  }), [o.x, o.y, ...s, r.x, r.y].toString();
1409
1426
  }
1410
- function vn(t, n) {
1427
+ function Xn(t, n) {
1411
1428
  if (!t[0]) return [-10, -10, "", -10, -10].toString();
1412
- const e = Nt(t);
1429
+ const e = Ot(t);
1413
1430
  return e.length ? e.map((o) => {
1414
1431
  const r = { x: o[0].x, y: n }, s = { x: o.at(-1).x, y: n }, c = [];
1415
1432
  return o.forEach((i) => {
@@ -1417,14 +1434,14 @@ function vn(t, n) {
1417
1434
  }), [r.x, r.y, ...c, s.x, s.y].toString();
1418
1435
  }).join(";") : "";
1419
1436
  }
1420
- function Ot(t) {
1437
+ function wt(t) {
1421
1438
  const n = [];
1422
1439
  let e = [];
1423
1440
  for (const o of t)
1424
1441
  o.value == null || Number.isNaN(o.x) || Number.isNaN(o.y) ? (e.length > 1 && n.push(e), e = []) : e.push(o);
1425
1442
  return e.length > 1 && n.push(e), n;
1426
1443
  }
1427
- function Xn(t) {
1444
+ function jn(t) {
1428
1445
  let n = "", e = !1;
1429
1446
  const o = (r) => r.value != null && Number.isFinite(r.x) && Number.isFinite(r.y);
1430
1447
  for (let r = 0; r < t.length; r++) {
@@ -1442,8 +1459,8 @@ function Xn(t) {
1442
1459
  }
1443
1460
  return n.trim();
1444
1461
  }
1445
- function jn(t) {
1446
- const n = Ot(t);
1462
+ function Kn(t) {
1463
+ const n = wt(t);
1447
1464
  if (!n.length) return "";
1448
1465
  let e = "";
1449
1466
  for (const [o, r] of n.entries()) {
@@ -1461,13 +1478,13 @@ function jn(t) {
1461
1478
  }
1462
1479
  e += `${o === 0 ? "" : "M"}${A(r[0].x)},${A(r[0].y)} `;
1463
1480
  for (let a = 0; a < s; a += 1) {
1464
- const f = r[a].x, h = r[a].y, F = r[a + 1].x, d = r[a + 1].y, p = u[a], y = u[a + 1], x = f + (F - f) / 3, E = h + p * (F - f) / 3, C = F - (F - f) / 3, R = d - y * (F - f) / 3;
1465
- e += `C${A(x)},${A(E)} ${A(C)},${A(R)} ${A(F)},${A(d)} `;
1481
+ const f = r[a].x, h = r[a].y, F = r[a + 1].x, g = r[a + 1].y, p = u[a], y = u[a + 1], x = f + (F - f) / 3, E = h + p * (F - f) / 3, M = F - (F - f) / 3, R = g - y * (F - f) / 3;
1482
+ e += `C${A(x)},${A(E)} ${A(M)},${A(R)} ${A(F)},${A(g)} `;
1466
1483
  }
1467
1484
  }
1468
1485
  return e.trim();
1469
1486
  }
1470
- function Kn(t, n, e = !1, o = !0) {
1487
+ function Wn(t, n, e = !1, o = !0) {
1471
1488
  function r(c) {
1472
1489
  const i = [];
1473
1490
  let l = [];
@@ -1485,39 +1502,39 @@ function Kn(t, n, e = !1, o = !0) {
1485
1502
  if (a[F - 1] * a[F] <= 0)
1486
1503
  f[F] = 0;
1487
1504
  else {
1488
- const d = 2 * a[F - 1] * a[F] / (a[F - 1] + a[F]);
1489
- f[F] = d;
1505
+ const g = 2 * a[F - 1] * a[F] / (a[F - 1] + a[F]);
1506
+ f[F] = g;
1490
1507
  }
1491
1508
  let h = `M${c[0].x},${n}`;
1492
1509
  h += ` L${c[0].x},${c[0].y}`;
1493
1510
  for (let F = 0; F < i; F += 1) {
1494
- const d = c[F].x, p = c[F].y, y = c[F + 1].x, x = c[F + 1].y, E = f[F], C = f[F + 1], R = d + (y - d) / 3, O = p + E * (y - d) / 3, L = y - (y - d) / 3, m = x - C * (y - d) / 3;
1511
+ const g = c[F].x, p = c[F].y, y = c[F + 1].x, x = c[F + 1].y, E = f[F], M = f[F + 1], R = g + (y - g) / 3, O = p + E * (y - g) / 3, L = y - (y - g) / 3, m = x - M * (y - g) / 3;
1495
1512
  h += ` C${R},${O} ${L},${m} ${y},${x}`;
1496
1513
  }
1497
1514
  return h += ` L${c[i].x},${n} ${o ? "Z" : ""}`, h;
1498
1515
  }).filter(Boolean);
1499
1516
  }
1500
- function Wn(t) {
1517
+ function Vn(t) {
1501
1518
  return t.toString().toLowerCase().replace(/\s+/g, "-").replace(/[^\w\-]+/g, "").replace(/\-\-+/g, "-").replace(/^-+/, "").replace(/-+$/, "");
1502
1519
  }
1503
- function wt(t) {
1520
+ function Tt(t) {
1504
1521
  return t && typeof t == "object" && !Array.isArray(t) && Object.keys(t).length === 0 ? null : t;
1505
1522
  }
1506
- function at(t) {
1523
+ function lt(t) {
1507
1524
  if (Array.isArray(t))
1508
- return t.map(at);
1525
+ return t.map(lt);
1509
1526
  if (t && typeof t == "object" && !Array.isArray(t)) {
1510
1527
  const n = {};
1511
1528
  for (const e in t)
1512
- Object.hasOwn(t, e) && (n[e] = at(t[e]));
1513
- return wt(n);
1529
+ Object.hasOwn(t, e) && (n[e] = lt(t[e]));
1530
+ return Tt(n);
1514
1531
  }
1515
1532
  return t;
1516
1533
  }
1517
- function Vn(t) {
1534
+ function _n(t) {
1518
1535
  return 1 - Math.pow(1 - t, 3);
1519
1536
  }
1520
- function _n({ values: t, config: n = {} }) {
1537
+ function zn({ values: t, config: n = {} }) {
1521
1538
  const {
1522
1539
  keepInvalid: e = !0,
1523
1540
  convertInvalidToZero: o = !1
@@ -1533,7 +1550,7 @@ function _n({ values: t, config: n = {} }) {
1533
1550
  i(u) ? o && e ? l(0) : !o && e && r.push(u) : l(u);
1534
1551
  return r;
1535
1552
  }
1536
- function zn({ values: t, config: n = {} }) {
1553
+ function Zn({ values: t, config: n = {} }) {
1537
1554
  const {
1538
1555
  keepInvalid: e = !0,
1539
1556
  convertInvalidToZero: o = !1
@@ -1550,7 +1567,7 @@ function zn({ values: t, config: n = {} }) {
1550
1567
  c(l) ? o && e ? i(0) : !o && e && r.push(l) : i(l);
1551
1568
  return r;
1552
1569
  }
1553
- function Zn({
1570
+ function Qn({
1554
1571
  el: t,
1555
1572
  bounds: n,
1556
1573
  currentFontSize: e,
@@ -1561,16 +1578,16 @@ function Zn({
1561
1578
  if (!t || !e) return 0;
1562
1579
  let c = e;
1563
1580
  t.setAttribute("font-size", c);
1564
- const { x: i, y: l, width: u, height: a } = n, f = i + s, h = l + s, F = i + u - s, d = l + a - s;
1581
+ const { x: i, y: l, width: u, height: a } = n, f = i + s, h = l + s, F = i + u - s, g = l + a - s;
1565
1582
  let p = t.getBBox();
1566
- if (p.x >= f + s && p.y >= h + s && p.x + p.width <= F - s && p.y + p.height <= d - s)
1583
+ if (p.x >= f + s && p.y >= h + s && p.x + p.width <= F - s && p.y + p.height <= g - s)
1567
1584
  return c;
1568
1585
  let y = r;
1569
- for (; y-- > 0 && c > o && (c--, t.setAttribute("font-size", c), p = t.getBBox(), !(p.x >= f + s && p.y >= h + s && p.x + p.width <= F - s && p.y + p.height <= d - s)); )
1586
+ for (; y-- > 0 && c > o && (c--, t.setAttribute("font-size", c), p = t.getBBox(), !(p.x >= f + s && p.y >= h + s && p.x + p.width <= F - s && p.y + p.height <= g - s)); )
1570
1587
  ;
1571
1588
  return c < o && (c = 0, t.setAttribute("font-size", c)), c;
1572
1589
  }
1573
- function Qn({
1590
+ function qn({
1574
1591
  value: t,
1575
1592
  maxDecimals: n = 4,
1576
1593
  fallbackFormatter: e,
@@ -1592,13 +1609,13 @@ function Qn({
1592
1609
  let c = t.toFixed(s);
1593
1610
  return o && (c = c.replace(/(\.\d*?[1-9])0+$/, "$1").replace(/\.0+$/, "")), c;
1594
1611
  }
1595
- function qn(t) {
1612
+ function Jn(t) {
1596
1613
  const n = [];
1597
1614
  for (let e = 0; e < t; e += 1)
1598
1615
  n.push(e === 0 ? 0 : e === 1 ? 1 : n[e - 1] + n[e - 2]);
1599
1616
  return n;
1600
1617
  }
1601
- function Jn(t, n = 20) {
1618
+ function te(t, n = 20) {
1602
1619
  t = t.replace(/[\r\n]+/g, " ");
1603
1620
  const e = t.split(" ");
1604
1621
  let o = "", r = "";
@@ -1608,7 +1625,7 @@ function Jn(t, n = 20) {
1608
1625
  return o && (r += (r ? `
1609
1626
  ` : "") + o), r;
1610
1627
  }
1611
- function te(t) {
1628
+ function ne(t) {
1612
1629
  const {
1613
1630
  lineA: n,
1614
1631
  lineB: e,
@@ -1630,40 +1647,40 @@ function te(t) {
1630
1647
  function f(m) {
1631
1648
  if (!l) return [m.filter((D) => D && a(D.x) && a(D.y))];
1632
1649
  const $ = [];
1633
- let M = [];
1650
+ let C = [];
1634
1651
  for (const D of m)
1635
- D && a(D.x) && a(D.y) && D.value != null ? M.push({ x: D.x, y: D.y }) : (M.length > 1 && $.push(M), M = []);
1636
- return M.length > 1 && $.push(M), $;
1652
+ D && a(D.x) && a(D.y) && D.value != null ? C.push({ x: D.x, y: D.y }) : (C.length > 1 && $.push(C), C = []);
1653
+ return C.length > 1 && $.push(C), $;
1637
1654
  }
1638
1655
  function h(m) {
1639
- const $ = m.length - 1, M = new Array($), D = new Array($), g = new Array($), I = new Array(m.length);
1656
+ const $ = m.length - 1, C = new Array($), D = new Array($), d = new Array($), I = new Array(m.length);
1640
1657
  for (let b = 0; b < $; b += 1)
1641
- M[b] = m[b + 1].x - m[b].x, D[b] = m[b + 1].y - m[b].y, g[b] = D[b] / M[b];
1642
- I[0] = g[0], I[$] = g[$ - 1];
1658
+ C[b] = m[b + 1].x - m[b].x, D[b] = m[b + 1].y - m[b].y, d[b] = D[b] / C[b];
1659
+ I[0] = d[0], I[$] = d[$ - 1];
1643
1660
  for (let b = 1; b < $; b += 1)
1644
- g[b - 1] * g[b] <= 0 ? I[b] = 0 : I[b] = 2 * g[b - 1] * g[b] / (g[b - 1] + g[b]);
1661
+ d[b - 1] * d[b] <= 0 ? I[b] = 0 : I[b] = 2 * d[b - 1] * d[b] / (d[b - 1] + d[b]);
1645
1662
  return I;
1646
1663
  }
1647
- function F(m, $, M, D, g) {
1664
+ function F(m, $, C, D, d) {
1648
1665
  const I = m.x, b = $.x, w = m.y, S = $.y, T = b - I;
1649
1666
  if (T === 0) return w;
1650
- const P = (g - I) / T, N = P * P, Y = N * P, H = 2 * Y - 3 * N + 1, B = Y - 2 * N + P, k = -2 * Y + 3 * N, U = Y - N;
1651
- return H * w + B * (M * T) + k * S + U * (D * T);
1667
+ const P = (d - I) / T, N = P * P, Y = N * P, H = 2 * Y - 3 * N + 1, B = Y - 2 * N + P, k = -2 * Y + 3 * N, U = Y - N;
1668
+ return H * w + B * (C * T) + k * S + U * (D * T);
1652
1669
  }
1653
- function d(m, $) {
1654
- const M = f(m);
1655
- if (!M.length) return [];
1656
- let D = 1 / 0, g = -1 / 0;
1657
- for (const S of M)
1658
- D = Math.min(D, S[0].x), g = Math.max(g, S[S.length - 1].x);
1659
- if (!a(D) || !a(g) || g <= D) return [];
1670
+ function g(m, $) {
1671
+ const C = f(m);
1672
+ if (!C.length) return [];
1673
+ let D = 1 / 0, d = -1 / 0;
1674
+ for (const S of C)
1675
+ D = Math.min(D, S[0].x), d = Math.max(d, S[S.length - 1].x);
1676
+ if (!a(D) || !a(d) || d <= D) return [];
1660
1677
  const I = Math.max(1, i), b = [];
1661
- for (let S = D; S <= g; S += I) b.push(S);
1662
- b[b.length - 1] < g && b.push(g);
1678
+ for (let S = D; S <= d; S += I) b.push(S);
1679
+ b[b.length - 1] < d && b.push(d);
1663
1680
  const w = [];
1664
1681
  for (const S of b) {
1665
1682
  let T = null, P = !1;
1666
- for (const N of M) {
1683
+ for (const N of C) {
1667
1684
  const Y = N.length - 1;
1668
1685
  if (!(S < N[0].x - 1e-9 || S > N[Y].x + 1e-9)) {
1669
1686
  for (let H = 0; H < Y; H += 1) {
@@ -1687,27 +1704,27 @@ function te(t) {
1687
1704
  }
1688
1705
  return w;
1689
1706
  }
1690
- function p(m, $, M) {
1691
- return m + M * ($ - m);
1707
+ function p(m, $, C) {
1708
+ return m + C * ($ - m);
1692
1709
  }
1693
1710
  function y(m, $) {
1694
- const M = [], D = [], g = Math.min(m.length, $.length);
1695
- for (let I = 0; I < g - 1; I += 1) {
1711
+ const C = [], D = [], d = Math.min(m.length, $.length);
1712
+ for (let I = 0; I < d - 1; I += 1) {
1696
1713
  const b = m[I], w = m[I + 1], S = $[I], T = $[I + 1];
1697
- if (M.push(b), D.push(S), b.hole || w.hole || S.hole || T.hole || b.y == null || w.y == null || S.y == null || T.y == null)
1714
+ if (C.push(b), D.push(S), b.hole || w.hole || S.hole || T.hole || b.y == null || w.y == null || S.y == null || T.y == null)
1698
1715
  continue;
1699
1716
  const P = b.y - S.y, N = w.y - T.y;
1700
1717
  if (P > 0 && N < 0 || P < 0 && N > 0) {
1701
1718
  const Y = P / (P - N), H = p(b.x, w.x, Y), B = p(b.y, w.y, Y), k = { x: H, y: B, hole: !1 }, U = { x: H, y: B, hole: !1 };
1702
- M.push(k), D.push(U);
1719
+ C.push(k), D.push(U);
1703
1720
  }
1704
1721
  }
1705
- return g > 0 && (M.push(m[g - 1]), D.push($[g - 1])), { A: M, B: D };
1722
+ return d > 0 && (C.push(m[d - 1]), D.push($[d - 1])), { A: C, B: D };
1706
1723
  }
1707
1724
  function x(m, $) {
1708
- const M = [], D = Math.min(m.length, $.length);
1709
- for (let g = 0; g < D - 1; g += 1) {
1710
- const I = m[g], b = m[g + 1], w = $[g], S = $[g + 1];
1725
+ const C = [], D = Math.min(m.length, $.length);
1726
+ for (let d = 0; d < D - 1; d += 1) {
1727
+ const I = m[d], b = m[d + 1], w = $[d], S = $[d + 1];
1711
1728
  if (I.hole || b.hole || w.hole || S.hole || I.y == null || b.y == null || w.y == null || S.y == null) continue;
1712
1729
  const T = I.y - w.y, P = b.y - S.y, N = T <= 0 ? I : w, Y = P <= 0 ? b : S, H = P <= 0 ? S : b, B = T <= 0 ? w : I, k = T <= 0 ? o : r, U = [
1713
1730
  `M${N.x},${N.y}`,
@@ -1716,42 +1733,42 @@ function te(t) {
1716
1733
  `L${B.x},${B.y}`,
1717
1734
  "Z"
1718
1735
  ].join(" ");
1719
- M.push({ d: U, color: k });
1736
+ C.push({ d: U, color: k });
1720
1737
  }
1721
- return M;
1738
+ return C;
1722
1739
  }
1723
1740
  function E(m, $) {
1724
- const M = [], D = Math.min(m.length, $.length);
1725
- if (D < 2) return M;
1726
- let g = 0;
1727
- for (; g < D - 1; ) {
1728
- for (; g < D - 1; ) {
1729
- const B = m[g], k = $[g], U = m[g + 1], j = $[g + 1];
1741
+ const C = [], D = Math.min(m.length, $.length);
1742
+ if (D < 2) return C;
1743
+ let d = 0;
1744
+ for (; d < D - 1; ) {
1745
+ for (; d < D - 1; ) {
1746
+ const B = m[d], k = $[d], U = m[d + 1], j = $[d + 1];
1730
1747
  if (!B.hole && !k.hole && !U.hole && !j.hole && B.y != null && k.y != null && U.y != null && j.y != null) break;
1731
- g += 1;
1748
+ d += 1;
1732
1749
  }
1733
- if (g >= D - 1) break;
1734
- const I = g, b = Math.sign($[g].y - m[g].y || 0) || 1;
1735
- for (g += 1; g < D - 1; ) {
1736
- const B = m[g], k = $[g], U = m[g + 1], j = $[g + 1];
1750
+ if (d >= D - 1) break;
1751
+ const I = d, b = Math.sign($[d].y - m[d].y || 0) || 1;
1752
+ for (d += 1; d < D - 1; ) {
1753
+ const B = m[d], k = $[d], U = m[d + 1], j = $[d + 1];
1737
1754
  if (B.hole || k.hole || U.hole || j.hole || B.y == null || k.y == null || U.y == null || j.y == null || (Math.sign(k.y - B.y || 0) || 1) !== b) break;
1738
- g += 1;
1755
+ d += 1;
1739
1756
  }
1740
- const w = g + 0, S = b >= 0 ? m : $, T = b >= 0 ? $ : m, P = b >= 0 ? o : r, N = [];
1757
+ const w = d + 0, S = b >= 0 ? m : $, T = b >= 0 ? $ : m, P = b >= 0 ? o : r, N = [];
1741
1758
  for (let B = I; B <= w; B += 1)
1742
1759
  N.push(`${S[B].x},${S[B].y}`);
1743
1760
  const Y = [];
1744
1761
  for (let B = w; B >= I; B -= 1)
1745
1762
  Y.push(`${T[B].x},${T[B].y}`);
1746
1763
  const H = `M${N[0]} L${N.slice(1).join(" L")} L${Y.join(" L")} Z`;
1747
- M.push({ d: H, color: P });
1764
+ C.push({ d: H, color: P });
1748
1765
  }
1749
- return M;
1766
+ return C;
1750
1767
  }
1751
- const C = d(n, s), R = d(e, c), { A: O, B: L } = y(C, R);
1768
+ const M = g(n, s), R = g(e, c), { A: O, B: L } = y(M, R);
1752
1769
  return u ? E(O, L) : x(O, L);
1753
1770
  }
1754
- function ne(t, n, e = {}) {
1771
+ function ee(t, n, e = {}) {
1755
1772
  const r = { ...{ bubbles: !0, cancelable: !0, composed: !0 }, ...e }, s = /* @__PURE__ */ new Set([
1756
1773
  "click",
1757
1774
  "mousedown",
@@ -1782,7 +1799,7 @@ function ne(t, n, e = {}) {
1782
1799
  else n.startsWith("custom:") ? i = new CustomEvent(n, { ...r, detail: r.detail }) : i = new Event(n, r);
1783
1800
  return t.dispatchEvent(i), i;
1784
1801
  }
1785
- function ee(t, { delta: n = 1, delay: e = 20, disableTransitions: o = !0 } = {}) {
1802
+ function re(t, { delta: n = 1, delay: e = 20, disableTransitions: o = !0 } = {}) {
1786
1803
  if (!t || !(t instanceof HTMLElement)) return;
1787
1804
  const r = t.style, s = {
1788
1805
  width: r.width,
@@ -1797,16 +1814,16 @@ function ee(t, { delta: n = 1, delay: e = 20, disableTransitions: o = !0 } = {})
1797
1814
  });
1798
1815
  }, e);
1799
1816
  }
1800
- function Tt(t) {
1817
+ function Pt(t) {
1801
1818
  let n = null, e = null;
1802
1819
  return (...o) => {
1803
1820
  const r = JSON.stringify(o);
1804
1821
  return r === n || (n = r, e = t(...o)), e;
1805
1822
  };
1806
1823
  }
1807
- const re = Tt((t, n, e, o, r, s, c, i) => {
1824
+ const se = Pt((t, n, e, o, r, s, c, i) => {
1808
1825
  if (t)
1809
- return o.length <= 2 ? o.map((E, C) => ({ text: E, absoluteIndex: C })) : o.map((E, C) => ({ text: C === 0 || C === o.length - 1 || c != null && C === c ? E : "", absoluteIndex: C }));
1826
+ return o.length <= 2 ? o.map((E, M) => ({ text: E, absoluteIndex: M })) : o.map((E, M) => ({ text: M === 0 || M === o.length - 1 || c != null && M === c ? E : "", absoluteIndex: M }));
1810
1827
  if (!n)
1811
1828
  return o.map((x, E) => ({ text: x, absoluteIndex: E }));
1812
1829
  const l = Math.max(1, e || 1);
@@ -1816,23 +1833,23 @@ const re = Tt((t, n, e, o, r, s, c, i) => {
1816
1833
  for (let x = 0; x < o.length; x += 1) {
1817
1834
  const E = o[x] ?? "";
1818
1835
  if (!E) continue;
1819
- const C = s + x - 1 >= 0 ? r[s + x - 1] ?? "" : null;
1820
- E !== C && u.push(x);
1836
+ const M = s + x - 1 >= 0 ? r[s + x - 1] ?? "" : null;
1837
+ E !== M && u.push(x);
1821
1838
  }
1822
1839
  if (!u.length)
1823
1840
  return o.map((x, E) => ({ text: "", absoluteIndex: E }));
1824
1841
  const a = u.length, f = l, h = Math.max(2, Math.min(f - 3, a)), F = Math.min(a, f + 3);
1825
- let d = Math.min(f, a), p = 1 / 0;
1842
+ let g = Math.min(f, a), p = 1 / 0;
1826
1843
  for (let x = h; x <= F; x += 1) {
1827
- const E = (a - 1) % (x - 1), C = Math.abs(x - f), R = E * 10 + C;
1828
- R < p && (p = R, d = x);
1844
+ const E = (a - 1) % (x - 1), M = Math.abs(x - f), R = E * 10 + M;
1845
+ R < p && (p = R, g = x);
1829
1846
  }
1830
1847
  const y = /* @__PURE__ */ new Set();
1831
- if (d <= 1)
1848
+ if (g <= 1)
1832
1849
  y.add(u[Math.round((a - 1) / 2)]);
1833
1850
  else {
1834
- const x = (a - 1) / (d - 1);
1835
- for (let E = 0; E < d; E += 1)
1851
+ const x = (a - 1) / (g - 1);
1852
+ for (let E = 0; E < g; E += 1)
1836
1853
  y.add(u[Math.round(E * x)]);
1837
1854
  }
1838
1855
  return o.map((x, E) => ({
@@ -1840,13 +1857,13 @@ const re = Tt((t, n, e, o, r, s, c, i) => {
1840
1857
  absoluteIndex: E
1841
1858
  }));
1842
1859
  });
1843
- function se(t) {
1860
+ function oe(t) {
1844
1861
  return String(t).replaceAll("&", "&amp;").replaceAll("<", "&lt;").replaceAll(">", "&gt;");
1845
1862
  }
1846
- function oe(t) {
1863
+ function ie(t) {
1847
1864
  return String(t).replaceAll("&", "&amp;").replaceAll('"', "&quot;").replaceAll("<", "&lt;").replaceAll(">", "&gt;");
1848
1865
  }
1849
- function ie(t) {
1866
+ function ce(t) {
1850
1867
  if (!t || typeof t != "string")
1851
1868
  return null;
1852
1869
  const n = document.createElementNS(J, "svg");
@@ -1856,99 +1873,100 @@ function ie(t) {
1856
1873
  const o = e.getTotalLength(), r = e.getPointAtLength(o / 2);
1857
1874
  return { x: r.x, y: r.y };
1858
1875
  }
1859
- function ce(t, n = "(", e = ")") {
1876
+ function ae(t, n = "(", e = ")") {
1860
1877
  return `${n}${t}${e}`;
1861
1878
  }
1862
1879
  export {
1863
- mn as $,
1864
- Zt as A,
1865
- Xn as B,
1866
- zt as C,
1867
- ne as D,
1868
- lt as E,
1869
- Hn as F,
1870
- Fn as G,
1880
+ Lt as $,
1881
+ Qt as A,
1882
+ jn as B,
1883
+ Zt as C,
1884
+ ee as D,
1885
+ et as E,
1886
+ Un as F,
1887
+ gn as G,
1871
1888
  Mn as H,
1872
- $n as I,
1873
- Qn as J,
1874
- _n as K,
1875
- zn as L,
1876
- Gt as M,
1877
- ln as N,
1878
- un as O,
1879
- Ht as P,
1880
- Ut as Q,
1881
- Pn as R,
1882
- re as S,
1883
- Dn as T,
1889
+ Dn as I,
1890
+ qn as J,
1891
+ zn as K,
1892
+ Zn as L,
1893
+ vt as M,
1894
+ un as N,
1895
+ fn as O,
1896
+ Ut as P,
1897
+ Gt as Q,
1898
+ kn as R,
1899
+ se as S,
1900
+ Sn as T,
1884
1901
  A as U,
1885
- Kn as V,
1886
- vn as W,
1902
+ Wn as V,
1903
+ Xn as W,
1887
1904
  J as X,
1888
- Gn as Y,
1889
- te as Z,
1890
- gn as _,
1891
- In as a,
1892
- Un as a0,
1893
- Ln as a1,
1894
- Rn as a2,
1895
- Yt as a3,
1896
- tn as a4,
1905
+ vn as Y,
1906
+ ne as Z,
1907
+ pn as _,
1908
+ Ln as a,
1909
+ Gn as a0,
1910
+ Nn as a1,
1911
+ Bn as a2,
1912
+ Ht as a3,
1913
+ nn as a4,
1897
1914
  V as a5,
1898
1915
  W as a6,
1899
- Nn as a7,
1900
- nn as a8,
1901
- en as a9,
1902
- ie as aA,
1903
- at as aa,
1904
- An as ab,
1905
- Jt as ac,
1906
- Yn as ad,
1916
+ On as a7,
1917
+ en as a8,
1918
+ rn as a9,
1919
+ it as aA,
1920
+ ce as aB,
1921
+ lt as aa,
1922
+ yn as ab,
1923
+ tn as ac,
1924
+ Hn as ad,
1907
1925
  _ as ae,
1908
- rn as af,
1909
- Vn as ag,
1910
- Sn as ah,
1911
- Tn as ai,
1912
- Kt as aj,
1913
- Qt as ak,
1914
- xn as al,
1915
- fn as am,
1916
- kn as an,
1917
- _t as ao,
1918
- qn as ap,
1919
- Bn as aq,
1920
- bn as ar,
1921
- Wn as as,
1922
- Jn as at,
1923
- wn as au,
1924
- Dt as av,
1925
- oe as aw,
1926
- se as ax,
1927
- ee as ay,
1928
- ot as az,
1929
- jt as b,
1930
- qt as c,
1931
- hn as d,
1932
- Xt as e,
1933
- Zn as f,
1934
- En as g,
1935
- vt as h,
1926
+ sn as af,
1927
+ _n as ag,
1928
+ Rn as ah,
1929
+ Pn as ai,
1930
+ Wt as aj,
1931
+ qt as ak,
1932
+ mn as al,
1933
+ hn as am,
1934
+ Yn as an,
1935
+ zt as ao,
1936
+ Jn as ap,
1937
+ bn as aq,
1938
+ In as ar,
1939
+ Cn as as,
1940
+ Vn as at,
1941
+ te as au,
1942
+ Tn as av,
1943
+ Dt as aw,
1944
+ ie as ax,
1945
+ oe as ay,
1946
+ re as az,
1947
+ Kt as b,
1948
+ Jt as c,
1949
+ Fn as d,
1950
+ jt as e,
1951
+ Qn as f,
1952
+ An as g,
1953
+ Xt as h,
1936
1954
  v as i,
1937
- st as j,
1938
- Cn as k,
1939
- yn as l,
1955
+ ot as j,
1956
+ $n as k,
1957
+ xn as l,
1940
1958
  ut as m,
1941
- Vt as n,
1942
- pn as o,
1943
- ce as p,
1944
- cn as q,
1945
- sn as r,
1946
- On as s,
1959
+ _t as n,
1960
+ En as o,
1961
+ ae as p,
1962
+ an as q,
1963
+ on as r,
1964
+ wn as s,
1947
1965
  xt as t,
1948
- an as u,
1949
- on as v,
1966
+ ln as u,
1967
+ cn as v,
1950
1968
  q as w,
1951
- Wt as x,
1969
+ Vt as x,
1952
1970
  dn as y,
1953
- jn as z
1971
+ Kn as z
1954
1972
  };