PageSourceSearch

https://www.creatio.com/themes/custom/creatio/components/svg/svg.js?tltpnb

js creatio.com collected 2026-09-24 08:41:12 UTC 995 bytes, 36 lines download raw bytes

1(function ($, Drupal) {
2  'use strict';
3
4  Drupal.behaviors.creatio_component_svg = {
5    attach: (context, settings) => {
6      $('.ts-svg', context).once('eachSVG').each((i, el) => {
7        if(!$(el).closest('.creatio-animation').length && !$(el).closest('[data-auto="0"]').length) {
8          tsAnimateSVG($(el));
9        }
10      });
11    }
12  };
13
14  $(window).on('scroll', () => {
15    if($('.ts-svg:not(.completed)').length) {
16      setTimeout(() => {
17        $('.animated .ts-svg:not(.completed)').each((i, el) => {
18          tsAnimateSVG($(el));
19        });
20      }, 10);
21    }
22  }).on('load', () => {
23    setTimeout(() => {
24      $(window).trigger('scroll');
25    }, 10);
26  });
27
28  window.tsAnimateSVG = (el) => {
29    const animate = el.find('[begin="indefinite"][id$="_start"]').length ? el.find('[begin="indefinite"][id$="_start"]') : el.find('[begin="indefinite"]');
30    if(animate.length) {
31      animate[0].beginElement();
32      el.addClass('completed');
33    }
34  };
35
36}(jQuery, Drupal));

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.