System.register(["./index-legacy-DQdImDha.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./index-legacy-BJO1GMTD.js?v=1773287522785","./useLoop-legacy-CgPln_xQ.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785"],(function(t,e){"use strict";var a,s,n,l,c,i,o,x,p,d,u,r,y,f,g,m,v,_,b,h,w,k,I,$,j,A,C,P,T,W,L,S,z,B,q;return{setters:[t=>{a=t.ac,s=t.i,n=t.m,l=t.f,c=t.L,i=t.t,o=t.l,x=t.ad,p=t.Q,d=t.ae,u=t.p,r=t.af,y=t.ag,f=t.c},t=>{g=t.k,m=t.R,v=t.r,_=t.$,b=t.Z,h=t.a0,w=t.S,k=t.a6,I=t.o,$=t.ab,j=t.a8,A=t.a9,C=t._,P=t.aa,T=t.j},t=>{W=t._},t=>{L=t.u},t=>{S=t.ad,z=t.B,B=t.m,q=t.a2},null],execute:function(){var e=document.createElement("style");e.textContent=".ul-style[data-v-a750cf97]{margin:0 auto;display:flex;align-items:center;justify-content:center;gap:48px;font-size:16px;list-style:square}.ul-style li[data-v-a750cf97]{list-style:square}.n-image[data-v-a750cf97]{border:1px solid #ebeef5}.install-tabs[data-v-a750cf97]{--n-tab-font-size: 14px;--n-pane-padding-top: 0;--n-pane-padding-left: 24px;--n-tab-font-weight-active: bold}.install-tips[data-v-a750cf97]{--n-padding: 12px 24px}\n/*$vite$:1*/",document.head.appendChild(e);const E={class:"h-500px"},G=g({__name:"logs",setup(t){const{t:e}=m(),c=v(!1),i=v(""),{loop:o,clearTimer:x}=L((async()=>{const{message:t}=await a();s(t)&&(i.value=t.result,i.value.includes("|-Successify --- Command executed! ---")&&(x(),n.success(e("Account.Install.index_9")),l()))}),1);return o(),(t,e)=>{const a=W;return _(),b("div",E,[h(a,{loading:w(c),log:w(i)},null,8,["loading","log"])])}}}),N={class:"flex items-center py-6px px-4px"},Z={class:"ml-8px",style:{color:"var(--color-text-5)"}},H={class:"py-52px"},Q={class:"mb-24px text-center text-24px font-bold"},R={class:"mb-16px"},D={class:"ul-style"},F={key:0,class:"text-center mb-40px"},J={key:1,class:"text-center mb-40px"},K={key:2,class:"text-center mb-40px"},M={key:0,class:"text-15px"},O={class:"flex justify-center"},U={class:"w-76%"},V=g({__name:"index",setup(t){const{t:e}=m(),a=c(),{userInfo:n,hasSubPanelAuth:l}=k(i()),f=v(""),g=()=>{x()},W=()=>{p({source:301})},L=async()=>{await d(),setTimeout((()=>{E()}),1e3)},E=()=>{u({title:e("Account.Install.index_5"),width:640,component:G})},V=()=>{r("nginx")};return(async()=>{const{message:t}=await y();s(t)&&t.web.setup&&(f.value=t.webserver)})(),I((()=>{1===a.install&&E()})),(t,e)=>{const a=o,s=S,c=z,i=$("i18n-t"),x=B,p=q;return _(),j(p,{class:"p-16px"},{default:A((()=>[h(s,{"show-icon":!1},{default:A((()=>[C("div",N,[h(a,{class:"text-warning",name:"base-warning",size:"21"}),C("span",Z,P(t.$t("Waf.Install.index_1")),1)])])),_:1}),C("div",H,[C("div",Q,P(t.$t("Account.Install.index_1")),1),C("div",R,[C("ul",D,[C("li",null,P(t.$t("Account.Install.index_2")),1),C("li",null,P(t.$t("Account.Install.index_3")),1),C("li",null,P(t.$t("Account.Install.index_4")),1)])]),e[0]||(e[0]=C("div",{class:"mb-24px text-center text-14px color-desc"}," This function provides 100 sub-accounts for Pro edition . Each sub-account can independently manage the resources allocated to it. ",-1)),w(n).status?w(l)?(_(),b("div",K,["nginx"===w(f).toLocaleLowerCase()?(_(),j(c,{key:0,type:"primary",class:"px-20px h-38px text-15px",onClick:L},{default:A((()=>[T(P(t.$t("Waf.Install.index_8")),1)])),_:1})):(_(),j(s,{key:1,class:"install-tips inline-flex w-auto mx-auto",type:"warning","show-icon":!1},{default:A((()=>[w(f)?(_(),b("div",M,P(t.$t("Account.Install.index_7",[w(f),"Nginx"])),1)):(_(),j(i,{key:1,tag:"div",keypath:"Account.Install.index_8",scope:"global",class:"text-15px"},{link_1:A((()=>[C("a",{class:"bt-link",href:"javascript:;",onClick:V},P(t.$t("Public.Btn.Install")+" Nginx"),1)])),_:1}))])),_:1}))])):(_(),b("div",J,[h(c,{type:"primary",class:"px-20px h-38px text-15px",onClick:W},{default:A((()=>[T(P(t.$t("WP.Transition.index_7")),1)])),_:1})])):(_(),b("div",F,[h(c,{type:"primary",class:"px-20px h-38px text-15px",onClick:g},{default:A((()=>[T(P(t.$t("WP.Transition.index_8")),1)])),_:1})])),C("div",O,[C("div",U,[h(x,{width:"100%",src:w("/static/vite/images/1-BWGCZ683.jpg")},null,8,["src"])])])])])),_:1})}}});t("default",f(V,[["__scopeId","data-v-a750cf97"]]))}}}));
