import{v as C,x as w}from"./app-core.61d75c0b.js";import{u as W}from"./GoogleSearchConsole.9f9028b6.js";import{u as x}from"./Wizard.9c55bdc9.js";import{a as y}from"./Pencil.acabfd26.js";import{S as b}from"./ConnectGoogleSearchConsole.d5df8dd1.js";import{W as A,a as L,b as B}from"./Header.3efd7fa7.js";import{W as G}from"./CloseAndExit.c9475def.js";import{_ as T}from"./Steps.be028913.js";import{_ as F}from"./_plugin-vue_export-helper.eefbdd86.js";import{m}from"./vendor-lodash.f9514987.js";import{as as t,f as N,i as P,a0 as o,R as a,j as e,U as n,ae as r}from"./vendor-vue-ui.d70c869f.js";import"./vendor-other.2cdd5822.js";import"./vendor-datetime.430013a3.js";import"./Logo.2969769f.js";import"./Index.67f2fc23.js";import"./Close.cee3494e.js";const V={setup(){const{strings:c}=x({stage:"search-console"}),{connect:i,loading:d,strings:l}=W({returnTo:"setup-wizard"});return{composableStrings:m(c,l),connect:i,loading:d,optionsStore:w(),setupWizardStore:C()}},components:{SvgCircleCheck:y,SvgConnectGoogleSearchConsole:b,WizardBody:B,WizardCloseAndExit:G,WizardContainer:L,WizardHeader:A,WizardSteps:T},data(){return{strings:m(this.composableStrings,{})}},methods:{saveAndConnect(){this.loading=!0,this.setupWizardStore.saveWizard("searchConsole").then(()=>{this.connect()})},skipStep(){const c=this.setupWizardStore.getNextLink;this.setupWizardStore.currentStage=c.name,this.setupWizardStore.saveWizard().then(()=>{this.$router.push(c)})}}},E={class:"aioseo-wizard-search-console"},R={class:"header"},U={class:"aioseo-wizard-search-console__panel"},j={class:"aioseo-wizard-search-console__image"},D={class:"aioseo-wizard-search-console__content"},H={class:"aioseo-wizard-search-console__content-text"},O={class:"aioseo-wizard-search-console__content-list"},Y={class:"go-back"};function q(c,i,d,l,s,u){const h=t("wizard-header"),z=t("wizard-steps"),f=t("svg-connect-google-search-console"),_=t("svg-circle-check"),p=t("router-link"),g=t("base-button"),S=t("wizard-body"),v=t("wizard-close-and-exit"),k=t("wizard-container");return N(),P("div",E,[o(h),o(k,null,{default:a(()=>[o(S,null,{footer:a(()=>[e("div",Y,[o(p,{to:l.setupWizardStore.getPrevLink,class:"no-underline"},{default:a(()=>[...i[0]||(i[0]=[r("←",-1)])]),_:1},8,["to"]),i[1]||(i[1]=r("   ",-1)),o(p,{to:l.setupWizardStore.getPrevLink},{default:a(()=>[r(n(s.strings.goBack),1)]),_:1},8,["to"])]),i[2]||(i[2]=e("div",{class:"spacer"},null,-1)),o(g,{type:"gray",onClick:u.skipStep},{default:a(()=>[r(n(s.strings.skipThisStep),1)]),_:1},8,["onClick"]),o(g,{type:"blue",loading:l.loading,onClick:u.saveAndConnect},{default:a(()=>[r(n(s.strings.connectToGoogleSearchConsole)+" →",1)]),_:1},8,["loading","onClick"])]),default:a(()=>[o(z),e("div",R,n(s.strings.connectToGoogleSearchConsole),1),e("div",U,[e("div",j,[o(f)]),e("div",D,[e("div",H,n(s.strings.syncYourSiteWithGsc),1),e("ul",O,[e("li",null,[o(_),r(" "+n(s.strings.gscFeature1),1)]),e("li",null,[o(_),r(" "+n(s.strings.gscFeature2),1)]),e("li",null,[o(_),r(" "+n(s.strings.gscFeature3),1)]),e("li",null,[o(_),r(" "+n(s.strings.gscFeature4),1)])])])])]),_:1}),o(v)]),_:1})])}const co=F(V,[["render",q]]);export{co as default};
