System.register(["./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785"],(function(e,s){"use strict";var t,a,i,l,r,n,u;return{setters:[e=>{t=e.a4,a=e.r,i=e.c},e=>{l=e.a9,r=e.aN,n=e.i},e=>{u=e.g}],execute:function(){e("u",t("wordpress-toolkit",(()=>{const e=a(""),s=a(!1),t=a(""),o=a("/www/wwwroot"),v=a(""),w=a({setup:!1,version:"",status:!1}),p=a({setup:!1}),c=a({setup:!0,type:"",version:"",status:!1}),f=a({is_install:0,status:!1,version:""}),g=i((()=>1===f.value.is_install&&l(f.value.version,"4.1.2"))),m=a({is_install:0,status:!1,version:""}),y=i((()=>1===m.value.is_install&&l(m.value.version,"9.6.8")));return{web:c,mysql:w,php:p,siteName:e,sitePath:o,isRefresh:s,phpVersion:t,webserver:v,monitor:f,isMonitorInstall:g,waf:m,isWafInstall:y,setRefresh:e=>{s.value=e},getConfig:async()=>{const{message:e}=await r();n(e)&&(v.value=u(e,"webserver",""),o.value=u(e,"sites_path",""),p.value.setup=!!e.php.length,n(e.web)&&(c.value=e.web),n(e.mysql)&&(w.value=e.mysql),n(e.monitor)&&(f.value=e.monitor),n(e.waf)&&(m.value=e.waf))}}})))}}}));
