text: // document ready
  $(document).ready(() => {
  
  
      $(document.getElementById("kontak")).on('click', function (event) {
  
          if (this.hash !== "0") {
  
              event.preventDefault();
              // Store hash
              var hash = this.hash;
  
              $('html,body').animate({
                  scrollTop: $(hash).offset().top
              }, 1500, 'easeInOutExpo', function () {
  
                  window.location.hash = hash;
              });
          }
          // End if
      });
  
      // dropdownmenu
      function toggleDropdown(e) {
          const _d = $(e.target).closest('.dropdown'),
              _m = $('.dropdown-menu', _d);
          setTimeout(function () {
              const shouldOpen = e.type !== 'click' && _d.is(':hover');
              _m.toggleClass('show', shouldOpen);
              _d.toggleClass('show', shouldOpen);
              $('[data-toggle="dropdown"]', _d).attr('aria-expanded', shouldOpen);
          }, e.type === 'mouseleave' ? 200 : 0);
      }
  
      $('body')
          .on('mouseenter mouseleave', '.dropdown', toggleDropdown)
          .on('click', '.dropdown-menu a', toggleDropdown);
  
  
      // button-toggle
      $(document).on('click', '.mobile-nav-toggle', function (e) {
          $('body').toggleClass('mobile-nav-active');
          $('.mobile-nav-toggle i').toggleClass('icofont-navigation-menu icofont-close');
      });
  
      $(document).click(function (e) {
          var container = $(".mobile-nav-toggle");
          if (!container.is(e.target) && container.has(e.target).length === 0) {
              if ($('body').hasClass('mobile-nav-active')) {
                  $('body').removeClass('mobile-nav-active');
                  $('.mobile-nav-toggle i').toggleClass('icofont-navigation-menu icofont-close');
              }
          }
      });
  
      // Back to top button
      $(window).scroll(function () {
          if ($(this).scrollTop() > 100) {
              $('.back-to-top').fadeIn('slow');
          } else {
              $('.back-to-top').fadeOut('slow');
          }
      });
  
      $('.back-to-top').click(function () {
          $('html, body').animate({
              scrollTop: 0
          }, 1500, 'easeInOutExpo');
          return false;
      });
  
  
  
  });
  