<commit_before>{{!-- Background Image --}}
{{#if coverImage}}
  <div class="bg-image-wrapper series" {{bind-attr style=coverImageStyle}}></div>
{{/if}}
<div class="wrapper-fade"></div>

{{!-- Library Container --}}
{{!-- bg-image when there is a background image, no-bg-image when there isn't. --}}
<div {{bind-attr class=":container coverImage:bg-image:no-bg-image"}}>
  {{!-- Library Table Row --}}
  <div class="row">
    <div class="top-buttons">
      <ul class="left-buttons">
        <li>
          <button type="button" {{bind-attr class=":btn :btn-default :top-button :heart isFavorite:active"}} {{action toggleFavorite}}>
            <i {{bind-attr class="isFavorite:icon-heart:icon-heart-empty"}}></i>
          </button>
        </li>
        <li>
        <div class="btn-group">
          <button {{bind-attr class=":btn :btn-default :dropdown-toggle :top-button libraryStatus:active"}} type="button" data-toggle="dropdown">
            {{#if libraryStatus}}
              {{libraryStatus}}
            {{else}}
              add to library
            {{/if}}
          </button>
          <ul class="dropdown-menu">
            <li><a {{action setLibraryStatus "Currently Watching"}}>Currently Watching</a></li>
            <li><a {{action setLibraryStatus "Plan to Watch"}}>Plan to Watch</a></li>
            <li><a {{action setLibraryStatus "Completed"}}>Completed</a></li>
            <li><a {{action setLibraryStatus "On Hold"}}>On Hold</a></li>
            <li><a {{action setLibraryStatus "Dropped"}}>Dropped</a></li>
            <li><a {{action setLibraryStatus nil}}>Remove from Library</a></li>
          </ul>
        </div>
        </li>
      </ul>
      <ul class="right-buttons">
        <li>
        {{!-- <button type="button" class="btn btn-default top-button">Follow Series</button> --}}
        </li>
      </ul>
    </div>
    <div class="gallery hidden-xs">
      {{#if youtubeVideoId}}
        <div class="trailer hidden-sm">
          <a target="_blank" {{bind-attr href=trailerLink}}>
            <div class="play-icon"><i class="icon-play icon-4x"></i></div>
            <img width="100%" height="auto" {{bind-attr src=trailerPreviewImage}}>
          </a>
        </div>
      {{/if}}

      <ul class="gallery-images">
        {{#each imageURL in screencaps}}
          <li class="gallery-image"><img {{bind-attr src=imageURL}}></li>
        {{/each}}
      </ul>
    </div>
    <div class="series-body">
      <div class="panel panel-default series-panel">
        <div class="series-sidebar">
          <div class="series-title-wrapper hidden-sm hidden-md hidden-lg">
            <h4 class="series-title">{{canonicalTitle}}</h4>
          </div><commit_msg>Favorite button to the right of add to library, and show only if the show is in the library.<commit_after>{{!-- Background Image --}}
{{#if coverImage}}
  <div class="bg-image-wrapper series" {{bind-attr style=coverImageStyle}}></div>
{{/if}}
<div class="wrapper-fade"></div>

{{!-- Library Container --}}
{{!-- bg-image when there is a background image, no-bg-image when there isn't. --}}
<div {{bind-attr class=":container coverImage:bg-image:no-bg-image"}}>
  {{!-- Library Table Row --}}
  <div class="row">
    <div class="top-buttons">
      <ul class="left-buttons">
        <li>
          <div class="btn-group">
            <button {{bind-attr class=":btn :btn-default :dropdown-toggle :top-button libraryStatus:active"}} type="button" data-toggle="dropdown">
              {{#if libraryStatus}}
                {{libraryStatus}}
              {{else}}
                add to library
              {{/if}}
            </button>
            <ul class="dropdown-menu">
              <li><a {{action setLibraryStatus "Currently Watching"}}>Currently Watching</a></li>
              <li><a {{action setLibraryStatus "Plan to Watch"}}>Plan to Watch</a></li>
              <li><a {{action setLibraryStatus "Completed"}}>Completed</a></li>
              <li><a {{action setLibraryStatus "On Hold"}}>On Hold</a></li>
              <li><a {{action setLibraryStatus "Dropped"}}>Dropped</a></li>
              <li><a {{action setLibraryStatus nil}}>Remove from Library</a></li>
            </ul>
          </div>
        </li>
        {{#if libraryStatus}}
          <li>
            <button type="button" {{bind-attr class=":btn :btn-default :top-button :heart isFavorite:active"}} {{action toggleFavorite}}>
              <i {{bind-attr class="isFavorite:icon-heart:icon-heart-empty"}}></i>
            </button>
          </li>
        {{/if}}
      </ul>
      <ul class="right-buttons">
        <li>
        {{!-- <button type="button" class="btn btn-default top-button">Follow Series</button> --}}
        </li>
      </ul>
    </div>
    <div class="gallery hidden-xs">
      {{#if youtubeVideoId}}
        <div class="trailer hidden-sm">
          <a target="_blank" {{bind-attr href=trailerLink}}>
            <div class="play-icon"><i class="icon-play icon-4x"></i></div>
            <img width="100%" height="auto" {{bind-attr src=trailerPreviewImage}}>
          </a>
        </div>
      {{/if}}

      <ul class="gallery-images">
        {{#each imageURL in screencaps}}
          <li class="gallery-image"><img {{bind-attr src=imageURL}}></li>
        {{/each}}
      </ul>
    </div>
    <div class="series-body">
      <div class="panel panel-default series-panel">
        <div class="series-sidebar">
          <div class="series-title-wrapper hidden-sm hidden-md hidden-lg">
            <h4 class="series-title">{{canonicalTitle}}</h4>
          </div>
{'fraction_non_alphanumeric': 0.19063004846526657, 'fraction_numerical': 0.002154011847065159, 'mean_word_length': 2.3606755126658623, 'pattern_counts': {'":': 6, '<': 157, '<?xml version=': 0, '>': 157, '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': '6975193', 'n_tokens_mistral': 1714, 'n_tokens_neox': 1669, 'n_words': 382}