Current Path: > home > codekrsu > > ameliagraphics.com > wp-content > > themes > generatepress > assets > js
Operation : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 Software : Apache Server IP : 162.0.232.56 | Your IP: 216.73.216.111 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
a11y.js | File | 592 bytes | May 06 2025 19:28:34. | |
back-to-top.js | File | 1853 bytes | October 25 2022 20:14:22. | |
back-to-top.min.js | File | 737 bytes | August 27 2024 20:48:54. | |
classList.js | File | 5684 bytes | October 14 2020 21:40:56. | |
classList.min.js | File | 2399 bytes | October 14 2020 21:40:56. | |
dropdown-click.js | File | 5919 bytes | September 04 2024 18:45:54. | |
dropdown-click.min.js | File | 3196 bytes | September 04 2024 18:45:54. | |
menu.js | File | 14502 bytes | August 27 2024 20:48:54. | |
menu.min.js | File | 7333 bytes | August 27 2024 20:48:54. | |
navigation-search.js | File | 3909 bytes | October 26 2021 23:13:16. | |
navigation-search.min.js | File | 2123 bytes | August 27 2024 20:48:54. |
( function() { 'use strict'; if ( 'querySelector' in document && 'addEventListener' in window ) { /** * Navigation search. * * @param {Object} e The event. * @param {Object} item The clicked item. */ var toggleSearch = function( e, item ) { e.preventDefault(); if ( ! item ) { item = this; } var forms = document.querySelectorAll( '.navigation-search' ), toggles = document.querySelectorAll( '.search-item' ), focusableEls = document.querySelectorAll( 'a[href], area[href], input:not([disabled]):not(.navigation-search), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), [tabindex="0"]' ), nav = ''; if ( item.closest( '.mobile-menu-control-wrapper' ) ) { nav = document.getElementById( 'site-navigation' ); } for ( var i = 0; i < forms.length; i++ ) { if ( forms[ i ].classList.contains( 'nav-search-active' ) ) { if ( forms[ i ].closest( '#sticky-placeholder' ) ) { continue; } forms[ i ].classList.remove( 'nav-search-active' ); var activeSearch = document.querySelector( '.has-active-search' ); if ( activeSearch ) { activeSearch.classList.remove( 'has-active-search' ); } for ( var t = 0; t < toggles.length; t++ ) { toggles[ t ].classList.remove( 'close-search' ); toggles[ t ].classList.remove( 'active' ); toggles[ t ].querySelector( 'a' ).setAttribute( 'aria-label', generatepressNavSearch.open ); // Allow tabindex on items again. for ( var f = 0; f < focusableEls.length; f++ ) { if ( ! focusableEls[ f ].closest( '.navigation-search' ) && ! focusableEls[ f ].closest( '.search-item' ) ) { focusableEls[ f ].removeAttribute( 'tabindex' ); } } } document.activeElement.blur(); } else { if ( forms[ i ].closest( '#sticky-placeholder' ) ) { continue; } var openedMobileMenu = forms[ i ].closest( '.toggled' ); if ( openedMobileMenu ) { // Close the mobile menu. openedMobileMenu.querySelector( 'button.menu-toggle' ).click(); } if ( nav ) { nav.classList.add( 'has-active-search' ); } forms[ i ].classList.add( 'nav-search-active' ); var container = this.closest( 'nav' ); if ( container ) { if ( container.classList.contains( 'mobile-menu-control-wrapper' ) ) { container = nav; } var searchField = container.querySelector( '.search-field' ); if ( searchField ) { searchField.focus(); } } for ( t = 0; t < toggles.length; t++ ) { toggles[ t ].classList.add( 'active' ); toggles[ t ].querySelector( 'a' ).setAttribute( 'aria-label', generatepressNavSearch.close ); // Trap tabindex within the search element for ( f = 0; f < focusableEls.length; f++ ) { if ( ! focusableEls[ f ].closest( '.navigation-search' ) && ! focusableEls[ f ].closest( '.search-item' ) ) { focusableEls[ f ].setAttribute( 'tabindex', '-1' ); } } toggles[ t ].classList.add( 'close-search' ); } } } }; if ( document.body.classList.contains( 'nav-search-enabled' ) ) { var searchItems = document.querySelectorAll( '.search-item' ); for ( var i = 0; i < searchItems.length; i++ ) { searchItems[ i ].addEventListener( 'click', toggleSearch, false ); } // Close navigation search on escape key document.addEventListener( 'keydown', function( e ) { if ( document.querySelector( '.navigation-search.nav-search-active' ) ) { if ( 'Escape' === e.key ) { var activeSearchItems = document.querySelectorAll( '.search-item.active' ); for ( var activeSearchItem = 0; activeSearchItem < activeSearchItems.length; activeSearchItem++ ) { toggleSearch( e, activeSearchItems[ activeSearchItem ] ); break; } } } }, false ); } } }() );
SILENT KILLER Tool