System.register(["./page_layout-legacy.js?v=1763625242172","./vue-legacy.js?v=1763625242172","./public-legacy.js?v=1763625242172","./index-legacy104.js?v=1763625242172","./naive-legacy.js?v=1763625242172","./common-legacy.js?v=1763625242172","./__commonjsHelpers__-legacy.js?v=1763625242172"],(function(t,e){"use strict";var a,n,s,l,c,i,o,x,p,u,d,r,y,m,g,f,_,v,b,h,k,w,j,I,$,A,C,P,S,T,W,z,q,E,L;return{setters:[t=>{a=t.aw,n=t.c,s=t.m,l=t.P,c=t.a2,i=t.u,o=t.ax,x=t.ay,p=t._,u=t.p},t=>{d=t.k,r=t.P,y=t.r,m=t.R,g=t.S,f=t.X,_=t.V,v=t.a0,b=t.o,h=t.a2,k=t.a3,w=t.a5,j=t.U,I=t.a4,$=t.j},t=>{A=t.k,C=t.u,P=t.l,S=t.b,T=t.m},t=>{W=t._},t=>{z=t.dS,q=t.dk,E=t.aC,L=t.bJ},null,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",document.head.appendChild(e);const N={class:"h-500px"},B=d({__name:"logs",setup(t){const{t:e}=r(),c=y(!1),i=y(""),{loop:o,clearTimer:x}=A((async()=>{const{message:t}=await a();n(t)&&(i.value=t.result,i.value.includes("|-Successify --- Command executed! ---")&&(x(),s.success(e("Account.Install.index_9")),l()))}),1);return o(),(t,e)=>{const a=W;return m(),g("div",N,[f(a,{loading:_(c),log:_(i)},null,8,["loading","log"])])}}}),H={class:"flex items-center py-6px px-4px"},J={class:"ml-8px",style:{color:"var(--color-text-5)"}},R={class:"py-52px"},U={class:"mb-24px text-center text-24px font-bold"},V={class:"mb-16px"},X={class:"ul-style"},D={key:0,class:"text-center mb-40px"},F={key:1,class:"text-center mb-40px"},G={key:2,class:"text-center mb-40px"},K={key:0,class:"text-15px"},M={class:"flex justify-center"},O={class:"w-76%"},Q=d({__name:"index",setup(t){const{t:e}=r(),a=c(),{userInfo:s,hasSubPanelAuth:l}=v(i()),u=y(""),d=()=>{P()},A=()=>{S({source:301})},W=async()=>{await x(),setTimeout((()=>{N()}),1e3)},N=()=>{C({title:e("Account.Install.index_5"),width:640,component:B})},Q=()=>{T("nginx")};return(async()=>{const{message:t}=await o();n(t)&&t.web.setup&&(u.value=t.webserver)})(),b((()=>{1===a.install&&N()})),(t,e)=>{const a=p,n=q,c=E,i=w("i18n-t"),o=L,x=z;return m(),h(x,{class:"p-16px"},{default:k((()=>[f(n,{"show-icon":!1},{default:k((()=>[j("div",H,[f(a,{class:"text-warning",name:"base-warning",size:"21"}),j("span",J,I(t.$t("Waf.Install.index_1")),1)])])),_:1}),j("div",R,[j("div",U,I(t.$t("Account.Install.index_1")),1),j("div",V,[j("ul",X,[j("li",null,I(t.$t("Account.Install.index_2")),1),j("li",null,I(t.$t("Account.Install.index_3")),1),j("li",null,I(t.$t("Account.Install.index_4")),1)])]),e[0]||(e[0]=j("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)),_(s).status?_(l)?(m(),g("div",G,["nginx"===_(u).toLocaleLowerCase()?(m(),h(c,{key:0,type:"primary",class:"px-20px h-38px text-15px",onClick:W},{default:k((()=>[$(I(t.$t("Waf.Install.index_8")),1)])),_:1})):(m(),h(n,{key:1,class:"install-tips inline-flex w-auto mx-auto",type:"warning","show-icon":!1},{default:k((()=>[_(u)?(m(),g("div",K,I(t.$t("Account.Install.index_7",[_(u),"Nginx"])),1)):(m(),h(i,{key:1,tag:"div",keypath:"Account.Install.index_8",scope:"global",class:"text-15px"},{link_1:k((()=>[j("a",{class:"bt-link",href:"javascript:;",onClick:Q},I(t.$t("Public.Btn.Install")+" Nginx"),1)])),_:1}))])),_:1}))])):(m(),g("div",F,[f(c,{type:"primary",class:"px-20px h-38px text-15px",onClick:A},{default:k((()=>[$(I(t.$t("WP.Transition.index_7")),1)])),_:1})])):(m(),g("div",D,[f(c,{type:"primary",class:"px-20px h-38px text-15px",onClick:d},{default:k((()=>[$(I(t.$t("WP.Transition.index_8")),1)])),_:1})])),j("div",M,[j("div",O,[f(o,{width:"100%",src:_("/static/vite/images/1.jpg")},null,8,["src"])])])])])),_:1})}}});t("default",u(Q,[["__scopeId","data-v-a750cf97"]]))}}}));
