<commit_before><div class="col-xs-12 col-sm-3 sidebar-menu">
  <ul class="mb4">

    @if (Route::currentRouteName() == 'settings.index')
    <li class="selected">
      <i class="fa fa-cog" aria-hidden="true"></i>
      <strong>{{ trans('settings.sidebar_settings') }}</strong>
    </li>
    @else
    <li class="bg-white">
      <i class="fa fa-cog" aria-hidden="true"></i>
      <a href="/settings">{{ trans('settings.sidebar_settings') }}</a>
    </li>
    @endif

    @if (Route::currentRouteName() == 'settings.personalization')
    <li class="selected">
      <i class="fa fa-handshake-o" aria-hidden="true"></i>
      <strong>{{ trans('settings.sidebar_personalization') }}</strong>
    </li>
    @else
    <li class="bg-white">
      <i class="fa fa-handshake-o" aria-hidden="true"></i>
      <a href="/settings/personalization">{{ trans('settings.sidebar_personalization') }}</a>
    </li>
    @endif

    @if (Route::currentRouteName() == 'settings.export')
    <li class="selected">
      <i class="fa fa-cloud-download" aria-hidden="true"></i>
      <strong>{{ trans('settings.sidebar_settings_export') }}</strong>
    </li>
    @else
    <li class="bg-white">
      <i class="fa fa-cloud-download" aria-hidden="true"></i>
      <a href="/settings/export">{{ trans('settings.sidebar_settings_export') }}</a>
    </li>
    @endif

    @if (Route::currentRouteName() == 'settings.import')
    <li class="selected">
      <i class="fa fa-cloud-upload" aria-hidden="true"></i>
      <strong>{{ trans('settings.sidebar_settings_import') }}</strong>
    </li>
    @else
    <li class="bg-white">
      <i class="fa fa-cloud-upload" aria-hidden="true"></i>
      <a href="/settings/import">{{ trans('settings.sidebar_settings_import') }}</a>
    </li>
    @endif

    @if (Route::currentRouteName() == 'settings.users')
    <li class="selected">
      <i class="fa fa-user-circle-o" aria-hidden="true"></i>
      <strong>{{ trans('settings.sidebar_settings_users') }}</strong>
    </li>
    @else
    <li class="bg-white">
      <i class="fa fa-user-circle-o" aria-hidden="true"></i>
      <a href="/settings/users">{{ trans('settings.sidebar_settings_users') }}</a>
    </li>
    @endif

    @if (config('monica.requires_subscription'))
      @if (Route::currentRouteName() == 'settings.subscriptions.index')
      <li class="selected">
        <i class="fa fa-money" aria-hidden="true"></i>
        <strong>{{ trans('settings.sidebar_settings_subscriptions') }}</strong>
      </li>
      @else
      <li class="bg-white">
        <i class="fa fa-money" aria-hidden="true"></i>
        <a href="/settings/subscriptions">{{ trans('settings.sidebar_settings_subscriptions') }}</a>
      </li>
      @endif
    @endif

    @if (Route::currentRouteName() == 'settings.tags')
    <li class="selected">
      <i class="fa fa-tags" aria-hidden="true"></i>
      <strong>{{ trans('settings.sidebar_settings_tags') }}</strong>
    </li>
    @else
    <li class="bg-white">
      <i class="fa fa-tags" aria-hidden="true"></i>
      <a href="/settings/tags">{{ trans('settings.sidebar_settings_tags') }}</a>
    </li>
    @endif

    @if (Route::currentRouteName() == 'settings.api')
    <li class="selected">
      <i class="fa fa-random"></i><commit_msg>Fix annual plans generating an error for users exempt of the paid plan (#864)<commit_after><div class="col-xs-12 col-sm-3 sidebar-menu">
  <ul class="mb4">

    @if (Route::currentRouteName() == 'settings.index')
    <li class="selected">
      <i class="fa fa-cog" aria-hidden="true"></i>
      <strong>{{ trans('settings.sidebar_settings') }}</strong>
    </li>
    @else
    <li class="bg-white">
      <i class="fa fa-cog" aria-hidden="true"></i>
      <a href="/settings">{{ trans('settings.sidebar_settings') }}</a>
    </li>
    @endif

    @if (Route::currentRouteName() == 'settings.personalization')
    <li class="selected">
      <i class="fa fa-handshake-o" aria-hidden="true"></i>
      <strong>{{ trans('settings.sidebar_personalization') }}</strong>
    </li>
    @else
    <li class="bg-white">
      <i class="fa fa-handshake-o" aria-hidden="true"></i>
      <a href="/settings/personalization">{{ trans('settings.sidebar_personalization') }}</a>
    </li>
    @endif

    @if (Route::currentRouteName() == 'settings.export')
    <li class="selected">
      <i class="fa fa-cloud-download" aria-hidden="true"></i>
      <strong>{{ trans('settings.sidebar_settings_export') }}</strong>
    </li>
    @else
    <li class="bg-white">
      <i class="fa fa-cloud-download" aria-hidden="true"></i>
      <a href="/settings/export">{{ trans('settings.sidebar_settings_export') }}</a>
    </li>
    @endif

    @if (Route::currentRouteName() == 'settings.import')
    <li class="selected">
      <i class="fa fa-cloud-upload" aria-hidden="true"></i>
      <strong>{{ trans('settings.sidebar_settings_import') }}</strong>
    </li>
    @else
    <li class="bg-white">
      <i class="fa fa-cloud-upload" aria-hidden="true"></i>
      <a href="/settings/import">{{ trans('settings.sidebar_settings_import') }}</a>
    </li>
    @endif

    @if (Route::currentRouteName() == 'settings.users')
    <li class="selected">
      <i class="fa fa-user-circle-o" aria-hidden="true"></i>
      <strong>{{ trans('settings.sidebar_settings_users') }}</strong>
    </li>
    @else
    <li class="bg-white">
      <i class="fa fa-user-circle-o" aria-hidden="true"></i>
      <a href="/settings/users">{{ trans('settings.sidebar_settings_users') }}</a>
    </li>
    @endif

    @if (config('monica.requires_subscription') && auth()->user()->account->has_access_to_paid_version_for_free == false)
      @if (Route::currentRouteName() == 'settings.subscriptions.index')
      <li class="selected">
        <i class="fa fa-money" aria-hidden="true"></i>
        <strong>{{ trans('settings.sidebar_settings_subscriptions') }}</strong>
      </li>
      @else
      <li class="bg-white">
        <i class="fa fa-money" aria-hidden="true"></i>
        <a href="/settings/subscriptions">{{ trans('settings.sidebar_settings_subscriptions') }}</a>
      </li>
      @endif
    @endif

    @if (Route::currentRouteName() == 'settings.tags')
    <li class="selected">
      <i class="fa fa-tags" aria-hidden="true"></i>
      <strong>{{ trans('settings.sidebar_settings_tags') }}</strong>
    </li>
    @else
    <li class="bg-white">
      <i class="fa fa-tags" aria-hidden="true"></i>
      <a href="/settings/tags">{{ trans('settings.sidebar_settings_tags') }}</a>
    </li>
    @endif

    @if (Route::currentRouteName() == 'settings.api')
    <li class="selected">
      <i class="fa fa-random"></i>
{'fraction_non_alphanumeric': 0.21126336395121217, 'fraction_numerical': 0.001656377051648848, 'mean_word_length': 3.3383409536250817, 'pattern_counts': {'":': 0, '<': 181, '<?xml version=': 0, '>': 184, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7649105', 'n_tokens_mistral': 2200, 'n_tokens_neox': 2156, 'n_words': 412}