2898.ee30259e67861985f3ac.js.map 20 KB

1
  1. {"version":3,"file":"2898.ee30259e67861985f3ac.js","mappings":";6IAQA,IAAIA,EAAO,CACTC,SAAU,CACRC,YAAa,IACbC,aAAc,CAAC,SAAU,SAE3BC,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,MAEtBE,iBAAkB,CAChBC,sBAAuB,IAAIC,OAAO,2MAClCC,sBAAuB,IAAID,OAAO,8FAGlCE,EAAW,CACbC,aAAc,QACdC,SAAU,CACR,WACA,eACA,WACA,QACA,MACA,QACA,MACA,QACA,QACA,OACA,QACA,MACA,WACA,KACA,OACA,QACA,MACA,SACA,MACA,QACA,KACA,KACA,SACA,OACA,MACA,MACA,KACA,OACA,SACA,QACA,SACA,OACA,QACA,OACA,OACA,QACA,SACA,QACA,OACA,QACA,SAEFC,WAAY,CAAC,KAAM,KAAM,MAAO,IAAK,IAAK,MAC1CC,SAAU,CACR,UACA,SACA,UACA,UACA,SACA,cACA,YACA,uBACA,yBACA,OAEFC,aAAc,CACZ,SACA,QACA,MACA,OACA,KACA,QACA,MACA,KACA,QACA,QACA,UAEFC,UAAW,CAAC,MAAO,OAAQ,KAAM,QAAS,MAAO,KAAM,QAAS,QAAS,UACzEC,UAAW,CACT,IACA,IACA,IACA,MACA,KACA,MACA,KACA,KACA,IACA,KACA,IACA,KACA,KACA,KACA,IACA,IACA,IACA,IACA,IACA,KACA,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QAC5B,CAAC,MAAO","sources":["webpack://grafana/../../opt/drone/yarncache/monaco-editor-npm-0.31.1-d8d5ee78bb-65be40c557.zip/node_modules/monaco-editor/esm/vs/basic-languages/ruby/ruby.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/ruby/ruby.ts\nvar conf = {\n comments: {\n lineComment: \"#\",\n blockComment: [\"=begin\", \"=end\"]\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 ],\n indentationRules: {\n increaseIndentPattern: new RegExp(`^\\\\s*((begin|class|(private|protected)\\\\s+def|def|else|elsif|ensure|for|if|module|rescue|unless|until|when|while|case)|([^#]*\\\\sdo\\\\b)|([^#]*=\\\\s*(case|if|unless)))\\\\b([^#\\\\{;]|(\"|'|/).*\\\\4)*(#.*)?$`),\n decreaseIndentPattern: new RegExp(\"^\\\\s*([}\\\\]]([,)]?\\\\s*(#|$)|\\\\.[a-zA-Z_]\\\\w*\\\\b)|(end|rescue|ensure|else|elsif|when)\\\\b)\")\n }\n};\nvar language = {\n tokenPostfix: \".ruby\",\n keywords: [\n \"__LINE__\",\n \"__ENCODING__\",\n \"__FILE__\",\n \"BEGIN\",\n \"END\",\n \"alias\",\n \"and\",\n \"begin\",\n \"break\",\n \"case\",\n \"class\",\n \"def\",\n \"defined?\",\n \"do\",\n \"else\",\n \"elsif\",\n \"end\",\n \"ensure\",\n \"for\",\n \"false\",\n \"if\",\n \"in\",\n \"module\",\n \"next\",\n \"nil\",\n \"not\",\n \"or\",\n \"redo\",\n \"rescue\",\n \"retry\",\n \"return\",\n \"self\",\n \"super\",\n \"then\",\n \"true\",\n \"undef\",\n \"unless\",\n \"until\",\n \"when\",\n \"while\",\n \"yield\"\n ],\n keywordops: [\"::\", \"..\", \"...\", \"?\", \":\", \"=>\"],\n builtins: [\n \"require\",\n \"public\",\n \"private\",\n \"include\",\n \"extend\",\n \"attr_reader\",\n \"protected\",\n \"private_class_method\",\n \"protected_class_method\",\n \"new\"\n ],\n declarations: [\n \"module\",\n \"class\",\n \"def\",\n \"case\",\n \"do\",\n \"begin\",\n \"for\",\n \"if\",\n \"while\",\n \"until\",\n \"unless\"\n ],\n linedecls: [\"def\", \"case\", \"do\", \"begin\", \"for\", \"if\", \"while\", \"until\", \"unless\"],\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 brackets: [\n { open: \"(\", close: \")\", token: \"delimiter.parenthesis\" },\n { open: \"{\", close: \"}\", token: \"delimiter.curly\" },\n { open: \"[\", close: \"]\", token: \"delimiter.square\" }\n ],\n symbols: /[=><!~?:&|+\\-*\\/\\^%\\.]+/,\n escape: /(?:[abefnrstv\\\\\"'\\n\\r]|[0-7]{1,3}|x[0-9A-Fa-f]{1,2}|u[0-9A-Fa-f]{4})/,\n escapes: /\\\\(?:C\\-(@escape|.)|c(@escape|.)|@escape)/,\n decpart: /\\d(_?\\d)*/,\n decimal: /0|@decpart/,\n delim: /[^a-zA-Z0-9\\s\\n\\r]/,\n heredelim: /(?:\\w+|'[^']*'|\"[^\"]*\"|`[^`]*`)/,\n regexpctl: /[(){}\\[\\]\\$\\^|\\-*+?\\.]/,\n regexpesc: /\\\\(?:[AzZbBdDfnrstvwWn0\\\\\\/]|@regexpctl|c[A-Z]|x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4})?/,\n tokenizer: {\n root: [\n [\n /^(\\s*)([a-z_]\\w*[!?=]?)/,\n [\n \"white\",\n {\n cases: {\n \"for|until|while\": {\n token: \"keyword.$2\",\n next: \"@dodecl.$2\"\n },\n \"@declarations\": {\n token: \"keyword.$2\",\n next: \"@root.$2\"\n },\n end: { token: \"keyword.$S2\", next: \"@pop\" },\n \"@keywords\": \"keyword\",\n \"@builtins\": \"predefined\",\n \"@default\": \"identifier\"\n }\n }\n ]\n ],\n [\n /[a-z_]\\w*[!?=]?/,\n {\n cases: {\n \"if|unless|while|until\": {\n token: \"keyword.$0x\",\n next: \"@modifier.$0x\"\n },\n for: { token: \"keyword.$2\", next: \"@dodecl.$2\" },\n \"@linedecls\": { token: \"keyword.$0\", next: \"@root.$0\" },\n end: { token: \"keyword.$S2\", next: \"@pop\" },\n \"@keywords\": \"keyword\",\n \"@builtins\": \"predefined\",\n \"@default\": \"identifier\"\n }\n }\n ],\n [/[A-Z][\\w]*[!?=]?/, \"constructor.identifier\"],\n [/\\$[\\w]*/, \"global.constant\"],\n [/@[\\w]*/, \"namespace.instance.identifier\"],\n [/@@@[\\w]*/, \"namespace.class.identifier\"],\n [/<<[-~](@heredelim).*/, { token: \"string.heredoc.delimiter\", next: \"@heredoc.$1\" }],\n [/[ \\t\\r\\n]+<<(@heredelim).*/, { token: \"string.heredoc.delimiter\", next: \"@heredoc.$1\" }],\n [/^<<(@heredelim).*/, { token: \"string.heredoc.delimiter\", next: \"@heredoc.$1\" }],\n { include: \"@whitespace\" },\n [/\"/, { token: \"string.d.delim\", next: '@dstring.d.\"' }],\n [/'/, { token: \"string.sq.delim\", next: \"@sstring.sq\" }],\n [/%([rsqxwW]|Q?)/, { token: \"@rematch\", next: \"pstring\" }],\n [/`/, { token: \"string.x.delim\", next: \"@dstring.x.`\" }],\n [/:(\\w|[$@])\\w*[!?=]?/, \"string.s\"],\n [/:\"/, { token: \"string.s.delim\", next: '@dstring.s.\"' }],\n [/:'/, { token: \"string.s.delim\", next: \"@sstring.s\" }],\n [/\\/(?=(\\\\\\/|[^\\/\\n])+\\/)/, { token: \"regexp.delim\", next: \"@regexp\" }],\n [/[{}()\\[\\]]/, \"@brackets\"],\n [\n /@symbols/,\n {\n cases: {\n \"@keywordops\": \"keyword\",\n \"@operators\": \"operator\",\n \"@default\": \"\"\n }\n }\n ],\n [/[;,]/, \"delimiter\"],\n [/0[xX][0-9a-fA-F](_?[0-9a-fA-F])*/, \"number.hex\"],\n [/0[_oO][0-7](_?[0-7])*/, \"number.octal\"],\n [/0[bB][01](_?[01])*/, \"number.binary\"],\n [/0[dD]@decpart/, \"number\"],\n [\n /@decimal((\\.@decpart)?([eE][\\-+]?@decpart)?)/,\n {\n cases: {\n $1: \"number.float\",\n \"@default\": \"number\"\n }\n }\n ]\n ],\n dodecl: [\n [/^/, { token: \"\", switchTo: \"@root.$S2\" }],\n [\n /[a-z_]\\w*[!?=]?/,\n {\n cases: {\n end: { token: \"keyword.$S2\", next: \"@pop\" },\n do: { token: \"keyword\", switchTo: \"@root.$S2\" },\n \"@linedecls\": {\n token: \"@rematch\",\n switchTo: \"@root.$S2\"\n },\n \"@keywords\": \"keyword\",\n \"@builtins\": \"predefined\",\n \"@default\": \"identifier\"\n }\n }\n ],\n { include: \"@root\" }\n ],\n modifier: [\n [/^/, \"\", \"@pop\"],\n [\n /[a-z_]\\w*[!?=]?/,\n {\n cases: {\n end: { token: \"keyword.$S2\", next: \"@pop\" },\n \"then|else|elsif|do\": {\n token: \"keyword\",\n switchTo: \"@root.$S2\"\n },\n \"@linedecls\": {\n token: \"@rematch\",\n switchTo: \"@root.$S2\"\n },\n \"@keywords\": \"keyword\",\n \"@builtins\": \"predefined\",\n \"@default\": \"identifier\"\n }\n }\n ],\n { include: \"@root\" }\n ],\n sstring: [\n [/[^\\\\']+/, \"string.$S2\"],\n [/\\\\\\\\|\\\\'|\\\\$/, \"string.$S2.escape\"],\n [/\\\\./, \"string.$S2.invalid\"],\n [/'/, { token: \"string.$S2.delim\", next: \"@pop\" }]\n ],\n dstring: [\n [/[^\\\\`\"#]+/, \"string.$S2\"],\n [/#/, \"string.$S2.escape\", \"@interpolated\"],\n [/\\\\$/, \"string.$S2.escape\"],\n [/@escapes/, \"string.$S2.escape\"],\n [/\\\\./, \"string.$S2.escape.invalid\"],\n [\n /[`\"]/,\n {\n cases: {\n \"$#==$S3\": { token: \"string.$S2.delim\", next: \"@pop\" },\n \"@default\": \"string.$S2\"\n }\n }\n ]\n ],\n heredoc: [\n [\n /^(\\s*)(@heredelim)$/,\n {\n cases: {\n \"$2==$S2\": [\"string.heredoc\", { token: \"string.heredoc.delimiter\", next: \"@pop\" }],\n \"@default\": [\"string.heredoc\", \"string.heredoc\"]\n }\n }\n ],\n [/.*/, \"string.heredoc\"]\n ],\n interpolated: [\n [/\\$\\w*/, \"global.constant\", \"@pop\"],\n [/@\\w*/, \"namespace.class.identifier\", \"@pop\"],\n [/@@@\\w*/, \"namespace.instance.identifier\", \"@pop\"],\n [\n /[{]/,\n {\n token: \"string.escape.curly\",\n switchTo: \"@interpolated_compound\"\n }\n ],\n [\"\", \"\", \"@pop\"]\n ],\n interpolated_compound: [\n [/[}]/, { token: \"string.escape.curly\", next: \"@pop\" }],\n { include: \"@root\" }\n ],\n pregexp: [\n { include: \"@whitespace\" },\n [\n /[^\\(\\{\\[\\\\]/,\n {\n cases: {\n \"$#==$S3\": { token: \"regexp.delim\", next: \"@pop\" },\n \"$#==$S2\": { token: \"regexp.delim\", next: \"@push\" },\n \"~[)}\\\\]]\": \"@brackets.regexp.escape.control\",\n \"~@regexpctl\": \"regexp.escape.control\",\n \"@default\": \"regexp\"\n }\n }\n ],\n { include: \"@regexcontrol\" }\n ],\n regexp: [\n { include: \"@regexcontrol\" },\n [/[^\\\\\\/]/, \"regexp\"],\n [\"/[ixmp]*\", { token: \"regexp.delim\" }, \"@pop\"]\n ],\n regexcontrol: [\n [\n /(\\{)(\\d+(?:,\\d*)?)(\\})/,\n [\n \"@brackets.regexp.escape.control\",\n \"regexp.escape.control\",\n \"@brackets.regexp.escape.control\"\n ]\n ],\n [\n /(\\[)(\\^?)/,\n [\"@brackets.regexp.escape.control\", { token: \"regexp.escape.control\", next: \"@regexrange\" }]\n ],\n [/(\\()(\\?[:=!])/, [\"@brackets.regexp.escape.control\", \"regexp.escape.control\"]],\n [/\\(\\?#/, { token: \"regexp.escape.control\", next: \"@regexpcomment\" }],\n [/[()]/, \"@brackets.regexp.escape.control\"],\n [/@regexpctl/, \"regexp.escape.control\"],\n [/\\\\$/, \"regexp.escape\"],\n [/@regexpesc/, \"regexp.escape\"],\n [/\\\\\\./, \"regexp.invalid\"],\n [/#/, \"regexp.escape\", \"@interpolated\"]\n ],\n regexrange: [\n [/-/, \"regexp.escape.control\"],\n [/\\^/, \"regexp.invalid\"],\n [/\\\\$/, \"regexp.escape\"],\n [/@regexpesc/, \"regexp.escape\"],\n [/[^\\]]/, \"regexp\"],\n [/\\]/, \"@brackets.regexp.escape.control\", \"@pop\"]\n ],\n regexpcomment: [\n [/[^)]+/, \"comment\"],\n [/\\)/, { token: \"regexp.escape.control\", next: \"@pop\" }]\n ],\n pstring: [\n [/%([qws])\\(/, { token: \"string.$1.delim\", switchTo: \"@qstring.$1.(.)\" }],\n [/%([qws])\\[/, { token: \"string.$1.delim\", switchTo: \"@qstring.$1.[.]\" }],\n [/%([qws])\\{/, { token: \"string.$1.delim\", switchTo: \"@qstring.$1.{.}\" }],\n [/%([qws])</, { token: \"string.$1.delim\", switchTo: \"@qstring.$1.<.>\" }],\n [/%([qws])(@delim)/, { token: \"string.$1.delim\", switchTo: \"@qstring.$1.$2.$2\" }],\n [/%r\\(/, { token: \"regexp.delim\", switchTo: \"@pregexp.(.)\" }],\n [/%r\\[/, { token: \"regexp.delim\", switchTo: \"@pregexp.[.]\" }],\n [/%r\\{/, { token: \"regexp.delim\", switchTo: \"@pregexp.{.}\" }],\n [/%r</, { token: \"regexp.delim\", switchTo: \"@pregexp.<.>\" }],\n [/%r(@delim)/, { token: \"regexp.delim\", switchTo: \"@pregexp.$1.$1\" }],\n [/%(x|W|Q?)\\(/, { token: \"string.$1.delim\", switchTo: \"@qqstring.$1.(.)\" }],\n [/%(x|W|Q?)\\[/, { token: \"string.$1.delim\", switchTo: \"@qqstring.$1.[.]\" }],\n [/%(x|W|Q?)\\{/, { token: \"string.$1.delim\", switchTo: \"@qqstring.$1.{.}\" }],\n [/%(x|W|Q?)</, { token: \"string.$1.delim\", switchTo: \"@qqstring.$1.<.>\" }],\n [/%(x|W|Q?)(@delim)/, { token: \"string.$1.delim\", switchTo: \"@qqstring.$1.$2.$2\" }],\n [/%([rqwsxW]|Q?)./, { token: \"invalid\", next: \"@pop\" }],\n [/./, { token: \"invalid\", next: \"@pop\" }]\n ],\n qstring: [\n [/\\\\$/, \"string.$S2.escape\"],\n [/\\\\./, \"string.$S2.escape\"],\n [\n /./,\n {\n cases: {\n \"$#==$S4\": { token: \"string.$S2.delim\", next: \"@pop\" },\n \"$#==$S3\": { token: \"string.$S2.delim\", next: \"@push\" },\n \"@default\": \"string.$S2\"\n }\n }\n ]\n ],\n qqstring: [[/#/, \"string.$S2.escape\", \"@interpolated\"], { include: \"@qstring\" }],\n whitespace: [\n [/[ \\t\\r\\n]+/, \"\"],\n [/^\\s*=begin\\b/, \"comment\", \"@comment\"],\n [/#.*$/, \"comment\"]\n ],\n comment: [\n [/[^=]+/, \"comment\"],\n [/^\\s*=begin\\b/, \"comment.invalid\"],\n [/^\\s*=end\\b.*/, \"comment\", \"@pop\"],\n [/[=]/, \"comment\"]\n ]\n }\n};\nexport {\n conf,\n language\n};\n"],"names":["conf","comments","lineComment","blockComment","brackets","autoClosingPairs","open","close","surroundingPairs","indentationRules","increaseIndentPattern","RegExp","decreaseIndentPattern","language","tokenPostfix","keywords","keywordops","builtins","declarations","linedecls","operators","token","symbols","escape","escapes","decpart","decimal","delim","heredelim","regexpctl","regexpesc","tokenizer","root","cases","next","end","for","include","$1","dodecl","switchTo","do","modifier","sstring","dstring","heredoc","interpolated","interpolated_compound","pregexp","regexp","regexcontrol","regexrange","regexpcomment","pstring","qstring","qqstring","whitespace","comment"],"sourceRoot":""}