mirror of
https://github.com/danog/telegram-tt.git
synced 2024-12-11 08:39:59 +01:00
1 line
2.7 KiB
Plaintext
1 line
2.7 KiB
Plaintext
{"version":3,"file":"8294.12b38bd567e102c27c8e.js","mappings":"sFA+FAA,EAAOC,QAxFP,SAAgBC,GACd,MAgBMC,EAAW,CAEfC,MAAO,KACPC,IAAK,KACLC,UAAW,GAGPC,EAAO,CAEXH,MAAO,KACPC,IAAK,MAGDG,EAAe,CAEnBC,UAAW,UACXL,MAAO,IACPC,IAAK,IACLK,SAAU,CAAER,EAAKS,qBAGbC,EAAkB,CAEtBH,UAAW,SACXL,MAAO,IACPC,IAAK,IACLK,SAAU,CAAER,EAAKW,mBAgBbC,EAAQ,CA1DD,CAEXV,MAAO,qBACPE,UAAW,GAGD,CAEVG,UAAW,SACXM,SAAU,CACR,CAAEX,MAAO,sBACT,CAAEA,MAAO,mBAEXE,UAAW,GAiDXH,EAPc,CACdC,MAAO,MAQPG,EACAC,EACAN,EAAKc,qBACLd,EAAKe,kBACLf,EAAKgB,iBACLN,EAxBgB,CAChBH,UAAW,SACXL,MAAO,aAGU,CACjBK,UAAW,SACXL,MAAO,SAoBPF,EAAKiB,eAMP,OAHAhB,EAASO,SAAWI,EACpBP,EAAKG,SAAWI,EAET,CACLM,KAAM,SACNV,SAAUI,EAAMO,OAAO,CACrB,CACEjB,MAAO","sources":["webpack://telegram-t/./node_modules/highlight.js/lib/languages/prolog.js"],"sourcesContent":["/*\nLanguage: Prolog\nDescription: Prolog is a general purpose logic programming language associated with artificial intelligence and computational linguistics.\nAuthor: Raivo Laanemets <raivo@infdot.com>\nWebsite: https://en.wikipedia.org/wiki/Prolog\n*/\n\nfunction prolog(hljs) {\n const ATOM = {\n\n begin: /[a-z][A-Za-z0-9_]*/,\n relevance: 0\n };\n\n const VAR = {\n\n className: 'symbol',\n variants: [\n { begin: /[A-Z][a-zA-Z0-9_]*/ },\n { begin: /_[A-Za-z0-9_]*/ }\n ],\n relevance: 0\n };\n\n const PARENTED = {\n\n begin: /\\(/,\n end: /\\)/,\n relevance: 0\n };\n\n const LIST = {\n\n begin: /\\[/,\n end: /\\]/\n };\n\n const LINE_COMMENT = {\n\n className: 'comment',\n begin: /%/,\n end: /$/,\n contains: [ hljs.PHRASAL_WORDS_MODE ]\n };\n\n const BACKTICK_STRING = {\n\n className: 'string',\n begin: /`/,\n end: /`/,\n contains: [ hljs.BACKSLASH_ESCAPE ]\n };\n\n const CHAR_CODE = {\n className: 'string', // 0'a etc.\n begin: /0'(\\\\'|.)/\n };\n\n const SPACE_CODE = {\n className: 'string',\n begin: /0'\\\\s/ // 0'\\s\n };\n\n const PRED_OP = { // relevance booster\n begin: /:-/ };\n\n const inner = [\n\n ATOM,\n VAR,\n PARENTED,\n PRED_OP,\n LIST,\n LINE_COMMENT,\n hljs.C_BLOCK_COMMENT_MODE,\n hljs.QUOTE_STRING_MODE,\n hljs.APOS_STRING_MODE,\n BACKTICK_STRING,\n CHAR_CODE,\n SPACE_CODE,\n hljs.C_NUMBER_MODE\n ];\n\n PARENTED.contains = inner;\n LIST.contains = inner;\n\n return {\n name: 'Prolog',\n contains: inner.concat([\n { // relevance booster\n begin: /\\.$/ }\n ])\n };\n}\n\nmodule.exports = prolog;\n"],"names":["module","exports","hljs","PARENTED","begin","end","relevance","LIST","LINE_COMMENT","className","contains","PHRASAL_WORDS_MODE","BACKTICK_STRING","BACKSLASH_ESCAPE","inner","variants","C_BLOCK_COMMENT_MODE","QUOTE_STRING_MODE","APOS_STRING_MODE","C_NUMBER_MODE","name","concat"],"sourceRoot":""} |