'use strict';$(function(){function c(){document.querySelectorAll(".nav-item.active").forEach(function(a){a=$(a);a.removeClass("active");a.find(".nav-link").removeAttr("aria-current")})}$("li.nav-item").on("click",function(a){a=$(this);if(!a.find(".nav-link").hasClass("disabled")&&(c(),a.addClass("active"),a.find(".nav-link").attr("aria-current",!0),a=a.find(".nav-link").attr("href").replace(/[#]/g,""),a=document.getElementById(a))){var b=document.querySelector(".pagenav .bg-body.stuck-depth");b&& (b=b.offsetHeight,a=$(a).offset().top,window.scrollTo({top:a-2*b-10,left:0,behavior:"smooth"}))}})});