const i = {
  mounted(t, { modifiers: o, value: s }) {
    const e = /input|textarea|button/i.test(t.nodeName) ? t : t.querySelector("input, textarea, button");
    !!e && !(o.empty && e.value) && s !== !1 && e.focus();
  }
};
export {
  i as default
};
//# sourceMappingURL=autofocus.js.map
