function serviceHeader(){return new ServiceHeader(24,"Urban Dictionary","Urban Dictionary is a crowdsourced online dictionary of slang words and phrases."+Const.NL2+serviceHost()+Const.NL2+"\u00a9 1999-2018 Urban Dictionary \u00ae",Capability.DICTIONARY)}function serviceHost(b,a,c){return"https://www.urbandictionary.com"}function serviceLink(b,a,c){return serviceHost()+"/define.php?term="+encodeGetParam(b)}
SupportedLanguages=[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,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="/define.php?term="+encodeGetParam(b);return new RequestData(HttpMethod.GET,b)}
function serviceDictionaryResponse(b,a,c,d){var e=serviceHost(Capability.DICTIONARY,c,d);if(a=stringFindSub(a,/<div id=['"]content['"]>/,!1,/<div class=['"]large-4/,!1))a=removeElements(a,["script","svg","iframe","button"]),a=removeAttributes(a,["style"]),a=updateHtmlLinks(a,e),a="<div><style>.hide,.mug-ad,.ribbon,.def-store,.def-footer,.word-list-panel,.definition-count-panel,#image-set-carousel{display:none}ul.pagination li{display:inline;padding:3px}.def-panel{margin-bottom:1.25em;word-wrap:break-word}.example{font-style:italic}.category{border:dotted 1px;padding:2px;margin-left:8px}.def-panel .def-header .word{font-weight:bold;text-decoration:none}</style><div>"+
a;b=format("{0}/{1}",e,encodeGetParam(b));return new ResponseData(a,c,d,b)};
