@svgrid/grid-wc 3.0.23 → 3.0.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/dist/GridFooter-La5NyTDN.js +145 -0
  2. package/dist/{GridMenus-Dq2xCN4N.js → GridMenus-4ksk1dnR.js} +491 -491
  3. package/dist/{shadow/PinSplitter-Qd1_-3pw.js → PinSplitter-vmU3zd_R.js} +44 -44
  4. package/dist/{shadow/SvChartMenu-CwWtjXsG.js → SvChartMenu-CgAcTloT.js} +116 -116
  5. package/dist/{shadow/SvDateRangeInput-EIQRPO_K.js → SvDateRangeInput-DHTz33L2.js} +77 -77
  6. package/dist/{SvDateTimePicker-IsJpZskc.js → SvDateTimePicker-DyRO_e91.js} +269 -269
  7. package/dist/{SvField-CpglDJLn.js → SvField-C--8r4go.js} +86 -86
  8. package/dist/{shadow/SvGridCellEditor-Bhdpvez8.js → SvGridCellEditor-6ZyGKeXd.js} +161 -161
  9. package/dist/{SvGridChart-DHptYODr.js → SvGridChart-B1Ro43s3.js} +750 -750
  10. package/dist/{shadow/SvGridChartBuilder-COttFU6T.js → SvGridChartBuilder-BGWhm8hq.js} +373 -373
  11. package/dist/{shadow/SvGridChartPanel-DGMs4B9p.js → SvGridChartPanel-t_UgLw4I.js} +579 -579
  12. package/dist/SvGridChartView-EbUF0BKk.js +45 -0
  13. package/dist/{shadow/SvGridDropdown-CfA5Jfe5.js → SvGridDropdown-CrECQYeq.js} +117 -117
  14. package/dist/chart/SvChartMenu-DslxOgPN.js +1 -1
  15. package/dist/chart/sv-chart-element.js +1 -1
  16. package/dist/{shadow/chart-export-pdf-C_iQ0kET.js → chart-export-pdf-BSDueOD-.js} +1 -1
  17. package/dist/{shadow/client-wYhMjrKG.js → client-DtIdusS4.js} +379 -376
  18. package/dist/{date-format-SCGd8EWh.js → date-format-B0RznzxC.js} +325 -325
  19. package/dist/{grid-extension.svelte-6IzZ_3Cv.js → grid-extension.svelte-BixlrIqc.js} +1 -1
  20. package/dist/shadow/GridFooter-d70CxdXM.js +145 -0
  21. package/dist/shadow/{GridMenus-BoD1TyJM.js → GridMenus-CpE2jjUR.js} +491 -491
  22. package/dist/{PinSplitter-Qd1_-3pw.js → shadow/PinSplitter-vmU3zd_R.js} +44 -44
  23. package/dist/{SvChartMenu-CwWtjXsG.js → shadow/SvChartMenu-CgAcTloT.js} +116 -116
  24. package/dist/{SvDateRangeInput-EIQRPO_K.js → shadow/SvDateRangeInput-DHTz33L2.js} +77 -77
  25. package/dist/shadow/{SvDateTimePicker-IsJpZskc.js → SvDateTimePicker-DyRO_e91.js} +269 -269
  26. package/dist/shadow/{SvField-CpglDJLn.js → SvField-C--8r4go.js} +86 -86
  27. package/dist/{SvGridCellEditor-Bhdpvez8.js → shadow/SvGridCellEditor-6ZyGKeXd.js} +161 -161
  28. package/dist/shadow/{SvGridChart-DHptYODr.js → SvGridChart-B1Ro43s3.js} +750 -750
  29. package/dist/{SvGridChartBuilder-COttFU6T.js → shadow/SvGridChartBuilder-BGWhm8hq.js} +373 -373
  30. package/dist/{SvGridChartPanel-DGMs4B9p.js → shadow/SvGridChartPanel-t_UgLw4I.js} +579 -579
  31. package/dist/shadow/SvGridChartView-EbUF0BKk.js +45 -0
  32. package/dist/{SvGridDropdown-CfA5Jfe5.js → shadow/SvGridDropdown-CrECQYeq.js} +117 -117
  33. package/dist/{chart-export-pdf-C_iQ0kET.js → shadow/chart-export-pdf-BSDueOD-.js} +1 -1
  34. package/dist/{client-wYhMjrKG.js → shadow/client-DtIdusS4.js} +379 -376
  35. package/dist/shadow/{date-format-SCGd8EWh.js → date-format-B0RznzxC.js} +325 -325
  36. package/dist/shadow/{grid-extension.svelte-6IzZ_3Cv.js → grid-extension.svelte-BixlrIqc.js} +1 -1
  37. package/dist/shadow/sv-grid-shadow-element.js +3469 -3459
  38. package/dist/shadow/{svelte-virtualizer.svelte-DTzTRxYp.js → svelte-virtualizer.svelte-u-y0InK2.js} +3 -3
  39. package/dist/sv-grid-element.js +3452 -3442
  40. package/dist/{svelte-virtualizer.svelte-DTzTRxYp.js → svelte-virtualizer.svelte-u-y0InK2.js} +3 -3
  41. package/package.json +3 -3
  42. package/dist/GridFooter-D1Mxru-f.js +0 -145
  43. package/dist/SvGridChartView-iQoET4TC.js +0 -45
  44. package/dist/shadow/GridFooter-BX1o5fzB.js +0 -145
  45. package/dist/shadow/SvGridChartView-iQoET4TC.js +0 -45
@@ -1,6 +1,6 @@
1
- (function(){try{var c=".sv-grid-chart.svelte-kvdein{background:var(--sg-chart-bg,transparent);flex-direction:column;gap:8px;width:100%;display:flex;position:relative}.sv-grid-chart.is-legend-top.svelte-kvdein .sv-grid-chart-toolbar:where(.svelte-kvdein){order:-2}.sv-grid-chart.is-legend-top.svelte-kvdein .sv-grid-chart-legend:where(.svelte-kvdein){order:-1}.sv-grid-chart.is-legend-left.svelte-kvdein,.sv-grid-chart.is-legend-right.svelte-kvdein{grid-template-rows:auto 1fr auto;align-items:start;display:grid}.sv-grid-chart.is-legend-left.svelte-kvdein{grid-template-columns:auto minmax(0,1fr);grid-template-areas:\"tb tb\"\"lg svg\"\"lg br\"}.sv-grid-chart.is-legend-right.svelte-kvdein{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:\"tb tb\"\"svg lg\"\"br lg\"}.sv-grid-chart.is-legend-left.svelte-kvdein .sv-grid-chart-toolbar:where(.svelte-kvdein),.sv-grid-chart.is-legend-right.svelte-kvdein .sv-grid-chart-toolbar:where(.svelte-kvdein){grid-area:tb}.sv-grid-chart.is-legend-left.svelte-kvdein .sv-grid-chart-svg:where(.svelte-kvdein),.sv-grid-chart.is-legend-right.svelte-kvdein .sv-grid-chart-svg:where(.svelte-kvdein){grid-area:svg}.sv-grid-chart.is-legend-left.svelte-kvdein .sv-grid-chart-brush-host:where(.svelte-kvdein),.sv-grid-chart.is-legend-right.svelte-kvdein .sv-grid-chart-brush-host:where(.svelte-kvdein){grid-area:br}.sv-grid-chart-brush-host.svelte-kvdein{min-width:0;display:block}.sv-grid-chart.is-legend-left.svelte-kvdein .sv-grid-chart-legend:where(.svelte-kvdein),.sv-grid-chart.is-legend-right.svelte-kvdein .sv-grid-chart-legend:where(.svelte-kvdein){grid-area:lg}.sv-grid-chart-legend.is-vertical.svelte-kvdein{flex-direction:column;align-items:flex-start;gap:4px;max-width:180px;padding-top:6px}.sv-grid-chart.is-autosize.svelte-kvdein{min-height:0}.sv-grid-chart.is-autosize.svelte-kvdein .sv-grid-chart-svg:where(.svelte-kvdein){flex:none;min-height:0}.sv-grid-chart-svg.svelte-kvdein{width:100%;height:auto;display:block}.sv-grid-chart-title.svelte-kvdein{fill:var(--sg-fg,#0f172a);font-size:calc(14px * var(--sg-chart-font-scale,1));font-family:inherit;font-weight:600}.sv-grid-chart-subtitle.svelte-kvdein{fill:var(--sg-muted,#64748b);font-size:calc(11.5px * var(--sg-chart-font-scale,1));font-family:inherit}.sv-grid-chart-caption.svelte-kvdein{fill:var(--sg-muted,#64748b);font-size:calc(10px * var(--sg-chart-font-scale,1));font-family:inherit}.sv-grid-chart-refband.svelte-kvdein{pointer-events:none}.sv-grid-chart-wipe.svelte-kvdein{animation:.7s cubic-bezier(.2,.7,.2,1) both svelte-kvdein-sv-grid-chart-wipe}@keyframes svelte-kvdein-sv-grid-chart-wipe{0%{width:0}}.sv-grid-chart-marks.is-enter-grow.svelte-kvdein .sv-grid-chart-bar:where(.svelte-kvdein){transform-box:fill-box;transform-origin:50% 100%;animation:.5s cubic-bezier(.2,.7,.2,1) both svelte-kvdein-sv-grid-chart-grow}@keyframes svelte-kvdein-sv-grid-chart-grow{0%{transform:scaleY(.02)}}.sv-grid-chart-marks.is-enter-none.svelte-kvdein :where(.svelte-kvdein),.sv-grid-chart-marks.is-enter-none.svelte-kvdein{animation:none!important}.sv-grid-chart-svg.is-pannable.svelte-kvdein{cursor:grab}.sv-grid-chart-svg.is-pannable.svelte-kvdein:active{cursor:grabbing}.sv-grid-chart-presets.svelte-kvdein{gap:2px;margin-right:6px;display:inline-flex}.sv-grid-chart-crumbs.svelte-kvdein{font-size:calc(11.5px * var(--sg-chart-font-scale,1));align-items:center;gap:2px;margin-right:8px;display:inline-flex}.sv-grid-chart-crumb.is-current.svelte-kvdein{color:var(--sg-fg,#0f172a);padding:0 4px;font-weight:600}.sv-grid-chart-crumb-sep.svelte-kvdein{color:var(--sg-muted,#64748b)}.sv-grid-chart-arc.is-drillable.svelte-kvdein,.sv-grid-chart-slice.is-drillable.svelte-kvdein{cursor:zoom-in}.sv-grid-chart-bar.is-selected.svelte-kvdein,.sv-grid-chart-slice.is-selected.svelte-kvdein,.sv-grid-chart-arc.is-selected.svelte-kvdein{stroke:var(--sg-fg,#0f172a);stroke-width:2px}.sv-grid-chart-dot.is-selected.svelte-kvdein{stroke:var(--sg-fg,#0f172a);stroke-width:2px;r:5}.sv-grid-chart-scatter.is-selected.svelte-kvdein{stroke:var(--sg-fg,#0f172a);stroke-width:2px;fill-opacity:1}.sv-grid-chart-preset.svelte-kvdein{padding-inline:6px}.sv-grid-chart-arc-track.svelte-kvdein{fill:var(--sg-border,#e2e8f0);opacity:.45;pointer-events:none}.sv-grid-chart-arc.svelte-kvdein{transition:opacity .1s;animation:.3s both svelte-kvdein-sv-grid-chart-in}.sv-grid-chart-ribbon.svelte-kvdein{transition:opacity .1s}.sv-grid-chart-stem.svelte-kvdein line:where(.svelte-kvdein){stroke-linecap:round}.sv-grid-chart-dot.is-stroked.svelte-kvdein{fill:none}.sv-grid-chart-tooltip.is-custom.svelte-kvdein{color:inherit;box-shadow:none;background:0 0;border:0;padding:0}.sv-grid-chart-gridline.svelte-kvdein{stroke:var(--sg-border,#e2e8f0);stroke-width:1px;opacity:.6}.sv-grid-chart-gridline.is-zero.svelte-kvdein{stroke:var(--sg-muted,#94a3b8);opacity:.9}.sv-grid-chart-axis.svelte-kvdein{fill:var(--sg-muted,#64748b);font-size:calc(10px * var(--sg-chart-font-scale,1));font-family:inherit}.sv-grid-chart-axis-title.svelte-kvdein{fill:var(--sg-muted,#64748b);font-size:calc(11px * var(--sg-chart-font-scale,1));font-family:inherit;font-weight:600}.sv-grid-chart-group-label.svelte-kvdein{fill:var(--sg-fg,#0f172a);font-weight:600}.sv-grid-chart-crosshair.svelte-kvdein{stroke:var(--sg-accent,#2563eb);stroke-width:1px;stroke-dasharray:3 3;opacity:.65;pointer-events:none}.sv-grid-chart-callout.svelte-kvdein{opacity:.8;pointer-events:none}.sv-grid-chart-callout-label.svelte-kvdein{font-size:calc(10.5px * var(--sg-chart-font-scale,1));fill:var(--sg-fg,#0f172a);pointer-events:none;font-family:inherit}.sv-grid-chart-crosshair-label.svelte-kvdein rect:where(.svelte-kvdein){fill:var(--sg-fg,#0f172a);opacity:.85}.sv-grid-chart-crosshair-label.svelte-kvdein text:where(.svelte-kvdein){fill:var(--sg-bg,#fff);font-size:calc(9.5px * var(--sg-chart-font-scale,1));font-family:inherit;font-weight:600}.sv-grid-chart-refline.svelte-kvdein{stroke-width:1.5px;opacity:.9;pointer-events:none}.sv-grid-chart-reflabel.svelte-kvdein{font-size:calc(9.5px * var(--sg-chart-font-scale,1));pointer-events:none;font-family:inherit;font-weight:700}.sv-grid-chart-overlay.svelte-kvdein{opacity:.85;pointer-events:none}.sv-grid-chart-annotation-marker.svelte-kvdein{pointer-events:none}.sv-grid-chart-annotation-marker.has-text.svelte-kvdein{pointer-events:auto;cursor:help}.sv-grid-chart-annotation-marker.svelte-kvdein:focus-visible{outline:2px solid var(--sg-accent,#2563eb);outline-offset:2px}.sv-grid-chart-annotation-label.svelte-kvdein{font-size:calc(10px * var(--sg-chart-font-scale,1));pointer-events:none;font-family:inherit;font-weight:700}.sv-grid-chart-serieslabel.svelte-kvdein{font-size:calc(10.5px * var(--sg-chart-font-scale,1));pointer-events:none;font-family:inherit;font-weight:600}.sv-grid-chart-annotation-flagtext.svelte-kvdein{font-size:calc(9px * var(--sg-chart-font-scale,1));pointer-events:none;font-family:inherit;font-weight:700}.sv-grid-chart-refpill.svelte-kvdein text:where(.svelte-kvdein){font-size:calc(9.5px * var(--sg-chart-font-scale,1));pointer-events:none;font-family:inherit;font-weight:700}.sv-grid-chart-drawing-hit.svelte-kvdein{stroke:#0000;stroke-width:10px;fill:#0000;pointer-events:stroke}.sv-grid-chart-drawing.is-fib.svelte-kvdein .sv-grid-chart-drawing-hit:where(.svelte-kvdein),.sv-grid-chart-drawing.is-rect.svelte-kvdein rect:where(.svelte-kvdein),.sv-grid-chart-drawing.is-text.svelte-kvdein text:where(.svelte-kvdein){pointer-events:all}.sv-grid-chart-drawing[role=button].svelte-kvdein{cursor:pointer}.sv-grid-chart-drawing.svelte-kvdein:focus-visible{outline:none}.sv-grid-chart-drawing.is-selected.svelte-kvdein line:where(.svelte-kvdein),.sv-grid-chart-drawing.is-selected.svelte-kvdein rect:where(.svelte-kvdein),.sv-grid-chart-drawing.svelte-kvdein:focus-visible line:where(.svelte-kvdein),.sv-grid-chart-drawing.svelte-kvdein:focus-visible rect:where(.svelte-kvdein){filter:drop-shadow(0 0 2px var(--sg-accent,#2563eb))}.sv-grid-chart-drawing-label.svelte-kvdein{font-size:calc(9px * var(--sg-chart-font-scale,1));pointer-events:none;font-family:inherit;font-weight:600}.sv-grid-chart-drawing-text.svelte-kvdein{font-size:calc(11px * var(--sg-chart-font-scale,1));font-family:inherit;font-weight:600}.sv-grid-chart-drawing-handle.svelte-kvdein{cursor:move}.sv-grid-chart-textdraft.svelte-kvdein{z-index:11;width:160px;font:inherit;font-size:calc(12px * var(--sg-chart-font-scale,1));border:1px solid var(--sg-accent,#2563eb);background:var(--sg-bg,#fff);color:var(--sg-fg,#0f172a);border-radius:4px;padding:3px 6px;position:absolute;transform:translateY(-50%);box-shadow:0 4px 12px #00000026}.sv-grid-chart-svg.is-drawing.svelte-kvdein{cursor:crosshair}.sv-grid-chart-drawtools.svelte-kvdein{border-right:1px solid var(--sg-border,#e2e8f0);gap:2px;margin-right:2px;padding-right:6px;display:inline-flex}.sv-grid-chart-heatcell.svelte-kvdein{stroke:var(--sg-border,#cbd5e1);stroke-width:1px;cursor:default;transition:opacity .1s}.sv-grid-chart-svg.is-clickable.svelte-kvdein .sv-grid-chart-heatcell:where(.svelte-kvdein){cursor:pointer}.sv-grid-chart-heatcell.svelte-kvdein:hover{opacity:.85}.sv-grid-chart-heatlabel.svelte-kvdein{font-size:calc(10px * var(--sg-chart-font-scale,1));pointer-events:none;-webkit-user-select:none;user-select:none;font-family:inherit;font-weight:600}.sv-grid-chart-heatlegend.svelte-kvdein{stroke:var(--sg-border,#cbd5e1);stroke-width:1px}.sv-grid-chart-funnel-seg.svelte-kvdein{stroke:var(--sg-bg,#fff);stroke-width:2px;cursor:default;transition:opacity .1s}.sv-grid-chart-svg.is-clickable.svelte-kvdein .sv-grid-chart-funnel-seg:where(.svelte-kvdein){cursor:pointer}.sv-grid-chart-funnel-seg.svelte-kvdein:hover{opacity:.88}.sv-grid-chart-funnel-label.svelte-kvdein{font-size:calc(11px * var(--sg-chart-font-scale,1));pointer-events:none;font-family:inherit;font-weight:700}.sv-grid-chart-funnel-value.svelte-kvdein{font-size:calc(10px * var(--sg-chart-font-scale,1));opacity:.85;pointer-events:none;font-family:inherit}.sv-grid-chart-radar-ring.svelte-kvdein{fill:none;stroke:var(--sg-border,#e2e8f0);stroke-width:1px;opacity:.6}.sv-grid-chart-radar-spoke.svelte-kvdein{stroke:var(--sg-border,#e2e8f0);stroke-width:1px;opacity:.6}.sv-grid-chart-radar-poly.svelte-kvdein{pointer-events:none;transition:opacity .1s}.sv-grid-chart-radar-dot.svelte-kvdein{cursor:default;transition:r .1s}.sv-grid-chart-radar-dot.svelte-kvdein:hover{r:4.5}.sv-grid-chart-calendar-cell.svelte-kvdein{stroke:var(--sg-border,#e2e8f0);stroke-width:.5px;cursor:default;transition:opacity .1s}.sv-grid-chart-calendar-cell.is-blank.svelte-kvdein{stroke-opacity:.5}.sv-grid-chart-calendar-cell.svelte-kvdein:hover{opacity:.85}.sv-grid-chart-calendar-legend.svelte-kvdein{stroke:var(--sg-border,#cbd5e1);stroke-width:.5px}.sv-grid-chart-gauge-value.svelte-kvdein{fill:var(--sg-fg,#0f172a);font-size:calc(22px * var(--sg-chart-font-scale,1));pointer-events:none;font-family:inherit;font-weight:800}.sv-grid-chart-gauge-tick.svelte-kvdein{stroke:var(--sg-muted,#94a3b8);stroke-width:1px;opacity:.4}.sv-grid-chart-gauge-tick.is-major.svelte-kvdein{stroke-width:2px;opacity:.7}.sv-grid-chart-gauge-needle.svelte-kvdein{fill:var(--sg-fg,#0f172a);stroke:var(--sg-bg,#fff);stroke-width:.75px;stroke-linejoin:round}.sv-grid-chart-gauge-hub.svelte-kvdein{fill:var(--sg-fg,#0f172a);stroke:var(--sg-bg,#fff);stroke-width:2px}.sv-grid-chart-gauge-hub-dot.svelte-kvdein{fill:var(--sg-bg,#fff)}.sv-grid-chart-treemap-cell.svelte-kvdein{stroke:var(--sg-bg,#fff);stroke-width:1px;cursor:default;transition:opacity .1s}.sv-grid-chart-svg.is-clickable.svelte-kvdein .sv-grid-chart-treemap-cell:where(.svelte-kvdein){cursor:pointer}.sv-grid-chart-treemap-cell.svelte-kvdein:hover{opacity:.88}.sv-grid-chart-treemap-label.svelte-kvdein{font-size:calc(11px * var(--sg-chart-font-scale,1));pointer-events:none;font-family:inherit;font-weight:600}.sv-grid-chart-treemap-value.svelte-kvdein{font-size:calc(10px * var(--sg-chart-font-scale,1));pointer-events:none;font-family:inherit}.sv-grid-chart-sankey-node.svelte-kvdein{cursor:default;transition:opacity .1s}.sv-grid-chart-sankey-node.svelte-kvdein:hover{opacity:.88}.sv-grid-chart-sankey-link.svelte-kvdein{cursor:default;transition:stroke-opacity .1s}.sv-grid-chart-sankey-link.svelte-kvdein:hover{stroke-opacity:.6}.sv-grid-chart-sankey-label.svelte-kvdein{fill:var(--sg-fg,#0f172a);font-size:calc(11px * var(--sg-chart-font-scale,1));pointer-events:none;font-family:inherit;font-weight:600}.sv-grid-chart-brush.svelte-kvdein{border-top:1px solid var(--sg-border,#e2e8f0);-webkit-user-select:none;user-select:none;touch-action:none;width:100%;height:auto;margin-top:4px;display:block}.sv-grid-chart-brush-mask.svelte-kvdein{fill:var(--sg-bg,#fff);fill-opacity:.65;pointer-events:none}.sv-grid-chart-brush-window.svelte-kvdein{fill:var(--sg-accent,#2563eb);fill-opacity:.1;stroke:var(--sg-accent,#2563eb);stroke-width:1px;cursor:grab}.sv-grid-chart-brush-window.svelte-kvdein:active{cursor:grabbing}.sv-grid-chart-brush-handle.svelte-kvdein{fill:var(--sg-accent,#2563eb);fill-opacity:.4;cursor:ew-resize}.sv-grid-chart-brush-handle.svelte-kvdein:hover{fill-opacity:.7}.sv-grid-chart-scatter.svelte-kvdein{stroke-width:1px;transition:opacity .2s}.is-clickable.svelte-kvdein .sv-grid-chart-scatter:where(.svelte-kvdein),.sv-grid-chart-scatter.svelte-kvdein:hover{cursor:pointer}.sv-grid-chart-cat-hit.svelte-kvdein{fill:#0000}.sv-grid-chart-cat-hit.svelte-kvdein:focus-visible,.sv-grid-chart-slice.svelte-kvdein:focus-visible,.sv-grid-chart-arc.svelte-kvdein:focus-visible,.sv-grid-chart-heatcell.svelte-kvdein:focus-visible,.sv-grid-chart-funnel-seg.svelte-kvdein:focus-visible,.sv-grid-chart-treemap-cell.svelte-kvdein:focus-visible,.sv-grid-chart-sankey-node.svelte-kvdein:focus-visible,.sv-grid-chart-sankey-link.svelte-kvdein:focus-visible,.sv-grid-chart-calendar-cell.svelte-kvdein:focus-visible,.sv-grid-chart-radar-dot.svelte-kvdein:focus-visible,.sv-grid-chart-scatter.svelte-kvdein:focus-visible,.sv-grid-chart-brush.svelte-kvdein:focus-visible{outline:2px solid var(--sg-accent,#2563eb);outline-offset:1px}.sv-grid-chart-datalabel.svelte-kvdein{fill:var(--sg-fg,#0f172a);font-size:calc(9.5px * var(--sg-chart-font-scale,1));font-variant-numeric:tabular-nums;pointer-events:none;font-weight:600}.sv-grid-chart-datalabel-leader.svelte-kvdein{stroke:var(--sg-muted,#64748b);stroke-width:1px;pointer-events:none}.sv-grid-chart-datalabel.on-bar.svelte-kvdein{fill:#fff}.sv-grid-chart-donut-total.svelte-kvdein{fill:var(--sg-fg,#0f172a);font-size:calc(16px * var(--sg-chart-font-scale,1));font-variant-numeric:tabular-nums;font-weight:800}.sv-grid-chart-donut-label.svelte-kvdein{fill:var(--sg-muted,#64748b);font-size:calc(10px * var(--sg-chart-font-scale,1))}.sv-grid-chart-bar.svelte-kvdein{transition:x .3s,y .3s,width .3s,height .3s}.sv-grid-chart-dot.svelte-kvdein{transition:cx .3s,cy .3s}.sv-grid-chart-candle.svelte-kvdein{stroke-width:1px;transition:x .3s,y .3s,width .3s,height .3s}.sv-grid-chart-wick.svelte-kvdein,.sv-grid-chart-ohlc.svelte-kvdein{stroke-width:1px;shape-rendering:crispedges}.sv-grid-chart-box.svelte-kvdein{stroke-width:1px;transition:x .3s,y .3s,width .3s,height .3s}.sv-grid-chart-whisker.svelte-kvdein,.sv-grid-chart-errorbar.svelte-kvdein{stroke-width:1px;shape-rendering:crispedges}.sv-grid-chart-median.svelte-kvdein{stroke-width:2px;shape-rendering:crispedges}.sv-grid-chart-outlier.svelte-kvdein{stroke-width:1px}.is-clickable.svelte-kvdein .sv-grid-chart-cat-hit:where(.svelte-kvdein),.is-clickable.svelte-kvdein .sv-grid-chart-slice:where(.svelte-kvdein){cursor:pointer}.sv-grid-chart-empty.svelte-kvdein{color:var(--sg-muted,#94a3b8);font-size:calc(13px * var(--sg-chart-font-scale,1));pointer-events:none;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.sv-grid-chart-toolbar.svelte-kvdein{flex-wrap:wrap;justify-content:flex-end;gap:4px;display:flex}.sv-grid-chart-tool.svelte-kvdein{border:1px solid var(--sg-border,#cbd5e1);background:var(--sg-bg,#fff);color:var(--sg-fg,#1e293b);font-size:calc(11px * var(--sg-chart-font-scale,1));cursor:pointer;border-radius:4px;align-items:center;gap:4px;padding:3px 8px;font-weight:500;transition:background-color .1s,border-color .1s;display:inline-flex}.sv-grid-chart-tool.svelte-kvdein:hover{background:var(--sg-row-hover-bg,#f1f5f9);border-color:var(--sg-accent,#2563eb)}.sv-grid-chart-tool.is-on.svelte-kvdein{background:var(--sg-accent,#2563eb);border-color:var(--sg-accent,#2563eb);color:var(--sg-on-accent,#fff)}.sv-grid-chart-svg.is-annotating.svelte-kvdein{cursor:copy}.sv-grid-chart-annotation-marker.is-removable.svelte-kvdein{cursor:pointer}.sv-grid-chart-svg.is-zoomable.svelte-kvdein{cursor:crosshair}.sv-grid-chart-svg.is-dragging.svelte-kvdein{cursor:crosshair;-webkit-user-select:none;user-select:none}.sv-grid-chart-zoom-rect.svelte-kvdein{fill:var(--sg-accent,#2563eb);fill-opacity:.12;stroke:var(--sg-accent,#2563eb);stroke-width:1px;stroke-dasharray:3 3;pointer-events:none}.sv-grid-chart-tooltip.svelte-kvdein{z-index:10;pointer-events:none;white-space:nowrap;background:var(--sg-fg,#0f172a);color:var(--sg-bg,#fff);font-size:calc(11.5px * var(--sg-chart-font-scale,1));border-radius:6px;flex-direction:column;gap:1px;padding:6px 9px;line-height:1.4;display:flex;position:absolute;transform:translate(-50%,calc(-100% - 12px));box-shadow:0 6px 18px #00000047}.sv-grid-chart-tooltip.is-below.svelte-kvdein{transform:translate(-50%,16px)}.sv-grid-chart-tooltip.is-fixed.svelte-kvdein{transform:none}.sv-grid-chart-tooltip.is-fixed.is-right.svelte-kvdein{transform:translate(-100%)}.sv-grid-chart-tooltip.is-fixed.is-bottom.svelte-kvdein{transform:translateY(-100%)}.sv-grid-chart-tooltip.is-fixed.is-right.is-bottom.svelte-kvdein{transform:translate(-100%,-100%)}.sv-grid-chart-tooltip.is-pinned.svelte-kvdein{pointer-events:auto;-webkit-user-select:text;user-select:text;box-shadow:0 0 0 2px var(--sg-accent,#2563eb), 0 6px 18px #00000047}.sv-grid-chart-tooltip-title.svelte-kvdein{opacity:.75;font-size:calc(10.5px * var(--sg-chart-font-scale,1));margin-bottom:1px}.sv-grid-chart-tooltip-row.svelte-kvdein{align-items:center;gap:6px;display:flex}.sv-grid-chart-tooltip-dot.svelte-kvdein{border-radius:2px;flex-shrink:0;width:8px;height:8px}.sv-grid-chart-tooltip-row-label.svelte-kvdein{opacity:.85}.sv-grid-chart-tooltip-row-value.svelte-kvdein{font-variant-numeric:tabular-nums;margin-left:auto;padding-left:10px;font-weight:700}.sv-grid-chart-legend.svelte-kvdein{font-size:calc(12px * var(--sg-chart-font-scale,1));color:var(--sg-fg,#0f172a);flex-wrap:wrap;gap:6px 12px;display:flex}.sv-grid-chart-legend-item.svelte-kvdein{color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:4px;align-items:center;gap:6px;padding:1px 2px;display:inline-flex}.sv-grid-chart-legend-item.svelte-kvdein:disabled{cursor:default}.sv-grid-chart-legend-item.is-off.svelte-kvdein{color:var(--sg-muted,#94a3b8);text-decoration:line-through}.sv-grid-chart-legend-item.is-isolated.svelte-kvdein{background:var(--sg-header-bg,#f1f5f9);font-weight:700}.sv-grid-chart-legend-more.svelte-kvdein{border:1px dashed var(--sg-border,#cbd5e1);color:var(--sg-muted,#64748b);font:inherit;font-size:calc(11px * var(--sg-chart-font-scale,1));cursor:pointer;background:0 0;border-radius:999px;padding:1px 7px}.sv-grid-chart-legend-more.svelte-kvdein:hover{color:var(--sg-fg,#0f172a);border-color:var(--sg-accent,#2563eb)}.sv-grid-chart-sr-only.svelte-kvdein{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.sv-grid-chart-swatch.svelte-kvdein{box-sizing:border-box;border:1.5px solid #0000;border-radius:3px;width:12px;height:12px;display:inline-block}@keyframes svelte-kvdein-sv-grid-chart-in{0%{opacity:0}to{opacity:1}}.sv-grid-chart-bar.svelte-kvdein,.sv-grid-chart-linepath.svelte-kvdein,.sv-grid-chart-area.svelte-kvdein,.sv-grid-chart-slice.svelte-kvdein,.sv-grid-chart-candle.svelte-kvdein,.sv-grid-chart-box.svelte-kvdein,.sv-grid-chart-funnel-seg.svelte-kvdein,.sv-grid-chart-heatcell.svelte-kvdein,.sv-grid-chart-treemap-cell.svelte-kvdein{animation:.3s ease-out both svelte-kvdein-sv-grid-chart-in}@media (prefers-reduced-motion:reduce){.sv-grid-chart-bar.svelte-kvdein,.sv-grid-chart-dot.svelte-kvdein,.sv-grid-chart-candle.svelte-kvdein,.sv-grid-chart-box.svelte-kvdein{transition:none}.sv-grid-chart-bar.svelte-kvdein,.sv-grid-chart-linepath.svelte-kvdein,.sv-grid-chart-area.svelte-kvdein,.sv-grid-chart-slice.svelte-kvdein,.sv-grid-chart-candle.svelte-kvdein,.sv-grid-chart-box.svelte-kvdein,.sv-grid-chart-funnel-seg.svelte-kvdein,.sv-grid-chart-heatcell.svelte-kvdein,.sv-grid-chart-treemap-cell.svelte-kvdein{animation:none}}@media (forced-colors:active){.sv-grid-chart-svg.svelte-kvdein,.sv-grid-chart-brush.svelte-kvdein,.sv-grid-chart-swatch.svelte-kvdein{forced-color-adjust:none}.sv-grid-chart-axis.svelte-kvdein,.sv-grid-chart-axis-title.svelte-kvdein,.sv-grid-chart-title.svelte-kvdein,.sv-grid-chart-subtitle.svelte-kvdein,.sv-grid-chart-caption.svelte-kvdein,.sv-grid-chart-datalabel.svelte-kvdein,.sv-grid-chart-callout-label.svelte-kvdein,.sv-grid-chart-donut-total.svelte-kvdein,.sv-grid-chart-donut-label.svelte-kvdein,.sv-grid-chart-sankey-label.svelte-kvdein,.sv-grid-chart-annotation-label.svelte-kvdein{fill:canvastext}.sv-grid-chart-gridline.svelte-kvdein{stroke:graytext;opacity:1}.sv-grid-chart-crosshair.svelte-kvdein{stroke:highlight;opacity:1}.sv-grid-chart-crosshair-label.svelte-kvdein rect:where(.svelte-kvdein),.sv-grid-chart-refpill.svelte-kvdein rect:where(.svelte-kvdein){fill:highlight;opacity:1}.sv-grid-chart-crosshair-label.svelte-kvdein text:where(.svelte-kvdein),.sv-grid-chart-refpill.svelte-kvdein text:where(.svelte-kvdein){fill:highlighttext}.sv-grid-chart-cat-hit.svelte-kvdein:focus-visible,.sv-grid-chart-slice.svelte-kvdein:focus-visible,.sv-grid-chart-arc.svelte-kvdein:focus-visible,.sv-grid-chart-heatcell.svelte-kvdein:focus-visible,.sv-grid-chart-funnel-seg.svelte-kvdein:focus-visible,.sv-grid-chart-treemap-cell.svelte-kvdein:focus-visible,.sv-grid-chart-sankey-node.svelte-kvdein:focus-visible,.sv-grid-chart-sankey-link.svelte-kvdein:focus-visible,.sv-grid-chart-calendar-cell.svelte-kvdein:focus-visible,.sv-grid-chart-radar-dot.svelte-kvdein:focus-visible,.sv-grid-chart-scatter.svelte-kvdein:focus-visible,.sv-grid-chart-brush.svelte-kvdein:focus-visible,.sv-grid-chart-annotation-marker.svelte-kvdein:focus-visible{outline:3px solid highlight}.sv-grid-chart-slice.is-selected.svelte-kvdein,.sv-grid-chart-arc.is-selected.svelte-kvdein{stroke:highlight;stroke-width:3px}.sv-grid-chart-brush-mask.svelte-kvdein{fill:canvas;fill-opacity:.7}.sv-grid-chart-brush-window.svelte-kvdein{stroke:highlight;fill:highlight;fill-opacity:.2}.sv-grid-chart-brush-handle.svelte-kvdein{fill:highlight}.sv-grid-chart-tooltip.svelte-kvdein{border:1px solid canvastext}.sv-grid-chart-legend-item.is-off.svelte-kvdein .sv-grid-chart-swatch:where(.svelte-kvdein){forced-color-adjust:auto}}\n";if(typeof globalThis!=='undefined'){var f=globalThis.__SVGRID_WC_ADD_CSS__;if(typeof f==='function')f(c);else(globalThis.__SVGRID_WC_CSS_CHUNKS__=globalThis.__SVGRID_WC_CSS_CHUNKS__||[]).push(c);}if(typeof document==='undefined')return;if(document.querySelector('style[data-svgrid-grid-wc-chunk="SvGridChart"]'))return;var s=document.createElement('style');s.setAttribute('data-svgrid-grid-wc-chunk',"SvGridChart");s.textContent=c;document.head.appendChild(s);}catch(e){}})();
1
+ (function(){try{var c=".sv-grid-chart.svelte-kvdein{background:var(--sg-chart-bg,transparent);flex-direction:column;gap:8px;width:100%;display:flex;position:relative}.sv-grid-chart.is-legend-top.svelte-kvdein .sv-grid-chart-toolbar:where(.svelte-kvdein){order:-2}.sv-grid-chart.is-legend-top.svelte-kvdein .sv-grid-chart-legend:where(.svelte-kvdein){order:-1}.sv-grid-chart.is-legend-left.svelte-kvdein,.sv-grid-chart.is-legend-right.svelte-kvdein{grid-template-rows:auto 1fr auto;align-items:start;display:grid}.sv-grid-chart.is-legend-left.svelte-kvdein{grid-template-columns:auto minmax(0,1fr);grid-template-areas:\"tb tb\"\"lg svg\"\"lg br\"}.sv-grid-chart.is-legend-right.svelte-kvdein{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:\"tb tb\"\"svg lg\"\"br lg\"}.sv-grid-chart.is-legend-left.svelte-kvdein .sv-grid-chart-toolbar:where(.svelte-kvdein),.sv-grid-chart.is-legend-right.svelte-kvdein .sv-grid-chart-toolbar:where(.svelte-kvdein){grid-area:tb}.sv-grid-chart.is-legend-left.svelte-kvdein .sv-grid-chart-svg:where(.svelte-kvdein),.sv-grid-chart.is-legend-right.svelte-kvdein .sv-grid-chart-svg:where(.svelte-kvdein){grid-area:svg}.sv-grid-chart.is-legend-left.svelte-kvdein .sv-grid-chart-brush-host:where(.svelte-kvdein),.sv-grid-chart.is-legend-right.svelte-kvdein .sv-grid-chart-brush-host:where(.svelte-kvdein){grid-area:br}.sv-grid-chart-brush-host.svelte-kvdein{min-width:0;display:block}.sv-grid-chart.is-legend-left.svelte-kvdein .sv-grid-chart-legend:where(.svelte-kvdein),.sv-grid-chart.is-legend-right.svelte-kvdein .sv-grid-chart-legend:where(.svelte-kvdein){grid-area:lg}.sv-grid-chart-legend.is-vertical.svelte-kvdein{flex-direction:column;align-items:flex-start;gap:4px;max-width:180px;padding-top:6px}.sv-grid-chart.is-autosize.svelte-kvdein{min-height:0}.sv-grid-chart.is-autosize.svelte-kvdein .sv-grid-chart-svg:where(.svelte-kvdein){flex:none;min-height:0}.sv-grid-chart-svg.svelte-kvdein{width:100%;height:auto;display:block}.sv-grid-chart-title.svelte-kvdein{fill:var(--sg-fg,#0f172a);font-size:calc(14px * var(--sg-chart-font-scale,1));font-family:inherit;font-weight:600}.sv-grid-chart-subtitle.svelte-kvdein{fill:var(--sg-muted,#64748b);font-size:calc(11.5px * var(--sg-chart-font-scale,1));font-family:inherit}.sv-grid-chart-caption.svelte-kvdein{fill:var(--sg-muted,#64748b);font-size:calc(10px * var(--sg-chart-font-scale,1));font-family:inherit}.sv-grid-chart-refband.svelte-kvdein{pointer-events:none}.sv-grid-chart-wipe.svelte-kvdein{animation:.7s cubic-bezier(.2,.7,.2,1) both svelte-kvdein-sv-grid-chart-wipe}@keyframes svelte-kvdein-sv-grid-chart-wipe{0%{width:0}}.sv-grid-chart-marks.is-enter-grow.svelte-kvdein .sv-grid-chart-bar:where(.svelte-kvdein){transform-box:fill-box;transform-origin:50% 100%;animation:.5s cubic-bezier(.2,.7,.2,1) both svelte-kvdein-sv-grid-chart-grow}@keyframes svelte-kvdein-sv-grid-chart-grow{0%{transform:scaleY(.02)}}.sv-grid-chart-marks.is-enter-none.svelte-kvdein :where(.svelte-kvdein),.sv-grid-chart-marks.is-enter-none.svelte-kvdein{animation:none!important}.sv-grid-chart-svg.is-pannable.svelte-kvdein{cursor:grab}.sv-grid-chart-svg.is-pannable.svelte-kvdein:active{cursor:grabbing}.sv-grid-chart-presets.svelte-kvdein{gap:2px;margin-right:6px;display:inline-flex}.sv-grid-chart-crumbs.svelte-kvdein{font-size:calc(11.5px * var(--sg-chart-font-scale,1));align-items:center;gap:2px;margin-right:8px;display:inline-flex}.sv-grid-chart-crumb.is-current.svelte-kvdein{color:var(--sg-fg,#0f172a);padding:0 4px;font-weight:600}.sv-grid-chart-crumb-sep.svelte-kvdein{color:var(--sg-muted,#64748b)}.sv-grid-chart-arc.is-drillable.svelte-kvdein,.sv-grid-chart-slice.is-drillable.svelte-kvdein{cursor:zoom-in}.sv-grid-chart-bar.is-selected.svelte-kvdein,.sv-grid-chart-slice.is-selected.svelte-kvdein,.sv-grid-chart-arc.is-selected.svelte-kvdein{stroke:var(--sg-fg,#0f172a);stroke-width:2px}.sv-grid-chart-dot.is-selected.svelte-kvdein{stroke:var(--sg-fg,#0f172a);stroke-width:2px;r:5}.sv-grid-chart-scatter.is-selected.svelte-kvdein{stroke:var(--sg-fg,#0f172a);stroke-width:2px;fill-opacity:1}.sv-grid-chart-preset.svelte-kvdein{padding-inline:6px}.sv-grid-chart-arc-track.svelte-kvdein{fill:var(--sg-border,#e2e8f0);opacity:.45;pointer-events:none}.sv-grid-chart-arc.svelte-kvdein{transition:opacity .1s;animation:.3s both svelte-kvdein-sv-grid-chart-in}.sv-grid-chart-ribbon.svelte-kvdein{transition:opacity .1s}.sv-grid-chart-stem.svelte-kvdein line:where(.svelte-kvdein){stroke-linecap:round}.sv-grid-chart-dot.is-stroked.svelte-kvdein{fill:none}.sv-grid-chart-tooltip.is-custom.svelte-kvdein{color:inherit;box-shadow:none;background:0 0;border:0;padding:0}.sv-grid-chart-gridline.svelte-kvdein{stroke:var(--sg-border,#e2e8f0);stroke-width:1px;opacity:.6}.sv-grid-chart-gridline.is-zero.svelte-kvdein{stroke:var(--sg-muted,#94a3b8);opacity:.9}.sv-grid-chart-axis.svelte-kvdein{fill:var(--sg-muted,#64748b);font-size:calc(10px * var(--sg-chart-font-scale,1));font-family:inherit}.sv-grid-chart-axis-title.svelte-kvdein{fill:var(--sg-muted,#64748b);font-size:calc(11px * var(--sg-chart-font-scale,1));font-family:inherit;font-weight:600}.sv-grid-chart-group-label.svelte-kvdein{fill:var(--sg-fg,#0f172a);font-weight:600}.sv-grid-chart-crosshair.svelte-kvdein{stroke:var(--sg-accent,#2563eb);stroke-width:1px;stroke-dasharray:3 3;opacity:.65;pointer-events:none}.sv-grid-chart-callout.svelte-kvdein{opacity:.8;pointer-events:none}.sv-grid-chart-callout-label.svelte-kvdein{font-size:calc(10.5px * var(--sg-chart-font-scale,1));fill:var(--sg-fg,#0f172a);pointer-events:none;font-family:inherit}.sv-grid-chart-crosshair-label.svelte-kvdein rect:where(.svelte-kvdein){fill:var(--sg-fg,#0f172a);opacity:.85}.sv-grid-chart-crosshair-label.svelte-kvdein text:where(.svelte-kvdein){fill:var(--sg-bg,#fff);font-size:calc(9.5px * var(--sg-chart-font-scale,1));font-family:inherit;font-weight:600}.sv-grid-chart-refline.svelte-kvdein{stroke-width:1.5px;opacity:.9;pointer-events:none}.sv-grid-chart-reflabel.svelte-kvdein{font-size:calc(9.5px * var(--sg-chart-font-scale,1));pointer-events:none;font-family:inherit;font-weight:700}.sv-grid-chart-overlay.svelte-kvdein{opacity:.85;pointer-events:none}.sv-grid-chart-annotation-marker.svelte-kvdein{pointer-events:none}.sv-grid-chart-annotation-marker.has-text.svelte-kvdein{pointer-events:auto;cursor:help}.sv-grid-chart-annotation-marker.svelte-kvdein:focus-visible{outline:2px solid var(--sg-accent,#2563eb);outline-offset:2px}.sv-grid-chart-annotation-label.svelte-kvdein{font-size:calc(10px * var(--sg-chart-font-scale,1));pointer-events:none;font-family:inherit;font-weight:700}.sv-grid-chart-serieslabel.svelte-kvdein{font-size:calc(10.5px * var(--sg-chart-font-scale,1));pointer-events:none;font-family:inherit;font-weight:600}.sv-grid-chart-annotation-flagtext.svelte-kvdein{font-size:calc(9px * var(--sg-chart-font-scale,1));pointer-events:none;font-family:inherit;font-weight:700}.sv-grid-chart-refpill.svelte-kvdein text:where(.svelte-kvdein){font-size:calc(9.5px * var(--sg-chart-font-scale,1));pointer-events:none;font-family:inherit;font-weight:700}.sv-grid-chart-drawing-hit.svelte-kvdein{stroke:#0000;stroke-width:10px;fill:#0000;pointer-events:stroke}.sv-grid-chart-drawing.is-fib.svelte-kvdein .sv-grid-chart-drawing-hit:where(.svelte-kvdein),.sv-grid-chart-drawing.is-rect.svelte-kvdein rect:where(.svelte-kvdein),.sv-grid-chart-drawing.is-text.svelte-kvdein text:where(.svelte-kvdein){pointer-events:all}.sv-grid-chart-drawing[role=button].svelte-kvdein{cursor:pointer}.sv-grid-chart-drawing.svelte-kvdein:focus-visible{outline:none}.sv-grid-chart-drawing.is-selected.svelte-kvdein line:where(.svelte-kvdein),.sv-grid-chart-drawing.is-selected.svelte-kvdein rect:where(.svelte-kvdein),.sv-grid-chart-drawing.svelte-kvdein:focus-visible line:where(.svelte-kvdein),.sv-grid-chart-drawing.svelte-kvdein:focus-visible rect:where(.svelte-kvdein){filter:drop-shadow(0 0 2px var(--sg-accent,#2563eb))}.sv-grid-chart-drawing-label.svelte-kvdein{font-size:calc(9px * var(--sg-chart-font-scale,1));pointer-events:none;font-family:inherit;font-weight:600}.sv-grid-chart-drawing-text.svelte-kvdein{font-size:calc(11px * var(--sg-chart-font-scale,1));font-family:inherit;font-weight:600}.sv-grid-chart-drawing-handle.svelte-kvdein{cursor:move}.sv-grid-chart-textdraft.svelte-kvdein{z-index:11;width:160px;font:inherit;font-size:calc(12px * var(--sg-chart-font-scale,1));border:1px solid var(--sg-accent,#2563eb);background:var(--sg-bg,#fff);color:var(--sg-fg,#0f172a);border-radius:4px;padding:3px 6px;position:absolute;transform:translateY(-50%);box-shadow:0 4px 12px #00000026}.sv-grid-chart-svg.is-drawing.svelte-kvdein{cursor:crosshair}.sv-grid-chart-drawtools.svelte-kvdein{border-right:1px solid var(--sg-border,#e2e8f0);gap:2px;margin-right:2px;padding-right:6px;display:inline-flex}.sv-grid-chart-heatcell.svelte-kvdein{stroke:var(--sg-border,#cbd5e1);stroke-width:1px;cursor:default;transition:opacity .1s}.sv-grid-chart-svg.is-clickable.svelte-kvdein .sv-grid-chart-heatcell:where(.svelte-kvdein){cursor:pointer}.sv-grid-chart-heatcell.svelte-kvdein:hover{opacity:.85}.sv-grid-chart-heatlabel.svelte-kvdein{font-size:calc(10px * var(--sg-chart-font-scale,1));pointer-events:none;-webkit-user-select:none;user-select:none;font-family:inherit;font-weight:600}.sv-grid-chart-heatlegend.svelte-kvdein{stroke:var(--sg-border,#cbd5e1);stroke-width:1px}.sv-grid-chart-funnel-seg.svelte-kvdein{stroke:var(--sg-bg,#fff);stroke-width:2px;cursor:default;transition:opacity .1s}.sv-grid-chart-svg.is-clickable.svelte-kvdein .sv-grid-chart-funnel-seg:where(.svelte-kvdein){cursor:pointer}.sv-grid-chart-funnel-seg.svelte-kvdein:hover{opacity:.88}.sv-grid-chart-funnel-label.svelte-kvdein{font-size:calc(11px * var(--sg-chart-font-scale,1));pointer-events:none;font-family:inherit;font-weight:700}.sv-grid-chart-funnel-value.svelte-kvdein{font-size:calc(10px * var(--sg-chart-font-scale,1));opacity:.85;pointer-events:none;font-family:inherit}.sv-grid-chart-radar-ring.svelte-kvdein{fill:none;stroke:var(--sg-border,#e2e8f0);stroke-width:1px;opacity:.6}.sv-grid-chart-radar-spoke.svelte-kvdein{stroke:var(--sg-border,#e2e8f0);stroke-width:1px;opacity:.6}.sv-grid-chart-radar-poly.svelte-kvdein{pointer-events:none;transition:opacity .1s}.sv-grid-chart-radar-dot.svelte-kvdein{cursor:default;transition:r .1s}.sv-grid-chart-radar-dot.svelte-kvdein:hover{r:4.5}.sv-grid-chart-calendar-cell.svelte-kvdein{stroke:var(--sg-border,#e2e8f0);stroke-width:.5px;cursor:default;transition:opacity .1s}.sv-grid-chart-calendar-cell.is-blank.svelte-kvdein{stroke-opacity:.5}.sv-grid-chart-calendar-cell.svelte-kvdein:hover{opacity:.85}.sv-grid-chart-calendar-legend.svelte-kvdein{stroke:var(--sg-border,#cbd5e1);stroke-width:.5px}.sv-grid-chart-gauge-value.svelte-kvdein{fill:var(--sg-fg,#0f172a);font-size:calc(22px * var(--sg-chart-font-scale,1));pointer-events:none;font-family:inherit;font-weight:800}.sv-grid-chart-gauge-tick.svelte-kvdein{stroke:var(--sg-muted,#94a3b8);stroke-width:1px;opacity:.4}.sv-grid-chart-gauge-tick.is-major.svelte-kvdein{stroke-width:2px;opacity:.7}.sv-grid-chart-gauge-needle.svelte-kvdein{fill:var(--sg-fg,#0f172a);stroke:var(--sg-bg,#fff);stroke-width:.75px;stroke-linejoin:round}.sv-grid-chart-gauge-hub.svelte-kvdein{fill:var(--sg-fg,#0f172a);stroke:var(--sg-bg,#fff);stroke-width:2px}.sv-grid-chart-gauge-hub-dot.svelte-kvdein{fill:var(--sg-bg,#fff)}.sv-grid-chart-treemap-cell.svelte-kvdein{stroke:var(--sg-bg,#fff);stroke-width:1px;cursor:default;transition:opacity .1s}.sv-grid-chart-svg.is-clickable.svelte-kvdein .sv-grid-chart-treemap-cell:where(.svelte-kvdein){cursor:pointer}.sv-grid-chart-treemap-cell.svelte-kvdein:hover{opacity:.88}.sv-grid-chart-treemap-label.svelte-kvdein{font-size:calc(11px * var(--sg-chart-font-scale,1));pointer-events:none;font-family:inherit;font-weight:600}.sv-grid-chart-treemap-value.svelte-kvdein{font-size:calc(10px * var(--sg-chart-font-scale,1));pointer-events:none;font-family:inherit}.sv-grid-chart-sankey-node.svelte-kvdein{cursor:default;transition:opacity .1s}.sv-grid-chart-sankey-node.svelte-kvdein:hover{opacity:.88}.sv-grid-chart-sankey-link.svelte-kvdein{cursor:default;transition:stroke-opacity .1s}.sv-grid-chart-sankey-link.svelte-kvdein:hover{stroke-opacity:.6}.sv-grid-chart-sankey-label.svelte-kvdein{fill:var(--sg-fg,#0f172a);font-size:calc(11px * var(--sg-chart-font-scale,1));pointer-events:none;font-family:inherit;font-weight:600}.sv-grid-chart-brush.svelte-kvdein{border-top:1px solid var(--sg-border,#e2e8f0);-webkit-user-select:none;user-select:none;touch-action:none;width:100%;height:auto;margin-top:4px;display:block}.sv-grid-chart-brush-mask.svelte-kvdein{fill:var(--sg-bg,#fff);fill-opacity:.65;pointer-events:none}.sv-grid-chart-brush-window.svelte-kvdein{fill:var(--sg-accent,#2563eb);fill-opacity:.1;stroke:var(--sg-accent,#2563eb);stroke-width:1px;cursor:grab}.sv-grid-chart-brush-window.svelte-kvdein:active{cursor:grabbing}.sv-grid-chart-brush-handle.svelte-kvdein{fill:var(--sg-accent,#2563eb);fill-opacity:.4;cursor:ew-resize}.sv-grid-chart-brush-handle.svelte-kvdein:hover{fill-opacity:.7}.sv-grid-chart-scatter.svelte-kvdein{stroke-width:1px;transition:opacity .2s}.is-clickable.svelte-kvdein .sv-grid-chart-scatter:where(.svelte-kvdein),.sv-grid-chart-scatter.svelte-kvdein:hover{cursor:pointer}.sv-grid-chart-cat-hit.svelte-kvdein{fill:#0000}.sv-grid-chart-cat-hit.svelte-kvdein:focus-visible,.sv-grid-chart-slice.svelte-kvdein:focus-visible,.sv-grid-chart-arc.svelte-kvdein:focus-visible,.sv-grid-chart-heatcell.svelte-kvdein:focus-visible,.sv-grid-chart-funnel-seg.svelte-kvdein:focus-visible,.sv-grid-chart-treemap-cell.svelte-kvdein:focus-visible,.sv-grid-chart-sankey-node.svelte-kvdein:focus-visible,.sv-grid-chart-sankey-link.svelte-kvdein:focus-visible,.sv-grid-chart-calendar-cell.svelte-kvdein:focus-visible,.sv-grid-chart-radar-dot.svelte-kvdein:focus-visible,.sv-grid-chart-scatter.svelte-kvdein:focus-visible,.sv-grid-chart-brush.svelte-kvdein:focus-visible{outline:2px solid var(--sg-accent,#2563eb);outline-offset:1px}.sv-grid-chart-datalabel.svelte-kvdein{fill:var(--sg-fg,#0f172a);font-size:calc(9.5px * var(--sg-chart-font-scale,1));font-variant-numeric:tabular-nums;pointer-events:none;font-weight:600}.sv-grid-chart-datalabel-leader.svelte-kvdein{stroke:var(--sg-muted,#64748b);stroke-width:1px;pointer-events:none}.sv-grid-chart-datalabel.on-bar.svelte-kvdein{fill:#fff}.sv-grid-chart-donut-total.svelte-kvdein{fill:var(--sg-fg,#0f172a);font-size:calc(16px * var(--sg-chart-font-scale,1));font-variant-numeric:tabular-nums;font-weight:800}.sv-grid-chart-donut-label.svelte-kvdein{fill:var(--sg-muted,#64748b);font-size:calc(10px * var(--sg-chart-font-scale,1))}.sv-grid-chart-bar.svelte-kvdein{transition:x .3s,y .3s,width .3s,height .3s}.sv-grid-chart-dot.svelte-kvdein{transition:cx .3s,cy .3s}.sv-grid-chart-candle.svelte-kvdein{stroke-width:1px;transition:x .3s,y .3s,width .3s,height .3s}.sv-grid-chart-wick.svelte-kvdein,.sv-grid-chart-ohlc.svelte-kvdein{stroke-width:1px;shape-rendering:crispedges}.sv-grid-chart-box.svelte-kvdein{stroke-width:1px;transition:x .3s,y .3s,width .3s,height .3s}.sv-grid-chart-whisker.svelte-kvdein,.sv-grid-chart-errorbar.svelte-kvdein{stroke-width:1px;shape-rendering:crispedges}.sv-grid-chart-median.svelte-kvdein{stroke-width:2px;shape-rendering:crispedges}.sv-grid-chart-outlier.svelte-kvdein{stroke-width:1px}.is-clickable.svelte-kvdein .sv-grid-chart-cat-hit:where(.svelte-kvdein),.is-clickable.svelte-kvdein .sv-grid-chart-slice:where(.svelte-kvdein){cursor:pointer}.sv-grid-chart-empty.svelte-kvdein{color:var(--sg-muted,#94a3b8);font-size:calc(13px * var(--sg-chart-font-scale,1));pointer-events:none;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.sv-grid-chart-toolbar.svelte-kvdein{flex-wrap:wrap;justify-content:flex-end;gap:4px;display:flex}.sv-grid-chart-tool.svelte-kvdein{border:1px solid var(--sg-border,#cbd5e1);background:var(--sg-bg,#fff);color:var(--sg-fg,#1e293b);font-size:calc(11px * var(--sg-chart-font-scale,1));cursor:pointer;border-radius:4px;align-items:center;gap:4px;padding:3px 8px;font-weight:500;transition:background-color .1s,border-color .1s;display:inline-flex}.sv-grid-chart-tool.svelte-kvdein:hover{background:var(--sg-row-hover-bg,#f1f5f9);border-color:var(--sg-accent,#2563eb)}.sv-grid-chart-tool.is-on.svelte-kvdein{background:var(--sg-accent,#2563eb);border-color:var(--sg-accent,#2563eb);color:var(--sg-on-accent,#fff)}.sv-grid-chart-svg.is-annotating.svelte-kvdein{cursor:copy}.sv-grid-chart-annotation-marker.is-removable.svelte-kvdein{cursor:pointer}.sv-grid-chart-svg.is-zoomable.svelte-kvdein{cursor:crosshair}.sv-grid-chart-svg.is-dragging.svelte-kvdein{cursor:crosshair;-webkit-user-select:none;user-select:none}.sv-grid-chart-zoom-rect.svelte-kvdein{fill:var(--sg-accent,#2563eb);fill-opacity:.12;stroke:var(--sg-accent,#2563eb);stroke-width:1px;stroke-dasharray:3 3;pointer-events:none}.sv-grid-chart-tooltip.svelte-kvdein{z-index:10;pointer-events:none;white-space:nowrap;background:var(--sg-fg,#0f172a);color:var(--sg-bg,#fff);font-size:calc(11.5px * var(--sg-chart-font-scale,1));border-radius:6px;flex-direction:column;gap:1px;padding:6px 9px;line-height:1.4;display:flex;position:absolute;transform:translate(-50%,calc(-100% - 12px));box-shadow:0 6px 18px #00000047}.sv-grid-chart-tooltip.is-below.svelte-kvdein{transform:translate(-50%,16px)}.sv-grid-chart-tooltip.is-fixed.svelte-kvdein{transform:none}.sv-grid-chart-tooltip.is-fixed.is-right.svelte-kvdein{transform:translate(-100%)}.sv-grid-chart-tooltip.is-fixed.is-bottom.svelte-kvdein{transform:translateY(-100%)}.sv-grid-chart-tooltip.is-fixed.is-right.is-bottom.svelte-kvdein{transform:translate(-100%,-100%)}.sv-grid-chart-tooltip.is-pinned.svelte-kvdein{pointer-events:auto;-webkit-user-select:text;user-select:text;box-shadow:0 0 0 2px var(--sg-accent,#2563eb), 0 6px 18px #00000047}.sv-grid-chart-tooltip-title.svelte-kvdein{opacity:.75;font-size:calc(10.5px * var(--sg-chart-font-scale,1));margin-bottom:1px}.sv-grid-chart-tooltip-row.svelte-kvdein{align-items:center;gap:6px;display:flex}.sv-grid-chart-tooltip-dot.svelte-kvdein{border-radius:2px;flex-shrink:0;width:8px;height:8px}.sv-grid-chart-tooltip-row-label.svelte-kvdein{opacity:.85}.sv-grid-chart-tooltip-row-value.svelte-kvdein{font-variant-numeric:tabular-nums;margin-left:auto;padding-left:10px;font-weight:700}.sv-grid-chart-legend.svelte-kvdein{font-size:calc(12px * var(--sg-chart-font-scale,1));color:var(--sg-fg,#0f172a);flex-wrap:wrap;gap:6px 12px;display:flex}.sv-grid-chart-legend-item.svelte-kvdein{color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:4px;align-items:center;gap:6px;padding:1px 2px;display:inline-flex}.sv-grid-chart-legend-item.svelte-kvdein:disabled{cursor:default}.sv-grid-chart-legend-item.is-off.svelte-kvdein{color:var(--sg-muted,#94a3b8);text-decoration:line-through}.sv-grid-chart-legend-item.is-isolated.svelte-kvdein{background:var(--sg-header-bg,#f1f5f9);font-weight:700}.sv-grid-chart-legend-more.svelte-kvdein{border:1px dashed var(--sg-border,#cbd5e1);color:var(--sg-muted,#64748b);font:inherit;font-size:calc(11px * var(--sg-chart-font-scale,1));cursor:pointer;background:0 0;border-radius:999px;padding:1px 7px}.sv-grid-chart-legend-more.svelte-kvdein:hover{color:var(--sg-fg,#0f172a);border-color:var(--sg-accent,#2563eb)}.sv-grid-chart-sr-only.svelte-kvdein{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.sv-grid-chart-swatch.svelte-kvdein{box-sizing:border-box;border:1.5px solid #0000;border-radius:3px;width:12px;height:12px;display:inline-block}@keyframes svelte-kvdein-sv-grid-chart-in{0%{opacity:0}to{opacity:1}}.sv-grid-chart-bar.svelte-kvdein,.sv-grid-chart-linepath.svelte-kvdein,.sv-grid-chart-area.svelte-kvdein,.sv-grid-chart-slice.svelte-kvdein,.sv-grid-chart-candle.svelte-kvdein,.sv-grid-chart-box.svelte-kvdein,.sv-grid-chart-funnel-seg.svelte-kvdein,.sv-grid-chart-heatcell.svelte-kvdein,.sv-grid-chart-treemap-cell.svelte-kvdein{animation:.3s ease-out both svelte-kvdein-sv-grid-chart-in}@media (prefers-reduced-motion:reduce){.sv-grid-chart-bar.svelte-kvdein,.sv-grid-chart-dot.svelte-kvdein,.sv-grid-chart-candle.svelte-kvdein,.sv-grid-chart-box.svelte-kvdein{transition:none}.sv-grid-chart-bar.svelte-kvdein,.sv-grid-chart-linepath.svelte-kvdein,.sv-grid-chart-area.svelte-kvdein,.sv-grid-chart-slice.svelte-kvdein,.sv-grid-chart-candle.svelte-kvdein,.sv-grid-chart-box.svelte-kvdein,.sv-grid-chart-funnel-seg.svelte-kvdein,.sv-grid-chart-heatcell.svelte-kvdein,.sv-grid-chart-treemap-cell.svelte-kvdein{animation:none}}@media (forced-colors:active){.sv-grid-chart-svg.svelte-kvdein,.sv-grid-chart-brush.svelte-kvdein,.sv-grid-chart-swatch.svelte-kvdein{forced-color-adjust:none}.sv-grid-chart-axis.svelte-kvdein,.sv-grid-chart-axis-title.svelte-kvdein,.sv-grid-chart-title.svelte-kvdein,.sv-grid-chart-subtitle.svelte-kvdein,.sv-grid-chart-caption.svelte-kvdein,.sv-grid-chart-datalabel.svelte-kvdein,.sv-grid-chart-callout-label.svelte-kvdein,.sv-grid-chart-donut-total.svelte-kvdein,.sv-grid-chart-donut-label.svelte-kvdein,.sv-grid-chart-sankey-label.svelte-kvdein,.sv-grid-chart-annotation-label.svelte-kvdein{fill:canvastext}.sv-grid-chart-gridline.svelte-kvdein{stroke:graytext;opacity:1}.sv-grid-chart-crosshair.svelte-kvdein{stroke:highlight;opacity:1}.sv-grid-chart-crosshair-label.svelte-kvdein rect:where(.svelte-kvdein),.sv-grid-chart-refpill.svelte-kvdein rect:where(.svelte-kvdein){fill:highlight;opacity:1}.sv-grid-chart-crosshair-label.svelte-kvdein text:where(.svelte-kvdein),.sv-grid-chart-refpill.svelte-kvdein text:where(.svelte-kvdein){fill:highlighttext}.sv-grid-chart-cat-hit.svelte-kvdein:focus-visible,.sv-grid-chart-slice.svelte-kvdein:focus-visible,.sv-grid-chart-arc.svelte-kvdein:focus-visible,.sv-grid-chart-heatcell.svelte-kvdein:focus-visible,.sv-grid-chart-funnel-seg.svelte-kvdein:focus-visible,.sv-grid-chart-treemap-cell.svelte-kvdein:focus-visible,.sv-grid-chart-sankey-node.svelte-kvdein:focus-visible,.sv-grid-chart-sankey-link.svelte-kvdein:focus-visible,.sv-grid-chart-calendar-cell.svelte-kvdein:focus-visible,.sv-grid-chart-radar-dot.svelte-kvdein:focus-visible,.sv-grid-chart-scatter.svelte-kvdein:focus-visible,.sv-grid-chart-brush.svelte-kvdein:focus-visible,.sv-grid-chart-annotation-marker.svelte-kvdein:focus-visible{outline:3px solid highlight}.sv-grid-chart-slice.is-selected.svelte-kvdein,.sv-grid-chart-arc.is-selected.svelte-kvdein{stroke:highlight;stroke-width:3px}.sv-grid-chart-brush-mask.svelte-kvdein{fill:canvas;fill-opacity:.7}.sv-grid-chart-brush-window.svelte-kvdein{stroke:highlight;fill:highlight;fill-opacity:.2}.sv-grid-chart-brush-handle.svelte-kvdein{fill:highlight}.sv-grid-chart-tooltip.svelte-kvdein{border:1px solid canvastext}.sv-grid-chart-legend-item.is-off.svelte-kvdein .sv-grid-chart-swatch:where(.svelte-kvdein){forced-color-adjust:auto}}\n",g=globalThis;if(typeof g!=='undefined'){var f=(g.__SVGRID_WC_ADD_CSS_BY_BUILD__||{})["shadow"];if(typeof f==='function')f(c);else{var q=g.__SVGRID_WC_CSS_CHUNKS_BY_BUILD__=g.__SVGRID_WC_CSS_CHUNKS_BY_BUILD__||{};(q["shadow"]=q["shadow"]||[]).push(c);}}if(typeof document==='undefined')return;var x=document.querySelectorAll('style[data-svgrid-grid-wc-chunk]');for(var i=0;i<x.length;i++)if(x[i].getAttribute('data-svgrid-grid-wc-chunk')==="shadow:SvGridChart-B1Ro43s3.js"||x[i].textContent===c)return;var s=document.createElement('style');s.setAttribute('data-svgrid-grid-wc-chunk',"shadow:SvGridChart-B1Ro43s3.js");s.textContent=c;document.head.appendChild(s);}catch(e){}})();
2
2
  import { C as e, D as t, E as n, O as r, T as i, _ as a, a as o, b as s, d as c, g as l, i as u, j as d, n as ee, t as te, v as ne, w as re, x as ie, y as f } from "./chart-xrT6cLA5.js";
3
- import { $ as p, A as m, B as ae, C as oe, D as h, F as se, H as ce, I as le, J as g, L as _, M as v, N as y, O as ue, Q as b, R as x, T as S, U as C, V as de, W as fe, X as w, Y as T, Z as pe, a as me, at as E, d as he, f as D, it as ge, j as O, k, n as A, nt as _e, o as ve, rt as ye, s as be, tt as j, v as M, w as N, x as xe, y as P, z as F } from "./client-wYhMjrKG.js";
3
+ import { $ as p, A as m, B as ae, C as oe, D as h, F as se, H as ce, I as le, L as g, M as _, N as v, O as ue, Q as de, R as y, T as b, U as x, V as fe, W as pe, X as S, Y as C, Z as w, a as me, at as he, d as ge, et as T, f as E, it as _e, j as D, k as O, n as k, nt as A, o as ve, ot as j, rt as ye, s as be, v as M, w as N, x as xe, y as P, z as F } from "./client-DtIdusS4.js";
4
4
  import { a as Se } from "./editor-contract-peBDxir_.js";
5
5
  //#region ../grid/dist/chart-zoom.js
6
6
  function Ce(e, t, n) {
@@ -88,7 +88,7 @@ var I = /* @__PURE__ */ new Map();
88
88
  function Ae(e) {
89
89
  let t = I.get(e);
90
90
  if (t) return t;
91
- let n = pe({
91
+ let n = de({
92
92
  hover: null,
93
93
  zoom: null
94
94
  });
@@ -444,18 +444,18 @@ function et(e, t) {
444
444
  }
445
445
  //#endregion
446
446
  //#region ../grid/dist/SvGridChart.svelte
447
- var tt = v("<span class=\"sv-grid-chart-crumb is-current svelte-kvdein\" aria-current=\"page\"> </span>"), nt = v("<button type=\"button\" class=\"sv-grid-chart-tool sv-grid-chart-crumb svelte-kvdein\"> </button>"), rt = v("<span class=\"sv-grid-chart-crumb-sep svelte-kvdein\" aria-hidden=\"true\">/</span> <!>", 1), it = v("<nav class=\"sv-grid-chart-crumbs svelte-kvdein\"><button type=\"button\" class=\"sv-grid-chart-tool sv-grid-chart-crumb svelte-kvdein\"> </button> <!></nav>"), at = v("<button type=\"button\" class=\"sv-grid-chart-tool sv-grid-chart-preset svelte-kvdein\"> </button>"), ot = v("<span class=\"sv-grid-chart-presets svelte-kvdein\" role=\"group\"></span>"), st = v("<button type=\"button\"><svg aria-hidden=\"true\" width=\"12\" height=\"12\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M5 9l-3 3 3 3\"></path><path d=\"M9 5l3-3 3 3\"></path><path d=\"M15 19l-3 3-3-3\"></path><path d=\"M19 9l3 3-3 3\"></path><path d=\"M2 12h20\"></path><path d=\"M12 2v20\"></path></svg> </button>"), ct = v("<button type=\"button\" class=\"sv-grid-chart-tool svelte-kvdein\"><svg aria-hidden=\"true\" width=\"12\" height=\"12\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M3 7v6h6\"></path><path d=\"M21 17a9 9 0 0 0-15-6.7L3 13\"></path></svg> </button>"), lt = v("<button type=\"button\"><svg aria-hidden=\"true\" width=\"12\" height=\"12\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M12 2v6\"></path><circle cx=\"12\" cy=\"11\" r=\"3\"></circle><path d=\"M12 14v8\"></path></svg> </button>"), ut = v("<button type=\"button\"> </button>"), dt = v("<button type=\"button\" class=\"sv-grid-chart-tool svelte-kvdein\"> </button> <button type=\"button\" class=\"sv-grid-chart-tool svelte-kvdein\"> </button>", 1), ft = v("<span class=\"sv-grid-chart-drawtools svelte-kvdein\" role=\"group\"><!> <!></span>"), pt = v("<div class=\"sv-grid-chart-toolbar svelte-kvdein\" role=\"toolbar\"><!> <!> <!> <!> <!> <!> <button type=\"button\" class=\"sv-grid-chart-tool svelte-kvdein\"> </button> <button type=\"button\" class=\"sv-grid-chart-tool svelte-kvdein\"> </button> <button type=\"button\" class=\"sv-grid-chart-tool svelte-kvdein\"> </button> <button type=\"button\" class=\"sv-grid-chart-tool svelte-kvdein\"> </button> <button type=\"button\" class=\"sv-grid-chart-tool svelte-kvdein\"> </button></div>"), mt = v("<div class=\"sv-grid-chart-toolbar is-crumbs-only svelte-kvdein\" role=\"toolbar\"><!></div>"), ht = y("<clipPath><rect></rect></clipPath>"), gt = y("<linearGradient x1=\"0\" y1=\"0\" x2=\"0\" y2=\"1\"><stop offset=\"0\"></stop><stop offset=\"1\"></stop></linearGradient>"), _t = y("<pattern width=\"6\" height=\"6\" patternUnits=\"userSpaceOnUse\" patternTransform=\"rotate(45)\"><rect width=\"6\" height=\"6\"></rect><rect width=\"3\" height=\"6\" fill=\"rgba(255,255,255,0.35)\"></rect></pattern>"), vt = y("<pattern width=\"6\" height=\"6\" patternUnits=\"userSpaceOnUse\"><rect width=\"6\" height=\"6\"></rect><path d=\"M0 0L6 6 M6 0L0 6\" stroke=\"rgba(255,255,255,0.45)\" stroke-width=\"1\"></path></pattern>"), yt = y("<pattern width=\"6\" height=\"6\" patternUnits=\"userSpaceOnUse\"><rect width=\"6\" height=\"6\"></rect><circle cx=\"3\" cy=\"3\" r=\"1.2\" fill=\"rgba(255,255,255,0.55)\"></circle></pattern>"), bt = y("<pattern width=\"8\" height=\"8\" patternUnits=\"userSpaceOnUse\" patternTransform=\"rotate(-45)\"><rect width=\"8\" height=\"8\"></rect><line x1=\"0\" y1=\"0\" x2=\"0\" y2=\"8\" stroke=\"rgba(0,0,0,0.18)\" stroke-width=\"2\"></line></pattern>"), xt = y("<defs><!><!><!></defs>"), St = y("<text class=\"sv-grid-chart-title svelte-kvdein\" text-anchor=\"middle\"> </text>"), Ct = y("<text class=\"sv-grid-chart-subtitle svelte-kvdein\" text-anchor=\"middle\"> </text>"), wt = y("<text class=\"sv-grid-chart-caption svelte-kvdein\" text-anchor=\"start\"> </text>"), Tt = y("<line class=\"sv-grid-chart-gridline svelte-kvdein\"></line>"), Et = y("<!><text class=\"sv-grid-chart-axis is-x svelte-kvdein\" text-anchor=\"middle\"> </text>", 1), Dt = y("<line class=\"sv-grid-chart-gridline svelte-kvdein\"></line>"), Ot = y("<text class=\"sv-grid-chart-axis svelte-kvdein\" text-anchor=\"end\"> </text>"), kt = y("<text class=\"sv-grid-chart-axis-title svelte-kvdein\" text-anchor=\"middle\"> </text>"), At = y("<text class=\"sv-grid-chart-axis-title svelte-kvdein\" text-anchor=\"middle\"> </text>"), jt = y("<!><!><!><!><!>", 1), Mt = y("<line></line>"), Nt = y("<text class=\"sv-grid-chart-axis svelte-kvdein\" text-anchor=\"end\"> </text>"), Pt = y("<!><!>", 1), Ft = y("<line class=\"sv-grid-chart-gridline svelte-kvdein\"></line>"), It = y("<text class=\"sv-grid-chart-axis svelte-kvdein\" text-anchor=\"start\"> </text>"), Lt = y("<text class=\"sv-grid-chart-axis is-x svelte-kvdein\"> </text>"), Rt = y("<text class=\"sv-grid-chart-axis is-x svelte-kvdein\" text-anchor=\"middle\"> </text>"), zt = y("<line class=\"sv-grid-chart-gridline svelte-kvdein\" opacity=\"0.5\"></line>"), Bt = y("<line class=\"sv-grid-chart-gridline svelte-kvdein\"></line><!><text class=\"sv-grid-chart-axis sv-grid-chart-group-label svelte-kvdein\" text-anchor=\"middle\"> </text>", 1), Vt = y("<text class=\"sv-grid-chart-axis-title svelte-kvdein\" text-anchor=\"middle\"> </text>"), Ht = y("<text class=\"sv-grid-chart-axis-title svelte-kvdein\" text-anchor=\"middle\"> </text>"), Ut = y("<text class=\"sv-grid-chart-axis-title svelte-kvdein\" text-anchor=\"middle\"> </text>"), Wt = y("<!><!><!><!><!><!><!><!>", 1), Gt = y("<text class=\"sv-grid-chart-reflabel svelte-kvdein\" text-anchor=\"end\"> </text>"), Kt = y("<text class=\"sv-grid-chart-reflabel svelte-kvdein\" text-anchor=\"middle\"> </text>"), qt = y("<rect class=\"sv-grid-chart-refband svelte-kvdein\"></rect><!>", 1), Jt = y("<path class=\"sv-grid-chart-band svelte-kvdein\" fill-opacity=\"0.12\" stroke=\"none\"></path>"), Yt = y("<path class=\"sv-grid-chart-area svelte-kvdein\" stroke=\"none\"></path>"), Xt = y("<circle class=\"sv-grid-chart-dot is-active svelte-kvdein\" r=\"4\"></circle>"), Zt = y("<circle></circle>"), Qt = y("<path fill=\"none\" stroke-width=\"1.5\"></path>"), $t = y("<path></path>"), en = y("<g class=\"svelte-kvdein\"><!><!><path class=\"sv-grid-chart-linepath svelte-kvdein\" fill=\"none\" stroke-linejoin=\"round\" stroke-linecap=\"round\"></path><!></g>"), tn = y("<rect rx=\"1\"></rect>"), nn = y("<circle class=\"sv-grid-chart-dot svelte-kvdein\" fill-opacity=\"0.55\"></circle>"), rn = y("<g class=\"sv-grid-chart-stem svelte-kvdein\"><line class=\"svelte-kvdein\"></line><!><circle class=\"sv-grid-chart-dot svelte-kvdein\"></circle></g>"), an = y("<line class=\"sv-grid-chart-ohlc svelte-kvdein\"></line><line class=\"sv-grid-chart-ohlc svelte-kvdein\"></line><line class=\"sv-grid-chart-ohlc svelte-kvdein\"></line>", 1), on = y("<line class=\"sv-grid-chart-wick svelte-kvdein\"></line><rect class=\"sv-grid-chart-candle svelte-kvdein\"></rect>", 1), sn = y("<circle class=\"sv-grid-chart-outlier svelte-kvdein\" r=\"2\" fill=\"none\"></circle>"), cn = y("<line class=\"sv-grid-chart-whisker svelte-kvdein\"></line><line class=\"sv-grid-chart-whisker svelte-kvdein\"></line><line class=\"sv-grid-chart-whisker svelte-kvdein\"></line><rect class=\"sv-grid-chart-box svelte-kvdein\" fill-opacity=\"0.25\"></rect><line class=\"sv-grid-chart-median svelte-kvdein\"></line><!>", 1), ln = y("<line class=\"sv-grid-chart-errorbar svelte-kvdein\"></line><line class=\"sv-grid-chart-errorbar svelte-kvdein\"></line><line class=\"sv-grid-chart-errorbar svelte-kvdein\"></line>", 1), un = y("<circle fill-opacity=\"0.7\"></circle>"), dn = y("<g class=\"sv-grid-chart-refpill svelte-kvdein\"><rect height=\"16\" rx=\"3\" class=\"svelte-kvdein\"></rect><text text-anchor=\"middle\" fill=\"#fff\" class=\"svelte-kvdein\"> </text></g>"), fn = y("<text class=\"sv-grid-chart-reflabel svelte-kvdein\" text-anchor=\"end\"> </text>"), pn = y("<line class=\"sv-grid-chart-refline svelte-kvdein\"></line><!>", 1), mn = y("<line class=\"sv-grid-chart-refline svelte-kvdein\"></line><text class=\"sv-grid-chart-reflabel svelte-kvdein\" text-anchor=\"start\"> </text>", 1), hn = y("<path class=\"sv-grid-chart-overlay-band svelte-kvdein\" fill-opacity=\"0.1\" stroke-opacity=\"0.35\" stroke-width=\"1\"></path>"), gn = y("<!><path class=\"sv-grid-chart-overlay svelte-kvdein\" fill=\"none\" stroke-width=\"2\" stroke-dasharray=\"6 4\" stroke-linejoin=\"round\" stroke-linecap=\"round\"></path>", 1), _n = y("<line class=\"sv-grid-chart-datalabel-leader svelte-kvdein\"></line>"), vn = y("<!><text> </text>", 1), yn = y("<text class=\"sv-grid-chart-serieslabel svelte-kvdein\" text-anchor=\"start\"> </text>"), bn = y("<line stroke-width=\"1.5\"></line><rect height=\"13\" rx=\"2\"></rect><text class=\"sv-grid-chart-annotation-flagtext svelte-kvdein\" text-anchor=\"middle\" fill=\"#fff\"> </text>", 1), xn = y("<path stroke=\"var(--sg-bg, #fff)\" stroke-width=\"1.2\"></path><text class=\"sv-grid-chart-annotation-flagtext svelte-kvdein\" text-anchor=\"middle\" fill=\"#fff\"> </text><text class=\"sv-grid-chart-annotation-label svelte-kvdein\"> </text>", 1), Sn = y("<rect width=\"9\" height=\"9\" stroke=\"var(--sg-bg, #fff)\" stroke-width=\"1.5\"></rect><text class=\"sv-grid-chart-annotation-label svelte-kvdein\"> </text>", 1), Cn = y("<circle stroke=\"var(--sg-bg, #fff)\" stroke-width=\"1.5\"></circle><text class=\"sv-grid-chart-annotation-label svelte-kvdein\"> </text>", 1), wn = y("<g><!></g>"), Tn = y("<path class=\"svelte-kvdein\"></path>"), En = y("<line class=\"sv-grid-chart-drawing-hit svelte-kvdein\"></line><line stroke-width=\"1.5\" class=\"svelte-kvdein\"></line><!>", 1), Dn = y("<rect fill-opacity=\"0.08\" stroke-width=\"1.2\" class=\"svelte-kvdein\"></rect>"), On = y("<line class=\"sv-grid-chart-drawing-hit svelte-kvdein\"></line><line stroke-width=\"1.2\" stroke-dasharray=\"4 3\" class=\"svelte-kvdein\"></line><text class=\"sv-grid-chart-drawing-label svelte-kvdein\" text-anchor=\"end\"> </text>", 1), kn = y("<line stroke-width=\"1\" class=\"svelte-kvdein\"></line><text class=\"sv-grid-chart-drawing-label svelte-kvdein\"> </text>", 1), An = y("<!><rect class=\"sv-grid-chart-drawing-hit svelte-kvdein\"></rect>", 1), jn = y("<text class=\"sv-grid-chart-drawing-text svelte-kvdein\"> </text>"), Mn = y("<circle class=\"sv-grid-chart-drawing-handle svelte-kvdein\" r=\"5\" fill=\"var(--sg-bg, #fff)\" stroke-width=\"1.5\"></circle>"), Nn = y("<g><!><!></g>"), Pn = y("<rect fill=\"var(--sg-accent, #2563eb)\" fill-opacity=\"0.08\" stroke=\"var(--sg-accent, #2563eb)\" stroke-dasharray=\"4 3\"></rect>"), Fn = y("<line stroke=\"var(--sg-accent, #2563eb)\" stroke-width=\"1.5\" stroke-dasharray=\"4 3\"></line>"), In = y("<circle r=\"3.5\" fill=\"var(--sg-accent, #2563eb)\"></circle><!>", 1), Ln = y("<g class=\"sv-grid-chart-drawings\"><!><!></g>"), Rn = y("<line class=\"sv-grid-chart-crosshair svelte-kvdein\"></line>"), zn = y("<g class=\"sv-grid-chart-crosshair-label svelte-kvdein\" pointer-events=\"none\"><rect height=\"15\" rx=\"3\" class=\"svelte-kvdein\"></rect><text text-anchor=\"middle\" class=\"svelte-kvdein\"> </text></g>"), Bn = y("<g class=\"sv-grid-chart-crosshair-label svelte-kvdein\" pointer-events=\"none\"><rect height=\"15\" rx=\"3\" class=\"svelte-kvdein\"></rect><text text-anchor=\"middle\" class=\"svelte-kvdein\"> </text></g><!>", 1), Vn = y("<line class=\"sv-grid-chart-crosshair svelte-kvdein\"></line><!>", 1), Hn = y("<text class=\"sv-grid-chart-axis svelte-kvdein\" text-anchor=\"end\"> </text>"), Un = y("<text class=\"sv-grid-chart-axis svelte-kvdein\" text-anchor=\"middle\"> </text>"), Wn = y("<text class=\"sv-grid-chart-heatlabel svelte-kvdein\" text-anchor=\"middle\"> </text>"), Gn = y("<rect class=\"sv-grid-chart-heatcell svelte-kvdein\"></rect><!>", 1), Kn = y("<stop></stop>"), qn = y("<defs><linearGradient x1=\"0\" y1=\"1\" x2=\"0\" y2=\"0\"></linearGradient></defs><rect class=\"sv-grid-chart-heatlegend svelte-kvdein\" width=\"10\"></rect><text class=\"sv-grid-chart-axis svelte-kvdein\" text-anchor=\"start\"> </text><text class=\"sv-grid-chart-axis svelte-kvdein\" text-anchor=\"start\"> </text>", 1), Jn = y("<!><!><!><!>", 1), Yn = y("<text class=\"sv-grid-chart-funnel-label svelte-kvdein\" text-anchor=\"middle\"> </text><text class=\"sv-grid-chart-funnel-value svelte-kvdein\" text-anchor=\"middle\"> </text>", 1), Xn = y("<path class=\"sv-grid-chart-funnel-seg svelte-kvdein\"></path><!>", 1), Zn = y("<circle class=\"sv-grid-chart-radar-ring svelte-kvdein\"></circle>"), Qn = y("<line class=\"sv-grid-chart-radar-spoke svelte-kvdein\"></line><text class=\"sv-grid-chart-axis svelte-kvdein\"> </text>", 1), $n = y("<circle class=\"sv-grid-chart-radar-dot svelte-kvdein\" r=\"3\" role=\"img\"></circle>"), er = y("<path class=\"sv-grid-chart-radar-poly svelte-kvdein\" fill-opacity=\"0.18\" stroke-width=\"2\"></path><!>", 1), tr = y("<!><!><!>", 1), nr = y("<text class=\"sv-grid-chart-axis svelte-kvdein\" text-anchor=\"start\"> </text>"), rr = y("<text class=\"sv-grid-chart-axis svelte-kvdein\" text-anchor=\"end\"> </text>"), ir = y("<rect rx=\"2\" role=\"img\"></rect>"), ar = y("<rect class=\"sv-grid-chart-calendar-legend svelte-kvdein\" width=\"10\" height=\"10\" rx=\"2\"></rect><text class=\"sv-grid-chart-axis svelte-kvdein\" text-anchor=\"start\"> </text>", 1), or = y("<text class=\"sv-grid-chart-axis svelte-kvdein\" text-anchor=\"start\">Less</text><!><text class=\"sv-grid-chart-axis svelte-kvdein\" text-anchor=\"start\">More</text>", 1), sr = y("<!><!><!><!>", 1), cr = y("<line></line>"), lr = y("<path fill=\"none\" stroke-width=\"4\" stroke-linecap=\"butt\" opacity=\"0.7\"></path>"), ur = y("<line stroke=\"var(--sg-fg, #0f172a)\" stroke-width=\"2.5\" stroke-linecap=\"round\"></line>"), dr = y("<!><path fill=\"none\" stroke=\"var(--sg-border, #e2e8f0)\" stroke-width=\"16\" stroke-linecap=\"round\"></path><!><path fill=\"none\" stroke-width=\"16\" stroke-linecap=\"round\"></path><!><path class=\"sv-grid-chart-gauge-needle svelte-kvdein\"></path><circle class=\"sv-grid-chart-gauge-hub svelte-kvdein\"></circle><circle class=\"sv-grid-chart-gauge-hub-dot svelte-kvdein\" r=\"2.5\"></circle><text class=\"sv-grid-chart-axis svelte-kvdein\" text-anchor=\"middle\"> </text><text class=\"sv-grid-chart-axis svelte-kvdein\" text-anchor=\"middle\"> </text><text class=\"sv-grid-chart-gauge-value svelte-kvdein\" text-anchor=\"middle\"> </text>", 1), fr = y("<text class=\"sv-grid-chart-treemap-label svelte-kvdein\"> </text>"), pr = y("<text class=\"sv-grid-chart-treemap-value svelte-kvdein\" opacity=\"0.85\"> </text>"), mr = y("<rect class=\"sv-grid-chart-treemap-cell svelte-kvdein\"></rect><!><!>", 1), hr = y("<path class=\"sv-grid-chart-sankey-link svelte-kvdein\" fill=\"none\" stroke-opacity=\"0.35\" role=\"img\"></path>"), gr = y("<rect class=\"sv-grid-chart-sankey-node svelte-kvdein\" role=\"img\"></rect><text class=\"sv-grid-chart-sankey-label svelte-kvdein\"> </text>", 1), _r = y("<!><!>", 1), vr = y("<circle class=\"sv-grid-chart-gridline svelte-kvdein\" fill=\"none\"></circle>"), yr = y("<text class=\"sv-grid-chart-axis svelte-kvdein\"> </text>"), br = y("<path class=\"sv-grid-chart-arc-track svelte-kvdein\"></path>"), xr = y("<path class=\"sv-grid-chart-ribbon svelte-kvdein\" fill-opacity=\"0.45\" stroke-opacity=\"0.6\"></path>"), Sr = y("<path stroke=\"var(--sg-bg, #fff)\" stroke-width=\"1\"></path>"), Cr = y("<text class=\"sv-grid-chart-axis svelte-kvdein\"> </text>"), wr = y("<text class=\"sv-grid-chart-datalabel on-bar svelte-kvdein\" text-anchor=\"middle\" dominant-baseline=\"middle\" pointer-events=\"none\"> </text>"), Tr = y("<!><!><!><!><!><!>", 1), Er = y("<rect></rect>"), Dr = y("<line class=\"sv-grid-chart-bullet-target\" stroke=\"var(--sg-fg, #0f172a)\" stroke-width=\"2.5\"></line>"), Or = y("<g class=\"sv-grid-chart-bullet\"><!><rect class=\"sv-grid-chart-bar svelte-kvdein\"></rect><!></g>"), kr = y("<polyline class=\"sv-grid-chart-callout svelte-kvdein\" fill=\"none\" stroke-width=\"1\"></polyline><text class=\"sv-grid-chart-callout-label svelte-kvdein\"> </text>", 1), Ar = y("<text class=\"sv-grid-chart-datalabel on-bar svelte-kvdein\" text-anchor=\"middle\" dominant-baseline=\"middle\"> </text>"), jr = y("<path stroke=\"var(--sg-bg, #fff)\" stroke-width=\"1\"></path><!>", 1), Mr = y("<text class=\"sv-grid-chart-donut-total svelte-kvdein\" text-anchor=\"middle\"> </text><text class=\"sv-grid-chart-donut-label svelte-kvdein\" text-anchor=\"middle\"> </text>", 1), Nr = y("<rect class=\"sv-grid-chart-cat-hit svelte-kvdein\" data-dense=\"true\"></rect>"), Pr = y("<rect class=\"sv-grid-chart-cat-hit svelte-kvdein\"></rect>"), Fr = y("<rect class=\"sv-grid-chart-zoom-rect svelte-kvdein\"></rect>"), Ir = y("<path fill-opacity=\"0.10\" stroke=\"none\"></path>"), Lr = y("<!><path fill=\"none\" stroke-width=\"1.2\" opacity=\"0.75\"></path>", 1), Rr = y("<rect opacity=\"0.55\"></rect>"), zr = v("<div class=\"sv-grid-chart-brush-host svelte-kvdein\"><svg class=\"sv-grid-chart-brush svelte-kvdein\" width=\"100%\" role=\"slider\" tabindex=\"0\" aria-orientation=\"horizontal\"><!><!><rect class=\"sv-grid-chart-brush-mask svelte-kvdein\"></rect><rect class=\"sv-grid-chart-brush-mask svelte-kvdein\"></rect><rect class=\"sv-grid-chart-brush-window svelte-kvdein\"></rect><rect class=\"sv-grid-chart-brush-handle svelte-kvdein\" width=\"8\"></rect><rect class=\"sv-grid-chart-brush-handle svelte-kvdein\" width=\"8\"></rect></svg></div>"), Br = v("<div class=\"sv-grid-chart-empty svelte-kvdein\"> </div>"), Vr = v("<input class=\"sv-grid-chart-textdraft svelte-kvdein\" type=\"text\"/>"), Hr = v("<span class=\"sv-grid-chart-tooltip-dot svelte-kvdein\"></span>"), Ur = v("<span class=\"sv-grid-chart-tooltip-row-label svelte-kvdein\"> </span>"), Wr = v("<span class=\"sv-grid-chart-tooltip-row svelte-kvdein\"><!> <!> <span class=\"sv-grid-chart-tooltip-row-value svelte-kvdein\"> </span></span>"), Gr = v("<span class=\"sv-grid-chart-tooltip-title svelte-kvdein\"> </span> <!>", 1), Kr = v("<div role=\"tooltip\"><!></div>"), qr = v("<span class=\"sv-grid-chart-swatch svelte-kvdein\"></span> ", 1), Jr = v("<button type=\"button\"><!></button>"), Yr = v("<button type=\"button\" class=\"sv-grid-chart-legend-more svelte-kvdein\"> </button>"), Xr = v("<div><!> <!></div>"), Zr = v("<div class=\"sv-grid-chart-live sv-grid-chart-sr-only svelte-kvdein\" aria-live=\"polite\" aria-atomic=\"true\"> </div>"), Qr = v("<th> </th>"), $r = v("<td> </td>"), ei = v("<tr></tr>"), ti = v("<div><!> <svg width=\"100%\"><!><!><!><!><!><!><g><!><!><!><!><!><!><!><!></g><!><!><g></g><!><!><!><!><!><!><!><!><!><!><!><!><!><!><!><!><!><!><!></svg> <!> <!> <!> <!> <!> <!> <!> <div class=\"sv-grid-chart-sr-only svelte-kvdein\"><table><caption> <!><!></caption><thead><tr></tr></thead><tbody></tbody></table></div></div>");
447
+ var tt = _("<span class=\"sv-grid-chart-crumb is-current svelte-kvdein\" aria-current=\"page\"> </span>"), nt = _("<button type=\"button\" class=\"sv-grid-chart-tool sv-grid-chart-crumb svelte-kvdein\"> </button>"), rt = _("<span class=\"sv-grid-chart-crumb-sep svelte-kvdein\" aria-hidden=\"true\">/</span> <!>", 1), it = _("<nav class=\"sv-grid-chart-crumbs svelte-kvdein\"><button type=\"button\" class=\"sv-grid-chart-tool sv-grid-chart-crumb svelte-kvdein\"> </button> <!></nav>"), at = _("<button type=\"button\" class=\"sv-grid-chart-tool sv-grid-chart-preset svelte-kvdein\"> </button>"), ot = _("<span class=\"sv-grid-chart-presets svelte-kvdein\" role=\"group\"></span>"), st = _("<button type=\"button\"><svg aria-hidden=\"true\" width=\"12\" height=\"12\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M5 9l-3 3 3 3\"></path><path d=\"M9 5l3-3 3 3\"></path><path d=\"M15 19l-3 3-3-3\"></path><path d=\"M19 9l3 3-3 3\"></path><path d=\"M2 12h20\"></path><path d=\"M12 2v20\"></path></svg> </button>"), ct = _("<button type=\"button\" class=\"sv-grid-chart-tool svelte-kvdein\"><svg aria-hidden=\"true\" width=\"12\" height=\"12\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M3 7v6h6\"></path><path d=\"M21 17a9 9 0 0 0-15-6.7L3 13\"></path></svg> </button>"), lt = _("<button type=\"button\"><svg aria-hidden=\"true\" width=\"12\" height=\"12\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M12 2v6\"></path><circle cx=\"12\" cy=\"11\" r=\"3\"></circle><path d=\"M12 14v8\"></path></svg> </button>"), ut = _("<button type=\"button\"> </button>"), dt = _("<button type=\"button\" class=\"sv-grid-chart-tool svelte-kvdein\"> </button> <button type=\"button\" class=\"sv-grid-chart-tool svelte-kvdein\"> </button>", 1), ft = _("<span class=\"sv-grid-chart-drawtools svelte-kvdein\" role=\"group\"><!> <!></span>"), pt = _("<div class=\"sv-grid-chart-toolbar svelte-kvdein\" role=\"toolbar\"><!> <!> <!> <!> <!> <!> <button type=\"button\" class=\"sv-grid-chart-tool svelte-kvdein\"> </button> <button type=\"button\" class=\"sv-grid-chart-tool svelte-kvdein\"> </button> <button type=\"button\" class=\"sv-grid-chart-tool svelte-kvdein\"> </button> <button type=\"button\" class=\"sv-grid-chart-tool svelte-kvdein\"> </button> <button type=\"button\" class=\"sv-grid-chart-tool svelte-kvdein\"> </button></div>"), mt = _("<div class=\"sv-grid-chart-toolbar is-crumbs-only svelte-kvdein\" role=\"toolbar\"><!></div>"), ht = v("<clipPath><rect></rect></clipPath>"), gt = v("<linearGradient x1=\"0\" y1=\"0\" x2=\"0\" y2=\"1\"><stop offset=\"0\"></stop><stop offset=\"1\"></stop></linearGradient>"), _t = v("<pattern width=\"6\" height=\"6\" patternUnits=\"userSpaceOnUse\" patternTransform=\"rotate(45)\"><rect width=\"6\" height=\"6\"></rect><rect width=\"3\" height=\"6\" fill=\"rgba(255,255,255,0.35)\"></rect></pattern>"), vt = v("<pattern width=\"6\" height=\"6\" patternUnits=\"userSpaceOnUse\"><rect width=\"6\" height=\"6\"></rect><path d=\"M0 0L6 6 M6 0L0 6\" stroke=\"rgba(255,255,255,0.45)\" stroke-width=\"1\"></path></pattern>"), yt = v("<pattern width=\"6\" height=\"6\" patternUnits=\"userSpaceOnUse\"><rect width=\"6\" height=\"6\"></rect><circle cx=\"3\" cy=\"3\" r=\"1.2\" fill=\"rgba(255,255,255,0.55)\"></circle></pattern>"), bt = v("<pattern width=\"8\" height=\"8\" patternUnits=\"userSpaceOnUse\" patternTransform=\"rotate(-45)\"><rect width=\"8\" height=\"8\"></rect><line x1=\"0\" y1=\"0\" x2=\"0\" y2=\"8\" stroke=\"rgba(0,0,0,0.18)\" stroke-width=\"2\"></line></pattern>"), xt = v("<defs><!><!><!></defs>"), St = v("<text class=\"sv-grid-chart-title svelte-kvdein\" text-anchor=\"middle\"> </text>"), Ct = v("<text class=\"sv-grid-chart-subtitle svelte-kvdein\" text-anchor=\"middle\"> </text>"), wt = v("<text class=\"sv-grid-chart-caption svelte-kvdein\" text-anchor=\"start\"> </text>"), Tt = v("<line class=\"sv-grid-chart-gridline svelte-kvdein\"></line>"), Et = v("<!><text class=\"sv-grid-chart-axis is-x svelte-kvdein\" text-anchor=\"middle\"> </text>", 1), Dt = v("<line class=\"sv-grid-chart-gridline svelte-kvdein\"></line>"), Ot = v("<text class=\"sv-grid-chart-axis svelte-kvdein\" text-anchor=\"end\"> </text>"), kt = v("<text class=\"sv-grid-chart-axis-title svelte-kvdein\" text-anchor=\"middle\"> </text>"), At = v("<text class=\"sv-grid-chart-axis-title svelte-kvdein\" text-anchor=\"middle\"> </text>"), jt = v("<!><!><!><!><!>", 1), Mt = v("<line></line>"), Nt = v("<text class=\"sv-grid-chart-axis svelte-kvdein\" text-anchor=\"end\"> </text>"), Pt = v("<!><!>", 1), Ft = v("<line class=\"sv-grid-chart-gridline svelte-kvdein\"></line>"), It = v("<text class=\"sv-grid-chart-axis svelte-kvdein\" text-anchor=\"start\"> </text>"), Lt = v("<text class=\"sv-grid-chart-axis is-x svelte-kvdein\"> </text>"), Rt = v("<text class=\"sv-grid-chart-axis is-x svelte-kvdein\" text-anchor=\"middle\"> </text>"), zt = v("<line class=\"sv-grid-chart-gridline svelte-kvdein\" opacity=\"0.5\"></line>"), Bt = v("<line class=\"sv-grid-chart-gridline svelte-kvdein\"></line><!><text class=\"sv-grid-chart-axis sv-grid-chart-group-label svelte-kvdein\" text-anchor=\"middle\"> </text>", 1), Vt = v("<text class=\"sv-grid-chart-axis-title svelte-kvdein\" text-anchor=\"middle\"> </text>"), Ht = v("<text class=\"sv-grid-chart-axis-title svelte-kvdein\" text-anchor=\"middle\"> </text>"), Ut = v("<text class=\"sv-grid-chart-axis-title svelte-kvdein\" text-anchor=\"middle\"> </text>"), Wt = v("<!><!><!><!><!><!><!><!>", 1), Gt = v("<text class=\"sv-grid-chart-reflabel svelte-kvdein\" text-anchor=\"end\"> </text>"), Kt = v("<text class=\"sv-grid-chart-reflabel svelte-kvdein\" text-anchor=\"middle\"> </text>"), qt = v("<rect class=\"sv-grid-chart-refband svelte-kvdein\"></rect><!>", 1), Jt = v("<path class=\"sv-grid-chart-band svelte-kvdein\" fill-opacity=\"0.12\" stroke=\"none\"></path>"), Yt = v("<path class=\"sv-grid-chart-area svelte-kvdein\" stroke=\"none\"></path>"), Xt = v("<circle class=\"sv-grid-chart-dot is-active svelte-kvdein\" r=\"4\"></circle>"), Zt = v("<circle></circle>"), Qt = v("<path fill=\"none\" stroke-width=\"1.5\"></path>"), $t = v("<path></path>"), en = v("<g class=\"svelte-kvdein\"><!><!><path class=\"sv-grid-chart-linepath svelte-kvdein\" fill=\"none\" stroke-linejoin=\"round\" stroke-linecap=\"round\"></path><!></g>"), tn = v("<rect rx=\"1\"></rect>"), nn = v("<circle class=\"sv-grid-chart-dot svelte-kvdein\" fill-opacity=\"0.55\"></circle>"), rn = v("<g class=\"sv-grid-chart-stem svelte-kvdein\"><line class=\"svelte-kvdein\"></line><!><circle class=\"sv-grid-chart-dot svelte-kvdein\"></circle></g>"), an = v("<line class=\"sv-grid-chart-ohlc svelte-kvdein\"></line><line class=\"sv-grid-chart-ohlc svelte-kvdein\"></line><line class=\"sv-grid-chart-ohlc svelte-kvdein\"></line>", 1), on = v("<line class=\"sv-grid-chart-wick svelte-kvdein\"></line><rect class=\"sv-grid-chart-candle svelte-kvdein\"></rect>", 1), sn = v("<circle class=\"sv-grid-chart-outlier svelte-kvdein\" r=\"2\" fill=\"none\"></circle>"), cn = v("<line class=\"sv-grid-chart-whisker svelte-kvdein\"></line><line class=\"sv-grid-chart-whisker svelte-kvdein\"></line><line class=\"sv-grid-chart-whisker svelte-kvdein\"></line><rect class=\"sv-grid-chart-box svelte-kvdein\" fill-opacity=\"0.25\"></rect><line class=\"sv-grid-chart-median svelte-kvdein\"></line><!>", 1), ln = v("<line class=\"sv-grid-chart-errorbar svelte-kvdein\"></line><line class=\"sv-grid-chart-errorbar svelte-kvdein\"></line><line class=\"sv-grid-chart-errorbar svelte-kvdein\"></line>", 1), un = v("<circle fill-opacity=\"0.7\"></circle>"), dn = v("<g class=\"sv-grid-chart-refpill svelte-kvdein\"><rect height=\"16\" rx=\"3\" class=\"svelte-kvdein\"></rect><text text-anchor=\"middle\" fill=\"#fff\" class=\"svelte-kvdein\"> </text></g>"), fn = v("<text class=\"sv-grid-chart-reflabel svelte-kvdein\" text-anchor=\"end\"> </text>"), pn = v("<line class=\"sv-grid-chart-refline svelte-kvdein\"></line><!>", 1), mn = v("<line class=\"sv-grid-chart-refline svelte-kvdein\"></line><text class=\"sv-grid-chart-reflabel svelte-kvdein\" text-anchor=\"start\"> </text>", 1), hn = v("<path class=\"sv-grid-chart-overlay-band svelte-kvdein\" fill-opacity=\"0.1\" stroke-opacity=\"0.35\" stroke-width=\"1\"></path>"), gn = v("<!><path class=\"sv-grid-chart-overlay svelte-kvdein\" fill=\"none\" stroke-width=\"2\" stroke-dasharray=\"6 4\" stroke-linejoin=\"round\" stroke-linecap=\"round\"></path>", 1), _n = v("<line class=\"sv-grid-chart-datalabel-leader svelte-kvdein\"></line>"), vn = v("<!><text> </text>", 1), yn = v("<text class=\"sv-grid-chart-serieslabel svelte-kvdein\" text-anchor=\"start\"> </text>"), bn = v("<line stroke-width=\"1.5\"></line><rect height=\"13\" rx=\"2\"></rect><text class=\"sv-grid-chart-annotation-flagtext svelte-kvdein\" text-anchor=\"middle\" fill=\"#fff\"> </text>", 1), xn = v("<path stroke=\"var(--sg-bg, #fff)\" stroke-width=\"1.2\"></path><text class=\"sv-grid-chart-annotation-flagtext svelte-kvdein\" text-anchor=\"middle\" fill=\"#fff\"> </text><text class=\"sv-grid-chart-annotation-label svelte-kvdein\"> </text>", 1), Sn = v("<rect width=\"9\" height=\"9\" stroke=\"var(--sg-bg, #fff)\" stroke-width=\"1.5\"></rect><text class=\"sv-grid-chart-annotation-label svelte-kvdein\"> </text>", 1), Cn = v("<circle stroke=\"var(--sg-bg, #fff)\" stroke-width=\"1.5\"></circle><text class=\"sv-grid-chart-annotation-label svelte-kvdein\"> </text>", 1), wn = v("<g><!></g>"), Tn = v("<path class=\"svelte-kvdein\"></path>"), En = v("<line class=\"sv-grid-chart-drawing-hit svelte-kvdein\"></line><line stroke-width=\"1.5\" class=\"svelte-kvdein\"></line><!>", 1), Dn = v("<rect fill-opacity=\"0.08\" stroke-width=\"1.2\" class=\"svelte-kvdein\"></rect>"), On = v("<line class=\"sv-grid-chart-drawing-hit svelte-kvdein\"></line><line stroke-width=\"1.2\" stroke-dasharray=\"4 3\" class=\"svelte-kvdein\"></line><text class=\"sv-grid-chart-drawing-label svelte-kvdein\" text-anchor=\"end\"> </text>", 1), kn = v("<line stroke-width=\"1\" class=\"svelte-kvdein\"></line><text class=\"sv-grid-chart-drawing-label svelte-kvdein\"> </text>", 1), An = v("<!><rect class=\"sv-grid-chart-drawing-hit svelte-kvdein\"></rect>", 1), jn = v("<text class=\"sv-grid-chart-drawing-text svelte-kvdein\"> </text>"), Mn = v("<circle class=\"sv-grid-chart-drawing-handle svelte-kvdein\" r=\"5\" fill=\"var(--sg-bg, #fff)\" stroke-width=\"1.5\"></circle>"), Nn = v("<g><!><!></g>"), Pn = v("<rect fill=\"var(--sg-accent, #2563eb)\" fill-opacity=\"0.08\" stroke=\"var(--sg-accent, #2563eb)\" stroke-dasharray=\"4 3\"></rect>"), Fn = v("<line stroke=\"var(--sg-accent, #2563eb)\" stroke-width=\"1.5\" stroke-dasharray=\"4 3\"></line>"), In = v("<circle r=\"3.5\" fill=\"var(--sg-accent, #2563eb)\"></circle><!>", 1), Ln = v("<g class=\"sv-grid-chart-drawings\"><!><!></g>"), Rn = v("<line class=\"sv-grid-chart-crosshair svelte-kvdein\"></line>"), zn = v("<g class=\"sv-grid-chart-crosshair-label svelte-kvdein\" pointer-events=\"none\"><rect height=\"15\" rx=\"3\" class=\"svelte-kvdein\"></rect><text text-anchor=\"middle\" class=\"svelte-kvdein\"> </text></g>"), Bn = v("<g class=\"sv-grid-chart-crosshair-label svelte-kvdein\" pointer-events=\"none\"><rect height=\"15\" rx=\"3\" class=\"svelte-kvdein\"></rect><text text-anchor=\"middle\" class=\"svelte-kvdein\"> </text></g><!>", 1), Vn = v("<line class=\"sv-grid-chart-crosshair svelte-kvdein\"></line><!>", 1), Hn = v("<text class=\"sv-grid-chart-axis svelte-kvdein\" text-anchor=\"end\"> </text>"), Un = v("<text class=\"sv-grid-chart-axis svelte-kvdein\" text-anchor=\"middle\"> </text>"), Wn = v("<text class=\"sv-grid-chart-heatlabel svelte-kvdein\" text-anchor=\"middle\"> </text>"), Gn = v("<rect class=\"sv-grid-chart-heatcell svelte-kvdein\"></rect><!>", 1), Kn = v("<stop></stop>"), qn = v("<defs><linearGradient x1=\"0\" y1=\"1\" x2=\"0\" y2=\"0\"></linearGradient></defs><rect class=\"sv-grid-chart-heatlegend svelte-kvdein\" width=\"10\"></rect><text class=\"sv-grid-chart-axis svelte-kvdein\" text-anchor=\"start\"> </text><text class=\"sv-grid-chart-axis svelte-kvdein\" text-anchor=\"start\"> </text>", 1), Jn = v("<!><!><!><!>", 1), Yn = v("<text class=\"sv-grid-chart-funnel-label svelte-kvdein\" text-anchor=\"middle\"> </text><text class=\"sv-grid-chart-funnel-value svelte-kvdein\" text-anchor=\"middle\"> </text>", 1), Xn = v("<path class=\"sv-grid-chart-funnel-seg svelte-kvdein\"></path><!>", 1), Zn = v("<circle class=\"sv-grid-chart-radar-ring svelte-kvdein\"></circle>"), Qn = v("<line class=\"sv-grid-chart-radar-spoke svelte-kvdein\"></line><text class=\"sv-grid-chart-axis svelte-kvdein\"> </text>", 1), $n = v("<circle class=\"sv-grid-chart-radar-dot svelte-kvdein\" r=\"3\" role=\"img\"></circle>"), er = v("<path class=\"sv-grid-chart-radar-poly svelte-kvdein\" fill-opacity=\"0.18\" stroke-width=\"2\"></path><!>", 1), tr = v("<!><!><!>", 1), nr = v("<text class=\"sv-grid-chart-axis svelte-kvdein\" text-anchor=\"start\"> </text>"), rr = v("<text class=\"sv-grid-chart-axis svelte-kvdein\" text-anchor=\"end\"> </text>"), ir = v("<rect rx=\"2\" role=\"img\"></rect>"), ar = v("<rect class=\"sv-grid-chart-calendar-legend svelte-kvdein\" width=\"10\" height=\"10\" rx=\"2\"></rect><text class=\"sv-grid-chart-axis svelte-kvdein\" text-anchor=\"start\"> </text>", 1), or = v("<text class=\"sv-grid-chart-axis svelte-kvdein\" text-anchor=\"start\">Less</text><!><text class=\"sv-grid-chart-axis svelte-kvdein\" text-anchor=\"start\">More</text>", 1), sr = v("<!><!><!><!>", 1), cr = v("<line></line>"), lr = v("<path fill=\"none\" stroke-width=\"4\" stroke-linecap=\"butt\" opacity=\"0.7\"></path>"), ur = v("<line stroke=\"var(--sg-fg, #0f172a)\" stroke-width=\"2.5\" stroke-linecap=\"round\"></line>"), dr = v("<!><path fill=\"none\" stroke=\"var(--sg-border, #e2e8f0)\" stroke-width=\"16\" stroke-linecap=\"round\"></path><!><path fill=\"none\" stroke-width=\"16\" stroke-linecap=\"round\"></path><!><path class=\"sv-grid-chart-gauge-needle svelte-kvdein\"></path><circle class=\"sv-grid-chart-gauge-hub svelte-kvdein\"></circle><circle class=\"sv-grid-chart-gauge-hub-dot svelte-kvdein\" r=\"2.5\"></circle><text class=\"sv-grid-chart-axis svelte-kvdein\" text-anchor=\"middle\"> </text><text class=\"sv-grid-chart-axis svelte-kvdein\" text-anchor=\"middle\"> </text><text class=\"sv-grid-chart-gauge-value svelte-kvdein\" text-anchor=\"middle\"> </text>", 1), fr = v("<text class=\"sv-grid-chart-treemap-label svelte-kvdein\"> </text>"), pr = v("<text class=\"sv-grid-chart-treemap-value svelte-kvdein\" opacity=\"0.85\"> </text>"), mr = v("<rect class=\"sv-grid-chart-treemap-cell svelte-kvdein\"></rect><!><!>", 1), hr = v("<path class=\"sv-grid-chart-sankey-link svelte-kvdein\" fill=\"none\" stroke-opacity=\"0.35\" role=\"img\"></path>"), gr = v("<rect class=\"sv-grid-chart-sankey-node svelte-kvdein\" role=\"img\"></rect><text class=\"sv-grid-chart-sankey-label svelte-kvdein\"> </text>", 1), _r = v("<!><!>", 1), vr = v("<circle class=\"sv-grid-chart-gridline svelte-kvdein\" fill=\"none\"></circle>"), yr = v("<text class=\"sv-grid-chart-axis svelte-kvdein\"> </text>"), br = v("<path class=\"sv-grid-chart-arc-track svelte-kvdein\"></path>"), xr = v("<path class=\"sv-grid-chart-ribbon svelte-kvdein\" fill-opacity=\"0.45\" stroke-opacity=\"0.6\"></path>"), Sr = v("<path stroke=\"var(--sg-bg, #fff)\" stroke-width=\"1\"></path>"), Cr = v("<text class=\"sv-grid-chart-axis svelte-kvdein\"> </text>"), wr = v("<text class=\"sv-grid-chart-datalabel on-bar svelte-kvdein\" text-anchor=\"middle\" dominant-baseline=\"middle\" pointer-events=\"none\"> </text>"), Tr = v("<!><!><!><!><!><!>", 1), Er = v("<rect></rect>"), Dr = v("<line class=\"sv-grid-chart-bullet-target\" stroke=\"var(--sg-fg, #0f172a)\" stroke-width=\"2.5\"></line>"), Or = v("<g class=\"sv-grid-chart-bullet\"><!><rect class=\"sv-grid-chart-bar svelte-kvdein\"></rect><!></g>"), kr = v("<polyline class=\"sv-grid-chart-callout svelte-kvdein\" fill=\"none\" stroke-width=\"1\"></polyline><text class=\"sv-grid-chart-callout-label svelte-kvdein\"> </text>", 1), Ar = v("<text class=\"sv-grid-chart-datalabel on-bar svelte-kvdein\" text-anchor=\"middle\" dominant-baseline=\"middle\"> </text>"), jr = v("<path stroke=\"var(--sg-bg, #fff)\" stroke-width=\"1\"></path><!>", 1), Mr = v("<text class=\"sv-grid-chart-donut-total svelte-kvdein\" text-anchor=\"middle\"> </text><text class=\"sv-grid-chart-donut-label svelte-kvdein\" text-anchor=\"middle\"> </text>", 1), Nr = v("<rect class=\"sv-grid-chart-cat-hit svelte-kvdein\" data-dense=\"true\"></rect>"), Pr = v("<rect class=\"sv-grid-chart-cat-hit svelte-kvdein\"></rect>"), Fr = v("<rect class=\"sv-grid-chart-zoom-rect svelte-kvdein\"></rect>"), Ir = v("<path fill-opacity=\"0.10\" stroke=\"none\"></path>"), Lr = v("<!><path fill=\"none\" stroke-width=\"1.2\" opacity=\"0.75\"></path>", 1), Rr = v("<rect opacity=\"0.55\"></rect>"), zr = _("<div class=\"sv-grid-chart-brush-host svelte-kvdein\"><svg class=\"sv-grid-chart-brush svelte-kvdein\" width=\"100%\" role=\"slider\" tabindex=\"0\" aria-orientation=\"horizontal\"><!><!><rect class=\"sv-grid-chart-brush-mask svelte-kvdein\"></rect><rect class=\"sv-grid-chart-brush-mask svelte-kvdein\"></rect><rect class=\"sv-grid-chart-brush-window svelte-kvdein\"></rect><rect class=\"sv-grid-chart-brush-handle svelte-kvdein\" width=\"8\"></rect><rect class=\"sv-grid-chart-brush-handle svelte-kvdein\" width=\"8\"></rect></svg></div>"), Br = _("<div class=\"sv-grid-chart-empty svelte-kvdein\"> </div>"), Vr = _("<input class=\"sv-grid-chart-textdraft svelte-kvdein\" type=\"text\"/>"), Hr = _("<span class=\"sv-grid-chart-tooltip-dot svelte-kvdein\"></span>"), Ur = _("<span class=\"sv-grid-chart-tooltip-row-label svelte-kvdein\"> </span>"), Wr = _("<span class=\"sv-grid-chart-tooltip-row svelte-kvdein\"><!> <!> <span class=\"sv-grid-chart-tooltip-row-value svelte-kvdein\"> </span></span>"), Gr = _("<span class=\"sv-grid-chart-tooltip-title svelte-kvdein\"> </span> <!>", 1), Kr = _("<div role=\"tooltip\"><!></div>"), qr = _("<span class=\"sv-grid-chart-swatch svelte-kvdein\"></span> ", 1), Jr = _("<button type=\"button\"><!></button>"), Yr = _("<button type=\"button\" class=\"sv-grid-chart-legend-more svelte-kvdein\"> </button>"), Xr = _("<div><!> <!></div>"), Zr = _("<div class=\"sv-grid-chart-live sv-grid-chart-sr-only svelte-kvdein\" aria-live=\"polite\" aria-atomic=\"true\"> </div>"), Qr = _("<th> </th>"), $r = _("<td> </td>"), ei = _("<tr></tr>"), ti = _("<div><!> <svg width=\"100%\"><!><!><!><!><!><!><g><!><!><!><!><!><!><!><!></g><!><!><g></g><!><!><!><!><!><!><!><!><!><!><!><!><!><!><!><!><!><!><!></svg> <!> <!> <!> <!> <!> <!> <!> <div class=\"sv-grid-chart-sr-only svelte-kvdein\"><table><caption> <!><!></caption><thead><tr></tr></thead><tbody></tbody></table></div></div>");
448
448
  function ni(ne, f) {
449
- ye(f, !0);
450
- let le = A(f, "legend", 3, !0), v = A(f, "interactive", 3, !0), y = A(f, "tooltipMode", 3, "shared"), Se = A(f, "tooltipPosition", 3, "follow"), Ce = A(f, "tooltipSticky", 3, !1), Oe = A(f, "zoomable", 3, !1), I = A(f, "zoom", 15, null), L = A(f, "rangePresets", 3, !1), R = A(f, "contextMenu", 3, !1), Pe = A(f, "animate", 3, !1), Fe = A(f, "drillable", 3, !1), Ie = A(f, "drillPath", 31, () => pe([])), Le = A(f, "selectable", 3, !1), Re = A(f, "selected", 31, () => pe([])), ze = A(f, "announce", 3, !0), Be = A(f, "describe", 3, !0), Ve = A(f, "live", 3, !1), He = A(f, "hoverHighlight", 3, !0), Ue = A(f, "crosshairLabels", 3, !0), We = A(f, "brush", 3, !1), Ge = A(f, "brushHeight", 3, 88), Ke = A(f, "autosize", 3, !1), qe = A(f, "annotatable", 3, !1), Je = A(f, "drawable", 3, !1), z = j(() => $e(f.localeText)), Ye = p("");
451
- fe(() => {
449
+ _e(f, !0);
450
+ let le = k(f, "legend", 3, !0), _ = k(f, "interactive", 3, !0), v = k(f, "tooltipMode", 3, "shared"), Se = k(f, "tooltipPosition", 3, "follow"), Ce = k(f, "tooltipSticky", 3, !1), Oe = k(f, "zoomable", 3, !1), I = k(f, "zoom", 15, null), L = k(f, "rangePresets", 3, !1), R = k(f, "contextMenu", 3, !1), Pe = k(f, "animate", 3, !1), Fe = k(f, "drillable", 3, !1), Ie = k(f, "drillPath", 31, () => de([])), Le = k(f, "selectable", 3, !1), Re = k(f, "selected", 31, () => de([])), ze = k(f, "announce", 3, !0), Be = k(f, "describe", 3, !0), Ve = k(f, "live", 3, !1), He = k(f, "hoverHighlight", 3, !0), Ue = k(f, "crosshairLabels", 3, !0), We = k(f, "brush", 3, !1), Ge = k(f, "brushHeight", 3, 88), Ke = k(f, "autosize", 3, !1), qe = k(f, "annotatable", 3, !1), Je = k(f, "drawable", 3, !1), z = A(() => $e(f.localeText)), Ye = T("");
451
+ pe(() => {
452
452
  if (!Be()) {
453
- b(Ye, "");
453
+ p(Ye, "");
454
454
  return;
455
455
  }
456
456
  let e = F(W), t = !0;
457
457
  return import("./chart-summary-zpeh1XVx.js").then(({ chartSummary: n }) => {
458
- t && b(Ye, n(e), !0);
458
+ t && p(Ye, n(e), !0);
459
459
  }), () => {
460
460
  t = !1;
461
461
  };
@@ -465,32 +465,32 @@ function ni(ne, f) {
465
465
  try {
466
466
  await navigator.clipboard?.writeText(F(Ye));
467
467
  } catch {}
468
- b(Vo, `${F(z).describeCopied}. ${F(Ye)}`);
468
+ p(Vo, `${F(z).describeCopied}. ${F(Ye)}`);
469
469
  }
470
470
  }
471
- let ni = p(0), ri = p(0), ii = j(() => f.width ?? (Ke() && F(ni) > 24 ? F(ni) : f.spec.width ?? 520)), ai = j(() => f.height ?? (Ke() && F(ri) > 24 ? F(ri) : f.spec.height ?? 300)), oi = j(() => {
471
+ let ni = T(0), ri = T(0), ii = A(() => f.width ?? (Ke() && F(ni) > 24 ? F(ni) : f.spec.width ?? 520)), ai = A(() => f.height ?? (Ke() && F(ri) > 24 ? F(ri) : f.spec.height ?? 300)), oi = A(() => {
472
472
  if (!f.spec.responsive?.length) return;
473
473
  let e;
474
474
  for (let t of u(f.spec.responsive, F(ii), F(ai))) t.legend !== void 0 && (e = t.legend);
475
475
  return e;
476
- }), B = j(() => {
476
+ }), B = A(() => {
477
477
  if (!f.spec.responsive?.length) return f.spec;
478
478
  let { responsive: e, ...t } = o(f.spec, F(ii), F(ai));
479
479
  return t;
480
- }), si = j(() => F(oi) ?? le()), ci = j(() => F(si) === !0 ? "bottom" : F(si) === !1 ? null : F(si)), li = j(() => F(ci) === "left" || F(ci) === "right"), ui = p(0), di = p(0), fi = p(0), pi = p(0), mi = j(() => {
480
+ }), si = A(() => F(oi) ?? le()), ci = A(() => F(si) === !0 ? "bottom" : F(si) === !1 ? null : F(si)), li = A(() => F(ci) === "left" || F(ci) === "right"), ui = T(0), di = T(0), fi = T(0), pi = T(0), mi = A(() => {
481
481
  if (!Ke() || F(ni) <= 24) return null;
482
482
  let e = F(bi) ? F(ui) : 0, t = F(ci) ? F(fi) : 0, n = F(ci) ? F(di) : 0, r = We() && !Na.has(f.spec.type) ? F(pi) : 0, i = Math.max(120, Math.round(F(ni) - (F(li) ? n + 8 : 0))), a = e + (F(li) ? 0 : t) + r, o = F(li) ? 16 : (e ? 8 : 0) + (t ? 8 : 0) + (r ? 8 : 0);
483
483
  return {
484
484
  width: i,
485
485
  height: F(ri) > 24 ? Math.max(120, Math.round(F(ri) - a - o)) : void 0
486
486
  };
487
- }), hi = j(() => f.width ?? F(mi)?.width), gi = j(() => f.height ?? F(mi)?.height), _i = j(() => typeof f.dataLabels == "object" ? {
487
+ }), hi = A(() => f.width ?? F(mi)?.width), gi = A(() => f.height ?? F(mi)?.height), _i = A(() => typeof f.dataLabels == "object" ? {
488
488
  show: !0,
489
489
  ...f.dataLabels
490
490
  } : f.dataLabels === void 0 ? F(B).dataLabels ? {
491
491
  show: F(B).dataLabels.show !== !1,
492
492
  ...F(B).dataLabels
493
- } : { show: !1 } : { show: !!f.dataLabels }), vi = j(() => Oe() ? Oe() === !0 ? {
493
+ } : { show: !1 } : { show: !!f.dataLabels }), vi = A(() => Oe() ? Oe() === !0 ? {
494
494
  drag: !0,
495
495
  wheel: !1,
496
496
  pinch: !1,
@@ -502,39 +502,39 @@ function ni(ne, f) {
502
502
  pinch: Oe().pinch ?? !!Oe().wheel,
503
503
  pan: Oe().pan ?? !1,
504
504
  axis: Oe().axis ?? "x"
505
- } : null), yi = p(!1), bi = j(() => f.toolbar ?? (!!Oe() || !!f.onDrill || qe() || !!L() || Fe() || !!Je())), xi = p(!1), V = (e) => f.formatValue ? f.formatValue(e) : F(B).valueFormat ? d(e, F(B).valueFormat, F(B)) : Number.isFinite(e) ? e.toLocaleString(void 0, { maximumFractionDigits: 2 }) : String(e), Si = j(() => {
505
+ } : null), yi = T(!1), bi = A(() => f.toolbar ?? (!!Oe() || !!f.onDrill || qe() || !!L() || Fe() || !!Je())), xi = T(!1), V = (e) => f.formatValue ? f.formatValue(e) : F(B).valueFormat ? d(e, F(B).valueFormat, F(B)) : Number.isFinite(e) ? e.toLocaleString(void 0, { maximumFractionDigits: 2 }) : String(e), Si = A(() => {
506
506
  let e = F(B).y2Axis;
507
507
  return f.formatValue ? f.formatValue : e?.formatter ? (t) => e.formatter(t, -1) : e?.format ? (t) => d(t, e.format, F(B)) : (e) => Number.isFinite(e) ? e.toLocaleString(void 0, { maximumFractionDigits: 2 }) : String(e);
508
- }), Ci = j(() => new Set(F(B).series.filter((e) => e.axis === "right").map((e) => e.label))), wi = (e) => e && F(Ci).has(e) ? F(Si) : V, Ti = p(pe(new Set(f.spec.series.filter((e) => e.visible === !1).map((e) => e.label)))), Ei = p(null), Di = p(null), Oi = p(null), ki = j(() => F(B).palette ?? F(Di) ?? n), Ai = `svgc-${Math.random().toString(36).slice(2, 8)}`, ji = j(() => F(B).series.map((e, t) => ({
508
+ }), Ci = A(() => new Set(F(B).series.filter((e) => e.axis === "right").map((e) => e.label))), wi = (e) => e && F(Ci).has(e) ? F(Si) : V, Ti = T(de(new Set(f.spec.series.filter((e) => e.visible === !1).map((e) => e.label)))), Ei = T(null), Di = T(null), Oi = T(null), ki = A(() => F(B).palette ?? F(Di) ?? n), Ai = `svgc-${Math.random().toString(36).slice(2, 8)}`, ji = A(() => F(B).series.map((e, t) => ({
509
509
  ...e,
510
510
  color: e.color ?? F(ki)[t % F(ki).length]
511
- }))), Mi = j(() => F(B).series.map((e, t) => e.pattern ? e.pattern : F(B).patternFallback ? [
511
+ }))), Mi = A(() => F(B).series.map((e, t) => e.pattern ? e.pattern : F(B).patternFallback ? [
512
512
  "stripe",
513
513
  "crosshatch",
514
514
  "dots",
515
515
  "diagonal"
516
- ][t % 4] : "solid")), Ni = j(() => {
516
+ ][t % 4] : "solid")), Ni = A(() => {
517
517
  let e = {};
518
518
  return F(ji).forEach((t, n) => {
519
519
  let r = F(Mi)[n];
520
520
  e[t.label] = r === "solid" || !r ? t.color : `url(#${Ai}-pat-${n})`;
521
521
  }), e;
522
- }), Pi = j(() => F(ji).map((e, t) => ({
522
+ }), Pi = A(() => F(ji).map((e, t) => ({
523
523
  id: `${Ai}-pat-${t}`,
524
524
  color: e.color,
525
525
  kind: F(Mi)[t] ?? "solid"
526
- })).filter((e) => e.kind !== "solid")), Fi = j(() => {
526
+ })).filter((e) => e.kind !== "solid")), Fi = A(() => {
527
527
  if (F(Ei) == null) return F(Ti);
528
528
  let e = F(B).type === "pie" ? F(Ja) : F(B).series.map((e) => e.label);
529
529
  return new Set(e.filter((e) => e !== F(Ei)));
530
- }), Ii = j(() => I() !== null);
530
+ }), Ii = A(() => I() !== null);
531
531
  function Li(e) {
532
532
  if (!(e === null && I() === null || e !== null && I() !== null && e.i0 === I().i0 && e.i1 === I().i1 && (e.y?.min ?? null) === (I().y?.min ?? null) && (e.y?.max ?? null) === (I().y?.max ?? null)) && (I(e), f.onZoom?.(e), f.syncGroup && !zi)) {
533
533
  let t = F(B).categories.length;
534
534
  Me(f.syncGroup, e, t, Ri, e ? [F(B).categories[e.i0] ?? "", F(B).categories[e.i1] ?? ""] : null);
535
535
  }
536
536
  }
537
- let Ri = Symbol("svchart"), zi = !1, Bi = j(() => f.syncGroup ? Ae(f.syncGroup) : null), Vi = p(!1);
537
+ let Ri = Symbol("svchart"), zi = !1, Bi = A(() => f.syncGroup ? Ae(f.syncGroup) : null), Vi = T(!1);
538
538
  function Hi(e) {
539
539
  Li(e);
540
540
  }
@@ -553,7 +553,7 @@ function ni(ne, f) {
553
553
  let n = Wi(e.clientX, e.currentTarget) ?? 0, r = e.deltaY > 0 ? 1.25 : .8;
554
554
  Li(we(I(), F(B).categories.length, n, r));
555
555
  }
556
- let Ki = /* @__PURE__ */ new Map(), qi = null, Ji = null, Yi = (e) => !!F(vi)?.pan && F(Ii) && (F(yi) || (F(vi).pan === "shift" || F(vi).pan === !0) && e.shiftKey), Xi = p(null), Zi = p(null), Qi = p(null), $i = j(() => {
556
+ let Ki = /* @__PURE__ */ new Map(), qi = null, Ji = null, Yi = (e) => !!F(vi)?.pan && F(Ii) && (F(yi) || (F(vi).pan === "shift" || F(vi).pan === !0) && e.shiftKey), Xi = T(null), Zi = T(null), Qi = T(null), $i = A(() => {
557
557
  if (!F(Zi) || !F(Qi)) return null;
558
558
  let e = Math.min(F(Zi).x, F(Qi).x), t = Math.min(F(Zi).y, F(Qi).y), n = Math.abs(F(Qi).x - F(Zi).x), r = Math.abs(F(Qi).y - F(Zi).y);
559
559
  return n > 4 && r > 4 ? {
@@ -588,7 +588,7 @@ function ni(ne, f) {
588
588
  y: (e.y + t.y) / 2
589
589
  }) + (I() ? I().i0 : 0),
590
590
  start: I()
591
- }, b(Zi, null), b(Qi, null);
591
+ }, p(Zi, null), p(Qi, null);
592
592
  return;
593
593
  }
594
594
  if (Yi(e)) {
@@ -598,7 +598,7 @@ function ni(ne, f) {
598
598
  };
599
599
  return;
600
600
  }
601
- F(vi).drag && (b(Zi, t, !0), b(Qi, t, !0));
601
+ F(vi).drag && (p(Zi, t, !0), p(Qi, t, !0));
602
602
  }
603
603
  }
604
604
  function ra(e) {
@@ -619,7 +619,7 @@ function ni(ne, f) {
619
619
  Li(Te(Ji.start, F(B).categories.length, n));
620
620
  return;
621
621
  }
622
- F(Zi) && b(Qi, ea(e), !0);
622
+ F(Zi) && p(Qi, ea(e), !0);
623
623
  }
624
624
  function ia(e) {
625
625
  if (e && Ki.delete(e.pointerId), qi) {
@@ -631,7 +631,7 @@ function ni(ne, f) {
631
631
  return;
632
632
  }
633
633
  if (!F(Zi) || !F(Qi)) {
634
- b(Zi, null), b(Qi, null);
634
+ p(Zi, null), p(Qi, null);
635
635
  return;
636
636
  }
637
637
  let t = F($i);
@@ -656,7 +656,7 @@ function ni(ne, f) {
656
656
  ...s ? { y: s } : {}
657
657
  });
658
658
  }
659
- b(Zi, null), b(Qi, null);
659
+ p(Zi, null), p(Qi, null);
660
660
  }
661
661
  function aa() {
662
662
  Oe() && F(Ii) && Ui();
@@ -668,17 +668,17 @@ function ni(ne, f) {
668
668
  "rect",
669
669
  "arrow",
670
670
  "text"
671
- ], sa = j(() => ({
671
+ ], sa = A(() => ({
672
672
  trend: F(z).toolTrend,
673
673
  hray: F(z).toolRay,
674
674
  fib: F(z).toolFib,
675
675
  rect: F(z).toolRect,
676
676
  arrow: F(z).toolArrow,
677
677
  text: F(z).toolText
678
- })), ca = j(() => Je() ? Je() === !0 ? oa : Je() : []), la = p(null), H = p(null), ua = p(null), da = p(null), fa = p(null), pa = p("");
678
+ })), ca = A(() => Je() ? Je() === !0 ? oa : Je() : []), la = T(null), H = T(null), ua = T(null), da = T(null), fa = T(null), pa = T("");
679
679
  function ma() {
680
680
  let e = F(fa), t = F(pa).trim();
681
- b(fa, null), b(pa, ""), !(!e || !t) && ba([..._a(), {
681
+ p(fa, null), p(pa, ""), !(!e || !t) && ba([..._a(), {
682
682
  id: `d${Date.now().toString(36)}${ga++}`,
683
683
  kind: "text",
684
684
  points: [{
@@ -688,7 +688,7 @@ function ni(ne, f) {
688
688
  text: t
689
689
  }]);
690
690
  }
691
- let ha = p(null), ga = 0, _a = () => F(B).drawings ?? [];
691
+ let ha = T(null), ga = 0, _a = () => F(B).drawings ?? [];
692
692
  function va(e) {
693
693
  if (!F(uo)) return null;
694
694
  let t = F(G).axes?.x;
@@ -714,7 +714,7 @@ function ni(ne, f) {
714
714
  f.onDrawingsChange?.(e);
715
715
  }
716
716
  function xa(e) {
717
- b(la, F(la) === e ? null : e, !0), b(H, null), b(ua, null), b(fa, null);
717
+ p(la, F(la) === e ? null : e, !0), p(H, null), p(ua, null), p(fa, null);
718
718
  }
719
719
  function Sa(e) {
720
720
  if (!F(la)) return;
@@ -722,7 +722,7 @@ function ni(ne, f) {
722
722
  if (!t) return;
723
723
  if (F(la) === "text") {
724
724
  let n = F(ss)?.getBoundingClientRect();
725
- b(pa, ""), b(fa, {
725
+ p(pa, ""), p(fa, {
726
726
  x: t.x,
727
727
  y: t.y,
728
728
  left: n ? e.clientX - n.left : 0,
@@ -742,14 +742,14 @@ function ni(ne, f) {
742
742
  return;
743
743
  }
744
744
  if (!F(H)) {
745
- b(H, t, !0), b(ua, {
745
+ p(H, t, !0), p(ua, {
746
746
  x: t.px,
747
747
  y: t.py
748
748
  }, !0);
749
749
  return;
750
750
  }
751
751
  let n = F(H);
752
- b(H, null), b(ua, null), ba([..._a(), {
752
+ p(H, null), p(ua, null), ba([..._a(), {
753
753
  id: `d${Date.now().toString(36)}${ga++}`,
754
754
  kind: F(la),
755
755
  points: [{
@@ -777,11 +777,11 @@ function ni(ne, f) {
777
777
  }
778
778
  if (F(H)) {
779
779
  let t = ea(e);
780
- t && b(ua, t, !0);
780
+ t && p(ua, t, !0);
781
781
  }
782
782
  }
783
783
  function wa(e) {
784
- ba(_a().filter((t) => t.id !== e)), F(da) === e && b(da, null);
784
+ ba(_a().filter((t) => t.id !== e)), F(da) === e && p(da, null);
785
785
  }
786
786
  function Ta(e, t) {
787
787
  (e.key === "Delete" || e.key === "Backspace") && (e.preventDefault(), wa(t));
@@ -792,11 +792,11 @@ function ni(ne, f) {
792
792
  Da();
793
793
  return;
794
794
  }
795
- F(la) && (F(H) ? (b(H, null), b(ua, null)) : b(la, null));
795
+ F(la) && (F(H) ? (p(H, null), p(ua, null)) : p(la, null));
796
796
  }
797
797
  }
798
798
  function Da() {
799
- b(us, null), Q();
799
+ p(us, null), Q();
800
800
  }
801
801
  function Oa(e) {
802
802
  if (!(!Ce() || !F(ls))) {
@@ -804,13 +804,13 @@ function ni(ne, f) {
804
804
  Da();
805
805
  return;
806
806
  }
807
- b(us, {
807
+ p(us, {
808
808
  index: e,
809
809
  series: F(ls).ctx.series ?? null
810
810
  }, !0);
811
811
  }
812
812
  }
813
- fe(() => {
813
+ pe(() => {
814
814
  if (!F(us) || typeof document > "u") return;
815
815
  let e = (e) => {
816
816
  F(ss) && e.target instanceof Node && F(ss).contains(e.target) || Da();
@@ -819,7 +819,7 @@ function ni(ne, f) {
819
819
  });
820
820
  let ka = (e) => {
821
821
  e.focus();
822
- }, Aa = j(() => F(B).type === "candlestick" || F(B).type === "ohlc"), ja = j(() => F(B).type === "ohlc"), Ma = j(() => Math.max(50, (F(hi) ?? F(B).width ?? 520) - 60)), Na = /* @__PURE__ */ new Set([
822
+ }, Aa = A(() => F(B).type === "candlestick" || F(B).type === "ohlc"), ja = A(() => F(B).type === "ohlc"), Ma = A(() => Math.max(50, (F(hi) ?? F(B).width ?? 520) - 60)), Na = /* @__PURE__ */ new Set([
823
823
  "pie",
824
824
  "heatmap",
825
825
  "funnel",
@@ -841,7 +841,7 @@ function ni(ne, f) {
841
841
  "range-bar",
842
842
  "stream",
843
843
  "pareto"
844
- ]), Fa = j(() => We() && !Na.has(F(B).type)), Ia = j(() => ({
844
+ ]), Fa = A(() => We() && !Na.has(F(B).type)), Ia = A(() => ({
845
845
  ...F(B),
846
846
  width: F(hi) ?? F(B).width,
847
847
  height: Ge(),
@@ -885,7 +885,7 @@ function ni(ne, f) {
885
885
  errors: void 0,
886
886
  type: e.type && (Pa.has(e.type) || e.type === "scatter") ? "line" : e.type
887
887
  } : e)
888
- })), U = j(() => F(Fa) ? te(re(F(Ia), F(Ma))) : null), La = j(() => {
888
+ })), U = A(() => F(Fa) ? te(re(F(Ia), F(Ma))) : null), La = A(() => {
889
889
  let e = F(B).categories.length;
890
890
  return !I() || e === 0 ? {
891
891
  t0: 0,
@@ -894,7 +894,7 @@ function ni(ne, f) {
894
894
  t0: I().i0 / e,
895
895
  t1: (I().i1 + 1) / e
896
896
  };
897
- }), Ra = p(null);
897
+ }), Ra = T(null);
898
898
  function za(e, t) {
899
899
  let n = t.getBoundingClientRect();
900
900
  return F(U) ? (e.clientX - n.left) / n.width * F(U).width : 0;
@@ -902,7 +902,7 @@ function ni(ne, f) {
902
902
  function Ba(e, t) {
903
903
  if (!F(U)) return;
904
904
  let n = e.currentTarget, r = za(e, n.ownerSVGElement ?? n);
905
- b(Ra, {
905
+ p(Ra, {
906
906
  mode: t,
907
907
  startX: r,
908
908
  startT0: F(La).t0,
@@ -926,16 +926,16 @@ function ni(ne, f) {
926
926
  });
927
927
  }
928
928
  function Ha(e) {
929
- b(Ra, null), e.currentTarget.releasePointerCapture?.(e.pointerId);
929
+ p(Ra, null), e.currentTarget.releasePointerCapture?.(e.pointerId);
930
930
  }
931
- let Ua = j(() => F(B).tree ?? F(B).treemap ?? null), Wa = j(() => Fe() && !!F(Ua) && (F(B).type === "sunburst" || F(B).type === "treemap" || F(B).type === "pie")), Ga = j(() => F(Wa) && Ie().length ? l(F(Ua), Ie()) : F(Ua)), Ka = (e) => e.value ?? (e.children ?? []).reduce((e, t) => e + Ka(t), 0), qa = j(() => F(B).type === "pie" && F(Wa) && F(Ga) ? F(Ga) : null), Ja = j(() => F(qa) ? (F(qa).children ?? []).map((e) => e.name) : F(B).categories), Ya = (e) => !!F(qa) && !!F(qa).children?.find((t) => t.name === e)?.children?.length;
931
+ let Ua = A(() => F(B).tree ?? F(B).treemap ?? null), Wa = A(() => Fe() && !!F(Ua) && (F(B).type === "sunburst" || F(B).type === "treemap" || F(B).type === "pie")), Ga = A(() => F(Wa) && Ie().length ? l(F(Ua), Ie()) : F(Ua)), Ka = (e) => e.value ?? (e.children ?? []).reduce((e, t) => e + Ka(t), 0), qa = A(() => F(B).type === "pie" && F(Wa) && F(Ga) ? F(Ga) : null), Ja = A(() => F(qa) ? (F(qa).children ?? []).map((e) => e.name) : F(B).categories), Ya = (e) => !!F(qa) && !!F(qa).children?.find((t) => t.name === e)?.children?.length;
932
932
  function Xa(e) {
933
933
  Ie(e);
934
934
  }
935
935
  function Za(e) {
936
936
  return !F(Wa) || !e || !F(Ua) || !l(F(Ua), e)?.children?.length ? !1 : (Xa(e), !0);
937
937
  }
938
- let W = j(() => {
938
+ let W = A(() => {
939
939
  if (F(qa)) {
940
940
  let e = F(qa).children ?? [], t = F(B).series[0]?.label ?? F(qa).name, n = e.map((e) => F(Fi).has(e.name) ? 0 : Ka(e)), r = e.map((e) => e.color ?? null);
941
941
  return {
@@ -991,7 +991,7 @@ function ni(ne, f) {
991
991
  };
992
992
  }
993
993
  return re(t, F(Ma));
994
- }), Qa = p(!1), $a = j(() => te({
994
+ }), Qa = T(!1), $a = A(() => te({
995
995
  ...F(W),
996
996
  palette: F(ki),
997
997
  ...F(hi) || F(gi) ? {
@@ -999,7 +999,7 @@ function ni(ne, f) {
999
999
  height: F(gi)
1000
1000
  } : {},
1001
1001
  ...f.dataLabels === void 0 ? {} : { dataLabels: F(_i) }
1002
- }, F(Qa) ? "dark" : "light")), eo = j(() => Pe() ? Pe() === !0 ? {
1002
+ }, F(Qa) ? "dark" : "light")), eo = A(() => Pe() ? Pe() === !0 ? {
1003
1003
  duration: 400,
1004
1004
  enter: "fade",
1005
1005
  update: !0
@@ -1007,30 +1007,30 @@ function ni(ne, f) {
1007
1007
  duration: Pe().duration ?? 400,
1008
1008
  enter: Pe().enter ?? "fade",
1009
1009
  update: Pe().update ?? !0
1010
- } : null), to = p(!1);
1011
- fe(() => {
1010
+ } : null), to = T(!1);
1011
+ pe(() => {
1012
1012
  if (typeof matchMedia != "function") return;
1013
1013
  let e = matchMedia("(prefers-reduced-motion: reduce)");
1014
- b(to, e.matches, !0);
1015
- let t = () => b(to, e.matches, !0);
1014
+ p(to, e.matches, !0);
1015
+ let t = () => p(to, e.matches, !0);
1016
1016
  return e.addEventListener?.("change", t), () => e.removeEventListener?.("change", t);
1017
1017
  });
1018
- let no = p(null), G = j(() => F(no) && F(no).t < 1 ? Ne(F(no).from, F($a), F(no).t) : F($a)), ro = null, io = 0;
1019
- fe(() => {
1018
+ let no = T(null), G = A(() => F(no) && F(no).t < 1 ? Ne(F(no).from, F($a), F(no).t) : F($a)), ro = null, io = 0;
1019
+ pe(() => {
1020
1020
  let e = F($a);
1021
- de(() => {
1021
+ fe(() => {
1022
1022
  let t = ro;
1023
1023
  if (ro = e, !t || !F(eo)?.update || F(to) || F(eo).duration <= 0 || Ve() || e.bars.length + e.arcs.length > 600 || e.lines.some((e) => e.points.length > 600) || t.type !== e.type) return;
1024
1024
  let n = F(no) && F(no).t < 1 ? Ne(F(no).from, t, F(no).t) : t;
1025
1025
  cancelAnimationFrame(io);
1026
1026
  let r = performance.now(), i = F(eo).duration;
1027
- b(no, {
1027
+ p(no, {
1028
1028
  from: n,
1029
1029
  t: 0
1030
1030
  }, !0);
1031
1031
  let a = (e) => {
1032
1032
  let t = Math.min(1, (e - r) / i), o = 1 - (1 - t) ** 3;
1033
- b(no, t >= 1 ? null : {
1033
+ p(no, t >= 1 ? null : {
1034
1034
  from: n,
1035
1035
  t: o
1036
1036
  }, !0), t < 1 && (io = requestAnimationFrame(a));
@@ -1038,15 +1038,15 @@ function ni(ne, f) {
1038
1038
  io = requestAnimationFrame(a);
1039
1039
  });
1040
1040
  });
1041
- let ao = j(() => F(to) || Ve() ? "none" : F(eo)?.enter ?? "fade"), oo = j(() => F(G).lines.flatMap((e, t) => e.style?.gradient ? [{
1041
+ let ao = A(() => F(to) || Ve() ? "none" : F(eo)?.enter ?? "fade"), oo = A(() => F(G).lines.flatMap((e, t) => e.style?.gradient ? [{
1042
1042
  id: `${Ai}-grad-${t}`,
1043
1043
  ...e.style.gradient
1044
- }] : [])), so = j(() => F(B).yAxis?.title ?? F(B).yAxisTitle), co = j(() => F(B).y2Axis?.title ?? F(B).y2AxisTitle), lo = j(() => F(B).xAxis?.title ?? F(B).xAxisTitle), uo = j(() => i(F(G))), fo = j(() => ({
1044
+ }] : [])), so = A(() => F(B).yAxis?.title ?? F(B).yAxisTitle), co = A(() => F(B).y2Axis?.title ?? F(B).y2AxisTitle), lo = A(() => F(B).xAxis?.title ?? F(B).xAxisTitle), uo = A(() => i(F(G))), fo = A(() => ({
1045
1045
  geo: F(G),
1046
1046
  scales: F(uo),
1047
1047
  xOf: F(uo)?.xOf ?? null,
1048
1048
  yOf: F(uo)?.yOf ?? null
1049
- })), K = j(() => !Na.has(F(B).type)), po = j(() => F(B).type === "sunburst" || F(B).type === "radial-bar" || F(B).type === "radial-column" || F(B).type === "nightingale" || F(B).type === "chord"), mo = j(() => F(B).type === "bullet"), ho = j(() => (F(B).type === "radial-bar" || F(B).type === "radial-column" || F(B).type === "nightingale") && F(B).series.length === 1), go = j(() => F(B).type === "scatter"), _o = j(() => F(B).type === "heatmap"), vo = j(() => F(B).type === "funnel"), yo = j(() => F(B).type === "radar"), bo = j(() => F(B).type === "calendar"), xo = j(() => F(B).type === "gauge"), So = j(() => F(B).type === "treemap"), Co = j(() => F(B).type === "sankey"), q = j(() => F(G).orientation === "horizontal"), wo = j(() => (F(q) ? F(G).plot.h : F(G).plot.w) / Math.max(1, F(W).categories.length)), To = j(() => F(K) && !F(go) && !F(q) && F(wo) < 4 && F(W).categories.length > 1), Eo = j(() => I() ? I().i1 - I().i0 + 1 : F(B).categories.length), Do = j(() => F(_i).show && F(K) && !F(go) ? s(F(G), F(_i), (e, t) => wi(t)(e), {
1049
+ })), K = A(() => !Na.has(F(B).type)), po = A(() => F(B).type === "sunburst" || F(B).type === "radial-bar" || F(B).type === "radial-column" || F(B).type === "nightingale" || F(B).type === "chord"), mo = A(() => F(B).type === "bullet"), ho = A(() => (F(B).type === "radial-bar" || F(B).type === "radial-column" || F(B).type === "nightingale") && F(B).series.length === 1), go = A(() => F(B).type === "scatter"), _o = A(() => F(B).type === "heatmap"), vo = A(() => F(B).type === "funnel"), yo = A(() => F(B).type === "radar"), bo = A(() => F(B).type === "calendar"), xo = A(() => F(B).type === "gauge"), So = A(() => F(B).type === "treemap"), Co = A(() => F(B).type === "sankey"), q = A(() => F(G).orientation === "horizontal"), wo = A(() => (F(q) ? F(G).plot.h : F(G).plot.w) / Math.max(1, F(W).categories.length)), To = A(() => F(K) && !F(go) && !F(q) && F(wo) < 4 && F(W).categories.length > 1), Eo = A(() => I() ? I().i1 - I().i0 + 1 : F(B).categories.length), Do = A(() => F(_i).show && F(K) && !F(go) ? s(F(G), F(_i), (e, t) => wi(t)(e), {
1050
1050
  stacked: !!(F(B).stacked || F(B).stacked100),
1051
1051
  dense: F(To),
1052
1052
  share: !!F(B).stacked100
@@ -1077,7 +1077,7 @@ function ni(ne, f) {
1077
1077
  }
1078
1078
  return o > 0 && Math.abs(i[o - 1].x - r) <= Math.abs(i[o].x - r) && --o, o;
1079
1079
  }
1080
- let jo = p(0);
1080
+ let jo = T(0);
1081
1081
  function Mo(e) {
1082
1082
  if (qs(e, F(jo)) || Bs(e, F(jo))) return;
1083
1083
  let t = F(W).categories.length - 1, n = Math.max(1, Math.floor(t / 10)), r = F(jo);
@@ -1108,13 +1108,13 @@ function ni(ne, f) {
1108
1108
  return;
1109
1109
  default: return;
1110
1110
  }
1111
- e.preventDefault(), b(jo, r, !0), xs(e.currentTarget, r);
1111
+ e.preventDefault(), p(jo, r, !0), xs(e.currentTarget, r);
1112
1112
  }
1113
- let No = p(null), Po = j(() => F(Oi) ?? (He() ? F(No) : null)), J = (e) => F(Po) && F(Po) !== e ? .18 : 1, Fo = null;
1113
+ let No = T(null), Po = A(() => F(Oi) ?? (He() ? F(No) : null)), J = (e) => F(Po) && F(Po) !== e ? .18 : 1, Fo = null;
1114
1114
  function Io(e) {
1115
1115
  f.onHover && (e === Fo || e !== null && Fo !== null && e.category === Fo.category && e.index === Fo.index && e.series === Fo.series && e.value === Fo.value || (Fo = e, f.onHover(e)));
1116
1116
  }
1117
- let Y = j(() => Le() === "multi" ? "multi" : Le() ? "single" : null), Lo = (e, t, n, r) => e.category === t && e.series === n && (e.index === void 0 || r === void 0 || e.index === r), Ro = (e, t, n) => Re().some((r) => Lo(r, e, t, n)), zo = (e, t, n) => F(Y) && Re().length && !Ro(e, t, n) ? .35 : 1;
1117
+ let Y = A(() => Le() === "multi" ? "multi" : Le() ? "single" : null), Lo = (e, t, n, r) => e.category === t && e.series === n && (e.index === void 0 || r === void 0 || e.index === r), Ro = (e, t, n) => Re().some((r) => Lo(r, e, t, n)), zo = (e, t, n) => F(Y) && Re().length && !Ro(e, t, n) ? .35 : 1;
1118
1118
  function Bo(e, t, n, r) {
1119
1119
  if (!F(Y)) return;
1120
1120
  let i = r === void 0 ? {
@@ -1127,7 +1127,7 @@ function ni(ne, f) {
1127
1127
  }, a = F(Y) === "multi" || !!(n && (n.ctrlKey || n.metaKey || n.shiftKey)), o;
1128
1128
  o = Ro(e, t, r) ? a ? Re().filter((n) => !Lo(n, e, t, r)) : [] : a ? [...Re(), i] : [i], Re(o), f.onSelectionChange?.(o);
1129
1129
  }
1130
- let X = p(null), Vo = p(""), Ho = j(() => F(B).type === "heatmap" || F(B).type === "calendar" || F(B).type === "gauge" ? [] : F(B).type === "pie" || F(ho) ? F(Ja).map((e, t) => ({
1130
+ let X = T(null), Vo = T(""), Ho = A(() => F(B).type === "heatmap" || F(B).type === "calendar" || F(B).type === "gauge" ? [] : F(B).type === "pie" || F(ho) ? F(Ja).map((e, t) => ({
1131
1131
  label: e,
1132
1132
  color: F(B).categoryColors?.[e] ?? F(W).series[0]?.colors?.[t] ?? F(ki)[t % F(ki).length],
1133
1133
  off: F(Ti).has(e)
@@ -1139,7 +1139,7 @@ function ni(ne, f) {
1139
1139
  label: e.label,
1140
1140
  color: e.color,
1141
1141
  off: F(Ti).has(e.label)
1142
- }))), Uo = j(() => L() ? L() === !0 ? [
1142
+ }))), Uo = A(() => L() ? L() === !0 ? [
1143
1143
  "1W",
1144
1144
  "1M",
1145
1145
  "3M",
@@ -1147,35 +1147,35 @@ function ni(ne, f) {
1147
1147
  "YTD",
1148
1148
  "1Y",
1149
1149
  "All"
1150
- ] : L() : []), Wo = j(() => F(Uo).length > 0 && F(K) && (F(B).xType === "time" || F(B).xType === "ordinal-time" || F(B).xAxis?.type === "time" || F(B).xAxis?.type === "ordinal-time")), Go = (e) => typeof e == "string" ? e : e.label;
1150
+ ] : L() : []), Wo = A(() => F(Uo).length > 0 && F(K) && (F(B).xType === "time" || F(B).xType === "ordinal-time" || F(B).xAxis?.type === "time" || F(B).xAxis?.type === "ordinal-time")), Go = (e) => typeof e == "string" ? e : e.label;
1151
1151
  function Ko(e) {
1152
1152
  Li(De(F(B).categories, e));
1153
1153
  }
1154
- let qo = j(() => F(B).type !== "sunburst" && F(B).type !== "chord"), Jo = p(!1), Yo = j(() => F(Ho).length > 10), Xo = j(() => F(Yo) && !F(Jo) ? F(Ho).slice(0, 10) : F(Ho)), Zo = j(() => F(B).type === "pie" ? F(G).slices.every((e) => e.value <= 0) : F(B).type === "scatter" ? F(G).scatterPoints.length === 0 : F(B).type === "heatmap" ? F(G).heatmapCells.length === 0 : F(B).type === "funnel" ? F(G).funnelSegments.length === 0 : F(B).type === "radar" ? F(G).radarSeries.length === 0 : F(B).type === "calendar" ? F(G).calendarCells.length === 0 : F(B).type === "gauge" ? !F(G).gauge : F(B).type === "treemap" ? F(G).treemapCells.length === 0 : F(B).type === "sankey" ? F(G).sankeyNodes.length === 0 : F(Aa) ? F(G).candles.length === 0 : F(B).type === "boxplot" ? F(G).boxes.length === 0 : F(po) ? F(G).arcs.length === 0 : F(mo) ? F(G).bullets.length === 0 : F(G).bars.length === 0 && F(G).stems.length === 0 && F(G).lines.every((e) => e.points.every((e) => !e.defined))), Qo = null;
1154
+ let qo = A(() => F(B).type !== "sunburst" && F(B).type !== "chord"), Jo = T(!1), Yo = A(() => F(Ho).length > 10), Xo = A(() => F(Yo) && !F(Jo) ? F(Ho).slice(0, 10) : F(Ho)), Zo = A(() => F(B).type === "pie" ? F(G).slices.every((e) => e.value <= 0) : F(B).type === "scatter" ? F(G).scatterPoints.length === 0 : F(B).type === "heatmap" ? F(G).heatmapCells.length === 0 : F(B).type === "funnel" ? F(G).funnelSegments.length === 0 : F(B).type === "radar" ? F(G).radarSeries.length === 0 : F(B).type === "calendar" ? F(G).calendarCells.length === 0 : F(B).type === "gauge" ? !F(G).gauge : F(B).type === "treemap" ? F(G).treemapCells.length === 0 : F(B).type === "sankey" ? F(G).sankeyNodes.length === 0 : F(Aa) ? F(G).candles.length === 0 : F(B).type === "boxplot" ? F(G).boxes.length === 0 : F(po) ? F(G).arcs.length === 0 : F(mo) ? F(G).bullets.length === 0 : F(G).bars.length === 0 && F(G).stems.length === 0 && F(G).lines.every((e) => e.points.every((e) => !e.defined))), Qo = null;
1155
1155
  function $o(e) {
1156
- if (!v() || !F(qo)) return;
1156
+ if (!_() || !F(qo)) return;
1157
1157
  if (F(Ei) != null) {
1158
1158
  Qo = {
1159
1159
  label: F(Ei),
1160
1160
  at: Date.now()
1161
- }, b(Ei, null);
1161
+ }, p(Ei, null);
1162
1162
  return;
1163
1163
  }
1164
1164
  let t = new Set(F(Ti));
1165
- t.has(e) ? t.delete(e) : t.add(e), b(Ti, t, !0);
1165
+ t.has(e) ? t.delete(e) : t.add(e), p(Ti, t, !0);
1166
1166
  }
1167
1167
  function es(e) {
1168
- if (!v() || !F(qo)) return;
1168
+ if (!_() || !F(qo)) return;
1169
1169
  let t = Qo;
1170
1170
  Qo = null;
1171
1171
  let n = new Set(F(Ti));
1172
1172
  if (n.delete(e), t && t.label === e && Date.now() - t.at < 600) {
1173
- b(Ti, n, !0);
1173
+ p(Ti, n, !0);
1174
1174
  return;
1175
1175
  }
1176
- b(Ti, n, !0), b(Ei, F(Ei) === e ? null : e, !0);
1176
+ p(Ti, n, !0), p(Ei, F(Ei) === e ? null : e, !0);
1177
1177
  }
1178
- let ts = (e, t) => Number.isFinite(e) ? wi(t)(e) : "", ns = j(() => {
1178
+ let ts = (e, t) => Number.isFinite(e) ? wi(t)(e) : "", ns = A(() => {
1179
1179
  if (F(B).type === "pie") {
1180
1180
  let e = F(qa) ? F(W).series[0] : F(ji)[0];
1181
1181
  return {
@@ -1263,11 +1263,11 @@ function ni(ne, f) {
1263
1263
  cols: ["Category", ...F(ji).map((e) => e.label)],
1264
1264
  rows: F(B).categories.map((e, t) => [e, ...F(ji).map((e) => ts(e.values[t], e.label))])
1265
1265
  };
1266
- }), rs = j(() => F(ns).rows.length > Oo), is = j(() => F(rs) ? F(ns).rows.slice(0, Oo) : F(ns).rows);
1266
+ }), rs = A(() => F(ns).rows.length > Oo), is = A(() => F(rs) ? F(ns).rows.slice(0, Oo) : F(ns).rows);
1267
1267
  function as(e, t = 12) {
1268
1268
  return e.length > t ? e.slice(0, t - 1) + "…" : e;
1269
1269
  }
1270
- let os = (e, t) => f.formatValue ? f.formatValue(e) : t, ss = p(null);
1270
+ let os = (e, t) => f.formatValue ? f.formatValue(e) : t, ss = T(null);
1271
1271
  function cs(e) {
1272
1272
  if (!e) return !1;
1273
1273
  let t = 0, n = 0, r = 0, i = e.trim().startsWith("#") ? e.trim().slice(1) : "";
@@ -1280,17 +1280,17 @@ function ni(ne, f) {
1280
1280
  }
1281
1281
  return .299 * t + .587 * n + .114 * r < 128;
1282
1282
  }
1283
- fe(() => {
1283
+ pe(() => {
1284
1284
  if (!F(ss) || typeof window > "u") return;
1285
1285
  let e = F(ss), t = () => {
1286
1286
  let t = getComputedStyle(e);
1287
- b(Qa, cs(t.getPropertyValue("--sg-bg")), !0);
1287
+ p(Qa, cs(t.getPropertyValue("--sg-bg")), !0);
1288
1288
  let r = [];
1289
1289
  for (let e = 1; e <= 8; e += 1) {
1290
1290
  let i = t.getPropertyValue(`--sg-chart-${e}`).trim();
1291
1291
  r.push(i || n[e - 1]);
1292
1292
  }
1293
- (!F(Di) || r.some((e, t) => e !== F(Di)[t])) && b(Di, r.some((e, t) => e !== n[t]) ? r : null, !0);
1293
+ (!F(Di) || r.some((e, t) => e !== F(Di)[t])) && p(Di, r.some((e, t) => e !== n[t]) ? r : null, !0);
1294
1294
  };
1295
1295
  t();
1296
1296
  let r = new MutationObserver(t);
@@ -1303,9 +1303,9 @@ function ni(ne, f) {
1303
1303
  ]
1304
1304
  }), () => r.disconnect();
1305
1305
  });
1306
- let ls = p(null), us = p(null), ds = p(null);
1306
+ let ls = T(null), us = T(null), ds = T(null);
1307
1307
  function Z(e, t, n, r, i) {
1308
- if (!v() || !F(ss) || r.length === 0 || F(us) && F(ls)) return;
1308
+ if (!_() || !F(ss) || r.length === 0 || F(us) && F(ls)) return;
1309
1309
  let a = F(ss).getBoundingClientRect(), o = {
1310
1310
  category: n,
1311
1311
  index: -1,
@@ -1316,7 +1316,7 @@ function ni(ne, f) {
1316
1316
  let e = F(Xi).getBoundingClientRect(), t = e.width / (F(G).width || 1), n = e.height / (F(G).height || 1), r = Se() === "top-right" || Se() === "bottom-right", i = Se() === "bottom-left" || Se() === "bottom-right";
1317
1317
  l = e.left - a.left + (r ? (F(G).plot.x + F(G).plot.w) * t - 8 : F(G).plot.x * t + 8), u = e.top - a.top + (i ? (F(G).plot.y + F(G).plot.h) * n - 8 : F(G).plot.y * n + 8);
1318
1318
  } else l = Math.max(70, Math.min(a.width - 70, e - a.left)), u = t - a.top;
1319
- b(ls, {
1319
+ p(ls, {
1320
1320
  left: l,
1321
1321
  top: u,
1322
1322
  below: !c && u < 44,
@@ -1458,12 +1458,12 @@ function ni(ne, f) {
1458
1458
  }
1459
1459
  return n;
1460
1460
  }
1461
- let ms = p(null);
1461
+ let ms = T(null);
1462
1462
  function hs(e) {
1463
1463
  let t = F(G).axes?.y, n = t ? Math.abs(t.max - t.min) : 100, r = n >= 100 ? 0 : n >= 10 ? 1 : n >= 1 ? 2 : 3, i = Number(e.toFixed(r)), a = F(B).yAxis;
1464
1464
  return a?.formatter ? a.formatter(i, -1) : a?.format ? d(i, a.format, F(B)) : os(i, V(i));
1465
1465
  }
1466
- let gs = j(() => F(B).xType === "time" || F(B).xType === "ordinal-time" || F(B).xAxis?.type === "time" || F(B).xAxis?.type === "ordinal-time"), _s = j(() => F(gs) ? t(F(W).categories.map((e) => Date.parse(e))) : "day"), vs = (e) => {
1466
+ let gs = A(() => F(B).xType === "time" || F(B).xType === "ordinal-time" || F(B).xAxis?.type === "time" || F(B).xAxis?.type === "ordinal-time"), _s = A(() => F(gs) ? t(F(W).categories.map((e) => Date.parse(e))) : "day"), vs = (e) => {
1467
1467
  let t = Date.parse(e);
1468
1468
  return Number.isFinite(t) ? r(t) : e;
1469
1469
  };
@@ -1474,12 +1474,12 @@ function ni(ne, f) {
1474
1474
  return Number.isFinite(n) ? F(B).xAxis?.formatter ? F(B).xAxis.formatter(n, e) : r(n, F(_s)) : t;
1475
1475
  }
1476
1476
  function bs(e, t, n, r) {
1477
- b(ds, n, !0);
1477
+ p(ds, n, !0);
1478
1478
  let i = ea({
1479
1479
  clientX: e,
1480
1480
  clientY: t
1481
1481
  })?.y;
1482
- b(ms, i != null && Number.isFinite(i) && i >= F(G).plot.y && i <= F(G).plot.y + F(G).plot.h ? i : null, !0);
1482
+ p(ms, i != null && Number.isFinite(i) && i >= F(G).plot.y && i <= F(G).plot.y + F(G).plot.h ? i : null, !0);
1483
1483
  let a = F(W).categories[n] ?? "", o = ps(n), s, c, l = F(X) && F(W).series.some((e) => e.label === F(X)) ? F(X) : null;
1484
1484
  if (l) s = l, c = F(W).series.find((e) => e.label === l)?.values[n], o = o.filter((e) => e.label === l || e.label?.startsWith(l + " "));
1485
1485
  else {
@@ -1487,7 +1487,7 @@ function ni(ne, f) {
1487
1487
  clientX: e,
1488
1488
  clientY: t
1489
1489
  }), a = i && Number.isFinite(i.y) ? fs(n, i.y) : null;
1490
- b(No, a && a.distance <= 18 ? a.label : null, !0), y() === "single" && a && r && (s = a.label, c = F(W).series.find((e) => e.label === a.label)?.values[n], o = o.filter((e) => e.label === a.label || e.label?.startsWith(a.label + " ")));
1490
+ p(No, a && a.distance <= 18 ? a.label : null, !0), v() === "single" && a && r && (s = a.label, c = F(W).series.find((e) => e.label === a.label)?.values[n], o = o.filter((e) => e.label === a.label || e.label?.startsWith(a.label + " ")));
1491
1491
  }
1492
1492
  if (Z(e, t, ys(n), o, {
1493
1493
  category: a,
@@ -1510,35 +1510,35 @@ function ni(ne, f) {
1510
1510
  let r = ys(t);
1511
1511
  if (F(X)) {
1512
1512
  let e = F(W).series.find((e) => e.label === F(X))?.values[t];
1513
- b(Vo, et(F(z).seriesAtCategory, {
1513
+ p(Vo, et(F(z).seriesAtCategory, {
1514
1514
  series: F(X),
1515
1515
  value: Number.isFinite(e) ? wi(F(X))(e) : F(z).noValue,
1516
1516
  category: r
1517
1517
  }), !0);
1518
- } else b(Vo, `${r}: ${ps(t).map((e) => `${e.label ?? ""} ${e.value}`).join(", ")}`);
1518
+ } else p(Vo, `${r}: ${ps(t).map((e) => `${e.label ?? ""} ${e.value}`).join(", ")}`);
1519
1519
  }
1520
1520
  function Q() {
1521
- F(us) || (b(ds, null), b(ms, null), b(No, null), b(ls, null), Io(null), f.syncGroup && !F(Vi) && F(Bi)?.hover?.from === Ri && je(f.syncGroup, null));
1521
+ F(us) || (p(ds, null), p(ms, null), p(No, null), p(ls, null), Io(null), f.syncGroup && !F(Vi) && F(Bi)?.hover?.from === Ri && je(f.syncGroup, null));
1522
1522
  }
1523
- fe(() => {
1523
+ pe(() => {
1524
1524
  if (!F(Bi)) return;
1525
1525
  let e = F(Bi).hover;
1526
- de(() => {
1526
+ fe(() => {
1527
1527
  if (!e) {
1528
- F(Vi) && (b(Vi, !1), b(ds, null), b(ls, null));
1528
+ F(Vi) && (p(Vi, !1), p(ds, null), p(ls, null));
1529
1529
  return;
1530
1530
  }
1531
1531
  if (e.from === Ri) return;
1532
1532
  let t = F(W).categories.indexOf(e.label);
1533
1533
  if (t < 0 && e.time != null && (t = ke(F(W).categories, e.time)), t < 0 || !F(Xi) || !F(uo)) return;
1534
- b(Vi, !0);
1534
+ p(Vi, !0);
1535
1535
  let n = F(Xi).getBoundingClientRect(), r = n.width / F(G).width, i = n.height / F(G).height, a = F(uo).xOf(t);
1536
- bs(n.left + a * r, n.top + (F(G).plot.y + 12) * i, t), b(Vi, !0);
1536
+ bs(n.left + a * r, n.top + (F(G).plot.y + 12) * i, t), p(Vi, !0);
1537
1537
  });
1538
- }), fe(() => {
1538
+ }), pe(() => {
1539
1539
  if (!F(Bi)) return;
1540
1540
  let e = F(Bi).zoom;
1541
- de(() => {
1541
+ fe(() => {
1542
1542
  if (!e || e.from === Ri) return;
1543
1543
  let t = F(B).categories.length, n = e.window;
1544
1544
  if (n && e.count !== t) {
@@ -1565,7 +1565,7 @@ function ni(ne, f) {
1565
1565
  });
1566
1566
  }
1567
1567
  function Cs(t, n, r) {
1568
- b(No, r.series, !0);
1568
+ p(No, r.series, !0);
1569
1569
  let i = [{
1570
1570
  label: "x",
1571
1571
  value: V(r.x)
@@ -1603,7 +1603,7 @@ function ni(ne, f) {
1603
1603
  }), Z(e, t, n.label, r, { value: n.value });
1604
1604
  }
1605
1605
  function Es(e, t, n) {
1606
- b(No, F(ho) || F(B).type === "sunburst" || F(B).type === "chord" ? n.label : n.series, !0), Z(e, t, n.series ? `${n.label} \u00b7 ${n.series}` : n.label, [{
1606
+ p(No, F(ho) || F(B).type === "sunburst" || F(B).type === "chord" ? n.label : n.series, !0), Z(e, t, n.series ? `${n.label} \u00b7 ${n.series}` : n.label, [{
1607
1607
  color: n.color,
1608
1608
  value: V(n.value)
1609
1609
  }], {
@@ -1623,7 +1623,7 @@ function ni(ne, f) {
1623
1623
  });
1624
1624
  }
1625
1625
  function Os(e, t, n) {
1626
- b(No, n.series, !0);
1626
+ p(No, n.series, !0);
1627
1627
  let r = [{
1628
1628
  color: n.color,
1629
1629
  label: n.series,
@@ -1639,7 +1639,7 @@ function ni(ne, f) {
1639
1639
  });
1640
1640
  }
1641
1641
  function ks(e, t, n) {
1642
- b(No, n.series, !0);
1642
+ p(No, n.series, !0);
1643
1643
  let r = [{
1644
1644
  color: n.color,
1645
1645
  label: n.series,
@@ -1652,7 +1652,7 @@ function ni(ne, f) {
1652
1652
  });
1653
1653
  }
1654
1654
  function As(e, t, n, r, i, a) {
1655
- b(No, n, !0), Z(e, t, `${n} · ${r}`, [{
1655
+ p(No, n, !0), Z(e, t, `${n} · ${r}`, [{
1656
1656
  color: a,
1657
1657
  value: V(i)
1658
1658
  }], {
@@ -1663,7 +1663,7 @@ function ni(ne, f) {
1663
1663
  }
1664
1664
  function js(e, t) {
1665
1665
  if (F(la)) return;
1666
- Ce() && "clientX" in e && !F(xi) && (F(us) && F(us).index === t ? Da() : (b(us, null), bs(e.clientX, e.clientY, t, e.currentTarget), Oa(t)));
1666
+ Ce() && "clientX" in e && !F(xi) && (F(us) && F(us).index === t ? Da() : (p(us, null), bs(e.clientX, e.clientY, t, e.currentTarget), Oa(t)));
1667
1667
  let n = F(W).categories[t] ?? "";
1668
1668
  if (!F(Y)) {
1669
1669
  Ms(n, "", 0, t, e);
@@ -1724,7 +1724,7 @@ function ni(ne, f) {
1724
1724
  let n = F(W).series.map((e) => e.label);
1725
1725
  if (!n.length) return;
1726
1726
  let i = (F(X) ? n.indexOf(F(X)) : -1) + (e.key === s ? 1 : -1);
1727
- b(X, i < 0 || i >= n.length ? null : n[i], !0), b(Oi, F(X), !0), xs(r, t);
1727
+ p(X, i < 0 || i >= n.length ? null : n[i], !0), p(Oi, F(X), !0), xs(r, t);
1728
1728
  return;
1729
1729
  }
1730
1730
  case "Home":
@@ -1745,16 +1745,16 @@ function ni(ne, f) {
1745
1745
  e.preventDefault(), js(e, t);
1746
1746
  return;
1747
1747
  case "Escape":
1748
- F(X) && (b(X, null), b(Oi, null), xs(r, t));
1748
+ F(X) && (p(X, null), p(Oi, null), xs(r, t));
1749
1749
  return;
1750
1750
  }
1751
1751
  }
1752
- let Fs = p(pe({
1752
+ let Fs = T(de({
1753
1753
  sel: "",
1754
1754
  i: 0
1755
- })), Is = (e, t) => v() ? (F(Fs).sel === e ? F(Fs).i : 0) === t ? 0 : -1 : void 0;
1755
+ })), Is = (e, t) => _() ? (F(Fs).sel === e ? F(Fs).i : 0) === t ? 0 : -1 : void 0;
1756
1756
  function Ls(e, t) {
1757
- (F(Fs).sel !== e || F(Fs).i !== t) && b(Fs, {
1757
+ (F(Fs).sel !== e || F(Fs).i !== t) && p(Fs, {
1758
1758
  sel: e,
1759
1759
  i: t
1760
1760
  }, !0);
@@ -1796,7 +1796,7 @@ function ni(ne, f) {
1796
1796
  break;
1797
1797
  default: return;
1798
1798
  }
1799
- e.preventDefault(), d = Math.max(0, Math.min(c - 1, d)), d !== n && (b(Fs, {
1799
+ e.preventDefault(), d = Math.max(0, Math.min(c - 1, d)), d !== n && (p(Fs, {
1800
1800
  sel: t,
1801
1801
  i: d
1802
1802
  }, !0), s[d].focus?.());
@@ -1823,7 +1823,7 @@ function ni(ne, f) {
1823
1823
  let s = Math.max(0, Math.min(i ? i.i1 - i.i0 : n - 1, r - (i?.i0 ?? 0)));
1824
1824
  return ae().then(() => {
1825
1825
  let e = F(Xi)?.querySelector(F(To) ? "[data-dense=\"true\"]" : `[data-cat-index="${s}"]`);
1826
- e && (e.focus?.(), F(To) && b(jo, s, !0), xs(e, s));
1826
+ e && (e.focus?.(), F(To) && p(jo, s, !0), xs(e, s));
1827
1827
  }), !0;
1828
1828
  }
1829
1829
  function Vs(e) {
@@ -1872,7 +1872,7 @@ function ni(ne, f) {
1872
1872
  }
1873
1873
  e.preventDefault(), Li(o);
1874
1874
  }
1875
- let Hs = p("idle"), Us = p(null), Ws = p(null);
1875
+ let Hs = T("idle"), Us = T(null), Ws = T(null);
1876
1876
  function Gs(e) {
1877
1877
  if (!R()) return;
1878
1878
  e.preventDefault();
@@ -1887,13 +1887,13 @@ function ni(ne, f) {
1887
1887
  series: F(X),
1888
1888
  value: F(W).series.find((e) => e.label === F(X))?.values[n]
1889
1889
  } : {}
1890
- }, i = () => b(Us, {
1890
+ }, i = () => p(Us, {
1891
1891
  x: e,
1892
1892
  y: t,
1893
1893
  target: r
1894
1894
  }, !0);
1895
- F(Ws) ? i() : import("./SvChartMenu-CwWtjXsG.js").then((e) => {
1896
- b(Ws, e.default, !0), i();
1895
+ F(Ws) ? i() : import("./SvChartMenu-CgAcTloT.js").then((e) => {
1896
+ p(Ws, e.default, !0), i();
1897
1897
  });
1898
1898
  }
1899
1899
  function qs(e, t) {
@@ -1902,7 +1902,7 @@ function ni(ne, f) {
1902
1902
  let n = e.currentTarget.getBoundingClientRect();
1903
1903
  return Ks(n.left + n.width / 2, n.top + Math.min(n.height / 2, 24), t), !0;
1904
1904
  }
1905
- let Js = j(() => {
1905
+ let Js = A(() => {
1906
1906
  if (!F(Us)) return [];
1907
1907
  let e = [
1908
1908
  {
@@ -2029,7 +2029,7 @@ function ni(ne, f) {
2029
2029
  }
2030
2030
  async function $s() {
2031
2031
  if (!F(ss)) return;
2032
- let e = await import("./chart-export-pdf-C_iQ0kET.js"), t = (/* @__PURE__ */ new Date()).toISOString().slice(0, 10);
2032
+ let e = await import("./chart-export-pdf-BSDueOD-.js"), t = (/* @__PURE__ */ new Date()).toISOString().slice(0, 10);
2033
2033
  await e.downloadChartPdf(F(ss), `chart-${t}.pdf`, {
2034
2034
  title: F(B).title,
2035
2035
  subtitle: F(B).subtitle,
@@ -2037,23 +2037,23 @@ function ni(ne, f) {
2037
2037
  });
2038
2038
  }
2039
2039
  async function ec() {
2040
- F(ss) && (await import("./chart-export-pdf-C_iQ0kET.js")).printChart(F(ss), { title: F(B).title });
2040
+ F(ss) && (await import("./chart-export-pdf-BSDueOD-.js")).printChart(F(ss), { title: F(B).title });
2041
2041
  }
2042
2042
  async function tc() {
2043
2043
  let e = Ys();
2044
2044
  if (!e) {
2045
- b(Hs, "err");
2045
+ p(Hs, "err");
2046
2046
  return;
2047
2047
  }
2048
2048
  try {
2049
2049
  let t = await Zs(e);
2050
2050
  if (!t) throw Error("rasterize failed");
2051
2051
  let n = window.ClipboardItem;
2052
- n && navigator.clipboard?.write ? await navigator.clipboard.write([new n({ "image/png": t })]) : await navigator.clipboard.writeText(e), b(Hs, "ok");
2052
+ n && navigator.clipboard?.write ? await navigator.clipboard.write([new n({ "image/png": t })]) : await navigator.clipboard.writeText(e), p(Hs, "ok");
2053
2053
  } catch {
2054
- b(Hs, "err");
2054
+ p(Hs, "err");
2055
2055
  }
2056
- setTimeout(() => b(Hs, "idle"), 1500);
2056
+ setTimeout(() => p(Hs, "idle"), 1500);
2057
2057
  }
2058
2058
  var nc = {
2059
2059
  zoomTo: Hi,
@@ -2062,26 +2062,26 @@ function ni(ne, f) {
2062
2062
  let ic;
2063
2063
  {
2064
2064
  let e = (e) => {
2065
- var t = it(), n = g(t), r = g(n, !0);
2066
- E(n);
2065
+ var t = it(), n = C(t), r = C(n, !0);
2066
+ j(n);
2067
2067
  var i = w(n, 2);
2068
- N(i, 17, Ie, S, (e, t, n) => {
2069
- var r = rt(), i = w(T(r), 2), a = (e) => {
2070
- var n = tt(), r = g(n, !0);
2071
- E(n), C(() => k(r, F(t))), m(e, n);
2068
+ N(i, 17, Ie, b, (e, t, n) => {
2069
+ var r = rt(), i = w(S(r), 2), a = (e) => {
2070
+ var n = tt(), r = C(n, !0);
2071
+ j(n), x(() => O(r, F(t))), m(e, n);
2072
2072
  }, o = (e) => {
2073
- var r = nt(), i = g(r, !0);
2074
- E(r), C(() => k(i, F(t))), _("click", r, () => Xa(Ie().slice(0, n + 1))), m(e, r);
2073
+ var r = nt(), i = C(r, !0);
2074
+ j(r), x(() => O(i, F(t))), g("click", r, () => Xa(Ie().slice(0, n + 1))), m(e, r);
2075
2075
  };
2076
2076
  h(i, (e) => {
2077
2077
  n === Ie().length - 1 ? e(a) : e(o, -1);
2078
2078
  }), m(e, r);
2079
- }), E(t), C(() => {
2080
- D(t, "aria-label", F(z).drillPath), k(r, F(Ua)?.name || F(z).drillRoot);
2081
- }), _("click", n, () => Xa([])), m(e, t);
2079
+ }), j(t), x(() => {
2080
+ E(t, "aria-label", F(z).drillPath), O(r, F(Ua)?.name || F(z).drillRoot);
2081
+ }), g("click", n, () => Xa([])), m(e, t);
2082
2082
  };
2083
- var ac = g(rc), oc = (t) => {
2084
- var n = pt(), r = g(n), i = (t) => {
2083
+ var ac = C(rc), oc = (t) => {
2084
+ var n = pt(), r = C(n), i = (t) => {
2085
2085
  e(t);
2086
2086
  };
2087
2087
  h(r, (e) => {
@@ -2090,11 +2090,11 @@ function ni(ne, f) {
2090
2090
  var a = w(r, 2), o = (e) => {
2091
2091
  var t = ot();
2092
2092
  N(t, 21, () => F(Uo), (e) => Go(e), (e, t) => {
2093
- var n = at(), r = g(n, !0);
2094
- E(n), C((e, t) => {
2095
- D(n, "title", e), k(r, t);
2096
- }, [() => et(F(z).showLast, { preset: Go(F(t)) }), () => Go(F(t))]), _("click", n, () => Ko(F(t))), m(e, n);
2097
- }), E(t), C(() => D(t, "aria-label", F(z).dateRange)), m(e, t);
2093
+ var n = at(), r = C(n, !0);
2094
+ j(n), x((e, t) => {
2095
+ E(n, "title", e), O(r, t);
2096
+ }, [() => et(F(z).showLast, { preset: Go(F(t)) }), () => Go(F(t))]), g("click", n, () => Ko(F(t))), m(e, n);
2097
+ }), j(t), x(() => E(t, "aria-label", F(z).dateRange)), m(e, t);
2098
2098
  };
2099
2099
  h(a, (e) => {
2100
2100
  F(Wo) && e(o);
@@ -2102,19 +2102,19 @@ function ni(ne, f) {
2102
2102
  var s = w(a, 2), c = (e) => {
2103
2103
  var t = st();
2104
2104
  let n;
2105
- var r = w(g(t));
2106
- E(t), C(() => {
2107
- n = P(t, 1, "sv-grid-chart-tool svelte-kvdein", null, n, { "is-on": F(yi) }), D(t, "aria-pressed", F(yi)), D(t, "title", F(z).panTitle), k(r, ` ${F(z).pan ?? ""}`);
2108
- }), _("click", t, () => b(yi, !F(yi))), m(e, t);
2105
+ var r = w(C(t));
2106
+ j(t), x(() => {
2107
+ n = P(t, 1, "sv-grid-chart-tool svelte-kvdein", null, n, { "is-on": F(yi) }), E(t, "aria-pressed", F(yi)), E(t, "title", F(z).panTitle), O(r, ` ${F(z).pan ?? ""}`);
2108
+ }), g("click", t, () => p(yi, !F(yi))), m(e, t);
2109
2109
  };
2110
2110
  h(s, (e) => {
2111
2111
  F(vi) && (F(vi).pan === "mode" || F(vi).pan === !0) && F(Ii) && e(c);
2112
2112
  });
2113
2113
  var l = w(s, 2), u = (e) => {
2114
- var t = ct(), n = w(g(t));
2115
- E(t), C(() => {
2116
- D(t, "title", F(z).resetZoomTitle), k(n, ` ${F(z).resetZoom ?? ""}`);
2117
- }), _("click", t, Ui), m(e, t);
2114
+ var t = ct(), n = w(C(t));
2115
+ j(t), x(() => {
2116
+ E(t, "title", F(z).resetZoomTitle), O(n, ` ${F(z).resetZoom ?? ""}`);
2117
+ }), g("click", t, Ui), m(e, t);
2118
2118
  };
2119
2119
  h(l, (e) => {
2120
2120
  Oe() && F(Ii) && e(u);
@@ -2122,66 +2122,66 @@ function ni(ne, f) {
2122
2122
  var d = w(l, 2), ee = (e) => {
2123
2123
  var t = lt();
2124
2124
  let n;
2125
- var r = w(g(t));
2126
- E(t), C(() => {
2127
- n = P(t, 1, "sv-grid-chart-tool svelte-kvdein", null, n, { "is-on": F(xi) }), D(t, "aria-pressed", F(xi)), D(t, "title", F(xi) ? F(z).annotateOnTitle : F(z).annotateOffTitle), k(r, ` ${F(z).annotate ?? ""}`);
2128
- }), _("click", t, () => b(xi, !F(xi))), m(e, t);
2125
+ var r = w(C(t));
2126
+ j(t), x(() => {
2127
+ n = P(t, 1, "sv-grid-chart-tool svelte-kvdein", null, n, { "is-on": F(xi) }), E(t, "aria-pressed", F(xi)), E(t, "title", F(xi) ? F(z).annotateOnTitle : F(z).annotateOffTitle), O(r, ` ${F(z).annotate ?? ""}`);
2128
+ }), g("click", t, () => p(xi, !F(xi))), m(e, t);
2129
2129
  };
2130
2130
  h(d, (e) => {
2131
2131
  qe() && e(ee);
2132
2132
  });
2133
2133
  var te = w(d, 2), ne = (e) => {
2134
- var t = ft(), n = g(t);
2134
+ var t = ft(), n = C(t);
2135
2135
  N(n, 16, () => F(ca), (e) => e, (e, t) => {
2136
2136
  var n = ut();
2137
2137
  let r;
2138
- var i = g(n, !0);
2139
- E(n), C((e) => {
2140
- r = P(n, 1, "sv-grid-chart-tool sv-grid-chart-drawtool svelte-kvdein", null, r, { "is-on": F(la) === t }), D(n, "aria-pressed", F(la) === t), D(n, "title", e), k(i, F(sa)[t]);
2141
- }, [() => et(F(z).draw, { tool: F(sa)[t] })]), _("click", n, () => xa(t)), m(e, n);
2138
+ var i = C(n, !0);
2139
+ j(n), x((e) => {
2140
+ r = P(n, 1, "sv-grid-chart-tool sv-grid-chart-drawtool svelte-kvdein", null, r, { "is-on": F(la) === t }), E(n, "aria-pressed", F(la) === t), E(n, "title", e), O(i, F(sa)[t]);
2141
+ }, [() => et(F(z).draw, { tool: F(sa)[t] })]), g("click", n, () => xa(t)), m(e, n);
2142
2142
  });
2143
2143
  var r = w(n, 2), i = (e) => {
2144
- var t = dt(), n = T(t), r = g(n, !0);
2145
- E(n);
2146
- var i = w(n, 2), a = g(i, !0);
2147
- E(i), C(() => {
2148
- n.disabled = !F(da), D(n, "title", F(z).deleteDrawingTitle), k(r, F(z).deleteDrawing), D(i, "title", F(z).clearDrawingsTitle), k(a, F(z).clearDrawings);
2149
- }), _("click", n, () => F(da) && wa(F(da))), _("click", i, () => ba([])), m(e, t);
2150
- }, a = j(() => _a().length);
2144
+ var t = dt(), n = S(t), r = C(n, !0);
2145
+ j(n);
2146
+ var i = w(n, 2), a = C(i, !0);
2147
+ j(i), x(() => {
2148
+ n.disabled = !F(da), E(n, "title", F(z).deleteDrawingTitle), O(r, F(z).deleteDrawing), E(i, "title", F(z).clearDrawingsTitle), O(a, F(z).clearDrawings);
2149
+ }), g("click", n, () => F(da) && wa(F(da))), g("click", i, () => ba([])), m(e, t);
2150
+ }, a = A(() => _a().length);
2151
2151
  h(r, (e) => {
2152
2152
  F(a) && e(i);
2153
- }), E(t), C(() => D(t, "aria-label", F(z).drawingTools)), m(e, t);
2153
+ }), j(t), x(() => E(t, "aria-label", F(z).drawingTools)), m(e, t);
2154
2154
  };
2155
2155
  h(te, (e) => {
2156
2156
  F(ca).length && F(K) && e(ne);
2157
2157
  });
2158
- var re = w(te, 2), ie = g(re, !0);
2159
- E(re);
2160
- var f = w(re, 2), p = g(f, !0);
2161
- E(f);
2162
- var ae = w(f, 2), oe = g(ae, !0);
2163
- E(ae);
2164
- var se = w(ae, 2), ce = g(se, !0);
2165
- E(se);
2166
- var le = w(se, 2), v = g(le, !0);
2167
- E(le), E(n), C(() => {
2168
- D(re, "title", F(z).downloadPng), k(ie, F(z).png), D(f, "title", F(z).downloadSvg), k(p, F(z).svg), D(ae, "title", F(z).downloadPdf), k(oe, F(z).pdf), D(se, "title", F(z).printTitle), k(ce, F(z).print), D(le, "title", F(z).copyTitle), k(v, F(Hs) === "ok" ? F(z).copied : F(z).copy);
2169
- }), _("click", re, () => Qs("png")), _("click", f, () => Qs("svg")), _("click", ae, $s), _("click", se, ec), _("click", le, tc), ve(n, "clientHeight", (e) => b(ui, e)), m(t, n);
2158
+ var re = w(te, 2), ie = C(re, !0);
2159
+ j(re);
2160
+ var f = w(re, 2), ae = C(f, !0);
2161
+ j(f);
2162
+ var oe = w(f, 2), se = C(oe, !0);
2163
+ j(oe);
2164
+ var ce = w(oe, 2), le = C(ce, !0);
2165
+ j(ce);
2166
+ var _ = w(ce, 2), v = C(_, !0);
2167
+ j(_), j(n), x(() => {
2168
+ E(re, "title", F(z).downloadPng), O(ie, F(z).png), E(f, "title", F(z).downloadSvg), O(ae, F(z).svg), E(oe, "title", F(z).downloadPdf), O(se, F(z).pdf), E(ce, "title", F(z).printTitle), O(le, F(z).print), E(_, "title", F(z).copyTitle), O(v, F(Hs) === "ok" ? F(z).copied : F(z).copy);
2169
+ }), g("click", re, () => Qs("png")), g("click", f, () => Qs("svg")), g("click", oe, $s), g("click", ce, ec), g("click", _, tc), ve(n, "clientHeight", (e) => p(ui, e)), m(t, n);
2170
2170
  }, sc = (t) => {
2171
- var n = mt(), r = g(n);
2172
- e(r), E(n), ve(n, "clientHeight", (e) => b(ui, e)), m(t, n);
2171
+ var n = mt(), r = C(n);
2172
+ e(r), j(n), ve(n, "clientHeight", (e) => p(ui, e)), m(t, n);
2173
2173
  };
2174
2174
  h(ac, (e) => {
2175
2175
  F(bi) ? e(oc) : F(Wa) && Ie().length && e(sc, 1);
2176
2176
  });
2177
2177
  var $ = w(ac, 2);
2178
2178
  let t, n;
2179
- var cc = g($), lc = (e) => {
2180
- var t = xt(), n = g(t), r = (e) => {
2181
- var t = ht(), n = g(t);
2179
+ var cc = C($), lc = (e) => {
2180
+ var t = xt(), n = C(t), r = (e) => {
2181
+ var t = ht(), n = C(t);
2182
2182
  let r;
2183
- E(t), C(() => {
2184
- D(t, "id", `${Ai}-plot`), D(n, "x", F(G).plot.x - 4), D(n, "y", F(G).plot.y - 4), D(n, "width", F(G).plot.w + 8), D(n, "height", F(G).plot.h + 8), r = P(n, 0, "svelte-kvdein", null, r, { "sv-grid-chart-wipe": F(ao) === "wipe" });
2183
+ j(t), x(() => {
2184
+ E(t, "id", `${Ai}-plot`), E(n, "x", F(G).plot.x - 4), E(n, "y", F(G).plot.y - 4), E(n, "width", F(G).plot.w + 8), E(n, "height", F(G).plot.h + 8), r = P(n, 0, "svelte-kvdein", null, r, { "sv-grid-chart-wipe": F(ao) === "wipe" });
2185
2185
  }), m(e, t);
2186
2186
  };
2187
2187
  h(n, (e) => {
@@ -2189,92 +2189,92 @@ function ni(ne, f) {
2189
2189
  });
2190
2190
  var i = w(n);
2191
2191
  N(i, 17, () => F(oo), (e) => e.id, (e, t) => {
2192
- var n = gt(), r = g(n), i = w(r);
2193
- E(n), C(() => {
2194
- D(n, "id", F(t).id), D(r, "stop-color", F(t).from), D(i, "stop-color", F(t).to === "transparent" ? F(t).from : F(t).to), D(i, "stop-opacity", F(t).to === "transparent" ? 0 : 1);
2192
+ var n = gt(), r = C(n), i = w(r);
2193
+ j(n), x(() => {
2194
+ E(n, "id", F(t).id), E(r, "stop-color", F(t).from), E(i, "stop-color", F(t).to === "transparent" ? F(t).from : F(t).to), E(i, "stop-opacity", F(t).to === "transparent" ? 0 : 1);
2195
2195
  }), m(e, n);
2196
2196
  });
2197
2197
  var a = w(i);
2198
2198
  N(a, 17, () => F(Pi), (e) => e.id, (e, t) => {
2199
- var n = O(), r = T(n), i = (e) => {
2200
- var n = _t(), r = g(n);
2201
- ge(), E(n), C(() => {
2202
- D(n, "id", F(t).id), D(r, "fill", F(t).color);
2199
+ var n = D(), r = S(n), i = (e) => {
2200
+ var n = _t(), r = C(n);
2201
+ he(), j(n), x(() => {
2202
+ E(n, "id", F(t).id), E(r, "fill", F(t).color);
2203
2203
  }), m(e, n);
2204
2204
  }, a = (e) => {
2205
- var n = vt(), r = g(n);
2206
- ge(), E(n), C(() => {
2207
- D(n, "id", F(t).id), D(r, "fill", F(t).color);
2205
+ var n = vt(), r = C(n);
2206
+ he(), j(n), x(() => {
2207
+ E(n, "id", F(t).id), E(r, "fill", F(t).color);
2208
2208
  }), m(e, n);
2209
2209
  }, o = (e) => {
2210
- var n = yt(), r = g(n);
2211
- ge(), E(n), C(() => {
2212
- D(n, "id", F(t).id), D(r, "fill", F(t).color);
2210
+ var n = yt(), r = C(n);
2211
+ he(), j(n), x(() => {
2212
+ E(n, "id", F(t).id), E(r, "fill", F(t).color);
2213
2213
  }), m(e, n);
2214
2214
  }, s = (e) => {
2215
- var n = bt(), r = g(n);
2216
- ge(), E(n), C(() => {
2217
- D(n, "id", F(t).id), D(r, "fill", F(t).color);
2215
+ var n = bt(), r = C(n);
2216
+ he(), j(n), x(() => {
2217
+ E(n, "id", F(t).id), E(r, "fill", F(t).color);
2218
2218
  }), m(e, n);
2219
2219
  };
2220
2220
  h(r, (e) => {
2221
2221
  F(t).kind === "stripe" ? e(i) : F(t).kind === "crosshatch" ? e(a, 1) : F(t).kind === "dots" ? e(o, 2) : F(t).kind === "diagonal" && e(s, 3);
2222
2222
  }), m(e, n);
2223
- }), E(t), m(e, t);
2223
+ }), j(t), m(e, t);
2224
2224
  };
2225
2225
  h(cc, (e) => {
2226
2226
  (F(Pi).length || F(oo).length || F(K)) && e(lc);
2227
2227
  });
2228
2228
  var uc = w(cc), dc = (e) => {
2229
- var t = St(), n = g(t, !0);
2230
- E(t), C(() => {
2231
- D(t, "x", F(G).frame.title.x), D(t, "y", F(G).frame.title.y), k(n, F(G).frame.title.text);
2229
+ var t = St(), n = C(t, !0);
2230
+ j(t), x(() => {
2231
+ E(t, "x", F(G).frame.title.x), E(t, "y", F(G).frame.title.y), O(n, F(G).frame.title.text);
2232
2232
  }), m(e, t);
2233
2233
  };
2234
2234
  h(uc, (e) => {
2235
2235
  F(G).frame.title && e(dc);
2236
2236
  });
2237
2237
  var fc = w(uc), pc = (e) => {
2238
- var t = Ct(), n = g(t, !0);
2239
- E(t), C(() => {
2240
- D(t, "x", F(G).frame.subtitle.x), D(t, "y", F(G).frame.subtitle.y), k(n, F(G).frame.subtitle.text);
2238
+ var t = Ct(), n = C(t, !0);
2239
+ j(t), x(() => {
2240
+ E(t, "x", F(G).frame.subtitle.x), E(t, "y", F(G).frame.subtitle.y), O(n, F(G).frame.subtitle.text);
2241
2241
  }), m(e, t);
2242
2242
  };
2243
2243
  h(fc, (e) => {
2244
2244
  F(G).frame.subtitle && e(pc);
2245
2245
  });
2246
2246
  var mc = w(fc), hc = (e) => {
2247
- var t = wt(), n = g(t, !0);
2248
- E(t), C(() => {
2249
- D(t, "x", F(G).frame.caption.x), D(t, "y", F(G).frame.caption.y), k(n, F(G).frame.caption.text);
2247
+ var t = wt(), n = C(t, !0);
2248
+ j(t), x(() => {
2249
+ E(t, "x", F(G).frame.caption.x), E(t, "y", F(G).frame.caption.y), O(n, F(G).frame.caption.text);
2250
2250
  }), m(e, t);
2251
2251
  };
2252
2252
  h(mc, (e) => {
2253
2253
  F(G).frame.caption && e(hc);
2254
2254
  });
2255
2255
  var gc = w(mc), _c = (e) => {
2256
- var t = jt(), n = T(t);
2256
+ var t = jt(), n = S(t);
2257
2257
  N(n, 17, () => F(G).valueTicks, (e) => e.label + e.x, (e, t, n, r) => {
2258
- var i = Et(), a = T(i), o = (e) => {
2258
+ var i = Et(), a = S(i), o = (e) => {
2259
2259
  var n = Tt();
2260
- C(() => {
2261
- D(n, "x1", F(t).x), D(n, "y1", F(G).plot.y), D(n, "x2", F(t).x), D(n, "y2", F(G).plot.y + F(G).plot.h);
2260
+ x(() => {
2261
+ E(n, "x1", F(t).x), E(n, "y1", F(G).plot.y), E(n, "x2", F(t).x), E(n, "y2", F(G).plot.y + F(G).plot.h);
2262
2262
  }), m(e, n);
2263
2263
  };
2264
2264
  h(a, (e) => {
2265
2265
  F(G).grid.x && e(o);
2266
2266
  });
2267
- var s = w(a), c = g(s, !0);
2268
- E(s), C(() => {
2269
- D(s, "x", F(t).x), D(s, "y", F(G).plot.y + F(G).plot.h + 14), k(c, F(t).label);
2267
+ var s = w(a), c = C(s, !0);
2268
+ j(s), x(() => {
2269
+ E(s, "x", F(t).x), E(s, "y", F(G).plot.y + F(G).plot.h + 14), O(c, F(t).label);
2270
2270
  }), m(e, i);
2271
2271
  });
2272
2272
  var r = w(n), i = (e) => {
2273
- var t = O(), n = T(t);
2273
+ var t = D(), n = S(t);
2274
2274
  N(n, 17, () => F(G).catTicks, (e) => e.value, (e, t, n, r) => {
2275
2275
  var i = Dt();
2276
- C(() => {
2277
- D(i, "x1", F(G).plot.x), D(i, "y1", F(t).y), D(i, "x2", F(G).plot.x + F(G).plot.w), D(i, "y2", F(t).y);
2276
+ x(() => {
2277
+ E(i, "x1", F(G).plot.x), E(i, "y1", F(t).y), E(i, "x2", F(G).plot.x + F(G).plot.w), E(i, "y2", F(t).y);
2278
2278
  }), m(e, i);
2279
2279
  }), m(e, t);
2280
2280
  };
@@ -2283,48 +2283,48 @@ function ni(ne, f) {
2283
2283
  });
2284
2284
  var a = w(r);
2285
2285
  N(a, 17, () => F(G).catTicks, (e) => e.value, (e, t, n, r) => {
2286
- var i = Ot(), a = g(i, !0);
2287
- E(i), C((e) => {
2288
- D(i, "x", F(G).plot.x - 6), D(i, "y", F(t).y + 3), k(a, e);
2286
+ var i = Ot(), a = C(i, !0);
2287
+ j(i), x((e) => {
2288
+ E(i, "x", F(G).plot.x - 6), E(i, "y", F(t).y + 3), O(a, e);
2289
2289
  }, [() => as(F(t).label, 18)]), m(e, i);
2290
2290
  });
2291
2291
  var o = w(a), s = (e) => {
2292
2292
  var t = kt();
2293
- D(t, "x", 13);
2294
- var n = g(t, !0);
2295
- E(t), C(() => {
2296
- D(t, "y", F(G).plot.y + F(G).plot.h / 2), D(t, "transform", `rotate(-90 13 ${F(G).plot.y + F(G).plot.h / 2})`), k(n, F(so));
2293
+ E(t, "x", 13);
2294
+ var n = C(t, !0);
2295
+ j(t), x(() => {
2296
+ E(t, "y", F(G).plot.y + F(G).plot.h / 2), E(t, "transform", `rotate(-90 13 ${F(G).plot.y + F(G).plot.h / 2})`), O(n, F(so));
2297
2297
  }), m(e, t);
2298
2298
  };
2299
2299
  h(o, (e) => {
2300
2300
  F(so) && e(s);
2301
2301
  });
2302
2302
  var c = w(o), l = (e) => {
2303
- var t = At(), n = g(t, !0);
2304
- E(t), C(() => {
2305
- D(t, "x", F(G).plot.x + F(G).plot.w / 2), D(t, "y", F(G).height - 3 - F(G).frame.bottom), k(n, F(lo));
2303
+ var t = At(), n = C(t, !0);
2304
+ j(t), x(() => {
2305
+ E(t, "x", F(G).plot.x + F(G).plot.w / 2), E(t, "y", F(G).height - 3 - F(G).frame.bottom), O(n, F(lo));
2306
2306
  }), m(e, t);
2307
2307
  };
2308
2308
  h(c, (e) => {
2309
2309
  F(lo) && e(l);
2310
2310
  }), m(e, t);
2311
2311
  }, vc = (e) => {
2312
- var t = Wt(), n = T(t);
2312
+ var t = Wt(), n = S(t);
2313
2313
  N(n, 17, () => F(G).yTicks, (e) => e.value, (e, t, n, r) => {
2314
- var i = Pt(), a = T(i), o = (e) => {
2314
+ var i = Pt(), a = S(i), o = (e) => {
2315
2315
  var n = Mt();
2316
2316
  let r;
2317
- C(() => {
2318
- r = P(n, 0, "sv-grid-chart-gridline svelte-kvdein", null, r, { "is-zero": F(t).value === 0 }), D(n, "x1", F(G).plot.x), D(n, "y1", F(t).y), D(n, "x2", F(G).plot.x + F(G).plot.w), D(n, "y2", F(t).y);
2317
+ x(() => {
2318
+ r = P(n, 0, "sv-grid-chart-gridline svelte-kvdein", null, r, { "is-zero": F(t).value === 0 }), E(n, "x1", F(G).plot.x), E(n, "y1", F(t).y), E(n, "x2", F(G).plot.x + F(G).plot.w), E(n, "y2", F(t).y);
2319
2319
  }), m(e, n);
2320
2320
  };
2321
2321
  h(a, (e) => {
2322
2322
  (F(G).grid.y || F(t).value === 0) && e(o);
2323
2323
  });
2324
2324
  var s = w(a), c = (e) => {
2325
- var n = Nt(), r = g(n, !0);
2326
- E(n), C((e) => {
2327
- D(n, "x", F(G).plot.x - 6), D(n, "y", F(t).y + 3), k(r, e);
2325
+ var n = Nt(), r = C(n, !0);
2326
+ j(n), x((e) => {
2327
+ E(n, "x", F(G).plot.x - 6), E(n, "y", F(t).y + 3), O(r, e);
2328
2328
  }, [() => os(F(t).value, F(t).label)]), m(e, n);
2329
2329
  };
2330
2330
  h(s, (e) => {
@@ -2332,11 +2332,11 @@ function ni(ne, f) {
2332
2332
  }), m(e, i);
2333
2333
  });
2334
2334
  var r = w(n), i = (e) => {
2335
- var t = O(), n = T(t);
2335
+ var t = D(), n = S(t);
2336
2336
  N(n, 17, () => F(G).xTicks, (e) => e.label + e.x, (e, t, n, r) => {
2337
2337
  var i = Ft();
2338
- C(() => {
2339
- D(i, "x1", F(t).x), D(i, "y1", F(G).plot.y), D(i, "x2", F(t).x), D(i, "y2", F(G).plot.y + F(G).plot.h);
2338
+ x(() => {
2339
+ E(i, "x1", F(t).x), E(i, "y1", F(G).plot.y), E(i, "x2", F(t).x), E(i, "y2", F(G).plot.y + F(G).plot.h);
2340
2340
  }), m(e, i);
2341
2341
  }), m(e, t);
2342
2342
  };
@@ -2344,12 +2344,12 @@ function ni(ne, f) {
2344
2344
  F(G).grid.x && e(i);
2345
2345
  });
2346
2346
  var a = w(r), o = (e) => {
2347
- var t = O(), n = T(t);
2347
+ var t = D(), n = S(t);
2348
2348
  N(n, 17, () => F(G).y2Ticks, (e) => e.value, (e, t, n, r) => {
2349
- var i = O(), a = T(i), o = (e) => {
2350
- var n = It(), r = g(n, !0);
2351
- E(n), C((e) => {
2352
- D(n, "x", F(G).plot.x + F(G).plot.w + 6), D(n, "y", F(t).y + 3), k(r, e);
2349
+ var i = D(), a = S(i), o = (e) => {
2350
+ var n = It(), r = C(n, !0);
2351
+ j(n), x((e) => {
2352
+ E(n, "x", F(G).plot.x + F(G).plot.w + 6), E(n, "y", F(t).y + 3), O(r, e);
2353
2353
  }, [() => os(F(t).value, F(t).label)]), m(e, n);
2354
2354
  };
2355
2355
  h(a, (e) => {
@@ -2362,15 +2362,15 @@ function ni(ne, f) {
2362
2362
  });
2363
2363
  var s = w(a);
2364
2364
  N(s, 17, () => F(G).xTicks, (e) => e.label + e.x, (e, t, n, r) => {
2365
- var i = O(), a = T(i), o = (e) => {}, s = (e) => {
2366
- var n = Lt(), r = g(n, !0);
2367
- E(n), C((e) => {
2368
- D(n, "x", F(t).x), D(n, "y", F(G).plot.y + F(G).plot.h + 12), D(n, "text-anchor", F(G).xLabelAngle < 0 ? "end" : "start"), D(n, "transform", `rotate(${F(G).xLabelAngle} ${F(t).x} ${F(G).plot.y + F(G).plot.h + 12})`), k(r, e);
2365
+ var i = D(), a = S(i), o = (e) => {}, s = (e) => {
2366
+ var n = Lt(), r = C(n, !0);
2367
+ j(n), x((e) => {
2368
+ E(n, "x", F(t).x), E(n, "y", F(G).plot.y + F(G).plot.h + 12), E(n, "text-anchor", F(G).xLabelAngle < 0 ? "end" : "start"), E(n, "transform", `rotate(${F(G).xLabelAngle} ${F(t).x} ${F(G).plot.y + F(G).plot.h + 12})`), O(r, e);
2369
2369
  }, [() => as(F(t).label, Math.abs(F(G).xLabelAngle) >= 60 ? 18 : 12)]), m(e, n);
2370
2370
  }, c = (e) => {
2371
- var n = Rt(), r = g(n, !0);
2372
- E(n), C((e) => {
2373
- D(n, "x", F(t).x), D(n, "y", F(G).plot.y + F(G).plot.h + 16), k(r, e);
2371
+ var n = Rt(), r = C(n, !0);
2372
+ j(n), x((e) => {
2373
+ E(n, "x", F(t).x), E(n, "y", F(G).plot.y + F(G).plot.h + 16), O(r, e);
2374
2374
  }, [() => as(F(t).label, 16)]), m(e, n);
2375
2375
  };
2376
2376
  h(a, (e) => {
@@ -2379,45 +2379,45 @@ function ni(ne, f) {
2379
2379
  });
2380
2380
  var c = w(s);
2381
2381
  N(c, 17, () => F(G).categoryGroupTicks, (e) => e.label + e.x0, (e, t) => {
2382
- let n = j(() => F(G).plot.y + F(G).plot.h + (F(G).xLabelRotated ? 46 : 32));
2383
- var r = Bt(), i = T(r), a = w(i), o = (e) => {
2382
+ let n = A(() => F(G).plot.y + F(G).plot.h + (F(G).xLabelRotated ? 46 : 32));
2383
+ var r = Bt(), i = S(r), a = w(i), o = (e) => {
2384
2384
  var r = zt();
2385
- C(() => {
2386
- D(r, "x1", F(t).x0), D(r, "y1", F(G).plot.y + F(G).plot.h), D(r, "x2", F(t).x0), D(r, "y2", F(n) - 9);
2385
+ x(() => {
2386
+ E(r, "x1", F(t).x0), E(r, "y1", F(G).plot.y + F(G).plot.h), E(r, "x2", F(t).x0), E(r, "y2", F(n) - 9);
2387
2387
  }), m(e, r);
2388
2388
  };
2389
2389
  h(a, (e) => {
2390
2390
  F(t).x0 > F(G).plot.x + 1 && e(o);
2391
2391
  });
2392
- var s = w(a), c = g(s, !0);
2393
- E(s), C((e) => {
2394
- D(i, "x1", F(t).x0 + 3), D(i, "y1", F(n) - 9), D(i, "x2", F(t).x1 - 3), D(i, "y2", F(n) - 9), D(s, "x", F(t).xCenter), D(s, "y", F(n)), k(c, e);
2392
+ var s = w(a), c = C(s, !0);
2393
+ j(s), x((e) => {
2394
+ E(i, "x1", F(t).x0 + 3), E(i, "y1", F(n) - 9), E(i, "x2", F(t).x1 - 3), E(i, "y2", F(n) - 9), E(s, "x", F(t).xCenter), E(s, "y", F(n)), O(c, e);
2395
2395
  }, [() => as(F(t).label, Math.max(4, Math.floor((F(t).x1 - F(t).x0) / 7)))]), m(e, r);
2396
2396
  });
2397
2397
  var l = w(c), u = (e) => {
2398
2398
  var t = Vt();
2399
- D(t, "x", 13);
2400
- var n = g(t, !0);
2401
- E(t), C(() => {
2402
- D(t, "y", F(G).plot.y + F(G).plot.h / 2), D(t, "transform", `rotate(-90 13 ${F(G).plot.y + F(G).plot.h / 2})`), k(n, F(so));
2399
+ E(t, "x", 13);
2400
+ var n = C(t, !0);
2401
+ j(t), x(() => {
2402
+ E(t, "y", F(G).plot.y + F(G).plot.h / 2), E(t, "transform", `rotate(-90 13 ${F(G).plot.y + F(G).plot.h / 2})`), O(n, F(so));
2403
2403
  }), m(e, t);
2404
2404
  };
2405
2405
  h(l, (e) => {
2406
2406
  F(so) && e(u);
2407
2407
  });
2408
2408
  var d = w(l), ee = (e) => {
2409
- var t = Ht(), n = g(t, !0);
2410
- E(t), C(() => {
2411
- D(t, "x", F(G).width - 12), D(t, "y", F(G).plot.y + F(G).plot.h / 2), D(t, "transform", `rotate(90 ${F(G).width - 12} ${F(G).plot.y + F(G).plot.h / 2})`), k(n, F(co));
2409
+ var t = Ht(), n = C(t, !0);
2410
+ j(t), x(() => {
2411
+ E(t, "x", F(G).width - 12), E(t, "y", F(G).plot.y + F(G).plot.h / 2), E(t, "transform", `rotate(90 ${F(G).width - 12} ${F(G).plot.y + F(G).plot.h / 2})`), O(n, F(co));
2412
2412
  }), m(e, t);
2413
2413
  };
2414
2414
  h(d, (e) => {
2415
2415
  F(co) && e(ee);
2416
2416
  });
2417
2417
  var te = w(d), ne = (e) => {
2418
- var t = Ut(), n = g(t, !0);
2419
- E(t), C(() => {
2420
- D(t, "x", F(G).plot.x + F(G).plot.w / 2), D(t, "y", F(G).height - 3 - F(G).frame.bottom), k(n, F(lo));
2418
+ var t = Ut(), n = C(t, !0);
2419
+ j(t), x(() => {
2420
+ E(t, "x", F(G).plot.x + F(G).plot.w / 2), E(t, "y", F(G).height - 3 - F(G).frame.bottom), O(n, F(lo));
2421
2421
  }), m(e, t);
2422
2422
  };
2423
2423
  h(te, (e) => {
@@ -2428,17 +2428,17 @@ function ni(ne, f) {
2428
2428
  F(q) ? e(_c) : F(K) && e(vc, 1);
2429
2429
  });
2430
2430
  var yc = w(gc);
2431
- N(yc, 17, () => F(G).referenceBands, S, (e, t) => {
2432
- var n = qt(), r = T(n), i = w(r), a = (e) => {
2433
- var n = O(), r = T(n), i = (e) => {
2434
- var n = Gt(), r = g(n, !0);
2435
- E(n), C(() => {
2436
- D(n, "x", F(t).x + F(t).w - 3), D(n, "y", F(t).y + 10), D(n, "fill", F(t).color), k(r, F(t).label);
2431
+ N(yc, 17, () => F(G).referenceBands, b, (e, t) => {
2432
+ var n = qt(), r = S(n), i = w(r), a = (e) => {
2433
+ var n = D(), r = S(n), i = (e) => {
2434
+ var n = Gt(), r = C(n, !0);
2435
+ j(n), x(() => {
2436
+ E(n, "x", F(t).x + F(t).w - 3), E(n, "y", F(t).y + 10), E(n, "fill", F(t).color), O(r, F(t).label);
2437
2437
  }), m(e, n);
2438
2438
  }, a = (e) => {
2439
- var n = Kt(), r = g(n, !0);
2440
- E(n), C(() => {
2441
- D(n, "x", F(t).x + F(t).w / 2), D(n, "y", F(t).y + 10), D(n, "fill", F(t).color), k(r, F(t).label);
2439
+ var n = Kt(), r = C(n, !0);
2440
+ j(n), x(() => {
2441
+ E(n, "x", F(t).x + F(t).w / 2), E(n, "y", F(t).y + 10), E(n, "fill", F(t).color), O(r, F(t).label);
2442
2442
  }), m(e, n);
2443
2443
  };
2444
2444
  h(r, (e) => {
@@ -2447,19 +2447,19 @@ function ni(ne, f) {
2447
2447
  };
2448
2448
  h(i, (e) => {
2449
2449
  F(t).label && e(a);
2450
- }), C(() => {
2451
- D(r, "x", F(t).x), D(r, "y", F(t).y), D(r, "width", F(t).w), D(r, "height", F(t).h), D(r, "fill", F(t).color), D(r, "fill-opacity", F(t).opacity);
2450
+ }), x(() => {
2451
+ E(r, "x", F(t).x), E(r, "y", F(t).y), E(r, "width", F(t).w), E(r, "height", F(t).h), E(r, "fill", F(t).color), E(r, "fill-opacity", F(t).opacity);
2452
2452
  }), m(e, n);
2453
2453
  });
2454
2454
  var bc = w(yc);
2455
2455
  let r;
2456
- var xc = g(bc);
2456
+ var xc = C(bc);
2457
2457
  N(xc, 19, () => F(G).lines, (e, t) => e.label + t, (e, t, n) => {
2458
- let r = j(() => F(t).style?.gradient ? `${Ai}-grad-${F(n)}` : null);
2459
- var i = en(), a = g(i), o = (e) => {
2458
+ let r = A(() => F(t).style?.gradient ? `${Ai}-grad-${F(n)}` : null);
2459
+ var i = en(), a = C(i), o = (e) => {
2460
2460
  var n = Jt();
2461
- C(() => {
2462
- D(n, "d", F(t).bandPath), D(n, "fill", F(t).color);
2461
+ x(() => {
2462
+ E(n, "d", F(t).bandPath), E(n, "fill", F(t).color);
2463
2463
  }), m(e, n);
2464
2464
  };
2465
2465
  h(a, (e) => {
@@ -2467,34 +2467,34 @@ function ni(ne, f) {
2467
2467
  });
2468
2468
  var s = w(a), c = (e) => {
2469
2469
  var n = Yt();
2470
- C(() => {
2471
- D(n, "d", F(t).areaPath), D(n, "fill", F(r) ? `url(#${F(r)})` : F(Ni)[F(t).label] ?? F(t).color), D(n, "fill-opacity", F(r) ? .6 : F(t).range ? .35 : .15);
2470
+ x(() => {
2471
+ E(n, "d", F(t).areaPath), E(n, "fill", F(r) ? `url(#${F(r)})` : F(Ni)[F(t).label] ?? F(t).color), E(n, "fill-opacity", F(r) ? .6 : F(t).range ? .35 : .15);
2472
2472
  }), m(e, n);
2473
2473
  };
2474
2474
  h(s, (e) => {
2475
2475
  F(t).areaPath && e(c);
2476
2476
  });
2477
2477
  var l = w(s), u = w(l), d = (e) => {
2478
- let n = j(() => F(t).points[F(ds) ?? -1]);
2479
- var r = O(), i = T(r), a = (e) => {
2478
+ let n = A(() => F(t).points[F(ds) ?? -1]);
2479
+ var r = D(), i = S(r), a = (e) => {
2480
2480
  var r = Xt();
2481
- C(() => {
2482
- D(r, "cx", F(n).x), D(r, "cy", F(n).y), D(r, "fill", F(n).marker?.color ?? F(t).color);
2481
+ x(() => {
2482
+ E(r, "cx", F(n).x), E(r, "cy", F(n).y), E(r, "fill", F(n).marker?.color ?? F(t).color);
2483
2483
  }), m(e, r);
2484
2484
  };
2485
2485
  h(i, (e) => {
2486
2486
  F(n)?.defined && e(a);
2487
2487
  }), m(e, r);
2488
2488
  }, ee = (e) => {
2489
- var n = O(), r = T(n);
2490
- N(r, 17, () => F(t).points, S, (e, n, r) => {
2491
- var i = O(), a = T(i), o = (e) => {
2492
- let i = j(() => F(n).marker?.shape ?? "circle"), a = j(() => (F(n).marker?.size ?? 3) + +(F(ds) === r)), o = j(() => F(n).marker?.color ?? F(t).color);
2493
- var s = O(), c = T(s), l = (e) => {
2489
+ var n = D(), r = S(n);
2490
+ N(r, 17, () => F(t).points, b, (e, n, r) => {
2491
+ var i = D(), a = S(i), o = (e) => {
2492
+ let i = A(() => F(n).marker?.shape ?? "circle"), a = A(() => (F(n).marker?.size ?? 3) + +(F(ds) === r)), o = A(() => F(n).marker?.color ?? F(t).color);
2493
+ var s = D(), c = S(s), l = (e) => {
2494
2494
  var i = Zt();
2495
2495
  let s;
2496
- C((e, t) => {
2497
- s = P(i, 0, "sv-grid-chart-dot svelte-kvdein", null, s, e), D(i, "cx", F(n).x), D(i, "cy", F(n).y), D(i, "r", F(a)), D(i, "fill", F(o)), M(i, t);
2496
+ x((e, t) => {
2497
+ s = P(i, 0, "sv-grid-chart-dot svelte-kvdein", null, s, e), E(i, "cx", F(n).x), E(i, "cy", F(n).y), E(i, "r", F(a)), E(i, "fill", F(o)), M(i, t);
2498
2498
  }, [() => ({
2499
2499
  "is-active": F(ds) === r,
2500
2500
  "is-selected": Ro(F(n).label, F(t).label)
@@ -2502,14 +2502,14 @@ function ni(ne, f) {
2502
2502
  }, u = (e) => {
2503
2503
  var t = Qt();
2504
2504
  let s;
2505
- C((e) => {
2506
- s = P(t, 0, "sv-grid-chart-dot is-stroked svelte-kvdein", null, s, { "is-active": F(ds) === r }), D(t, "d", e), D(t, "stroke", F(o));
2505
+ x((e) => {
2506
+ s = P(t, 0, "sv-grid-chart-dot is-stroked svelte-kvdein", null, s, { "is-active": F(ds) === r }), E(t, "d", e), E(t, "stroke", F(o));
2507
2507
  }, [() => ie(F(i), F(n).x, F(n).y, F(a))]), m(e, t);
2508
2508
  }, d = (e) => {
2509
2509
  var t = $t();
2510
2510
  let s;
2511
- C((e) => {
2512
- s = P(t, 0, "sv-grid-chart-dot svelte-kvdein", null, s, { "is-active": F(ds) === r }), D(t, "d", e), D(t, "fill", F(o));
2511
+ x((e) => {
2512
+ s = P(t, 0, "sv-grid-chart-dot svelte-kvdein", null, s, { "is-active": F(ds) === r }), E(t, "d", e), E(t, "fill", F(o));
2513
2513
  }, [() => ie(F(i), F(n).x, F(n).y, F(a))]), m(e, t);
2514
2514
  };
2515
2515
  h(c, (e) => {
@@ -2523,64 +2523,64 @@ function ni(ne, f) {
2523
2523
  };
2524
2524
  h(u, (e) => {
2525
2525
  F(To) ? e(d) : e(ee, -1);
2526
- }), E(i), C((e) => {
2527
- M(i, e), D(l, "d", F(t).path), D(l, "stroke", F(t).color), D(l, "stroke-width", F(t).style?.strokeWidth ?? (F(t).range ? 1 : 2)), D(l, "stroke-dasharray", F(t).style?.dash);
2526
+ }), j(i), x((e) => {
2527
+ M(i, e), E(l, "d", F(t).path), E(l, "stroke", F(t).color), E(l, "stroke-width", F(t).style?.strokeWidth ?? (F(t).range ? 1 : 2)), E(l, "stroke-dasharray", F(t).style?.dash);
2528
2528
  }, [() => `opacity:${J(F(t).label) * (F(t).style?.opacity ?? 1)}`]), m(e, i);
2529
2529
  });
2530
2530
  var Sc = w(xc), Cc = (e) => {
2531
- var t = O(), n = T(t);
2531
+ var t = D(), n = S(t);
2532
2532
  ue(n, () => f.underlay, () => F(fo)), m(e, t);
2533
2533
  };
2534
2534
  h(Sc, (e) => {
2535
2535
  f.underlay && e(Cc);
2536
2536
  });
2537
2537
  var wc = w(Sc);
2538
- N(wc, 17, () => F(G).bars, S, (e, t) => {
2538
+ N(wc, 17, () => F(G).bars, b, (e, t) => {
2539
2539
  var n = tn();
2540
2540
  let r;
2541
- C((e, i, a) => {
2542
- r = P(n, 0, "sv-grid-chart-bar svelte-kvdein", null, r, e), D(n, "x", F(t).x), D(n, "y", F(t).y), D(n, "width", F(t).w), D(n, "height", F(t).h), D(n, "fill", i), M(n, a);
2541
+ x((e, i, a) => {
2542
+ r = P(n, 0, "sv-grid-chart-bar svelte-kvdein", null, r, e), E(n, "x", F(t).x), E(n, "y", F(t).y), E(n, "width", F(t).w), E(n, "height", F(t).h), E(n, "fill", i), M(n, a);
2543
2543
  }, [
2544
2544
  () => ({ "is-selected": Ro(F(t).label, F(t).series, F(t).index) }),
2545
2545
  () => F(Ni)[F(t).series]?.startsWith("url(") ? F(Ni)[F(t).series] : F(t).color,
2546
2546
  () => `opacity:${J(F(t).series) * (F(t).opacity ?? 1) * zo(F(t).label, F(t).series, F(t).index)}`
2547
- ]), _("click", n, function(...e) {
2547
+ ]), g("click", n, function(...e) {
2548
2548
  (F(Y) ? (e) => {
2549
2549
  e.stopPropagation(), Ms(F(t).label, F(t).series, F(t).value, F(t).index, e);
2550
2550
  } : void 0)?.apply(this, e);
2551
2551
  }), m(e, n);
2552
2552
  });
2553
2553
  var Tc = w(wc);
2554
- N(Tc, 17, () => F(G).stems, S, (e, t) => {
2555
- var n = rn(), r = g(n), i = w(r), a = (e) => {
2554
+ N(Tc, 17, () => F(G).stems, b, (e, t) => {
2555
+ var n = rn(), r = C(n), i = w(r), a = (e) => {
2556
2556
  var n = nn();
2557
- C(() => {
2558
- D(n, "cx", F(t).xCenter), D(n, "cy", F(t).y0), D(n, "r", F(t).r), D(n, "fill", F(t).color2 ?? F(t).color), D(n, "stroke", F(t).color2 ?? F(t).color);
2557
+ x(() => {
2558
+ E(n, "cx", F(t).xCenter), E(n, "cy", F(t).y0), E(n, "r", F(t).r), E(n, "fill", F(t).color2 ?? F(t).color), E(n, "stroke", F(t).color2 ?? F(t).color);
2559
2559
  }), m(e, n);
2560
2560
  };
2561
2561
  h(i, (e) => {
2562
2562
  F(t).dumbbell && e(a);
2563
2563
  });
2564
2564
  var o = w(i);
2565
- E(n), C((e) => {
2566
- M(n, e), D(r, "x1", F(t).xCenter), D(r, "y1", F(t).y0), D(r, "x2", F(t).xCenter), D(r, "y2", F(t).y1), D(r, "stroke", F(t).dumbbell ? "var(--sg-muted, #94a3b8)" : F(t).color), D(r, "stroke-width", F(t).dumbbell ? 2 : 1.5), D(o, "cx", F(t).xCenter), D(o, "cy", F(t).y1), D(o, "r", F(t).r), D(o, "fill", F(t).color);
2567
- }, [() => `opacity:${J(F(t).series)}`]), _("mousemove", n, (e) => ks(e.clientX, e.clientY, F(t))), x("mouseleave", n, Q), m(e, n);
2565
+ j(n), x((e) => {
2566
+ M(n, e), E(r, "x1", F(t).xCenter), E(r, "y1", F(t).y0), E(r, "x2", F(t).xCenter), E(r, "y2", F(t).y1), E(r, "stroke", F(t).dumbbell ? "var(--sg-muted, #94a3b8)" : F(t).color), E(r, "stroke-width", F(t).dumbbell ? 2 : 1.5), E(o, "cx", F(t).xCenter), E(o, "cy", F(t).y1), E(o, "r", F(t).r), E(o, "fill", F(t).color);
2567
+ }, [() => `opacity:${J(F(t).series)}`]), g("mousemove", n, (e) => ks(e.clientX, e.clientY, F(t))), y("mouseleave", n, Q), m(e, n);
2568
2568
  });
2569
2569
  var Ec = w(Tc);
2570
- N(Ec, 17, () => F(G).candles, S, (e, t) => {
2571
- var n = O(), r = T(n), i = (e) => {
2572
- var n = an(), r = T(n), i = w(r), a = w(i);
2573
- C((e, n, o) => {
2574
- D(r, "x1", F(t).xCenter), D(r, "y1", F(t).yHigh), D(r, "x2", F(t).xCenter), D(r, "y2", F(t).yLow), D(r, "stroke", F(t).color), M(r, e), D(i, "x1", F(t).x), D(i, "y1", F(t).yOpen), D(i, "x2", F(t).xCenter), D(i, "y2", F(t).yOpen), D(i, "stroke", F(t).color), M(i, n), D(a, "x1", F(t).xCenter), D(a, "y1", F(t).yClose), D(a, "x2", F(t).x + F(t).w), D(a, "y2", F(t).yClose), D(a, "stroke", F(t).color), M(a, o);
2570
+ N(Ec, 17, () => F(G).candles, b, (e, t) => {
2571
+ var n = D(), r = S(n), i = (e) => {
2572
+ var n = an(), r = S(n), i = w(r), a = w(i);
2573
+ x((e, n, o) => {
2574
+ E(r, "x1", F(t).xCenter), E(r, "y1", F(t).yHigh), E(r, "x2", F(t).xCenter), E(r, "y2", F(t).yLow), E(r, "stroke", F(t).color), M(r, e), E(i, "x1", F(t).x), E(i, "y1", F(t).yOpen), E(i, "x2", F(t).xCenter), E(i, "y2", F(t).yOpen), E(i, "stroke", F(t).color), M(i, n), E(a, "x1", F(t).xCenter), E(a, "y1", F(t).yClose), E(a, "x2", F(t).x + F(t).w), E(a, "y2", F(t).yClose), E(a, "stroke", F(t).color), M(a, o);
2575
2575
  }, [
2576
2576
  () => `opacity:${J(F(t).series)}`,
2577
2577
  () => `opacity:${J(F(t).series)}`,
2578
2578
  () => `opacity:${J(F(t).series)}`
2579
2579
  ]), m(e, n);
2580
2580
  }, a = (e) => {
2581
- var n = on(), r = T(n), i = w(r);
2582
- C((e, n) => {
2583
- D(r, "x1", F(t).xCenter), D(r, "y1", F(t).yHigh), D(r, "x2", F(t).xCenter), D(r, "y2", F(t).yLow), D(r, "stroke", F(t).color), M(r, e), D(i, "x", F(t).x), D(i, "y", F(t).bodyY), D(i, "width", F(t).w), D(i, "height", F(t).bodyH), D(i, "fill", F(t).hollow ? "none" : F(t).color), D(i, "stroke", F(t).color), M(i, n);
2581
+ var n = on(), r = S(n), i = w(r);
2582
+ x((e, n) => {
2583
+ E(r, "x1", F(t).xCenter), E(r, "y1", F(t).yHigh), E(r, "x2", F(t).xCenter), E(r, "y2", F(t).yLow), E(r, "stroke", F(t).color), M(r, e), E(i, "x", F(t).x), E(i, "y", F(t).bodyY), E(i, "width", F(t).w), E(i, "height", F(t).bodyH), E(i, "fill", F(t).hollow ? "none" : F(t).color), E(i, "stroke", F(t).color), M(i, n);
2584
2584
  }, [() => `opacity:${J(F(t).series)}`, () => `opacity:${J(F(t).series)}`]), m(e, n);
2585
2585
  };
2586
2586
  h(r, (e) => {
@@ -2588,15 +2588,15 @@ function ni(ne, f) {
2588
2588
  }), m(e, n);
2589
2589
  });
2590
2590
  var Dc = w(Ec);
2591
- N(Dc, 17, () => F(G).boxes, S, (e, t) => {
2592
- var n = cn(), r = T(n), i = w(r), a = w(i), o = w(a), s = w(o), c = w(s);
2593
- N(c, 17, () => F(t).outliers, S, (e, n) => {
2591
+ N(Dc, 17, () => F(G).boxes, b, (e, t) => {
2592
+ var n = cn(), r = S(n), i = w(r), a = w(i), o = w(a), s = w(o), c = w(s);
2593
+ N(c, 17, () => F(t).outliers, b, (e, n) => {
2594
2594
  var r = sn();
2595
- C((e) => {
2596
- D(r, "cx", F(t).xCenter), D(r, "cy", F(n).y), D(r, "stroke", F(t).color), M(r, e);
2595
+ x((e) => {
2596
+ E(r, "cx", F(t).xCenter), E(r, "cy", F(n).y), E(r, "stroke", F(t).color), M(r, e);
2597
2597
  }, [() => `opacity:${J(F(t).series)}`]), m(e, r);
2598
- }), C((e, n, c, l, u) => {
2599
- D(r, "x1", F(t).xCenter), D(r, "y1", F(t).yMax), D(r, "x2", F(t).xCenter), D(r, "y2", F(t).yMin), D(r, "stroke", F(t).color), M(r, e), D(i, "x1", F(t).x + F(t).w * .25), D(i, "y1", F(t).yMax), D(i, "x2", F(t).x + F(t).w * .75), D(i, "y2", F(t).yMax), D(i, "stroke", F(t).color), M(i, n), D(a, "x1", F(t).x + F(t).w * .25), D(a, "y1", F(t).yMin), D(a, "x2", F(t).x + F(t).w * .75), D(a, "y2", F(t).yMin), D(a, "stroke", F(t).color), M(a, c), D(o, "x", F(t).x), D(o, "y", F(t).boxY), D(o, "width", F(t).w), D(o, "height", F(t).boxH), D(o, "fill", F(t).color), D(o, "stroke", F(t).color), M(o, l), D(s, "x1", F(t).x), D(s, "y1", F(t).yMedian), D(s, "x2", F(t).x + F(t).w), D(s, "y2", F(t).yMedian), D(s, "stroke", F(t).color), M(s, u);
2598
+ }), x((e, n, c, l, u) => {
2599
+ E(r, "x1", F(t).xCenter), E(r, "y1", F(t).yMax), E(r, "x2", F(t).xCenter), E(r, "y2", F(t).yMin), E(r, "stroke", F(t).color), M(r, e), E(i, "x1", F(t).x + F(t).w * .25), E(i, "y1", F(t).yMax), E(i, "x2", F(t).x + F(t).w * .75), E(i, "y2", F(t).yMax), E(i, "stroke", F(t).color), M(i, n), E(a, "x1", F(t).x + F(t).w * .25), E(a, "y1", F(t).yMin), E(a, "x2", F(t).x + F(t).w * .75), E(a, "y2", F(t).yMin), E(a, "stroke", F(t).color), M(a, c), E(o, "x", F(t).x), E(o, "y", F(t).boxY), E(o, "width", F(t).w), E(o, "height", F(t).boxH), E(o, "fill", F(t).color), E(o, "stroke", F(t).color), M(o, l), E(s, "x1", F(t).x), E(s, "y1", F(t).yMedian), E(s, "x2", F(t).x + F(t).w), E(s, "y2", F(t).yMedian), E(s, "stroke", F(t).color), M(s, u);
2600
2600
  }, [
2601
2601
  () => `opacity:${J(F(t).series)}`,
2602
2602
  () => `opacity:${J(F(t).series)}`,
@@ -2606,10 +2606,10 @@ function ni(ne, f) {
2606
2606
  ]), m(e, n);
2607
2607
  });
2608
2608
  var Oc = w(Dc);
2609
- N(Oc, 17, () => F(G).errorBars, S, (e, t) => {
2610
- var n = ln(), r = T(n), i = w(r), a = w(i);
2611
- C((e, n, o) => {
2612
- D(r, "x1", F(t).xCenter), D(r, "y1", F(t).yHi), D(r, "x2", F(t).xCenter), D(r, "y2", F(t).yLo), D(r, "stroke", F(t).color), M(r, e), D(i, "x1", F(t).xCenter - F(t).cap), D(i, "y1", F(t).yHi), D(i, "x2", F(t).xCenter + F(t).cap), D(i, "y2", F(t).yHi), D(i, "stroke", F(t).color), M(i, n), D(a, "x1", F(t).xCenter - F(t).cap), D(a, "y1", F(t).yLo), D(a, "x2", F(t).xCenter + F(t).cap), D(a, "y2", F(t).yLo), D(a, "stroke", F(t).color), M(a, o);
2609
+ N(Oc, 17, () => F(G).errorBars, b, (e, t) => {
2610
+ var n = ln(), r = S(n), i = w(r), a = w(i);
2611
+ x((e, n, o) => {
2612
+ E(r, "x1", F(t).xCenter), E(r, "y1", F(t).yHi), E(r, "x2", F(t).xCenter), E(r, "y2", F(t).yLo), E(r, "stroke", F(t).color), M(r, e), E(i, "x1", F(t).xCenter - F(t).cap), E(i, "y1", F(t).yHi), E(i, "x2", F(t).xCenter + F(t).cap), E(i, "y2", F(t).yHi), E(i, "stroke", F(t).color), M(i, n), E(a, "x1", F(t).xCenter - F(t).cap), E(a, "y1", F(t).yLo), E(a, "x2", F(t).xCenter + F(t).cap), E(a, "y2", F(t).yLo), E(a, "stroke", F(t).color), M(a, o);
2613
2613
  }, [
2614
2614
  () => `opacity:${J(F(t).series)}`,
2615
2615
  () => `opacity:${J(F(t).series)}`,
@@ -2617,76 +2617,76 @@ function ni(ne, f) {
2617
2617
  ]), m(e, n);
2618
2618
  });
2619
2619
  var kc = w(Oc);
2620
- N(kc, 17, () => F(G).scatterPoints, S, (e, t, n) => {
2620
+ N(kc, 17, () => F(G).scatterPoints, b, (e, t, n) => {
2621
2621
  var r = un();
2622
2622
  let i;
2623
- C((e, n, a, o) => {
2624
- i = P(r, 0, "sv-grid-chart-scatter svelte-kvdein", null, i, e), D(r, "cx", F(t).cx), D(r, "cy", F(t).cy), D(r, "r", F(t).r), D(r, "fill", F(t).color), D(r, "stroke", F(t).color), M(r, n), D(r, "role", F(Y) || f.onSelect ? "button" : "img"), D(r, "tabindex", a), D(r, "aria-label", o);
2623
+ x((e, n, a, o) => {
2624
+ i = P(r, 0, "sv-grid-chart-scatter svelte-kvdein", null, i, e), E(r, "cx", F(t).cx), E(r, "cy", F(t).cy), E(r, "r", F(t).r), E(r, "fill", F(t).color), E(r, "stroke", F(t).color), M(r, n), E(r, "role", F(Y) || f.onSelect ? "button" : "img"), E(r, "tabindex", a), E(r, "aria-label", o);
2625
2625
  }, [
2626
2626
  () => ({ "is-selected": Ro(F(t).label || F(t).series, F(t).series, n) }),
2627
2627
  () => `opacity:${J(F(t).series) * zo(F(t).label || F(t).series, F(t).series, n)}`,
2628
2628
  () => Is(".sv-grid-chart-scatter", n),
2629
2629
  () => `${F(t).label || F(t).series}: ${V(F(t).x)}, ${V(F(t).y)}`
2630
- ]), _("mousemove", r, (e) => Cs(e.clientX, e.clientY, F(t))), x("mouseleave", r, Q), _("click", r, function(...e) {
2630
+ ]), g("mousemove", r, (e) => Cs(e.clientX, e.clientY, F(t))), y("mouseleave", r, Q), g("click", r, function(...e) {
2631
2631
  (F(Y) || f.onSelect ? (e) => {
2632
2632
  e.stopPropagation(), Ms(F(t).label || F(t).series, F(t).series, F(t).y, n, e);
2633
2633
  } : void 0)?.apply(this, e);
2634
- }), x("focus", r, (e) => {
2634
+ }), y("focus", r, (e) => {
2635
2635
  Ls(".sv-grid-chart-scatter", n);
2636
2636
  let r = zs(e.currentTarget);
2637
2637
  Cs(r.x, r.y, F(t));
2638
- }), x("blur", r, Q), _("keydown", r, (e) => Rs(e, ".sv-grid-chart-scatter", n, F(Y) || f.onSelect ? () => Ms(F(t).label || F(t).series, F(t).series, F(t).y, n, e) : null)), m(e, r);
2639
- }), E(bc);
2638
+ }), y("blur", r, Q), g("keydown", r, (e) => Rs(e, ".sv-grid-chart-scatter", n, F(Y) || f.onSelect ? () => Ms(F(t).label || F(t).series, F(t).series, F(t).y, n, e) : null)), m(e, r);
2639
+ }), j(bc);
2640
2640
  var Ac = w(bc);
2641
- N(Ac, 17, () => F(G).referenceLines, S, (e, t) => {
2642
- var n = pn(), r = T(n), i = w(r), a = (e) => {
2643
- let n = j(() => Math.max(28, F(t).label.length * 6.4 + 10));
2644
- var r = dn(), i = g(r), a = w(i), o = g(a, !0);
2645
- E(a), E(r), C(() => {
2646
- D(i, "x", F(G).plot.x + F(G).plot.w - F(n)), D(i, "y", F(t).y - 8), D(i, "width", F(n)), D(i, "fill", F(t).color), D(a, "x", F(G).plot.x + F(G).plot.w - F(n) / 2), D(a, "y", F(t).y + 3.5), k(o, F(t).label);
2641
+ N(Ac, 17, () => F(G).referenceLines, b, (e, t) => {
2642
+ var n = pn(), r = S(n), i = w(r), a = (e) => {
2643
+ let n = A(() => Math.max(28, F(t).label.length * 6.4 + 10));
2644
+ var r = dn(), i = C(r), a = w(i), o = C(a, !0);
2645
+ j(a), j(r), x(() => {
2646
+ E(i, "x", F(G).plot.x + F(G).plot.w - F(n)), E(i, "y", F(t).y - 8), E(i, "width", F(n)), E(i, "fill", F(t).color), E(a, "x", F(G).plot.x + F(G).plot.w - F(n) / 2), E(a, "y", F(t).y + 3.5), O(o, F(t).label);
2647
2647
  }), m(e, r);
2648
2648
  }, o = (e) => {
2649
- var n = fn(), r = g(n, !0);
2650
- E(n), C(() => {
2651
- D(n, "x", F(G).plot.x + F(G).plot.w - 3), D(n, "y", F(t).y - 3), D(n, "fill", F(t).color), k(r, F(t).label);
2649
+ var n = fn(), r = C(n, !0);
2650
+ j(n), x(() => {
2651
+ E(n, "x", F(G).plot.x + F(G).plot.w - 3), E(n, "y", F(t).y - 3), E(n, "fill", F(t).color), O(r, F(t).label);
2652
2652
  }), m(e, n);
2653
2653
  };
2654
2654
  h(i, (e) => {
2655
2655
  F(t).pill ? e(a) : e(o, -1);
2656
- }), C(() => {
2657
- D(r, "x1", F(G).plot.x), D(r, "y1", F(t).y), D(r, "x2", F(G).plot.x + F(G).plot.w), D(r, "y2", F(t).y), D(r, "stroke", F(t).color), D(r, "stroke-dasharray", F(t).dashed ? "5 4" : void 0);
2656
+ }), x(() => {
2657
+ E(r, "x1", F(G).plot.x), E(r, "y1", F(t).y), E(r, "x2", F(G).plot.x + F(G).plot.w), E(r, "y2", F(t).y), E(r, "stroke", F(t).color), E(r, "stroke-dasharray", F(t).dashed ? "5 4" : void 0);
2658
2658
  }), m(e, n);
2659
2659
  });
2660
2660
  var jc = w(Ac);
2661
- N(jc, 17, () => F(G).referenceLinesV, S, (e, t) => {
2662
- var n = mn(), r = T(n), i = w(r), a = g(i, !0);
2663
- E(i), C(() => {
2664
- D(r, "x1", F(t).x), D(r, "y1", F(G).plot.y), D(r, "x2", F(t).x), D(r, "y2", F(G).plot.y + F(G).plot.h), D(r, "stroke", F(t).color), D(r, "stroke-dasharray", F(t).dashed ? "5 4" : void 0), D(i, "x", F(t).x + 3), D(i, "y", F(G).plot.y + 9), D(i, "fill", F(t).color), k(a, F(t).label);
2661
+ N(jc, 17, () => F(G).referenceLinesV, b, (e, t) => {
2662
+ var n = mn(), r = S(n), i = w(r), a = C(i, !0);
2663
+ j(i), x(() => {
2664
+ E(r, "x1", F(t).x), E(r, "y1", F(G).plot.y), E(r, "x2", F(t).x), E(r, "y2", F(G).plot.y + F(G).plot.h), E(r, "stroke", F(t).color), E(r, "stroke-dasharray", F(t).dashed ? "5 4" : void 0), E(i, "x", F(t).x + 3), E(i, "y", F(G).plot.y + 9), E(i, "fill", F(t).color), O(a, F(t).label);
2665
2665
  }), m(e, n);
2666
2666
  });
2667
2667
  var Mc = w(jc);
2668
2668
  let i;
2669
2669
  N(Mc, 23, () => F(G).overlays, (e, t) => e.label + t, (e, t) => {
2670
- var n = gn(), r = T(n), i = (e) => {
2670
+ var n = gn(), r = S(n), i = (e) => {
2671
2671
  var n = hn();
2672
- C(() => {
2673
- D(n, "d", F(t).bandPath), D(n, "fill", F(t).color), D(n, "stroke", F(t).color);
2672
+ x(() => {
2673
+ E(n, "d", F(t).bandPath), E(n, "fill", F(t).color), E(n, "stroke", F(t).color);
2674
2674
  }), m(e, n);
2675
2675
  };
2676
2676
  h(r, (e) => {
2677
2677
  F(t).bandPath && e(i);
2678
2678
  });
2679
2679
  var a = w(r);
2680
- C(() => {
2681
- D(a, "d", F(t).path), D(a, "stroke", F(t).color);
2680
+ x(() => {
2681
+ E(a, "d", F(t).path), E(a, "stroke", F(t).color);
2682
2682
  }), m(e, n);
2683
- }), E(Mc);
2683
+ }), j(Mc);
2684
2684
  var Nc = w(Mc);
2685
- N(Nc, 17, () => F(Do), S, (e, t) => {
2686
- var n = vn(), r = T(n), i = (e) => {
2685
+ N(Nc, 17, () => F(Do), b, (e, t) => {
2686
+ var n = vn(), r = S(n), i = (e) => {
2687
2687
  var n = _n();
2688
- C((e) => {
2689
- D(n, "x1", F(t).leader.x1), D(n, "y1", F(t).leader.y1), D(n, "x2", F(t).leader.x2), D(n, "y2", F(t).leader.y2), M(n, e);
2688
+ x((e) => {
2689
+ E(n, "x1", F(t).leader.x1), E(n, "y1", F(t).leader.y1), E(n, "x2", F(t).leader.x2), E(n, "y2", F(t).leader.y2), M(n, e);
2690
2690
  }, [() => `opacity:${J(F(t).series)}`]), m(e, n);
2691
2691
  };
2692
2692
  h(r, (e) => {
@@ -2694,20 +2694,20 @@ function ni(ne, f) {
2694
2694
  });
2695
2695
  var a = w(r);
2696
2696
  let o;
2697
- var s = g(a, !0);
2698
- E(a), C((e) => {
2699
- o = P(a, 0, "sv-grid-chart-datalabel svelte-kvdein", null, o, { "on-bar": F(t).onBar }), D(a, "x", F(t).x), D(a, "y", F(t).y), D(a, "text-anchor", F(t).anchor), D(a, "transform", F(t).angle ? `rotate(${F(t).angle} ${F(t).x} ${F(t).y})` : void 0), M(a, e), k(s, F(t).text);
2697
+ var s = C(a, !0);
2698
+ j(a), x((e) => {
2699
+ o = P(a, 0, "sv-grid-chart-datalabel svelte-kvdein", null, o, { "on-bar": F(t).onBar }), E(a, "x", F(t).x), E(a, "y", F(t).y), E(a, "text-anchor", F(t).anchor), E(a, "transform", F(t).angle ? `rotate(${F(t).angle} ${F(t).x} ${F(t).y})` : void 0), M(a, e), O(s, F(t).text);
2700
2700
  }, [() => `opacity:${J(F(t).series)}`]), m(e, n);
2701
2701
  });
2702
2702
  var Pc = w(Nc);
2703
2703
  N(Pc, 17, () => F(G).seriesLabels, (e) => e.series, (e, t) => {
2704
- var n = yn(), r = g(n, !0);
2705
- E(n), C((e) => {
2706
- D(n, "x", F(t).x), D(n, "y", F(t).y + 3.5), D(n, "fill", F(t).color), M(n, e), k(r, F(t).text);
2704
+ var n = yn(), r = C(n, !0);
2705
+ j(n), x((e) => {
2706
+ E(n, "x", F(t).x), E(n, "y", F(t).y + 3.5), E(n, "fill", F(t).color), M(n, e), O(r, F(t).text);
2707
2707
  }, [() => `opacity:${J(F(t).series)}`]), m(e, n);
2708
2708
  });
2709
2709
  var Fc = w(Pc), Ic = (e) => {
2710
- var t = O(), n = T(t);
2710
+ var t = D(), n = S(t);
2711
2711
  ue(n, () => f.overlay, () => F(fo)), m(e, t);
2712
2712
  };
2713
2713
  h(Fc, (e) => {
@@ -2715,78 +2715,78 @@ function ni(ne, f) {
2715
2715
  });
2716
2716
  var Lc = w(Fc);
2717
2717
  N(Lc, 19, () => F(G).annotations, (e, t) => e.label + t, (e, t, n) => {
2718
- let r = j(() => F(t).placement === "left" ? -8 : F(t).placement === "right" ? 8 : 0), i = j(() => F(t).placement === "bottom" ? 14 : F(t).placement === "top" ? -8 : 0), a = j(() => F(t).placement === "left" ? "end" : F(t).placement === "right" ? "start" : "middle"), o = j(() => F(xi) && !!f.onAnnotationRemove), s = j(() => Math.max(14, F(t).label.length * 6.2 + 8));
2718
+ let r = A(() => F(t).placement === "left" ? -8 : F(t).placement === "right" ? 8 : 0), i = A(() => F(t).placement === "bottom" ? 14 : F(t).placement === "top" ? -8 : 0), a = A(() => F(t).placement === "left" ? "end" : F(t).placement === "right" ? "start" : "middle"), o = A(() => F(xi) && !!f.onAnnotationRemove), s = A(() => Math.max(14, F(t).label.length * 6.2 + 8));
2719
2719
  var c = wn();
2720
2720
  let l;
2721
- var u = g(c), d = (e) => {
2722
- var n = bn(), r = T(n), i = w(r), a = w(i), o = g(a, !0);
2723
- E(a), C(() => {
2724
- D(r, "x1", F(t).x), D(r, "y1", F(t).y), D(r, "x2", F(t).x), D(r, "y2", F(t).y - 24), D(r, "stroke", F(t).color), D(i, "x", F(t).x), D(i, "y", F(t).y - 24), D(i, "width", F(s)), D(i, "fill", F(t).color), D(a, "x", F(t).x + F(s) / 2), D(a, "y", F(t).y - 14.5), k(o, F(t).label);
2721
+ var u = C(c), d = (e) => {
2722
+ var n = bn(), r = S(n), i = w(r), a = w(i), o = C(a, !0);
2723
+ j(a), x(() => {
2724
+ E(r, "x1", F(t).x), E(r, "y1", F(t).y), E(r, "x2", F(t).x), E(r, "y2", F(t).y - 24), E(r, "stroke", F(t).color), E(i, "x", F(t).x), E(i, "y", F(t).y - 24), E(i, "width", F(s)), E(i, "fill", F(t).color), E(a, "x", F(t).x + F(s) / 2), E(a, "y", F(t).y - 14.5), O(o, F(t).label);
2725
2725
  }), m(e, n);
2726
2726
  }, ee = (e) => {
2727
- var n = xn(), o = T(n), s = w(o), c = g(s, !0);
2728
- E(s);
2729
- var l = w(s), u = g(l, !0);
2730
- E(l), C((e) => {
2731
- D(o, "d", `M${F(t).x},${F(t).y} c-7,-9 -8,-13 -8,-16 a8,8 0 1,1 16,0 c0,3 -1,7 -8,16 z`), D(o, "fill", F(t).color), D(s, "x", F(t).x), D(s, "y", F(t).y - 12.5), k(c, e), D(l, "x", F(t).x + F(r)), D(l, "y", F(t).y + F(i)), D(l, "text-anchor", F(a)), D(l, "fill", F(t).color), k(u, F(t).label);
2727
+ var n = xn(), o = S(n), s = w(o), c = C(s, !0);
2728
+ j(s);
2729
+ var l = w(s), u = C(l, !0);
2730
+ j(l), x((e) => {
2731
+ E(o, "d", `M${F(t).x},${F(t).y} c-7,-9 -8,-13 -8,-16 a8,8 0 1,1 16,0 c0,3 -1,7 -8,16 z`), E(o, "fill", F(t).color), E(s, "x", F(t).x), E(s, "y", F(t).y - 12.5), O(c, e), E(l, "x", F(t).x + F(r)), E(l, "y", F(t).y + F(i)), E(l, "text-anchor", F(a)), E(l, "fill", F(t).color), O(u, F(t).label);
2732
2732
  }, [() => F(t).label.slice(0, 1)]), m(e, n);
2733
2733
  }, te = (e) => {
2734
- var n = Sn(), o = T(n), s = w(o), c = g(s, !0);
2735
- E(s), C(() => {
2736
- D(o, "x", F(t).x - 4.5), D(o, "y", F(t).y - 4.5), D(o, "fill", F(t).color), D(s, "x", F(t).x + F(r)), D(s, "y", F(t).y + F(i)), D(s, "text-anchor", F(a)), D(s, "fill", F(t).color), k(c, F(t).label);
2734
+ var n = Sn(), o = S(n), s = w(o), c = C(s, !0);
2735
+ j(s), x(() => {
2736
+ E(o, "x", F(t).x - 4.5), E(o, "y", F(t).y - 4.5), E(o, "fill", F(t).color), E(s, "x", F(t).x + F(r)), E(s, "y", F(t).y + F(i)), E(s, "text-anchor", F(a)), E(s, "fill", F(t).color), O(c, F(t).label);
2737
2737
  }), m(e, n);
2738
2738
  }, ne = (e) => {
2739
- var n = Cn(), s = T(n), c = w(s), l = g(c, !0);
2740
- E(c), C(() => {
2741
- D(s, "cx", F(t).x), D(s, "cy", F(t).y), D(s, "r", F(o) ? 6 : 4), D(s, "fill", F(t).color), D(c, "x", F(t).x + F(r)), D(c, "y", F(t).y + F(i)), D(c, "text-anchor", F(a)), D(c, "fill", F(t).color), k(l, F(t).label);
2739
+ var n = Cn(), s = S(n), c = w(s), l = C(c, !0);
2740
+ j(c), x(() => {
2741
+ E(s, "cx", F(t).x), E(s, "cy", F(t).y), E(s, "r", F(o) ? 6 : 4), E(s, "fill", F(t).color), E(c, "x", F(t).x + F(r)), E(c, "y", F(t).y + F(i)), E(c, "text-anchor", F(a)), E(c, "fill", F(t).color), O(l, F(t).label);
2742
2742
  }), m(e, n);
2743
2743
  };
2744
2744
  h(u, (e) => {
2745
2745
  F(t).shape === "flag" ? e(d) : F(t).shape === "pin" ? e(ee, 1) : F(t).shape === "square" ? e(te, 2) : e(ne, -1);
2746
- }), E(c), C((e) => {
2746
+ }), j(c), x((e) => {
2747
2747
  l = P(c, 0, "sv-grid-chart-annotation-marker svelte-kvdein", null, l, {
2748
2748
  "is-removable": F(o),
2749
2749
  "has-text": !!F(t).text
2750
- }), D(c, "role", F(o) ? "button" : F(t).text ? "img" : void 0), D(c, "tabindex", F(o) || F(t).text ? 0 : void 0), D(c, "aria-label", e);
2751
- }, [() => F(o) ? et(F(z).removeNote, { label: F(t).label }) : F(t).text ? `${F(t).label}: ${F(t).text}` : void 0]), _("click", c, (e) => {
2750
+ }), E(c, "role", F(o) ? "button" : F(t).text ? "img" : void 0), E(c, "tabindex", F(o) || F(t).text ? 0 : void 0), E(c, "aria-label", e);
2751
+ }, [() => F(o) ? et(F(z).removeNote, { label: F(t).label }) : F(t).text ? `${F(t).label}: ${F(t).text}` : void 0]), g("click", c, (e) => {
2752
2752
  !F(xi) || !f.onAnnotationRemove || (e.stopPropagation(), f.onAnnotationRemove(F(n)));
2753
- }), _("keydown", c, (e) => {
2753
+ }), g("keydown", c, (e) => {
2754
2754
  !F(xi) || !f.onAnnotationRemove || (e.key === "Enter" || e.key === " ") && (e.preventDefault(), e.stopPropagation(), f.onAnnotationRemove(F(n)));
2755
- }), x("mouseenter", c, (e) => {
2755
+ }), y("mouseenter", c, (e) => {
2756
2756
  F(t).text && Z(e.clientX, e.clientY, F(t).label, [{ value: F(t).text }]);
2757
- }), x("mouseleave", c, () => {
2758
- F(t).text && b(ls, null);
2759
- }), x("focus", c, () => {
2757
+ }), y("mouseleave", c, () => {
2758
+ F(t).text && p(ls, null);
2759
+ }), y("focus", c, () => {
2760
2760
  if (!F(t).text || !F(Xi)) return;
2761
2761
  let e = F(Xi).getBoundingClientRect();
2762
2762
  Z(e.left + F(t).x * e.width / F(G).width, e.top + F(t).y * e.height / F(G).height, F(t).label, [{ value: F(t).text }]);
2763
- }), x("blur", c, () => {
2764
- F(t).text && b(ls, null);
2763
+ }), y("blur", c, () => {
2764
+ F(t).text && p(ls, null);
2765
2765
  }), m(e, c);
2766
2766
  });
2767
2767
  var Rc = w(Lc), zc = (e) => {
2768
- var t = Ln(), n = g(t);
2768
+ var t = Ln(), n = C(t);
2769
2769
  N(n, 17, () => F(G).drawings, (e) => e.id, (e, t) => {
2770
- let n = j(() => F(t).points[0]), r = j(() => F(t).points[1]), i = j(() => F(da) === F(t).id);
2770
+ let n = A(() => F(t).points[0]), r = A(() => F(t).points[1]), i = A(() => F(da) === F(t).id);
2771
2771
  var a = Nn();
2772
2772
  let o;
2773
- var s = g(a), c = (e) => {
2774
- let i = j(() => Math.atan2(F(r).y - F(n).y, F(r).x - F(n).x));
2775
- var a = En(), o = T(a), s = w(o), c = w(s), l = (e) => {
2773
+ var s = C(a), c = (e) => {
2774
+ let i = A(() => Math.atan2(F(r).y - F(n).y, F(r).x - F(n).x));
2775
+ var a = En(), o = S(a), s = w(o), c = w(s), l = (e) => {
2776
2776
  var n = Tn();
2777
- C((e) => {
2778
- D(n, "d", e), D(n, "fill", F(t).color);
2777
+ x((e) => {
2778
+ E(n, "d", e), E(n, "fill", F(t).color);
2779
2779
  }, [() => `M${F(r).x},${F(r).y} L${F(r).x - 10 * Math.cos(F(i) - .45)},${F(r).y - 10 * Math.sin(F(i) - .45)} L${F(r).x - 10 * Math.cos(F(i) + .45)},${F(r).y - 10 * Math.sin(F(i) + .45)} Z`]), m(e, n);
2780
2780
  };
2781
2781
  h(c, (e) => {
2782
2782
  F(t).kind === "arrow" && e(l);
2783
- }), C(() => {
2784
- D(o, "x1", F(n).x), D(o, "y1", F(n).y), D(o, "x2", F(r).x), D(o, "y2", F(r).y), D(s, "x1", F(n).x), D(s, "y1", F(n).y), D(s, "x2", F(r).x), D(s, "y2", F(r).y), D(s, "stroke", F(t).color);
2783
+ }), x(() => {
2784
+ E(o, "x1", F(n).x), E(o, "y1", F(n).y), E(o, "x2", F(r).x), E(o, "y2", F(r).y), E(s, "x1", F(n).x), E(s, "y1", F(n).y), E(s, "x2", F(r).x), E(s, "y2", F(r).y), E(s, "stroke", F(t).color);
2785
2785
  }), m(e, a);
2786
2786
  }, l = (e) => {
2787
2787
  var i = Dn();
2788
- C((e, n, r, a) => {
2789
- D(i, "x", e), D(i, "y", n), D(i, "width", r), D(i, "height", a), D(i, "fill", F(t).color), D(i, "stroke", F(t).color);
2788
+ x((e, n, r, a) => {
2789
+ E(i, "x", e), E(i, "y", n), E(i, "width", r), E(i, "height", a), E(i, "fill", F(t).color), E(i, "stroke", F(t).color);
2790
2790
  }, [
2791
2791
  () => Math.min(F(n).x, F(r).x),
2792
2792
  () => Math.min(F(n).y, F(r).y),
@@ -2794,40 +2794,40 @@ function ni(ne, f) {
2794
2794
  () => Math.abs(F(r).y - F(n).y)
2795
2795
  ]), m(e, i);
2796
2796
  }, u = (e) => {
2797
- var r = On(), i = T(r), a = w(i), o = w(a), s = g(o, !0);
2798
- E(o), C(() => {
2799
- D(i, "x1", F(n).x), D(i, "y1", F(n).y), D(i, "x2", F(G).plot.x + F(G).plot.w), D(i, "y2", F(n).y), D(a, "x1", F(n).x), D(a, "y1", F(n).y), D(a, "x2", F(G).plot.x + F(G).plot.w), D(a, "y2", F(n).y), D(a, "stroke", F(t).color), D(o, "x", F(G).plot.x + F(G).plot.w - 3), D(o, "y", F(n).y - 3), D(o, "fill", F(t).color), k(s, F(t).label);
2797
+ var r = On(), i = S(r), a = w(i), o = w(a), s = C(o, !0);
2798
+ j(o), x(() => {
2799
+ E(i, "x1", F(n).x), E(i, "y1", F(n).y), E(i, "x2", F(G).plot.x + F(G).plot.w), E(i, "y2", F(n).y), E(a, "x1", F(n).x), E(a, "y1", F(n).y), E(a, "x2", F(G).plot.x + F(G).plot.w), E(a, "y2", F(n).y), E(a, "stroke", F(t).color), E(o, "x", F(G).plot.x + F(G).plot.w - 3), E(o, "y", F(n).y - 3), E(o, "fill", F(t).color), O(s, F(t).label);
2800
2800
  }), m(e, r);
2801
2801
  }, d = (e) => {
2802
- let i = j(() => Math.min(F(n).x, F(r).x)), a = j(() => Math.max(F(n).x, F(r).x));
2803
- var o = An(), s = T(o);
2802
+ let i = A(() => Math.min(F(n).x, F(r).x)), a = A(() => Math.max(F(n).x, F(r).x));
2803
+ var o = An(), s = S(o);
2804
2804
  N(s, 17, () => F(t).levels, (e) => e.ratio, (e, n) => {
2805
- var r = kn(), o = T(r), s = w(o), c = g(s, !0);
2806
- E(s), C(() => {
2807
- D(o, "x1", F(i)), D(o, "y1", F(n).y), D(o, "x2", F(a)), D(o, "y2", F(n).y), D(o, "stroke", F(t).color), D(o, "stroke-dasharray", F(n).ratio === 0 || F(n).ratio === 1 ? void 0 : "3 3"), D(s, "x", F(i) + 3), D(s, "y", F(n).y - 2), D(s, "fill", F(t).color), k(c, F(n).label);
2805
+ var r = kn(), o = S(r), s = w(o), c = C(s, !0);
2806
+ j(s), x(() => {
2807
+ E(o, "x1", F(i)), E(o, "y1", F(n).y), E(o, "x2", F(a)), E(o, "y2", F(n).y), E(o, "stroke", F(t).color), E(o, "stroke-dasharray", F(n).ratio === 0 || F(n).ratio === 1 ? void 0 : "3 3"), E(s, "x", F(i) + 3), E(s, "y", F(n).y - 2), E(s, "fill", F(t).color), O(c, F(n).label);
2808
2808
  }), m(e, r);
2809
2809
  });
2810
2810
  var c = w(s);
2811
- C((e, t) => {
2812
- D(c, "x", F(i)), D(c, "y", e), D(c, "width", F(a) - F(i)), D(c, "height", t);
2811
+ x((e, t) => {
2812
+ E(c, "x", F(i)), E(c, "y", e), E(c, "width", F(a) - F(i)), E(c, "height", t);
2813
2813
  }, [() => Math.min(F(n).y, F(r).y), () => Math.abs(F(r).y - F(n).y)]), m(e, o);
2814
2814
  }, ee = (e) => {
2815
- var r = jn(), i = g(r, !0);
2816
- E(r), C(() => {
2817
- D(r, "x", F(n).x), D(r, "y", F(n).y), D(r, "fill", F(t).color), k(i, F(t).text ?? "");
2815
+ var r = jn(), i = C(r, !0);
2816
+ j(r), x(() => {
2817
+ E(r, "x", F(n).x), E(r, "y", F(n).y), E(r, "fill", F(t).color), O(i, F(t).text ?? "");
2818
2818
  }), m(e, r);
2819
2819
  };
2820
2820
  h(s, (e) => {
2821
2821
  (F(t).kind === "trend" || F(t).kind === "arrow") && F(r) ? e(c) : F(t).kind === "rect" && F(r) ? e(l, 1) : F(t).kind === "hray" ? e(u, 2) : F(t).kind === "fib" && F(r) && F(t).levels ? e(d, 3) : F(t).kind === "text" && e(ee, 4);
2822
2822
  });
2823
2823
  var te = w(s), ne = (e) => {
2824
- var n = O(), r = T(n);
2825
- N(r, 17, () => F(t).points, S, (e, n, r) => {
2824
+ var n = D(), r = S(n);
2825
+ N(r, 17, () => F(t).points, b, (e, n, r) => {
2826
2826
  var i = Mn();
2827
- C(() => {
2828
- D(i, "cx", F(n).x), D(i, "cy", F(n).y), D(i, "stroke", F(t).color);
2829
- }), _("pointerdown", i, (e) => {
2830
- e.stopPropagation(), e.preventDefault(), b(ha, {
2827
+ x(() => {
2828
+ E(i, "cx", F(n).x), E(i, "cy", F(n).y), E(i, "stroke", F(t).color);
2829
+ }), g("pointerdown", i, (e) => {
2830
+ e.stopPropagation(), e.preventDefault(), p(ha, {
2831
2831
  id: F(t).id,
2832
2832
  index: r
2833
2833
  }, !0), F(Xi)?.setPointerCapture?.(e.pointerId);
@@ -2836,19 +2836,19 @@ function ni(ne, f) {
2836
2836
  };
2837
2837
  h(te, (e) => {
2838
2838
  F(i) && Je() && e(ne);
2839
- }), E(a), C((e) => {
2840
- o = P(a, 0, `sv-grid-chart-drawing is-${F(t).kind}`, "svelte-kvdein", o, { "is-selected": F(i) }), D(a, "role", Je() ? "button" : void 0), D(a, "tabindex", Je() ? 0 : void 0), D(a, "aria-label", e);
2841
- }, [() => Je() ? `${et(F(z).drawing, { tool: F(sa)[F(t).kind] })}${F(t).text ? `: ${F(t).text}` : ""}` : void 0]), _("click", a, (e) => {
2842
- Je() && !F(la) && (e.stopPropagation(), b(da, F(i) ? null : F(t).id, !0));
2843
- }), _("keydown", a, (e) => {
2839
+ }), j(a), x((e) => {
2840
+ o = P(a, 0, `sv-grid-chart-drawing is-${F(t).kind}`, "svelte-kvdein", o, { "is-selected": F(i) }), E(a, "role", Je() ? "button" : void 0), E(a, "tabindex", Je() ? 0 : void 0), E(a, "aria-label", e);
2841
+ }, [() => Je() ? `${et(F(z).drawing, { tool: F(sa)[F(t).kind] })}${F(t).text ? `: ${F(t).text}` : ""}` : void 0]), g("click", a, (e) => {
2842
+ Je() && !F(la) && (e.stopPropagation(), p(da, F(i) ? null : F(t).id, !0));
2843
+ }), g("keydown", a, (e) => {
2844
2844
  Je() && Ta(e, F(t).id);
2845
2845
  }), m(e, a);
2846
2846
  });
2847
2847
  var r = w(n), i = (e) => {
2848
- var t = In(), n = T(t), r = w(n), i = (e) => {
2848
+ var t = In(), n = S(t), r = w(n), i = (e) => {
2849
2849
  var t = Pn();
2850
- C((e, n, r, i) => {
2851
- D(t, "x", e), D(t, "y", n), D(t, "width", r), D(t, "height", i);
2850
+ x((e, n, r, i) => {
2851
+ E(t, "x", e), E(t, "y", n), E(t, "width", r), E(t, "height", i);
2852
2852
  }, [
2853
2853
  () => Math.min(F(H).px, F(ua).x),
2854
2854
  () => Math.min(F(H).py, F(ua).y),
@@ -2857,53 +2857,53 @@ function ni(ne, f) {
2857
2857
  ]), m(e, t);
2858
2858
  }, a = (e) => {
2859
2859
  var t = Fn();
2860
- C(() => {
2861
- D(t, "x1", F(H).px), D(t, "y1", F(H).py), D(t, "x2", F(ua).x), D(t, "y2", F(ua).y);
2860
+ x(() => {
2861
+ E(t, "x1", F(H).px), E(t, "y1", F(H).py), E(t, "x2", F(ua).x), E(t, "y2", F(ua).y);
2862
2862
  }), m(e, t);
2863
2863
  };
2864
2864
  h(r, (e) => {
2865
2865
  F(la) === "rect" ? e(i) : e(a, -1);
2866
- }), C(() => {
2867
- D(n, "cx", F(H).px), D(n, "cy", F(H).py);
2866
+ }), x(() => {
2867
+ E(n, "cx", F(H).px), E(n, "cy", F(H).py);
2868
2868
  }), m(e, t);
2869
2869
  };
2870
2870
  h(r, (e) => {
2871
2871
  F(H) && F(ua) && e(i);
2872
- }), E(t), C(() => D(t, "clip-path", `url(#${Ai}-plot)`)), m(e, t);
2872
+ }), j(t), x(() => E(t, "clip-path", `url(#${Ai}-plot)`)), m(e, t);
2873
2873
  };
2874
2874
  h(Rc, (e) => {
2875
2875
  (F(G).drawings.length || F(H)) && e(zc);
2876
2876
  });
2877
2877
  var Bc = w(Rc), Vc = (e) => {
2878
- var t = O(), n = T(t), r = (e) => {
2879
- let t = j(() => F(G).plot.y + F(wo) * F(ds) + F(wo) / 2);
2878
+ var t = D(), n = S(t), r = (e) => {
2879
+ let t = A(() => F(G).plot.y + F(wo) * F(ds) + F(wo) / 2);
2880
2880
  var n = Rn();
2881
- C(() => {
2882
- D(n, "x1", F(G).plot.x), D(n, "y1", F(t)), D(n, "x2", F(G).plot.x + F(G).plot.w), D(n, "y2", F(t));
2881
+ x(() => {
2882
+ E(n, "x1", F(G).plot.x), E(n, "y1", F(t)), E(n, "x2", F(G).plot.x + F(G).plot.w), E(n, "y2", F(t));
2883
2883
  }), m(e, n);
2884
2884
  }, i = (e) => {
2885
- let t = j(() => F(G).lines[0]?.points[F(ds)]), n = j(() => F(t) && Number.isFinite(F(t).x) ? F(t).x : F(G).plot.x + F(wo) * F(ds) + F(wo) / 2);
2886
- var r = Vn(), i = T(r), a = w(i), o = (e) => {
2887
- let t = j(() => as(F(ls)?.title ?? F(W).categories[F(ds)] ?? "", 16)), r = j(() => Math.max(24, F(t).length * 6.2 + 10));
2888
- var i = Bn(), a = T(i), o = g(a), s = w(o), c = g(s, !0);
2889
- E(s), E(a);
2885
+ let t = A(() => F(G).lines[0]?.points[F(ds)]), n = A(() => F(t) && Number.isFinite(F(t).x) ? F(t).x : F(G).plot.x + F(wo) * F(ds) + F(wo) / 2);
2886
+ var r = Vn(), i = S(r), a = w(i), o = (e) => {
2887
+ let t = A(() => as(F(ls)?.title ?? F(W).categories[F(ds)] ?? "", 16)), r = A(() => Math.max(24, F(t).length * 6.2 + 10));
2888
+ var i = Bn(), a = S(i), o = C(a), s = w(o), c = C(s, !0);
2889
+ j(s), j(a);
2890
2890
  var l = w(a), u = (e) => {
2891
- let t = j(() => hs(F(uo).yInvert(F(ms)))), n = j(() => Math.max(24, F(t).length * 6.2 + 10));
2892
- var r = zn(), i = g(r), a = w(i), o = g(a, !0);
2893
- E(a), E(r), C((e, r) => {
2894
- D(i, "x", e), D(i, "y", F(ms) - 7.5), D(i, "width", F(n)), D(a, "x", r), D(a, "y", F(ms) + 3.5), k(o, F(t));
2891
+ let t = A(() => hs(F(uo).yInvert(F(ms)))), n = A(() => Math.max(24, F(t).length * 6.2 + 10));
2892
+ var r = zn(), i = C(r), a = w(i), o = C(a, !0);
2893
+ j(a), j(r), x((e, r) => {
2894
+ E(i, "x", e), E(i, "y", F(ms) - 7.5), E(i, "width", F(n)), E(a, "x", r), E(a, "y", F(ms) + 3.5), O(o, F(t));
2895
2895
  }, [() => Math.max(0, F(G).plot.x - F(n) - 2), () => Math.max(F(n) / 2, F(G).plot.x - 2 - F(n) / 2)]), m(e, r);
2896
2896
  };
2897
2897
  h(l, (e) => {
2898
2898
  F(ms) != null && F(uo) && F(G).axes && e(u);
2899
- }), C((e, n) => {
2900
- D(o, "x", e), D(o, "y", F(G).plot.y + F(G).plot.h + 2), D(o, "width", F(r)), D(s, "x", n), D(s, "y", F(G).plot.y + F(G).plot.h + 13), k(c, F(t));
2899
+ }), x((e, n) => {
2900
+ E(o, "x", e), E(o, "y", F(G).plot.y + F(G).plot.h + 2), E(o, "width", F(r)), E(s, "x", n), E(s, "y", F(G).plot.y + F(G).plot.h + 13), O(c, F(t));
2901
2901
  }, [() => Math.max(0, Math.min(F(G).width - F(r), F(n) - F(r) / 2)), () => Math.max(F(r) / 2, Math.min(F(G).width - F(r) / 2, F(n)))]), m(e, i);
2902
2902
  };
2903
2903
  h(a, (e) => {
2904
2904
  Ue() && e(o);
2905
- }), C(() => {
2906
- D(i, "x1", F(n)), D(i, "y1", F(G).plot.y), D(i, "x2", F(n)), D(i, "y2", F(G).plot.y + F(G).plot.h);
2905
+ }), x(() => {
2906
+ E(i, "x1", F(n)), E(i, "y1", F(G).plot.y), E(i, "x2", F(n)), E(i, "y2", F(G).plot.y + F(G).plot.h);
2907
2907
  }), m(e, r);
2908
2908
  };
2909
2909
  h(n, (e) => {
@@ -2914,52 +2914,52 @@ function ni(ne, f) {
2914
2914
  F(K) && F(ds) !== null && e(Vc);
2915
2915
  });
2916
2916
  var Hc = w(Bc), Uc = (e) => {
2917
- var t = Jn(), n = T(t);
2917
+ var t = Jn(), n = S(t);
2918
2918
  N(n, 17, () => F(G).heatmapRowTicks, (e) => e.value, (e, t, n, r) => {
2919
- var i = Hn(), a = g(i, !0);
2920
- E(i), C((e) => {
2921
- D(i, "x", F(G).plot.x - 8), D(i, "y", F(t).y + 3), k(a, e);
2919
+ var i = Hn(), a = C(i, !0);
2920
+ j(i), x((e) => {
2921
+ E(i, "x", F(G).plot.x - 8), E(i, "y", F(t).y + 3), O(a, e);
2922
2922
  }, [() => as(F(t).label, 22)]), m(e, i);
2923
2923
  });
2924
2924
  var r = w(n);
2925
2925
  N(r, 19, () => F(G).heatmapColTicks, (e, t) => e.label + t, (e, t, n, r) => {
2926
- var i = Un(), a = g(i, !0);
2927
- E(i), C((e) => {
2928
- D(i, "x", F(t).x), D(i, "y", F(G).plot.y + F(G).plot.h + 14), k(a, e);
2926
+ var i = Un(), a = C(i, !0);
2927
+ j(i), x((e) => {
2928
+ E(i, "x", F(t).x), E(i, "y", F(G).plot.y + F(G).plot.h + 14), O(a, e);
2929
2929
  }, [() => as(F(t).label, 14)]), m(e, i);
2930
2930
  });
2931
2931
  var i = w(r);
2932
- N(i, 17, () => F(G).heatmapCells, S, (e, t, n) => {
2933
- var r = Gn(), i = T(r), a = w(i), o = (e) => {
2934
- var n = Wn(), r = g(n, !0);
2935
- E(n), C((e) => {
2936
- D(n, "x", F(t).x + F(t).w / 2), D(n, "y", F(t).y + F(t).h / 2 + 3), D(n, "fill", F(t).textColor), k(r, e);
2932
+ N(i, 17, () => F(G).heatmapCells, b, (e, t, n) => {
2933
+ var r = Gn(), i = S(r), a = w(i), o = (e) => {
2934
+ var n = Wn(), r = C(n, !0);
2935
+ j(n), x((e) => {
2936
+ E(n, "x", F(t).x + F(t).w / 2), E(n, "y", F(t).y + F(t).h / 2 + 3), E(n, "fill", F(t).textColor), O(r, e);
2937
2937
  }, [() => V(F(t).value)]), m(e, n);
2938
2938
  };
2939
2939
  h(a, (e) => {
2940
2940
  F(_i).show && F(t).w > 22 && F(t).h > 14 && e(o);
2941
- }), C((e, n) => {
2942
- D(i, "x", F(t).x), D(i, "y", F(t).y), D(i, "width", F(t).w), D(i, "height", F(t).h), D(i, "fill", F(t).color), D(i, "role", f.onSelect || F(Y) ? "button" : "img"), D(i, "tabindex", e), D(i, "aria-label", n);
2943
- }, [() => Is(".sv-grid-chart-heatcell", n), () => `${F(t).rowLabel} ${F(t).colLabel}: ${V(F(t).value)}`]), _("mousemove", i, (e) => ws(e.clientX, e.clientY, F(t))), x("mouseleave", i, Q), x("focus", i, (e) => {
2941
+ }), x((e, n) => {
2942
+ E(i, "x", F(t).x), E(i, "y", F(t).y), E(i, "width", F(t).w), E(i, "height", F(t).h), E(i, "fill", F(t).color), E(i, "role", f.onSelect || F(Y) ? "button" : "img"), E(i, "tabindex", e), E(i, "aria-label", n);
2943
+ }, [() => Is(".sv-grid-chart-heatcell", n), () => `${F(t).rowLabel} ${F(t).colLabel}: ${V(F(t).value)}`]), g("mousemove", i, (e) => ws(e.clientX, e.clientY, F(t))), y("mouseleave", i, Q), y("focus", i, (e) => {
2944
2944
  Ls(".sv-grid-chart-heatcell", n);
2945
2945
  let r = zs(e.currentTarget);
2946
2946
  ws(r.x, r.y, F(t));
2947
- }), x("blur", i, Q), _("click", i, () => Ms(F(t).colLabel, F(t).rowLabel, F(t).value)), _("keydown", i, (e) => Rs(e, ".sv-grid-chart-heatcell", n, f.onSelect || F(Y) ? () => Ms(F(t).colLabel, F(t).rowLabel, F(t).value) : null, { cols: F(G).heatmapColTicks.length })), m(e, r);
2947
+ }), y("blur", i, Q), g("click", i, () => Ms(F(t).colLabel, F(t).rowLabel, F(t).value)), g("keydown", i, (e) => Rs(e, ".sv-grid-chart-heatcell", n, f.onSelect || F(Y) ? () => Ms(F(t).colLabel, F(t).rowLabel, F(t).value) : null, { cols: F(G).heatmapColTicks.length })), m(e, r);
2948
2948
  });
2949
2949
  var a = w(i), o = (e) => {
2950
- let t = j(() => F(G).plot.x + F(G).plot.w + 14), n = j(() => F(G).plot.h - 20), r = j(() => F(G).heatmapLegend);
2951
- var i = qn(), a = T(i), o = g(a);
2952
- N(o, 21, () => F(r), S, (e, t, n) => {
2950
+ let t = A(() => F(G).plot.x + F(G).plot.w + 14), n = A(() => F(G).plot.h - 20), r = A(() => F(G).heatmapLegend);
2951
+ var i = qn(), a = S(i), o = C(a);
2952
+ N(o, 21, () => F(r), b, (e, t, n) => {
2953
2953
  var i = Kn();
2954
- C(() => {
2955
- D(i, "offset", `${n / (F(r).length - 1) * 100}%`), D(i, "stop-color", F(t).color);
2954
+ x(() => {
2955
+ E(i, "offset", `${n / (F(r).length - 1) * 100}%`), E(i, "stop-color", F(t).color);
2956
2956
  }), m(e, i);
2957
- }), E(o), E(a);
2958
- var s = w(a), c = w(s), l = g(c, !0);
2959
- E(c);
2960
- var u = w(c), d = g(u, !0);
2961
- E(u), C(() => {
2962
- D(o, "id", `${Ai}-heatscale`), D(s, "x", F(t)), D(s, "y", F(G).plot.y + 10), D(s, "height", F(n)), D(s, "fill", `url(#${Ai}-heatscale)`), D(c, "x", F(t) + 14), D(c, "y", F(G).plot.y + 14), k(l, F(r)[F(r).length - 1].label), D(u, "x", F(t) + 14), D(u, "y", F(G).plot.y + 10 + F(n)), k(d, F(r)[0].label);
2957
+ }), j(o), j(a);
2958
+ var s = w(a), c = w(s), l = C(c, !0);
2959
+ j(c);
2960
+ var u = w(c), d = C(u, !0);
2961
+ j(u), x(() => {
2962
+ E(o, "id", `${Ai}-heatscale`), E(s, "x", F(t)), E(s, "y", F(G).plot.y + 10), E(s, "height", F(n)), E(s, "fill", `url(#${Ai}-heatscale)`), E(c, "x", F(t) + 14), E(c, "y", F(G).plot.y + 14), O(l, F(r)[F(r).length - 1].label), E(u, "x", F(t) + 14), E(u, "y", F(G).plot.y + 10 + F(n)), O(d, F(r)[0].label);
2963
2963
  }), m(e, i);
2964
2964
  };
2965
2965
  h(a, (e) => {
@@ -2970,67 +2970,67 @@ function ni(ne, f) {
2970
2970
  F(_o) && e(Uc);
2971
2971
  });
2972
2972
  var Wc = w(Hc), Gc = (e) => {
2973
- var t = O(), n = T(t);
2974
- N(n, 17, () => F(G).funnelSegments, S, (e, t, n) => {
2975
- var r = Xn(), i = T(r), a = w(i), o = (e) => {
2976
- var n = Yn(), r = T(n), i = g(r, !0);
2977
- E(r);
2978
- var a = w(r), o = g(a);
2979
- E(a), C((e, n, s) => {
2980
- D(r, "x", F(t).cx), D(r, "y", F(t).cy - 3), D(r, "fill", F(t).textColor), k(i, e), D(a, "x", F(t).cx), D(a, "y", F(t).cy + 11), D(a, "fill", F(t).textColor), k(o, `${n ?? ""} · ${s ?? ""}%`);
2973
+ var t = D(), n = S(t);
2974
+ N(n, 17, () => F(G).funnelSegments, b, (e, t, n) => {
2975
+ var r = Xn(), i = S(r), a = w(i), o = (e) => {
2976
+ var n = Yn(), r = S(n), i = C(r, !0);
2977
+ j(r);
2978
+ var a = w(r), o = C(a);
2979
+ j(a), x((e, n, s) => {
2980
+ E(r, "x", F(t).cx), E(r, "y", F(t).cy - 3), E(r, "fill", F(t).textColor), O(i, e), E(a, "x", F(t).cx), E(a, "y", F(t).cy + 11), E(a, "fill", F(t).textColor), O(o, `${n ?? ""} · ${s ?? ""}%`);
2981
2981
  }, [
2982
2982
  () => as(F(t).label, 24),
2983
2983
  () => V(F(t).value),
2984
2984
  () => (F(t).conversion * 100).toFixed(0)
2985
2985
  ]), m(e, n);
2986
- }, s = j(() => F(G).plot.h / Math.max(1, F(G).funnelSegments.length) >= 26);
2986
+ }, s = A(() => F(G).plot.h / Math.max(1, F(G).funnelSegments.length) >= 26);
2987
2987
  h(a, (e) => {
2988
2988
  F(s) && e(o);
2989
- }), C((e, n) => {
2990
- D(i, "d", F(t).path), D(i, "fill", F(t).color), D(i, "role", f.onSelect || F(Y) ? "button" : "img"), D(i, "tabindex", e), D(i, "aria-label", n);
2991
- }, [() => Is(".sv-grid-chart-funnel-seg", n), () => `${F(t).label}: ${V(F(t).value)}`]), _("mousemove", i, (e) => Ts(e.clientX, e.clientY, F(t))), x("mouseleave", i, Q), x("focus", i, (e) => {
2989
+ }), x((e, n) => {
2990
+ E(i, "d", F(t).path), E(i, "fill", F(t).color), E(i, "role", f.onSelect || F(Y) ? "button" : "img"), E(i, "tabindex", e), E(i, "aria-label", n);
2991
+ }, [() => Is(".sv-grid-chart-funnel-seg", n), () => `${F(t).label}: ${V(F(t).value)}`]), g("mousemove", i, (e) => Ts(e.clientX, e.clientY, F(t))), y("mouseleave", i, Q), y("focus", i, (e) => {
2992
2992
  Ls(".sv-grid-chart-funnel-seg", n);
2993
2993
  let r = zs(e.currentTarget);
2994
2994
  Ts(r.x, r.y, F(t));
2995
- }), x("blur", i, Q), _("click", i, () => Ms(F(t).label, F(t).label, F(t).value, n)), _("keydown", i, (e) => Rs(e, ".sv-grid-chart-funnel-seg", n, f.onSelect || F(Y) ? () => Ms(F(t).label, F(t).label, F(t).value, n) : null)), m(e, r);
2995
+ }), y("blur", i, Q), g("click", i, () => Ms(F(t).label, F(t).label, F(t).value, n)), g("keydown", i, (e) => Rs(e, ".sv-grid-chart-funnel-seg", n, f.onSelect || F(Y) ? () => Ms(F(t).label, F(t).label, F(t).value, n) : null)), m(e, r);
2996
2996
  }), m(e, t);
2997
2997
  };
2998
2998
  h(Wc, (e) => {
2999
2999
  F(vo) && e(Gc);
3000
3000
  });
3001
3001
  var Kc = w(Wc), qc = (e) => {
3002
- let t = j(() => F(G).radarCenter);
3003
- var n = tr(), r = T(n);
3004
- N(r, 17, () => F(G).radarRings, S, (e, n, r) => {
3005
- let i = j(() => F(t).r * ((r + 1) / F(G).radarRings.length));
3002
+ let t = A(() => F(G).radarCenter);
3003
+ var n = tr(), r = S(n);
3004
+ N(r, 17, () => F(G).radarRings, b, (e, n, r) => {
3005
+ let i = A(() => F(t).r * ((r + 1) / F(G).radarRings.length));
3006
3006
  var a = Zn();
3007
- C(() => {
3008
- D(a, "cx", F(t).cx), D(a, "cy", F(t).cy), D(a, "r", F(i));
3007
+ x(() => {
3008
+ E(a, "cx", F(t).cx), E(a, "cy", F(t).cy), E(a, "r", F(i));
3009
3009
  }), m(e, a);
3010
3010
  });
3011
3011
  var i = w(r);
3012
- N(i, 17, () => F(G).radarAxes, S, (e, n) => {
3013
- let r = j(() => F(n).x - F(t).cx), i = j(() => F(n).y - F(t).cy), a = j(() => F(t).cx + F(r) * 1.08), o = j(() => F(t).cy + F(i) * 1.08);
3014
- var s = Qn(), c = T(s), l = w(c), u = g(l, !0);
3015
- E(l), C((e) => {
3016
- D(c, "x1", F(t).cx), D(c, "y1", F(t).cy), D(c, "x2", F(n).x), D(c, "y2", F(n).y), D(l, "x", F(a)), D(l, "y", F(o) + 3), D(l, "text-anchor", e), k(u, F(n).label);
3012
+ N(i, 17, () => F(G).radarAxes, b, (e, n) => {
3013
+ let r = A(() => F(n).x - F(t).cx), i = A(() => F(n).y - F(t).cy), a = A(() => F(t).cx + F(r) * 1.08), o = A(() => F(t).cy + F(i) * 1.08);
3014
+ var s = Qn(), c = S(s), l = w(c), u = C(l, !0);
3015
+ j(l), x((e) => {
3016
+ E(c, "x1", F(t).cx), E(c, "y1", F(t).cy), E(c, "x2", F(n).x), E(c, "y2", F(n).y), E(l, "x", F(a)), E(l, "y", F(o) + 3), E(l, "text-anchor", e), O(u, F(n).label);
3017
3017
  }, [() => Math.abs(F(r)) < 1 ? "middle" : F(r) > 0 ? "start" : "end"]), m(e, s);
3018
3018
  });
3019
3019
  var a = w(i);
3020
- N(a, 17, () => F(G).radarSeries, S, (e, t, n) => {
3021
- var r = er(), i = T(r), a = w(i);
3022
- N(a, 17, () => F(t).points, S, (e, r, i) => {
3023
- let a = j(() => n * F(t).points.length + i);
3020
+ N(a, 17, () => F(G).radarSeries, b, (e, t, n) => {
3021
+ var r = er(), i = S(r), a = w(i);
3022
+ N(a, 17, () => F(t).points, b, (e, r, i) => {
3023
+ let a = A(() => n * F(t).points.length + i);
3024
3024
  var o = $n();
3025
- C((e, n) => {
3026
- D(o, "cx", F(r).x), D(o, "cy", F(r).y), D(o, "fill", F(t).color), D(o, "tabindex", e), D(o, "aria-label", n);
3027
- }, [() => Is(".sv-grid-chart-radar-dot", F(a)), () => `${F(t).label} ${F(r).axis}: ${V(F(r).value)}`]), _("mousemove", o, (e) => As(e.clientX, e.clientY, F(t).label, F(r).axis, F(r).value, F(t).color)), x("mouseleave", o, Q), x("focus", o, (e) => {
3025
+ x((e, n) => {
3026
+ E(o, "cx", F(r).x), E(o, "cy", F(r).y), E(o, "fill", F(t).color), E(o, "tabindex", e), E(o, "aria-label", n);
3027
+ }, [() => Is(".sv-grid-chart-radar-dot", F(a)), () => `${F(t).label} ${F(r).axis}: ${V(F(r).value)}`]), g("mousemove", o, (e) => As(e.clientX, e.clientY, F(t).label, F(r).axis, F(r).value, F(t).color)), y("mouseleave", o, Q), y("focus", o, (e) => {
3028
3028
  Ls(".sv-grid-chart-radar-dot", F(a));
3029
3029
  let n = zs(e.currentTarget);
3030
3030
  As(n.x, n.y, F(t).label, F(r).axis, F(r).value, F(t).color);
3031
- }), x("blur", o, Q), _("keydown", o, (e) => Rs(e, ".sv-grid-chart-radar-dot", F(a))), m(e, o);
3032
- }), C((e) => {
3033
- D(i, "d", F(t).path), D(i, "fill", F(t).color), D(i, "stroke", F(t).color), M(i, e);
3031
+ }), y("blur", o, Q), g("keydown", o, (e) => Rs(e, ".sv-grid-chart-radar-dot", F(a))), m(e, o);
3032
+ }), x((e) => {
3033
+ E(i, "d", F(t).path), E(i, "fill", F(t).color), E(i, "stroke", F(t).color), M(i, e);
3034
3034
  }, [() => `opacity:${J(F(t).label)}`]), m(e, r);
3035
3035
  }), m(e, n);
3036
3036
  };
@@ -3038,11 +3038,11 @@ function ni(ne, f) {
3038
3038
  F(yo) && F(G).radarCenter && e(qc);
3039
3039
  });
3040
3040
  var Jc = w(Kc), Yc = (e) => {
3041
- var t = sr(), n = T(t);
3042
- N(n, 17, () => F(G).calendarMonthTicks, S, (e, t, n, r) => {
3043
- var i = nr(), a = g(i, !0);
3044
- E(i), C(() => {
3045
- D(i, "x", F(t).x), D(i, "y", F(G).plot.y - 8), k(a, F(t).label);
3041
+ var t = sr(), n = S(t);
3042
+ N(n, 17, () => F(G).calendarMonthTicks, b, (e, t, n, r) => {
3043
+ var i = nr(), a = C(i, !0);
3044
+ j(i), x(() => {
3045
+ E(i, "x", F(t).x), E(i, "y", F(G).plot.y - 8), O(a, F(t).label);
3046
3046
  }), m(e, i);
3047
3047
  });
3048
3048
  var r = w(n);
@@ -3050,16 +3050,16 @@ function ni(ne, f) {
3050
3050
  "Mon",
3051
3051
  "Wed",
3052
3052
  "Fri"
3053
- ], S, (e, t, n) => {
3054
- let r = j(() => [
3053
+ ], b, (e, t, n) => {
3054
+ let r = A(() => [
3055
3055
  1,
3056
3056
  3,
3057
3057
  5
3058
- ][n]), i = j(() => F(G).calendarCells[F(r)]);
3059
- var a = O(), o = T(a), s = (e) => {
3060
- var n = rr(), r = g(n, !0);
3061
- E(n), C(() => {
3062
- D(n, "x", F(G).plot.x - 6), D(n, "y", F(i).y + F(i).size / 2 + 3), k(r, t);
3058
+ ][n]), i = A(() => F(G).calendarCells[F(r)]);
3059
+ var a = D(), o = S(a), s = (e) => {
3060
+ var n = rr(), r = C(n, !0);
3061
+ j(n), x(() => {
3062
+ E(n, "x", F(G).plot.x - 6), E(n, "y", F(i).y + F(i).size / 2 + 3), O(r, t);
3063
3063
  }), m(e, n);
3064
3064
  };
3065
3065
  h(o, (e) => {
@@ -3067,15 +3067,15 @@ function ni(ne, f) {
3067
3067
  }), m(e, a);
3068
3068
  });
3069
3069
  var i = w(r);
3070
- N(i, 17, () => F(G).calendarCells, S, (e, t, n) => {
3070
+ N(i, 17, () => F(G).calendarCells, b, (e, t, n) => {
3071
3071
  var r = ir();
3072
3072
  let i;
3073
- C((e, n) => {
3074
- i = P(r, 0, "sv-grid-chart-calendar-cell svelte-kvdein", null, i, { "is-blank": !F(t).defined }), D(r, "x", F(t).x + 1), D(r, "y", F(t).y + 1), D(r, "width", F(t).size - 2), D(r, "height", F(t).size - 2), D(r, "fill", F(t).defined ? F(t).color : "transparent"), D(r, "tabindex", e), D(r, "aria-label", n);
3075
- }, [() => Is(".sv-grid-chart-calendar-cell", n), () => `${vs(F(t).date)}: ${F(t).defined ? V(F(t).value) : F(z).noValue}`]), _("mousemove", r, (e) => F(t).defined && Z(e.clientX, e.clientY, vs(F(t).date), [{
3073
+ x((e, n) => {
3074
+ i = P(r, 0, "sv-grid-chart-calendar-cell svelte-kvdein", null, i, { "is-blank": !F(t).defined }), E(r, "x", F(t).x + 1), E(r, "y", F(t).y + 1), E(r, "width", F(t).size - 2), E(r, "height", F(t).size - 2), E(r, "fill", F(t).defined ? F(t).color : "transparent"), E(r, "tabindex", e), E(r, "aria-label", n);
3075
+ }, [() => Is(".sv-grid-chart-calendar-cell", n), () => `${vs(F(t).date)}: ${F(t).defined ? V(F(t).value) : F(z).noValue}`]), g("mousemove", r, (e) => F(t).defined && Z(e.clientX, e.clientY, vs(F(t).date), [{
3076
3076
  color: F(t).color,
3077
3077
  value: V(F(t).value)
3078
- }])), x("mouseleave", r, Q), x("focus", r, (e) => {
3078
+ }])), y("mouseleave", r, Q), y("focus", r, (e) => {
3079
3079
  if (Ls(".sv-grid-chart-calendar-cell", n), F(t).defined) {
3080
3080
  let n = zs(e.currentTarget);
3081
3081
  Z(n.x, n.y, vs(F(t).date), [{
@@ -3083,23 +3083,23 @@ function ni(ne, f) {
3083
3083
  value: V(F(t).value)
3084
3084
  }]);
3085
3085
  }
3086
- }), x("blur", r, Q), _("keydown", r, (e) => Rs(e, ".sv-grid-chart-calendar-cell", n, null, {
3086
+ }), y("blur", r, Q), g("keydown", r, (e) => Rs(e, ".sv-grid-chart-calendar-cell", n, null, {
3087
3087
  cols: 7,
3088
3088
  colMajor: !0
3089
3089
  })), m(e, r);
3090
3090
  });
3091
3091
  var a = w(i), o = (e) => {
3092
- let t = j(() => F(G).plot.x + F(G).plot.w + 12), n = j(() => F(G).plot.y + 4);
3093
- var r = or(), i = T(r), a = w(i);
3094
- N(a, 17, () => F(G).calendarLegend, S, (e, r, i) => {
3095
- var a = ar(), o = T(a), s = w(o), c = g(s, !0);
3096
- E(s), C(() => {
3097
- D(o, "x", F(t)), D(o, "y", F(n) + 6 + i * 13), D(o, "fill", F(r).color), D(s, "x", F(t) + 14), D(s, "y", F(n) + 14 + i * 13), k(c, F(r).label);
3092
+ let t = A(() => F(G).plot.x + F(G).plot.w + 12), n = A(() => F(G).plot.y + 4);
3093
+ var r = or(), i = S(r), a = w(i);
3094
+ N(a, 17, () => F(G).calendarLegend, b, (e, r, i) => {
3095
+ var a = ar(), o = S(a), s = w(o), c = C(s, !0);
3096
+ j(s), x(() => {
3097
+ E(o, "x", F(t)), E(o, "y", F(n) + 6 + i * 13), E(o, "fill", F(r).color), E(s, "x", F(t) + 14), E(s, "y", F(n) + 14 + i * 13), O(c, F(r).label);
3098
3098
  }), m(e, a);
3099
3099
  });
3100
3100
  var o = w(a);
3101
- C(() => {
3102
- D(i, "x", F(t)), D(i, "y", F(n)), D(o, "x", F(t)), D(o, "y", F(n) + 12 + F(G).calendarLegend.length * 13);
3101
+ x(() => {
3102
+ E(i, "x", F(t)), E(i, "y", F(n)), E(o, "x", F(t)), E(o, "y", F(n) + 12 + F(G).calendarLegend.length * 13);
3103
3103
  }), m(e, r);
3104
3104
  };
3105
3105
  h(a, (e) => {
@@ -3110,38 +3110,38 @@ function ni(ne, f) {
3110
3110
  F(bo) && e(Yc);
3111
3111
  });
3112
3112
  var Xc = w(Jc), Zc = (e) => {
3113
- let t = j(() => F(G).gauge);
3114
- var n = dr(), r = T(n);
3115
- N(r, 17, () => F(t).ticks, S, (e, t) => {
3113
+ let t = A(() => F(G).gauge);
3114
+ var n = dr(), r = S(n);
3115
+ N(r, 17, () => F(t).ticks, b, (e, t) => {
3116
3116
  var n = cr();
3117
3117
  let r;
3118
- C(() => {
3119
- r = P(n, 0, "sv-grid-chart-gauge-tick svelte-kvdein", null, r, { "is-major": F(t).major }), D(n, "x1", F(t).x1), D(n, "y1", F(t).y1), D(n, "x2", F(t).x2), D(n, "y2", F(t).y2);
3118
+ x(() => {
3119
+ r = P(n, 0, "sv-grid-chart-gauge-tick svelte-kvdein", null, r, { "is-major": F(t).major }), E(n, "x1", F(t).x1), E(n, "y1", F(t).y1), E(n, "x2", F(t).x2), E(n, "y2", F(t).y2);
3120
3120
  }), m(e, n);
3121
3121
  });
3122
3122
  var i = w(r), a = w(i);
3123
- N(a, 17, () => F(t).rangePaths, S, (e, t) => {
3123
+ N(a, 17, () => F(t).rangePaths, b, (e, t) => {
3124
3124
  var n = lr();
3125
- C(() => {
3126
- D(n, "d", F(t).path), D(n, "stroke", F(t).color);
3125
+ x(() => {
3126
+ E(n, "d", F(t).path), E(n, "stroke", F(t).color);
3127
3127
  }), m(e, n);
3128
3128
  });
3129
3129
  var o = w(a), s = w(o), c = (e) => {
3130
3130
  var n = ur();
3131
- C(() => {
3132
- D(n, "x1", F(t).target.x1), D(n, "y1", F(t).target.y1), D(n, "x2", F(t).target.x2), D(n, "y2", F(t).target.y2);
3131
+ x(() => {
3132
+ E(n, "x1", F(t).target.x1), E(n, "y1", F(t).target.y1), E(n, "x2", F(t).target.x2), E(n, "y2", F(t).target.y2);
3133
3133
  }), m(e, n);
3134
3134
  };
3135
3135
  h(s, (e) => {
3136
3136
  F(t).target && e(c);
3137
3137
  });
3138
- var l = w(s), u = w(l), d = w(u), ee = w(d), te = g(ee, !0);
3139
- E(ee);
3140
- var ne = w(ee), re = g(ne, !0);
3141
- E(ne);
3142
- var ie = w(ne), f = g(ie);
3143
- E(ie), C((e, n, r, a) => {
3144
- D(i, "d", F(t).trackPath), D(o, "d", F(t).valuePath), D(o, "stroke", F(t).valueColor ?? "var(--sg-accent, #2563eb)"), D(l, "d", F(t).needle.path), D(u, "cx", F(t).cx), D(u, "cy", F(t).cy), D(u, "r", F(t).needle.hubR), D(d, "cx", F(t).cx), D(d, "cy", F(t).cy), D(ee, "x", F(t).minLabel.x), D(ee, "y", F(t).minLabel.y), k(te, e), D(ne, "x", F(t).maxLabel.x), D(ne, "y", F(t).maxLabel.y), k(re, n), D(ie, "x", F(t).cx), D(ie, "y", F(t).cy + 38), k(f, `${r ?? ""}${a ?? ""}`);
3138
+ var l = w(s), u = w(l), d = w(u), ee = w(d), te = C(ee, !0);
3139
+ j(ee);
3140
+ var ne = w(ee), re = C(ne, !0);
3141
+ j(ne);
3142
+ var ie = w(ne), f = C(ie);
3143
+ j(ie), x((e, n, r, a) => {
3144
+ E(i, "d", F(t).trackPath), E(o, "d", F(t).valuePath), E(o, "stroke", F(t).valueColor ?? "var(--sg-accent, #2563eb)"), E(l, "d", F(t).needle.path), E(u, "cx", F(t).cx), E(u, "cy", F(t).cy), E(u, "r", F(t).needle.hubR), E(d, "cx", F(t).cx), E(d, "cy", F(t).cy), E(ee, "x", F(t).minLabel.x), E(ee, "y", F(t).minLabel.y), O(te, e), E(ne, "x", F(t).maxLabel.x), E(ne, "y", F(t).maxLabel.y), O(re, n), E(ie, "x", F(t).cx), E(ie, "y", F(t).cy + 38), O(f, `${r ?? ""}${a ?? ""}`);
3145
3145
  }, [
3146
3146
  () => V(F(t).min),
3147
3147
  () => V(F(t).max),
@@ -3153,40 +3153,40 @@ function ni(ne, f) {
3153
3153
  F(xo) && F(G).gauge && e(Zc);
3154
3154
  });
3155
3155
  var Qc = w(Xc), $c = (e) => {
3156
- var t = O(), n = T(t);
3157
- N(n, 17, () => F(G).treemapCells, S, (e, t, n) => {
3158
- var r = mr(), i = T(r), o = w(i), s = (e) => {
3159
- var n = fr(), r = g(n, !0);
3160
- E(n), C((e) => {
3161
- D(n, "x", F(t).x + 4), D(n, "y", F(t).y + 12), D(n, "fill", F(t).textColor), k(r, e);
3156
+ var t = D(), n = S(t);
3157
+ N(n, 17, () => F(G).treemapCells, b, (e, t, n) => {
3158
+ var r = mr(), i = S(r), o = w(i), s = (e) => {
3159
+ var n = fr(), r = C(n, !0);
3160
+ j(n), x((e) => {
3161
+ E(n, "x", F(t).x + 4), E(n, "y", F(t).y + 12), E(n, "fill", F(t).textColor), O(r, e);
3162
3162
  }, [() => as(F(t).name, Math.max(3, Math.floor(F(t).w / 7)))]), m(e, n);
3163
3163
  };
3164
3164
  h(o, (e) => {
3165
3165
  F(t).w > 36 && F(t).h > 18 && e(s);
3166
3166
  });
3167
3167
  var c = w(o), l = (e) => {
3168
- var n = pr(), r = g(n, !0);
3169
- E(n), C((e) => {
3170
- D(n, "x", F(t).x + 4), D(n, "y", F(t).y + 24), D(n, "fill", F(t).textColor), k(r, e);
3168
+ var n = pr(), r = C(n, !0);
3169
+ j(n), x((e) => {
3170
+ E(n, "x", F(t).x + 4), E(n, "y", F(t).y + 24), E(n, "fill", F(t).textColor), O(r, e);
3171
3171
  }, [() => V(F(t).value)]), m(e, n);
3172
3172
  };
3173
3173
  h(c, (e) => {
3174
3174
  F(t).w > 60 && F(t).h > 30 && e(l);
3175
- }), C((e, n) => {
3176
- D(i, "x", F(t).x), D(i, "y", F(t).y), D(i, "width", F(t).w), D(i, "height", F(t).h), D(i, "fill", F(t).color), D(i, "role", f.onSelect || F(Y) || F(Wa) ? "button" : "img"), D(i, "tabindex", e), D(i, "aria-label", n);
3177
- }, [() => Is(".sv-grid-chart-treemap-cell", n), () => `${F(t).name}: ${V(F(t).value)}`]), _("mousemove", i, (e) => Z(e.clientX, e.clientY, F(t).name, [{
3175
+ }), x((e, n) => {
3176
+ E(i, "x", F(t).x), E(i, "y", F(t).y), E(i, "width", F(t).w), E(i, "height", F(t).h), E(i, "fill", F(t).color), E(i, "role", f.onSelect || F(Y) || F(Wa) ? "button" : "img"), E(i, "tabindex", e), E(i, "aria-label", n);
3177
+ }, [() => Is(".sv-grid-chart-treemap-cell", n), () => `${F(t).name}: ${V(F(t).value)}`]), g("mousemove", i, (e) => Z(e.clientX, e.clientY, F(t).name, [{
3178
3178
  color: F(t).color,
3179
3179
  value: V(F(t).value)
3180
- }])), x("mouseleave", i, Q), x("focus", i, (e) => {
3180
+ }])), y("mouseleave", i, Q), y("focus", i, (e) => {
3181
3181
  Ls(".sv-grid-chart-treemap-cell", n);
3182
3182
  let r = zs(e.currentTarget);
3183
3183
  Z(r.x, r.y, F(t).name, [{
3184
3184
  color: F(t).color,
3185
3185
  value: V(F(t).value)
3186
3186
  }]);
3187
- }), x("blur", i, Q), _("click", i, (e) => {
3187
+ }), y("blur", i, Q), g("click", i, (e) => {
3188
3188
  F(Wa) && Za([...Ie(), ...a(F(Ga), F(t).name) ?? []]) || Ms(F(t).name, "", F(t).value, void 0, e);
3189
- }), _("keydown", i, (e) => Rs(e, ".sv-grid-chart-treemap-cell", n, () => {
3189
+ }), g("keydown", i, (e) => Rs(e, ".sv-grid-chart-treemap-cell", n, () => {
3190
3190
  F(Wa) && Za([...Ie(), ...a(F(Ga), F(t).name) ?? []]) || (f.onSelect || F(Y)) && Ms(F(t).name, "", F(t).value, void 0, e);
3191
3191
  })), m(e, r);
3192
3192
  }), m(e, t);
@@ -3195,39 +3195,39 @@ function ni(ne, f) {
3195
3195
  F(So) && e($c);
3196
3196
  });
3197
3197
  var el = w(Qc), tl = (e) => {
3198
- var t = _r(), n = T(t);
3199
- N(n, 17, () => F(G).sankeyLinks, S, (e, t, n) => {
3198
+ var t = _r(), n = S(t);
3199
+ N(n, 17, () => F(G).sankeyLinks, b, (e, t, n) => {
3200
3200
  var r = hr();
3201
- C((e, n) => {
3202
- D(r, "d", F(t).path), D(r, "stroke", F(t).color), D(r, "stroke-width", F(t).width), D(r, "tabindex", e), D(r, "aria-label", n);
3203
- }, [() => Is(".sv-grid-chart-sankey-link", n), () => `${F(t).source} → ${F(t).target}: ${V(F(t).value)}`]), _("mousemove", r, (e) => Z(e.clientX, e.clientY, `${F(t).source} → ${F(t).target}`, [{
3201
+ x((e, n) => {
3202
+ E(r, "d", F(t).path), E(r, "stroke", F(t).color), E(r, "stroke-width", F(t).width), E(r, "tabindex", e), E(r, "aria-label", n);
3203
+ }, [() => Is(".sv-grid-chart-sankey-link", n), () => `${F(t).source} → ${F(t).target}: ${V(F(t).value)}`]), g("mousemove", r, (e) => Z(e.clientX, e.clientY, `${F(t).source} → ${F(t).target}`, [{
3204
3204
  color: F(t).color,
3205
3205
  value: V(F(t).value)
3206
- }])), x("mouseleave", r, Q), x("focus", r, (e) => {
3206
+ }])), y("mouseleave", r, Q), y("focus", r, (e) => {
3207
3207
  Ls(".sv-grid-chart-sankey-link", n);
3208
3208
  let r = zs(e.currentTarget);
3209
3209
  Z(r.x, r.y, `${F(t).source} → ${F(t).target}`, [{
3210
3210
  color: F(t).color,
3211
3211
  value: V(F(t).value)
3212
3212
  }]);
3213
- }), x("blur", r, Q), _("keydown", r, (e) => Rs(e, ".sv-grid-chart-sankey-link", n)), m(e, r);
3213
+ }), y("blur", r, Q), g("keydown", r, (e) => Rs(e, ".sv-grid-chart-sankey-link", n)), m(e, r);
3214
3214
  });
3215
3215
  var r = w(n);
3216
- N(r, 17, () => F(G).sankeyNodes, S, (e, t, n) => {
3217
- var r = gr(), i = T(r), a = w(i), o = g(a, !0);
3218
- E(a), C((e, n) => {
3219
- D(i, "x", F(t).x), D(i, "y", F(t).y), D(i, "width", F(t).w), D(i, "height", F(t).h), D(i, "fill", F(t).color), D(i, "tabindex", e), D(i, "aria-label", n), D(a, "x", F(t).column === 0 ? F(t).x + F(t).w + 4 : F(t).x - 4), D(a, "y", F(t).y + F(t).h / 2 + 3), D(a, "text-anchor", F(t).column === 0 ? "start" : "end"), k(o, F(t).label);
3216
+ N(r, 17, () => F(G).sankeyNodes, b, (e, t, n) => {
3217
+ var r = gr(), i = S(r), a = w(i), o = C(a, !0);
3218
+ j(a), x((e, n) => {
3219
+ E(i, "x", F(t).x), E(i, "y", F(t).y), E(i, "width", F(t).w), E(i, "height", F(t).h), E(i, "fill", F(t).color), E(i, "tabindex", e), E(i, "aria-label", n), E(a, "x", F(t).column === 0 ? F(t).x + F(t).w + 4 : F(t).x - 4), E(a, "y", F(t).y + F(t).h / 2 + 3), E(a, "text-anchor", F(t).column === 0 ? "start" : "end"), O(o, F(t).label);
3220
3220
  }, [() => Is(".sv-grid-chart-sankey-node", n), () => et(F(z).sankeyNode, {
3221
3221
  label: F(t).label,
3222
3222
  in: V(F(t).totalIn),
3223
3223
  out: V(F(t).totalOut)
3224
- })]), _("mousemove", i, (e) => Z(e.clientX, e.clientY, F(t).label, [{
3224
+ })]), g("mousemove", i, (e) => Z(e.clientX, e.clientY, F(t).label, [{
3225
3225
  label: "in",
3226
3226
  value: V(F(t).totalIn)
3227
3227
  }, {
3228
3228
  label: "out",
3229
3229
  value: V(F(t).totalOut)
3230
- }])), x("mouseleave", i, Q), x("focus", i, (e) => {
3230
+ }])), y("mouseleave", i, Q), y("focus", i, (e) => {
3231
3231
  Ls(".sv-grid-chart-sankey-node", n);
3232
3232
  let r = zs(e.currentTarget);
3233
3233
  Z(r.x, r.y, F(t).label, [{
@@ -3237,19 +3237,19 @@ function ni(ne, f) {
3237
3237
  label: "out",
3238
3238
  value: V(F(t).totalOut)
3239
3239
  }]);
3240
- }), x("blur", i, Q), _("keydown", i, (e) => Rs(e, ".sv-grid-chart-sankey-node", n)), m(e, r);
3240
+ }), y("blur", i, Q), g("keydown", i, (e) => Rs(e, ".sv-grid-chart-sankey-node", n)), m(e, r);
3241
3241
  }), m(e, t);
3242
3242
  };
3243
3243
  h(el, (e) => {
3244
3244
  F(Co) && e(tl);
3245
3245
  });
3246
3246
  var nl = w(el), rl = (e) => {
3247
- var t = Tr(), n = T(t), r = (e) => {
3248
- var t = O(), n = T(t);
3249
- N(n, 17, () => F(G).polarRings, S, (e, t) => {
3247
+ var t = Tr(), n = S(t), r = (e) => {
3248
+ var t = D(), n = S(t);
3249
+ N(n, 17, () => F(G).polarRings, b, (e, t) => {
3250
3250
  var n = vr();
3251
- C(() => {
3252
- D(n, "cx", F(G).radarCenter.cx), D(n, "cy", F(G).radarCenter.cy), D(n, "r", F(t));
3251
+ x(() => {
3252
+ E(n, "cx", F(G).radarCenter.cx), E(n, "cy", F(G).radarCenter.cy), E(n, "r", F(t));
3253
3253
  }), m(e, n);
3254
3254
  }), m(e, t);
3255
3255
  };
@@ -3257,35 +3257,35 @@ function ni(ne, f) {
3257
3257
  F(G).radarCenter && F(G).polarRings.length && e(r);
3258
3258
  });
3259
3259
  var i = w(n);
3260
- N(i, 17, () => F(G).polarAxes, S, (e, t) => {
3261
- var n = yr(), r = g(n, !0);
3262
- E(n), C((e) => {
3263
- D(n, "x", F(t).x), D(n, "y", F(t).y + 3), D(n, "text-anchor", F(t).x < (F(G).radarCenter?.cx ?? 0) - 2 ? "end" : F(t).x > (F(G).radarCenter?.cx ?? 0) + 2 ? "start" : "middle"), k(r, e);
3260
+ N(i, 17, () => F(G).polarAxes, b, (e, t) => {
3261
+ var n = yr(), r = C(n, !0);
3262
+ j(n), x((e) => {
3263
+ E(n, "x", F(t).x), E(n, "y", F(t).y + 3), E(n, "text-anchor", F(t).x < (F(G).radarCenter?.cx ?? 0) - 2 ? "end" : F(t).x > (F(G).radarCenter?.cx ?? 0) + 2 ? "start" : "middle"), O(r, e);
3264
3264
  }, [() => as(F(t).label, 14)]), m(e, n);
3265
3265
  });
3266
3266
  var a = w(i);
3267
- N(a, 17, () => F(G).arcs, S, (e, t) => {
3268
- var n = O(), r = T(n), i = (e) => {
3267
+ N(a, 17, () => F(G).arcs, b, (e, t) => {
3268
+ var n = D(), r = S(n), i = (e) => {
3269
3269
  var n = br();
3270
- C(() => D(n, "d", F(t).trackPath)), m(e, n);
3270
+ x(() => E(n, "d", F(t).trackPath)), m(e, n);
3271
3271
  };
3272
3272
  h(r, (e) => {
3273
3273
  F(t).trackPath && e(i);
3274
3274
  }), m(e, n);
3275
3275
  });
3276
3276
  var o = w(a);
3277
- N(o, 17, () => F(G).chordRibbons, S, (e, t) => {
3277
+ N(o, 17, () => F(G).chordRibbons, b, (e, t) => {
3278
3278
  var n = xr();
3279
- C((e) => {
3280
- D(n, "d", F(t).path), D(n, "fill", F(t).color), D(n, "stroke", F(t).color), M(n, e);
3281
- }, [() => `opacity:${J(F(t).source) === 1 && J(F(t).target) === 1 ? 1 : .18}`]), _("mousemove", n, (e) => Ds(e.clientX, e.clientY, F(t))), x("mouseleave", n, Q), m(e, n);
3279
+ x((e) => {
3280
+ E(n, "d", F(t).path), E(n, "fill", F(t).color), E(n, "stroke", F(t).color), M(n, e);
3281
+ }, [() => `opacity:${J(F(t).source) === 1 && J(F(t).target) === 1 ? 1 : .18}`]), g("mousemove", n, (e) => Ds(e.clientX, e.clientY, F(t))), y("mouseleave", n, Q), m(e, n);
3282
3282
  });
3283
3283
  var s = w(o);
3284
- N(s, 17, () => F(G).arcs, S, (e, t, n) => {
3284
+ N(s, 17, () => F(G).arcs, b, (e, t, n) => {
3285
3285
  var r = Sr();
3286
3286
  let i;
3287
- C((e, n, a, o) => {
3288
- i = P(r, 0, "sv-grid-chart-arc svelte-kvdein", null, i, e), D(r, "d", F(t).path), D(r, "fill", F(t).color), M(r, n), D(r, "role", f.onSelect || F(Y) || F(Wa) && F(t).nodePath ? "button" : "img"), D(r, "tabindex", a), D(r, "aria-label", o);
3287
+ x((e, n, a, o) => {
3288
+ i = P(r, 0, "sv-grid-chart-arc svelte-kvdein", null, i, e), E(r, "d", F(t).path), E(r, "fill", F(t).color), M(r, n), E(r, "role", f.onSelect || F(Y) || F(Wa) && F(t).nodePath ? "button" : "img"), E(r, "tabindex", a), E(r, "aria-label", o);
3289
3289
  }, [
3290
3290
  () => ({
3291
3291
  "is-selected": Ro(F(t).label, F(t).series),
@@ -3294,32 +3294,32 @@ function ni(ne, f) {
3294
3294
  () => `opacity:${J(F(ho) || F(B).type === "sunburst" || F(B).type === "chord" ? F(t).label : F(t).series)}`,
3295
3295
  () => Is(".sv-grid-chart-arc", n),
3296
3296
  () => `${F(t).nodePath ? F(t).nodePath.join(" / ") : F(t).label}${F(t).series ? ` ${F(t).series}` : ""}: ${V(F(t).value)}`
3297
- ]), _("mousemove", r, (e) => Es(e.clientX, e.clientY, F(t))), x("mouseleave", r, Q), x("focus", r, (e) => {
3297
+ ]), g("mousemove", r, (e) => Es(e.clientX, e.clientY, F(t))), y("mouseleave", r, Q), y("focus", r, (e) => {
3298
3298
  Ls(".sv-grid-chart-arc", n);
3299
3299
  let r = zs(e.currentTarget);
3300
3300
  Es(r.x, r.y, F(t));
3301
- }), x("blur", r, Q), _("click", r, (e) => {
3301
+ }), y("blur", r, Q), g("click", r, (e) => {
3302
3302
  F(t).nodePath && Za(F(t).nodePath) || Ms(F(t).label, F(t).series, F(t).value, void 0, e);
3303
- }), _("keydown", r, (e) => Rs(e, ".sv-grid-chart-arc", n, () => {
3303
+ }), g("keydown", r, (e) => Rs(e, ".sv-grid-chart-arc", n, () => {
3304
3304
  F(t).nodePath && Za(F(t).nodePath) || (f.onSelect || F(Y)) && Ms(F(t).label, F(t).series, F(t).value, void 0, e);
3305
3305
  })), m(e, r);
3306
3306
  });
3307
3307
  var c = w(s);
3308
- N(c, 17, () => F(G).arcs, S, (e, t) => {
3309
- var n = O(), r = T(n), i = (e) => {
3310
- var n = O(), r = T(n), i = (e) => {
3311
- var n = Cr(), r = g(n, !0);
3312
- E(n), C((e) => {
3313
- D(n, "x", F(t).lx), D(n, "y", F(t).ly + 3), D(n, "text-anchor", F(t).lx < F(t).cx - 2 ? "end" : F(t).lx > F(t).cx + 2 ? "start" : "middle"), k(r, e);
3308
+ N(c, 17, () => F(G).arcs, b, (e, t) => {
3309
+ var n = D(), r = S(n), i = (e) => {
3310
+ var n = D(), r = S(n), i = (e) => {
3311
+ var n = Cr(), r = C(n, !0);
3312
+ j(n), x((e) => {
3313
+ E(n, "x", F(t).lx), E(n, "y", F(t).ly + 3), E(n, "text-anchor", F(t).lx < F(t).cx - 2 ? "end" : F(t).lx > F(t).cx + 2 ? "start" : "middle"), O(r, e);
3314
3314
  }, [() => as(F(t).label, 14)]), m(e, n);
3315
3315
  };
3316
3316
  h(r, (e) => {
3317
3317
  F(t).a1 - F(t).a0 > .12 && F(B).xAxis?.labels !== !1 && e(i);
3318
3318
  }), m(e, n);
3319
3319
  }, a = (e) => {
3320
- var n = wr(), r = g(n, !0);
3321
- E(n), C((e) => {
3322
- D(n, "x", F(t).lx), D(n, "y", F(t).ly), D(n, "fill", F(t).textColor), k(r, e);
3320
+ var n = wr(), r = C(n, !0);
3321
+ j(n), x((e) => {
3322
+ E(n, "x", F(t).lx), E(n, "y", F(t).ly), E(n, "fill", F(t).textColor), O(r, e);
3323
3323
  }, [() => as(F(_i).show && F(B).type !== "sunburst" ? V(F(t).value) : F(t).label, 12)]), m(e, n);
3324
3324
  };
3325
3325
  h(r, (e) => {
@@ -3331,53 +3331,53 @@ function ni(ne, f) {
3331
3331
  F(po) && e(rl);
3332
3332
  });
3333
3333
  var il = w(nl), al = (e) => {
3334
- var t = O(), n = T(t);
3335
- N(n, 17, () => F(G).bullets, S, (e, t) => {
3336
- var n = Or(), r = g(n);
3337
- N(r, 17, () => F(t).ranges, S, (e, n) => {
3334
+ var t = D(), n = S(t);
3335
+ N(n, 17, () => F(G).bullets, b, (e, t) => {
3336
+ var n = Or(), r = C(n);
3337
+ N(r, 17, () => F(t).ranges, b, (e, n) => {
3338
3338
  var r = Er();
3339
- C(() => {
3340
- D(r, "x", F(n).x), D(r, "y", F(t).y), D(r, "width", F(n).w), D(r, "height", F(t).h), D(r, "fill", F(n).color);
3339
+ x(() => {
3340
+ E(r, "x", F(n).x), E(r, "y", F(t).y), E(r, "width", F(n).w), E(r, "height", F(t).h), E(r, "fill", F(n).color);
3341
3341
  }), m(e, r);
3342
3342
  });
3343
3343
  var i = w(r), a = w(i), o = (e) => {
3344
3344
  var n = Dr();
3345
- C(() => {
3346
- D(n, "x1", F(t).targetX), D(n, "y1", F(t).y + F(t).h * .15), D(n, "x2", F(t).targetX), D(n, "y2", F(t).y + F(t).h * .85);
3345
+ x(() => {
3346
+ E(n, "x1", F(t).targetX), E(n, "y1", F(t).y + F(t).h * .15), E(n, "x2", F(t).targetX), E(n, "y2", F(t).y + F(t).h * .85);
3347
3347
  }), m(e, n);
3348
3348
  };
3349
3349
  h(a, (e) => {
3350
3350
  F(t).targetX != null && e(o);
3351
- }), E(n), C(() => {
3352
- D(i, "x", F(t).x), D(i, "y", F(t).y + F(t).h * .3), D(i, "width", F(t).measureW), D(i, "height", F(t).h * .4), D(i, "fill", F(t).color);
3353
- }), _("mousemove", n, (e) => Os(e.clientX, e.clientY, F(t))), x("mouseleave", n, Q), m(e, n);
3351
+ }), j(n), x(() => {
3352
+ E(i, "x", F(t).x), E(i, "y", F(t).y + F(t).h * .3), E(i, "width", F(t).measureW), E(i, "height", F(t).h * .4), E(i, "fill", F(t).color);
3353
+ }), g("mousemove", n, (e) => Os(e.clientX, e.clientY, F(t))), y("mouseleave", n, Q), m(e, n);
3354
3354
  }), m(e, t);
3355
3355
  };
3356
3356
  h(il, (e) => {
3357
3357
  F(mo) && e(al);
3358
3358
  });
3359
3359
  var ol = w(il);
3360
- N(ol, 17, () => F(G).slices, S, (e, t, n) => {
3361
- var r = jr(), i = T(r);
3360
+ N(ol, 17, () => F(G).slices, b, (e, t, n) => {
3361
+ var r = jr(), i = S(r);
3362
3362
  let a;
3363
3363
  var o = w(i), s = (e) => {
3364
- var n = kr(), r = T(n), i = w(r), a = g(i, !0);
3365
- E(i), C((e) => {
3366
- D(r, "points", `${F(t).callout.x1},${F(t).callout.y1} ${F(t).callout.x2},${F(t).callout.y2} ${F(t).callout.x3},${F(t).callout.y2}`), D(r, "stroke", F(t).color), D(i, "x", F(t).callout.tx), D(i, "y", F(t).callout.ty + 3.5), D(i, "text-anchor", F(t).callout.anchor), k(a, e);
3364
+ var n = kr(), r = S(n), i = w(r), a = C(i, !0);
3365
+ j(i), x((e) => {
3366
+ E(r, "points", `${F(t).callout.x1},${F(t).callout.y1} ${F(t).callout.x2},${F(t).callout.y2} ${F(t).callout.x3},${F(t).callout.y2}`), E(r, "stroke", F(t).color), E(i, "x", F(t).callout.tx), E(i, "y", F(t).callout.ty + 3.5), E(i, "text-anchor", F(t).callout.anchor), O(a, e);
3367
3367
  }, [() => F(_i).formatter ? F(_i).formatter(F(t).value, {
3368
3368
  category: F(t).label,
3369
3369
  series: F(t).label
3370
3370
  }) : `${as(F(t).label, Math.min(18, F(t).callout.maxChars))} ${F(t).percent.toFixed(0)}%`]), m(e, n);
3371
3371
  }, c = (e) => {
3372
- var n = Ar(), r = g(n);
3373
- E(n), C((e) => {
3374
- D(n, "x", F(t).cx), D(n, "y", F(t).cy), k(r, `${e ?? ""}%`);
3372
+ var n = Ar(), r = C(n);
3373
+ j(n), x((e) => {
3374
+ E(n, "x", F(t).cx), E(n, "y", F(t).cy), O(r, `${e ?? ""}%`);
3375
3375
  }, [() => F(t).percent.toFixed(0)]), m(e, n);
3376
3376
  };
3377
3377
  h(o, (e) => {
3378
3378
  F(t).callout ? e(s) : F(_i).show && F(_i).placement !== "outside" && F(t).percent >= 6 && e(c, 1);
3379
- }), C((e, n, r, o, s) => {
3380
- a = P(i, 0, "sv-grid-chart-slice svelte-kvdein", null, a, e), D(i, "d", F(t).path), D(i, "fill", F(t).color), M(i, n), D(i, "role", r), D(i, "tabindex", o), D(i, "aria-label", s);
3379
+ }), x((e, n, r, o, s) => {
3380
+ a = P(i, 0, "sv-grid-chart-slice svelte-kvdein", null, a, e), E(i, "d", F(t).path), E(i, "fill", F(t).color), M(i, n), E(i, "role", r), E(i, "tabindex", o), E(i, "aria-label", s);
3381
3381
  }, [
3382
3382
  () => ({
3383
3383
  "is-selected": Ro(F(t).label, F(t).label),
@@ -3387,50 +3387,50 @@ function ni(ne, f) {
3387
3387
  () => f.onSelect || F(Y) || Ya(F(t).label) ? "button" : "img",
3388
3388
  () => Is(".sv-grid-chart-slice", n),
3389
3389
  () => `${F(t).label}: ${V(F(t).value)}, ${F(t).percent.toFixed(1)}%${Ya(F(t).label) ? F(z).drillIn : ""}`
3390
- ]), _("mousemove", i, (e) => Ss(e.clientX, e.clientY, F(t).label, F(t).value, F(t).percent)), x("mouseleave", i, Q), x("focus", i, (e) => {
3390
+ ]), g("mousemove", i, (e) => Ss(e.clientX, e.clientY, F(t).label, F(t).value, F(t).percent)), y("mouseleave", i, Q), y("focus", i, (e) => {
3391
3391
  Ls(".sv-grid-chart-slice", n);
3392
3392
  let r = zs(e.currentTarget);
3393
3393
  Ss(r.x, r.y, F(t).label, F(t).value, F(t).percent);
3394
- }), x("blur", i, Q), _("click", i, (e) => {
3394
+ }), y("blur", i, Q), g("click", i, (e) => {
3395
3395
  Ya(F(t).label) && Za([...Ie(), F(t).label]) || Ms(F(t).label, F(t).label, F(t).value, n, e);
3396
- }), _("keydown", i, (e) => {
3396
+ }), g("keydown", i, (e) => {
3397
3397
  qs(e, n) || Rs(e, ".sv-grid-chart-slice", n, () => {
3398
3398
  Ya(F(t).label) && Za([...Ie(), F(t).label]) || (f.onSelect || F(Y)) && Ms(F(t).label, F(t).label, F(t).value, n, e);
3399
3399
  });
3400
3400
  }), m(e, r);
3401
3401
  });
3402
3402
  var sl = w(ol), cl = (e) => {
3403
- var t = Mr(), n = T(t), r = g(n, !0);
3404
- E(n);
3405
- var i = w(n), a = g(i, !0);
3406
- E(i), C((e) => {
3407
- D(n, "x", F(G).donut.cx), D(n, "y", F(G).donut.cy - 4), k(r, e), D(i, "x", F(G).donut.cx), D(i, "y", F(G).donut.cy + 11), k(a, F(z).total);
3403
+ var t = Mr(), n = S(t), r = C(n, !0);
3404
+ j(n);
3405
+ var i = w(n), a = C(i, !0);
3406
+ j(i), x((e) => {
3407
+ E(n, "x", F(G).donut.cx), E(n, "y", F(G).donut.cy - 4), O(r, e), E(i, "x", F(G).donut.cx), E(i, "y", F(G).donut.cy + 11), O(a, F(z).total);
3408
3408
  }, [() => V(F(G).donut.total)]), m(e, t);
3409
3409
  };
3410
3410
  h(sl, (e) => {
3411
3411
  F(G).donut && e(cl);
3412
3412
  });
3413
3413
  var ll = w(sl), ul = (e) => {
3414
- var t = O(), n = T(t), r = (e) => {
3414
+ var t = D(), n = S(t), r = (e) => {
3415
3415
  var t = Nr();
3416
- C((e) => {
3417
- D(t, "x", F(G).plot.x), D(t, "y", F(G).plot.y), D(t, "width", F(G).plot.w), D(t, "height", F(G).plot.h), D(t, "role", f.onSelect ? "button" : "img"), D(t, "tabindex", v() ? 0 : void 0), D(t, "data-cat-index", F(jo)), D(t, "aria-label", e);
3416
+ x((e) => {
3417
+ E(t, "x", F(G).plot.x), E(t, "y", F(G).plot.y), E(t, "width", F(G).plot.w), E(t, "height", F(G).plot.h), E(t, "role", f.onSelect ? "button" : "img"), E(t, "tabindex", _() ? 0 : void 0), E(t, "data-cat-index", F(jo)), E(t, "aria-label", e);
3418
3418
  }, [() => et(F(z).densePoints, {
3419
3419
  count: F(Eo),
3420
3420
  from: F(W).categories[0] ?? "",
3421
3421
  to: F(W).categories[F(W).categories.length - 1] ?? ""
3422
- })]), _("mousemove", t, (e) => {
3422
+ })]), g("mousemove", t, (e) => {
3423
3423
  let t = Ao(e.clientX, e.currentTarget);
3424
- t != null && (b(jo, t, !0), bs(e.clientX, e.clientY, t));
3425
- }), x("mouseleave", t, Q), x("focus", t, (e) => xs(e.currentTarget, F(jo))), x("blur", t, Q), _("click", t, (e) => js(e, F(jo))), _("keydown", t, Mo), m(e, t);
3424
+ t != null && (p(jo, t, !0), bs(e.clientX, e.clientY, t));
3425
+ }), y("mouseleave", t, Q), y("focus", t, (e) => xs(e.currentTarget, F(jo))), y("blur", t, Q), g("click", t, (e) => js(e, F(jo))), g("keydown", t, Mo), m(e, t);
3426
3426
  }, i = (e) => {
3427
- var t = O(), n = T(t);
3427
+ var t = D(), n = S(t);
3428
3428
  N(n, 19, () => F(W).categories, (e, t) => e + t, (e, t, n) => {
3429
- let r = j(() => F(G).lines[0]?.points), i = j(() => F(r)?.[F(n)]?.x), a = j(() => !F(q) && F(r) && F(r).length === F(W).categories.length && Number.isFinite(F(i))), o = j(() => F(a) && F(n) > 0 ? F(r)[F(n) - 1].x : null), s = j(() => F(a) && F(n) < F(r).length - 1 ? F(r)[F(n) + 1].x : null), c = j(() => F(a) ? F(o) == null ? F(G).plot.x : (F(o) + F(i)) / 2 : F(G).plot.x + F(wo) * F(n)), l = j(() => F(a) ? F(s) == null ? F(G).plot.x + F(G).plot.w : (F(i) + F(s)) / 2 : F(G).plot.x + F(wo) * (F(n) + 1));
3429
+ let r = A(() => F(G).lines[0]?.points), i = A(() => F(r)?.[F(n)]?.x), a = A(() => !F(q) && F(r) && F(r).length === F(W).categories.length && Number.isFinite(F(i))), o = A(() => F(a) && F(n) > 0 ? F(r)[F(n) - 1].x : null), s = A(() => F(a) && F(n) < F(r).length - 1 ? F(r)[F(n) + 1].x : null), c = A(() => F(a) ? F(o) == null ? F(G).plot.x : (F(o) + F(i)) / 2 : F(G).plot.x + F(wo) * F(n)), l = A(() => F(a) ? F(s) == null ? F(G).plot.x + F(G).plot.w : (F(i) + F(s)) / 2 : F(G).plot.x + F(wo) * (F(n) + 1));
3430
3430
  var u = Pr();
3431
- C((e, t) => {
3432
- D(u, "x", F(q) ? F(G).plot.x : F(c)), D(u, "y", F(q) ? F(G).plot.y + F(wo) * F(n) : F(G).plot.y), D(u, "width", e), D(u, "height", F(q) ? F(wo) : F(G).plot.h), D(u, "role", f.onSelect ? "button" : "img"), D(u, "tabindex", v() ? F(n) === 0 ? 0 : -1 : void 0), D(u, "data-cat-index", F(n)), D(u, "aria-label", t);
3433
- }, [() => F(q) ? F(G).plot.w : Math.max(0, F(l) - F(c)), () => `${F(t)}: ${ps(F(n)).map((e) => `${e.label} ${e.value}`).join(", ")}`]), _("mousemove", u, (e) => bs(e.clientX, e.clientY, F(n), e.currentTarget)), x("mouseleave", u, Q), x("focus", u, (e) => xs(e.currentTarget, F(n))), x("blur", u, Q), _("click", u, (e) => js(e, F(n))), _("keydown", u, (e) => Ps(e, F(n))), m(e, u);
3431
+ x((e, t) => {
3432
+ E(u, "x", F(q) ? F(G).plot.x : F(c)), E(u, "y", F(q) ? F(G).plot.y + F(wo) * F(n) : F(G).plot.y), E(u, "width", e), E(u, "height", F(q) ? F(wo) : F(G).plot.h), E(u, "role", f.onSelect ? "button" : "img"), E(u, "tabindex", _() ? F(n) === 0 ? 0 : -1 : void 0), E(u, "data-cat-index", F(n)), E(u, "aria-label", t);
3433
+ }, [() => F(q) ? F(G).plot.w : Math.max(0, F(l) - F(c)), () => `${F(t)}: ${ps(F(n)).map((e) => `${e.label} ${e.value}`).join(", ")}`]), g("mousemove", u, (e) => bs(e.clientX, e.clientY, F(n), e.currentTarget)), y("mouseleave", u, Q), y("focus", u, (e) => xs(e.currentTarget, F(n))), y("blur", u, Q), g("click", u, (e) => js(e, F(n))), g("keydown", u, (e) => Ps(e, F(n))), m(e, u);
3434
3434
  }), m(e, t);
3435
3435
  };
3436
3436
  h(n, (e) => {
@@ -3442,60 +3442,60 @@ function ni(ne, f) {
3442
3442
  });
3443
3443
  var dl = w(ll), fl = (e) => {
3444
3444
  var t = Fr();
3445
- C(() => {
3446
- D(t, "x", F($i).x), D(t, "y", F($i).y), D(t, "width", F($i).w), D(t, "height", F($i).h);
3445
+ x(() => {
3446
+ E(t, "x", F($i).x), E(t, "y", F($i).y), E(t, "width", F($i).w), E(t, "height", F($i).h);
3447
3447
  }), m(e, t);
3448
3448
  };
3449
3449
  h(dl, (e) => {
3450
3450
  F($i) && e(fl);
3451
- }), E($), me($, (e) => b(Xi, e), () => F(Xi));
3451
+ }), j($), me($, (e) => p(Xi, e), () => F(Xi));
3452
3452
  var pl = w($, 2), ml = (e) => {
3453
- let t = j(() => F(U).plot.x + F(La).t0 * F(U).plot.w), n = j(() => (F(La).t1 - F(La).t0) * F(U).plot.w);
3454
- var r = zr(), i = g(r);
3455
- D(i, "aria-valuemin", 0);
3456
- var a = g(i);
3457
- N(a, 17, () => F(U).lines, S, (e, t) => {
3458
- var n = Lr(), r = T(n), i = (e) => {
3453
+ let t = A(() => F(U).plot.x + F(La).t0 * F(U).plot.w), n = A(() => (F(La).t1 - F(La).t0) * F(U).plot.w);
3454
+ var r = zr(), i = C(r);
3455
+ E(i, "aria-valuemin", 0);
3456
+ var a = C(i);
3457
+ N(a, 17, () => F(U).lines, b, (e, t) => {
3458
+ var n = Lr(), r = S(n), i = (e) => {
3459
3459
  var n = Ir();
3460
- C(() => {
3461
- D(n, "d", F(t).areaPath), D(n, "fill", F(t).color);
3460
+ x(() => {
3461
+ E(n, "d", F(t).areaPath), E(n, "fill", F(t).color);
3462
3462
  }), m(e, n);
3463
3463
  };
3464
3464
  h(r, (e) => {
3465
3465
  F(t).areaPath && e(i);
3466
3466
  });
3467
3467
  var a = w(r);
3468
- C(() => {
3469
- D(a, "d", F(t).path), D(a, "stroke", F(t).color);
3468
+ x(() => {
3469
+ E(a, "d", F(t).path), E(a, "stroke", F(t).color);
3470
3470
  }), m(e, n);
3471
3471
  });
3472
3472
  var o = w(a);
3473
- N(o, 17, () => F(U).bars, S, (e, t) => {
3473
+ N(o, 17, () => F(U).bars, b, (e, t) => {
3474
3474
  var n = Rr();
3475
- C(() => {
3476
- D(n, "x", F(t).x), D(n, "y", F(t).y), D(n, "width", F(t).w), D(n, "height", F(t).h), D(n, "fill", F(t).color);
3475
+ x(() => {
3476
+ E(n, "x", F(t).x), E(n, "y", F(t).y), E(n, "width", F(t).w), E(n, "height", F(t).h), E(n, "fill", F(t).color);
3477
3477
  }), m(e, n);
3478
3478
  });
3479
3479
  var s = w(o), c = w(s), l = w(c), u = w(l), d = w(u);
3480
- E(i), E(r), C((e, r) => {
3481
- D(i, "viewBox", `0 0 ${F(U).width} ${F(U).height}`), D(i, "aria-label", F(z).rangeBrush), D(i, "aria-valuemax", e), D(i, "aria-valuenow", I()?.i0 ?? 0), D(i, "aria-valuetext", r), D(s, "x", F(U).plot.x), D(s, "y", F(U).plot.y), D(s, "width", F(t) - F(U).plot.x), D(s, "height", F(U).plot.h), D(c, "x", F(t) + F(n)), D(c, "y", F(U).plot.y), D(c, "width", F(U).plot.x + F(U).plot.w - (F(t) + F(n))), D(c, "height", F(U).plot.h), D(l, "x", F(t)), D(l, "y", F(U).plot.y), D(l, "width", F(n)), D(l, "height", F(U).plot.h), D(u, "x", F(t) - 4), D(u, "y", F(U).plot.y), D(u, "height", F(U).plot.h), D(d, "x", F(t) + F(n) - 4), D(d, "y", F(U).plot.y), D(d, "height", F(U).plot.h);
3480
+ j(i), j(r), x((e, r) => {
3481
+ E(i, "viewBox", `0 0 ${F(U).width} ${F(U).height}`), E(i, "aria-label", F(z).rangeBrush), E(i, "aria-valuemax", e), E(i, "aria-valuenow", I()?.i0 ?? 0), E(i, "aria-valuetext", r), E(s, "x", F(U).plot.x), E(s, "y", F(U).plot.y), E(s, "width", F(t) - F(U).plot.x), E(s, "height", F(U).plot.h), E(c, "x", F(t) + F(n)), E(c, "y", F(U).plot.y), E(c, "width", F(U).plot.x + F(U).plot.w - (F(t) + F(n))), E(c, "height", F(U).plot.h), E(l, "x", F(t)), E(l, "y", F(U).plot.y), E(l, "width", F(n)), E(l, "height", F(U).plot.h), E(u, "x", F(t) - 4), E(u, "y", F(U).plot.y), E(u, "height", F(U).plot.h), E(d, "x", F(t) + F(n) - 4), E(d, "y", F(U).plot.y), E(d, "height", F(U).plot.h);
3482
3482
  }, [() => Math.max(0, F(B).categories.length - 1), () => et(F(z).brushRange, {
3483
3483
  from: F(B).categories[I()?.i0 ?? 0] ?? "",
3484
3484
  to: F(B).categories[I()?.i1 ?? F(B).categories.length - 1] ?? ""
3485
- })]), _("pointermove", i, Va), _("keydown", i, Vs), _("pointerdown", l, (e) => Ba(e, "move")), _("pointerup", l, Ha), x("pointercancel", l, Ha), _("pointerdown", u, (e) => Ba(e, "left")), _("pointerup", u, Ha), x("pointercancel", u, Ha), _("pointerdown", d, (e) => Ba(e, "right")), _("pointerup", d, Ha), x("pointercancel", d, Ha), ve(r, "clientHeight", (e) => b(pi, e)), m(e, r);
3485
+ })]), g("pointermove", i, Va), g("keydown", i, Vs), g("pointerdown", l, (e) => Ba(e, "move")), g("pointerup", l, Ha), y("pointercancel", l, Ha), g("pointerdown", u, (e) => Ba(e, "left")), g("pointerup", u, Ha), y("pointercancel", u, Ha), g("pointerdown", d, (e) => Ba(e, "right")), g("pointerup", d, Ha), y("pointercancel", d, Ha), ve(r, "clientHeight", (e) => p(pi, e)), m(e, r);
3486
3486
  };
3487
3487
  h(pl, (e) => {
3488
3488
  F(Fa) && F(U) && e(ml);
3489
3489
  });
3490
3490
  var hl = w(pl, 2), gl = (e) => {
3491
- var t = Br(), n = g(t, !0);
3492
- E(t), C(() => k(n, F(z).noData)), m(e, t);
3491
+ var t = Br(), n = C(t, !0);
3492
+ j(t), x(() => O(n, F(z).noData)), m(e, t);
3493
3493
  };
3494
3494
  h(hl, (e) => {
3495
3495
  F(Zo) && e(gl);
3496
3496
  });
3497
3497
  var _l = w(hl, 2), vl = (e) => {
3498
- var t = O(), n = T(t);
3498
+ var t = D(), n = S(t);
3499
3499
  oe(n, () => F(Ws), (e, t) => {
3500
3500
  t(e, {
3501
3501
  get items() {
@@ -3507,7 +3507,7 @@ function ni(ne, f) {
3507
3507
  get y() {
3508
3508
  return F(Us).y;
3509
3509
  },
3510
- onClose: () => b(Us, null)
3510
+ onClose: () => p(Us, null)
3511
3511
  });
3512
3512
  }), m(e, t);
3513
3513
  };
@@ -3516,11 +3516,11 @@ function ni(ne, f) {
3516
3516
  });
3517
3517
  var yl = w(_l, 2), bl = (e) => {
3518
3518
  var t = Vr();
3519
- he(t), ce(() => be(t, () => F(pa), (e) => b(pa, e))), xe(t, (e) => ka?.(e)), C(() => {
3520
- D(t, "placeholder", F(z).noteText), D(t, "aria-label", F(z).noteText), M(t, `left:${F(fa).left}px; top:${F(fa).top}px;`);
3521
- }), _("keydown", t, (e) => {
3522
- e.key === "Enter" ? (e.preventDefault(), ma()) : e.key === "Escape" && (e.preventDefault(), e.stopPropagation(), b(fa, null), b(pa, ""));
3523
- }), x("blur", t, ma), m(e, t);
3519
+ ge(t), ce(() => be(t, () => F(pa), (e) => p(pa, e))), xe(t, (e) => ka?.(e)), x(() => {
3520
+ E(t, "placeholder", F(z).noteText), E(t, "aria-label", F(z).noteText), M(t, `left:${F(fa).left}px; top:${F(fa).top}px;`);
3521
+ }), g("keydown", t, (e) => {
3522
+ e.key === "Enter" ? (e.preventDefault(), ma()) : e.key === "Escape" && (e.preventDefault(), e.stopPropagation(), p(fa, null), p(pa, ""));
3523
+ }), y("blur", t, ma), m(e, t);
3524
3524
  };
3525
3525
  h(yl, (e) => {
3526
3526
  F(fa) && e(bl);
@@ -3528,35 +3528,35 @@ function ni(ne, f) {
3528
3528
  var xl = w(yl, 2), Sl = (e) => {
3529
3529
  var t = Kr();
3530
3530
  let n;
3531
- var r = g(t), i = (e) => {
3532
- var t = O(), n = T(t);
3531
+ var r = C(t), i = (e) => {
3532
+ var t = D(), n = S(t);
3533
3533
  ue(n, () => f.tooltip, () => F(ls).ctx), m(e, t);
3534
3534
  }, a = (e) => {
3535
- var t = Gr(), n = T(t), r = g(n, !0);
3536
- E(n);
3535
+ var t = Gr(), n = S(t), r = C(n, !0);
3536
+ j(n);
3537
3537
  var i = w(n, 2);
3538
- N(i, 17, () => F(ls).rows, S, (e, t) => {
3539
- var n = Wr(), r = g(n), i = (e) => {
3538
+ N(i, 17, () => F(ls).rows, b, (e, t) => {
3539
+ var n = Wr(), r = C(n), i = (e) => {
3540
3540
  var n = Hr();
3541
- C(() => M(n, `background:${F(t).color}`)), m(e, n);
3541
+ x(() => M(n, `background:${F(t).color}`)), m(e, n);
3542
3542
  };
3543
3543
  h(r, (e) => {
3544
3544
  F(t).color && e(i);
3545
3545
  });
3546
3546
  var a = w(r, 2), o = (e) => {
3547
- var n = Ur(), r = g(n, !0);
3548
- E(n), C(() => k(r, F(t).label)), m(e, n);
3547
+ var n = Ur(), r = C(n, !0);
3548
+ j(n), x(() => O(r, F(t).label)), m(e, n);
3549
3549
  };
3550
3550
  h(a, (e) => {
3551
3551
  F(t).label && e(o);
3552
3552
  });
3553
- var s = w(a, 2), c = g(s, !0);
3554
- E(s), E(n), C(() => k(c, F(t).value)), m(e, n);
3555
- }), C(() => k(r, F(ls).title)), m(e, t);
3553
+ var s = w(a, 2), c = C(s, !0);
3554
+ j(s), j(n), x(() => O(c, F(t).value)), m(e, n);
3555
+ }), x(() => O(r, F(ls).title)), m(e, t);
3556
3556
  };
3557
3557
  h(r, (e) => {
3558
3558
  f.tooltip ? e(i) : e(a, -1);
3559
- }), E(t), C(() => {
3559
+ }), j(t), x(() => {
3560
3560
  n = P(t, 1, "sv-grid-chart-tooltip svelte-kvdein", null, n, {
3561
3561
  "is-below": F(ls).below,
3562
3562
  "is-custom": !!f.tooltip,
@@ -3573,12 +3573,12 @@ function ni(ne, f) {
3573
3573
  var Cl = w(xl, 2), wl = (e) => {
3574
3574
  var t = Xr();
3575
3575
  let n;
3576
- var r = g(t);
3576
+ var r = C(t);
3577
3577
  N(r, 19, () => F(Xo), (e) => e.label, (e, t, n) => {
3578
3578
  var r = Jr();
3579
3579
  let i;
3580
- var a = g(r), o = (e) => {
3581
- var r = O(), i = T(r);
3580
+ var a = C(r), o = (e) => {
3581
+ var r = D(), i = S(r);
3582
3582
  ue(i, () => f.legendItem, () => ({
3583
3583
  label: F(t).label,
3584
3584
  color: F(t).color,
@@ -3586,41 +3586,41 @@ function ni(ne, f) {
3586
3586
  index: F(n)
3587
3587
  })), m(e, r);
3588
3588
  }, s = (e) => {
3589
- var n = qr(), r = T(n), i = w(r);
3590
- C(() => {
3591
- M(r, `background:${F(t).off ? "transparent" : F(t).color}; border-color:${F(t).color}`), k(i, ` ${F(t).label ?? ""}`);
3589
+ var n = qr(), r = S(n), i = w(r);
3590
+ x(() => {
3591
+ M(r, `background:${F(t).off ? "transparent" : F(t).color}; border-color:${F(t).color}`), O(i, ` ${F(t).label ?? ""}`);
3592
3592
  }), m(e, n);
3593
3593
  };
3594
3594
  h(a, (e) => {
3595
3595
  f.legendItem ? e(o) : e(s, -1);
3596
- }), E(r), C(() => {
3596
+ }), j(r), x(() => {
3597
3597
  i = P(r, 1, "sv-grid-chart-legend-item svelte-kvdein", null, i, {
3598
3598
  "is-off": F(t).off,
3599
3599
  "is-isolated": F(Ei) === F(t).label
3600
- }), r.disabled = !v() || !F(qo), D(r, "aria-pressed", F(qo) ? !F(t).off : void 0), D(r, "title", v() ? `${F(t).off ? F(z).showSeries : F(z).hideSeries} ${F(t).label} \u00b7 ${F(z).isolateHint}` : F(t).label);
3601
- }), _("click", r, () => $o(F(t).label)), _("dblclick", r, () => es(F(t).label)), x("pointerenter", r, () => v() && b(Oi, F(t).label, !0)), x("pointerleave", r, () => b(Oi, null)), m(e, r);
3600
+ }), r.disabled = !_() || !F(qo), E(r, "aria-pressed", F(qo) ? !F(t).off : void 0), E(r, "title", _() ? `${F(t).off ? F(z).showSeries : F(z).hideSeries} ${F(t).label} \u00b7 ${F(z).isolateHint}` : F(t).label);
3601
+ }), g("click", r, () => $o(F(t).label)), g("dblclick", r, () => es(F(t).label)), y("pointerenter", r, () => _() && p(Oi, F(t).label, !0)), y("pointerleave", r, () => p(Oi, null)), m(e, r);
3602
3602
  });
3603
3603
  var i = w(r, 2), a = (e) => {
3604
- var t = Yr(), n = g(t, !0);
3605
- E(t), C((e) => k(n, e), [() => F(Jo) ? F(z).showLess : et(F(z).showMore, { n: F(Ho).length - 10 })]), _("click", t, () => b(Jo, !F(Jo))), m(e, t);
3604
+ var t = Yr(), n = C(t, !0);
3605
+ j(t), x((e) => O(n, e), [() => F(Jo) ? F(z).showLess : et(F(z).showMore, { n: F(Ho).length - 10 })]), g("click", t, () => p(Jo, !F(Jo))), m(e, t);
3606
3606
  };
3607
3607
  h(i, (e) => {
3608
3608
  F(Yo) && e(a);
3609
- }), E(t), C(() => n = P(t, 1, "sv-grid-chart-legend svelte-kvdein", null, n, { "is-vertical": F(li) })), ve(t, "clientWidth", (e) => b(di, e)), ve(t, "clientHeight", (e) => b(fi, e)), m(e, t);
3609
+ }), j(t), x(() => n = P(t, 1, "sv-grid-chart-legend svelte-kvdein", null, n, { "is-vertical": F(li) })), ve(t, "clientWidth", (e) => p(di, e)), ve(t, "clientHeight", (e) => p(fi, e)), m(e, t);
3610
3610
  };
3611
3611
  h(Cl, (e) => {
3612
3612
  F(ci) && F(Ho).length && e(wl);
3613
3613
  });
3614
3614
  var Tl = w(Cl, 2), El = (e) => {
3615
- var t = Zr(), n = g(t, !0);
3616
- E(t), C(() => k(n, F(Vo))), m(e, t);
3615
+ var t = Zr(), n = C(t, !0);
3616
+ j(t), x(() => O(n, F(Vo))), m(e, t);
3617
3617
  };
3618
3618
  h(Tl, (e) => {
3619
3619
  ze() && e(El);
3620
3620
  });
3621
- var Dl = w(Tl, 2), Ol = g(Dl), kl = g(Ol), Al = g(kl, !0), jl = w(Al), Ml = (e) => {
3621
+ var Dl = w(Tl, 2), Ol = C(Dl), kl = C(Ol), Al = C(kl, !0), jl = w(Al), Ml = (e) => {
3622
3622
  var t = se();
3623
- C((e) => k(t, e), [() => et(F(z).dataTableCapped, {
3623
+ x((e) => O(t, e), [() => et(F(z).dataTableCapped, {
3624
3624
  shown: Oo,
3625
3625
  total: F(ns).rows.length
3626
3626
  })]), m(e, t);
@@ -3630,52 +3630,52 @@ function ni(ne, f) {
3630
3630
  });
3631
3631
  var Nl = w(jl), Pl = (e) => {
3632
3632
  var t = se();
3633
- C(() => k(t, `. ${F(Ye) ?? ""}`)), m(e, t);
3633
+ x(() => O(t, `. ${F(Ye) ?? ""}`)), m(e, t);
3634
3634
  };
3635
3635
  h(Nl, (e) => {
3636
3636
  Be() && F(Ye) && e(Pl);
3637
- }), E(kl);
3638
- var Fl = w(kl), Il = g(Fl);
3637
+ }), j(kl);
3638
+ var Fl = w(kl), Il = C(Fl);
3639
3639
  N(Il, 20, () => F(ns).cols, (e) => e, (e, t) => {
3640
- var n = Qr(), r = g(n, !0);
3641
- E(n), C(() => k(r, t)), m(e, n);
3642
- }), E(Il), E(Fl);
3640
+ var n = Qr(), r = C(n, !0);
3641
+ j(n), x(() => O(r, t)), m(e, n);
3642
+ }), j(Il), j(Fl);
3643
3643
  var Ll = w(Fl);
3644
- N(Ll, 21, () => F(is), S, (e, t) => {
3644
+ N(Ll, 21, () => F(is), b, (e, t) => {
3645
3645
  var n = ei();
3646
- N(n, 21, () => F(t), S, (e, t) => {
3647
- var n = $r(), r = g(n, !0);
3648
- E(n), C(() => k(r, F(t))), m(e, n);
3649
- }), E(n), m(e, n);
3650
- }), E(Ll), E(Ol), E(Dl), E(rc), me(rc, (e) => b(ss, e), () => F(ss)), C((e, a, o) => {
3646
+ N(n, 21, () => F(t), b, (e, t) => {
3647
+ var n = $r(), r = C(n, !0);
3648
+ j(n), x(() => O(r, F(t))), m(e, n);
3649
+ }), j(n), m(e, n);
3650
+ }), j(Ll), j(Ol), j(Dl), j(rc), me(rc, (e) => p(ss, e), () => F(ss)), x((e, a, o) => {
3651
3651
  t = P($, 0, "sv-grid-chart-svg svelte-kvdein", null, t, {
3652
- "is-interactive": v(),
3652
+ "is-interactive": _(),
3653
3653
  "is-clickable": !!f.onSelect || !!f.onDrill,
3654
3654
  "is-zoomable": !!F(vi)?.drag && F(K) && !F(xi) && !F(yi),
3655
3655
  "is-pannable": !!F(vi)?.pan && F(K) && F(Ii) && F(yi),
3656
3656
  "is-annotating": F(xi),
3657
3657
  "is-dragging": !!F(Zi),
3658
3658
  "is-drawing": !!F(la)
3659
- }), D($, "viewBox", `0 0 ${F(G).width} ${F(G).height}`), D($, "role", v() ? "group" : "img"), D($, "aria-label", a), D($, "aria-description", Be() && F(Ye) ? F(Ye) : void 0), D($, "aria-describedby", `${Ai}-table`), n = M($, "", n, { height: Ke() ? `${F(gi) ?? F(B).height ?? 300}px` : null }), r = P(bc, 0, "sv-grid-chart-marks svelte-kvdein", null, r, {
3659
+ }), E($, "viewBox", `0 0 ${F(G).width} ${F(G).height}`), E($, "role", _() ? "group" : "img"), E($, "aria-label", a), E($, "aria-description", Be() && F(Ye) ? F(Ye) : void 0), E($, "aria-describedby", `${Ai}-table`), n = M($, "", n, { height: Ke() ? `${F(gi) ?? F(B).height ?? 300}px` : null }), r = P(bc, 0, "sv-grid-chart-marks svelte-kvdein", null, r, {
3660
3660
  "is-enter-grow": F(ao) === "grow",
3661
3661
  "is-enter-none": F(ao) === "none"
3662
- }), D(bc, "clip-path", F(K) ? `url(#${Ai}-plot)` : void 0), i = P(Mc, 0, "sv-grid-chart-marks svelte-kvdein", null, i, {
3662
+ }), E(bc, "clip-path", F(K) ? `url(#${Ai}-plot)` : void 0), i = P(Mc, 0, "sv-grid-chart-marks svelte-kvdein", null, i, {
3663
3663
  "is-enter-grow": F(ao) === "grow",
3664
3664
  "is-enter-none": F(ao) === "none"
3665
- }), D(Mc, "clip-path", F(K) ? `url(#${Ai}-plot)` : void 0), D(Ol, "id", `${Ai}-table`), k(Al, o);
3665
+ }), E(Mc, "clip-path", F(K) ? `url(#${Ai}-plot)` : void 0), E(Ol, "id", `${Ai}-table`), O(Al, o);
3666
3666
  }, [
3667
3667
  () => ee(F(B).style) || void 0,
3668
3668
  () => et(F(z).chartLabel, { type: F(B).type }),
3669
3669
  () => et(F(z).dataTable, { type: F(B).type })
3670
- ]), _("pointerdown", $, na), _("pointermove", $, (e) => {
3670
+ ]), g("pointerdown", $, na), g("pointermove", $, (e) => {
3671
3671
  ra(e), Ca(e);
3672
- }), _("pointerup", $, (e) => {
3673
- ia(e), b(ha, null);
3674
- }), x("pointercancel", $, (e) => {
3675
- ia(e), b(ha, null);
3676
- }), _("click", $, Sa), _("keydown", $, Ea), x("wheel", $, Gi), _("contextmenu", $, Gs), _("dblclick", $, aa), ve(rc, "clientWidth", (e) => b(ni, e)), ve(rc, "clientHeight", (e) => b(ri, e));
3672
+ }), g("pointerup", $, (e) => {
3673
+ ia(e), p(ha, null);
3674
+ }), y("pointercancel", $, (e) => {
3675
+ ia(e), p(ha, null);
3676
+ }), g("click", $, Sa), g("keydown", $, Ea), y("wheel", $, Gi), g("contextmenu", $, Gs), g("dblclick", $, aa), ve(rc, "clientWidth", (e) => p(ni, e)), ve(rc, "clientHeight", (e) => p(ri, e));
3677
3677
  }
3678
- return C((e, t, n) => {
3678
+ return x((e, t, n) => {
3679
3679
  ic = P(rc, 1, "sv-grid-chart svelte-kvdein", null, ic, {
3680
3680
  "is-autosize": Ke(),
3681
3681
  "is-legend-top": F(ci) === "top",
@@ -3686,7 +3686,7 @@ function ni(ne, f) {
3686
3686
  () => ee(F(B).style) || void 0,
3687
3687
  () => et(F(z).chartLabel, { type: F(B).type }),
3688
3688
  () => et(F(z).dataTable, { type: F(B).type })
3689
- ]), m(ne, rc), _e(nc);
3689
+ ]), m(ne, rc), ye(nc);
3690
3690
  }
3691
3691
  le([
3692
3692
  "click",