1/* ScrollToFixed */ 2(function(a){a.isScrollToFixed=function(b){return!!a(b).data('ScrollToFixed')},a.ScrollToFixed=function(b,c){function d(){t.trigger('preUnfixed.ScrollToFixed'),l(),t.trigger('unfixed.ScrollToFixed'),E=-1,B=t.offset().top,C=t.offset().left,r.options.offsets&&(C+=t.offset().left-t.position().left),-1==D&&(D=C),u=t.css('position'),s=!0,-1!=r.options.bottom&&(t.trigger('preFixed.ScrollToFixed'),j(),t.trigger('fixed.ScrollToFixed'))}function f(){var M=r.options.limit;return M?'function'==typeof M?M.apply(t):M:0}function g(){return'fixed'===u}function h(){return'absolute'===u}function i(){return!(g()||h())}function j(){if(!g()){var M=t[0].getBoundingClientRect();F.css({display:t.css('display'),width:M.width,height:M.height,float:t.css('float')}),cssOptions={'z-index':r.options.zIndex,position:'fixed',top:-1==r.options.bottom?n():'',bottom:-1==r.options.bottom?'':r.options.bottom,'margin-left':'0px'},r.options.dontSetWidth||(cssOptions.width=t.css('width'));t.css(cssOptions),t.addClass(r.options.baseClassName),r.options.className&&t.addClass(r.options.className),u='fixed'}}function k(){var M=f(),N=C;r.options.removeOffsets&&(N='',M-=B),cssOptions={position:'absolute',top:M,left:N,'margin-left':'0px',bottom:''},r.options.dontSetWidth||(cssOptions.width=t.css('width'));t.css(cssOptions),u='absolute'}function l(){i()||(E=-1,F.css('display','none'),t.css({'z-index':A,width:'',position:v,left:'',top:z,'margin-left':''}),t.removeClass('scroll-to-fixed-fixed'),r.options.className&&t.removeClass(r.options.className),u=null)}function m(M){M!=E&&(t.css('left',C-M),E=M)}function n(){var M=r.options.marginTop;return M?'function'==typeof M?M.apply(t):M:0}function o(){if(a.isScrollToFixed(t)&&!t.is(':hidden')){var M=s,N=i();s?i()&&(B=t.offset().top,C=t.offset().left):d();var O=a(window).scrollLeft(),P=a(window).scrollTop(),Q=f();r.options.minWidth&&a(window).width()<r.options.minWidth?(!i()||!M)&&(q(),t.trigger('preUnfixed.ScrollToFixed'),l(),t.trigger('unfixed.ScrollToFixed')):r.options.maxWidth&&a(window).width()>r.options.maxWidth?(!i()||!M)&&(q(),t.trigger('preUnfixed.ScrollToFixed'),l(),t.trigger('unfixed.ScrollToFixed')):-1==r.options.bottom?0<Q&&P>=Q-n()?!N&&(!h()||!M)&&(q(),t.trigger('preAbsolute.ScrollToFixed'),k(),t.trigger('unfixed.ScrollToFixed')):P>=B-n()?((!g()||!M)&&(q(),t.trigger('preFixed.ScrollToFixed'),j(),E=-1,t.trigger('fixed.ScrollToFixed')),m(O)):(!i()||!M)&&(q(),t.trigger('preUnfixed.ScrollToFixed'),l(),t.trigger('unfixed.ScrollToFixed')):0<Q?P+a(window).height()-t.outerHeight(!0)>=Q-(n()||-p())?g()&&(q(),t.trigger('preUnfixed.ScrollToFixed'),'absolute'===v?k():l(),t.trigger('unfixed.ScrollToFixed')):(!g()&&(q(),t.trigger('preFixed.ScrollToFixed'),j()),m(O),t.trigger('fixed.ScrollToFixed')):m(O)}}function p(){return r.options.bottom?r.options.bottom:0}function q(){var M=t.css('position');'absolute'==M?t.trigger('postAbsolute.ScrollToFixed'):'fixed'==M?t.trigger('postFixed.ScrollToFixed'):t.trigger('postUnfixed.ScrollToFixed')}var r=this;r.$el=a(b),r.el=b,r.$el.data('ScrollToFixed',r);var s=!1,t=r.$el,u,v,w,z,A,B=0,C=0,D=-1,E=-1,F=null,I=function(){t.is(':visible')?(s=!1,o()):l()},J=function(){!window.requestAnimationFrame?o():requestAnimationFrame(o)},L=function(M){M=M||window.event,M.preventDefault&&M.preventDefault(),M.returnValue=!1};r.init=function(){r.options=a.extend({},a.ScrollToFixed.defaultOptions,c),A=t.css('z-index'),r.$el.css('z-index',r.options.zIndex),F=a('<div />'),u=t.css('position'),v=t.css('position'),w=t.css('float'),z=t.css('top'),i()&&r.$el.after(F),a(window).bind('resize.ScrollToFixed',I),a(window).bind('scroll.ScrollToFixed',J),'ontouchmove'in window&&a(window).bind('touchmove.ScrollToFixed',o),r.options.preFixed&&t.bind('preFixed.ScrollToFixed',r.options.preFixed),r.options.postFixed&&t.bind('postFixed.ScrollToFixed',r.options.postFixed),r.options.preUnfixed&&t.bind('preUnfixed.ScrollToFixed',r.options.preUnfixed),r.options.postUnfixed&&t.bind('postUnfixed.ScrollToFixed',r.options.postUnfixed),r.options.preAbsolute&&t.bind('preAbsolute.ScrollToFixed',r.options.preAbsolute),r.options.postAbsolute&&t.bind('postAbsolute.ScrollToFixed',r.options.postAbsolute),r.options.fixed&&t.bind('fixed.ScrollToFixed',r.options.fixed),r.options.unfixed&&t.bind('unfixed.ScrollToFixed',r.options.unfixed),r.options.spacerClass&&F.addClass(r.options.spacerClass),t.bind('resize.ScrollToFixed',function(){F.height(t.height())}),t.bind('scroll.ScrollToFixed',function(){t.trigger('preUnfixed.ScrollToFixed'),l(),t.trigger('unfixed.ScrollToFixed'),o()}),t.bind('detach.ScrollToFixed',function(M){L(M),t.trigger('preUnfixed.ScrollToFixed'),l(),t.trigger('unfixed.ScrollToFixed'),a(window).unbind('resize.ScrollToFixed',I),a(window).unbind('scroll.ScrollToFixed',J),t.unbind('.ScrollToFixed'),F.remove(),r.$el.removeData('ScrollToFixed')}),I()},r.init()},a.ScrollToFixed.defaultOptions={marginTop:0,limit:0,bottom:-1,zIndex:1e3,baseClassName:'scroll-to-fixed-fixed'},a.fn.scrollToFixed=function(b){return this.each(function(){new a.ScrollToFixed(this,b)})}})(jQuery); 3 4/*! Lazy Load 1.9.7 - MIT license - Copyright 2010-2015 Mika Tuupola */ 5!function(a,b,c,d){var e=a(b);a.fn.lazyload=function(f){function g(){var b=0;i.each(function(){var c=a(this);if(!j.skip_invisible||c.is(":visible"))if(a.abovethetop(this,j)||a.leftofbegin(this,j));else if(a.belowthefold(this,j)||a.rightoffold(this,j)){if(++b>j.failure_limit)return!1}else c.trigger("appear"),b=0})}var h,i=this,j={threshold:0,failure_limit:0,event:"scroll",effect:"show",container:b,data_attribute:"original",skip_invisible:!1,appear:null,load:null,placeholder:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB/AAffA0nNPuCLAAAAAElFTkSuQmCC"};return f&&(d!==f.failurelimit&&(f.failure_limit=f.failurelimit,delete f.failurelimit),d!==f.effectspeed&&(f.effect_speed=f.effectspeed,delete f.effectspeed),a.extend(j,f)),h=j.container===d||j.container===b?e:a(j.container),0===j.event.indexOf("scroll")&&h.bind(j.event,function(){return g()}),this.each(function(){var b=this,c=a(b);b.loaded=!1,(c.attr("src")===d||c.attr("src")===!1)&&c.is("img")&&c.attr("src",j.placeholder),c.one("appear",function(){if(!this.loaded){if(j.appear){var d=i.length;j.appear.call(b,d,j)}a("<img />").bind("load",function(){var d=c.attr("data-"+j.data_attribute);c.hide(),c.is("img")?c.attr("src",d):c.css("background-image","url('"+d+"')"),c[j.effect](j.effect_speed),b.loaded=!0;var e=a.grep(i,function(a){return!a.loaded});if(i=a(e),j.load){var f=i.length;j.load.call(b,f,j)}}).attr("src",c.attr("data-"+j.data_attribute))}}),0!==j.event.indexOf("scroll")&&c.bind(j.event,function(){b.loaded||c.trigger("appear")})}),e.bind("resize",function(){g()}),/(?:iphone|ipod|ipad).*os 5/gi.test(navigator.appVersion)&&e.bind("pageshow",function(b){b.originalEvent&&b.originalEvent.persisted&&i.each(function(){a(this).trigger("appear")})}),a(c).ready(function(){g()}),this},a.belowthefold=function(c,f){var g;
5return g=f.container===d||f.container===b?(b.innerHeight?b.innerHeight:e.height())+e.scrollTop():a(f.container).offset().top+a(f.container).height(),g<=a(c).offset().top-f.threshold},a.rightoffold=function(c,f){var g;return g=f.container===d||f.container===b?e.width()+e.scrollLeft():a(f.container).offset().left+a(f.container).width(),g<=a(c).offset().left-f.threshold},a.abovethetop=function(c,f){var g;return g=f.container===d||f.container===b?e.scrollTop():a(f.container).offset().top,g>=a(c).offset().top+f.threshold+a(c).height()},a.leftofbegin=function(c,f){var g;return g=f.container===d||f.container===b?e.scrollLeft():a(f.container).offset().left,g>=a(c).offset().left+f.threshold+a(c).width()},a.inviewport=function(b,c){return!(a.rightoffold(b,c)||a.leftofbegin(b,c)||a.belowthefold(b,c)||a.abovethetop(b,c))},a.extend(a.expr[":"],{"below-the-fold":function(b){return a.belowthefold(b,{threshold:0})},"above-the-top":function(b){return!a.belowthefold(b,{threshold:0})},"right-of-screen":function(b){return a.rightoffold(b,{threshold:0})},"left-of-screen":function(b){return!a.rightoffold(b,{threshold:0})},"in-viewport":function(b){return a.inviewport(b,{threshold:0})},"above-the-fold":function(b){return!a.belowthefold(b,{threshold:0})},"right-of-fold":function(b){return a.rightoffold(b,{threshold:0})},"left-of-fold":function(b){return!a.rightoffold(b,{threshold:0})}})}(jQuery,window,document); 6 7jQuery(document).ready(function($) { 8 $("img.lazy").show().lazyload({ 9 effect : "fadeIn", 10 skip_invisible : true 11 }); 12 13 $('<div style="clear:both;!important;font-size:1px;"> </div>').insertBefore('header'); 14});
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.