if address.a_id == null
  - address.a_id = address.addresses;
if settings.labels[address.a_id] != null && settings.labels[address.a_id].enabled == true
  label(class='badge bg-' + (settings.labels[address.a_id].type == null || settings.labels[address.a_id].type == '' ? 'default' : settings.labels[address.a_id].type) + ' float-end d-none d-' + (active == 'richlist' ? 'md' : (active == 'tx' ? 'lg' : 'sm')) + '-block', style='margin-left:15px;margin-bottom:0;')
    =settings.labels[address.a_id].label
    if settings.labels[address.a_id].url
      a(href=settings.labels[address.a_id].url, target='_blank', alt='Visit site', title='Visit site', data-bs-toggle='tooltip', data-bs-placement='top')
        span.fa-solid.fa-circle-question(style='margin-left:5px;')