<commit_before>(function(){
    
var DONT_HASH_TYPE_PREFIX = 'dh-';
var $w = $(window);
var deferredImages = [];

Kwf.Utils.ResponsiveImg = function (selector) {
    Kwf.onJElementWidthChange(selector, function responsiveImg(el) {
        if (el.hasClass('loadImmediately') || isElementInView(el)) {
            if (!el.data('responsiveImgInitDone')) {
                initResponsiveImgEl(el);
            } else {
                checkResponsiveImgEl(el);
            }
        } else {
            deferredImages.push(el);
        }
    }, { defer: true });
};

var lastScrollTop = null;
$(function() {
    $w.scroll(function()
    {
        if (lastScrollTop && Math.abs($w.scrollTop()-lastScrollTop) < 50) {
            //only check for images to load in steps of 50px, we can do that as we load 50px in advance<commit_msg>only add el to deferredImages once<commit_after>(function(){
    
var DONT_HASH_TYPE_PREFIX = 'dh-';
var $w = $(window);
var deferredImages = [];

Kwf.Utils.ResponsiveImg = function (selector) {
    Kwf.onJElementWidthChange(selector, function responsiveImg(el) {
        if (el.hasClass('loadImmediately') || isElementInView(el)) {
            if (!el.data('responsiveImgInitDone')) {
                initResponsiveImgEl(el);
            } else {
                checkResponsiveImgEl(el);
            }
        } else {
            if (!el.data('responsiveImgInitDeferred')) {
                deferredImages.push(el);
                el.data('responsiveImgInitDeferred', true);
            }
        }
    }, { defer: true });
};

var lastScrollTop = null;
$(function() {
    $w.scroll(function()
    {
        if (lastScrollTop && Math.abs($w.scrollTop()-lastScrollTop) < 50) {
            //only check for images to load in steps of 50px, we can do that as we load 50px in advance
{'fraction_non_alphanumeric': 0.130939226519337, 'fraction_numerical': 0.0066298342541436465, 'mean_word_length': 2.3537037037037036, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '639509', 'n_tokens_mistral': 576, 'n_tokens_neox': 540, 'n_words': 120}