{{#if showNav}}
{{/if}}
{{#each flashMessages.queue as |flash|}}
{{#flash-message data-test-flash-message=true flash=flash as |component flash close|}}
{{#if flash.componentName}}
{{component flash.componentName content=flash.content}}
{{else}}
{{get (message-types flash.type) "text"}}
{{flash.message}}
{{/if}}
{{/flash-message}}
{{/each}}
{{#if showNav}}
{{component
(if
(or
(is-after (now interval=1000) auth.tokenExpirationDate)
(and activeClusterName auth.currentToken)
)
'token-expire-warning'
null
)
}}
{{#unless (and
activeClusterName
auth.currentToken
(is-after (now interval=1000) auth.tokenExpirationDate)
)
}}
{{outlet}}
{{/unless}}
{{else}}
{{outlet}}
{{/if}}
{{#if (eq env "development") }}
{{i-con glyph="wand" class="type-icon"}}Local Development
{{/if}}