1var _____WB$wombat$assign$function_____=function(name){return (globalThis._wb_wombat && globalThis._wb_wombat.local_init && globalThis._wb_wombat.local_init(name))||globalThis[name];};if(!globalThis.__WB_pmw){globalThis.__WB_pmw=function(obj){this.__WB_source=obj;return this;}}{ 2let window = _____WB$wombat$assign$function_____("window"); 3let self = _____WB$wombat$assign$function_____("self"); 4let document = _____WB$wombat$assign$function_____("document"); 5let location = _____WB$wombat$assign$function_____("location"); 6let top = _____WB$wombat$assign$function_____("top"); 7let parent = _____WB$wombat$assign$function_____("parent"); 8let frames = _____WB$wombat$assign$function_____("frames"); 9let opener = _____WB$wombat$assign$function_____("opener"); 10/** 11 * File navigation.js. 12 * 13 * Handles toggling the navigation menu for small screens and enables TAB key 14 * navigation support for dropdown menus. 15 */ 16( function() { 17 var container, button, menu, links, subMenus, i, len; 18 19 container = document.getElementById( 'site-navigation' ); 20 if ( ! container ) { 21 return; 22 } 23 24 button = container.getElementsByTagName( 'button' )[0]; 25 if ( 'undefined' === typeof button ) { 26 return; 27 } 28 29 menu = container.getElementsByTagName( 'ul' )[0]; 30 31 // Hide menu toggle button if menu is empty and return early. 32 if ( 'undefined' === typeof menu ) { 33 button.style.display = 'none'; 34 return; 35 } 36 37 menu.setAttribute( 'aria-expanded', 'false' ); 38 if ( -1 === menu.className.indexOf( 'nav-menu' ) ) { 39 menu.className += ' nav-menu'; 40 } 41 42 button.onclick = function() { 43 if ( -1 !== container.className.indexOf( 'toggled' ) ) { 44 container.className = container.className.replace( ' toggled', '' ); 45 button.setAttribute( 'aria-expanded', 'false' ); 46 menu.setAttribute( 'aria-expanded', 'false' ); 47 } else { 48 container.className += ' toggled'; 49 button.setAttribute( 'aria-expanded', 'true' ); 50 menu.setAttribute( 'aria-expanded', 'true' ); 51 } 52 }; 53 54 // Get all the link elements within the menu. 55 links = menu.getElementsByTagName( 'a' ); 56 subMenus = menu.getElementsByTagName( 'ul' ); 57 58 // Set menu items with submenus to aria-haspopup="true". 59 for ( i = 0, len = subMenus.length; i < len; i++ ) { 60 subMenus[i].parentNode.setAttribute( 'aria-haspopup', 'true' ); 61 } 62 63 // Each time a menu link is focused or blurred, toggle focus. 64 for ( i = 0, len = links.length; i < len; i++ ) { 65 links[i].addEventListener( 'focus', toggleFocus, true ); 66 links[i].addEventListener( 'blur', toggleFocus, true ); 67 } 68 69 /** 70 * Sets or removes .focus class on an element. 71 */ 72 function toggleFocus() { 73 var self = this; 74 75 // Move up through the ancestors of the current link until we hit .nav-menu. 76 while ( -1 === self.className.indexOf( 'nav-menu' ) ) { 77 78 // On li elements toggle the class .focus. 79 if ( 'li' === self.tagName.toLowerCase() ) { 80 if ( -1 !== self.className.indexOf( 'focus' ) ) { 81 self.className = self.className.replace( ' focus', '' ); 82 } else { 83 self.className += ' focus'; 84 } 85 } 86 87 self = self.parentElement; 88 } 89 } 90 91 /** 92 * Toggles `focus` class to allow submenu access on tablets. 93 */ 94 ( function( container ) { 95 var touchStartFn, i, 96 parentLink = container.querySelectorAll( '.menu-item-has-children > a, .page_item_has_children > a' ); 97 98 if ( 'ontouchstart' in window ) { 99 touchStartFn = function( e ) { 100 var menuItem = this.parentNode, i; 101 102 if ( ! menuItem.classList.contains( 'focus' ) ) { 103 e.preventDefault(); 104 for ( i = 0; i < menuItem.parentNode.children.length; ++i ) { 105 if ( menuItem === menuItem.parentNode.children[i] ) { 106 continue; 107 } 108 menuItem.parentNode.children[i].classList.remove( 'focus' ); 109 } 110 menuItem.classList.add( 'focus' ); 111 } else { 112 menuItem.classList.remove( 'focus' ); 113 } 114 }; 115 116 for ( i = 0; i < parentLink.length; ++i ) { 117 parentLink[i].addEventListener( 'touchstart', touchStartFn, false ); 118 } 119 } 120 }( container ) ); 121} )(); 122 123} 124 125/* 126 FILE ARCHIVED ON 14:54:02 Oct 29, 2017 AND RETRIEVED FROM THE 127 INTERNET ARCHIVE ON 11:50:41 Jul 24, 2026. 128 JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. 129
130 ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. 131 SECTION 108(a)(3)). 132*/ 133/* 134playback timings (ms): 135 captures_list: 5.773 136 exclusion.robots: 0.086 137 exclusion.robots.policy: 0.073 138 esindex: 0.01 139 cdx.remote: 62.878 140 LoadShardBlock: 583.0 (3) 141 PetaboxLoader3.datanode: 266.022 (4) 142 PetaboxLoader3.resolve: 137.055 (2) 143 load_resource: 130.19 144*/
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.