1 |
- {"version":3,"file":"2287.ed549a6d7fad3fc2b896.js","mappings":";6IAQA,IAAIA,EAAO,CACTC,YAAa,qFACbC,SAAU,CACRC,YAAa,KACbC,aAAc,CAAC,KAAM,OAEvBC,SAAU,CACR,CAAC,IAAK,KACN,CAAC,IAAK,KACN,CAAC,IAAK,MAERC,iBAAkB,CAChB,CAAEC,KAAM,IAAKC,MAAO,KACpB,CAAED,KAAM,IAAKC,MAAO,KACpB,CAAED,KAAM,IAAKC,MAAO,KACpB,CAAED,KAAM,IAAKC,MAAO,KACpB,CAAED,KAAM,IAAKC,MAAO,MAEtBC,iBAAkB,CAChB,CAAEF,KAAM,IAAKC,MAAO,KACpB,CAAED,KAAM,IAAKC,MAAO,KACpB,CAAED,KAAM,IAAKC,MAAO,KACpB,CAAED,KAAM,IAAKC,MAAO,KACpB,CAAED,KAAM,IAAKC,MAAO,KACpB,CAAED,KAAM,IAAKC,MAAO,MAEtBE,QAAS,CACPC,QAAS,CACPC,MAAO,IAAIC,OAAO,sDAClBC,IAAK,IAAID,OAAO,2DAoJlBE,EAA6B,GAhJlB,CACb,WACA,WACA,MACA,MACA,QACA,KACA,MACA,SACA,aACA,QACA,aACA,OACA,UACA,QACA,OACA,KACA,OACA,OACA,QACA,OACA,QACA,UACA,SACA,QACA,WACA,kBACA,UACA,UACA,SACA,OACA,KACA,SACA,OACA,MACA,OACA,YACA,OACA,SACA,UACA,QACA,QACA,UACA,QACA,MACA,OACA,SACA,MACA,SACA,OACA,QACA,SACA,OACA,KACA,aACA,SACA,KACA,QACA,SACA,aACA,MACA,YACA,OACA,OACA,eACA,aACA,cACA,YACA,OACA,QACA,OACA,OACA,OACA,MACA,QACA,SACA,MACA,eACA,aACA,cACA,YACA,MACA,OACA,QACA,SACA,SACA,KACA,KACA,KACA,QACA,WACA,UACA,WACA,SACA,UACA,YACA,SACA,WACA,SACA,YACA,WACA,YACA,SACA,SACA,MACA,QACA,OACA,OACA,SACA,WACA,QACA,SACA,eACA,SACA,aACA,OACA,OACA,aACA,YACA,QACA,SACA,QACA,UACA,WACA,cACA,YACA,UACA,OACA,MACA,OACA,WACA,SACA,SACA,QACA,UACA,OACA,WACA,aACA,OACA,QACA,QACA,aAIOC,SAASC,IAChBF,EAA2BG,KAAKD,GAChCF,EAA2BG,KAAKD,EAAUE,eAC1CJ,EAA2BG,KALF,CAACD,GAAcA,EAAUG,OAAO,GAAGD,cAAgBF,EAAUI,OAAO,GAK7DC,CAAqBL,OAEvD,IAAIM,EAAW,CACbC,aAAc,GACdC,aAAc,QACdC,SAAUX,EACVY,UAAW,CACT,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KACA,KACA,MACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,KACA,MACA,MACA,QAEFC,QAAS,wBACTC,QAAS,wEACTC,OAAQ,cACRC,YAAa,oBACbC,aAAc,oBACdC,UAAW,iCACXC,UAAW,CACTC,KAAM,CACJ,CACE,gBACA,CACEC,MAAO,CACL,YAAa,CAAEC,MAAO,cACtB,WAAY,gBAIlB,CACE,eACA,CACED,MAAO,CACL,YAAa,CAAEC,MAAO,cACtB,WAAY,qBAIlB,CAAEC,QAAS,eACX,CAAC,aAAc,aACf,CAAC,mBAAoB,aACrB,CACE,WACA,CACEF,MAAO,CACL,aAAc,YACd,WAAY,MAIlB,CAAC,yBAA0B,cAC3B,CAAC,yCAA0C,gBAC3C,CAAC,oDAAqD,gBACtD,CAAC,kBAAmB,gBACpB,CAAC,iBAAkB,UACnB,CAAC,QAAS,aACV,CAAC,kBAAmB,kBACpB,CAAC,kBAAmB,kBACpB,CAAC,IAAK,SAAU,aAChB,CAAC,IAAK,SAAU,aAChB,CAAC,WAAY,UACb,CAAC,mBAAoB,CAAC,SAAU,gBAAiB,WACjD,CAAC,IAAK,mBAERG,WAAY,CACV,CAAC,aAAc,IACf,CAAC,eAAgB,cAAe,YAChC,CAAC,OAAQ,UAAW,YACpB,CAAC,UAAW,YAEdC,QAAS,CACP,CAAC,UAAW,WACZ,CAAC,OAAQ,UAAW,QACpB,CAAC,QAAS,YAEZC,QAAS,CACP,CAAC,UAAW,eACZ,CAAC,OAAQ,cAAe,QACxB,CAAC,QAAS,gBAEZC,OAAQ,CACN,CAAC,WAAY,UACb,CAAC,WAAY,iBACb,CAAC,MAAO,yBACR,CACE,OACA,CACEN,MAAO,CACL,UAAW,CAAEC,MAAO,SAAUM,KAAM,QACpC,WAAY","sources":["webpack://grafana/../../opt/drone/yarncache/monaco-editor-npm-0.31.1-d8d5ee78bb-65be40c557.zip/node_modules/monaco-editor/esm/vs/basic-languages/apex/apex.js"],"sourcesContent":["/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.31.1(337587859b1c171314b40503171188b6cea6a32a)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/\n\n// src/basic-languages/apex/apex.ts\nvar conf = {\n wordPattern: /(-?\\d*\\.\\d\\w*)|([^\\`\\~\\!\\#\\%\\^\\&\\*\\(\\)\\-\\=\\+\\[\\{\\]\\}\\\\\\|\\;\\:\\'\\\"\\,\\.\\<\\>\\/\\?\\s]+)/g,\n comments: {\n lineComment: \"//\",\n blockComment: [\"/*\", \"*/\"]\n },\n brackets: [\n [\"{\", \"}\"],\n [\"[\", \"]\"],\n [\"(\", \")\"]\n ],\n autoClosingPairs: [\n { open: \"{\", close: \"}\" },\n { open: \"[\", close: \"]\" },\n { open: \"(\", close: \")\" },\n { open: '\"', close: '\"' },\n { open: \"'\", close: \"'\" }\n ],\n surroundingPairs: [\n { open: \"{\", close: \"}\" },\n { open: \"[\", close: \"]\" },\n { open: \"(\", close: \")\" },\n { open: '\"', close: '\"' },\n { open: \"'\", close: \"'\" },\n { open: \"<\", close: \">\" }\n ],\n folding: {\n markers: {\n start: new RegExp(\"^\\\\s*//\\\\s*(?:(?:#?region\\\\b)|(?:<editor-fold\\\\b))\"),\n end: new RegExp(\"^\\\\s*//\\\\s*(?:(?:#?endregion\\\\b)|(?:</editor-fold>))\")\n }\n }\n};\nvar keywords = [\n \"abstract\",\n \"activate\",\n \"and\",\n \"any\",\n \"array\",\n \"as\",\n \"asc\",\n \"assert\",\n \"autonomous\",\n \"begin\",\n \"bigdecimal\",\n \"blob\",\n \"boolean\",\n \"break\",\n \"bulk\",\n \"by\",\n \"case\",\n \"cast\",\n \"catch\",\n \"char\",\n \"class\",\n \"collect\",\n \"commit\",\n \"const\",\n \"continue\",\n \"convertcurrency\",\n \"decimal\",\n \"default\",\n \"delete\",\n \"desc\",\n \"do\",\n \"double\",\n \"else\",\n \"end\",\n \"enum\",\n \"exception\",\n \"exit\",\n \"export\",\n \"extends\",\n \"false\",\n \"final\",\n \"finally\",\n \"float\",\n \"for\",\n \"from\",\n \"future\",\n \"get\",\n \"global\",\n \"goto\",\n \"group\",\n \"having\",\n \"hint\",\n \"if\",\n \"implements\",\n \"import\",\n \"in\",\n \"inner\",\n \"insert\",\n \"instanceof\",\n \"int\",\n \"interface\",\n \"into\",\n \"join\",\n \"last_90_days\",\n \"last_month\",\n \"last_n_days\",\n \"last_week\",\n \"like\",\n \"limit\",\n \"list\",\n \"long\",\n \"loop\",\n \"map\",\n \"merge\",\n \"native\",\n \"new\",\n \"next_90_days\",\n \"next_month\",\n \"next_n_days\",\n \"next_week\",\n \"not\",\n \"null\",\n \"nulls\",\n \"number\",\n \"object\",\n \"of\",\n \"on\",\n \"or\",\n \"outer\",\n \"override\",\n \"package\",\n \"parallel\",\n \"pragma\",\n \"private\",\n \"protected\",\n \"public\",\n \"retrieve\",\n \"return\",\n \"returning\",\n \"rollback\",\n \"savepoint\",\n \"search\",\n \"select\",\n \"set\",\n \"short\",\n \"sort\",\n \"stat\",\n \"static\",\n \"strictfp\",\n \"super\",\n \"switch\",\n \"synchronized\",\n \"system\",\n \"testmethod\",\n \"then\",\n \"this\",\n \"this_month\",\n \"this_week\",\n \"throw\",\n \"throws\",\n \"today\",\n \"tolabel\",\n \"tomorrow\",\n \"transaction\",\n \"transient\",\n \"trigger\",\n \"true\",\n \"try\",\n \"type\",\n \"undelete\",\n \"update\",\n \"upsert\",\n \"using\",\n \"virtual\",\n \"void\",\n \"volatile\",\n \"webservice\",\n \"when\",\n \"where\",\n \"while\",\n \"yesterday\"\n];\nvar uppercaseFirstLetter = (lowercase) => lowercase.charAt(0).toUpperCase() + lowercase.substr(1);\nvar keywordsWithCaseVariations = [];\nkeywords.forEach((lowercase) => {\n keywordsWithCaseVariations.push(lowercase);\n keywordsWithCaseVariations.push(lowercase.toUpperCase());\n keywordsWithCaseVariations.push(uppercaseFirstLetter(lowercase));\n});\nvar language = {\n defaultToken: \"\",\n tokenPostfix: \".apex\",\n keywords: keywordsWithCaseVariations,\n operators: [\n \"=\",\n \">\",\n \"<\",\n \"!\",\n \"~\",\n \"?\",\n \":\",\n \"==\",\n \"<=\",\n \">=\",\n \"!=\",\n \"&&\",\n \"||\",\n \"++\",\n \"--\",\n \"+\",\n \"-\",\n \"*\",\n \"/\",\n \"&\",\n \"|\",\n \"^\",\n \"%\",\n \"<<\",\n \">>\",\n \">>>\",\n \"+=\",\n \"-=\",\n \"*=\",\n \"/=\",\n \"&=\",\n \"|=\",\n \"^=\",\n \"%=\",\n \"<<=\",\n \">>=\",\n \">>>=\"\n ],\n symbols: /[=><!~?:&|+\\-*\\/\\^%]+/,\n escapes: /\\\\(?:[abfnrtv\\\\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,\n digits: /\\d+(_+\\d+)*/,\n octaldigits: /[0-7]+(_+[0-7]+)*/,\n binarydigits: /[0-1]+(_+[0-1]+)*/,\n hexdigits: /[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,\n tokenizer: {\n root: [\n [\n /[a-z_$][\\w$]*/,\n {\n cases: {\n \"@keywords\": { token: \"keyword.$0\" },\n \"@default\": \"identifier\"\n }\n }\n ],\n [\n /[A-Z][\\w\\$]*/,\n {\n cases: {\n \"@keywords\": { token: \"keyword.$0\" },\n \"@default\": \"type.identifier\"\n }\n }\n ],\n { include: \"@whitespace\" },\n [/[{}()\\[\\]]/, \"@brackets\"],\n [/[<>](?!@symbols)/, \"@brackets\"],\n [\n /@symbols/,\n {\n cases: {\n \"@operators\": \"delimiter\",\n \"@default\": \"\"\n }\n }\n ],\n [/@\\s*[a-zA-Z_\\$][\\w\\$]*/, \"annotation\"],\n [/(@digits)[eE]([\\-+]?(@digits))?[fFdD]?/, \"number.float\"],\n [/(@digits)\\.(@digits)([eE][\\-+]?(@digits))?[fFdD]?/, \"number.float\"],\n [/(@digits)[fFdD]/, \"number.float\"],\n [/(@digits)[lL]?/, \"number\"],\n [/[;,.]/, \"delimiter\"],\n [/\"([^\"\\\\]|\\\\.)*$/, \"string.invalid\"],\n [/'([^'\\\\]|\\\\.)*$/, \"string.invalid\"],\n [/\"/, \"string\", '@string.\"'],\n [/'/, \"string\", \"@string.'\"],\n [/'[^\\\\']'/, \"string\"],\n [/(')(@escapes)(')/, [\"string\", \"string.escape\", \"string\"]],\n [/'/, \"string.invalid\"]\n ],\n whitespace: [\n [/[ \\t\\r\\n]+/, \"\"],\n [/\\/\\*\\*(?!\\/)/, \"comment.doc\", \"@apexdoc\"],\n [/\\/\\*/, \"comment\", \"@comment\"],\n [/\\/\\/.*$/, \"comment\"]\n ],\n comment: [\n [/[^\\/*]+/, \"comment\"],\n [/\\*\\//, \"comment\", \"@pop\"],\n [/[\\/*]/, \"comment\"]\n ],\n apexdoc: [\n [/[^\\/*]+/, \"comment.doc\"],\n [/\\*\\//, \"comment.doc\", \"@pop\"],\n [/[\\/*]/, \"comment.doc\"]\n ],\n string: [\n [/[^\\\\\"']+/, \"string\"],\n [/@escapes/, \"string.escape\"],\n [/\\\\./, \"string.escape.invalid\"],\n [\n /[\"']/,\n {\n cases: {\n \"$#==$S2\": { token: \"string\", next: \"@pop\" },\n \"@default\": \"string\"\n }\n }\n ]\n ]\n }\n};\nexport {\n conf,\n language\n};\n"],"names":["conf","wordPattern","comments","lineComment","blockComment","brackets","autoClosingPairs","open","close","surroundingPairs","folding","markers","start","RegExp","end","keywordsWithCaseVariations","forEach","lowercase","push","toUpperCase","charAt","substr","uppercaseFirstLetter","language","defaultToken","tokenPostfix","keywords","operators","symbols","escapes","digits","octaldigits","binarydigits","hexdigits","tokenizer","root","cases","token","include","whitespace","comment","apexdoc","string","next"],"sourceRoot":""}
|