1"use strict";(self.webpackChunkbundle_default=self.webpackChunkbundle_default||[]).push([[103],{8062:function(e,t,n){n.r(t),n.d(t,{default:function(){return a}});var i=n(8697),r=n(3876),o=n.n(r);class a extends HTMLElement{connectedCallback(){this.cacheElements(),this.handleEventListeners(),this.dealWithMenuHover()}cacheElements(){this.menuButton=this.querySelector(".Page-header-menu-trigger"),this.hamburgerMenu=this.querySelector(".Page-header-hamburger-menu"),this.navigationItems=this.hamburgerMenu.querySelectorAll(".NavigationItem"),this.navigationItemsItem=this.querySelectorAll('[class$="Navigation-items-item"]'),this.headerBar=document.querySelector(".Page-header-bar"),this.menuWrapper=this.querySelector(".Page-header-hamburger-menu-wrapper"),this.searchOverlay=document.querySelector(".SearchOverlay")}dealWithMenuHover(){this.navigationItemsItem.forEach((e=>{e.querySelector(".NavigationItem-more")&&(this.hoverListener=o()(e,(()=>{this.openNavItem(e,"hover")}),(()=>{this.closeNavItem(e,"hover")})).options({timeout:400,interval:150,handleFocus:!0}),e.querySelector(".NavigationItem-more").addEventListener("keyup",(t=>{"Enter"!==t.key&&32!==t.keyCode||(this.closeOpenNavItem(),this.openNavItem(e,"hover"),e.querySelector("a.NavigationLink").focus())})))}))}handleEventListeners(){window.addEventListener("scroll",(0,i.P)(50,(()=>{document.body.scrollTop>0||document.documentElement.scrollTop>0?document.body.setAttribute("data-scrolling",!0):document.body.removeAttribute("data-scrolling",!0)}))),document.addEventListener("keydown",(e=>{e.target.closest('[class$="NavigationItem-items"]')||this.closeOpenNavItem()})),this.menuButton&&this.menuButton.addEventListener("click",(e=>{e.preventDefault(),this.isMenuOpen()?this.closeMenu():(this.closeSearch(),this.openMenu())})),this.navigationItems&&this.navigationItems.forEach((e=>{e.querySelector(".NavigationItem-more")&&e.querySelector(".NavigationItem-more").addEventListener("click",(t=>{t.preventDefault(),this.openNavItem(e,"click")}))}))}openNavItem(e,t){if(e)if(e.getAttribute("data-item-"+t))e.removeAttribute("data-item-"+t);else{this.navigationItems.forEach((e=>{e.removeAttribute("data-item-"+t)})),e.setAttribute("data-item-"+t,!0);const n=e.querySelector(".NavigationItem-items");n&&n.getBoundingClientRect().right>window.innerWidth-20&&n.setAttribute("data-open-direction","left")}}closeNavItem(e,t){e.removeAttribute("data-item-"+t)}closeOpenNavItem(){this.querySelector("[data-item-hover]")&&this.querySelector("[data-item-hover]").removeAttribute("data-item-hover")}openMenu(){document.body.setAttribute("data-toggle-header","hamburger-menu"),this.setAttribute("data-toggle-header","hamburger-menu"),this.menuButton.setAttribute("aria-expanded","true"),this.hamburgerMenu.focus()}closeMenu(){this.isMenuOpen()&&(document.body.removeAttribute("data-toggle-header"),this.removeAttribute("data-toggle-header"),this.menuButton.setAttribute("aria-expanded","false"))}closeSearch(){document.body.removeAttribute("data-toggle-header"),this.searchOverlay&&this.searchOverlay.removeAttribute("data-toggle-header")}isMenuOpen(){return"hamburger-menu"===document.body.getAttribute("data-toggle-header")}}},3876:function(e){e.exports=function(e,t,n){var i,r,o,a,s=!1,u=!1,c={},m=0,l=0,d={sensitivity:7,interval:100,timeout:0,handleFocus:!1};function h(e){i=e.clientX,r=e.clientY}function v(e,n){if(l&&(l=clearTimeout(l)),Math.abs(o-i)+Math.abs(a-r)<d.sensitivity)return m=1,u?void 0:t.call(e,n);o=i,a=r,l=setTimeout((function(){v(e,n)}),d.interval)}function g(t){return s=!0,l&&(l=clearTimeout(l)),e.removeEventListener("mousemove",h,!1),1!==m&&(o=t.clientX,a=t.clientY,e.addEventListener("mousemove",h,!1),l=setTimeout((function(){v(e,t)}),d.interval)),this}function b(t){return s=!1,l&&(l=clearTimeout(l)),e.removeEventListener("mousemove",h,!1),1===m&&(l=setTimeout((function(){!function(e,t){l&&(l=clearTimeout(l)),m=0,u||n.call(e,t)}(e,t)}),d.timeout)),this}function f(n){s||(u=!0,t.call(e,n))}function y(t){!s&&u&&(u=!1,n.call(e,t))}function p(){e.removeEventListener("focus",f,!1),e.removeEventListener("blur",y,!1)}return c.options=function(t){var n=t.handleFocus!==d.handleFocus;return d=Object.assign({},d,t),n&&(d.handleFocus?(e.addEventListener("focus",f,!1),e.addEventListener("blur",y,!1)):p()),c},c.remove=function(){e&&(e.removeEventListener("mouseover",g,!1),e.removeEventListener("mouseout",b,!1),p())},e&&(e.addEventListener("mouseover",g,!1),e.addEventListener("mouseout",b,!1)),c}}}]);
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.