mirror of
https://github.com/danog/telegram-tt.git
synced 2024-12-15 10:47:04 +01:00
1 line
2.3 KiB
Plaintext
1 line
2.3 KiB
Plaintext
{"version":3,"file":"4037.af37477886b6cfd1194e.js","mappings":"qFAkFAA,EAAOC,QA1EP,SAAoBC,GA0DlB,MAAO,CACLC,KAAM,cACNC,QAAS,CAAE,MACXC,SAAU,CACRH,EAAKI,QAAQJ,EAAKK,kBAAmB,CACnCC,MAAO,YACPC,cAAc,IAzBF,CAChBC,SAAU,CACR,CAAEC,MAAO,CACP,OACA,IACA,MACA,QAEF,CAAEA,MAAO,CACP,OACA,QAGJC,UAAW,CACT,EAAG,SACH,EAAG,WA3BQ,CACbD,MAAO,CACL,OACA,IACA,MACA,OAEFC,UAAW,CACT,EAAG,cACH,EAAG,WAnCQ,CACbD,MAAO,CACL,aACA,QACA,OACA,KAEFC,UAAW,CACT,EAAG,YACH,EAAG,gBAGiB,CACtBD,MAAO,CACL,aACA,aACA,QACA,MACA,OAEFC,UAAW,CACT,EAAG,YACH,EAAG,cACH,EAAG","sources":["webpack://telegram-t/./node_modules/highlight.js/lib/languages/nestedtext.js"],"sourcesContent":["/*\nLanguage: NestedText\nDescription: NestedText is a file format for holding data that is to be entered, edited, or viewed by people.\nWebsite: https://nestedtext.org/\nCategory: config\n*/\n\n/** @type LanguageFn */\nfunction nestedtext(hljs) {\n const NESTED = {\n match: [\n /^\\s*(?=\\S)/, // have to look forward here to avoid polynomial backtracking\n /[^:]+/,\n /:\\s*/,\n /$/\n ],\n className: {\n 2: \"attribute\",\n 3: \"punctuation\"\n }\n };\n const DICTIONARY_ITEM = {\n match: [\n /^\\s*(?=\\S)/, // have to look forward here to avoid polynomial backtracking\n /[^:]*[^: ]/,\n /[ ]*:/,\n /[ ]/,\n /.*$/\n ],\n className: {\n 2: \"attribute\",\n 3: \"punctuation\",\n 5: \"string\"\n }\n };\n const STRING = {\n match: [\n /^\\s*/,\n />/,\n /[ ]/,\n /.*$/\n ],\n className: {\n 2: \"punctuation\",\n 4: \"string\"\n }\n };\n const LIST_ITEM = {\n variants: [\n { match: [\n /^\\s*/,\n /-/,\n /[ ]/,\n /.*$/\n ] },\n { match: [\n /^\\s*/,\n /-$/\n ] }\n ],\n className: {\n 2: \"bullet\",\n 4: \"string\"\n }\n };\n\n return {\n name: 'Nested Text',\n aliases: [ 'nt' ],\n contains: [\n hljs.inherit(hljs.HASH_COMMENT_MODE, {\n begin: /^\\s*(?=#)/,\n excludeBegin: true\n }),\n LIST_ITEM,\n STRING,\n NESTED,\n DICTIONARY_ITEM\n ]\n };\n}\n\nmodule.exports = nestedtext;\n"],"names":["module","exports","hljs","name","aliases","contains","inherit","HASH_COMMENT_MODE","begin","excludeBegin","variants","match","className"],"sourceRoot":""} |