All Downloads are FREE. Search and download functionalities are using the official Maven repository.

web-interface.assets.410ecb602443afbd5908a14f39b40eb2.js.map Maven / Gradle / Ivy

There is a newer version: 6.1.4
Show newest version
{"version":3,"sources":["webpack://graylog-web-interface/410ecb602443afbd5908a14f39b40eb2.js"],"sourcesContent":["ace.define(\"ace/mode/gherkin_highlight_rules\",[\"require\",\"exports\",\"module\",\"ace/lib/oop\",\"ace/mode/text_highlight_rules\"], function(require, exports, module){var oop = require(\"../lib/oop\");\nvar TextHighlightRules = require(\"./text_highlight_rules\").TextHighlightRules;\nvar stringEscape = \"\\\\\\\\(x[0-9A-Fa-f]{2}|[0-7]{3}|[\\\\\\\\abfnrtv'\\\"]|U[0-9A-Fa-f]{8}|u[0-9A-Fa-f]{4})\";\nvar GherkinHighlightRules = function () {\n    var languages = [{\n            name: \"en\",\n            labels: \"Feature|Background|Scenario(?: Outline)?|Examples\",\n            keywords: \"Given|When|Then|And|But\"\n        } \n    ];\n    var labels = languages.map(function (l) {\n        return l.labels;\n    }).join(\"|\");\n    var keywords = languages.map(function (l) {\n        return l.keywords;\n    }).join(\"|\");\n    this.$rules = {\n        start: [{\n                token: \"constant.numeric\",\n                regex: \"(?:(?:[1-9]\\\\d*)|(?:0))\"\n            }, {\n                token: \"comment\",\n                regex: \"#.*$\"\n            }, {\n                token: \"keyword\",\n                regex: \"(?:\" + labels + \"):|(?:\" + keywords + \")\\\\b\"\n            }, {\n                token: \"keyword\",\n                regex: \"\\\\*\"\n            }, {\n                token: \"string\",\n                regex: '\"{3}',\n                next: \"qqstring3\"\n            }, {\n                token: \"string\",\n                regex: '\"',\n                next: \"qqstring\"\n            }, {\n                token: \"text\",\n                regex: \"^\\\\s*(?=@[\\\\w])\",\n                next: [{\n                        token: \"text\",\n                        regex: \"\\\\s+\"\n                    }, {\n                        token: \"variable.parameter\",\n                        regex: \"@[\\\\w]+\"\n                    }, {\n                        token: \"empty\",\n                        regex: \"\",\n                        next: \"start\"\n                    }]\n            }, {\n                token: \"comment\",\n                regex: \"<[^>]+>\"\n            }, {\n                token: \"comment\",\n                regex: \"\\\\|(?=.)\",\n                next: \"table-item\"\n            }, {\n                token: \"comment\",\n                regex: \"\\\\|$\",\n                next: \"start\"\n            }],\n        \"qqstring3\": [{\n                token: \"constant.language.escape\",\n                regex: stringEscape\n            }, {\n                token: \"string\",\n                regex: '\"{3}',\n                next: \"start\"\n            }, {\n                defaultToken: \"string\"\n            }],\n        \"qqstring\": [{\n                token: \"constant.language.escape\",\n                regex: stringEscape\n            }, {\n                token: \"string\",\n                regex: \"\\\\\\\\$\",\n                next: \"qqstring\"\n            }, {\n                token: \"string\",\n                regex: '\"|$',\n                next: \"start\"\n            }, {\n                defaultToken: \"string\"\n            }],\n        \"table-item\": [{\n                token: \"comment\",\n                regex: /$/,\n                next: \"start\"\n            }, {\n                token: \"comment\",\n                regex: /\\|/\n            }, {\n                token: \"string\",\n                regex: /\\\\./\n            }, {\n                defaultToken: \"string\"\n            }]\n    };\n    this.normalizeRules();\n};\noop.inherits(GherkinHighlightRules, TextHighlightRules);\nexports.GherkinHighlightRules = GherkinHighlightRules;\n\n});\n\nace.define(\"ace/mode/gherkin\",[\"require\",\"exports\",\"module\",\"ace/lib/oop\",\"ace/mode/text\",\"ace/mode/gherkin_highlight_rules\"], function(require, exports, module){var oop = require(\"../lib/oop\");\nvar TextMode = require(\"./text\").Mode;\nvar GherkinHighlightRules = require(\"./gherkin_highlight_rules\").GherkinHighlightRules;\nvar Mode = function () {\n    this.HighlightRules = GherkinHighlightRules;\n    this.$behaviour = this.$defaultBehaviour;\n};\noop.inherits(Mode, TextMode);\n(function () {\n    this.lineCommentStart = \"#\";\n    this.$id = \"ace/mode/gherkin\";\n    this.getNextLineIndent = function (state, line, tab) {\n        var indent = this.$getIndent(line);\n        var space2 = \"  \";\n        var tokenizedLine = this.getTokenizer().getLineTokens(line, state);\n        var tokens = tokenizedLine.tokens;\n        if (line.match(\"[ ]*\\\\|\")) {\n            indent += \"| \";\n        }\n        if (tokens.length && tokens[tokens.length - 1].type == \"comment\") {\n            return indent;\n        }\n        if (state == \"start\") {\n            if (line.match(\"Scenario:|Feature:|Scenario Outline:|Background:\")) {\n                indent += space2;\n            }\n            else if (line.match(\"(Given|Then).+(:)$|Examples:\")) {\n                indent += space2;\n            }\n            else if (line.match(\"\\\\*.+\")) {\n                indent += \"* \";\n            }\n        }\n        return indent;\n    };\n}).call(Mode.prototype);\nexports.Mode = Mode;\n\n});                (function() {\n                    ace.require([\"ace/mode/gherkin\"], 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,mCAAmC,CAAC,UAAU,UAAU,SAAS,cAAc,+BAA+B,EAAG,SAASC,EAASF,EAASC,EAAO,CAAC,IAAIE,EAAMD,EAAQ,YAAY,EACzLE,EAAqBF,EAAQ,wBAAwB,EAAE,mBACvDG,EAAe,iFACfC,EAAwB,UAAY,CACpC,IAAIC,EAAY,CAAC,CACT,KAAM,KACN,OAAQ,oDACR,SAAU,yBACd,CACJ,EACIC,EAASD,EAAU,IAAI,SAAUE,EAAG,CACpC,OAAOA,EAAE,MACb,CAAC,EAAE,KAAK,GAAG,EACPC,EAAWH,EAAU,IAAI,SAAUE,EAAG,CACtC,OAAOA,EAAE,QACb,CAAC,EAAE,KAAK,GAAG,EACX,KAAK,OAAS,CACV,MAAO,CAAC,CACA,MAAO,mBACP,MAAO,yBACX,EAAG,CACC,MAAO,UACP,MAAO,MACX,EAAG,CACC,MAAO,UACP,MAAO,MAAQD,EAAS,SAAWE,EAAW,MAClD,EAAG,CACC,MAAO,UACP,MAAO,KACX,EAAG,CACC,MAAO,SACP,MAAO,OACP,KAAM,WACV,EAAG,CACC,MAAO,SACP,MAAO,IACP,KAAM,UACV,EAAG,CACC,MAAO,OACP,MAAO,kBACP,KAAM,CAAC,CACC,MAAO,OACP,MAA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KAAK,aAAa,EAAE,cAAcJ,EAAMD,CAAK,EAC7DM,EAASD,EAAc,OAI3B,OAHIJ,EAAK,MAAM,SAAS,IACpBE,GAAU,MAEVG,EAAO,QAAUA,EAAOA,EAAO,OAAS,CAAC,EAAE,MAAQ,WAGnDN,GAAS,UACLC,EAAK,MAAM,kDAAkD,GAGxDA,EAAK,MAAM,8BAA8B,EAF9CE,GAAUC,EAKLH,EAAK,MAAM,OAAO,IACvBE,GAAU,OAGXA,CACX,CACJ,GAAG,KAAKJ,EAAK,SAAS,EACtBZ,EAAQ,KAAOY,CAEf,CAAC,GAAmB,UAAW,CACX,IAAI,QAAQ,CAAC,kBAAkB,EAAG,SAASQ,EAAG,CACtC,OAAOnB,GAAU,UAAY,OAAOD,GAAW,UAAYC,IAC3DA,EAAO,QAAUmB,EAEzB,CAAC,CACL,GAAG","names":["require_ecb602443afbd5908a14f39b40eb2","__commonJSMin","exports","module","require","oop","TextHighlightRules","stringEscape","GherkinHighlightRules","languages","labels","l","keywords","TextMode","Mode","state","line","tab","indent","space2","tokenizedLine","tokens","m"],"sourceRoot":"","file":"410ecb602443afbd5908a14f39b40eb2.js"}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy