PageSourceSearch

https://www.leopalace21.co.jp/common/js/jquery.hoverIntent.min.js

js leopalace21.co.jp collected 2026-10-01 12:24:26 UTC 1,405 bytes, 1 lines download raw bytes

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