1/*! For license information please see MainMenu.js.LICENSE.txt */ 2(()=>{var __webpack_modules__={341:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>ToggleButton});var _babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(646),_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(970),ToggleButton=(0,_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_0__.Z)((function ToggleButton(buttonSelector){var _this=this;(0,_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_1__.Z)(this,ToggleButton),this.toggleClasses=function(targetButton){targetButton.hasClass(_this.expandedClass)?targetButton.removeClass(_this.expandedClass):targetButton.addClass(_this.expandedClass)},this.toggleAriaExpanded=function(targetButton){targetButton.attr("aria-expanded",(function(i,attribute){return"true"===attribute?"false":"true"}))},this.toggleTitle=function(targetButton){"false"===targetButton.attr("aria-expanded")?targetButton.attr("title",targetButton.attr("data-closed-title")):targetButton.attr("title",targetButton.attr("data-opened-title"))},this.defaultEvent=function(){_this.$buttonArray.forEach((function(button){jQuery(button).on("click",(function(event){var $currentButton=jQuery(event.currentTarget);_this.toggleClasses($currentButton),_this.toggleAriaExpanded($currentButton),_this.toggleTitle($currentButton)}))}))},this.expandedClass="js-expanded",this.$toggleButton=jQuery(buttonSelector),this.$buttonArray=jQuery.makeArray(this.$toggleButton),this.defaultEvent()}))},481:function(module,exports){var __WEBPACK_AMD_DEFINE_RESULT__,root;root=this,void 0===(__WEBPACK_AMD_DEFINE_RESULT__=function(){return root.svg4everybody=function(){function embed(parent,svg,target){if(target){var fragment=document.createDocumentFragment(),viewBox=!svg.hasAttribute("viewBox")&&target.getAttribute("viewBox");viewBox&&svg.setAttribute("viewBox",viewBox);for(var clone=target.cloneNode(!0);clone.childNodes.length;)fragment.appendChild(clone.firstChild);parent.appendChild(fragment)}}function loadreadystatechange(xhr){xhr.onreadystatechange=function(){if(4===xhr.readyState){var cachedDocument=xhr._cachedDocument;cachedDocument||((cachedDocument=xhr._cachedDocument=document.implementation.createHTMLDocument("")).body.innerHTML=xhr.responseText,xhr._cachedTarget={}),xhr._embeds.splice(0).map((function(item){var target=xhr._cachedTarget[item.id];target||(target=xhr._cachedTarget[item.id]=cachedDocument.getElementById(item.id)),embed(item.parent,item.svg,target)}))}},xhr.onreadystatechange()}function svg4everybody(rawopts){function oninterval(){for(var index=0;index<uses.length;){var use=uses[index],parent=use.parentNode,svg=getSVGAncestor(parent),src=use.getAttribute("xlink:href")||use.getAttribute("href");if(!src&&opts.attributeName&&(src=use.getAttribute(opts.attributeName)),svg&&src){if(polyfill)if(!opts.validate||opts.validate(src,svg,use)){parent.removeChild(use);var srcSplit=src.split("#"),url=srcSplit.shift(),id=srcSplit.join("#");if(url.length){var xhr=requests[url];xhr||((xhr=requests[url]=new XMLHttpRequest).open("GET",url),xhr.send(),xhr._embeds=[]),xhr._embeds.push({parent,svg,id}),loadreadystatechange(xhr)}else embed(parent,svg,document.getElementById(id))}else++index,++numberOfSvgUseElementsToBypass}else++index}(!uses.length||uses.length-numberOfSvgUseElementsToBypass>0)&&requestAnimationFrame(oninterval,67)}var polyfill,opts=Object(rawopts),newerIEUA=/\bTrident\/[567]\b|\bMSIE (?:9|10)\.0\b/,webkitUA=/\bAppleWebKit\/(\d+)\b/,olderEdgeUA=/\bEdge\/12\.(\d+)\b/,edgeUA=/\bEdge\/.(\d+)\b/,inIframe=window.top!==window.self;polyfill="polyfill"in opts?opts.polyfill:newerIEUA.test(navigator.userAgent)||(navigator.userAgent.match(olderEdgeUA)||[])[1]<10547||(navigator.userAgent.match(webkitUA)||[])[1]<537||edgeUA.test(navigator.userAgent)&&inIframe;var requests={},requestAnimationFrame=window.requestAnimationFrame||setTimeout,uses=document.getElementsByTagName("use"),numberOfSvgUseElementsToBypass=0;polyfill&&oninterval()}function getSVGAncestor(node){for(var svg=node;"svg"!==svg.nodeName.toLowerCase()&&(svg=svg.parentNode););return svg}return svg4everybody}()}.apply(exports,[]))||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)},970:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}__webpack_require__.d(__webpack_exports__,{Z:()=>_classCallCheck})},646:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>_createClass});var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(264);function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,(0,_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__.Z)(descriptor.key),descriptor)}}function _createClass(Constructor,protoProps,staticProps){return protoProps&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),Object.defineProperty(Constructor,"prototype",{writable:!1}
2),Constructor}},888:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>_toPrimitive});var _typeof_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(441);function _toPrimitive(input,hint){if("object"!==(0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__.Z)(input)||null===input)return input;var prim=input[Symbol.toPrimitive];if(void 0!==prim){var res=prim.call(input,hint||"default");if("object"!==(0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__.Z)(res))return res;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===hint?String:Number)(input)}},264:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>_toPropertyKey});var _typeof_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(441),_toPrimitive_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(888);function _toPropertyKey(arg){var key=(0,_toPrimitive_js__WEBPACK_IMPORTED_MODULE_0__.Z)(arg,"string");return"symbol"===(0,_typeof_js__WEBPACK_IMPORTED_MODULE_1__.Z)(key)?key:String(key)}},441:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";function _typeof(o){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)}__webpack_require__.d(__webpack_exports__,{Z:()=>_typeof})}},__webpack_module_cache__={};function __webpack_require__(moduleId){var cachedModule=__webpack_module_cache__[moduleId];if(void 0!==cachedModule)return cachedModule.exports;var module=__webpack_module_cache__[moduleId]={exports:{}};return __webpack_modules__[moduleId].call(module.exports,module,module.exports,__webpack_require__),module.exports}__webpack_require__.d=(exports,definition)=>{for(var key in definition)__webpack_require__.o(definition,key)&&!__webpack_require__.o(exports,key)&&Object.defineProperty(exports,key,{enumerable:!0,get:definition[key]})},__webpack_require__.o=(obj,prop)=>Object.prototype.hasOwnProperty.call(obj,prop),(()=>{"use strict";var createClass=__webpack_require__(646),classCallCheck=__webpack_require__(970);function _setPrototypeOf(o,p){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,p){return o.__proto__=p,o},_setPrototypeOf(o,p)}var esm_typeof=__webpack_require__(441);function _possibleConstructorReturn(self,call){if(call&&("object"===(0,esm_typeof.Z)(call)||"function"==typeof call))return call;if(void 0!==call)throw new TypeError("Derived constructors may only return object or undefined");return function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self)}function _getPrototypeOf(o){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(o){return o.__proto__||Object.getPrototypeOf(o)},_getPrototypeOf(o)}function _createSuper(Derived){var hasNativeReflectConstruct=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var result,Super=_getPrototypeOf(Derived);if(hasNativeReflectConstruct){var NewTarget=_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return _possibleConstructorReturn(this,result)}}var Mainmenu=function(_ToggleButton){!function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),Object.defineProperty(subClass,"prototype",{writable:!1}),superClass&&_setPrototypeOf(subClass,superClass)}(Mainmenu,_ToggleButton);var _super=_createSuper(Mainmenu);function Mainmenu(mainMenuButtonSelector){var _this;return(0,classCallCheck.Z)(this,Mainmenu),(_this=_super.call(this,[mainMenuButtonSelector,"[data-js-menu='mainmenu'] .hc-button--toggle:not(.hc-button--menu)[data-js-button='toggle-button']","[data-js-button='toggle-button button-with-teaser']"])).prepareComponents=function(){var highestContainerValues=[];_this.$submenuCloseButton.addClass(_this.offcanvasClass),_this.$headerTeaser.addClass(_this.showClass),_this.$overviewLinkArray.forEach((function(overviewLink){var $overviewLink=jQuery(overviewLink),$closestSubmenu=$overviewLink.next(_this.$subMenu),$overviewLinkListItem=jQuery("<li class='hc-mainmenu__item'></li>");$closestSubmenu.prepend($overviewLinkListItem),$overviewLink.prependTo($overviewLinkListItem)})),_this.$menuTeaserArray.forEach((function(menuTeaser){var $menuTeaser=jQuery(menuTeaser);_this.$headerTeaserContainer.append($menuTeaser),highestContainerValues.push($menuTeaser.outerHeight(!0)),_this.hideElement($menuTeaser)})),_this.$submenuArray.forEach((function(submenu){var $submenu=jQuery(submenu);highestContainerValues.push($submenu.outerHeight(!0))})),_this.$headerTeaser.length>0&&highestContainerValues.push(_this.$headerTeaser.outerHeight(!0)),_this.$mainMenu.add(_this.$mainMenuList).css("min-height",Math.max.apply(Math,highestContainerValues))},_this.getHeaderOuterHeight=function(){var $toolbar=jQuery("#toolbar-bar"),toolbarHeight=$toolbar.outerHeight(!0);return $toolbar.length||(toolbarHeight=0),_this.$header.outerHeight(!0)+toolbarHeight},_this.setOffcanvasPosition=function($target){$target.css("top",_this.getHeaderOuterHeight())},_this.toggleAriaHidden=function($target){$target.attr("aria-hidden",(function(i,attribute){return"true"===attribute?"false":"true"}))},_this.toggleOffcanvas=function($target){$target.toggleClass(_this.visibleClass),_this.toggleAriaHidden($target)},_this.toggleSearch=function(){_this.$searchButton.toggleClass(_this.showClass).toggleClass(_this.hideClass)},_this.toggleScrolling=function(){var scrollbarWidth=window.innerWidth-jQuery(window).width();_this.$htmlTag.toggleClass(_this.noScrollClass),_this.$htmlTag.hasClass(_this.noScrollClass)?_this.$bodyTag.add(_this.$header).add(_this.$toolbar).css("padding-right",scrollbarWidth+"px"):_this.$bodyTag.add(_this.$header).add(_this.$toolbar).css("padding-right","")},_this.closeSearch=function(){_this.$searchButton.hasClass(_this.expandedClass)&&(_this.toggleScrolling(),_this.toggleOffcanvas(_this.$headerSearchOffcanvas),_this.toggleClasses(_this.$searchButton),_this.toggleAriaExpanded(_this.$searchButton),_this.toggleTitle(_this.$searchButton))},_this.showElement=function($element){$element.show(),$element.addClass(_this.showClass).removeClass(_this.removeClass)},_this.hideElement=function($element){$element.hide(),$element.removeClass(_this.showClass).addClass(_this.removeClass)},_this.open=function($menu,setIndex){var windowWidth=jQuery(window).outerWidth();_this.toggleOffcanvas($menu),windowWidth>=768&&setIndex&&setTimeout((function(){$menu.css("z-index","10")}),500)},_this.close=function($menu){_this.toggleOffcanvas($menu)},_this.closeSubmenu=function(){var windowWidth=jQuery(window).outerWidth(),$submenu=_this.$mainMenu.find(_this.menuOpenedSubMenuSelector),$submenuButton=$submenu.siblings(".js-expanded");_this.$submenuCloseButton.removeClass(_this.visibleClass),_this.toggleClasses($submenuButton),_this.toggleAriaExpanded($submenuButton),_this.toggleTitle($submenuButton),windowWidth>=768&&$submenu.css("z-index","-1"),_this.close($submenu)},_this.closeAll=function(){var openedMenu=jQuery.makeArray(jQuery(".js-visible[data-js-menu]").add(".js-visible[data-js-offcanvas]:not
2([data-js-offcanvas='searchbar'])")),expandedButton=jQuery.makeArray(jQuery(".js-expanded[data-js-button]").not(_this.$searchButton));_this.$submenuCloseButton.removeClass(_this.visibleClass),setTimeout((function(){_this.showElement(_this.$headerTeaser),_this.hideElement(_this.$menuTeaser)}),400),openedMenu.forEach((function(menu){var $menu=jQuery(menu);jQuery(window).outerWidth()>=768&&setTimeout((function(){$menu.not(_this.headerMenuOffcanvasSelector).css("z-index","-1")}),500),_this.toggleOffcanvas($menu)})),expandedButton.forEach((function(toggleButton){var $toggleButton=jQuery(toggleButton);_this.toggleClasses($toggleButton),_this.toggleAriaExpanded($toggleButton),_this.toggleTitle($toggleButton)}))},_this.addEventListener=function(){_this.$menuButton.on("click",(function(){var windowWidth=jQuery(window).outerWidth();_this.closeSearch(),_this.setOffcanvasPosition(_this.$headerMenuOffcanvas),windowWidth<768&&_this.toggleSearch(),_this.$htmlTag.hasClass(_this.noScrollClass)?_this.closeAll():_this.open(_this.$headerMenuOffcanvas,!1),_this.toggleScrolling()})),_this.$submenuButtonArray.forEach((function(button){jQuery(button).on("click",(function(event){var $currentButton=jQuery(event.currentTarget),$currentSubmenu=$currentButton.siblings(_this.$subMenu),windowWidth=jQuery(window).outerWidth();_this.$submenuCloseButton.addClass(_this.visibleClass),windowWidth<768?_this.open($currentSubmenu,!0):$currentButton.hasClass(_this.expandedClass)?(_this.closeSubmenu(),_this.hideElement(_this.$menuTeaser),setTimeout((function(){_this.showElement(_this.$headerTeaser)}),300),_this.open($currentSubmenu,!0)):(windowWidth>=768&&$currentSubmenu.css("z-index","-1"),_this.closeSubmenu($currentSubmenu))}))})),_this.$submenuButtonWithTeaserArray.forEach((function(button,index){jQuery(button).on("click",(function(event){var $currentButton=jQuery(event.currentTarget),$currentSubmenu=$currentButton.siblings(_this.$subMenu),windowWidth=jQuery(window).outerWidth();_this.$submenuCloseButton.addClass(_this.visibleClass),_this.submenuButtonIndex=index,windowWidth<768?_this.open($currentSubmenu,!0):$currentButton.hasClass(_this.expandedClass)?(_this.closeSubmenu(),_this.hideElement(_this.$headerTeaser),_this.hideElement(_this.$menuTeaser),_this.open($currentSubmenu,!0),setTimeout((function(){_this.showElement(jQuery(_this.$menuTeaserArray[_this.submenuButtonIndex]))}),300)):(_this.hideElement(_this.$menuTeaser),setTimeout((function(){_this.showElement(_this.$headerTeaser)}),300),windowWidth>=768&&$currentSubmenu.css("z-index","-1"),_this.closeSubmenu($currentSubmenu))}))})),_this.$submenuCloseButton.on("click",(function(){_this.closeSubmenu()})),_this.$searchButton.on("click",(function(){_this.$menuButton.hasClass(_this.expandedClass)&&(_this.closeAll(),_this.toggleScrolling())})),jQuery(window).on("resize",(function(){_this.setOffcanvasPosition(_this.$headerMenuOffcanvas)}))},_this.visibleClass="js-visible",_this.showClass="js-fade-in",_this.hideClass="js-hide-visually",_this.removeClass="js-remove",_this.expandedClass="js-expanded",_this.noScrollClass="js-no-scroll",_this.offcanvasClass="js-offcanvas",_this.bodyTagSelector="body",_this.htmlTagSelector="html",_this.toolbarSelector=".hc-toolbar",_this.headerSelector="header.hc-header",_this.headerMenuOffcanvasSelector="[data-js-offcanvas='menu-offcanvas']",_this.mainMenuSelector="[data-js-menu='mainmenu']",_this.subMenuSelector="[data-js-menu='mainmenu'] [data-js-menu='submenu']",_this.menuOpenedSubMenuSelector="[data-js-menu='submenu'][aria-hidden='false']",_this.submenuButtonSelector="[data-js-menu='mainmenu'] .hc-button--toggle:not(.hc-button--menu)[data-js-button='toggle-button']",_this.submenuButtonWithTeaserSelector="[data-js-button='toggle-button button-with-teaser']",_this.submenuCloseButtonSelector="[data-js-button='close-submenu-button']",_this.overviewLinkSelector="[data-js-link='overview-link']",_this.submenuHeaderSelector="[data-js-heading='section-heading']",_this.headerTeaserContainerSelector=".hc-header__teaser",_this.headerTeaserSelector="[data-js-menu-teaser='header-teaser']",_this.menuTeaserSelector="[data-js-menu-teaser='menu-teaser']",_this.searchButtonSelector=".hc-button--search[data-js-button='toggle-button']",_this.headerSearchOffcanvasSelector="[data-js-offcanvas='searchbar']",_this.currentTeaserSelector=".js-fade-in",_this.mainMenuListSelector=".hc-mainmenu__list:not(.hc-mainmenu__list--sublevel)",_this.$bodyTag=jQuery(_this.bodyTagSelector),_this.$htmlTag=jQuery(_this.htmlTagSelector),_this.$toolbar=jQuery(_this.toolbarSelector),_this.$header=jQuery(_this.headerSelector),_this.$headerMenuOffcanvas=jQuery(_this.headerMenuOffcanvasSelector),_this.$mainMenu=jQuery(_this.mainMenu
2Selector),_this.$subMenu=jQuery(_this.subMenuSelector),_this.$menuButton=jQuery(mainMenuButtonSelector),_this.$submenuButton=jQuery(_this.submenuButtonSelector),_this.$submenuButtonWithTeaser=jQuery(_this.submenuButtonWithTeaserSelector),_this.$submenuCloseButton=jQuery(_this.submenuCloseButtonSelector),_this.$overviewLink=jQuery(_this.overviewLinkSelector),_this.$submenuHeader=jQuery(_this.submenuHeaderSelector),_this.$headerTeaserContainer=jQuery(_this.headerTeaserContainerSelector),_this.$headerTeaser=jQuery(_this.headerTeaserSelector),_this.$menuTeaser=jQuery(_this.menuTeaserSelector),_this.$searchButton=jQuery(_this.searchButtonSelector),_this.$headerSearchOffcanvas=jQuery(_this.headerSearchOffcanvasSelector),_this.$mainMenuList=jQuery(_this.mainMenuListSelector),_this.$overviewLinkArray=jQuery.makeArray(_this.$overviewLink),_this.$submenuArray=jQuery.makeArray(_this.$subMenu),_this.$submenuButtonArray=jQuery.makeArray(_this.$submenuButton),_this.$submenuButtonWithTeaserArray=jQuery.makeArray(_this.$submenuButtonWithTeaser),_this.$menuTeaserArray=jQuery.makeArray(_this.$menuTeaser),_this.prepareComponents(),_this.addEventListener(),_this}return(0,createClass.Z)(Mainmenu)}(__webpack_require__(341).Z);!function(Drupal){Drupal.behaviors.mainMenu={attach:function(){once("hc-mainmenu","[data-js-menu='mainmenu']").forEach((function(){new Mainmenu(".hc-button--menu[data-js-button='toggle-button']")}))}}}(Drupal)})(),__webpack_require__(481)({polyfill:!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.