1import{d as c,o as f,c as h,cY as d,W as u,ac as m}from"./AOn2pwUb.js";const g=c({__name:"HeightTransition",props:{duration:{default:300}},setup(n){const o=t=>{const e=t;e.style.overflow="hidden"},s=t=>{const e=t,l=e.offsetHeight+"px";e.style.height="0px",setTimeout(()=>{e.style.height=l},8)},a=t=>{const e=t;e.style.overflow="",e.style.height=""},r=t=>{const e=t;e.style.height=e.offsetHeight+"px",e.style.overflow="hidden"},i=t=>{const e=t;requestAnimationFrame(()=>{e.style.height="0px"})};return(t,e)=>(f(),h(d,{"enter-active-class":`transition-all duration-${n.duration} ease-in-out-quad`,"leave-active-class":`transition-all duration-${n.duration} ease-in-out-quad`,onBeforeEnter:o,onEnter:s,onAfterEnter:a,onBeforeLeave:r,onLeave:i},{default:u(()=>[m(t.$slots,"default")]),_:3},8,["enter-active-class","leave-active-class"]))}});export{g as _};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.