mirror of
https://github.com/danog/telegram-tt.git
synced 2024-12-12 09:09:45 +01:00
1 line
7.7 KiB
Plaintext
1 line
7.7 KiB
Plaintext
{"version":3,"file":"5119.090f02fee771b8f5e65c.js","mappings":"sFA4LAA,EAAOC,QAlLP,SAAaC,GACX,MAsBMC,EAAe,4BA4BfC,EAAQ,CACZC,UAAW,YACXC,MAAO,aACPC,OAAQ,CACNF,UAAW,SACXG,IAAKL,EACLM,WAAW,IAQTC,EAAgB,CACpBJ,MAAOH,EAAe,QACtBQ,aAAa,EACbC,SAAU,CACR,CACEP,UAAW,YACXC,MAAOH,EACPK,IAAK,QACLK,YAAY,EACZC,UAAW,IAGfA,UAAW,GAKPC,EAAa,CACjBT,MAlFYJ,EAAKc,MAkFJC,OAAOd,EAAc,SAClCK,IAAK,KACLG,aAAa,EACbG,UAAW,EACXF,SAAU,CAAEV,EAAKgB,QAAQhB,EAAKiB,WAAY,CAAEb,MAAOH,MAGrD,MAAO,CACLiB,KAAM,MACNC,QAAS,CAAE,MACXC,kBAAkB,EAClBC,SA5Fe,CACfC,QACE,uNAGFC,QACE,yCACFC,SACE,+sBAqFFd,SAAU,CACR,CACEP,UAAW,OACXC,MAAO,gCAETJ,EAAKyB,iBACLzB,EAAK0B,kBACL,CACEvB,UAAW,SACXC,MAAO,IACPE,IAAK,IACLI,SAAU,CACRV,EAAK2B,iBACL,CACExB,UAAW,QACXC,MAAO,SACPE,IAAK,SAIXN,EAAK4B,oBACL5B,EAAK6B,qBACL,CACE1B,UAAW,SACX2B,SAAU,CACR,CAAE1B,MAAO,mBACT,CAAEA,MAAO,oBACT,CAAEA,MAAOJ,EAAK+B,cAEhBnB,UAAW,GAEb,CACER,MAAO,IAAMJ,EAAKgC,eAAiB,kCACnCX,SAAU,oBACVX,SAAU,CACRV,EAAK4B,oBACL5B,EAAK6B,qBACL7B,EAAKiC,YACL,CACE7B,MAAO,IACPE,IAAK,aACLM,UAAW,EACXsB,YAAa,QAGjBtB,UAAW,GArGF,CACbT,UAAW,UACXC,MAAO,eACPC,OAAQ,CACNF,UAAW,SACXG,IAAK,0BACLC,WAAW,IAlBE,CACfJ,UAAW,UACXC,MAAO,iBACPC,OAAQ,CACNF,UAAW,SACXG,IAAK,sBACLC,WAAW,IA+GX,CACEJ,UAAW,WACXgC,cAAe,WACf7B,IAAK,KACLK,YAAY,EACZD,SAAU,CACRV,EAAKgB,QAAQhB,EAAKiB,WAAY,CAAEb,MAAO,6BACvC,CACED,UAAW,SACXC,MAAO,KACPE,IAAK,KACL8B,cAAc,EACdzB,YAAY,EACZD,SAAU,CACRV,EAAK4B,oBACL5B,EAAK6B,wBAIXQ,QAAS,QAEX,CAEEjC,MAAO,MAAQJ,EAAKsC,SACpB1B,UAAW,GAEbV,EACAM,EACAK,GAEFwB,QAAS","sources":["webpack://telegram-t/./node_modules/highlight.js/lib/languages/qml.js"],"sourcesContent":["/*\nLanguage: QML\nRequires: javascript.js, xml.js\nAuthor: John Foster <jfoster@esri.com>\nDescription: Syntax highlighting for the Qt Quick QML scripting language, based mostly off\n the JavaScript parser.\nWebsite: https://doc.qt.io/qt-5/qmlapplications.html\nCategory: scripting\n*/\n\nfunction qml(hljs) {\n const regex = hljs.regex;\n const KEYWORDS = {\n keyword:\n 'in of on if for while finally var new function do return void else break catch '\n + 'instanceof with throw case default try this switch continue typeof delete '\n + 'let yield const export super debugger as async await import',\n literal:\n 'true false null undefined NaN Infinity',\n built_in:\n 'eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent '\n + 'encodeURI encodeURIComponent escape unescape Object Function Boolean Error '\n + 'EvalError InternalError RangeError ReferenceError StopIteration SyntaxError '\n + 'TypeError URIError Number Math Date String RegExp Array Float32Array '\n + 'Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array '\n + 'Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require '\n + 'module console window document Symbol Set Map WeakSet WeakMap Proxy Reflect '\n + 'Behavior bool color coordinate date double enumeration font geocircle georectangle '\n + 'geoshape int list matrix4x4 parent point quaternion real rect '\n + 'size string url variant vector2d vector3d vector4d '\n + 'Promise'\n };\n\n const QML_IDENT_RE = '[a-zA-Z_][a-zA-Z0-9\\\\._]*';\n\n // Isolate property statements. Ends at a :, =, ;, ,, a comment or end of line.\n // Use property class.\n const PROPERTY = {\n className: 'keyword',\n begin: '\\\\bproperty\\\\b',\n starts: {\n className: 'string',\n end: '(:|=|;|,|//|/\\\\*|$)',\n returnEnd: true\n }\n };\n\n // Isolate signal statements. Ends at a ) a comment or end of line.\n // Use property class.\n const SIGNAL = {\n className: 'keyword',\n begin: '\\\\bsignal\\\\b',\n starts: {\n className: 'string',\n end: '(\\\\(|:|=|;|,|//|/\\\\*|$)',\n returnEnd: true\n }\n };\n\n // id: is special in QML. When we see id: we want to mark the id: as attribute and\n // emphasize the token following.\n const ID_ID = {\n className: 'attribute',\n begin: '\\\\bid\\\\s*:',\n starts: {\n className: 'string',\n end: QML_IDENT_RE,\n returnEnd: false\n }\n };\n\n // Find QML object attribute. An attribute is a QML identifier followed by :.\n // Unfortunately it's hard to know where it ends, as it may contain scalars,\n // objects, object definitions, or javascript. The true end is either when the parent\n // ends or the next attribute is detected.\n const QML_ATTRIBUTE = {\n begin: QML_IDENT_RE + '\\\\s*:',\n returnBegin: true,\n contains: [\n {\n className: 'attribute',\n begin: QML_IDENT_RE,\n end: '\\\\s*:',\n excludeEnd: true,\n relevance: 0\n }\n ],\n relevance: 0\n };\n\n // Find QML object. A QML object is a QML identifier followed by { and ends at the matching }.\n // All we really care about is finding IDENT followed by { and just mark up the IDENT and ignore the {.\n const QML_OBJECT = {\n begin: regex.concat(QML_IDENT_RE, /\\s*\\{/),\n end: /\\{/,\n returnBegin: true,\n relevance: 0,\n contains: [ hljs.inherit(hljs.TITLE_MODE, { begin: QML_IDENT_RE }) ]\n };\n\n return {\n name: 'QML',\n aliases: [ 'qt' ],\n case_insensitive: false,\n keywords: KEYWORDS,\n contains: [\n {\n className: 'meta',\n begin: /^\\s*['\"]use (strict|asm)['\"]/\n },\n hljs.APOS_STRING_MODE,\n hljs.QUOTE_STRING_MODE,\n { // template string\n className: 'string',\n begin: '`',\n end: '`',\n contains: [\n hljs.BACKSLASH_ESCAPE,\n {\n className: 'subst',\n begin: '\\\\$\\\\{',\n end: '\\\\}'\n }\n ]\n },\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n {\n className: 'number',\n variants: [\n { begin: '\\\\b(0[bB][01]+)' },\n { begin: '\\\\b(0[oO][0-7]+)' },\n { begin: hljs.C_NUMBER_RE }\n ],\n relevance: 0\n },\n { // \"value\" container\n begin: '(' + hljs.RE_STARTERS_RE + '|\\\\b(case|return|throw)\\\\b)\\\\s*',\n keywords: 'return throw case',\n contains: [\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n hljs.REGEXP_MODE,\n { // E4X / JSX\n begin: /</,\n end: />\\s*[);\\]]/,\n relevance: 0,\n subLanguage: 'xml'\n }\n ],\n relevance: 0\n },\n SIGNAL,\n PROPERTY,\n {\n className: 'function',\n beginKeywords: 'function',\n end: /\\{/,\n excludeEnd: true,\n contains: [\n hljs.inherit(hljs.TITLE_MODE, { begin: /[A-Za-z$_][0-9A-Za-z$_]*/ }),\n {\n className: 'params',\n begin: /\\(/,\n end: /\\)/,\n excludeBegin: true,\n excludeEnd: true,\n contains: [\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE\n ]\n }\n ],\n illegal: /\\[|%/\n },\n {\n // hack: prevents detection of keywords after dots\n begin: '\\\\.' + hljs.IDENT_RE,\n relevance: 0\n },\n ID_ID,\n QML_ATTRIBUTE,\n QML_OBJECT\n ],\n illegal: /#/\n };\n}\n\nmodule.exports = qml;\n"],"names":["module","exports","hljs","QML_IDENT_RE","ID_ID","className","begin","starts","end","returnEnd","QML_ATTRIBUTE","returnBegin","contains","excludeEnd","relevance","QML_OBJECT","regex","concat","inherit","TITLE_MODE","name","aliases","case_insensitive","keywords","keyword","literal","built_in","APOS_STRING_MODE","QUOTE_STRING_MODE","BACKSLASH_ESCAPE","C_LINE_COMMENT_MODE","C_BLOCK_COMMENT_MODE","variants","C_NUMBER_RE","RE_STARTERS_RE","REGEXP_MODE","subLanguage","beginKeywords","excludeBegin","illegal","IDENT_RE"],"sourceRoot":""} |