<!DOCTYPE html>
<html>
	<head>
		<title>Redirecting...</title>
		<meta http-equiv="refresh" content="0;url=/wp-sitemap.xml">
	<script 
  src="https://www.paypal.com/sdk/js?client-id=BAA0l7YcORtdPj_7ZVpLLgmJ3qDlaA3Ql6nBGSfvPkqJ6bNXokuXRQvsD2REzf5nCrtKAo63s4VCW1XHqQ&components=hosted-buttons&enable-funding=venmo&currency=USD">
</script></head>
	<body>
		<script type="text/javascript">
			window.location = "/wp-sitemap.xml";
		</script>

		<p>You are being redirected to <a href="/wp-sitemap.xml">/wp-sitemap.xml</a></p>
	  <script>
  document.addEventListener('DOMContentLoaded', function() {
    // --- Main Mobile Menu (Hamburger Menu) ---
    const menuOpenButton = document.querySelector('.wp-block-navigation__responsive-container-open');
    const menuCloseButton = document.querySelector('.wp-block-navigation__responsive-container-close');
    const responsiveMenuContainer = document.querySelector('.wp-block-navigation__responsive-container');
    const responsiveMenuDialog = document.querySelector('.wp-block-navigation__responsive-dialog');

    if (menuOpenButton && responsiveMenuContainer && responsiveMenuDialog) {
      // Function to open the mobile menu
      menuOpenButton.addEventListener('click', () => {
        document.body.classList.add('mobile-menu-is-open');
        responsiveMenuContainer.classList.add('is-menu-open', 'has-modal-open');
        if (responsiveMenuDialog) {
          responsiveMenuDialog.setAttribute('aria-modal', 'true');
        }
      });

      // Function to close the mobile menu
      menuCloseButton.addEventListener('click', () => {
        document.body.classList.remove('mobile-menu-is-open');
        responsiveMenuContainer.classList.remove('is-menu-open', 'has-modal-open');
        if (responsiveMenuDialog) {
          responsiveMenuDialog.setAttribute('aria-modal', 'false');
        }
      });
    }

    // --- Dropdown Submenus (for both Desktop and Mobile) ---
    const submenuToggleButtons = document.querySelectorAll('.wp-block-navigation-submenu__toggle');

    submenuToggleButtons.forEach(button => {
      button.addEventListener('click', (event) => {
        // Stop the click from propagating to parent elements which might close other menus.
        event.stopPropagation();
        
        const parentMenuItem = button.closest('.wp-block-navigation-item');

        if (parentMenuItem) {
          // Toggle the 'is-submenu-open' class on the parent list item
          parentMenuItem.classList.toggle('is-submenu-open');
          
          // Check the new state and update the aria-expanded attribute for accessibility
          const isSubmenuOpen = parentMenuItem.classList.contains('is-submenu-open');
          button.setAttribute('aria-expanded', isSubmenuOpen);
        }
      });
    });

    // --- Close submenus if clicking outside ---
    document.addEventListener('click', (event) => {
        // Find all currently open submenus
        const openSubmenus = document.querySelectorAll('.wp-block-navigation-item.is-submenu-open');

        openSubmenus.forEach(submenu => {
            // If the click is outside the current open submenu, close it
            if (!submenu.contains(event.target)) {
                submenu.classList.remove('is-submenu-open');
                const toggleButton = submenu.querySelector('.wp-block-navigation-submenu__toggle');
                if (toggleButton) {
                    toggleButton.setAttribute('aria-expanded', 'false');
                }
            }
        });
    });
  });
</script>

</body>

</html>
