"use strict";var t=require("../classSet-B5xuJbNb.js"),e=require("../labelUtils-C2UzbgdZ.js");const n=/input|select|textarea|button|object/;function r(t){const e=t.tagName.toLowerCase();return!!("a"===e&&t.href||!t.disabled&&n.test(e))&&function(t){if("hidden"===window.getComputedStyle(t).visibility)return!1;const{width:e,height:n}=t.getBoundingClientRect();return e>0||n>0}(t)}function s(t){return"enable"===t.dataset.navigation||t.tabIndex>=0&&r(t)}exports.classSet=t.classSet,exports.formatLabel=e.formatLabel,exports.queryFocusable=function(t){const e=t.querySelectorAll("*"),n=[];for(let t=0,{length:r}=e;t<r;t+=1){const r=e[t];s(r)&&n.push(r)}return n};
