jQuery(function(e){if("undefined"==typeof wc_cart_fragments_params)return!1;var t=!0,r=wc_cart_fragments_params.cart_hash_key;try{t="sessionStorage"in window&&null!==window.sessionStorage,window.sessionStorage.setItem("wc","test"),window.sessionStorage.removeItem("wc"),window.localStorage.setItem("wc","test"),window.localStorage.removeItem("wc")}catch(f){t=!1}function n(){t&&sessionStorage.setItem("wc_cart_created",(new Date).getTime())}function o(e){t&&(localStorage.setItem(r,e),sessionStorage.setItem(r,e))}var a={url:wc_cart_fragments_params.wc_ajax_url.toString().replace("%%endpoint%%","get_refreshed_fragments"),type:"POST",data:{time:(new Date).getTime()},timeout:wc_cart_fragments_params.request_timeout,success:function(r){r&&r.fragments&&(e.each(r.fragments,function(t,r){e(t).replaceWith(r)}),t&&(sessionStorage.setItem(wc_cart_fragments_params.fragment_name,JSON.stringify(r.fragments)),o(r.cart_hash),r.cart_hash&&n()),e(document.body).trigger("wc_fragments_refreshed"))},error:function(){e(document.body).trigger("wc_fragments_ajax_error")}};function s(){e.ajax(a)}if(t){var i=null;e(document.body).on("wc_fragment_refresh updated_wc_div",function(){s()}),e(document.body).on("added_to_cart removed_from_cart",function(e,t,a){var s=sessionStorage.getItem(r);null!==s&&s!==undefined&&""!==s||n(),sessionStorage.setItem(wc_cart_fragments_params.fragment_name,JSON.stringify(t)),o(a)}),e(document.body).on("wc_fragments_refreshed",function(){clearTimeout(i),i=setTimeout(s,864e5)}),e(window).on("storage onstorage",function(e){r===e.originalEvent.key&&localStorage.getItem(r)!==sessionStorage.getItem(r)&&s()}),e(window).on("pageshow",function(t){t.originalEvent.persisted&&(e(".widget_shopping_cart_content").empty(),e(document.body).trigger("wc_fragment_refresh"))});try{var c=JSON.parse(sessionStorage.getItem(wc_cart_fragments_params.fragment_name)),_=sessionStorage.getItem(r),g=Cookies.get("woocommerce_cart_hash"),m=sessionStorage.getItem("wc_cart_created");if(null!==_&&_!==undefined&&""!==_||(_=""),null!==g&&g!==undefined&&""!==g||(g=""),_&&(null===m||m===undefined||""===m))throw"No cart_created";if(m){var d=1*m+864e5,w=(new Date).getTime();if(d<w)throw"Fragment expired";i=setTimeout(s,d-w)}if(!c||!c["div.widget_shopping_cart_content"]||_!==g)throw"No fragment";e.each(c,function(t,r){e(t).replaceWith(r)}),e(document.body).trigger("wc_fragments_loaded")}catch(f){s()}}else s();Cookies.get("woocommerce_items_in_cart")>0?e(".hide_cart_widget_if_empty").closest(".widget_shopping_cart").show():e(".hide_cart_widget_if_empty").closest(".widget_shopping_cart").hide(),e(document.body).on("adding_to_cart",function(){e(".hide_cart_widget_if_empty").closest(".widget_shopping_cart").show()}),"undefined"!=typeof wp&&wp.customize&&wp.customize.selectiveRefresh&&wp.customize.widgetsPreview&&wp.customize.widgetsPreview.WidgetPartial&&wp.customize.selectiveRefresh.bind("partial-content-rendered",function(){s()})});
(typeof define==="function"&&define.amd?define:function(e,t){if(typeof module!=="undefined"&&module.exports)module.exports=t(require("jquery"));else window.toastr=t(window.jQuery)})(["jquery"],function(v){return H=0,i="error",a="info",r="success",l="warning",e={clear:function(e,t){var s=T();b||C(s);o(e,s,t)||(e=>{for(var t=b.children(),s=t.length-1;0<=s;s--)o(v(t[s]),e)})(s)},remove:function(e){var t=T();b||C(t);e&&0===v(":focus",e).length?O(e):b.children().length&&b.remove()},error:function(e,t,s){return n({type:i,iconClass:T().iconClasses.error,message:e,optionsOverride:s,title:t})},getContainer:C,info:function(e,t,s){return n({type:a,iconClass:T().iconClasses.info,message:e,optionsOverride:s,title:t})},options:{},subscribe:function(e){t=e},success:function(e,t,s){return n({type:r,iconClass:T().iconClasses.success,message:e,optionsOverride:s,title:t})},version:"2.1.4",warning:function(e,t,s){return n({type:l,iconClass:T().iconClasses.warning,message:e,optionsOverride:s,title:t})}};function C(e,t){return e=e||T(),(b=v("#"+e.containerId)).length||t&&(t=e,(b=v("<div/>").attr("id",t.containerId).addClass(t.positionClass)).appendTo(v(t.target))),b}function o(e,t,s){s=!(!s||!s.force)&&s.force;return e&&(s||0===v(":focus",e).length)&&(e[t.hideMethod]({duration:t.hideDuration,easing:t.hideEasing,complete:function(){O(e)}}),1)}function w(e){t&&t(e)}function n(e){var n=T(),t=e.iconClass||n.iconClass;if(void 0!==e.optionsOverride&&(n=v.extend(n,e.optionsOverride),t=e.optionsOverride.iconClass||t),!((e,t)=>{if(e.preventDuplicates){if(t.message===D)return 1;D=t.message}})(n,e)){H++,b=C(n,!0);var i=null,a=v("<div/>"),s=v("<div/>"),o=v("<div/>"),r=v("<div/>"),l=v(n.closeHtml),d={intervalId:null,hideEta:null,maxHideTime:null},c={toastId:H,state:"visible",startTime:new Date,options:n,map:e},u=(e.iconClass&&a.addClass(n.toastClass).addClass(t),e.title&&(t=e.title,n.escapeHtml&&(t=p(e.title)),s.append(t).addClass(n.titleClass),a.append(s)),e.message&&(t=e.message,n.escapeHtml&&(t=p(e.message)),o.append(t).addClass(n.messageClass),a.append(o)),n.closeButton&&(l.addClass(n.closeClass).attr("role","button"),a.prepend(l)),n.progressBar&&(r.addClass(n.progressClass),a.prepend(r)),n.rtl&&a.addClass("rtl"),n.newestOnTop?b.prepend(a):b.append(a),"");switch(e.iconClass){case"toast-success":case"toast-info":u="polite";break;default:u="assertive"}return a.attr("aria-live",u),a.hide(),a[n.showMethod]({duration:n.showDuration,easing:n.showEasing,complete:n.onShown}),0<n.timeOut&&(i=setTimeout(m,n.timeOut),d.maxHideTime=parseFloat(n.timeOut),d.hideEta=(new Date).getTime()+d.maxHideTime,n.progressBar)&&(d.intervalId=setInterval(h,10)),n.closeOnHover&&a.hover(f,g),!n.onclick&&n.tapToDismiss&&a.click(m),n.closeButton&&l&&l.click(function(e){e.stopPropagation?e.stopPropagation():void 0!==e.cancelBubble&&!0!==e.cancelBubble&&(e.cancelBubble=!0),n.onCloseClick&&n.onCloseClick(e),m(!0)}),n.onclick&&a.click(function(e){n.onclick(e),m()}),w(c),n.debug&&console&&console.log(c),a}function p(e){return(e=null==e?"":e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function m(e){var t=e&&!1!==n.closeMethod?n.closeMethod:n.hideMethod,s=e&&!1!==n.closeDuration?n.closeDuration:n.hideDuration,o=e&&!1!==n.closeEasing?n.closeEasing:n.hideEasing;if(!v(":focus",a).length||e)return clearTimeout(d.intervalId),a[t]({duration:s,easing:o,complete:function(){O(a),clearTimeout(i),n.onHidden&&"hidden"!==c.state&&n.onHidden(),c.state="hidden",c.endTime=new Date,w(c)}})}function g(){(0<n.timeOut||0<n.extendedTimeOut)&&(i=setTimeout(m,n.extendedTimeOut),d.maxHideTime=parseFloat(n.extendedTimeOut),d.hideEta=(new Date).getTime()+d.maxHideTime)}function f(){clearTimeout(i),d.hideEta=0,a.stop(!0,!0)[n.showMethod]({duration:n.showDuration,easing:n.showEasing})}function h(){var e=(d.hideEta-(new Date).getTime())/d.maxHideTime*100;r.width(e+"%")}}function T(){return v.extend({},{tapToDismiss:!0,toastClass:"toast",containerId:"toast-container",debug:!1,showMethod:"fadeIn",showDuration:300,showEasing:"swing",onShown:void 0,hideMethod:"fadeOut",hideDuration:1e3,hideEasing:"swing",onHidden:void 0,closeMethod:!1,closeDuration:!1,closeEasing:!1,closeOnHover:!0,extendedTimeOut:1e3,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},iconClass:"toast-info",positionClass:"toast-top-right",timeOut:5e3,titleClass:"toast-title",messageClass:"toast-message",escapeHtml:!1,target:"body",closeHtml:'<button type="button">&times;</button>',closeClass:"toast-close-button",newestOnTop:!0,preventDuplicates:!1,progressBar:!1,progressClass:"toast-progress",rtl:!1},e.options)}function O(e){b=b||C(),e.is(":visible")||(e.remove(),e=null,0===b.children().length&&(b.remove(),D=void 0))}var b,t,D,H,i,a,r,l,e});
function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}(u=>{var f,h,n,b=u(window),a={},g=[],v=[],m=null,s="_open",y="_close",_=[],k=null,l=/(iPad|iPhone|iPod)/.test(navigator.userAgent),w={_init:function(t){var o=u(t),e=o.data("popupoptions");v[t.id]=!1,g[t.id]=0,o.data("popup-initialized")||(o.attr("data-popup-initialized","true"),w._initonce(t)),e.autoopen&&setTimeout(function(){w.show(t,0)},0)},_initonce:function(e){var t,o,i=u(e),n=u("body"),a=i.data("popupoptions"),p=(m=parseInt(n.css("margin-right"),10),k=void 0!==document.body.style.webkitTransition||void 0!==document.body.style.MozTransition||void 0!==document.body.style.msTransition||void 0!==document.body.style.OTransition||void 0!==document.body.style.transition,a.scrolllock&&void 0===f&&(o=(p=u('<div style="width:50px;height:50px;overflow:auto"><div/></div>').appendTo("body")).children(),f=o.innerWidth()-o.height(99).innerWidth(),p.remove()),i.attr("id")||i.attr("id","j-popup-"+parseInt(1e8*Math.random(),10)),i.addClass("popup_content"),a.background&&!u("#"+e.id+"_background").length&&(n.append('<div id="'+e.id+'_background" class="popup_background"></div>'),(t=u("#"+e.id+"_background")).css({opacity:0,visibility:"hidden",backgroundColor:a.color,position:"fixed",top:0,right:0,bottom:0,left:0}),a.setzindex&&!a.autozindex&&t.css("z-index","100000"),a.transition)&&t.css("transition",a.transition),n.append(e),i.wrap('<div id="'+e.id+'_wrapper" class="popup_wrapper" />'),(o=u("#"+e.id+"_wrapper")).css({opacity:0,visibility:"hidden",position:"absolute"}),l&&((t=u("#"+e.id+"_background")).css("cursor","pointer"),u(a.pagecontainer).css("cursor","pointer")),"overlay"==a.type&&!a.absolute&&a.background&&(o.css("overflow","auto"),o[0].style.WebkitOverflowScrolling="touch"),i.css({opacity:0,visibility:"hidden","pointer-events":"auto",display:"inline-block"}),a.setzindex&&!a.autozindex&&o.css("z-index","100001"),a.outline||i.css("outline","none"),a.transition&&(i.css("transition",a.transition),o.css("transition",a.transition)),i.attr("aria-hidden",!0),"overlay"==a.type&&(i.css({textAlign:"left",position:"relative",verticalAlign:"middle"}),o.css({position:"fixed",width:"100%",height:"100%",top:0,left:0,textAlign:"center"}),o.append('<div class="popup_align" />'),u(".popup_align").css({display:"inline-block",verticalAlign:"middle",height:"100%"})),i.attr("role","dialog"),a.openelement||"."+e.id+s);u(p).each(function(t,o){u(o).attr("data-popup-ordinal",t),o.id||u(o).attr("id","open_"+parseInt(1e8*Math.random(),10))}),i.attr("aria-labelledby")||i.attr("aria-label")||i.attr("aria-labelledby",u(p).attr("id")),"hover"==a.action?(a.keepfocus=!1,u(p).on("mouseenter",function(){w.show(e,u(this).data("popup-ordinal"))}),u(p).on("mouseleave",function(){w.hide(e)})):u(document).on("click.jqp",p,function(t){t.preventDefault();var o=u(this).data("popup-ordinal");setTimeout(function(){w.show(e,o)},0)}),a.closebutton&&w.addclosebutton(e),a.detach?i.detach():i.hide()},show:function(t,o){var e=u(t);if(!e.data("popup-visible")){e.data("popup-initialized")||w._init(t),e.attr("data-popup-initialized","true");var i=u("body"),n=e.data("popupoptions"),a=u("#"+t.id+"_wrapper"),p=u("#"+t.id+"_background");if(x(t,o,n.beforeopen),v[t.id]=o,setTimeout(function(){_.push(t.id)},0),n.autozindex){for(var s=document.getElementsByTagName("*"),l=s.length,d=0,r=0;r<l;r++){var c=u(s[r]).css("z-index");"auto"!==c&&d<(c=parseInt(c,10))&&(d=c)}g[t.id]=d,n.background&&0<=g[t.id]&&u("#"+t.id+"_background").css({zIndex:g[t.id]+1}),0<=g[t.id]&&a.css({zIndex:g[t.id]+2})}n.detach&&a.prepend(t),e.show(),h=setTimeout(function(){a.css({visibility:"visible",opacity:1}),u("html").addClass("popup_visible").addClass("popup_visible_"+t.id),a.addClass("popup_wrapper_visible")},20),n.scrolllock&&(i.css("overflow","hidden"),i.height()>b.height())&&i.css("margin-right",m+f),e.css({visibility:"visible",opacity:1}),n.background&&(p.css({visibility:"visible",opacity:n.opacity}),setTimeout(function(){p.css({opacity:n.opacity})},0)),e.data("popup-visible",!0),w.reposition(t,o),e.data("focusedelementbeforepopup",document.activeElement),e.attr("tabindex",-1),setTimeout(function(){"closebutton"===n.focuselement?u("#"+t.id+" ."+t.id+y+":first").focus():n.focuselement?u(n.focuselement).focus():!0!==n.focuselement&&!n.keepfocus||e.focus()},n.focusdelay),n.keepfocus&&u(n.pagecontainer).attr("aria-hidden",!0),e.attr("aria-hidden",!1),x(t,o,n.onopen),k?a.one("transitionend",function(){x(t,o,n.opentransitionend)}):x(t,o,n.opentransitionend),"tooltip"==n.type&&u(window).on("resize."+t.id,function(){w.reposition(t,o)})}},hide:function(t,o){var e,i,n,a,p,s=u.inArray(t.id,_);-1!==s&&(h&&clearTimeout(h),e=u("body"),i=u(t),n=i.data("popupoptions"),a=u("#"+t.id+"_wrapper"),p=u("#"+t.id+"_background"),i.data("popup-visible",!1),1===_.length?u("html").removeClass("popup_visible").removeClass("popup_visible_"+t.id):u("html").hasClass("popup_visible_"+t.id)&&u("html").removeClass("popup_visible_"+t.id),_.splice(s,1),a.hasClass("popup_wrapper_visible")&&a.removeClass("popup_wrapper_visible"),n.keepfocus&&!o&&setTimeout(function(){u(i.data("focusedelementbeforepopup")).is(":visible")&&i.data("focusedelementbeforepopup").focus()},0),a.css({visibility:"hidden",opacity:0}),i.css({visibility:"hidden",opacity:0}),n.background&&p.css({visibility:"hidden",opacity:0}),u(n.pagecontainer).attr("aria-hidden",!1),i.attr("aria-hidden",!0),x(t,v[t.id],n.onclose),k&&"0s"!==i.css("transition-duration")?i.one("transitionend",function(){i.data("popup-visible")||(n.detach?i.detach():i.hide()),n.scrolllock&&setTimeout(function(){u.grep(_,function(t){return u("#"+t).data("popupoptions").scrolllock}).length||e.css({overflow:"visible","margin-right":m})},10),x(t,v[t.id],n.closetransitionend)}):(n.detach?i.detach():i.hide(),n.scrolllock&&setTimeout(function(){u.grep(_,function(t){return u("#"+t).data("popupoptions").scrolllock}).length||e.css({overflow:"visible","margin-right":m})},10),x(t,v[t.id],n.closetransitionend)),"tooltip"==n.type)&&u(window).off("resize."+t.id)},toggle:function(t,o){u(t).data("popup-visible")?w.hide(t):setTimeout(function(){w.show(t,o)},0)},reposition:function(t,o){var e,i=u(t),n=i.data("popupoptions"),a=u("#"+t.id+"_wrapper");o=o||0,"tooltip"==n.type?(a.css({position:"absolute"}),e=(o=n.tooltipanchor?u(n.tooltipanchor):n.openelement?u(n.openelement).filter('[data-popup-ordinal="'+o+'"]'):u("."+t.id+s+'[data-popup-ordinal="'+o+'"]')).offset()||{left:0,top:0},"right"==n.horizontal?a.css("left",e.left+o.outerWidth()+n.offsetleft):"leftedge"==n.horizontal?a.css("left",e.left+n.offsetleft):"left"==n.horizontal?a.css("right",b.width()-e.left-n.offsetleft):"rightedge"==n.horizontal?a.css("right",b.width()-e.left-o.outerWidth()-n.offsetleft):a.css("left",e.left+o.outerWidth()/2-i.outerWidth()/2-parseFloat(i.css("marginLeft"))+n.offsetleft),"bottom"==n.vertical?a.css("top",e.top+o.outerHeight()+n.offsettop):"bottomedge"==n.vertical?a.css("top",e.top+o.outerHeight()-i.outerHeight()+n.offsettop):"top"==n.vertical?a.css("bottom",b.height()-e.top-n.offsettop):"topedge"==n.vertical?a.css("bottom",b.height()-e.top-i.outerHeight()-n.offsettop):a.css("top",e.top+o.outerHeight()/2-i.outerHeight()/2-parseFloat(i.css("marginTop"))+n.offsettop)):"overlay"==n.type&&(n.horizontal?a.css("text-align",n.horizontal):a.css("text-align","center"),n.vertical?i.css("vertical-align",n.vertical):i.css("vertical-align","middle"),n.absolute&&a.css({position:"absolute",top:window.scrollY}),n.background||(a.css({"pointer-events":"none"}),n.absolute)||p(t)||(i.css("overflow","auto"),i[0].style.WebkitOverflowScrolling="touch",i.css("max-height","calc(100% - "+i.css("margin-top")+" - "+i.css("margin-bottom")+")")))},addclosebutton:function(t){var o=u(t).data("popupoptions").closebuttonmarkup?u(a.closebuttonmarkup).addClass(t.id+"_close"):'<button class="popup_close '+t.id+'_close" title="Close" aria-label="Close"><span aria-hidden="true">×</span></button>';u(t).data("popup-initialized")&&u(t).append(o)}},x=function(t,o,e){var i=u(t).data("popupoptions");void 0!==i&&(i=i.openelement||"."+t.id+s,i=u(i+'[data-popup-ordinal="'+o+'"]'),"function"==typeof e)&&e.call(u(t),t,i)},p=function(t){t=t.getBoundingClientRect();return 0<=t.top&&0<=t.left&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&t.right<=(window.innerWidth||document.documentElement.clientWidth)};u(document).on("keydown",function(t){var o;_.length&&(o=document.getElementById(_[_.length-1]),u(o).data("popupoptions").escape)&&27==t.keyCode&&w.hide(o)}),u(document).on("mousedown",function(t){n=t.target}),u(document).on("click",function(t){var o,e,i;_.length&&(o=_[_.length-1],e=document.getElementById(o),i=u(e).data("popupoptions")&&u(e).data("popupoptions").closeelement?u(e).data("popupoptions").closeelement:"."+e.id+y,u(t.target).closest(i).length&&(t.preventDefault(),w.hide(e)),u(e).data("popupoptions"))&&u(e).data("popupoptions").blur&&!u(t.target).closest(u(e).data("popupoptions").blurignore).length&&!u(t.target).closest("#"+o).length&&!u(n).closest("#"+o).length&&2!==t.which&&u(t.target).is(":visible")&&(u(e).data("popupoptions").background?(w.hide(e),t.preventDefault()):w.hide(e,!0))}),u(document).on("keydown",function(t){var o,e,i,n;_.length&&9==t.which&&(o=document.getElementById(_[_.length-1]),u(o).data("popupoptions").keepfocus)&&(e=u(o).find("*").filter("a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, *[tabindex], *[contenteditable]").filter(":visible"),n=u(":focus"),i=e.length,n=e.index(n),0===i?(u(o).focus(),t.preventDefault()):t.shiftKey?0===n&&(e.get(i-1).focus(),t.preventDefault()):n==i-1&&(e.get(0).focus(),t.preventDefault()))}),u.fn.popup=function(i){return this.each(function(){var t,o=u(this),e=u.extend(!0,{},u.fn.popup.defaults);i&&"tooltip"===i.type&&(e.background=!1),"object"===_typeof(i)?(t=u.extend({},e,o.data("popupoptions"),i),o.data("popupoptions",t),a=o.data("popupoptions"),w._init(this)):"string"==typeof i?(o.data("popupoptions")||(o.data("popupoptions",e),a=o.data("popupoptions")),w[i].call(this,this)):(o.data("popupoptions")||(o.data("popupoptions",e),a=o.data("popupoptions")),w._init(this))})},u.fn.popup.destroyall=function(){for(var t=0;t<_.length;t++)u("#"+_[t]).popup("hide");u(".popup_wrapper").remove(),u(".popup_background").remove(),u(document).off("click.jqp")},u.fn.popup.defaults={type:"overlay",absolute:!1,autoopen:!1,background:!0,color:"black",opacity:"0.5",horizontal:"center",vertical:"middle",offsettop:0,offsetleft:0,escape:!0,blur:!0,blurignore:null,setzindex:!0,autozindex:!1,scrolllock:!1,closebutton:!1,closebuttonmarkup:null,keepfocus:!0,focuselement:null,focusdelay:50,outline:!1,pagecontainer:null,detach:!1,openelement:null,closeelement:null,transition:null,tooltipanchor:null,beforeopen:null,onclose:null,onopen:null,opentransitionend:null,closetransitionend:null}})(jQuery);
!function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof module&&module.exports?module.exports=e(require("jquery")):jQuery&&!jQuery.fn.hoverIntent&&e(jQuery)}(function(f){"use strict";function u(e){return"function"==typeof e}var i,r,v={interval:100,sensitivity:6,timeout:0},s=0,a=function(e){i=e.pageX,r=e.pageY},p=function(e,t,n,o){if(Math.sqrt((n.pX-i)*(n.pX-i)+(n.pY-r)*(n.pY-r))<o.sensitivity)return t.off(n.event,a),delete n.timeoutId,n.isActive=!0,e.pageX=i,e.pageY=r,delete n.pX,delete n.pY,o.over.apply(t[0],[e]);n.pX=i,n.pY=r,n.timeoutId=setTimeout(function(){p(e,t,n,o)},o.interval)};f.fn.hoverIntent=function(e,t,n){function o(e){var u=f.extend({},e),r=f(this),v=((t=r.data("hoverIntent"))||r.data("hoverIntent",t={}),t[i]),t=(v||(t[i]=v={id:i}),v.timeoutId&&(v.timeoutId=clearTimeout(v.timeoutId)),v.event="mousemove.hoverIntent.hoverIntent"+i);"mouseenter"===e.type?v.isActive||(v.pX=u.pageX,v.pY=u.pageY,r.off(t,a).on(t,a),v.timeoutId=setTimeout(function(){p(u,r,v,d)},d.interval)):v.isActive&&(r.off(t,a),v.timeoutId=setTimeout(function(){var e,t,n,o,i;e=u,t=r,n=v,o=d.out,(i=t.data("hoverIntent"))&&delete i[n.id],o.apply(t[0],[e])},d.timeout))}var i=s++,d=f.extend({},v);f.isPlainObject(e)?(d=f.extend(d,e),u(d.out)||(d.out=d.over)):d=u(t)?f.extend(d,{over:e,out:t,selector:n}):f.extend(d,{over:e,out:e,selector:t});return this.on({"mouseenter.hoverIntent":o,"mouseleave.hoverIntent":o},d.selector)}});