<commit_before><span class="Filters-separator"></span>

<div class="Filters-row">
  <div class="Filters-group">
    <div class="Filters-typeItem Filters-typeItem--searchEnabler js-search-enabler">
      <button class="Filters-searchLink CDB-Text is-semibold u-upperCase CDB-Size-medium js-search-link">
        <i class="Filters-searchLinkIcon CDB-IconFont CDB-IconFont-lens"></i><%- _t('components.modals.add-layer.navigation.search') %>
      </button>
    </div>

    <ul class="Filters-group js-links-list">
      <li class="Filters-typeItem js-filter-type">
        <button class="Filters-typeLink CDB-Text is-semibold u-upperCase CDB-Size-medium js-connect <%- listingType === 'import' ? 'is-selected' : '' %> <%- !canCreateDataset ? 'is-disabled' : '' %>">
          <%- _t('components.modals.add-layer.navigation.connect-dataset') %>
        </button>
      </li>
      <% if (showDatasets) { %>
        <li class="Filters-typeItem js-filter-type">
          <button class="Filters-typeLink CDB-Text is-semibold u-upperCase CDB-Size-medium js-datasets <%- listingType === 'datasets' && shared !== 'only' && !library ? 'is-selected' : '' %>">
            <% if (totalItems) { %>
              <strong><%- totalItems %></strong>
            <% } %>
            <%- _t('components.modals.add-layer.navigation.dataset-pluralize', { smart_count: totalItems }) %>
          </button>
        </li>
        <% if (isInsideOrg) { %>
          <li class="Filters-typeItem js-filter-type">
            <button class="Filters-typeLink CDB-Text is-semibold u-upperCase CDB-Size-medium js-shared <%- listingType === 'datasets' && shared === "only" ? 'is-selected' : '' %>">
              <% if (totalShared) { %>
                <strong><%- totalShared %></strong>
              <% } %>
              <%- _t('components.modals.add-layer.navigation.shared-with-you') %>
            </button>
          </li>
        <% } %>
      <% } %>
      <li class="Filters-typeItem js-filter-type">
        <button class="Filters-typeLink CDB-Text is-semibold u-upperCase CDB-Size-medium js-library <%- listingType === 'datasets' && library ? 'is-selected' : '' %>">
          <%- _t('components.modals.add-layer.navigation.data-library') %>
        </button>
      </li>
    </ul>
  </div>

  <div class="Filters-typeItem Filters-typeItem--searchField js-search-field">
    <form class="Filters-searchForm js-search-form">
      <input class="Filters-searchInput js-search-input" type="text" value="<%- ( tag && (':' + tag) ) || q %>" placeholder="<%- _t('components.modals.add-layer.navigation.search-placeholder') %>" />
      <% if (tag || q) { %>
        <button type="button" class="Filters-cleanSearch js-clean-search">
          <i class="CDB-IconFont CDB-IconFont-close"></i>
        </button><commit_msg>fix #8104<commit_after><span class="Filters-separator"></span>

<div class="Filters-row">
  <div class="Filters-group">
    <div class="Filters-typeItem Filters-typeItem--searchEnabler js-search-enabler">
      <button class="Filters-searchLink CDB-Text is-semibold u-upperCase CDB-Size-medium js-search-link">
        <i class="Filters-searchLinkIcon CDB-IconFont CDB-IconFont-lens"></i><%- _t('components.modals.add-layer.navigation.search') %>
      </button>
    </div>

    <ul class="Filters-group js-links-list">
      <li class="Filters-typeItem js-filter-type">
        <button class="Filters-typeLink CDB-Text is-semibold u-upperCase CDB-Size-medium js-connect <%- listingType === 'import' ? 'is-selected' : '' %> <%- !canCreateDataset ? 'is-disabled' : '' %>">
          <%- _t('components.modals.add-layer.navigation.connect-dataset') %>
        </button>
      </li>
      <% if (showDatasets) { %>
        <li class="Filters-typeItem js-filter-type">
          <button class="Filters-typeLink CDB-Text is-semibold u-upperCase CDB-Size-medium js-datasets <%- listingType === 'datasets' && shared !== 'only' && !library ? 'is-selected' : '' %>">
            <% if (totalItems) { %>
              <strong><%- totalItems %></strong>
            <% } %>
            <%- _t('components.modals.add-layer.navigation.dataset-pluralize', { smart_count: totalItems }) %>
          </button>
        </li>
        <% if (isInsideOrg) { %>
          <li class="Filters-typeItem js-filter-type">
            <button class="Filters-typeLink CDB-Text is-semibold u-upperCase CDB-Size-medium js-shared <%- listingType === 'datasets' && shared === "only" ? 'is-selected' : '' %>">
              <% if (totalShared) { %>
                <strong><%- totalShared %></strong>
              <% } %>
              <%- _t('components.modals.add-layer.navigation.shared-with-you') %>
            </button>
          </li>
        <% } %>
      <% } %>
      <li class="Filters-typeItem js-filter-type">
        <button class="Filters-typeLink CDB-Text is-semibold u-upperCase CDB-Size-medium js-library <%- listingType === 'datasets' && library ? 'is-selected' : '' %>">
          <%- _t('components.modals.add-layer.navigation.data-library') %>
        </button>
      </li>
    </ul>
  </div>

  <div class="Filters-typeItem Filters-typeItem--searchField js-search-field">
    <form class="Filters-searchForm js-search-form">
      <input class="Filters-searchInput CDB-Text CDB-Size-medium js-search-input" type="text" value="<%- ( tag && (':' + tag) ) || q %>" placeholder="<%- _t('components.modals.add-layer.navigation.search-placeholder') %>" />
      <% if (tag || q) { %>
        <button type="button" class="Filters-cleanSearch js-clean-search">
          <i class="CDB-IconFont CDB-IconFont-close"></i>
        </button>
{'fraction_non_alphanumeric': 0.1908492077621506, 'fraction_numerical': 0.0007121239095602635, 'mean_word_length': 2.6694970607446113, 'pattern_counts': {'":': 0, '<': 129, '<?xml version=': 0, '>': 129, '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': '7395326', 'n_tokens_mistral': 1851, 'n_tokens_neox': 1790, 'n_words': 292}