PageSourceSearch

https://airpak.com/wp-content/plugins/bold-page-builder/script_fe.js?ver=5.5.23

js airpak.com collected 2026-10-07 08:48:51 UTC 1,545 bytes, 37 lines download raw bytes

1(function( $ ) {
2	$( document ).ready(function() {
3		$( '.bt_bb_fe_count' ).click(function( e ) {
4			var order = $( this ).find( '.bt_bb_fe_count_inner' ).html();
5			if ( window != window.top ) { // iframe
6				$( '.bt_bb_front_end_preview_close', window.parent.document ).click();
7				$( 'html, body', window.parent.document ).animate({
8					scrollTop: $( '.bt_bb_item_list', window.parent.document ).children().eq( order - 1 ).offset().top - $( '#wpadminbar', window.parent.document ).height()
9				}, 500 );
10			} else {
11				if ( $( this ).find( '.bt_bb_fe_count_inner' ).data( 'edit_url' ) !== undefined ) {
12					window.location.replace( $( this ).find( '.bt_bb_fe_count_inner' ).data( 'edit_url' ) + '&bt_bb_order=' + order );
13				} else {
14					window.location.replace( $( '#wp-admin-bar-edit .ab-item' ).attr( 'href' ) + '&bt_bb_order=' + order );
15				}
16			}
17		});
18		
19		var bt_bb_fe_preview_toggle = localStorage.getItem( 'bt_bb_fe_preview_toggle' );
20		if ( bt_bb_fe_preview_toggle == 'true' || ! window.bt_bb_fe_can_edit ) {
21			$( 'body' ).addClass( 'bt_bb_fe_preview_toggle' );
22		} else {
23			$( 'body' ).removeClass( 'bt_bb_fe_preview_toggle' );
24		}
25
26		$( '.bt_bb_fe_preview_toggler' ).on( 'click', function ( e ) {
27			e.stopPropagation();
28			$( 'body' ).toggleClass( 'bt_bb_fe_preview_toggle' );
29			var has_class = false;
30			if ( $( 'body' ).hasClass( 'bt_bb_fe_preview_toggle' ) ) {
31				has_class = true;
32			}
33			localStorage.setItem( 'bt_bb_fe_preview_toggle', has_class );
34		});
35
36	});
37}( 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.