mirror of
https://github.com/danog/telegram-tt.git
synced 2024-11-26 20:34:44 +01:00
1 line
11 KiB
Plaintext
1 line
11 KiB
Plaintext
{"version":3,"file":"3408.25202d3ff038f4194bd9.js","mappings":"sFAAA,MAAMA,EAAW,CACf,KACA,KACA,KACA,KACA,MACA,QACA,UACA,MACA,MACA,WACA,KACA,SACA,OACA,OACA,QACA,QACA,aACA,OACA,QACA,OACA,UACA,MACA,SACA,WACA,SACA,SACA,MACA,QACA,QACA,QAIA,WACA,QACA,QACA,SACA,SACA,OACA,SACA,WAEIC,EAAW,CACf,OACA,QACA,OACA,YACA,MACA,YAyFIC,EAAY,GAAGC,OAtBI,CACvB,cACA,aACA,gBACA,eAEA,UACA,UAEA,OACA,WACA,QACA,aACA,WACA,YACA,qBACA,YACA,qBACA,SACA,YAlFY,CAEZ,SACA,WACA,UACA,SAEA,OACA,OACA,SACA,SAEA,SACA,SAEA,QACA,eACA,eACA,YACA,aACA,oBACA,aACA,aACA,cACA,cACA,gBACA,iBAEA,MACA,MACA,UACA,UAEA,cACA,oBACA,UACA,WACA,OAEA,UACA,YACA,oBACA,gBAEA,UACA,QAEA,OAEA,eAGkB,CAClB,QACA,YACA,gBACA,aACA,iBACA,cACA,YACA,aAuQFC,EAAOC,QA9NP,SAAoBC,GAClB,MA4CMC,EAAa,CACjBC,QAASR,EAASG,OAhCQ,CAC1B,OACA,SACA,QACA,OACA,KACA,KACA,OACA,MACA,KACA,KACA,OACA,MACA,KACA,OACA,YACA,OACA,KACA,MACA,cACA,OACA,OACA,SACA,OACA,MACA,YACA,YACA,UACA,SACA,cAIAM,QAASR,EAASE,OA1CQ,CAC1B,MACA,KACA,KACA,MACA,KACA,OACA,SAoCAO,SAAUR,EAAUC,OA/CO,CAC3B,MACA,WA+CIQ,EAAc,8CACdC,EAAQN,EAAKO,QAAQP,EAAKQ,WAAY,CAAEC,MAAOJ,IAC/CK,EAAQ,CACZC,UAAW,QACXF,MAAO,MACPG,IAAK,KACLC,SAAUZ,GA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BrB,CACEE,UAAW,WACXS,SAAU,CACRd,EACAoB,GAEFC,aAAa,EACbR,SAAU,CACR,CACEV,MAAO,IAAMJ,EAAc,6CAC3BO,IAAK,UAEP,CACEH,MAAO,IAAMJ,EAAc,uDAC3BO,IAAK,kBAEP,CACEH,MAAO,IAAMJ,EAAc,uDAC3BO,IAAK,sBAIXgB,EACA,CACEnB,MAAOJ,EAAc,IACrBO,IAAK,IACLe,aAAa,EACbQ,WAAW,EACXlB,UAAW","sources":["webpack://telegram-t/./node_modules/highlight.js/lib/languages/livescript.js"],"sourcesContent":["const KEYWORDS = [\n \"as\", // for exports\n \"in\",\n \"of\",\n \"if\",\n \"for\",\n \"while\",\n \"finally\",\n \"var\",\n \"new\",\n \"function\",\n \"do\",\n \"return\",\n \"void\",\n \"else\",\n \"break\",\n \"catch\",\n \"instanceof\",\n \"with\",\n \"throw\",\n \"case\",\n \"default\",\n \"try\",\n \"switch\",\n \"continue\",\n \"typeof\",\n \"delete\",\n \"let\",\n \"yield\",\n \"const\",\n \"class\",\n // JS handles these with a special rule\n // \"get\",\n // \"set\",\n \"debugger\",\n \"async\",\n \"await\",\n \"static\",\n \"import\",\n \"from\",\n \"export\",\n \"extends\"\n];\nconst LITERALS = [\n \"true\",\n \"false\",\n \"null\",\n \"undefined\",\n \"NaN\",\n \"Infinity\"\n];\n\n// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects\nconst TYPES = [\n // Fundamental objects\n \"Object\",\n \"Function\",\n \"Boolean\",\n \"Symbol\",\n // numbers and dates\n \"Math\",\n \"Date\",\n \"Number\",\n \"BigInt\",\n // text\n \"String\",\n \"RegExp\",\n // Indexed collections\n \"Array\",\n \"Float32Array\",\n \"Float64Array\",\n \"Int8Array\",\n \"Uint8Array\",\n \"Uint8ClampedArray\",\n \"Int16Array\",\n \"Int32Array\",\n \"Uint16Array\",\n \"Uint32Array\",\n \"BigInt64Array\",\n \"BigUint64Array\",\n // Keyed collections\n \"Set\",\n \"Map\",\n \"WeakSet\",\n \"WeakMap\",\n // Structured data\n \"ArrayBuffer\",\n \"SharedArrayBuffer\",\n \"Atomics\",\n \"DataView\",\n \"JSON\",\n // Control abstraction objects\n \"Promise\",\n \"Generator\",\n \"GeneratorFunction\",\n \"AsyncFunction\",\n // Reflection\n \"Reflect\",\n \"Proxy\",\n // Internationalization\n \"Intl\",\n // WebAssembly\n \"WebAssembly\"\n];\n\nconst ERROR_TYPES = [\n \"Error\",\n \"EvalError\",\n \"InternalError\",\n \"RangeError\",\n \"ReferenceError\",\n \"SyntaxError\",\n \"TypeError\",\n \"URIError\"\n];\n\nconst BUILT_IN_GLOBALS = [\n \"setInterval\",\n \"setTimeout\",\n \"clearInterval\",\n \"clearTimeout\",\n\n \"require\",\n \"exports\",\n\n \"eval\",\n \"isFinite\",\n \"isNaN\",\n \"parseFloat\",\n \"parseInt\",\n \"decodeURI\",\n \"decodeURIComponent\",\n \"encodeURI\",\n \"encodeURIComponent\",\n \"escape\",\n \"unescape\"\n];\n\nconst BUILT_INS = [].concat(\n BUILT_IN_GLOBALS,\n TYPES,\n ERROR_TYPES\n);\n\n/*\nLanguage: LiveScript\nAuthor: Taneli Vatanen <taneli.vatanen@gmail.com>\nContributors: Jen Evers-Corvina <jen@sevvie.net>\nOrigin: coffeescript.js\nDescription: LiveScript is a programming language that transcompiles to JavaScript. For info about language see http://livescript.net/\nWebsite: https://livescript.net\nCategory: scripting\n*/\n\nfunction livescript(hljs) {\n const LIVESCRIPT_BUILT_INS = [\n 'npm',\n 'print'\n ];\n const LIVESCRIPT_LITERALS = [\n 'yes',\n 'no',\n 'on',\n 'off',\n 'it',\n 'that',\n 'void'\n ];\n const LIVESCRIPT_KEYWORDS = [\n 'then',\n 'unless',\n 'until',\n 'loop',\n 'of',\n 'by',\n 'when',\n 'and',\n 'or',\n 'is',\n 'isnt',\n 'not',\n 'it',\n 'that',\n 'otherwise',\n 'from',\n 'to',\n 'til',\n 'fallthrough',\n 'case',\n 'enum',\n 'native',\n 'list',\n 'map',\n '__hasProp',\n '__extends',\n '__slice',\n '__bind',\n '__indexOf'\n ];\n const KEYWORDS$1 = {\n keyword: KEYWORDS.concat(LIVESCRIPT_KEYWORDS),\n literal: LITERALS.concat(LIVESCRIPT_LITERALS),\n built_in: BUILT_INS.concat(LIVESCRIPT_BUILT_INS)\n };\n const JS_IDENT_RE = '[A-Za-z$_](?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*';\n const TITLE = hljs.inherit(hljs.TITLE_MODE, { begin: JS_IDENT_RE });\n const SUBST = {\n className: 'subst',\n begin: /#\\{/,\n end: /\\}/,\n keywords: KEYWORDS$1\n };\n const SUBST_SIMPLE = {\n className: 'subst',\n begin: /#[A-Za-z$_]/,\n end: /(?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*/,\n keywords: KEYWORDS$1\n };\n const EXPRESSIONS = [\n hljs.BINARY_NUMBER_MODE,\n {\n className: 'number',\n begin: '(\\\\b0[xX][a-fA-F0-9_]+)|(\\\\b\\\\d(\\\\d|_\\\\d)*(\\\\.(\\\\d(\\\\d|_\\\\d)*)?)?(_*[eE]([-+]\\\\d(_\\\\d|\\\\d)*)?)?[_a-z]*)',\n relevance: 0,\n starts: {\n end: '(\\\\s*/)?',\n relevance: 0\n } // a number tries to eat the following slash to prevent treating it as a regexp\n },\n {\n className: 'string',\n variants: [\n {\n begin: /'''/,\n end: /'''/,\n contains: [ hljs.BACKSLASH_ESCAPE ]\n },\n {\n begin: /'/,\n end: /'/,\n contains: [ hljs.BACKSLASH_ESCAPE ]\n },\n {\n begin: /\"\"\"/,\n end: /\"\"\"/,\n contains: [\n hljs.BACKSLASH_ESCAPE,\n SUBST,\n SUBST_SIMPLE\n ]\n },\n {\n begin: /\"/,\n end: /\"/,\n contains: [\n hljs.BACKSLASH_ESCAPE,\n SUBST,\n SUBST_SIMPLE\n ]\n },\n {\n begin: /\\\\/,\n end: /(\\s|$)/,\n excludeEnd: true\n }\n ]\n },\n {\n className: 'regexp',\n variants: [\n {\n begin: '//',\n end: '//[gim]*',\n contains: [\n SUBST,\n hljs.HASH_COMMENT_MODE\n ]\n },\n {\n // regex can't start with space to parse x / 2 / 3 as two divisions\n // regex can't start with *, and it supports an \"illegal\" in the main mode\n begin: /\\/(?![ *])(\\\\.|[^\\\\\\n])*?\\/[gim]*(?=\\W)/ }\n ]\n },\n { begin: '@' + JS_IDENT_RE },\n {\n begin: '``',\n end: '``',\n excludeBegin: true,\n excludeEnd: true,\n subLanguage: 'javascript'\n }\n ];\n SUBST.contains = EXPRESSIONS;\n\n const PARAMS = {\n className: 'params',\n begin: '\\\\(',\n returnBegin: true,\n /* We need another contained nameless mode to not have every nested\n pair of parens to be called \"params\" */\n contains: [\n {\n begin: /\\(/,\n end: /\\)/,\n keywords: KEYWORDS$1,\n contains: [ 'self' ].concat(EXPRESSIONS)\n }\n ]\n };\n\n const SYMBOLS = { begin: '(#=>|=>|\\\\|>>|-?->|!->)' };\n\n const CLASS_DEFINITION = {\n variants: [\n { match: [\n /class\\s+/,\n JS_IDENT_RE,\n /\\s+extends\\s+/,\n JS_IDENT_RE\n ] },\n { match: [\n /class\\s+/,\n JS_IDENT_RE\n ] }\n ],\n scope: {\n 2: \"title.class\",\n 4: \"title.class.inherited\"\n },\n keywords: KEYWORDS$1\n };\n\n return {\n name: 'LiveScript',\n aliases: [ 'ls' ],\n keywords: KEYWORDS$1,\n illegal: /\\/\\*/,\n contains: EXPRESSIONS.concat([\n hljs.COMMENT('\\\\/\\\\*', '\\\\*\\\\/'),\n hljs.HASH_COMMENT_MODE,\n SYMBOLS, // relevance booster\n {\n className: 'function',\n contains: [\n TITLE,\n PARAMS\n ],\n returnBegin: true,\n variants: [\n {\n begin: '(' + JS_IDENT_RE + '\\\\s*(?:=|:=)\\\\s*)?(\\\\(.*\\\\)\\\\s*)?\\\\B->\\\\*?',\n end: '->\\\\*?'\n },\n {\n begin: '(' + JS_IDENT_RE + '\\\\s*(?:=|:=)\\\\s*)?!?(\\\\(.*\\\\)\\\\s*)?\\\\B[-~]{1,2}>\\\\*?',\n end: '[-~]{1,2}>\\\\*?'\n },\n {\n begin: '(' + JS_IDENT_RE + '\\\\s*(?:=|:=)\\\\s*)?(\\\\(.*\\\\)\\\\s*)?\\\\B!?[-~]{1,2}>\\\\*?',\n end: '!?[-~]{1,2}>\\\\*?'\n }\n ]\n },\n CLASS_DEFINITION,\n {\n begin: JS_IDENT_RE + ':',\n end: ':',\n returnBegin: true,\n returnEnd: true,\n relevance: 0\n }\n ])\n };\n}\n\nmodule.exports = livescript;\n"],"names":["KEYWORDS","LITERALS","BUILT_INS","concat","module","exports","hljs","KEYWORDS$1","keyword","literal","built_in","JS_IDENT_RE","TITLE","inherit","TITLE_MODE","begin","SUBST","className","end","keywords","SUBST_SIMPLE","EXPRESSIONS","BINARY_NUMBER_MODE","relevance","starts","variants","contains","BACKSLASH_ESCAPE","excludeEnd","HASH_COMMENT_MODE","excludeBegin","subLanguage","PARAMS","returnBegin","CLASS_DEFINITION","match","scope","name","aliases","illegal","COMMENT","returnEnd"],"sourceRoot":""} |