1$(document).ready(function(){ 2 //PRINT 3 $('.print-btn').click(function(){ 4 $('.left_column h5, .left_column h4, .left_column .layout_2').printThis(); 5 }); 6 console.log('yo'); 7 //PLAYER 8 $('.player').hide(); 9 10 if(responsiveVoice.voiceSupport()) { 11 $('.player').show(); 12 let text = $('.content-tts').text(); 13 14 $('#stop, #pause, #resume').hide(); 15 let interval; 16 17 $('#play').click(function(){ 18 let currentMode, newMode = ''; 19 responsiveVoice.speak(text, "Portuguese Male"); 20 21 $('.audio-bar').each(function(){ 22 $(this).removeClass('stopped'); 23 }); 24 25 $(this).hide(); 26 $('#stop').show(); 27 $('#pause').fadeIn(300); 28 29 interval = setInterval(function(){ 30 if(!responsiveVoice.isPlaying()) { 31 $('.audio-bar').each(function(){ 32 $(this).addClass('stopped'); 33 }); 34 $('#stop').hide(); 35 $('#pause, #resume').fadeOut(300); 36 $('#play').show(); 37 clearTimeout(interval); 38 } 39 }, 500); 40 }); 41 42 $('#stop').click(function(){ 43 responsiveVoice.cancel(); 44 45 $('.audio-bar').each(function(){ 46 $(this).addClass('stopped'); 47 }); 48 49 $(this).hide(); 50 $('#pause, #resume').fadeOut(300); 51 $('#play').show(); 52 53 clearTimeout(interval); 54 }); 55 56 $('#pause').click(function(){ 57 responsiveVoice.pause(); 58 59 $('.audio-bar').each(function(){ 60 $(this).addClass('stopped'); 61 }); 62 63 $(this).hide(); 64 $('#resume').show(); 65 66 clearTimeout(interval); 67 }); 68 69 $('#resume').click(function(){ 70 responsiveVoice.resume(); 71 72 $('.audio-bar').each(function(){ 73 $(this).removeClass('stopped'); 74 }); 75 76 $(this).hide(); 77 $('#pause').show(); 78 79 interval = setInterval(function(){ 80 if(!responsiveVoice.isPlaying()) { 81 $('.audio-bar').each(function(){ 82 $(this).addClass('stopped'); 83 }); 84 $('#stop').hide(); 85 $('#pause, #resume').fadeOut(300); 86 $('#play').show(); 87 clearTimeout(interval); 88 } 89 }, 500); 90 }); 91 } 92 93 $('a').unbind('mouseenter mouseleave'); 94 //END PLAYER 95});
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.