1/** 2 * @version 4.26.7 3 * Date: 2026-07-30T23:37:20.877Z 4 */ 5(new WOW).init();class homePageCarousel{element;carousel;active=!0;paused=!1;progress=0;intervalID;constructor(){this.element=document.getElementById("hero-carousel"),this.buttons=this.element.querySelectorAll(".btn-outline-light"),this.indicators=this.element.querySelectorAll(".carousel-indicators .progress-indicator"),this.indicatorButtons=this.element.querySelectorAll('[data-bs-target="#hero-carousel"]'),this.indicatorTexts=this.element.querySelectorAll(".indicator-text"),this.carousel=new bootstrap.Carousel(this.element),this.count=this.element.querySelectorAll(".carousel-item").length,this.listeners(),this.handleIndicators()}init(){this.fillIndicator(0)}listeners(){window.addEventListener("load",()=>{this.init()}),this.element.querySelectorAll("[data-bs-target]").forEach(e=>{e.addEventListener("click",()=>{this.deactivate()})}),this.element.querySelectorAll(".mobile-carousel-next").forEach(e=>{e.addEventListener("click",()=>{this.deactivate(),this.carousel.next()})}),this.element.addEventListener("slide.bs.carousel",e=>{if(this.progress=0,this.activeSlide=this.element.querySelector(".carousel-item.active"),this.clearIndicators(),clearInterval(this.intervalID),this.buttons.forEach(e=>{this.activeSlide===e.closest(".carousel-item")&&(e.tabIndex=0),this.activeSlide!==e.closest(".carousel-item")&&(e.tabIndex=-1)}),this.paused||this.fillIndicator(0),e.from===this.count-1&&this.deactivate(),window.matchMedia("(max-width: 768px)").matches){var e=e.to,t=$(".carousel-animation-switch");switch(e){case 0:t.css("background-color","#222c58");break;case 1:t.css("background-color","#00416f");break;case 2:t.css("background-color","#00526e")}}}),this.pauseHandler=this.pause.bind(this),this.element.addEventListener("mouseenter",this.pauseHandler),this.element.addEventListener("focusin",this.pauseHandler),this.resumeHandler=this.resume.bind(this),this.element.addEventListener("mouseleave",this.resumeHandler),this.element.addEventListener("focusout",this.resumeHandler)}removeListeners(){this.element.removeEventListener("mouseenter",this.pauseHandler),this.element.removeEventListener("focusin",this.pauseHandler),this.element.removeEventListener("mouseleave",this.resumeHandler),this.element.removeEventListener("focusout",this.resumeHandler)}clearIndicators(){for(var e of this.indicators)e.style.width=0}fillIndicator(e){this.intervalID&&clearInterval(this.intervalID),this.intervalID=setInterval(()=>{this.progress=e,e++,this.element.querySelector(".carousel-indicators .active .progress-indicator").style.width=e+"%",100<=e&&this.carousel.next()},30)}handleIndicators(){this.indicatorButtons.forEach(e=>{e.addEventListener("click",()=>{document.getElementById("animation-toggle").setAttribute("aria-pressed","true")})}
5),this.indicatorTexts.forEach(e=>{e.addEventListener("click",e=>{991<window.innerWidth?(e.stopPropagation(),e.preventDefault()):window.location.href=e.target.href})})}deactivate(){this.active=!1,this.progress=0,this.clearIndicators(),this.pause(),this.removeListeners(),document.getElementById("animation-toggle").setAttribute("aria-pressed","true")}pause(){this.paused=!0,clearInterval(this.intervalID)}resume(){this.paused=!1,this.fillIndicator(this.progress)}isActiveOrAnimating(){return!this.paused&&this.element.classList.contains("active")}}function activateDesktopSearch(e){e.classList.add("active"),e.style.display="flex",e.querySelector(".form-control").focus()}function deactivateDesktopSearch(e){e.classList.remove("active"),e.style.display="none",e.querySelector(".form-control").value="",e.querySelector(".form-control").blur(),document.querySelectorAll(".navbar").forEach(function(e){e.classList.remove("navbar-nav__hidden")}),document.querySelectorAll(".navbar .navbar-nav").forEach(function(e){e.classList.remove("position-relative")})}document.querySelectorAll(".navbar-nav .nav-item:last-child").forEach(function(t){let i=t.closest(".
5navbar"),n=t.querySelector("form:first-child"),a=n.querySelector(".form-control"),s=n.querySelector("button:first-of-type");var e=n.querySelector("button:last-of-type");t.addEventListener("click",function(e){e.preventDefault(),activateDesktopSearch(n),document.querySelectorAll(".navbar").forEach(function(e){e.classList.add("navbar-nav__hidden")}),document.querySelectorAll(".navbar .navbar-nav").forEach(function(e){e.classList.add("position-relative")}),document.body.addEventListener("click",e=>{t&&i.classList.contains("navbar-nav__hidden")&&n.classList.contains("active")&&(t===e.target||t.contains(e.target)||n===e.target||n.contains(e.target)||deactivateDesktopSearch(n))}),document.body.addEventListener("keyup",e=>{n&&n.classList.contains("active")&&("Tab"===e.key?n.contains(document.activeElement)||deactivateDesktopSearch(n):"Escape"===e.key&&deactivateDesktopSearch(n))})}),e.addEventListener("click",function(e){e.stopImmediatePropagation()}),s.addEventListener("click",function(){a.value="";var e=s.parentNode.querySelector(".cdc-search-complete");e&&e.classList.contains("show")&&(e.innerHTML="",e.classList.remove("show"))}),a.addEventListener("input",()=>{0<a.value.length?s.style.display="flex":s.style.display="none"})});let mobileSearch=document.getElementById("cdc-mobile-search-form"),mobileSearchInput=mobileSearch.querySelector(".form-control"),mobileCloseButton=mobileSearch.querySelector("button:first-of-type"),mobileLang=document.querySelector(".mobile-navbar .language-link");function activateMobileSearch(){mobileSearch.classList.add("active"),mobileSearch.style.display="flex",mobileCloseButton.style.display="none",mobileLang.style.display="none",mobileSearch.querySelector("input").focus()}function deactivateMobileSearch(){mobileSearch.classList.remove("active"),mobileSearch.style.display="none",mobileSearchInput.value="",mobileLang.style.display="inline"}document.querySelector(".mobile-navbar_top .nav-link").addEventListener("click",function(t){t.preventDefault(),activateMobileSearch(),mobileSearchInput.addEventListener("input",()=>{0<mobileSearchInput.value.length?mobileCloseButton.style.display="flex":mobileCloseButton.style.display="none"}),document.body.addEventListener("click",e=>{mobileSearch&&mobileSearch.classList.contains("active")&&(t.target===e.target||t.target.contains(e.target)||mobileSearch===e.target||mobileSearch.contains(e.target)||deactivateMobileSearch())}),document.body.addEventListener("keyup",e=>{mobileSearch&&mobileSearch.classList.contains("active")&&("Tab"===e.key?mobileSearch.contains(document.activeElement)||deactivateMobileSearch():"Escape"===e.key&&deactivateMobileSearch(mobileSearch))})}),mobileCloseButton.addEventListener("click",function(e){mobileSearchInput.value="",mobileSearchInput.focus();var t=document.querySelector(".cdc-search-complete");t&&t.classList.contains("show")&&(t.innerHTML="",t.classList.remove("show")),e.stopImmediatePropagation()});let dropdownToggler=document.querySelector(".navbar-toggler");dropdownToggler.addEventListener("click",function(){document.querySelectorAll(".nav-link[data-bs-toggle]").forEach(function(e){e.dataset.bsToggle=""})});class MainElementDetector{constructor(e,t="fade-in"){this.element=e,this.fadeClass=t,this.checkVisibility=this.checkVisibility.bind(this)}checkVisibility(){var e=this.element.getBoundingClientRect(),t=window.innerHeight||document.documentElement.clientHeight;e.top<=t&&0<=e.bottom&&(this.element.classList.add(this.fadeClass),window.removeEventListener("scroll",this.checkVisibility))}startObserving(){this.checkVisibility(),window.addEventListener("scroll",this.checkVisibility)}}let mainElement=document.querySelector("main"),detector=new MainElementDetector(mainElement),prevScrollPos=(detector.startObserving(),window.scrollY),navbar=document.querySelector(".navbar-on-scroll");window.addEventListener("scroll",()=>{var e=window.scrollY;prevScrollPos>e&&300<e?navbar.classList.remove("hide"):navbar.classList.add("hide"),prevScrollPos=e});class DropdownManager{constructor(){this.dropdowns=document.querySelectorAll(".dropdown"),this.dropdownMenus=document.querySelectorAll(".dropdown-menu"),this.dropdownToggles=document.querySelectorAll('[data-bs-toggle="dropdown"]'),this.init()}
5init(){this.dropdownToggles.forEach(e=>{e.addEventListener("click",e=>{e.target.classList.contains("show")?document.body.classList.add("backdrop-is-active"):document.body.classList.remove("backdrop-is-active")})}),window.addEventListener("click",e=>{e.target.classList.contains("show")||e.target.classList.contains("nav-link")||e.target.classList.contains("dropdown-menu")||document.body.classList.remove("backdrop-is-active")}),window.addEventListener("keyup",e=>{"Tab"!==e.key||document.querySelectorAll(".dropdown-menu.show").length||document.body.classList.remove("backdrop-is-active")}),this.dropdowns.forEach(e=>{e.addEventListener("shown.bs.dropdown",()=>document.body.classList.add("overflow-y-hidden")),e.addEventListener("hide.bs.dropdown",()=>document.body.classList.remove("overflow-y-hidden"))}),this.dropdownMenus.forEach(e=>e.addEventListener("click",e=>e.stopPropagation()))}}let dropdownManager=new DropdownManager;class AnimationToggle{paused=!0;constructor(){this.animationSwitch=document.getElementById("animation-toggle"),this.animationPreferenceKey="animationPreference",this.hpcarousel=null,this.animationSwitch&&(this.paused=this.animationSwitch.getAttribute("aria-pressed"),this.initialize())}initialize(){this.animationSwitch.addEventListener("click",e=>{this.paused=!("true"===this.animationSwitch.getAttribute("aria-pressed")),this.animationSwitch.setAttribute("aria-pressed",this.paused),this.paused?this.disableAnimations():this.enableAnimations(),this.saveAnimationPreference()}),this.animationsEnabled()&&(this.enableAnimations(),this.paused=!1,this.animationSwitch?.setAttribute("aria-pressed",this.paused))}animationsEnabled(){var e=localStorage.getItem(this.animationPreferenceKey);return e?"enabled"===e:!this.getReducedMotionPreference()}disableAnimations(){null!==this.hpcarousel&&this.hpcarousel.deactivate(),document.body.classList.add("disable-animations")}enableAnimations(){this.hpcarousel=new homePageCarousel,this.hpcarousel.init(),document.body.classList.remove("disable-animations")}saveAnimationPreference(){var e=this.paused?"disabled":"enabled";localStorage.setItem(this.animationPreferenceKey,e)}getReducedMotionPreference(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}}document.addEventListener("DOMContentLoaded",function(){new AnimationToggle;handleSkipLinks(),handleScrollingNavBar(),$("main").attr("id","content")});let skipLinks=document.querySelectorAll("#skipmenu .skippy"),animationToggle=document.getElementById("animation-toggle");function handleSkipLinks(){let t=1;skipLinks.forEach(e=>{e.tabIndex=t++}),animationToggle.tabIndex=skipLinks.length+1}function handleScrollingNavBar(){document.querySelector(".navbar-on-scroll")?.querySelectorAll("a, button").forEach(e=>e.setAttribute("tabindex","-1"))}let skippyLink=document.querySelector('.skippy[href="#headerSearch"]');function handleOutsideClick(e){var t=document.querySelector(".navbar-nav .nav-item:last-child form:first-child");t&&t.classList.contains("active")&&!t.contains(e.target)&&e.target!==skippyLink&&(deactivateDesktopSearch(t),document.body.removeEventListener("click",handleOutsideClick,!0),document.body.removeEventListener("keyup",handleEscapeKey,!0))}function handleEscapeKey({key:e}){var t=document.querySelector(".navbar-nav .nav-item:last-child form:first-child");t.classList.contains("active")&&("Escape"===e||"Tab"===e&&!t.contains(document.activeElement))&&(deactivateDesktopSearch(t),document.body.removeEventListener("click",handleOutsideClick,!0),document.body.removeEventListener("keyup",handleEscapeKey,!0))}skippyLink&&skippyLink.addEventListener("click",e=>{e.preventDefault();e=document.querySelector(".navbar-nav .nav-item:last-child form:first-child");e&&(activateDesktopSearch(e),document.querySelectorAll(".navbar").forEach(function(e){e.classList.add("navbar-nav__hidden")}),document.querySelectorAll(".navbar .navbar-nav").forEach(function(e){e.classList.add("position-relative")}),document.body.addEventListener("click",handleOutsideClick,!0),document.body.addEventListener("keyup",handleEscapeKey,!0))});
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.