/** * @file * This script watches the desktop version of the primary navigation. If it * wraps to two lines, it will automatically transition to a mobile navigation * and remember where it wrapped so it can transition back. */ ((Drupal, once) => { /** * Handles the transition from mobile navigation to desktop navigation. * * @param {Element} navWrapper - The primary navigation's top-level