PageSourceSearch

https://www.zamekgolub.pl/wp-content/plugins/bedbooking-reservation-system/js/accordion.js?ver=7.1.2

js zamekgolub.pl collected 2026-10-02 20:24:04 UTC 705 bytes, 17 lines download raw bytes

1const bb_acc = document.getElementsByClassName("bb-accordion");
2let bb_i;
3
4for (bb_i = 0; i < bb_acc.length; bb_i++) {
5    bb_acc[i].addEventListener("click", function() {
6        this.classList.toggle("active");
7        let icon = this.lastElementChild
8        let panel = this.nextElementSibling;
9        if (panel.style.maxHeight) {
10            panel.style.maxHeight = null;
11            icon.className = "bb-color dashicons dashicons-arrow-down-alt2 bb-icon-translation"
12        } else {
13            icon.className = "bb-color dashicons dashicons-arrow-down-alt2 bb-icon-translation bb-icon-rotate"
14            panel.style.maxHeight = panel.scrollHeight + 22 + "px";
15        }
16    });
17}

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.