<commit_before>slidesharePresentationStack = {
    container: document.getElementById('slideshare_slides'),

    init: function () {
        if (this.container)
            this.getRssFeedViaYQL('http://www.slideshare.net/rss/user/' + this.container.getAttribute('data-username'));
    },

    extract: function (text, regex) {
        return text.match(regex)[1];
    },

    fetchContainerAttributeValueOrDefaultTo: function (attributeName, defaultValue) {
        var value = this.container.getAttribute(attributeName);
        if (!value) value = defaultValue;
        return value;
    },

    jsTag: function (url) {
        var script = document.createElement('script');
        script.setAttribute('type', 'text/javascript');
        script.setAttribute('src', url);
        return script;
    },

    cssTag: function () {
        var border = this.fetchContainerAttributeValueOrDefaultTo('data-border', '3px');
        var borderColor = this.fetchContainerAttributeValueOrDefaultTo('data-border-color', '#c4c4c4');
        var slideDividerThickness = this.fetchContainerAttributeValueOrDefaultTo('data-navigation-slide-divider-thickness', '2px');
        var slideDividerColor = this.fetchContainerAttributeValueOrDefaultTo('data-navigation-slide-divider-color', '#FF2635');
        var navigationThumbnailWidth = this.fetchContainerAttributeValueOrDefaultTo('data-navigation-thumbnail-width-percentage', '35%');
        var navigationPresentationTitleLeftMargin = (parseInt(navigationThumbnailWidth.replace('%', '')) + 3) + "%";
        var verticalScrollBarWidth = this.fetchContainerAttributeValueOrDefaultTo('data-vertical-scroll-bar-width', '6px');
        var verticalScrollBarColor = this.fetchContainerAttributeValueOrDefaultTo('data-vertical-scroll-bar-color', '#FF2635');
        var remainingVerticalScrollBarWidth = (parseInt(verticalScrollBarWidth.replace('px', '')) - 2) + "px";
        var fontFamily = this.fetchContainerAttributeValueOrDefaultTo('data-font-family', 'Helvetica, Arial, Tahoma, sans-serif');
        var fontSize = this.fetchContainerAttributeValueOrDefaultTo('data-font-size', '13px');
        var fontWeight = this.fetchContainerAttributeValueOrDefaultTo('data-font-weight', '700');
        var fontColor = this.fetchContainerAttributeValueOrDefaultTo('data-font-color', '#333');
        var fontBackground = this.fetchContainerAttributeValueOrDefaultTo('data-slide-title-background', '#fff');
        var fontBackgroundOnHover = this.fetchContainerAttributeValueOrDefaultTo('data-slide-title-background-on-hover', '#F0F0F0');
        var selectedSlideBackGround = this.fetchContainerAttributeValueOrDefaultTo('data-selected-slide-background-color-in-navigation', '#fff');
        var selectedSlideTitleColor = this.fetchContainerAttributeValueOrDefaultTo('data-selected-slide-text-color-in-navigation', '#333');
        var selectedFontWeight = this.fetchContainerAttributeValueOrDefaultTo('data-selected-slide-text-font-weight-in-navigation', '700');
        var css = "#slideshare_slides{border:" + border + " solid " + borderColor + "; position:relative; padding-bottom: 5px;} \
                   #slideshare_slides *{margin:0; padding:0; list-style:none; float:none;} \
                   #slideshare_slides .slidesharepresentations{ overflow-x:hidden; overflow-y:auto; height: 100%;} \
                   #slideshare_slides .slidesharepresentations li{padding:4px; display: inline-table; border-bottom: " + slideDividerThickness + " solid " + slideDividerColor + "; margin-bottom: 2px; width: 96%;} \
                   #slideshare_slides .slidesharepresentations li .thumbnail{float: left; width: " + navigationThumbnailWidth + ";} \
                   #slideshare_slides .slidesharepresentations li .title{margin-left: " + navigationPresentationTitleLeftMargin + "; padding-top:6px} \
                   #slideshare_slides .slidesharepresentations li img{float: left; margin-right: 5px; width: 100%;} \<commit_msg>default font weight changed to 500 from 700<commit_after>slidesharePresentationStack = {
    container: document.getElementById('slideshare_slides'),

    init: function () {
        if (this.container)
            this.getRssFeedViaYQL('http://www.slideshare.net/rss/user/' + this.container.getAttribute('data-username'));
    },

    extract: function (text, regex) {
        return text.match(regex)[1];
    },

    fetchContainerAttributeValueOrDefaultTo: function (attributeName, defaultValue) {
        var value = this.container.getAttribute(attributeName);
        if (!value) value = defaultValue;
        return value;
    },

    jsTag: function (url) {
        var script = document.createElement('script');
        script.setAttribute('type', 'text/javascript');
        script.setAttribute('src', url);
        return script;
    },

    cssTag: function () {
        var border = this.fetchContainerAttributeValueOrDefaultTo('data-border', '3px');
        var borderColor = this.fetchContainerAttributeValueOrDefaultTo('data-border-color', '#c4c4c4');
        var slideDividerThickness = this.fetchContainerAttributeValueOrDefaultTo('data-navigation-slide-divider-thickness', '2px');
        var slideDividerColor = this.fetchContainerAttributeValueOrDefaultTo('data-navigation-slide-divider-color', '#FF2635');
        var navigationThumbnailWidth = this.fetchContainerAttributeValueOrDefaultTo('data-navigation-thumbnail-width-percentage', '35%');
        var navigationPresentationTitleLeftMargin = (parseInt(navigationThumbnailWidth.replace('%', '')) + 3) + "%";
        var verticalScrollBarWidth = this.fetchContainerAttributeValueOrDefaultTo('data-vertical-scroll-bar-width', '6px');
        var verticalScrollBarColor = this.fetchContainerAttributeValueOrDefaultTo('data-vertical-scroll-bar-color', '#FF2635');
        var remainingVerticalScrollBarWidth = (parseInt(verticalScrollBarWidth.replace('px', '')) - 2) + "px";
        var fontFamily = this.fetchContainerAttributeValueOrDefaultTo('data-font-family', 'Helvetica, Arial, Tahoma, sans-serif');
        var fontSize = this.fetchContainerAttributeValueOrDefaultTo('data-font-size', '13px');
        var fontWeight = this.fetchContainerAttributeValueOrDefaultTo('data-font-weight', '500');
        var fontColor = this.fetchContainerAttributeValueOrDefaultTo('data-font-color', '#333');
        var fontBackground = this.fetchContainerAttributeValueOrDefaultTo('data-slide-title-background', '#fff');
        var fontBackgroundOnHover = this.fetchContainerAttributeValueOrDefaultTo('data-slide-title-background-on-hover', '#F0F0F0');
        var selectedSlideBackGround = this.fetchContainerAttributeValueOrDefaultTo('data-selected-slide-background-color-in-navigation', '#fff');
        var selectedSlideTitleColor = this.fetchContainerAttributeValueOrDefaultTo('data-selected-slide-text-color-in-navigation', '#333');
        var selectedFontWeight = this.fetchContainerAttributeValueOrDefaultTo('data-selected-slide-text-font-weight-in-navigation', '700');
        var css = "#slideshare_slides{border:" + border + " solid " + borderColor + "; position:relative; padding-bottom: 5px;} \
                   #slideshare_slides *{margin:0; padding:0; list-style:none; float:none;} \
                   #slideshare_slides .slidesharepresentations{ overflow-x:hidden; overflow-y:auto; height: 100%;} \
                   #slideshare_slides .slidesharepresentations li{padding:4px; display: inline-table; border-bottom: " + slideDividerThickness + " solid " + slideDividerColor + "; margin-bottom: 2px; width: 96%;} \
                   #slideshare_slides .slidesharepresentations li .thumbnail{float: left; width: " + navigationThumbnailWidth + ";} \
                   #slideshare_slides .slidesharepresentations li .title{margin-left: " + navigationPresentationTitleLeftMargin + "; padding-top:6px} \
                   #slideshare_slides .slidesharepresentations li img{float: left; margin-right: 5px; width: 100%;} \
{'fraction_non_alphanumeric': 0.12481165243596183, 'fraction_numerical': 0.013561024610748368, 'mean_word_length': 4.199086161879896, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '802707', 'n_tokens_mistral': 2274, 'n_tokens_neox': 2198, 'n_words': 353}