function e(e){for(let t=e.target,n=0;t&&t!==e.currentTarget&&n<50;t=t.parentElement,n++)if([`button`,`a`,`input`,`textarea`].includes(t.tagName.toLowerCase())||t.getAttribute(`role`)===`dialog`||t.id===`modal-backdrop`||[`data-radix-popper-content-wrapper`,`data-vaul-overlay`,`data-vaul-drawer`].some(e=>t.getAttribute(e)!==null))return!0;return!1}export{e as t};
//# sourceMappingURL=is-click-on-interactive-child-BiqIe6cM.mjs.map