1/** 2 * @author Infortis. Based on script by Jan Jarfalk (http://www.unwrongest.com) 3 * @copyright Copyright (c) 2014 Infortis 4 */ 5(function(b){b.fn.extend({accordion:function(n,p,q){return this.each(function(){function g(c,s,g){var f=b(c),e=f.parent(h),m=f.siblings(d);_speed=!0===g?0:t;e.siblings().removeClass(k).children(d).slideUp(_speed,function(){var a=e.offset().top,c=b(window).scrollTop();a<c&&b("html, body").animate({scrollTop:a},400,"easeOutCubic")});if(0<m.length)m[s||l](_speed,function(){"block"===m.css("display")?f.parentsUntil(a,h).addClass(k):e.removeClass(k);f.parentsUntil(a,d).show()});else f.parentsUntil(a,h).addClass(k), 6f.parentsUntil(a,d).show()}var a=b(this),k="item-active",l="slideToggle",t=200,h="li",d="ul, div",r="ul, li>div",e=".opener";"undefined"!==typeof n&&(r=d=n);"undefined"!==typeof p&&(e=p);"undefined"!==typeof q&&(h=q);if(a.data("accordiated"))return!1;a.data("accordiated",!0);a.find(r).hide();a.on("click",e,function(){g(this,l)});a.activateCurrent=function(){var c=a.find(h+".current")[0];if(c){var d=b(c).children(e)[0];d?g(d,l,!0):(c=b(c).children("*")[0])&&g(c,l,!0)}};a.activateCurrent()})}})})(jQuery); 7jQuery(function(b){b(".accordion").accordion()});
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.