System.register(["./index-legacy237.js?v=1753954525509","./index.vue_vue_type_script_setup_true_lang-legacy20.js?v=1753954525509","./index.vue_vue_type_script_setup_true_lang-legacy21.js?v=1753954525509","./page_layout-legacy.js?v=1753954525509","./public-legacy.js?v=1753954525509","./naive-legacy.js?v=1753954525509","./vue-legacy.js?v=1753954525509","./php-legacy.js?v=1753954525509","./soft-legacy.js?v=1753954525509","./alarm-legacy.js?v=1753954525509","./index.vue_vue_type_script_setup_true_lang-legacy.js?v=1753954525509","./index.vue_vue_type_script_setup_true_lang-legacy10.js?v=1753954525509","./index.vue_vue_type_script_setup_true_lang-legacy14.js?v=1753954525509","./theme-chrome-legacy.js?v=1753954525509","./__commonjsHelpers__-legacy.js?v=1753954525509","./file-legacy2.js?v=1753954525509","./common-legacy.js?v=1753954525509"],(function(e,l){"use strict";var n,a,t,s,u,i,p,c,o,r,_,d,v,g,y,m,x,f,j,b,h,k,w,C,O,P,S,z,U,L,q,G,B;return{setters:[e=>{n=e._},e=>{a=e._,t=e.a},e=>{s=e._},e=>{u=e.ep,i=e.eq,p=e.c,c=e._,o=e.O,r=e.e},e=>{_=e.c},e=>{d=e.c1,v=e.aq,g=e.c5,y=e.bX,m=e.bY,x=e.ay},e=>{f=e.k,j=e.P,b=e.r,h=e.U,k=e.a1,w=e.a2,C=e.V,O=e.F,P=e.O,S=e.X,z=e.Q,U=e.W,L=e.a3,q=e.al,G=e.j,B=e.ah},null,null,null,null,null,null,null,null,null,null],execute:function(){var l=document.createElement("style");l.textContent=".list_box[data-v-4193d178]{margin-top:16px;margin-bottom:16px;flex-wrap:nowrap;align-items:center;padding-top:2px;padding-bottom:2px}\n",document.head.appendChild(l);const F={class:"w-200px! text-right"},H=r(f({__name:"index",setup(e,{expose:l}){const{t:n}=j(),a={connTimeout:n("Plugin.Openlitespeed.index_1"),enableGzipCompress:n("Plugin.Openlitespeed.index_2"),gzipCompressLevel:n("Plugin.Openlitespeed.index_3"),maxConnections:n("Plugin.Openlitespeed.index_4"),maxKeepAliveReq:n("Plugin.Openlitespeed.index_5"),maxSSLConnections:n("Plugin.Openlitespeed.index_6")},t=b(),s=async()=>{const e=t.value.reduce(((e,l)=>(e[l.name]=l.value,e)),{});await u(e)},{loading:r,setLoading:f}=_(),B=async()=>{try{f(!0);const{message:e}=await i();p(e)&&(t.value=Object.entries(e).map((([e,l])=>({name:e,value:"rollingSize"!==e?Number(l[0]):l[0],ps:a[e]}))))}finally{f(!1)}};return B(),l({init:B}),(e,l)=>{const n=d,a=v,u=g,i=c,p=y,_=m,f=x,j=o;return h(),k(j,{show:S(r)},{default:w((()=>[(h(!0),C(O,null,P(S(t),((e,l)=>(h(),C("div",{key:l},[z(_,{class:"list_box"},{default:w((()=>[U("div",F,L(e.name),1),"enableGzipCompress"!==e.name&&"rollingSize"!==e.name?(h(),k(n,{key:0,class:"w-200px!","show-button":!1,value:e.value,"onUpdate:value":l=>e.value=l},null,8,["value","onUpdate:value"])):q("",!0),"rollingSize"===e.name?(h(),k(a,{key:1,class:"w-200px!",value:e.value,"onUpdate:value":l=>e.value=l},null,8,["value","onUpdate:value"])):q("",!0),"enableGzipCompress"===e.name?(h(),k(u,{key:2,class:"w-200px! justify-start",value:e.value,"onUpdate:value":l=>e.value=l,"checked-value":1,"unchecked-value":0},null,8,["value","onUpdate:value"])):q("",!0),e.ps?(h(),k(p,{key:3,trigger:"hover",placement:"top-start"},{trigger:w((()=>[z(i,{name:"common-ask",class:"color-#fc7938",size:"16"})])),default:w((()=>[G(" "+L(e.ps),1)])),_:2},1024)):q("",!0)])),_:2},1024)])))),128)),z(_,{class:"justify-center!"},{default:w((()=>[z(f,{type:"primary",onClick:B},{default:w((()=>[G(L(e.$t("Public.Btn.Refresh")),1)])),_:1}),z(f,{type:"primary",onClick:s},{default:w((()=>[G(L(e.$t("Public.Btn.Save")),1)])),_:1})])),_:1})])),_:1},8,["show"])}}}),[["__scopeId","data-v-4193d178"]]);e("default",f({__name:"index",setup(e){const{t:l}=j(),u=b("service"),i=[{key:"service",label:l("Security.History.Index_10"),component:a},{key:"version",label:l("Plugin.Ftp.index_9"),component:s},{key:"file",label:l("Site.Config.index_15"),data:{path:"/usr/local/lsws/conf/httpd_config.conf"},component:t},{key:"config",label:"OpenLiteSpeed",component:H}];return(e,l)=>{const a=n;return h(),k(a,{value:S(u),"onUpdate:value":l[0]||(l[0]=e=>B(u)?u.value=e:null),data:i},null,8,["value"])}}}))}}}));
