1(function(s){"use strict";var d=s.AccessibleMenu;if(!d||typeof d.TopLinkDisclosureMenu!="function")return;function h(r){if(typeof r!="string"||r==="")return"/";var e=r.replace(/\/+/g,"/");return e.length>1&&(e=e.replace(/\/+$/,"")),e||"/"}class l extends d.TopLinkDisclosureMenu{constructor(e){e=e||{};var t=e.focusInert===!0,i=e.expandCurrentTrailOnInit===!0,u=e.outsideMousePersistence===!0,n=Object.assign({},e);delete n.focusInert,delete n.expandCurrentTrailOnInit,delete n.outsideMousePersistence,"optionalKeySupport"in n||(n.optionalKeySupport=!1),"hoverType"in n||(n.hoverType="off"),super(n),this._wmFocusInert=t,u&&this.addOutsideMousePersistence(),i&&this.expandCurrentTrail()}get focusInert(){return this._wmFocusInert===!0}set focusInert(e){this._wmFocusInert=e===!0}focusFirstChild(){if(!this.focusInert)return super.focusFirstChild()}focusLastChild(){if(!this.focusInert)return super.focusLastChild()}focusNextChild(){if(!this.focusInert)return super.focusNextChild()}focusPreviousChild(){if(!this.focusInert)return super.focusPreviousChild()}expandCurrentTrail(){this.currentEvent="mouse",this.closeChildren();var e=this._findCurrentLink(this.dom.menu);if(!e){this.focusState="none";return}var t=this._findPathToLink(this,e);if(!t||t.length===0){this.focusState="none";return}t.forEach(function(o){var f=o.elements&&o.elements.parentMenu,v=f&&f.elements?f.elements.menuItems.indexOf(o):-1;f&&v!==-1&&(f.currentEvent="mouse",f.currentChild=v)});for(var i=t.slice(0,-1),u=0;u<i.length;u++){var n=this._getToggleForItem(i[u]);n&&typeof n.preview=="function"&&n.preview()}var a=t[t.length-1],c=this._getToggleForItem(a);c&&typeof c.preview=="function"&&c.preview(),this.focusState="none"}_findCurrentLink(e){var t=e.querySelector('a[aria-current="page"]');if(t instanceof s.HTMLAnchorElement)return t;for(var i=h(s.location.pathname),u=e.querySelectorAll("a[href]"),n=0;n<u.length;n++){var a=u[n];if(a instanceof s.HTMLAnchorElement)try{var c=new URL(a.getAttribute("href")||"",s.location.href);if(c.origin===s.location.origin&&h(c.pathname)===i)return a}catch(o){s.console&&s.console.log("Invalid URL in menu link:",a.getAttribute("href"),o)}}return null}_getToggleForItem(e){return e&&e.elements&&e.elements.toggle?e.elements.toggle:e&&e.elements&&e.elements.sibling&&e.elements.sibling.elements&&e.elements.sibling.elements.toggle?e.elements.sibling.elements.toggle:null}_findPathToLink(e,t,i){i=i||[];for(var u=e.elements.menuItems,n=0;n<u.length;n++){var a=u[n],c=i.concat([a]);if(a.dom.link===t)return c;var o=this._getToggleForItem(a);if(o&&o.dom&&o.dom.parent instanceof s.HTMLElement){var f=o.dom.parent.contains(t),v=o.elements&&o.elements.controlledMenu&&o.elements.controlledMenu.dom&&o.elements.controlledMenu.dom.menu&&o.elements.controlledMenu.dom.menu.contains(t)||!1;if(f&&!v)return c}if(a.isSubmenuItem&&a.elements.childMenu){var M=this._findPathToLink(a.elements.childMenu,t,c);if(M)return M}}return null}addOutsideMousePersistence(){var e=this;s.document.addEventListener("pointerdown",function(t){t.target instanceof s.Node&&(e.dom.menu.contains(t.target)||(e.currentEvent="mouse",e.focusState="none"))},{capture:!0})}}var m="menu-toggle__icon",p="menu-toggle__label",C="http://www.w3.org/2000/svg";function A(){var r=s.document.createElementNS(C,"svg");r.setAttribute("class",m),r.setAttribute("aria-hidden","true"),r.setAttribute("focusable","false"),r.setAttribute("viewBox","0 0 24 24"),r.setAttribute("width","24"),r.setAttribute("height","24");var e=s.document.createElementNS(C,"path");return e.setAttribute("d","M3 6h18M3 12h18M3 18h18"),e.setAttribute("stroke","currentColor"),e.setAttribute("stroke-width","2"),e.setAttribute("fill","none"),r.appendChild(e),r}l.buildControllerContent=function(r,e){if(e=e||{},r.querySelector("."+m)||r.appendChild(A()),!r.querySelector("."+p)){var t=s.document.createElement("span");t.className=p,t.textContent=e.label||"Menu",r.appendChild(t)}return r};var y=["transform","perspective","filter","backdropFilter","contain","willChange"],T=["","none","auto"];function S(r){for(var e=s.getComputedStyle?s.getComputedStyle(r):null,t=0;t<y.length;t++){var i=y[t],u=r.style&&r.style[i]||e&&e[i]||"";if(T.indexOf(u)===-1)return!0}return!1}
1l.resolveControllerAnchor=function(r){var e={parent:s.document.body,before:null},t=r&&r.parentNode;if(!t||t.nodeType!==1)return e;for(var i=t;i&&i.nodeType===1;){if(S(i))return e;i=i.parentNode}return{parent:t,before:r}},l.ensureController=function(r,e){e=e||{};var t=e.id||"wm-menu-toggle-btn",i=s.document.querySelector("#"+t);if(i)return i;var u=s.document.createElement("button");u.id=t,u.type="button",u.className=e.className||"menu-toggle",l.buildControllerContent(u,{label:e.label});var n=l.resolveControllerAnchor(r);return n.parent.insertBefore(u,n.before),u},l.normalizeController=function(r,e){return r&&(e=e||{},r.setAttribute("type","button"),r.classList.add("menu-toggle"),r.removeAttribute("aria-label"),r.textContent="",l.buildControllerContent(r,{label:e.label}),r)},l.lockBodyScrollOnToggle=function(r){r&&(r.addEventListener("accessibleMenuExpand",function(){s.document.body.style.overflow="hidden"}),r.addEventListener("accessibleMenuCollapse",function(){s.document.body.style.overflow=""}))},d.WmTopLinkDisclosureMenu=l})(window);
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.