@elastic/charts 71.1.1 → 71.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -1
- package/dist/chart_types/bullet_graph/renderer/canvas/index.js +8 -6
- package/dist/chart_types/bullet_graph/renderer/canvas/index.js.map +1 -1
- package/dist/chart_types/metric/renderer/dom/badge.js +2 -1
- package/dist/chart_types/metric/renderer/dom/badge.js.map +1 -1
- package/dist/chart_types/metric/renderer/dom/text_measurements.js +1 -1
- package/dist/chart_types/metric/renderer/dom/text_measurements.js.map +1 -1
- package/dist/chart_types/partition_chart/state/selectors/get_chart_type_description.js +1 -1
- package/dist/chart_types/partition_chart/state/selectors/get_chart_type_description.js.map +1 -1
- package/dist/chart_types/timeslip/timeslip/render/raster.js +1 -1
- package/dist/chart_types/timeslip/timeslip/render/raster.js.map +1 -1
- package/dist/chart_types/xy_chart/domains/x_domain.js +2 -1
- package/dist/chart_types/xy_chart/domains/x_domain.js.map +1 -1
- package/dist/chart_types/xy_chart/domains/y_domain.js +3 -1
- package/dist/chart_types/xy_chart/domains/y_domain.js.map +1 -1
- package/dist/chart_types/xy_chart/renderer/canvas/lines.js +1 -1
- package/dist/chart_types/xy_chart/renderer/canvas/lines.js.map +1 -1
- package/dist/chart_types/xy_chart/renderer/canvas/points.js +9 -3
- package/dist/chart_types/xy_chart/renderer/canvas/points.js.map +1 -1
- package/dist/chart_types/xy_chart/renderer/dom/highlighter.js +28 -8
- package/dist/chart_types/xy_chart/renderer/dom/highlighter.js.map +1 -1
- package/dist/chart_types/xy_chart/rendering/bars.js +38 -29
- package/dist/chart_types/xy_chart/rendering/bars.js.map +1 -1
- package/dist/chart_types/xy_chart/rendering/points.js +5 -4
- package/dist/chart_types/xy_chart/rendering/points.js.map +1 -1
- package/dist/chart_types/xy_chart/rendering/utils.js +14 -0
- package/dist/chart_types/xy_chart/rendering/utils.js.map +1 -1
- package/dist/chart_types/xy_chart/state/chart_selectors.js +2 -0
- package/dist/chart_types/xy_chart/state/chart_selectors.js.map +1 -1
- package/dist/chart_types/xy_chart/state/selectors/get_legend_max_formatted_value.d.ts +2 -0
- package/dist/chart_types/xy_chart/state/selectors/get_legend_max_formatted_value.d.ts.map +1 -0
- package/dist/chart_types/xy_chart/state/selectors/get_legend_max_formatted_value.js +25 -0
- package/dist/chart_types/xy_chart/state/selectors/get_legend_max_formatted_value.js.map +1 -0
- package/dist/chart_types/xy_chart/state/selectors/get_tooltip_values_highlighted_geoms.js +49 -14
- package/dist/chart_types/xy_chart/state/selectors/get_tooltip_values_highlighted_geoms.js.map +1 -1
- package/dist/chart_types/xy_chart/utils/specs.d.ts +0 -1
- package/dist/chart_types/xy_chart/utils/specs.d.ts.map +1 -1
- package/dist/chart_types/xy_chart/utils/specs.js.map +1 -1
- package/dist/common/data_structures.js +3 -2
- package/dist/common/data_structures.js.map +1 -1
- package/dist/common/legend.d.ts.map +1 -1
- package/dist/common/legend.js +34 -2
- package/dist/common/legend.js.map +1 -1
- package/dist/common/text_utils.d.ts +1 -1
- package/dist/common/text_utils.d.ts.map +1 -1
- package/dist/common/text_utils.js +1 -1
- package/dist/common/text_utils.js.map +1 -1
- package/dist/components/legend/constants.d.ts +2 -0
- package/dist/components/legend/constants.d.ts.map +1 -0
- package/dist/components/legend/constants.js +5 -0
- package/dist/components/legend/constants.js.map +1 -0
- package/dist/components/legend/label.js +17 -7
- package/dist/components/legend/label.js.map +1 -1
- package/dist/components/legend/legend.js +24 -16
- package/dist/components/legend/legend.js.map +1 -1
- package/dist/components/legend/legend_list.d.ts +2 -0
- package/dist/components/legend/legend_list.d.ts.map +1 -0
- package/dist/components/legend/legend_list.js +126 -0
- package/dist/components/legend/legend_list.js.map +1 -0
- package/dist/components/legend/legend_table/legend_table_item.js +8 -4
- package/dist/components/legend/legend_table/legend_table_item.js.map +1 -1
- package/dist/components/legend/use_action_focus_management.d.ts +2 -0
- package/dist/components/legend/use_action_focus_management.d.ts.map +1 -0
- package/dist/components/legend/use_action_focus_management.js +172 -0
- package/dist/components/legend/use_action_focus_management.js.map +1 -0
- package/dist/components/legend/utils.js +11 -1
- package/dist/components/legend/utils.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/legacy/theme_dark.css +1 -1
- package/dist/legacy/theme_dark.css.map +1 -1
- package/dist/legacy/theme_light.css +1 -1
- package/dist/legacy/theme_light.css.map +1 -1
- package/dist/legacy/theme_only_dark.css +1 -1
- package/dist/legacy/theme_only_dark.css.map +1 -1
- package/dist/legacy/theme_only_light.css +1 -1
- package/dist/legacy/theme_only_light.css.map +1 -1
- package/dist/specs/default_legend_config.js +1 -0
- package/dist/specs/default_legend_config.js.map +1 -1
- package/dist/specs/default_settings_spec.d.ts +1 -1
- package/dist/specs/default_settings_spec.d.ts.map +1 -1
- package/dist/specs/settings.d.ts +17 -1
- package/dist/specs/settings.d.ts.map +1 -1
- package/dist/specs/settings.js.map +1 -1
- package/dist/state/chart_selectors.js +1 -0
- package/dist/state/chart_selectors.js.map +1 -1
- package/dist/state/selectors/get_legend_config_selector.js +3 -1
- package/dist/state/selectors/get_legend_config_selector.js.map +1 -1
- package/dist/state/selectors/get_legend_size.js +53 -11
- package/dist/state/selectors/get_legend_size.js.map +1 -1
- package/dist/state/selectors/get_longest_legend_formatted_value.d.ts +2 -0
- package/dist/state/selectors/get_longest_legend_formatted_value.d.ts.map +1 -0
- package/dist/state/selectors/get_longest_legend_formatted_value.js +25 -0
- package/dist/state/selectors/get_longest_legend_formatted_value.js.map +1 -0
- package/dist/state/utils/legend_row_count.d.ts +2 -0
- package/dist/state/utils/legend_row_count.d.ts.map +1 -0
- package/dist/state/utils/legend_row_count.js +58 -0
- package/dist/state/utils/legend_row_count.js.map +1 -0
- package/dist/theme.scss +149 -5
- package/dist/theme_dark.css +1 -1
- package/dist/theme_dark.css.map +1 -1
- package/dist/theme_light.css +1 -1
- package/dist/theme_light.css.map +1 -1
- package/dist/theme_only_dark.css +1 -1
- package/dist/theme_only_dark.css.map +1 -1
- package/dist/theme_only_light.css +1 -1
- package/dist/theme_only_light.css.map +1 -1
- package/dist/utils/bbox/canvas_text_bbox_calculator.js +7 -5
- package/dist/utils/bbox/canvas_text_bbox_calculator.js.map +1 -1
- package/dist/utils/common.d.ts +7 -0
- package/dist/utils/common.d.ts.map +1 -1
- package/dist/utils/common.js +5 -1
- package/dist/utils/common.js.map +1 -1
- package/dist/utils/geometry.js.map +1 -1
- package/dist/utils/themes/amsterdam_dark_theme.d.ts.map +1 -1
- package/dist/utils/themes/amsterdam_dark_theme.js +12 -5
- package/dist/utils/themes/amsterdam_dark_theme.js.map +1 -1
- package/dist/utils/themes/amsterdam_light_theme.d.ts.map +1 -1
- package/dist/utils/themes/amsterdam_light_theme.js +12 -5
- package/dist/utils/themes/amsterdam_light_theme.js.map +1 -1
- package/dist/utils/themes/base_colors.js +4 -4
- package/dist/utils/themes/base_colors.js.map +1 -1
- package/dist/utils/themes/dark_theme.d.ts.map +1 -1
- package/dist/utils/themes/dark_theme.js +23 -15
- package/dist/utils/themes/dark_theme.js.map +1 -1
- package/dist/utils/themes/legacy_dark_theme.d.ts.map +1 -1
- package/dist/utils/themes/legacy_dark_theme.js +10 -3
- package/dist/utils/themes/legacy_dark_theme.js.map +1 -1
- package/dist/utils/themes/legacy_light_theme.d.ts.map +1 -1
- package/dist/utils/themes/legacy_light_theme.js +10 -3
- package/dist/utils/themes/legacy_light_theme.js.map +1 -1
- package/dist/utils/themes/light_theme.d.ts.map +1 -1
- package/dist/utils/themes/light_theme.js +23 -14
- package/dist/utils/themes/light_theme.js.map +1 -1
- package/dist/utils/themes/theme.d.ts +24 -1
- package/dist/utils/themes/theme.d.ts.map +1 -1
- package/dist/utils/themes/theme.js.map +1 -1
- package/dist/utils/time_zone.js.map +1 -1
- package/package.json +1 -1
- package/dist/components/legend/legend_item.d.ts +0 -2
- package/dist/components/legend/legend_item.d.ts.map +0 -1
- package/dist/components/legend/legend_item.js +0 -87
- package/dist/components/legend/legend_item.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get_legend_config_selector.js","sourceRoot":"","sources":["../../../src/state/selectors/get_legend_config_selector.ts"],"names":[],"mappings":";;;AAQA,2DAA8D;AAC9D,2EAAiF;AACjF,wDAAgE;AAGnD,QAAA,uBAAuB,GAAG,IAAA,4CAA0B,EAC/D,CAAC,2CAAuB,CAAC,EACzB,CAAC,EACC,UAAU,EACV,YAAY,EACZ,iBAAiB,EACjB,cAAc,EACd,UAAU,EACV,cAAc,EACd,cAAc,EACd,iBAAiB,EACjB,YAAY,EACZ,UAAU,EACV,sBAAsB,EACtB,eAAe,EACf,gBAAgB,EAChB,qBAAqB,EACrB,YAAY,EACZ,WAAW,GACZ,EAAE,EAAE;IACH,OAAO;QACL,UAAU;QACV,YAAY;QACZ,iBAAiB;QACjB,cAAc;QACd,UAAU;QACV,cAAc,EAAE,IAAA,wCAAuB,EAAC,cAAc,CAAC;QACvD,cAAc;QACd,iBAAiB;QACjB,YAAY;QACZ,UAAU;QACV,sBAAsB;QACtB,eAAe;QACf,gBAAgB;QAChB,qBAAqB;QACrB,YAAY;QACZ,WAAW;KACZ,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
1
|
+
{"version":3,"file":"get_legend_config_selector.js","sourceRoot":"","sources":["../../../src/state/selectors/get_legend_config_selector.ts"],"names":[],"mappings":";;;AAQA,2DAA8D;AAC9D,2EAAiF;AACjF,wDAAgE;AAGnD,QAAA,uBAAuB,GAAG,IAAA,4CAA0B,EAC/D,CAAC,2CAAuB,CAAC,EACzB,CAAC,EACC,UAAU,EACV,YAAY,EACZ,mBAAmB,EACnB,iBAAiB,EACjB,cAAc,EACd,UAAU,EACV,YAAY,EACZ,cAAc,EACd,cAAc,EACd,iBAAiB,EACjB,YAAY,EACZ,UAAU,EACV,sBAAsB,EACtB,eAAe,EACf,gBAAgB,EAChB,qBAAqB,EACrB,YAAY,EACZ,WAAW,GACZ,EAAE,EAAE;IACH,OAAO;QACL,UAAU;QACV,YAAY;QACZ,mBAAmB;QACnB,iBAAiB;QACjB,cAAc;QACd,UAAU;QACV,YAAY;QACZ,cAAc,EAAE,IAAA,wCAAuB,EAAC,cAAc,CAAC;QACvD,cAAc;QACd,iBAAiB;QACjB,YAAY;QACZ,UAAU;QACV,sBAAsB;QACtB,eAAe;QACf,gBAAgB;QAChB,qBAAqB;QACrB,YAAY;QACZ,WAAW;KACZ,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -5,31 +5,42 @@ const get_chart_theme_1 = require("./get_chart_theme");
|
|
|
5
5
|
const get_legend_config_selector_1 = require("./get_legend_config_selector");
|
|
6
6
|
const get_legend_items_1 = require("./get_legend_items");
|
|
7
7
|
const get_legend_table_size_1 = require("./get_legend_table_size");
|
|
8
|
+
const get_longest_legend_formatted_value_1 = require("./get_longest_legend_formatted_value");
|
|
8
9
|
const default_theme_attributes_1 = require("../../common/default_theme_attributes");
|
|
9
10
|
const legend_1 = require("../../common/legend");
|
|
10
|
-
const
|
|
11
|
+
const constants_1 = require("../../components/legend/constants");
|
|
11
12
|
const position_style_1 = require("../../components/legend/position_style");
|
|
12
13
|
const canvas_text_bbox_calculator_1 = require("../../utils/bbox/canvas_text_bbox_calculator");
|
|
13
14
|
const common_1 = require("../../utils/common");
|
|
14
15
|
const create_selector_1 = require("../create_selector");
|
|
16
|
+
const legend_row_count_1 = require("../utils/legend_row_count");
|
|
15
17
|
const getParentDimensionSelector = (state) => state.parentDimensions;
|
|
16
18
|
exports.SCROLL_BAR_WIDTH = 16;
|
|
17
19
|
exports.MARKER_WIDTH = 16;
|
|
18
20
|
const SHARED_MARGIN = 4;
|
|
19
21
|
const VERTICAL_PADDING = 4;
|
|
20
22
|
exports.TOP_MARGIN = 2;
|
|
21
|
-
|
|
22
|
-
|
|
23
|
+
const BETWEEN_ROW_GAP = 24;
|
|
24
|
+
const WITHIN_ROW_GAP = 8;
|
|
25
|
+
const ACTION_WIDTH = 16;
|
|
26
|
+
exports.getLegendSizeSelector = (0, create_selector_1.createCustomCachedSelector)([
|
|
27
|
+
get_legend_config_selector_1.getLegendConfigSelector,
|
|
28
|
+
get_chart_theme_1.getChartThemeSelector,
|
|
29
|
+
getParentDimensionSelector,
|
|
30
|
+
get_legend_items_1.getLegendItemsSelector,
|
|
31
|
+
get_longest_legend_formatted_value_1.getLongestLegendFormattedValueSelector,
|
|
32
|
+
], (config, theme, parentDimensions, items, maxFormattedValue) => {
|
|
33
|
+
const { showLegend, legendSize, legendValues, legendPosition, legendAction, legendLayout } = config;
|
|
23
34
|
if (!showLegend) {
|
|
24
35
|
return { width: 0, height: 0, margin: 0, position: position_style_1.LEGEND_TO_FULL_CONFIG[common_1.Position.Right] };
|
|
25
36
|
}
|
|
26
|
-
if ((0, legend_1.shouldDisplayTable)(legendValues)) {
|
|
37
|
+
if ((0, legend_1.shouldDisplayTable)(legendValues, legendPosition, legendLayout)) {
|
|
27
38
|
return (0, canvas_text_bbox_calculator_1.withTextMeasure)((textMeasure) => (0, get_legend_table_size_1.getLegendTableSize)(config, theme, parentDimensions, items, textMeasure));
|
|
28
39
|
}
|
|
29
40
|
const bbox = (0, canvas_text_bbox_calculator_1.withTextMeasure)((textMeasure) => items.reduce((acc, { label, depth, values }) => {
|
|
30
41
|
const itemLabel = `${label}${legendValues.length > 0 ? values[0]?.label ?? '' : ''}`;
|
|
31
42
|
const { width, height } = textMeasure(itemLabel, { fontFamily: default_theme_attributes_1.DEFAULT_FONT_FAMILY, fontVariant: 'normal', fontWeight: 400, fontStyle: 'normal' }, 12, 1.5);
|
|
32
|
-
acc.width = Math.max(acc.width, width + depth *
|
|
43
|
+
acc.width = Math.max(acc.width, width + depth * constants_1.LEGEND_HIERARCHY_MARGIN);
|
|
33
44
|
acc.height = Math.max(acc.height, height);
|
|
34
45
|
return acc;
|
|
35
46
|
}, { width: 0, height: 0 }));
|
|
@@ -52,12 +63,43 @@ exports.getLegendSizeSelector = (0, create_selector_1.createCustomCachedSelector
|
|
|
52
63
|
position: legendPosition,
|
|
53
64
|
};
|
|
54
65
|
}
|
|
55
|
-
const
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
66
|
+
const availableWidth = parentDimensions.width - 20;
|
|
67
|
+
let height;
|
|
68
|
+
if (!legendLayout) {
|
|
69
|
+
const numberOfItemsPerRow = (parentDimensions.width - 20) / 200;
|
|
70
|
+
const isSingleLine = numberOfItemsPerRow > items.length;
|
|
71
|
+
const isMoreThanTwoLines = numberOfItemsPerRow * 2 < items.length;
|
|
72
|
+
height = Number.isFinite(legendSize)
|
|
73
|
+
? Math.min(legendSize, parentDimensions.height * 0.7)
|
|
74
|
+
: isSingleLine
|
|
75
|
+
? bbox.height + 16
|
|
76
|
+
: isMoreThanTwoLines
|
|
77
|
+
? bbox.height * 2.5 + 24
|
|
78
|
+
: bbox.height * 2 + 24;
|
|
79
|
+
}
|
|
80
|
+
else {
|
|
81
|
+
const widthLimit = Math.abs(theme.legend.labelOptions.widthLimit ?? 250);
|
|
82
|
+
const { isSingleLine, isMoreThanTwoLines } = (0, canvas_text_bbox_calculator_1.withTextMeasure)((textMeasure) => (0, legend_row_count_1.computeHorizontalLegendRowCount)({
|
|
83
|
+
items,
|
|
84
|
+
availableWidth,
|
|
85
|
+
columnGap: BETWEEN_ROW_GAP,
|
|
86
|
+
spacingBuffer: WITHIN_ROW_GAP,
|
|
87
|
+
actionDimension: ACTION_WIDTH,
|
|
88
|
+
markerWidth: exports.MARKER_WIDTH,
|
|
89
|
+
sharedMargin: SHARED_MARGIN,
|
|
90
|
+
widthLimit,
|
|
91
|
+
showValueTitle: legendLayout === 'list',
|
|
92
|
+
textMeasure,
|
|
93
|
+
maxFormattedValue,
|
|
94
|
+
}));
|
|
95
|
+
height = Number.isFinite(legendSize)
|
|
96
|
+
? Math.min(legendSize, parentDimensions.height * 0.7)
|
|
97
|
+
: isSingleLine
|
|
98
|
+
? bbox.height + 22
|
|
99
|
+
: isMoreThanTwoLines
|
|
100
|
+
? bbox.height * 2.5 + 28
|
|
101
|
+
: bbox.height * 2 + 28;
|
|
102
|
+
}
|
|
61
103
|
return {
|
|
62
104
|
height,
|
|
63
105
|
width: Math.floor(Math.min(legendItemWidth + spacingBuffer + actionDimension, verticalWidth)),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get_legend_size.js","sourceRoot":"","sources":["../../../src/state/selectors/get_legend_size.ts"],"names":[],"mappings":";;;AAQA,uDAA0D;AAC1D,6EAAuE;AACvE,yDAA4D;AAC5D,mEAA6D;AAC7D,oFAA4E;AAC5E,gDAAyD;AACzD,
|
|
1
|
+
{"version":3,"file":"get_legend_size.js","sourceRoot":"","sources":["../../../src/state/selectors/get_legend_size.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get_longest_legend_formatted_value.d.ts","sourceRoot":"","sources":["../../../src/state/selectors/get_longest_legend_formatted_value.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getLongestLegendFormattedValueWidthSelector = exports.getLongestLegendFormattedValueSelector = void 0;
|
|
4
|
+
const get_internal_chart_state_1 = require("./get_internal_chart_state");
|
|
5
|
+
const default_theme_attributes_1 = require("../../common/default_theme_attributes");
|
|
6
|
+
const legend_1 = require("../../common/legend");
|
|
7
|
+
const canvas_text_bbox_calculator_1 = require("../../utils/bbox/canvas_text_bbox_calculator");
|
|
8
|
+
const create_selector_1 = require("../create_selector");
|
|
9
|
+
const LEGEND_VALUE_FONT = {
|
|
10
|
+
fontFamily: default_theme_attributes_1.DEFAULT_FONT_FAMILY,
|
|
11
|
+
fontVariant: 'normal',
|
|
12
|
+
fontWeight: 700,
|
|
13
|
+
fontStyle: 'normal',
|
|
14
|
+
};
|
|
15
|
+
exports.getLongestLegendFormattedValueSelector = (0, create_selector_1.createCustomCachedSelector)([(globalChartState) => globalChartState, get_internal_chart_state_1.getInternalChartStateSelector], (globalChartState, internalChartState) => {
|
|
16
|
+
return internalChartState?.getLongestLegendFormattedValue(globalChartState);
|
|
17
|
+
});
|
|
18
|
+
exports.getLongestLegendFormattedValueWidthSelector = (0, create_selector_1.createCustomCachedSelector)([exports.getLongestLegendFormattedValueSelector], (maxFormattedValue) => {
|
|
19
|
+
if (!maxFormattedValue)
|
|
20
|
+
return undefined;
|
|
21
|
+
const title = legend_1.legendValueTitlesMap[legend_1.LegendValue.CurrentAndLastValue];
|
|
22
|
+
const fullText = `${title.toUpperCase()}: ${maxFormattedValue}`;
|
|
23
|
+
return (0, canvas_text_bbox_calculator_1.withTextMeasure)((textMeasure) => textMeasure(fullText, LEGEND_VALUE_FONT, 12, 1.5).width);
|
|
24
|
+
});
|
|
25
|
+
//# sourceMappingURL=get_longest_legend_formatted_value.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get_longest_legend_formatted_value.js","sourceRoot":"","sources":["../../../src/state/selectors/get_longest_legend_formatted_value.ts"],"names":[],"mappings":";;;AAQA,yEAA2E;AAC3E,oFAA4E;AAC5E,gDAAwE;AACxE,8FAA+E;AAE/E,wDAAgE;AAEhE,MAAM,iBAAiB,GAAG;IACxB,UAAU,EAAE,8CAAmB;IAC/B,WAAW,EAAE,QAAQ;IACrB,UAAU,EAAE,GAAG;IACf,SAAS,EAAE,QAAQ;CACX,CAAC;AAGE,QAAA,sCAAsC,GAAG,IAAA,4CAA0B,EAC9E,CAAC,CAAC,gBAAkC,EAAE,EAAE,CAAC,gBAAgB,EAAE,wDAA6B,CAAC,EACzF,CAAC,gBAAgB,EAAE,kBAAkB,EAAsB,EAAE;IAC3D,OAAO,kBAAkB,EAAE,8BAA8B,CAAC,gBAAgB,CAAC,CAAC;AAC9E,CAAC,CACF,CAAC;AAQW,QAAA,2CAA2C,GAAG,IAAA,4CAA0B,EACnF,CAAC,8CAAsC,CAAC,EACxC,CAAC,iBAAiB,EAAsB,EAAE;IACxC,IAAI,CAAC,iBAAiB;QAAE,OAAO,SAAS,CAAC;IACzC,MAAM,KAAK,GAAG,6BAAoB,CAAC,oBAAW,CAAC,mBAAmB,CAAC,CAAC;IACpE,MAAM,QAAQ,GAAG,GAAG,KAAK,CAAC,WAAW,EAAE,KAAK,iBAAiB,EAAE,CAAC;IAChE,OAAO,IAAA,6CAAe,EAAC,CAAC,WAAW,EAAE,EAAE,CAAC,WAAW,CAAC,QAAQ,EAAE,iBAAiB,EAAE,EAAE,EAAE,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC;AACnG,CAAC,CACF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"legend_row_count.d.ts","sourceRoot":"","sources":["../../../src/state/utils/legend_row_count.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.computeHorizontalLegendRowCount = computeHorizontalLegendRowCount;
|
|
4
|
+
const default_theme_attributes_1 = require("../../common/default_theme_attributes");
|
|
5
|
+
const legend_1 = require("../../common/legend");
|
|
6
|
+
function computeHorizontalLegendRowCount(args) {
|
|
7
|
+
const { items, availableWidth, columnGap, spacingBuffer, actionDimension, markerWidth, sharedMargin, widthLimit, showValueTitle, textMeasure, maxFormattedValue, } = args;
|
|
8
|
+
const font = {
|
|
9
|
+
fontFamily: default_theme_attributes_1.DEFAULT_FONT_FAMILY,
|
|
10
|
+
fontVariant: 'normal',
|
|
11
|
+
fontWeight: 400,
|
|
12
|
+
fontStyle: 'normal',
|
|
13
|
+
};
|
|
14
|
+
let rows = 1;
|
|
15
|
+
let currentRowWidth = 0;
|
|
16
|
+
for (const item of items) {
|
|
17
|
+
const { width: labelOnlyWidth } = textMeasure(item.label, font, 12, 1.5);
|
|
18
|
+
const cappedLabelWidth = widthLimit > 0 ? Math.min(labelOnlyWidth, widthLimit) : labelOnlyWidth;
|
|
19
|
+
const valuesWidth = item.values.map(({ type, label }) => {
|
|
20
|
+
if (type !== legend_1.LegendValue.CurrentAndLastValue && !label)
|
|
21
|
+
return 0;
|
|
22
|
+
const valueLabel = type === legend_1.LegendValue.CurrentAndLastValue ? maxFormattedValue ?? (label || '—') : label;
|
|
23
|
+
const valueText = !showValueTitle
|
|
24
|
+
? valueLabel
|
|
25
|
+
: `${legend_1.legendValueTitlesMap[type]?.toUpperCase() ?? ''}: ${valueLabel}`;
|
|
26
|
+
return sharedMargin + textMeasure(valueText, font, 12, 1.5).width;
|
|
27
|
+
});
|
|
28
|
+
const itemWidths = [
|
|
29
|
+
sharedMargin +
|
|
30
|
+
markerWidth +
|
|
31
|
+
spacingBuffer +
|
|
32
|
+
cappedLabelWidth +
|
|
33
|
+
spacingBuffer +
|
|
34
|
+
(actionDimension ? spacingBuffer + actionDimension : 0) +
|
|
35
|
+
sharedMargin,
|
|
36
|
+
...valuesWidth,
|
|
37
|
+
];
|
|
38
|
+
for (const [index, itemWidth] of itemWidths.entries()) {
|
|
39
|
+
if (itemWidth === 0)
|
|
40
|
+
continue;
|
|
41
|
+
const isFirst = index === 0;
|
|
42
|
+
const nextRowWidth = currentRowWidth === 0 ? itemWidth : currentRowWidth + (isFirst ? 0 : columnGap) + itemWidth;
|
|
43
|
+
if (nextRowWidth > availableWidth) {
|
|
44
|
+
if (currentRowWidth > 0) {
|
|
45
|
+
rows++;
|
|
46
|
+
if (rows > 2)
|
|
47
|
+
return { isSingleLine: false, isMoreThanTwoLines: true };
|
|
48
|
+
}
|
|
49
|
+
currentRowWidth = availableWidth > 0 ? Math.min(itemWidth, availableWidth) : itemWidth;
|
|
50
|
+
}
|
|
51
|
+
else {
|
|
52
|
+
currentRowWidth = nextRowWidth;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
return { isSingleLine: rows <= 1, isMoreThanTwoLines: false };
|
|
57
|
+
}
|
|
58
|
+
//# sourceMappingURL=legend_row_count.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"legend_row_count.js","sourceRoot":"","sources":["../../../src/state/utils/legend_row_count.ts"],"names":[],"mappings":"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"}
|
package/dist/theme.scss
CHANGED
|
@@ -614,6 +614,29 @@ $tableOutsideBorder: solid $legendBorderWidth $euiColorLightShade;
|
|
|
614
614
|
}
|
|
615
615
|
}
|
|
616
616
|
|
|
617
|
+
&--actionOnHover {
|
|
618
|
+
.echLegendItem__action {
|
|
619
|
+
opacity: 0;
|
|
620
|
+
// Not using pointer-events: none here because it causes a rendering
|
|
621
|
+
// bug in Firefox. See https://github.com/elastic/elastic-charts/pull/2773#discussion_r2792933172
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
&:hover,
|
|
625
|
+
&:focus-within {
|
|
626
|
+
.echLegendItem__action {
|
|
627
|
+
opacity: 1;
|
|
628
|
+
pointer-events: auto;
|
|
629
|
+
}
|
|
630
|
+
}
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
&--isActive {
|
|
634
|
+
.echLegendItem__action {
|
|
635
|
+
opacity: 1;
|
|
636
|
+
pointer-events: auto;
|
|
637
|
+
}
|
|
638
|
+
}
|
|
639
|
+
|
|
617
640
|
&:last-child .echLegendTable__cell {
|
|
618
641
|
border-bottom: $tableOutsideBorder;
|
|
619
642
|
}
|
|
@@ -819,7 +842,7 @@ $tableOutsideBorder: solid $legendBorderWidth $euiColorLightShade;
|
|
|
819
842
|
.echLegend {
|
|
820
843
|
z-index: 1;
|
|
821
844
|
|
|
822
|
-
.
|
|
845
|
+
.echLegendGridList {
|
|
823
846
|
display: grid;
|
|
824
847
|
grid-template-columns: minmax(0, 1fr);
|
|
825
848
|
padding-inline-start: 0;
|
|
@@ -828,7 +851,7 @@ $tableOutsideBorder: solid $legendBorderWidth $euiColorLightShade;
|
|
|
828
851
|
margin-block-end: 0;
|
|
829
852
|
}
|
|
830
853
|
&--horizontal {
|
|
831
|
-
.
|
|
854
|
+
.echLegendGridList {
|
|
832
855
|
grid-column-gap: $echLegendColumnGap;
|
|
833
856
|
grid-row-gap: $echLegendRowGap;
|
|
834
857
|
margin-top: $echLegendRowGap;
|
|
@@ -855,6 +878,104 @@ $tableOutsideBorder: solid $legendBorderWidth $euiColorLightShade;
|
|
|
855
878
|
pointer-events: none;
|
|
856
879
|
}
|
|
857
880
|
|
|
881
|
+
.echLegendGridListContainer {
|
|
882
|
+
@include euiYScrollWithShadows;
|
|
883
|
+
width: 100%;
|
|
884
|
+
overflow-y: auto;
|
|
885
|
+
overflow-x: hidden;
|
|
886
|
+
|
|
887
|
+
:focus {
|
|
888
|
+
@include euiFocusRing(null, 1);
|
|
889
|
+
background-color: $euiFocusBackgroundColor;
|
|
890
|
+
border-radius: $euiBorderRadius / 2;
|
|
891
|
+
}
|
|
892
|
+
}
|
|
893
|
+
}
|
|
894
|
+
|
|
895
|
+
.echLegend {
|
|
896
|
+
z-index: 1;
|
|
897
|
+
|
|
898
|
+
.echLegendList {
|
|
899
|
+
display: flex;
|
|
900
|
+
flex-direction: column;
|
|
901
|
+
padding-inline-start: 0;
|
|
902
|
+
padding-inline-end: 0;
|
|
903
|
+
margin-block-start: 0;
|
|
904
|
+
margin-block-end: 0;
|
|
905
|
+
}
|
|
906
|
+
&--horizontal {
|
|
907
|
+
.echLegendList {
|
|
908
|
+
display: block;
|
|
909
|
+
margin-top: $echLegendRowGap;
|
|
910
|
+
margin-bottom: $echLegendRowGap;
|
|
911
|
+
}
|
|
912
|
+
|
|
913
|
+
.echLegendListContainer {
|
|
914
|
+
overflow-x: hidden;
|
|
915
|
+
overflow-y: auto;
|
|
916
|
+
|
|
917
|
+
.echLegendList {
|
|
918
|
+
line-height: $echLegendRowHeight + $echLegendRowGap;
|
|
919
|
+
}
|
|
920
|
+
|
|
921
|
+
.echLegendItem {
|
|
922
|
+
display: inline;
|
|
923
|
+
margin-right: $echLegendColumnGap;
|
|
924
|
+
|
|
925
|
+
> .background {
|
|
926
|
+
display: none;
|
|
927
|
+
}
|
|
928
|
+
|
|
929
|
+
> *:not(.background) {
|
|
930
|
+
display: inline-block;
|
|
931
|
+
vertical-align: middle;
|
|
932
|
+
margin-left: 8px;
|
|
933
|
+
}
|
|
934
|
+
|
|
935
|
+
> .echLegendItem__action {
|
|
936
|
+
display: inline-flex;
|
|
937
|
+
}
|
|
938
|
+
|
|
939
|
+
> .echLegendItem__colorLabel {
|
|
940
|
+
display: inline-flex;
|
|
941
|
+
align-items: center;
|
|
942
|
+
gap: 4px;
|
|
943
|
+
max-width: 100%; // prevent overflow when label + color marker exceeds line width
|
|
944
|
+
margin-left: $euiSizeXS; // match the 4px leading margin used in grid-list layout
|
|
945
|
+
}
|
|
946
|
+
|
|
947
|
+
> .echLegendItem__actionGroup {
|
|
948
|
+
display: inline-flex;
|
|
949
|
+
align-items: center;
|
|
950
|
+
gap: 4px;
|
|
951
|
+
|
|
952
|
+
> * {
|
|
953
|
+
margin-left: 0; // reset inherited margin; the group's own margin-left handles external spacing
|
|
954
|
+
}
|
|
955
|
+
}
|
|
956
|
+
}
|
|
957
|
+
}
|
|
958
|
+
}
|
|
959
|
+
|
|
960
|
+
&--top,
|
|
961
|
+
&--left {
|
|
962
|
+
order: 0;
|
|
963
|
+
}
|
|
964
|
+
|
|
965
|
+
&--bottom,
|
|
966
|
+
&--right {
|
|
967
|
+
order: 1;
|
|
968
|
+
}
|
|
969
|
+
|
|
970
|
+
&--debug {
|
|
971
|
+
background: rgba(238, 130, 238, 0.2);
|
|
972
|
+
position: relative;
|
|
973
|
+
}
|
|
974
|
+
|
|
975
|
+
&--inert {
|
|
976
|
+
pointer-events: none;
|
|
977
|
+
}
|
|
978
|
+
|
|
858
979
|
.echLegendListContainer {
|
|
859
980
|
@include euiYScrollWithShadows;
|
|
860
981
|
width: 100%;
|
|
@@ -960,6 +1081,29 @@ $legendItemHeight: #{$euiFontSizeXS * $euiLineHeight};
|
|
|
960
1081
|
}
|
|
961
1082
|
}
|
|
962
1083
|
|
|
1084
|
+
&--actionOnHover {
|
|
1085
|
+
.echLegendItem__action {
|
|
1086
|
+
opacity: 0;
|
|
1087
|
+
// Not using pointer-events: none here because it causes a rendering
|
|
1088
|
+
// bug in Firefox. See https://github.com/elastic/elastic-charts/pull/2773#discussion_r2792933172
|
|
1089
|
+
}
|
|
1090
|
+
|
|
1091
|
+
&:hover,
|
|
1092
|
+
&:focus-within {
|
|
1093
|
+
.echLegendItem__action {
|
|
1094
|
+
opacity: 1;
|
|
1095
|
+
pointer-events: auto;
|
|
1096
|
+
}
|
|
1097
|
+
}
|
|
1098
|
+
}
|
|
1099
|
+
|
|
1100
|
+
&--isActive {
|
|
1101
|
+
.echLegendItem__action {
|
|
1102
|
+
opacity: 1;
|
|
1103
|
+
pointer-events: auto;
|
|
1104
|
+
}
|
|
1105
|
+
}
|
|
1106
|
+
|
|
963
1107
|
&__color {
|
|
964
1108
|
display: flex;
|
|
965
1109
|
line-height: 1.5;
|
|
@@ -1555,11 +1699,11 @@ $echBadgeTextColor: #07101f;
|
|
|
1555
1699
|
flex-shrink: 0;
|
|
1556
1700
|
flex-grow: 0;
|
|
1557
1701
|
|
|
1558
|
-
padding-block:
|
|
1559
|
-
padding-inline:
|
|
1702
|
+
padding-block: 2px;
|
|
1703
|
+
padding-inline: 10px;
|
|
1560
1704
|
|
|
1561
1705
|
border: 1px solid transparent;
|
|
1562
|
-
border-radius:
|
|
1706
|
+
border-radius: 9999px;
|
|
1563
1707
|
|
|
1564
1708
|
font-size: inherit;
|
|
1565
1709
|
line-height: inherit;
|
package/dist/theme_dark.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
svg text{letter-spacing:normal !important}html,body{font-family:Inter,BlinkMacSystemFont,Helvetica,Arial,sans-serif !important}.echChartStatus{visibility:hidden;pointer-events:none;z-index:-100000;width:0;height:0;position:absolute}.echChartBackground{position:absolute;top:0;bottom:0;left:0;right:0;z-index:0}.echChart{height:100%;width:100%;overflow:hidden;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.echChart__titles{margin-right:24px}.echChartContent{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;height:1px;width:100%}.echChartContent--column{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.echChartTitle{font-style:normal;font-weight:bold;font-size:16px;line-height:19px;padding:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;-ms-flex-negative:0;flex-shrink:0}.echChartTitle+.echChartDescription{padding-top:0}.echChartDescription{padding:8px;font-style:normal;font-weight:normal;font-size:14px;line-height:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;-ms-flex-negative:0;flex-shrink:0}.echContainer{-webkit-box-flex:1;-ms-flex:1;flex:1;position:relative;overflow:hidden;width:100%;height:100%}.echChartPointerContainer{position:absolute;top:0;bottom:0;right:0;left:0;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.echChartResizer{z-index:-10000000;position:absolute;bottom:0;top:0;left:0;right:0;-webkit-box-sizing:border-box;box-sizing:border-box}.echBrushTool{position:absolute;top:0;left:0;margin:0;padding:0;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;pointer-events:none}.echTooltip{-webkit-box-shadow:0 1px 5px rgba(0,0,0,.25),0 3.6px 13px rgba(0,0,0,.175),0 8.4px 23px rgba(0,0,0,.15),0 23px 35px rgba(0,0,0,.125);box-shadow:0 1px 5px rgba(0,0,0,.25),0 3.6px 13px rgba(0,0,0,.175),0 8.4px 23px rgba(0,0,0,.15),0 23px 35px rgba(0,0,0,.125);border-radius:4px;background-color:#000;color:#fff;z-index:9000;max-width:256px;overflow-wrap:break-word;padding:8px;font-size:12px;font-size:0.8571428571rem;line-height:1.5;padding:0;max-width:100%;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:#050f21;color:#cad3e2;overflow:hidden;cursor:default;-webkit-transition:opacity 250ms,-webkit-box-shadow 400ms;transition:opacity 250ms,-webkit-box-shadow 400ms;transition:box-shadow 400ms,opacity 250ms;transition:box-shadow 400ms,opacity 250ms,-webkit-box-shadow 400ms;border:1px solid #050f21}.echTooltip .euiHorizontalRule{background-color:#333}.echTooltip__outerWrapper{display:-webkit-box;display:-ms-flexbox;display:flex}.echTooltip--pinned{-webkit-box-shadow:0 .7px 1.4px rgba(0,0,0,.175),0 1.9px 4px rgba(0,0,0,.125),0 4.5px 10px rgba(0,0,0,.125);box-shadow:0 .7px 1.4px rgba(0,0,0,.175),0 1.9px 4px rgba(0,0,0,.125),0 4.5px 10px rgba(0,0,0,.125);pointer-events:auto;-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.echTooltip--pinned .echTooltip__tableRow--selectable{cursor:pointer}.echTooltip--pinned .echTooltipActions{pointer-events:auto}.echTooltip--pinned .echTooltip__tableWrapper{pointer-events:auto}.echTooltip .echTooltip__tableCell--truncate{text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.echTooltip__metricRow{padding:4px 8px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.echTooltip__tableWrapper{overflow:hidden;scrollbar-color:rgba(113,134,168,.5) transparent;scrollbar-width:thin;background-color:#050f21}.echTooltip__tableWrapper::-webkit-scrollbar{width:16px;height:16px}.echTooltip__tableWrapper::-webkit-scrollbar-thumb{background-color:rgba(113,134,168,.5);background-clip:content-box;border-radius:16px;border:6px solid transparent}.echTooltip__tableWrapper::-webkit-scrollbar-corner,.echTooltip__tableWrapper::-webkit-scrollbar-track{background-color:transparent}.echTooltip__tableWrapper--pinned{overflow:auto}.echTooltip__table{display:grid;width:100%}.echTooltip__table--noGrid{display:table}.echTooltip__tableHeader .echTooltip__tableCell,.echTooltip__tableFooter .echTooltip__tableCell{cursor:default;font-weight:600;background-color:#050f21;position:sticky;z-index:1}.echTooltip__tableHeader,.echTooltip__tableBody,.echTooltip__tableFooter,.echTooltip__tableRow{display:contents}.echTooltip__tableHeader{margin-bottom:0;top:0}.echTooltip__tableHeader .echTooltip__tableCell{border-bottom:solid 1px #243147;top:0}.echTooltip__tableFooter{margin-top:0;bottom:0}.echTooltip__tableFooter .echTooltip__tableCell{border-top:solid 1px #243147;bottom:0}.echTooltip__tableCell:not(.echTooltip__colorCell){padding:4px}.echTooltip__tableBody .echTooltip__tableCell:not(.echTooltip__colorCell){padding:2px 4px;-webkit-transition:margin 200ms,padding 200ms;transition:margin 200ms,padding 200ms}.echTooltip__tableBody .echTooltip__tableRow--selected .echTooltip__tableCell:not(.echTooltip__colorCell),.echTooltip__tableBody .echTooltip__tableRow--selected .echTooltip__colorCell .echTooltip__colorStrip--spacer{background-color:#0c2a55}.echTooltip__tableBody .echTooltip__tableRow--selected .echTooltip__colorCell+.echTooltip__tableCell{margin-left:10px;padding-left:10px}.echTooltip__tableBody .echTooltip__tableRow--selected:hover .echTooltip__tableCell:not(.echTooltip__colorCell),.echTooltip__tableBody .echTooltip__tableRow--selected:hover .echTooltip__colorCell .echTooltip__colorStrip--spacer{background-color:#0c2a55}.echTooltip__tableBody .echTooltip__tableRow--selectable:hover .echTooltip__tableCell:not(.echTooltip__colorCell),.echTooltip__tableBody .echTooltip__tableRow--selectable:hover .echTooltip__colorCell .echTooltip__colorStrip--spacer{background-color:rgba(97,162,255,.05)}.echTooltip__tableRow{position:relative}.echTooltip__tableRow--highlighted .echTooltip__tableCell:not(.echTooltip__colorCell),.echTooltip__tableRow--highlighted .echTooltip__colorCell .echTooltip__colorStrip--spacer{background-color:rgba(36,49,71,.5)}.echTooltip__tableRow--selected :not(.echTooltip__colorCell--static) .echTooltip__colorStrip{width:21px}.echTooltip__tableRow--selected :not(.echTooltip__colorCell--static) .echTooltip__colorStrip--spacer{width:0;min-width:0}.echTooltip__tableRow--selected :not(.echTooltip__colorCell--static) .echTooltip__colorStrip--icon{opacity:1}.echTooltip__colorCell{padding:0;height:100%;position:relative;overflow:hidden;width:21px}.echTooltip__colorCell--static{width:5px}.echTooltip__colorStrip,.echTooltip__colorStrip--bg,.echTooltip__colorStrip--spacer{position:absolute;top:0;left:0;bottom:0;width:5px;-webkit-transition:width 200ms;transition:width 200ms}.echTooltip__colorStrip--icon{opacity:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:100%;-webkit-transition:opacity 200ms;transition:opacity 200ms;padding:0 4px}.echTooltip__colorStrip--spacer{left:auto;right:10px;width:6px;min-width:6px}.echTooltip__label{min-width:1px;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;text-align:left}.echTooltip__value{text-align:right;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum"}.echTooltip[dir=rtl] .echTooltip__colorStrip{left:auto;right:0}.echTooltipHeader{font-weight:600;margin-bottom:0;padding:4px 8px}.echTooltipFooter{font-weight:600;margin-top:0;padding:4px 8px}.echTooltipDivider{width:100%;border-bottom:solid 1px #243147}@-webkit-keyframes promptSlideDown{100%{opacity:1;top:0;height:26px}}@keyframes promptSlideDown{100%{opacity:1;top:0;height:26px}}.echTooltipPrompt{position:relative;width:100%;z-index:-1}.echTooltipPrompt__content{color:#8e9fbc;font-style:normal;font-size:12px;line-height:26px;padding:0 8px}.echTooltipPrompt.slideDown{opacity:0;top:-26px;height:0;-webkit-animation:promptSlideDown .25s forwards;animation:promptSlideDown .25s forwards;-webkit-animation-delay:1.5s;animation-delay:1.5s}.echTooltipActions{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;width:100%;font-style:normal;font-size:12px;line-height:21px}.echTooltipActions__prompt{position:relative;height:26px;padding:0 8px;line-height:26px;width:100%;color:#8e9fbc;font-style:normal;font-size:12px}.echTooltipActions__action{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block;text-align:left;width:100%;padding:0 8px;line-height:21px;cursor:pointer;color:#cad3e2}.echTooltipActions__action:nth-child(2){padding-top:4px}.echTooltipActions__action:last-child{padding-bottom:2px}.echTooltipActions__action:hover,.echTooltipActions__action:focus{text-decoration:underline}.echTooltipActions__action[disabled]{cursor:default;color:#6a7fa0}.echTooltipActions__action[disabled]:hover,.echTooltipActions__action[disabled]:focus{text-decoration:none}.echLegendTable__container{scrollbar-color:rgba(113,134,168,.5) transparent;scrollbar-width:thin;height:100%;overflow-y:auto;overflow-x:hidden;-webkit-mask-image:linear-gradient(to bottom, rgba(255, 0, 0, 0.1) 0%, red 7.5px, red calc(100% - 7.5px), rgba(255, 0, 0, 0.1) 100%);mask-image:linear-gradient(to bottom, rgba(255, 0, 0, 0.1) 0%, red 7.5px, red calc(100% - 7.5px), rgba(255, 0, 0, 0.1) 100%);-webkit-transform:translateZ(0);transform:translateZ(0);width:100%;overflow-y:auto;overflow-x:hidden}.echLegendTable__container::-webkit-scrollbar{width:16px;height:16px}.echLegendTable__container::-webkit-scrollbar-thumb{background-color:rgba(113,134,168,.5);background-clip:content-box;border-radius:16px;border:6px solid transparent}.echLegendTable__container::-webkit-scrollbar-corner,.echLegendTable__container::-webkit-scrollbar-track{background-color:transparent}.echLegendTable__container:focus{outline:none}.echLegendTable__container[tabindex="0"]:focus:focus-visible{outline-style:auto}.echLegendTable__container :focus{-webkit-animation:350ms cubic-bezier(0.694, 0.0482, 0.335, 1) 1 normal forwards focusRingAnimate !important;animation:350ms cubic-bezier(0.694, 0.0482, 0.335, 1) 1 normal forwards focusRingAnimate !important;background-color:#0d2f5e;border-radius:2px}.echLegendTable{overflow:auto;display:grid;width:100%;position:relative}.echLegendTable__header,.echLegendTable__rowgroup,.echLegendTable__row{display:contents}.echLegendTable .echColorPickerPopover{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.echLegend--vertical .echLegendTable__container{padding:8px}.echLegend--horizontal .echLegendTable{padding:4px 8px 4px 16px}.echLegendTable__item{color:#cad3e2}.echLegendTable__item .echLegendItem__action{padding-top:2px;max-width:16px;height:16px}.echLegendTable__item .echLegendItem__action:empty{width:0}.echLegendTable__item:last-child .echLegendTable__cell{border-bottom:solid 1px #243147}.echLegendTable__item:not([dir=rtl]) .echLegendTable__cell:last-child{padding-right:2px}.echLegendTable__item[dir=rtl] .echLegendTable__cell:last-child{padding-left:2px}.echLegendTable__item[dir=rtl] .echLegendItem__label{text-align:right}.echLegendTable__item[dir=rtl] .echLegend__legendValue{text-align:left}.echLegendTable__item--highlightable .echLegendTable__cell:hover{background-color:#172336}.echLegendTable__item--highlightable .echLegendTable__cell:hover~.echLegendTable__cell{background-color:#172336}.echLegendTable__item--highlightable .echLegendTable__cell:has(~.echLegendTable__cell:hover){background-color:#172336}.echLegendTable__item:not(.echLegendTable__item--hidden) .echLegendSingleItem__color--changable{cursor:pointer}.echLegendTable__item--vertical{padding-top:2px;padding-bottom:2px}.echLegendTable__item--hidden{color:#7186a8}.echLegendTable__item .echLegend__legendValue{font-size:12px;font-size:0.8571428571rem;line-height:1.5;text-align:right;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";letter-spacing:unset;direction:ltr;white-space:nowrap}.echLegendTable__cell{font-size:12px;font-size:0.8571428571rem;line-height:1.5;-ms-flex-line-pack:baseline;align-content:baseline;border-bottom:solid 1px #172336;padding:4px 8px}.echLegendTable__cell--truncate{text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:1;line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.echLegendTable__colorCell{padding-right:0;padding-left:2px}.echLegendTable__colorCell.echLegend__colorWrapper{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;z-index:1}.echLegendTable__header{cursor:default;font-weight:600;background-color:#050f21;font-size:12px}.echLegendTable__header .echLegendTable__cell{border-bottom:solid 1px #243147}[id^=echTooltipPortal]{pointer-events:none}[id^=echAnchor]{position:absolute;pointer-events:none}.echTooltipPortal__invisible{position:fixed;visibility:hidden;width:0;height:0}.echIcon{-ms-flex-negative:0;flex-shrink:0;display:inline-block;vertical-align:middle;fill:currentColor}.echIcon svg{-webkit-transform:translate(0, 0);transform:translate(0, 0)}.echIcon:focus{opacity:1;background:#0d2f5e}.echLegend{z-index:1}.echLegend .echLegendList{display:grid;grid-template-columns:minmax(0, 1fr);-webkit-padding-start:0;padding-inline-start:0;-webkit-padding-end:0;padding-inline-end:0;-webkit-margin-before:0;margin-block-start:0;-webkit-margin-after:0;margin-block-end:0}.echLegend--horizontal .echLegendList{grid-column-gap:24px;grid-row-gap:8px;margin-top:8px;margin-bottom:8px}.echLegend--top,.echLegend--left{-webkit-box-ordinal-group:1;-ms-flex-order:0;order:0}.echLegend--bottom,.echLegend--right{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.echLegend--debug{background:rgba(238,130,238,.2);position:relative}.echLegend--inert{pointer-events:none}.echLegend .echLegendListContainer{scrollbar-color:rgba(113,134,168,.5) transparent;scrollbar-width:thin;height:100%;overflow-y:auto;overflow-x:hidden;-webkit-mask-image:linear-gradient(to bottom, rgba(255, 0, 0, 0.1) 0%, red 7.5px, red calc(100% - 7.5px), rgba(255, 0, 0, 0.1) 100%);mask-image:linear-gradient(to bottom, rgba(255, 0, 0, 0.1) 0%, red 7.5px, red calc(100% - 7.5px), rgba(255, 0, 0, 0.1) 100%);-webkit-transform:translateZ(0);transform:translateZ(0);width:100%;overflow-y:auto;overflow-x:hidden}.echLegend .echLegendListContainer::-webkit-scrollbar{width:16px;height:16px}.echLegend .echLegendListContainer::-webkit-scrollbar-thumb{background-color:rgba(113,134,168,.5);background-clip:content-box;border-radius:16px;border:6px solid transparent}.echLegend .echLegendListContainer::-webkit-scrollbar-corner,.echLegend .echLegendListContainer::-webkit-scrollbar-track{background-color:transparent}.echLegend .echLegendListContainer:focus{outline:none}.echLegend .echLegendListContainer[tabindex="0"]:focus:focus-visible{outline-style:auto}.echLegend .echLegendListContainer :focus{-webkit-animation:350ms cubic-bezier(0.694, 0.0482, 0.335, 1) 1 normal forwards focusRingAnimate !important;animation:350ms cubic-bezier(0.694, 0.0482, 0.335, 1) 1 normal forwards focusRingAnimate !important;background-color:#0d2f5e;border-radius:2px}.echLegendItem{color:#cad3e2;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;position:relative}.echLegendItem .echLegend__colorWrapper>*:first-of-type{height:18px}.echLegendItem:not([dir=rtl])>*:not(.background){margin-left:4px}.echLegendItem:not([dir=rtl])>*:not(.background):last-child:not(.echLegendItem__legendValue){margin-right:4px}.echLegendItem[dir=rtl]>*:not(.background){margin-right:4px}.echLegendItem[dir=rtl]>*:not(.background):last-child:not(.echLegendItem__legendValue){margin-left:4px}.echLegendItem:not(.echLegendItem--hidden) .echLegendItem__color--changable{cursor:pointer}.echLegendItem:hover .background{background-color:#172336}.echLegendItem .background{position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1}.echLegendItem__action{cursor:pointer;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:18px;max-width:calc(18px + 8px)}.echLegendItem__action .euiPopover,.echLegendItem__action .euiPopover__anchor,.echLegendItem__action .euiPopover__anchor>*:first-child{height:100%;width:100%;display:-webkit-box;display:-ms-flexbox;display:flex}.echLegendItem__color{display:-webkit-box;display:-ms-flexbox;display:flex;line-height:1.5;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.echLegendItem__label{font-size:12px;font-size:0.8571428571rem;line-height:1.5;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;text-align:left;vertical-align:baseline;letter-spacing:unset;-webkit-box-align:center;-ms-flex-align:center;align-items:center;overflow-wrap:break-word;word-wrap:break-word;word-break:break-all;word-break:break-word;-ms-hyphens:auto;hyphens:auto;overflow:hidden;min-width:1px}.echLegendItem__label--singleline{max-width:100%;overflow:hidden !important;text-overflow:ellipsis !important;white-space:nowrap !important}.echLegendItem__label--multiline:is(div){display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.echLegendItem__label--clickable:hover{cursor:pointer;text-decoration:underline}.echLegendItem__legendValue{font-size:12px;font-size:0.8571428571rem;line-height:1.5;text-align:right;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;margin-left:4px;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";letter-spacing:unset;direction:ltr}.echLegendItem--vertical{padding-top:2px;padding-bottom:2px}.echLegendItem--vertical:first-of-type{margin-top:2px}.echLegendItem--vertical .background{margin-top:2px;margin-bottom:2px}.echLegendItem--hidden{color:#7186a8}.echLegendItem[dir=rtl] .echLegendItem__label{text-align:right}.echReactiveChart_noResults{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;font-size:12px;font-size:0.8571428571rem;line-height:1.5;color:#7186a8}.echGridContainer{display:grid;width:100%;height:100%;-ms-flex-line-pack:start;align-content:start;-webkit-box-pack:stretch;-ms-flex-pack:stretch;justify-content:stretch;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.echGridCell{position:relative;width:100%;height:100%;overflow:hidden;-webkit-transition:background-color ease-in-out .1s;transition:background-color ease-in-out .1s}.echGridCell--rightBorder{border-right:1px solid #343741}.echGridCell--bottomBorder{border-bottom:1px solid #343741}.echAlignedGrid{display:grid;-ms-flex-line-pack:stretch;align-content:stretch;width:100%;height:100%}.echAlignedGrid--header{width:100%;height:100%;margin:0;padding:0}.echAlignedGrid__borderRight{border-right:1px solid #edf0f5}.echAlignedGrid__borderBottom{border-bottom:1px solid #edf0f5}.echAlignedGrid--content{width:100%;min-height:0;margin:0;padding:0}.echHighlighter{position:absolute;pointer-events:none;top:0;bottom:0;left:0;right:0;width:100%;height:100%}.echHighlighterOverlay__fill{fill:rgba(255,255,255,.2)}.echHighlighterOverlay__stroke{stroke:rgba(255,255,255,.2)}.echHighlighter__mask{fill:rgba(5,15,33,.5)}.echCrosshair,.echCrosshair__cursor,.echCrosshair__crossLine{position:absolute;top:0;left:0;pointer-events:none}.echScreenReaderOnly{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}.echScreenReaderOnlyDebug{left:0 !important;top:0 !important;right:0 !important;bottom:0 !important;width:100% !important;height:100% !important;overflow:auto !important;background:rgba(255,255,255,.8)}.echScreenReaderOnlyDebug table,.echScreenReaderOnlyDebug td,.echScreenReaderOnlyDebug th{border:1px solid #000;font-size:12px}.echScreenReaderTable{overflow-x:auto;text-align:left}.echAnnotation{padding:0;-webkit-transition:opacity 250ms;transition:opacity 250ms;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;max-width:260px}.echAnnotation__marker{position:absolute;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:12px;font-weight:700;line-height:normal}.echAnnotation__details{padding:4px 8px}.echAnnotation__icon{position:relative}.echAnnotation__body{white-space:nowrap}.echCanvasRenderer{position:absolute;top:0;left:0;padding:0;margin:0;border:0;background:transparent}.echMetricText{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0, 1fr);grid-template-rows:-webkit-min-content auto -webkit-min-content -webkit-min-content;grid-template-rows:min-content auto min-content min-content;height:100%;padding:8px;line-height:1.2}.echMetricText__gap{overflow:hidden}.echMetricText__titlesBlock{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.echMetricText__titlesBlock--left{-webkit-box-align:start;-ms-flex-align:start;align-items:start;text-align:left}.echMetricText__titlesBlock--center{-webkit-box-align:center;-ms-flex-align:center;align-items:center;text-align:center}.echMetricText__titlesBlock--center .echMetricText__title button{width:100%}.echMetricText__titlesBlock--right{-webkit-box-align:end;-ms-flex-align:end;align-items:end;text-align:right}.echMetricText .echMetricText__extraBlock{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;overflow:hidden;padding-top:5px}.echMetricText .echMetricText__extraBlock--left{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.echMetricText .echMetricText__extraBlock--center{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.echMetricText .echMetricText__extraBlock--right{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.echMetricText__valueBlock{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.echMetricText__valueBlock--left{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:start}.echMetricText__valueBlock--center{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.echMetricText__valueBlock--right{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:end}.echMetricText__title{word-wrap:break-word;width:100%}.echMetricText__title button{width:95%;outline:none;display:block}.echMetricText__subtitle{padding-top:5px;font-weight:normal;width:95%}.echMetricText__extra{font-weight:normal}.echMetricText__value{position:relative;font-weight:bold;white-space:nowrap;overflow:hidden}.echMetricText__valueIcon{padding-left:8px}.echMetricText__part{font-weight:bold}.echMetricText__icon{display:-webkit-box;display:-ms-flexbox;display:flex}.echMetricText__icon--left{-webkit-box-pack:left;-ms-flex-pack:left;justify-content:left}.echMetricText__icon--right{-webkit-box-pack:right;-ms-flex-pack:right;justify-content:right}.echSingleMetricProgress{position:absolute;border-radius:8px}.echSingleMetricProgress--vertical{left:8px;right:0;top:8px;bottom:0;height:calc(100% - 16px);width:100%}.echSingleMetricProgress--vertical.echSingleMetricProgress--small{right:auto;width:4px}.echSingleMetricProgress--vertical.echSingleMetricProgress--medium{right:auto;width:8px}.echSingleMetricProgress--vertical.echSingleMetricProgress--large{right:auto;width:16px}.echSingleMetricProgress--horizontal{left:8px;right:0;width:calc(100% - 16px);top:0;bottom:8px;height:100%}.echSingleMetricProgress--horizontal.echSingleMetricProgress--small{top:auto;height:4px}.echSingleMetricProgress--horizontal.echSingleMetricProgress--medium{top:auto;height:8px}.echSingleMetricProgress--horizontal.echSingleMetricProgress--large{top:auto;height:16px}.echSingleMetricProgressBar{-webkit-transition:background-color ease-in-out .1s;transition:background-color ease-in-out .1s;max-width:100%;max-height:100%}.echSingleMetricProgressBar--vertical{position:absolute;left:0;right:0;bottom:0;width:100%}.echSingleMetricProgressBar--horizontal{position:absolute;top:0;bottom:0;left:0;height:100%}.echSingleMetricTarget{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;overflow:visible;z-index:1}.echSingleMetricTarget--vertical{-webkit-transform:rotate(90deg);transform:rotate(90deg);position:absolute;left:100%;bottom:0}.echSingleMetricTarget--horizontal{position:absolute;bottom:100%}.echSingleMetricZeroBaseline{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;overflow:visible}.echSingleMetricZeroBaseline--vertical{position:absolute;left:0}.echSingleMetricZeroBaseline--vertical.echSingleMetricZeroBaseline--small{right:auto;height:2px;width:6.5px}.echSingleMetricZeroBaseline--vertical.echSingleMetricZeroBaseline--medium{right:auto;height:2px;width:13px}.echSingleMetricZeroBaseline--vertical.echSingleMetricZeroBaseline--large{right:auto;height:4px;width:26px}.echSingleMetricZeroBaseline--horizontal{position:absolute;bottom:0}.echSingleMetricZeroBaseline--horizontal.echSingleMetricZeroBaseline--small{top:auto;width:2px;height:6.5px}.echSingleMetricZeroBaseline--horizontal.echSingleMetricZeroBaseline--medium{top:auto;width:2px;height:13px}.echSingleMetricZeroBaseline--horizontal.echSingleMetricZeroBaseline--large{top:auto;width:4px;height:26px}.echSingleMetricSparkline{position:absolute;overflow:hidden;top:0;bottom:0;left:0;right:0}.echSingleMetricSparkline__svg{position:absolute;top:0;bottom:0;left:0;right:0;width:100%;height:100%}.echSingleMetricSparkline__svg rect,.echSingleMetricSparkline__svg path{-webkit-transition:fill ease-in-out .1s;transition:fill ease-in-out .1s}.echSingleMetricChart--small{position:absolute;top:auto;left:auto;bottom:0;right:0;width:100px;height:30px}.echSecondaryMetric{display:-webkit-box;display:-ms-flexbox;display:flex;gap:4px;overflow:hidden;-webkit-box-align:center;-ms-flex-align:center;align-items:center;white-space:nowrap}.echSecondaryMetric__label{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.echSecondaryMetric__value{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto;max-width:calc(100% - 4px)}.echSecondaryMetric__value--full{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;max-width:100%}.echSecondaryMetric__truncate{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.echBadge__content{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;vertical-align:middle;overflow:hidden;min-block-size:18px;-ms-flex-negative:0;flex-shrink:0;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0;padding-block:0px;padding-inline:8px;border:1px solid transparent;border-radius:2px;font-size:inherit;line-height:inherit;text-align:start;text-decoration:none;background-color:#e3e8f2;color:#07101f;cursor:inherit}.echBadge__text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%;min-width:0}.echMetricContainer{display:grid;width:100%;height:100%;-ms-flex-line-pack:start;align-content:start;-webkit-box-pack:stretch;-ms-flex-pack:stretch;justify-content:stretch;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.echMetric{position:relative;width:100%;height:100%;overflow:hidden;-webkit-transition:background-color ease-in-out .1s;transition:background-color ease-in-out .1s}.echMetric .echMetric--outline{position:absolute;top:0;left:0;right:0;bottom:0;pointer-events:none}.echMetric:focus-within .echMetric--outline{outline:auto;outline-offset:-1.5px}.echMetric--rightBorder{border-right:1px solid #343741}.echMetric--topBorder{border-top:1px solid #343741}.echMetric--bottomBorder{border-bottom:1px solid #343741}.echMetric--vertical.echMetric--withProgressBar--small{padding-left:12px}.echMetric--vertical.echMetric--withProgressBar--medium{padding-left:16px}.echMetric--vertical.echMetric--withProgressBar--large{padding-left:24px}.echMetric--vertical.echMetric--withTargetProgressBar--small{padding-left:20px}.echMetric--vertical.echMetric--withTargetProgressBar--medium{padding-left:24px}.echMetric--vertical.echMetric--withTargetProgressBar--large{padding-left:32px}.echMetric--horizontal.echMetric--withProgressBar--small{padding-bottom:12px}.echMetric--horizontal.echMetric--withProgressBar--medium{padding-bottom:16px}.echMetric--horizontal.echMetric--withProgressBar--large{padding-bottom:24px}.echMetric--horizontal.echMetric--withTargetProgressBar--small{padding-bottom:20px}.echMetric--horizontal.echMetric--withTargetProgressBar--medium{padding-bottom:24px}.echMetric--horizontal.echMetric--withTargetProgressBar--large{padding-bottom:32px}.echMetricEmpty{position:absolute;bottom:9px;right:11px;width:20px;border-bottom:1px solid}
|
|
1
|
+
svg text{letter-spacing:normal !important}html,body{font-family:Inter,BlinkMacSystemFont,Helvetica,Arial,sans-serif !important}.echChartStatus{visibility:hidden;pointer-events:none;z-index:-100000;width:0;height:0;position:absolute}.echChartBackground{position:absolute;top:0;bottom:0;left:0;right:0;z-index:0}.echChart{height:100%;width:100%;overflow:hidden;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.echChart__titles{margin-right:24px}.echChartContent{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;height:1px;width:100%}.echChartContent--column{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.echChartTitle{font-style:normal;font-weight:bold;font-size:16px;line-height:19px;padding:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;-ms-flex-negative:0;flex-shrink:0}.echChartTitle+.echChartDescription{padding-top:0}.echChartDescription{padding:8px;font-style:normal;font-weight:normal;font-size:14px;line-height:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;-ms-flex-negative:0;flex-shrink:0}.echContainer{-webkit-box-flex:1;-ms-flex:1;flex:1;position:relative;overflow:hidden;width:100%;height:100%}.echChartPointerContainer{position:absolute;top:0;bottom:0;right:0;left:0;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.echChartResizer{z-index:-10000000;position:absolute;bottom:0;top:0;left:0;right:0;-webkit-box-sizing:border-box;box-sizing:border-box}.echBrushTool{position:absolute;top:0;left:0;margin:0;padding:0;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;pointer-events:none}.echTooltip{-webkit-box-shadow:0 1px 5px rgba(0,0,0,.25),0 3.6px 13px rgba(0,0,0,.175),0 8.4px 23px rgba(0,0,0,.15),0 23px 35px rgba(0,0,0,.125);box-shadow:0 1px 5px rgba(0,0,0,.25),0 3.6px 13px rgba(0,0,0,.175),0 8.4px 23px rgba(0,0,0,.15),0 23px 35px rgba(0,0,0,.125);border-radius:4px;background-color:#000;color:#fff;z-index:9000;max-width:256px;overflow-wrap:break-word;padding:8px;font-size:12px;font-size:0.8571428571rem;line-height:1.5;padding:0;max-width:100%;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:#050f21;color:#cad3e2;overflow:hidden;cursor:default;-webkit-transition:opacity 250ms,-webkit-box-shadow 400ms;transition:opacity 250ms,-webkit-box-shadow 400ms;transition:box-shadow 400ms,opacity 250ms;transition:box-shadow 400ms,opacity 250ms,-webkit-box-shadow 400ms;border:1px solid #050f21}.echTooltip .euiHorizontalRule{background-color:#333}.echTooltip__outerWrapper{display:-webkit-box;display:-ms-flexbox;display:flex}.echTooltip--pinned{-webkit-box-shadow:0 .7px 1.4px rgba(0,0,0,.175),0 1.9px 4px rgba(0,0,0,.125),0 4.5px 10px rgba(0,0,0,.125);box-shadow:0 .7px 1.4px rgba(0,0,0,.175),0 1.9px 4px rgba(0,0,0,.125),0 4.5px 10px rgba(0,0,0,.125);pointer-events:auto;-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.echTooltip--pinned .echTooltip__tableRow--selectable{cursor:pointer}.echTooltip--pinned .echTooltipActions{pointer-events:auto}.echTooltip--pinned .echTooltip__tableWrapper{pointer-events:auto}.echTooltip .echTooltip__tableCell--truncate{text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.echTooltip__metricRow{padding:4px 8px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.echTooltip__tableWrapper{overflow:hidden;scrollbar-color:rgba(113,134,168,.5) transparent;scrollbar-width:thin;background-color:#050f21}.echTooltip__tableWrapper::-webkit-scrollbar{width:16px;height:16px}.echTooltip__tableWrapper::-webkit-scrollbar-thumb{background-color:rgba(113,134,168,.5);background-clip:content-box;border-radius:16px;border:6px solid transparent}.echTooltip__tableWrapper::-webkit-scrollbar-corner,.echTooltip__tableWrapper::-webkit-scrollbar-track{background-color:transparent}.echTooltip__tableWrapper--pinned{overflow:auto}.echTooltip__table{display:grid;width:100%}.echTooltip__table--noGrid{display:table}.echTooltip__tableHeader .echTooltip__tableCell,.echTooltip__tableFooter .echTooltip__tableCell{cursor:default;font-weight:600;background-color:#050f21;position:sticky;z-index:1}.echTooltip__tableHeader,.echTooltip__tableBody,.echTooltip__tableFooter,.echTooltip__tableRow{display:contents}.echTooltip__tableHeader{margin-bottom:0;top:0}.echTooltip__tableHeader .echTooltip__tableCell{border-bottom:solid 1px #243147;top:0}.echTooltip__tableFooter{margin-top:0;bottom:0}.echTooltip__tableFooter .echTooltip__tableCell{border-top:solid 1px #243147;bottom:0}.echTooltip__tableCell:not(.echTooltip__colorCell){padding:4px}.echTooltip__tableBody .echTooltip__tableCell:not(.echTooltip__colorCell){padding:2px 4px;-webkit-transition:margin 200ms,padding 200ms;transition:margin 200ms,padding 200ms}.echTooltip__tableBody .echTooltip__tableRow--selected .echTooltip__tableCell:not(.echTooltip__colorCell),.echTooltip__tableBody .echTooltip__tableRow--selected .echTooltip__colorCell .echTooltip__colorStrip--spacer{background-color:#0c2a55}.echTooltip__tableBody .echTooltip__tableRow--selected .echTooltip__colorCell+.echTooltip__tableCell{margin-left:10px;padding-left:10px}.echTooltip__tableBody .echTooltip__tableRow--selected:hover .echTooltip__tableCell:not(.echTooltip__colorCell),.echTooltip__tableBody .echTooltip__tableRow--selected:hover .echTooltip__colorCell .echTooltip__colorStrip--spacer{background-color:#0c2a55}.echTooltip__tableBody .echTooltip__tableRow--selectable:hover .echTooltip__tableCell:not(.echTooltip__colorCell),.echTooltip__tableBody .echTooltip__tableRow--selectable:hover .echTooltip__colorCell .echTooltip__colorStrip--spacer{background-color:rgba(97,162,255,.05)}.echTooltip__tableRow{position:relative}.echTooltip__tableRow--highlighted .echTooltip__tableCell:not(.echTooltip__colorCell),.echTooltip__tableRow--highlighted .echTooltip__colorCell .echTooltip__colorStrip--spacer{background-color:rgba(36,49,71,.5)}.echTooltip__tableRow--selected :not(.echTooltip__colorCell--static) .echTooltip__colorStrip{width:21px}.echTooltip__tableRow--selected :not(.echTooltip__colorCell--static) .echTooltip__colorStrip--spacer{width:0;min-width:0}.echTooltip__tableRow--selected :not(.echTooltip__colorCell--static) .echTooltip__colorStrip--icon{opacity:1}.echTooltip__colorCell{padding:0;height:100%;position:relative;overflow:hidden;width:21px}.echTooltip__colorCell--static{width:5px}.echTooltip__colorStrip,.echTooltip__colorStrip--bg,.echTooltip__colorStrip--spacer{position:absolute;top:0;left:0;bottom:0;width:5px;-webkit-transition:width 200ms;transition:width 200ms}.echTooltip__colorStrip--icon{opacity:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:100%;-webkit-transition:opacity 200ms;transition:opacity 200ms;padding:0 4px}.echTooltip__colorStrip--spacer{left:auto;right:10px;width:6px;min-width:6px}.echTooltip__label{min-width:1px;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;text-align:left}.echTooltip__value{text-align:right;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum"}.echTooltip[dir=rtl] .echTooltip__colorStrip{left:auto;right:0}.echTooltipHeader{font-weight:600;margin-bottom:0;padding:4px 8px}.echTooltipFooter{font-weight:600;margin-top:0;padding:4px 8px}.echTooltipDivider{width:100%;border-bottom:solid 1px #243147}@-webkit-keyframes promptSlideDown{100%{opacity:1;top:0;height:26px}}@keyframes promptSlideDown{100%{opacity:1;top:0;height:26px}}.echTooltipPrompt{position:relative;width:100%;z-index:-1}.echTooltipPrompt__content{color:#8e9fbc;font-style:normal;font-size:12px;line-height:26px;padding:0 8px}.echTooltipPrompt.slideDown{opacity:0;top:-26px;height:0;-webkit-animation:promptSlideDown .25s forwards;animation:promptSlideDown .25s forwards;-webkit-animation-delay:1.5s;animation-delay:1.5s}.echTooltipActions{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;width:100%;font-style:normal;font-size:12px;line-height:21px}.echTooltipActions__prompt{position:relative;height:26px;padding:0 8px;line-height:26px;width:100%;color:#8e9fbc;font-style:normal;font-size:12px}.echTooltipActions__action{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block;text-align:left;width:100%;padding:0 8px;line-height:21px;cursor:pointer;color:#cad3e2}.echTooltipActions__action:nth-child(2){padding-top:4px}.echTooltipActions__action:last-child{padding-bottom:2px}.echTooltipActions__action:hover,.echTooltipActions__action:focus{text-decoration:underline}.echTooltipActions__action[disabled]{cursor:default;color:#6a7fa0}.echTooltipActions__action[disabled]:hover,.echTooltipActions__action[disabled]:focus{text-decoration:none}.echLegendTable__container{scrollbar-color:rgba(113,134,168,.5) transparent;scrollbar-width:thin;height:100%;overflow-y:auto;overflow-x:hidden;-webkit-mask-image:linear-gradient(to bottom, rgba(255, 0, 0, 0.1) 0%, red 7.5px, red calc(100% - 7.5px), rgba(255, 0, 0, 0.1) 100%);mask-image:linear-gradient(to bottom, rgba(255, 0, 0, 0.1) 0%, red 7.5px, red calc(100% - 7.5px), rgba(255, 0, 0, 0.1) 100%);-webkit-transform:translateZ(0);transform:translateZ(0);width:100%;overflow-y:auto;overflow-x:hidden}.echLegendTable__container::-webkit-scrollbar{width:16px;height:16px}.echLegendTable__container::-webkit-scrollbar-thumb{background-color:rgba(113,134,168,.5);background-clip:content-box;border-radius:16px;border:6px solid transparent}.echLegendTable__container::-webkit-scrollbar-corner,.echLegendTable__container::-webkit-scrollbar-track{background-color:transparent}.echLegendTable__container:focus{outline:none}.echLegendTable__container[tabindex="0"]:focus:focus-visible{outline-style:auto}.echLegendTable__container :focus{-webkit-animation:350ms cubic-bezier(0.694, 0.0482, 0.335, 1) 1 normal forwards focusRingAnimate !important;animation:350ms cubic-bezier(0.694, 0.0482, 0.335, 1) 1 normal forwards focusRingAnimate !important;background-color:#0d2f5e;border-radius:2px}.echLegendTable{overflow:auto;display:grid;width:100%;position:relative}.echLegendTable__header,.echLegendTable__rowgroup,.echLegendTable__row{display:contents}.echLegendTable .echColorPickerPopover{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.echLegend--vertical .echLegendTable__container{padding:8px}.echLegend--horizontal .echLegendTable{padding:4px 8px 4px 16px}.echLegendTable__item{color:#cad3e2}.echLegendTable__item .echLegendItem__action{padding-top:2px;max-width:16px;height:16px}.echLegendTable__item .echLegendItem__action:empty{width:0}.echLegendTable__item--actionOnHover .echLegendItem__action{opacity:0}.echLegendTable__item--actionOnHover:hover .echLegendItem__action,.echLegendTable__item--actionOnHover:focus-within .echLegendItem__action{opacity:1;pointer-events:auto}.echLegendTable__item--isActive .echLegendItem__action{opacity:1;pointer-events:auto}.echLegendTable__item:last-child .echLegendTable__cell{border-bottom:solid 1px #243147}.echLegendTable__item:not([dir=rtl]) .echLegendTable__cell:last-child{padding-right:2px}.echLegendTable__item[dir=rtl] .echLegendTable__cell:last-child{padding-left:2px}.echLegendTable__item[dir=rtl] .echLegendItem__label{text-align:right}.echLegendTable__item[dir=rtl] .echLegend__legendValue{text-align:left}.echLegendTable__item--highlightable .echLegendTable__cell:hover{background-color:#172336}.echLegendTable__item--highlightable .echLegendTable__cell:hover~.echLegendTable__cell{background-color:#172336}.echLegendTable__item--highlightable .echLegendTable__cell:has(~.echLegendTable__cell:hover){background-color:#172336}.echLegendTable__item:not(.echLegendTable__item--hidden) .echLegendSingleItem__color--changable{cursor:pointer}.echLegendTable__item--vertical{padding-top:2px;padding-bottom:2px}.echLegendTable__item--hidden{color:#7186a8}.echLegendTable__item .echLegend__legendValue{font-size:12px;font-size:0.8571428571rem;line-height:1.5;text-align:right;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";letter-spacing:unset;direction:ltr;white-space:nowrap}.echLegendTable__cell{font-size:12px;font-size:0.8571428571rem;line-height:1.5;-ms-flex-line-pack:baseline;align-content:baseline;border-bottom:solid 1px #172336;padding:4px 8px}.echLegendTable__cell--truncate{text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:1;line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.echLegendTable__colorCell{padding-right:0;padding-left:2px}.echLegendTable__colorCell.echLegend__colorWrapper{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;z-index:1}.echLegendTable__header{cursor:default;font-weight:600;background-color:#050f21;font-size:12px}.echLegendTable__header .echLegendTable__cell{border-bottom:solid 1px #243147}[id^=echTooltipPortal]{pointer-events:none}[id^=echAnchor]{position:absolute;pointer-events:none}.echTooltipPortal__invisible{position:fixed;visibility:hidden;width:0;height:0}.echIcon{-ms-flex-negative:0;flex-shrink:0;display:inline-block;vertical-align:middle;fill:currentColor}.echIcon svg{-webkit-transform:translate(0, 0);transform:translate(0, 0)}.echIcon:focus{opacity:1;background:#0d2f5e}.echLegend{z-index:1}.echLegend .echLegendGridList{display:grid;grid-template-columns:minmax(0, 1fr);-webkit-padding-start:0;padding-inline-start:0;-webkit-padding-end:0;padding-inline-end:0;-webkit-margin-before:0;margin-block-start:0;-webkit-margin-after:0;margin-block-end:0}.echLegend--horizontal .echLegendGridList{grid-column-gap:24px;grid-row-gap:8px;margin-top:8px;margin-bottom:8px}.echLegend--top,.echLegend--left{-webkit-box-ordinal-group:1;-ms-flex-order:0;order:0}.echLegend--bottom,.echLegend--right{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.echLegend--debug{background:rgba(238,130,238,.2);position:relative}.echLegend--inert{pointer-events:none}.echLegend .echLegendGridListContainer{scrollbar-color:rgba(113,134,168,.5) transparent;scrollbar-width:thin;height:100%;overflow-y:auto;overflow-x:hidden;-webkit-mask-image:linear-gradient(to bottom, rgba(255, 0, 0, 0.1) 0%, red 7.5px, red calc(100% - 7.5px), rgba(255, 0, 0, 0.1) 100%);mask-image:linear-gradient(to bottom, rgba(255, 0, 0, 0.1) 0%, red 7.5px, red calc(100% - 7.5px), rgba(255, 0, 0, 0.1) 100%);-webkit-transform:translateZ(0);transform:translateZ(0);width:100%;overflow-y:auto;overflow-x:hidden}.echLegend .echLegendGridListContainer::-webkit-scrollbar{width:16px;height:16px}.echLegend .echLegendGridListContainer::-webkit-scrollbar-thumb{background-color:rgba(113,134,168,.5);background-clip:content-box;border-radius:16px;border:6px solid transparent}.echLegend .echLegendGridListContainer::-webkit-scrollbar-corner,.echLegend .echLegendGridListContainer::-webkit-scrollbar-track{background-color:transparent}.echLegend .echLegendGridListContainer:focus{outline:none}.echLegend .echLegendGridListContainer[tabindex="0"]:focus:focus-visible{outline-style:auto}.echLegend .echLegendGridListContainer :focus{-webkit-animation:350ms cubic-bezier(0.694, 0.0482, 0.335, 1) 1 normal forwards focusRingAnimate !important;animation:350ms cubic-bezier(0.694, 0.0482, 0.335, 1) 1 normal forwards focusRingAnimate !important;background-color:#0d2f5e;border-radius:2px}.echLegend{z-index:1}.echLegend .echLegendList{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-padding-start:0;padding-inline-start:0;-webkit-padding-end:0;padding-inline-end:0;-webkit-margin-before:0;margin-block-start:0;-webkit-margin-after:0;margin-block-end:0}.echLegend--horizontal .echLegendList{display:block;margin-top:8px;margin-bottom:8px}.echLegend--horizontal .echLegendListContainer{overflow-x:hidden;overflow-y:auto}.echLegend--horizontal .echLegendListContainer .echLegendList{line-height:24px}.echLegend--horizontal .echLegendListContainer .echLegendItem{display:inline;margin-right:24px}.echLegend--horizontal .echLegendListContainer .echLegendItem>.background{display:none}.echLegend--horizontal .echLegendListContainer .echLegendItem>*:not(.background){display:inline-block;vertical-align:middle;margin-left:8px}.echLegend--horizontal .echLegendListContainer .echLegendItem>.echLegendItem__action{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex}.echLegend--horizontal .echLegendListContainer .echLegendItem>.echLegendItem__colorLabel{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:4px;max-width:100%;margin-left:4px}.echLegend--horizontal .echLegendListContainer .echLegendItem>.echLegendItem__actionGroup{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:4px}.echLegend--horizontal .echLegendListContainer .echLegendItem>.echLegendItem__actionGroup>*{margin-left:0}.echLegend--top,.echLegend--left{-webkit-box-ordinal-group:1;-ms-flex-order:0;order:0}.echLegend--bottom,.echLegend--right{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.echLegend--debug{background:rgba(238,130,238,.2);position:relative}.echLegend--inert{pointer-events:none}.echLegend .echLegendListContainer{scrollbar-color:rgba(113,134,168,.5) transparent;scrollbar-width:thin;height:100%;overflow-y:auto;overflow-x:hidden;-webkit-mask-image:linear-gradient(to bottom, rgba(255, 0, 0, 0.1) 0%, red 7.5px, red calc(100% - 7.5px), rgba(255, 0, 0, 0.1) 100%);mask-image:linear-gradient(to bottom, rgba(255, 0, 0, 0.1) 0%, red 7.5px, red calc(100% - 7.5px), rgba(255, 0, 0, 0.1) 100%);-webkit-transform:translateZ(0);transform:translateZ(0);width:100%;overflow-y:auto;overflow-x:hidden}.echLegend .echLegendListContainer::-webkit-scrollbar{width:16px;height:16px}.echLegend .echLegendListContainer::-webkit-scrollbar-thumb{background-color:rgba(113,134,168,.5);background-clip:content-box;border-radius:16px;border:6px solid transparent}.echLegend .echLegendListContainer::-webkit-scrollbar-corner,.echLegend .echLegendListContainer::-webkit-scrollbar-track{background-color:transparent}.echLegend .echLegendListContainer:focus{outline:none}.echLegend .echLegendListContainer[tabindex="0"]:focus:focus-visible{outline-style:auto}.echLegend .echLegendListContainer :focus{-webkit-animation:350ms cubic-bezier(0.694, 0.0482, 0.335, 1) 1 normal forwards focusRingAnimate !important;animation:350ms cubic-bezier(0.694, 0.0482, 0.335, 1) 1 normal forwards focusRingAnimate !important;background-color:#0d2f5e;border-radius:2px}.echLegendItem{color:#cad3e2;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;position:relative}.echLegendItem .echLegend__colorWrapper>*:first-of-type{height:18px}.echLegendItem:not([dir=rtl])>*:not(.background){margin-left:4px}.echLegendItem:not([dir=rtl])>*:not(.background):last-child:not(.echLegendItem__legendValue){margin-right:4px}.echLegendItem[dir=rtl]>*:not(.background){margin-right:4px}.echLegendItem[dir=rtl]>*:not(.background):last-child:not(.echLegendItem__legendValue){margin-left:4px}.echLegendItem:not(.echLegendItem--hidden) .echLegendItem__color--changable{cursor:pointer}.echLegendItem:hover .background{background-color:#172336}.echLegendItem .background{position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1}.echLegendItem__action{cursor:pointer;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:18px;max-width:calc(18px + 8px)}.echLegendItem__action .euiPopover,.echLegendItem__action .euiPopover__anchor,.echLegendItem__action .euiPopover__anchor>*:first-child{height:100%;width:100%;display:-webkit-box;display:-ms-flexbox;display:flex}.echLegendItem--actionOnHover .echLegendItem__action{opacity:0}.echLegendItem--actionOnHover:hover .echLegendItem__action,.echLegendItem--actionOnHover:focus-within .echLegendItem__action{opacity:1;pointer-events:auto}.echLegendItem--isActive .echLegendItem__action{opacity:1;pointer-events:auto}.echLegendItem__color{display:-webkit-box;display:-ms-flexbox;display:flex;line-height:1.5;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.echLegendItem__label{font-size:12px;font-size:0.8571428571rem;line-height:1.5;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;text-align:left;vertical-align:baseline;letter-spacing:unset;-webkit-box-align:center;-ms-flex-align:center;align-items:center;overflow-wrap:break-word;word-wrap:break-word;word-break:break-all;word-break:break-word;-ms-hyphens:auto;hyphens:auto;overflow:hidden;min-width:1px}.echLegendItem__label--singleline{max-width:100%;overflow:hidden !important;text-overflow:ellipsis !important;white-space:nowrap !important}.echLegendItem__label--multiline:is(div){display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.echLegendItem__label--clickable:hover{cursor:pointer;text-decoration:underline}.echLegendItem__legendValue{font-size:12px;font-size:0.8571428571rem;line-height:1.5;text-align:right;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;margin-left:4px;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";letter-spacing:unset;direction:ltr}.echLegendItem--vertical{padding-top:2px;padding-bottom:2px}.echLegendItem--vertical:first-of-type{margin-top:2px}.echLegendItem--vertical .background{margin-top:2px;margin-bottom:2px}.echLegendItem--hidden{color:#7186a8}.echLegendItem[dir=rtl] .echLegendItem__label{text-align:right}.echReactiveChart_noResults{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;font-size:12px;font-size:0.8571428571rem;line-height:1.5;color:#7186a8}.echGridContainer{display:grid;width:100%;height:100%;-ms-flex-line-pack:start;align-content:start;-webkit-box-pack:stretch;-ms-flex-pack:stretch;justify-content:stretch;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.echGridCell{position:relative;width:100%;height:100%;overflow:hidden;-webkit-transition:background-color ease-in-out .1s;transition:background-color ease-in-out .1s}.echGridCell--rightBorder{border-right:1px solid #343741}.echGridCell--bottomBorder{border-bottom:1px solid #343741}.echAlignedGrid{display:grid;-ms-flex-line-pack:stretch;align-content:stretch;width:100%;height:100%}.echAlignedGrid--header{width:100%;height:100%;margin:0;padding:0}.echAlignedGrid__borderRight{border-right:1px solid #edf0f5}.echAlignedGrid__borderBottom{border-bottom:1px solid #edf0f5}.echAlignedGrid--content{width:100%;min-height:0;margin:0;padding:0}.echHighlighter{position:absolute;pointer-events:none;top:0;bottom:0;left:0;right:0;width:100%;height:100%}.echHighlighterOverlay__fill{fill:rgba(255,255,255,.2)}.echHighlighterOverlay__stroke{stroke:rgba(255,255,255,.2)}.echHighlighter__mask{fill:rgba(5,15,33,.5)}.echCrosshair,.echCrosshair__cursor,.echCrosshair__crossLine{position:absolute;top:0;left:0;pointer-events:none}.echScreenReaderOnly{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}.echScreenReaderOnlyDebug{left:0 !important;top:0 !important;right:0 !important;bottom:0 !important;width:100% !important;height:100% !important;overflow:auto !important;background:rgba(255,255,255,.8)}.echScreenReaderOnlyDebug table,.echScreenReaderOnlyDebug td,.echScreenReaderOnlyDebug th{border:1px solid #000;font-size:12px}.echScreenReaderTable{overflow-x:auto;text-align:left}.echAnnotation{padding:0;-webkit-transition:opacity 250ms;transition:opacity 250ms;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;max-width:260px}.echAnnotation__marker{position:absolute;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:12px;font-weight:700;line-height:normal}.echAnnotation__details{padding:4px 8px}.echAnnotation__icon{position:relative}.echAnnotation__body{white-space:nowrap}.echCanvasRenderer{position:absolute;top:0;left:0;padding:0;margin:0;border:0;background:transparent}.echMetricText{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0, 1fr);grid-template-rows:-webkit-min-content auto -webkit-min-content -webkit-min-content;grid-template-rows:min-content auto min-content min-content;height:100%;padding:8px;line-height:1.2}.echMetricText__gap{overflow:hidden}.echMetricText__titlesBlock{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.echMetricText__titlesBlock--left{-webkit-box-align:start;-ms-flex-align:start;align-items:start;text-align:left}.echMetricText__titlesBlock--center{-webkit-box-align:center;-ms-flex-align:center;align-items:center;text-align:center}.echMetricText__titlesBlock--center .echMetricText__title button{width:100%}.echMetricText__titlesBlock--right{-webkit-box-align:end;-ms-flex-align:end;align-items:end;text-align:right}.echMetricText .echMetricText__extraBlock{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;overflow:hidden;padding-top:5px}.echMetricText .echMetricText__extraBlock--left{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.echMetricText .echMetricText__extraBlock--center{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.echMetricText .echMetricText__extraBlock--right{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.echMetricText__valueBlock{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.echMetricText__valueBlock--left{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:start}.echMetricText__valueBlock--center{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.echMetricText__valueBlock--right{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:end}.echMetricText__title{word-wrap:break-word;width:100%}.echMetricText__title button{width:95%;outline:none;display:block}.echMetricText__subtitle{padding-top:5px;font-weight:normal;width:95%}.echMetricText__extra{font-weight:normal}.echMetricText__value{position:relative;font-weight:bold;white-space:nowrap;overflow:hidden}.echMetricText__valueIcon{padding-left:8px}.echMetricText__part{font-weight:bold}.echMetricText__icon{display:-webkit-box;display:-ms-flexbox;display:flex}.echMetricText__icon--left{-webkit-box-pack:left;-ms-flex-pack:left;justify-content:left}.echMetricText__icon--right{-webkit-box-pack:right;-ms-flex-pack:right;justify-content:right}.echSingleMetricProgress{position:absolute;border-radius:8px}.echSingleMetricProgress--vertical{left:8px;right:0;top:8px;bottom:0;height:calc(100% - 16px);width:100%}.echSingleMetricProgress--vertical.echSingleMetricProgress--small{right:auto;width:4px}.echSingleMetricProgress--vertical.echSingleMetricProgress--medium{right:auto;width:8px}.echSingleMetricProgress--vertical.echSingleMetricProgress--large{right:auto;width:16px}.echSingleMetricProgress--horizontal{left:8px;right:0;width:calc(100% - 16px);top:0;bottom:8px;height:100%}.echSingleMetricProgress--horizontal.echSingleMetricProgress--small{top:auto;height:4px}.echSingleMetricProgress--horizontal.echSingleMetricProgress--medium{top:auto;height:8px}.echSingleMetricProgress--horizontal.echSingleMetricProgress--large{top:auto;height:16px}.echSingleMetricProgressBar{-webkit-transition:background-color ease-in-out .1s;transition:background-color ease-in-out .1s;max-width:100%;max-height:100%}.echSingleMetricProgressBar--vertical{position:absolute;left:0;right:0;bottom:0;width:100%}.echSingleMetricProgressBar--horizontal{position:absolute;top:0;bottom:0;left:0;height:100%}.echSingleMetricTarget{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;overflow:visible;z-index:1}.echSingleMetricTarget--vertical{-webkit-transform:rotate(90deg);transform:rotate(90deg);position:absolute;left:100%;bottom:0}.echSingleMetricTarget--horizontal{position:absolute;bottom:100%}.echSingleMetricZeroBaseline{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;overflow:visible}.echSingleMetricZeroBaseline--vertical{position:absolute;left:0}.echSingleMetricZeroBaseline--vertical.echSingleMetricZeroBaseline--small{right:auto;height:2px;width:6.5px}.echSingleMetricZeroBaseline--vertical.echSingleMetricZeroBaseline--medium{right:auto;height:2px;width:13px}.echSingleMetricZeroBaseline--vertical.echSingleMetricZeroBaseline--large{right:auto;height:4px;width:26px}.echSingleMetricZeroBaseline--horizontal{position:absolute;bottom:0}.echSingleMetricZeroBaseline--horizontal.echSingleMetricZeroBaseline--small{top:auto;width:2px;height:6.5px}.echSingleMetricZeroBaseline--horizontal.echSingleMetricZeroBaseline--medium{top:auto;width:2px;height:13px}.echSingleMetricZeroBaseline--horizontal.echSingleMetricZeroBaseline--large{top:auto;width:4px;height:26px}.echSingleMetricSparkline{position:absolute;overflow:hidden;top:0;bottom:0;left:0;right:0}.echSingleMetricSparkline__svg{position:absolute;top:0;bottom:0;left:0;right:0;width:100%;height:100%}.echSingleMetricSparkline__svg rect,.echSingleMetricSparkline__svg path{-webkit-transition:fill ease-in-out .1s;transition:fill ease-in-out .1s}.echSingleMetricChart--small{position:absolute;top:auto;left:auto;bottom:0;right:0;width:100px;height:30px}.echSecondaryMetric{display:-webkit-box;display:-ms-flexbox;display:flex;gap:4px;overflow:hidden;-webkit-box-align:center;-ms-flex-align:center;align-items:center;white-space:nowrap}.echSecondaryMetric__label{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.echSecondaryMetric__value{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto;max-width:calc(100% - 4px)}.echSecondaryMetric__value--full{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;max-width:100%}.echSecondaryMetric__truncate{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.echBadge__content{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;vertical-align:middle;overflow:hidden;min-block-size:18px;-ms-flex-negative:0;flex-shrink:0;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0;padding-block:2px;padding-inline:10px;border:1px solid transparent;border-radius:9999px;font-size:inherit;line-height:inherit;text-align:start;text-decoration:none;background-color:#e3e8f2;color:#07101f;cursor:inherit}.echBadge__text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%;min-width:0}.echMetricContainer{display:grid;width:100%;height:100%;-ms-flex-line-pack:start;align-content:start;-webkit-box-pack:stretch;-ms-flex-pack:stretch;justify-content:stretch;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.echMetric{position:relative;width:100%;height:100%;overflow:hidden;-webkit-transition:background-color ease-in-out .1s;transition:background-color ease-in-out .1s}.echMetric .echMetric--outline{position:absolute;top:0;left:0;right:0;bottom:0;pointer-events:none}.echMetric:focus-within .echMetric--outline{outline:auto;outline-offset:-1.5px}.echMetric--rightBorder{border-right:1px solid #343741}.echMetric--topBorder{border-top:1px solid #343741}.echMetric--bottomBorder{border-bottom:1px solid #343741}.echMetric--vertical.echMetric--withProgressBar--small{padding-left:12px}.echMetric--vertical.echMetric--withProgressBar--medium{padding-left:16px}.echMetric--vertical.echMetric--withProgressBar--large{padding-left:24px}.echMetric--vertical.echMetric--withTargetProgressBar--small{padding-left:20px}.echMetric--vertical.echMetric--withTargetProgressBar--medium{padding-left:24px}.echMetric--vertical.echMetric--withTargetProgressBar--large{padding-left:32px}.echMetric--horizontal.echMetric--withProgressBar--small{padding-bottom:12px}.echMetric--horizontal.echMetric--withProgressBar--medium{padding-bottom:16px}.echMetric--horizontal.echMetric--withProgressBar--large{padding-bottom:24px}.echMetric--horizontal.echMetric--withTargetProgressBar--small{padding-bottom:20px}.echMetric--horizontal.echMetric--withTargetProgressBar--medium{padding-bottom:24px}.echMetric--horizontal.echMetric--withTargetProgressBar--large{padding-bottom:32px}.echMetricEmpty{position:absolute;bottom:9px;right:11px;width:20px;border-bottom:1px solid}
|