import{_ as u}from"./_plugin-vue_export-helper.eefbdd86.js";import{o as t,d as o,e as p,x as i,b as m,G as g,N as h,K as v,y as d,H as l}from"./runtime-dom.esm-bundler.d8b05b6d.js";import"./index.684c656d.js";import{S as $}from"./Logo.1d87eeb5.js";import{u as y}from"./SetupWizardStore.8ebf5e53.js";const z={},S={class:"aioseo-wizard-body"},C={class:"body-content"},W={key:0,class:"cta"},A={class:"body-footer"};function w(e,s){return t(),o("div",S,[p("div",C,[i(e.$slots,"default")]),e.$slots.cta?(t(),o("div",W,[i(e.$slots,"cta")])):m("",!0),p("div",A,[i(e.$slots,"footer")])])}const U=u(z,[["render",w]]),b={},k={class:"aioseo-wizard-container"};function x(e,s){return t(),o("div",k,[i(e.$slots,"default")])}const j=u(b,[["render",x]]),B={props:{steps:{type:Array,required:!0}},computed:{getSteps(){const e={spacer:!0};return[...this.steps].map((s,r)=>r<this.steps.length-1?[s,{...e}]:[s]).reduce((s,r)=>s.concat(r))}},methods:{getActiveClass(e,s){return e.spacer?!!this.getSteps[s+1].active:e.active}}},L={class:"aioseo-wizard-progress"};function N(e,s,r,_,f,a){return t(),o("div",L,[(t(!0),o(g,null,h(a.getSteps,(n,c)=>(t(),o("div",{key:c,class:v([{circle:!n.spacer},{spacer:n.spacer},{active:a.getActiveClass(n,c)}])},null,2))),128))])}const V=u(B,[["render",N]]),H={setup(){return{setupWizardStore:y()}},components:{SvgAioseoLogo:$,WizardProgress:V},computed:{steps(){const e=[];for(let s=0;s<this.setupWizardStore.getTotalStageCount;s++)s<this.setupWizardStore.getCurrentStageCount?e.push({active:!0}):e.push({active:!1});return e}}},P={class:"aioseo-wizard-header"},q={class:"logo"};function E(e,s,r,_,f,a){const n=d("svg-aioseo-logo"),c=d("wizard-progress");return t(),o("div",P,[p("div",q,[l(n)]),l(c,{steps:a.steps},null,8,["steps"])])}const D=u(H,[["render",E]]);export{U as W,j as a,D as b};
