mirror of
https://github.com/danog/telegram-tt.git
synced 2024-11-30 04:39:00 +01:00
1 line
4.0 KiB
Plaintext
1 line
4.0 KiB
Plaintext
{"version":3,"file":"4276.9240959928e16f250f8f.js","mappings":"sFA8IAA,EAAOC,QAtIP,SAAaC,GACX,MAAMC,EAAU,CAAEC,SAAU,CAC1BF,EAAKC,QAAQ,KAAM,KACnBD,EAAKC,QACH,MACA,MACA,CAAEE,SAAU,CAAE,YAIZC,EAAc,CAClBC,UAAW,OACXC,MAAO,kBACPC,UAAW,GAGPC,EAAO,CACXF,MAAO,MACPG,IAAK,MACLC,QAAS,IACTP,SAAU,CACR,CACEE,UAAW,OACXC,MAAO,0CAETL,IAyCJ,MAAO,CACLU,KAAM,MACNC,SA1Be,CACf,MACA,KACA,KACA,OACA,OACA,OACA,KACA,QACA,SACA,SACA,WACA,OACA,QACA,KACA,QACA,SACA,SACA,OACA,SACA,UACA,gBAMAT,SAAU,CAIR,CACEU,cAAe,qBACfJ,IAAK,WACLG,SAAU,yDACVT,SAAU,CACRK,EACAP,GAEFS,QAAS,YAEX,CACEJ,MAAO,SACPG,IAAK,IACLG,SAAU,qBACVT,SAAU,CACRK,EACAP,GAEFS,QAAS,YAEX,CACEJ,MAAO,OACPG,IAAK,IACLG,SAAU,aACVT,SAAU,CACRC,EACAI,EAtEO,CACbF,MAAO,KACPG,IAAK,KACLN,SAAUK,EAAKL,UAqETF,IAGJ,CACEY,cAAe,sBACfJ,IAAK,IACLN,SAAU,CACRH,EAAKc,cACLb,IAGJ,CACEK,MAAO,OACPG,IAAK,IACLG,SAAU,OACVT,SAAU,CAAEF,IAjFA,CAChBI,UAAW,SACXC,MAAO,UACPG,IAAK,IACLC,QAAS,KAkFPV,EAAKe,kBACLf,EAAKc,cACLV,EACAJ,EAAKgB,QAAQhB,EAAKiB,WAAY,CAAEX,MAAO,mBACvCL,EAEA,CACEK,MAAO,UAEXI,QAAS","sources":["webpack://telegram-t/./node_modules/highlight.js/lib/languages/elm.js"],"sourcesContent":["/*\nLanguage: Elm\nAuthor: Janis Voigtlaender <janis.voigtlaender@gmail.com>\nWebsite: https://elm-lang.org\nCategory: functional\n*/\n\n/** @type LanguageFn */\nfunction elm(hljs) {\n const COMMENT = { variants: [\n hljs.COMMENT('--', '$'),\n hljs.COMMENT(\n /\\{-/,\n /-\\}/,\n { contains: [ 'self' ] }\n )\n ] };\n\n const CONSTRUCTOR = {\n className: 'type',\n begin: '\\\\b[A-Z][\\\\w\\']*', // TODO: other constructors (built-in, infix).\n relevance: 0\n };\n\n const LIST = {\n begin: '\\\\(',\n end: '\\\\)',\n illegal: '\"',\n contains: [\n {\n className: 'type',\n begin: '\\\\b[A-Z][\\\\w]*(\\\\((\\\\.\\\\.|,|\\\\w+)\\\\))?'\n },\n COMMENT\n ]\n };\n\n const RECORD = {\n begin: /\\{/,\n end: /\\}/,\n contains: LIST.contains\n };\n\n const CHARACTER = {\n className: 'string',\n begin: '\\'\\\\\\\\?.',\n end: '\\'',\n illegal: '.'\n };\n\n const KEYWORDS = [\n \"let\",\n \"in\",\n \"if\",\n \"then\",\n \"else\",\n \"case\",\n \"of\",\n \"where\",\n \"module\",\n \"import\",\n \"exposing\",\n \"type\",\n \"alias\",\n \"as\",\n \"infix\",\n \"infixl\",\n \"infixr\",\n \"port\",\n \"effect\",\n \"command\",\n \"subscription\"\n ];\n\n return {\n name: 'Elm',\n keywords: KEYWORDS,\n contains: [\n\n // Top-level constructions.\n\n {\n beginKeywords: 'port effect module',\n end: 'exposing',\n keywords: 'port effect module where command subscription exposing',\n contains: [\n LIST,\n COMMENT\n ],\n illegal: '\\\\W\\\\.|;'\n },\n {\n begin: 'import',\n end: '$',\n keywords: 'import as exposing',\n contains: [\n LIST,\n COMMENT\n ],\n illegal: '\\\\W\\\\.|;'\n },\n {\n begin: 'type',\n end: '$',\n keywords: 'type alias',\n contains: [\n CONSTRUCTOR,\n LIST,\n RECORD,\n COMMENT\n ]\n },\n {\n beginKeywords: 'infix infixl infixr',\n end: '$',\n contains: [\n hljs.C_NUMBER_MODE,\n COMMENT\n ]\n },\n {\n begin: 'port',\n end: '$',\n keywords: 'port',\n contains: [ COMMENT ]\n },\n\n // Literals and names.\n CHARACTER,\n hljs.QUOTE_STRING_MODE,\n hljs.C_NUMBER_MODE,\n CONSTRUCTOR,\n hljs.inherit(hljs.TITLE_MODE, { begin: '^[_a-z][\\\\w\\']*' }),\n COMMENT,\n\n { // No markup, relevance booster\n begin: '->|<-' }\n ],\n illegal: /;/\n };\n}\n\nmodule.exports = elm;\n"],"names":["module","exports","hljs","COMMENT","variants","contains","CONSTRUCTOR","className","begin","relevance","LIST","end","illegal","name","keywords","beginKeywords","C_NUMBER_MODE","QUOTE_STRING_MODE","inherit","TITLE_MODE"],"sourceRoot":""} |