import{g as r,a,l as c}from"./chunk-DhYw-kuD.js";function f(o,u){const n=r(null),s=a(()=>o.disable===!0?null:c("span",{ref:n,class:"no-outline",tabindex:-1}));function l(t){const e=u.value;t!==void 0&&t.type.indexOf("key")===0?e!==null&&document.activeElement!==e&&e.contains(document.activeElement)===!0&&e.focus():n.value!==null&&(t===void 0||e!==null&&e.contains(t.target)===!0)&&n.value.focus()}return{refocusTargetEl:s,refocusTarget:l}}const d={xs:30,sm:35,md:40,lg:50,xl:60};export{d as o,f as u};
