System.register(["./index-legacy-DQdImDha.js?v=1773287522785","./useLoading-legacy-IiShPpjk.js?v=1773287522785","./firewall-legacy-BLYDdl9f.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785"],(function(e,a){"use strict";var l,s,t,r,n,c,o,i,u,p,d,m,y,_;return{setters:[e=>{l=e.i},e=>{s=e.u},e=>{t=e.y},e=>{r=e.k,n=e.e,c=e.$,o=e.Z,i=e.a0,u=e.a9,p=e._,d=e.aa,m=e.S},e=>{y=e.aj,_=e.ak},null],execute:function(){const a={class:"p-20px"};e("default",r({__name:"process",props:{row:{}},setup(e){const r=e,g=n({name:"",pid:"",command:""}),{loading:f,setLoading:b}=s();return(async()=>{try{const{row:e}=r;b(!0);const{message:a}=await t({port:e.Port});l(a)&&(g.name=a.process_name,g.pid=a.process_pid,g.command=a.process_cmd)}finally{b(!1)}})(),(e,l)=>{const s=y,t=_;return c(),o("div",a,[i(t,{bordered:"","label-placement":"left",column:1,"label-style":{width:"140px"}},{default:u((()=>[i(s,{label:e.$t("Security.Firewall.Port.process_1")},{default:u((()=>[p("span",null,d(m(f)?"--":m(g).name),1)])),_:1},8,["label"]),i(s,{label:e.$t("Security.Firewall.Port.process_2")},{default:u((()=>[p("span",null,d(m(f)?"--":m(g).pid),1)])),_:1},8,["label"]),i(s,{label:e.$t("Security.Firewall.Port.process_3")},{default:u((()=>[p("span",null,d(m(f)?"--":m(g).command),1)])),_:1},8,["label"])])),_:1})])}}}))}}}));
