PageSourceSearch

https://edithcanatdechizy.fr/wp-content/plugins/twentig/dist/js/block-animation.js?ver=1.0

js edithcanatdechizy.fr collected 2026-10-07 03:49:35 UTC 712 bytes, 29 lines download raw bytes

1(function() {
2
3	document.addEventListener( 'DOMContentLoaded', function() {
4		const blocks_to_animate = document.querySelectorAll( '.tw-block-animation' );
5		
6		if ( blocks_to_animate.length > 0 && "IntersectionObserver" in window ) {
7			
8			const options = {
9				rootMargin: '0px 0px -80px 0px',
10				threshold: 0,
11			}
12
13			const callback = ( entries ) => {
14				entries.forEach( ( entry ) => {
15					if ( entry.isIntersecting ) {
16						entry.target.classList.add( 'animated' );
17						observer.unobserve( entry.target );
18					}
19				})
20			};
21			
22			const observer = new IntersectionObserver( callback, options );
23			
24			blocks_to_animate.forEach( ( block ) => {
25				observer.observe( block );
26			});
27		}
28	});
29})();

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.