HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux Bradford-Sitios 6.14.0-1017-azure #17~24.04.1-Ubuntu SMP Mon Dec 1 20:10:50 UTC 2025 x86_64
User: www-data (33)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/dtw.bradford/public/js/main.js
!function(){"use strict";function e(){var e=document.querySelector("body"),t=document.querySelector("#header");(t.classList.contains("scroll-up-sticky")||t.classList.contains("sticky-top")||t.classList.contains("fixed-top"))&&(window.scrollY>100?e.classList.add("scrolled"):e.classList.remove("scrolled"))}document.addEventListener("scroll",e),window.addEventListener("load",e);var t=document.querySelector(".mobile-nav-toggle");function o(){document.querySelector("body").classList.toggle("mobile-nav-active"),t.classList.toggle("bi-list"),t.classList.toggle("bi-x")}t.addEventListener("click",o),document.querySelectorAll("#navmenu a").forEach((function(e){e.addEventListener("click",(function(){document.querySelector(".mobile-nav-active")&&o()}))})),document.querySelectorAll(".navmenu .toggle-dropdown").forEach((function(e){e.addEventListener("click",(function(e){e.preventDefault(),this.parentNode.classList.toggle("active"),this.parentNode.nextElementSibling.classList.toggle("dropdown-active"),e.stopImmediatePropagation()}))}));var n=document.querySelector("#preloader");n&&window.addEventListener("load",(function(){n.remove()}));var i=document.querySelector(".scroll-top");function c(){i&&(window.scrollY>100?i.classList.add("active"):i.classList.remove("active"))}i.addEventListener("click",(function(e){e.preventDefault(),window.scrollTo({top:0,behavior:"smooth"})})),window.addEventListener("load",c),document.addEventListener("scroll",c),window.addEventListener("load",(function(){AOS.init({duration:600,easing:"ease-in-out",once:!0,mirror:!1})})),document.querySelectorAll(".faq-item h3, .faq-item .faq-toggle").forEach((function(e){e.addEventListener("click",(function(){e.parentNode.classList.toggle("faq-active")}))})),window.addEventListener("load",(function(){document.querySelectorAll(".init-swiper").forEach((function(e){var t=JSON.parse(e.querySelector(".swiper-config").innerHTML.trim());e.classList.contains("swiper-tab")?initSwiperWithCustomPagination(e,t):new Swiper(e,t)}))})),window.addEventListener("load",(function(e){window.location.hash&&document.querySelector(window.location.hash)&&setTimeout((function(){var e=document.querySelector(window.location.hash),t=getComputedStyle(e).scrollMarginTop;window.scrollTo({top:e.offsetTop-parseInt(t),behavior:"smooth"})}),100)}));var a=document.querySelectorAll(".navmenu a");function r(){a.forEach((function(e){if(e.hash){var t=document.querySelector(e.hash);if(t){var o=window.scrollY+200;o>=t.offsetTop&&o<=t.offsetTop+t.offsetHeight?(document.querySelectorAll(".navmenu a.active").forEach((function(e){return e.classList.remove("active")})),e.classList.add("active")):e.classList.remove("active")}}}))}window.addEventListener("load",r),document.addEventListener("scroll",r)}();