1'use strict';(function($){var toggle=$('[data-toggle="dictation"]');function init(toggle){toggle.on('click',function(event){var $input=$(this).closest('form').find('input[type="text"], input[type="search"]');startDictation($input)})} 2function startDictation($input){var SpeechRecognition=SpeechRecognition||webkitSpeechRecognition 3var recognition=new SpeechRecognition();recognition.continuous=!1;recognition.interimResults=!1;recognition.lang="fr-FR";recognition.start();recognition.onresult=function(event){$input.val(event.results[0][0].transcript) 4recognition.stop();$input.closest('form').submit()};recognition.onerror=function(event){recognition.stop()}} 5if((typeof SpeechRecognition!='undefined'||typeof webkitSpeechRecognition!='undefined')&&toggle){init(toggle)}else{toggle.hide()}})(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.