{{#if showPreview}}
{{html-safe preview}}
{{else}}
{{#each toolbar.groups as |group|}} {{#each group.buttons as |b|}} {{#if b.popupMenu}} {{toolbar-popup-menu-options onPopupMenuAction=onPopupMenuAction onExpand=(action b.action b) class=b.className content=popupMenuOptions options=(hash popupTitle=b.title icon=b.icon) }} {{else}}
{{d.icon}}
{{/if}} {{/each}} {{#unless group.lastGroup}}
{{/unless}} {{/each}}
{{conditional-loading-spinner condition=loading}}