<commit_before>$(function() {

    /**
     * Masonry
     * @author <NAME>
     */
    var $grid = $('.msry__container');
    $grid.imagesLoaded(function() {
        $grid.masonry({
            itemSelector: '.msry__item',
            percentPosition: true,
            columnWidth: '.msry__sizer'
        });
        $grid.addClass('is-ready');
    });

    /**
     * Rsponsive menu
     * @author <NAME>
     */

    var toggleButton = $('.menu__toggle'),
        navigation = $('.navigation');

    toggleButton.on('click', function(event) {
        event.preventDefault();
        $(this).toggleClass('toggled');
        navigation.slideToggle();
    });

    // hide submit button if browser has javascript support and can react to onchange event
    $('#language_selector_form').change(function() { this.submit(); });
    $('#language_selector_form input').hide();

    /**
     * Lightslider
     */
    $("#lightSlider").lightSlider({
        item: 1,
        autoWidth: false,
        slideMove: 1, // slidemove will be 1 if loop is true
        slideMargin: 10,

        addClass: '',
        mode: "fade",
        useCSS: true,
        cssEasing: 'ease', //'cubic-bezier(0.25, 0, 0.25, 1)',//
        easing: 'linear', //'for jquery animation',////

        speed: 800, //ms'
        auto: true,
        loop: true,
        slideEndAnimation: true,
        pause: 8000,

        keyPress: true,
        controls: true,
        prevHtml: '',
        nextHtml: '',

        rtl: false,
        adaptiveHeight: false,

        vertical: false,
        verticalHeight: 500,
        vThumbWidth: 100,

        thumbItem: 10,
        pager: true,
        gallery: false,
        galleryMargin: 5,
        thumbMargin: 5,
        currentPagerPosition: 'middle',

        enableTouch: true,
        enableDrag: false,
        freeMove: false,
        swipeThreshold: 40,

        responsive: [],

        onBeforeStart: function(el) {},
        onSliderLoad: function(el) {
            $(".hero__slider").addClass('is-ready');
            console.log('is-ready');
        },
        onBeforeSlide: function(el) {},
        onAfterSlide: function(el) {
            // el.find('.container').fadeIn();
        },
        onBeforeNextSlide: function(el) {},
        onBeforePrevSlide: function(el) {}
    });

    /**
     * Close message
     */

    var notification = $('#js-notificationContainer');

    $('.js-notificationClose').on('click', function(event) {
        notification.addClass('notification__remove');

        setTimeout(function() {
            notification.remove();
        }, 4000);
    });

    /**
     * Instafeed
     * @author <NAME>
     */

    var t = new Instafeed({
        get: "user",
        userId: 1343260619,
        accessToken: "2985811.467ede5.2d850141659d4a5fab04f28187e580cd",
        sortBy: "most-recent",
        limit: 8,
        template: '<div class="box-item-25"> <a href="{{link}}" target="_blank"> <img src="{{image}}" alt="{{caption}}"></a></div>',
        error: function() {
            $(".instagram").remove()
        }
    });

    $("#instafeed").length && t.run();

    /**
     * Tabs<commit_msg>Instagram feed, now hashtag #manifeste16<commit_after>$(function() {

    /**
     * Masonry
     * @author <NAME>
     */
    var $grid = $('.msry__container');
    $grid.imagesLoaded(function() {
        $grid.masonry({
            itemSelector: '.msry__item',
            percentPosition: true,
            columnWidth: '.msry__sizer'
        });
        $grid.addClass('is-ready');
    });

    /**
     * Rsponsive menu
     * @author <NAME>
     */

    var toggleButton = $('.menu__toggle'),
        navigation = $('.navigation');

    toggleButton.on('click', function(event) {
        event.preventDefault();
        $(this).toggleClass('toggled');
        navigation.slideToggle();
    });

    // hide submit button if browser has javascript support and can react to onchange event
    $('#language_selector_form').change(function() { this.submit(); });
    $('#language_selector_form input').hide();

    /**
     * Lightslider
     */
    $("#lightSlider").lightSlider({
        item: 1,
        autoWidth: false,
        slideMove: 1, // slidemove will be 1 if loop is true
        slideMargin: 10,

        addClass: '',
        mode: "fade",
        useCSS: true,
        cssEasing: 'ease', //'cubic-bezier(0.25, 0, 0.25, 1)',//
        easing: 'linear', //'for jquery animation',////

        speed: 800, //ms'
        auto: true,
        loop: true,
        slideEndAnimation: true,
        pause: 8000,

        keyPress: true,
        controls: true,
        prevHtml: '',
        nextHtml: '',

        rtl: false,
        adaptiveHeight: false,

        vertical: false,
        verticalHeight: 500,
        vThumbWidth: 100,

        thumbItem: 10,
        pager: true,
        gallery: false,
        galleryMargin: 5,
        thumbMargin: 5,
        currentPagerPosition: 'middle',

        enableTouch: true,
        enableDrag: false,
        freeMove: false,
        swipeThreshold: 40,

        responsive: [],

        onBeforeStart: function(el) {},
        onSliderLoad: function(el) {
            $(".hero__slider").addClass('is-ready');
            console.log('is-ready');
        },
        onBeforeSlide: function(el) {},
        onAfterSlide: function(el) {
            // el.find('.container').fadeIn();
        },
        onBeforeNextSlide: function(el) {},
        onBeforePrevSlide: function(el) {}
    });

    /**
     * Close message
     */

    var notification = $('#js-notificationContainer');

    $('.js-notificationClose').on('click', function(event) {
        notification.addClass('notification__remove');

        setTimeout(function() {
            notification.remove();
        }, 4000);
    });

    /**
     * Instafeed
     * @author <NAME>
     */

    var t = new Instafeed({
        get: 'tagged',
        tagName: 'manifeste16',
        userId: 1343260619,
        accessToken: "2985811.467ede5.2d850141659d4a5fab04f28187e580cd",
        sortBy: "most-recent",
        limit: 8,
        template: '<div class="box-item-25"> <a href="{{link}}" target="_blank"> <img src="{{image}}" alt="{{caption}}"></a></div>',
        error: function() {
            $(".instagram").remove()
        }
    });

    $("#instafeed").length && t.run();

    /**
     * Tabs
{'fraction_non_alphanumeric': 0.1595861420285311, 'fraction_numerical': 0.026336416366201598, 'mean_word_length': 1.9360331339162449, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, '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': '330406', 'n_tokens_mistral': 2025, 'n_tokens_neox': 1858, 'n_words': 381}