{{ 'searchStats.title' | translate }}

@if (isLoading()) { }
{{ 'searchStats.query' | translate }} @if (displayQuery()) { {{ displayQuery() }} } @else { -- }
{{ 'searchStats.totalHits' | translate }} @if (totalHits() !== null) { {{ totalHits() | number }} } @else { -- }

{{ 'searchStats.timeline' | translate }}

{{ 'searchStats.interval' | translate }}: {{ intervalLabel() | translate }} {{ 'searchStats.intervalDay' | translate }} {{ 'searchStats.intervalWeek' | translate }} {{ 'searchStats.intervalMonth' | translate }} @if (hasHistogram()) { }
@if (hasHistogram() && histogramChartOptions()) { } @else {
{{ 'searchStats.noHistogram' | translate }}
}

{{ 'searchStats.topQueries' | translate }}

@if (showTopQueriesList()) { } @else { }
@if (isLoading()) {

{{ 'searchStats.loading' | translate }}

} @else if (topQueries().length > 0) {
@if (showTopQueriesList()) {
@for (item of topQueries(); track item.label) { }
{{ item.label }} {{ item.count }}
} @else { }
} @else {

{{ 'searchStats.noData' | translate }}

}

{{ 'searchStats.topProviders' | translate }}

@if (showTopProvidersList()) { } @else { }
@if (isLoading()) {

{{ 'searchStats.loading' | translate }}

} @else if (topProviders().length > 0) {
@if (showTopProvidersList()) {
@for (item of topProviders(); track item.label) { }
{{ item.label }} {{ item.count }}
} @else { }
} @else {

{{ 'searchStats.noData' | translate }}

}

{{ 'searchStats.topArchives' | translate }}

@if (showTopArchivesList()) { } @else { }
@if (isLoading()) {

{{ 'searchStats.loading' | translate }}

} @else if (topArchives().length > 0) {
@if (showTopArchivesList()) {
@for (item of topArchives(); track item.label) { }
{{ item.label }} {{ item.count }}
} @else { }
} @else {

{{ 'searchStats.noData' | translate }}

}