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,u,r,n;return{setters:[e=>{t=e.a4,a=e.r,i=e.c},e=>{l=e.a9,u=e.aN,r=e.i},e=>{n=e.g}],execute:function(){e("u",t("SitePhpStore",(()=>{const e=a(!1),s=a("--"),t=a(""),v=a("/www/wwwroot"),o=a(!0),p=a({setup:!0,type:"",version:"",status:!1}),c=a({setup:!1,version:"",status:!1}),w=a({setup:!1,version:"",status:!1}),f=a({is_install:0,status:!1,version:""}),y=a({is_install:0,status:!1,version:""}),g=i((()=>1===f.value.is_install&&l(f.value.version,"4.1.2"))),m=i((()=>1===y.value.is_install&&l(y.value.version,"9.6.8"))),h=a({setup:!1});return{web:p,ftp:c,siteName:s,mysql:w,php:h,sitePath:v,webserver:t,recycleBin:o,isRefresh:e,monitor:f,waf:y,isMonitorInstall:g,isWafInstall:m,getConfig:async()=>{const{message:e}=await u();r(e)&&(t.value=n(e,"webserver",""),v.value=n(e,"sites_path",""),o.value=n(e,"recycle_bin",!1),h.value.setup=!!e.php.length,r(e.web)&&(p.value=e.web),r(e["pure-ftpd"])&&(c.value=e["pure-ftpd"]),r(e.mysql)&&(w.value=e.mysql),r(e.monitor)&&(f.value=e.monitor),r(e.waf)&&(y.value=e.waf))},setRefresh:s=>{e.value=s}}})))}}}));
