<commit_before><nav class="nav-tabs" role="navigation">
  <ul>
    <li class='active'>
      <a href="#overview" data-toggle="tab">Overview</a>
    </li>
    <li>
      <a href="#import" data-toggle="tab">Import</a>
    </li>
    <li>
      <a href="#export" data-toggle="tab">Export</a>
    </li>
    <li>
      <a href="#footnotes" data-toggle="tab">Footnotes</a>
    </li>
  </ul>
</nav>

<div id="measures-js" class='tab-content'>
  <article class='tab-pane active' id='overview'>
    <%= render partial: 'declarables/consigned', locals: { declarable: declarable } %>
    <div class="inner">
      <h1 class="visuallyhidden">Overview</h1>
      <%= render partial: 'declarables/filtered_by_country', locals: { search: @search } %>
      <h2>Import</h2>
      <p>The commodity code for importing is <em><%= declarable.code %></em>.</p>
      <% if declarable.third_country_duty_rate.present? %>
        <p>Importing from outside the EU is subject to a third country duty of <em><%= declarable.third_country_duty_rate %></em>.</p>
      <% else %>
        <p>Importing from outside the EU is subject to <em>variable</em> third country duty.</p>
      <% end %>
      <% declarable.import_measures.vat.national.each do |measure| %>
        <p>Goods are subject to <%= measure.measure_type_description %>.</p>
      <% end %>

      <% if declarable.display_meursing_table? %>
        <h1>Find meursing code</h1>
        <p><%= link_to "Find the meursing code", "https://www.gov.uk/additional-commodity-code", rel: "external", target: "_blank", title: "Opens in a new window" %> for this commodity. To calculate the duty rate, enter the meursing code (without the 7 at the start) into the <%= link_to "meursing calculator", declarable.meursing_tool_link_for(@search.date.to_taric_date), rel: "external", target: "_blank", title: "Opens in a new window" %>.</p>
      <% end %>

      <h2>Export</h2>
      <p>The commodity code for exporting and intrastat reporting is <em><%= declarable.display_export_code %></em>.</p>

      <h2>Binding Tariff Information</h2>
      <p>You can search the EU EBTI-database for existing <%= link_to "Binding Tariff Information", declarable.bti_url, rel: "external", target: "_blank", title: "Opens in a new window" %> for commodity code <em><%= declarable.code %></em>.</p>

      <div class="help-notice">
        <p> See <a href="#import" data-toggle='tab'>import</a> and <a href="#export" data-toggle='tab'>export</a> tables for country-specific measures and restrictions. See <a href="#footnotes" data-toggle='tab'>footnotes</a> table for specific commodity and measures footnotes.</p>
      </div>

      <nav class="part-pagination return-to-top"><commit_msg>Remove country-filter notice from overview tab.<commit_after><nav class="nav-tabs" role="navigation">
  <ul>
    <li class='active'>
      <a href="#overview" data-toggle="tab">Overview</a>
    </li>
    <li>
      <a href="#import" data-toggle="tab">Import</a>
    </li>
    <li>
      <a href="#export" data-toggle="tab">Export</a>
    </li>
    <li>
      <a href="#footnotes" data-toggle="tab">Footnotes</a>
    </li>
  </ul>
</nav>

<div id="measures-js" class='tab-content'>
  <article class='tab-pane active' id='overview'>
    <%= render partial: 'declarables/consigned', locals: { declarable: declarable } %>
    <div class="inner">
      <h1 class="visuallyhidden">Overview</h1>
      <h2>Import</h2>
      <p>The commodity code for importing is <em><%= declarable.code %></em>.</p>
      <% if declarable.third_country_duty_rate.present? %>
        <p>Importing from outside the EU is subject to a third country duty of <em><%= declarable.third_country_duty_rate %></em>.</p>
      <% else %>
        <p>Importing from outside the EU is subject to <em>variable</em> third country duty.</p>
      <% end %>
      <% declarable.import_measures.vat.national.each do |measure| %>
        <p>Goods are subject to <%= measure.measure_type_description %>.</p>
      <% end %>

      <% if declarable.display_meursing_table? %>
        <h1>Find meursing code</h1>
        <p><%= link_to "Find the meursing code", "https://www.gov.uk/additional-commodity-code", rel: "external", target: "_blank", title: "Opens in a new window" %> for this commodity. To calculate the duty rate, enter the meursing code (without the 7 at the start) into the <%= link_to "meursing calculator", declarable.meursing_tool_link_for(@search.date.to_taric_date), rel: "external", target: "_blank", title: "Opens in a new window" %>.</p>
      <% end %>

      <h2>Export</h2>
      <p>The commodity code for exporting and intrastat reporting is <em><%= declarable.display_export_code %></em>.</p>

      <h2>Binding Tariff Information</h2>
      <p>You can search the EU EBTI-database for existing <%= link_to "Binding Tariff Information", declarable.bti_url, rel: "external", target: "_blank", title: "Opens in a new window" %> for commodity code <em><%= declarable.code %></em>.</p>

      <div class="help-notice">
        <p> See <a href="#import" data-toggle='tab'>import</a> and <a href="#export" data-toggle='tab'>export</a> tables for country-specific measures and restrictions. See <a href="#footnotes" data-toggle='tab'>footnotes</a> table for specific commodity and measures footnotes.</p>
      </div>

      <nav class="part-pagination return-to-top">
{'fraction_non_alphanumeric': 0.16903781355297642, 'fraction_numerical': 0.0041183077499064025, 'mean_word_length': 3.650130548302872, 'pattern_counts': {'":': 0, '<': 172, '<?xml version=': 0, '>': 172, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '233062', 'n_tokens_mistral': 1805, 'n_tokens_neox': 1691, 'n_words': 472}