System.register(["./index-legacy237.js?v=1753954525509","./index.vue_vue_type_script_setup_true_lang-legacy20.js?v=1753954525509","./index.vue_vue_type_script_setup_true_lang-legacy21.js?v=1753954525509","./public-legacy.js?v=1753954525509","./page_layout-legacy.js?v=1753954525509","./vue-legacy.js?v=1753954525509","./naive-legacy.js?v=1753954525509","./index-legacy101.js?v=1753954525509","./php-legacy.js?v=1753954525509","./soft-legacy.js?v=1753954525509","./alarm-legacy.js?v=1753954525509","./index.vue_vue_type_script_setup_true_lang-legacy.js?v=1753954525509","./index.vue_vue_type_script_setup_true_lang-legacy10.js?v=1753954525509","./index.vue_vue_type_script_setup_true_lang-legacy14.js?v=1753954525509","./theme-chrome-legacy.js?v=1753954525509","./__commonjsHelpers__-legacy.js?v=1753954525509","./file-legacy2.js?v=1753954525509","./common-legacy.js?v=1753954525509"],(function(e,a){"use strict";var l,n,t,s,u,i,o,c,r,p,g,_,d,y,v,x,m,w,f,j,k,h,b,U,P,C,S,W,q,N,z,A,H,L,O,T;return{setters:[e=>{l=e._},e=>{n=e._,t=e.a},e=>{s=e._},e=>{u=e.b,i=e.c,o=e.f},e=>{c=e.e4,r=e.c,p=e.e5,g=e.e6,_=e.w,d=e.O,y=e.e7},e=>{v=e.k,x=e.P,m=e.U,w=e.V,f=e.Q,j=e.X,k=e.r,h=e.a1,b=e.a2,U=e.F,P=e.O,C=e.W,S=e.a3,W=e.al,q=e.j,N=e.ah},e=>{z=e.c1,A=e.aq,H=e.cG,L=e.bY,O=e.ay},e=>{T=e._},null,null,null,null,null,null,null,null,null,null],execute:function(){const a=v({__name:"index",setup(e,{expose:a}){const{t:l}=x(),{table:n,columns:t}=u([{key:"title",title:l("Plugin.Apache.index_12")},{width:"30%",key:"value",title:l("Plugin.Apache.index_13")}]),s={active:"Active connections",accepts:"Total accepts",handled:"Total handled",requests:"Total requests",Reading:"Reading",Writing:"Writing",Waiting:"Waiting",worker:"Worker process",workercpu:"Nginx CPU usage",workermen:"Nginx memory usage"},{loading:p,setLoading:g}=i(),_=async()=>{try{g(!0);const{message:e}=await c();r(e)&&(n.data=Object.keys(e).map((a=>({title:s[a],value:e[a]}))))}finally{g(!1)}};return _(),a({init:_}),(e,a)=>{const l=o;return m(),w("div",null,[f(l,{data:j(n).data,columns:j(t),loading:j(p)},null,8,["data","columns","loading"])])}}}),F={class:"w-150px! text-right"},R={class:"w-250px! color-#666"},B={class:"text-center"},G=v({__name:"index",setup(e,{expose:a}){const{t:l}=x(),n=k(),t=[{label:l("Config.Panel.index_83_1"),value:"on"},{label:l("Config.Safe.index_84"),value:"off"}],s=async()=>{const e=n.value.reduce(((e,a)=>(e[a.name]=a.value,e)),{});await p(e)},{loading:u,setLoading:o}=i(),c=async()=>{try{o(!0);const{message:e}=await g();_(e)&&(n.value=e)}finally{o(!1)}};return c(),a({init:c}),(e,a)=>{const l=z,i=A,o=H,c=L,r=O,p=d;return m(),h(p,{show:j(u)},{default:b((()=>[(m(!0),w(U,null,P(j(n),((e,a)=>(m(),h(c,{class:"items-center flex-nowrap! py-2px mb-16px",key:a},{default:b((()=>[C("div",F,S(e.name),1),"gzip"!==e.name&&"worker_processes"!==e.name?(m(),h(l,{key:0,class:"w-150px!",value:e.value,"onUpdate:value":a=>e.value=a,min:0,"show-button":!1},null,8,["value","onUpdate:value"])):W("",!0),"worker_processes"===e.name?(m(),h(i,{key:1,class:"w-150px!",value:e.value,"onUpdate:value":a=>e.value=a},null,8,["value","onUpdate:value"])):W("",!0),"gzip"===e.name?(m(),h(o,{key:2,class:"w-150px!",value:e.value,"onUpdate:value":a=>e.value=a,options:t},null,8,["value","onUpdate:value"])):W("",!0),C("div",R,S(e.ps),1)])),_:2},1024)))),128)),C("div",B,[f(r,{type:"primary",onClick:s},{default:b((()=>[q(S(e.$t("Public.Btn.Save")),1)])),_:1})])])),_:1},8,["show"])}}}),I=v({__name:"index",setup(e,{expose:a}){const l=k("None"),{loading:n,setLoading:t}=i(),s=async()=>{try{t(!0);const{message:e}=await y({path:"/www/wwwlogs/nginx_error.log"});r(e)&&(l.value=e.result?e.result:"None")}finally{t(!1)}};return s(),a({init:s}),(e,a)=>{const t=T,s=d;return m(),h(s,{class:"h-580px",show:j(n)},{default:b((()=>[f(t,{log:j(l)},null,8,["log"])])),_:1},8,["show"])}}});e("default",v({__name:"index",setup(e){const{t:u}=x(),i=k("service"),o=[{key:"service",label:u("Security.History.Index_10"),component:n},{key:"file",label:u("Site.Config.index_15"),data:{path:"/www/server/nginx/conf/nginx.conf"},component:t},{key:"version",label:u("Plugin.Ftp.index_9"),component:s},{key:"load",label:u("Home.index_30"),component:a},{key:"optimization",label:u("Plugin.Mysql.index_27"),component:G},{key:"logs",label:u("Site.Config.index_101"),component:I}];return(e,a)=>{const n=l;return m(),h(n,{value:j(i),"onUpdate:value":a[0]||(a[0]=e=>N(i)?i.value=e:null),data:o},null,8,["value"])}}}))}}}));
