1/* global pysOptions */ 2 3 4jQuery( document ).ready( function () { 5 if (window.pysOptions && Object.keys( window.pysOptions.track_dynamic_fields ).length > 0 ) { 6 7 // expires in 30 min 8 let expires = new Date( new Date().getTime() + 30 * 60 * 1000 ); 9 Object.entries( window.pysOptions.track_dynamic_fields ).forEach( ( item ) => { 10 jQuery( document ).on( "blur", 'input[name="' + item[ 1 ] + '"]', function () { 11 let value = $( this ).val().trim(); 12 if ( value.length > 0 ) { 13 Cookies.set( 'pys_dyn_field_' + item[ 1 ], value, { expires: expires } ); 14 } 15 } ) 16 } ) 17 } 18} )
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.