{
    if (visibleTooltip) {
      visibleTooltip.style.display = "none";
      visibleTooltip.parentElement.style.backgroundColor = "";
      visibleTooltip = null;
    }
  }
  const show = (tooltip) => {
    hide();
    const viewportWidth = document.documentElement.clientWidth;
    tooltip.style.display = "block";
    tooltip.parentElement.style.backgroundColor = "#ffa";
    const tooltipRight = tooltip.getClientRects()[0].right;
    const tableRight = table.getClientRects()[0].right;
    const overflowX 