1var accordion=function(e){ 2 var n,o,t=480, 3 a=function(){ 4 var n=e(this), 5 o=n.parent(), 6 a=n.next(".accordion-content"); 7 e(window).width()>t&&o.hasClass("accordion-mobile-only")||(o.toggleClass("open"), a.slideToggle("fast")) 8 }, 9 i=function(){ 10 e(".category, .footer .accordion-mobile-only").each(function(){ 11 var n=e(this); 12 if(e(window).width()>t){ 13 if(n.hasClass("collapse-on-load"))return; 14 n.children(".accordion-content").slideDown(0), 15 n.addClass("open")} 16 else 17 n.children(".accordion-content").slideUp(0), 18 n.removeClass("open") 19 }) 20 }, 21 r=function(){ 22 if(n.parent().hasClass("collapse-on-load")){ 23 var e=n.parent(".collapse-on-load"); 24 e.children(".accordion-content").slideUp(0), 25 e.removeClass("open") 26 } 27 }, 28 c=function(){ 29 o=e(window).width(), 30 n=e(".accordion-content"), 31 e("body").on("click",'[data-toggle="accordion"]',a), 32 e(window).on({ 33 resize:function(){e(window).width()!=o&&(o=e(window).width(),i())}, 34 load:function(){i(),r()} 35 }) 36 }; 37 return{setupEvents:c} 38 }(jQuery), 39 smoothScroll=function(e){ 40 var n=function(){ 41 if(!e(this).parent().hasClass("tab-nav")&&location.pathname.replace(/^\//,"")==this.pathname.replace(/^\//,"")&&location.hostname==this.hostname){ 42 var n=e(this.hash); 43 if(n=n.length?n:e("[name="+this.hash.slice(1)+"]"),n.length) 44 return e("html, body").animate({scrollTop:n.offset().top-70},500),!1} 45 }, 46 o=function(){e("body").on("click",'a[href*="#"]:not([href="#"])',n)}; 47 return{setupEvents:o} 48 }(jQuery); 49 $(document).ready(function(){ 50 accordion.setupEvents(), 51 smoothScroll.setupEvents() 52 });
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.