1(function($){"use strict";var animating=!1,methods={switchMag:function(clicked,_self){var current=$(clicked);if(current.is('.active_sort')||animating){return} 2var filter=current.data('filter'),oldContainer=_self.container.filter(':visible'),newContainer=_self.container.filter('.'+filter);animating=!0;_self.sort_buttons.removeClass('active_sort');current.addClass('active_sort');_self.magazine.height(_self.magazine.outerHeight());oldContainer.avia_animate({opacity:0},200,function(){oldContainer.css({display:'none'});newContainer.css({opacity:0,display:'block'}).avia_animate({opacity:1},150,function(){_self.magazine.avia_animate({height:(newContainer.outerHeight()+_self.sort_bar.outerHeight())},150,function(){_self.magazine.height('auto');animating=!1})})})}};$.fn.aviaMagazine=function(options){if(!this.length){return} 3return this.each(function(){var _self={};_self.magazine=$(this),_self.sort_buttons=_self.magazine.find('.av-magazine-sort a');_self.container=_self.magazine.find('.av-magazine-group');_self.sort_bar=_self.magazine.find('.av-magazine-top-bar');_self.sort_buttons.each(function(i){var current=$(this),filter=current.data('filter'),entry=_self.container.filter('.'+filter);if(entry.length==0||entry.html().trim()==''){current.hide();current.prev('span.text-sep').hide()}});_self.sort_buttons.on('click',function(e){e.preventDefault();methods.switchMag(this,_self)})})}}(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.