web-interface.assets.1ab96c77da77918d9160c787732c68a6.js.map Maven / Gradle / Ivy
{"version":3,"sources":["webpack://graylog-web-interface/1ab96c77da77918d9160c787732c68a6.js"],"sourcesContent":["ace.define(\"ace/mode/yaml_highlight_rules\",[\"require\",\"exports\",\"module\",\"ace/lib/oop\",\"ace/mode/text_highlight_rules\"], function(require, exports, module){\"use strict\";\nvar oop = require(\"../lib/oop\");\nvar TextHighlightRules = require(\"./text_highlight_rules\").TextHighlightRules;\nvar YamlHighlightRules = function () {\n this.$rules = {\n \"start\": [\n {\n token: \"comment\",\n regex: \"#.*$\"\n }, {\n token: \"list.markup\",\n regex: /^(?:-{3}|\\.{3})\\s*(?=#|$)/\n }, {\n token: \"list.markup\",\n regex: /^\\s*[\\-?](?:$|\\s)/\n }, {\n token: \"constant\",\n regex: \"!![\\\\w//]+\"\n }, {\n token: \"constant.language\",\n regex: \"[&\\\\*][a-zA-Z0-9-_]+\"\n }, {\n token: [\"meta.tag\", \"keyword\"],\n regex: /^(\\s*\\w[^\\s:]*?)(:(?=\\s|$))/\n }, {\n token: [\"meta.tag\", \"keyword\"],\n regex: /(\\w[^\\s:]*?)(\\s*:(?=\\s|$))/\n }, {\n token: \"keyword.operator\",\n regex: \"<<\\\\w*:\\\\w*\"\n }, {\n token: \"keyword.operator\",\n regex: \"-\\\\s*(?=[{])\"\n }, {\n token: \"string\",\n regex: '[\"](?:(?:\\\\\\\\.)|(?:[^\"\\\\\\\\]))*?[\"]'\n }, {\n token: \"string\",\n regex: /[|>][-+\\d]*(?:$|\\s+(?:$|#))/,\n onMatch: function (val, state, stack, line) {\n line = line.replace(/ #.*/, \"\");\n var indent = /^ *((:\\s*)?-(\\s*[^|>])?)?/.exec(line)[0]\n .replace(/\\S\\s*$/, \"\").length;\n var indentationIndicator = parseInt(/\\d+[\\s+-]*$/.exec(line));\n if (indentationIndicator) {\n indent += indentationIndicator - 1;\n this.next = \"mlString\";\n }\n else {\n this.next = \"mlStringPre\";\n }\n if (!stack.length) {\n stack.push(this.next);\n stack.push(indent);\n }\n else {\n stack[0] = this.next;\n stack[1] = indent;\n }\n return this.token;\n },\n next: \"mlString\"\n }, {\n token: \"string\",\n regex: \"['](?:(?:\\\\\\\\.)|(?:[^'\\\\\\\\]))*?[']\"\n }, {\n token: \"constant.numeric\",\n regex: /(\\b|[+\\-\\.])[\\d_]+(?:(?:\\.[\\d_]*)?(?:[eE][+\\-]?[\\d_]+)?)(?=[^\\d-\\w]|$)$/\n }, {\n token: \"constant.numeric\",\n regex: /[+\\-]?\\.inf\\b|NaN\\b|0x[\\dA-Fa-f_]+|0b[10_]+/\n }, {\n token: \"constant.language.boolean\",\n regex: \"\\\\b(?:true|false|TRUE|FALSE|True|False|yes|no)\\\\b\"\n }, {\n token: \"paren.lparen\",\n regex: \"[[({]\"\n }, {\n token: \"paren.rparen\",\n regex: \"[\\\\])}]\"\n }, {\n token: \"text\",\n regex: /[^\\s,:\\[\\]\\{\\}]+/\n }\n ],\n \"mlStringPre\": [\n {\n token: \"indent\",\n regex: /^ *$/\n }, {\n token: \"indent\",\n regex: /^ */,\n onMatch: function (val, state, stack) {\n var curIndent = stack[1];\n if (curIndent >= val.length) {\n this.next = \"start\";\n stack.shift();\n stack.shift();\n }\n else {\n stack[1] = val.length - 1;\n this.next = stack[0] = \"mlString\";\n }\n return this.token;\n },\n next: \"mlString\"\n }, {\n defaultToken: \"string\"\n }\n ],\n \"mlString\": [\n {\n token: \"indent\",\n regex: /^ *$/\n }, {\n token: \"indent\",\n regex: /^ */,\n onMatch: function (val, state, stack) {\n var curIndent = stack[1];\n if (curIndent >= val.length) {\n this.next = \"start\";\n stack.splice(0);\n }\n else {\n this.next = \"mlString\";\n }\n return this.token;\n },\n next: \"mlString\"\n }, {\n token: \"string\",\n regex: '.+'\n }\n ]\n };\n this.normalizeRules();\n};\noop.inherits(YamlHighlightRules, TextHighlightRules);\nexports.YamlHighlightRules = YamlHighlightRules;\n\n});\n\nace.define(\"ace/mode/matching_brace_outdent\",[\"require\",\"exports\",\"module\",\"ace/range\"], function(require, exports, module){\"use strict\";\nvar Range = require(\"../range\").Range;\nvar MatchingBraceOutdent = function () { };\n(function () {\n this.checkOutdent = function (line, input) {\n if (!/^\\s+$/.test(line))\n return false;\n return /^\\s*\\}/.test(input);\n };\n this.autoOutdent = function (doc, row) {\n var line = doc.getLine(row);\n var match = line.match(/^(\\s*\\})/);\n if (!match)\n return 0;\n var column = match[1].length;\n var openBracePos = doc.findMatchingBracket({ row: row, column: column });\n if (!openBracePos || openBracePos.row == row)\n return 0;\n var indent = this.$getIndent(doc.getLine(openBracePos.row));\n doc.replace(new Range(row, 0, row, column - 1), indent);\n };\n this.$getIndent = function (line) {\n return line.match(/^\\s*/)[0];\n };\n}).call(MatchingBraceOutdent.prototype);\nexports.MatchingBraceOutdent = MatchingBraceOutdent;\n\n});\n\nace.define(\"ace/mode/folding/coffee\",[\"require\",\"exports\",\"module\",\"ace/lib/oop\",\"ace/mode/folding/fold_mode\",\"ace/range\"], function(require, exports, module){\"use strict\";\nvar oop = require(\"../../lib/oop\");\nvar BaseFoldMode = require(\"./fold_mode\").FoldMode;\nvar Range = require(\"../../range\").Range;\nvar FoldMode = exports.FoldMode = function () { };\noop.inherits(FoldMode, BaseFoldMode);\n(function () {\n this.getFoldWidgetRange = function (session, foldStyle, row) {\n var range = this.indentationBlock(session, row);\n if (range)\n return range;\n var re = /\\S/;\n var line = session.getLine(row);\n var startLevel = line.search(re);\n if (startLevel == -1 || line[startLevel] != \"#\")\n return;\n var startColumn = line.length;\n var maxRow = session.getLength();\n var startRow = row;\n var endRow = row;\n while (++row < maxRow) {\n line = session.getLine(row);\n var level = line.search(re);\n if (level == -1)\n continue;\n if (line[level] != \"#\")\n break;\n endRow = row;\n }\n if (endRow > startRow) {\n var endColumn = session.getLine(endRow).length;\n return new Range(startRow, startColumn, endRow, endColumn);\n }\n };\n this.getFoldWidget = function (session, foldStyle, row) {\n var line = session.getLine(row);\n var indent = line.search(/\\S/);\n var next = session.getLine(row + 1);\n var prev = session.getLine(row - 1);\n var prevIndent = prev.search(/\\S/);\n var nextIndent = next.search(/\\S/);\n if (indent == -1) {\n session.foldWidgets[row - 1] = prevIndent != -1 && prevIndent < nextIndent ? \"start\" : \"\";\n return \"\";\n }\n if (prevIndent == -1) {\n if (indent == nextIndent && line[indent] == \"#\" && next[indent] == \"#\") {\n session.foldWidgets[row - 1] = \"\";\n session.foldWidgets[row + 1] = \"\";\n return \"start\";\n }\n }\n else if (prevIndent == indent && line[indent] == \"#\" && prev[indent] == \"#\") {\n if (session.getLine(row - 2).search(/\\S/) == -1) {\n session.foldWidgets[row - 1] = \"start\";\n session.foldWidgets[row + 1] = \"\";\n return \"\";\n }\n }\n if (prevIndent != -1 && prevIndent < indent)\n session.foldWidgets[row - 1] = \"start\";\n else\n session.foldWidgets[row - 1] = \"\";\n if (indent < nextIndent)\n return \"start\";\n else\n return \"\";\n };\n}).call(FoldMode.prototype);\n\n});\n\nace.define(\"ace/mode/yaml\",[\"require\",\"exports\",\"module\",\"ace/lib/oop\",\"ace/mode/text\",\"ace/mode/yaml_highlight_rules\",\"ace/mode/matching_brace_outdent\",\"ace/mode/folding/coffee\",\"ace/worker/worker_client\"], function(require, exports, module){\"use strict\";\nvar oop = require(\"../lib/oop\");\nvar TextMode = require(\"./text\").Mode;\nvar YamlHighlightRules = require(\"./yaml_highlight_rules\").YamlHighlightRules;\nvar MatchingBraceOutdent = require(\"./matching_brace_outdent\").MatchingBraceOutdent;\nvar FoldMode = require(\"./folding/coffee\").FoldMode;\nvar WorkerClient = require(\"../worker/worker_client\").WorkerClient;\nvar Mode = function () {\n this.HighlightRules = YamlHighlightRules;\n this.$outdent = new MatchingBraceOutdent();\n this.foldingRules = new FoldMode();\n this.$behaviour = this.$defaultBehaviour;\n};\noop.inherits(Mode, TextMode);\n(function () {\n this.lineCommentStart = [\"#\"];\n this.getNextLineIndent = function (state, line, tab) {\n var indent = this.$getIndent(line);\n if (state == \"start\") {\n var match = line.match(/^.*[\\{\\(\\[]\\s*$/);\n if (match) {\n indent += tab;\n }\n }\n return indent;\n };\n this.checkOutdent = function (state, line, input) {\n return this.$outdent.checkOutdent(line, input);\n };\n this.autoOutdent = function (state, doc, row) {\n this.$outdent.autoOutdent(doc, row);\n };\n this.createWorker = function (session) {\n var worker = new WorkerClient([\"ace\"], \"ace/mode/yaml_worker\", \"YamlWorker\");\n worker.attachToDocument(session.getDocument());\n worker.on(\"annotate\", function (results) {\n session.setAnnotations(results.data);\n });\n worker.on(\"terminate\", function () {\n session.clearAnnotations();\n });\n return worker;\n };\n this.$id = \"ace/mode/yaml\";\n}).call(Mode.prototype);\nexports.Mode = Mode;\n\n}); (function() {\n ace.require([\"ace/mode/yaml\"], 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,CAAC,aAC5J,IAAIE,EAAMD,EAAQ,YAAY,EAC1BE,EAAqBF,EAAQ,wBAAwB,EAAE,mBACvDG,EAAqB,UAAY,CACjC,KAAK,OAAS,CACV,MAAS,CACL,CACI,MAAO,UACP,MAAO,MACX,EAAG,CACC,MAAO,cACP,MAAO,2BACX,EAAG,CACC,MAAO,cACP,MAAO,mBACX,EAAG,CACC,MAAO,WACP,MAAO,YACX,EAAG,CACC,MAAO,oBACP,MAAO,sBACX,EAAG,CACC,MAAO,CAAC,WAAY,SAAS,EAC7B,MAAO,6BACX,EAAG,CACC,MAAO,CAAC,WAAY,SAAS,EAC7B,MAAO,4BACX,EAAG,CACC,MAAO,mBACP,MAAO,aACX,EAAG,CACC,MAAO,mBACP,MAAO,cACX,EAAG,CACC,MAAO,SACP,MAAO,oCACX,EAAG,CACC,MAAO,SACP,MAAO,8BACP,QAAS,SAAUC,EAAKC,EAAOC,EA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,GAAS,QAAS,CAClB,IAAIW,EAAQT,EAAK,MAAM,iBAAiB,EACpCS,IACAR,GAAU+B,EAElB,CACA,OAAO/B,CACX,EACA,KAAK,aAAe,SAAUH,EAAOE,EAAMM,EAAO,CAC9C,OAAO,KAAK,SAAS,aAAaN,EAAMM,CAAK,CACjD,EACA,KAAK,YAAc,SAAUR,EAAOS,EAAKC,EAAK,CAC1C,KAAK,SAAS,YAAYD,EAAKC,CAAG,CACtC,EACA,KAAK,aAAe,SAAUM,EAAS,CACnC,IAAImB,EAAS,IAAIH,EAAa,CAAC,KAAK,EAAG,uBAAwB,YAAY,EAC3E,OAAAG,EAAO,iBAAiBnB,EAAQ,YAAY,CAAC,EAC7CmB,EAAO,GAAG,WAAY,SAAUC,EAAS,CACrCpB,EAAQ,eAAeoB,EAAQ,IAAI,CACvC,CAAC,EACDD,EAAO,GAAG,YAAa,UAAY,CAC/BnB,EAAQ,iBAAiB,CAC7B,CAAC,EACMmB,CACX,EACA,KAAK,IAAM,eACf,GAAG,KAAKF,EAAK,SAAS,EACtBxC,EAAQ,KAAOwC,CAEf,CAAC,GAAmB,UAAW,CACX,IAAI,QAAQ,CAAC,eAAe,EAAG,SAASI,EAAG,CACnC,OAAO3C,GAAU,UAAY,OAAOD,GAAW,UAAYC,IAC3DA,EAAO,QAAU2C,EAEzB,CAAC,CACL,GAAG","names":["require_ab96c77da77918d9160c787732c68a6","__commonJSMin","exports","module","require","oop","TextHighlightRules","YamlHighlightRules","val","state","stack","line","indent","indentationIndicator","curIndent","Range","MatchingBraceOutdent","input","doc","row","match","column","openBracePos","BaseFoldMode","FoldMode","session","foldStyle","range","re","startLevel","startColumn","maxRow","startRow","endRow","level","endColumn","next","prev","prevIndent","nextIndent","TextMode","WorkerClient","Mode","tab","worker","results","m"],"sourceRoot":"","file":"1ab96c77da77918d9160c787732c68a6.js"}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy