import{y as t,w as i,p as s,b as a,z as n,h as p}from"./app-core.52885c02.js";import m from"./AdditionalInformation.394b3517.js";import c from"./Category.51d42d46.js";import l from"./Features.0d1c1b5e.js";import u from"./Import.1e9e03fc.js";import _ from"./LicenseKey.f883f803.js";import f from"./SearchAppearance.bf907ab7.js";import S from"./SearchConsole.5e4ad15f.js";import d from"./SmartRecommendations.db590d9c.js";import h from"./Success.2f1f5fb4.js";import g from"./Welcome.b84b4b4f.js";import{_ as y}from"./_plugin-vue_export-helper.eefbdd86.js";import{f as z,Q as w,S as x}from"./vendor-vue-ui.c21c50b5.js";import"./vendor-other.ec82d685.js";import"./vendor-lodash.b9aaf385.js";import"./vendor-phone.1c8197b6.js";import"./Wizard.5456e943.js";import"./RadioToggle.de364bf1.js";import"./HtmlTagsEditor.c204f20d.js";import"./Editor.20c7229e.js";import"./vendor-quill.bb92695d.js";import"./Input.d5d0cc38.js";import"./Index.df48fa2a.js";import"./Close.4a8424fd.js";import"./Pencil.886eeda5.js";import"./Trash.e939fb36.js";import"./Caret.911868b5.js";import"./UnfilteredHtml.b8ac16ed.js";import"./vendor-emoji.92c96208.js";import"./ImageUploader.1d1406ae.js";import"./Button.7e4e5aaa.js";import"./Img.db2cc72c.js";import"./Plus.5862a87e.js";import"./SocialProfiles.651bfafb.js";import"./Checkbox.d28f1a29.js";import"./Checkmark.ecbc0a01.js";import"./Textarea.06361809.js";import"./SettingsRow.c5806203.js";import"./Row.2e668feb.js";import"./Facebook.ccf1c2a9.js";import"./Twitter.2499aca9.js";import"./Header.b2a7b267.js";import"./Logo.86ae80d5.js";import"./CloseAndExit.ef8a7cb6.js";import"./Index.191558ff.js";import"./Steps.8965cfd2.js";import"./HighlightToggle.dcf60165.js";import"./Radio.507926f1.js";import"./ImageSeo.b98f790d.js";import"./ProBadge.3032531f.js";import"./MaxCounts.addb3743.js";import"./GoogleSearchPreview.f1f70eb9.js";import"./Globe.58b891e9.js";import"./Url.205ac083.js";import"./PostTypeOptions.46a3cf7a.js";import"./PostTypes.77c34fbf.js";import"./Tooltip.9761aafe.js";import"./GoogleSearchConsole.0cd32601.js";import"./ConnectGoogleSearchConsole.549e6bcf.js";import"./Exclamation.7df31205.js";const W={setup(){return{licenseStore:p(),optionsStore:n(),rootStore:a(),searchStatisticsStore:s(),setupWizardStore:i()}},components:{AdditionalInformation:m,Category:c,Features:l,Import:u,LicenseKey:_,SearchAppearance:f,SearchConsole:S,SmartRecommendations:d,Success:h,Welcome:g},methods:{deleteStage(e){const o=this.setupWizardStore.stages.findIndex(r=>e===r);o!==-1&&this.setupWizardStore.stages.splice(o,1)}},mounted(){if(this.optionsStore.internalOptions.internal.wizard){const e=JSON.parse(this.optionsStore.internalOptions.internal.wizard);delete e.currentStage,delete e.stages,delete e.licenseKey,this.setupWizardStore.loadState(e)}this.setupWizardStore.shouldShowImportStep||this.deleteStage("import"),t("aioseo_search_appearance_settings")||this.deleteStage("category"),!t("aioseo_search_appearance_settings")&&!t("aioseo_social_networks_settings")&&this.deleteStage("additional-information"),t("aioseo_feature_manager_settings")||this.deleteStage("features"),!t("aioseo_search_appearance_settings")&&!t("aioseo_general_settings")&&this.deleteStage("search-appearance"),this.licenseStore.isUnlicensed||this.deleteStage("license-key"),(this.searchStatisticsStore.isConnected||!t("aioseo_general_settings")&&!t("aioseo_sitemap_settings")&&!t("aioseo_search_statistics_settings"))&&this.deleteStage("search-console"),this.rootStore.isPro&&this.deleteStage("smart-recommendations")}};function $(e,o,r,A,k,C){return z(),w(x(e.$route.name))}const Pt=y(W,[["render",$]]);export{Pt as default};
