{{#if declarations}}
{{#if showDeclarations}}
{{#infinite-list containerElementId="declarations-content" elements=filteredDeclarations perPage=30 as |declaration|}}
-
{{/infinite-list}}
{{/if}}
{{/if}}
{{#info-window
targetElement=selectedIdentifier
isHoveredOverIdentifier=isHoveredOverIdentifier
hasSelectedExpression=hasSelectedExpression
containerElementId="right-panel" as |section|}}
{{#if (eq section "header")}}
{{#if hasSelectedExpression}}
Selected expressions
{{else}}
{{identifier-name
identifierInfo=identifierInfo
identifierOccurrence=identifierOccurrence
identifierElement=selectedIdentifier
currentPackageId=packageId
isBinder=identifierOccurrence.isBinder
currentLineNumber=currentLineNumber
findReferences=findReferences}}
{{/if}}
{{else}}
{{#unless hasSelectedExpression}}
{{identifier-info
identifierInfo=identifierInfo
identifierOccurrence=identifierOccurrence
identifiers=identifiers
currentLineNumber=currentLineNumber}}
{{else}}
{{expression-info
expressions=expressions
identifiers=identifiers
currentLineNumber=currentLineNumber}}
{{/unless}}
{{/if}}
{{/info-window}}