import{y,o as g,c as f,w as r,e as a,J as C,H as c,u as m,t as i,a as p}from"./runtime-dom.esm-bundler.d8b05b6d.js";import"./translations.d159963e.js";import{C as _}from"./Index.f979fbbe.js";import{S as v}from"./Caret.2e43336b.js";import{_ as l,s as w}from"./default-i18n.20001971.js";const $={class:"aioseo-modal-body"},b={class:"reset-description"},M={__name:"DisconnectModal",props:{showModal:Boolean,loading:Boolean},emits:["continue","cancel"],setup(u){const e="all-in-one-seo-pack",t={areYouSureReset:l("Are you sure you want to disconnect Google Search Console?",e),actionCannotBeUndone:w(l("This action will disconnect %1$s from Google Search Console. By disconnecting from Google Search Console, you will no longer receive valuable insights on how your content is being discovered.",e),"AIOSEO"),yesContinue:l("Yes, I want to disconnect",e),noCancel:l("No, I changed my mind",e)};return(n,o)=>{const d=y("base-button");return g(),f(m(_),{show:u.showModal,"no-header":"",onClose:o[4]||(o[4]=s=>n.$emit("cancel")),classes:["aioseo-search-statistics-settings-modal"]},{body:r(()=>[a("div",$,[a("button",{class:"close",onClick:o[1]||(o[1]=C(s=>n.$emit("cancel"),["stop"]))},[c(m(v),{onClick:o[0]||(o[0]=s=>n.$emit("cancel"))})]),a("h3",null,i(t.areYouSureReset),1),a("div",b,i(t.actionCannotBeUndone),1),c(d,{type:"blue",size:"medium",onClick:o[2]||(o[2]=s=>n.$emit("continue")),loading:u.loading},{default:r(()=>[p(i(t.yesContinue),1)]),_:1},8,["loading"]),c(d,{type:"gray",size:"medium",onClick:o[3]||(o[3]=s=>n.$emit("cancel"))},{default:r(()=>[p(i(t.noCancel),1)]),_:1})])]),_:1},8,["show"])}}};export{M as _};
