1(()=>{var l={"slides-to-show":3,clone:!1},i=window.innerWidth;function r(i){var e=jQuery(window).width(),i=i.parents(".testimonial-video").find(".testimonial-video__content-slider"),t=i.parent(),s=0;i.find(".slide").each(function(){s=jQuery(this).outerHeight()>s?jQuery(this).outerHeight():s,jQuery(this).data("height",s),jQuery(this).attr("data-height",s)}),e<1050?t.css("height",s+20):t.css("height",s)}function v(i){var e=jQuery(window).width();l["slides-to-show"]=e<980?0:e<1050?1:e<1200?2:3,i.find(".nav").show(),i.find(".testimonial-video__slide").each(function(){jQuery(this).data("slide")>l["slides-to-show"]?jQuery(this).addClass("hidden"):jQuery(this).removeClass("hidden")})}function u(i){var e=i.find(".testimonial-video__slide.active");0==e.prev().length?i.find(".nav.prev").addClass("disabled"):i.find(".nav.prev").removeClass("disabled"),0==e.next().length?i.find(".nav.next").addClass("disabled"):i.find(".nav.next").removeClass("disabled")}function t(i,e){var t;0!=i.find(".testimonial-video__slide.active video").length&&(t=i.find(".testimonial-video__slide.active video")[0],"play"==e?(t.play(),i.find(".testimonial-video__slide.active video").prop("muted",!1)):"pause"==e&&(t.pause(),i.find(".testimonial-video__slide.active video").prop("muted",!0)))}function d(i,e){var i=i.find(".testimonial-video__slide"),t=e;i.each(function(){jQuery(this).attr("style","--i:"+t),t<0?(jQuery(this).addClass("moved"),jQuery(this).addClass("hidden")):(jQuery(this).removeClass("moved"),t<=l["slides-to-show"]?jQuery(this).removeClass("hidden"):jQuery(this).addClass("hidden")),t++})}function a(i,e){i.parents(".testimonial-video").find(".testimonial-video__content-slider .slide").each(function(){jQuery(this).data("slide")==e?jQuery(this).addClass("active"):jQuery(this).removeClass("active")})}jQuery(window).on("resize",function(){window.innerWidth!==i&&(0!=jQuery(".testimonial-video__slider").length&&jQuery(".testimonial-video__slider").each(function(){v(jQuery(this)),r(jQuery(this))}),i=window.innerWidth)}),jQuery(window).on("scroll",function(){jQuery(window).width()<1050&&0!=jQuery(".testimonial-video__slider").length&&jQuery(".testimonial-video__slider").each(function(){r(jQuery(this))})}),jQuery(function(){0!=jQuery(".testimonial-video__slider").length&&jQuery(".testimonial-video__slider").each(function(){var i,e,t=jQuery(this);if(0<(i=t.find(".testimonial-video__slide")).length){for(var s=t,d=i.length,a=s.find(".testimonial-video__phone-holder"),s=s.find(".paging"),n="",o=0;o<d;o++)n+='<li class="'+(0==o?"active":"")+'"><button data-id="'+o+'"></button></li>';s.append(n),a.addClass("dots"),l.clone&&(s=t,i.clone().clone().appendTo(s.find(".slides")),a=s.find(".testimonial-video__slide"),e=0,s.find(".testimonial-video__slide.active").removeClass("active"),a.each(function(){0==e&&jQuery(this).addClass("active"),jQuery(this).data("slide",e),jQuery(this).prop("data-slide",e),jQuery(this).attr("data-slide",e),jQuery(this).attr("style","--i:"+e),l["slides-to-show"]<e&&jQuery(this).addClass("hidden"),e++})),u(t)}t.find(".slides").data("position",0),t.find(".slides").prop("data-position",0),t.find(".slides").attr("data-position",0),t.parents(".testimonial-video").find(".testimonial-video__content-slider .slides .slide").first().addClass("active"),v(t),r(t)}),0!=jQuery(".phone").length&&jQuery(".phone img").each(function(){var e=jQuery(this).parents(".testimonial-video__slider");jQuery(this).swipe(function(i){"left"==i?e.find(".nav.next").click():"right"==i&&e.find(".nav.prev").click()},{preventDefault:!0,mouse:!0,pen:!0,distance:40})})}),jQuery(document).on("click",".testimonial-video__action-button",function(i){i.preventDefault();var i=jQuery(this).data("action"),e=jQuery(this).parents(".testimonial-video__slider");"play"==i?(jQuery(this).addClass("playing"),jQuery(this).data("action","pause")):(jQuery(this).removeClass("playing"),jQuery(this).data("action","play")),t(e,i)}),jQuery(document).on("click",".testimonial-video__slider .nav",function(i){var e,t,s;i.preventDefault(),jQuery(this).hasClass("disabled")||(i="prev",e=jQuery(this).parents(".testimonial-video__slider"),jQuery(this).hasClass("next")&&(i="next"),i=i,
1(e=e).find(".testimonial-video__slide.active").find("video")[0].pause(),e.find(".testimonial-video__action-button").removeClass("playing").data("action","play"),s=e.find(".slides").data("position"),("prev"==i?(d(e,s+1),e.find(".slides").data("position",s+1),e.find(".slides").prop("data-position",s+1),e.find(".slides").attr("data-position",s+1),e.find(".testimonial-video__slide.active").removeClass("active").prev()):(d(e,s-1),e.find(".slides").data("position",s-1),e.find(".slides").prop("data-position",s-1),e.find(".slides").attr("data-position",s-1),e.find(".testimonial-video__slide.active").removeClass("active").next())).addClass("active"),t=(i=e).find(".testimonial-video__slide.active").data("slide"),i.find(".paging").find("li").each(function(){jQuery(this).find("button").data("id")==t?jQuery(this).addClass("active"):jQuery(this).removeClass("active")}),a(e,e.find(".testimonial-video__slide.active").data("slide")),u(e))}),jQuery(document).on("click",".testimonial-video__phone-holder .paging li button",function(i){i.preventDefault();var i=jQuery(this).data("id"),e=i,t=jQuery(this).parents(".testimonial-video__slider"),s=t.find(".slides"),s=(s.data("position"),jQuery(this).parent().siblings().removeClass("active"),jQuery(this).parent().addClass("active"),0!=i&&(i=parseInt("-"+i)),s.data("position",i),s.attr("data-position",i),s.prop("data-position",i),t.find(".testimonial-video__slide.active"));s.find("video")[0].pause(),s.find("video").prop("muted",!0),t.find(".testimonial-video__action-button").removeClass("playing").data("action","play"),d(t,i),jQuery(".testimonial-video__slide").each(function(){jQuery(this).data("slide")==e?jQuery(this).addClass("active"):jQuery(this).removeClass("active")}),a(t,t.find(".testimonial-video__slide.active").data("slide")),u(t)})})();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.