import{T as M}from"./Slide.51c3c11f.js";import{_ as $}from"./_plugin-vue_export-helper.eefbdd86.js";import{as as T,f as o,Q as _,R as d,j as a,B as k,i as u,O as v,ad as y,P as C,U as c,M as A,S as B,T as S,a0 as b,v as m,ae as g}from"./vendor-vue-ui.9852a9dd.js";import{_ as h}from"./Button.28b2bb45.js";import{C as w}from"./Index.46254557.js";import{S as q}from"./Close.13ddaab7.js";const N={components:{TransitionSlide:M},props:{active:{type:Boolean,required:!0}}},V={class:"aioseo-tab-item-content"};function x(r,p,t,i,l,e){const s=T("transition-slide");return o(),_(s,{class:"aioseo-tab-item",active:t.active},{default:d(()=>[a("div",V,[k(r.$slots,"content")])]),_:3},8,["active"])}const z=$(N,[["render",x]]),L={components:{CoreTabItem:z},props:{tabs:{type:Array,required:!0},separator:{type:String,required:!1,default:"|"}},data(){return{activeTab:0}},methods:{setActiveTab(r){this.activeTab=r}}},U={class:"aioseo-tab-headers"},j=["onClick"],D={key:0,class:"aioseo-tab-separator"},O={class:"aioseo-tab-content"};function P(r,p,t,i,l,e){const s=T("core-tab-item");return o(),u("div",null,[a("div",U,[(o(!0),u(v,null,y(t.tabs,(f,n)=>(o(),u("div",{key:n},[a("button",{onClick:F=>e.setActiveTab(n),class:C(["aioseo-tab-header",{"aioseo-tab-header-active":l.activeTab===n}])},c(f.title),11,j),n!==t.tabs.length-1?(o(),u("span",D,c(t.separator),1)):A("",!0)]))),128))]),k(r.$slots,"tab-header-bottom"),a("div",O,[(o(!0),u(v,null,y(t.tabs,(f,n)=>(o(),_(s,{key:n,class:C(["aioseo-tab-item",{"aioseo-tab-item-active":l.activeTab===n}]),active:l.activeTab===n},{content:d(()=>[(o(),_(B(f.component)))]),_:2},1032,["class","active"]))),128))])])}const K=$(L,[["render",P]]),R={class:"aioseo-modal-body"},E={class:"reset-description"},W={__name:"ConfirmationModal",props:{show:{type:Boolean,required:!0},strings:{type:Object,required:!0}},emits:["doAction","closeModal"],setup(r,{emit:p}){const t=r,i=p;return(l,e)=>(o(),_(m(w),{show:t.show,"no-header":"",onClose:e[4]||(e[4]=s=>i("closeModal")),classes:["aioseo-confirmation-modal"]},{body:d(()=>[a("div",R,[a("button",{class:"close",onClick:e[1]||(e[1]=S(s=>i("closeModal"),["stop"]))},[b(m(q),{onClick:e[0]||(e[0]=s=>i("closeModal"))})]),a("h3",null,c(t.strings.areYouSure),1),a("div",E,c(t.strings.actionCannotBeUndone),1),b(m(h),{type:"blue",size:"medium",onClick:e[2]||(e[2]=s=>i("doAction"))},{default:d(()=>[g(c(t.strings.confirmation),1)]),_:1}),b(m(h),{type:"gray",size:"medium",onClick:e[3]||(e[3]=s=>i("closeModal"))},{default:d(()=>[g(c(t.strings.noChangedMind),1)]),_:1})])]),_:1},8,["show"]))}};export{K as C,W as _};
