'+
        '{{/items}}'
        /* beautify preserve:end */
    ),
    beforeRender: function(e, data) {
        $.each(data.items, function(idx, item) {
            var url = item.url.toLowerCase().split('.');
            if (url[url.length - 1] == 'pdf') {
                item.blank = true;
            }
        });
    },
    complete: function(e) {
        var slickOpts = {
            slidesToShow: 1,
            slidesToScroll: 1,
            arrows: true,
            dots: true
        };
        $(window).on('resize',function(){
            if ( $(this).width() > 1024 ) {
                if ($(e.target).hasClass('slick-initialized')) $(e.target).slick('unslick');
            } else {
                $(e.target).not('.slick-initialized').slick(slickOpts);
            }
        }).resize();
    }
});
$('.module-event-latest .module_container--content').events({
    dateFormat: 'MM dd, yy',
    showAllYears: true,
    limit: 3,
    append: false,
    template: (
        /* beautify preserve:start */
        '{{#items}}' +
            '
' +
                '
' +
                    '{{date}}' +
                '
' +
                '
' +
            '
' +
        '{{/items}}' +
        '{{^items}}' +
            '
 There are no events scheduled.
'+
        '{{/items}}'
        /* beautify preserve:end */
    ),
    complete: function(e) {
        var slickOpts = {
            slidesToShow: 1,
            slidesToScroll: 1,
            arrows: true,
            dots: true
        };
        $(window).on('resize',function(){
            if ( $(this).width() > 1024 ) {
                if ($(e.target).hasClass('slick-initialized')) $(e.target).slick('unslick');
            } else {
                $(e.target).not('.slick-initialized').slick(slickOpts);
            }
        }).resize();
    }
});
$('.module-slideshow .module_container--content').slideshow({
    dateFormat: 'MM dd, yy',
    aspectRatio: [20,13],
    tpl: (
        /* beautify preserve:start */
        '
' +
        '
{{{title}}}
' +
                '
'+
                '{{type}} '+
                '{{size}}'+
            '
'+
        '
' +
        '
'
        /* beautify preserve:end */
    )
});