import{bz as m}from"./index-GCDRvGOr.js";import{M as c,b3 as p,b7 as u,ax as d,ad as f,ap as l,R as b,V as r,X as _,Z as h,Y as k,U as B,O as S}from"./vendor-CsGITfgk.js";const $=c({__name:"nested-mobile-header",props:{show:{type:Boolean,default:!0},animated:{type:Boolean}},setup(o){const e=o,t=p(),{setSlots:s,resetSlots:n,isAnimated:i}=m();return u(()=>{n()}),d(()=>e.show,a=>{a?s(t):n(),Object.keys(t).length},{immediate:!0}),f(()=>{i.value=e.animated}),(a,w)=>l(a.$slots,"right")}}),v=c({__name:"back-button-in-header",props:{to:[String,Object]},emits:["click"],setup(o){return(e,t)=>{const s=B("VcButton");return S(),b($,null,{left:r(()=>[_(s,{to:o.to,"prepend-icon":"chevron-left",size:"sm",class:"ml-5",onClick:t[0]||(t[0]=n=>e.$emit("click"))},{default:r(()=>[l(e.$slots,"default",{},()=>[h(k(e.$t("common.buttons.back")),1)])]),_:3},8,["to"])]),_:3})}}});export{v as _};
//# sourceMappingURL=back-button-in-header.vue_vue_type_script_setup_true_lang-DGvqlgsM.js.map
