System.register(["./index-legacy246.js?v=1764830988434","./vue-legacy.js?v=1764830988434","./page_layout-legacy.js?v=1764830988434","./index.vue_vue_type_script_setup_true_lang-legacy17.js?v=1764830988434","./index.vue_vue_type_script_setup_true_lang-legacy18.js?v=1764830988434","./public-legacy.js?v=1764830988434","./naive-legacy.js?v=1764830988434","./index-legacy102.js?v=1764830988434","./index-legacy260.js?v=1764830988434","./__commonjsHelpers__-legacy.js?v=1764830988434","./common-legacy.js?v=1764830988434","./php-legacy.js?v=1764830988434","./soft-legacy.js?v=1764830988434","./site-legacy.js?v=1764830988434","./alarm-legacy.js?v=1764830988434","./index.vue_vue_type_script_setup_true_lang-legacy.js?v=1764830988434","./index.vue_vue_type_script_setup_true_lang-legacy15.js?v=1764830988434","./index-legacy98.js?v=1764830988434","./theme-monokai-legacy.js?v=1764830988434","./file-legacy.js?v=1764830988434","./leader-line-vue-legacy.js?v=1764830988434"],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,W,B,H,K,L,R,$,q;return{setters:[e=>{n=e._},e=>{a=e.k,t=e.P,s=e.R,i=e.V,u=e.W,c=e.U,o=e.r,r=e.a2,p=e.a3,d=e.S,_=e.F,g=e.O,y=e.an,v=e.a4,x=e.j,m=e.a0,w=e.ak},e=>{h=e.ew,j=e.d,f=e.T,k=e.ex,b=e.ey,P=e.x,A=e.eh,S=e.u},e=>{U=e._,C=e.a},e=>{O=e._},e=>{T=e.c,W=e.d,B=e.h},e=>{H=e.da,K=e.df,L=e.dV,R=e.aC},e=>{$=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}=W(),_=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=B;return i(),s("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 k(e)},{loading:h,setLoading:j}=W(),A=async()=>{try{j(!0);const{message:e}=await b();P(e)&&(a.value=e)}finally{j(!1)}};return A(),l({init:A}),(e,l)=>{const n=K,t=L,o=H,j=R,k=f;return i(),r(k,{show:c(h)},{default:p(()=>[(i(!0),s(_,null,g(c(a),(e,l)=>(i(),r(o,{class:"items-center flex-nowrap! py-2px mb-16px",key:l},{default:p(()=>[d("div",F,v(e.name),1),"KeepAlive"!==e.name?(i(),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"])):y("",!0),"KeepAlive"===e.name?(i(),r(t,{key:1,class:"w-150px!",value:e.value,"onUpdate:value":l=>e.value=l,options:m},null,8,["value","onUpdate:value"])):y("",!0),d("div",I,v(e.ps),1)]),_:2},1024))),128)),d("div",N,[u(j,{type:"primary",onClick:w},{default:p(()=>[x(v(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}=W(),s=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 s(),l({init:s}),(e,l)=>{const t=$,s=f;return i(),r(s,{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:s}=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=s.value?"webserver":"service",(e,l)=>{const a=n;return i(),r(a,{value:c(u),"onUpdate:value":l[0]||(l[0]=e=>w(u)?u.value=e:null),data:p},null,8,["value"])}}}))}}});
