PageSourceSearch

https://www.augustcap.com/wp-content/themes/august-capital/js/isotope-layouts.js?ver=1790308134

js augustcap.com collected 2026-09-25 04:05:41 UTC 3,815 bytes, 162 lines download raw bytes

1jQuery(document).ready(function($) { 
2
3	/* ISOTOPE LAYOUT FUNCTIONS */
4
5	/* related investots on each team member page */
6	
7	var $container =   $('#blog-single-related-investors-inner').isotope({
8		layoutMode: 'masonry',
9		itemSelector: '.blog-single-investor-outer',
10		percentPosition: true,
11		itemPositionDataEnabled: true
12	}).isotope( 'layout' ).isotope();
13	
14	
15	setTimeout(function(){
16		$('#blog-single-related-investors-inner').isotope('layout');
17	}, 500)
18	
19	// get width of blog-single-content-inner
20	var get_blog_content_width = function(){
21		
22		var target_div = $('#blog-single-content-inner');
23		var target_div_width = target_div.width();
24		
25		// tooltips to this width
26		$('.blog-single-investor-details').width(target_div_width)
27	}
28	$(window).load(get_blog_content_width);
29	$(window).resize(get_blog_content_width);
30	
31	
32	
33	 /* isotope functions for blog grid */ 
34	  
35	if($('.bgrid').length){
36		var $container =   $('.bgrid').isotope({
37			layoutMode: 'packery',
38			itemSelector: '.bgrid-item',
39			percentPosition: true,
40			itemPositionDataEnabled: true,
41			stamp: '.stamp',
42			packery: {
43				columnWidth: '.bgrid-sizer'
44			}
45		}).isotope( 'layout' ).isotope();
46		
47		$('.blog-index-wrap').each(function(index) {
48	    	$(this).delay(200*index).animate({'opacity':1},300);
49	    	
50		});		
51		
52		
53		
54	}
55
56	 /* isotope functions for team investments grid */ 
57	  
58	if($('.investor-grid').length){
59		var $container =   $('.investor-grid').isotope({
60			layoutMode: 'masonry',
61			itemSelector: '.investor-grid-item',
62			percentPosition: true,
63			itemPositionDataEnabled: true,
64			packery: {
65				columnWidth: '.investor-grid-sizer'
66			}
67		}).isotope( 'layout' ).isotope();
68		
69		setTimeout(function(){
70				$('.investor-grid').isotope( 'layout' ).isotope();
71			},500);
72		
73		setTimeout(function(){
74			$.detect_each_team_grid_pos();
75		},1000);
76	}
77	
78	// init of portfolio Isotope items
79	if($('.grid').length){
80		
81			var $container =   $('.grid').isotope({
82				layoutMode: 'packery',
83				itemSelector: '.grid-item',
84				//columnWidth: '.grid-sizer',
85				percentPosition: true,
86				resizeContainer: true,
87				stamp: '.stamp',
88				transitionDuration: 0,
89	
90				packery: {
91					columnWidth: '.grid-sizer'
92				}
93			}).isotope( 'layout' ).isotope();
94			
95		var iso = $('.grid').data('isotope');
96		// console.log( iso.filteredItems.length + ' filtered items'  );
97		var elems = $('.grid').isotope('getItemElements');
98		// console.log( elems );
99		
100		
101		//$(window).load($.detect_each_grid_pos);
102		
103		setTimeout(function(){
104			$.detect_each_grid_pos();
105		},1000);
106
107		iso.on( 'arrangeComplete', function() {
108			$.detect_each_grid_pos();
109		});
110			
111	}
112	
113	// bind filter button click
114	$('body .filters').on( 'click', 'a', function(e) {
115	
116		e.preventDefault();
117		
118		var $containers = ('.filters');
119		var filterValue = $( this ).attr('data-filter');
120		var filterType = $( this ).attr('data-filter-type');
121		// console.log('filter clicked:'+filterValue);
122		setTimeout(function(){
123			$container.isotope({ filter: filterValue });
124			$($container.data('isotope').filteredItems[0].element).addClass('grid-item-first').isotope('layout');
125		},500);
126		
127		
128		// $.fade_port_items();
129		
130		// grab the status from the click event to pass to the view more
131		var status = $(this).attr('status');
132		
133		$('a.port-fetch-more-link').each(function(){
134			
135			$(this).attr('status',status);
136			
137		});
138
139		
140		$.remove_tooltip_lock_from_body_class();
141		
142		setTimeout(function(){
143			$.detect_each_grid_pos();
144		},1000);
145			
146			
147		var filtertype = $( this ).attr('data-filter-type');
148		
149	});
150	
151	// lazy load of images in portfolio container 
152	$("img.lazy").lazyload({
153   		 effect : "fadeIn"
154	});
155	
156	$('img.lazy').load(function() {
157    	// console.log($(this).attr('src') + ' loaded');
158    	$(this).removeClass('lazy');
159    	$(this).addClass('lazyloaded');
160	});
161	
162});

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.