1import{J as e,Z as t}from"./jsx-runtime-CB84OG5s.js";import{d as n}from"./IconBase.es-NTHG1Qhr.js";import{t as r}from"./use-prefers-reduced-motion-Cj9tJ181-rBB623SW.js";var i={some:0,all:1};function a(e,t,{root:n,margin:r,amount:a=`some`}={}){let o=new WeakMap,s=new IntersectionObserver(e=>{e.forEach(e=>{let n=o.get(e.target);if(e.isIntersecting!==!!n){if(e.isIntersecting){let n=t(e.target,e);typeof n==`function`?o.set(e.target,n):s.unobserve(e.target)}else typeof n==`function`&&(n(e),o.delete(e.target))}})},{root:n,rootMargin:r,threshold:typeof a==`number`?a:i[a]});return s.observe(e),()=>{s.unobserve(e),s.disconnect()}}var o=n(),s=t(e(),1);function c(){return r()?`auto`:`smooth`}function l(e,t){let n=(0,o.c)(14),r;n[0]===t?r=n[1]:(r=t===void 0?{}:t,n[0]=t,n[1]=r);let{root:i,margin:c,amount:l,once:u,initial:d}=r,f=u!==void 0&&u,p=d!==void 0&&d,[m,h]=(0,s.useState)(p),g=(0,s.useRef)(p),_;n[2]!==l||n[3]!==c||n[4]!==f||n[5]!==e||n[6]!==i?.current?(_=()=>{let t=e.current;return t==null||f&&g.current?void 0:a(t,function(){if(g.current=!0,h(!0),!f)return()=>{g.current=!1,h(!1)}},{root:i?.current??void 0,margin:c,amount:l})},n[2]=l,n[3]=c,n[4]=f,n[5]=e,n[6]=i?.current,n[7]=_):_=n[7];let v;return n[8]!==l||n[9]!==c||n[10]!==f||n[11]!==e||n[12]!==i?(v=[i,e,c,f,l],n[8]=l,n[9]=c,n[10]=f,n[11]=e,n[12]=i,n[13]=v):v=n[13],(0,s.useEffect)(_,v),m}export{l as n,c 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.