import{aq as m}from"./index-Dqv5IkpS.js";import{K as c,c6 as p,b5 as u,av as d,ac as f,aw as l,S as _,P as h,M as b,T as r,V as k,X as B,W as S}from"./vendor-bSWkQivH.js";const w=c({__name:"nested-mobile-header",props:{show:{type:Boolean,default:!0},animated:{type:Boolean}},setup(o){const e=o,t=p(),{setSlots:s,resetSlots:a,isAnimated:i}=m();return u(()=>{a()}),d(()=>e.show,n=>{n?s(t):a(),Object.keys(t).length},{immediate:!0}),f(()=>{i.value=e.animated}),(n,$)=>l(n.$slots,"right")}}),g=c({__name:"back-button-in-header",props:{to:[String,Object]},emits:["click"],setup(o){return(e,t)=>{const s=_("VcButton");return b(),h(w,null,{left:r(()=>[k(s,{to:o.to,"prepend-icon":"chevron-left",size:"sm",class:"ml-5",onClick:t[0]||(t[0]=a=>e.$emit("click"))},{default:r(()=>[l(e.$slots,"default",{},()=>[B(S(e.$t("common.buttons.back")),1)])]),_:3},8,["to"])]),_:3})}}});export{g as _};
//# sourceMappingURL=back-button-in-header.vue_vue_type_script_setup_true_lang-DPNGg6Wd.js.map
