PageSourceSearch

https://www.tigerscu.org/assets/vendor/appear.js

js tigerscu.org collected 2026-10-02 00:04:03 UTC 2,088 bytes, 1 lines download raw bytes

1appear=function(){"use strict";var e=null,t=0,n={};return addEventListener("scroll",function(){var i=window.scrollY||window.pageYOffset;null!=e&&(n.velocity=i-e,n.delta=n.velocity>=0?n.velocity:-1*n.velocity),e=i,t&&clearTimeout(t),t=setTimeout(function(){e=null},30)},!1),function(e){return function(e){var t,i,o,a,r=!1,d=[],u=[],c=0,p=0,l={};function s(){var e,t;n.delta<l.delta.speed&&(o||(o=!0,v(),setTimeout(function(){o=!1},l.delta.timeout))),(e=function(){v()},t=l.debounce,function(){var n=this,o=arguments;clearTimeout(i),i=setTimeout(function(){e.apply(n,o)},t)})()}function m(){v(),addEventListener("scroll",s,!1),addEventListener("resize",s,!1)}function f(){removeEventListener("scroll",s,!1),removeEventListener("resize",s,!1)}function v(){a||(d.forEach(function(e,t){var n,i,o;e&&(n=e,i=l.bounds,(o=n.getBoundingClientRect()).top+o.height>=0&&o.left+o.width>=0&&o.bottom-o.height<=(window.innerHeight||document.documentElement.clientHeight)+i&&o.right-o.width<=(window.innerWidth||document.documentElement.clientWidth)+i)?u[t]&&(u[t]=!1,c++,l.appear&&l.appear(e),l.disappear||l.reappear||(d[t]=null)):(!1===u[t]&&(l.disappear&&l.disappear(e),p++,l.reappear||(d[t]=null)),u[t]=!0)}),l.reappear||l.appear&&(!l.appear||c!==t)||l.disappear&&(!l.disappear||p!==t)||(a=!0,f(),l.done&&l.done()))}function h(){var e;if(!r&&(r=!0,l.init&&l.init(),e="function"==typeof l.elements?l.elements():l.elements)){t=e.length;for(var n=0;n<t;n+=1)d.push(e[n]),u.push(!0);m()}}return function(e){l={init:(e=e||{}).init,elements:e.elements,appear:e.appear,disappear:e.disappear,done:e.done,reappear:e.reappear,bounds:e.bounds||0,debounce:e.debounce||50,delta:{speed:e.deltaSpeed||50,timeout:e.deltaTimeout||500}},addEventListener("DOMContentLoaded",h,!1);var t=!1;Function("/*@cc_on return document.documentMode===10@*/")()&&(t=!0);var n="complete"===document.readyState||"loaded"===document.readyState;return t?n&&h():(n||"interactive"===document.readyState)&&h(),{trigger:function(){v()},pause:function(){f()},resume:function(){m()},destroy:function(){d=[],i&&clearTimeout(i),f()}}}}()(e)}}();

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.