System.register(["./vue-legacy.js?v=1753954525509","./page_layout-legacy.js?v=1753954525509","./__commonjsHelpers__-legacy.js?v=1753954525509","./naive-legacy.js?v=1753954525509","./common-legacy.js?v=1753954525509","./public-legacy.js?v=1753954525509"],(function(e,a){"use strict";var t,l,i,r,n,d,o,s,u,p;return{setters:[e=>{t=e.k,l=e.U,i=e.V,r=e.W,n=e.a3,d=e.al,o=e.F,s=e.O,u=e.j},e=>{p=e.e},null,null,null,null],execute:function(){var a=document.createElement("style");a.textContent=".web-vuln-summary[data-v-d48867ea]{margin-bottom:30px;padding:20px;border-radius:12px;background-color:#f8f9fa;border:2px solid #e9ecef}.web-vuln-summary div[data-v-d48867ea]{font-size:18px;margin-bottom:10px;color:#333}.web-vuln-list[data-v-d48867ea]{margin-top:20px}.web-vuln-site[data-v-d48867ea]{margin-bottom:25px;padding:15px;border-radius:8px;background-color:#f8f9fa;border:1px solid #e9ecef}.web-vuln-cms[data-v-d48867ea]{margin-top:15px;padding:15px;border-radius:8px;background-color:#fff;border:1px solid #eee}.web-vuln-cms div[data-v-d48867ea]{margin-bottom:8px}.web-vuln-cms div[data-v-d48867ea]:last-child{margin-bottom:0}.pagination-note[data-v-d48867ea]{margin-top:15px;text-align:center;font-style:italic;color:#666;font-size:14px}\n",document.head.appendChild(a);const c={key:0,class:"web-vuln-summary"},m={class:"web-vuln-list"},v=["item"],b=["item"],g=["href"],y={key:0,class:"pagination-note"};e("default",p(t({__name:"WebVulnSection",props:{data:{type:Array,required:!0},pageIndex:{type:Number,required:!0},totalPages:{type:Number,required:!0},reportData:{type:Object,default:()=>({})}},setup(e){const a=e,t={1:"Low",2:"Medium",3:"High",4:"Critical",5:"Secure"};return(e,p)=>(l(),i("div",null,[a.reportData?.website_vulnerabilities?(l(),i("div",c,[r("div",null,"Website Number："+n(a.reportData.website_vulnerabilities.site_num||0),1),r("div",null,"Vulnerability Number："+n(a.reportData.website_vulnerabilities.loophole_num||0),1)])):d("",!0),r("div",m,[(l(!0),i(o,null,s(a.data,(e=>(l(),i("div",{key:e.id,class:"web-vuln-site",item:e},[r("div",null,"Website："+n(e.name)+"（"+n(e.path)+"）",1),(l(!0),i(o,null,s(e.cms,(e=>{return l(),i("div",{key:e.name,class:"web-vuln-cms",item:e},[r("div",null,"Vulnerability Name："+n(e.name),1),r("div",null,"Risk Level："+n((a=e.dangerous,t[a])),1),r("div",null,"Description："+n(e.ps),1),r("div",null,[p[0]||(p[0]=u("Repair Suggestion：")),r("a",{href:e.repair,target:"_blank"},n(e.repair),9,g)])],8,b);var a})),128))],8,v)))),128)),a.totalPages>1?(l(),i("div",y," Total "+n(a.totalPages)+" pages, current page "+n(a.pageIndex+1)+". ",1)):d("",!0)])]))}}),[["__scopeId","data-v-d48867ea"]]))}}}));
