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,r){"use strict";var t,a,i,l,o,n,d,s,u,b;return{setters:[e=>{t=e.k,a=e.$,i=e.Z,l=e._,o=e.aa,n=e.ak,d=e.F,s=e.P,u=e.j},e=>{b=e.c},null,null],execute:function(){var r=document.createElement("style");r.textContent=".web-vuln-summary[data-v-5d926b3f]{margin-bottom:30px;padding:20px;border-radius:12px;background-color:var(--home-risk-security-report-bg);border:2px solid var(--color-border)}.web-vuln-summary div[data-v-5d926b3f]{font-size:18px;margin-bottom:10px;color:var(--color-text-2)}.web-vuln-list[data-v-5d926b3f]{margin-top:20px}.web-vuln-site[data-v-5d926b3f]{margin-bottom:25px;padding:15px;border-radius:8px;background-color:var(--home-risk-security-report-bg);border:1px solid var(--color-border)}.web-vuln-cms[data-v-5d926b3f]{margin-top:15px;padding:15px;border-radius:8px;background-color:var(--home-risk-security-report-bg);border:1px solid var(--color-border)}.web-vuln-cms div[data-v-5d926b3f]{margin-bottom:8px}.web-vuln-cms div[data-v-5d926b3f]:last-child{margin-bottom:0}.pagination-note[data-v-5d926b3f]{margin-top:15px;text-align:center;font-style:italic;color:var(--color-text-3);font-size:14px}\n/*$vite$:1*/",document.head.appendChild(r);const p={key:0,class:"web-vuln-summary"},v={class:"web-vuln-list"},c=["item"],m=["item"],g=["href"],x={key:0,class:"pagination-note"};e("default",b(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 r=e,t={1:"Low",2:"Medium",3:"High",4:"Critical",5:"Secure"};return(e,b)=>(a(),i("div",null,[r.reportData?.website_vulnerabilities?(a(),i("div",p,[l("div",null,"Website Number："+o(r.reportData.website_vulnerabilities.site_num||0),1),l("div",null,"Vulnerability Number："+o(r.reportData.website_vulnerabilities.loophole_num||0),1)])):n("",!0),l("div",v,[(a(!0),i(d,null,s(r.data,(e=>(a(),i("div",{key:e.id,class:"web-vuln-site",item:e},[l("div",null,"Website："+o(e.name)+"（"+o(e.path)+"）",1),(a(!0),i(d,null,s(e.cms,(e=>{return a(),i("div",{key:e.name,class:"web-vuln-cms",item:e},[l("div",null,"Vulnerability Name："+o(e.name),1),l("div",null,"Risk Level："+o((r=e.dangerous,t[r])),1),l("div",null,"Description："+o(e.ps),1),l("div",null,[b[0]||(b[0]=u("Repair Suggestion：")),l("a",{href:e.repair,target:"_blank"},o(e.repair),9,g)])],8,m);var r})),128))],8,c)))),128)),r.totalPages>1?(a(),i("div",x," Total "+o(r.totalPages)+" pages, current page "+o(r.pageIndex+1)+". ",1)):n("",!0)])]))}}),[["__scopeId","data-v-5d926b3f"]]))}}}));
