PageSourceSearch

https://amaranthborsuk.com/wp-content/themes/matheson-pro/library/…?ver=3c2aa89641b4e65c2c72f45ded05816c

js amaranthborsuk.com collected 2026-09-25 20:53:00 UTC 1,433 bytes, 47 lines download raw bytes

1( function( $ ) {
2	// Responsive videos
3	var all_videos = $( '.entry-content' ).find( 'iframe[src*="player.vimeo.com"], iframe[src*="youtube.com"], iframe[src*="youtube-nocookie.com"], iframe[src*="dailymotion.com"],iframe[src*="kickstarter.com"][src*="video.html"], object, embed' );
4	all_videos = all_videos.not( 'object object' );
5
6	all_videos.each( function() {
7		var video = $(this);
8
9		if ( video.parents( 'object' ).length )
10			return;
11
12		if ( ! video.prop( 'id' ) )
13			video.attr( 'id', 'rvw' + Math.floor( Math.random() * 999999 ) );
14
15		video
16			.wrap( '<div class="responsive-video-wrapper" style="padding-top: ' + ( video.attr( 'height' ) / video.attr( 'width' ) * 100 ) + '%" />' )
17			.removeAttr( 'height' )
18			.removeAttr( 'width' );
19	} );
20
21	$( 'a[href="#"]' ).click( function(e) {
22		e.preventDefault();
23	} );
24
25	// Shortcode
26	if ( theme_js_vars['carousel'] ) {
27		var autoplay = ( theme_js_vars['autoplay'] ) ? '' : 'pause';
28		$( '.carousel' ).carousel( autoplay );
29	}
30
31	if ( theme_js_vars['tooltip'] )
32		$( 'a[rel="tooltip"]' ).tooltip();
33
34	if ( theme_js_vars['tabs'] ) {
35		$( '.nav-tabs a' ).click( function(e) {
36			e.preventDefault();
37			$(this).tab( 'show' );
38		} );
39	}
40
41	$( '#site-navigation' ).find( '.dropdown-toggle' ).click( function(e) {
42		e.preventDefault();
43
44		$( '#site-navigation' ).find( 'li' ).not( $(this).parents() ).removeClass( 'open' );
45		$(this).parent().toggleClass( 'open' );
46	} );
47} )( jQuery );

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.