mirror of
https://github.com/danog/telegram-tt.git
synced 2024-12-02 09:37:47 +01:00
1 line
8.7 KiB
Plaintext
1 line
8.7 KiB
Plaintext
{"version":3,"file":"5386.9f0180dc5c168ff288bf.js","mappings":"sFAoQAA,EAAOC,QA1PP,SAAkBC,GAChB,MAAMC,EAAQD,EAAKC,MAkBbC,EAAS,CAEb,CACEC,UAAW,SACXC,MAAO,uBAGT,CACED,UAAW,SACXC,MAAOH,EAAMI,OACX,OACA,oCACA,+BACA,QAEFC,UAAW,GAGb,CACEH,UAAW,SAEXC,MAAO,gCAGT,CACED,UAAW,SAEXC,MAAO,iCAGLG,EAAW,CAEf,CACEJ,UAAW,WACXC,MAAO,qBAGT,CACED,UAAW,WACXC,MAAOH,EAAMI,OACX,KACA,kCACA,6BACA,MAEFC,UAAW,GAGb,CACEH,UAAW,WAEXC,MAAO,8BAGT,CACED,UAAW,WAEXC,MAAO,8BAGT,CACED,UAAW,WAEXC,MAAO,iBACPI,IAAK,aAELC,SAAU,CACR,CACEL,MAAO,WACPE,UAAW,IAGfA,UAAW,IAaf,MAAO,CACLI,KAAM,WACNC,QAAS,CAAE,QACXF,SAAU,CAERT,EAAKY,QACH,YACA,YAIA,CAAEN,UAAW,KAGfN,EAAKY,QACH,MACA,IACA,CAAEN,UAAW,IAGf,CACEH,UAAW,QACXC,MAAO,cAGT,CACEA,MAAO,iBACPI,IAAK,kBACLF,UAAW,IAGb,CACEH,UAAW,UACXG,UAAW,GACXO,SAAU,CACR,CAAET,MAAO,iCACT,CAAEA,MAAO,0CAIb,CACED,UAAW,OACXC,MAAO,SACPI,IAAK,MACLM,YAAY,EACZR,UAAW,IAGb,CACEH,UAAW,OACXC,MAAO,cACPE,UAAW,GAGb,CACEH,UAAW,QACXC,MAAO,YACPI,IAAK,YACLF,UAAW,IAGb,CACEH,UAAW,OACXC,MAAO,mBACPI,IAAK,mBACLF,UAAW,IAGb,CACEF,MAAO,cACPI,IAAK,cACLC,SAAU,CACR,CACEL,MAAO,IACPI,IAAK,IACLO,YAAa,MACbT,UAAW,IAGfA,UAAW,IApFG,CAClBH,UAAW,SACXC,MAAO,kCAPU,CACjBD,UAAW,SACXC,MAAO,6CACPE,UAAW,IAzFX,CAAEF,MAAO,WAIT,CAAEA,MAAO,yBACT,CAAEA,MAAO,sBACT,CAAEA,MAAO,sBAGT,CAAEA,MAAO,0BA4KJF,KACAK,EAGH,CACEJ,UAAW,SACXU,SAAU,CACR,CAAET,MAAO,WACT,CAAEA,MAAO,WAIb,CACED,UAAW,OACXC,MAAO,OACPI,IAAK,gBAGP,CACEL,UAAW,OACXC,MAAO,oBACPE,UAAW,GAGb,CACEH,UAAW,OACXC,MAAO,UACPI,IAAK,IACLF,UAAW,GAvNO,CACtBF,MAAO,iBACPE,UAAW,IAyNT,CACEF,MAAO,8DACPY,aAAa,EACbP,SAAU,CACR,CACEL,MAAO,kBACPE,UAAW,GAEb,CACEH,UAAW,OACXC,MAAO,MACPI,IAAK,UACLF,UAAW,GAEb,CACEH,UAAW,SACXC,MAAO,MACPI,IAAK,MACLS,cAAc,EACdH,YAAY,EACZR,UAAW,IAGfA,UAAW","sources":["webpack://telegram-t/./node_modules/highlight.js/lib/languages/asciidoc.js"],"sourcesContent":["/*\nLanguage: AsciiDoc\nRequires: xml.js\nAuthor: Dan Allen <dan.j.allen@gmail.com>\nWebsite: http://asciidoc.org\nDescription: A semantic, text-based document format that can be exported to HTML, DocBook and other backends.\nCategory: markup\n*/\n\n/** @type LanguageFn */\nfunction asciidoc(hljs) {\n const regex = hljs.regex;\n const HORIZONTAL_RULE = {\n begin: '^\\'{3,}[ \\\\t]*$',\n relevance: 10\n };\n const ESCAPED_FORMATTING = [\n // escaped constrained formatting marks (i.e., \\* \\_ or \\`)\n { begin: /\\\\[*_`]/ },\n // escaped unconstrained formatting marks (i.e., \\\\** \\\\__ or \\\\``)\n // must ignore until the next formatting marks\n // this rule might not be 100% compliant with Asciidoctor 2.0 but we are entering undefined behavior territory...\n { begin: /\\\\\\\\\\*{2}[^\\n]*?\\*{2}/ },\n { begin: /\\\\\\\\_{2}[^\\n]*_{2}/ },\n { begin: /\\\\\\\\`{2}[^\\n]*`{2}/ },\n // guard: constrained formatting mark may not be preceded by \":\", \";\" or\n // \"}\". match these so the constrained rule doesn't see them\n { begin: /[:;}][*_`](?![*_`])/ }\n ];\n const STRONG = [\n // inline unconstrained strong (single line)\n {\n className: 'strong',\n begin: /\\*{2}([^\\n]+?)\\*{2}/\n },\n // inline unconstrained strong (multi-line)\n {\n className: 'strong',\n begin: regex.concat(\n /\\*\\*/,\n /((\\*(?!\\*)|\\\\[^\\n]|[^*\\n\\\\])+\\n)+/,\n /(\\*(?!\\*)|\\\\[^\\n]|[^*\\n\\\\])*/,\n /\\*\\*/\n ),\n relevance: 0\n },\n // inline constrained strong (single line)\n {\n className: 'strong',\n // must not precede or follow a word character\n begin: /\\B\\*(\\S|\\S[^\\n]*?\\S)\\*(?!\\w)/\n },\n // inline constrained strong (multi-line)\n {\n className: 'strong',\n // must not precede or follow a word character\n begin: /\\*[^\\s]([^\\n]+\\n)+([^\\n]+)\\*/\n }\n ];\n const EMPHASIS = [\n // inline unconstrained emphasis (single line)\n {\n className: 'emphasis',\n begin: /_{2}([^\\n]+?)_{2}/\n },\n // inline unconstrained emphasis (multi-line)\n {\n className: 'emphasis',\n begin: regex.concat(\n /__/,\n /((_(?!_)|\\\\[^\\n]|[^_\\n\\\\])+\\n)+/,\n /(_(?!_)|\\\\[^\\n]|[^_\\n\\\\])*/,\n /__/\n ),\n relevance: 0\n },\n // inline constrained emphasis (single line)\n {\n className: 'emphasis',\n // must not precede or follow a word character\n begin: /\\b_(\\S|\\S[^\\n]*?\\S)_(?!\\w)/\n },\n // inline constrained emphasis (multi-line)\n {\n className: 'emphasis',\n // must not precede or follow a word character\n begin: /_[^\\s]([^\\n]+\\n)+([^\\n]+)_/\n },\n // inline constrained emphasis using single quote (legacy)\n {\n className: 'emphasis',\n // must not follow a word character or be followed by a single quote or space\n begin: '\\\\B\\'(?![\\'\\\\s])',\n end: '(\\\\n{2}|\\')',\n // allow escaped single quote followed by word char\n contains: [\n {\n begin: '\\\\\\\\\\'\\\\w',\n relevance: 0\n }\n ],\n relevance: 0\n }\n ];\n const ADMONITION = {\n className: 'symbol',\n begin: '^(NOTE|TIP|IMPORTANT|WARNING|CAUTION):\\\\s+',\n relevance: 10\n };\n const BULLET_LIST = {\n className: 'bullet',\n begin: '^(\\\\*+|-+|\\\\.+|[^\\\\n]+?::)\\\\s+'\n };\n\n return {\n name: 'AsciiDoc',\n aliases: [ 'adoc' ],\n contains: [\n // block comment\n hljs.COMMENT(\n '^/{4,}\\\\n',\n '\\\\n/{4,}$',\n // can also be done as...\n // '^/{4,}$',\n // '^/{4,}$',\n { relevance: 10 }\n ),\n // line comment\n hljs.COMMENT(\n '^//',\n '$',\n { relevance: 0 }\n ),\n // title\n {\n className: 'title',\n begin: '^\\\\.\\\\w.*$'\n },\n // example, admonition & sidebar blocks\n {\n begin: '^[=\\\\*]{4,}\\\\n',\n end: '\\\\n^[=\\\\*]{4,}$',\n relevance: 10\n },\n // headings\n {\n className: 'section',\n relevance: 10,\n variants: [\n { begin: '^(={1,6})[ \\t].+?([ \\t]\\\\1)?$' },\n { begin: '^[^\\\\[\\\\]\\\\n]+?\\\\n[=\\\\-~\\\\^\\\\+]{2,}$' }\n ]\n },\n // document attributes\n {\n className: 'meta',\n begin: '^:.+?:',\n end: '\\\\s',\n excludeEnd: true,\n relevance: 10\n },\n // block attributes\n {\n className: 'meta',\n begin: '^\\\\[.+?\\\\]$',\n relevance: 0\n },\n // quoteblocks\n {\n className: 'quote',\n begin: '^_{4,}\\\\n',\n end: '\\\\n_{4,}$',\n relevance: 10\n },\n // listing and literal blocks\n {\n className: 'code',\n begin: '^[\\\\-\\\\.]{4,}\\\\n',\n end: '\\\\n[\\\\-\\\\.]{4,}$',\n relevance: 10\n },\n // passthrough blocks\n {\n begin: '^\\\\+{4,}\\\\n',\n end: '\\\\n\\\\+{4,}$',\n contains: [\n {\n begin: '<',\n end: '>',\n subLanguage: 'xml',\n relevance: 0\n }\n ],\n relevance: 10\n },\n\n BULLET_LIST,\n ADMONITION,\n ...ESCAPED_FORMATTING,\n ...STRONG,\n ...EMPHASIS,\n\n // inline smart quotes\n {\n className: 'string',\n variants: [\n { begin: \"``.+?''\" },\n { begin: \"`.+?'\" }\n ]\n },\n // inline unconstrained emphasis\n {\n className: 'code',\n begin: /`{2}/,\n end: /(\\n{2}|`{2})/\n },\n // inline code snippets (TODO should get same treatment as strong and emphasis)\n {\n className: 'code',\n begin: '(`.+?`|\\\\+.+?\\\\+)',\n relevance: 0\n },\n // indented literal block\n {\n className: 'code',\n begin: '^[ \\\\t]',\n end: '$',\n relevance: 0\n },\n HORIZONTAL_RULE,\n // images and links\n {\n begin: '(link:)?(http|https|ftp|file|irc|image:?):\\\\S+?\\\\[[^[]*?\\\\]',\n returnBegin: true,\n contains: [\n {\n begin: '(link|image:?):',\n relevance: 0\n },\n {\n className: 'link',\n begin: '\\\\w',\n end: '[^\\\\[]+',\n relevance: 0\n },\n {\n className: 'string',\n begin: '\\\\[',\n end: '\\\\]',\n excludeBegin: true,\n excludeEnd: true,\n relevance: 0\n }\n ],\n relevance: 10\n }\n ]\n };\n}\n\nmodule.exports = asciidoc;\n"],"names":["module","exports","hljs","regex","STRONG","className","begin","concat","relevance","EMPHASIS","end","contains","name","aliases","COMMENT","variants","excludeEnd","subLanguage","returnBegin","excludeBegin"],"sourceRoot":""} |