mirror of
https://github.com/danog/telegram-tt.git
synced 2024-12-11 16:49:44 +01:00
1 line
5.7 KiB
Plaintext
1 line
5.7 KiB
Plaintext
|
{"version":3,"file":"1402.35efd1623401c0a6ada2.js","mappings":"sFAkLAA,EAAOC,QA1KP,SAAeC,GACb,MAAMC,EAAQD,EAAKC,MAObC,EAAQ,CACZC,UAAW,QACXC,SAAU,CACR,CAAEC,MAAO,oBACT,CACEA,MAAO,OACPC,IAAK,QAKLC,EAAS,CACbJ,UAAW,SACXC,SAAU,CACR,CACEC,MAAO,MACPC,IAAK,OAEP,CACED,MAAO,IACPC,IAAK,IACLE,QAAS,MACTC,SAAU,CAAET,EAAKU,mBAEnB,CACEL,MAAO,UACPC,IAAK,IACLE,QAAS,MACTC,SAAU,CACRT,EAAKU,iBACLR,IAGJ,CACEC,UAAW,SACXE,MAAO,YACPC,IAAK,MACLG,SAAU,CAAEP,GACZS,UAAW,MAMXC,EAAO,CACXT,UAAW,OACXE,MAAO,wBACPM,UAAW,GAGPE,EAAO,CACXV,UAAW,QACXE,MAAO,iFACPM,UAAW,GAGPG,EAAQ,CACZX,UAAW,QACXY,cAAe,0BACfT,IAAK,aACLU,YAAY,EACZP,SAAU,CACRT,EAAKiB,oBACLjB,EAAKkB,qBACL,CACEH,cAAe,eACfJ,UAAW,IAEb,CACEN,MAAO,KACPC,IAAK,KACLa,cAAc,EACdH,YAAY,EACZL,UAAW,EACXF,SAAU,CAAEG,IAEd,CACET,UAAW,SACXE,MAAO,KACPC,IAAK,KACLa,cAAc,EACdH,YAAY,EACZL,UAAW,EACXF,SAAU,CAAEG,IAEdC,IAIEO,EAAS,CACbjB,UAAW,WACXY,cAAe,MACfT,IAAKL,EAAMoB,UAAU,eACrBZ,SAAU,CAAEI,IA8Cd,MAAO,CACLS,KAAM,QACNC,SAAU,CACRC,QAAS,kBACTC,QAAS,mRAEXhB,SAAU,CACRT,EAAKiB,oBACLjB,EAAKkB,qBACLX,EACAK,EACAQ,EACAN,EACAd,EAAK0B,cAxDS,CAChBrB,MAAO,CACL,OACA,YACA,eAEFsB,WAAY,CAAE,EAAG,YAGP,CACV,CACEtB,MAAO,CACL,OACA,MACA,MACA,kBAEFsB,WAAY,CACV,EAAG,UACH,EAAG,aAQP,CAAEC,MAAO,cACT,CACEvB,MAAO,iBACPkB,SAAU,UAIa,CACzBlB,MAAO,CACL,QACA,QACA,aAEFsB,WAAY,CAAE,EAAG,YA9IA,CACjBxB,UAAW,OACXE,MAAO","sources":["webpack://telegram-t/./node_modules/highlight.js/lib/languages/scala.js"],"sourcesContent":["/*\nLanguage: Scala\nCategory: functional\nAuthor: Jan Berkel <jan.berkel@gmail.com>\nContributors: Erik Osheim <d_m@plastic-idolatry.com>\nWebsite: https://www.scala-lang.org\n*/\n\nfunction scala(hljs) {\n const regex = hljs.regex;\n const ANNOTATION = {\n className: 'meta',\n begin: '@[A-Za-z]+'\n };\n\n // used in strings for escaping/interpolation/substitution\n const SUBST = {\n className: 'subst',\n variants: [\n { begin: '\\\\$[A-Za-z0-9_]+' },\n {\n begin: /\\$\\{/,\n end: /\\}/\n }\n ]\n };\n\n const STRING = {\n className: 'string',\n variants: [\n {\n begin: '\"\"\"',\n end: '\"\"\"'\n },\n {\n begin: '\"',\n end: '\"',\n illegal: '\\\\n',\n contains: [ hljs.BACKSLASH_ESCAPE ]\n },\n {\n begin: '[a-z]+\"',\n end: '\"',\n illegal: '\\\\n',\n contains: [\n hljs.BACKSLASH_ESCAPE,\n SUBST\n ]\n },\n {\n className: 'string',\n begin: '[a-z]+\"\"\"',\n end: '\"\"\"',\n contains: [ SUBST ],\n relevance: 10\n }\n ]\n\n };\n\n const TYPE = {\n className: 'type',\n begin: '\\\\b[A-Z][A-Za-z0-9_]*',\n relevance: 0\n };\n\n const NAME = {\n className: 'title',\n begin: /[^0-9\\n\\t \"'(),.`{}\\[\\]:;][^\\n\\t \"'(),.`{}\\[\\]:;]+|[^0-9\\n\\t \"'(),.`{}\\[\\]:;=]/,\n relevance: 0\n };\n\n const CLASS = {\n className: 'class',\n beginKeywords: 'class object trait type',\n end: /[:={\\[\\n;]/,\n excludeEnd: true,\n contains: [\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n {\n beginKeywords: 'extends with',\n relevance: 10\n },\n {\n begin: /\\[/,\n end: /\\]/,\n excludeBegin: true,\n excludeEnd: true,\n relevance: 0,\n contains: [ TYPE ]\n },\n {\n className: 'params',\n begin: /\\(/,\n end: /\\)/,\n excludeBegin: true,\n excludeEnd: true,\n relevance: 0,\n contains: [ TYPE ]\n },\n NAME\n ]\n };\n\n const METHOD = {\n className: 'function',\n beginKeywords: 'def',\n end: regex.lookahead(/[:={\\[(\\n;]/),\n contains: [ NAME ]\n };\n\n const EXTENSION = {\n begin: [\n /^\\s*/, // Is first token on the line\n 'extension',\n /\\s+(?=[[(])/, // followed by at least one space and `[` or `(`\n ],\n beginScope: { 2: \"keyword\", }\n };\n\n const END = [\n {\n begin: [\n /^\\s*/, // Is first token on the line\n /end/,\n /\\s+/,\n /(extension\\b)?
|