import{_ as u}from"./_plugin-vue_export-helper.eefbdd86.js";import{f as t,i as o,j as d,B as i,M as m,O as g,ad as h,P as v,an as l,a0 as p}from"./vendor-vue-ui.c21c50b5.js";import{w as $}from"./app-core.52885c02.js";import{S as y}from"./Logo.86ae80d5.js";const z={},S={class:"aioseo-wizard-body"},C={class:"body-content"},W={key:0,class:"cta"},w={class:"body-footer"};function A(e,s){return t(),o("div",S,[d("div",C,[i(e.$slots,"default")]),e.$slots.cta?(t(),o("div",W,[i(e.$slots,"cta")])):m("",!0),d("div",w,[i(e.$slots,"footer")])])}const R=u(z,[["render",A]]),B={},b={class:"aioseo-wizard-container"};function k(e,s){return t(),o("div",b,[i(e.$slots,"default")])}const T=u(B,[["render",k]]),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,a){return t(),o("div",x,[(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 P=u(L,[["render",N]]),V={setup(){return{setupWizardStore:$()}},components:{SvgAioseoLogo:y,WizardProgress:P},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}}},j={class:"aioseo-wizard-header"},q={class:"logo"};function E(e,s,r,_,f,a){const n=l("svg-aioseo-logo"),c=l("wizard-progress");return t(),o("div",j,[d("div",q,[p(n)]),p(c,{steps:a.steps},null,8,["steps"])])}const U=u(V,[["render",E]]);export{U as W,T as a,R as b};
