import{getFocusMerge as o}from"./focusMerge.js";var e=function(o){o.focus(),"contentWindow"in o&&o.contentWindow&&o.contentWindow.focus()},n=0,t=!1,c=function(c,i){var f=o(c,i);if(!t&&f){if(n>2)return console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),t=!0,void setTimeout((function(){t=!1}),1);n++,e(f.node),n--}};export{e as focusOn,c as setFocus};
//# sourceMappingURL=setFocus.js.map
