@if (!isPanelOpen()) { }
@if (config().showSuggestions) { Search {{ 'search.label' | translate }}
@for (suggestion of suggestions(); track suggestion.id) {
{{ suggestion.query }}
@if (suggestion.score !== null && suggestion.score !== undefined) { {{ suggestion.score | number }} } @else { }
}
} @else { Search } @if (config().showFilterDropdown) {
}
@if (config().showFilterDropdown && activeFilters().length > 0) {
{{ 'search.activeFilters' | translate }}
@for (badge of activeFilters(); track $index) {
{{ badge }}
}
}
@if (config().allowComparison) {
{{ 'compare.compareItems' | translate: { count: compareService.selectedSerpIds().length } }}
}