mirror of
https://github.com/danog/telegram-tt.git
synced 2024-11-26 20:34:44 +01:00
1 line
6.9 KiB
Plaintext
1 line
6.9 KiB
Plaintext
{"version":3,"file":"6688.a5a6ef9c1044e440d8aa.js","mappings":"sFAkQAA,EAAOC,QAxPP,SAAcC,GACZ,MAAMC,EAAQ,CACZC,UAAW,QACXC,SAAU,CAAE,CAAEC,MAAO,sBAGjBC,EAAe,CACnBH,UAAW,QACXC,SAAU,CACR,CACEC,MAAO,OACPE,IAAK,OAGTC,SAAU,qCAGNC,EAAS,CACbN,UAAW,SACXC,SAAU,CACR,CACEC,MAAO,OACPE,IAAK,OAEP,CACEF,MAAO,OACPE,IAAK,OAEP,CACEF,MAAO,KACPE,IAAK,IACLG,QAAS,OAEX,CACEL,MAAO,KACPE,IAAK,IACLG,QAAS,OAEX,CACEL,MAAO,MACPE,IAAK,MACLI,SAAU,CACRV,EAAKW,iBACLV,EACAI,IAGJ,CACED,MAAO,MACPE,IAAK,MACLI,SAAU,CACRV,EAAKW,iBACLV,EACAI,IAGJ,CACED,MAAO,IACPE,IAAK,IACLG,QAAS,MACTC,SAAU,CACRV,EAAKW,iBACLV,EACAI,IAGJ,CACED,MAAO,IACPE,IAAK,IACLG,QAAS,MACTC,SAAU,CACRV,EAAKW,iBACLV,EACAI,MAKRA,EAAaK,SAAW,CACtBV,EAAKY,cACLJ,GAGF,MAAMK,EAAiB,CAErB,aACA,WACA,WACA,WACA,WACA,WACA,OACA,MACA,QACA,SACA,UACA,SACA,MACA,YACA,SACA,eACA,aACA,SACA,OACA,MACA,OACA,SACA,MACA,MAEA,UACA,eAEIC,EAA0BD,EAAeE,KAAKC,GAAM,GAAGA,OAwF7D,MAAO,CACLC,KAAM,OACNV,SAtBe,CACfW,QAnEqB,CACrB,WACA,KACA,SACA,QACA,QACA,QACA,OACA,QACA,QACA,QACA,WACA,YACA,UACA,WACA,KACA,UACA,OACA,OACA,SACA,UACA,YACA,WACA,UACA,QACA,QACA,UACA,MACA,WACA,MACA,OACA,KACA,aACA,SACA,KACA,YACA,KACA,OACA,UACA,QACA,MACA,OACA,KACA,WACA,OACA,WACA,UACA,SACA,MACA,OACA,SACA,QACA,SACA,OACA,OACA,QACA,OACA,MACA,UACA,MACA,OACA,QACA,OACA,SAKAC,SACEN,EACGO,OAAON,GACPM,OAAO,CAEN,QACA,OACA,UACA,QAEA,WACA,gBACA,mBACA,WAENC,SAAU,4BAMVX,SAAU,CACRF,EACAR,EAAKsB,QACH,eACA,OACA,CACEC,YAAa,WACbC,UAAW,IAGfxB,EAAKsB,QACH,WACA,IAAK,CAAEZ,SAAU,CACf,CACEa,YAAa,WACbnB,MAAO,IACPE,IAAK,IACLkB,UAAW,MAIjBxB,EAAKyB,oBACLzB,EAAK0B,qBACL,CACExB,UAAW,QACXyB,cAAe,kBACfrB,IAAK,KACLsB,YAAY,EACZlB,SAAU,CACR,CAAEiB,cAAe,sBACjB3B,EAAK6B,wBAGT7B,EAAKY,cACL,CACEV,UAAW,OACXE,MAAO,cAET,CAAEA,MAAO","sources":["webpack://telegram-t/./node_modules/highlight.js/lib/languages/dart.js"],"sourcesContent":["/*\nLanguage: Dart\nRequires: markdown.js\nAuthor: Maxim Dikun <dikmax@gmail.com>\nDescription: Dart a modern, object-oriented language developed by Google. For more information see https://www.dartlang.org/\nWebsite: https://dart.dev\nCategory: scripting\n*/\n\n/** @type LanguageFn */\nfunction dart(hljs) {\n const SUBST = {\n className: 'subst',\n variants: [ { begin: '\\\\$[A-Za-z0-9_]+' } ]\n };\n\n const BRACED_SUBST = {\n className: 'subst',\n variants: [\n {\n begin: /\\$\\{/,\n end: /\\}/\n }\n ],\n keywords: 'true false null this is new super'\n };\n\n const STRING = {\n className: 'string',\n variants: [\n {\n begin: 'r\\'\\'\\'',\n end: '\\'\\'\\''\n },\n {\n begin: 'r\"\"\"',\n end: '\"\"\"'\n },\n {\n begin: 'r\\'',\n end: '\\'',\n illegal: '\\\\n'\n },\n {\n begin: 'r\"',\n end: '\"',\n illegal: '\\\\n'\n },\n {\n begin: '\\'\\'\\'',\n end: '\\'\\'\\'',\n contains: [\n hljs.BACKSLASH_ESCAPE,\n SUBST,\n BRACED_SUBST\n ]\n },\n {\n begin: '\"\"\"',\n end: '\"\"\"',\n contains: [\n hljs.BACKSLASH_ESCAPE,\n SUBST,\n BRACED_SUBST\n ]\n },\n {\n begin: '\\'',\n end: '\\'',\n illegal: '\\\\n',\n contains: [\n hljs.BACKSLASH_ESCAPE,\n SUBST,\n BRACED_SUBST\n ]\n },\n {\n begin: '\"',\n end: '\"',\n illegal: '\\\\n',\n contains: [\n hljs.BACKSLASH_ESCAPE,\n SUBST,\n BRACED_SUBST\n ]\n }\n ]\n };\n BRACED_SUBST.contains = [\n hljs.C_NUMBER_MODE,\n STRING\n ];\n\n const BUILT_IN_TYPES = [\n // dart:core\n 'Comparable',\n 'DateTime',\n 'Duration',\n 'Function',\n 'Iterable',\n 'Iterator',\n 'List',\n 'Map',\n 'Match',\n 'Object',\n 'Pattern',\n 'RegExp',\n 'Set',\n 'Stopwatch',\n 'String',\n 'StringBuffer',\n 'StringSink',\n 'Symbol',\n 'Type',\n 'Uri',\n 'bool',\n 'double',\n 'int',\n 'num',\n // dart:html\n 'Element',\n 'ElementList'\n ];\n const NULLABLE_BUILT_IN_TYPES = BUILT_IN_TYPES.map((e) => `${e}?`);\n\n const BASIC_KEYWORDS = [\n \"abstract\",\n \"as\",\n \"assert\",\n \"async\",\n \"await\",\n \"break\",\n \"case\",\n \"catch\",\n \"class\",\n \"const\",\n \"continue\",\n \"covariant\",\n \"default\",\n \"deferred\",\n \"do\",\n \"dynamic\",\n \"else\",\n \"enum\",\n \"export\",\n \"extends\",\n \"extension\",\n \"external\",\n \"factory\",\n \"false\",\n \"final\",\n \"finally\",\n \"for\",\n \"Function\",\n \"get\",\n \"hide\",\n \"if\",\n \"implements\",\n \"import\",\n \"in\",\n \"inferface\",\n \"is\",\n \"late\",\n \"library\",\n \"mixin\",\n \"new\",\n \"null\",\n \"on\",\n \"operator\",\n \"part\",\n \"required\",\n \"rethrow\",\n \"return\",\n \"set\",\n \"show\",\n \"static\",\n \"super\",\n \"switch\",\n \"sync\",\n \"this\",\n \"throw\",\n \"true\",\n \"try\",\n \"typedef\",\n \"var\",\n \"void\",\n \"while\",\n \"with\",\n \"yield\"\n ];\n\n const KEYWORDS = {\n keyword: BASIC_KEYWORDS,\n built_in:\n BUILT_IN_TYPES\n .concat(NULLABLE_BUILT_IN_TYPES)\n .concat([\n // dart:core\n 'Never',\n 'Null',\n 'dynamic',\n 'print',\n // dart:html\n 'document',\n 'querySelector',\n 'querySelectorAll',\n 'window'\n ]),\n $pattern: /[A-Za-z][A-Za-z0-9_]*\\??/\n };\n\n return {\n name: 'Dart',\n keywords: KEYWORDS,\n contains: [\n STRING,\n hljs.COMMENT(\n /\\/\\*\\*(?!\\/)/,\n /\\*\\//,\n {\n subLanguage: 'markdown',\n relevance: 0\n }\n ),\n hljs.COMMENT(\n /\\/{3,} ?/,\n /$/, { contains: [\n {\n subLanguage: 'markdown',\n begin: '.',\n end: '$',\n relevance: 0\n }\n ] }\n ),\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n {\n className: 'class',\n beginKeywords: 'class interface',\n end: /\\{/,\n excludeEnd: true,\n contains: [\n { beginKeywords: 'extends implements' },\n hljs.UNDERSCORE_TITLE_MODE\n ]\n },\n hljs.C_NUMBER_MODE,\n {\n className: 'meta',\n begin: '@[A-Za-z]+'\n },\n { begin: '=>' // No markup, just a relevance booster\n }\n ]\n };\n}\n\nmodule.exports = dart;\n"],"names":["module","exports","hljs","SUBST","className","variants","begin","BRACED_SUBST","end","keywords","STRING","illegal","contains","BACKSLASH_ESCAPE","C_NUMBER_MODE","BUILT_IN_TYPES","NULLABLE_BUILT_IN_TYPES","map","e","name","keyword","built_in","concat","$pattern","COMMENT","subLanguage","relevance","C_LINE_COMMENT_MODE","C_BLOCK_COMMENT_MODE","beginKeywords","excludeEnd","UNDERSCORE_TITLE_MODE"],"sourceRoot":""} |