/*!
 * KoliBri - The accessible HTML-Standard
 */
let openTooltips = 0;
export const tooltipOpened = () => {
    openTooltips++;
};
export const tooltipClosed = () => {
    openTooltips = Math.max(0, openTooltips - 1);
};
export const handleCancelOverlay = (event) => {
    if (openTooltips > 0) {
        event.preventDefault();
    }
};
export const isTooltipOpen = () => openTooltips > 0;
//# sourceMappingURL=tooltip-open-tracking.js.map
