System.register(["./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785"],(function(e,t){"use strict";var r,a,s,l,o,n,i,c,u;return{setters:[e=>{r=e.k,a=e.$,s=e.Z,l=e._,o=e.aa,n=e.ak,i=e.F,c=e.P},e=>{u=e.c},null,null],execute:function(){var t=document.createElement("style");t.textContent=".server-sec-summary[data-v-ebe752ff]{margin-bottom:30px;padding:20px;border-radius:12px;background-color:var(--home-risk-security-report-bg);border:2px solid var(--color-border)}.server-sec-summary div[data-v-ebe752ff]{font-size:18px;margin-bottom:10px;color:var(--color-text-2)}.server-sec-list[data-v-ebe752ff]{margin-top:20px}.server-sec-list table[data-v-ebe752ff]{width:100%;border-collapse:collapse;font-size:16px;color:var(--color-text-2)}.server-sec-list table th[data-v-ebe752ff],.server-sec-list table td[data-v-ebe752ff]{padding:10px 15px;text-align:left;border-bottom:1px solid #eee}.server-sec-list table th[data-v-ebe752ff]{background-color:var(--color-table-th);font-weight:700;color:var(--color-text-2)}.pagination-note[data-v-ebe752ff]{margin-top:15px;text-align:center;font-style:italic;color:var(--color-text-3);font-size:14px}\n/*$vite$:1*/",document.head.appendChild(t);const d={key:0,class:"server-sec-summary"},v={class:"server-sec-list"},p=["item"],b={key:0,class:"pagination-note"};e("default",u(r({__name:"ServerSecSection",props:{data:{type:Array,required:!0},pageIndex:{type:Number,required:!0},totalPages:{type:Number,required:!0},reportData:{type:Object,default:()=>({})}},setup(e){const t=e;return(e,r)=>(a(),s("div",null,[t.reportData?.server_security?(a(),s("div",d,[l("div",null,"Check Items Total："+o(t.reportData.server_security.server_security_count?.security_count||0),1),l("div",null,"Risk Items Number："+o(t.reportData.server_security.server_security_count?.risk_count?.warning||0),1)])):n("",!0),l("div",v,[l("table",null,[r[0]||(r[0]=l("thead",null,[l("tr",null,[l("th",null,"Name"),l("th",null,"Status"),l("th",null,"Suggestion")])],-1)),l("tbody",null,[(a(!0),s(i,null,c(t.data,(e=>(a(),s("tr",{key:e.topic+e.item,item:e},[l("td",null,o(e.name),1),l("td",null,o(2===e.status?"Risk":"Normal"),1),l("td",null,o(e.info),1)],8,p)))),128))])]),t.totalPages>1?(a(),s("div",b," Total "+o(t.totalPages)+" pages, current page "+o(t.pageIndex+1)+". ",1)):n("",!0)])]))}}),[["__scopeId","data-v-ebe752ff"]]))}}}));
