<commit_before>- if @map_data.present?
  %section#map-view
    -# literal HTML is needed here to avoid haml introducing a space between the paragraphs
    <div id='search-summary-container'><p id='map-view-control'></p><div id='search-summary' title="#{@search_summary_plain}">
    <div>
    = @search_summary_html
    </div>
    <div>
    = @map_search_summary_html
    </div>
    </div>
    </div>

    %div#map-canvas
    = render 'component/search/map_data'
    %noscript
      %style>
        -# hides map when JS is disabled
        = "#map-view {display:none;}"<commit_msg>Fixes #378 - adds !important to fallback CSS<commit_after>- if @map_data.present?
  %section#map-view
    -# literal HTML is needed here to avoid haml introducing a space between the paragraphs
    <div id='search-summary-container'><p id='map-view-control'></p><div id='search-summary' title="#{@search_summary_plain}">
    <div>
    = @search_summary_html
    </div>
    <div>
    = @map_search_summary_html
    </div>
    </div>
    </div>

    %div#map-canvas
    = render 'component/search/map_data'
    %noscript
      %style>
        -# hides map when JS is disabled
        = "#map-view {display:none !important;}"
{'fraction_non_alphanumeric': 0.14309484193011648, 'fraction_numerical': 0.0024958402662229617, 'mean_word_length': 3.01, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 25, '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': '2402503', 'n_tokens_mistral': 404, 'n_tokens_neox': 393, 'n_words': 94}