_switchNextClock(wrapAround = false) {
      let activeIndex = this._activeIndex;
      const startActiveIndex = activeIndex;
      const activeClock = this._clockComponent(activeIndex);
      do {
        activeIndex++;
        if (activeIndex >= this._entities.length) {
          activeIndex = wrapAround ? 0 : this._entities.length - 1;
        }
        // false-positive finding of no-unmodified-loop-condition rule
        // eslint-disable-next-line no-unmodified-loop-condition
      } while (activeClock && activeClock.disabled && activeIndex !== startActiveIndex && (wrapAround || activeIndex < this._entities.length - 1));
      const newClock = this._clockComponent(activeIndex);
      if (activeIndex !== startActiveIndex && newClock && !newClock.disabled) {
        this._switchClock(activeIndex);
      }
    }
Switches to the next available clock.

@param {boolean} wrapAround whether to switch to the first clock if there are no next clock