(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7192],{72473:function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/data-discovery/action-center/datastore/[monitorId]/activity",function(){return n(93367)}])},93367:function(t,e,n){"use strict";n.r(e);var r=n(24246),o=n(10034),i=n(63662),a=n(25980),u=n(9431),s=n(24729),f=n(73662);e.default=()=>{let{flags:{heliosV2:t}}=(0,a.hz)(),e=(0,i.useParams)(),n=(null==e?void 0:e.monitorId)?decodeURIComponent(e.monitorId):void 0,c=!n,d=!t&&f.HELIOS_ACCESS_ERROR;return d?(0,r.jsx)(o.x4B,{status:"error",title:d}):(0,r.jsx)(u.Z,{monitorId:n,routeConfig:f.MONITOR_ACTION_CENTER_CONFIG,children:c?null:(0,r.jsx)(s.D,{filters:{monitorId:n}})})}},40262:function(t,e,n){"use strict";n.d(e,{H:function(){return c}});var r=n(10969),o=n(60145),i=n(11558),a=n(70641),u=n(7317),s=n(85302),f=n(64892);function c(t,e,n){let c;let d=(0,o.j)(),l=n?.locale??d.locale??r._,m=(0,s.U)(t,e);if(isNaN(m))throw RangeError("Invalid time value");let _=Object.assign({},n,{addSuffix:n?.addSuffix,comparison:m}),[h,x]=(0,u.d)(n?.in,...m>0?[e,t]:[t,e]),D=(0,i.u)(n?.roundingMethod??"round"),E=x.getTime()-h.getTime(),N=E/f.yJ,I=(E-((0,a.D)(x)-(0,a.D)(h)))/f.yJ,C=n?.unit;if("second"===(c=C||(N<1?"second":N<60?"minute":N<f.H_?"hour":I<f.fH?"day":I<f.UU?"month":"year"))){let t=D(E/1e3);return l.formatDistance("xSeconds",t,_)}if("minute"===c){let t=D(N);return l.formatDistance("xMinutes",t,_)}if("hour"===c){let t=D(N/60);return l.formatDistance("xHours",t,_)}if("day"===c){let t=D(I/f.H_);return l.formatDistance("xDays",t,_)}if("month"===c){let t=D(I/f.fH);return 12===t&&"month"!==C?l.formatDistance("xYears",1,_):l.formatDistance("xMonths",t,_)}{let t=D(I/f.UU);return l.formatDistance("xYears",t,_)}}}},function(t){t.O(0,[431,6394,7245,1690,7552,5880,3662,4729,2888,9774,179],function(){return t(t.s=72473)}),_N_E=t.O()}]);