1doFir.push(function(){(function($){var lemon={elements:{},attach:function(context,settings){this.init();if(this.elements.body.el.hasClass('logged-in')){return} 2this.fixedHeader()},init:function(){console.log('init');if(!this.elements.length){var thisObj=this;this.elements.window={el:$(window)};this.elements.body={el:$('body')} 3this.elements.header={el:$('.page-header')} 4$(document).on('recalculate',function(){thisObj.recalculateElements()});$(window).on('scroll',function(){$.event.trigger({type:'reposition'})});$(window).on('resize',function(){$.event.trigger({type:'recalculate'});$.event.trigger({type:'reposition'})});$.event.trigger({type:'recalculate'});$.event.trigger({type:'reposition'})}},recalculateElements:function(){var el;var fixed=!1;this.elements.window.height=this.elements.window.el.height();this.elements.window.width=this.elements.window.el.width();this.elements.header=this.setItemAttributes(this.elements.header)},setItemAttributes:function(item){var el;var fixed=!1;var absolute=!1;el=item.el;if(!el.length){return item} 5if(el.hasClass('fixed')){fixed=!0;el.removeClass('fixed')} 6if(el.hasClass('absolute')){absolute=!0;el.removeClass('absolute')} 7item.height=el.length?el.outerHeight(!0):0;item.width=el.length?el.width():0;item.outerwidth=el.length?el.outerWidth():0;item.left=el.length?el.offset().left:0;item.top=el.length?el.offset().top:0;if(fixed){el.addClass('fixed')} 8if(absolute){el.addClass('absolute')} 9return item},fixedHeader:function(){var thisObj=this;var body=thisObj.elements.body.el;var header=thisObj.elements.header.el;var header_t=thisObj.elements.header.top;var header_h=thisObj.elements.header.height;var offset=60;var lastScrollTop=0;$(document).on('reposition',function(e){var st=thisObj.elements.window.el.scrollTop();var start=header_t+header_h-offset;if(st>start){header.addClass('fixed').css({'transition':'0.3s'});body.css('padding-top',header_h);if(ibtmedia_device!='desktop'){if(st>lastScrollTop&&st>offset){header.removeClass('us').addClass('ds').css({});if(body.hasClass('node-type-ranking-table')){$('.tablesorter-sticky-wrapper').css({'top':0,'transition':'0.3s'})}}else{header.removeClass('ds').addClass('us').css({'top':''});if(body.hasClass('node-type-ranking-table')){$('.tablesorter-sticky-wrapper').css({'top':offset,'transition':'0.3s'})}} 10lastScrollTop=st}}else{header.removeClass('fixed').css({'transition':''});body.css('padding-top','')}})}};lemon.attach()})(jQuery);(function($){var menuExpand={attach:function(context,settings){this.menuExpand();$('.scroll-top').click(function(event){$("html, body").animate({scrollTop:0})});$('.page-nav .toggle-button').click(function(event){if($(this).parent().hasClass('expand')){$(this).parent().removeClass('expand')}else{$('.page-nav .toggle').removeClass('expand');$(this).parent().addClass('expand')}});$('.pf-middle .title').click(function(event){if($(this).parent().hasClass('expand')){$(this).parent().removeClass('expand')}else{$('.pf-middle .f1').removeClass('expand');$(this).parent().addClass('expand')}})},menuExpand:function(){var pageHeader=$('.page-header');var body=$('body');var bindRemoveLayer=function(){$(window).unbind('scroll.menulayer');$(window).bind('scroll.menulayer',function(){$('body').removeClass('showEdition').removeClass('showMenu').removeClass('showSearch');$('.page-edition').css('top','');$(window).unbind('scroll.menulayer')})} 11if(pageHeader.length>0){$('.genericon-menu').click(function(event){if(body.hasClass('showMenu')){body.removeClass('showMenu')}else{body.addClass('showMenu').removeClass('showSearch')} 12bindRemoveLayer()});$('.genericon-search').click(function(event){if(body.hasClass('showMenu')){body.removeClass('showMenu')}else{body.addClass('showMenu').removeClass('showSearch');$('#edit-search-block-form--2').focus()} 13bindRemoveLayer()});$('.page-header label').click(function(event){if(body.hasClass('showEdition')){body.removeClass('showEdition');$('.page-edition').css('top','')}else{var hh=$('.page-header').height();if(hh<50){$('.page-edition').css('top',hh+'px')} 14body.addClass('showEdition').removeClass('showMenu').removeClass('showSearch')} 15bindRemoveLayer()})}}};menuExpand.attach()})(jQuery)})
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.