PageSourceSearch

https://sorlandsavisen.no/wpside/wp-content/themes/Total/assets/js/core/hoverIntent.min.js?ver=1.10.1

js sorlandsavisen.no collected 2026-10-02 12:56:13 UTC 1,499 bytes, 1 lines download raw bytes

1!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(a){"use strict";var i,r,u={interval:100,sensitivity:6,timeout:0},v=0,d=function(e){i=e.pageX,r=e.pageY},s=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,d),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(){s(e,t,n,o)},o.interval)},p=function(e){return"function"==typeof e};a.fn.hoverIntent=function(e,t,n){var o=v++,f=a.extend({},u);a.isPlainObject(e)?(f=a.extend(f,e),p(f.out)||(f.out=f.over)):f=p(t)?a.extend(f,{over:e,out:t,selector:n}):a.extend(f,{over:e,out:e,selector:t});var i=function(e){var r=a.extend({},e),u=a(this),t=u.data("hoverIntent");t||u.data("hoverIntent",t={});var v=t[o];v||(t[o]=v={id:o}),v.timeoutId&&(v.timeoutId=clearTimeout(v.timeoutId));var n=v.event="mousemove.hoverIntent.hoverIntent"+o;if("mouseenter"===e.type){if(v.isActive)return;v.pX=r.pageX,v.pY=r.pageY,u.off(n,d).on(n,d),v.timeoutId=setTimeout(function(){s(r,u,v,f)},f.interval)}else{if(!v.isActive)return;u.off(n,d),v.timeoutId=setTimeout(function(){var e,t,n,o,i;e=r,t=u,n=v,o=f.out,(i=t.data("hoverIntent"))&&delete i[n.id],o.apply(t[0],[e])},f.timeout)}};return this.on({"mouseenter.hoverIntent":i,"mouseleave.hoverIntent":i},f.selector)}});

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.