<commit_before>$(document).ready(function() {
    (function() {
        if (
            '-ms-user-select' in document.documentElement.style &&
            navigator.userAgent.match(/IEMobile/)
        ) {
            var msViewportStyle = document.createElement('style');
            msViewportStyle.appendChild(
                document.createTextNode('@-ms-viewport{width:auto!important}')
            );
            document
                .getElementsByTagName('head')[0]
                .appendChild(msViewportStyle);
        }
    })();

    var $window = $(window);
    var $menuAnchor = $('#nav-main-menu .dropdown-toggle');

    function stickyNavBar() {
        if ($(document).scrollTop() > 50) {
            $('#navigation').addClass('sticky');
        } else {
            $('#navigation').removeClass('sticky');
        }
    }

    function sizeDependentMenuBehaviour() {
        var windowWidth = $(window).width();
        var breakpoint = window.GRID_FLOAT_BREAKPOINT || 768;
        if (windowWidth < breakpoint) {
            $menuAnchor.attr('data-toggle', 'dropdown');
        } else {
            $menuAnchor.attr('data-toggle', '');
        }
        if (!window.STICKYNAV_DISABLED) {
            stickyNavBar();
        }
    }

    function backToTop() {
        // Display "Back to top" button if page height is longer than
        // 700px or twice the browser height<commit_msg>Sticky fix<commit_after>$(document).ready(function() {
    (function() {
        if (
            '-ms-user-select' in document.documentElement.style &&
            navigator.userAgent.match(/IEMobile/)
        ) {
            var msViewportStyle = document.createElement('style');
            msViewportStyle.appendChild(
                document.createTextNode('@-ms-viewport{width:auto!important}')
            );
            document
                .getElementsByTagName('head')[0]
                .appendChild(msViewportStyle);
        }
    })();

    var $window = $(window);
    var $menuAnchor = $('#nav-main-menu .dropdown-toggle');

    function stickyNavBar() {
        var alwaysSticky = window.STICKY_BY_DEFAULT_BELOW || 768;
        var sctop = window.STICKY_SCROLL_TOP || 0;
        if (
            $(window).width() < alwaysSticky ||
            $(document).scrollTop() > sctop
        ) {
            $('#navigation').addClass('sticky');
        } else {
            $('#navigation').removeClass('sticky');
        }
    }

    function sizeDependentMenuBehaviour() {
        var windowWidth = $(window).width();
        var breakpoint = window.GRID_FLOAT_BREAKPOINT || 768;
        if (windowWidth < breakpoint) {
            $menuAnchor.attr('data-toggle', 'dropdown');
        } else {
            $menuAnchor.attr('data-toggle', '');
        }
        if (!window.STICKYNAV_DISABLED) {
            stickyNavBar();
        }
    }

    function backToTop() {
        // Display "Back to top" button if page height is longer than
        // 700px or twice the browser height
{'fraction_non_alphanumeric': 0.13743760399334443, 'fraction_numerical': 0.0066555740432612314, 'mean_word_length': 1.9326829268292682, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 5, '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': '5811157', 'n_tokens_mistral': 850, 'n_tokens_neox': 817, 'n_words': 146}