PageSourceSearch

https://www.conservationfund.org/wp-content/themes/conservationfund/dist/js/app.js?ver=1790790245

js conservationfund.org collected 2026-10-01 10:16:53 UTC 42,058 bytes, 4 lines download raw bytes

1!function(){var e={797:function(e,t,i){"use strict";i.r(t)},440:function(e,t){var i,s;s=this,void 0===(i=function(){return s.svg4everybody=function(){
2/*! svg4everybody v2.1.9 | github.com/jonathantneal/svg4everybody */
3function e(e,t,i){if(i){var s=document.createDocumentFragment(),n=!t.hasAttribute("viewBox")&&i.getAttribute("viewBox");n&&t.setAttribute("viewBox",n);for(var r=i.cloneNode(!0);r.childNodes.length;)s.appendChild(r.firstChild);e.appendChild(s)}}function t(t){t.onreadystatechange=function(){if(4===t.readyState){var i=t._cachedDocument;i||((i=t._cachedDocument=document.implementation.createHTMLDocument("")).body.innerHTML=t.responseText,t._cachedTarget={}),t._embeds.splice(0).map((function(s){var n=t._cachedTarget[s.id];n||(n=t._cachedTarget[s.id]=i.getElementById(s.id)),e(s.parent,s.svg,n)}))}},t.onreadystatechange()}function i(i){function n(){for(var i=0;i<p.length;){var o=p[i],l=o.parentNode,h=s(l),d=o.getAttribute("xlink:href")||o.getAttribute("href");if(!d&&a.attributeName&&(d=o.getAttribute(a.attributeName)),h&&d){if(r)if(!a.validate||a.validate(d,h,o)){l.removeChild(o);var c=d.split("#"),g=c.shift(),v=c.join("#");if(g.length){var L=u[g];L||((L=u[g]=new XMLHttpRequest).open("GET",g),L.send(),L._embeds=[]),L._embeds.push({parent:l,svg:h,id:v}),t(L)}else e(l,h,document.getElementById(v))}else++i,++m}else++i}(!p.length||p.length-m>0)&&E(n,67)}var r,a=Object(i),o=/\bTrident\/[567]\b|\bMSIE (?:9|10)\.0\b/,l=/\bAppleWebKit\/(\d+)\b/,h=/\bEdge\/12\.(\d+)\b/,d=/\bEdge\/.(\d+)\b/,c=window.top!==window.self;r="polyfill"in a?a.polyfill:o.test(navigator.userAgent)||(navigator.userAgent.match(h)||[])[1]<10547||(navigator.userAgent.match(l)||[])[1]<537||d.test(navigator.userAgent)&&c;var u={},E=window.requestAnimationFrame||setTimeout,p=document.getElementsByTagName("use"),m=0;r&&n()}function s(e){for(var t=e;"svg"!==t.nodeName.toLowerCase()&&(t=t.parentNode););return t}return i}()}.apply(t,[]))||(e.exports=i)}},t={};function i(s){var n=t[s];if(void 0!==n)return n.exports;var r=t[s]={exports:{}};return e[s].call(r.exports,r,r.exports,i),r.exports}i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},function(){"use strict";var e={EXPANDED:"aria-expanded",HIDDEN:"aria-hidden",SELECTED:"aria-selected"};var t={ABOVE_BOTTOM:"above-bottom",ABOVE_HALFWAY:"above-halfway",ABOVE_VIEWPORT:"above-viewport",ACTIVE:"active",AMBIENT_VIDEO:"ambient-background-video__video",BELOW_BOTTOM:"below-bottom",BELOW_HALFWAY:"below-halfway",BELOW_VIEWPORT:"below-viewport",BLINK:"blink",CARD:"cards__card",CLICK:"click",CLOSED:"closed",CTA_BANNER:"cta-banner",ERROR:"error",FADE:"fade",FILTER_SELECTED:"filter-selected",FIRST_BATCH:"first-batch",FIXED:"fixed",FILTERED:"filtered",HERO_PAUSE:"homepage-hero-video__video-controls__pause",HERO_PLAY:"homepage-hero-video__video-controls__play",HERO_VIDEO:"homepage-hero-video__video",HIDING:"hiding",HIDDEN:"hidden",HOVER:"hover",IMAGE_CREDIT_LISTING:"image-credit-listing",IN_VIEWPORT:"in-viewport",LISTING_FILTERS:"listing-filters",LOADING:"loading",MINI:"mini",OPEN:"open",OPENED:"opened",PAUSE:"ambient-background-video__video-controls__pause",PERSISTENT_CTA_BANNER:"persistent-cta-banner",PERSON_LISTING_LIST:"person-listing-list",PLAY:"ambient-background-video__video-controls__play",SCROLLED:"scrolled",SEARCHING:"searching",SELECTED:"selected",SHOW:"show",SUB_MENU:"sub-menu",SUCCESS:"success",VIEW_ALL:"view-all",VISUALLY_HIDDEN:"visually-hidden"};var s={ANIMATIONEND:"animationend",BEFOREUNLOAD:"beforeunload",BLUR:"blur",CHANGE:"change",CLEAR_FILTERS:"clearfilters",CLICK:"click",CUSTOM_EVENT:"customevent",DISPLAY_SUBHEADING:"displaysubheading",DROPDOWN_CHANGED:"dropdownchanged",FORM_ERROR:"formerror",FORM_SUCCESS:"formsuccess",FOCUS:"focus",HEADER_HIDING:"header-hiding",INPUT:"input",KEY_DOWN:"keydown",MOUSEMOVE:"mousemove",MOUSEOUT:"mouseout",MOUSEOVER:"mouseover",PAGESHOW:"pageshow",REQUEST_MADE:"requestmade",RESIZE:"resize",RESULTS_RETURNED:"resultsreturnd",SCROLL:"scroll",SIMULATED_CLICK:"simulated-cl
3ick",SHOW_HIDE:"showhide",SUBMIT:"submit",TOUCH_END:"touchend",TOUCH_START:"touchstart",TRANSITIONEND:"transitionend",UPDATE_POST_COUNT:"updatepostcount",UPDATE_IN_VIEWPORT_MODULES:"updateinviewportmodules",UPDATE_SEARCH_WITH_NEW_ITEMS:"updatesearchwithnewitems",UPDATE_SETTINGS:"updatesettings",WHEEL:"wheel"};var n={ALL:"all",BEFOREEND:"beforeend",BEM_ELEMENT:"__",BEM_MODIFIER:"--",CHANGE:"Change ",CLEAR_FILTER:"Clear Filter",CLOSE:"Close",CLOSE_FILTERS:"Close Filters",DATA_VISIBLE:"data-visible",EYE_BLINK:"EyeBlink",FALSE:"false",FILTERS:"Filters",fURL1:"//www.facebook.com/sharer.php?u=",HEIGHT:"height",IN_VIEWPORT:"in-viewport",MENU:"Menu",MQ_HOVER:"(hover: hover)",MQ_NO_ANY:"(any-hover: none), (any-pointer: coarse)",lURL1:"//www.linkedin.com/shareArticle?mini=true&url=",lURL2:"&title=",lURL3:"&summary=",lURL4:"&source=",mURL1:"mailto:",mURL2:"?subject=",mURL3:"&body=",NAME:"name",NO:"no",NO_RESULTS:"There are no posts that match that filter combination.",POST:"post",POSTS:"posts",PUBLISH:"publish",SQUERY:"&s=",TABINDEX:"tabindex",TRUE:"true",tURL1:"https://twitter.com/share?url=",tURLText:"&text=",tURLVia:"&via=BSD",VALUE:"value",WIDTH:"width"};var r={ALL:"#all",ANCHOR:"a",ANCHOR_WITH_HREF:"a[href]",API_RESULTS:'[data-loadcomponent="APIResults"]',BACKGROUND:".background",BUTTON:"button",CHECKED:":checked",CHECKED_LABEL:":checked + label",CHECKBOX:"checkbox",CLOSE:".close",CLOSE_SEARCH:".close-search",DATA_BOTTOM:"data-bottomposition",DATA_HALFWAY:"data-halfway",DATA_HAS_ANIMATED:"data-has-animated",DATA_LAZY_LOAD:"data-lazyload",DATA_MOUSEFOLLOW:"[data-mousefollow]",DATA_POSITION:"data-position",DATA_VISIBLE:"[data-visible]",DIV:"div",DROPDOWN:".dropdown",DROPDOWN_CONTENT:".dropdown__content",DROPDOWN_TOGGLE:".dropdown__toggle",DROPDOWN_TOGGLE_CLICK:".dropdown.click",DROPDOWN_TOGGLE_HOVER:".dropdown.hover",EMAIL:".share--email",EYE:".eye",FACEBOOK:".share--fb",FILE_INPUT:"input[type=file]",FILTER:".filter",FILTER_CHOICE:".filter-choice",FILTER_FORM:".filters-form",FILTER_OPTION:".filter-option",FILTER_TRIGGER:".filter-trigger",FORM:"form",FORM_FIELDS:"input, select, textarea",FUN_FACT_ITEM:".fun-fact__item",HTML:"html",INVALID:":invalid",LINKEDIN:".share--li",LOADING:".loading",LOAD_MORE:".load-more",MENU_TXT:".menu-txt",MOUSEFOLLOW:".mousefollow",NAV_TRIGGER:".nav_trigger",NESTED:".nested",NEXT_FACT:".next-fact",OGDESC:'meta[property="og:description"]',OGTITLE:'meta[property="og:title"]',OGURL:'meta[property="og:url"]',OPEN_SEARCH:".open-search",OPTGROUP:"optgroup",PARAGRAPH:"p",PLAY_TRIGGER:".play-trigger",PLAYER_EMBED_CONTAINER:"#player-embed",POST_COUNT:".post-count .count",POST_LISTING:".post-listing",RADIO:'[type="radio"]',RESULTS_CONTAINER:".results-container",SEARCH_INPUT:".search-field__input",SELECTED:".selected",SPAN:"span",STATISTIC_VALUE:".statistic__value",SUBMISSION_RESPONSE:".submission-response",SUBMIT:'[type="submit"]',TAB:'[role="tab"]',TABPANEL:'[role="tabpanel"]',TWITTER:".share--tw",VIDEO_YOUTUBE:".video__embed"};var a=e=>{const t=e.getBoundingClientRect();return t.top<window.innerHeight&&t.bottom>=0};class o{constructor(e){this.ScrollService=e.ScrollService,this.init()}init(){return this.cacheDomReferences().setupHandlers().enable(),this}cacheDomReferences(){return this.modules=document.querySelectorAll(r.DATA_VISIBLE),this}setupHandlers(){return this.onScrollHandler=this.onScroll.bind(this),this.onModuleUpdateHandler=this.updateModules.bind(this),this}enable(){return window.setTimeout(this.onScrollHandler,500),this.ScrollService.addCallback(this.onScrollHandler),document.body.addEventListener(s.UPDATE_IN_VIEWPORT_MODULES,this.onModuleUpdateHandler),this}onScroll(){return Array.prototype.forEach.call(this.modules,(e=>{a(e)?("false"===e.getAttribute(n.DATA_VISIBLE)&&e.setAttribute(n.DATA_VISIBLE,!0),e.hasAttribute(r.DATA_HAS_ANIMATED)||e.setAttribute(r.DATA_HAS_ANIMATED,!0)):"true"===e.getAttribute(n.DATA_VISIBLE)&&e.setAttribute(n.DATA_VISIBLE,!1);const i=e.getBoundingClientRect(),s=e.getAttribute(r.DATA_POSITION),o=i.top>=window.innerHeight?t.BELOW_VIEWPORT:t.IN_VIEWPORT,l=i.bottom<0?t.ABOVE_VIEWPORT:o,h=i.bottom>window.innerHeight?t.BELOW_BOTTOM:t.ABOVE_BOTTOM,d=i.bottom<=window.innerHeight/1.25?t.ABOVE_HALFWAY:t.BELOW_HALFWAY;s!==l&&e.setAttribute(r.DATA_POSITION,l),e.setAttribute(r.DATA_BOTTOM,h),e.setAttribute(r.DATA_HALFWAY,d)})),this}updateModules(){return this.cacheDomReferences().onScroll(),this}}class l{sendEvent(e,t,i){const s=document.createEvent("CustomEvent");s.initCustomEvent(e,!1,!1,t),(i||this.element).dispatchEvent(s)}}var h=e=>{let t="";const i=e.replace(/(>|<)/gi,"").split(/(vi\/|v=|\/v\/|youtu\.be\/|\/embed\/)/);return void 0!==i[2]?[t]=i[2].split(/[^0-9a-z_-]/i):t=i,Array.isArray(t)?t[0]:t};var d=()=>{const e=window.matchMedia("(hover: hover)"),t=window.matchMedia("(any-hover: none), (any-pointer: coarse)");return!(!e.matches&&t.matches)};var c=(e,t)=>{let i=e;const s=i.matches||i.webkitMatchesSelector||i.mozMatchesSelector||i.msMatchesSelector;for(;i&&!s.call(i,t);)i=i.parentElement;return i};var u=(e,t,i,s)=>window.open(e,t,`menubar=yes,location=yes,resizable=yes,scrollbars=yes,status=yes,width=${i},height=${s}`);const E={DESC:"",URL:"",TITLE:""};var p=e=>{let t="";const i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";for(let s=0;s<e;s+=1)t+=i.charAt(Math.floor(62*Math.random()));return t};var m={Cards:class extends l{constructor(e,t){super(),this.element=e,this.ResizeService=t.ResizeService,this.init()}init(){return this.cacheDomReferences().setupHandlers().enable(),this}cacheDomReferences(){return this.cards=this.element.querySelectorAll(`.${t.CARD}`),this}setupHandlers(){return this.cardResize=this.cardResize.bind(this),this}enable(){return this.ResizeService.addCallback(this.cardResize),this.cardResize(),this}cardResize(){let e=0;return this.cards.forEach((t=>{const i=t.offsetHeight;i>e&&(e=i)})),this.cards.forEach((t=>{const{style:i}=t;i.height=`${e}px`})),this}},Carousel:class extends l{constructor(e){super(),this.element=e,this.init()}init(){return this.cacheDomReferences().setupIndex().createControls().setupHandlers().enable(),this}cacheDomReferences(){return this.carousel=this.element.querySelector(`.${t.CAROUSEL}${n.BEM_ELEMENT}${t.SLIDES}`),this.carouselitems=this.carousel.querySelectorAll(`.${t.CAROUSEL}${n.BEM_ELEMENT}${t.SLIDES}${n.BEM_MODIFIER}${t.ITEM}`),this}createControls(){this.controls=document.createElement(r.DIV),this.prev=document.createElement(r.BUTTON),this.next=document.createElement(r.BUTTON),this.counter=document.createElement(r.SPAN),this.controls.classList.add(`${t.CAROUSEL}${n.BEM_ELEMENT}${t.CONTROLS}`),this.prev.classList.add(`${t.CAROUSEL}${n.BEM_ELEMENT}${t.PREVIOUS}`),this.next.classList.add(`${t.CAROUSEL}${n.BEM_ELEMENT}${t.NEXT}`),this.counter.classList.add(`${t.CAROUSEL}${n.BEM_ELEMENT}${t.COUNTER}`);const e=document.createTextNode(`${t.PREVIOUS.charAt(0).toUpperCase()+t.PREVIOUS.slice(1)}`),i=document.createTextNode(`${t.NEXT.charAt(0).toUpperCase()+t.NEXT.slice(1)}`),s=document.createTextNode(`${this.currentindex+1} of ${this.carouselitems.length}`);return this.prev.appendChild(e),this.next.appendChild(i),this.counter.appendChild(s),this.controls.appendChild(this.prev),this.controls.appendChild(this.next),this.controls.appendChild(this.counter),this.element.appendChild(this.controls),this}setupHandlers(){return this.onPrevHandler=this.prevSlide.bind(this),this.onNextHandler=this.nextSlide.bind(this),this.onKeyDown
3Handler=this.onKeyDown.bind(this),this}setupIndex(){this.currentindex=0,this.previtemindex=this.carouselitems.length-1,this.nextitemindex=1;let e=!1;for(let i=0;i<this.carouselitems.length;i+=1)if(this.carouselitems[i].classList.contains(t.ACTIVE)){e=!0,this.currentindex=i,i+1===this.carouselitems.length&&(this.nextitemindex=0),this.nextitemindex=i+1,0!==i&&(this.previtemindex=i-1);break}return e||(this.carouselitems[0].classList.add(t.ACTIVE),this.currentindex=0,this.nextitemindex=1,this.previtemindex=this.carouselitems.length-1),this}enable(){return this.prev.addEventListener(s.CLICK,this.onPrevHandler,!1),this.next.addEventListener(s.CLICK,this.onNextHandler,!1),this.carousel.addEventListener(s.KEY_DOWN,this.onKeyDownHandler),window.addEventListener(s.KEY_DOWN,this.onKeyDownHandler),this}onKeyDown(e){return this.element.dataset.visible===n.TRUE&&(37===e.keyCode?this.prevSlide(e):39===e.keyCode&&this.nextSlide(e)),this}prevSlide(){this.controls.classList.add(t.TRANSITIONING);const e=this.currentindex;return 0!==this.currentindex?(this.currentindex-=1,this.nextitemindex+=1,this.previtemindex=e):(this.currentindex=this.carouselitems.length-1,this.previtemindex=e,this.nextitemindex=0),setTimeout((()=>this.updateCarousel()),100),this}nextSlide(){this.controls.classList.add(t.TRANSITIONING);const e=this.currentindex;return this.currentindex!==this.carouselitems.length-1?(this.currentindex+=1,this.previtemindex=e,this.nextitemindex=this.currentindex===this.carouselitems.length-1?0:this.nextitemindex+1):(this.currentindex=0,this.previtemindex=e,this.nextitemindex=1),setTimeout((()=>this.updateCarousel()),100),this}updateCarousel(){const e=this.carouselitems[this.previtemindex].querySelector(`.${t.ACTIVE} .${t.VIDEO}`);return e&&this.sendEvent(s.PAUSE_VIDEO,h(e.dataset.url),document),this.carousel.querySelector(`.${t.ACTIVE}`).classList.remove(t.ACTIVE),this.carouselitems[this.currentindex].classList.add(t.ACTIVE),this.counter.innerHTML=`${this.currentindex+1} of ${this.carouselitems.length}`,setTimeout((()=>this.controls.classList.remove(t.TRANSITIONING)),2e3),this}},Dropdown:class extends l{constructor(e){super(),this.element=e,this.init()}init(){return this.cacheDomReferences().setupHandlers().enable(),this}cacheDomReferences(){return this.clickable=this.element.classList.contains(t.CLICK)?this.element.querySelector(r.DROPDOWN_TOGGLE):null,this.close=this.element.querySelector(r.CLOSE),this.dropdowns=this.element.parentElement.querySelectorAll(r.DROPDOWN),this.hoverable=this.element.classList.contains(t.HOVER)?this.element:null,this.parent=this.element.parentElement,this.hashOverState=d(),this}setupHandlers(){return this.openDropdownHandler=this.openDropdown.bind(this),this.closeDropdownHandler=this.closeDropdown.bind(this),this.closeDropdownFromOutsideHandler=this.closeDropdownFromOutside.bind(this),this.toggleDropdownHandler=this.toggleDropdown.bind(this),this}enable(){return null!==this.clickable&&this.clickable.addEventListener(s.CLICK,this.toggleDropdownHandler),null!==this.hoverable&&(this.hashOverState?(this.hoverable.addEventListener(s.MOUSEOVER,this.openDropdownHandler),this.hoverable.addEventListener(s.MOUSEOUT,this.closeDropdownHandler)):this.hoverable.addEventListener(s.CLICK,this.toggleDropdownHandler)),null!==this.close&&this.close.addEventListener(s.CLICK,this.closeDropdownHandler),this}closeDropdownFromOutside(e){return c(e.target,r.DROPDOWN)!==this.element&&this.closeDropdown(),this}closeDropdown(){for(let i=0;i<this.dropdowns.length;i+=1){const s=this.dropdowns[i].querySelector(r.DROPDOWN_TOGGLE);s.classList.remove(t.OPEN),s.parentNode.classList.remove(t.OPEN);const n=s.parentElement.querySelector(r.DROPDOWN_CONTENT);if(n.querySelectorAll(r.NESTED).length>0){const i=s.parentElement.querySelectorAll(r.DROPDOWN_CONTENT+r.NESTED);for(let s=0;s<i.length;s+=1)i[s].classList.remove(t.OPENED),i[s].setAttribute(e.HIDDEN,"true")}this.element.classList.remove(t.OPEN),n.classList.remove(t.OPENED),n.classList.remove(t.FADE),n.setAttribute(e.HIDDEN,"true"),s.setAttribute(e.EXPANDED,"false")}return document.body.removeEventListener(s.CLICK,this.closeDropdownFromOutsideHandler,!0),this}openDropdown(i){const n=this.element.querySelector(r.DROPDOWN_TOGGLE),a=i.type===s.CLICK?n:this.element;if(null!==a&&null!==n&&this.element.contains(n)){this.hashOverState&&i.type!==s.CLICK&&this.closeDropdown(),a.classList.add(t.OPEN);const o=n.parentElement.querySelector(r.DROPDOWN_CONTENT);if(o.querySelectorAll(r.NESTED).length>0){const i=n.parentElement.querySelectorAll(r.DROPDOWN_CONTENT+r.NESTED);for(let s=0;s<i.length;s+=1)i[s].classList.add(t.OPENED),i[s].setAttribute(e.HIDDEN,"false")}this.element.classList.add(t.OPEN),o.classList.add(t.OPENED),o.setAttribute(e.HIDDEN,"false"),o.classList.contains(t.SUB_MENU)&&setTimeout((()=>{o.classList.add(t.FADE)}),5),n.setAttribute(e.EXPANDED,"true"),null===this.close&&this.hashOverState&&document.body.addEventListener(s.CLICK,this.closeDropdownFromOutsideHandler,!0)}return this}toggleDropdown(e){const i=this.element.querySelector(r.DROPDOWN_TOGGLE);return this.hashOverState||i!==e.target||e.preventDefault(),i.classList.contains(t.OPEN)?(this.closeDropdown(),this.sendEvent(s.DROPDOWN_CHANGED,t.CLOSED,this.parent)):(this.openDropdown(e),this.sendEvent(s.DROPDOWN_CHANGED,t.OPENED,this.parent)),this}},Header:class extends l{constructor(e){super(),this.element=e,this.init()}init(){return this.cacheDomReferences().setupHandlers().enable(),this}cacheDomReferences(){return this.search_button=this.element.querySelector(`.${t.SEARCH}${n.BEM_ELEMENT}${r.BUTTON}
3`),this.search_input=this.element.querySelector(`.${t.HEADER}${n.BEM_ELEMENT}${t.SEARCH}${n.BEM_MODIFIER}${r.INPUT}`),this.hamburger=this.element.querySelector(`.${t.HEADER}${n.BEM_ELEMENT}${t.HAMBUGER}`),this.hamburger_menu=this.element.querySelector(`.${t.HEADER}${n.BEM_ELEMENT}${t.HAMBUGER}${n.BEM_MODIFIER}${t.MENU}`),this.MenuToggles=this.element.querySelectorAll(`.${t.ICON}${n.BEM_ELEMENT}${r.DOWN_ARROW}`),this}enable(){return null!==this.search_button&&this.search_button.addEventListener(s.CLICK,this.toggleSearchinput),null!==this.hamburger&&this.hamburger.addEventListener(s.CLICK,this.toggleHamburger),this.MenuToggles.forEach((e=>{e.addEventListener(s.CLICK,this.toggleMenuChild)})),this}setupHandlers(){return this.toggleSearchinput=this.toggleSearchHandler.bind(this),this.toggleHamburger=this.toggleHamburgerHandler.bind(this),this.toggleMenuChild=this.toggleMenuChildHandler.bind(this),this}toggleSearchHandler(){this.search_input.classList.toggle(`${t.HEADER}${n.BEM_ELEMENT}${t.SEARCH}${n.BEM_MODIFIER}${r.INPUT}${n.BEM_MODIFIER}${n.BEM_MODIFIER}${t.ACTIVE}`)}toggleHamburgerHandler(){this.hamburger.classList.toggle(`${t.HEADER}${n.BEM_ELEMENT}${t.HAMBUGER}${n.BEM_MODIFIER}${n.BEM_MODIFIER}${t.ACTIVE}`),this.hamburger_menu.classList.toggle(`${t.HEADER}${n.BEM_ELEMENT}${t.HAMBUGER}${n.BEM_MODIFIER}${t.MENU}${n.BEM_MODIFIER}${n.BEM_MODIFIER}${t.ACTIVE}`),this.element.classList.toggle(`${t.HEADER}${n.BEM_ELEMENT}${t.MENU}${n.BEM_MODIFIER}${t.ACTIVE}`)}toggleMenuChildHandler(e){return e.preventDefault(),e.target.classList.contains(`${t.ICON}${n.BEM_ELEMENT}${r.DOWN_ARROW}`)?(e.target.classList.add(`${t.ICON}${n.BEM_ELEMENT}${r.UP_ARROW}`),e.target.classList.remove(`${t.ICON}${n.BEM_ELEMENT}${r.DOWN_ARROW}`)):(e.target.classList.add(`${t.ICON}${n.BEM_ELEMENT}${r.DOWN_ARROW}`),e.target.classList.remove(`${t.ICON}${n.BEM_ELEMENT}${r.UP_ARROW}`)),c(e.target,`.${t.HEADER}${n.BEM_ELEMENT}${t.MENU}${n.BEM_MODIFIER}${t.LINK}`).nextSibling.nextSibling.classList.toggle(`${t.HEADER}${n.BEM_ELEMENT}${t.NAV_CHILD}${n.BEM_MODIFIER}${t.ACTIVE}`),this}},ImageCreditListing:class{constructor(e){this.element=e,this.init()}init(){return this.cacheDomReferences().enable(),this}cacheDomReferences(){return this.imageCreditListing=this.element,this.lastFlexItem=this.imageCreditListing.previousElementSibling,this.globalCtaBanner=document.querySelector(`.${t.GLOBAL_CTA_BANNER}`),this}enable(){this.globalCtaBanner||this.lastFlexItem.classList.contains(`${t.CTA_BANNER}`)&&(this.imageCreditListing.parentNode.insertBefore(this.imageCreditListing,this.lastFlexItem),this.imageCreditListing.parentNode.setAttribute("style","padding-bottom: 0;"))}},InViewport:o,SocialShare:class{constructor(e){this.element=e,this.init()}init(){return this.cacheDomReferences().getOGData().enable(),this}cacheDomReferences(){return this.share={twitter:this.element.querySelector(r.TWITTER),linkedin:this.element.querySelector(r.LINKEDIN)},this}
3getOGData(){Object.keys(E).forEach((e=>{const t=document.querySelector(r[`OG${e}`]);t&&(E[e]=t.getAttribute("content"))}));const e=document.querySelector(r.TWITTER_SITE);return this.twitterurl=e.getAttribute("content"),this}enable(){return Object.keys(this.share).forEach((e=>{this.share[e].addEventListener(s.CLICK,this[`${e}Share`].bind(this))})),this}facebookShare(e){e.preventDefault();const t=n.fURL1+E.URL;return u(t,"FacebookShare",560,600),this}twitterShare(e){e.preventDefault();const t=n.tURL1+E.URL+n.tURLText+encodeURIComponent(E.DESC)+n.tHASH+encodeURIComponent(this.share.twitter.dataset.hashtags);u(t,"TwitterShare",560,300)}linkedinShare(e){e.preventDefault();const t=n.lURL1+encodeURIComponent(E.URL)+n.lURL2+encodeURIComponent(E.TITLE)+n.lURL3+encodeURIComponent(E.DESC)+n.lURL4+encodeURIComponent(E.URL);return u(t,"LinkedInShare",560,600),this}emailShare(){const e=this.querySelector(r.EMAILSUB).innerHTML,t=this.querySelector(r.EMAILBODY).innerHTML;window.location.href=n.mURL1+n.mURL2+e+n.mURL3+t}},StatCounter:class{constructor(e,t){this.element=e,this.ScrollService=t.ScrollService,this.animating=!1,this.animated=!1,this.prepend="",this.init()}init(){return this.cacheDomReferences().setupHandlers().enable(),this}cacheDomReferences(){return this.ticker=this.element.querySelector(r.STATISTIC_VALUE),this}setupHandlers(){return this.onScrollHandler=this.onScroll.bind(this),this}enable(){return window.setTimeout(this.onScrollHandler,300),this.ScrollService.addCallback(this.onScrollHandler),this}onScroll(){return this.element.dataset.visible!==n.TRUE||this.animating||this.animated||this.countUp(),this}countUp(){const e=this.getNumberFromString();return this.animateNumber(e.target,250,e.unit),this}getNumberFromString(){const e=this.ticker.textContent.split("");let t="",i="";const s=/^[0-9.,]+$/;let n=!1;return Array.prototype.forEach.call(e,((e,r)=>{s.test(e)&&!n?(Number.isNaN(parseInt(e,10))&&"."!==e||(t+=e),i=this.ticker.textContent.substring(r+1)):s.test(e)||0!==r?n=!0:this.prepend=e})),""===t&&(t=null),{target:parseFloat(t),unit:i}}animateNumber(e,t,i=""){if(e){this.animating=!0;const s=0;let n=s,r=e,a=!1,o=1,l=0,h=!1;if(e%1!=0)r=100*e,a=!0;else if(1===e.toString().length)r=100*e,a=!0,h=!0;else{for(let t=e;t>100;t/=10)r=Math.floor(r/10),o*=10;l=Math.abs(r*o-e)}const d=r>s?1:-1,c=(h?Math.floor(e/10):50)*Math.abs(Math.ceil(r/t)),u=setInterval((()=>{n+=d,this.ticker.innerHTML=a?this.prepend+(n/100).toLocaleString()+i:this.prepend+(n*o).toLocaleString()+i,n===r&&(clearInterval(u),l&&(this.ticker.innerHTML=this.prepend+(n*o+l).toLocaleString()+i),this.animating=!1,this.animated=!0)}),c)}return this}},VideoYoutube:class{constructor(e){this.element=e,this.videoId=h(this.element.dataset.url),this.iframeId="player-",this.init()}init(){return this.cacheDomReferences().setupHandlers().enable().scriptInject(),this}cacheDomReferences(){return this.playTriggerYT=this.element.querySelector(r.VIDEO_YOUTUBE),this.playTriggerYTICON=this.element.querySelector(r.PLAY_TRIGGER),this.featuredVideoEmbed=this.element.querySelector(r.VIDEO_YOUTUBE),this.featuredVideoContainer=this.element.querySelector(r.PLAYER_EMBED_CONTAINER),this.iframeId+=p(16),this.featuredVideoContainer.setAttribute("id",this.iframeId),this}scriptInject(){const e=document.createElement("script");e.src="https://www.youtube.com/iframe_api";const t=document.getElementsByTagName("script")[0];return t.parentNode.insertBefore(e,t),this}setupHandlers(){return this.onClickPlayTriggerYTHandler=this.onClickPlayTriggerYT.bind(this),this.onPlayerStateChange=this.onPlayerStateChange.bind(this),this.pauseHandler=this.pause.bind(this),this}enable(){return this.playTriggerYT.addEventListener(s.CLICK,this.onClickPlayTriggerYTHandler,!1),this.playTriggerYTICON.addEventListener(s.CLICK,this.onClickPlayTriggerYTHandler,!1),document.addEventListener(s.PAUSE_VIDEO,this.pauseHandler,!1),this}onYouTubeIframeAPIReady(){this.player=new YT.Player(this.iframeId,{videoId:this.videoId,events:{onReady:this.onPlayerReady,onStateChange:this.onPlayerStateChange},playerVars:{rel:0,fs:1,showinfo:0}})}onPlayerReady(e){return e.target.playVideo(),this}onPlayerStateChange(i){0===i.data&&(this.featuredVideoContainer=this.element.querySelector(r.PLAYER_EMBED_CONTAINER),this.element.classList.toggle(t.PLAYING),this.playTriggerYT.classList.toggle(t.CLICK),this.playTriggerYT.setAttribute(e.HIDDEN,!1),this.replaceIframeElement=document.createElement(r.DIV),this.replaceIframeElement.setAttribute("id",this.iframeId),this.featuredVideoEmbed.firstElementChild.classList.add(`${t.FADE}-out`),this.featuredVideoEmbed.setAttribute(n.TABINDEX,-1),setTimeout((()=>{this.featuredVideoEmbed.firstElementChild.replaceWith(this.replaceIframeElement)}),400))}onClickPlayTriggerYT(i){return i.preventDefault(),this.element.classList.toggle(t.PLAYING),this.playTriggerYT.classList.toggle(t.CLICK),this.playTriggerYT.setAttribute(e.HIDDEN,!0),this.featuredVideoEmbed.setAttribute(n.TABINDEX,0),setTimeout((()=>{this.onYouTubeIframeAPIReady()}),600),this}pause(e){e.detail===this.videoId&&this.player.stopVideo()}}
3,AmbientBackgroundVideo:class{constructor(e){this.element=e,this.init()}init(){return this.cacheDomReferences().setupHandlers().enable(),this}cacheDomReferences(){return this.video=this.element.querySelector(`.${t.AMBIENT_VIDEO}`),this.playButton=this.element.querySelector(`.${t.PLAY}`),this.pauseButton=this.element.querySelector(`.${t.PAUSE}`),this}setupHandlers(){return this.onClickPlayTriggerHandler=this.onClickPlayTrigger.bind(this),this.onClickPauseTriggerHandler=this.onClickPauseTrigger.bind(this),this.onKeyDownHandler=this.onKeyDown.bind(this),this}enable(){return null!==this.playButton&&(this.playButton.addEventListener(s.CLICK,this.onClickPlayTriggerHandler,!1),this.playButton.addEventListener("keydown",this.onKeyDownHandler),this.playButton.tabIndex=0),null!==this.pauseButton&&(this.pauseButton.addEventListener(s.CLICK,this.onClickPauseTriggerHandler,!1),this.pauseButton.addEventListener("keydown",this.onKeyDownHandler),this.pauseButton.tabIndex=0),this}onClickPlayTrigger(e){return e.preventDefault(),this.video.play(),this.toggleButtons(),this}onClickPauseTrigger(e){return e.preventDefault(),this.video.pause(),this.toggleButtons(),this}onKeyDown(e){"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),e.currentTarget===this.playButton?this.onClickPlayTrigger(e):e.currentTarget===this.pauseButton&&this.onClickPauseTrigger(e))}toggleButtons(){this.playButton.style.display=this.video.paused?"block":"none",this.pauseButton.style.display=this.video.paused?"none":"block"}},FeaturedContent:class extends l{constructor(e){super(),this.element=e,this.init()}init(){this.cacheDomReferences().setupHandlers().enable(),this.createDotNavigation(),this.updateFixedChildPosition(),this.setParallaxFeaturedContentHeight(),window.addEventListener("scroll",(()=>{this.updateFixedChildPosition(),this.moveSliderWithScroll(),this.updateActiveDot()})),window.addEventListener("resize",(()=>{this.updateFixedChildPosition(),this.setParallaxFeaturedContentHeight()})),this.element.addEventListener("keydown",(e=>{this.handleKeyboardNavigation(e)}));return this.element.querySelectorAll(".wrpper-inside a").forEach((e=>{e.addEventListener("focus",(()=>{const t=e.closest(".slider-item");if(t){const e=Number(t.getAttribute("index")),i=this.sliderItems[e].offsetTop;this.updateActiveDotByIndex(e),window.scrollTo({top:this.parentFixed.offsetTop+250+i,behavior:"smooth"})}}))})),this}cacheDomReferences(){return this.parentFixed=this.element,this.fixedChild=this.parentFixed.querySelector(".featured-items-wrapper"),this.slider=this.parentFixed.querySelector(".slider"),this.sliderItems=this.parentFixed.querySelectorAll(".slider-item"),this.sliderViewpoint=this.parentFixed.querySelector(".slider-viewpoint"),this.paginationDotsContainer=this.parentFixed.querySelector(".pagination-dots"),this}enable(){return this}setupHandlers(){return this}updateFixedChildPosition(){if(!this.parentFixed||!this.fixedChild||!this.paginationDotsContainer)return;const e=this.parentFixed.getBoundingClientRect(),t=document.querySelector(".main-header").offsetHeight,i=window.innerWidth<=768?70:100;e.top<i&&e.bottom>this.fixedChild.offsetHeight+20?(this.fixedChild.style.position="fixed",this.fixedChild.style.top=`${t}px`,this.fixedChild.style.bottom="auto",this.paginationDotsContainer.style.position="fixed",this.paginationDotsContainer.style.top="0px",this.paginationDotsContainer.style.bottom="auto"):e.bottom<=this.fixedChild.offsetHeight+20?(this.fixedChild.style.position="absolute",this.fixedChild.style.top="auto",this.fixedChild.style.bottom="0",this.paginationDotsContainer.style.position="absolute",this.paginationDotsContainer.style.top="auto",this.paginationDotsContainer.style.bottom="0"):(this.fixedChild.style.position="absolute",this.fixedChild.style.top="0px",this.fixedChild.style.bottom="auto",this.paginationDotsContainer.style.position="absolute",this.paginationDotsContainer.style.top="0px",this.paginationDotsContainer.style.bottom="auto")}setParallaxFeaturedContentHeight(){if(!this.slider)return;const e=this.slider.offsetHeight+250;this.element.style.height=`${e}px`}moveSliderWithScroll(){if(!this.slider)return;const e=this.parentFixed.getBoundingClientRect(),t=this.sliderViewpoint.offsetHeight,i=this.slider.offsetHeight;if(e.top<0&&e.bottom>window.innerHeight){const s=i-t,n=Math.min(Math.max(0,-e.top),s);this.slider.style.top=`-${n}px`}else if(e.bottom<=window.innerHeight){const s=i-t,n=Math.min(Math.max(0,-e.top),s);this.slider.style.top=`-${n}px`}else this.slider.style.top="0px"}createDotNavigation(){const e=this.sliderItems.length;if(e>1)for(let t=0;t<e;t+=1){const e=document.createElement("div");e.classList.add("dot"),e.tabIndex=0,e.setAttribute("aria-label",`Slide ${t+1}`),e.setAttribute("role","button"),0===t&&e.classList.add("active"),e.addEventListener("click",(()=>this.scrollToSlide(t))),e.addEventListener("keydown",(e=>this.handleDotKeyPress(e,t))),this.paginationDotsContainer.appendChild(e)}this.paginationDots=this.paginationDotsContainer.querySelectorAll(".dot")}scrollToSlide(e){const t=this.sliderItems[e].offsetTop+150;window.scrollTo({top:this.parentFixed.offsetTop+t,behavior:"smooth"})}updateActiveDot(){const e=this.parentFixed.getBoundingClientRect(),t=Math.round(-e.top/this.sliderItems[0].offsetHeight);
3this.sliderItems.forEach(((e,i)=>{const s=e.querySelector("a"),n=e.querySelector(".content");s&&(s.tabIndex=i===t?0:-1),n&&n.setAttribute("aria-hidden",i===t?"false":"true")})),this.paginationDots.forEach(((e,i)=>{i===t?e.classList.add("active"):e.classList.remove("active")}))}handleKeyboardNavigation(e){const{key:t}=e;switch(t){case"ArrowUp":this.scrollToPreviousSlide();break;case"ArrowDown":this.scrollToNextSlide()}}scrollToPreviousSlide(){const e=this.parentFixed.getBoundingClientRect(),t=Math.round(-e.top/this.sliderItems[0].offsetHeight);t>0&&this.scrollToSlide(t-1)}scrollToNextSlide(){const e=this.parentFixed.getBoundingClientRect(),t=Math.round(-e.top/this.sliderItems[0].offsetHeight);t<this.sliderItems.length-1&&this.scrollToSlide(t+1)}handleDotKeyPress(e,t){const{key:i}=e;"Enter"===i&&this.scrollToSlide(t)}updateActiveDotByIndex(e){this.paginationDots.forEach(((t,i)=>{i===e?t.classList.add("active"):t.classList.remove("active")}))}},HomepageHeroVideo:class{constructor(e){this.element=e,this.init()}init(){return this.cacheDomReferences().setupHandlers().enable(),this}cacheDomReferences(){return this.video=this.element.querySelector(`.${t.HERO_VIDEO}`),this.playButton=this.element.querySelector(`.${t.HERO_PLAY}`),this.pauseButton=this.element.querySelector(`.${t.HERO_PAUSE}`),this}setupHandlers(){return this.onClickPlayTriggerHandler=this.onClickPlayTrigger.bind(this),this.onClickPauseTriggerHandler=this.onClickPauseTrigger.bind(this),this.onKeyDownHandler=this.onKeyDown.bind(this),this}enable(){return null!==this.playButton&&(this.playButton.addEventListener(s.CLICK,this.onClickPlayTriggerHandler,!1),this.playButton.addEventListener("keydown",this.onKeyDownHandler),this.playButton.tabIndex=0),null!==this.pauseButton&&(this.pauseButton.addEventListener(s.CLICK,this.onClickPauseTriggerHandler,!1),this.pauseButton.addEventListener("keydown",this.onKeyDownHandler),this.pauseButton.tabIndex=0),this}onClickPlayTrigger(e){return e.preventDefault(),this.video.play(),this.toggleButtons(),this}onClickPauseTrigger(e){return e.preventDefault(),this.video.pause(),this.toggleButtons(),this}onKeyDown(e){"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),e.currentTarget===this.playButton?this.onClickPlayTrigger(e):e.currentTarget===this.pauseButton&&this.onClickPauseTrigger(e))}toggleButtons(){this.playButton.style.display=this.video.paused?"block":"none",this.pauseButton.style.display=this.video.paused?"none":"block"}},ViewAll:class{constructor(e){this.element=e,this.init()}init(){return this.cacheDomReferences().setupHandlers().enable(),this}cacheDomReferences(){return this.personListingList=this.element.querySelector(`.${t.PERSON_LISTING_LIST}`),this.viewAllButton=this.element.querySelector(`.${t.VIEW_ALL}`),this}setupHandlers(){return this.onClickViewTriggerHandler=this.onClickViewTrigger.bind(this),this.onKeyDownTriggerHandler=this.onKeyDownTrigger.bind(this),this}enable(){return null!==this.viewAllButton&&this.viewAllButton.addEventListener(s.CLICK,this.onClickViewTriggerHandler,!1),null!==this.viewAllButton&&this.viewAllButton.addEventListener(s.KEY_DOWN,this.onKeyDownTriggerHandler,!1),this}onClickViewTrigger(e){return e.preventDefault(),this.viewAllButton.parentElement.classList.add(t.HIDDEN),this.personListingList.classList.add(t.SHOW),this}onKeyDownTrigger(e){return"Enter"!==e.key&&" "!==e.key||this.onClickViewTrigger(e),this}},UtilityNav:class extends l{constructor(e){super(),this.element=e,this.init()}init(){return this.cacheDomReferences().setupEventHandlers().enableEventListeners(),this}cacheDomReferences(){return this.utilityNavWrap=this.element,this.navWrap=this.element.querySelector(".nav-wrap"),this.aboutUrlLink=document.querySelector(".about-url a"),this.searchForm=document.querySelector(".search-wrap form"),this.navItems=document.querySelectorAll(".nav-wrap a"),this.mainNavItems=document.querySelectorAll(".wrap-main-nav-item a"),this}enableEventListeners(){return this.utilityNavWrap.addEventListener("click",this.handleToggle),this.utilityNavWrap.addEventListener("keydown",this.handleKeyDown),this.utilityNavWrap.addEventListener("click",this.preventFocusOnClick),this.aboutUrlLink.addEventListener("click",this.handleCloseUtilityNav),this.searchForm.addEventListener("submit",this.handleCloseUtilityNav),this.searchForm.addEventListener("click",this.handleCloseUtilityNav),this.navItems.forEac
3h((e=>{e.addEventListener("click",this.handleNavItemClick)})),this}setupEventHandlers(){return this.handleToggle=this.handleToggle.bind(this),this.handleKeyDown=this.handleKeyDown.bind(this),this.preventFocusOnClick=this.preventFocusOnClick.bind(this),this.handleCloseUtilityNav=this.handleCloseUtilityNav.bind(this),this.handleNavItemClick=this.handleNavItemClick.bind(this),this}handleToggle(){const e=this.utilityNavWrap.classList.toggle("open");this.navWrap.classList.toggle("open"),e?(this.utilityNavWrap.setAttribute("aria-expanded","true"),this.utilityNavWrap.setAttribute("aria-hidden","false"),this.navWrap.setAttribute("aria-expanded","true"),this.navWrap.setAttribute("aria-hidden","false")):(this.utilityNavWrap.setAttribute("aria-expanded","false"),this.utilityNavWrap.setAttribute("aria-hidden","true"),this.navWrap.setAttribute("aria-expanded","false"),this.navWrap.setAttribute("aria-hidden","true"))}handleKeyDown(e){"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),this.handleToggle())}preventFocusOnClick(e){e.preventDefault(),this.utilityNavWrap.blur()}handleCloseUtilityNav(){this.utilityNavWrap.classList.remove("open"),this.navWrap.classList.remove("open")}handleNavItemClick(e){return e.stopPropagation(),e.target.blur(),this}},MainNavFixed:class extends l{constructor(e){super(),this.header=e,this.fixedClass="fixed-header",this.dropShadowClass="has-shadow",this.scrollThreshold=50,this.isCastingShadow=!1,this.isFixed=!1,this.handleScroll=this.handleScroll.bind(this),this.init()}init(){return this.cacheDomReferences().setupHandlers().enable(),this}cacheDomReferences(){return this}setupHandlers(){return window.addEventListener("scroll",this.handleScroll),this}enable(){return this.handleScroll(),this}handleScroll(){const e=window.scrollY||window.pageYOffset,t=document.querySelector("#content");e>this.scrollThreshold&&!this.isFixed?(this.header.classList.add(this.fixedClass),t.classList.add("fixed-nav"),this.isFixed=!0):e<=this.scrollThreshold&&this.isFixed&&(this.header.classList.remove(this.fixedClass),t.classList.remove("fixed-nav"),this.isFixed=!1),e>this.scrollThreshold+20&&this.isFixed?(this.header.classList.add(this.dropShadowClass),this.isCastingShadow=!0):e>this.scrollThreshold&&this.isFixed&&(this.header.classList.remove(this.dropShadowClass),this.isCastingShadow=!1)}},MainNav:class extends l{constructor(e){super(),this.element=e,this.activeNavItem=null,this.focusableElements=[],this.init()}init(){return this.cacheDomReferences().setupHandlers().enable(),this.addOutsideClickListener(),this.addFocusTracking(),this}cacheDomReferences(){return this.navItems=Array.from(this.element.querySelectorAll(".nav-menu > ul > li:not(.donate-button)")),this.navButton=this.element.querySelector(".mob-nav-icon"),this.navMenu=this.element.querySelector(".nav-open"),this.utilityNavWrap=document.querySelector(".utility-nav-wrap"),this}setupHandlers(){this.navItems.forEach((e=>{e.addEventListener("click",this.handleNavItemClick.bind(this,e)),e.addEventListener("keydown",this.handleNavItemKeydown.bind(this,e))}));return this.element.querySelectorAll(".sub-nav a").forEach((e=>{e.addEventListener("click",this.handleSubMenuClick.bind(this))})),this.handleNavButtonClick=this.handleNavButtonClick.bind(this),this.utilityNavWrap.addEventListener("click",this.closeSubMenu.bind(this)),this}enable(){return this.navButton.addEventListener("click",this.handleNavButtonClick),this.navButton.addEventListener("keydown",this.handleNavButtonKeydown),this}addOutsideClickListener(){document.addEventListener("click",this.handleOutsideClick.bind(this))}handleOutsideClick(e){!this.element.contains(e.target)&&this.activeNavItem&&this.closeSubMenu()}addFocusTracking(){this.focusableElements=Array.from(this.element.querySelectorAll("a, button, input, select, textarea, [tabindex]")),this.focusableElements.forEach((e=>{e.addEventListener("focusin",this.handleFocusIn.bind(this)),e.addEventListener("focusout",this.handleFocusOut.bind(this))}))}handleFocusIn(){this.isFocusingInsideNav=!0}handleFocusOut(){setTimeout((()=>{this.element.contains(document.activeElement)||this.closeSubMenu()}),0)}handleNavItemClick(e,t){if(t.target.closest("a")&&t.target.closest("li").querySelector(".sub-nav")&&!t.target.closest(".
3nav-posts")&&t.preventDefault(),this.utilityNavWrap.classList.contains("open")&&(this.utilityNavWrap.classList.remove("open"),this.utilityNavWrap.querySelector(".nav-wrap").classList.remove("open")),t.target.closest(".sub-nav"))return;this.activeNavItem&&this.activeNavItem!==e&&this.activeNavItem.classList.remove("open");e.classList.toggle("open")?(e.querySelector(".nav-item-a").setAttribute("aria-expanded",!0),this.enableBodyScroll(!1)):(e.querySelector(".nav-item-a").setAttribute("aria-expanded",!1),this.enableBodyScroll(!0)),this.activeNavItem=e}handleNavItemKeydown(e,t){const{key:i}=e;"Enter"===i||" "===i?(e.preventDefault(),this.handleNavItemClick(t,e)):"Escape"===i&&t.classList.contains("open")&&(t.classList.remove("open"),this.activeNavItem=null,this.enableBodyScroll(!0))}handleSubMenuClick(){return this}handleNavButtonClick(){this.navButton.classList.toggle("open"),this.navMenu.classList.toggle("open"),this.navItems.forEach((e=>{e.classList.remove("open")}));const e=this.navButton.classList.contains("open");this.enableBodyScroll(!e)}closeSubMenu(){this.activeNavItem&&(this.activeNavItem.classList.remove("open"),this.activeNavItem=null,this.enableBodyScroll(!0))}enableBodyScroll(e){return e?document.body.classList.remove("no-scroll"):document.body.classList.add("no-scroll"),this}removeOutsideClickListener(){document.removeEventListener("click",this.handleOutsideClick.bind(this)),this.focusableElements.forEach((e=>{e.removeEventListener("focusin",this.handleFocusIn.bind(this)),e.removeEventListener("focusout",this.handleFocusOut.bind(this))}))}handleNavButtonKeydown(e){return"Enter"===e.key&&(e.preventDefault(),e.target.click()),this}}};var g=(e,t,i)=>{let s;return function(...n){const r=this,a=i&&!s;clearTimeout(s),s=setTimeout((function(){s=null,i||e.apply(r,n)}),t),a&&e.apply(r,n)}};let v=0;class L{constructor(){this.callbacks=[],this.init()}init(){window.addEventListener(s.RESIZE,g(this.onResize.bind(this),10))}onResize(){this.callbacks.forEach((e=>{e.callback()}))}addCallback(e){const t=(v+=1,v);return this.callbacks.push({id:t,callback:e}),this.removeCallback.bind(this,t)}removeCallback(e){this.callbacks=this.callbacks.filter((t=>t.id!==e))}}let T=0;class I{constructor(){this.callbacks=[],this.init()}init(){window.addEventListener(s.SCROLL,g(this.onScroll.bind(this),10))}onScroll(){this.callbacks.forEach((e=>{e.callback()}))}addCallback(e){const t=(T+=1,T);return this.callbacks.push({id:t,callback:e}),this.removeCallback.bind(this,t)}removeCallback(e){this.callbacks=this.callbacks.filter((t=>t.id!==e))}}class S{constructor(){this.ResizeService=new L,this.ScrollService=new I}}class b{constructor(){this.Services=new S,this.inViewport=new o(this.Services),this.loadPagecomponents()}loadPagecomponents(){const e="data-loadcomponent";Array.prototype.forEach.call(document.querySelectorAll(`[${e}]`),(t=>{new(m[t.getAttribute(e)])(t,this.Services)}))}}i(797);window.App=new b}(),i(440)({})}();
4//# sourceMappingURL=app.js.map

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.