<commit_before><script type="text/javascript">
    function addMarginForFooter() {
        let addToCartSticky = document.querySelector('[data-aos-id="addtocart-sticky"]');

        if (addToCartSticky) {
            let footer = document.querySelector('footer');
            footer.style.marginBottom = addToCartSticky.offsetHeight + 'px';
        }
    }

    require([
            'aos'
        ],
        function(aos) {
            aos.init();
            addMarginForFooter();

            window.addEventListener('resize', function() {
                addMarginForFooter();
            });
        });
</script>
<commit_msg>64572 margin for footer with sticky add to cart on onload<commit_after><script type="text/javascript">
    function addMarginForFooter() {
        let addToCartSticky = document.querySelector('[data-aos-id="addtocart-sticky"]');

        if (addToCartSticky) {
            let footer = document.querySelector('footer');
            footer.style.marginBottom = addToCartSticky.offsetHeight + 'px';
        }
    }

    require([
            'aos'
        ],
        function(aos) {
            aos.init();
            addMarginForFooter();

            window.addEventListener('resize', function() {
                addMarginForFooter();
            });

            window.addEventListener('onload', function() {
                addMarginForFooter();
            });
        });
</script>

{'fraction_non_alphanumeric': 0.1267605633802817, 'fraction_numerical': 0.0035211267605633804, 'mean_word_length': 1.9481327800829875, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '240245', 'n_tokens_mistral': 395, 'n_tokens_neox': 384, 'n_words': 61}