PageSourceSearch

https://hello.circuitree.com/hubfs/hub_generated/template_assets/1…/1790104076459/template_main.min.js

js circuitree.com collected 2026-10-02 04:28:52 UTC 4,699 bytes, 2 lines download raw bytes

1function contentspace(){var contentlrspace=($(window).width()-$(".wrapper").width())/2;$(".left-space").css("padding-left",contentlrspace),$(".right-space").css("padding-right",contentlrspace)}!function(){window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=function(callback,thisArg){thisArg=thisArg||window;for(var i=0;i<this.length;i++)callback.call(thisArg,this[i],i,this)});var callback,nav=document.querySelector(".header__navigation"),langSwitcher=document.querySelector(".header__language-switcher"),search=document.querySelector(".header__search"),allToggles=document.querySelectorAll(".header--toggle"),navToggle=document.querySelector(".header__navigation--toggle"),langToggle=document.querySelector(".header__language-switcher--toggle"),searchToggle=document.querySelector(".header__search--toggle"),closeToggle=document.querySelector(".header__close--toggle"),allElements=document.querySelectorAll(".header--element, .header--toggle"),emailGlobalUnsub=document.querySelector('input[name="globalunsub"]');function toggleNav(){allToggles.forEach(function(toggle){toggle.classList.toggle("hide")}),nav.classList.toggle("open"),navToggle.classList.toggle("open"),closeToggle.classList.toggle("show")}function toggleLang(){allToggles.forEach(function(toggle){toggle.classList.toggle("hide")}),langSwitcher.classList.toggle("open"),langToggle.classList.toggle("open"),closeToggle.classList.toggle("show")}function toggleSearch(){allToggles.forEach(function(toggle){toggle.classList.toggle("hide")}),search.classList.toggle("open"),searchToggle.classList.toggle("open"),closeToggle.classList.toggle("show")}function closeAll(){allElements.forEach(function(element){element.classList.remove("hide","open")}),closeToggle.classList.remove("show")}function toggleDisabled(){document.querySelectorAll("#email-prefs-form .item").forEach(function(item){var emailSubItemInput=item.querySelector("input");emailGlobalUnsub.checked?(item.classList.add("disabled"),emailSubItemInput.setAttribute("disabled","disabled"),emailSubItemInput.checked=!1):(item.classList.remove("disabled"),emailSubItemInput.removeAttribute("disabled"))})}callback=function(){document.body&&(langSwitcher&&langToggle.addEventListener("click",toggleLang),navToggle&&navToggle.addEventListener("click",toggleNav),searchToggle&&searchToggle.addEventListener("click",toggleSearch),closeToggle&&closeToggle.addEventListener("click",closeAll),emailGlobalUnsub&&emailGlobalUnsub.addEventListener("change",toggleDisabled))},["interactive","complete"].indexOf(document.readyState)>=0?callback():document.addEventListener("DOMContentLoaded",callback),$("#menuBar #defaultIconMenu, #menuBar #closeIconMenu, header .overlay").click(function(){$("body").hasClass("open-menu-phone")?($("body").removeClass("open-menu-phone overflow--hidden"),$("html").removeClass("overflow--hidden")):($("body").addClass("open-menu-phone overflow--hidden"),$("html").addClass("overflow--hidden"))}),$("#menuBar .nav__list.level-1 > li.has-submenu > ul.sub-menu.level-2 li.has-submenu, #mobileMenuBar .has-submenu.menu-item  > a.menu-link, nav.navigation.vertical .has-submenu.menu-item").click(function(e){var parent=$(this).closest("li");$(".sub-menu",parent).first().slideToggle("slow"),$(".chevron",parent).first().toggleClass("up"),e.preventDefault(),e.stopPropagation()});var altura=$(".cnt-menu-mobile-main.has-sticky").offset().top;$(window).on("scroll",function(){$(window).scrollTop()>altura?$(".cnt-menu-mobile-main.has-sticky").addClass("sticky"):$(".cnt-menu-mobile-main.has-sticky").removeClass("sticky")}),$("#blogTopics").change(function(){window.location=$(this).val()}),$(document).ready(function(){var src_img=$(".get-img-bg").find("img").attr("src");$(".get-img-bg").parents(".span6").css("background-image","url("+src_img+")").addClass("bg-image")})}(),jQuery(document).ready(function($){$(".sameheight").length>0&&equalheight(".sameheight")}),equalheight=function(container){var $el,currentTallest=0,currentRowStart=0,rowDivs=new Array;$(container).each(function(){if($el=$(this),$($el).height("auto"),topPostion=$el.position().top,currentRowStart!=topPostion){for(currentDiv=0;currentDiv<rowDivs.length;currentDiv++)rowDivs[currentDiv].outerHeight(currentTallest);rowDivs.length=0,currentRowStart=topPostion,currentTallest=$el.outerHeight(),rowDivs.push($el)}else rowDivs.push($el),currentTallest=currentTallest<$el.outerHeight()?$el.outerHeight():currentTallest;for(currentDiv=0;currentDiv<rowDivs.length;currentDiv++)rowDivs[currentDiv].height(currentTallest)})};
2//# sourceURL=https://2019794.fs1.hubspotusercontent-na1.net/hubfs/2019794/hub_generated/template_assets/1/70923716522/1790104076459/template_main.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.