export{c as classSet}from"../classSet-DY6Qvt6E.js";export{f as formatLabel}from"../labelUtils-DAuN2uUV.js";const t=/input|select|textarea|button|object/;function e(e){const n=e.tagName.toLowerCase();return!!("a"===n&&e.href||!e.disabled&&t.test(n))&&function(t){if("hidden"===window.getComputedStyle(t).visibility)return!1;const{width:e,height:n}=t.getBoundingClientRect();return e>0||n>0}(e)}function n(t){return"enable"===t.dataset.navigation||t.tabIndex>=0&&e(t)}function o(t){const e=t.querySelectorAll("*"),o=[];for(let t=0,{length:r}=e;t<r;t+=1){const r=e[t];n(r)&&o.push(r)}return o}export{o as queryFocusable};
