vue-data-ui 3.7.16 → 3.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (164) hide show
  1. package/README.md +49 -43
  2. package/dist/{Arrow-9T8aUCDR.js → Arrow-pvqmWZAQ.js} +1 -1
  3. package/dist/{BaseDraggableDialog-CtB38kJq.js → BaseDraggableDialog-BYwNgX3M.js} +2 -2
  4. package/dist/{BaseIcon--wNsuYtd.js → BaseIcon-CALhpING.js} +5 -3
  5. package/dist/{ColorPicker-CsQ_h1jK.js → ColorPicker-B_9b0REv.js} +2 -2
  6. package/dist/{DataTable-DRZJOlJB.js → DataTable-Ca1twcf7.js} +2 -2
  7. package/dist/{Legend-DSyOOSJ1.js → Legend-Djkw4FGq.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-C_uUSM9z.js → NonSvgPenAndPaper-DCQPVA4M.js} +3 -3
  9. package/dist/{PackageVersion-BW9_gimf.js → PackageVersion-B9RA2_BM.js} +1 -1
  10. package/dist/{PenAndPaper-CMmG5Mka.js → PenAndPaper-DscVdZ1u.js} +3 -3
  11. package/dist/{Shape-rPzC8L-O.js → Shape-BEGGcaL8.js} +1 -1
  12. package/dist/{Slicer-BJ0Jqa6a.js → Slicer-DaUi0o8i.js} +2 -2
  13. package/dist/{SlicerPreview-BWl4UOqy.js → SlicerPreview-Bk-h_ANq.js} +2 -2
  14. package/dist/{SparkTooltip-reDvtQYF.js → SparkTooltip-BWdCP-h3.js} +1 -1
  15. package/dist/{Title-CM2dM0rQ.js → Title-CgkWUXeV.js} +1 -1
  16. package/dist/{Tooltip-De7i-i20.js → Tooltip-OHx7yHlS.js} +1 -1
  17. package/dist/{UserOptions-5GYBcJJU.js → UserOptions-ChRXLqps.js} +2 -2
  18. package/dist/components/arrow.js +1 -1
  19. package/dist/components/vue-ui-3d-bar.js +1 -1
  20. package/dist/components/vue-ui-accordion.js +1 -1
  21. package/dist/components/vue-ui-age-pyramid.js +1 -1
  22. package/dist/components/vue-ui-annotator.js +1 -1
  23. package/dist/components/vue-ui-bullet.js +1 -1
  24. package/dist/components/vue-ui-candlestick.js +1 -1
  25. package/dist/components/vue-ui-carousel-table.js +1 -1
  26. package/dist/components/vue-ui-chestnut.js +1 -1
  27. package/dist/components/vue-ui-chord.js +1 -1
  28. package/dist/components/vue-ui-circle-pack.js +1 -1
  29. package/dist/components/vue-ui-cursor.js +1 -1
  30. package/dist/components/vue-ui-dag.js +5 -0
  31. package/dist/components/vue-ui-dashboard.js +1 -1
  32. package/dist/components/vue-ui-digits.js +1 -1
  33. package/dist/components/vue-ui-donut-evolution.js +1 -1
  34. package/dist/components/vue-ui-donut.js +1 -1
  35. package/dist/components/vue-ui-dumbbell.js +1 -1
  36. package/dist/components/vue-ui-flow.js +1 -1
  37. package/dist/components/vue-ui-funnel.js +1 -1
  38. package/dist/components/vue-ui-galaxy.js +1 -1
  39. package/dist/components/vue-ui-gauge.js +1 -1
  40. package/dist/components/vue-ui-gizmo.js +1 -1
  41. package/dist/components/vue-ui-heatmap.js +1 -1
  42. package/dist/components/vue-ui-history-plot.js +1 -1
  43. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  44. package/dist/components/vue-ui-icon.js +1 -1
  45. package/dist/components/vue-ui-kpi.js +1 -1
  46. package/dist/components/vue-ui-mini-loader.js +1 -1
  47. package/dist/components/vue-ui-molecule.js +1 -1
  48. package/dist/components/vue-ui-mood-radar.js +1 -1
  49. package/dist/components/vue-ui-nested-donuts.js +1 -1
  50. package/dist/components/vue-ui-onion.js +1 -1
  51. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  52. package/dist/components/vue-ui-quadrant.js +1 -1
  53. package/dist/components/vue-ui-quick-chart.js +1 -1
  54. package/dist/components/vue-ui-radar.js +1 -1
  55. package/dist/components/vue-ui-rating.js +1 -1
  56. package/dist/components/vue-ui-relation-circle.js +1 -1
  57. package/dist/components/vue-ui-ridgeline.js +1 -1
  58. package/dist/components/vue-ui-rings.js +1 -1
  59. package/dist/components/vue-ui-scatter.js +1 -1
  60. package/dist/components/vue-ui-skeleton.js +1 -1
  61. package/dist/components/vue-ui-smiley.js +1 -1
  62. package/dist/components/vue-ui-spark-trend.js +1 -1
  63. package/dist/components/vue-ui-sparkbar.js +1 -1
  64. package/dist/components/vue-ui-sparkgauge.js +1 -1
  65. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  66. package/dist/components/vue-ui-sparkline.js +1 -1
  67. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  68. package/dist/components/vue-ui-stackbar.js +1 -1
  69. package/dist/components/vue-ui-stackline.js +1 -1
  70. package/dist/components/vue-ui-strip-plot.js +1 -1
  71. package/dist/components/vue-ui-table-heatmap.js +1 -1
  72. package/dist/components/vue-ui-table-sparkline.js +1 -1
  73. package/dist/components/vue-ui-table.js +1 -1
  74. package/dist/components/vue-ui-thermometer.js +1 -1
  75. package/dist/components/vue-ui-timer.js +1 -1
  76. package/dist/components/vue-ui-tiremarks.js +1 -1
  77. package/dist/components/vue-ui-treemap.js +1 -1
  78. package/dist/components/vue-ui-vertical-bar.js +1 -1
  79. package/dist/components/vue-ui-waffle.js +1 -1
  80. package/dist/components/vue-ui-wheel.js +1 -1
  81. package/dist/components/vue-ui-word-cloud.js +1 -1
  82. package/dist/components/vue-ui-world.js +1 -1
  83. package/dist/components/vue-ui-xy-canvas.js +1 -1
  84. package/dist/components/vue-ui-xy.js +1 -1
  85. package/dist/{dom-to-png-BG68zYm5.js → dom-to-png-VQEAYRVr.js} +1 -1
  86. package/dist/{img-BYzbY8TZ.js → img-CwrkWkkl.js} +1 -1
  87. package/dist/{lib-DUaaQGCv.js → lib-qMPkcvmh.js} +194 -179
  88. package/dist/{pdf--SSvtzbF.js → pdf-BMMrFX8S.js} +1 -1
  89. package/dist/style.css +1 -1
  90. package/dist/types/vue-data-ui.d.ts +143 -5
  91. package/dist/types/vue-ui-dag.d.ts +16 -0
  92. package/dist/{useAutoSizeLabelsInsideViewbox-DBJqy2aF.js → useAutoSizeLabelsInsideViewbox-CY90KinM.js} +1 -1
  93. package/dist/{useNestedProp-CoXaJ2T6.js → useNestedProp-DOOBu_sL.js} +267 -184
  94. package/dist/usePanZoom-DMfuOfaC.js +135 -0
  95. package/dist/{usePrinter-BdVu83IN.js → usePrinter-CjGh4mFJ.js} +2 -2
  96. package/dist/vue-data-ui-BgQPEjgE.js +351 -0
  97. package/dist/vue-data-ui.js +202 -216
  98. package/dist/{vue-ui-3d-bar--XbxxtdU.js → vue-ui-3d-bar-BHcSmBFt.js} +6 -6
  99. package/dist/{vue-ui-accordion-WOXCCkiC.js → vue-ui-accordion-BWfQ8Imt.js} +3 -3
  100. package/dist/{vue-ui-age-pyramid-oJ-yVno1.js → vue-ui-age-pyramid-CKtsF5IW.js} +25 -25
  101. package/dist/{vue-ui-annotator-DmX0nJap.js → vue-ui-annotator-DQmmDTg7.js} +7 -7
  102. package/dist/{vue-ui-bullet-BSexyA7e.js → vue-ui-bullet-CZKHPSsG.js} +7 -7
  103. package/dist/{vue-ui-candlestick-Cn0FCDdN.js → vue-ui-candlestick-DW7yeLnE.js} +39 -39
  104. package/dist/{vue-ui-carousel-table-HJewuQDB.js → vue-ui-carousel-table-Bv0TZYW1.js} +4 -4
  105. package/dist/{vue-ui-chestnut-jpnadZPu.js → vue-ui-chestnut-BUqGBycr.js} +5 -5
  106. package/dist/{vue-ui-chord-DtAB5se2.js → vue-ui-chord-Awtzhq_0.js} +8 -8
  107. package/dist/{vue-ui-circle-pack-BTbgkyJ2.js → vue-ui-circle-pack-WTa2Mj2O.js} +37 -37
  108. package/dist/{vue-ui-cursor-DgWumfhl.js → vue-ui-cursor-D6_m463R.js} +3 -3
  109. package/dist/vue-ui-dag-tle30Ehr.js +2727 -0
  110. package/dist/{vue-ui-dashboard-BnAUQtnC.js → vue-ui-dashboard-BLgMwKmT.js} +68 -68
  111. package/dist/{vue-ui-digits-ByiQlK70.js → vue-ui-digits-DIZ8pi6C.js} +2 -2
  112. package/dist/{vue-ui-donut-CKSt_cq4.js → vue-ui-donut-DY8Q-PAg.js} +88 -88
  113. package/dist/{vue-ui-donut-evolution-DvdTGB7S.js → vue-ui-donut-evolution-DGnq03PX.js} +85 -85
  114. package/dist/{vue-ui-dumbbell-Injrp_b4.js → vue-ui-dumbbell-xRMH2Mlv.js} +33 -33
  115. package/dist/{vue-ui-flow-bbLDmA3Q.js → vue-ui-flow-C0a8rOyT.js} +42 -42
  116. package/dist/{vue-ui-funnel-B9iC-gYh.js → vue-ui-funnel-D6krkF1a.js} +19 -19
  117. package/dist/{vue-ui-galaxy-SMeufYzr.js → vue-ui-galaxy-BCkJt9OE.js} +59 -59
  118. package/dist/{vue-ui-gauge-FMuSlHqG.js → vue-ui-gauge-BaH-VYAi.js} +25 -25
  119. package/dist/{vue-ui-gizmo-0B3wKFgG.js → vue-ui-gizmo-BnCONs1t.js} +3 -3
  120. package/dist/{vue-ui-heatmap-BxztC6jw.js → vue-ui-heatmap-BYoD6XaS.js} +67 -67
  121. package/dist/{vue-ui-history-plot-D_qkv6IS.js → vue-ui-history-plot-BZBtIBsY.js} +43 -43
  122. package/dist/{vue-ui-horizontal-bar-BhTVXhQB.js → vue-ui-horizontal-bar-DsDDKUa6.js} +69 -69
  123. package/dist/{vue-ui-kpi-DvCTUXWh.js → vue-ui-kpi-Dn750UNZ.js} +3 -3
  124. package/dist/{vue-ui-mini-loader-BjT-X5O8.js → vue-ui-mini-loader-44NP38K0.js} +2 -2
  125. package/dist/{vue-ui-molecule-CazE9-Nk.js → vue-ui-molecule-C994_mOK.js} +53 -53
  126. package/dist/{vue-ui-mood-radar-vrciNRi0.js → vue-ui-mood-radar-BI2SAtcM.js} +7 -7
  127. package/dist/{vue-ui-nested-donuts-BAcHknTn.js → vue-ui-nested-donuts-CSF_bA-I.js} +38 -38
  128. package/dist/{vue-ui-onion-DgmiBf_W.js → vue-ui-onion-L5ULuI3B.js} +38 -38
  129. package/dist/{vue-ui-parallel-coordinate-plot-CdvrCiVK.js → vue-ui-parallel-coordinate-plot-CYetuoa5.js} +43 -43
  130. package/dist/{vue-ui-quadrant-C1GEbyIm.js → vue-ui-quadrant-Diwm1-e6.js} +8 -8
  131. package/dist/{vue-ui-quick-chart-DL9GV0J3.js → vue-ui-quick-chart-YBj4Iyk6.js} +51 -51
  132. package/dist/{vue-ui-radar-B4DfCpS5.js → vue-ui-radar-D76Mi-4u.js} +41 -41
  133. package/dist/{vue-ui-rating-CyJYLx9l.js → vue-ui-rating-CJjSt6-z.js} +2 -2
  134. package/dist/{vue-ui-relation-circle-Dm8wLlBa.js → vue-ui-relation-circle-BlYazckd.js} +19 -19
  135. package/dist/{vue-ui-ridgeline-E2EPeaJ7.js → vue-ui-ridgeline-DW8JqGxN.js} +8 -8
  136. package/dist/{vue-ui-rings-DnlHsA26.js → vue-ui-rings-De3shW_r.js} +37 -37
  137. package/dist/{vue-ui-scatter-DuKgh9Zo.js → vue-ui-scatter-oDhPqRJq.js} +8 -8
  138. package/dist/{vue-ui-skeleton-BhWvFc3O.js → vue-ui-skeleton-BUIXG_mY.js} +3 -3
  139. package/dist/{vue-ui-smiley-BkXC5UFE.js → vue-ui-smiley-Cni8Q56U.js} +2 -2
  140. package/dist/{vue-ui-spark-trend-DZWSf9JB.js → vue-ui-spark-trend-D1Zt5np6.js} +16 -16
  141. package/dist/{vue-ui-sparkbar-CqH28hXO.js → vue-ui-sparkbar-CdmXCSnj.js} +3 -3
  142. package/dist/{vue-ui-sparkgauge-DT_yPxzw.js → vue-ui-sparkgauge-Dn2PQhZj.js} +17 -17
  143. package/dist/{vue-ui-sparkhistogram-Dv9UjLCt.js → vue-ui-sparkhistogram-nrkglHJk.js} +4 -4
  144. package/dist/{vue-ui-sparkline-AvAyn0Uv.js → vue-ui-sparkline-tz8fAf2C.js} +31 -31
  145. package/dist/{vue-ui-sparkstackbar-X_VGCj6T.js → vue-ui-sparkstackbar-BQPSsF5Q.js} +3 -3
  146. package/dist/{vue-ui-stackbar-DQP8yEJM.js → vue-ui-stackbar-DMO3YIQp.js} +9 -9
  147. package/dist/{vue-ui-stackline-VLPuuMyW.js → vue-ui-stackline-BQo4KoIK.js} +55 -55
  148. package/dist/{vue-ui-strip-plot-Tf-eojtF.js → vue-ui-strip-plot-CJpmLgCV.js} +28 -28
  149. package/dist/{vue-ui-table-Onk8Ep_o.js → vue-ui-table-Cp4ee_1a.js} +5 -5
  150. package/dist/{vue-ui-table-heatmap-DKJxeQIL.js → vue-ui-table-heatmap-1qpMxFyu.js} +5 -5
  151. package/dist/{vue-ui-table-sparkline-DgISlLtt.js → vue-ui-table-sparkline-wSJjRJc4.js} +4 -4
  152. package/dist/{vue-ui-thermometer-BnYdXPWo.js → vue-ui-thermometer-DA8pG0Tr.js} +19 -19
  153. package/dist/{vue-ui-timer-BWNvvVI8.js → vue-ui-timer-Bc0J-YWP.js} +12 -12
  154. package/dist/{vue-ui-tiremarks-CW0yee-q.js → vue-ui-tiremarks-DqYsca6Q.js} +6 -6
  155. package/dist/{vue-ui-treemap-BfY0n0I2.js → vue-ui-treemap-BQsPzEFA.js} +51 -51
  156. package/dist/{vue-ui-waffle-D9lUh12t.js → vue-ui-waffle-5wkXlR4p.js} +69 -69
  157. package/dist/{vue-ui-wheel-C-oMzvbq.js → vue-ui-wheel-CkZko1RX.js} +6 -6
  158. package/dist/{vue-ui-word-cloud-DYrmMP9R.js → vue-ui-word-cloud-52bv_Ba-.js} +41 -41
  159. package/dist/{vue-ui-world-DAObATdc.js → vue-ui-world-oIyf91PY.js} +6 -6
  160. package/dist/{vue-ui-xy-D6gFGE5R.js → vue-ui-xy-DIEBv1b8.js} +75 -75
  161. package/dist/{vue-ui-xy-canvas-B_dtbPQy.js → vue-ui-xy-canvas-pnm8ar87.js} +127 -127
  162. package/package.json +4 -3
  163. package/dist/usePanZoom-DZtyJi5q.js +0 -127
  164. package/dist/vue-data-ui-DOR1SV2J.js +0 -337
@@ -1,13 +1,13 @@
1
- import { unref as J, isRef as tt, toRaw as ut } from "vue";
2
- const ft = "#COMP# dataset prop is either missing, undefined or empty.", ht = "#COMP# dataset is missing the '#ATTR#' attribute.", Ft = "#COMP# dataset '#ATTR#' attribute cannot be empty.", dt = "#COMP# dataset #KEY# item at index #INDX# is missing the '#ATTR#' attribute.", gt = "#COMP# : Chart could not be built. Dataset is not formatted correctly", pt = "#COMP# : A wrong value was provided to the #ATTR# attribute (#KEY# is not a valid value).", Et = {
3
- dataset: ft,
4
- datasetAttribute: ht,
5
- datasetAttributeEmpty: Ft,
6
- datasetSerieAttribute: dt,
7
- notBuildable: gt,
8
- attributeWrongValue: pt
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 = {
3
+ dataset: ht,
4
+ datasetAttribute: Ft,
5
+ datasetAttributeEmpty: dt,
6
+ datasetSerieAttribute: gt,
7
+ notBuildable: pt,
8
+ attributeWrongValue: Et
9
9
  };
10
- function kt(t, n, e, o, r, s = 1.99999, c = 2, i = 1.45, l = 360, u = 105.25, a = 0) {
10
+ function Yt(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 [];
@@ -62,13 +62,13 @@ function kt(t, n, e, o, r, s = 1.99999, c = 2, i = 1.45, l = 360, u = 105.25, a
62
62
  }
63
63
  return F;
64
64
  }
65
- function nt([t, n], [e, o]) {
65
+ function et([t, n], [e, o]) {
66
66
  return [t + e, n + o];
67
67
  }
68
- function et([[t, n], [e, o]], [r, s]) {
68
+ function rt([[t, n], [e, o]], [r, s]) {
69
69
  return [t * r + n * s, e * r + o * s];
70
70
  }
71
- function At(t) {
71
+ function yt(t) {
72
72
  return [
73
73
  [Math.cos(t), -Math.sin(t)],
74
74
  [Math.sin(t), Math.cos(t)]
@@ -76,14 +76,14 @@ function At(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 = At(c), [f, h] = nt(
80
- et(a, [
79
+ const a = yt(c), [f, h] = et(
80
+ rt(a, [
81
81
  e * Math.cos(r),
82
82
  o * Math.sin(r)
83
83
  ]),
84
84
  [t, n]
85
- ), [F, d] = nt(
86
- et(a, [
85
+ ), [F, d] = et(
86
+ rt(a, [
87
87
  e * Math.cos(r + s),
88
88
  o * Math.sin(r + s)
89
89
  ]),
@@ -105,12 +105,12 @@ function Z([t, n], [e, o], [r, s], c, i = 360, l = 2, u = !1) {
105
105
  ].join(" ")}`
106
106
  };
107
107
  }
108
- function yt({ defaultConfig: t, userConfig: n }) {
108
+ function xt({ defaultConfig: t, userConfig: n }) {
109
109
  const e = { ...t };
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) ? at(r) && (e[o] = r) : Array.isArray(e[o]) ? xt({ userConfig: n, key: o }) && (e[o] = r) : mt({ userConfig: n, key: o }) && (e[o] = yt({
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({
114
114
  defaultConfig: e[o],
115
115
  userConfig: r
116
116
  }));
@@ -122,25 +122,25 @@ function yt({ defaultConfig: t, userConfig: n }) {
122
122
  }
123
123
  }), e;
124
124
  }
125
- function xt({ userConfig: t, key: n }) {
125
+ function mt({ userConfig: t, key: n }) {
126
126
  return Object.hasOwn(t, n) && Array.isArray(t[n]) && t[n].length >= 0;
127
127
  }
128
- function mt({ userConfig: t, key: n }) {
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 at(t) {
131
+ function lt(t) {
132
132
  return ![null, void 0, NaN, 1 / 0, -1 / 0].includes(t);
133
133
  }
134
- function Yt(t) {
134
+ function Ht(t) {
135
135
  return ![void 0, NaN, 1 / 0, -1 / 0].includes(t);
136
136
  }
137
- function Ht(t, n = 0) {
138
- return at(t) ? t : n;
137
+ function Ut(t, n = 0) {
138
+ return lt(t) ? t : n;
139
139
  }
140
140
  function A(t, n = 0) {
141
141
  return isNaN(t) ? n : t;
142
142
  }
143
- const rt = [
143
+ const st = [
144
144
  "#1f77b4",
145
145
  "#aec7e8",
146
146
  "#ff7f0e",
@@ -182,7 +182,7 @@ const rt = [
182
182
  "#ce6dbd",
183
183
  "#de9ed6"
184
184
  ];
185
- function Ut(t = "default") {
185
+ function Gt(t = "default") {
186
186
  switch (t) {
187
187
  case "hack":
188
188
  return v.hack;
@@ -199,8 +199,8 @@ function Ut(t = "default") {
199
199
  }
200
200
  }
201
201
  const v = {
202
- default: rt,
203
- dark: rt,
202
+ default: st,
203
+ dark: st,
204
204
  celebration: [
205
205
  "#D32F2F",
206
206
  "#E64A19",
@@ -363,12 +363,12 @@ const v = {
363
363
  "#C3C5C5",
364
364
  "#A0AC94"
365
365
  ]
366
- }, st = ["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
- function lt(t) {
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"];
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))
370
370
  return null;
371
- if (t = tt?.(t) ? J(t) : t, t = Bt(t), Array.isArray(t)) {
371
+ if (t = nt?.(t) ? tt(t) : t, t = It(t), Array.isArray(t)) {
372
372
  const [i, l, u, a = 1] = t;
373
373
  t = `rgba(${i},${l},${u},${a})`;
374
374
  } else if (typeof t == "object")
@@ -395,7 +395,7 @@ function lt(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] = bt(Number(i), Number(l), Number(u));
398
+ const [f, h, F] = Mt(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 bt(t, n, e, o = 1) {
407
+ function Mt(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,7 +420,7 @@ function bt(t, n, e, o = 1) {
420
420
  o
421
421
  ];
422
422
  }
423
- function Gt(t, n) {
423
+ function vt(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),
@@ -465,7 +465,7 @@ function Gt(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 Mt({
468
+ function Ct({
469
469
  centerX: t,
470
470
  centerY: n,
471
471
  outerPoints: e,
@@ -484,14 +484,14 @@ function Mt({
484
484
  coordinates: l
485
485
  };
486
486
  }
487
- function vt({
487
+ function Xt({
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 Mt({
494
+ return Ct({
495
495
  centerX: r,
496
496
  centerY: s,
497
497
  outerPoints: c,
@@ -499,7 +499,7 @@ function vt({
499
499
  rotation: o
500
500
  });
501
501
  }
502
- function Ct({
502
+ function $t({
503
503
  centerX: t,
504
504
  centerY: n,
505
505
  innerCirclePoints: e,
@@ -514,13 +514,13 @@ function Ct({
514
514
  }
515
515
  return l;
516
516
  }
517
- function Xt({
517
+ function jt({
518
518
  plot: t,
519
519
  radius: n,
520
520
  apexes: e = 5
521
521
  }) {
522
522
  const o = t.x, r = t.y, s = e, c = n * 3.5 / s, l = c * 2;
523
- return Ct({
523
+ return $t({
524
524
  centerX: o,
525
525
  centerY: r,
526
526
  innerCirclePoints: s,
@@ -528,7 +528,7 @@ function Xt({
528
528
  outerRadius: l
529
529
  });
530
530
  }
531
- function jt({ series: t }) {
531
+ function Kt({ 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 jt({ series: t }) {
566
566
  function X(t) {
567
567
  return t * Math.PI / 180;
568
568
  }
569
- function Kt(t) {
569
+ function Wt(t) {
570
570
  if (t) {
571
571
  let n = t, e = 1;
572
572
  if (n.startsWith("rgba")) {
@@ -588,21 +588,21 @@ 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 ot(t) {
592
- return t === "" ? "#000000" : t === "transparent" ? "#FFFFFF00" : lt(t) ?? t;
591
+ function it(t) {
592
+ return t === "" ? "#000000" : t === "transparent" ? "#FFFFFF00" : ut(t) ?? t;
593
593
  }
594
594
  function q(t, n = /* @__PURE__ */ new WeakSet()) {
595
- const e = ut(t);
595
+ const e = ft(t);
596
596
  if (!K(e) || n.has(e)) return e;
597
597
  n.add(e);
598
598
  for (const o in e) {
599
- const r = tt(e[o]) ? J(e[o]) : e[o];
599
+ const r = nt(e[o]) ? tt(e[o]) : e[o];
600
600
  if (o === "color" || o === "backgroundColor") {
601
- typeof r == "string" && (e[o] = ot(r));
601
+ typeof r == "string" && (e[o] = it(r));
602
602
  continue;
603
603
  }
604
604
  if (o === "stroke") {
605
- typeof r == "string" ? e[o] = ot(r) : K(r) && !Q(r) && q(r, n);
605
+ typeof r == "string" ? e[o] = it(r) : K(r) && !Q(r) && q(r, n);
606
606
  continue;
607
607
  }
608
608
  if (Array.isArray(r)) {
@@ -614,7 +614,7 @@ function q(t, n = /* @__PURE__ */ new WeakSet()) {
614
614
  }
615
615
  return e;
616
616
  }
617
- function Wt(t) {
617
+ function Vt(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;
@@ -627,17 +627,17 @@ function Wt(t) {
627
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;
628
628
  return { x1: u, y1: f, x2: a, y2: h, slope: i, trend: $ };
629
629
  }
630
- function Vt(t) {
630
+ function _t(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 _t(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 Zt(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)
@@ -656,7 +656,7 @@ function zt(t) {
656
656
  }
657
657
  return e.join(" ");
658
658
  }
659
- function Zt(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 {
@@ -677,7 +677,7 @@ function Zt(t, n = 0.2) {
677
677
  ""
678
678
  );
679
679
  }
680
- function Qt() {
680
+ function qt() {
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 qt({
693
+ function Jt({
694
694
  initX: t,
695
695
  initY: n,
696
696
  offset: e,
@@ -703,7 +703,7 @@ function qt({
703
703
  y: n + e * Math.sin(s)
704
704
  };
705
705
  }
706
- function $t(t) {
706
+ function Dt(t) {
707
707
  const n = document.createElementNS("http://www.w3.org/2000/svg", "path");
708
708
  n.setAttribute("d", t);
709
709
  const e = n.getTotalLength();
@@ -719,20 +719,20 @@ function $t(t) {
719
719
  const { x: i, y: l } = n.getPointAtLength(s);
720
720
  return { x: i, y: l };
721
721
  }
722
- function Jt(t, n = !1, e = 16, o = 16, r = !1, s = !1, c = 0, i = 12, l = !1) {
723
- const { x: u } = $t(t.path), a = `${W(t).x},${V(t, e, o) - 4} `;
722
+ function tn(t, n = !1, e = 16, o = 16, r = !1, s = !1, c = 0, i = 12, l = !1) {
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
726
  const d = ` ${t.center.endX},${t.center.endY}`;
727
727
  return l ? s ? `M${f} Q${f} ${d}` : `M${a} Q${f} ${d}` : `M${s ? "" : a}${f}${d}`;
728
728
  }
729
- function tn(t) {
729
+ function nn(t) {
730
730
  return ![null, void 0, NaN].includes(t);
731
731
  }
732
- function nn(t, n) {
732
+ function en(t, n) {
733
733
  return [...t].map((e) => e[n]).reduce((e, o) => e + o, 0);
734
734
  }
735
- function en(t, n = !0, e = !1) {
735
+ function rn(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 en(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 rn({ csvContent: t, title: n = "vue-data-ui" }) {
743
+ function sn({ 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 sn(t) {
747
+ function on(t) {
748
748
  return `data:text/csv;charset=utf-8,${t.map((n) => n.join(",")).join(`
749
749
  `)}`;
750
750
  }
751
- function on(t, n) {
751
+ function cn(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 on(t, n) {
760
760
  }
761
761
  return u;
762
762
  }
763
- function cn(t, n) {
763
+ function an(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 an(t, n, e, o = !1) {
780
+ function ln(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 an(t, n, e, o = !1) {
788
788
  ticks: l
789
789
  };
790
790
  }
791
- function ln(t, n, e, o = !1) {
791
+ function un(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,7 +800,7 @@ function ln(t, n, e, o = !1) {
800
800
  ticks: l
801
801
  };
802
802
  }
803
- function un(t, n, e, o, r) {
803
+ function fn(t, n, e, o, r) {
804
804
  const s = (h) => {
805
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
806
  return h.length === 9 && (y = parseInt(h.substring(7, 9), 16) / 255), { r: F, g: d, b: p, a: y };
@@ -820,11 +820,11 @@ function un(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 fn({ 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 hn({ 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 hn({ source: t, length: n = 3 }) {
827
+ function Fn({ source: t, length: n = 3 }) {
828
828
  if (!t && t !== 0)
829
829
  return "";
830
830
  t = String(t);
@@ -840,26 +840,26 @@ function hn({ source: t, length: n = 3 }) {
840
840
  }), o.join().replaceAll(",", "").toUpperCase();
841
841
  }
842
842
  }
843
- function Fn(t) {
843
+ function dn(t) {
844
844
  return !!t && typeof t == "function";
845
845
  }
846
- function dn(t) {
846
+ function gn(t) {
847
847
  return typeof t.apply(null, arguments) == "string";
848
848
  }
849
- function gn(t) {
849
+ function pn(t) {
850
850
  return Array.isArray(t) ? t.length === 0 : t ? Object.keys(t).length === 0 : !0;
851
851
  }
852
- function pn({ componentName: t, type: n, property: e = "", index: o = "", key: r = "", warn: s = !0, debug: c = !0 }) {
852
+ function En({ 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
- > ${Et[n].replace("#COMP#", t).replace("#ATTR#", e).replace("#INDX#", o).replace("#KEY#", r)}
855
+ > ${At[n].replace("#COMP#", t).replace("#ATTR#", e).replace("#INDX#", o).replace("#KEY#", r)}
856
856
  `;
857
857
  if (s)
858
858
  console.warn(i);
859
859
  else
860
860
  throw new Error(i);
861
861
  }
862
- function Dt({ points: t, a: n, b: e, angleStep: o, startX: r, startY: s }) {
862
+ function St({ points: t, a: n, b: e, angleStep: o, startX: r, startY: s }) {
863
863
  const c = [];
864
864
  for (let i = 0; i < t; i++) {
865
865
  const l = o * i, u = n + e * l, a = u * Math.cos(l) + r, f = u * Math.sin(l) + s;
@@ -867,13 +867,13 @@ function Dt({ points: t, a: n, b: e, angleStep: o, startX: r, startY: s }) {
867
867
  }
868
868
  return c;
869
869
  }
870
- function St(t) {
870
+ function Rt(t) {
871
871
  let n = 1 / 0, e = 1 / 0, o = -1 / 0, r = -1 / 0;
872
872
  for (const s of t)
873
873
  s.x < n && (n = s.x), s.y < e && (e = s.y), s.x > o && (o = s.x), s.y > r && (r = s.y);
874
874
  return { minX: n, minY: e, maxX: o, maxY: r, width: o - n || 1, height: r - e || 1 };
875
875
  }
876
- function Rt(t) {
876
+ function Bt(t) {
877
877
  if (!t.length) return "";
878
878
  let n = `M${t[0].x} ${t[0].y}`;
879
879
  for (let e = 1; e < t.length - 2; e += 2) {
@@ -882,7 +882,7 @@ function Rt(t) {
882
882
  }
883
883
  return n;
884
884
  }
885
- function En({
885
+ function An({
886
886
  maxPoints: t,
887
887
  a: n = 6,
888
888
  b: e = 6,
@@ -893,19 +893,19 @@ function En({
893
893
  boxHeight: i,
894
894
  padding: l = 12
895
895
  }) {
896
- const u = Dt({ points: t, a: n, b: e, angleStep: o, startX: 0, startY: 0 }), { minX: a, minY: f, maxX: h, maxY: F, width: d, height: p } = St(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: 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;
897
897
  return function($) {
898
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 }));
899
- return Rt(D);
899
+ return Bt(D);
900
900
  };
901
901
  }
902
- function An({ datasetObject: t, requiredAttributes: n }) {
902
+ function yn({ 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 it = {
908
+ const ct = {
909
909
  ALICEBLUE: "#F0F8FF",
910
910
  ANTIQUEWHITE: "#FAEBD7",
911
911
  AQUA: "#00FFFF",
@@ -1048,16 +1048,16 @@ const it = {
1048
1048
  YELLOWGREEN: "#9ACD32",
1049
1049
  REBECCAPURPLE: "#663399"
1050
1050
  };
1051
- function Bt(t) {
1052
- const n = tt?.(t) ? J(t) : t;
1051
+ function It(t) {
1052
+ const n = nt?.(t) ? tt(t) : t;
1053
1053
  if (typeof n != "string") return n;
1054
1054
  const e = n.trim();
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 it[o] || it[r] || e;
1058
+ return ct[o] || ct[r] || e;
1059
1059
  }
1060
- const yn = "http://www.w3.org/2000/svg";
1060
+ const J = "http://www.w3.org/2000/svg";
1061
1061
  function xn(t) {
1062
1062
  if (t.length < 2)
1063
1063
  return 0;
@@ -1077,9 +1077,13 @@ function mn({ content: t, fontSize: n, fill: e, x: o, y: r }) {
1077
1077
  (c, i) => `<tspan x="${o}" y="${r + i * n}" fill="${e}">${c}</tspan>`
1078
1078
  ).join("");
1079
1079
  }
1080
- function bn({ content: t, fontSize: n, fill: e, x: o }) {
1081
- return t.split(`
1082
- `).map((s, c) => `<tspan x="${o}" dy="${c === 0 ? 0 : n}" fill="${e}">${s}</tspan>`).join("");
1080
+ function bn({ content: t, fontSize: n, fill: e, x: o, autoOffset: r = !1 }) {
1081
+ const s = t.split(`
1082
+ `), c = r ? (s.length - 1) * n / 2 : 0;
1083
+ return s.map((i, l) => {
1084
+ const u = l === 0 ? -c : n;
1085
+ return `<tspan x="${o}" dy="${u}" fill="${e}">${i}</tspan>`;
1086
+ }).join("");
1083
1087
  }
1084
1088
  function Mn({
1085
1089
  content: t,
@@ -1102,7 +1106,7 @@ function Mn({
1102
1106
  }), i;
1103
1107
  }
1104
1108
  function Cn(t) {
1105
- return t.length ? t.map((n) => lt(n)) : [];
1109
+ return t.length ? t.map((n) => ut(n)) : [];
1106
1110
  }
1107
1111
  function $n(t, n = null) {
1108
1112
  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), {});
@@ -1191,7 +1195,7 @@ function Bn(t) {
1191
1195
  ![void 0, null, 1 / 0, -1 / 0].includes(o) && !isNaN(o) && (n[r] = (n[r] || 0) + o);
1192
1196
  }), n), []);
1193
1197
  }
1194
- function It(t, { value: n, config: e }) {
1198
+ function Lt(t, { value: n, config: e }) {
1195
1199
  let o = !1, r = n;
1196
1200
  if (typeof t == "function")
1197
1201
  try {
@@ -1205,7 +1209,7 @@ function It(t, { value: n, config: e }) {
1205
1209
  };
1206
1210
  }
1207
1211
  function In(t, n, e, o) {
1208
- const { isValid: r, value: s } = It(t, { value: n, config: o });
1212
+ const { isValid: r, value: s } = Lt(t, { value: n, config: o });
1209
1213
  return r ? s : e;
1210
1214
  }
1211
1215
  function Ln(t, n) {
@@ -1260,7 +1264,7 @@ function Nn(t, n = [], e = !1) {
1260
1264
  return r(t);
1261
1265
  }
1262
1266
  function On(t, n = 100) {
1263
- return t.length === 9 ? t.substring(0, 7) + st[n] : t + st[n];
1267
+ return t.length === 9 ? t.substring(0, 7) + ot[n] : t + ot[n];
1264
1268
  }
1265
1269
  function wn({ series: t, center: n, maxRadius: e, hasGhost: o = !1 }) {
1266
1270
  const s = 360 / (t.length - (o ? 1 : 0));
@@ -1388,7 +1392,7 @@ function _(t) {
1388
1392
  Object.prototype.hasOwnProperty.call(t, e) && (n[e] = _(t[e]));
1389
1393
  return n;
1390
1394
  }
1391
- function Lt(t) {
1395
+ function Nt(t) {
1392
1396
  const n = [];
1393
1397
  let e = [];
1394
1398
  for (const o of t)
@@ -1405,7 +1409,7 @@ function Gn(t, n) {
1405
1409
  }
1406
1410
  function vn(t, n) {
1407
1411
  if (!t[0]) return [-10, -10, "", -10, -10].toString();
1408
- const e = Lt(t);
1412
+ const e = Nt(t);
1409
1413
  return e.length ? e.map((o) => {
1410
1414
  const r = { x: o[0].x, y: n }, s = { x: o.at(-1).x, y: n }, c = [];
1411
1415
  return o.forEach((i) => {
@@ -1413,7 +1417,7 @@ function vn(t, n) {
1413
1417
  }), [r.x, r.y, ...c, s.x, s.y].toString();
1414
1418
  }).join(";") : "";
1415
1419
  }
1416
- function Nt(t) {
1420
+ function Ot(t) {
1417
1421
  const n = [];
1418
1422
  let e = [];
1419
1423
  for (const o of t)
@@ -1439,7 +1443,7 @@ function Xn(t) {
1439
1443
  return n.trim();
1440
1444
  }
1441
1445
  function jn(t) {
1442
- const n = Nt(t);
1446
+ const n = Ot(t);
1443
1447
  if (!n.length) return "";
1444
1448
  let e = "";
1445
1449
  for (const [o, r] of n.entries()) {
@@ -1496,17 +1500,17 @@ function Kn(t, n, e = !1, o = !0) {
1496
1500
  function Wn(t) {
1497
1501
  return t.toString().toLowerCase().replace(/\s+/g, "-").replace(/[^\w\-]+/g, "").replace(/\-\-+/g, "-").replace(/^-+/, "").replace(/-+$/, "");
1498
1502
  }
1499
- function Ot(t) {
1503
+ function wt(t) {
1500
1504
  return t && typeof t == "object" && !Array.isArray(t) && Object.keys(t).length === 0 ? null : t;
1501
1505
  }
1502
- function ct(t) {
1506
+ function at(t) {
1503
1507
  if (Array.isArray(t))
1504
- return t.map(ct);
1508
+ return t.map(at);
1505
1509
  if (t && typeof t == "object" && !Array.isArray(t)) {
1506
1510
  const n = {};
1507
1511
  for (const e in t)
1508
- Object.hasOwn(t, e) && (n[e] = ct(t[e]));
1509
- return Ot(n);
1512
+ Object.hasOwn(t, e) && (n[e] = at(t[e]));
1513
+ return wt(n);
1510
1514
  }
1511
1515
  return t;
1512
1516
  }
@@ -1793,14 +1797,14 @@ function ee(t, { delta: n = 1, delay: e = 20, disableTransitions: o = !0 } = {})
1793
1797
  });
1794
1798
  }, e);
1795
1799
  }
1796
- function wt(t) {
1800
+ function Tt(t) {
1797
1801
  let n = null, e = null;
1798
1802
  return (...o) => {
1799
1803
  const r = JSON.stringify(o);
1800
1804
  return r === n || (n = r, e = t(...o)), e;
1801
1805
  };
1802
1806
  }
1803
- const re = wt((t, n, e, o, r, s, c, i) => {
1807
+ const re = Tt((t, n, e, o, r, s, c, i) => {
1804
1808
  if (t)
1805
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 }));
1806
1810
  if (!n)
@@ -1842,93 +1846,104 @@ function se(t) {
1842
1846
  function oe(t) {
1843
1847
  return String(t).replaceAll("&", "&amp;").replaceAll('"', "&quot;").replaceAll("<", "&lt;").replaceAll(">", "&gt;");
1844
1848
  }
1849
+ function ie(t) {
1850
+ if (!t || typeof t != "string")
1851
+ return null;
1852
+ const n = document.createElementNS(J, "svg");
1853
+ n.setAttribute("xmlns", J);
1854
+ const e = document.createElementNS(J, "path");
1855
+ e.setAttribute("d", t), n.appendChild(e);
1856
+ const o = e.getTotalLength(), r = e.getPointAtLength(o / 2);
1857
+ return { x: r.x, y: r.y };
1858
+ }
1845
1859
  export {
1846
- V as $,
1860
+ Un as $,
1847
1861
  Xn as A,
1848
- _t as B,
1862
+ zt as B,
1849
1863
  ne as C,
1850
- at as D,
1864
+ lt as D,
1851
1865
  Hn as E,
1852
- an as F,
1853
- ln as G,
1854
- Yt as H,
1855
- Ht as I,
1856
- Pn as J,
1857
- re as K,
1858
- Dn as L,
1859
- A as M,
1860
- Kn as N,
1861
- vn as O,
1862
- Gn as P,
1863
- te as Q,
1864
- dn as R,
1865
- hn as S,
1866
- Mn as T,
1867
- mn as U,
1868
- Un as V,
1869
- Ln as W,
1870
- yn as X,
1871
- Rn as Y,
1872
- kt as Z,
1873
- Jt as _,
1866
+ Fn as F,
1867
+ Mn as G,
1868
+ $n as H,
1869
+ Qn as I,
1870
+ _n as J,
1871
+ zn as K,
1872
+ Gt as L,
1873
+ ln as M,
1874
+ un as N,
1875
+ Ht as O,
1876
+ Ut as P,
1877
+ Pn as Q,
1878
+ re as R,
1879
+ Dn as S,
1880
+ A as T,
1881
+ Kn as U,
1882
+ vn as V,
1883
+ Gn as W,
1884
+ J as X,
1885
+ te as Y,
1886
+ gn as Z,
1887
+ mn as _,
1874
1888
  In as a,
1875
- W as a0,
1876
- wn as a1,
1877
- qt as a2,
1878
- bn as a3,
1879
- Vn as a4,
1880
- Nn as a5,
1881
- tn as a6,
1882
- nn as a7,
1883
- ct as a8,
1884
- En as a9,
1885
- Yn as aa,
1886
- _ as ab,
1889
+ Ln as a0,
1890
+ Rn as a1,
1891
+ Yt as a2,
1892
+ tn as a3,
1893
+ V as a4,
1894
+ W as a5,
1895
+ wn as a6,
1896
+ Jt as a7,
1897
+ bn as a8,
1898
+ Vn as a9,
1899
+ Nn as aa,
1900
+ nn as ab,
1887
1901
  en as ac,
1888
- Sn as ad,
1889
- Tn as ae,
1890
- jt as af,
1891
- Zt as ag,
1892
- xn as ah,
1893
- un as ai,
1894
- kn as aj,
1895
- Vt as ak,
1896
- qn as al,
1897
- Bn as am,
1898
- Wn as an,
1899
- Jn as ao,
1900
- $n as ap,
1901
- Qn as aq,
1902
- _n as ar,
1903
- zn as as,
1904
- Ut as at,
1902
+ at as ad,
1903
+ An as ae,
1904
+ Yn as af,
1905
+ _ as ag,
1906
+ rn as ah,
1907
+ Sn as ai,
1908
+ Tn as aj,
1909
+ Kt as ak,
1910
+ Qt as al,
1911
+ xn as am,
1912
+ fn as an,
1913
+ kn as ao,
1914
+ _t as ap,
1915
+ qn as aq,
1916
+ Bn as ar,
1917
+ Wn as as,
1918
+ Jn as at,
1905
1919
  oe as au,
1906
1920
  se as av,
1907
1921
  ee as aw,
1908
- st as ax,
1909
- Xt as b,
1910
- Qt as c,
1911
- fn as d,
1912
- vt as e,
1922
+ ot as ax,
1923
+ ie as ay,
1924
+ jt as b,
1925
+ qt as c,
1926
+ hn as d,
1927
+ Xt as e,
1913
1928
  Zn as f,
1914
- pn as g,
1915
- Gt as h,
1929
+ En as g,
1930
+ vt as h,
1916
1931
  v as i,
1917
1932
  Cn as j,
1918
- An as k,
1919
- lt as l,
1920
- Wt as m,
1921
- on as n,
1922
- gn as o,
1923
- rt as p,
1924
- rn as q,
1925
- cn as r,
1933
+ yn as k,
1934
+ ut as l,
1935
+ Vt as m,
1936
+ cn as n,
1937
+ pn as o,
1938
+ st as p,
1939
+ sn as q,
1940
+ an as r,
1926
1941
  On as s,
1927
- yt as t,
1928
- sn as u,
1942
+ xt as t,
1943
+ on as u,
1929
1944
  q as v,
1930
- Kt as w,
1931
- Fn as x,
1945
+ Wt as w,
1946
+ dn as x,
1932
1947
  jn as y,
1933
- zt as z
1948
+ Zt as z
1934
1949
  };