import{v as C,x as w}from"./app-core.82d0a9b8.js";import{u as W}from"./GoogleSearchConsole.66da0b81.js";import{u as x}from"./Wizard.b3c1225d.js";import{a as y}from"./Pencil.b091de6b.js";import{S as b}from"./ConnectGoogleSearchConsole.82325663.js";import{W as A,a as L,b as B}from"./Header.a4521b7c.js";import{W as G}from"./CloseAndExit.ce4a74c5.js";import{_ as T}from"./Steps.c305e9ee.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.02763c14.js";import"./vendor-other.2cdd5822.js";import"./vendor-datetime.430013a3.js";import"./Logo.c68e0df0.js";import"./Index.a7b56d13.js";import"./Close.ed64f0a2.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};
