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

ber-security.graylog.graylog-plugin-correlation-count.6.0.0.source-code.269732f4c5f6e82ea3246548a9631b47.js Maven / Gradle / Ivy

There is a newer version: 5.1.3
Show newest version
(()=>{var x=(i,p)=>()=>(p||i((p={exports:{}}).exports,p),p.exports);var _=x((v,m)=>{ace.define("ace/mode/puppet_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(i,p,k){"use strict";var d=i("../lib/oop"),c=i("./text_highlight_rules").TextHighlightRules,r=function(){this.$rules={start:[{token:["keyword.type.puppet","constant.class.puppet","keyword.inherits.puppet","constant.class.puppet"],regex:'^\\s*(class)(\\s+(?:[-_A-Za-z0-9".]+::)*[-_A-Za-z0-9".]+\\s*)(?:(inherits\\s*)(\\s+(?:[-_A-Za-z0-9".]+::)*[-_A-Za-z0-9".]+\\s*))?'},{token:["storage.function.puppet","name.function.puppet","punctuation.lpar"],regex:"(^\\s*define)(\\s+[a-zA-Z0-9_:]+\\s*)(\\()",push:[{token:"punctuation.rpar.puppet",regex:"\\)",next:"pop"},{include:"constants"},{include:"variable"},{include:"strings"},{include:"operators"},{defaultToken:"string"}]},{token:["language.support.class","keyword.operator"],regex:"\\b([a-zA-Z_]+)(\\s+=>)"},{token:["exported.resource.puppet","keyword.name.resource.puppet","paren.lparen"],regex:"(\\@\\@)?(\\s*[a-zA-Z_]*)(\\s*\\{)"},{token:"qualified.variable.puppet",regex:"(\\$([a-z][a-z0-9_]*)?(::[a-z][a-z0-9_]*)*::[a-z0-9_][a-zA-Z0-9_]*)"},{token:"singleline.comment.puppet",regex:"#(.)*$"},{token:"multiline.comment.begin.puppet",regex:"^\\s*\\/\\*",push:"blockComment"},{token:"keyword.control.puppet",regex:"\\b(case|if|unless|else|elsif|in|default:|and|or)\\s+(?!::)"},{token:"keyword.control.puppet",regex:"\\b(import|default|inherits|include|require|contain|node|application|consumes|environment|site|function|produces)\\b"},{token:"support.function.puppet",regex:"\\b(lest|str2bool|escape|gsub|Timestamp|Timespan|with|alert|crit|debug|notice|sprintf|split|step|strftime|slice|shellquote|type|sha1|defined|scanf|reverse_each|regsubst|return|emerg|reduce|err|failed|fail|versioncmp|file|generate|then|info|realize|search|tag|tagged|template|epp|warning|hiera_include|each|assert_type|binary_file|create_resources|dig|digest|filter|lookup|find_file|fqdn_rand|hiera_array|hiera_hash|inline_epp|inline_template|map|match|md5|new|next)\\b"},{token:"constant.types.puppet",regex:"\\b(String|File|Package|Service|Class|Integer|Array|Catalogentry|Variant|Boolean|Undef|Number|Hash|Float|Numeric|NotUndef|Callable|Optional|Any|Regexp|Sensitive|Sensitive.new|Type|Resource|Default|Enum|Scalar|Collection|Data|Pattern|Tuple|Struct)\\b"},{token:"paren.lparen",regex:"[[({]"},{token:"paren.rparen",regex:"[\\])}]"},{include:"variable"},{include:"constants"},{include:"strings"},{include:"operators"},{token:"regexp.begin.string.puppet",regex:"\\s*(\\/(\\S)+)\\/"}],blockComment:[{regex:"\\*\\/",token:"multiline.comment.end.puppet",next:"pop"},{defaultToken:"comment"}],constants:[{token:"constant.language.puppet",regex:"\\b(false|true|running|stopped|installed|purged|latest|file|directory|held|undef|present|absent|link|mounted|unmounted)\\b"}],variable:[{token:"variable.puppet",regex:"(\\$[a-z0-9_{][a-zA-Z0-9_]*)"}],strings:[{token:"punctuation.quote.puppet",regex:"'",push:[{token:"punctuation.quote.puppet",regex:"'",next:"pop"},{include:"escaped_chars"},{defaultToken:"string"}]},{token:"punctuation.quote.puppet",regex:'"',push:[{token:"punctuation.quote.puppet",regex:'"',next:"pop"},{include:"escaped_chars"},{include:"variable"},{defaultToken:"string"}]}],escaped_chars:[{token:"constant.escaped_char.puppet",regex:"\\\\."}],operators:[{token:"keyword.operator",regex:"\\+\\.|\\-\\.|\\*\\.|\\/\\.|#|;;|\\+|\\-|\\*|\\*\\*\\/|\\/\\/|%|<<|>>|&|\\||\\^|~|<|>|<=|=>|==|!=|<>|<-|=|::|,"}]},this.normalizeRules()};d.inherits(r,c),p.PuppetHighlightRules=r});ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],function(i,p,k){"use strict";var d=i("../../lib/oop"),c=i("../../range").Range,r=i("./fold_mode").FoldMode,s=p.FoldMode=function(e){e&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+e.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+e.end)))};d.inherits(s,r),function(){this.foldingStartMarker=/([\{\[\(])[^\}\]\)]*$|^\s*(\/\*)/,this.foldingStopMarker=/^[^\[\{\(]*([\}\]\)])|^[\s\*]*(\*\/)/,this.singleLineBlockCommentRe=/^\s*(\/\*).*\*\/\s*$/,this.tripleStarBlockCommentRe=/^\s*(\/\*\*\*).*\*\/\s*$/,this.startRegionRe=/^\s*(\/\*|\/\/)#?region\b/,this._getFoldWidgetBase=this.getFoldWidget,this.getFoldWidget=function(e,t,n){var o=e.getLine(n);if(this.singleLineBlockCommentRe.test(o)&&!this.startRegionRe.test(o)&&!this.tripleStarBlockCommentRe.test(o))return"";var l=this._getFoldWidgetBase(e,t,n);return!l&&this.startRegionRe.test(o)?"start":l},this.getFoldWidgetRange=function(e,t,n,o){var l=e.getLine(n);if(this.startRegionRe.test(l))return this.getCommentRegionBlock(e,l,n);var a=l.match(this.foldingStartMarker);if(a){var g=a.index;if(a[1])return this.openingBracketBlock(e,a[1],n,g);var u=e.getCommentFoldRange(n,g+a[0].length,1);return u&&!u.isMultiLine()&&(o?u=this.getSectionRange(e,n):t!="all"&&(u=null)),u}if(t!=="markbegin"){var a=l.match(this.foldingStopMarker);if(a){var g=a.index+a[0].length;return a[1]?this.closingBracketBlock(e,a[1],n,g):e.getCommentFoldRange(n,g,-1)}}},this.getSectionRange=function(e,t){var n=e.getLine(t),o=n.search(/\S/),l=t,g=n.length;t=t+1;for(var u=t,a=e.getLength();++tf)break;var h=this.getFoldWidgetRange(e,"all",t);if(h){if(h.start.row<=l)break;if(h.isMultiLine())t=h.end.row;else if(o==f)break}u=t}}return new c(l,g,u,e.getLine(u).length)},this.getCommentRegionBlock=function(e,t,n){for(var o=t.search(/\s*$/),l=e.getLength(),g=n,u=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,a=1;++ng)return new c(g,o,h,t.length)}}.call(s.prototype)});ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],function(i,p,k){"use strict";var d=i("../range").Range,c=function(){};(function(){this.checkOutdent=function(r,s){return/^\s+$/.test(r)?/^\s*\}/.test(s):!1},this.autoOutdent=function(r,s){var e=r.getLine(s),t=e.match(/^(\s*\})/);if(!t)return 0;var n=t[1].length,o=r.findMatchingBracket({row:s,column:n});if(!o||o.row==s)return 0;var l=this.$getIndent(r.getLine(o.row));r.replace(new d(s,0,s,n-1),l)},this.$getIndent=function(r){return r.match(/^\s*/)[0]}}).call(c.prototype),p.MatchingBraceOutdent=c});ace.define("ace/mode/puppet",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/puppet_highlight_rules","ace/mode/folding/cstyle","ace/mode/matching_brace_outdent"],function(i,p,k){"use strict";var d=i("../lib/oop"),c=i("./text").Mode,r=i("./puppet_highlight_rules").PuppetHighlightRules,s=i("./folding/cstyle").FoldMode,e=i("./matching_brace_outdent").MatchingBraceOutdent,t=function(){c.call(this),this.HighlightRules=r,this.$outdent=new e,this.$behaviour=this.$defaultBehaviour,this.foldingRules=new s};d.inherits(t,c),function(){this.lineCommentStart="#",this.blockComment={start:"/*",end:"*/"},this.$id="ace/mode/puppet"}.call(t.prototype),p.Mode=t});(function(){ace.require(["ace/mode/puppet"],function(i){typeof m=="object"&&typeof v=="object"&&m&&(m.exports=i)})})()});_();})();

//# sourceMappingURL=269732f4c5f6e82ea3246548a9631b47.js.map




© 2015 - 2024 Weber Informatics LLC | Privacy Policy