PageSourceSearch

https://www.aila.org/pages/js/collection.js?1789390026

js aila.org collected 2026-10-01 09:08:27 UTC 686 bytes, 19 lines download raw bytes

1"use strict";
2
3document.addEventListener('DOMContentLoaded', () => {
4    document.querySelectorAll('.sidebar-accordion')
5        .forEach((el) => {
6            const toggler = el.querySelector('.sidebar-accordion-control');
7            const toggled = el.querySelector(toggler?.dataset.toggle);
8            if (!toggler || !toggled) {
9                console.error('Toggled element not found');
10            }
11            toggler.addEventListener('click', () => {
12                if (el.classList.contains('open')) {
13                    el.classList.remove('open');
14                } else {
15                    el.classList.add('open');
16                }
17            });
18        });
19});

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.