const isNestedInIfxComponent = (el) => {
    let parent = el.parentNode;
    while (parent) {
        if (parent instanceof ShadowRoot) {
            parent = parent.host;
            continue;
        }
        if (parent instanceof HTMLElement && parent.tagName.toLowerCase().startsWith('ifx')) {
            return true;
        }
        parent = parent.parentNode;
    }
    return false;
};

export { isNestedInIfxComponent as i };
//# sourceMappingURL=dom-utils-Bw2fh5LT.js.map

//# sourceMappingURL=dom-utils-Bw2fh5LT.js.map