(()=>{function e(o){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(o)}!function(o,t){"use strict";var n,s,i,r,a,h,l,p,u,f,c,d,v,m,y,w=(s="sf-breadcrumb",i="sf-js-enabled","sf-with-ul","sf-arrows",r=function(){var e=/^(?![\w\W]*Windows Phone)[\w\W]*(iPhone|iPad|iPod)/i.test(navigator.userAgent);return e&&o("html").css("cursor","pointer").on("click",o.noop),e}(),a="behavior"in(n=document.documentElement.style)&&"fill"in n&&/iemobile/i.test(navigator.userAgent),h=!!t.PointerEvent,l=function(e,o,t){var n=i;o.cssArrows&&(n+=" sf-arrows"),e[t?"addClass":"removeClass"](n)},p=function(e,o){var t=o?"addClass":"removeClass";e.children("a")[t]("sf-with-ul")},u=function(e){var o=e.css("ms-touch-action"),t=e.css("touch-action");t="pan-y"===(t=t||o)?"auto":"pan-y",e.css({"ms-touch-action":t,"touch-action":t})},f=function(e){return e.closest("."+i)},c=function(e){return f(e).data("sfOptions")},d=function(){var e=o(this),t=c(e);clearTimeout(t.sfTimer),e.siblings().superfish("hide").end().superfish("show")},v=function(e){e.retainPath=o.inArray(this[0],e.$path)>-1,this.superfish("hide"),this.parents("."+e.hoverClass).length||(e.onIdle.call(f(this)),e.$path.length&&o.proxy(d,e.$path)())},m=function(){var e=o(this),t=c(e);r?o.proxy(v,e,t)():(clearTimeout(t.sfTimer),t.sfTimer=setTimeout(o.proxy(v,e,t),t.delay))},y=function(e){var t=o(this),n=c(t),s=t.siblings(e.data.popUpSelector);if(!1===n.onHandleTouch.call(s))return this;s.length>0&&s.is(":hidden")&&(t.one("click.superfish",!1),"MSPointerDown"===e.type||"pointerdown"===e.type?t.trigger("focus"):o.proxy(d,t.parent("li"))())},{hide:function(e){if(this.length){var t=c(this);if(!t)return this;var n=!0===t.retainPath?t.$path:"",s=this.find("li."+t.hoverClass).add(this).not(n).removeClass(t.hoverClass).children(t.popUpSelector),i=t.speedOut;if(e&&(s.show(),i=0),t.retainPath=!1,!1===t.onBeforeHide.call(s))return this;s.stop(!0,!0).animate(t.animationOut,i,(function(){var e=o(this);t.onHide.call(e)}))}return this},show:function(){var e=c(this);if(!e)return this;var o=this.addClass(e.hoverClass).children(e.popUpSelector);return!1===e.onBeforeShow.call(o)||o.stop(!0,!0).animate(e.animation,e.speed,(function(){e.onShow.call(o)})),this},destroy:function(){return this.each((function(){var e,t=o(this),n=t.data("sfOptions");if(!n)return!1;e=t.find(n.popUpSelector).parent("li"),clearTimeout(n.sfTimer),l(t,n),p(e),u(t),t.off(".superfish").off(".hoverIntent"),e.children(n.popUpSelector).attr("style",(function(e,o){if(void 0!==o)return o.replace(/display[^;]+;?/g,"")})),n.$path.removeClass(n.hoverClass+" "+s).addClass(n.pathClass),t.find("."+n.hoverClass).removeClass(n.hoverClass),n.onDestroy.call(t),t.removeData("sfOptions")}))},init:function(e){return this.each((function(){var t=o(this);if(t.data("sfOptions"))return!1;var n=o.extend({},o.fn.superfish.defaults,e),i=t.find(n.popUpSelector).parent("li");n.$path=function(e,t){return e.find("li."+t.pathClass).slice(0,t.pathLevels).addClass(t.hoverClass+" "+s).filter((function(){return o(this).children(t.popUpSelector).hide().show().length})).removeClass(t.pathClass)}(t,n),t.data("sfOptions",n),l(t,n,!0),p(i,!0),u(t),function(e,t){var n="li:has("+t.popUpSelector+")";o.fn.hoverIntent&&!t.disableHI?e.hoverIntent(d,m,n):e.on("mouseenter.superfish",n,d).on("mouseleave.superfish",n,m);var s="MSPointerDown.superfish";h&&(s="pointerdown.superfish"),r||(s+=" touchend.superfish"),a&&(s+=" mousedown.superfish"),e.on("focusin.superfish","li",d).on("focusout.superfish","li",m).on(s,"a",t,y)}(t,n),i.not("."+s).superfish("hide",!0),n.onInit.call(this)}))}});o.fn.superfish=function(t,n){return w[t]?w[t].apply(this,Array.prototype.slice.call(arguments,1)):"object"!==e(t)&&t?o.error("Method "+t+" does not exist on jQuery.fn.superfish"):w.init.apply(this,arguments)},o.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:o.noop,onBeforeShow:o.noop,onShow:o.noop,onBeforeHide:o.noop,onHide:o.noop,onIdle:o.noop,onDestroy:o.noop,onHandleTouch:o.noop}}(jQuery,window)})();