<commit_before># -*- coding: utf-8 -*-
"""
Assets bundles
"""
from webassets import Bundle

# Register custom webasset filter for RCssMin minifier
from webassets.filter import register_filter
from rcssmin_webassets_filter import RCSSMin
register_filter(RCSSMin)

"""
BASE BUNDLES, contains common app/components bundles, do not register your
main bundles here. However you can comment/uncomment some app files for your
needs.
"""
AVALAIBLE_BUNDLES = {
    # App bundle for Modernizr
    'modernizr_f5_js': Bundle(
        "js/foundation5/vendor/modernizr.js",
        filters='closure_js',
        output='js/modernizr_f5.min.js'
    ),
    'modernizr_f6_js': Bundle(
        "js/foundation6/vendor/modernizr.js",
        filters='closure_js',
        output='js/modernizr_f6.min.js'
    ),

    # Bundle for Foundation JAVASCRIPT stuff
    'foundation5_js': Bundle(
        "js/foundation5/vendor/jquery.js",
        "js/foundation5/vendor/jquery.cookie.js",
        "js/foundation5/foundation/foundation.js",
        "js/foundation5/foundation/foundation.abide.js",
        "js/foundation5/foundation/foundation.accordion.js",
        "js/foundation5/foundation/foundation.alert.js",
        "js/foundation5/foundation/foundation.clearing.js",
        "js/foundation5/foundation/foundation.dropdown.js",
        "js/foundation5/foundation/foundation.equalizer.js",
        "js/foundation5/foundation/foundation.interchange.js",
        "js/foundation5/foundation/foundation.joyride.js",
        "js/foundation5/foundation/foundation.magellan.js",
        "js/foundation5/foundation/foundation.offcanvas.js",
        "js/foundation5/foundation/foundation.reveal.js",
        "js/foundation5/foundation/foundation.slider.js",
        "js/foundation5/foundation/foundation.tab.js",
        "js/foundation5/foundation/foundation.tooltip.js",
        "js/foundation5/foundation/foundation.topbar.js",
        filters='closure_js',
        output='js/foundation5.min.js'
    ),

    'foundation6_js': Bundle(
        "js/foundation6/vendor/jquery.js",
        filters='closure_js',
        output='js/foundation6.min.js'
    ),
}


"""<commit_msg>Added foundation6 js assets<commit_after># -*- coding: utf-8 -*-
"""
Assets bundles
"""
from webassets import Bundle

# Register custom webasset filter for RCssMin minifier
from webassets.filter import register_filter
from rcssmin_webassets_filter import RCSSMin
register_filter(RCSSMin)

"""
BASE BUNDLES, contains common app/components bundles, do not register your
main bundles here. However you can comment/uncomment some app files for your
needs.
"""
AVALAIBLE_BUNDLES = {
    # App bundle for Modernizr
    'modernizr_f5_js': Bundle(
        "js/foundation5/vendor/modernizr.js",
        filters='closure_js',
        output='js/modernizr_f5.min.js'
    ),
    'modernizr_f6_js': Bundle(
        "js/foundation6/vendor/modernizr.js",
        filters='closure_js',
        output='js/modernizr_f6.min.js'
    ),

    # Bundle for Foundation JAVASCRIPT stuff
    'foundation5_js': Bundle(
        "js/foundation5/vendor/jquery.js",
        "js/foundation5/vendor/jquery.cookie.js",
        "js/foundation5/foundation/foundation.js",
        #"js/foundation5/foundation/foundation.abide.js",
        #"js/foundation5/foundation/foundation.accordion.js",
        "js/foundation5/foundation/foundation.alert.js",
        #"js/foundation5/foundation/foundation.clearing.js",
        "js/foundation5/foundation/foundation.dropdown.js",
        #"js/foundation5/foundation/foundation.equalizer.js",
        #"js/foundation5/foundation/foundation.interchange.js",
        #"js/foundation5/foundation/foundation.joyride.js",
        "js/foundation5/foundation/foundation.magellan.js",
        #"js/foundation5/foundation/foundation.offcanvas.js",
        #"js/foundation5/foundation/foundation.reveal.js",
        #"js/foundation5/foundation/foundation.slider.js",
        "js/foundation5/foundation/foundation.tab.js",
        "js/foundation5/foundation/foundation.tooltip.js",
        "js/foundation5/foundation/foundation.topbar.js",
        filters='closure_js',
        output='js/foundation5.min.js'
    ),

    'foundation6_js': Bundle(
        "js/foundation6/vendor/jquery.js",
        #"js/foundation6/vendor/motion-ui.js",
        "js/foundation6/vendor/what-input.js",
        'js/foundation6/foundation/plugins/foundation.core.js',
        'js/foundation6/foundation/plugins/foundation.util.box.js',
        'js/foundation6/foundation/plugins/foundation.util.keyboard.js',
        'js/foundation6/foundation/plugins/foundation.util.mediaQuery.js',
        'js/foundation6/foundation/plugins/foundation.util.motion.js',
        'js/foundation6/foundation/plugins/foundation.util.nest.js',
        'js/foundation6/foundation/plugins/foundation.util.timerAndImageLoader.js',
        'js/foundation6/foundation/plugins/foundation.util.touch.js',
        'js/foundation6/foundation/plugins/foundation.util.triggers.js',
        #'js/foundation6/foundation/plugins/foundation.abide.js',
        #'js/foundation6/foundation/plugins/foundation.accordion.js',
        #'js/foundation6/foundation/plugins/foundation.accordionMenu.js',
        'js/foundation6/foundation/plugins/foundation.drilldown.js',
        'js/foundation6/foundation/plugins/foundation.dropdown.js',
        'js/foundation6/foundation/plugins/foundation.dropdownMenu.js',
        #'js/foundation6/foundation/plugins/foundation.equalizer.js',
        #'js/foundation6/foundation/plugins/foundation.interchange.js',
        'js/foundation6/foundation/plugins/foundation.magellan.js',
        #'js/foundation6/foundation/plugins/foundation.offcanvas.js',
        #'js/foundation6/foundation/plugins/foundation.orbit.js',
        'js/foundation6/foundation/plugins/foundation.responsiveMenu.js',
        'js/foundation6/foundation/plugins/foundation.responsiveToggle.js',
        #'js/foundation6/foundation/plugins/foundation.reveal.js',
        #'js/foundation6/foundation/plugins/foundation.slider.js',
        'js/foundation6/foundation/plugins/foundation.sticky.js',
        'js/foundation6/foundation/plugins/foundation.tabs.js',
        'js/foundation6/foundation/plugins/foundation.toggler.js',
        'js/foundation6/foundation/plugins/foundation.tooltip.js',
        'js/foundation6/foundation/plugins/foundation.zf.responsiveAccordionTabs.js',
        filters='closure_js',
        output='js/foundation6.min.js'
    ),
}

"""
{'fraction_non_alphanumeric': 0.13073821339950373, 'fraction_numerical': 0.014267990074441687, 'mean_word_length': 3.3079492317969272, 'pattern_counts': {'":': 0, '<': 3, '<?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': '7345542', 'n_tokens_mistral': 2180, 'n_tokens_neox': 2124, 'n_words': 224}