import{_ as e,bl as s,bA as t,O as l,e as a}from"./page_layout.js?v=1753954525509";import{$ as i}from"./public.js?v=1753954525509";import{k as r,P as o,$ as n,r as p,U as m,a1 as u,a2 as _,Q as c,X as d,ah as v,H as x,W as y,V as g,F as f,O as j,I as w,a3 as h,l as b,v as k,al as H}from"./vue.js?v=1753954525509";import{H as I}from"./index.vue_vue_type_script_setup_true_lang24.js?v=1753954525509";import{D as S}from"./naive.js?v=1753954525509";import"./common.js?v=1753954525509";import"./__commonjsHelpers__.js?v=1753954525509";import"./index.vue_vue_type_script_setup_true_lang7.js?v=1753954525509";import"./index237.js?v=1753954525509";import"./index41.js?v=1753954525509";import"./index98.js?v=1753954525509";import"./index.vue_vue_type_script_setup_true_lang12.js?v=1753954525509";import"./soft.js?v=1753954525509";import"./index161.js?v=1753954525509";import"./index.vue_vue_type_script_setup_true_lang15.js?v=1753954525509";import"./index.js?v=1753954525509";import"./index.vue_vue_type_script_setup_true_lang4.js?v=1753954525509";import"./index.vue_vue_type_script_setup_true_lang5.js?v=1753954525509";import"./index.vue_vue_type_script_setup_true_lang11.js?v=1753954525509";import"./index.vue_vue_type_script_setup_true_lang9.js?v=1753954525509";import"./index96.js?v=1753954525509";import"./index102.js?v=1753954525509";import"./index.vue_vue_type_script_setup_true_lang.js?v=1753954525509";import"./index.vue_vue_type_script_setup_true_lang10.js?v=1753954525509";import"./alarm.js?v=1753954525509";import"./echarts.js?v=1753954525509";const D={class:"module-list overflow-auto h-[38rem]"},F={class:"module-head flex items-center h-[5.4rem] justify-between border-b-1 pr-[0.8rem] w-full"},T={class:"w-full flex items-center"},V=["title"],$={class:"px-[3rem] py-[3.2rem] bg-[#F8F8F8]"},C={class:"flex items-center"},M={class:"text-[#333] w-100px text-right"},A=["innerHTML"],L={class:"flex mt-[16px] items-center"},O={class:"w-100px text-right"},U={key:0,class:"collapse-item flex-col !items-start"},P={key:1,class:"collapse-item"},Q={class:"flex mt-[16px] items-center"},R={class:"w-100px text-right"},W={class:"collapse-item"},X=a(r({__name:"risk-ignore-list",setup(a){const{t:r}=o(),X=I(),{ignoreData:q,activeMentIgnore:z,levelData:B}=n(X),E=p(!1),G=e=>[{label:r("Home.Security.index_82"),class:"text-[#999]",onClick:async()=>{try{E.value=!0,await X.onIgnore(e)}finally{E.value=!1}}},{label:e.show?r("Home.Security.index_83"):r("Security.Anti.Index_21"),onClick:()=>{X.onToggle(e,q.value)}}];return(a,r)=>{const o=i,n=e,p=s,I=S,J=t,K=l;return m(),u(K,{show:d(E),class:"p-[2rem]"},{default:_((()=>[c(J,{modelValue:d(z),"onUpdate:modelValue":r[0]||(r[0]=e=>v(z)?z.value=e:null),accordion:"",class:x("".concat(d(q).length?"":"!border-none"))},{default:_((()=>[y("div",D,[(m(!0),g(f,null,j(d(q),((e,s)=>(m(),g("div",{class:"module-item text-[1.2rem]",key:"".concat(s)},[y("div",F,[y("div",T,[y("span",{class:"text-[1.2rem] h-[2.2rem] flex items-center px-[8px] rounded-[0.2rem] ml-[8px] mr-[1rem]",style:w({color:d(B)[e.level].color,backgroundColor:d(B)[e.level].bg})},h(d(B)[e.level].text),5),y("div",{class:"w-[36rem] max-w-[36rem] truncate",style:w({color:d(B)[e.level].color}),title:e.ps?e.ps:e.vuln_name},h(e.ps?e.ps:e.vuln_name),13,V)]),c(o,{class:"w-200px",options:G(e)},null,8,["options"]),c(n,{class:"ml-4px",name:"base-arrow-bottom",style:w({transform:e.show?"rotate(180deg)":"rotate(0deg)"})},null,8,["style"])]),c(p,null,{default:_((()=>[b(y("div",$,[y("div",C,[y("div",M,h(e.ps?"Risk Description":"Involved software"),1),b(y("div",{class:"collapse-item",innerHTML:e.msg},null,8,A),[[k,e.msg]]),b(y("div",{class:"collapse-item"},h(e.soft_name?d(X).vulnerabilityInvolvesSoftware(e):""),513),[[k,e.soft_name]])]),y("div",L,[y("div",O,h(a.$t("Home.Security.index_77")),1),e.tips?(m(),g("div",U,[(m(!0),g(f,null,j(e.tips,((e,s)=>(m(),g("p",{key:s,class:x(0==s?"":"mt-[4px]")},h(s+1)+"、"+h(e),3)))),128))])):H("",!0),e.vuln_solution?(m(),g("div",P,h(e.vuln_solution),1)):H("",!0)]),b(y("div",Q,[y("div",R,h(a.$t("Home.Security.index_81")),1),y("div",W,h(e.remind),1)],512),[[k,e.remind]])],512),[[k,e.show]])])),_:2},1024)])))),128)),d(q).length?H("",!0):(m(),u(I,{key:0,class:"empty",description:"There are no ignored risks"}))])])),_:1},8,["modelValue","class"])])),_:1},8,["show"])}}}),[["__scopeId","data-v-9f6e1105"]]);export{X as default};
