mirror of
https://github.com/danog/telegram-tt.git
synced 2024-11-30 04:39:00 +01:00
1 line
2.5 KiB
Plaintext
1 line
2.5 KiB
Plaintext
{"version":3,"file":"9125.221d966328061801dce3.js","mappings":"sFAmEAA,EAAOC,QA3DP,SAAoBC,GAElB,MAAMC,EAAM,aAMNC,EAAM,+BAkBZ,MAAO,CACLC,KAAM,cACNC,mBAAmB,EACnBC,kBAAkB,EAClBC,QAAS,KACTC,SAAU,CACRP,EAAKQ,QAAQ,YAAa,KAG1B,CACEC,aAAa,EACbC,SAAU,CACR,CAAEC,MAAOT,EAjCGD,4BAkCZ,CAAEU,MAAOT,EApCL,eAsCNK,SAAU,CACR,CACEK,UAAW,OACXD,MAAOT,EACPW,YAAY,IAGhBC,OAtCkB,CAEtBC,IALY,wCAMZC,UAAW,EACXF,OAAQ,CAENF,UAAW,SACXG,IAAK,IACLC,UAAW,EACXT,SAAU,CACR,CAAEI,MAAO,YACT,CAAEA,MAAO,eA8BX,CACEC,UAAW,OACXD,MAAOT,EAAMD,EAAM","sources":["webpack://telegram-t/./node_modules/highlight.js/lib/languages/properties.js"],"sourcesContent":["/*\nLanguage: .properties\nContributors: Valentin Aitken <valentin@nalisbg.com>, Egor Rogov <e.rogov@postgrespro.ru>\nWebsite: https://en.wikipedia.org/wiki/.properties\nCategory: config\n*/\n\n/** @type LanguageFn */\nfunction properties(hljs) {\n // whitespaces: space, tab, formfeed\n const WS0 = '[ \\\\t\\\\f]*';\n const WS1 = '[ \\\\t\\\\f]+';\n // delimiter\n const EQUAL_DELIM = WS0 + '[:=]' + WS0;\n const WS_DELIM = WS1;\n const DELIM = '(' + EQUAL_DELIM + '|' + WS_DELIM + ')';\n const KEY = '([^\\\\\\\\:= \\\\t\\\\f\\\\n]|\\\\\\\\.)+';\n\n const DELIM_AND_VALUE = {\n // skip DELIM\n end: DELIM,\n relevance: 0,\n starts: {\n // value: everything until end of line (again, taking into account backslashes)\n className: 'string',\n end: /$/,\n relevance: 0,\n contains: [\n { begin: '\\\\\\\\\\\\\\\\' },\n { begin: '\\\\\\\\\\\\n' }\n ]\n }\n };\n\n return {\n name: '.properties',\n disableAutodetect: true,\n case_insensitive: true,\n illegal: /\\S/,\n contains: [\n hljs.COMMENT('^\\\\s*[!#]', '$'),\n // key: everything until whitespace or = or : (taking into account backslashes)\n // case of a key-value pair\n {\n returnBegin: true,\n variants: [\n { begin: KEY + EQUAL_DELIM },\n { begin: KEY + WS_DELIM }\n ],\n contains: [\n {\n className: 'attr',\n begin: KEY,\n endsParent: true\n }\n ],\n starts: DELIM_AND_VALUE\n },\n // case of an empty key\n {\n className: 'attr',\n begin: KEY + WS0 + '$'\n }\n ]\n };\n}\n\nmodule.exports = properties;\n"],"names":["module","exports","hljs","WS0","KEY","name","disableAutodetect","case_insensitive","illegal","contains","COMMENT","returnBegin","variants","begin","className","endsParent","starts","end","relevance"],"sourceRoot":""} |