mirror of
https://github.com/danog/telegram-tt.git
synced 2024-11-26 20:34:44 +01:00
1 line
4.1 KiB
Plaintext
1 line
4.1 KiB
Plaintext
{"version":3,"file":"6401.65204bd5a1f1d34e1fdc.js","mappings":"sFAqKAA,EAAOC,QA7JP,SAAaC,GACX,MAAMC,EAAUD,EAAKC,QACnB,cAAe,IACf,CAAEC,UAAW,KAsHf,MAAO,CACLC,KAAM,mBACNC,QAAS,CACP,MACA,OAEFC,kBAAkB,EAClBC,QAAS,OACTC,SAAU,CACRC,QAxHa,CACf,KACA,OACA,OACA,MACA,KACA,KACA,OACA,OACA,MACA,QACA,aACA,UACA,MACA,MACA,MACA,MACA,MACA,OAuGEC,SArGc,CAChB,MACA,MACA,OACA,OACA,OACA,MACA,OACA,OACA,OACA,OACA,MACA,QACA,KACA,MACA,OACA,WACA,WACA,MACA,QACA,OACA,SACA,QACA,KACA,SACA,QACA,QACA,KACA,OACA,QACA,SACA,UACA,MACA,MACA,QACA,OACA,UACA,UACA,OACA,MACA,WACA,WACA,SACA,QACA,KACA,OACA,UACA,SACA,QACA,WACA,OACA,OACA,QACA,KACA,QACA,OACA,OACA,OACA,OACA,QACA,QACA,OACA,QACA,QACA,KACA,UACA,MACA,SACA,UACA,UACA,QACA,QACA,OACA,QACA,QACA,OACA,QACA,OACA,OACA,MACA,SACA,MAEA,OACA,MACA,WACA,WACA,QACA,MACA,QAcAC,SAAU,CACR,CACEC,UAAW,WACXC,MAAO,4BAET,CACED,UAAW,WACXC,MArIG,mDAsIHC,IAAK,WACLH,SAAU,CACRV,EAAKc,QAAQd,EAAKe,WAAY,CAAEH,MAAO,sDACvCX,IAGJ,CACEU,UAAW,SACXC,MAAO,UACPV,UAAW,GAEbD","sources":["webpack://telegram-t/./node_modules/highlight.js/lib/languages/dos.js"],"sourcesContent":["/*\nLanguage: Batch file (DOS)\nAuthor: Alexander Makarov <sam@rmcreative.ru>\nContributors: Anton Kochkov <anton.kochkov@gmail.com>\nWebsite: https://en.wikipedia.org/wiki/Batch_file\n*/\n\n/** @type LanguageFn */\nfunction dos(hljs) {\n const COMMENT = hljs.COMMENT(\n /^\\s*@?rem\\b/, /$/,\n { relevance: 10 }\n );\n const LABEL = {\n className: 'symbol',\n begin: '^\\\\s*[A-Za-z._?][A-Za-z0-9_$#@~.?]*(:|\\\\s+label)',\n relevance: 0\n };\n const KEYWORDS = [\n \"if\",\n \"else\",\n \"goto\",\n \"for\",\n \"in\",\n \"do\",\n \"call\",\n \"exit\",\n \"not\",\n \"exist\",\n \"errorlevel\",\n \"defined\",\n \"equ\",\n \"neq\",\n \"lss\",\n \"leq\",\n \"gtr\",\n \"geq\"\n ];\n const BUILT_INS = [\n \"prn\",\n \"nul\",\n \"lpt3\",\n \"lpt2\",\n \"lpt1\",\n \"con\",\n \"com4\",\n \"com3\",\n \"com2\",\n \"com1\",\n \"aux\",\n \"shift\",\n \"cd\",\n \"dir\",\n \"echo\",\n \"setlocal\",\n \"endlocal\",\n \"set\",\n \"pause\",\n \"copy\",\n \"append\",\n \"assoc\",\n \"at\",\n \"attrib\",\n \"break\",\n \"cacls\",\n \"cd\",\n \"chcp\",\n \"chdir\",\n \"chkdsk\",\n \"chkntfs\",\n \"cls\",\n \"cmd\",\n \"color\",\n \"comp\",\n \"compact\",\n \"convert\",\n \"date\",\n \"dir\",\n \"diskcomp\",\n \"diskcopy\",\n \"doskey\",\n \"erase\",\n \"fs\",\n \"find\",\n \"findstr\",\n \"format\",\n \"ftype\",\n \"graftabl\",\n \"help\",\n \"keyb\",\n \"label\",\n \"md\",\n \"mkdir\",\n \"mode\",\n \"more\",\n \"move\",\n \"path\",\n \"pause\",\n \"print\",\n \"popd\",\n \"pushd\",\n \"promt\",\n \"rd\",\n \"recover\",\n \"rem\",\n \"rename\",\n \"replace\",\n \"restore\",\n \"rmdir\",\n \"shift\",\n \"sort\",\n \"start\",\n \"subst\",\n \"time\",\n \"title\",\n \"tree\",\n \"type\",\n \"ver\",\n \"verify\",\n \"vol\",\n // winutils\n \"ping\",\n \"net\",\n \"ipconfig\",\n \"taskkill\",\n \"xcopy\",\n \"ren\",\n \"del\"\n ];\n return {\n name: 'Batch file (DOS)',\n aliases: [\n 'bat',\n 'cmd'\n ],\n case_insensitive: true,\n illegal: /\\/\\*/,\n keywords: {\n keyword: KEYWORDS,\n built_in: BUILT_INS\n },\n contains: [\n {\n className: 'variable',\n begin: /%%[^ ]|%[^ ]+?%|![^ ]+?!/\n },\n {\n className: 'function',\n begin: LABEL.begin,\n end: 'goto:eof',\n contains: [\n hljs.inherit(hljs.TITLE_MODE, { begin: '([_a-zA-Z]\\\\w*\\\\.)*([_a-zA-Z]\\\\w*:)?[_a-zA-Z]\\\\w*' }),\n COMMENT\n ]\n },\n {\n className: 'number',\n begin: '\\\\b\\\\d+',\n relevance: 0\n },\n COMMENT\n ]\n };\n}\n\nmodule.exports = dos;\n"],"names":["module","exports","hljs","COMMENT","relevance","name","aliases","case_insensitive","illegal","keywords","keyword","built_in","contains","className","begin","end","inherit","TITLE_MODE"],"sourceRoot":""} |