/* @license GNU-GPL-2.0-or-later https://www.drupal.org/licensing/faq */ (function($){jQuery(document).ready(function(){$('.view-slideshow .caption').addClass('cocked');$('.view-slideshow .view-content').attr('id',"slideshow");$('.view-slideshow').append('
');$('#slideshow').on('init',function(slick){$('#slideshow .slick-slide.slick-current .caption').addClass('triggered');}).on('beforeChange',function(event,slick,currentSlide,nextSlide){$('#slideshow .caption.cocked').removeClass('cocked');$('#slideshow .slick-slide:eq('+nextSlide+') .caption').addClass('cocked');}).on('afterChange',function(event,slick,currentSlide){$('#slideshow .caption.triggered').removeClass('triggered');$('#slideshow .slick-slide:eq('+currentSlide+') .caption').addClass('triggered');}).slick({appendArrows:$('#slideshow-controls'),appendDots:$('#slideshow-controls'),prevArrow:'',nextArrow:'',customPaging:function(slider,i){return $('');},dots:true,lazyLoad:'ondemand',fade:true,autoplay:theme_settings.slideshow_autoplay,autoplaySpeed:theme_settings.slideshow_speed*1000,speed:2000});$('.view-carousel .view-content').attr('id',"carousel");$('.view-carousel').append('');$('.block:not(.hp-links) #carousel .panel').each(function(){if($(this).find('.field--name-field-custom-carousel-link').length>0){var href=$(this).find('.field--name-field-custom-carousel-link a').attr('href');var targ=$(this).find('.field--name-field-custom-carousel-link a').attr('target');}else{var href=$(this).find('.node-readmore a').attr('href');var targ=$(this).find('.node-readmore a').attr('target');}if(href){$(this).click(function(){if(targ)window.open(href,targ);else if(href.indexOf("http")==0)window.open(href,"_blank");else document.location.href=href;});$(this).addClass("panel-button");}});$('.block:not(.hp-links) #carousel .panel a').click(function(event){event.preventDefault();});$('.block:not(.hp-links) #carousel .panel h3 a span').unwrap();$('#carousel').on('init',function(slick){setCarouselHeights();}).on('breakpoint',function(event,slick,breakpoint){setCarouselHeights();setPanelHeights();}).slick({adaptiveHeight:true,appendArrows:$('#carousel-controls'),appendDots:$('#carousel-controls'),prevArrow:'',nextArrow:'',customPaging:function(slider,i){return $('');},dots:true,autoplay:theme_settings.carousel_autoplay,autoplaySpeed:theme_settings.carousel_speed*1000,speed:500,cssEase:'ease-in-out',slidesToShow:4,slidesToScroll:4,responsive:[{breakpoint:1200,settings:{slidesToShow:3,slidesToScroll:3}},{breakpoint:980,settings:{slidesToShow:2,slidesToScroll:2}},{breakpoint:640,settings:{slidesToShow:1,slidesToScroll:1}}]});function randomOrder(slideParent){slideParent.children().sort(function(){return Math.round(Math.random())-0.5;}).each(function(){$(this).appendTo(slideParent);});}function setCarouselHeights(){$('#carousel .panel.formatted').removeClass("formatted");$('#carousel .panel').css('height',"auto");var oph=0;$('#carousel .panel').each(function(){var h=$(this).height();if(h>oph)oph=h;});$('#carousel .panel').css('height',oph+"px");$('#carousel .panel').addClass("formatted");}function setPanelHeights(){var $panel=$('#homepage-content .panel');$panel.css('height',"auto");if($panel.length>1){$panel.css('height',"auto");var nh=0;$panel.each(function(){var h=$(this).height();if(h>nh)nh=h;});if(nh>0)$panel.css('height',nh+"px");}}$(window).load(function(){setCarouselHeights();setPanelHeights();});$('#solutions .description').hide().removeClass('hidden');$('#solutions td').mouseenter(function(i){$(this).find('.icon').hide();$(this).find('.description').show();}).mouseleave(function(){$(this).find('.icon').show();$(this).find('.description').hide();});});}(jQuery));; /* _ _ _ _ ___| (_) ___| | __ (_)___ / __| | |/ __| |/ / | / __| \__ \ | | (__| < _ | \__ \ |___/_|_|\___|_|\_(_)/ |___/ |__/ Version: 1.6.0 Author: Ken Wheeler Website: http://kenwheeler.github.io Docs: http://kenwheeler.github.io/slick Repo: http://github.com/kenwheeler/slick Issues: http://github.com/kenwheeler/slick/issues */ !function(a){"use strict";"function"==typeof define&&define.amd?define(["jquery"],a):"undefined"!=typeof exports?module.exports=a(require("jquery")):a(jQuery)}(function(a){"use strict";var b=window.Slick||{};b=function(){function c(c,d){var f,e=this;e.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:a(c),appendDots:a(c),arrows:!0,asNavFor:null,prevArrow:'',nextArrow:'',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(b,c){return a('