var $jscomp={scope:{}};$jscomp.defineProperty="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){if(c.get||c.set)throw new TypeError("ES3 does not support getters and setters.");a!=Array.prototype&&a!=Object.prototype&&(a[b]=c.value)};$jscomp.getGlobal=function(a){return"undefined"!=typeof window&&window===a?a:"undefined"!=typeof global?global:a};$jscomp.global=$jscomp.getGlobal(this);$jscomp.SYMBOL_PREFIX="jscomp_symbol_";$jscomp.initSymbol=function(){$jscomp.initSymbol=function(){};$jscomp.global.Symbol||($jscomp.global.Symbol=$jscomp.Symbol)};$jscomp.symbolCounter_=0;$jscomp.Symbol=function(a){return $jscomp.SYMBOL_PREFIX+(a||"")+$jscomp.symbolCounter_++};$jscomp.initSymbolIterator=function(){$jscomp.initSymbol();var a=$jscomp.global.Symbol.iterator;a||(a=$jscomp.global.Symbol.iterator=$jscomp.global.Symbol("iterator"));"function"!=typeof Array.prototype[a]&&$jscomp.defineProperty(Array.prototype,a,{configurable:!0,writable:!0,value:function(){return $jscomp.arrayIterator(this)}});$jscomp.initSymbolIterator=function(){}};$jscomp.arrayIterator=function(a){var b=0;return $jscomp.iteratorPrototype(function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}})};$jscomp.iteratorPrototype=function(a){$jscomp.initSymbolIterator();a={next:a};a[$jscomp.global.Symbol.iterator]=function(){return this};return a};$jscomp.makeIterator=function(a){$jscomp.initSymbolIterator();var b=a[Symbol.iterator];return b?b.call(a):$jscomp.arrayIterator(a)};(function(){var a=document.querySelector(".sidebar"),b=document.querySelectorAll("#sidebarToggle, #sidebarToggleTop");if(a){a.querySelector(".collapse");for(var c=[].slice.call(document.querySelectorAll(".sidebar .collapse")).map(function(a){return new bootstrap.Collapse(a,{toggle:!1})}),b=$jscomp.makeIterator(b),d=b.next();!d.done;d=b.next())d.value.addEventListener("click",function(b){document.body.classList.toggle("sidebar-toggled");a.classList.toggle("toggled");if(a.classList.contains("toggled")){b=$jscomp.makeIterator(c);for(var e=b.next();!e.done;e=b.next())e.value.hide()}});window.addEventListener("resize",function(){if(768>Math.max(document.documentElement.clientWidth||0,window.innerWidth||0))for(var a=$jscomp.makeIterator(c),b=a.next();!b.done;b=a.next())b.value.hide()})}if(b=document.querySelector("body.fixed-nav .sidebar"))b.on("mousewheel DOMMouseScroll wheel",function(a){if(768<Math.max(document.documentElement.clientWidth||0,window.innerWidth||0)){var b=a.originalEvent;this.scrollTop+=30*(0>(b.wheelDelta||-b.detail)?1:-1);a.preventDefault()}});var f=document.querySelector(".scroll-to-top");f&&window.addEventListener("scroll",function(){f.style.display=100<window.pageYOffset?"block":"none"})})();