@elastic/charts 38.1.3 → 39.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (93) hide show
  1. package/CHANGELOG.md +36 -0
  2. package/dist/chart_types/heatmap/layout/viewmodel/viewmodel.d.ts.map +1 -1
  3. package/dist/chart_types/heatmap/layout/viewmodel/viewmodel.js +45 -41
  4. package/dist/chart_types/heatmap/layout/viewmodel/viewmodel.js.map +1 -1
  5. package/dist/chart_types/heatmap/specs/heatmap.d.ts +19 -2
  6. package/dist/chart_types/heatmap/specs/heatmap.d.ts.map +1 -1
  7. package/dist/chart_types/heatmap/specs/heatmap.js +1 -1
  8. package/dist/chart_types/heatmap/specs/heatmap.js.map +1 -1
  9. package/dist/chart_types/heatmap/state/selectors/compute_chart_dimensions.js +1 -1
  10. package/dist/chart_types/heatmap/state/selectors/compute_chart_dimensions.js.map +1 -1
  11. package/dist/chart_types/heatmap/state/selectors/get_heatmap_table.js +23 -15
  12. package/dist/chart_types/heatmap/state/selectors/get_heatmap_table.js.map +1 -1
  13. package/dist/chart_types/heatmap/state/selectors/get_x_axis_right_overflow.js +7 -5
  14. package/dist/chart_types/heatmap/state/selectors/get_x_axis_right_overflow.js.map +1 -1
  15. package/dist/chart_types/partition_chart/layout/types/viewmodel_types.d.ts.map +1 -1
  16. package/dist/chart_types/partition_chart/layout/types/viewmodel_types.js +11 -1
  17. package/dist/chart_types/partition_chart/layout/types/viewmodel_types.js.map +1 -1
  18. package/dist/chart_types/partition_chart/layout/viewmodel/fill_text_layout.js +15 -10
  19. package/dist/chart_types/partition_chart/layout/viewmodel/fill_text_layout.js.map +1 -1
  20. package/dist/chart_types/partition_chart/layout/viewmodel/link_text_layout.js +6 -2
  21. package/dist/chart_types/partition_chart/layout/viewmodel/link_text_layout.js.map +1 -1
  22. package/dist/chart_types/partition_chart/renderer/canvas/canvas_renderers.js +32 -8
  23. package/dist/chart_types/partition_chart/renderer/canvas/canvas_renderers.js.map +1 -1
  24. package/dist/chart_types/partition_chart/renderer/canvas/partition.js +4 -2
  25. package/dist/chart_types/partition_chart/renderer/canvas/partition.js.map +1 -1
  26. package/dist/chart_types/specs.d.ts +1 -1
  27. package/dist/chart_types/specs.d.ts.map +1 -1
  28. package/dist/chart_types/specs.js.map +1 -1
  29. package/dist/chart_types/xy_chart/axes/timeslip/rasters.js +12 -36
  30. package/dist/chart_types/xy_chart/axes/timeslip/rasters.js.map +1 -1
  31. package/dist/chart_types/xy_chart/renderer/canvas/axes/tick_label.js +1 -1
  32. package/dist/chart_types/xy_chart/renderer/canvas/axes/tick_label.js.map +1 -1
  33. package/dist/chart_types/xy_chart/renderer/canvas/primitives/text.js +3 -1
  34. package/dist/chart_types/xy_chart/renderer/canvas/primitives/text.js.map +1 -1
  35. package/dist/chart_types/xy_chart/renderer/canvas/utils/has_mostly_rtl.d.ts +2 -0
  36. package/dist/chart_types/xy_chart/renderer/canvas/utils/has_mostly_rtl.d.ts.map +1 -0
  37. package/dist/chart_types/xy_chart/renderer/canvas/utils/has_mostly_rtl.js +22 -0
  38. package/dist/chart_types/xy_chart/renderer/canvas/utils/has_mostly_rtl.js.map +1 -0
  39. package/dist/chart_types/xy_chart/renderer/canvas/xy_chart.js +7 -3
  40. package/dist/chart_types/xy_chart/renderer/canvas/xy_chart.js.map +1 -1
  41. package/dist/chart_types/xy_chart/renderer/dom/cursor_band.d.ts +2 -0
  42. package/dist/chart_types/xy_chart/renderer/dom/cursor_band.d.ts.map +1 -0
  43. package/dist/chart_types/xy_chart/renderer/dom/cursor_band.js +87 -0
  44. package/dist/chart_types/xy_chart/renderer/dom/cursor_band.js.map +1 -0
  45. package/dist/chart_types/xy_chart/renderer/dom/cursor_crossline.d.ts +2 -0
  46. package/dist/chart_types/xy_chart/renderer/dom/cursor_crossline.d.ts.map +1 -0
  47. package/dist/chart_types/xy_chart/renderer/dom/{crosshair.js → cursor_crossline.js} +11 -37
  48. package/dist/chart_types/xy_chart/renderer/dom/cursor_crossline.js.map +1 -0
  49. package/dist/chart_types/xy_chart/renderer/dom/cursor_line.d.ts +2 -0
  50. package/dist/chart_types/xy_chart/renderer/dom/cursor_line.d.ts.map +1 -0
  51. package/dist/chart_types/xy_chart/renderer/dom/cursor_line.js +89 -0
  52. package/dist/chart_types/xy_chart/renderer/dom/cursor_line.js.map +1 -0
  53. package/dist/chart_types/xy_chart/state/chart_state.js +6 -2
  54. package/dist/chart_types/xy_chart/state/chart_state.js.map +1 -1
  55. package/dist/chart_types/xy_chart/state/selectors/visible_ticks.js +15 -2
  56. package/dist/chart_types/xy_chart/state/selectors/visible_ticks.js.map +1 -1
  57. package/dist/chart_types/xy_chart/utils/axis_utils.js.map +1 -1
  58. package/dist/common/text_utils.js +6 -1
  59. package/dist/common/text_utils.js.map +1 -1
  60. package/dist/components/legend/label.js +3 -1
  61. package/dist/components/legend/label.js.map +1 -1
  62. package/dist/components/legend/legend.js +6 -1
  63. package/dist/components/legend/legend.js.map +1 -1
  64. package/dist/components/legend/legend_item.js +6 -6
  65. package/dist/components/legend/legend_item.js.map +1 -1
  66. package/dist/components/tooltip/tooltip.js +31 -1
  67. package/dist/components/tooltip/tooltip.js.map +1 -1
  68. package/dist/index.d.ts +1 -0
  69. package/dist/index.d.ts.map +1 -1
  70. package/dist/state/selectors/get_chart_theme.js +4 -4
  71. package/dist/state/selectors/get_chart_theme.js.map +1 -1
  72. package/dist/theme.scss +64 -4
  73. package/dist/theme_dark.css +1 -1
  74. package/dist/theme_light.css +1 -1
  75. package/dist/theme_only_dark.css +1 -1
  76. package/dist/theme_only_light.css +1 -1
  77. package/dist/utils/chrono/chrono.js.map +1 -1
  78. package/dist/utils/chrono/elasticsearch.d.ts +16 -1
  79. package/dist/utils/chrono/elasticsearch.d.ts.map +1 -1
  80. package/dist/utils/chrono/elasticsearch.js +70 -3
  81. package/dist/utils/chrono/elasticsearch.js.map +1 -1
  82. package/dist/utils/chrono/moment.js +6 -2
  83. package/dist/utils/chrono/moment.js.map +1 -1
  84. package/dist/utils/common.d.ts.map +1 -1
  85. package/dist/utils/common.js +36 -10
  86. package/dist/utils/common.js.map +1 -1
  87. package/dist/utils/themes/merge_utils.d.ts +1 -0
  88. package/dist/utils/themes/merge_utils.d.ts.map +1 -1
  89. package/dist/utils/themes/merge_utils.js.map +1 -1
  90. package/package.json +1 -1
  91. package/dist/chart_types/xy_chart/renderer/dom/crosshair.d.ts +0 -2
  92. package/dist/chart_types/xy_chart/renderer/dom/crosshair.d.ts.map +0 -1
  93. package/dist/chart_types/xy_chart/renderer/dom/crosshair.js.map +0 -1
@@ -1 +1 @@
1
- *,*:before,*:after{-webkit-box-sizing:border-box;box-sizing:border-box}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:none;vertical-align:baseline}code,pre,kbd,samp{font-family:"Roboto Mono",Consolas,Menlo,Courier,monospace}h1,h2,h3,h4,h5,h6,p{font-family:inherit;font-weight:inherit;font-size:inherit}input,textarea,select,button{font-family:"Inter UI",-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"}em{font-style:italic}strong{font-weight:700}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}html{font-family:"Inter UI",-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-weight:400;letter-spacing:-.005em;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-webkit-font-kerning:normal;font-kerning:normal;font-size:16px;color:#343741;height:100%;background-color:#fafbfd}body{line-height:1}*:focus{outline:none}*:focus::-moz-focus-inner{border:none}*:focus:-moz-focusring{outline:none}a{text-decoration:none;color:#006BB4}a:hover{text-decoration:none}a:focus{text-decoration:none;outline:none}a:hover,button,[role='button']{cursor:pointer}input{margin:0;padding:0}input:disabled{opacity:1}button{background:none;border:none;padding:0;margin:0;outline:none;font-size:inherit;color:inherit;border-radius:0}button:hover{cursor:pointer}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}table{border-collapse:collapse;border-spacing:0}hr{margin:0}fieldset{min-inline-size:auto}svg text{letter-spacing:normal !important}html{scrollbar-color:rgba(105,112,125,0.5) #f3f3f5}html::-webkit-scrollbar{width:16px;height:16px}html::-webkit-scrollbar-thumb{background-color:rgba(105,112,125,0.5);background-clip:content-box;border-radius:16px;border:4px solid #f3f3f5}html::-webkit-scrollbar-corner,html::-webkit-scrollbar-track{background-color:#f3f3f5}.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}.echChart{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;height:100%}.echChart--column{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.echContainer{-webkit-box-flex:1;-ms-flex:1;flex:1;position:relative}.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 12px 24px 0 rgba(0,0,0,0.1),0 6px 12px 0 rgba(0,0,0,0.1),0 4px 4px 0 rgba(0,0,0,0.1),0 2px 2px 0 rgba(0,0,0,0.1);box-shadow:0 12px 24px 0 rgba(0,0,0,0.1),0 6px 12px 0 rgba(0,0,0,0.1),0 4px 4px 0 rgba(0,0,0,0.1),0 2px 2px 0 rgba(0,0,0,0.1);border-radius:4px;background-color:#404040;color:#fff;z-index:9000;max-width:256px;overflow-wrap:break-word;font-size:14px;font-size:.875rem;line-height:1.5;padding:12px;font-size:12px;font-size:.75rem;line-height:1.5;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:256px}.echTooltip__list{padding:4px}.echTooltip__header{font-weight:700;border-bottom:solid 1px #595959;padding-bottom:4px;margin-bottom:4px;margin-bottom:0;padding:4px 8px}.echTooltip__item{display:-webkit-box;display:-ms-flexbox;display:flex;min-width:1px}.echTooltip__item--container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;padding:3px;padding-left:0;min-width:1px}.echTooltip__item--backgroundColor{position:relative;width:4px;margin-right:3px;-ms-flex-negative:0;flex-shrink:0}.echTooltip__item--color{position:absolute;top:0;left:0;right:0;bottom:0}.echTooltip__label{-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;min-width:1px;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.echTooltip__value{font-weight:700;text-align:right;-webkit-font-feature-settings:'tnum';font-feature-settings:'tnum';margin-left:8px}.echTooltip__rowHighlighted{background-color:rgba(255,255,255,0.1)}.echTooltip--hidden{opacity:0}[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:#e6f0f8}.echLegend .echLegendList{display:grid;grid-template-columns:minmax(0, 1fr)}.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,0.2);position:relative}.echLegend .echLegendListContainer{scrollbar-color:rgba(105,112,125,0.5) rgba(0,0,0,0);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%);width:100%;overflow-y:auto;overflow-x:hidden}.echLegend .echLegendListContainer::-webkit-scrollbar{width:16px;height:16px}.echLegend .echLegendListContainer::-webkit-scrollbar-thumb{background-color:rgba(105,112,125,0.5);background-clip:content-box;border-radius:16px;border:6px solid rgba(0,0,0,0)}.echLegend .echLegendListContainer::-webkit-scrollbar-corner,.echLegend .echLegendListContainer::-webkit-scrollbar-track{background-color:rgba(0,0,0,0)}.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:#e6f0f8;border-radius:2px}.echLegendItem{color:#343741;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 .colorWrapper>*:first-of-type{height:18px}.echLegendItem>*:not(.background){margin-left:4px}.echLegendItem>*:not(.background):last-child:not(.echLegendItem__extra){margin-right:4px}.echLegendItem:not(.echLegendItem--hidden) .echLegendItem__color--changable{cursor:pointer}.echLegendItem:hover .background{background-color:#F5F7FA}.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%}.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:.75rem;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}.echLegendItem__label--singleline{max-width:100%;overflow:hidden !important;text-overflow:ellipsis !important;white-space:nowrap !important;word-wrap:normal !important}.echLegendItem__label--multiline:is(div){-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.echLegendItem__label--clickable:hover{cursor:pointer;text-decoration:underline}.echLegendItem__extra{font-size:12px;font-size:.75rem;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}.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:#69707D}.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:.75rem;line-height:1.5;color:#69707D}.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,0.2)}.echHighlighterOverlay__stroke{stroke:rgba(255,255,255,0.2)}.echHighlighter__mask{fill:rgba(255,255,255,0.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,0.8)}.echScreenReaderOnlyDebug table,.echScreenReaderOnlyDebug td,.echScreenReaderOnlyDebug th{border:1px solid black;font-size:12px}.echScreenReaderTable{overflow-x:auto;text-align:left}.echAnnotation{position:absolute;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:12px;font-weight:700}.echAnnotation__tooltip{-webkit-box-shadow:0 12px 24px 0 rgba(0,0,0,0.1),0 6px 12px 0 rgba(0,0,0,0.1),0 4px 4px 0 rgba(0,0,0,0.1),0 2px 2px 0 rgba(0,0,0,0.1);box-shadow:0 12px 24px 0 rgba(0,0,0,0.1),0 6px 12px 0 rgba(0,0,0,0.1),0 4px 4px 0 rgba(0,0,0,0.1),0 2px 2px 0 rgba(0,0,0,0.1);border-radius:4px;background-color:#404040;color:#fff;z-index:9000;max-width:256px;overflow-wrap:break-word;font-size:14px;font-size:.875rem;line-height:1.5;padding:12px;font-size:12px;font-size:.75rem;line-height:1.5;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:256px}.echAnnotation__header{font-weight:700;border-bottom:solid 1px #595959;padding-bottom:4px;margin-bottom:4px;padding:4px 8px}.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}
1
+ *,*:before,*:after{-webkit-box-sizing:border-box;box-sizing:border-box}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:none;vertical-align:baseline}code,pre,kbd,samp{font-family:"Roboto Mono",Consolas,Menlo,Courier,monospace}h1,h2,h3,h4,h5,h6,p{font-family:inherit;font-weight:inherit;font-size:inherit}input,textarea,select,button{font-family:"Inter UI",-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"}em{font-style:italic}strong{font-weight:700}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}html{font-family:"Inter UI",-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-weight:400;letter-spacing:-.005em;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-webkit-font-kerning:normal;font-kerning:normal;font-size:16px;color:#343741;height:100%;background-color:#fafbfd}body{line-height:1}*:focus{outline:none}*:focus::-moz-focus-inner{border:none}*:focus:-moz-focusring{outline:none}a{text-decoration:none;color:#006BB4}a:hover{text-decoration:none}a:focus{text-decoration:none;outline:none}a:hover,button,[role='button']{cursor:pointer}input{margin:0;padding:0}input:disabled{opacity:1}button{background:none;border:none;padding:0;margin:0;outline:none;font-size:inherit;color:inherit;border-radius:0}button:hover{cursor:pointer}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}table{border-collapse:collapse;border-spacing:0}hr{margin:0}fieldset{min-inline-size:auto}svg text{letter-spacing:normal !important}html{scrollbar-color:rgba(105,112,125,0.5) #f3f3f5}html::-webkit-scrollbar{width:16px;height:16px}html::-webkit-scrollbar-thumb{background-color:rgba(105,112,125,0.5);background-clip:content-box;border-radius:16px;border:4px solid #f3f3f5}html::-webkit-scrollbar-corner,html::-webkit-scrollbar-track{background-color:#f3f3f5}.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}.echChart{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;height:100%}.echChart--column{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.echContainer{-webkit-box-flex:1;-ms-flex:1;flex:1;position:relative}.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 12px 24px 0 rgba(0,0,0,0.1),0 6px 12px 0 rgba(0,0,0,0.1),0 4px 4px 0 rgba(0,0,0,0.1),0 2px 2px 0 rgba(0,0,0,0.1);box-shadow:0 12px 24px 0 rgba(0,0,0,0.1),0 6px 12px 0 rgba(0,0,0,0.1),0 4px 4px 0 rgba(0,0,0,0.1),0 2px 2px 0 rgba(0,0,0,0.1);border-radius:4px;background-color:#404040;color:#fff;z-index:9000;max-width:256px;overflow-wrap:break-word;font-size:14px;font-size:.875rem;line-height:1.5;padding:12px;font-size:12px;font-size:.75rem;line-height:1.5;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:256px}.echTooltip__list{padding:4px}.echTooltip__header{font-weight:700;border-bottom:solid 1px #595959;padding-bottom:4px;margin-bottom:4px;margin-bottom:0;padding:4px 8px}.echTooltip__item{display:-webkit-box;display:-ms-flexbox;display:flex;min-width:1px}.echTooltip__item--container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;padding:3px;padding-left:0;min-width:1px}.echTooltip__item--backgroundColor{position:relative;width:4px;margin-right:3px;-ms-flex-negative:0;flex-shrink:0}.echTooltip__item--color{position:absolute;top:0;left:0;right:0;bottom:0}.echTooltip__label{overflow-wrap:break-word;word-wrap:break-word;word-break:break-all;word-break:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;overflow:hidden;min-width:1px;min-width:1px;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.echTooltip__value{font-weight:700;text-align:right;-webkit-font-feature-settings:'tnum';font-feature-settings:'tnum';margin-left:8px;direction:ltr}.echTooltip__rowHighlighted{background-color:rgba(255,255,255,0.1)}.echTooltip--hidden{opacity:0}.echTooltip[dir='rtl'] .echTooltip__item--container{padding:3px;padding-right:0}.echTooltip[dir='rtl'] .echTooltip__item--backgroundColor{margin-right:0;margin-left:3px}.echTooltip[dir='rtl'] .echTooltip__value{margin-left:0;margin-right:8px}[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:#e6f0f8}.echLegend .echLegendList{display:grid;grid-template-columns:minmax(0, 1fr)}.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,0.2);position:relative}.echLegend .echLegendListContainer{scrollbar-color:rgba(105,112,125,0.5) rgba(0,0,0,0);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%);width:100%;overflow-y:auto;overflow-x:hidden}.echLegend .echLegendListContainer::-webkit-scrollbar{width:16px;height:16px}.echLegend .echLegendListContainer::-webkit-scrollbar-thumb{background-color:rgba(105,112,125,0.5);background-clip:content-box;border-radius:16px;border:6px solid rgba(0,0,0,0)}.echLegend .echLegendListContainer::-webkit-scrollbar-corner,.echLegend .echLegendListContainer::-webkit-scrollbar-track{background-color:rgba(0,0,0,0)}.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:#e6f0f8;border-radius:2px}.echLegendItem{color:#343741;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 .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__extra){margin-right:4px}.echLegendItem[dir='rtl']>*:not(.background){margin-right:4px}.echLegendItem[dir='rtl']>*:not(.background):last-child:not(.echLegendItem__extra){margin-left:4px}.echLegendItem:not(.echLegendItem--hidden) .echLegendItem__color--changable{cursor:pointer}.echLegendItem:hover .background{background-color:#F5F7FA}.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%}.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:.75rem;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;-webkit-hyphens:auto;-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;word-wrap:normal !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__extra{font-size:12px;font-size:.75rem;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:#69707D}.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:.75rem;line-height:1.5;color:#69707D}.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,0.2)}.echHighlighterOverlay__stroke{stroke:rgba(255,255,255,0.2)}.echHighlighter__mask{fill:rgba(255,255,255,0.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,0.8)}.echScreenReaderOnlyDebug table,.echScreenReaderOnlyDebug td,.echScreenReaderOnlyDebug th{border:1px solid black;font-size:12px}.echScreenReaderTable{overflow-x:auto;text-align:left}.echAnnotation{position:absolute;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:12px;font-weight:700}.echAnnotation__tooltip{-webkit-box-shadow:0 12px 24px 0 rgba(0,0,0,0.1),0 6px 12px 0 rgba(0,0,0,0.1),0 4px 4px 0 rgba(0,0,0,0.1),0 2px 2px 0 rgba(0,0,0,0.1);box-shadow:0 12px 24px 0 rgba(0,0,0,0.1),0 6px 12px 0 rgba(0,0,0,0.1),0 4px 4px 0 rgba(0,0,0,0.1),0 2px 2px 0 rgba(0,0,0,0.1);border-radius:4px;background-color:#404040;color:#fff;z-index:9000;max-width:256px;overflow-wrap:break-word;font-size:14px;font-size:.875rem;line-height:1.5;padding:12px;font-size:12px;font-size:.75rem;line-height:1.5;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:256px}.echAnnotation__header{font-weight:700;border-bottom:solid 1px #595959;padding-bottom:4px;margin-bottom:4px;padding:4px 8px}.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}
@@ -1 +1 @@
1
- .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}.echChart{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;height:100%}.echChart--column{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.echContainer{-webkit-box-flex:1;-ms-flex:1;flex:1;position:relative}.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 12px 24px 0 rgba(0,0,0,0.1),0 6px 12px 0 rgba(0,0,0,0.1),0 4px 4px 0 rgba(0,0,0,0.1),0 2px 2px 0 rgba(0,0,0,0.1);box-shadow:0 12px 24px 0 rgba(0,0,0,0.1),0 6px 12px 0 rgba(0,0,0,0.1),0 4px 4px 0 rgba(0,0,0,0.1),0 2px 2px 0 rgba(0,0,0,0.1);border-radius:4px;background-color:#000;color:#fff;z-index:9000;max-width:256px;overflow-wrap:break-word;font-size:14px;font-size:.875rem;line-height:1.5;padding:12px;font-size:12px;font-size:.75rem;line-height:1.5;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:256px}.echTooltip__list{padding:4px}.echTooltip__header{font-weight:700;border-bottom:solid 1px #333;padding-bottom:4px;margin-bottom:4px;margin-bottom:0;padding:4px 8px}.echTooltip__item{display:-webkit-box;display:-ms-flexbox;display:flex;min-width:1px}.echTooltip__item--container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;padding:3px;padding-left:0;min-width:1px}.echTooltip__item--backgroundColor{position:relative;width:4px;margin-right:3px;-ms-flex-negative:0;flex-shrink:0}.echTooltip__item--color{position:absolute;top:0;left:0;right:0;bottom:0}.echTooltip__label{-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;min-width:1px;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.echTooltip__value{font-weight:700;text-align:right;-webkit-font-feature-settings:'tnum';font-feature-settings:'tnum';margin-left:8px}.echTooltip__rowHighlighted{background-color:rgba(255,255,255,0.1)}.echTooltip--hidden{opacity:0}[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:#052231}.echLegend .echLegendList{display:grid;grid-template-columns:minmax(0, 1fr)}.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,0.2);position:relative}.echLegend .echLegendListContainer{scrollbar-color:rgba(152,162,179,0.5) rgba(0,0,0,0);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%);width:100%;overflow-y:auto;overflow-x:hidden}.echLegend .echLegendListContainer::-webkit-scrollbar{width:16px;height:16px}.echLegend .echLegendListContainer::-webkit-scrollbar-thumb{background-color:rgba(152,162,179,0.5);background-clip:content-box;border-radius:16px;border:6px solid rgba(0,0,0,0)}.echLegend .echLegendListContainer::-webkit-scrollbar-corner,.echLegend .echLegendListContainer::-webkit-scrollbar-track{background-color:rgba(0,0,0,0)}.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:#052231;border-radius:2px}.echLegendItem{color:#DFE5EF;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 .colorWrapper>*:first-of-type{height:18px}.echLegendItem>*:not(.background){margin-left:4px}.echLegendItem>*:not(.background):last-child:not(.echLegendItem__extra){margin-right:4px}.echLegendItem:not(.echLegendItem--hidden) .echLegendItem__color--changable{cursor:pointer}.echLegendItem:hover .background{background-color:#25262E}.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%}.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:.75rem;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}.echLegendItem__label--singleline{max-width:100%;overflow:hidden !important;text-overflow:ellipsis !important;white-space:nowrap !important;word-wrap:normal !important}.echLegendItem__label--multiline:is(div){-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.echLegendItem__label--clickable:hover{cursor:pointer;text-decoration:underline}.echLegendItem__extra{font-size:12px;font-size:.75rem;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}.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:#98A2B3}.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:.75rem;line-height:1.5;color:#98A2B3}.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,0.2)}.echHighlighterOverlay__stroke{stroke:rgba(255,255,255,0.2)}.echHighlighter__mask{fill:rgba(29,30,36,0.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,0.8)}.echScreenReaderOnlyDebug table,.echScreenReaderOnlyDebug td,.echScreenReaderOnlyDebug th{border:1px solid black;font-size:12px}.echScreenReaderTable{overflow-x:auto;text-align:left}.echAnnotation{position:absolute;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:12px;font-weight:700}.echAnnotation__tooltip{-webkit-box-shadow:0 12px 24px 0 rgba(0,0,0,0.1),0 6px 12px 0 rgba(0,0,0,0.1),0 4px 4px 0 rgba(0,0,0,0.1),0 2px 2px 0 rgba(0,0,0,0.1);box-shadow:0 12px 24px 0 rgba(0,0,0,0.1),0 6px 12px 0 rgba(0,0,0,0.1),0 4px 4px 0 rgba(0,0,0,0.1),0 2px 2px 0 rgba(0,0,0,0.1);border-radius:4px;background-color:#000;color:#fff;z-index:9000;max-width:256px;overflow-wrap:break-word;font-size:14px;font-size:.875rem;line-height:1.5;padding:12px;font-size:12px;font-size:.75rem;line-height:1.5;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:256px}.echAnnotation__header{font-weight:700;border-bottom:solid 1px #333;padding-bottom:4px;margin-bottom:4px;padding:4px 8px}.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}
1
+ .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}.echChart{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;height:100%}.echChart--column{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.echContainer{-webkit-box-flex:1;-ms-flex:1;flex:1;position:relative}.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 12px 24px 0 rgba(0,0,0,0.1),0 6px 12px 0 rgba(0,0,0,0.1),0 4px 4px 0 rgba(0,0,0,0.1),0 2px 2px 0 rgba(0,0,0,0.1);box-shadow:0 12px 24px 0 rgba(0,0,0,0.1),0 6px 12px 0 rgba(0,0,0,0.1),0 4px 4px 0 rgba(0,0,0,0.1),0 2px 2px 0 rgba(0,0,0,0.1);border-radius:4px;background-color:#000;color:#fff;z-index:9000;max-width:256px;overflow-wrap:break-word;font-size:14px;font-size:.875rem;line-height:1.5;padding:12px;font-size:12px;font-size:.75rem;line-height:1.5;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:256px}.echTooltip__list{padding:4px}.echTooltip__header{font-weight:700;border-bottom:solid 1px #333;padding-bottom:4px;margin-bottom:4px;margin-bottom:0;padding:4px 8px}.echTooltip__item{display:-webkit-box;display:-ms-flexbox;display:flex;min-width:1px}.echTooltip__item--container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;padding:3px;padding-left:0;min-width:1px}.echTooltip__item--backgroundColor{position:relative;width:4px;margin-right:3px;-ms-flex-negative:0;flex-shrink:0}.echTooltip__item--color{position:absolute;top:0;left:0;right:0;bottom:0}.echTooltip__label{overflow-wrap:break-word;word-wrap:break-word;word-break:break-all;word-break:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;overflow:hidden;min-width:1px;min-width:1px;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.echTooltip__value{font-weight:700;text-align:right;-webkit-font-feature-settings:'tnum';font-feature-settings:'tnum';margin-left:8px;direction:ltr}.echTooltip__rowHighlighted{background-color:rgba(255,255,255,0.1)}.echTooltip--hidden{opacity:0}.echTooltip[dir='rtl'] .echTooltip__item--container{padding:3px;padding-right:0}.echTooltip[dir='rtl'] .echTooltip__item--backgroundColor{margin-right:0;margin-left:3px}.echTooltip[dir='rtl'] .echTooltip__value{margin-left:0;margin-right:8px}[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:#052231}.echLegend .echLegendList{display:grid;grid-template-columns:minmax(0, 1fr)}.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,0.2);position:relative}.echLegend .echLegendListContainer{scrollbar-color:rgba(152,162,179,0.5) rgba(0,0,0,0);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%);width:100%;overflow-y:auto;overflow-x:hidden}.echLegend .echLegendListContainer::-webkit-scrollbar{width:16px;height:16px}.echLegend .echLegendListContainer::-webkit-scrollbar-thumb{background-color:rgba(152,162,179,0.5);background-clip:content-box;border-radius:16px;border:6px solid rgba(0,0,0,0)}.echLegend .echLegendListContainer::-webkit-scrollbar-corner,.echLegend .echLegendListContainer::-webkit-scrollbar-track{background-color:rgba(0,0,0,0)}.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:#052231;border-radius:2px}.echLegendItem{color:#DFE5EF;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 .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__extra){margin-right:4px}.echLegendItem[dir='rtl']>*:not(.background){margin-right:4px}.echLegendItem[dir='rtl']>*:not(.background):last-child:not(.echLegendItem__extra){margin-left:4px}.echLegendItem:not(.echLegendItem--hidden) .echLegendItem__color--changable{cursor:pointer}.echLegendItem:hover .background{background-color:#25262E}.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%}.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:.75rem;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;-webkit-hyphens:auto;-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;word-wrap:normal !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__extra{font-size:12px;font-size:.75rem;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:#98A2B3}.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:.75rem;line-height:1.5;color:#98A2B3}.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,0.2)}.echHighlighterOverlay__stroke{stroke:rgba(255,255,255,0.2)}.echHighlighter__mask{fill:rgba(29,30,36,0.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,0.8)}.echScreenReaderOnlyDebug table,.echScreenReaderOnlyDebug td,.echScreenReaderOnlyDebug th{border:1px solid black;font-size:12px}.echScreenReaderTable{overflow-x:auto;text-align:left}.echAnnotation{position:absolute;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:12px;font-weight:700}.echAnnotation__tooltip{-webkit-box-shadow:0 12px 24px 0 rgba(0,0,0,0.1),0 6px 12px 0 rgba(0,0,0,0.1),0 4px 4px 0 rgba(0,0,0,0.1),0 2px 2px 0 rgba(0,0,0,0.1);box-shadow:0 12px 24px 0 rgba(0,0,0,0.1),0 6px 12px 0 rgba(0,0,0,0.1),0 4px 4px 0 rgba(0,0,0,0.1),0 2px 2px 0 rgba(0,0,0,0.1);border-radius:4px;background-color:#000;color:#fff;z-index:9000;max-width:256px;overflow-wrap:break-word;font-size:14px;font-size:.875rem;line-height:1.5;padding:12px;font-size:12px;font-size:.75rem;line-height:1.5;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:256px}.echAnnotation__header{font-weight:700;border-bottom:solid 1px #333;padding-bottom:4px;margin-bottom:4px;padding:4px 8px}.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}
@@ -1 +1 @@
1
- .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}.echChart{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;height:100%}.echChart--column{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.echContainer{-webkit-box-flex:1;-ms-flex:1;flex:1;position:relative}.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 12px 24px 0 rgba(0,0,0,0.1),0 6px 12px 0 rgba(0,0,0,0.1),0 4px 4px 0 rgba(0,0,0,0.1),0 2px 2px 0 rgba(0,0,0,0.1);box-shadow:0 12px 24px 0 rgba(0,0,0,0.1),0 6px 12px 0 rgba(0,0,0,0.1),0 4px 4px 0 rgba(0,0,0,0.1),0 2px 2px 0 rgba(0,0,0,0.1);border-radius:4px;background-color:#404040;color:#fff;z-index:9000;max-width:256px;overflow-wrap:break-word;font-size:14px;font-size:.875rem;line-height:1.5;padding:12px;font-size:12px;font-size:.75rem;line-height:1.5;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:256px}.echTooltip__list{padding:4px}.echTooltip__header{font-weight:700;border-bottom:solid 1px #595959;padding-bottom:4px;margin-bottom:4px;margin-bottom:0;padding:4px 8px}.echTooltip__item{display:-webkit-box;display:-ms-flexbox;display:flex;min-width:1px}.echTooltip__item--container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;padding:3px;padding-left:0;min-width:1px}.echTooltip__item--backgroundColor{position:relative;width:4px;margin-right:3px;-ms-flex-negative:0;flex-shrink:0}.echTooltip__item--color{position:absolute;top:0;left:0;right:0;bottom:0}.echTooltip__label{-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;min-width:1px;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.echTooltip__value{font-weight:700;text-align:right;-webkit-font-feature-settings:'tnum';font-feature-settings:'tnum';margin-left:8px}.echTooltip__rowHighlighted{background-color:rgba(255,255,255,0.1)}.echTooltip--hidden{opacity:0}[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:#e6f0f8}.echLegend .echLegendList{display:grid;grid-template-columns:minmax(0, 1fr)}.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,0.2);position:relative}.echLegend .echLegendListContainer{scrollbar-color:rgba(105,112,125,0.5) rgba(0,0,0,0);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%);width:100%;overflow-y:auto;overflow-x:hidden}.echLegend .echLegendListContainer::-webkit-scrollbar{width:16px;height:16px}.echLegend .echLegendListContainer::-webkit-scrollbar-thumb{background-color:rgba(105,112,125,0.5);background-clip:content-box;border-radius:16px;border:6px solid rgba(0,0,0,0)}.echLegend .echLegendListContainer::-webkit-scrollbar-corner,.echLegend .echLegendListContainer::-webkit-scrollbar-track{background-color:rgba(0,0,0,0)}.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:#e6f0f8;border-radius:2px}.echLegendItem{color:#343741;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 .colorWrapper>*:first-of-type{height:18px}.echLegendItem>*:not(.background){margin-left:4px}.echLegendItem>*:not(.background):last-child:not(.echLegendItem__extra){margin-right:4px}.echLegendItem:not(.echLegendItem--hidden) .echLegendItem__color--changable{cursor:pointer}.echLegendItem:hover .background{background-color:#F5F7FA}.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%}.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:.75rem;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}.echLegendItem__label--singleline{max-width:100%;overflow:hidden !important;text-overflow:ellipsis !important;white-space:nowrap !important;word-wrap:normal !important}.echLegendItem__label--multiline:is(div){-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.echLegendItem__label--clickable:hover{cursor:pointer;text-decoration:underline}.echLegendItem__extra{font-size:12px;font-size:.75rem;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}.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:#69707D}.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:.75rem;line-height:1.5;color:#69707D}.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,0.2)}.echHighlighterOverlay__stroke{stroke:rgba(255,255,255,0.2)}.echHighlighter__mask{fill:rgba(255,255,255,0.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,0.8)}.echScreenReaderOnlyDebug table,.echScreenReaderOnlyDebug td,.echScreenReaderOnlyDebug th{border:1px solid black;font-size:12px}.echScreenReaderTable{overflow-x:auto;text-align:left}.echAnnotation{position:absolute;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:12px;font-weight:700}.echAnnotation__tooltip{-webkit-box-shadow:0 12px 24px 0 rgba(0,0,0,0.1),0 6px 12px 0 rgba(0,0,0,0.1),0 4px 4px 0 rgba(0,0,0,0.1),0 2px 2px 0 rgba(0,0,0,0.1);box-shadow:0 12px 24px 0 rgba(0,0,0,0.1),0 6px 12px 0 rgba(0,0,0,0.1),0 4px 4px 0 rgba(0,0,0,0.1),0 2px 2px 0 rgba(0,0,0,0.1);border-radius:4px;background-color:#404040;color:#fff;z-index:9000;max-width:256px;overflow-wrap:break-word;font-size:14px;font-size:.875rem;line-height:1.5;padding:12px;font-size:12px;font-size:.75rem;line-height:1.5;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:256px}.echAnnotation__header{font-weight:700;border-bottom:solid 1px #595959;padding-bottom:4px;margin-bottom:4px;padding:4px 8px}.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}
1
+ .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}.echChart{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;height:100%}.echChart--column{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.echContainer{-webkit-box-flex:1;-ms-flex:1;flex:1;position:relative}.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 12px 24px 0 rgba(0,0,0,0.1),0 6px 12px 0 rgba(0,0,0,0.1),0 4px 4px 0 rgba(0,0,0,0.1),0 2px 2px 0 rgba(0,0,0,0.1);box-shadow:0 12px 24px 0 rgba(0,0,0,0.1),0 6px 12px 0 rgba(0,0,0,0.1),0 4px 4px 0 rgba(0,0,0,0.1),0 2px 2px 0 rgba(0,0,0,0.1);border-radius:4px;background-color:#404040;color:#fff;z-index:9000;max-width:256px;overflow-wrap:break-word;font-size:14px;font-size:.875rem;line-height:1.5;padding:12px;font-size:12px;font-size:.75rem;line-height:1.5;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:256px}.echTooltip__list{padding:4px}.echTooltip__header{font-weight:700;border-bottom:solid 1px #595959;padding-bottom:4px;margin-bottom:4px;margin-bottom:0;padding:4px 8px}.echTooltip__item{display:-webkit-box;display:-ms-flexbox;display:flex;min-width:1px}.echTooltip__item--container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;padding:3px;padding-left:0;min-width:1px}.echTooltip__item--backgroundColor{position:relative;width:4px;margin-right:3px;-ms-flex-negative:0;flex-shrink:0}.echTooltip__item--color{position:absolute;top:0;left:0;right:0;bottom:0}.echTooltip__label{overflow-wrap:break-word;word-wrap:break-word;word-break:break-all;word-break:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;overflow:hidden;min-width:1px;min-width:1px;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.echTooltip__value{font-weight:700;text-align:right;-webkit-font-feature-settings:'tnum';font-feature-settings:'tnum';margin-left:8px;direction:ltr}.echTooltip__rowHighlighted{background-color:rgba(255,255,255,0.1)}.echTooltip--hidden{opacity:0}.echTooltip[dir='rtl'] .echTooltip__item--container{padding:3px;padding-right:0}.echTooltip[dir='rtl'] .echTooltip__item--backgroundColor{margin-right:0;margin-left:3px}.echTooltip[dir='rtl'] .echTooltip__value{margin-left:0;margin-right:8px}[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:#e6f0f8}.echLegend .echLegendList{display:grid;grid-template-columns:minmax(0, 1fr)}.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,0.2);position:relative}.echLegend .echLegendListContainer{scrollbar-color:rgba(105,112,125,0.5) rgba(0,0,0,0);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%);width:100%;overflow-y:auto;overflow-x:hidden}.echLegend .echLegendListContainer::-webkit-scrollbar{width:16px;height:16px}.echLegend .echLegendListContainer::-webkit-scrollbar-thumb{background-color:rgba(105,112,125,0.5);background-clip:content-box;border-radius:16px;border:6px solid rgba(0,0,0,0)}.echLegend .echLegendListContainer::-webkit-scrollbar-corner,.echLegend .echLegendListContainer::-webkit-scrollbar-track{background-color:rgba(0,0,0,0)}.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:#e6f0f8;border-radius:2px}.echLegendItem{color:#343741;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 .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__extra){margin-right:4px}.echLegendItem[dir='rtl']>*:not(.background){margin-right:4px}.echLegendItem[dir='rtl']>*:not(.background):last-child:not(.echLegendItem__extra){margin-left:4px}.echLegendItem:not(.echLegendItem--hidden) .echLegendItem__color--changable{cursor:pointer}.echLegendItem:hover .background{background-color:#F5F7FA}.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%}.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:.75rem;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;-webkit-hyphens:auto;-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;word-wrap:normal !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__extra{font-size:12px;font-size:.75rem;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:#69707D}.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:.75rem;line-height:1.5;color:#69707D}.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,0.2)}.echHighlighterOverlay__stroke{stroke:rgba(255,255,255,0.2)}.echHighlighter__mask{fill:rgba(255,255,255,0.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,0.8)}.echScreenReaderOnlyDebug table,.echScreenReaderOnlyDebug td,.echScreenReaderOnlyDebug th{border:1px solid black;font-size:12px}.echScreenReaderTable{overflow-x:auto;text-align:left}.echAnnotation{position:absolute;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:12px;font-weight:700}.echAnnotation__tooltip{-webkit-box-shadow:0 12px 24px 0 rgba(0,0,0,0.1),0 6px 12px 0 rgba(0,0,0,0.1),0 4px 4px 0 rgba(0,0,0,0.1),0 2px 2px 0 rgba(0,0,0,0.1);box-shadow:0 12px 24px 0 rgba(0,0,0,0.1),0 6px 12px 0 rgba(0,0,0,0.1),0 4px 4px 0 rgba(0,0,0,0.1),0 2px 2px 0 rgba(0,0,0,0.1);border-radius:4px;background-color:#404040;color:#fff;z-index:9000;max-width:256px;overflow-wrap:break-word;font-size:14px;font-size:.875rem;line-height:1.5;padding:12px;font-size:12px;font-size:.75rem;line-height:1.5;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:256px}.echAnnotation__header{font-weight:700;border-bottom:solid 1px #595959;padding-bottom:4px;margin-bottom:4px;padding:4px 8px}.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}
@@ -1 +1 @@
1
- {"version":3,"file":"chrono.js","sourceRoot":"","sources":["../../../src/utils/chrono/chrono.ts"],"names":[],"mappings":";;;AASA,mCAUkB;AAIlB,SAAgB,OAAO,CACrB,QAAkB,EAClB,QAA4B,EAC5B,IAAuB,EACvB,KAAa;IAEb,OAAO,IAAA,+BAAsB,EAAC,IAAA,qBAAY,EAAC,UAAU,CAAC,QAAQ,EAAE,QA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AC,CAAC,CAAC;AACtF,CAAC;AAND,0BAMC;AAGD,SAAgB,KAAK,CACnB,QAAkB,EAClB,QAA4B,EAC5B,IAA8C;IAE9C,OAAO,IAAA,+BAAsB,EAAC,IAAA,qBAAY,EAAC,UAAU,CAAC,QAAQ,EAAE,QAAQ,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;AACpF,CAAC;AAND,sBAMC;AAED,SAAS,UAAU,CAAC,QAAkB,EAAE,QAAiB;IACvD,OAAO,IAAA,uBAAc,EAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;AAC5C,CAAC;AAGD,SAAgB,YAAY,CAAC,QAAkB,EAAE,QAAiB;IAChE,OAAO,IAAA,2BAAkB,EAAC,UAAU,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC,CAAC;AAC5D,CAAC;AAFD,oCAEC;AAGD,SAAgB,UAAU,CAAC,QAAkB,EAAE,QAA4B,EAAE,MAAc;IACzF,OAAO,IAAA,sBAAa,EAAC,UAAU,CAAC,QAAQ,EAAE,QAAQ,CAAC,EAAE,MAAM,CAAC,CAAC;AAC/D,CAAC;AAFD,gCAEC;AAGD,SAAgB,IAAI,CAClB,SAAmB,EACnB,SAA6B,EAC7B,SAAmB,EACnB,SAA6B,EAC7B,IAA8C;IAE9C,OAAO,IAAA,qBAAY,EAAC,UAAU,CAAC,SAAS,EAAE,SAAS,CAAC,EAAE,UAAU,CAAC,SAAS,EAAE,SAAS,CAAC,EAAE,IAAI,CAAC,CAAC;AAChG,CAAC;AARD,oBAQC"}
@@ -1,2 +1,17 @@
1
- export {};
1
+ /** @public */
2
+ export declare type ESCalendarIntervalUnit = 'minute' | 'm' | 'hour' | 'h' | 'day' | 'd' | 'week' | 'w' | 'month' | 'M' | 'quarter' | 'q' | 'year' | 'y';
3
+ /** @public */
4
+ export declare type ESFixedIntervalUnit = 'ms' | 's' | 'm' | 'h' | 'd';
5
+ /** @public */
6
+ export interface ESCalendarInterval {
7
+ type: 'calendar';
8
+ unit: ESCalendarIntervalUnit;
9
+ value: number;
10
+ }
11
+ /** @public */
12
+ export interface ESFixedInterval {
13
+ type: 'fixed';
14
+ unit: ESFixedIntervalUnit;
15
+ value: number;
16
+ }
2
17
  //# sourceMappingURL=elasticsearch.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"elasticsearch.d.ts","sourceRoot":"","sources":["../../../src/utils/chrono/elasticsearch.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"elasticsearch.d.ts","sourceRoot":"","sources":["../../../src/utils/chrono/elasticsearch.ts"],"names":[],"mappings":"AAYA,cAAc;AACd,oBAAY,sBAAsB,GAC9B,QAAQ,GACR,GAAG,GACH,MAAM,GACN,GAAG,GACH,KAAK,GACL,GAAG,GACH,MAAM,GACN,GAAG,GACH,OAAO,GACP,GAAG,GACH,SAAS,GACT,GAAG,GACH,MAAM,GACN,GAAG,CAAC;AAER,cAAc;AACd,oBAAY,mBAAmB,GAAG,IAAI,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;AAW/D,cAAc;AACd,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,UAAU,CAAC;IACjB,IAAI,EAAE,sBAAsB,CAAC;IAC7B,KAAK,EAAE,MAAM,CAAC;CACf;AAED,cAAc;AACd,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,OAAO,CAAC;IACd,IAAI,EAAE,mBAAmB,CAAC;IAC1B,KAAK,EAAE,MAAM,CAAC;CACf"}
@@ -1,6 +1,31 @@
1
1
  "use strict";
2
+ var __read = (this && this.__read) || function (o, n) {
3
+ var m = typeof Symbol === "function" && o[Symbol.iterator];
4
+ if (!m) return o;
5
+ var i = m.call(o), r, ar = [], e;
6
+ try {
7
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
8
+ }
9
+ catch (error) { e = { error: error }; }
10
+ finally {
11
+ try {
12
+ if (r && !r.done && (m = i["return"])) m.call(i);
13
+ }
14
+ finally { if (e) throw e.error; }
15
+ }
16
+ return ar;
17
+ };
18
+ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
19
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
20
+ if (ar || !(i in from)) {
21
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
22
+ ar[i] = from[i];
23
+ }
24
+ }
25
+ return to.concat(ar || Array.prototype.slice.call(from));
26
+ };
2
27
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.snapDateToESInterval = exports.ES_FIXED_INTERVAL_UNIT_TO_BASE = void 0;
28
+ exports.addIntervalToTime = exports.timeRange = exports.snapDateToESInterval = exports.ES_FIXED_INTERVAL_UNIT_TO_BASE = void 0;
4
29
  var chrono_1 = require("./chrono");
5
30
  exports.ES_FIXED_INTERVAL_UNIT_TO_BASE = {
6
31
  ms: 1,
@@ -40,9 +65,51 @@ function esCalendarIntervalSnap(date, interval, snapTo, timeZone) {
40
65
  : (0, chrono_1.endOf)(date, timeZone, esCalendarIntervalToChronoInterval[interval.unit]);
41
66
  }
42
67
  function esFixedIntervalSnap(date, interval, snapTo, timeZone) {
43
- var unitMultiplier = interval.quantity * exports.ES_FIXED_INTERVAL_UNIT_TO_BASE[interval.unit];
68
+ var unitMultiplier = interval.value * exports.ES_FIXED_INTERVAL_UNIT_TO_BASE[interval.unit];
44
69
  var unixTimestamp = (0, chrono_1.getUnixTimestamp)(date, timeZone);
45
- var roundedDate = Math.floor(unixTimestamp / unitMultiplier) * unitMultiplier;
70
+ var utcOffsetInMs = (0, chrono_1.getUTCOffset)(date, timeZone) * 60 * 1000;
71
+ var roundedDate = Math.floor((unixTimestamp + utcOffsetInMs) / unitMultiplier) * unitMultiplier - utcOffsetInMs;
46
72
  return snapTo === 'start' ? roundedDate : roundedDate + unitMultiplier - 1;
47
73
  }
74
+ function timeRange(from, to, interval, timeZone) {
75
+ return interval.type === 'fixed'
76
+ ? fixedTimeRange(from, to, interval, timeZone)
77
+ : calendarTimeRange(from, to, interval, timeZone);
78
+ }
79
+ exports.timeRange = timeRange;
80
+ function calendarTimeRange(from, to, interval, timeZone) {
81
+ var snappedFrom = snapDateToESInterval(from, interval, 'start', timeZone);
82
+ var snappedTo = snapDateToESInterval(to, interval, 'start', timeZone);
83
+ var values = [snappedFrom];
84
+ var current = snappedFrom;
85
+ while ((0, chrono_1.addTime)(current, timeZone, esCalendarIntervalToChronoInterval[interval.unit], interval.value) < snappedTo) {
86
+ current = (0, chrono_1.addTime)(current, timeZone, esCalendarIntervalToChronoInterval[interval.unit], interval.value);
87
+ values.push(current);
88
+ }
89
+ return values;
90
+ }
91
+ function fixedTimeRange(from, to, interval, timeZone) {
92
+ var snappedFrom = snapDateToESInterval(from, interval, 'start', timeZone);
93
+ var snappedTo = snapDateToESInterval(to, interval, 'start', timeZone);
94
+ var utcTo = localToUTC(snappedTo, timeZone);
95
+ var current = localToUTC(snappedFrom, timeZone);
96
+ var values = [current];
97
+ while (current + interval.value * exports.ES_FIXED_INTERVAL_UNIT_TO_BASE[interval.unit] < utcTo) {
98
+ current = current + interval.value * exports.ES_FIXED_INTERVAL_UNIT_TO_BASE[interval.unit];
99
+ values.push(current);
100
+ }
101
+ return __spreadArray([], __read(new Set(values.map(function (d) { return utcToLocal(d, timeZone); }))), false);
102
+ }
103
+ function addIntervalToTime(time, interval, timeZone) {
104
+ return interval.type === 'fixed'
105
+ ? utcToLocal(localToUTC(time, timeZone) + interval.value * exports.ES_FIXED_INTERVAL_UNIT_TO_BASE[interval.unit], timeZone)
106
+ : (0, chrono_1.addTime)(time, timeZone, esCalendarIntervalToChronoInterval[interval.unit], interval.value);
107
+ }
108
+ exports.addIntervalToTime = addIntervalToTime;
109
+ function utcToLocal(time, timeZone) {
110
+ return time - (0, chrono_1.getUTCOffset)(time, timeZone) * 60 * 1000;
111
+ }
112
+ function localToUTC(time, timeZone) {
113
+ return time + (0, chrono_1.getUTCOffset)(time, timeZone) * 60 * 1000;
114
+ }
48
115
  //# sourceMappingURL=elasticsearch.js.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AC;QACnH,CAAC,CAAC,IAAA,gBAAO,EAAC,IAAI,EAAE,QAAQ,EAAE,kCAAkC,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,QAAQ,CAAC,KAAK,CAAC,CAAC;AACjG,CAAC;AAJD,8CAIC;AAED,SAAS,UAAU,CAAC,IAAY,EAAE,QAAgB;IAChD,OAAO,IAAI,GAAG,IAAA,qBAAY,EAAC,IAAI,EAAE,QAAQ,CAAC,GAAG,EAAE,GAAG,IAAI,CAAC;AACzD,CAAC;AACD,SAAS,UAAU,CAAC,IAAY,EAAE,QAAgB;IAChD,OAAO,IAAI,GAAG,IAAA,qBAAY,EAAC,IAAI,EAAE,QAAQ,CAAC,GAAG,EAAE,GAAG,IAAI,CAAC;AACzD,CAAC"}
@@ -55,9 +55,13 @@ var subtractTimeToObj = function (obj, unit, count) {
55
55
  return obj.subtract(count, unit);
56
56
  };
57
57
  exports.subtractTimeToObj = subtractTimeToObj;
58
- var startTimeOfObj = function (obj, unit) { return obj.startOf(unit); };
58
+ var startTimeOfObj = function (obj, unit) {
59
+ return obj.startOf(unit === 'week' ? 'isoWeek' : unit);
60
+ };
59
61
  exports.startTimeOfObj = startTimeOfObj;
60
- var endTimeOfObj = function (obj, unit) { return obj.endOf(unit); };
62
+ var endTimeOfObj = function (obj, unit) {
63
+ return obj.endOf(unit === 'week' ? 'isoWeek' : unit);
64
+ };
61
65
  exports.endTimeOfObj = endTimeOfObj;
62
66
  var timeObjToUTCOffset = function (obj) { return obj.utcOffset(); };
63
67
  exports.timeObjToUTCOffset = timeObjToUTCOffset;
@@ -1 +1 @@
1
- {"version":3,"file":"moment.js","sourceRoot":"","sources":["../../../src/utils/chrono/moment.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAQA,oEAAqC;AAK9B,IAAM,sBAAsB,GAAG,UACpC,gBAAsC,EACtC,QAA4B;IAA5B,yBAAA,EAAA,oBAA4B;IAE5B,OAAA,QAAQ;QACN,CAAC,CAAC,yBAAM,CAAC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BAAgB,SAAS,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,CAAC,EAC3D,KAAK,EAAE,CAAC,EAAE,EACV,QAAQ,EAAE,MAAM,CAAC,EACjB,WAAW,EAAE,CAAC,GACb,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC,CAKnB"}
@@ -54,8 +54,9 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
54
54
  }
55
55
  return to.concat(ar || Array.prototype.slice.call(from));
56
56
  };
57
+ var _a;
57
58
  Object.defineProperty(exports, "__esModule", { value: true });
58
- exports.range = exports.safeFormat = exports.toEntries = exports.keepDistinct = exports.getPercentageValue = exports.round = exports.isDefinedFrom = exports.isDefined = exports.isUniqueArray = exports.stringifyNullsUndefined = exports.getDistance = exports.mergePartial = exports.renderWithProps = exports.shallowClone = exports.hasPartialObjectToMerge = exports.isNil = exports.isArrayOrSet = exports.getAllKeys = exports.getPartialValue = exports.htmlIdGenerator = exports.degToRad = exports.getColorFromVariant = exports.clamp = exports.compareByValueAsc = exports.VerticalAlignment = exports.HorizontalAlignment = exports.ColorVariant = exports.LayoutDirection = exports.Position = void 0;
59
+ exports.getOppositeAlignment = exports.range = exports.safeFormat = exports.toEntries = exports.keepDistinct = exports.getPercentageValue = exports.round = exports.isDefinedFrom = exports.isDefined = exports.hasMostlyRTLItems = exports.isRTLString = exports.isUniqueArray = exports.stringifyNullsUndefined = exports.getDistance = exports.mergePartial = exports.renderWithProps = exports.shallowClone = exports.hasPartialObjectToMerge = exports.isNil = exports.isArrayOrSet = exports.getAllKeys = exports.getPartialValue = exports.htmlIdGenerator = exports.degToRad = exports.getColorFromVariant = exports.clamp = exports.compareByValueAsc = exports.VerticalAlignment = exports.HorizontalAlignment = exports.ColorVariant = exports.LayoutDirection = exports.Position = void 0;
59
60
  var react_1 = __importStar(require("react"));
60
61
  var utility_types_1 = require("utility-types");
61
62
  var uuid_1 = require("uuid");
@@ -121,14 +122,13 @@ function getPartialValue(base, partial, partials) {
121
122
  exports.getPartialValue = getPartialValue;
122
123
  function getAllKeys(object, objects) {
123
124
  if (objects === void 0) { objects = []; }
124
- var initialKeys = object instanceof Map ? __spreadArray([], __read(object.keys()), false) : Object.keys(object);
125
- return objects.reduce(function (keys, obj) {
125
+ return new Set(__spreadArray([object], __read(objects), false).filter(Boolean).reduce(function (keys, obj) {
126
126
  if (obj && typeof obj === 'object') {
127
- var newKeys = obj instanceof Map ? obj.keys() : Object.keys(obj);
127
+ var newKeys = obj ? (obj instanceof Map ? obj.keys() : Object.keys(obj)) : [];
128
128
  keys.push.apply(keys, __spreadArray([], __read(newKeys), false));
129
129
  }
130
130
  return keys;
131
- }, initialKeys);
131
+ }, []));
132
132
  }
133
133
  exports.getAllKeys = getAllKeys;
134
134
  function isArrayOrSet(value) {
@@ -186,8 +186,10 @@ function mergePartial(base, partial, options, additionalPartials) {
186
186
  var baseClone = shallowClone(base);
187
187
  if (hasPartialObjectToMerge(base, partial, additionalPartials)) {
188
188
  var mapCondition = !(baseClone instanceof Map) || options.mergeMaps;
189
- if (partial !== undefined && ((_a = options.mergeOptionalPartialValues) !== null && _a !== void 0 ? _a : true) && mapCondition) {
190
- getAllKeys(partial, additionalPartials).forEach(function (key) {
189
+ var partialKeys = getAllKeys(partial, additionalPartials);
190
+ if (partialKeys.size > 0 && ((_a = options.mergeOptionalPartialValues) !== null && _a !== void 0 ? _a : true) && mapCondition) {
191
+ partialKeys.forEach(function (key) {
192
+ var _a, _b;
191
193
  if (baseClone instanceof Map) {
192
194
  if (!baseClone.has(key)) {
193
195
  baseClone.set(key, partial.get(key) !== undefined
@@ -197,9 +199,9 @@ function mergePartial(base, partial, options, additionalPartials) {
197
199
  }
198
200
  else if (!(key in baseClone)) {
199
201
  baseClone[key] =
200
- partial[key] !== undefined
202
+ ((_a = partial) === null || _a === void 0 ? void 0 : _a[key]) !== undefined
201
203
  ? partial[key]
202
- : (additionalPartials.find(function (v) { return v[key] !== undefined; }) || {})[key];
204
+ : ((_b = additionalPartials.find(function (v) { return (v === null || v === void 0 ? void 0 : v[key]) !== undefined; })) !== null && _b !== void 0 ? _b : {})[key];
203
205
  }
204
206
  });
205
207
  }
@@ -224,7 +226,7 @@ function mergePartial(base, partial, options, additionalPartials) {
224
226
  }
225
227
  return baseClone;
226
228
  }
227
- return Object.keys(base).reduce(function (newBase, key) {
229
+ return Object.keys(baseClone).reduce(function (newBase, key) {
228
230
  var partialValue = partial && partial[key];
229
231
  var partialValues = additionalPartials.map(function (v) { return (typeof v === 'object' ? v[key] : undefined); });
230
232
  var baseValue = base[key];
@@ -263,6 +265,19 @@ function isUniqueArray(arr, extractor) {
263
265
  })();
264
266
  }
265
267
  exports.isUniqueArray = isUniqueArray;
268
+ function isRTLString(s, ratio) {
269
+ if (ratio === void 0) { ratio = 0.5; }
270
+ var stripped = s.replace(/[\u0591-\u07FF\uFB1D-\uFDFD\uFE70-\uFEFC]|\s|\d/gi, '');
271
+ return stripped.length / s.replace(/\s|\d/gi, '').length < ratio;
272
+ }
273
+ exports.isRTLString = isRTLString;
274
+ function hasMostlyRTLItems(items, ratio) {
275
+ if (ratio === void 0) { ratio = 0.5; }
276
+ var filteredItems = items.filter(Boolean);
277
+ var rtlItemCount = filteredItems.filter(function (s) { return isRTLString(s); }).length;
278
+ return rtlItemCount / filteredItems.length > ratio;
279
+ }
280
+ exports.hasMostlyRTLItems = hasMostlyRTLItems;
266
281
  function isDefined(value) {
267
282
  return value !== null && value !== undefined;
268
283
  }
@@ -327,4 +342,15 @@ var range = function (from, to, step) {
327
342
  return Array.from({ length: Math.abs(Math.round((to - from) / (step || 1))) }, function (_, i) { return from + i * step; });
328
343
  };
329
344
  exports.range = range;
345
+ var oppositeAlignmentMap = (_a = {},
346
+ _a[exports.HorizontalAlignment.Left] = exports.HorizontalAlignment.Right,
347
+ _a[exports.HorizontalAlignment.Right] = exports.HorizontalAlignment.Left,
348
+ _a[exports.VerticalAlignment.Top] = exports.VerticalAlignment.Bottom,
349
+ _a[exports.VerticalAlignment.Bottom] = exports.VerticalAlignment.Top,
350
+ _a);
351
+ function getOppositeAlignment(alignment) {
352
+ var _a;
353
+ return (_a = oppositeAlignmentMap[alignment]) !== null && _a !== void 0 ? _a : alignment;
354
+ }
355
+ exports.getOppositeAlignment = getOppositeAlignment;
330
356
  //# sourceMappingURL=common.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"common.js","sourceRoot":"","sources":["../../src/utils/common.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,6CAAwE;AACxE,+CAAqD;AACrD,6BAAoC;AAGpC,2CAAiD;AAMpC,QAAA,QAAQ,GAAG,MAAM,CAAC,MAAM,CAAC;IACpC,GAAG,EAAE,KAAc;IACnB,MAAM,EAAE,QAAiB;IACzB,IAAI,EAAE,MAAe;IACrB,KAAK,EAAE,OAAgB;CACxB,CAAC,CAAC;AAKU,QAAA,eAAe,GAAG,MAAM,CAAC,MAAM,CAAC;IAC3C,UAAU,EAAE,YAAqB;IACjC,QAAQ,EAAE,UAAmB;CAC9B,CAAC,CAAC;AASU,QAAA,YAAY,GAAG,MAAM,CAAC,MAAM,CAAC;IAKxC,MAAM,EAAE,wBAAiC;IAIzC,IAAI,EAAE,uBAAgC;CACvC,CAAC,CAAC;AAKU,QAAA,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC;IAC/C,MAAM,EAAE,QAAiB;IACzB,KAAK,EAAE,gBAAQ,CAAC,KAAK;IACrB,IAAI,EAAE,gBAAQ,CAAC,IAAI;IASnB,IAAI,EAAE,MAAe;IASrB,GAAG,EAAE,KAAc;CACpB,CAAC,CAAC;AASU,QAAA,iBAAiB,GAAG,MAAM,CAAC,MAAM,CAAC;IAC7C,MAAM,EAAE,QAAiB;IACzB,GAAG,EAAE,gBAAQ,CAAC,GAAG;IACjB,MAAM,EAAE,gBAAQ,CAAC,MAAM;IASvB,IAAI,EAAE,MAAe;IASr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,OAAO,KAAG,KAAO,CAAC;AACpB,CAAC;AAVD,gCAUC;AAGM,IAAM,KAAK,GAAG,UAAC,IAAY,EAAE,EAAU,EAAE,IAAY;IAC1D,OAAA,KAAK,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE,UAAC,CAAC,EAAE,CAAC,IAAK,OAAA,IAAI,GAAG,CAAC,GAAG,IAAI,EAAf,CAAe,CAAC;AAAlG,CAAkG,CAAC;AADxF,QAAA,KAAK,SACmF;AAErG,IAAM,oBAAoB;IACxB,GAAC,2BAAmB,CAAC,IAAI,IAAG,2BAAmB,CAAC,KAAK;IACrD,GAAC,2BAAmB,CAAC,KAAK,IAAG,2BAAmB,CAAC,IAAI;IACrD,GAAC,yBAAiB,CAAC,GAAG,IAAG,yBAAiB,CAAC,MAAM;IACjD,GAAC,yBAAiB,CAAC,MAAM,IAAG,yBAAiB,CAAC,GAAG;OAClD,CAAC;AAGF,SAAgB,oBAAoB,CAAoD,SAAY;;IAClG,OAAO,MAAC,oBAAoB,CAAC,SAAS,CAAO,mCAAI,SAAS,CAAC;AAC7D,CAAC;AAFD,oDAEC"}
@@ -17,6 +17,7 @@ export declare function mergeWithDefaultAnnotationRect(config?: Partial<RectAnno
17
17
  * @param auxiliaryThemes - additional themes to be merged
18
18
  *
19
19
  * @public
20
+ * @deprecated - Please use `baseTheme` and `theme` on Settings instead
20
21
  */
21
22
  export declare function mergeWithDefaultTheme(theme: PartialTheme, defaultTheme?: Theme, auxiliaryThemes?: PartialTheme[]): Theme;
22
23
  //# sourceMappingURL=merge_utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"merge_utils.d.ts","sourceRoot":"","sources":["../../../src/utils/themes/merge_utils.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,mBAAmB,EAAE,YAAY,EAAE,mBAAmB,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAExF,cAAc;AACd,eAAO,MAAM,6BAA6B,EAAE,mBAa3C,CAAC;AACF,cAAc;AACd,eAAO,MAAM,6BAA6B,EAAE,mBAK3C,CAAC;AAEF,cAAc;AACd,wBAAgB,8BAA8B,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC,mBAAmB,CAAC,GAAG,mBAAmB,CAwBzG;AAED,cAAc;AACd,wBAAgB,8BAA8B,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC,mBAAmB,CAAC,GAAG,mBAAmB,CASzG;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,qBAAqB,CACnC,KAAK,EAAE,YAAY,EACnB,YAAY,GAAE,KAAmB,EACjC,eAAe,GAAE,YAAY,EAAO,GACnC,KAAK,CAEP"}
1
+ {"version":3,"file":"merge_utils.d.ts","sourceRoot":"","sources":["../../../src/utils/themes/merge_utils.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,mBAAmB,EAAE,YAAY,EAAE,mBAAmB,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAExF,cAAc;AACd,eAAO,MAAM,6BAA6B,EAAE,mBAa3C,CAAC;AACF,cAAc;AACd,eAAO,MAAM,6BAA6B,EAAE,mBAK3C,CAAC;AAEF,cAAc;AACd,wBAAgB,8BAA8B,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC,mBAAmB,CAAC,GAAG,mBAAmB,CAwBzG;AAED,cAAc;AACd,wBAAgB,8BAA8B,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC,mBAAmB,CAAC,GAAG,mBAAmB,CASzG;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,qBAAqB,CACnC,KAAK,EAAE,YAAY,EACnB,YAAY,GAAE,KAAmB,EACjC,eAAe,GAAE,YAAY,EAAO,GACnC,KAAK,CAEP"}
@@ -1 +1 @@
1
- {"version":3,"file":"merge_utils.js","sourceRoot":"","sources":["../../../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A,EAAA,eAAsB,yBAAW;IACjC,gCAAA,EAAA,oBAAoC;IAEpC,OAAO,IAAA,qBAAY,EAAC,YAAY,EAAE,KAAK,EAAE,EAAE,EAAE,eAAe,CAAC,CAAC;AAChE,CAAC;AAND,sDAMC"}
1
+ {"version":3,"file":"merge_utils.js","sourceRoot":"","sources":["../../../src/utils/themes/merge_utils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAQA,oCAAyC;AACzC,6CAA4C;AAI/B,QAAA,6BAA6B,GAAwB;IAChE,IAAI,EAAE;QACJ,MAAM,EAAE,MAAM;QACd,WAAW,EAAE,CAAC;QACd,OAAO,EAAE,CAAC;KACX;IACD,OAAO,EAAE;QACP,QAAQ,EAAE,EAAE;QACZ,UAAU,EAAE,YAAY;QACxB,SAAS,EAAE,QAAQ;QACnB,IAAI,EAAE,MAAM;QACZ,OAAO,EAAE,CAAC;KACX;CACF,CAAC;AAEW,QAAA,6BAA6B,GAAwB;IAChE,MAAM,EAAE,SAAS;IACjB,WAAW,EAAE,CAAC;IACd,OAAO,EAAE,IAAI;IACb,IAAI,EAAE,SAAS;CAChB,CAAC;AAGF,SAAgB,8BAA8B,CAAC,MAAqC;IAClF,IAAM,WAAW,GAAG,qCAA6B,CAAC,IAAI,CAAC;IACvD,IAAM,cAAc,GAAG,qCAA6B,CAAC,OAAO,CAAC;IAC7D,IAAM,YAAY,gBAA6B,qCAA6B,CAAE,CAAC;IAE/E,IAAI,CAAC,MAAM,EAAE;QACX,OAAO,YAAY,CAAC;KACrB;IAED,IAAI,MAAM,CAAC,IAAI,EAAE;QACf,YAAY,CAAC,IAAI,yBACZ,WAAW,GACX,MAAM,CAAC,IAAI,CACf,CAAC;KACH;IAED,IAAI,MAAM,CAAC,OAAO,EAAE;QAClB,YAAY,CAAC,OAAO,yBACf,cAAc,GACd,MAAM,CAAC,OAAO,CAClB,CAAC;KACH;IAED,OAAO,YAAY,CAAC;AACtB,CAAC;AAxBD,wEAwBC;AAGD,SAAgB,8BAA8B,CAAC,MAAqC;IAClF,IAAI,CAAC,MAAM,EAAE;QACX,OAAO,qCAA6B,CAAC;KACtC;IAED,6BACK,qCAA6B,GAC7B,MAAM,EACT;AACJ,CAAC;AATD,wEASC;AAcD,SAAgB,qBAAqB,CACnC,KAAmB,EACnB,YAAiC,EACjC,eAAoC;IADpC,6BAAA,EAAA,eAAsB,yBAAW;IACjC,gCAAA,EAAA,oBAAoC;IAEpC,OAAO,IAAA,qBAAY,EAAC,YAAY,EAAE,KAAK,EAAE,EAAE,EAAE,eAAe,CAAC,CAAC;AAChE,CAAC;AAND,sDAMC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@elastic/charts",
3
3
  "description": "Elastic-Charts data visualization library",
4
- "version": "38.1.3",
4
+ "version": "39.0.1",
5
5
  "author": "Elastic DataVis",
6
6
  "license": "Apache-2.0",
7
7
  "main": "dist/index.js",
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=crosshair.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"crosshair.d.ts","sourceRoot":"","sources":["../../../../../src/chart_types/xy_chart/renderer/dom/crosshair.tsx"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"crosshair.js","sourceRoot":"","sources":["../../../../../src/chart_types/xy_chart/renderer/dom/crosshair.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,gDAA0B;AAC1B,2CAAsC;AAGtC,2CAAmD;AACnD,yDAA0D;AAE1D,qFAA0F;AAC1F,+EAAoF;AACpF,qGAAsH;AACtH,qFAAyF;AAEzF,oEAAmE;AAEnE,yEAAsF;AACtF,yEAAsF;AAYtF,SAAS,aAAa,CAAC,IAAiB,EAAE,OAAgB,EAAE,iBAA2B;IACrF,OAAO,OAAO,IAAI,CAAC,IAAI,KAAK,uBAAW,CAAC,UAAU,IAAI,IAAI,KAAK,uBAAW,CAAC,cAAc,IAAI,iBAAiB,CA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