import{_ as t,s as r,u as M,e as w}from"./index.ZNJz487u.js";import{g as L}from"./helpers.BLvTJMpz.js";import{_ as V}from"./Button.Bac-oBXH.js";import{C as Z}from"./Card.B6u2gR-f.js";import{_ as S}from"./_plugin-vue_export-helper.BN1snXvA.js";import{o as a,c as u,a2 as B,r as c,a as p,w as C,f as s,t as n,F as I,g as E,j as _,h,d as m,n as f}from"./runtime-dom.esm-bundler.DYN7TRGp.js";import{S as P}from"./Check.BHN-SUwW.js";import{S as x}from"./External.RKqGp4cV.js";import"./Tooltip.C0YGz9iO.js";import"./Caret.1NgHEodt.js";import"./QuestionMark.DkH01Mbm.js";import"./Slide.h5rY55cR.js";const z=""+window.__aioseoDynamicImportPreload__("images/aioseo-dashboard.n0M0uCTL.png"),D={},j={width:"256",height:"41",viewBox:"0 0 256 41",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function F(d,i){return a(),u("svg",j,[...i[0]||(i[0]=[B('',7)])])}const N=S(D,[["render",F]]),o="broken-link-checker-seo",R={setup(){return{getAssetUrl:L,pluginsStore:w(),rootStore:M()}},components:{BaseButton:V,CoreCard:Z,SvgBlcLovesAioseo:N,SvgCircleCheck:P,SvgExternal:x},data(){return{aioseoDashboardImg:z,installingPlugin:!1,justInstalled:!1,strings:{intro1:r(t("Built by the team behind %1$s.",o),"AIOSEO"),intro2:r(t("Join 3,000,000+ Professionals who use %1$s to Improve Their Website Search Rankings.",o),"AIOSEO"),step1Header:r(t("Activate %1$s",o),"All in One SEO"),step1Description:r(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:r(t("Activate %1$s",o),"All in One SEO"),step2Header:r(t("Setup %1$s",o),"All in One SEO"),step2Description:r(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("Advanced SEO Modules",o),t("SEO Optimizer",o),t("And More...",o)]}}},methods:{installAioseo(){this.installingPlugin=!0;const d=this.pluginsStore.plugins.aioseoPro.installed&&!this.pluginsStore.plugins.aioseoPro.activated?"aioseoPro":"aioseo";this.pluginsStore.installPlugins([{plugin:d,type:"plugin"}]).then(()=>{this.installingPlugin=!1,this.justInstalled=!0,this.pluginsStore.plugins.aioseo.activated=!0,window.aioseoBrokenLinkChecker.plugins.aioseo.activated=!0}).catch(i=>{console.error(i)})}}},U={class:"aioseo-landing-page"},W={class:"hero"},T={class:"header"},J={class:"feature-list"},Y=["src"],q={class:"content"},G={class:"step-title"},K={class:"content"},Q={class:"step-title"},X={class:"step-body"};function $(d,i,s1,l,e,v){const H=c("svg-blc-loves-aioseo"),b=c("svg-circle-check"),k=c("core-card"),A=c("svg-external"),g=c("base-button");return a(),u("div",U,[p(k,{slug:"aioseo-landing-page-card",hideHeader:"",noSlide:""},{default:C(()=>[s("div",W,[s("div",T,[p(H)]),s("p",null,n(e.strings.intro1),1),s("p",null,n(e.strings.intro2),1),s("div",J,[s("img",{alt:"AIOSEO dashboard",src:l.getAssetUrl(e.aioseoDashboardImg)},null,8,Y),s("ul",null,[(a(!0),u(I,null,E(e.strings.features,(O,y)=>(a(),u("li",{key:y},[p(b),_(" "+n(O),1)]))),128))])])])]),_:1}),s("section",{class:f(e.justInstalled?"aioseo-card step step-completed":"aioseo-card step step-current")},[i[0]||(i[0]=s("div",{class:"step-count"},[s("span",{class:"step-count-number"},"1")],-1)),s("div",q,[s("h2",G,n(e.strings.step1Header),1),s("p",null,n(e.strings.step1Description),1),l.pluginsStore.plugins.aioseo.canInstall?m("",!0):(a(),h(g,{key:0,type:"blue",size:"medium",tag:"a",target:"_blank",href:l.pluginsStore.plugins.aioseo.wpLink},{default:C(()=>[p(A),_(" "+n(e.strings.step1Button),1)]),_:1},8,["href"])),l.pluginsStore.plugins.aioseo.canInstall?(a(),h(g,{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")},[i[1]||(i[1]=s("div",{class:"step-count"},[s("span",{class:"step-count-number"},"2")],-1)),s("div",K,[s("h2",Q,n(e.strings.step2Header),1),s("p",X,n(e.strings.step2Description),1),p(g,{disabled:!e.justInstalled,type:"blue",size:"medium",tag:"a",href:`${l.rootStore.aioseoBrokenLinkChecker.urls.home}/wp-admin/admin.php?page=aioseo-setup-wizard`},{default:C(()=>[_(n(e.strings.step2Button),1)]),_:1},8,["disabled","href"])])],2)])}const d1=S(R,[["render",$]]);export{d1 as default};