1import{g as e,_ as n,u as r}from"./2c1ab0fe.Bywc2Brn.js";import{X as t,Y as i}from"./164ad2e3.CwFFCQJV.js";var o="qp9ybh1";function c(e){return Number(e.replace(/\D/g,""))}function s({config:s,children:u,contentRef:a,onTransitionEnd:d}){const b=e(null),l=e(),f=e(),g=e(d),h=t(),v=e({duration:c(i.transitionDuration.base),easing:i.transitionTimingFunction.easeOut});return n(()=>{v.current={duration:s?.duration??c(i.transitionDuration.base),easing:s?.easing??i.transitionTimingFunction.easeOut}},[s]),n(()=>{g.current=d},[d]),n(()=>{l.current=void 0;const e=b.current;if(h||!e||!window.ResizeObserver)return;let n=!1;const r=()=>{f.current?.cancel(),f.current=void 0,b.current?.classList.remove(o)},t=t=>{if(n)return;const i=f.current,c=i?parseFloat(window.getComputedStyle(e).height):l.current;r();const s=t();if(l.current=s,null==c||"function"!=typeof e.animate)return;if(c===s)return void(i&&g.current?.());e.classList.add(o);const u=e.animate([{height:`${c}px`},{height:`${s}px`}],v.current);f.current=u,u.onfinish=()=>{f.current===u&&(f.current=void 0,e.classList.remove(o),g.current?.())}},i=a?.current,c=new window.ResizeObserver(([e])=>{n||(i?t(()=>e.borderBoxSize?.[0]?.blockSize??i.offsetHeight):f.current||(l.current=e.contentRect.height))});i?c.observe(i,{box:"border-box"}):c.observe(e);const s=!i&&window.MutationObserver?new window.MutationObserver(()=>{t(()=>e.getBoundingClientRect().height)}):void 0;return s?.observe(e,{childList:!0}),()=>{n=!0,c.disconnect(),s?.disconnect(),r()}},[a,h]),r("div",{ref:b,className:"qp9ybh0",children:u})}export{s as T};
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.