PageSourceSearch

https://ccl-techlogix.com/hubfs/hub_generated/template_assets/1/31…/1791365221644/template_child.min.js

js ccl-techlogix.com collected 2026-10-09 18:14:47 UTC 7,213 bytes, 2 lines download raw bytes

1document.addEventListener("DOMContentLoaded",function(){"function"==typeof document.body.matchHeight?(document.body.matchHeight({elements:".feature"}),document.body.matchHeight({elements:".card-item__card-content"})):console.warn("matchHeight not available")}),document.addEventListener("DOMContentLoaded",function(){document.querySelectorAll(".simple-quote__author").forEach(author=>{const name=author.querySelector(".simple-quote__author-name > p"),img=author.querySelector(".simple-quote__author-img"),hasName=name&&""!==name.textContent.trim(),hasImg=img&&""!==img.innerHTML.trim();hasName||hasImg||author.classList.add("is-empty")})}),document.addEventListener("DOMContentLoaded",function(){document.querySelectorAll(".card-item__button").forEach(cardBtn=>{const btnLink=cardBtn.querySelector(".animate-link");btnLink&&""!==btnLink.textContent.trim()||cardBtn.classList.add("is-empty")})});const shape=document.querySelector(".section-shape"),targetDiv=document.querySelector(".banner .content-wrapper");if(shape&&targetDiv){const shapeHeight=window.getComputedStyle(shape).height;targetDiv.style.paddingBottom=shapeHeight}document.querySelectorAll("li p span[style], li span[style]").forEach(span=>{const color=window.getComputedStyle(span).color;span.closest("li").style.color=color}),function(){if(!document.getElementById("map-container")){const mapDiv=document.createElement("div");mapDiv.id="map-container",mapDiv.style.display="none",document.body.appendChild(mapDiv)}if(!document.querySelector(".somom-megamenu")){const megamenuDiv=document.createElement("div");megamenuDiv.className="somom-megamenu",megamenuDiv.style.display="none",document.body.appendChild(megamenuDiv)}if(!document.getElementById("myDiv-megamenu")){const div=document.createElement("div");div.id="myDiv-megamenu",div.style.display="none",document.body.appendChild(div)}}(),document.addEventListener("DOMContentLoaded",function(){const breadcrumbWrappers=document.querySelectorAll('[id^="hs_cos_wrapper_"] .breadcrumb-bx');0!==breadcrumbWrappers.length&&breadcrumbWrappers.forEach(function(breadcrumb,breadcrumbIndex){let wrapper=breadcrumb;for(;wrapper&&!wrapper.id.startsWith("hs_cos_wrapper_");)wrapper=wrapper.parentElement;if(!wrapper)return;const wrapperId=wrapper.id,listItems=breadcrumb.querySelectorAll("ul > li");let normalColor=null,hoverColor=null,normalBgColor=null,hoverBgColor=null;for(let i=0;i<document.styleSheets.length;i++)try{const sheet=document.styleSheets[i],rules=sheet.cssRules||sheet.rules;if(!rules)continue;for(let j=0;j<rules.length;j++){const rule=rules[j];if(rule.selectorText&&rule.selectorText.includes("#"+wrapperId)&&rule.selectorText.includes(".breadcrumb-bx")&&rule.selectorText.includes("li > a")&&!rule.selectorText.includes(":hover")&&!rule.selectorText.includes(":last-child")){const colorValue=rule.style.getPropertyValue("color");colorValue&&""!==colorValue.trim()&&(normalColor=colorValue);const bgColorValue=rule.style.getPropertyValue("background-color");bgColorValue&&""!==bgColorValue.trim()&&(normalBgColor=bgColorValue)}if(rule.selectorText&&rule.selectorText.includes("#"+wrapperId)&&rule.selectorText.includes(".breadcrumb-bx")&&(rule.selectorText.includes(":hover")||rule.selectorText.includes(":last-child"))){const colorValue=rule.style.getPropertyValue("color");colorValue&&""!==colorValue.trim()&&(hoverColor=colorValue);const bgColorValue=rule.style.getPropertyValue("background-color");bgColorValue&&""!==bgColorValue.trim()&&(hoverBgColor=bgColorValue)}}}catch(e){continue}listItems.forEach(function(listItem){const link=listItem.querySelector("a"),textSpan=Array.from(listItem.querySelectorAll(":scope > span")).find(span=>!span.querySelector("svg"));link&&normalColor&&link.style.setProperty("color",normalColor,"important"),link&&normalBgColor&&link.style.setProperty("background-color",normalBgColor,"important"),textSpan&&normalColor&&textSpan.style.setProperty("color",normalColor,"important"),textSpan&&normalBgColor&&textSpan.style.setProperty("background-color",normalBgColor,"important"),(normalColor||hoverColor||normalBgColor||hoverBgColor)&&(listItem.addEventListener("mouseenter",function(){link&&hoverColor&&link.style.setProperty("color",hoverColor,"important"),link&&hoverBgColor&&link.style.setProperty("background-color",hoverBgColor,"important"),textSpan&&hoverColor&&textSpan.style.setProperty("color",hoverColor,"important"),textSpan&&hoverBgColor&&textSpan.style.setProperty("background-color",hoverBgColor,"important")}),listItem.addEventListener("mouseleave",function(){link&&normalColor&&link.style.setProperty("color",normalColor,"important"),link&&normalBgColor&&link.style.setProperty("background-color",n
1ormalBgColor,"important"),textSpan&&normalColor&&textSpan.style.setProperty("color",normalColor,"important"),textSpan&&normalBgColor&&textSpan.style.setProperty("background-color",normalBgColor,"important")}))})})}),function(){const suppress=(original,filters)=>function(...args){const msg=(args[0]||"").toString();filters.some(f=>msg.includes(f))||original.apply(console,args)};console.error=suppress(console.error,["classList","mapDiv","InvalidValueError","You must use an API key","Geocoding Service","No elements found with the class"]),console.warn=suppress(console.warn,["NoApiKeys","InvalidKey","loading=async","google.maps.Marker is deprecated","AdvancedMarkerElement"]);const SUPPRESSED_EVENTS=["Cannot read properties of null","reading 'classList'","Expected mapDiv","InvalidValueError"];window.addEventListener("error",function(event){SUPPRESSED_EVENTS.some(f=>(event.message||"").includes(f))&&event.preventDefault()},!0),document.addEventListener("DOMContentLoaded",function(){["map","myDiv-header"].forEach(id=>{if(!document.getElementById(id)){Object.assign(document.createElement("div"),{id:id}).style.display="none";const el=document.createElement("div");el.id=id,el.style.display="none",document.body.appendChild(el)}});try{const headerMain=document.querySelector(".header-main");if(!headerMain)return;const header=document.querySelector(".header-main__container"),isLandingPage=!!document.querySelector(".body-container--landing-page"),isSticky=headerMain.classList.contains("sticky-menu-on");!isLandingPage&&header&&isSticky&&window.addEventListener("scroll",function(){const topBar=document.querySelector(".top-bar"),scrolled=window.pageYOffset>12;headerMain.classList.toggle("header-main--fixed",scrolled),topBar&&(topBar.style.marginTop=scrolled?`-${parseFloat(getComputedStyle(topBar).height)}px`:"0")},{passive:!0})}catch(_){}});const _originalInitMap=window.initMap;window.initMap=function(){if(window.google?.maps){const OriginalMap=window.google.maps.Map;window.google.maps.Map=function(mapDiv,options){return mapDiv&&mapDiv instanceof HTMLElement?new OriginalMap(mapDiv,options):{}},window.google.maps.Map.prototype=OriginalMap.prototype}"function"==typeof _originalInitMap&&_originalInitMap()}}();const originalLog=console.log;console.log=function(...args){args[0]&&"string"==typeof args[0]&&args[0].endsWith("px")||originalLog.apply(console,args)};
2//# sourceURL=https://146614317.fs1.hubspotusercontent-eu1.net/hubfs/146614317/hub_generated/template_assets/1/315522542815/1791365221644/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.