1(function ( $ ) { 2 'use strict'; 3 4 $( document ).on( 'click', 'a.um-toggle-gdpr', function ( e ) { 5 let $a = jQuery( e.currentTarget ); 6 let $area = $a.closest( '.um-field-area' ); 7 let $content = $area.find( '.um-gdpr-content' ); 8 9 if ( $content.is( ':visible' ) ) { 10 $area.find( 'a.um-toggle-gdpr' ).text( $a.data( 'toggle-show' ) ); 11 $content.hide().find( 'a.um-toggle-gdpr' ).remove(); 12 if ( $a.length ) { 13 $a.get( 0 ).scrollIntoView(); 14 } 15 } else { 16 $area.find( 'a.um-toggle-gdpr' ).text( $a.data( 'toggle-hide' ) ); 17 $content.show().prepend( $a.clone() ); 18 } 19 20 } ); 21 22})( 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.