System.register(["./index-legacy245.js?v=1763625242172","./vue-legacy.js?v=1763625242172","./page_layout-legacy.js?v=1763625242172","./index.vue_vue_type_script_setup_true_lang-legacy18.js?v=1763625242172","./index.vue_vue_type_script_setup_true_lang-legacy19.js?v=1763625242172","./public-legacy.js?v=1763625242172","./naive-legacy.js?v=1763625242172","./index-legacy104.js?v=1763625242172","./index-legacy259.js?v=1763625242172","./__commonjsHelpers__-legacy.js?v=1763625242172","./common-legacy.js?v=1763625242172","./php-legacy.js?v=1763625242172","./soft-legacy.js?v=1763625242172","./site-legacy.js?v=1763625242172","./alarm-legacy.js?v=1763625242172","./index.vue_vue_type_script_setup_true_lang-legacy.js?v=1763625242172","./index.vue_vue_type_script_setup_true_lang-legacy11.js?v=1763625242172","./index-legacy100.js?v=1763625242172","./theme-monokai-legacy.js?v=1763625242172","./file-legacy.js?v=1763625242172","./leader-line-vue-legacy.js?v=1763625242172"],(function(e,l){"use strict";var n,a,t,s,i,u,c,o,r,p,d,_,g,y,v,x,m,w,h,j,f,k,b,P,A,S,U,C,O,T,K,$,B,H,L,R,W,q;return{setters:[e=>{n=e._},e=>{a=e.k,t=e.P,s=e.R,i=e.S,u=e.X,c=e.V,o=e.r,r=e.a2,p=e.a3,d=e.F,_=e.O,g=e.U,y=e.a4,v=e.an,x=e.j,m=e.a0,w=e.aj},e=>{h=e.eZ,j=e.c,f=e.e_,k=e.e$,b=e.x,P=e.T,A=e.eK,S=e.u},e=>{U=e._,C=e.a},e=>{O=e._},e=>{T=e.c,K=e.d,$=e.h},e=>{B=e.df,H=e.dV,L=e.d9,R=e.aC},e=>{W=e._},e=>{q=e.O},null,null,null,null,null,null,null,null,null,null,null,null],execute:function(){const l=a({__name:"index",setup(e,{expose:l}){const{t:n}=t(),{table:a,columns:o}=T([{key:"title",title:n("Plugin.Apache.index_12")},{width:"30%",key:"value",title:n("Plugin.Apache.index_13")}]),r={RestartTime:n("Plugin.Apache.index_1"),UpTime:n("Plugin.Apache.index_2"),TotalAccesses:n("Plugin.Apache.index_3"),TotalKBytes:n("Plugin.Apache.index_4"),ReqPerSec:n("Plugin.Apache.index_5"),BusyWorkers:n("Plugin.Apache.index_6"),IdleWorkers:n("Plugin.Apache.index_7"),workercpu:n("Plugin.Apache.index_8"),workermem:n("Plugin.Apache.index_9")},{loading:p,setLoading:d}=K(),_=async()=>{try{d(!0);const{message:e}=await h();j(e)&&(a.data=Object.entries(e).map((([e,l])=>({title:`${r[e]}(${e})`,value:l}))))}finally{d(!1)}};return _(),l({init:_}),(e,l)=>{const n=$;return s(),i("div",null,[u(n,{data:c(a).data,columns:c(o),loading:c(p)},null,8,["data","columns","loading"])])}}}),F={class:"w-150px! text-right"},I={class:"w-250px! color-#666"},N={class:"text-center"},V=a({__name:"index",setup(e,{expose:l}){const{t:n}=t(),a=o(),m=[{label:n("Config.Panel.index_83_1"),value:"On"},{label:n("Config.Safe.index_84"),value:"Off"}],w=async()=>{const e=a.value.reduce(((e,l)=>(e[l.name]=l.value,e)),{});await f(e)},{loading:h,setLoading:j}=K(),A=async()=>{try{j(!0);const{message:e}=await k();b(e)&&(a.value=e)}finally{j(!1)}};return A(),l({init:A}),(e,l)=>{const n=B,t=H,o=L,j=R,f=P;return s(),r(f,{show:c(h)},{default:p((()=>[(s(!0),i(d,null,_(c(a),((e,l)=>(s(),r(o,{class:"items-center flex-nowrap! py-2px mb-16px",key:l},{default:p((()=>[g("div",F,y(e.name),1),"KeepAlive"!==e.name?(s(),r(n,{key:0,class:"w-150px!",value:e.value,"onUpdate:value":l=>e.value=l,min:0,"show-button":!1},null,8,["value","onUpdate:value"])):v("",!0),"KeepAlive"===e.name?(s(),r(t,{key:1,class:"w-150px!",value:e.value,"onUpdate:value":l=>e.value=l,options:m},null,8,["value","onUpdate:value"])):v("",!0),g("div",I,y(e.ps),1)])),_:2},1024)))),128)),g("div",N,[u(j,{type:"primary",onClick:w},{default:p((()=>[x(y(e.$t("Public.Btn.Save")),1)])),_:1})])])),_:1},8,["show"])}}}),z=a({__name:"index",setup(e,{expose:l}){const n=o("None"),{loading:a,setLoading:t}=K(),i=async()=>{try{t(!0);const{message:e}=await A({path:"/www/wwwlogs/error_log"});j(e)&&(n.value=e.result?e.result:"None")}finally{t(!1)}};return i(),l({init:i}),(e,l)=>{const t=W,i=P;return s(),r(i,{class:"h-580px",show:c(a)},{default:p((()=>[u(t,{log:c(n)},null,8,["log"])])),_:1},8,["show"])}}});e("default",a({__name:"index",setup(e){const{t:a}=t(),{multiService:i}=m(S()),u=o("service"),p=[{key:"service",label:a("Security.History.Index_10"),component:U},{key:"webserver",label:"Web server",component:q},{key:"file",label:a("Site.Config.index_15"),data:{path:"/www/server/apache/conf/httpd.conf"},component:C},{key:"version",label:a("Plugin.Ftp.index_9"),component:O},{key:"load",label:a("Home.index_30"),component:l},{key:"optimization",label:a("Plugin.Mysql.index_27"),component:V},{key:"logs",label:a("Docker.App.index_5"),component:z}];return u.value=i.value?"webserver":"service",(e,l)=>{const a=n;return s(),r(a,{value:c(u),"onUpdate:value":l[0]||(l[0]=e=>w(u)?u.value=e:null),data:p},null,8,["value"])}}}))}}}));
