@carbon/charts-vue 1.14.4 → 1.14.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as k0, ref as qu, toRefs as R0, onMounted as I0, watch as Yu } from "vue";
2
- var rp = /* @__PURE__ */ ((e) => (e.RENDER_FINISHED = "render-finished", e.RESIZE = "chart-resize", e.MOUSEOVER = "chart-mouseover", e.MOUSEOUT = "chart-mouseout", e))(rp || {}), ip = /* @__PURE__ */ ((e) => (e.SHOW = "show-modal", e.HIDE = "hide-modal", e))(ip || {}), sp = /* @__PURE__ */ ((e) => (e.UPDATE = "model-update", e))(sp || {}), ap = /* @__PURE__ */ ((e) => (e.SHOW_OVERFLOW_MENU = "show-toolbar-overflow-menu", e.HIDE_OVERFLOW_MENU = "hide-toolbar-overflow-menu", e.BUTTON_CLICK = "toolbar-button-click", e))(ap || {}), op = /* @__PURE__ */ ((e) => (e.UPDATE = "zoom-bar-update", e.SELECTION_START = "zoom-bar-selection-start", e.SELECTION_IN_PROGRESS = "zoom-bar-selection-in-progress", e.SELECTION_END = "zoom-bar-selection-end", e))(op || {}), lp = /* @__PURE__ */ ((e) => (e.CHANGE = "zoom-domain-change", e))(lp || {}), cp = /* @__PURE__ */ ((e) => (e.CANVAS_ZOOM_IN = "canvas-zoom-in", e.CANVAS_ZOOM_OUT = "canvas-zoom-out", e))(cp || {}), up = /* @__PURE__ */ ((e) => (e.LABEL_MOUSEOVER = "axis-label-mouseover", e.LABEL_MOUSEMOVE = "axis-label-mousemove", e.LABEL_CLICK = "axis-label-click", e.LABEL_MOUSEOUT = "axis-label-mouseout", e.LABEL_FOCUS = "axis-label-focus", e.LABEL_BLUR = "axis-label-blur", e.RENDER_COMPLETE = "axis-render-complete", e))(up || {}), hp = /* @__PURE__ */ ((e) => (e.POINT_MOUSEOVER = "scatter-mouseover", e.POINT_MOUSEMOVE = "scatter-mousemove", e.POINT_CLICK = "scatter-click", e.POINT_MOUSEOUT = "scatter-mouseout", e))(hp || {}), dp = /* @__PURE__ */ ((e) => (e.WORD_MOUSEOVER = "wordcloud-word-mouseover", e.WORD_MOUSEMOVE = "wordcloud-word-mousemove", e.WORD_CLICK = "wordcloud-word-click", e.WORD_MOUSEOUT = "wordcloud-word-mouseout", e))(dp || {}), fp = /* @__PURE__ */ ((e) => (e.SLICE_MOUSEOVER = "pie-slice-mouseover", e.SLICE_MOUSEMOVE = "pie-slice-mousemove", e.SLICE_CLICK = "pie-slice-click", e.SLICE_MOUSEOUT = "pie-slice-mouseout", e))(fp || {}), pp = /* @__PURE__ */ ((e) => (e.ARC_MOUSEOVER = "gauge-arc-mouseover", e.ARC_MOUSEMOVE = "gauge-arc-mousemove", e.ARC_CLICK = "gauge-arc-click", e.ARC_MOUSEOUT = "gauge-arc-mouseout", e))(pp || {}), mp = /* @__PURE__ */ ((e) => (e.BAR_MOUSEOVER = "bar-mouseover", e.BAR_MOUSEMOVE = "bar-mousemove", e.BAR_CLICK = "bar-click", e.BAR_MOUSEOUT = "bar-mouseout", e))(mp || {}), gp = /* @__PURE__ */ ((e) => (e.BOX_MOUSEOVER = "box-mouseover", e.BOX_MOUSEMOVE = "box-mousemove", e.BOX_CLICK = "box-click", e.BOX_MOUSEOUT = "box-mouseout", e.OUTLIER_MOUSEOVER = "outlier-mouseover", e.OUTLIER_MOUSEMOVE = "outlier-mousemove", e.OUTLIER_CLICK = "outlier-click", e.OUTLIER_MOUSEOUT = "outlier-mouseout", e))(gp || {}), vp = /* @__PURE__ */ ((e) => (e.SCATTER_MOUSEOVER = "scatter-mouseover", e.SCATTER_MOUSEMOVE = "scatter-mousemove", e.SCATTER_CLICK = "scatter-click", e.SCATTER_MOUSEOUT = "scatter-mouseout", e))(vp || {}), yp = /* @__PURE__ */ ((e) => (e.POINT_MOUSEOVER = "scatter-mouseover", e.POINT_MOUSEMOVE = "scatter-mousemove", e.POINT_CLICK = "scatter-click", e.POINT_MOUSEOUT = "scatter-mouseout", e))(yp || {}), xp = /* @__PURE__ */ ((e) => (e.X_AXIS_MOUSEOVER = "radar-x-axis-mouseover", e.X_AXIS_MOUSEMOVE = "radar-x-axis-mousemove", e.X_AXIS_CLICK = "radar-x-axis-click", e.X_AXIS_MOUSEOUT = "radar-x-axis-mouseout", e))(xp || {}), bp = /* @__PURE__ */ ((e) => (e.NODE_MOUSEOVER = "tree-node-mouseover", e.NODE_CLICK = "tree-node-click", e.NODE_MOUSEOUT = "tree-node-mouseout", e))(bp || {}), Ep = /* @__PURE__ */ ((e) => (e.LEAF_MOUSEOVER = "leaf-mouseover", e.LEAF_MOUSEMOVE = "leaf-mousemove", e.LEAF_CLICK = "leaf-click", e.LEAF_MOUSEOUT = "leaf-mouseout", e))(Ep || {}), Mi = /* @__PURE__ */ ((e) => (e.SHOW = "show-tooltip", e.MOVE = "move-tooltip", e.HIDE = "hide-tooltip", e))(Mi || {}), wp = /* @__PURE__ */ ((e) => (e.SHOW = "show-threshold", e.HIDE = "hide-threshold", e))(wp || {}), _p = /* @__PURE__ */ ((e) => (e.ITEM_HOVER = "legend-item-onhover", e.ITEM_CLICK = "legend-item-onclick", e.ITEM_MOUSEOUT = "legend-item-onmouseout", e.ITEMS_UPDATE = "legend-items-update", e))(_p || {}), Sp = /* @__PURE__ */ ((e) => (e.CIRCLE_MOUSEOVER = "circle-leaf-mouseover", e.CIRCLE_CLICK = "circle-leaf-click", e.CIRCLE_MOUSEOUT = "circle-leaf-mouseout", e.CIRCLE_MOUSEMOVE = "circle-leaf-mousemove", e))(Sp || {}), Op = /* @__PURE__ */ ((e) => (e.NODE_MOUSEOVER = "alluvial-node-mouseover", e.NODE_CLICK = "alluvial-node-click", e.NODE_MOUSEOUT = "alluvial-node-mouseout", e.NODE_MOUSEMOVE = "alluvial-node-mousemove", e.LINE_MOUSEOVER = "alluvial-line-mouseover", e.LINE_CLICK = "alluvial-line-click", e.LINE_MOUSEOUT = "alluvial-line-mouseout", e.LINE_MOUSEMOVE = "alluvial-line-mousemove", e))(Op || {}), Tp = /* @__PURE__ */ ((e) => (e.METER_MOUSEOVER = "meter-mouseover", e.METER_CLICK = "meter-click", e.METER_MOUSEOUT = "meter-mouseout", e.METER_MOUSEMOVE = "meter-mousemove", e))(Tp || {}), Mp = /* @__PURE__ */ ((e) => (e.HEATMAP_MOUSEOVER = "heatmap-mouseover", e.HEATMAP_CLICK = "heatmap-click", e.HEATMAP_MOUSEOUT = "heatmap-mouseout", e.HEATMAP_MOUSEMOVE = "hetmap-mousemove", e))(Mp || {}), Mr = /* @__PURE__ */ ((e) => (e.CHOROPLETH_MOUSEOVER = "choropleth-mouseover", e.CHOROPLETH_CLICK = "choropleth-click", e.CHOROPLETH_MOUSEOUT = "choropleth-mouseout", e.CHOROPLETH_MOUSEMOVE = "choropleth-mousemove", e))(Mr || {});
2
+ var rp = /* @__PURE__ */ ((e) => (e.RENDER_FINISHED = "render-finished", e.RESIZE = "chart-resize", e.MOUSEOVER = "chart-mouseover", e.MOUSEOUT = "chart-mouseout", e))(rp || {}), ip = /* @__PURE__ */ ((e) => (e.SHOW = "show-modal", e.HIDE = "hide-modal", e))(ip || {}), sp = /* @__PURE__ */ ((e) => (e.UPDATE = "model-update", e))(sp || {}), ap = /* @__PURE__ */ ((e) => (e.SHOW_OVERFLOW_MENU = "show-toolbar-overflow-menu", e.HIDE_OVERFLOW_MENU = "hide-toolbar-overflow-menu", e.BUTTON_CLICK = "toolbar-button-click", e))(ap || {}), op = /* @__PURE__ */ ((e) => (e.UPDATE = "zoom-bar-update", e.SELECTION_START = "zoom-bar-selection-start", e.SELECTION_IN_PROGRESS = "zoom-bar-selection-in-progress", e.SELECTION_END = "zoom-bar-selection-end", e))(op || {}), lp = /* @__PURE__ */ ((e) => (e.CHANGE = "zoom-domain-change", e))(lp || {}), cp = /* @__PURE__ */ ((e) => (e.CANVAS_ZOOM_IN = "canvas-zoom-in", e.CANVAS_ZOOM_OUT = "canvas-zoom-out", e))(cp || {}), up = /* @__PURE__ */ ((e) => (e.LABEL_MOUSEOVER = "axis-label-mouseover", e.LABEL_MOUSEMOVE = "axis-label-mousemove", e.LABEL_CLICK = "axis-label-click", e.LABEL_MOUSEOUT = "axis-label-mouseout", e.LABEL_FOCUS = "axis-label-focus", e.LABEL_BLUR = "axis-label-blur", e.RENDER_COMPLETE = "axis-render-complete", e))(up || {}), hp = /* @__PURE__ */ ((e) => (e.POINT_MOUSEOVER = "scatter-mouseover", e.POINT_MOUSEMOVE = "scatter-mousemove", e.POINT_CLICK = "scatter-click", e.POINT_MOUSEOUT = "scatter-mouseout", e))(hp || {}), dp = /* @__PURE__ */ ((e) => (e.WORD_MOUSEOVER = "wordcloud-word-mouseover", e.WORD_MOUSEMOVE = "wordcloud-word-mousemove", e.WORD_CLICK = "wordcloud-word-click", e.WORD_MOUSEOUT = "wordcloud-word-mouseout", e))(dp || {}), fp = /* @__PURE__ */ ((e) => (e.SLICE_MOUSEOVER = "pie-slice-mouseover", e.SLICE_MOUSEMOVE = "pie-slice-mousemove", e.SLICE_CLICK = "pie-slice-click", e.SLICE_MOUSEOUT = "pie-slice-mouseout", e))(fp || {}), pp = /* @__PURE__ */ ((e) => (e.ARC_MOUSEOVER = "gauge-arc-mouseover", e.ARC_MOUSEMOVE = "gauge-arc-mousemove", e.ARC_CLICK = "gauge-arc-click", e.ARC_MOUSEOUT = "gauge-arc-mouseout", e))(pp || {}), mp = /* @__PURE__ */ ((e) => (e.BAR_MOUSEOVER = "bar-mouseover", e.BAR_MOUSEMOVE = "bar-mousemove", e.BAR_CLICK = "bar-click", e.BAR_MOUSEOUT = "bar-mouseout", e))(mp || {}), gp = /* @__PURE__ */ ((e) => (e.BOX_MOUSEOVER = "box-mouseover", e.BOX_MOUSEMOVE = "box-mousemove", e.BOX_CLICK = "box-click", e.BOX_MOUSEOUT = "box-mouseout", e.OUTLIER_MOUSEOVER = "outlier-mouseover", e.OUTLIER_MOUSEMOVE = "outlier-mousemove", e.OUTLIER_CLICK = "outlier-click", e.OUTLIER_MOUSEOUT = "outlier-mouseout", e))(gp || {}), vp = /* @__PURE__ */ ((e) => (e.SCATTER_MOUSEOVER = "scatter-mouseover", e.SCATTER_MOUSEMOVE = "scatter-mousemove", e.SCATTER_CLICK = "scatter-click", e.SCATTER_MOUSEOUT = "scatter-mouseout", e))(vp || {}), yp = /* @__PURE__ */ ((e) => (e.POINT_MOUSEOVER = "scatter-mouseover", e.POINT_MOUSEMOVE = "scatter-mousemove", e.POINT_CLICK = "scatter-click", e.POINT_MOUSEOUT = "scatter-mouseout", e))(yp || {}), xp = /* @__PURE__ */ ((e) => (e.X_AXIS_MOUSEOVER = "radar-x-axis-mouseover", e.X_AXIS_MOUSEMOVE = "radar-x-axis-mousemove", e.X_AXIS_CLICK = "radar-x-axis-click", e.X_AXIS_MOUSEOUT = "radar-x-axis-mouseout", e))(xp || {}), bp = /* @__PURE__ */ ((e) => (e.NODE_MOUSEOVER = "tree-node-mouseover", e.NODE_CLICK = "tree-node-click", e.NODE_MOUSEOUT = "tree-node-mouseout", e))(bp || {}), Ep = /* @__PURE__ */ ((e) => (e.LEAF_MOUSEOVER = "leaf-mouseover", e.LEAF_MOUSEMOVE = "leaf-mousemove", e.LEAF_CLICK = "leaf-click", e.LEAF_MOUSEOUT = "leaf-mouseout", e))(Ep || {}), Mi = /* @__PURE__ */ ((e) => (e.SHOW = "show-tooltip", e.MOVE = "move-tooltip", e.HIDE = "hide-tooltip", e))(Mi || {}), _p = /* @__PURE__ */ ((e) => (e.SHOW = "show-threshold", e.HIDE = "hide-threshold", e))(_p || {}), wp = /* @__PURE__ */ ((e) => (e.ITEM_HOVER = "legend-item-onhover", e.ITEM_CLICK = "legend-item-onclick", e.ITEM_MOUSEOUT = "legend-item-onmouseout", e.ITEMS_UPDATE = "legend-items-update", e))(wp || {}), Sp = /* @__PURE__ */ ((e) => (e.CIRCLE_MOUSEOVER = "circle-leaf-mouseover", e.CIRCLE_CLICK = "circle-leaf-click", e.CIRCLE_MOUSEOUT = "circle-leaf-mouseout", e.CIRCLE_MOUSEMOVE = "circle-leaf-mousemove", e))(Sp || {}), Op = /* @__PURE__ */ ((e) => (e.NODE_MOUSEOVER = "alluvial-node-mouseover", e.NODE_CLICK = "alluvial-node-click", e.NODE_MOUSEOUT = "alluvial-node-mouseout", e.NODE_MOUSEMOVE = "alluvial-node-mousemove", e.LINE_MOUSEOVER = "alluvial-line-mouseover", e.LINE_CLICK = "alluvial-line-click", e.LINE_MOUSEOUT = "alluvial-line-mouseout", e.LINE_MOUSEMOVE = "alluvial-line-mousemove", e))(Op || {}), Tp = /* @__PURE__ */ ((e) => (e.METER_MOUSEOVER = "meter-mouseover", e.METER_CLICK = "meter-click", e.METER_MOUSEOUT = "meter-mouseout", e.METER_MOUSEMOVE = "meter-mousemove", e))(Tp || {}), Mp = /* @__PURE__ */ ((e) => (e.HEATMAP_MOUSEOVER = "heatmap-mouseover", e.HEATMAP_CLICK = "heatmap-click", e.HEATMAP_MOUSEOUT = "heatmap-mouseout", e.HEATMAP_MOUSEMOVE = "hetmap-mousemove", e))(Mp || {}), Mr = /* @__PURE__ */ ((e) => (e.CHOROPLETH_MOUSEOVER = "choropleth-mouseover", e.CHOROPLETH_CLICK = "choropleth-click", e.CHOROPLETH_MOUSEOUT = "choropleth-mouseout", e.CHOROPLETH_MOUSEMOVE = "choropleth-mousemove", e))(Mr || {});
3
3
  const N0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4
4
  __proto__: null,
5
5
  Alluvial: Op,
@@ -13,7 +13,7 @@ const N0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
13
13
  CirclePack: Sp,
14
14
  Gauge: pp,
15
15
  Heatmap: Mp,
16
- Legend: _p,
16
+ Legend: wp,
17
17
  Line: yp,
18
18
  Meter: Tp,
19
19
  Modal: ip,
@@ -21,7 +21,7 @@ const N0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
21
21
  Pie: fp,
22
22
  Radar: xp,
23
23
  Scatter: vp,
24
- Threshold: wp,
24
+ Threshold: _p,
25
25
  Toolbar: ap,
26
26
  Tooltip: Mi,
27
27
  Tree: bp,
@@ -30,7 +30,7 @@ const N0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
30
30
  ZoomBar: op,
31
31
  ZoomDomain: lp
32
32
  }, Symbol.toStringTag, { value: "Module" })), O = N0;
33
- var Q = /* @__PURE__ */ ((e) => (e.HTML = "html", e.SVG = "svg", e))(Q || {}), Cp = /* @__PURE__ */ ((e) => (e.WHITE = "white", e.G100 = "g100", e.G90 = "g90", e.G10 = "g10", e))(Cp || {}), et = /* @__PURE__ */ ((e) => (e.BACKGROUND = "background", e.FILL = "fill", e.STROKE = "stroke", e.TOOLTIP = "tooltip", e))(et || {}), V = /* @__PURE__ */ ((e) => (e.LEFT = "left", e.RIGHT = "right", e.TOP = "top", e.BOTTOM = "bottom", e))(V || {}), je = /* @__PURE__ */ ((e) => (e.GRAPH_VIEW = "graph_view", e.SLIDER_VIEW = "slider_view", e))(je || {}), ke = /* @__PURE__ */ ((e) => (e.END_LINE = "end_line", e.MID_LINE = "mid_line", e.FRONT_LINE = "front_line", e.NONE = "none", e))(ke || {}), jt = /* @__PURE__ */ ((e) => (e.VERTICAL = "vertical", e.HORIZONTAL = "horizontal", e))(jt || {}), Z = /* @__PURE__ */ ((e) => (e.TIME = "time", e.LINEAR = "linear", e.LOG = "log", e.LABELS = "labels", e.LABELS_RATIO = "labels-ratio", e))(Z || {}), Ci = /* @__PURE__ */ ((e) => (e.RIGHT = "right", e.LEFT = "left", e.TOP = "top", e.BOTTOM = "bottom", e))(Ci || {}), Ft = /* @__PURE__ */ ((e) => (e.LEFT = "left", e.CENTER = "center", e.RIGHT = "right", e))(Ft || {}), Pi = /* @__PURE__ */ ((e) => (e.HORIZONTAL = "horizontal", e.VERTICAL = "vertical", e))(Pi || {}), Oc = /* @__PURE__ */ ((e) => (e.TREE = "tree", e.DENDROGRAM = "dendrogram", e))(Oc || {}), At = /* @__PURE__ */ ((e) => (e.ROW = "row", e.COLUMN = "column", e.ROW_REVERSE = "row-reverse", e.COLUMN_REVERSE = "column-reverse", e))(At || {}), st = /* @__PURE__ */ ((e) => (e.FIXED = "fixed", e.PREFERRED = "preferred", e.STRETCH = "stretch", e))(st || {}), Kr = /* @__PURE__ */ ((e) => (e.CENTER = "center", e))(Kr || {}), ks = /* @__PURE__ */ ((e) => (e.LEFT = "left", e.RIGHT = "right", e))(ks || {}), Vt = /* @__PURE__ */ ((e) => (e.GRID = "grid", e.VERT_OR_HORIZ = "vertOrHoriz", e.PIE = "pie", e.DONUT = "donut", e))(Vt || {}), on = /* @__PURE__ */ ((e) => (e.START = "start", e.MIDDLE = "middle", e.END = "end", e))(on || {}), ln = /* @__PURE__ */ ((e) => (e.BASELINE = "baseline", e.MIDDLE = "middle", e.HANGING = "hanging", e))(ln || {}), Cr = /* @__PURE__ */ ((e) => (e.SEMI = "semi", e.FULL = "full", e))(Cr || {}), ul = /* @__PURE__ */ ((e) => (e.UP = "up", e.DOWN = "down", e))(ul || {}), Rs = /* @__PURE__ */ ((e) => (e.SUCCESS = "success", e.WARNING = "warning", e.DANGER = "danger", e))(Rs || {}), Is = /* @__PURE__ */ ((e) => (e.ALWAYS = "always", e.AUTO = "auto", e.NEVER = "never", e))(Is || {}), _e = /* @__PURE__ */ ((e) => (e.SCATTER = "scatter", e.LINE = "line", e.SIMPLE_BAR = "simple-bar", e.STACKED_BAR = "stacked-bar", e.GROUPED_BAR = "grouped-bar", e.AREA = "area", e.STACKED_AREA = "stacked-area", e))(_e || {}), bt = /* @__PURE__ */ ((e) => (e.EXPORT_CSV = "Export as CSV", e.EXPORT_PNG = "Export as PNG", e.EXPORT_JPG = "Export as JPG", e.ZOOM_IN = "Zoom in", e.ZOOM_OUT = "Zoom out", e.RESET_ZOOM = "Reset zoom", e.MAKE_FULLSCREEN = "Make fullscreen", e.EXIT_FULLSCREEN = "Exit fullscreen", e.SHOW_AS_DATATABLE = "Show as data-table", e.CUSTOM = "Custom", e))(bt || {}), hl = /* @__PURE__ */ ((e) => (e.LEFT = "left", e.RIGHT = "right", e))(hl || {}), Ht = /* @__PURE__ */ ((e) => (e.CHECKBOX = "checkbox", e.RADIUS = "radius", e.AREA = "area", e.SIZE = "size", e.LINE = "line", e.QUARTILE = "quartile", e.ZOOM = "zoom", e))(Ht || {}), Ns = /* @__PURE__ */ ((e) => (e.LINEAR = "linear", e.QUANTIZE = "quantize", e))(Ns || {}), Ai = /* @__PURE__ */ ((e) => (e.ON = "on", e.AUTO = "auto", e.OFF = "off", e))(Ai || {}), Va = /* @__PURE__ */ ((e) => (e.DEFAULT = "default", e.HOVERABLE = "hoverable", e))(Va || {}), un = /* @__PURE__ */ ((e) => (e.geoEqualEarth = "geoEqualEarth", e.geoAlbers = "geoAlbers", e.geoConicEqualArea = "geoConicEqualArea", e.geoConicEquidistant = "geoConicEquidistant", e.geoEquirectangular = "geoEquirectangular", e.geoMercator = "geoMercator", e.geoNaturalEarth1 = "geoNaturalEarth1", e))(un || {});
33
+ var Q = /* @__PURE__ */ ((e) => (e.HTML = "html", e.SVG = "svg", e))(Q || {}), Cp = /* @__PURE__ */ ((e) => (e.WHITE = "white", e.G100 = "g100", e.G90 = "g90", e.G10 = "g10", e))(Cp || {}), et = /* @__PURE__ */ ((e) => (e.BACKGROUND = "background", e.FILL = "fill", e.STROKE = "stroke", e.TOOLTIP = "tooltip", e))(et || {}), V = /* @__PURE__ */ ((e) => (e.LEFT = "left", e.RIGHT = "right", e.TOP = "top", e.BOTTOM = "bottom", e))(V || {}), je = /* @__PURE__ */ ((e) => (e.GRAPH_VIEW = "graph_view", e.SLIDER_VIEW = "slider_view", e))(je || {}), ke = /* @__PURE__ */ ((e) => (e.END_LINE = "end_line", e.MID_LINE = "mid_line", e.FRONT_LINE = "front_line", e.NONE = "none", e))(ke || {}), jt = /* @__PURE__ */ ((e) => (e.VERTICAL = "vertical", e.HORIZONTAL = "horizontal", e))(jt || {}), Z = /* @__PURE__ */ ((e) => (e.TIME = "time", e.LINEAR = "linear", e.LOG = "log", e.LABELS = "labels", e.LABELS_RATIO = "labels-ratio", e))(Z || {}), Ci = /* @__PURE__ */ ((e) => (e.RIGHT = "right", e.LEFT = "left", e.TOP = "top", e.BOTTOM = "bottom", e))(Ci || {}), Ft = /* @__PURE__ */ ((e) => (e.LEFT = "left", e.CENTER = "center", e.RIGHT = "right", e))(Ft || {}), Pi = /* @__PURE__ */ ((e) => (e.HORIZONTAL = "horizontal", e.VERTICAL = "vertical", e))(Pi || {}), Oc = /* @__PURE__ */ ((e) => (e.TREE = "tree", e.DENDROGRAM = "dendrogram", e))(Oc || {}), At = /* @__PURE__ */ ((e) => (e.ROW = "row", e.COLUMN = "column", e.ROW_REVERSE = "row-reverse", e.COLUMN_REVERSE = "column-reverse", e))(At || {}), st = /* @__PURE__ */ ((e) => (e.FIXED = "fixed", e.PREFERRED = "preferred", e.STRETCH = "stretch", e))(st || {}), Kr = /* @__PURE__ */ ((e) => (e.CENTER = "center", e))(Kr || {}), ks = /* @__PURE__ */ ((e) => (e.LEFT = "left", e.RIGHT = "right", e))(ks || {}), Vt = /* @__PURE__ */ ((e) => (e.GRID = "grid", e.VERT_OR_HORIZ = "vertOrHoriz", e.PIE = "pie", e.DONUT = "donut", e))(Vt || {}), on = /* @__PURE__ */ ((e) => (e.START = "start", e.MIDDLE = "middle", e.END = "end", e))(on || {}), ln = /* @__PURE__ */ ((e) => (e.BASELINE = "baseline", e.MIDDLE = "middle", e.HANGING = "hanging", e))(ln || {}), Cr = /* @__PURE__ */ ((e) => (e.SEMI = "semi", e.FULL = "full", e))(Cr || {}), ul = /* @__PURE__ */ ((e) => (e.UP = "up", e.DOWN = "down", e))(ul || {}), Rs = /* @__PURE__ */ ((e) => (e.SUCCESS = "success", e.WARNING = "warning", e.DANGER = "danger", e))(Rs || {}), Is = /* @__PURE__ */ ((e) => (e.ALWAYS = "always", e.AUTO = "auto", e.NEVER = "never", e))(Is || {}), we = /* @__PURE__ */ ((e) => (e.SCATTER = "scatter", e.LINE = "line", e.SIMPLE_BAR = "simple-bar", e.STACKED_BAR = "stacked-bar", e.GROUPED_BAR = "grouped-bar", e.AREA = "area", e.STACKED_AREA = "stacked-area", e))(we || {}), bt = /* @__PURE__ */ ((e) => (e.EXPORT_CSV = "Export as CSV", e.EXPORT_PNG = "Export as PNG", e.EXPORT_JPG = "Export as JPG", e.ZOOM_IN = "Zoom in", e.ZOOM_OUT = "Zoom out", e.RESET_ZOOM = "Reset zoom", e.MAKE_FULLSCREEN = "Make fullscreen", e.EXIT_FULLSCREEN = "Exit fullscreen", e.SHOW_AS_DATATABLE = "Show as data-table", e.CUSTOM = "Custom", e))(bt || {}), hl = /* @__PURE__ */ ((e) => (e.LEFT = "left", e.RIGHT = "right", e))(hl || {}), Ht = /* @__PURE__ */ ((e) => (e.CHECKBOX = "checkbox", e.RADIUS = "radius", e.AREA = "area", e.SIZE = "size", e.LINE = "line", e.QUARTILE = "quartile", e.ZOOM = "zoom", e))(Ht || {}), Ns = /* @__PURE__ */ ((e) => (e.LINEAR = "linear", e.QUANTIZE = "quantize", e))(Ns || {}), Ai = /* @__PURE__ */ ((e) => (e.ON = "on", e.AUTO = "auto", e.OFF = "off", e))(Ai || {}), Va = /* @__PURE__ */ ((e) => (e.DEFAULT = "default", e.HOVERABLE = "hoverable", e))(Va || {}), un = /* @__PURE__ */ ((e) => (e.geoEqualEarth = "geoEqualEarth", e.geoAlbers = "geoAlbers", e.geoConicEqualArea = "geoConicEqualArea", e.geoConicEquidistant = "geoConicEquidistant", e.geoEquirectangular = "geoEquirectangular", e.geoMercator = "geoMercator", e.geoNaturalEarth1 = "geoNaturalEarth1", e))(un || {});
34
34
  function qn(e, t) {
35
35
  return e == null || t == null ? NaN : e < t ? -1 : e > t ? 1 : e >= t ? 0 : NaN;
36
36
  }
@@ -186,7 +186,7 @@ function Ap(e, t) {
186
186
  return (e == null || !(e >= e)) - (t == null || !(t >= t)) || (e < t ? -1 : e > t ? 1 : 0);
187
187
  }
188
188
  var X0 = Array.prototype, Z0 = X0.slice;
189
- function wo(e) {
189
+ function _o(e) {
190
190
  return () => e;
191
191
  }
192
192
  const K0 = Math.sqrt(50), Q0 = Math.sqrt(10), J0 = Math.sqrt(2);
@@ -248,11 +248,11 @@ function ny() {
248
248
  c[s] = e(i[s], s, i);
249
249
  var u = t(c), d = u[0], h = u[1], f = n(c, d, h);
250
250
  if (!Array.isArray(f)) {
251
- const b = h, _ = +f;
252
- if (t === Re && ([d, h] = ty(d, h, _)), f = Js(d, h, _), f[0] <= d && (l = Ur(d, h, _)), f[f.length - 1] >= h)
251
+ const b = h, w = +f;
252
+ if (t === Re && ([d, h] = ty(d, h, w)), f = Js(d, h, w), f[0] <= d && (l = Ur(d, h, w)), f[f.length - 1] >= h)
253
253
  if (b >= h && t === Re) {
254
- const w = Ur(d, h, _);
255
- isFinite(w) && (w > 0 ? h = (Math.floor(h / w) + 1) * w : w < 0 && (h = (Math.ceil(h * -w) + 1) / -w));
254
+ const _ = Ur(d, h, w);
255
+ isFinite(_) && (_ > 0 ? h = (Math.floor(h / _) + 1) * _ : _ < 0 && (h = (Math.ceil(h * -_) + 1) / -_));
256
256
  } else
257
257
  f.pop();
258
258
  }
@@ -281,11 +281,11 @@ function ny() {
281
281
  return y;
282
282
  }
283
283
  return r.value = function(i) {
284
- return arguments.length ? (e = typeof i == "function" ? i : wo(i), r) : e;
284
+ return arguments.length ? (e = typeof i == "function" ? i : _o(i), r) : e;
285
285
  }, r.domain = function(i) {
286
- return arguments.length ? (t = typeof i == "function" ? i : wo([i[0], i[1]]), r) : t;
286
+ return arguments.length ? (t = typeof i == "function" ? i : _o([i[0], i[1]]), r) : t;
287
287
  }, r.thresholds = function(i) {
288
- return arguments.length ? (n = typeof i == "function" ? i : wo(Array.isArray(i) ? Z0.call(i) : i), r) : n;
288
+ return arguments.length ? (n = typeof i == "function" ? i : _o(Array.isArray(i) ? Z0.call(i) : i), r) : n;
289
289
  }, r;
290
290
  }
291
291
  function Zn(e, t) {
@@ -336,7 +336,7 @@ function ni(e, t, n) {
336
336
  const r = e[t];
337
337
  e[t] = e[n], e[n] = r;
338
338
  }
339
- function _o(e, t, n) {
339
+ function wo(e, t, n) {
340
340
  if (e = Float64Array.from(H0(e, n)), !(!(r = e.length) || isNaN(t = +t))) {
341
341
  if (t <= 0 || r < 2)
342
342
  return Rn(e);
@@ -381,16 +381,16 @@ function uy() {
381
381
  function Fa(e, t) {
382
382
  var n = [], r = null, i = null, s = 6, a = 6, o = 3, l = typeof window < "u" && window.devicePixelRatio > 1 ? 0 : 0.5, c = e === Ps || e === pi ? -1 : 1, u = e === pi || e === Us ? "x" : "y", d = e === Ps || e === fl ? ay : oy;
383
383
  function h(f) {
384
- var p = r ?? (t.ticks ? t.ticks.apply(t, n) : t.domain()), g = i ?? (t.tickFormat ? t.tickFormat.apply(t, n) : sy), m = Math.max(s, 0) + o, y = t.range(), v = +y[0] + l, b = +y[y.length - 1] + l, _ = (t.bandwidth ? cy : ly)(t.copy(), l), w = f.selection ? f.selection() : f, S = w.selectAll(".domain").data([null]), M = w.selectAll(".tick").data(p, t).order(), R = M.exit(), D = M.enter().append("g").attr("class", "tick"), L = M.select("line"), T = M.select("text");
385
- S = S.merge(S.enter().insert("path", ".tick").attr("class", "domain").attr("stroke", "currentColor")), M = M.merge(D), L = L.merge(D.append("line").attr("stroke", "currentColor").attr(u + "2", c * s)), T = T.merge(D.append("text").attr("fill", "currentColor").attr(u, c * m).attr("dy", e === Ps ? "0em" : e === fl ? "0.71em" : "0.32em")), f !== w && (S = S.transition(f), M = M.transition(f), L = L.transition(f), T = T.transition(f), R = R.transition(f).attr("opacity", Ku).attr("transform", function(H) {
386
- return isFinite(H = _(H)) ? d(H + l) : this.getAttribute("transform");
384
+ var p = r ?? (t.ticks ? t.ticks.apply(t, n) : t.domain()), g = i ?? (t.tickFormat ? t.tickFormat.apply(t, n) : sy), m = Math.max(s, 0) + o, y = t.range(), v = +y[0] + l, b = +y[y.length - 1] + l, w = (t.bandwidth ? cy : ly)(t.copy(), l), _ = f.selection ? f.selection() : f, S = _.selectAll(".domain").data([null]), M = _.selectAll(".tick").data(p, t).order(), R = M.exit(), D = M.enter().append("g").attr("class", "tick"), L = M.select("line"), T = M.select("text");
385
+ S = S.merge(S.enter().insert("path", ".tick").attr("class", "domain").attr("stroke", "currentColor")), M = M.merge(D), L = L.merge(D.append("line").attr("stroke", "currentColor").attr(u + "2", c * s)), T = T.merge(D.append("text").attr("fill", "currentColor").attr(u, c * m).attr("dy", e === Ps ? "0em" : e === fl ? "0.71em" : "0.32em")), f !== _ && (S = S.transition(f), M = M.transition(f), L = L.transition(f), T = T.transition(f), R = R.transition(f).attr("opacity", Ku).attr("transform", function(H) {
386
+ return isFinite(H = w(H)) ? d(H + l) : this.getAttribute("transform");
387
387
  }), D.attr("opacity", Ku).attr("transform", function(H) {
388
388
  var U = this.parentNode.__axis;
389
- return d((U && isFinite(U = U(H)) ? U : _(H)) + l);
389
+ return d((U && isFinite(U = U(H)) ? U : w(H)) + l);
390
390
  })), R.remove(), S.attr("d", e === pi || e === Us ? a ? "M" + c * a + "," + v + "H" + l + "V" + b + "H" + c * a : "M" + l + "," + v + "V" + b : a ? "M" + v + "," + c * a + "V" + l + "H" + b + "V" + c * a : "M" + v + "," + l + "H" + b), M.attr("opacity", 1).attr("transform", function(H) {
391
- return d(_(H) + l);
392
- }), L.attr(u + "2", c * s), T.attr(u, c * m).text(g), w.filter(uy).attr("fill", "none").attr("font-size", 10).attr("font-family", "sans-serif").attr("text-anchor", e === Us ? "start" : e === pi ? "end" : "middle"), w.each(function() {
393
- this.__axis = _;
391
+ return d(w(H) + l);
392
+ }), L.attr(u + "2", c * s), T.attr(u, c * m).text(g), _.filter(uy).attr("fill", "none").attr("font-size", 10).attr("font-family", "sans-serif").attr("text-anchor", e === Us ? "start" : e === pi ? "end" : "middle"), _.each(function() {
393
+ this.__axis = w;
394
394
  });
395
395
  }
396
396
  return h.scale = function(f) {
@@ -555,13 +555,13 @@ function Rp(e) {
555
555
  return this.querySelectorAll(e);
556
556
  };
557
557
  }
558
- function wy(e) {
558
+ function _y(e) {
559
559
  return function() {
560
560
  return by(e.apply(this, arguments));
561
561
  };
562
562
  }
563
- function _y(e) {
564
- typeof e == "function" ? e = wy(e) : e = Rp(e);
563
+ function wy(e) {
564
+ typeof e == "function" ? e = _y(e) : e = Rp(e);
565
565
  for (var t = this._groups, n = t.length, r = [], i = [], s = 0; s < n; ++s)
566
566
  for (var a = t[s], o = a.length, l, c = 0; c < o; ++c)
567
567
  (l = a[c]) && (r.push(e.call(l, l.__data__, c, a)), i.push(l));
@@ -663,11 +663,11 @@ function Uy(e, t) {
663
663
  for (var s = i.length, a = new Array(s), o = new Array(s), l = new Array(s), c = 0; c < s; ++c) {
664
664
  var u = r[c], d = i[c], h = d.length, f = By(e.call(u, u && u.__data__, c, r)), p = f.length, g = o[c] = new Array(p), m = a[c] = new Array(p), y = l[c] = new Array(h);
665
665
  n(u, d, g, m, y, f, t);
666
- for (var v = 0, b = 0, _, w; v < p; ++v)
667
- if (_ = g[v]) {
668
- for (v >= b && (b = v + 1); !(w = m[b]) && ++b < p; )
666
+ for (var v = 0, b = 0, w, _; v < p; ++v)
667
+ if (w = g[v]) {
668
+ for (v >= b && (b = v + 1); !(_ = m[b]) && ++b < p; )
669
669
  ;
670
- _._next = w || null;
670
+ w._next = _ || null;
671
671
  }
672
672
  }
673
673
  return a = new ye(a, r), a._enter = o, a._exit = l, a;
@@ -901,19 +901,19 @@ function b1(e) {
901
901
  function E1() {
902
902
  this.innerHTML = "";
903
903
  }
904
- function w1(e) {
904
+ function _1(e) {
905
905
  return function() {
906
906
  this.innerHTML = e;
907
907
  };
908
908
  }
909
- function _1(e) {
909
+ function w1(e) {
910
910
  return function() {
911
911
  var t = e.apply(this, arguments);
912
912
  this.innerHTML = t ?? "";
913
913
  };
914
914
  }
915
915
  function S1(e) {
916
- return arguments.length ? this.each(e == null ? E1 : (typeof e == "function" ? _1 : w1)(e)) : this.node().innerHTML;
916
+ return arguments.length ? this.each(e == null ? E1 : (typeof e == "function" ? w1 : _1)(e)) : this.node().innerHTML;
917
917
  }
918
918
  function O1() {
919
919
  this.nextSibling && this.parentNode.appendChild(this);
@@ -1048,7 +1048,7 @@ function q1() {
1048
1048
  ye.prototype = Qi.prototype = {
1049
1049
  constructor: ye,
1050
1050
  select: xy,
1051
- selectAll: _y,
1051
+ selectAll: wy,
1052
1052
  selectChild: My,
1053
1053
  selectChildren: Ly,
1054
1054
  filter: Dy,
@@ -1592,7 +1592,7 @@ function Kp(e, t, n, r) {
1592
1592
  };
1593
1593
  }
1594
1594
  var bx = Kp(yx, "px, ", "px)", "deg)"), Ex = Kp(xx, ", ", ")", ")");
1595
- function wx(e, t) {
1595
+ function _x(e, t) {
1596
1596
  for (var n = new Array(t), r = 0; r < t; ++r)
1597
1597
  n[r] = e(r / (t - 1));
1598
1598
  return n;
@@ -1601,9 +1601,9 @@ var Hr = 0, mi = 0, ri = 0, Qp = 1e3, ia, gi, sa = 0, Qn = 0, Ga = 0, Hi = typeo
1601
1601
  setTimeout(e, 17);
1602
1602
  };
1603
1603
  function Ic() {
1604
- return Qn || (Jp(_x), Qn = Hi.now() + Ga);
1604
+ return Qn || (Jp(wx), Qn = Hi.now() + Ga);
1605
1605
  }
1606
- function _x() {
1606
+ function wx() {
1607
1607
  Qn = 0;
1608
1608
  }
1609
1609
  function aa() {
@@ -1660,7 +1660,7 @@ function uh(e, t, n) {
1660
1660
  r.stop(), e(i + t);
1661
1661
  }, t, n), r;
1662
1662
  }
1663
- var Mx = Ac("start", "end", "cancel", "interrupt"), Cx = [], em = 0, hh = 1, El = 2, Hs = 3, dh = 4, wl = 5, Vs = 6;
1663
+ var Mx = Ac("start", "end", "cancel", "interrupt"), Cx = [], em = 0, hh = 1, El = 2, Hs = 3, dh = 4, _l = 5, Vs = 6;
1664
1664
  function ja(e, t, n, r, i, s) {
1665
1665
  var a = e.__transition;
1666
1666
  if (!a)
@@ -1726,9 +1726,9 @@ function Ax(e, t, n) {
1726
1726
  }
1727
1727
  }
1728
1728
  function o(c) {
1729
- for (var u = c < n.duration ? n.ease.call(null, c / n.duration) : (n.timer.restart(l), n.state = wl, 1), d = -1, h = i.length; ++d < h; )
1729
+ for (var u = c < n.duration ? n.ease.call(null, c / n.duration) : (n.timer.restart(l), n.state = _l, 1), d = -1, h = i.length; ++d < h; )
1730
1730
  i[d].call(e, u);
1731
- n.state === wl && (n.on.call("end", e, e.__data__, n.index, n.group), l());
1731
+ n.state === _l && (n.on.call("end", e, e.__data__, n.index, n.group), l());
1732
1732
  }
1733
1733
  function l() {
1734
1734
  n.state = Vs, n.timer.stop(), delete r[t];
@@ -1737,7 +1737,7 @@ function Ax(e, t, n) {
1737
1737
  delete e.__transition;
1738
1738
  }
1739
1739
  }
1740
- function _l(e, t) {
1740
+ function wl(e, t) {
1741
1741
  var n = e.__transition, r, i, s = !0, a;
1742
1742
  if (n) {
1743
1743
  t = t == null ? null : t + "";
@@ -1746,14 +1746,14 @@ function _l(e, t) {
1746
1746
  s = !1;
1747
1747
  continue;
1748
1748
  }
1749
- i = r.state > El && r.state < wl, r.state = Vs, r.timer.stop(), r.on.call(i ? "interrupt" : "cancel", e, e.__data__, r.index, r.group), delete n[a];
1749
+ i = r.state > El && r.state < _l, r.state = Vs, r.timer.stop(), r.on.call(i ? "interrupt" : "cancel", e, e.__data__, r.index, r.group), delete n[a];
1750
1750
  }
1751
1751
  s && delete e.__transition;
1752
1752
  }
1753
1753
  }
1754
1754
  function $x(e) {
1755
1755
  return this.each(function() {
1756
- _l(this, e);
1756
+ wl(this, e);
1757
1757
  });
1758
1758
  }
1759
1759
  function Lx(e, t) {
@@ -2078,14 +2078,14 @@ function Eb(e) {
2078
2078
  this.textContent = e;
2079
2079
  };
2080
2080
  }
2081
- function wb(e) {
2081
+ function _b(e) {
2082
2082
  return function() {
2083
2083
  var t = e(this);
2084
2084
  this.textContent = t ?? "";
2085
2085
  };
2086
2086
  }
2087
- function _b(e) {
2088
- return this.tween("text", typeof e == "function" ? wb(Pc(this, "text", e)) : Eb(e == null ? "" : e + ""));
2087
+ function wb(e) {
2088
+ return this.tween("text", typeof e == "function" ? _b(Pc(this, "text", e)) : Eb(e == null ? "" : e + ""));
2089
2089
  }
2090
2090
  function Sb(e) {
2091
2091
  return function(t) {
@@ -2165,7 +2165,7 @@ yn.prototype = {
2165
2165
  attrTween: jx,
2166
2166
  style: vb,
2167
2167
  styleTween: bb,
2168
- text: _b,
2168
+ text: wb,
2169
2169
  textTween: Tb,
2170
2170
  remove: lb,
2171
2171
  tween: kx,
@@ -2348,14 +2348,14 @@ function Fb(e) {
2348
2348
  }).on("interrupt.brush end.brush", function(b) {
2349
2349
  u(this, arguments).end(b);
2350
2350
  }).tween("brush", function() {
2351
- var b = this, _ = b.__brush, w = u(b, arguments), S = _.selection, M = e.input(typeof y == "function" ? y.apply(this, arguments) : y, _.extent), R = ts(S, M);
2351
+ var b = this, w = b.__brush, _ = u(b, arguments), S = w.selection, M = e.input(typeof y == "function" ? y.apply(this, arguments) : y, w.extent), R = ts(S, M);
2352
2352
  function D(L) {
2353
- _.selection = L === 1 && M === null ? null : R(L), c.call(b), w.brush();
2353
+ w.selection = L === 1 && M === null ? null : R(L), c.call(b), _.brush();
2354
2354
  }
2355
2355
  return S !== null && M !== null ? D : D(1);
2356
2356
  }) : m.each(function() {
2357
- var b = this, _ = arguments, w = b.__brush, S = e.input(typeof y == "function" ? y.apply(b, _) : y, w.extent), M = u(b, _).beforestart();
2358
- _l(b), w.selection = S === null ? null : S, c.call(b), M.start(v).brush(v).end(v);
2357
+ var b = this, w = arguments, _ = b.__brush, S = e.input(typeof y == "function" ? y.apply(b, w) : y, _.extent), M = u(b, w).beforestart();
2358
+ wl(b), _.selection = S === null ? null : S, c.call(b), M.start(v).brush(v).end(v);
2359
2359
  });
2360
2360
  }, l.clear = function(m, y) {
2361
2361
  l.move(m, null, y);
@@ -2411,11 +2411,11 @@ function Fb(e) {
2411
2411
  function h(m) {
2412
2412
  if (o && !m.touches || !n.apply(this, arguments))
2413
2413
  return;
2414
- var y = this, v = m.target.__data__.type, b = (i && m.metaKey ? v = "overlay" : v) === "selection" ? fh : i && m.altKey ? vr : gr, _ = e === Ao ? null : Nb[v], w = e === Fs ? null : Pb[v], S = $o(y), M = S.extent, R = S.selection, D = M[0][0], L, T, H = M[0][1], U, B, E = M[1][0], $, C, N = M[1][1], P, j, G = 0, nt = 0, J, lt = _ && w && i && m.shiftKey, ft, q, K = Array.from(m.touches || [m], (tt) => {
2414
+ var y = this, v = m.target.__data__.type, b = (i && m.metaKey ? v = "overlay" : v) === "selection" ? fh : i && m.altKey ? vr : gr, w = e === Ao ? null : Nb[v], _ = e === Fs ? null : Pb[v], S = $o(y), M = S.extent, R = S.selection, D = M[0][0], L, T, H = M[0][1], U, B, E = M[1][0], $, C, N = M[1][1], P, j, G = 0, nt = 0, J, lt = w && _ && i && m.shiftKey, ft, q, K = Array.from(m.touches || [m], (tt) => {
2415
2415
  const $t = tt.identifier;
2416
2416
  return tt = Kn(tt, y), tt.point0 = tt.slice(), tt.identifier = $t, tt;
2417
2417
  });
2418
- _l(y);
2418
+ wl(y);
2419
2419
  var pt = u(y, arguments, !0).beforestart();
2420
2420
  if (v === "overlay") {
2421
2421
  R && (J = !0);
@@ -2456,19 +2456,19 @@ function Fb(e) {
2456
2456
  switch (G = $t[0] - Pn[0], nt = $t[1] - Pn[1], b) {
2457
2457
  case Co:
2458
2458
  case fh: {
2459
- _ && (G = Kt(D - L, Qt(E - $, G)), T = L + G, C = $ + G), w && (nt = Kt(H - U, Qt(N - P, nt)), B = U + nt, j = P + nt);
2459
+ w && (G = Kt(D - L, Qt(E - $, G)), T = L + G, C = $ + G), _ && (nt = Kt(H - U, Qt(N - P, nt)), B = U + nt, j = P + nt);
2460
2460
  break;
2461
2461
  }
2462
2462
  case gr: {
2463
- K[1] ? (_ && (T = Kt(D, Qt(E, K[0][0])), C = Kt(D, Qt(E, K[1][0])), _ = 1), w && (B = Kt(H, Qt(N, K[0][1])), j = Kt(H, Qt(N, K[1][1])), w = 1)) : (_ < 0 ? (G = Kt(D - L, Qt(E - L, G)), T = L + G, C = $) : _ > 0 && (G = Kt(D - $, Qt(E - $, G)), T = L, C = $ + G), w < 0 ? (nt = Kt(H - U, Qt(N - U, nt)), B = U + nt, j = P) : w > 0 && (nt = Kt(H - P, Qt(N - P, nt)), B = U, j = P + nt));
2463
+ K[1] ? (w && (T = Kt(D, Qt(E, K[0][0])), C = Kt(D, Qt(E, K[1][0])), w = 1), _ && (B = Kt(H, Qt(N, K[0][1])), j = Kt(H, Qt(N, K[1][1])), _ = 1)) : (w < 0 ? (G = Kt(D - L, Qt(E - L, G)), T = L + G, C = $) : w > 0 && (G = Kt(D - $, Qt(E - $, G)), T = L, C = $ + G), _ < 0 ? (nt = Kt(H - U, Qt(N - U, nt)), B = U + nt, j = P) : _ > 0 && (nt = Kt(H - P, Qt(N - P, nt)), B = U, j = P + nt));
2464
2464
  break;
2465
2465
  }
2466
2466
  case vr: {
2467
- _ && (T = Kt(D, Qt(E, L - G * _)), C = Kt(D, Qt(E, $ + G * _))), w && (B = Kt(H, Qt(N, U - nt * w)), j = Kt(H, Qt(N, P + nt * w)));
2467
+ w && (T = Kt(D, Qt(E, L - G * w)), C = Kt(D, Qt(E, $ + G * w))), _ && (B = Kt(H, Qt(N, U - nt * _)), j = Kt(H, Qt(N, P + nt * _)));
2468
2468
  break;
2469
2469
  }
2470
2470
  }
2471
- C < T && (_ *= -1, Ee = L, L = $, $ = Ee, Ee = T, T = C, C = Ee, v in vh && X.attr("cursor", an[v = vh[v]])), j < B && (w *= -1, Ee = U, U = P, P = Ee, Ee = B, B = j, j = Ee, v in yh && X.attr("cursor", an[v = yh[v]])), S.selection && (R = S.selection), ft && (T = R[0][0], C = R[1][0]), q && (B = R[0][1], j = R[1][1]), (R[0][0] !== T || R[0][1] !== B || R[1][0] !== C || R[1][1] !== j) && (S.selection = [[T, B], [C, j]], c.call(y), pt.brush(tt, b.name));
2471
+ C < T && (w *= -1, Ee = L, L = $, $ = Ee, Ee = T, T = C, C = Ee, v in vh && X.attr("cursor", an[v = vh[v]])), j < B && (_ *= -1, Ee = U, U = P, P = Ee, Ee = B, B = j, j = Ee, v in yh && X.attr("cursor", an[v = yh[v]])), S.selection && (R = S.selection), ft && (T = R[0][0], C = R[1][0]), q && (B = R[0][1], j = R[1][1]), (R[0][0] !== T || R[0][1] !== B || R[1][0] !== C || R[1][1] !== j) && (S.selection = [[T, B], [C, j]], c.call(y), pt.brush(tt, b.name));
2472
2472
  }
2473
2473
  function dt(tt) {
2474
2474
  if (Ib(tt), tt.touches) {
@@ -2484,15 +2484,15 @@ function Fb(e) {
2484
2484
  function Pt(tt) {
2485
2485
  switch (tt.keyCode) {
2486
2486
  case 16: {
2487
- lt = _ && w;
2487
+ lt = w && _;
2488
2488
  break;
2489
2489
  }
2490
2490
  case 18: {
2491
- b === gr && (_ && ($ = C - G * _, L = T + G * _), w && (P = j - nt * w, U = B + nt * w), b = vr, Tt(tt));
2491
+ b === gr && (w && ($ = C - G * w, L = T + G * w), _ && (P = j - nt * _, U = B + nt * _), b = vr, Tt(tt));
2492
2492
  break;
2493
2493
  }
2494
2494
  case 32: {
2495
- (b === gr || b === vr) && (_ < 0 ? $ = C - G : _ > 0 && (L = T - G), w < 0 ? P = j - nt : w > 0 && (U = B - nt), b = Co, X.attr("cursor", an.selection), Tt(tt));
2495
+ (b === gr || b === vr) && (w < 0 ? $ = C - G : w > 0 && (L = T - G), _ < 0 ? P = j - nt : _ > 0 && (U = B - nt), b = Co, X.attr("cursor", an.selection), Tt(tt));
2496
2496
  break;
2497
2497
  }
2498
2498
  default:
@@ -2507,11 +2507,11 @@ function Fb(e) {
2507
2507
  break;
2508
2508
  }
2509
2509
  case 18: {
2510
- b === vr && (_ < 0 ? $ = C : _ > 0 && (L = T), w < 0 ? P = j : w > 0 && (U = B), b = gr, Tt(tt));
2510
+ b === vr && (w < 0 ? $ = C : w > 0 && (L = T), _ < 0 ? P = j : _ > 0 && (U = B), b = gr, Tt(tt));
2511
2511
  break;
2512
2512
  }
2513
2513
  case 32: {
2514
- b === Co && (tt.altKey ? (_ && ($ = C - G * _, L = T + G * _), w && (P = j - nt * w, U = B + nt * w), b = vr) : (_ < 0 ? $ = C : _ > 0 && (L = T), w < 0 ? P = j : w > 0 && (U = B), b = gr), X.attr("cursor", an[v]), Tt(tt));
2514
+ b === Co && (tt.altKey ? (w && ($ = C - G * w, L = T + G * w), _ && (P = j - nt * _, U = B + nt * _), b = vr) : (w < 0 ? $ = C : w > 0 && (L = T), _ < 0 ? P = j : _ > 0 && (U = B), b = gr), X.attr("cursor", an[v]), Tt(tt));
2515
2515
  break;
2516
2516
  }
2517
2517
  default:
@@ -2594,8 +2594,8 @@ let jb = class {
2594
2594
  if (!(Math.abs(d * l - c * u) > Hn) || !s)
2595
2595
  this._append`L${this._x1 = t},${this._y1 = n}`;
2596
2596
  else {
2597
- let f = r - a, p = i - o, g = l * l + c * c, m = f * f + p * p, y = Math.sqrt(g), v = Math.sqrt(h), b = s * Math.tan((Sl - Math.acos((g + h - m) / (2 * y * v))) / 2), _ = b / v, w = b / y;
2598
- Math.abs(_ - 1) > Hn && this._append`L${t + _ * u},${n + _ * d}`, this._append`A${s},${s},0,0,${+(d * f > u * p)},${this._x1 = t + w * l},${this._y1 = n + w * c}`;
2597
+ let f = r - a, p = i - o, g = l * l + c * c, m = f * f + p * p, y = Math.sqrt(g), v = Math.sqrt(h), b = s * Math.tan((Sl - Math.acos((g + h - m) / (2 * y * v))) / 2), w = b / v, _ = b / y;
2598
+ Math.abs(w - 1) > Hn && this._append`L${t + w * u},${n + w * d}`, this._append`A${s},${s},0,0,${+(d * f > u * p)},${this._x1 = t + _ * l},${this._y1 = n + _ * c}`;
2599
2599
  }
2600
2600
  }
2601
2601
  arc(t, n, r, i, s, a) {
@@ -2716,23 +2716,23 @@ const bh = {
2716
2716
  function Eh(e) {
2717
2717
  return e;
2718
2718
  }
2719
- var wh = Array.prototype.map, _h = ["y", "z", "a", "f", "p", "n", "µ", "m", "", "k", "M", "G", "T", "P", "E", "Z", "Y"];
2719
+ var _h = Array.prototype.map, wh = ["y", "z", "a", "f", "p", "n", "µ", "m", "", "k", "M", "G", "T", "P", "E", "Z", "Y"];
2720
2720
  function Qb(e) {
2721
- var t = e.grouping === void 0 || e.thousands === void 0 ? Eh : qb(wh.call(e.grouping, Number), e.thousands + ""), n = e.currency === void 0 ? "" : e.currency[0] + "", r = e.currency === void 0 ? "" : e.currency[1] + "", i = e.decimal === void 0 ? "." : e.decimal + "", s = e.numerals === void 0 ? Eh : Yb(wh.call(e.numerals, String)), a = e.percent === void 0 ? "%" : e.percent + "", o = e.minus === void 0 ? "−" : e.minus + "", l = e.nan === void 0 ? "NaN" : e.nan + "";
2721
+ var t = e.grouping === void 0 || e.thousands === void 0 ? Eh : qb(_h.call(e.grouping, Number), e.thousands + ""), n = e.currency === void 0 ? "" : e.currency[0] + "", r = e.currency === void 0 ? "" : e.currency[1] + "", i = e.decimal === void 0 ? "." : e.decimal + "", s = e.numerals === void 0 ? Eh : Yb(_h.call(e.numerals, String)), a = e.percent === void 0 ? "%" : e.percent + "", o = e.minus === void 0 ? "−" : e.minus + "", l = e.nan === void 0 ? "NaN" : e.nan + "";
2722
2722
  function c(d) {
2723
2723
  d = Vi(d);
2724
- var h = d.fill, f = d.align, p = d.sign, g = d.symbol, m = d.zero, y = d.width, v = d.comma, b = d.precision, _ = d.trim, w = d.type;
2725
- w === "n" ? (v = !0, w = "g") : bh[w] || (b === void 0 && (b = 12), _ = !0, w = "g"), (m || h === "0" && f === "=") && (m = !0, h = "0", f = "=");
2726
- var S = g === "$" ? n : g === "#" && /[boxX]/.test(w) ? "0" + w.toLowerCase() : "", M = g === "$" ? r : /[%p]/.test(w) ? a : "", R = bh[w], D = /[defgprs%]/.test(w);
2727
- b = b === void 0 ? 6 : /[gprs]/.test(w) ? Math.max(1, Math.min(21, b)) : Math.max(0, Math.min(20, b));
2724
+ var h = d.fill, f = d.align, p = d.sign, g = d.symbol, m = d.zero, y = d.width, v = d.comma, b = d.precision, w = d.trim, _ = d.type;
2725
+ _ === "n" ? (v = !0, _ = "g") : bh[_] || (b === void 0 && (b = 12), w = !0, _ = "g"), (m || h === "0" && f === "=") && (m = !0, h = "0", f = "=");
2726
+ var S = g === "$" ? n : g === "#" && /[boxX]/.test(_) ? "0" + _.toLowerCase() : "", M = g === "$" ? r : /[%p]/.test(_) ? a : "", R = bh[_], D = /[defgprs%]/.test(_);
2727
+ b = b === void 0 ? 6 : /[gprs]/.test(_) ? Math.max(1, Math.min(21, b)) : Math.max(0, Math.min(20, b));
2728
2728
  function L(T) {
2729
2729
  var H = S, U = M, B, E, $;
2730
- if (w === "c")
2730
+ if (_ === "c")
2731
2731
  U = R(T) + U, T = "";
2732
2732
  else {
2733
2733
  T = +T;
2734
2734
  var C = T < 0 || 1 / T < 0;
2735
- if (T = isNaN(T) ? l : R(Math.abs(T), b), _ && (T = Zb(T)), C && +T == 0 && p !== "+" && (C = !1), H = (C ? p === "(" ? p : o : p === "-" || p === "(" ? "" : p) + H, U = (w === "s" ? _h[8 + lm / 3] : "") + U + (C && p === "(" ? ")" : ""), D) {
2735
+ if (T = isNaN(T) ? l : R(Math.abs(T), b), w && (T = Zb(T)), C && +T == 0 && p !== "+" && (C = !1), H = (C ? p === "(" ? p : o : p === "-" || p === "(" ? "" : p) + H, U = (_ === "s" ? wh[8 + lm / 3] : "") + U + (C && p === "(" ? ")" : ""), D) {
2736
2736
  for (B = -1, E = T.length; ++B < E; )
2737
2737
  if ($ = T.charCodeAt(B), 48 > $ || $ > 57) {
2738
2738
  U = ($ === 46 ? i + T.slice(B + 1) : T.slice(B)) + U, T = T.slice(0, B);
@@ -2763,7 +2763,7 @@ function Qb(e) {
2763
2763
  }, L;
2764
2764
  }
2765
2765
  function u(d, h) {
2766
- var f = c((d = Vi(d), d.type = "f", d)), p = Math.max(-8, Math.min(8, Math.floor(Vr(h) / 3))) * 3, g = Math.pow(10, -p), m = _h[8 + p / 3];
2766
+ var f = c((d = Vi(d), d.type = "f", d)), p = Math.max(-8, Math.min(8, Math.floor(Vr(h) / 3))) * 3, g = Math.pow(10, -p), m = wh[8 + p / 3];
2767
2767
  return function(y) {
2768
2768
  return f(g * y) + m;
2769
2769
  };
@@ -2791,7 +2791,7 @@ function eE(e, t) {
2791
2791
  function nE(e, t) {
2792
2792
  return e = Math.abs(e), t = Math.abs(t) - e, Math.max(0, Vr(t) - Vr(e)) + 1;
2793
2793
  }
2794
- var wt = 1e-6, um = 1e-12, ut = Math.PI, ce = ut / 2, Sh = ut / 4, xe = ut * 2, ne = 180 / ut, Nt = ut / 180, _t = Math.abs, hm = Math.atan, Jn = Math.atan2, St = Math.cos, rE = Math.exp, iE = Math.log, yt = Math.sin, Dn = Math.sign || function(e) {
2794
+ var _t = 1e-6, um = 1e-12, ut = Math.PI, ce = ut / 2, Sh = ut / 4, xe = ut * 2, ne = 180 / ut, Nt = ut / 180, wt = Math.abs, hm = Math.atan, Jn = Math.atan2, St = Math.cos, rE = Math.exp, iE = Math.log, yt = Math.sin, Dn = Math.sign || function(e) {
2795
2795
  return e > 0 ? 1 : e < 0 ? -1 : 0;
2796
2796
  }, Ne = Math.sqrt, sE = Math.tan;
2797
2797
  function aE(e) {
@@ -2855,7 +2855,7 @@ function Mh(e, t) {
2855
2855
  Tl(e[n], t, 1);
2856
2856
  t.polygonEnd();
2857
2857
  }
2858
- function _r(e, t) {
2858
+ function wr(e, t) {
2859
2859
  e && Oh.hasOwnProperty(e.type) ? Oh[e.type](e, t) : ca(e, t);
2860
2860
  }
2861
2861
  function Ml(e) {
@@ -2890,7 +2890,7 @@ function Al(e, t) {
2890
2890
  }), n;
2891
2891
  }
2892
2892
  function $l(e, t) {
2893
- return _t(e) > ut && (e -= Math.round(e / xe) * xe), [e, t];
2893
+ return wt(e) > ut && (e -= Math.round(e / xe) * xe), [e, t];
2894
2894
  }
2895
2895
  $l.invert = $l;
2896
2896
  function dm(e, t, n) {
@@ -2898,7 +2898,7 @@ function dm(e, t, n) {
2898
2898
  }
2899
2899
  function Ch(e) {
2900
2900
  return function(t, n) {
2901
- return t += e, _t(t) > ut && (t -= Math.round(t / xe) * xe), [t, n];
2901
+ return t += e, wt(t) > ut && (t -= Math.round(t / xe) * xe), [t, n];
2902
2902
  };
2903
2903
  }
2904
2904
  function Ah(e) {
@@ -2942,7 +2942,7 @@ function lE(e, t, n, r, i, s) {
2942
2942
  function Lh(e, t) {
2943
2943
  t = Fr(t), t[0] -= e, Cl(t);
2944
2944
  var n = aE(-t[1]);
2945
- return ((-t[2] < 0 ? -n : n) + xe - wt) % xe;
2945
+ return ((-t[2] < 0 ? -n : n) + xe - _t) % xe;
2946
2946
  }
2947
2947
  function fm() {
2948
2948
  var e = [], t;
@@ -2964,7 +2964,7 @@ function fm() {
2964
2964
  };
2965
2965
  }
2966
2966
  function zs(e, t) {
2967
- return _t(e[0] - t[0]) < wt && _t(e[1] - t[1]) < wt;
2967
+ return wt(e[0] - t[0]) < _t && wt(e[1] - t[1]) < _t;
2968
2968
  }
2969
2969
  function bs(e, t, n, r) {
2970
2970
  this.x = e, this.z = t, this.o = n, this.e = r, this.v = !1, this.n = this.p = null;
@@ -2981,7 +2981,7 @@ function pm(e, t, n, r, i) {
2981
2981
  i.lineEnd();
2982
2982
  return;
2983
2983
  }
2984
- y[0] += 2 * wt;
2984
+ y[0] += 2 * _t;
2985
2985
  }
2986
2986
  s.push(v = new bs(m, p, null, !0)), a.push(v.o = new bs(m, null, v, !1)), s.push(v = new bs(y, p, null, !1)), a.push(v.o = new bs(y, null, v, !0));
2987
2987
  }
@@ -3023,16 +3023,16 @@ function Dh(e) {
3023
3023
  }
3024
3024
  }
3025
3025
  function Do(e) {
3026
- return _t(e[0]) <= ut ? e[0] : Dn(e[0]) * ((_t(e[0]) + ut) % xe - ut);
3026
+ return wt(e[0]) <= ut ? e[0] : Dn(e[0]) * ((wt(e[0]) + ut) % xe - ut);
3027
3027
  }
3028
3028
  function cE(e, t) {
3029
3029
  var n = Do(t), r = t[1], i = yt(r), s = [yt(n), -St(n), 0], a = 0, o = 0, l = new Xn();
3030
- i === 1 ? r = ce + wt : i === -1 && (r = -ce - wt);
3030
+ i === 1 ? r = ce + _t : i === -1 && (r = -ce - _t);
3031
3031
  for (var c = 0, u = e.length; c < u; ++c)
3032
3032
  if (h = (d = e[c]).length)
3033
- for (var d, h, f = d[h - 1], p = Do(f), g = f[1] / 2 + Sh, m = yt(g), y = St(g), v = 0; v < h; ++v, p = _, m = S, y = M, f = b) {
3034
- var b = d[v], _ = Do(b), w = b[1] / 2 + Sh, S = yt(w), M = St(w), R = _ - p, D = R >= 0 ? 1 : -1, L = D * R, T = L > ut, H = m * S;
3035
- if (l.add(Jn(H * D * yt(L), y * M + H * St(L))), a += T ? R + D * xe : R, T ^ p >= n ^ _ >= n) {
3033
+ for (var d, h, f = d[h - 1], p = Do(f), g = f[1] / 2 + Sh, m = yt(g), y = St(g), v = 0; v < h; ++v, p = w, m = S, y = M, f = b) {
3034
+ var b = d[v], w = Do(b), _ = b[1] / 2 + Sh, S = yt(_), M = St(_), R = w - p, D = R >= 0 ? 1 : -1, L = D * R, T = L > ut, H = m * S;
3035
+ if (l.add(Jn(H * D * yt(L), y * M + H * St(L))), a += T ? R + D * xe : R, T ^ p >= n ^ w >= n) {
3036
3036
  var U = ua(Fr(f), Fr(b));
3037
3037
  Cl(U);
3038
3038
  var B = ua(s, U);
@@ -3041,7 +3041,7 @@ function cE(e, t) {
3041
3041
  (r > E || r === E && (U[0] || U[1])) && (o += T ^ R >= 0 ? 1 : -1);
3042
3042
  }
3043
3043
  }
3044
- return (a < -wt || a < wt && l < -um) ^ o & 1;
3044
+ return (a < -_t || a < _t && l < -um) ^ o & 1;
3045
3045
  }
3046
3046
  function mm(e, t, n, r) {
3047
3047
  return function(i) {
@@ -3054,18 +3054,18 @@ function mm(e, t, n, r) {
3054
3054
  },
3055
3055
  polygonEnd: function() {
3056
3056
  h.point = f, h.lineStart = g, h.lineEnd = m, u = Lp(u);
3057
- var _ = cE(c, r);
3058
- u.length ? (l || (i.polygonStart(), l = !0), pm(u, hE, _, n, i)) : _ && (l || (i.polygonStart(), l = !0), i.lineStart(), n(null, null, 1, i), i.lineEnd()), l && (i.polygonEnd(), l = !1), u = c = null;
3057
+ var w = cE(c, r);
3058
+ u.length ? (l || (i.polygonStart(), l = !0), pm(u, hE, w, n, i)) : w && (l || (i.polygonStart(), l = !0), i.lineStart(), n(null, null, 1, i), i.lineEnd()), l && (i.polygonEnd(), l = !1), u = c = null;
3059
3059
  },
3060
3060
  sphere: function() {
3061
3061
  i.polygonStart(), i.lineStart(), n(null, null, 1, i), i.lineEnd(), i.polygonEnd();
3062
3062
  }
3063
3063
  };
3064
- function f(_, w) {
3065
- e(_, w) && i.point(_, w);
3064
+ function f(w, _) {
3065
+ e(w, _) && i.point(w, _);
3066
3066
  }
3067
- function p(_, w) {
3068
- s.point(_, w);
3067
+ function p(w, _) {
3068
+ s.point(w, _);
3069
3069
  }
3070
3070
  function g() {
3071
3071
  h.point = p, s.lineStart();
@@ -3073,25 +3073,25 @@ function mm(e, t, n, r) {
3073
3073
  function m() {
3074
3074
  h.point = f, s.lineEnd();
3075
3075
  }
3076
- function y(_, w) {
3077
- d.push([_, w]), o.point(_, w);
3076
+ function y(w, _) {
3077
+ d.push([w, _]), o.point(w, _);
3078
3078
  }
3079
3079
  function v() {
3080
3080
  o.lineStart(), d = [];
3081
3081
  }
3082
3082
  function b() {
3083
3083
  y(d[0][0], d[0][1]), o.lineEnd();
3084
- var _ = o.clean(), w = a.result(), S, M = w.length, R, D, L;
3084
+ var w = o.clean(), _ = a.result(), S, M = _.length, R, D, L;
3085
3085
  if (d.pop(), c.push(d), d = null, !!M) {
3086
- if (_ & 1) {
3087
- if (D = w[0], (R = D.length - 1) > 0) {
3086
+ if (w & 1) {
3087
+ if (D = _[0], (R = D.length - 1) > 0) {
3088
3088
  for (l || (i.polygonStart(), l = !0), i.lineStart(), S = 0; S < R; ++S)
3089
3089
  i.point((L = D[S])[0], L[1]);
3090
3090
  i.lineEnd();
3091
3091
  }
3092
3092
  return;
3093
3093
  }
3094
- M > 1 && _ & 2 && w.push(w.pop().concat(w.shift())), u.push(w.filter(uE));
3094
+ M > 1 && w & 2 && _.push(_.pop().concat(_.shift())), u.push(_.filter(uE));
3095
3095
  }
3096
3096
  }
3097
3097
  return h;
@@ -3101,7 +3101,7 @@ function uE(e) {
3101
3101
  return e.length > 1;
3102
3102
  }
3103
3103
  function hE(e, t) {
3104
- return ((e = e.x)[0] < 0 ? e[1] - ce - wt : ce - e[1]) - ((t = t.x)[0] < 0 ? t[1] - ce - wt : ce - t[1]);
3104
+ return ((e = e.x)[0] < 0 ? e[1] - ce - _t : ce - e[1]) - ((t = t.x)[0] < 0 ? t[1] - ce - _t : ce - t[1]);
3105
3105
  }
3106
3106
  const kh = mm(
3107
3107
  function() {
@@ -3118,8 +3118,8 @@ function dE(e) {
3118
3118
  e.lineStart(), i = 1;
3119
3119
  },
3120
3120
  point: function(s, a) {
3121
- var o = s > 0 ? ut : -ut, l = _t(s - t);
3122
- _t(l - ut) < wt ? (e.point(t, n = (n + a) / 2 > 0 ? ce : -ce), e.point(r, n), e.lineEnd(), e.lineStart(), e.point(o, n), e.point(s, n), i = 0) : r !== o && l >= ut && (_t(t - r) < wt && (t -= r * wt), _t(s - o) < wt && (s -= o * wt), n = fE(t, n, s, a), e.point(r, n), e.lineEnd(), e.lineStart(), e.point(o, n), i = 0), e.point(t = s, n = a), r = o;
3121
+ var o = s > 0 ? ut : -ut, l = wt(s - t);
3122
+ wt(l - ut) < _t ? (e.point(t, n = (n + a) / 2 > 0 ? ce : -ce), e.point(r, n), e.lineEnd(), e.lineStart(), e.point(o, n), e.point(s, n), i = 0) : r !== o && l >= ut && (wt(t - r) < _t && (t -= r * _t), wt(s - o) < _t && (s -= o * _t), n = fE(t, n, s, a), e.point(r, n), e.lineEnd(), e.lineStart(), e.point(o, n), i = 0), e.point(t = s, n = a), r = o;
3123
3123
  },
3124
3124
  lineEnd: function() {
3125
3125
  e.lineEnd(), t = n = NaN;
@@ -3131,20 +3131,20 @@ function dE(e) {
3131
3131
  }
3132
3132
  function fE(e, t, n, r) {
3133
3133
  var i, s, a = yt(e - n);
3134
- return _t(a) > wt ? hm((yt(t) * (s = St(r)) * yt(n) - yt(r) * (i = St(t)) * yt(e)) / (i * s * a)) : (t + r) / 2;
3134
+ return wt(a) > _t ? hm((yt(t) * (s = St(r)) * yt(n) - yt(r) * (i = St(t)) * yt(e)) / (i * s * a)) : (t + r) / 2;
3135
3135
  }
3136
3136
  function pE(e, t, n, r) {
3137
3137
  var i;
3138
3138
  if (e == null)
3139
3139
  i = n * ce, r.point(-ut, i), r.point(0, i), r.point(ut, i), r.point(ut, 0), r.point(ut, -i), r.point(0, -i), r.point(-ut, -i), r.point(-ut, 0), r.point(-ut, i);
3140
- else if (_t(e[0] - t[0]) > wt) {
3140
+ else if (wt(e[0] - t[0]) > _t) {
3141
3141
  var s = e[0] < t[0] ? ut : -ut;
3142
3142
  i = n * s / 2, r.point(-s, i), r.point(0, i), r.point(s, i);
3143
3143
  } else
3144
3144
  r.point(t[0], t[1]);
3145
3145
  }
3146
3146
  function mE(e) {
3147
- var t = St(e), n = 6 * Nt, r = t > 0, i = _t(t) > wt;
3147
+ var t = St(e), n = 6 * Nt, r = t > 0, i = wt(t) > _t;
3148
3148
  function s(u, d, h, f) {
3149
3149
  lE(f, e, n, h, u, d);
3150
3150
  }
@@ -3158,14 +3158,14 @@ function mE(e) {
3158
3158
  p = f = !1, g = 1;
3159
3159
  },
3160
3160
  point: function(m, y) {
3161
- var v = [m, y], b, _ = a(m, y), w = r ? _ ? 0 : c(m, y) : _ ? c(m + (m < 0 ? ut : -ut), y) : 0;
3162
- if (!d && (p = f = _) && u.lineStart(), _ !== f && (b = l(d, v), (!b || zs(d, b) || zs(v, b)) && (v[2] = 1)), _ !== f)
3163
- g = 0, _ ? (u.lineStart(), b = l(v, d), u.point(b[0], b[1])) : (b = l(d, v), u.point(b[0], b[1], 2), u.lineEnd()), d = b;
3164
- else if (i && d && r ^ _) {
3161
+ var v = [m, y], b, w = a(m, y), _ = r ? w ? 0 : c(m, y) : w ? c(m + (m < 0 ? ut : -ut), y) : 0;
3162
+ if (!d && (p = f = w) && u.lineStart(), w !== f && (b = l(d, v), (!b || zs(d, b) || zs(v, b)) && (v[2] = 1)), w !== f)
3163
+ g = 0, w ? (u.lineStart(), b = l(v, d), u.point(b[0], b[1])) : (b = l(d, v), u.point(b[0], b[1], 2), u.lineEnd()), d = b;
3164
+ else if (i && d && r ^ w) {
3165
3165
  var S;
3166
- !(w & h) && (S = l(v, d, !0)) && (g = 0, r ? (u.lineStart(), u.point(S[0][0], S[0][1]), u.point(S[1][0], S[1][1]), u.lineEnd()) : (u.point(S[1][0], S[1][1]), u.lineEnd(), u.lineStart(), u.point(S[0][0], S[0][1], 3)));
3166
+ !(_ & h) && (S = l(v, d, !0)) && (g = 0, r ? (u.lineStart(), u.point(S[0][0], S[0][1]), u.point(S[1][0], S[1][1]), u.lineEnd()) : (u.point(S[1][0], S[1][1]), u.lineEnd(), u.lineStart(), u.point(S[0][0], S[0][1], 3)));
3167
3167
  }
3168
- _ && (!d || !zs(d, v)) && u.point(v[0], v[1]), d = v, f = _, h = w;
3168
+ w && (!d || !zs(d, v)) && u.point(v[0], v[1]), d = v, f = w, h = _;
3169
3169
  },
3170
3170
  lineEnd: function() {
3171
3171
  f && u.lineEnd(), d = null;
@@ -3181,7 +3181,7 @@ function mE(e) {
3181
3181
  var f = Fr(u), p = Fr(d), g = [1, 0, 0], m = ua(f, p), y = ys(m, m), v = m[0], b = y - v * v;
3182
3182
  if (!b)
3183
3183
  return !h && u;
3184
- var _ = t * y / b, w = -t * v / b, S = ua(g, m), M = xs(g, _), R = xs(m, w);
3184
+ var w = t * y / b, _ = -t * v / b, S = ua(g, m), M = xs(g, w), R = xs(m, _);
3185
3185
  Lo(M, R);
3186
3186
  var D = S, L = ys(M, D), T = ys(D, D), H = L * L - T * (ys(M, M) - 1);
3187
3187
  if (!(H < 0)) {
@@ -3190,8 +3190,8 @@ function mE(e) {
3190
3190
  return B;
3191
3191
  var E = u[0], $ = d[0], C = u[1], N = d[1], P;
3192
3192
  $ < E && (P = E, E = $, $ = P);
3193
- var j = $ - E, G = _t(j - ut) < wt, nt = G || j < wt;
3194
- if (!G && N < C && (P = C, C = N, N = P), nt ? G ? C + N > 0 ^ B[1] < (_t(B[0] - E) < wt ? C : N) : C <= B[1] && B[1] <= N : j > ut ^ (E <= B[0] && B[0] <= $)) {
3193
+ var j = $ - E, G = wt(j - ut) < _t, nt = G || j < _t;
3194
+ if (!G && N < C && (P = C, C = N, N = P), nt ? G ? C + N > 0 ^ B[1] < (wt(B[0] - E) < _t ? C : N) : C <= B[1] && B[1] <= N : j > ut ^ (E <= B[0] && B[0] <= $)) {
3195
3195
  var J = xs(D, (-L + U) / T);
3196
3196
  return Lo(J, M), [B, Ml(J)];
3197
3197
  }
@@ -3266,7 +3266,7 @@ function vE(e, t, n, r) {
3266
3266
  h.point(u[0], u[1]);
3267
3267
  }
3268
3268
  function a(c, u) {
3269
- return _t(c[0] - e) < wt ? u > 0 ? 0 : 3 : _t(c[0] - n) < wt ? u > 0 ? 2 : 1 : _t(c[1] - t) < wt ? u > 0 ? 1 : 0 : u > 0 ? 3 : 2;
3269
+ return wt(c[0] - e) < _t ? u > 0 ? 0 : 3 : wt(c[0] - n) < _t ? u > 0 ? 2 : 1 : wt(c[1] - t) < _t ? u > 0 ? 1 : 0 : u > 0 ? 3 : 2;
3270
3270
  }
3271
3271
  function o(c, u) {
3272
3272
  return l(c.x, u.x);
@@ -3276,7 +3276,7 @@ function vE(e, t, n, r) {
3276
3276
  return d !== h ? d - h : d === 0 ? u[1] - c[1] : d === 1 ? c[0] - u[0] : d === 2 ? c[1] - u[1] : u[0] - c[0];
3277
3277
  }
3278
3278
  return function(c) {
3279
- var u = c, d = fm(), h, f, p, g, m, y, v, b, _, w, S, M = {
3279
+ var u = c, d = fm(), h, f, p, g, m, y, v, b, w, _, S, M = {
3280
3280
  point: R,
3281
3281
  lineStart: H,
3282
3282
  lineEnd: U,
@@ -3300,22 +3300,22 @@ function vE(e, t, n, r) {
3300
3300
  ($ || C) && (c.polygonStart(), $ && (c.lineStart(), s(null, null, 1, c), c.lineEnd()), C && pm(h, o, E, s, c), c.polygonEnd()), u = c, h = f = p = null;
3301
3301
  }
3302
3302
  function H() {
3303
- M.point = B, f && f.push(p = []), w = !0, _ = !1, v = b = NaN;
3303
+ M.point = B, f && f.push(p = []), _ = !0, w = !1, v = b = NaN;
3304
3304
  }
3305
3305
  function U() {
3306
- h && (B(g, m), y && _ && d.rejoin(), h.push(d.result())), M.point = R, _ && u.lineEnd();
3306
+ h && (B(g, m), y && w && d.rejoin(), h.push(d.result())), M.point = R, w && u.lineEnd();
3307
3307
  }
3308
3308
  function B(E, $) {
3309
3309
  var C = i(E, $);
3310
- if (f && p.push([E, $]), w)
3311
- g = E, m = $, y = C, w = !1, C && (u.lineStart(), u.point(E, $));
3312
- else if (C && _)
3310
+ if (f && p.push([E, $]), _)
3311
+ g = E, m = $, y = C, _ = !1, C && (u.lineStart(), u.point(E, $));
3312
+ else if (C && w)
3313
3313
  u.point(E, $);
3314
3314
  else {
3315
3315
  var N = [v = Math.max(Es, Math.min(vi, v)), b = Math.max(Es, Math.min(vi, b))], P = [E = Math.max(Es, Math.min(vi, E)), $ = Math.max(Es, Math.min(vi, $))];
3316
- gE(N, P, e, t, n, r) ? (_ || (u.lineStart(), u.point(N[0], N[1])), u.point(P[0], P[1]), C || u.lineEnd(), S = !1) : C && (u.lineStart(), u.point(E, $), S = !1);
3316
+ gE(N, P, e, t, n, r) ? (w || (u.lineStart(), u.point(N[0], N[1])), u.point(P[0], P[1]), C || u.lineEnd(), S = !1) : C && (u.lineStart(), u.point(E, $), S = !1);
3317
3317
  }
3318
- v = E, b = $, _ = C;
3318
+ v = E, b = $, w = C;
3319
3319
  }
3320
3320
  return M;
3321
3321
  };
@@ -3329,7 +3329,7 @@ var ko = new Xn(), Dl = new Xn(), gm, vm, kl, Rl, Ln = {
3329
3329
  Ln.lineStart = yE, Ln.lineEnd = bE;
3330
3330
  },
3331
3331
  polygonEnd: function() {
3332
- Ln.lineStart = Ln.lineEnd = Ln.point = Se, ko.add(_t(Dl)), Dl = new Xn();
3332
+ Ln.lineStart = Ln.lineEnd = Ln.point = Se, ko.add(wt(Dl)), Dl = new Xn();
3333
3333
  },
3334
3334
  result: function() {
3335
3335
  var e = ko / 2;
@@ -3350,7 +3350,7 @@ function bE() {
3350
3350
  }
3351
3351
  const Rh = Ln;
3352
3352
  var zr = 1 / 0, ha = zr, Fi = -zr, da = Fi, EE = {
3353
- point: wE,
3353
+ point: _E,
3354
3354
  lineStart: Se,
3355
3355
  lineEnd: Se,
3356
3356
  polygonStart: Se,
@@ -3360,7 +3360,7 @@ var zr = 1 / 0, ha = zr, Fi = -zr, da = Fi, EE = {
3360
3360
  return Fi = da = -(ha = zr = 1 / 0), e;
3361
3361
  }
3362
3362
  };
3363
- function wE(e, t) {
3363
+ function _E(e, t) {
3364
3364
  e < zr && (zr = e), e > Fi && (Fi = e), t < ha && (ha = t), t > da && (da = t);
3365
3365
  }
3366
3366
  const fa = EE;
@@ -3383,9 +3383,9 @@ function tr(e, t) {
3383
3383
  Il += e, Nl += t, ++yi;
3384
3384
  }
3385
3385
  function Ih() {
3386
- Le.point = _E;
3386
+ Le.point = wE;
3387
3387
  }
3388
- function _E(e, t) {
3388
+ function wE(e, t) {
3389
3389
  Le.point = SE, tr(We = e, qe = t);
3390
3390
  }
3391
3391
  function SE(e, t) {
@@ -3409,10 +3409,10 @@ function Em(e, t) {
3409
3409
  pa += i * (We + e) / 2, ma += i * (qe + t) / 2, Ar += i, i = qe * e - We * t, Pl += i * (We + e), Ul += i * (qe + t), xi += i * 3, tr(We = e, qe = t);
3410
3410
  }
3411
3411
  const Ph = Le;
3412
- function wm(e) {
3412
+ function _m(e) {
3413
3413
  this._context = e;
3414
3414
  }
3415
- wm.prototype = {
3415
+ _m.prototype = {
3416
3416
  _radius: 4.5,
3417
3417
  pointRadius: function(e) {
3418
3418
  return this._radius = e, this;
@@ -3447,13 +3447,13 @@ wm.prototype = {
3447
3447
  },
3448
3448
  result: Se
3449
3449
  };
3450
- var Bl = new Xn(), Ro, _m, Sm, bi, Ei, ga = {
3450
+ var Bl = new Xn(), Ro, wm, Sm, bi, Ei, ga = {
3451
3451
  point: Se,
3452
3452
  lineStart: function() {
3453
3453
  ga.point = CE;
3454
3454
  },
3455
3455
  lineEnd: function() {
3456
- Ro && Om(_m, Sm), ga.point = Se;
3456
+ Ro && Om(wm, Sm), ga.point = Se;
3457
3457
  },
3458
3458
  polygonStart: function() {
3459
3459
  Ro = !0;
@@ -3467,7 +3467,7 @@ var Bl = new Xn(), Ro, _m, Sm, bi, Ei, ga = {
3467
3467
  }
3468
3468
  };
3469
3469
  function CE(e, t) {
3470
- ga.point = Om, _m = bi = e, Sm = Ei = t;
3470
+ ga.point = Om, wm = bi = e, Sm = Ei = t;
3471
3471
  }
3472
3472
  function Om(e, t) {
3473
3473
  bi -= e, Ei -= t, Bl.add(Ne(bi * bi + Ei * Ei)), bi = e, Ei = t;
@@ -3544,20 +3544,20 @@ function AE(e) {
3544
3544
  function $E(e, t) {
3545
3545
  let n = 3, r = 4.5, i, s;
3546
3546
  function a(o) {
3547
- return o && (typeof r == "function" && s.pointRadius(+r.apply(this, arguments)), _r(o, i(s))), s.result();
3547
+ return o && (typeof r == "function" && s.pointRadius(+r.apply(this, arguments)), wr(o, i(s))), s.result();
3548
3548
  }
3549
3549
  return a.area = function(o) {
3550
- return _r(o, i(Rh)), Rh.result();
3550
+ return wr(o, i(Rh)), Rh.result();
3551
3551
  }, a.measure = function(o) {
3552
- return _r(o, i(Uh)), Uh.result();
3552
+ return wr(o, i(Uh)), Uh.result();
3553
3553
  }, a.bounds = function(o) {
3554
- return _r(o, i(fa)), fa.result();
3554
+ return wr(o, i(fa)), fa.result();
3555
3555
  }, a.centroid = function(o) {
3556
- return _r(o, i(Ph)), Ph.result();
3556
+ return wr(o, i(Ph)), Ph.result();
3557
3557
  }, a.projection = function(o) {
3558
3558
  return arguments.length ? (i = o == null ? (e = null, Ll) : (e = o).stream, a) : e;
3559
3559
  }, a.context = function(o) {
3560
- return arguments.length ? (s = o == null ? (t = null, new Fh(n)) : new wm(t = o), typeof r != "function" && s.pointRadius(r), a) : t;
3560
+ return arguments.length ? (s = o == null ? (t = null, new Fh(n)) : new _m(t = o), typeof r != "function" && s.pointRadius(r), a) : t;
3561
3561
  }, a.pointRadius = function(o) {
3562
3562
  return arguments.length ? (r = typeof o == "function" ? o : (s.pointRadius(+o), +o), a) : r;
3563
3563
  }, a.digits = function(o) {
@@ -3607,7 +3607,7 @@ Hl.prototype = {
3607
3607
  };
3608
3608
  function Vc(e, t, n) {
3609
3609
  var r = e.clipExtent && e.clipExtent();
3610
- return e.scale(150).translate([0, 0]), r != null && e.clipExtent(null), _r(n, e.stream(fa)), t(fa.result()), r != null && e.clipExtent(r), e;
3610
+ return e.scale(150).translate([0, 0]), r != null && e.clipExtent(null), wr(n, e.stream(fa)), t(fa.result()), r != null && e.clipExtent(r), e;
3611
3611
  }
3612
3612
  function Mm(e, t, n) {
3613
3613
  return Vc(e, function(r) {
@@ -3645,17 +3645,17 @@ function NE(e, t) {
3645
3645
  function n(r, i, s, a, o, l, c, u, d, h, f, p, g, m) {
3646
3646
  var y = c - r, v = u - i, b = y * y + v * v;
3647
3647
  if (b > 4 * t && g--) {
3648
- var _ = a + h, w = o + f, S = l + p, M = Ne(_ * _ + w * w + S * S), R = xn(S /= M), D = _t(_t(S) - 1) < wt || _t(s - d) < wt ? (s + d) / 2 : Jn(w, _), L = e(D, R), T = L[0], H = L[1], U = T - r, B = H - i, E = v * U - y * B;
3649
- (E * E / b > t || _t((y * U + v * B) / b - 0.5) > 0.3 || a * h + o * f + l * p < RE) && (n(r, i, s, a, o, l, T, H, D, _ /= M, w /= M, S, g, m), m.point(T, H), n(T, H, D, _, w, S, c, u, d, h, f, p, g, m));
3648
+ var w = a + h, _ = o + f, S = l + p, M = Ne(w * w + _ * _ + S * S), R = xn(S /= M), D = wt(wt(S) - 1) < _t || wt(s - d) < _t ? (s + d) / 2 : Jn(_, w), L = e(D, R), T = L[0], H = L[1], U = T - r, B = H - i, E = v * U - y * B;
3649
+ (E * E / b > t || wt((y * U + v * B) / b - 0.5) > 0.3 || a * h + o * f + l * p < RE) && (n(r, i, s, a, o, l, T, H, D, w /= M, _ /= M, S, g, m), m.point(T, H), n(T, H, D, w, _, S, c, u, d, h, f, p, g, m));
3650
3650
  }
3651
3651
  }
3652
3652
  return function(r) {
3653
3653
  var i, s, a, o, l, c, u, d, h, f, p, g, m = {
3654
3654
  point: y,
3655
3655
  lineStart: v,
3656
- lineEnd: _,
3656
+ lineEnd: w,
3657
3657
  polygonStart: function() {
3658
- r.polygonStart(), m.lineStart = w;
3658
+ r.polygonStart(), m.lineStart = _;
3659
3659
  },
3660
3660
  polygonEnd: function() {
3661
3661
  r.polygonEnd(), m.lineStart = v;
@@ -3671,17 +3671,17 @@ function NE(e, t) {
3671
3671
  var L = Fr([R, D]), T = e(R, D);
3672
3672
  n(d, h, u, f, p, g, d = T[0], h = T[1], u = R, f = L[0], p = L[1], g = L[2], zh, r), r.point(d, h);
3673
3673
  }
3674
- function _() {
3674
+ function w() {
3675
3675
  m.point = y, r.lineEnd();
3676
3676
  }
3677
- function w() {
3677
+ function _() {
3678
3678
  v(), m.point = S, m.lineEnd = M;
3679
3679
  }
3680
3680
  function S(R, D) {
3681
3681
  b(i = R, D), s = d, a = h, o = f, l = p, c = g, m.point = b;
3682
3682
  }
3683
3683
  function M() {
3684
- n(d, h, u, f, p, g, s, a, i, o, l, c, zh, r), m.lineEnd = _, _();
3684
+ n(d, h, u, f, p, g, s, a, i, o, l, c, zh, r), m.lineEnd = w, w();
3685
3685
  }
3686
3686
  return m;
3687
3687
  };
@@ -3724,7 +3724,7 @@ function Wa(e) {
3724
3724
  })();
3725
3725
  }
3726
3726
  function Cm(e) {
3727
- var t, n = 150, r = 480, i = 250, s = 0, a = 0, o = 0, l = 0, c = 0, u, d = 0, h = 1, f = 1, p = null, g = kh, m = null, y, v, b, _ = Ll, w = 0.5, S, M, R, D, L;
3727
+ var t, n = 150, r = 480, i = 250, s = 0, a = 0, o = 0, l = 0, c = 0, u, d = 0, h = 1, f = 1, p = null, g = kh, m = null, y, v, b, w = Ll, _ = 0.5, S, M, R, D, L;
3728
3728
  function T(E) {
3729
3729
  return R(E[0] * Nt, E[1] * Nt);
3730
3730
  }
@@ -3732,15 +3732,15 @@ function Cm(e) {
3732
3732
  return E = R.invert(E[0], E[1]), E && [E[0] * ne, E[1] * ne];
3733
3733
  }
3734
3734
  T.stream = function(E) {
3735
- return D && L === E ? D : D = PE(UE(u)(g(S(_(L = E)))));
3735
+ return D && L === E ? D : D = PE(UE(u)(g(S(w(L = E)))));
3736
3736
  }, T.preclip = function(E) {
3737
3737
  return arguments.length ? (g = E, p = void 0, B()) : g;
3738
3738
  }, T.postclip = function(E) {
3739
- return arguments.length ? (_ = E, m = y = v = b = null, B()) : _;
3739
+ return arguments.length ? (w = E, m = y = v = b = null, B()) : w;
3740
3740
  }, T.clipAngle = function(E) {
3741
3741
  return arguments.length ? (g = +E ? mE(p = E * Nt) : (p = null, kh), B()) : p * ne;
3742
3742
  }, T.clipExtent = function(E) {
3743
- return arguments.length ? (_ = E == null ? (m = y = v = b = null, Ll) : vE(m = +E[0][0], y = +E[0][1], v = +E[1][0], b = +E[1][1]), B()) : m == null ? null : [[m, y], [v, b]];
3743
+ return arguments.length ? (w = E == null ? (m = y = v = b = null, Ll) : vE(m = +E[0][0], y = +E[0][1], v = +E[1][0], b = +E[1][1]), B()) : m == null ? null : [[m, y], [v, b]];
3744
3744
  }, T.scale = function(E) {
3745
3745
  return arguments.length ? (n = +E, U()) : n;
3746
3746
  }, T.translate = function(E) {
@@ -3756,7 +3756,7 @@ function Cm(e) {
3756
3756
  }, T.reflectY = function(E) {
3757
3757
  return arguments.length ? (f = E ? -1 : 1, U()) : f < 0;
3758
3758
  }, T.precision = function(E) {
3759
- return arguments.length ? (S = Gh(M, w = E * E), B()) : Ne(w);
3759
+ return arguments.length ? (S = Gh(M, _ = E * E), B()) : Ne(_);
3760
3760
  }, T.fitExtent = function(E, $) {
3761
3761
  return Mm(T, E, $);
3762
3762
  }, T.fitSize = function(E, $) {
@@ -3768,7 +3768,7 @@ function Cm(e) {
3768
3768
  };
3769
3769
  function U() {
3770
3770
  var E = jh(n, 0, 0, h, f, d).apply(null, t(s, a)), $ = jh(n, r - E[0], i - E[1], h, f, d);
3771
- return u = dm(o, l, c), M = Al(t, $), R = Al(u, M), S = Gh(M, w), B();
3771
+ return u = dm(o, l, c), M = Al(t, $), R = Al(u, M), S = Gh(M, _), B();
3772
3772
  }
3773
3773
  function B() {
3774
3774
  return D = L = null, T;
@@ -3794,7 +3794,7 @@ function HE(e) {
3794
3794
  }
3795
3795
  function VE(e, t) {
3796
3796
  var n = yt(e), r = (n + yt(t)) / 2;
3797
- if (_t(r) < wt)
3797
+ if (wt(r) < _t)
3798
3798
  return HE(e);
3799
3799
  var i = 1 + n * (2 * r - n), s = Ne(i) / r;
3800
3800
  function a(o, l) {
@@ -3802,7 +3802,7 @@ function VE(e, t) {
3802
3802
  return [c * yt(o *= r), s - c * St(o)];
3803
3803
  }
3804
3804
  return a.invert = function(o, l) {
3805
- var c = s - l, u = Jn(o, _t(c)) * Dn(c);
3805
+ var c = s - l, u = Jn(o, wt(c)) * Dn(c);
3806
3806
  return c * r < 0 && (u -= ut * Dn(o) * Dn(c)), [u / r, xn((i - (o * o + c * c) * r * r) / (2 * r))];
3807
3807
  }, a;
3808
3808
  }
@@ -3847,14 +3847,14 @@ function jE() {
3847
3847
  }
3848
3848
  function WE(e, t) {
3849
3849
  var n = St(e), r = e === t ? yt(e) : (n - St(t)) / (t - e), i = n / r + e;
3850
- if (_t(r) < wt)
3850
+ if (wt(r) < _t)
3851
3851
  return ya;
3852
3852
  function s(a, o) {
3853
3853
  var l = i - o, c = r * a;
3854
3854
  return [l * yt(c), i - l * St(c)];
3855
3855
  }
3856
3856
  return s.invert = function(a, o) {
3857
- var l = i - o, c = Jn(a, _t(l)) * Dn(l);
3857
+ var l = i - o, c = Jn(a, wt(l)) * Dn(l);
3858
3858
  return l * r < 0 && (c -= ut * Dn(a) * Dn(l)), [c / r, i - Dn(r) * Ne(a * a + l * l)];
3859
3859
  }, s;
3860
3860
  }
@@ -3870,7 +3870,7 @@ function Lm(e, t) {
3870
3870
  ];
3871
3871
  }
3872
3872
  Lm.invert = function(e, t) {
3873
- for (var n = t, r = n * n, i = r * r * r, s = 0, a, o, l; s < YE && (o = n * ($i + Li * r + i * (Di + ki * r)) - t, l = $i + 3 * Li * r + i * (7 * Di + 9 * ki * r), n -= a = o / l, r = n * n, i = r * r * r, !(_t(a) < um)); ++s)
3873
+ for (var n = t, r = n * n, i = r * r * r, s = 0, a, o, l; s < YE && (o = n * ($i + Li * r + i * (Di + ki * r)) - t, l = $i + 3 * Li * r + i * (7 * Di + 9 * ki * r), n -= a = o / l, r = n * n, i = r * r * r, !(wt(a) < um)); ++s)
3874
3874
  ;
3875
3875
  return [
3876
3876
  xa * e * ($i + 3 * Li * r + i * (7 * Di + 9 * ki * r)) / St(n),
@@ -3892,7 +3892,7 @@ Dm.invert = function(e, t) {
3892
3892
  do {
3893
3893
  var s = n * n, a = s * s;
3894
3894
  n -= i = (n * (1.007226 + s * (0.015085 + a * (-0.044475 + 0.028874 * s - 5916e-6 * a))) - t) / (1.007226 + s * (0.015085 * 3 + a * (-0.044475 * 7 + 0.028874 * 9 * s - 5916e-6 * 11 * a)));
3895
- } while (_t(i) > wt && --r > 0);
3895
+ } while (wt(i) > _t && --r > 0);
3896
3896
  return [
3897
3897
  e / (0.8707 + (s = n * n) * (-0.131979 + s * (-0.013791 + s * s * s * (3971e-6 - 1529e-6 * s)))),
3898
3898
  n
@@ -3910,31 +3910,31 @@ function QE(e) {
3910
3910
  function JE(e, t) {
3911
3911
  return e + t.x;
3912
3912
  }
3913
- function tw(e) {
3914
- return 1 + e.reduce(ew, 0);
3913
+ function t_(e) {
3914
+ return 1 + e.reduce(e_, 0);
3915
3915
  }
3916
- function ew(e, t) {
3916
+ function e_(e, t) {
3917
3917
  return Math.max(e, t.y);
3918
3918
  }
3919
- function nw(e) {
3919
+ function n_(e) {
3920
3920
  for (var t; t = e.children; )
3921
3921
  e = t[0];
3922
3922
  return e;
3923
3923
  }
3924
- function rw(e) {
3924
+ function r_(e) {
3925
3925
  for (var t; t = e.children; )
3926
3926
  e = t[t.length - 1];
3927
3927
  return e;
3928
3928
  }
3929
- function iw() {
3929
+ function i_() {
3930
3930
  var e = KE, t = 1, n = 1, r = !1;
3931
3931
  function i(s) {
3932
3932
  var a, o = 0;
3933
3933
  s.eachAfter(function(h) {
3934
3934
  var f = h.children;
3935
- f ? (h.x = QE(f), h.y = tw(f)) : (h.x = a ? o += e(h, a) : 0, h.y = 0, a = h);
3935
+ f ? (h.x = QE(f), h.y = t_(f)) : (h.x = a ? o += e(h, a) : 0, h.y = 0, a = h);
3936
3936
  });
3937
- var l = nw(s), c = rw(s), u = l.x - e(l, c) / 2, d = c.x + e(c, l) / 2;
3937
+ var l = n_(s), c = r_(s), u = l.x - e(l, c) / 2, d = c.x + e(c, l) / 2;
3938
3938
  return s.eachAfter(r ? function(h) {
3939
3939
  h.x = (h.x - s.x) * t, h.y = (s.y - h.y) * n;
3940
3940
  } : function(h) {
@@ -3949,7 +3949,7 @@ function iw() {
3949
3949
  return arguments.length ? (r = !0, t = +s[0], n = +s[1], i) : r ? [t, n] : null;
3950
3950
  }, i;
3951
3951
  }
3952
- function sw(e) {
3952
+ function s_(e) {
3953
3953
  var t = 0, n = e.children, r = n && n.length;
3954
3954
  if (!r)
3955
3955
  t = 1;
@@ -3958,23 +3958,23 @@ function sw(e) {
3958
3958
  t += n[r].value;
3959
3959
  e.value = t;
3960
3960
  }
3961
- function aw() {
3962
- return this.eachAfter(sw);
3961
+ function a_() {
3962
+ return this.eachAfter(s_);
3963
3963
  }
3964
- function ow(e, t) {
3964
+ function o_(e, t) {
3965
3965
  let n = -1;
3966
3966
  for (const r of this)
3967
3967
  e.call(t, r, ++n, this);
3968
3968
  return this;
3969
3969
  }
3970
- function lw(e, t) {
3970
+ function l_(e, t) {
3971
3971
  for (var n = this, r = [n], i, s, a = -1; n = r.pop(); )
3972
3972
  if (e.call(t, n, ++a, this), i = n.children)
3973
3973
  for (s = i.length - 1; s >= 0; --s)
3974
3974
  r.push(i[s]);
3975
3975
  return this;
3976
3976
  }
3977
- function cw(e, t) {
3977
+ function c_(e, t) {
3978
3978
  for (var n = this, r = [n], i = [], s, a, o, l = -1; n = r.pop(); )
3979
3979
  if (i.push(n), s = n.children)
3980
3980
  for (a = 0, o = s.length; a < o; ++a)
@@ -3983,32 +3983,32 @@ function cw(e, t) {
3983
3983
  e.call(t, n, ++l, this);
3984
3984
  return this;
3985
3985
  }
3986
- function uw(e, t) {
3986
+ function u_(e, t) {
3987
3987
  let n = -1;
3988
3988
  for (const r of this)
3989
3989
  if (e.call(t, r, ++n, this))
3990
3990
  return r;
3991
3991
  }
3992
- function hw(e) {
3992
+ function h_(e) {
3993
3993
  return this.eachAfter(function(t) {
3994
3994
  for (var n = +e(t.data) || 0, r = t.children, i = r && r.length; --i >= 0; )
3995
3995
  n += r[i].value;
3996
3996
  t.value = n;
3997
3997
  });
3998
3998
  }
3999
- function dw(e) {
3999
+ function d_(e) {
4000
4000
  return this.eachBefore(function(t) {
4001
4001
  t.children && t.children.sort(e);
4002
4002
  });
4003
4003
  }
4004
- function fw(e) {
4005
- for (var t = this, n = pw(t, e), r = [t]; t !== n; )
4004
+ function f_(e) {
4005
+ for (var t = this, n = p_(t, e), r = [t]; t !== n; )
4006
4006
  t = t.parent, r.push(t);
4007
4007
  for (var i = r.length; e !== n; )
4008
4008
  r.splice(i, 0, e), e = e.parent;
4009
4009
  return r;
4010
4010
  }
4011
- function pw(e, t) {
4011
+ function p_(e, t) {
4012
4012
  if (e === t)
4013
4013
  return e;
4014
4014
  var n = e.ancestors(), r = t.ancestors(), i = null;
@@ -4016,27 +4016,27 @@ function pw(e, t) {
4016
4016
  i = e, e = n.pop(), t = r.pop();
4017
4017
  return i;
4018
4018
  }
4019
- function mw() {
4019
+ function m_() {
4020
4020
  for (var e = this, t = [e]; e = e.parent; )
4021
4021
  t.push(e);
4022
4022
  return t;
4023
4023
  }
4024
- function gw() {
4024
+ function g_() {
4025
4025
  return Array.from(this);
4026
4026
  }
4027
- function vw() {
4027
+ function v_() {
4028
4028
  var e = [];
4029
4029
  return this.eachBefore(function(t) {
4030
4030
  t.children || e.push(t);
4031
4031
  }), e;
4032
4032
  }
4033
- function yw() {
4033
+ function y_() {
4034
4034
  var e = this, t = [];
4035
4035
  return e.each(function(n) {
4036
4036
  n !== e && t.push({ source: n.parent, target: n });
4037
4037
  }), t;
4038
4038
  }
4039
- function* xw() {
4039
+ function* x_() {
4040
4040
  var e = this, t, n = [e], r, i, s;
4041
4041
  do
4042
4042
  for (t = n.reverse(), n = []; e = t.pop(); )
@@ -4046,26 +4046,26 @@ function* xw() {
4046
4046
  while (n.length);
4047
4047
  }
4048
4048
  function es(e, t) {
4049
- e instanceof Map ? (e = [void 0, e], t === void 0 && (t = ww)) : t === void 0 && (t = Ew);
4049
+ e instanceof Map ? (e = [void 0, e], t === void 0 && (t = __)) : t === void 0 && (t = E_);
4050
4050
  for (var n = new zi(e), r, i = [n], s, a, o, l; r = i.pop(); )
4051
4051
  if ((a = t(r.data)) && (l = (a = Array.from(a)).length))
4052
4052
  for (r.children = a, o = l - 1; o >= 0; --o)
4053
4053
  i.push(s = a[o] = new zi(a[o])), s.parent = r, s.depth = r.depth + 1;
4054
- return n.eachBefore(Sw);
4054
+ return n.eachBefore(S_);
4055
4055
  }
4056
- function bw() {
4057
- return es(this).eachBefore(_w);
4056
+ function b_() {
4057
+ return es(this).eachBefore(w_);
4058
4058
  }
4059
- function Ew(e) {
4059
+ function E_(e) {
4060
4060
  return e.children;
4061
4061
  }
4062
- function ww(e) {
4062
+ function __(e) {
4063
4063
  return Array.isArray(e) ? e[1] : null;
4064
4064
  }
4065
- function _w(e) {
4065
+ function w_(e) {
4066
4066
  e.data.value !== void 0 && (e.value = e.data.value), e.data = e.data.data;
4067
4067
  }
4068
- function Sw(e) {
4068
+ function S_(e) {
4069
4069
  var t = 0;
4070
4070
  do
4071
4071
  e.height = t;
@@ -4076,22 +4076,22 @@ function zi(e) {
4076
4076
  }
4077
4077
  zi.prototype = es.prototype = {
4078
4078
  constructor: zi,
4079
- count: aw,
4080
- each: ow,
4081
- eachAfter: cw,
4082
- eachBefore: lw,
4083
- find: uw,
4084
- sum: hw,
4085
- sort: dw,
4086
- path: fw,
4087
- ancestors: mw,
4088
- descendants: gw,
4089
- leaves: vw,
4090
- links: yw,
4091
- copy: bw,
4092
- [Symbol.iterator]: xw
4079
+ count: a_,
4080
+ each: o_,
4081
+ eachAfter: c_,
4082
+ eachBefore: l_,
4083
+ find: u_,
4084
+ sum: h_,
4085
+ sort: d_,
4086
+ path: f_,
4087
+ ancestors: m_,
4088
+ descendants: g_,
4089
+ leaves: v_,
4090
+ links: y_,
4091
+ copy: b_,
4092
+ [Symbol.iterator]: x_
4093
4093
  };
4094
- function Ow(e) {
4094
+ function O_(e) {
4095
4095
  return e == null ? null : km(e);
4096
4096
  }
4097
4097
  function km(e) {
@@ -4107,39 +4107,39 @@ function Sr(e) {
4107
4107
  return e;
4108
4108
  };
4109
4109
  }
4110
- const Tw = 1664525, Mw = 1013904223, Wh = 4294967296;
4111
- function Cw() {
4110
+ const T_ = 1664525, M_ = 1013904223, Wh = 4294967296;
4111
+ function C_() {
4112
4112
  let e = 1;
4113
- return () => (e = (Tw * e + Mw) % Wh) / Wh;
4113
+ return () => (e = (T_ * e + M_) % Wh) / Wh;
4114
4114
  }
4115
- function Aw(e) {
4115
+ function A_(e) {
4116
4116
  return typeof e == "object" && "length" in e ? e : Array.from(e);
4117
4117
  }
4118
- function $w(e, t) {
4118
+ function $_(e, t) {
4119
4119
  let n = e.length, r, i;
4120
4120
  for (; n; )
4121
4121
  i = t() * n-- | 0, r = e[n], e[n] = e[i], e[i] = r;
4122
4122
  return e;
4123
4123
  }
4124
- function Lw(e, t) {
4125
- for (var n = 0, r = (e = $w(Array.from(e), t)).length, i = [], s, a; n < r; )
4126
- s = e[n], a && Rm(a, s) ? ++n : (a = kw(i = Dw(i, s)), n = 0);
4124
+ function L_(e, t) {
4125
+ for (var n = 0, r = (e = $_(Array.from(e), t)).length, i = [], s, a; n < r; )
4126
+ s = e[n], a && Rm(a, s) ? ++n : (a = k_(i = D_(i, s)), n = 0);
4127
4127
  return a;
4128
4128
  }
4129
- function Dw(e, t) {
4129
+ function D_(e, t) {
4130
4130
  var n, r;
4131
4131
  if (Io(t, e))
4132
4132
  return [t];
4133
4133
  for (n = 0; n < e.length; ++n)
4134
- if (ws(t, e[n]) && Io(wi(e[n], t), e))
4134
+ if (_s(t, e[n]) && Io(_i(e[n], t), e))
4135
4135
  return [e[n], t];
4136
4136
  for (n = 0; n < e.length - 1; ++n)
4137
4137
  for (r = n + 1; r < e.length; ++r)
4138
- if (ws(wi(e[n], e[r]), t) && ws(wi(e[n], t), e[r]) && ws(wi(e[r], t), e[n]) && Io(Im(e[n], e[r], t), e))
4138
+ if (_s(_i(e[n], e[r]), t) && _s(_i(e[n], t), e[r]) && _s(_i(e[r], t), e[n]) && Io(Im(e[n], e[r], t), e))
4139
4139
  return [e[n], e[r], t];
4140
4140
  throw new Error();
4141
4141
  }
4142
- function ws(e, t) {
4142
+ function _s(e, t) {
4143
4143
  var n = e.r - t.r, r = t.x - e.x, i = t.y - e.y;
4144
4144
  return n < 0 || n * n < r * r + i * i;
4145
4145
  }
@@ -4153,24 +4153,24 @@ function Io(e, t) {
4153
4153
  return !1;
4154
4154
  return !0;
4155
4155
  }
4156
- function kw(e) {
4156
+ function k_(e) {
4157
4157
  switch (e.length) {
4158
4158
  case 1:
4159
- return Rw(e[0]);
4159
+ return R_(e[0]);
4160
4160
  case 2:
4161
- return wi(e[0], e[1]);
4161
+ return _i(e[0], e[1]);
4162
4162
  case 3:
4163
4163
  return Im(e[0], e[1], e[2]);
4164
4164
  }
4165
4165
  }
4166
- function Rw(e) {
4166
+ function R_(e) {
4167
4167
  return {
4168
4168
  x: e.x,
4169
4169
  y: e.y,
4170
4170
  r: e.r
4171
4171
  };
4172
4172
  }
4173
- function wi(e, t) {
4173
+ function _i(e, t) {
4174
4174
  var n = e.x, r = e.y, i = e.r, s = t.x, a = t.y, o = t.r, l = s - n, c = a - r, u = o - i, d = Math.sqrt(l * l + c * c);
4175
4175
  return {
4176
4176
  x: (n + s + l / d * u) / 2,
@@ -4179,7 +4179,7 @@ function wi(e, t) {
4179
4179
  };
4180
4180
  }
4181
4181
  function Im(e, t, n) {
4182
- var r = e.x, i = e.y, s = e.r, a = t.x, o = t.y, l = t.r, c = n.x, u = n.y, d = n.r, h = r - a, f = r - c, p = i - o, g = i - u, m = l - s, y = d - s, v = r * r + i * i - s * s, b = v - a * a - o * o + l * l, _ = v - c * c - u * u + d * d, w = f * p - h * g, S = (p * _ - g * b) / (w * 2) - r, M = (g * m - p * y) / w, R = (f * b - h * _) / (w * 2) - i, D = (h * y - f * m) / w, L = M * M + D * D - 1, T = 2 * (s + S * M + R * D), H = S * S + R * R - s * s, U = -(Math.abs(L) > 1e-6 ? (T + Math.sqrt(T * T - 4 * L * H)) / (2 * L) : H / T);
4182
+ var r = e.x, i = e.y, s = e.r, a = t.x, o = t.y, l = t.r, c = n.x, u = n.y, d = n.r, h = r - a, f = r - c, p = i - o, g = i - u, m = l - s, y = d - s, v = r * r + i * i - s * s, b = v - a * a - o * o + l * l, w = v - c * c - u * u + d * d, _ = f * p - h * g, S = (p * w - g * b) / (_ * 2) - r, M = (g * m - p * y) / _, R = (f * b - h * w) / (_ * 2) - i, D = (h * y - f * m) / _, L = M * M + D * D - 1, T = 2 * (s + S * M + R * D), H = S * S + R * R - s * s, U = -(Math.abs(L) > 1e-6 ? (T + Math.sqrt(T * T - 4 * L * H)) / (2 * L) : H / T);
4183
4183
  return {
4184
4184
  x: r + S + M * U,
4185
4185
  y: i + R + D * U,
@@ -4198,21 +4198,21 @@ function Xh(e) {
4198
4198
  var t = e._, n = e.next._, r = t.r + n.r, i = (t.x * n.r + n.x * t.r) / r, s = (t.y * n.r + n.y * t.r) / r;
4199
4199
  return i * i + s * s;
4200
4200
  }
4201
- function _s(e) {
4201
+ function ws(e) {
4202
4202
  this._ = e, this.next = null, this.previous = null;
4203
4203
  }
4204
- function Iw(e, t) {
4205
- if (!(s = (e = Aw(e)).length))
4204
+ function I_(e, t) {
4205
+ if (!(s = (e = A_(e)).length))
4206
4206
  return 0;
4207
4207
  var n, r, i, s, a, o, l, c, u, d, h;
4208
4208
  if (n = e[0], n.x = 0, n.y = 0, !(s > 1))
4209
4209
  return n.r;
4210
4210
  if (r = e[1], n.x = -r.r, r.x = n.r, r.y = 0, !(s > 2))
4211
4211
  return n.r + r.r;
4212
- qh(r, n, i = e[2]), n = new _s(n), r = new _s(r), i = new _s(i), n.next = i.previous = r, r.next = n.previous = i, i.next = r.previous = n;
4212
+ qh(r, n, i = e[2]), n = new ws(n), r = new ws(r), i = new ws(i), n.next = i.previous = r, r.next = n.previous = i, i.next = r.previous = n;
4213
4213
  t:
4214
4214
  for (l = 3; l < s; ++l) {
4215
- qh(n._, r._, i = e[l]), i = new _s(i), c = r.next, u = n.previous, d = r._.r, h = n._.r;
4215
+ qh(n._, r._, i = e[l]), i = new ws(i), c = r.next, u = n.previous, d = r._.r, h = n._.r;
4216
4216
  do
4217
4217
  if (d <= h) {
4218
4218
  if (Yh(c._, i._)) {
@@ -4234,21 +4234,21 @@ function Iw(e, t) {
4234
4234
  }
4235
4235
  for (n = [r._], i = r; (i = i.next) !== r; )
4236
4236
  n.push(i._);
4237
- for (i = Lw(n, t), l = 0; l < s; ++l)
4237
+ for (i = L_(n, t), l = 0; l < s; ++l)
4238
4238
  n = e[l], n.x -= i.x, n.y -= i.y;
4239
4239
  return i.r;
4240
4240
  }
4241
- function Nw(e) {
4241
+ function N_(e) {
4242
4242
  return Math.sqrt(e.value);
4243
4243
  }
4244
- function Pw() {
4244
+ function P_() {
4245
4245
  var e = null, t = 1, n = 1, r = jn;
4246
4246
  function i(s) {
4247
- const a = Cw();
4248
- return s.x = t / 2, s.y = n / 2, e ? s.eachBefore(Zh(e)).eachAfter(No(r, 0.5, a)).eachBefore(Kh(1)) : s.eachBefore(Zh(Nw)).eachAfter(No(jn, 1, a)).eachAfter(No(r, s.r / Math.min(t, n), a)).eachBefore(Kh(Math.min(t, n) / (2 * s.r))), s;
4247
+ const a = C_();
4248
+ return s.x = t / 2, s.y = n / 2, e ? s.eachBefore(Zh(e)).eachAfter(No(r, 0.5, a)).eachBefore(Kh(1)) : s.eachBefore(Zh(N_)).eachAfter(No(jn, 1, a)).eachAfter(No(r, s.r / Math.min(t, n), a)).eachBefore(Kh(Math.min(t, n) / (2 * s.r))), s;
4249
4249
  }
4250
4250
  return i.radius = function(s) {
4251
- return arguments.length ? (e = Ow(s), i) : e;
4251
+ return arguments.length ? (e = O_(s), i) : e;
4252
4252
  }, i.size = function(s) {
4253
4253
  return arguments.length ? (t = +s[0], n = +s[1], i) : [t, n];
4254
4254
  }, i.padding = function(s) {
@@ -4267,7 +4267,7 @@ function No(e, t, n) {
4267
4267
  if (o)
4268
4268
  for (s = 0; s < a; ++s)
4269
4269
  i[s].r += o;
4270
- if (l = Iw(i, n), o)
4270
+ if (l = I_(i, n), o)
4271
4271
  for (s = 0; s < a; ++s)
4272
4272
  i[s].r -= o;
4273
4273
  r.r = l + o;
@@ -4280,14 +4280,14 @@ function Kh(e) {
4280
4280
  t.r *= e, n && (t.x = n.x + e * t.x, t.y = n.y + e * t.y);
4281
4281
  };
4282
4282
  }
4283
- function Uw(e) {
4283
+ function U_(e) {
4284
4284
  e.x0 = Math.round(e.x0), e.y0 = Math.round(e.y0), e.x1 = Math.round(e.x1), e.y1 = Math.round(e.y1);
4285
4285
  }
4286
- function Bw(e, t, n, r, i) {
4286
+ function B_(e, t, n, r, i) {
4287
4287
  for (var s = e.children, a, o = -1, l = s.length, c = e.value && (r - t) / e.value; ++o < l; )
4288
4288
  a = s[o], a.y0 = n, a.y1 = i, a.x0 = t, a.x1 = t += a.value * c;
4289
4289
  }
4290
- function Hw(e, t) {
4290
+ function H_(e, t) {
4291
4291
  return e.parent === t.parent ? 1 : 2;
4292
4292
  }
4293
4293
  function Po(e) {
@@ -4298,32 +4298,32 @@ function Uo(e) {
4298
4298
  var t = e.children;
4299
4299
  return t ? t[t.length - 1] : e.t;
4300
4300
  }
4301
- function Vw(e, t, n) {
4301
+ function V_(e, t, n) {
4302
4302
  var r = n / (t.i - e.i);
4303
4303
  t.c -= r, t.s += n, e.c += r, t.z += n, t.m += n;
4304
4304
  }
4305
- function Fw(e) {
4305
+ function F_(e) {
4306
4306
  for (var t = 0, n = 0, r = e.children, i = r.length, s; --i >= 0; )
4307
4307
  s = r[i], s.z += t, s.m += t, t += s.s + (n += s.c);
4308
4308
  }
4309
- function zw(e, t, n) {
4309
+ function z_(e, t, n) {
4310
4310
  return e.a.parent === t.parent ? e.a : n;
4311
4311
  }
4312
4312
  function Gs(e, t) {
4313
4313
  this._ = e, this.parent = null, this.children = null, this.A = null, this.a = this, this.z = 0, this.m = 0, this.c = 0, this.s = 0, this.t = null, this.i = t;
4314
4314
  }
4315
4315
  Gs.prototype = Object.create(zi.prototype);
4316
- function Gw(e) {
4316
+ function G_(e) {
4317
4317
  for (var t = new Gs(e, 0), n, r = [t], i, s, a, o; n = r.pop(); )
4318
4318
  if (s = n._.children)
4319
4319
  for (n.children = new Array(o = s.length), a = o - 1; a >= 0; --a)
4320
4320
  r.push(i = n.children[a] = new Gs(s[a], a)), i.parent = n;
4321
4321
  return (t.parent = new Gs(null, 0)).children = [t], t;
4322
4322
  }
4323
- function jw() {
4324
- var e = Hw, t = 1, n = 1, r = null;
4323
+ function j_() {
4324
+ var e = H_, t = 1, n = 1, r = null;
4325
4325
  function i(c) {
4326
- var u = Gw(c);
4326
+ var u = G_(c);
4327
4327
  if (u.eachAfter(s), u.parent.m = -u.z, u.eachBefore(a), r)
4328
4328
  c.eachBefore(l);
4329
4329
  else {
@@ -4341,7 +4341,7 @@ function jw() {
4341
4341
  function s(c) {
4342
4342
  var u = c.children, d = c.parent.children, h = c.i ? d[c.i - 1] : null;
4343
4343
  if (u) {
4344
- Fw(c);
4344
+ F_(c);
4345
4345
  var f = (u[0].z + u[u.length - 1].z) / 2;
4346
4346
  h ? (c.z = h.z + e(c._, h._), c.m = c.z - f) : c.z = f;
4347
4347
  } else
@@ -4353,8 +4353,8 @@ function jw() {
4353
4353
  }
4354
4354
  function o(c, u, d) {
4355
4355
  if (u) {
4356
- for (var h = c, f = c, p = u, g = h.parent.children[0], m = h.m, y = f.m, v = p.m, b = g.m, _; p = Uo(p), h = Po(h), p && h; )
4357
- g = Po(g), f = Uo(f), f.a = c, _ = p.z + v - h.z - m + e(p._, h._), _ > 0 && (Vw(zw(p, c, d), c, _), m += _, y += _), v += p.m, m += h.m, b += g.m, y += f.m;
4356
+ for (var h = c, f = c, p = u, g = h.parent.children[0], m = h.m, y = f.m, v = p.m, b = g.m, w; p = Uo(p), h = Po(h), p && h; )
4357
+ g = Po(g), f = Uo(f), f.a = c, w = p.z + v - h.z - m + e(p._, h._), w > 0 && (V_(z_(p, c, d), c, w), m += w, y += w), v += p.m, m += h.m, b += g.m, y += f.m;
4358
4358
  p && !Uo(f) && (f.t = p, f.m += v - y), h && !Po(g) && (g.t = h, g.m += m - b, d = c);
4359
4359
  }
4360
4360
  return d;
@@ -4370,40 +4370,40 @@ function jw() {
4370
4370
  return arguments.length ? (r = !0, t = +c[0], n = +c[1], i) : r ? [t, n] : null;
4371
4371
  }, i;
4372
4372
  }
4373
- function Ww(e, t, n, r, i) {
4373
+ function W_(e, t, n, r, i) {
4374
4374
  for (var s = e.children, a, o = -1, l = s.length, c = e.value && (i - n) / e.value; ++o < l; )
4375
4375
  a = s[o], a.x0 = t, a.x1 = r, a.y0 = n, a.y1 = n += a.value * c;
4376
4376
  }
4377
- var qw = (1 + Math.sqrt(5)) / 2;
4378
- function Yw(e, t, n, r, i, s) {
4379
- for (var a = [], o = t.children, l, c, u = 0, d = 0, h = o.length, f, p, g = t.value, m, y, v, b, _, w, S; u < h; ) {
4377
+ var q_ = (1 + Math.sqrt(5)) / 2;
4378
+ function Y_(e, t, n, r, i, s) {
4379
+ for (var a = [], o = t.children, l, c, u = 0, d = 0, h = o.length, f, p, g = t.value, m, y, v, b, w, _, S; u < h; ) {
4380
4380
  f = i - n, p = s - r;
4381
4381
  do
4382
4382
  m = o[d++].value;
4383
4383
  while (!m && d < h);
4384
- for (y = v = m, w = Math.max(p / f, f / p) / (g * e), S = m * m * w, _ = Math.max(v / S, S / y); d < h; ++d) {
4385
- if (m += c = o[d].value, c < y && (y = c), c > v && (v = c), S = m * m * w, b = Math.max(v / S, S / y), b > _) {
4384
+ for (y = v = m, _ = Math.max(p / f, f / p) / (g * e), S = m * m * _, w = Math.max(v / S, S / y); d < h; ++d) {
4385
+ if (m += c = o[d].value, c < y && (y = c), c > v && (v = c), S = m * m * _, b = Math.max(v / S, S / y), b > w) {
4386
4386
  m -= c;
4387
4387
  break;
4388
4388
  }
4389
- _ = b;
4389
+ w = b;
4390
4390
  }
4391
- a.push(l = { value: m, dice: f < p, children: o.slice(u, d) }), l.dice ? Bw(l, n, r, i, g ? r += p * m / g : s) : Ww(l, n, r, g ? n += f * m / g : i, s), g -= m, u = d;
4391
+ a.push(l = { value: m, dice: f < p, children: o.slice(u, d) }), l.dice ? B_(l, n, r, i, g ? r += p * m / g : s) : W_(l, n, r, g ? n += f * m / g : i, s), g -= m, u = d;
4392
4392
  }
4393
4393
  return a;
4394
4394
  }
4395
- const Xw = function e(t) {
4395
+ const X_ = function e(t) {
4396
4396
  function n(r, i, s, a, o) {
4397
- Yw(t, r, i, s, a, o);
4397
+ Y_(t, r, i, s, a, o);
4398
4398
  }
4399
4399
  return n.ratio = function(r) {
4400
4400
  return e((r = +r) > 1 ? r : 1);
4401
4401
  }, n;
4402
- }(qw);
4403
- function Zw() {
4404
- var e = Xw, t = !1, n = 1, r = 1, i = [0], s = jn, a = jn, o = jn, l = jn, c = jn;
4402
+ }(q_);
4403
+ function Z_() {
4404
+ var e = X_, t = !1, n = 1, r = 1, i = [0], s = jn, a = jn, o = jn, l = jn, c = jn;
4405
4405
  function u(h) {
4406
- return h.x0 = h.y0 = 0, h.x1 = n, h.y1 = r, h.eachBefore(d), i = [0], t && h.eachBefore(Uw), h;
4406
+ return h.x0 = h.y0 = 0, h.x1 = n, h.y1 = r, h.eachBefore(d), i = [0], t && h.eachBefore(U_), h;
4407
4407
  }
4408
4408
  function d(h) {
4409
4409
  var f = i[h.depth], p = h.x0 + f, g = h.y0 + f, m = h.x1 - f, y = h.y1 - f;
@@ -4506,12 +4506,12 @@ function ns() {
4506
4506
  return ns(t(), [r, i]).round(o).paddingInner(l).paddingOuter(c).align(u);
4507
4507
  }, Qr.apply(d(), arguments);
4508
4508
  }
4509
- function Kw(e) {
4509
+ function K_(e) {
4510
4510
  return function() {
4511
4511
  return e;
4512
4512
  };
4513
4513
  }
4514
- function Qw(e) {
4514
+ function Q_(e) {
4515
4515
  return +e;
4516
4516
  }
4517
4517
  var Jh = [0, 1];
@@ -4521,21 +4521,21 @@ function $r(e) {
4521
4521
  function Vl(e, t) {
4522
4522
  return (t -= e = +e) ? function(n) {
4523
4523
  return (n - e) / t;
4524
- } : Kw(isNaN(t) ? NaN : 0.5);
4524
+ } : K_(isNaN(t) ? NaN : 0.5);
4525
4525
  }
4526
- function Jw(e, t) {
4526
+ function J_(e, t) {
4527
4527
  var n;
4528
4528
  return e > t && (n = e, e = t, t = n), function(r) {
4529
4529
  return Math.max(e, Math.min(t, r));
4530
4530
  };
4531
4531
  }
4532
- function t_(e, t, n) {
4532
+ function tw(e, t, n) {
4533
4533
  var r = e[0], i = e[1], s = t[0], a = t[1];
4534
4534
  return i < r ? (r = Vl(i, r), s = n(a, s)) : (r = Vl(r, i), s = n(s, a)), function(o) {
4535
4535
  return s(r(o));
4536
4536
  };
4537
4537
  }
4538
- function e_(e, t, n) {
4538
+ function ew(e, t, n) {
4539
4539
  var r = Math.min(e.length, t.length) - 1, i = new Array(r), s = new Array(r), a = -1;
4540
4540
  for (e[r] < e[0] && (e = e.slice().reverse(), t = t.slice().reverse()); ++a < r; )
4541
4541
  i[a] = Vl(e[a], e[a + 1]), s[a] = n(t[a], t[a + 1]);
@@ -4551,7 +4551,7 @@ function Nm() {
4551
4551
  var e = Jh, t = Jh, n = ts, r, i, s, a = $r, o, l, c;
4552
4552
  function u() {
4553
4553
  var h = Math.min(e.length, t.length);
4554
- return a !== $r && (a = Jw(e[0], e[h - 1])), o = h > 2 ? e_ : t_, l = c = null, d;
4554
+ return a !== $r && (a = J_(e[0], e[h - 1])), o = h > 2 ? ew : tw, l = c = null, d;
4555
4555
  }
4556
4556
  function d(h) {
4557
4557
  return h == null || isNaN(h = +h) ? s : (l || (l = o(e.map(r), t, n)))(r(a(h)));
@@ -4559,7 +4559,7 @@ function Nm() {
4559
4559
  return d.invert = function(h) {
4560
4560
  return a(i((c || (c = o(t, e.map(r), ge)))(h)));
4561
4561
  }, d.domain = function(h) {
4562
- return arguments.length ? (e = Array.from(h, Qw), u()) : e.slice();
4562
+ return arguments.length ? (e = Array.from(h, Q_), u()) : e.slice();
4563
4563
  }, d.range = function(h) {
4564
4564
  return arguments.length ? (t = Array.from(h), u()) : t.slice();
4565
4565
  }, d.rangeRound = function(h) {
@@ -4577,7 +4577,7 @@ function Nm() {
4577
4577
  function Pm() {
4578
4578
  return Nm()($r, $r);
4579
4579
  }
4580
- function n_(e, t, n, r) {
4580
+ function nw(e, t, n, r) {
4581
4581
  var i = dl(e, t, n), s;
4582
4582
  switch (r = Vi(r ?? ",f"), r.type) {
4583
4583
  case "s": {
@@ -4607,7 +4607,7 @@ function Um(e) {
4607
4607
  return Js(r[0], r[r.length - 1], n ?? 10);
4608
4608
  }, e.tickFormat = function(n, r) {
4609
4609
  var i = t();
4610
- return n_(i[0], i[i.length - 1], n ?? 10, r);
4610
+ return nw(i[0], i[i.length - 1], n ?? 10, r);
4611
4611
  }, e.nice = function(n) {
4612
4612
  n == null && (n = 10);
4613
4613
  var r = t(), i = 0, s = r.length - 1, a = r[i], o = r[s], l, c, u = 10;
@@ -4642,29 +4642,29 @@ function td(e) {
4642
4642
  function ed(e) {
4643
4643
  return Math.exp(e);
4644
4644
  }
4645
- function r_(e) {
4645
+ function rw(e) {
4646
4646
  return -Math.log(-e);
4647
4647
  }
4648
- function i_(e) {
4648
+ function iw(e) {
4649
4649
  return -Math.exp(-e);
4650
4650
  }
4651
- function s_(e) {
4651
+ function sw(e) {
4652
4652
  return isFinite(e) ? +("1e" + e) : e < 0 ? 0 : e;
4653
4653
  }
4654
- function a_(e) {
4655
- return e === 10 ? s_ : e === Math.E ? Math.exp : (t) => Math.pow(e, t);
4654
+ function aw(e) {
4655
+ return e === 10 ? sw : e === Math.E ? Math.exp : (t) => Math.pow(e, t);
4656
4656
  }
4657
- function o_(e) {
4657
+ function ow(e) {
4658
4658
  return e === Math.E ? Math.log : e === 10 && Math.log10 || e === 2 && Math.log2 || (e = Math.log(e), (t) => Math.log(t) / e);
4659
4659
  }
4660
4660
  function nd(e) {
4661
4661
  return (t, n) => -e(-t, n);
4662
4662
  }
4663
- function l_(e) {
4663
+ function lw(e) {
4664
4664
  const t = e(td, ed), n = t.domain;
4665
4665
  let r = 10, i, s;
4666
4666
  function a() {
4667
- return i = o_(r), s = a_(r), n()[0] < 0 ? (i = nd(i), s = nd(s), e(r_, i_)) : e(td, ed), t;
4667
+ return i = ow(r), s = aw(r), n()[0] < 0 ? (i = nd(i), s = nd(s), e(rw, iw)) : e(td, ed), t;
4668
4668
  }
4669
4669
  return t.base = function(o) {
4670
4670
  return arguments.length ? (r = +o, a()) : r;
@@ -4713,7 +4713,7 @@ function l_(e) {
4713
4713
  })), t;
4714
4714
  }
4715
4715
  function Hm() {
4716
- const e = l_(Nm()).domain([1, 10]);
4716
+ const e = lw(Nm()).domain([1, 10]);
4717
4717
  return e.copy = () => zc(e, Hm()).base(e.base()), Qr.apply(e, arguments), e;
4718
4718
  }
4719
4719
  function Gc() {
@@ -4797,24 +4797,24 @@ const Wc = zt((e) => {
4797
4797
  e.setTime(+e + t * Oe);
4798
4798
  }, (e, t) => (t - e) / Oe, (e) => e.getMinutes());
4799
4799
  Wc.range;
4800
- const c_ = zt((e) => {
4800
+ const cw = zt((e) => {
4801
4801
  e.setUTCSeconds(0, 0);
4802
4802
  }, (e, t) => {
4803
4803
  e.setTime(+e + t * Oe);
4804
4804
  }, (e, t) => (t - e) / Oe, (e) => e.getUTCMinutes());
4805
- c_.range;
4805
+ cw.range;
4806
4806
  const qc = zt((e) => {
4807
4807
  e.setTime(e - e.getMilliseconds() - e.getSeconds() * fn - e.getMinutes() * Oe);
4808
4808
  }, (e, t) => {
4809
4809
  e.setTime(+e + t * pn);
4810
4810
  }, (e, t) => (t - e) / pn, (e) => e.getHours());
4811
4811
  qc.range;
4812
- const u_ = zt((e) => {
4812
+ const uw = zt((e) => {
4813
4813
  e.setUTCMinutes(0, 0, 0);
4814
4814
  }, (e, t) => {
4815
4815
  e.setTime(+e + t * pn);
4816
4816
  }, (e, t) => (t - e) / pn, (e) => e.getUTCHours());
4817
- u_.range;
4817
+ uw.range;
4818
4818
  const rs = zt(
4819
4819
  (e) => e.setHours(0, 0, 0, 0),
4820
4820
  (e, t) => e.setDate(e.getDate() + t),
@@ -4828,12 +4828,12 @@ const Yc = zt((e) => {
4828
4828
  e.setUTCDate(e.getUTCDate() + t);
4829
4829
  }, (e, t) => (t - e) / bn, (e) => e.getUTCDate() - 1);
4830
4830
  Yc.range;
4831
- const h_ = zt((e) => {
4831
+ const hw = zt((e) => {
4832
4832
  e.setUTCHours(0, 0, 0, 0);
4833
4833
  }, (e, t) => {
4834
4834
  e.setUTCDate(e.getUTCDate() + t);
4835
4835
  }, (e, t) => (t - e) / bn, (e) => Math.floor(e / bn));
4836
- h_.range;
4836
+ hw.range;
4837
4837
  function ir(e) {
4838
4838
  return zt((t) => {
4839
4839
  t.setDate(t.getDate() - (t.getDay() + 7 - e) % 7), t.setHours(0, 0, 0, 0);
@@ -4841,14 +4841,14 @@ function ir(e) {
4841
4841
  t.setDate(t.getDate() + n * 7);
4842
4842
  }, (t, n) => (n - t - (n.getTimezoneOffset() - t.getTimezoneOffset()) * Oe) / jc);
4843
4843
  }
4844
- const Ya = ir(0), Ea = ir(1), d_ = ir(2), f_ = ir(3), Gr = ir(4), p_ = ir(5), m_ = ir(6);
4844
+ const Ya = ir(0), Ea = ir(1), dw = ir(2), fw = ir(3), Gr = ir(4), pw = ir(5), mw = ir(6);
4845
4845
  Ya.range;
4846
4846
  Ea.range;
4847
- d_.range;
4848
- f_.range;
4847
+ dw.range;
4848
+ fw.range;
4849
4849
  Gr.range;
4850
- p_.range;
4851
- m_.range;
4850
+ pw.range;
4851
+ mw.range;
4852
4852
  function sr(e) {
4853
4853
  return zt((t) => {
4854
4854
  t.setUTCDate(t.getUTCDate() - (t.getUTCDay() + 7 - e) % 7), t.setUTCHours(0, 0, 0, 0);
@@ -4856,26 +4856,26 @@ function sr(e) {
4856
4856
  t.setUTCDate(t.getUTCDate() + n * 7);
4857
4857
  }, (t, n) => (n - t) / jc);
4858
4858
  }
4859
- const Vm = sr(0), wa = sr(1), g_ = sr(2), v_ = sr(3), jr = sr(4), y_ = sr(5), x_ = sr(6);
4859
+ const Vm = sr(0), _a = sr(1), gw = sr(2), vw = sr(3), jr = sr(4), yw = sr(5), xw = sr(6);
4860
4860
  Vm.range;
4861
- wa.range;
4862
- g_.range;
4863
- v_.range;
4861
+ _a.range;
4862
+ gw.range;
4863
+ vw.range;
4864
4864
  jr.range;
4865
- y_.range;
4866
- x_.range;
4865
+ yw.range;
4866
+ xw.range;
4867
4867
  const Xc = zt((e) => {
4868
4868
  e.setDate(1), e.setHours(0, 0, 0, 0);
4869
4869
  }, (e, t) => {
4870
4870
  e.setMonth(e.getMonth() + t);
4871
4871
  }, (e, t) => t.getMonth() - e.getMonth() + (t.getFullYear() - e.getFullYear()) * 12, (e) => e.getMonth());
4872
4872
  Xc.range;
4873
- const b_ = zt((e) => {
4873
+ const bw = zt((e) => {
4874
4874
  e.setUTCDate(1), e.setUTCHours(0, 0, 0, 0);
4875
4875
  }, (e, t) => {
4876
4876
  e.setUTCMonth(e.getUTCMonth() + t);
4877
4877
  }, (e, t) => t.getUTCMonth() - e.getUTCMonth() + (t.getUTCFullYear() - e.getUTCFullYear()) * 12, (e) => e.getUTCMonth());
4878
- b_.range;
4878
+ bw.range;
4879
4879
  const En = zt((e) => {
4880
4880
  e.setMonth(0, 1), e.setHours(0, 0, 0, 0);
4881
4881
  }, (e, t) => {
@@ -4898,7 +4898,7 @@ er.every = (e) => !isFinite(e = Math.floor(e)) || !(e > 0) ? null : zt((t) => {
4898
4898
  t.setUTCFullYear(t.getUTCFullYear() + n * e);
4899
4899
  });
4900
4900
  er.range;
4901
- function E_(e, t, n, r, i, s) {
4901
+ function Ew(e, t, n, r, i, s) {
4902
4902
  const a = [
4903
4903
  [Lr, 1, fn],
4904
4904
  [Lr, 5, 5 * fn],
@@ -4936,7 +4936,7 @@ function E_(e, t, n, r, i, s) {
4936
4936
  }
4937
4937
  return [o, l];
4938
4938
  }
4939
- const [w_, __] = E_(En, Xc, Ya, rs, qc, Wc);
4939
+ const [_w, ww] = Ew(En, Xc, Ya, rs, qc, Wc);
4940
4940
  function Fo(e) {
4941
4941
  if (0 <= e.y && e.y < 100) {
4942
4942
  var t = new Date(-1, e.m, e.d, e.H, e.M, e.S, e.L);
@@ -4954,7 +4954,7 @@ function zo(e) {
4954
4954
  function ii(e, t, n) {
4955
4955
  return { y: e, m: t, d: n, H: 0, M: 0, S: 0, L: 0 };
4956
4956
  }
4957
- function S_(e) {
4957
+ function Sw(e) {
4958
4958
  var t = e.dateTime, n = e.date, r = e.time, i = e.periods, s = e.days, a = e.shortDays, o = e.months, l = e.shortMonths, c = si(i), u = ai(i), d = si(s), h = ai(s), f = si(a), p = ai(a), g = si(o), m = ai(o), y = si(l), v = ai(l), b = {
4959
4959
  a: C,
4960
4960
  A: N,
@@ -4963,23 +4963,23 @@ function S_(e) {
4963
4963
  c: null,
4964
4964
  d: cd,
4965
4965
  e: cd,
4966
- f: q_,
4966
+ f: qw,
4967
4967
  g: rS,
4968
4968
  G: sS,
4969
- H: G_,
4970
- I: j_,
4971
- j: W_,
4969
+ H: Gw,
4970
+ I: jw,
4971
+ j: Ww,
4972
4972
  L: Fm,
4973
- m: Y_,
4974
- M: X_,
4973
+ m: Yw,
4974
+ M: Xw,
4975
4975
  p: G,
4976
4976
  q: nt,
4977
4977
  Q: dd,
4978
4978
  s: fd,
4979
- S: Z_,
4980
- u: K_,
4981
- U: Q_,
4982
- V: J_,
4979
+ S: Zw,
4980
+ u: Kw,
4981
+ U: Qw,
4982
+ V: Jw,
4983
4983
  w: tS,
4984
4984
  W: eS,
4985
4985
  x: null,
@@ -4988,7 +4988,7 @@ function S_(e) {
4988
4988
  Y: iS,
4989
4989
  Z: aS,
4990
4990
  "%": hd
4991
- }, _ = {
4991
+ }, w = {
4992
4992
  a: J,
4993
4993
  A: lt,
4994
4994
  b: ft,
@@ -4998,7 +4998,7 @@ function S_(e) {
4998
4998
  e: ud,
4999
4999
  f: uS,
5000
5000
  g: bS,
5001
- G: wS,
5001
+ G: _S,
5002
5002
  H: oS,
5003
5003
  I: lS,
5004
5004
  j: cS,
@@ -5019,9 +5019,9 @@ function S_(e) {
5019
5019
  X: null,
5020
5020
  y: xS,
5021
5021
  Y: ES,
5022
- Z: _S,
5022
+ Z: wS,
5023
5023
  "%": hd
5024
- }, w = {
5024
+ }, _ = {
5025
5025
  a: L,
5026
5026
  A: T,
5027
5027
  b: H,
@@ -5029,33 +5029,33 @@ function S_(e) {
5029
5029
  c: B,
5030
5030
  d: od,
5031
5031
  e: od,
5032
- f: H_,
5032
+ f: Hw,
5033
5033
  g: ad,
5034
5034
  G: sd,
5035
5035
  H: ld,
5036
5036
  I: ld,
5037
- j: N_,
5038
- L: B_,
5039
- m: I_,
5040
- M: P_,
5037
+ j: Nw,
5038
+ L: Bw,
5039
+ m: Iw,
5040
+ M: Pw,
5041
5041
  p: D,
5042
- q: R_,
5043
- Q: F_,
5044
- s: z_,
5045
- S: U_,
5046
- u: A_,
5047
- U: $_,
5048
- V: L_,
5049
- w: C_,
5050
- W: D_,
5042
+ q: Rw,
5043
+ Q: Fw,
5044
+ s: zw,
5045
+ S: Uw,
5046
+ u: Aw,
5047
+ U: $w,
5048
+ V: Lw,
5049
+ w: Cw,
5050
+ W: Dw,
5051
5051
  x: E,
5052
5052
  X: $,
5053
5053
  y: ad,
5054
5054
  Y: sd,
5055
- Z: k_,
5056
- "%": V_
5055
+ Z: kw,
5056
+ "%": Vw
5057
5057
  };
5058
- b.x = S(n, b), b.X = S(r, b), b.c = S(t, b), _.x = S(n, _), _.X = S(r, _), _.c = S(t, _);
5058
+ b.x = S(n, b), b.X = S(r, b), b.c = S(t, b), w.x = S(n, w), w.X = S(r, w), w.c = S(t, w);
5059
5059
  function S(z, X) {
5060
5060
  return function(it) {
5061
5061
  var F = [], Tt = -1, dt = 0, Pt = z.length, Ut, tt, $t;
@@ -5076,7 +5076,7 @@ function S_(e) {
5076
5076
  if (X && !("Z" in F) && (F.Z = 0), "p" in F && (F.H = F.H % 12 + F.p * 12), F.m === void 0 && (F.m = "q" in F ? F.q : 0), "V" in F) {
5077
5077
  if (F.V < 1 || F.V > 53)
5078
5078
  return null;
5079
- "w" in F || (F.w = 1), "Z" in F ? (dt = zo(ii(F.y, 0, 1)), Pt = dt.getUTCDay(), dt = Pt > 4 || Pt === 0 ? wa.ceil(dt) : wa(dt), dt = Yc.offset(dt, (F.V - 1) * 7), F.y = dt.getUTCFullYear(), F.m = dt.getUTCMonth(), F.d = dt.getUTCDate() + (F.w + 6) % 7) : (dt = Fo(ii(F.y, 0, 1)), Pt = dt.getDay(), dt = Pt > 4 || Pt === 0 ? Ea.ceil(dt) : Ea(dt), dt = rs.offset(dt, (F.V - 1) * 7), F.y = dt.getFullYear(), F.m = dt.getMonth(), F.d = dt.getDate() + (F.w + 6) % 7);
5079
+ "w" in F || (F.w = 1), "Z" in F ? (dt = zo(ii(F.y, 0, 1)), Pt = dt.getUTCDay(), dt = Pt > 4 || Pt === 0 ? _a.ceil(dt) : _a(dt), dt = Yc.offset(dt, (F.V - 1) * 7), F.y = dt.getUTCFullYear(), F.m = dt.getUTCMonth(), F.d = dt.getUTCDate() + (F.w + 6) % 7) : (dt = Fo(ii(F.y, 0, 1)), Pt = dt.getDay(), dt = Pt > 4 || Pt === 0 ? Ea.ceil(dt) : Ea(dt), dt = rs.offset(dt, (F.V - 1) * 7), F.y = dt.getFullYear(), F.m = dt.getMonth(), F.d = dt.getDate() + (F.w + 6) % 7);
5080
5080
  } else
5081
5081
  ("W" in F || "U" in F) && ("w" in F || (F.w = "u" in F ? F.u % 7 : "W" in F ? 1 : 0), Pt = "Z" in F ? zo(ii(F.y, 0, 1)).getUTCDay() : Fo(ii(F.y, 0, 1)).getDay(), F.m = 0, F.d = "W" in F ? (F.w + 6) % 7 + F.W * 7 - (Pt + 5) % 7 : F.w + F.U * 7 - (Pt + 6) % 7);
5082
5082
  return "Z" in F ? (F.H += F.Z / 100 | 0, F.M += F.Z % 100, zo(F)) : Fo(F);
@@ -5087,7 +5087,7 @@ function S_(e) {
5087
5087
  if (F >= Pt)
5088
5088
  return -1;
5089
5089
  if (Ut = X.charCodeAt(Tt++), Ut === 37) {
5090
- if (Ut = X.charAt(Tt++), tt = w[Ut in id ? X.charAt(Tt++) : Ut], !tt || (F = tt(z, it, F)) < 0)
5090
+ if (Ut = X.charAt(Tt++), tt = _[Ut in id ? X.charAt(Tt++) : Ut], !tt || (F = tt(z, it, F)) < 0)
5091
5091
  return -1;
5092
5092
  } else if (Ut != it.charCodeAt(F++))
5093
5093
  return -1;
@@ -5173,7 +5173,7 @@ function S_(e) {
5173
5173
  }, X;
5174
5174
  },
5175
5175
  utcFormat: function(z) {
5176
- var X = S(z += "", _);
5176
+ var X = S(z += "", w);
5177
5177
  return X.toString = function() {
5178
5178
  return z;
5179
5179
  }, X;
@@ -5186,37 +5186,37 @@ function S_(e) {
5186
5186
  }
5187
5187
  };
5188
5188
  }
5189
- var id = { "-": "", _: " ", 0: "0" }, Wt = /^\s*\d+/, O_ = /^%/, T_ = /[\\^$*+?|[\]().{}]/g;
5189
+ var id = { "-": "", _: " ", 0: "0" }, Wt = /^\s*\d+/, Ow = /^%/, Tw = /[\\^$*+?|[\]().{}]/g;
5190
5190
  function vt(e, t, n) {
5191
5191
  var r = e < 0 ? "-" : "", i = (r ? -e : e) + "", s = i.length;
5192
5192
  return r + (s < n ? new Array(n - s + 1).join(t) + i : i);
5193
5193
  }
5194
- function M_(e) {
5195
- return e.replace(T_, "\\$&");
5194
+ function Mw(e) {
5195
+ return e.replace(Tw, "\\$&");
5196
5196
  }
5197
5197
  function si(e) {
5198
- return new RegExp("^(?:" + e.map(M_).join("|") + ")", "i");
5198
+ return new RegExp("^(?:" + e.map(Mw).join("|") + ")", "i");
5199
5199
  }
5200
5200
  function ai(e) {
5201
5201
  return new Map(e.map((t, n) => [t.toLowerCase(), n]));
5202
5202
  }
5203
- function C_(e, t, n) {
5203
+ function Cw(e, t, n) {
5204
5204
  var r = Wt.exec(t.slice(n, n + 1));
5205
5205
  return r ? (e.w = +r[0], n + r[0].length) : -1;
5206
5206
  }
5207
- function A_(e, t, n) {
5207
+ function Aw(e, t, n) {
5208
5208
  var r = Wt.exec(t.slice(n, n + 1));
5209
5209
  return r ? (e.u = +r[0], n + r[0].length) : -1;
5210
5210
  }
5211
- function $_(e, t, n) {
5211
+ function $w(e, t, n) {
5212
5212
  var r = Wt.exec(t.slice(n, n + 2));
5213
5213
  return r ? (e.U = +r[0], n + r[0].length) : -1;
5214
5214
  }
5215
- function L_(e, t, n) {
5215
+ function Lw(e, t, n) {
5216
5216
  var r = Wt.exec(t.slice(n, n + 2));
5217
5217
  return r ? (e.V = +r[0], n + r[0].length) : -1;
5218
5218
  }
5219
- function D_(e, t, n) {
5219
+ function Dw(e, t, n) {
5220
5220
  var r = Wt.exec(t.slice(n, n + 2));
5221
5221
  return r ? (e.W = +r[0], n + r[0].length) : -1;
5222
5222
  }
@@ -5228,15 +5228,15 @@ function ad(e, t, n) {
5228
5228
  var r = Wt.exec(t.slice(n, n + 2));
5229
5229
  return r ? (e.y = +r[0] + (+r[0] > 68 ? 1900 : 2e3), n + r[0].length) : -1;
5230
5230
  }
5231
- function k_(e, t, n) {
5231
+ function kw(e, t, n) {
5232
5232
  var r = /^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n, n + 6));
5233
5233
  return r ? (e.Z = r[1] ? 0 : -(r[2] + (r[3] || "00")), n + r[0].length) : -1;
5234
5234
  }
5235
- function R_(e, t, n) {
5235
+ function Rw(e, t, n) {
5236
5236
  var r = Wt.exec(t.slice(n, n + 1));
5237
5237
  return r ? (e.q = r[0] * 3 - 3, n + r[0].length) : -1;
5238
5238
  }
5239
- function I_(e, t, n) {
5239
+ function Iw(e, t, n) {
5240
5240
  var r = Wt.exec(t.slice(n, n + 2));
5241
5241
  return r ? (e.m = r[0] - 1, n + r[0].length) : -1;
5242
5242
  }
@@ -5244,7 +5244,7 @@ function od(e, t, n) {
5244
5244
  var r = Wt.exec(t.slice(n, n + 2));
5245
5245
  return r ? (e.d = +r[0], n + r[0].length) : -1;
5246
5246
  }
5247
- function N_(e, t, n) {
5247
+ function Nw(e, t, n) {
5248
5248
  var r = Wt.exec(t.slice(n, n + 3));
5249
5249
  return r ? (e.m = 0, e.d = +r[0], n + r[0].length) : -1;
5250
5250
  }
@@ -5252,73 +5252,73 @@ function ld(e, t, n) {
5252
5252
  var r = Wt.exec(t.slice(n, n + 2));
5253
5253
  return r ? (e.H = +r[0], n + r[0].length) : -1;
5254
5254
  }
5255
- function P_(e, t, n) {
5255
+ function Pw(e, t, n) {
5256
5256
  var r = Wt.exec(t.slice(n, n + 2));
5257
5257
  return r ? (e.M = +r[0], n + r[0].length) : -1;
5258
5258
  }
5259
- function U_(e, t, n) {
5259
+ function Uw(e, t, n) {
5260
5260
  var r = Wt.exec(t.slice(n, n + 2));
5261
5261
  return r ? (e.S = +r[0], n + r[0].length) : -1;
5262
5262
  }
5263
- function B_(e, t, n) {
5263
+ function Bw(e, t, n) {
5264
5264
  var r = Wt.exec(t.slice(n, n + 3));
5265
5265
  return r ? (e.L = +r[0], n + r[0].length) : -1;
5266
5266
  }
5267
- function H_(e, t, n) {
5267
+ function Hw(e, t, n) {
5268
5268
  var r = Wt.exec(t.slice(n, n + 6));
5269
5269
  return r ? (e.L = Math.floor(r[0] / 1e3), n + r[0].length) : -1;
5270
5270
  }
5271
- function V_(e, t, n) {
5272
- var r = O_.exec(t.slice(n, n + 1));
5271
+ function Vw(e, t, n) {
5272
+ var r = Ow.exec(t.slice(n, n + 1));
5273
5273
  return r ? n + r[0].length : -1;
5274
5274
  }
5275
- function F_(e, t, n) {
5275
+ function Fw(e, t, n) {
5276
5276
  var r = Wt.exec(t.slice(n));
5277
5277
  return r ? (e.Q = +r[0], n + r[0].length) : -1;
5278
5278
  }
5279
- function z_(e, t, n) {
5279
+ function zw(e, t, n) {
5280
5280
  var r = Wt.exec(t.slice(n));
5281
5281
  return r ? (e.s = +r[0], n + r[0].length) : -1;
5282
5282
  }
5283
5283
  function cd(e, t) {
5284
5284
  return vt(e.getDate(), t, 2);
5285
5285
  }
5286
- function G_(e, t) {
5286
+ function Gw(e, t) {
5287
5287
  return vt(e.getHours(), t, 2);
5288
5288
  }
5289
- function j_(e, t) {
5289
+ function jw(e, t) {
5290
5290
  return vt(e.getHours() % 12 || 12, t, 2);
5291
5291
  }
5292
- function W_(e, t) {
5292
+ function Ww(e, t) {
5293
5293
  return vt(1 + rs.count(En(e), e), t, 3);
5294
5294
  }
5295
5295
  function Fm(e, t) {
5296
5296
  return vt(e.getMilliseconds(), t, 3);
5297
5297
  }
5298
- function q_(e, t) {
5298
+ function qw(e, t) {
5299
5299
  return Fm(e, t) + "000";
5300
5300
  }
5301
- function Y_(e, t) {
5301
+ function Yw(e, t) {
5302
5302
  return vt(e.getMonth() + 1, t, 2);
5303
5303
  }
5304
- function X_(e, t) {
5304
+ function Xw(e, t) {
5305
5305
  return vt(e.getMinutes(), t, 2);
5306
5306
  }
5307
- function Z_(e, t) {
5307
+ function Zw(e, t) {
5308
5308
  return vt(e.getSeconds(), t, 2);
5309
5309
  }
5310
- function K_(e) {
5310
+ function Kw(e) {
5311
5311
  var t = e.getDay();
5312
5312
  return t === 0 ? 7 : t;
5313
5313
  }
5314
- function Q_(e, t) {
5314
+ function Qw(e, t) {
5315
5315
  return vt(Ya.count(En(e) - 1, e), t, 2);
5316
5316
  }
5317
5317
  function zm(e) {
5318
5318
  var t = e.getDay();
5319
5319
  return t >= 4 || t === 0 ? Gr(e) : Gr.ceil(e);
5320
5320
  }
5321
- function J_(e, t) {
5321
+ function Jw(e, t) {
5322
5322
  return e = zm(e), vt(Gr.count(En(e), e) + (En(e).getDay() === 4), t, 2);
5323
5323
  }
5324
5324
  function tS(e) {
@@ -5389,7 +5389,7 @@ function vS(e) {
5389
5389
  return e.getUTCDay();
5390
5390
  }
5391
5391
  function yS(e, t) {
5392
- return vt(wa.count(er(e) - 1, e), t, 2);
5392
+ return vt(_a.count(er(e) - 1, e), t, 2);
5393
5393
  }
5394
5394
  function xS(e, t) {
5395
5395
  return vt(e.getUTCFullYear() % 100, t, 2);
@@ -5400,11 +5400,11 @@ function bS(e, t) {
5400
5400
  function ES(e, t) {
5401
5401
  return vt(e.getUTCFullYear() % 1e4, t, 4);
5402
5402
  }
5403
- function wS(e, t) {
5403
+ function _S(e, t) {
5404
5404
  var n = e.getUTCDay();
5405
5405
  return e = n >= 4 || n === 0 ? jr(e) : jr.ceil(e), vt(e.getUTCFullYear() % 1e4, t, 4);
5406
5406
  }
5407
- function _S() {
5407
+ function wS() {
5408
5408
  return "+0000";
5409
5409
  }
5410
5410
  function hd() {
@@ -5428,7 +5428,7 @@ SS({
5428
5428
  shortMonths: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]
5429
5429
  });
5430
5430
  function SS(e) {
5431
- return yr = S_(e), Wm = yr.format, yr.parse, yr.utcFormat, yr.utcParse, yr;
5431
+ return yr = Sw(e), Wm = yr.format, yr.parse, yr.utcFormat, yr.utcParse, yr;
5432
5432
  }
5433
5433
  function OS(e) {
5434
5434
  return new Date(e);
@@ -5437,9 +5437,9 @@ function TS(e) {
5437
5437
  return e instanceof Date ? +e : +/* @__PURE__ */ new Date(+e);
5438
5438
  }
5439
5439
  function qm(e, t, n, r, i, s, a, o, l, c) {
5440
- var u = Pm(), d = u.invert, h = u.domain, f = c(".%L"), p = c(":%S"), g = c("%I:%M"), m = c("%I %p"), y = c("%a %d"), v = c("%b %d"), b = c("%B"), _ = c("%Y");
5441
- function w(S) {
5442
- return (l(S) < S ? f : o(S) < S ? p : a(S) < S ? g : s(S) < S ? m : r(S) < S ? i(S) < S ? y : v : n(S) < S ? b : _)(S);
5440
+ var u = Pm(), d = u.invert, h = u.domain, f = c(".%L"), p = c(":%S"), g = c("%I:%M"), m = c("%I %p"), y = c("%a %d"), v = c("%b %d"), b = c("%B"), w = c("%Y");
5441
+ function _(S) {
5442
+ return (l(S) < S ? f : o(S) < S ? p : a(S) < S ? g : s(S) < S ? m : r(S) < S ? i(S) < S ? y : v : n(S) < S ? b : w)(S);
5443
5443
  }
5444
5444
  return u.invert = function(S) {
5445
5445
  return new Date(d(S));
@@ -5449,7 +5449,7 @@ function qm(e, t, n, r, i, s, a, o, l, c) {
5449
5449
  var M = h();
5450
5450
  return e(M[0], M[M.length - 1], S ?? 10);
5451
5451
  }, u.tickFormat = function(S, M) {
5452
- return M == null ? w : c(M);
5452
+ return M == null ? _ : c(M);
5453
5453
  }, u.nice = function(S) {
5454
5454
  var M = h();
5455
5455
  return (!S || typeof S.range != "function") && (S = t(M[0], M[M.length - 1], S ?? 10)), S ? h(Bm(M, S)) : u;
@@ -5458,19 +5458,19 @@ function qm(e, t, n, r, i, s, a, o, l, c) {
5458
5458
  }, u;
5459
5459
  }
5460
5460
  function Ym() {
5461
- return Qr.apply(qm(w_, __, En, Xc, Ya, rs, qc, Wc, Lr, Wm).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);
5461
+ return Qr.apply(qm(_w, ww, En, Xc, Ya, rs, qc, Wc, Lr, Wm).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);
5462
5462
  }
5463
5463
  function ot(e) {
5464
5464
  return function() {
5465
5465
  return e;
5466
5466
  };
5467
5467
  }
5468
- const pd = Math.abs, Jt = Math.atan2, Un = Math.cos, MS = Math.max, Go = Math.min, Ge = Math.sin, Dr = Math.sqrt, te = 1e-12, Gi = Math.PI, _a = Gi / 2, js = 2 * Gi;
5468
+ const pd = Math.abs, Jt = Math.atan2, Un = Math.cos, MS = Math.max, Go = Math.min, Ge = Math.sin, Dr = Math.sqrt, te = 1e-12, Gi = Math.PI, wa = Gi / 2, js = 2 * Gi;
5469
5469
  function CS(e) {
5470
5470
  return e > 1 ? 0 : e < -1 ? Gi : Math.acos(e);
5471
5471
  }
5472
5472
  function md(e) {
5473
- return e >= 1 ? _a : e <= -1 ? -_a : Math.asin(e);
5473
+ return e >= 1 ? wa : e <= -1 ? -wa : Math.asin(e);
5474
5474
  }
5475
5475
  function Xa(e) {
5476
5476
  let t = 3;
@@ -5509,33 +5509,33 @@ function RS(e, t, n, r, i, s, a, o) {
5509
5509
  return h = (u * (t - s) - d * (e - i)) / h, [e + h * l, t + h * c];
5510
5510
  }
5511
5511
  function Ss(e, t, n, r, i, s, a) {
5512
- var o = e - n, l = t - r, c = (a ? s : -s) / Dr(o * o + l * l), u = c * l, d = -c * o, h = e + u, f = t + d, p = n + u, g = r + d, m = (h + p) / 2, y = (f + g) / 2, v = p - h, b = g - f, _ = v * v + b * b, w = i - s, S = h * g - p * f, M = (b < 0 ? -1 : 1) * Dr(MS(0, w * w * _ - S * S)), R = (S * b - v * M) / _, D = (-S * v - b * M) / _, L = (S * b + v * M) / _, T = (-S * v + b * M) / _, H = R - m, U = D - y, B = L - m, E = T - y;
5512
+ var o = e - n, l = t - r, c = (a ? s : -s) / Dr(o * o + l * l), u = c * l, d = -c * o, h = e + u, f = t + d, p = n + u, g = r + d, m = (h + p) / 2, y = (f + g) / 2, v = p - h, b = g - f, w = v * v + b * b, _ = i - s, S = h * g - p * f, M = (b < 0 ? -1 : 1) * Dr(MS(0, _ * _ * w - S * S)), R = (S * b - v * M) / w, D = (-S * v - b * M) / w, L = (S * b + v * M) / w, T = (-S * v + b * M) / w, H = R - m, U = D - y, B = L - m, E = T - y;
5513
5513
  return H * H + U * U > B * B + E * E && (R = L, D = T), {
5514
5514
  cx: R,
5515
5515
  cy: D,
5516
5516
  x01: -u,
5517
5517
  y01: -d,
5518
- x11: R * (i / w - 1),
5519
- y11: D * (i / w - 1)
5518
+ x11: R * (i / _ - 1),
5519
+ y11: D * (i / _ - 1)
5520
5520
  };
5521
5521
  }
5522
5522
  function ji() {
5523
5523
  var e = AS, t = $S, n = ot(0), r = null, i = LS, s = DS, a = kS, o = null, l = Xa(c);
5524
5524
  function c() {
5525
- var u, d, h = +e.apply(this, arguments), f = +t.apply(this, arguments), p = i.apply(this, arguments) - _a, g = s.apply(this, arguments) - _a, m = pd(g - p), y = g > p;
5525
+ var u, d, h = +e.apply(this, arguments), f = +t.apply(this, arguments), p = i.apply(this, arguments) - wa, g = s.apply(this, arguments) - wa, m = pd(g - p), y = g > p;
5526
5526
  if (o || (o = u = l()), f < h && (d = f, f = h, h = d), !(f > te))
5527
5527
  o.moveTo(0, 0);
5528
5528
  else if (m > js - te)
5529
5529
  o.moveTo(f * Un(p), f * Ge(p)), o.arc(0, 0, f, p, g, !y), h > te && (o.moveTo(h * Un(g), h * Ge(g)), o.arc(0, 0, h, g, p, y));
5530
5530
  else {
5531
- var v = p, b = g, _ = p, w = g, S = m, M = m, R = a.apply(this, arguments) / 2, D = R > te && (r ? +r.apply(this, arguments) : Dr(h * h + f * f)), L = Go(pd(f - h) / 2, +n.apply(this, arguments)), T = L, H = L, U, B;
5531
+ var v = p, b = g, w = p, _ = g, S = m, M = m, R = a.apply(this, arguments) / 2, D = R > te && (r ? +r.apply(this, arguments) : Dr(h * h + f * f)), L = Go(pd(f - h) / 2, +n.apply(this, arguments)), T = L, H = L, U, B;
5532
5532
  if (D > te) {
5533
5533
  var E = md(D / h * Ge(R)), $ = md(D / f * Ge(R));
5534
- (S -= E * 2) > te ? (E *= y ? 1 : -1, _ += E, w -= E) : (S = 0, _ = w = (p + g) / 2), (M -= $ * 2) > te ? ($ *= y ? 1 : -1, v += $, b -= $) : (M = 0, v = b = (p + g) / 2);
5534
+ (S -= E * 2) > te ? (E *= y ? 1 : -1, w += E, _ -= E) : (S = 0, w = _ = (p + g) / 2), (M -= $ * 2) > te ? ($ *= y ? 1 : -1, v += $, b -= $) : (M = 0, v = b = (p + g) / 2);
5535
5535
  }
5536
- var C = f * Un(v), N = f * Ge(v), P = h * Un(w), j = h * Ge(w);
5536
+ var C = f * Un(v), N = f * Ge(v), P = h * Un(_), j = h * Ge(_);
5537
5537
  if (L > te) {
5538
- var G = f * Un(b), nt = f * Ge(b), J = h * Un(_), lt = h * Ge(_), ft;
5538
+ var G = f * Un(b), nt = f * Ge(b), J = h * Un(w), lt = h * Ge(w), ft;
5539
5539
  if (m < Gi)
5540
5540
  if (ft = RS(C, N, J, lt, G, nt, P, j)) {
5541
5541
  var q = C - ft[0], K = N - ft[1], pt = G - ft[0], z = nt - ft[1], X = 1 / Ge(CS((q * pt + K * z) / (Dr(q * q + K * K) * Dr(pt * pt + z * z))) / 2), it = Dr(ft[0] * ft[0] + ft[1] * ft[1]);
@@ -5543,7 +5543,7 @@ function ji() {
5543
5543
  } else
5544
5544
  T = H = 0;
5545
5545
  }
5546
- M > te ? H > te ? (U = Ss(J, lt, C, N, f, H, y), B = Ss(G, nt, P, j, f, H, y), o.moveTo(U.cx + U.x01, U.cy + U.y01), H < L ? o.arc(U.cx, U.cy, H, Jt(U.y01, U.x01), Jt(B.y01, B.x01), !y) : (o.arc(U.cx, U.cy, H, Jt(U.y01, U.x01), Jt(U.y11, U.x11), !y), o.arc(0, 0, f, Jt(U.cy + U.y11, U.cx + U.x11), Jt(B.cy + B.y11, B.cx + B.x11), !y), o.arc(B.cx, B.cy, H, Jt(B.y11, B.x11), Jt(B.y01, B.x01), !y))) : (o.moveTo(C, N), o.arc(0, 0, f, v, b, !y)) : o.moveTo(C, N), !(h > te) || !(S > te) ? o.lineTo(P, j) : T > te ? (U = Ss(P, j, G, nt, h, -T, y), B = Ss(C, N, J, lt, h, -T, y), o.lineTo(U.cx + U.x01, U.cy + U.y01), T < L ? o.arc(U.cx, U.cy, T, Jt(U.y01, U.x01), Jt(B.y01, B.x01), !y) : (o.arc(U.cx, U.cy, T, Jt(U.y01, U.x01), Jt(U.y11, U.x11), !y), o.arc(0, 0, h, Jt(U.cy + U.y11, U.cx + U.x11), Jt(B.cy + B.y11, B.cx + B.x11), y), o.arc(B.cx, B.cy, T, Jt(B.y11, B.x11), Jt(B.y01, B.x01), !y))) : o.arc(0, 0, h, w, _, y);
5546
+ M > te ? H > te ? (U = Ss(J, lt, C, N, f, H, y), B = Ss(G, nt, P, j, f, H, y), o.moveTo(U.cx + U.x01, U.cy + U.y01), H < L ? o.arc(U.cx, U.cy, H, Jt(U.y01, U.x01), Jt(B.y01, B.x01), !y) : (o.arc(U.cx, U.cy, H, Jt(U.y01, U.x01), Jt(U.y11, U.x11), !y), o.arc(0, 0, f, Jt(U.cy + U.y11, U.cx + U.x11), Jt(B.cy + B.y11, B.cx + B.x11), !y), o.arc(B.cx, B.cy, H, Jt(B.y11, B.x11), Jt(B.y01, B.x01), !y))) : (o.moveTo(C, N), o.arc(0, 0, f, v, b, !y)) : o.moveTo(C, N), !(h > te) || !(S > te) ? o.lineTo(P, j) : T > te ? (U = Ss(P, j, G, nt, h, -T, y), B = Ss(C, N, J, lt, h, -T, y), o.lineTo(U.cx + U.x01, U.cy + U.y01), T < L ? o.arc(U.cx, U.cy, T, Jt(U.y01, U.x01), Jt(B.y01, B.x01), !y) : (o.arc(U.cx, U.cy, T, Jt(U.y01, U.x01), Jt(U.y11, U.x11), !y), o.arc(0, 0, h, Jt(U.cy + U.y11, U.cx + U.x11), Jt(B.cy + B.y11, B.cx + B.x11), y), o.arc(B.cx, B.cy, T, Jt(B.y11, B.x11), Jt(B.y01, B.x01), !y))) : o.arc(0, 0, h, _, w, y);
5547
5547
  }
5548
5548
  if (o.closePath(), u)
5549
5549
  return o = null, u + "" || null;
@@ -5637,17 +5637,17 @@ function Qc(e, t, n) {
5637
5637
  var r = null, i = ot(!0), s = null, a = Ka, o = null, l = Xa(c);
5638
5638
  e = typeof e == "function" ? e : e === void 0 ? Zc : ot(+e), t = typeof t == "function" ? t : ot(t === void 0 ? 0 : +t), n = typeof n == "function" ? n : n === void 0 ? Kc : ot(+n);
5639
5639
  function c(d) {
5640
- var h, f, p, g = (d = Za(d)).length, m, y = !1, v, b = new Array(g), _ = new Array(g);
5640
+ var h, f, p, g = (d = Za(d)).length, m, y = !1, v, b = new Array(g), w = new Array(g);
5641
5641
  for (s == null && (o = a(v = l())), h = 0; h <= g; ++h) {
5642
5642
  if (!(h < g && i(m = d[h], h, d)) === y)
5643
5643
  if (y = !y)
5644
5644
  f = h, o.areaStart(), o.lineStart();
5645
5645
  else {
5646
5646
  for (o.lineEnd(), o.lineStart(), p = h - 1; p >= f; --p)
5647
- o.point(b[p], _[p]);
5647
+ o.point(b[p], w[p]);
5648
5648
  o.lineEnd(), o.areaEnd();
5649
5649
  }
5650
- y && (b[h] = +e(m, h, d), _[h] = +t(m, h, d), o.point(r ? +r(m, h, d) : b[h], n ? +n(m, h, d) : _[h]));
5650
+ y && (b[h] = +e(m, h, d), w[h] = +t(m, h, d), o.point(r ? +r(m, h, d) : b[h], n ? +n(m, h, d) : w[h]));
5651
5651
  }
5652
5652
  if (v)
5653
5653
  return o = null, v + "" || null;
@@ -5690,18 +5690,18 @@ function PS(e) {
5690
5690
  function US() {
5691
5691
  var e = PS, t = NS, n = null, r = ot(0), i = ot(js), s = ot(0);
5692
5692
  function a(o) {
5693
- var l, c = (o = Za(o)).length, u, d, h = 0, f = new Array(c), p = new Array(c), g = +r.apply(this, arguments), m = Math.min(js, Math.max(-js, i.apply(this, arguments) - g)), y, v = Math.min(Math.abs(m) / c, s.apply(this, arguments)), b = v * (m < 0 ? -1 : 1), _;
5693
+ var l, c = (o = Za(o)).length, u, d, h = 0, f = new Array(c), p = new Array(c), g = +r.apply(this, arguments), m = Math.min(js, Math.max(-js, i.apply(this, arguments) - g)), y, v = Math.min(Math.abs(m) / c, s.apply(this, arguments)), b = v * (m < 0 ? -1 : 1), w;
5694
5694
  for (l = 0; l < c; ++l)
5695
- (_ = p[f[l] = l] = +e(o[l], l, o)) > 0 && (h += _);
5696
- for (t != null ? f.sort(function(w, S) {
5697
- return t(p[w], p[S]);
5698
- }) : n != null && f.sort(function(w, S) {
5699
- return n(o[w], o[S]);
5695
+ (w = p[f[l] = l] = +e(o[l], l, o)) > 0 && (h += w);
5696
+ for (t != null ? f.sort(function(_, S) {
5697
+ return t(p[_], p[S]);
5698
+ }) : n != null && f.sort(function(_, S) {
5699
+ return n(o[_], o[S]);
5700
5700
  }), l = 0, d = h ? (m - c * b) / h : 0; l < c; ++l, g = y)
5701
- u = f[l], _ = p[u], y = g + (_ > 0 ? _ * d : 0) + b, p[u] = {
5701
+ u = f[l], w = p[u], y = g + (w > 0 ? w * d : 0) + b, p[u] = {
5702
5702
  data: o[u],
5703
5703
  index: l,
5704
- value: _,
5704
+ value: w,
5705
5705
  startAngle: g,
5706
5706
  endAngle: y,
5707
5707
  padAngle: v
@@ -6555,16 +6555,16 @@ function dO(e, t) {
6555
6555
  for (a = o = 0, n = 0; n < l; ++n)
6556
6556
  (s = (i = e[t[n]][r])[1] - i[0]) > 0 ? (i[0] = a, i[1] = a += s) : s < 0 ? (i[1] = o, i[0] = o += s) : (i[0] = 0, i[1] = s);
6557
6557
  }
6558
- function _i(e, t, n) {
6558
+ function wi(e, t, n) {
6559
6559
  this.k = e, this.x = t, this.y = n;
6560
6560
  }
6561
- _i.prototype = {
6562
- constructor: _i,
6561
+ wi.prototype = {
6562
+ constructor: wi,
6563
6563
  scale: function(e) {
6564
- return e === 1 ? this : new _i(this.k * e, this.x, this.y);
6564
+ return e === 1 ? this : new wi(this.k * e, this.x, this.y);
6565
6565
  },
6566
6566
  translate: function(e, t) {
6567
- return e === 0 & t === 0 ? this : new _i(this.k, this.x + this.k * e, this.y + this.k * t);
6567
+ return e === 0 & t === 0 ? this : new wi(this.k, this.x + this.k * e, this.y + this.k * t);
6568
6568
  },
6569
6569
  apply: function(e) {
6570
6570
  return [e[0] * this.k + this.x, e[1] * this.k + this.y];
@@ -6594,7 +6594,7 @@ _i.prototype = {
6594
6594
  return "translate(" + this.x + "," + this.y + ") scale(" + this.k + ")";
6595
6595
  }
6596
6596
  };
6597
- _i.prototype;
6597
+ wi.prototype;
6598
6598
  function qo(e) {
6599
6599
  return (t = {}) => {
6600
6600
  const n = t.width ? String(t.width) : e.defaultWidth;
@@ -6748,11 +6748,11 @@ const vO = {
6748
6748
  narrow: ["B", "A"],
6749
6749
  abbreviated: ["BC", "AD"],
6750
6750
  wide: ["Before Christ", "Anno Domini"]
6751
- }, wO = {
6751
+ }, _O = {
6752
6752
  narrow: ["1", "2", "3", "4"],
6753
6753
  abbreviated: ["Q1", "Q2", "Q3", "Q4"],
6754
6754
  wide: ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"]
6755
- }, _O = {
6755
+ }, wO = {
6756
6756
  narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
6757
6757
  abbreviated: [
6758
6758
  "Jan",
@@ -6876,12 +6876,12 @@ const vO = {
6876
6876
  defaultWidth: "wide"
6877
6877
  }),
6878
6878
  quarter: oi({
6879
- values: wO,
6879
+ values: _O,
6880
6880
  defaultWidth: "wide",
6881
6881
  argumentCallback: (e) => e - 1
6882
6882
  }),
6883
6883
  month: oi({
6884
- values: _O,
6884
+ values: wO,
6885
6885
  defaultWidth: "wide"
6886
6886
  }),
6887
6887
  day: oi({
@@ -7059,9 +7059,9 @@ var JO = Object.prototype, tT = JO.toString;
7059
7059
  function eT(e) {
7060
7060
  return tT.call(e);
7061
7061
  }
7062
- var nT = "[object Null]", rT = "[object Undefined]", wd = Te ? Te.toStringTag : void 0;
7062
+ var nT = "[object Null]", rT = "[object Undefined]", _d = Te ? Te.toStringTag : void 0;
7063
7063
  function ar(e) {
7064
- return e == null ? e === void 0 ? rT : nT : wd && wd in Object(e) ? QO(e) : eT(e);
7064
+ return e == null ? e === void 0 ? rT : nT : _d && _d in Object(e) ? QO(e) : eT(e);
7065
7065
  }
7066
7066
  function Ke(e) {
7067
7067
  return e != null && typeof e == "object";
@@ -7077,7 +7077,7 @@ function dg(e, t) {
7077
7077
  }
7078
7078
  var sT = Array.isArray;
7079
7079
  const Zt = sT;
7080
- var aT = 1 / 0, _d = Te ? Te.prototype : void 0, Sd = _d ? _d.toString : void 0;
7080
+ var aT = 1 / 0, wd = Te ? Te.prototype : void 0, Sd = wd ? wd.toString : void 0;
7081
7081
  function fg(e) {
7082
7082
  if (typeof e == "string")
7083
7083
  return e;
@@ -7128,18 +7128,18 @@ function or(e) {
7128
7128
  var mT = /[\\^$.*+?()[\]{}|]/g, gT = /^\[object .+?Constructor\]$/, vT = Function.prototype, yT = Object.prototype, xT = vT.toString, bT = yT.hasOwnProperty, ET = RegExp(
7129
7129
  "^" + xT.call(bT).replace(mT, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
7130
7130
  );
7131
- function wT(e) {
7131
+ function _T(e) {
7132
7132
  if (!Me(e) || dT(e))
7133
7133
  return !1;
7134
7134
  var t = iu(e) ? ET : gT;
7135
7135
  return t.test(or(e));
7136
7136
  }
7137
- function _T(e, t) {
7137
+ function wT(e, t) {
7138
7138
  return e == null ? void 0 : e[t];
7139
7139
  }
7140
7140
  function lr(e, t) {
7141
- var n = _T(e, t);
7142
- return wT(n) ? n : void 0;
7141
+ var n = wT(e, t);
7142
+ return _T(n) ? n : void 0;
7143
7143
  }
7144
7144
  var ST = lr(Ve, "WeakMap");
7145
7145
  const Fl = ST;
@@ -7334,9 +7334,9 @@ function iM() {
7334
7334
  }
7335
7335
  var xg = typeof exports == "object" && exports && !exports.nodeType && exports, Ad = xg && typeof module == "object" && module && !module.nodeType && module, sM = Ad && Ad.exports === xg, $d = sM ? Ve.Buffer : void 0, aM = $d ? $d.isBuffer : void 0, oM = aM || iM;
7336
7336
  const qr = oM;
7337
- var lM = "[object Arguments]", cM = "[object Array]", uM = "[object Boolean]", hM = "[object Date]", dM = "[object Error]", fM = "[object Function]", pM = "[object Map]", mM = "[object Number]", gM = "[object Object]", vM = "[object RegExp]", yM = "[object Set]", xM = "[object String]", bM = "[object WeakMap]", EM = "[object ArrayBuffer]", wM = "[object DataView]", _M = "[object Float32Array]", SM = "[object Float64Array]", OM = "[object Int8Array]", TM = "[object Int16Array]", MM = "[object Int32Array]", CM = "[object Uint8Array]", AM = "[object Uint8ClampedArray]", $M = "[object Uint16Array]", LM = "[object Uint32Array]", Lt = {};
7338
- Lt[_M] = Lt[SM] = Lt[OM] = Lt[TM] = Lt[MM] = Lt[CM] = Lt[AM] = Lt[$M] = Lt[LM] = !0;
7339
- Lt[lM] = Lt[cM] = Lt[EM] = Lt[uM] = Lt[wM] = Lt[hM] = Lt[dM] = Lt[fM] = Lt[pM] = Lt[mM] = Lt[gM] = Lt[vM] = Lt[yM] = Lt[xM] = Lt[bM] = !1;
7337
+ var lM = "[object Arguments]", cM = "[object Array]", uM = "[object Boolean]", hM = "[object Date]", dM = "[object Error]", fM = "[object Function]", pM = "[object Map]", mM = "[object Number]", gM = "[object Object]", vM = "[object RegExp]", yM = "[object Set]", xM = "[object String]", bM = "[object WeakMap]", EM = "[object ArrayBuffer]", _M = "[object DataView]", wM = "[object Float32Array]", SM = "[object Float64Array]", OM = "[object Int8Array]", TM = "[object Int16Array]", MM = "[object Int32Array]", CM = "[object Uint8Array]", AM = "[object Uint8ClampedArray]", $M = "[object Uint16Array]", LM = "[object Uint32Array]", Lt = {};
7338
+ Lt[wM] = Lt[SM] = Lt[OM] = Lt[TM] = Lt[MM] = Lt[CM] = Lt[AM] = Lt[$M] = Lt[LM] = !0;
7339
+ Lt[lM] = Lt[cM] = Lt[EM] = Lt[uM] = Lt[_M] = Lt[hM] = Lt[dM] = Lt[fM] = Lt[pM] = Lt[mM] = Lt[gM] = Lt[vM] = Lt[yM] = Lt[xM] = Lt[bM] = !1;
7340
7340
  function DM(e) {
7341
7341
  return Ke(e) && au(e.length) && !!Lt[ar(e)];
7342
7342
  }
@@ -7366,15 +7366,15 @@ function Eg(e, t) {
7366
7366
  su(c, l))) && o.push(c);
7367
7367
  return o;
7368
7368
  }
7369
- function wg(e, t) {
7369
+ function _g(e, t) {
7370
7370
  return function(n) {
7371
7371
  return e(t(n));
7372
7372
  };
7373
7373
  }
7374
- var UM = wg(Object.keys, Object);
7374
+ var UM = _g(Object.keys, Object);
7375
7375
  const BM = UM;
7376
7376
  var HM = Object.prototype, VM = HM.hasOwnProperty;
7377
- function _g(e) {
7377
+ function wg(e) {
7378
7378
  if (!ro(e))
7379
7379
  return BM(e);
7380
7380
  var t = [];
@@ -7383,7 +7383,7 @@ function _g(e) {
7383
7383
  return t;
7384
7384
  }
7385
7385
  function os(e) {
7386
- return cr(e) ? Eg(e) : _g(e);
7386
+ return cr(e) ? Eg(e) : wg(e);
7387
7387
  }
7388
7388
  function FM(e) {
7389
7389
  var t = [];
@@ -7549,15 +7549,15 @@ function cu(e, t) {
7549
7549
  }
7550
7550
  cu.Cache = On;
7551
7551
  var EC = 500;
7552
- function wC(e) {
7552
+ function _C(e) {
7553
7553
  var t = cu(e, function(r) {
7554
7554
  return n.size === EC && n.clear(), r;
7555
7555
  }), n = t.cache;
7556
7556
  return t;
7557
7557
  }
7558
- var _C = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, SC = /\\(\\)?/g, OC = wC(function(e) {
7558
+ var wC = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, SC = /\\(\\)?/g, OC = _C(function(e) {
7559
7559
  var t = [];
7560
- return e.charCodeAt(0) === 46 && t.push(""), e.replace(_C, function(n, r, i, s) {
7560
+ return e.charCodeAt(0) === 46 && t.push(""), e.replace(wC, function(n, r, i, s) {
7561
7561
  t.push(i ? s.replace(SC, "$1") : r || n);
7562
7562
  }), t;
7563
7563
  });
@@ -7602,7 +7602,7 @@ function lo(e, t, n, r, i) {
7602
7602
  }
7603
7603
  return i;
7604
7604
  }
7605
- var AC = wg(Object.getPrototypeOf, Object);
7605
+ var AC = _g(Object.getPrototypeOf, Object);
7606
7606
  const hu = AC;
7607
7607
  var $C = "[object Object]", LC = Function.prototype, DC = Object.prototype, Tg = LC.toString, kC = DC.hasOwnProperty, RC = Tg.call(Object);
7608
7608
  function IC(e) {
@@ -7751,7 +7751,7 @@ function Dg(e, t) {
7751
7751
  var n = t ? fu(e.buffer) : e.buffer;
7752
7752
  return new e.constructor(n, e.byteOffset, e.length);
7753
7753
  }
7754
- var vA = "[object Boolean]", yA = "[object Date]", xA = "[object Map]", bA = "[object Number]", EA = "[object RegExp]", wA = "[object Set]", _A = "[object String]", SA = "[object Symbol]", OA = "[object ArrayBuffer]", TA = "[object DataView]", MA = "[object Float32Array]", CA = "[object Float64Array]", AA = "[object Int8Array]", $A = "[object Int16Array]", LA = "[object Int32Array]", DA = "[object Uint8Array]", kA = "[object Uint8ClampedArray]", RA = "[object Uint16Array]", IA = "[object Uint32Array]";
7754
+ var vA = "[object Boolean]", yA = "[object Date]", xA = "[object Map]", bA = "[object Number]", EA = "[object RegExp]", _A = "[object Set]", wA = "[object String]", SA = "[object Symbol]", OA = "[object ArrayBuffer]", TA = "[object DataView]", MA = "[object Float32Array]", CA = "[object Float64Array]", AA = "[object Int8Array]", $A = "[object Int16Array]", LA = "[object Int32Array]", DA = "[object Uint8Array]", kA = "[object Uint8ClampedArray]", RA = "[object Uint16Array]", IA = "[object Uint32Array]";
7755
7755
  function NA(e, t, n) {
7756
7756
  var r = e.constructor;
7757
7757
  switch (t) {
@@ -7775,11 +7775,11 @@ function NA(e, t, n) {
7775
7775
  case xA:
7776
7776
  return new r();
7777
7777
  case bA:
7778
- case _A:
7778
+ case wA:
7779
7779
  return new r(e);
7780
7780
  case EA:
7781
7781
  return mA(e);
7782
- case wA:
7782
+ case _A:
7783
7783
  return new r();
7784
7784
  case SA:
7785
7785
  return gA(e);
@@ -7841,7 +7841,7 @@ function Ws(e, t, n, r, i, s) {
7841
7841
  }), a;
7842
7842
  }
7843
7843
  var v2 = 1, y2 = 4;
7844
- function wn(e) {
7844
+ function _n(e) {
7845
7845
  return Ws(e, v2 | y2);
7846
7846
  }
7847
7847
  var x2 = "__lodash_hash_undefined__";
@@ -7867,15 +7867,15 @@ function Pg(e, t) {
7867
7867
  function Ug(e, t) {
7868
7868
  return e.has(t);
7869
7869
  }
7870
- var w2 = 1, _2 = 2;
7870
+ var _2 = 1, w2 = 2;
7871
7871
  function Bg(e, t, n, r, i, s) {
7872
- var a = n & w2, o = e.length, l = t.length;
7872
+ var a = n & _2, o = e.length, l = t.length;
7873
7873
  if (o != l && !(a && l > o))
7874
7874
  return !1;
7875
7875
  var c = s.get(e), u = s.get(t);
7876
7876
  if (c && u)
7877
7877
  return c == t && u == e;
7878
- var d = -1, h = !0, f = n & _2 ? new Xi() : void 0;
7878
+ var d = -1, h = !0, f = n & w2 ? new Xi() : void 0;
7879
7879
  for (s.set(e, t), s.set(t, e); ++d < o; ) {
7880
7880
  var p = e[d], g = t[d];
7881
7881
  if (r)
@@ -7976,8 +7976,8 @@ function F2(e, t, n, r, i, s) {
7976
7976
  m || (m = h == "constructor");
7977
7977
  }
7978
7978
  if (g && !m) {
7979
- var _ = e.constructor, w = t.constructor;
7980
- _ != w && "constructor" in e && "constructor" in t && !(typeof _ == "function" && _ instanceof _ && typeof w == "function" && w instanceof w) && (g = !1);
7979
+ var w = e.constructor, _ = t.constructor;
7980
+ w != _ && "constructor" in e && "constructor" in t && !(typeof w == "function" && w instanceof w && typeof _ == "function" && _ instanceof _) && (g = !1);
7981
7981
  }
7982
7982
  return s.delete(e), s.delete(t), g;
7983
7983
  }
@@ -8159,7 +8159,7 @@ function De(e) {
8159
8159
  if (t == d$ || t == f$)
8160
8160
  return !e.size;
8161
8161
  if (ro(e))
8162
- return !_g(e).length;
8162
+ return !wg(e).length;
8163
8163
  for (var n in e)
8164
8164
  if (m$.call(e, n))
8165
8165
  return !1;
@@ -8202,7 +8202,7 @@ var E$ = gg(function(e) {
8202
8202
  var t = h$(e);
8203
8203
  return ql(t) && (t = void 0), Gg(lo(e, 1, ql, !0), uo(t));
8204
8204
  });
8205
- const w$ = E$;
8205
+ const _$ = E$;
8206
8206
  function Zi(e) {
8207
8207
  return e && e.length ? Gg(e) : [];
8208
8208
  }
@@ -8251,7 +8251,7 @@ const oe = "cds", dn = {
8251
8251
  "5-color": 2,
8252
8252
  "14-color": 1
8253
8253
  }
8254
- }, we = {
8254
+ }, _e = {
8255
8255
  circle: {
8256
8256
  radius: 4,
8257
8257
  opacity: {
@@ -8269,7 +8269,7 @@ const oe = "cds", dn = {
8269
8269
  default: 1,
8270
8270
  thicker: 2
8271
8271
  }
8272
- }, _$ = {
8272
+ }, w$ = {
8273
8273
  defaultBins: 10
8274
8274
  }, Rt = {
8275
8275
  items: {
@@ -8908,8 +8908,7 @@ const ee = {
8908
8908
  center: {
8909
8909
  numberFontSize: (e) => `${Math.min(e / 100 * 24, 24)}px`,
8910
8910
  titleFontSize: (e) => `${Math.min(e / 100 * 15, 15)}px`,
8911
- titleYPosition: (e) => Math.min(e / 80 * 20, 20),
8912
- numberFormatter: (e) => Math.floor(e).toLocaleString()
8911
+ titleYPosition: (e) => Math.min(e / 80 * 20, 20)
8913
8912
  },
8914
8913
  alignment: Ft.LEFT
8915
8914
  }
@@ -9030,7 +9029,7 @@ function K$(e, t, n) {
9030
9029
  }
9031
9030
  function kt(e, t) {
9032
9031
  var n;
9033
- const r = wn(e), i = Object.keys(t.axes || {});
9032
+ const r = _n(e), i = Object.keys(t.axes || {});
9034
9033
  (n = t == null ? void 0 : t.toolbar) != null && n.controls && delete r.toolbar.controls, i.length === 0 && delete r.axes;
9035
9034
  for (const s in r.axes)
9036
9035
  if (i.includes(s)) {
@@ -9092,7 +9091,7 @@ function gu(e, t) {
9092
9091
  const i = r.map((o) => o.type), s = n.map((o) => o.type), a = O$.filter(
9093
9092
  (o) => s.includes(o.type) && !i.includes(o.type)
9094
9093
  );
9095
- e.legend.additionalItems = a, t.legend.additionalItems = w$(
9094
+ e.legend.additionalItems = a, t.legend.additionalItems = _$(
9096
9095
  a,
9097
9096
  r,
9098
9097
  "name"
@@ -9841,8 +9840,8 @@ function Xl(e, t, n) {
9841
9840
  let m = t.match(vL).map((v) => {
9842
9841
  const b = v[0];
9843
9842
  if (b === "p" || b === "P") {
9844
- const _ = aL[b];
9845
- return _(v, h.formatLong);
9843
+ const w = aL[b];
9844
+ return w(v, h.formatLong);
9846
9845
  }
9847
9846
  return v;
9848
9847
  }).join("").match(gL).map((v) => {
@@ -9870,8 +9869,8 @@ function Xl(e, t, n) {
9870
9869
  return v.value;
9871
9870
  const b = v.value;
9872
9871
  (!(n != null && n.useAdditionalWeekYearTokens) && hL(b) || !(n != null && n.useAdditionalDayOfYearTokens) && uL(b)) && dL(b, t, String(e));
9873
- const _ = ef[b[0]];
9874
- return _(g, b, h.localize, y);
9872
+ const w = ef[b[0]];
9873
+ return w(g, b, h.localize, y);
9875
9874
  }).join("");
9876
9875
  }
9877
9876
  function EL(e) {
@@ -9920,9 +9919,9 @@ function Zl(e, t, n, r, i, s) {
9920
9919
  r === "15seconds" && l.getMilliseconds() !== 0 && (f = f.replace("pp", "h:mm:ss.SSS a"));
9921
9920
  const p = i.localeObject, { code: g, optionsObject: m } = s, y = m[r].type, v = m[r][h ? "primary" : "secondary"][f];
9922
9921
  if (r === "quarterly" || !v) {
9923
- const b = Xl(l, f, { locale: p }).split("").map((_) => {
9924
- let w = Number(_);
9925
- return _ !== " " && !Number.isNaN(w) ? w.toLocaleString(g) : _;
9922
+ const b = Xl(l, f, { locale: p }).split("").map((w) => {
9923
+ let _ = Number(w);
9924
+ return w !== " " && !Number.isNaN(_) ? _.toLocaleString(g) : w;
9926
9925
  });
9927
9926
  return s[y](l, g, {}, b.join(""));
9928
9927
  } else
@@ -9943,11 +9942,11 @@ function $a(e) {
9943
9942
  // seconds: 0-59
9944
9943
  };
9945
9944
  }
9946
- function wL(e) {
9945
+ function _L(e) {
9947
9946
  if (e)
9948
9947
  return e.slice(1).map((t, n) => t - e[n]);
9949
9948
  }
9950
- function _L(e) {
9949
+ function wL(e) {
9951
9950
  const t = Qo.reduce((n, [, r], i) => {
9952
9951
  const s = Qo[n][1], a = Math.abs(s - e), o = Math.abs(r - e);
9953
9952
  return a < o ? n : i;
@@ -9959,8 +9958,8 @@ function Kl(e, t) {
9959
9958
  return t;
9960
9959
  if (e.length === 1)
9961
9960
  return "15seconds";
9962
- const n = wL(e), r = Rn(n);
9963
- return _L(r);
9961
+ const n = _L(e), r = Rn(n);
9962
+ return wL(r);
9964
9963
  }
9965
9964
  function Ts(e) {
9966
9965
  const { s: t, m: n, H: r } = $a(e);
@@ -10120,7 +10119,7 @@ let Je = class {
10120
10119
  * @param newData The new raw data to be set
10121
10120
  */
10122
10121
  setData(t) {
10123
- const n = this.sanitize(wn(t)), r = this.generateDataGroups(n);
10122
+ const n = this.sanitize(_n(t)), r = this.generateDataGroups(n);
10124
10123
  return this.set({
10125
10124
  data: n,
10126
10125
  dataGroups: r
@@ -10143,7 +10142,7 @@ let Je = class {
10143
10142
  return RL(t, "group");
10144
10143
  }
10145
10144
  getBinConfigurations() {
10146
- const t = this.getDisplayData(), n = this.getOptions(), r = this.services.cartesianScales.getMainXAxisPosition(), i = this.services.cartesianScales.getDomainIdentifier(), s = n.axes[r], { groupMapsTo: a } = n.data, { bins: o = _$.defaultBins } = s, l = Array.isArray(o), c = ny().value((f) => f[i]).thresholds(o)(t);
10145
+ const t = this.getDisplayData(), n = this.getOptions(), r = this.services.cartesianScales.getMainXAxisPosition(), i = this.services.cartesianScales.getDomainIdentifier(), s = n.axes[r], { groupMapsTo: a } = n.data, { bins: o = w$.defaultBins } = s, l = Array.isArray(o), c = ny().value((f) => f[i]).thresholds(o)(t);
10147
10146
  if (l)
10148
10147
  c[c.length - 1].x1 = o[o.length - 1];
10149
10148
  else {
@@ -10497,7 +10496,7 @@ let Je = class {
10497
10496
  * @param zoomBarData any special zoom bar data to use instead of the model data
10498
10497
  */
10499
10498
  setZoomBarData(t) {
10500
- const n = t ? this.sanitize(wn(t)) : this.getDisplayData();
10499
+ const n = t ? this.sanitize(_n(t)) : this.getDisplayData();
10501
10500
  let r = n;
10502
10501
  const { cartesianScales: i } = this.services;
10503
10502
  if (n && i.domainAxisPosition && i.rangeAxisPosition) {
@@ -10558,9 +10557,9 @@ let Je = class {
10558
10557
  }
10559
10558
  getBoxQuartiles(t) {
10560
10559
  return {
10561
- q_25: _o(t, 0.25),
10562
- q_50: _o(t, 0.5),
10563
- q_75: _o(t, 0.75)
10560
+ q_25: wo(t, 0.25),
10561
+ q_50: wo(t, 0.5),
10562
+ q_75: wo(t, 0.75)
10564
10563
  };
10565
10564
  }
10566
10565
  getBoxplotData() {
@@ -10900,7 +10899,7 @@ let Je = class {
10900
10899
  index: -1
10901
10900
  };
10902
10901
  }), t.forEach((a) => {
10903
- this._matrix[a] = wn(s);
10902
+ this._matrix[a] = _n(s);
10904
10903
  }), this.getDisplayData().forEach((a, o) => {
10905
10904
  this._matrix[a[r]][a[i]] = {
10906
10905
  value: a.value,
@@ -10915,7 +10914,7 @@ let Je = class {
10915
10914
  * @param newData The new raw data to be set
10916
10915
  */
10917
10916
  setData(t) {
10918
- const n = this.sanitize(wn(t)), r = this.generateDataGroups(n);
10917
+ const n = this.sanitize(_n(t)), r = this.generateDataGroups(n);
10919
10918
  return this.set({
10920
10919
  data: n,
10921
10920
  dataGroups: r
@@ -11170,10 +11169,10 @@ function La(e, t, n) {
11170
11169
  function b() {
11171
11170
  o !== void 0 && clearTimeout(o), c = 0, r = l = i = o = void 0;
11172
11171
  }
11173
- function _() {
11172
+ function w() {
11174
11173
  return o === void 0 ? a : v(Jo());
11175
11174
  }
11176
- function w() {
11175
+ function _() {
11177
11176
  var S = Jo(), M = m(S);
11178
11177
  if (r = arguments, i = this, l = S, M) {
11179
11178
  if (o === void 0)
@@ -11183,7 +11182,7 @@ function La(e, t, n) {
11183
11182
  }
11184
11183
  return o === void 0 && (o = setTimeout(y, t)), a;
11185
11184
  }
11186
- return w.cancel = b, w.flush = _, w;
11185
+ return _.cancel = b, _.flush = w, _;
11187
11186
  }
11188
11187
  function lD(e, t) {
11189
11188
  if (e.match(/^[a-z]+:\/\//i))
@@ -11308,7 +11307,7 @@ function yu(e) {
11308
11307
  const t = ED(e).toLowerCase();
11309
11308
  return bD[t] || "";
11310
11309
  }
11311
- function wD(e) {
11310
+ function _D(e) {
11312
11311
  return e.split(/,/)[1];
11313
11312
  }
11314
11313
  function Ql(e) {
@@ -11334,18 +11333,18 @@ async function pv(e, t, n) {
11334
11333
  });
11335
11334
  }
11336
11335
  const tl = {};
11337
- function _D(e, t, n) {
11336
+ function wD(e, t, n) {
11338
11337
  let r = e.replace(/\?.*/, "");
11339
11338
  return n && (r = e), /ttf|otf|eot|woff2?/i.test(r) && (r = r.replace(/.*\//, "")), t ? `[${t}]${r}` : r;
11340
11339
  }
11341
11340
  async function xu(e, t, n) {
11342
- const r = _D(e, t, n.includeQueryParams);
11341
+ const r = wD(e, t, n.includeQueryParams);
11343
11342
  if (tl[r] != null)
11344
11343
  return tl[r];
11345
11344
  n.cacheBust && (e += (/\?/.test(e) ? "&" : "?") + (/* @__PURE__ */ new Date()).getTime());
11346
11345
  let i;
11347
11346
  try {
11348
- const s = await pv(e, n.fetchRequestInit, ({ res: a, result: o }) => (t || (t = a.headers.get("Content-Type") || ""), wD(o)));
11347
+ const s = await pv(e, n.fetchRequestInit, ({ res: a, result: o }) => (t || (t = a.headers.get("Content-Type") || ""), _D(o)));
11349
11348
  i = fv(s, t);
11350
11349
  } catch (s) {
11351
11350
  i = n.imagePlaceholder || "";
@@ -11976,7 +11975,7 @@ function rk(e) {
11976
11975
  function ik(e, t) {
11977
11976
  return t - 1 - e.height;
11978
11977
  }
11979
- function wv(e, t) {
11978
+ function _v(e, t) {
11980
11979
  return e.sourceLinks.length ? e.depth : t - 1;
11981
11980
  }
11982
11981
  function Cs(e) {
@@ -12021,10 +12020,10 @@ function bf({ nodes: e }) {
12021
12020
  }
12022
12021
  }
12023
12022
  function lk() {
12024
- let e = 0, t = 0, n = 1, r = 1, i = 24, s = 8, a, o = sk, l = wv, c, u, d = ak, h = ok, f = 6;
12023
+ let e = 0, t = 0, n = 1, r = 1, i = 24, s = 8, a, o = sk, l = _v, c, u, d = ak, h = ok, f = 6;
12025
12024
  function p() {
12026
12025
  const E = { nodes: d.apply(null, arguments), links: h.apply(null, arguments) };
12027
- return g(E), m(E), y(E), v(E), w(E), bf(E), E;
12026
+ return g(E), m(E), y(E), v(E), _(E), bf(E), E;
12028
12027
  }
12029
12028
  p.update = function(E) {
12030
12029
  return bf(E), E;
@@ -12107,7 +12106,7 @@ function lk() {
12107
12106
  P.sort(c);
12108
12107
  return N;
12109
12108
  }
12110
- function _(E) {
12109
+ function w(E) {
12111
12110
  const $ = nk(E, (C) => (r - t - (C.length - 1) * a) / el(C, nl));
12112
12111
  for (const C of E) {
12113
12112
  let N = t;
@@ -12124,9 +12123,9 @@ function lk() {
12124
12123
  H(C);
12125
12124
  }
12126
12125
  }
12127
- function w(E) {
12126
+ function _(E) {
12128
12127
  const $ = b(E);
12129
- a = Math.min(s, (r - t) / (gf($, (C) => C.length) - 1)), _($);
12128
+ a = Math.min(s, (r - t) / (gf($, (C) => C.length) - 1)), w($);
12130
12129
  for (let C = 0; C < f; ++C) {
12131
12130
  const N = Math.pow(0.99, C), P = Math.max(1 - N, (C + 1) / f);
12132
12131
  M($, N, P), S($, N, P);
@@ -12230,10 +12229,10 @@ function rc() {
12230
12229
  this._x0 = this._y0 = // start of current subpath
12231
12230
  this._x1 = this._y1 = null, this._ = "";
12232
12231
  }
12233
- function _v() {
12232
+ function wv() {
12234
12233
  return new rc();
12235
12234
  }
12236
- rc.prototype = _v.prototype = {
12235
+ rc.prototype = wv.prototype = {
12237
12236
  constructor: rc,
12238
12237
  moveTo: function(e, t) {
12239
12238
  this._ += "M" + (this._x0 = this._x1 = +e) + "," + (this._y0 = this._y1 = +t);
@@ -12261,8 +12260,8 @@ rc.prototype = _v.prototype = {
12261
12260
  if (!(Math.abs(u * o - l * c) > zn) || !i)
12262
12261
  this._ += "L" + (this._x1 = e) + "," + (this._y1 = t);
12263
12262
  else {
12264
- var h = n - s, f = r - a, p = o * o + l * l, g = h * h + f * f, m = Math.sqrt(p), y = Math.sqrt(d), v = i * Math.tan((ec - Math.acos((p + d - g) / (2 * m * y))) / 2), b = v / y, _ = v / m;
12265
- Math.abs(b - 1) > zn && (this._ += "L" + (e + b * c) + "," + (t + b * u)), this._ += "A" + i + "," + i + ",0,0," + +(u * h > c * f) + "," + (this._x1 = e + _ * o) + "," + (this._y1 = t + _ * l);
12263
+ var h = n - s, f = r - a, p = o * o + l * l, g = h * h + f * f, m = Math.sqrt(p), y = Math.sqrt(d), v = i * Math.tan((ec - Math.acos((p + d - g) / (2 * m * y))) / 2), b = v / y, w = v / m;
12264
+ Math.abs(b - 1) > zn && (this._ += "L" + (e + b * c) + "," + (t + b * u)), this._ += "A" + i + "," + i + ",0,0," + +(u * h > c * f) + "," + (this._x1 = e + w * o) + "," + (this._y1 = t + w * l);
12266
12265
  }
12267
12266
  },
12268
12267
  arc: function(e, t, n, r, i, s) {
@@ -12301,7 +12300,7 @@ function mk(e) {
12301
12300
  var t = fk, n = pk, r = uk, i = hk, s = null;
12302
12301
  function a() {
12303
12302
  var o, l = dk.call(arguments), c = t.apply(this, l), u = n.apply(this, l);
12304
- if (s || (s = o = _v()), e(s, +r.apply(this, (l[0] = c, l)), +i.apply(this, l), +r.apply(this, (l[0] = u, l)), +i.apply(this, l)), o)
12303
+ if (s || (s = o = wv()), e(s, +r.apply(this, (l[0] = c, l)), +i.apply(this, l), +r.apply(this, (l[0] = u, l)), +i.apply(this, l)), o)
12305
12304
  return s = null, o + "" || null;
12306
12305
  }
12307
12306
  return a.source = function(o) {
@@ -12334,7 +12333,7 @@ function bk() {
12334
12333
  function Ek(e) {
12335
12334
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
12336
12335
  }
12337
- function wk(e) {
12336
+ function _k(e) {
12338
12337
  if (e.__esModule)
12339
12338
  return e;
12340
12339
  var t = e.default;
@@ -12355,7 +12354,7 @@ function wk(e) {
12355
12354
  });
12356
12355
  }), n;
12357
12356
  }
12358
- var _k = { value: function() {
12357
+ var wk = { value: function() {
12359
12358
  } };
12360
12359
  function Sv() {
12361
12360
  for (var e = 0, t = arguments.length, n = {}, r; e < t; ++e) {
@@ -12390,10 +12389,10 @@ qs.prototype = Sv.prototype = {
12390
12389
  throw new Error("invalid callback: " + t);
12391
12390
  for (; ++s < a; )
12392
12391
  if (i = (e = r[s]).type)
12393
- n[i] = wf(n[i], e.name, t);
12392
+ n[i] = _f(n[i], e.name, t);
12394
12393
  else if (t == null)
12395
12394
  for (i in n)
12396
- n[i] = wf(n[i], e.name, null);
12395
+ n[i] = _f(n[i], e.name, null);
12397
12396
  return this;
12398
12397
  },
12399
12398
  copy: function() {
@@ -12423,10 +12422,10 @@ function Ok(e, t) {
12423
12422
  if ((i = e[n]).name === t)
12424
12423
  return i.value;
12425
12424
  }
12426
- function wf(e, t, n) {
12425
+ function _f(e, t, n) {
12427
12426
  for (var r = 0, i = e.length; r < i; ++r)
12428
12427
  if (e[r].name === t) {
12429
- e[r] = _k, e = e.slice(0, r).concat(e.slice(r + 1));
12428
+ e[r] = wk, e = e.slice(0, r).concat(e.slice(r + 1));
12430
12429
  break;
12431
12430
  }
12432
12431
  return n != null && e.push({ name: t, value: n }), e;
@@ -12434,27 +12433,27 @@ function wf(e, t, n) {
12434
12433
  const Tk = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12435
12434
  __proto__: null,
12436
12435
  dispatch: Sv
12437
- }, Symbol.toStringTag, { value: "Module" })), Mk = /* @__PURE__ */ wk(Tk), Ck = Mk.dispatch, rl = Math.PI / 180, Ak = {
12436
+ }, Symbol.toStringTag, { value: "Module" })), Mk = /* @__PURE__ */ _k(Tk), Ck = Mk.dispatch, rl = Math.PI / 180, Ak = {
12438
12437
  archimedean: Ov,
12439
12438
  rectangular: Hk
12440
12439
  }, Oi = 64, Ys = 2048;
12441
12440
  var $k = function() {
12442
- var e = [256, 256], t = Lk, n = Dk, r = kk, i = _f, s = _f, a = Rk, o = Ik, l = Ov, c = [], u = 1 / 0, d = Ck("word", "end"), h = null, f = Math.random, p = {}, g = Fk;
12441
+ var e = [256, 256], t = Lk, n = Dk, r = kk, i = wf, s = wf, a = Rk, o = Ik, l = Ov, c = [], u = 1 / 0, d = Ck("word", "end"), h = null, f = Math.random, p = {}, g = Fk;
12443
12442
  p.canvas = function(v) {
12444
12443
  return arguments.length ? (g = $n(v), p) : g;
12445
12444
  }, p.start = function() {
12446
- var v = m(g()), b = Vk((e[0] >> 5) * e[1]), _ = null, w = c.length, S = -1, M = [], R = c.map(function(L, T) {
12445
+ var v = m(g()), b = Vk((e[0] >> 5) * e[1]), w = null, _ = c.length, S = -1, M = [], R = c.map(function(L, T) {
12447
12446
  return L.text = t.call(this, L, T), L.font = n.call(this, L, T), L.style = i.call(this, L, T), L.weight = s.call(this, L, T), L.rotate = a.call(this, L, T), L.size = ~~r.call(this, L, T), L.padding = o.call(this, L, T), L;
12448
12447
  }).sort(function(L, T) {
12449
12448
  return T.size - L.size;
12450
12449
  });
12451
12450
  return h && clearInterval(h), h = setInterval(D, 0), D(), p;
12452
12451
  function D() {
12453
- for (var L = Date.now(); Date.now() - L < u && ++S < w && h; ) {
12452
+ for (var L = Date.now(); Date.now() - L < u && ++S < _ && h; ) {
12454
12453
  var T = R[S];
12455
- T.x = e[0] * (f() + 0.5) >> 1, T.y = e[1] * (f() + 0.5) >> 1, Nk(v, T, R, S), T.hasText && y(b, T, _) && (M.push(T), d.call("word", p, T), _ ? Uk(_, T) : _ = [{ x: T.x + T.x0, y: T.y + T.y0 }, { x: T.x + T.x1, y: T.y + T.y1 }], T.x -= e[0] >> 1, T.y -= e[1] >> 1);
12454
+ T.x = e[0] * (f() + 0.5) >> 1, T.y = e[1] * (f() + 0.5) >> 1, Nk(v, T, R, S), T.hasText && y(b, T, w) && (M.push(T), d.call("word", p, T), w ? Uk(w, T) : w = [{ x: T.x + T.x0, y: T.y + T.y0 }, { x: T.x + T.x1, y: T.y + T.y1 }], T.x -= e[0] >> 1, T.y -= e[1] >> 1);
12456
12455
  }
12457
- S >= w && (p.stop(), d.call("end", p, M, _));
12456
+ S >= _ && (p.stop(), d.call("end", p, M, w));
12458
12457
  }
12459
12458
  }, p.stop = function() {
12460
12459
  h && (clearInterval(h), h = null);
@@ -12465,13 +12464,13 @@ var $k = function() {
12465
12464
  function m(v) {
12466
12465
  const b = v.getContext("2d", { willReadFrequently: !0 });
12467
12466
  v.width = v.height = 1;
12468
- const _ = Math.sqrt(b.getImageData(0, 0, 1, 1).data.length >> 2);
12469
- return v.width = (Oi << 5) / _, v.height = Ys / _, b.fillStyle = b.strokeStyle = "red", { context: b, ratio: _ };
12467
+ const w = Math.sqrt(b.getImageData(0, 0, 1, 1).data.length >> 2);
12468
+ return v.width = (Oi << 5) / w, v.height = Ys / w, b.fillStyle = b.strokeStyle = "red", { context: b, ratio: w };
12470
12469
  }
12471
- function y(v, b, _) {
12470
+ function y(v, b, w) {
12472
12471
  e[0], e[1];
12473
- for (var w = b.x, S = b.y, M = Math.sqrt(e[0] * e[0] + e[1] * e[1]), R = l(e), D = f() < 0.5 ? 1 : -1, L = -D, T, H, U; (T = R(L += D)) && (H = ~~T[0], U = ~~T[1], !(Math.min(Math.abs(H), Math.abs(U)) >= M)); )
12474
- if (b.x = w + H, b.y = S + U, !(b.x + b.x0 < 0 || b.y + b.y0 < 0 || b.x + b.x1 > e[0] || b.y + b.y1 > e[1]) && (!_ || Bk(b, _)) && !Pk(b, v, e[0])) {
12472
+ for (var _ = b.x, S = b.y, M = Math.sqrt(e[0] * e[0] + e[1] * e[1]), R = l(e), D = f() < 0.5 ? 1 : -1, L = -D, T, H, U; (T = R(L += D)) && (H = ~~T[0], U = ~~T[1], !(Math.min(Math.abs(H), Math.abs(U)) >= M)); )
12473
+ if (b.x = _ + H, b.y = S + U, !(b.x + b.x0 < 0 || b.y + b.y0 < 0 || b.x + b.x1 > e[0] || b.y + b.y1 > e[1]) && (!w || Bk(b, w)) && !Pk(b, v, e[0])) {
12475
12474
  for (var B = b.sprite, E = b.width >> 5, $ = e[0] >> 5, C = b.x - (E << 4), N = C & 127, P = 32 - N, j = b.y1 - b.y0, G = (b.y + b.y0) * $ + (C >> 5), nt, J = 0; J < j; J++) {
12476
12475
  nt = 0;
12477
12476
  for (var lt = 0; lt <= E; lt++)
@@ -12517,7 +12516,7 @@ function Lk(e) {
12517
12516
  function Dk() {
12518
12517
  return "serif";
12519
12518
  }
12520
- function _f() {
12519
+ function wf() {
12521
12520
  return "normal";
12522
12521
  }
12523
12522
  function kk(e) {
@@ -12549,17 +12548,17 @@ function Nk(e, t, n, r) {
12549
12548
  }
12550
12549
  for (var m = i.getImageData(0, 0, (Oi << 5) / s, Ys / s).data, y = []; --r >= 0; )
12551
12550
  if (t = n[r], !!t.hasText) {
12552
- for (var v = t.width, b = v >> 5, _ = t.y1 - t.y0, w = 0; w < _ * b; w++)
12553
- y[w] = 0;
12551
+ for (var v = t.width, b = v >> 5, w = t.y1 - t.y0, _ = 0; _ < w * b; _++)
12552
+ y[_] = 0;
12554
12553
  if (a = t.xoff, a == null)
12555
12554
  return;
12556
12555
  o = t.yoff;
12557
- for (var S = 0, M = -1, R = 0; R < _; R++) {
12558
- for (var w = 0; w < v; w++) {
12559
- var D = b * R + (w >> 5), L = m[(o + R) * (Oi << 5) + (a + w) << 2] ? 1 << 31 - w % 32 : 0;
12556
+ for (var S = 0, M = -1, R = 0; R < w; R++) {
12557
+ for (var _ = 0; _ < v; _++) {
12558
+ var D = b * R + (_ >> 5), L = m[(o + R) * (Oi << 5) + (a + _) << 2] ? 1 << 31 - _ % 32 : 0;
12560
12559
  y[D] |= L, S |= L;
12561
12560
  }
12562
- S ? M = R : (t.y0++, _--, R--, o++);
12561
+ S ? M = R : (t.y0++, w--, R--, o++);
12563
12562
  }
12564
12563
  t.y1 = t.y0 + M, t.sprite = y.slice(0, (t.y1 - t.y0) * b);
12565
12564
  }
@@ -12842,9 +12841,9 @@ var sR = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
12842
12841
  function aR(e) {
12843
12842
  return sR.test(e);
12844
12843
  }
12845
- var Tv = "\\ud800-\\udfff", oR = "\\u0300-\\u036f", lR = "\\ufe20-\\ufe2f", cR = "\\u20d0-\\u20ff", uR = oR + lR + cR, Mv = "\\u2700-\\u27bf", Cv = "a-z\\xdf-\\xf6\\xf8-\\xff", hR = "\\xac\\xb1\\xd7\\xf7", dR = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", fR = "\\u2000-\\u206f", pR = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", Av = "A-Z\\xc0-\\xd6\\xd8-\\xde", mR = "\\ufe0e\\ufe0f", $v = hR + dR + fR + pR, Lv = "['’]", Sf = "[" + $v + "]", gR = "[" + uR + "]", Dv = "\\d+", vR = "[" + Mv + "]", kv = "[" + Cv + "]", Rv = "[^" + Tv + $v + Dv + Mv + Cv + Av + "]", yR = "\\ud83c[\\udffb-\\udfff]", xR = "(?:" + gR + "|" + yR + ")", bR = "[^" + Tv + "]", Iv = "(?:\\ud83c[\\udde6-\\uddff]){2}", Nv = "[\\ud800-\\udbff][\\udc00-\\udfff]", Tr = "[" + Av + "]", ER = "\\u200d", Of = "(?:" + kv + "|" + Rv + ")", wR = "(?:" + Tr + "|" + Rv + ")", Tf = "(?:" + Lv + "(?:d|ll|m|re|s|t|ve))?", Mf = "(?:" + Lv + "(?:D|LL|M|RE|S|T|VE))?", Pv = xR + "?", Uv = "[" + mR + "]?", _R = "(?:" + ER + "(?:" + [bR, Iv, Nv].join("|") + ")" + Uv + Pv + ")*", SR = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", OR = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", TR = Uv + Pv + _R, MR = "(?:" + [vR, Iv, Nv].join("|") + ")" + TR, CR = RegExp([
12844
+ var Tv = "\\ud800-\\udfff", oR = "\\u0300-\\u036f", lR = "\\ufe20-\\ufe2f", cR = "\\u20d0-\\u20ff", uR = oR + lR + cR, Mv = "\\u2700-\\u27bf", Cv = "a-z\\xdf-\\xf6\\xf8-\\xff", hR = "\\xac\\xb1\\xd7\\xf7", dR = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", fR = "\\u2000-\\u206f", pR = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", Av = "A-Z\\xc0-\\xd6\\xd8-\\xde", mR = "\\ufe0e\\ufe0f", $v = hR + dR + fR + pR, Lv = "['’]", Sf = "[" + $v + "]", gR = "[" + uR + "]", Dv = "\\d+", vR = "[" + Mv + "]", kv = "[" + Cv + "]", Rv = "[^" + Tv + $v + Dv + Mv + Cv + Av + "]", yR = "\\ud83c[\\udffb-\\udfff]", xR = "(?:" + gR + "|" + yR + ")", bR = "[^" + Tv + "]", Iv = "(?:\\ud83c[\\udde6-\\uddff]){2}", Nv = "[\\ud800-\\udbff][\\udc00-\\udfff]", Tr = "[" + Av + "]", ER = "\\u200d", Of = "(?:" + kv + "|" + Rv + ")", _R = "(?:" + Tr + "|" + Rv + ")", Tf = "(?:" + Lv + "(?:d|ll|m|re|s|t|ve))?", Mf = "(?:" + Lv + "(?:D|LL|M|RE|S|T|VE))?", Pv = xR + "?", Uv = "[" + mR + "]?", wR = "(?:" + ER + "(?:" + [bR, Iv, Nv].join("|") + ")" + Uv + Pv + ")*", SR = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", OR = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", TR = Uv + Pv + wR, MR = "(?:" + [vR, Iv, Nv].join("|") + ")" + TR, CR = RegExp([
12846
12845
  Tr + "?" + kv + "+" + Tf + "(?=" + [Sf, Tr, "$"].join("|") + ")",
12847
- wR + "+" + Mf + "(?=" + [Sf, Tr + Of, "$"].join("|") + ")",
12846
+ _R + "+" + Mf + "(?=" + [Sf, Tr + Of, "$"].join("|") + ")",
12848
12847
  Tr + "?" + Of + "+" + Tf,
12849
12848
  Tr + "+" + Mf,
12850
12849
  OR,
@@ -13116,9 +13115,9 @@ function Wv() {
13116
13115
  const A = n.createElement("template");
13117
13116
  A.content && A.content.ownerDocument && (n = A.content.ownerDocument);
13118
13117
  }
13119
- let b, _ = "";
13118
+ let b, w = "";
13120
13119
  const {
13121
- implementation: w,
13120
+ implementation: _,
13122
13121
  createNodeIterator: S,
13123
13122
  createDocumentFragment: M,
13124
13123
  getElementsByTagName: R
@@ -13126,7 +13125,7 @@ function Wv() {
13126
13125
  importNode: D
13127
13126
  } = r;
13128
13127
  let L = {};
13129
- t.isSupported = typeof Fv == "function" && typeof v == "function" && w && w.createHTMLDocument !== void 0;
13128
+ t.isSupported = typeof Fv == "function" && typeof v == "function" && _ && _.createHTMLDocument !== void 0;
13130
13129
  const {
13131
13130
  MUSTACHE_EXPR: T,
13132
13131
  ERB_EXPR: H,
@@ -13199,9 +13198,9 @@ function Wv() {
13199
13198
  throw fi('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
13200
13199
  if (typeof A.TRUSTED_TYPES_POLICY.createScriptURL != "function")
13201
13200
  throw fi('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
13202
- b = A.TRUSTED_TYPES_POLICY, _ = b.createHTML("");
13201
+ b = A.TRUSTED_TYPES_POLICY, w = b.createHTML("");
13203
13202
  } else
13204
- b === void 0 && (b = iI(f, i)), b !== null && typeof _ == "string" && (_ = b.createHTML(""));
13203
+ b === void 0 && (b = iI(f, i)), b !== null && typeof w == "string" && (w = b.createHTML(""));
13205
13204
  ie && ie(A), pr = A;
13206
13205
  }
13207
13206
  }, Iu = ct({}, ["mi", "mo", "mn", "ms", "mtext"]), Nu = ct({}, ["foreignobject", "desc", "title", "annotation-xml"]), C0 = ct({}, ["title", "style", "font", "a", "script"]), Pu = ct({}, [...sl, ...al, ...YR]), Uu = ct({}, [...ol, ...XR]), A0 = function(A) {
@@ -13260,9 +13259,9 @@ function Wv() {
13260
13259
  } catch {
13261
13260
  }
13262
13261
  if (!Y || !Y.documentElement) {
13263
- Y = w.createDocument(fr, "template", null);
13262
+ Y = _.createDocument(fr, "template", null);
13264
13263
  try {
13265
- Y.documentElement.innerHTML = yo ? _ : xt;
13264
+ Y.documentElement.innerHTML = yo ? w : xt;
13266
13265
  } catch {
13267
13266
  }
13268
13267
  }
@@ -13412,7 +13411,7 @@ function Wv() {
13412
13411
  A.indexOf("<") === -1)
13413
13412
  return b && Ut ? b.createHTML(A) : A;
13414
13413
  if (W = Bu(A), !W)
13415
- return dt ? null : Ut ? _ : "";
13414
+ return dt ? null : Ut ? w : "";
13416
13415
  }
13417
13416
  W && Tt && mr(W.firstChild);
13418
13417
  const nn = Hu(ti ? A : W);
@@ -13905,7 +13904,7 @@ const Xv = class Zv extends ht {
13905
13904
  };
13906
13905
  Xv.instanceID = Math.floor(Math.random() * 99999999999);
13907
13906
  let ve = Xv;
13908
- class _n extends ht {
13907
+ class wn extends ht {
13909
13908
  constructor() {
13910
13909
  super(...arguments), this.type = "spacer";
13911
13910
  }
@@ -14116,7 +14115,7 @@ function cc(e) {
14116
14115
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
14117
14116
  }, cc(e);
14118
14117
  }
14119
- function wI(e, t) {
14118
+ function _I(e, t) {
14120
14119
  if (!(e instanceof t))
14121
14120
  throw new TypeError("Cannot call a class as a function");
14122
14121
  }
@@ -14126,7 +14125,7 @@ function Pf(e, t) {
14126
14125
  r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);
14127
14126
  }
14128
14127
  }
14129
- function _I(e, t, n) {
14128
+ function wI(e, t, n) {
14130
14129
  return t && Pf(e.prototype, t), n && Pf(e, n), Object.defineProperty(e, "prototype", {
14131
14130
  writable: !1
14132
14131
  }), e;
@@ -14210,12 +14209,12 @@ function $I(e) {
14210
14209
  var r = TI(i);
14211
14210
  function i() {
14212
14211
  var s;
14213
- wI(this, i);
14212
+ _I(this, i);
14214
14213
  for (var a = arguments.length, o = new Array(a), l = 0; l < a; l++)
14215
14214
  o[l] = arguments[l];
14216
14215
  return s = r.call.apply(r, [this].concat(o)), s.handles = /* @__PURE__ */ new Set(), s;
14217
14216
  }
14218
- return _I(i, [{
14217
+ return wI(i, [{
14219
14218
  key: "manage",
14220
14219
  value: (
14221
14220
  /**
@@ -15143,7 +15142,7 @@ class hs extends ht {
15143
15142
  return t.getSubStringLength(0, s) > i ? this.getSubstringIndex(t, n, s, i) : t.getSubStringLength(0, s) < i ? t.getSubStringLength(0, s + 1) > i ? s : this.getSubstringIndex(t, s, r, i) : s;
15144
15143
  }
15145
15144
  }
15146
- class wu extends ht {
15145
+ class _u extends ht {
15147
15146
  constructor() {
15148
15147
  super(...arguments), this.type = "legend", this.renderType = Q.HTML;
15149
15148
  }
@@ -15182,18 +15181,18 @@ class wu extends ht {
15182
15181
  if (y && a.length) {
15183
15182
  const v = this, b = u.selectAll("div.additional-item").data(y);
15184
15183
  b.exit().remove();
15185
- const _ = b.enter().append("div").merge(b).classed("legend-item", !0).classed("additional", !0).attr(
15184
+ const w = b.enter().append("div").merge(b).classed("legend-item", !0).classed("additional", !0).attr(
15186
15185
  "aria-labelledby",
15187
15186
  (M, R) => this.services.domUtils.generateElementIDString(
15188
15187
  `legend-datagroup-${m.size() + R}-title`
15189
15188
  )
15190
15189
  );
15191
- _.selectAll("*").remove();
15192
- let w, S = 1;
15193
- _.append("svg").classed("icon", !0).each(function(M) {
15190
+ w.selectAll("*").remove();
15191
+ let _, S = 1;
15192
+ w.append("svg").classed("icon", !0).each(function(M) {
15194
15193
  const R = k(this);
15195
- !w || w != M.type ? (w = M.type, S = 1) : S++, v.addAdditionalItem(R, M, S);
15196
- }), _.append("p").merge(_.select("p")), this.truncateLegendText();
15194
+ !_ || _ != M.type ? (_ = M.type, S = 1) : S++, v.addAdditionalItem(R, M, S);
15195
+ }), w.append("p").merge(w.select("p")), this.truncateLegendText();
15197
15196
  }
15198
15197
  d.exit().on("mouseover", null).on("click", null).on("mouseout", null).remove(), f && h.size() > 1 && this.addEventListeners();
15199
15198
  }
@@ -15454,7 +15453,7 @@ var zf = (Er = {}, Er[Xt.LEFT] = function(e, t, n) {
15454
15453
  }()
15455
15454
  );
15456
15455
  new go();
15457
- class _u extends ht {
15456
+ class wu extends ht {
15458
15457
  constructor(t, n, r) {
15459
15458
  super(t, n, r), this.type = "tooltip", this.renderType = Q.HTML, this.isEventListenerAdded = !1, this.positionService = new go(), this.handleShowTooltip = (i) => {
15460
15459
  const s = i.detail.data || i.detail.items;
@@ -15613,37 +15612,37 @@ const e0 = class Ks extends ht {
15613
15612
  if (d && u === Z.TIME) {
15614
15613
  let p = this.model.get("zoomDomain");
15615
15614
  p === void 0 && (p = this.services.zoom.getDefaultZoomBarDomain(), p && this.model.set({ zoomDomain: p }, { animate: !1 }));
15616
- const g = (w) => {
15617
- const S = w[1] - w[0];
15615
+ const g = (_) => {
15616
+ const S = _[1] - _[0];
15618
15617
  let M = "0," + S.toString();
15619
15618
  const R = Math.floor(l / Ks.DASH_LENGTH), D = R * Ks.DASH_LENGTH;
15620
15619
  for (let L = 0; L < R; L++)
15621
15620
  M += "," + Ks.DASH_LENGTH;
15622
15621
  M += "," + (l - D), R % 2 === 1 && (M += ",0"), M += "," + S.toString(), M += "," + l.toString(), f.attr("stroke-dasharray", M);
15623
- }, m = (w) => {
15624
- const S = w.selection;
15622
+ }, m = (_) => {
15623
+ const S = _.selection;
15625
15624
  S === null || S[0] === S[1] || (f.attr("x", parseFloat(a.attr("x")) + parseFloat(i.attr("x"))).attr("y", a.attr("y")).attr("width", a.attr("width")).attr("height", a.attr("height")).style("cursor", "pointer").style("display", null), g(S));
15626
- }, y = (w, S) => {
15625
+ }, y = (_, S) => {
15627
15626
  const M = Ym().range([0, o]).domain(p);
15628
- let R = [M.invert(w), M.invert(S)];
15627
+ let R = [M.invert(_), M.invert(S)];
15629
15628
  R[0].valueOf() === R[1].valueOf() && (R = this.services.zoom.getDefaultZoomBarDomain()), (p[0].valueOf() !== R[0].valueOf() || p[1].valueOf() !== R[1].valueOf()) && this.services.zoom.handleDomainChange(R);
15630
15629
  };
15631
15630
  let v;
15632
- const b = (w) => {
15633
- const S = w.selection;
15631
+ const b = (_) => {
15632
+ const S = _.selection;
15634
15633
  S !== null && (y(S[0], S[1]), s.call(v.move, null), f.style("display", "none"));
15635
15634
  };
15636
15635
  l != 0 && o != 0 && (v = am().extent([
15637
15636
  [0, 0],
15638
15637
  [o - 1, l]
15639
15638
  ]).on("start brush end", m).on("end.brushed", b), s.call(v));
15640
- const _ = this.services.zoom.getZoomRatio();
15641
- i.on("click", function(w) {
15642
- if (w.shiftKey) {
15639
+ const w = this.services.zoom.getZoomRatio();
15640
+ i.on("click", function(_) {
15641
+ if (_.shiftKey) {
15643
15642
  const S = this.services.domUtils.getHolder(), M = Kn(s.node(), S)[0];
15644
- let R = M - o * _ / 2;
15643
+ let R = M - o * w / 2;
15645
15644
  R < 0 && (R = 0);
15646
- let D = M + o * _ / 2;
15645
+ let D = M + o * w / 2;
15647
15646
  D > o && (D = o), y(R, D);
15648
15647
  }
15649
15648
  });
@@ -15652,7 +15651,7 @@ const e0 = class Ks extends ht {
15652
15651
  };
15653
15652
  e0.DASH_LENGTH = 4;
15654
15653
  let EN = e0;
15655
- class wN extends ht {
15654
+ class _N extends ht {
15656
15655
  constructor() {
15657
15656
  super(...arguments), this.type = "zoom-bar", this.renderType = Q.SVG, this.MIN_SELECTION_DIFF = 9e-10, this.brushSelector = "g.zoom-bar-brush", this.clipId = "zoomBarClip-" + Math.floor(Math.random() * 99999999999), this.brush = am(), this.highlightStrokeWidth = 1;
15658
15657
  }
@@ -15712,7 +15711,7 @@ class wN extends ht {
15712
15711
  },
15713
15712
  { skipUpdate: !0 }
15714
15713
  ), this.xScale.range([c, l]).domain(y), this.maxSelectionRange = this.xScale.range(), this.yScale.range([0, o - 6]).domain(Re(m, (S) => S.value));
15715
- const _ = this.model.get("zoomDomain");
15714
+ const w = this.model.get("zoomDomain");
15716
15715
  if (s === je.GRAPH_VIEW && (this.renderZoomBarArea(d, "path.zoom-graph-area-unselected", m, null), this.updateClipPath(n, this.clipId, 0, 0, 0, 0), this.renderZoomBarArea(d, "path.zoom-graph-area", m, this.clipId), this.renderZoomBarBaseline(d, c, l), a)) {
15717
15716
  const S = a.highlightStartMapsTo, M = a.highlightEndMapsTo, R = a.color, D = a.labelMapsTo;
15718
15717
  a.data.forEach((L, T) => {
@@ -15728,16 +15727,16 @@ class wN extends ht {
15728
15727
  ).style("stroke-dasharray", "2, 2").attr("stroke-width", "1px");
15729
15728
  });
15730
15729
  }
15731
- this.addBrushEventListener(_, c, l);
15732
- const w = I.appendOrSelect(n, this.brushSelector).call(this.brush);
15733
- if (_ !== void 0)
15734
- if (_[0].valueOf() === _[1].valueOf())
15735
- w.call(this.brush.move, this.xScale.range()), this.updateBrushHandle(this.getComponentContainer(), this.xScale.range());
15730
+ this.addBrushEventListener(w, c, l);
15731
+ const _ = I.appendOrSelect(n, this.brushSelector).call(this.brush);
15732
+ if (w !== void 0)
15733
+ if (w[0].valueOf() === w[1].valueOf())
15734
+ _.call(this.brush.move, this.xScale.range()), this.updateBrushHandle(this.getComponentContainer(), this.xScale.range());
15736
15735
  else {
15737
- const S = _.map((M) => this.xScale(M));
15738
- S[1] - S[0] < this.MIN_SELECTION_DIFF || (w.call(this.brush.move, S), this.updateBrushHandle(this.getComponentContainer(), S));
15736
+ const S = w.map((M) => this.xScale(M));
15737
+ S[1] - S[0] < this.MIN_SELECTION_DIFF || (_.call(this.brush.move, S), this.updateBrushHandle(this.getComponentContainer(), S));
15739
15738
  }
15740
- i && (this.brush.filter(() => !1), w.selectAll("rect").attr("cursor", "auto"));
15739
+ i && (this.brush.filter(() => !1), _.selectAll("rect").attr("cursor", "auto"));
15741
15740
  }
15742
15741
  }
15743
15742
  addBrushEventListener(t, n, r) {
@@ -15802,7 +15801,7 @@ class wN extends ht {
15802
15801
  I.appendOrSelect(i, "rect.zoom-slider-selected-area").attr("x", t[0]).attr("y", r / 2 - 1).attr("width", t[1] - t[0]).attr("height", 2);
15803
15802
  }
15804
15803
  renderZoomBarArea(t, n, r, i) {
15805
- const { cartesianScales: s } = this.services, a = s.getMainXAxisPosition(), o = s.getMainYAxisPosition(), l = s.getMainXScaleType(), c = s.getMainYScaleType(), u = (y, v, b) => (_) => s.getValueFromScale(y, v, b, _), d = u(this.xScale, l, a), h = u(this.yScale, c, o), f = x(this.getOptions(), "zoomBar", V.TOP, "type"), p = me.height[f], g = Qc().x((y) => d(y)).y0(p).y1((y) => p - h(y)), m = I.appendOrSelect(t, n).datum(r).attr("d", g);
15804
+ const { cartesianScales: s } = this.services, a = s.getMainXAxisPosition(), o = s.getMainYAxisPosition(), l = s.getMainXScaleType(), c = s.getMainYScaleType(), u = (y, v, b) => (w) => s.getValueFromScale(y, v, b, w), d = u(this.xScale, l, a), h = u(this.yScale, c, o), f = x(this.getOptions(), "zoomBar", V.TOP, "type"), p = me.height[f], g = Qc().x((y) => d(y)).y0(p).y1((y) => p - h(y)), m = I.appendOrSelect(t, n).datum(r).attr("d", g);
15806
15805
  i && m.attr("clip-path", `url(#${i})`);
15807
15806
  }
15808
15807
  updateClipPath(t, n, r, i, s, a) {
@@ -15813,7 +15812,7 @@ class wN extends ht {
15813
15812
  compensateDataForDefaultDomain(t, n) {
15814
15813
  if (!t || t.length < 2)
15815
15814
  return;
15816
- const r = wn(t), i = this.services.cartesianScales.getDomainIdentifier(), s = this.services.cartesianScales.getRangeIdentifier();
15815
+ const r = _n(t), i = this.services.cartesianScales.getDomainIdentifier(), s = this.services.cartesianScales.getRangeIdentifier();
15817
15816
  if (Number(n[0]) < Number(r[0][i])) {
15818
15817
  const a = {};
15819
15818
  a[i] = n[0], a[s] = 0, r.unshift(a);
@@ -15846,7 +15845,7 @@ class wN extends ht {
15846
15845
  this.brush.on("start brush end", null), this.services.events.removeEventListener(O.ZoomBar.UPDATE, this.render.bind(this));
15847
15846
  }
15848
15847
  }
15849
- class _N extends ht {
15848
+ class wN extends ht {
15850
15849
  constructor(t, n) {
15851
15850
  super(t, n), this.type = "threshold", this.renderType = Q.SVG, this.positionService = new go();
15852
15851
  }
@@ -15880,10 +15879,10 @@ class _N extends ht {
15880
15879
  ), d = l.services.cartesianScales.getScaleTypeByPosition(c);
15881
15880
  let h = null, f = null;
15882
15881
  c === V.LEFT || c === V.RIGHT ? (f = u, h = l.services.cartesianScales.getMainXScale()) : (h = u, f = l.services.cartesianScales.getMainYScale());
15883
- const p = d === Z.LABELS, [g, m] = h.range(), [y, v] = f.range(), { cartesianScales: b } = l.services, _ = b.getOrientation(), w = (L) => b.getDomainValue(L), S = (L) => b.getRangeValue(L), [M, R] = mn(
15884
- w,
15882
+ const p = d === Z.LABELS, [g, m] = h.range(), [y, v] = f.range(), { cartesianScales: b } = l.services, w = b.getOrientation(), _ = (L) => b.getDomainValue(L), S = (L) => b.getRangeValue(L), [M, R] = mn(
15883
+ _,
15885
15884
  S,
15886
- _
15885
+ w
15887
15886
  ), D = k(this);
15888
15887
  c === V.TOP || c === V.BOTTOM ? (D.selectAll("line.threshold-line").transition().call(
15889
15888
  (L) => l.services.transitions.setupTransition({
@@ -16015,7 +16014,7 @@ class SN extends ht {
16015
16014
  o.append("rect").attr("class", "highlight-bar"), o.append("line").attr("class", "highlight-line"), o.merge(a).attr("class", "highlight-group");
16016
16015
  const l = this;
16017
16016
  s.each(function({ axisPosition: c }) {
16018
- const u = l.services.cartesianScales.getMainXScale(), d = l.services.cartesianScales.getMainYScale(), [h, f] = u.range(), [p, g] = d.range(), { cartesianScales: m } = l.services, y = m.getOrientation(), v = (M) => m.getDomainValue(M), b = (M) => m.getRangeValue(M), [_, w] = mn(
16017
+ const u = l.services.cartesianScales.getMainXScale(), d = l.services.cartesianScales.getMainYScale(), [h, f] = u.range(), [p, g] = d.range(), { cartesianScales: m } = l.services, y = m.getOrientation(), v = (M) => m.getDomainValue(M), b = (M) => m.getRangeValue(M), [w, _] = mn(
16019
16018
  v,
16020
16019
  b,
16021
16020
  y
@@ -16026,23 +16025,23 @@ class SN extends ht {
16026
16025
  name: "highlight-bar-update",
16027
16026
  animate: t
16028
16027
  })
16029
- ).attr("y", Math.max(g + l.highlightStrokeWidth, 0)).attr("height", Math.max(p - 2 * l.highlightStrokeWidth, 0)).attr("x", ({ highlightStartMapsTo: M, ...R }) => _(R[M])).attr(
16028
+ ).attr("y", Math.max(g + l.highlightStrokeWidth, 0)).attr("height", Math.max(p - 2 * l.highlightStrokeWidth, 0)).attr("x", ({ highlightStartMapsTo: M, ...R }) => w(R[M])).attr(
16030
16029
  "width",
16031
- ({ highlightStartMapsTo: M, highlightEndMapsTo: R, ...D }) => Math.max(_(D[R]) - _(D[M]), 0)
16030
+ ({ highlightStartMapsTo: M, highlightEndMapsTo: R, ...D }) => Math.max(w(D[R]) - w(D[M]), 0)
16032
16031
  ).style("stroke", ({ color: M, labelMapsTo: R, ...D }) => M && M.scale[D[R]] ? M.scale[D[R]] : null).style("stroke-dasharray", "2, 2").attr("stroke-width", l.highlightStrokeWidth + "px").style("fill-opacity", 0.1).style("fill", ({ color: M, labelMapsTo: R, ...D }) => M && M.scale[D[R]] ? M.scale[D[R]] : null) : S.selectAll("rect.highlight-bar").transition().call(
16033
16032
  (M) => l.services.transitions.setupTransition({
16034
16033
  transition: M,
16035
16034
  name: "highlight-bar-update",
16036
16035
  animate: t
16037
16036
  })
16038
- ).attr("x", h).attr("width", Math.max(f - h, 0)).attr("y", ({ highlightEndMapsTo: M, ...R }) => w(R[M])).attr(
16037
+ ).attr("x", h).attr("width", Math.max(f - h, 0)).attr("y", ({ highlightEndMapsTo: M, ...R }) => _(R[M])).attr(
16039
16038
  "height",
16040
- ({ highlightStartMapsTo: M, highlightEndMapsTo: R, ...D }) => Math.max(w(D[M]) - w(D[R]), 0)
16039
+ ({ highlightStartMapsTo: M, highlightEndMapsTo: R, ...D }) => Math.max(_(D[M]) - _(D[R]), 0)
16041
16040
  ).style("stroke", ({ color: M, labelMapsTo: R, ...D }) => M && M.scale[D[R]] ? M.scale[D[R]] : null).style("stroke-dasharray", "2, 2").attr("stroke-width", l.highlightStrokeWidth + "px").style("fill-opacity", 0.1).style("fill", ({ color: M, labelMapsTo: R, ...D }) => M && M.scale[D[R]] ? M.scale[D[R]] : null);
16042
16041
  });
16043
16042
  }
16044
16043
  }
16045
- class n0 extends _u {
16044
+ class n0 extends wu {
16046
16045
  getItems(t) {
16047
16046
  if (t.detail.items)
16048
16047
  return t.detail.items;
@@ -16153,7 +16152,7 @@ class ON extends ht {
16153
16152
  let l = Ae.minNodePadding;
16154
16153
  s.alluvial.nodePadding > Ae.minNodePadding && (l = s.alluvial.nodePadding);
16155
16154
  const c = x(s, "alluvial", "nodeAlignment");
16156
- let u = wv;
16155
+ let u = _v;
16157
16156
  c === Ft.LEFT ? u = rk : c === Ft.RIGHT && (u = ik);
16158
16157
  const d = lk().nodeId((v) => v.name).nodeWidth(Ae.nodeWidth).nodePadding(l).nodeAlign(u).extent([
16159
16158
  [2, 30],
@@ -16171,21 +16170,21 @@ class ON extends ht {
16171
16170
  "id",
16172
16171
  (v, b) => this.services.domUtils.generateElementIDString(`alluvial-category-${b}`)
16173
16172
  ).style("font-size", "14px").text((v) => h[v] ? h[v] : "").attr("y", 20).attr("x", (v, b) => {
16174
- const _ = this.services.domUtils.generateElementIDString(
16173
+ const w = this.services.domUtils.generateElementIDString(
16175
16174
  `alluvial-category-${b}`
16176
- ), { width: w } = I.getSVGElementSize(k(`text#${_}`), {
16175
+ ), { width: _ } = I.getSVGElementSize(k(`text#${w}`), {
16177
16176
  useBBox: !0
16178
16177
  });
16179
16178
  let S = 0;
16180
- return v + S >= w && (S = -w + 4), S;
16179
+ return v + S >= _ && (S = -_ + 4), S;
16181
16180
  });
16182
16181
  const f = n.append("g").attr("fill", "none").selectAll("g").data(this.graph.links);
16183
16182
  if (f.exit().remove(), o) {
16184
16183
  const v = x(this.getOptions(), "color", "scale");
16185
16184
  v && f.enter().append("linearGradient").attr("id", (b) => `${this.gradient_id}-link-${b.index}`).attr("gradientUnits", "userSpaceOnUse").call(
16186
- (b) => b.append("stop").attr("offset", "0%").attr("stop-color", (_) => v[_.source.name])
16185
+ (b) => b.append("stop").attr("offset", "0%").attr("stop-color", (w) => v[w.source.name])
16187
16186
  ).call(
16188
- (b) => b.append("stop").attr("offset", "100%").attr("stop-color", (_) => v[_.target.name])
16187
+ (b) => b.append("stop").attr("offset", "100%").attr("stop-color", (w) => v[w.target.name])
16189
16188
  ), f.exit().remove();
16190
16189
  }
16191
16190
  f.enter().append("path").classed("link", !0).attr("d", bk()).attr(
@@ -16216,20 +16215,20 @@ class ON extends ht {
16216
16215
  "id",
16217
16216
  (v) => this.services.domUtils.generateElementIDString(`alluvial-node-text-${v.index}`)
16218
16217
  ).attr("class", "node-text").style("font-size", "12px").attr("text-anchor", "start").attr("fill", "white").attr("x", 4).attr("dy", 13).text((v) => `${v.name} (${y(v.value, m)})`).attr("aria-label", (v) => `${v.name} (${v.value})`), g.append("rect").classed("node-text-bg", !0).attr("width", (v, b) => {
16219
- const _ = this.services.domUtils.generateElementIDString(
16218
+ const w = this.services.domUtils.generateElementIDString(
16220
16219
  `alluvial-node-text-${b}`
16221
- ), { width: w } = I.getSVGElementSize(k(`text#${_}`), {
16220
+ ), { width: _ } = I.getSVGElementSize(k(`text#${w}`), {
16222
16221
  useBBox: !0
16223
16222
  });
16224
- return w + 8;
16223
+ return _ + 8;
16225
16224
  }).attr("height", 18).attr("stroke-width", 2).lower(), g.attr("transform", (v, b) => {
16226
- const _ = this.services.domUtils.generateElementIDString(
16225
+ const w = this.services.domUtils.generateElementIDString(
16227
16226
  `alluvial-node-text-${b}`
16228
- ), { width: w } = I.getSVGElementSize(k(`text#${_}`), {
16227
+ ), { width: _ } = I.getSVGElementSize(k(`text#${w}`), {
16229
16228
  useBBox: !0
16230
16229
  }), S = (v.y1 - v.y0) / 2 - 9;
16231
16230
  let M = v.x1 - v.x0;
16232
- return v.x1 >= w ? M = M - (w + 16) : M += 4, `translate(${M}, ${S})`;
16231
+ return v.x1 >= _ ? M = M - (_ + 16) : M += 4, `translate(${M}, ${S})`;
16233
16232
  }), this.addLineEventListener(), this.addNodeEventListener();
16234
16233
  }
16235
16234
  addLineEventListener() {
@@ -16496,33 +16495,33 @@ class r0 extends ht {
16496
16495
  render(t = !0) {
16497
16496
  const n = this.getComponentContainer({ withinChartClip: !0 }), r = this.getOptions();
16498
16497
  let i = [0, 0];
16499
- const { cartesianScales: s } = this.services, a = s.getOrientation(), o = Qc().curve(this.services.curves.getD3Curve()).defined((w) => {
16498
+ const { cartesianScales: s } = this.services, a = s.getOrientation(), o = Qc().curve(this.services.curves.getD3Curve()).defined((_) => {
16500
16499
  const S = s.getRangeIdentifier();
16501
- return w[S] != null;
16500
+ return _[S] != null;
16502
16501
  }), l = this.model.getGroupedData(this.configs.groups), c = x(r, "bounds"), u = c && l && l.length === 1;
16503
16502
  !u && c && console.warn(
16504
16503
  `Bounds can only be shown when having 1 single datagroup, you've supplied ${l.length}`
16505
16504
  );
16506
16505
  let d = 0;
16507
- const h = (w, S) => {
16508
- x(r, "axes", w, "includeZero") === !1 && S[0] > 0 && S[1] > 0 && (d = S[0]);
16509
- }, f = (w) => u ? s.getBoundedScaledValues(w)[0] : s.getRangeValue(d), p = (w) => u ? s.getBoundedScaledValues(w)[1] : s.getRangeValue(w);
16510
- a === jt.VERTICAL ? (i = s.getMainYScale().domain(), h(s.getMainYAxisPosition(), i), o.x((w) => s.getDomainValue(w)).y0((w) => f(w)).y1((w) => p(w))) : (i = s.getMainXScale().domain(), h(s.getMainXAxisPosition(), i), o.x0((w) => f(w)).x1((w) => p(w)).y((w) => s.getDomainValue(w)));
16506
+ const h = (_, S) => {
16507
+ x(r, "axes", _, "includeZero") === !1 && S[0] > 0 && S[1] > 0 && (d = S[0]);
16508
+ }, f = (_) => u ? s.getBoundedScaledValues(_)[0] : s.getRangeValue(d), p = (_) => u ? s.getBoundedScaledValues(_)[1] : s.getRangeValue(_);
16509
+ a === jt.VERTICAL ? (i = s.getMainYScale().domain(), h(s.getMainYAxisPosition(), i), o.x((_) => s.getDomainValue(_)).y0((_) => f(_)).y1((_) => p(_))) : (i = s.getMainXScale().domain(), h(s.getMainXAxisPosition(), i), o.x0((_) => f(_)).x1((_) => p(_)).y((_) => s.getDomainValue(_)));
16511
16510
  const g = x(r, "color", "gradient", "enabled"), m = l && l.length === 1 && g;
16512
16511
  l.length > 1 && g && console.error("Gradients can only be enabled when having 1 single dataset");
16513
- const y = n.selectAll("path.area").data(l, (w) => w.name), v = k(this.services.domUtils.getMainContainer());
16512
+ const y = n.selectAll("path.area").data(l, (_) => _.name), v = k(this.services.domUtils.getMainContainer());
16514
16513
  if (y.exit().attr("opacity", 0).remove(), !l.length)
16515
16514
  return;
16516
16515
  if (m) {
16517
- const w = v.select(
16516
+ const _ = v.select(
16518
16517
  `path.${this.model.getColorClassName({
16519
16518
  classNameTypes: [et.STROKE],
16520
16519
  dataGroupName: l[0].name
16521
16520
  })}`
16522
16521
  ).node();
16523
16522
  let S;
16524
- if (w)
16525
- S = getComputedStyle(w, null).getPropertyValue(
16523
+ if (_)
16524
+ S = getComputedStyle(_, null).getPropertyValue(
16526
16525
  "stroke"
16527
16526
  );
16528
16527
  else {
@@ -16547,39 +16546,39 @@ class r0 extends ht {
16547
16546
  this.parent.selectAll("defs linearGradient").empty() || this.parent.selectAll("defs linearGradient").each(function() {
16548
16547
  this.parentNode.remove();
16549
16548
  });
16550
- const b = this, _ = y.enter().append("path");
16551
- m ? _.merge(y).style(
16549
+ const b = this, w = y.enter().append("path");
16550
+ m ? w.merge(y).style(
16552
16551
  "fill",
16553
- (w) => `url(#${this.services.domUtils.generateElementIDString(
16554
- `${w.name.replace(" ", "")}_${this.gradient_id}`
16552
+ (_) => `url(#${this.services.domUtils.generateElementIDString(
16553
+ `${_.name.replace(" ", "")}_${this.gradient_id}`
16555
16554
  )})`
16556
16555
  ).attr("class", "area").attr(
16557
16556
  "class",
16558
- (w) => this.model.getColorClassName({
16557
+ (_) => this.model.getColorClassName({
16559
16558
  classNameTypes: [et.FILL],
16560
- dataGroupName: w.name,
16559
+ dataGroupName: _.name,
16561
16560
  originalClassName: "area"
16562
16561
  })
16563
- ).attr("d", (w) => {
16564
- const { data: S } = w;
16562
+ ).attr("d", (_) => {
16563
+ const { data: S } = _;
16565
16564
  return o(S);
16566
- }) : (_.attr("opacity", 0).merge(y).attr("class", "area").attr(
16565
+ }) : (w.attr("opacity", 0).merge(y).attr("class", "area").attr(
16567
16566
  "class",
16568
- (w) => this.model.getColorClassName({
16567
+ (_) => this.model.getColorClassName({
16569
16568
  classNameTypes: [et.FILL, et.STROKE],
16570
- dataGroupName: w.name,
16569
+ dataGroupName: _.name,
16571
16570
  originalClassName: "area"
16572
16571
  })
16573
- ).style("fill", (w) => b.model.getFillColor(w.name)).transition().call(
16574
- (w) => this.services.transitions.setupTransition({
16575
- transition: w,
16572
+ ).style("fill", (_) => b.model.getFillColor(_.name)).transition().call(
16573
+ (_) => this.services.transitions.setupTransition({
16574
+ transition: _,
16576
16575
  name: "area-update-enter",
16577
16576
  animate: t
16578
16577
  })
16579
- ).attr("opacity", u ? 1 : dn.opacity.selected).attr("d", (w) => {
16580
- const { data: S } = w;
16578
+ ).attr("opacity", u ? 1 : dn.opacity.selected).attr("d", (_) => {
16579
+ const { data: S } = _;
16581
16580
  return o(S);
16582
- }), u && _.attr("fill-opacity", dn.opacity.selected).style("stroke", (w) => b.model.getStrokeColor(w.name)).style("stroke-dasharray", "2, 2").attr("stroke-width", 0.7 + "px"));
16581
+ }), u && w.attr("fill-opacity", dn.opacity.selected).style("stroke", (_) => b.model.getStrokeColor(_.name)).style("stroke-dasharray", "2, 2").attr("stroke-width", 0.7 + "px"));
16583
16582
  }
16584
16583
  destroy() {
16585
16584
  const t = this.services.events;
@@ -16705,18 +16704,18 @@ class Nn extends ht {
16705
16704
  const g = this.pointsWithinLine.reduce((m, y) => {
16706
16705
  if (m.length === 0)
16707
16706
  return m.push(y), m;
16708
- const v = m[0].domainValue, b = Math.abs(u - y.domainValue), _ = Math.abs(u - v);
16709
- return b > _ || (b < _ ? m = [y] : m.push(y)), m;
16707
+ const v = m[0].domainValue, b = Math.abs(u - y.domainValue), w = Math.abs(u - v);
16708
+ return b > w || (b < w ? m = [y] : m.push(y)), m;
16710
16709
  }, []);
16711
16710
  if (g.length > 0) {
16712
- const m = g.map((_) => _.originalData).filter((_) => {
16713
- const w = this.services.cartesianScales.getRangeIdentifier(_);
16714
- return _[w] != null;
16711
+ const m = g.map((w) => w.originalData).filter((w) => {
16712
+ const _ = this.services.cartesianScales.getRangeIdentifier(w);
16713
+ return w[_] != null;
16715
16714
  }), y = g.map(
16716
- (_) => _.domainValue
16717
- ), v = f.filter((_) => {
16718
- const w = this.services.cartesianScales.getDomainValue(_);
16719
- return y.includes(w);
16715
+ (w) => w.domainValue
16716
+ ), v = f.filter((w) => {
16717
+ const _ = this.services.cartesianScales.getDomainValue(w);
16718
+ return y.includes(_);
16720
16719
  });
16721
16720
  this.elementsToHighlight && this.elementsToHighlight.size() > 0 && !Vv(this.elementsToHighlight, v) && this.hideRuler(), v.dispatch("mouseover"), this.elementsToHighlight = v, this.services.events.dispatchEvent(O.Tooltip.SHOW, {
16722
16721
  mousePosition: [n, r],
@@ -17056,7 +17055,7 @@ class i0 extends ht {
17056
17055
  p.attr("aria-hidden", !0);
17057
17056
  return;
17058
17057
  }
17059
- const _ = x(m, "scaleType"), w = x(r, "data", "loading"), S = x(m, "ticks", "number"), M = x(m, "ticks", "values"), R = x(m, "truncation", "type"), D = x(m, "truncation", "threshold"), L = x(m, "truncation", "numCharacter"), T = S !== null, H = x(r, "timeScale"), U = I.appendOrSelect(g, "g.tick"), B = I.appendOrSelect(U, "text").text("0"), E = I.getSVGElementSize(B.node(), {
17058
+ const w = x(m, "scaleType"), _ = x(r, "data", "loading"), S = x(m, "ticks", "number"), M = x(m, "ticks", "values"), R = x(m, "truncation", "type"), D = x(m, "truncation", "threshold"), L = x(m, "truncation", "numCharacter"), T = S !== null, H = x(r, "timeScale"), U = I.appendOrSelect(g, "g.tick"), B = I.appendOrSelect(U, "text").text("0"), E = I.getSVGElementSize(B.node(), {
17060
17059
  useBBox: !0
17061
17060
  }).height;
17062
17061
  U.remove();
@@ -17108,7 +17107,7 @@ class i0 extends ht {
17108
17107
  const K = q.getTime();
17109
17108
  return K >= new Date(nt).getTime() && K <= new Date(J).getTime();
17110
17109
  });
17111
- else if (_ === Z.LABELS) {
17110
+ else if (w === Z.LABELS) {
17112
17111
  const q = this.services.cartesianScales.getScaleByPosition(n).domain();
17113
17112
  lt = M.filter((K) => q.includes(K));
17114
17113
  } else
@@ -17134,7 +17133,7 @@ class i0 extends ht {
17134
17133
  const ft = this.model.isDataEmpty();
17135
17134
  if (m.title) {
17136
17135
  const q = I.appendOrSelect(l, "text.axis-title").html(
17137
- ft || w ? "" : Xe(m.title)
17136
+ ft || _ ? "" : Xe(m.title)
17138
17137
  ), K = x(m, "titleOrientation");
17139
17138
  let pt;
17140
17139
  switch (n) {
@@ -17209,7 +17208,7 @@ class i0 extends ht {
17209
17208
  this.getNumberOfFittingTicks(a, E, kn.ticks.horizontalSpaceRatio)
17210
17209
  ), g.call(C), p.call(C)), l.selectAll("g.ticks g.tick text").attr("transform", "rotate(-45)").attr("text-anchor", n === V.TOP ? "start" : "end")) : l.selectAll("g.ticks g.tick text").attr("transform", null).attr("text-anchor", null);
17211
17210
  }
17212
- if (w ? l.attr("opacity", 0) : l.attr("opacity", 1), p.selectAll("g.tick").attr("aria-label", (q) => q), g.selectAll("g.tick").attr("aria-label", (q) => q), R !== ke.NONE && _ === Z.LABELS && !M) {
17211
+ if (_ ? l.attr("opacity", 0) : l.attr("opacity", 1), p.selectAll("g.tick").attr("aria-label", (q) => q), g.selectAll("g.tick").attr("aria-label", (q) => q), R !== ke.NONE && w === Z.LABELS && !M) {
17213
17212
  const q = this.services.cartesianScales.getScaleDomain(n);
17214
17213
  if (q.length > 0) {
17215
17214
  const K = s.select(`g.axis.${n} g.ticks g.tick`).html();
@@ -17556,7 +17555,7 @@ class CN extends ht {
17556
17555
  (T) => this.services.cartesianScales.getDomainValue(T),
17557
17556
  (T) => this.services.cartesianScales.getRangeValue(T),
17558
17557
  g
17559
- ), b = Math.floor((m ? h : f) / s.length), _ = Math.min(b / 2, 16), w = this.model.getBoxplotData(), S = n.selectAll(".box-group").data(w);
17558
+ ), b = Math.floor((m ? h : f) / s.length), w = Math.min(b / 2, 16), _ = this.model.getBoxplotData(), S = n.selectAll(".box-group").data(_);
17560
17559
  S.exit().remove();
17561
17560
  const M = S.enter().append("g").attr("class", "box-group"), R = S.merge(M);
17562
17561
  M.append("path").merge(S.select("path.vertical-line.start")).attr(
@@ -17565,7 +17564,7 @@ class CN extends ht {
17565
17564
  classNameTypes: [et.STROKE],
17566
17565
  originalClassName: "vertical-line start"
17567
17566
  })
17568
- ).attr("stroke-width", we.strokeWidth.default).attr("fill", "none").transition().call(
17567
+ ).attr("stroke-width", _e.strokeWidth.default).attr("fill", "none").transition().call(
17569
17568
  (T) => this.services.transitions.setupTransition({
17570
17569
  transition: T,
17571
17570
  name: "boxplot-update-verticalstartline",
@@ -17580,7 +17579,7 @@ class CN extends ht {
17580
17579
  classNameTypes: [et.STROKE],
17581
17580
  originalClassName: "vertical-line end"
17582
17581
  })
17583
- ).attr("stroke-width", we.strokeWidth.default).attr("fill", "none").transition().call(
17582
+ ).attr("stroke-width", _e.strokeWidth.default).attr("fill", "none").transition().call(
17584
17583
  (T) => this.services.transitions.setupTransition({
17585
17584
  transition: T,
17586
17585
  name: "boxplot-update-verticalendline",
@@ -17595,21 +17594,21 @@ class CN extends ht {
17595
17594
  classNameTypes: [et.FILL, et.STROKE],
17596
17595
  originalClassName: "box"
17597
17596
  })
17598
- ).attr("fill-opacity", we.box.opacity.default).attr("stroke-width", we.strokeWidth.default).attr("role", at.GRAPHICS_SYMBOL).attr("aria-roledescription", "box").attr("aria-label", (T) => T[i]).transition().call(
17597
+ ).attr("fill-opacity", _e.box.opacity.default).attr("stroke-width", _e.strokeWidth.default).attr("role", at.GRAPHICS_SYMBOL).attr("aria-roledescription", "box").attr("aria-label", (T) => T[i]).transition().call(
17599
17598
  (T) => this.services.transitions.setupTransition({
17600
17599
  transition: T,
17601
17600
  name: "boxplot-update-quartiles",
17602
17601
  animate: t
17603
17602
  })
17604
17603
  ).attr("d", (T) => {
17605
- const H = p.getDomainValue(T[i]) - _ / 2, U = H + _, B = p.getRangeValue(
17604
+ const H = p.getDomainValue(T[i]) - w / 2, U = H + w, B = p.getRangeValue(
17606
17605
  Math[m ? "max" : "min"](T.quartiles.q_75, T.quartiles.q_25)
17607
17606
  ), E = B + Math.abs(
17608
17607
  p.getRangeValue(T.quartiles.q_75) - p.getRangeValue(T.quartiles.q_25)
17609
17608
  );
17610
17609
  return re({ x0: H, x1: U, y0: B, y1: E }, g);
17611
17610
  }), M.append("path").merge(S.select("path.highlight-area")).attr("class", "highlight-area").attr("opacity", 0).attr("d", (T) => {
17612
- const H = p.getDomainValue(T[i]) - _ / 2, U = H + _, B = p.getRangeValue(T.whiskers.min), E = p.getRangeValue(T.whiskers.max);
17611
+ const H = p.getDomainValue(T[i]) - w / 2, U = H + w, B = p.getRangeValue(T.whiskers.min), E = p.getRangeValue(T.whiskers.max);
17613
17612
  return re({ x0: H, x1: U, y0: B, y1: E }, g);
17614
17613
  }), M.append("path").merge(S.select("path.whisker.start")).attr(
17615
17614
  "class",
@@ -17617,14 +17616,14 @@ class CN extends ht {
17617
17616
  classNameTypes: [et.STROKE],
17618
17617
  originalClassName: "whisker start"
17619
17618
  })
17620
- ).attr("stroke-width", we.strokeWidth.thicker).attr("fill", "none").transition().call(
17619
+ ).attr("stroke-width", _e.strokeWidth.thicker).attr("fill", "none").transition().call(
17621
17620
  (T) => this.services.transitions.setupTransition({
17622
17621
  transition: T,
17623
17622
  name: "boxplot-update-startingwhisker",
17624
17623
  animate: t
17625
17624
  })
17626
17625
  ).attr("d", (T) => {
17627
- const H = p.getDomainValue(T[i]) - _ / 4, U = H + _ / 2, B = p.getRangeValue(T.whiskers.min), E = p.getRangeValue(T.whiskers.min);
17626
+ const H = p.getDomainValue(T[i]) - w / 4, U = H + w / 2, B = p.getRangeValue(T.whiskers.min), E = p.getRangeValue(T.whiskers.min);
17628
17627
  return re({ x0: H, x1: U, y0: B, y1: E }, g);
17629
17628
  }), M.append("path").merge(S.select("path.median")).attr("fill", "none").attr(
17630
17629
  "class",
@@ -17639,7 +17638,7 @@ class CN extends ht {
17639
17638
  animate: t
17640
17639
  })
17641
17640
  ).attr("d", (T) => {
17642
- const H = p.getDomainValue(T[i]) - _ / 2, U = H + _, B = p.getRangeValue(T.quartiles.q_50);
17641
+ const H = p.getDomainValue(T[i]) - w / 2, U = H + w, B = p.getRangeValue(T.quartiles.q_50);
17643
17642
  return re({ x0: H, x1: U, y0: B, y1: B }, g);
17644
17643
  }), M.append("path").merge(S.select("path.whisker.end")).attr(
17645
17644
  "class",
@@ -17647,14 +17646,14 @@ class CN extends ht {
17647
17646
  classNameTypes: [et.STROKE],
17648
17647
  originalClassName: "whisker end"
17649
17648
  })
17650
- ).attr("stroke-width", we.strokeWidth.thicker).attr("fill", "none").transition().call(
17649
+ ).attr("stroke-width", _e.strokeWidth.thicker).attr("fill", "none").transition().call(
17651
17650
  (T) => this.services.transitions.setupTransition({
17652
17651
  transition: T,
17653
17652
  name: "boxplot-update-endingwhisker",
17654
17653
  animate: t
17655
17654
  })
17656
17655
  ).attr("d", (T) => {
17657
- const H = p.getDomainValue(T[i]) - _ / 4, U = H + _ / 2, B = p.getRangeValue(T.whiskers.max), E = p.getRangeValue(T.whiskers.max);
17656
+ const H = p.getDomainValue(T[i]) - w / 4, U = H + w / 2, B = p.getRangeValue(T.whiskers.max), E = p.getRangeValue(T.whiskers.max);
17658
17657
  return re({ x0: H, x1: U, y0: B, y1: E }, g);
17659
17658
  });
17660
17659
  const D = R.selectAll("circle.outlier").data(
@@ -17667,13 +17666,13 @@ class CN extends ht {
17667
17666
  );
17668
17667
  D.exit().remove();
17669
17668
  const L = D.enter().append("circle");
17670
- D.merge(L).attr("r", we.circle.radius).attr(
17669
+ D.merge(L).attr("r", _e.circle.radius).attr(
17671
17670
  "class",
17672
17671
  () => this.model.getColorClassName({
17673
17672
  classNameTypes: [et.FILL, et.STROKE],
17674
17673
  originalClassName: "outlier"
17675
17674
  })
17676
- ).attr("fill-opacity", we.circle.opacity.default).attr("cx", y).transition().call(
17675
+ ).attr("fill-opacity", _e.circle.opacity.default).attr("cx", y).transition().call(
17677
17676
  (T) => this.services.transitions.setupTransition({
17678
17677
  transition: T,
17679
17678
  name: "boxplot-update-circles",
@@ -17685,7 +17684,7 @@ class CN extends ht {
17685
17684
  const t = this, n = this.getOptions(), { groupMapsTo: r } = n.data;
17686
17685
  this.parent.selectAll("path.highlight-area").on("mouseover", function(i, s) {
17687
17686
  const a = k(this);
17688
- k(this.parentNode).select("path.box").classed("hovered", !0).attr("fill-opacity", we.box.opacity.hovered), t.services.events.dispatchEvent(O.Tooltip.SHOW, {
17687
+ k(this.parentNode).select("path.box").classed("hovered", !0).attr("fill-opacity", _e.box.opacity.hovered), t.services.events.dispatchEvent(O.Tooltip.SHOW, {
17689
17688
  event: i,
17690
17689
  hoveredElement: a,
17691
17690
  items: [
@@ -17743,7 +17742,7 @@ class CN extends ht {
17743
17742
  });
17744
17743
  }).on("mouseout", function(i, s) {
17745
17744
  const a = k(this);
17746
- k(this.parentNode).select("path.box").classed("hovered", !1).attr("fill-opacity", we.box.opacity.default), t.services.events.dispatchEvent(O.Boxplot.BOX_MOUSEOUT, {
17745
+ k(this.parentNode).select("path.box").classed("hovered", !1).attr("fill-opacity", _e.box.opacity.default), t.services.events.dispatchEvent(O.Boxplot.BOX_MOUSEOUT, {
17747
17746
  event: i,
17748
17747
  element: a,
17749
17748
  datum: s
@@ -17756,7 +17755,7 @@ class CN extends ht {
17756
17755
  const t = this, n = this.getOptions(), { groupMapsTo: r } = n.data, i = this.services.cartesianScales.getRangeIdentifier();
17757
17756
  this.parent.selectAll("circle").on("mouseover", function(s, a) {
17758
17757
  const o = k(this);
17759
- o.classed("hovered", !0).attr("fill-opacity", we.circle.opacity.hovered).classed("unfilled", !1), t.services.events.dispatchEvent(O.Tooltip.SHOW, {
17758
+ o.classed("hovered", !0).attr("fill-opacity", _e.circle.opacity.hovered).classed("unfilled", !1), t.services.events.dispatchEvent(O.Tooltip.SHOW, {
17760
17759
  event: s,
17761
17760
  hoveredElement: o,
17762
17761
  items: [
@@ -17794,7 +17793,7 @@ class CN extends ht {
17794
17793
  });
17795
17794
  }).on("mouseout", function(s, a) {
17796
17795
  const o = k(this);
17797
- o.classed("hovered", !1).attr("fill-opacity", we.circle.opacity.default), t.services.events.dispatchEvent(O.Boxplot.OUTLIER_MOUSEOUT, {
17796
+ o.classed("hovered", !1).attr("fill-opacity", _e.circle.opacity.default), t.services.events.dispatchEvent(O.Boxplot.OUTLIER_MOUSEOUT, {
17798
17797
  event: s,
17799
17798
  element: o,
17800
17799
  datum: a
@@ -17931,9 +17930,9 @@ class $N extends ht {
17931
17930
  animate: t
17932
17931
  })
17933
17932
  ).attr("d", (y) => {
17934
- let v, b, _, w;
17935
- return y.order === 1 ? (v = this.services.cartesianScales.getDomainValue(y.datum) - 16 / 2, b = v + 16, _ = c - 2, w = l + 1) : (v = this.services.cartesianScales.getDomainValue(y.datum) - 16 / 2, b = v + 16, _ = this.services.cartesianScales.getRangeValue(y.value), w = c), re(
17936
- { x0: v, x1: b, y0: _, y1: w },
17933
+ let v, b, w, _;
17934
+ return y.order === 1 ? (v = this.services.cartesianScales.getDomainValue(y.datum) - 16 / 2, b = v + 16, w = c - 2, _ = l + 1) : (v = this.services.cartesianScales.getDomainValue(y.datum) - 16 / 2, b = v + 16, w = this.services.cartesianScales.getRangeValue(y.value), _ = c), re(
17935
+ { x0: v, x1: b, y0: w, y1: _ },
17937
17936
  this.services.cartesianScales.getOrientation()
17938
17937
  );
17939
17938
  }).attr("opacity", 1);
@@ -17953,9 +17952,9 @@ class $N extends ht {
17953
17952
  originalClassName: "bar"
17954
17953
  })
17955
17954
  ).style("fill", (m) => this.model.getFillColor(m[r])).attr("d", (m) => {
17956
- const y = this.services.cartesianScales.getDomainValue(m) - 4, v = y + 8, b = this.services.cartesianScales.getRangeValue(0) + 1, _ = this.services.cartesianScales.getRangeValue(m);
17955
+ const y = this.services.cartesianScales.getDomainValue(m) - 4, v = y + 8, b = this.services.cartesianScales.getRangeValue(0) + 1, w = this.services.cartesianScales.getRangeValue(m);
17957
17956
  return re(
17958
- { x0: y, x1: v, y0: b, y1: _ },
17957
+ { x0: y, x1: v, y0: b, y1: w },
17959
17958
  this.services.cartesianScales.getOrientation()
17960
17959
  );
17961
17960
  }).attr("opacity", 1).attr("role", at.GRAPHICS_SYMBOL).attr("aria-roledescription", "bar").attr("aria-label", (m) => m.value);
@@ -17997,9 +17996,9 @@ class $N extends ht {
17997
17996
  ).attr("d", ({ datum: y, value: v }) => {
17998
17997
  let b = 4;
17999
17998
  y.ranges && y.ranges.indexOf(v) !== -1 && (b = 8);
18000
- const _ = this.services.cartesianScales.getDomainValue(y) - b / 2, w = _ + b, S = this.services.cartesianScales.getRangeValue(v);
17999
+ const w = this.services.cartesianScales.getDomainValue(y) - b / 2, _ = w + b, S = this.services.cartesianScales.getRangeValue(v);
18001
18000
  return re(
18002
- { x0: _, x1: w, y0: S, y1: S },
18001
+ { x0: w, x1: _, y0: S, y1: S },
18003
18002
  this.services.cartesianScales.getOrientation()
18004
18003
  );
18005
18004
  }).attr("opacity", 1);
@@ -18284,15 +18283,15 @@ class BN extends Nn {
18284
18283
  });
18285
18284
  if (g.size() > 0) {
18286
18285
  this.elementsToHighlight && this.elementsToHighlight.size() > 0 && !Vv(this.elementsToHighlight, g) && this.hideRuler(), g.dispatch("mouseover"), this.elementsToHighlight = g;
18287
- const m = k(g.nodes()[0]).datum(), y = parseFloat(mt(m, "data.x0")), v = parseFloat(mt(m, "data.x1")), b = this.model.getActiveDataGroupNames(), _ = b.reverse().map((w) => ({
18288
- label: w,
18289
- value: mt(m, `data.${w}`),
18286
+ const m = k(g.nodes()[0]).datum(), y = parseFloat(mt(m, "data.x0")), v = parseFloat(mt(m, "data.x1")), b = this.model.getActiveDataGroupNames(), w = b.reverse().map((_) => ({
18287
+ label: _,
18288
+ value: mt(m, `data.${_}`),
18290
18289
  class: this.model.getColorClassName({
18291
18290
  classNameTypes: [et.TOOLTIP],
18292
- dataGroupName: w
18291
+ dataGroupName: _
18293
18292
  })
18294
- })).filter((w) => w.value !== 0);
18295
- if (_.length > 0) {
18293
+ })).filter((_) => _.value !== 0);
18294
+ if (w.length > 0) {
18296
18295
  this.services.events.dispatchEvent(O.Tooltip.SHOW, {
18297
18296
  mousePosition: [n, r],
18298
18297
  hoveredElement: p,
@@ -18301,7 +18300,7 @@ class BN extends Nn {
18301
18300
  label: mt(s, "bins.rangeLabel") || "Range",
18302
18301
  value: `${y} – ${v}`
18303
18302
  },
18304
- ..._,
18303
+ ...w,
18305
18304
  ...x(s, "tooltip", "showTotal") === !0 ? [
18306
18305
  {
18307
18306
  label: mt(s, "locale.translations.total") || mt(s, "tooltip.totalLabel") || "Total",
@@ -18313,8 +18312,8 @@ class BN extends Nn {
18313
18312
  ] : []
18314
18313
  ]
18315
18314
  }), f.attr("opacity", 1);
18316
- const w = d((y + v) / 2);
18317
- o === "horizontal" ? p.attr("x1", u).attr("x2", c).attr("y1", w).attr("y2", w) : p.attr("y1", u).attr("y2", c).attr("x1", w).attr("x2", w);
18315
+ const _ = d((y + v) / 2);
18316
+ o === "horizontal" ? p.attr("x1", u).attr("x2", c).attr("y1", _).attr("y2", _) : p.attr("y1", u).attr("y2", c).attr("x1", _).attr("x2", _);
18318
18317
  } else
18319
18318
  this.hideRuler();
18320
18319
  } else
@@ -18326,7 +18325,7 @@ class Ha extends Nn {
18326
18325
  return t.reverse();
18327
18326
  }
18328
18327
  }
18329
- class s0 extends wu {
18328
+ class s0 extends _u {
18330
18329
  constructor(t, n, r) {
18331
18330
  super(t, n, r), this.type = "color-legend", this.renderType = Q.SVG, this.gradient_id = `gradient-id-${Math.floor(Math.random() * 99999999999)}`, this.handleAxisCompleteEvent = () => {
18332
18331
  const i = this.getComponentContainer(), { width: s } = I.getSVGElementSize(i, {
@@ -18377,8 +18376,8 @@ class s0 extends wu {
18377
18376
  m.push(
18378
18377
  a === Ns.LINEAR ? `stop-color-${g}-${o}-${D}` : `fill-${g}-${o}-${D}`
18379
18378
  );
18380
- const v = ge(u[0], u[1]), b = wx(v, 3), _ = Pe().domain(u).range([0, h]), w = Cc(_).tickSize(0).tickValues(b), { code: S, number: M } = x(n, "locale");
18381
- w.tickFormat((D) => M(D, S));
18379
+ const v = ge(u[0], u[1]), b = _x(v, 3), w = Pe().domain(u).range([0, h]), _ = Cc(w).tickSize(0).tickValues(b), { code: S, number: M } = x(n, "locale");
18380
+ _.tickFormat((D) => M(D, S));
18382
18381
  let R;
18383
18382
  switch (a) {
18384
18383
  case Ns.LINEAR:
@@ -18391,12 +18390,12 @@ class s0 extends wu {
18391
18390
  c,
18392
18391
  f,
18393
18392
  h
18394
- ), _.range([R, h]);
18393
+ ), w.range([R, h]);
18395
18394
  break;
18396
18395
  default:
18397
18396
  throw Error("Entered color legend type is not supported.");
18398
18397
  }
18399
- p.attr("transform", `translate(0,${Rt.color.axisYTranslation})`).call(w), p.select(".domain").remove(), p.select("g.tick:last-of-type text").style("text-anchor", d ? "middle" : "end"), p.select("g.tick:first-of-type text").style(
18398
+ p.attr("transform", `translate(0,${Rt.color.axisYTranslation})`).call(_), p.select(".domain").remove(), p.select("g.tick:last-of-type text").style("text-anchor", d ? "middle" : "end"), p.select("g.tick:first-of-type text").style(
18400
18399
  "text-anchor",
18401
18400
  d && this.chartType !== "choropleth" ? "middle" : "start"
18402
18401
  );
@@ -18580,7 +18579,7 @@ class VN extends ht {
18580
18579
  let s = this.model.getDisplayData();
18581
18580
  const a = this.model.hasParentNode(), o = this.model.getHierarchyLevel(), l = this.getOptions(), c = x(l, "canvasZoom", "enabled");
18582
18581
  a && x(s, 0, "children") && (s = x(s, 0, "children"));
18583
- const u = es({ children: s }).sum((p) => p.value).sort((p, g) => g.value - p.value), d = Pw().size([r, i]).padding((p) => p.depth >= 1 ? Or.padding.children + 3 : Or.padding.mainGroup + 3)(u).descendants().splice(1).filter((p) => p.depth <= o), h = n.selectAll("circle.node").data(d);
18582
+ const u = es({ children: s }).sum((p) => p.value).sort((p, g) => g.value - p.value), d = P_().size([r, i]).padding((p) => p.depth >= 1 ? Or.padding.children + 3 : Or.padding.mainGroup + 3)(u).descendants().splice(1).filter((p) => p.depth <= o), h = n.selectAll("circle.node").data(d);
18584
18583
  h.exit().attr("width", 0).attr("height", 0).remove();
18585
18584
  const f = h.enter().append("circle").classed("node", !0);
18586
18585
  f.merge(h).attr("class", (p) => {
@@ -18805,11 +18804,11 @@ class a0 extends ht {
18805
18804
  }
18806
18805
  return `translate(${D.xPosition}, ${D.yPosition})`;
18807
18806
  }), this.renderCallouts(y);
18808
- const v = x(i, "donut") ? "donut" : "pie", b = x(i, v, "alignment"), { width: _ } = I.getSVGElementSize(this.getParent(), {
18807
+ const v = x(i, "donut") ? "donut" : "pie", b = x(i, v, "alignment"), { width: w } = I.getSVGElementSize(this.getParent(), {
18809
18808
  useAttrs: !0
18810
- }), w = f ? Ct.xOffset : 0, S = f ? Ct.yOffset : 0;
18811
- let M = l + w;
18812
- b === Ft.CENTER ? M = _ / 2 : b === Ft.RIGHT && (M = _ - l - Ct.xOffset);
18809
+ }), _ = f ? Ct.xOffset : 0, S = f ? Ct.yOffset : 0;
18810
+ let M = l + _;
18811
+ b === Ft.CENTER ? M = w / 2 : b === Ft.RIGHT && (M = w - l - Ct.xOffset);
18813
18812
  let R = l + S;
18814
18813
  y.length > 0 && (R += Ct.yOffsetCallout), r.attr("x", M + 7).attr("y", R), this.addEventListeners();
18815
18814
  }
@@ -18936,8 +18935,13 @@ class zN extends a0 {
18936
18935
  i % 1 === 0 && r % 1 === 0 ? s = Xp : s = ge;
18937
18936
  const a = s(i, r);
18938
18937
  return (o) => {
18939
- const { code: l, number: c } = x(n, "locale");
18940
- t.text(c(a(o), l));
18938
+ const { numberFormatter: l } = n.donut.center;
18939
+ if (l)
18940
+ t.text(l(a(o)));
18941
+ else {
18942
+ const { code: c, number: u } = x(n, "locale");
18943
+ t.text(u(Math.floor(a(o)), c));
18944
+ }
18941
18945
  };
18942
18946
  }
18943
18947
  }
@@ -19016,7 +19020,7 @@ class GN extends ht {
19016
19020
  const { width: b } = I.getSVGElementSize(
19017
19021
  I.appendOrSelect(t, "text.gauge-value-number"),
19018
19022
  { useBBox: !0 }
19019
- ), _ = f / 2, w = u ? "%" : "", S = I.appendOrSelect(p, "text.gauge-value-symbol").style("font-size", `${_}px`).attr("x", b / 2).text(w), { width: M, height: R } = I.getSVGElementSize(S, {
19023
+ ), w = f / 2, _ = u ? "%" : "", S = I.appendOrSelect(p, "text.gauge-value-symbol").style("font-size", `${w}px`).attr("x", b / 2).text(_), { width: M, height: R } = I.getSVGElementSize(S, {
19020
19024
  useBBox: !0
19021
19025
  });
19022
19026
  S.attr("y", `-${R / 2}px`), p.attr("transform", `translate(-${M / 2}, 0)`);
@@ -19032,17 +19036,17 @@ class GN extends ht {
19032
19036
  `translate(0, ${l(o) + d})`
19033
19037
  ), g = I.appendOrSelect(p, "text.gauge-delta-number"), m = h ? "%" : "";
19034
19038
  g.data(i === null ? [] : [i]), g.enter().append("text").classed("gauge-delta-number", !0).merge(g).attr("text-anchor", "middle").style("font-size", `${l(o)}px`).text(
19035
- (_) => `${a(Number(c(_)), s)}${m}`
19039
+ (w) => `${a(Number(c(w)), s)}${m}`
19036
19040
  );
19037
19041
  const { width: y } = I.getSVGElementSize(
19038
19042
  I.appendOrSelect(n, ".gauge-delta-number"),
19039
19043
  { useBBox: !0 }
19040
19044
  ), v = x(r, "gauge", "deltaArrow", "enabled"), b = p.selectAll("svg.gauge-delta-arrow").data(i !== null && v ? [i] : []);
19041
19045
  b.enter().append("svg").merge(b).attr("class", "gauge-delta-arrow").attr("x", -u(o) - y / 2).attr("y", -u(o) / 2 - l(o) * 0.35).attr("width", u(o)).attr("height", u(o)).attr("viewBox", "0 0 16 16").each(function() {
19042
- const _ = k(this);
19043
- I.appendOrSelect(_, "rect.gauge-delta-arrow-backdrop").attr("width", "16").attr("height", "16").attr("fill", "none");
19044
- const w = x(r, "gauge", "status");
19045
- I.appendOrSelect(_, "polygon.gauge-delta-arrow").attr("class", w !== null ? `gauge-delta-arrow status--${w}` : "").attr("points", t.getArrow(i));
19046
+ const w = k(this);
19047
+ I.appendOrSelect(w, "rect.gauge-delta-arrow-backdrop").attr("width", "16").attr("height", "16").attr("fill", "none");
19048
+ const _ = x(r, "gauge", "status");
19049
+ I.appendOrSelect(w, "polygon.gauge-delta-arrow").attr("class", _ !== null ? `gauge-delta-arrow status--${_}` : "").attr("points", t.getArrow(i));
19046
19050
  }), b.exit().remove(), g.exit().remove();
19047
19051
  } else {
19048
19052
  const o = n.select("g.gauge-delta");
@@ -19751,10 +19755,10 @@ class XN extends ht {
19751
19755
  const y = 2 * (this.getLabelDimensions(this.uniqueKeys[0]).height + f), v = (Math.min(r, i) - y) / 2;
19752
19756
  if (v <= 0)
19753
19757
  return;
19754
- const b = ns().domain(this.fullDataNormalized.map((E) => E[u])).range([0, 2 * Math.PI].map((E) => E - Math.PI / 2)), _ = Rn(this.fullDataNormalized.map((E) => E[d])), w = Pe().domain([
19755
- _ >= 0 ? 0 : _,
19758
+ const b = ns().domain(this.fullDataNormalized.map((E) => E[u])).range([0, 2 * Math.PI].map((E) => E - Math.PI / 2)), w = Rn(this.fullDataNormalized.map((E) => E[d])), _ = Pe().domain([
19759
+ w >= 0 ? 0 : w,
19756
19760
  Zn(this.fullDataNormalized.map((E) => E[d]))
19757
- ]).range([g, v]).nice(p), S = w.ticks(p), M = (E) => this.model.getFillColor(E), R = VS().angle((E) => b(E[u]) + Math.PI / 2).radius((E) => w(E[d])).curve(sg), D = this.uniqueKeys.map((E) => {
19761
+ ]).range([g, v]).nice(p), S = _.ticks(p), M = (E) => this.model.getFillColor(E), R = VS().angle((E) => b(E[u]) + Math.PI / 2).radius((E) => _(E[d])).curve(sg), D = this.uniqueKeys.map((E) => {
19758
19762
  const $ = this.getLabelDimensions(E).width, C = ek(
19759
19763
  b(E),
19760
19764
  v
@@ -19800,7 +19804,7 @@ class XN extends ht {
19800
19804
  name: "radar_x_axes_enter",
19801
19805
  animate: t
19802
19806
  })
19803
- ).attr("opacity", 1).attr("x1", (C) => It(b(C), w.range()[0], L).x).attr("y1", (C) => It(b(C), w.range()[0], L).y).attr("x2", (C) => It(b(C), w.range()[1], L).x).attr("y2", (C) => It(b(C), w.range()[1], L).y)
19807
+ ).attr("opacity", 1).attr("x1", (C) => It(b(C), _.range()[0], L).x).attr("y1", (C) => It(b(C), _.range()[0], L).y).attr("x2", (C) => It(b(C), _.range()[1], L).x).attr("y2", (C) => It(b(C), _.range()[1], L).y)
19804
19808
  ),
19805
19809
  (E) => E.call(
19806
19810
  ($) => $.transition().call(
@@ -19809,7 +19813,7 @@ class XN extends ht {
19809
19813
  name: "radar_x_axes_update",
19810
19814
  animate: t
19811
19815
  })
19812
- ).attr("opacity", 1).attr("x1", (C) => It(b(C), w.range()[0], L).x).attr("y1", (C) => It(b(C), w.range()[0], L).y).attr("x2", (C) => It(b(C), w.range()[1], L).x).attr("y2", (C) => It(b(C), w.range()[1], L).y)
19816
+ ).attr("opacity", 1).attr("x1", (C) => It(b(C), _.range()[0], L).x).attr("y1", (C) => It(b(C), _.range()[0], L).y).attr("x2", (C) => It(b(C), _.range()[1], L).x).attr("y2", (C) => It(b(C), _.range()[1], L).y)
19813
19817
  ),
19814
19818
  (E) => E.call(
19815
19819
  ($) => $.transition().call(
@@ -19823,10 +19827,10 @@ class XN extends ht {
19823
19827
  ), I.appendOrSelect(n, "g.x-labels").attr("role", at.GROUP).selectAll("text").data(this.uniqueKeys).join(
19824
19828
  (E) => E.append("text").text(($) => $).attr("opacity", 0).attr(
19825
19829
  "x",
19826
- ($) => It(b($), w.range()[1] + h, L).x
19830
+ ($) => It(b($), _.range()[1] + h, L).x
19827
19831
  ).attr(
19828
19832
  "y",
19829
- ($) => It(b($), w.range()[1] + h, L).y
19833
+ ($) => It(b($), _.range()[1] + h, L).y
19830
19834
  ).style("text-anchor", ($) => mf(b($)).textAnchor).style(
19831
19835
  "dominant-baseline",
19832
19836
  ($) => mf(b($)).dominantBaseline
@@ -19848,10 +19852,10 @@ class XN extends ht {
19848
19852
  })
19849
19853
  ).attr("opacity", 1).attr(
19850
19854
  "x",
19851
- (C) => It(b(C), w.range()[1] + h, L).x
19855
+ (C) => It(b(C), _.range()[1] + h, L).x
19852
19856
  ).attr(
19853
19857
  "y",
19854
- (C) => It(b(C), w.range()[1] + h, L).y
19858
+ (C) => It(b(C), _.range()[1] + h, L).y
19855
19859
  ).end().finally(() => {
19856
19860
  const C = x(o, "radar", "alignment"), N = this.getAlignmentXOffset(C, n, this.getParent());
19857
19861
  n.attr("x", N);
@@ -19927,17 +19931,17 @@ class XN extends ht {
19927
19931
  dataGroupName: E[l],
19928
19932
  originalClassName: br(E[u])
19929
19933
  })
19930
- ).attr("cx", (E) => It(b(E[u]), w(E[d]), L).x).attr("cy", (E) => It(b(E[u]), w(E[d]), L).y).attr("r", 0).attr("opacity", 0).style("fill", (E) => M(E[l])), I.appendOrSelect(n, "g.x-axes-rect").attr("role", at.GROUP).selectAll("rect").data(this.uniqueKeys).join(
19934
+ ).attr("cx", (E) => It(b(E[u]), _(E[d]), L).x).attr("cy", (E) => It(b(E[u]), _(E[d]), L).y).attr("r", 0).attr("opacity", 0).style("fill", (E) => M(E[l])), I.appendOrSelect(n, "g.x-axes-rect").attr("role", at.GROUP).selectAll("rect").data(this.uniqueKeys).join(
19931
19935
  (E) => E.append("rect"),
19932
19936
  (E) => E,
19933
19937
  (E) => E.remove()
19934
- ).attr("x", L.x).attr("y", L.y - m / 2).attr("width", w.range()[1]).attr("height", m).style("fill", "red").style("fill-opacity", 0).attr("transform", (E) => `rotate(${Ev(b(E))}, ${L.x}, ${L.y})`);
19938
+ ).attr("x", L.x).attr("y", L.y - m / 2).attr("width", _.range()[1]).attr("height", m).style("fill", "red").style("fill-opacity", 0).attr("transform", (E) => `rotate(${Ev(b(E))}, ${L.x}, ${L.y})`);
19935
19939
  const { code: U, number: B } = x(o, "locale");
19936
19940
  I.appendOrSelect(n, "g.y-labels").attr("role", at.GROUP).selectAll("text").data(Re(S)).join(
19937
19941
  (E) => E.append("text").attr("opacity", 0).text(($) => B($, U)).attr(
19938
19942
  "x",
19939
- ($) => It(-Math.PI / 2, w($), L).x + f
19940
- ).attr("y", ($) => It(-Math.PI / 2, w($), L).y).style("text-anchor", "start").style("dominant-baseline", "middle").call(
19943
+ ($) => It(-Math.PI / 2, _($), L).x + f
19944
+ ).attr("y", ($) => It(-Math.PI / 2, _($), L).y).style("text-anchor", "start").style("dominant-baseline", "middle").call(
19941
19945
  ($) => $.transition().call(
19942
19946
  (C) => this.services.transitions.setupTransition({
19943
19947
  transition: C,
@@ -19955,8 +19959,8 @@ class XN extends ht {
19955
19959
  })
19956
19960
  ).text((C) => C).attr("opacity", 1).attr(
19957
19961
  "x",
19958
- (C) => It(-Math.PI / 2, w(C), L).x + f
19959
- ).attr("y", (C) => It(-Math.PI / 2, w(C), L).y)
19962
+ (C) => It(-Math.PI / 2, _(C), L).x + f
19963
+ ).attr("y", (C) => It(-Math.PI / 2, _(C), L).y)
19960
19964
  ),
19961
19965
  (E) => E.call(
19962
19966
  ($) => $.transition().call(
@@ -20387,7 +20391,7 @@ class h0 extends Ze {
20387
20391
  });
20388
20392
  }
20389
20393
  }
20390
- const wr = 6;
20394
+ const _r = 6;
20391
20395
  class KN extends ht {
20392
20396
  constructor() {
20393
20397
  super(...arguments), this.type = "tree", this.renderType = Q.SVG;
@@ -20420,7 +20424,7 @@ class KN extends ht {
20420
20424
  top: 0,
20421
20425
  right: 0,
20422
20426
  bottom: 0,
20423
- left: l > 0 ? l + wr : 30 - wr
20427
+ left: l > 0 ? l + _r : 30 - _r
20424
20428
  }, h = es({
20425
20429
  name: o,
20426
20430
  children: a
@@ -20436,7 +20440,7 @@ class KN extends ht {
20436
20440
  name: "tree-update-viewbox",
20437
20441
  animate: !0
20438
20442
  })
20439
- ).attr("viewBox", [-d.left, D.x, r, T].join(" ")), U = w.selectAll("g").data(M, (N) => N.id), B = this, E = U.enter().append("g").attr("transform", () => `translate(${S.y0},${S.x0})`).attr(
20443
+ ).attr("viewBox", [-d.left, D.x, r, T].join(" ")), U = _.selectAll("g").data(M, (N) => N.id), B = this, E = U.enter().append("g").attr("transform", () => `translate(${S.y0},${S.x0})`).attr(
20440
20444
  "class",
20441
20445
  (N) => N.depth !== 0 && N.children && N.children.length > 0 ? "clickable" : null
20442
20446
  ).on("mouseover", function(N, P) {
@@ -20458,8 +20462,8 @@ class KN extends ht {
20458
20462
  datum: P
20459
20463
  });
20460
20464
  });
20461
- E.append("circle").attr("r", 2.5).attr("class", (N) => N._children ? "parent" : "child").attr("stroke-width", 10), E.append("text").attr("dy", "0.31em").attr("x", (N) => N._children ? -wr : wr).attr("text-anchor", (N) => N._children ? "end" : "start").text((N) => N.data.name).clone(!0).attr("class", "text-stroke").lower(), U.merge(E).transition(H).attr("transform", (N) => `translate(${N.y},${N.x})`).attr("fill-opacity", 1).attr("stroke-opacity", 1), U.exit().transition(H).remove().attr("transform", () => `translate(${S.y},${S.x})`).attr("fill-opacity", 0).attr("stroke-opacity", 0);
20462
- const $ = _.selectAll("path").data(R, (N) => N.target.id), C = $.enter().append("path").attr("d", () => {
20465
+ E.append("circle").attr("r", 2.5).attr("class", (N) => N._children ? "parent" : "child").attr("stroke-width", 10), E.append("text").attr("dy", "0.31em").attr("x", (N) => N._children ? -_r : _r).attr("text-anchor", (N) => N._children ? "end" : "start").text((N) => N.data.name).clone(!0).attr("class", "text-stroke").lower(), U.merge(E).transition(H).attr("transform", (N) => `translate(${N.y},${N.x})`).attr("fill-opacity", 1).attr("stroke-opacity", 1), U.exit().transition(H).remove().attr("transform", () => `translate(${S.y},${S.x})`).attr("fill-opacity", 0).attr("stroke-opacity", 0);
20466
+ const $ = w.selectAll("path").data(R, (N) => N.target.id), C = $.enter().append("path").attr("d", () => {
20463
20467
  const N = { x: S.x0, y: S.y0 };
20464
20468
  return b({ source: N, target: N });
20465
20469
  });
@@ -20469,17 +20473,17 @@ class KN extends ht {
20469
20473
  }), h.eachBefore((N) => {
20470
20474
  N.x0 = N.x, N.y0 = N.y;
20471
20475
  });
20472
- }, m = h.descendants(), y = m[m.length - 1].depth, v = x(s, "tree", "type") === Oc.DENDROGRAM ? iw().size([
20476
+ }, m = h.descendants(), y = m[m.length - 1].depth, v = x(s, "tree", "type") === Oc.DENDROGRAM ? i_().size([
20473
20477
  i,
20474
- r - u - y * wr - l
20475
- ]) : jw().nodeSize([f, p]).size([
20478
+ r - u - y * _r - l
20479
+ ]) : j_().nodeSize([f, p]).size([
20476
20480
  i,
20477
- r - u - y * wr - l
20481
+ r - u - y * _r - l
20478
20482
  ]), b = qS().x((S) => S.y).y((S) => S.x);
20479
20483
  h.x0 = p / 2, h.y0 = 0, h.descendants().forEach((S, M) => {
20480
20484
  S.id = M, S._children = S.children;
20481
20485
  }), v(h), n.attr("viewBox", [-d.left, -d.top, r, f]).style("user-select", "none");
20482
- const _ = n.append("g").attr("class", "links"), w = n.append("g").attr("class", "nodes");
20486
+ const w = n.append("g").attr("class", "links"), _ = n.append("g").attr("class", "nodes");
20483
20487
  g(h);
20484
20488
  }
20485
20489
  }
@@ -20505,9 +20509,9 @@ var QN = "#000000", JN = "#ffffff", tP = "#fcf4d6", eP = "#fddc69", nP = "#f1c21
20505
20509
  80: yP,
20506
20510
  90: xP,
20507
20511
  100: bP
20508
- }, wP = "#fff1f1", _P = "#ffd7d9", SP = "#ffb3b8", OP = "#ff8389", TP = "#fa4d56", MP = "#da1e28", CP = "#a2191f", AP = "#750e13", $P = "#520408", LP = "#2d0709", DP = {
20509
- 10: wP,
20510
- 20: _P,
20512
+ }, _P = "#fff1f1", wP = "#ffd7d9", SP = "#ffb3b8", OP = "#ff8389", TP = "#fa4d56", MP = "#da1e28", CP = "#a2191f", AP = "#750e13", $P = "#520408", LP = "#2d0709", DP = {
20513
+ 10: _P,
20514
+ 20: wP,
20511
20515
  30: SP,
20512
20516
  40: OP,
20513
20517
  50: TP,
@@ -20549,7 +20553,7 @@ var QN = "#000000", JN = "#ffffff", tP = "#fcf4d6", eP = "#fddc69", nP = "#f1c21
20549
20553
  80: lU,
20550
20554
  90: cU,
20551
20555
  100: uU
20552
- }, dU = "#e5f6ff", fU = "#bae6ff", pU = "#82cfff", mU = "#33b1ff", gU = "#1192e8", vU = "#0072c3", yU = "#00539a", xU = "#003a6d", bU = "#012749", EU = "#061727", wU = {
20556
+ }, dU = "#e5f6ff", fU = "#bae6ff", pU = "#82cfff", mU = "#33b1ff", gU = "#1192e8", vU = "#0072c3", yU = "#00539a", xU = "#003a6d", bU = "#012749", EU = "#061727", _U = {
20553
20557
  10: dU,
20554
20558
  20: fU,
20555
20559
  30: pU,
@@ -20560,8 +20564,8 @@ var QN = "#000000", JN = "#ffffff", tP = "#fcf4d6", eP = "#fddc69", nP = "#f1c21
20560
20564
  80: xU,
20561
20565
  90: bU,
20562
20566
  100: EU
20563
- }, _U = "#d9fbfb", SU = "#9ef0f0", OU = "#3ddbd9", TU = "#08bdba", MU = "#009d9a", CU = "#007d79", AU = "#005d5d", $U = "#004144", LU = "#022b30", DU = "#081a1c", kU = {
20564
- 10: _U,
20567
+ }, wU = "#d9fbfb", SU = "#9ef0f0", OU = "#3ddbd9", TU = "#08bdba", MU = "#009d9a", CU = "#007d79", AU = "#005d5d", $U = "#004144", LU = "#022b30", DU = "#081a1c", kU = {
20568
+ 10: wU,
20565
20569
  20: SU,
20566
20570
  30: OU,
20567
20571
  40: TU,
@@ -20604,7 +20608,7 @@ var QN = "#000000", JN = "#ffffff", tP = "#fcf4d6", eP = "#fddc69", nP = "#f1c21
20604
20608
  80: cB,
20605
20609
  90: uB,
20606
20610
  100: hB
20607
- }, fB = "#f7f3f2", pB = "#e5e0df", mB = "#cac5c4", gB = "#ada8a8", vB = "#8f8b8b", yB = "#726e6e", xB = "#565151", bB = "#3c3838", EB = "#272525", wB = "#171414", _B = {
20611
+ }, fB = "#f7f3f2", pB = "#e5e0df", mB = "#cac5c4", gB = "#ada8a8", vB = "#8f8b8b", yB = "#726e6e", xB = "#565151", bB = "#3c3838", EB = "#272525", _B = "#171414", wB = {
20608
20612
  10: fB,
20609
20613
  20: pB,
20610
20614
  30: mB,
@@ -20614,14 +20618,14 @@ var QN = "#000000", JN = "#ffffff", tP = "#fcf4d6", eP = "#fddc69", nP = "#f1c21
20614
20618
  70: xB,
20615
20619
  80: bB,
20616
20620
  90: EB,
20617
- 100: wB
20621
+ 100: _B
20618
20622
  }, Xf = {
20619
20623
  black: {
20620
20624
  100: QN
20621
20625
  },
20622
20626
  blue: hU,
20623
20627
  coolGray: eB,
20624
- cyan: wU,
20628
+ cyan: _U,
20625
20629
  gray: dB,
20626
20630
  green: GU,
20627
20631
  magenta: zP,
@@ -20629,7 +20633,7 @@ var QN = "#000000", JN = "#ffffff", tP = "#fcf4d6", eP = "#fddc69", nP = "#f1c21
20629
20633
  purple: tU,
20630
20634
  red: DP,
20631
20635
  teal: kU,
20632
- warmGray: _B,
20636
+ warmGray: wB,
20633
20637
  white: {
20634
20638
  0: JN
20635
20639
  },
@@ -20691,7 +20695,7 @@ class TB extends ht {
20691
20695
  }), l = es({
20692
20696
  name: i.title || "Treemap",
20693
20697
  children: r
20694
- }).sum((f) => f.value).sort((f, p) => p.value - f.value), c = Zw().size([a, o]).paddingInner(1).paddingOuter(0).round(!0)(
20698
+ }).sum((f) => f.value).sort((f, p) => p.value - f.value), c = Z_().size([a, o]).paddingInner(1).paddingOuter(0).round(!0)(
20695
20699
  l
20696
20700
  ), u = n.selectAll("g[data-name='leaf']").data(c.leaves(), (f) => f.data.name);
20697
20701
  u.exit().attr("opacity", 0).remove();
@@ -21323,11 +21327,11 @@ function tp(e, t, n) {
21323
21327
  const r = Cu(e, t) / 1e3;
21324
21328
  return Mu(n == null ? void 0 : n.roundingMethod)(r);
21325
21329
  }
21326
- function wc(e, t) {
21330
+ function _c(e, t) {
21327
21331
  return Au(e, t * 1e3);
21328
21332
  }
21329
21333
  function ep(e, t) {
21330
- return wc(e, -t);
21334
+ return _c(e, -t);
21331
21335
  }
21332
21336
  class qB extends Tn {
21333
21337
  constructor() {
@@ -21578,17 +21582,17 @@ class qB extends Tn {
21578
21582
  const { groupMapsTo: y } = n.data, v = this.model.getDataValuesGroupedByKeys({
21579
21583
  groups: m
21580
21584
  }), b = o.filter(
21581
- (w) => !m.includes(w[y])
21582
- ), _ = [];
21583
- v.forEach((w) => {
21584
- const { ...S } = w;
21585
+ (_) => !m.includes(_[y])
21586
+ ), w = [];
21587
+ v.forEach((_) => {
21588
+ const { ...S } = _;
21585
21589
  let M = 0, R = 0;
21586
21590
  Object.values(S).forEach((D) => {
21587
21591
  isNaN(D) || (D < 0 ? R += D : M += D);
21588
- }), _.push([R, M]);
21592
+ }), w.push([R, M]);
21589
21593
  }), g = [
21590
- ...d0(_),
21591
- ...b.map((w) => w[c])
21594
+ ...d0(w),
21595
+ ...b.map((_) => _[c])
21592
21596
  ];
21593
21597
  } else
21594
21598
  g = [], o.forEach((y) => {
@@ -21637,8 +21641,8 @@ function YB(e, t) {
21637
21641
  Ec(r, t * 30)
21638
21642
  ] : Qf(r, n) > 1 ? [Jf(n, t), Ec(r, t)] : tp(r, n) > 15 ? [
21639
21643
  ep(n, t * 15),
21640
- wc(r, t * 15)
21641
- ] : tp(r, n) > 1 ? [ep(n, t), wc(r, t)] : [n, r];
21644
+ _c(r, t * 15)
21645
+ ] : tp(r, n) > 1 ? [ep(n, t), _c(r, t)] : [n, r];
21642
21646
  }
21643
21647
  function XB([e, t], n, r) {
21644
21648
  const i = (t - e) * n, s = t <= 0 && t + i > 0 ? 0 : t + i;
@@ -21816,21 +21820,21 @@ function g0(e) {
21816
21820
  function l3(e) {
21817
21821
  return e.split("");
21818
21822
  }
21819
- var v0 = "\\ud800-\\udfff", c3 = "\\u0300-\\u036f", u3 = "\\ufe20-\\ufe2f", h3 = "\\u20d0-\\u20ff", d3 = c3 + u3 + h3, f3 = "\\ufe0e\\ufe0f", p3 = "[" + v0 + "]", _c = "[" + d3 + "]", Sc = "\\ud83c[\\udffb-\\udfff]", m3 = "(?:" + _c + "|" + Sc + ")", y0 = "[^" + v0 + "]", x0 = "(?:\\ud83c[\\udde6-\\uddff]){2}", b0 = "[\\ud800-\\udbff][\\udc00-\\udfff]", g3 = "\\u200d", E0 = m3 + "?", w0 = "[" + f3 + "]?", v3 = "(?:" + g3 + "(?:" + [y0, x0, b0].join("|") + ")" + w0 + E0 + ")*", y3 = w0 + E0 + v3, x3 = "(?:" + [y0 + _c + "?", _c, x0, b0, p3].join("|") + ")", b3 = RegExp(Sc + "(?=" + Sc + ")|" + x3 + y3, "g");
21823
+ var v0 = "\\ud800-\\udfff", c3 = "\\u0300-\\u036f", u3 = "\\ufe20-\\ufe2f", h3 = "\\u20d0-\\u20ff", d3 = c3 + u3 + h3, f3 = "\\ufe0e\\ufe0f", p3 = "[" + v0 + "]", wc = "[" + d3 + "]", Sc = "\\ud83c[\\udffb-\\udfff]", m3 = "(?:" + wc + "|" + Sc + ")", y0 = "[^" + v0 + "]", x0 = "(?:\\ud83c[\\udde6-\\uddff]){2}", b0 = "[\\ud800-\\udbff][\\udc00-\\udfff]", g3 = "\\u200d", E0 = m3 + "?", _0 = "[" + f3 + "]?", v3 = "(?:" + g3 + "(?:" + [y0, x0, b0].join("|") + ")" + _0 + E0 + ")*", y3 = _0 + E0 + v3, x3 = "(?:" + [y0 + wc + "?", wc, x0, b0, p3].join("|") + ")", b3 = RegExp(Sc + "(?=" + Sc + ")|" + x3 + y3, "g");
21820
21824
  function E3(e) {
21821
21825
  return e.match(b3) || [];
21822
21826
  }
21823
- function w3(e) {
21827
+ function _3(e) {
21824
21828
  return g0(e) ? E3(e) : l3(e);
21825
21829
  }
21826
- function _3(e) {
21830
+ function w3(e) {
21827
21831
  return function(t) {
21828
21832
  t = cs(t);
21829
- var n = g0(t) ? w3(t) : void 0, r = n ? n[0] : t.charAt(0), i = n ? JB(n, 1).join("") : t.slice(1);
21833
+ var n = g0(t) ? _3(t) : void 0, r = n ? n[0] : t.charAt(0), i = n ? JB(n, 1).join("") : t.slice(1);
21830
21834
  return r[e]() + i;
21831
21835
  };
21832
21836
  }
21833
- var S3 = _3("toUpperCase");
21837
+ var S3 = w3("toUpperCase");
21834
21838
  const O3 = S3;
21835
21839
  function T3(e) {
21836
21840
  return O3(cs(e).toLowerCase());
@@ -21885,7 +21889,7 @@ class Fe {
21885
21889
  getChartComponents(t, n) {
21886
21890
  const r = this.model.getOptions(), i = x(r, "toolbar", "enabled"), s = {
21887
21891
  id: "legend",
21888
- components: [new wu(this.model, this.services)],
21892
+ components: [new _u(this.model, this.services)],
21889
21893
  growth: st.PREFERRED
21890
21894
  }, a = x(r, "canvasZoom", "enabled");
21891
21895
  a && a === !0 && t.push(new bN(this.model, this.services));
@@ -21928,7 +21932,7 @@ class Fe {
21928
21932
  }
21929
21933
  const p = {
21930
21934
  id: "spacer",
21931
- components: [new _n(this.model, this.services)],
21935
+ components: [new wn(this.model, this.services)],
21932
21936
  growth: st.PREFERRED
21933
21937
  }, g = {
21934
21938
  id: "full-frame",
@@ -21953,14 +21957,14 @@ class Fe {
21953
21957
  const y = {
21954
21958
  id: "spacer",
21955
21959
  components: [
21956
- new _n(this.model, this.services, i ? { size: 15 } : void 0)
21960
+ new wn(this.model, this.services, i ? { size: 15 } : void 0)
21957
21961
  ],
21958
21962
  growth: st.PREFERRED
21959
21963
  };
21960
21964
  m.push(y);
21961
21965
  }
21962
21966
  return m.push(g), [
21963
- new _u(this.model, this.services),
21967
+ new wu(this.model, this.services),
21964
21968
  new mo(this.model, this.services),
21965
21969
  new ve(this.model, this.services, m, {
21966
21970
  direction: At.COLUMN
@@ -22007,13 +22011,13 @@ class de extends Fe {
22007
22011
  growth: st.PREFERRED
22008
22012
  }, p = {
22009
22013
  id: "legend",
22010
- components: [new wu(this.model, this.services)],
22014
+ components: [new _u(this.model, this.services)],
22011
22015
  growth: st.PREFERRED
22012
22016
  };
22013
22017
  l && !c && t.push(
22014
22018
  new t0(this.model, this.services),
22015
22019
  new EN(this.model, this.services)
22016
- ), t.push(new _N(this.model, this.services)), t.push(new SN(this.model, this.services));
22020
+ ), t.push(new wN(this.model, this.services)), t.push(new SN(this.model, this.services));
22017
22021
  const g = {
22018
22022
  id: "graph-frame",
22019
22023
  components: t,
@@ -22027,7 +22031,7 @@ class de extends Fe {
22027
22031
  }
22028
22032
  const v = {
22029
22033
  id: "spacer",
22030
- components: [new _n(this.model, this.services)],
22034
+ components: [new wn(this.model, this.services)],
22031
22035
  growth: st.PREFERRED
22032
22036
  }, b = {
22033
22037
  id: "full-frame",
@@ -22046,27 +22050,27 @@ class de extends Fe {
22046
22050
  )
22047
22051
  ],
22048
22052
  growth: st.STRETCH
22049
- }, _ = {
22053
+ }, w = {
22050
22054
  id: "zoom-bar",
22051
- components: [new wN(this.model, this.services)],
22055
+ components: [new _N(this.model, this.services)],
22052
22056
  growth: st.PREFERRED,
22053
22057
  renderType: Q.SVG
22054
- }, w = [];
22058
+ }, _ = [];
22055
22059
  if (u || s) {
22056
- w.push(f);
22060
+ _.push(f);
22057
22061
  const S = {
22058
22062
  id: "spacer",
22059
22063
  components: [
22060
- new _n(this.model, this.services, s ? { size: 15 } : void 0)
22064
+ new wn(this.model, this.services, s ? { size: 15 } : void 0)
22061
22065
  ],
22062
22066
  growth: st.PREFERRED
22063
22067
  };
22064
- w.push(S);
22068
+ _.push(S);
22065
22069
  }
22066
- return l && w.push(_), w.push(b), [
22070
+ return l && _.push(w), _.push(b), [
22067
22071
  new n0(this.model, this.services),
22068
22072
  new mo(this.model, this.services),
22069
- new ve(this.model, this.services, w, {
22073
+ new ve(this.model, this.services, _, {
22070
22074
  direction: At.COLUMN
22071
22075
  })
22072
22076
  ];
@@ -22086,7 +22090,7 @@ class A3 extends Fe {
22086
22090
  class $3 extends de {
22087
22091
  constructor(t, n) {
22088
22092
  super(t, n), this.model.setOptions(
22089
- kt(wn(Ot.areaChart), n.options)
22093
+ kt(_n(Ot.areaChart), n.options)
22090
22094
  ), this.init(t, n);
22091
22095
  }
22092
22096
  getComponents() {
@@ -22212,7 +22216,7 @@ class R3 extends Fe {
22212
22216
  renderType: Q.SVG
22213
22217
  }, d = x(n, "legend", "enabled") !== !1 && this.model.getOptions().legend.enabled !== !1 && this.model.getData().length > 0, h = At.COLUMN_REVERSE, f = {
22214
22218
  id: "spacer",
22215
- components: [new _n(this.model, this.services, { size: 15 })],
22219
+ components: [new wn(this.model, this.services, { size: 15 })],
22216
22220
  growth: st.PREFERRED
22217
22221
  }, p = {
22218
22222
  id: "full-frame",
@@ -22237,14 +22241,14 @@ class R3 extends Fe {
22237
22241
  const m = {
22238
22242
  id: "spacer",
22239
22243
  components: [
22240
- new _n(this.model, this.services, i ? { size: 15 } : void 0)
22244
+ new wn(this.model, this.services, i ? { size: 15 } : void 0)
22241
22245
  ],
22242
22246
  growth: st.PREFERRED
22243
22247
  };
22244
22248
  g.push(m);
22245
22249
  }
22246
22250
  return g.push(p), [
22247
- new _u(this.model, this.services),
22251
+ new wu(this.model, this.services),
22248
22252
  new mo(this.model, this.services),
22249
22253
  new ve(this.model, this.services, g, {
22250
22254
  direction: At.COLUMN
@@ -22266,19 +22270,19 @@ class I3 extends Fe {
22266
22270
  }
22267
22271
  }
22268
22272
  const np = {
22269
- [_e.LINE]: [Pr, Ze],
22270
- [_e.SCATTER]: [Ze],
22271
- [_e.AREA]: [r0, Pr, Ze],
22272
- [_e.STACKED_AREA]: [c0, Pr, h0, Ha],
22273
- [_e.SIMPLE_BAR]: [l0],
22274
- [_e.GROUPED_BAR]: [o0, Jr],
22275
- [_e.STACKED_BAR]: [u0, Ha]
22273
+ [we.LINE]: [Pr, Ze],
22274
+ [we.SCATTER]: [Ze],
22275
+ [we.AREA]: [r0, Pr, Ze],
22276
+ [we.STACKED_AREA]: [c0, Pr, h0, Ha],
22277
+ [we.SIMPLE_BAR]: [l0],
22278
+ [we.GROUPED_BAR]: [o0, Jr],
22279
+ [we.STACKED_BAR]: [u0, Ha]
22276
22280
  };
22277
22281
  class N3 extends de {
22278
22282
  constructor(t, n) {
22279
22283
  super(t, n);
22280
22284
  const r = kt(Ot.comboChart, n.options);
22281
- n.options.comboChartTypes || (console.error("No comboChartTypes defined for the Combo Chart!"), r.comboChartTypes = [{ type: _e.LINE, correspondingDatasets: [] }]), this.model.setOptions(r), this.init(t, n);
22285
+ n.options.comboChartTypes || (console.error("No comboChartTypes defined for the Combo Chart!"), r.comboChartTypes = [{ type: we.LINE, correspondingDatasets: [] }]), this.model.setOptions(r), this.init(t, n);
22282
22286
  }
22283
22287
  getGraphComponents() {
22284
22288
  const { comboChartTypes: t } = this.model.getOptions();
@@ -22293,7 +22297,7 @@ class N3 extends de {
22293
22297
  ), null;
22294
22298
  let o = !1;
22295
22299
  const l = `${C3(i.type)}Chart`;
22296
- return a = rt({}, Ot[l], this.model.getOptions(), i.options), i.type === _e.STACKED_AREA && (o = !0), np[i.type].map(
22300
+ return a = rt({}, Ot[l], this.model.getOptions(), i.options), i.type === we.STACKED_AREA && (o = !0), np[i.type].map(
22297
22301
  (c) => new c(this.model, this.services, {
22298
22302
  groups: i.correspondingDatasets,
22299
22303
  id: n++,
@@ -22312,7 +22316,7 @@ class N3 extends de {
22312
22316
  }
22313
22317
  getComponents() {
22314
22318
  const { comboChartTypes: t } = this.model.getOptions(), n = t.some(
22315
- (i) => i.type === _e.STACKED_BAR || i.type === _e.STACKED_AREA
22319
+ (i) => i.type === we.STACKED_BAR || i.type === we.STACKED_AREA
22316
22320
  ), r = [
22317
22321
  new he(this.model, this.services),
22318
22322
  new be(this.model, this.services),
@@ -22325,7 +22329,7 @@ class N3 extends de {
22325
22329
  return this.getAxisChartComponents(r);
22326
22330
  }
22327
22331
  }
22328
- class _0 extends Fe {
22332
+ class w0 extends Fe {
22329
22333
  // TODO - Optimize the use of "extending"
22330
22334
  constructor(t, n, r = !1) {
22331
22335
  super(t, n), this.model = new VL(this.services), !r && (this.model.setOptions(kt(Ot.pieChart, n.options)), this.init(t, n));
@@ -22340,7 +22344,7 @@ class _0 extends Fe {
22340
22344
  return this.getChartComponents(t);
22341
22345
  }
22342
22346
  }
22343
- class P3 extends _0 {
22347
+ class P3 extends w0 {
22344
22348
  constructor(t, n) {
22345
22349
  super(t, n, !0), this.model.setOptions(kt(Ot.donutChart, n.options)), this.init(t, n);
22346
22350
  }
@@ -22433,7 +22437,7 @@ class H3 extends de {
22433
22437
  renderType: Q.SVG
22434
22438
  }, d = x(n, "legend", "enabled") !== !1 && this.model.getOptions().legend.enabled !== !1 && this.model.getData().length > 0, h = At.COLUMN_REVERSE, f = {
22435
22439
  id: "spacer",
22436
- components: [new _n(this.model, this.services, { size: 15 })],
22440
+ components: [new wn(this.model, this.services, { size: 15 })],
22437
22441
  growth: st.PREFERRED
22438
22442
  }, p = {
22439
22443
  id: "full-frame",
@@ -22458,7 +22462,7 @@ class H3 extends de {
22458
22462
  const m = {
22459
22463
  id: "spacer",
22460
22464
  components: [
22461
- new _n(this.model, this.services, i ? { size: 15 } : void 0)
22465
+ new wn(this.model, this.services, i ? { size: 15 } : void 0)
22462
22466
  ],
22463
22467
  growth: st.PREFERRED
22464
22468
  };
@@ -22533,7 +22537,7 @@ class G3 extends Fe {
22533
22537
  constructor(t, n) {
22534
22538
  var r;
22535
22539
  super(t, n), this.model = new jL(this.services);
22536
- const i = (r = n.options.meter) != null && r.proportional ? rt(wn(Ot.proportionalMeterChart), n.options) : rt(wn(Ot.meterChart), n.options);
22540
+ const i = (r = n.options.meter) != null && r.proportional ? rt(_n(Ot.proportionalMeterChart), n.options) : rt(_n(Ot.meterChart), n.options);
22537
22541
  this.model.setOptions(i), this.init(t, n);
22538
22542
  }
22539
22543
  getComponents() {
@@ -22550,7 +22554,7 @@ class G3 extends Fe {
22550
22554
  {
22551
22555
  id: "spacer",
22552
22556
  components: [
22553
- new _n(this.model, this.services, {
22557
+ new wn(this.model, this.services, {
22554
22558
  size: 8
22555
22559
  })
22556
22560
  ],
@@ -22730,7 +22734,7 @@ function Dt(e, t) {
22730
22734
  const J3 = Dt(A3, "CcvAlluvialChart"), tH = Dt($3, "CcvAreaChart"), eH = Dt(L3, "CcvBoxplotChart"), nH = Dt(D3, "CcvBubbleChart"), rH = Dt(k3, "CcvBulletChart"), iH = Dt(
22731
22735
  R3,
22732
22736
  "ExperimentalCcvChoroplethChart"
22733
- ), sH = Dt(I3, "CcvCirclePackChart"), aH = Dt(N3, "CcvComboChart"), oH = Dt(P3, "CcvDonutChart"), lH = Dt(U3, "CcvGaugeChart"), cH = Dt(B3, "CcvGroupedBarChart"), uH = Dt(H3, "CcvHeatmapChart"), hH = Dt(V3, "CcvHistogramChart"), dH = Dt(F3, "CcvLineChart"), fH = Dt(z3, "CcvLollipopChart"), pH = Dt(G3, "CcvMeterChart"), mH = Dt(_0, "CcvPieChart"), gH = Dt(j3, "CcvRadarChart"), vH = Dt(W3, "CcvScatterChart"), yH = Dt(X3, "CcvSimpleBarChart"), xH = Dt(Z3, "CcvStackedAreaChart"), bH = Dt(K3, "CcvStackedBarChart"), EH = Dt(q3, "CcvTreeChart"), wH = Dt(Y3, "CcvTreemapChart"), _H = Dt(Q3, "CcvWordCloudChart"), SH = [
22737
+ ), sH = Dt(I3, "CcvCirclePackChart"), aH = Dt(N3, "CcvComboChart"), oH = Dt(P3, "CcvDonutChart"), lH = Dt(U3, "CcvGaugeChart"), cH = Dt(B3, "CcvGroupedBarChart"), uH = Dt(H3, "CcvHeatmapChart"), hH = Dt(V3, "CcvHistogramChart"), dH = Dt(F3, "CcvLineChart"), fH = Dt(z3, "CcvLollipopChart"), pH = Dt(G3, "CcvMeterChart"), mH = Dt(w0, "CcvPieChart"), gH = Dt(j3, "CcvRadarChart"), vH = Dt(W3, "CcvScatterChart"), yH = Dt(X3, "CcvSimpleBarChart"), xH = Dt(Z3, "CcvStackedAreaChart"), bH = Dt(K3, "CcvStackedBarChart"), EH = Dt(q3, "CcvTreeChart"), _H = Dt(Y3, "CcvTreemapChart"), wH = Dt(Q3, "CcvWordCloudChart"), SH = [
22734
22738
  J3,
22735
22739
  tH,
22736
22740
  eH,
@@ -22754,8 +22758,8 @@ const J3 = Dt(A3, "CcvAlluvialChart"), tH = Dt($3, "CcvAreaChart"), eH = Dt(L3,
22754
22758
  xH,
22755
22759
  bH,
22756
22760
  EH,
22757
- wH,
22758
- _H
22761
+ _H,
22762
+ wH
22759
22763
  ], jH = {
22760
22764
  install(e, t) {
22761
22765
  for (const n of SH)
@@ -22786,8 +22790,8 @@ export {
22786
22790
  xH as CcvStackedAreaChart,
22787
22791
  bH as CcvStackedBarChart,
22788
22792
  EH as CcvTreeChart,
22789
- wH as CcvTreemapChart,
22790
- _H as CcvWordCloudChart,
22793
+ _H as CcvTreemapChart,
22794
+ wH as CcvWordCloudChart,
22791
22795
  Cp as ChartTheme,
22792
22796
  iH as ExperimentalCcvChoroplethChart,
22793
22797
  Z as ScaleTypes,