<commit_before><%= content_for(:title) do %>
  Maps by <%= @name %> on CartoDB
<% end %>

<%= content_for(:description) do %>
  <%= @name %> is creating maps and visualizations using CartoDB
<% end %>

<div class="PublicBody-content">
  <% if @visualizations.size == 0 %>
    <%= render 'admin/shared/new_no_results', is_maps: true, alt_url: CartoDB.url(self, 'public_datasets_home') %>
  <% else %>
    <ul class="MapsList">
      <% @visualizations.each do |vis| %>
        <li class="MapsList-item">
          <div class="MapCard" data-zoom="<%= vis[:map_zoom] %>" data-vizjson-url="<%= CartoDB.url(self, 'api_v2_visualizations_vizjson', {id: vis[:id]}, vis[:owner]) %>.json">
            <a href="<%= CartoDB.url(self, 'public_visualizations_public_map', {id: vis[:id]}, vis[:owner]) %>" class="MapCard-header js-header">
              <div class="MapCard-loader"></div>
            </a>
            <div class="MapCard-content">
              <div class="MapCard-contentBody">
                <div class="MapCard-contentBodyRow MapCard-contentBodyRow--flex">
                  <h3 class="MapCard-title DefaultTitle">
                    <a href="<%= CartoDB.url(self, 'public_visualizations_public_map', {id: vis[:id]}, vis[:owner]) %>" class="DefaultTitle-link u-ellipsLongText" title="<%= vis[:title] %>"><%= vis[:title] %></a>
                  </h3>
                </div>

                <div class="MapCard-contentBodyRow MapCard-contentBodyRow--flex">
                  <% if vis[:description_html_safe] %>
                    <div class="MapCard-desc">
                      <div class="DefaultDescription" title="<%= vis[:description_html_safe].strip_tags %>"><%= raw vis[:description_html_safe] %></div>
                    </div>
                  <% else %>
                    <span class="NoResults"></span>
                  <% end %>
                </div>

                <div class="MapCard-tags">
                  <div class="DefaultTags MapCard-contentBodyRow">
                    <% if vis[:tags].size > 0 %>
                      <% formatted_tags(vis[:tags]) do |tag| %>
                        <a class="DefaultTags-item js-tag-link" href="<%= CartoDB.url(self, 'public_tag', {tag: tag}, vis[:owner]) %>"><%= tag %></a>
                      <% end %>
                    <% end %>
                  </div>
                </div>
              </div>
              <div class="MapCard-contentFooter">
                <div class="MapCard-contentFooterDetails--left">
                  <div class="MapCard-contentFooterTimeDiff DefaultTimeDiff">
                    <i class="iconFont iconFont-Clock DefaultTimeDiff-icon"></i>
                    <%= time_ago_in_words(vis[:updated_at]) %><commit_msg>Added ago sufic for public maps<commit_after><%= content_for(:title) do %>
  Maps by <%= @name %> on CartoDB
<% end %>

<%= content_for(:description) do %>
  <%= @name %> is creating maps and visualizations using CartoDB
<% end %>

<div class="PublicBody-content">
  <% if @visualizations.size == 0 %>
    <%= render 'admin/shared/new_no_results', is_maps: true, alt_url: CartoDB.url(self, 'public_datasets_home') %>
  <% else %>
    <ul class="MapsList">
      <% @visualizations.each do |vis| %>
        <li class="MapsList-item">
          <div class="MapCard" data-zoom="<%= vis[:map_zoom] %>" data-vizjson-url="<%= CartoDB.url(self, 'api_v2_visualizations_vizjson', {id: vis[:id]}, vis[:owner]) %>.json">
            <a href="<%= CartoDB.url(self, 'public_visualizations_public_map', {id: vis[:id]}, vis[:owner]) %>" class="MapCard-header js-header">
              <div class="MapCard-loader"></div>
            </a>
            <div class="MapCard-content">
              <div class="MapCard-contentBody">
                <div class="MapCard-contentBodyRow MapCard-contentBodyRow--flex">
                  <h3 class="MapCard-title DefaultTitle">
                    <a href="<%= CartoDB.url(self, 'public_visualizations_public_map', {id: vis[:id]}, vis[:owner]) %>" class="DefaultTitle-link u-ellipsLongText" title="<%= vis[:title] %>"><%= vis[:title] %></a>
                  </h3>
                </div>

                <div class="MapCard-contentBodyRow MapCard-contentBodyRow--flex">
                  <% if vis[:description_html_safe] %>
                    <div class="MapCard-desc">
                      <div class="DefaultDescription" title="<%= vis[:description_html_safe].strip_tags %>"><%= raw vis[:description_html_safe] %></div>
                    </div>
                  <% else %>
                    <span class="NoResults"></span>
                  <% end %>
                </div>

                <div class="MapCard-tags">
                  <div class="DefaultTags MapCard-contentBodyRow">
                    <% if vis[:tags].size > 0 %>
                      <% formatted_tags(vis[:tags]) do |tag| %>
                        <a class="DefaultTags-item js-tag-link" href="<%= CartoDB.url(self, 'public_tag', {tag: tag}, vis[:owner]) %>"><%= tag %></a>
                      <% end %>
                    <% end %>
                  </div>
                </div>
              </div>
              <div class="MapCard-contentFooter">
                <div class="MapCard-contentFooterDetails--left">
                  <div class="MapCard-contentFooterTimeDiff DefaultTimeDiff">
                    <i class="iconFont iconFont-Clock DefaultTimeDiff-icon"></i>
                    <%= time_ago_in_words(vis[:updated_at]) %> ago
{'fraction_non_alphanumeric': 0.17134524243528984, 'fraction_numerical': 0.0018228217280349982, 'mean_word_length': 2.0670765790944663, 'pattern_counts': {'":': 0, '<': 131, '<?xml version=': 0, '>': 133, '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': '6879847', 'n_tokens_mistral': 1747, 'n_tokens_neox': 1573, 'n_words': 300}