text: /*!
      Title: Dev Portfolio Template
      Version: 1.2.2
      Last Change: 03/25/2020
      Author: Ryan Fitzgerald
      Repo: https://github.com/RyanFitzgerald/devportfolio-template
      Issues: https://github.com/RyanFitzgerald/devportfolio-template/issues
  
      Description: This file contains all the scripts associated with the single-page
      portfolio website.
  */
  !function(i){i("#current-year").text((new Date).getFullYear()),i("html").removeClass("no-js"),i("header a").on("click",function(e){if(!i(this).hasClass("no-scroll")){e.preventDefault();var t=i(this).attr("href"),n=i(t).offset().top;i("html, body").animate({scrollTop:n+"px"},+Math.abs(window.pageYOffset-i(t).offset().top)),i("header").hasClass("active")&&i("header, body").removeClass("active")}}),i("#to-top").on("click",function(e){i("html, body").animate({scrollTop:0},500)}),i("#lead-down span").on("click",function(e){var t=i("#lead").next().offset().top;i("html, body").animate({scrollTop:t+"px"},500)}),i("#experience-timeline").each(function(){$this=i(this),$userContent=$this.children("div"),$userContent.each(function(){i(this).addClass("vtimeline-content").wrap('<div class="vtimeline-point"><div class="vtimeline-block"></div></div>')}),$this.find(".vtimeline-point").each(function(){i(this).prepend('<div class="vtimeline-icon"><i class="fa fa-map-marker"></i></div>')}),$this.find(".vtimeline-content").each(function(){var e=i(this).data("date");e&&i(this).parent().prepend('<span class="vtimeline-date">'+e+"</span>")})}),i("#mobile-menu-open").on("click",function(e){i("header, body").addClass("active")}),i("#mobile-menu-close").on("click",function(e){i("header, body").removeClass("active")}),i("#view-more-projects").on("click",function(e){e.preventDefault(),i(this).fadeOut(300,function(){i("#more-projects").fadeIn(300)})})}(jQuery);