mirror of
https://github.com/danog/telegram-tt.git
synced 2024-12-15 02:37:17 +01:00
1 line
3.9 KiB
Plaintext
1 line
3.9 KiB
Plaintext
{"version":3,"file":"2369.d952921438994721f7d0.js","mappings":"sFAoJAA,EAAOC,QA5IP,SAAaC,GACX,MAmGMC,EAAmB,CACvBC,MAAO,CACL,6CACA,MACAF,EAAKG,UAEPC,MAAO,CACL,EAAG,UACH,EAAG,gBAIP,MAAO,CACLC,KAAM,gBACNC,SAAU,CACRC,QA3Ba,CACf,QACA,MACA,KACA,KACA,SACA,OACA,QACA,SACA,YAmBEC,SAnHc,CAChB,MACA,OACA,UACA,OACA,OACA,OACA,aACA,YACA,kBACA,OACA,YACA,QACA,OACA,SACA,MACA,UACA,QACA,QACA,UACA,WACA,KACA,KACA,cACA,MACA,cACA,aACA,QACA,SACA,UACA,WACA,SACA,cACA,MACA,QACA,MACA,MACA,MACA,QACA,YACA,aACA,WACA,SACA,QACA,SACA,MACA,SACA,UACA,UACA,SACA,UACA,UACA,aACA,QACA,UACA,WACA,WACA,WACA,SACA,OACA,MACA,aACA,WACA,eACA,SACA,OACA,OACA,MACA,UACA,cACA,QACA,YACA,aACA,QACA,QACA,SAyCEC,KAtCU,CACZ,SACA,QACA,QACA,QACA,SACA,WAkCAC,QAAS,KACTC,SAAU,CACRX,EAAKY,oBACLZ,EAAKa,qBACLb,EAAKc,kBACLd,EAAKe,iBACLf,EAAKgB,cACL,CACEC,UAAW,OACXC,MAAO,IACPC,IAAK,KAEPlB,EACA,CACEmB,cAAe,gCACfD,IAAK","sources":["webpack://telegram-t/./node_modules/highlight.js/lib/languages/rsl.js"],"sourcesContent":["/*\nLanguage: RenderMan RSL\nAuthor: Konstantin Evdokimenko <qewerty@gmail.com>\nContributors: Shuen-Huei Guan <drake.guan@gmail.com>\nWebsite: https://renderman.pixar.com/resources/RenderMan_20/shadingLanguage.html\nCategory: graphics\n*/\n\nfunction rsl(hljs) {\n const BUILT_INS = [\n \"abs\",\n \"acos\",\n \"ambient\",\n \"area\",\n \"asin\",\n \"atan\",\n \"atmosphere\",\n \"attribute\",\n \"calculatenormal\",\n \"ceil\",\n \"cellnoise\",\n \"clamp\",\n \"comp\",\n \"concat\",\n \"cos\",\n \"degrees\",\n \"depth\",\n \"Deriv\",\n \"diffuse\",\n \"distance\",\n \"Du\",\n \"Dv\",\n \"environment\",\n \"exp\",\n \"faceforward\",\n \"filterstep\",\n \"floor\",\n \"format\",\n \"fresnel\",\n \"incident\",\n \"length\",\n \"lightsource\",\n \"log\",\n \"match\",\n \"max\",\n \"min\",\n \"mod\",\n \"noise\",\n \"normalize\",\n \"ntransform\",\n \"opposite\",\n \"option\",\n \"phong\",\n \"pnoise\",\n \"pow\",\n \"printf\",\n \"ptlined\",\n \"radians\",\n \"random\",\n \"reflect\",\n \"refract\",\n \"renderinfo\",\n \"round\",\n \"setcomp\",\n \"setxcomp\",\n \"setycomp\",\n \"setzcomp\",\n \"shadow\",\n \"sign\",\n \"sin\",\n \"smoothstep\",\n \"specular\",\n \"specularbrdf\",\n \"spline\",\n \"sqrt\",\n \"step\",\n \"tan\",\n \"texture\",\n \"textureinfo\",\n \"trace\",\n \"transform\",\n \"vtransform\",\n \"xcomp\",\n \"ycomp\",\n \"zcomp\"\n ];\n\n const TYPES = [\n \"matrix\",\n \"float\",\n \"color\",\n \"point\",\n \"normal\",\n \"vector\"\n ];\n\n const KEYWORDS = [\n \"while\",\n \"for\",\n \"if\",\n \"do\",\n \"return\",\n \"else\",\n \"break\",\n \"extern\",\n \"continue\"\n ];\n\n const CLASS_DEFINITION = {\n match: [\n /(surface|displacement|light|volume|imager)/,\n /\\s+/,\n hljs.IDENT_RE,\n ],\n scope: {\n 1: \"keyword\",\n 3: \"title.class\",\n }\n };\n\n return {\n name: 'RenderMan RSL',\n keywords: {\n keyword: KEYWORDS,\n built_in: BUILT_INS,\n type: TYPES\n },\n illegal: '</',\n contains: [\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n hljs.QUOTE_STRING_MODE,\n hljs.APOS_STRING_MODE,\n hljs.C_NUMBER_MODE,\n {\n className: 'meta',\n begin: '#',\n end: '$'\n },\n CLASS_DEFINITION,\n {\n beginKeywords: 'illuminate illuminance gather',\n end: '\\\\('\n }\n ]\n };\n}\n\nmodule.exports = rsl;\n"],"names":["module","exports","hljs","CLASS_DEFINITION","match","IDENT_RE","scope","name","keywords","keyword","built_in","type","illegal","contains","C_LINE_COMMENT_MODE","C_BLOCK_COMMENT_MODE","QUOTE_STRING_MODE","APOS_STRING_MODE","C_NUMBER_MODE","className","begin","end","beginKeywords"],"sourceRoot":""} |