var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; }; if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } } { let window = _____WB$wombat$assign$function_____("window"); let self = _____WB$wombat$assign$function_____("self"); let document = _____WB$wombat$assign$function_____("document"); let location = _____WB$wombat$assign$function_____("location"); let top = _____WB$wombat$assign$function_____("top"); let parent = _____WB$wombat$assign$function_____("parent"); let frames = _____WB$wombat$assign$function_____("frames"); let opener = _____WB$wombat$assign$function_____("opener"); (function (d, c, a, e) { "use strict"; var b = function (g, f) { this.elem = g; this.$elem = d(g); this.options = f; this.metadata = this.$elem.data("plugin-options"); this.$win = d(c); this.sections = {}; this.didScroll = false; this.$doc = d(a); this.docHeight = this.$doc.height() }; b.prototype = {defaults: {navItems: "a", currentClass: "current", changeHash: false, easing: "swing", filter: "", scrollSpeed: 750, scrollThreshold: 0.5, begin: false, end: false, scrollChange: false}, init: function () { this.config = d.extend({}, this.defaults, this.options, this.metadata); this.$nav = this.$elem.find(this.config.navItems); if (this.config.filter !== "") { this.$nav = this.$nav.filter(this.config.filter) } this.$nav.on("click.onePageNav", d.proxy(this.handleClick, this)); this.getPositions(); this.bindInterval(); this.$win.on("resize.onePageNav", d.proxy(this.getPositions, this)); return this }, adjustNav: function (f, g) { f.$elem.find("." + f.config.currentClass).removeClass(f.config.currentClass); g.addClass(f.config.currentClass) }, bindInterval: function () { var g = this; var f; g.$win.on("scroll.onePageNav", function () { jQuery('.tz-ladding-header').removeClass('active'); g.didScroll = true }); g.t = setInterval(function () { f = g.$doc.height(); if (g.didScroll) { g.didScroll = false; g.scrollChange() } if (f !== g.docHeight) { g.docHeight = f; g.getPositions() } }, 250) }, getHash: function (f) { return f.attr("href").split("#")[1]; }, getPositions: function () { var h = this; var i; var g; var f; h.$nav.each(function () { i = h.getHash(d(this)); f = d("#" + i); if (f.length) { g = f.offset().top; h.sections[i] = Math.round(g) } }) }, getSection: function (i) { var f = null; var h = Math.round(this.$win.height() * this.config.scrollThreshold); for (var g in this.sections) { if ((this.sections[g] - h) < i) { f = g } } return f }, handleClick: function (j) { var g = this; var f = d(j.currentTarget); var i = f.parent(); var h = "#" + g.getHash(f); if (!i.hasClass(g.config.currentClass)) { if (g.config.begin) { g.config.begin() } g.adjustNav(g, i); g.unbindInterval(); g.scrollTo(h, function () { if (g.config.changeHash) { c.location.hash = h } g.bindInterval(); if (g.config.end) { g.config.end() } }) } j.preventDefault() }, scrollChange: function () { var h = this.$win.scrollTop(); var f = this.getSection(h); var g; if (f !== null) { g = this.$elem.find('a[href$="#' + f + '"]').parent(); if (!g.hasClass(this.config.currentClass)) { this.adjustNav(this, g); if (this.config.scrollChange) { this.config.scrollChange(g) } } } }, scrollTo: function (f, h) { var g = d(f).offset().top; d("html, body").animate({scrollTop: g-105}, this.config.scrollSpeed, this.config.easing, h) }, unbindInterval: function () { clearInterval(this.t); this.$win.unbind("scroll.onePageNav") }}; b.defaults = b.prototype.defaults; d.fn.onePageNav = function (f) { return this.each(function () { new b(this, f).init() }) } })(jQuery, window, document); } /* FILE ARCHIVED ON 00:18:14 Dec 24, 2021 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 14:29:45 Sep 14, 2022. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). */ /* playback timings (ms): captures_list: 217.096 exclusion.robots: 0.16 exclusion.robots.policy: 0.149 RedisCDXSource: 2.109 esindex: 0.011 LoadShardBlock: 196.261 (3) PetaboxLoader3.datanode: 221.071 (4) CDXLines.iter: 15.485 (3) load_resource: 156.639 PetaboxLoader3.resolve: 95.571 */