!function(s){"use strict";s(function(){var i=s(".hero-teaser");i.length<=0||i.each(function(){var t=s(this).find(".hero-list");t.on("init",function(i){t.find(".slick-dots .slick-active").addClass("reset-width"),setTimeout(function(){t.find(".slick-dots .slick-active").removeClass("reset-width").addClass("width-animate")},1)}),t.slick({dots:!0,slidesToShow:1,slidesToScroll:1,autoplay:!0,autoplaySpeed:8e3,arrows:!1,draggable:!1,pauseOnHover:!1,adaptiveHeight:!0}),t.on("beforeChange",function(i){var s=t.find(".slick-dots .slick-active");s.hasClass("stop-animation")||s.removeClass("width-animate").addClass("reset-width")}),t.on("afterChange",function(i){var s=t.find(".slick-dots .slick-active");s.hasClass("stop-animation")||s.removeClass("reset-width").addClass("width-animate")}),t.on("swipe",function(i,s){t.slick("slickPause"),setTimeout(function(){t.find(".slick-dots li").removeClass("stop-animation").removeClass("width-animate"),t.find(".slick-dots .slick-active").addClass("stop-animation")},1)}),t.find(".slick-dots").on("click",function(){t.slick("slickPause"),setTimeout(function(){t.find(".slick-dots li").removeClass("stop-animation").removeClass("width-animate"),t.find(".slick-dots .slick-active").addClass("stop-animation")},1)})})})}(jQuery);