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AAKC,IAAUpL,OAAOC,UAAUoL,eAAelL,KAAKgL,EAAKC,GCClF,IADuB,EAAQ,MAI/BtJ,SAAS8E,iBAAiB,oBAAoB,KAC5C9E,SAASqE,iBAAiB,sBAAsBmF,SAASzK,IACvD,MAAM0K,EAAY1K,EAAQ+C,aAAa,cACnC2H,EACF1K,EAAQiD,aAAa,aAAc,yBAAyByH,KAE5D1K,EAAQiD,aAAa,aAAc,yBAAyBjD,EAAQ2K,cACtE,IAGF1J,SAASqE,iBAAiB,KAAKmF,SAASzK,IACtC,MAAM4K,EAAU5K,EAAQ+C,aAAa,QACjC6H,IAAuC,GAA5BA,EAAQC,QAAQ,UAC7B7K,EAAQiD,aAAa,eAAgB,QACrCjD,EAAQiD,aAAa,aAAc,GAAGjD,EAAQ2K,kCAChD,GACA,G","sources":["webpack://customtheme/./node_modules/@alexspirgel/extend/src/index.js","webpack://customtheme/./node_modules/@alexspirgel/is-element/is-element.js","webpack://customtheme/./node_modules/@alexspirgel/is-plain-object/is-plain-object.js","webpack://customtheme/./node_modules/@alexspirgel/no-scroll/src/scripts/index.js","webpack://customtheme/./assets/icons/search.svg","webpack://customtheme/./scripts/src/modules/site-wide-header.js","webpack://customtheme/webpack/bootstrap","webpack://customtheme/webpack/runtime/define property getters","webpack://customtheme/webpack/runtime/hasOwnProperty shorthand","webpack://customtheme/./scripts/src/theme.js"],"sourcesContent":["const isPlainObject = require('@alexspirgel/is-plain-object');\r\n\r\nconst extend = (...arguments) => {\r\n\tlet target = arguments[0];\r\n\tlet argumentIndex, merge, mergeIsArray;\r\n\tfor (argumentIndex = 1; argumentIndex < arguments.length; argumentIndex++) {\r\n\t\tmerge = arguments[argumentIndex];\r\n\t\tif (merge === target) {\r\n\t\t\tcontinue;\r\n\t\t}\r\n\t\tmergeIsArray = Array.isArray(merge);\r\n\t\tif (mergeIsArray || isPlainObject(merge)) {\r\n\t\t\tif (mergeIsArray && !Array.isArray(target)) {\r\n\t\t\t\ttarget = [];\r\n\t\t\t}\r\n\t\t\telse if (!mergeIsArray && !isPlainObject(target)) {\r\n\t\t\t\ttarget = {};\r\n\t\t\t}\r\n\t\t\tfor (const property in merge) {\r\n\t\t\t\tif (property === \"__proto__\") {\r\n\t\t\t\t\tcontinue;\r\n\t\t\t\t}\r\n\t\t\t\ttarget[property] = extend(target[property], merge[property]);\r\n\t\t\t}\r\n\t\t}\r\n\t\telse {\r\n\t\t\tif (merge !== undefined) {\r\n\t\t\t\ttarget = merge;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\treturn target;\r\n};\r\n\r\nmodule.exports = extend;","const isPlainObject = require('@alexspirgel/is-plain-object');\r\n\r\nfunction isElement(value) {\r\n\tif (typeof value === 'object' &&\r\n\tvalue !== null &&\r\n\tvalue.nodeType === 1 &&\r\n\t!isPlainObject(value)) {\r\n\t\treturn true;\r\n\t}\r\n\treturn false;\r\n}\r\n\r\nmodule.exports = isElement;","function isPlainObject(value) {\r\n\tif (typeof value !== 'object' ||\r\n\tvalue === null ||\r\n\tObject.prototype.toString.call(value) !== '[object Object]') {\r\n\t\treturn false;\r\n\t}\r\n\tif (Object.getPrototypeOf(value) === null) {\r\n return true;\r\n }\r\n\tlet prototype = value;\r\n while (Object.getPrototypeOf(prototype) !== null) {\r\n prototype = Object.getPrototypeOf(prototype);\r\n }\r\n return Object.getPrototypeOf(value) === prototype;\r\n}\r\n\r\nmodule.exports = isPlainObject;","const extend = require('@alexspirgel/extend');\nconst isElement = require('@alexspirgel/is-element');\n\nmodule.exports = class NoScroll {\n\t\n\tstatic get stateValues() {\n\t\treturn {\n\t\t\tscroll: 'scroll',\n\t\t\tnoScroll: 'no-scroll'\n\t\t};\n\t}\n\n\tstatic get defaultOptions() {\n\t\treturn {\n\t\t\taxis: 'y',\n\t\t\tdataAttributeName: {\n\t\t\t\telement: 'data-no-scroll-element',\n\t\t\t\txState: 'data-no-scroll-x-state',\n\t\t\t\tyState: 'data-no-scroll-y-state',\n\t\t\t},\n\t\t\tcssVariableName: {\n\t\t\t\txScrollbarHeight: '--no-scroll--x-scrollbar-height',\n\t\t\t\tyScrollbarWidth: '--no-scroll--y-scrollbar-width',\n\t\t\t\tdocumentWidthOffset: '--no-scroll--document-width-offset',\n\t\t\t},\n\t\t};\n\t}\n\n\tstatic validateOptions(options) {\n\t\tconst errorPrefix = 'No Scroll';\n\t\t// outerElement\n\t\tif (typeof options.outerElement !== 'string' && !isElement(options.outerElement)) {\n\t\t\tthrow new Error(`${errorPrefix} option.outerElement must be a string or element.`);\n\t\t}\n\t\t// innerElement\n\t\tif (typeof options.innerElement !== 'string' && !isElement(options.innerElement)) {\n\t\t\tthrow new Error(`${errorPrefix} option.innerElement must be a string or element.`);\n\t\t}\n\t\t// axis\n\t\tif (typeof options.axis !== 'string' && typeof options.axis !== 'object' && typeof options.axis !== 'undefined') {\n\t\t\tthrow new Error(`${errorPrefix} option.axis must be a string, object, or undefined.`);\n\t\t}\n\t\tif (typeof options.axis === 'object') {\n\t\t\tfor (const property in options.axis) {\n\t\t\t\tif (property !== 'x'\n\t\t\t\t&& property !== 'y') {\n\t\t\t\t\tthrow new Error(`${errorPrefix} option.axis object must only contain properties 'x' and/or 'y'.`);\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tif (typeof options.axis[property] !== 'boolean') {\n\t\t\t\t\t\tthrow new Error(`${errorPrefix} option.axis.${property} must be a boolean.`);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t// cssVariableName\n\t\tif (typeof options.cssVariableName !== 'object' && typeof options.cssVariableName !== 'undefined') {\n\t\t\tthrow new Error(`${errorPrefix} option.cssVariableName must be an object or undefined.`);\n\t\t}\n\t\tfor (const property in options.cssVariableName) {\n\t\t\tif (property !== 'xScrollbarHeight'\n\t\t\t&& property !== 'yScrollbarWidth'\n\t\t\t&& property !== 'documentWidthOffset') {\n\t\t\t\tthrow new Error(`${errorPrefix} option.axis object must only contain one or more of these properties 'xScrollbarHeight', 'yScrollbarWidth', and 'documentWidthOffset'.`);\n\t\t\t}\n\t\t\telse {\n\t\t\t\tif (typeof options.cssVariableName[property] !== 'string' && typeof options.cssVariableName[property] !== 'undefined') {\n\t\t\t\t\tthrow new Error(`${errorPrefix} option.cssVariableName.${property} must be a string or undefined.`);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t// dataAttributeName\n\t\tif (typeof options.dataAttributeName !== 'object' && typeof options.dataAttributeName !== 'undefined') {\n\t\t\tthrow new Error(`${errorPrefix} option.dataAttributeName must be an object or undefined.`);\n\t\t}\n\t\tfor (const property in options.dataAttributeName) {\n\t\t\tif (property !== 'element'\n\t\t\t&& property !== 'xState'\n\t\t\t&& property !== 'yState') {\n\t\t\t\tthrow new Error(`${errorPrefix} option.axis object must only contain one or more of these properties 'element', 'xState', and 'yState'.`);\n\t\t\t}\n\t\t\telse {\n\t\t\t\tif (typeof options.dataAttributeName[property] !== 'string' && typeof options.dataAttributeName[property] !== 'undefined') {\n\t\t\t\t\tthrow new Error(`${errorPrefix} option.dataAttributeName.${property} must be a string or undefined.`);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\tstatic normalizeOptions(options) {\n\t\tif (!options.normalized) {\n\t\t\tthis.validateOptions(options);\n\t\t\tconst normalizedOptions = extend({}, this.defaultOptions, options);\n\t\t\t// outerElement\n\t\t\tif (typeof normalizedOptions.outerElement === 'string') {\n\t\t\t\tnormalizedOptions.outerElement = document.querySelector(normalizedOptions.outerElement);\n\t\t\t}\n\t\t\t// innerElement\n\t\t\tif (typeof normalizedOptions.innerElement === 'string') {\n\t\t\t\tnormalizedOptions.innerElement = normalizedOptions.outerElement.querySelector(normalizedOptions.innerElement);\n\t\t\t}\n\t\t\t// axis\n\t\t\tif (typeof normalizedOptions.axis === 'string') {\n\t\t\t\tconst normalizedAxis = {\n\t\t\t\t\tx: false,\n\t\t\t\t\ty: false,\n\t\t\t\t};\n\t\t\t\tif (normalizedOptions.axis === 'x') {\n\t\t\t\t\tnormalizedAxis.x = true;\n\t\t\t\t}\n\t\t\t\telse if (normalizedOptions.axis === 'y') {\n\t\t\t\t\tnormalizedAxis.y = true;\n\t\t\t\t}\n\t\t\t\tnormalizedOptions.axis = normalizedAxis;\n\t\t\t}\n\t\t\toptions.normalized = true;\n\t\t\treturn normalizedOptions;\n\t\t}\n\t\telse {\n\t\t\treturn options;\n\t\t}\n\t}\n\n\tstatic isOuterElementDocumentElement(options) {\n\t\toptions = this.normalizeOptions(options);\n\t\tif (options.outerElement === document.documentElement) {\n\t\t\treturn true;\n\t\t}\n\t\telse {\n\t\t\treturn false;\n\t\t}\n\t}\n\t\n\tstatic getElementXScrollbarHeight(options) {\n\t\toptions = this.normalizeOptions(options);\n\t\tlet size = 0;\n\t\tlet outerSize = options.outerElement.offsetHeight;\n\t\tif (this.isOuterElementDocumentElement(options)) {\n\t\t\touterSize = window.innerHeight;\n\t\t}\n\t\tconst innerSize = options.innerElement.offsetHeight;\n\t\tconst outerElementComputedStyles = window.getComputedStyle(options.outerElement);\n\t\tconst borderTopWidth = parseInt(outerElementComputedStyles.borderTopWidth);\n\t\tconst borderBottomWidth = parseInt(outerElementComputedStyles.borderBottomWidth);\n\t\tsize = (outerSize - borderTopWidth - borderBottomWidth) - innerSize;\n\t\tif (size < 0) {\n\t\t\tsize = 0;\n\t\t}\n\t\treturn size;\n\t}\n\n\tstatic getElementYScrollbarWidth(options) {\n\t\toptions = this.normalizeOptions(options);\n\t\tlet size = 0;\n\t\tlet outerSize = options.outerElement.offsetWidth;\n\t\tif (this.isOuterElementDocumentElement(options)) {\n\t\t\touterSize = window.innerWidth;\n\t\t}\n\t\tconst innerSize = options.innerElement.offsetWidth;\n\t\tconst outerElementComputedStyles = window.getComputedStyle(options.outerElement);\n\t\tconst borderLeftWidth = parseInt(outerElementComputedStyles.borderLeftWidth);\n\t\tconst borderRightWidth = parseInt(outerElementComputedStyles.borderRightWidth);\n\t\tsize = (outerSize - borderLeftWidth - borderRightWidth) - innerSize;\n\t\tif (size < 0) {\n\t\t\tsize = 0;\n\t\t}\n\t\treturn size;\n\t}\n\n\tstatic setXScrollbarHeightCSSVariable(options, value) {\n\t\toptions = this.normalizeOptions(options);\n\t\tif (typeof value === 'undefined') {\n\t\t\tvalue = this.getElementXScrollbarHeight(options);\n\t\t}\n\t\tif (typeof value === 'number') {\n\t\t\tvalue = value.toString() + 'px';\n\t\t}\n\t\toptions.outerElement.style.setProperty(options.cssVariableName.xScrollbarHeight, value);\n\t}\n\n\tstatic setYScrollbarWidthCSSVariable(options, value) {\n\t\toptions = this.normalizeOptions(options);\n\t\tif (typeof value === 'undefined') {\n\t\t\tvalue = this.getElementYScrollbarWidth(options);\n\t\t}\n\t\tif (typeof value === 'number') {\n\t\t\tvalue = value.toString() + 'px';\n\t\t}\n\t\toptions.outerElement.style.setProperty(options.cssVariableName.yScrollbarWidth, value);\n\t\tif (this.isOuterElementDocumentElement(options)) {\n\t\t\toptions.outerElement.style.setProperty(options.cssVariableName.documentWidthOffset, value);\n\t\t}\n\t}\n\n\tstatic isScrollEnabled(options) {\n\t\toptions = this.normalizeOptions(options);\n\t\tconst returnObject = {\n\t\t\tx: true,\n\t\t\ty: true\n\t\t};\n\t\tif (options.outerElement.getAttribute(options.dataAttributeName.xState) === this.stateValues.noScroll) {\n\t\t\treturnObject.x = false;\n\t\t}\n\t\tif (options.outerElement.getAttribute(options.dataAttributeName.yState) === this.stateValues.noScroll) {\n\t\t\treturnObject.y = false;\n\t\t}\n\t\treturn returnObject;\n\t}\n\n\tstatic disableScroll(options) {\n\t\toptions = this.normalizeOptions(options);\n\t\toptions.outerElement.setAttribute(options.dataAttributeName.element, 'outer');\n\t\toptions.innerElement.setAttribute(options.dataAttributeName.element, 'inner');\n\t\tif (options.axis.x) {\n\t\t\tthis.setXScrollbarHeightCSSVariable(options);\n\t\t\toptions.outerElement.setAttribute(options.dataAttributeName.xState, this.stateValues.noScroll);\n\t\t}\n\t\tif (options.axis.y) {\n\t\t\tthis.setYScrollbarWidthCSSVariable(options);\n\t\t\toptions.outerElement.setAttribute(options.dataAttributeName.yState, this.stateValues.noScroll);\n\t\t}\n\t}\n\n\tstatic enableScroll(options) {\n\t\toptions = this.normalizeOptions(options);\n\t\tif (options.axis.x) {\n\t\t\tthis.setXScrollbarHeightCSSVariable(options, 0);\n\t\t\toptions.outerElement.setAttribute(options.dataAttributeName.xState, this.stateValues.scroll);\n\t\t}\n\t\tif (options.axis.y) {\n\t\t\tthis.setYScrollbarWidthCSSVariable(options, 0);\n\t\t\toptions.outerElement.setAttribute(options.dataAttributeName.yState, this.stateValues.scroll);\n\t\t}\n\t}\n\n\tstatic toggleScroll(options) {\n\t\toptions = this.normalizeOptions(options);\n\t\tconst isScrollEnabled = this.isScrollEnabled(options);\n\t\tif (options.axis.x) {\n\t\t\tconst xOptions = extend({}, options);\n\t\t\txOptions.axis.y = false;\n\t\t\tif (isScrollEnabled.x) {\n\t\t\t\tthis.disableScroll(xOptions);\n\t\t\t}\n\t\t\telse {\n\t\t\t\tthis.enableScroll(xOptions);\n\t\t\t}\n\t\t}\n\t\tif (options.axis.y) {\n\t\t\tconst yOptions = extend({}, options);\n\t\t\tyOptions.axis.x = false;\n\t\t\tif (isScrollEnabled.y) {\n\t\t\t\tthis.disableScroll(yOptions);\n\t\t\t}\n\t\t\telse {\n\t\t\t\tthis.enableScroll(yOptions);\n\t\t\t}\n\t\t}\n\t}\n\n};","export default \"\\n\\t\\n\\n\";","const noScroll = require('@alexspirgel/no-scroll');\nconst svgSearch = require('../../../assets/icons/search.svg').default;\n\nmodule.exports = class SiteWideHeader {\n\n\tstatic get mediaQuery() {\n\t\treturn {\n\t\t\tmedium: window.matchMedia('(max-width: 48rem)'), // 768px\n\t\t\tlarge: window.matchMedia('(max-width: 80rem)'), // 1280px\n\t\t};\n\t}\n\n\tstatic waitForElement(selector) {\n\t\treturn new Promise(resolve => {\n\t\t\tif (document.querySelector(selector)) {\n\t\t\t\treturn resolve(document.querySelector(selector));\n\t\t\t}\n\t\t\tconst observer = new MutationObserver(mutations => {\n\t\t\t\tif (document.querySelector(selector)) {\n\t\t\t\t\tobserver.disconnect();\n\t\t\t\t\tresolve(document.querySelector(selector));\n\t\t\t\t}\n\t\t\t});\n\t\t\tobserver.observe(document, {\n\t\t\t\tchildList: true,\n\t\t\t\tsubtree: true,\n\t\t\t});\n\t\t});\n\t}\n\n\tstatic get noScrollOptions() {\n\t\treturn {\n\t\t\touterElement: document.documentElement,\n\t\t\tinnerElement: document.body,\n\t\t\taxis: 'y'\n\t\t}\n\t}\n\n\tconstructor() {\n\t\tthis.initialize();\n\t}\n\n\tasync initialize() {\n\t\tif (!this.initialized) {\n\n\t\t\tthis.initialized = true;\n\t\t\tawait this.constructor.waitForElement('.page-content');\n\n\t\t\t// get elements\n\t\t\tthis.utilityMenuBlockElement = document.querySelector('#block-utilitymenu');\n\t\t\tthis.utilityMenuElement = this.utilityMenuBlockElement.querySelector(':scope > .utility-menu');\n\t\t\tthis.utilitySearchButtonElement = document.querySelector('.utility-menu__link.search');\n\t\t\tthis.searchBlockElement = document.querySelector('#block-exposedformglobal-searchglobal-search');\n\t\t\tthis.searchFormInputElement = this.searchBlockElement.querySelector('.form-text');\n\t\t\tthis.searchFormSubmitWrapperElement = this.searchBlockElement.querySelector('.form-actions');\n\t\t\tthis.searchFormSubmitElement = this.searchBlockElement.querySelector('.form-submit');\n\t\t\tthis.mainMenuBlockElement = document.querySelector('#block-mercy-hurst-main-menu');\n\t\t\tthis.mainMenuListElement = this.mainMenuBlockElement.querySelector(':scope > ul');\n\t\t\tthis.mainMenuItemLevel0Elements = this.mainMenuListElement.querySelectorAll(':scope > li');\n\t\t\tthis.siteWideHeaderElement = document.querySelector('.dialog-off-canvas-main-canvas > header');\n\t\t\tthis.mobileSearchButtonElement = document.querySelector('.header-buttons__search-button');\n\t\t\tthis.mobileNavButtonElement = document.querySelector('.header-buttons__menu-button');\n\n\t\t\t// desktop/mobile switch\n\t\t\tthis.mediaQueryLargeListener(this.constructor.mediaQuery.large);\n\t\t\tthis.constructor.mediaQuery.large.addListener(this.mediaQueryLargeListener);\n\t\t\tthis.mediaQueryMediumListener(this.constructor.mediaQuery.medium);\n\t\t\tthis.constructor.mediaQuery.medium.addListener(this.mediaQueryMediumListener);\n\n\t\t\t// insert svgs\n\t\t\tif (this.searchFormSubmitWrapperElement) {\n\t\t\t\tthis.searchFormSubmitWrapperElement.insertAdjacentHTML('beforeend', svgSearch);\n\t\t\t}\n\n\t\t\t// update attributes\n\t\t\tthis.searchFormInputElement.setAttribute('placeholder', 'Search ºÃÉ«ÏÈÉúTV');\n\n\t\t\t// attach listeners\n\t\t\tthis.addMobileEventListenersToLevel0Items();\n\t\t\tdocument.addEventListener('keydown', (event) => {\n\t\t\t\tif (event.key === 'Escape' && this.searchBlockElement.contains(document.activeElement)) {\n\t\t\t\t\tthis.hideSearchBlock();\n\t\t\t\t}\n\t\t\t});\n\t\t\tthis.utilitySearchButtonElement.addEventListener('click', () => {\n\t\t\t\tthis.toggleSearchBlock();\n\t\t\t});\n\t\t\tthis.mobileSearchButtonElement.addEventListener('click', this.toggleMobileSearch);\n\t\t\tthis.mobileNavButtonElement.addEventListener('click', this.toggleMobileMenu);\n\n\t\t\t// set mega menu column count\n\t\t\tthis.setMegaMenuColumnCounts();\n\n\t\t\t// set mega menu positions\n\t\t\tthis.setMegaMenuPositions();\n\t\t\twindow.addEventListener('resize', this.setMegaMenuPositions);\n\n\t\t\t// set mobile overlay height\n\t\t\tthis.updateMobileOverlayHeight();\n\t\t\twindow.addEventListener('resize', this.updateMobileOverlayHeight);\n\n\t\t}\n\t}\n\n\tmediaQueryLargeListener = (mediaQuery) => {\n\t\tif (mediaQuery.matches) {\n\t\t\tif (this.desktopMobileState !== 'mobile') {\n\t\t\t\tthis.desktopMobileState = 'mobile';\n\t\t\t\tthis.desktopMobileStateChange();\n\t\t\t}\n\t\t}\n\t\telse {\n\t\t\tif (this.desktopMobileState !== 'desktop') {\n\t\t\t\tthis.desktopMobileState = 'desktop';\n\t\t\t\tthis.desktopMobileStateChange();\n\t\t\t}\n\t\t}\n\t}\n\n\tdesktopMobileStateChange() {\n\t\tif (this.desktopMobileState === 'desktop') {\n\t\t\t// switch to desktop\n\t\t\tthis.closeMobileSearch();\n\t\t\tthis.closeMobileMenu();\n\t\t}\n\t\telse if (this.desktopMobileState === 'mobile') {\n\t\t\t// switch to mobile\n\t\t\tthis.hideSearchBlock();\n\t\t}\n\t}\n\n\tmediaQueryMediumListener = (mediaQuery) => {\n\t\tif (mediaQuery.matches) {\n\t\t\tif (this.utilityMenuState !== 'mobile') {\n\t\t\t\tthis.utilityMenuState = 'mobile';\n\t\t\t\tthis.utilityMenuStateChange();\n\t\t\t}\n\t\t}\n\t\telse {\n\t\t\tif (this.utilityMenuState !== 'desktop') {\n\t\t\t\tthis.utilityMenuState = 'desktop';\n\t\t\t\tthis.utilityMenuStateChange();\n\t\t\t}\n\t\t}\n\t}\n\n\tutilityMenuStateChange() {\n\t\tif (this.utilityMenuState === 'desktop') {\n\t\t\t// switch to desktop\n\t\t\tif (!this.utilityMenuBlockElement.contains(this.utilityMenuElement)) {\n\t\t\t\tthis.utilityMenuBlockElement.appendChild(this.utilityMenuElement);\n\t\t\t}\n\t\t}\n\t\telse if (this.utilityMenuState === 'mobile') {\n\t\t\t// switch to mobile\n\t\t\tif (!this.mainMenuBlockElement.contains(this.utilityMenuElement)) {\n\t\t\t\tthis.mainMenuBlockElement.appendChild(this.utilityMenuElement);\n\t\t\t}\n\t\t}\n\t}\n\n\taddMobileEventListenersToLevel0Items() {\n\t\tfor (const itemLevel0Element of this.mainMenuItemLevel0Elements) {\n\t\t\tif (this.mainMenuItemLevel0ElementHasMegaMenu(itemLevel0Element)) {\n\t\t\t\tthis.addMobileEventListenersToLevel0Item(itemLevel0Element);\n\t\t\t}\n\t\t}\n\t}\n\n\taddMobileEventListenersToLevel0Item(item) {\n\t\tconst button = item.querySelector(':scope > button');\n\t\tif (button) {\n\t\t\tbutton.addEventListener('click', () => {\n\t\t\t\tconsole.log(this.desktopMobileState);\n\t\t\t\tconsole.log(button.closest('.menu-item'));\n\t\t\t\tif (this.desktopMobileState === 'mobile') {\n\t\t\t\t\tconst menuItemElement = button.closest('.menu-item');\n\t\t\t\t\tif (menuItemElement.classList.contains('mobile-link-item-active')) {\n\t\t\t\t\t\tmenuItemElement.classList.remove('mobile-link-item-active');\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tmenuItemElement.classList.add('mobile-link-item-active');\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t}\n\n\tmainMenuItemLevel0ElementHasMegaMenu(element) {\n\t\treturn element.classList.contains('menu-item--expanded');\n\t}\n\n\t// desktop methods\n\n\tshowSearchBlock() {\n\t\tif (this.searchBlockElement) {\n\t\t\tdocument.body.classList.add('desktop-search-open');\n\t\t\tsetTimeout(() => {\n\t\t\t\tthis.searchFormInputElement.focus();\n\t\t\t}, 250);\n\t\t}\n\t}\n\n\thideSearchBlock() {\n\t\tif (this.searchBlockElement) {\n\t\t\tdocument.body.classList.remove('desktop-search-open');\n\t\t\tdocument.body.classList.remove('mobile-search-open');\n\t\t}\n\t}\n\n\tget isSearchBlockOpen() {\n\t\treturn document.body.classList.contains('desktop-search-open');\n\t}\n\n\ttoggleSearchBlock() {\n\t\tif (this.searchBlockElement) {\n\t\t\tif (this.isSearchBlockOpen) {\n\t\t\t\tthis.hideSearchBlock();\n\t\t\t}\n\t\t\telse {\n\t\t\t\tthis.showSearchBlock();\n\t\t\t}\n\t\t}\n\t}\n\n\tsetMegaMenuColumnCounts() {\n\t\tfor (const itemLevel0Element of this.mainMenuItemLevel0Elements) {\n\t\t\tif (this.mainMenuItemLevel0ElementHasMegaMenu(itemLevel0Element)) {\n\t\t\t\tconst itemLevel1Elements = itemLevel0Element.querySelectorAll(':scope > .menu-dropdown > ul > li');\n\t\t\t\titemLevel0Element.style.setProperty('--level-1-items-count', itemLevel1Elements.length);\n\t\t\t}\n\t\t}\n\t}\n\n\tsetMegaMenuPositions = () => {\n\t\tif (!this.constructor.mediaQuery.large.matches) {\n\t\t\tconst mainMenuRect = this.mainMenuBlockElement.getBoundingClientRect();\n\t\t\tthis.mainMenuBlockElement.style.setProperty('--main-menu-area-width', `${mainMenuRect.width}px`);\n\t\t\tconst offsetLeft = mainMenuRect.left; // value to translate rect left into css left for actual style value\n\t\t\tconst minimumLeft = mainMenuRect.left; // any less and the mega menu would display outside the left border of the menu block\n\t\t\tfor (const itemLevel0Element of this.mainMenuItemLevel0Elements) {\n\t\t\t\tif (this.mainMenuItemLevel0ElementHasMegaMenu(itemLevel0Element)) {\n\t\t\t\t\tconst itemLevel0Rect = itemLevel0Element.getBoundingClientRect();\n\t\t\t\t\tconst dropdownElement = itemLevel0Element.querySelector(':scope > .menu-dropdown');\n\t\t\t\t\tconst dropdownRect = dropdownElement.getBoundingClientRect();\n\t\t\t\t\tconst maximumLeft = mainMenuRect.right - dropdownRect.width; // any more and the mega menu would display outside the right border of the menu block\n\t\t\t\t\tlet leftValue = itemLevel0Rect.left; // set to left of menu item level 0 element\n\t\t\t\t\tleftValue = leftValue + (itemLevel0Rect.width / 2); // center under menu item level 0 element\n\t\t\t\t\tleftValue = leftValue - (dropdownRect.width / 2) // center the value to the center of the dropdown element\n\t\t\t\t\tleftValue = Math.max(leftValue, minimumLeft); // enforce minimum value\n\t\t\t\t\tleftValue = Math.min(leftValue, maximumLeft); // enforce maximum value\n\t\t\t\t\tleftValue = leftValue - offsetLeft; // apply offset to ground to container left\n\t\t\t\t\tdropdownElement.style.setProperty('--mega-menu-left', `${leftValue}px`);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// mobile methods\n\n\tupdateMobileOverlayHeight = () => {\n\t\tif (this.constructor.mediaQuery.large.matches) {\n\t\t\tconst overlayHeight = window.innerHeight - this.siteWideHeaderElement.getBoundingClientRect().bottom;\n\t\t\tthis.siteWideHeaderElement.style.setProperty('--mobile-overlay-height', `${overlayHeight}px`);\n\t\t}\n\t}\n\n\topenMobileSearch() {\n\t\tthis.updateMobileOverlayHeight();\n\t\tdocument.body.classList.add('mobile-search-open');\n\t\tthis.closeMobileMenu(true);\n\t\tconst isScrollEnabled = noScroll.isScrollEnabled(this.constructor.noScrollOptions);\n\t\tif (isScrollEnabled.y) {\n\t\t\tnoScroll.disableScroll(this.constructor.noScrollOptions);\n\t\t}\n\t}\n\t\n\tcloseMobileSearch(isMenuOpening = false) {\n\t\tdocument.body.classList.remove('mobile-search-open');\n\t\tdocument.body.classList.remove('desktop-search-open');\n\t\tif (!isMenuOpening) {\n\t\t\tconst isScrollEnabled = noScroll.isScrollEnabled(this.constructor.noScrollOptions);\n\t\t\tif (!isScrollEnabled.y) {\n\t\t\t\tnoScroll.enableScroll(this.constructor.noScrollOptions);\n\t\t\t}\n\t\t}\n\t}\n\n\tget isMobileSearchOpen() {\n\t\treturn document.body.classList.contains('mobile-search-open');\n\t}\n\t\n\ttoggleMobileSearch = () => {\n\t\tif (this.isMobileSearchOpen) {\n\t\t\tthis.closeMobileSearch();\n\t\t}\n\t\telse {\n\t\t\tthis.openMobileSearch();\n\t\t}\n\t};\n\t\n\topenMobileMenu() {\n\t\tthis.updateMobileOverlayHeight();\n\t\tdocument.body.classList.add('mobile-menu-open');\n\t\tthis.closeMobileSearch(true);\n\t\tconst isScrollEnabled = noScroll.isScrollEnabled(this.constructor.noScrollOptions);\n\t\tif (isScrollEnabled.y) {\n\t\t\tnoScroll.disableScroll(this.constructor.noScrollOptions);\n\t\t}\n\t}\n\t\n\tcloseMobileMenu(isSearchOpening = false) {\n\t\tdocument.body.classList.remove('mobile-menu-open');\n\t\tif (!isSearchOpening) {\n\t\t\tconst isScrollEnabled = noScroll.isScrollEnabled(this.constructor.noScrollOptions);\n\t\t\tif (!isScrollEnabled.y) {\n\t\t\t\tnoScroll.enableScroll(this.constructor.noScrollOptions);\n\t\t\t}\n\t\t}\n\t}\n\n\tget isMobileMenuOpen() {\n\t\treturn document.body.classList.contains('mobile-menu-open');\n\t}\n\n\ttoggleMobileMenu = () => {\n\t\tif (this.isMobileMenuOpen) {\n\t\t\tthis.closeMobileMenu();\n\t\t}\n\t\telse {\n\t\t\tthis.openMobileMenu();\n\t\t}\n\t};\n\n};","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","const SiteWideHeader = require('./modules/site-wide-header.js');\nnew SiteWideHeader();\n\n\ndocument.addEventListener('DOMContentLoaded', () => {\n document.querySelectorAll('a[target=\"_blank\"]').forEach((element) => {\n const ariaLabel = element.getAttribute('aria-label');\n if (ariaLabel) {\n element.setAttribute('aria-label', `Opens in a new window ${ariaLabel}`);\n } else {\n element.setAttribute('aria-label', `Opens in a new window ${element.textContent}`)\n }\n });\n\n document.querySelectorAll('a').forEach((element) => {\n const hasLink = element.getAttribute('href');\n if (hasLink && hasLink.indexOf(\".pdf\") != -1) {\n element.setAttribute('data-has-pdf', 'true');\n element.setAttribute('aria-label', `${element.textContent} - Opens a pdf file`);\n }\n });\n});"],"names":["isPlainObject","extend","arguments","argumentIndex","merge","mergeIsArray","target","length","Array","isArray","property","undefined","module","exports","value","nodeType","Object","prototype","toString","call","getPrototypeOf","isElement","NoScroll","stateValues","scroll","noScroll","defaultOptions","axis","dataAttributeName","element","xState","yState","cssVariableName","xScrollbarHeight","yScrollbarWidth","documentWidthOffset","validateOptions","options","errorPrefix","outerElement","Error","innerElement","normalizeOptions","normalized","this","normalizedOptions","document","querySelector","normalizedAxis","x","y","isOuterElementDocumentElement","documentElement","getElementXScrollbarHeight","size","outerSize","offsetHeight","window","innerHeight","innerSize","outerElementComputedStyles","getComputedStyle","parseInt","borderTopWidth","borderBottomWidth","getElementYScrollbarWidth","offsetWidth","innerWidth","borderLeftWidth","borderRightWidth","setXScrollbarHeightCSSVariable","style","setProperty","setYScrollbarWidthCSSVariable","isScrollEnabled","returnObject","getAttribute","disableScroll","setAttribute","enableScroll","toggleScroll","xOptions","yOptions","svgSearch","SiteWideHeader","mediaQuery","medium","matchMedia","large","waitForElement","selector","Promise","resolve","observer","MutationObserver","mutations","disconnect","observe","childList","subtree","noScrollOptions","body","constructor","initialize","initialized","utilityMenuBlockElement","utilityMenuElement","utilitySearchButtonElement","searchBlockElement","searchFormInputElement","searchFormSubmitWrapperElement","searchFormSubmitElement","mainMenuBlockElement","mainMenuListElement","mainMenuItemLevel0Elements","querySelectorAll","siteWideHeaderElement","mobileSearchButtonElement","mobileNavButtonElement","mediaQueryLargeListener","addListener","mediaQueryMediumListener","insertAdjacentHTML","addMobileEventListenersToLevel0Items","addEventListener","event","key","contains","activeElement","hideSearchBlock","toggleSearchBlock","toggleMobileSearch","toggleMobileMenu","setMegaMenuColumnCounts","setMegaMenuPositions","updateMobileOverlayHeight","matches","desktopMobileState","desktopMobileStateChange","closeMobileSearch","closeMobileMenu","utilityMenuState","utilityMenuStateChange","appendChild","itemLevel0Element","mainMenuItemLevel0ElementHasMegaMenu","addMobileEventListenersToLevel0Item","item","button","console","log","closest","menuItemElement","classList","remove","add","showSearchBlock","setTimeout","focus","isSearchBlockOpen","itemLevel1Elements","mainMenuRect","getBoundingClientRect","width","offsetLeft","left","minimumLeft","itemLevel0Rect","dropdownElement","dropdownRect","maximumLeft","right","leftValue","Math","max","min","overlayHeight","bottom","openMobileSearch","isMenuOpening","isMobileSearchOpen","openMobileMenu","isSearchOpening","isMobileMenuOpen","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","__webpack_modules__","d","definition","o","defineProperty","enumerable","get","obj","prop","hasOwnProperty","forEach","ariaLabel","textContent","hasLink","indexOf"],"sourceRoot":""}