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.6e40b726d91e9138d9eaef6fd012c740.js Maven / Gradle / Ivy

There is a newer version: 5.1.3
Show newest version
"no use strict";(()=>{var _=(a,h)=>()=>(h||a((h={exports:{}}).exports,h),h.exports);var $=_(L=>{(function(a){if(typeof a.window<"u"&&a.document||a.require&&a.define)return;a.console||(a.console=function(){var u=Array.prototype.slice.call(arguments,0);postMessage({type:"log",data:u})},a.console.error=a.console.warn=a.console.log=a.console.trace=a.console),a.window=a,a.ace=a,a.onerror=function(u,n,e,r,o){postMessage({type:"error",data:{message:u,data:o&&o.data,file:n,line:e,col:r,stack:o&&o.stack}})},a.normalizeModule=function(u,n){if(n.indexOf("!")!==-1){var e=n.split("!");return a.normalizeModule(u,e[0])+"!"+a.normalizeModule(u,e[1])}if(n.charAt(0)=="."){var r=u.split("/").slice(0,-1).join("/");for(n=(r?r+"/":"")+n;n.indexOf(".")!==-1&&o!=n;){var o=n;n=n.replace(/^\.\//,"").replace(/\/\.\//,"/").replace(/[^\/]+\/\.\.\//,"")}}return n},a.require=function(n,e){if(e||(e=n,n=null),!e.charAt)throw new Error("worker.js require() accepts only (parentId, id) as arguments");e=a.normalizeModule(n,e);var r=a.require.modules[e];if(r)return r.initialized||(r.initialized=!0,r.exports=r.factory().exports),r.exports;if(!a.require.tlns)return console.log("unable to load "+e);var o=h(e,a.require.tlns);return o.slice(-3)!=".js"&&(o+=".js"),a.require.id=e,a.require.modules[e]={},importScripts(o),a.require(n,e)};function h(u,n){for(var e=u,r="";e;){var o=n[e];if(typeof o=="string")return o+r;if(o)return o.location.replace(/\/*$/,"/")+(r||o.main||o.name);if(o===!1)return"";var i=e.lastIndexOf("/");if(i===-1)break;r=e.substr(i)+r,e=e.slice(0,i)}return u}a.require.modules={},a.require.tlns={},a.define=function(u,n,e){if(arguments.length==2?(e=n,typeof u!="string"&&(n=u,u=a.require.id)):arguments.length==1&&(e=u,n=[],u=a.require.id),typeof e!="function"){a.require.modules[u]={exports:e,initialized:!0};return}n.length||(n=["require","exports","module"]);var r=function(o){return a.require(u,o)};a.require.modules[u]={exports:{},factory:function(){var o=this,i=e.apply(this,n.slice(0,e.length).map(function(t){switch(t){case"require":return r;case"exports":return o.exports;case"module":return o;default:return r(t)}}));return i&&(o.exports=i),o}}},a.define.amd={},a.require.tlns={},a.initBaseUrls=function(n){for(var e in n)this.require.tlns[e]=n[e]},a.initSender=function(){var n=a.require("ace/lib/event_emitter").EventEmitter,e=a.require("ace/lib/oop"),r=function(){};return function(){e.implement(this,n),this.callback=function(o,i){postMessage({type:"call",id:i,data:o})},this.emit=function(o,i){postMessage({type:"event",name:o,data:i})}}.call(r.prototype),new r};var g=a.main=null,l=a.sender=null;a.onmessage=function(u){var n=u.data;if(n.event&&l)l._signal(n.event,n.data);else if(n.command)if(g[n.command])g[n.command].apply(g,n.args);else if(a[n.command])a[n.command].apply(a,n.args);else throw new Error("Unknown command:"+n.command);else if(n.init){a.initBaseUrls(n.tlns),l=a.sender=a.initSender();var e=this.require(n.module)[n.classname];g=a.main=new e(l)}}})(L);ace.define("ace/lib/oop",[],function(a,h,g){"use strict";h.inherits=function(l,u){l.super_=u,l.prototype=Object.create(u.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}})},h.mixin=function(l,u){for(var n in u)l[n]=u[n];return l},h.implement=function(l,u){h.mixin(l,u)}});ace.define("ace/apply_delta",[],function(a,h,g){"use strict";function l(e,r){throw console.log("Invalid Delta:",e),"Invalid Delta: "+r}function u(e,r){return r.row>=0&&r.row=0&&r.column<=e[r.row].length}function n(e,r){r.action!="insert"&&r.action!="remove"&&l(r,"delta.action must be 'insert' or 'remove'"),r.lines instanceof Array||l(r,"delta.lines must be an Array"),(!r.start||!r.end)&&l(r,"delta.start/end must be an present");var o=r.start;u(e,r.start)||l(r,"delta.start must be contained in document");var i=r.end;r.action=="remove"&&!u(e,i)&&l(r,"delta.end must contained in document for 'remove' actions");var t=i.row-o.row,s=i.column-(t==0?o.column:0);(t!=r.lines.length-1||r.lines[t].length!=s)&&l(r,"delta.range must match delta lines")}h.applyDelta=function(e,r,o){var i=r.start.row,t=r.start.column,s=e[i]||"";switch(r.action){case"insert":var c=r.lines;if(c.length===1)e[i]=s.substring(0,t)+r.lines[0]+s.substring(t);else{var f=[i,1].concat(r.lines);e.splice.apply(e,f),e[i]=s.substring(0,t)+e[i],e[i+r.lines.length-1]+=s.substring(t)}break;case"remove":var p=r.end.column,m=r.end.row;i===m?e[i]=s.substring(0,t)+s.substring(p):e.splice(i,m-i+1,s.substring(0,t)+e[m].substring(p));break}}});ace.define("ace/lib/event_emitter",[],function(a,h,g){"use strict";var l={},u=function(){this.propagationStopped=!0},n=function(){this.defaultPrevented=!0};l._emit=l._dispatchEvent=function(e,r){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var o=this._eventRegistry[e]||[],i=this._defaultHandlers[e];if(!(!o.length&&!i)){(typeof r!="object"||!r)&&(r={}),r.type||(r.type=e),r.stopPropagation||(r.stopPropagation=u),r.preventDefault||(r.preventDefault=n),o=o.slice();for(var t=0;t ["+this.end.row+"/"+this.end.column+"]"},u.prototype.contains=function(n,e){return this.compare(n,e)==0},u.prototype.compareRange=function(n){var e,r=n.end,o=n.start;return e=this.compare(r.row,r.column),e==1?(e=this.compare(o.row,o.column),e==1?2:e==0?1:0):e==-1?-2:(e=this.compare(o.row,o.column),e==-1?-1:e==1?42:0)},u.prototype.comparePoint=function(n){return this.compare(n.row,n.column)},u.prototype.containsRange=function(n){return this.comparePoint(n.start)==0&&this.comparePoint(n.end)==0},u.prototype.intersects=function(n){var e=this.compareRange(n);return e==-1||e==0||e==1},u.prototype.isEnd=function(n,e){return this.end.row==n&&this.end.column==e},u.prototype.isStart=function(n,e){return this.start.row==n&&this.start.column==e},u.prototype.setStart=function(n,e){typeof n=="object"?(this.start.column=n.column,this.start.row=n.row):(this.start.row=n,this.start.column=e)},u.prototype.setEnd=function(n,e){typeof n=="object"?(this.end.column=n.column,this.end.row=n.row):(this.end.row=n,this.end.column=e)},u.prototype.inside=function(n,e){return this.compare(n,e)==0?!(this.isEnd(n,e)||this.isStart(n,e)):!1},u.prototype.insideStart=function(n,e){return this.compare(n,e)==0?!this.isEnd(n,e):!1},u.prototype.insideEnd=function(n,e){return this.compare(n,e)==0?!this.isStart(n,e):!1},u.prototype.compare=function(n,e){return!this.isMultiLine()&&n===this.start.row?ethis.end.column?1:0:nthis.end.row?1:this.start.row===n?e>=this.start.column?0:-1:this.end.row===n?e<=this.end.column?0:1:0},u.prototype.compareStart=function(n,e){return this.start.row==n&&this.start.column==e?-1:this.compare(n,e)},u.prototype.compareEnd=function(n,e){return this.end.row==n&&this.end.column==e?1:this.compare(n,e)},u.prototype.compareInside=function(n,e){return this.end.row==n&&this.end.column==e?1:this.start.row==n&&this.start.column==e?-1:this.compare(n,e)},u.prototype.clipRows=function(n,e){if(this.end.row>e)var r={row:e+1,column:0};else if(this.end.rowe)var o={row:e+1,column:0};else if(this.start.rowthis.row)){var t=r(i,{row:this.row,column:this.column},this.$insertRight);this.setPosition(t.row,t.column,!0)}},o.prototype.setPosition=function(i,t,s){var c;if(s?c={row:i,column:t}:c=this.$clipPositionToDocument(i,t),!(this.row==c.row&&this.column==c.column)){var f={row:this.row,column:this.column};this.row=c.row,this.column=c.column,this._signal("change",{old:f,value:c})}},o.prototype.detach=function(){this.document.off("change",this.$onChange)},o.prototype.attach=function(i){this.document=i||this.document,this.document.on("change",this.$onChange)},o.prototype.$clipPositionToDocument=function(i,t){var s={};return i>=this.document.getLength()?(s.row=Math.max(0,this.document.getLength()-1),s.column=this.document.getLine(s.row).length):i<0?(s.row=0,s.column=0):(s.row=i,s.column=Math.min(this.document.getLine(s.row).length,Math.max(0,t))),t<0&&(s.column=0),s},o}();n.prototype.$insertRight=!1,l.implement(n.prototype,u);function e(o,i,t){var s=t?o.column<=i.column:o.column=c&&(t=c-1,s=void 0);var f=this.getLine(t);return s==null&&(s=f.length),s=Math.min(Math.max(s,0),f.length),{row:t,column:s}},i.prototype.clonePos=function(t){return{row:t.row,column:t.column}},i.prototype.pos=function(t,s){return{row:t,column:s}},i.prototype.$clipPosition=function(t){var s=this.getLength();return t.row>=s?(t.row=Math.max(0,s-1),t.column=this.getLine(s-1).length):(t.row=Math.max(0,t.row),t.column=Math.min(Math.max(t.column,0),this.getLine(t.row).length)),t},i.prototype.insertFullLines=function(t,s){t=Math.min(Math.max(t,0),this.getLength());var c=0;t0,f=s=0&&this.applyDelta({start:this.pos(t,this.getLine(t).length),end:this.pos(t+1,0),action:"remove",lines:["",""]})},i.prototype.replace=function(t,s){if(t instanceof e||(t=e.fromPoints(t.start,t.end)),s.length===0&&t.isEmpty())return t.start;if(s==this.getTextRange(t))return t.end;this.remove(t);var c;return s?c=this.insert(t.start,s):c=t.start,c},i.prototype.applyDeltas=function(t){for(var s=0;s=0;s--)this.revertDelta(t[s])},i.prototype.applyDelta=function(t,s){var c=t.action=="insert";(c?t.lines.length<=1&&!t.lines[0]:!e.comparePoints(t.start,t.end))||(c&&t.lines.length>2e4?this.$splitAndapplyLargeDelta(t,2e4):(u(this.$lines,t,s),this._signal("change",t)))},i.prototype.$safeApplyDelta=function(t){var s=this.$lines.length;(t.action=="remove"&&t.start.row0;)e&1&&(r+=n),(e>>=1)&&(n+=n);return r};var l=/^\s\s*/,u=/\s\s*$/;h.stringTrimLeft=function(n){return n.replace(l,"")},h.stringTrimRight=function(n){return n.replace(u,"")},h.copyObject=function(n){var e={};for(var r in n)e[r]=n[r];return e},h.copyArray=function(n){for(var e=[],r=0,o=n.length;r65535?2:1}});ace.define("ace/worker/mirror",[],function(a,h,g){"use strict";var l=a("../document").Document,u=a("../lib/lang"),n=h.Mirror=function(e){this.sender=e;var r=this.doc=new l(""),o=this.deferredUpdate=u.delayedCall(this.onUpdate.bind(this)),i=this;e.on("change",function(t){var s=t.data;if(s[0].start)r.applyDeltas(s);else for(var c=0;c=r.$lines.length)throw p=new Error("Invalid delta"),p.data={path:i.$path,linesLength:r.$lines.length,start:f.start,end:f.end},p;r.applyDelta(f,!0)}if(i.$timeout)return o.schedule(i.$timeout);i.onUpdate()})};(function(){this.$timeout=500,this.setTimeout=function(e){this.$timeout=e},this.setValue=function(e){this.doc.setValue(e),this.deferredUpdate.schedule(this.$timeout)},this.getValue=function(e){this.sender.callback(this.doc.getValue(),e)},this.onUpdate=function(){},this.isPending=function(){return this.deferredUpdate.isPending()}}).call(n.prototype)})});$();})();

//# sourceMappingURL=6e40b726d91e9138d9eaef6fd012c740.js.map




© 2015 - 2024 Weber Informatics LLC | Privacy Policy