PageSourceSearch

https://autonoma.edu.co/modules/custom/autonoma_perf/js/icons-late.js?v=1.0.1

js autonoma.edu.co collected 2026-09-24 22:30:03 UTC 976 bytes, 38 lines download raw bytes

1/**
2 * @file
3 * Load Bootstrap Icons stylesheet after window load (keeps woff2 off LCP path).
4 */
5(function () {
6  'use strict';
7
8  function loadIconsCss() {
9    if (document.getElementById('autonoma-bootstrap-icons')) {
10      return;
11    }
12    var link = document.createElement('link');
13    link.id = 'autonoma-bootstrap-icons';
14    link.rel = 'stylesheet';
15    link.href = '/themes/custom/autonoma/css/lib/bootstrap-icons.css';
16    document.head.appendChild(link);
17  }
18
19  if (document.readyState === 'complete') {
20    // Idle if possible so LCP paints first.
21    if ('requestIdleCallback' in window) {
22      requestIdleCallback(loadIconsCss, { timeout: 2000 });
23    }
24    else {
25      setTimeout(loadIconsCss, 1);
26    }
27  }
28  else {
29    window.addEventListener('load', function () {
30      if ('requestIdleCallback' in window) {
31        requestIdleCallback(loadIconsCss, { timeout: 2000 });
32      }
33      else {
34        setTimeout(loadIconsCss, 1);
35      }
36    });
37  }
38})();

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.