import{_ as u}from"./_plugin-vue_export-helper.eefbdd86.js";import{o as t,a3 as o,a4 as p,a6 as i,b as m,F as g,af as h,ae as v,a7 as l,q as d}from"./runtime-core.esm-bundler.50cb9e6d.js";import"./index.6205915e.js";import{S as $}from"./Logo.3db92090.js";import{u as y}from"./SetupWizardStore.9eae9488.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 D=u(z,[["render",w]]),b={},k={class:"aioseo-wizard-container"};function B(e,s){return t(),o("div",k,[i(e.$slots,"default")])}const G=u(b,[["render",B]]),L={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}}},x={class:"aioseo-wizard-progress"};function N(e,s,r,_,f,n){return t(),o("div",x,[(t(!0),o(g,null,h(n.getSteps,(a,c)=>(t(),o("div",{key:c,class:v([{circle:!a.spacer},{spacer:a.spacer},{active:n.getActiveClass(a,c)}])},null,2))),128))])}const V=u(L,[["render",N]]),q={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}}},F={class:"aioseo-wizard-header"},P={class:"logo"};function E(e,s,r,_,f,n){const a=l("svg-aioseo-logo"),c=l("wizard-progress");return t(),o("div",F,[p("div",P,[d(a)]),d(c,{steps:n.steps},null,8,["steps"])])}const I=u(q,[["render",E]]);export{D as W,G as a,I as b};
