1 |
- {"version":3,"file":"1204.81bb48e97eab63fc5554.js","mappings":";gKASIA,EAAO,OACPC,EAAW,CACbC,aAAc,UACdC,aAAc,MACdC,SAAU,CACR,QACA,OACA,QACA,QACA,WACA,QACA,cACA,WACA,UACA,SACA,KACA,OACA,SACA,UACA,QACA,UACA,MACA,OACA,WACA,MACA,KACA,SACA,KACA,aACA,MACA,MACA,OACA,SACA,MACA,QACA,SACA,SACA,OACA,QACA,OACA,MACA,SACA,YACA,MACA,OACA,QACA,OACA,QACA,QACA,QACA,MAEFC,aAAc,GACdC,UAAW,qBACXC,QAAS,mBACTC,QAAS,mBACTC,OAAQ,kBACRC,YAAa,uBACbC,aAAc,wBACdC,UAAW,qBACXC,UAAW,qBACXC,UAAW,qBACXC,UAAW,gGChETC,EAAYC,OAAOC,eACnBC,EAAmBF,OAAOG,yBAC1BC,EAAoBJ,OAAOK,oBAC3BC,EAAeN,OAAOO,UAAUC,eAYhCC,EAA6B,GAXAV,EAYlBU,EAZoC,aAAc,CAAEC,OAAO,IACzD,EAACC,EAAQC,EAAQC,KAChC,GAAID,GAA4B,iBAAXA,GAAyC,mBAAXA,EACjD,IAAK,IAAIE,KAAOV,EAAkBQ,GAC3BN,EAAaS,KAAKJ,EAAQG,IAAgB,YAARA,GACrCf,EAAUY,EAAQG,EAAK,CAAEE,IAAK,IAAMJ,EAAOE,GAAMG,aAAcJ,EAAOX,EAAiBU,EAAQE,KAASD,EAAKI,cAQrHC,CAAWT,EAA4B,GAIvC,IAAI1B,EAAO,CACToC,YAAa,uFACbC,SAAU,CACRC,YAAa,KACbC,aAAc,CAAC,KAAM,OAEvBC,SAAU,CACR,CAAC,IAAK,KACN,CAAC,IAAK,KACN,CAAC,IAAK,MAERC,aAAc,CACZ,CACEC,WAAY,qCACZC,UAAW,YACXC,OAAQ,CACNC,aAAcnB,EAA2BoB,UAAUC,aAAaC,cAChEC,WAAY,QAGhB,CACEP,WAAY,qCACZE,OAAQ,CACNC,aAAcnB,EAA2BoB,UAAUC,aAAaG,KAChED,WAAY,QAGhB,CACEP,WAAY,2CACZE,OAAQ,CACNC,aAAcnB,EAA2BoB,UAAUC,aAAaG,KAChED,WAAY,OAGhB,CACEP,WAAY,0BACZE,OAAQ,CACNC,aAAcnB,EAA2BoB,UAAUC,aAAaG,KAChEC,WAAY,KAIlBC,iBAAkB,CAChB,CAAEC,KAAM,IAAKC,MAAO,KACpB,CAAED,KAAM,IAAKC,MAAO,KACpB,CAAED,KAAM,IAAKC,MAAO,KACpB,CAAED,KAAM,IAAKC,MAAO,IAAKC,MAAO,CAAC,WACjC,CAAEF,KAAM,IAAKC,MAAO,IAAKC,MAAO,CAAC,SAAU,YAC3C,CAAEF,KAAM,IAAKC,MAAO,IAAKC,MAAO,CAAC,SAAU,YAC3C,CAAEF,KAAM,MAAOC,MAAO,MAAOC,MAAO,CAAC,YAEvCC,QAAS,CACPC,QAAS,CACPC,MAAO,IAAIC,OAAO,0BAClBC,IAAK,IAAID,OAAO,gCAIlB1D,EAAW,CACbC,aAAc,UACdC,aAAc,MACdC,SAAU,CACR,WACA,MACA,KACA,UACA,SACA,UACA,QACA,OACA,QACA,QACA,WACA,QACA,cACA,WACA,UACA,UACA,SACA,KACA,OACA,OACA,SACA,UACA,QACA,UACA,MACA,OACA,WACA,MACA,KACA,aACA,SACA,KACA,QACA,aACA,YACA,KACA,QACA,MACA,SACA,YACA,QACA,MACA,OACA,SACA,SACA,UACA,UACA,YACA,SACA,WACA,WACA,UACA,SACA,SACA,MACA,SACA,SACA,QACA,SACA,SACA,OACA,QACA,OACA,MACA,OACA,SACA,YACA,SACA,UACA,MACA,OACA,QACA,OACA,QACA,QACA,QACA,MAEFE,UAAW,CACT,KACA,KACA,KACA,KACA,MACA,MACA,KACA,IACA,IACA,KACA,IACA,IACA,IACA,KACA,KACA,KACA,KACA,KACA,MACA,IACA,IACA,IACA,IACA,IACA,KACA,KACA,KACA,IACA,IACA,IACA,KACA,KACA,KACA,MACA,KACA,KACA,MACA,MACA,OAC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oB,CAAC,CAAEF,MAAO,SAAUC,QAAS,SAAUC,KAAM,QAAU,mBAE9EK,WAAY,CACV,CAAC,IAAK,yBACN,CAAC,KAAM,kBACP,CAAC,aAAc,iBACf,CAAC,QAAS,UACV,CACE,KACA,CACEP,MAAO,wBACPE,KAAM,OACND,QAAS,YAIfO,cAAe,CACb,CAAC,UAAW,UACZ,CAAC,WAAY,iBACb,CAAC,MAAO,yBACR,CAAC,IAAK,SAAU,SAElBC,cAAe,CACb,CAAC,UAAW,UACZ,CAAC,WAAY,iBACb,CAAC,MAAO,yBACR,CAAC,IAAK,SAAU,SAElBC,gBAAiB,CACf,CAAC,OAAQ,CAAEV,MAAO,oBAAqBE,KAAM,qBAC7C,CAAC,WAAY,UACb,CAAC,WAAY,iBACb,CAAC,MAAO,yBACR,CAAC,IAAK,SAAU,SAElBS,gBAAiB,CACf,CAAC,KAAM,oBAAqB,oBAC5B,CAAC,KAAM,oBAAqB,QAC5B,CAAEd,QAAS","sources":["webpack://grafana/../../opt/drone/yarncache/monaco-editor-npm-0.31.1-d8d5ee78bb-65be40c557.zip/node_modules/monaco-editor/esm/vs/basic-languages/javascript/javascript.js","webpack://grafana/../../opt/drone/yarncache/monaco-editor-npm-0.31.1-d8d5ee78bb-65be40c557.zip/node_modules/monaco-editor/esm/vs/basic-languages/typescript/typescript.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/javascript/javascript.ts\nimport { conf as tsConf, language as tsLanguage } from \"../typescript/typescript.js\";\nvar conf = tsConf;\nvar language = {\n defaultToken: \"invalid\",\n tokenPostfix: \".js\",\n keywords: [\n \"break\",\n \"case\",\n \"catch\",\n \"class\",\n \"continue\",\n \"const\",\n \"constructor\",\n \"debugger\",\n \"default\",\n \"delete\",\n \"do\",\n \"else\",\n \"export\",\n \"extends\",\n \"false\",\n \"finally\",\n \"for\",\n \"from\",\n \"function\",\n \"get\",\n \"if\",\n \"import\",\n \"in\",\n \"instanceof\",\n \"let\",\n \"new\",\n \"null\",\n \"return\",\n \"set\",\n \"super\",\n \"switch\",\n \"symbol\",\n \"this\",\n \"throw\",\n \"true\",\n \"try\",\n \"typeof\",\n \"undefined\",\n \"var\",\n \"void\",\n \"while\",\n \"with\",\n \"yield\",\n \"async\",\n \"await\",\n \"of\"\n ],\n typeKeywords: [],\n operators: tsLanguage.operators,\n symbols: tsLanguage.symbols,\n escapes: tsLanguage.escapes,\n digits: tsLanguage.digits,\n octaldigits: tsLanguage.octaldigits,\n binarydigits: tsLanguage.binarydigits,\n hexdigits: tsLanguage.hexdigits,\n regexpctl: tsLanguage.regexpctl,\n regexpesc: tsLanguage.regexpesc,\n tokenizer: tsLanguage.tokenizer\n};\nexport {\n conf,\n language\n};\n","/*!-----------------------------------------------------------------------------\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\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __markAsModule = (target) => __defProp(target, \"__esModule\", { value: true });\nvar __reExport = (target, module, desc) => {\n if (module && typeof module === \"object\" || typeof module === \"function\") {\n for (let key of __getOwnPropNames(module))\n if (!__hasOwnProp.call(target, key) && key !== \"default\")\n __defProp(target, key, { get: () => module[key], enumerable: !(desc = __getOwnPropDesc(module, key)) || desc.enumerable });\n }\n return target;\n};\n\n// src/fillers/monaco-editor-core.ts\nvar monaco_editor_core_exports = {};\n__markAsModule(monaco_editor_core_exports);\n__reExport(monaco_editor_core_exports, monaco_editor_core_star);\nimport * as monaco_editor_core_star from \"../../editor/editor.api.js\";\n\n// src/basic-languages/typescript/typescript.ts\nvar conf = {\n wordPattern: /(-?\\d*\\.\\d\\w*)|([^\\`\\~\\!\\@\\#\\%\\^\\&\\*\\(\\)\\-\\=\\+\\[\\{\\]\\}\\\\\\|\\;\\:\\'\\\"\\,\\.\\<\\>\\/\\?\\s]+)/g,\n comments: {\n lineComment: \"//\",\n blockComment: [\"/*\", \"*/\"]\n },\n brackets: [\n [\"{\", \"}\"],\n [\"[\", \"]\"],\n [\"(\", \")\"]\n ],\n onEnterRules: [\n {\n beforeText: /^\\s*\\/\\*\\*(?!\\/)([^\\*]|\\*(?!\\/))*$/,\n afterText: /^\\s*\\*\\/$/,\n action: {\n indentAction: monaco_editor_core_exports.languages.IndentAction.IndentOutdent,\n appendText: \" * \"\n }\n },\n {\n beforeText: /^\\s*\\/\\*\\*(?!\\/)([^\\*]|\\*(?!\\/))*$/,\n action: {\n indentAction: monaco_editor_core_exports.languages.IndentAction.None,\n appendText: \" * \"\n }\n },\n {\n beforeText: /^(\\t|(\\ \\ ))*\\ \\*(\\ ([^\\*]|\\*(?!\\/))*)?$/,\n action: {\n indentAction: monaco_editor_core_exports.languages.IndentAction.None,\n appendText: \"* \"\n }\n },\n {\n beforeText: /^(\\t|(\\ \\ ))*\\ \\*\\/\\s*$/,\n action: {\n indentAction: monaco_editor_core_exports.languages.IndentAction.None,\n removeText: 1\n }\n }\n ],\n autoClosingPairs: [\n { open: \"{\", close: \"}\" },\n { open: \"[\", close: \"]\" },\n { open: \"(\", close: \")\" },\n { open: '\"', close: '\"', notIn: [\"string\"] },\n { open: \"'\", close: \"'\", notIn: [\"string\", \"comment\"] },\n { open: \"`\", close: \"`\", notIn: [\"string\", \"comment\"] },\n { open: \"/**\", close: \" */\", notIn: [\"string\"] }\n ],\n folding: {\n markers: {\n start: new RegExp(\"^\\\\s*//\\\\s*#?region\\\\b\"),\n end: new RegExp(\"^\\\\s*//\\\\s*#?endregion\\\\b\")\n }\n }\n};\nvar language = {\n defaultToken: \"invalid\",\n tokenPostfix: \".ts\",\n keywords: [\n \"abstract\",\n \"any\",\n \"as\",\n \"asserts\",\n \"bigint\",\n \"boolean\",\n \"break\",\n \"case\",\n \"catch\",\n \"class\",\n \"continue\",\n \"const\",\n \"constructor\",\n \"debugger\",\n \"declare\",\n \"default\",\n \"delete\",\n \"do\",\n \"else\",\n \"enum\",\n \"export\",\n \"extends\",\n \"false\",\n \"finally\",\n \"for\",\n \"from\",\n \"function\",\n \"get\",\n \"if\",\n \"implements\",\n \"import\",\n \"in\",\n \"infer\",\n \"instanceof\",\n \"interface\",\n \"is\",\n \"keyof\",\n \"let\",\n \"module\",\n \"namespace\",\n \"never\",\n \"new\",\n \"null\",\n \"number\",\n \"object\",\n \"package\",\n \"private\",\n \"protected\",\n \"public\",\n \"override\",\n \"readonly\",\n \"require\",\n \"global\",\n \"return\",\n \"set\",\n \"static\",\n \"string\",\n \"super\",\n \"switch\",\n \"symbol\",\n \"this\",\n \"throw\",\n \"true\",\n \"try\",\n \"type\",\n \"typeof\",\n \"undefined\",\n \"unique\",\n \"unknown\",\n \"var\",\n \"void\",\n \"while\",\n \"with\",\n \"yield\",\n \"async\",\n \"await\",\n \"of\"\n ],\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 \">>>=\",\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 regexpctl: /[(){}\\[\\]\\$\\^|\\-*+?\\.]/,\n regexpesc: /\\\\(?:[bBdDfnrstvwWn0\\\\\\/]|@regexpctl|c[A-Z]|x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4})/,\n tokenizer: {\n root: [[/[{}]/, \"delimiter.bracket\"], { include: \"common\" }],\n common: [\n [\n /[a-z_$][\\w$]*/,\n {\n cases: {\n \"@keywords\": \"keyword\",\n \"@default\": \"identifier\"\n }\n }\n ],\n [/[A-Z][\\w\\$]*/, \"type.identifier\"],\n { include: \"@whitespace\" },\n [\n /\\/(?=([^\\\\\\/]|\\\\.)+\\/([dgimsuy]*)(\\s*)(\\.|;|,|\\)|\\]|\\}|$))/,\n { token: \"regexp\", bracket: \"@open\", next: \"@regexp\" }\n ],\n [/[()\\[\\]]/, \"@brackets\"],\n [/[<>](?!@symbols)/, \"@brackets\"],\n [/!(?=([^=]|$))/, \"delimiter\"],\n [\n /@symbols/,\n {\n cases: {\n \"@operators\": \"delimiter\",\n \"@default\": \"\"\n }\n }\n ],\n [/(@digits)[eE]([\\-+]?(@digits))?/, \"number.float\"],\n [/(@digits)\\.(@digits)([eE][\\-+]?(@digits))?/, \"number.float\"],\n [/0[xX](@hexdigits)n?/, \"number.hex\"],\n [/0[oO]?(@octaldigits)n?/, \"number.octal\"],\n [/0[bB](@binarydigits)n?/, \"number.binary\"],\n [/(@digits)n?/, \"number\"],\n [/[;,.]/, \"delimiter\"],\n [/\"([^\"\\\\]|\\\\.)*$/, \"string.invalid\"],\n [/'([^'\\\\]|\\\\.)*$/, \"string.invalid\"],\n [/\"/, \"string\", \"@string_double\"],\n [/'/, \"string\", \"@string_single\"],\n [/`/, \"string\", \"@string_backtick\"]\n ],\n whitespace: [\n [/[ \\t\\r\\n]+/, \"\"],\n [/\\/\\*\\*(?!\\/)/, \"comment.doc\", \"@jsdoc\"],\n [/\\/\\*/, \"comment\", \"@comment\"],\n [/\\/\\/.*$/, \"comment\"]\n ],\n comment: [\n [/[^\\/*]+/, \"comment\"],\n [/\\*\\//, \"comment\", \"@pop\"],\n [/[\\/*]/, \"comment\"]\n ],\n jsdoc: [\n [/[^\\/*]+/, \"comment.doc\"],\n [/\\*\\//, \"comment.doc\", \"@pop\"],\n [/[\\/*]/, \"comment.doc\"]\n ],\n regexp: [\n [\n /(\\{)(\\d+(?:,\\d*)?)(\\})/,\n [\"regexp.escape.control\", \"regexp.escape.control\", \"regexp.escape.control\"]\n ],\n [\n /(\\[)(\\^?)(?=(?:[^\\]\\\\\\/]|\\\\.)+)/,\n [\"regexp.escape.control\", { token: \"regexp.escape.control\", next: \"@regexrange\" }]\n ],\n [/(\\()(\\?:|\\?=|\\?!)/, [\"regexp.escape.control\", \"regexp.escape.control\"]],\n [/[()]/, \"regexp.escape.control\"],\n [/@regexpctl/, \"regexp.escape.control\"],\n [/[^\\\\\\/]/, \"regexp\"],\n [/@regexpesc/, \"regexp.escape\"],\n [/\\\\\\./, \"regexp.invalid\"],\n [/(\\/)([dgimsuy]*)/, [{ token: \"regexp\", bracket: \"@close\", next: \"@pop\" }, \"keyword.other\"]]\n ],\n regexrange: [\n [/-/, \"regexp.escape.control\"],\n [/\\^/, \"regexp.invalid\"],\n [/@regexpesc/, \"regexp.escape\"],\n [/[^\\]]/, \"regexp\"],\n [\n /\\]/,\n {\n token: \"regexp.escape.control\",\n next: \"@pop\",\n bracket: \"@close\"\n }\n ]\n ],\n string_double: [\n [/[^\\\\\"]+/, \"string\"],\n [/@escapes/, \"string.escape\"],\n [/\\\\./, \"string.escape.invalid\"],\n [/\"/, \"string\", \"@pop\"]\n ],\n string_single: [\n [/[^\\\\']+/, \"string\"],\n [/@escapes/, \"string.escape\"],\n [/\\\\./, \"string.escape.invalid\"],\n [/'/, \"string\", \"@pop\"]\n ],\n string_backtick: [\n [/\\$\\{/, { token: \"delimiter.bracket\", next: \"@bracketCounting\" }],\n [/[^\\\\`$]+/, \"string\"],\n [/@escapes/, \"string.escape\"],\n [/\\\\./, \"string.escape.invalid\"],\n [/`/, \"string\", \"@pop\"]\n ],\n bracketCounting: [\n [/\\{/, \"delimiter.bracket\", \"@bracketCounting\"],\n [/\\}/, \"delimiter.bracket\", \"@pop\"],\n { include: \"common\" }\n ]\n }\n};\nexport {\n conf,\n language\n};\n"],"names":["conf","language","defaultToken","tokenPostfix","keywords","typeKeywords","operators","symbols","escapes","digits","octaldigits","binarydigits","hexdigits","regexpctl","regexpesc","tokenizer","__defProp","Object","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty","monaco_editor_core_exports","value","target","module","desc","key","call","get","enumerable","__reExport","wordPattern","comments","lineComment","blockComment","brackets","onEnterRules","beforeText","afterText","action","indentAction","languages","IndentAction","IndentOutdent","appendText","None","removeText","autoClosingPairs","open","close","notIn","folding","markers","start","RegExp","end","root","include","common","cases","token","bracket","next","whitespace","comment","jsdoc","regexp","regexrange","string_double","string_single","string_backtick","bracketCounting"],"sourceRoot":""}
|