import{o as l,g as i,l as c,q as f,T as h}from"./vendor-wgE37vvX.js";const g={__name:"BaseTransitionCollapse",setup(p){const o=e=>{e.style.height="0"},n=(e,t)=>{e.style.height=`${e.scrollHeight}px`,t()},r=e=>{e.style=""},s=e=>{e.style.height=`${e.scrollHeight}px`},a=e=>{e.style.height=""};return(e,t)=>(l(),i(h,{duration:350,name:"slide",onBeforeEnter:o,onEnter:n,onAfterEnter:r,onBeforeLeave:s,onAfterLeave:a},{default:c(()=>[f(e.$slots,"default")]),_:3}))}};export{g as _};