(function(n){n.fn.hoverIntent=function(t,i,r){var u={interval:100,sensitivity:7,timeout:0};u=typeof t=="object"?n.extend(u,t):n.isFunction(i)?n.extend(u,{over:t,out:i,selector:r}):n.extend(u,{over:t,out:t,selector:i});var f,e,o,s,h=function(n){f=n.pageX,e=n.pageY},c=function(t,i){if(i.hoverIntent_t=clearTimeout(i.hoverIntent_t),Math.abs(o-f)+Math.abs(s-e)<u.sensitivity)return n(i).off("mousemove.hoverIntent",h),i.hoverIntent_s=1,u.over.apply(i,[t]);o=f,s=e,i.hoverIntent_t=setTimeout(function(){c(t,i)},u.interval)},a=function(n,t){return t.hoverIntent_t=clearTimeout(t.hoverIntent_t),t.hoverIntent_s=0,u.out.apply(t,[n])},l=function(t){var r=jQuery.extend({},t),i=this;if(i.hoverIntent_t&&(i.hoverIntent_t=clearTimeout(i.hoverIntent_t)),t.type=="mouseenter"){o=r.pageX,s=r.pageY;n(i).on("mousemove.hoverIntent",h);i.hoverIntent_s!=1&&(i.hoverIntent_t=setTimeout(function(){c(r,i)},u.interval))}else n(i).off("mousemove.hoverIntent",h),i.hoverIntent_s==1&&(i.hoverIntent_t=setTimeout(function(){a(r,i)},u.timeout))};return this.on({"mouseenter.hoverIntent":l,"mouseleave.hoverIntent":l},u.selector)}})(jQuery),function(n){"use strict";var t=function(){var t={bcClass:"sf-breadcrumb",menuClass:"sf-js-enabled",anchorClass:"sf-with-ul",menuArrowClass:"sf-arrows"},f=function(){var t=/iPhone|iPad|iPod/i.test(navigator.userAgent);return t&&n(window).load(function(){n("body").children().on("click",n.noop)}),t}(),l=function(){var n=document.documentElement.style;return"behavior"in n&&"fill"in n&&/iemobile/i.test(navigator.userAgent)}(),e=function(n,i){var r=t.menuClass;i.cssArrows&&(r+=" "+t.menuArrowClass),n.toggleClass(r)},a=function(i,r){return i.find("li."+r.pathClass).slice(0,r.pathLevels).addClass(r.hoverClass+" "+t.bcClass).filter(function(){return n(this).children(r.popUpSelector).hide().show().length}).removeClass(r.pathClass)},o=function(n){n.children("a").toggleClass(t.anchorClass)},s=function(n){var t=n.css("ms-touch-action");t=t==="pan-y"?"auto":"pan-y",n.css("ms-touch-action",t)},v=function(t,r){var o="li:has("+r.popUpSelector+")",e;if(n.fn.hoverIntent&&!r.disableHI)t.hoverIntent(i,u,o);else t.on("mouseenter.superfish",o,i).on("mouseleave.superfish",o,u);e="MSPointerDown.superfish",f||(e+=" touchend.superfish"),l&&(e+=" mousedown.superfish");t.on("focusin.superfish","li",i).on("focusout.superfish","li",u).on(e,"a",r,y)},y=function(t){var r=n(this),u=r.siblings(t.data.popUpSelector);if(u.length>0&&u.is(":hidden")){r.one("click.superfish",!1);t.type==="MSPointerDown"?r.trigger("focus"):n.proxy(i,r.parent("li"))()}},i=function(){var t=n(this),i=r(t);clearTimeout(i.sfTimer),t.siblings().superfish("hide").end().superfish("show")},u=function(){var i=n(this),t=r(i);f?n.proxy(h,i,t)():(clearTimeout(t.sfTimer),t.sfTimer=setTimeout(n.proxy(h,i,t),t.delay))},h=function(t){t.retainPath=n.inArray(this[0],t.$path)>-1,this.superfish("hide"),this.parents("."+t.hoverClass).length||(t.onIdle.call(c(this)),t.$path.length&&n.proxy(i,t.$path)())},c=function(n){return n.closest("."+t.menuClass)},r=function(n){return c(n).data("sf-options")};return{hide:function(t){var u,i;if(this.length){if(u=this,i=r(u),!i)return this;var o=i.retainPath===!0?i.$path:"",f=u.find("li."+i.hoverClass).add(this).not(o).removeClass(i.hoverClass).children(i.popUpSelector),e=i.speedOut;t&&(f.show(),e=0),i.retainPath=!1,i.onBeforeHide.call(f),f.stop(!0,!0).animate(i.animationOut,e,function(){var t=n(this);i.onHide.call(t)})}return this},show:function(){var n=r(this),i,t;return n?(i=this.addClass(n.hoverClass),t=i.children(n.popUpSelector),n.onBeforeShow.call(t),t.stop(!0,!0).animate(n.animation,n.speed,function(){n.onShow.call(t)}),this):this},destroy:function(){return this.each(function(){var r=n(this),i=r.data("sf-options"),u;if(!i)return!1;u=r.find(i.popUpSelector).parent("li"),clearTimeout(i.sfTimer),e(r,i),o(u),s(r),r.off(".superfish").off(".hoverIntent"),u.children(i.popUpSelector).attr("style",function(n,t){return t.replace(/display[^;]+;?/g,"")}),i.$path.removeClass(i.hoverClass+" "+t.bcClass).addClass(i.pathClass),r.find("."+i.hoverClass).removeClass(i.hoverClass),i.onDestroy.call(r),r.removeData("sf-options")})},init:function(i){return this.each(function(){var u=n(this),r,f;if(u.data("sf-options"))return!1;r=n.extend({},n.fn.superfish.defaults,i),f=u.find(r.popUpSelector).parent("li"),r.$path=a(u,r),u.data("sf-options",r),e(u,r),o(f),s(u),v(u,r),f.not("."+t.bcClass).superfish("hide",!0),r.onInit.call(this)})}}}();n.fn.superfish=function(i){return t[i]?t[i].apply(this,Array.prototype.slice.call(arguments,1)):typeof i!="object"&&i?n.error("Method "+i+" does not exist on jQuery.fn.superfish"):t.init.apply(this,arguments)},n.fn.superfish.defaults={popUpSelector:"ul,.sf-mega",hoverClass:"sfHover",pathClass:"overrideThisToUse",pathLevels:1,delay:800,animation:{opacity:"show"},animationOut:{opacity:"hide"},speed:"normal",speedOut:"fast",cssArrows:!0,disableHI:!1,onInit:n.noop,onBeforeShow:n.noop,onShow:n.noop,onBeforeHide:n.noop,onHide:n.noop,onIdle:n.noop,onDestroy:n.noop},n.fn.extend({hideSuperfishUl:t.hide,showSuperfishUl:t.show})}(jQuery)