@svgrid/grid-wc 3.0.31 → 3.0.33

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 (28) hide show
  1. package/dist/{GridMenus-N2KRdNsI.js → GridMenus-T9EoG8Ww.js} +2 -2
  2. package/dist/{SvDateRangeInput-DHTz33L2.js → SvDateRangeInput-Cpss2SsG.js} +2 -1
  3. package/dist/SvGridCellEditor-D8UIbCRd.js +584 -0
  4. package/dist/{SvGridChart-B1Ro43s3.js → SvGridChart-Cjay-so9.js} +303 -302
  5. package/dist/{SvGridChartBuilder-BGWhm8hq.js → SvGridChartBuilder-Ca3M_gpQ.js} +3 -3
  6. package/dist/{SvGridChartPanel-t_UgLw4I.js → SvGridChartPanel-BvNxBEeX.js} +5 -5
  7. package/dist/{SvGridChartView-EbUF0BKk.js → SvGridChartView-BVS7Ac61.js} +2 -2
  8. package/dist/chart/{chart-export-BHGuh_kZ.js → chart-export-C43UPY8D.js} +37 -30
  9. package/dist/chart/{chart-export-pdf-BjkkIEkE.js → chart-export-pdf-C0_y8glC.js} +1 -1
  10. package/dist/chart/sv-chart-element.js +3 -3
  11. package/dist/{chart-export-pdf-BSDueOD-.js → chart-export-pdf-CBZNCRFi.js} +1 -1
  12. package/dist/csv-injection-Ce26_TOb.js +8 -0
  13. package/dist/{shadow/export-format-CWEVxATj.js → export-format-DW7bHqeY.js} +56 -55
  14. package/dist/shadow/{GridMenus-De7ebuLc.js → GridMenus--Qxo5g1j.js} +2 -2
  15. package/dist/shadow/{SvDateRangeInput-DHTz33L2.js → SvDateRangeInput-Cpss2SsG.js} +2 -1
  16. package/dist/shadow/SvGridCellEditor-D8UIbCRd.js +584 -0
  17. package/dist/shadow/{SvGridChart-B1Ro43s3.js → SvGridChart-Cjay-so9.js} +303 -302
  18. package/dist/shadow/{SvGridChartBuilder-BGWhm8hq.js → SvGridChartBuilder-Ca3M_gpQ.js} +3 -3
  19. package/dist/shadow/{SvGridChartPanel-t_UgLw4I.js → SvGridChartPanel-BvNxBEeX.js} +5 -5
  20. package/dist/shadow/{SvGridChartView-EbUF0BKk.js → SvGridChartView-BVS7Ac61.js} +2 -2
  21. package/dist/shadow/{chart-export-pdf-BSDueOD-.js → chart-export-pdf-CBZNCRFi.js} +1 -1
  22. package/dist/shadow/csv-injection-Ce26_TOb.js +8 -0
  23. package/dist/{export-format-CWEVxATj.js → shadow/export-format-DW7bHqeY.js} +56 -55
  24. package/dist/shadow/sv-grid-shadow-element.js +1250 -1235
  25. package/dist/sv-grid-element.js +1233 -1218
  26. package/package.json +3 -3
  27. package/dist/SvGridCellEditor-6ZyGKeXd.js +0 -582
  28. package/dist/shadow/SvGridCellEditor-6ZyGKeXd.js +0 -582
@@ -1,9 +1,10 @@
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){}})();
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-Cjay-so9.js"||x[i].textContent===c)return;var s=document.createElement('style');s.setAttribute('data-svgrid-grid-wc-chunk',"shadow:SvGridChart-Cjay-so9.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
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
- import { a as Se } from "./editor-contract-peBDxir_.js";
4
+ import { t as Se } from "./csv-injection-Ce26_TOb.js";
5
+ import { a as Ce } from "./editor-contract-peBDxir_.js";
5
6
  //#region ../grid/dist/chart-zoom.js
6
- function Ce(e, t, n) {
7
+ function we(e, t, n) {
7
8
  if (n <= 0) return null;
8
9
  let r = Math.max(0, Math.min(n - 1, Math.round(e))), i = Math.max(0, Math.min(n - 1, Math.round(t)));
9
10
  return i < r && ([r, i] = [i, r]), r === 0 && i === n - 1 ? null : {
@@ -11,22 +12,22 @@ function Ce(e, t, n) {
11
12
  i1: i
12
13
  };
13
14
  }
14
- function we(e, t, n, r) {
15
+ function Te(e, t, n, r) {
15
16
  if (t <= 2) return null;
16
17
  let i = e ? e.i0 : 0, a = e ? e.i1 : t - 1, o = a - i + 1, s = Math.max(2, Math.min(t, Math.round(o * r)));
17
18
  if (s === o) return e;
18
19
  let c = o > 1 ? (Math.max(i, Math.min(a, n)) - i) / (o - 1) : .5, l = Math.round(n - c * (s - 1));
19
- return l = Math.max(0, Math.min(t - s, l)), Ce(l, l + s - 1, t);
20
+ return l = Math.max(0, Math.min(t - s, l)), we(l, l + s - 1, t);
20
21
  }
21
- function Te(e, t, n) {
22
+ function Ee(e, t, n) {
22
23
  if (!e || !n) return e;
23
24
  let r = e.i1 - e.i0, i = e.i0 + Math.round(n);
24
- return i = Math.max(0, Math.min(t - 1 - r, i)), Ce(i, i + r, t);
25
+ return i = Math.max(0, Math.min(t - 1 - r, i)), we(i, i + r, t);
25
26
  }
26
- function Ee(e, t, n, r) {
27
- return !Number.isFinite(r) || r <= 0 ? e : we(e, t, n, 1 / r);
27
+ function De(e, t, n, r) {
28
+ return !Number.isFinite(r) || r <= 0 ? e : Te(e, t, n, 1 / r);
28
29
  }
29
- function De(e, t, n) {
30
+ function Oe(e, t, n) {
30
31
  let r = e.length;
31
32
  if (!r) return null;
32
33
  let i = e.map((e) => Date.parse(e)), a = [...i].reverse().find(Number.isFinite);
@@ -42,16 +43,16 @@ function De(e, t, n) {
42
43
  c = o - 7 * s;
43
44
  break;
44
45
  case "1M":
45
- c = Oe(o, -1);
46
+ c = I(o, -1);
46
47
  break;
47
48
  case "3M":
48
- c = Oe(o, -3);
49
+ c = I(o, -3);
49
50
  break;
50
51
  case "6M":
51
- c = Oe(o, -6);
52
+ c = I(o, -6);
52
53
  break;
53
54
  case "1Y":
54
- c = Oe(o, -12);
55
+ c = I(o, -12);
55
56
  break;
56
57
  case "YTD": {
57
58
  let e = new Date(o);
@@ -66,9 +67,9 @@ function De(e, t, n) {
66
67
  let t = i[e];
67
68
  Number.isFinite(t) && (t >= c && u < 0 && (u = e), t <= l && (d = e));
68
69
  }
69
- return u < 0 || d < 0 || d < u ? null : Ce(u, d, r);
70
+ return u < 0 || d < 0 || d < u ? null : we(u, d, r);
70
71
  }
71
- function Oe(e, t) {
72
+ function I(e, t) {
72
73
  let n = new Date(e);
73
74
  return Date.UTC(n.getUTCFullYear(), n.getUTCMonth() + t, n.getUTCDate(), n.getUTCHours(), n.getUTCMinutes());
74
75
  }
@@ -84,21 +85,21 @@ function ke(e, t) {
84
85
  }
85
86
  //#endregion
86
87
  //#region ../grid/dist/chart-sync.svelte.js
87
- var I = /* @__PURE__ */ new Map();
88
- function Ae(e) {
89
- let t = I.get(e);
88
+ var Ae = /* @__PURE__ */ new Map();
89
+ function je(e) {
90
+ let t = Ae.get(e);
90
91
  if (t) return t;
91
92
  let n = de({
92
93
  hover: null,
93
94
  zoom: null
94
95
  });
95
- return I.set(e, n), n;
96
+ return Ae.set(e, n), n;
96
97
  }
97
- function je(e, t) {
98
- Ae(e).hover = t;
98
+ function Me(e, t) {
99
+ je(e).hover = t;
99
100
  }
100
- function Me(e, t, n, r, i = null) {
101
- Ae(e).zoom = {
101
+ function Ne(e, t, n, r, i = null) {
102
+ je(e).zoom = {
102
103
  window: t,
103
104
  count: n,
104
105
  from: r,
@@ -108,14 +109,14 @@ function Me(e, t, n, r, i = null) {
108
109
  //#endregion
109
110
  //#region ../grid/dist/chart-motion.js
110
111
  var L = (e, t, n) => e + (t - e) * n, R = (e) => Math.round(e * 100) / 100;
111
- function Ne(e, t, n) {
112
+ function Pe(e, t, n) {
112
113
  return n >= 1 ? t : n <= 0 && e.type === t.type ? e : e.type === t.type ? {
113
114
  ...t,
114
- bars: Fe(e.bars, t.bars, n, t.plot.y + t.plot.h),
115
- lines: Ie(e.lines, t.lines, n),
116
- candles: Re(e.candles, t.candles, n),
117
- slices: ze(e.slices, t.slices, n),
118
- arcs: Ve(e.arcs, t.arcs, n),
115
+ bars: Ie(e.bars, t.bars, n, t.plot.y + t.plot.h),
116
+ lines: Le(e.lines, t.lines, n),
117
+ candles: ze(e.candles, t.candles, n),
118
+ slices: Be(e.slices, t.slices, n),
119
+ arcs: He(e.arcs, t.arcs, n),
119
120
  yTicks: t.yTicks.map((t) => {
120
121
  let r = e.yTicks.find((e) => e.value === t.value);
121
122
  return r ? {
@@ -125,11 +126,11 @@ function Ne(e, t, n) {
125
126
  })
126
127
  } : t;
127
128
  }
128
- var Pe = (e) => `${e.series}\u0000${e.label}`;
129
- function Fe(e, t, n, r) {
129
+ var Fe = (e) => `${e.series}\u0000${e.label}`;
130
+ function Ie(e, t, n, r) {
130
131
  if (!e.length && !t.length) return t;
131
- let i = new Map(e.map((e) => [Pe(e), e])), a = /* @__PURE__ */ new Set(), o = t.map((e) => {
132
- let t = Pe(e);
132
+ let i = new Map(e.map((e) => [Fe(e), e])), a = /* @__PURE__ */ new Set(), o = t.map((e) => {
133
+ let t = Fe(e);
133
134
  a.add(t);
134
135
  let o = i.get(t);
135
136
  if (!o) {
@@ -148,14 +149,14 @@ function Fe(e, t, n, r) {
148
149
  h: R(L(o.h, e.h, n))
149
150
  };
150
151
  });
151
- for (let t of e) a.has(Pe(t)) || o.push({
152
+ for (let t of e) a.has(Fe(t)) || o.push({
152
153
  ...t,
153
154
  y: R(L(t.y, r, n)),
154
155
  h: R(Math.max(0, L(t.h, 0, n)))
155
156
  });
156
157
  return o;
157
158
  }
158
- function Ie(e, t, n) {
159
+ function Le(e, t, n) {
159
160
  if (!e.length) return t;
160
161
  let r = new Map(e.map((e) => [e.label, e]));
161
162
  return t.map((e) => {
@@ -176,12 +177,12 @@ function Ie(e, t, n) {
176
177
  };
177
178
  });
178
179
  }
179
- var Le = (e) => `${e.series}\u0000${e.label}`;
180
- function Re(e, t, n) {
180
+ var Re = (e) => `${e.series}\u0000${e.label}`;
181
+ function ze(e, t, n) {
181
182
  if (!e.length) return t;
182
- let r = new Map(e.map((e) => [Le(e), e]));
183
+ let r = new Map(e.map((e) => [Re(e), e]));
183
184
  return t.map((e) => {
184
- let t = r.get(Le(e));
185
+ let t = r.get(Re(e));
185
186
  if (!t) return e;
186
187
  let i = L(t.yOpen, e.yOpen, n), a = L(t.yClose, e.yClose, n);
187
188
  return {
@@ -197,7 +198,7 @@ function Re(e, t, n) {
197
198
  };
198
199
  });
199
200
  }
200
- function ze(e, t, n) {
201
+ function Be(e, t, n) {
201
202
  if (!e.length || t.some((e) => !e.arc)) return t;
202
203
  let r = new Map(e.map((e) => [e.label, e]));
203
204
  return t.map((e) => {
@@ -217,12 +218,12 @@ function ze(e, t, n) {
217
218
  };
218
219
  });
219
220
  }
220
- var Be = (e) => e.nodePath ? e.nodePath.join("/") : `${e.series}\u0000${e.label}`;
221
- function Ve(e, t, n) {
221
+ var Ve = (e) => e.nodePath ? e.nodePath.join("/") : `${e.series}\u0000${e.label}`;
222
+ function He(e, t, n) {
222
223
  if (!e.length) return t;
223
- let r = new Map(e.map((e) => [Be(e), e]));
224
+ let r = new Map(e.map((e) => [Ve(e), e]));
224
225
  return t.map((e) => {
225
- let t = r.get(Be(e));
226
+ let t = r.get(Ve(e));
226
227
  if (!t) return e;
227
228
  let i = L(t.a0, e.a0, n), a = L(t.a1, e.a1, n), o = L(t.r0, e.r0, n), s = L(t.r1, e.r1, n), c = (i + a) / 2, l = (o + s) / 2;
228
229
  return {
@@ -239,16 +240,16 @@ function Ve(e, t, n) {
239
240
  }
240
241
  //#endregion
241
242
  //#region ../grid/dist/chart-export.js
242
- function He(e) {
243
+ function Ue(e) {
243
244
  return e instanceof SVGSVGElement ? e : e.querySelector("svg.sv-grid-chart-svg") ?? e.querySelector("svg");
244
245
  }
245
- function Ue(e, t, n) {
246
+ function We(e, t, n) {
246
247
  return getComputedStyle(e).getPropertyValue(t).trim() || n;
247
248
  }
248
- function We(e, t = {}) {
249
- let n = He(e);
249
+ function Ge(e, t = {}) {
250
+ let n = Ue(e);
250
251
  if (!n) throw Error("chartToSvgString: no <svg> found");
251
- let r = Ue(n, "--sg-fg", "#0f172a"), i = Ue(n, "--sg-muted", "#64748b"), a = Ue(n, "--sg-border", "#e2e8f0"), o = t.background ?? Ue(n, "--sg-bg", "#ffffff"), s = n.viewBox.baseVal, c = s && s.width ? s.width : n.clientWidth || 520, l = s && s.height ? s.height : n.clientHeight || 300, u = n.cloneNode(!0);
252
+ let r = We(n, "--sg-fg", "#0f172a"), i = We(n, "--sg-muted", "#64748b"), a = We(n, "--sg-border", "#e2e8f0"), o = t.background ?? We(n, "--sg-bg", "#ffffff"), s = n.viewBox.baseVal, c = s && s.width ? s.width : n.clientWidth || 520, l = s && s.height ? s.height : n.clientHeight || 300, u = n.cloneNode(!0);
252
253
  u.setAttribute("width", String(c)), u.setAttribute("height", String(l)), u.setAttribute("xmlns", "http://www.w3.org/2000/svg");
253
254
  let d = [
254
255
  "fill",
@@ -288,16 +289,16 @@ function We(e, t = {}) {
288
289
  let re = document.createElementNS("http://www.w3.org/2000/svg", "rect");
289
290
  return re.setAttribute("x", "0"), re.setAttribute("y", "0"), re.setAttribute("width", String(c)), re.setAttribute("height", String(l)), re.setAttribute("fill", o), u.insertBefore(re, ne.nextSibling), new XMLSerializer().serializeToString(u);
290
291
  }
291
- function Ge(e, t) {
292
+ function Ke(e, t) {
292
293
  let n = document.createElement("a");
293
294
  n.href = e, n.download = t, document.body.appendChild(n), n.click(), n.remove();
294
295
  }
295
- function Ke(e, t = "chart.svg", n = {}) {
296
- let r = We(e, n), i = URL.createObjectURL(new Blob([r], { type: "image/svg+xml" }));
297
- Ge(i, t), setTimeout(() => URL.revokeObjectURL(i), 1e3);
296
+ function qe(e, t = "chart.svg", n = {}) {
297
+ let r = Ge(e, n), i = URL.createObjectURL(new Blob([r], { type: "image/svg+xml" }));
298
+ Ke(i, t), setTimeout(() => URL.revokeObjectURL(i), 1e3);
298
299
  }
299
- function qe(e, t = {}) {
300
- let n = We(e, t), r = t.scale ?? 2, i = He(e), a = i.viewBox.baseVal, o = (a && a.width ? a.width : i.clientWidth || 520) * r, s = (a && a.height ? a.height : i.clientHeight || 300) * r;
300
+ function Je(e, t = {}) {
301
+ let n = Ge(e, t), r = t.scale ?? 2, i = Ue(e), a = i.viewBox.baseVal, o = (a && a.width ? a.width : i.clientWidth || 520) * r, s = (a && a.height ? a.height : i.clientHeight || 300) * r;
301
302
  return new Promise((e, t) => {
302
303
  let r = URL.createObjectURL(new Blob([n], { type: "image/svg+xml" })), i = new Image();
303
304
  i.onload = () => {
@@ -314,15 +315,15 @@ function qe(e, t = {}) {
314
315
  }, i.src = r;
315
316
  });
316
317
  }
317
- async function Je(e, t = "chart.png", n = {}) {
318
- let r = await qe(e, n), i = URL.createObjectURL(r);
319
- Ge(i, t), setTimeout(() => URL.revokeObjectURL(i), 1e3);
318
+ async function z(e, t = "chart.png", n = {}) {
319
+ let r = await Je(e, n), i = URL.createObjectURL(r);
320
+ Ke(i, t), setTimeout(() => URL.revokeObjectURL(i), 1e3);
320
321
  }
321
- var z = (e) => {
322
+ var Ye = (e) => {
322
323
  let t = e == null || typeof e == "number" && !Number.isFinite(e) ? "" : String(e);
323
- return /[",\n]/.test(t) ? `"${t.replace(/"/g, "\"\"")}"` : t;
324
+ return typeof e == "string" && t !== "" && (t = Se(t)), /[",\n\r]/.test(t) ? `"${t.replace(/"/g, "\"\"")}"` : t;
324
325
  };
325
- function Ye(e) {
326
+ function Xe(e) {
326
327
  let t = e.series ?? [];
327
328
  if (t.some((e) => e.points?.length)) {
328
329
  let e = [
@@ -331,14 +332,14 @@ function Ye(e) {
331
332
  "Y",
332
333
  "Size",
333
334
  "Label"
334
- ].map(z).join(","), n = [];
335
+ ].map(Ye).join(","), n = [];
335
336
  for (let e of t) for (let t of e.points ?? []) n.push([
336
337
  e.label,
337
338
  t.x,
338
339
  t.y,
339
340
  t.r ?? "",
340
341
  t.label ?? ""
341
- ].map(z).join(","));
342
+ ].map(Ye).join(","));
342
343
  return n.length ? [e, ...n].join("\n") : "";
343
344
  }
344
345
  let n = e.categories ?? [];
@@ -357,23 +358,23 @@ function Ye(e) {
357
358
  let t = e.values[n], i = e.errors[n], a = i == null ? "" : typeof i == "number" ? (t ?? 0) - Math.abs(i) : Math.min(i.lo, i.hi), o = i == null ? "" : typeof i == "number" ? (t ?? 0) + Math.abs(i) : Math.max(i.lo, i.hi);
358
359
  r.push(t ?? "", a, o);
359
360
  } else e.lowValues ? r.push(e.lowValues[n] ?? "", e.values[n] ?? "") : e.targets ? r.push(e.values[n] ?? "", e.targets[n] ?? "") : r.push(e.values[n] ?? "");
360
- return r.map(z).join(",");
361
+ return r.map(Ye).join(",");
361
362
  });
362
- return [r.map(z).join(","), ...i].join("\n");
363
+ return [r.map(Ye).join(","), ...i].join("\n");
363
364
  }
364
- function Xe(e) {
365
+ function Ze(e) {
365
366
  let t = e.series ?? [];
366
367
  return t.some((e) => e.points?.length) ? !0 : !!(e.categories?.length && t.length);
367
368
  }
368
- function Ze(e, t = "chart.csv") {
369
- let n = Ye(e);
369
+ function Qe(e, t = "chart.csv") {
370
+ let n = Xe(e);
370
371
  if (!n) return !1;
371
372
  let r = URL.createObjectURL(new Blob([n], { type: "text/csv;charset=utf-8" }));
372
- return Ge(r, t), setTimeout(() => URL.revokeObjectURL(r), 1e3), !0;
373
+ return Ke(r, t), setTimeout(() => URL.revokeObjectURL(r), 1e3), !0;
373
374
  }
374
375
  //#endregion
375
376
  //#region ../grid/dist/chart-messages.js
376
- var Qe = {
377
+ var $e = {
377
378
  chartLabel: "{type} chart",
378
379
  dataTable: "{type} chart data",
379
380
  dataTableCapped: ", first {shown} of {total} rows",
@@ -436,18 +437,18 @@ var Qe = {
436
437
  rangeBrush: "Range brush",
437
438
  brushRange: "{from} to {to}"
438
439
  };
439
- function $e(e) {
440
- return Se(Qe, e);
440
+ function et(e) {
441
+ return Ce($e, e);
441
442
  }
442
- function et(e, t) {
443
+ function tt(e, t) {
443
444
  return e.replace(/\{(\w+)\}/g, (e, n) => n in t ? String(t[n]) : e);
444
445
  }
445
446
  //#endregion
446
447
  //#region ../grid/dist/SvGridChart.svelte
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
- function ni(ne, f) {
448
+ var nt = _("<span class=\"sv-grid-chart-crumb is-current svelte-kvdein\" aria-current=\"page\"> </span>"), rt = _("<button type=\"button\" class=\"sv-grid-chart-tool sv-grid-chart-crumb svelte-kvdein\"> </button>"), it = _("<span class=\"sv-grid-chart-crumb-sep svelte-kvdein\" aria-hidden=\"true\">/</span> <!>", 1), at = _("<nav class=\"sv-grid-chart-crumbs svelte-kvdein\"><button type=\"button\" class=\"sv-grid-chart-tool sv-grid-chart-crumb svelte-kvdein\"> </button> <!></nav>"), ot = _("<button type=\"button\" class=\"sv-grid-chart-tool sv-grid-chart-preset svelte-kvdein\"> </button>"), st = _("<span class=\"sv-grid-chart-presets svelte-kvdein\" role=\"group\"></span>"), ct = _("<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>"), lt = _("<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>"), ut = _("<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>"), dt = _("<button type=\"button\"> </button>"), ft = _("<button type=\"button\" class=\"sv-grid-chart-tool svelte-kvdein\"> </button> <button type=\"button\" class=\"sv-grid-chart-tool svelte-kvdein\"> </button>", 1), pt = _("<span class=\"sv-grid-chart-drawtools svelte-kvdein\" role=\"group\"><!> <!></span>"), mt = _("<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>"), ht = _("<div class=\"sv-grid-chart-toolbar is-crumbs-only svelte-kvdein\" role=\"toolbar\"><!></div>"), gt = v("<clipPath><rect></rect></clipPath>"), _t = v("<linearGradient x1=\"0\" y1=\"0\" x2=\"0\" y2=\"1\"><stop offset=\"0\"></stop><stop offset=\"1\"></stop></linearGradient>"), vt = 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>"), yt = 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>"), bt = 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>"), xt = 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>"), St = v("<defs><!><!><!></defs>"), Ct = v("<text class=\"sv-grid-chart-title svelte-kvdein\" text-anchor=\"middle\"> </text>"), wt = v("<text class=\"sv-grid-chart-subtitle svelte-kvdein\" text-anchor=\"middle\"> </text>"), Tt = v("<text class=\"sv-grid-chart-caption svelte-kvdein\" text-anchor=\"start\"> </text>"), Et = v("<line class=\"sv-grid-chart-gridline svelte-kvdein\"></line>"), Dt = v("<!><text class=\"sv-grid-chart-axis is-x svelte-kvdein\" text-anchor=\"middle\"> </text>", 1), Ot = v("<line class=\"sv-grid-chart-gridline svelte-kvdein\"></line>"), kt = v("<text class=\"sv-grid-chart-axis svelte-kvdein\" text-anchor=\"end\"> </text>"), At = v("<text class=\"sv-grid-chart-axis-title svelte-kvdein\" text-anchor=\"middle\"> </text>"), jt = v("<text class=\"sv-grid-chart-axis-title svelte-kvdein\" text-anchor=\"middle\"> </text>"), Mt = v("<!><!><!><!><!>", 1), Nt = v("<line></line>"), Pt = v("<text class=\"sv-grid-chart-axis svelte-kvdein\" text-anchor=\"end\"> </text>"), Ft = v("<!><!>", 1), It = v("<line class=\"sv-grid-chart-gridline svelte-kvdein\"></line>"), Lt = v("<text class=\"sv-grid-chart-axis svelte-kvdein\" text-anchor=\"start\"> </text>"), Rt = v("<text class=\"sv-grid-chart-axis is-x svelte-kvdein\"> </text>"), zt = v("<text class=\"sv-grid-chart-axis is-x svelte-kvdein\" text-anchor=\"middle\"> </text>"), Bt = v("<line class=\"sv-grid-chart-gridline svelte-kvdein\" opacity=\"0.5\"></line>"), Vt = 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), 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("<text class=\"sv-grid-chart-axis-title svelte-kvdein\" text-anchor=\"middle\"> </text>"), Gt = v("<!><!><!><!><!><!><!><!>", 1), Kt = v("<text class=\"sv-grid-chart-reflabel svelte-kvdein\" text-anchor=\"end\"> </text>"), qt = v("<text class=\"sv-grid-chart-reflabel svelte-kvdein\" text-anchor=\"middle\"> </text>"), Jt = v("<rect class=\"sv-grid-chart-refband svelte-kvdein\"></rect><!>", 1), Yt = v("<path class=\"sv-grid-chart-band svelte-kvdein\" fill-opacity=\"0.12\" stroke=\"none\"></path>"), Xt = v("<path class=\"sv-grid-chart-area svelte-kvdein\" stroke=\"none\"></path>"), Zt = v("<circle class=\"sv-grid-chart-dot is-active svelte-kvdein\" r=\"4\"></circle>"), Qt = v("<circle></circle>"), $t = v("<path fill=\"none\" stroke-width=\"1.5\"></path>"), en = v("<path></path>"), tn = v("<g class=\"svelte-kvdein\"><!><!><path class=\"sv-grid-chart-linepath svelte-kvdein\" fill=\"none\" stroke-linejoin=\"round\" stroke-linecap=\"round\"></path><!></g>"), nn = v("<rect rx=\"1\"></rect>"), rn = v("<circle class=\"sv-grid-chart-dot svelte-kvdein\" fill-opacity=\"0.55\"></circle>"), an = v("<g class=\"sv-grid-chart-stem svelte-kvdein\"><line class=\"svelte-kvdein\"></line><!><circle class=\"sv-grid-chart-dot svelte-kvdein\"></circle></g>"), on = 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), sn = v("<line class=\"sv-grid-chart-wick svelte-kvdein\"></line><rect class=\"sv-grid-chart-candle svelte-kvdein\"></rect>", 1), cn = v("<circle class=\"sv-grid-chart-outlier svelte-kvdein\" r=\"2\" fill=\"none\"></circle>"), ln = 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), un = 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), dn = v("<circle fill-opacity=\"0.7\"></circle>"), fn = 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>"), pn = v("<text class=\"sv-grid-chart-reflabel svelte-kvdein\" text-anchor=\"end\"> </text>"), mn = v("<line class=\"sv-grid-chart-refline svelte-kvdein\"></line><!>", 1), hn = v("<line class=\"sv-grid-chart-refline svelte-kvdein\"></line><text class=\"sv-grid-chart-reflabel svelte-kvdein\" text-anchor=\"start\"> </text>", 1), gn = v("<path class=\"sv-grid-chart-overlay-band svelte-kvdein\" fill-opacity=\"0.1\" stroke-opacity=\"0.35\" stroke-width=\"1\"></path>"), _n = 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), vn = v("<line class=\"sv-grid-chart-datalabel-leader svelte-kvdein\"></line>"), yn = v("<!><text> </text>", 1), bn = v("<text class=\"sv-grid-chart-serieslabel svelte-kvdein\" text-anchor=\"start\"> </text>"), xn = 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), Sn = 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), Cn = 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), wn = v("<circle stroke=\"var(--sg-bg, #fff)\" stroke-width=\"1.5\"></circle><text class=\"sv-grid-chart-annotation-label svelte-kvdein\"> </text>", 1), Tn = v("<g><!></g>"), En = v("<path class=\"svelte-kvdein\"></path>"), Dn = v("<line class=\"sv-grid-chart-drawing-hit svelte-kvdein\"></line><line stroke-width=\"1.5\" class=\"svelte-kvdein\"></line><!>", 1), On = v("<rect fill-opacity=\"0.08\" stroke-width=\"1.2\" class=\"svelte-kvdein\"></rect>"), kn = 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), An = v("<line stroke-width=\"1\" class=\"svelte-kvdein\"></line><text class=\"sv-grid-chart-drawing-label svelte-kvdein\"> </text>", 1), jn = v("<!><rect class=\"sv-grid-chart-drawing-hit svelte-kvdein\"></rect>", 1), Mn = v("<text class=\"sv-grid-chart-drawing-text svelte-kvdein\"> </text>"), Nn = v("<circle class=\"sv-grid-chart-drawing-handle svelte-kvdein\" r=\"5\" fill=\"var(--sg-bg, #fff)\" stroke-width=\"1.5\"></circle>"), Pn = v("<g><!><!></g>"), Fn = v("<rect fill=\"var(--sg-accent, #2563eb)\" fill-opacity=\"0.08\" stroke=\"var(--sg-accent, #2563eb)\" stroke-dasharray=\"4 3\"></rect>"), In = v("<line stroke=\"var(--sg-accent, #2563eb)\" stroke-width=\"1.5\" stroke-dasharray=\"4 3\"></line>"), Ln = v("<circle r=\"3.5\" fill=\"var(--sg-accent, #2563eb)\"></circle><!>", 1), Rn = v("<g class=\"sv-grid-chart-drawings\"><!><!></g>"), zn = v("<line class=\"sv-grid-chart-crosshair svelte-kvdein\"></line>"), 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>"), Vn = 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), Hn = v("<line class=\"sv-grid-chart-crosshair svelte-kvdein\"></line><!>", 1), Un = v("<text class=\"sv-grid-chart-axis svelte-kvdein\" text-anchor=\"end\"> </text>"), Wn = v("<text class=\"sv-grid-chart-axis svelte-kvdein\" text-anchor=\"middle\"> </text>"), Gn = v("<text class=\"sv-grid-chart-heatlabel svelte-kvdein\" text-anchor=\"middle\"> </text>"), Kn = v("<rect class=\"sv-grid-chart-heatcell svelte-kvdein\"></rect><!>", 1), qn = v("<stop></stop>"), Jn = 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), Yn = v("<!><!><!><!>", 1), Xn = 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), Zn = v("<path class=\"sv-grid-chart-funnel-seg svelte-kvdein\"></path><!>", 1), Qn = v("<circle class=\"sv-grid-chart-radar-ring svelte-kvdein\"></circle>"), $n = v("<line class=\"sv-grid-chart-radar-spoke svelte-kvdein\"></line><text class=\"sv-grid-chart-axis svelte-kvdein\"> </text>", 1), er = v("<circle class=\"sv-grid-chart-radar-dot svelte-kvdein\" r=\"3\" role=\"img\"></circle>"), tr = v("<path class=\"sv-grid-chart-radar-poly svelte-kvdein\" fill-opacity=\"0.18\" stroke-width=\"2\"></path><!>", 1), nr = v("<!><!><!>", 1), rr = v("<text class=\"sv-grid-chart-axis svelte-kvdein\" text-anchor=\"start\"> </text>"), ir = v("<text class=\"sv-grid-chart-axis svelte-kvdein\" text-anchor=\"end\"> </text>"), ar = v("<rect rx=\"2\" role=\"img\"></rect>"), or = 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), sr = 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), cr = v("<!><!><!><!>", 1), lr = v("<line></line>"), ur = v("<path fill=\"none\" stroke-width=\"4\" stroke-linecap=\"butt\" opacity=\"0.7\"></path>"), dr = v("<line stroke=\"var(--sg-fg, #0f172a)\" stroke-width=\"2.5\" stroke-linecap=\"round\"></line>"), fr = 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), pr = v("<text class=\"sv-grid-chart-treemap-label svelte-kvdein\"> </text>"), mr = v("<text class=\"sv-grid-chart-treemap-value svelte-kvdein\" opacity=\"0.85\"> </text>"), hr = v("<rect class=\"sv-grid-chart-treemap-cell svelte-kvdein\"></rect><!><!>", 1), gr = v("<path class=\"sv-grid-chart-sankey-link svelte-kvdein\" fill=\"none\" stroke-opacity=\"0.35\" role=\"img\"></path>"), _r = v("<rect class=\"sv-grid-chart-sankey-node svelte-kvdein\" role=\"img\"></rect><text class=\"sv-grid-chart-sankey-label svelte-kvdein\"> </text>", 1), vr = v("<!><!>", 1), yr = v("<circle class=\"sv-grid-chart-gridline svelte-kvdein\" fill=\"none\"></circle>"), br = v("<text class=\"sv-grid-chart-axis svelte-kvdein\"> </text>"), xr = v("<path class=\"sv-grid-chart-arc-track svelte-kvdein\"></path>"), Sr = v("<path class=\"sv-grid-chart-ribbon svelte-kvdein\" fill-opacity=\"0.45\" stroke-opacity=\"0.6\"></path>"), Cr = v("<path stroke=\"var(--sg-bg, #fff)\" stroke-width=\"1\"></path>"), wr = v("<text class=\"sv-grid-chart-axis svelte-kvdein\"> </text>"), Tr = v("<text class=\"sv-grid-chart-datalabel on-bar svelte-kvdein\" text-anchor=\"middle\" dominant-baseline=\"middle\" pointer-events=\"none\"> </text>"), Er = v("<!><!><!><!><!><!>", 1), Dr = v("<rect></rect>"), Or = v("<line class=\"sv-grid-chart-bullet-target\" stroke=\"var(--sg-fg, #0f172a)\" stroke-width=\"2.5\"></line>"), kr = v("<g class=\"sv-grid-chart-bullet\"><!><rect class=\"sv-grid-chart-bar svelte-kvdein\"></rect><!></g>"), Ar = 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), jr = v("<text class=\"sv-grid-chart-datalabel on-bar svelte-kvdein\" text-anchor=\"middle\" dominant-baseline=\"middle\"> </text>"), Mr = v("<path stroke=\"var(--sg-bg, #fff)\" stroke-width=\"1\"></path><!>", 1), Nr = 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), Pr = v("<rect class=\"sv-grid-chart-cat-hit svelte-kvdein\" data-dense=\"true\"></rect>"), Fr = v("<rect class=\"sv-grid-chart-cat-hit svelte-kvdein\"></rect>"), Ir = v("<rect class=\"sv-grid-chart-zoom-rect svelte-kvdein\"></rect>"), Lr = v("<path fill-opacity=\"0.10\" stroke=\"none\"></path>"), Rr = v("<!><path fill=\"none\" stroke-width=\"1.2\" opacity=\"0.75\"></path>", 1), zr = v("<rect opacity=\"0.55\"></rect>"), Br = _("<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>"), Vr = _("<div class=\"sv-grid-chart-empty svelte-kvdein\"> </div>"), Hr = _("<input class=\"sv-grid-chart-textdraft svelte-kvdein\" type=\"text\"/>"), Ur = _("<span class=\"sv-grid-chart-tooltip-dot svelte-kvdein\"></span>"), Wr = _("<span class=\"sv-grid-chart-tooltip-row-label svelte-kvdein\"> </span>"), Gr = _("<span class=\"sv-grid-chart-tooltip-row svelte-kvdein\"><!> <!> <span class=\"sv-grid-chart-tooltip-row-value svelte-kvdein\"> </span></span>"), Kr = _("<span class=\"sv-grid-chart-tooltip-title svelte-kvdein\"> </span> <!>", 1), qr = _("<div role=\"tooltip\"><!></div>"), Jr = _("<span class=\"sv-grid-chart-swatch svelte-kvdein\"></span> ", 1), Yr = _("<button type=\"button\"><!></button>"), Xr = _("<button type=\"button\" class=\"sv-grid-chart-legend-more svelte-kvdein\"> </button>"), Zr = _("<div><!> <!></div>"), Qr = _("<div class=\"sv-grid-chart-live sv-grid-chart-sr-only svelte-kvdein\" aria-live=\"polite\" aria-atomic=\"true\"> </div>"), $r = _("<th> </th>"), ei = _("<td> </td>"), ti = _("<tr></tr>"), ni = _("<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>");
449
+ function ri(ne, f) {
449
450
  _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
+ 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), we = k(f, "zoomable", 3, !1), I = k(f, "zoom", 15, null), Ae = k(f, "rangePresets", 3, !1), L = k(f, "contextMenu", 3, !1), R = 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(() => et(f.localeText)), Ye = T("");
451
452
  pe(() => {
452
453
  if (!Be()) {
453
454
  p(Ye, "");
@@ -460,7 +461,7 @@ function ni(ne, f) {
460
461
  t = !1;
461
462
  };
462
463
  });
463
- async function Qe() {
464
+ async function Xe() {
464
465
  if (F(Ye)) {
465
466
  try {
466
467
  await navigator.clipboard?.writeText(F(Ye));
@@ -468,7 +469,7 @@ function ni(ne, f) {
468
469
  p(Vo, `${F(z).describeCopied}. ${F(Ye)}`);
469
470
  }
470
471
  }
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
+ let $e = T(0), ri = T(0), ii = A(() => f.width ?? (Ke() && F($e) > 24 ? F($e) : f.spec.width ?? 520)), ai = A(() => f.height ?? (Ke() && F(ri) > 24 ? F(ri) : f.spec.height ?? 300)), oi = A(() => {
472
473
  if (!f.spec.responsive?.length) return;
473
474
  let e;
474
475
  for (let t of u(f.spec.responsive, F(ii), F(ai))) t.legend !== void 0 && (e = t.legend);
@@ -478,8 +479,8 @@ function ni(ne, f) {
478
479
  let { responsive: e, ...t } = o(f.spec, F(ii), F(ai));
479
480
  return t;
480
481
  }), 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
- if (!Ke() || F(ni) <= 24) return null;
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);
482
+ if (!Ke() || F($e) <= 24) return null;
483
+ 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($e) - (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
484
  return {
484
485
  width: i,
485
486
  height: F(ri) > 24 ? Math.max(120, Math.round(F(ri) - a - o)) : void 0
@@ -490,19 +491,19 @@ function ni(ne, f) {
490
491
  } : f.dataLabels === void 0 ? F(B).dataLabels ? {
491
492
  show: F(B).dataLabels.show !== !1,
492
493
  ...F(B).dataLabels
493
- } : { show: !1 } : { show: !!f.dataLabels }), vi = A(() => Oe() ? Oe() === !0 ? {
494
+ } : { show: !1 } : { show: !!f.dataLabels }), vi = A(() => we() ? we() === !0 ? {
494
495
  drag: !0,
495
496
  wheel: !1,
496
497
  pinch: !1,
497
498
  pan: !1,
498
499
  axis: "x"
499
500
  } : {
500
- drag: Oe().drag !== !1,
501
- wheel: Oe().wheel ?? !1,
502
- pinch: Oe().pinch ?? !!Oe().wheel,
503
- pan: Oe().pan ?? !1,
504
- axis: Oe().axis ?? "x"
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(() => {
501
+ drag: we().drag !== !1,
502
+ wheel: we().wheel ?? !1,
503
+ pinch: we().pinch ?? !!we().wheel,
504
+ pan: we().pan ?? !1,
505
+ axis: we().axis ?? "x"
506
+ } : null), yi = T(!1), bi = A(() => f.toolbar ?? (!!we() || !!f.onDrill || qe() || !!Ae() || 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
507
  let e = F(B).y2Axis;
507
508
  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
509
  }), 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) => ({
@@ -531,10 +532,10 @@ function ni(ne, f) {
531
532
  function Li(e) {
532
533
  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
534
  let t = F(B).categories.length;
534
- Me(f.syncGroup, e, t, Ri, e ? [F(B).categories[e.i0] ?? "", F(B).categories[e.i1] ?? ""] : null);
535
+ Ne(f.syncGroup, e, t, Ri, e ? [F(B).categories[e.i0] ?? "", F(B).categories[e.i1] ?? ""] : null);
535
536
  }
536
537
  }
537
- let Ri = Symbol("svchart"), zi = !1, Bi = A(() => f.syncGroup ? Ae(f.syncGroup) : null), Vi = T(!1);
538
+ let Ri = Symbol("svchart"), zi = !1, Bi = A(() => f.syncGroup ? je(f.syncGroup) : null), Vi = T(!1);
538
539
  function Hi(e) {
539
540
  Li(e);
540
541
  }
@@ -551,7 +552,7 @@ function ni(ne, f) {
551
552
  if (!t || t.x < F(G).plot.x || t.x > F(G).plot.x + F(G).plot.w) return;
552
553
  e.preventDefault();
553
554
  let n = Wi(e.clientX, e.currentTarget) ?? 0, r = e.deltaY > 0 ? 1.25 : .8;
554
- Li(we(I(), F(B).categories.length, n, r));
555
+ Li(Te(I(), F(B).categories.length, n, r));
555
556
  }
556
557
  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
558
  if (!F(Zi) || !F(Qi)) return null;
@@ -608,7 +609,7 @@ function ni(ne, f) {
608
609
  let [n, r] = [...Ki.values()];
609
610
  if (n && r) {
610
611
  let e = Math.hypot(n.x - r.x, n.y - r.y) || 1;
611
- Li(Ee(qi.start, F(B).categories.length, qi.mid, e / qi.dist));
612
+ Li(De(qi.start, F(B).categories.length, qi.mid, e / qi.dist));
612
613
  }
613
614
  return;
614
615
  }
@@ -616,7 +617,7 @@ function ni(ne, f) {
616
617
  let t = ea(e);
617
618
  if (!t) return;
618
619
  let n = Ji.startIndex - ta(t);
619
- Li(Te(Ji.start, F(B).categories.length, n));
620
+ Li(Ee(Ji.start, F(B).categories.length, n));
620
621
  return;
621
622
  }
622
623
  F(Zi) && p(Qi, ea(e), !0);
@@ -659,7 +660,7 @@ function ni(ne, f) {
659
660
  p(Zi, null), p(Qi, null);
660
661
  }
661
662
  function aa() {
662
- Oe() && F(Ii) && Ui();
663
+ we() && F(Ii) && Ui();
663
664
  }
664
665
  let oa = [
665
666
  "trend",
@@ -999,14 +1000,14 @@ function ni(ne, f) {
999
1000
  height: F(gi)
1000
1001
  } : {},
1001
1002
  ...f.dataLabels === void 0 ? {} : { dataLabels: F(_i) }
1002
- }, F(Qa) ? "dark" : "light")), eo = A(() => Pe() ? Pe() === !0 ? {
1003
+ }, F(Qa) ? "dark" : "light")), eo = A(() => R() ? R() === !0 ? {
1003
1004
  duration: 400,
1004
1005
  enter: "fade",
1005
1006
  update: !0
1006
1007
  } : {
1007
- duration: Pe().duration ?? 400,
1008
- enter: Pe().enter ?? "fade",
1009
- update: Pe().update ?? !0
1008
+ duration: R().duration ?? 400,
1009
+ enter: R().enter ?? "fade",
1010
+ update: R().update ?? !0
1010
1011
  } : null), to = T(!1);
1011
1012
  pe(() => {
1012
1013
  if (typeof matchMedia != "function") return;
@@ -1015,13 +1016,13 @@ function ni(ne, f) {
1015
1016
  let t = () => p(to, e.matches, !0);
1016
1017
  return e.addEventListener?.("change", t), () => e.removeEventListener?.("change", t);
1017
1018
  });
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
+ let no = T(null), G = A(() => F(no) && F(no).t < 1 ? Pe(F(no).from, F($a), F(no).t) : F($a)), ro = null, io = 0;
1019
1020
  pe(() => {
1020
1021
  let e = F($a);
1021
1022
  fe(() => {
1022
1023
  let t = ro;
1023
1024
  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
- let n = F(no) && F(no).t < 1 ? Ne(F(no).from, t, F(no).t) : t;
1025
+ let n = F(no) && F(no).t < 1 ? Pe(F(no).from, t, F(no).t) : t;
1025
1026
  cancelAnimationFrame(io);
1026
1027
  let r = performance.now(), i = F(eo).duration;
1027
1028
  p(no, {
@@ -1139,7 +1140,7 @@ function ni(ne, f) {
1139
1140
  label: e.label,
1140
1141
  color: e.color,
1141
1142
  off: F(Ti).has(e.label)
1142
- }))), Uo = A(() => L() ? L() === !0 ? [
1143
+ }))), Uo = A(() => Ae() ? Ae() === !0 ? [
1143
1144
  "1W",
1144
1145
  "1M",
1145
1146
  "3M",
@@ -1147,9 +1148,9 @@ function ni(ne, f) {
1147
1148
  "YTD",
1148
1149
  "1Y",
1149
1150
  "All"
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
+ ] : Ae() : []), 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
1152
  function Ko(e) {
1152
- Li(De(F(B).categories, e));
1153
+ Li(Oe(F(B).categories, e));
1153
1154
  }
1154
1155
  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
1156
  function $o(e) {
@@ -1449,7 +1450,7 @@ function ni(ne, f) {
1449
1450
  if (!i?.defined) continue;
1450
1451
  let a = F(W).series.find((e) => e.overlay && r.label === `${e.label} (${e.overlay})`);
1451
1452
  if (!a?.overlay) continue;
1452
- let o = r.r2 === void 0 ? "" : ` (${et(F(z).rSquared, { value: r.r2.toFixed(2) })})`;
1453
+ let o = r.r2 === void 0 ? "" : ` (${tt(F(z).rSquared, { value: r.r2.toFixed(2) })})`;
1453
1454
  n.push({
1454
1455
  label: `${a.label} ${e(a.overlay)}`,
1455
1456
  color: r.color,
@@ -1496,7 +1497,7 @@ function ni(ne, f) {
1496
1497
  value: c
1497
1498
  }), f.syncGroup && !F(Vi)) {
1498
1499
  let e = Date.parse(a);
1499
- je(f.syncGroup, {
1500
+ Me(f.syncGroup, {
1500
1501
  label: a,
1501
1502
  index: (I() ? I().i0 : 0) + n,
1502
1503
  time: Number.isFinite(e) ? e : null,
@@ -1510,7 +1511,7 @@ function ni(ne, f) {
1510
1511
  let r = ys(t);
1511
1512
  if (F(X)) {
1512
1513
  let e = F(W).series.find((e) => e.label === F(X))?.values[t];
1513
- p(Vo, et(F(z).seriesAtCategory, {
1514
+ p(Vo, tt(F(z).seriesAtCategory, {
1514
1515
  series: F(X),
1515
1516
  value: Number.isFinite(e) ? wi(F(X))(e) : F(z).noValue,
1516
1517
  category: r
@@ -1518,7 +1519,7 @@ function ni(ne, f) {
1518
1519
  } else p(Vo, `${r}: ${ps(t).map((e) => `${e.label ?? ""} ${e.value}`).join(", ")}`);
1519
1520
  }
1520
1521
  function Q() {
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
+ 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 && Me(f.syncGroup, null));
1522
1523
  }
1523
1524
  pe(() => {
1524
1525
  if (!F(Bi)) return;
@@ -1574,7 +1575,7 @@ function ni(ne, f) {
1574
1575
  value: V(r.y)
1575
1576
  }], a = F(W).series.find((e) => e.label === r.series && e.overlay), o = a?.overlay ? F(G).overlays.find((e) => e.label === `${a.label} (${a.overlay})`) : void 0;
1576
1577
  if (a?.overlay && o) {
1577
- let t = o.r2 === void 0 ? "" : ` (${et(F(z).rSquared, { value: o.r2.toFixed(2) })})`;
1578
+ let t = o.r2 === void 0 ? "" : ` (${tt(F(z).rSquared, { value: o.r2.toFixed(2) })})`;
1578
1579
  i.push({
1579
1580
  label: e(a.overlay),
1580
1581
  color: o.color,
@@ -1811,12 +1812,12 @@ function ni(ne, f) {
1811
1812
  function Bs(e, t) {
1812
1813
  if (!F(vi) || !F(K)) return !1;
1813
1814
  let n = F(B).categories.length, r = (I()?.i0 ?? 0) + t, i, a = F(q) ? "ArrowDown" : "ArrowRight", o = F(q) ? "ArrowUp" : "ArrowLeft";
1814
- if (e.key === "+" || e.key === "=") i = we(I(), n, r, .8);
1815
- else if (e.key === "-" || e.key === "_") i = we(I(), n, r, 1.25);
1815
+ if (e.key === "+" || e.key === "=") i = Te(I(), n, r, .8);
1816
+ else if (e.key === "-" || e.key === "_") i = Te(I(), n, r, 1.25);
1816
1817
  else if (e.key === "0") i = null;
1817
1818
  else if (e.shiftKey && I() && (e.key === a || e.key === o)) {
1818
1819
  let t = I().i1 - I().i0 + 1;
1819
- i = Te(I(), n, (e.key === a ? 1 : -1) * Math.max(1, Math.floor(t / 10)));
1820
+ i = Ee(I(), n, (e.key === a ? 1 : -1) * Math.max(1, Math.floor(t / 10)));
1820
1821
  }
1821
1822
  if (i === void 0) return !1;
1822
1823
  e.preventDefault(), Li(i);
@@ -1835,20 +1836,20 @@ function ni(ne, f) {
1835
1836
  }, r = n.i1 - n.i0 + 1, i = (n.i0 + n.i1) / 2, a = e.shiftKey ? r : Math.max(1, Math.floor(r / 10)), o;
1836
1837
  switch (e.key) {
1837
1838
  case "ArrowRight":
1838
- o = Te(I(), t, a);
1839
+ o = Ee(I(), t, a);
1839
1840
  break;
1840
1841
  case "ArrowLeft":
1841
- o = Te(I(), t, -a);
1842
+ o = Ee(I(), t, -a);
1842
1843
  break;
1843
1844
  case "ArrowUp":
1844
1845
  case "+":
1845
1846
  case "=":
1846
- o = we(I(), t, i, .8);
1847
+ o = Te(I(), t, i, .8);
1847
1848
  break;
1848
1849
  case "ArrowDown":
1849
1850
  case "-":
1850
1851
  case "_":
1851
- o = we(I(), t, i, 1.25);
1852
+ o = Te(I(), t, i, 1.25);
1852
1853
  break;
1853
1854
  case "Home":
1854
1855
  o = I() ? {
@@ -1874,7 +1875,7 @@ function ni(ne, f) {
1874
1875
  }
1875
1876
  let Hs = T("idle"), Us = T(null), Ws = T(null);
1876
1877
  function Gs(e) {
1877
- if (!R()) return;
1878
+ if (!L()) return;
1878
1879
  e.preventDefault();
1879
1880
  let t = F(K) && !F(go) ? Ao(e.clientX, e.currentTarget) : null;
1880
1881
  Ks(e.clientX, e.clientY, t);
@@ -1897,7 +1898,7 @@ function ni(ne, f) {
1897
1898
  });
1898
1899
  }
1899
1900
  function qs(e, t) {
1900
- if (!R() || !(e.key === "ContextMenu" || e.key === "F10" && e.shiftKey)) return !1;
1901
+ if (!L() || !(e.key === "ContextMenu" || e.key === "F10" && e.shiftKey)) return !1;
1901
1902
  e.preventDefault();
1902
1903
  let n = e.currentTarget.getBoundingClientRect();
1903
1904
  return Ks(n.left + n.width / 2, n.top + Math.min(n.height / 2, 24), t), !0;
@@ -1923,10 +1924,10 @@ function ni(ne, f) {
1923
1924
  $s();
1924
1925
  }
1925
1926
  },
1926
- ...Xe(F(B)) ? [{
1927
+ ...Ze(F(B)) ? [{
1927
1928
  label: F(z).downloadCsv,
1928
1929
  onSelect: () => {
1929
- Ze(F(B));
1930
+ Qe(F(B));
1930
1931
  }
1931
1932
  }] : [],
1932
1933
  {
@@ -1944,11 +1945,11 @@ function ni(ne, f) {
1944
1945
  ...Be() && F(Ye) ? [{
1945
1946
  label: F(z).describeChart,
1946
1947
  onSelect: () => {
1947
- Qe();
1948
+ Xe();
1948
1949
  }
1949
1950
  }] : []
1950
1951
  ];
1951
- Oe() && F(Ii) && e.push({ separator: !0 }, {
1952
+ we() && F(Ii) && e.push({ separator: !0 }, {
1952
1953
  label: F(z).resetZoom,
1953
1954
  onSelect: Ui
1954
1955
  }), F(Wo) && e.push({ separator: !0 }, {
@@ -1964,7 +1965,7 @@ function ni(ne, f) {
1964
1965
  onSelect: () => $o(e.label)
1965
1966
  }))
1966
1967
  });
1967
- let t = typeof R() == "function" ? R()(F(Us).target) : Array.isArray(R()) ? R() : [];
1968
+ let t = typeof L() == "function" ? L()(F(Us).target) : Array.isArray(L()) ? L() : [];
1968
1969
  return t.length && e.push({ separator: !0 }, ...t), e;
1969
1970
  });
1970
1971
  function Ys() {
@@ -2029,7 +2030,7 @@ function ni(ne, f) {
2029
2030
  }
2030
2031
  async function $s() {
2031
2032
  if (!F(ss)) return;
2032
- let e = await import("./chart-export-pdf-BSDueOD-.js"), t = (/* @__PURE__ */ new Date()).toISOString().slice(0, 10);
2033
+ let e = await import("./chart-export-pdf-CBZNCRFi.js"), t = (/* @__PURE__ */ new Date()).toISOString().slice(0, 10);
2033
2034
  await e.downloadChartPdf(F(ss), `chart-${t}.pdf`, {
2034
2035
  title: F(B).title,
2035
2036
  subtitle: F(B).subtitle,
@@ -2037,7 +2038,7 @@ function ni(ne, f) {
2037
2038
  });
2038
2039
  }
2039
2040
  async function ec() {
2040
- F(ss) && (await import("./chart-export-pdf-BSDueOD-.js")).printChart(F(ss), { title: F(B).title });
2041
+ F(ss) && (await import("./chart-export-pdf-CBZNCRFi.js")).printChart(F(ss), { title: F(B).title });
2041
2042
  }
2042
2043
  async function tc() {
2043
2044
  let e = Ys();
@@ -2058,19 +2059,19 @@ function ni(ne, f) {
2058
2059
  var nc = {
2059
2060
  zoomTo: Hi,
2060
2061
  resetZoom: Ui
2061
- }, rc = ti();
2062
+ }, rc = ni();
2062
2063
  let ic;
2063
2064
  {
2064
2065
  let e = (e) => {
2065
- var t = it(), n = C(t), r = C(n, !0);
2066
+ var t = at(), n = C(t), r = C(n, !0);
2066
2067
  j(n);
2067
2068
  var i = w(n, 2);
2068
2069
  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);
2070
+ var r = it(), i = w(S(r), 2), a = (e) => {
2071
+ var n = nt(), r = C(n, !0);
2071
2072
  j(n), x(() => O(r, F(t))), m(e, n);
2072
2073
  }, o = (e) => {
2073
- var r = nt(), i = C(r, !0);
2074
+ var r = rt(), i = C(r, !0);
2074
2075
  j(r), x(() => O(i, F(t))), g("click", r, () => Xa(Ie().slice(0, n + 1))), m(e, r);
2075
2076
  };
2076
2077
  h(i, (e) => {
@@ -2081,26 +2082,26 @@ function ni(ne, f) {
2081
2082
  }), g("click", n, () => Xa([])), m(e, t);
2082
2083
  };
2083
2084
  var ac = C(rc), oc = (t) => {
2084
- var n = pt(), r = C(n), i = (t) => {
2085
+ var n = mt(), r = C(n), i = (t) => {
2085
2086
  e(t);
2086
2087
  };
2087
2088
  h(r, (e) => {
2088
2089
  F(Wa) && Ie().length && e(i);
2089
2090
  });
2090
2091
  var a = w(r, 2), o = (e) => {
2091
- var t = ot();
2092
+ var t = st();
2092
2093
  N(t, 21, () => F(Uo), (e) => Go(e), (e, t) => {
2093
- var n = at(), r = C(n, !0);
2094
+ var n = ot(), r = C(n, !0);
2094
2095
  j(n), x((e, t) => {
2095
2096
  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
+ }, [() => tt(F(z).showLast, { preset: Go(F(t)) }), () => Go(F(t))]), g("click", n, () => Ko(F(t))), m(e, n);
2097
2098
  }), j(t), x(() => E(t, "aria-label", F(z).dateRange)), m(e, t);
2098
2099
  };
2099
2100
  h(a, (e) => {
2100
2101
  F(Wo) && e(o);
2101
2102
  });
2102
2103
  var s = w(a, 2), c = (e) => {
2103
- var t = st();
2104
+ var t = ct();
2104
2105
  let n;
2105
2106
  var r = w(C(t));
2106
2107
  j(t), x(() => {
@@ -2111,16 +2112,16 @@ function ni(ne, f) {
2111
2112
  F(vi) && (F(vi).pan === "mode" || F(vi).pan === !0) && F(Ii) && e(c);
2112
2113
  });
2113
2114
  var l = w(s, 2), u = (e) => {
2114
- var t = ct(), n = w(C(t));
2115
+ var t = lt(), n = w(C(t));
2115
2116
  j(t), x(() => {
2116
2117
  E(t, "title", F(z).resetZoomTitle), O(n, ` ${F(z).resetZoom ?? ""}`);
2117
2118
  }), g("click", t, Ui), m(e, t);
2118
2119
  };
2119
2120
  h(l, (e) => {
2120
- Oe() && F(Ii) && e(u);
2121
+ we() && F(Ii) && e(u);
2121
2122
  });
2122
2123
  var d = w(l, 2), ee = (e) => {
2123
- var t = lt();
2124
+ var t = ut();
2124
2125
  let n;
2125
2126
  var r = w(C(t));
2126
2127
  j(t), x(() => {
@@ -2131,17 +2132,17 @@ function ni(ne, f) {
2131
2132
  qe() && e(ee);
2132
2133
  });
2133
2134
  var te = w(d, 2), ne = (e) => {
2134
- var t = ft(), n = C(t);
2135
+ var t = pt(), n = C(t);
2135
2136
  N(n, 16, () => F(ca), (e) => e, (e, t) => {
2136
- var n = ut();
2137
+ var n = dt();
2137
2138
  let r;
2138
2139
  var i = C(n, !0);
2139
2140
  j(n), x((e) => {
2140
2141
  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
+ }, [() => tt(F(z).draw, { tool: F(sa)[t] })]), g("click", n, () => xa(t)), m(e, n);
2142
2143
  });
2143
2144
  var r = w(n, 2), i = (e) => {
2144
- var t = dt(), n = S(t), r = C(n, !0);
2145
+ var t = ft(), n = S(t), r = C(n, !0);
2145
2146
  j(n);
2146
2147
  var i = w(n, 2), a = C(i, !0);
2147
2148
  j(i), x(() => {
@@ -2168,7 +2169,7 @@ function ni(ne, f) {
2168
2169
  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
2170
  }), 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
2171
  }, sc = (t) => {
2171
- var n = mt(), r = C(n);
2172
+ var n = ht(), r = C(n);
2172
2173
  e(r), j(n), ve(n, "clientHeight", (e) => p(ui, e)), m(t, n);
2173
2174
  };
2174
2175
  h(ac, (e) => {
@@ -2177,8 +2178,8 @@ function ni(ne, f) {
2177
2178
  var $ = w(ac, 2);
2178
2179
  let t, n;
2179
2180
  var cc = C($), lc = (e) => {
2180
- var t = xt(), n = C(t), r = (e) => {
2181
- var t = ht(), n = C(t);
2181
+ var t = St(), n = C(t), r = (e) => {
2182
+ var t = gt(), n = C(t);
2182
2183
  let r;
2183
2184
  j(t), x(() => {
2184
2185
  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" });
@@ -2189,7 +2190,7 @@ function ni(ne, f) {
2189
2190
  });
2190
2191
  var i = w(n);
2191
2192
  N(i, 17, () => F(oo), (e) => e.id, (e, t) => {
2192
- var n = gt(), r = C(n), i = w(r);
2193
+ var n = _t(), r = C(n), i = w(r);
2193
2194
  j(n), x(() => {
2194
2195
  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
2196
  }), m(e, n);
@@ -2197,22 +2198,22 @@ function ni(ne, f) {
2197
2198
  var a = w(i);
2198
2199
  N(a, 17, () => F(Pi), (e) => e.id, (e, t) => {
2199
2200
  var n = D(), r = S(n), i = (e) => {
2200
- var n = _t(), r = C(n);
2201
+ var n = vt(), r = C(n);
2201
2202
  he(), j(n), x(() => {
2202
2203
  E(n, "id", F(t).id), E(r, "fill", F(t).color);
2203
2204
  }), m(e, n);
2204
2205
  }, a = (e) => {
2205
- var n = vt(), r = C(n);
2206
+ var n = yt(), r = C(n);
2206
2207
  he(), j(n), x(() => {
2207
2208
  E(n, "id", F(t).id), E(r, "fill", F(t).color);
2208
2209
  }), m(e, n);
2209
2210
  }, o = (e) => {
2210
- var n = yt(), r = C(n);
2211
+ var n = bt(), r = C(n);
2211
2212
  he(), j(n), x(() => {
2212
2213
  E(n, "id", F(t).id), E(r, "fill", F(t).color);
2213
2214
  }), m(e, n);
2214
2215
  }, s = (e) => {
2215
- var n = bt(), r = C(n);
2216
+ var n = xt(), r = C(n);
2216
2217
  he(), j(n), x(() => {
2217
2218
  E(n, "id", F(t).id), E(r, "fill", F(t).color);
2218
2219
  }), m(e, n);
@@ -2226,7 +2227,7 @@ function ni(ne, f) {
2226
2227
  (F(Pi).length || F(oo).length || F(K)) && e(lc);
2227
2228
  });
2228
2229
  var uc = w(cc), dc = (e) => {
2229
- var t = St(), n = C(t, !0);
2230
+ var t = Ct(), n = C(t, !0);
2230
2231
  j(t), x(() => {
2231
2232
  E(t, "x", F(G).frame.title.x), E(t, "y", F(G).frame.title.y), O(n, F(G).frame.title.text);
2232
2233
  }), m(e, t);
@@ -2235,7 +2236,7 @@ function ni(ne, f) {
2235
2236
  F(G).frame.title && e(dc);
2236
2237
  });
2237
2238
  var fc = w(uc), pc = (e) => {
2238
- var t = Ct(), n = C(t, !0);
2239
+ var t = wt(), n = C(t, !0);
2239
2240
  j(t), x(() => {
2240
2241
  E(t, "x", F(G).frame.subtitle.x), E(t, "y", F(G).frame.subtitle.y), O(n, F(G).frame.subtitle.text);
2241
2242
  }), m(e, t);
@@ -2244,7 +2245,7 @@ function ni(ne, f) {
2244
2245
  F(G).frame.subtitle && e(pc);
2245
2246
  });
2246
2247
  var mc = w(fc), hc = (e) => {
2247
- var t = wt(), n = C(t, !0);
2248
+ var t = Tt(), n = C(t, !0);
2248
2249
  j(t), x(() => {
2249
2250
  E(t, "x", F(G).frame.caption.x), E(t, "y", F(G).frame.caption.y), O(n, F(G).frame.caption.text);
2250
2251
  }), m(e, t);
@@ -2253,10 +2254,10 @@ function ni(ne, f) {
2253
2254
  F(G).frame.caption && e(hc);
2254
2255
  });
2255
2256
  var gc = w(mc), _c = (e) => {
2256
- var t = jt(), n = S(t);
2257
+ var t = Mt(), n = S(t);
2257
2258
  N(n, 17, () => F(G).valueTicks, (e) => e.label + e.x, (e, t, n, r) => {
2258
- var i = Et(), a = S(i), o = (e) => {
2259
- var n = Tt();
2259
+ var i = Dt(), a = S(i), o = (e) => {
2260
+ var n = Et();
2260
2261
  x(() => {
2261
2262
  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
2263
  }), m(e, n);
@@ -2272,7 +2273,7 @@ function ni(ne, f) {
2272
2273
  var r = w(n), i = (e) => {
2273
2274
  var t = D(), n = S(t);
2274
2275
  N(n, 17, () => F(G).catTicks, (e) => e.value, (e, t, n, r) => {
2275
- var i = Dt();
2276
+ var i = Ot();
2276
2277
  x(() => {
2277
2278
  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
2279
  }), m(e, i);
@@ -2283,13 +2284,13 @@ function ni(ne, f) {
2283
2284
  });
2284
2285
  var a = w(r);
2285
2286
  N(a, 17, () => F(G).catTicks, (e) => e.value, (e, t, n, r) => {
2286
- var i = Ot(), a = C(i, !0);
2287
+ var i = kt(), a = C(i, !0);
2287
2288
  j(i), x((e) => {
2288
2289
  E(i, "x", F(G).plot.x - 6), E(i, "y", F(t).y + 3), O(a, e);
2289
2290
  }, [() => as(F(t).label, 18)]), m(e, i);
2290
2291
  });
2291
2292
  var o = w(a), s = (e) => {
2292
- var t = kt();
2293
+ var t = At();
2293
2294
  E(t, "x", 13);
2294
2295
  var n = C(t, !0);
2295
2296
  j(t), x(() => {
@@ -2300,7 +2301,7 @@ function ni(ne, f) {
2300
2301
  F(so) && e(s);
2301
2302
  });
2302
2303
  var c = w(o), l = (e) => {
2303
- var t = At(), n = C(t, !0);
2304
+ var t = jt(), n = C(t, !0);
2304
2305
  j(t), x(() => {
2305
2306
  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
2307
  }), m(e, t);
@@ -2309,10 +2310,10 @@ function ni(ne, f) {
2309
2310
  F(lo) && e(l);
2310
2311
  }), m(e, t);
2311
2312
  }, vc = (e) => {
2312
- var t = Wt(), n = S(t);
2313
+ var t = Gt(), n = S(t);
2313
2314
  N(n, 17, () => F(G).yTicks, (e) => e.value, (e, t, n, r) => {
2314
- var i = Pt(), a = S(i), o = (e) => {
2315
- var n = Mt();
2315
+ var i = Ft(), a = S(i), o = (e) => {
2316
+ var n = Nt();
2316
2317
  let r;
2317
2318
  x(() => {
2318
2319
  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);
@@ -2322,7 +2323,7 @@ function ni(ne, f) {
2322
2323
  (F(G).grid.y || F(t).value === 0) && e(o);
2323
2324
  });
2324
2325
  var s = w(a), c = (e) => {
2325
- var n = Nt(), r = C(n, !0);
2326
+ var n = Pt(), r = C(n, !0);
2326
2327
  j(n), x((e) => {
2327
2328
  E(n, "x", F(G).plot.x - 6), E(n, "y", F(t).y + 3), O(r, e);
2328
2329
  }, [() => os(F(t).value, F(t).label)]), m(e, n);
@@ -2334,7 +2335,7 @@ function ni(ne, f) {
2334
2335
  var r = w(n), i = (e) => {
2335
2336
  var t = D(), n = S(t);
2336
2337
  N(n, 17, () => F(G).xTicks, (e) => e.label + e.x, (e, t, n, r) => {
2337
- var i = Ft();
2338
+ var i = It();
2338
2339
  x(() => {
2339
2340
  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
2341
  }), m(e, i);
@@ -2347,7 +2348,7 @@ function ni(ne, f) {
2347
2348
  var t = D(), n = S(t);
2348
2349
  N(n, 17, () => F(G).y2Ticks, (e) => e.value, (e, t, n, r) => {
2349
2350
  var i = D(), a = S(i), o = (e) => {
2350
- var n = It(), r = C(n, !0);
2351
+ var n = Lt(), r = C(n, !0);
2351
2352
  j(n), x((e) => {
2352
2353
  E(n, "x", F(G).plot.x + F(G).plot.w + 6), E(n, "y", F(t).y + 3), O(r, e);
2353
2354
  }, [() => os(F(t).value, F(t).label)]), m(e, n);
@@ -2363,12 +2364,12 @@ function ni(ne, f) {
2363
2364
  var s = w(a);
2364
2365
  N(s, 17, () => F(G).xTicks, (e) => e.label + e.x, (e, t, n, r) => {
2365
2366
  var i = D(), a = S(i), o = (e) => {}, s = (e) => {
2366
- var n = Lt(), r = C(n, !0);
2367
+ var n = Rt(), r = C(n, !0);
2367
2368
  j(n), x((e) => {
2368
2369
  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
2370
  }, [() => as(F(t).label, Math.abs(F(G).xLabelAngle) >= 60 ? 18 : 12)]), m(e, n);
2370
2371
  }, c = (e) => {
2371
- var n = Rt(), r = C(n, !0);
2372
+ var n = zt(), r = C(n, !0);
2372
2373
  j(n), x((e) => {
2373
2374
  E(n, "x", F(t).x), E(n, "y", F(G).plot.y + F(G).plot.h + 16), O(r, e);
2374
2375
  }, [() => as(F(t).label, 16)]), m(e, n);
@@ -2380,8 +2381,8 @@ function ni(ne, f) {
2380
2381
  var c = w(s);
2381
2382
  N(c, 17, () => F(G).categoryGroupTicks, (e) => e.label + e.x0, (e, t) => {
2382
2383
  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
- var r = zt();
2384
+ var r = Vt(), i = S(r), a = w(i), o = (e) => {
2385
+ var r = Bt();
2385
2386
  x(() => {
2386
2387
  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
2388
  }), m(e, r);
@@ -2395,7 +2396,7 @@ function ni(ne, f) {
2395
2396
  }, [() => as(F(t).label, Math.max(4, Math.floor((F(t).x1 - F(t).x0) / 7)))]), m(e, r);
2396
2397
  });
2397
2398
  var l = w(c), u = (e) => {
2398
- var t = Vt();
2399
+ var t = Ht();
2399
2400
  E(t, "x", 13);
2400
2401
  var n = C(t, !0);
2401
2402
  j(t), x(() => {
@@ -2406,7 +2407,7 @@ function ni(ne, f) {
2406
2407
  F(so) && e(u);
2407
2408
  });
2408
2409
  var d = w(l), ee = (e) => {
2409
- var t = Ht(), n = C(t, !0);
2410
+ var t = Ut(), n = C(t, !0);
2410
2411
  j(t), x(() => {
2411
2412
  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
2413
  }), m(e, t);
@@ -2415,7 +2416,7 @@ function ni(ne, f) {
2415
2416
  F(co) && e(ee);
2416
2417
  });
2417
2418
  var te = w(d), ne = (e) => {
2418
- var t = Ut(), n = C(t, !0);
2419
+ var t = Wt(), n = C(t, !0);
2419
2420
  j(t), x(() => {
2420
2421
  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
2422
  }), m(e, t);
@@ -2429,14 +2430,14 @@ function ni(ne, f) {
2429
2430
  });
2430
2431
  var yc = w(gc);
2431
2432
  N(yc, 17, () => F(G).referenceBands, b, (e, t) => {
2432
- var n = qt(), r = S(n), i = w(r), a = (e) => {
2433
+ var n = Jt(), r = S(n), i = w(r), a = (e) => {
2433
2434
  var n = D(), r = S(n), i = (e) => {
2434
- var n = Gt(), r = C(n, !0);
2435
+ var n = Kt(), r = C(n, !0);
2435
2436
  j(n), x(() => {
2436
2437
  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
2438
  }), m(e, n);
2438
2439
  }, a = (e) => {
2439
- var n = Kt(), r = C(n, !0);
2440
+ var n = qt(), r = C(n, !0);
2440
2441
  j(n), x(() => {
2441
2442
  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
2443
  }), m(e, n);
@@ -2456,8 +2457,8 @@ function ni(ne, f) {
2456
2457
  var xc = C(bc);
2457
2458
  N(xc, 19, () => F(G).lines, (e, t) => e.label + t, (e, t, n) => {
2458
2459
  let r = A(() => F(t).style?.gradient ? `${Ai}-grad-${F(n)}` : null);
2459
- var i = en(), a = C(i), o = (e) => {
2460
- var n = Jt();
2460
+ var i = tn(), a = C(i), o = (e) => {
2461
+ var n = Yt();
2461
2462
  x(() => {
2462
2463
  E(n, "d", F(t).bandPath), E(n, "fill", F(t).color);
2463
2464
  }), m(e, n);
@@ -2466,7 +2467,7 @@ function ni(ne, f) {
2466
2467
  F(t).bandPath && e(o);
2467
2468
  });
2468
2469
  var s = w(a), c = (e) => {
2469
- var n = Yt();
2470
+ var n = Xt();
2470
2471
  x(() => {
2471
2472
  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
2473
  }), m(e, n);
@@ -2477,7 +2478,7 @@ function ni(ne, f) {
2477
2478
  var l = w(s), u = w(l), d = (e) => {
2478
2479
  let n = A(() => F(t).points[F(ds) ?? -1]);
2479
2480
  var r = D(), i = S(r), a = (e) => {
2480
- var r = Xt();
2481
+ var r = Zt();
2481
2482
  x(() => {
2482
2483
  E(r, "cx", F(n).x), E(r, "cy", F(n).y), E(r, "fill", F(n).marker?.color ?? F(t).color);
2483
2484
  }), m(e, r);
@@ -2491,7 +2492,7 @@ function ni(ne, f) {
2491
2492
  var i = D(), a = S(i), o = (e) => {
2492
2493
  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
2494
  var s = D(), c = S(s), l = (e) => {
2494
- var i = Zt();
2495
+ var i = Qt();
2495
2496
  let s;
2496
2497
  x((e, t) => {
2497
2498
  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);
@@ -2500,13 +2501,13 @@ function ni(ne, f) {
2500
2501
  "is-selected": Ro(F(n).label, F(t).label)
2501
2502
  }), () => `opacity:${zo(F(n).label, F(t).label)}`]), m(e, i);
2502
2503
  }, u = (e) => {
2503
- var t = Qt();
2504
+ var t = $t();
2504
2505
  let s;
2505
2506
  x((e) => {
2506
2507
  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
2508
  }, [() => ie(F(i), F(n).x, F(n).y, F(a))]), m(e, t);
2508
2509
  }, d = (e) => {
2509
- var t = $t();
2510
+ var t = en();
2510
2511
  let s;
2511
2512
  x((e) => {
2512
2513
  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));
@@ -2536,7 +2537,7 @@ function ni(ne, f) {
2536
2537
  });
2537
2538
  var wc = w(Sc);
2538
2539
  N(wc, 17, () => F(G).bars, b, (e, t) => {
2539
- var n = tn();
2540
+ var n = nn();
2540
2541
  let r;
2541
2542
  x((e, i, a) => {
2542
2543
  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);
@@ -2552,8 +2553,8 @@ function ni(ne, f) {
2552
2553
  });
2553
2554
  var Tc = w(wc);
2554
2555
  N(Tc, 17, () => F(G).stems, b, (e, t) => {
2555
- var n = rn(), r = C(n), i = w(r), a = (e) => {
2556
- var n = nn();
2556
+ var n = an(), r = C(n), i = w(r), a = (e) => {
2557
+ var n = rn();
2557
2558
  x(() => {
2558
2559
  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
2560
  }), m(e, n);
@@ -2569,7 +2570,7 @@ function ni(ne, f) {
2569
2570
  var Ec = w(Tc);
2570
2571
  N(Ec, 17, () => F(G).candles, b, (e, t) => {
2571
2572
  var n = D(), r = S(n), i = (e) => {
2572
- var n = an(), r = S(n), i = w(r), a = w(i);
2573
+ var n = on(), r = S(n), i = w(r), a = w(i);
2573
2574
  x((e, n, o) => {
2574
2575
  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
2576
  }, [
@@ -2578,7 +2579,7 @@ function ni(ne, f) {
2578
2579
  () => `opacity:${J(F(t).series)}`
2579
2580
  ]), m(e, n);
2580
2581
  }, a = (e) => {
2581
- var n = on(), r = S(n), i = w(r);
2582
+ var n = sn(), r = S(n), i = w(r);
2582
2583
  x((e, n) => {
2583
2584
  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
2585
  }, [() => `opacity:${J(F(t).series)}`, () => `opacity:${J(F(t).series)}`]), m(e, n);
@@ -2589,9 +2590,9 @@ function ni(ne, f) {
2589
2590
  });
2590
2591
  var Dc = w(Ec);
2591
2592
  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
+ var n = ln(), r = S(n), i = w(r), a = w(i), o = w(a), s = w(o), c = w(s);
2593
2594
  N(c, 17, () => F(t).outliers, b, (e, n) => {
2594
- var r = sn();
2595
+ var r = cn();
2595
2596
  x((e) => {
2596
2597
  E(r, "cx", F(t).xCenter), E(r, "cy", F(n).y), E(r, "stroke", F(t).color), M(r, e);
2597
2598
  }, [() => `opacity:${J(F(t).series)}`]), m(e, r);
@@ -2607,7 +2608,7 @@ function ni(ne, f) {
2607
2608
  });
2608
2609
  var Oc = w(Dc);
2609
2610
  N(Oc, 17, () => F(G).errorBars, b, (e, t) => {
2610
- var n = ln(), r = S(n), i = w(r), a = w(i);
2611
+ var n = un(), r = S(n), i = w(r), a = w(i);
2611
2612
  x((e, n, o) => {
2612
2613
  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
2614
  }, [
@@ -2618,7 +2619,7 @@ function ni(ne, f) {
2618
2619
  });
2619
2620
  var kc = w(Oc);
2620
2621
  N(kc, 17, () => F(G).scatterPoints, b, (e, t, n) => {
2621
- var r = un();
2622
+ var r = dn();
2622
2623
  let i;
2623
2624
  x((e, n, a, o) => {
2624
2625
  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);
@@ -2639,14 +2640,14 @@ function ni(ne, f) {
2639
2640
  }), j(bc);
2640
2641
  var Ac = w(bc);
2641
2642
  N(Ac, 17, () => F(G).referenceLines, b, (e, t) => {
2642
- var n = pn(), r = S(n), i = w(r), a = (e) => {
2643
+ var n = mn(), r = S(n), i = w(r), a = (e) => {
2643
2644
  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
+ var r = fn(), i = C(r), a = w(i), o = C(a, !0);
2645
2646
  j(a), j(r), x(() => {
2646
2647
  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
2648
  }), m(e, r);
2648
2649
  }, o = (e) => {
2649
- var n = fn(), r = C(n, !0);
2650
+ var n = pn(), r = C(n, !0);
2650
2651
  j(n), x(() => {
2651
2652
  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
2653
  }), m(e, n);
@@ -2659,7 +2660,7 @@ function ni(ne, f) {
2659
2660
  });
2660
2661
  var jc = w(Ac);
2661
2662
  N(jc, 17, () => F(G).referenceLinesV, b, (e, t) => {
2662
- var n = mn(), r = S(n), i = w(r), a = C(i, !0);
2663
+ var n = hn(), r = S(n), i = w(r), a = C(i, !0);
2663
2664
  j(i), x(() => {
2664
2665
  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
2666
  }), m(e, n);
@@ -2667,8 +2668,8 @@ function ni(ne, f) {
2667
2668
  var Mc = w(jc);
2668
2669
  let i;
2669
2670
  N(Mc, 23, () => F(G).overlays, (e, t) => e.label + t, (e, t) => {
2670
- var n = gn(), r = S(n), i = (e) => {
2671
- var n = hn();
2671
+ var n = _n(), r = S(n), i = (e) => {
2672
+ var n = gn();
2672
2673
  x(() => {
2673
2674
  E(n, "d", F(t).bandPath), E(n, "fill", F(t).color), E(n, "stroke", F(t).color);
2674
2675
  }), m(e, n);
@@ -2683,8 +2684,8 @@ function ni(ne, f) {
2683
2684
  }), j(Mc);
2684
2685
  var Nc = w(Mc);
2685
2686
  N(Nc, 17, () => F(Do), b, (e, t) => {
2686
- var n = vn(), r = S(n), i = (e) => {
2687
- var n = _n();
2687
+ var n = yn(), r = S(n), i = (e) => {
2688
+ var n = vn();
2688
2689
  x((e) => {
2689
2690
  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
2691
  }, [() => `opacity:${J(F(t).series)}`]), m(e, n);
@@ -2701,7 +2702,7 @@ function ni(ne, f) {
2701
2702
  });
2702
2703
  var Pc = w(Nc);
2703
2704
  N(Pc, 17, () => F(G).seriesLabels, (e) => e.series, (e, t) => {
2704
- var n = yn(), r = C(n, !0);
2705
+ var n = bn(), r = C(n, !0);
2705
2706
  j(n), x((e) => {
2706
2707
  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
2708
  }, [() => `opacity:${J(F(t).series)}`]), m(e, n);
@@ -2716,27 +2717,27 @@ function ni(ne, f) {
2716
2717
  var Lc = w(Fc);
2717
2718
  N(Lc, 19, () => F(G).annotations, (e, t) => e.label + t, (e, t, n) => {
2718
2719
  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
- var c = wn();
2720
+ var c = Tn();
2720
2721
  let l;
2721
2722
  var u = C(c), d = (e) => {
2722
- var n = bn(), r = S(n), i = w(r), a = w(i), o = C(a, !0);
2723
+ var n = xn(), r = S(n), i = w(r), a = w(i), o = C(a, !0);
2723
2724
  j(a), x(() => {
2724
2725
  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
2726
  }), m(e, n);
2726
2727
  }, ee = (e) => {
2727
- var n = xn(), o = S(n), s = w(o), c = C(s, !0);
2728
+ var n = Sn(), o = S(n), s = w(o), c = C(s, !0);
2728
2729
  j(s);
2729
2730
  var l = w(s), u = C(l, !0);
2730
2731
  j(l), x((e) => {
2731
2732
  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
2733
  }, [() => F(t).label.slice(0, 1)]), m(e, n);
2733
2734
  }, te = (e) => {
2734
- var n = Sn(), o = S(n), s = w(o), c = C(s, !0);
2735
+ var n = Cn(), o = S(n), s = w(o), c = C(s, !0);
2735
2736
  j(s), x(() => {
2736
2737
  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
2738
  }), m(e, n);
2738
2739
  }, ne = (e) => {
2739
- var n = Cn(), s = S(n), c = w(s), l = C(c, !0);
2740
+ var n = wn(), s = S(n), c = w(s), l = C(c, !0);
2740
2741
  j(c), x(() => {
2741
2742
  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
2743
  }), m(e, n);
@@ -2748,7 +2749,7 @@ function ni(ne, f) {
2748
2749
  "is-removable": F(o),
2749
2750
  "has-text": !!F(t).text
2750
2751
  }), 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
+ }, [() => F(o) ? tt(F(z).removeNote, { label: F(t).label }) : F(t).text ? `${F(t).label}: ${F(t).text}` : void 0]), g("click", c, (e) => {
2752
2753
  !F(xi) || !f.onAnnotationRemove || (e.stopPropagation(), f.onAnnotationRemove(F(n)));
2753
2754
  }), g("keydown", c, (e) => {
2754
2755
  !F(xi) || !f.onAnnotationRemove || (e.key === "Enter" || e.key === " ") && (e.preventDefault(), e.stopPropagation(), f.onAnnotationRemove(F(n)));
@@ -2765,15 +2766,15 @@ function ni(ne, f) {
2765
2766
  }), m(e, c);
2766
2767
  });
2767
2768
  var Rc = w(Lc), zc = (e) => {
2768
- var t = Ln(), n = C(t);
2769
+ var t = Rn(), n = C(t);
2769
2770
  N(n, 17, () => F(G).drawings, (e) => e.id, (e, t) => {
2770
2771
  let n = A(() => F(t).points[0]), r = A(() => F(t).points[1]), i = A(() => F(da) === F(t).id);
2771
- var a = Nn();
2772
+ var a = Pn();
2772
2773
  let o;
2773
2774
  var s = C(a), c = (e) => {
2774
2775
  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
- var n = Tn();
2776
+ var a = Dn(), o = S(a), s = w(o), c = w(s), l = (e) => {
2777
+ var n = En();
2777
2778
  x((e) => {
2778
2779
  E(n, "d", e), E(n, "fill", F(t).color);
2779
2780
  }, [() => `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);
@@ -2784,7 +2785,7 @@ function ni(ne, f) {
2784
2785
  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
2786
  }), m(e, a);
2786
2787
  }, l = (e) => {
2787
- var i = Dn();
2788
+ var i = On();
2788
2789
  x((e, n, r, a) => {
2789
2790
  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
2791
  }, [
@@ -2794,15 +2795,15 @@ function ni(ne, f) {
2794
2795
  () => Math.abs(F(r).y - F(n).y)
2795
2796
  ]), m(e, i);
2796
2797
  }, u = (e) => {
2797
- var r = On(), i = S(r), a = w(i), o = w(a), s = C(o, !0);
2798
+ var r = kn(), i = S(r), a = w(i), o = w(a), s = C(o, !0);
2798
2799
  j(o), x(() => {
2799
2800
  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
2801
  }), m(e, r);
2801
2802
  }, d = (e) => {
2802
2803
  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
+ var o = jn(), s = S(o);
2804
2805
  N(s, 17, () => F(t).levels, (e) => e.ratio, (e, n) => {
2805
- var r = kn(), o = S(r), s = w(o), c = C(s, !0);
2806
+ var r = An(), o = S(r), s = w(o), c = C(s, !0);
2806
2807
  j(s), x(() => {
2807
2808
  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
2809
  }), m(e, r);
@@ -2812,7 +2813,7 @@ function ni(ne, f) {
2812
2813
  E(c, "x", F(i)), E(c, "y", e), E(c, "width", F(a) - F(i)), E(c, "height", t);
2813
2814
  }, [() => Math.min(F(n).y, F(r).y), () => Math.abs(F(r).y - F(n).y)]), m(e, o);
2814
2815
  }, ee = (e) => {
2815
- var r = jn(), i = C(r, !0);
2816
+ var r = Mn(), i = C(r, !0);
2816
2817
  j(r), x(() => {
2817
2818
  E(r, "x", F(n).x), E(r, "y", F(n).y), E(r, "fill", F(t).color), O(i, F(t).text ?? "");
2818
2819
  }), m(e, r);
@@ -2823,7 +2824,7 @@ function ni(ne, f) {
2823
2824
  var te = w(s), ne = (e) => {
2824
2825
  var n = D(), r = S(n);
2825
2826
  N(r, 17, () => F(t).points, b, (e, n, r) => {
2826
- var i = Mn();
2827
+ var i = Nn();
2827
2828
  x(() => {
2828
2829
  E(i, "cx", F(n).x), E(i, "cy", F(n).y), E(i, "stroke", F(t).color);
2829
2830
  }), g("pointerdown", i, (e) => {
@@ -2838,15 +2839,15 @@ function ni(ne, f) {
2838
2839
  F(i) && Je() && e(ne);
2839
2840
  }), j(a), x((e) => {
2840
2841
  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() ? `${tt(F(z).drawing, { tool: F(sa)[F(t).kind] })}${F(t).text ? `: ${F(t).text}` : ""}` : void 0]), g("click", a, (e) => {
2842
2843
  Je() && !F(la) && (e.stopPropagation(), p(da, F(i) ? null : F(t).id, !0));
2843
2844
  }), g("keydown", a, (e) => {
2844
2845
  Je() && Ta(e, F(t).id);
2845
2846
  }), m(e, a);
2846
2847
  });
2847
2848
  var r = w(n), i = (e) => {
2848
- var t = In(), n = S(t), r = w(n), i = (e) => {
2849
- var t = Pn();
2849
+ var t = Ln(), n = S(t), r = w(n), i = (e) => {
2850
+ var t = Fn();
2850
2851
  x((e, n, r, i) => {
2851
2852
  E(t, "x", e), E(t, "y", n), E(t, "width", r), E(t, "height", i);
2852
2853
  }, [
@@ -2856,7 +2857,7 @@ function ni(ne, f) {
2856
2857
  () => Math.abs(F(ua).y - F(H).py)
2857
2858
  ]), m(e, t);
2858
2859
  }, a = (e) => {
2859
- var t = Fn();
2860
+ var t = In();
2860
2861
  x(() => {
2861
2862
  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
2863
  }), m(e, t);
@@ -2877,19 +2878,19 @@ function ni(ne, f) {
2877
2878
  var Bc = w(Rc), Vc = (e) => {
2878
2879
  var t = D(), n = S(t), r = (e) => {
2879
2880
  let t = A(() => F(G).plot.y + F(wo) * F(ds) + F(wo) / 2);
2880
- var n = Rn();
2881
+ var n = zn();
2881
2882
  x(() => {
2882
2883
  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
2884
  }), m(e, n);
2884
2885
  }, i = (e) => {
2885
2886
  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
+ var r = Hn(), i = S(r), a = w(i), o = (e) => {
2887
2888
  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
+ var i = Vn(), a = S(i), o = C(a), s = w(o), c = C(s, !0);
2889
2890
  j(s), j(a);
2890
2891
  var l = w(a), u = (e) => {
2891
2892
  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
+ var r = Bn(), i = C(r), a = w(i), o = C(a, !0);
2893
2894
  j(a), j(r), x((e, r) => {
2894
2895
  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
2896
  }, [() => 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);
@@ -2914,24 +2915,24 @@ function ni(ne, f) {
2914
2915
  F(K) && F(ds) !== null && e(Vc);
2915
2916
  });
2916
2917
  var Hc = w(Bc), Uc = (e) => {
2917
- var t = Jn(), n = S(t);
2918
+ var t = Yn(), n = S(t);
2918
2919
  N(n, 17, () => F(G).heatmapRowTicks, (e) => e.value, (e, t, n, r) => {
2919
- var i = Hn(), a = C(i, !0);
2920
+ var i = Un(), a = C(i, !0);
2920
2921
  j(i), x((e) => {
2921
2922
  E(i, "x", F(G).plot.x - 8), E(i, "y", F(t).y + 3), O(a, e);
2922
2923
  }, [() => as(F(t).label, 22)]), m(e, i);
2923
2924
  });
2924
2925
  var r = w(n);
2925
2926
  N(r, 19, () => F(G).heatmapColTicks, (e, t) => e.label + t, (e, t, n, r) => {
2926
- var i = Un(), a = C(i, !0);
2927
+ var i = Wn(), a = C(i, !0);
2927
2928
  j(i), x((e) => {
2928
2929
  E(i, "x", F(t).x), E(i, "y", F(G).plot.y + F(G).plot.h + 14), O(a, e);
2929
2930
  }, [() => as(F(t).label, 14)]), m(e, i);
2930
2931
  });
2931
2932
  var i = w(r);
2932
2933
  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);
2934
+ var r = Kn(), i = S(r), a = w(i), o = (e) => {
2935
+ var n = Gn(), r = C(n, !0);
2935
2936
  j(n), x((e) => {
2936
2937
  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
2938
  }, [() => V(F(t).value)]), m(e, n);
@@ -2948,9 +2949,9 @@ function ni(ne, f) {
2948
2949
  });
2949
2950
  var a = w(i), o = (e) => {
2950
2951
  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
+ var i = Jn(), a = S(i), o = C(a);
2952
2953
  N(o, 21, () => F(r), b, (e, t, n) => {
2953
- var i = Kn();
2954
+ var i = qn();
2954
2955
  x(() => {
2955
2956
  E(i, "offset", `${n / (F(r).length - 1) * 100}%`), E(i, "stop-color", F(t).color);
2956
2957
  }), m(e, i);
@@ -2972,8 +2973,8 @@ function ni(ne, f) {
2972
2973
  var Wc = w(Hc), Gc = (e) => {
2973
2974
  var t = D(), n = S(t);
2974
2975
  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);
2976
+ var r = Zn(), i = S(r), a = w(i), o = (e) => {
2977
+ var n = Xn(), r = S(n), i = C(r, !0);
2977
2978
  j(r);
2978
2979
  var a = w(r), o = C(a);
2979
2980
  j(a), x((e, n, s) => {
@@ -3000,10 +3001,10 @@ function ni(ne, f) {
3000
3001
  });
3001
3002
  var Kc = w(Wc), qc = (e) => {
3002
3003
  let t = A(() => F(G).radarCenter);
3003
- var n = tr(), r = S(n);
3004
+ var n = nr(), r = S(n);
3004
3005
  N(r, 17, () => F(G).radarRings, b, (e, n, r) => {
3005
3006
  let i = A(() => F(t).r * ((r + 1) / F(G).radarRings.length));
3006
- var a = Zn();
3007
+ var a = Qn();
3007
3008
  x(() => {
3008
3009
  E(a, "cx", F(t).cx), E(a, "cy", F(t).cy), E(a, "r", F(i));
3009
3010
  }), m(e, a);
@@ -3011,17 +3012,17 @@ function ni(ne, f) {
3011
3012
  var i = w(r);
3012
3013
  N(i, 17, () => F(G).radarAxes, b, (e, n) => {
3013
3014
  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
+ var s = $n(), c = S(s), l = w(c), u = C(l, !0);
3015
3016
  j(l), x((e) => {
3016
3017
  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
3018
  }, [() => Math.abs(F(r)) < 1 ? "middle" : F(r) > 0 ? "start" : "end"]), m(e, s);
3018
3019
  });
3019
3020
  var a = w(i);
3020
3021
  N(a, 17, () => F(G).radarSeries, b, (e, t, n) => {
3021
- var r = er(), i = S(r), a = w(i);
3022
+ var r = tr(), i = S(r), a = w(i);
3022
3023
  N(a, 17, () => F(t).points, b, (e, r, i) => {
3023
3024
  let a = A(() => n * F(t).points.length + i);
3024
- var o = $n();
3025
+ var o = er();
3025
3026
  x((e, n) => {
3026
3027
  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
3028
  }, [() => 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) => {
@@ -3038,9 +3039,9 @@ function ni(ne, f) {
3038
3039
  F(yo) && F(G).radarCenter && e(qc);
3039
3040
  });
3040
3041
  var Jc = w(Kc), Yc = (e) => {
3041
- var t = sr(), n = S(t);
3042
+ var t = cr(), n = S(t);
3042
3043
  N(n, 17, () => F(G).calendarMonthTicks, b, (e, t, n, r) => {
3043
- var i = nr(), a = C(i, !0);
3044
+ var i = rr(), a = C(i, !0);
3044
3045
  j(i), x(() => {
3045
3046
  E(i, "x", F(t).x), E(i, "y", F(G).plot.y - 8), O(a, F(t).label);
3046
3047
  }), m(e, i);
@@ -3057,7 +3058,7 @@ function ni(ne, f) {
3057
3058
  5
3058
3059
  ][n]), i = A(() => F(G).calendarCells[F(r)]);
3059
3060
  var a = D(), o = S(a), s = (e) => {
3060
- var n = rr(), r = C(n, !0);
3061
+ var n = ir(), r = C(n, !0);
3061
3062
  j(n), x(() => {
3062
3063
  E(n, "x", F(G).plot.x - 6), E(n, "y", F(i).y + F(i).size / 2 + 3), O(r, t);
3063
3064
  }), m(e, n);
@@ -3068,7 +3069,7 @@ function ni(ne, f) {
3068
3069
  });
3069
3070
  var i = w(r);
3070
3071
  N(i, 17, () => F(G).calendarCells, b, (e, t, n) => {
3071
- var r = ir();
3072
+ var r = ar();
3072
3073
  let i;
3073
3074
  x((e, n) => {
3074
3075
  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);
@@ -3090,9 +3091,9 @@ function ni(ne, f) {
3090
3091
  });
3091
3092
  var a = w(i), o = (e) => {
3092
3093
  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
+ var r = sr(), i = S(r), a = w(i);
3094
3095
  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
+ var a = or(), o = S(a), s = w(o), c = C(s, !0);
3096
3097
  j(s), x(() => {
3097
3098
  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
3099
  }), m(e, a);
@@ -3111,9 +3112,9 @@ function ni(ne, f) {
3111
3112
  });
3112
3113
  var Xc = w(Jc), Zc = (e) => {
3113
3114
  let t = A(() => F(G).gauge);
3114
- var n = dr(), r = S(n);
3115
+ var n = fr(), r = S(n);
3115
3116
  N(r, 17, () => F(t).ticks, b, (e, t) => {
3116
- var n = cr();
3117
+ var n = lr();
3117
3118
  let r;
3118
3119
  x(() => {
3119
3120
  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);
@@ -3121,13 +3122,13 @@ function ni(ne, f) {
3121
3122
  });
3122
3123
  var i = w(r), a = w(i);
3123
3124
  N(a, 17, () => F(t).rangePaths, b, (e, t) => {
3124
- var n = lr();
3125
+ var n = ur();
3125
3126
  x(() => {
3126
3127
  E(n, "d", F(t).path), E(n, "stroke", F(t).color);
3127
3128
  }), m(e, n);
3128
3129
  });
3129
3130
  var o = w(a), s = w(o), c = (e) => {
3130
- var n = ur();
3131
+ var n = dr();
3131
3132
  x(() => {
3132
3133
  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
3134
  }), m(e, n);
@@ -3155,8 +3156,8 @@ function ni(ne, f) {
3155
3156
  var Qc = w(Xc), $c = (e) => {
3156
3157
  var t = D(), n = S(t);
3157
3158
  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);
3159
+ var r = hr(), i = S(r), o = w(i), s = (e) => {
3160
+ var n = pr(), r = C(n, !0);
3160
3161
  j(n), x((e) => {
3161
3162
  E(n, "x", F(t).x + 4), E(n, "y", F(t).y + 12), E(n, "fill", F(t).textColor), O(r, e);
3162
3163
  }, [() => as(F(t).name, Math.max(3, Math.floor(F(t).w / 7)))]), m(e, n);
@@ -3165,7 +3166,7 @@ function ni(ne, f) {
3165
3166
  F(t).w > 36 && F(t).h > 18 && e(s);
3166
3167
  });
3167
3168
  var c = w(o), l = (e) => {
3168
- var n = pr(), r = C(n, !0);
3169
+ var n = mr(), r = C(n, !0);
3169
3170
  j(n), x((e) => {
3170
3171
  E(n, "x", F(t).x + 4), E(n, "y", F(t).y + 24), E(n, "fill", F(t).textColor), O(r, e);
3171
3172
  }, [() => V(F(t).value)]), m(e, n);
@@ -3195,9 +3196,9 @@ function ni(ne, f) {
3195
3196
  F(So) && e($c);
3196
3197
  });
3197
3198
  var el = w(Qc), tl = (e) => {
3198
- var t = _r(), n = S(t);
3199
+ var t = vr(), n = S(t);
3199
3200
  N(n, 17, () => F(G).sankeyLinks, b, (e, t, n) => {
3200
- var r = hr();
3201
+ var r = gr();
3201
3202
  x((e, n) => {
3202
3203
  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
3204
  }, [() => 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}`, [{
@@ -3214,10 +3215,10 @@ function ni(ne, f) {
3214
3215
  });
3215
3216
  var r = w(n);
3216
3217
  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
+ var r = _r(), i = S(r), a = w(i), o = C(a, !0);
3218
3219
  j(a), x((e, n) => {
3219
3220
  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
- }, [() => Is(".sv-grid-chart-sankey-node", n), () => et(F(z).sankeyNode, {
3221
+ }, [() => Is(".sv-grid-chart-sankey-node", n), () => tt(F(z).sankeyNode, {
3221
3222
  label: F(t).label,
3222
3223
  in: V(F(t).totalIn),
3223
3224
  out: V(F(t).totalOut)
@@ -3244,10 +3245,10 @@ function ni(ne, f) {
3244
3245
  F(Co) && e(tl);
3245
3246
  });
3246
3247
  var nl = w(el), rl = (e) => {
3247
- var t = Tr(), n = S(t), r = (e) => {
3248
+ var t = Er(), n = S(t), r = (e) => {
3248
3249
  var t = D(), n = S(t);
3249
3250
  N(n, 17, () => F(G).polarRings, b, (e, t) => {
3250
- var n = vr();
3251
+ var n = yr();
3251
3252
  x(() => {
3252
3253
  E(n, "cx", F(G).radarCenter.cx), E(n, "cy", F(G).radarCenter.cy), E(n, "r", F(t));
3253
3254
  }), m(e, n);
@@ -3258,7 +3259,7 @@ function ni(ne, f) {
3258
3259
  });
3259
3260
  var i = w(n);
3260
3261
  N(i, 17, () => F(G).polarAxes, b, (e, t) => {
3261
- var n = yr(), r = C(n, !0);
3262
+ var n = br(), r = C(n, !0);
3262
3263
  j(n), x((e) => {
3263
3264
  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
3265
  }, [() => as(F(t).label, 14)]), m(e, n);
@@ -3266,7 +3267,7 @@ function ni(ne, f) {
3266
3267
  var a = w(i);
3267
3268
  N(a, 17, () => F(G).arcs, b, (e, t) => {
3268
3269
  var n = D(), r = S(n), i = (e) => {
3269
- var n = br();
3270
+ var n = xr();
3270
3271
  x(() => E(n, "d", F(t).trackPath)), m(e, n);
3271
3272
  };
3272
3273
  h(r, (e) => {
@@ -3275,14 +3276,14 @@ function ni(ne, f) {
3275
3276
  });
3276
3277
  var o = w(a);
3277
3278
  N(o, 17, () => F(G).chordRibbons, b, (e, t) => {
3278
- var n = xr();
3279
+ var n = Sr();
3279
3280
  x((e) => {
3280
3281
  E(n, "d", F(t).path), E(n, "fill", F(t).color), E(n, "stroke", F(t).color), M(n, e);
3281
3282
  }, [() => `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
3283
  });
3283
3284
  var s = w(o);
3284
3285
  N(s, 17, () => F(G).arcs, b, (e, t, n) => {
3285
- var r = Sr();
3286
+ var r = Cr();
3286
3287
  let i;
3287
3288
  x((e, n, a, o) => {
3288
3289
  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);
@@ -3308,7 +3309,7 @@ function ni(ne, f) {
3308
3309
  N(c, 17, () => F(G).arcs, b, (e, t) => {
3309
3310
  var n = D(), r = S(n), i = (e) => {
3310
3311
  var n = D(), r = S(n), i = (e) => {
3311
- var n = Cr(), r = C(n, !0);
3312
+ var n = wr(), r = C(n, !0);
3312
3313
  j(n), x((e) => {
3313
3314
  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
3315
  }, [() => as(F(t).label, 14)]), m(e, n);
@@ -3317,7 +3318,7 @@ function ni(ne, f) {
3317
3318
  F(t).a1 - F(t).a0 > .12 && F(B).xAxis?.labels !== !1 && e(i);
3318
3319
  }), m(e, n);
3319
3320
  }, a = (e) => {
3320
- var n = wr(), r = C(n, !0);
3321
+ var n = Tr(), r = C(n, !0);
3321
3322
  j(n), x((e) => {
3322
3323
  E(n, "x", F(t).lx), E(n, "y", F(t).ly), E(n, "fill", F(t).textColor), O(r, e);
3323
3324
  }, [() => as(F(_i).show && F(B).type !== "sunburst" ? V(F(t).value) : F(t).label, 12)]), m(e, n);
@@ -3333,15 +3334,15 @@ function ni(ne, f) {
3333
3334
  var il = w(nl), al = (e) => {
3334
3335
  var t = D(), n = S(t);
3335
3336
  N(n, 17, () => F(G).bullets, b, (e, t) => {
3336
- var n = Or(), r = C(n);
3337
+ var n = kr(), r = C(n);
3337
3338
  N(r, 17, () => F(t).ranges, b, (e, n) => {
3338
- var r = Er();
3339
+ var r = Dr();
3339
3340
  x(() => {
3340
3341
  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
3342
  }), m(e, r);
3342
3343
  });
3343
3344
  var i = w(r), a = w(i), o = (e) => {
3344
- var n = Dr();
3345
+ var n = Or();
3345
3346
  x(() => {
3346
3347
  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
3348
  }), m(e, n);
@@ -3358,10 +3359,10 @@ function ni(ne, f) {
3358
3359
  });
3359
3360
  var ol = w(il);
3360
3361
  N(ol, 17, () => F(G).slices, b, (e, t, n) => {
3361
- var r = jr(), i = S(r);
3362
+ var r = Mr(), i = S(r);
3362
3363
  let a;
3363
3364
  var o = w(i), s = (e) => {
3364
- var n = kr(), r = S(n), i = w(r), a = C(i, !0);
3365
+ var n = Ar(), r = S(n), i = w(r), a = C(i, !0);
3365
3366
  j(i), x((e) => {
3366
3367
  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
3368
  }, [() => F(_i).formatter ? F(_i).formatter(F(t).value, {
@@ -3369,7 +3370,7 @@ function ni(ne, f) {
3369
3370
  series: F(t).label
3370
3371
  }) : `${as(F(t).label, Math.min(18, F(t).callout.maxChars))} ${F(t).percent.toFixed(0)}%`]), m(e, n);
3371
3372
  }, c = (e) => {
3372
- var n = Ar(), r = C(n);
3373
+ var n = jr(), r = C(n);
3373
3374
  j(n), x((e) => {
3374
3375
  E(n, "x", F(t).cx), E(n, "y", F(t).cy), O(r, `${e ?? ""}%`);
3375
3376
  }, [() => F(t).percent.toFixed(0)]), m(e, n);
@@ -3400,7 +3401,7 @@ function ni(ne, f) {
3400
3401
  }), m(e, r);
3401
3402
  });
3402
3403
  var sl = w(ol), cl = (e) => {
3403
- var t = Mr(), n = S(t), r = C(n, !0);
3404
+ var t = Nr(), n = S(t), r = C(n, !0);
3404
3405
  j(n);
3405
3406
  var i = w(n), a = C(i, !0);
3406
3407
  j(i), x((e) => {
@@ -3412,10 +3413,10 @@ function ni(ne, f) {
3412
3413
  });
3413
3414
  var ll = w(sl), ul = (e) => {
3414
3415
  var t = D(), n = S(t), r = (e) => {
3415
- var t = Nr();
3416
+ var t = Pr();
3416
3417
  x((e) => {
3417
3418
  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
- }, [() => et(F(z).densePoints, {
3419
+ }, [() => tt(F(z).densePoints, {
3419
3420
  count: F(Eo),
3420
3421
  from: F(W).categories[0] ?? "",
3421
3422
  to: F(W).categories[F(W).categories.length - 1] ?? ""
@@ -3427,7 +3428,7 @@ function ni(ne, f) {
3427
3428
  var t = D(), n = S(t);
3428
3429
  N(n, 19, () => F(W).categories, (e, t) => e + t, (e, t, n) => {
3429
3430
  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
- var u = Pr();
3431
+ var u = Fr();
3431
3432
  x((e, t) => {
3432
3433
  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
3434
  }, [() => 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);
@@ -3441,7 +3442,7 @@ function ni(ne, f) {
3441
3442
  F(K) && !F(go) && e(ul);
3442
3443
  });
3443
3444
  var dl = w(ll), fl = (e) => {
3444
- var t = Fr();
3445
+ var t = Ir();
3445
3446
  x(() => {
3446
3447
  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
3448
  }), m(e, t);
@@ -3451,12 +3452,12 @@ function ni(ne, f) {
3451
3452
  }), j($), me($, (e) => p(Xi, e), () => F(Xi));
3452
3453
  var pl = w($, 2), ml = (e) => {
3453
3454
  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
+ var r = Br(), i = C(r);
3455
3456
  E(i, "aria-valuemin", 0);
3456
3457
  var a = C(i);
3457
3458
  N(a, 17, () => F(U).lines, b, (e, t) => {
3458
- var n = Lr(), r = S(n), i = (e) => {
3459
- var n = Ir();
3459
+ var n = Rr(), r = S(n), i = (e) => {
3460
+ var n = Lr();
3460
3461
  x(() => {
3461
3462
  E(n, "d", F(t).areaPath), E(n, "fill", F(t).color);
3462
3463
  }), m(e, n);
@@ -3471,7 +3472,7 @@ function ni(ne, f) {
3471
3472
  });
3472
3473
  var o = w(a);
3473
3474
  N(o, 17, () => F(U).bars, b, (e, t) => {
3474
- var n = Rr();
3475
+ var n = zr();
3475
3476
  x(() => {
3476
3477
  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
3478
  }), m(e, n);
@@ -3479,7 +3480,7 @@ function ni(ne, f) {
3479
3480
  var s = w(o), c = w(s), l = w(c), u = w(l), d = w(u);
3480
3481
  j(i), j(r), x((e, r) => {
3481
3482
  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
- }, [() => Math.max(0, F(B).categories.length - 1), () => et(F(z).brushRange, {
3483
+ }, [() => Math.max(0, F(B).categories.length - 1), () => tt(F(z).brushRange, {
3483
3484
  from: F(B).categories[I()?.i0 ?? 0] ?? "",
3484
3485
  to: F(B).categories[I()?.i1 ?? F(B).categories.length - 1] ?? ""
3485
3486
  })]), 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);
@@ -3488,7 +3489,7 @@ function ni(ne, f) {
3488
3489
  F(Fa) && F(U) && e(ml);
3489
3490
  });
3490
3491
  var hl = w(pl, 2), gl = (e) => {
3491
- var t = Br(), n = C(t, !0);
3492
+ var t = Vr(), n = C(t, !0);
3492
3493
  j(t), x(() => O(n, F(z).noData)), m(e, t);
3493
3494
  };
3494
3495
  h(hl, (e) => {
@@ -3515,7 +3516,7 @@ function ni(ne, f) {
3515
3516
  F(Us) && F(Ws) && e(vl);
3516
3517
  });
3517
3518
  var yl = w(_l, 2), bl = (e) => {
3518
- var t = Vr();
3519
+ var t = Hr();
3519
3520
  ge(t), ce(() => be(t, () => F(pa), (e) => p(pa, e))), xe(t, (e) => ka?.(e)), x(() => {
3520
3521
  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
3522
  }), g("keydown", t, (e) => {
@@ -3526,25 +3527,25 @@ function ni(ne, f) {
3526
3527
  F(fa) && e(bl);
3527
3528
  });
3528
3529
  var xl = w(yl, 2), Sl = (e) => {
3529
- var t = Kr();
3530
+ var t = qr();
3530
3531
  let n;
3531
3532
  var r = C(t), i = (e) => {
3532
3533
  var t = D(), n = S(t);
3533
3534
  ue(n, () => f.tooltip, () => F(ls).ctx), m(e, t);
3534
3535
  }, a = (e) => {
3535
- var t = Gr(), n = S(t), r = C(n, !0);
3536
+ var t = Kr(), n = S(t), r = C(n, !0);
3536
3537
  j(n);
3537
3538
  var i = w(n, 2);
3538
3539
  N(i, 17, () => F(ls).rows, b, (e, t) => {
3539
- var n = Wr(), r = C(n), i = (e) => {
3540
- var n = Hr();
3540
+ var n = Gr(), r = C(n), i = (e) => {
3541
+ var n = Ur();
3541
3542
  x(() => M(n, `background:${F(t).color}`)), m(e, n);
3542
3543
  };
3543
3544
  h(r, (e) => {
3544
3545
  F(t).color && e(i);
3545
3546
  });
3546
3547
  var a = w(r, 2), o = (e) => {
3547
- var n = Ur(), r = C(n, !0);
3548
+ var n = Wr(), r = C(n, !0);
3548
3549
  j(n), x(() => O(r, F(t).label)), m(e, n);
3549
3550
  };
3550
3551
  h(a, (e) => {
@@ -3571,11 +3572,11 @@ function ni(ne, f) {
3571
3572
  F(ls) && e(Sl);
3572
3573
  });
3573
3574
  var Cl = w(xl, 2), wl = (e) => {
3574
- var t = Xr();
3575
+ var t = Zr();
3575
3576
  let n;
3576
3577
  var r = C(t);
3577
3578
  N(r, 19, () => F(Xo), (e) => e.label, (e, t, n) => {
3578
- var r = Jr();
3579
+ var r = Yr();
3579
3580
  let i;
3580
3581
  var a = C(r), o = (e) => {
3581
3582
  var r = D(), i = S(r);
@@ -3586,7 +3587,7 @@ function ni(ne, f) {
3586
3587
  index: F(n)
3587
3588
  })), m(e, r);
3588
3589
  }, s = (e) => {
3589
- var n = qr(), r = S(n), i = w(r);
3590
+ var n = Jr(), r = S(n), i = w(r);
3590
3591
  x(() => {
3591
3592
  M(r, `background:${F(t).off ? "transparent" : F(t).color}; border-color:${F(t).color}`), O(i, ` ${F(t).label ?? ""}`);
3592
3593
  }), m(e, n);
@@ -3601,8 +3602,8 @@ function ni(ne, f) {
3601
3602
  }), 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
3603
  });
3603
3604
  var i = w(r, 2), a = (e) => {
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);
3605
+ var t = Xr(), n = C(t, !0);
3606
+ j(t), x((e) => O(n, e), [() => F(Jo) ? F(z).showLess : tt(F(z).showMore, { n: F(Ho).length - 10 })]), g("click", t, () => p(Jo, !F(Jo))), m(e, t);
3606
3607
  };
3607
3608
  h(i, (e) => {
3608
3609
  F(Yo) && e(a);
@@ -3612,7 +3613,7 @@ function ni(ne, f) {
3612
3613
  F(ci) && F(Ho).length && e(wl);
3613
3614
  });
3614
3615
  var Tl = w(Cl, 2), El = (e) => {
3615
- var t = Zr(), n = C(t, !0);
3616
+ var t = Qr(), n = C(t, !0);
3616
3617
  j(t), x(() => O(n, F(Vo))), m(e, t);
3617
3618
  };
3618
3619
  h(Tl, (e) => {
@@ -3620,7 +3621,7 @@ function ni(ne, f) {
3620
3621
  });
3621
3622
  var Dl = w(Tl, 2), Ol = C(Dl), kl = C(Ol), Al = C(kl, !0), jl = w(Al), Ml = (e) => {
3622
3623
  var t = se();
3623
- x((e) => O(t, e), [() => et(F(z).dataTableCapped, {
3624
+ x((e) => O(t, e), [() => tt(F(z).dataTableCapped, {
3624
3625
  shown: Oo,
3625
3626
  total: F(ns).rows.length
3626
3627
  })]), m(e, t);
@@ -3637,14 +3638,14 @@ function ni(ne, f) {
3637
3638
  }), j(kl);
3638
3639
  var Fl = w(kl), Il = C(Fl);
3639
3640
  N(Il, 20, () => F(ns).cols, (e) => e, (e, t) => {
3640
- var n = Qr(), r = C(n, !0);
3641
+ var n = $r(), r = C(n, !0);
3641
3642
  j(n), x(() => O(r, t)), m(e, n);
3642
3643
  }), j(Il), j(Fl);
3643
3644
  var Ll = w(Fl);
3644
3645
  N(Ll, 21, () => F(is), b, (e, t) => {
3645
- var n = ei();
3646
+ var n = ti();
3646
3647
  N(n, 21, () => F(t), b, (e, t) => {
3647
- var n = $r(), r = C(n, !0);
3648
+ var n = ei(), r = C(n, !0);
3648
3649
  j(n), x(() => O(r, F(t))), m(e, n);
3649
3650
  }), j(n), m(e, n);
3650
3651
  }), j(Ll), j(Ol), j(Dl), j(rc), me(rc, (e) => p(ss, e), () => F(ss)), x((e, a, o) => {
@@ -3665,15 +3666,15 @@ function ni(ne, f) {
3665
3666
  }), E(Mc, "clip-path", F(K) ? `url(#${Ai}-plot)` : void 0), E(Ol, "id", `${Ai}-table`), O(Al, o);
3666
3667
  }, [
3667
3668
  () => ee(F(B).style) || void 0,
3668
- () => et(F(z).chartLabel, { type: F(B).type }),
3669
- () => et(F(z).dataTable, { type: F(B).type })
3669
+ () => tt(F(z).chartLabel, { type: F(B).type }),
3670
+ () => tt(F(z).dataTable, { type: F(B).type })
3670
3671
  ]), g("pointerdown", $, na), g("pointermove", $, (e) => {
3671
3672
  ra(e), Ca(e);
3672
3673
  }), g("pointerup", $, (e) => {
3673
3674
  ia(e), p(ha, null);
3674
3675
  }), y("pointercancel", $, (e) => {
3675
3676
  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
+ }), g("click", $, Sa), g("keydown", $, Ea), y("wheel", $, Gi), g("contextmenu", $, Gs), g("dblclick", $, aa), ve(rc, "clientWidth", (e) => p($e, e)), ve(rc, "clientHeight", (e) => p(ri, e));
3677
3678
  }
3678
3679
  return x((e, t, n) => {
3679
3680
  ic = P(rc, 1, "sv-grid-chart svelte-kvdein", null, ic, {
@@ -3684,8 +3685,8 @@ function ni(ne, f) {
3684
3685
  }), M(rc, e);
3685
3686
  }, [
3686
3687
  () => ee(F(B).style) || void 0,
3687
- () => et(F(z).chartLabel, { type: F(B).type }),
3688
- () => et(F(z).dataTable, { type: F(B).type })
3688
+ () => tt(F(z).chartLabel, { type: F(B).type }),
3689
+ () => tt(F(z).dataTable, { type: F(B).type })
3689
3690
  ]), m(ne, rc), ye(nc);
3690
3691
  }
3691
3692
  le([
@@ -3699,4 +3700,4 @@ le([
3699
3700
  "mousemove"
3700
3701
  ]);
3701
3702
  //#endregion
3702
- export { Ze as a, We as i, Xe as n, Je as o, qe as r, Ke as s, ni as t };
3703
+ export { Qe as a, Ge as i, Ze as n, z as o, Je as r, qe as s, ri as t };