PageSourceSearch

https://firstprescle.org/hubfs/hub_generated/template_assets/1/87156967768/1784082681438/template_main.min.js

js firstprescle.org collected 2026-10-10 00:53:51 UTC 6,100 bytes, 2 lines download raw bytes

1!function(){"use strict";function addNoopener(root){(root.querySelectorAll?root:document).querySelectorAll('a[target="_blank"]').forEach(function(a){var rel=(a.getAttribute("rel")||"").split(/\s+/).filter(Boolean);-1===rel.indexOf("noopener")&&rel.push("noopener"),a.setAttribute("rel",rel.join(" "))})}function smoothScrollTo(target,offset){var top=target.getBoundingClientRect().top+window.pageYOffset-offset;window.scrollTo({top:top,behavior:"smooth"})}function equalheight(selector){var currentTallest=0,currentRowStart=0,rowEls=[];document.querySelectorAll(selector).forEach(function(el){el.style.height="auto";var topPosition=el.getBoundingClientRect().top;currentRowStart!==topPosition?(rowEls.forEach(function(rowEl){rowEl.style.height=currentTallest+"px"}),rowEls=[],currentRowStart=topPosition,currentTallest=el.offsetHeight,rowEls.push(el)):(rowEls.push(el),currentTallest=Math.max(currentTallest,el.offsetHeight)),rowEls.forEach(function(rowEl){rowEl.style.height=currentTallest+"px"})})}function init(){var closeBtn,header,streamServices,footerBtm,buttons;addNoopener(document),window.MutationObserver&&new MutationObserver(function(){addNoopener(document)}).observe(document.body,{childList:!0,subtree:!0}),(closeBtn=document.querySelector(".build-top .close"))&&closeBtn.addEventListener("click",function(){var banner=closeBtn.closest(".build-top");banner&&OSCSlide.up(banner)}),function(){var topHeader=document.querySelector(".top-header"),menuFlow=document.querySelector(".mainmenu .hs-menu-flow-horizontal");topHeader&&menuFlow&&menuFlow.appendChild(topHeader.cloneNode(!0));var menuWrapper=document.querySelector(".mainmenu .hs-menu-wrapper.hs-menu-flow-horizontal");menuWrapper&&(menuWrapper.classList.add("mobile-menu"),menuWrapper.querySelectorAll(":scope > ul > li.hs-item-has-children ul").forEach(function(ul){ul.classList.add("sub-menu")}));var mobileMenu=document.querySelector(".mobile-menu");if(mobileMenu){var toggleBtn=document.createElement("button");toggleBtn.type="button",toggleBtn.className="nav-toggle",toggleBtn.innerHTML='<span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span>',mobileMenu.parentNode.insertBefore(toggleBtn,mobileMenu),toggleBtn.addEventListener("click",function(){toggleBtn.classList.toggle("nav-menuopen"),OSCSlide.toggle(mobileMenu,200),document.querySelectorAll(".mainmenu .hs-menu-children-wrapper").forEach(function(el){OSCSlide.up(el,250)}),document.querySelectorAll(".mainmenu .mobile-toggle").forEach(function(el){el.classList.remove("nav-subopen")})}),mobileMenu.querySelectorAll("li.hs-item-has-children").forEach(function(li){var childUl=li.querySelector(":scope > ul");if(childUl){var toggleSpan=document.createElement("span");toggleSpan.className="mobile-toggle",childUl.parentNode.insertBefore(toggleSpan,childUl)}}),mobileMenu.querySelectorAll(".mobile-toggle").forEach(function(toggle){toggle.addEventListener("click",function(e){e.preventDefault(),e.stopPropagation();var parentLi=toggle.parentElement;parentLi&&parentLi.parentElement&&Array.prototype.forEach.call(parentLi.parentElement.children,function(sibling){if(sibling!==parentLi&&sibling.classList.contains("hs-item-has-children")){var siblingToggle=sibling.querySelector("span.mobile-toggle");siblingToggle&&siblingToggle.classList.remove("nav-subopen");var siblingWrapper=sibling.querySelector(".hs-menu-children-wrapper");siblingWrapper&&OSCSlide.up(siblingWrapper,250)}});var nextWrapper=toggle.nextElementSibling;nextWrapper&&nextWrapper.classList.contains("hs-menu-children-wrapper")&&(OSCSlide.toggle(nextWrapper,250),nextWrapper.querySelectorAll(":scope > .hs-item-has-children .hs-menu-children-wrapper").forEach(function(el){OSCSlide.up(el,250)}),nextWrapper.querySelectorAll(":scope > .hs-item-has-children span.mobile-toggle").forEach(function(el){el.classList.remove("nav-subopen")})),toggle.classList.toggle("nav-subopen")})})}}(),(header=document.querySelector("header.header"))&&window.addEventListener("scroll",function(){window.scrollY>100?header.classList.add("fixed"):header.classList.remove("fixed")}),streamServices=document.querySelector(".stream-services"),footerBtm=document.querySelector(".footer_btm"),streamServices&&footerBtm&&streamServices.classList.contains("stream_ft")&&footerBtm.classList.add("streamft"),"undefined"!=typeof OSCLightbox&&(window.oscLightbox=new OSCLightbox({onClose:function(){var base=window.location.origin+window.location.pathname;history.pushState("","",base)}})),function(){if(document.querySelectorAll('a[rel="rel-anchor"], a[href*="#"]:not([href="#"]):not(.lightbox)').forEach(function(a){a.addEventListener("click",function(e){var target,id=a.getAttribute("href");try{target=document.querySelector(id)}catch(err){target=null}target&&(e.preventDefault(),smoothScrollTo(target,150))})}),"#tour"===window.location.hash){var tourTarget=document.getElementById("tour");tourTarget&&smoothScrollTo(tourTarget,170)}}
1(),(buttons=document.querySelectorAll(".con_more")).forEach(function(btn){btn.addEventListener("click",function(){buttons.forEach(function(other){other!==btn&&other.classList.remove("active")}),document.querySelectorAll(".stained-slider .box .con").forEach(function(con){con!==btn.nextElementSibling&&OSCSlide.up(con)}),btn.classList.toggle("active"),OSCSlide.toggle(btn.nextElementSibling,250),"more"===btn.getAttribute("data-info")?(buttons.forEach(function(b){b.innerHTML="<span>More Information</span>"}),btn.innerHTML="<span>Less Information</span>",buttons.forEach(function(b){b.setAttribute("data-info","more")}),btn.setAttribute("data-info","less")):(buttons.forEach(function(b){b.innerHTML="<span>More Information</span>"}),btn.setAttribute("data-info","more"))})}),window.addEventListener("load",function(){equalheight(".sameheight")}),window.addEventListener("resize",function(){equalheight(".sameheight")})}"loading"===document.readyState?document.addEventListener("DOMContentLoaded",init):init()}();
2//# sourceURL=https://22497733.fs1.hubspotusercontent-na1.net/hubfs/22497733/hub_generated/template_assets/1/87156967768/1784082681438/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.