<commit_before><% if @presenter.tombstone? %>
  <%= render partial: 'media_tombstone', locals: { presenter: @presenter } %>
<% else %>
<figure title="<%= @presenter.alt_text.first %>">
  <%# note that the fulcrum-embed-link hover display relies on it being the first child of <figure> %>
  <div class="fulcrum-embed-link<%= ' audio no-transcript' if @presenter.audio_without_transcript? %>">
    <%# note embed_fulcrum_logo_title is double-quoted, <base target="_blank"> in embedded.html.erb doesn't work here %>
    <a href="<%= @presenter.embed_fulcrum_logo_link %>"
       aria-label='<%= @presenter.embed_fulcrum_logo_title %>'
       target="_blank">
      <%= image_tag "fulcrum-logo-circle.png", class: 'logo', alt: 'Fulcrum logo' %>
    </a>
  </div>
  <div class="fulcrum-media-wrapper<%= ' audio no-transcript' if @presenter.audio_without_transcript? %>">
  <%= render partial: @presenter.heliotrope_media_partial('media_display_embedded'), locals: { file_set: @presenter } %>
  </div>
</figure>
<% end %>
<%= render 'shared/ga' %><commit_msg>tombstoning should not affect embed views<commit_after><%# Note no equivalent to `media_tombstone` partial here as we want tombstoned files to continue displaying in EPUBs %>
<figure title="<%= @presenter.alt_text.first %>">
  <%# note that the fulcrum-embed-link hover display relies on it being the first child of <figure> %>
  <div class="fulcrum-embed-link<%= ' audio no-transcript' if @presenter.audio_without_transcript? %>">
    <%# note embed_fulcrum_logo_title is double-quoted, <base target="_blank"> in embedded.html.erb doesn't work here %>
    <a href="<%= @presenter.embed_fulcrum_logo_link %>"
       aria-label='<%= @presenter.embed_fulcrum_logo_title %>'
       target="_blank">
      <%= image_tag "fulcrum-logo-circle.png", class: 'logo', alt: 'Fulcrum logo' %>
    </a>
  </div>
  <div class="fulcrum-media-wrapper<%= ' audio no-transcript' if @presenter.audio_without_transcript? %>">
  <%= render partial: @presenter.heliotrope_media_partial('media_display_embedded'), locals: { file_set: @presenter } %>
  </div>
</figure>
<%= render 'shared/ga' %>
{'fraction_non_alphanumeric': 0.1657250470809793, 'fraction_numerical': 0.0, 'mean_word_length': 4.935754189944134, 'pattern_counts': {'":': 0, '<': 48, '<?xml version=': 0, '>': 48, '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': '4663420', 'n_tokens_mistral': 767, 'n_tokens_neox': 708, 'n_words': 166}