import{b as S,u as h,e as k}from"./links.96ffe3f0.js";import{j as C,_ as b}from"./default-i18n.41786823.js";import{u as w,a as x}from"./Wizard.5982d907.js";import{r as d,o as n,c as i,x as t,f as m,d as z,w as r,B as u,a,g as _,b as A,u as M}from"./vue.runtime.esm-bundler.f433d23f.js";import{_ as T}from"./_plugin-vue_export-helper.3febc96a.js";import"./index.57ad6f19.js";import"./Caret.b5c2e4ec.js";/* empty css                                            *//* empty css                                              */import"./constants.008ef172.js";const B={setup(){const{strings:o}=w();return{optionsStore:S(),rootStore:h(),strings:o}},mixins:[x]},W={class:"aioseo-wizard-close-and-exit"},E=["href"],$={class:"aioseo-modal-body"},L=["innerHTML"],N={class:"actions"};function V(o,e,l,s,f,g){const y=d("svg-close"),p=d("base-button"),v=d("core-modal");return n(),i("div",W,[o.$isPro||s.optionsStore.options.advanced.usageTracking?(n(),i("a",{key:0,href:s.rootStore.aioseo.urls.aio.dashboard},t(s.strings.closeAndExit),9,E)):(n(),i("a",{key:1,href:"#",onClick:e[0]||(e[0]=m(c=>o.showModal=!0,["prevent"]))},t(s.strings.closeAndExit),1)),o.showModal&&!o.$isPro?(n(),z(v,{key:2,onClose:e[3]||(e[3]=c=>o.showModal=!1)},{header:r(()=>[u(t(s.strings.buildABetterAioseo)+" ",1),a("button",{class:"close",onClick:e[2]||(e[2]=m(c=>o.showModal=!1,["stop"]))},[_(y,{onClick:e[1]||(e[1]=c=>o.showModal=!1)})])]),body:r(()=>[a("div",$,[a("div",{class:"reset-description",innerHTML:s.strings.getImprovedFeatures},null,8,L),a("div",N,[_(p,{tag:"a",href:s.rootStore.aioseo.urls.aio.dashboard,type:"gray",size:"medium"},{default:r(()=>[u(t(s.strings.noThanks),1)]),_:1},8,["href"]),_(p,{type:"blue",size:"medium",loading:o.loading,onClick:o.processOptIn},{default:r(()=>[u(t(s.strings.yesCountMeIn),1)]),_:1},8,["loading","onClick"])])])]),_:1})):A("",!0)])}const J=T(B,[["render",V]]);const I={class:"aioseo-wizard-steps"},K={__name:"Steps",setup(o){const e="all-in-one-seo-pack",l=k(),s=C(b("Step %1$s of %2$s",e),l.getCurrentStageCount,l.getTotalStageCount);return(f,g)=>(n(),i("div",I,t(M(s)),1))}};export{J as W,K as _};
