PageSourceSearch

https://socialtrend.ai/wp-content/plugins/st-reels-manager/assets/js/reels.js?ver=1791212056

js socialtrend.ai collected 2026-10-05 14:55:29 UTC 828 bytes, 25 lines download raw bytes

1document.addEventListener('DOMContentLoaded', function() {
2    if (window.instgrm) window.instgrm.Embeds.process();
3
4    var btns  = document.querySelectorAll('.sp-filter-btn');
5    var cells = document.querySelectorAll('.sp-cell');
6
7    function applyFilter(filter) {
8        cells.forEach(function(cell) {
9            cell.style.display = cell.getAttribute('data-category') === filter ? '' : 'none';
10        });
11    }
12
13    // Apply first filter on load
14    if (btns.length > 0) {
15        applyFilter(btns[0].getAttribute('data-filter'));
16    }
17
18    btns.forEach(function(btn) {
19        btn.addEventListener('click', function() {
20            btns.forEach(function(b) { b.classList.remove('active'); });
21            this.classList.add('active');
22            applyFilter(this.getAttribute('data-filter'));
23        });
24    });
25});

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.