mirror of
https://github.com/danog/telegram-tt.git
synced 2024-11-30 04:39:00 +01:00
1 line
3.2 KiB
Plaintext
1 line
3.2 KiB
Plaintext
{"version":3,"file":"8815.fd39d74554c793313d5b.js","mappings":"sFA0EAA,EAAOC,QAlEP,SAAoBC,GAClB,MAAMC,EAAkB,CAAEC,MAAO,aAEjC,MAAO,CACLC,KAAM,aACNC,kBAAkB,EAClBC,QAAS,CAAE,OACXC,SAAU,CACRC,QAAS,uKACTC,QAAS,wBACTC,SAAU,6CAEZC,SAAU,CACRT,EACAD,EAAKW,QAAQX,EAAKY,kBAAmB,CAAEF,SAAU,CAAET,KACnDD,EAAKa,QAAQ,IAAK,IAAK,CAAEC,UAAW,IACpCd,EAAKe,qBACL,CACEC,UAAW,SACXd,MAAOF,EAAKiB,UACZH,UAAW,GAEb,CAIEE,UAAW,WACXd,MAAO,sBAET,CACEc,UAAW,WACXd,MAAO,sBAGT,CAIEc,UAAW,QACXE,SAAU,CACR,CAAEhB,MAAO,qBACT,CACEA,MAAO,mBAGPY,UAAW,KAIjB,CACEE,UAAW,OACXd,MAAO,aACPiB,IAAK,IACLL,UAAW,GAEb,CACEE,UAAW,WACXd,MAAO,kBAET,CAEEA,MAAO","sources":["webpack://telegram-t/./node_modules/highlight.js/lib/languages/autohotkey.js"],"sourcesContent":["/*\nLanguage: AutoHotkey\nAuthor: Seongwon Lee <dlimpid@gmail.com>\nDescription: AutoHotkey language definition\nCategory: scripting\n*/\n\n/** @type LanguageFn */\nfunction autohotkey(hljs) {\n const BACKTICK_ESCAPE = { begin: '`[\\\\s\\\\S]' };\n\n return {\n name: 'AutoHotkey',\n case_insensitive: true,\n aliases: [ 'ahk' ],\n keywords: {\n keyword: 'Break Continue Critical Exit ExitApp Gosub Goto New OnExit Pause return SetBatchLines SetTimer Suspend Thread Throw Until ahk_id ahk_class ahk_pid ahk_exe ahk_group',\n literal: 'true false NOT AND OR',\n built_in: 'ComSpec Clipboard ClipboardAll ErrorLevel'\n },\n contains: [\n BACKTICK_ESCAPE,\n hljs.inherit(hljs.QUOTE_STRING_MODE, { contains: [ BACKTICK_ESCAPE ] }),\n hljs.COMMENT(';', '$', { relevance: 0 }),\n hljs.C_BLOCK_COMMENT_MODE,\n {\n className: 'number',\n begin: hljs.NUMBER_RE,\n relevance: 0\n },\n {\n // subst would be the most accurate however fails the point of\n // highlighting. variable is comparably the most accurate that actually\n // has some effect\n className: 'variable',\n begin: '%[a-zA-Z0-9#_$@]+%'\n },\n {\n className: 'built_in',\n begin: '^\\\\s*\\\\w+\\\\s*(,|%)'\n // I don't really know if this is totally relevant\n },\n {\n // symbol would be most accurate however is highlighted just like\n // built_in and that makes up a lot of AutoHotkey code meaning that it\n // would fail to highlight anything\n className: 'title',\n variants: [\n { begin: '^[^\\\\n\";]+::(?!=)' },\n {\n begin: '^[^\\\\n\";]+:(?!=)',\n // zero relevance as it catches a lot of things\n // followed by a single ':' in many languages\n relevance: 0\n }\n ]\n },\n {\n className: 'meta',\n begin: '^\\\\s*#\\\\w+',\n end: '$',\n relevance: 0\n },\n {\n className: 'built_in',\n begin: 'A_[a-zA-Z0-9]+'\n },\n {\n // consecutive commas, not for highlighting but just for relevance\n begin: ',\\\\s*,' }\n ]\n };\n}\n\nmodule.exports = autohotkey;\n"],"names":["module","exports","hljs","BACKTICK_ESCAPE","begin","name","case_insensitive","aliases","keywords","keyword","literal","built_in","contains","inherit","QUOTE_STRING_MODE","COMMENT","relevance","C_BLOCK_COMMENT_MODE","className","NUMBER_RE","variants","end"],"sourceRoot":""} |