PageSourceSearch

https://www.vistra.com/themes/custom/vistra2024/js/logo-animation.js?tm819w

js vistra.com collected 2026-10-02 03:52:49 UTC 595 bytes, 26 lines download raw bytes

1/**
2 * @file
3 * Plays the mobile logo and contact-us lottie animations once,
4 * 3 seconds after page load, in sync.
5 */
6
7(function (Drupal, once) {
8  Drupal.behaviors.mobileLottiesAnimation = {
9    attach(context) {
10      // Select both logo and contact-us players
11      const players = once(
12        'mobileLottiesAnimation',
13        '.mobile-logo, .mobile-contact-us-lottie',
14        context
15      );
16
17      if (players.length) {
18        setTimeout(() => {
19          players.forEach((player) => {
20            player.play();
21          });
22        }, 3000);
23      }
24    }
25  };
26})(Drupal, once);

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.