1function myFunction(x){if(x.matches){var menuTrigger=document.querySelector(".menu-trigger");menuTrigger&&menuTrigger.addEventListener("click",function(e){toggleFunction(document.querySelector(".custom-menu .hs-menu-wrapper"),500),bodyWrap.classList.toggle("mobile-open_new"),e.stopPropagation()});var linkTrigger=document.querySelectorAll(".custom-menu .hs-item-has-children > a");Array.prototype.slice.call(linkTrigger).forEach(function(ele,index){ele.addEventListener("click",function(e){var _siblings=Array.prototype.filter.call(ele.parentNode.parentNode.children,function(sibling){return sibling!==ele});e.preventDefault(),Array.prototype.slice.call(_siblings).forEach(function(el,index){el.children.length>=2&&(el.classList.remove(openMenuClass),el.children[0].classList.remove(openMenuClass),"none"!==window.getComputedStyle(el.children[1],null).display&&slideUp(el.children[1],slideTransition))}),"none"===window.getComputedStyle(ele.nextElementSibling,null).display&&(ele.classList.toggle(openMenuClass),ele.parentElement.classList.toggle(openMenuClass),slideDown(ele.nextElementSibling,slideTransition))})})}}var x=window.matchMedia("(max-width: 991px)");myFunction(x),x.addEventListener("resize",myFunction);var bodyWrap=document.querySelector("body"),headerStickySection_trigger=document.querySelector(".header .header_bottom_trigger\t"),headerStickySection_new=document.querySelector(".header .primary-container.primary-container-custom");function setSectionHeight_new(classNm){var section=document.querySelector(classNm);if(section){var sectionHeight=section.offsetHeight;section.parentElement.style.minHeight=sectionHeight+"px"}}function slideUp(element,timing){element.style.transitionProperty="height, margin, padding",element.style.transitionDuration=timing+"ms",element.style.boxSizing="border-box",element.style.height=element.offsetHeight+"px",element.offsetHeight,element.style.overflow="hidden",element.style.height=0,element.style.paddingTop=0,element.style.paddingBottom=0,element.style.marginTop=0,element.style.marginBottom=0,window.setTimeout(function(){element.style.display="none",element.style.removeProperty("height"),element.style.removeProperty("padding-top"),element.style.removeProperty("padding-bottom"),element.style.removeProperty("margin-top"),element.style.removeProperty("margin-bottom"),element.style.removeProperty("overflow"),element.style.removeProperty("transition-duration"),element.style.removeProperty("transition-property")},timing)}function slideDown(element,timing){element.style.removeProperty("display");var display=window.getComputedStyle(element).display;"none"===display&&(display="block"),element.style.display=display;var height=element.offsetHeight;element.style.overflow="hidden",element.style.height=0,element.style.paddingTop=0,element.style.paddingBottom=0,element.style.marginTop=0,element.style.marginBottom=0,element.offsetHeight,element.style.transitionProperty="height, margin, padding",element.style.transitionDuration=timing+"ms",element.style.height=height+"px",element.style.removeProperty("padding-top"),element.style.removeProperty("padding-bottom"),element.style.removeProperty("margin-top"),element.style.removeProperty("margin-bottom"),window.setTimeout(function(){element.style.removeProperty("height"),element.style.removeProperty("overflow"),element.style.removeProperty("transition-duration"),element.style.removeProperty("transition-property")},timing)}function toggleFunction(element,timing){return"none"===window.getComputedStyle(element,null).display?slideDown(element,timing):slideUp(element,timing)}headerStickySection_trigger&&window.addEventListener("scroll",function(){var getOffset=headerStickySection_trigger.getBoundingClientRect().top+1,scrollTop=document.body.scrollTop||document.documentElement.scrollTop;getOffset<=0&&0!==scrollTop?(headerStickySection_new.classList.add("sticky_header_active"),headerStickySection_new.closest(".header").classList.add("sticky_header_active_wrap"),document.body.classList.add("sticky_header")):(headerStickySection_new.classList.remove("sticky_header_active"),headerStickySection_new.closest(".header").classList.remove("sticky_header_active_wrap"),document.body.classList.remove("sticky_header"))}),window.addEventListener("resize",function(){setTimeout(function(){setSectionHeight_new(".header .primary-container-custom")},110)}),document.addEventListener("DOMContentLoaded",function(){setSectionHeight_new(".header .primary-container-custom")}),window.addEventListener("load",function(){setSectionHeight_new(".header .primary-container-custom")});var slideTransition=300,openMenuClass="open-menu";document.addEventListener("DOMContentLoaded",function(){bodyWrap&&bodyWrap.addEventListener("click",function(ele){if(this.classList.contains("mobile-open_new")){var element=document.querySelector(".custom-menu .hs-menu-wrapper");"none"!=window.getComputedStyle(element,null).display&&(slideUp(element,500),bodyWrap.classList.remove("mobile-open_new"))}});var menuWrapper=document.querySelector(".custom-menu");menuWrapper&&menuWrapper.addEventListener("click",function(e){e.stopPropagation()})});var bannerBox=document.querySelectorAll(".banner_wrap");bannerBox.length>0&&(bodyWrap.classList.add("bannerAddedNew"),bodyWrap.classList.remove("noBannerAdded")),0==bannerBox.length&&(bodyWrap.classList.add("noBannerAdded"),bodyWrap.classList.remove("bannerAddedNew"));var headerEle=document.createElement("div");headerEle.classList.add("clone-header");var menu=document.querySelector(".primary-section"),locationDiv=document.querySelector(".header_main_section"),cloneMenu=menu.cloneNode(!0);menu&&locationDiv&&(locationDiv.append(headerEle),headerEle.append(cloneMenu));var getAnim=document.querySelectorAll(".featured-card [data-animation]");for(let i=0;i<getAnim.length;i++){var getEleAttr=getAnim[i].getAttribute("data-animation");getAnim[i].setAttribute("data-aos",getEleAttr)}
1var btnAnchor3=document.querySelectorAll('.feat-wrap a[href*="#"]');function smoothScrollBackToTop(e,targetPos=0){e.preventDefault();var targetPosition=targetPos,startPosition=window.pageYOffset,distance=targetPosition-startPosition,start=null;window.requestAnimationFrame(function step(timestamp){start||(start=timestamp);var progress=timestamp-start;window.scrollTo(0,easeInOutCubic(progress,startPosition,distance,750)),progress<750&&window.requestAnimationFrame(step)})}function easeInOutCubic(t,b,c,d){return(t/=d/2)<1?c/2*t*t*t+b:c/2*((t-=2)*t*t+2)+b}Array.prototype.slice.call(btnAnchor3).forEach(function(ele,index){ele.addEventListener("click",function(e){var headerWrap=document.querySelector(".clone-header .primary-section"),getHash=this.getAttribute("href").split("#")[1],elem=document.querySelector("#"+getHash),headerHeight=headerWrap.offsetHeight;smoothScrollBackToTop(e,elem.offsetTop-headerHeight),elem&&(e.stopPropagation(),e.preventDefault())})}),$(function(){$('main a[href*="#"]:not([href="#"]) ,.navbar_module_wrapper a[href*="#"]:not([href="#"])').click(function(){if(location.pathname.replace(/^\//,"")==this.pathname.replace(/^\//,"")&&location.hostname==this.hostname){var target=$(this.hash);if((target=target.length?target:$("[name="+this.hash.slice(1)+"]")).length)return $("html,body").animate({scrollTop:target.offset().top},1e3),!1}})}); 2//# sourceURL=https://20632245.fs1.hubspotusercontent-na1.net/hubfs/20632245/hub_generated/template_assets/1/134517550885/1783005886027/template_child.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.