<commit_before>console.log('v1.0');
scrollbarHome = $('[data-place="scrollbarHome"]');
updateScrollBarHome = function(){
    /*h = $('[data-place="groupBannerHome"]').height();
    h = h - $('.categories-home .aside-heading').eq(0).height()-50;
    h = Math.max(h, 50);
    $('#cssScrollBarHome').html( '<style>.categories-home .scrollbar{min-height:'+h+'px}</style>' );*/
};
alignHeight = function(){
    $('[data-align-height="wrap"]').each(function(i ,el){
        if( $('[data-align-height="left"]', el).length >0
            && $('[data-align-height="right"]', el).length >0 ){
            if( $(window).width() >= 768 ){
                hl = $('[data-align-height="left"]', el).height();
                hr = $('[data-align-height="right"]', el).height();
                bt = $('[data-align-height="right"]', el).data('bottom');
                if( typeof bt == 'undefined' || parseInt(bt) <= 0 ){
                    bt = 0;
                }
                console.log(bt);
                ha = Math.max(hl, hr);
                $('[data-align-height="left"]', el).css({'min-height': (hr-bt)+'px'});
            }else{
                $('[data-align-height="left"]', el).css({'min-height': '0px'});
            }
        }
    });
};
$( document ).ready(function() {
    if( $('[data-neo="owlCarousel"]').length > 0 ){
        $('[data-neo="owlCarousel"]').each(function(index, el) {
            if( typeof $(el).data('owlCarousel') == 'undefined' ){
                var config = $(el).data();
                var navText = [];
                if( typeof config.navtextleft != 'undefined' ){
                    navText.push(config.navtextleft);
                }
                if( typeof config.navtextright != 'undefined' ){
                    navText.push(config.navtextright);
                }
                if( navText.length >0 ){
                    config.navText = navText;
                }
                config.callbacks = true;
                config.onInitialized = function( e ){};
                $(el).owlCarousel(config).addClass('pjax-init').on('resized.owl.carousel', function(event) {
                }).on('refreshed.owl.carousel', function(event) {
                }).on('changed.owl.carousel', function(event) {
                });
            }
        });
    }

    $('.categories-home .navbar-pills li').hover(function(){
        if( $(this).find('>.dropdown-menu').length >0 ){
            $('.categories-home .scroll-element.scroll-y').hide();
        }
    }, function(){
        $('.categories-home .scroll-element.scroll-y').attr('style', '');
    });

    try{
        if( $('[data-neo="ionRangeSlider"]').not('.pjax-init').length>0 ){
            var $ionRangeSlider = $('[data-neo="ionRangeSlider"]').not('.pjax-init');
            $ionRangeSlider.addClass('pjax-init').ionRangeSlider({
                type: "double",
                min: 1000000,
                max: 2000000,
                grid: true,
                onStart: function (data) {},
                onChange: function (data) {
                    $('[data-place="valueRangerFrom"]').html(data.from);
                    $('[data-place="valueRangerTo"]').html(data.to);
                },
                onFinish: function (data) {
                },
                onUpdate: function (data) {}
            });
        }
    }catch(e){console.log(e);};

    $(document).on('click', '.fillter-toogle', function(e){
        e.preventDefault();
        e.stopPropagation();
        $(this).parents('.fillter-item').eq(0).toggleClass('closed');
    });<commit_msg>filter when drag price (sheet 7)<commit_after>console.log('v1.0');
scrollbarHome = $('[data-place="scrollbarHome"]');
updateScrollBarHome = function(){
    /*h = $('[data-place="groupBannerHome"]').height();
    h = h - $('.categories-home .aside-heading').eq(0).height()-50;
    h = Math.max(h, 50);
    $('#cssScrollBarHome').html( '<style>.categories-home .scrollbar{min-height:'+h+'px}</style>' );*/
};
alignHeight = function(){
    $('[data-align-height="wrap"]').each(function(i ,el){
        if( $('[data-align-height="left"]', el).length >0
            && $('[data-align-height="right"]', el).length >0 ){
            if( $(window).width() >= 768 ){
                hl = $('[data-align-height="left"]', el).height();
                hr = $('[data-align-height="right"]', el).height();
                bt = $('[data-align-height="right"]', el).data('bottom');
                if( typeof bt == 'undefined' || parseInt(bt) <= 0 ){
                    bt = 0;
                }
                console.log(bt);
                ha = Math.max(hl, hr);
                $('[data-align-height="left"]', el).css({'min-height': (hr-bt)+'px'});
            }else{
                $('[data-align-height="left"]', el).css({'min-height': '0px'});
            }
        }
    });
};
$( document ).ready(function() {
    if( $('[data-neo="owlCarousel"]').length > 0 ){
        $('[data-neo="owlCarousel"]').each(function(index, el) {
            if( typeof $(el).data('owlCarousel') == 'undefined' ){
                var config = $(el).data();
                var navText = [];
                if( typeof config.navtextleft != 'undefined' ){
                    navText.push(config.navtextleft);
                }
                if( typeof config.navtextright != 'undefined' ){
                    navText.push(config.navtextright);
                }
                if( navText.length >0 ){
                    config.navText = navText;
                }
                config.callbacks = true;
                config.onInitialized = function( e ){};
                $(el).owlCarousel(config).addClass('pjax-init').on('resized.owl.carousel', function(event) {
                }).on('refreshed.owl.carousel', function(event) {
                }).on('changed.owl.carousel', function(event) {
                });
            }
        });
    }

    $('.categories-home .navbar-pills li').hover(function(){
        if( $(this).find('>.dropdown-menu').length >0 ){
            $('.categories-home .scroll-element.scroll-y').hide();
        }
    }, function(){
        $('.categories-home .scroll-element.scroll-y').attr('style', '');
    });

    try{
        if( $('[data-neo="ionRangeSlider"]').not('.pjax-init').length>0 ){
            var $ionRangeSlider = $('[data-neo="ionRangeSlider"]').not('.pjax-init');
            $ionRangeSlider.addClass('pjax-init').ionRangeSlider({
                type: "double",
                min: 1000000,
                max: 2000000,
                grid: true,
                onStart: function (data) {},
                onChange: function (data) {
                    $('[data-place="valueRangerFrom"]').html(data.from);
                    $('[data-place="valueRangerTo"]').html(data.to);
                },
                onFinish: function (data) {
                    alert('Fillter nha');
                    var form_ = $ionRangeSlider.parents('form').eq(0);
                    form_.submit();
                },
                onUpdate: function (data) {}
            });
        }
    }catch(e){console.log(e);};

    $(document).on('click', '.fillter-toogle', function(e){
        e.preventDefault();
        e.stopPropagation();
        $(this).parents('.fillter-item').eq(0).toggleClass('closed');
    });
{'fraction_non_alphanumeric': 0.20425415871284427, 'fraction_numerical': 0.009544586855740387, 'mean_word_length': 1.784738041002278, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 23, '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': '3594332', 'n_tokens_mistral': 2262, 'n_tokens_neox': 2105, 'n_words': 307}