telegram-tt/dist/7052.d8a4a1431f93b64b9a87.js.map
Alexander Zinchuk fb588bb582 [Build]
2022-05-20 17:57:33 +02:00

1 line
2.7 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{"version":3,"file":"7052.d8a4a1431f93b64b9a87.js","mappings":"sFAkGAA,EAAOC,QAzFP,SAAmBC,GACjB,MA2CMC,EAAmB,CACvBC,SAAU,CACR,CAAEC,MAAO,CACP,0BACA,MACAH,EAAKI,WAEP,CAAED,MAAO,CACP,UACA,QACAH,EAAKI,SACL,WAGJC,MAAO,CACL,EAAG,UACH,EAAG,gBAGP,MAAO,CACLC,KAAM,cACNC,QAAS,CAAE,SACXC,SAAU,CACRC,QAlEa,CACf,SACA,OACA,YACA,QACA,QACA,SACA,QACA,QACA,aACA,UACA,KACA,KACA,KACA,KACA,OACA,OACA,SAkDEC,KAhDU,CACZ,OACA,OACA,OACA,QACA,QACA,QACA,QACA,SACA,SACA,SACA,UACA,UACA,OACA,OACA,aACA,YACA,aACA,QA+BEC,QA7Ba,CACf,OACA,UA6BAC,SAAU,CACRZ,EAAKa,kBACLb,EAAKc,YACLd,EAAKe,kBACL,CACEC,UAAW,OACXC,MAAO,iBACPC,QAAS,MAEX,CACEF,UAAW,SACXC,MAAO,UAEThB","sources":["webpack://telegram-t/./node_modules/highlight.js/lib/languages/capnproto.js"],"sourcesContent":["/*\nLanguage: Capn Proto\nAuthor: Oleg Efimov <efimovov@gmail.com>\nDescription: Capn Proto message definition format\nWebsite: https://capnproto.org/capnp-tool.html\nCategory: protocols\n*/\n\n/** @type LanguageFn */\nfunction capnproto(hljs) {\n const KEYWORDS = [\n \"struct\",\n \"enum\",\n \"interface\",\n \"union\",\n \"group\",\n \"import\",\n \"using\",\n \"const\",\n \"annotation\",\n \"extends\",\n \"in\",\n \"of\",\n \"on\",\n \"as\",\n \"with\",\n \"from\",\n \"fixed\"\n ];\n const TYPES = [\n \"Void\",\n \"Bool\",\n \"Int8\",\n \"Int16\",\n \"Int32\",\n \"Int64\",\n \"UInt8\",\n \"UInt16\",\n \"UInt32\",\n \"UInt64\",\n \"Float32\",\n \"Float64\",\n \"Text\",\n \"Data\",\n \"AnyPointer\",\n \"AnyStruct\",\n \"Capability\",\n \"List\"\n ];\n const LITERALS = [\n \"true\",\n \"false\"\n ];\n const CLASS_DEFINITION = {\n variants: [\n { match: [\n /(struct|enum|interface)/,\n /\\s+/,\n hljs.IDENT_RE\n ] },\n { match: [\n /extends/,\n /\\s*\\(/,\n hljs.IDENT_RE,\n /\\s*\\)/\n ] }\n ],\n scope: {\n 1: \"keyword\",\n 3: \"title.class\"\n }\n };\n return {\n name: 'Capn Proto',\n aliases: [ 'capnp' ],\n keywords: {\n keyword: KEYWORDS,\n type: TYPES,\n literal: LITERALS\n },\n contains: [\n hljs.QUOTE_STRING_MODE,\n hljs.NUMBER_MODE,\n hljs.HASH_COMMENT_MODE,\n {\n className: 'meta',\n begin: /@0x[\\w\\d]{16};/,\n illegal: /\\n/\n },\n {\n className: 'symbol',\n begin: /@\\d+\\b/\n },\n CLASS_DEFINITION\n ]\n };\n}\n\nmodule.exports = capnproto;\n"],"names":["module","exports","hljs","CLASS_DEFINITION","variants","match","IDENT_RE","scope","name","aliases","keywords","keyword","type","literal","contains","QUOTE_STRING_MODE","NUMBER_MODE","HASH_COMMENT_MODE","className","begin","illegal"],"sourceRoot":""}