vue-data-ui 3.27.1 → 3.28.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +97 -63
- package/dist/{Arrow-C2W0uGrq.js → Arrow-CITPKnWF.js} +1 -1
- package/dist/{BaseDraggableDialog-D_tuHEjO.js → BaseDraggableDialog-DHgIPVmz.js} +1 -1
- package/dist/BaseIcon-Cm-IJ179.js +1 -0
- package/dist/{BaseLegendToggle-Bq5FjyuI.js → BaseLegendToggle-Q3TiW9u1.js} +1 -1
- package/dist/BaseZoomControls-ByS_7fmI.js +1 -0
- package/dist/{ColorPicker-MLwiwxl5.js → ColorPicker-Dmus34hN.js} +1 -1
- package/dist/DataTable-0Vv-aGHD.js +1 -0
- package/dist/HillActions-qz6J_uK7.js +1 -0
- package/dist/{Legend-D8YoT1RJ.js → Legend-DM0ClX3D.js} +1 -1
- package/dist/{NonSvgPenAndPaper-CqtJpZKh.js → NonSvgPenAndPaper-Do6RcwEr.js} +1 -1
- package/dist/{PackageVersion-CdkxOy58.js → PackageVersion-C4ZM3Vf7.js} +1 -1
- package/dist/PenAndPaper-BGEp-TUm.js +1 -0
- package/dist/{Shape-Bp9YNtPc.js → Shape-CRe8woTu.js} +1 -1
- package/dist/SlicerPreview-CFFUOlQr.js +1 -0
- package/dist/{SparkTooltip-C5JMcBXT.js → SparkTooltip-Ch06CV71.js} +1 -1
- package/dist/{Title-BGYFqulv.js → Title-BliHuXfT.js} +1 -1
- package/dist/Tooltip-C1q0Qoh7.js +1 -0
- package/dist/UserOptions-uWHV_zPB.js +1 -0
- package/dist/{useResponsive-D2CPcpda.js → canvas-lib-22VpOI4_.js} +1 -1
- package/dist/{chartImage-CIvU_04o.js → chartImage-DPGnEuYM.js} +1 -1
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-graph.js +1 -0
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-hill.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-label.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-pattern-seed.js +1 -1
- package/dist/components/vue-ui-pattern.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/{dom-to-png-D8t3Bm7s.js → dom-to-png-D56-Zgv4.js} +1 -1
- package/dist/{exposedLib-DHtyEc_G.js → exposedLib-BRtClmZy.js} +1 -1
- package/dist/{img-DiT4ivZ5.js → img-D4RQwASc.js} +1 -1
- package/dist/{labelUtils-CG3uVXoZ.js → labelUtils-CdtU-yB_.js} +1 -1
- package/dist/{lib-CV_IANZ6.js → lib-rPeBMZrn.js} +4 -4
- package/dist/package-DGRUegc-.js +1 -0
- package/dist/{pdf-BQSB1V3H.js → pdf-DAicVFxx.js} +1 -1
- package/dist/{render-common-BdZ5aRyn.js → render-common-CJz0wn0I.js} +1 -1
- package/dist/{resolveChartConfig-DZg-korK.js → resolveChartConfig-CIhClE5R.js} +1 -1
- package/dist/ssr/vue-ui-donut.js +1 -1
- package/dist/ssr/vue-ui-xy.js +1 -1
- package/dist/ssr.js +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +449 -0
- package/dist/types/vue-ui-graph.d.ts +21 -0
- package/dist/useChartExport-BZts4KFb.js +1 -0
- package/dist/useConfig-6jO1fkp5.js +1 -0
- package/dist/{useNestedProp-CB186vF2.js → useNestedProp-DnGoh-XS.js} +1 -1
- package/dist/useObjectBindings-DiMX4HGv.js +1 -0
- package/dist/{usePrinter-hLW3cv4N.js → usePrinter-sVoTzet1.js} +1 -1
- package/dist/useResponsive-CENUxfEL.js +1 -0
- package/dist/useSvgLabelLayout-D1I8sQUi.js +1 -0
- package/dist/useTimeLabelCollider-BTybMUFi.js +1 -0
- package/dist/useTransitions-ChGGrtrv.js +1 -0
- package/dist/utils.js +1 -1
- package/dist/vue-data-ui-CxiWUtNw.js +1 -0
- package/dist/vue-data-ui.js +1 -1
- package/dist/vue-ui-3d-bar-CW8ahywt.js +19 -0
- package/dist/vue-ui-accordion-S3nRtTU-.js +1 -0
- package/dist/vue-ui-age-pyramid-CxMwKICA.js +1 -0
- package/dist/vue-ui-annotator-CdCDYzdK.js +331 -0
- package/dist/vue-ui-bullet-ClnewIWQ.js +34 -0
- package/dist/vue-ui-bump-C6FuNDUg.js +8 -0
- package/dist/vue-ui-candlestick-CyewIjJk.js +22 -0
- package/dist/vue-ui-carousel-table-D0dD4kai.js +1 -0
- package/dist/vue-ui-chestnut-nS1vjCqH.js +1 -0
- package/dist/vue-ui-chord-B963Q_26.js +21 -0
- package/dist/vue-ui-circle-pack-DEY9X3jA.js +13 -0
- package/dist/vue-ui-cursor-CNv12HQG.js +1 -0
- package/dist/vue-ui-dag-s3-TMmid.js +9 -0
- package/dist/vue-ui-dashboard-B5zrGAvS.js +1 -0
- package/dist/{vue-ui-digits-CXKKmfGj.js → vue-ui-digits-DXQwmTUx.js} +2 -2
- package/dist/vue-ui-donut-CDryub1L.js +47 -0
- package/dist/{vue-ui-donut-CKkBtyPK.js → vue-ui-donut-DHfOfLBF.js} +2 -2
- package/dist/vue-ui-donut-evolution-C5pHSrza.js +2 -0
- package/dist/vue-ui-dumbbell-CQbGR7yM.js +9 -0
- package/dist/vue-ui-flow-B16Mj6MW.js +3 -0
- package/dist/vue-ui-funnel-Dh-xi_Qi.js +1 -0
- package/dist/vue-ui-galaxy-U_ZIP5vm.js +1 -0
- package/dist/vue-ui-gauge-Dr4zsf6D.js +1 -0
- package/dist/vue-ui-geo-DFebja0s.js +1 -0
- package/dist/vue-ui-gizmo-CssVcz-O.js +1 -0
- package/dist/vue-ui-graph-BB_97Qz7.js +7 -0
- package/dist/vue-ui-heatmap-DEBbVnrg.js +1 -0
- package/dist/vue-ui-hill-C1sHz3TI.js +1 -0
- package/dist/vue-ui-history-plot-CsBTJXR3.js +2 -0
- package/dist/vue-ui-horizontal-bar-D0kfcpEW.js +4 -0
- package/dist/vue-ui-kpi-CltKSYUI.js +1 -0
- package/dist/vue-ui-label-B_1kM28r.js +7 -0
- package/dist/vue-ui-mini-loader-7gqQI5jy.js +1 -0
- package/dist/vue-ui-molecule-DtoyWWTf.js +1 -0
- package/dist/vue-ui-mood-radar-ClOxfeH8.js +1 -0
- package/dist/vue-ui-nested-donuts-CULAXTg1.js +19 -0
- package/dist/vue-ui-onion-D7zu861i.js +5 -0
- package/dist/vue-ui-parallel-coordinate-plot-Cjbc-WUG.js +9 -0
- package/dist/vue-ui-quadrant-DWAb_t6r.js +2 -0
- package/dist/vue-ui-quick-chart-oDZwgVo8.js +17 -0
- package/dist/vue-ui-radar-BWG_N0xO.js +1 -0
- package/dist/vue-ui-rating-CV2b0tjA.js +1 -0
- package/dist/vue-ui-relation-circle-BCRiS2n6.js +1 -0
- package/dist/vue-ui-ridgeline-VYcGUP_p.js +2 -0
- package/dist/vue-ui-rings-Dl0AjrRj.js +1 -0
- package/dist/vue-ui-scatter-DTa48HvG.js +9 -0
- package/dist/{vue-ui-skeleton-DI7pcimU.js → vue-ui-skeleton-C5mGG8hR.js} +3 -3
- package/dist/{vue-ui-smiley-D70sJZWl.js → vue-ui-smiley-VTdQetY0.js} +1 -1
- package/dist/vue-ui-spark-trend--frxeJ8f.js +1 -0
- package/dist/vue-ui-sparkbar-BS5v3HMo.js +1 -0
- package/dist/vue-ui-sparkgauge-B1TGfXvR.js +1 -0
- package/dist/vue-ui-sparkhistogram-Cs97AL6h.js +1 -0
- package/dist/vue-ui-sparkline-Bp9J6x7z.js +1 -0
- package/dist/vue-ui-sparkstackbar-BVuuRD10.js +1 -0
- package/dist/vue-ui-stackbar-CRuXn3XI.js +29 -0
- package/dist/vue-ui-stackline-Besmr9vq.js +39 -0
- package/dist/vue-ui-strip-plot-D-aRJkR7.js +2 -0
- package/dist/vue-ui-table-D_UdQwV3.js +14 -0
- package/dist/vue-ui-table-heatmap-BtziURiu.js +1 -0
- package/dist/vue-ui-table-sparkline-BdNo8fW_.js +1 -0
- package/dist/vue-ui-thermometer-TFg1SGY7.js +1 -0
- package/dist/vue-ui-timer-BdPksC26.js +64 -0
- package/dist/vue-ui-tiremarks-HWuO-eyj.js +1 -0
- package/dist/vue-ui-treemap-IegiAqaX.js +1 -0
- package/dist/vue-ui-waffle-BEyGfPks.js +1 -0
- package/dist/vue-ui-wheel-k8GNPGET.js +1 -0
- package/dist/vue-ui-word-cloud-D9_15Ve7.js +4 -0
- package/dist/vue-ui-world-rCp5Vb7u.js +19 -0
- package/dist/vue-ui-xy-42AXepcQ.js +31 -0
- package/dist/vue-ui-xy-CFgFg11v.js +24 -0
- package/dist/vue-ui-xy-canvas-CeC3gcrW.js +9 -0
- package/dist/vue_ui_graph-B1ACwQj7.js +1 -0
- package/package.json +3 -3
- package/dist/BaseIcon-DdIyewwY.js +0 -1
- package/dist/BaseZoomControls-DoYifY2y.js +0 -1
- package/dist/DataTable-WNecJMcY.js +0 -1
- package/dist/HillActions-CHg1AQ3p.js +0 -1
- package/dist/PenAndPaper-IMw576MC.js +0 -1
- package/dist/SlicerPreview-CNUciSbY.js +0 -1
- package/dist/Tooltip-Cus2-XNQ.js +0 -1
- package/dist/UserOptions-DTxMeZv3.js +0 -1
- package/dist/package-DE5cU1Rg.js +0 -1
- package/dist/useChartExport-DtPNpc9M.js +0 -1
- package/dist/useConfig-CKdzPrcf.js +0 -1
- package/dist/useObjectBindings-Dse7YyAf.js +0 -1
- package/dist/useTimeLabelCollider-XQf_S7-z.js +0 -1
- package/dist/useTransitions-DfSHzsdz.js +0 -1
- package/dist/vue-data-ui-DyYgLIZN.js +0 -1
- package/dist/vue-ui-3d-bar-BZAoyWkc.js +0 -19
- package/dist/vue-ui-accordion-BNvevckx.js +0 -1
- package/dist/vue-ui-age-pyramid-DkA6vpU3.js +0 -1
- package/dist/vue-ui-annotator-DuQME4Hh.js +0 -331
- package/dist/vue-ui-bullet-BVs8JX8S.js +0 -34
- package/dist/vue-ui-bump-DYdm3EvF.js +0 -10
- package/dist/vue-ui-candlestick-DZgxl4mW.js +0 -22
- package/dist/vue-ui-carousel-table-BB7DsTUt.js +0 -1
- package/dist/vue-ui-chestnut-Bo1h5rBt.js +0 -1
- package/dist/vue-ui-chord-B6_veyvO.js +0 -21
- package/dist/vue-ui-circle-pack-Bm7e2YNh.js +0 -13
- package/dist/vue-ui-cursor-TidZDuSh.js +0 -1
- package/dist/vue-ui-dag-BiN_AnLo.js +0 -9
- package/dist/vue-ui-dashboard-zepAVN_W.js +0 -1
- package/dist/vue-ui-donut-DLDUpjDU.js +0 -47
- package/dist/vue-ui-donut-evolution-BxMTdE5G.js +0 -2
- package/dist/vue-ui-dumbbell-C8rNwdz0.js +0 -9
- package/dist/vue-ui-flow-Dru76A2O.js +0 -3
- package/dist/vue-ui-funnel-D_u1h5S9.js +0 -1
- package/dist/vue-ui-galaxy-sBEH18Xj.js +0 -1
- package/dist/vue-ui-gauge-Do3RN8ne.js +0 -1
- package/dist/vue-ui-geo-DDbtx_iJ.js +0 -1
- package/dist/vue-ui-gizmo-eic6xLjB.js +0 -1
- package/dist/vue-ui-heatmap-DlmJRsM8.js +0 -1
- package/dist/vue-ui-hill-C5oiuIXh.js +0 -1
- package/dist/vue-ui-history-plot-BJjnkWcT.js +0 -2
- package/dist/vue-ui-horizontal-bar-BRDBJEl1.js +0 -4
- package/dist/vue-ui-kpi-C-eed3jO.js +0 -1
- package/dist/vue-ui-label-B4pkXBxc.js +0 -7
- package/dist/vue-ui-mini-loader-CElmv_iF.js +0 -1
- package/dist/vue-ui-molecule-BeyQWZU9.js +0 -1
- package/dist/vue-ui-mood-radar-Bh0kHfiZ.js +0 -1
- package/dist/vue-ui-nested-donuts-FlnJfDaF.js +0 -19
- package/dist/vue-ui-onion-BjhSpjtW.js +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-CHV6XDti.js +0 -9
- package/dist/vue-ui-quadrant-BaKSTJDv.js +0 -2
- package/dist/vue-ui-quick-chart-Nc2mVlle.js +0 -17
- package/dist/vue-ui-radar-BzUfkLlC.js +0 -1
- package/dist/vue-ui-rating-BwWXvbAg.js +0 -1
- package/dist/vue-ui-relation-circle-nAZEg-BL.js +0 -1
- package/dist/vue-ui-ridgeline-DxLZg1E2.js +0 -2
- package/dist/vue-ui-rings-BOti0NGb.js +0 -1
- package/dist/vue-ui-scatter-CCNMggyo.js +0 -9
- package/dist/vue-ui-spark-trend-BVtfEalS.js +0 -1
- package/dist/vue-ui-sparkbar-CdsLI7Ke.js +0 -1
- package/dist/vue-ui-sparkgauge-wmj5Wnnp.js +0 -1
- package/dist/vue-ui-sparkhistogram-D8S_P_P4.js +0 -1
- package/dist/vue-ui-sparkline-BjsJnS_9.js +0 -1
- package/dist/vue-ui-sparkstackbar-ZN8LXzoV.js +0 -1
- package/dist/vue-ui-stackbar-Dx_EN3pT.js +0 -29
- package/dist/vue-ui-stackline-DW-oxJvA.js +0 -39
- package/dist/vue-ui-strip-plot-D7kjJ3Qh.js +0 -2
- package/dist/vue-ui-table-CaFVLHxE.js +0 -14
- package/dist/vue-ui-table-heatmap-Ctf7Rhqo.js +0 -1
- package/dist/vue-ui-table-sparkline-C0I0cXBS.js +0 -1
- package/dist/vue-ui-thermometer-B6og15Al.js +0 -1
- package/dist/vue-ui-timer-DgXvO2Q7.js +0 -64
- package/dist/vue-ui-tiremarks-Dh6fZ454.js +0 -1
- package/dist/vue-ui-treemap-7JuvN6P_.js +0 -1
- package/dist/vue-ui-waffle-BqvGzfse.js +0 -1
- package/dist/vue-ui-wheel-SdwJqKA7.js +0 -1
- package/dist/vue-ui-word-cloud-1WVV_k12.js +0 -4
- package/dist/vue-ui-world-DjMy_utm.js +0 -19
- package/dist/vue-ui-xy-DaozHMfg.js +0 -31
- package/dist/vue-ui-xy-canvas-CegvS9RR.js +0 -9
- package/dist/vue-ui-xy-rGHSI1am.js +0 -24
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export type {
|
|
2
|
+
VueUiGraphId,
|
|
3
|
+
VueUiGraphNode,
|
|
4
|
+
VueUiGraphLink,
|
|
5
|
+
VueUiGraphDataset,
|
|
6
|
+
VueUiGraphConfig,
|
|
7
|
+
VueUiGraphEvent,
|
|
8
|
+
VueUiGraphViewport,
|
|
9
|
+
VueUiGraphTooltipSlotProps,
|
|
10
|
+
VueUiGraphProps,
|
|
11
|
+
VueUiGraphEmits,
|
|
12
|
+
VueUiGraphExpose,
|
|
13
|
+
CommonAnnotatorSlots,
|
|
14
|
+
VueUiOptionAnnotatorSlotProps,
|
|
15
|
+
VueUiAnnotatorActionColorSlotProps,
|
|
16
|
+
VueUiAnnotatorActionDrawSlotProps,
|
|
17
|
+
VueUiAnnotatorActionUndoSlotProps,
|
|
18
|
+
VueUiAnnotatorActionRedoSlotProps,
|
|
19
|
+
VueUiAnnotatorActionDeleteSlotProps,
|
|
20
|
+
} from 'vue-data-ui';
|
|
21
|
+
export { VueUiGraph, VueUiGraph as default } from 'vue-data-ui';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{isRef as e,nextTick as t,onMounted as n,ref as r,unref as i,watch as a}from"vue";var o=`http://www.w3.org/2000/svg`,s=`http://www.w3.org/1999/xlink`,c=`system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif`,l=/* @__PURE__ */ new WeakMap;function u(e){let t=l.get(e);return t||(t=getComputedStyle(e),l.set(e,t)),t}function d(){l=/* @__PURE__ */ new WeakMap}function f(e){return document.createElementNS(o,e)}function p(e){return`${e}, ${c}`}function m({svg:c,title:l,legend:m,legendItems:_,backgroundColor:v,stretchTitle:y=!1,titleEmbedded:b=!1}){let x=e(c)?c:r(c),S=r(!1),C=/* @__PURE__ */ `fill.fill-opacity.stroke.stroke-width.stroke-opacity.opacity.color.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-dasharray.stroke-dashoffset.font-family.font-size.font-style.font-weight.font-variant.letter-spacing.word-spacing.text-anchor.dominant-baseline.shape-rendering.vector-effect.paint-order.mix-blend-mode.isolation.filter.clip-path.mask.transform.transform-origin.visibility.display`.split(`.`),w=/* @__PURE__ */ new Set([`font-family`]);async function T({timeoutMs:e=4e3,log:n=`warn`}={}){if(typeof window>`u`||typeof document>`u`)return console.warn(`SVG export only works in the browser.`),null;let r=performance.now()+e,a=()=>{let e=i(x);return e&&document.contains(e)?e:null},o=a();if(o)return o;let s=!1,c=e=>{if(!s&&e)try{e.disconnect()}catch{}s=!0},l,u=new Promise(e=>{try{l=new MutationObserver(()=>{let t=a();t&&(c(l),e(t))}),l.observe(document.documentElement,{childList:!0,subtree:!0})}catch{e(null)}});for(;performance.now()<r;){let e=await Promise.race([u,new Promise(e=>requestAnimationFrame(e))]);if(await t(),o=a()||e,o)return c(l),o}return c(l),console.warn(`SVG element not found or not mounted (timed out).`),null}n(async()=>{try{await T(),S.value=!0}catch{S.value=!1}}),a(x,async()=>{try{await T(),S.value=!0}catch{S.value=!1}});let E=/* @__PURE__ */ new Map;function D(e){if(E.has(e))return E.get(e);let t=f(`svg`);t.setAttribute(`width`,`0`),t.setAttribute(`height`,`0`),t.style.position=`absolute`,t.style.left=`-99999px`,t.style.top=`-99999px`;let n=f(e);t.appendChild(n),document.body.appendChild(t);let r=window.getComputedStyle(n),i={};for(let e of C)i[e]=r.getPropertyValue(e);return document.body.removeChild(t),E.set(e,i),i}function O(e){let t=u(e),n=D(e.tagName.toLowerCase()),r=[];for(let e of C){let i=t.getPropertyValue(e)||``,a=n[e]||``;w.has(e)?(e===`font-family`&&i&&(i=p(i)),i&&r.push(`${e}:${i};`)):i&&i!==a&&r.push(`${e}:${i};`)}return r.join(``)}function k(e,t){e.getAttribute(`width`)&&t.setAttribute(`width`,e.getAttribute(`width`)),e.getAttribute(`height`)&&t.setAttribute(`height`,e.getAttribute(`height`)),e.getAttribute(`viewBox`)&&t.setAttribute(`viewBox`,e.getAttribute(`viewBox`));let n=[e,...Array.from(e.querySelectorAll(`*`))],r=[t,...Array.from(t.querySelectorAll(`*`))];for(let e=0;e<n.length;e+=1){let t=n[e],i=r[e],a=O(t);a&&i.setAttribute(`style`,a),[`fill`,`stroke`,`filter`,`clip-path`,`mask`].forEach(e=>{let n=t.getAttribute(e);n&&i.setAttribute(e,n)})}}function A(e){let t=e.getAttribute(`viewBox`);if(!t)return null;let[n,r,i,a]=t.split(/\s+|,/).map(Number);return[n,r,i,a].some(e=>Number.isNaN(e))?null:{minX:n,minY:r,width:i,height:a}}function j(e){e.getAttribute(`xmlns`)||e.setAttribute(`xmlns`,o),e.getAttribute(`xmlns:xlink`)||e.setAttribute(`xmlns:xlink`,s),e.getAttribute(`xml:space`)||e.setAttribute(`xml:space`,`preserve`)}function M(e){let t=document.createElement(`div`);return t.style.position=`absolute`,t.style.left=`-99999px`,t.style.top=`-99999px`,t.style.width=`0`,t.style.height=`0`,document.body.appendChild(t),t.appendChild(e),t}function N(e){try{e.remove()}catch{}}function P(e,t,n,r,i){if(!l.value||!l.value.text)return 0;let a={text:l.value.text||``,color:l.value.color||`#111`,fontSize:l.value.fontSize||20,bold:!!l.value.bold,textAlign:(l.value?.textAlign||`center`).toLowerCase(),paddingLeft:l.value.paddingLeft??0,paddingRight:l.value.paddingRight??0,subtitle:l.value.subtitle||null},o=f(`g`);o.setAttribute(`id`,`__vdu_export_title`),e.appendChild(o);let s=n+a.paddingLeft,c=n+t-(a.paddingRight||0),u=n+t/2,d=`start`,p=s;a.textAlign===`center`?(d=`middle`,p=u):a.textAlign===`right`&&(d=`end`,p=c);let m=r,h=Math.round(a.fontSize*.4),g=f(`text`);g.setAttribute(`x`,String(p)),g.setAttribute(`y`,String(m+a.fontSize)),g.setAttribute(`text-anchor`,d),g.setAttribute(`dominant-baseline`,`ideographic`),g.setAttribute(`style`,`font-family:${i}; font-size:${a.fontSize}px; font-weight:${a.bold?`700`:`400`}; fill:${a.color}; ${y?`transform: scale(0.65, 1); transform-origin: center;`:``}`),g.textContent=a.text,o.appendChild(g);let _=a.fontSize;if(a.subtitle&&a.subtitle.text){let e={color:a.subtitle.color||`#666`,text:a.subtitle.text,fontSize:a.subtitle.fontSize||Math.max(12,Math.round(a.fontSize*.8)),bold:!!a.subtitle.bold},t=f(`text`);t.setAttribute(`x`,String(p)),t.setAttribute(`y`,String(m+a.fontSize+h+e.fontSize)),t.setAttribute(`text-anchor`,d),t.setAttribute(`dominant-baseline`,`ideographic`),t.setAttribute(`style`,`font-family:${i}; font-size:${e.fontSize}px; font-weight:${e.bold?`600`:`400`}; fill:${e.color}; ${y?`transform: scale(0.65, 1); transform-origin: center;`:``}`),t.textContent=e.text,o.appendChild(t),_+=h+e.fontSize}return _+Math.round(a.fontSize*.4)}function F(e,t,n,r,i){if(!m.value||!m.value.show||!Array.isArray(_.value)||!_.value.length)return 0;let a={bold:!!m.value.bold,backgroundColor:m.value.backgroundColor||`transparent`,color:m.value.color||`#111`,fontSize:m.value.fontSize||14,paddingX:14,paddingY:10,itemGapX:18,itemGapY:12,markerSize:Math.max(8,Math.round((m.value.fontSize||14)*.9)),markerTextGap:8,lineHeight:Math.round((m.value.fontSize||14)*1.2),maxWidth:t},o=f(`g`);o.setAttribute(`id`,`__vdu_export_legend`),o.setAttribute(`transform`,`translate(${n}, ${r})`),e.appendChild(o);let s=f(`rect`);s.setAttribute(`rx`,`6`),s.setAttribute(`ry`,`6`),s.setAttribute(`fill`,a.backgroundColor),o.appendChild(s);let c=f(`g`);o.appendChild(c);let l=f(`text`);l.setAttribute(`x`,`0`),l.setAttribute(`y`,`0`),l.setAttribute(`style`,`font-family:${i}; font-size:${a.fontSize}px; font-weight:${a.bold?`600`:`400`}; opacity:0;`),c.appendChild(l);let u=e=>(l.textContent=e||``,l.getComputedTextLength()),d=Math.max(1,a.maxWidth-a.paddingX*2);function p(e,t){let n=String(e||``).split(/\s+/).filter(Boolean),r=[];if(!n.length)return[``];let i=n.shift();for(;n.length;){let e=`${i} ${n[0]}`;if(u(e)<=t)i=e,n.shift();else if(u(i)>t&&i.length>1){let e=``;for(let n of i){let r=e+n;if(u(r)<=t)e=r;else break}let a=i.slice(e.length);r.push(e),i=a.length?a:n.shift()||``}else r.push(i),i=n.shift()||``}i&&r.push(i);let a=r[r.length-1]||``;if(u(a)>t&&a.length>1){let e=``;for(let n of a){let r=e+n;if(u(r)<=t)e=r;else break}let n=a.slice(e.length);r[r.length-1]=e,n&&r.push(n)}return r}let h=Math.PI/180;function g(e,t,n,r,i=-90){let a=i*h,o=``;for(let i=0;i<n;i+=1){let s=a+i*2*Math.PI/n,c=e+Math.cos(s)*r,l=t+Math.sin(s)*r;o+=(i===0?`M`:`L`)+c+`,`+l}return o+`Z`}function v(e,t,n=5,r,i){let a=-90*h,o=``;for(let s=0;s<n*2;s+=1){let c=s%2==0?r:i,l=a+s*Math.PI/n,u=e+Math.cos(l)*c,d=t+Math.sin(l)*c;o+=(s===0?`M`:`L`)+u+`,`+d}return o+`Z`}let y=_.value.map(e=>{let t=Math.max(1,d-(a.markerSize+a.markerTextGap)),n=p(e.name||``,t),r=Math.max(...n.map(u),0),i=a.markerSize+a.markerTextGap+r,o=Math.max(a.markerSize,n.length*a.lineHeight);return{...e,lines:n,itemW:i,itemH:o}}),b=[],x={items:[],width:0,height:0};for(let e of y){let t=(x.items.length?a.itemGapX:0)+e.itemW;x.items.length&&x.width+t>d?(b.push(x),x={items:[e],width:e.itemW,height:e.itemH}):(x.items.push(e),x.width+=t,x.height=Math.max(x.height,e.itemH))}x.items.length&&b.push(x);let S=a.paddingY;for(let e of b){let t=Math.max(a.paddingX,(a.maxWidth-e.width)/2);for(let n=0;n<e.items.length;n+=1){let r=e.items[n],o=t+a.markerSize/2,s=S+e.height/2.5,l=a.markerSize/2,u=String(r.shape||`rect`).toLowerCase();if(u===`circle`){let e=f(`circle`);e.setAttribute(`cx`,String(o)),e.setAttribute(`cy`,String(s)),e.setAttribute(`r`,String(l*.8)),e.setAttribute(`fill`,r.color||`#000`),c.appendChild(e)}else if(u===`rect`||u===`square`){let e=f(`path`);e.setAttribute(`d`,g(o,s,4,l,-45)),e.setAttribute(`fill`,r.color||`#000`),c.appendChild(e)}else if(u===`diamond`){let e=f(`path`);e.setAttribute(`d`,g(o,s,4,l,45)),e.setAttribute(`fill`,r.color||`#000`),c.appendChild(e)}else if(u===`triangle`){let e=f(`path`);e.setAttribute(`d`,g(o,s,3,l,-90)),e.setAttribute(`fill`,r.color||`#000`),c.appendChild(e)}else if(u===`pentagon`){let e=f(`path`);e.setAttribute(`d`,g(o,s,5,l,-90)),e.setAttribute(`fill`,r.color||`#000`),c.appendChild(e)}else if(u===`hexagon`){let e=f(`path`);e.setAttribute(`d`,g(o,s,6,l,0)),e.setAttribute(`fill`,r.color||`#000`),c.appendChild(e)}else if(u===`star`){let e=f(`path`),t=l,n=l*.5;e.setAttribute(`d`,v(o,s,5,t,n)),e.setAttribute(`fill`,r.color||`#000`),c.appendChild(e)}else{let n=f(`rect`);n.setAttribute(`x`,String(t)),n.setAttribute(`y`,String(S+(e.height-a.markerSize)/2)),n.setAttribute(`width`,String(a.markerSize)),n.setAttribute(`height`,String(a.markerSize)),n.setAttribute(`fill`,r.color||`#000`),c.appendChild(n)}let d=t+a.markerSize+a.markerTextGap,p=S+(e.height-r.lines.length*a.lineHeight)/2+a.fontSize,m=f(`text`);m.setAttribute(`x`,String(d)),m.setAttribute(`y`,String(p)),m.setAttribute(`style`,`font-family:${i}; font-size:${a.fontSize}px; font-weight:${a.bold?`600`:`400`}; fill:${a.color};`),m.setAttribute(`dominant-baseline`,`ideographic`);let h=!0;for(let e of r.lines){let t=f(`tspan`);h||t.setAttribute(`dy`,String(a.lineHeight)),t.setAttribute(`x`,String(d)),t.textContent=e,m.appendChild(t),h=!1}c.appendChild(m),t+=r.itemW+(n<e.items.length-1?a.itemGapX:0)}S+=e.height+a.itemGapY}b.length&&(S-=a.itemGapY);let C=S+a.paddingY;return s.setAttribute(`x`,`0`),s.setAttribute(`y`,`0`),s.setAttribute(`width`,String(a.maxWidth)),s.setAttribute(`height`,String(C)),l.remove(),C+Math.round(a.fontSize*.4)}function I(e){let t=e.cloneNode(!0);return t.querySelectorAll(`script`).forEach(e=>e.remove()),k(e,t),j(t),t}function L(e){let t=Array.from(e.childNodes).filter(e=>e.nodeType===1&&e.nodeName.toLowerCase()===`defs`),n=Array.from(e.childNodes).filter(e=>e.nodeType!==1||e.nodeName.toLowerCase()!==`defs`),r=document.createElementNS(o,`g`);r.setAttribute(`id`,`__vdu_export_content`);for(let e of n)r.appendChild(e);for(let n of t)e.appendChild(n);return e.appendChild(r),r}function R(e,t){t<=0||e.setAttribute(`transform`,`translate(0, ${t})`)}function z(e,t){if(t<=0)return;let n=A(e),r=e.getAttribute(`height`);if(n)e.setAttribute(`viewBox`,`${n.minX} ${n.minY} ${n.width} ${n.height+t}`),r&&e.setAttribute(`height`,String(Number(r)+t));else if(r)e.setAttribute(`height`,String(Number(r)+t));else{let n=e.getBBox();e.setAttribute(`viewBox`,`0 0 ${Math.max(1,n.width)} ${Math.max(1,n.height+t)}`)}}function B(e){let t=A(e);if(t)return t.width;let n=Number(e.getAttribute(`width`));return!Number.isNaN(n)&&n>0?n:e.getBBox().width||0}function V(e){let t=A(e);if(t)return t.height;let n=Number(e.getAttribute(`height`));return!Number.isNaN(n)&&n>0?n:e.getBBox().height||0}async function H(e){let t=M(e);d();try{if(document.fonts?.ready)try{await Promise.race([document.fonts.ready,new Promise(e=>setTimeout(e,4e3))])}catch{}let t=L(e),n=A(e),r=n?n.minX:0,i=n?n.minY:0,a=Math.max(1,B(e)),o=Math.max(1,V(e)),s=p(u(e).getPropertyValue(`font-family`)||``),c=(b?null:P(e,a,r,i,s))??0,d=m&&m.value&&m.value.position?String(m.value.position).toLowerCase():`top`;m&&m.value&&m.value.show&&d===`top`&&(c+=F(e,a,r,i+c,s)),R(t,c);let f=0;m&&m.value&&m.value.show&&d===`bottom`&&(f+=F(e,a,r,i+c+o,s)),z(e,c+f),e.style.backgroundColor=v.value??`#FFF`,await g(e,{mode:`raster`}),h(e,l.value.text?-6:-48)}finally{N(t),d()}}async function U(){let e=I(await T());await H(e);let t=`<?xml version="1.0" standalone="no"?>\n${new XMLSerializer().serializeToString(e)}`,n=new Blob([t],{type:`image/svg+xml;charset=utf-8`});return{blob:n,url:URL.createObjectURL(n),text:t,dataUrl:`data:image/svg+xml;charset=utf-8,${encodeURIComponent(t)}`}}async function W(e){let{url:t}=await U(),n=e||l.value?.text||`chart`,r=document.createElement(`a`);r.href=t,r.download=n.endsWith(`.svg`)?n:`${n}.svg`,document.body.appendChild(r),r.click(),document.body.removeChild(r),URL.revokeObjectURL(t)}return{ready:S,getSvg:U,exportSvg:W}}function h(e,t=-50){if(!t)return;let n=e.getAttribute(`viewBox`),r=t=>{if(!t)return;let n=e.getAttribute(`height`);if(!n)return;let r=/^(\d+(\.\d+)?)(px)?$/.exec(n.trim());if(!r)return;let i=parseFloat(r[1])||0,a=Math.max(1,i+t);e.setAttribute(`height`,String(a))};if(n){let i=n.trim().split(/\s+|,/).map(Number);if(i.length!==4||i.some(e=>!Number.isFinite(e)))return;let[a,o,s,c]=i,l=o+t,u=-t,d=Math.max(1,c+u);e.setAttribute(`viewBox`,`${a} ${l} ${s} ${d}`),r(u);return}let i=Number(e.getAttribute(`width`)),a=Number(e.getAttribute(`height`));if(!(i>0&&a>0)){let t=e.getBBox();i=Math.max(1,t.width||1),a=Math.max(1,t.height||1)}let o=t,s=-t,c=Math.max(1,a+s);e.setAttribute(`viewBox`,`0 ${o} ${i} ${c}`),(function(){let t=e.getAttribute(`height`);if(!t)return;let n=/^(\d+(\.\d+)?)(px)?$/.exec(t.trim());if(!n)return;let r=parseFloat(n[1])||0,i=Math.max(1,r+s);e.setAttribute(`height`,String(i))})()}async function g(e,{mode:t=`raster`}={}){let n=Array.from(e.querySelectorAll(`foreignObject`));if(!n.length)return{converted:0,rasterized:0,skipped:0,errors:0};let r=0,i=0,a=0,c=0,l=e=>[`div`,`p`,`span`,`strong`,`em`,`b`,`i`,`br`].includes(e),d=e=>{try{let t=e.firstElementChild;if(!t)return!1;let n=[t];for(;n.length;){let e=n.pop();if(e.nodeType===3)continue;if(e.nodeType!==1)return!1;let t=(e.tagName||``).toLowerCase();if(!l(t)||e.querySelector?.(`img,svg,canvas,video,foreignObject`))return!1;for(let t of Array.from(e.childNodes))n.push(t)}return!0}catch{return!1}};function f(e){try{let t=e.firstElementChild;if(!t)return null;let n=(e,t=0)=>Number.isFinite(+e)?+e:t,r=n(e.getAttribute(`x`),0),i=n(e.getAttribute(`y`),0),a=n(e.getAttribute(`width`),NaN);if(!Number.isFinite(a)||a<=0){let t=e.getBBox?.();a=Math.max(1,n(t?.width,0))}let s=(e,t)=>{if(!e)return Math.round(t*1.2);let n=e.trim().toLowerCase();if(n===`normal`)return Math.round(t*1.2);if(n.endsWith(`px`))return parseFloat(n)||Math.round(t*1.2);if(n.endsWith(`%`))return parseFloat(n)/100*t||Math.round(t*1.2);if(n.endsWith(`em`))return(parseFloat(n)||1)*t;if(n.endsWith(`rem`)){let e=parseFloat(getComputedStyle(document.documentElement).fontSize)||t;return(parseFloat(n)||1)*e}let r=Number(n);return Number.isFinite(r)?r*t:Math.round(t*1.2)},c=e=>{let t=(e||``).split(/\s+/).map(e=>{let t=(e||``).trim().toLowerCase();if(t.endsWith(`px`))return parseFloat(t)||0;if(t.endsWith(`rem`)){let e=parseFloat(getComputedStyle(document.documentElement).fontSize)||16;return(parseFloat(t)||0)*e}if(t.endsWith(`em`)){let e=parseFloat(getComputedStyle(document.body).fontSize)||16;return(parseFloat(t)||0)*e}let n=Number(t);return Number.isFinite(n)?n:0}).filter(Number.isFinite);return t.length?t.length===1?[t[0],t[0],t[0],t[0]]:t.length===2?[t[0],t[1],t[0],t[1]]:t.length===3?[t[0],t[1],t[2],t[1]]:[t[0],t[1],t[2],t[3]]:[0,0,0,0]},l=(e,t)=>{let n=u(e),r=n.getPropertyValue(`font-family`)||t?.ff||`system-ui`;r=p(r);let i=parseFloat(n.getPropertyValue(`font-size`));Number.isFinite(i)||(i=t?.fs||14);let a=n.getPropertyValue(`font-weight`)||t?.fw||`400`,o=n.getPropertyValue(`font-style`)||t?.fsty||`normal`,l=n.getPropertyValue(`font-stretch`)||t?.fstc||`normal`,d=n.getPropertyValue(`letter-spacing`)||t?.lsp||`normal`,f=n.getPropertyValue(`word-spacing`)||t?.wsp||`0px`,m=n.getPropertyValue(`font-kerning`)||t?.kern||`auto`,h=n.getPropertyValue(`font-variant-ligatures`)||t?.liga||`normal`,g=n.getPropertyValue(`text-transform`)||t?.ttfm||`none`,_=n.getPropertyValue(`color`)||t?.fill||`#000`,v=n.getPropertyValue(`line-height`),y=!v||v.trim().toLowerCase()===`normal`?t?.lh??Math.round(i*1.2):s(v,i),b=(n.getPropertyValue(`text-align`)||t?.ta||`start`).trim().toLowerCase(),x=parseFloat(n.getPropertyValue(`padding-top`))||0,S=parseFloat(n.getPropertyValue(`padding-right`))||0,C=parseFloat(n.getPropertyValue(`padding-bottom`))||0,w=parseFloat(n.getPropertyValue(`padding-left`))||0,T=n.getPropertyValue(`padding`);if(T&&x===0&&S===0&&C===0&&w===0){let[e,t,n,r]=c(T);x=e,S=t,C=n,w=r}let E=parseFloat(n.getPropertyValue(`border-left-width`))||0,D=parseFloat(n.getPropertyValue(`border-right-width`))||0,O=n.getPropertyValue(`box-sizing`)||`content-box`;return{ff:r,fs:i,fw:a,fsty:o,fstc:l,lsp:d,wsp:f,kern:m,liga:h,ttfm:g,fill:_,lh:y,ta:b,padL:w,padR:S,padT:x,padB:C,bL:E,bR:D,box:O}},d=e=>/^(div|p|section|article|ul|ol|li|h[1-6])$/.test(e),f={__para__:!0},m={__br__:!0},h=[],g=l(t),_=(e,t,n)=>{if(e.nodeType===3){let r=(e.nodeValue||``).replace(/\s+/g,` `).trim();r&&h.push({text:r,style:t,path:n.slice()});return}if(e.nodeType!==1)return;let r=e.tagName.toLowerCase();if(r===`br`){h.push({...m,path:n.slice()});return}let i=l(e,t);n.push(e);for(let t of Array.from(e.childNodes))_(t,i,n);n.pop(),d(r)&&h.push({...f,path:n.slice()})};for(_(t,g,[t]);h.length&&(h.at(-1).__para__||h.at(-1).__br__);)h.pop();if(!h.length)return null;let v=h.filter(e=>!e.__para__&&!e.__br__),y=(()=>{if(!v.length)return[t];let e=v.map(e=>e.path),n=Math.min(...e.map(e=>e.length)),r=0;for(;r<n;){let t=e[0][r];if(e.every(e=>e[r]===t))r+=1;else break}return e[0].slice(0,Math.max(1,r))})(),b=l(y[y.length-1]||t),x=0,S=0,C=0;for(let e of y){let t=l(e);x+=t.padL,S+=t.padR,C+=t.padT}let w=[Math.max(1,a-x-S)];for(let e of y)try{let t=u(e);if(e.clientWidth&&e.clientWidth>0){let n=parseFloat(t.paddingLeft)||0,r=parseFloat(t.paddingRight)||0,i=Math.max(1,e.clientWidth-n-r);w.push(i)}let n=t.width,r=parseFloat(n);if(Number.isFinite(r)&&r>0){let e=t.boxSizing||t.getPropertyValue(`box-sizing`)||`content-box`,n=parseFloat(t.paddingLeft)||0,i=parseFloat(t.paddingRight)||0,a=parseFloat(t.borderLeftWidth)||0,o=parseFloat(t.borderRightWidth)||0,s=e===`border-box`?Math.max(1,r-n-i-a-o):Math.max(1,r);w.push(s)}}catch{}let T=Math.floor(Math.min(...w.filter(Number.isFinite)))-1;T>0||(T=1);let E=`start`,D=r+x;b.ta===`center`?(E=`middle`,D=r+x+T/2):(b.ta===`right`||b.ta===`end`)&&(E=`end`,D=r+(a-S));let O=e.ownerSVGElement||e.closest(`svg`),k=document.createElementNS(o,`text`);k.setAttribute(`x`,String(D)),k.setAttribute(`y`,String(i+C)),k.setAttribute(`text-anchor`,E),k.setAttribute(`dominant-baseline`,`text-before-edge`),k.setAttribute(`xml:space`,`preserve`);let A=document.createElementNS(o,`text`);A.setAttribute(`x`,`0`),A.setAttribute(`y`,`0`),A.setAttribute(`opacity`,`0`),(O||e).appendChild(A);let j=e=>`font-family:${e.ff}; font-size:${e.fs}px; font-weight:${e.fw}; font-style:${e.fsty}; font-stretch:${e.fstc}; letter-spacing:${e.lsp}; word-spacing:${e.wsp}; font-kerning:${e.kern}; font-variant-ligatures:${e.liga}; text-transform:${e.ttfm};`,M=(e,t)=>(A.textContent=e||``,A.setAttribute(`style`,j(t)),A.getComputedTextLength()),N=e=>M(` `,e),P=[],F=[],I=0,L=()=>{F.length&&P.push({segs:F.slice()}),F=[],I=0},R=(e,t,n)=>{let r=M(e,t);if(n){let e=N(t);r+=e,F.push({text:` `,...t,w:e,isSpace:!0})}F.push({text:e,...t,w:r}),I+=r},z=(e,t,n)=>{let r=``;for(let i of e){let e=r+i;if(M(e,t)<=n)r=e;else break}return r||e[0]||``};for(let e of h){if(e.__para__||e.__br__){L();continue}let t=e.style,n=e.text.split(/(\s+)/).filter(e=>e.length>0),r=(e,n)=>{if(!e)return;let r=Math.max(1,T),i=M(e,t)+(n?N(t):0);if(F.length===0){if(i<=r)R(e,t,!1);else{let n=e;for(;n;){let e=z(n,t,r);R(e,t,!1),n=n.slice(e.length),n&&L()}}}else if(I+i<=r)R(e,t,n);else if(L(),M(e,t)<=r)R(e,t,!1);else{let n=e;for(;n;){let e=z(n,t,r);R(e,t,!1),n=n.slice(e.length),n&&L()}}},i=!1;for(let e of n)/^\s+$/.test(e)?i=!0:(r(e,i),i=!1)}L();for(let e=0;e<P.length;e+=1){let t=P[e].segs,n=Math.max(...t.map(e=>e.fs||b.fs),b.fs),r=!0;for(let i of t){let t=document.createElementNS(o,`tspan`);r&&=(t.setAttribute(`x`,String(D)),e>0&&t.setAttribute(`dy`,String(n)),!1),t.setAttribute(`style`,`${j(i)} fill:${i.fill};`),t.textContent=i.text,k.appendChild(t)}if(!t.length&&e>0){let e=document.createElementNS(o,`tspan`);e.setAttribute(`x`,String(D)),e.setAttribute(`dy`,String(n)),e.textContent=``,k.appendChild(e)}}try{A.remove()}catch{}return k}catch{return null}}let m=e=>{try{let t=document.createElement(`div`);t.style.position=`absolute`,t.style.left=`-99999px`,t.style.top=`-99999px`,t.style.visibility=`hidden`,t.style.pointerEvents=`none`,t.style.width=`auto`,t.style.height=`auto`;let n=e.cloneNode(!0);n.style.width=`auto`,n.style.height=`auto`,n.style.display=`inline-block`,n.style.maxWidth=`none`,n.style.maxHeight=`none`,n.style.boxSizing=`content-box`,document.body.appendChild(t),t.appendChild(n);let r=n.getBoundingClientRect(),i=Math.ceil(r.width||n.scrollWidth||0),a=Math.ceil(r.height||n.scrollHeight||0);return t.remove(),{w:Math.max(1,i),h:Math.max(1,a)}}catch{return{w:0,h:0}}};for(let e of n)try{if(e.hasAttribute(`data-no-svg-export`)){e.remove(),a+=1;continue}if(d(e)){let t=f(e);if(t){e.parentNode.replaceChild(t,e),r+=1;continue}}a+=1}catch{c+=1}if(t===`raster`){let t=Array.from(e.querySelectorAll(`foreignObject`));for(let e of t)try{if(e.hasAttribute(`data-no-svg-export`)){e.remove(),a+=1;continue}await new Promise(e=>requestAnimationFrame(e));let t=e.getBBox(),n=Math.max(1,Math.ceil(t.width)),r=Math.max(1,Math.ceil(t.height)),c=e.firstElementChild;if(c){let t=m(c),i=parseFloat(e.getAttribute(`width`)||`0`)||0,a=parseFloat(e.getAttribute(`height`)||`0`)||0;n=Math.max(n,i,t.w),r=Math.max(r,a,t.h)}if(!(n>0&&r>0)){a+=1;continue}let l=document.createElementNS(o,`svg`);l.setAttribute(`xmlns`,o),l.setAttribute(`xmlns:xlink`,s),l.setAttribute(`width`,String(n)),l.setAttribute(`height`,String(r)),l.setAttribute(`viewBox`,`0 0 ${n} ${r}`);let u=e.cloneNode(!0);u.setAttribute(`x`,`0`),u.setAttribute(`y`,`0`),u.setAttribute(`width`,String(n)),u.setAttribute(`height`,String(r)),l.appendChild(u);let d=new XMLSerializer().serializeToString(l),f=`data:image/svg+xml;charset=utf-8,`+encodeURIComponent(d),p=document.createElement(`canvas`);p.width=Math.max(1,Math.floor(n*2)),p.height=Math.max(1,Math.floor(r*2));let h=p.getContext(`2d`),g=new Image;g.decoding=`sync`,g.crossOrigin=`anonymous`,await new Promise((e,t)=>{g.onload=e,g.onerror=t,g.src=f}),h.drawImage(g,0,0,p.width,p.height);let _=p.toDataURL(`image/png`),v=document.createElementNS(o,`image`);v.setAttributeNS(s,`href`,_),v.setAttribute(`href`,_),v.setAttribute(`x`,e.getAttribute(`x`)||String(t.x)),v.setAttribute(`y`,e.getAttribute(`y`)||String(t.y)),v.setAttribute(`width`,String(n)),v.setAttribute(`height`,String(r)),e.parentNode.replaceChild(v,e),i+=1}catch{c+=1}}return{converted:r,rasterized:i,skipped:a,errors:c}}function _({svg:e,title:n,legend:i,legendItems:a,backgroundColor:o,getSvgCallback:s,generateImage:c,titleEmbedded:l=!1,stretchTitle:u=!1}){let d=r(!1),f=r(!1),{exportSvg:p,getSvg:h}=m({svg:e,title:n,legend:i,legendItems:a,backgroundColor:o,titleEmbedded:l,stretchTitle:u});async function g({isCb:e}){f.value=!0,await t();try{if(e){let{blob:e,url:t,text:n,dataUrl:r}=await h();await Promise.resolve(s()({blob:e,url:t,text:n,dataUrl:r}))}else await Promise.resolve(p())}finally{f.value=!1}}function _(e){e?.stage===`start`?d.value=!0:e?.stage===`end`?d.value=!1:c()}return{isCallbackImaging:d,isCallbackSvg:f,generateSvg:g,onGenerateImage:_}}export{_ as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{et as e}from"./lib-rPeBMZrn.js";var t={responsive:!1,theme:``,a11y:{translations:{keyboardNavigation:`Use arrow keys to navigate nodes, Home or End to jump, Enter or Space to select, and Escape to clear selection.`}},loading:!1,skeletonDataset:null,skeletonConfig:null,debug:!1,devHints:{enable:!1},customPalette:[],events:{datapointEnter:null,datapointLeave:null,datapointClick:null},style:{chart:{width:600,height:600,padding:36,backgroundColor:`#FFFFFF`,color:`#2D353C`,fontFamily:`inherit`,title:{text:``},controls:{position:`bottom`,show:!0,backgroundColor:`#e1e5e8`,buttonColor:`#e1e5e8`,color:`#2D353C`,fontSize:14,border:`1px solid #e1e5e8`,padding:`0.5rem`,borderRadius:`0.25rem`},nodes:{radius:7,minRadius:4,maxRadius:24,sizeByValue:!0,sizeByDegree:!1,colorByGroup:!0,color:`#42A5F5`,opacity:1,strokeWidth:1,stroke:`#FFFFFF`,gradient:!0,gradientColor:`#FFFFFF`,glow:{show:!1,blur:6,opacity:.6},hover:{stroke:`#2D353C`,strokeWidth:3},selected:{stroke:`#FFB74D`,strokeWidth:3},labels:{show:!0,strokeWidth:3,fontSize:11,color:`#2D353C`,position:`bottom`,offsetY:0,hoverOnly:!1,selectedOnly:!1,maxCount:150,minZoom:0,maxLength:40}},links:{color:`#A1A1A1`,opacity:.5,width:1,widthByValue:!1,maxWidth:6,arrows:{show:!1,showOnHover:!0},pulses:{show:!1,showOnHover:!1,reverse:!1,colorBySource:!0,color:`#FFB74D`,radius:2,opacity:1,duration:1500},glow:!1}}},layout:{chargeStrength:-120,linkDistance:80,linkStrength:.08,centerStrength:.015,collisionPadding:3,friction:.85,clusterStrength:0,iterations:300,strength:1,theta:.8},interaction:{zoom:{enabled:!0,min:.2,max:5,fitOnDoubleClick:!0},pan:{enabled:!0},drag:{enabled:!0,pinOnRelease:!1},highlight:{enabled:!0,neighbors:!0,keepSelection:!0,dimOpacity:.12}},tooltip:{show:!0,backgroundColor:`#FFFFFF`,color:`#2D353C`,borderColor:`#CCCCCC`,fontSize:13,showMetadata:!1,customFormat:null},animation:{enabled:!0,duration:300},userOptions:{show:!0,useCursorPointer:!0},viewport:{initialFit:!0,fitOnResize:!1,fitOnUpdate:!1},performance:{effectThreshold:300,stepsPerFrame:1,nodeBatchThreshold:300}};function n(n={}){let r=`#2D353C`,i=`#A1A1A1`,a=`#e1e5e8`,o=`#CCCCCC`,s=`#4A4A4A`,c=`#FFFFFF`,l=`#fafafa`,u=`#1f77b4`,d=`#d62728`,f=`#2ca02c`,p=`#42d392`,m=`#FFD055`,h=[`#000000`,`#FFFFFF`,`#FF5733`,`#33FF57`,`#3357FF`,`#FFC300`,`#800080`,`#FF1493`,`#00CED1`],g=n.colorBackground??c,_=n.colorTextPrimary??r,v=n.colorTextSecondary??i,y=n.colorGrid??a,b=n.colorBorder??a,x={translations:{keyboardNavigation:`Use the left and right arrow keys to move between data points.`,tableAvailable:`A data table for this chart is available below.`,tableCaption:`Chart data table`}},S={_6:6,_8:8,_10:10,_12:12,_14:14,_16:16,_18:18,_20:20,_24:24,_32:32,_48:48},C=S._6,w={LINE:`line`,SQUARE:`square`,ROUND:`round`,CIRCLE:`circle`,CURVED:`curved`,BAR:`bar`,STAR:`star`},T={LEFT:`left`,CENTER:`center`,RIGHT:`right`,BOTTOM:`bottom`,TOP:`top`},ee={ASC:`asc`,DESC:`desc`,NONE:`none`},E={threshold:1095},D={enable:!1},O={showValueFirst:!0,usePercentageParens:!0,useValueParens:!1},k={text:``,color:_,fontSize:S._20,bold:!0,textAlign:T.CENTER,paddingLeft:0,paddingRight:0,subtitle:{color:v,text:``,fontSize:S._16,bold:!1}},A={show:!0,bold:!1,backgroundColor:g,color:_,fontSize:S._14,selectAllToggle:{show:!1,backgroundColor:b,color:_}},j={show:!0,color:_,backgroundColor:g,fontSize:S._14,customFormat:null,borderRadius:4,borderColor:b,borderWidth:1,backgroundOpacity:100,position:T.CENTER,offsetX:0,offsetY:24,smooth:!0,backdropFilter:!0,smoothForce:.18,smoothSnapThreshold:.25,teleportTo:`body`},M={enable:!0,pauseOnLoad:!0,pauseOnDatasetChange:!1,activationDelayMs:300},N={enable:!1,locale:`en`,useUTC:!1,januaryAsYear:!1,options:{year:`yyyy`,month:`MMM 'yy`,day:`dd MMM`,hour:`HH:mm`,minute:`HH:mm:ss`,second:`HH:mm:ss`}},P=({tooltip:e=!1,pdf:t=!1,csv:n=!1,img:r=!1,table:i=!1,labels:a=!1,fullscreen:o=!1,sort:s=!1,stack:c=!1,animation:l=!1,annotator:u=!1,svg:d=!1,zoom:f=!1,altCopy:p=!1})=>{let m={open:`Open options`,close:`Close options`,tooltip:`Toggle tooltip`,pdf:`Download PDF`,csv:`Download CSV`,img:`Download PNG`,table:`Toggle table`,labels:`Toggle labels`,fullscreen:`Toggle fullscreen`,sort:`Toggle sort`,stack:`Toggle stack mode`,animation:`Toggle animation`,annotator:`Toggle annotator`,svg:`Download SVG`,zoom:`Toggle zoom lock`,altCopy:`Copy alt text`};return e||delete m.tooltip,t||delete m.pdf,n||delete m.csv,r||delete m.img,i||delete m.table,a||delete m.labels,o||delete m.fullscreen,s||delete m.sort,c||delete m.stack,l||delete m.animation,u||delete m.annotator,d||delete m.svg,f||delete m.zoom,{show:!0,showOnChartHover:!1,keepStateOnChartLeave:!0,position:`right`,buttons:{tooltip:e,pdf:t,csv:n,img:r,table:i,labels:a,fullscreen:o,sort:s,stack:c,animation:l,annotator:u,svg:d,zoom:f,altCopy:p},callbacks:{animation:null,annotator:null,csv:null,fullscreen:null,img:null,labels:null,pdf:null,sort:null,stack:null,table:null,tooltip:null,svg:null,zoom:null,altCopy:null},buttonTitles:m,print:{scale:2,orientation:`auto`,overflowTolerance:.2},useCursorPointer:!1,annotatorPalette:h}},F=e=>({top:e[0],right:e[1],bottom:e[2],left:e[3]}),I={backgroundColor:g,color:_,outline:`none`},L={backgroundColor:g,color:_,outline:`none`},R={show:!1,responsiveBreakpoint:400},z={show:!0,autoFit:!1,color:o,highlightColor:s,fontSize:S._14,useResetSlot:!1,startIndex:null,endIndex:null,enableRangeHandles:!0,enableSelectionDrag:!0,focusOnDrag:!1,focusRangeRatio:.2,maxWidth:null,keepState:!1,dragToZoom:{show:!1,selection:{fill:u,stroke:i,fillOpacity:.2,strokeOpacity:.5,strokeWidth:1,strokeDasharray:0}}},B={show:!1,selectedColor:u,selectedColorOpacity:.2,indicatorColor:r,verticalHandles:!1,compact:!0,frameColor:i,additionalHeight:0,handleIconColor:null,handleBorderWidth:1,handleBorderColor:null,handleFill:null,handleWidth:20,handleType:`grab`},V={...B,smooth:!1,lineColor:r,selectionRadius:2,merged:!1},te={devHints:D,loading:!1,readonly:!1,editing:!1,theme:``,customPalette:[],transitions:M,userOptions:P({tooltip:!1,pdf:!0,csv:!0,img:!0,table:!1,labels:!1,fullscreen:!0,annotator:!0,svg:!0}),a11y:{...x,translations:{...x.translations,keyboardNavigation:`Use the left and right arrow keys to adjust the selected datapoint.`,topOfHill:`Top of the hill`}},events:{edit:null,save:null,cancel:null,change:null,dragStart:null,dragEnd:null,datapointEnter:null,datapointLeave:null,selectDatapoint:null},interaction:{keyboardStep:.01,peakTolerance:.005},style:{fontFamily:`inherit`,chart:{backgroundColor:g,color:_,width:800,height:300,title:k,toolbar:{show:!0,status:{lastUpdated:`Last updated just now`,editInstruction:`Drag each dot to adjust its position`,color:_,fontSize:S._14,bold:!1,lineHeight:1.3},buttons:{translations:{edit:`Edit`,cancel:`Cancel`,save:`Save`}}},layout:{hill:{geometry:{horizontalPaddingRatio:.05,topPaddingRatio:.15,bottomPaddingRatio:.15,curvature:.7},baseline:{show:!0,stroke:o,strokeWidth:1,strokeDasharray:0},midline:{show:!0,stroke:o,strokeWidth:1,strokeDasharray:`2.5 3.5`},curve:{stroke:i,strokeWidth:1.5,strokeDasharray:0}},plots:{radius:10,hitRadius:10,stroke:g,strokeWidth:2,mutedOpacity:.4,disabledOpacity:.4,shadow:{show:!0,color:_,offsetX:0,offsetY:.5,blur:.4},stacking:{show:!0,overlapThresholdRatio:.8,gap:5,overflow:{show:!0,transitionDuration:300,marker:{radius:10,stroke:g,strokeWidth:1,labelColor:_,labelOffsetY:0,fontSize:S._14,bold:!1,fill:o},menu:{width:220,maxHeight:220,backgroundColor:g,color:_,borderColor:`transparent`,borderRadius:3,title:``}}},dragMarker:{show:!0,strokeWidth:1.5,crossPath:`M-5 0H5M0-5V5`,positionIndicator:{show:!0,useSerieColor:!0,color:a,strokeWidth:1,strokeDasharray:`2 4`,circle:{show:!0,radius:3,stroke:g,strokeWidth:1},value:{show:!0,offsetY:0,fontSize:S._12,useSerieColor:!1,color:_,formatter:null,rounding:0}}}},labels:{item:{ellipsisThresholdChars:24,show:!0,useSerieColor:!1,color:_,fontSize:S._14,bold:!1,offsetX:0,offsetY:0,autoSideThreshold:.75,stroke:g,strokeWidth:5},phases:{show:!0,color:v,fontSize:S._14,bold:!0,letterSpacing:`0.1em`,offsetY:0,left:{text:`FIGURING THINGS OUT`},right:{text:`MAKING IT HAPPEN`}}},stackbar:{show:!0,paddingTop:0,paddingBottom:12,height:14,stroke:g,strokeWidth:1.5,gutterColor:a,label:{show:!0,color:_,fontSize:S._12,formatter:null}}}}}},ne={devHints:D,skeletonDataset:null,skeletonConfig:null,loading:!1,debug:!1,theme:``,responsive:!1,a11y:x,transitions:M,events:{datapointEnter:null,datapointLeave:null,datapointClick:null},customPalette:[],useCssAnimation:!1,table:{...R,useDialog:!1,columnNames:{period:`Period`,total:`Total`},th:I,td:{...L,roundingValue:0}},userOptions:P({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,labels:!0,fullscreen:!0,annotator:!0,svg:!0}),style:{fontFamily:`inherit`,chart:{backgroundColor:g,color:_,height:500,width:800,padding:F([12,12,12,12]),title:k,legend:{...A,position:`bottom`},zoom:{...z,minimap:B,preview:{enable:!0,fill:`#CCCCCC50`,stroke:`#6A6A6A`,strokeWidth:2,strokeDasharray:0},useDefaultFormat:!0,timeFormat:`yyyy-MM-dd HH:mm:ss`,customFormat:null},highlighter:{color:_,opacity:5,useLine:!1,lineDasharray:2,lineWidth:1},tooltip:{...j,showValue:!0,showPercentage:!0,roundingValue:0,roundingPercentage:0,showTimeLabel:!0,showTotal:!1,totalTranslation:`Total`,useDefaultTimeFormat:!0,timeFormat:`yyyy-MM-dd HH:mm:ss`},grid:{scale:{ticks:10,scaleMin:null,scaleMax:null},frame:{show:!1,stroke:y,strokeWidth:2,strokeLinecap:`round`,strokeLinejoin:`round`,strokeDasharray:0},x:{showAxis:!0,showHorizontalLines:!1,axisColor:y,linesColor:y,linesThickness:1,linesStrokeDasharray:0,axisThickness:2,axisName:{show:!0,text:``,fontSize:S._14,color:_,bold:!1,offsetY:0},timeLabels:{show:!0,values:[],datetimeFormatter:N,offsetY:0,rotation:0,autoRotate:{enable:!0,angle:-30},fontSize:S._14,color:_,bold:!1,showOnlyFirstAndLast:!1,showFirstAndLast:!0,showOnlyAtModulo:!1,modulo:2}},y:{position:`left`,showAxis:!0,showVerticalLines:!1,linesColor:y,linesThickness:1,linesStrokeDasharray:0,axisColor:y,axisThickness:2,axisName:{show:!0,text:``,fontSize:S._14,color:_,bold:!1,offsetX:0},axisLabels:{formatter:null,show:!0,color:_,fontSize:S._14,bold:!1,rounding:0}}},lines:{useArea:!0,smooth:!1,areaOpacity:.5,distributed:!1,showDistributedPercentage:!0,strokeWidth:1,gradient:{show:!0,intensity:40},path:{useSerieColor:!0,stroke:c},dot:{hideAboveMaxSerieLength:62,useSerieColor:!0,fill:c,stroke:c,strokeWidth:.5,radius:4},totalValues:{show:!0,offsetY:0,fontSize:S._16,bold:!0,color:_},dataLabels:{hideAboveMaxSerieLength:62,offsetY:0,show:!0,hideEmptyValues:!0,hideUnderValue:null,hideEmptyPercentages:!0,hideUnderPercentage:null,color:_,fontSize:S._14,bold:!1,rounding:0,prefix:``,suffix:``,formatter:null}}}}},re={devHints:D,skeletonDataset:null,skeletonConfig:null,loading:!1,debug:!1,theme:``,responsive:!1,a11y:{...x,translations:{...x.translations,keyboardNavigation:`Use the left and right, or up and down arrow keys to move between datapoints`}},transitions:M,events:{datapointEnter:null,datapointLeave:null,datapointClick:null},customPalette:[],useCssAnimation:!1,orientation:`vertical`,table:{...R,useDialog:!1,columnNames:{period:`Period`,total:`Total`},th:I,td:{...L,roundingValue:0}},userOptions:P({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,labels:!0,fullscreen:!0,annotator:!0,svg:!0}),style:{fontFamily:`inherit`,chart:{backgroundColor:g,color:_,height:500,width:800,padding:F([12,12,12,12]),title:k,legend:{...A,position:`bottom`},waterfall:{bars:{gapRatio:.5,borderRadius:0,strokeWidth:1,stroke:g,gradient:{show:!0,intensity:20}},colors:{useSeriesColor:!0,positive:`#36A783`,negative:`#E76F51`,total:`#4C7899`,subtotal:`#8192B0`,neutral:`#A3A3A3`},connectors:{show:!0,stroke:`#8B8B8B`,strokeWidth:1,strokeDasharray:`3 3`,adaptToRadius:!1,inset:0},categoryLabels:{show:!0,fontSize:S._14,color:r,bold:!1,rotation:0,offsetY:0},segmentLabels:{show:!0,fontSize:S._14,bold:!1,color:r,adaptColorToBackground:!0,minHeight:14,minWidth:26,showZero:!1,prefix:``,suffix:``,rounding:0,formatter:null},stepLabels:{show:!0,fontSize:S._14,color:r,bold:!1,prefix:``,suffix:``,rounding:0,offset:0,showPlusSign:!1,showZero:!0,useBalanceForTotals:!0,formatter:null},tooltip:{showBalance:!0,showChange:!0,showStart:!1,balanceTranslation:`Balance`,changeTranslation:`Change`,startTranslation:`Previous balance`,totalTranslation:`Total`,subtotalTranslation:`Subtotal`,rounding:0},table:{showKind:!0,showBalance:!0,kindTranslation:`Type`,balanceTranslation:`Balance`,changeTranslation:`Change`}},zoom:{...z,minimap:B,preview:{enable:!0,fill:`#CCCCCC50`,stroke:`#6A6A6A`,strokeWidth:2,strokeDasharray:0},useDefaultFormat:!0,timeFormat:`yyyy-MM-dd HH:mm:ss`,customFormat:null},tooltip:{...j,showValue:!0,showPercentage:!0,roundingValue:0,roundingPercentage:0,showTimeLabel:!0,showTotal:!1,totalTranslation:`Total`,useDefaultTimeFormat:!0,timeFormat:`yyyy-MM-dd HH:mm:ss`},highlighter:{color:_,opacity:5},bars:{gapRatio:.5,distributed:!1,showDistributedPercentage:!0,borderRadius:0,strokeWidth:1,gradient:{show:!0,intensity:20},totalValues:{show:!0,offsetY:0,offsetX:0,fontSize:S._16,bold:!1,color:_},dataLabels:{show:!0,hideEmptyValues:!1,hideUnderValue:null,hideEmptyPercentages:!1,hideUnderPercentage:null,adaptColorToBackground:!0,color:_,fontSize:S._14,bold:!1,rounding:0,prefix:``,suffix:``,formatter:null}},grid:{scale:{ticks:10,scaleMin:null,scaleMax:null},frame:{show:!1,stroke:y,strokeWidth:2,strokeLinecap:`round`,strokeLinejoin:`round`,strokeDasharray:0},x:{showAxis:!0,showHorizontalLines:!1,axisColor:y,linesColor:y,linesThickness:1,linesStrokeDasharray:0,axisThickness:2,axisName:{show:!0,text:``,fontSize:S._14,color:_,bold:!1,offsetY:0},timeLabels:{show:!0,values:[],datetimeFormatter:N,offsetY:0,rotation:0,autoRotate:{enable:!0,angle:-30},fontSize:S._14,color:_,bold:!1,showOnlyFirstAndLast:!1,showFirstAndLast:!0,showOnlyAtModulo:!1,modulo:2}},y:{position:`left`,showAxis:!0,showVerticalLines:!1,linesColor:y,linesThickness:1,linesStrokeDasharray:0,axisColor:y,axisThickness:2,axisName:{show:!0,text:``,fontSize:S._14,color:_,bold:!1,offsetX:0},axisLabels:{formatter:null,show:!0,color:_,fontSize:S._14,bold:!1,rounding:0}}}}}},H={devHints:D,skeletonConfig:null,skeletonDataset:null,debug:!1,theme:``,responsive:!1,loading:!1,a11y:x,events:{datapointEnter:null,datapointLeave:null,datapointClick:null},responsiveProportionalSizing:!0,customPalette:[],useCssAnimation:!1,downsample:E,transitions:M,chart:{fontFamily:`inherit`,backgroundColor:g,color:_,height:600,width:1e3,annotations:[{show:!1,yAxis:{yTop:null,yBottom:null,label:{text:``,textAnchor:`start`,position:`start`,offsetX:0,offsetY:0,padding:F([12,12,12,12]),border:{stroke:c,strokeWidth:1,rx:0,ry:0},fontSize:14,color:_,backgroundColor:y},line:{stroke:r,strokeWidth:1,strokeDasharray:0},area:{fill:y,opacity:30}}}],zoom:{...z,minimap:V,preview:{enable:!0,fill:`#CCCCCC50`,stroke:`#6A6A6A`,strokeWidth:2,strokeDasharray:0},useDefaultFormat:!0,timeFormat:`yyyy-MM-dd HH:mm:ss`,customFormat:null},padding:F([12,12,6,6]),highlighter:{color:_,opacity:5,useLine:!1,lineDasharray:2,lineWidth:1,crosshairs:{show:!1,stroke:r,strokeWidth:1,strokeDasharray:3,stopOnPoint:!1,dot:{radius:2,fill:r,stroke:c,strokeWidth:1}}},highlightArea:{show:!1,from:0,to:0,color:r,opacity:20,caption:{text:``,fontSize:S._10,color:_,bold:!1,offsetY:0,width:`auto`,padding:3,textAlign:T.CENTER}},timeTag:{show:!1,backgroundColor:y,color:_,fontSize:S._12,circleMarker:{radius:3,color:_},useDefaultFormat:!0,timeFormat:`yyyy-MM-dd HH:mm:ss`,customFormat:null},grid:{stroke:y,showVerticalLines:!1,showHorizontalLines:!1,position:`middle`,frame:{show:!1,stroke:y,strokeWidth:2,strokeLinecap:`round`,strokeLinejoin:`round`,strokeDasharray:0},labels:{show:!0,color:_,fontSize:S._16,axis:{yLabel:``,yLabelOffsetX:0,xLabel:``,xLabelOffsetY:0,fontSize:S._14},zeroLine:{show:!0},xAxis:{showBaseline:!1,showCrosshairs:!0,crosshairsAlwaysAtZero:!1,crosshairSize:6,commonScaleSteps:10,useNiceScale:!0,scaleMin:null,scaleMax:null,rounding:1,formatter:null,reverse:!1},yAxis:{reverse:!1,position:`left`,showBaseline:!0,showCrosshairs:!0,crosshairSize:6,commonScaleSteps:10,useIndividualScale:!1,useNiceScale:!1,stacked:!1,gap:12,labelWidth:64,formatter:null,scaleMin:null,scaleMax:null,groupColor:null,scaleLabelOffsetX:0,scaleValueOffsetX:0,rounding:1,serieNameFormatter:null},xAxisLabels:{color:_,show:!0,values:[],datetimeFormatter:N,fontSize:S._14,showOnlyFirstAndLast:!1,showFirstAndLast:!0,showOnlyAtModulo:!1,modulo:2,yOffset:24,rotation:0,autoRotate:{enable:!0,angle:-30}}}},comments:{show:!0,showInTooltip:!0,width:200,offsetX:0,offsetY:0},labels:{fontSize:S._10,prefix:``,suffix:``},legend:{color:_,show:!0,fontSize:S._14,position:`bottom`,selectAllToggle:{show:!1,backgroundColor:b,color:_}},title:{...k,show:!0},tooltip:{...j,showTimeLabel:!0,showValue:!0,showPercentage:!0,roundingValue:0,roundingPercentage:0,useDefaultTimeFormat:!0,timeFormat:`yyyy-MM-dd HH:mm:ss`},userOptions:P({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,labels:!0,fullscreen:!0,stack:!0,annotator:!0,svg:!0})},bar:{showTransition:!0,transitionDurationMs:300,borderRadius:2,useGradient:!0,periodGap:.1,innerGap:0,border:{useSerieColor:!1,strokeWidth:0,stroke:c},labels:{show:!1,offsetY:-6,offsetX:0,rotation:0,textAnchor:null,alwaysOnTop:!1,rounding:0,color:_,formatter:null},serieName:{show:!1,offsetY:-6,useAbbreviation:!0,abbreviationSize:3,useSerieColor:!0,color:_,bold:!1}},line:{showTransition:!0,transitionDurationMs:300,radius:3,useGradient:!0,strokeWidth:3,cutNullValues:!1,nullDashes:{show:!1},interLine:{pairs:[],colors:[],fillOpacity:.25},dot:{selectedRadius:4.5,hideAboveMaxSerieLength:62,useSerieColor:!0,fill:c,strokeWidth:.5},labels:{show:!1,offsetY:-6,offsetX:0,rotation:0,rounding:0,color:_,formatter:null,textAnchor:null,alwaysOnTop:!1},area:{useGradient:!0,opacity:30},tag:{followValue:!0,formatter:null,fontSize:S._14}},plot:{showTransition:!0,transitionDurationMs:300,radius:3,useGradient:!0,dot:{useSerieColor:!0,fill:c,strokeWidth:.5},labels:{show:!1,offsetY:-6,offsetX:0,rotation:0,rounding:0,color:_,formatter:null,textAnchor:null,alwaysOnTop:!1},tag:{followValue:!0,formatter:null,fontSize:S._14}},table:{useDialog:!1,responsiveBreakpoint:400,rounding:0,sparkline:!0,showSum:!0,columnNames:{period:`Period`,total:`Total`},th:I,td:L,useDefaultTimeFormat:!0,timeFormat:`yyyy-MM-dd HH:mm:ss`},showTable:!1},U={devHints:D,skeletonConfig:null,skeletonDataset:null,debug:!1,type:`classic`,loading:!1,pie:!1,autoSize:!0,responsive:!1,theme:``,customPalette:[],useCssAnimation:!1,a11y:{...x,translations:{...x.translations,keyboardNavigation:`Use the left and right, or up and down arrow keys to move between datapoints`}},events:{datapointEnter:null,datapointLeave:null,datapointClick:null},serieToggleAnimation:{show:!0,durationMs:500},startAnimation:{show:!1,durationMs:1e3,staggerMs:50},useBlurOnHover:!0,userOptions:P({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,labels:!0,fullscreen:!0,annotator:!0,svg:!0}),translations:{total:`Total`,average:`Average`},table:{...R,useDialog:!1,th:I,td:{...L,roundingValue:0,roundingPercentage:0},columnNames:{series:`Series`,value:`Value`,percentage:`Percentage`}},style:{fontFamily:`inherit`,chart:{useGradient:!0,gradientIntensity:40,backgroundColor:g,color:_,padding:F([0,0,0,0]),width:512,height:360,layout:{curvedMarkers:!1,labels:{dataLabels:{...O,show:!0,useLabelSlots:!1,hideUnderValue:3,smallArcClusterThreshold:8,smallArcClusterFontSize:S._12,oneLine:!1,prefix:``,suffix:``},value:{rounding:0,show:!0,formatter:null},percentage:{show:!0,color:_,bold:!0,fontSize:S._18,minFontSize:C,rounding:0,formatter:null},name:{show:!0,color:_,bold:!1,fontSize:S._14,minFontSize:C},hollow:{show:!0,total:{show:!0,bold:!1,fontSize:S._18,color:_,text:`Total`,offsetY:0,value:{color:_,fontSize:S._18,bold:!0,suffix:``,prefix:``,offsetY:0,rounding:0,formatter:null}},average:{show:!0,bold:!1,fontSize:S._18,color:v,text:`Average`,offsetY:0,value:{color:_,fontSize:S._18,bold:!0,suffix:``,prefix:``,offsetY:0,rounding:0,formatter:null}}}},donut:{radiusRatio:.3,strokeWidth:64,borderWidth:1,useShadow:!1,shadowColor:r,emptyFill:y,selectedColor:`#0000001A`,borderColorAuto:!0,borderColor:b}},comments:{show:!0,showInTooltip:!0,width:100,offsetY:0,offsetX:0},legend:{...A,...O,roundingValue:0,roundingPercentage:0,showPercentage:!0,showValue:!0,position:`bottom`},tooltip:{...j,...O,showValue:!0,showPercentage:!0,roundingValue:0,roundingPercentage:0},title:k}}},W={devHints:D,skeletonDataset:null,skeletonConfig:null,debug:!1,loading:!1,responsive:!1,a11y:{...x,translations:{...x.translations,keyboardNavigation:`Use the left and right, or up and down arrow keys to move between datapoints`}},transitions:M,events:{datapointEnter:null,datapointLeave:null,datapointClick:null},theme:``,customPalette:[],userOptions:P({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0,annotator:!0,svg:!0,zoom:!0}),style:{fontFamily:`inherit`,chart:{backgroundColor:g,color:_,height:500,width:800,padding:F([0,0,0,0]),layout:{sorted:!0,rects:{stroke:y,strokeWidth:1,borderRadius:0,colorRatio:.3,gradient:{show:!0,intensity:30},group:{stroke:y,strokeWidth:1,useSeriesBackgroundColor:!1,backgroundLighterRatio:.4,label:{adaptColorToBackground:!1,color:_}},selected:{stroke:y,strokeWidth:1,unselectedOpacity:.6}},labels:{showDefaultLabels:!0,fontSize:S._24,fontSizeZoomFactor:6,minFontSize:S._10,hideUnderProportion:0,prefix:``,suffix:``,rounding:0,formatter:null,name:{show:!0,bold:!0},value:{show:!0,bold:!1}}},legend:{...A,roundingValue:0,roundingPercentage:0,showValue:!0,showPercentage:!0,position:`bottom`},title:k,tooltip:{...j,roundingValue:1},zoom:{show:!1}}},table:{...R,useDialog:!1,columnNames:{series:`Series`,value:`Value`,percentage:`Percentage`},th:I,td:{...L,roundingValue:0,roundingPercentage:0}}},G={devHints:D,skeletonDataset:null,skeletonConfig:null,debug:!1,loading:!1,responsive:!1,transitions:M,a11y:{...x,translations:{...x.translations,keyboardNavigation:`Use the left and right, or up and down arrow keys to move between datapoints`}},events:{datapointEnter:null,datapointLeave:null,datapointClick:null},theme:``,customPalette:[],useBlurOnHover:!0,useCustomCells:!1,useAnimation:!0,style:{fontFamily:`inherit`,chart:{backgroundColor:g,color:_,layout:{labels:{dataLabels:{...O,prefix:``,suffix:``,formatter:null},captions:{show:!1,showSerieName:!1,serieNameAbbreviation:!0,serieNameMaxAbbreviationSize:3,fontSize:S._12,showValue:!0,showPercentage:!0,roundingValue:0,roundingPercentage:0,offsetX:0,offsetY:0}},grid:{size:10,spaceBetween:2,vertical:!1},rect:{rounded:!0,rounding:2,stroke:_,strokeWidth:1,useGradient:!0,gradientIntensity:40,merged:!1,selection:{unselectedOpacity:.6,wrap:{show:!0,stroke:_,strokeWidth:3,strokeLinejoin:`round`}}}},title:k,tooltip:{...j,...O,showValue:!0,showPercentage:!0,roundingValue:0,roundingPercentage:0},legend:{...A,...O,roundingValue:0,roundingPercentage:0,showValue:!0,showPercentage:!0,position:`bottom`}}},userOptions:P({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0,annotator:!0,svg:!0}),table:{...R,useDialog:!1,columnNames:{series:`Series`,value:`Value`,percentage:`Percentage`},th:I,td:{...L,roundingValue:0,roundingPercentage:0}}},K={devHints:D,skeletonConfig:null,skeletonDataset:null,debug:!1,loading:!1,responsive:!1,a11y:{...x,translations:{...x.translations,keyboardNavigation:`Use the left and right, or up and down arrow keys to move between datapoints`}},events:{datapointEnter:null,datapointLeave:null,datapointClick:null},theme:``,customPalette:[],useCssAnimation:!1,style:{fontFamily:`inherit`,chart:{backgroundColor:g,color:_,layout:{scaleToAxisMax:!1,targetReference:{show:!1,stroke:r,strokeWidth:1,strokeDasharray:4,showInLegend:!0,legendLabel:`Target`},plots:{show:!0,radius:2},outerPolygon:{stroke:o,strokeWidth:1},dataPolygon:{strokeWidth:1,transparent:!1,opacity:20,useGradient:!0},grid:{show:!0,rotation:0,stroke:y,strokeWidth:.5,graduations:5},labels:{dataLabels:{show:!0,fontSize:S._12,color:_,offset:0}}},title:k,tooltip:{...j,showValue:!0,showPercentage:!0,roundingValue:0,roundingPercentage:0,animation:{show:!0,animationFrames:60}},legend:{...A,roundingPercentage:0,position:`bottom`}}},table:{...R,useDialog:!1,th:I,td:{...L,roundingValue:0,roundingPercentage:0}},userOptions:P({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0,annotator:!0,svg:!0}),translations:{target:`Target`,value:`Value`,datapoint:`Datapoint`}},q={devHints:D,skeletonDataset:null,skeletonConfig:null,debug:!1,loading:!1,responsive:!1,a11y:{...x,translations:{...x.translations,keyboardNavigation:`Use the left and right, or up and down arrow keys to move between datapoints`}},events:{datapointEnter:null,datapointLeave:null,datapointClick:null},theme:``,customPalette:[],useCssAnimation:!1,zoomAnimationFrames:20,zoomEnabled:!0,downsample:E,style:{fontFamily:`inherit`,chart:{height:512,width:512,backgroundColor:g,color:_,layout:{labels:{quadrantLabels:{show:!0,tl:{text:``,color:_,fontSize:S._16,bold:!0},tr:{text:``,color:_,fontSize:S._16,bold:!0},br:{text:``,color:_,fontSize:S._16,bold:!0},bl:{text:``,color:_,fontSize:S._16,bold:!0}},plotLabels:{showAsTag:!1,show:!0,fontSize:S._10,color:_,offsetY:8,rounding:0,x:{formatter:null},y:{formatter:null}},axisLabels:{show:!0,fontSize:S._14,color:{positive:_,negative:_}}},grid:{stroke:y,strokeWidth:1.5,showArrows:!0,graduations:{stroke:y,strokeWidth:.5,show:!0,steps:5,fill:!0,color:y,roundingForce:10},xAxis:{min:-100,max:100,auto:!0,name:``,show:!0},yAxis:{min:-100,max:100,auto:!0,name:``,show:!0}},plots:{radius:6,outline:!0,outlineColor:c,outlineWidth:1},areas:{show:!0,opacity:40,useGradient:!0}},title:k,tooltip:{...j,roundingValue:0,showShape:!0},legend:{...A,position:`bottom`}}},table:{...R,useDialog:!1,th:I,td:{...L,roundingValue:0}},userOptions:P({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,labels:!0,fullscreen:!0,annotator:!0,svg:!0}),translations:{category:`Category`,item:`Item`,side:`Side`}},J={devHints:D,skeletonDataset:null,skeletonConfig:null,debug:!1,loading:!1,responsive:!1,theme:``,customPalette:[],style:{fontFamily:`inherit`,chart:{backgroundColor:g,color:_,animation:{use:!0,speed:1,acceleration:1},layout:{radiusRatio:1,track:{size:1,useGradient:!0,gradientIntensity:20},markers:{show:!0,color:_,bold:!0,fontSizeRatio:1,offsetY:0,roundingValue:0,formatter:null,prefix:``,suffix:``},segmentSeparators:{show:!1,offsetOut:0,offsetIn:0,stroke:r,strokeWidth:2},segmentNames:{show:!0,curved:!0,offsetRatio:1.1,fontSize:S._16,minFontSize:C,useSerieColor:!0,color:_,bold:!1},indicatorArc:{show:!1,radius:123,fill:y},pointer:{show:!0,type:`pointy`,size:1,stroke:c,strokeWidth:12,useRatingColor:!0,color:o,circle:{radius:10,stroke:r,strokeWidth:2,color:c}}},legend:{show:!0,fontSize:S._48,prefix:``,suffix:``,roundingValue:1,showPlusSymbol:!0,useRatingColor:!0,color:_,formatter:null},title:k}},userOptions:P({pdf:!0,img:!0,fullscreen:!0,annotator:!0,svg:!0}),translations:{base:`Base`}},Y={devHints:D,skeletonDataset:null,skeletonConfig:null,debug:!1,loading:!1,responsive:!1,theme:``,layout:`classic`,style:{fontFamily:`inherit`,chart:{backgroundColor:g,color:_,animation:{use:!0,speed:.5,acceleration:1},layout:{wheel:{radiusRatio:1,tiltAngle3d:50,ticks:{type:`classic`,rounded:!0,inactiveColor:y,activeColor:u,sizeRatio:.9,quantity:100,strokeWidth:5,stroke:`transparent`,spacingRatio3d:1,shadeColorRatio3d:.15,depth3d:0,gradient:{show:!0,shiftHueIntensity:100}}},innerCircle:{show:!0,stroke:y,strokeWidth:1,radiusRatio:1},percentage:{show:!0,fontSize:S._48,rounding:1,bold:!0,formatter:null,offsetX:0,offsetY:0,stroke:`transparent`,strokeWidth:0}},title:k}},userOptions:P({pdf:!0,img:!0,fullscreen:!0,annotator:!0,svg:!0})},X={devHints:D,skeletonDataset:null,skeletonConfig:null,debug:!1,loading:!1,responsive:!1,theme:``,style:{fontFamily:`inherit`,chart:{backgroundColor:g,color:_,width:312,height:56,animation:{use:!0,speed:.5,acceleration:1},layout:{display:`horizontal`,crescendo:!1,curved:!1,curveAngleX:10,curveAngleY:10,activeColor:u,inactiveColor:y,ticks:{gradient:{show:!0,shiftHueIntensity:100}}},percentage:{show:!0,useGradientColor:!0,color:u,fontSize:S._16,bold:!0,rounding:1,verticalPosition:T.BOTTOM,horizontalPosition:T.LEFT,formatter:null},title:k}},userOptions:P({pdf:!0,img:!0,fullscreen:!0,annotator:!0,svg:!0})},ie={devHints:D,debug:!1,loading:!1,theme:``,customPalette:[],a11y:{...x,translations:{...x.translations,keyboardNavigation:`Use the left and right, or up and down arrow keys to move between datapoints`}},style:{fontFamily:`inherit`,chart:{backgroundColor:g,color:_,layout:{grandTotal:{show:!0,fontSize:S._20,bold:!0,prefix:``,suffix:``,roundingValue:0,color:_,text:`Grand total`,offsetY:0,formatter:null},roots:{stroke:c,strokeWidth:5,useGradient:!0,gradientIntensity:20,underlayerColor:c,labels:{show:!0,fontSize:S._16,adaptColorToBackground:!0,color:c,bold:!0,roundingValue:0,prefix:``,suffix:``,formatter:null,name:{color:_,fontSize:S._16,bold:!0}}},verticalSeparator:{stroke:c,strokeWidth:5},links:{opacity:10},branches:{stroke:c,strokeWidth:0,borderRadius:6,useGradient:!0,gradientIntensity:20,underlayerColor:c,widthRatio:1.5,labels:{show:!0,fontSize:S._14,color:_,bold:!0,dataLabels:{show:!0,hideUnderValue:5,fontSize:S._14,roundingValue:0,roundingPercentage:0,prefix:``,suffix:``,formatter:null}}},nuts:{offsetX:20,useGradient:!0,gradientIntensity:30,selected:{useMotion:!0,useGradient:!0,gradientIntensity:40,roundingValue:0,roundingPercentage:0,labels:{dataLabels:{hideUnderValue:5,color:_,fontSize:S._12,bold:!0,prefix:``,suffix:``,formatter:null},core:{total:{color:_,fontSize:S._24,bold:!1},value:{color:_,fontSize:S._24,bold:!0,prefix:``,suffix:``}}}}},legend:{fontSize:S._16,color:_,roundingValue:0,roundingPercentage:0,prefix:``,suffix:``},title:{...k,offsetY:0,subtitle:{...k.subtitle,offsetY:0}}}}},table:{...R,useDialog:!1,th:{...I,translations:{rootName:`root name`,rootValue:`root value`,rootToTotal:`%/total`,branchName:`branch name`,branchValue:`branch value`,branchToRoot:`%/root`,branchToTotal:`%/total`,nutName:`nut name`,nutValue:`nut value`,nutToBranch:`%/branch`,nutToRoot:`%/root`,nutToTotal:`%/total`}},td:{...L,roundingValue:0,roundingPercentage:0}},userOptions:P({pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0,annotator:!0,svg:!0}),translations:{total:`Total`,proportionToTree:`of grand total`,of:`of`}},ae={devHints:D,skeletonDataset:null,skeletonConfig:null,debug:!1,loading:!1,responsive:!1,a11y:{...x,translations:{...x.translations,keyboardNavigation:`Use the left and right, or up and down arrow keys to move between datapoints`}},transitions:M,events:{datapointEnter:null,datapointLeave:null,datapointClick:null},theme:``,customPalette:[],useCssAnimation:!1,useStartAnimation:!0,useBlurOnHover:!0,style:{fontFamily:`inherit`,chart:{backgroundColor:g,color:_,useGradient:!0,gradientIntensity:20,layout:{maxThickness:64,gutter:{color:y,width:.62},track:{width:.62},labels:{...O,show:!0,fontSize:S._14,minFontSize:C,color:_,roundingValue:0,roundingPercentage:0,bold:!0,offsetX:0,offsetY:0,value:{show:!0,formatter:null},percentage:{show:!0}}},title:k,legend:{...A,...O,roundingValue:0,roundingPercentage:0,showValue:!0,showPercentage:!0,position:`bottom`},tooltip:{...j,...O,showValue:!0,showPercentage:!0,roundingValue:0,roundingPercentage:0}}},userOptions:P({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0,annotator:!0,svg:!0}),table:{...R,useDialog:!1,th:I,td:{...L,roundingValue:0,roundingPercentage:0},translations:{value:`Value`,percentage:`Percentage`,serie:`Serie`}}},Z={devHints:D,skeletonDataset:null,skeletonConfig:null,debug:!1,loading:!1,autoSize:!0,responsive:!1,theme:``,customPalette:[],useCssAnimation:!1,transitions:M,a11y:{...x,translations:{...x.translations,keyboardNavigation:`Use the left and right, or up and down arrow keys to move between datapoints`}},events:{datapointEnter:null,datapointLeave:null,datapointClick:null},style:{fontFamily:`inherit`,chart:{backgroundColor:g,color:_,width:512,height:316,layout:{bars:{rowColor:null,rowRadius:4,sort:ee.DESC,useStroke:!1,strokeWidth:2,height:32,gap:6,borderRadius:4,offsetX:12,paddingRight:0,useGradient:!0,gradientIntensity:20,fillOpacity:90,underlayerColor:c,dataLabels:{color:_,bold:!0,fontSize:S._14,value:{show:!0,roundingValue:0,prefix:``,suffix:``,formatter:null},percentage:{show:!0,roundingPercentage:0},offsetX:0},nameLabels:{show:!0,color:_,bold:!1,fontSize:S._14,offsetX:0},parentLabels:{show:!0,color:_,bold:!1,fontSize:S._14,offsetX:0,paddingBottom:0}},highlighter:{color:r,opacity:5},separators:{show:!1,color:y,strokeWidth:1,fullWidth:!0}},title:k,legend:{...A,position:T.TOP,roundingValue:0,roundingPercentage:0,prefix:``,suffix:``,showValue:!0},tooltip:{...j,showValue:!0,showPercentage:!0,roundingValue:0,roundingPercentage:0,prefix:``,suffix:``}}},userOptions:P({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,sort:!0,fullscreen:!0,annotator:!0,svg:!0}),table:{...R,useDialog:!1,th:I,td:{...L,roundingValue:0,roundingPercentage:0,prefix:``,suffix:``}},translations:{parentName:`Serie`,childName:`Child`,value:`value`,percentageToTotal:`%/total`,percentageToSerie:`%/serie`}},oe=Z,se={devHints:D,skeletonDataset:null,skeletonConfig:null,debug:!1,loading:!1,responsive:!1,a11y:{...x,translations:{...x.translations,keyboardNavigation:`Use the left and right, or up and down arrow keys to move between datapoints`}},events:{datapointEnter:null,datapointLeave:null,datapointClick:null},theme:``,style:{fontFamily:`inherit`,backgroundColor:g,color:_,layout:{height:300,width:1e3,padding:F([0,0,0,0]),crosshairs:{show:!1,stroke:r,strokeWidth:1,strokeDasharray:0},cells:{scaleMax:null,scaleMin:null,rowTotal:{value:{show:!1},color:{show:!1}},columnTotal:{value:{show:!1,rotation:0,autoRotate:{enable:!0,angle:-30},offsetX:0,offsetY:0},color:{show:!1}},value:{show:!1,fontSize:S._18,bold:!1,roundingValue:0,color:_,formatter:null},colors:{hot:d,cold:u,underlayer:c},spacing:2,selected:{border:4,color:r}},dataLabels:{prefix:``,suffix:``,xAxis:{show:!0,values:[],datetimeFormatter:N,showOnlyAtModulo:null,rotation:0,autoRotate:{enable:!0,angle:-30},fontSize:S._10,color:_,bold:!1,offsetX:0,offsetY:0},yAxis:{show:!0,values:[],datetimeFormatter:N,fontSize:S._10,color:_,bold:!1,offsetX:0,offsetY:0}}},title:k,legend:{...A,fontSize:S._12,roundingValue:0,width:24},tooltip:{...j,roundingValue:0}},userOptions:P({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0,annotator:!0,svg:!0}),table:{...R,useDialog:!1,colNames:{xAxis:`X`},th:I,td:{...L,roundingValue:0}}},ce={devHints:D,skeletonConfig:null,skeletonDataset:null,debug:!1,loading:!1,responsive:!1,a11y:{...x,translations:{...x.translations,keyboardNavigation:`Use the left and right, or up and down arrow keys to move between datapoints`}},transitions:M,events:{datapointEnter:null,datapointLeave:null,datapointClick:null},theme:``,customPalette:[],useCssAnimation:!1,downsample:E,usePerformanceMode:!1,style:{fontFamily:`inherit`,backgroundColor:g,color:_,layout:{height:316,width:512,padding:F([0,0,0,0]),axis:{show:!0,stroke:y,strokeWidth:1,xMin:null,xMax:null,yMin:null,yMax:null},marginalBars:{show:!1,size:40,tranches:20,opacity:.6,fill:r,strokeWidth:1,offset:20,borderRadius:2,useGradient:!0,showLines:!1,linesStrokeWidth:1,highlighter:{show:!0,opacity:.1,color:r,stroke:r,strokeWidth:.5,strokeDasharray:2,highlightBothAxes:!1}},plots:{radius:2,hoverRadiusRatio:2,stroke:c,strokeWidth:.3,opacity:.6,opacityNotSelected:.6,name:{show:!1,fontSize:12,offsetY:0,color:r},significance:{show:!0,useDistanceOpacity:!1,deviationThreshold:10,opacity:.3},deviation:{translation:`deviation`,roundingValue:1},giftWrap:{show:!1,strokeWidth:1,strokeDasharray:0,fillOpacity:.2},selectors:{show:!0,stroke:r,strokeWidth:.7,strokeDasharray:0,labels:{fontSize:S._12,color:_,rounding:2,bold:!1,showName:!0,prefix:``,suffix:``,x:{formatter:null},y:{formatter:null}},markers:{radius:1.5,stroke:c,strokeWidth:.5,fill:r}}},correlation:{show:!0,strokeDasharray:2,strokeWidth:1,label:{show:!0,fontSize:S._12,color:_,bold:!0,roundingValue:2,useSerieColor:!0}},dataLabels:{reverseAxisLabels:!1,xAxis:{name:``,show:!0,fontSize:S._10,color:_,bold:!1,offsetX:0,offsetY:0,roundingValue:0,showValue:!0,scales:{show:!1,steps:10,useNiceScale:!0,labels:{formatter:null,color:r,fontSize:12,offsetY:0},verticalLines:{show:!1,stroke:a,strokeWidth:1}}},yAxis:{name:``,show:!0,fontSize:S._10,color:_,bold:!1,offsetX:0,offsetY:0,roundingValue:0,showValue:!0,scales:{show:!1,steps:10,useNiceScale:!0,labels:{formatter:null,color:r,fontSize:12,offsetX:0},horizontalLines:{show:!1,stroke:a,strokeWidth:1}}}}},title:k,legend:{...A,roundingValue:0,position:`bottom`},tooltip:{...j,roundingValue:2,showShape:!0,prefix:``,suffix:``}},userOptions:P({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0,annotator:!0,svg:!0}),table:{...R,useDialog:!1,th:I,td:{...L,roundingValue:2,roundingAverage:1},translations:{correlationCoefficient:`Correlation Coef.`,nbrPlots:`Nbr plots`,average:`Average`,series:`Series`}}},le={devHints:D,skeletonDataset:null,skeletonConfig:null,type:`candlestick`,debug:!1,loading:!1,responsive:!1,responsiveProportionalSizing:!0,a11y:x,transitions:M,events:{datapointEnter:null,datapointLeave:null,datapointClick:null},theme:``,useCssAnimation:!1,style:{fontFamily:`inherit`,backgroundColor:g,color:_,height:316,width:512,layout:{padding:F([0,0,0,0]),selector:{color:y,opacity:10},grid:{show:!0,stroke:y,strokeWidth:.5,verticalLines:{show:!1,strokeDasharray:0,strokeWidth:.5,stroke:y},horizontalLines:{show:!1,strokeDasharray:0,strokeWidth:.5,stroke:y},xAxis:{ticks:{show:!0},dataLabels:{show:!0,fontSize:S._10,color:_,offsetY:0,bold:!1,rotation:0,autoRotate:{enable:!0,angle:-30},datetimeFormatter:N,showOnlyFirstAndLast:!1,showFirstAndLast:!0,showOnlyAtModulo:!1,modulo:2}},yAxis:{position:`left`,scale:{min:null,max:null},dataLabels:{show:!0,fontSize:S._12,color:_,roundingValue:0,offsetX:0,bold:!1,steps:10,prefix:``,suffix:``}}},wick:{stroke:r,strokeWidth:.5,extremity:{shape:w.LINE,size:`auto`,color:r}},candle:{borderRadius:1,stroke:r,strokeWidth:.5,colors:{bearish:d,bullish:f},gradient:{show:!0,underlayer:c},widthRatio:.5}},zoom:{...z,minimap:B,preview:{enable:!0,fill:`#CCCCCC50`,stroke:`#6A6A6A`,strokeWidth:2,strokeDasharray:0},useDefaultFormat:!0,timeFormat:`yyyy-MM-dd HH:mm:ss`,customFormat:null},title:k,tooltip:{...j,roundingValue:0,prefix:``,suffix:``,showChart:!0,useDefaultTimeFormat:!0,timeFormat:`yyyy-MM-dd HH:mm:ss`}},translations:{period:`Period`,open:`Open`,high:`High`,low:`Low`,last:`Close`,volume:`Volume`},userOptions:P({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0,annotator:!0,svg:!0}),table:{...R,th:I,useDialog:!1,td:{...L,roundingValue:2,prefix:``,suffix:``}}},ue={useCursorPointer:!1,devHints:D,skeletonConfig:null,skeletonDataset:null,debug:!1,loading:!1,theme:``,responsive:!1,type:w.LINE,downsample:E,a11y:x,translations:{period:`period`,value:`value`},gradientPath:{show:!1,segments:256,colors:{high:`#34eb96`,low:`#eb4034`}},temperatureColors:{show:!1,colors:[`#34eb96`,`#eb4034`]},events:{datapointEnter:null,datapointLeave:null,datapointClick:null},style:{chartWidth:290,animation:{show:!1,animationFrames:360},padding:F([12,12,3,0]),fontFamily:`inherit`,backgroundColor:g,scaleMin:null,scaleMax:null,line:{color:u,strokeWidth:2,smooth:!1,cutNullValues:!1,nullDashes:{show:!1},dashIndices:[],dashArray:4,pulse:{show:!1,loop:!0,color:c,durationMs:4e3,easing:`ease-in-out`,radius:2,cubicBezier:[.45,.45,.55,.55],trail:{show:!1,length:6,opacity:.75}}},bar:{borderRadius:3,color:u},zeroLine:{color:r,strokeWidth:1},plot:{show:!0,radius:4,stroke:c,strokeWidth:1},verticalIndicator:{show:!0,strokeWidth:1.5,color:u,strokeDasharray:3},dataLabel:{show:!0,position:T.LEFT,offsetX:0,offsetY:0,fontSize:S._20,bold:!0,color:_,roundingValue:0,valueType:`latest`,prefix:``,suffix:``,formatter:null,datetimeFormatter:N},title:{show:!0,textAlign:T.LEFT,color:_,fontSize:S._16,bold:!0,text:``},tooltip:{show:!1,fontSize:S._14,color:_,backgroundColor:g,offsetY:0,borderWidth:0,borderColor:b,borderRadius:2,backgroundOpacity:100},area:{show:!0,useGradient:!0,opacity:30,color:u},zoom:{show:!1,selection:{fill:r,stroke:`transparent`,fillOpacity:.1,strokeOpacity:.5,strokeWidth:1,strokeDasharray:0},resetButton:{show:!0,title:`Reset zoom · double-click chart or press Esc`,ariaLabel:`Reset zoom`,color:r}}}},de={devHints:D,skeletonDataset:null,skeletonConfig:null,debug:!1,loading:!1,events:{datapointEnter:null,datapointLeave:null,datapointClick:null},theme:``,customPalette:[],style:{fontFamily:`inherit`,backgroundColor:g,animation:{show:!0,animationFrames:60},layout:{independant:!0,percentage:!0,target:0,showTargetValue:!1,targetValueText:``},gutter:{backgroundColor:y,opacity:100},bar:{borderRadius:null,gradient:{show:!0,intensity:40,underlayerColor:c}},labels:{fontSize:S._16,name:{position:`top-left`,width:`100%`,color:_,bold:!1},value:{show:!0,bold:!0}},title:{text:``,color:_,fontSize:S._16,bold:!0,textAlign:T.LEFT,margin:`0 0 6px 0`,subtitle:{color:v,text:``,fontSize:S._12,bold:!1}},gap:4}},fe={devHints:D,skeletonDataset:null,skeletonConfig:null,debug:!1,loading:!1,useCursorPointer:!1,a11y:{...x,translations:{...x.translations,series:`Series`,percentage:`Percentage`,value:`Value`}},events:{datapointEnter:null,datapointLeave:null,datapointClick:null},theme:``,customPalette:[],style:{fontFamily:`inherit`,backgroundColor:g,animation:{show:!0,animationFrames:60},bar:{borderRadius:null,gradient:{show:!0,intensity:40,underlayerColor:c}},legend:{show:!0,textAlign:T.LEFT,fontSize:S._12,margin:`6px 0 0 0`,name:{color:_,bold:!1},value:{show:!0,bold:!1,color:_,prefix:``,suffix:``,rounding:0,formatter:null},percentage:{show:!0,bold:!0,color:_,rounding:1},selectAllToggle:{show:!1,backgroundColor:b,color:_}},title:{...k,textAlign:T.LEFT,margin:`0 0 6px 0`},tooltip:{...j}}},pe={devHints:D,skeletonConfig:null,skeletonDataset:null,debug:!1,loading:!1,responsive:!1,a11y:{...x,translations:{...x.translations,series:`Series`,time:`Time`,value:`Value`,label:`Label`}},events:{datapointEnter:null,datapointLeave:null,datapointClick:null},theme:``,style:{fontFamily:`inherit`,backgroundColor:g,animation:{show:!0,speedMs:500},layout:{height:96,width:640,padding:F([24,0,36,0])},bars:{shape:w.SQUARE,strokeWidth:0,colors:{positive:u,negative:d,gradient:{show:!0}},borderRadius:24,gap:12},labels:{value:{show:!0,fontSize:S._14,minFontSize:C,color:_,bold:!0,rounding:1,prefix:``,suffix:``,offsetY:0,formatter:null},valueLabel:{show:!0,fontSize:S._14,minFontSize:C,color:_,bold:!1,rounding:0},timeLabel:{show:!0,fontSize:S._12,minFontSize:C,color:_,bold:!1}},selector:{stroke:u,fill:`#2D353C10`,strokeWidth:2,strokeDasharray:0,borderRadius:2},title:{text:``,color:_,fontSize:S._16,bold:!0,textAlign:T.LEFT,subtitle:{color:v,text:``,fontSize:S._12,bold:!1},margin:`0 0 6px 0`}}},me={devHints:D,skeletonConfig:null,skeletonDataset:null,debug:!1,loading:!1,theme:``,style:{fontFamily:`inherit`,background:c,height:84,basePosition:72,animation:{show:!0,speedMs:150},title:{show:!0,fontSize:S._12,position:T.TOP,textAlign:T.CENTER,bold:!1,color:_},dataLabel:{fontSize:S._20,autoColor:!0,color:_,offsetY:0,bold:!0,rounding:0,prefix:``,suffix:``,formatter:null},colors:{min:d,max:f,showGradient:!0},track:{autoColor:!0,color:u,strokeLinecap:w.ROUND},gutter:{color:y,strokeLinecap:w.ROUND}}},he={devHints:D,skeletonConfig:null,skeletonDataset:null,debug:!1,loading:!1,responsive:!1,theme:``,downsample:E,style:{fontFamily:`inherit`,backgroundColor:g,height:80,width:300,animation:{show:!0,animationFrames:20},line:{stroke:r,strokeWidth:2,strokeLinecap:w.ROUND,strokeLinejoin:w.ROUND,smooth:!0,useColorTrend:!0},area:{show:!0,useGradient:!0,opacity:20},dataLabel:{show:!0,useColorTrend:!0,color:_,fontSize:S._14,bold:!1,prefix:``,suffix:``,rounding:0,formatter:null},trendLabel:{trendType:`global`,useColorTrend:!0,color:_,fontSize:S._14,bold:!0,rounding:0},arrow:{colors:{positive:f,neutral:i,negative:d}},padding:F([12,12,12,82])}},ge={annotatorPalette:h,devHints:D,skeletonDataset:null,skeletonConfig:null,debug:!1,loading:!1,a11y:x,events:{datapointEnter:null,datapointLeave:null,datapointClick:null},transitions:M,responsive:!1,theme:``,axisLabelsFontSize:S._12,backgroundColor:g,barGap:12,barAnimated:!0,barStrokeWidth:1,blurOnHover:!0,chartIsBarUnderDatasetLength:6,color:_,customPalette:[],dataLabelFontSize:S._14,dataLabelRoundingPercentage:1,dataLabelRoundingValue:0,donutHideLabelUnderPercentage:3,donutCurvedMarkers:!0,donutLabelMarkerStrokeWidth:1,donutRadiusRatio:.4,donutShowTotal:!0,donutStrokeWidth:2,donutStroke:g,donutThicknessRatio:.18,donutTotalLabelFontSize:S._24,donutTotalLabelOffsetY:0,donutTotalLabelText:`Total`,donutUseShadow:!1,donutShadowColor:r,fontFamily:`inherit`,formatter:null,height:338,legendFontSize:S._12,legendIcon:`circleFill`,legendIconSize:S._12,legendPosition:`bottom`,showLegendSelectAllToggle:!1,legendSelectAllToggleBackgroundColor:b,legendSelectAllToggleColor:_,lineAnimated:!0,lineSmooth:!0,lineStrokeWidth:2,paletteStartIndex:0,showDataLabels:!0,showLegend:!0,showTooltip:!0,showUserOptions:!0,userOptionsPosition:`right`,showUserOptionsOnChartHover:!1,keepUserOptionsStateOnChartLeave:!0,useCursorPointer:!1,userOptionsButtons:{tooltip:!0,pdf:!0,img:!0,fullscreen:!0,annotator:!0,svg:!0,altCopy:!1},userOptionsButtonTitles:{open:`Open options`,close:`Close options`,tooltip:`Toggle tooltip`,pdf:`Download PDF`,img:`Download PNG`,fullscreen:`Toggle fullscreen`,annotator:`Toggle annotator`,svg:`Download SVG`,altCopy:`Copy alt text`},userOptionsPrint:{overflowTolerance:.2,orientation:`auto`,scale:2},userOptionsCallbacks:{tooltip:null,pdf:null,img:null,fullscreen:null,annotator:null,svg:null,altCopy:null},title:``,titleBold:!0,titleFontSize:S._16,titleTextAlign:`center`,tooltipTeleportTo:`body`,tooltipCustomFormat:null,tooltipBackgroundOpacity:100,tooltipBorderRadius:4,tooltipBorderColor:a,tooltipBorderWidth:1,tooltipFontSize:S._14,tooltipPosition:T.CENTER,tooltipOffsetX:0,tooltipOffsetY:24,tooltipSmooth:!0,tooltipSmoothForce:.18,tooltipSmoothSnapThreshold:.25,tooltipBackdropFilter:!0,useCustomLegend:!1,valuePrefix:``,valueSuffix:``,width:512,xAxisLabel:``,xyAxisStroke:y,xyAxisStrokeWidth:1,xyGridStroke:y,xyGridStrokeWidth:.5,xyHighlighterColor:r,xyHighlighterOpacity:.05,xyLabelsXFontSize:S._10,xyLabelsYFontSize:S._12,xyPaddingBottom:12,xyPaddingLeft:12,xyPaddingRight:12,xyPaddingTop:12,xyPeriodLabelsRotation:0,xyPeriodLabelsAutoRotate:{enable:!0,angle:-30},xyPeriods:[],datetimeFormatter:N,xyPeriodsShowOnlyAtModulo:!1,xyPeriodsModulo:12,xyScaleSegments:15,xyShowAxis:!0,xyShowGrid:!0,xyShowScale:!0,yAxisLabel:``,zoomXy:!0,zoomXyAutoFit:!1,zoomColor:o,zoomHighlightColor:s,zoomFontSize:S._14,zoomUseResetSlot:!1,zoomMinimap:V,zoomStartIndex:null,zoomEndIndex:null,zoomEnableRangeHandles:!0,zoomEnableSelectionDrag:!0,zoomFocusOnDrag:!1,zoomFocusRangeRatio:.2,zoomMaxWidth:null,dragToZoom:{show:!1,selection:{fill:u,stroke:i,fillOpacity:.2,strokeOpacity:.5,strokeWidth:1,strokeDasharray:0}}},_e={devHints:D,skeletonConfig:null,skeletonDataset:null,debug:!1,loading:!1,responsive:!1,a11y:{...x,translations:{...x.translations,keyboardNavigation:`Use the left and right, or up and down arrow keys to move between datapoints`}},events:{datapointEnter:null,datapointLeave:null,datapointClick:null},theme:``,style:{fontFamily:`inherit`,backgroundColor:g,color:_,height:500,width:500,layout:{padding:F([12,12,36,12]),grid:{show:!0,stroke:y,strokeWidth:1},dataLabels:{sideTitles:{show:!0,fontSize:S._18,color:_,useSideColor:!0,bold:!1,offsetY:0},xAxis:{show:!0,fontSize:S._12,color:_,bold:!1,scale:1e3,translation:`in thousands`,formatter:null,rotation:0,autoRotate:{enable:!0,angle:-30}},yAxis:{show:!0,display:`age`,fontSize:S._12,color:_,bold:!1,showEvery:5,formatter:null}},centerSlit:{width:20},bars:{gap:2,borderRadius:2,left:{color:d},right:{color:u},gradient:{show:!0,underlayer:c,intensity:60,shiftHue:.05},labels:{show:!0,showOnHover:!0,fontSize:S._12,color:_,bold:!1,formatter:null,offsetX:0}}},highlighter:{color:r,opacity:5},title:k,tooltip:{...j,roundingValue:0}},translations:{age:`age`,male:`male`,female:`female`,total:`total`,year:`year`},userOptions:P({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0,annotator:!0,svg:!0}),table:{...R,useDialog:!1,th:I,td:L}},ve={devHints:D,skeletonConfig:null,skeletonDataset:null,debug:!1,loading:!1,responsive:!1,a11y:{...x,translations:{...x.translations,keyboardNavigation:`Use the left and right, or up and down arrow keys to move between datapoints`}},events:{datapointEnter:null,datapointLeave:null,datapointClick:null},responsiveProportionalSizing:!0,theme:``,customPalette:[],style:{fontFamily:`inherit`,backgroundColor:g,color:_,size:400,limit:50,animation:{show:!0,speedMs:300},labels:{color:_,fontSize:S._14,minFontSize:C},weightLabels:{size:8,show:!0,formatter:null,prefix:``,suffix:``,rounding:0},links:{curved:!1,maxWidth:3},circle:{radiusProportion:.2,stroke:o,strokeWidth:1,offsetY:0},plot:{radius:3,useSerieColor:!0,color:r},title:k},userOptions:P({pdf:!0,img:!0,fullscreen:!0,annotator:!0,svg:!0})},ye={devHints:D,skeletonDataset:null,skeletonConfig:null,debug:!1,loading:!1,responsive:!1,theme:``,customPalette:[],style:{fontFamily:`inherit`,chart:{backgroundColor:g,color:_,height:360,width:256,thermometer:{width:48},padding:{top:12,bottom:12},graduations:{show:!0,sides:`both`,height:2,stroke:y,strokeWidth:1,showIntermediate:!0,gradient:{show:!0,intensity:20}},animation:{use:!0,speedMs:1e3},label:{show:!0,fontSize:S._20,minFontSize:C,rounding:1,bold:!0,color:_,prefix:``,suffix:``,formatter:null}},title:k},userOptions:P({pdf:!0,img:!0,fullscreen:!0,annotator:!0,svg:!0})},be={devHints:D,skeletonConfig:null,skeletonDataset:null,debug:!1,loading:!1,responsive:!1,a11y:{...x,translations:{...x.translations,keyboardNavigation:`Use the left and right, or up and down arrow keys to move between datapoints`}},transitions:M,events:{datapointEnter:null,datapointLeave:null,datapointClick:null},theme:``,customPalette:[],useCssAnimation:!1,useBlurOnHover:!0,style:{fontFamily:`inherit`,chart:{backgroundColor:g,color:_,size:360,layout:{labels:{dataLabels:{...O,prefix:``,suffix:``,formatter:null,show:!1,offsetX:0,fontSize:10,color:_,bold:!1,roundingValue:0,roundingPercentage:0,showValue:!0,showPercentage:!0,markers:{stroke:`#8A8A8A`,strokeWidth:1,radius:3,position:`right`}}},rings:{strokeWidth:2,stroke:y,gradient:{show:!0,intensity:40,underlayerColor:c},useShadow:!0}},legend:{...A,roundingValue:0,roundingPercentage:0,showValue:!0,showPercentage:!0,position:`bottom`},title:k,tooltip:{...j,showValue:!0,showPercentage:!0,roundingValue:0,roundingPercentage:0}}},userOptions:P({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0,annotator:!0,svg:!0,labels:!0}),table:{...R,useDialog:!1,columnNames:{series:`Series`,value:`Value`,percentage:`Percentage`},th:I,td:{...L,roundingValue:0,roundingPercentage:0}}},xe={devHints:D,skeletonConfig:null,skeletonDataset:null,debug:!1,loading:!1,responsive:!1,theme:``,a11y:x,events:{datapointEnter:null,datapointLeave:null,datapointClick:null},transitions:M,customPalette:[],style:{fontFamily:`inherit`,chart:{backgroundColor:g,color:_,zoom:z,donuts:{hover:{hideLabelsUnderValue:5}},dialog:{show:!0,backgroundColor:g,color:_,header:{backgroundColor:g,color:_},donutChart:{...U,responsive:!0,userOptions:{...U.userOptions,buttons:{...U.userOptions.buttons,pdf:!1}},style:{...U.style,chart:{...U.style.chart,layout:{...U.style.chart.layout,donut:{...U.style.chart.layout.donut,strokeWidth:64},labels:{...U.style.chart.layout.labels,percentage:{...U.style.chart.layout.labels.percentage,fontSize:16},name:{...U.style.chart.layout.labels.name,fontSize:12},hollow:{...U.style.chart.layout.labels.hollow,average:{...U.style.chart.layout.labels.hollow.average,show:!1}}}}}}}},layout:{height:316,width:512,padding:F([5,10,5,10]),grid:{show:!0,stroke:y,strokeWidth:.7,showVerticalLines:!0,axis:{yLabel:``,yLabelOffsetX:0,xLabel:``,xLabelOffsetY:0,fontSize:S._14,color:_},yAxis:{position:`left`,scaleMin:null,scaleMax:null,autoScale:!1,dataLabels:{show:!0,fontSize:S._10,color:_,roundingValue:0,offsetX:0,bold:!1,steps:10}},xAxis:{dataLabels:{show:!0,values:[],datetimeFormatter:N,fontSize:S._10,showOnlyFirstAndLast:!1,color:_,rotation:0,autoRotate:{enable:!0,angle:-30},offsetY:0}}},line:{show:!0,stroke:o,strokeWidth:4},highlighter:{color:r,opacity:5},dataLabels:{show:!0,fontSize:S._10,color:_,bold:!1,rounding:0,prefix:``,suffix:``,offsetY:0,formatter:null}},title:k,legend:{...A,roundingValue:0,roundingPercentage:0,showValue:!0,showPercentage:!0,position:`bottom`}}},userOptions:P({pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0,annotator:!0,svg:!0}),table:{...R,useDialog:!1,columnNames:{period:`Period`,total:`Total`},th:I,td:{...L,roundingValue:0,roundingPercentage:0}}},Se={devHints:D,skeletonConfig:null,skeletonDataset:null,debug:!1,loading:!1,responsive:!1,a11y:{...x,translations:{...x.translations,keyboardNavigation:`Use the left and right, or up and down arrow keys to move between datapoints`}},events:{datapointEnter:null,datapointLeave:null,datapointClick:null},theme:``,style:{fontFamily:`inherit`,chart:{backgroundColor:g,color:_,layout:{grid:{show:!0,stroke:y,strokeWidth:.5},outerPolygon:{stroke:y,strokeWidth:1},dataPolygon:{color:u,opacity:60,gradient:{show:!0,intensity:1},stroke:u,strokeWidth:0},smileys:{strokeWidth:1,colors:{1:`#e20001`,2:`#ff9f03`,3:`#ffd004`,4:`#9ac900`,5:`#059f00`}},dataLabel:{color:_,roundingValue:0,roundingPercentage:0,bold:!0,prefix:``,suffix:``,formatter:null}},title:k,legend:{...A,roundingValue:0,roundingPercentage:0,position:`bottom`}}},userOptions:P({pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0,annotator:!0,svg:!0}),table:{...R,useDialog:!1,columnNames:{series:`Series`,value:`Value`,percentage:`Percentage`},th:I,td:{...L,roundingValue:0,roundingPercentage:0}}},Ce={devHints:D,skeletonDataset:null,skeletonConfig:null,debug:!1,loading:!1,events:{datapointEnter:null,datapointLeave:null,datapointClick:null},theme:``,customPalette:[],style:{fontFamily:`inherit`,chart:{backgroundColor:g,color:_,nodes:{stroke:c,strokeHovered:r},links:{stroke:o,strokeWidth:2,useChildColor:!1},title:k,tooltip:j,zoom:{show:!0,speed:1}}},userOptions:P({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,labels:!0,fullscreen:!0,annotator:!0,svg:!0,zoom:!0}),table:{...R,useDialog:!1,th:I,td:L,translations:{nodeName:`Node name`,details:`Details`,ancestor:`Parent node`}}},we={devHints:D,skeletonConfig:null,skeletonDataset:null,debug:!1,loading:!1,responsive:!1,theme:``,customPalette:[],useCssAnimation:!1,useBlurOnHover:!0,a11y:{...x,translations:{...x.translations,keyboardNavigation:`Use the left and right, or up and down arrow keys to move between datapoints`}},events:{datapointEnter:null,datapointLeave:null,datapointClick:null},serieToggleAnimation:{show:!0,durationMs:500},startAnimation:{show:!1,durationMs:1e3,staggerMs:50},userOptions:P({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,labels:!0,fullscreen:!0,annotator:!0,svg:!0}),style:{fontFamily:`inherit`,chart:{backgroundColor:g,color:_,useGradient:!0,gradientIntensity:40,padding:F([0,0,0,0]),width:512,height:512,layout:{labels:{dataLabels:{...O,show:!0,prefix:``,suffix:``,hideUnderValue:3,fontSize:S._14,offsetX:4,offsetY:12,useSerieColor:!1,color:_,showValue:!0,showPercentage:!0,boldValue:!1,boldPercentage:!0,roundingValue:0,roundingPercentage:0,showDonutName:!0,boldDonutName:!0,curvedDonutName:!0,donutNameAbbreviation:!1,donutNameMaxAbbreviationSize:3,donutNameOffsetY:0,formatter:null}},donut:{strokeWidth:200,borderWidth:2,spacingRatio:.5,useShadow:!1,shadowColor:r,emptyFill:y,selectedColor:`#0000001A`,borderColorAuto:!0,borderColor:b}},legend:{...A,...O,roundingValue:0,roundingPercentage:0,showValue:!0,showPercentage:!0,position:`bottom`},title:k,tooltip:{...j,...O,showAllItemsAtIndex:!0,showValue:!0,showPercentage:!0,roundingValue:0,roundingPercentage:0}}},table:{...R,useDialog:!1,columnNames:{series:`Series`,value:`Value`,percentage:`Percentage`},th:I,td:{...L,roundingValue:0,roundingPercentage:0}}},Te={devHints:D,skeletonConfig:null,skeletonDataset:null,debug:!1,loading:!1,responsive:!1,a11y:{...x,translations:{...x.translations,keyboardNavigation:`Use the left and right, or up and down arrow keys to move between datapoints`}},transitions:M,events:{datapointEnter:null,datapointLeave:null,datapointClick:null},theme:``,customPalette:[],useCssAnimation:!1,useBlurOnHover:!0,style:{fontFamily:`inherit`,chart:{backgroundColor:g,color:_,layout:{arcs:{strokeWidth:24,borderWidth:12,offsetX:0,offsetY:0,hoverEffect:{show:!0,multiplicator:1.1},gradient:{show:!0,intensity:30,color:c}},labels:{dataLabels:{...O,prefix:``,suffix:``,formatter:null}}},legend:{...A,roundingValue:0,roundingPercentage:0,showValue:!0,showPercentage:!0,position:`bottom`},title:k,tooltip:{...j,showValue:!0,showPercentage:!0,roundingValue:0,roundingPercentage:0}}},userOptions:P({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0,annotator:!0,svg:!0}),table:{...R,useDialog:!1,columnNames:{series:`Series`,value:`Value`,percentage:`Percentage`},th:I,td:{...L,roundingValue:0,roundingPercentage:0}}},Ee={devHints:D,skeletonDataset:null,skeletonConfig:null,debug:!1,loading:!1,responsive:!1,type:0,a11y:{...x,translations:{...x.translations,keyboardNavigation:`Use the left and right, or up and down arrow keys to move between datapoints`}},transitions:M,events:{datapointEnter:null,datapointLeave:null,datapointClick:null},responsiveProportionalSizing:!0,theme:``,customPalette:[],useCssAnimation:!0,userOptions:P({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,labels:!0,fullscreen:!0,annotator:!0,svg:!0}),style:{fontFamily:`inherit`,chart:{backgroundColor:g,color:_,height:600,width:600,padding:F([12,12,12,12]),grid:{show:!0,stroke:o,strokeWidth:1,scaleSteps:10,scaleMin:null,scaleMax:null,horizontalGrid:{show:!0,stroke:o,strokeWidth:.5,strokeDasharray:4},verticalGrid:{show:!0,stroke:o,strokeWidth:.5,strokeDasharray:4}},plots:{opacity:.9,radius:4,stroke:c,strokeWidth:1,shape:w.CIRCLE,gradient:{show:!0,intensity:40}},violin:{widthRatio:1,strokeWidth:1,opacity:.2,strokeOpacity:.35,useSerieColor:!0,stroke:`#5A5A5A`,fill:`#5A5A5A`,boxPlot:{show:!0,widthRatio:1,useSerieColor:!0,color:`#5A5A5A`,medianCircleRadiusRatio:1,medianCircleFill:c},tooltipLabels:{upperAdjacent:`Upper adjacent`,q3:`Q3`,median:`Median`,q1:`Q1`,lowerAdjacent:`Lower adjacent`,iqr:`IQR`,count:`Count`}},labels:{prefix:``,suffix:``,formatter:null,bestPlotLabel:{show:!0,showValue:!0,fontSize:S._14,color:_,rounding:0,offsetY:0},axis:{xLabel:``,xLabelOffsetY:0,yLabel:``,yLabelOffsetX:0,fontSize:S._14,color:_},xAxisLabels:{show:!0,color:_,fontSize:S._14,offsetY:0,rotation:0,autoRotate:{enable:!0,angle:-30}},yAxisLabels:{show:!0,color:_,fontSize:S._14,rounding:0,offsetX:0}},title:k,tooltip:{...j,roundingValue:0}}},table:{...R,useDialog:!1,columnNames:{series:`Series`,value:`Value`},th:I,td:{...L,roundingValue:0}}},De={devHints:D,skeletonConfig:null,skeletonDataset:null,debug:!1,loading:!1,responsive:!1,a11y:{...x,translations:{...x.translations,keyboardNavigation:`Use the left and right, or up and down arrow keys to move between datapoints`}},events:{datapointEnter:null,datapointLeave:null,datapointClick:null},theme:``,useAnimation:!1,animationSpeed:2,userOptions:P({pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0,annotator:!0,svg:!0}),style:{fontFamily:`inherit`,chart:{backgroundColor:g,color:_,width:600,rowHeight:48,padding:F([12,24,12,12]),plots:{startColor:d,endColor:u,evaluationColors:{enable:!1,positive:`#2ca02c`,negative:`#d62728`,neutral:`#c7c7c7`},radius:6,stroke:c,strokeWidth:1,link:{strokeWidth:2,type:w.CURVED},gradient:{show:!0,intensity:40}},grid:{strokeWidth:1,scaleSteps:10,scaleMin:null,scaleMax:null,horizontalGrid:{show:!0,stroke:o,strokeWidth:.5,strokeDasharray:0},verticalGrid:{show:!0,stroke:o,strokeWidth:.5,strokeDasharray:0}},comparisonLines:{show:!0,strokeWidth:1,strokeDasharray:4,showRect:!0,rectColor:r,rectOpacity:5,showLabel:!0,labelColor:r,labelFontSize:S._12},highlighter:{color:r,opacity:5},labels:{prefix:``,suffix:``,formatter:null,axis:{yLabel:``,yLabelOffsetX:0,xLabel:``,xLabelOffsetY:0,fontSize:S._14,color:_},yAxisLabels:{show:!0,fontSize:S._14,color:_,offsetX:0,bold:!0,showProgression:!0,rounding:1,formatter:null},xAxisLabels:{show:!0,fontSize:S._14,color:_,offsetY:0,bold:!1,rounding:0,rotation:0,autoRotate:{enable:!0,angle:-30}},startLabels:{show:!0,fontSize:S._10,color:_,offsetY:0,rounding:0,useStartColor:!0,useEvaluationColor:!0},endLabels:{show:!0,fontSize:S._10,color:_,offsetY:0,rounding:0,useEndColor:!0,useEvaluationColor:!0}},legend:{...A,labelStart:`start`,labelEnd:`end`,labelPositive:`positive`,labelNegative:`negative`,labelNeutral:`neutral`,position:`bottom`},title:k}},table:{...R,useDialog:!1,columnNames:{series:`Series`,start:`Start value`,end:`End value`,progression:`Progression`},th:I,td:{...L,roundingValue:0,roundingPercentage:0}}},Oe={devHints:D,skeletonConfig:null,skeletonDataset:null,debug:!1,loading:!1,responsive:!1,a11y:{...x,translations:{...x.translations,keyboardNavigation:`Use the left and right, or up and down arrow keys to move between datapoints`}},events:{datapointEnter:null,datapointLeave:null,datapointClick:null},theme:``,customPalette:[],useCssAnimation:!1,style:{fontFamily:`inherit`,shape:w.BAR,chart:{animation:{use:!0,speed:1,acceleration:1},backgroundColor:g,color:_,bar:{color:u,stroke:u,strokeWidth:.7,shadeColor:r},box:{stroke:o,strokeWidth:.7,strokeDasharray:2,dimensions:{width:128,height:256,top:27,bottom:9,left:24,right:24,perspective:18}},title:k,legend:{showDefault:!0,fontSize:S._10,color:_,bold:!1,roundingValue:0,roundingPercentage:0,prefix:``,suffix:``,hideUnderPercentage:3},dataLabel:{show:!0,bold:!0,color:u,fontSize:S._12,rounding:1,formatter:null}}},userOptions:P({pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0,annotator:!0,svg:!0}),table:{...R,useDialog:!1,columnNames:{series:`Series`,value:`Value`,percentage:`Percentage`},th:I,td:{...L,roundingValue:0,roundingPercentage:0}}},ke={debug:!1,devHints:D,theme:``,customPalette:[],responsiveBreakpoint:500,showAverage:!0,showMedian:!0,showTotal:!0,roundingAverage:0,roundingMedian:0,roundingValues:0,roundingTotal:0,prefix:``,suffix:``,formatter:null,showSparklines:!0,fontFamily:`inherit`,colNames:[],sortedDataColumnIndices:[],sortedSeriesName:!1,sortedSum:!1,sortedAverage:!1,sortedMedian:!1,resetSortOnClickOutside:!1,sparkline:{useGradient:!0,showArea:!0,strokeWidth:3,type:w.LINE,smooth:!0,cutNullValues:!1,dimensions:{width:150,heightRatio:1},animation:{show:!0,animationFrames:360}},translations:{serie:`Serie`,total:`Total`,average:`Average`,median:`Median`,chart:`Evolution`},title:{text:``,color:_,fontSize:S._20,bold:!0,textAlign:`center`,backgroundColor:g,subtitle:{color:v,text:``,fontSize:S._16,bold:!1}},thead:{backgroundColor:g,color:_,fontSize:S._14,outline:`none`,textAlign:T.LEFT,bold:!1},tbody:{showColorMarker:!0,backgroundColor:g,color:_,fontSize:S._14,outline:`none`,textAlign:T.LEFT,bold:!1,selectedColor:{useSerieColor:!0,fallback:y}},userOptions:P({pdf:!0,csv:!0,img:!0,fullscreen:!0})},Ae={debug:!1,devHints:D,theme:``,style:{fontFamily:`inherit`,backgroundColor:g,color:_,shapeSize:S._14,heatmapColors:{useIndividualScale:!1,min:c,max:u}},table:{responsiveBreakpoint:400,borderWidth:1,showSum:!1,showAverage:!1,showMedian:!1,head:{backgroundColor:g,color:_,values:[]}},userOptions:P({pdf:!0,csv:!0,img:!0,fullscreen:!0})},je={devHints:D,skeletonConfig:null,skeletonDataset:null,debug:!1,loading:!1,responsive:!1,a11y:{...x,translations:{...x.translations,keyboardNavigation:`Use the left and right, or up and down arrow keys to move between datapoints`}},events:{datapointEnter:null,datapointLeave:null,datapointClick:null},theme:``,customPalette:[],useCssAnimation:!1,animationDelayMs:20,quality:`fast`,strictPixelPadding:!0,userOptions:P({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0,annotator:!0,svg:!0,zoom:!0}),nodeCategories:{},nodeCategoryColors:{},style:{fontFamily:`inherit`,chart:{backgroundColor:g,color:_,height:512,width:512,zoom:{show:!0},controls:{position:`bottom`,show:!0,backgroundColor:y,buttonColor:y,color:_,fontSize:14,border:`1px solid ${b}`,padding:`0.5rem`,borderRadius:`0.25rem`},words:{maxFontSize:100,minFontSize:S._10,bold:!1,proximity:0,packingWeight:1,color:_,usePalette:!0,hoverOpacity:.5,selectedStroke:`transparent`},title:k,tooltip:{...j,roundingValue:0}}},table:{...R,useDialog:!1,columnNames:{series:`Word`,value:`Value`},th:I,td:{...L,roundingValue:0,prefix:``,suffix:``}}},Me={devHints:D,skeletonDataset:null,skeletonConfig:null,debug:!1,loading:!1,responsive:!1,theme:``,customPalette:[],a11y:x,downsample:{threshold:1e4},userOptions:P({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,labels:!0,fullscreen:!0,stack:!0,annotator:!0}),events:{datapointEnter:null,datapointLeave:null,datapointClick:null},style:{fontFamily:`Arial`,chart:{backgroundColor:g,color:_,aspectRatio:`12 / 9`,stacked:!1,stackGap:20,scale:{ticks:10,min:null,max:null},zoom:{...z,minimap:V,preview:{enable:!1,fill:`#CCCCCC50`,stroke:`#6A6A6A`,strokeWidth:2,strokeDasharray:0},useDefaultFormat:!0,timeFormat:`yyyy-MM-dd HH:mm:ss`,customFormat:null},selector:{show:!0,color:r,dashed:!0,showHorizontalSelector:!1},tooltip:{...j,showTimeLabel:!0,useDefaultTimeFormat:!0,timeFormat:`yyyy-MM-dd HH:mm:ss`},legend:{...A,position:`bottom`},title:k,grid:{y:{showAxis:!0,axisColor:r,axisThickness:2,axisName:``,axisLabels:{show:!0,fontSizeRatio:1,color:_,offsetX:0,rounding:1,prefix:``,suffix:``,bold:!1},verticalLines:{show:!0,color:o,hideUnderXLength:20,position:`middle`}},x:{showAxis:!0,axisColor:r,axisThickness:2,axisName:``,horizontalLines:{show:!0,color:o,alternate:!0,opacity:20},timeLabels:{show:!0,showMarker:!0,fontSizeRatio:.8,values:[],datetimeFormatter:N,rotation:0,offsetY:30,color:_,modulo:12,bold:!1}},zeroLine:{show:!0,color:r,dashed:!0}},line:{cutNullValues:!0,plots:{show:!0,radiusRatio:1}},bar:{gradient:{show:!0}},area:{opacity:60},dataLabels:{show:!0,fontSizeRatio:1,useSerieColor:!0,color:_,offsetY:-12,formatter:null,bold:!0},paddingProportions:{top:.1,right:.05,bottom:.1,left:.1}}},table:{...R,useDialog:!1,rounding:1,columnNames:{period:`Period`,total:`Total`},th:I,td:L}},Ne={devHints:D,skeletonDataset:null,skeletonConfig:null,debug:!1,loading:!1,responsive:!1,a11y:{...x,translations:{...x.translations,keyboardNavigation:`Use the left and right, or up and down arrow keys to move between datapoints`}},events:{datapointEnter:null,datapointLeave:null,datapointClick:null},theme:``,customPalette:[],userOptions:P({pdf:!0,csv:!0,img:!0,table:!0,fullscreen:!0,annotator:!0,tooltip:!0,svg:!0}),nodeCategories:{},nodeCategoryColors:{},style:{fontFamily:`inherit`,chart:{backgroundColor:g,width:1e3,height:600,color:_,padding:F([12,12,12,12]),title:k,tooltip:{...j,showPercentage:!0,roundingPercentage:0,translations:{from:`From:`,to:`To:`,percentOfTotal:`Percent of total:`}},legend:{...A,position:`bottom`},nodes:{gap:10,width:40,labels:{show:!0,showValue:!0,fontSize:S._14,abbreviation:{use:!0,length:3},prefix:``,suffix:``,rounding:0,formatter:null},stroke:c,strokeWidth:1,borderRadius:0},links:{opacity:.8,stroke:c,strokeWidth:1,smooth:!0}}},table:{...R,useDialog:!1,columnNames:{source:`Source`,target:`Target`,value:`Value`},th:I,td:L}},Pe={devHints:D,skeletonConfig:null,skeletonDataset:null,debug:!1,loading:!1,responsive:!1,a11y:{...x,translations:{...x.translations,keyboardNavigation:`Use the left and right, or up and down arrow keys to move between datapoints`}},transitions:M,events:{datapointEnter:null,datapointLeave:null,datapointClick:null},responsiveProportionalSizing:!0,theme:``,useCssAnimation:!1,customPalette:[],userOptions:P({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,labels:!0,fullscreen:!0,annotator:!0,svg:!0}),style:{fontFamily:`inherit`,chart:{backgroundColor:g,color:_,height:600,width:1e3,padding:F([0,0,0,0]),comments:{show:!0,showInTooltip:!0,width:200,offsetX:0,offsetY:0},lines:{smooth:!0,strokeWidth:2,opacity:.8},plots:{show:!0,radius:6,opacity:.8},yAxis:{scaleTicks:10,stroke:r,strokeWidth:1,labels:{showAxisNames:!0,axisNames:[],axisNamesRotation:0,axisNamesAutoRotate:{enable:!0,angle:-30},axisNamesColor:_,axisNamesFontSize:S._16,axisNamesBold:!0,roundings:[],prefixes:[],suffixes:[],formatters:[],ticks:{show:!0,fontSize:S._14,color:_,bold:!1,offsetX:0,offsetY:0},datapoints:{show:!0,fontSize:S._14,useSerieColor:!0,color:_,offsetX:0,offsetY:0,bold:!0}}},title:k,legend:{...A,position:`bottom`},tooltip:j}},table:{...R,useDialog:!1,columnNames:{series:`Series`,item:`Item`},th:I,td:L}},Fe={devHints:D,type:`stopwatch`,responsive:!1,responsiveProportionalSizing:!0,useCursorPointer:!1,style:{fontFamily:`inherit`,backgroundColor:g,height:300,width:300,title:k},stopwatch:{showHours:!1,showHundredth:!0,cycleSeconds:5,track:{radiusRatio:1,stroke:y,fill:c,strokeWidth:2},tracker:{radiusRatio:1,stroke:c,strokeWidth:1,fill:r,gradient:{show:!0,color:c},aura:{show:!0,radiusRatio:1,fill:r,stroke:c,strokeWidth:0}},cycleTrack:{show:!0,stroke:r,strokeWidth:3},label:{fontSize:S._24,color:_,bold:!1},legend:{backgroundColor:g,buttons:{start:!0,pause:!0,reset:!0,restart:!0,lap:!0,iconColor:r},buttonTitles:{start:`Start`,pause:`Pause`,resume:`Resume`,reset:`Reset`,restart:`Restart`,lap:`Lap`}}}},Ie={bubbleEffect:!0,bubbleEffectColor:c,bubbleEffectOpacity:.1,centerCircleColor:c,centerCircleDasharray:0,centerCircleOpacity:0,centerCircleRadius:50,centerCircleStroke:o,centerCircleStrokeWidth:.5,coordinatesColor:o,coordinatesFontSize:S._10,coordinatesOffset:0,crosshairDasharray:0,crosshairStroke:o,crosshairStrokeWidth:.5,intersectCirclesFill:o,intersectCirclesRadius:2,isLoading:!1,parentId:``,showCenterCircle:!0,showCoordinates:!0,showCrosshair:!0,showIntersectCircles:!0,useWaveOnClick:!0},Le={open:!1,maxHeight:2e3,useCursorPointer:!1,head:{useArrowSlot:!1,backgroundColor:g,color:_,iconColor:u,iconSize:20,icon:`arrowRight`,padding:`12px 6px`},body:{backgroundColor:g,color:_}},Re={devHints:D,debug:!1,animationFrames:60,animationValueStart:0,backgroundColor:g,fontFamily:`inherit`,layoutClass:``,layoutCss:``,prefix:``,suffix:``,title:``,titleBold:!0,titleColor:_,titleClass:``,titleCss:``,titleFontSize:S._16,useAnimation:!0,valueBold:!0,valueColor:u,valueClass:``,valueCss:``,valueFontSize:S._32,valueRounding:0,formatter:null,analogDigits:{show:!1,height:40,color:_,skeletonColor:y}},ze={devHints:D,type:`onion`,onion:{gutterColor:o,gutterOpacity:.3,gutterBlur:0,trackHueRotate:20,trackBlur:1,trackColor:p},line:{gutterColor:o,gutterOpacity:.3,gutterBlur:0,trackHueRotate:20,trackBlur:1,trackColor:p},bar:{gutterColor:o,gutterOpacity:.3,gutterBlur:0,trackHueRotate:20,trackBlur:1,trackColor:p}},Be={debug:!1,devHints:D,readonly:!1,useCursorPointer:!1,style:{fontFamily:`inherit`,itemSize:32,backgroundColor:g,colors:{activeReadonly:[`#e20001`,`#ff9f03`,`#ffd004`,`#61c900`,`#059f00`],active:[`#e20001`,`#ff9f03`,`#ffd004`,`#61c900`,`#059f00`],inactive:[y,y,y,y,y]},icons:{filled:!1,useGradient:!0},title:{...k,textAlign:T.CENTER,offsetY:6,subtitle:{...k.subtitle,offsetY:12}},rating:{show:!0,fontSize:S._24,bold:!0,roundingValue:1,position:T.BOTTOM,offsetX:0,offsetY:0,formatter:null},tooltip:{show:!0,fontSize:S._14,offsetY:0,color:_,bold:!0,backgroundColor:g,borderColor:b,borderRadius:4,boxShadow:`0 6px 12px -6px rgba(0,0,0,0.2)`,roundingValue:0,formatter:null}}},Ve={debug:!1,devHints:D,type:w.STAR,readonly:!1,from:1,to:5,useCursorPointer:!1,style:{fontFamily:`inherit`,animated:!0,itemSize:32,backgroundColor:g,star:{activeColor:m,borderColor:m,borderWidth:3,apexes:5,inactiveColor:y,useGradient:!0},image:{src:``,inactiveOpacity:.3,alt:`rating image`},title:{textAlign:T.CENTER,fontSize:S._20,color:_,bold:!0,text:``,offsetY:6,subtitle:{fontSize:S._14,color:o,bold:!1,text:``,offsetY:12}},rating:{show:!0,fontSize:S._24,bold:!0,roundingValue:1,position:T.BOTTOM,offsetY:0,offsetX:0,formatter:null},tooltip:{show:!0,fontSize:S._14,offsetY:0,color:_,bold:!0,backgroundColor:g,borderColor:b,borderRadius:4,boxShadow:`0 6px 12px -6px rgba(0,0,0,0.2)`,roundingValue:0,formatter:null}}},He={devHints:D,alwaysVisible:!1,useCursorPointer:!1,style:{backgroundColor:g,color:_,fontFamily:`inherit`,showPrint:!1,showSave:!0,showImage:!0,showTooltips:!0,paletteColor:`#2D353C`,palette:h,buttons:{borderRadius:6,controls:{backgroundColor:g,color:_,border:`1px solid #262626`,selected:{backgroundColor:r,color:l,border:`1px solid ${b}`}},shapes:{backgroundColor:g,color:_,border:`1px solid #262626`,selected:{backgroundColor:_,color:g,border:`1px solid ${b}`}}},tooltips:{backgroundColor:l,color:_,border:`1px solid ${b}`,borderRadius:6,boxShadow:`0 6px 12px -6px rgba(0,0,0,0.2)`}},translations:{colorAlpha:`Color alpha`,dashedLines:`Dashed lines`,filled:`Filled`,fontSize:`Font size`,thickness:`Thickness`,title:`Annotations`,tooltipGroup:`Select & group`,tooltipDelete:`Delete`,tooltipMove:`Move`,tooltipResize:`Resize`,tooltipBringToFront:`Bring to front`,tooltipBringToBack:`Bring to back`,tooltipDuplicate:`Duplicate`,tooltipUndo:`Undo last shape`,tooltipRedo:`Redo last shape`,tooltipPdf:`Save pdf`,tooltipSave:`Save annotations`,tooltipShapeCircle:`Draw circle`,tooltipShapeRect:`Draw rect`,tooltipShapeArrow:`Draw arrow`,tooltipShapeFreehand:`Freehand line`,tooltipShapeText:`Text mode`,tooltipShapeTextLeft:`Align left`,tooltipShapeTextCenter:`Align center`,tooltipShapeTextRight:`Align right`,tooltipShapeTextBullet:`Bullet points`,tooltipShapeTextBold:`Bold`,tooltipShapeTextItalic:`Italic`,tooltipShapeTextUnderline:`Underlined`,tooltipShapeColor:`Color`,tooltipImage:`Download PNG`}},Ue={devHints:D,locked:!1,style:{board:{backgroundColor:g,color:_,aspectRatio:`1/1.4141`,border:`none`},item:{backgroundColor:g,borderColor:b},resizeHandles:{backgroundColor:_}},userOptions:{show:!0,useCursorPointer:!1,showOnChartHover:!1,keepStateOnChartLeave:!0,position:`right`,buttons:{pdf:!0,img:!0,annotator:!0,altCopy:!1},callbacks:{pdf:null,img:null,annotator:null,altCopy:null},buttonTitles:{pdf:`Download PDF`,img:`Download PNG`,annotator:`Toggle annotator`,altCopy:`Copy alt text`},print:{scale:2,filename:``}}},We={devHints:D,type:w.LINE,style:{backgroundColor:g,color:_,maxHeight:500,animated:!0,chord:{color:y},ridgeline:{color:y},circlePack:{color:y},historyPlot:{color:y},bullet:{color:y},flow:{color:y},parallelCoordinatePlot:{color:y},treemap:{color:y},dumbbell:{color:y},stripPlot:{color:y},galaxy:{color:y},bar3d:{color:y},sparkHistogram:{color:y},sparkStackbar:{color:y},sparkbar:{color:y},thermometer:{color:y},relationCircle:{color:y},molecule:{color:y},tiremarks:{color:y},chestnut:{color:y},sparkline:{color:y,strokeWidth:.7},donutEvolution:{axis:{show:!0,color:y,strokeWidth:.5},donuts:{strokeWidth:.5,color:y}},line:{axis:{show:!0,color:y,strokeWidth:.5},path:{color:y,strokeWidth:1,showPlots:!0}},bar:{axis:{show:!0,color:y,strokeWidth:.5},borderRadius:.5,color:y,barWidth:9},donut:{color:y,strokeWidth:64},onion:{color:y},gauge:{color:y},quadrant:{grid:{color:y,strokeWidth:.5},plots:{radius:1.5,color:y}},radar:{grid:{color:y,strokeWidth:.5},shapes:{color:y}},waffle:{color:y},table:{th:{color:y},td:{color:y,strokeWidth:.5}},rating:{useSmiley:!1,color:y,filled:!0,strokeWidth:1,maxWidth:200},verticalBar:{axis:{show:!0,color:y,strokeWidth:.5},borderRadius:.5,color:y},heatmap:{cellsX:26,cellsY:7,color:y},candlesticks:{axis:{show:!0,color:y,strokeWidth:.5},candle:{color:y,strokeWidth:1}},pyramid:{color:y},wheel:{color:y},rings:{color:y}}},Ge={devHints:D,fontFamily:`inherit`,maxHeight:500,rowsPerPage:25,useCursorPointer:!1,style:{title:{...k,backgroundColor:g},th:{backgroundColor:y,color:_,outline:`1px solid ${c}`,selected:{backgroundColor:u,color:c},buttons:{filter:{inactive:{backgroundColor:y,color:_},active:{backgroundColor:u,color:c}},cancel:{inactive:{backgroundColor:y,color:r},active:{backgroundColor:`#F17171`,color:c}}}},rows:{outline:`1px solid ${g}`,even:{backgroundColor:`#f3f5f7`,color:_,selectedCell:{backgroundColor:`#1f77b45b`,color:_},selectedNeighbors:{backgroundColor:`#63dd821e`,color:_}},odd:{backgroundColor:g,color:_,selectedCell:{backgroundColor:`#1f77b45b`,color:_},selectedNeighbors:{backgroundColor:`#63dd821e`,color:_}}},inputs:{backgroundColor:g,color:_,border:`1px solid ${b}`,accentColor:u},dropdowns:{backgroundColor:y,color:_,icons:{selected:{color:f,unicode:`✔`},unselected:{color:d,unicode:`✖`}}},infoBar:{backgroundColor:y,color:_},pagination:{buttons:{backgroundColor:y,color:_,opacityDisabled:.5},navigationIndicator:{backgroundColor:u}},exportMenu:{show:!0,backgroundColor:y,color:_,buttons:{backgroundColor:l,color:_},filename:``},closeButtons:{backgroundColor:`transparent`,color:_,borderRadius:`50%`},chart:{modal:{backgroundColor:y,color:_,buttons:{selected:{backgroundColor:u,color:c},unselected:{backgroundColor:g,color:_}}},layout:{backgroundColor:g,axis:{stroke:`#ccd1d4`,strokeWidth:2},bar:{fill:u,stroke:c},line:{smooth:!0,useArea:!1,stroke:u,strokeWidth:4,plot:{fill:u,stroke:c,strokeWidth:1,radius:{selected:6,unselected:4}},selector:{stroke:`#ccc`,strokeWidth:1,strokeDasharray:5}},labels:{color:_},progression:{stroke:r,strokeWidth:2,strokeDasharray:4,arrowSize:7},timeLabels:{showOnlyAtModulo:!0,modulo:2},datetimeFormatter:{...N,enable:!0},zoom:{show:!0,autoFit:!0}}}},translations:{average:`Average`,by:`by`,chooseCategoryColumn:`Choose category column`,exportAllButton:`CSV all`,exportAllLabel:`Export all rows of your current filtered dataset`,exportPageButton:`CSV page`,exportPageLabel:`Export rows of the current page`,from:`From`,inputPlaceholder:`Search...`,makeDonut:`Generate`,nb:`Nb`,page:`Page`,paginatorLabel:`Rows per page`,sizeWarning:`Displaying too many rows at a time can lead to slower performance`,sum:`Sum`,to:`To`,total:`Total`,totalRows:`Total rows`,filename:`File name`,xAxisLabels:`X axis labels`},useChart:!0},Ke={devHints:D,height:`100%`,width:null,backgroundColor:g,digits:{color:_,skeletonColor:y,thickness:1}},qe={debug:!1,devHints:D,responsiveBreakpoint:400,userOptions:P({tooltip:!1,pdf:!0,csv:!0,img:!0,table:!1,labels:!1,fullscreen:!0,stack:!1,animation:!0}),animation:{type:`scroll`,use:!0,speedMs:1e3,pauseOnHover:!0},style:{backgroundColor:g,color:_,fontFamily:`inherit`},border:{size:0,color:r},caption:{text:``,padding:F([12,12,12,12]),style:{backgroundColor:g,color:_,fontSize:`${S._16}px`,fontWeight:`bold`,textAlign:`left`}},scrollbar:{showOnlyOnHover:!1,hide:!1},thead:{style:{verticalAlign:`middle`},tr:{height:32,border:{size:0,color:r},style:{backgroundColor:g,color:_,boxShadow:`0px 6px 12px -6px ${r}50`},th:{border:{size:0,color:r},padding:F([0,12,0,0]),style:{borderSpacing:0,border:`none`,textAlign:`right`,fontVariantNumeric:`tabular-nums`}}}},tbody:{backgroundColor:g,tr:{visible:5,height:32,border:{size:0,color:r},style:{backgroundColor:g,color:_},td:{alternateColor:!0,alternateOpacity:.5,border:{size:0,color:r},padding:F([0,12,0,0]),style:{fontVariantNumeric:`tabular-nums`,textAlign:`right`,backgroundColor:y}}}}},Je={devHints:D,a11y:{translations:{label:`Progress`}},skeletonConfig:null,skeletonDataset:null,debug:!1,loading:!1,type:`battery`,size:64,stroke:o,color:u,useGradient:!0,gradientColor:`#9db5ed`,showPercentage:!0,textColor:r,fontFamily:`inherit`,formatter:null},Ye={devHints:D,debug:!1,loading:!1,responsive:!1,theme:``,userOptions:P({tooltip:!1,pdf:!0,csv:!1,img:!0,table:!1,labels:!1,fullscreen:!0,stack:!1,annotator:!0,svg:!0}),style:{fontFamily:`inherit`,chart:{backgroundColor:g,color:_,height:96,width:600,padding:F([24,24,24,12]),animation:{show:!0,animationFrames:60},segments:{baseColor:`#9A9A9A`,dataLabels:{show:!0,color:_,fontSize:S._10,formatter:null,bold:!1,prefix:``,suffix:``,rounding:0,offsetY:0},ticks:{show:!0,divisions:10,stroke:`#8A8A8A`}},target:{show:!0,onTop:!0,color:_,rounded:!0,heightRatio:.8,stroke:c,strokeWidth:1,width:6},valueBar:{color:`#3A3A3A`,heightRatio:.33,stroke:c,strokeWidth:1,label:{show:!0,color:_,fontSize:S._14,bold:!0,offsetY:0}},title:{...k,textAlign:T.LEFT,paddingLeft:12},legend:{...A,roundingValue:0,position:`bottom`}}}},Q={debug:!1,devHints:D,theme:``,responsive:!1,responsiveProportionalSizing:!0,useCssAnimation:!0,table:{...R,useDialog:!1,th:I,td:{...L,roundingValue:0,roundingPercentage:0},columnNames:{series:`Step`,value:`Value`,percentage:`Percentage`}},userOptions:P({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,labels:!1,fullscreen:!0,stack:!1,annotator:!0,svg:!0}),style:{fontFamily:`inherit`,chart:{backgroundColor:g,color:_,width:600,height:500,title:k,padding:F([12,128,24,24]),barCircleSpacingRatio:.05,circles:{stroke:c,strokeWidth:1,dataLabels:{formatter:null,fontSize:S._16,offsetY:0,adaptColorToBackground:!0,color:_,rounding:1,bold:!0}},circleLinks:{show:!0,color:y,widthRatio:1},area:{show:!0,color:y},bars:{stroke:c,defaultColor:u,strokeWidth:1,gapRatio:.2,borderRadius:3,dataLabels:{name:{fontSize:S._16,color:_,bold:!0,offsetX:0,offsetY:0},value:{formatter:null,fontSize:S._16,rounding:0,bold:!1,color:_,prefix:``,suffix:``,offsetX:0,offsetY:0}}}}}},Xe={devHints:D,skeletonDataset:null,skeletonConfig:null,debug:!1,loading:!1,responsive:!1,a11y:{...x,translations:{...x.translations,keyboardNavigation:`Use the left and right, or up and down arrow keys to move between datapoints`}},transitions:M,events:{datapointEnter:null,datapointLeave:null,datapointClick:null},responsiveProportionalSizing:!0,theme:``,customPalette:[],useCssAnimation:!1,userOptions:P({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,labels:!1,fullscreen:!0,stack:!1,annotator:!0,svg:!0}),table:{...R,useDialog:!1,th:I,td:{...L,roundingValue:0},columnNames:{series:`Series`,datapoint:`Datapoint`,x:`x`,y:`y`}},style:{fontFamily:`inherit`,chart:{backgroundColor:g,color:_,height:500,width:600,padding:F([12,12,12,12]),grid:{xAxis:{show:!0,stroke:y,strokeWidth:1},horizontalLines:{show:!0,stroke:y,strokeWidth:.6},yAxis:{show:!0,stroke:y,strokeWidth:1},verticalLines:{show:!0,stroke:y,strokeWidth:.6}},axes:{x:{scaleMin:null,scaleMax:null,ticks:10,labels:{show:!0,fontSize:S._16,color:_,bold:!1,rounding:1,offsetY:0,rotation:0,autoRotate:{enable:!0,angle:-30},formatter:null,prefix:``,suffix:``},name:{text:``,fontSize:S._16,offsetX:0,offsetY:0,bold:!1,color:_}},y:{scaleMin:null,scaleMax:null,ticks:10,labels:{show:!0,fontSize:S._16,color:_,bold:!1,rounding:1,offsetX:0,formatter:null,prefix:``,suffix:``},name:{text:``,fontSize:S._16,offsetX:0,offsetY:0,bold:!1,color:_}}},plots:{radius:16,stroke:c,strokeWidth:1,unselectedOpacity:.1,gradient:{show:!0,intensity:40},indexLabels:{show:!0,startAtZero:!1,adaptColorToBackground:!0,color:_,fontSize:S._16,bold:!1,offsetY:0,offsetX:0},labels:{show:!0,fontSize:S._10,color:_,bold:!1,offsetY:0,offsetX:0}},paths:{show:!0,strokeWidth:1.6,useSerieColor:!0,stroke:r},legend:{...A,position:`bottom`},title:k,tooltip:j}}},Ze={devHints:D,debug:!1,loading:!1,responsive:!1,a11y:{...x,translations:{...x.translations,keyboardNavigation:`Use the left and right, or up and down arrow keys to move between datapoints`}},transitions:M,events:{datapointEnter:null,datapointLeave:null,datapointClick:null},theme:``,customPalette:[],userOptions:P({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,labels:!1,fullscreen:!0,stack:!1,annotator:!0,svg:!0,zoom:!0}),table:{...R,useDialog:!1,th:I,td:L,columnNames:{datapoint:`Datapoint`,parent:`Parent`,depth:`Depth`,value:`Value`}},style:{fontFamily:`inherit`,chart:{backgroundColor:g,color:_,title:k,width:512,height:316,circles:{stroke:c,strokeWidth:1,selectedShadowColor:r,gradient:{show:!0,intensity:40},labels:{parents:{show:!1},children:{show:!0},name:{fontSizeRatio:1,show:!0,bold:!1,offsetY:0,color:`auto`},value:{fontSizeRatio:1,show:!0,color:`auto`,rounding:0,prefix:``,suffix:``,formatter:null,bold:!1,offsetY:0}}},parentTooltips:{show:!0,fontSizeRatio:1,borderRadiusRatio:1,color:r,filter:`drop-shadow(0 2px 4px #2D353C30)`,backgroundColor:c,strokeWidth:1,useSerieColor:!0,stroke:r,link:{strokeWidth:1,strokeDasharray:0,opacity:.6,useSerieColor:!1,stroke:r}},tooltip:j,zoom:{show:!0,speed:1}}}},Qe={devHints:D,skeletonDataset:null,skeletonConfig:null,debug:!1,loading:!1,events:{datapointEnter:null,datapointLeave:null,datapointClick:null},userOptions:P({tooltip:!0,pdf:!0,csv:!0,img:!0,table:!0,labels:!1,fullscreen:!0,stack:!1,annotator:!0,svg:!0}),customPalette:[],projection:`globe`,style:{fontFamily:`inherit`,chart:{backgroundColor:g,color:_,padding:F([12,12,12,12]),dataLabels:{prefix:``,suffix:``,rounding:0,formatter:null},dimensions:{height:null,width:null},globe:{center:{x:0,y:0},waterColor:u},territory:{stroke:`#666666`,emptyColor:`#E0E0E0`,strokeWidth:.5,strokeWidthSelected:2,colors:{min:`#E0E0E0`,max:null},showTaiwanAsPartOfChina:!1},tooltip:{...j,showMinimap:!0},title:k,legend:{...A,position:`bottom`}}},table:{...R,useDialog:!1,th:I,td:{...L,roundingValue:0},columnNames:{series:`Country`,value:`Value`,category:`Category`}}},$e={devHints:D,skeletonDataset:null,skeletonConfig:null,debug:!1,loading:!1,responsive:!1,a11y:{...x,translations:{...x.translations,keyboardNavigation:`Use the left and right, or up and down arrow keys to move between datapoints`}},events:{datapointEnter:null,datapointLeave:null,datapointClick:null},theme:``,customPalette:[],useCssAnimation:!1,userOptions:P({tooltip:!1,pdf:!0,csv:!0,img:!0,table:!0,labels:!1,fullscreen:!0,stack:!1,annotator:!0,svg:!0}),table:{...R,useDialog:!1,th:I,td:{...L,roundingValue:0},columnNames:{series:`Series`}},style:{fontFamily:`inherit`,chart:{backgroundColor:g,color:_,padding:F([12,0,0,12]),title:k,legend:A,dialog:{show:!0,backgroundColor:g,color:_,header:{backgroundColor:y,color:_},xyChart:{...H,responsive:!0,line:{...H.line,showTransition:!1,labels:{...H.line.labels,show:!0}},chart:{...H.chart,tooltip:{...H.chart.tooltip,showPercentage:!1},userOptions:{...H.chart.userOptions,buttons:{...H.chart.userOptions.buttons,pdf:!1,fullscreen:!1}},zoom:{...H.chart.zoom,autoFit:!0,minimap:{...H.chart.zoom.minimap,show:!0}}}}},areas:{height:60,rowHeight:30,strokeWidth:1,stroke:{useSerieColor:!1,color:c},smooth:!0,opacity:.9,useCommonColor:!1,useGradient:!0,maxPoint:{show:!0,adaptStrokeToBackground:!0,stroke:r,strokeWidth:1,strokeDasharray:4}},selector:{show:!0,stroke:o,strokeWidth:1,strokeDasharray:2,labels:{fontSize:12,formatter:null,rounding:0,color:_,showLast:!1},dot:{radius:4,useDatapointColor:!0,fill:o,stroke:c,strokeWidth:.5}},zeroLine:{show:!0,strokeWidth:1,strokeDasharray:0,useSerieColor:!1,stroke:o},xAxis:{labels:{prefix:``,suffix:``,rotation:0,autoRotate:{enable:!0,angle:-30},values:[],datetimeFormatter:N,color:_,fontSize:14,bold:!1,showOnlyAtModulo:!1,modulo:2,showOnlyFirstAndLast:!1,offsetY:0}},yAxis:{labels:{fontSize:16,bold:!1,color:_,offsetX:0,offsetY:0,centered:!1}}}}},et={devHints:D,debug:!1,loading:!1,responsive:!1,a11y:{...x,translations:{...x.translations,keyboardNavigation:`Use the left and right, or up and down arrow keys to move between datapoints`}},events:{datapointEnter:null,datapointLeave:null,datapointClick:null},theme:``,customPalette:[],enableRotation:!0,initialRotation:0,useCssAnimation:!1,userOptions:P({tooltip:!1,pdf:!0,csv:!0,img:!0,table:!0,labels:!1,fullscreen:!0,stack:!1,annotator:!0,svg:!0}),table:{...R,useDialog:!1,th:I,td:L},style:{fontFamily:`inherit`,chart:{backgroundColor:g,color:_,legend:{...A,position:`bottom`},title:k,arcs:{innerRadiusRatio:1,outerRadiusRatio:1,padAngle:5,stroke:c,strokeWidth:1,labels:{show:!0,fontSize:14,bold:!1,curved:!1,adaptColorToBackground:!0,color:_,offset:0,showPercentage:!0,roundingPercentage:0}},ribbons:{stroke:c,strokeWidth:1,underlayerOpacity:1,labels:{show:!0,formatter:null,prefix:``,suffix:``,rounding:0,fontSize:14,bold:!1,useSerieColor:!1,color:_,offset:0,minSeparationDeg:3,connector:{stroke:r,strokeWidth:1},marker:{show:!0,radius:3,stroke:c,strokeWidth:1}}}}}},tt={devHints:D,skeletonConfig:null,skeletonDataset:null,loading:!1,debug:!1,responsive:!1,theme:``,a11y:{...x,translations:{...x.translations,keyboardNavigation:`Use the left and right, or up and down arrow keys to move between datapoints`}},userOptions:P({tooltip:!1,pdf:!0,csv:!1,img:!0,fullscreen:!0,annotator:!0,svg:!0,zoom:!0}),style:{fontFamily:`inherit`,chart:{backgroundColor:g,color:_,width:null,height:null,backgroundPattern:{show:!1,spacingRatio:3,dotRadiusRatio:5,dotColor:y,opacity:1},layout:{rankDirection:`TB`,rankSeparation:60,nodeSeparation:50,edgeSeparation:30,nodeWidth:100,nodeHeight:40,curvedEdges:!0,padding:48,arrowShape:`vee`,arrowSize:8,align:void 0},nodes:{stroke:o,strokeWidth:1,borderRadius:3,backgroundColor:g,labels:{color:_,fontSize:S._12,bold:!1},tooltip:{showOnClick:!1,backgroundColor:y,color:_,maxWidth:`300px`},selected:{stroke:null,strokeWidth:null,backgroundColor:null,labelColor:null,downstreamEdges:{stroke:null,animated:null},upstreamEdges:{stroke:null,animated:null}}},edges:{stroke:o,strokeWidth:1,animations:{dasharray:`2 6`,animationDurationMs:1e3}},midpoints:{show:!1,radius:4,stroke:o,fill:c,strokeWidth:1,tooltip:{maxWidth:`300px`,backgroundColor:y,color:_},selectedEdge:{stroke:null,animated:null}},controls:{position:`bottom`,show:!0,backgroundColor:y,buttonColor:y,color:_,fontSize:14,border:`1px solid ${b}`,padding:`0.5rem`,borderRadius:`0.25rem`},zoom:{active:!0},title:k}}},nt={devHints:D,skeletonDataset:null,skeletonConfig:null,loading:!1,debug:!1,responsive:!1,projection:`equirectangular`,theme:``,a11y:{...x,translations:{...x.translations,keyboardNavigation:`Use the left and right, or up and down arrow keys to move between datapoints`}},userOptions:P({tooltip:!0,pdf:!0,csv:!1,img:!0,svg:!0,table:!1,labels:!1,fullscreen:!0,annotator:!0,zoom:!0}),map:{geoJson:null,center:[0,0],fitPadding:0},events:{datapointEnter:null,datapointLeave:null,datapointClick:null,territoryEnter:null,territoryLeave:null,territoryClick:null},style:{fontFamily:`inherit`,chart:{dimensions:{width:null,height:null},backgroundColor:g,color:_,territory:{fill:`#F2F3F5`,stroke:`#D0D4D8`,strokeWidth:1,hover:{enabledWhenEmpty:!1,fill:y,stroke:o,strokeWidth:1.5}},points:{radius:1,stroke:c,strokeWidth:1,fill:s,hoverRadiusRatio:1.2,labels:{show:!0,fontSizeRatio:1,color:_,offsetY:0}},controls:{position:`bottom`,show:!0,backgroundColor:y,buttonColor:y,color:_,fontSize:14,border:`1px solid ${b}`,padding:`0.5rem`,borderRadius:`0.25rem`},title:k,tooltip:j,zoom:{active:!0}}}},rt={devHints:D,skeletonConfig:null,skeletonDataset:null,loading:!1,debug:!1,responsive:!1,theme:``,customPalette:[],useCssAnimation:!1,a11y:{...x,translations:{...x.translations,keyboardNavigation:`Use the left and right, or up and down arrow keys to move between datapoints`}},events:{datapointEnter:null,datapointLeave:null,datapointClick:null},userOptions:P({tooltip:!1,pdf:!0,csv:!0,img:!0,svg:!0,table:!0,labels:!1,fullscreen:!0,sort:!1,stack:!1,animation:!1,annotator:!0,zoom:!1}),table:{...R,useDialog:!1,columnNames:{series:`Series`,period:`Period`,values:`Values`,ranking:`Ranking`},th:I,td:{...L,roundingValue:0}},style:{fontFamily:`inherit`,chart:{backgroundColor:g,color:_,height:500,width:800,layout:{timeLabels:{show:!0,values:[],datetimeFormatter:N,offsetY:0,rotation:0,autoRotate:{enable:!0,angle:-30},fontSize:S._14,color:_,bold:!1,showOnlyFirstAndLast:!1,showOnlyAtModulo:!1,modulo:2},lines:{smooth:!0,strokeWidth:4,coatingColor:c},plots:{stroke:c,strokeWidth:1,radius:12,labels:{color:`auto`,show:!0,bold:!0,displayedValue:`value`,fontSize:S._12,prefix:``,suffix:``,rounding:0,formatter:null}},nameLabels:{fontSize:S._14,color:_,useSerieColor:!1,bold:!1,offsetX:0,leftLabels:{show:!0},rightLabels:{show:!0}}},padding:F([12,12,12,12]),title:k}}},it={theme:``,a11y:{translations:{keyboardNavigation:`Use the arrow keys to move this label. Hold Shift while pressing an arrow key to move it by a larger step.`}},title:{text:``,color:_,fontSize:14,lineHeight:14,bold:!1,textAlign:`left`,gap:6,marker:{color:null,shape:`circle`,beforeText:!0,size:14,offsetY:0}},content:{text:``,color:_,fontSize:12,lineHeight:12,bold:!1,textAlign:`left`},position:`auto`,link:{show:!0,stroke:_,strokeWidth:1,strokeDasharray:`0`,length:20,targetPlot:{show:!0,radius:2,stroke:g,strokeWidth:1}},box:{show:!0,backgroundColor:g,borderColor:_,borderWidth:1,borderRadius:3,padding:F([8,8,8,8]),maxWidth:200},drag:{enable:!0,handlePosition:`left`,handleWidth:18,showSeparator:!1,iconColor:_,iconOpacity:.6,iconSize:16},overflow:!1,overlap:!1,collisionGap:0},$=e(t);return{vue_ui_graph:{...$,tooltip:{...j,...$.tooltip},userOptions:{...P({pdf:!0,csv:!0,img:!0,svg:!0,table:!0,fullscreen:!0,zoom:!0,tooltip:!0,annotator:!0}),useCursorPointer:$.userOptions.useCursorPointer},table:{...R,useDialog:!1,columnNames:{nodes:`Nodes`,links:`Links`,id:`ID`,label:`Label`,group:`Group`,value:`Value`,connections:`Connections`,source:`Source`,target:`Target`,directed:`Directed`,metadata:`Metadata`},th:{...I},td:{...L}},style:{...$.style,chart:{...$.style.chart,title:{...k,subtitle:{...k.subtitle}}}}},vue_ui_xy:H,vue_ui_donut:U,vue_ui_treemap:W,vue_ui_waffle:G,vue_ui_radar:K,vue_ui_quadrant:q,vue_ui_gauge:J,vue_ui_wheel:Y,vue_ui_tiremarks:X,vue_ui_chestnut:ie,vue_ui_onion:ae,vue_ui_vertical_bar:Z,vue_ui_horizontal_bar:oe,vue_ui_heatmap:se,vue_ui_scatter:ce,vue_ui_candlestick:le,vue_ui_sparkline:ue,vue_ui_sparkbar:de,vue_ui_sparkstackbar:fe,vue_ui_sparkhistogram:pe,vue_ui_sparkgauge:me,vue_ui_spark_trend:he,vue_ui_quick_chart:ge,vue_ui_age_pyramid:_e,vue_ui_relation_circle:ve,vue_ui_thermometer:ye,vue_ui_rings:be,vue_ui_donut_evolution:xe,vue_ui_mood_radar:Se,vue_ui_molecule:Ce,vue_ui_nested_donuts:we,vue_ui_galaxy:Te,vue_ui_strip_plot:Ee,vue_ui_dumbbell:De,vue_ui_3d_bar:Oe,vue_ui_table_sparkline:ke,vue_ui_table_heatmap:Ae,vue_ui_word_cloud:je,vue_ui_xy_canvas:Me,vue_ui_flow:Ne,vue_ui_parallel_coordinate_plot:Pe,vue_ui_timer:Fe,vue_ui_carousel_table:qe,vue_ui_gizmo:Je,vue_ui_stackbar:re,vue_ui_bullet:Ye,vue_ui_funnel:Q,vue_ui_history_plot:Xe,vue_ui_world:Qe,vue_ui_ridgeline:$e,vue_ui_chord:et,vue_ui_stackline:ne,vue_ui_dag:tt,vue_ui_geo:nt,vue_ui_bump:rt,vue_ui_circle_pack:Ze,vue_ui_cursor:Ie,vue_ui_accordion:Le,vue_ui_kpi:Re,vue_ui_mini_loader:ze,vue_ui_smiley:Be,vue_ui_rating:Ve,vue_ui_annotator:He,vue_ui_dashboard:Ue,vue_ui_skeleton:We,vue_ui_table:Ge,vue_ui_digits:Ke,vue_ui_hill:te,vue_ui_label:it}}export{n as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{C as e,in as t}from"./lib-
|
|
1
|
+
import{C as e,in as t}from"./lib-rPeBMZrn.js";function n({defaultConfig:n,userConfig:r}){if(!Object.keys(r||{}).length)return n;let i=t({defaultConfig:n,userConfig:r});return e(i)}export{n as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{t as e}from"./useConfig-6jO1fkp5.js";import{computed as t,isRef as n,markRaw as r,watchEffect as i}from"vue";var a=/* @__PURE__ */ `vue_ui_graph.vue_ui_3d_bar.vue_ui_accordion.vue_ui_age_pyramid.vue_ui_annotator.vue_ui_bullet.vue_ui_bump.vue_ui_candlestick.vue_ui_carousel_table.vue_ui_chestnut.vue_ui_chord.vue_ui_circle_pack.vue_ui_cursor.vue_ui_dag.vue_ui_dashboard.vue_ui_digits.vue_ui_donut.vue_ui_donut_evolution.vue_ui_dumbbell.vue_ui_flow.vue_ui_funnel.vue_ui_galaxy.vue_ui_gauge.vue_ui_geo.vue_ui_gizmo.vue_ui_heatmap.vue_ui_hill.vue_ui_history_plot.vue_ui_horizontal_bar.vue_ui_kpi.vue_ui_label.vue_ui_mini_loader.vue_ui_molecule.vue_ui_mood_radar.vue_ui_nested_donuts.vue_ui_onion.vue_ui_parallel_coordinate_plot.vue_ui_quadrant.vue_ui_quick_chart.vue_ui_radar.vue_ui_rating.vue_ui_relation_circle.vue_ui_ridgeline.vue_ui_rings.vue_ui_scatter.vue_ui_skeleton.vue_ui_smiley.vue_ui_spark_trend.vue_ui_sparkbar.vue_ui_sparkgauge.vue_ui_sparkhistogram.vue_ui_sparkline.vue_ui_sparkstackbar.vue_ui_stackbar.vue_ui_stackline.vue_ui_strip_plot.vue_ui_table.vue_ui_table_heatmap.vue_ui_table_sparkline.vue_ui_thermometer.vue_ui_timer.vue_ui_tiremarks.vue_ui_treemap.vue_ui_vertical_bar.vue_ui_waffle.vue_ui_wheel.vue_ui_word_cloud.vue_ui_world.vue_ui_xy.vue_ui_xy_canvas`.split(`.`);function o(t,n={}){return a.includes(t)?e(n)[t]:(console.error(`VueDataUi - getVueDataUiConfig : ${t} is not a valid component name for this utility.\nUse snake case names, for example 'vue_ui_xy', 'vue_ui_donut', etc.`),{})}var s;function c(){return s||=Object.fromEntries(Object.entries(/* @__PURE__ */ Object.assign({"./themes/vue_ui_3d_bar.json":()=>import(`./vue_ui_3d_bar-DmAve5Ri.js`).then(e=>e.n).then(e=>e.default),"./themes/vue_ui_age_pyramid.json":()=>import(`./vue_ui_age_pyramid-CL0Ef8Ov.js`).then(e=>e.n).then(e=>e.default),"./themes/vue_ui_bullet.json":()=>import(`./vue_ui_bullet-CwVYkpjd.js`).then(e=>e.n).then(e=>e.default),"./themes/vue_ui_bump.json":()=>import(`./vue_ui_bump-KJL9GYr4.js`).then(e=>e.n).then(e=>e.default),"./themes/vue_ui_candlestick.json":()=>import(`./vue_ui_candlestick-DKvha_Ab.js`).then(e=>e.n).then(e=>e.default),"./themes/vue_ui_chestnut.json":()=>import(`./vue_ui_chestnut-BxxivKN7.js`).then(e=>e.n).then(e=>e.default),"./themes/vue_ui_chord.json":()=>import(`./vue_ui_chord-Fq6VBRT1.js`).then(e=>e.n).then(e=>e.default),"./themes/vue_ui_circle_pack.json":()=>import(`./vue_ui_circle_pack-CfXkXi7v.js`).then(e=>e.n).then(e=>e.default),"./themes/vue_ui_dag.json":()=>import(`./vue_ui_dag-1b_dLSym.js`).then(e=>e.n).then(e=>e.default),"./themes/vue_ui_donut.json":()=>import(`./vue_ui_donut-T5PeOqvf.js`).then(e=>e.n).then(e=>e.default),"./themes/vue_ui_donut_evolution.json":()=>import(`./vue_ui_donut_evolution-CVoh3twl.js`).then(e=>e.n).then(e=>e.default),"./themes/vue_ui_dumbbell.json":()=>import(`./vue_ui_dumbbell-BMcxK0N3.js`).then(e=>e.n).then(e=>e.default),"./themes/vue_ui_flow.json":()=>import(`./vue_ui_flow-kvV56Es9.js`).then(e=>e.n).then(e=>e.default),"./themes/vue_ui_funnel.json":()=>import(`./vue_ui_funnel-CaEV5hG7.js`).then(e=>e.n).then(e=>e.default),"./themes/vue_ui_galaxy.json":()=>import(`./vue_ui_galaxy-B94QInxc.js`).then(e=>e.n).then(e=>e.default),"./themes/vue_ui_gauge.json":()=>import(`./vue_ui_gauge-BJhb6yqE.js`).then(e=>e.n).then(e=>e.default),"./themes/vue_ui_geo.json":()=>import(`./vue_ui_geo-DL1SMQHp.js`).then(e=>e.n).then(e=>e.default),"./themes/vue_ui_graph.json":()=>import(`./vue_ui_graph-B1ACwQj7.js`).then(e=>e.n).then(e=>e.default),"./themes/vue_ui_heatmap.json":()=>import(`./vue_ui_heatmap-kh5NMmwf.js`).then(e=>e.n).then(e=>e.default),"./themes/vue_ui_hill.json":()=>import(`./vue_ui_hill-DQi4pQCG.js`).then(e=>e.n).then(e=>e.default),"./themes/vue_ui_history_plot.json":()=>import(`./vue_ui_history_plot-soyqUW4Y.js`).then(e=>e.n).then(e=>e.default),"./themes/vue_ui_horizontal_bar.json":()=>import(`./vue_ui_horizontal_bar-C4ulIxeT.js`).then(e=>e.n).then(e=>e.default),"./themes/vue_ui_label.json":()=>import(`./vue_ui_label-dtPqyFsj.js`).then(e=>e.n).then(e=>e.default),"./themes/vue_ui_molecule.json":()=>import(`./vue_ui_molecule-Bw1UW1Na.js`).then(e=>e.n).then(e=>e.default),"./themes/vue_ui_mood_radar.json":()=>import(`./vue_ui_mood_radar-CXaBdJnv.js`).then(e=>e.n).then(e=>e.default),"./themes/vue_ui_nested_donuts.json":()=>import(`./vue_ui_nested_donuts-CRtGsJcz.js`).then(e=>e.n).then(e=>e.default),"./themes/vue_ui_onion.json":()=>import(`./vue_ui_onion-C9BedU_-.js`).then(e=>e.n).then(e=>e.default),"./themes/vue_ui_parallel_coordinate_plot.json":()=>import(`./vue_ui_parallel_coordinate_plot-Cs_xXAG5.js`).then(e=>e.n).then(e=>e.default),"./themes/vue_ui_quadrant.json":()=>import(`./vue_ui_quadrant-BUv-SqzP.js`).then(e=>e.n).then(e=>e.default),"./themes/vue_ui_quick_chart.json":()=>import(`./vue_ui_quick_chart-BRfcRW6Z.js`).then(e=>e.n).then(e=>e.default),"./themes/vue_ui_radar.json":()=>import(`./vue_ui_radar-68iK9Fam.js`).then(e=>e.n).then(e=>e.default),"./themes/vue_ui_relation_circle.json":()=>import(`./vue_ui_relation_circle-Dkv-cSB6.js`).then(e=>e.n).then(e=>e.default),"./themes/vue_ui_ridgeline.json":()=>import(`./vue_ui_ridgeline-Di26JtQu.js`).then(e=>e.n).then(e=>e.default),"./themes/vue_ui_rings.json":()=>import(`./vue_ui_rings-BcDDXHpQ.js`).then(e=>e.n).then(e=>e.default),"./themes/vue_ui_scatter.json":()=>import(`./vue_ui_scatter-C50uFYQL.js`).then(e=>e.n).then(e=>e.default),"./themes/vue_ui_spark_trend.json":()=>import(`./vue_ui_spark_trend-BOM3zo64.js`).then(e=>e.n).then(e=>e.default),"./themes/vue_ui_sparkbar.json":()=>import(`./vue_ui_sparkbar-Bpx7QrFq.js`).then(e=>e.n).then(e=>e.default),"./themes/vue_ui_sparkgauge.json":()=>import(`./vue_ui_sparkgauge-D2Hk6bvS.js`).then(e=>e.n).then(e=>e.default),"./themes/vue_ui_sparkhistogram.json":()=>import(`./vue_ui_sparkhistogram-ChwOkoMb.js`).then(e=>e.n).then(e=>e.default),"./themes/vue_ui_sparkline.json":()=>import(`./vue_ui_sparkline-CvL_e9L8.js`).then(e=>e.n).then(e=>e.default),"./themes/vue_ui_sparkstackbar.json":()=>import(`./vue_ui_sparkstackbar-Chtog7hC.js`).then(e=>e.n).then(e=>e.default),"./themes/vue_ui_stackbar.json":()=>import(`./vue_ui_stackbar-BkBIi_bL.js`).then(e=>e.n).then(e=>e.default),"./themes/vue_ui_stackline.json":()=>import(`./vue_ui_stackline-D7b63K84.js`).then(e=>e.n).then(e=>e.default),"./themes/vue_ui_strip_plot.json":()=>import(`./vue_ui_strip_plot-CwMowrhT.js`).then(e=>e.n).then(e=>e.default),"./themes/vue_ui_table_heatmap.json":()=>import(`./vue_ui_table_heatmap-vfeY6r97.js`).then(e=>e.n).then(e=>e.default),"./themes/vue_ui_table_sparkline.json":()=>import(`./vue_ui_table_sparkline-Dlfbza49.js`).then(e=>e.n).then(e=>e.default),"./themes/vue_ui_thermometer.json":()=>import(`./vue_ui_thermometer-CRijq6H6.js`).then(e=>e.n).then(e=>e.default),"./themes/vue_ui_tiremarks.json":()=>import(`./vue_ui_tiremarks-8HFfABNF.js`).then(e=>e.n).then(e=>e.default),"./themes/vue_ui_treemap.json":()=>import(`./vue_ui_treemap-Bv4Rdl5_.js`).then(e=>e.n).then(e=>e.default),"./themes/vue_ui_vertical_bar.json":()=>import(`./vue_ui_vertical_bar-BLyflvlz.js`).then(e=>e.default),"./themes/vue_ui_waffle.json":()=>import(`./vue_ui_waffle-BbBLSluB.js`).then(e=>e.n).then(e=>e.default),"./themes/vue_ui_wheel.json":()=>import(`./vue_ui_wheel-C-479bvJ.js`).then(e=>e.n).then(e=>e.default),"./themes/vue_ui_word_cloud.json":()=>import(`./vue_ui_word_cloud-DBiJtSyL.js`).then(e=>e.n).then(e=>e.default),"./themes/vue_ui_xy.json":()=>import(`./vue_ui_xy-CJBM9F6W.js`).then(e=>e.n).then(e=>e.default),"./themes/vue_ui_xy_canvas.json":()=>import(`./vue_ui_xy_canvas-CT-FN9rU.js`).then(e=>e.n).then(e=>e.default)})).map(([e,t])=>{let n=e.match(/\/themes\/(.+)\.json$/);return[n?n[1]:e,t]})),s}var l=/* @__PURE__ */ new Map,u=async e=>{let t=c()[e];if(!t){let e=/* @__PURE__ */ Error(`ENOENT`);throw e.code=`ENOENT`,e}return await t()};async function d(e){if(!e)return null;if(l.has(e))return l.get(e);try{let t=await u(e);return l.set(e,t),t}catch(t){return console.warn(`[getThemeConfig] Missing theme file: ${e}.json`,t),null}}function f(e,t){if(t<=0||e.length<3)return e;let n=e.length,r=Array.from({length:n});for(let i=0;i<n;i+=1){let n=Math.max(0,i-t),a=0;for(let t=n;t<=i;t+=1)a+=e[t].value;r[i]=a/(i-n+1)}let i=Array.from({length:n});for(let r=0;r<n;r+=1){let a=Math.min(n-1,r+t),o=0;for(let t=r;t<=a;t+=1)o+=e[t].value;i[r]=o/(a-r+1)}let a=e.map(e=>({...e}));for(let e=1;e<n-1;e+=1){let t=e/(n-1);a[e].value=(1-t)*r[e]+t*i[e]}return a}function p(e,t){if(t<=0||e.length<3)return e;let n=1/(1+t),r=e.length,i=Array.from({length:r});i[0]=e[0].value;for(let t=1;t<r;t+=1)i[t]=n*e[t].value+(1-n)*i[t-1];let a=Array.from({length:r});a[r-1]=e[r-1].value;for(let t=r-2;t>=0;--t)a[t]=n*e[t].value+(1-n)*a[t+1];let o=e.map(e=>({...e}));for(let e=1;e<r-1;e+=1){let t=e/(r-1);o[e].value=(1-t)*i[e]+t*a[e]}return o}function m(e,t){let n=e;return n=f(n,t.averageWindow),n=p(n,t.smoothingTau),n}function h(e,t=[],n=!0){let r=[];if(e&&typeof e==`object`){if(Array.isArray(e)&&n)return[];for(let i of Object.keys(e)){let a=e[i];if(Array.isArray(a)&&n)continue;let o=t.concat(i);a&&typeof a==`object`?r.push(...h(a,o,n)):r.push(o)}}return r}function g(e,t){return t.reduce((e,t)=>e?.[t],e)}function _(e,t,r){let i=n(e)?e.value:e;for(let e=0;e<t.length-1;e+=1){let n=t[e];(!Object.prototype.hasOwnProperty.call(i,n)||typeof i[n]!=`object`)&&(i[n]={}),i=i[n]}i[t[t.length-1]]=r}function v(e,t,n,r){let i=t.split(r),a=e;for(let e=0;e<i.length-1;e+=1){let t=i[e];a[t]||(a[t]={}),a=a[t]}a[i[i.length-1]]=n}function y(e,n){let{delimiter:a=`.`,skipArrays:o=!0}=n||{},s={};function c(){Object.keys(s).forEach(e=>delete s[e]);let n=h(e.value,[],o);for(let r of n){let n=r.join(a);s[n]=t({get:()=>g(e.value,r),set:t=>_(e.value,r,t)})}}return i(c),c(),r(new Proxy(s,{get(n,r){return typeof r==`string`||r.startsWith(`__v_`)?r in n?Reflect.get(n,r):(v(e.value,r,void 0,a),s[r]=t({get:()=>g(e.value,r),set:t=>_(e.value,r,t)}),r.startsWith(`__v_`)||console.warn(`Vue Data UI - useObjectBindings: no binding found for key "${r}". Please verify you are binding to a property path which exists on the object.`),``):!0},set(n,r,i){return typeof r==`string`||r.startsWith(`__v_`)?r in n?Reflect.set(n,r,i):(v(e.value,r,i,a),s[r]=t({get:()=>g(e.value,r),set:t=>_(e.value,r,t)}),r.startsWith(`__v_`)||console.warn(`Vue Data UI - useObjectBindings: cannot set unknown binding "${r}".`),!0):!0}}))}export{o as i,m as n,d as r,y as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{ref as e}from"vue";function t({elementId:t,fileName:n,canPrint:r=!0,options:i}){let a=e(!1),o=e(!1),s=e(null);async function c(){r&&!a.value&&(a.value=!0,clearTimeout(s.value),s.value=setTimeout(async()=>{if(r)try{let{default:e}=await import(`./pdf-
|
|
1
|
+
import{ref as e}from"vue";function t({elementId:t,fileName:n,canPrint:r=!0,options:i}){let a=e(!1),o=e(!1),s=e(null);async function c(){r&&!a.value&&(a.value=!0,clearTimeout(s.value),s.value=setTimeout(async()=>{if(r)try{let{default:e}=await import(`./pdf-DAicVFxx.js`);await e({domElement:document.getElementById(t),fileName:n,orientation:i.orientation,overflowTolerance:i.overflowTolerance,scale:i.scale,aspectRatio:i.aspectRatio??null})}catch(e){console.error(`Error generating PDF:`,e)}finally{a.value=!1}},100))}async function l(){r&&!o.value&&(o.value=!0,clearTimeout(s.value),s.value=setTimeout(async()=>{if(r)try{let{default:e}=await import(`./img-D4RQwASc.js`).then(e=>e.n);await e({domElement:document.getElementById(t),fileName:n,format:`png`,scale:i?.scale})}catch(e){console.error(`Error generating image:`,e)}finally{o.value=!1}},100))}return{generatePdf:c,generateImage:l,isPrinting:a,isImaging:o}}export{t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function e({chart:e,title:t=null,slicer:n=null,legend:r=null,source:i=null,noTitle:a=null,padding:o=null}){let s=0,c=0,l=0,u=0,d=0,f=0,p=0,m=0,h=0;if(e){let{height:g,width:_}=e.parentNode.getBoundingClientRect();l=t?t.getBoundingClientRect().height:0,u=n?n.getBoundingClientRect().height:0,d=r?r.getBoundingClientRect().height:0,f=i?i.getBoundingClientRect().height:0,p=a?a.getBoundingClientRect().height:0,o?(m=o.top+o.bottom,h=o.right+o.left):(m=0,h=0),s=g-l-u-d-f-p-m,c=_-h}return{width:c,height:s,heightTitle:l,heightNoTitle:p,heightSource:f,heightNoTitle:p,heightLegend:d}}export{e as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{nextTick as e,onBeforeUnmount as t,onMounted as n,ref as r,shallowRef as i}from"vue";function a(e,t){let n=e.ownerDocument,r=n.createElementNS(`http://www.w3.org/2000/svg`,`svg`);r.setAttribute(`width`,`1`),r.setAttribute(`height`,`1`),r.setAttribute(`viewBox`,`0 0 1 1`),r.setAttribute(`aria-hidden`,`true`),r.style.cssText=`position:fixed;top:0;left:0;visibility:hidden;pointer-events:none;overflow:hidden;`,n.body.appendChild(r);let i=/* @__PURE__ */ new Map;function a(e){if(!e)return{x:0,width:0,height:0,textWidth:0,rotatedWidth:0,leftOverhang:0};if(i.has(e))return i.get(e);let t=e.cloneNode(!0),a=[e,...e.querySelectorAll(`*`)],o=[t,...t.querySelectorAll(`*`)];for(let[e,t]of o.entries()){let r=n.defaultView.getComputedStyle(a[e]);for(let e of[`font-family`,`font-size`,`font-weight`,`font-style`,`font-stretch`,`font-variant`,`font-feature-settings`,`font-kerning`,`letter-spacing`,`word-spacing`,`text-anchor`,`dominant-baseline`,`alignment-baseline`,`baseline-shift`,`text-transform`,`white-space`,`writing-mode`])t.style.setProperty(e,r.getPropertyValue(e),`important`);t.removeAttribute(`id`),t.removeAttribute(`data-cy`),t.style.setProperty(`transition`,`none`,`important`),t.style.setProperty(`animation`,`none`,`important`)}r.appendChild(t);let s=t.getBBox(),c=t.matches(`text`)?[t]:[...t.querySelectorAll(`text`)],l={x:s.x,width:s.width,height:s.height,textWidth:Math.max(0,...c.map(e=>e.getComputedTextLength())),rotatedWidth:t.getBoundingClientRect().width,leftOverhang:Math.max(0,...c.map(e=>{let t=e.getBBox(),n=e.getCTM?.()||{a:1,c:0},r=e.x?.baseVal?.[0]?.value||0,i=e.y?.baseVal?.[0]?.value||0;return-Math.min(...[t.x,t.x+t.width].flatMap(e=>[t.y,t.y+t.height].map(t=>n.a*(e-r)+n.c*(t-i))))}))};return i.set(e,l),l}try{return t(a)}finally{r.remove()}}function o({svgRef:o,measure:s,canMeasure:c,initialMetrics:l={scaleLabelsWidth:0,yAxisLabelWidth:0,xAxisLabelHeight:0,timeLabelsHeight:0,right:0}}){let u=i({...l}),d=r(!1),f=r(!0),p=!1,m=!1,h,g=!1,_=0,v=0,y,b,x=0,S=/* @__PURE__ */ new Set;function C(){x||p||(x=requestAnimationFrame(()=>{x=0,E()}))}function w(e){let t=o.value?.ownerDocument.defaultView;if(!y&&t?.MutationObserver&&(y=new t.MutationObserver(E)),!b&&t?.ResizeObserver&&(b=new t.ResizeObserver(C)),!(e.size===S.size&&[...e].every(e=>S.has(e)))){y?.disconnect(),b?.disconnect(),S=e;for(let t of e)y?.observe(t,{subtree:!0,childList:!0,characterData:!0,attributes:!0}),b?.observe(t)}}function T(){m=!1,h.ready.then(()=>{m=!0,E()})}function E(){if(p||!m||!o.value||!c())return;let t;try{let e=/* @__PURE__ */ new Set;t=a(o.value,t=>s(n=>(n&&e.add(n),t(n)))),t!=null&&w(e)}catch{return}if(t==null){e(E);return}if(h?.status===`loading`){T();return}if(!Object.values(t).every(Number.isFinite))return;let n=Object.keys(t).some(e=>Math.abs(t[e]-u.value[e])>.25);if(n&&(u.value=t),!d.value&&n){if(!g){g=!0;let t=()=>{g=!1,E()};++_<4?e(t):(_=0,v=requestAnimationFrame(t))}}else(d.value||!g)&&(d.value=!0,f.value=!1)}return n(()=>{h=o.value?.ownerDocument.fonts,h?.addEventListener(`loadingdone`,E),h?.status===`loading`?T():(m=!0,E())}),t(()=>{p=!0,cancelAnimationFrame(v),cancelAnimationFrame(x),y?.disconnect(),b?.disconnect(),S.clear(),h?.removeEventListener(`loadingdone`,E)}),{metrics:u,ready:d,settling:f,update:E}}export{o as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{nextTick as e,watch as t}from"vue";function n({timeLabelsEls:n,timeLabels:r,slicer:i,configRef:a,rotationPath:o,autoRotatePath:s,isAutoSize:c,setViewBox:l,forceResizeObserver:u,callback:d,targetClass:f=`.vue-data-ui-time-label`,rotation:p=-30.0001,height:m=null,width:h=null,resizeDebounceMs:g=200}){function _(e,t){return t.reduce((e,t)=>e&&e[t],e)}function v(e,t,n){t.slice(0,-1).reduce((e,t)=>e[t],e)[t.slice(-1)]=n}function y(e){let t=/translate\(\s*([^\s,]+)\s*,\s*([^\s,]+)\s*\)/.exec(e);return t?{x:parseFloat(t[1]),y:parseFloat(t[2])}:{x:0,y:0}}function b(){let e=n.value;if(!e)return!1;let t=Array.from(e.querySelectorAll(f)).map(e=>({...y(e.getAttribute(`transform`)),width:e.getBBox().width})),r=!1;for(let e=0;e<t.length&&!r;e+=1)for(let n=e+1;n<t.length;n+=1){let i=t[e],a=t[n];if(!(i.x+i.width+4<a.x||a.x+a.width+4<i.x)){r=!0;break}}let i=_(a.value,o);return r&&!i?(v(a.value,o,p),d&&d({collision:r}),c.value&&l&&u&&(l(),u()),!0):!r&&i===p&&(v(a.value,o,0),d&&d({collision:r}),!0)}async function x(){return await e(),b()}function S(e,t){let n;return(...r)=>{clearTimeout(n),n=setTimeout(()=>e(...r),t)}}let C=S(x,g);return m&&h&&t([()=>h.value,()=>m.value],async([e,t],[n,r])=>{_(a.value,s)&&((e!==n||t!==r)&&g>0?C():await x())}),t([()=>r.value,()=>_(a.value,o),()=>i.value.start,()=>i.value.end],async([,,e,t],[,,n,r])=>{_(a.value,s)&&(e!==n||t!==r?C():await x())},{immediate:!0}),{detectTimeLabelCollision:x,detectTimeLabelCollisionNow:b}}export{n as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{computed as e,isRef as t,onMounted as n,onUnmounted as r,ref as i,watch as a}from"vue";function o(e){return typeof e==`function`?e():t(e)?e.value:e}function s({config:t,dataset:s}){let c=e(()=>o(t)??{}),l=e(()=>o(s)),u=i(!!c.value.enable),d=null,f=null;function p(){d!==null&&(clearTimeout(d),d=null)}function m(){p();let e=c.value,t=!!e.enable,n=Number(e.activationDelayMs)||0;!t||n<=0?u.value=t:(u.value=!1,d=setTimeout(()=>{u.value=!!c.value.enable,d=null},n))}function h(e){f?.(),f=null,e&&(f=a(l,m,{deep:!0}))}return a(()=>c.value.pauseOnDatasetChange,h,{immediate:!0}),a(()=>c.value.enable,e=>{p(),u.value=!!e}),a(()=>c.value.activationDelayMs,()=>{d!==null&&m()}),n(()=>{c.value.pauseOnLoad&&m()}),r(()=>{p(),f?.()}),{transitionEnabled:u,pause:m}}export{s as t};
|
package/dist/utils.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{E as e,P as t,U as n,Z as r,bt as i,ft as a,ht as o,mt as s,n as c,q as l,r as u}from"./lib-
|
|
1
|
+
import{E as e,P as t,U as n,Z as r,bt as i,ft as a,ht as o,mt as s,n as c,q as l,r as u}from"./lib-rPeBMZrn.js";import{a as d,i as f,n as p,o as m,r as h,t as g}from"./exposedLib-BRtClmZy.js";import{t as _}from"./patternUtils-_q3ArM3g.js";import{i as v,n as y,r as b,t as x}from"./useObjectBindings-DiMX4HGv.js";var S={applyDataCorrection:y,getVueDataUiConfig:v,getThemeConfig:b,abbreviate:c,createPatternDef:_,createSmoothPath:t,createStraightPath:n,createTSpans:l,createWordCloudDatasetFromPlainText:r,formatSmallValue:a,getCumulativeAverage:s,getCumulativeMedian:o,getPalette:i,lightenColor:h,darkenColor:p,shiftColorHue:m,mergeConfigs:d,useObjectBindings:x,adaptColorToBackground:u,average:g,median:f};export{c as abbreviate,u as adaptColorToBackground,y as applyDataCorrection,g as average,e as createColorWheel,_ as createPatternDef,t as createSmoothPath,n as createStraightPath,l as createTSpans,r as createWordCloudDatasetFromPlainText,p as darkenColor,S as default,a as formatSmallValue,s as getCumulativeAverage,o as getCumulativeMedian,i as getPalette,b as getThemeConfig,v as getVueDataUiConfig,h as lightenColor,f as median,d as mergeConfigs,m as shiftColorHue,x as useObjectBindings};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{t as e}from"./rolldown-runtime-DK3Fl9T5.js";import{t}from"./BaseIcon-Cm-IJ179.js";import{computed as n,createBlock as r,createCommentVNode as i,createElementBlock as a,createElementVNode as o,createSlots as s,createTextVNode as c,defineAsyncComponent as l,guardReactiveProps as u,mergeProps as d,normalizeProps as f,normalizeStyle as p,onMounted as m,openBlock as h,ref as g,renderList as _,renderSlot as v,resolveDynamicComponent as y,toDisplayString as b,useAttrs as x,watch as S,withCtx as C}from"vue";var w=/* @__PURE__ */ e({default:()=>E}),T={style:{width:`36px`}},E=/*@__PURE__*/ Object.assign({inheritAttrs:!1},{__name:`vue-data-ui`,props:{component:{type:String},dataset:{type:[Object,Array,Number,String]},config:{type:Object}},setup(e,{expose:w}){let E=e,D=x(),O={VueUiGraph:l(()=>import(`./vue-ui-graph-BB_97Qz7.js`).then(e=>e.n)),VueUi3dBar:l(()=>import(`./vue-ui-3d-bar-CW8ahywt.js`).then(e=>e.n)),VueUiAgePyramid:l(()=>import(`./vue-ui-age-pyramid-CxMwKICA.js`).then(e=>e.n)),VueUiAnnotator:l(()=>import(`./vue-ui-annotator-CdCDYzdK.js`).then(e=>e.n)),VueUiCandlestick:l(()=>import(`./vue-ui-candlestick-CyewIjJk.js`).then(e=>e.n)),VueUiChestnut:l(()=>import(`./vue-ui-chestnut-nS1vjCqH.js`).then(e=>e.n)),VueUiDashboard:l(()=>import(`./vue-ui-dashboard-B5zrGAvS.js`).then(e=>e.n)),VueUiDigits:l(()=>import(`./vue-ui-digits-DXQwmTUx.js`).then(e=>e.n)),VueUiDonut:l(()=>import(`./vue-ui-donut-CDryub1L.js`).then(e=>e.n)),VueUiDonutEvolution:l(()=>import(`./vue-ui-donut-evolution-C5pHSrza.js`).then(e=>e.n)),VueUiGalaxy:l(()=>import(`./vue-ui-galaxy-U_ZIP5vm.js`).then(e=>e.n)),VueUiGauge:l(()=>import(`./vue-ui-gauge-Dr4zsf6D.js`).then(e=>e.n)),VueUiHeatmap:l(()=>import(`./vue-ui-heatmap-DEBbVnrg.js`).then(e=>e.n)),VueUiKpi:l(()=>import(`./vue-ui-kpi-CltKSYUI.js`).then(e=>e.n)),VueUiMiniLoader:l(()=>import(`./vue-ui-mini-loader-7gqQI5jy.js`).then(e=>e.n)),VueUiMolecule:l(()=>import(`./vue-ui-molecule-DtoyWWTf.js`).then(e=>e.n)),VueUiMoodRadar:l(()=>import(`./vue-ui-mood-radar-ClOxfeH8.js`).then(e=>e.n)),VueUiNestedDonuts:l(()=>import(`./vue-ui-nested-donuts-CULAXTg1.js`).then(e=>e.n)),VueUiOnion:l(()=>import(`./vue-ui-onion-D7zu861i.js`).then(e=>e.n)),VueUiQuadrant:l(()=>import(`./vue-ui-quadrant-DWAb_t6r.js`).then(e=>e.n)),VueUiRadar:l(()=>import(`./vue-ui-radar-BWG_N0xO.js`).then(e=>e.n)),VueUiRating:l(()=>import(`./vue-ui-rating-CV2b0tjA.js`).then(e=>e.n)),VueUiRelationCircle:l(()=>import(`./vue-ui-relation-circle-BCRiS2n6.js`).then(e=>e.n)),VueUiRings:l(()=>import(`./vue-ui-rings-Dl0AjrRj.js`).then(e=>e.n)),VueUiScatter:l(()=>import(`./vue-ui-scatter-DTa48HvG.js`).then(e=>e.n)),VueUiSkeleton:l(()=>import(`./vue-ui-skeleton-C5mGG8hR.js`).then(e=>e.n)),VueUiSmiley:l(()=>import(`./vue-ui-smiley-VTdQetY0.js`).then(e=>e.n)),VueUiSparkbar:l(()=>import(`./vue-ui-sparkbar-BS5v3HMo.js`).then(e=>e.n)),VueUiSparkgauge:l(()=>import(`./vue-ui-sparkgauge-B1TGfXvR.js`).then(e=>e.n)),VueUiSparkHistogram:l(()=>import(`./vue-ui-sparkhistogram-Cs97AL6h.js`).then(e=>e.n)),VueUiSparkline:l(()=>import(`./vue-ui-sparkline-Bp9J6x7z.js`).then(e=>e.n)),VueUiSparkStackbar:l(()=>import(`./vue-ui-sparkstackbar-BVuuRD10.js`).then(e=>e.n)),VueUiTable:l(()=>import(`./vue-ui-table-D_UdQwV3.js`).then(e=>e.n)),VueUiTableSparkline:l(()=>import(`./vue-ui-table-sparkline-BdNo8fW_.js`).then(e=>e.n)),VueUiThermometer:l(()=>import(`./vue-ui-thermometer-TFg1SGY7.js`).then(e=>e.n)),VueUiTiremarks:l(()=>import(`./vue-ui-tiremarks-HWuO-eyj.js`).then(e=>e.n)),VueUiTreemap:l(()=>import(`./vue-ui-treemap-IegiAqaX.js`).then(e=>e.n)),VueUiVerticalBar:l(()=>import(`./vue-ui-horizontal-bar-D0kfcpEW.js`).then(e=>e.n)),VueUiHorizontalBar:l(()=>import(`./vue-ui-horizontal-bar-D0kfcpEW.js`).then(e=>e.n)),VueUiWaffle:l(()=>import(`./vue-ui-waffle-BEyGfPks.js`).then(e=>e.n)),VueUiWheel:l(()=>import(`./vue-ui-wheel-k8GNPGET.js`).then(e=>e.n)),VueUiXy:l(()=>import(`./vue-ui-xy-CFgFg11v.js`).then(e=>e.n)),VueUiTableHeatmap:l(()=>import(`./vue-ui-table-heatmap-BtziURiu.js`).then(e=>e.n)),VueUiAccordion:l(()=>import(`./vue-ui-accordion-S3nRtTU-.js`).then(e=>e.n)),VueUiQuickChart:l(()=>import(`./vue-ui-quick-chart-oDZwgVo8.js`).then(e=>e.n)),VueUiCursor:l(()=>import(`./vue-ui-cursor-CNv12HQG.js`).then(e=>e.n)),VueUiSparkTrend:l(()=>import(`./vue-ui-spark-trend--frxeJ8f.js`).then(e=>e.n)),VueUiStripPlot:l(()=>import(`./vue-ui-strip-plot-D-aRJkR7.js`).then(e=>e.n)),VueUiDumbbell:l(()=>import(`./vue-ui-dumbbell-CQbGR7yM.js`).then(e=>e.n)),VueUiWordCloud:l(()=>import(`./vue-ui-word-cloud-D9_15Ve7.js`).then(e=>e.n)),VueUiXyCanvas:l(()=>import(`./vue-ui-xy-canvas-CeC3gcrW.js`).then(e=>e.n)),VueUiFlow:l(()=>import(`./vue-ui-flow-B16Mj6MW.js`).then(e=>e.n)),VueUiParallelCoordinatePlot:l(()=>import(`./vue-ui-parallel-coordinate-plot-Cjbc-WUG.js`).then(e=>e.n)),VueUiTimer:l(()=>import(`./vue-ui-timer-BdPksC26.js`).then(e=>e.n)),VueUiCarouselTable:l(()=>import(`./vue-ui-carousel-table-D0dD4kai.js`).then(e=>e.n)),VueUiGizmo:l(()=>import(`./vue-ui-gizmo-CssVcz-O.js`).then(e=>e.n)),VueUiStackbar:l(()=>import(`./vue-ui-stackbar-CRuXn3XI.js`).then(e=>e.n)),VueUiStackline:l(()=>import(`./vue-ui-stackline-Besmr9vq.js`).then(e=>e.n)),VueUiBullet:l(()=>import(`./vue-ui-bullet-ClnewIWQ.js`).then(e=>e.n)),VueUiFunnel:l(()=>import(`./vue-ui-funnel-Dh-xi_Qi.js`).then(e=>e.n)),VueUiHistoryPlot:l(()=>import(`./vue-ui-history-plot-CsBTJXR3.js`).then(e=>e.n)),VueUiCirclePack:l(()=>import(`./vue-ui-circle-pack-DEY9X3jA.js`).then(e=>e.n)),VueUiWorld:l(()=>import(`./vue-ui-world-rCp5Vb7u.js`).then(e=>e.n)),VueUiRidgeline:l(()=>import(`./vue-ui-ridgeline-VYcGUP_p.js`).then(e=>e.n)),VueUiChord:l(()=>import(`./vue-ui-chord-B963Q_26.js`).then(e=>e.n)),VueUiDag:l(()=>import(`./vue-ui-dag-s3-TMmid.js`).then(e=>e.n)),VueUiGeo:l(()=>import(`./vue-ui-geo-DFebja0s.js`).then(e=>e.n)),VueUiBump:l(()=>import(`./vue-ui-bump-C6FuNDUg.js`).then(e=>e.n)),VueUiHill:l(()=>import(`./vue-ui-hill-C1sHz3TI.js`).then(e=>e.n)),VueUiLabel:l(()=>import(`./vue-ui-label-B_1kM28r.js`).then(e=>e.n))},k=/* @__PURE__ */ new Set([`VueUiMiniLoader`,`VueUiSkeleton`,`VueUiAccordion`,`VueUiCursor`,`VueUiTimer`]),A=/* @__PURE__ */ `fitToView.focusNode.resetLayout.autoSize.cancel.close.copyAlt.focusLocation.generateCsv.generateImage.generatePdf.generateSvg.getItemsPositions.hideSeries.lap.pause.pauseAnimation.recalculateHeight.reset.resetZoom.restart.restoreOrder.resumeAnimation.save.selectGroup.selectNode.selectRibbon.setZoomState.shoot.showSeries.start.switchOrientation.toggleAnimation.toggleAnnotator.toggleLabels.toggleLock.toggleReadonly.toggleSort.toggleStack.toggleTable.toggleFullscreen.toggleTooltip.toggleZoom.zoomIn.zoomOut`.split(`.`),j=g(null),M=n(()=>!O[E.component]),N=n(()=>O[E.component]||null);function P(){let e={...D,config:E.config};return k.has(E.component)||(e.dataset=E.dataset),e}let F=[];function I(e,t){return new Promise((n,r)=>{F.push({method:e,args:t,resolve:n,reject:r})})}function L(e){return/* @__PURE__ */ Error(`Method "${e}" not found on ${E.component}`)}function R(e,t){let n=j.value;if(!n)return null;let r=n[e];return typeof r==`function`?r.apply(n,t):null}function z(e,t){let n=j.value;if(!n)return I(e,t);let r=n[e];return typeof r==`function`?r.apply(n,t):Promise.reject(L(e))}S(j,e=>{if(e)for(;F.length;){let{method:t,args:n,resolve:r,reject:i}=F.shift(),a=e[t];typeof a==`function`?Promise.resolve().then(()=>a.apply(e,n)).then(r).catch(i):i(L(t))}}),w({getData(...e){return z(`getData`,e)},getImage(e={}){let{scale:t=2}=e;return z(`getImage`,[{scale:t}])},...Object.fromEntries(A.map(e=>[e,(...t)=>R(e,t)]))}),m(()=>{M.value&&console.error(`\n\nVue Data UI exception:\nThe provided component "${E.component}" does not exist. Check the spelling.\n\nAvailable components:\n\n${Object.keys(O).map(e=>`. ${e}\n`).join(``)}`)});let B=n(()=>{let e=`The provided component ${E.component} does not exist.`;return[`VueUiIcon`,`VueUiPattern`,`Arrow`].includes(E.component)?(e=`${E.component} is not supported by the VueDataUi universal component. You must import it individually.`,console.warn(e),{status:`notSupported`,message:e}):(console.warn(e),{status:`unknown`,message:e})});return(e,n)=>M.value?(h(),a(`div`,{key:0,style:p({width:`100%`,display:`flex`,gap:`6px`,alignItems:`center`,color:B.value.status===`notSupported`?`#FF9000`:`#FF0000`})},[o(`div`,T,[B.value.status===`unknown`?(h(),r(t,{key:0,name:`moodFlat`,stroke:`#FF0000`})):i(``,!0),B.value.status===`notSupported`?(h(),r(t,{key:1,name:`circleExclamation`,stroke:`#FF9000`})):i(``,!0)]),c(` `+b(B.value.message),1)],4)):(h(),r(y(N.value),d({key:1,ref_key:`currentComponentRef`,ref:j},P()),s({_:2},[_(e.$slots,(t,n)=>({name:n,fn:C(t=>[v(e.$slots,n,f(u(t)))])}))]),1040))}});export{w as n,E as t};
|
package/dist/vue-data-ui.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{E as e,P as t,U as ee,Z as n,bt as r,ft as i,ht as a,mt as o,n as s,q as c}from"./lib-
|
|
1
|
+
import{E as e,P as t,U as ee,Z as n,bt as r,ft as i,ht as a,mt as o,n as s,q as c}from"./lib-rPeBMZrn.js";import{t as l}from"./vue-ui-graph-BB_97Qz7.js";import{a as u,i as d,n as f,o as p,r as m,t as h}from"./exposedLib-BRtClmZy.js";import{t as g}from"./BaseIcon-Cm-IJ179.js";import{t as _}from"./vue-ui-xy-CFgFg11v.js";import{t as v}from"./vue-ui-accordion-S3nRtTU-.js";import{t as y}from"./Arrow-CITPKnWF.js";import{t as b}from"./vue-ui-3d-bar-CW8ahywt.js";import{t as x}from"./vue-ui-age-pyramid-CxMwKICA.js";import{t as S}from"./vue-ui-annotator-CdCDYzdK.js";import{t as C}from"./vue-ui-candlestick-CyewIjJk.js";import{t as w}from"./vue-ui-chestnut-nS1vjCqH.js";import{t as T}from"./vue-ui-cursor-CNv12HQG.js";import{t as E}from"./vue-ui-dashboard-B5zrGAvS.js";import{t as D}from"./vue-ui-digits-DXQwmTUx.js";import{t as O}from"./vue-ui-donut-CDryub1L.js";import{t as k}from"./vue-ui-donut-evolution-C5pHSrza.js";import{t as A}from"./vue-ui-dumbbell-CQbGR7yM.js";import{t as j}from"./vue-ui-flow-B16Mj6MW.js";import{t as M}from"./vue-ui-galaxy-U_ZIP5vm.js";import{t as N}from"./vue-ui-gauge-Dr4zsf6D.js";import{t as P}from"./vue-ui-heatmap-DEBbVnrg.js";import{t as F}from"./vue-ui-kpi-CltKSYUI.js";import{t as I}from"./vue-ui-mini-loader-7gqQI5jy.js";import{t as L}from"./vue-ui-molecule-DtoyWWTf.js";import{t as R}from"./vue-ui-mood-radar-ClOxfeH8.js";import{t as z}from"./vue-ui-nested-donuts-CULAXTg1.js";import{t as B}from"./vue-ui-onion-D7zu861i.js";import{t as V}from"./vue-ui-parallel-coordinate-plot-Cjbc-WUG.js";import{t as H}from"./vue-ui-quadrant-DWAb_t6r.js";import{t as U}from"./vue-ui-quick-chart-oDZwgVo8.js";import{t as W}from"./vue-ui-radar-BWG_N0xO.js";import{t as G}from"./vue-ui-rating-CV2b0tjA.js";import{t as K}from"./vue-ui-relation-circle-BCRiS2n6.js";import{t as q}from"./vue-ui-rings-Dl0AjrRj.js";import{t as J}from"./vue-ui-scatter-DTa48HvG.js";import{t as te}from"./vue-ui-skeleton-C5mGG8hR.js";import{t as Y}from"./vue-ui-smiley-VTdQetY0.js";import{t as X}from"./vue-ui-sparkhistogram-Cs97AL6h.js";import{t as Z}from"./vue-ui-sparkstackbar-BVuuRD10.js";import{t as Q}from"./vue-ui-spark-trend--frxeJ8f.js";import{t as ne}from"./vue-ui-sparkbar-BS5v3HMo.js";import{t as re}from"./vue-ui-sparkgauge-B1TGfXvR.js";import{t as ie}from"./vue-ui-sparkline-Bp9J6x7z.js";import{t as ae}from"./vue-ui-strip-plot-D-aRJkR7.js";import{t as oe}from"./vue-ui-table-D_UdQwV3.js";import{t as se}from"./vue-ui-table-heatmap-BtziURiu.js";import{t as ce}from"./vue-ui-table-sparkline-BdNo8fW_.js";import{t as le}from"./vue-ui-thermometer-TFg1SGY7.js";import{t as ue}from"./vue-ui-timer-BdPksC26.js";import{t as de}from"./vue-ui-tiremarks-HWuO-eyj.js";import{t as fe}from"./vue-ui-treemap-IegiAqaX.js";import{t as $}from"./vue-ui-horizontal-bar-D0kfcpEW.js";import{t as pe}from"./vue-ui-waffle-BEyGfPks.js";import{t as me}from"./vue-ui-wheel-k8GNPGET.js";import{t as he}from"./vue-ui-word-cloud-D9_15Ve7.js";import{t as ge}from"./vue-ui-xy-canvas-CeC3gcrW.js";import{t as _e}from"./vue-ui-carousel-table-D0dD4kai.js";import{t as ve}from"./vue-ui-gizmo-CssVcz-O.js";import{t as ye}from"./vue-ui-stackbar-CRuXn3XI.js";import{t as be}from"./vue-ui-stackline-Besmr9vq.js";import{t as xe}from"./vue-ui-bullet-ClnewIWQ.js";import{t as Se}from"./vue-ui-funnel-Dh-xi_Qi.js";import{t as Ce}from"./vue-ui-history-plot-CsBTJXR3.js";import{t as we}from"./vue-ui-pattern-DrPCu32G.js";import{t as Te}from"./vue-ui-circle-pack-DEY9X3jA.js";import{t as Ee}from"./vue-ui-world-rCp5Vb7u.js";import{t as De}from"./vue-ui-ridgeline-VYcGUP_p.js";import{t as Oe}from"./vue-ui-chord-B963Q_26.js";import{t as ke}from"./vue-ui-dag-s3-TMmid.js";import{t as Ae}from"./vue-data-ui-CxiWUtNw.js";import{t as je}from"./vue-ui-geo-DFebja0s.js";import{t as Me}from"./vue-ui-bump-C6FuNDUg.js";import{t as Ne}from"./vue-ui-hill-C1sHz3TI.js";import{t as Pe}from"./patternUtils-_q3ArM3g.js";import{t as Fe}from"./vue-ui-pattern-seed-B8YjAAEH.js";import{t as Ie}from"./vue-ui-label-B_1kM28r.js";import{i as Le,n as Re,r as ze,t as Be}from"./useObjectBindings-DiMX4HGv.js";import{t as Ve}from"./useTooltipPosition-aoV8pZZ9.js";export{y as Arrow,Ae as VueDataUi,b as VueUi3dBar,v as VueUiAccordion,x as VueUiAgePyramid,S as VueUiAnnotator,xe as VueUiBullet,Me as VueUiBump,C as VueUiCandlestick,_e as VueUiCarouselTable,w as VueUiChestnut,Oe as VueUiChord,Te as VueUiCirclePack,T as VueUiCursor,ke as VueUiDag,E as VueUiDashboard,D as VueUiDigits,O as VueUiDonut,k as VueUiDonutEvolution,A as VueUiDumbbell,j as VueUiFlow,Se as VueUiFunnel,M as VueUiGalaxy,N as VueUiGauge,je as VueUiGeo,ve as VueUiGizmo,l as VueUiGraph,P as VueUiHeatmap,Ne as VueUiHill,Ce as VueUiHistoryPlot,$ as VueUiHorizontalBar,$ as VueUiVerticalBar,g as VueUiIcon,F as VueUiKpi,Ie as VueUiLabel,I as VueUiMiniLoader,L as VueUiMolecule,R as VueUiMoodRadar,z as VueUiNestedDonuts,B as VueUiOnion,V as VueUiParallelCoordinatePlot,we as VueUiPattern,Fe as VueUiPatternSeed,H as VueUiQuadrant,U as VueUiQuickChart,W as VueUiRadar,G as VueUiRating,K as VueUiRelationCircle,De as VueUiRidgeline,q as VueUiRings,J as VueUiScatter,te as VueUiSkeleton,Y as VueUiSmiley,X as VueUiSparkHistogram,Z as VueUiSparkStackbar,Q as VueUiSparkTrend,ne as VueUiSparkbar,re as VueUiSparkgauge,ie as VueUiSparkline,ye as VueUiStackbar,be as VueUiStackline,ae as VueUiStripPlot,oe as VueUiTable,se as VueUiTableHeatmap,ce as VueUiTableSparkline,le as VueUiThermometer,ue as VueUiTimer,de as VueUiTiremarks,fe as VueUiTreemap,pe as VueUiWaffle,me as VueUiWheel,he as VueUiWordCloud,Ee as VueUiWorld,_ as VueUiXy,ge as VueUiXyCanvas,s as abbreviate,Re as applyDataCorrection,h as average,e as createColorWheel,Pe as createPatternDef,t as createSmoothPath,ee as createStraightPath,c as createTSpans,n as createWordCloudDatasetFromPlainText,f as darkenColor,i as formatSmallValue,o as getCumulativeAverage,a as getCumulativeMedian,r as getPalette,ze as getThemeConfig,Le as getVueDataUiConfig,m as lightenColor,d as median,u as mergeConfigs,p as shiftColorHue,Be as useObjectBindings,Ve as useTooltipPosition};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import{t as e}from"./rolldown-runtime-DK3Fl9T5.js";import{t}from"./useConfig-6jO1fkp5.js";import{$ as n,D as r,Ft as i,Ht as a,It as o,Jt as s,Q as c,S as l,X as u,at as d,b as f,f as p,h as m,i as h,in as ee,nt as te,p as g,t as ne,w as re,yt as ie,zt as ae}from"./lib-rPeBMZrn.js";import{n as oe,t as se}from"./BaseScanner-8NdoBs7B.js";import{n as ce}from"./useHints-BH9r_0Vd.js";import{t as le}from"./_plugin-vue_export-helper-BDNMzG2s.js";import{n as ue}from"./resolveChartConfig-CIhClE5R.js";import{t as de}from"./img-D4RQwASc.js";import{n as fe}from"./Title-BliHuXfT.js";import{t as pe}from"./useChartExport-BZts4KFb.js";import{n as me,t as he}from"./tableIntegration-CNoJ1CIY.js";import{n as ge,t as _e}from"./annotationSlots-BRR85CqJ.js";import{n as ve,t as ye}from"./userOptionsSlots-DYuo-E5m.js";import{t as be}from"./usePrinter-sVoTzet1.js";import{c as xe}from"./canvas-lib-22VpOI4_.js";import{t as Se}from"./useResponsive-CENUxfEL.js";import{t as _}from"./DefGrad-DKMq1REY.js";import{t as Ce}from"./A11yDataTable-DWNlWXzs.js";import{t as we}from"./useUserOptionState-CXlFnwPv.js";import{t as Te}from"./useChartAccessibility-DOMuYJfm.js";import{t as Ee}from"./vue_ui_3d_bar-DmAve5Ri.js";import{Fragment as v,computed as y,createBlock as b,createCommentVNode as x,createElementBlock as S,createElementVNode as C,createSlots as De,createTextVNode as Oe,createVNode as w,defineAsyncComponent as T,guardReactiveProps as ke,mergeProps as Ae,nextTick as je,normalizeClass as Me,normalizeProps as Ne,normalizeStyle as E,onMounted as Pe,openBlock as D,ref as O,renderList as k,renderSlot as A,resolveDynamicComponent as Fe,toDisplayString as j,toRefs as Ie,unref as M,watch as Le,withCtx as N,withKeys as Re,withModifiers as ze}from"vue";var Be=/* @__PURE__ */ e({default:()=>sn}),Ve=[`id`],He=[`id`],Ue={"aria-live":`polite`,class:`sr-only`},We={style:{position:`relative`}},Ge=[`xmlns`,`viewBox`,`aria-describedby`],Ke=[`width`,`height`],qe={key:1},Je=[`x`,`y`,`font-size`,`font-weight`,`fill`],Ye=[`x`,`y`],Xe=[`cx`,`cy`,`stroke`,`opacity`],Ze=[`d`,`stroke`],Qe=[`d`,`stroke`],$e={key:4},et={key:0},tt=[`stroke-dasharray`,`d`,`stroke`,`stroke-width`],nt=[`stroke-dasharray`,`d`,`stroke`,`stroke-width`],rt=[`stroke-dasharray`,`d`,`stroke`,`stroke-width`],it=[`stroke-dasharray`,`d`,`stroke`,`stroke-width`],at={key:1},ot=[`d`,`stroke`,`stroke-width`,`fill`],st=[`d`,`stroke`,`stroke-width`,`fill`],ct=[`d`,`stroke`,`stroke-width`,`fill`],lt={key:2},ut=[`aria-label`],dt=[`d`,`fill`,`onMouseenter`,`onClick`,`onMouseout`],ft=[`d`,`fill`,`onMouseenter`,`onClick`,`onMouseout`],pt=[`d`,`fill`,`onMouseenter`,`onClick`,`onMouseout`],mt=[`d`,`onMouseenter`,`onClick`,`onMouseout`],ht=[`d`],gt=[`d`,`stroke`],_t=[`onClick`],vt=[`stroke`,`d`],yt=[`cx`,`cy`,`fill`,`stroke`],bt=[`x`,`y`,`width`,`height`],xt=[`x`,`y`,`width`,`height`],St={key:3},Ct=[`d`,`stroke`],wt=[`d`,`fill`,`stroke`],Tt={key:0},Et=[`text-anchor`,`x`,`y`,`fill`,`font-size`,`font-weight`],Dt=[`text-anchor`,`x`,`y`,`fill`,`font-size`,`font-weight`],Ot={key:4},kt=[`d`,`fill`,`stroke`],At={key:5},jt={key:0},Mt=[`stroke-dasharray`,`d`,`stroke`,`stroke-width`],Nt=[`stroke-dasharray`,`d`,`stroke`,`stroke-width`],Pt=[`stroke-dasharray`,`d`,`stroke`,`stroke-width`],Ft=[`stroke-dasharray`,`d`,`stroke`,`stroke-width`],It=[`d`,`stroke`,`stroke-width`,`fill`],Lt=[`d`,`stroke`,`stroke-width`,`fill`],Rt=[`d`],zt={key:1},Bt=[`aria-label`],Vt=[`onMouseenter`,`onClick`,`onMouseout`,`d`,`fill`],Ht=[`onMouseenter`,`onClick`,`onMouseout`,`d`],Ut=[`onMouseenter`,`onClick`,`onMouseout`,`d`,`fill`],Wt=[`onClick`],Gt=[`stroke`,`d`],Kt=[`cx`,`cy`,`fill`,`stroke`],qt=[`x`,`y`,`width`,`height`],Jt=[`x`,`y`,`width`,`height`],Yt={key:3},Xt=[`d`,`stroke`],Zt=[`d`,`fill`,`stroke`],Qt={key:0},$t=[`text-anchor`,`x`,`y`,`fill`,`font-size`,`font-weight`],en=[`text-anchor`,`x`,`y`,`fill`,`font-size`,`font-weight`],tn={key:4},nn=[`d`,`fill`,`stroke`],rn={key:4,class:`vue-data-ui-watermark`},an={key:0},on={key:1},sn=/*#__PURE__*/ le({__name:`vue-ui-3d-bar`,props:{config:{type:Object,default(){return{}}},dataset:{type:Object,default(){return{}}}},emits:[`selectDatapoint`,`copyAlt`],setup(e,{expose:le,emit:Be}){let sn=T(()=>import(`./BaseIcon-Cm-IJ179.js`).then(e=>e.n)),cn=T(()=>import(`./vue-ui-accordion-S3nRtTU-.js`).then(e=>e.n)),ln=T(()=>import(`./DataTable-0Vv-aGHD.js`)),un=T(()=>import(`./PenAndPaper-BGEp-TUm.js`).then(e=>e.t)),dn=T(()=>import(`./UserOptions-uWHV_zPB.js`).then(e=>e.n)),fn=T(()=>import(`./PackageVersion-C4ZM3Vf7.js`).then(e=>e.t)),pn=T(()=>import(`./BaseDraggableDialog-DHgIPVmz.js`).then(e=>e.n)),{vue_ui_3d_bar:mn}=t(),P=e,hn=Be,gn=y(()=>!!P.dataset&&Object.keys(P.dataset).length),F=O(u()),I=O(null),L=O(!1),_n=O(0),vn=O(0),yn=O(null),bn=O(null),xn=O(null),Sn=O(null),R=O(!1),Cn=O(null),wn=O(null),z=O(null),B=O(``),V=O(Nn()),Tn=y(()=>V.value.style),H=y(()=>V.value.style.chart),U=y(()=>V.value.userOptions);ce({config:()=>V.value,dataset:()=>P.dataset,component:`VueUi3dBar`,rules:[{test:e=>e?.series&&e.series.length>8,message:[`👀 The number of series is > 8. Consider:`,``,`▶️ Grouping small values dynamically into a single "Other" series.`,``,`▶️ Using filters to let users choose a maximum number of series to display.`,``,`▶️ Using VueUiHorizontalBar instead to make the dataset breakdown easier to read.`]},{test:e=>e?.series&&e.series.some(e=>e?.breakdown&&e.breakdown.length>6),message:[`👀 Some donut breakdowns have > 6 data points. Consider:`,``,`▶️ Grouping small values dynamically into a single "Other" data point.`]}]});let En=y(()=>V.value.userOptions.useCursorPointer),Dn=y(()=>ee({defaultConfig:{customPalette:[`#808080`,`#ADADAD`,`#DBDBDB`],userOptions:{show:!1},table:{show:!1},style:{chart:{backgroundColor:`#99999930`,color:`#6A6A6A`,bar:{color:`#ADADAD`,stroke:`#6A6A6A`},box:{stroke:`#6A6A6A`}}}},userConfig:V.value.skeletonConfig??{}})),{loading:On,FINAL_DATASET:W}=oe({...Ie(P),FINAL_CONFIG:V,prepareConfig:Nn,callback:()=>{Promise.resolve().then(async()=>{await je(),Hn()})},skeletonDataset:P.config?.skeletonDataset??{series:[{name:`_`,value:21,breakdown:[{name:`_`,value:13},{name:`_`,value:8}]},{name:`_`,value:13,breakdown:[{name:`_`,value:8},{name:`_`,value:5}]},{name:`_`,value:8,breakdown:[{name:`_`,value:5},{name:`_`,value:3}]}]},skeletonConfig:ee({defaultConfig:V.value,userConfig:Dn.value})}),{userOptionsVisible:kn,setUserOptionsVisibility:An,keepUserOptionState:jn}=we({config:V.value}),{svgRef:Mn}=Te({config:V.value.style.chart.title});function Nn(){return ue(P.config,mn,Ee)}Le(()=>P.config,e=>{On.value||(V.value=Nn()),kn.value=!V.value.userOptions.showOnChartHover,Gn(),_n.value+=1,vn.value+=1,G.value.showTable=V.value.table.show},{deep:!0});let{isPrinting:Pn,isImaging:Fn,generatePdf:In,generateImage:Ln}=be({elementId:`3d_bar_${F.value}`,fileName:H.value.title.text||`vue-ui-3d-bar`,options:V.value.userOptions.print}),Rn=y(()=>re(V.value.customPalette)),G=O({showTable:V.value.table.show});Le(V,()=>{G.value={showTable:V.value.table.show}},{immediate:!0});let K=y(()=>W.value.series&&W.value.series.length),zn=O(H.value.box.dimensions.width*(K.value?2:1)),Bn=O(H.value.box.dimensions.height),q=y(()=>({height:Bn.value,width:zn.value,absoluteWidth:zn.value,top:H.value.box.dimensions.top,bottom:H.value.box.dimensions.bottom,left:H.value.box.dimensions.left,right:H.value.box.dimensions.right,perspective:H.value.box.dimensions.perspective})),J=y(()=>{if(K.value){let e=W.value.series.map(e=>e.value||0).reduce((e,t)=>e+t,0),t=W.value.series.map((t,n)=>({...t,seriesIndex:n,id:u(),proportion:(t.value||0)/e,color:l(t.color)||Rn.value[n]||a[n]||a[n%a.length],breakdown:t.breakdown?t.breakdown.sort((e,t)=>t.value-e.value):null})).sort((e,t)=>t.value-e.value),n=[],r=0;for(let e=0;e<t.length;e+=1)n.push({...t[e],fill:qn(r,t[e].proportion,t[e].breakdown,t[e].color)}),r+=t[e].proportion;return n}return null}),Y=y(()=>{let e=q.value.width/2,t=q.value;return{right:`M${e},${t.top} ${t.width-t.right}, ${t.top+t.perspective} ${t.width-t.right},${t.height-t.bottom-t.perspective} ${e},${t.height-t.bottom}`,left:`M${e},${t.top} ${t.left},${t.top+t.perspective} ${t.left},${t.height-t.bottom-t.perspective} ${e},${t.height-t.bottom}`,side:`M${e},${t.height-t.bottom} ${e},${t.top+t.perspective*2}`,topSides:`M${t.left},${t.top+t.perspective} ${e},${t.top+t.perspective*2} ${t.width-t.right},${t.top+t.perspective}`,tubeTop:`M${t.left},${t.top+t.perspective} C ${t.left},${t.top-t.perspective/3} ${t.width-t.right},${t.top-t.perspective/3} ${t.width-t.right},${t.top+t.perspective} C ${t.width-t.right},${t.top+t.perspective*2.3} ${t.left},${t.top+t.perspective*2.3} ${t.left},${t.top+t.perspective}`,tubeLeft:`M${t.left},${t.top+t.perspective} ${t.left},${t.height-t.bottom-t.perspective}`,tubeRight:`M${t.width-t.right},${t.top+t.perspective} ${t.width-t.right},${t.height-t.bottom-t.perspective}`,tubeBottom:`M${t.width-t.right},${t.height-t.bottom-t.perspective} C ${t.width-t.right},${t.height} ${t.left},${t.height} ${t.left},${t.height-t.bottom-t.perspective}`}}),Vn=O(H.value.animation.use?0:W.value.percentage);function Hn(){let e=0,t=H.value.animation.speed,n=.005*H.value.animation.acceleration;function r(){Vn.value+=t+e,e+=n,Vn.value<W.value.percentage?requestAnimationFrame(r):Vn.value=W.value.percentage}H.value.animation.use&&(Vn.value=0,r())}Pe(()=>{Gn(),Hn()});let Un=y(()=>V.value.debug);function Wn(){Un.value&&(ae(P.dataset)?d({componentName:`VueUi3dBar`,type:`dataset`,debug:Un.value}):P.dataset.series?P.dataset.series.forEach((e,t)=>{ie({datasetObject:e,requiredAttributes:[`name`,`value`]}).forEach(e=>{d({componentName:`VueUi3dBar`,type:`datasetSerieAttribute`,property:e,index:t,debug:Un.value})}),e.breakdown&&e.breakdown.forEach((e,n)=>{ie({datasetObject:e,requiredAttributes:[`name`,`value`]}).forEach(e=>{d({componentName:`VueUi3dBar`,type:`datasetSerieAttribute`,property:e,index:`${t} - ${n}`,debug:Un.value})})})}):ie({datasetObject:P.dataset,requiredAttributes:[`percentage`]}).forEach(e=>{d({componentName:`VueUi3dBar`,type:`datasetAttribute`,property:e,debug:Un.value})}))}function Gn(){if(Wn(),V.value.responsive){let e=xe(()=>{let{width:e,height:t}=Se({chart:I.value,title:H.value.title.text?yn.value:null,source:Sn.value});requestAnimationFrame(()=>{Bn.value=t-12,zn.value=e})});bn.value&&(xn.value&&bn.value.unobserve(xn.value),bn.value.disconnect()),bn.value=new ResizeObserver(e),xn.value=I.value.parentNode,bn.value.observe(xn.value)}}let Kn=y(()=>q.value.width/4);function qn(e,t,n,r){let a=q.value.height-q.value.bottom-q.value.top-q.value.perspective*2,{width:s,height:c,bottom:l,right:u,left:d,perspective:f}=q.value,p=K.value?s/4:s/2,m=p*2+d,h=l+a*e,ee=c-h-f-a*t/2,te=ee>q.value.height/2?`top`:`bottom`,g=c*.25,ne=!!n,re=null,ie=null;return ne&&(n=n.map((e,t)=>({...e,value:e.value||0,color:i(r,t/n.length)})),re=o({series:n},s/2+s/5,te===`top`?ee-g:ee+g,s/10,s/10,1.99999,2,1,360,105.25,s/20),ie=o({series:n},s-m+s/14,c-h-f-a*t/2,s/40,s/40,1.99999,2,1,360,105.25,s/40)),{donut:re,miniDonut:ie,donutR:s/20,CENTER_X:p,sidePointer:{x:s-m,x2:s-m+s/14,xText:s-m+s/9,y:c-h-f-a*t/2,topY:c-h-f-a*t,height:a*t},apexBottom:{y:c-h,x:p},apexTop:{y:c-h-a*t,x:p},right:`M${p},${c-h} ${p},${c-h-a*t} ${s-m},${c-h-f-a*t} ${s-m},${c-h-f}Z`,left:`M${p},${c-h} ${p},${c-h-a*t} ${d}, ${c-h-f-a*t} ${d},${c-h-f}Z`,liningTop:`M${d},${c-h-f-a*t} ${p},${c-h-a*t} ${s-m},${c-h-f-a*t}`,liningTopShade:`M${d},${c-h-f-a*t-.5} ${p},${c-h-a*t-.5} ${s-m},${c-h-f-a*t-.5}`,top:`M${p},${c-h-a*t} ${d},${c-h-f-a*t} ${p},${c-h-f*2-a*t} ${s-m},${c-h-f-a*t} Z`,tubeTop:`M${d},${c-h-a*t-f} C ${d},${c-h-a*t-f*2.5} ${s-m},${c-h-a*t-f*2.5} ${s-m},${c-h-a*t-f} C ${s-m},${c-h-a*t+f/2} ${d},${c-h-a*t+f/2} ${d},${c-h-a*t-f}`,bottomTubeTop:`M ${s-m-.5},${c-h-f} C ${s-m-.5},${c-h+f/2} ${d},${c-h+f/2} ${d+.5},${c-h-f}`,tubeBody:`M
|
|
2
|
+
${d},${c-h-a*t-f}
|
|
3
|
+
C ${d},${c-h-a*t+f/2}
|
|
4
|
+
${s-m},${c-h-a*t+f/2}
|
|
5
|
+
${s-m},${c-h-a*t-f}
|
|
6
|
+
L${s-m},${c-h-f}
|
|
7
|
+
C
|
|
8
|
+
${s-m},${c-h+f/2}
|
|
9
|
+
${d},${c-h+f/2}
|
|
10
|
+
${d},${c-h-f}Z`}}let Jn=y(()=>{let e=f(Vn.value/100),t=q.value.height-q.value.bottom-q.value.top-q.value.perspective*2,{width:n,height:r,bottom:i,right:a,left:o,perspective:s}=q.value,c=K.value?n/4:n/2,l=K.value?c*2+o:a,u=i+t*0;return{right:`M${c},${r-u} ${c},${r-u-t*e} ${n-l},${r-u-s-t*e} ${n-l},${r-u-s}Z`,left:`M${c},${r-u} ${c},${r-u-t*e} ${o}, ${r-u-s-t*e} ${o},${r-u-s}Z`,top:`M${c},${r-u-t*e} ${o},${r-u-s-t*e} ${c},${r-u-s*2-t*e} ${n-l},${r-u-s-t*e} Z`,tubeTop:`M${o},${r-u-t*e-s} C ${o},${r-u-t*e-s*2.5} ${n-l},${r-u-t*e-s*2.5} ${n-l},${r-u-t*e-s} C ${n-l},${r-u-t*e+s/2} ${o},${r-u-t*e+s/2} ${o},${r-u-t*e-s}`,tubeBody:`M
|
|
11
|
+
${o},${r-u-t*e-s}
|
|
12
|
+
C ${o},${r-u-t*e+s/2}
|
|
13
|
+
${n-l},${r-u-t*e+s/2}
|
|
14
|
+
${n-l},${r-u-t*e-s}
|
|
15
|
+
L${n-l},${r-s*1.5}
|
|
16
|
+
C
|
|
17
|
+
${n-l},${r}
|
|
18
|
+
${o},${r}
|
|
19
|
+
${o},${r-u-s}Z`}}),X=O(null);function Z(e,t=!1){V.value.events.datapointEnter&&!t&&V.value.events.datapointEnter({datapoint:e,seriesIndex:e.seriesIndex}),V.value.events.datapointClick&&t&&V.value.events.datapointClick({datapoint:e,seriesIndex:e.seriesIndex}),hn(`selectDatapoint`,e);let n=J.value?.findIndex(t=>t.id===e.id)??null;n!==null&&n!==-1&&(z.value=n,B.value=gr(e)),t||(X.value=e.id),t&&L.value&&(L.value=!1),t&&!L.value&&(L.value=!0)}function Q(e){V.value.events.datapointLeave&&V.value.events.datapointLeave({datapoint:e,seriesIndex:e.seriesIndex}),!L.value&&(X.value=null,z.value=null,B.value=``)}function Yn(e,t,n=!1){let r=W.value.series.map(e=>e.value||0).reduce((e,t)=>e+t,0),i=isNaN(e.value/r)?0:e.value/r*100,a=isNaN(e.value/Xn(t))?0:e.value/Xn(t)*100;return n?a:i.toFixed(0)+`%`}function Xn(e){return[...e].map(e=>e.value).reduce((e,t)=>e+t,0)}let Zn=O(!1);function Qn(e){Zn.value=e}function $n(){return K.value?J.value:W.value.percentage}let er=y(()=>K.value?{head:J.value.flatMap(e=>e.breakdown&&e.breakdown.length?[{name:e.name,color:e.color},...e.breakdown.map((t,n)=>({name:t.name,color:i(e.color,n/e.breakdown.length)}))]:{name:e.name,color:e.color}),body:J.value.flatMap(e=>e.breakdown&&e.breakdown.length?[e.value,...e.breakdown.map(e=>e.value)]:e.value)}:null);function tr(e=null){K.value?je(()=>{let t=J.value.map(e=>e.value).reduce((e,t)=>e+t,0),n=er.value.head.map((e,n)=>[[e.name],[er.value.body[n]],[isNaN(er.value.body[n]/t)?`-`:er.value.body[n]/t*100]]),i=[[H.value.title.text],[H.value.title.subtitle.text],[[``],[`val`],[`%`]]].concat(n),a=r(i);e?e(a):te({csvContent:a,title:H.value.title.text||`vue-ui-3d-bar`})}):console.warn(`VueUi3dBar : CSV download is only available in stack mode (providing dataset.series instead of dataset.percentage)`)}let $=y(()=>{if(!K.value||!Array.isArray(J.value)||!J.value.length)return{colNames:[],head:[],body:[],a11yBody:[],config:{th:{backgroundColor:V.value.table.th.backgroundColor,color:V.value.table.th.color,outline:V.value.table.th.outline},td:{backgroundColor:V.value.table.td.backgroundColor,color:V.value.table.td.color,outline:V.value.table.td.outline},breakpoint:V.value.table.responsiveBreakpoint,shape:V.value.style.shape===`tube`?`circle`:`square`}};let e=J.value.reduce((e,t)=>e+t.value,0),t=[`__SUM__`,n({p:H.value.legend.prefix,v:e,s:H.value.legend.suffix,r:V.value.table.td.roundingValue}),`100%`],r=er.value.head.map((t,r)=>{let i=er.value.body[r];return[{color:t.color,name:t.name},n({p:H.value.legend.prefix,v:i,s:H.value.legend.suffix,r:V.value.table.td.roundingValue}),isNaN(i/e)?`-`:n({v:i/e*100,s:`%`,r:V.value.table.td.roundingPercentage})]}),i=r.map(e=>e.map((e,t)=>t===0?e.name:e));return{colNames:[V.value.table.columnNames.series,V.value.table.columnNames.value,V.value.table.columnNames.percentage],head:t,body:r,a11yBody:i,config:{th:{backgroundColor:V.value.table.th.backgroundColor,color:V.value.table.th.color,outline:V.value.table.th.outline},td:{backgroundColor:V.value.table.td.backgroundColor,color:V.value.table.td.color,outline:V.value.table.td.outline},breakpoint:V.value.table.responsiveBreakpoint,shape:V.value.style.shape===`tube`?`circle`:`square`}}});function nr(){G.value.showTable=!G.value.showTable}let rr=O(!1);function ir(){rr.value=!rr.value}async function ar({scale:e=2}={}){if(!I.value)return;let{width:t,height:n}=I.value.getBoundingClientRect(),r=t/n,{imageUri:i,base64:a}=await de({domElement:I.value,base64:!0,img:!0,scale:e});return{imageUri:i,base64:a,title:H.value.title.text,width:t,height:n,aspectRatio:r}}let or=y(()=>he({config:V,style:H,mutableConfig:G,dialog:pn,accordion:cn,isFullscreen:Zn,parent:I,maxWidth:800}));Le(()=>G.value.showTable,e=>me(e,V,Cn));function sr(){G.value.showTable=!1,wn.value&&wn.value.setTableIconState(!1)}let cr=y(()=>V.value.style.chart.backgroundColor),lr=y(()=>V.value.style.chart.title),{isCallbackImaging:ur,isCallbackSvg:dr,generateSvg:fr,onGenerateImage:pr}=pe({svg:Mn,title:lr,legend:null,legendItems:null,backgroundColor:cr,getSvgCallback:()=>V.value.userOptions.callbacks.svg,generateImage:Ln});async function mr(){hn(`copyAlt`,{config:V.value,dataset:W.value}),V.value.userOptions.callbacks.altCopy?await Promise.resolve(V.value.userOptions.callbacks.altCopy({config:V.value,dataset:W.value})):console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.")}function hr(){z.value=null,B.value=``,L.value=!1,X.value=null}function gr(e){if(!e)return``;let t=n({p:H.value.legend.prefix,v:e.value,s:H.value.legend.suffix,r:H.value.legend.roundingValue}),r=n({v:e.proportion*100,s:`%`,r:H.value.legend.roundingPercentage});return`${e.name}: ${t}, ${r}`}function _r(e){if(!K.value||!J.value?.length)return;let t=J.value[e];t&&(z.value=e,X.value=t.id,B.value=gr(t))}function vr(){R.value=!0,K.value&&J.value?.length&&z.value===null&&_r(0)}function yr(){R.value=!1,L.value||(z.value=null,X.value=null,B.value=``)}function br(e){if(!K.value||!J.value?.length||!Mn.value||document.activeElement!==Mn.value)return;let t=[`ArrowLeft`,`ArrowDown`].includes(e.key),n=[`ArrowRight`,`ArrowUp`].includes(e.key),r=e.key===`Enter`||e.key===` `,i=e.key===`Escape`;if(!t&&!n&&!r&&!i)return;if(e.preventDefault(),e.stopPropagation(),i){hr();return}if(r){if(z.value===null)return;let e=J.value[z.value];if(!e)return;Z(e,!0),B.value=`${gr(e)} selected`;return}let a=z.value;a===null||a<0||a>=J.value.length?a=n?0:J.value.length-1:n?(a+=1,a>=J.value.length&&(a=0)):t&&(--a,a<0&&(a=J.value.length-1)),_r(a)}let xr=y(()=>({headers:$.value?.colNames??[],rows:$.value?.a11yBody??[]}));return le({getImage:ar,generateCsv:tr,generatePdf:In,generateImage:Ln,generateSvg:fr,getData:$n,toggleTable:nr,toggleAnnotator:ir,toggleFullscreen:Qn,copyAlt:mr}),(e,t)=>(D(),S(`div`,{ref_key:`bar3dChart`,ref:I,class:Me(`vue-data-ui-component vue-ui-3d-bar`),style:E(`font-family:${Tn.value.fontFamily};width:100%; text-align:center;background:${H.value.backgroundColor}`),id:`3d_bar_${F.value}`,onMouseenter:t[8]||=()=>M(An)(!0),onMouseleave:t[9]||=()=>M(An)(!1)},[C(`div`,{id:`chart-instructions-${F.value}`,class:`sr-only`},[C(`p`,null,j(V.value.a11y.translations.keyboardNavigation),1)],8,He),C(`div`,Ue,j(B.value),1),xr.value?.rows?.length?(D(),b(Ce,{key:0,uid:F.value,head:xr.value.headers,body:xr.value.rows,notice:V.value.a11y.translations.tableAvailable,caption:V.value.a11y.translations.tableCaption},null,8,[`uid`,`head`,`body`,`notice`,`caption`])):x(``,!0),U.value.buttons.annotator?(D(),b(M(un),{key:1,svgRef:M(Mn),backgroundColor:H.value.backgroundColor,color:H.value.color,active:rr.value,isCursorPointer:En.value,palette:U.value.annotatorPalette,onClose:ir},De({_:2},[k(M(_e),t=>({name:t,fn:N(n=>[A(e.$slots,t,Ne(ke(M(ge)(t,n))),void 0,!0)])}))]),1032,[`svgRef`,`backgroundColor`,`color`,`active`,`isCursorPointer`,`palette`])):x(``,!0),H.value.title.text?(D(),S(`div`,{key:2,ref_key:`chartTitle`,ref:yn,style:`width:100%;background:transparent`},[(D(),b(fe,{key:`title_${_n.value}`,config:{title:{cy:`3dBar-div-title`,...H.value.title},subtitle:{cy:`3dBar-div-subtitle`,...H.value.title.subtitle}}},null,8,[`config`]))],512)):x(``,!0),U.value.show&&gn.value&&(M(jn)||M(kn))?(D(),b(M(dn),{key:3,ref_key:`userOptionsRef`,ref:wn,backgroundColor:H.value.backgroundColor,color:H.value.color,isPrinting:M(Pn),isImaging:M(Fn),uid:F.value,hasPdf:U.value.buttons.pdf,hasTable:!!K.value&&U.value.buttons.table,hasXls:!!K.value&&U.value.buttons.csv,hasImg:U.value.buttons.img,hasSvg:U.value.buttons.svg,hasFullscreen:U.value.buttons.fullscreen,hasAltCopy:U.value.buttons.altCopy,titles:{...U.value.buttonTitles},chartElement:I.value,position:U.value.position,hasAnnotator:U.value.buttons.annotator,isAnnotation:rr.value,callbacks:U.value.callbacks,printScale:U.value.print.scale,tableDialog:V.value.table.useDialog,isCursorPointer:En.value,onToggleFullscreen:Qn,onGeneratePdf:M(In),onGenerateCsv:tr,onGenerateImage:M(pr),onGenerateSvg:M(fr),onToggleTable:nr,onToggleAnnotator:ir,onCopyAlt:mr,style:E({visibility:M(jn)?M(kn)?`visible`:`hidden`:`visible`})},De({_:2},[k(M(ve)(e.$slots,`menuIcon optionPdf optionCsv optionImg optionSvg optionTable optionFullscreen optionAnnotator optionAltCopy custom-menu-before custom-menu-after`),t=>({name:t,fn:N(n=>[A(e.$slots,t,Ne(ke(M(ye)(t,n))),void 0,!0)])}))]),1032,[`backgroundColor`,`color`,`isPrinting`,`isImaging`,`uid`,`hasPdf`,`hasTable`,`hasXls`,`hasImg`,`hasSvg`,`hasFullscreen`,`hasAltCopy`,`titles`,`chartElement`,`position`,`hasAnnotator`,`isAnnotation`,`callbacks`,`printScale`,`tableDialog`,`isCursorPointer`,`onGeneratePdf`,`onGenerateImage`,`onGenerateSvg`,`style`])):x(``,!0),C(`div`,We,[(D(),S(`svg`,{ref_key:`svgRef`,ref:Mn,xmlns:M(ne),class:Me({"vue-data-ui-fullscreen--on":Zn.value,"vue-data-ui-fulscreen--off":!Zn.value}),viewBox:`0 0 ${q.value.absoluteWidth} ${q.value.height}`,style:E(`max-width:100%; overflow: visible; background:transparent;color:${H.value.color}`),tabindex:`0`,"aria-describedby":`chart-instructions-${F.value}`,onFocus:vr,onBlur:yr,onKeydown:br},[w(M(fn)),A(e.$slots,`svg-underlayer`,{svg:{...q.value,isPrintingImg:M(Pn)||M(Fn)||M(ur),isPrintingSvg:M(dr)}},void 0,!0),e.$slots[`chart-background`]?(D(),S(`foreignObject`,{key:0,x:0,y:0,width:q.value.absoluteWidth,height:q.value.height,style:{pointerEvents:`none`}},[A(e.$slots,`chart-background`,{},void 0,!0)],8,Ke)):x(``,!0),C(`defs`,null,[w(_,{t:`radial`,id:`gradient_top${F.value}`,stops:[[`0%`,M(s)(H.value.backgroundColor,0),1],[`100%`,H.value.bar.color,1]]},null,8,[`id`,`stops`]),w(_,{t:`radial`,id:`gradient_tube_top${F.value}`,stops:[[`0%`,M(s)(M(i)(H.value.bar.color,.5),80),1],[`100%`,M(s)(M(c)(H.value.bar.color,.1),80),1]]},null,8,[`id`,`stops`]),w(_,{t:`radial`,id:`gradient_left${F.value}`,stops:[[`0%`,M(s)(H.value.backgroundColor,0),1],[`100%`,M(s)(H.value.bar.color,20),1]]},null,8,[`id`,`stops`]),w(_,{t:`radial`,id:`gradient_right${F.value}`,stops:[[`0%`,M(s)(H.value.backgroundColor,0),1],[`100%`,M(s)(H.value.bar.color,20),1]]},null,8,[`id`,`stops`]),w(_,{t:`linear`,id:`gradient_tube_body${F.value}`,x1:`0%`,y1:`0%`,x2:`100%`,y2:`0%`,stops:[[`0%`,H.value.bar.color,1],[`10%`,M(s)(M(c)(H.value.bar.color,.7),100),1],[`25%`,M(s)(M(c)(H.value.bar.color,.5),100),1],[`75%`,M(s)(H.value.bar.color,80),1],[`100%`,M(s)(M(i)(H.value.bar.color,.7),100),1]]},null,8,[`id`,`stops`])]),K.value?(D(),S(`defs`,qe,[(D(!0),S(v,null,k(J.value,e=>(D(),b(_,{t:`radial`,id:`grad_top_${e.id}`,key:`grad_top_${e.id}`,stops:[[`0%`,M(s)(M(i)(e.color,.5),80),1],[`100%`,e.color,1]]},null,8,[`id`,`stops`]))),128)),(D(!0),S(v,null,k(J.value,e=>(D(),b(_,{t:`linear`,id:`grad_left_${e.id}`,key:`grad_left_${e.id}`,stops:[[`0%`,M(s)(e.color,80),1],[`100%`,M(s)(M(c)(e.color,.5),100),1]]},null,8,[`id`,`stops`]))),128)),(D(!0),S(v,null,k(J.value,e=>(D(),b(_,{t:`linear`,id:`grad_right_${e.id}`,key:`grad_right_${e.id}`,stops:[[`2%`,M(s)(M(i)(e.color,.5),100),1],[`100%`,M(s)(e.color,80),1]]},null,8,[`id`,`stops`]))),128)),w(_,{t:`linear`,x1:`0%`,y1:`0%`,x2:`0%`,y2:`100%`,id:`vertical_line_${F.value}`,stops:[[`0%`,`#FFFFFF`,1],[`100%`,`#FFFFFF33`,1]]},null,8,[`id`])])):x(``,!0),H.value.dataLabel.show&&![null,void 0].includes(M(W).percentage)&&[null,void 0].includes(M(W).series)?(D(),S(`text`,{key:2,x:q.value.width/2,y:q.value.top-H.value.dataLabel.fontSize/2,"font-size":H.value.dataLabel.fontSize,"font-weight":H.value.dataLabel.bold?`bold`:`normal`,fill:H.value.dataLabel.color,"text-anchor":`middle`},j(M(n)({v:Vn.value,s:`%`,r:H.value.dataLabel.rounding})),9,Je)):x(``,!0),L.value?(D(),S(`g`,{key:3,role:`button`,tabindex:`0`,"aria-label":`Clear selection`,onClick:t[0]||=e=>{L.value=!1,X.value=null},onKeydown:[t[1]||=Re(ze(e=>{L.value=!1,X.value=null},[`prevent`]),[`enter`]),t[2]||=Re(ze(e=>{L.value=!1,X.value=null},[`prevent`]),[`space`])],onFocus:t[3]||=e=>R.value=!0,onBlur:t[4]||=e=>R.value=!1,onMouseenter:t[5]||=e=>R.value=!0,onMouseleave:t[6]||=e=>R.value=!1,class:`svg-btn`,"data-dom-to-png-ignore":``,style:E({cursor:En.value?`pointer`:`default`,outline:`none`})},[t[10]||=C(`title`,null,`Clear selection`,-1),C(`rect`,{x:Kn.value-12,y:q.value.top-24,width:24,height:24,fill:`transparent`,"pointer-events":`all`},null,8,Ye),C(`circle`,{cx:Kn.value,cy:q.value.top-12,r:`10`,fill:`none`,stroke:H.value.color,"stroke-width":`2`,"vector-effect":`non-scaling-stroke`,opacity:R.value?.5:0},null,8,Xe),C(`path`,{d:`M${Kn.value-6},${q.value.top-18} ${Kn.value+6},${q.value.top-6}`,stroke:H.value.color,"stroke-linecap":`round`,"stroke-width":`2`,"vector-effect":`non-scaling-stroke`},null,8,Ze),C(`path`,{d:`M${Kn.value+6},${q.value.top-18} ${Kn.value-6},${q.value.top-6}`,stroke:H.value.color,"stroke-linecap":`round`,"stroke-width":`2`,"vector-effect":`non-scaling-stroke`},null,8,Qe)],36)):x(``,!0),!Tn.value.shape||Tn.value.shape===`bar`?(D(),S(`g`,$e,[K.value?x(``,!0):(D(),S(`g`,et,[C(`path`,{"stroke-dasharray":H.value.box.strokeDasharray,d:Y.value.right,stroke:H.value.box.stroke,"stroke-width":H.value.box.strokeWidth,"stroke-linejoin":`round`,"stroke-linecap":`round`,fill:`none`},null,8,tt),C(`path`,{"stroke-dasharray":H.value.box.strokeDasharray,d:Y.value.left,stroke:H.value.box.stroke,"stroke-width":H.value.box.strokeWidth,"stroke-linejoin":`round`,"stroke-linecap":`round`,fill:`none`},null,8,nt),C(`path`,{"stroke-dasharray":H.value.box.strokeDasharray,d:Y.value.side,stroke:H.value.box.stroke,"stroke-width":H.value.box.strokeWidth,"stroke-linejoin":`round`,"stroke-linecap":`round`,fill:`none`},null,8,rt),C(`path`,{"stroke-dasharray":H.value.box.strokeDasharray,d:Y.value.topSides,stroke:H.value.box.stroke,"stroke-width":H.value.box.strokeWidth,"stroke-linejoin":`round`,"stroke-linecap":`round`,fill:`none`},null,8,it)])),K.value?x(``,!0):(D(),S(`g`,at,[C(`path`,{d:Jn.value.right,stroke:H.value.bar.stroke,"stroke-width":H.value.bar.strokeWidth,"stroke-linejoin":`round`,"stroke-linecap":`round`,fill:`url(#gradient_right${F.value})`},null,8,ot),C(`path`,{d:Jn.value.left,stroke:H.value.bar.stroke,"stroke-width":H.value.bar.strokeWidth,"stroke-linejoin":`round`,"stroke-linecap":`round`,fill:`url(#gradient_left${F.value})`},null,8,st),C(`path`,{d:Jn.value.top,stroke:H.value.bar.stroke,"stroke-width":H.value.bar.strokeWidth,"stroke-linejoin":`round`,"stroke-linecap":`round`,fill:`url(#gradient_top${F.value})`},null,8,ct)])),K.value?(D(),S(`g`,lt,[(D(!0),S(v,null,k(J.value,(e,t)=>(D(),S(`g`,{style:E(`opacity:${X.value?X.value===e.id?1:.3:1}`),class:`vue-ui-3d-bar-stack`,role:`img`,"aria-label":gr(e)},[C(`path`,{d:e.fill.right,fill:`url(#grad_right_${e.id})`,onMouseenter:t=>Z(e),onClick:t=>Z(e,!0),onMouseout:t=>Q(e)},null,40,dt),C(`path`,{d:e.fill.left,fill:`url(#grad_left_${e.id})`,onMouseenter:t=>Z(e),onClick:t=>Z(e,!0),onMouseout:t=>Q(e)},null,40,ft),C(`path`,{d:e.fill.top,fill:`url(#grad_top_${e.id})`,onMouseenter:t=>Z(e),onClick:t=>Z(e,!0),onMouseout:t=>Q(e)},null,40,pt),C(`path`,{d:e.fill.liningTop,stroke:`#FFFFFF`,"stroke-width":`0.5`,"stroke-linecap":`round`,fill:`none`,onMouseenter:t=>Z(e),onClick:t=>Z(e,!0),onMouseout:t=>Q(e)},null,40,mt),C(`path`,{d:`M ${e.fill.apexTop.x},${e.fill.apexTop.y} ${e.fill.apexBottom.x},${e.fill.apexBottom.y}`,stroke:`#FFFFFF`,"stroke-width":`0.5`,"stroke-linecap":`round`},null,8,ht)],12,ut))),256)),(D(!0),S(v,null,k(J.value,(e,t)=>(D(),S(`g`,null,[t===J.value.length-1?x(``,!0):(D(),S(`path`,{key:0,d:e.fill.liningTopShade,stroke:H.value.bar.shadeColor,"stroke-width":`0.5`,"stroke-linecap":`round`,fill:`none`,style:{"pointer-events":`none`}},null,8,gt))]))),256)),(D(!0),S(v,null,k(J.value,(t,r)=>(D(),S(`g`,{style:E(`opacity:${X.value?+(X.value===t.id):+(t.proportion*100>H.value.legend.hideUnderPercentage)}`),onClick:e=>hn(`selectDatapoint`,t)},[C(`path`,{stroke:H.value.color,"stroke-dasharray":`1`,"stroke-width":`0.5`,"stroke-linecap":`round`,d:`M${t.fill.sidePointer.x},${t.fill.sidePointer.y} ${t.fill.sidePointer.x2},${t.fill.sidePointer.y}`},null,8,vt),!t.fill.miniDonut||X.value?(D(),S(`circle`,{key:0,cx:t.fill.sidePointer.x2,cy:t.fill.sidePointer.y,r:2,fill:t.color,stroke:H.value.backgroundColor},null,8,yt)):x(``,!0),M(On)?(D(),S(`rect`,{key:1,x:t.fill.sidePointer.xText,y:t.fill.sidePointer.y-H.value.legend.fontSize/2,width:q.value.width/3,height:H.value.legend.fontSize,fill:`#6A6A6A80`,rx:`3`},null,8,bt)):x(``,!0),M(On)?x(``,!0):(D(),S(`foreignObject`,{key:2,x:t.fill.sidePointer.xText,y:t.fill.sidePointer.y-H.value.legend.fontSize,width:q.value.absoluteWidth/3,height:H.value.legend.fontSize*2,style:{overflow:`visible`,position:`relative`}},[H.value.legend.showDefault?(D(),S(`div`,{key:0,style:E(`height: 100%; width: 100%; display: flex; flex-direction: row; flex-wrap: wrap; align-items:center;justify-content: flex-start; font-size:${H.value.legend.fontSize}px; text-align:left; line-height: ${H.value.legend.fontSize}px; color:${H.value.legend.color}; font-weight:${H.value.legend.bold?`bold`:`normal`}`)},j(M(h)(H.value.dataLabel.formatter,t.value,`${t.name}: ${M(n)({v:t.proportion*100,s:`%`,r:H.value.legend.roundingPercentage})} (${M(n)({p:H.value.legend.prefix,v:t.value,s:H.value.legend.suffix,r:H.value.legend.roundingValue})})`,{datapoint:t,seriesIndex:r,type:`barDatapoint`})),5)):x(``,!0),A(e.$slots,`legend`,Ae({ref_for:!0},{datapoint:t,config:V.value,dataset:J.value}),void 0,!0)],8,xt)),t.fill.donut&&X.value===t.id?(D(),S(`g`,St,[(D(!0),S(v,null,k(t.fill.donut,(e,n)=>(D(),S(`g`,null,[Yn(e,t.fill.donut,!0)>6?(D(),S(`path`,{key:0,d:M(m)(e,{x:e.cx,y:e.cy},0,8,!1,!0,10),stroke:e.color,class:`vue-ui-donut-arc-path`,"stroke-width":`0.5`,"stroke-linecap":`round`,"stroke-linejoin":`round`,fill:`none`},null,8,Ct)):x(``,!0)]))),256)),(D(!0),S(v,null,k(t.fill.donut,(e,t)=>(D(),S(`path`,{class:`vue-ui-donut-arc-path`,d:e.arcSlice,fill:`${e.color}`,stroke:H.value.backgroundColor,"stroke-width":1},null,8,wt))),256)),(D(!0),S(v,null,k(t.fill.donut,(e,r)=>(D(),S(`g`,null,[Yn(e,t.fill.donut,!0)>6?(D(),S(`g`,Tt,[C(`text`,{"text-anchor":M(p)(e,!0,0).anchor,x:M(p)(e,!0,2).x,y:M(g)(e,12,12),fill:H.value.legend.color,"font-size":H.value.legend.fontSize/1.5,"font-weight":H.value.legend.bold?`bold`:`normal`},j(M(h)(H.value.dataLabel.formatter,e.value,`${Yn(e,t.fill.donut)} (${M(n)({p:V.value.style.chart.legend.prefix,v:e.value,s:V.value.style.chart.legend.suffix,r:V.value.style.chart.legend.roundingValue})})`,{datapoint:e,seriesIndex:r,type:`donutDatapoint`})),9,Et),C(`text`,{"text-anchor":M(p)(e).anchor,x:M(p)(e,!0,2).x,y:M(g)(e,12,12)+H.value.legend.fontSize/1.5,fill:H.value.legend.color,"font-size":H.value.legend.fontSize/1.5,"font-weight":H.value.legend.bold?`bold`:`normal`},j(e.name),9,Dt)])):x(``,!0)]))),256))])):x(``,!0),t.fill.miniDonut&&!X.value?(D(),S(`g`,Ot,[(D(!0),S(v,null,k(t.fill.miniDonut,(e,t)=>(D(),S(`path`,{class:`vue-ui-donut-arc-path`,d:e.arcSlice,fill:`${e.color}`,stroke:H.value.backgroundColor,"stroke-width":.5},null,8,kt))),256))])):x(``,!0)],12,_t))),256))])):x(``,!0)])):x(``,!0),Tn.value.shape===`tube`?(D(),S(`g`,At,[K.value?x(``,!0):(D(),S(`g`,jt,[C(`path`,{"stroke-dasharray":H.value.box.strokeDasharray,d:Y.value.tubeTop,stroke:H.value.box.stroke,"stroke-width":H.value.box.strokeWidth,"stroke-linejoin":`round`,"stroke-linecap":`round`,fill:`none`},null,8,Mt),C(`path`,{"stroke-dasharray":H.value.box.strokeDasharray,d:Y.value.tubeLeft,stroke:H.value.box.stroke,"stroke-width":H.value.box.strokeWidth,"stroke-linejoin":`round`,"stroke-linecap":`round`,fill:`none`},null,8,Nt),C(`path`,{"stroke-dasharray":H.value.box.strokeDasharray,d:Y.value.tubeRight,stroke:H.value.box.stroke,"stroke-width":H.value.box.strokeWidth,"stroke-linejoin":`round`,"stroke-linecap":`round`,fill:`none`},null,8,Pt),C(`path`,{"stroke-dasharray":H.value.box.strokeDasharray,d:Y.value.tubeBottom,stroke:H.value.box.stroke,"stroke-width":H.value.box.strokeWidth,"stroke-linejoin":`round`,"stroke-linecap":`round`,fill:`none`},null,8,Ft),C(`path`,{d:Jn.value.tubeTop,stroke:H.value.bar.stroke,"stroke-width":H.value.bar.strokeWidth,"stroke-linejoin":`round`,"stroke-linecap":`round`,fill:`url(#gradient_tube_top${F.value})`},null,8,It),C(`path`,{d:Jn.value.tubeBody,stroke:H.value.bar.stroke,"stroke-width":H.value.bar.strokeWidth,"stroke-linejoin":`round`,"stroke-linecap":`round`,fill:`url(#gradient_tube_body${F.value})`},null,8,Lt),C(`path`,{d:Jn.value.tubeTop,stroke:`#FFFFFF`,"stroke-width":.5,"stroke-linejoin":`round`,"stroke-linecap":`round`,fill:`none`},null,8,Rt)])),K.value?(D(),S(`g`,zt,[(D(!0),S(v,null,k(J.value,(e,t)=>(D(),S(`g`,{style:E(`opacity:${X.value?X.value===e.id?1:.3:1}`),class:`vue-ui-3d-bar-stack`,role:`img`,"aria-label":gr(e)},[C(`defs`,null,[w(_,{t:`radial`,id:`gradient_tube_top_${e.id}`,fx:`10%`,cy:`55%`,stops:[[`0%`,M(s)(M(i)(e.color,.5),80),1],[`100%`,M(s)(M(c)(e.color,.1),80),1]]},null,8,[`id`,`stops`]),w(_,{t:`linear`,id:`gradient_tube_body_${e.id}`,x1:`0%`,y1:`0%`,x2:`100%`,y2:`0%`,stops:[[`0%`,e.color,1],[`10%`,M(s)(M(c)(e.color,.7),100),1],[`25%`,M(s)(M(c)(e.color,.5),100),1],[`75%`,M(s)(e.color,80),1],[`100%`,M(s)(M(i)(e.color,.7),100),1]]},null,8,[`id`,`stops`])]),C(`path`,{onMouseenter:t=>Z(e),onClick:t=>Z(e,!0),onMouseout:t=>Q(e),d:e.fill.tubeBody,stroke:`#FFFFFF`,"stroke-width":.5,"stroke-linejoin":`round`,"stroke-linecap":`round`,fill:`url(#gradient_tube_body_${e.id})`},null,40,Vt),t>0?(D(),S(`path`,{key:0,onMouseenter:t=>Z(e),onClick:t=>Z(e,!0),onMouseout:t=>Q(e),d:e.fill.bottomTubeTop,stroke:`#000000`,"stroke-width":.5,"stroke-linejoin":`round`,"stroke-linecap":`round`,fill:`none`},null,40,Ht)):x(``,!0),C(`path`,{onMouseenter:t=>Z(e),onClick:t=>Z(e,!0),onMouseout:t=>Q(e),d:e.fill.tubeTop,stroke:`#FFFFFF`,"stroke-width":.5,"stroke-linejoin":`round`,"stroke-linecap":`round`,fill:`url(#gradient_tube_top_${e.id})`},null,40,Ut)],12,Bt))),256)),(D(!0),S(v,null,k(J.value,(t,r)=>(D(),S(`g`,{style:E(`opacity:${X.value?+(X.value===t.id):+(t.proportion*100>H.value.legend.hideUnderPercentage)}`),onClick:e=>hn(`selectDatapoint`,t)},[C(`path`,{stroke:H.value.color,"stroke-dasharray":`1`,"stroke-width":`0.5`,"stroke-linecap":`round`,d:`M${t.fill.sidePointer.x},${t.fill.sidePointer.y} ${t.fill.sidePointer.x2},${t.fill.sidePointer.y}`},null,8,Gt),!t.fill.miniDonut||X.value?(D(),S(`circle`,{key:0,cx:t.fill.sidePointer.x2,cy:t.fill.sidePointer.y,r:2,fill:t.color,stroke:H.value.backgroundColor},null,8,Kt)):x(``,!0),M(On)?(D(),S(`rect`,{key:1,x:t.fill.sidePointer.xText,y:t.fill.sidePointer.y-H.value.legend.fontSize/2,width:q.value.width/3,height:H.value.legend.fontSize,fill:`#6A6A6A80`,rx:`3`},null,8,qt)):x(``,!0),M(On)?x(``,!0):(D(),S(`foreignObject`,{key:2,x:t.fill.sidePointer.xText,y:t.fill.sidePointer.y-H.value.legend.fontSize,width:q.value.absoluteWidth/3,height:H.value.legend.fontSize*2,style:{overflow:`visible`,position:`relative`}},[H.value.legend.showDefault?(D(),S(`div`,{key:0,style:E(`height: 100%; width: 100%; display: flex; flex-direction: row; flex-wrap: wrap; align-items:center;justify-content: flex-start; font-size:${H.value.legend.fontSize}px; text-align:left; line-height: ${H.value.legend.fontSize}px; color:${H.value.legend.color};font-weight:${H.value.legend.bold?`bold`:`normal`}`)},j(M(h)(H.value.dataLabel.formatter,t.value,`${t.name}: ${M(n)({v:t.proportion*100,s:`%`,r:H.value.legend.roundingPercentage})} (${M(n)({p:H.value.legend.prefix,v:t.value,s:H.value.legend.suffix,r:H.value.legend.roundingValue})})`,{datapoint:t,seriesIndex:r,type:`barDatapoint`})),5)):x(``,!0),A(e.$slots,`legend`,Ae({ref_for:!0},{datapoint:t,config:V.value,dataset:J.value}),void 0,!0)],8,Jt)),t.fill.donut&&X.value===t.id?(D(),S(`g`,Yt,[(D(!0),S(v,null,k(t.fill.donut,(e,n)=>(D(),S(`g`,null,[Yn(e,t.fill.donut,!0)>6?(D(),S(`path`,{key:0,d:M(m)(e,{x:e.cx,y:e.cy},0,8,!1,!0,10),stroke:e.color,class:`vue-ui-donut-arc-path`,"stroke-width":`0.5`,"stroke-linecap":`round`,"stroke-linejoin":`round`,fill:`none`},null,8,Xt)):x(``,!0)]))),256)),(D(!0),S(v,null,k(t.fill.donut,(e,t)=>(D(),S(`path`,{class:`vue-ui-donut-arc-path`,d:e.arcSlice,fill:`${e.color}`,stroke:H.value.backgroundColor,"stroke-width":1},null,8,Zt))),256)),(D(!0),S(v,null,k(t.fill.donut,(e,r)=>(D(),S(`g`,null,[Yn(e,t.fill.donut,!0)>6?(D(),S(`g`,Qt,[C(`text`,{"text-anchor":M(p)(e,!0,0).anchor,x:M(p)(e,!0,2).x,y:M(g)(e,12,12),fill:H.value.legend.color,"font-size":H.value.legend.fontSize/1.5,"font-weight":H.value.legend.bold?`bold`:`normal`},j(M(h)(H.value.dataLabel.formatter,e.value,`${Yn(e,t.fill.donut)} (${M(n)({p:V.value.style.chart.legend.prefix,v:e.value,s:V.value.style.chart.legend.suffix,r:V.value.style.chart.legend.roundingValue})})`,{datapoint:e,seriesIndex:r,type:`donutDatapoint`})),9,$t),C(`text`,{"text-anchor":M(p)(e).anchor,x:M(p)(e,!0,2).x,y:M(g)(e,12,12)+H.value.legend.fontSize/1.5,fill:H.value.legend.color,"font-size":H.value.legend.fontSize/1.5,"font-weight":H.value.legend.bold?`bold`:`normal`},j(e.name),9,en)])):x(``,!0)]))),256))])):x(``,!0),t.fill.miniDonut&&!X.value?(D(),S(`g`,tn,[(D(!0),S(v,null,k(t.fill.miniDonut,(e,t)=>(D(),S(`path`,{class:`vue-ui-donut-arc-path`,d:e.arcSlice,fill:`${e.color}`,stroke:H.value.backgroundColor,"stroke-width":.5},null,8,nn))),256))])):x(``,!0)],12,Wt))),256))])):x(``,!0)])):x(``,!0),A(e.$slots,`svg`,{svg:{...q.value,isPrintingImg:M(Pn)||M(Fn)||M(ur),isPrintingSvg:M(dr)}},void 0,!0)],46,Ge))]),e.$slots.watermark?(D(),S(`div`,rn,[A(e.$slots,`watermark`,Ne(ke({isPrinting:M(Pn)||M(Fn)||M(dr)||M(ur)})),void 0,!0)])):x(``,!0),e.$slots.source?(D(),S(`div`,{key:5,ref_key:`source`,ref:Sn,dir:`auto`},[A(e.$slots,`source`,{},void 0,!0)],512)):x(``,!0),gn.value&&K.value&&U.value.buttons.table?(D(),b(Fe(or.value.component),Ae({key:6},or.value.props,{ref_key:`tableUnit`,ref:Cn,onClose:sr}),De({content:N(()=>[(D(),b(M(ln),{key:`table_${vn.value}`,colNames:$.value.colNames,head:$.value.head,body:$.value.body,config:$.value.config,title:V.value.table.useDialog?``:or.value.title,withCloseButton:!V.value.table.useDialog,isCursorPointer:En.value,onClose:sr},{th:N(({th:e})=>[e===`__SUM__`?(D(),S(`div`,an,[w(M(sn),{name:`sigma`,stroke:$.value.config.th.color,size:16},null,8,[`stroke`])])):(D(),S(`div`,on,j(e),1))]),td:N(({td:e})=>[Oe(j(e.name||e),1)]),_:1},8,[`colNames`,`head`,`body`,`config`,`title`,`withCloseButton`,`isCursorPointer`]))]),_:2},[V.value.table.useDialog?{name:`title`,fn:N(()=>[Oe(j(or.value.title),1)]),key:`0`}:void 0,V.value.table.useDialog?{name:`actions`,fn:N(()=>[C(`button`,{tabindex:`0`,class:`vue-ui-user-options-button`,onClick:t[7]||=e=>tr(U.value.callbacks.csv)},[w(M(sn),{name:`fileCsv`,stroke:or.value.props.color},null,8,[`stroke`])])]),key:`1`}:void 0]),1040)):x(``,!0),A(e.$slots,`skeleton`,{},()=>[M(On)?(D(),b(se,{key:0})):x(``,!0)],!0)],44,Ve))}},[[`__scopeId`,`data-v-7e53a478`]]);export{Be as n,sn as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{t as e}from"./rolldown-runtime-DK3Fl9T5.js";import{t}from"./useConfig-6jO1fkp5.js";import{X as n}from"./lib-rPeBMZrn.js";import{t as r}from"./_plugin-vue_export-helper-BDNMzG2s.js";import{t as i}from"./useNestedProp-DnGoh-XS.js";import{t as a}from"./BaseIcon-Cm-IJ179.js";import{computed as o,createBlock as s,createCommentVNode as c,createElementBlock as l,createElementVNode as u,guardReactiveProps as d,normalizeClass as f,normalizeProps as p,normalizeStyle as m,onMounted as h,openBlock as g,ref as _,renderSlot as v,useCssVars as y,watch as b}from"vue";var x=/* @__PURE__ */ e({default:()=>T}),S={class:`vue-data-ui-component`},C=[`id`],w={key:0,class:`vue-ui-accordion-arrow`},T=/*#__PURE__*/ r({__name:`vue-ui-accordion`,props:{config:{type:Object,default(){return{}}},hideDetails:{type:Boolean,default:!1}},emits:[`toggle`],setup(e,{emit:r}){y(e=>({fc620ee6:P.value}));let{vue_ui_accordion:x}=t(),T=e,E=r,D=o(()=>i({userConfig:T.config,defaultConfig:x})),O=o(()=>D.value.useCursorPointer),k=_(D.value.open),A=_(n()),j=_(null),M=_(0);h(()=>{j.value.open=D.value.open}),b(()=>D.value.open,e=>{j.value.open=e});function N(){(M.value>0||!D.value.open)&&(k.value=!k.value),M.value+=1,E(`toggle`)}let P=o(()=>`${D.value.maxHeight}px`);return(t,n)=>(g(),l(`div`,S,[u(`details`,{id:`details_${A.value}`,ref_key:`details`,ref:j,onToggle:N},[u(`summary`,{class:f({"vue-ui-accordion-headless":e.hideDetails}),style:m({cursor:O.value?`pointer`:`default`})},[u(`div`,{class:`vue-ui-accordion-head`,style:m(`background:${D.value.head.backgroundColor};padding:${D.value.head.padding}; ${e.hideDetails?`height: 0px !important; padding: 0 !important;`:``}`)},[e.hideDetails?c(``,!0):(g(),l(`div`,w,[D.value.head.useArrowSlot?v(t.$slots,`arrow`,p(d({backgroundColor:D.value.head.backgroundColor,color:D.value.head.color,iconColor:D.value.head.iconColor,isOpen:k.value})),void 0,!0,0):(g(),s(a,{key:1,name:D.value.head.icon,stroke:D.value.head.iconColor,size:D.value.head.iconSize},null,8,[`name`,`stroke`,`size`]))])),v(t.$slots,`title`,p(d({color:D.value.head.color,isOpen:k.value})),void 0,!0)],4)],6)],40,C),u(`div`,{class:`vue-ui-accordion-content`,style:m(`background:${D.value.body.backgroundColor};color:${D.value.body.color}`)},[v(t.$slots,`content`,p(d({backgroundColor:D.value.body.backgroundColor,color:D.value.body.color,isOpen:k.value})),void 0,!0)],4)]))}},[[`__scopeId`,`data-v-2782a9e6`]]);export{x as n,T as t};
|