1import{o as e}from"./rolldown-runtime.C0FnF6B9.js";import{r as t}from"./emotion-is-prop-valid.esm.CuYlOKOk.js";import{lt as n}from"./Tooltip.J-aaVqsl.js";import{a as r,i,n as a,r as o}from"./useFocusRing.CDbi6AXW.js";var s=e(t(),1),c=s.createContext(null);function l(e){let t=(0,s.useContext)(c)||{};a(t,e);let{ref:n,...r}=t;return r}function u(e,t){let{focusProps:a}=i(e),{keyboardProps:c}=o(e),u=n(a,c),d=l(t),f=e.isDisabled?{}:d,p=(0,s.useRef)(e.autoFocus);(0,s.useEffect)(()=>{p.current&&t.current&&r(t.current),p.current=!1},[t]);let m=e.excludeFromTabOrder?-1:0;return e.isDisabled&&(m=void 0),{focusableProps:n({...u,tabIndex:m},f)}}export{c as n,u 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.