PageSourceSearch

https://animepahe.cl/wp-content/themes/animestream/assets/js/filter.js?ver=1.0.0

js animepahe.cl collected 2026-10-08 05:50:28 UTC 1,461 bytes, 39 lines download raw bytes

1$(document).on('click','.quickfilter .dropdown-toggle',function(){
2	if(!$(this).parent().hasClass('open')) {
3		$(document).find('.quickfilter .filter.dropdown').removeClass('open');
4	}
5	$(this).parent().toggleClass('open');
6});
7$(document).on("click", function(event){
8	if(!$(event.target).closest(".dropdown-toggle").length){
9		$(document).find('.quickfilter .filter.dropdown').removeClass('open');
10	}
11});
12jQuery(document).ready(function($) {
13	$('.filters .filter ul').click(function(event) {
14		event.stopPropagation();
15	});
16	$('.filters .filter ul').each(function(index, elem) {
17		var elem_checked = $(this).find('input:checked');
18		var button_span = elem_checked.closest('.filter').find("button span");
19		if (elem_checked.length == 1) {
20			button_span.html(elem_checked.parent().find("label").html());
21		} else if (elem_checked.length > 1) {
22			button_span.html(elem_checked.length + ' selected');
23		} else if (elem_checked.length == 0) {
24			button_span.html('All');
25		}
26	});
27	$('.dropdown-menu input').on('click', function(e) {
28		var ul_elem = $(this).parent().parent();
29		var elem_checked = ul_elem.find("input:checked");
30		var button_span = ul_elem.parent().find("button span");
31		if (elem_checked.length == 1) {
32			button_span.html(elem_checked.parent().find("label").html());
33		} else if (elem_checked.length > 1) {
34			button_span.html(elem_checked.length + ' selected');
35		} else if (elem_checked.length == 0) {
36			button_span.html('All');
37		}
38	});
39});

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.