import{_,o as t,c as o,f as u,x as i,a as g,F as m,i as v,n as y,r as l,d}from"./_plugin-vue_export-helper.2d9794a3.js";import{d as h}from"./vuex.esm-bundler.8589b2dd.js";import{S as $}from"./Logo.81e1a7f3.js";const C={},z={class:"aioseo-wizard-body"},S={class:"body-content"},x={key:0,class:"cta"},w={class:"body-footer"};function A(e,s){return t(),o("div",z,[u("div",S,[i(e.$slots,"default")]),e.$slots.cta?(t(),o("div",x,[i(e.$slots,"cta")])):g("",!0),u("div",w,[i(e.$slots,"footer")])])}const R=_(C,[["render",A]]);const B={},W={class:"aioseo-wizard-container"};function b(e,s){return t(),o("div",W,[i(e.$slots,"default")])}const U=_(B,[["render",b]]);const k={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,p,f,a){return t(),o("div",L,[(t(!0),o(m,null,v(a.getSteps,(n,c)=>(t(),o("div",{key:c,class:y([{circle:!n.spacer},{spacer:n.spacer},{active:a.getActiveClass(n,c)}])},null,2))),128))])}const P=_(k,[["render",N]]);const V={components:{SvgAioseoLogo:$,WizardProgress:P},computed:{...h("wizard",["getCurrentStageCount","getTotalStageCount"]),steps(){const e=[];for(let s=0;s<this.getTotalStageCount;s++)s<this.getCurrentStageCount?e.push({active:!0}):e.push({active:!1});return e}}},F={class:"aioseo-wizard-header"},H={class:"logo"};function T(e,s,r,p,f,a){const n=l("svg-aioseo-logo"),c=l("wizard-progress");return t(),o("div",F,[u("div",H,[d(n)]),d(c,{steps:a.steps},null,8,["steps"])])}const j=_(V,[["render",T]]);export{R as W,U as a,j as b};
