<commit_before><!DOCTYPE html>
<html lang="en">
  <head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# website: http://ogp.me/ns/website#">

    <%# Meta tags %>
    <meta charset="utf-8"/>
    <%= render "layouts/seo",
      use_pwa_settings: true,
      theme_colour: "#db892a"
    -%>
    <%= csrf_meta_tags %>
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <% unless Rails.env == "production" %>
      <meta name="robots" content="noindex,nofollow"/>
    <% end  %>
    <%= yield :meta %>

    <script>
      window.Ornament || (window.Ornament = {});
      // dataLayer = window.dataLayer = {};
    </script>

    <%# Styles %>
    <%= stylesheet_pack_tag "styleguide" %>
    <%= yield :styles %>

    <%# Scripts %>
    <script>
      var Ornicons = {
        chevronLeft: "<%= escape_javascript icon("chevron_left") %>",
        chevronRight: "<%= escape_javascript icon("chevron_right") %>",
        close: "<%= escape_javascript icon("close") %>"
      }
    </script>

    <%= javascript_pack_tag "application" %>
    <%= javascript_pack_tag "styleguide" %>
    <%= yield :scripts %>

    <%# Google Tag Manager - GTM-XXXXXXX %>
    <%- gtm_code = get_koi_site_setting("site.gtm_code") -%>
    <%- if gtm_code -%>
      <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
      new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
      j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
      'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
      })(window,document,'script','dataLayer','<%= gtm_code -%>');</script>
    <%- end -%>

    <%# Webfonts %>
    <%#= render "layouts/webfonts", config: {
      google: {
        families: ['Open Sans:400,700,400italic,700italic'],
      }
    } -%>

    <%# Koi Scripts %>
    <%- koi_scripts = get_koi_site_setting("site.head_scripts") -%>
    <%= koi_scripts if koi_scripts -%>

  </head>

  <body class="styleguide <%= yield :body_class -%>"> 
    <%- if gtm_code -%>
      <%# Google Tag Manager (noscript Version) %>
      <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=<%= gtm_code -%>" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
    <%- end -%>

    <a class="skip-link button button__large" href="#main">skip to content</a>

    <div class="layout">
      <div class="layout--content" data-tray-scroll-positioner>

        <div class="layout--positioner">
          <div class="styleguide-page" data-tray-overlay-darken>
            <div class="styleguide-page--sidebar" data-tray-overlay>
              <button class="styleguide-page--sidebar--close" data-tray-close title="Close menu">
                <div>
                  <span>Close menu</span>
                  <%= icon "close", width: 16, height: 16 %>
                </div>
              </button>

              <div class="styleguide-page--sidebar--filter">
                <%= icon("search", width: 16, height: 16) %>
                <input type="text" placeholder="Filter" aria-label="Filter pages" data-sidebar-filter-input />
              </div>
              <%= render "layouts/styleguide/styleguide_navigation" %>

            </div>
            <main role="main" class="styleguide-page--main environment-<%= Rails.env -%>">

              <% large_header = request.path.eql?(styleguide_path) %>
              <header class="header <%= "header__main" if large_header %>" role="banner">
                <button class="header--menu" title="Open menu" data-tray-button>
                  <%= icon("hamburger", width: 25, height: 23) -%>
                </button>
<commit_msg>Added #top anchor to documentation page<commit_after><!DOCTYPE html>
<html lang="en">
  <head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# website: http://ogp.me/ns/website#">

    <%# Meta tags %>
    <meta charset="utf-8"/>
    <%= render "layouts/seo",
      use_pwa_settings: true,
      theme_colour: "#db892a"
    -%>
    <%= csrf_meta_tags %>
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <% unless Rails.env == "production" %>
      <meta name="robots" content="noindex,nofollow"/>
    <% end  %>
    <%= yield :meta %>

    <script>
      window.Ornament || (window.Ornament = {});
      // dataLayer = window.dataLayer = {};
    </script>

    <%# Styles %>
    <%= stylesheet_pack_tag "styleguide" %>
    <%= yield :styles %>

    <%# Scripts %>
    <script>
      var Ornicons = {
        chevronLeft: "<%= escape_javascript icon("chevron_left") %>",
        chevronRight: "<%= escape_javascript icon("chevron_right") %>",
        close: "<%= escape_javascript icon("close") %>"
      }
    </script>

    <%= javascript_pack_tag "application" %>
    <%= javascript_pack_tag "styleguide" %>
    <%= yield :scripts %>

    <%# Google Tag Manager - GTM-XXXXXXX %>
    <%- gtm_code = get_koi_site_setting("site.gtm_code") -%>
    <%- if gtm_code -%>
      <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
      new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
      j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
      'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
      })(window,document,'script','dataLayer','<%= gtm_code -%>');</script>
    <%- end -%>

    <%# Webfonts %>
    <%#= render "layouts/webfonts", config: {
      google: {
        families: ['Open Sans:400,700,400italic,700italic'],
      }
    } -%>

    <%# Koi Scripts %>
    <%- koi_scripts = get_koi_site_setting("site.head_scripts") -%>
    <%= koi_scripts if koi_scripts -%>

  </head>

  <body class="styleguide <%= yield :body_class -%>"> 
    <%- if gtm_code -%>
      <%# Google Tag Manager (noscript Version) %>
      <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=<%= gtm_code -%>" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
    <%- end -%>

    <a class="skip-link button button__large" href="#main">skip to content</a>

    <div class="layout" id="top">
      <div class="layout--content" data-tray-scroll-positioner>

        <div class="layout--positioner">
          <div class="styleguide-page" data-tray-overlay-darken>
            <div class="styleguide-page--sidebar" data-tray-overlay>
              <button class="styleguide-page--sidebar--close" data-tray-close title="Close menu">
                <div>
                  <span>Close menu</span>
                  <%= icon "close", width: 16, height: 16 %>
                </div>
              </button>

              <div class="styleguide-page--sidebar--filter">
                <%= icon("search", width: 16, height: 16) %>
                <input type="text" placeholder="Filter" aria-label="Filter pages" data-sidebar-filter-input />
              </div>
              <%= render "layouts/styleguide/styleguide_navigation" %>

            </div>
            <main role="main" class="styleguide-page--main environment-<%= Rails.env -%>">

              <% large_header = request.path.eql?(styleguide_path) %>
              <header class="header <%= "header__main" if large_header %>" role="banner">
                <button class="header--menu" title="Open menu" data-tray-button>
                  <%= icon("hamburger", width: 25, height: 23) -%>
                </button>

{'fraction_non_alphanumeric': 0.19571947772243908, 'fraction_numerical': 0.008614887602638309, 'mean_word_length': 2.636808614782183, 'pattern_counts': {'":': 0, '<': 157, '<?xml version=': 0, '>': 157, 'https://': 4, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 2, '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': '3231709', 'n_tokens_mistral': 2735, 'n_tokens_neox': 2498, 'n_words': 396}