-
Notifications
You must be signed in to change notification settings - Fork 441
/
031087.251.min.js
1 lines (1 loc) · 23.7 KB
/
031087.251.min.js
1
(window.webpackJsonp=window.webpackJsonp||[]).push([[251,187,196,212,314,315,360,362,364,365],{1316:function(e,t,n){e.exports={"box-container":"box-container-ec9c7ff004","content-container":"content-container-a0fa476c81","ip-container":"ip-container-1f883593ce","mark-container-tooltip-box":"mark-container-tooltip-box-96e718e77f","mark-container-title":"mark-container-title-a65de8b48d","mark-container-search-detail-button":"mark-container-search-detail-button-ca027d3d23","overview-container":"overview-container-f8e44c9e0e","statistic-spin":"statistic-spin-5dc6b2e6fc","statistic-container":"statistic-container-fea7959e8d","statistic-item":"statistic-item-ee5d1b7ac0","rank-spin":"rank-spin-74abbc9659","rank-container":"rank-container-4628d67719","rank-item":"rank-item-8a56b1eda1","empty-container":"empty-container-b6467ac274","host-detail-container":"host-detail-container-3c57290beb","host-ip-box":"host-ip-box-75f18981c6","app-container":"app-container-db12c90eac","app-left":"app-left-b0820d37a7","app-right":"app-right-a7fa3c05b8"}},1362:function(e,t,n){e.exports={container:"container-527fe97f27","empty-container":"empty-container-5a2664c8dd","container-hover":"container-hover-7635599b21","title-container":"title-container-5082b2e297",title:"title-6a93bc0505","chart-box":"chart-box-4317b9c08a","inner-chart-box":"inner-chart-box-b84afd0367","legend-box":"legend-box-1afcaee785","legend-item-box":"legend-item-box-c6be6acbf4",circle:"circle-f5e5b06d96",label:"label-b85f2e47bf","label-allow-click":"label-allow-click-ed8d0ddb85",count:"count-a2e126bc52"}},1363:function(e,t,n){e.exports={container:"container-58e83678b6","container-hover":"container-hover-6250463a84","label-container":"label-container-bd50dbd43d",icon:"icon-fc6c4cb638",label:"label-428a293396","value-container":"value-container-879f8d06df"}},1364:function(e,t,n){e.exports={container:"container-b963918969","container-hover":"container-hover-80332aefc8","title-container":"title-container-1e8435370e",title:"title-ebcda41f20","content-container":"content-container-3a2155fac8","order-num":"order-num-3550c1ca66","order-num-1":"order-num-1-06e327c394","order-num-2":"order-num-2-f032e164fd","order-num-3":"order-num-3-701a78ee08",label:"label-8290278e99","label-hover":"label-hover-7fac8f9168",progress:"progress-5833862f6f","empty-progress":"empty-progress-266596eac0",count:"count-8428389906","default-empty":"default-empty-2755ad8ae0"}},1608:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n(0),a=n.n(r),i=n(70),c=n.n(i),o="/opt/tiger/compile_path/src/code.byted.org/biz-platform/hids/src/utils/get-display-time.tsx";function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"YYYY-MM-DD HH:mm:ss",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(e){var r=c.a.unix(e).format(t);if(n){var i=null==r?void 0:r.split(" ");return a.a.createElement(a.a.Fragment,null,null==i?void 0:i.map((function(e){return a.a.createElement("div",{key:e,__source:{fileName:o,lineNumber:12,columnNumber:13}},e)})))}return r}return"-"}},1631:function(e,t,n){"use strict";n.r(t),n.d(t,"PortType",(function(){return r})),n.d(t,"AppType",(function(){return a})),n.d(t,"SoftwareType",(function(){return i})),n.d(t,"DescribeAllFingerprintPort",(function(){return l})),n.d(t,"MarkType",(function(){return u})),n.d(t,"DescribeAllFingerprintProcess",(function(){return p})),n.d(t,"DescribeAllFingerprintUser",(function(){return f})),n.d(t,"DescribeAllFingerprintCron",(function(){return d})),n.d(t,"FingerprintServiceRestartType",(function(){return s})),n.d(t,"FingerprintServiceTypeEnum",(function(){return m})),n.d(t,"FingerprintKmodTypeEnum",(function(){return b})),n.d(t,"DescribeAllFingerprintService",(function(){return v})),n.d(t,"DescribeAllFingerprintSoftware",(function(){return g})),n.d(t,"DescribeAllFingerprintIntegrity",(function(){return _})),n.d(t,"ContainerState",(function(){return N})),n.d(t,"DescribeAllFingerprintContainer",(function(){return y})),n.d(t,"DescribeAllFingerprintApp",(function(){return O})),n.d(t,"DescribeContainerStateStatistics",(function(){return h})),n.d(t,"DescribeContainerDetail",(function(){return j})),n.d(t,"RefreshFingerprintData",(function(){return k})),n.d(t,"DescribeFingerprintRefreshStatus",(function(){return E})),n.d(t,"DescribeAllFingerprintStatistics",(function(){return D})),n.d(t,"DescribeAllFingerprintTopList",(function(){return x})),n.d(t,"GetApiV6AssetCenterFingerprintDescribeAppGroup",(function(){return w})),n.d(t,"GetApiV6AssetCenterFingerprintDescribeAppDetail",(function(){return C})),n.d(t,"DescribeNetInterface",(function(){return S})),n.d(t,"DescribeVolume",(function(){return F})),n.d(t,"DescribeKmod",(function(){return T}));var r,a,i,c=n(54),o=n(12);!function(e){e[e.TCP=6]="TCP",e[e.UDP=17]="UDP"}(r||(r={})),function(e){e.WebService="web_service",e.Database="database",e.DevOps="devops",e.MessageQueue="message_queue",e.ContainerComponent="container_component"}(a||(a={})),function(e){e.dpkg="dpkg",e.rpm="rpm",e.pypi="pypi",e.jar="jar"}(i||(i={}));var u,l=function(e){var t=e.data,n=e.params;return Object(c.b)({method:"post",url:"/api/v6/asset-center/fingerprint/DescribePort",timeout:18e4,data:t,params:n},Object(o.g)("获取开放端口列表信息"))};!function(e){e[e.integrityFalse=0]="integrityFalse",e[e.commonFalse=1]="commonFalse",e[e.containerTrue=2]="containerTrue"}(u||(u={}));var s,m,b,p=function(e){var t=e.data,n=e.params;return Object(c.b)({method:"post",url:"/api/v6/asset-center/fingerprint/DescribeProcess",timeout:18e4,data:t,params:n},Object(o.g)("获取运行进程列表信息"))},f=function(e){var t=e.data,n=e.params;return Object(c.b)({method:"post",url:"/api/v6/asset-center/fingerprint/DescribeUser",timeout:18e4,data:t,params:n},Object(o.g)("获取系统用户列表信息"))},d=function(e){var t=e.data,n=e.params;return Object(c.b)({method:"post",url:"/api/v6/asset-center/fingerprint/DescribeCron",timeout:18e4,data:t,params:n},Object(o.g)("获取定时任务列表信息"))};!function(e){e.True="true",e.False="false"}(s||(s={})),function(e){e.Simple="simple",e.Exec="exec",e.Forking="forking",e.Oneshot="oneshot",e.Dbus="dbus",e.Notify="notify",e.Idle="idle"}(m||(m={})),function(e){e.Live="Live",e.Loading="Loading",e.Unloading="Unloading"}(b||(b={}));var N,v=function(e){var t=e.data,n=e.params;return Object(c.b)({method:"post",url:"/api/v6/asset-center/fingerprint/DescribeService",timeout:18e4,data:t,params:n},Object(o.g)("获取系统服务列表信息"))},g=function(e){var t=e.data,n=e.params;return Object(c.b)({method:"post",url:"/api/v6/asset-center/fingerprint/DescribeSoftware",timeout:18e4,data:t,params:n},Object(o.g)("获取系统软件列表信息"))},_=function(e){var t=e.data,n=e.params;return Object(c.b)({method:"post",url:"/api/v6/asset-center/fingerprint/DescribeIntegrity",timeout:18e4,data:t,params:n},Object(o.g)("获取文件完整性校验信息"))};!function(e){e.running="running",e.exited="exited",e.unknown="unknown",e.created="created"}(N||(N={}));var y=function(e){var t=e.data,n=e.params;return Object(c.b)({method:"post",url:"/api/v6/asset-center/fingerprint/DescribeContainer",timeout:18e4,data:t,params:n},Object(o.g)("获取容器信息"))};function O(e){var t=e.params,n=e.data;return Object(c.b)({url:"/api/v6/asset-center/fingerprint/DescribeApp",timeout:18e4,params:t,data:n,method:"POST"},Object(o.g)("获取应用列表"))}var h=function(){return Object(c.b)({method:"get",url:"/api/v6/asset-center/fingerprint/DescribeContainerStateStatistics",timeout:18e4},Object(o.g)("获取容器状态分布信息"))},j=function(e){var t=e.params;return Object(c.b)({method:"get",url:"/api/v6/asset-center/fingerprint/DescribeContainerDetail",timeout:18e4,params:t},Object(o.g)("获取容器详情信息"))},k=function(e){var t=e.data;return Object(c.b)({method:"post",url:"/api/v6/asset-center/fingerprint/RefreshData",timeout:18e4,data:t},Object(o.g)("刷新资产指纹数据"))},E=function(e){var t=e.params;return Object(c.b)({method:"get",url:"/api/v6/asset-center/fingerprint/DescribeRefreshStatus",timeout:18e4,params:t},Object(o.g)("获取刷新资产指纹数据"))},D=function(e){var t=e.params;return Object(c.b)({method:"get",url:"/api/v6/asset-center/fingerprint/DescribeStatistics",timeout:18e4,params:t},Object(o.g)("获取所有资产指纹统计"))},x=function(e){var t=e.params;return Object(c.b)({method:"get",url:"/api/v6/asset-center/fingerprint/DescribeTop5",timeout:18e4,params:t},Object(o.g)("获取Top5的资产指纹"))};function w(e){var t=e.params;return Object(c.b)({url:"/api/v6/asset-center/fingerprint/DescribeAppGroup",timeout:18e4,method:"GET",params:t},Object(o.g)("获取应用分组"))}function C(e){return Object(c.b)({url:"/api/v6/asset-center/fingerprint/DescribeAppDetail",timeout:18e4,params:e,method:"GET"},Object(o.g)("获取应用详情"))}function S(e){var t=e.data,n=e.params;return Object(c.b)({url:"/api/v6/asset-center/fingerprint/DescribeNetInterface",timeout:18e4,data:t,method:"POST",params:n},Object(o.g)("获取主机网卡信息"))}function F(e){var t=e.data,n=e.params;return Object(c.b)({url:"/api/v6/asset-center/fingerprint/DescribeVolume",timeout:18e4,data:t,method:"POST",params:n},Object(o.g)("获取主机磁盘信息"))}var T=function(e){var t=e.data,n=e.params;return Object(c.b)({method:"post",url:"/api/v6/asset-center/fingerprint/DescribeKmod",timeout:18e4,data:t,params:n},Object(o.g)("获取内核模块信息"))}},1681:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(1332),a=function(){return Object(r.a)()}},363:function(e,t,n){"use strict";n.r(t);n(306);var r=n(601),a=n(10),i=n.n(a),c=n(50),o=n.n(c),u=n(0),l=n.n(u),s=n(780),m=n(1595),b=n(1607),p=n(115),f=n.n(p),d=n(1315),N=n(1631),v=n(12),g=n(1362),_=n.n(g),y="/opt/tiger/compile_path/src/code.byted.org/biz-platform/hids/src/pages/asset-fingerprint/container-distribution-chart/index.tsx";function O(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?O(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var j=f.a.bind(_.a),k=function(e){var t=e.value,n=e.style;return l.a.createElement("div",{className:j("legend-box"),style:n,__source:{fileName:y,lineNumber:22,columnNumber:5}},null==t?void 0:t.map((function(e){return l.a.createElement("div",{className:j("legend-item-box"),key:null==e?void 0:e.label,__source:{fileName:y,lineNumber:24,columnNumber:9}},l.a.createElement("div",{className:j("circle"),style:{background:null==e?void 0:e.color},__source:{fileName:y,lineNumber:25,columnNumber:11}}),l.a.createElement("div",{className:j("label",null!=e&&e.onClick?"label-allow-click":""),onClick:null==e?void 0:e.onClick,__source:{fileName:y,lineNumber:26,columnNumber:11}},null==e?void 0:e.label),l.a.createElement("div",{className:j("count"),__source:{fileName:y,lineNumber:32,columnNumber:11}},null==e?void 0:e.count))})))};t.default=function(e){var t=e.className,n=e.onClick,a=e.data,i=Object(u.useRef)(null),c=Object(b.a)().setValue,p=Object(u.useMemo)((function(){var e,t,n,r;return[{count:null!==(e=null==a?void 0:a.created)&&void 0!==e?e:0,label:"Created",color:"#22BB43"},{count:null!==(t=null==a?void 0:a.running)&&void 0!==t?t:0,label:"Running",color:"#4086FF"},{count:null!==(n=null==a?void 0:a.exited)&&void 0!==n?n:0,label:"Exited",color:"#EB635E"},{count:null!==(r=null==a?void 0:a.unknown)&&void 0!==r?r:0,label:"Unknown",color:"#E5E8EF"}]}),[a]),f=[50,70],g=Object(u.useState)({}),_=o()(g,1)[0];function O(e){if(e)switch(e){case"Created":c({containerState:[N.ContainerState.created]});break;case"Exited":c({containerState:[N.ContainerState.exited]});break;case"Running":c({containerState:[N.ContainerState.running]});break;case"Unknown":c({containerState:[N.ContainerState.unknown]})}}var E=Object(u.useMemo)((function(){return{click:function(e){O(null==e?void 0:e.name),null==n||n()}}}),[c,n]);return Object(u.useEffect)((function(){var e,t,n,r;null!=i&&i.current&&p&&(null==i||null===(e=i.current)||void 0===e||null===(t=e.getEchartsInstance())||void 0===t||t.clear(),null==i||null===(n=i.current)||void 0===n||null===(r=n.getEchartsInstance())||void 0===r||r.setOption({tooltip:{trigger:"item",formatter:"{b}: {c} ({d}%)"},series:[{type:"pie",radius:f,label:{show:!1,position:"outer",alignTo:"none",bleedMargin:5,color:"#606A78",fontFamily:"PingFang Sc",fontSize:12,formatter:"{b}: {d}%"},cursor:"pointer",emphasis:{scale:!1},labelLine:{show:!0},data:null==p?void 0:p.map((function(e){return{value:e.count,name:e.label,itemStyle:{color:e.color,borderColor:"#fff",borderWidth:1}}}))}]}))}),[p,E]),l.a.createElement("div",{className:j("container","container-hover",t),onClick:n,__source:{fileName:y,lineNumber:137,columnNumber:5}},l.a.createElement(s.a,{className:j("title-container"),__source:{fileName:y,lineNumber:138,columnNumber:7}},l.a.createElement(m.a,{className:j("title"),__source:{fileName:y,lineNumber:139,columnNumber:9}},Object(v.g)("容器运行状态分布"))),l.a.createElement("div",{className:j("chart-box"),__source:{fileName:y,lineNumber:141,columnNumber:7}},a?l.a.createElement(l.a.Fragment,null,l.a.createElement(k,{value:null==p?void 0:p.map((function(e){return h(h({},e),{},{onClick:function(t){null!=e&&e.label&&O(null==e?void 0:e.label),null==t||t.stopPropagation(),setTimeout((function(){null==n||n()}))}})})),style:{left:"60%",top:"50%"},__source:{fileName:y,lineNumber:144,columnNumber:13}}),l.a.createElement("div",{className:j("inner-chart-box"),style:{width:140,height:140},__source:{fileName:y,lineNumber:160,columnNumber:13}},l.a.createElement(d.a,{onEvents:E,ref:i,option:_,style:{width:"100%",height:"100%"},__source:{fileName:y,lineNumber:161,columnNumber:15}}))):l.a.createElement(s.a,{className:j("empty-container"),align:"center",justify:"center",__source:{fileName:y,lineNumber:170,columnNumber:11}},l.a.createElement(r.a,{description:Object(v.g)("暂无容器运行状态信息"),__source:{fileName:y,lineNumber:171,columnNumber:13}}))))}},364:function(e,t,n){"use strict";n.r(t);var r=n(80),a=n(0),i=n.n(a),c=n(1595),o=n(799),u=n(115),l=n.n(u),s=n(196),m=n(1363),b=n.n(m),p="/opt/tiger/compile_path/src/code.byted.org/biz-platform/hids/src/pages/asset-fingerprint/statistic-item/index.tsx",f=l.a.bind(b.a);t.default=function(e){var t=e.label,n=e.value,a=e.onClick,u=e.className;return i.a.createElement("div",{className:f("container",{"container-hover":!!a},u),onClick:a,__source:{fileName:p,lineNumber:23,columnNumber:5}},i.a.createElement("div",{className:f("label-container"),__source:{fileName:p,lineNumber:24,columnNumber:7}},i.a.createElement(c.a.Label,{className:f("label"),__source:{fileName:p,lineNumber:25,columnNumber:9}},i.a.createElement(o.a,{style:{display:"inline-block",whiteSpace:"pre-wrap",wordBreak:"break-all"},__source:{fileName:p,lineNumber:26,columnNumber:11}},t)),a&&i.a.createElement(r.a,{className:f("icon"),__source:{fileName:p,lineNumber:32,columnNumber:21}})),i.a.createElement(c.a,{className:f("value-container"),__source:{fileName:p,lineNumber:34,columnNumber:7}},i.a.createElement(s.c,{__source:{fileName:p,lineNumber:35,columnNumber:9}},void 0===n?void 0:String(n))))}},365:function(e,t,n){"use strict";n.r(t);n(809);var r=n(607),a=(n(306),n(601)),i=n(0),c=n.n(i),o=n(780),u=n(1595),l=n(799),s=n(115),m=n.n(s),b=n(163),p=n(1681),f=n(12),d=n(1364),N=n.n(d),v="/opt/tiger/compile_path/src/code.byted.org/biz-platform/hids/src/pages/asset-fingerprint/statistic-rank/index.tsx",g=m.a.bind(N.a),_=function(e){if(e>=1e3){var t=(e/1e3).toFixed(1);return-1!==t.indexOf(".0")&&(t=t.slice(0,t.length-2)),"".concat(t,"k")}return e},y=function(e){switch(e){case 1:case 2:case 3:return g("order-num","order-num-".concat(e));default:return g("order-num")}},O=function(e,t){return 0===t?e:e/t*100};t.default=function(e){var t,n,s=e.title,m=e.countTitle,d=e.data,N=e.minRow,h=void 0===N?5:N,j=e.emptyContent,k=void 0===j?c.a.createElement(o.a,{className:g("default-empty"),align:"center",justify:"center",__source:{fileName:v,lineNumber:66,columnNumber:7}},c.a.createElement(a.a,{__source:{fileName:v,lineNumber:67,columnNumber:9}})):j,E=e.renderCount,D=void 0===E?_:E,x=e.renderRightContent,w=e.renderEmptyRightContent,C=e.onClick,S=e.onItemClick,F=e.className,T=Object(i.useMemo)((function(){var e,t,n,r=(null!==(e=Object(b.cloneDeep)(d))&&void 0!==e?e:[]).sort((function(e,t){return t.value-e.value}));return{maxValue:null!==(t=null===(n=r[0])||void 0===n?void 0:n.value)&&void 0!==t?t:0,sortData:r}}),[d]),A=T.maxValue,P=T.sortData,R=!!C,I=!!S;return c.a.createElement("div",{onClick:C,className:g("container",{"container-hover":R},F),__source:{fileName:v,lineNumber:153,columnNumber:5}},c.a.createElement(o.a,{justify:"space-between",className:g("title-container"),__source:{fileName:v,lineNumber:163,columnNumber:7}},c.a.createElement(u.a,{className:g("title"),__source:{fileName:v,lineNumber:164,columnNumber:9}},s),c.a.createElement(u.a.Tip,{__source:{fileName:v,lineNumber:165,columnNumber:9}},m)),Object(b.isEmpty)(d)?k:c.a.createElement("div",{className:g("content-container"),style:{gridTemplateColumns:x?"min-content 1fr max-content":"min-content 1fr 1fr min-content"},__source:{fileName:v,lineNumber:170,columnNumber:9}},P.map((function(e,t){var n=e.value,a=e.label,o=t+1;return c.a.createElement(i.Fragment,{key:t,__source:{fileName:v,lineNumber:97,columnNumber:9}},c.a.createElement("div",{className:y(o),__source:{fileName:v,lineNumber:98,columnNumber:11}},o),c.a.createElement("div",{__source:{fileName:v,lineNumber:99,columnNumber:11}},c.a.createElement(u.a,{className:g("label",{"label-hover":I}),onClick:function(t){t.stopPropagation(),S(e)},__source:{fileName:v,lineNumber:100,columnNumber:13}},c.a.createElement(l.a,{key:Object(p.a)(),__source:{fileName:v,lineNumber:109,columnNumber:15}},a))),x?x(n):c.a.createElement(c.a.Fragment,null,c.a.createElement(r.a,{percent:O(n,A),showText:!1,color:"#2b61f6",className:g("progress"),__source:{fileName:v,lineNumber:116,columnNumber:15}}),c.a.createElement(u.a,{className:g("count"),__source:{fileName:v,lineNumber:122,columnNumber:15}},D(n))))})),(t=P.length,n=Object(b.clamp)(h-t,0,h),new Array(n).fill(1).map((function(e,n){var r=n+1+t;return c.a.createElement(i.Fragment,{key:Object(p.a)(),__source:{fileName:v,lineNumber:136,columnNumber:9}},c.a.createElement("div",{className:y(r),__source:{fileName:v,lineNumber:137,columnNumber:11}},r),c.a.createElement(u.a.Tip,{__source:{fileName:v,lineNumber:138,columnNumber:11}},Object(f.g)("暂无")),w?w():c.a.createElement(c.a.Fragment,null,c.a.createElement("div",{className:g("empty-progress"),__source:{fileName:v,lineNumber:143,columnNumber:15}}),c.a.createElement(u.a.Tip,{className:g("count"),__source:{fileName:v,lineNumber:144,columnNumber:15}},"0")))})))))}},841:function(e,t,n){"use strict";n.r(t);n(200);var r=n(85),a=n(1),i=n.n(a),c=n(2),o=n.n(c),u=(n(306),n(601)),l=n(28),s=n.n(l),m=n(16),b=n.n(m),p=n(0),f=n.n(p),d=n(780),N=n(1292),v=n(115),g=n.n(v),_=n(196),y=n(363),O=n(364),h=n(365),j=n(1631),k=n(1608),E=n(12),D=n(1316),x=n.n(D),w=["key"],C=["key"],S="/opt/tiger/compile_path/src/code.byted.org/biz-platform/hids/src/pages/asset-fingerprint/overview.tsx",F=g.a.bind(x.a),T=["container","port","process","user","cron","service","software","integrity","kmod"],A=[{key:"port",col:"sport"},{key:"software",col:"name"},{key:"service",col:"name"},{key:"process",col:"comm"},{key:"integrity",col:"exe"},{key:"app",col:"exe"},{key:"kmod",col:"name"}],P=function(e){switch(e){case"container":return Object(E.g)("容器");case"cron":return Object(E.g)("定时任务");case"port":return Object(E.g)("开放端口");case"process":return Object(E.g)("运行进程");case"service":return Object(E.g)("系统服务");case"software":return Object(E.g)("系统软件");case"user":return Object(E.g)("系统用户");case"integrity":return Object(E.g)("系统完整性校验");case"app":return Object(E.g)("应用");case"kmod":return Object(E.g)("内核模块");default:return"-"}};t.default=function(e){var t=e.onFingerprintClick,n=e.className,a=Object(N.a)(s()(b.a.mark((function e(){var t;return b.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(j.DescribeAllFingerprintStatistics)({params:void 0});case 2:return t=e.sent,e.abrupt("return",null==t?void 0:t.data);case 4:case"end":return e.stop()}}),e)}))),{auto:!0}),c=a.data,l=a.loading,m=a.error,p=T.map((function(e){var t;return{label:P(e),value:null!==(t=null==c?void 0:c[e])&&void 0!==t?t:0,key:e}})),v=Object(N.a)(s()(b.a.mark((function e(){var t,n;return b.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=function(){var e=s()(b.a.mark((function e(t){var n;return b.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(j.DescribeAllFingerprintTopList)({params:{fingerprint_type:t}});case 2:return n=e.sent,e.abrupt("return",n.data);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),e.next=3,Promise.all([t("port"),t("software"),t("service"),t("process"),t("integrity"),t("app"),t("kmod")]);case 3:return n=e.sent,e.abrupt("return",{port:n[0],software:n[1],service:n[2],process:n[3],integrity:n[4],app:n[5],kmod:n[6]});case 5:case"end":return e.stop()}}),e)}))),{auto:!0}),g=v.data,D=v.loading,x=Object(N.a)(s()(b.a.mark((function e(){var t;return b.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(j.DescribeContainerStateStatistics)();case 2:return t=e.sent,e.abrupt("return",null==t?void 0:t.data);case 4:case"end":return e.stop()}}),e)}))),{auto:!0}).data,R=A.map((function(e){var n,r,a=e.key,i=e.col;return{data:null!==(n=null==g||null===(r=g[a])||void 0===r?void 0:r.map((function(e){return{label:e.name,value:e.value}})))&&void 0!==n?n:[],title:"integrity"===a?"".concat(Object(E.g)("系统完整性校验-最新变更二进制文件 · TOP5")):"".concat(P(a)," · TOP5"),countTitle:"integrity"===a?Object(E.g)("变更时间"):Object(E.g)("指纹数"),minCol:5,emptyContent:f.a.createElement(d.a,{className:F("empty-container"),align:"center",justify:"center",__source:{fileName:S,lineNumber:170,columnNumber:9}},f.a.createElement(u.a,{description:"".concat(Object(E.g)("暂无{placeholder1}",{placeholder1:P(a)})),__source:{fileName:S,lineNumber:171,columnNumber:11}})),onClick:function(){return t(a)},onItemClick:function(e){var n=e.label;return t(a,{type:i,value:n})},key:a}}));return f.a.createElement("div",{className:F("overview-container",n),__source:{fileName:S,lineNumber:202,columnNumber:5}},f.a.createElement(_.a,{error:m,displayType:_.b.element,spin:{className:F("statistic-spin"),loading:l},errorStyle:{margin:"6px 0"},__source:{fileName:S,lineNumber:203,columnNumber:7}},f.a.createElement(d.a,{className:F("statistic-container"),__source:{fileName:S,lineNumber:212,columnNumber:9}},p.map((function(e){var n=e.key,r=o()(e,w);return f.a.createElement(O.default,i()({key:n,loadError:m},r,{className:F("statistic-item"),onClick:function(){return t(n)},__source:{fileName:S,lineNumber:214,columnNumber:13}}))})))),f.a.createElement(r.a,{loading:D,className:F("rank-spin"),__source:{fileName:S,lineNumber:224,columnNumber:7}},f.a.createElement("div",{className:F("rank-container"),__source:{fileName:S,lineNumber:225,columnNumber:9}},R.map((function(e){var t=e.key,n=o()(e,C);return f.a.createElement(h.default,i()({key:t},n,{className:F("rank-item")},function(e){return"integrity"===e?{renderRightContent:function(e){return f.a.createElement("span",{style:{textAlign:"right"},__source:{fileName:S,lineNumber:193,columnNumber:11}},Object(k.a)(e))},renderEmptyRightContent:function(){return f.a.createElement("span",{style:{textAlign:"right"},__source:{fileName:S,lineNumber:195,columnNumber:40}},"-")}}:{}}(t),{__source:{fileName:S,lineNumber:227,columnNumber:13}}))})),f.a.createElement(y.default,{className:F("rank-item"),onClick:function(){t("container")},data:x,__source:{fileName:S,lineNumber:234,columnNumber:11}}))))}}}]);