AnonSec Shell
Server IP : 104.21.14.48  /  Your IP : 3.137.180.214   [ Reverse IP ]
Web Server : Apache
System : Linux b70eb322-3aee-0c53-7c82-0db91281f2c6.secureserver.net 6.1.90-1.el9.elrepo.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 2 12:09:22 EDT 2024 x86_64
User : root ( 0)
PHP Version : 8.0.30.2
Disable Function : NONE
Domains : 0 Domains
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/wp-content/themes/izo/assets/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /var/www/wp-content/themes/izo/assets/js/functions.min.js
function izoDomReady(e){if("function"==typeof e)return"interactive"===document.readyState||"complete"===document.readyState?e():void document.addEventListener("DOMContentLoaded",e,!1)}var izo=izo||{};izo.navigation={init:function(){function e(){if("focus"===event.type||"blur"===event.type){let e=this;for(;!e.classList.contains("nav-menu");)"li"===e.tagName.toLowerCase()&&e.classList.toggle("focus"),e=e.parentNode}}const t=document.getElementById("site-navigation");if(!t)return;const n=document.getElementsByClassName("menu-toggle")[0];if(void 0===n)return;const s=t.getElementsByTagName("ul")[0];if(void 0===s)return void(n.style.display="none");s.classList.contains("nav-menu")||s.classList.add("nav-menu"),n.addEventListener("click",function(){t.classList.toggle("toggled");const e=t.querySelectorAll(".menu-item-has-children > a, .page_item_has_children > a");for(const t of e)t.innerHTML+='<span class="submenu-toggle" tabindex=0><span>+</span></span>';const s=t.querySelectorAll(".submenu-toggle");for(const e of s)e.addEventListener("touchstart",function(t){t.preventDefault(),e.getElementsByTagName("span")[0].classList.toggle("submenu-exp");e.parentNode.parentNode.getElementsByClassName("sub-menu")[0].classList.toggle("toggled")}),e.addEventListener("keydown",function(t){if("Enter"===t.key||13===t.keyCode){t.preventDefault(),e.getElementsByTagName("span")[0].classList.toggle("submenu-exp");e.parentNode.parentNode.getElementsByClassName("sub-menu")[0].classList.toggle("toggled")}});var i=t.querySelectorAll('a[href]:not([disabled]), input[type="search"]:not([disabled])'),o=i[0];lastFocusableEl=i[i.length-1],KEYCODE_TAB=9,t.addEventListener("keydown",function(e){("Tab"===e.key||e.keyCode===KEYCODE_TAB)&&(e.shiftKey?document.activeElement===o&&(n.focus(),e.preventDefault()):document.activeElement===lastFocusableEl&&(n.click(),e.preventDefault()))}),n.addEventListener("keydown",function(e){("Tab"===e.key||e.keyCode===KEYCODE_TAB)&&e.shiftKey&&document.activeElement===n&&n.click()})});const i=s.getElementsByTagName("a"),o=s.querySelectorAll(".menu-item-has-children > a, .page_item_has_children > a");for(const t of i)t.addEventListener("focus",e,!0),t.addEventListener("blur",e,!0);for(const t of o)t.addEventListener("touchstart",e,!1)}},izo.mergeHeader={init:function(){this.mergeBottomBar(),window.addEventListener("resize",function(){this.mergeBottomBar()}.bind(this))},mergeBottomBar:function(){const e=document.getElementById("masthead"),t=(document.getElementById("wpadminbar"),e.getElementsByClassName("bottom-header-bar")[0]),n=e.getElementsByClassName("top-header-bar")[0];if((void 0!==t||null!=t)&&t.classList.contains("is-merged")){if(void 0!==n&&null!=n)s=n.offsetHeight;else var s=0;t.style.top=s+"px"}}},izo.headerSearch={init:function(){this.searchForm()},searchForm:function(){const e=document.getElementById("masthead"),t=e.getElementsByClassName("main-navigation")[0],n=e.getElementsByClassName("header-search-toggle")[0],s=e.getElementsByClassName("header-search-form")[0];void 0===s&&null==s||n.addEventListener("click",function(){s.classList.toggle("show"),t.classList.toggle("hide"),n.getElementsByClassName("icon-search")[0].classList.toggle("icon-cancel")})}},izo.stickyMenu={init:function(){document.body.classList.contains("has-sticky-menu")&&(document.body.classList.contains("disable-sticky-mobiles")?window.matchMedia("(min-width: 768px)").matches&&window.requestAnimationFrame(this.runSticky.bind(this)):window.requestAnimationFrame(this.runSticky.bind(this)))},sticky:function(){const e=document.getElementById("masthead"),t=e.getElementsByClassName("bottom-header-bar")[0];var n=window.scrollY,s=t.offsetTop;n>s+200?t.classList.add("is-shrinked"):t.classList.remove("is-shrinked"),n>s?(t.classList.contains("is-merged")||(e.style.paddingBottom=t.offsetHeight+"px"),t.classList.add("is-sticky")):(e.style.paddingBottom=0,t.classList.remove("is-sticky"))},runSticky:function(){this.sticky(),window.addEventListener("scroll",function(){this.sticky()}.bind(this))}},izo.backToTop={init:function(){this.showIcon()},setup:function(){let e=document.getElementById("backtotop");window.scrollY>200?e.classList.add("show"):e.classList.remove("show"),e.addEventListener("click",function(){window.scrollTo({top:0,left:0,behavior:"smooth"})})},showIcon:function(){this.setup(),window.addEventListener("scroll",function(){this.setup()}.bind(this))}},izoDomReady(function(){izo.navigation.init(),izo.mergeHeader.init(),izo.headerSearch.init(),izo.stickyMenu.init(),izo.backToTop.init()});

Anon7 - 2022
AnonSec Team