 ?.removeEventListener("touchmove", touchMoveListener);
            }
          };
        }

        function getTouchEventHighlightableIndex(e) {
          // we don't care about multitouch
          if (e.touches.length > 1) return null;

          const loc = e.changedTouches[0];

          if (!loc) throw "touch event unexpectedly didn't have any touches!";

          // get the element under the finger
          const realTarget = document.elementFromPoint(
            loc.clientX,
            loc.cli