"use strict";function _typeof(e){return(_typeof="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)}!function(i,e){var o,t,s,r,n,a,h,l,p,f=(s="sf-breadcrumb",r="sf-js-enabled",n="sf-with-ul",a="sf-arrows",(t=/^(?![\w\W]*Windows Phone)[\w\W]*(iPhone|iPad|iPod)/i.test(navigator.userAgent))&&i("html").css("cursor","pointer").on("click",i.noop),h=t,l="behavior"in(o=document.documentElement.style)&&"fill"in o&&/iemobile/i.test(navigator.userAgent),p=!!e.PointerEvent,{hide:function(e){if(this.length){var o=m(this);if(!o)return this;var t=!0===o.retainPath?o.$path:"",n=this.find("li."+o.hoverClass).add(this).not(t).removeClass(o.hoverClass).children(o.popUpSelector),s=o.speedOut;if(e&&(n.show(),s=0),(o.retainPath=!1)===o.onBeforeHide.call(n))return this;n.stop(!0,!0).animate(o.animationOut,s,function(){var e=i(this);o.onHide.call(e)})}return this},show:function(){var e=m(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,o=i(this),t=o.data("sfOptions");if(!t)return!1;e=o.find(t.popUpSelector).parent("li"),clearTimeout(t.sfTimer),u(o,t),c(e),d(o),o.off(".superfish").off(".hoverIntent"),e.children(t.popUpSelector).attr("style",function(e,o){if(void 0!==o)return o.replace(/display[^;]+;?/g,"")}),t.$path.removeClass(t.hoverClass+" "+s).addClass(t.pathClass),o.find("."+t.hoverClass).removeClass(t.hoverClass),t.onDestroy.call(o),o.removeData("sfOptions")})},init:function(n){return this.each(function(){var e=i(this);if(e.data("sfOptions"))return!1;var o=i.extend({},i.fn.superfish.defaults,n),t=e.find(o.popUpSelector).parent("li");o.$path=function(e,o){return e.find("li."+o.pathClass).slice(0,o.pathLevels).addClass(o.hoverClass+" "+s).filter(function(){return i(this).children(o.popUpSelector).hide().show().length}).removeClass(o.pathClass)}(e,o),e.data("sfOptions",o),u(e,o,!0),c(t,!0),d(e),function(e,o){var t="li:has("+o.popUpSelector+")";i.fn.hoverIntent&&!o.disableHI?e.hoverIntent(y,w,t):e.on("mouseenter.superfish",t,y).on("mouseleave.superfish",t,w);var n="MSPointerDown.superfish";p&&(n="pointerdown.superfish"),h||(n+=" touchend.superfish"),l&&(n+=" mousedown.superfish"),e.on("focusin.superfish","li",y).on("focusout.superfish","li",w).on(n,"a",o,S)}(e,o),t.not("."+s).superfish("hide",!0),o.onInit.call(this)})}});function u(e,o,t){var n=r;o.cssArrows&&(n+=" "+a),e[t?"addClass":"removeClass"](n)}function c(e,o){var t=o?"addClass":"removeClass";e.children("a")[t](n)}function d(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})}function v(e){return e.closest("."+r)}function m(e){return v(e).data("sfOptions")}function y(){var e=i(this),o=m(e);clearTimeout(o.sfTimer),e.siblings().superfish("hide").end().superfish("show")}function C(e){e.retainPath=-1