/*! Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one or more contributor license agreements. * Licensed under the Elastic License 2.0; you may not use this file except in compliance with the Elastic License 2.0. */ (window.exploratoryView_bundle_jsonpfunction=window.exploratoryView_bundle_jsonpfunction||[]).push([[5],{92:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(30).__importDefault(n(93));t.default=function(e){r.default((function(){e()}))}},93:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1);t.default=function(e){r.useEffect(e,[])}},96:function(e,t,n){"use strict";n.r(t),n.d(t,"DatePicker",(function(){return c}));var r=n(7),a=n(56),u=n(1),o=n.n(u),s=n(18);n(92),n(40),n(17),n(32),n(47);const i=Object(u.createContext)({});function c({rangeFrom:e,rangeTo:t,refreshPaused:n,refreshInterval:c,width:f="restricted",onTimeRangeRefresh:d}){const{updateTimeRange:l,updateRefreshInterval:h}=Object(u.useContext)(i),p=Object(s.useUiSetting)(a.UI_SETTINGS.TIMEPICKER_QUICK_RANGES).map((({from:e,to:t,display:n})=>({start:e,end:t,label:n}))),_=Object(u.useCallback)((e=>{d&&d(e),l(e)}),[d,l]);return o.a.createElement(r.EuiSuperDatePicker,{start:e,end:t,onTimeChange:_,onRefresh:_,isPaused:n,refreshInterval:c,onRefreshChange:function({isPaused:e,refreshInterval:t}){h({isPaused:e,interval:t})},commonlyUsedRanges:p,width:f})}t.default=c}}]);