@switch (state) { @case ('loading') {

{{ 'common.loading' | translate }}

} @case ('noSystem') {

{{ 'sessionRules.noSystem' | translate }}

} @case ('noRules') {

{{ 'sessionRules.noRules' | translate:{ name: gameSystem?.name } }}

} @case ('ready') {

{{ gameSystem?.name }} @if (searching && matches.length > 0) { · {{ (matches.length === 1 ? 'sessionRules.resultsOne' : 'sessionRules.resultsMany') | translate:{ n: matches.length } }} }

@if (matches.length === 0) {

{{ 'sessionRules.noResult' | translate:{ q: query.trim() } }}

} @else {
@for (m of matches; track m.section.id) {
@if (isOpen(m)) {
@if (m.blocks.length > 0) {
} @else {

{{ 'sessionRules.emptySection' | translate }}

}
}
}
} } }