import{bN as m}from"./index-C3Ufbmof.js";import{F as c,bf as p,b3 as u,N as d,b8 as f,S as l,P as b,_,R as h,a1 as r,X as k,a2 as B,a0 as S}from"./vendor-D8NNcBCx.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 h(),_($,null,{left:r(()=>[k(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",{},()=>[B(S(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-BK8n7MWe.js.map
