web-interface.assets.92164e5d714ab4cda2b91eede29bc191.js.map Maven / Gradle / Ivy
{"version":3,"sources":["webpack://graylog-web-interface/92164e5d714ab4cda2b91eede29bc191.js"],"sourcesContent":["ace.define(\"ace/mode/cirru_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 CirruHighlightRules = function () {\n this.$rules = {\n start: [{\n token: 'constant.numeric',\n regex: /[\\d\\.]+/\n }, {\n token: 'comment.line.double-dash',\n regex: /--/,\n next: 'comment'\n }, {\n token: 'storage.modifier',\n regex: /\\(/\n }, {\n token: 'storage.modifier',\n regex: /,/,\n next: 'line'\n }, {\n token: 'support.function',\n regex: /[^\\(\\)\"\\s{}\\[\\]]+/,\n next: 'line'\n }, {\n token: 'string.quoted.double',\n regex: /\"/,\n next: 'string'\n }, {\n token: 'storage.modifier',\n regex: /\\)/\n }],\n comment: [{\n token: 'comment.line.double-dash',\n regex: / +[^\\n]+/,\n next: 'start'\n }],\n string: [{\n token: 'string.quoted.double',\n regex: /\"/,\n next: 'line'\n }, {\n token: 'constant.character.escape',\n regex: /\\\\/,\n next: 'escape'\n }, {\n token: 'string.quoted.double',\n regex: /[^\\\\\"]+/\n }],\n escape: [{\n token: 'constant.character.escape',\n regex: /./,\n next: 'string'\n }],\n line: [{\n token: 'constant.numeric',\n regex: /[\\d\\.]+/\n }, {\n token: 'markup.raw',\n regex: /^\\s*/,\n next: 'start'\n }, {\n token: 'storage.modifier',\n regex: /\\$/,\n next: 'start'\n }, {\n token: 'variable.parameter',\n regex: /[^\\(\\)\"\\s{}\\[\\]]+/\n }, {\n token: 'storage.modifier',\n regex: /\\(/,\n next: 'start'\n }, {\n token: 'storage.modifier',\n regex: /\\)/\n }, {\n token: 'markup.raw',\n regex: /^ */,\n next: 'start'\n }, {\n token: 'string.quoted.double',\n regex: /\"/,\n next: 'string'\n }]\n };\n};\noop.inherits(CirruHighlightRules, TextHighlightRules);\nexports.CirruHighlightRules = CirruHighlightRules;\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/cirru\",[\"require\",\"exports\",\"module\",\"ace/lib/oop\",\"ace/mode/text\",\"ace/mode/cirru_highlight_rules\",\"ace/mode/folding/coffee\"], function(require, exports, module){\"use strict\";\nvar oop = require(\"../lib/oop\");\nvar TextMode = require(\"./text\").Mode;\nvar CirruHighlightRules = require(\"./cirru_highlight_rules\").CirruHighlightRules;\nvar CoffeeFoldMode = require(\"./folding/coffee\").FoldMode;\nvar Mode = function () {\n this.HighlightRules = CirruHighlightRules;\n this.foldingRules = new CoffeeFoldMode();\n this.$behaviour = this.$defaultBehaviour;\n};\noop.inherits(Mode, TextMode);\n(function () {\n this.lineCommentStart = \"--\";\n this.$id = \"ace/mode/cirru\";\n}).call(Mode.prototype);\nexports.Mode = Mode;\n\n}); (function() {\n ace.require([\"ace/mode/cirru\"], 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,iCAAiC,CAAC,UAAU,UAAU,SAAS,cAAc,+BAA+B,EAAG,SAASC,EAASF,EAASC,EAAO,CAAC,aAC7J,IAAIE,EAAMD,EAAQ,YAAY,EAC1BE,EAAqBF,EAAQ,wBAAwB,EAAE,mBACvDG,EAAsB,UAAY,CAClC,KAAK,OAAS,CACV,MAAO,CAAC,CACA,MAAO,mBACP,MAAO,SACX,EAAG,CACC,MAAO,2BACP,MAAO,KACP,KAAM,SACV,EAAG,CACC,MAAO,mBACP,MAAO,IACX,EAAG,CACC,MAAO,mBACP,MAAO,IACP,KAAM,MACV,EAAG,CACC,MAAO,mBACP,MAAO,oBACP,KAAM,MACV,EAAG,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,EAAQ,YAAYE,EAAM,CAAC,EAAI,GACxB,GAOf,OAJIc,GAAc,IAAMA,EAAaH,EACjCb,EAAQ,YAAYE,EAAM,CAAC,EAAI,QAE/BF,EAAQ,YAAYE,EAAM,CAAC,EAAI,GAC/BW,EAASI,EACF,QAEA,EACf,CACJ,GAAG,KAAKlB,EAAS,SAAS,CAE1B,CAAC,EAED,IAAI,OAAO,iBAAiB,CAAC,UAAU,UAAU,SAAS,cAAc,gBAAgB,iCAAiC,yBAAyB,EAAG,SAASN,EAASF,EAASC,EAAO,CAAC,aACxL,IAAIE,EAAMD,EAAQ,YAAY,EAC1ByB,EAAWzB,EAAQ,QAAQ,EAAE,KAC7BG,EAAsBH,EAAQ,yBAAyB,EAAE,oBACzD0B,EAAiB1B,EAAQ,kBAAkB,EAAE,SAC7C2B,EAAO,UAAY,CACnB,KAAK,eAAiBxB,EACtB,KAAK,aAAe,IAAIuB,EACxB,KAAK,WAAa,KAAK,iBAC3B,EACAzB,EAAI,SAAS0B,EAAMF,CAAQ,GAC1B,UAAY,CACT,KAAK,iBAAmB,KACxB,KAAK,IAAM,gBACf,GAAG,KAAKE,EAAK,SAAS,EACtB7B,EAAQ,KAAO6B,CAEf,CAAC,GAAmB,UAAW,CACX,IAAI,QAAQ,CAAC,gBAAgB,EAAG,SAASC,EAAG,CACpC,OAAO7B,GAAU,UAAY,OAAOD,GAAW,UAAYC,IAC3DA,EAAO,QAAU6B,EAEzB,CAAC,CACL,GAAG","names":["require_e5d714ab4cda2b91eede29bc191","__commonJSMin","exports","module","require","oop","TextHighlightRules","CirruHighlightRules","BaseFoldMode","Range","FoldMode","session","foldStyle","row","range","re","line","startLevel","startColumn","maxRow","startRow","endRow","level","endColumn","indent","next","prev","prevIndent","nextIndent","TextMode","CoffeeFoldMode","Mode","m"],"sourceRoot":"","file":"92164e5d714ab4cda2b91eede29bc191.js"}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy