1import{d as e}from"./create-anatomy-B4c88YjK.js";import{i as t,r as n}from"./tabbable-DnoSCyfm.js";function r(e){let{root:n,getInitialEl:r,filter:i,enabled:a=!0}=e;if(!a)return;let o=typeof r==`function`?r():r;return o||(o=n?.querySelector(`[data-autofocus],[autofocus]`)),o||(o=t(n).filter(e=>!i||i(e)).find(e=>!e.hasAttribute(`data-no-autofocus`))),o||n||void 0}function i(t){let r=t.currentTarget;if(!r)return!1;let[i,a]=n(r);return!(e(i)&&t.shiftKey||e(a)&&!t.shiftKey||!i&&!a)}export{i as n,r as t}; 2//# sourceMappingURL=initial-focus-7WhTd_VR.js.map
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.