<commit_before><div ng-controller="WalletOverviewController"  ng-if="wallet.loaded">
  <div class="row om-row">
    <div class="col-xs-12 col-sm-3 col-md-4 col-lg-4">
      <div class="text-left om-title">{{ 'WALLET_OVERVIEW_TITLE' | translate}}</div>
    </div>
    <div class="hidden-xs col-sm-9 col-md-8 col-lg-8">
      <div class="input-group btn-group pull-right wallet-options">
        <span class="input-group-addon"><strong>{{ 'WALLET_OVERVIEW_WALLETID' | translate}}:</strong> {{account.uuid}}</span>
        <button type="button" class="hidden-xs btn btn-tertiary dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
          {{ 'WALLET_OVERVIEW_OPTIONS' | translate}} <span class="glyphicon glyphicon-chevron-down"></span>
        </button>
        <button type="button" class="collapse dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
          <span class="sr-only">{{ 'WALLET_OVERVIEW_OPTIONSTOGGLE' | translate }}</span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
        </button>
        <ul class="dropdown-menu dropdown-menu-right" role="menu">
          <li><a href="#" ng-click="modalManager.openBackupWalletModal()">{{ 'WALLET_OVERVIEW_BACKUP' | translate}}</a></li>
          <li><a href="#" ng-click="modalManager.openImportWalletModal()">{{ 'WALLET_OVERVIEW_IMPORT' | translate}}</a></li>
        </ul>
      </div>
    </div>
  </div>

  <div class="row">
    <div class="col-xs-12 col-sm-8 col-md-8 col-lg-8" ng-include="'/views/wallet/partials/assets_list.html'">
    </div>
    <div class="col-xs-12 col-sm-4 col-md-4 col-lg-4">
      <div class="row om-row hidden-xs">
        <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
          <div class="label-primary col-xs-7 col-sm-7 col-md-7 col-lg-7">{{ 'WALLET_OVERVIEW_ESTIMATED' | translate }} </div>
          <div class="label-secondary col-xs-5 col-sm-5 col-md-5 col-lg-5"><span ng-bind-html="total | numeraljs: '$0,0.00':true"></span><span class="currency">({{CSYM}})</div>
        </div>
      </div>
      <div class="row">
        <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
          <div class="panel panel-default">
            <div class="panel-heading">
              {{ 'WALLET_OVERVIEW_PORTFOLIO' | translate }} 
            </div>
            <div data-ac-chart="'pie'" 
                data-ac-data="balanceData" 
                data-ac-config="chartConfig" 
                class="chart panel-body">
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
 </div><commit_msg>Only display pie chart if total > 0 to prevent UI blocking<commit_after><div ng-controller="WalletOverviewController" ng-if="wallet.loaded">
  <div class="row om-row">
    <div class="col-xs-12 col-sm-3 col-md-4 col-lg-4">
      <div class="text-left om-title">{{ 'WALLET_OVERVIEW_TITLE' | translate}}</div>
    </div>
    <div class="hidden-xs col-sm-9 col-md-8 col-lg-8">
      <div class="input-group btn-group pull-right wallet-options">
        <span class="input-group-addon"><strong>{{ 'WALLET_OVERVIEW_WALLETID' | translate}}:</strong> {{account.uuid}}</span>
        <button type="button" class="hidden-xs btn btn-tertiary dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
          {{ 'WALLET_OVERVIEW_OPTIONS' | translate}} <span class="glyphicon glyphicon-chevron-down"></span>
        </button>
        <button type="button" class="collapse dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
          <span class="sr-only">{{ 'WALLET_OVERVIEW_OPTIONSTOGGLE' | translate }}</span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
        </button>
        <ul class="dropdown-menu dropdown-menu-right" role="menu">
          <li><a href="#" ng-click="modalManager.openBackupWalletModal()">{{ 'WALLET_OVERVIEW_BACKUP' | translate}}</a></li>
          <li><a href="#" ng-click="modalManager.openImportWalletModal()">{{ 'WALLET_OVERVIEW_IMPORT' | translate}}</a></li>
        </ul>
      </div>
    </div>
  </div>

  <div class="row">
    <div class="col-xs-12 col-sm-8 col-md-8 col-lg-8" ng-include="'/views/wallet/partials/assets_list.html'">
    </div>
    <div class="col-xs-12 col-sm-4 col-md-4 col-lg-4">
      <div class="row om-row hidden-xs">
        <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
          <div class="label-primary col-xs-7 col-sm-7 col-md-7 col-lg-7">{{ 'WALLET_OVERVIEW_ESTIMATED' | translate }} </div>
          <div class="label-secondary col-xs-5 col-sm-5 col-md-5 col-lg-5"><span ng-bind-html="total | numeraljs: '$0,0.00':true"></span><span class="currency">({{CSYM}})</div>
        </div>
      </div>
      <div class="row">
        <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
          <div class="panel panel-default">
            <div class="panel-heading">
              {{ 'WALLET_OVERVIEW_PORTFOLIO' | translate }} 
            </div>
            <div ng-if="total>0" data-ac-chart="'pie'" 
                data-ac-data="balanceData" 
                data-ac-config="chartConfig" 
                class="chart panel-body">
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
 </div>
{'fraction_non_alphanumeric': 0.19253956292388846, 'fraction_numerical': 0.017709118311981915, 'mean_word_length': 2.679140679140679, 'pattern_counts': {'":': 0, '<': 137, '<?xml version=': 0, '>': 139, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4914749', 'n_tokens_mistral': 1883, 'n_tokens_neox': 1819, 'n_words': 318}