 }
          }
          const firstEnabledMatchOverall = enabledOpts.find((opt) =>
            (opt.textContent || "")
              .trim()
              .toLowerCase()
              .startsWith(currentSearch)
          );
          if (firstEnabledMatchOverall) {
            this.setActiveOptionByIndex(opts.indexOf(firstEnabledMatchOverall));
            return;
          }
        }

        clearActiveOption() {
          if (this._activeOptionId) {
            const previouslyActive = this.querySelect