import{ak as x,cH as B,l as W,af as D,B as R,i as z,Q as C,c as $}from"./index-BTglIPU2.js?v=1773287522785";import{k as S,am as T,c as G,a6 as O,$ as r,a8 as p,a9 as s,a0 as e,_ as n,aa as l,S as t,j as _}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import{ad as H,B as N,Z as J,$ as U,m as Z,a2 as E}from"./naive-ui--dJnpVcV.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";const M="/static/vite/images/1-Bgk-fr0X.png",j="/static/vite/images/2-DJmzSRqv.png",q="/static/vite/images/3-BYn-XIFS.png",A="/static/vite/images/4-BIUhfSoF.png",F="/static/vite/images/5-B6cUteyL.png",Q="/static/vite/images/6-B11P_ZGq.png",V="/static/vite/images/7-BH5rhx-x.png",P="/static/vite/images/8-CkgQaH6Z.png",X="/static/vite/images/9-BFwGT6uJ.png",L="/static/vite/images/10-BHQieRG7.png",Y="/static/vite/images/11-D-40RzEO.png",K="/static/vite/images/12-hCsg1oZ9.png",tt="/static/vite/images/13-yf1Uq0I6.png",et="/static/vite/images/14-Bc8-Cjkx.png",at="/static/vite/images/15-B7i7OOiN.png",st="/static/vite/images/16-CZyhGsHg.png",nt="/static/vite/images/17-CknU4vpJ.png",it="/static/vite/images/18-DwEUWM80.png",ot="/static/vite/images/19-DSHIk-lJ.png",ct="/static/vite/images/20-BJmbETEr.png",lt={class:"flex items-center py-6px px-4px waf-alert-tips"},rt={class:"ml-8px",style:{color:"var(--color-text-5)"}},pt={class:"py-52px"},mt={class:"mb-20px text-center text-22px font-bold"},_t={class:"mb-20px"},dt={class:"ul-style"},gt={class:"text-center mb-40px"},ut={class:"w-90% mx-auto"},d="btwaf",ft=S({__name:"index",setup(vt){const g=T(),{theme:u}=x(),i=G(()=>u==="dark"),f=B(),{isBuy:v}=O(f),h=()=>{D(d,()=>{g.push("/waf/overview")})},y=async()=>{const{message:a}=await R({sName:d});z(a)&&C({source:25,plugin:{name:a.title,pid:a.pid,type:a.type,plugin:!0,renew:0,ps:a.ps}})};return(a,ht)=>{const w=W,k=H,m=N,o=Z,c=U,I=J,b=E;return r(),p(b,{class:"p-16px"},{default:s(()=>[e(k,{"show-icon":!1},{default:s(()=>[n("div",lt,[e(w,{class:"text-warning",name:"base-warning",size:"21"}),n("span",rt,l(a.$t("Waf.Install.index_1")),1)])]),_:1}),n("div",pt,[n("div",mt,l(a.$t("Waf.Install.index_2")),1),n("div",_t,[n("ul",dt,[n("li",null,l(a.$t("Waf.Install.index_3")),1),n("li",null,l(a.$t("Waf.Install.index_4")),1),n("li",null,l(a.$t("Waf.Install.index_5")),1),n("li",null,l(a.$t("Waf.Install.index_6")),1),n("li",null,l(a.$t("Waf.Install.index_7")),1)])]),n("div",gt,[t(v)?(r(),p(m,{key:0,type:"primary",class:"text-14px",onClick:h},{default:s(()=>[_(l(a.$t("Waf.Install.index_8")),1)]),_:1})):(r(),p(m,{key:1,type:"primary",class:"text-14px",onClick:y},{default:s(()=>[_(l(a.$t("Waf.Install.index_9")),1)]),_:1}))]),n("div",ut,[e(I,{class:"install-tabs",type:"line",placement:"left"},{default:s(()=>[e(c,{name:"overview",tab:"Overview","display-directive":"show:lazy"},{default:s(()=>[e(o,{width:"100%",src:t(i)?t(Y):t(M)},null,8,["src"])]),_:1}),e(c,{name:"website",tab:"WebSite","display-directive":"show:lazy"},{default:s(()=>[e(o,{width:"100%",src:t(i)?t(K):t(j)},null,8,["src"])]),_:1}),e(c,{name:"blockade",tab:"Blockade","display-directive":"show:lazy"},{default:s(()=>[e(o,{width:"100%",src:t(i)?t(tt):t(q)},null,8,["src"])]),_:1}),e(c,{name:"black-white",tab:"Black/White list","display-directive":"show:lazy"},{default:s(()=>[e(o,{width:"100%",src:t(i)?t(et):t(A)},null,8,["src"])]),_:1}),e(c,{name:"region",tab:"Region","display-directive":"show:lazy"},{default:s(()=>[e(o,{width:"100%",src:t(i)?t(at):t(F)},null,8,["src"])]),_:1}),e(c,{name:"traffic",tab:"Traffic","display-directive":"show:lazy"},{default:s(()=>[e(o,{width:"100%",src:t(i)?t(st):t(Q)},null,8,["src"])]),_:1}),e(c,{name:"custom-rules",tab:"Custom Rules","display-directive":"show:lazy"},{default:s(()=>[e(o,{width:"100%",src:t(i)?t(nt):t(V)},null,8,["src"])]),_:1}),e(c,{name:"attack-map",tab:"Attack Map","display-directive":"show:lazy"},{default:s(()=>[e(o,{width:"100%",src:t(i)?t(it):t(P)},null,8,["src"])]),_:1}),e(c,{name:"report",tab:"Report","display-directive":"show:lazy"},{default:s(()=>[e(o,{width:"100%",src:t(i)?t(ot):t(X)},null,8,["src"])]),_:1}),e(c,{name:"global",tab:"Global","display-directive":"show:lazy"},{default:s(()=>[e(o,{width:"100%",src:t(i)?t(ct):t(L)},null,8,["src"])]),_:1})]),_:1})])])]),_:1})}}}),bt=$(ft,[["__scopeId","data-v-73d2f93d"]]);export{bt as default};
