<commit_before>  <#import "/WEB-INF/macros/common.ftl" as common>
  <!-- Filter templates -->
  <script type="text/template" id="template-month-filter">
    <tr class="filter">
      <td colspan="4">
        <a class="edit" style="display:none;"/>
        <div class="inner filter_view">
          <h4 class="title"><%= title %></h4>
          <div class="filter">
            <table>
              <tr>
                <td style="border: 0px none !important;">
                   <div class="date-filter">
                    <table>
                     <tr>
                      <td>
                        <select name="predicate" class="predicate">
                          <option value="eq">Is</option>
                          <option value="lte">Is before</option>
                          <option value="gte">Is after</option>
                          <option value="bt">Between</option>
                        </select>
                      </td>
                      <td>
                        <select name="monthMin" class="date-dropdown">
                          <option value="0">-</option>
                          <option value="1">January</option>
                          <option value="2">February</option>
                          <option value="3">March</option>
                          <option value="4">April</option>
                          <option value="5">May</option>
                          <option value="6">June</option>
                          <option value="7">July</option>
                          <option value="8">August</option>
                          <option value="9">September</option>
                          <option value="10">October</option>
                          <option value="11">November</option>
                          <option value="12">December</option>
                        </select>

                        <div id="maxValue" style="display:none">
                          <select name="monthMax" class="date-dropdown">
                            <option value="0">-</option>
                            <option value="1">January</option>
                            <option value="2">February</option>
                            <option value="3">March</option>
                            <option value="4">April</option>
                            <option value="5">May</option>
                            <option value="6">June</option>
                            <option value="7">July</option>
                            <option value="8">August</option>
                            <option value="9">September</option>
                            <option value="10">October</option>
                            <option value="11">November</option>
                            <option value="12">December</option>
                          </div>
                        </span>
                      </td>
                      <td>
                        <input type="image" src="<@s.url value='/img/admin/add-small.png'/>" class="addFilter"/>
                      </td>
                    </tr>
                  </table>
                </div>
                <span style="display: none;" id="monthRangeErrorMessage" class="warningBox month_error">
                    <p>Invalid range of months has been specified, second month must be greater than the first one</p>
                </span>
                </td>
                <td style="border: 0px none !important;">
                  <h4 class="filtersTitle" style="display:none;">Filters</h4>
                  <div class="appliedFilters filterlist" style="display:none;"></div>
                </td>
              </tr>
            </table>
            <a class="button candy_blue_button apply" title="<%= title %>" data-action="add-month-filter" data-filter="<%= paramName %>" apply-function="applyOccurrenceFilters"><span>Apply</span></a>
          </div>
          <a class="close"></a>
        </div>
        <div class="summary_view">

        </div>
      </td>
    </tr>
  </script>


  <script type="text/template" id="template-basis-of-record-filter">
    <tr class="filter">
      <td colspan="4">
        <a class="edit" style="display:none;"/>
        <div class="inner filter_view">          
          <div class="filter">
            <h4 class="title"><%= title %> </h4>
            <ul class="multi-select">
              <#list basisOfRecords as basisOfRecord>
                <li key="${basisOfRecord}"><a>${action.getFilterTitle('basisOfRecord',basisOfRecord)}</a></li>
              </#list>
            </ul>
            <div class="select-controls">
              <a class="select-control select-all-<%= paramName %>">[Select all]</a>&nbsp;&nbsp;<a class="select-control clear-all-<%= paramName %>">[Clear all]</a>
            </div>
          </div>
          <div class="center">
            <a class="button candy_blue_button apply" title="<%= title %>" data-action="add-new-filter" data-filter="<%= paramName %>" apply-function="applyOccurrenceFilters"><span>Apply</span></a>
          </div>
          <a class="close"></a>
        </div>
        <div class="summary_view">

        </div>
      </td>
    </tr>
  </script>

  <script type="text/template" id="template-continent-filter">
    <tr class="filter">
      <td colspan="4">
        <a class="edit" style="display:none;"/>

        <div class="inner filter_view">
          <div class="filter">
            <h4 class="title"><%= title %> </h4>
            <ul class="multi-select">
            <#list continents as continent>
              <li key="${continent}"><a>${action.getFilterTitle('continent',continent)}</a></li>
            </#list>
            </ul>
            <div class="select-controls">
              <a class="select-control select-all-<%= paramName %>">[Select all]</a>&nbsp;&nbsp;<a class="select-control clear-all-<%= paramName %>">[Clear all]</a>
            </div>
          </div>
          <div class="center">
            <a class="button candy_blue_button apply" title="<%= title %>" data-action="add-new-filter"
               data-filter="<%= paramName %>" apply-function="applyOccurrenceFilters"><span>Apply</span></a>
          </div>
          <a class="close"></a>
        </div>
        <div class="summary_view">

        </div>
      </td>
    </tr>
  </script>

   <script type="text/template" id="template-type-status-filter">
    <tr class="filter">
      <td colspan="4">
        <a class="edit" style="display:none;"/>
        <div class="inner filter_view">          
          <div class="filter">
            <h4 class="title"><%= title %> </h4>
            <ul class="multi-select" style="height:300px !important; overflow:scroll !important; padding-bottom:10px !important;">
             <#list typeStatuses as itemValue>
               <li key="${itemValue}"><a>${action.getFilterTitle('typeStatus',itemValue)}</a></li>
             </#list>
            </ul>
            <div class="select-controls">
              <a class="select-control select-all-<%= paramName %>">[Select all]</a>&nbsp;&nbsp;<a class="select-control clear-all-<%= paramName %>">[Clear all]</a>
            </div>
          </div>
          <div class="center">
            <a class="button candy_blue_button apply" title="<%= title %>" data-action="add-new-filter" data-filter="<%= paramName %>" apply-function="applyOccurrenceFilters"><span>Apply</span></a>
          </div>
          <a class="close"></a>
        </div>
        <div class="summary_view">

        </div>
      </td>
    </tr>
  </script>


  <script type="text/template" id="template-media-type-filter">
    <tr class="filter">
      <td colspan="4">
        <a class="edit" style="display:none;"/>
        <div class="inner filter_view">          
          <div class="filter">
            <h4 class="title"><%= title %> </h4>
            <ul class="multi-select">
             <#list mediaTypes as itemValue>
               <li key="${itemValue}"><a>${action.getFilterTitle('mediaType',itemValue)}</a></li>
             </#list>
            </ul>
            <div class="select-controls">
              <a class="select-control select-all-<%= paramName %>">[Select all]</a>&nbsp;&nbsp;<a class="select-control clear-all-<%= paramName %>">[Clear all]</a>
            </div>
          </div>
          <div class="center">
            <a class="button candy_blue_button apply" title="<%= title %>" data-action="add-new-filter" data-filter="<%= paramName %>" apply-function="applyOccurrenceFilters"><span>Apply</span></a>
          </div>
          <a class="close"></a><commit_msg>changing media types order: http://dev.gbif.org/issues/browse/POR-2118<commit_after>  <#import "/WEB-INF/macros/common.ftl" as common>
  <!-- Filter templates -->
  <script type="text/template" id="template-month-filter">
    <tr class="filter">
      <td colspan="4">
        <a class="edit" style="display:none;"/>
        <div class="inner filter_view">
          <h4 class="title"><%= title %></h4>
          <div class="filter">
            <table>
              <tr>
                <td style="border: 0px none !important;">
                   <div class="date-filter">
                    <table>
                     <tr>
                      <td>
                        <select name="predicate" class="predicate">
                          <option value="eq">Is</option>
                          <option value="lte">Is before</option>
                          <option value="gte">Is after</option>
                          <option value="bt">Between</option>
                        </select>
                      </td>
                      <td>
                        <select name="monthMin" class="date-dropdown">
                          <option value="0">-</option>
                          <option value="1">January</option>
                          <option value="2">February</option>
                          <option value="3">March</option>
                          <option value="4">April</option>
                          <option value="5">May</option>
                          <option value="6">June</option>
                          <option value="7">July</option>
                          <option value="8">August</option>
                          <option value="9">September</option>
                          <option value="10">October</option>
                          <option value="11">November</option>
                          <option value="12">December</option>
                        </select>

                        <div id="maxValue" style="display:none">
                          <select name="monthMax" class="date-dropdown">
                            <option value="0">-</option>
                            <option value="1">January</option>
                            <option value="2">February</option>
                            <option value="3">March</option>
                            <option value="4">April</option>
                            <option value="5">May</option>
                            <option value="6">June</option>
                            <option value="7">July</option>
                            <option value="8">August</option>
                            <option value="9">September</option>
                            <option value="10">October</option>
                            <option value="11">November</option>
                            <option value="12">December</option>
                          </div>
                        </span>
                      </td>
                      <td>
                        <input type="image" src="<@s.url value='/img/admin/add-small.png'/>" class="addFilter"/>
                      </td>
                    </tr>
                  </table>
                </div>
                <span style="display: none;" id="monthRangeErrorMessage" class="warningBox month_error">
                    <p>Invalid range of months has been specified, second month must be greater than the first one</p>
                </span>
                </td>
                <td style="border: 0px none !important;">
                  <h4 class="filtersTitle" style="display:none;">Filters</h4>
                  <div class="appliedFilters filterlist" style="display:none;"></div>
                </td>
              </tr>
            </table>
            <a class="button candy_blue_button apply" title="<%= title %>" data-action="add-month-filter" data-filter="<%= paramName %>" apply-function="applyOccurrenceFilters"><span>Apply</span></a>
          </div>
          <a class="close"></a>
        </div>
        <div class="summary_view">

        </div>
      </td>
    </tr>
  </script>


  <script type="text/template" id="template-basis-of-record-filter">
    <tr class="filter">
      <td colspan="4">
        <a class="edit" style="display:none;"/>
        <div class="inner filter_view">          
          <div class="filter">
            <h4 class="title"><%= title %> </h4>
            <ul class="multi-select">
              <#list basisOfRecords as basisOfRecord>
                <li key="${basisOfRecord}"><a>${action.getFilterTitle('basisOfRecord',basisOfRecord)}</a></li>
              </#list>
            </ul>
            <div class="select-controls">
              <a class="select-control select-all-<%= paramName %>">[Select all]</a>&nbsp;&nbsp;<a class="select-control clear-all-<%= paramName %>">[Clear all]</a>
            </div>
          </div>
          <div class="center">
            <a class="button candy_blue_button apply" title="<%= title %>" data-action="add-new-filter" data-filter="<%= paramName %>" apply-function="applyOccurrenceFilters"><span>Apply</span></a>
          </div>
          <a class="close"></a>
        </div>
        <div class="summary_view">

        </div>
      </td>
    </tr>
  </script>

  <script type="text/template" id="template-continent-filter">
    <tr class="filter">
      <td colspan="4">
        <a class="edit" style="display:none;"/>

        <div class="inner filter_view">
          <div class="filter">
            <h4 class="title"><%= title %> </h4>
            <ul class="multi-select">
            <#list continents as continent>
              <li key="${continent}"><a>${action.getFilterTitle('continent',continent)}</a></li>
            </#list>
            </ul>
            <div class="select-controls">
              <a class="select-control select-all-<%= paramName %>">[Select all]</a>&nbsp;&nbsp;<a class="select-control clear-all-<%= paramName %>">[Clear all]</a>
            </div>
          </div>
          <div class="center">
            <a class="button candy_blue_button apply" title="<%= title %>" data-action="add-new-filter"
               data-filter="<%= paramName %>" apply-function="applyOccurrenceFilters"><span>Apply</span></a>
          </div>
          <a class="close"></a>
        </div>
        <div class="summary_view">

        </div>
      </td>
    </tr>
  </script>

   <script type="text/template" id="template-type-status-filter">
    <tr class="filter">
      <td colspan="4">
        <a class="edit" style="display:none;"/>
        <div class="inner filter_view">          
          <div class="filter">
            <h4 class="title"><%= title %> </h4>
            <ul class="multi-select" style="height:300px !important; overflow:scroll !important; padding-bottom:10px !important;">
             <#list typeStatuses as itemValue>
               <li key="${itemValue}"><a>${action.getFilterTitle('typeStatus',itemValue)}</a></li>
             </#list>
            </ul>
            <div class="select-controls">
              <a class="select-control select-all-<%= paramName %>">[Select all]</a>&nbsp;&nbsp;<a class="select-control clear-all-<%= paramName %>">[Clear all]</a>
            </div>
          </div>
          <div class="center">
            <a class="button candy_blue_button apply" title="<%= title %>" data-action="add-new-filter" data-filter="<%= paramName %>" apply-function="applyOccurrenceFilters"><span>Apply</span></a>
          </div>
          <a class="close"></a>
        </div>
        <div class="summary_view">

        </div>
      </td>
    </tr>
  </script>


  <script type="text/template" id="template-media-type-filter">
    <tr class="filter">
      <td colspan="4">
        <a class="edit" style="display:none;"/>
        <div class="inner filter_view">          
          <div class="filter">
            <h4 class="title"><%= title %> </h4>
            <ul class="multi-select">
              <li key="StillImage"><a>${action.getFilterTitle('mediaType','StillImage')}</a></li>
              <li key="Sound"><a>${action.getFilterTitle('mediaType','Sound')}</a></li>
              <li key="MovingImage"><a>${action.getFilterTitle('mediaType','MovingImage')}</a></li>             
            </ul>
            <div class="select-controls">
              <a class="select-control select-all-<%= paramName %>">[Select all]</a>&nbsp;&nbsp;<a class="select-control clear-all-<%= paramName %>">[Clear all]</a>
            </div>
          </div>
          <div class="center">
            <a class="button candy_blue_button apply" title="<%= title %>" data-action="add-new-filter" data-filter="<%= paramName %>" apply-function="applyOccurrenceFilters"><span>Apply</span></a>
          </div>
          <a class="close"></a>
{'fraction_non_alphanumeric': 0.1709342956980008, 'fraction_numerical': 0.0066448988944263045, 'mean_word_length': 1.6487634653315126, 'pattern_counts': {'":': 0, '<': 581, '<?xml version=': 0, '>': 581, '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': '6033985', 'n_tokens_mistral': 4947, 'n_tokens_neox': 4693, 'n_words': 904}