mirror of
https://github.com/danog/telegram-tt.git
synced 2024-12-15 10:47:04 +01:00
1 line
4.9 KiB
Plaintext
1 line
4.9 KiB
Plaintext
{"version":3,"file":"4723.38c6e4a29e0fdfa7afa8.js","mappings":"qFAsLAA,EAAOC,QA/KP,SAAgBC,GACd,MAAMC,EAAS,CACbC,UAAW,SACXC,UAAW,EACXC,SAAU,CACR,CAAEC,MAAO,mBACTL,EAAKM,cAGHC,EAAkB,CACtBH,SAAU,CACR,CAAEI,MAAO,CACP,oBACA,MACAR,EAAKS,uBAGTC,MAAO,CACL,EAAG,UACH,EAAG,mBAGDC,EAAmB,CACvBP,SAAU,CACR,CAAEI,MAAO,CACP,uCACA,MACAR,EAAKS,uBAGTC,MAAO,CACL,EAAG,UACH,EAAG,gBAiGP,MAAO,CACLE,KAAM,SACNC,kBAAkB,EAClBC,SAAU,CACRC,QArDa,CACf,SACA,UACA,WACA,WACA,OACA,SACA,MACA,MACA,QACA,SACA,MACA,WACA,QACA,SACA,OACA,UACA,QACA,QACA,SACA,QACA,MACA,KACA,OACA,OACA,SACA,QACA,QACA,OACA,SACA,QACA,UACA,MACA,KACA,OACA,OACA,SACA,SACA,SACA,QACA,SAEA,MACA,KACA,MACA,MACA,OAQEC,SAnGc,CAChB,WACA,YACA,QACA,QACA,OACA,QACA,OACA,QACA,OACA,QACA,SACA,QACA,MACA,MACA,OACA,QACA,QACA,MACA,OACA,MACA,QACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,OACA,OACA,MACA,OACA,OACA,KACA,SACA,SA8DEC,QA5Da,CACf,OACA,QACA,SA2DAC,QAAS,OACTC,SAAU,CACRnB,EAAKoB,QAAQ,OAAQ,QACrBpB,EAAKoB,QACH,IACA,IACA,CAAEjB,UAAW,IAEfI,EACAI,EACA,CACET,UAAW,oBACXG,MAAO,oBAET,CACEH,UAAW,OACXG,MAAO,OACPgB,IAAK,IACLP,SAAU,CAAEC,QAAS,kCAEvB,CACEP,MAAO,CACL,OACA,YAEFE,MAAO,CAAE,EAAG,SAEd,CACEY,cAAe,QACfD,IAAK,IACLF,SAAU,CAAEnB,EAAKuB,wBAEnBvB,EAAKwB,kBACLvB","sources":["webpack://telegram-t/./node_modules/highlight.js/lib/languages/monkey.js"],"sourcesContent":["/*\nLanguage: Monkey\nDescription: Monkey2 is an easy to use, cross platform, games oriented programming language from Blitz Research.\nAuthor: Arthur Bikmullin <devolonter@gmail.com>\nWebsite: https://blitzresearch.itch.io/monkey2\n*/\n\nfunction monkey(hljs) {\n const NUMBER = {\n className: 'number',\n relevance: 0,\n variants: [\n { begin: '[$][a-fA-F0-9]+' },\n hljs.NUMBER_MODE\n ]\n };\n const FUNC_DEFINITION = {\n variants: [\n { match: [\n /(function|method)/,\n /\\s+/,\n hljs.UNDERSCORE_IDENT_RE,\n ] },\n ],\n scope: {\n 1: \"keyword\",\n 3: \"title.function\"\n }\n };\n const CLASS_DEFINITION = {\n variants: [\n { match: [\n /(class|interface|extends|implements)/,\n /\\s+/,\n hljs.UNDERSCORE_IDENT_RE,\n ] },\n ],\n scope: {\n 1: \"keyword\",\n 3: \"title.class\"\n }\n };\n const BUILT_INS = [\n \"DebugLog\",\n \"DebugStop\",\n \"Error\",\n \"Print\",\n \"ACos\",\n \"ACosr\",\n \"ASin\",\n \"ASinr\",\n \"ATan\",\n \"ATan2\",\n \"ATan2r\",\n \"ATanr\",\n \"Abs\",\n \"Abs\",\n \"Ceil\",\n \"Clamp\",\n \"Clamp\",\n \"Cos\",\n \"Cosr\",\n \"Exp\",\n \"Floor\",\n \"Log\",\n \"Max\",\n \"Max\",\n \"Min\",\n \"Min\",\n \"Pow\",\n \"Sgn\",\n \"Sgn\",\n \"Sin\",\n \"Sinr\",\n \"Sqrt\",\n \"Tan\",\n \"Tanr\",\n \"Seed\",\n \"PI\",\n \"HALFPI\",\n \"TWOPI\"\n ];\n const LITERALS = [\n \"true\",\n \"false\",\n \"null\"\n ];\n const KEYWORDS = [\n \"public\",\n \"private\",\n \"property\",\n \"continue\",\n \"exit\",\n \"extern\",\n \"new\",\n \"try\",\n \"catch\",\n \"eachin\",\n \"not\",\n \"abstract\",\n \"final\",\n \"select\",\n \"case\",\n \"default\",\n \"const\",\n \"local\",\n \"global\",\n \"field\",\n \"end\",\n \"if\",\n \"then\",\n \"else\",\n \"elseif\",\n \"endif\",\n \"while\",\n \"wend\",\n \"repeat\",\n \"until\",\n \"forever\",\n \"for\",\n \"to\",\n \"step\",\n \"next\",\n \"return\",\n \"module\",\n \"inline\",\n \"throw\",\n \"import\",\n // not positive, but these are not literals\n \"and\",\n \"or\",\n \"shl\",\n \"shr\",\n \"mod\"\n ];\n\n return {\n name: 'Monkey',\n case_insensitive: true,\n keywords: {\n keyword: KEYWORDS,\n built_in: BUILT_INS,\n literal: LITERALS\n },\n illegal: /\\/\\*/,\n contains: [\n hljs.COMMENT('#rem', '#end'),\n hljs.COMMENT(\n \"'\",\n '$',\n { relevance: 0 }\n ),\n FUNC_DEFINITION,\n CLASS_DEFINITION,\n {\n className: 'variable.language',\n begin: /\\b(self|super)\\b/\n },\n {\n className: 'meta',\n begin: /\\s*#/,\n end: '$',\n keywords: { keyword: 'if else elseif endif end then' }\n },\n {\n match: [\n /^\\s*/,\n /strict\\b/\n ],\n scope: { 2: \"meta\" }\n },\n {\n beginKeywords: 'alias',\n end: '=',\n contains: [ hljs.UNDERSCORE_TITLE_MODE ]\n },\n hljs.QUOTE_STRING_MODE,\n NUMBER\n ]\n };\n}\n\nmodule.exports = monkey;\n"],"names":["module","exports","hljs","NUMBER","className","relevance","variants","begin","NUMBER_MODE","FUNC_DEFINITION","match","UNDERSCORE_IDENT_RE","scope","CLASS_DEFINITION","name","case_insensitive","keywords","keyword","built_in","literal","illegal","contains","COMMENT","end","beginKeywords","UNDERSCORE_TITLE_MODE","QUOTE_STRING_MODE"],"sourceRoot":""} |