function serviceHeader(){return new ServiceHeader(22,"Reverso","Free  online translation in French, Spanish, Italian, German, Russian, Portuguese, Hebrew, Japanese, English."+Const.NL2+serviceHost()+Const.NL2+"\u00a9 2018 Reverso-Softissimo",Capability.DICTIONARY)}function serviceHost(b,a,c){return b==Capability.DICTIONARY?"http://dictionary.reverso.net":"http://reverso.net"}function serviceLink(b,a,c){return serviceHost(Capability.DICTIONARY)}
SupportedLanguages=[-1,-1,-1,-1,-1,"arabic",-1,-1,-1,-1,-1,"chinese","chinese",-1,-1,-1,"dutch","english",-1,-1,-1,"french",-1,"german",-1,-1,"hebrew",-1,-1,-1,-1,"italian",-1,"japanese",-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,"portuguese","romanian","russian",-1,-1,-1,"spanish",-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1];function serviceDictionaryRequest(b,a,c){b=buildUri(b,a,c);return new RequestData(HttpMethod.GET,b)}
function serviceDictionaryResponse(b,a,c,e){var d;if(a=stringFindSub(a,'<div id="TableHTMLResult">',!1,"\x3c!--Center section end",!1))a=a.replace(/font-size:\s\d+px;?/g,""),a=removeElements(a,["script","iframe"]),a=removeAttributes(a,"id name class href onclick onmouseover onmouseout".split(" ")),a=removeTags(a,["font","img"]),d=serviceHost(Capability.DICTIONARY,c,e),a=updateHtmlLinks(a,d),b=buildUri(b,c,e),d+=b;return new ResponseData(a,c,e,d)}
function buildUri(b,a,c){return format("/{0}-{1}/{2}",codeFromLanguage(a),codeFromLanguage(c),encodeGetParam(b))};
