System.register(["./index-legacy-DgZ0-E4f.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-LjZ-8uGn.js?v=1773287522785","./index-legacy-PSe5LpyC.js?v=1773287522785","./php-legacy-BZUQ59eS.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./webserver-result.vue_vue_type_script_setup_true_lang-legacy-CtdS-lqR.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-IFFYkvEY.js?v=1773287522785","./data-legacy-B9xdUIE5.js?v=1773287522785","./useTableData-legacy-3kc3lnk4.js?v=1773287522785"],(function(e,t){"use strict";var a,s,l,n,i,u,r,c,p,o,_,d,g,v,y,b,f,j,m;return{setters:[e=>{a=e._},e=>{s=e._},e=>{l=e.u},e=>{n=e.j},e=>{i=e.n,u=e.p},e=>{r=e._},e=>{c=e.k,p=e.R,o=e.e,_=e.r,d=e.$,g=e.Z,v=e.a0,y=e.a9,b=e._,f=e.S},e=>{j=e.a1,m=e.a6},null,null,null,null],execute:function(){const t={class:"p-20px"},x={class:"w-150px"};e("default",c({__name:"index",props:{data:{}},setup(e,{expose:c}){const{t:w}=p(),h=e,{rows:S}=h.data,k=l(),O=o({webServer:"nginx"}),R=_([{label:"Nginx",value:"nginx"},{label:"Apache",value:"apache"},{label:"Openlitespeed",value:"openlitespeed"}]);return c({onConfirm:async({hide:e})=>{const{message:t}=await n({site_list:JSON.stringify(S.map((e=>e.id))),service_type:O.webServer},!1);if(i(t)){const e=t.map((e=>{const[t,a]=Object.entries(e)[0];return{name:t,status:a}}));u({title:w("Public.Table.Result"),width:480,data:{message:e},component:r})}k.setRefresh(!0),e()}}),(e,l)=>{const n=m,i=j,u=s,r=a;return d(),g("div",t,[v(u,null,{default:y((()=>[v(i,{label:"Web Server","show-feedback":!1},{default:y((()=>[b("div",x,[v(n,{value:f(O).webServer,"onUpdate:value":l[0]||(l[0]=e=>f(O).webServer=e),options:f(R)},null,8,["value","options"])])])),_:1})])),_:1}),v(r,{class:"mt-16px!"},{default:y((()=>l[1]||(l[1]=[b("li",{class:"text-warning font-bold"},"If there is any custom configuration that may be lost, it is recommended to back up the site configuration ",-1)]))),_:1,__:[1]})])}}}))}}}));
