https://cdn.supercut.ai/ca4a58fd31e4b1bfa64edfd008f815d1c6b65e3e/assets/useCompositeItem-DGlfgiBQ.js
1import{r as n}from"./index-BDiHYtDp.js";import{u as f,a as p}from"./useRenderElement-COqWOz6u.js";import{u as h}from"./useCompositeListItem-CTkEfCs2.js";function R(m={}){const{highlightItemOnHover:s,highlightedIndex:u,onHighlightedIndexChange:i}=f(),{ref:c,index:e}=h(m),t=u===e,r=n.useRef(null),a=p(c,r);return{compositeProps:n.useMemo(()=>({tabIndex:t?0:-1,onFocus(){i(e)},onMouseMove(){const o=r.current;if(!s||!o)return;const d=o.hasAttribute("disabled")||o.ariaDisabled==="true";!t&&!d&&o.focus()}}),[t,i,e,s]),compositeRef:a,index:e}}export{R as u};
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.