PageSourceSearch

https://goconsensus.com/hubfs/hub_generated/module_assets/1/195179…module_Testimonial_Slider_with_Stats.min.js

js goconsensus.com collected 2026-10-01 10:26:54 UTC 1,951 bytes, 2 lines download raw bytes

1var module_195179562892=($(window).on("load",(function(){new Swiper(".js-slider-testimonials",{slidesPerView:1,speed:500,loop:!0,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},pagination:{el:".swiper-pagination"},breakpoints:{1024:{slidesPerView:3,spaceBetween:0},600:{slidesPerView:2,spaceBetween:0}}}),$(document).ready((function(){function animateCount($el){$({countNum:0}).animate({countNum:$el.data("count")},{duration:1500,easing:"swing",step:function(){$el.text(Math.floor(this.countNum))},complete:function(){$el.text(this.countNum)}})}if("IntersectionObserver"in window){let observer=new IntersectionObserver((function(entries,observer){entries.forEach((function(entry){if(entry.isIntersecting){let $el=$(entry.target);$el.hasClass("counted")||($el.addClass("counted"),animateCount($el)),observer.unobserve(entry.target)}}))}),{threshold:.5});$(".js-count").each((function(){observer.observe(this)}))}else $(window).on("scroll resize",(function(){$(".js-count").each((function(){let $el=$(this);(function($el){let elementTop=$el.offset().top,elementBottom=elementTop+$el.outerHeight(),viewportTop=$(window).scrollTop(),viewportBottom=viewportTop+$(window).height();return elementBottom>viewportTop&&elementTop<viewportBottom})($el)&&!$el.hasClass("counted")&&($el.addClass("counted"),animateCount($el))}))})).trigger("scroll")}))})),void $(window).on("load resize",(function(){setTimeout((function(){$(".section-testimonials-stats").each((function(i,el){var selector,maxHeight,testimonials=$(el).find(".testimonial-default");selector=testimonials,maxHeight=0,$(selector).css("height",""),$(selector).each((function(){var thisHeight=$(this).outerHeight();thisHeight>maxHeight&&(maxHeight=thisHeight)})),$(selector).height(maxHeight)}))}),100)})));
2//# sourceURL=https://5932154.fs1.hubspotusercontent-na1.net/hubfs/5932154/hub_generated/module_assets/1/195179562892/1756902951649/module_Testimonial_Slider_with_Stats.js

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.