<commit_before>{{!-- BACKDROP --}}
<div class="modal-backdrop"></div>
{{!-- WINDOW --}}
<div class="modal-window">
  <a href="#" class="modal-close">
    <svg><use xlink:href="#shape-close"></use></svg>
  </a>
  <div class="modal-wrapper scroll-dark {{#if learn_more_or_download_data}}has-footer{{/if}}">
    <div class="modal-content">
      <div class='modal-source'>

        <h2 class='modal-title'>{{{title}}}</h2>
        {{#if subtitle}}<h3 class="modal-subtitle">{{{subtitle}}}</h3>{{/if}}

        <div class="modal-table">
          {{#if function}}
            <dl class='modal-row'>
              <dt>Function</dt>
              <dd>
                {{{function}}}
                {{#if translated_function}}
                  <div class="is-italic">
                    {{{translated_function}}}
                  </div>
                {{/if}}
              </dd>
            </dl>
          {{/if}}
          {{#if resolution}}
            <dl class='modal-row'>
              <dt>RESOLUTION / SCALE</dt>
              <dd>{{{resolution}}}</dd>
            </dl>
          {{/if}}
          {{#if geographic_coverage}}
            <dl class='modal-row'>
              <dt>Geographic coverage</dt>
              <dd>{{{geographic_coverage}}}</dd>
            </dl>
          {{/if}}
          {{#if source}}
            <dl class='modal-row'>
              <dt>Source</dt>
              <dd>{{{source}}}</dd>
            </dl>
          {{/if}}
          {{#if frequency_of_updates}}
            <dl class='modal-row'>
              <dt>Frequency of updates</dt>
              <dd>{{{frequency_of_updates}}}</dd>
            </dl>
          {{/if}}
          {{#if date_of_content}}
            <dl class='modal-row'>
              <dt>Date of content</dt>
              <dd>{{{date_of_content}}}</dd>
            </dl>
          {{/if}}
          {{#if cautions}}
            <dl class='modal-row'>
              <dt>Cautions</dt>
              <dd>{{{cautions}}}</dd>
            </dl>
          {{/if}}
          {{#if license}}
            <dl class='modal-row'>
              <dt>License</dt>
              <dd>{{{license}}}</dd>
            </dl>
          {{/if}}
        </div>

        <div class="modal-overview">
          <h3>Overview</h3>
          {{{overview}}}
        </div>

        {{#if translated_overview}}
          <div class="modal-overview is-italic">
            <h3>Descripción</h3>
            {{{translated_overview}}}
          </div>
        {{/if}}


        <div class="modal-credits">
          <h3>Citation:</h3>
          {{{citation}}}
        </div>
      </div>
    </div>
    {{#if learn_more_or_download_data}}
      <div class="modal-footer">
        <div class="m-btncontainer is-center">
          {{!-- <a href="{{link_to_odp}}" class="download-mobile-link">Learn more or download data</a> --}}
          <a href="{{learn_more_or_download_data}}" target="_blank" class="btn green uppercase download-mobile-link">Learn more or download data</a>
        </div>
      </div>
    {{/if}}
  </div>
</div>
<commit_msg>Source modal amendments<commit_after>{{!-- BACKDROP --}}
<div class="modal-backdrop"></div>
{{!-- WINDOW --}}
<div class="modal-window">
  <a href="#" class="modal-close">
    <svg><use xlink:href="#shape-close"></use></svg>
  </a>
  <div class="modal-wrapper scroll-dark {{#if download_data}}has-footer{{/if}}">
    <div class="modal-content">
      <div class='modal-source'>

        <h2 class='modal-title'>{{{title}}}</h2>
        {{#if subtitle}}<h3 class="modal-subtitle">{{{subtitle}}}</h3>{{/if}}

        <div class="modal-table">
          {{#if function}}
            <dl class='modal-row'>
              <dt>Function</dt>
              <dd>
                {{{function}}}
                {{#if translated_function}}
                  <div class="is-italic">
                    {{{translated_function}}}
                  </div>
                {{/if}}
              </dd>
            </dl>
          {{/if}}
          {{#if resolution}}
            <dl class='modal-row'>
              <dt>RESOLUTION / SCALE</dt>
              <dd>{{{resolution}}}</dd>
            </dl>
          {{/if}}
          {{#if geographic_coverage}}
            <dl class='modal-row'>
              <dt>Geographic coverage</dt>
              <dd>{{{geographic_coverage}}}</dd>
            </dl>
          {{/if}}
          {{#if source}}
            <dl class='modal-row'>
              <dt>Source</dt>
              <dd>{{{source}}}</dd>
            </dl>
          {{/if}}
          {{#if frequency_of_updates}}
            <dl class='modal-row'>
              <dt>Frequency of updates</dt>
              <dd>{{{frequency_of_updates}}}</dd>
            </dl>
          {{/if}}
          {{#if date_of_content}}
            <dl class='modal-row'>
              <dt>Date of content</dt>
              <dd>{{{date_of_content}}}</dd>
            </dl>
          {{/if}}
          {{#if cautions}}
            <dl class='modal-row'>
              <dt>Cautions</dt>
              <dd>{{{cautions}}}</dd>
            </dl>
          {{/if}}
          {{#if license}}
            <dl class='modal-row'>
              <dt>License</dt>
              <dd>{{{license}}}</dd>
            </dl>
          {{/if}}
        </div>

        {{#if overview}}
          <div class="modal-overview">
            <h3>Overview</h3>
            {{{overview}}}
          </div>
        {{/if}}

        {{#if translated_overview}}
          <div class="modal-overview is-italic">
            <h3>Descripción</h3>
            {{{translated_overview}}}
          </div>
        {{/if}}

        {{#if citation}}
          <div class="modal-credits">
            <h3>Citation:</h3>
            {{{citation}}}
          </div>
        {{/if}}

        {{#if learn_more}}
          <div class="modal-overview">
            <div class="m-btncontainer is-center">
              <a class="btn gray uppercase" href="{{learn_more}}" target="_blank">Learn more</a>
            </div>
          </div>
        {{/if}}

      </div>
    </div>
    {{#if download_data}}
      <div class="modal-footer">
        <div class="m-btncontainer is-center">
          <a href="{{download_data}}" target="_blank" class="btn green uppercase download-mobile-link">Download data</a>
        </div>
      </div>
    {{/if}}
  </div>
</div>

{'fraction_non_alphanumeric': 0.1981117230527144, 'fraction_numerical': 0.003147128245476003, 'mean_word_length': 1.4702681694520014, 'pattern_counts': {'":': 0, '<': 191, '<?xml version=': 0, '>': 191, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 12, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4888642', 'n_tokens_mistral': 2007, 'n_tokens_neox': 1919, 'n_words': 335}