web-interface.assets.77c629df0ebf40b066d0ffeb34b7711b.js.map Maven / Gradle / Ivy
{"version":3,"sources":["webpack://graylog-web-interface/77c629df0ebf40b066d0ffeb34b7711b.js"],"sourcesContent":["ace.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/space_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 SpaceHighlightRules = function () {\n this.$rules = {\n \"start\": [\n {\n token: \"empty_line\",\n regex: / */,\n next: \"key\"\n },\n {\n token: \"empty_line\",\n regex: /$/,\n next: \"key\"\n }\n ],\n \"key\": [\n {\n token: \"variable\",\n regex: /\\S+/\n },\n {\n token: \"empty_line\",\n regex: /$/,\n next: \"start\"\n }, {\n token: \"keyword.operator\",\n regex: / /,\n next: \"value\"\n }\n ],\n \"value\": [\n {\n token: \"keyword.operator\",\n regex: /$/,\n next: \"start\"\n },\n {\n token: \"string\",\n regex: /[^$]/\n }\n ]\n };\n};\noop.inherits(SpaceHighlightRules, TextHighlightRules);\nexports.SpaceHighlightRules = SpaceHighlightRules;\n\n});\n\nace.define(\"ace/mode/space\",[\"require\",\"exports\",\"module\",\"ace/lib/oop\",\"ace/mode/text\",\"ace/mode/folding/coffee\",\"ace/mode/space_highlight_rules\"], function(require, exports, module){\"use strict\";\nvar oop = require(\"../lib/oop\");\nvar TextMode = require(\"./text\").Mode;\nvar FoldMode = require(\"./folding/coffee\").FoldMode;\nvar SpaceHighlightRules = require(\"./space_highlight_rules\").SpaceHighlightRules;\nvar Mode = function () {\n this.HighlightRules = SpaceHighlightRules;\n this.foldingRules = new FoldMode();\n this.$behaviour = this.$defaultBehaviour;\n};\noop.inherits(Mode, TextMode);\n(function () {\n this.$id = \"ace/mode/space\";\n}).call(Mode.prototype);\nexports.Mode = Mode;\n\n}); (function() {\n ace.require([\"ace/mode/space\"], 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,0BAA0B,CAAC,UAAU,UAAU,SAAS,cAAc,6BAA6B,WAAW,EAAG,SAASC,EAASF,EAASC,EAAO,CAAC,aAC/J,IAAIE,EAAMD,EAAQ,eAAe,EAC7BE,EAAeF,EAAQ,aAAa,EAAE,SACtCG,EAAQH,EAAQ,aAAa,EAAE,MAC/BI,EAAWN,EAAQ,SAAW,UAAY,CAAE,EAChDG,EAAI,SAASG,EAAUF,CAAY,GAClC,UAAY,CACT,KAAK,mBAAqB,SAAUG,EAASC,EAAWC,EAAK,CACzD,IAAIC,EAAQ,KAAK,iBAAiBH,EAASE,CAAG,EAC9C,GAAIC,EACA,OAAOA,EACX,IAAIC,EAAK,KACLC,EAAOL,EAAQ,QAAQE,CAAG,EAC1BI,EAAaD,EAAK,OAAOD,CAAE,EAC/B,GAAI,EAAAE,GAAc,IAAMD,EAAKC,CAAU,GAAK,KAM5C,SAJIC,EAAcF,EAAK,OACnBG,EAASR,EAAQ,UAAU,EAC3BS,EAAWP,EACXQ,EAASR,EACN,EAAEA,EAAMM,GAAQ,CACnBH,EAAOL,EAAQ,QAAQE,CAAG,EAC1B,IAAIS,EAAQN,EAAK,OAAOD,CAAE,EAC1B,GAAIO,GAAS,GAEb,IAAIN,EAAKM,CAAK,GAAK,IACf,MACJD,EAASR,EACb,CACA,GAAIQ,EAASD,EAAU,CACnB,IAAIG,EAAYZ,EAAQ,QAAQU,CAAM,EAAE,OACxC,OAAO,IAAIZ,EAAMW,EAAUF,EAAaG,EAAQE,CAAS,CAC7D,EACJ,EACA,KAAK,cAAgB,SAAUZ,EAASC,EAAWC,EAAK,CACpD,IAAIG,EAAOL,EAAQ,QAAQE,CAAG,EAC1BW,EAASR,EAAK,OA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MAAO,aACP,MAAO,IACP,KAAM,OACV,EAAG,CACC,MAAO,mBACP,MAAO,IACP,KAAM,OACV,CACJ,EACA,MAAS,CACL,CACI,MAAO,mBACP,MAAO,IACP,KAAM,OACV,EACA,CACI,MAAO,SACP,MAAO,MACX,CACJ,CACJ,CACJ,EACAvB,EAAI,SAASuB,EAAqBD,CAAkB,EACpDzB,EAAQ,oBAAsB0B,CAE9B,CAAC,EAED,IAAI,OAAO,iBAAiB,CAAC,UAAU,UAAU,SAAS,cAAc,gBAAgB,0BAA0B,gCAAgC,EAAG,SAASxB,EAASF,EAASC,EAAO,CAAC,aACxL,IAAIE,EAAMD,EAAQ,YAAY,EAC1ByB,EAAWzB,EAAQ,QAAQ,EAAE,KAC7BI,EAAWJ,EAAQ,kBAAkB,EAAE,SACvCwB,EAAsBxB,EAAQ,yBAAyB,EAAE,oBACzD0B,EAAO,UAAY,CACnB,KAAK,eAAiBF,EACtB,KAAK,aAAe,IAAIpB,EACxB,KAAK,WAAa,KAAK,iBAC3B,EACAH,EAAI,SAASyB,EAAMD,CAAQ,GAC1B,UAAY,CACT,KAAK,IAAM,gBACf,GAAG,KAAKC,EAAK,SAAS,EACtB5B,EAAQ,KAAO4B,CAEf,CAAC,GAAmB,UAAW,CACX,IAAI,QAAQ,CAAC,gBAAgB,EAAG,SAASC,EAAG,CACpC,OAAO5B,GAAU,UAAY,OAAOD,GAAW,UAAYC,IAC3DA,EAAO,QAAU4B,EAEzB,CAAC,CACL,GAAG","names":["require_c629df0ebf40b066d0ffeb34b7711b","__commonJSMin","exports","module","require","oop","BaseFoldMode","Range","FoldMode","session","foldStyle","row","range","re","line","startLevel","startColumn","maxRow","startRow","endRow","level","endColumn","indent","next","prev","prevIndent","nextIndent","TextHighlightRules","SpaceHighlightRules","TextMode","Mode","m"],"sourceRoot":"","file":"77c629df0ebf40b066d0ffeb34b7711b.js"}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy