mirror of
https://github.com/danog/telegram-tt.git
synced 2024-12-15 10:47:04 +01:00
1 line
2.5 KiB
Plaintext
1 line
2.5 KiB
Plaintext
{"version":3,"file":"5434.249f262bbc62d09db4f0.js","mappings":"sFA4EAA,EAAOC,QApEP,SAAgBC,GACd,MAAMC,EAAQ,CACZ,OACA,OACA,MACA,MACA,MACA,SACA,SACA,UAkBF,MAAO,CACLC,KAAM,SACNC,SAAU,CACRC,QAnBa,CACf,YACA,QACA,UACA,SACA,OACA,UACA,YACA,OACA,SACA,MACA,OACA,MACA,WACA,YAMEC,KAAMJ,EACNK,QAAS,cAEXC,SAAU,CACRP,EAAKQ,kBACLR,EAAKS,YACLT,EAAKU,oBACLV,EAAKW,qBACL,CACEC,UAAW,QACXC,cAAe,gCACfC,IAAK,KACLC,QAAS,KACTR,SAAU,CACRP,EAAKgB,QAAQhB,EAAKiB,WAAY,CAE5BC,OAAQ,CACNC,gBAAgB,EAChBC,YAAY,OAIpB,CACEC,MAAO,yBACPlB,SAAU,CAAEE,KAAM,IACbJ,EACH,MACA,OACA,QAEFa,IAAK,IACLP,SAAU,CAAE","sources":["webpack://telegram-t/./node_modules/highlight.js/lib/languages/thrift.js"],"sourcesContent":["/*\nLanguage: Thrift\nAuthor: Oleg Efimov <efimovov@gmail.com>\nDescription: Thrift message definition format\nWebsite: https://thrift.apache.org\nCategory: protocols\n*/\n\nfunction thrift(hljs) {\n const TYPES = [\n \"bool\",\n \"byte\",\n \"i16\",\n \"i32\",\n \"i64\",\n \"double\",\n \"string\",\n \"binary\"\n ];\n const KEYWORDS = [\n \"namespace\",\n \"const\",\n \"typedef\",\n \"struct\",\n \"enum\",\n \"service\",\n \"exception\",\n \"void\",\n \"oneway\",\n \"set\",\n \"list\",\n \"map\",\n \"required\",\n \"optional\"\n ];\n return {\n name: 'Thrift',\n keywords: {\n keyword: KEYWORDS,\n type: TYPES,\n literal: 'true false'\n },\n contains: [\n hljs.QUOTE_STRING_MODE,\n hljs.NUMBER_MODE,\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n {\n className: 'class',\n beginKeywords: 'struct enum service exception',\n end: /\\{/,\n illegal: /\\n/,\n contains: [\n hljs.inherit(hljs.TITLE_MODE, {\n // hack: eating everything after the first title\n starts: {\n endsWithParent: true,\n excludeEnd: true\n } })\n ]\n },\n {\n begin: '\\\\b(set|list|map)\\\\s*<',\n keywords: { type: [\n ...TYPES,\n \"set\",\n \"list\",\n \"map\"\n ] },\n end: '>',\n contains: [ 'self' ]\n }\n ]\n };\n}\n\nmodule.exports = thrift;\n"],"names":["module","exports","hljs","TYPES","name","keywords","keyword","type","literal","contains","QUOTE_STRING_MODE","NUMBER_MODE","C_LINE_COMMENT_MODE","C_BLOCK_COMMENT_MODE","className","beginKeywords","end","illegal","inherit","TITLE_MODE","starts","endsWithParent","excludeEnd","begin"],"sourceRoot":""} |