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