PageSourceSearch

https://www.psicologiapisa.it/scripts/pi.init.isotope.js

js psicologiapisa.it collected 2026-10-09 02:44:51 UTC 1,839 bytes, 90 lines download raw bytes

1/* Aura version: 1.8.6 */
2
3jQuery(function($){
4
5	//region Isotope
6	if($.fn.isotope) {
7
8		var $w = $(window);
9
10		$w.load(function () {
11			var $isotops = $('.isotope');
12
13			$isotops.each(function () {
14				var $el = $(this),
15					defaultFilter = $el.data('isotopeDefaultFilter') || 0,
16					id = $el.attr('id'),
17					mode = $el.data('isotopeMode') || 'fitRows',
18					tmt;
19
20
21				$el.isotope({
22					filter: defaultFilter,
23					itemSelector: '.isotope-item',
24					layoutMode: mode,
25					getSortData: {
26						name: '.name',
27						category: '[data-category]'
28					},
29					animationOptions: {
30						duration: 400,
31						queue: false
32					}
33				});
34
35				$el.get(0).piIsotopeFilters = [];
36
37
38				$w.resize(function(){
39					clearTimeout(tmt);
40					tmt = setTimeout(function(){
41						$el.isotope('layout');
42					}, 1000);
43				});
44
45				$('[data-isotope-nav="' + id + '"]').on('click', 'a', function (e) {
46
47					var $link = $(this);
48					if(!$link.hasClass('pi-active')){
49						var filter = $link.attr('data-filter'),
50							sorter = $link.attr('data-sort-value');
51
52						$link.parents('ul').eq(0).find('.pi-active').removeClass('pi-active');
53						$link.addClass('pi-active');
54
55						if(filter){
56
57							var filterGroup = $link.parents('[data-filter-group]'),
58								filtersList = $el.get(0).piIsotopeFilters,
59								activeFilters = '';
60
61							if(filterGroup.length){
62								filterGroup = filterGroup.attr('data-filter-group');
63							} else {
64								filterGroup = 'piIsotopeMainFilterGroup';
65							}
66
67							filtersList[filterGroup] = filter;
68
69							for ( var i in filtersList ) {
70								activeFilters += filtersList[i];
71							}
72
73							$el.isotope({ filter: activeFilters });
74						} else if(sorter) {
75							$el.isotope({ sortBy: sorter });
76						}
77					}
78					e.preventDefault();
79				});
80
81				$w.resize();
82
83			});
84
85		});
86
87	}
88	//endregion
89
90});

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.