<div id="enterprise-cta-desktop" *ngIf="officialMempoolInstance">
  <p>Get higher API limits with Mempool Enterprise®</p>
  @if (isMempoolSpaceBuild) {
    <a class="btn btn-small btn-purple" routerLink="/enterprise" [queryParams]="{network: network.val.length ? network.val : null}">More Info <fa-icon [icon]="['fas', 'angle-right']"></fa-icon></a>
  } @else {
    <a class="btn btn-small btn-purple" [href]="['https://mempool.space/enterprise' + (network.val.length ? `?network=${network.val}` : '')]" [target]="'blank'">More Info <fa-icon [icon]="['fas', 'angle-right']"></fa-icon></a>
  }
</div>
<div *ngFor="let item of tabData">
  <p *ngIf="( item.type === 'category' ) && ( item.showConditions.indexOf(network.val) > -1 ) && ( !item.hasOwnProperty('options') || ( item.hasOwnProperty('options') && item.options.hasOwnProperty('officialOnly') && item.options.officialOnly && officialMempoolInstance ))">{{ item.title }}</p>
  <a *ngIf="( item.type !== 'category' ) && ( item.showConditions.indexOf(network.val) > -1 ) && ( !item.hasOwnProperty('options') || ( item.hasOwnProperty('options') && item.options.hasOwnProperty('officialOnly') && item.options.officialOnly && officialMempoolInstance ) || ( item.hasOwnProperty('options') && item.options.hasOwnProperty('auditOnly') && item.options.auditOnly && auditEnabled ) || ( !item.hasOwnProperty('options') || ( item.hasOwnProperty('options') && item.options.hasOwnProperty('electrsOnly') && item.options.electrsOnly && runningElectrs) ) )" (click)="navLinkClick($event, item.fragment)">{{ item.title }}</a>
</div>
