function serviceHeader(){return new ServiceHeader(10,"Google Search","Search the world's information, including webpages, images, videos and more."+Const.NL2+serviceHost()+Const.NL2+"\u00a9 2019 Google",Capability.DICTIONARY)}function serviceHost(b,a,c){return"https://www.google.com"}function serviceLink(b,a,c){return serviceHost()+"/?q="+encodeGetParam(b)}
SupportedLanguages=[-1,"","af","az","sq","ar","hy","eu","be","bg","ca","zh-CN","zh-TW","hr","cs","da","nl","en","et","fi","tl","fr","gl","de","el","ht","iw","hi","hu","is","id","it","ga","ja","ka","ko","lv","lt","mk","ms","mt","no","fa","pl","pt","ro","ru","sr","sk","sl","es","sw","sv","th","tr","uk","ur","vi","cy","yi","eo","hmn","la","lo","kz","uz","si","tg","te","km","mn","kn","ta","mr"];function serviceDictionaryRequest(b,a,c){b=buildUri(b,a,c);return new RequestData(HttpMethod.GET,b)}
function serviceDictionaryResponse(b,a,c,d){var e=serviceHost(Capability.DICTIONARY,c,d);if(a=stringFindSub(a,"\x3c!--a--\x3e",!1,"\x3c!--z--\x3e",!1))a=removeElements(a,["style","g-section-with-header"]),a=removeAttributes(a,["id","name"]),a=removeTags(a,["h[3-6]"]),a=updateHtmlLinks(a,e),a="<div><style>.g{margin-bottom:26px;margin-top:0}.action-menu,h1,h2{display:none}</style>"+a+"</div>";b=buildUri(b,c,d);return new ResponseData(a,c,d,e+b)}
function buildUri(b,a,c){return format("/search?q={0}&ie=UTF-8&hl={1}",encodeGetParam(b),codeFromLanguage(c))};
