PageSourceSearch

https://www.ndt.nl/static/pages/js/effects/index.f3aa7107a916.js

js ndt.nl collected 2026-10-02 06:07:55 UTC 1,086 bytes, 40 lines download raw bytes

1(function (window) {
2    "use strict";
3
4    /**
5     * Global NDT effects entry point.
6     *
7     * Site-wide effects register on `window.NDTEffects` and are started here.
8     * Streamblock-specific effects can reuse `window.NDTMotion` helpers and
9     * register separately when their block is present on the page.
10     */
11    var EFFECT_SCRIPTS = [
12        "header-hide-on-scroll",
13        "scroll-reveal",
14        "stagger-up-reveal",
15        "text-image-reveal",
16        "grid-stagger-reveal",
17        "community-footer-reveal",
18    ];
19
20    function initRegisteredEffects() {
21        var motion = window.NDTMotion;
22        var registry = window.NDTEffects || {};
23
24        EFFECT_SCRIPTS.forEach(function (name) {
25            if (typeof registry[name] === "function") {
26                registry[name](motion);
27            }
28        });
29    }
30
31    function boot() {
32        initRegisteredEffects();
33    }
34
35    if (window.NDTMotion) {
36        window.NDTMotion.onReady(boot);
37    } else {
38        document.addEventListener("DOMContentLoaded", boot, { once: true });
39    }
40})(window);

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.