import{o as r,c as p,aA as M,z as w,u as B,A as i,_ as t,a as l,v as C,B as s,C as n,t as h,E as m,I as f,r as c,F as I,D as L,G as g}from"./index.9_UWDUyH.js";import{g as V}from"./helpers.BLvTJMpz.js";import{B as Z}from"./Button.Bq0AsH5N.js";import{C as E}from"./Card.BDVWUPAy.js";import{_ as S}from"./dynamic-import-helper.DN_NaYa5.js";import{S as P}from"./Check.DYwyuRF-.js";import{S as x}from"./External.CH1_OlGp.js";import"./QuestionMark.DUvjzuFY.js";import"./Caret.BLqjRAPo.js";import"./Close.CP9mbBVR.js";import"./Slide.Dfu7CR71.js";const z=""+window.__aioseoDynamicImportPreload__("images/aioseo-dashboard.n0M0uCTL.png"),D={},F={width:"256",height:"41",viewBox:"0 0 256 41",fill:"none",xmlns:"http://www.w3.org/2000/svg"},j=M('',7),N=[j];function R(u,d){return r(),p("svg",F,N)}const U=S(D,[["render",R]]),o="aioseo-broken-link-checker",W={setup(){return{getAssetUrl:V,pluginsStore:w(),rootStore:B()}},components:{BaseButton:Z,CoreCard:E,SvgBlcLovesAioseo:U,SvgCircleCheck:P,SvgExternal:x},data(){return{aioseoDashboardImg:z,installingPlugin:!1,justInstalled:!1,strings:{intro1:i(t("Built by the team behind %1$s.",o),"AIOSEO"),intro2:i(t("Join 3,000,000+ Professionals who use %1$s to Improve Their Website Search Rankings.",o),"AIOSEO"),step1Header:i(t("Activate %1$s",o),"All in One SEO"),step1Description:i(t("%1$s is the perfect WordPress SEO plugin for YOU. Here’s why over 3,000,000+ smart business owners, marketers, and web developers love %2$s plugin for WordPress, and you will too!",o),"AIOSEO","All in One SEO"),step1Button:i(t("Activate %1$s",o),"All in One SEO"),step2Header:i(t("Setup %1$s",o),"All in One SEO"),step2Description:i(t("%1$s has an intuitive setup wizard to guide you through the setup process.",o),"AIOSEO"),step2Button:t("Launch Setup Wizard",o),features:[t("On-Page SEO Analysis",o),t("Rich Snippets Schema",o),t("Internal Link Assistant",o),t("Redirection Manager",o),t("Advanced SEO Modules",o),t("SEO Optimizer",o),t("And More...",o)]}}},methods:{installAioseo(){this.installingPlugin=!0;const u=this.pluginsStore.plugins.aioseoPro.installed&&!this.pluginsStore.plugins.aioseoPro.activated?"aioseoPro":"aioseo";this.pluginsStore.installPlugins([{plugin:u,type:"plugin"}]).then(()=>{this.installingPlugin=!1,this.justInstalled=!0,this.pluginsStore.plugins.aioseo.activated=!0,window.aioseoBrokenLinkChecker.plugins.aioseo.activated=!0}).catch(d=>{console.error(d)})}}},T={class:"aioseo-landing-page"},G={class:"hero"},J={class:"header"},Y={class:"feature-list"},q=["src"],K=s("div",{class:"step-count"},[s("span",{class:"step-count-number"},"1")],-1),Q={class:"content"},X={class:"step-title"},$=s("div",{class:"step-count"},[s("span",{class:"step-count-number"},"2")],-1),s1={class:"content"},e1={class:"step-title"},t1={class:"step-body"};function o1(u,d,n1,a,e,v){const H=c("svg-blc-loves-aioseo"),A=c("svg-circle-check"),b=c("core-card"),k=c("svg-external"),_=c("base-button");return r(),p("div",T,[l(b,{slug:"aioseo-landing-page-card",hideHeader:"",noSlide:""},{default:C(()=>[s("div",G,[s("div",J,[l(H)]),s("p",null,n(e.strings.intro1),1),s("p",null,n(e.strings.intro2),1),s("div",Y,[s("img",{alt:"AIOSEO dashboard",src:a.getAssetUrl(e.aioseoDashboardImg)},null,8,q),s("ul",null,[(r(!0),p(I,null,L(e.strings.features,(O,y)=>(r(),p("li",{key:y},[l(A),g(" "+n(O),1)]))),128))])])])]),_:1}),s("section",{class:f(e.justInstalled?"aioseo-card step step-completed":"aioseo-card step step-current")},[K,s("div",Q,[s("h2",X,n(e.strings.step1Header),1),s("p",null,n(e.strings.step1Description),1),a.pluginsStore.plugins.aioseo.canInstall?m("",!0):(r(),h(_,{key:0,type:"blue",size:"medium",tag:"a",target:"_blank",href:a.pluginsStore.plugins.aioseo.wpLink},{default:C(()=>[l(k),g(" "+n(e.strings.step1Button),1)]),_:1},8,["href"])),a.pluginsStore.plugins.aioseo.canInstall?(r(),h(_,{key:1,loading:e.installingPlugin,type:e.justInstalled?"disabled":"blue",size:"medium",onClick:v.installAioseo},{default:C(()=>[s("span",null,n(e.strings.step1Button),1)]),_:1},8,["loading","type","onClick"])):m("",!0)])],2),s("section",{class:f(e.justInstalled?"aioseo-card step step-current":"aioseo-card step step-pending")},[$,s("div",s1,[s("h2",e1,n(e.strings.step2Header),1),s("p",t1,n(e.strings.step2Description),1),l(_,{disabled:!e.justInstalled,type:"blue",size:"medium",tag:"a",href:`${a.rootStore.aioseoBrokenLinkChecker.urls.home}/wp-admin/admin.php?page=aioseo-setup-wizard`},{default:C(()=>[g(n(e.strings.step2Button),1)]),_:1},8,["disabled","href"])])],2)])}const h1=S(W,[["render",o1]]);export{h1 as default};