web-interface.assets.0f1f0f87ad7afd258956f34329de8643.js.map Maven / Gradle / Ivy
{"version":3,"sources":["webpack://graylog-web-interface/0f1f0f87ad7afd258956f34329de8643.js"],"sourcesContent":["ace.define(\"ace/mode/prql_highlight_rules\",[\"require\",\"exports\",\"module\",\"ace/lib/oop\",\"ace/mode/text_highlight_rules\"], function(require, exports, module){// https://prql-lang.org/\n\"use strict\";\nvar oop = require(\"../lib/oop\");\nvar TextHighlightRules = require(\"./text_highlight_rules\").TextHighlightRules;\nvar PrqlHighlightRules = function () {\n var builtinFunctions = \"min|max|sum|average|stddev|every|any|concat_array|count|\" +\n \"lag|lead|first|last|rank|rank_dense|row_number|\" +\n \"round|as|in|\" +\n \"tuple_every|tuple_map|tuple_zip|_eq|_is_null|\" +\n \"from_text|\" +\n \"lower|upper|\" +\n \"read_parquet|read_csv\";\n var builtinTypes = [\n \"bool\",\n \"int\",\n \"int8\",\n \"int16\",\n \"int32\",\n \"int64\",\n \"float\",\n \"text\",\n \"set\"\n ].join(\"|\");\n var keywordMapper = this.createKeywordMapper({\n \"constant.language\": \"null\",\n \"constant.language.boolean\": \"true|false\",\n \"keyword\": \"let|into|case|prql|type|module|internal\",\n \"storage.type\": \"let|func\",\n \"support.function\": builtinFunctions,\n \"support.type\": builtinTypes\n }, \"identifier\");\n var escapeRe = /\\\\(\\d+|['\"\\\\&bfnrt]|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{2})/;\n var identifierRe = /[A-Za-z_][a-z_A-Z0-9]/.source;\n var numRe = /(?:\\d\\d*(?:\\.\\d*)?|\\.\\d+)(?:[eE][+-]?\\d+\\b)?/.source;\n var bidi = \"[\\\\u202A\\\\u202B\\\\u202D\\\\u202E\\\\u2066\\\\u2067\\\\u2068\\\\u202C\\\\u2069]\";\n this.$rules = {\n start: [\n {\n token: \"string.start\",\n regex: 's?\"',\n next: \"string\"\n }, {\n token: \"string.start\",\n regex: 'f\"',\n next: \"fstring\"\n }, {\n token: \"string.start\",\n regex: 'r\"',\n next: \"rstring\"\n }, {\n token: \"string.single\",\n start: \"'\",\n end: \"'\"\n }, {\n token: \"string.character\",\n regex: \"'(?:\" + escapeRe.source + \"|.)'?\"\n }, {\n token: \"constant.language\",\n regex: \"^\" + identifierRe + \"*\"\n }, {\n token: [\"constant.numeric\", \"keyword\"],\n regex: \"(\" + numRe + \")(years|months|weeks|days|hours|minutes|seconds|milliseconds|microseconds)\"\n }, {\n token: \"constant.numeric\",\n regex: /0(?:[xX][0-9a-fA-F]+|[oO][0-7]+|[bB][01]+)\\b/\n }, {\n token: \"constant.numeric\",\n regex: numRe\n }, {\n token: \"comment.block.documentation\",\n regex: \"#!.*\"\n }, {\n token: \"comment.line.number-sign\",\n regex: \"#.*\"\n }, {\n token: \"keyword.operator\",\n regex: /\\|\\s*/,\n next: \"pipe\"\n }, {\n token: \"keyword.operator\",\n regex: /->|=>|==|!=|>=|<=|~=|&&|\\|\\||\\?\\?|\\/\\/|@/\n }, {\n token: \"invalid.illegal\",\n regex: bidi\n }, {\n token: \"punctuation.operator\",\n regex: /[,`]/\n }, {\n token: keywordMapper,\n regex: \"[\\\\w\\\\xff-\\\\u218e\\\\u2455-\\\\uffff]+\\\\b\"\n }, {\n token: \"paren.lparen\",\n regex: /[\\[({]/\n }, {\n token: \"paren.rparen\",\n regex: /[\\])}]/\n }\n ],\n pipe: [{\n token: \"constant.language\",\n regex: identifierRe + \"*\",\n next: \"pop\"\n }, {\n token: \"error\",\n regex: \"\",\n next: \"pop\"\n }],\n string: [{\n token: \"constant.character.escape\",\n regex: escapeRe\n }, {\n token: \"text\",\n regex: /\\\\(\\s|$)/,\n next: \"stringGap\"\n }, {\n token: \"string.end\",\n regex: '\"',\n next: \"start\"\n }, {\n token: \"invalid.illegal\",\n regex: bidi\n }, {\n defaultToken: \"string.double\"\n }],\n stringGap: [{\n token: \"text\",\n regex: /\\\\/,\n next: \"string\"\n }, {\n token: \"error\",\n regex: \"\",\n next: \"start\"\n }],\n fstring: [{\n token: \"constant.character.escape\",\n regex: escapeRe\n }, {\n token: \"string.end\",\n regex: '\"',\n next: \"start\"\n }, {\n token: \"invalid.illegal\",\n regex: bidi\n }, {\n token: \"paren.lparen\",\n regex: \"{\",\n push: \"fstringParenRules\"\n }, {\n token: \"invalid.illegal\",\n regex: bidi\n }, {\n defaultToken: \"string\"\n }],\n fstringParenRules: [{\n token: \"constant.language\",\n regex: \"^\" + identifierRe + \"*\"\n }, {\n token: \"paren.rparen\",\n regex: \"}\",\n next: \"pop\"\n }],\n rstring: [{\n token: \"string.end\",\n regex: '\"',\n next: \"start\"\n }, {\n token: \"invalid.illegal\",\n regex: bidi\n }, {\n defaultToken: \"string\"\n }]\n };\n this.normalizeRules();\n};\noop.inherits(PrqlHighlightRules, TextHighlightRules);\nexports.PrqlHighlightRules = PrqlHighlightRules;\n\n});\n\nace.define(\"ace/mode/folding/cstyle\",[\"require\",\"exports\",\"module\",\"ace/lib/oop\",\"ace/range\",\"ace/mode/folding/fold_mode\"], function(require, exports, module){\"use strict\";\nvar oop = require(\"../../lib/oop\");\nvar Range = require(\"../../range\").Range;\nvar BaseFoldMode = require(\"./fold_mode\").FoldMode;\nvar FoldMode = exports.FoldMode = function (commentRegex) {\n if (commentRegex) {\n this.foldingStartMarker = new RegExp(this.foldingStartMarker.source.replace(/\\|[^|]*?$/, \"|\" + commentRegex.start));\n this.foldingStopMarker = new RegExp(this.foldingStopMarker.source.replace(/\\|[^|]*?$/, \"|\" + commentRegex.end));\n }\n};\noop.inherits(FoldMode, BaseFoldMode);\n(function () {\n this.foldingStartMarker = /([\\{\\[\\(])[^\\}\\]\\)]*$|^\\s*(\\/\\*)/;\n this.foldingStopMarker = /^[^\\[\\{\\(]*([\\}\\]\\)])|^[\\s\\*]*(\\*\\/)/;\n this.singleLineBlockCommentRe = /^\\s*(\\/\\*).*\\*\\/\\s*$/;\n this.tripleStarBlockCommentRe = /^\\s*(\\/\\*\\*\\*).*\\*\\/\\s*$/;\n this.startRegionRe = /^\\s*(\\/\\*|\\/\\/)#?region\\b/;\n this._getFoldWidgetBase = this.getFoldWidget;\n this.getFoldWidget = function (session, foldStyle, row) {\n var line = session.getLine(row);\n if (this.singleLineBlockCommentRe.test(line)) {\n if (!this.startRegionRe.test(line) && !this.tripleStarBlockCommentRe.test(line))\n return \"\";\n }\n var fw = this._getFoldWidgetBase(session, foldStyle, row);\n if (!fw && this.startRegionRe.test(line))\n return \"start\"; // lineCommentRegionStart\n return fw;\n };\n this.getFoldWidgetRange = function (session, foldStyle, row, forceMultiline) {\n var line = session.getLine(row);\n if (this.startRegionRe.test(line))\n return this.getCommentRegionBlock(session, line, row);\n var match = line.match(this.foldingStartMarker);\n if (match) {\n var i = match.index;\n if (match[1])\n return this.openingBracketBlock(session, match[1], row, i);\n var range = session.getCommentFoldRange(row, i + match[0].length, 1);\n if (range && !range.isMultiLine()) {\n if (forceMultiline) {\n range = this.getSectionRange(session, row);\n }\n else if (foldStyle != \"all\")\n range = null;\n }\n return range;\n }\n if (foldStyle === \"markbegin\")\n return;\n var match = line.match(this.foldingStopMarker);\n if (match) {\n var i = match.index + match[0].length;\n if (match[1])\n return this.closingBracketBlock(session, match[1], row, i);\n return session.getCommentFoldRange(row, i, -1);\n }\n };\n this.getSectionRange = function (session, row) {\n var line = session.getLine(row);\n var startIndent = line.search(/\\S/);\n var startRow = row;\n var startColumn = line.length;\n row = row + 1;\n var endRow = row;\n var maxRow = session.getLength();\n while (++row < maxRow) {\n line = session.getLine(row);\n var indent = line.search(/\\S/);\n if (indent === -1)\n continue;\n if (startIndent > indent)\n break;\n var subRange = this.getFoldWidgetRange(session, \"all\", row);\n if (subRange) {\n if (subRange.start.row <= startRow) {\n break;\n }\n else if (subRange.isMultiLine()) {\n row = subRange.end.row;\n }\n else if (startIndent == indent) {\n break;\n }\n }\n endRow = row;\n }\n return new Range(startRow, startColumn, endRow, session.getLine(endRow).length);\n };\n this.getCommentRegionBlock = function (session, line, row) {\n var startColumn = line.search(/\\s*$/);\n var maxRow = session.getLength();\n var startRow = row;\n var re = /^\\s*(?:\\/\\*|\\/\\/|--)#?(end)?region\\b/;\n var depth = 1;\n while (++row < maxRow) {\n line = session.getLine(row);\n var m = re.exec(line);\n if (!m)\n continue;\n if (m[1])\n depth--;\n else\n depth++;\n if (!depth)\n break;\n }\n var endRow = row;\n if (endRow > startRow) {\n return new Range(startRow, startColumn, endRow, line.length);\n }\n };\n}).call(FoldMode.prototype);\n\n});\n\nace.define(\"ace/mode/prql\",[\"require\",\"exports\",\"module\",\"ace/lib/oop\",\"ace/mode/text\",\"ace/mode/prql_highlight_rules\",\"ace/mode/folding/cstyle\"], function(require, exports, module){\"use strict\";\nvar oop = require(\"../lib/oop\");\nvar TextMode = require(\"./text\").Mode;\nvar HighlightRules = require(\"./prql_highlight_rules\").PrqlHighlightRules;\nvar FoldMode = require(\"./folding/cstyle\").FoldMode;\nvar Mode = function () {\n this.HighlightRules = HighlightRules;\n this.foldingRules = new FoldMode();\n this.$behaviour = this.$defaultBehaviour;\n};\noop.inherits(Mode, TextMode);\n(function () {\n this.lineCommentStart = \"#\";\n this.$id = \"ace/mode/prql\";\n}).call(Mode.prototype);\nexports.Mode = Mode;\n\n}); (function() {\n ace.require([\"ace/mode/prql\"], function(m) {\n if (typeof module == \"object\" && typeof exports == \"object\" && module) {\n module.exports = m;\n }\n });\n })();\n "],"mappings":"oEAAA,IAAAA,EAAAC,EAAA,CAAAC,EAAAC,IAAA,KAAI,OAAO,gCAAgC,CAAC,UAAU,UAAU,SAAS,cAAc,+BAA+B,EAAG,SAASC,EAASF,EAASC,EAAO,CAC3J,aACA,IAAIE,EAAMD,EAAQ,YAAY,EAC1BE,EAAqBF,EAAQ,wBAAwB,EAAE,mBACvDG,EAAqB,UAAY,CACjC,IAAIC,EAAmB,8MAOnBC,EAAe,CACf,OACA,MACA,OACA,QACA,QACA,QACA,QACA,OACA,KACJ,EAAE,KAAK,GAAG,EACNC,EAAgB,KAAK,oBAAoB,CACzC,oBAAq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AAG,SAASb,EAASF,EAASC,EAAO,CAAC,aACtL,IAAIE,EAAMD,EAAQ,YAAY,EAC1BiC,EAAWjC,EAAQ,QAAQ,EAAE,KAC7BkC,EAAiBlC,EAAQ,wBAAwB,EAAE,mBACnDa,EAAWb,EAAQ,kBAAkB,EAAE,SACvCmC,EAAO,UAAY,CACnB,KAAK,eAAiBD,EACtB,KAAK,aAAe,IAAIrB,EACxB,KAAK,WAAa,KAAK,iBAC3B,EACAZ,EAAI,SAASkC,EAAMF,CAAQ,GAC1B,UAAY,CACT,KAAK,iBAAmB,IACxB,KAAK,IAAM,eACf,GAAG,KAAKE,EAAK,SAAS,EACtBrC,EAAQ,KAAOqC,CAEf,CAAC,GAAmB,UAAW,CACX,IAAI,QAAQ,CAAC,eAAe,EAAG,SAASH,EAAG,CACnC,OAAOjC,GAAU,UAAY,OAAOD,GAAW,UAAYC,IAC3DA,EAAO,QAAUiC,EAEzB,CAAC,CACL,GAAG","names":["require_f1f0f87ad7afd258956f34329de8643","__commonJSMin","exports","module","require","oop","TextHighlightRules","PrqlHighlightRules","builtinFunctions","builtinTypes","keywordMapper","escapeRe","identifierRe","numRe","bidi","Range","BaseFoldMode","FoldMode","commentRegex","session","foldStyle","row","line","fw","forceMultiline","match","range","startIndent","startRow","startColumn","endRow","maxRow","indent","subRange","re","depth","m","TextMode","HighlightRules","Mode"],"sourceRoot":"","file":"0f1f0f87ad7afd258956f34329de8643.js"}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy