1(function(n){function t(t){var f=n(this),r=null,e=[],o=null,u=null,i=n.extend({rowSelector:"> li",submenuSelector:"*",submenuDirection:"right",tolerance:75,enter:n.noop,exit:n.noop,activate:n.noop,deactivate:n.noop,exitMenu:n.noop,delay:300},t),v=3,y=function(n){e.push({x:n.pageX,y:n.pageY});e.length>v&&e.shift()},p=function(){u&&clearTimeout(u);i.exitMenu(this)&&(r&&i.deactivate(r),r=null)},s=function(){u&&clearTimeout(u);i.enter(this);a(this)},h=function(){u&&clearTimeout(u);i.exit(this)},c=function(){l(this)},l=function(t){if(t!=r){if(r&&i.deactivate(r),!n(t).is(i.submenuSelector)){r=null;return}i.activate(t);r=t}},a=function(n){var t=w();t?u=setTimeout(function(){a(n)},t):l(n)},w=function(){function p(n,t){return(t.y-n.y)/(t.x-n.x)}var c,l;if(!r||!n(r).is(i.submenuSelector))return 0;var t=f.offset(),a={x:t.left,y:t.top},y={x:t.left+f.outerWidth(),y:a.y},v={x:t.left,y:t.top+f.outerHeight()},h={x:t.left+f.outerWidth(),y:v.y},s=e[e.length-1],u=e[0];if(!s||(u||(u=s),i.submenuDirection=="right"?(y.y-=i.tolerance,h.y+=i.tolerance):i.submenuDirection=="left"?(a.y-=i.tolerance,v.y+=i.tolerance):i.submenuDirection=="above"?(a.x-=i.tolerance,y.x+=i.tolerance):i.submenuDirection=="below"&&(v.x-=i.tolerance,h.x+=i.tolerance),u.x<t.left||u.x>h.x||u.y<t.top||u.y>h.y)||o&&s.x==o.x&&s.y==o.y)return 0;c=y;l=h;i.submenuDirection=="left"?(c=v,l=a):i.submenuDirection=="below"?(c=h,l=v):i.submenuDirection=="above"&&(c=a,l=y);var w=p(s,c),b=p(s,l),k=p(u,c),d=p(u,l);return w<k&&b>d?(o=s,i.delay):(o=null,0)};f.mouseleave(p).find(i.rowSelector).mouseenter(s).mouseleave(h).click(c);f.bind("DOMNodeInserted",function(t){var r=n(t.target);r.is(i.rowSelector)&&r.mouseenter(s).mouseleave(h).click(c)});n(document).mousemove(y)}n.fn.menuAim=function(n){return this.each(function(){t.call(this,n)}),this}})(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.