function serviceHeader(){return new ServiceHeader(20,"Babylon Dictionary","Get definitions from the largest collection of online dictionaries on the Web."+Const.NL2+serviceHost()+Const.NL2+"\u00a9 2014-2017 Babylon Software Ltd",Capability.DICTIONARY)}function serviceHost(a,b,c){return"https://dictionary.babylon-software.com"}function serviceLink(a,b,c){return serviceHost()+"/"+encodeGetParam(a)}
SupportedLanguages=[-1,-1,-1,-1,-1,"arabic",-1,-1,-1,-1,-1,"chinese (s)","chinese (t)",-1,-1,-1,"dutch","english",-1,-1,-1,"french",-1,"german","greek",-1,"hebrew",-1,-1,-1,-1,"italian",-1,"japanese",-1,"korean",-1,-1,-1,-1,-1,-1,-1,-1,"portuguese",-1,"russian",-1,-1,-1,"spanish",-1,"swedish",-1,"turkish",-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1];
function serviceDictionaryRequest(a,b,c){a=format("term={0}&sourceLanguage={1}&targetLanguage={2}&action=BISApi",encodePostParam(a),codeFromLanguage(b),codeFromLanguage(c));return new RequestData(HttpMethod.POST,"/ajax.php/",a)}function serviceDictionaryResponse(a,b,c,d){a=removeAttributes(b,["onload"]);b=serviceHost(Capability.DICTIONARY,c,d);a=updateHtmlLinks(a,b);b=format("{0}/{1}/{2}/",b,codeFromLanguage(c),codeFromLanguage(d));return new ResponseData(a,c,d,b)};
