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

web-interface.assets.builtins.11b9f72925818240e61d.js Maven / Gradle / Ivy

There is a newer version: 6.0.2
Show newest version
/*! For license information please see builtins.11b9f72925818240e61d.js.LICENSE.txt */
!function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=t,n.c=e,n.d=function(exports,t,e){n.o(exports,t)||Object.defineProperty(exports,t,{enumerable:!0,get:e})},n.r=function(exports){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(exports,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=0)}({"+CppQpVm":function(t,e,n){"use strict";var r=n("PdklNqvR");window.graylogHistory||(window.graylogHistory=Object(r.createBrowserHistory)()),e.a=window.graylogHistory},"+I+lImdb":function(t,exports,e){"use strict";var n=e("yAcToaBS"),r=e("OPxZozoA").isArrayOrTypedArray;function i(t,e){return function(){var n,o,a,s,u,c=t;for(s=0;se?1:t>=e?0:NaN}function v(t){return null===t?NaN:+t}function y(t){return!isNaN(t)}function m(t){return{left:function(e,n,r,i){for(arguments.length<3&&(r=0),arguments.length<4&&(i=e.length);r>>1;t(e[o],n)<0?r=o+1:i=o}return r},right:function(e,n,r,i){for(arguments.length<3&&(r=0),arguments.length<4&&(i=e.length);r>>1;t(e[o],n)>0?i=o:r=o+1}return r}}}i.ascending=g,i.descending=function(t,e){return et?1:e>=t?0:NaN},i.min=function(t,e){var n,r,i=-1,o=t.length;if(1===arguments.length){for(;++i=r){n=r;break}for(;++ir&&(n=r)}else{for(;++i=r){n=r;break}for(;++ir&&(n=r)}return n},i.max=function(t,e){var n,r,i=-1,o=t.length;if(1===arguments.length){for(;++i=r){n=r;break}for(;++in&&(n=r)}else{for(;++i=r){n=r;break}for(;++in&&(n=r)}return n},i.extent=function(t,e){var n,r,i,o=-1,a=t.length;if(1===arguments.length){for(;++o=r){n=i=r;break}for(;++or&&(n=r),i=r){n=i=r;break}for(;++or&&(n=r),i1)return a/(u-1)},i.deviation=function(){var t=i.variance.apply(this,arguments);return t?Math.sqrt(t):t};var b=m(g);function _(t){return t.length}i.bisectLeft=b.left,i.bisect=i.bisectRight=b.right,i.bisector=function(t){return m(1===t.length?function(e,n){return g(t(e),n)}:t)},i.shuffle=function(t,e,n){(o=arguments.length)<3&&(n=t.length,o<2&&(e=0));for(var r,i,o=n-e;o;)i=Math.random()*o--|0,r=t[o+e],t[o+e]=t[i+e],t[i+e]=r;return t},i.permute=function(t,e){for(var n=e.length,r=new Array(n);n--;)r[n]=t[e[n]];return r},i.pairs=function(t){for(var e=0,n=t.length-1,r=t[0],i=new Array(n<0?0:n);e=0;)for(e=(r=t[i]).length;--e>=0;)n[--a]=r[e];return n};var w=Math.abs;function x(t){for(var e=1;t*e%1;)e*=10;return e}function S(t,e){for(var n in e)Object.defineProperty(t.prototype,n,{value:e[n],enumerable:!1})}function O(){this._=Object.create(null)}i.range=function(t,e,n){if(arguments.length<3&&(n=1,arguments.length<2&&(e=t,t=0)),(e-t)/n==1/0)throw new Error("infinite range");var r,i=[],o=x(w(n)),a=-1;if(t*=o,e*=o,(n*=o)<0)for(;(r=t+n*++a)>e;)i.push(r/o);else for(;(r=t+n*++a)=r.length)return e?e.call(n,o):t?o.sort(t):o;for(var u,c,l,f,h=-1,d=o.length,p=r[s++],g=new O;++h=r.length)return t;var n=[],i=o[e++];return t.forEach((function(t,r){n.push({key:t,values:s(r,e)})})),i?n.sort((function(t,e){return i(t.key,e.key)})):n}return n.map=function(t,e){return a(e,t,0)},n.entries=function(t){return s(a(i.map,t,0),0)},n.key=function(t){return r.push(t),n},n.sortKeys=function(t){return o[r.length-1]=t,n},n.sortValues=function(e){return t=e,n},n.rollup=function(t){return e=t,n},n},i.set=function(t){var e=new I;if(t)for(var n=0,r=t.length;n=0&&(r=t.slice(n+1),t=t.slice(0,n)),t)return arguments.length<2?this[t].on(r):this[t].on(r,e);if(2===arguments.length){if(null==e)for(t in this)this.hasOwnProperty(t)&&this[t].on(r,null);return this}},i.event=null,i.requote=function(t){return t.replace(H,"\\$&")};var H=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g,V={}.__proto__?function(t,e){t.__proto__=e}:function(t,e){for(var n in e)t[n]=e[n]};function G(t){return V(t,Y),t}var J=function(t,e){return e.querySelector(t)},W=function(t,e){return e.querySelectorAll(t)},K=function(t,e){var n=t.matches||t[D(t,"matchesSelector")];return(K=function(t,e){return n.call(t,e)})(t,e)};"function"==typeof Sizzle&&(J=function(t,e){return Sizzle(t,e)[0]||null},W=Sizzle,K=Sizzle.matchesSelector),i.selection=function(){return i.select(s.documentElement)};var Y=i.selection.prototype=[];function X(t){return"function"==typeof t?t:function(){return J(t,this)}}function Q(t){return"function"==typeof t?t:function(){return W(t,this)}}Y.select=function(t){var e,n,r,i,o=[];t=X(t);for(var a=-1,s=this.length;++a=0&&"xmlns"!==(n=t.slice(0,e))&&(t=t.slice(e+1)),tt.hasOwnProperty(n)?{space:tt[n],local:t}:t}},Y.attr=function(t,e){if(arguments.length<2){if("string"==typeof t){var n=this.node();return(t=i.ns.qualify(t)).local?n.getAttributeNS(t.space,t.local):n.getAttribute(t)}for(e in t)this.each(et(e,t[e]));return this}return this.each(et(t,e))},Y.classed=function(t,e){if(arguments.length<2){if("string"==typeof t){var n=this.node(),r=(t=it(t)).length,i=-1;if(e=n.classList){for(;++i=0;)(n=r[i])&&(o&&o!==n.nextSibling&&o.parentNode.insertBefore(n,o),o=n);return this},Y.sort=function(t){t=dt.apply(this,arguments);for(var e=-1,n=this.length;++e=e&&(e=i+1);!(a=s[e])&&++e0&&(t=t.slice(0,o));var u=bt.get(t);function c(){var e=this[r];e&&(this.removeEventListener(t,e,e.$),delete this[r])}return u&&(t=u,s=wt),o?e?function(){var i=s(e,a(arguments));c.call(this),this.addEventListener(t,this[r]=i,i.$=n),i._=e}:c:e?F:function(){var e,n=new RegExp("^__on([^.]+)"+i.requote(t)+"$");for(var r in this)if(e=r.match(n)){var o=this[r];this.removeEventListener(e[1],o,o.$),delete this[r]}}}i.selection.enter=gt,i.selection.enter.prototype=vt,vt.append=Y.append,vt.empty=Y.empty,vt.node=Y.node,vt.call=Y.call,vt.size=Y.size,vt.select=function(t){for(var e,n,r,i,o,a=[],s=-1,u=this.length;++s0?1:t<0?-1:0}function Ft(t,e,n){return(e[0]-t[0])*(n[1]-t[1])-(e[1]-t[1])*(n[0]-t[0])}function Lt(t){return t>1?0:t<-1?jt:Math.acos(t)}function Nt(t){return t>1?Mt:t<-1?-Mt:Math.asin(t)}function zt(t){return((t=Math.exp(t))+1/t)/2}function qt(t){return(t=Math.sin(t/2))*t}var Bt=Math.SQRT2;i.interpolateZoom=function(t,e){var n,r,i=t[0],o=t[1],a=t[2],s=e[0],u=e[1],c=e[2],l=s-i,f=u-o,h=l*l+f*f;if(h0&&(t=t.transition().duration(g)),t.call(x.event)}function A(){u&&u.domain(a.range().map((function(t){return(t-h.x)/h.k})).map(a.invert)),f&&f.domain(l.range().map((function(t){return(t-h.y)/h.k})).map(l.invert))}function C(t){v++||t({type:"zoomstart"})}function E(t){A(),t({type:"zoom",scale:h.k,translate:[h.x,h.y]})}function j(t){--v||(t({type:"zoomend"}),e=null)}function R(){var t=this,e=w.of(t,arguments),n=0,r=i.select(c(t)).on(m,s).on(b,u),o=S(i.mouse(t)),a=Ot(t);function s(){n=1,T(i.mouse(t),o),E(e)}function u(){r.on(m,null).on(b,null),a(n),j(e)}Us.call(t),C(e)}function I(){var t,e=this,n=w.of(e,arguments),r={},a=0,s=".zoom-"+i.event.changedTouches[0].identifier,u="touchmove"+s,c="touchend"+s,l=[],f=i.select(e),d=Ot(e);function p(){var n=i.touches(e);return t=h.k,n.forEach((function(t){t.identifier in r&&(r[t.identifier]=S(t))})),n}function g(){var t=i.event.target;i.select(t).on(u,v).on(c,m),l.push(t);for(var n=i.event.changedTouches,s=0,f=n.length;s1){y=d[0];var b=d[1],_=y[0]-b[0],w=y[1]-b[1];a=_*_+w*w}}function v(){var s,u,c,l,f=i.touches(e);Us.call(e);for(var h=0,d=f.length;h360?t-=360:t<0&&(t+=360),t<60?r+(i-r)*t/60:t<180?i:t<240?r+(i-r)*(240-t)/60:r}(t))}return t=isNaN(t)?0:(t%=360)<0?t+360:t,e=isNaN(e)||e<0?0:e>1?1:e,r=2*(n=n<0?0:n>1?1:n)-(i=n<=.5?n*(1+e):n+e-n*e),new ce(o(t+120),o(t),o(t-120))}function Xt(t,e,n){return this instanceof Xt?(this.h=+t,this.c=+e,void(this.l=+n)):arguments.length<2?t instanceof Xt?new Xt(t.h,t.c,t.l):oe(t instanceof $t?t.l:(t=ve((t=i.rgb(t)).r,t.g,t.b)).l,t.a,t.b):new Xt(t,e,n)}Kt.brighter=function(t){return t=Math.pow(.7,arguments.length?t:1),new Wt(this.h,this.s,this.l/t)},Kt.darker=function(t){return t=Math.pow(.7,arguments.length?t:1),new Wt(this.h,this.s,t*this.l)},Kt.rgb=function(){return Yt(this.h,this.s,this.l)},i.hcl=Xt;var Qt=Xt.prototype=new Jt;function Zt(t,e,n){return isNaN(t)&&(t=0),isNaN(e)&&(e=0),new $t(n,Math.cos(t*=Pt)*e,Math.sin(t)*e)}function $t(t,e,n){return this instanceof $t?(this.l=+t,this.a=+e,void(this.b=+n)):arguments.length<2?t instanceof $t?new $t(t.l,t.a,t.b):t instanceof Xt?Zt(t.h,t.c,t.l):ve((t=ce(t)).r,t.g,t.b):new $t(t,e,n)}Qt.brighter=function(t){return new Xt(this.h,this.c,Math.min(100,this.l+te*(arguments.length?t:1)))},Qt.darker=function(t){return new Xt(this.h,this.c,Math.max(0,this.l-te*(arguments.length?t:1)))},Qt.rgb=function(){return Zt(this.h,this.c,this.l).rgb()},i.lab=$t;var te=18,ee=.95047,ne=1.08883,re=$t.prototype=new Jt;function ie(t,e,n){var r=(t+16)/116,i=r+e/500,o=r-n/200;return new ce(ue(3.2404542*(i=ae(i)*ee)-1.5371385*(r=1*ae(r))-.4985314*(o=ae(o)*ne)),ue(-.969266*i+1.8760108*r+.041556*o),ue(.0556434*i-.2040259*r+1.0572252*o))}function oe(t,e,n){return t>0?new Xt(Math.atan2(n,e)*Dt,Math.sqrt(e*e+n*n),t):new Xt(NaN,NaN,t)}function ae(t){return t>.206893034?t*t*t:(t-4/29)/7.787037}function se(t){return t>.008856?Math.pow(t,1/3):7.787037*t+4/29}function ue(t){return Math.round(255*(t<=.00304?12.92*t:1.055*Math.pow(t,1/2.4)-.055))}function ce(t,e,n){return this instanceof ce?(this.r=~~t,this.g=~~e,void(this.b=~~n)):arguments.length<2?t instanceof ce?new ce(t.r,t.g,t.b):pe(""+t,ce,Yt):new ce(t,e,n)}function le(t){return new ce(t>>16,t>>8&255,255&t)}function fe(t){return le(t)+""}re.brighter=function(t){return new $t(Math.min(100,this.l+te*(arguments.length?t:1)),this.a,this.b)},re.darker=function(t){return new $t(Math.max(0,this.l-te*(arguments.length?t:1)),this.a,this.b)},re.rgb=function(){return ie(this.l,this.a,this.b)},i.rgb=ce;var he=ce.prototype=new Jt;function de(t){return t<16?"0"+Math.max(0,t).toString(16):Math.min(255,t).toString(16)}function pe(t,e,n){var r,i,o,a=0,s=0,u=0;if(r=/([a-z]+)\((.*)\)/.exec(t=t.toLowerCase()))switch(i=r[2].split(","),r[1]){case"hsl":return n(parseFloat(i[0]),parseFloat(i[1])/100,parseFloat(i[2])/100);case"rgb":return e(me(i[0]),me(i[1]),me(i[2]))}return(o=be.get(t))?e(o.r,o.g,o.b):(null==t||"#"!==t.charAt(0)||isNaN(o=parseInt(t.slice(1),16))||(4===t.length?(a=(3840&o)>>4,a|=a>>4,s=240&o,s|=s>>4,u=15&o,u|=u<<4):7===t.length&&(a=(16711680&o)>>16,s=(65280&o)>>8,u=255&o)),e(a,s,u))}function ge(t,e,n){var r,i,o=Math.min(t/=255,e/=255,n/=255),a=Math.max(t,e,n),s=a-o,u=(a+o)/2;return s?(i=u<.5?s/(a+o):s/(2-a-o),r=t==a?(e-n)/s+(e0&&u<1?0:r),new Wt(r,i,u)}function ve(t,e,n){var r=se((.4124564*(t=ye(t))+.3575761*(e=ye(e))+.1804375*(n=ye(n)))/ee),i=se((.2126729*t+.7151522*e+.072175*n)/1);return $t(116*i-16,500*(r-i),200*(i-se((.0193339*t+.119192*e+.9503041*n)/ne)))}function ye(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function me(t){var e=parseFloat(t);return"%"===t.charAt(t.length-1)?Math.round(2.55*e):e}he.brighter=function(t){t=Math.pow(.7,arguments.length?t:1);var e=this.r,n=this.g,r=this.b,i=30;return e||n||r?(e&&e=200&&e<300||304===e){try{t=n.call(o,c)}catch(t){return void s.error.call(o,t)}s.load.call(o,t)}else s.error.call(o,c)}return this.XDomainRequest&&!("withCredentials"in c)&&/^(http(s)?:)?\/\//.test(t)&&(c=new XDomainRequest),"onload"in c?c.onload=c.onerror=f:c.onreadystatechange=function(){c.readyState>3&&f()},c.onprogress=function(t){var e=i.event;i.event=t;try{s.progress.call(o,c)}finally{i.event=e}},o.header=function(t,e){return t=(t+"").toLowerCase(),arguments.length<2?u[t]:(null==e?delete u[t]:u[t]=e+"",o)},o.mimeType=function(t){return arguments.length?(e=null==t?null:t+"",o):e},o.responseType=function(t){return arguments.length?(l=t,o):l},o.response=function(t){return n=t,o},["get","post"].forEach((function(t){o[t]=function(){return o.send.apply(o,[t].concat(a(arguments)))}})),o.send=function(n,r,i){if(2===arguments.length&&"function"==typeof r&&(i=r,r=null),c.open(n,t,!0),null==e||"accept"in u||(u.accept=e+",*/*"),c.setRequestHeader)for(var a in u)c.setRequestHeader(a,u[a]);return null!=e&&c.overrideMimeType&&c.overrideMimeType(e),null!=l&&(c.responseType=l),null!=i&&o.on("error",i).on("load",(function(t){i(null,t)})),s.beforesend.call(o,c),c.send(null==r?null:r),o},o.abort=function(){return c.abort(),o},i.rebind(o,s,"on"),null==r?o:o.get(function(t){return 1===t.length?function(e,n){t(null==e?n:null)}:t}(r))}be.forEach((function(t,e){be.set(t,le(e))})),i.functor=_e,i.xhr=we(M),i.dsv=function(t,e){var n=new RegExp('["'+t+"\n]"),r=t.charCodeAt(0);function i(t,n,r){arguments.length<3&&(r=n,n=null);var i=xe(t,e,null==n?o:a(n),r);return i.row=function(t){return arguments.length?i.response(null==(n=t)?o:a(t)):n},i}function o(t){return i.parse(t.responseText)}function a(t){return function(e){return i.parse(e.responseText,t)}}function s(e){return e.map(u).join(t)}function u(t){return n.test(t)?'"'+t.replace(/\"/g,'""')+'"':t}return i.parse=function(t,e){var n;return i.parseRows(t,(function(t,r){if(n)return n(t,r-1);var i=new Function("d","return {"+t.map((function(t,e){return JSON.stringify(t)+": d["+e+"]"})).join(",")+"}");n=e?function(t,n){return e(i(t),n)}:i}))},i.parseRows=function(t,e){var n,i,o={},a={},s=[],u=t.length,c=0,l=0;function f(){if(c>=u)return a;if(i)return i=!1,o;var e=c;if(34===t.charCodeAt(e)){for(var n=e;n++24?(isFinite(e)&&(clearTimeout(ke),ke=setTimeout(Ee,e)),Te=0):(Te=1,Ae(Ee))}function je(){for(var t=Date.now(),e=Se;e;)t>=e.t&&e.c(t-e.t)&&(e.c=null),e=e.n;return t}function Re(){for(var t,e=Se,n=1/0;e;)e.c?(e.t8?function(t){return t/n}:function(t){return t*n},symbol:t}}));function Pe(t){var e=t.decimal,n=t.thousands,r=t.grouping,o=t.currency,a=r&&n?function(t,e){for(var i=t.length,o=[],a=0,s=r[0],u=0;i>0&&s>0&&(u+s+1>e&&(s=Math.max(1,e-u)),o.push(t.substring(i-=s,i+s)),!((u+=s+1)>e));)s=r[a=(a+1)%r.length];return o.reverse().join(n)}:M;return function(t){var n=De.exec(t),r=n[1]||" ",s=n[2]||">",u=n[3]||"-",c=n[4]||"",l=n[5],f=+n[6],h=n[7],d=n[8],p=n[9],g=1,v="",y="",m=!1,b=!0;switch(d&&(d=+d.substring(1)),(l||"0"===r&&"="===s)&&(l=r="0",s="="),p){case"n":h=!0,p="g";break;case"%":g=100,y="%",p="f";break;case"p":g=100,y="%",p="r";break;case"b":case"o":case"x":case"X":"#"===c&&(v="0"+p.toLowerCase());case"c":b=!1;case"d":m=!0,d=0;break;case"s":g=-1,p="r"}"$"===c&&(v=o[0],y=o[1]),"r"!=p||d||(p="g"),null!=d&&("g"==p?d=Math.max(1,Math.min(21,d)):"e"!=p&&"f"!=p||(d=Math.max(0,Math.min(20,d)))),p=Ue.get(p)||Fe;var _=l&&h;return function(t){var n=y;if(m&&t%1)return"";var o=t<0||0===t&&1/t<0?(t=-t,"-"):"-"===u?"":u;if(g<0){var c=i.formatPrefix(t,d);t=c.scale(t),n=c.symbol+y}else t*=g;var w,x,S=(t=p(t,d)).lastIndexOf(".");if(S<0){var O=b?t.lastIndexOf("e"):-1;O<0?(w=t,x=""):(w=t.substring(0,O),x=t.substring(O))}else w=t.substring(0,S),x=e+t.substring(S+1);!l&&h&&(w=a(w,1/0));var T=v.length+w.length+x.length+(_?0:o.length),k=T"===s?k+o+t:"^"===s?k.substring(0,T>>=1)+o+t+k.substring(T):o+(_?t:k+t))+n}}}i.formatPrefix=function(t,e){var n=0;return(t=+t)&&(t<0&&(t*=-1),e&&(t=i.round(t,Ie(t,e))),n=1+Math.floor(1e-12+Math.log(t)/Math.LN10),n=Math.max(-24,Math.min(24,3*Math.floor((n-1)/3)))),Me[8+n/3]};var De=/(?:([^{])?([<>=^]))?([+\- ])?([$#])?(0)?(\d+)?(,)?(\.-?\d+)?([a-z%])?/i,Ue=i.map({b:function(t){return t.toString(2)},c:function(t){return String.fromCharCode(t)},o:function(t){return t.toString(8)},x:function(t){return t.toString(16)},X:function(t){return t.toString(16).toUpperCase()},g:function(t,e){return t.toPrecision(e)},e:function(t,e){return t.toExponential(e)},f:function(t,e){return t.toFixed(e)},r:function(t,e){return(t=i.round(t,Ie(t,e))).toFixed(Math.max(0,Math.min(20,Ie(t*(1+1e-15),e))))}});function Fe(t){return t+""}var Le=i.time={},Ne=Date;function ze(){this._=new Date(arguments.length>1?Date.UTC.apply(this,arguments):arguments[0])}ze.prototype={getDate:function(){return this._.getUTCDate()},getDay:function(){return this._.getUTCDay()},getFullYear:function(){return this._.getUTCFullYear()},getHours:function(){return this._.getUTCHours()},getMilliseconds:function(){return this._.getUTCMilliseconds()},getMinutes:function(){return this._.getUTCMinutes()},getMonth:function(){return this._.getUTCMonth()},getSeconds:function(){return this._.getUTCSeconds()},getTime:function(){return this._.getTime()},getTimezoneOffset:function(){return 0},valueOf:function(){return this._.valueOf()},setDate:function(){qe.setUTCDate.apply(this._,arguments)},setDay:function(){qe.setUTCDay.apply(this._,arguments)},setFullYear:function(){qe.setUTCFullYear.apply(this._,arguments)},setHours:function(){qe.setUTCHours.apply(this._,arguments)},setMilliseconds:function(){qe.setUTCMilliseconds.apply(this._,arguments)},setMinutes:function(){qe.setUTCMinutes.apply(this._,arguments)},setMonth:function(){qe.setUTCMonth.apply(this._,arguments)},setSeconds:function(){qe.setUTCSeconds.apply(this._,arguments)},setTime:function(){qe.setTime.apply(this._,arguments)}};var qe=Date.prototype;function Be(t,e,n){function r(e){var n=t(e),r=o(n,1);return e-n1)for(;a=c)return-1;if(37===(i=e.charCodeAt(s++))){if(a=e.charAt(s++),!(o=x[a in Ge?e.charAt(s++):a])||(r=o(t,n,r))<0)return-1}else if(i!=n.charCodeAt(r++))return-1}return r}l.utc=function(t){var e=l(t);function n(t){try{var n=new(Ne=ze);return n._=t,e(n)}finally{Ne=Date}}return n.parse=function(t){try{Ne=ze;var n=e.parse(t);return n&&n._}finally{Ne=Date}},n.toString=e.toString,n},l.multi=l.utc.multi=dn;var h=i.map(),d=Ye(a),p=Xe(a),g=Ye(s),v=Xe(s),y=Ye(u),m=Xe(u),b=Ye(c),_=Xe(c);o.forEach((function(t,e){h.set(t.toLowerCase(),e)}));var w={a:function(t){return s[t.getDay()]},A:function(t){return a[t.getDay()]},b:function(t){return c[t.getMonth()]},B:function(t){return u[t.getMonth()]},c:l(e),d:function(t,e){return Ke(t.getDate(),e,2)},e:function(t,e){return Ke(t.getDate(),e,2)},H:function(t,e){return Ke(t.getHours(),e,2)},I:function(t,e){return Ke(t.getHours()%12||12,e,2)},j:function(t,e){return Ke(1+Le.dayOfYear(t),e,3)},L:function(t,e){return Ke(t.getMilliseconds(),e,3)},m:function(t,e){return Ke(t.getMonth()+1,e,2)},M:function(t,e){return Ke(t.getMinutes(),e,2)},p:function(t){return o[+(t.getHours()>=12)]},S:function(t,e){return Ke(t.getSeconds(),e,2)},U:function(t,e){return Ke(Le.sundayOfYear(t),e,2)},w:function(t){return t.getDay()},W:function(t,e){return Ke(Le.mondayOfYear(t),e,2)},x:l(n),X:l(r),y:function(t,e){return Ke(t.getFullYear()%100,e,2)},Y:function(t,e){return Ke(t.getFullYear()%1e4,e,4)},Z:fn,"%":function(){return"%"}},x={a:function(t,e,n){g.lastIndex=0;var r=g.exec(e.slice(n));return r?(t.w=v.get(r[0].toLowerCase()),n+r[0].length):-1},A:function(t,e,n){d.lastIndex=0;var r=d.exec(e.slice(n));return r?(t.w=p.get(r[0].toLowerCase()),n+r[0].length):-1},b:function(t,e,n){b.lastIndex=0;var r=b.exec(e.slice(n));return r?(t.m=_.get(r[0].toLowerCase()),n+r[0].length):-1},B:function(t,e,n){y.lastIndex=0;var r=y.exec(e.slice(n));return r?(t.m=m.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(t,e,n){return f(t,w.c.toString(),e,n)},d:on,e:on,H:sn,I:sn,j:an,L:ln,m:rn,M:un,p:function(t,e,n){var r=h.get(e.slice(n,n+=2).toLowerCase());return null==r?-1:(t.p=r,n)},S:cn,U:Ze,w:Qe,W:$e,x:function(t,e,n){return f(t,w.x.toString(),e,n)},X:function(t,e,n){return f(t,w.X.toString(),e,n)},y:en,Y:tn,Z:nn,"%":hn};return l}Le.year=Be((function(t){return(t=Le.day(t)).setMonth(0,1),t}),(function(t,e){t.setFullYear(t.getFullYear()+e)}),(function(t){return t.getFullYear()})),Le.years=Le.year.range,Le.years.utc=Le.year.utc.range,Le.day=Be((function(t){var e=new Ne(2e3,0);return e.setFullYear(t.getFullYear(),t.getMonth(),t.getDate()),e}),(function(t,e){t.setDate(t.getDate()+e)}),(function(t){return t.getDate()-1})),Le.days=Le.day.range,Le.days.utc=Le.day.utc.range,Le.dayOfYear=function(t){var e=Le.year(t);return Math.floor((t-e-6e4*(t.getTimezoneOffset()-e.getTimezoneOffset()))/864e5)},["sunday","monday","tuesday","wednesday","thursday","friday","saturday"].forEach((function(t,e){e=7-e;var n=Le[t]=Be((function(t){return(t=Le.day(t)).setDate(t.getDate()-(t.getDay()+e)%7),t}),(function(t,e){t.setDate(t.getDate()+7*Math.floor(e))}),(function(t){var n=Le.year(t).getDay();return Math.floor((Le.dayOfYear(t)+(n+e)%7)/7)-(n!==e)}));Le[t+"s"]=n.range,Le[t+"s"].utc=n.utc.range,Le[t+"OfYear"]=function(t){var n=Le.year(t).getDay();return Math.floor((Le.dayOfYear(t)+(n+e)%7)/7)}})),Le.week=Le.sunday,Le.weeks=Le.sunday.range,Le.weeks.utc=Le.sunday.utc.range,Le.weekOfYear=Le.sundayOfYear;var Ge={"-":"",_:" ",0:"0"},Je=/^\s*\d+/,We=/^%/;function Ke(t,e,n){var r=t<0?"-":"",i=(r?-t:t)+"",o=i.length;return r+(o68?1900:2e3),n+i[0].length):-1}function nn(t,e,n){return/^[+-]\d{4}$/.test(e=e.slice(n,n+5))?(t.Z=-e,n+5):-1}function rn(t,e,n){Je.lastIndex=0;var r=Je.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function on(t,e,n){Je.lastIndex=0;var r=Je.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function an(t,e,n){Je.lastIndex=0;var r=Je.exec(e.slice(n,n+3));return r?(t.j=+r[0],n+r[0].length):-1}function sn(t,e,n){Je.lastIndex=0;var r=Je.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function un(t,e,n){Je.lastIndex=0;var r=Je.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function cn(t,e,n){Je.lastIndex=0;var r=Je.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function ln(t,e,n){Je.lastIndex=0;var r=Je.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function fn(t){var e=t.getTimezoneOffset(),n=e>0?"-":"+",r=w(e)/60|0,i=w(e)%60;return n+Ke(r,"0",2)+Ke(i,"0",2)}function hn(t,e,n){We.lastIndex=0;var r=We.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function dn(t){for(var e=t.length,n=-1;++n=0?1:-1,s=a*o,u=Math.cos(e),c=Math.sin(e),l=i*c,f=r*u+l*Math.cos(s),h=l*a*Math.sin(s);Dn.add(Math.atan2(h,f)),n=t,r=u,i=c}Un.point=function(a,s){Un.point=o,n=(t=a)*Pt,r=Math.cos(s=(e=s)*Pt/2+jt/4),i=Math.sin(s)},Un.lineEnd=function(){o(t,e)}}function Ln(t){var e=t[0],n=t[1],r=Math.cos(n);return[r*Math.cos(e),r*Math.sin(e),Math.sin(n)]}function Nn(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function zn(t,e){return[t[1]*e[2]-t[2]*e[1],t[2]*e[0]-t[0]*e[2],t[0]*e[1]-t[1]*e[0]]}function qn(t,e){t[0]+=e[0],t[1]+=e[1],t[2]+=e[2]}function Bn(t,e){return[t[0]*e,t[1]*e,t[2]*e]}function Hn(t){var e=Math.sqrt(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=e,t[1]/=e,t[2]/=e}function Vn(t){return[Math.atan2(t[1],t[0]),Nt(t[2])]}function Gn(t,e){return w(t[0]-e[0])Ct?r=90:c<-Ct&&(e=-90),f[0]=t,f[1]=n}};function d(i,o){l.push(f=[t=i,n=i]),or&&(r=o)}function p(i,a){var s=Ln([i*Pt,a*Pt]);if(u){var c=zn(u,s),l=zn([c[1],-c[0],0],c);Hn(l),l=Vn(l);var f=i-o,h=f>0?1:-1,p=l[0]*Dt*h,g=w(f)>180;if(g^(h*or&&(r=v);else if(g^(h*o<(p=(p+360)%360-180)&&pr&&(r=a);g?i_(t,n)&&(n=i):_(i,n)>_(t,n)&&(t=i):n>=t?(in&&(n=i)):i>o?_(t,i)>_(t,n)&&(n=i):_(i,n)>_(t,n)&&(t=i)}else d(i,a);u=s,o=i}function g(){h.point=p}function v(){f[0]=t,f[1]=n,h.point=d,u=null}function y(t,e){if(u){var n=t-o;c+=w(n)>180?n+(n>0?360:-360):n}else a=t,s=e;Un.point(t,e),p(t,e)}function m(){Un.lineStart()}function b(){y(a,s),Un.lineEnd(),w(c)>Ct&&(t=-(n=180)),f[0]=t,f[1]=n,u=null}function _(t,e){return(e-=t)<0?e+360:e}function x(t,e){return t[0]-e[0]}function S(t,e){return e[0]<=e[1]?e[0]<=t&&t<=e[1]:t_(g[0],g[1])&&(g[1]=d[1]),_(d[0],g[1])>_(g[0],g[1])&&(g[0]=d[0])):s.push(g=d);for(var u,c,d,p=-1/0,g=(a=0,s[c=s.length-1]);a<=c;g=d,++a)d=s[a],(u=_(g[1],d[0]))>p&&(p=u,t=d[0],n=g[1])}return l=f=null,t===1/0||e===1/0?[[NaN,NaN],[NaN,NaN]]:[[t,e],[n,r]]}}(),i.geo.centroid=function(t){On=Tn=kn=An=Cn=En=jn=Rn=In=Mn=Pn=0,i.geo.stream(t,Jn);var e=In,n=Mn,r=Pn,o=e*e+n*n+r*r;return o=0;--s)i.point((f=l[s])[0],f[1]);else r(d.x,d.p.x,-1,i);d=d.p}l=(d=d.o).z,p=!p}while(!d.v);i.lineEnd()}}}function er(t){if(e=t.length){for(var e,n,r=0,i=t[0];++r=0?1:-1,S=x*w,O=S>jt,T=p*b;if(Dn.add(Math.atan2(T*x*Math.sin(S),g*_+T*Math.cos(S))),o+=O?w+x*Rt:w,O^h>=n^y>=n){var k=zn(Ln(f),Ln(t));Hn(k);var A=zn(i,k);Hn(A);var C=(O^w>=0?-1:1)*Nt(A[2]);(r>C||r===C&&(k[0]||k[1]))&&(a+=O^w>=0?1:-1)}if(!v++)break;h=y,p=b,g=_,f=t}}return(o<-Ct||o0){for(b||(a.polygonStart(),b=!0),a.lineStart();++o1&&2&e&&n.push(n.pop().concat(n.shift())),s.push(n.filter(ir))}return l}}function ir(t){return t.length>1}function or(){var t,e=[];return{lineStart:function(){e.push(t=[])},point:function(e,n){t.push([e,n])},lineEnd:F,buffer:function(){var n=e;return e=[],t=null,n},rejoin:function(){e.length>1&&e.push(e.pop().concat(e.shift()))}}}function ar(t,e){return((t=t.x)[0]<0?t[1]-Mt-Ct:Mt-t[1])-((e=e.x)[0]<0?e[1]-Mt-Ct:Mt-e[1])}var sr=rr($n,(function(t){var e,n=NaN,r=NaN,i=NaN;return{lineStart:function(){t.lineStart(),e=1},point:function(o,a){var s=o>0?jt:-jt,u=w(o-n);w(u-jt)0?Mt:-Mt),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(s,r),t.point(o,r),e=0):i!==s&&u>=jt&&(w(n-i)Ct?Math.atan((Math.sin(e)*(o=Math.cos(r))*Math.sin(n)-Math.sin(r)*(i=Math.cos(e))*Math.sin(t))/(i*o*a)):(e+r)/2}(n,r,o,a),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(s,r),e=0),t.point(n=o,r=a),i=s},lineEnd:function(){t.lineEnd(),n=r=NaN},clean:function(){return 2-e}}}),(function(t,e,n,r){var i;if(null==t)i=n*Mt,r.point(-jt,i),r.point(0,i),r.point(jt,i),r.point(jt,0),r.point(jt,-i),r.point(0,-i),r.point(-jt,-i),r.point(-jt,0),r.point(-jt,i);else if(w(t[0]-e[0])>Ct){var o=t[0]0,r=w(e)>Ct;return rr(i,(function(t){var e,s,u,c,l;return{lineStart:function(){c=u=!1,l=1},point:function(f,h){var d,p=[f,h],g=i(f,h),v=n?g?0:a(f,h):g?a(f+(f<0?jt:-jt),h):0;if(!e&&(c=u=g)&&t.lineStart(),g!==u&&(d=o(e,p),(Gn(e,d)||Gn(p,d))&&(p[0]+=Ct,p[1]+=Ct,g=i(p[0],p[1]))),g!==u)l=0,g?(t.lineStart(),d=o(p,e),t.point(d[0],d[1])):(d=o(e,p),t.point(d[0],d[1]),t.lineEnd()),e=d;else if(r&&e&&n^g){var y;v&s||!(y=o(p,e,!0))||(l=0,n?(t.lineStart(),t.point(y[0][0],y[0][1]),t.point(y[1][0],y[1][1]),t.lineEnd()):(t.point(y[1][0],y[1][1]),t.lineEnd(),t.lineStart(),t.point(y[0][0],y[0][1])))}!g||e&&Gn(e,p)||t.point(p[0],p[1]),e=p,u=g,s=v},lineEnd:function(){u&&t.lineEnd(),e=null},clean:function(){return l|(c&&u)<<1}}}),Gr(t,6*Pt),n?[0,-t]:[-jt,t-jt]);function i(t,n){return Math.cos(t)*Math.cos(n)>e}function o(t,n,r){var i=[1,0,0],o=zn(Ln(t),Ln(n)),a=Nn(o,o),s=o[0],u=a-s*s;if(!u)return!r&&t;var c=e*a/u,l=-e*s/u,f=zn(i,o),h=Bn(i,c);qn(h,Bn(o,l));var d=f,p=Nn(h,d),g=Nn(d,d),v=p*p-g*(Nn(h,h)-1);if(!(v<0)){var y=Math.sqrt(v),m=Bn(d,(-p-y)/g);if(qn(m,h),m=Vn(m),!r)return m;var b,_=t[0],x=n[0],S=t[1],O=n[1];x<_&&(b=_,_=x,x=b);var T=x-_,k=w(T-jt)0^m[1]<(w(m[0]-_)jt^(_<=m[0]&&m[0]<=x)){var A=Bn(d,(-p+y)/g);return qn(A,h),[m,Vn(A)]}}}function a(e,r){var i=n?t:jt-t,o=0;return e<-i?o|=1:e>i&&(o|=2),r<-i?o|=4:r>i&&(o|=8),o}}function cr(t,e,n,r){return function(i){var o,a=i.a,s=i.b,u=a.x,c=a.y,l=0,f=1,h=s.x-u,d=s.y-c;if(o=t-u,h||!(o>0)){if(o/=h,h<0){if(o0){if(o>f)return;o>l&&(l=o)}if(o=n-u,h||!(o<0)){if(o/=h,h<0){if(o>f)return;o>l&&(l=o)}else if(h>0){if(o0)){if(o/=d,d<0){if(o0){if(o>f)return;o>l&&(l=o)}if(o=r-c,d||!(o<0)){if(o/=d,d<0){if(o>f)return;o>l&&(l=o)}else if(d>0){if(o0&&(i.a={x:u+l*h,y:c+l*d}),f<1&&(i.b={x:u+f*h,y:c+f*d}),i}}}}}}var lr=1e9;function fr(t,e,n,r){return function(u){var c,l,f,h,d,p,g,v,y,m,b,_=u,w=or(),x=cr(t,e,n,r),S={point:k,lineStart:function(){S.point=A,l&&l.push(f=[]);m=!0,y=!1,g=v=NaN},lineEnd:function(){c&&(A(h,d),p&&y&&w.rejoin(),c.push(w.buffer()));S.point=k,y&&u.lineEnd()},polygonStart:function(){u=w,c=[],l=[],b=!0},polygonEnd:function(){u=_,c=i.merge(c);var e=function(t){for(var e=0,n=l.length,r=t[1],i=0;ir&&Ft(c,o,t)>0&&++e:o[1]<=r&&Ft(c,o,t)<0&&--e,c=o;return 0!==e}([t,r]),n=b&&e,o=c.length;(n||o)&&(u.polygonStart(),n&&(u.lineStart(),O(null,null,1,u),u.lineEnd()),o&&tr(c,a,e,O,u),u.polygonEnd()),c=l=f=null}};function O(i,a,u,c){var l=0,f=0;if(null==i||(l=o(i,u))!==(f=o(a,u))||s(i,a)<0^u>0)do{c.point(0===l||3===l?t:n,l>1?r:e)}while((l=(l+u+4)%4)!==f);else c.point(a[0],a[1])}function T(i,o){return t<=i&&i<=n&&e<=o&&o<=r}function k(t,e){T(t,e)&&u.point(t,e)}function A(t,e){var n=T(t=Math.max(-1e9,Math.min(lr,t)),e=Math.max(-1e9,Math.min(lr,e)));if(l&&f.push([t,e]),m)h=t,d=e,p=n,m=!1,n&&(u.lineStart(),u.point(t,e));else if(n&&y)u.point(t,e);else{var r={a:{x:g,y:v},b:{x:t,y:e}};x(r)?(y||(u.lineStart(),u.point(r.a.x,r.a.y)),u.point(r.b.x,r.b.y),n||u.lineEnd(),b=!1):n&&(u.lineStart(),u.point(t,e),b=!1)}g=t,v=e,y=n}return S};function o(r,i){return w(r[0]-t)0?0:3:w(r[0]-n)0?2:1:w(r[1]-e)0?1:0:i>0?3:2}function a(t,e){return s(t.x,e.x)}function s(t,e){var n=o(t,1),r=o(e,1);return n!==r?n-r:0===n?e[1]-t[1]:1===n?t[0]-e[0]:2===n?t[1]-e[1]:e[0]-t[0]}}function hr(t){var e=0,n=jt/3,r=Fr(t),i=r(e,n);return i.parallels=function(t){return arguments.length?r(e=t[0]*jt/180,n=t[1]*jt/180):[e/jt*180,n/jt*180]},i}function dr(t,e){var n=Math.sin(t),r=(n+Math.sin(e))/2,i=1+n*(2*r-n),o=Math.sqrt(i)/r;function a(t,e){var n=Math.sqrt(i-2*r*Math.sin(e))/r;return[n*Math.sin(t*=r),o-n*Math.cos(t)]}return a.invert=function(t,e){var n=o-e;return[Math.atan2(t,n)/r,Nt((i-(t*t+n*n)*r*r)/(2*r))]},a}i.geo.clipExtent=function(){var t,e,n,r,i,o,a={stream:function(t){return i&&(i.valid=!1),(i=o(t)).valid=!0,i},extent:function(s){return arguments.length?(o=fr(t=+s[0][0],e=+s[0][1],n=+s[1][0],r=+s[1][1]),i&&(i.valid=!1,i=null),a):[[t,e],[n,r]]}};return a.extent([[0,0],[960,500]])},(i.geo.conicEqualArea=function(){return hr(dr)}).raw=dr,i.geo.albers=function(){return i.geo.conicEqualArea().rotate([96,0]).center([-.6,38.7]).parallels([29.5,45.5]).scale(1070)},i.geo.albersUsa=function(){var t,e,n,r,o=i.geo.albers(),a=i.geo.conicEqualArea().rotate([154,0]).center([-2,58.5]).parallels([55,65]),s=i.geo.conicEqualArea().rotate([157,0]).center([-3,19.9]).parallels([8,18]),u={point:function(e,n){t=[e,n]}};function c(i){var o=i[0],a=i[1];return t=null,e(o,a),t||(n(o,a),t)||r(o,a),t}return c.invert=function(t){var e=o.scale(),n=o.translate(),r=(t[0]-n[0])/e,i=(t[1]-n[1])/e;return(i>=.12&&i<.234&&r>=-.425&&r<-.214?a:i>=.166&&i<.234&&r>=-.214&&r<-.115?s:o).invert(t)},c.stream=function(t){var e=o.stream(t),n=a.stream(t),r=s.stream(t);return{point:function(t,i){e.point(t,i),n.point(t,i),r.point(t,i)},sphere:function(){e.sphere(),n.sphere(),r.sphere()},lineStart:function(){e.lineStart(),n.lineStart(),r.lineStart()},lineEnd:function(){e.lineEnd(),n.lineEnd(),r.lineEnd()},polygonStart:function(){e.polygonStart(),n.polygonStart(),r.polygonStart()},polygonEnd:function(){e.polygonEnd(),n.polygonEnd(),r.polygonEnd()}}},c.precision=function(t){return arguments.length?(o.precision(t),a.precision(t),s.precision(t),c):o.precision()},c.scale=function(t){return arguments.length?(o.scale(t),a.scale(.35*t),s.scale(t),c.translate(o.translate())):o.scale()},c.translate=function(t){if(!arguments.length)return o.translate();var i=o.scale(),l=+t[0],f=+t[1];return e=o.translate(t).clipExtent([[l-.455*i,f-.238*i],[l+.455*i,f+.238*i]]).stream(u).point,n=a.translate([l-.307*i,f+.201*i]).clipExtent([[l-.425*i+Ct,f+.12*i+Ct],[l-.214*i-Ct,f+.234*i-Ct]]).stream(u).point,r=s.translate([l-.205*i,f+.212*i]).clipExtent([[l-.214*i+Ct,f+.166*i+Ct],[l-.115*i-Ct,f+.234*i-Ct]]).stream(u).point,c},c.scale(1070)};var pr,gr,vr,yr,mr,br,_r={point:F,lineStart:F,lineEnd:F,polygonStart:function(){gr=0,_r.lineStart=wr},polygonEnd:function(){_r.lineStart=_r.lineEnd=_r.point=F,pr+=w(gr/2)}};function wr(){var t,e,n,r;function i(t,e){gr+=r*t-n*e,n=t,r=e}_r.point=function(o,a){_r.point=i,t=n=o,e=r=a},_r.lineEnd=function(){i(t,e)}}var xr={point:function(t,e){tmr&&(mr=t);ebr&&(br=e)},lineStart:F,lineEnd:F,polygonStart:F,polygonEnd:F};function Sr(){var t=Or(4.5),e=[],n={point:r,lineStart:function(){n.point=i},lineEnd:a,polygonStart:function(){n.lineEnd=s},polygonEnd:function(){n.lineEnd=a,n.point=r},pointRadius:function(e){return t=Or(e),n},result:function(){if(e.length){var t=e.join("");return e=[],t}}};function r(n,r){e.push("M",n,",",r,t)}function i(t,r){e.push("M",t,",",r),n.point=o}function o(t,n){e.push("L",t,",",n)}function a(){n.point=r}function s(){e.push("Z")}return n}function Or(t){return"m0,"+t+"a"+t+","+t+" 0 1,1 0,"+-2*t+"a"+t+","+t+" 0 1,1 0,"+2*t+"z"}var Tr,kr={point:Ar,lineStart:Cr,lineEnd:Er,polygonStart:function(){kr.lineStart=jr},polygonEnd:function(){kr.point=Ar,kr.lineStart=Cr,kr.lineEnd=Er}};function Ar(t,e){kn+=t,An+=e,++Cn}function Cr(){var t,e;function n(n,r){var i=n-t,o=r-e,a=Math.sqrt(i*i+o*o);En+=a*(t+n)/2,jn+=a*(e+r)/2,Rn+=a,Ar(t=n,e=r)}kr.point=function(r,i){kr.point=n,Ar(t=r,e=i)}}function Er(){kr.point=Ar}function jr(){var t,e,n,r;function i(t,e){var i=t-n,o=e-r,a=Math.sqrt(i*i+o*o);En+=a*(n+t)/2,jn+=a*(r+e)/2,Rn+=a,In+=(a=r*t-n*e)*(n+t),Mn+=a*(r+e),Pn+=3*a,Ar(n=t,r=e)}kr.point=function(o,a){kr.point=i,Ar(t=n=o,e=r=a)},kr.lineEnd=function(){i(t,e)}}function Rr(t){var e=4.5,n={point:r,lineStart:function(){n.point=i},lineEnd:a,polygonStart:function(){n.lineEnd=s},polygonEnd:function(){n.lineEnd=a,n.point=r},pointRadius:function(t){return e=t,n},result:F};function r(n,r){t.moveTo(n+e,r),t.arc(n,r,e,0,Rt)}function i(e,r){t.moveTo(e,r),n.point=o}function o(e,n){t.lineTo(e,n)}function a(){n.point=r}function s(){t.closePath()}return n}function Ir(t){var e=.5,n=Math.cos(30*Pt),r=16;function i(t){return(r?a:o)(t)}function o(e){return Dr(e,(function(n,r){n=t(n,r),e.point(n[0],n[1])}))}function a(e){var n,i,o,a,u,c,l,f,h,d,p,g,v={point:y,lineStart:m,lineEnd:_,polygonStart:function(){e.polygonStart(),v.lineStart=w},polygonEnd:function(){e.polygonEnd(),v.lineStart=m}};function y(n,r){n=t(n,r),e.point(n[0],n[1])}function m(){f=NaN,v.point=b,e.lineStart()}function b(n,i){var o=Ln([n,i]),a=t(n,i);s(f,h,l,d,p,g,f=a[0],h=a[1],l=n,d=o[0],p=o[1],g=o[2],r,e),e.point(f,h)}function _(){v.point=y,e.lineEnd()}function w(){m(),v.point=x,v.lineEnd=S}function x(t,e){b(n=t,e),i=f,o=h,a=d,u=p,c=g,v.point=b}function S(){s(f,h,l,d,p,g,i,o,n,a,u,c,r,e),v.lineEnd=_,_()}return v}function s(r,i,o,a,u,c,l,f,h,d,p,g,v,y){var m=l-r,b=f-i,_=m*m+b*b;if(_>4*e&&v--){var x=a+d,S=u+p,O=c+g,T=Math.sqrt(x*x+S*S+O*O),k=Math.asin(O/=T),A=w(w(O)-1)e||w((m*R+b*I)/_-.5)>.3||a*d+u*p+c*g0&&16,i):Math.sqrt(e)},i}function Mr(t){var e=Ir((function(e,n){return t([e*Dt,n*Dt])}));return function(t){return Lr(e(t))}}function Pr(t){this.stream=t}function Dr(t,e){return{point:e,sphere:function(){t.sphere()},lineStart:function(){t.lineStart()},lineEnd:function(){t.lineEnd()},polygonStart:function(){t.polygonStart()},polygonEnd:function(){t.polygonEnd()}}}function Ur(t){return Fr((function(){return t}))()}function Fr(t){var e,n,r,o,a,s,u=Ir((function(t,n){return[(t=e(t,n))[0]*c+o,a-t[1]*c]})),c=150,l=480,f=250,h=0,d=0,p=0,g=0,v=0,y=sr,m=M,b=null,_=null;function w(t){return[(t=r(t[0]*Pt,t[1]*Pt))[0]*c+o,a-t[1]*c]}function x(t){return(t=r.invert((t[0]-o)/c,(a-t[1])/c))&&[t[0]*Dt,t[1]*Dt]}function S(){r=Zn(n=qr(p,g,v),e);var t=e(h,d);return o=l-t[0]*c,a=f+t[1]*c,O()}function O(){return s&&(s.valid=!1,s=null),w}return w.stream=function(t){return s&&(s.valid=!1),(s=Lr(y(n,u(m(t))))).valid=!0,s},w.clipAngle=function(t){return arguments.length?(y=null==t?(b=t,sr):ur((b=+t)*Pt),O()):b},w.clipExtent=function(t){return arguments.length?(_=t,m=t?fr(t[0][0],t[0][1],t[1][0],t[1][1]):M,O()):_},w.scale=function(t){return arguments.length?(c=+t,S()):c},w.translate=function(t){return arguments.length?(l=+t[0],f=+t[1],S()):[l,f]},w.center=function(t){return arguments.length?(h=t[0]%360*Pt,d=t[1]%360*Pt,S()):[h*Dt,d*Dt]},w.rotate=function(t){return arguments.length?(p=t[0]%360*Pt,g=t[1]%360*Pt,v=t.length>2?t[2]%360*Pt:0,S()):[p*Dt,g*Dt,v*Dt]},i.rebind(w,u,"precision"),function(){return e=t.apply(this,arguments),w.invert=e.invert&&x,S()}}function Lr(t){return Dr(t,(function(e,n){t.point(e*Pt,n*Pt)}))}function Nr(t,e){return[t,e]}function zr(t,e){return[t>jt?t-Rt:t<-jt?t+Rt:t,e]}function qr(t,e,n){return t?e||n?Zn(Hr(t),Vr(e,n)):Hr(t):e||n?Vr(e,n):zr}function Br(t){return function(e,n){return[(e+=t)>jt?e-Rt:e<-jt?e+Rt:e,n]}}function Hr(t){var e=Br(t);return e.invert=Br(-t),e}function Vr(t,e){var n=Math.cos(t),r=Math.sin(t),i=Math.cos(e),o=Math.sin(e);function a(t,e){var a=Math.cos(e),s=Math.cos(t)*a,u=Math.sin(t)*a,c=Math.sin(e),l=c*n+s*r;return[Math.atan2(u*i-l*o,s*n-c*r),Nt(l*i+u*o)]}return a.invert=function(t,e){var a=Math.cos(e),s=Math.cos(t)*a,u=Math.sin(t)*a,c=Math.sin(e),l=c*i-u*o;return[Math.atan2(u*i+c*o,s*n+l*r),Nt(l*n-s*r)]},a}function Gr(t,e){var n=Math.cos(t),r=Math.sin(t);return function(i,o,a,s){var u=a*e;null!=i?(i=Jr(n,i),o=Jr(n,o),(a>0?io)&&(i+=a*Rt)):(i=t+a*Rt,o=t-.5*u);for(var c,l=i;a>0?l>o:l2?t[2]*Pt:0),e.invert=function(e){return(e=t.invert(e[0]*Pt,e[1]*Pt))[0]*=Dt,e[1]*=Dt,e},e},zr.invert=Nr,i.geo.circle=function(){var t,e,n=[0,0],r=6;function i(){var t="function"==typeof n?n.apply(this,arguments):n,r=qr(-t[0]*Pt,-t[1]*Pt,0).invert,i=[];return e(null,null,1,{point:function(t,e){i.push(t=r(t,e)),t[0]*=Dt,t[1]*=Dt}}),{type:"Polygon",coordinates:[i]}}return i.origin=function(t){return arguments.length?(n=t,i):n},i.angle=function(n){return arguments.length?(e=Gr((t=+n)*Pt,r*Pt),i):t},i.precision=function(n){return arguments.length?(e=Gr(t*Pt,(r=+n)*Pt),i):r},i.angle(90)},i.geo.distance=function(t,e){var n,r=(e[0]-t[0])*Pt,i=t[1]*Pt,o=e[1]*Pt,a=Math.sin(r),s=Math.cos(r),u=Math.sin(i),c=Math.cos(i),l=Math.sin(o),f=Math.cos(o);return Math.atan2(Math.sqrt((n=f*a)*n+(n=c*l-u*f*s)*n),u*l+c*f*s)},i.geo.graticule=function(){var t,e,n,r,o,a,s,u,c,l,f,h,d=10,p=d,g=90,v=360,y=2.5;function m(){return{type:"MultiLineString",coordinates:b()}}function b(){return i.range(Math.ceil(r/g)*g,n,g).map(f).concat(i.range(Math.ceil(u/v)*v,s,v).map(h)).concat(i.range(Math.ceil(e/d)*d,t,d).filter((function(t){return w(t%g)>Ct})).map(c)).concat(i.range(Math.ceil(a/p)*p,o,p).filter((function(t){return w(t%v)>Ct})).map(l))}return m.lines=function(){return b().map((function(t){return{type:"LineString",coordinates:t}}))},m.outline=function(){return{type:"Polygon",coordinates:[f(r).concat(h(s).slice(1),f(n).reverse().slice(1),h(u).reverse().slice(1))]}},m.extent=function(t){return arguments.length?m.majorExtent(t).minorExtent(t):m.minorExtent()},m.majorExtent=function(t){return arguments.length?(r=+t[0][0],n=+t[1][0],u=+t[0][1],s=+t[1][1],r>n&&(t=r,r=n,n=t),u>s&&(t=u,u=s,s=t),m.precision(y)):[[r,u],[n,s]]},m.minorExtent=function(n){return arguments.length?(e=+n[0][0],t=+n[1][0],a=+n[0][1],o=+n[1][1],e>t&&(n=e,e=t,t=n),a>o&&(n=a,a=o,o=n),m.precision(y)):[[e,a],[t,o]]},m.step=function(t){return arguments.length?m.majorStep(t).minorStep(t):m.minorStep()},m.majorStep=function(t){return arguments.length?(g=+t[0],v=+t[1],m):[g,v]},m.minorStep=function(t){return arguments.length?(d=+t[0],p=+t[1],m):[d,p]},m.precision=function(i){return arguments.length?(y=+i,c=Wr(a,o,90),l=Kr(e,t,y),f=Wr(u,s,90),h=Kr(r,n,y),m):y},m.majorExtent([[-180,-90+Ct],[180,90-Ct]]).minorExtent([[-180,-80-Ct],[180,80+Ct]])},i.geo.greatArc=function(){var t,e,n=Yr,r=Xr;function o(){return{type:"LineString",coordinates:[t||n.apply(this,arguments),e||r.apply(this,arguments)]}}return o.distance=function(){return i.geo.distance(t||n.apply(this,arguments),e||r.apply(this,arguments))},o.source=function(e){return arguments.length?(n=e,t="function"==typeof e?null:e,o):n},o.target=function(t){return arguments.length?(r=t,e="function"==typeof t?null:t,o):r},o.precision=function(){return arguments.length?o:0},o},i.geo.interpolate=function(t,e){return n=t[0]*Pt,r=t[1]*Pt,i=e[0]*Pt,o=e[1]*Pt,a=Math.cos(r),s=Math.sin(r),u=Math.cos(o),c=Math.sin(o),l=a*Math.cos(n),f=a*Math.sin(n),h=u*Math.cos(i),d=u*Math.sin(i),p=2*Math.asin(Math.sqrt(qt(o-r)+a*u*qt(i-n))),g=1/Math.sin(p),(v=p?function(t){var e=Math.sin(t*=p)*g,n=Math.sin(p-t)*g,r=n*l+e*h,i=n*f+e*d,o=n*s+e*c;return[Math.atan2(i,r)*Dt,Math.atan2(o,Math.sqrt(r*r+i*i))*Dt]}:function(){return[n*Dt,r*Dt]}).distance=p,v;var n,r,i,o,a,s,u,c,l,f,h,d,p,g,v},i.geo.length=function(t){return Tr=0,i.geo.stream(t,Qr),Tr};var Qr={sphere:F,point:F,lineStart:function(){var t,e,n;function r(r,i){var o=Math.sin(i*=Pt),a=Math.cos(i),s=w((r*=Pt)-t),u=Math.cos(s);Tr+=Math.atan2(Math.sqrt((s=a*Math.sin(s))*s+(s=n*o-e*a*u)*s),e*o+n*a*u),t=r,e=o,n=a}Qr.point=function(i,o){t=i*Pt,e=Math.sin(o*=Pt),n=Math.cos(o),Qr.point=r},Qr.lineEnd=function(){Qr.point=Qr.lineEnd=F}},lineEnd:F,polygonStart:F,polygonEnd:F};function Zr(t,e){function n(e,n){var r=Math.cos(e),i=Math.cos(n),o=t(r*i);return[o*i*Math.sin(e),o*Math.sin(n)]}return n.invert=function(t,n){var r=Math.sqrt(t*t+n*n),i=e(r),o=Math.sin(i),a=Math.cos(i);return[Math.atan2(t*o,r*a),Math.asin(r&&n*o/r)]},n}var $r=Zr((function(t){return Math.sqrt(2/(1+t))}),(function(t){return 2*Math.asin(t/2)}));(i.geo.azimuthalEqualArea=function(){return Ur($r)}).raw=$r;var ti=Zr((function(t){var e=Math.acos(t);return e&&e/Math.sin(e)}),M);function ei(t,e){var n=Math.cos(t),r=function(t){return Math.tan(jt/4+t/2)},i=t===e?Math.sin(t):Math.log(n/Math.cos(e))/Math.log(r(e)/r(t)),o=n*Math.pow(r(t),i)/i;if(!i)return ii;function a(t,e){o>0?e<-Mt+Ct&&(e=-Mt+Ct):e>Mt-Ct&&(e=Mt-Ct);var n=o/Math.pow(r(e),i);return[n*Math.sin(i*t),o-n*Math.cos(i*t)]}return a.invert=function(t,e){var n=o-e,r=Ut(i)*Math.sqrt(t*t+n*n);return[Math.atan2(t,n)/i,2*Math.atan(Math.pow(o/r,1/i))-Mt]},a}function ni(t,e){var n=Math.cos(t),r=t===e?Math.sin(t):(n-Math.cos(e))/(e-t),i=n/r+t;if(w(r)1&&Ft(t[n[r-2]],t[n[r-1]],t[i])<=0;)--r;n[r++]=i}return n.slice(0,r)}function hi(t,e){return t[0]-e[0]||t[1]-e[1]}(i.geo.stereographic=function(){return Ur(si)}).raw=si,ui.invert=function(t,e){return[-e,2*Math.atan(Math.exp(t))-Mt]},(i.geo.transverseMercator=function(){var t=oi(ui),e=t.center,n=t.rotate;return t.center=function(t){return t?e([-t[1],t[0]]):[(t=e())[1],-t[0]]},t.rotate=function(t){return t?n([t[0],t[1],t.length>2?t[2]+90:90]):[(t=n())[0],t[1],t[2]-90]},n([0,0,90])}).raw=ui,i.geom={},i.geom.hull=function(t){var e=ci,n=li;if(arguments.length)return r(t);function r(t){if(t.length<3)return[];var r,i=_e(e),o=_e(n),a=t.length,s=[],u=[];for(r=0;r=0;--r)d.push(t[s[c[r]][2]]);for(r=+f;rCt)s=s.L;else{if(!((i=o-ji(s,a))>Ct)){r>-Ct?(e=s.P,n=s):i>-Ct?(e=s,n=s.N):e=n=s;break}if(!s.R){e=s;break}s=s.R}var u=Ti(t);if(bi.insert(e,u),e||n){if(e===n)return Di(e),n=Ti(e.site),bi.insert(u,n),u.edge=n.edge=Li(e.site,u.site),Pi(e),void Pi(n);if(n){Di(e),Di(n);var c=e.site,l=c.x,f=c.y,h=t.x-l,d=t.y-f,p=n.site,g=p.x-l,v=p.y-f,y=2*(h*v-d*g),m=h*h+d*d,b=g*g+v*v,_={x:(v*m-d*b)/y+l,y:(h*b-g*m)/y+f};zi(n.edge,c,p,_),u.edge=Li(c,t,null,_),n.edge=Li(t,p,null,_),Pi(e),Pi(n)}else u.edge=Li(e.site,u.site)}}function Ei(t,e){var n=t.site,r=n.x,i=n.y,o=i-e;if(!o)return r;var a=t.P;if(!a)return-1/0;var s=(n=a.site).x,u=n.y,c=u-e;if(!c)return s;var l=s-r,f=1/o-1/c,h=l/c;return f?(-h+Math.sqrt(h*h-2*f*(l*l/(-2*c)-u+c/2+i-o/2)))/f+r:(r+s)/2}function ji(t,e){var n=t.N;if(n)return Ei(n,e);var r=t.site;return r.y===e?r.x:1/0}function Ri(t){this.site=t,this.edges=[]}function Ii(t,e){return e.angle-t.angle}function Mi(){Hi(this),this.x=this.y=this.arc=this.site=this.cy=null}function Pi(t){var e=t.P,n=t.N;if(e&&n){var r=e.site,i=t.site,o=n.site;if(r!==o){var a=i.x,s=i.y,u=r.x-a,c=r.y-s,l=o.x-a,f=2*(u*(v=o.y-s)-c*l);if(!(f>=-Et)){var h=u*u+c*c,d=l*l+v*v,p=(v*h-c*d)/f,g=(u*d-l*h)/f,v=g+s,y=Si.pop()||new Mi;y.arc=t,y.site=i,y.x=p+a,y.y=v+Math.sqrt(p*p+g*g),y.cy=v,t.circle=y;for(var m=null,b=wi._;b;)if(y.y=s)return;if(h>p){if(o){if(o.y>=c)return}else o={x:v,y:u};n={x:v,y:c}}else{if(o){if(o.y1)if(h>p){if(o){if(o.y>=c)return}else o={x:(u-i)/r,y:u};n={x:(c-i)/r,y:c}}else{if(o){if(o.y=s)return}else o={x:a,y:r*a+i};n={x:s,y:r*s+i}}else{if(o){if(o.xCt||w(i-n)>Ct)&&(s.splice(a,0,new qi(Ni(o.site,l,w(r-f)Ct?{x:f,y:w(e-f)Ct?{x:w(n-p)Ct?{x:h,y:w(e-h)Ct?{x:w(n-d)=n&&c.x<=i&&c.y>=r&&c.y<=a?[[n,a],[i,a],[i,r],[n,r]]:[]).point=t[s]})),e}function s(t){return t.map((function(t,e){return{x:Math.round(r(t,e)/Ct)*Ct,y:Math.round(i(t,e)/Ct)*Ct,i:e}}))}return a.links=function(t){return Wi(s(t)).edges.filter((function(t){return t.l&&t.r})).map((function(e){return{source:t[e.l.i],target:t[e.r.i]}}))},a.triangles=function(t){var e=[];return Wi(s(t)).cells.forEach((function(n,r){for(var i,o,a,s,u=n.site,c=n.edges.sort(Ii),l=-1,f=c.length,h=c[f-1].edge,d=h.l===u?h.r:h.l;++lo||f>a||h=w)<<1|e>=_,S=x+4;xo&&(i=e.slice(o,i),s[a]?s[a]+=i:s[++a]=i),(n=n[0])===(r=r[0])?s[a]?s[a]+=r:s[++a]=r:(s[++a]=null,u.push({i:a,x:no(n,r)})),o=oo.lastIndex;return og&&(g=u.x),u.y>v&&(v=u.y),c.push(u.x),l.push(u.y);else for(f=0;fg&&(g=b),_>v&&(v=_),c.push(b),l.push(_)}var x=g-d,S=v-p;function O(t,e,n,r,i,o,a,s){if(!isNaN(n)&&!isNaN(r))if(t.leaf){var u=t.x,c=t.y;if(null!=u)if(w(u-n)+w(c-r)<.01)T(t,e,n,r,i,o,a,s);else{var l=t.point;t.x=t.y=t.point=null,T(t,l,u,c,i,o,a,s),T(t,e,n,r,i,o,a,s)}else t.x=n,t.y=r,t.point=e}else T(t,e,n,r,i,o,a,s)}function T(t,e,n,r,i,o,a,s){var u=.5*(i+a),c=.5*(o+s),l=n>=u,f=r>=c,h=f<<1|l;t.leaf=!1,l?i=u:a=u,f?o=c:s=c,O(t=t.nodes[h]||(t.nodes[h]={leaf:!0,nodes:[],point:null,x:null,y:null}),e,n,r,i,o,a,s)}x>S?v=p+x:g=d+S;var k={leaf:!0,nodes:[],point:null,x:null,y:null,add:function(t){O(k,t,+y(t,++f),+m(t,f),d,p,g,v)},visit:function(t){Zi(t,k,d,p,g,v)},find:function(t){return $i(k,t[0],t[1],d,p,g,v)}};if(f=-1,null==e){for(;++f=0&&!(n=i.interpolators[r](t,e)););return n}function so(t,e){var n,r=[],i=[],o=t.length,a=e.length,s=Math.min(t.length,e.length);for(n=0;n=1?1:t(e)}}function ho(t){return function(e){return 1-t(1-e)}}function po(t){return function(e){return.5*(e<.5?t(2*e):2-t(2-2*e))}}function go(t){return t*t}function vo(t){return t*t*t}function yo(t){if(t<=0)return 0;if(t>=1)return 1;var e=t*t,n=e*t;return 4*(t<.5?n:3*(t-e)+n-.75)}function mo(t){return 1-Math.cos(t*Mt)}function bo(t){return Math.pow(2,10*(t-1))}function _o(t){return 1-Math.sqrt(1-t*t)}function wo(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375}function xo(t,e){return e-=t,function(n){return Math.round(t+e*n)}}function So(t){var e,n,r,i=[t.a,t.b],o=[t.c,t.d],a=To(i),s=Oo(i,o),u=To(((e=o)[0]+=(r=-s)*(n=i)[0],e[1]+=r*n[1],e))||0;i[0]*o[1]=0?t.slice(0,e):t,r=e>=0?t.slice(e+1):"in";return n=co.get(n)||uo,fo((r=lo.get(r)||M)(n.apply(null,o.call(arguments,1))))},i.interpolateHcl=function(t,e){t=i.hcl(t),e=i.hcl(e);var n=t.h,r=t.c,o=t.l,a=e.h-n,s=e.c-r,u=e.l-o;isNaN(s)&&(s=0,r=isNaN(r)?e.c:r);isNaN(a)?(a=0,n=isNaN(n)?e.h:n):a>180?a-=360:a<-180&&(a+=360);return function(t){return Zt(n+a*t,r+s*t,o+u*t)+""}},i.interpolateHsl=function(t,e){t=i.hsl(t),e=i.hsl(e);var n=t.h,r=t.s,o=t.l,a=e.h-n,s=e.s-r,u=e.l-o;isNaN(s)&&(s=0,r=isNaN(r)?e.s:r);isNaN(a)?(a=0,n=isNaN(n)?e.h:n):a>180?a-=360:a<-180&&(a+=360);return function(t){return Yt(n+a*t,r+s*t,o+u*t)+""}},i.interpolateLab=function(t,e){t=i.lab(t),e=i.lab(e);var n=t.l,r=t.a,o=t.b,a=e.l-n,s=e.a-r,u=e.b-o;return function(t){return ie(n+a*t,r+s*t,o+u*t)+""}},i.interpolateRound=xo,i.transform=function(t){var e=s.createElementNS(i.ns.prefix.svg,"g");return(i.transform=function(t){if(null!=t){e.setAttribute("transform",t);var n=e.transform.baseVal.consolidate()}return new So(n?n.matrix:ko)})(t)},So.prototype.toString=function(){return"translate("+this.translate+")rotate("+this.rotate+")skewX("+this.skew+")scale("+this.scale+")"};var ko={a:1,b:0,c:0,d:1,e:0,f:0};function Ao(t){return t.length?t.pop()+",":""}function Co(t,e){var n=[],r=[];return t=i.transform(t),e=i.transform(e),function(t,e,n,r){if(t[0]!==e[0]||t[1]!==e[1]){var i=n.push("translate(",null,",",null,")");r.push({i:i-4,x:no(t[0],e[0])},{i:i-2,x:no(t[1],e[1])})}else(e[0]||e[1])&&n.push("translate("+e+")")}(t.translate,e.translate,n,r),function(t,e,n,r){t!==e?(t-e>180?e+=360:e-t>180&&(t+=360),r.push({i:n.push(Ao(n)+"rotate(",null,")")-2,x:no(t,e)})):e&&n.push(Ao(n)+"rotate("+e+")")}(t.rotate,e.rotate,n,r),function(t,e,n,r){t!==e?r.push({i:n.push(Ao(n)+"skewX(",null,")")-2,x:no(t,e)}):e&&n.push(Ao(n)+"skewX("+e+")")}(t.skew,e.skew,n,r),function(t,e,n,r){if(t[0]!==e[0]||t[1]!==e[1]){var i=n.push(Ao(n)+"scale(",null,",",null,")");r.push({i:i-4,x:no(t[0],e[0])},{i:i-2,x:no(t[1],e[1])})}else 1===e[0]&&1===e[1]||n.push(Ao(n)+"scale("+e+")")}(t.scale,e.scale,n,r),t=e=null,function(t){for(var e,i=-1,o=r.length;++i0?n=e:(t.c=null,t.t=NaN,t=null,u.end({type:"end",alpha:n=0})):e>0&&(u.start({type:"start",alpha:n=e}),t=Ce(s.tick)),s):n},s.start=function(){var t,e,n,i=y.length,u=m.length,l=c[0],p=c[1];for(t=0;t=0;)n.push(i[r])}function Ho(t,e){for(var n=[t],r=[];null!=(t=n.pop());)if(r.push(t),(o=t.children)&&(i=o.length))for(var i,o,a=-1;++a=0;)a.push(l=c[u]),l.parent=o,l.depth=o.depth+1;n&&(o.value=0),o.children=c}else n&&(o.value=+n.call(r,o,o.depth)||0),delete o.children;return Ho(i,(function(e){var r,i;t&&(r=e.children)&&r.sort(t),n&&(i=e.parent)&&(i.value+=e.value)})),s}return r.sort=function(e){return arguments.length?(t=e,r):t},r.children=function(t){return arguments.length?(e=t,r):e},r.value=function(t){return arguments.length?(n=t,r):n},r.revalue=function(t){return n&&(Bo(t,(function(t){t.children&&(t.value=0)})),Ho(t,(function(t){var e;t.children||(t.value=+n.call(r,t,t.depth)||0),(e=t.parent)&&(e.value+=t.value)}))),t},r},i.layout.partition=function(){var t=i.layout.hierarchy(),e=[1,1];function n(t,e,r,i){var o=t.children;if(t.x=e,t.y=t.depth*i,t.dx=r,t.dy=i,o&&(a=o.length)){var a,s,u,c=-1;for(r=t.value?r/t.value:0;++cs&&(s=r),a.push(r)}for(n=0;ni&&(r=n,i=e);return r}function ra(t){return t.reduce(ia,0)}function ia(t,e){return t+e[1]}function oa(t,e){return aa(t,Math.ceil(Math.log(e.length)/Math.LN2+1))}function aa(t,e){for(var n=-1,r=+t[0],i=(t[1]-r)/e,o=[];++n<=e;)o[n]=i*n+r;return o}function sa(t){return[i.min(t),i.max(t)]}function ua(t,e){return t.value-e.value}function ca(t,e){var n=t._pack_next;t._pack_next=e,e._pack_prev=t,e._pack_next=n,n._pack_prev=e}function la(t,e){t._pack_next=e,e._pack_prev=t}function fa(t,e){var n=e.x-t.x,r=e.y-t.y,i=t.r+e.r;return.999*i*i>n*n+r*r}function ha(t){if((e=t.children)&&(u=e.length)){var e,n,r,i,o,a,s,u,c=1/0,l=-1/0,f=1/0,h=-1/0;if(e.forEach(da),(n=e[0]).x=-n.r,n.y=0,b(n),u>1&&((r=e[1]).x=r.r,r.y=0,b(r),u>2))for(va(n,r,i=e[2]),b(i),ca(n,i),n._pack_prev=i,ca(i,r),r=n._pack_next,o=3;o0)for(a=-1;++a=f[0]&&u<=f[1]&&((s=c[i.bisect(h,u,1,p)-1]).y+=g,s.push(o[a]));return c}return o.value=function(t){return arguments.length?(e=t,o):e},o.range=function(t){return arguments.length?(n=_e(t),o):n},o.bins=function(t){return arguments.length?(r="number"==typeof t?function(e){return aa(e,t)}:_e(t),o):r},o.frequency=function(e){return arguments.length?(t=!!e,o):t},o},i.layout.pack=function(){var t,e=i.layout.hierarchy().sort(ua),n=0,r=[1,1];function o(i,o){var a=e.call(this,i,o),s=a[0],u=r[0],c=r[1],l=null==t?Math.sqrt:"function"==typeof t?t:function(){return t};if(s.x=s.y=0,Ho(s,(function(t){t.r=+l(t.value)})),Ho(s,ha),n){var f=n*(t?1:Math.max(2*s.r/u,2*s.r/c))/2;Ho(s,(function(t){t.r+=f})),Ho(s,ha),Ho(s,(function(t){t.r-=f}))}return ga(s,u/2,c/2,t?1:1/Math.max(2*s.r/u,2*s.r/c)),a}return o.size=function(t){return arguments.length?(r=t,o):r},o.radius=function(e){return arguments.length?(t=null==e||"function"==typeof e?e:+e,o):t},o.padding=function(t){return arguments.length?(n=+t,o):n},qo(o,e)},i.layout.tree=function(){var t=i.layout.hierarchy().sort(null).value(null),e=ya,n=[1,1],r=null;function o(i,o){var c=t.call(this,i,o),l=c[0],f=function(t){var e,n={A:null,children:[t]},r=[n];for(;null!=(e=r.pop());)for(var i,o=e.children,a=0,s=o.length;ad.x&&(d=t),t.depth>p.depth&&(p=t)}));var g=e(h,d)/2-h.x,v=n[0]/(d.x+e(d,h)/2+g),y=n[1]/(p.depth||1);Bo(l,(function(t){t.x=(t.x+g)*v,t.y=t.depth*y}))}return c}function a(t){var n=t.children,r=t.parent.children,i=t.i?r[t.i-1]:null;if(n.length){!function(t){var e,n=0,r=0,i=t.children,o=i.length;for(;--o>=0;)(e=i[o]).z+=n,e.m+=n,n+=e.s+(r+=e.c)}(t);var o=(n[0].z+n[n.length-1].z)/2;i?(t.z=i.z+e(t._,i._),t.m=t.z-o):t.z=o}else i&&(t.z=i.z+e(t._,i._));t.parent.A=function(t,n,r){if(n){for(var i,o=t,a=t,s=n,u=o.parent.children[0],c=o.m,l=a.m,f=s.m,h=u.m;s=ba(s),o=ma(o),s&&o;)u=ma(u),(a=ba(a)).a=t,(i=s.z+f-o.z-c+e(s._,o._))>0&&(_a(wa(s,t,r),t,i),c+=i,l+=i),f+=s.m,c+=o.m,h+=u.m,l+=a.m;s&&!ba(a)&&(a.t=s,a.m+=f-l),o&&!ma(u)&&(u.t=o,u.m+=c-h,r=t)}return r}(t,i,t.parent.A||r[0])}function s(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function u(t){t.x*=n[0],t.y=t.depth*n[1]}return o.separation=function(t){return arguments.length?(e=t,o):e},o.size=function(t){return arguments.length?(r=null==(n=t)?u:null,o):r?null:n},o.nodeSize=function(t){return arguments.length?(r=null==(n=t)?null:u,o):r?n:null},qo(o,t)},i.layout.cluster=function(){var t=i.layout.hierarchy().sort(null).value(null),e=ya,n=[1,1],r=!1;function o(o,a){var s,u=t.call(this,o,a),c=u[0],l=0;Ho(c,(function(t){var n=t.children;n&&n.length?(t.x=function(t){return t.reduce((function(t,e){return t+e.x}),0)/t.length}(n),t.y=function(t){return 1+i.max(t,(function(t){return t.y}))}(n)):(t.x=s?l+=e(t,s):0,t.y=0,s=t)}));var f=xa(c),h=Sa(c),d=f.x-e(f,h)/2,p=h.x+e(h,f)/2;return Ho(c,r?function(t){t.x=(t.x-c.x)*n[0],t.y=(c.y-t.y)*n[1]}:function(t){t.x=(t.x-d)/(p-d)*n[0],t.y=(1-(c.y?t.y/c.y:1))*n[1]}),u}return o.separation=function(t){return arguments.length?(e=t,o):e},o.size=function(t){return arguments.length?(r=null==(n=t),o):r?null:n},o.nodeSize=function(t){return arguments.length?(r=null!=(n=t),o):r?n:null},qo(o,t)},i.layout.treemap=function(){var t,e=i.layout.hierarchy(),n=Math.round,r=[1,1],o=null,a=Oa,s=!1,u="squarify",c=.5*(1+Math.sqrt(5));function l(t,e){for(var n,r,i=-1,o=t.length;++i0;)s.push(n=c[i-1]),s.area+=n.area,"squarify"!==u||(r=d(s,g))<=h?(c.pop(),h=r):(s.area-=s.pop().area,p(s,g,o,!1),g=Math.min(o.dx,o.dy),s.length=s.area=0,h=1/0);s.length&&(p(s,g,o,!0),s.length=s.area=0),e.forEach(f)}}function h(t){var e=t.children;if(e&&e.length){var n,r=a(t),i=e.slice(),o=[];for(l(i,r.dx*r.dy/t.value),o.area=0;n=i.pop();)o.push(n),o.area+=n.area,null!=n.z&&(p(o,n.z?r.dx:r.dy,r,!i.length),o.length=o.area=0);e.forEach(h)}}function d(t,e){for(var n,r=t.area,i=0,o=1/0,a=-1,s=t.length;++ai&&(i=n));return e*=e,(r*=r)?Math.max(e*i*c/r,r/(e*o*c)):1/0}function p(t,e,r,i){var o,a=-1,s=t.length,u=r.x,c=r.y,l=e?n(t.area/e):0;if(e==r.dx){for((i||l>r.dy)&&(l=r.dy);++ar.dx)&&(l=r.dx);++a1);return t+e*n*Math.sqrt(-2*Math.log(i)/i)}},logNormal:function(){var t=i.random.normal.apply(i,arguments);return function(){return Math.exp(t())}},bates:function(t){var e=i.random.irwinHall(t);return function(){return e()/t}},irwinHall:function(t){return function(){for(var e=0,n=0;n2?Ia:Ca,u=r?jo:Eo;return i=a(t,e,u,n),o=a(e,t,u,ao),s}function s(t){return i(t)}return s.invert=function(t){return o(t)},s.domain=function(e){return arguments.length?(t=e.map(Number),a()):t},s.range=function(t){return arguments.length?(e=t,a()):e},s.rangeRound=function(t){return s.range(t).interpolate(xo)},s.clamp=function(t){return arguments.length?(r=t,a()):r},s.interpolate=function(t){return arguments.length?(n=t,a()):n},s.ticks=function(e){return Fa(t,e)},s.tickFormat=function(e,n){return La(t,e,n)},s.nice=function(e){return Da(t,e),a()},s.copy=function(){return Ma(t,e,n,r)},a()}function Pa(t,e){return i.rebind(t,e,"range","rangeRound","interpolate","clamp")}function Da(t,e){return Ea(t,ja(Ua(t,e)[2])),Ea(t,ja(Ua(t,e)[2])),t}function Ua(t,e){null==e&&(e=10);var n=ka(t),r=n[1]-n[0],i=Math.pow(10,Math.floor(Math.log(r/e)/Math.LN10)),o=e/r*i;return o<=.15?i*=10:o<=.35?i*=5:o<=.75&&(i*=2),n[0]=Math.ceil(n[0]/i)*i,n[1]=Math.floor(n[1]/i)*i+.5*i,n[2]=i,n}function Fa(t,e){return i.range.apply(i,Ua(t,e))}function La(t,e,n){var r=Ua(t,e);if(n){var o=De.exec(n);if(o.shift(),"s"===o[8]){var a=i.formatPrefix(Math.max(w(r[0]),w(r[1])));return o[7]||(o[7]="."+za(a.scale(r[2]))),o[8]="f",n=i.format(o.join("")),function(t){return n(a.scale(t))+a.symbol}}o[7]||(o[7]="."+function(t,e){var n=za(e[2]);return t in Na?Math.abs(n-za(Math.max(w(e[0]),w(e[1]))))+ +("e"!==t):n-2*("%"===t)}(o[8],r)),n=o.join("")}else n=",."+za(r[2])+"f";return i.format(n)}i.scale.linear=function(){return Ma([0,1],[0,1],ao,!1)};var Na={s:1,g:1,p:1,r:1,e:1};function za(t){return-Math.floor(Math.log(t)/Math.LN10+.01)}function qa(t,e,n,r){function o(t){return(n?Math.log(t<0?0:t):-Math.log(t>0?0:-t))/Math.log(e)}function a(t){return n?Math.pow(e,t):-Math.pow(e,-t)}function s(e){return t(o(e))}return s.invert=function(e){return a(t.invert(e))},s.domain=function(e){return arguments.length?(n=e[0]>=0,t.domain((r=e.map(Number)).map(o)),s):r},s.base=function(n){return arguments.length?(e=+n,t.domain(r.map(o)),s):e},s.nice=function(){var e=Ea(r.map(o),n?Math:Ha);return t.domain(e),r=e.map(a),s},s.ticks=function(){var t=ka(r),i=[],s=t[0],u=t[1],c=Math.floor(o(s)),l=Math.ceil(o(u)),f=e%1?2:e;if(isFinite(l-c)){if(n){for(;c0;h--)i.push(a(c)*h);for(c=0;i[c]u;l--);i=i.slice(c,l)}return i},s.tickFormat=function(t,n){if(!arguments.length)return Ba;arguments.length<2?n=Ba:"function"!=typeof n&&(n=i.format(n));var r=Math.max(1,e*t/s.ticks().length);return function(t){var i=t/a(Math.round(o(t)));return i*e0?n[r-1]:t[0],rf?0:1;if(c=It)return u(c,d)+(s?u(s,1-d):"")+"Z";var p,g,v,y,m,b,_,w,x,S,O,T,k=0,A=0,C=[];if((y=(+a.apply(this,arguments)||0)/2)&&(v=r===ns?Math.sqrt(s*s+c*c):+r.apply(this,arguments),d||(A*=-1),c&&(A=Nt(v/c*Math.sin(y))),s&&(k=Nt(v/s*Math.sin(y)))),c){m=c*Math.cos(l+A),b=c*Math.sin(l+A),_=c*Math.cos(f-A),w=c*Math.sin(f-A);var E=Math.abs(f-l-2*A)<=jt?0:1;if(A&&us(m,b,_,w)===d^E){var j=(l+f)/2;m=c*Math.cos(j),b=c*Math.sin(j),_=w=null}}else m=b=0;if(s){x=s*Math.cos(f-k),S=s*Math.sin(f-k),O=s*Math.cos(l+k),T=s*Math.sin(l+k);var R=Math.abs(l-f+2*k)<=jt?0:1;if(k&&us(x,S,O,T)===1-d^R){var I=(l+f)/2;x=s*Math.cos(I),S=s*Math.sin(I),O=T=null}}else x=S=0;if(h>Ct&&(p=Math.min(Math.abs(c-s)/2,+n.apply(this,arguments)))>.001){g=s0?0:1}function cs(t,e,n,r,i){var o=t[0]-e[0],a=t[1]-e[1],s=(i?r:-r)/Math.sqrt(o*o+a*a),u=s*a,c=-s*o,l=t[0]+u,f=t[1]+c,h=e[0]+u,d=e[1]+c,p=(l+h)/2,g=(f+d)/2,v=h-l,y=d-f,m=v*v+y*y,b=n-r,_=l*d-h*f,w=(y<0?-1:1)*Math.sqrt(Math.max(0,b*b*m-_*_)),x=(_*y-v*w)/m,S=(-_*v-y*w)/m,O=(_*y+v*w)/m,T=(-_*v+y*w)/m,k=x-p,A=S-g,C=O-p,E=T-g;return k*k+A*A>C*C+E*E&&(x=O,S=T),[[x-u,S-c],[x*n/b,S*n/b]]}function ls(t){var e=ci,n=li,r=$n,i=hs,o=i.key,a=.7;function s(o){var s,u=[],c=[],l=-1,f=o.length,h=_e(e),d=_e(n);function p(){u.push("M",i(t(c),a))}for(;++l1&&i.push("H",r[0]);return i.join("")},"step-before":ps,"step-after":gs,basis:ms,"basis-open":function(t){if(t.length<4)return hs(t);var e,n=[],r=-1,i=t.length,o=[0],a=[0];for(;++r<3;)e=t[r],o.push(e[0]),a.push(e[1]);n.push(bs(xs,o)+","+bs(xs,a)),--r;for(;++r9&&(i=3*e/Math.sqrt(i),a[s]=i*n,a[s+1]=i*r);s=-1;for(;++s<=u;)i=(t[Math.min(u,s+1)][0]-t[Math.max(0,s-1)][0])/(6*(1+a[s]*a[s])),o.push([i||0,a[s]*i||0]);return o}(t))}});function hs(t){return t.length>1?t.join("L"):t+"Z"}function ds(t){return t.join("L")+"Z"}function ps(t){for(var e=0,n=t.length,r=t[0],i=[r[0],",",r[1]];++e1){s=e[1],o=t[u],u++,r+="C"+(i[0]+a[0])+","+(i[1]+a[1])+","+(o[0]-s[0])+","+(o[1]-s[1])+","+o[0]+","+o[1];for(var c=2;cjt)+",1 "+e}function u(t,e,n,r){return"Q 0,0 "+r}return o.radius=function(t){return arguments.length?(n=_e(t),o):n},o.source=function(e){return arguments.length?(t=_e(e),o):t},o.target=function(t){return arguments.length?(e=_e(t),o):e},o.startAngle=function(t){return arguments.length?(r=_e(t),o):r},o.endAngle=function(t){return arguments.length?(i=_e(t),o):i},o},i.svg.diagonal=function(){var t=Yr,e=Xr,n=Cs;function r(r,i){var o=t.call(this,r,i),a=e.call(this,r,i),s=(o.y+a.y)/2,u=[o,{x:o.x,y:s},{x:a.x,y:s},a];return"M"+(u=u.map(n))[0]+"C"+u[1]+" "+u[2]+" "+u[3]}return r.source=function(e){return arguments.length?(t=_e(e),r):t},r.target=function(t){return arguments.length?(e=_e(t),r):e},r.projection=function(t){return arguments.length?(n=t,r):n},r},i.svg.diagonal.radial=function(){var t=i.svg.diagonal(),e=Cs,n=t.projection;return t.projection=function(t){return arguments.length?n(Es(e=t)):e},t},i.svg.symbol=function(){var t=Rs,e=js;function n(n,r){return(Ms.get(t.call(this,n,r))||Is)(e.call(this,n,r))}return n.type=function(e){return arguments.length?(t=_e(e),n):t},n.size=function(t){return arguments.length?(e=_e(t),n):e},n};var Ms=i.map({circle:Is,cross:function(t){var e=Math.sqrt(t/5)/2;return"M"+-3*e+","+-e+"H"+-e+"V"+-3*e+"H"+e+"V"+-e+"H"+3*e+"V"+e+"H"+e+"V"+3*e+"H"+-e+"V"+e+"H"+-3*e+"Z"},diamond:function(t){var e=Math.sqrt(t/(2*Ds)),n=e*Ds;return"M0,"+-e+"L"+n+",0 0,"+e+" "+-n+",0Z"},square:function(t){var e=Math.sqrt(t)/2;return"M"+-e+","+-e+"L"+e+","+-e+" "+e+","+e+" "+-e+","+e+"Z"},"triangle-down":function(t){var e=Math.sqrt(t/Ps),n=e*Ps/2;return"M0,"+n+"L"+e+","+-n+" "+-e+","+-n+"Z"},"triangle-up":function(t){var e=Math.sqrt(t/Ps),n=e*Ps/2;return"M0,"+-n+"L"+e+","+n+" "+-e+","+n+"Z"}});i.svg.symbolTypes=Ms.keys();var Ps=Math.sqrt(3),Ds=Math.tan(30*Pt);Y.transition=function(t){for(var e,n,r=Ns||++Bs,i=Gs(t),o=[],a=zs||{time:Date.now(),ease:yo,delay:0,duration:250},s=-1,u=this.length;++s0;)c[--h].call(t,a);if(o>=1)return f.event&&f.event.end.call(t,t.__data__,e),--l.count?delete l[r]:delete t[n],1}f||(o=i.time,a=Ce((function(t){var e=f.delay;if(a.t=e+o,e<=t)return h(t-e);a.c=h}),0,o),f=l[r]={tween:new O,time:o,timer:a,delay:i.delay,duration:i.duration,ease:i.ease,index:e},i=null,++l.count)}qs.call=Y.call,qs.empty=Y.empty,qs.node=Y.node,qs.size=Y.size,i.transition=function(t,e){return t&&t.transition?Ns?t.transition(e):t:i.selection().transition(t)},i.transition.prototype=qs,qs.select=function(t){var e,n,r,i=this.id,o=this.namespace,a=[];t=X(t);for(var s=-1,u=this.length;++srect,.s>rect").attr("width",a[1]-a[0])}function g(t){t.select(".extent").attr("y",s[0]),t.selectAll(".extent,.e>rect,.w>rect").attr("height",s[1]-s[0])}function v(){var f,v,y=this,m=i.select(i.event.target),b=n.of(y,arguments),_=i.select(y),w=m.datum(),x=!/^(n|s)$/.test(w)&&r,S=!/^(e|w)$/.test(w)&&o,O=m.classed("extent"),T=Ot(y),k=i.mouse(y),A=i.select(c(y)).on("keydown.brush",j).on("keyup.brush",R);if(i.event.changedTouches?A.on("touchmove.brush",I).on("touchend.brush",P):A.on("mousemove.brush",I).on("mouseup.brush",P),_.interrupt().selectAll("*").interrupt(),O)k[0]=a[0]-k[0],k[1]=s[0]-k[1];else if(w){var C=+/w$/.test(w),E=+/^n/.test(w);v=[a[1-C]-k[0],s[1-E]-k[1]],k[0]=a[C],k[1]=s[E]}else i.event.altKey&&(f=k.slice());function j(){32==i.event.keyCode&&(O||(f=null,k[0]-=a[1],k[1]-=s[1],O=2),z())}function R(){32==i.event.keyCode&&2==O&&(k[0]+=a[1],k[1]+=s[1],O=0,z())}function I(){var t=i.mouse(y),e=!1;v&&(t[0]+=v[0],t[1]+=v[1]),O||(i.event.altKey?(f||(f=[(a[0]+a[1])/2,(s[0]+s[1])/2]),k[0]=a[+(t[0]1?{floor:function(e){for(;s(e=t.floor(e));)e=iu(e-1);return e},ceil:function(e){for(;s(e=t.ceil(e));)e=iu(+e+1);return e}}:t))},r.ticks=function(t,e){var n=ka(r.domain()),i=null==t?o(n,10):"number"==typeof t?o(n,t):!t.range&&[{range:t},e];return i&&(t=i[0],e=i[1]),t.range(n[0],iu(+n[1]+1),e<1?1:e)},r.tickFormat=function(){return n},r.copy=function(){return ru(t.copy(),e,n)},Pa(r,t)}function iu(t){return new Date(t)}$s.iso=Date.prototype.toISOString&&+new Date("2000-01-01T00:00:00.000Z")?nu:eu,nu.parse=function(t){var e=new Date(t);return isNaN(e)?null:e},nu.toString=eu.toString,Le.second=Be((function(t){return new Ne(1e3*Math.floor(t/1e3))}),(function(t,e){t.setTime(t.getTime()+1e3*Math.floor(e))}),(function(t){return t.getSeconds()})),Le.seconds=Le.second.range,Le.seconds.utc=Le.second.utc.range,Le.minute=Be((function(t){return new Ne(6e4*Math.floor(t/6e4))}),(function(t,e){t.setTime(t.getTime()+6e4*Math.floor(e))}),(function(t){return t.getMinutes()})),Le.minutes=Le.minute.range,Le.minutes.utc=Le.minute.utc.range,Le.hour=Be((function(t){var e=t.getTimezoneOffset()/60;return new Ne(36e5*(Math.floor(t/36e5-e)+e))}),(function(t,e){t.setTime(t.getTime()+36e5*Math.floor(e))}),(function(t){return t.getHours()})),Le.hours=Le.hour.range,Le.hours.utc=Le.hour.utc.range,Le.month=Be((function(t){return(t=Le.day(t)).setDate(1),t}),(function(t,e){t.setMonth(t.getMonth()+e)}),(function(t){return t.getMonth()})),Le.months=Le.month.range,Le.months.utc=Le.month.utc.range;var ou=[1e3,5e3,15e3,3e4,6e4,3e5,9e5,18e5,36e5,108e5,216e5,432e5,864e5,1728e5,6048e5,2592e6,7776e6,31536e6],au=[[Le.second,1],[Le.second,5],[Le.second,15],[Le.second,30],[Le.minute,1],[Le.minute,5],[Le.minute,15],[Le.minute,30],[Le.hour,1],[Le.hour,3],[Le.hour,6],[Le.hour,12],[Le.day,1],[Le.day,2],[Le.week,1],[Le.month,1],[Le.month,3],[Le.year,1]],su=$s.multi([[".%L",function(t){return t.getMilliseconds()}],[":%S",function(t){return t.getSeconds()}],["%I:%M",function(t){return t.getMinutes()}],["%I %p",function(t){return t.getHours()}],["%a %d",function(t){return t.getDay()&&1!=t.getDate()}],["%b %d",function(t){return 1!=t.getDate()}],["%B",function(t){return t.getMonth()}],["%Y",$n]]),uu={range:function(t,e,n){return i.range(Math.ceil(t/n)*n,+e,n).map(iu)},floor:M,ceil:M};au.year=Le.year,Le.scale=function(){return ru(i.scale.linear(),au,su)};var cu=au.map((function(t){return[t[0].utc,t[1]]})),lu=tu.multi([[".%L",function(t){return t.getUTCMilliseconds()}],[":%S",function(t){return t.getUTCSeconds()}],["%I:%M",function(t){return t.getUTCMinutes()}],["%I %p",function(t){return t.getUTCHours()}],["%a %d",function(t){return t.getUTCDay()&&1!=t.getUTCDate()}],["%b %d",function(t){return 1!=t.getUTCDate()}],["%B",function(t){return t.getUTCMonth()}],["%Y",$n]]);function fu(t){return JSON.parse(t.responseText)}function hu(t){var e=s.createRange();return e.selectNode(s.body),e.createContextualFragment(t.responseText)}cu.year=Le.year.utc,Le.scale.utc=function(){return ru(i.scale.linear(),cu,lu)},i.text=we((function(t){return t.responseText})),i.json=function(t,e){return xe(t,"application/json",fu,e)},i.html=function(t,e){return xe(t,"text/html",hu,e)},i.xml=we((function(t){return t.responseXML})),this.d3=i,void 0===(r="function"==typeof(n=i)?n.call(exports,e,exports,t):n)||(t.exports=r)}()},"/GL+Bo9v":function(t,exports){t.exports=function(t,e,n,r,i,o,a){var s=1/(e-n),u=1/(r-i),c=1/(o-a);return t[0]=-2*s,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=-2*u,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=2*c,t[11]=0,t[12]=(e+n)*s,t[13]=(i+r)*u,t[14]=(a+o)*c,t[15]=1,t}},"/Llx+klj":function(t,exports,e){"use strict";var n=e("EW1eGdmB"),r=e("0Ft3SWJB").isArrayOrTypedArray;t.exports=function(t,e,i,o){function a(n){var r=t[n];return void 0!==r?r:(e._template||{})[n]}var s=a("tick0"),u=a("dtick"),c=a("tickvals"),l=i("tickmode",r(c)?"array":u?"linear":"auto");if("auto"===l)i("nticks");else if("linear"===l){var f=e.dtick=n.dtick(u,o);e.tick0=n.tick0(s,o,e.calendar,f)}else if("multicategory"!==o){void 0===i("tickvals")?e.tickmode="auto":i("ticktext")}}},"/UP5lv0M":function(t,exports,e){"use strict";t.exports=function(t){t._responsiveChartHandler&&(window.removeEventListener("resize",t._responsiveChartHandler),delete t._responsiveChartHandler)}},"/XJIss0p":function(t,exports){var e={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==e.call(t)}},"/lavANvI":function(t,e,n){"use strict";var r=n("AztyBNMT"),i=n("oCSEoDew"),o=n.n(i),a=n("Ejb6zZ6L"),s=n("LHgfPCv1");function u(t){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var c={STARTPAGE:"/",NOTFOUND:"/notfound",SEARCH:"/search",STREAMS:"/streams",LEGACY_ALERTS:{LIST:"/legacy/alerts",CONDITIONS:"/legacy/alerts/conditions",NEW_CONDITION:"/legacy/alerts/conditions/new",NOTIFICATIONS:"/legacy/alerts/notifications",NEW_NOTIFICATION:"/legacy/alerts/notifications/new"},ALERTS:{LIST:"/alerts",DEFINITIONS:{LIST:"/alerts/definitions",CREATE:"/alerts/definitions/new",edit:function(t){return"/alerts/definitions/".concat(t,"/edit")},show:function(t){return"/alerts/definitions/".concat(t)}},NOTIFICATIONS:{LIST:"/alerts/notifications",CREATE:"/alerts/notifications/new",edit:function(t){return"/alerts/notifications/".concat(t,"/edit")},show:function(t){return"/alerts/notifications/".concat(t)}}},SOURCES:"/sources",DASHBOARDS:"/dashboards",GETTING_STARTED:"/gettingstarted",SYSTEM:{CONFIGURATIONS:"/system/configurations",CONTENTPACKS:{LIST:"/system/contentpacks",EXPORT:"/system/contentpacks/export",CREATE:"/system/contentpacks/create",edit:function(t,e){return"/system/contentpacks/".concat(t,"/").concat(e,"/edit")},show:function(t){return"/system/contentpacks/".concat(t)}},GROKPATTERNS:"/system/grokpatterns",INDICES:{LIST:"/system/indices",FAILURES:"/system/indices/failures"},INDEX_SETS:{CONFIGURATION:function(t,e){return e?"/system/index_sets/".concat(t,"/configuration?from=").concat(e):"/system/index_sets/".concat(t,"/configuration")},SHOW:function(t){return"/system/index_sets/".concat(t)},CREATE:"/system/index_sets/create"},INPUTS:"/system/inputs",LOGGING:"/system/logging",METRICS:function(t){return"/system/metrics/node/".concat(t)},NODES:{LIST:"/system/nodes",SHOW:function(t){return"/system/nodes/".concat(t)}},THREADDUMP:function(t){return"/system/threaddump/".concat(t)},OUTPUTS:"/system/outputs",OVERVIEW:"/system/overview",PROCESSBUFFERDUMP:function(t){return"/system/processbufferdump/".concat(t)},AUTHENTICATION:{BACKENDS:{OVERVIEW:"/system/authentication/services",ACTIVE:"/system/authentication/services/active",CREATE:"/system/authentication/services/create",createBackend:function(t){return"/system/authentication/services/create/".concat(t)},show:function(t){return"/system/authentication/services/".concat(t)},edit:function(t,e){var n="/system/authentication/services/edit/".concat(t);return e?"".concat(n,"?initialStepKey=").concat(e):n}},AUTHENTICATORS:{SHOW:"/system/authentication/authenticator",EDIT:"/system/authentication/authenticator/edit"}},USERS:{CREATE:"/system/users/new",edit:function(t){return"/system/users/edit/".concat(t)},TOKENS:{edit:function(t){return"/system/users/tokens/".concat(t)}},OVERVIEW:"/system/users",show:function(t){return"/system/users/".concat(t)}},AUTHZROLES:{OVERVIEW:"/system/roles",show:function(t){return"/system/roles/".concat(t)},edit:function(t){return"/system/roles/edit/".concat(t)}},LOOKUPTABLES:{OVERVIEW:"/system/lookuptables",CREATE:"/system/lookuptables/create",show:function(t){return"/system/lookuptables/table/".concat(t)},edit:function(t){return"/system/lookuptables/table/".concat(t,"/edit")},CACHES:{OVERVIEW:"/system/lookuptables/caches",CREATE:"/system/lookuptables/caches/create",show:function(t){return"/system/lookuptables/caches/".concat(t)},edit:function(t){return"/system/lookuptables/caches/".concat(t,"/edit")}},DATA_ADAPTERS:{OVERVIEW:"/system/lookuptables/data_adapters",CREATE:"/system/lookuptables/data_adapters/create",show:function(t){return"/system/lookuptables/data_adapter/".concat(t)},edit:function(t){return"/system/lookuptables/data_adapter/".concat(t,"/edit")}}},PIPELINES:{OVERVIEW:"/system/pipelines",PIPELINE:function(t){return"/system/pipelines/".concat(t)},RULES:"/system/pipelines/rules",RULE:function(t){return"/system/pipelines/rules/".concat(t)},SIMULATOR:"/system/pipelines/simulate"},ENTERPRISE:"/system/enterprise",SIDECARS:{OVERVIEW:"/system/sidecars",STATUS:function(t){return"/system/sidecars/".concat(t,"/status")},ADMINISTRATION:"/system/sidecars/administration",CONFIGURATION:"/system/sidecars/configuration",NEW_CONFIGURATION:"/system/sidecars/configuration/new",EDIT_CONFIGURATION:function(t){return"/system/sidecars/configuration/edit/".concat(t)},NEW_COLLECTOR:"/system/sidecars/collector/new",EDIT_COLLECTOR:function(t){return"/system/sidecars/collector/edit/".concat(t)}}},VIEWS:{LIST:s.y,VIEWID:function(t){return"".concat(s.y,"/").concat(t)}},EXTENDEDSEARCH:s.s,search_with_query:function(t,e,n){var r=new o.a(c.SEARCH),i={q:t};return e&&n&&(i[e]=n),r.query(i),r.resource()},_common_search_url:function(t,e,n,r){var i=new o.a(t),a={q:e,interval:r};return n&&Object.keys(n).forEach((function(t){a[t]=n[t]})),i.setQuery(a),i.resource()},search:function(t,e,n){return c._common_search_url(c.SEARCH,t,e,n)},message_show:function(t,e){return"/messages/".concat(t,"/").concat(e)},stream_edit:function(t){return"/streams/".concat(t,"/edit")},stream_edit_example:function(t,e,n){return"".concat(c.stream_edit(t),"?index=").concat(e,"&message_id=").concat(n)},stream_outputs:function(t){return"/streams/".concat(t,"/outputs")},stream_search:function(t,e,n,r){return c._common_search_url("".concat(c.STREAMS,"/").concat(t,"/search"),e,n,r)},stream_alerts:function(t){return"/alerts/?stream_id=".concat(t)},legacy_stream_search:function(t){return"/streams/".concat(t,"/messages")},show_alert:function(t){return"".concat(c.LEGACY_ALERTS.LIST,"/").concat(t)},show_alert_condition:function(t,e){return"".concat(c.LEGACY_ALERTS.CONDITIONS,"/").concat(t,"/").concat(e)},new_alert_condition_for_stream:function(t){return"".concat(c.LEGACY_ALERTS.NEW_CONDITION,"?stream_id=").concat(t)},new_alert_notification_for_stream:function(t){return"".concat(c.LEGACY_ALERTS.NEW_NOTIFICATION,"?stream_id=").concat(t)},dashboard_show:function(t){return"/dashboards/".concat(t)},node:function(t){return"/system/nodes/".concat(t)},node_inputs:function(t){return"".concat(c.SYSTEM.INPUTS,"/").concat(t)},global_input_extractors:function(t){return"/system/inputs/".concat(t,"/extractors")},local_input_extractors:function(t,e){return"/system/inputs/".concat(t,"/").concat(e,"/extractors")},export_extractors:function(t,e){return"".concat(c.local_input_extractors(t,e),"/export")},import_extractors:function(t,e){return"".concat(c.local_input_extractors(t,e),"/import")},new_extractor:function(t,e,n,r,i,a){var s=new o.a("/system/inputs/".concat(t,"/").concat(e,"/extractors/new")),u={extractor_type:n,field:r,example_index:i,example_id:a};return s.search(u),s.resource()},edit_extractor:function(t,e,n){return"/system/inputs/".concat(t,"/").concat(e,"/extractors/").concat(n,"/edit")},edit_input_extractor:function(t,e,n){return"/system/inputs/".concat(t,"/").concat(e,"/extractors/").concat(n,"/edit")},getting_started:function(t){return"".concat(c.GETTING_STARTED,"?menu=").concat(t)},filtered_metrics:function(t,e){return"".concat(c.SYSTEM.METRICS(t),"?filter=").concat(e)}},l=function t(e,n){var r={};return Object.keys(e).forEach((function(i){switch(u(e[i])){case"string":r[i]=new o.a("".concat(n,"/").concat(e[i])).normalizePath().resource();break;case"function":r[i]=function(){var t=e[i].apply(e,arguments);return new o.a("".concat(n,"/").concat(t)).normalizePath().resource()};break;case"object":r[i]=t(e[i],n)}})),r},f=a.a.gl2AppPathPrefix()?l(c,a.a.gl2AppPathPrefix()):c,h=c,d=function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n={};r.PluginStore.exports("routes").forEach((function(t){var e=new o.a(t.path),r=e.segment(),i=r.map((function(t){return t.replace(":","")})).join("_").toUpperCase(),a=r.filter((function(t){return t.startsWith(":")}));a.length>0?n[i]=function(){for(var t=arguments.length,n=new Array(t),i=0;i=0))return t;if(3===a)i[a]>1&&(i[a]=1);else if(i[a]>=1)return t}var s=Math.round(255*i[0])+", "+Math.round(255*i[1])+", "+Math.round(255*i[2]);return o?"rgba("+s+", "+i[3]+")":"rgb("+s+")"}i.tinyRGB=function(t){var e=t.toRgb();return"rgb("+Math.round(e.r)+", "+Math.round(e.g)+", "+Math.round(e.b)+")"},i.rgb=function(t){return i.tinyRGB(n(t))},i.opacity=function(t){return t?n(t).getAlpha():0},i.addOpacity=function(t,e){var r=n(t).toRgb();return"rgba("+Math.round(r.r)+", "+Math.round(r.g)+", "+Math.round(r.b)+", "+e+")"},i.combine=function(t,e){var r=n(t).toRgb();if(1===r.a)return n(t).toRgbString();var i=n(e||s).toRgb(),o=1===i.a?i:{r:255*(1-i.a)+i.r*i.a,g:255*(1-i.a)+i.g*i.a,b:255*(1-i.a)+i.b*i.a},a={r:o.r*(1-r.a)+r.r*r.a,g:o.g*(1-r.a)+r.g*r.a,b:o.b*(1-r.a)+r.b*r.a};return n(a).toRgbString()},i.contrast=function(t,e,r){var o=n(t);return 1!==o.getAlpha()&&(o=n(i.combine(t,s))),(o.isDark()?e?o.lighten(e):s:r?o.darken(r):a).toString()},i.stroke=function(t,e){var r=n(e);t.style({stroke:i.tinyRGB(r),"stroke-opacity":r.getAlpha()})},i.fill=function(t,e){var r=n(e);t.style({fill:i.tinyRGB(r),"fill-opacity":r.getAlpha()})},i.clean=function(t){if(t&&"object"==typeof t){var e,n,r,o,a=Object.keys(t);for(e=0;ea?s:i(t)?Number(t):s:s},u.isIndex=function(t,e){return!(void 0!==e&&t>=e)&&(i(t)&&t>=0&&t%1==0)},u.noop=e("lHLBDM7v"),u.identity=e("jKiUIMfn"),u.repeat=function(t,e){for(var n=new Array(e),r=0;rn?Math.max(n,Math.min(e,t)):Math.max(e,Math.min(n,t))},u.bBoxIntersect=function(t,e,n){return n=n||0,t.left<=e.right+n&&e.left<=t.right+n&&t.top<=e.bottom+n&&e.top<=t.bottom+n},u.simpleMap=function(t,e,n,r,i){for(var o=t.length,a=new Array(o),s=0;s=Math.pow(2,n)?i>10?(u.warn("randstr failed uniqueness"),c):t(e,n,r,(i||0)+1):c},u.OptionControl=function(t,e){t||(t={}),e||(e="opt");var n={optionList:[],_newoption:function(r){r[e]=t,n[r.name]=r,n.optionList.push(r)}};return n["_"+e]=t,n},u.smooth=function(t,e){if((e=Math.round(e)||0)<2)return t;var n,r,i,o,a=t.length,s=2*a,u=2*e-1,c=new Array(u),l=new Array(a);for(n=0;n=s&&(i-=s*Math.floor(i/s)),i<0?i=-1-i:i>=a&&(i=s-1-i),o+=t[i]*c[r];l[n]=o}return l},u.syncOrAsync=function(t,e,n){var r;function i(){return u.syncOrAsync(t,e,n)}for(;t.length;)if((r=(0,t.splice(0,1)[0])(e))&&r.then)return r.then(i).then(void 0,u.promiseError);return n&&n(e)},u.stripTrailingSlash=function(t){return"/"===t.substr(-1)?t.substr(0,t.length-1):t},u.noneOrAll=function(t,e,n){if(t){var r,i=!1,o=!0;for(r=0;r0?e:0}))},u.fillArray=function(t,e,n,r){if(r=r||u.identity,u.isArrayOrTypedArray(t))for(var i=0;i1?i+a[1]:"";if(o&&(a.length>1||s.length>4||n))for(;r.test(s);)s=s.replace(r,"$1"+o+"$2");return s+u},u.TEMPLATE_STRING_REGEX=/%{([^\s%{}:]*)([:|\|][^}]*)?}/g;var j=/^\w*$/;u.templateString=function(t,e){var n={};return t.replace(u.TEMPLATE_STRING_REGEX,(function(t,r){var i;return j.test(r)?i=e[r]:(n[r]=n[r]||u.nestedProperty(e,r).get,i=n[r]()),u.isValidTextValue(i)?i:""}))};var R={max:10,count:0,name:"hovertemplate"};u.hovertemplateString=function(){return P.apply(R,arguments)};var I={max:10,count:0,name:"texttemplate"};u.texttemplateString=function(){return P.apply(I,arguments)};var M=/^[:|\|]/;function P(t,e,i){var o=this,a=arguments;e||(e={});var s={};return t.replace(u.TEMPLATE_STRING_REGEX,(function(t,c,l){var f,h,d,p;for(d=3;d=48&&a<=57,c=s>=48&&s<=57;if(u&&(r=10*r+a-48),c&&(i=10*i+s-48),!u||!c){if(r!==i)return r-i;if(a!==s)return a-s}}return i-r};var D=2e9;u.seedPseudoRandom=function(){D=2e9},u.pseudoRandom=function(){var t=D;return D=(69069*D+1)%4294967296,Math.abs(D-t)<429496729?u.pseudoRandom():D/4294967296},u.fillText=function(t,e,n){var r=Array.isArray(n)?function(t){n.push(t)}:function(t){n.text=t},i=u.extractOption(t,e,"htx","hovertext");if(u.isValidTextValue(i))return r(i);var o=u.extractOption(t,e,"tx","text");return u.isValidTextValue(o)?r(o):void 0},u.isValidTextValue=function(t){return t||0===t},u.formatPercent=function(t,e){e=e||0;for(var n=(Math.round(100*t*Math.pow(10,e))*Math.pow(.1,e)).toFixed(e)+"%",r=0;r1&&(l=1):l=0,u.strTranslate(i-l*(n+a),o-l*(r+s))+u.strScale(l)+(c?"rotate("+c+(e?"":" "+n+" "+r)+")":"")},u.ensureUniformFontSize=function(t,e){var n=u.extendFlat({},e);return n.size=Math.max(e.size,t._fullLayout.uniformtext.minsize||0),n},u.join2=function(t,e,n){var r=t.length;return r>1?t.slice(0,-1).join(e)+n+t[r-1]:t.join(e)}},"0JON8+ab":function(t,exports,e){"use strict";t.exports={mod:function(t,e){var n=t%e;return n<0?n+e:n},modHalf:function(t,e){return Math.abs(t)>e/2?t-Math.round(t/e)*e:t}}},"0P6BOAlX":function(t,e,n){"use strict";n.r(e),n.d(e,"timeFormatDefaultLocale",(function(){return oe})),n.d(e,"timeFormat",(function(){return F})),n.d(e,"timeParse",(function(){return L})),n.d(e,"utcFormat",(function(){return N})),n.d(e,"utcParse",(function(){return z})),n.d(e,"timeFormatLocale",(function(){return D})),n.d(e,"isoFormat",(function(){return se})),n.d(e,"isoParse",(function(){return ue}));var r=new Date,i=new Date;function o(t,e,n,a){function s(e){return t(e=0===arguments.length?new Date:new Date(+e)),e}return s.floor=function(e){return t(e=new Date(+e)),e},s.ceil=function(n){return t(n=new Date(n-1)),e(n,1),t(n),n},s.round=function(t){var e=s(t),n=s.ceil(t);return t-e0))return a;do{a.push(o=new Date(+n)),e(n,i),t(n)}while(o=e)for(;t(e),!n(e);)e.setTime(e-1)}),(function(t,r){if(t>=t)if(r<0)for(;++r<=0;)for(;e(t,-1),!n(t););else for(;--r>=0;)for(;e(t,1),!n(t););}))},n&&(s.count=function(e,o){return r.setTime(+e),i.setTime(+o),t(r),t(i),Math.floor(n(r,i))},s.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?s.filter(a?function(e){return a(e)%t==0}:function(e){return s.count(0,e)%t==0}):s:null}),s}var a=864e5,s=6048e5;function u(t){return o((function(e){e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCDate(t.getUTCDate()+7*e)}),(function(t,e){return(e-t)/s}))}var c=u(0),l=u(1),f=u(2),h=u(3),d=u(4),p=u(5),g=u(6),v=(c.range,l.range,f.range,h.range,d.range,p.range,g.range,o((function(t){t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCDate(t.getUTCDate()+e)}),(function(t,e){return(e-t)/a}),(function(t){return t.getUTCDate()-1}))),y=v;v.range;function m(t){return o((function(e){e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)}),(function(t,e){t.setDate(t.getDate()+7*e)}),(function(t,e){return(e-t-6e4*(e.getTimezoneOffset()-t.getTimezoneOffset()))/s}))}var b=m(0),_=m(1),w=m(2),x=m(3),S=m(4),O=m(5),T=m(6),k=(b.range,_.range,w.range,x.range,S.range,O.range,T.range,o((function(t){t.setHours(0,0,0,0)}),(function(t,e){t.setDate(t.getDate()+e)}),(function(t,e){return(e-t-6e4*(e.getTimezoneOffset()-t.getTimezoneOffset()))/a}),(function(t){return t.getDate()-1}))),A=k,C=(k.range,o((function(t){t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,e){t.setFullYear(t.getFullYear()+e)}),(function(t,e){return e.getFullYear()-t.getFullYear()}),(function(t){return t.getFullYear()})));C.every=function(t){return isFinite(t=Math.floor(t))&&t>0?o((function(e){e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)}),(function(e,n){e.setFullYear(e.getFullYear()+n*t)})):null};var E=C,j=(C.range,o((function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCFullYear(t.getUTCFullYear()+e)}),(function(t,e){return e.getUTCFullYear()-t.getUTCFullYear()}),(function(t){return t.getUTCFullYear()})));j.every=function(t){return isFinite(t=Math.floor(t))&&t>0?o((function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),(function(e,n){e.setUTCFullYear(e.getUTCFullYear()+n*t)})):null};var R=j;j.range;function I(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function M(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function P(t,e,n){return{y:t,m:e,d:n,H:0,M:0,S:0,L:0}}function D(t){var e=t.dateTime,n=t.date,r=t.time,i=t.periods,o=t.days,a=t.shortDays,s=t.months,u=t.shortMonths,c=W(i),f=K(i),h=W(o),d=K(o),p=W(a),g=K(a),v=W(s),m=K(s),b=W(u),w=K(u),x={a:function(t){return a[t.getDay()]},A:function(t){return o[t.getDay()]},b:function(t){return u[t.getMonth()]},B:function(t){return s[t.getMonth()]},c:null,d:vt,e:vt,f:wt,g:It,G:Pt,H:yt,I:mt,j:bt,L:_t,m:xt,M:St,p:function(t){return i[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:re,s:ie,S:Ot,u:Tt,U:kt,V:Ct,w:Et,W:jt,x:null,X:null,y:Rt,Y:Mt,Z:Dt,"%":ne},S={a:function(t){return a[t.getUTCDay()]},A:function(t){return o[t.getUTCDay()]},b:function(t){return u[t.getUTCMonth()]},B:function(t){return s[t.getUTCMonth()]},c:null,d:Ut,e:Ut,f:qt,g:Zt,G:te,H:Ft,I:Lt,j:Nt,L:zt,m:Bt,M:Ht,p:function(t){return i[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:re,s:ie,S:Vt,u:Gt,U:Jt,V:Kt,w:Yt,W:Xt,x:null,X:null,y:Qt,Y:$t,Z:ee,"%":ne},O={a:function(t,e,n){var r=p.exec(e.slice(n));return r?(t.w=g[r[0].toLowerCase()],n+r[0].length):-1},A:function(t,e,n){var r=h.exec(e.slice(n));return r?(t.w=d[r[0].toLowerCase()],n+r[0].length):-1},b:function(t,e,n){var r=b.exec(e.slice(n));return r?(t.m=w[r[0].toLowerCase()],n+r[0].length):-1},B:function(t,e,n){var r=v.exec(e.slice(n));return r?(t.m=m[r[0].toLowerCase()],n+r[0].length):-1},c:function(t,n,r){return C(t,e,n,r)},d:at,e:at,f:ht,g:nt,G:et,H:ut,I:ut,j:st,L:ft,m:ot,M:ct,p:function(t,e,n){var r=c.exec(e.slice(n));return r?(t.p=f[r[0].toLowerCase()],n+r[0].length):-1},q:it,Q:pt,s:gt,S:lt,u:X,U:Q,V:Z,w:Y,W:tt,x:function(t,e,r){return C(t,n,e,r)},X:function(t,e,n){return C(t,r,e,n)},y:nt,Y:et,Z:rt,"%":dt};function T(t,e){return function(n){var r,i,o,a=[],s=-1,u=0,c=t.length;for(n instanceof Date||(n=new Date(+n));++s53)return null;"w"in o||(o.w=1),"Z"in o?(i=(r=M(P(o.y,0,1))).getUTCDay(),r=i>4||0===i?l.ceil(r):l(r),r=y.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(i=(r=I(P(o.y,0,1))).getDay(),r=i>4||0===i?_.ceil(r):_(r),r=A.offset(r,7*(o.V-1)),o.y=r.getFullYear(),o.m=r.getMonth(),o.d=r.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),i="Z"in o?M(P(o.y,0,1)).getUTCDay():I(P(o.y,0,1)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(i+5)%7:o.w+7*o.U-(i+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,M(o)):I(o)}}function C(t,e,n,r){for(var i,o,a=0,s=e.length,u=n.length;a=u)return-1;if(37===(i=e.charCodeAt(a++))){if(i=e.charAt(a++),!(o=O[i in q?e.charAt(a++):i])||(r=o(t,n,r))<0)return-1}else if(i!=n.charCodeAt(r++))return-1}return r}return x.x=T(n,x),x.X=T(r,x),x.c=T(e,x),S.x=T(n,S),S.X=T(r,S),S.c=T(e,S),{format:function(t){var e=T(t+="",x);return e.toString=function(){return t},e},parse:function(t){var e=k(t+="",!1);return e.toString=function(){return t},e},utcFormat:function(t){var e=T(t+="",S);return e.toString=function(){return t},e},utcParse:function(t){var e=k(t+="",!0);return e.toString=function(){return t},e}}}var U,F,L,N,z,q={"-":"",_:" ",0:"0"},B=/^\s*\d+/,H=/^%/,V=/[\\^$*+?|[\]().{}]/g;function G(t,e,n){var r=t<0?"-":"",i=(r?-t:t)+"",o=i.length;return r+(o68?1900:2e3),n+r[0].length):-1}function rt(t,e,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function it(t,e,n){var r=B.exec(e.slice(n,n+1));return r?(t.q=3*r[0]-3,n+r[0].length):-1}function ot(t,e,n){var r=B.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function at(t,e,n){var r=B.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function st(t,e,n){var r=B.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function ut(t,e,n){var r=B.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function ct(t,e,n){var r=B.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function lt(t,e,n){var r=B.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function ft(t,e,n){var r=B.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function ht(t,e,n){var r=B.exec(e.slice(n,n+6));return r?(t.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function dt(t,e,n){var r=H.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function pt(t,e,n){var r=B.exec(e.slice(n));return r?(t.Q=+r[0],n+r[0].length):-1}function gt(t,e,n){var r=B.exec(e.slice(n));return r?(t.s=+r[0],n+r[0].length):-1}function vt(t,e){return G(t.getDate(),e,2)}function yt(t,e){return G(t.getHours(),e,2)}function mt(t,e){return G(t.getHours()%12||12,e,2)}function bt(t,e){return G(1+A.count(E(t),t),e,3)}function _t(t,e){return G(t.getMilliseconds(),e,3)}function wt(t,e){return _t(t,e)+"000"}function xt(t,e){return G(t.getMonth()+1,e,2)}function St(t,e){return G(t.getMinutes(),e,2)}function Ot(t,e){return G(t.getSeconds(),e,2)}function Tt(t){var e=t.getDay();return 0===e?7:e}function kt(t,e){return G(b.count(E(t)-1,t),e,2)}function At(t){var e=t.getDay();return e>=4||0===e?S(t):S.ceil(t)}function Ct(t,e){return t=At(t),G(S.count(E(t),t)+(4===E(t).getDay()),e,2)}function Et(t){return t.getDay()}function jt(t,e){return G(_.count(E(t)-1,t),e,2)}function Rt(t,e){return G(t.getFullYear()%100,e,2)}function It(t,e){return G((t=At(t)).getFullYear()%100,e,2)}function Mt(t,e){return G(t.getFullYear()%1e4,e,4)}function Pt(t,e){var n=t.getDay();return G((t=n>=4||0===n?S(t):S.ceil(t)).getFullYear()%1e4,e,4)}function Dt(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+G(e/60|0,"0",2)+G(e%60,"0",2)}function Ut(t,e){return G(t.getUTCDate(),e,2)}function Ft(t,e){return G(t.getUTCHours(),e,2)}function Lt(t,e){return G(t.getUTCHours()%12||12,e,2)}function Nt(t,e){return G(1+y.count(R(t),t),e,3)}function zt(t,e){return G(t.getUTCMilliseconds(),e,3)}function qt(t,e){return zt(t,e)+"000"}function Bt(t,e){return G(t.getUTCMonth()+1,e,2)}function Ht(t,e){return G(t.getUTCMinutes(),e,2)}function Vt(t,e){return G(t.getUTCSeconds(),e,2)}function Gt(t){var e=t.getUTCDay();return 0===e?7:e}function Jt(t,e){return G(c.count(R(t)-1,t),e,2)}function Wt(t){var e=t.getUTCDay();return e>=4||0===e?d(t):d.ceil(t)}function Kt(t,e){return t=Wt(t),G(d.count(R(t),t)+(4===R(t).getUTCDay()),e,2)}function Yt(t){return t.getUTCDay()}function Xt(t,e){return G(l.count(R(t)-1,t),e,2)}function Qt(t,e){return G(t.getUTCFullYear()%100,e,2)}function Zt(t,e){return G((t=Wt(t)).getUTCFullYear()%100,e,2)}function $t(t,e){return G(t.getUTCFullYear()%1e4,e,4)}function te(t,e){var n=t.getUTCDay();return G((t=n>=4||0===n?d(t):d.ceil(t)).getUTCFullYear()%1e4,e,4)}function ee(){return"+0000"}function ne(){return"%"}function re(t){return+t}function ie(t){return Math.floor(+t/1e3)}function oe(t){return U=D(t),F=U.format,L=U.parse,N=U.utcFormat,z=U.utcParse,U}oe({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});var ae="%Y-%m-%dT%H:%M:%S.%LZ";var se=Date.prototype.toISOString?function(t){return t.toISOString()}:N(ae);var ue=+new Date("2000-01-01T00:00:00.000Z")?function(t){var e=new Date(t);return isNaN(e)?null:e}:z(ae)},"0c+KX6ru":function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r),o=n("IU8ofT4O"),a=n("8GJ6oOEd"),s=n("HbbeyvOy"),u=n("L+5XEiOD"),c=i.a.createStore({listenables:[],set:function(t,e,n){var r=this,i=Object(s.f)(o.a.UsersApiController.update(t).url),c={};return e&&n&&(c.type=e,c.id=n),Object(u.b)("PUT",i,{startpage:c}).then((function(t){return r.trigger(),a.a.success("Your start page was changed successfully"),t}),(function(t){return a.a.error("Changing your start page failed with error: ".concat(t),"Could not change your start page")}))}});e.default=c},"0cs6LEsq":function(t,exports,e){"use strict";var n=e("yAcToaBS"),r=e("OPxZozoA").isArrayOrTypedArray;exports.aggNums=function(t,e,i,o){var a,s;if((!o||o>i.length)&&(o=i.length),n(e)||(e=!1),r(i[0])){for(s=new Array(o),a=0;at.length-1)return t[t.length-1];var r=e%1;return r*t[Math.ceil(e)]+(1-r)*t[Math.floor(e)]}},"11o/5ssK":function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r),o=n("HbbeyvOy"),a=n("L+5XEiOD"),s=n("IU8ofT4O"),u=n("21p8kIWv");function c(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function l(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,r=new Array(e);n0&&void 0!==arguments[0]?arguments[0]:"";return Object(s.f)("".concat(this.sourceUrl,"/").concat(t))},refresh:function(){this.getLicenseInfo()},getLicenseInfo:function(){var t=this,e=Object(c.b)("GET",this.enterpriseUrl("license/info"));e.then((function(e){return t.licenseStatus=e.free_license_info.license_status,t.propagateChanges(),e}),(function(t){var e=a.a.get(t,"additional.body.message",t.message);u.a.error("Couldn't load license information: ".concat(e),"Error")})),l.getLicenseInfo.promise(e)},requestFreeEnterpriseLicense:function(t){var e=this,n={first_name:t.firstName,last_name:t.lastName,company:t.company,email:t.email,phone:t.phone},r=Object(c.b)("POST",this.enterpriseUrl("license"),n);r.then((function(t){return u.a.success("Your free Graylog Enterprise license should be on the way.","Success!"),e.refresh(),t}),(function(t){var e=a.a.get(t,"additional.body.message",t.message);u.a.error("Requesting a free Graylog Enterprise license failed: ".concat(e),"Error")})),l.requestFreeEnterpriseLicense.promise(r)}});e.default=f},"1pBLIPSB":function(t,exports,e){var n,r;!function(i,o){"use strict";t.exports?t.exports=o():void 0===(r="function"==typeof(n=o)?n.call(exports,e,exports,t):n)||(t.exports=r)}(0,(function(t){"use strict";var e=t&&t.IPv6;return{best:function(t){var e,n,r=t.toLowerCase().split(":"),i=r.length,o=8;for(""===r[0]&&""===r[1]&&""===r[2]?(r.shift(),r.shift()):""===r[0]&&""===r[1]?r.shift():""===r[i-1]&&""===r[i-2]&&r.pop(),-1!==r[(i=r.length)-1].indexOf(".")&&(o=7),e=0;e1);s++)n.splice(0,1);r[a]=n.join("")}var u=-1,c=0,l=0,f=-1,h=!1;for(a=0;ac&&(u=f,c=l)):"0"===r[a]&&(h=!0,f=a,l=1);l>c&&(u=f,c=l),c>1&&r.splice(u,c,""),i=r.length;var d="";for(""===r[0]&&(d=":"),a=0;a, please ensure it wasn't deleted."),"Could not retrieve Event Notification")})),h.get.promise(e)},create:function(t){var e=this,n=Object(f.b)("POST",this.eventNotificationsUrl({}),t);n.then((function(n){return l.a.success("Notification created successfully",'Notification "'.concat(t.title,'" was created successfully.')),e.refresh(),n}),(function(e){400===e.status&&e.additional.body&&e.additional.body.failed||l.a.error('Creating Notification "'.concat(t.title,'" failed with status: ').concat(e),"Could not save Notification")})),h.create.promise(n)},update:function(t,e){var n=this,r=Object(f.b)("PUT",this.eventNotificationsUrl({segments:[t]}),e);r.then((function(t){return l.a.success("Notification updated successfully",'Notification "'.concat(e.title,'" was updated successfully.')),n.refresh(),t}),(function(t){400===t.status&&t.additional.body&&t.additional.body.failed||l.a.error('Updating Notification "'.concat(e.title,'" failed with status: ').concat(t),"Could not update Notification")})),h.update.promise(r)},delete:function(t){var e=this,n=Object(f.b)("DELETE",this.eventNotificationsUrl({segments:[t.id]}));n.then((function(){l.a.success("Notification deleted successfully",'Notification "'.concat(t.title,'" was deleted successfully.')),e.refresh()}),(function(e){l.a.error('Deleting Notification "'.concat(t.title,'" failed with status: ').concat(e),"Could not delete Notification")})),h.delete.promise(n)},test:function(t){var e=Object(f.b)("POST",this.eventNotificationsUrl({segments:["test"]}),t);h.test.promise(e)},testPersisted:function(t){var e=Object(f.b)("POST",this.eventNotificationsUrl({segments:[t.id,"test"]}));h.testPersisted.promise(e)},listAllLegacyTypes:function(){var t=this,e=Object(f.b)("GET",this.eventNotificationsUrl({segments:["legacy","types"]}));e.then((function(e){return t.allLegacyTypes=e.types,t.propagateChanges(),e})),h.listAllLegacyTypes.promise(e)}});e.default=d},"41+/evxh":function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r),o=n("HbbeyvOy"),a=n("IU8ofT4O"),s=n("L+5XEiOD"),u=n("JBQWIv26").a.getActions("IndexerOverview"),c=i.a.createStore({listenables:[u],indexerOverview:void 0,indexerOverviewError:void 0,getInitialState:function(){return{indexerOverview:this.indexerOverview,indexerOverviewError:this.indexerOverviewError}},list:function(t){var e=this,n=Object(o.f)(a.a.IndexerOverviewApiResource.list(t).url),r=Object(s.b)("GET",n);return r.then((function(t){e.trigger({indexerOverview:t,indexerOverviewError:void 0})}),(function(t){if(t.additional&&503===t.additional.status){var n=t.additional.body&&t.additional.body.message?t.additional.body.message:"Elasticsearch is unavailable. Check your configuration and logs for more information.";e.trigger({indexerOverviewError:n})}})),u.list.promise(r),r}});e.default=c},"46lPXjlm":function(t,exports,e){"use strict";t.exports={BADNUM:void 0,FP_SAFE:Number.MAX_VALUE/1e4,ONEMAXYEAR:316224e5,ONEAVGYEAR:315576e5,ONEMINYEAR:31536e6,ONEMAXQUARTER:79488e5,ONEAVGQUARTER:78894e5,ONEMINQUARTER:76896e5,ONEMAXMONTH:26784e5,ONEAVGMONTH:26298e5,ONEMINMONTH:24192e5,ONEWEEK:6048e5,ONEDAY:864e5,ONEHOUR:36e5,ONEMIN:6e4,ONESEC:1e3,EPOCHJD:2440587.5,ALMOST_EQUAL:.999999,LOG_CLIP:10,MINUS_SIGN:"−"}},"4KF7VOU5":function(t,exports,e){t.exports=e("jaIgFIJB")(610)},"4eKcM05w":function(t,exports,e){"use strict";var n=String.prototype.replace,r=/%20/g,i="RFC1738",o="RFC3986";t.exports={default:o,formatters:{RFC1738:function(t){return n.call(t,r,"+")},RFC3986:function(t){return String(t)}},RFC1738:i,RFC3986:o}},"4jYmNgIv":function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r),o=n("gCzbTwtZ"),a=n.n(o),s=n("DD8nok+7"),u=n.n(s),c=n("07OJAgAB"),l=n("HbbeyvOy"),f=n("IU8ofT4O"),h=n("L+5XEiOD"),d=n("LHgfPCv1"),p=i.a.createStore({DEFAULT_LIMIT:150,listenables:[],search:function(t,e,n,r,i,o,s,g,v){var y=p.extractTimeRange(t,n),m=i||this.DEFAULT_LIMIT,b=(o-1)*m,_=l.f(f.a.UniversalSearchApiController.search(t,e,y,r,m,b,s,g,v).url);return Object(h.b)("GET",_).then((function(t){var e=a.a.extend({},t);return e.fields=t.fields.map((function(t){return{hash:u()(t),name:t,standard_selected:t===d.i||t===d.m}})),e.messages=e.messages.map((function(t){return c.a.formatMessageSummary(t)})),e}))}});p.extractTimeRange=function(t,e){return"relative"===t?{range:e.range||e.relative}:e},e.default=p},"4vELQILI":function(t,exports){t.exports=function(t,e,n){var r=Math.sin(n),i=Math.cos(n),o=e[0],a=e[1],s=e[2],u=e[3],c=e[8],l=e[9],f=e[10],h=e[11];e!==t&&(t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]);return t[0]=o*i-c*r,t[1]=a*i-l*r,t[2]=s*i-f*r,t[3]=u*i-h*r,t[8]=o*r+c*i,t[9]=a*r+l*i,t[10]=s*r+f*i,t[11]=u*r+h*i,t}},"5XAAJc+x":function(t,exports,e){"use strict";exports.isLeftAnchor=function(t){return"left"===t.xanchor||"auto"===t.xanchor&&t.x<=1/3},exports.isCenterAnchor=function(t){return"center"===t.xanchor||"auto"===t.xanchor&&t.x>1/3&&t.x<2/3},exports.isRightAnchor=function(t){return"right"===t.xanchor||"auto"===t.xanchor&&t.x>=2/3},exports.isTopAnchor=function(t){return"top"===t.yanchor||"auto"===t.yanchor&&t.y>=2/3},exports.isMiddleAnchor=function(t){return"middle"===t.yanchor||"auto"===t.yanchor&&t.y>1/3&&t.y<2/3},exports.isBottomAnchor=function(t){return"bottom"===t.yanchor||"auto"===t.yanchor&&t.y<=1/3}},"5tOsSiMj":function(t,exports,e){"use strict";var n=e("0Ft3SWJB"),r=e("A5P9b9BX"),i=e("/Llx+klj"),o=e("NycC/quU"),a=e("pyDFBVwV"),s=e("jyzIzA3P");t.exports=function(t,e,u){var c=r.newContainer(e,"colorbar"),l=t.colorbar||{};function f(t,e){return n.coerce(l,c,s,t,e)}var h=f("thicknessmode");f("thickness","fraction"===h?30/(u.width-u.margin.l-u.margin.r):30);var d=f("lenmode");f("len","fraction"===d?1:u.height-u.margin.t-u.margin.b),f("x"),f("xanchor"),f("xpad"),f("y"),f("yanchor"),f("ypad"),n.noneOrAll(l,c,["x","y"]),f("outlinecolor"),f("outlinewidth"),f("bordercolor"),f("borderwidth"),f("bgcolor");var p=f("ticklabelposition");i(l,c,f,"linear");var g={outerTicks:!1,font:u.font};-1!==p.indexOf("inside")&&(g.bgColor="black"),a(l,c,f,"linear",g),o(l,c,f,"linear",g),f("title.text",u._dfltTitle.colorbar),n.coerceFont(f,"title.font",u.font),f("title.side")}},"5tQR8N0J":function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r).a.createActions({listAll:{asyncResult:!0},listAllLegacyTypes:{asyncResult:!0},listPaginated:{asyncResult:!0},get:{asyncResult:!0},create:{asyncResult:!0},update:{asyncResult:!0},delete:{asyncResult:!0},test:{asyncResult:!0},testPersisted:{asyncResult:!0}});e.default=i},"5u0twCBb":function(t,exports,e){"use strict";var n=e("/8dZfPfB"),r=e("jGt2471r"),i=e("mi7jljcm"),o=e("x4lDX9p9");function a(t){var e=t&&t.parentNode;e&&e.removeChild(t)}function s(t,e,n){var i="plotly.js-style-"+t,o=document.getElementById(i);o||((o=document.createElement("style")).setAttribute("id",i),o.appendChild(document.createTextNode("")),document.head.appendChild(o));var a=o.sheet;a.insertRule?a.insertRule(e+"{"+n+"}",0):a.addRule?a.addRule(e,n,0):r.warn("addStyleRule failed")}function u(t){var e=window.getComputedStyle(t,null),n=e.getPropertyValue("-webkit-transform")||e.getPropertyValue("-moz-transform")||e.getPropertyValue("-ms-transform")||e.getPropertyValue("-o-transform")||e.getPropertyValue("transform");return"none"===n?null:n.replace("matrix","").replace("3d","").slice(1,-1).split(",").map((function(t){return+t}))}function c(t){for(var e=[];l(t);)e.push(t),t=t.parentNode;return e}function l(t){return t&&(t instanceof Element||t instanceof HTMLElement)}t.exports={getGraphDiv:function(t){var e;if("string"==typeof t){if(null===(e=document.getElementById(t)))throw new Error("No DOM element with id '"+t+"' exists on the page.");return e}if(null==t)throw new Error("DOM element provided is null or undefined");return t},isPlotDiv:function(t){var e=n.select(t);return e.node()instanceof HTMLElement&&e.size()&&e.classed("js-plotly-plot")},removeElement:a,addStyleRule:function(t,e){s("global",t,e)},addRelatedStyleRule:s,deleteRelatedStyleRule:function(t){var e="plotly.js-style-"+t,n=document.getElementById(e);n&&a(n)},getFullTransformMatrix:function(t){var e=c(t),n=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];return e.forEach((function(t){var e=u(t);if(e){var r=i.convertCssMatrix(e);n=o.multiply(n,n,r)}})),n},getElementTransformMatrix:u,getElementAndAncestors:c,equalDomRects:function(t,e){return t&&e&&t.x===e.x&&t.y===e.y&&t.top===e.top&&t.left===e.left&&t.right===e.right&&t.bottom===e.bottom}}},"6Xnj3wDA":function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r),o=n("YPyIcTeH"),a=n.n(o),s=n("IU8ofT4O"),u=n("L+5XEiOD"),c=n("JBQWIv26"),l=n("iXyuIF6s"),f=n("HbbeyvOy"),h=n("8GJ6oOEd"),d=c.a.getActions("Extractors");function p(t){var e={};t.converters.forEach((function(t){e[t.type]=t.config}));var n=t.condition_type&&"none"!==t.condition_type?t.condition_value:"";return{title:t.title,cut_or_copy:t.cursor_strategy||"copy",source_field:t.source_field,target_field:t.target_field,extractor_type:t.type||t.extractor_type,extractor_config:t.extractor_config,converters:e,condition_type:t.condition_type||"none",condition_value:n,order:t.order}}var g=i.a.createStore({listenables:[d],sourceUrl:"/system/inputs/",extractors:void 0,extractor:void 0,init:function(){this.trigger({extractors:this.extractors,extractor:this.extractor})},list:function(t){var e=this,n=Object(u.b)("GET",f.f(f.c(this.sourceUrl,t,"extractors")));n.then((function(t){e.extractors=t.extractors,e.trigger({extractors:e.extractors})})),d.list.promise(n)},new:function(t,e){if(-1===l.a.EXTRACTOR_TYPES.indexOf(t))throw new Error("Invalid extractor type provided: ".concat(t));return{type:t,source_field:e,converters:[],extractor_config:{},target_field:""}},get:function(t,e){var n=this,r=Object(u.b)("GET",f.f(f.c(this.sourceUrl,t,"extractors",e)));r.then((function(t){n.extractor=t,n.trigger({extractor:n.extractor})})),d.get.promise(r)},save:function(t,e){var n;n=e.id?this.update(t,e,!0):this.create(t,e,!0),d.save.promise(n)},_silentExtractorCreate:function(t,e){var n=f.f(s.a.ExtractorsController.create(t).url);return Object(u.b)("POST",n,p(e))},create:function(t,e,n){var r=this,i=this._silentExtractorCreate(t,e);return i.then((function(){h.a.success("Extractor ".concat(e.title," created successfully")),r.extractor&&d.get.triggerPromise(t,e.id)})).catch((function(t){h.a.error("Creating extractor failed: ".concat(t),"Could not create extractor")})),n||d.create.promise(i),i},update:function(t,e,n){var r=this,i=f.f(s.a.ExtractorsController.update(t,e.id).url),o=Object(u.b)("PUT",i,p(e));return o.then((function(){h.a.success('Extractor "'.concat(e.title,'" updated successfully')),r.extractor&&d.get.triggerPromise(t,e.id)})).catch((function(t){h.a.error("Updating extractor failed: ".concat(t),"Could not update extractor")})),n||d.update.promise(o),o},delete:function(t,e){var n=this,r=f.f(s.a.ExtractorsController.delete(t,e.id).url),i=Object(u.b)("DELETE",r);i.then((function(){h.a.success('Extractor "'.concat(e.title,'" deleted successfully')),n.extractors&&d.list.triggerPromise(t)})).catch((function(t){h.a.error("Deleting extractor failed: ".concat(t),"Could not delete extractor ".concat(e.title))})),d.delete.promise(i)},order:function(t,e){var n=this,r=f.f(s.a.ExtractorsController.order(t).url),i={};e.forEach((function(t,e){return i[e]=t.id}));var o=Object(u.b)("POST",r,{order:i});o.then((function(){h.a.success("Extractor positions updated successfully"),n.extractors&&d.list.triggerPromise(t)})),o.catch((function(t){h.a.error("Changing extractor positions failed: ".concat(t),"Could not update extractor positions")})),d.order.promise(o)},import:function(t,e){var n=this,r=0,i=0,o=[];e.forEach((function(e){var a=n._silentExtractorCreate(t,e);a.then((function(){return r++})).catch((function(){return i++})),o.push(a)})),a.a.settle(o).then((function(){0===i?h.a.success("Import results: ".concat(r," extractor(s) imported."),"Import operation successful"):h.a.warning("Import results: ".concat(r," extractor(s) imported, ").concat(i," error(s)."),"Import operation completed")}))}});e.default=g},"6aqzefQH":function(t,exports,e){t.exports=e("jaIgFIJB")(800)},"6hgZTaCd":function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r),o=n("HbbeyvOy"),a=n("L+5XEiOD"),s=n("IU8ofT4O"),u=n("8GJ6oOEd");function c(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function l(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:Object(r.Map)();u(this,t),this.value=e}return l(t,[{key:"v",value:function(t){return this.value=this.value.set("v",t),this}},{key:"id",value:function(t){return this.value=this.value.set("id",t),this}},{key:"rev",value:function(t){return this.value=this.value.set("rev",t),this}},{key:"name",value:function(t){return this.value=this.value.set("name",t),this}},{key:"summary",value:function(t){return this.value=this.value.set("summary",t),this}},{key:"description",value:function(t){return this.value=this.value.set("description",t),this}},{key:"vendor",value:function(t){return this.value=this.value.set("vendor",t),this}},{key:"url",value:function(t){return this.value=this.value.set("url",t),this}},{key:"parameters",value:function(t){return this.value=this.value.set("parameters",t),this}},{key:"removeParameter",value:function(t){var e=this.value.get("parameters").slice(0);return Object(i.remove)(e,(function(e){return e.name===t.name})),this.value=this.value.set("parameters",e),this}},{key:"addParameter",value:function(t){var e=this.value.get("parameters"),n=Object(i.concat)(e,t);return this.value=this.value.set("parameters",n),this}},{key:"entities",value:function(t){return this.value=this.value.set("entities",t),this}},{key:"build",value:function(){var t=this.value.toObject(),e=t.v,n=t.id,r=t.rev,i=t.name,o=t.summary,a=t.description,s=t.vendor,u=t.url,c=t.parameters,l=t.entities;return new f(e,n,r,i,o,a,s,u,c,l)}}]),t}()},"7KtBiBAd":function(t,exports){var e="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,i="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function o(t,a){if(t===a)return!0;if(t&&a&&"object"==typeof t&&"object"==typeof a){if(t.constructor!==a.constructor)return!1;var s,u,c,l;if(Array.isArray(t)){if((s=t.length)!=a.length)return!1;for(u=s;0!=u--;)if(!o(t[u],a[u]))return!1;return!0}if(n&&t instanceof Map&&a instanceof Map){if(t.size!==a.size)return!1;for(l=t.entries();!(u=l.next()).done;)if(!a.has(u.value[0]))return!1;for(l=t.entries();!(u=l.next()).done;)if(!o(u.value[1],a.get(u.value[0])))return!1;return!0}if(r&&t instanceof Set&&a instanceof Set){if(t.size!==a.size)return!1;for(l=t.entries();!(u=l.next()).done;)if(!a.has(u.value[0]))return!1;return!0}if(i&&ArrayBuffer.isView(t)&&ArrayBuffer.isView(a)){if((s=t.length)!=a.length)return!1;for(u=s;0!=u--;)if(t[u]!==a[u])return!1;return!0}if(t.constructor===RegExp)return t.source===a.source&&t.flags===a.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===a.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===a.toString();if((s=(c=Object.keys(t)).length)!==Object.keys(a).length)return!1;for(u=s;0!=u--;)if(!Object.prototype.hasOwnProperty.call(a,c[u]))return!1;if(e&&t instanceof Element)return!1;for(u=s;0!=u--;)if(("_owner"!==c[u]&&"__v"!==c[u]&&"__o"!==c[u]||!t.$$typeof)&&!o(t[c[u]],a[c[u]]))return!1;return!0}return t!=t&&a!=a}t.exports=function(t,e){try{return o(t,e)}catch(t){if((t.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw t}}},"7cemt1Ep":function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r),o=n("HbbeyvOy"),a=n("IU8ofT4O"),s=n("L+5XEiOD"),u=n("JBQWIv26").a.getActions("IndexerCluster"),c=i.a.createStore({listenables:[u],state:{},init:function(){this.update()},update:function(){var t=this;Promise.all([this.health().then((function(e){t.state.health=e})),this.name().then((function(e){t.state.name=e.name}))]).then((function(){return t.trigger(t.state)}))},getInitialState:function(){return this.state},health:function(){var t=o.f(a.a.IndexerClusterApiController.health().url),e=Object(s.b)("GET",t);return u.health.promise(e),e},name:function(){var t=o.f(a.a.IndexerClusterApiController.name().url),e=Object(s.b)("GET",t);return u.name.promise(e),e}});e.default=c},"7mxP2006":function(t,exports,e){"use strict";t.exports=i,t.exports.isMobile=i,t.exports.default=i;var n=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i,r=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino|android|ipad|playbook|silk/i;function i(t){t||(t={});var e=t.ua;if(e||"undefined"==typeof navigator||(e=navigator.userAgent),e&&e.headers&&"string"==typeof e.headers["user-agent"]&&(e=e.headers["user-agent"]),"string"!=typeof e)return!1;var i=t.tablet?r.test(e):n.test(e);return!i&&t.tablet&&t.featureDetect&&navigator&&navigator.maxTouchPoints>1&&-1!==e.indexOf("Macintosh")&&-1!==e.indexOf("Safari")&&(i=!0),i}},"843IJxye":function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r).a.createActions({listPaginated:{asyncResult:!0},getSidecar:{asyncResult:!0},getSidecarActions:{asyncResult:!0},restartCollector:{asyncResult:!0},assignConfigurations:{asyncResult:!0}});e.default=i},"8FtKQWAV":function(t,exports){t.exports=function t(e,n){"use strict";var r,i,o=/(^([+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?)?$|^0x[0-9a-f]+$|\d+)/gi,a=/(^[ ]*|[ ]*$)/g,s=/(^([\w ]+,?[\w ]+)?[\w ]+,?[\w ]+\d+:\d+(:\d+)?[\w ]?|^\d{1,4}[\/\-]\d{1,4}[\/\-]\d{1,4}|^\w+, \w+ \d+, \d{4})/,u=/^0x[0-9a-f]+$/i,c=/^0/,l=function(e){return t.insensitive&&(""+e).toLowerCase()||""+e},f=l(e).replace(a,"")||"",h=l(n).replace(a,"")||"",d=f.replace(o,"\0$1\0").replace(/\0$/,"").replace(/^\0/,"").split("\0"),p=h.replace(o,"\0$1\0").replace(/\0$/,"").replace(/^\0/,"").split("\0"),g=parseInt(f.match(u),16)||1!==d.length&&f.match(s)&&Date.parse(f),v=parseInt(h.match(u),16)||g&&h.match(s)&&Date.parse(h)||null;if(v){if(gv)return 1}for(var y=0,m=Math.max(d.length,p.length);yi)return 1}return 0}},"8GJ6oOEd":function(t,e,n){"use strict";var r=n("ieFRrI0A"),i=n.n(r),o=n("dFpwyWHg"),a=n.n(o),s=n("iZv4FjGd"),u={insert:"head",singleton:!1};a()(s.a,u),s.a.locals;function c(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function l(t){for(var e=1;eClose",progressBar:!0,preventDuplicates:!0},d={error:function(t,e){i.a.error(t,e||"Error",l(l({},h),{},{timeOut:1e4}))},warning:function(t,e){i.a.warning(t,e||"Attention",h)},success:function(t,e){i.a.success(t,e||"Information",h)}};e.a=d},"8Yr86ech":function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r),o=n("8GJ6oOEd"),a=n("HbbeyvOy"),s=(n("IU8ofT4O"),n("L+5XEiOD")),u=i.a.createStore({listenables:[],sourceUrl:function(t){return"/system/inputs/".concat(t,"/staticfields")},create:function(t,e,n){var r=this,i=a.f(this.sourceUrl(t.id)),u=Object(s.b)("POST",i,{key:e,value:n});return u.then((function(n){return r.trigger({}),o.a.success("Static field '".concat(e,"' added to '").concat(t.title,"' successfully")),n}),(function(e){o.a.error("Adding static field to input failed with: ".concat(e),"Could not add static field to input '".concat(t.title,"'"))})),u},destroy:function(t,e){var n=this,r=a.f("".concat(this.sourceUrl(t.id),"/").concat(e)),i=Object(s.b)("DELETE",r);return i.then((function(r){return n.trigger({}),o.a.success("Static field '".concat(e,"' removed from '").concat(t.title,"' successfully")),r}),(function(n){o.a.error("Removing static field from input failed with: ".concat(n),"Could not remove static field '".concat(e," from input '").concat(t.title,"'"))})),i}});e.default=u},"8rIlJz84":function(t,exports){t.exports=function(t,e,n,r,i){var o=1/Math.tan(e/2),a=1/(r-i);return t[0]=o/n,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=o,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=(i+r)*a,t[11]=-1,t[12]=0,t[13]=0,t[14]=2*i*r*a,t[15]=0,t}},"9SZBCN7s":function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r).a.createActions({list:{asyncResult:!0},get:{asyncResult:!0}});e.default=i},"9YbPW59L":function(t,exports,e){t.exports=e("jaIgFIJB")(354)},"9bxIX4ke":function(t,exports,e){"use strict";var n={};function r(t){t&&null!==t.timer&&(clearTimeout(t.timer),t.timer=null)}exports.throttle=function(t,e,i){var o=n[t],a=Date.now();if(!o){for(var s in n)n[s].tso.ts+e?u():o.timer=setTimeout((function(){u(),o.timer=null}),e)},exports.done=function(t){var e=n[t];return e&&e.timer?new Promise((function(t){var n=e.onDone;e.onDone=function(){n&&n(),t(),e.onDone=null}})):Promise.resolve()},exports.clear=function(t){if(t)r(n[t]),delete n[t];else for(var e in n)exports.clear(e)}},"9pBmxVng":function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r),o=n("nHcjWeCO"),a=n.n(o),s=n("HbbeyvOy"),u=n("IU8ofT4O"),c=n("L+5XEiOD"),l=n("JBQWIv26"),f=n("VPaD/Np4"),h=n.n(f);function d(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function p(t,e){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:h.a.Map();d(this,t),this.value=e}return g(t,[{key:"id",value:function(e){return new t(this.value.set("id",e))}},{key:"title",value:function(e){return new t(this.value.set("title",e))}},{key:"type",value:function(e){return new t(this.value.set("type",e))}},{key:"build",value:function(){var t=this.value.toObject(),e=t.id,n=t.title,r=t.type;return new v(e,n,r)}}]),t}(),m=l.a.getActions("Catalog"),b=i.a.createStore({listenables:[m],showEntityIndex:function(){var t=this,e=s.f(u.a.CatalogsController.showEntityIndex().url),n=Object(c.b)("GET",e).then((function(e){var n=a.a.groupBy(e.entities.map((function(t){return v.fromJSON(t)})),"type.name");return t.trigger({entityIndex:n}),e}));m.showEntityIndex.promise(n)},getSelectedEntities:function(t){var e=Object.keys(t).reduce((function(e,n){return e.concat(t[n].filter((function(t){return t instanceof v})).map((function(t){return t.toJSON()})))}),[]),n=s.f(u.a.CatalogsController.queryEntities().url),r=Object(c.b)("POST",n,{entities:e});m.getSelectedEntities.promise(r)}});e.default=b},A5P9b9BX:function(t,exports,e){"use strict";var n=e("0Ft3SWJB"),r=e("FDg8C/At"),i={name:{valType:"string",role:"style",editType:"none",description:["When used in a template, named items are created in the output figure","in addition to any items the figure already has in this array.","You can modify these items in the output figure by making your own","item with `templateitemname` matching this `name`","alongside your modifications (including `visible: false` or","`enabled: false` to hide it).","Has no effect outside of a template."].join(" ")}};function o(t){return t&&"string"==typeof t}function a(t){var e=t.length-1;return"s"!==t.charAt(e)&&n.warn("bad argument to arrayDefaultKey: "+t),t.substr(0,t.length-1)+"defaults"}i.templateitemname={valType:"string",role:"info",editType:"calc",description:["Used to refer to a named item in this array in the template. Named","items from the template will be created even without a matching item","in the input figure, but you can modify one by making an item with","`templateitemname` matching its `name`, alongside your modifications","(including `visible: false` or `enabled: false` to hide it).","If there is no template or no matching item, this item will be","hidden unless you explicitly show it with `visible: true`."].join(" ")},exports.templatedArray=function(t,e){return e._isLinkedToArray=t,e.name=i.name,e.templateitemname=i.templateitemname,e},exports.traceTemplater=function(t){var e,i,o={};for(e in t)i=t[e],Array.isArray(i)&&i.length&&(o[e]=0);return{newTrace:function(a){var s={type:e=n.coerce(a,{},r,"type"),_template:null};if(e in o){i=t[e];var u=o[e]%i.length;o[e]++,s._template=i[u]}return s}}},exports.newContainer=function(t,e,r){var i=t._template,o=i&&(i[e]||r&&i[r]);return n.isPlainObject(o)||(o=null),t[e]={_template:o}},exports.arrayTemplater=function(t,e,n){var r=t._template,i=r&&r[a(e)],s=r&&r[e];Array.isArray(s)&&s.length||(s=[]);var u={};return{newItem:function(t){var e={name:t.name,_input:t},r=e.templateitemname=t.templateitemname;if(!o(r))return e._template=i,e;for(var a=0;a=i&&(r._input||{})._templateitemname;a&&(o=i);var s,u=e+"["+o+"]";function c(){s={},a&&(s[u]={},s[u].templateitemname=a)}function l(t,e){a?n.nestedProperty(s[u],t).set(e):s[u+"."+t]=e}function f(){var t=s;return c(),t}return c(),{modifyBase:function(t,e){s[t]=e},modifyItem:l,getUpdateObj:f,applyUpdate:function(e,r){e&&l(e,r);var i=f();for(var o in i)n.nestedProperty(t,o).set(i[o])}}}},"A91Apzz+":function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r).a.createActions({list:{asyncResult:!0},getJob:{asyncResult:!0},cancelJob:{asyncResult:!0}});e.default=i},AFTZni7Z:function(t,exports,e){var n,r;!function(i,o){"use strict";t.exports?t.exports=o():void 0===(r="function"==typeof(n=o)?n.call(exports,e,exports,t):n)||(t.exports=r)}(0,(function(t){"use strict";var e=t&&t.SecondLevelDomains,n={list:{ac:" com gov mil net org ",ae:" ac co gov mil name net org pro sch ",af:" com edu gov net org ",al:" com edu gov mil net org ",ao:" co ed gv it og pb ",ar:" com edu gob gov int mil net org tur ",at:" ac co gv or ",au:" asn com csiro edu gov id net org ",ba:" co com edu gov mil net org rs unbi unmo unsa untz unze ",bb:" biz co com edu gov info net org store tv ",bh:" biz cc com edu gov info net org ",bn:" com edu gov net org ",bo:" com edu gob gov int mil net org tv ",br:" adm adv agr am arq art ato b bio blog bmd cim cng cnt com coop ecn edu eng esp etc eti far flog fm fnd fot fst g12 ggf gov imb ind inf jor jus lel mat med mil mus net nom not ntr odo org ppg pro psc psi qsl rec slg srv tmp trd tur tv vet vlog wiki zlg ",bs:" com edu gov net org ",bz:" du et om ov rg ",ca:" ab bc mb nb nf nl ns nt nu on pe qc sk yk ",ck:" biz co edu gen gov info net org ",cn:" ac ah bj com cq edu fj gd gov gs gx gz ha hb he hi hl hn jl js jx ln mil net nm nx org qh sc sd sh sn sx tj tw xj xz yn zj ",co:" com edu gov mil net nom org ",cr:" ac c co ed fi go or sa ",cy:" ac biz com ekloges gov ltd name net org parliament press pro tm ",do:" art com edu gob gov mil net org sld web ",dz:" art asso com edu gov net org pol ",ec:" com edu fin gov info med mil net org pro ",eg:" com edu eun gov mil name net org sci ",er:" com edu gov ind mil net org rochest w ",es:" com edu gob nom org ",et:" biz com edu gov info name net org ",fj:" ac biz com info mil name net org pro ",fk:" ac co gov net nom org ",fr:" asso com f gouv nom prd presse tm ",gg:" co net org ",gh:" com edu gov mil org ",gn:" ac com gov net org ",gr:" com edu gov mil net org ",gt:" com edu gob ind mil net org ",gu:" com edu gov net org ",hk:" com edu gov idv net org ",hu:" 2000 agrar bolt casino city co erotica erotika film forum games hotel info ingatlan jogasz konyvelo lakas media news org priv reklam sex shop sport suli szex tm tozsde utazas video ",id:" ac co go mil net or sch web ",il:" ac co gov idf k12 muni net org ",in:" ac co edu ernet firm gen gov i ind mil net nic org res ",iq:" com edu gov i mil net org ",ir:" ac co dnssec gov i id net org sch ",it:" edu gov ",je:" co net org ",jo:" com edu gov mil name net org sch ",jp:" ac ad co ed go gr lg ne or ",ke:" ac co go info me mobi ne or sc ",kh:" com edu gov mil net org per ",ki:" biz com de edu gov info mob net org tel ",km:" asso com coop edu gouv k medecin mil nom notaires pharmaciens presse tm veterinaire ",kn:" edu gov net org ",kr:" ac busan chungbuk chungnam co daegu daejeon es gangwon go gwangju gyeongbuk gyeonggi gyeongnam hs incheon jeju jeonbuk jeonnam k kg mil ms ne or pe re sc seoul ulsan ",kw:" com edu gov net org ",ky:" com edu gov net org ",kz:" com edu gov mil net org ",lb:" com edu gov net org ",lk:" assn com edu gov grp hotel int ltd net ngo org sch soc web ",lr:" com edu gov net org ",lv:" asn com conf edu gov id mil net org ",ly:" com edu gov id med net org plc sch ",ma:" ac co gov m net org press ",mc:" asso tm ",me:" ac co edu gov its net org priv ",mg:" com edu gov mil nom org prd tm ",mk:" com edu gov inf name net org pro ",ml:" com edu gov net org presse ",mn:" edu gov org ",mo:" com edu gov net org ",mt:" com edu gov net org ",mv:" aero biz com coop edu gov info int mil museum name net org pro ",mw:" ac co com coop edu gov int museum net org ",mx:" com edu gob net org ",my:" com edu gov mil name net org sch ",nf:" arts com firm info net other per rec store web ",ng:" biz com edu gov mil mobi name net org sch ",ni:" ac co com edu gob mil net nom org ",np:" com edu gov mil net org ",nr:" biz com edu gov info net org ",om:" ac biz co com edu gov med mil museum net org pro sch ",pe:" com edu gob mil net nom org sld ",ph:" com edu gov i mil net ngo org ",pk:" biz com edu fam gob gok gon gop gos gov net org web ",pl:" art bialystok biz com edu gda gdansk gorzow gov info katowice krakow lodz lublin mil net ngo olsztyn org poznan pwr radom slupsk szczecin torun warszawa waw wroc wroclaw zgora ",pr:" ac biz com edu est gov info isla name net org pro prof ",ps:" com edu gov net org plo sec ",pw:" belau co ed go ne or ",ro:" arts com firm info nom nt org rec store tm www ",rs:" ac co edu gov in org ",sb:" com edu gov net org ",sc:" com edu gov net org ",sh:" co com edu gov net nom org ",sl:" com edu gov net org ",st:" co com consulado edu embaixada gov mil net org principe saotome store ",sv:" com edu gob org red ",sz:" ac co org ",tr:" av bbs bel biz com dr edu gen gov info k12 name net org pol tel tsk tv web ",tt:" aero biz cat co com coop edu gov info int jobs mil mobi museum name net org pro tel travel ",tw:" club com ebiz edu game gov idv mil net org ",mu:" ac co com gov net or org ",mz:" ac co edu gov org ",na:" co com ",nz:" ac co cri geek gen govt health iwi maori mil net org parliament school ",pa:" abo ac com edu gob ing med net nom org sld ",pt:" com edu gov int net nome org publ ",py:" com edu gov mil net org ",qa:" com edu gov mil net org ",re:" asso com nom ",ru:" ac adygeya altai amur arkhangelsk astrakhan bashkiria belgorod bir bryansk buryatia cbg chel chelyabinsk chita chukotka chuvashia com dagestan e-burg edu gov grozny int irkutsk ivanovo izhevsk jar joshkar-ola kalmykia kaluga kamchatka karelia kazan kchr kemerovo khabarovsk khakassia khv kirov koenig komi kostroma kranoyarsk kuban kurgan kursk lipetsk magadan mari mari-el marine mil mordovia mosreg msk murmansk nalchik net nnov nov novosibirsk nsk omsk orenburg org oryol penza perm pp pskov ptz rnd ryazan sakhalin samara saratov simbirsk smolensk spb stavropol stv surgut tambov tatarstan tom tomsk tsaritsyn tsk tula tuva tver tyumen udm udmurtia ulan-ude vladikavkaz vladimir vladivostok volgograd vologda voronezh vrn vyatka yakutia yamal yekaterinburg yuzhno-sakhalinsk ",rw:" ac co com edu gouv gov int mil net ",sa:" com edu gov med net org pub sch ",sd:" com edu gov info med net org tv ",se:" a ac b bd c d e f g h i k l m n o org p parti pp press r s t tm u w x y z ",sg:" com edu gov idn net org per ",sn:" art com edu gouv org perso univ ",sy:" com edu gov mil net news org ",th:" ac co go in mi net or ",tj:" ac biz co com edu go gov info int mil name net nic org test web ",tn:" agrinet com defense edunet ens fin gov ind info intl mincom nat net org perso rnrt rns rnu tourism ",tz:" ac co go ne or ",ua:" biz cherkassy chernigov chernovtsy ck cn co com crimea cv dn dnepropetrovsk donetsk dp edu gov if in ivano-frankivsk kh kharkov kherson khmelnitskiy kiev kirovograd km kr ks kv lg lugansk lutsk lviv me mk net nikolaev od odessa org pl poltava pp rovno rv sebastopol sumy te ternopil uzhgorod vinnica vn zaporizhzhe zhitomir zp zt ",ug:" ac co go ne or org sc ",uk:" ac bl british-library co cym gov govt icnet jet lea ltd me mil mod national-library-scotland nel net nhs nic nls org orgn parliament plc police sch scot soc ",us:" dni fed isa kids nsn ",uy:" com edu gub mil net org ",ve:" co com edu gob info mil net org web ",vi:" co com k12 net org ",vn:" ac biz com edu gov health info int name net org pro ",ye:" co com gov ltd me net org plc ",yu:" ac co edu gov org ",za:" ac agric alt bourse city co cybernet db edu gov grondar iaccess imt inca landesign law mil net ngo nis nom olivetti org pix school tm web ",zm:" ac co com edu gov net org sch ",com:"ar br cn de eu gb gr hu jpn kr no qc ru sa se uk us uy za ",net:"gb jp se uk ",org:"ae",de:"com "},has:function(t){var e=t.lastIndexOf(".");if(e<=0||e>=t.length-1)return!1;var r=t.lastIndexOf(".",e-1);if(r<=0||r>=e-1)return!1;var i=n.list[t.slice(e+1)];return!!i&&i.indexOf(" "+t.slice(r+1,e)+" ")>=0},is:function(t){var e=t.lastIndexOf(".");if(e<=0||e>=t.length-1)return!1;if(t.lastIndexOf(".",e-1)>=0)return!1;var r=n.list[t.slice(e+1)];return!!r&&r.indexOf(" "+t.slice(0,e)+" ")>=0},get:function(t){var e=t.lastIndexOf(".");if(e<=0||e>=t.length-1)return null;var r=t.lastIndexOf(".",e-1);if(r<=0||r>=e-1)return null;var i=n.list[t.slice(e+1)];return i?i.indexOf(" "+t.slice(r+1,e)+" ")<0?null:t.slice(r+1):null},noConflict:function(){return t.SecondLevelDomains===this&&(t.SecondLevelDomains=e),this}};return n}))},AKMpLma3:function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r),o=n("IU8ofT4O"),a=n("L+5XEiOD"),s=n("HbbeyvOy"),u=n("8GJ6oOEd"),c=n("21p8kIWv").a.get("CodecTypes").CodecTypesActions,l=i.a.createStore({listenables:[c],codecTypes:void 0,getInitialState:function(){return{codecTypes:this.codecTypes}},list:function(){var t=this,e=Object(a.b)("GET",s.f(o.a.CodecTypesController.list().url));e.then((function(e){t.codecTypes=e,t.trigger(t.getInitialState())}),(function(t){u.a.error("Fetching codec types failed with status: ".concat(t),"Could not retrieve codec types")})),c.list.promise(e)}});e.default=l},"AXCy/LZT":function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r).a.createActions({all:{asyncResult:!0},list:{asyncResult:!0},listUploads:{asyncResult:!0},getConfiguration:{asyncResult:!0},getConfigurationSidecars:{asyncResult:!0},getUploads:{asyncResult:!0},createConfiguration:{asyncResult:!0},updateConfiguration:{asyncResult:!0},renderPreview:{asyncResult:!0},copyConfiguration:{asyncResult:!0},delete:{asyncResult:!0},validate:{asyncResult:!0}});e.default=i},AztyBNMT:function(t,exports,e){t.exports={PluginManifest:e("2nHm30BR"),PluginStore:e("Mv52k5JB")}},BLeQIiIw:function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r),o=n("nHcjWeCO"),a=n.n(o),s=n("8GJ6oOEd"),u=n("HbbeyvOy"),c=n("IU8ofT4O"),l=n("L+5XEiOD"),f=n("JBQWIv26").a.getActions("AlertConditions"),h=i.a.createStore({listenables:f,allAlertConditions:void 0,availableConditions:void 0,getInitialState:function(){return{availableConditions:this.availableConditions,allAlertConditions:this.allAlertConditions}},available:function(){var t=this,e=u.f(c.a.AlertConditionsApiController.available().url),n=Object(l.b)("GET",e).then((function(e){t.availableConditions=e,t.trigger({availableConditions:t.availableConditions})}));return f.available.promise(n),n},delete:function(t,e){var n=u.f(c.a.StreamAlertsApiController.delete(t,e).url),r=Object(l.b)("DELETE",n).then((function(){f.listAll(),s.a.success("Condition deleted successfully")}),(function(t){s.a.error("Removing Alert Condition failed with status: ".concat(t),"Could not remove Alert Conditions")}));return f.delete.promise(r),r},listAll:function(){var t=this,e=u.f(c.a.AlertConditionsApiController.list().url),n=Object(l.b)("GET",e).then((function(e){return t.allAlertConditions=e.conditions,t.trigger({allAlertConditions:t.allAlertConditions}),t.allAlertConditions}),(function(t){s.a.error("Fetching alert conditions failed with status: ".concat(t),"Could not get alert conditions")}));f.listAll.promise(n)},list:function(t){var e=this,n=u.f(c.a.StreamAlertsApiController.list(t).url),r=Object(l.b)("GET",n).then((function(n){var r=n.conditions.map((function(e){var n=a.a.clone(e);return n.stream_id=t,n}));return e.trigger({alertConditions:r}),r}),(function(t){s.a.error("Fetching Alert Conditions failed with status: ".concat(t),"Could not retrieve Alert Conditions")}));return f.list.promise(r),r},save:function(t,e){var n=u.f(c.a.StreamAlertsApiController.create(t).url),r=Object(l.b)("POST",n,e).then((function(t){return s.a.success("Condition created successfully"),t.alert_condition_id}),(function(t){s.a.error("Saving Alert Condition failed with status: ".concat(t),"Could not save Alert Condition")}));return f.save.promise(r),r},update:function(t,e,n){var r=u.f(c.a.StreamAlertsApiController.update(t,e).url),i=Object(l.b)("PUT",r,n).then((function(t){return s.a.success("Condition updated successfully"),t}),(function(t){s.a.error("Saving Alert Condition failed with status: ".concat(t),"Could not save Alert Condition")}));return f.update.promise(i),i},get:function(t,e,n){var r=this,i=u.f(c.a.StreamAlertsApiController.get(t,e).url),o=Object(l.b)("GET",i);o.then((function(t){return r.trigger({alertCondition:t}),t}),(function(t){return"function"==typeof n?n(t):function(t){s.a.error("Fetching Alert Condition ".concat(e," failed with status: ").concat(t),"Could not retrieve Alert Condition")}(t)})),f.get.promise(o)},test:function(t,e){var n=u.f(c.a.StreamAlertsApiController.test(t,e).url),r=Object(l.b)("POST",n);f.test.promise(r)}});e.default=h},BSRFGq4X:function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r).a.createActions({login:{asyncResult:!0},logout:{asyncResult:!0},validate:{asyncResult:!0}});e.default=i},Bise7ZaT:function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r),o=n("VPaD/Np4"),a=n.n(o),s=n("8GJ6oOEd"),u=n("HbbeyvOy"),c=n("IU8ofT4O"),l=n("L+5XEiOD"),f=n("21p8kIWv"),h=n("mR82218M"),d=f.a.get("Pipelines").PipelinesActions,p=function(t){s.a.error("Fetching pipelines failed with status: ".concat(t.message),"Could not retrieve processing pipelines")},g=i.a.createStore({listenables:[d],pipelines:void 0,getInitialState:function(){return{pipelines:this.pipelines}},_updatePipelinesState:function(t){this.pipelines?this.pipelines.some((function(e){return e.id===t.id}))?this.pipelines=this.pipelines.map((function(e){return e.id===t.id?t:e})):this.pipelines.push(t):this.pipelines=[t];this.trigger({pipelines:this.pipelines})},list:function(){var t=this,e=Object(u.f)(c.a.PipelinesController.list().url);return Object(l.b)("GET",e).then((function(e){t.pipelines=e,t.trigger({pipelines:e})}),p)},listPaginated:function(t){var e=t.page,n=t.perPage,r=t.query,i=Object(h.a)(c.a.PipelinesController.paginatedList().url,e,n,r),o=Object(l.b)("GET",Object(u.f)(i)).then((function(t){return{list:a.a.List(t.pipelines),pagination:{page:t.page,perPage:t.per_page,query:t.query,count:t.count,total:t.total}}}),p);return d.listPaginated.promise(o),o},get:function(t){var e=Object(u.f)(c.a.PipelinesController.get(t).url);Object(l.b)("GET",e).then(this._updatePipelinesState,(function(e){s.a.error("Fetching pipeline failed with status: ".concat(e.message),'Could not retrieve processing pipeline "'.concat(t,'"'))}))},save:function(t){var e=this,n=Object(u.f)(c.a.PipelinesController.create().url),r={title:t.title,description:t.description,source:t.source},i=Object(l.b)("POST",n,r);i.then((function(t){e._updatePipelinesState(t),s.a.success('Pipeline "'.concat(r.title,'" created successfully'))}),(function(t){s.a.error("Saving pipeline failed with status: ".concat(t.message),"Could not save processing pipeline")})),d.save.promise(i)},update:function(t){var e=this,n=Object(u.f)(c.a.PipelinesController.update(t.id).url),r={id:t.id,title:t.title,description:t.description,source:t.source},i=Object(l.b)("PUT",n,r);i.then((function(t){e._updatePipelinesState(t),s.a.success('Pipeline "'.concat(r.title,'" updated successfully'))}),(function(t){s.a.error("Updating pipeline failed with status: ".concat(t.message),"Could not update processing pipeline")})),d.update.promise(i)},delete:function(t){var e=this,n=Object(u.f)(c.a.PipelinesController.delete(t).url),r=Object(l.b)("DELETE",n).then((function(){var n=e.pipelines||[];e.pipelines=n.filter((function(e){return e.id!==t})),e.trigger({pipelines:e.pipelines}),s.a.success('Pipeline "'.concat(t,'" deleted successfully'))}),(function(e){s.a.error("Deleting pipeline failed with status: ".concat(e.message),'Could not delete processing pipeline "'.concat(t,'"'))}));return d.delete.promise(r),r},parse:function(t,e){var n=Object(u.f)(c.a.PipelinesController.parse().url),r={title:t.title,description:t.description,source:t.source};return Object(l.b)("POST",n,r).then((function(){e([])}),(function(t){400===t.status&&e(t.additional.body)}))}});e.default=g},BrPJAV99:function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r).a.createActions({get:{asyncResult:!0}});e.default=i},C7WUsZ7w:function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r).a.createActions({get:{asyncResult:!0},list:{asyncResult:!0},listPaginated:{asyncResult:!0},listAllPaginated:{asyncResult:!0},listAllStreams:{asyncResult:!0}});e.default=i},CG95fjBK:function(t,exports){t.exports=function(t,e,n){var r=Math.sin(n),i=Math.cos(n),o=e[4],a=e[5],s=e[6],u=e[7],c=e[8],l=e[9],f=e[10],h=e[11];e!==t&&(t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]);return t[4]=o*i+c*r,t[5]=a*i+l*r,t[6]=s*i+f*r,t[7]=u*i+h*r,t[8]=c*i-o*r,t[9]=l*i-a*r,t[10]=f*i-s*r,t[11]=h*i-u*r,t}},COXm4vGc:function(t,exports,e){var n;!function(r,i){"use strict";var o="function",a="undefined",s="object",u="model",c="name",l="type",f="vendor",h="version",d="architecture",p="console",g="mobile",v="tablet",y="smarttv",m="wearable",b={extend:function(t,e){var n={};for(var r in t)e[r]&&e[r].length%2==0?n[r]=e[r].concat(t[r]):n[r]=t[r];return n},has:function(t,e){return"string"==typeof t&&-1!==e.toLowerCase().indexOf(t.toLowerCase())},lowerize:function(t){return t.toLowerCase()},major:function(t){return"string"==typeof t?t.replace(/[^\d\.]/g,"").split(".")[0]:i},trim:function(t){return t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}},_={rgx:function(t,e){for(var n,r,a,u,c,l,f=0;f0?2==u.length?typeof u[1]==o?this[u[0]]=u[1].call(this,l):this[u[0]]=u[1]:3==u.length?typeof u[1]!==o||u[1].exec&&u[1].test?this[u[0]]=l?l.replace(u[1],u[2]):i:this[u[0]]=l?u[1].call(this,l,u[2]):i:4==u.length&&(this[u[0]]=l?u[3].call(this,l.replace(u[1],u[2])):i):this[u]=l||i;f+=2}},str:function(t,e){for(var n in e)if(typeof e[n]===s&&e[n].length>0){for(var r=0;r>>24)|4278255360&(s[d]<<24|s[d]>>>8);s[u>>>5]|=128<>>9<<4)]=u;var p=a._ff,g=a._gg,v=a._hh,y=a._ii;for(d=0;d>>0,l=l+b>>>0,f=f+_>>>0,h=h+w>>>0}return n.endian([c,l,f,h])})._ff=function(t,e,n,r,i,o,a){var s=t+(e&n|~e&r)+(i>>>0)+a;return(s<>>32-o)+e},a._gg=function(t,e,n,r,i,o,a){var s=t+(e&r|n&~r)+(i>>>0)+a;return(s<>>32-o)+e},a._hh=function(t,e,n,r,i,o,a){var s=t+(e^n^r)+(i>>>0)+a;return(s<>>32-o)+e},a._ii=function(t,e,n,r,i,o,a){var s=t+(n^(e|~r))+(i>>>0)+a;return(s<>>32-o)+e},a._blocksize=16,a._digestsize=16,t.exports=function(t,e){if(null==t)throw new Error("Illegal argument "+t);var r=n.wordsToBytes(a(t,e));return e&&e.asBytes?r:e&&e.asString?o.bytesToString(r):n.bytesToHex(r)}},"DGPF6u+k":function(t,exports,e){"use strict";t.exports=function(t){for(var e,n=t.length,r=0;r13)&&32!==e&&133!==e&&160!==e&&5760!==e&&6158!==e&&(e<8192||e>8205)&&8232!==e&&8233!==e&&8239!==e&&8287!==e&&8288!==e&&12288!==e&&65279!==e)return!1;return!0}},DUuaJyXG:function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r),o=n("L+5XEiOD"),a=n("IU8ofT4O"),s=n("HbbeyvOy"),u=n("8GJ6oOEd"),c=i.a.createStore({OUTPUTS_URL:s.f(a.a.OutputsApiController.index().url),load:function(t){Object(o.b)("GET",this.OUTPUTS_URL).then(t,this._failCallback)},loadForStreamId:function(t,e){var n=s.f(a.a.StreamOutputsApiController.index(t).url);Object(o.b)("GET",n).then(e,this._failCallback)},loadAvailableTypes:function(t){var e=s.f(a.a.OutputsApiController.availableTypes().url);Object(o.b)("GET",e).then(t,this._failCallback)},loadAvailable:function(t,e){var n=s.f(a.a.OutputsApiController.availableTypes().url);Object(o.b)("GET",n).then((function(e){return e.types[t]}),this._failCallback).then(e)},remove:function(t,e){var n=s.f(a.a.OutputsApiController.delete(t).url);Object(o.b)("DELETE",n).then(e,(function(t){u.a.error("Terminating output failed with status: ".concat(t),"Could not terminate output")}))},save:function(t,e){var n=s.f(a.a.OutputsApiController.create().url);Object(o.b)("POST",n,t).then(e,(function(e){u.a.error('Saving Output "'.concat(t.title,'" failed with status: ').concat(e),"Could not save Output")}))},update:function(t,e,n){var r=s.f(a.a.OutputsApiController.update(t.id).url);Object(o.b)("PUT",r,e).then(n,(function(e){u.a.error('Updating Output "'.concat(t.title,'" failed with status: ').concat(e),"Could not update Output")}))},_failCallback:function(t){u.a.error("Loading outputs failed with status: ".concat(t),"Could not load outputs")}});e.default=c},DjJvgDaP:function(t,exports,e){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=t(e);return e[2]?"@media ".concat(e[2]," {").concat(n,"}"):n})).join("")},e.i=function(t,n,r){"string"==typeof t&&(t=[[null,t,""]]);var i={};if(r)for(var o=0;o, please ensure it wasn't deleted."),"Could not retrieve Event Definition")})),g.get.promise(e)},setAlertFlag:function(t){var e=t.notifications.length>0;return d(d({},t),{},{alert:e})},extractSchedulerInfo:function(t){var e=u.a.cloneDeep(t),n=u.a.pick(e.config,["_is_scheduled"])._is_scheduled;return e.config=u.a.omit(e.config,["_is_scheduled"]),{eventDefinition:e,isScheduled:u.a.defaultTo(n,!0)}},create:function(t){var e=this,n=this.extractSchedulerInfo(t),r=n.eventDefinition,i=n.isScheduled,o=Object(f.b)("POST",this.eventDefinitionsUrl({query:{schedule:i}}),this.setAlertFlag(r));o.then((function(t){return l.a.success("Event Definition created successfully",'Event Definition "'.concat(r.title,'" was created successfully.')),e.refresh(),t}),(function(t){400===t.status&&t.additional.body&&t.additional.body.failed||l.a.error('Creating Event Definition "'.concat(r.title,'" failed with status: ').concat(t),"Could not save Event Definition")})),g.create.promise(o)},update:function(t,e){var n=this,r=this.extractSchedulerInfo(e),i=r.eventDefinition,o=r.isScheduled,a=Object(f.b)("PUT",this.eventDefinitionsUrl({segments:[t],query:{schedule:o}}),this.setAlertFlag(i));a.then((function(t){return l.a.success("Event Definition updated successfully",'Event Definition "'.concat(i.title,'" was updated successfully.')),n.refresh(),t}),(function(t){400===t.status&&t.additional.body&&t.additional.body.failed||l.a.error('Updating Event Definition "'.concat(i.title,'" failed with status: ').concat(t),"Could not update Event Definition")})),g.update.promise(a)},delete:function(t){var e=this,n=Object(f.b)("DELETE",this.eventDefinitionsUrl({segments:[t.id]}));n.then((function(){l.a.success("Event Definition deleted successfully",'Event Definition "'.concat(t.title,'" was deleted successfully.')),e.refresh()}),(function(e){l.a.error('Deleting Event Definition "'.concat(t.title,'" failed with status: ').concat(e),"Could not delete Event Definition")})),g.delete.promise(n)},enable:function(t){var e=this,n=Object(f.b)("PUT",this.eventDefinitionsUrl({segments:[t.id,"schedule"]}));n.then((function(n){return l.a.success("Event Definition successfully enabled",'Event Definition "'.concat(t.title,'" was successfully enabled.')),e.refresh(),n}),(function(e){400===e.status&&e.additional.body&&e.additional.body.failed||l.a.error('Enabling Event Definition "'.concat(t.title,'" failed with status: ').concat(e),"Could not enable Event Definition")})),g.enable.promise(n)},disable:function(t){var e=this,n=Object(f.b)("PUT",this.eventDefinitionsUrl({segments:[t.id,"unschedule"]}));n.then((function(n){return l.a.success("Event Definition successfully disabled",'Event Definition "'.concat(t.title,'" was successfully disabled.')),e.refresh(),n}),(function(e){400===e.status&&e.additional.body&&e.additional.body.failed||l.a.error('Disabling Event Definition "'.concat(t.title,'" failed with status: ').concat(e),"Could not disable Event Definition")})),g.disable.promise(n)}});e.default=v},"FDg8C/At":function(t,exports,e){"use strict";var n=e("CPF8cYDb");t.exports={type:{valType:"enumerated",role:"info",values:[],dflt:"scatter",editType:"calc+clearAxisTypes",_noTemplating:!0},visible:{valType:"enumerated",values:[!0,!1,"legendonly"],role:"info",dflt:!0,editType:"calc",description:["Determines whether or not this trace is visible.","If *legendonly*, the trace is not drawn,","but can appear as a legend item","(provided that the legend itself is visible)."].join(" ")},showlegend:{valType:"boolean",role:"info",dflt:!0,editType:"style",description:["Determines whether or not an item corresponding to this","trace is shown in the legend."].join(" ")},legendgroup:{valType:"string",role:"info",dflt:"",editType:"style",description:["Sets the legend group for this trace.","Traces part of the same legend group hide/show at the same time","when toggling legend items."].join(" ")},opacity:{valType:"number",role:"style",min:0,max:1,dflt:1,editType:"style",description:"Sets the opacity of the trace."},name:{valType:"string",role:"info",editType:"style",description:["Sets the trace name.","The trace name appear as the legend item and on hover."].join(" ")},uid:{valType:"string",role:"info",editType:"plot",anim:!0,description:["Assign an id to this trace,","Use this to provide object constancy between traces during animations","and transitions."].join(" ")},ids:{valType:"data_array",editType:"calc",anim:!0,description:["Assigns id labels to each datum.","These ids for object constancy of data points during animation.","Should be an array of strings, not numbers or any other type."].join(" ")},customdata:{valType:"data_array",editType:"calc",description:["Assigns extra data each datum.","This may be useful when listening to hover, click and selection events.","Note that, *scatter* traces also appends customdata items in the markers","DOM elements"].join(" ")},meta:{valType:"any",arrayOk:!0,role:"info",editType:"plot",description:["Assigns extra meta information associated with this trace","that can be used in various text attributes.","Attributes such as trace `name`, graph, axis and colorbar `title.text`, annotation `text`","`rangeselector`, `updatemenues` and `sliders` `label` text","all support `meta`.","To access the trace `meta` values in an attribute in the same trace, simply use","`%{meta[i]}` where `i` is the index or key of the `meta`","item in question.","To access trace `meta` in layout attributes, use","`%{data[n[.meta[i]}` where `i` is the index or key of the `meta`","and `n` is the trace index."].join(" ")},selectedpoints:{valType:"any",role:"info",editType:"calc",description:["Array containing integer indices of selected points.","Has an effect only for traces that support selections.","Note that an empty array means an empty selection where the `unselected`","are turned on for all points, whereas, any other non-array values means no","selection all where the `selected` and `unselected` styles have no effect."].join(" ")},hoverinfo:{valType:"flaglist",role:"info",flags:["x","y","z","text","name"],extras:["all","none","skip"],arrayOk:!0,dflt:"all",editType:"none",description:["Determines which trace information appear on hover.","If `none` or `skip` are set, no information is displayed upon hovering.","But, if `none` is set, click and hover events are still fired."].join(" ")},hoverlabel:n.hoverlabel,stream:{token:{valType:"string",noBlank:!0,strict:!0,role:"info",editType:"calc",description:["The stream id number links a data trace on a plot with a stream.","See https://chart-studio.plotly.com/settings for more details."].join(" ")},maxpoints:{valType:"number",min:0,max:1e4,dflt:500,role:"info",editType:"calc",description:["Sets the maximum number of points to keep on the plots from an","incoming stream.","If `maxpoints` is set to *50*, only the newest 50 points will","be displayed on the plot."].join(" ")},editType:"calc"},transforms:{_isLinkedToArray:"transform",editType:"calc",description:["An array of operations that manipulate the trace data,","for example filtering or sorting the data arrays."].join(" ")},uirevision:{valType:"any",role:"info",editType:"none",description:["Controls persistence of some user-driven changes to the trace:","`constraintrange` in `parcoords` traces, as well as some","`editable: true` modifications such as `name` and `colorbar.title`.","Defaults to `layout.uirevision`.","Note that other user-driven trace attribute changes are controlled","by `layout` attributes:","`trace.visible` is controlled by `layout.legend.uirevision`,","`selectedpoints` is controlled by `layout.selectionrevision`,","and `colorbar.(x|y)` (accessible with `config: {editable: true}`)","is controlled by `layout.editrevision`.","Trace changes are tracked by `uid`, which only falls back on trace","index if no `uid` is provided. So if your app can add/remove traces","before the end of the `data` array, such that the same trace has a","different index, you can still preserve user-driven changes if you","give each trace a `uid` that stays with it as it moves."].join(" ")}}},Facw8pjZ:function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r).a.createActions({loggers:{asyncResult:!0},subsystems:{asyncResult:!0},setSubsystemLoggerLevel:{asyncResult:!0}});e.default=i},G8RuLtbf:function(t,e,n){"use strict";var r=n("mRXwKqDg");function i(t,e){for(var n=0;n"))}},{key:"registerSubtype",value:function(t,e){this.__registrations[t.toLocaleLowerCase()]=e}}],(n=[{key:"type",get:function(){return this._value.type}},{key:"name",get:function(){return this._value.name}},{key:"title",get:function(){return this._value.title}},{key:"description",get:function(){return this._value.description}},{key:"dataType",get:function(){return this._value.dataType}},{key:"defaultValue",get:function(){return this._value.defaultValue}},{key:"optional",get:function(){return this._value.optional}},{key:"needsBinding",get:function(){return!0}},{key:"binding",get:function(){return this._value.binding}}])&&i(e.prototype,n),r&&i(e,r),t}();o(a,"__registrations",{});var s=Object(r.a)("views.logic.parameters.Parameter",(function(){return a}));e.a=s},GHO4z1CW:function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r).a.createActions({list:{asyncResult:!0},listSearchesClusterConfig:{asyncResult:!0},listMessageProcessorsConfig:{asyncResult:!0},listEventsClusterConfig:{asyncResult:!0},listWhiteListConfig:{asyncResult:!0},listPermissionsConfig:{asyncResult:!0},update:{asyncResult:!0},updateWhitelist:{asyncResult:!0},updateMessageProcessorsConfig:{asyncResult:!0}});e.default=i},H1SnJhgx:function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var i={tempDocument:document.createElement("textarea"),capitalizeFirstLetter:function(t){return t.charAt(0).toUpperCase()+t.slice(1)},escapeHTML:function(t){return this.tempDocument.textContent=t,this.tempDocument.innerHTML},unescapeHTML:function(t){return this.tempDocument.innerHTML=t,this.tempDocument.textContent},pluralize:function(t,e,n){return 1===t||"1"===t?e:n},stringify:function(t){return("object"===r(t)?JSON.stringify(t):String(t))||""},replaceSpaces:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"-";return t.replace(/\s/g,e)},truncateWithEllipses:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"...";return t.length>e?"".concat(t.substring(0,e)).concat(n):t}};e.a=i},HQf5gZZO:function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r),o=n("YPyIcTeH"),a=n.n(o),s=n("HbbeyvOy"),u=n("IU8ofT4O"),c=n("L+5XEiOD"),l=i.a.createStore({system:void 0,locales:void 0,init:function(){var t=this;this.info().then((function(e){t.trigger({system:e}),t.system=e})),this.systemLocales().then((function(e){t.trigger({locales:e}),t.locales=e.locales}))},getInitialState:function(){return{system:this.system,locales:this.locales}},info:function(){var t=s.f(u.a.SystemApiController.info().url);return Object(c.b)("GET",t)},jvm:function(){var t=s.f(u.a.SystemApiController.jvm().url);return Object(c.b)("GET",t)},systemLocales:function(){var t=s.f(u.a.SystemApiController.locales().url);return Object(c.b)("GET",t)},elasticsearchVersion:function(){var t=s.f(u.a.ClusterApiResource.elasticsearchStats().url);return new a.a((function(e,n){Object(c.b)("GET",t).then((function(t){var n=t.cluster_version.split(".");e({major:n[0],minor:n[1],patch:n[2]})})).catch(n)}))}});e.default=l},HQzwY43I:function(t,exports){t.exports=function(t,e){var n=e[0],r=e[1],i=e[2],o=e[3],a=e[4],s=e[5],u=e[6],c=e[7],l=e[8],f=e[9],h=e[10],d=e[11],p=e[12],g=e[13],v=e[14],y=e[15],m=n*s-r*a,b=n*u-i*a,_=n*c-o*a,w=r*u-i*s,x=r*c-o*s,S=i*c-o*u,O=l*g-f*p,T=l*v-h*p,k=l*y-d*p,A=f*v-h*g,C=f*y-d*g,E=h*y-d*v,j=m*E-b*C+_*A+w*k-x*T+S*O;if(!j)return null;return j=1/j,t[0]=(s*E-u*C+c*A)*j,t[1]=(i*C-r*E-o*A)*j,t[2]=(g*S-v*x+y*w)*j,t[3]=(h*x-f*S-d*w)*j,t[4]=(u*k-a*E-c*T)*j,t[5]=(n*E-i*k+o*T)*j,t[6]=(v*_-p*S-y*b)*j,t[7]=(l*S-h*_+d*b)*j,t[8]=(a*C-s*k+c*O)*j,t[9]=(r*k-n*C-o*O)*j,t[10]=(p*x-g*_+y*m)*j,t[11]=(f*_-l*x-d*m)*j,t[12]=(s*T-a*A-u*O)*j,t[13]=(n*A-r*T+i*O)*j,t[14]=(g*b-p*w-v*m)*j,t[15]=(l*w-f*b+h*m)*j,t}},HYSesDUg:function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r),o=n("HbbeyvOy"),a=n("L+5XEiOD"),s=n("8GJ6oOEd");function u(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return c(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n1&&(n=n.substr(1,n.length-1),e=i.a.parse(n)),e},getParsedHash:function(t){var e={},n=t.hash;return n&&0===n.indexOf("#")&&n.length>1&&(n=n.substr(1,n.length-1),e=i.a.parse(n)),e},replaceHashParam:function(t,e){var n=this.getParsedHash(window.location);n[t]=e,window.location.replace("#".concat(i.a.stringify(n)))},concatURLPath:function(){for(var t=Array(arguments.length),e=0;e1&&void 0!==arguments[1]?arguments[1]:l,n=new URL(t);return e.includes(n.protocol)}},h=function(t,e){var n=new a.a(f.qualifyUrl(t));if(f.areCredentialsInURLSupported()){var r=void 0!==e?e:"";n=n.username(r).password("session")}return n.toString()},d=(f.parser,f.appPrefixed),p=(f.getParsedHash,f.getParsedSearch,f.qualifyUrl),g=(f.replaceHashParam,f.concatURLPath),v=f.areCredentialsInURLSupported,y=f.isValidURL,m=f.hasAcceptedProtocol},"HlG8UEh+":function(t,exports,e){"use strict";t.exports={mode:{valType:"enumerated",dflt:"afterall",role:"info",values:["immediate","next","afterall"],description:["Describes how a new animate call interacts with currently-running","animations. If `immediate`, current animations are interrupted and","the new animation is started. If `next`, the current frame is allowed","to complete, after which the new animation is started. If `afterall`","all existing frames are animated to completion before the new animation","is started."].join(" ")},direction:{valType:"enumerated",role:"info",values:["forward","reverse"],dflt:"forward",description:["The direction in which to play the frames triggered by the animation call"].join(" ")},fromcurrent:{valType:"boolean",dflt:!1,role:"info",description:["Play frames starting at the current frame instead of the beginning."].join(" ")},frame:{duration:{valType:"number",role:"info",min:0,dflt:500,description:["The duration in milliseconds of each frame. If greater than the frame","duration, it will be limited to the frame duration."].join(" ")},redraw:{valType:"boolean",role:"info",dflt:!0,description:["Redraw the plot at completion of the transition. This is desirable","for transitions that include properties that cannot be transitioned,","but may significantly slow down updates that do not require a full","redraw of the plot"].join(" ")}},transition:{duration:{valType:"number",role:"info",min:0,dflt:500,editType:"none",description:["The duration of the transition, in milliseconds. If equal to zero,","updates are synchronous."].join(" ")},easing:{valType:"enumerated",dflt:"cubic-in-out",values:["linear","quad","cubic","sin","exp","circle","elastic","back","bounce","linear-in","quad-in","cubic-in","sin-in","exp-in","circle-in","elastic-in","back-in","bounce-in","linear-out","quad-out","cubic-out","sin-out","exp-out","circle-out","elastic-out","back-out","bounce-out","linear-in-out","quad-in-out","cubic-in-out","sin-in-out","exp-in-out","circle-in-out","elastic-in-out","back-in-out","bounce-in-out"],role:"info",editType:"none",description:"The easing function used for the transition"},ordering:{valType:"enumerated",values:["layout first","traces first"],dflt:"layout first",role:"info",editType:"none",description:["Determines whether the figure's layout or traces smoothly transitions","during updates that make both traces and layout change."].join(" ")}}}},HoF8EwuB:function(t,exports,e){"use strict";t.exports={YANGLE:60,HOVERARROWSIZE:6,HOVERTEXTPAD:3,HOVERFONTSIZE:13,HOVERFONT:"Arial, sans-serif",HOVERMINTIME:50,HOVERID:"-hover"}},"I4+ngRkl":function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r),o=n("IU8ofT4O"),a=n("L+5XEiOD"),s=n("HbbeyvOy"),u=n("8GJ6oOEd"),c=n("JBQWIv26").a.getActions("Alerts"),l=i.a.createStore({listenables:[c],list:function(t,e){var n=this,r=s.f(o.a.AlertsApiController.list(t.id,e).url),i=Object(a.b)("GET",r);i.then((function(t){return n.trigger({alerts:t})}),(function(e){u.a.error('Fetching alerts for stream "'.concat(t.title,'" failed with status: ').concat(e.message),'Could not retrieve alerts for stream "'.concat(t.title,'".'))})),c.list.promise(i)},listPaginated:function(t,e,n){var r=this,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"any",l=s.f(o.a.AlertsApiController.listPaginated(t,e,n,i).url),f=Object(a.b)("GET",l);f.then((function(t){return r.trigger({alerts:t})}),(function(t){u.a.error("Fetching alerts failed with status: ".concat(t.message),"Could not retrieve alerts.")})),c.listPaginated.promise(f)},listAllPaginated:function(t,e,n){var r=this,i=s.f(o.a.AlertsApiController.listAllPaginated(t,e,n).url),l=Object(a.b)("GET",i);l.then((function(t){return r.trigger({alerts:t})}),(function(t){u.a.error("Fetching alerts failed with status: ".concat(t.message),"Could not retrieve alerts.")})),c.listAllPaginated.promise(l)},listAllStreams:function(t){var e=this,n=s.f(o.a.AlertsApiController.listAllStreams(t).url),r=Object(a.b)("GET",n);r.then((function(t){return e.trigger({alerts:t})}),(function(t){u.a.error("Fetching alerts failed with status: ".concat(t.message),"Could not retrieve alerts.")})),c.listAllStreams.promise(r)},get:function(t){var e=this,n=s.f(o.a.AlertsApiController.get(t).url),r=Object(a.b)("GET",n);r.then((function(t){return e.trigger({alert:t}),t}),(function(e){u.a.error("Fetching alert '".concat(t,"' failed with status: ").concat(e.message),"Could not retrieve alert.")})),c.get.promise(r)}});e.default=l},I7axAJ76:function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r).a.createActions({list:{asyncResult:!0},listPaginated:{asyncResult:!0},get:{asyncResult:!0},update:{asyncResult:!0},create:{asyncResult:!0},delete:{asyncResult:!0},setDefault:{asyncResult:!0},stats:{asyncResult:!0}});e.default=i},IHtODZL6:function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r),o=n("8GJ6oOEd"),a=n("HbbeyvOy"),s=n("L+5XEiOD"),u=n("JBQWIv26").a.getActions("IndicesConfiguration"),c=i.a.createStore({listenables:[u],rotationStrategies:void 0,retentionStrategies:void 0,getInitialState:function(){return{activeRotationConfig:void 0,rotationStrategies:void 0,activeRetentionConfig:void 0,retentionStrategies:void 0}},getState:function(){return{activeRotationConfig:this.activeRotationConfig,rotationStrategies:this.rotationStrategies,activeRetentionConfig:this.activeRetentionConfig,retentionStrategies:this.retentionStrategies}},_url:function(t){return a.f("/system/indices"+t)},loadRotationStrategies:function(){var t=this,e=Object(s.b)("GET",this._url("/rotation/strategies"));e.then((function(e){t.rotationStrategies=e.strategies,t.trigger(t.getState())}),(function(t){o.a.error("Fetching rotation strategies failed: ".concat(t),"Could not retrieve rotation strategies")})),u.loadRotationStrategies.promise(e)},loadRetentionStrategies:function(){var t=this,e=Object(s.b)("GET",this._url("/retention/strategies"));e.then((function(e){t.retentionStrategies=e.strategies,t.trigger(t.getState())}),(function(t){o.a.error("Fetching retention strategies failed: ".concat(t),"Could not retrieve retention strategies")})),u.loadRetentionStrategies.promise(e)}});e.default=c},IU8ofT4O:function(t,e,n){"use strict";var r=n("pjsNBHWI"),i=n.n(r),o={AlarmCallbacksApiController:{available:function(){return{url:"/alerts/callbacks/types"}},create:function(t){return{url:"/streams/".concat(t,"/alarmcallbacks")}},delete:function(t,e){return{url:"/streams/".concat(t,"/alarmcallbacks/").concat(e)}},listAll:function(){return{url:"/alerts/callbacks"}},list:function(t){return{url:"/streams/".concat(t,"/alarmcallbacks")}},testAlert:function(t){return{url:"/alerts/callbacks/".concat(t,"/test")}},update:function(t,e){return{url:"/streams/".concat(t,"/alarmcallbacks/").concat(e)}}},AlarmCallbackHistoryApiController:{list:function(t,e){return{url:"/streams/".concat(t,"/alerts/").concat(e,"/history")}}},AlertsApiController:{get:function(t){return{url:"/streams/alerts/".concat(t)}},list:function(t,e){return{url:"/streams/".concat(t,"/alerts?since=").concat(e)}},listPaginated:function(t,e,n,r){return{url:"/streams/".concat(t,"/alerts/paginated?skip=").concat(e,"&limit=").concat(n,"&state=").concat(r)}},listAllPaginated:function(t,e,n){return{url:"/streams/alerts/paginated?skip=".concat(t,"&limit=").concat(e,"&state=").concat(n)}},listAllStreams:function(t){return{url:"/streams/alerts?since=".concat(t)}}},AlertConditionsApiController:{available:function(){return{url:"/alerts/conditions/types"}},list:function(){return{url:"/alerts/conditions"}}},AuthenticationController:{create:function(){return{url:"/system/authentication/services/backends"}},delete:function(t){return{url:"/system/authentication/services/backends/".concat(t)}},disableUser:function(t){return{url:"/system/authentication/users/".concat(t,"/disable")}},enableUser:function(t){return{url:"/system/authentication/users/".concat(t,"/enable")}},load:function(t){return{url:"/system/authentication/services/backends/".concat(t)}},loadActive:function(){return{url:"/system/authentication/services/active-backend"}},loadUsersPaginated:function(t){return{url:"/system/authentication/services/backends/".concat(t,"/users")}},loadActiveBackendType:function(){return{url:"/system/authentication/services/backends/active-backend/type"}},servicesPaginated:function(){return{url:"/system/authentication/services/backends"}},testConnection:function(){return{url:"/system/authentication/services/test/backend/connection"}},testLogin:function(){return{url:"/system/authentication/services/test/backend/login"}},update:function(t){return{url:"/system/authentication/services/backends/".concat(t)}},updateConfiguration:function(){return{url:"/system/authentication/services/configuration"}}},AuthzRolesController:{load:function(t){return{url:"/authz/roles/".concat(t)}},delete:function(t){return{url:"/authz/roles/".concat(t)}},list:function(){return{url:"/authz/roles"}},removeMember:function(t,e){return{url:"/authz/roles/".concat(t,"/assignee/").concat(e)}},addMembers:function(t){return{url:"/authz/roles/".concat(t,"/assignees")}},loadRolesForUser:function(t){return{url:"/authz/roles/user/".concat(t)}},loadUsersForRole:function(t){return{url:"/authz/roles/".concat(t,"/assignees")}}},CatalogsController:{showEntityIndex:function(){return{url:"/system/catalog"}},queryEntities:function(){return{url:"/system/catalog"}}},CodecTypesController:{list:function(){return{url:"/system/codecs/types/all"}}},ContentPacksController:{list:function(){return{url:"/system/content_packs/latest"}},get:function(t){return{url:"/system/content_packs/".concat(t)}},getRev:function(t,e){return{url:"/system/content_packs/".concat(t,"/").concat(e)}},downloadRev:function(t,e){return{url:"/system/content_packs/".concat(t,"/").concat(e,"/download")}},create:function(){return{url:"/system/content_packs"}},delete:function(t){return{url:"/system/content_packs/".concat(t)}},deleteRev:function(t,e){return{url:"/system/content_packs/".concat(t,"/").concat(e)}},install:function(t,e){return{url:"/system/content_packs/".concat(t,"/").concat(e,"/installations")}},installList:function(t){return{url:"/system/content_packs/".concat(t,"/installations")}},uninstall:function(t,e){return{url:"/system/content_packs/".concat(t,"/installations/").concat(e)}},uninstallDetails:function(t,e){return{url:"/system/content_packs/".concat(t,"/installations/").concat(e,"/uninstall_details")}}},CountsApiController:{total:function(){return{url:"/count/total"}},indexSetTotal:function(t){return{url:"/count/".concat(t,"/total")}}},ClusterApiResource:{list:function(){return{url:"/system/cluster/nodes"}},node:function(){return{url:"/system/cluster/node"}},elasticsearchStats:function(){return{url:"/system/cluster/stats/elasticsearch"}}},ClusterConfigResource:{config:function(){return{url:"/system/cluster_config"}}},GrokPatternsController:{test:function(){return{url:"/system/grok/test"}},paginated:function(){return{url:"/system/grok/paginated"}}},DashboardsApiController:{create:function(){return{url:"/dashboards"}},index:function(){return{url:"/dashboards"}},get:function(t){return{url:"/dashboards/".concat(t)}},delete:function(t){return{url:"/dashboards/".concat(t)}},update:function(t){return{url:"/dashboards/".concat(t)}},addWidget:function(t){return{url:"/dashboards/".concat(t,"/widgets")}},removeWidget:function(t,e){return{url:"/dashboards/".concat(t,"/widgets/").concat(e)}},widget:function(t,e){return{url:"/dashboards/".concat(t,"/widgets/").concat(e)}},updateWidget:function(t,e){return{url:"/dashboards/".concat(t,"/widgets/").concat(e)}},widgetValue:function(t,e){return{url:"/dashboards/".concat(t,"/widgets/").concat(e,"/value")}},updatePositions:function(t){return{url:"/dashboards/".concat(t,"/positions")}}},DecoratorsResource:{available:function(){return{url:"/search/decorators/available"}},create:function(){return{url:"/search/decorators"}},get:function(){return{url:"/search/decorators"}},remove:function(t){return{url:"/search/decorators/".concat(t)}},update:function(t){return{url:"/search/decorators/".concat(t)}}},DeflectorApiController:{cycle:function(t){return{url:"/cluster/deflector/".concat(t,"/cycle")}},list:function(t){return{url:"/system/deflector/".concat(t)}}},EntityShareController:{prepare:function(t){return{url:"/authz/shares/entities/".concat(t,"/prepare")}},update:function(t){return{url:"/authz/shares/entities/".concat(t)}},userSharesPaginated:function(t){return{url:"/authz/shares/user/".concat(t)}}},HTTPHeaderAuthConfigController:{load:function(){return{url:"/system/authentication/http-header-auth-config"}},update:function(){return{url:"/system/authentication/http-header-auth-config"}}},IndexerClusterApiController:{health:function(){return{url:"/system/indexer/cluster/health"}},name:function(){return{url:"/system/indexer/cluster/name"}}},IndexerFailuresApiController:{count:function(t){return{url:"/system/indexer/failures/count?since=".concat(t)}},list:function(t,e){return{url:"/system/indexer/failures?limit=".concat(t,"&offset=").concat(e)}}},IndexerOverviewApiResource:{list:function(t){return{url:"/system/indexer/overview/".concat(t)}}},IndexRangesApiController:{list:function(){return{url:"/system/indices/ranges"}},rebuild:function(t){return{url:"/system/indices/ranges/index_set/".concat(t,"/rebuild")}},rebuildSingle:function(t){return{url:"/system/indices/ranges/".concat(t,"/rebuild")}}},IndexSetsApiController:{list:function(t){return{url:"/system/indices/index_sets?stats=".concat(t)}},listPaginated:function(t,e,n){return{url:"/system/indices/index_sets?skip=".concat(t,"&limit=").concat(e,"&stats=").concat(n)}},get:function(t){return{url:"/system/indices/index_sets/".concat(t)}},create:function(){return{url:"/system/indices/index_sets"}},delete:function(t,e){return{url:"/system/indices/index_sets/".concat(t,"?delete_indices=").concat(e)}},setDefault:function(t){return{url:"/system/indices/index_sets/".concat(t,"/default")}},stats:function(){return{url:"/system/indices/index_sets/stats"}}},IndicesApiController:{close:function(t){return{url:"/system/indexer/indices/".concat(t,"/close")}},delete:function(t){return{url:"/system/indexer/indices/".concat(t)}},list:function(t){return{url:"/system/indexer/indices/".concat(t,"/list")}},listAll:function(){return{url:"/system/indexer/indices"}},listClosed:function(t){return{url:"/system/indexer/indices/".concat(t,"/closed")}},multiple:function(){return{url:"/system/indexer/indices/multiple"}},reopen:function(t){return{url:"/system/indexer/indices/".concat(t,"/reopen")}}},InputsApiController:{list:function(){return{url:"/system/inputs"}},get:function(t){return{url:"/system/inputs/".concat(t)}},globalRecentMessage:function(t){return{url:"/".concat(t)}}},InputStatesController:{start:function(t){return{url:"/system/inputstates/".concat(t)}},stop:function(t){return{url:"/system/inputstates/".concat(t)}}},ClusterInputStatesController:{list:function(){return{url:"/cluster/inputstates"}},start:function(t){return{url:"/cluster/inputstates/".concat(t)}},stop:function(t){return{url:"/cluster/inputstates/".concat(t)}}},ClusterLoggersResource:{loggers:function(){return{url:"/cluster/system/loggers"}},subsystems:function(){return{url:"/cluster/system/loggers/subsystems"}},setSubsystemLoggerLevel:function(t,e,n){return{url:"/cluster/system/loggers/".concat(t,"/subsystems/").concat(e,"/level/").concat(n)}}},MessageFieldsApiController:{list:function(){return{url:"/system/fields"}}},MetricsApiController:{multiple:function(){return{url:"/system/metrics/multiple"}},byNamespace:function(t){return{url:"/system/metrics/namespace/".concat(t)}}},ClusterMetricsApiController:{multiple:function(t){return{url:"/cluster/".concat(t,"/metrics/multiple")}},multipleAllNodes:function(){return{url:"/cluster/metrics/multiple"}},byNamespace:function(t,e){return{url:"/cluster/".concat(t,"/metrics/namespace/").concat(e)}}},NotificationsApiController:{delete:function(t){return{url:"/system/notifications/".concat(t)}},list:function(){return{url:"/system/notifications"}}},OutputsApiController:{index:function(){return{url:"/system/outputs"}},create:function(){return{url:"/system/outputs"}},delete:function(t){return{url:"/system/outputs/".concat(t)}},update:function(t){return{url:"/system/outputs/".concat(t)}},availableType:function(t){return{url:"/system/outputs/available/".concat(t)}},availableTypes:function(){return{url:"/system/outputs/available"}}},RolesApiController:{listRoles:function(){return{url:"/roles"}},createRole:function(){return{url:"/roles"}},updateRole:function(t){return{url:"/roles/".concat(t)}},deleteRole:function(t){return{url:"/roles/".concat(t)}},loadMembers:function(t){return{url:"/roles/".concat(t,"/members")}}},SavedSearchesApiController:{create:function(){return{url:"/search/saved"}},delete:function(t){return{url:"/search/saved/".concat(t)}},update:function(t){return{url:"/search/saved/".concat(t)}}},SessionsApiController:{validate:function(){return{url:"/system/sessions"}}},StreamAlertsApiController:{create:function(t){return{url:"/streams/".concat(t,"/alerts/conditions")}},delete:function(t,e){return{url:"/streams/".concat(t,"/alerts/conditions/").concat(e)}},get:function(t,e){return{url:"/streams/".concat(t,"/alerts/conditions/").concat(e)}},list:function(t){return{url:"/streams/".concat(t,"/alerts/conditions")}},update:function(t,e){return{url:"/streams/".concat(t,"/alerts/conditions/").concat(e)}},sendDummyAlert:function(t){return{url:"/streams/".concat(t,"/alerts/sendDummyAlert")}},test:function(t,e){return{url:"/streams/".concat(t,"/alerts/conditions/").concat(e,"/test")}}},StreamsApiController:{index:function(){return{url:"/streams"}},paginated:function(){return{url:"/streams/paginated"}},get:function(t){return{url:"/streams/".concat(t)}},create:function(){return{url:"/streams"}},update:function(t){return{url:"/streams/".concat(t)}},cloneStream:function(t){return{url:"/streams/".concat(t,"/clone")}},delete:function(t){return{url:"/streams/".concat(t)}},pause:function(t){return{url:"/streams/".concat(t,"/pause")}},resume:function(t){return{url:"/streams/".concat(t,"/resume")}},testMatch:function(t){return{url:"/streams/".concat(t,"/testMatch")}}},StreamOutputsApiController:{add:function(t){return{url:"/streams/".concat(t,"/outputs")}},index:function(t){return{url:"/streams/".concat(t,"/outputs")}},delete:function(t,e){return{url:"/streams/".concat(t,"/outputs/").concat(e)}}},StreamRulesApiController:{delete:function(t,e){return{url:"/streams/".concat(t,"/rules/").concat(e)}},update:function(t,e){return{url:"/streams/".concat(t,"/rules/").concat(e)}},create:function(t){return{url:"/streams/".concat(t,"/rules")}}},SystemApiController:{info:function(){return{url:"/system"}},jvm:function(){return{url:"/system/jvm"}},fields:function(){return{url:"/system/fields"}},locales:function(){return{url:"/system/locales"}}},SystemJobsApiController:{list:function(){return{url:"/cluster/jobs"}},getJob:function(t){return{url:"/cluster/jobs/".concat(t)}},cancelJob:function(t){return{url:"/cluster/jobs/".concat(t)}}},SystemMessagesApiController:{all:function(t){return{url:"/system/messages?page=".concat(t)}}},ToolsApiController:{grokTest:function(){return{url:"/tools/grok_tester"}},jsonTest:function(){return{url:"/tools/json_tester"}},naturalDateTest:function(t,e){return{url:"/tools/natural_date_tester?string=".concat(t,"&timezone=").concat(e)}},regexTest:function(){return{url:"/tools/regex_tester"}},regexValidate:function(t){return{url:"/tools/regex_tester/validate?regex=".concat(t)}},regexReplaceTest:function(){return{url:"/tools/regex_replace_tester"}},splitAndIndexTest:function(){return{url:"/tools/split_and_index_tester"}},substringTest:function(){return{url:"/tools/substring_tester"}},containsStringTest:function(){return{url:"/tools/contains_string_tester"}},lookupTableTest:function(){return{url:"/tools/lookup_table_tester"}},urlWhitelistCheck:function(){return{url:"/system/urlwhitelist/check"}},urlWhitelistGenerateRegex:function(){return{url:"/system/urlwhitelist/generate_regex"}}},UniversalSearchApiController:{_streamFilter:function(t){return t?{filter:"streams:".concat(t)}:{}},_buildBaseQueryString:function(t,e,n){var r={},i=this._streamFilter(n);return r.query=t,Object.keys(e).forEach((function(t){r[t]=e[t]})),Object.keys(i).forEach((function(t){r[t]=i[t]})),r},_buildUrl:function(t,e){return"".concat(t,"?").concat(i.a.stringify(e))},search:function(t,e,n,r,i,o,a,s,u){var c="/search/universal/".concat(t),l=this._buildBaseQueryString(e,n,r);return i&&(l.limit=i),o&&(l.offset=o),a&&s&&(l.sort="".concat(a,":").concat(s)),void 0!==u&&(l.decorate=u),{url:this._buildUrl(c,l)}},export:function(t,e,n,r,i,o,a){var s="/search/universal/".concat(t,"/export"),u=this._buildBaseQueryString(e,n,r);return i&&(u.limit=i),o&&(u.offset=o),a&&(u.fields=a.join(",")),{url:this._buildUrl(s,u)}}},UsersApiController:{changePassword:function(t){return{url:"/users/".concat(t,"/password")}},create:function(){return{url:"/users"}},list:function(){return{url:"/users"}},paginated:function(){return{url:"/users/paginated"}},load:function(t){return{url:"/users/id/".concat(t)}},loadByUsername:function(t){return{url:"/users/".concat(t)}},delete:function(t){return{url:"/users/id/".concat(t)}},update:function(t){return{url:"/users/".concat(t)}},create_token:function(t,e){return{url:"/users/".concat(t,"/tokens/").concat(e)}},delete_token:function(t,e){return{url:"/users/".concat(t,"/tokens/").concat(e)}},list_tokens:function(t){return{url:"/users/".concat(t,"/tokens")}},setStatus:function(t,e){return{url:"/users/".concat(t,"/status/").concat(e)}}},DashboardsController:{show:function(t){return{url:"/dashboards/".concat(t)}}},ExtractorsController:{create:function(t){return{url:"/system/inputs/".concat(t,"/extractors")}},delete:function(t,e){return{url:"/system/inputs/".concat(t,"/extractors/").concat(e)}},order:function(t){return{url:"/system/inputs/".concat(t,"/extractors/order")}},update:function(t,e){return{url:"/system/inputs/".concat(t,"/extractors/").concat(e)}}},MessagesController:{analyze:function(t,e){return{url:"/messages/".concat(t,"/analyze?string=").concat(e)}},parse:function(){return{url:"/messages/parse"}},single:function(t,e){return{url:"/messages/".concat(t,"/").concat(e)}},exportSearch:function(t){return{url:"/views/search/messages/".concat(t)}},exportSearchType:function(t,e){return{url:"/views/search/messages/".concat(t,"/").concat(e)}},jobResults:function(t,e){return{url:"/views/search/messages/job/".concat(t,"/").concat(e)}}},ExportJobsController:{exportSearch:function(t){return{url:"/views/export/".concat(t)}},exportSearchType:function(t,e){return{url:"/views/export/".concat(t,"/").concat(e)}}},MapDataController:{search:function(){return{url:"/search/mapdata"}}},PipelinesController:{list:function(){return{url:"/system/pipelines/pipeline"}},paginatedList:function(){return{url:"/system/pipelines/pipeline/paginated"}},create:function(){return{url:"/system/pipelines/pipeline"}},get:function(t){return{url:"/system/pipelines/pipeline/".concat(t)}},update:function(t){return{url:"/system/pipelines/pipeline/".concat(t)}},delete:function(t){return{url:"/system/pipelines/pipeline/".concat(t)}},parse:function(){return{url:"/system/pipelines/pipeline/parse"}}},RulesController:{list:function(){return{url:"/system/pipelines/rule"}},create:function(){return{url:"/system/pipelines/rule"}},get:function(t){return{url:"/system/pipelines/rule/".concat(t)}},update:function(t){return{url:"/system/pipelines/rule/".concat(t)}},delete:function(t){return{url:"/system/pipelines/rule/".concat(t)}},multiple:function(){return{url:"/system/pipelines/rule/multiple"}},functions:function(){return{url:"/system/pipelines/rule/functions"}},parse:function(){return{url:"/system/pipelines/rule/parse"}},metricsConfig:function(){return{url:"/system/pipelines/rule/config/metrics"}}},ConnectionsController:{list:function(){return{url:"/system/pipelines/connections"}},to_stream:function(){return{url:"/system/pipelines/connections/to_stream"}},to_pipeline:function(){return{url:"/system/pipelines/connections/to_pipeline"}}},SimulatorController:{simulate:function(){return{url:"/system/pipelines/simulate"}}},ping:function(){return{url:"/"}}};e.a=o},"IXv/bX4c":function(t,exports,e){"use strict";t.exports=function(t){for(var e={},n=[],r=0,i=0;i-1;s--){var u=o[s];if("Version/"===u.substr(0,8)){var c=u.substr(8).split(".")[0];if(n(c)&&(c=+c),c>=13)return!0}}}return i}},Jg5wVMAu:function(t,exports,e){(function(e){var n=Math.floor(16777215*Math.random()),r=o.index=parseInt(16777215*Math.random(),10),i=(void 0===e||"number"!=typeof e.pid?Math.floor(1e5*Math.random()):e.pid)%65535;function o(t){if(!(this instanceof o))return new o(t);if(t&&(t instanceof o||"ObjectID"===t._bsontype))return t;var e,n;if(null!=(n=t)&&n.constructor&&"function"==typeof n.constructor.isBuffer&&n.constructor.isBuffer(n)||Array.isArray(t)&&12===t.length)e=Array.prototype.slice.call(t);else if("string"==typeof t){if(12!==t.length&&!o.isValid(t))throw new Error("Argument passed in must be a single String of 12 bytes or a string of 24 hex characters");e=u(t)}else/number|undefined/.test(typeof t)&&(e=u(a(t)));Object.defineProperty(this,"id",{enumerable:!0,get:function(){return String.fromCharCode.apply(this,e)}}),Object.defineProperty(this,"str",{get:function(){return e.map(s.bind(this,2)).join("")}})}function a(t){return"number"!=typeof t&&(t=Date.now()/1e3),s(8,t=parseInt(t,10)%4294967295)+s(6,n)+s(4,i)+s(6,r=(r+1)%16777215)}function s(t,e){return(e=e.toString(16)).length===t?e:"00000000".substring(e.length,t)+e}function u(t){var e=0,n=[];if(24===t.length)for(;e<24;n.push(parseInt(t[e]+t[e+1],16)),e+=2);else if(12===t.length)for(;e<12;n.push(t.charCodeAt(e)),e++);return n}t.exports=o,o.generate=a,o.default=o,o.createFromTime=function(t){return new o(s(8,t=parseInt(t,10)%4294967295)+"0000000000000000")},o.createFromHexString=function(t){if(!o.isValid(t))throw new Error("Invalid ObjectID hex string");return new o(t)},o.isValid=function(t){return!(!t||"string"!=typeof t&&("object"!=typeof t||Array.isArray(t)||"function"!=typeof t.toString))&&/^[0-9A-F]{24}$/i.test(t.toString())},o.setMachineID=function(t){var e;if("string"==typeof t){if(e=parseInt(t,16),isNaN(e)){t=("000000"+t).substr(-7,6),e="";for(var r=0;r<6;r++)e+=t.charCodeAt(r)}}else/number|undefined/.test(typeof t)&&(e=0|t);n=16777215&e},o.getMachineID=function(){return n},o.prototype={_bsontype:"ObjectID",constructor:o,toHexString:function(){return this.str},equals:function(t){return!!t&&this.str===t.toString()},getTimestamp:function(){return new Date(1e3*parseInt(this.str.substr(0,8),16))}};var c=Symbol&&Symbol.for("nodejs.util.inspect.custom")||"inspect";o.prototype[c]=function(){return"ObjectID("+this+")"},o.prototype.toJSON=o.prototype.toHexString,o.prototype.toString=o.prototype.toHexString}).call(this,e("JtWfgI3/"))},"JtWfgI3/":function(t,exports,e){t.exports=e("jaIgFIJB")(104)},"K/u0IGVS":function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r).a.createActions({list:{asyncResult:!0},get:{asyncResult:!0},getOptional:{asyncResult:!0},create:{asyncResult:!0},delete:{asyncResult:!0},update:{asyncResult:!0}});e.default=i},K8s00lb3:function(t,exports,e){"use strict";var n=e("0Ft3SWJB"),r=e("A5P9b9BX"),i=e("L/KVaTuj"),o=e("NfKInJuD");t.exports=function(t,e){function a(r,o){return n.coerce(t,e,i,r,o)}a("colorscale.sequential"),a("colorscale.sequentialminus"),a("colorscale.diverging");var s,u,c=e._colorAxes;function l(t,e){return n.coerce(s,u,i.coloraxis,t,e)}for(var f in c){var h=c[f];if(h[0])s=t[f]||{},(u=r.newContainer(e,f,"coloraxis"))._name=f,o(s,u,e,l,{prefix:"",cLetter:"c"});else{for(var d=0;d=n&&t<=r?t:c}if("string"!=typeof t&&"number"!=typeof t)return c;t=String(t);var u=_(e),v=t.charAt(0);!u||"G"!==v&&"g"!==v||(t=t.substr(1),e="");var w=u&&"chinese"===e.substr(0,7),x=t.match(w?m:y);if(!x)return c;var S=x[1],O=x[3]||"1",T=Number(x[5]||1),k=Number(x[7]||0),A=Number(x[9]||0),C=Number(x[11]||0);if(u){if(2===S.length)return c;var E;S=Number(S);try{var j=g.getComponentMethod("calendars","getCal")(e);if(w){var R="i"===O.charAt(O.length-1);O=parseInt(O,10),E=j.newDate(S,j.toMonthIndex(S,O,R),T)}else E=j.newDate(S,Number(O),T)}catch(t){return c}return E?(E.toJD()-p)*l+k*f+A*h+C*d:c}S=2===S.length?(Number(S)+2e3-b)%100+b:Number(S),O-=1;var I=new Date(Date.UTC(2e3,O,T,k,A));return I.setUTCFullYear(S),I.getUTCMonth()!==O||I.getUTCDate()!==T?c:I.getTime()+C*d},n=exports.MIN_MS=exports.dateTime2ms("-9999"),r=exports.MAX_MS=exports.dateTime2ms("9999-12-31 23:59:59.9999"),exports.isDateTime=function(t,e){return exports.dateTime2ms(t,e)!==c};var x=90*l,S=3*f,O=5*h;function T(t,e,n,r,i){if((e||n||r||i)&&(t+=" "+w(e,2)+":"+w(n,2),(r||i)&&(t+=":"+w(r,2),i))){for(var o=4;i%10==0;)o-=1,i/=10;t+="."+w(i,o)}return t}exports.ms2DateTime=function(t,e,i){if("number"!=typeof t||!(t>=n&&t<=r))return c;e||(e=0);var o,a,u,y,m,b,w=Math.floor(10*s(t+.05,1)),k=Math.round(t-w/10);if(_(i)){var A=Math.floor(k/l)+p,C=Math.floor(s(t,l));try{o=g.getComponentMethod("calendars","getCal")(i).fromJD(A).formatDate("yyyy-mm-dd")}catch(t){o=v("G%Y-%m-%d")(new Date(k))}if("-"===o.charAt(0))for(;o.length<11;)o="-0"+o.substr(1);else for(;o.length<10;)o="0"+o;a=e=n+l&&t<=r-l))return c;var e=Math.floor(10*s(t+.05,1)),o=new Date(Math.round(t-e/10));return T(i("%Y-%m-%d")(o),o.getHours(),o.getMinutes(),o.getSeconds(),10*o.getUTCMilliseconds()+e)},exports.cleanDate=function(t,e,n){if(t===c)return e;if(exports.isJSDate(t)||"number"==typeof t&&isFinite(t)){if(_(n))return a.error("JS Dates and milliseconds are incompatible with world calendars",t),e;if(!(t=exports.ms2DateTimeLocal(+t))&&void 0!==e)return e}else if(!exports.isDateTime(t,n))return a.error("unrecognized date",t),e;return t};var k=/%\d?f/g;function A(t,e,n,r){t=t.replace(k,(function(t){var n=Math.min(+t.charAt(1)||6,6);return(e/1e3%1+2).toFixed(n).substr(2).replace(/0+$/,"")||"0"}));var i=new Date(Math.floor(e+.05));if(_(r))try{t=g.getComponentMethod("calendars","worldCalFmt")(t,e,r)}catch(t){return"Invalid"}return n(t)(i)}var C=[59,59.9,59.99,59.999,59.9999];exports.formatDate=function(t,e,n,r,i,a){if(i=_(i)&&i,!e)if("y"===n)e=a.year;else if("m"===n)e=a.month;else{if("d"!==n)return function(t,e){var n=s(t+.05,l),r=w(Math.floor(n/f),2)+":"+w(s(Math.floor(n/h),60),2);if("M"!==e){o(e)||(e=0);var i=(100+Math.min(s(t/d,60),C[e])).toFixed(e).substr(1);e>0&&(i=i.replace(/0+$/,"").replace(/[\.]$/,"")),r+=":"+i}return r}(t,n)+"\n"+A(a.dayMonthYear,t,r,i);e=a.dayMonth+"\n"+a.year}return A(e,t,r,i)};var E=3*l;exports.incrementMonth=function(t,e,n){n=_(n)&&n;var r=s(t,l);if(t=Math.round(t-r),n)try{var i=Math.round(t/l)+p,o=g.getComponentMethod("calendars","getCal")(n),u=o.fromJD(i);return e%12?o.add(u,e,"m"):o.add(u,e/12,"y"),(u.toJD()-p)*l+r}catch(e){a.error("invalid ms "+t+" in calendar "+n)}var c=new Date(t+E);return c.setUTCMonth(c.getUTCMonth()+e)+r-E},exports.findExactDates=function(t,e){for(var n,r,i=0,a=0,s=0,u=0,c=_(e)&&g.getComponentMethod("calendars","getCal")(e),f=0;ft.length)&&(e=t.length);for(var n=0,r=new Array(e);n1&&void 0!==h[1]?h[1]:y,u=null===(n=e.headers)||void 0===n?void 0:n.get("Content-Type"),t.next=4,null!=u&&u.startsWith("application/json")?e.json().then((function(t){return t})):null==e||null===(i=e.text)||void 0===i?void 0:i.call(e);case 4:throw c=t.sent,l=o.a.getStore("Session"),f=new r.a(e.statusText,e.status,m(c)),l.isLoggedIn()&&401===e.status&&a.a.getActions("Session").logout(l.getSessionId()),l.isLoggedIn()&&403===e.status&&s(f),e&&!e.status&&a.a.getActions("ServerAvailability").reportError(f),f;case 11:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){g(o,r,i,a,s,"next",t)}function s(t){g(o,r,i,a,s,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}(),_=function(t){return t&&"string"!=typeof t?JSON.stringify(t):t},w=function(t){if(t.ok){var e=t.status,n=Number.parseInt(t.headers.get("Content-Length"),10),r=204===e||0===n;return v(),r?null:t.json()}throw t},x=function(){function e(t,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),p(this,"options",{}),p(this,"url",void 0),p(this,"method",void 0),p(this,"body",void 0),p(this,"accept",void 0),p(this,"responseHandler",void 0),p(this,"errorHandler",void 0),this.method=t,this.url=n.replace(/([^:])\/\//,"$1/"),this.options={"X-Requested-With":"XMLHttpRequest","X-Requested-By":"XMLHttpRequest"},this.responseHandler=function(t){return t},this.errorHandler=void 0}var n,r,i;return n=e,(r=[{key:"authenticated",value:function(){var t=o.a.getStore("Session").getSessionId();return this.session(t)}},{key:"session",value:function(e){var n=t.from("".concat(e,":session"));return this.options=h(h({},this.options),{},{Authorization:"Basic ".concat(n.toString("base64"))}),this}},{key:"setHeader",value:function(t,e){return this.options=h(h({},this.options),{},p({},t,e)),this}},{key:"json",value:function(t){return this.body={body:_(t),mimeType:"application/json"},this.accept="application/json",this.responseHandler=w,this.errorHandler=function(t){return b(t)},this}},{key:"formData",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"application/json";return this.body={body:t},this.accept=e,this.responseHandler=w,this.errorHandler=function(t){return b(t)},this}},{key:"file",value:function(t,e){return this.body={body:_(t),mimeType:"application/json"},this.accept=e,this.responseHandler=function(t){if(t.ok)return v(),t.text();throw t},this.errorHandler=function(t){return b(t)},this}},{key:"plaintext",value:function(t){var e=function(){return c.a.replace(u.a.STARTPAGE)};return this.body={body:t,mimeType:"text/plain"},this.accept="application/json",this.responseHandler=w,this.errorHandler=function(t){return b(t,e)},this}},{key:"noSessionExtension",value:function(){return this.options=h(h({},this.options),{},{"X-Graylog-No-Session-Extension":"true"}),this}},{key:"build",value:function(){var t=this.body&&this.body.mimeType?h(h({},this.options),{},{"Content-Type":this.body.mimeType}):this.options;return this.accept&&(t.Accept=this.accept),l.a.of(window.fetch(this.url,{method:this.method,headers:t,body:this.body?this.body.body:void 0})).then(this.responseHandler,this.errorHandler).catch(this.errorHandler)}}])&&d(n.prototype,r),i&&d(n,i),e}();function S(t){return o.a.getStore("Session").isLoggedIn()?t:function(){return l.a.of(new Promise((function(e,n){a.a.getActions("Session").login.completed.listen((function(){t().then(e,n)}))})))}}function O(t,e,n){return S((function(){return new x(t,e).authenticated().json(n).build()}))()}function T(t,e,n){return S((function(){return new x(t,e).authenticated().plaintext(n).build()}))()}function k(t,e,n){return S((function(){return new x(t,e).authenticated().noSessionExtension().json(n).build()}))()}function A(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"text/csv",i=function(){return new x(t,e).authenticated().file(n,r).build()};return S(i)()}}).call(this,n("O+Yk9+nc").Buffer)},"L/KVaTuj":function(t,exports,e){"use strict";var n=e("xE+ZFgwY").extendFlat,r=e("kwWFMz5J"),i=e("CckoZzjI").scales,o="Note that `autocolorscale` must be true for this attribute to work.";t.exports={editType:"calc",colorscale:{editType:"calc",sequential:{valType:"colorscale",dflt:i.Reds,role:"style",editType:"calc",description:["Sets the default sequential colorscale for positive values.",o].join(" ")},sequentialminus:{valType:"colorscale",dflt:i.Blues,role:"style",editType:"calc",description:["Sets the default sequential colorscale for negative values.",o].join(" ")},diverging:{valType:"colorscale",dflt:i.RdBu,role:"style",editType:"calc",description:["Sets the default diverging colorscale.",o].join(" ")}},coloraxis:n({_isSubplotObj:!0,editType:"calc",description:[""].join(" ")},r("",{colorAttr:"corresponding trace color array(s)",noColorAxis:!0,showScaleDflt:!0}))}},"L/bPEX35":function(t,exports,e){"use strict";var n=e("0Ft3SWJB"),r=e("s48LrSF+").hasColorscale,i=e("s48LrSF+").extractOpts;t.exports=function(t,e){function o(t,e){var n=t["_"+e];void 0!==n&&(t[e]=n)}function a(t,r){var a=r.container?n.nestedProperty(t,r.container).get():t;if(a)if(a.coloraxis)a._colorAx=e[a.coloraxis];else{var s=i(a),u=s.auto;(u||void 0===s.min)&&o(a,r.min),(u||void 0===s.max)&&o(a,r.max),s.autocolorscale&&o(a,"colorscale")}}for(var s=0;s0&&void 0!==arguments[0]?arguments[0]:r.Map();u(this,t),f(this,"value",void 0),this.value=e}return l(t,[{key:"id",value:function(e){return new t(this.value.set("id",e))}},{key:"newId",value:function(){return this.id((new o.a).toString())}},{key:"queries",value:function(e){return new t(this.value.set("queries",e))}},{key:"parameters",value:function(e){return new t(this.value.set("parameters",e))}},{key:"build",value:function(){var t=this.value.toObject(),e=t.id,n=t.queries,r=t.parameters;return new h(e,n,r)}}]),t}()},L6CWRq7U:function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r),o=n("nHcjWeCO"),a=n.n(o),s=n("HbbeyvOy"),u=n("8GJ6oOEd"),c=n("L+5XEiOD"),l=n("21p8kIWv").a.get("ConfigurationVariable").ConfigurationVariableActions,f=i.a.createStore({listenables:[l],sourceUrl:"/sidecar/configuration_variables",all:function(){var t=Object(c.b)("GET",s.f(this.sourceUrl));t.catch((function(t){u.a.error("Fetching configuration variables failed with status: ".concat(t),"Could not retrieve configuration variables")})),l.all.promise(t)},save:function(t){var e,n,r={id:t.id,name:t.name,description:t.description,content:t.content},i=s.f("".concat(this.sourceUrl));""===t.id?(e="POST",n="created"):(i+="/".concat(t.id),e="PUT",n="updated");var o=Object(c.b)(e,i,r);o.then((function(){u.a.success('Configuration variable "'.concat(t.name,'" successfully ').concat(n))}),(function(e){u.a.error('Saving variable "'.concat(t.name,'" failed with status: ').concat(e.message),"Could not save variable")})),l.save.promise(o)},getConfigurations:function(t){var e=s.f("".concat(this.sourceUrl,"/").concat(t.id,"/configurations")),n=Object(c.b)("GET",e);n.catch((function(t){u.a.error("Fetching configurations for this variable failed with status: ".concat(t))})),l.getConfigurations.promise(n)},delete:function(t){var e=s.f("".concat(this.sourceUrl,"/").concat(t.id)),n=Object(c.b)("DELETE",e);n.then((function(){u.a.success('Configuration variable "'.concat(t.name,'" successfully deleted'))}),(function(e){u.a.error('Deleting variable "'.concat(t.name,'" failed with status: ').concat(e.message),"Could not delete variable")})),l.delete.promise(n)},validate:function(t){var e={id:" ",name:" ",content:" "};a.a.merge(e,t);var n=Object(c.b)("POST",s.f("".concat(this.sourceUrl,"/validate")),e);n.catch((function(e){u.a.error('Validating variable "'.concat(t.name,'" failed with status: ').concat(e.message),"Could not validate variable")})),l.validate.promise(n)}});e.default=f},LHgfPCv1:function(t,e,n){"use strict";n.d(e,"h",(function(){return a})),n.d(e,"n",(function(){return s})),n.d(e,"i",(function(){return u})),n.d(e,"m",(function(){return c})),n.d(e,"c",(function(){return l})),n.d(e,"k",(function(){return f})),n.d(e,"j",(function(){return h})),n.d(e,"d",(function(){return d})),n.d(e,"e",(function(){return p})),n.d(e,"f",(function(){return g})),n.d(e,"g",(function(){return v})),n.d(e,"b",(function(){return y})),n.d(e,"a",(function(){return m})),n.d(e,"o",(function(){return b})),n.d(e,"l",(function(){return _})),n.d(e,"y",(function(){return w})),n.d(e,"x",(function(){return x})),n.d(e,"u",(function(){return O})),n.d(e,"w",(function(){return T})),n.d(e,"q",(function(){return k})),n.d(e,"t",(function(){return A})),n.d(e,"r",(function(){return C})),n.d(e,"v",(function(){return E})),n.d(e,"s",(function(){return j})),n.d(e,"p",(function(){return R}));var r=n("m4G3HF66"),i=n.n(r),o=n("Yf3UL7lG"),a="full_message",s="timestamp",u="message",c="source",l=[s,c],f=0,h={DEFAULT_LIMIT:150},d="relative",p=300,g=p-60,v={type:d,from:p},y=o.b.create("#ffec3d"),m=i.a.scale(["lightyellow","lightgreen","lightblue","red"]).mode("lch").colors(40),b={seconds:"Seconds",minutes:"Minutes",hours:"Hours",days:"Days",weeks:"Weeks",months:"Months"},_=[{type:"seconds",label:"Seconds"},{type:"minutes",label:"Minutes"},{type:"hours",label:"Hours"},{type:"days",label:"Days"}],w="/views",x="".concat(w,"/:viewId"),S="/search",O="".concat(S,"/new"),T="".concat(S,"/:viewId"),k="/dashboards",A="".concat(k,"/new"),C="".concat(k,"/tv/:viewId"),E="".concat(k,"/:viewId"),j="/extendedsearch",R=[{type:"relative",name:"Relative"},{type:"absolute",name:"Absolute"},{type:"keyword",name:"Keyword"}]},LLaL8Jiu:function(t,e,n){"use strict";n.r(e),n.d(e,"AuthenticationActions",(function(){return v.default})),n.d(e,"AuthenticationStore",(function(){return _}));var r=n("4KF7VOU5"),i=n.n(r),o=n("VPaD/Np4"),a=n("PHBdwNAQ");function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:o.Map();s(this,t),l(this,"value",void 0),this.value=e}return c(t,[{key:"id",value:function(e){return new t(this.value.set("id",e))}},{key:"title",value:function(e){return new t(this.value.set("title",e))}},{key:"description",value:function(e){return new t(this.value.set("description",e))}},{key:"defaultRoles",value:function(e){return new t(this.value.set("defaultRoles",e))}},{key:"config",value:function(e){return new t(this.value.set("config",e))}},{key:"build",value:function(){var t=this.value.toObject(),e=t.id,n=t.title,r=t.description,i=t.defaultRoles,o=t.config;return new f(e,n,r,i,o)}}]),t}(),d=n("HbbeyvOy"),p=n("L+5XEiOD"),g=n("mRXwKqDg"),v=n("ZjKKVWZh"),y=n("mR82218M"),m=n("IU8ofT4O"),b=n("apjOhdII"),_=Object(g.c)("Authentication",(function(){return i.a.createStore({listenables:[v.default],getInitialState:function(){return{authenticators:null}},create:function(t){var e=Object(d.f)(m.a.AuthenticationController.create().url),n=Object(p.b)("POST",e,t).then((function(t){return t?{backend:f.fromJSON(t.backend)}:null}));return v.default.create.promise(n),n},load:function(t){var e=Object(d.f)(m.a.AuthenticationController.load(encodeURIComponent(t)).url),n=Object(p.b)("GET",e).then((function(t){return t?{backend:f.fromJSON(t.backend)}:null}));return v.default.load.promise(n),n},loadActive:function(){var t=Object(d.f)(m.a.AuthenticationController.loadActive().url),e=Object(p.b)("GET",t).then((function(t){return t?{backend:t.backend?f.fromJSON(t.backend):null,context:{backendsTotal:t.context.backends_total}}:null}));return v.default.loadActive.promise(e),e},update:function(t,e){var n=Object(d.f)(m.a.AuthenticationController.update(t).url),r=Object(p.b)("PUT",n,e).then((function(t){return t?{backend:f.fromJSON(t.backend)}:null}));return v.default.update.promise(r),r},delete:function(t){var e=Object(d.f)(m.a.AuthenticationController.delete(t).url),n=Object(p.b)("DELETE",e);return v.default.delete.promise(n),n},testConnection:function(t){var e=Object(d.f)(m.a.AuthenticationController.testConnection().url),n=Object(p.b)("POST",e,t);return v.default.testConnection.promise(n),n},testLogin:function(t){var e=Object(d.f)(m.a.AuthenticationController.testLogin().url),n=Object(p.b)("POST",e,t);return v.default.testLogin.promise(n),n},setActiveBackend:function(t){var e=Object(d.f)(m.a.AuthenticationController.updateConfiguration().url),n=Object(p.b)("POST",e,{active_backend:t});return v.default.setActiveBackend.promise(n),n},loadBackendsPaginated:function(t){var e=t.page,n=t.perPage,r=t.query,i=Object(y.a)(m.a.AuthenticationController.servicesPaginated().url,e,n,r),a=Object(p.b)("GET",Object(d.f)(i)).then((function(t){return{context:{activeBackend:t.context.active_backend},list:o.List(t.backends.map((function(t){return f.fromJSON(t)}))),pagination:{page:t.page,perPage:t.per_page,query:t.query,count:t.count,total:t.total}}}));return v.default.loadBackendsPaginated.promise(a),a},loadUsersPaginated:function(t,e){var n=e.page,r=e.perPage,i=e.query,a=Object(y.a)(m.a.AuthenticationController.loadUsersPaginated(t).url,n,r,i),s=Object(p.b)("GET",Object(d.f)(a)).then((function(t){return{list:o.List(t.users.map((function(t){return b.a.fromJSON(t)}))),pagination:{page:t.page,perPage:t.per_page,query:t.query,count:t.count,total:t.total}}}));return v.default.loadUsersPaginated.promise(s),s},loadActiveBackendType:function(){var t=Object(d.f)(m.a.AuthenticationController.loadActiveBackendType().url),e=new p.a("GET",t).build().then((function(t){return t.json()})).then((function(t){return t.backend}));return v.default.loadActiveBackendType.promise(e),e}})}));e.default=_},LXU4I1ih:function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r).a.createActions({searchPaginated:{asyncResult:!0},reloadPage:{asyncResult:!0},get:{asyncResult:!0},create:{asyncResult:!0},delete:{asyncResult:!0},update:{asyncResult:!0},getTypes:{asyncResult:!0},lookup:{asyncResult:!0},validate:{asyncResult:!0}});e.default=i},LZ3mZdqo:function(t,exports,e){"use strict";exports.dash={valType:"string",values:["solid","dot","dash","longdash","dashdot","longdashdot"],dflt:"solid",role:"style",editType:"style",description:["Sets the dash style of lines. Set to a dash type string","(*solid*, *dot*, *dash*, *longdash*, *dashdot*, or *longdashdot*)","or a dash length list in px (eg *5px,10px,2px,2px*)."].join(" ")}},LduFMkfw:function(t,exports){t.exports=function(t,e,n){var r=e[0],i=e[1],o=e[2],a=e[3],s=r+r,u=i+i,c=o+o,l=r*s,f=r*u,h=r*c,d=i*u,p=i*c,g=o*c,v=a*s,y=a*u,m=a*c;return t[0]=1-(d+g),t[1]=f+m,t[2]=h-y,t[3]=0,t[4]=f-m,t[5]=1-(l+g),t[6]=p+v,t[7]=0,t[8]=h+y,t[9]=p-v,t[10]=1-(l+d),t[11]=0,t[12]=n[0],t[13]=n[1],t[14]=n[2],t[15]=1,t}},M8845gaG:function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r),o=n("HbbeyvOy"),a=n("8GJ6oOEd"),s=n("L+5XEiOD"),u=i.a.createStore({sourceUrl:function(t){return"/cluster/".concat(t,"/journal")},get:function(t){var e=Object(s.b)("GET",o.f(this.sourceUrl(t)));return e.catch((function(e){a.a.error("Getting journal information on node ".concat(t," failed: ").concat(e),"Could not get journal information")})),e}});e.default=u},MGblGC5b:function(t,exports,e){"use strict";function n(t){return!0===t.visible}function r(t){var e=t[0].trace;return!0===e.visible&&0!==e._length}t.exports=function(t){for(var e,i=(e=t,Array.isArray(e)&&Array.isArray(e[0])&&e[0][0]&&e[0][0].trace?r:n),o=[],a=0;a0?this.registrations[t]-1:0,0===this.registrations[t]&&delete this.registrations[t]}});e.default=h},"NycC/quU":function(t,exports,e){"use strict";var n=e("0Ft3SWJB"),r=e("zSF5pjBO");t.exports=function(t,e,i,o){var a=n.coerce2(t,e,r,"ticklen"),s=n.coerce2(t,e,r,"tickwidth"),u=n.coerce2(t,e,r,"tickcolor",e.color);i("ticks",o.outerTicks||a||s||u?"outside":"")||(delete e.ticklen,delete e.tickwidth,delete e.tickcolor)}},"O+Yk9+nc":function(t,exports,e){"use strict";(function(t){var n=e("lxFo35Wx"),r=e("SmLI5obc"),i=e("/XJIss0p");function o(){return s.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function a(t,e){if(o()=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return 0|t}function d(t,e){if(s.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var r=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return z(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return q(t).length;default:if(r)return z(t).length;e=(""+e).toLowerCase(),r=!0}}function p(t,e,n){var r=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return E(this,e,n);case"utf8":case"utf-8":return T(this,e,n);case"ascii":return A(this,e,n);case"latin1":case"binary":return C(this,e,n);case"base64":return O(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return j(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function g(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function v(t,e,n,r,i){if(0===t.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(i)return-1;n=t.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof e&&(e=s.from(e,r)),s.isBuffer(e))return 0===e.length?-1:y(t,e,n,r,i);if("number"==typeof e)return e&=255,s.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):y(t,[e],n,r,i);throw new TypeError("val must be string, number or Buffer")}function y(t,e,n,r,i){var o,a=1,s=t.length,u=e.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return-1;a=2,s/=2,u/=2,n/=2}function c(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(i){var l=-1;for(o=n;os&&(n=s-u),o=n;o>=0;o--){for(var f=!0,h=0;hi&&(r=i):r=i;var o=e.length;if(o%2!=0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;a>8,i=n%256,o.push(i),o.push(r);return o}(e,t.length-n),t,n,r)}function O(t,e,r){return 0===e&&r===t.length?n.fromByteArray(t):n.fromByteArray(t.slice(e,r))}function T(t,e,n){n=Math.min(t.length,n);for(var r=[],i=e;i239?4:c>223?3:c>191?2:1;if(i+f<=n)switch(f){case 1:c<128&&(l=c);break;case 2:128==(192&(o=t[i+1]))&&(u=(31&c)<<6|63&o)>127&&(l=u);break;case 3:o=t[i+1],a=t[i+2],128==(192&o)&&128==(192&a)&&(u=(15&c)<<12|(63&o)<<6|63&a)>2047&&(u<55296||u>57343)&&(l=u);break;case 4:o=t[i+1],a=t[i+2],s=t[i+3],128==(192&o)&&128==(192&a)&&128==(192&s)&&(u=(15&c)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&u<1114112&&(l=u)}null===l?(l=65533,f=1):l>65535&&(l-=65536,r.push(l>>>10&1023|55296),l=56320|1023&l),r.push(l),i+=f}return function(t){var e=t.length;if(e<=k)return String.fromCharCode.apply(String,t);var n="",r=0;for(;r0&&(t=this.toString("hex",0,e).match(/.{2}/g).join(" "),this.length>e&&(t+=" ... ")),""},s.prototype.compare=function(t,e,n,r,i){if(!s.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),e<0||n>t.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&e>=n)return 0;if(r>=i)return-1;if(e>=n)return 1;if(this===t)return 0;for(var o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(e>>>=0),u=Math.min(o,a),c=this.slice(r,i),l=t.slice(e,n),f=0;fi)&&(n=i),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return m(this,t,e,n);case"utf8":case"utf-8":return b(this,t,e,n);case"ascii":return _(this,t,e,n);case"latin1":case"binary":return w(this,t,e,n);case"base64":return x(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,t,e,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var k=4096;function A(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;ir)&&(n=r);for(var i="",o=e;on)throw new RangeError("Trying to access beyond buffer length")}function I(t,e,n,r,i,o){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||et.length)throw new RangeError("Index out of range")}function M(t,e,n,r){e<0&&(e=65535+e+1);for(var i=0,o=Math.min(t.length-n,2);i>>8*(r?i:1-i)}function P(t,e,n,r){e<0&&(e=4294967295+e+1);for(var i=0,o=Math.min(t.length-n,4);i>>8*(r?i:3-i)&255}function D(t,e,n,r,i,o){if(n+r>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function U(t,e,n,i,o){return o||D(t,0,n,4),r.write(t,e,n,i,23,4),n+4}function F(t,e,n,i,o){return o||D(t,0,n,8),r.write(t,e,n,i,52,8),n+8}s.prototype.slice=function(t,e){var n,r=this.length;if((t=~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),(e=void 0===e?r:~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),e0&&(i*=256);)r+=this[t+--e]*i;return r},s.prototype.readUInt8=function(t,e){return e||R(t,1,this.length),this[t]},s.prototype.readUInt16LE=function(t,e){return e||R(t,2,this.length),this[t]|this[t+1]<<8},s.prototype.readUInt16BE=function(t,e){return e||R(t,2,this.length),this[t]<<8|this[t+1]},s.prototype.readUInt32LE=function(t,e){return e||R(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},s.prototype.readUInt32BE=function(t,e){return e||R(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},s.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||R(t,e,this.length);for(var r=this[t],i=1,o=0;++o=(i*=128)&&(r-=Math.pow(2,8*e)),r},s.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||R(t,e,this.length);for(var r=e,i=1,o=this[t+--r];r>0&&(i*=256);)o+=this[t+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*e)),o},s.prototype.readInt8=function(t,e){return e||R(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},s.prototype.readInt16LE=function(t,e){e||R(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},s.prototype.readInt16BE=function(t,e){e||R(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},s.prototype.readInt32LE=function(t,e){return e||R(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},s.prototype.readInt32BE=function(t,e){return e||R(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},s.prototype.readFloatLE=function(t,e){return e||R(t,4,this.length),r.read(this,t,!0,23,4)},s.prototype.readFloatBE=function(t,e){return e||R(t,4,this.length),r.read(this,t,!1,23,4)},s.prototype.readDoubleLE=function(t,e){return e||R(t,8,this.length),r.read(this,t,!0,52,8)},s.prototype.readDoubleBE=function(t,e){return e||R(t,8,this.length),r.read(this,t,!1,52,8)},s.prototype.writeUIntLE=function(t,e,n,r){(t=+t,e|=0,n|=0,r)||I(this,t,e,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[e]=255&t;++o=0&&(o*=256);)this[e+i]=t/o&255;return e+n},s.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||I(this,t,e,1,255,0),s.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},s.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||I(this,t,e,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):M(this,t,e,!0),e+2},s.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||I(this,t,e,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):M(this,t,e,!1),e+2},s.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||I(this,t,e,4,4294967295,0),s.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):P(this,t,e,!0),e+4},s.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||I(this,t,e,4,4294967295,0),s.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):P(this,t,e,!1),e+4},s.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);I(this,t,e,n,i-1,-i)}var o=0,a=1,s=0;for(this[e]=255&t;++o>0)-s&255;return e+n},s.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);I(this,t,e,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[e+o]=255&t;--o>=0&&(a*=256);)t<0&&0===s&&0!==this[e+o+1]&&(s=1),this[e+o]=(t/a>>0)-s&255;return e+n},s.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||I(this,t,e,1,127,-128),s.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},s.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||I(this,t,e,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):M(this,t,e,!0),e+2},s.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||I(this,t,e,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):M(this,t,e,!1),e+2},s.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||I(this,t,e,4,2147483647,-2147483648),s.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):P(this,t,e,!0),e+4},s.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||I(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),s.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):P(this,t,e,!1),e+4},s.prototype.writeFloatLE=function(t,e,n){return U(this,t,e,!0,n)},s.prototype.writeFloatBE=function(t,e,n){return U(this,t,e,!1,n)},s.prototype.writeDoubleLE=function(t,e,n){return F(this,t,e,!0,n)},s.prototype.writeDoubleBE=function(t,e,n){return F(this,t,e,!1,n)},s.prototype.copy=function(t,e,n,r){if(n||(n=0),r||0===r||(r=this.length),e>=t.length&&(e=t.length),e||(e=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-e=0;--i)t[i+e]=this[i+n];else if(o<1e3||!s.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"==typeof t)for(o=e;o55295&&n<57344){if(!i){if(n>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(e-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(e-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((e-=1)<0)break;o.push(n)}else if(n<2048){if((e-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function q(t){return n.toByteArray(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(L,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function B(t,e,n,r){for(var i=0;i=e.length||i>=t.length);++i)e[i+n]=t[i];return i}}).call(this,e("aY11sVfy"))},"O/XBOW6x":function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r),o=n("HbbeyvOy"),a=n("IU8ofT4O"),s=n("L+5XEiOD"),u=i.a.createStore({listenables:[],all:function(t){var e=o.f(a.a.SystemMessagesApiController.all(t).url);return Object(s.d)("GET",e)}});e.default=u},OG4cRe8e:function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r),o=n("HbbeyvOy"),a=n("8GJ6oOEd"),s=n("L+5XEiOD"),u=i.a.createStore({sourceUrl:function(t){return"/cluster/".concat(t,"/plugins")},list:function(t){return Object(s.b)("GET",o.f(this.sourceUrl(t))).then((function(t){return t.plugins}),(function(e){return a.a.error('Getting plugins on node "'.concat(t,'" failed: ').concat(e),"Could not get plugins")}))}});e.default=u},OK84qaE1:function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r),o=n("JBQWIv26"),a=n("8GJ6oOEd"),s=n("HbbeyvOy"),u=n("IU8ofT4O"),c=n("L+5XEiOD"),l=o.a.getActions("AlarmCallbacks"),f=i.a.createStore({listenables:[l],list:function(t){var e=s.f(u.a.AlarmCallbacksApiController.list(t).url),n=Object(c.b)("GET",e).then((function(t){return t.alarmcallbacks}),(function(t){return a.a.error("Fetching alert notifications failed with status: ".concat(t.message),"Could not retrieve alert notification")}));l.list.promise(n)},save:function(t,e){var n=s.f(u.a.AlarmCallbacksApiController.create(t).url),r=Object(c.b)("POST",n,e);r.then((function(){return a.a.success("Alert notification saved successfully")}),(function(t){var e=t.additional&&400===t.additional.status?t.additional.body.message:t.message;a.a.error("Saving alert notification failed with status: ".concat(e),"Could not save alert notification")})),l.save.promise(r)},delete:function(t,e){var n=s.f(u.a.AlarmCallbacksApiController.delete(t,e).url),r=Object(c.b)("DELETE",n);r.then((function(){return a.a.success("Alert notification deleted successfully")}),(function(t){return a.a.error("Removing alert notification failed with status: ".concat(t.message),"Could not remove alert notification")})),l.delete.promise(r)},update:function(t,e,n){var r=s.f(u.a.AlarmCallbacksApiController.update(t,e).url),i=Object(c.b)("PUT",r,n);i.then((function(){return a.a.success("Alert notification updated successfully")}),(function(t){var n=t.additional&&400===t.additional.status?t.additional.body.message:t.message;a.a.error("Updating alert notification '".concat(e,"' failed with status: ").concat(n),"Could not update alert notification")})),l.update.promise(i)}});e.default=f},OPxZozoA:function(t,exports,e){"use strict";var n=Array.isArray,r="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer:{isView:function(){return!1}},i="undefined"==typeof DataView?function(){}:DataView;function o(t){return r.isView(t)&&!(t instanceof i)}function a(t){return n(t)||o(t)}function s(t,e,n){if(a(t)){if(a(t[0])){for(var r=n,i=0;i1&&void 0!==arguments[1]&&arguments[1];i(this,t),a(this,"_isCanceled",void 0),a(this,"_promise",void 0),a(this,r,void 0),this._promise=e,this._isCanceled=n}var e,n,s;return e=t,s=[{key:"of",value:function(e){return new t(e)}}],(n=[{key:"then",value:function(e,n){return new t(this._promise.then(e,n),this._isCanceled)}},{key:"catch",value:function(e){return new t(this._promise.catch(e),this._isCanceled)}},{key:"finally",value:function(e){return new t(this._promise.finally(e),this._isCanceled)}},{key:"cancel",value:function(){return this._isCanceled=!0,this}},{key:"isCancelled",value:function(){return this._isCanceled}}])&&o(e.prototype,n),s&&o(e,s),t}();e.a=s},Oq1Cqb7p:function(t,exports,e){"use strict";var n=e("0Ft3SWJB"),r=n.extendFlat,i=n.isPlainObject,o={valType:"flaglist",extras:["none"],flags:["calc","clearAxisTypes","plot","style","markerSize","colorbars"],description:["trace attributes should include an `editType` string matching this flaglist.","*calc* is the most extensive: a full `Plotly.plot` starting by clearing `gd.calcdata`","to force it to be regenerated","*clearAxisTypes* resets the types of the axes this trace is on, because new data could","cause the automatic axis type detection to change. Log type will not be cleared, as that","is never automatically chosen so must have been user-specified.","*plot* calls `Plotly.plot` but without first clearing `gd.calcdata`.","*style* only calls `module.style` (or module.editStyle) for all trace modules and redraws the legend.","*markerSize* is like *style*, but propagate axis-range changes due to scatter `marker.size`","*colorbars* only redraws colorbars."].join(" ")},a={valType:"flaglist",extras:["none"],flags:["calc","plot","legend","ticks","axrange","layoutstyle","modebar","camera","arraydraw","colorbars"],description:["layout attributes should include an `editType` string matching this flaglist.","*calc* is the most extensive: a full `Plotly.plot` starting by clearing `gd.calcdata`","to force it to be regenerated","*plot* calls `Plotly.plot` but without first clearing `gd.calcdata`.","*legend* only redraws the legend.","*ticks* only redraws axis ticks, labels, and gridlines.","*axrange* minimal sequence when updating axis ranges.","*layoutstyle* reapplies global and SVG cartesian axis styles.","*modebar* just updates the modebar.","*camera* just updates the camera settings for gl3d scenes.","*arraydraw* allows component arrays to invoke the redraw routines just for the","component(s) that changed.","*colorbars* only redraws colorbars."].join(" ")},s=o.flags.slice().concat(["fullReplot"]),u=a.flags.slice().concat("layoutReplot");function c(t){for(var e={},n=0;n/dist/topojson/","to render geographical feature using the topojson files","that ship with the plotly.js module."].join(" ")},mapboxAccessToken:{valType:"string",dflt:null,description:["Mapbox access token (required to plot mapbox trace types)","If using an Mapbox Atlas server, set this option to ''","so that plotly.js won't attempt to authenticate to the public Mapbox server."].join(" ")},logging:{valType:"integer",min:0,max:2,dflt:1,description:["Turn all console logging on or off (errors will be thrown)","This should ONLY be set via Plotly.setPlotConfig","Available levels:","0: no logs","1: warnings and errors, but not informational messages","2: verbose logs"].join(" ")},notifyOnLogging:{valType:"integer",min:0,max:2,dflt:0,description:["Set on-graph logging (notifier) level","This should ONLY be set via Plotly.setPlotConfig","Available levels:","0: no on-graph logs","1: warnings and errors, but not informational messages","2: verbose logs"].join(" ")},queueLength:{valType:"integer",min:0,dflt:0,description:"Sets the length of the undo/redo queue."},globalTransforms:{valType:"any",dflt:[],description:["Set global transform to be applied to all traces with no","specification needed"].join(" ")},locale:{valType:"string",dflt:"en-US",description:["Which localization should we use?","Should be a string like 'en' or 'en-US'."].join(" ")},locales:{valType:"any",dflt:{},description:["Localization definitions","Locales can be provided either here (specific to one chart) or globally","by registering them as modules.","Should be an object of objects {locale: {dictionary: {...}, format: {...}}}","{","  da: {","      dictionary: {'Reset axes': 'Nulstil aksler', ...},","      format: {months: [...], shortMonths: [...]}","  },","  ...","}","All parts are optional. When looking for translation or format fields, we","look first for an exact match in a config locale, then in a registered","module. If those fail, we strip off any regionalization ('en-US' -> 'en')","and try each (config, registry) again. The final fallback for translation","is untranslated (which is US English) and for formats is the base English","(the only consequence being the last fallback date format %x is DD/MM/YYYY","instead of MM/DD/YYYY). Currently `grouping` and `currency` are ignored","for our automatic number formatting, but can be used in custom formats."].join(" ")}},r={};!function t(e,n){for(var r in e){var i=e[r];i.valType?n[r]=i.dflt:(n[r]||(n[r]={}),t(i,n[r]))}}(n,r),t.exports={configAttributes:n,dfltConfig:r}},Osspz6vV:function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r).a.createActions({list:{asyncResult:!0},refreshList:{asyncResult:!0},setAction:{asyncResult:!0}});e.default=i},PHBdwNAQ:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"b",(function(){return a}));var r=n("AztyBNMT"),i=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=r.PluginStore.exports("authentication.services")||[],i=n.find((function(e){return e.name===t}));if(!i&&e)throw new Error('Authentication service with type "'.concat(t,'" not found.'));return i},o=function(){var t=r.PluginStore.exports("authentication.enterprise.directoryServices.groupSync");return null==t?void 0:t[0]},a=function(){var t=r.PluginStore.exports("authentication.enterprise");return null==t?void 0:t[0]}},PLeiNRHt:function(t,exports,e){"use strict";t.exports=function(t,e){if(!e)return t;var n=1/Math.abs(e),r=n>1?(n*t+n*e)/n:t+e,i=String(r).length;if(i>16){var o=String(e).length;if(i>=String(t).length+o){var a=parseFloat(r).toPrecision(12);-1===a.indexOf("e+")&&(r=+a)}}return r}},PZF0Nggh:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n("AztyBNMT");function i(t){return r.PluginStore.exports("searchTypes").find((function(e){return e.type.toLocaleUpperCase()===t.toLocaleUpperCase()}))}},"PbfD+MHS":function(t,exports){t.exports=function(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}},PdklNqvR:function(t,exports,e){t.exports=e("jaIgFIJB")(446)},PfYIlAqQ:function(t,exports){t.exports=function(t,e){var n=Math.sin(e),r=Math.cos(e);return t[0]=r,t[1]=0,t[2]=-n,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=n,t[9]=0,t[10]=r,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}},Pny8KqFd:function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r),o=n("HbbeyvOy"),a=n("8GJ6oOEd"),s=n("L+5XEiOD"),u=n("1VnJesae"),c=u.a.getStore("Nodes"),l=u.a.getStore("SystemProcessing"),f=u.a.getStore("SystemLoadBalancer"),h=i.a.createStore({sourceUrl:"/cluster",clusterOverview:void 0,init:function(){this.cluster(),this.listenTo(l,this.cluster),this.listenTo(f,this.cluster),this.listenTo(c,this.cluster)},getInitialState:function(){return{clusterOverview:this.clusterOverview}},cluster:function(){var t=this,e=Object(s.b)("GET",o.f(this.sourceUrl));return e.then((function(e){t.clusterOverview=e,t.trigger({clusterOverview:t.clusterOverview})}),(function(t){return a.a.error("Getting cluster overview failed: ".concat(t),"Could not get cluster overview")})),e},threadDump:function(t){return Object(s.b)("GET",o.f("".concat(this.sourceUrl,"/").concat(t,"/threaddump"))).then((function(t){return t.threaddump}),(function(e){return a.a.error("Getting thread dump for node '".concat(t,"' failed: ").concat(e),"Could not get thread dump")}))},processbufferDump:function(t){return Object(s.b)("GET",o.f("".concat(this.sourceUrl,"/").concat(t,"/processbufferdump"))).then((function(t){return t.processbuffer_dump}),(function(e){return a.a.error("Getting process buffer dump for node '".concat(t,"' failed: ").concat(e),"Could not get process buffer dump")}))},jvm:function(t){var e=Object(s.b)("GET",o.f("".concat(this.sourceUrl,"/").concat(t,"/jvm")));return e.catch((function(e){return a.a.error("Getting JVM information for node '".concat(t,"' failed: ").concat(e),"Could not get JVM information")})),e}});e.default=h},Q5pcoIBS:function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r).a.createActions({simulate:{asyncResult:!0}});e.default=i},QCsxvQAc:function(t,exports){t.exports=function(t,e,n,r,i,o,a){var s=1/(n-e),u=1/(i-r),c=1/(o-a);return t[0]=2*o*s,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=2*o*u,t[6]=0,t[7]=0,t[8]=(n+e)*s,t[9]=(i+r)*u,t[10]=(a+o)*c,t[11]=-1,t[12]=0,t[13]=0,t[14]=a*o*2*c,t[15]=0,t}},QO2VALLf:function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r),o=n("HbbeyvOy"),a=n("IU8ofT4O"),s=n("L+5XEiOD");function u(t){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function c(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function l(t){var e=function(t,e){if("object"!==u(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!==u(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===u(e)?e:String(e)}function f(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function h(t){for(var e=1;e>1,l=-7,f=n?i-1:0,h=n?-1:1,d=t[e+f];for(f+=h,o=d&(1<<-l)-1,d>>=-l,l+=s;l>0;o=256*o+t[e+f],f+=h,l-=8);for(a=o&(1<<-l)-1,o>>=-l,l+=r;l>0;a=256*a+t[e+f],f+=h,l-=8);if(0===o)o=1-c;else{if(o===u)return a?NaN:1/0*(d?-1:1);a+=Math.pow(2,r),o-=c}return(d?-1:1)*a*Math.pow(2,o-r)},exports.write=function(t,e,n,r,i,o){var a,s,u,c=8*o-i-1,l=(1<>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:o-1,p=r?1:-1,g=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=l):(a=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-a))<1&&(a--,u*=2),(e+=a+f>=1?h/u:h*Math.pow(2,1-f))*u>=2&&(a++,u/=2),a+f>=l?(s=0,a=l):a+f>=1?(s=(e*u-1)*Math.pow(2,i),a+=f):(s=e*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;t[n+d]=255&s,d+=p,s/=256,i-=8);for(a=a<0;t[n+d]=255&a,d+=p,a/=256,c-=8);t[n+d-p]|=128*g}},TLqgrVSx:function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r),o=n("HbbeyvOy"),a=n("IU8ofT4O"),s=n("8GJ6oOEd"),u=n("L+5XEiOD"),c=n("JBQWIv26"),l=n("mRXwKqDg");function f(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function h(t){for(var e=1;e1||g<0||g>1?null:{x:t+u*g,y:e+f*g}}function s(t,e,n,r,i){var o=r*t+i*e;if(o<0)return r*r+i*i;if(o>n){var a=r-t,s=i-e;return a*a+s*s}var u=r*e-i*t;return u*u/n}exports.segmentsIntersect=a,exports.segmentDistance=function(t,e,n,r,i,o,u,c){if(a(t,e,n,r,i,o,u,c))return 0;var l=n-t,f=r-e,h=u-i,d=c-o,p=l*l+f*f,g=h*h+d*d,v=Math.min(s(l,f,p,i-t,o-e),s(l,f,p,u-t,c-e),s(h,d,g,t-i,e-o),s(h,d,g,n-i,r-o));return Math.sqrt(v)},exports.getTextLocation=function(t,e,a,s){if(t===r&&s===i||(n={},r=t,i=s),n[a])return n[a];var u=t.getPointAtLength(o(a-s/2,e)),c=t.getPointAtLength(o(a+s/2,e)),l=Math.atan((c.y-u.y)/(c.x-u.x)),f=t.getPointAtLength(o(a,e)),h={x:(4*f.x+u.x+c.x)/6,y:(4*f.y+u.y+c.y)/6,theta:l};return n[a]=h,h},exports.clearLocationCache=function(){r=null},exports.getVisibleSegment=function(t,e,n){var r,i,o=e.left,a=e.right,s=e.top,u=e.bottom,c=0,l=t.getTotalLength(),f=l;function h(e){var n=t.getPointAtLength(e);0===e?r=n:e===l&&(i=n);var c=n.xa?n.x-a:0,f=n.yu?n.y-u:0;return Math.sqrt(c*c+f*f)}for(var d=h(c);d;){if((c+=d+n)>f)return;d=h(c)}for(d=h(f);d;){if(c>(f-=d+n))return;d=h(f)}return{min:c,max:f,len:f-c,total:l,isClosed:0===c&&f===l&&Math.abs(r.x-i.x)<.1&&Math.abs(r.y-i.y)<.1}},exports.findPointOnPath=function(t,e,n,r){for(var i,o,a,s=(r=r||{}).pathLength||t.getTotalLength(),u=r.tolerance||.001,c=r.iterationLimit||30,l=t.getPointAtLength(0)[n]>t.getPointAtLength(s)[n]?-1:1,f=0,h=0,d=s;f0?d=i:h=i,f++}return o}},V7AGmkLH:function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r),o=n("HbbeyvOy"),a=n("IU8ofT4O"),s=n("L+5XEiOD"),u=n("JBQWIv26"),c=n("nHcjWeCO"),l=n("6va0yrcj");function f(t,e){for(var n=0;n>>0;if(""+n!==e||4294967295===n)return NaN;e=n}return e<0?k(t)+e:e}function C(){return!0}function E(t,e,n){return(0===t||void 0!==n&&t<=-n)&&(void 0===e||void 0!==n&&e>=n)}function j(t,e){return I(t,e,0)}function R(t,e){return I(t,e,e)}function I(t,e,n){return void 0===t?n:t<0?Math.max(0,e+t):void 0===e?t:Math.min(e,t)}var M=0,P=1,D=2,U="function"==typeof Symbol&&Symbol.iterator,F="@@iterator",L=U||F;function N(t){this.next=t}function z(t,e,n,r){var i=0===t?e:1===t?n:[e,n];return r?r.value=i:r={value:i,done:!1},r}function q(){return{value:void 0,done:!0}}function B(t){return!!G(t)}function H(t){return t&&"function"==typeof t.next}function V(t){var e=G(t);return e&&e.call(t)}function G(t){var e=t&&(U&&t[U]||t[F]);if("function"==typeof e)return e}function J(t){return t&&"number"==typeof t.length}function W(t){return null==t?st():a(t)?t.toSeq():lt(t)}function K(t){return null==t?st().toKeyedSeq():a(t)?s(t)?t.toSeq():t.fromEntrySeq():ut(t)}function Y(t){return null==t?st():a(t)?s(t)?t.entrySeq():t.toIndexedSeq():ct(t)}function X(t){return(null==t?st():a(t)?s(t)?t.entrySeq():t:ct(t)).toSetSeq()}N.prototype.toString=function(){return"[Iterator]"},N.KEYS=M,N.VALUES=P,N.ENTRIES=D,N.prototype.inspect=N.prototype.toSource=function(){return this.toString()},N.prototype[L]=function(){return this},e(W,n),W.of=function(){return W(arguments)},W.prototype.toSeq=function(){return this},W.prototype.toString=function(){return this.__toString("Seq {","}")},W.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},W.prototype.__iterate=function(t,e){return ht(this,t,e,!0)},W.prototype.__iterator=function(t,e){return dt(this,t,e,!0)},e(K,W),K.prototype.toKeyedSeq=function(){return this},e(Y,W),Y.of=function(){return Y(arguments)},Y.prototype.toIndexedSeq=function(){return this},Y.prototype.toString=function(){return this.__toString("Seq [","]")},Y.prototype.__iterate=function(t,e){return ht(this,t,e,!1)},Y.prototype.__iterator=function(t,e){return dt(this,t,e,!1)},e(X,W),X.of=function(){return X(arguments)},X.prototype.toSetSeq=function(){return this},W.isSeq=at,W.Keyed=K,W.Set=X,W.Indexed=Y;var Q,Z,tt,et="@@__IMMUTABLE_SEQ__@@";function nt(t){this._array=t,this.size=t.length}function rt(t){var e=Object.keys(t);this._object=t,this._keys=e,this.size=e.length}function it(t){this._iterable=t,this.size=t.length||t.size}function ot(t){this._iterator=t,this._iteratorCache=[]}function at(t){return!(!t||!t[et])}function st(){return Q||(Q=new nt([]))}function ut(t){var e=Array.isArray(t)?new nt(t).fromEntrySeq():H(t)?new ot(t).fromEntrySeq():B(t)?new it(t).fromEntrySeq():"object"==typeof t?new rt(t):void 0;if(!e)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+t);return e}function ct(t){var e=ft(t);if(!e)throw new TypeError("Expected Array or iterable object of values: "+t);return e}function lt(t){var e=ft(t)||"object"==typeof t&&new rt(t);if(!e)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+t);return e}function ft(t){return J(t)?new nt(t):H(t)?new ot(t):B(t)?new it(t):void 0}function ht(t,e,n,r){var i=t._cache;if(i){for(var o=i.length-1,a=0;a<=o;a++){var s=i[n?o-a:a];if(!1===e(s[1],r?s[0]:a,t))return a+1}return a}return t.__iterateUncached(e,n)}function dt(t,e,n,r){var i=t._cache;if(i){var o=i.length-1,a=0;return new N((function(){var t=i[n?o-a:a];return a++>o?q():z(e,r?t[0]:a-1,t[1])}))}return t.__iteratorUncached(e,n)}function pt(t,e){return e?gt(e,t,"",{"":t}):vt(t)}function gt(t,e,n,r){return Array.isArray(e)?t.call(r,n,Y(e).map((function(n,r){return gt(t,n,r,e)}))):yt(e)?t.call(r,n,K(e).map((function(n,r){return gt(t,n,r,e)}))):e}function vt(t){return Array.isArray(t)?Y(t).map(vt).toList():yt(t)?K(t).map(vt).toMap():t}function yt(t){return t&&(t.constructor===Object||void 0===t.constructor)}function mt(t,e){if(t===e||t!=t&&e!=e)return!0;if(!t||!e)return!1;if("function"==typeof t.valueOf&&"function"==typeof e.valueOf){if((t=t.valueOf())===(e=e.valueOf())||t!=t&&e!=e)return!0;if(!t||!e)return!1}return!("function"!=typeof t.equals||"function"!=typeof e.equals||!t.equals(e))}function bt(t,e){if(t===e)return!0;if(!a(e)||void 0!==t.size&&void 0!==e.size&&t.size!==e.size||void 0!==t.__hash&&void 0!==e.__hash&&t.__hash!==e.__hash||s(t)!==s(e)||u(t)!==u(e)||l(t)!==l(e))return!1;if(0===t.size&&0===e.size)return!0;var n=!c(t);if(l(t)){var r=t.entries();return e.every((function(t,e){var i=r.next().value;return i&&mt(i[1],t)&&(n||mt(i[0],e))}))&&r.next().done}var i=!1;if(void 0===t.size)if(void 0===e.size)"function"==typeof t.cacheResult&&t.cacheResult();else{i=!0;var o=t;t=e,e=o}var f=!0,h=e.__iterate((function(e,r){if(n?!t.has(e):i?!mt(e,t.get(r,b)):!mt(t.get(r,b),e))return f=!1,!1}));return f&&t.size===h}function _t(t,e){if(!(this instanceof _t))return new _t(t,e);if(this._value=t,this.size=void 0===e?1/0:Math.max(0,e),0===this.size){if(Z)return Z;Z=this}}function wt(t,e){if(!t)throw new Error(e)}function xt(t,e,n){if(!(this instanceof xt))return new xt(t,e,n);if(wt(0!==n,"Cannot step a Range by 0"),t=t||0,void 0===e&&(e=1/0),n=void 0===n?1:Math.abs(n),er?q():z(t,i,n[e?r-i++:i++])}))},e(rt,K),rt.prototype.get=function(t,e){return void 0===e||this.has(t)?this._object[t]:e},rt.prototype.has=function(t){return this._object.hasOwnProperty(t)},rt.prototype.__iterate=function(t,e){for(var n=this._object,r=this._keys,i=r.length-1,o=0;o<=i;o++){var a=r[e?i-o:o];if(!1===t(n[a],a,this))return o+1}return o},rt.prototype.__iterator=function(t,e){var n=this._object,r=this._keys,i=r.length-1,o=0;return new N((function(){var a=r[e?i-o:o];return o++>i?q():z(t,a,n[a])}))},rt.prototype[p]=!0,e(it,Y),it.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);var n=V(this._iterable),r=0;if(H(n))for(var i;!(i=n.next()).done&&!1!==t(i.value,r++,this););return r},it.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=V(this._iterable);if(!H(n))return new N(q);var r=0;return new N((function(){var e=n.next();return e.done?e:z(t,r++,e.value)}))},e(ot,Y),ot.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);for(var n,r=this._iterator,i=this._iteratorCache,o=0;o=r.length){var e=n.next();if(e.done)return e;r[i]=e.value}return z(t,i,r[i++])}))},e(_t,Y),_t.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},_t.prototype.get=function(t,e){return this.has(t)?this._value:e},_t.prototype.includes=function(t){return mt(this._value,t)},_t.prototype.slice=function(t,e){var n=this.size;return E(t,e,n)?this:new _t(this._value,R(e,n)-j(t,n))},_t.prototype.reverse=function(){return this},_t.prototype.indexOf=function(t){return mt(this._value,t)?0:-1},_t.prototype.lastIndexOf=function(t){return mt(this._value,t)?this.size:-1},_t.prototype.__iterate=function(t,e){for(var n=0;n=0&&e=0&&nn?q():z(t,o++,a)}))},xt.prototype.equals=function(t){return t instanceof xt?this._start===t._start&&this._end===t._end&&this._step===t._step:bt(this,t)},e(St,n),e(Ot,St),e(Tt,St),e(kt,St),St.Keyed=Ot,St.Indexed=Tt,St.Set=kt;var At="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(t,e){var n=65535&(t|=0),r=65535&(e|=0);return n*r+((t>>>16)*r+n*(e>>>16)<<16>>>0)|0};function Ct(t){return t>>>1&1073741824|3221225471&t}function Et(t){if(!1===t||null==t)return 0;if("function"==typeof t.valueOf&&(!1===(t=t.valueOf())||null==t))return 0;if(!0===t)return 1;var e=typeof t;if("number"===e){if(t!=t||t===1/0)return 0;var n=0|t;for(n!==t&&(n^=4294967295*t);t>4294967295;)n^=t/=4294967295;return Ct(n)}if("string"===e)return t.length>zt?jt(t):Rt(t);if("function"==typeof t.hashCode)return t.hashCode();if("object"===e)return It(t);if("function"==typeof t.toString)return Rt(t.toString());throw new Error("Value type "+e+" cannot be hashed.")}function jt(t){var e=Ht[t];return void 0===e&&(e=Rt(t),Bt===qt&&(Bt=0,Ht={}),Bt++,Ht[t]=e),e}function Rt(t){for(var e=0,n=0;n0)switch(t.nodeType){case 1:return t.uniqueID;case 9:return t.documentElement&&t.documentElement.uniqueID}}var Ut,Ft="function"==typeof WeakMap;Ft&&(Ut=new WeakMap);var Lt=0,Nt="__immutablehash__";"function"==typeof Symbol&&(Nt=Symbol(Nt));var zt=16,qt=255,Bt=0,Ht={};function Vt(t){wt(t!==1/0,"Cannot perform this action with an infinite size.")}function Gt(t){return null==t?oe():Jt(t)&&!l(t)?t:oe().withMutations((function(e){var n=r(t);Vt(n.size),n.forEach((function(t,n){return e.set(n,t)}))}))}function Jt(t){return!(!t||!t[Kt])}e(Gt,Ot),Gt.of=function(){var e=t.call(arguments,0);return oe().withMutations((function(t){for(var n=0;n=e.length)throw new Error("Missing value for key: "+e[n]);t.set(e[n],e[n+1])}}))},Gt.prototype.toString=function(){return this.__toString("Map {","}")},Gt.prototype.get=function(t,e){return this._root?this._root.get(0,void 0,t,e):e},Gt.prototype.set=function(t,e){return ae(this,t,e)},Gt.prototype.setIn=function(t,e){return this.updateIn(t,b,(function(){return e}))},Gt.prototype.remove=function(t){return ae(this,t,b)},Gt.prototype.deleteIn=function(t){return this.updateIn(t,(function(){return b}))},Gt.prototype.update=function(t,e,n){return 1===arguments.length?t(this):this.updateIn([t],e,n)},Gt.prototype.updateIn=function(t,e,n){n||(n=e,e=void 0);var r=ye(this,Sn(t),e,n);return r===b?void 0:r},Gt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):oe()},Gt.prototype.merge=function(){return de(this,void 0,arguments)},Gt.prototype.mergeWith=function(e){return de(this,e,t.call(arguments,1))},Gt.prototype.mergeIn=function(e){var n=t.call(arguments,1);return this.updateIn(e,oe(),(function(t){return"function"==typeof t.merge?t.merge.apply(t,n):n[n.length-1]}))},Gt.prototype.mergeDeep=function(){return de(this,pe,arguments)},Gt.prototype.mergeDeepWith=function(e){var n=t.call(arguments,1);return de(this,ge(e),n)},Gt.prototype.mergeDeepIn=function(e){var n=t.call(arguments,1);return this.updateIn(e,oe(),(function(t){return"function"==typeof t.mergeDeep?t.mergeDeep.apply(t,n):n[n.length-1]}))},Gt.prototype.sort=function(t){return He(hn(this,t))},Gt.prototype.sortBy=function(t,e){return He(hn(this,e,t))},Gt.prototype.withMutations=function(t){var e=this.asMutable();return t(e),e.wasAltered()?e.__ensureOwner(this.__ownerID):this},Gt.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new O)},Gt.prototype.asImmutable=function(){return this.__ensureOwner()},Gt.prototype.wasAltered=function(){return this.__altered},Gt.prototype.__iterator=function(t,e){return new ee(this,t,e)},Gt.prototype.__iterate=function(t,e){var n=this,r=0;return this._root&&this._root.iterate((function(e){return r++,t(e[1],e[0],n)}),e),r},Gt.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?ie(this.size,this._root,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},Gt.isMap=Jt;var Wt,Kt="@@__IMMUTABLE_MAP__@@",Yt=Gt.prototype;function Xt(t,e){this.ownerID=t,this.entries=e}function Qt(t,e,n){this.ownerID=t,this.bitmap=e,this.nodes=n}function Zt(t,e,n){this.ownerID=t,this.count=e,this.nodes=n}function $t(t,e,n){this.ownerID=t,this.keyHash=e,this.entries=n}function te(t,e,n){this.ownerID=t,this.keyHash=e,this.entry=n}function ee(t,e,n){this._type=e,this._reverse=n,this._stack=t._root&&re(t._root)}function ne(t,e){return z(t,e[0],e[1])}function re(t,e){return{node:t,index:0,__prev:e}}function ie(t,e,n,r){var i=Object.create(Yt);return i.size=t,i._root=e,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function oe(){return Wt||(Wt=ie(0))}function ae(t,e,n){var r,i;if(t._root){var o=x(_),a=x(w);if(r=se(t._root,t.__ownerID,0,void 0,e,n,o,a),!a.value)return t;i=t.size+(o.value?n===b?-1:1:0)}else{if(n===b)return t;i=1,r=new Xt(t.__ownerID,[[e,n]])}return t.__ownerID?(t.size=i,t._root=r,t.__hash=void 0,t.__altered=!0,t):r?ie(i,r):oe()}function se(t,e,n,r,i,o,a,s){return t?t.update(e,n,r,i,o,a,s):o===b?t:(S(s),S(a),new te(e,r,[i,o]))}function ue(t){return t.constructor===te||t.constructor===$t}function ce(t,e,n,r,i){if(t.keyHash===r)return new $t(e,r,[t.entry,i]);var o,a=(0===n?t.keyHash:t.keyHash>>>n)&m,s=(0===n?r:r>>>n)&m;return new Qt(e,1<>>=1)a[s]=1&n?e[o++]:void 0;return a[r]=i,new Zt(t,o+1,a)}function de(t,e,n){for(var i=[],o=0;o>1&1431655765))+(t>>2&858993459))+(t>>4)&252645135,t+=t>>8,127&(t+=t>>16)}function be(t,e,n,r){var i=r?t:T(t);return i[e]=n,i}function _e(t,e,n,r){var i=t.length+1;if(r&&e+1===i)return t[e]=n,t;for(var o=new Array(i),a=0,s=0;s=xe)return le(t,u,r,i);var h=t&&t===this.ownerID,d=h?u:T(u);return f?s?c===l-1?d.pop():d[c]=d.pop():d[c]=[r,i]:d.push([r,i]),h?(this.entries=d,this):new Xt(t,d)}},Qt.prototype.get=function(t,e,n,r){void 0===e&&(e=Et(n));var i=1<<((0===t?e:e>>>t)&m),o=this.bitmap;return 0==(o&i)?r:this.nodes[me(o&i-1)].get(t+v,e,n,r)},Qt.prototype.update=function(t,e,n,r,i,o,a){void 0===n&&(n=Et(r));var s=(0===e?n:n>>>e)&m,u=1<=Se)return he(t,h,c,s,p);if(l&&!p&&2===h.length&&ue(h[1^f]))return h[1^f];if(l&&p&&1===h.length&&ue(p))return p;var g=t&&t===this.ownerID,y=l?p?c:c^u:c|u,_=l?p?be(h,f,p,g):we(h,f,g):_e(h,f,p,g);return g?(this.bitmap=y,this.nodes=_,this):new Qt(t,y,_)},Zt.prototype.get=function(t,e,n,r){void 0===e&&(e=Et(n));var i=(0===t?e:e>>>t)&m,o=this.nodes[i];return o?o.get(t+v,e,n,r):r},Zt.prototype.update=function(t,e,n,r,i,o,a){void 0===n&&(n=Et(r));var s=(0===e?n:n>>>e)&m,u=i===b,c=this.nodes,l=c[s];if(u&&!l)return this;var f=se(l,t,e+v,n,r,i,o,a);if(f===l)return this;var h=this.count;if(l){if(!f&&--h0&&r=0&&t>>e&m;if(r>=this.array.length)return new Ee([],t);var i,o=0===r;if(e>0){var a=this.array[r];if((i=a&&a.removeBefore(t,e-v,n))===a&&o)return this}if(o&&!i)return this;var s=Le(this,t);if(!o)for(var u=0;u>>e&m;if(i>=this.array.length)return this;if(e>0){var o=this.array[i];if((r=o&&o.removeAfter(t,e-v,n))===o&&i===this.array.length-1)return this}var a=Le(this,t);return a.array.splice(i+1),r&&(a.array[i]=r),a};var je,Re,Ie={};function Me(t,e){var n=t._origin,r=t._capacity,i=Be(r),o=t._tail;return a(t._root,t._level,0);function a(t,e,n){return 0===e?s(t,n):u(t,e,n)}function s(t,a){var s=a===i?o&&o.array:t&&t.array,u=a>n?0:n-a,c=r-a;return c>y&&(c=y),function(){if(u===c)return Ie;var t=e?--c:u++;return s&&s[t]}}function u(t,i,o){var s,u=t&&t.array,c=o>n?0:n-o>>i,l=1+(r-o>>i);return l>y&&(l=y),function(){for(;;){if(s){var t=s();if(t!==Ie)return t;s=null}if(c===l)return Ie;var n=e?--l:c++;s=a(u&&u[n],i-v,o+(n<=t.size||e<0)return t.withMutations((function(t){e<0?ze(t,e).set(0,n):ze(t,0,e+1).set(e,n)}));e+=t._origin;var r=t._tail,i=t._root,o=x(w);return e>=Be(t._capacity)?r=Fe(r,t.__ownerID,0,e,n,o):i=Fe(i,t.__ownerID,t._level,e,n,o),o.value?t.__ownerID?(t._root=i,t._tail=r,t.__hash=void 0,t.__altered=!0,t):Pe(t._origin,t._capacity,t._level,i,r):t}function Fe(t,e,n,r,i,o){var a,s=r>>>n&m,u=t&&s0){var c=t&&t.array[s],l=Fe(c,e,n-v,r,i,o);return l===c?t:((a=Le(t,e)).array[s]=l,a)}return u&&t.array[s]===i?t:(S(o),a=Le(t,e),void 0===i&&s===a.array.length-1?a.array.pop():a.array[s]=i,a)}function Le(t,e){return e&&t&&e===t.ownerID?t:new Ee(t?t.array.slice():[],e)}function Ne(t,e){if(e>=Be(t._capacity))return t._tail;if(e<1<0;)n=n.array[e>>>r&m],r-=v;return n}}function ze(t,e,n){void 0!==e&&(e|=0),void 0!==n&&(n|=0);var r=t.__ownerID||new O,i=t._origin,o=t._capacity,a=i+e,s=void 0===n?o:n<0?o+n:i+n;if(a===i&&s===o)return t;if(a>=s)return t.clear();for(var u=t._level,c=t._root,l=0;a+l<0;)c=new Ee(c&&c.array.length?[void 0,c]:[],r),l+=1<<(u+=v);l&&(a+=l,i+=l,s+=l,o+=l);for(var f=Be(o),h=Be(s);h>=1<f?new Ee([],r):d;if(d&&h>f&&av;y-=v){var b=f>>>y&m;g=g.array[b]=Le(g.array[b],r)}g.array[f>>>v&m]=d}if(s=h)a-=h,s-=h,u=v,c=null,p=p&&p.removeBefore(r,0,a);else if(a>i||h>>u&m;if(_!==h>>>u&m)break;_&&(l+=(1<i&&(c=c.removeBefore(r,u,a-l)),c&&ho&&(o=c.size),a(u)||(c=c.map((function(t){return pt(t)}))),r.push(c)}return o>t.size&&(t=t.setSize(o)),ve(t,e,r)}function Be(t){return t>>v<=y&&a.size>=2*o.size?(r=(i=a.filter((function(t,e){return void 0!==t&&s!==e}))).toKeyedSeq().map((function(t){return t[0]})).flip().toMap(),t.__ownerID&&(r.__ownerID=i.__ownerID=t.__ownerID)):(r=o.remove(e),i=s===a.size-1?a.pop():a.set(s,void 0))}else if(u){if(n===a.get(s)[1])return t;r=o,i=a.set(s,[e,n])}else r=o.set(e,a.size),i=a.set(a.size,[e,n]);return t.__ownerID?(t.size=r.size,t._map=r,t._list=i,t.__hash=void 0,t):Ge(r,i)}function Ke(t,e){this._iter=t,this._useKeys=e,this.size=t.size}function Ye(t){this._iter=t,this.size=t.size}function Xe(t){this._iter=t,this.size=t.size}function Qe(t){this._iter=t,this.size=t.size}function Ze(t){var e=_n(t);return e._iter=t,e.size=t.size,e.flip=function(){return t},e.reverse=function(){var e=t.reverse.apply(this);return e.flip=function(){return t.reverse()},e},e.has=function(e){return t.includes(e)},e.includes=function(e){return t.has(e)},e.cacheResult=wn,e.__iterateUncached=function(e,n){var r=this;return t.__iterate((function(t,n){return!1!==e(n,t,r)}),n)},e.__iteratorUncached=function(e,n){if(e===D){var r=t.__iterator(e,n);return new N((function(){var t=r.next();if(!t.done){var e=t.value[0];t.value[0]=t.value[1],t.value[1]=e}return t}))}return t.__iterator(e===P?M:P,n)},e}function $e(t,e,n){var r=_n(t);return r.size=t.size,r.has=function(e){return t.has(e)},r.get=function(r,i){var o=t.get(r,b);return o===b?i:e.call(n,o,r,t)},r.__iterateUncached=function(r,i){var o=this;return t.__iterate((function(t,i,a){return!1!==r(e.call(n,t,i,a),i,o)}),i)},r.__iteratorUncached=function(r,i){var o=t.__iterator(D,i);return new N((function(){var i=o.next();if(i.done)return i;var a=i.value,s=a[0];return z(r,s,e.call(n,a[1],s,t),i)}))},r}function tn(t,e){var n=_n(t);return n._iter=t,n.size=t.size,n.reverse=function(){return t},t.flip&&(n.flip=function(){var e=Ze(t);return e.reverse=function(){return t.flip()},e}),n.get=function(n,r){return t.get(e?n:-1-n,r)},n.has=function(n){return t.has(e?n:-1-n)},n.includes=function(e){return t.includes(e)},n.cacheResult=wn,n.__iterate=function(e,n){var r=this;return t.__iterate((function(t,n){return e(t,n,r)}),!n)},n.__iterator=function(e,n){return t.__iterator(e,!n)},n}function en(t,e,n,r){var i=_n(t);return r&&(i.has=function(r){var i=t.get(r,b);return i!==b&&!!e.call(n,i,r,t)},i.get=function(r,i){var o=t.get(r,b);return o!==b&&e.call(n,o,r,t)?o:i}),i.__iterateUncached=function(i,o){var a=this,s=0;return t.__iterate((function(t,o,u){if(e.call(n,t,o,u))return s++,i(t,r?o:s-1,a)}),o),s},i.__iteratorUncached=function(i,o){var a=t.__iterator(D,o),s=0;return new N((function(){for(;;){var o=a.next();if(o.done)return o;var u=o.value,c=u[0],l=u[1];if(e.call(n,l,c,t))return z(i,r?c:s++,l,o)}}))},i}function nn(t,e,n){var r=Gt().asMutable();return t.__iterate((function(i,o){r.update(e.call(n,i,o,t),0,(function(t){return t+1}))})),r.asImmutable()}function rn(t,e,n){var r=s(t),i=(l(t)?He():Gt()).asMutable();t.__iterate((function(o,a){i.update(e.call(n,o,a,t),(function(t){return(t=t||[]).push(r?[a,o]:o),t}))}));var o=bn(t);return i.map((function(e){return vn(t,o(e))}))}function on(t,e,n,r){var i=t.size;if(void 0!==e&&(e|=0),void 0!==n&&(n===1/0?n=i:n|=0),E(e,n,i))return t;var o=j(e,i),a=R(n,i);if(o!=o||a!=a)return on(t.toSeq().cacheResult(),e,n,r);var s,u=a-o;u==u&&(s=u<0?0:u);var c=_n(t);return c.size=0===s?s:t.size&&s||void 0,!r&&at(t)&&s>=0&&(c.get=function(e,n){return(e=A(this,e))>=0&&es)return q();var t=i.next();return r||e===P?t:z(e,u-1,e===M?void 0:t.value[1],t)}))},c}function an(t,e,n){var r=_n(t);return r.__iterateUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterate(r,i);var a=0;return t.__iterate((function(t,i,s){return e.call(n,t,i,s)&&++a&&r(t,i,o)})),a},r.__iteratorUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterator(r,i);var a=t.__iterator(D,i),s=!0;return new N((function(){if(!s)return q();var t=a.next();if(t.done)return t;var i=t.value,u=i[0],c=i[1];return e.call(n,c,u,o)?r===D?t:z(r,u,c,t):(s=!1,q())}))},r}function sn(t,e,n,r){var i=_n(t);return i.__iterateUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterate(i,o);var s=!0,u=0;return t.__iterate((function(t,o,c){if(!s||!(s=e.call(n,t,o,c)))return u++,i(t,r?o:u-1,a)})),u},i.__iteratorUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterator(i,o);var s=t.__iterator(D,o),u=!0,c=0;return new N((function(){var t,o,l;do{if((t=s.next()).done)return r||i===P?t:z(i,c++,i===M?void 0:t.value[1],t);var f=t.value;o=f[0],l=f[1],u&&(u=e.call(n,l,o,a))}while(u);return i===D?t:z(i,o,l,t)}))},i}function un(t,e){var n=s(t),i=[t].concat(e).map((function(t){return a(t)?n&&(t=r(t)):t=n?ut(t):ct(Array.isArray(t)?t:[t]),t})).filter((function(t){return 0!==t.size}));if(0===i.length)return t;if(1===i.length){var o=i[0];if(o===t||n&&s(o)||u(t)&&u(o))return o}var c=new nt(i);return n?c=c.toKeyedSeq():u(t)||(c=c.toSetSeq()),(c=c.flatten(!0)).size=i.reduce((function(t,e){if(void 0!==t){var n=e.size;if(void 0!==n)return t+n}}),0),c}function cn(t,e,n){var r=_n(t);return r.__iterateUncached=function(r,i){var o=0,s=!1;function u(t,c){var l=this;t.__iterate((function(t,i){return(!e||c0}function gn(t,e,r){var i=_n(t);return i.size=new nt(r).map((function(t){return t.size})).min(),i.__iterate=function(t,e){for(var n,r=this.__iterator(P,e),i=0;!(n=r.next()).done&&!1!==t(n.value,i++,this););return i},i.__iteratorUncached=function(t,i){var o=r.map((function(t){return t=n(t),V(i?t.reverse():t)})),a=0,s=!1;return new N((function(){var n;return s||(n=o.map((function(t){return t.next()})),s=n.some((function(t){return t.done}))),s?q():z(t,a++,e.apply(null,n.map((function(t){return t.value}))))}))},i}function vn(t,e){return at(t)?e:t.constructor(e)}function yn(t){if(t!==Object(t))throw new TypeError("Expected [K, V] tuple: "+t)}function mn(t){return Vt(t.size),k(t)}function bn(t){return s(t)?r:u(t)?i:o}function _n(t){return Object.create((s(t)?K:u(t)?Y:X).prototype)}function wn(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):W.prototype.cacheResult.call(this)}function xn(t,e){return t>e?1:t=0;n--)e={value:arguments[n],next:e};return this.__ownerID?(this.size=t,this._head=e,this.__hash=void 0,this.__altered=!0,this):Yn(t,e)},Vn.prototype.pushAll=function(t){if(0===(t=i(t)).size)return this;Vt(t.size);var e=this.size,n=this._head;return t.reverse().forEach((function(t){e++,n={value:t,next:n}})),this.__ownerID?(this.size=e,this._head=n,this.__hash=void 0,this.__altered=!0,this):Yn(e,n)},Vn.prototype.pop=function(){return this.slice(1)},Vn.prototype.unshift=function(){return this.push.apply(this,arguments)},Vn.prototype.unshiftAll=function(t){return this.pushAll(t)},Vn.prototype.shift=function(){return this.pop.apply(this,arguments)},Vn.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Xn()},Vn.prototype.slice=function(t,e){if(E(t,e,this.size))return this;var n=j(t,this.size);if(R(e,this.size)!==this.size)return Tt.prototype.slice.call(this,t,e);for(var r=this.size-n,i=this._head;n--;)i=i.next;return this.__ownerID?(this.size=r,this._head=i,this.__hash=void 0,this.__altered=!0,this):Yn(r,i)},Vn.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?Yn(this.size,this._head,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},Vn.prototype.__iterate=function(t,e){if(e)return this.reverse().__iterate(t);for(var n=0,r=this._head;r&&!1!==t(r.value,n++,this);)r=r.next;return n},Vn.prototype.__iterator=function(t,e){if(e)return this.reverse().__iterator(t);var n=0,r=this._head;return new N((function(){if(r){var e=r.value;return r=r.next,z(t,n++,e)}return q()}))},Vn.isStack=Gn;var Jn,Wn="@@__IMMUTABLE_STACK__@@",Kn=Vn.prototype;function Yn(t,e,n,r){var i=Object.create(Kn);return i.size=t,i._head=e,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function Xn(){return Jn||(Jn=Yn(0))}function Qn(t,e){var n=function(n){t.prototype[n]=e[n]};return Object.keys(e).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(e).forEach(n),t}Kn[Wn]=!0,Kn.withMutations=Yt.withMutations,Kn.asMutable=Yt.asMutable,Kn.asImmutable=Yt.asImmutable,Kn.wasAltered=Yt.wasAltered,n.Iterator=N,Qn(n,{toArray:function(){Vt(this.size);var t=new Array(this.size||0);return this.valueSeq().__iterate((function(e,n){t[n]=e})),t},toIndexedSeq:function(){return new Ye(this)},toJS:function(){return this.toSeq().map((function(t){return t&&"function"==typeof t.toJS?t.toJS():t})).__toJS()},toJSON:function(){return this.toSeq().map((function(t){return t&&"function"==typeof t.toJSON?t.toJSON():t})).__toJS()},toKeyedSeq:function(){return new Ke(this,!0)},toMap:function(){return Gt(this.toKeyedSeq())},toObject:function(){Vt(this.size);var t={};return this.__iterate((function(e,n){t[n]=e})),t},toOrderedMap:function(){return He(this.toKeyedSeq())},toOrderedSet:function(){return Ln(s(this)?this.valueSeq():this)},toSet:function(){return jn(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Xe(this)},toSeq:function(){return u(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Vn(s(this)?this.valueSeq():this)},toList:function(){return Te(s(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(t,e){return 0===this.size?t+e:t+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+e},concat:function(){return vn(this,un(this,t.call(arguments,0)))},includes:function(t){return this.some((function(e){return mt(e,t)}))},entries:function(){return this.__iterator(D)},every:function(t,e){Vt(this.size);var n=!0;return this.__iterate((function(r,i,o){if(!t.call(e,r,i,o))return n=!1,!1})),n},filter:function(t,e){return vn(this,en(this,t,e,!0))},find:function(t,e,n){var r=this.findEntry(t,e);return r?r[1]:n},forEach:function(t,e){return Vt(this.size),this.__iterate(e?t.bind(e):t)},join:function(t){Vt(this.size),t=void 0!==t?""+t:",";var e="",n=!0;return this.__iterate((function(r){n?n=!1:e+=t,e+=null!=r?r.toString():""})),e},keys:function(){return this.__iterator(M)},map:function(t,e){return vn(this,$e(this,t,e))},reduce:function(t,e,n){var r,i;return Vt(this.size),arguments.length<2?i=!0:r=e,this.__iterate((function(e,o,a){i?(i=!1,r=e):r=t.call(n,r,e,o,a)})),r},reduceRight:function(t,e,n){var r=this.toKeyedSeq().reverse();return r.reduce.apply(r,arguments)},reverse:function(){return vn(this,tn(this,!0))},slice:function(t,e){return vn(this,on(this,t,e,!0))},some:function(t,e){return!this.every(nr(t),e)},sort:function(t){return vn(this,hn(this,t))},values:function(){return this.__iterator(P)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(t,e){return k(t?this.toSeq().filter(t,e):this)},countBy:function(t,e){return nn(this,t,e)},equals:function(t){return bt(this,t)},entrySeq:function(){var t=this;if(t._cache)return new nt(t._cache);var e=t.toSeq().map(er).toIndexedSeq();return e.fromEntrySeq=function(){return t.toSeq()},e},filterNot:function(t,e){return this.filter(nr(t),e)},findEntry:function(t,e,n){var r=n;return this.__iterate((function(n,i,o){if(t.call(e,n,i,o))return r=[i,n],!1})),r},findKey:function(t,e){var n=this.findEntry(t,e);return n&&n[0]},findLast:function(t,e,n){return this.toKeyedSeq().reverse().find(t,e,n)},findLastEntry:function(t,e,n){return this.toKeyedSeq().reverse().findEntry(t,e,n)},findLastKey:function(t,e){return this.toKeyedSeq().reverse().findKey(t,e)},first:function(){return this.find(C)},flatMap:function(t,e){return vn(this,ln(this,t,e))},flatten:function(t){return vn(this,cn(this,t,!0))},fromEntrySeq:function(){return new Qe(this)},get:function(t,e){return this.find((function(e,n){return mt(n,t)}),void 0,e)},getIn:function(t,e){for(var n,r=this,i=Sn(t);!(n=i.next()).done;){var o=n.value;if((r=r&&r.get?r.get(o,b):b)===b)return e}return r},groupBy:function(t,e){return rn(this,t,e)},has:function(t){return this.get(t,b)!==b},hasIn:function(t){return this.getIn(t,b)!==b},isSubset:function(t){return t="function"==typeof t.includes?t:n(t),this.every((function(e){return t.includes(e)}))},isSuperset:function(t){return(t="function"==typeof t.isSubset?t:n(t)).isSubset(this)},keyOf:function(t){return this.findKey((function(e){return mt(e,t)}))},keySeq:function(){return this.toSeq().map(tr).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},lastKeyOf:function(t){return this.toKeyedSeq().reverse().keyOf(t)},max:function(t){return dn(this,t)},maxBy:function(t,e){return dn(this,e,t)},min:function(t){return dn(this,t?rr(t):ar)},minBy:function(t,e){return dn(this,e?rr(e):ar,t)},rest:function(){return this.slice(1)},skip:function(t){return this.slice(Math.max(0,t))},skipLast:function(t){return vn(this,this.toSeq().reverse().skip(t).reverse())},skipWhile:function(t,e){return vn(this,sn(this,t,e,!0))},skipUntil:function(t,e){return this.skipWhile(nr(t),e)},sortBy:function(t,e){return vn(this,hn(this,e,t))},take:function(t){return this.slice(0,Math.max(0,t))},takeLast:function(t){return vn(this,this.toSeq().reverse().take(t).reverse())},takeWhile:function(t,e){return vn(this,an(this,t,e))},takeUntil:function(t,e){return this.takeWhile(nr(t),e)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=sr(this))}});var Zn=n.prototype;Zn[f]=!0,Zn[L]=Zn.values,Zn.__toJS=Zn.toArray,Zn.__toStringMapper=ir,Zn.inspect=Zn.toSource=function(){return this.toString()},Zn.chain=Zn.flatMap,Zn.contains=Zn.includes,Qn(r,{flip:function(){return vn(this,Ze(this))},mapEntries:function(t,e){var n=this,r=0;return vn(this,this.toSeq().map((function(i,o){return t.call(e,[o,i],r++,n)})).fromEntrySeq())},mapKeys:function(t,e){var n=this;return vn(this,this.toSeq().flip().map((function(r,i){return t.call(e,r,i,n)})).flip())}});var $n=r.prototype;function tr(t,e){return e}function er(t,e){return[e,t]}function nr(t){return function(){return!t.apply(this,arguments)}}function rr(t){return function(){return-t.apply(this,arguments)}}function ir(t){return"string"==typeof t?JSON.stringify(t):String(t)}function or(){return T(arguments)}function ar(t,e){return te?-1:0}function sr(t){if(t.size===1/0)return 0;var e=l(t),n=s(t),r=e?1:0;return ur(t.__iterate(n?e?function(t,e){r=31*r+cr(Et(t),Et(e))|0}:function(t,e){r=r+cr(Et(t),Et(e))|0}:e?function(t){r=31*r+Et(t)|0}:function(t){r=r+Et(t)|0}),r)}function ur(t,e){return e=At(e,3432918353),e=At(e<<15|e>>>-15,461845907),e=At(e<<13|e>>>-13,5),e=At((e=(e+3864292196|0)^t)^e>>>16,2246822507),e=Ct((e=At(e^e>>>13,3266489909))^e>>>16)}function cr(t,e){return t^e+2654435769+(t<<6)+(t>>2)|0}return $n[h]=!0,$n[L]=Zn.entries,$n.__toJS=Zn.toObject,$n.__toStringMapper=function(t,e){return JSON.stringify(e)+": "+ir(t)},Qn(i,{toKeyedSeq:function(){return new Ke(this,!1)},filter:function(t,e){return vn(this,en(this,t,e,!1))},findIndex:function(t,e){var n=this.findEntry(t,e);return n?n[0]:-1},indexOf:function(t){var e=this.keyOf(t);return void 0===e?-1:e},lastIndexOf:function(t){var e=this.lastKeyOf(t);return void 0===e?-1:e},reverse:function(){return vn(this,tn(this,!1))},slice:function(t,e){return vn(this,on(this,t,e,!1))},splice:function(t,e){var n=arguments.length;if(e=Math.max(0|e,0),0===n||2===n&&!e)return this;t=j(t,t<0?this.count():this.size);var r=this.slice(0,t);return vn(this,1===n?r:r.concat(T(arguments,2),this.slice(t+e)))},findLastIndex:function(t,e){var n=this.findLastEntry(t,e);return n?n[0]:-1},first:function(){return this.get(0)},flatten:function(t){return vn(this,cn(this,t,!1))},get:function(t,e){return(t=A(this,t))<0||this.size===1/0||void 0!==this.size&&t>this.size?e:this.find((function(e,n){return n===t}),void 0,e)},has:function(t){return(t=A(this,t))>=0&&(void 0!==this.size?this.size===1/0||t>>32-e},rotr:function(t,e){return t<<32-e|t>>>e},endian:function(t){if(t.constructor==Number)return 16711935&n.rotl(t,8)|4278255360&n.rotl(t,24);for(var e=0;e0;t--)e.push(Math.floor(256*Math.random()));return e},bytesToWords:function(t){for(var e=[],n=0,r=0;n>>5]|=t[n]<<24-r%32;return e},wordsToBytes:function(t){for(var e=[],n=0;n<32*t.length;n+=8)e.push(t[n>>>5]>>>24-n%32&255);return e},bytesToHex:function(t){for(var e=[],n=0;n>>4).toString(16)),e.push((15&t[n]).toString(16));return e.join("")},hexToBytes:function(t){for(var e=[],n=0;n>>6*(3-o)&63)):n.push("=");return n.join("")},base64ToBytes:function(t){t=t.replace(/[^A-Z0-9+\/]/gi,"");for(var n=[],r=0,i=0;r>>6-2*i);return n}},t.exports=n},"Vq8+Ip3e":function(t,exports,e){"use strict";var n=e("oaJ8xVPa").counter;t.exports={idRegex:{x:n("x","( domain)?"),y:n("y","( domain)?")},attrRegex:n("[xy]axis"),xAxisMatch:n("xaxis"),yAxisMatch:n("yaxis"),AX_ID_PATTERN:/^[xyz][0-9]*( domain)?$/,AX_NAME_PATTERN:/^[xyz]axis[0-9]*$/,SUBPLOT_PATTERN:/^x([0-9]*)y([0-9]*)$/,HOUR_PATTERN:"hour",WEEKDAY_PATTERN:"day of week",MINDRAG:8,MINSELECT:12,MINZOOM:20,DRAGGERSIZE:20,BENDPX:1.5,REDRAWDELAY:50,SELECTDELAY:100,SELECTID:"-select",DFLTRANGEX:[-1,6],DFLTRANGEY:[-1,4],traceLayerClasses:["imagelayer","heatmaplayer","contourcarpetlayer","contourlayer","funnellayer","waterfalllayer","barlayer","carpetlayer","violinlayer","boxlayer","ohlclayer","scattercarpetlayer","scatterlayer"],clipOnAxisFalseQuery:[".scatterlayer",".barlayer",".funnellayer",".waterfalllayer"],layerValue2layerClass:{"above traces":"above","below traces":"below"}}},"Vv+Cyhd5":function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r).a.createActions({list:{asyncResult:!0}});e.default=i},VyT2TXtt:function(t,exports){t.exports=function(t,e,n,r){var i,o,a,s,u,c,l,f,h,d,p,g,v,y,m,b,_,w,x,S,O,T,k,A,C=r[0],E=r[1],j=r[2],R=Math.sqrt(C*C+E*E+j*j);if(Math.abs(R)<1e-6)return null;C*=R=1/R,E*=R,j*=R,i=Math.sin(n),o=Math.cos(n),a=1-o,s=e[0],u=e[1],c=e[2],l=e[3],f=e[4],h=e[5],d=e[6],p=e[7],g=e[8],v=e[9],y=e[10],m=e[11],b=C*C*a+o,_=E*C*a+j*i,w=j*C*a-E*i,x=C*E*a-j*i,S=E*E*a+o,O=j*E*a+C*i,T=C*j*a+E*i,k=E*j*a-C*i,A=j*j*a+o,t[0]=s*b+f*_+g*w,t[1]=u*b+h*_+v*w,t[2]=c*b+d*_+y*w,t[3]=l*b+p*_+m*w,t[4]=s*x+f*S+g*O,t[5]=u*x+h*S+v*O,t[6]=c*x+d*S+y*O,t[7]=l*x+p*S+m*O,t[8]=s*T+f*k+g*A,t[9]=u*T+h*k+v*A,t[10]=c*T+d*k+y*A,t[11]=l*T+p*k+m*A,e!==t&&(t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]);return t}},"WEub+q9w":function(t,e,n){"use strict";var r=n("VPaD/Np4"),i=n("nHcjWeCO"),o=n("PZF0Nggh");function a(t,e){for(var n=0;ne}function l(t,e){return t>=e}exports.findBin=function(t,e,i){if(n(e.start))return i?Math.ceil((t-e.start)/e.size-a)-1:Math.floor((t-e.start)/e.size+a);var o,f,h=0,d=e.length,p=0,g=d>1?(e[d-1]-e[0])/(d-1):1;for(f=g>=0?i?s:u:i?l:c,t+=g*a*(i?-1:1)*(g>=0?1:-1);h90&&r.log("Long binary search..."),h-1},exports.sorterAsc=function(t,e){return t-e},exports.sorterDes=function(t,e){return e-t},exports.distinctVals=function(t,e){var n,r=(e||{}).unitMinDiff,i=t.slice();for(i.sort(exports.sorterAsc),n=i.length-1;n>-1&&i[n]===o;n--);var a=1;r||(a=i[n]-i[0]||1);for(var s,u=a/(n||1)/1e4,c=[],l=0;l<=n;l++){var f=i[l],h=f-s;void 0===s?(c.push(f),s=f):h>u&&(a=Math.min(a,h),c.push(f),s=f)}return{vals:c,minDiff:a}},exports.roundUp=function(t,e,n){for(var r,i=0,o=e.length-1,a=0,s=n?0:1,u=n?1:0,c=n?Math.ceil:Math.floor;i0&&(r=1),n&&r)return t.sort(e)}return r?t:t.reverse()},exports.findIndexOfMin=function(t,e){e=e||i;for(var n,r=1/0,o=0;o2&&void 0!==arguments[2]?arguments[2]:"server";s(this,t),this._value={type:e,plugin:r,version:n}}return c(t,[{key:"type",get:function(){return this._value.type}},{key:"plugin",get:function(){return this._value.plugin}},{key:"version",get:function(){return this._value.version}},{key:"toBuilder",value:function(){var t=this._value,e=t.type,n=t.plugin,r=t.version;return new f(i.a.Map({type:e,plugin:n,version:r}))}},{key:"toJSON",value:function(){var t=this._value,e=t.type,n=t.plugin,r=t.version;return"server"===n?{type:e,version:r}:{type:e,plugin:n,version:r}}},{key:"equals",value:function(t){return!!(t.version&&t.plugin&&t.type)&&(t.version===this.version&&t.type===this.type&&t.plugin===this.plugin)}}],[{key:"create",value:function(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"server";return new t(e,n,r)}},{key:"fromJSON",value:function(e){var n=e.type,r=e.version,i=e.plugin;return t.create(n,r,i)}},{key:"builder",value:function(){return(new f).plugin("server")}}]),t}(),f=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i.a.Map();s(this,t),this.value=e}return c(t,[{key:"type",value:function(e){return new t(this.value.set("type",e))}},{key:"plugin",value:function(e){return new t(this.value.set("plugin",e))}},{key:"version",value:function(e){return new t(this.value.set("version",e))}},{key:"build",value:function(){var t=this.value.toObject(),e=t.type,n=t.plugin,r=t.version;return new l(e,r,n)}}]),t}();function h(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function d(t,e){for(var n=0;n4&&void 0!==arguments[4]&&arguments[4],a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:[];h(this,t);var u=a.map((function(t){return t instanceof l?t:l.fromJSON(t)}));this._value={v:e,type:n,id:r,data:i,constraints:u,fromServer:o,parameters:s}}return p(t,[{key:"v",get:function(){return this._value.v}},{key:"type",get:function(){return this._value.type}},{key:"id",get:function(){return this._value.id}},{key:"data",get:function(){return this._value.data}},{key:"fromServer",get:function(){return this._value.fromServer}},{key:"constraints",get:function(){return this._value.constraints}},{key:"title",get:function(){var t=this.getValueFromData("title");return t||(t=this.getValueFromData("name")),t||""}},{key:"description",get:function(){return this.getValueFromData("description")||""}},{key:"isEntity",get:function(){return!0}},{key:"getValueFromData",value:function(t){var e=this._value.data;if(e&&e[t]){if(a.a.dataIsValueRef(e[t])){var n=(e[t]||{})[a.a.VALUE_REF_VALUE_FIELD];if(a.a.dataValueIsParameter(e[t])){var r=Object(o.findIndex)(this._value.parameters,{name:n});if(r>=0&&this._value.parameters[r].default_value)return this._value.parameters[r].default_value}return n}return e[t]}}},{key:"toBuilder",value:function(){var t=this._value,e=t.v,n=t.type,i=t.id,o=t.data,a=t.constraints,s=t.fromServer,u=t.parameters;return new v(Object(r.Map)({v:e,type:n,id:i,data:o,constraints:a,fromServer:s,parameters:u}))}},{key:"toJSON",value:function(){var t=this._value;return{v:t.v,type:t.type,id:t.id,data:t.data,constraints:t.constraints}}}],[{key:"fromJSON",value:function(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i=e.v,o=e.type,a=e.id,s=e.data,u=e.constraints;return new t(i,o,a,s,n,u,r)}},{key:Symbol.hasInstance,value:function(t){return!!t.isEntity}},{key:"builder",value:function(){return new v}}]),t}(),v=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Object(r.Map)();h(this,t),this.value=e}return p(t,[{key:"v",value:function(t){return this.value=this.value.set("v",t),this}},{key:"type",value:function(t){return this.value=this.value.set("type",t),this}},{key:"id",value:function(t){return this.value=this.value.set("id",t),this}},{key:"data",value:function(t){return this.value=this.value.set("data",t),this}},{key:"fromServer",value:function(t){return this.value=this.value.set("fromServer",t),this}},{key:"constraints",value:function(t){return this.value=this.value.set("constraints",t),this}},{key:"parameters",value:function(t){return this.value=this.value.set("parameters",t),this}},{key:"build",value:function(){var t=this.value.toObject(),e=t.v,n=t.type,r=t.id,i=t.data,o=t.constraints,a=t.fromServer,s=t.parameters;return new g(e,n,r,i,a,o,s)}}]),t}()},"X/Uj5g7g":function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r),o=n("HbbeyvOy"),a=n("8GJ6oOEd"),s=n("L+5XEiOD"),u=i.a.createStore({sourceUrl:function(t){return"/cluster/".concat(t,"/processing")},pause:function(t){var e=this;return Object(s.b)("POST",o.f("".concat(this.sourceUrl(t),"/pause"))).then((function(){e.trigger({}),a.a.success("Message processing paused successfully in '".concat(t,"'"))}),(function(e){a.a.error("Pausing message processing in '".concat(t,"' failed: ").concat(e),"Could not pause message processing in node '".concat(t,"'"))}))},resume:function(t){var e=this;return Object(s.b)("POST",o.f("".concat(this.sourceUrl(t),"/resume"))).then((function(){e.trigger({}),a.a.success("Message processing resumed successfully in '".concat(t,"'"))}),(function(e){a.a.error("Resuming message processing in '".concat(t,"' failed: ").concat(e),"Could not resume message processing in node '".concat(t,"'"))}))}});e.default=u},X4gaAC3A:function(t,exports,e){var n=e("PbfD+MHS");t.exports=function(t,e,r,i){var o,a,s,u,c,l,f,h,d,p,g=e[0],v=e[1],y=e[2],m=i[0],b=i[1],_=i[2],w=r[0],x=r[1],S=r[2];if(Math.abs(g-w)<1e-6&&Math.abs(v-x)<1e-6&&Math.abs(y-S)<1e-6)return n(t);f=g-w,h=v-x,d=y-S,p=1/Math.sqrt(f*f+h*h+d*d),o=b*(d*=p)-_*(h*=p),a=_*(f*=p)-m*d,s=m*h-b*f,(p=Math.sqrt(o*o+a*a+s*s))?(o*=p=1/p,a*=p,s*=p):(o=0,a=0,s=0);u=h*s-d*a,c=d*o-f*s,l=f*a-h*o,(p=Math.sqrt(u*u+c*c+l*l))?(u*=p=1/p,c*=p,l*=p):(u=0,c=0,l=0);return t[0]=o,t[1]=u,t[2]=f,t[3]=0,t[4]=a,t[5]=c,t[6]=h,t[7]=0,t[8]=s,t[9]=l,t[10]=d,t[11]=0,t[12]=-(o*g+a*v+s*y),t[13]=-(u*g+c*v+l*y),t[14]=-(f*g+h*v+d*y),t[15]=1,t}},XVyiyjEH:function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r),o=n("L+5XEiOD"),a=n("mR82218M"),s=n("IU8ofT4O"),u=n("HbbeyvOy"),c=n("8GJ6oOEd"),l=i.a.createStore({URL:Object(u.f)("/system/grok"),loadPatterns:function(t){return Object(o.b)("GET",this.URL).then((function(e){var n=e.patterns;return n.sort((function(t,e){return t.name.toLowerCase().localeCompare(e.name.toLowerCase())})),t(n),e}),(function(t){c.a.error("Loading Grok patterns failed with status: ".concat(t.message),"Could not load Grok patterns")}))},searchPaginated:function(t,e,n){var r=Object(a.a)(s.a.GrokPatternsController.paginated().url,t,e,n);return Object(o.b)("GET",Object(u.f)(r)).then((function(t){var e={count:t.count,total:t.total,page:t.page,perPage:t.per_page,query:n};return{patterns:t.patterns,pagination:e}})).catch((function(t){c.a.error("Loading patterns failed with status: ".concat(t),"Could not load streams")}))},testPattern:function(t,e,n){var r={grok_pattern:{name:t.name,pattern:t.pattern},sampleData:t.sampleData};Object(o.b)("POST",Object(u.f)(s.a.GrokPatternsController.test().url),r).then((function(t){return e(t),t}),(function(t){var e=t.message,r=t.additional.body;r&&r.message&&(e=t.additional.body.message),n(e)}))},savePattern:function(t,e){var n,r={id:t.id,pattern:t.pattern,name:t.name,content_pack:t.content_pack},i=this.URL;""===t.id?n="POST":(i+="/".concat(t.id),n="PUT"),Object(o.b)(n,i,r).then((function(n){e();var r=""===t.id?"created":"updated",i='Grok pattern "'.concat(t.name,'" successfully ').concat(r);return c.a.success(i),n}),(function(e){var n=e.message,r=e.additional.body;r&&r.message&&(n=e.additional.body.message),c.a.error('Testing Grok pattern "'.concat(t.name,'" failed with status: ').concat(n),"Could not test Grok pattern")}))},deletePattern:function(t,e){Object(o.b)("DELETE","".concat(this.URL,"/").concat(t.id)).then((function(n){return e(),c.a.success('Grok pattern "'.concat(t.name,'" successfully deleted')),n}),(function(e){c.a.error('Deleting Grok pattern "'.concat(t.name,'" failed with status: ').concat(e.message),"Could not delete Grok pattern")}))},bulkImport:function(t,e){var n=Object(o.e)("POST","".concat(this.URL,"?replace=").concat(String(e)),t);return n.catch((function(t){var e=t.message,n=t.additional.body;if(n&&n.validation_errors&&n.validation_errors._){e="";for(var r=n.validation_errors._,i=0,o=r.length;i0;)u(t)}function u(t){var e=t.shift();if("function"!=typeof e)e._settlePromises();else{var n=t.shift(),r=t.shift();e.call(n,r)}}a.prototype.setScheduler=function(t){var e=this._schedule;return this._schedule=t,this._customScheduler=!0,e},a.prototype.hasCustomScheduler=function(){return this._customScheduler},a.prototype.haveItemsQueued=function(){return this._isTickUsed||this._haveDrainedQueues},a.prototype.fatalError=function(t,n){n?(e.stderr.write("Fatal "+(t instanceof Error?t.stack:t)+"\n"),e.exit(2)):this.throwLater(t)},a.prototype.throwLater=function(t,e){if(1===arguments.length&&(e=t,t=function(){throw e}),"undefined"!=typeof setTimeout)setTimeout((function(){t(e)}),0);else try{this._schedule((function(){t(e)}))}catch(t){throw new Error("No async scheduler available\n\n    See http://goo.gl/MqrFmX\n")}},a.prototype.invokeLater=function(t,e,n){this._lateQueue.push(t,e,n),this._queueTick()},a.prototype.invoke=function(t,e,n){this._normalQueue.push(t,e,n),this._queueTick()},a.prototype.settlePromises=function(t){this._normalQueue._pushOne(t),this._queueTick()},a.prototype._drainQueues=function(){s(this._normalQueue),this._reset(),this._haveDrainedQueues=!0,s(this._lateQueue)},a.prototype._queueTick=function(){this._isTickUsed||(this._isTickUsed=!0,this._schedule(this.drainQueues))},a.prototype._reset=function(){this._isTickUsed=!1},n.exports=a,n.exports.firstLineError=r},{"./queue":26,"./schedule":29}],3:[function(t,e,exports){"use strict";e.exports=function(t,e,n,r){var i=!1,o=function(t,e){this._reject(e)},a=function(t,e){e.promiseRejectionQueued=!0,e.bindingPromise._then(o,o,null,this,t)},s=function(t,e){0==(50397184&this._bitField)&&this._resolveCallback(e.target)},u=function(t,e){e.promiseRejectionQueued||this._reject(t)};t.prototype.bind=function(o){i||(i=!0,t.prototype._propagateFrom=r.propagateFromFunction(),t.prototype._boundValue=r.boundValueFunction());var c=n(o),l=new t(e);l._propagateFrom(this,1);var f=this._target();if(l._setBoundTo(c),c instanceof t){var h={promiseRejectionQueued:!1,promise:l,target:f,bindingPromise:c};f._then(e,a,void 0,l,h),c._then(s,u,void 0,l,h),l._setOnCancel(c)}else l._resolveCallback(f);return l},t.prototype._setBoundTo=function(t){void 0!==t?(this._bitField=2097152|this._bitField,this._boundTo=t):this._bitField=-2097153&this._bitField},t.prototype._isBound=function(){return 2097152==(2097152&this._bitField)},t.bind=function(e,n){return t.resolve(n).bind(e)}}},{}],4:[function(t,e,exports){"use strict";var n;"undefined"!=typeof Promise&&(n=Promise);var r=t("./promise")();r.noConflict=function(){try{Promise===r&&(Promise=n)}catch(t){}return r},e.exports=r},{"./promise":22}],5:[function(t,e,exports){"use strict";var n=Object.create;if(n){var r=n(null),i=n(null);r[" size"]=i[" size"]=0}e.exports=function(e){var n=t("./util"),r=n.canEvaluate;function i(t){return function(t,r){var i;if(null!=t&&(i=t[r]),"function"!=typeof i){var o="Object "+n.classString(t)+" has no method '"+n.toString(r)+"'";throw new e.TypeError(o)}return i}(t,this.pop()).apply(t,this)}function o(t){return t[this]}function a(t){var e=+this;return e<0&&(e=Math.max(0,e+t.length)),t[e]}n.isIdentifier,e.prototype.call=function(t){var e=[].slice.call(arguments,1);return e.push(t),this._then(i,void 0,void 0,e,void 0)},e.prototype.get=function(t){var e;if("number"==typeof t)e=a;else if(r){var n=(void 0)(t);e=null!==n?n:o}else e=o;return this._then(e,void 0,void 0,t,void 0)}}},{"./util":36}],6:[function(t,e,exports){"use strict";e.exports=function(e,n,r,i){var o=t("./util"),a=o.tryCatch,s=o.errorObj,u=e._async;e.prototype.break=e.prototype.cancel=function(){if(!i.cancellation())return this._warn("cancellation is disabled");for(var t=this,e=t;t._isCancellable();){if(!t._cancelBy(e)){e._isFollowing()?e._followee().cancel():e._cancelBranched();break}var n=t._cancellationParent;if(null==n||!n._isCancellable()){t._isFollowing()?t._followee().cancel():t._cancelBranched();break}t._isFollowing()&&t._followee().cancel(),t._setWillBeCancelled(),e=t,t=n}},e.prototype._branchHasCancelled=function(){this._branchesRemainingToCancel--},e.prototype._enoughBranchesHaveCancelled=function(){return void 0===this._branchesRemainingToCancel||this._branchesRemainingToCancel<=0},e.prototype._cancelBy=function(t){return t===this?(this._branchesRemainingToCancel=0,this._invokeOnCancel(),!0):(this._branchHasCancelled(),!!this._enoughBranchesHaveCancelled()&&(this._invokeOnCancel(),!0))},e.prototype._cancelBranched=function(){this._enoughBranchesHaveCancelled()&&this._cancel()},e.prototype._cancel=function(){this._isCancellable()&&(this._setCancelled(),u.invoke(this._cancelPromises,this,void 0))},e.prototype._cancelPromises=function(){this._length()>0&&this._settlePromises()},e.prototype._unsetOnCancel=function(){this._onCancelField=void 0},e.prototype._isCancellable=function(){return this.isPending()&&!this._isCancelled()},e.prototype.isCancellable=function(){return this.isPending()&&!this.isCancelled()},e.prototype._doInvokeOnCancel=function(t,e){if(o.isArray(t))for(var n=0;n=0)return n[t]}return t.prototype._promiseCreated=function(){},t.prototype._pushContext=function(){},t.prototype._popContext=function(){return null},t._peekContext=t.prototype._peekContext=function(){},r.prototype._pushContext=function(){void 0!==this._trace&&(this._trace._promiseCreated=null,n.push(this._trace))},r.prototype._popContext=function(){if(void 0!==this._trace){var t=n.pop(),e=t._promiseCreated;return t._promiseCreated=null,e}return null},r.CapturedTrace=null,r.create=function(){if(e)return new r},r.deactivateLongStackTraces=function(){},r.activateLongStackTraces=function(){var n=t.prototype._pushContext,o=t.prototype._popContext,a=t._peekContext,s=t.prototype._peekContext,u=t.prototype._promiseCreated;r.deactivateLongStackTraces=function(){t.prototype._pushContext=n,t.prototype._popContext=o,t._peekContext=a,t.prototype._peekContext=s,t.prototype._promiseCreated=u,e=!1},e=!0,t.prototype._pushContext=r.prototype._pushContext,t.prototype._popContext=r.prototype._popContext,t._peekContext=t.prototype._peekContext=i,t.prototype._promiseCreated=function(){var t=this._peekContext();t&&null==t._promiseCreated&&(t._promiseCreated=this)}},r}},{}],9:[function(t,n,exports){"use strict";n.exports=function(n,r,i,o){var a,s,u,c,l=n._async,f=t("./errors").Warning,h=t("./util"),d=t("./es5"),p=h.canAttachTrace,g=/[\\\/]bluebird[\\\/]js[\\\/](release|debug|instrumented)/,v=/\((?:timers\.js):\d+:\d+\)/,y=/[\/<\(](.+?):(\d+):(\d+)\)?\s*$/,m=null,b=null,_=!1,w=!(0==h.env("BLUEBIRD_DEBUG")),x=!(0==h.env("BLUEBIRD_WARNINGS")||!w&&!h.env("BLUEBIRD_WARNINGS")),S=!(0==h.env("BLUEBIRD_LONG_STACK_TRACES")||!w&&!h.env("BLUEBIRD_LONG_STACK_TRACES")),O=0!=h.env("BLUEBIRD_W_FORGOTTEN_RETURN")&&(x||!!h.env("BLUEBIRD_W_FORGOTTEN_RETURN"));!function(){var t=[];function e(){for(var e=0;e0},n.prototype._setRejectionIsUnhandled=function(){this._bitField=1048576|this._bitField},n.prototype._unsetRejectionIsUnhandled=function(){this._bitField=-1048577&this._bitField,this._isUnhandledRejectionNotified()&&(this._unsetUnhandledRejectionIsNotified(),this._notifyUnhandledRejectionIsHandled())},n.prototype._isRejectionUnhandled=function(){return(1048576&this._bitField)>0},n.prototype._warn=function(t,e,n){return V(t,e,n||this)},n.onPossiblyUnhandledRejection=function(t){var e=n._getContext();s=h.contextBind(e,t)},n.onUnhandledRejectionHandled=function(t){var e=n._getContext();a=h.contextBind(e,t)};var T=function(){};n.longStackTraces=function(){if(l.haveItemsQueued()&&!rt.longStackTraces)throw new Error("cannot enable long stack traces after promises have been created\n\n    See http://goo.gl/MqrFmX\n");if(!rt.longStackTraces&&X()){var t=n.prototype._captureStackTrace,e=n.prototype._attachExtraTrace,i=n.prototype._dereferenceTrace;rt.longStackTraces=!0,T=function(){if(l.haveItemsQueued()&&!rt.longStackTraces)throw new Error("cannot enable long stack traces after promises have been created\n\n    See http://goo.gl/MqrFmX\n");n.prototype._captureStackTrace=t,n.prototype._attachExtraTrace=e,n.prototype._dereferenceTrace=i,r.deactivateLongStackTraces(),rt.longStackTraces=!1},n.prototype._captureStackTrace=q,n.prototype._attachExtraTrace=B,n.prototype._dereferenceTrace=H,r.activateLongStackTraces()}},n.hasLongStackTraces=function(){return rt.longStackTraces&&X()};var k={unhandledrejection:{before:function(){var t=h.global.onunhandledrejection;return h.global.onunhandledrejection=null,t},after:function(t){h.global.onunhandledrejection=t}},rejectionhandled:{before:function(){var t=h.global.onrejectionhandled;return h.global.onrejectionhandled=null,t},after:function(t){h.global.onrejectionhandled=t}}},A=function(){var t=function(t,e){if(!t)return!h.global.dispatchEvent(e);var n;try{return n=t.before(),!h.global.dispatchEvent(e)}finally{t.after(n)}};try{if("function"==typeof CustomEvent){var e=new CustomEvent("CustomEvent");return h.global.dispatchEvent(e),function(e,n){e=e.toLowerCase();var r=new CustomEvent(e,{detail:n,cancelable:!0});return d.defineProperty(r,"promise",{value:n.promise}),d.defineProperty(r,"reason",{value:n.reason}),t(k[e],r)}}return"function"==typeof Event?(e=new Event("CustomEvent"),h.global.dispatchEvent(e),function(e,n){e=e.toLowerCase();var r=new Event(e,{cancelable:!0});return r.detail=n,d.defineProperty(r,"promise",{value:n.promise}),d.defineProperty(r,"reason",{value:n.reason}),t(k[e],r)}):((e=document.createEvent("CustomEvent")).initCustomEvent("testingtheevent",!1,!0,{}),h.global.dispatchEvent(e),function(e,n){e=e.toLowerCase();var r=document.createEvent("CustomEvent");return r.initCustomEvent(e,!1,!0,n),t(k[e],r)})}catch(t){}return function(){return!1}}(),C=h.isNode?function(){return e.emit.apply(e,arguments)}:h.global?function(t){var e="on"+t.toLowerCase(),n=h.global[e];return!!n&&(n.apply(h.global,[].slice.call(arguments,1)),!0)}:function(){return!1};function E(t,e){return{promise:e}}var j={promiseCreated:E,promiseFulfilled:E,promiseRejected:E,promiseResolved:E,promiseCancelled:E,promiseChained:function(t,e,n){return{promise:e,child:n}},warning:function(t,e){return{warning:e}},unhandledRejection:function(t,e,n){return{reason:e,promise:n}},rejectionHandled:E},R=function(t){var e=!1;try{e=C.apply(null,arguments)}catch(t){l.throwLater(t),e=!0}var n=!1;try{n=A(t,j[t].apply(null,arguments))}catch(t){l.throwLater(t),n=!0}return n||e};function I(){return!1}function M(t,e,n){var r=this;try{t(e,n,(function(t){if("function"!=typeof t)throw new TypeError("onCancel must be a function, got: "+h.toString(t));r._attachCancellationCallback(t)}))}catch(t){return t}}function P(t){if(!this._isCancellable())return this;var e=this._onCancel();void 0!==e?h.isArray(e)?e.push(t):this._setOnCancel([e,t]):this._setOnCancel(t)}function D(){return this._onCancelField}function U(t){this._onCancelField=t}function F(){this._cancellationParent=void 0,this._onCancelField=void 0}function L(t,e){if(0!=(1&e)){this._cancellationParent=t;var n=t._branchesRemainingToCancel;void 0===n&&(n=0),t._branchesRemainingToCancel=n+1}0!=(2&e)&&t._isBound()&&this._setBoundTo(t._boundTo)}n.config=function(t){if("longStackTraces"in(t=Object(t))&&(t.longStackTraces?n.longStackTraces():!t.longStackTraces&&n.hasLongStackTraces()&&T()),"warnings"in t){var e=t.warnings;rt.warnings=!!e,O=rt.warnings,h.isObject(e)&&"wForgottenReturn"in e&&(O=!!e.wForgottenReturn)}if("cancellation"in t&&t.cancellation&&!rt.cancellation){if(l.haveItemsQueued())throw new Error("cannot enable cancellation after promises are in use");n.prototype._clearCancellationData=F,n.prototype._propagateFrom=L,n.prototype._onCancel=D,n.prototype._setOnCancel=U,n.prototype._attachCancellationCallback=P,n.prototype._execute=M,N=L,rt.cancellation=!0}if("monitoring"in t&&(t.monitoring&&!rt.monitoring?(rt.monitoring=!0,n.prototype._fireEvent=R):!t.monitoring&&rt.monitoring&&(rt.monitoring=!1,n.prototype._fireEvent=I)),"asyncHooks"in t&&h.nodeSupportsAsyncResource){var r=rt.asyncHooks,a=!!t.asyncHooks;r!==a&&(rt.asyncHooks=a,a?i():o())}return n},n.prototype._fireEvent=I,n.prototype._execute=function(t,e,n){try{t(e,n)}catch(t){return t}},n.prototype._onCancel=function(){},n.prototype._setOnCancel=function(t){},n.prototype._attachCancellationCallback=function(t){},n.prototype._captureStackTrace=function(){},n.prototype._attachExtraTrace=function(){},n.prototype._dereferenceTrace=function(){},n.prototype._clearCancellationData=function(){},n.prototype._propagateFrom=function(t,e){};var N=function(t,e){0!=(2&e)&&t._isBound()&&this._setBoundTo(t._boundTo)};function z(){var t=this._boundTo;return void 0!==t&&t instanceof n?t.isFulfilled()?t.value():void 0:t}function q(){this._trace=new et(this._peekContext())}function B(t,e){if(p(t)){var n=this._trace;if(void 0!==n&&e&&(n=n._parent),void 0!==n)n.attachExtraTrace(t);else if(!t.__stackCleaned__){var r=J(t);h.notEnumerableProp(t,"stack",r.message+"\n"+r.stack.join("\n")),h.notEnumerableProp(t,"__stackCleaned__",!0)}}}function H(){this._trace=void 0}function V(t,e,r){if(rt.warnings){var i,o=new f(t);if(e)r._attachExtraTrace(o);else if(rt.longStackTraces&&(i=n._peekContext()))i.attachExtraTrace(o);else{var a=J(o);o.stack=a.message+"\n"+a.stack.join("\n")}R("warning",o)||W(o,"",!0)}}function G(t){for(var e=[],n=0;n0?function(t){for(var e=t.stack.replace(/\s+$/g,"").split("\n"),n=0;n0&&"SyntaxError"!=t.name&&(e=e.slice(n)),e}(t):["    (No stack trace)"],{message:n,stack:"SyntaxError"==t.name?e:G(e)}}function W(t,e,n){if("undefined"!=typeof console){var r;if(h.isObject(t)){var i=t.stack;r=e+b(i,t)}else r=e+String(t);"function"==typeof u?u(r,n):"function"!=typeof console.log&&"object"!=typeof console.log||console.log(r)}}function K(t,e,n,r){var i=!1;try{"function"==typeof e&&(i=!0,"rejectionHandled"===t?e(r):e(n,r))}catch(t){l.throwLater(t)}"unhandledRejection"===t?R(t,n,r)||i||W(n,"Unhandled rejection "):R(t,r)}function Y(t){var e;if("function"==typeof t)e="[function "+(t.name||"anonymous")+"]";else{if(e=t&&"function"==typeof t.toString?t.toString():h.toString(t),/\[object [a-zA-Z0-9$_]+\]/.test(e))try{e=JSON.stringify(t)}catch(t){}0===e.length&&(e="(empty array)")}return"(<"+function(t){var e=41;return t.length, no stack trace)"}function X(){return"function"==typeof nt}var Q=function(){return!1},Z=/[\/<\(]([^:\/]+):(\d+):(?:\d+)\)?\s*$/;function tt(t){var e=t.match(Z);if(e)return{fileName:e[1],line:parseInt(e[2],10)}}function et(t){this._parent=t,this._promisesCreated=0;var e=this._length=1+(void 0===t?0:t._length);nt(this,et),e>32&&this.uncycle()}h.inherits(et,Error),r.CapturedTrace=et,et.prototype.uncycle=function(){var t=this._length;if(!(t<2)){for(var e=[],n={},r=0,i=this;void 0!==i;++r)e.push(i),i=i._parent;for(r=(t=this._length=r)-1;r>=0;--r){var o=e[r].stack;void 0===n[o]&&(n[o]=r)}for(r=0;r0&&(e[a-1]._parent=void 0,e[a-1]._length=1),e[r]._parent=void 0,e[r]._length=1;var s=r>0?e[r-1]:this;a=0;--c)e[c]._length=u,u++;return}}}},et.prototype.attachExtraTrace=function(t){if(!t.__stackCleaned__){this.uncycle();for(var e=J(t),n=e.message,r=[e.stack],i=this;void 0!==i;)r.push(G(i.stack.split("\n"))),i=i._parent;!function(t){for(var e=t[0],n=1;n=0;--s)if(r[s]===o){a=s;break}for(s=a;s>=0;--s){var u=r[s];if(e[i]!==u)break;e.pop(),i--}e=r}}(r),function(t){for(var e=0;e=0)return m=/@/,b=e,_=!0,function(t){t.stack=(new Error).stack};try{throw new Error}catch(t){r="stack"in t}return!("stack"in i)&&r&&"number"==typeof Error.stackTraceLimit?(m=t,b=e,function(t){Error.stackTraceLimit+=6;try{throw new Error}catch(e){t.stack=e.stack}Error.stackTraceLimit-=6}):(b=function(t,e){return"string"==typeof t?t:"object"!=typeof e&&"function"!=typeof e||void 0===e.name||void 0===e.message?Y(e):e.toString()},null)}();"undefined"!=typeof console&&void 0!==console.warn&&(u=function(t){console.warn(t)},h.isNode&&e.stderr.isTTY?u=function(t,e){var n=e?"":"";console.warn(n+t+"\n")}:h.isNode||"string"!=typeof(new Error).stack||(u=function(t,e){console.warn("%c"+t,e?"color: darkorange":"color: red")}));var rt={warnings:x,longStackTraces:!1,cancellation:!1,monitoring:!1,asyncHooks:!1};return S&&n.longStackTraces(),{asyncHooks:function(){return rt.asyncHooks},longStackTraces:function(){return rt.longStackTraces},warnings:function(){return rt.warnings},cancellation:function(){return rt.cancellation},monitoring:function(){return rt.monitoring},propagateFromFunction:function(){return N},boundValueFunction:function(){return z},checkForgottenReturns:function(t,e,n,r,i){if(void 0===t&&null!==e&&O){if(void 0!==i&&i._returnedNonUndefined())return;if(0==(65535&r._bitField))return;n&&(n+=" ");var o="",a="";if(e._trace){for(var s=e._trace.stack.split("\n"),u=G(s),c=u.length-1;c>=0;--c){var l=u[c];if(!v.test(l)){var f=l.match(y);f&&(o="at "+f[1]+":"+f[2]+":"+f[3]+" ");break}}if(u.length>0){var h=u[0];for(c=0;c0&&(a="\n"+s[c-1]);break}}}var d="a promise was created in a "+n+"handler "+o+"but was not returned from it, see http://goo.gl/rRqMUw"+a;r._warn(d,!0,e)}},setBounds:function(t,e){if(X()){for(var n,r,i=(t.stack||"").split("\n"),o=(e.stack||"").split("\n"),a=-1,s=-1,u=0;u=s||(Q=function(t){if(g.test(t))return!0;var e=tt(t);return!!(e&&e.fileName===n&&a<=e.line&&e.line<=s)})}},warn:V,deprecated:function(t,e){var n=t+" is deprecated and will be removed in a future version.";return e&&(n+=" Use "+e+" instead."),V(n)},CapturedTrace:et,fireDomEvent:A,fireGlobalEvent:C}}},{"./errors":12,"./es5":13,"./util":36}],10:[function(t,e,exports){"use strict";e.exports=function(t){function e(){return this.value}function n(){throw this.reason}t.prototype.return=t.prototype.thenReturn=function(n){return n instanceof t&&n.suppressUnhandledRejections(),this._then(e,void 0,void 0,{value:n},void 0)},t.prototype.throw=t.prototype.thenThrow=function(t){return this._then(n,void 0,void 0,{reason:t},void 0)},t.prototype.catchThrow=function(t){if(arguments.length<=1)return this._then(void 0,n,void 0,{reason:t},void 0);var e=arguments[1],r=function(){throw e};return this.caught(t,r)},t.prototype.catchReturn=function(n){if(arguments.length<=1)return n instanceof t&&n.suppressUnhandledRejections(),this._then(void 0,e,void 0,{value:n},void 0);var r=arguments[1];r instanceof t&&r.suppressUnhandledRejections();var i=function(){return r};return this.caught(n,i)}}},{}],11:[function(t,e,exports){"use strict";e.exports=function(t,e){var n=t.reduce,r=t.all;function i(){return r(this)}t.prototype.each=function(t){return n(this,t,e,0)._then(i,void 0,void 0,this,void 0)},t.prototype.mapSeries=function(t){return n(this,t,e,e)},t.each=function(t,r){return n(t,r,e,0)._then(i,void 0,void 0,t,void 0)},t.mapSeries=function(t,r){return n(t,r,e,e)}}},{}],12:[function(t,e,exports){"use strict";var n,r,i=t("./es5"),o=i.freeze,a=t("./util"),s=a.inherits,u=a.notEnumerableProp;function c(t,e){function n(r){if(!(this instanceof n))return new n(r);u(this,"message","string"==typeof r?r:e),u(this,"name",t),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):Error.call(this)}return s(n,Error),n}var l=c("Warning","warning"),f=c("CancellationError","cancellation error"),h=c("TimeoutError","timeout error"),d=c("AggregateError","aggregate error");try{n=TypeError,r=RangeError}catch(t){n=c("TypeError","type error"),r=c("RangeError","range error")}for(var p="join pop push shift unshift slice filter forEach some every map indexOf lastIndexOf reduce reduceRight sort reverse".split(" "),g=0;g1?t.cancelPromise._reject(e):t.cancelPromise._cancel(),t.cancelPromise=null,!0)}function f(){return d.call(this,this.promise._target()._settledValue())}function h(t){if(!l(this,t))return a.e=t,a}function d(t){var i=this.promise,s=this.handler;if(!this.called){this.called=!0;var u=this.isFinallyHandler()?s.call(i._boundValue()):s.call(i._boundValue(),t);if(u===r)return u;if(void 0!==u){i._setReturnedNonUndefined();var d=n(u,i);if(d instanceof e){if(null!=this.cancelPromise){if(d._isCancelled()){var p=new o("late cancellation observer");return i._attachExtraTrace(p),a.e=p,a}d.isPending()&&d._attachCancellationCallback(new c(this))}return d._then(f,h,void 0,this,void 0)}}}return i.isRejected()?(l(this),a.e=t,a):(l(this),t)}return u.prototype.isFinallyHandler=function(){return 0===this.type},c.prototype._resultCancelled=function(){l(this.finallyHandler)},e.prototype._passThrough=function(t,e,n,r){return"function"!=typeof t?this.then():this._then(n,r,void 0,new u(this,e,t),void 0)},e.prototype.lastly=e.prototype.finally=function(t){return this._passThrough(t,0,d,d)},e.prototype.tap=function(t){return this._passThrough(t,1,d)},e.prototype.tapCatch=function(t){var n=arguments.length;if(1===n)return this._passThrough(t,1,void 0,d);var r,o=new Array(n-1),a=0;for(r=0;r0&&"function"==typeof arguments[e]&&(t=arguments[e]);var r=[].slice.call(arguments);t&&r.pop();var i=new n(r).promise();return void 0!==t?i.spread(t):i}}},{"./util":36}],18:[function(t,e,exports){"use strict";e.exports=function(e,n,r,i,o,a){var s=t("./util"),u=s.tryCatch,c=s.errorObj,l=e._async;function f(t,n,r,i){this.constructor$(t),this._promise._captureStackTrace();var a=e._getContext();if(this._callback=s.contextBind(a,n),this._preservedValues=i===o?new Array(this.length()):null,this._limit=r,this._inFlight=0,this._queue=[],l.invoke(this._asyncInit,this,void 0),s.isArray(t))for(var u=0;u=1?a:0,o).promise()}s.inherits(f,n),f.prototype._asyncInit=function(){this._init$(void 0,-2)},f.prototype._init=function(){},f.prototype._promiseFulfilled=function(t,n){var r=this._values,o=this.length(),s=this._preservedValues,l=this._limit;if(n<0){if(r[n=-1*n-1]=t,l>=1&&(this._inFlight--,this._drainQueue(),this._isResolved()))return!0}else{if(l>=1&&this._inFlight>=l)return r[n]=t,this._queue.push(n),!1;null!==s&&(s[n]=t);var f=this._promise,h=this._callback,d=f._boundValue();f._pushContext();var p=u(h).call(d,t,n,o),g=f._popContext();if(a.checkForgottenReturns(p,g,null!==s?"Promise.filter":"Promise.map",f),p===c)return this._reject(p.e),!0;var v=i(p,this._promise);if(v instanceof e){var y=(v=v._target())._bitField;if(0==(50397184&y))return l>=1&&this._inFlight++,r[n]=v,v._proxy(this,-1*(n+1)),!1;if(0==(33554432&y))return 0!=(16777216&y)?(this._reject(v._reason()),!0):(this._cancel(),!0);p=v._value()}r[n]=p}return++this._totalResolved>=o&&(null!==s?this._filter(r,s):this._resolve(r),!0)},f.prototype._drainQueue=function(){for(var t=this._queue,e=this._limit,n=this._values;t.length>0&&this._inFlight1){o.deprecated("calling Promise.try with more than 1 argument");var c=arguments[1],l=arguments[2];r=a.isArray(c)?s(t).apply(l,c):s(t).call(l,c)}else r=s(t)();var f=u._popContext();return o.checkForgottenReturns(r,f,"Promise.try",u),u._resolveFromSyncValue(r),u},e.prototype._resolveFromSyncValue=function(t){t===a.errorObj?this._rejectCallback(t.e,!1):this._resolveCallback(t,!0)}}},{"./util":36}],20:[function(t,e,exports){"use strict";var n=t("./util"),r=n.maybeWrapAsError,i=t("./errors").OperationalError,o=t("./es5"),a=/^(?:name|message|stack|cause)$/;function s(t){var e;if(function(t){return t instanceof Error&&o.getPrototypeOf(t)===Error.prototype}(t)){(e=new i(t)).name=t.name,e.message=t.message,e.stack=t.stack;for(var r=o.keys(t),s=0;s1){var n,r=new Array(e-1),i=0;for(n=0;n0&&"function"!=typeof t&&"function"!=typeof e){var n=".then() only accepts functions but was passed: "+u.classString(t);arguments.length>1&&(n+=", "+u.classString(e)),this._warn(n)}return this._then(t,e,void 0,void 0,void 0)},M.prototype.done=function(t,e){this._then(t,e,void 0,void 0,void 0)._setIsFinal()},M.prototype.spread=function(t){return"function"!=typeof t?o("expecting a function but got "+u.classString(t)):this.all()._then(t,void 0,void 0,w,void 0)},M.prototype.toJSON=function(){var t={isFulfilled:!1,isRejected:!1,fulfillmentValue:void 0,rejectionReason:void 0};return this.isFulfilled()?(t.fulfillmentValue=this.value(),t.isFulfilled=!0):this.isRejected()&&(t.rejectionReason=this.reason(),t.isRejected=!0),t},M.prototype.all=function(){return arguments.length>0&&this._warn(".all() was passed arguments but it does not take any"),new O(this).promise()},M.prototype.error=function(t){return this.caught(u.originatesFromRejection,t)},M.getNewLibraryCopy=n.exports,M.is=function(t){return t instanceof M},M.fromNode=M.fromCallback=function(t){var e=new M(_);e._captureStackTrace();var n=arguments.length>1&&!!Object(arguments[1]).multiArgs,r=I(t)(j(e,n));return r===R&&e._rejectCallback(r.e,!0),e._isFateSealed()||e._setAsyncGuaranteed(),e},M.all=function(t){return new O(t).promise()},M.cast=function(t){var e=S(t);return e instanceof M||((e=new M(_))._captureStackTrace(),e._setFulfilled(),e._rejectionHandler0=t),e},M.resolve=M.fulfilled=M.cast,M.reject=M.rejected=function(t){var e=new M(_);return e._captureStackTrace(),e._rejectCallback(t,!0),e},M.setScheduler=function(t){if("function"!=typeof t)throw new m("expecting a function but got "+u.classString(t));return v.setScheduler(t)},M.prototype._then=function(t,e,n,r,i){var o=void 0!==i,a=o?i:new M(_),s=this._target(),c=s._bitField;o||(a._propagateFrom(this,3),a._captureStackTrace(),void 0===r&&0!=(2097152&this._bitField)&&(r=0!=(50397184&c)?this._boundValue():s===this?void 0:this._boundTo),this._fireEvent("promiseChained",this,a));var l=d();if(0!=(50397184&c)){var f,h,p=s._settlePromiseCtx;0!=(33554432&c)?(h=s._rejectionHandler0,f=t):0!=(16777216&c)?(h=s._fulfillmentHandler0,f=e,s._unsetRejectionIsUnhandled()):(p=s._settlePromiseLateCancellationObserver,h=new b("late cancellation observer"),s._attachExtraTrace(h),f=e),v.invoke(p,s,{handler:u.contextBind(l,f),promise:a,receiver:r,value:h})}else s._addCallbacks(t,e,a,r,l);return a},M.prototype._length=function(){return 65535&this._bitField},M.prototype._isFateSealed=function(){return 0!=(117506048&this._bitField)},M.prototype._isFollowing=function(){return 67108864==(67108864&this._bitField)},M.prototype._setLength=function(t){this._bitField=-65536&this._bitField|65535&t},M.prototype._setFulfilled=function(){this._bitField=33554432|this._bitField,this._fireEvent("promiseFulfilled",this)},M.prototype._setRejected=function(){this._bitField=16777216|this._bitField,this._fireEvent("promiseRejected",this)},M.prototype._setFollowing=function(){this._bitField=67108864|this._bitField,this._fireEvent("promiseResolved",this)},M.prototype._setIsFinal=function(){this._bitField=4194304|this._bitField},M.prototype._isFinal=function(){return(4194304&this._bitField)>0},M.prototype._unsetCancelled=function(){this._bitField=-65537&this._bitField},M.prototype._setCancelled=function(){this._bitField=65536|this._bitField,this._fireEvent("promiseCancelled",this)},M.prototype._setWillBeCancelled=function(){this._bitField=8388608|this._bitField},M.prototype._setAsyncGuaranteed=function(){if(!v.hasCustomScheduler()){var t=this._bitField;this._bitField=t|(536870912&t)>>2^134217728}},M.prototype._setNoAsyncGuarantee=function(){this._bitField=-134217729&(536870912|this._bitField)},M.prototype._receiverAt=function(t){var e=0===t?this._receiver0:this[4*t-4+3];if(e!==s)return void 0===e&&this._isBound()?this._boundValue():e},M.prototype._promiseAt=function(t){return this[4*t-4+2]},M.prototype._fulfillmentHandlerAt=function(t){return this[4*t-4+0]},M.prototype._rejectionHandlerAt=function(t){return this[4*t-4+1]},M.prototype._boundValue=function(){},M.prototype._migrateCallback0=function(t){t._bitField;var e=t._fulfillmentHandler0,n=t._rejectionHandler0,r=t._promise0,i=t._receiverAt(0);void 0===i&&(i=s),this._addCallbacks(e,n,r,i,null)},M.prototype._migrateCallbackAt=function(t,e){var n=t._fulfillmentHandlerAt(e),r=t._rejectionHandlerAt(e),i=t._promiseAt(e),o=t._receiverAt(e);void 0===o&&(o=s),this._addCallbacks(n,r,i,o,null)},M.prototype._addCallbacks=function(t,e,n,r,i){var o=this._length();if(o>=65531&&(o=0,this._setLength(0)),0===o)this._promise0=n,this._receiver0=r,"function"==typeof t&&(this._fulfillmentHandler0=u.contextBind(i,t)),"function"==typeof e&&(this._rejectionHandler0=u.contextBind(i,e));else{var a=4*o-4;this[a+2]=n,this[a+3]=r,"function"==typeof t&&(this[a+0]=u.contextBind(i,t)),"function"==typeof e&&(this[a+1]=u.contextBind(i,e))}return this._setLength(o+1),o},M.prototype._proxy=function(t,e){this._addCallbacks(void 0,void 0,e,t,null)},M.prototype._resolveCallback=function(t,e){if(0==(117506048&this._bitField)){if(t===this)return this._rejectCallback(r(),!1);var n=S(t,this);if(!(n instanceof M))return this._fulfill(t);e&&this._propagateFrom(n,2);var i=n._target();if(i!==this){var o=i._bitField;if(0==(50397184&o)){var a=this._length();a>0&&i._migrateCallback0(this);for(var s=1;s>>16)){if(t===this){var n=r();return this._attachExtraTrace(n),this._reject(n)}this._setFulfilled(),this._rejectionHandler0=t,(65535&e)>0&&(0!=(134217728&e)?this._settlePromises():v.settlePromises(this),this._dereferenceTrace())}},M.prototype._reject=function(t){var e=this._bitField;if(!((117506048&e)>>>16)){if(this._setRejected(),this._fulfillmentHandler0=t,this._isFinal())return v.fatalError(t,u.isNode);(65535&e)>0?v.settlePromises(this):this._ensurePossibleRejectionHandled()}},M.prototype._fulfillPromises=function(t,e){for(var n=1;n0){if(0!=(16842752&t)){var n=this._fulfillmentHandler0;this._settlePromise0(this._rejectionHandler0,n,t),this._rejectPromises(e,n)}else{var r=this._rejectionHandler0;this._settlePromise0(this._fulfillmentHandler0,r,t),this._fulfillPromises(e,r)}this._setLength(0)}this._clearCancellationData()},M.prototype._settledValue=function(){var t=this._bitField;return 0!=(33554432&t)?this._rejectionHandler0:0!=(16777216&t)?this._fulfillmentHandler0:void 0},"undefined"!=typeof Symbol&&Symbol.toStringTag&&p.defineProperty(M.prototype,Symbol.toStringTag,{get:function(){return"Object"}}),M.defer=M.pending=function(){return A.deprecated("Promise.defer","new Promise"),{promise:new M(_),resolve:P,reject:D}},u.notEnumerableProp(M,"_makeSelfResolutionError",r),t("./method")(M,_,S,o,A),t("./bind")(M,_,S,A),t("./cancel")(M,O,o,A),t("./direct_resolve")(M),t("./synchronous_inspection")(M),t("./join")(M,O,S,_,v),M.Promise=M,M.version="3.7.2",t("./call_get.js")(M),t("./generators.js")(M,o,_,S,a,A),t("./map.js")(M,O,o,S,_,A),t("./nodeify.js")(M),t("./promisify.js")(M,_),t("./props.js")(M,O,S,o),t("./race.js")(M,_,S,o),t("./reduce.js")(M,O,o,S,_,A),t("./settle.js")(M,O,A),t("./some.js")(M,O,o),t("./timers.js")(M,_,A),t("./using.js")(M,o,S,k,_,A),t("./any.js")(M),t("./each.js")(M,_),t("./filter.js")(M,_),u.toFastProperties(M),u.toFastProperties(M.prototype),U({a:1}),U({b:2}),U({c:3}),U(1),U((function(){})),U(void 0),U(!1),U(new M(_)),A.setBounds(g.firstLineError,u.lastLineError),M}},{"./any.js":1,"./async":2,"./bind":3,"./call_get.js":5,"./cancel":6,"./catch_filter":7,"./context":8,"./debuggability":9,"./direct_resolve":10,"./each.js":11,"./errors":12,"./es5":13,"./filter.js":14,"./finally":15,"./generators.js":16,"./join":17,"./map.js":18,"./method":19,"./nodeback":20,"./nodeify.js":21,"./promise_array":23,"./promisify.js":24,"./props.js":25,"./race.js":27,"./reduce.js":28,"./settle.js":30,"./some.js":31,"./synchronous_inspection":32,"./thenables":33,"./timers.js":34,"./using.js":35,"./util":36,async_hooks:void 0}],23:[function(t,e,exports){"use strict";e.exports=function(e,n,r,i,o){var a=t("./util");function s(t){var r=this._promise=new e(n);t instanceof e&&(r._propagateFrom(t,3),t.suppressUnhandledRejections()),r._setOnCancel(this),this._values=t,this._length=0,this._totalResolved=0,this._init(void 0,-2)}return a.isArray,a.inherits(s,o),s.prototype.length=function(){return this._length},s.prototype.promise=function(){return this._promise},s.prototype._init=function t(n,o){var s=r(this._values,this._promise);if(s instanceof e){var u=(s=s._target())._bitField;if(this._values=s,0==(50397184&u))return this._promise._setAsyncGuaranteed(),s._then(t,this._reject,void 0,this,o);if(0==(33554432&u))return 0!=(16777216&u)?this._reject(s._reason()):this._cancel();s=s._value()}if(null!==(s=a.asArray(s)))0!==s.length?this._iterate(s):-5===o?this._resolveEmptyArray():this._resolve(function(t){switch(t){case-2:return[];case-3:return{};case-6:return new Map}}(o));else{var c=i("expecting an array or an iterable object but got "+a.classString(s)).reason();this._promise._rejectCallback(c,!1)}},s.prototype._iterate=function(t){var n=this.getActualLength(t.length);this._length=n,this._values=this.shouldCopyValues()?new Array(n):this._values;for(var i=this._promise,o=!1,a=null,s=0;s=this._length&&(this._resolve(this._values),!0)},s.prototype._promiseCancelled=function(){return this._cancel(),!0},s.prototype._promiseRejected=function(t){return this._totalResolved++,this._reject(t),!0},s.prototype._resultCancelled=function(){if(!this._isResolved()){var t=this._values;if(this._cancel(),t instanceof e)t.cancel();else for(var n=0;n=this._length){var n;if(this._isMap)n=function(t){for(var e=new o,n=t.length/2|0,r=0;r>1},e.prototype.props=function(){return f(this)},e.props=function(t){return f(t)}}},{"./es5":13,"./util":36}],26:[function(t,e,exports){"use strict";function n(t){this._capacity=t,this._length=0,this._front=0}n.prototype._willBeOverCapacity=function(t){return this._capacity=this._length&&(this._resolve(this._values),!0)},o.prototype._promiseFulfilled=function(t,e){var n=new i;return n._bitField=33554432,n._settledValueField=t,this._promiseResolved(e,n)},o.prototype._promiseRejected=function(t,e){var n=new i;return n._bitField=16777216,n._settledValueField=t,this._promiseResolved(e,n)},e.settle=function(t){return r.deprecated(".settle()",".reflect()"),new o(t).promise()},e.allSettled=function(t){return new o(t).promise()},e.prototype.settle=function(){return e.settle(this)}}},{"./util":36}],31:[function(t,e,exports){"use strict";e.exports=function(e,n,r){var i=t("./util"),o=t("./errors").RangeError,a=t("./errors").AggregateError,s=i.isArray,u={};function c(t){this.constructor$(t),this._howMany=0,this._unwrap=!1,this._initialized=!1}function l(t,e){if((0|e)!==e||e<0)return r("expecting a positive integer\n\n    See http://goo.gl/MqrFmX\n");var n=new c(t),i=n.promise();return n.setHowMany(e),n.init(),i}i.inherits(c,n),c.prototype._init=function(){if(this._initialized)if(0!==this._howMany){this._init$(void 0,-5);var t=s(this._values);!this._isResolved()&&t&&this._howMany>this._canPossiblyFulfill()&&this._reject(this._getRangeError(this.length()))}else this._resolve([])},c.prototype.init=function(){this._initialized=!0,this._init()},c.prototype.setUnwrap=function(){this._unwrap=!0},c.prototype.howMany=function(){return this._howMany},c.prototype.setHowMany=function(t){this._howMany=t},c.prototype._promiseFulfilled=function(t){return this._addFulfilled(t),this._fulfilled()===this.howMany()&&(this._values.length=this.howMany(),1===this.howMany()&&this._unwrap?this._resolve(this._values[0]):this._resolve(this._values),!0)},c.prototype._promiseRejected=function(t){return this._addRejected(t),this._checkOutcome()},c.prototype._promiseCancelled=function(){return this._values instanceof e||null==this._values?this._cancel():(this._addRejected(u),this._checkOutcome())},c.prototype._checkOutcome=function(){if(this.howMany()>this._canPossiblyFulfill()){for(var t=new a,e=this.length();e0?this._reject(t):this._cancel(),!0}return!1},c.prototype._fulfilled=function(){return this._totalResolved},c.prototype._rejected=function(){return this._values.length-this.length()},c.prototype._addRejected=function(t){this._values.push(t)},c.prototype._addFulfilled=function(t){this._values[this._totalResolved++]=t},c.prototype._canPossiblyFulfill=function(){return this.length()-this._rejected()},c.prototype._getRangeError=function(t){var e="Input array must contain at least "+this._howMany+" items but contains only "+t+" items";return new o(e)},c.prototype._resolveEmptyArray=function(){this._reject(this._getRangeError(0))},e.some=function(t,e){return l(t,e)},e.prototype.some=function(t){return l(this,t)},e._SomePromiseArray=c}},{"./errors":12,"./util":36}],32:[function(t,e,exports){"use strict";e.exports=function(t){function e(t){void 0!==t?(t=t._target(),this._bitField=t._bitField,this._settledValueField=t._isFateSealed()?t._settledValue():void 0):(this._bitField=0,this._settledValueField=void 0)}e.prototype._settledValue=function(){return this._settledValueField};var n=e.prototype.value=function(){if(!this.isFulfilled())throw new TypeError("cannot get fulfillment value of a non-fulfilled promise\n\n    See http://goo.gl/MqrFmX\n");return this._settledValue()},r=e.prototype.error=e.prototype.reason=function(){if(!this.isRejected())throw new TypeError("cannot get rejection reason of a non-rejected promise\n\n    See http://goo.gl/MqrFmX\n");return this._settledValue()},i=e.prototype.isFulfilled=function(){return 0!=(33554432&this._bitField)},o=e.prototype.isRejected=function(){return 0!=(16777216&this._bitField)},a=e.prototype.isPending=function(){return 0==(50397184&this._bitField)},s=e.prototype.isResolved=function(){return 0!=(50331648&this._bitField)};e.prototype.isCancelled=function(){return 0!=(8454144&this._bitField)},t.prototype.__isCancelled=function(){return 65536==(65536&this._bitField)},t.prototype._isCancelled=function(){return this._target().__isCancelled()},t.prototype.isCancelled=function(){return 0!=(8454144&this._target()._bitField)},t.prototype.isPending=function(){return a.call(this._target())},t.prototype.isRejected=function(){return o.call(this._target())},t.prototype.isFulfilled=function(){return i.call(this._target())},t.prototype.isResolved=function(){return s.call(this._target())},t.prototype.value=function(){return n.call(this._target())},t.prototype.reason=function(){var t=this._target();return t._unsetRejectionIsUnhandled(),r.call(t)},t.prototype._value=function(){return this._settledValue()},t.prototype._reason=function(){return this._unsetRejectionIsUnhandled(),this._settledValue()},t.PromiseInspection=e}},{}],33:[function(t,e,exports){"use strict";e.exports=function(e,n){var r=t("./util"),i=r.errorObj,o=r.isObject,a={}.hasOwnProperty;return function(t,s){if(o(t)){if(t instanceof e)return t;var u=function(t){try{return function(t){return t.then}(t)}catch(t){return i.e=t,i}}(t);if(u===i){s&&s._pushContext();var c=e.reject(u.e);return s&&s._popContext(),c}if("function"==typeof u)return function(t){try{return a.call(t,"_promise0")}catch(t){return!1}}(t)?(c=new e(n),t._then(c._fulfill,c._reject,void 0,c,null),c):function(t,o,a){var s=new e(n),u=s;a&&a._pushContext(),s._captureStackTrace(),a&&a._popContext();var c=!0,l=r.tryCatch(o).call(t,f,h);function f(t){s&&(s._resolveCallback(t),s=null)}function h(t){s&&(s._rejectCallback(t,c,!0),s=null)}return c=!1,s&&l===i&&(s._rejectCallback(l.e,!0,!0),s=null),u}(t,u,s)}return t}}},{"./util":36}],34:[function(t,e,exports){"use strict";e.exports=function(e,n,r){var i=t("./util"),o=e.TimeoutError;function a(t){this.handle=t}a.prototype._resultCancelled=function(){clearTimeout(this.handle)};var s=function(t){return u(+this).thenReturn(t)},u=e.delay=function(t,i){var o,u;return void 0!==i?(o=e.resolve(i)._then(s,null,null,t,void 0),r.cancellation()&&i instanceof e&&o._setOnCancel(i)):(o=new e(n),u=setTimeout((function(){o._fulfill()}),+t),r.cancellation()&&o._setOnCancel(new a(u)),o._captureStackTrace()),o._setAsyncGuaranteed(),o};function c(t){return clearTimeout(this.handle),t}function l(t){throw clearTimeout(this.handle),t}e.prototype.delay=function(t){return u(t,this)},e.prototype.timeout=function(t,e){var n,s;t=+t;var u=new a(setTimeout((function(){n.isPending()&&function(t,e,n){var r;r="string"!=typeof e?e instanceof Error?e:new o("operation timed out"):new o(e),i.markAsOriginatingFromRejection(r),t._attachExtraTrace(r),t._reject(r),null!=n&&n.cancel()}(n,e,s)}),t));return r.cancellation()?(s=this.then(),(n=s._then(c,l,void 0,u,void 0))._setOnCancel(u)):n=this._then(c,l,void 0,u,void 0),n}}},{"./util":36}],35:[function(t,e,exports){"use strict";e.exports=function(e,n,r,i,o,a){var s=t("./util"),u=t("./errors").TypeError,c=t("./util").inherits,l=s.errorObj,f=s.tryCatch,h={};function d(t){setTimeout((function(){throw t}),0)}function p(t,n){var i=0,a=t.length,s=new e(o);return function o(){if(i>=a)return s._fulfill();var u=function(t){var e=r(t);return e!==t&&"function"==typeof t._isDisposable&&"function"==typeof t._getDisposer&&t._isDisposable()&&e._setDisposable(t._getDisposer()),e}(t[i++]);if(u instanceof e&&u._isDisposable()){try{u=r(u._getDisposer().tryDispose(n),t.promise)}catch(t){return d(t)}if(u instanceof e)return u._then(o,d,null,null,null)}o()}(),s}function g(t,e,n){this._data=t,this._promise=e,this._context=n}function v(t,e,n){this.constructor$(t,e,n)}function y(t){return g.isDisposer(t)?(this.resources[this.index]._setDisposable(t),t.promise()):t}function m(t){this.length=t,this.promise=null,this[t-1]=null}g.prototype.data=function(){return this._data},g.prototype.promise=function(){return this._promise},g.prototype.resource=function(){return this.promise().isFulfilled()?this.promise().value():h},g.prototype.tryDispose=function(t){var e=this.resource(),n=this._context;void 0!==n&&n._pushContext();var r=e!==h?this.doDispose(e,t):null;return void 0!==n&&n._popContext(),this._promise._unsetDisposable(),this._data=null,r},g.isDisposer=function(t){return null!=t&&"function"==typeof t.resource&&"function"==typeof t.tryDispose},c(v,g),v.prototype.doDispose=function(t,e){return this.data().call(t,t,e)},m.prototype._resultCancelled=function(){for(var t=this.length,n=0;n0},e.prototype._getDisposer=function(){return this._disposer},e.prototype._unsetDisposable=function(){this._bitField=-131073&this._bitField,this._disposer=void 0},e.prototype.disposer=function(t){if("function"==typeof t)return new v(t,this,i());throw new u}}},{"./errors":12,"./util":36}],36:[function(t,r,exports){"use strict";var i=t("./es5"),o="undefined"==typeof navigator,a={e:{}},s,u="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n?n:void 0!==this?this:null;function c(){try{var t=s;return s=null,t.apply(this,arguments)}catch(t){return a.e=t,a}}function l(t){return s=t,c}var f=function(t,e){var n={}.hasOwnProperty;function r(){for(var r in this.constructor=t,this.constructor$=e,e.prototype)n.call(e.prototype,r)&&"$"!==r.charAt(r.length-1)&&(this[r+"$"]=e.prototype[r])}return r.prototype=e.prototype,t.prototype=new r,t.prototype};function h(t){return null==t||!0===t||!1===t||"string"==typeof t||"number"==typeof t}function d(t){return"function"==typeof t||"object"==typeof t&&null!==t}function p(t){return h(t)?new Error(k(t)):t}function g(t,e){var n,r=t.length,i=new Array(r+1);for(n=0;n1,r=e.length>0&&!(1===e.length&&"constructor"===e[0]),o=_.test(t+"")&&i.names(t).length>0;if(n||r||o)return!0}return!1}catch(t){return!1}}function x(t){function e(){}e.prototype=t;var n=new e;function r(){return typeof n.foo}return r(),r(),t}var S=/^[a-z$_][a-z$_0-9]*$/i;function O(t){return S.test(t)}function T(t,e,n){for(var r=new Array(t),i=0;i10||H[0]>0),B.nodeSupportsAsyncResource=B.isNode&&function(){var e=!1;try{e="function"==typeof t("async_hooks").AsyncResource.prototype.runInAsyncScope}catch(t){e=!1}return e}(),B.isNode&&B.toFastProperties(e);try{throw new Error}catch(t){B.lastLineError=t}r.exports=B},{"./es5":13,async_hooks:void 0}]},{},[4])(4)},t.exports=i(),"undefined"!=typeof window&&null!==window?window.P=window.Promise:"undefined"!=typeof self&&null!==self&&(self.P=self.Promise)}).call(this,e("JtWfgI3/"),e("aY11sVfy"),e("6aqzefQH").setImmediate)},Yf3UL7lG:function(t,e,n){"use strict";n.d(e,"b",(function(){return v})),n.d(e,"a",(function(){return y}));var r=n("Kr6afYqk");function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=l(t);if(e){var i=l(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return u(this,n)}}function u(t,e){return!e||"object"!==i(e)&&"function"!=typeof e?c(t):e}function c(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function f(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function h(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function d(t,e){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:0;if("number"==typeof t)return t;try{return Number.parseFloat(t)}catch(t){return e}}(t,this.lower),n=this.upper-this.lower,r=Math.max(this.lower,Math.min(this.upper,e));return this._scale((r-this.lower)/n)}},{key:"withGradient",value:function(t){return n.create(t,this.lower,this.upper)}},{key:"withLower",value:function(t){return n.create(this.gradient,t,this.upper)}},{key:"withUpper",value:function(t){return n.create(this.gradient,this.lower,t)}},{key:"toJSON",value:function(){return{type:"gradient",gradient:this.gradient,lower:this.lower,upper:this.upper}}}],[{key:"fromJSON",value:function(t){return new n(t.gradient,t.lower,t.upper)}},{key:"create",value:function(t,e,r){return new n(t,e,r)}}]),n}(g);e.c=g},YgK66wsU:function(t,exports){t.exports=function(t,e,n){var r=Math.sin(n),i=Math.cos(n),o=e[0],a=e[1],s=e[2],u=e[3],c=e[4],l=e[5],f=e[6],h=e[7];e!==t&&(t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]);return t[0]=o*i+c*r,t[1]=a*i+l*r,t[2]=s*i+f*r,t[3]=u*i+h*r,t[4]=c*i-o*r,t[5]=l*i-a*r,t[6]=f*i-s*r,t[7]=h*i-u*r,t}},YyAIWqjM:function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r).a.createActions({list:{asyncResult:!0}});e.default=i},Z01hayOw:function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r).a.createActions({delete:{asyncResult:!0},list:{asyncResult:!0}});e.default=i},"Z6pfi+fe":function(t,exports,e){"use strict";var n=e("4eKcM05w"),r=Object.prototype.hasOwnProperty,i=Array.isArray,o=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),a=function(t,e){for(var n=e&&e.plainObjects?Object.create(null):{},r=0;r1;){var e=t.pop(),n=e.obj[e.prop];if(i(n)){for(var r=[],o=0;o=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||a===n.RFC1738&&(40===l||41===l)?u+=s.charAt(c):l<128?u+=o[l]:l<2048?u+=o[192|l>>6]+o[128|63&l]:l<55296||l>=57344?u+=o[224|l>>12]+o[128|l>>6&63]+o[128|63&l]:(c+=1,l=65536+((1023&l)<<10|1023&s.charCodeAt(c)),u+=o[240|l>>18]+o[128|l>>12&63]+o[128|l>>6&63]+o[128|63&l])}return u},isBuffer:function(t){return!(!t||"object"!=typeof t)&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(i(t)){for(var n=[],r=0;r0})).forEach((function(e){Object.keys(t[e]).filter((function(n){return t[e][n]>0})).forEach((function(t){n[t]=1}))})),Object.keys(e).filter((function(t){return e[t]>0})).forEach((function(t){n[t]=1})),n},_buildMetricsFromResponse:function(t){var e={};return Object.keys(t).forEach((function(n){var r={};t[n]&&(t[n].metrics.forEach((function(t){r[t.full_name]=t})),e[n]=r)})),e},list:function(){var t=this;if(!f.isLoggedIn())return null;var e=this._metricsToFetch(this.registrations,this.globalRegistrations),n=o.f(a.a.ClusterMetricsApiController.multipleAllNodes().url);if(!this.promises.list){var r=Object(s.d)("POST",n,{metrics:Object.keys(e)}).finally((function(){return delete t.promises.list}));r.then((function(e){return t.metrics=t._buildMetricsFromResponse(e),t.trigger({metrics:t.metrics,metricsUpdatedAt:u.a.nowInSeconds()}),t.metrics})),this.promises.list=r}return p.list.promise(this.promises.list),this.promises.list},names:function(){var t=this;if(this.nodes){var e=this._allResults(Object.keys(this.nodes).map((function(e){var n=o.f(a.a.ClusterMetricsApiController.byNamespace(e,t.namespace).url);return Object(s.b)("GET",n).then((function(t){return{nodeId:e,names:t.metrics}}),(function(n){return{nodeId:e,names:t.metricsNames[e],error:n}}))}))).then((function(e){var n={},r={};return e.forEach((function(t){t.nodeId&&(n[t.nodeId]=t.names,r[t.nodeId]=t.error)})),t.trigger({metricsNames:n,metricsErrors:r}),t.metricsNames=n,n}));p.names.promise(e)}else console.warn("Node list not yet available, not fetching metrics.")},add:function(t,e){this.registrations[t]||(this.registrations[t]={}),this.registrations[t][e]=this.registrations[t][e]?this.registrations[t][e]+1:1},addGlobal:function(t){this.globalRegistrations[t]?this.globalRegistrations[t]+=1:this.globalRegistrations[t]=1},remove:function(t,e){this.registrations[t]&&(this.registrations[t][e]=this.registrations[t][e]>0?this.registrations[t][e]-1:0,0===this.registrations[t][e]&&delete this.registrations[t][e])},removeGlobal:function(t){this.globalRegistrations[t]&&(this.globalRegistrations[t]=this.globalRegistrations[t]>0?this.globalRegistrations[t]-1:0,0===this.globalRegistrations[t]&&delete this.globalRegistrations[t])}});e.default=g},aBNIXdvW:function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r).a.createActions({traffic:{asyncResult:!0}});e.default=i},aY11sVfy:function(t,exports,e){t.exports=e("jaIgFIJB")(613)},apjOhdII:function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r=n("VPaD/Np4");function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:r.Map();i(this,t),s(this,"value",void 0),this.value=e}return a(t,[{key:"id",value:function(e){return new t(this.value.set("id",e))}},{key:"username",value:function(e){return new t(this.value.set("username",e))}},{key:"fullName",value:function(e){return new t(this.value.set("fullName",e))}},{key:"email",value:function(e){return new t(this.value.set("email",e))}},{key:"roles",value:function(e){return new t(this.value.set("roles",e))}},{key:"readOnly",value:function(e){return new t(this.value.set("readOnly",e))}},{key:"external",value:function(e){return new t(this.value.set("external",e))}},{key:"sessionActive",value:function(e){return new t(this.value.set("sessionActive",e))}},{key:"clientAddress",value:function(e){return new t(this.value.set("clientAddress",e))}},{key:"lastActivity",value:function(e){return new t(this.value.set("lastActivity",e))}},{key:"enabled",value:function(e){return new t(this.value.set("enabled",e))}},{key:"authServiceId",value:function(e){return new t(this.value.set("authServiceId",e))}},{key:"authServiceUid",value:function(e){return new t(this.value.set("authServiceUid",e))}},{key:"accountStatus",value:function(e){return new t(this.value.set("accountStatus",e))}},{key:"build",value:function(){var t=this.value.toObject(),e=t.id,n=t.username,r=t.fullName,i=t.email,o=t.roles,a=t.readOnly,s=t.external,c=t.sessionActive,l=t.clientAddress,f=t.lastActivity,h=t.enabled,d=t.authServiceId,p=t.authServiceUid,g=t.accountStatus;return new u(e,n,r,i,o,a,s,c,l,f,h,d,p,g)}}]),t}()},bK3Chl1r:function(t,exports){t.exports=function(t){var e=t[0],n=t[1],r=t[2],i=t[3],o=t[4],a=t[5],s=t[6],u=t[7],c=t[8],l=t[9],f=t[10],h=t[11],d=t[12],p=t[13],g=t[14],v=t[15];return(e*a-n*o)*(f*v-h*g)-(e*s-r*o)*(l*v-h*p)+(e*u-i*o)*(l*g-f*p)+(n*s-r*a)*(c*v-h*d)-(n*u-i*a)*(c*g-f*d)+(r*u-i*s)*(c*p-l*d)}},bOCsNf5i:function(t,exports){t.exports=function(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t}},bUcxE0cE:function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r),o=n("8FtKQWAV"),a=n.n(o),s=n("8GJ6oOEd"),u=n("HbbeyvOy"),c=n("IU8ofT4O"),l=n("L+5XEiOD"),f=n("21p8kIWv").a.get("Rules").RulesActions,h=i.a.createStore({listenables:[f],rules:void 0,functionDescriptors:void 0,metricsConfig:void 0,getInitialState:function(){return{rules:this.rules,functionDescriptors:this.functionDescriptors,metricsConfig:this.metricsConfig}},_updateRulesState:function(t){this.rules?this.rules.some((function(e){return e.id===t.id}))?this.rules=this.rules.map((function(e){return e.id===t.id?t:e})):this.rules.push(t):this.rules=[t];this.trigger({rules:this.rules,functionDescriptors:this.functionDescriptors})},_updateFunctionDescriptors:function(t){t&&(this.functionDescriptors=t.sort((function(t,e){return a()(t.name,e.name)}))),this.trigger({rules:this.rules,functionDescriptors:this.functionDescriptors})},list:function(){var t=this,e=Object(u.f)(c.a.RulesController.list().url);return Object(l.b)("GET",e).then((function(e){t.rules=e,t.trigger({rules:e,functionDescriptors:t.functionDescriptors})}),(function(t){s.a.error("Fetching rules failed with status: ".concat(t.message),"Could not retrieve processing rules")}))},get:function(t){var e=Object(u.f)(c.a.RulesController.get(t).url),n=Object(l.b)("GET",e);return n.then(this._updateRulesState,(function(e){s.a.error('Fetching rule "'.concat(t,'" failed with status: ').concat(e.message),'Could not retrieve processing rule "'.concat(t,'"'))})),n},save:function(t){var e=this,n=Object(u.f)(c.a.RulesController.create().url),r={title:t.title,description:t.description,source:t.source},i=Object(l.b)("POST",n,r);return i.then((function(t){return e._updateRulesState(t),s.a.success('Rule "'.concat(t.title,'" created successfully')),t}),(function(e){s.a.error('Saving rule "'.concat(t.title,'" failed with status: ').concat(e.message),'Could not save processing rule "'.concat(t.title,'"'))})),f.save.promise(i),i},update:function(t){var e=this,n=Object(u.f)(c.a.RulesController.update(t.id).url),r={id:t.id,title:t.title,description:t.description,source:t.source},i=Object(l.b)("PUT",n,r);return i.then((function(t){return e._updateRulesState(t),s.a.success('Rule "'.concat(t.title,'" updated successfully')),t}),(function(e){s.a.error('Updating rule "'.concat(t.title,'" failed with status: ').concat(e.message),'Could not update processing rule "'.concat(t.title,'"'))})),f.update.promise(i),i},delete:function(t){var e=this,n=Object(u.f)(c.a.RulesController.delete(t.id).url);return Object(l.b)("DELETE",n).then((function(){e.rules=e.rules.filter((function(e){return e.id!==t.id})),e.trigger({rules:e.rules,functionDescriptors:e.functionDescriptors}),s.a.success('Rule "'.concat(t.title,'" was deleted successfully'))}),(function(e){s.a.error('Deleting rule "'.concat(t.title,'" failed with status: ').concat(e.message),'Could not delete processing rule "'.concat(t.title,'"'))}))},parse:function(t,e){var n=Object(u.f)(c.a.RulesController.parse().url),r={title:t.title,description:t.description,source:t.source};return Object(l.b)("POST",n,r).then((function(t){return e([]),t}),(function(t){400===t.status&&e(t.additional.body)}))},multiple:function(t,e){var n=Object(u.f)(c.a.RulesController.multiple().url),r=Object(l.b)("POST",n,{rules:t});return r.then(e),r},loadFunctions:function(){if(!this.functionDescriptors){var t=Object(u.f)(c.a.RulesController.functions().url);return Object(l.b)("GET",t).then(this._updateFunctionDescriptors)}},loadMetricsConfig:function(){var t=this,e=Object(u.f)(c.a.RulesController.metricsConfig().url),n=Object(l.b)("GET",e);n.then((function(e){t.metricsConfig=e,t.trigger({rules:t.rules,functionDescriptors:t.functionDescriptors,metricsConfig:t.metricsConfig})}),(function(t){s.a.error("Couldn't load rule metrics config: ".concat(t.message),"Couldn't load rule metrics config")})),f.loadMetricsConfig.promise(n)},updateMetricsConfig:function(t){var e=this,n=Object(u.f)(c.a.RulesController.metricsConfig().url),r=Object(l.b)("PUT",n,t);r.then((function(t){e.metricsConfig=t,e.trigger({rules:e.rules,functionDescriptors:e.functionDescriptors,metricsConfig:e.metricsConfig}),s.a.success("Successfully updated rule metrics config")}),(function(t){s.a.error("Couldn't update rule metrics config: ".concat(t.message),"Couldn't update rule metrics config")})),f.updateMetricsConfig.promise(r)}});e.default=h},brYhaDaZ:function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r).a.createActions({cycle:{asyncResult:!0},list:{asyncResult:!0}});e.default=i},bsAVk07P:function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r);e.default=i.a.createActions({loadUserPreferences:{asyncResult:!0},saveUserPreferences:{asyncResult:!0}})},btK4Orgn:function(t,exports,e){"use strict";t.exports=function(t){return window&&window.process&&window.process.versions?"[object Object]"===Object.prototype.toString.call(t):"[object Object]"===Object.prototype.toString.call(t)&&Object.getPrototypeOf(t)===Object.prototype}},c4adFasc:function(t,exports){t.exports=function(t,e,n){var r=n[0],i=n[1],o=n[2];return t[0]=e[0]*r,t[1]=e[1]*r,t[2]=e[2]*r,t[3]=e[3]*r,t[4]=e[4]*i,t[5]=e[5]*i,t[6]=e[6]*i,t[7]=e[7]*i,t[8]=e[8]*o,t[9]=e[9]*o,t[10]=e[10]*o,t[11]=e[11]*o,t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t}},caPXSBzu:function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r=n("VPaD/Np4");function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:r.Map();i(this,t),s(this,"value",void 0),this.value=e}return a(t,[{key:"id",value:function(e){return new t(this.value.set("id",e))}},{key:"username",value:function(e){return new t(this.value.set("username",e))}},{key:"fullName",value:function(e){return new t(this.value.set("fullName",e))}},{key:"firstName",value:function(e){return new t(this.value.set("firstName",e))}},{key:"lastName",value:function(e){return new t(this.value.set("lastName",e))}},{key:"email",value:function(e){return new t(this.value.set("email",e))}},{key:"grnPermissions",value:function(e){return new t(this.value.set("grnPermissions",e))}},{key:"permissions",value:function(e){return new t(this.value.set("permissions",e))}},{key:"timezone",value:function(e){return new t(this.value.set("timezone",e))}},{key:"preferences",value:function(e){return new t(this.value.set("preferences",e))}},{key:"roles",value:function(e){return new t(this.value.set("roles",e))}},{key:"readOnly",value:function(e){return new t(this.value.set("readOnly",e))}},{key:"external",value:function(e){return new t(this.value.set("external",e))}},{key:"sessionTimeoutMs",value:function(e){return new t(this.value.set("sessionTimeoutMs",e))}},{key:"startpage",value:function(e){return new t(this.value.set("startpage",e))}},{key:"sessionActive",value:function(e){return new t(this.value.set("sessionActive",e))}},{key:"clientAddress",value:function(e){return new t(this.value.set("clientAddress",e))}},{key:"lastActivity",value:function(e){return new t(this.value.set("lastActivity",e))}},{key:"accountStatus",value:function(e){return new t(this.value.set("accountStatus",e))}},{key:"serviceAccount",value:function(e){return new t(this.value.set("serviceAccount",e))}},{key:"build",value:function(){var t=this.value.toObject(),e=t.id,n=t.username,r=t.fullName,i=t.firstName,o=t.lastName,a=t.email,s=t.permissions,c=t.timezone,l=t.preferences,f=t.roles,h=t.readOnly,d=t.external,p=t.sessionTimeoutMs,g=t.startpage,v=t.sessionActive,y=t.clientAddress,m=t.lastActivity,b=t.accountStatus,_=t.serviceAccount,w=t.grnPermissions;return new u(e,n,r,i,o,a,s,c,l,f,h,d,p,g,v,y,m,b,_,w)}}]),t}()},dFpwyWHg:function(t,exports,e){"use strict";var n,r=function(){return void 0===n&&(n=Boolean(window&&document&&document.all&&!window.atob)),n},i=function(){var t={};return function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}t[e]=n}return t[e]}}(),o=[];function a(t){for(var e=-1,n=0;nt.length)&&(e=t.length);for(var n=0,r=new Array(e);ni.max?e.set(r):e.set(+t)}},integer:{description:["An integer or an integer inside a string.","When applicable, values greater (less) than `max` (`min`)","are coerced to the `dflt`."].join(" "),requiredOpts:[],otherOpts:["dflt","min","max","arrayOk"],coerceFunction:function(t,e,r,i){t%1||!n(t)||void 0!==i.min&&ti.max?e.set(r):e.set(+t)}},string:{description:["A string value.","Numbers are converted to strings except for attributes with","`strict` set to true."].join(" "),requiredOpts:[],otherOpts:["dflt","noBlank","strict","arrayOk","values"],coerceFunction:function(t,e,n,r){if("string"!=typeof t){var i="number"==typeof t;!0!==r.strict&&i?e.set(String(t)):e.set(n)}else r.noBlank&&!t?e.set(n):e.set(t)}},color:{description:["A string describing color.","Supported formats:","- hex (e.g. '#d3d3d3')","- rgb (e.g. 'rgb(255, 0, 0)')","- rgba (e.g. 'rgb(255, 0, 0, 0.5)')","- hsl (e.g. 'hsl(0, 100%, 50%)')","- hsv (e.g. 'hsv(0, 100%, 100%)')","- named colors (full list: http://www.w3.org/TR/css3-color/#svg-color)"].join(" "),requiredOpts:[],otherOpts:["dflt","arrayOk"],coerceFunction:function(t,e,n){r(t).isValid()?e.set(t):e.set(n)}},colorlist:{description:["A list of colors.","Must be an {array} containing valid colors."].join(" "),requiredOpts:[],otherOpts:["dflt"],coerceFunction:function(t,e,n){Array.isArray(t)&&t.length&&t.every((function(t){return r(t).isValid()}))?e.set(t):e.set(n)}},colorscale:{description:["A Plotly colorscale either picked by a name:","(any of",Object.keys(o.scales).join(", "),")","customized as an {array} of 2-element {arrays} where","the first element is the normalized color level value","(starting at *0* and ending at *1*),","and the second item is a valid color string."].join(" "),requiredOpts:[],otherOpts:["dflt"],coerceFunction:function(t,e,n){e.set(o.get(t,n))}},angle:{description:["A number (in degree) between -180 and 180."].join(" "),requiredOpts:[],otherOpts:["dflt"],coerceFunction:function(t,e,r){"auto"===t?e.set("auto"):n(t)?e.set(c(+t,360)):e.set(r)}},subplotid:{description:["An id string of a subplot type (given by dflt), optionally","followed by an integer >1. e.g. if dflt='geo', we can have","'geo', 'geo2', 'geo3', ..."].join(" "),requiredOpts:["dflt"],otherOpts:["regex"],coerceFunction:function(t,e,n,r){var i=r.regex||u(n);"string"==typeof t&&i.test(t)?e.set(t):e.set(n)},validateFunction:function(t,e){var n=e.dflt;return t===n||"string"==typeof t&&!!u(n).test(t)}},flaglist:{description:["A string representing a combination of flags","(order does not matter here).","Combine any of the available `flags` with *+*.","(e.g. ('lines+markers')).","Values in `extras` cannot be combined."].join(" "),requiredOpts:["flags"],otherOpts:["dflt","extras","arrayOk"],coerceFunction:function(t,e,n,r){if("string"==typeof t)if(-1===(r.extras||[]).indexOf(t)){for(var i=t.split("+"),o=0;o-1?t.split(","):t},u=function(t,e,n,i){if(t){var o=n.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,a=/(\[[^[\]]*])/g,u=n.depth>0&&/(\[[^[\]]*])/.exec(o),c=u?o.slice(0,u.index):o,l=[];if(c){if(!n.plainObjects&&r.call(Object.prototype,c)&&!n.allowPrototypes)return;l.push(c)}for(var f=0;n.depth>0&&null!==(u=a.exec(o))&&f=0;--o){var a,u=t[o];if("[]"===u&&n.parseArrays)a=[].concat(i);else{a=n.plainObjects?Object.create(null):{};var c="["===u.charAt(0)&&"]"===u.charAt(u.length-1)?u.slice(1,-1):u,l=parseInt(c,10);n.parseArrays||""!==c?!isNaN(l)&&u!==c&&String(l)===c&&l>=0&&n.parseArrays&&l<=n.arrayLimit?(a=[])[l]=i:a[c]=i:a={0:i}}i=a}return i}(l,e,n,i)}};t.exports=function(t,e){var c=function(t){if(!t)return o;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?o.charset:t.charset;return{allowDots:void 0===t.allowDots?o.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:o.allowPrototypes,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:o.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:o.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:o.comma,decoder:"function"==typeof t.decoder?t.decoder:o.decoder,delimiter:"string"==typeof t.delimiter||n.isRegExp(t.delimiter)?t.delimiter:o.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:o.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:o.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:o.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:o.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:o.strictNullHandling}}(e);if(""===t||null==t)return c.plainObjects?Object.create(null):{};for(var l="string"==typeof t?function(t,e){var u,c={},l=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,f=e.parameterLimit===1/0?void 0:e.parameterLimit,h=l.split(e.delimiter,f),d=-1,p=e.charset;if(e.charsetSentinel)for(u=0;u-1&&(v=i(v)?[v]:v),r.call(c,g)?c[g]=n.combine(c[g],v):c[g]=v}return c}(t,c):t,f=c.plainObjects?Object.create(null):{},h=Object.keys(l),d=0;d0&&void 0!==arguments[0]?arguments[0]:"";return{type:"elasticsearch",query_string:t}},h=function(t){if(!t||0===t.length)return null;var e,n=(e=t,r.List(e.map((function(t){return r.Map({type:"stream",id:t})}))));return r.Map({type:"or",filters:n})},d=function t(e){return e?"stream"===e.get("type")?r.Set([e.get("id")]):e.get("filters",r.List()).map(t).reduce((function(t,e){return t.merge(e)}),r.Set()):r.Set()},p=function(){function t(e,n,r,i,o){s(this,t),l(this,"_value",void 0),this._value={id:e,query:n,timerange:r,filter:i,searchTypes:o}}return c(t,[{key:"id",get:function(){return this._value.id}},{key:"query",get:function(){return this._value.query}},{key:"timerange",get:function(){return this._value.timerange}},{key:"filter",get:function(){return this._value.filter}},{key:"searchTypes",get:function(){return this._value.searchTypes}},{key:"toBuilder",value:function(){var e=this._value,n=e.id,r=e.query,i=e.timerange,o=e.filter,a=e.searchTypes,s=t.builder().id(n).query(r).timerange(i).searchTypes(a);return o?s.filter(o):s}},{key:"equals",value:function(e){return void 0!==e&&(e instanceof t&&!!(this.id===e.id&&Object(a.a)(this.query,e.query)&&Object(a.a)(this.timerange,e.timerange)&&Object(a.a)(this.filter,e.filter)&&Object(a.a)(this.searchTypes,e.searchTypes)))}},{key:"toJSON",value:function(){var t=this._value;return{id:t.id,query:t.query,timerange:t.timerange,filter:t.filter,search_types:t.searchTypes}}}],[{key:"builder",value:function(){return(new g).searchTypes([])}},{key:"fromJSON",value:function(e){var n=e.id,i=e.query,o=e.timerange,a=e.filter,s=e.search_types;return new t(n,i,o,r.fromJS(a),s)}}]),t}(),g=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r.Map();s(this,t),l(this,"value",void 0),this.value=e}return c(t,[{key:"id",value:function(e){return new t(this.value.set("id",e))}},{key:"newId",value:function(){return this.id(o()())}},{key:"query",value:function(e){return new t(this.value.set("query",e))}},{key:"timerange",value:function(e){return new t(this.value.set("timerange",e))}},{key:"filter",value:function(e){return new t(this.value.set("filter",r.fromJS(e)))}},{key:"searchTypes",value:function(e){return new t(this.value.set("searchTypes",e))}},{key:"build",value:function(){var t=this.value.toObject(),e=t.id,n=t.query,r=t.timerange,i=t.filter,o=t.searchTypes;return new p(e,n,r,i,o)}}]),t}()},hdfdRIZp:function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r),o=n("1VnJesae"),a=n("JBQWIv26"),s=o.a.getStore("Metrics"),u=a.a.getActions("Metrics"),c=i.a.createStore({listenables:[],throughput:{input:0,output:0,loading:!1},metrics:{input:"org.graylog2.throughput.input.1-sec-rate",output:"org.graylog2.throughput.output.1-sec-rate",loading:!0},init:function(){u.addGlobal(this.metrics.input),u.addGlobal(this.metrics.output),this.listenTo(s,this.updateMetrics),setInterval(u.list,this.INTERVAL)},getInitialState:function(){return{throughput:this.throughput}},INTERVAL:2e3,updateMetrics:function(t){var e=this;if(t.metrics){var n=Object.keys(t.metrics).map((function(n){var r,i,o;return null!==(r=null===(i=t.metrics[n][e.metrics.input])||void 0===i||null===(o=i.metric)||void 0===o?void 0:o.value)&&void 0!==r?r:0})).reduce((function(t,e){return t+e}),0),r=Object.keys(t.metrics).map((function(n){var r,i,o;return null!==(r=null===(i=t.metrics[n][e.metrics.output])||void 0===i||null===(o=i.metric)||void 0===o?void 0:o.value)&&void 0!==r?r:0})).reduce((function(t,e){return t+e}),0);this.throughput={input:n,output:r,loading:!1},this.trigger({throughput:this.throughput})}}});e.default=c},iXyuIF6s:function(t,e,n){"use strict";var r=n("/lavANvI"),i=Object.freeze({COPY_INPUT:"copy_input",GROK:"grok",JSON:"json",REGEX:"regex",REGEX_REPLACE:"regex_replace",SPLIT_AND_INDEX:"split_and_index",SUBSTRING:"substring",LOOKUP_TABLE:"lookup_table"}),o={ConverterTypes:Object.freeze({NUMERIC:"numeric",DATE:"date",HASH:"hash",SPLIT_AND_COUNT:"split_and_count",IP_ANONYMIZER:"ip_anonymizer",SYSLOG_PRI_LEVEL:"syslog_pri_level",SYSLOG_PRI_FACILITY:"syslog_pri_facility",TOKENIZER:"tokenizer",CSV:"csv",LOWERCASE:"lowercase",UPPERCASE:"uppercase",FLEXDATE:"flexdate",LOOKUP_TABLE:"lookup_table"}),ExtractorTypes:i,EXTRACTOR_TYPES:Object.keys(i).map((function(t){return t.toLocaleLowerCase()})),getNewExtractorRoutes:function(t,e,n,i,o){var a={};return this.EXTRACTOR_TYPES.forEach((function(s){a[s]=r.a.new_extractor(t,e,s,n,i,o)})),a},getReadableExtractorTypeName:function(t){switch(t){case i.COPY_INPUT:return"Copy input";case i.GROK:return"Grok pattern";case i.JSON:return"JSON";case i.REGEX:return"Regular expression";case i.REGEX_REPLACE:return"Replace with regular expression";case i.SPLIT_AND_INDEX:return"Split & Index";case i.SUBSTRING:return"Substring";case i.LOOKUP_TABLE:return"Lookup Table";default:return t}},getReadableConverterTypeName:function(t){switch(t){case this.ConverterTypes.NUMERIC:return"Numeric";case this.ConverterTypes.DATE:return"Date";case this.ConverterTypes.FLEXDATE:return"Flexible Date";case this.ConverterTypes.HASH:return"Hash";case this.ConverterTypes.LOWERCASE:return"Lowercase";case this.ConverterTypes.UPPERCASE:return"Uppercase";case this.ConverterTypes.TOKENIZER:return"Key = Value Pairs To Fields";case this.ConverterTypes.CSV:return"CSV To Fields";case this.ConverterTypes.SPLIT_AND_COUNT:return"Split & Count";case this.ConverterTypes.IP_ANONYMIZER:return"Anonymize IPv4 Addresses";case this.ConverterTypes.SYSLOG_PRI_LEVEL:return"Syslog Level From PRI";case this.ConverterTypes.SYSLOG_PRI_FACILITY:return"Syslog Facility From PRI";case this.ConverterTypes.LOOKUP_TABLE:return"Lookup Table";default:return t}},getEffectiveConfiguration:function(t,e){var n={};for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r]);for(var i in e)e.hasOwnProperty(i)&&(n[i]=e[i]);return n}};e.a=o},iZv4FjGd:function(t,e,n){"use strict";var r=n("dZUWVuuc"),i=n.n(r),o=n("DjJvgDaP"),a=n.n(o)()(i.a);a.push([t.i,"#toast-container .toast {\n  display: grid;\n  grid-template-columns: 8fr 0.5fr;\n  grid-template-rows: repeat(2, 1fr);\n  grid-column-gap: 0;\n  grid-row-gap: 0;\n}\n\n#toast-container .toast-title {\n  grid-area: 1 / 1 / 2 / 1;\n}\n\n#toast-container .toast-message {\n  grid-area: 2 / 2 / 2 / 1;\n}\n\n#toast-container button.toast-close-button {\n  font-size: 0.889rem; /* theme.fonts.size.small */\n  grid-area: 1 / 2 / 3 / 3;\n  height: 100%;\n  top: 0;\n  right: 0;\n  font-weight: normal;\n}\n\n#toast-container button.toast-close-button:focus,\n#toast-container button.toast-close-button:hover {\n  color: #fff;\n}\n","",{version:3,sources:["webpack://./src/util/UserNotification.css"],names:[],mappings:"AAAA;EACE,aAAa;EACb,gCAAgC;EAChC,kCAAkC;EAClC,kBAAkB;EAClB,eAAe;AACjB;;AAEA;EACE,wBAAwB;AAC1B;;AAEA;EACE,wBAAwB;AAC1B;;AAEA;EACE,mBAAmB,EAAE,2BAA2B;EAChD,wBAAwB;EACxB,YAAY;EACZ,MAAM;EACN,QAAQ;EACR,mBAAmB;AACrB;;AAEA;;EAEE,WAAW;AACb",sourcesContent:["#toast-container .toast {\n  display: grid;\n  grid-template-columns: 8fr 0.5fr;\n  grid-template-rows: repeat(2, 1fr);\n  grid-column-gap: 0;\n  grid-row-gap: 0;\n}\n\n#toast-container .toast-title {\n  grid-area: 1 / 1 / 2 / 1;\n}\n\n#toast-container .toast-message {\n  grid-area: 2 / 2 / 2 / 1;\n}\n\n#toast-container button.toast-close-button {\n  font-size: 0.889rem; /* theme.fonts.size.small */\n  grid-area: 1 / 2 / 3 / 3;\n  height: 100%;\n  top: 0;\n  right: 0;\n  font-weight: normal;\n}\n\n#toast-container button.toast-close-button:focus,\n#toast-container button.toast-close-button:hover {\n  color: #fff;\n}\n"],sourceRoot:""}]),e.a=a},ieFRrI0A:function(t,exports,e){var n,r;e("MNGAHOYH"),n=[e("gCzbTwtZ")],void 0===(r=function($){return function(){var t,e,n,r=0,i="error",o="info",a="success",s="warning",u={clear:function(e,n){var r=d();t||c(r),l(e,r,n)||function(e){for(var n=t.children(),r=n.length-1;r>=0;r--)l($(n[r]),e)}(r)},remove:function(e){var n=d();t||c(n),e&&0===$(":focus",e).length?p(e):t.children().length&&t.remove()},error:function(t,e,n){return h({type:i,iconClass:d().iconClasses.error,message:t,optionsOverride:n,title:e})},getContainer:c,info:function(t,e,n){return h({type:o,iconClass:d().iconClasses.info,message:t,optionsOverride:n,title:e})},options:{},subscribe:function(t){e=t},success:function(t,e,n){return h({type:a,iconClass:d().iconClasses.success,message:t,optionsOverride:n,title:e})},version:"2.1.4",warning:function(t,e,n){return h({type:s,iconClass:d().iconClasses.warning,message:t,optionsOverride:n,title:e})}};return u;function c(e,n){return e||(e=d()),(t=$("#"+e.containerId)).length||n&&(t=function(e){return(t=$("
").attr("id",e.containerId).addClass(e.positionClass)).appendTo($(e.target)),t}(e)),t}function l(t,e,n){var r=!(!n||!n.force)&&n.force;return!(!t||!r&&0!==$(":focus",t).length||(t[e.hideMethod]({duration:e.hideDuration,easing:e.hideEasing,complete:function(){p(t)}}),0))}function f(t){e&&e(t)}function h(e){var i=d(),o=e.iconClass||i.iconClass;if(void 0!==e.optionsOverride&&(i=$.extend(i,e.optionsOverride),o=e.optionsOverride.iconClass||o),!function(t,e){if(t.preventDuplicates){if(e.message===n)return!0;n=e.message}return!1}(i,e)){r++,t=c(i,!0);var a=null,s=$("
"),u=$("
"),l=$("
"),h=$("
"),g=$(i.closeHtml),v={intervalId:null,hideEta:null,maxHideTime:null},y={toastId:r,state:"visible",startTime:new Date,options:i,map:e};return e.iconClass&&s.addClass(i.toastClass).addClass(o),function(){if(e.title){var t=e.title;i.escapeHtml&&(t=m(e.title)),u.append(t).addClass(i.titleClass),s.append(u)}}(),function(){if(e.message){var t=e.message;i.escapeHtml&&(t=m(e.message)),l.append(t).addClass(i.messageClass),s.append(l)}}(),i.closeButton&&(g.addClass(i.closeClass).attr("role","button"),s.prepend(g)),i.progressBar&&(h.addClass(i.progressClass),s.prepend(h)),i.rtl&&s.addClass("rtl"),i.newestOnTop?t.prepend(s):t.append(s),function(){var t="";switch(e.iconClass){case"toast-success":case"toast-info":t="polite";break;default:t="assertive"}s.attr("aria-live",t)}(),s.hide(),s[i.showMethod]({duration:i.showDuration,easing:i.showEasing,complete:i.onShown}),i.timeOut>0&&(a=setTimeout(b,i.timeOut),v.maxHideTime=parseFloat(i.timeOut),v.hideEta=(new Date).getTime()+v.maxHideTime,i.progressBar&&(v.intervalId=setInterval(x,10))),i.closeOnHover&&s.hover(w,_),!i.onclick&&i.tapToDismiss&&s.click(b),i.closeButton&&g&&g.click((function(t){t.stopPropagation?t.stopPropagation():void 0!==t.cancelBubble&&!0!==t.cancelBubble&&(t.cancelBubble=!0),i.onCloseClick&&i.onCloseClick(t),b(!0)})),i.onclick&&s.click((function(t){i.onclick(t),b()})),f(y),i.debug&&console&&console.log(y),s}function m(t){return null==t&&(t=""),t.replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function b(t){var e=t&&!1!==i.closeMethod?i.closeMethod:i.hideMethod,n=t&&!1!==i.closeDuration?i.closeDuration:i.hideDuration,r=t&&!1!==i.closeEasing?i.closeEasing:i.hideEasing;if(!$(":focus",s).length||t)return clearTimeout(v.intervalId),s[e]({duration:n,easing:r,complete:function(){p(s),clearTimeout(a),i.onHidden&&"hidden"!==y.state&&i.onHidden(),y.state="hidden",y.endTime=new Date,f(y)}})}function _(){(i.timeOut>0||i.extendedTimeOut>0)&&(a=setTimeout(b,i.extendedTimeOut),v.maxHideTime=parseFloat(i.extendedTimeOut),v.hideEta=(new Date).getTime()+v.maxHideTime)}function w(){clearTimeout(a),v.hideEta=0,s.stop(!0,!0)[i.showMethod]({duration:i.showDuration,easing:i.showEasing})}function x(){var t=(v.hideEta-(new Date).getTime())/v.maxHideTime*100;h.width(t+"%")}}function d(){return $.extend({},{tapToDismiss:!0,toastClass:"toast",containerId:"toast-container",debug:!1,showMethod:"fadeIn",showDuration:300,showEasing:"swing",onShown:void 0,hideMethod:"fadeOut",hideDuration:1e3,hideEasing:"swing",onHidden:void 0,closeMethod:!1,closeDuration:!1,closeEasing:!1,closeOnHover:!0,extendedTimeOut:1e3,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},iconClass:"toast-info",positionClass:"toast-top-right",timeOut:5e3,titleClass:"toast-title",messageClass:"toast-message",escapeHtml:!1,target:"body",closeHtml:'',closeClass:"toast-close-button",newestOnTop:!0,preventDuplicates:!1,progressBar:!1,progressClass:"toast-progress",rtl:!1},u.options)}function p(e){t||(t=c()),e.is(":visible")||(e.remove(),e=null,0===t.children().length&&(t.remove(),n=void 0))}}()}.apply(exports,n))||(t.exports=r)},ivGQtwpr:function(t,exports,e){t.exports=e("jaIgFIJB")(0)},"j+ADSPtK":function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r),o=n("HbbeyvOy"),a=n("IU8ofT4O"),s=n("L+5XEiOD"),u=n("JBQWIv26").a.getActions("Notifications"),c=i.a.createStore({listenables:[u],notifications:void 0,promises:{},init:function(){this.list()},getInitialState:function(){return this.notifications?this.notifications:{}},list:function(){var t=this,e=o.f(a.a.NotificationsApiController.list().url),n=this.promises.list||Object(s.d)("GET",e).finally((function(){return delete t.promises.list}));this.promises.list=n,u.list.promise(n)},listCompleted:function(t){this.notifications=t,this.trigger(t)},delete:function(t){var e=o.f(a.a.NotificationsApiController.delete(t).url),n=Object(s.b)("DELETE",e);u.delete.promise(n)},deleteCompleted:function(){this.list()}});e.default=c},jGt2471r:function(t,exports,e){"use strict";var n=e("OrkhUD6z").dfltConfig,r=e("p/nAF2Pn"),i=t.exports={};function o(t,e){if(t&&t.apply)try{return void t.apply(console,e)}catch(t){}for(var n=0;n1){var e=["LOG:"];for(t=0;t1){var i=[];for(t=0;t"),"long")}},i.warn=function(){var t;if(n.logging>0){var e=["WARN:"];for(t=0;t0){var i=[];for(t=0;t"),"stick")}},i.error=function(){var t;if(n.logging>0){var e=["ERROR:"];for(t=0;t0){var i=[];for(t=0;t"),"stick")}}},jKiUIMfn:function(t,exports,e){"use strict";t.exports=function(t){return t}},jaIgFIJB:function(t,exports){t.exports=__vendor},jelr2954:function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r),o=n("HbbeyvOy"),a=n("L+5XEiOD"),s=n("8GJ6oOEd"),u=n("1VnJesae"),c=n("JBQWIv26"),l=u.a.getStore("InputStaticFields"),f=c.a.getActions("Inputs"),h=i.a.createStore({listenables:[f],sourceUrl:"/system/inputs",inputs:void 0,input:void 0,init:function(){this.trigger(this._state()),this.listenTo(l,this.list)},getInitialState:function(){return this._state()},_state:function(){return{inputs:this.inputs,input:this.input}},list:function(){var t=this,e=Object(a.b)("GET",o.f(this.sourceUrl));e.then((function(e){return t.inputs=e.inputs,t.trigger(t._state()),t.inputs}),(function(t){s.a.error("Fetching Inputs failed with status: ".concat(t),"Could not retrieve Inputs")})),f.list.promise(e)},get:function(t){return this.getOptional(t,!0)},getOptional:function(t,e){var n=this,r=Object(a.b)("GET",o.f("".concat(this.sourceUrl,"/").concat(t)));r.then((function(t){return n.input=t,n.trigger(n._state()),n.input}),(function(r){e?s.a.error("Fetching input ".concat(t," failed with status: ").concat(r),"Could not retrieve input"):n.trigger(n._state())})),f.get.promise(r)},create:function(t){var e=Object(a.b)("POST",o.f(this.sourceUrl),t);e.then((function(){s.a.success("Input '".concat(t.title,"' launched successfully")),f.list()}),(function(e){s.a.error("Launching input '".concat(t.title,"' failed with status: ").concat(e),"Could not launch input")})),f.create.promise(e)},delete:function(t){var e=t.id,n=t.title,r=Object(a.b)("DELETE",o.f("".concat(this.sourceUrl,"/").concat(e)));r.then((function(){s.a.success("Input '".concat(n,"' deleted successfully")),f.list()}),(function(t){s.a.error("Deleting input '".concat(n,"' failed with status: ").concat(t),"Could not delete input")})),f.delete.promise(r)},update:function(t,e){var n=Object(a.b)("PUT",o.f("".concat(this.sourceUrl,"/").concat(t)),e);n.then((function(){s.a.success("Input '".concat(e.title,"' updated successfully")),f.list()}),(function(t){s.a.error("Updating input '".concat(e.title,"' failed with status: ").concat(t),"Could not update input")})),f.update.promise(n)}});h.inputsAsMap=function(t){var e={};return t.forEach((function(t){e[t.id]=t})),e},e.default=h},jhd7wna9:function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r),o=n("8GJ6oOEd"),a=n("HbbeyvOy"),s=n("L+5XEiOD"),u=n("JBQWIv26").a.getActions("LookupTableCaches"),c=i.a.createStore({listenables:[u],cache:null,caches:null,types:null,pagination:{page:1,per_page:10,total:0,count:0,query:null},validationErrors:{},getInitialState:function(){return this.getState()},getState:function(){return{cache:this.cache,caches:this.caches,types:this.types,pagination:this.pagination,validationErrors:this.validationErrors}},propagateChanges:function(){this.trigger(this.getState())},reloadPage:function(){var t=this.searchPaginated(this.pagination.page,this.pagination.per_page,this.pagination.query);return u.reloadPage.promise(t),t},searchPaginated:function(t,e,n){var r,i=this;r=n?this._url("caches?page=".concat(t,"&per_page=").concat(e,"&query=").concat(encodeURIComponent(n))):this._url("caches?page=".concat(t,"&per_page=").concat(e));var o=Object(s.b)("GET",r);return o.then((function(t){i.pagination={count:t.count,total:t.total,page:t.page,per_page:t.per_page,query:t.query},i.caches=t.caches,i.propagateChanges()}),this._errorHandler("Fetching lookup table caches failed","Could not retrieve the lookup caches")),u.searchPaginated.promise(o),o},get:function(t){var e=this,n=this._url("caches/".concat(t)),r=Object(s.b)("GET",n);return r.then((function(t){e.cache=t,e.propagateChanges()}),this._errorHandler("Fetching lookup table cache ".concat(t," failed"),"Could not retrieve lookup table cache")),u.get.promise(r),r},create:function(t){var e=this,n=this._url("caches"),r=Object(s.b)("POST",n,t);return r.then((function(t){e.cache=t,e.propagateChanges()}),this._errorHandler("Creating lookup table cache failed",'Could not create lookup table cache "'.concat(t.name,'"'))),u.create.promise(r),r},update:function(t){var e=this,n=this._url("caches/".concat(t.id)),r=Object(s.b)("PUT",n,t);return r.then((function(t){e.cache=t,e.propagateChanges()}),this._errorHandler("Updating lookup table cache failed",'Could not update lookup table cache "'.concat(t.name,'"'))),u.update.promise(r),r},getTypes:function(){var t=this,e=this._url("types/caches"),n=Object(s.b)("GET",e);return n.then((function(e){t.types=e,t.propagateChanges()}),this._errorHandler("Fetching available types failed","Could not fetch the available lookup table cache types")),u.getTypes.promise(n),n},delete:function(t){var e=this._url("caches/".concat(t)),n=Object(s.b)("DELETE",e);return n.catch(this._errorHandler("Deleting lookup table cache failed",'Could not delete lookup table cache "'.concat(t,'"'))),u.delete.promise(n),n},validate:function(t){var e=this,n=this._url("caches/validate"),r=Object(s.b)("POST",n,t);return r.then((function(t){e.validationErrors=t.errors,e.propagateChanges()}),this._errorHandler("Lookup table cache validation failed",'Could not validate lookup table cache "'.concat(t.name,'"'))),u.validate.promise(r),r},_errorHandler:function(t,e,n){return function(r){var i;try{i=r.additional.body.message}catch(t){i=r.message}o.a.error("".concat(t,": ").concat(i),e),n&&n(r)}},_url:function(t){return a.f("/system/lookup/".concat(t))}});e.default=c},jsXbfUoq:function(t,exports){for(var e=[],n=0;n<256;++n)e[n]=(n+256).toString(16).substr(1);t.exports=function(t,n){var r=n||0,i=e;return[i[t[r++]],i[t[r++]],i[t[r++]],i[t[r++]],"-",i[t[r++]],i[t[r++]],"-",i[t[r++]],i[t[r++]],"-",i[t[r++]],i[t[r++]],"-",i[t[r++]],i[t[r++]],i[t[r++]],i[t[r++]],i[t[r++]],i[t[r++]]].join("")}},jyzIzA3P:function(t,exports,e){"use strict";var n=e("zSF5pjBO"),r=e("lf8+9Xc7"),i=e("xE+ZFgwY").extendFlat,o=e("Oq1Cqb7p").overrideAll;t.exports=o({thicknessmode:{valType:"enumerated",values:["fraction","pixels"],role:"style",dflt:"pixels",description:["Determines whether this color bar's thickness","(i.e. the measure in the constant color direction)","is set in units of plot *fraction* or in *pixels*.","Use `thickness` to set the value."].join(" ")},thickness:{valType:"number",role:"style",min:0,dflt:30,description:["Sets the thickness of the color bar","This measure excludes the size of the padding, ticks and labels."].join(" ")},lenmode:{valType:"enumerated",values:["fraction","pixels"],role:"info",dflt:"fraction",description:["Determines whether this color bar's length","(i.e. the measure in the color variation direction)","is set in units of plot *fraction* or in *pixels.","Use `len` to set the value."].join(" ")},len:{valType:"number",min:0,dflt:1,role:"style",description:["Sets the length of the color bar","This measure excludes the padding of both ends.","That is, the color bar length is this length minus the","padding on both ends."].join(" ")},x:{valType:"number",dflt:1.02,min:-2,max:3,role:"style",description:["Sets the x position of the color bar (in plot fraction)."].join(" ")},xanchor:{valType:"enumerated",values:["left","center","right"],dflt:"left",role:"style",description:["Sets this color bar's horizontal position anchor.","This anchor binds the `x` position to the *left*, *center*","or *right* of the color bar."].join(" ")},xpad:{valType:"number",role:"style",min:0,dflt:10,description:"Sets the amount of padding (in px) along the x direction."},y:{valType:"number",role:"style",dflt:.5,min:-2,max:3,description:["Sets the y position of the color bar (in plot fraction)."].join(" ")},yanchor:{valType:"enumerated",values:["top","middle","bottom"],role:"style",dflt:"middle",description:["Sets this color bar's vertical position anchor","This anchor binds the `y` position to the *top*, *middle*","or *bottom* of the color bar."].join(" ")},ypad:{valType:"number",role:"style",min:0,dflt:10,description:"Sets the amount of padding (in px) along the y direction."},outlinecolor:n.linecolor,outlinewidth:n.linewidth,bordercolor:n.linecolor,borderwidth:{valType:"number",role:"style",min:0,dflt:0,description:["Sets the width (in px) or the border enclosing this color bar."].join(" ")},bgcolor:{valType:"color",role:"style",dflt:"rgba(0,0,0,0)",description:"Sets the color of padded area."},tickmode:n.tickmode,nticks:n.nticks,tick0:n.tick0,dtick:n.dtick,tickvals:n.tickvals,ticktext:n.ticktext,ticks:i({},n.ticks,{dflt:""}),ticklabelposition:{valType:"enumerated",values:["outside","inside","outside top","inside top","outside bottom","inside bottom"],dflt:"outside",role:"info",description:["Determines where tick labels are drawn."].join(" ")},ticklen:n.ticklen,tickwidth:n.tickwidth,tickcolor:n.tickcolor,showticklabels:n.showticklabels,tickfont:r({description:"Sets the color bar's tick label font"}),tickangle:n.tickangle,tickformat:n.tickformat,tickformatstops:n.tickformatstops,tickprefix:n.tickprefix,showtickprefix:n.showtickprefix,ticksuffix:n.ticksuffix,showticksuffix:n.showticksuffix,separatethousands:n.separatethousands,exponentformat:n.exponentformat,minexponent:n.minexponent,showexponent:n.showexponent,title:{text:{valType:"string",role:"info",description:["Sets the title of the color bar.","Note that before the existence of `title.text`, the title's","contents used to be defined as the `title` attribute itself.","This behavior has been deprecated."].join(" ")},font:r({description:["Sets this color bar's title font.","Note that the title's font used to be set","by the now deprecated `titlefont` attribute."].join(" ")}),side:{valType:"enumerated",values:["right","top","bottom"],role:"style",dflt:"top",description:["Determines the location of color bar's title","with respect to the color bar.","Note that the title's location used to be set","by the now deprecated `titleside` attribute."].join(" ")}},_deprecated:{title:{valType:"string",role:"info",description:["Deprecated in favor of color bar's `title.text`.","Note that value of color bar's `title` is no longer a simple","*string* but a set of sub-attributes."].join(" ")},titlefont:r({description:"Deprecated in favor of color bar's `title.font`."}),titleside:{valType:"enumerated",values:["right","top","bottom"],role:"style",dflt:"top",description:"Deprecated in favor of color bar's `title.side`."}}},"colorbars","from-root")},"kHC6R5+Z":function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r).a.createActions({list:{asyncResult:!0},connectToStream:{asyncResult:!0},connectToPipeline:{asyncResult:!0}});e.default=i},kL8WAjnN:function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r),o=n("8GJ6oOEd"),a=n("HbbeyvOy"),s=n("IU8ofT4O"),u=n("L+5XEiOD"),c=n("JBQWIv26").a.getActions("IndexRanges"),l=i.a.createStore({listenables:[c],indexRanges:void 0,getInitialState:function(){return{indexRanges:this.indexRanges}},init:function(){c.list()},list:function(){var t=this,e=a.f(s.a.IndexRangesApiController.list().url),n=Object(u.b)("GET",e).then((function(e){t.indexRanges=e.ranges,t.trigger(t.getInitialState())}));c.list.promise(n)},recalculate:function(t){var e=a.f(s.a.IndexRangesApiController.rebuild(t).url),n=Object(u.b)("POST",e);n.then(o.a.success("Index ranges will be recalculated shortly")).catch((function(t){o.a.error("Could not create a job to start index ranges recalculation, reason: ".concat(t),"Error starting index ranges recalculation")})),c.recalculate.promise(n)},recalculateIndex:function(t){var e=a.f(s.a.IndexRangesApiController.rebuildSingle(t).url),n=Object(u.b)("POST",e);n.then(o.a.success("Index ranges for ".concat(t," will be recalculated shortly"))).catch((function(e){o.a.error("Could not create a job to start index ranges recalculation for ".concat(t,", reason: ").concat(e),"Error starting index ranges recalculation for ".concat(t))})),c.recalculateIndex.promise(n)}});e.default=l},keedmmMh:function(t,e,n){"use strict";n.r(e),n.d(e,"StreamsStore",(function(){return v}));var r=n("4KF7VOU5"),i=n.n(r),o=n("nHcjWeCO"),a=n.n(o),s=n("L+5XEiOD"),u=n("IU8ofT4O"),c=n("HbbeyvOy"),l=n("8GJ6oOEd"),f=n("21p8kIWv"),h=n("mR82218M"),d=n("VErHFKte");n.d(e,"StreamsActions",(function(){return d.default}));var p=n("mRXwKqDg"),g=f.a.get("CurrentUser").CurrentUserStore,v=Object(p.c)("Streams",(function(){return i.a.createStore({listenables:[d.default],callbacks:[],searchPaginated:function(t,e,n){var r=Object(h.a)(u.a.StreamsApiController.paginated().url,t,e,n),i=Object(s.b)("GET",Object(c.f)(r)).then((function(t){var e=t.streams,n=t.query,r=t.pagination;return{streams:e,pagination:{count:r.count,total:r.total,page:r.page,perPage:r.per_page,query:n}}})).catch((function(t){l.a.error("Loading streams failed with status: ".concat(t),"Could not load streams")}));return d.default.searchPaginated.promise(i),i},listStreams:function(){var t=Object(s.b)("GET",Object(c.f)("/streams")).then((function(t){return t.streams})).catch((function(t){l.a.error("Loading streams failed with status: ".concat(t),"Could not load streams")}));return d.default.listStreams.promise(t),t},load:function(t){this.listStreams().then((function(e){t(e)}))},get:function(t,e){var n=u.a.StreamsApiController.get(t).url,r=Object(s.b)("GET",Object(c.f)(n)).then(e,(function(t){l.a.error("Loading Stream failed with status: ".concat(t),"Could not retrieve Stream")}));return d.default.get.promise(r),r},remove:function(t,e){var n=this,r=Object(c.f)(u.a.StreamsApiController.delete(t).url),i=Object(s.b)("DELETE",r).then(e,(function(t){l.a.error("Removing Stream failed with status: ".concat(t),"Could not remove Stream")})).then((function(){return g.reload().then(n._emitChange.bind(n))}));return d.default.remove.promise(i),i},pause:function(t,e){var n=this,r=Object(c.f)(u.a.StreamsApiController.pause(t).url),i=Object(s.b)("POST",r).then(e,(function(t){l.a.error("Pausing Stream failed with status: ".concat(t),"Could not pause Stream")})).then((function(t){return n._emitChange(),t}));return d.default.pause.promise(i),i},resume:function(t,e){var n=this,r=Object(c.f)(u.a.StreamsApiController.resume(t).url),i=Object(s.b)("POST",r).then(e,(function(t){l.a.error("Resuming Stream failed with status: ".concat(t),"Could not resume Stream")})).then((function(t){return n._emitChange(),t}));return d.default.resume.promise(i),i},save:function(t,e){var n=this,r=Object(c.f)(u.a.StreamsApiController.create().url),i=Object(s.b)("POST",r,t).then(e,(function(t){l.a.error("Saving Stream failed with status: ".concat(t),"Could not save Stream")})).then((function(){return g.reload().then(n._emitChange.bind(n))}));return d.default.save.promise(i),i},update:function(t,e,n){var r=Object(c.f)(u.a.StreamsApiController.update(t).url),i=Object(s.b)("PUT",r,e).then(n,(function(t){l.a.error("Updating Stream failed with status: ".concat(t),"Could not update Stream")})).then(this._emitChange.bind(this));return d.default.update.promise(i),i},cloneStream:function(t,e,n){var r=this,i=Object(c.f)(u.a.StreamsApiController.cloneStream(t).url),o=Object(s.b)("POST",i,e).then(n,(function(t){l.a.error("Cloning Stream failed with status: ".concat(t),"Could not clone Stream")})).then((function(){return g.reload().then(r._emitChange.bind(r))}));return d.default.cloneStream.promise(o),o},removeOutput:function(t,e,n){var r=Object(c.f)(u.a.StreamOutputsApiController.delete(t,e).url),i=Object(s.b)("DELETE",r).then(n,(function(t){l.a.error("Removing output from stream failed with status: ".concat(t),"Could not remove output from stream")})).then(this._emitChange.bind(this));return d.default.removeOutput.promise(i),i},addOutput:function(t,e,n){var r=Object(c.f)(u.a.StreamOutputsApiController.add(t).url),i=Object(s.b)("POST",r,{outputs:[e]}).then(n,(function(t){l.a.error("Adding output to stream failed with status: ".concat(t),"Could not add output to stream")})).then(this._emitChange.bind(this));return d.default.addOutput.promise(i),i},testMatch:function(t,e,n){var r=Object(c.f)(u.a.StreamsApiController.testMatch(t).url),i=Object(s.b)("POST",r,e).then(n,(function(t){l.a.error("Testing stream rules of stream failed with status: ".concat(t.message),"Could not test stream rules of stream")}));return d.default.testMatch.promise(i),i},onChange:function(t){this.callbacks.push(t)},_emitChange:function(){this.callbacks.forEach((function(t){return t()}))},unregister:function(t){a.a.pull(this.callbacks,t)}})}));e.default=v},ktz8mRoG:function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r),o=n("HbbeyvOy"),a=n("IU8ofT4O"),s=n("L+5XEiOD"),u=n("JBQWIv26").a.getActions("Decorators"),c=i.a.createStore({listenables:[u],state:{},getInitialState:function(){return this.state},init:function(){u.available(),u.list()},list:function(){var t=this,e=o.f(a.a.DecoratorsResource.get().url),n=Object(s.b)("GET",e);return n.then((function(e){t.trigger({decorators:e}),t.state.decorators=e})),u.list.promise(n),n},available:function(){var t=this,e=o.f(a.a.DecoratorsResource.available().url),n=Object(s.b)("GET",e);return n.then((function(e){t.trigger({types:e}),t.state.types=e})),u.available.promise(n),n},create:function(t){var e=o.f(a.a.DecoratorsResource.create().url),n=Object(s.b)("POST",e,t);return u.create.promise(n),n},createCompleted:function(){u.list()},remove:function(t){var e=o.f(a.a.DecoratorsResource.remove(t).url),n=Object(s.b)("DELETE",e);return u.remove.promise(n),n},removeCompleted:function(){u.list()},update:function(t,e){var n=o.f(a.a.DecoratorsResource.update(t).url),r=Object(s.b)("PUT",n,e);return u.update.promise(r),r},updateCompleted:function(){u.list()}});e.default=c},kwWFMz5J:function(t,exports,e){"use strict";var n=e("jyzIzA3P"),r=e("oaJ8xVPa").counter,i=e("CckoZzjI").scales,o=Object.keys(i);function a(t){return"`"+t+"`"}t.exports=function(t,e){t=t||"";var s,u,c=(e=e||{}).cLetter||"c",l="onlyIfNumerical"in e?e.onlyIfNumerical:Boolean(t),f="noScale"in e?e.noScale:"marker.line"===t,h="showScaleDflt"in e?e.showScaleDflt:"z"===c,d="string"==typeof e.colorscaleDflt?i[e.colorscaleDflt]:null,p=e.editTypeOverride||"",g=t?t+".":"";"colorAttr"in e?(s=e.colorAttr,u=e.colorAttr):u="in "+a(g+(s={z:"z",c:"color"}[c]));var v=l?" Has an effect only if "+u+"is set to a numerical array.":"",y=c+"auto",m=c+"min",b=c+"max",_=c+"mid",w=a(g+y),x=a(g+m),S=a(g+b),O=x+" and "+S,T={};T[m]=T[b]=void 0;var k={};k[y]=!1;var A={};return"color"===s&&(A.color={valType:"color",arrayOk:!0,role:"style",editType:p||"style",description:["Sets the",t,"color."," It accepts either a specific color"," or an array of numbers that are mapped to the colorscale"," relative to the max and min values of the array or relative to"," "+O+" if set."].join("")},e.anim&&(A.color.anim=!0)),A[y]={valType:"boolean",role:"info",dflt:!0,editType:"calc",impliedEdits:T,description:["Determines whether or not the color domain is computed"," with respect to the input data (here "+u+") or the bounds set in"," ",O," ",v," Defaults to `false` when ",O," are set by the user."].join("")},A[m]={valType:"number",role:"info",dflt:null,editType:p||"plot",impliedEdits:k,description:["Sets the lower bound of the color domain.",v," Value should have the same units as ",u," and if set, ",S," must be set as well."].join("")},A[b]={valType:"number",role:"info",dflt:null,editType:p||"plot",impliedEdits:k,description:["Sets the upper bound of the color domain.",v," Value should have the same units as ",u," and if set, ",x," must be set as well."].join("")},A[_]={valType:"number",role:"info",dflt:null,editType:"calc",impliedEdits:T,description:["Sets the mid-point of the color domain by scaling ",x," and/or ",S," to be equidistant to this point.",v," Value should have the same units as ",u,". ","Has no effect when ",w," is `false`."].join("")},A.colorscale={valType:"colorscale",role:"style",editType:"calc",dflt:d,impliedEdits:{autocolorscale:!1},description:["Sets the colorscale.",v," The colorscale must be an array containing"," arrays mapping a normalized value to an"," rgb, rgba, hex, hsl, hsv, or named color string."," At minimum, a mapping for the lowest (0) and highest (1)"," values are required. For example,"," `[[0, 'rgb(0,0,255)'], [1, 'rgb(255,0,0)']]`."," To control the bounds of the colorscale in color space,"," use",O,"."," Alternatively, `colorscale` may be a palette name string"," of the following list: "+o+"."].join("")},A.autocolorscale={valType:"boolean",role:"style",dflt:!1!==e.autoColorDflt,editType:"calc",impliedEdits:{colorscale:void 0},description:["Determines whether the colorscale is a default palette (`autocolorscale: true`)"," or the palette determined by ",a(g+"colorscale"),".",v," In case `colorscale` is unspecified or `autocolorscale` is true, the default "," palette will be chosen according to whether numbers in the `color` array are"," all positive, all negative or mixed."].join("")},A.reversescale={valType:"boolean",role:"style",dflt:!1,editType:"plot",description:["Reverses the color mapping if true.",v," If true, ",x," will correspond to the last color"," in the array and ",S," will correspond to the first color."].join("")},f||(A.showscale={valType:"boolean",role:"info",dflt:h,editType:"calc",description:["Determines whether or not a colorbar is displayed for this trace.",v].join("")},A.colorbar=n),e.noColorAxis||(A.coloraxis={valType:"subplotid",role:"info",regex:r("coloraxis"),dflt:null,editType:"calc",description:["Sets a reference to a shared color axis.","References to these shared color axes are *coloraxis*, *coloraxis2*, *coloraxis3*, etc.","Settings for these shared color axes are set in the layout, under","`layout.coloraxis`, `layout.coloraxis2`, etc.","Note that multiple color scales can be linked to the same color axis."].join(" ")}),A}},l1Orqn78:function(t,e,n){"use strict";var r={FILTERED_FIELDS:["_id","_ttl","_source","_all","_index","_type","_score","gl2_accounted_message_size","gl2_message_id","gl2_source_node","gl2_source_input","gl2_source_collector","gl2_source_collector_input","gl2_remote_ip","gl2_remote_port","gl2_remote_hostname","streams","gl2_source_radio","gl2_source_radio_input"],filterFields:function(t){var e=this,n={};return Object.keys(t).forEach((function(r){e.FILTERED_FIELDS.indexOf(r)<0&&(n[r]=t[r])})),n}};e.a=r},lHLBDM7v:function(t,exports,e){"use strict";t.exports=function(){}},lNueT97u:function(t,exports,e){"use strict";var n=e("yAcToaBS"),r=e("0Ft3SWJB"),i=e("s48LrSF+").extractOpts;t.exports=function(t,e,o){var a,s=t._fullLayout,u=o.vals,c=o.containerStr,l=c?r.nestedProperty(e,c).get():e,f=i(l),h=!1!==f.auto,d=f.min,p=f.max,g=f.mid,v=function(){return r.aggNums(Math.min,null,u)},y=function(){return r.aggNums(Math.max,null,u)};(void 0===d?d=v():h&&(d=l._colorAx&&n(d)?Math.min(d,v()):v()),void 0===p?p=y():h&&(p=l._colorAx&&n(p)?Math.max(p,y()):y()),h&&void 0!==g&&(p-g>g-d?d=g-(p-g):p-g=0?s.colorscale.sequential:s.colorscale.sequentialminus,f._sync("colorscale",a))}},"lf8+9Xc7":function(t,exports,e){"use strict";t.exports=function(t){var e=t.editType,n=t.colorEditType;void 0===n&&(n=e);var r={family:{valType:"string",role:"style",noBlank:!0,strict:!0,editType:e,description:["HTML font family - the typeface that will be applied by the web browser.","The web browser will only be able to apply a font if it is available on the system","which it operates. Provide multiple font families, separated by commas, to indicate","the preference in which to apply fonts if they aren't available on the system.","The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server,","where only a select number of","fonts are installed and supported.","These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*,","*Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*,","*PT Sans Narrow*, *Raleway*, *Times New Roman*."].join(" ")},size:{valType:"number",role:"style",min:1,editType:e},color:{valType:"color",role:"style",editType:n},editType:e,description:""+(t.description||"")};return t.arrayOk&&(r.family.arrayOk=!0,r.size.arrayOk=!0,r.color.arrayOk=!0),r}},lxFo35Wx:function(t,exports,e){"use strict";exports.byteLength=function(t){var e=u(t),n=e[0],r=e[1];return 3*(n+r)/4-r},exports.toByteArray=function(t){var e,n,o=u(t),a=o[0],s=o[1],c=new i(function(t,e,n){return 3*(e+n)/4-n}(0,a,s)),l=0,f=s>0?a-4:a;for(n=0;n>16&255,c[l++]=e>>8&255,c[l++]=255&e;2===s&&(e=r[t.charCodeAt(n)]<<2|r[t.charCodeAt(n+1)]>>4,c[l++]=255&e);1===s&&(e=r[t.charCodeAt(n)]<<10|r[t.charCodeAt(n+1)]<<4|r[t.charCodeAt(n+2)]>>2,c[l++]=e>>8&255,c[l++]=255&e);return c},exports.fromByteArray=function(t){for(var e,r=t.length,i=r%3,o=[],a=16383,s=0,u=r-i;su?u:s+a));1===i?(e=t[r-1],o.push(n[e>>2]+n[e<<4&63]+"==")):2===i&&(e=(t[r-2]<<8)+t[r-1],o.push(n[e>>10]+n[e>>4&63]+n[e<<2&63]+"="));return o.join("")};for(var n=[],r=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=o.length;a0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");return-1===n&&(n=e),[n,n===e?0:4-n%4]}function c(t,e,r){for(var i,o,a=[],s=e;s>18&63]+n[o>>12&63]+n[o>>6&63]+n[63&o]);return a.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},m4G3HF66:function(t,exports,e){t.exports=e("jaIgFIJB")(47)},mR82218M:function(t,e,n){"use strict";var r=n("oCSEoDew"),i=n.n(r);e.a=function(t,e,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},a=new i.a(t).addSearch("page",e).addSearch("per_page",n);return o&&Object.keys(o).forEach((function(t){var e=o[t]&&"function"==typeof o[t].toString?o[t].toString():o[t];a=a.addSearch(t,e)})),r&&a.addSearch("query",encodeURIComponent(r)),a.toString()}},mRXwKqDg:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o}));var r=function(t,e){return window.singletons[t]||(window.singletons[t]=e()),window.singletons[t]},i=function(t,e){return r("".concat(t,"Actions"),e)},o=function(t,e){return r("".concat(t,"Store"),e)};void 0===window.singletons&&(window.singletons={})},mi7jljcm:function(t,exports,e){"use strict";var n=e("x4lDX9p9");exports.init2dArray=function(t,e){for(var n=new Array(t),r=0;r, maybe it was inactive for too long.")),u.a.error(n,"Could not retrieve Sidecar")})),l.getSidecar.promise(e)},restartCollector:function(t,e){var n={};n.collector=e,n.properties={},n.properties.restart=!0;var r=Object(c.b)("PUT",s.f("".concat(this.sourceUrl,"/").concat(t,"/action")),[n]);r.catch((function(t){u.a.error("Restarting Sidecar failed with status: ".concat(t),"Could not restart Sidecar")})),l.restartCollector.promise(r)},getSidecarActions:function(t){var e=Object(c.d)("GET",s.f("".concat(this.sourceUrl,"/").concat(t,"/action")));e.catch((function(t){u.a.error("Fetching Sidecar actions failed with status: ".concat(t),"Could not retrieve Sidecar actions")})),l.getSidecarActions.promise(e)},toConfigurationAssignmentDto:function(t,e,n){return{node_id:t,collector_id:e,configuration_id:n}},assignConfigurations:function(t,e){var n=t.map((function(t){var n=t.sidecar,r=t.collector,i=n.assignments.filter((function(t){return t.collector_id!==r.id}));return e.forEach((function(t){i.push({collector_id:r.id,configuration_id:t.id})})),{node_id:n.node_id,assignments:i}})),r=Object(c.b)("PUT",s.f("".concat(this.sourceUrl,"/configurations")),{nodes:n});r.then((function(e){return u.a.success("","Configuration change for ".concat(t.length," collectors requested")),e}),(function(t){u.a.error("Fetching Sidecar actions failed with status: ".concat(t),"Could not retrieve Sidecar actions")})),l.assignConfigurations.promise(r)}});e.default=f},"n/pWmEhD":function(t,exports,e){"use strict";var n=e("CckoZzjI"),r=e("s48LrSF+");t.exports={moduleType:"component",name:"colorscale",attributes:e("kwWFMz5J"),layoutAttributes:e("L/KVaTuj"),supplyLayoutDefaults:e("K8s00lb3"),handleDefaults:e("NfKInJuD"),crossTraceDefaults:e("L/bPEX35"),calc:e("lNueT97u"),scales:n.scales,defaultScale:n.defaultScale,getScale:n.get,isValidScale:n.isValid,hasColorscale:r.hasColorscale,extractOpts:r.extractOpts,extractScale:r.extractScale,flipScale:r.flipScale,makeColorScaleFunc:r.makeColorScaleFunc,makeColorScaleFuncFromTrace:r.makeColorScaleFuncFromTrace}},n0MLhWIl:function(t,exports){var e="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(e){var n=new Uint8Array(16);t.exports=function(){return e(n),n}}else{var r=new Array(16);t.exports=function(){for(var t,e=0;e<16;e++)0==(3&e)&&(t=4294967296*Math.random()),r[e]=t>>>((3&e)<<3)&255;return r}}},"n4B/fXq8":function(t,exports,e){"use strict";var n=e("+I+lImdb"),r=/^\w*$/;t.exports=function(t,e,i,o){var a,s,u;i=i||"name",o=o||"value";var c={};e&&e.length?(u=n(t,e),s=u.get()):s=t,e=e||"";var l={};if(s)for(a=0;a2)return c[e]=2|c[e],h.set(t,null);if(f){for(a=e;a, please ensure it was not deleted.")),f.a.error(n,"Could not retrieve Collector")})),h.getCollector.promise(e)},_fetchCollectors:function(t){var e={query:t.query,page:t.page,per_page:t.pageSize},n=a()("".concat(this.sourceUrl,"/collectors/summary")).search(e).toString();return Object(l.b)("GET",c.f(n))},all:function(){var t=this,e=this._fetchCollectors({pageSize:0});e.then((function(e){return t.collectors=e.collectors,t.propagateChanges(),e.collectors}),(function(t){f.a.error("Fetching collectors failed with status: ".concat(t),"Could not retrieve collectors")})),h.all.promise(e)},list:function(t){var e=this,n=t.query,r=void 0===n?"":n,i=t.page,o=void 0===i?1:i,a=t.pageSize,s=void 0===a?10:a,u=this._fetchCollectors({query:r,page:o,pageSize:s});u.then((function(t){return e.query=t.query,e.pagination={page:t.pagination.page,pageSize:t.pagination.per_page,total:t.pagination.total},e.total=t.total,e.paginatedCollectors=t.collectors,e.propagateChanges(),t.collectors}),(function(t){f.a.error("Fetching collectors failed with status: ".concat(t),"Could not retrieve collectors")})),h.list.promise(u)},refreshList:function(){this.list({query:this.query,page:this.pagination.page,pageSize:this.pagination.pageSize})},create:function(t){var e=this,n=Object(l.b)("POST",c.f("".concat(this.sourceUrl,"/collectors")),t);n.then((function(t){return f.a.success("","Collector successfully created"),e.collectors=t.collectors,e.propagateChanges(),e.collectors}),(function(t){f.a.error("Fetching collectors failed with status: ".concat(t),"Could not retrieve collectors")})),h.create.promise(n)},update:function(t){var e=this,n=Object(l.b)("PUT",c.f("".concat(this.sourceUrl,"/collectors/").concat(t.id)),t);n.then((function(t){return f.a.success("","Collector successfully updated"),e.collectors=t.collectors,e.propagateChanges(),e.collectors}),(function(t){f.a.error("Fetching collectors failed with status: ".concat(t),"Could not retrieve collectors")})),h.update.promise(n)},delete:function(t){var e=this,n=c.f("".concat(this.sourceUrl,"/collectors/").concat(t.id)),r=Object(l.b)("DELETE",n);r.then((function(n){return f.a.success("",'Collector "'.concat(t.name,'" successfully deleted')),e.refreshList(),n}),(function(e){f.a.error("Deleting Collector failed: ".concat(400===e.status?e.responseMessage:e.message),'Could not delete Collector "'.concat(t.name,'"'))})),h.delete.promise(r)},copy:function(t,e){var n=this,r=c.f("".concat(this.sourceUrl,"/collectors/").concat(t,"/").concat(e)),i=Object(l.b)("POST",r);i.then((function(t){return f.a.success("",'Collector "'.concat(e,'" successfully copied')),n.refreshList(),t}),(function(t){f.a.error('Saving collector "'.concat(e,'" failed with status: ').concat(t.message),"Could not save Collector")})),h.copy.promise(i)},validate:function(t){var e={id:" ",service_type:"exec",executable_path:" ",default_template:" "};u.a.merge(e,t);var n=Object(l.b)("POST",c.f("".concat(this.sourceUrl,"/collectors/validate")),e);n.then((function(t){return t}),(function(t){return f.a.error('Validating collector "'.concat(e.name,'" failed with status: ').concat(t.message),"Could not validate collector")})),h.validate.promise(n)}});e.default=d},nHcjWeCO:function(t,exports,e){(function(t,n){var r;(function(){var i,o="Expected a function",a="__lodash_hash_undefined__",s="__lodash_placeholder__",u=16,c=32,l=64,f=128,h=256,d=1/0,p=9007199254740991,g=NaN,v=4294967295,y=[["ary",f],["bind",1],["bindKey",2],["curry",8],["curryRight",u],["flip",512],["partial",c],["partialRight",l],["rearg",h]],m="[object Arguments]",b="[object Array]",_="[object Boolean]",w="[object Date]",x="[object Error]",S="[object Function]",O="[object GeneratorFunction]",T="[object Map]",k="[object Number]",A="[object Object]",C="[object Promise]",E="[object RegExp]",j="[object Set]",R="[object String]",I="[object Symbol]",M="[object WeakMap]",P="[object ArrayBuffer]",D="[object DataView]",U="[object Float32Array]",F="[object Float64Array]",L="[object Int8Array]",N="[object Int16Array]",z="[object Int32Array]",q="[object Uint8Array]",B="[object Uint8ClampedArray]",H="[object Uint16Array]",V="[object Uint32Array]",G=/\b__p \+= '';/g,J=/\b(__p \+=) '' \+/g,W=/(__e\(.*?\)|\b__t\)) \+\n'';/g,K=/&(?:amp|lt|gt|quot|#39);/g,Y=/[&<>"']/g,X=RegExp(K.source),Q=RegExp(Y.source),Z=/<%-([\s\S]+?)%>/g,tt=/<%([\s\S]+?)%>/g,et=/<%=([\s\S]+?)%>/g,nt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,rt=/^\w*$/,it=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ot=/[\\^$.*+?()[\]{}|]/g,at=RegExp(ot.source),st=/^\s+/,ut=/\s/,ct=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,lt=/\{\n\/\* \[wrapped with (.+)\] \*/,ft=/,? & /,ht=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,dt=/[()=,{}\[\]\/\s]/,pt=/\\(\\)?/g,gt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,vt=/\w*$/,yt=/^[-+]0x[0-9a-f]+$/i,mt=/^0b[01]+$/i,bt=/^\[object .+?Constructor\]$/,_t=/^0o[0-7]+$/i,wt=/^(?:0|[1-9]\d*)$/,xt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,St=/($^)/,Ot=/['\n\r\u2028\u2029\\]/g,Tt="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",kt="\\u2700-\\u27bf",At="a-z\\xdf-\\xf6\\xf8-\\xff",Ct="A-Z\\xc0-\\xd6\\xd8-\\xde",Et="\\ufe0e\\ufe0f",jt="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Rt="['’]",It="[\\ud800-\\udfff]",Mt="["+jt+"]",Pt="["+Tt+"]",Dt="\\d+",Ut="[\\u2700-\\u27bf]",Ft="["+At+"]",Lt="[^\\ud800-\\udfff"+jt+Dt+kt+At+Ct+"]",Nt="\\ud83c[\\udffb-\\udfff]",zt="[^\\ud800-\\udfff]",qt="(?:\\ud83c[\\udde6-\\uddff]){2}",Bt="[\\ud800-\\udbff][\\udc00-\\udfff]",Ht="["+Ct+"]",Vt="(?:"+Ft+"|"+Lt+")",Gt="(?:"+Ht+"|"+Lt+")",Jt="(?:['’](?:d|ll|m|re|s|t|ve))?",Wt="(?:['’](?:D|LL|M|RE|S|T|VE))?",Kt="(?:"+Pt+"|"+Nt+")"+"?",Yt="[\\ufe0e\\ufe0f]?",Xt=Yt+Kt+("(?:\\u200d(?:"+[zt,qt,Bt].join("|")+")"+Yt+Kt+")*"),Qt="(?:"+[Ut,qt,Bt].join("|")+")"+Xt,Zt="(?:"+[zt+Pt+"?",Pt,qt,Bt,It].join("|")+")",$t=RegExp(Rt,"g"),te=RegExp(Pt,"g"),ee=RegExp(Nt+"(?="+Nt+")|"+Zt+Xt,"g"),ne=RegExp([Ht+"?"+Ft+"+"+Jt+"(?="+[Mt,Ht,"$"].join("|")+")",Gt+"+"+Wt+"(?="+[Mt,Ht+Vt,"$"].join("|")+")",Ht+"?"+Vt+"+"+Jt,Ht+"+"+Wt,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Dt,Qt].join("|"),"g"),re=RegExp("[\\u200d\\ud800-\\udfff"+Tt+Et+"]"),ie=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,oe=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],ae=-1,se={};se[U]=se[F]=se[L]=se[N]=se[z]=se[q]=se[B]=se[H]=se[V]=!0,se[m]=se[b]=se[P]=se[_]=se[D]=se[w]=se[x]=se[S]=se[T]=se[k]=se[A]=se[E]=se[j]=se[R]=se[M]=!1;var ue={};ue[m]=ue[b]=ue[P]=ue[D]=ue[_]=ue[w]=ue[U]=ue[F]=ue[L]=ue[N]=ue[z]=ue[T]=ue[k]=ue[A]=ue[E]=ue[j]=ue[R]=ue[I]=ue[q]=ue[B]=ue[H]=ue[V]=!0,ue[x]=ue[S]=ue[M]=!1;var ce={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},le=parseFloat,fe=parseInt,he="object"==typeof t&&t&&t.Object===Object&&t,de="object"==typeof self&&self&&self.Object===Object&&self,pe=he||de||Function("return this")(),ge=exports&&!exports.nodeType&&exports,ve=ge&&"object"==typeof n&&n&&!n.nodeType&&n,ye=ve&&ve.exports===ge,me=ye&&he.process,be=function(){try{var t=ve&&ve.require&&ve.require("util").types;return t||me&&me.binding&&me.binding("util")}catch(t){}}(),_e=be&&be.isArrayBuffer,we=be&&be.isDate,xe=be&&be.isMap,Se=be&&be.isRegExp,Oe=be&&be.isSet,Te=be&&be.isTypedArray;function ke(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function Ae(t,e,n,r){for(var i=-1,o=null==t?0:t.length;++i-1}function Me(t,e,n){for(var r=-1,i=null==t?0:t.length;++r-1;);return n}function nn(t,e){for(var n=t.length;n--&&Be(e,t[n],0)>-1;);return n}function rn(t,e){for(var n=t.length,r=0;n--;)t[n]===e&&++r;return r}var on=We({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),an=We({"&":"&","<":"<",">":">",'"':""","'":"'"});function sn(t){return"\\"+ce[t]}function un(t){return re.test(t)}function cn(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}function ln(t,e){return function(n){return t(e(n))}}function fn(t,e){for(var n=-1,r=t.length,i=0,o=[];++n",""":'"',"'":"'"});var mn=function t(e){var n,r=(e=null==e?pe:mn.defaults(pe.Object(),e,mn.pick(pe,oe))).Array,ut=e.Date,Tt=e.Error,kt=e.Function,At=e.Math,Ct=e.Object,Et=e.RegExp,jt=e.String,Rt=e.TypeError,It=r.prototype,Mt=kt.prototype,Pt=Ct.prototype,Dt=e["__core-js_shared__"],Ut=Mt.toString,Ft=Pt.hasOwnProperty,Lt=0,Nt=(n=/[^.]+$/.exec(Dt&&Dt.keys&&Dt.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",zt=Pt.toString,qt=Ut.call(Ct),Bt=pe._,Ht=Et("^"+Ut.call(Ft).replace(ot,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Vt=ye?e.Buffer:i,Gt=e.Symbol,Jt=e.Uint8Array,Wt=Vt?Vt.allocUnsafe:i,Kt=ln(Ct.getPrototypeOf,Ct),Yt=Ct.create,Xt=Pt.propertyIsEnumerable,Qt=It.splice,Zt=Gt?Gt.isConcatSpreadable:i,ee=Gt?Gt.iterator:i,re=Gt?Gt.toStringTag:i,ce=function(){try{var t=go(Ct,"defineProperty");return t({},"",{}),t}catch(t){}}(),he=e.clearTimeout!==pe.clearTimeout&&e.clearTimeout,de=ut&&ut.now!==pe.Date.now&&ut.now,ge=e.setTimeout!==pe.setTimeout&&e.setTimeout,ve=At.ceil,me=At.floor,be=Ct.getOwnPropertySymbols,Ne=Vt?Vt.isBuffer:i,We=e.isFinite,bn=It.join,_n=ln(Ct.keys,Ct),wn=At.max,xn=At.min,Sn=ut.now,On=e.parseInt,Tn=At.random,kn=It.reverse,An=go(e,"DataView"),Cn=go(e,"Map"),En=go(e,"Promise"),jn=go(e,"Set"),Rn=go(e,"WeakMap"),In=go(Ct,"create"),Mn=Rn&&new Rn,Pn={},Dn=Bo(An),Un=Bo(Cn),Fn=Bo(En),Ln=Bo(jn),Nn=Bo(Rn),zn=Gt?Gt.prototype:i,qn=zn?zn.valueOf:i,Bn=zn?zn.toString:i;function Hn(t){if(os(t)&&!Ka(t)&&!(t instanceof Wn)){if(t instanceof Jn)return t;if(Ft.call(t,"__wrapped__"))return Ho(t)}return new Jn(t)}var Vn=function(){function t(){}return function(e){if(!is(e))return{};if(Yt)return Yt(e);t.prototype=e;var n=new t;return t.prototype=i,n}}();function Gn(){}function Jn(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=i}function Wn(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=v,this.__views__=[]}function Kn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e=e?t:e)),t}function fr(t,e,n,r,o,a){var s,u=1&e,c=2&e,l=4&e;if(n&&(s=o?n(t,r,o,a):n(t)),s!==i)return s;if(!is(t))return t;var f=Ka(t);if(f){if(s=function(t){var e=t.length,n=new t.constructor(e);e&&"string"==typeof t[0]&&Ft.call(t,"index")&&(n.index=t.index,n.input=t.input);return n}(t),!u)return Ii(t,s)}else{var h=mo(t),d=h==S||h==O;if(Za(t))return ki(t,u);if(h==A||h==m||d&&!o){if(s=c||d?{}:_o(t),!u)return c?function(t,e){return Mi(t,yo(t),e)}(t,function(t,e){return t&&Mi(e,Us(e),t)}(s,t)):function(t,e){return Mi(t,vo(t),e)}(t,sr(s,t))}else{if(!ue[h])return o?t:{};s=function(t,e,n){var r=t.constructor;switch(e){case P:return Ai(t);case _:case w:return new r(+t);case D:return function(t,e){var n=e?Ai(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,n);case U:case F:case L:case N:case z:case q:case B:case H:case V:return Ci(t,n);case T:return new r;case k:case R:return new r(t);case E:return function(t){var e=new t.constructor(t.source,vt.exec(t));return e.lastIndex=t.lastIndex,e}(t);case j:return new r;case I:return i=t,qn?Ct(qn.call(i)):{}}var i}(t,h,u)}}a||(a=new Zn);var p=a.get(t);if(p)return p;a.set(t,s),ls(t)?t.forEach((function(r){s.add(fr(r,e,n,r,t,a))})):as(t)&&t.forEach((function(r,i){s.set(i,fr(r,e,n,i,t,a))}));var g=f?i:(l?c?so:ao:c?Us:Ds)(t);return Ce(g||t,(function(r,i){g&&(r=t[i=r]),ir(s,i,fr(r,e,n,i,t,a))})),s}function hr(t,e,n){var r=n.length;if(null==t)return!r;for(t=Ct(t);r--;){var o=n[r],a=e[o],s=t[o];if(s===i&&!(o in t)||!a(s))return!1}return!0}function dr(t,e,n){if("function"!=typeof t)throw new Rt(o);return Do((function(){t.apply(i,n)}),e)}function pr(t,e,n,r){var i=-1,o=Ie,a=!0,s=t.length,u=[],c=e.length;if(!s)return u;n&&(e=Pe(e,Ze(n))),r?(o=Me,a=!1):e.length>=200&&(o=tn,a=!1,e=new Qn(e));t:for(;++i-1},Yn.prototype.set=function(t,e){var n=this.__data__,r=or(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this},Xn.prototype.clear=function(){this.size=0,this.__data__={hash:new Kn,map:new(Cn||Yn),string:new Kn}},Xn.prototype.delete=function(t){var e=ho(this,t).delete(t);return this.size-=e?1:0,e},Xn.prototype.get=function(t){return ho(this,t).get(t)},Xn.prototype.has=function(t){return ho(this,t).has(t)},Xn.prototype.set=function(t,e){var n=ho(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this},Qn.prototype.add=Qn.prototype.push=function(t){return this.__data__.set(t,a),this},Qn.prototype.has=function(t){return this.__data__.has(t)},Zn.prototype.clear=function(){this.__data__=new Yn,this.size=0},Zn.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},Zn.prototype.get=function(t){return this.__data__.get(t)},Zn.prototype.has=function(t){return this.__data__.has(t)},Zn.prototype.set=function(t,e){var n=this.__data__;if(n instanceof Yn){var r=n.__data__;if(!Cn||r.length<199)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new Xn(r)}return n.set(t,e),this.size=n.size,this};var gr=Ui(Sr),vr=Ui(Or,!0);function yr(t,e){var n=!0;return gr(t,(function(t,r,i){return n=!!e(t,r,i)})),n}function mr(t,e,n){for(var r=-1,o=t.length;++r0&&n(s)?e>1?_r(s,e-1,n,r,i):De(i,s):r||(i[i.length]=s)}return i}var wr=Fi(),xr=Fi(!0);function Sr(t,e){return t&&wr(t,e,Ds)}function Or(t,e){return t&&xr(t,e,Ds)}function Tr(t,e){return Re(e,(function(e){return es(t[e])}))}function kr(t,e){for(var n=0,r=(e=xi(e,t)).length;null!=t&&ne}function jr(t,e){return null!=t&&Ft.call(t,e)}function Rr(t,e){return null!=t&&e in Ct(t)}function Ir(t,e,n){for(var o=n?Me:Ie,a=t[0].length,s=t.length,u=s,c=r(s),l=1/0,f=[];u--;){var h=t[u];u&&e&&(h=Pe(h,Ze(e))),l=xn(h.length,l),c[u]=!n&&(e||a>=120&&h.length>=120)?new Qn(u&&h):i}h=t[0];var d=-1,p=c[0];t:for(;++d=s?u:u*("desc"==n[r]?-1:1)}return t.index-e.index}(t,e,n)}))}function Kr(t,e,n){for(var r=-1,i=e.length,o={};++r-1;)s!==t&&Qt.call(s,u,1),Qt.call(t,u,1);return t}function Xr(t,e){for(var n=t?e.length:0,r=n-1;n--;){var i=e[n];if(n==r||i!==o){var o=i;xo(i)?Qt.call(t,i,1):pi(t,i)}}return t}function Qr(t,e){return t+me(Tn()*(e-t+1))}function Zr(t,e){var n="";if(!t||e<1||e>p)return n;do{e%2&&(n+=t),(e=me(e/2))&&(t+=t)}while(e);return n}function $r(t,e){return Uo(jo(t,e,su),t+"")}function ti(t){return tr(Vs(t))}function ei(t,e){var n=Vs(t);return No(n,lr(e,0,n.length))}function ni(t,e,n,r){if(!is(t))return t;for(var o=-1,a=(e=xi(e,t)).length,s=a-1,u=t;null!=u&&++oo?0:o+e),(n=n>o?o:n)<0&&(n+=o),o=e>n?0:n-e>>>0,e>>>=0;for(var a=r(o);++i>>1,a=t[o];null!==a&&!hs(a)&&(n?a<=e:a=200){var c=e?null:Zi(t);if(c)return hn(c);a=!1,i=tn,u=new Qn}else u=e?[]:s;t:for(;++r=r?t:ai(t,e,n)}var Ti=he||function(t){return pe.clearTimeout(t)};function ki(t,e){if(e)return t.slice();var n=t.length,r=Wt?Wt(n):new t.constructor(n);return t.copy(r),r}function Ai(t){var e=new t.constructor(t.byteLength);return new Jt(e).set(new Jt(t)),e}function Ci(t,e){var n=e?Ai(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function Ei(t,e){if(t!==e){var n=t!==i,r=null===t,o=t==t,a=hs(t),s=e!==i,u=null===e,c=e==e,l=hs(e);if(!u&&!l&&!a&&t>e||a&&s&&c&&!u&&!l||r&&s&&c||!n&&c||!o)return 1;if(!r&&!a&&!l&&t1?n[o-1]:i,s=o>2?n[2]:i;for(a=t.length>3&&"function"==typeof a?(o--,a):i,s&&So(n[0],n[1],s)&&(a=o<3?i:a,o=1),e=Ct(e);++r-1?o[a?e[s]:s]:i}}function Bi(t){return oo((function(e){var n=e.length,r=n,a=Jn.prototype.thru;for(t&&e.reverse();r--;){var s=e[r];if("function"!=typeof s)throw new Rt(o);if(a&&!u&&"wrapper"==co(s))var u=new Jn([],!0)}for(r=u?r:n;++r1&&b.reverse(),d&&lu))return!1;var l=a.get(t),f=a.get(e);if(l&&f)return l==e&&f==t;var h=-1,d=!0,p=2&n?new Qn:i;for(a.set(t,e),a.set(e,t);++h-1&&t%1==0&&t1?"& ":"")+e[r],e=e.join(n>2?", ":" "),t.replace(ct,"{\n/* [wrapped with "+e+"] */\n")}(r,function(t,e){return Ce(y,(function(n){var r="_."+n[0];e&n[1]&&!Ie(t,r)&&t.push(r)})),t.sort()}(function(t){var e=t.match(lt);return e?e[1].split(ft):[]}(r),n)))}function Lo(t){var e=0,n=0;return function(){var r=Sn(),o=16-(r-n);if(n=r,o>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(i,arguments)}}function No(t,e){var n=-1,r=t.length,o=r-1;for(e=e===i?r:e;++n1?t[e-1]:i;return n="function"==typeof n?(t.pop(),n):i,ca(t,n)}));function va(t){var e=Hn(t);return e.__chain__=!0,e}function ya(t,e){return e(t)}var ma=oo((function(t){var e=t.length,n=e?t[0]:0,r=this.__wrapped__,o=function(e){return cr(e,t)};return!(e>1||this.__actions__.length)&&r instanceof Wn&&xo(n)?((r=r.slice(n,+n+(e?1:0))).__actions__.push({func:ya,args:[o],thisArg:i}),new Jn(r,this.__chain__).thru((function(t){return e&&!t.length&&t.push(i),t}))):this.thru(o)}));var ba=Pi((function(t,e,n){Ft.call(t,n)?++t[n]:ur(t,n,1)}));var _a=qi(Wo),wa=qi(Ko);function xa(t,e){return(Ka(t)?Ce:gr)(t,fo(e,3))}function Sa(t,e){return(Ka(t)?Ee:vr)(t,fo(e,3))}var Oa=Pi((function(t,e,n){Ft.call(t,n)?t[n].push(e):ur(t,n,[e])}));var Ta=$r((function(t,e,n){var i=-1,o="function"==typeof e,a=Xa(t)?r(t.length):[];return gr(t,(function(t){a[++i]=o?ke(e,t,n):Mr(t,e,n)})),a})),ka=Pi((function(t,e,n){ur(t,n,e)}));function Aa(t,e){return(Ka(t)?Pe:Br)(t,fo(e,3))}var Ca=Pi((function(t,e,n){t[n?0:1].push(e)}),(function(){return[[],[]]}));var Ea=$r((function(t,e){if(null==t)return[];var n=e.length;return n>1&&So(t,e[0],e[1])?e=[]:n>2&&So(e[0],e[1],e[2])&&(e=[e[0]]),Wr(t,_r(e,1),[])})),ja=de||function(){return pe.Date.now()};function Ra(t,e,n){return e=n?i:e,e=t&&null==e?t.length:e,to(t,f,i,i,i,i,e)}function Ia(t,e){var n;if("function"!=typeof e)throw new Rt(o);return t=ms(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=i),n}}var Ma=$r((function(t,e,n){var r=1;if(n.length){var i=fn(n,lo(Ma));r|=c}return to(t,r,e,n,i)})),Pa=$r((function(t,e,n){var r=3;if(n.length){var i=fn(n,lo(Pa));r|=c}return to(e,r,t,n,i)}));function Da(t,e,n){var r,a,s,u,c,l,f=0,h=!1,d=!1,p=!0;if("function"!=typeof t)throw new Rt(o);function g(e){var n=r,o=a;return r=a=i,f=e,u=t.apply(o,n)}function v(t){return f=t,c=Do(m,e),h?g(t):u}function y(t){var n=t-l;return l===i||n>=e||n<0||d&&t-f>=s}function m(){var t=ja();if(y(t))return b(t);c=Do(m,function(t){var n=e-(t-l);return d?xn(n,s-(t-f)):n}(t))}function b(t){return c=i,p&&r?g(t):(r=a=i,u)}function _(){var t=ja(),n=y(t);if(r=arguments,a=this,l=t,n){if(c===i)return v(l);if(d)return Ti(c),c=Do(m,e),g(l)}return c===i&&(c=Do(m,e)),u}return e=_s(e)||0,is(n)&&(h=!!n.leading,s=(d="maxWait"in n)?wn(_s(n.maxWait)||0,e):s,p="trailing"in n?!!n.trailing:p),_.cancel=function(){c!==i&&Ti(c),f=0,r=l=a=c=i},_.flush=function(){return c===i?u:b(ja())},_}var Ua=$r((function(t,e){return dr(t,1,e)})),Fa=$r((function(t,e,n){return dr(t,_s(e)||0,n)}));function La(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new Rt(o);var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=t.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(La.Cache||Xn),n}function Na(t){if("function"!=typeof t)throw new Rt(o);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}La.Cache=Xn;var za=Si((function(t,e){var n=(e=1==e.length&&Ka(e[0])?Pe(e[0],Ze(fo())):Pe(_r(e,1),Ze(fo()))).length;return $r((function(r){for(var i=-1,o=xn(r.length,n);++i=e})),Wa=Pr(function(){return arguments}())?Pr:function(t){return os(t)&&Ft.call(t,"callee")&&!Xt.call(t,"callee")},Ka=r.isArray,Ya=_e?Ze(_e):function(t){return os(t)&&Cr(t)==P};function Xa(t){return null!=t&&rs(t.length)&&!es(t)}function Qa(t){return os(t)&&Xa(t)}var Za=Ne||_u,$a=we?Ze(we):function(t){return os(t)&&Cr(t)==w};function ts(t){if(!os(t))return!1;var e=Cr(t);return e==x||"[object DOMException]"==e||"string"==typeof t.message&&"string"==typeof t.name&&!us(t)}function es(t){if(!is(t))return!1;var e=Cr(t);return e==S||e==O||"[object AsyncFunction]"==e||"[object Proxy]"==e}function ns(t){return"number"==typeof t&&t==ms(t)}function rs(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=p}function is(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function os(t){return null!=t&&"object"==typeof t}var as=xe?Ze(xe):function(t){return os(t)&&mo(t)==T};function ss(t){return"number"==typeof t||os(t)&&Cr(t)==k}function us(t){if(!os(t)||Cr(t)!=A)return!1;var e=Kt(t);if(null===e)return!0;var n=Ft.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&Ut.call(n)==qt}var cs=Se?Ze(Se):function(t){return os(t)&&Cr(t)==E};var ls=Oe?Ze(Oe):function(t){return os(t)&&mo(t)==j};function fs(t){return"string"==typeof t||!Ka(t)&&os(t)&&Cr(t)==R}function hs(t){return"symbol"==typeof t||os(t)&&Cr(t)==I}var ds=Te?Ze(Te):function(t){return os(t)&&rs(t.length)&&!!se[Cr(t)]};var ps=Yi(qr),gs=Yi((function(t,e){return t<=e}));function vs(t){if(!t)return[];if(Xa(t))return fs(t)?gn(t):Ii(t);if(ee&&t[ee])return function(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}(t[ee]());var e=mo(t);return(e==T?cn:e==j?hn:Vs)(t)}function ys(t){return t?(t=_s(t))===d||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}function ms(t){var e=ys(t),n=e%1;return e==e?n?e-n:e:0}function bs(t){return t?lr(ms(t),0,v):0}function _s(t){if("number"==typeof t)return t;if(hs(t))return g;if(is(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=is(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=Qe(t);var n=mt.test(t);return n||_t.test(t)?fe(t.slice(2),n?2:8):yt.test(t)?g:+t}function ws(t){return Mi(t,Us(t))}function xs(t){return null==t?"":hi(t)}var Ss=Di((function(t,e){if(Ao(e)||Xa(e))Mi(e,Ds(e),t);else for(var n in e)Ft.call(e,n)&&ir(t,n,e[n])})),Os=Di((function(t,e){Mi(e,Us(e),t)})),Ts=Di((function(t,e,n,r){Mi(e,Us(e),t,r)})),ks=Di((function(t,e,n,r){Mi(e,Ds(e),t,r)})),As=oo(cr);var Cs=$r((function(t,e){t=Ct(t);var n=-1,r=e.length,o=r>2?e[2]:i;for(o&&So(e[0],e[1],o)&&(r=1);++n1),e})),Mi(t,so(t),n),r&&(n=fr(n,7,ro));for(var i=e.length;i--;)pi(n,e[i]);return n}));var zs=oo((function(t,e){return null==t?{}:function(t,e){return Kr(t,e,(function(e,n){return Rs(t,n)}))}(t,e)}));function qs(t,e){if(null==t)return{};var n=Pe(so(t),(function(t){return[t]}));return e=fo(e),Kr(t,n,(function(t,n){return e(t,n[0])}))}var Bs=$i(Ds),Hs=$i(Us);function Vs(t){return null==t?[]:$e(t,Ds(t))}var Gs=Ni((function(t,e,n){return e=e.toLowerCase(),t+(n?Js(e):e)}));function Js(t){return tu(xs(t).toLowerCase())}function Ws(t){return(t=xs(t))&&t.replace(xt,on).replace(te,"")}var Ks=Ni((function(t,e,n){return t+(n?"-":"")+e.toLowerCase()})),Ys=Ni((function(t,e,n){return t+(n?" ":"")+e.toLowerCase()})),Xs=Li("toLowerCase");var Qs=Ni((function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}));var Zs=Ni((function(t,e,n){return t+(n?" ":"")+tu(e)}));var $s=Ni((function(t,e,n){return t+(n?" ":"")+e.toUpperCase()})),tu=Li("toUpperCase");function eu(t,e,n){return t=xs(t),(e=n?i:e)===i?function(t){return ie.test(t)}(t)?function(t){return t.match(ne)||[]}(t):function(t){return t.match(ht)||[]}(t):t.match(e)||[]}var nu=$r((function(t,e){try{return ke(t,i,e)}catch(t){return ts(t)?t:new Tt(t)}})),ru=oo((function(t,e){return Ce(e,(function(e){e=qo(e),ur(t,e,Ma(t[e],t))})),t}));function iu(t){return function(){return t}}var ou=Bi(),au=Bi(!0);function su(t){return t}function uu(t){return Lr("function"==typeof t?t:fr(t,1))}var cu=$r((function(t,e){return function(n){return Mr(n,t,e)}})),lu=$r((function(t,e){return function(n){return Mr(t,n,e)}}));function fu(t,e,n){var r=Ds(e),i=Tr(e,r);null!=n||is(e)&&(i.length||!r.length)||(n=e,e=t,t=this,i=Tr(e,Ds(e)));var o=!(is(n)&&"chain"in n&&!n.chain),a=es(t);return Ce(i,(function(n){var r=e[n];t[n]=r,a&&(t.prototype[n]=function(){var e=this.__chain__;if(o||e){var n=t(this.__wrapped__),i=n.__actions__=Ii(this.__actions__);return i.push({func:r,args:arguments,thisArg:t}),n.__chain__=e,n}return r.apply(t,De([this.value()],arguments))})})),t}function hu(){}var du=Ji(Pe),pu=Ji(je),gu=Ji(Le);function vu(t){return Oo(t)?Je(qo(t)):function(t){return function(e){return kr(e,t)}}(t)}var yu=Ki(),mu=Ki(!0);function bu(){return[]}function _u(){return!1}var wu=Gi((function(t,e){return t+e}),0),xu=Qi("ceil"),Su=Gi((function(t,e){return t/e}),1),Ou=Qi("floor");var Tu,ku=Gi((function(t,e){return t*e}),1),Au=Qi("round"),Cu=Gi((function(t,e){return t-e}),0);return Hn.after=function(t,e){if("function"!=typeof e)throw new Rt(o);return t=ms(t),function(){if(--t<1)return e.apply(this,arguments)}},Hn.ary=Ra,Hn.assign=Ss,Hn.assignIn=Os,Hn.assignInWith=Ts,Hn.assignWith=ks,Hn.at=As,Hn.before=Ia,Hn.bind=Ma,Hn.bindAll=ru,Hn.bindKey=Pa,Hn.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return Ka(t)?t:[t]},Hn.chain=va,Hn.chunk=function(t,e,n){e=(n?So(t,e,n):e===i)?1:wn(ms(e),0);var o=null==t?0:t.length;if(!o||e<1)return[];for(var a=0,s=0,u=r(ve(o/e));ao?0:o+n),(r=r===i||r>o?o:ms(r))<0&&(r+=o),r=n>r?0:bs(r);n>>0)?(t=xs(t))&&("string"==typeof e||null!=e&&!cs(e))&&!(e=hi(e))&&un(t)?Oi(gn(t),0,n):t.split(e,n):[]},Hn.spread=function(t,e){if("function"!=typeof t)throw new Rt(o);return e=null==e?0:wn(ms(e),0),$r((function(n){var r=n[e],i=Oi(n,0,e);return r&&De(i,r),ke(t,this,i)}))},Hn.tail=function(t){var e=null==t?0:t.length;return e?ai(t,1,e):[]},Hn.take=function(t,e,n){return t&&t.length?ai(t,0,(e=n||e===i?1:ms(e))<0?0:e):[]},Hn.takeRight=function(t,e,n){var r=null==t?0:t.length;return r?ai(t,(e=r-(e=n||e===i?1:ms(e)))<0?0:e,r):[]},Hn.takeRightWhile=function(t,e){return t&&t.length?vi(t,fo(e,3),!1,!0):[]},Hn.takeWhile=function(t,e){return t&&t.length?vi(t,fo(e,3)):[]},Hn.tap=function(t,e){return e(t),t},Hn.throttle=function(t,e,n){var r=!0,i=!0;if("function"!=typeof t)throw new Rt(o);return is(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),Da(t,e,{leading:r,maxWait:e,trailing:i})},Hn.thru=ya,Hn.toArray=vs,Hn.toPairs=Bs,Hn.toPairsIn=Hs,Hn.toPath=function(t){return Ka(t)?Pe(t,qo):hs(t)?[t]:Ii(zo(xs(t)))},Hn.toPlainObject=ws,Hn.transform=function(t,e,n){var r=Ka(t),i=r||Za(t)||ds(t);if(e=fo(e,4),null==n){var o=t&&t.constructor;n=i?r?new o:[]:is(t)&&es(o)?Vn(Kt(t)):{}}return(i?Ce:Sr)(t,(function(t,r,i){return e(n,t,r,i)})),n},Hn.unary=function(t){return Ra(t,1)},Hn.union=oa,Hn.unionBy=aa,Hn.unionWith=sa,Hn.uniq=function(t){return t&&t.length?di(t):[]},Hn.uniqBy=function(t,e){return t&&t.length?di(t,fo(e,2)):[]},Hn.uniqWith=function(t,e){return e="function"==typeof e?e:i,t&&t.length?di(t,i,e):[]},Hn.unset=function(t,e){return null==t||pi(t,e)},Hn.unzip=ua,Hn.unzipWith=ca,Hn.update=function(t,e,n){return null==t?t:gi(t,e,wi(n))},Hn.updateWith=function(t,e,n,r){return r="function"==typeof r?r:i,null==t?t:gi(t,e,wi(n),r)},Hn.values=Vs,Hn.valuesIn=function(t){return null==t?[]:$e(t,Us(t))},Hn.without=la,Hn.words=eu,Hn.wrap=function(t,e){return qa(wi(e),t)},Hn.xor=fa,Hn.xorBy=ha,Hn.xorWith=da,Hn.zip=pa,Hn.zipObject=function(t,e){return bi(t||[],e||[],ir)},Hn.zipObjectDeep=function(t,e){return bi(t||[],e||[],ni)},Hn.zipWith=ga,Hn.entries=Bs,Hn.entriesIn=Hs,Hn.extend=Os,Hn.extendWith=Ts,fu(Hn,Hn),Hn.add=wu,Hn.attempt=nu,Hn.camelCase=Gs,Hn.capitalize=Js,Hn.ceil=xu,Hn.clamp=function(t,e,n){return n===i&&(n=e,e=i),n!==i&&(n=(n=_s(n))==n?n:0),e!==i&&(e=(e=_s(e))==e?e:0),lr(_s(t),e,n)},Hn.clone=function(t){return fr(t,4)},Hn.cloneDeep=function(t){return fr(t,5)},Hn.cloneDeepWith=function(t,e){return fr(t,5,e="function"==typeof e?e:i)},Hn.cloneWith=function(t,e){return fr(t,4,e="function"==typeof e?e:i)},Hn.conformsTo=function(t,e){return null==e||hr(t,e,Ds(e))},Hn.deburr=Ws,Hn.defaultTo=function(t,e){return null==t||t!=t?e:t},Hn.divide=Su,Hn.endsWith=function(t,e,n){t=xs(t),e=hi(e);var r=t.length,o=n=n===i?r:lr(ms(n),0,r);return(n-=e.length)>=0&&t.slice(n,o)==e},Hn.eq=Va,Hn.escape=function(t){return(t=xs(t))&&Q.test(t)?t.replace(Y,an):t},Hn.escapeRegExp=function(t){return(t=xs(t))&&at.test(t)?t.replace(ot,"\\$&"):t},Hn.every=function(t,e,n){var r=Ka(t)?je:yr;return n&&So(t,e,n)&&(e=i),r(t,fo(e,3))},Hn.find=_a,Hn.findIndex=Wo,Hn.findKey=function(t,e){return ze(t,fo(e,3),Sr)},Hn.findLast=wa,Hn.findLastIndex=Ko,Hn.findLastKey=function(t,e){return ze(t,fo(e,3),Or)},Hn.floor=Ou,Hn.forEach=xa,Hn.forEachRight=Sa,Hn.forIn=function(t,e){return null==t?t:wr(t,fo(e,3),Us)},Hn.forInRight=function(t,e){return null==t?t:xr(t,fo(e,3),Us)},Hn.forOwn=function(t,e){return t&&Sr(t,fo(e,3))},Hn.forOwnRight=function(t,e){return t&&Or(t,fo(e,3))},Hn.get=js,Hn.gt=Ga,Hn.gte=Ja,Hn.has=function(t,e){return null!=t&&bo(t,e,jr)},Hn.hasIn=Rs,Hn.head=Xo,Hn.identity=su,Hn.includes=function(t,e,n,r){t=Xa(t)?t:Vs(t),n=n&&!r?ms(n):0;var i=t.length;return n<0&&(n=wn(i+n,0)),fs(t)?n<=i&&t.indexOf(e,n)>-1:!!i&&Be(t,e,n)>-1},Hn.indexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:ms(n);return i<0&&(i=wn(r+i,0)),Be(t,e,i)},Hn.inRange=function(t,e,n){return e=ys(e),n===i?(n=e,e=0):n=ys(n),function(t,e,n){return t>=xn(e,n)&&t=-9007199254740991&&t<=p},Hn.isSet=ls,Hn.isString=fs,Hn.isSymbol=hs,Hn.isTypedArray=ds,Hn.isUndefined=function(t){return t===i},Hn.isWeakMap=function(t){return os(t)&&mo(t)==M},Hn.isWeakSet=function(t){return os(t)&&"[object WeakSet]"==Cr(t)},Hn.join=function(t,e){return null==t?"":bn.call(t,e)},Hn.kebabCase=Ks,Hn.last=ta,Hn.lastIndexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var o=r;return n!==i&&(o=(o=ms(n))<0?wn(r+o,0):xn(o,r-1)),e==e?function(t,e,n){for(var r=n+1;r--;)if(t[r]===e)return r;return r}(t,e,o):qe(t,Ve,o,!0)},Hn.lowerCase=Ys,Hn.lowerFirst=Xs,Hn.lt=ps,Hn.lte=gs,Hn.max=function(t){return t&&t.length?mr(t,su,Er):i},Hn.maxBy=function(t,e){return t&&t.length?mr(t,fo(e,2),Er):i},Hn.mean=function(t){return Ge(t,su)},Hn.meanBy=function(t,e){return Ge(t,fo(e,2))},Hn.min=function(t){return t&&t.length?mr(t,su,qr):i},Hn.minBy=function(t,e){return t&&t.length?mr(t,fo(e,2),qr):i},Hn.stubArray=bu,Hn.stubFalse=_u,Hn.stubObject=function(){return{}},Hn.stubString=function(){return""},Hn.stubTrue=function(){return!0},Hn.multiply=ku,Hn.nth=function(t,e){return t&&t.length?Jr(t,ms(e)):i},Hn.noConflict=function(){return pe._===this&&(pe._=Bt),this},Hn.noop=hu,Hn.now=ja,Hn.pad=function(t,e,n){t=xs(t);var r=(e=ms(e))?pn(t):0;if(!e||r>=e)return t;var i=(e-r)/2;return Wi(me(i),n)+t+Wi(ve(i),n)},Hn.padEnd=function(t,e,n){t=xs(t);var r=(e=ms(e))?pn(t):0;return e&&re){var r=t;t=e,e=r}if(n||t%1||e%1){var o=Tn();return xn(t+o*(e-t+le("1e-"+((o+"").length-1))),e)}return Qr(t,e)},Hn.reduce=function(t,e,n){var r=Ka(t)?Ue:Ke,i=arguments.length<3;return r(t,fo(e,4),n,i,gr)},Hn.reduceRight=function(t,e,n){var r=Ka(t)?Fe:Ke,i=arguments.length<3;return r(t,fo(e,4),n,i,vr)},Hn.repeat=function(t,e,n){return e=(n?So(t,e,n):e===i)?1:ms(e),Zr(xs(t),e)},Hn.replace=function(){var t=arguments,e=xs(t[0]);return t.length<3?e:e.replace(t[1],t[2])},Hn.result=function(t,e,n){var r=-1,o=(e=xi(e,t)).length;for(o||(o=1,t=i);++rp)return[];var n=v,r=xn(t,v);e=fo(e),t-=v;for(var i=Xe(r,e);++n=a)return t;var u=n-pn(r);if(u<1)return r;var c=s?Oi(s,0,u).join(""):t.slice(0,u);if(o===i)return c+r;if(s&&(u+=c.length-u),cs(o)){if(t.slice(u).search(o)){var l,f=c;for(o.global||(o=Et(o.source,xs(vt.exec(o))+"g")),o.lastIndex=0;l=o.exec(f);)var h=l.index;c=c.slice(0,h===i?u:h)}}else if(t.indexOf(hi(o),u)!=u){var d=c.lastIndexOf(o);d>-1&&(c=c.slice(0,d))}return c+r},Hn.unescape=function(t){return(t=xs(t))&&X.test(t)?t.replace(K,yn):t},Hn.uniqueId=function(t){var e=++Lt;return xs(t)+e},Hn.upperCase=$s,Hn.upperFirst=tu,Hn.each=xa,Hn.eachRight=Sa,Hn.first=Xo,fu(Hn,(Tu={},Sr(Hn,(function(t,e){Ft.call(Hn.prototype,e)||(Tu[e]=t)})),Tu),{chain:!1}),Hn.VERSION="4.17.21",Ce(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){Hn[t].placeholder=Hn})),Ce(["drop","take"],(function(t,e){Wn.prototype[t]=function(n){n=n===i?1:wn(ms(n),0);var r=this.__filtered__&&!e?new Wn(this):this.clone();return r.__filtered__?r.__takeCount__=xn(n,r.__takeCount__):r.__views__.push({size:xn(n,v),type:t+(r.__dir__<0?"Right":"")}),r},Wn.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}})),Ce(["filter","map","takeWhile"],(function(t,e){var n=e+1,r=1==n||3==n;Wn.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:fo(t,3),type:n}),e.__filtered__=e.__filtered__||r,e}})),Ce(["head","last"],(function(t,e){var n="take"+(e?"Right":"");Wn.prototype[t]=function(){return this[n](1).value()[0]}})),Ce(["initial","tail"],(function(t,e){var n="drop"+(e?"":"Right");Wn.prototype[t]=function(){return this.__filtered__?new Wn(this):this[n](1)}})),Wn.prototype.compact=function(){return this.filter(su)},Wn.prototype.find=function(t){return this.filter(t).head()},Wn.prototype.findLast=function(t){return this.reverse().find(t)},Wn.prototype.invokeMap=$r((function(t,e){return"function"==typeof t?new Wn(this):this.map((function(n){return Mr(n,t,e)}))})),Wn.prototype.reject=function(t){return this.filter(Na(fo(t)))},Wn.prototype.slice=function(t,e){t=ms(t);var n=this;return n.__filtered__&&(t>0||e<0)?new Wn(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==i&&(n=(e=ms(e))<0?n.dropRight(-e):n.take(e-t)),n)},Wn.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},Wn.prototype.toArray=function(){return this.take(v)},Sr(Wn.prototype,(function(t,e){var n=/^(?:filter|find|map|reject)|While$/.test(e),r=/^(?:head|last)$/.test(e),o=Hn[r?"take"+("last"==e?"Right":""):e],a=r||/^find/.test(e);o&&(Hn.prototype[e]=function(){var e=this.__wrapped__,s=r?[1]:arguments,u=e instanceof Wn,c=s[0],l=u||Ka(e),f=function(t){var e=o.apply(Hn,De([t],s));return r&&h?e[0]:e};l&&n&&"function"==typeof c&&1!=c.length&&(u=l=!1);var h=this.__chain__,d=!!this.__actions__.length,p=a&&!h,g=u&&!d;if(!a&&l){e=g?e:new Wn(this);var v=t.apply(e,s);return v.__actions__.push({func:ya,args:[f],thisArg:i}),new Jn(v,h)}return p&&g?t.apply(this,s):(v=this.thru(f),p?r?v.value()[0]:v.value():v)})})),Ce(["pop","push","shift","sort","splice","unshift"],(function(t){var e=It[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",r=/^(?:pop|shift)$/.test(t);Hn.prototype[t]=function(){var t=arguments;if(r&&!this.__chain__){var i=this.value();return e.apply(Ka(i)?i:[],t)}return this[n]((function(n){return e.apply(Ka(n)?n:[],t)}))}})),Sr(Wn.prototype,(function(t,e){var n=Hn[e];if(n){var r=n.name+"";Ft.call(Pn,r)||(Pn[r]=[]),Pn[r].push({name:e,func:n})}})),Pn[Hi(i,2).name]=[{name:"wrapper",func:i}],Wn.prototype.clone=function(){var t=new Wn(this.__wrapped__);return t.__actions__=Ii(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Ii(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Ii(this.__views__),t},Wn.prototype.reverse=function(){if(this.__filtered__){var t=new Wn(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},Wn.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,n=Ka(t),r=e<0,i=n?t.length:0,o=function(t,e,n){var r=-1,i=n.length;for(;++r=this.__values__.length;return{done:t,value:t?i:this.__values__[this.__index__++]}},Hn.prototype.plant=function(t){for(var e,n=this;n instanceof Gn;){var r=Ho(n);r.__index__=0,r.__values__=i,e?o.__wrapped__=r:e=r;var o=r;n=n.__wrapped__}return o.__wrapped__=t,e},Hn.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof Wn){var e=t;return this.__actions__.length&&(e=new Wn(this)),(e=e.reverse()).__actions__.push({func:ya,args:[ia],thisArg:i}),new Jn(e,this.__chain__)}return this.thru(ia)},Hn.prototype.toJSON=Hn.prototype.valueOf=Hn.prototype.value=function(){return yi(this.__wrapped__,this.__actions__)},Hn.prototype.first=Hn.prototype.head,ee&&(Hn.prototype[ee]=function(){return this}),Hn}();pe._=mn,(r=function(){return mn}.call(exports,e,exports,n))===i||(n.exports=r)}).call(this)}).call(this,e("aY11sVfy"),e("9YbPW59L")(t))},"nP6a+huQ":function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r).a.createActions({searchPaginated:{asyncResult:!0},reloadPage:{asyncResult:!0},get:{asyncResult:!0},create:{asyncResult:!0},delete:{asyncResult:!0},update:{asyncResult:!0},getTypes:{asyncResult:!0},validate:{asyncResult:!0}});e.default=i},nPXWvuAJ:function(t,e,n){"use strict";n.d(e,"a",(function(){return u})),n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"f",(function(){return a})),n.d(e,"e",(function(){return s})),n.d(e,"d",(function(){return c}));var r=window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches,i="themeMode",o=14,a="teint",s="noir",u=r?s:a,c=[a,s]},nWEVKtVt:function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r).a.createActions({health:{asyncResult:!0},name:{asyncResult:!0}});e.default=i},nhqHfwxN:function(t,exports){t.exports=function(t,e,n){var r=e[0],i=e[1],o=e[2],a=e[3],s=e[4],u=e[5],c=e[6],l=e[7],f=e[8],h=e[9],d=e[10],p=e[11],g=e[12],v=e[13],y=e[14],m=e[15],b=n[0],_=n[1],w=n[2],x=n[3];return t[0]=b*r+_*s+w*f+x*g,t[1]=b*i+_*u+w*h+x*v,t[2]=b*o+_*c+w*d+x*y,t[3]=b*a+_*l+w*p+x*m,b=n[4],_=n[5],w=n[6],x=n[7],t[4]=b*r+_*s+w*f+x*g,t[5]=b*i+_*u+w*h+x*v,t[6]=b*o+_*c+w*d+x*y,t[7]=b*a+_*l+w*p+x*m,b=n[8],_=n[9],w=n[10],x=n[11],t[8]=b*r+_*s+w*f+x*g,t[9]=b*i+_*u+w*h+x*v,t[10]=b*o+_*c+w*d+x*y,t[11]=b*a+_*l+w*p+x*m,b=n[12],_=n[13],w=n[14],x=n[15],t[12]=b*r+_*s+w*f+x*g,t[13]=b*i+_*u+w*h+x*v,t[14]=b*o+_*c+w*d+x*y,t[15]=b*a+_*l+w*p+x*m,t}},"nz9+JOMX":function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r),o=n("8GJ6oOEd"),a=n("HbbeyvOy"),s=n("L+5XEiOD"),u=n("JBQWIv26").a.getActions("LookupTableDataAdapters"),c=i.a.createStore({listenables:[u],dataAdapter:null,dataAdapters:void 0,types:null,pagination:{page:1,per_page:10,total:0,count:0,query:null},lookupResult:null,validationErrors:{},getInitialState:function(){return this.getState()},getState:function(){return{dataAdapter:this.dataAdapter,dataAdapters:this.dataAdapters,lookupResult:this.lookupResult,types:this.types,pagination:this.pagination,validationErrors:this.validationErrors}},propagateChanges:function(){this.trigger(this.getState())},reloadPage:function(){var t=this.searchPaginated(this.pagination.page,this.pagination.per_page,this.pagination.query);return u.reloadPage.promise(t),t},searchPaginated:function(t,e,n){var r,i=this;r=n?this._url("adapters?page=".concat(t,"&per_page=").concat(e,"&query=").concat(encodeURIComponent(n))):this._url("adapters?page=".concat(t,"&per_page=").concat(e));var o=Object(s.b)("GET",r);return o.then((function(t){i.pagination={count:t.count,total:t.total,page:t.page,per_page:t.per_page,query:t.query},i.dataAdapters=t.data_adapters,i.propagateChanges()}),this._errorHandler("Fetching lookup table data adapters failed","Could not retrieve the lookup dataAdapters")),u.searchPaginated.promise(o),o},get:function(t){var e=this,n=this._url("adapters/".concat(t)),r=Object(s.b)("GET",n);return r.then((function(t){e.dataAdapter=t,e.propagateChanges()}),this._errorHandler("Fetching lookup table data adapter ".concat(t," failed"),"Could not retrieve lookup table data adapter")),u.get.promise(r),r},create:function(t){var e=this,n=this._url("adapters"),r=Object(s.b)("POST",n,t);return r.then((function(t){e.dataAdapter=t,e.propagateChanges()}),this._errorHandler("Creating lookup table data adapter failed",'Could not create lookup table data adapter "'.concat(t.name,'"'))),u.create.promise(r),r},update:function(t){var e=this,n=this._url("adapters/".concat(t.id)),r=Object(s.b)("PUT",n,t);return r.then((function(t){e.dataAdapter=t,e.propagateChanges()}),this._errorHandler("Updating lookup table data adapter failed",'Could not update lookup table data adapter "'.concat(t.name,'"'))),u.update.promise(r),r},getTypes:function(){var t=this,e=this._url("types/adapters"),n=Object(s.b)("GET",e);return n.then((function(e){t.types=e,t.propagateChanges()}),this._errorHandler("Fetching available types failed","Could not fetch the available lookup table data adapter types")),u.getTypes.promise(n),n},delete:function(t){var e=this._url("adapters/".concat(t)),n=Object(s.b)("DELETE",e);return n.catch(this._errorHandler("Deleting lookup table data adapter failed",'Could not delete lookup table data adapter "'.concat(t,'"'))),u.delete.promise(n),n},lookup:function(t,e){var n=this,r=Object(s.b)("GET",this._url("adapters/".concat(t,"/query?key=").concat(encodeURIComponent(e))));return r.then((function(t){n.lookupResult=t,n.propagateChanges()}),this._errorHandler("Lookup failed",'Could not lookup value for key "'.concat(e,'" in lookup table data adapter "').concat(t,'"'))),u.lookup.promise(r),r},validate:function(t){var e=this,n=this._url("adapters/validate"),r=Object(s.b)("POST",n,t);return r.then((function(t){e.validationErrors=t.errors,e.propagateChanges()}),this._errorHandler("Lookup table data adapter validation failed",'Could not validate lookup table data adapter "'.concat(t.name,'"'))),u.validate.promise(r),r},_errorHandler:function(t,e,n){return function(r){var i;try{i=r.additional.body.message}catch(t){i=r.message}o.a.error("".concat(t,": ").concat(i),e),n&&n(r)}},_url:function(t){return a.f("/system/lookup/".concat(t))}});e.default=c},"o2/ojYnk":function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r),o=n("nHcjWeCO"),a=n.n(o),s=n("HbbeyvOy"),u=n("8GJ6oOEd"),c=n("L+5XEiOD"),l=n("21p8kIWv").a.get("SidecarsAdministration").SidecarsAdministrationActions,f=i.a.createStore({listenables:[l],sourceUrl:"/sidecar",sidecars:void 0,filters:void 0,pagination:{count:void 0,page:void 0,pageSize:void 0,total:void 0},query:void 0,propagateChanges:function(){this.trigger({sidecars:this.sidecars,filters:this.filters,query:this.query,pagination:this.pagination})},list:function(t){var e=this,n=t.query,r=void 0===n?"":n,i=t.page,o=void 0===i?1:i,a=t.pageSize,f={query:r,page:o,per_page:void 0===a?50:a,filters:t.filters},h=Object(c.d)("POST",s.f("".concat(this.sourceUrl,"/administration")),f);h.then((function(t){return e.sidecars=t.sidecars,e.query=t.query,e.filters=t.filters,e.pagination={total:t.pagination.total,count:t.pagination.count,page:t.pagination.page,pageSize:t.pagination.per_page},e.propagateChanges(),t}),(function(t){u.a.error(400===t.status?t.responseMessage:"Fetching Sidecars failed with status: ".concat(t.message),"Could not retrieve Sidecars")})),l.list.promise(h)},refreshList:function(){this.list({query:this.query,page:this.pagination.page,pageSize:this.pagination.pageSize,filters:this.filters})},setAction:function(t,e){var n=Object.keys(e).map((function(t){return{sidecar_id:t,collector_ids:e[t]}})),r={action:t,collectors:n},i=Object(c.d)("PUT",s.f("".concat(this.sourceUrl,"/administration/action")),r);i.then((function(e){return u.a.success("","".concat(a.a.upperFirst(t)," for ").concat(n.length," collectors requested")),e}),(function(e){u.a.error("Requesting ".concat(t," failed with status: ").concat(e),"Could not ".concat(t," collectors"))})),l.setAction.promise(i)}});e.default=f},o808ceIw:function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r).a.createActions({create:{asyncResult:!0},list:{asyncResult:!0},get:{asyncResult:!0},getRev:{asyncResult:!0},delete:{asyncResult:!0},deleteRev:{asyncResult:!0},install:{asyncResult:!0},installList:{asyncResult:!0},uninstall:{asyncResult:!0},uninstallDetails:{asyncResult:!0}});e.default=i},oCSEoDew:function(t,exports,e){var n,r,i;!function(o,a){"use strict";t.exports?t.exports=a(e("y/Amwd9T"),e("1pBLIPSB"),e("AFTZni7Z")):(r=[e("y/Amwd9T"),e("1pBLIPSB"),e("AFTZni7Z")],void 0===(i="function"==typeof(n=a)?n.apply(exports,r):n)||(t.exports=i))}(0,(function(t,e,n,r){"use strict";var i=r&&r.URI;function o(t,e){var n=arguments.length>=1,r=arguments.length>=2;if(!(this instanceof o))return n?r?new o(t,e):new o(t):new o;if(void 0===t){if(n)throw new TypeError("undefined is not a valid argument for URI");t="undefined"!=typeof location?location.href+"":""}if(null===t&&n)throw new TypeError("null is not a valid argument for URI");return this.href(t),void 0!==e?this.absoluteTo(e):this}o.version="1.19.7";var a=o.prototype,s=Object.prototype.hasOwnProperty;function u(t){return t.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}function c(t){return void 0===t?"Undefined":String(Object.prototype.toString.call(t)).slice(8,-1)}function l(t){return"Array"===c(t)}function f(t,e){var n,r,i={};if("RegExp"===c(e))i=null;else if(l(e))for(n=0,r=e.length;n]+|\(([^\s()<>]+|(\([^\s()<>]+\)))*\))+(?:\(([^\s()<>]+|(\([^\s()<>]+\)))*\)|[^\s`!()\[\]{};:'".,<>?«»“”‘’]))/gi,o.findUri={start:/\b(?:([a-z][a-z0-9.+-]*:\/\/)|www\.)/gi,end:/[\s\r\n]|$/,trim:/[`!()\[\]{};:'".,<>?«»“”„‘’]+$/,parens:/(\([^\)]*\)|\[[^\]]*\]|\{[^}]*\}|<[^>]*>)/g},o.defaultPorts={http:"80",https:"443",ftp:"21",gopher:"70",ws:"80",wss:"443"},o.hostProtocols=["http","https"],o.invalid_hostname_characters=/[^a-zA-Z0-9\.\-:_]/,o.domAttributes={a:"href",blockquote:"cite",link:"href",base:"href",script:"src",form:"action",img:"src",area:"href",iframe:"src",embed:"src",source:"src",track:"src",input:"src",audio:"src",video:"src"},o.getDomAttribute=function(t){if(t&&t.nodeName){var e=t.nodeName.toLowerCase();if("input"!==e||"image"===t.type)return o.domAttributes[e]}},o.encode=v,o.decode=decodeURIComponent,o.iso8859=function(){o.encode=escape,o.decode=unescape},o.unicode=function(){o.encode=v,o.decode=decodeURIComponent},o.characters={pathname:{encode:{expression:/%(24|26|2B|2C|3B|3D|3A|40)/gi,map:{"%24":"$","%26":"&","%2B":"+","%2C":",","%3B":";","%3D":"=","%3A":":","%40":"@"}},decode:{expression:/[\/\?#]/g,map:{"/":"%2F","?":"%3F","#":"%23"}}},reserved:{encode:{expression:/%(21|23|24|26|27|28|29|2A|2B|2C|2F|3A|3B|3D|3F|40|5B|5D)/gi,map:{"%3A":":","%2F":"/","%3F":"?","%23":"#","%5B":"[","%5D":"]","%40":"@","%21":"!","%24":"$","%26":"&","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"="}}},urnpath:{encode:{expression:/%(21|24|27|28|29|2A|2B|2C|3B|3D|40)/gi,map:{"%21":"!","%24":"$","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"=","%40":"@"}},decode:{expression:/[\/\?#:]/g,map:{"/":"%2F","?":"%3F","#":"%23",":":"%3A"}}}},o.encodeQuery=function(t,e){var n=o.encode(t+"");return void 0===e&&(e=o.escapeQuerySpace),e?n.replace(/%20/g,"+"):n},o.decodeQuery=function(t,e){t+="",void 0===e&&(e=o.escapeQuerySpace);try{return o.decode(e?t.replace(/\+/g,"%20"):t)}catch(e){return t}};var y,m={encode:"encode",decode:"decode"},b=function(t,e){return function(n){try{return o[e](n+"").replace(o.characters[t][e].expression,(function(n){return o.characters[t][e].map[n]}))}catch(t){return n}}};for(y in m)o[y+"PathSegment"]=b("pathname",m[y]),o[y+"UrnPathSegment"]=b("urnpath",m[y]);var _=function(t,e,n){return function(r){var i;i=n?function(t){return o[e](o[n](t))}:o[e];for(var a=(r+"").split(t),s=0,u=a.length;s-1&&(e.fragment=t.substring(n+1)||null,t=t.substring(0,n)),(n=t.indexOf("?"))>-1&&(e.query=t.substring(n+1)||null,t=t.substring(0,n)),"//"===(t=t.replace(/^(https?|ftp|wss?)?:[/\\]*/,"$1://")).substring(0,2)?(e.protocol=null,t=t.substring(2),t=o.parseAuthority(t,e)):(n=t.indexOf(":"))>-1&&(e.protocol=t.substring(0,n)||null,e.protocol&&!e.protocol.match(o.protocol_expression)?e.protocol=void 0:"//"===t.substring(n+1,n+3).replace(/\\/g,"/")?(t=t.substring(n+3),t=o.parseAuthority(t,e)):(t=t.substring(n+1),e.urn=!0)),e.path=t,e},o.parseHost=function(t,e){t||(t="");var n,r,i=(t=t.replace(/\\/g,"/")).indexOf("/");if(-1===i&&(i=t.length),"["===t.charAt(0))n=t.indexOf("]"),e.hostname=t.substring(1,n)||null,e.port=t.substring(n+2,i)||null,"/"===e.port&&(e.port=null);else{var a=t.indexOf(":"),s=t.indexOf("/"),u=t.indexOf(":",a+1);-1!==u&&(-1===s||u-1?i:t.length-1);return a>-1&&(-1===i||a-1?d.slice(0,p)+d.slice(p).replace(a,""):d.replace(a,"")).length<=c[0].length||n.ignore&&n.ignore.test(d))){var y=e(d,l,h=l+d.length,t);void 0!==y?(y=String(y),t=t.slice(0,l)+y+t.slice(h),r.lastIndex=l+y.length):r.lastIndex=h}}return r.lastIndex=0,t},o.ensureValidHostname=function(e,n){var r=!!e,i=!1;if(!!n&&(i=h(o.hostProtocols,n)),i&&!r)throw new TypeError("Hostname cannot be empty, if protocol is "+n);if(e&&e.match(o.invalid_hostname_characters)){if(!t)throw new TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-:_] and Punycode.js is not available');if(t.toASCII(e).match(o.invalid_hostname_characters))throw new TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-:_]')}},o.ensureValidPort=function(t){if(t){var e=Number(t);if(!(/^[0-9]+$/.test(e)&&e>0&&e<65536))throw new TypeError('Port "'+t+'" is not a valid port')}},o.noConflict=function(t){if(t){var e={URI:this.noConflict()};return r.URITemplate&&"function"==typeof r.URITemplate.noConflict&&(e.URITemplate=r.URITemplate.noConflict()),r.IPv6&&"function"==typeof r.IPv6.noConflict&&(e.IPv6=r.IPv6.noConflict()),r.SecondLevelDomains&&"function"==typeof r.SecondLevelDomains.noConflict&&(e.SecondLevelDomains=r.SecondLevelDomains.noConflict()),e}return r.URI===this&&(r.URI=i),this},a.build=function(t){return!0===t?this._deferred_build=!0:(void 0===t||this._deferred_build)&&(this._string=o.build(this._parts),this._deferred_build=!1),this},a.clone=function(){return new o(this)},a.valueOf=a.toString=function(){return this.build(!1)._string},a.protocol=w("protocol"),a.username=w("username"),a.password=w("password"),a.hostname=w("hostname"),a.port=w("port"),a.query=x("query","?"),a.fragment=x("fragment","#"),a.search=function(t,e){var n=this.query(t,e);return"string"==typeof n&&n.length?"?"+n:n},a.hash=function(t,e){var n=this.fragment(t,e);return"string"==typeof n&&n.length?"#"+n:n},a.pathname=function(t,e){if(void 0===t||!0===t){var n=this._parts.path||(this._parts.hostname?"/":"");return t?(this._parts.urn?o.decodeUrnPath:o.decodePath)(n):n}return this._parts.urn?this._parts.path=t?o.recodeUrnPath(t):"":this._parts.path=t?o.recodePath(t):"/",this.build(!e),this},a.path=a.pathname,a.href=function(t,e){var n;if(void 0===t)return this.toString();this._string="",this._parts=o._parts();var r=t instanceof o,i="object"==typeof t&&(t.hostname||t.path||t.pathname);t.nodeName&&(t=t[o.getDomAttribute(t)]||"",i=!1);if(!r&&i&&void 0!==t.pathname&&(t=t.toString()),"string"==typeof t||t instanceof String)this._parts=o.parse(String(t),this._parts);else{if(!r&&!i)throw new TypeError("invalid input");var a=r?t._parts:t;for(n in a)"query"!==n&&s.call(this._parts,n)&&(this._parts[n]=a[n]);a.query&&this.query(a.query,!1)}return this.build(!e),this},a.is=function(t){var e=!1,r=!1,i=!1,a=!1,s=!1,u=!1,c=!1,l=!this._parts.urn;switch(this._parts.hostname&&(l=!1,r=o.ip4_expression.test(this._parts.hostname),i=o.ip6_expression.test(this._parts.hostname),s=(a=!(e=r||i))&&n&&n.has(this._parts.hostname),u=a&&o.idn_expression.test(this._parts.hostname),c=a&&o.punycode_expression.test(this._parts.hostname)),t.toLowerCase()){case"relative":return l;case"absolute":return!l;case"domain":case"name":return a;case"sld":return s;case"ip":return e;case"ip4":case"ipv4":case"inet4":return r;case"ip6":case"ipv6":case"inet6":return i;case"idn":return u;case"url":return!this._parts.urn;case"urn":return!!this._parts.urn;case"punycode":return c}return null};var S=a.protocol,O=a.port,T=a.hostname;a.protocol=function(t,e){if(t&&!(t=t.replace(/:(\/\/)?$/,"")).match(o.protocol_expression))throw new TypeError('Protocol "'+t+"\" contains characters other than [A-Z0-9.+-] or doesn't start with [A-Z]");return S.call(this,t,e)},a.scheme=a.protocol,a.port=function(t,e){return this._parts.urn?void 0===t?"":this:(void 0!==t&&(0===t&&(t=null),t&&(":"===(t+="").charAt(0)&&(t=t.substring(1)),o.ensureValidPort(t))),O.call(this,t,e))},a.hostname=function(t,e){if(this._parts.urn)return void 0===t?"":this;if(void 0!==t){var n={preventInvalidHostname:this._parts.preventInvalidHostname};if("/"!==o.parseHost(t,n))throw new TypeError('Hostname "'+t+'" contains characters other than [A-Z0-9.-]');t=n.hostname,this._parts.preventInvalidHostname&&o.ensureValidHostname(t,this._parts.protocol)}return T.call(this,t,e)},a.origin=function(t,e){if(this._parts.urn)return void 0===t?"":this;if(void 0===t){var n=this.protocol();return this.authority()?(n?n+"://":"")+this.authority():""}var r=o(t);return this.protocol(r.protocol()).authority(r.authority()).build(!e),this},a.host=function(t,e){if(this._parts.urn)return void 0===t?"":this;if(void 0===t)return this._parts.hostname?o.buildHost(this._parts):"";if("/"!==o.parseHost(t,this._parts))throw new TypeError('Hostname "'+t+'" contains characters other than [A-Z0-9.-]');return this.build(!e),this},a.authority=function(t,e){if(this._parts.urn)return void 0===t?"":this;if(void 0===t)return this._parts.hostname?o.buildAuthority(this._parts):"";if("/"!==o.parseAuthority(t,this._parts))throw new TypeError('Hostname "'+t+'" contains characters other than [A-Z0-9.-]');return this.build(!e),this},a.userinfo=function(t,e){if(this._parts.urn)return void 0===t?"":this;if(void 0===t){var n=o.buildUserinfo(this._parts);return n?n.substring(0,n.length-1):n}return"@"!==t[t.length-1]&&(t+="@"),o.parseUserinfo(t,this._parts),this.build(!e),this},a.resource=function(t,e){var n;return void 0===t?this.path()+this.search()+this.hash():(n=o.parse(t),this._parts.path=n.path,this._parts.query=n.query,this._parts.fragment=n.fragment,this.build(!e),this)},a.subdomain=function(t,e){if(this._parts.urn)return void 0===t?"":this;if(void 0===t){if(!this._parts.hostname||this.is("IP"))return"";var n=this._parts.hostname.length-this.domain().length-1;return this._parts.hostname.substring(0,n)||""}var r=this._parts.hostname.length-this.domain().length,i=this._parts.hostname.substring(0,r),a=new RegExp("^"+u(i));if(t&&"."!==t.charAt(t.length-1)&&(t+="."),-1!==t.indexOf(":"))throw new TypeError("Domains cannot contain colons");return t&&o.ensureValidHostname(t,this._parts.protocol),this._parts.hostname=this._parts.hostname.replace(a,t),this.build(!e),this},a.domain=function(t,e){if(this._parts.urn)return void 0===t?"":this;if("boolean"==typeof t&&(e=t,t=void 0),void 0===t){if(!this._parts.hostname||this.is("IP"))return"";var n=this._parts.hostname.match(/\./g);if(n&&n.length<2)return this._parts.hostname;var r=this._parts.hostname.length-this.tld(e).length-1;return r=this._parts.hostname.lastIndexOf(".",r-1)+1,this._parts.hostname.substring(r)||""}if(!t)throw new TypeError("cannot set domain empty");if(-1!==t.indexOf(":"))throw new TypeError("Domains cannot contain colons");if(o.ensureValidHostname(t,this._parts.protocol),!this._parts.hostname||this.is("IP"))this._parts.hostname=t;else{var i=new RegExp(u(this.domain())+"$");this._parts.hostname=this._parts.hostname.replace(i,t)}return this.build(!e),this},a.tld=function(t,e){if(this._parts.urn)return void 0===t?"":this;if("boolean"==typeof t&&(e=t,t=void 0),void 0===t){if(!this._parts.hostname||this.is("IP"))return"";var r=this._parts.hostname.lastIndexOf("."),i=this._parts.hostname.substring(r+1);return!0!==e&&n&&n.list[i.toLowerCase()]&&n.get(this._parts.hostname)||i}var o;if(!t)throw new TypeError("cannot set TLD empty");if(t.match(/[^a-zA-Z0-9-]/)){if(!n||!n.is(t))throw new TypeError('TLD "'+t+'" contains characters other than [A-Z0-9]');o=new RegExp(u(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(o,t)}else{if(!this._parts.hostname||this.is("IP"))throw new ReferenceError("cannot set TLD on non-domain host");o=new RegExp(u(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(o,t)}return this.build(!e),this},a.directory=function(t,e){if(this._parts.urn)return void 0===t?"":this;if(void 0===t||!0===t){if(!this._parts.path&&!this._parts.hostname)return"";if("/"===this._parts.path)return"/";var n=this._parts.path.length-this.filename().length-1,r=this._parts.path.substring(0,n)||(this._parts.hostname?"/":"");return t?o.decodePath(r):r}var i=this._parts.path.length-this.filename().length,a=this._parts.path.substring(0,i),s=new RegExp("^"+u(a));return this.is("relative")||(t||(t="/"),"/"!==t.charAt(0)&&(t="/"+t)),t&&"/"!==t.charAt(t.length-1)&&(t+="/"),t=o.recodePath(t),this._parts.path=this._parts.path.replace(s,t),this.build(!e),this},a.filename=function(t,e){if(this._parts.urn)return void 0===t?"":this;if("string"!=typeof t){if(!this._parts.path||"/"===this._parts.path)return"";var n=this._parts.path.lastIndexOf("/"),r=this._parts.path.substring(n+1);return t?o.decodePathSegment(r):r}var i=!1;"/"===t.charAt(0)&&(t=t.substring(1)),t.match(/\.?\//)&&(i=!0);var a=new RegExp(u(this.filename())+"$");return t=o.recodePath(t),this._parts.path=this._parts.path.replace(a,t),i?this.normalizePath(e):this.build(!e),this},a.suffix=function(t,e){if(this._parts.urn)return void 0===t?"":this;if(void 0===t||!0===t){if(!this._parts.path||"/"===this._parts.path)return"";var n,r,i=this.filename(),a=i.lastIndexOf(".");return-1===a?"":(n=i.substring(a+1),r=/^[a-z0-9%]+$/i.test(n)?n:"",t?o.decodePathSegment(r):r)}"."===t.charAt(0)&&(t=t.substring(1));var s,c=this.suffix();if(c)s=t?new RegExp(u(c)+"$"):new RegExp(u("."+c)+"$");else{if(!t)return this;this._parts.path+="."+o.recodePath(t)}return s&&(t=o.recodePath(t),this._parts.path=this._parts.path.replace(s,t)),this.build(!e),this},a.segment=function(t,e,n){var r=this._parts.urn?":":"/",i=this.path(),o="/"===i.substring(0,1),a=i.split(r);if(void 0!==t&&"number"!=typeof t&&(n=e,e=t,t=void 0),void 0!==t&&"number"!=typeof t)throw new Error('Bad segment "'+t+'", must be 0-based integer');if(o&&a.shift(),t<0&&(t=Math.max(a.length+t,0)),void 0===e)return void 0===t?a:a[t];if(null===t||void 0===a[t])if(l(e)){a=[];for(var s=0,u=e.length;s0?_.join(",")||null:void 0}];else if(a(l))w=l;else{var S=Object.keys(_);w=h?S.sort(h):S}for(var O=0;O0?m+y:""}},"oOm/nKw3":function(t,exports,e){"use strict";var n=e("0JON8+ab"),r=n.mod,i=n.modHalf,o=Math.PI,a=2*o;function s(t){return Math.abs(t[1]-t[0])>a-1e-14}function u(t,e){return i(e-t,a)}function c(t,e){if(s(e))return!0;var n,i;e[0](i=r(i,a))&&(i+=a);var o=r(t,a),u=o+a;return o>=n&&o<=i||u>=n&&u<=i}function l(t,e,n,r,i,u,c){i=i||0,u=u||0;var l,f,h,d,p,g=s([n,r]);function v(t,e){return[t*Math.cos(e)+i,u-t*Math.sin(e)]}g?(l=0,f=o,h=a):n=i&&t<=o);var i,o},pathArc:function(t,e,n,r,i){return l(null,t,e,n,r,i,0)},pathSector:function(t,e,n,r,i){return l(null,t,e,n,r,i,1)},pathAnnulus:function(t,e,n,r,i,o){return l(t,e,n,r,i,o,1)}}},oaJ8xVPa:function(t,exports,e){"use strict";exports.counter=function(t,e,n,r){var i=(e||"")+(n?"":"$"),o=!1===r?"":"^";return"xy"===t?new RegExp(o+"x([2-9]|[1-9][0-9]+)?y([2-9]|[1-9][0-9]+)?"+i):new RegExp(o+t+"([2-9]|[1-9][0-9]+)?"+i)}},owtY3dyb:function(t,exports){t.exports=function(t,e){var n=Math.sin(e),r=Math.cos(e);return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=r,t[6]=n,t[7]=0,t[8]=0,t[9]=-n,t[10]=r,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}},"p/nAF2Pn":function(t,exports,e){"use strict";var n=e("/8dZfPfB"),r=e("yAcToaBS"),i=[];t.exports=function(t,e){if(-1===i.indexOf(t)){i.push(t);var o=1e3;r(e)?o=e:"long"===e&&(o=3e3);var a=n.select("body").selectAll(".plotly-notifier").data([0]);a.enter().append("div").classed("plotly-notifier",!0),a.selectAll(".notifier-note").data(i).enter().append("div").classed("notifier-note",!0).style("opacity",0).each((function(t){var r=n.select(this);r.append("button").classed("notifier-close",!0).html("×").on("click",(function(){r.transition().call(s)}));for(var i=r.append("p"),a=t.split(//g),u=0;u2&&void 0!==arguments[2]?arguments[2]:window.localStorage;n.setItem(t,JSON.stringify(e))},get:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window.localStorage,n=e.getItem(t);if(null!=n)try{return JSON.parse(n)}catch(t){return n}},delete:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window.localStorage;e.removeItem(t)},sessionSet:function(t,e){return r.set(t,e,window.sessionStorage)},sessionGet:function(t){return r.get(t,window.sessionStorage)},sessionDelete:function(t){return r.delete(t,window.sessionStorage)}};e.a=r},pjsNBHWI:function(t,exports,e){"use strict";var n=e("oD1gNWWo"),r=e("frDNOaGF"),i=e("4eKcM05w");t.exports={formats:i,parse:r,stringify:n}},pyDFBVwV:function(t,exports,e){"use strict";var n=e("0Ft3SWJB"),r=e("/oRevOrA").contrast,i=e("zSF5pjBO"),o=e("JdrF9yG0");function a(t){var e=["showexponent","showtickprefix","showticksuffix"].filter((function(e){return void 0!==t[e]}));if(e.every((function(n){return t[n]===t[e[0]]}))||1===e.length)return t[e[0]]}function s(t,e){function r(r,o){return n.coerce(t,e,i.tickformatstops,r,o)}r("enabled")&&(r("dtickrange"),r("value"))}t.exports=function(t,e,u,c,l,f){f&&1!==f.pass||function(t,e,n,r,i){var o=a(t);n("tickprefix")&&n("showtickprefix",o);n("ticksuffix",i.tickSuffixDflt)&&n("showticksuffix",o)}(t,0,u,0,l),f&&2!==f.pass||function(t,e,u,c,l){var f=a(t);u("tickprefix")&&u("showtickprefix",f);u("ticksuffix",l.tickSuffixDflt)&&u("showticksuffix",f);if(u("showticklabels")){var h=l.font||{},d=e.color,p=-1!==(e.ticklabelposition||"").indexOf("inside")?r(l.bgColor):d&&d!==i.color.dflt?d:h.color;if(n.coerceFont(u,"tickfont",{family:h.family,size:h.size,color:p}),u("tickangle"),"category"!==c){var g=u("tickformat");o(t,e,{name:"tickformatstops",inclusionAttr:"enabled",handleItemDefaults:s}),e.tickformatstops.length||delete e.tickformatstops,g||"date"===c||(u("showexponent",f),u("exponentformat"),u("minexponent"),u("separatethousands"))}}}(t,e,u,c,l)}},q34qGG8V:function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n("mRXwKqDg"),o=Object(i.b)("customization.actions",(function(){return r.createActions({update:{asyncResult:!0},get:{asyncResult:!0}})}));e.default=o},qNJjS6qu:function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r).a.createActions({delete:{asyncResult:!0},list:{asyncResult:!0},save:{asyncResult:!0},update:{asyncResult:!0}});e.default=i},rGl2woZV:function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r),o=n("HbbeyvOy"),a=n("IU8ofT4O"),s=n("L+5XEiOD"),u=n("JBQWIv26").a.getActions("Loggers"),c=i.a.createStore({listenables:[u],state:{availableLoglevels:["fatal","error","warn","info","debug","trace"]},init:function(){this.loggers(),this.subsystems()},getInitialState:function(){return this.state},loggers:function(){var t=this,e=o.f(a.a.ClusterLoggersResource.loggers().url),n=Object(s.b)("GET",e).then((function(e){return t.state.loggers=e,t.trigger(t.state),e}));u.loggers.promise(n)},subsystems:function(){var t=this,e=o.f(a.a.ClusterLoggersResource.subsystems().url),n=Object(s.b)("GET",e).then((function(e){return t.state.subsystems=e,t.trigger(t.state),e}));u.loggers.promise(n)},setSubsystemLoggerLevel:function(t,e,n){var r=this,i=o.f(a.a.ClusterLoggersResource.setSubsystemLoggerLevel(t,e,n).url),c=Object(s.b)("PUT",i);c.then((function(){r.init()})),u.setSubsystemLoggerLevel.promise(c)}});e.default=c},rULSm7kG:function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"a",(function(){return i})),n.d(e,"d",(function(){return o})),n.d(e,"c",(function(){return a})),n.d(e,"g",(function(){return s})),n.d(e,"f",(function(){return u})),n.d(e,"e",(function(){return c}));var r="ReactError",i="NotFoundError",o="UnauthorizedError",a="StreamPermissionError",s=function(t,e){return{error:t,info:e,type:r}},u=function(t){return{error:t,type:i}},c=function(t){var e,n;switch(t.status){case 403:return"MissingStreamPermission"===(null==t||null===(e=t.additional)||void 0===e||null===(n=e.body)||void 0===n?void 0:n.type)?function(t){return{error:t,type:a}}(t):function(t){return{error:t,type:o}}(t);case 404:return u(t);default:throw Error("Provided FetchError is not a valid ReportedError because status code ".concat(t.status," is not supported"))}}},reVENj01:function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r).a.createActions({get:{asyncResult:!0}});e.default=i},"riE38/bO":function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r).a.createActions({list:{asyncResult:!0}});e.default=i},s1qejPic:function(t,e,n){"use strict";n.r(e);var r=n("21p8kIWv"),i={AlarmCallbackHistory:function(){return n("D4QbN2+o")},AlarmCallbacks:function(){return n("qNJjS6qu")},AlertConditions:function(){return n("s6moyxK/")},AlertNotifications:function(){return n("dr49jahX")},Alerts:function(){return n("C7WUsZ7w")},Authentication:function(){return n("ZjKKVWZh")},AvailableEventDefinitionTypes:function(){return n("reVENj01")},Catalog:function(){return n("2+FPf/1a")},ClusterTraffic:function(){return n("aBNIXdvW")},CodecTypes:function(){return n("riE38/bO")},CollectorConfigurations:function(){return n("AXCy/LZT")},Collectors:function(){return n("dbXDjaMA")},Configuration:function(){return n("GHO4z1CW")},Configurations:function(){return n("GHO4z1CW")},ConfigurationVariable:function(){return n("UozvG4NC")},ContentPacks:function(){return n("o808ceIw")},Customizations:function(){return n("q34qGG8V")},Decorators:function(){return n("xmm2qTl3")},Deflector:function(){return n("brYhaDaZ")},Enterprise:function(){return n("CvID0GBm")},EventDefinitions:function(){return n("w4rklBrZ")},EventNotifications:function(){return n("5tQR8N0J")},Events:function(){return n("t55x7WRv")},Extractors:function(){return n("1UTPl9n2")},GettingStarted:function(){return n("t9Y6YFC1")},IndexerCluster:function(){return n("nWEVKtVt")},IndexerOverview:function(){return n("YyAIWqjM")},IndexRanges:function(){return n("EorfC/Vc")},IndexSets:function(){return n("I7axAJ76")},Indices:function(){return n("zrBetBEQ")},IndicesConfiguration:function(){return n("v/8DPNPT")},Inputs:function(){return n("K/u0IGVS")},InputTypes:function(){return n("9SZBCN7s")},Loggers:function(){return n("Facw8pjZ")},LookupTableCaches:function(){return n("nP6a+huQ")},LookupTableDataAdapters:function(){return n("LXU4I1ih")},LookupTables:function(){return n("nAf8QcqA")},Messages:function(){return n("+efuPE8h")},Metrics:function(){return n("sMq7wTr3")},Nodes:function(){return n("Vv+Cyhd5")},Notifications:function(){return n("Z01hayOw")},PipelineConnections:function(){return n("kHC6R5+Z")},Pipelines:function(){return n("xkdMMYNG")},Preferences:function(){return n("bsAVk07P")},FilterPreview:function(){return n("2oPg4pbD")},Rules:function(){return n("vXHY3KVU")},ServerAvailability:function(){return n("MOgudJ7o")},Session:function(){return n("BSRFGq4X")},Sidecars:function(){return n("843IJxye")},SidecarsAdministration:function(){return n("Osspz6vV")},Simulator:function(){return n("Q5pcoIBS")},SingleNode:function(){return n("BrPJAV99")},Streams:function(){return n("VErHFKte")},SystemJobs:function(){return n("A91Apzz+")}},o={AlarmCallbackHistory:function(){return n("gf/srPUZ")},AlarmCallbacks:function(){return n("OK84qaE1")},AlertConditions:function(){return n("BLeQIiIw")},AlertNotifications:function(){return n("vwnmHHSx")},Alerts:function(){return n("I4+ngRkl")},Authentication:function(){return n("LLaL8Jiu")},AvailableEventDefinitionTypes:function(){return n("yKnkitJp")},Catalog:function(){return n("9pBmxVng")},ClusterOverview:function(){return n("Pny8KqFd")},ClusterTraffic:function(){return n("WwqffQLQ")},CodecTypes:function(){return n("AKMpLma3")},CollectorConfigurations:function(){return n("xGIIJ/bV")},Collectors:function(){return n("nAgQ+QaO")},ContentPacks:function(){return n("V7AGmkLH")},Configuration:function(){return n("6hgZTaCd")},Configurations:function(){return n("6hgZTaCd")},Customizations:function(){return n("TLqgrVSx")},CurrentUser:function(){return n("RvkFfvhL")},Decorators:function(){return n("ktz8mRoG")},Deflector:function(){return n("wdcFljFk")},Enterprise:function(){return n("1cRakzce")},EventDefinitions:function(){return n("F45AN1fv")},EventNotifications:function(){return n("3n+Rlc+6")},Events:function(){return n("Y7NqZmbH")},Extractors:function(){return n("6Xnj3wDA")},GettingStarted:function(){return n("WqZl6gnz")},GlobalThroughput:function(){return n("hdfdRIZp")},GrokPatterns:function(){return n("XVyiyjEH")},IndexerCluster:function(){return n("7cemt1Ep")},IndexerFailures:function(){return n("JAJKCDO0")},IndexerOverview:function(){return n("41+/evxh")},IndexRanges:function(){return n("kL8WAjnN")},IndexSets:function(){return n("+hxq0Drf")},Indices:function(){return n("NqjAVukT")},IndicesConfiguration:function(){return n("IHtODZL6")},Inputs:function(){return n("jelr2954")},InputStates:function(){return n("dMoiwkUG")},InputStaticFields:function(){return n("8Yr86ech")},InputTypes:function(){return n("HYSesDUg")},Journal:function(){return n("M8845gaG")},Loggers:function(){return n("rGl2woZV")},LookupTables:function(){return n("vbCP/Kpj")},LookupTableCaches:function(){return n("jhd7wna9")},LookupTableDataAdapters:function(){return n("nz9+JOMX")},Messages:function(){return n("Sj+oSYgh")},Metrics:function(){return n("a5gKpnBn")},Nodes:function(){return n("11o/5ssK")},Notifications:function(){return n("j+ADSPtK")},Outputs:function(){return n("DUuaJyXG")},PipelineConnections:function(){return n("ddNty6TA")},Pipelines:function(){return n("Bise7ZaT")},Plugins:function(){return n("OG4cRe8e")},Preferences:function(){return n("yGVfroSW")},FilterPreview:function(){return n("w5hFYn1J")},Roles:function(){return n("USaXJEUg")},Rules:function(){return n("bUcxE0cE")},ServerAvailability:function(){return n("KkjrIcix")},Session:function(){return n("zM4BXaLA")},Sidecars:function(){return n("mpNbWoWl")},SidecarsAdministration:function(){return n("o2/ojYnk")},Simulator:function(){return n("tJiYTY+2")},SingleNode:function(){return n("XaE5Pedj")},Startpage:function(){return n("0c+KX6ru")},StreamRules:function(){return n("SfNtpioX")},Streams:function(){return n("keedmmMh")},System:function(){return n("HQf5gZZO")},SystemJobs:function(){return n("QO2VALLf")},SystemLoadBalancer:function(){return n("skjvrYTP")},SystemMessages:function(){return n("O/XBOW6x")},SystemProcessing:function(){return n("X/Uj5g7g")},ConfigurationVariable:function(){return n("L6CWRq7U")},UniversalSearch:function(){return n("4jYmNgIv")},Users:function(){return n("u9eZhSLy")}};Object.keys(i).forEach((function(t){return r.a.registerAction(t,i[t])})),Object.keys(o).forEach((function(t){return r.a.registerStore(t,o[t])}))},s2hN4RJZ:function(t,e,n){"use strict";var r={clone:function(t){return JSON.parse(JSON.stringify(t))},isEmpty:function(t){var e=Object.keys(t);return e&&0===e.length}};e.a=r},"s48LrSF+":function(t,exports,e){"use strict";var n=e("/8dZfPfB"),r=e("y1n3bGum"),i=e("yAcToaBS"),o=e("0Ft3SWJB"),a=e("/oRevOrA"),s=e("CckoZzjI").isValid;var u=["showscale","autocolorscale","colorscale","reversescale","colorbar"],c=["min","max","mid","auto"];function l(t){var e,n,r,i=t._colorAx,o=i||t,a={};for(n=0;n=0;r--,i++){var o=t[r];n[i]=[1-o[0],o[1]]}return n}function d(t,e){e=e||{};for(var o=t.domain,s=t.range,u=s.length,c=new Array(u),l=0;l3 will show the whole name if it is less than that","many characters, but if it is longer, will truncate to","`namelength - 3` characters and add an ellipsis."].join(" ")},editType:"none"},selectdirection:{valType:"enumerated",role:"info",values:["h","v","d","any"],dflt:"any",description:["When `dragmode` is set to *select*, this limits the selection of the drag to","horizontal, vertical or diagonal. *h* only allows horizontal selection,","*v* only vertical, *d* only diagonal and *any* sets no limit."].join(" "),editType:"none"}}},vXHY3KVU:function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r).a.createActions({delete:{asyncResult:!0},list:{asyncResult:!0},get:{asyncResult:!0},save:{asyncResult:!0},update:{asyncResult:!0},parse:{asyncResult:!0},multiple:{asyncResult:!0},loadFunctions:{asyncResult:!0},loadMetricsConfig:{asyncResult:!0},updateMetricsConfig:{asyncResult:!0}});e.default=i},vas6jJ5E:function(t,exports){t.exports=function(t,e){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=e[0],t[13]=e[1],t[14]=e[2],t[15]=1,t}},"vbCP/Kpj":function(t,e,n){"use strict";n.r(e),n.d(e,"LookupTablesStore",(function(){return f}));var r=n("4KF7VOU5"),i=n.n(r),o=n("8GJ6oOEd"),a=n("mR82218M"),s=n("HbbeyvOy"),u=n("L+5XEiOD"),c=n("nAf8QcqA");n.d(e,"LookupTablesActions",(function(){return c.default}));var l=n("mRXwKqDg"),f=Object(l.c)("LookupTables",(function(){return i.a.createStore({listenables:[c.default],pagination:{page:1,per_page:10,total:0,count:0,query:null},errorStates:{tables:{},caches:{},dataAdapters:{}},table:null,cache:null,dataAdapter:null,tables:null,caches:null,dataAdapters:null,lookupResult:null,validationErrors:{},getInitialState:function(){return this.getState()},getState:function(){return{errorStates:this.errorStates,table:this.table,cache:this.cache,dataAdapter:this.dataAdapter,tables:this.tables,caches:this.caches,dataAdapters:this.dataAdapters,lookupResult:this.lookupResult,validationErrors:this.validationErrors,pagination:this.pagination}},propagateChanges:function(){this.trigger(this.getState())},reloadPage:function(){var t=this.searchPaginated(this.pagination.page,this.pagination.per_page,this.pagination.query);return c.default.reloadPage.promise(t),t},searchPaginated:function(t,e,n){var r=this,i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=this._url(Object(a.a)("tables",t,e,n,{resolve:i})),s=Object(u.b)("GET",o);return s.then((function(t){r.pagination={count:t.count,total:t.total,page:t.page,per_page:t.per_page,query:t.query},r.tables=t.lookup_tables,r.caches=t.caches,r.dataAdapters=t.data_adapters,r.propagateChanges()}),this._errorHandler("Fetching lookup tables failed","Could not retrieve the lookup tables")),c.default.searchPaginated.promise(s),s},get:function(t){var e=this,n=this._url("tables/".concat(t,"?resolve=true")),r=Object(u.b)("GET",n);return r.then((function(t){var n=t.lookup_tables[0];e.table=n,e.cache=t.caches[n.cache_id],e.dataAdapter=t.data_adapters[n.data_adapter_id],e.propagateChanges()}),this._errorHandler("Fetching lookup table ".concat(t," failed"),"Could not retrieve lookup table")),c.default.get.promise(r),r},create:function(t){var e=this._url("tables"),n=Object(u.b)("POST",e,t);return n.catch(this._errorHandler("Creating lookup table failed",'Could not create lookup table "'.concat(t.name,'"'))),c.default.create.promise(n),n},update:function(t){var e=this._url("tables/".concat(t.id)),n=Object(u.b)("PUT",e,t);return n.catch(this._errorHandler("Updating lookup table failed",'Could not update lookup table "'.concat(t.name,'"'))),c.default.update.promise(n),n},delete:function(t){var e=this._url("tables/".concat(t)),n=Object(u.b)("DELETE",e);return n.catch(this._errorHandler("Deleting lookup table failed",'Could not delete lookup table "'.concat(t,'"'))),c.default.delete.promise(n),n},getErrors:function(t,e,n){var r=this,i={};t&&(i.tables=t),e&&(i.caches=e),n&&(i.data_adapters=n);var o=Object(u.b)("POST",this._url("errorstates"),i);return o.then((function(t){r.errorStates={tables:t.tables||{},caches:t.caches||{},dataAdapters:t.data_adapters||{}},r.propagateChanges()}),this._errorHandler("Fetching lookup table error state failed.","Could not error states")),c.default.getErrors.promise(o),o},lookup:function(t,e){var n=this,r=Object(u.b)("GET",this._url("tables/".concat(t,"/query?key=").concat(encodeURIComponent(e))));return r.then((function(t){n.lookupResult=t,n.propagateChanges()}),this._errorHandler("Lookup failed",'Could not lookup value for key "'.concat(e,'" in lookup table "').concat(t,'"'))),c.default.lookup.promise(r),r},purgeKey:function(t,e){var n=Object(u.b)("POST",this._urlClusterWise("tables/".concat(t.id,"/purge?key=").concat(encodeURIComponent(e))));return n.then((function(){o.a.success('Purging cache key "'.concat(e,'" for lookup table "').concat(t.name,'"'),"Success!")}),this._errorHandler('Could not purge cache for key "'.concat(e,'" in lookup table "').concat(t.name,'"'),"Failed!")),c.default.purgeKey.promise(n),n},purgeAll:function(t){var e=Object(u.b)("POST",this._urlClusterWise("tables/".concat(t.id,"/purge")));return e.then((function(){o.a.success('Purging cache for lookup table "'.concat(t.name,'"'),"Success!")}),this._errorHandler('Could not purge cache for lookup table "'.concat(t.name,'"'),"Failed!")),c.default.purgeAll.promise(e),e},validate:function(t){var e=this,n=this._url("tables/validate"),r=Object(u.b)("POST",n,t);return r.then((function(t){e.validationErrors=t.errors,e.propagateChanges()}),this._errorHandler("Lookup table validation failed",'Could not validate lookup table "'.concat(t.name,'"'))),c.default.validate.promise(r),r},_errorHandler:function(t,e,n){return function(r){try{if(r.additional.body[0].message_template)return}catch(t){}var i;try{i=r.additional.body.message}catch(t){i=r.message}o.a.error("".concat(t,": ").concat(i),e),n&&n(r)}},_url:function(t){return Object(s.f)("/system/lookup/".concat(t))},_urlClusterWise:function(t){return Object(s.f)("/cluster/system/lookup/".concat(t))}})}));e.default=f},vwnmHHSx:function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r),o=n("JBQWIv26"),a=n("8GJ6oOEd"),s=n("HbbeyvOy"),u=n("IU8ofT4O"),c=n("L+5XEiOD"),l=o.a.getActions("AlertNotifications"),f=i.a.createStore({listenables:[l],availableNotifications:void 0,allNotifications:void 0,getInitialState:function(){return{availableNotifications:this.availableNotifications,allNotifications:this.allNotifications}},available:function(){var t=this,e=s.f(u.a.AlarmCallbacksApiController.available().url),n=Object(c.b)("GET",e);n.then((function(e){return t.availableNotifications=e.types,t.trigger({availableNotifications:t.availableNotifications}),t.availableNotifications}),(function(t){a.a.error("Fetching available alert notification types failed with status: ".concat(t.message),"Could not retrieve available alert notifications")})),l.available.promise(n)},listAll:function(){var t=this,e=s.f(u.a.AlarmCallbacksApiController.listAll().url),n=Object(c.b)("GET",e);n.then((function(e){return t.allNotifications=e.alarmcallbacks,t.trigger({allNotifications:t.allNotifications}),t.allNotifications}),(function(t){a.a.error("Fetching alert notifications failed with status: ".concat(t.message),"Could not retrieve alert notifications")})),l.listAll.promise(n)},testAlert:function(t){var e=s.f(u.a.AlarmCallbacksApiController.testAlert(t).url),n=Object(c.b)("POST",e);return n.then((function(){return a.a.success("Test notification was sent successfully")}),(function(t){var e=t.additional&&t.additional.body&&t.additional.body.message?t.additional.body.message:t.message;a.a.error("Sending test alert notification failed with message: ".concat(e),"Could not send test alert notification")})),l.testAlert.promise(n),n}});e.default=f},w4rklBrZ:function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r).a.createActions({listAll:{asyncResult:!0},listPaginated:{asyncResult:!0},get:{asyncResult:!0},create:{asyncResult:!0},update:{asyncResult:!0},delete:{asyncResult:!0},enable:{asyncResult:!0},disable:{asyncResult:!0}});e.default=i},w5hFYn1J:function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r),o=n("oCSEoDew"),a=n.n(o),s=n("nHcjWeCO"),u=n.n(s),c=n("YPyIcTeH"),l=n.n(c),f=n("HbbeyvOy"),h=n("L+5XEiOD"),d=n("8GJ6oOEd"),p=n("21p8kIWv"),g=n("L3VtQM2F"),v=n("WEub+q9w"),y=p.a.get("FilterPreview").FilterPreviewActions,m=i.a.createStore({listenables:[y],sourceUrl:"/views/search",searchJob:void 0,result:void 0,getInitialState:function(){return this.getState()},propagateChanges:function(){this.trigger(this.getState())},getState:function(){return{searchJob:this.searchJob,result:this.result}},resourceUrl:function(t){var e=t.segments,n=void 0===e?[]:e,r=t.query,i=void 0===r?{}:r,o=new a.a(this.sourceUrl),s=u.a.concat(o.segment(),n);return o.segmentCoded(s),o.query(i),f.f(o.resource())},create:function(t){var e=this,n=t.toBuilder().newId().build(),r=Object(h.b)("POST",this.resourceUrl({}),JSON.stringify(n));r.then((function(t){return e.searchJob=g.a.fromJSON(t),e.result=void 0,e.propagateChanges(),t})),y.create.promise(r)},trackJobStatus:function(t,e){var n=this;return new l.a((function(r){return t&&t.execution.done?r(new v.a(t)):r(l.a.delay(250).then((function(){return n.jobStatus(t.id)})).then((function(t){return n.trackJobStatus(t,e)})))}))},run:function(t,e){return Object(h.b)("POST",this.resourceUrl({segments:[t.id,"execute"]}),JSON.stringify(e))},jobStatus:function(t){return Object(h.b)("GET",this.resourceUrl({segments:["status",t]}))},trackJob:function(t,e){var n=this;return this.run(t,e).then((function(e){return n.trackJobStatus(e,t)}))},execute:function(t){var e=this;if(this.executePromise&&this.executePromise.cancel(),this.searchJob)return this.executePromise=this.trackJob(this.searchJob,t).then((function(t){return e.result=t,e.executePromise=void 0,e.propagateChanges(),t}),(function(){return d.a.error("Could not execute search")})),y.execute.promise(this.executePromise),this.executePromise;throw new Error("Unable to execute search if no search was created before!")},search:function(t,e){y.create(t).then((function(){return y.execute(e)}))}});e.default=m},"wHlq+VTP":function(t,exports){function e(t){return!!t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}t.exports=function(t){return null!=t&&(e(t)||function(t){return"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&e(t.slice(0,0))}(t)||!!t._isBuffer)}},wJP3FIsq:function(t,exports,e){"use strict";var n=e("yAcToaBS");t.exports=function(t,e){if(t>0)return Math.log(t)/Math.LN10;var r=Math.log(Math.min(e[0],e[1]))/Math.LN10;return n(r)||(r=Math.log(Math.max(e[0],e[1]))/Math.LN10-6),r}},"wR+Guaur":function(t,exports){t.exports=function(t,e,n){var r,i,o,a,s,u,c,l,f,h,d,p,g=n[0],v=n[1],y=n[2];e===t?(t[12]=e[0]*g+e[4]*v+e[8]*y+e[12],t[13]=e[1]*g+e[5]*v+e[9]*y+e[13],t[14]=e[2]*g+e[6]*v+e[10]*y+e[14],t[15]=e[3]*g+e[7]*v+e[11]*y+e[15]):(r=e[0],i=e[1],o=e[2],a=e[3],s=e[4],u=e[5],c=e[6],l=e[7],f=e[8],h=e[9],d=e[10],p=e[11],t[0]=r,t[1]=i,t[2]=o,t[3]=a,t[4]=s,t[5]=u,t[6]=c,t[7]=l,t[8]=f,t[9]=h,t[10]=d,t[11]=p,t[12]=r*g+s*v+f*y+e[12],t[13]=i*g+u*v+h*y+e[13],t[14]=o*g+c*v+d*y+e[14],t[15]=a*g+l*v+p*y+e[15]);return t}},wdcFljFk:function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r),o=n("HbbeyvOy"),a=n("IU8ofT4O"),s=n("L+5XEiOD"),u=n("JBQWIv26").a.getActions("Deflector"),c=i.a.createStore({listenables:[u],deflector:{info:void 0},getInitialState:function(){return{deflector:this.deflector}},cycle:function(t){var e=o.f(a.a.DeflectorApiController.cycle(t).url),n=Object(s.b)("POST",e);u.cycle.promise(n)},list:function(t){var e=this,n=o.f(a.a.DeflectorApiController.list(t).url),r=Object(s.b)("GET",n).then((function(t){e.deflector.info=t,e.trigger({deflector:e.deflector})}));u.list.promise(r)}});e.default=c},x4lDX9p9:function(t,exports,e){t.exports={create:e("uKE0uM4+"),clone:e("S7GR5AMR"),copy:e("bOCsNf5i"),identity:e("PbfD+MHS"),transpose:e("dXYBlrIH"),invert:e("HQzwY43I"),adjoint:e("tsEDIvxf"),determinant:e("bK3Chl1r"),multiply:e("nhqHfwxN"),translate:e("wR+Guaur"),scale:e("c4adFasc"),rotate:e("VyT2TXtt"),rotateX:e("CG95fjBK"),rotateY:e("4vELQILI"),rotateZ:e("YgK66wsU"),fromRotation:e("U4bo6odh"),fromRotationTranslation:e("LduFMkfw"),fromScaling:e("gvVuwSlV"),fromTranslation:e("vas6jJ5E"),fromXRotation:e("owtY3dyb"),fromYRotation:e("PfYIlAqQ"),fromZRotation:e("IuIUh/GW"),fromQuat:e("UACaFdP/"),frustum:e("QCsxvQAc"),perspective:e("8rIlJz84"),perspectiveFromFieldOfView:e("Dq/ZR2pO"),ortho:e("/GL+Bo9v"),lookAt:e("X4gaAC3A"),str:e("Evt3bUPs")}},x7QKyhPE:function(t,exports,e){var n=e("n0MLhWIl"),r=e("jsXbfUoq");t.exports=function(t,e,i){var o=e&&i||0;"string"==typeof t&&(e="binary"===t?new Array(16):null,t=null);var a=(t=t||{}).random||(t.rng||n)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,e)for(var s=0;s<16;++s)e[o+s]=a[s];return e||r(a)}},"xE+ZFgwY":function(t,exports,e){"use strict";var n=e("btK4Orgn"),r=Array.isArray;function i(t,e,o,a){var s,u,c,l,f,h,d=t[0],p=t.length;if(2===p&&r(d)&&r(t[1])&&0===d.length){if(function(t,e){var n,r;for(n=0;n, please ensure it was not deleted.")),l.a.error(n,"Could not retrieve Configuration")})),h.getConfiguration.promise(e)},getConfigurationSidecars:function(t){var e=Object(f.b)("GET",c.f("".concat(this.sourceUrl,"/configurations/").concat(t,"/sidecars")));e.catch((function(e){var n="Fetching Configuration failed with status: ".concat(e);404===e.status&&(n="Unable to find a Configuration with ID <".concat(t,">, please ensure it was not deleted.")),l.a.error(n,"Could not retrieve Configuration")})),h.getConfigurationSidecars.promise(e)},renderPreview:function(t){var e={template:t},n=Object(f.b)("POST",c.f("".concat(this.sourceUrl,"/configurations/render/preview")),e);n.catch((function(t){l.a.error("Fetching configuration preview failed with status: ".concat(t),"Could not retrieve preview")})),h.renderPreview.promise(n)},createConfiguration:function(t){var e=c.f("".concat(this.sourceUrl,"/configurations")),n=Object(f.b)("POST",e,t);n.then((function(t){return l.a.success("","Configuration successfully created"),t}),(function(t){l.a.error(400===t.status?t.responseMessage:"Creating configuration failed with status: ".concat(t.message),"Could not save configuration")})),h.createConfiguration.promise(n)},updateConfiguration:function(t){var e=this,n=c.f("".concat(this.sourceUrl,"/configurations/").concat(t.id)),r=Object(f.b)("PUT",n,t);r.then((function(t){return l.a.success("","Configuration successfully updated"),e.refreshList(),t}),(function(e){l.a.error("Updating Configuration failed: ".concat(400===e.status?e.responseMessage:e.message),"Could not update Configuration ".concat(t.name))})),h.updateConfiguration.promise(r)},copyConfiguration:function(t,e){var n=this,r=c.f("".concat(this.sourceUrl,"/configurations/").concat(t,"/").concat(e)),i=Object(f.b)("POST",r);i.then((function(t){return l.a.success("",'Configuration "'.concat(e,'" successfully copied')),n.refreshList(),t}),(function(t){l.a.error('Saving configuration "'.concat(e,'" failed with status: ').concat(t.message),"Could not save Configuration")})),h.copyConfiguration.promise(i)},delete:function(t){var e=this,n=c.f("".concat(this.sourceUrl,"/configurations/").concat(t.id)),r=Object(f.b)("DELETE",n);r.then((function(n){return l.a.success("",'Configuration "'.concat(t.name,'" successfully deleted')),e.refreshList(),n}),(function(e){l.a.error("Deleting Configuration failed: ".concat(400===e.status?e.responseMessage:e.message),"Could not delete Configuration ".concat(t.name))})),h.delete.promise(r)},validate:function(t){var e={name:" ",collector_id:" ",color:" ",template:" "};u.a.merge(e,t);var n=Object(f.b)("POST",c.f("".concat(this.sourceUrl,"/configurations/validate")),e);n.then((function(t){return t}),(function(t){return l.a.error('Validating configuration "'.concat(e.name,'" failed with status: ').concat(t.message),"Could not validate configuration")})),h.validate.promise(n)}});e.default=d},xX88DQta:function(t,exports,e){"use strict";var n=e("LZ3mZdqo").dash,r=e("xE+ZFgwY").extendFlat;t.exports={newshape:{line:{color:{valType:"color",editType:"none",role:"info",description:["Sets the line color.","By default uses either dark grey or white","to increase contrast with background color."].join(" ")},width:{valType:"number",min:0,dflt:4,role:"info",editType:"none",description:"Sets the line width (in px)."},dash:r({},n,{dflt:"solid",editType:"none"}),role:"info",editType:"none"},fillcolor:{valType:"color",dflt:"rgba(0,0,0,0)",role:"info",editType:"none",description:["Sets the color filling new shapes' interior.","Please note that if using a fillcolor with alpha greater than half,","drag inside the active shape starts moving the shape underneath,","otherwise a new shape could be started over."].join(" ")},fillrule:{valType:"enumerated",values:["evenodd","nonzero"],dflt:"evenodd",role:"info",editType:"none",description:["Determines the path's interior.","For more info please visit https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/fill-rule"].join(" ")},opacity:{valType:"number",min:0,max:1,dflt:1,role:"info",editType:"none",description:"Sets the opacity of new shapes."},layer:{valType:"enumerated",values:["below","above"],dflt:"above",role:"info",editType:"none",description:"Specifies whether new shapes are drawn below or above traces."},drawdirection:{valType:"enumerated",role:"info",values:["ortho","horizontal","vertical","diagonal"],dflt:"diagonal",editType:"none",description:["When `dragmode` is set to *drawrect*, *drawline* or *drawcircle*","this limits the drag to be horizontal, vertical or diagonal.","Using *diagonal* there is no limit e.g. in drawing lines in any direction.","*ortho* limits the draw to be either horizontal or vertical.","*horizontal* allows horizontal extend.","*vertical* allows vertical extend."].join(" ")},editType:"none"},activeshape:{fillcolor:{valType:"color",dflt:"rgb(255,0,255)",role:"style",editType:"none",description:"Sets the color filling the active shape' interior."},opacity:{valType:"number",min:0,max:1,dflt:.5,role:"info",editType:"none",description:"Sets the opacity of the active shape."},editType:"none"}}},xkdMMYNG:function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r).a.createActions({delete:{asyncResult:!0},list:{asyncResult:!0},listPaginated:{asyncResult:!0},get:{asyncResult:!0},save:{asyncResult:!0},update:{asyncResult:!0},parse:{asyncResult:!0}});e.default=i},xmm2qTl3:function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r).a.createActions({available:{asyncResult:!0},create:{asyncResult:!0},list:{asyncResult:!0},remove:{asyncResult:!0},update:{asyncResult:!0}});e.default=i},"y/Amwd9T":function(t,exports,e){(function(t,n){var r;!function(i){exports&&exports.nodeType,t&&t.nodeType;var o="object"==typeof n&&n;o.global!==o&&o.window!==o&&o.self;var a,s=2147483647,u=36,c=/^xn--/,l=/[^\x20-\x7E]/,f=/[\x2E\u3002\uFF0E\uFF61]/g,h={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},d=Math.floor,p=String.fromCharCode;function g(t){throw new RangeError(h[t])}function v(t,e){for(var n=t.length,r=[];n--;)r[n]=e(t[n]);return r}function y(t,e){var n=t.split("@"),r="";return n.length>1&&(r=n[0]+"@",t=n[1]),r+v((t=t.replace(f,".")).split("."),e).join(".")}function m(t){for(var e,n,r=[],i=0,o=t.length;i=55296&&e<=56319&&i65535&&(e+=p((t-=65536)>>>10&1023|55296),t=56320|1023&t),e+=p(t)})).join("")}function _(t,e){return t+22+75*(t<26)-((0!=e)<<5)}function w(t,e,n){var r=0;for(t=n?d(t/700):t>>1,t+=d(t/e);t>455;r+=u)t=d(t/35);return d(r+36*t/(t+38))}function x(t){var e,n,r,i,o,a,c,l,f,h,p,v=[],y=t.length,m=0,_=128,x=72;for((n=t.lastIndexOf("-"))<0&&(n=0),r=0;r=128&&g("not-basic"),v.push(t.charCodeAt(r));for(i=n>0?n+1:0;i=y&&g("invalid-input"),((l=(p=t.charCodeAt(i++))-48<10?p-22:p-65<26?p-65:p-97<26?p-97:u)>=u||l>d((s-m)/a))&&g("overflow"),m+=l*a,!(l<(f=c<=x?1:c>=x+26?26:c-x));c+=u)a>d(s/(h=u-f))&&g("overflow"),a*=h;x=w(m-o,e=v.length+1,0==o),d(m/e)>s-_&&g("overflow"),_+=d(m/e),m%=e,v.splice(m++,0,_)}return b(v)}function S(t){var e,n,r,i,o,a,c,l,f,h,v,y,b,x,S,O=[];for(y=(t=m(t)).length,e=128,n=0,o=72,a=0;a=e&&vd((s-n)/(b=r+1))&&g("overflow"),n+=(c-e)*b,e=c,a=0;as&&g("overflow"),v==e){for(l=n,f=u;!(l<(h=f<=o?1:f>=o+26?26:f-o));f+=u)S=l-h,x=u-h,O.push(p(_(h+S%x,0))),l=d(S/x);O.push(p(_(l,0))),o=w(n,b,r==i),n=0,++r}++n,++e}return O.join("")}a={version:"1.3.2",ucs2:{decode:m,encode:b},decode:x,encode:S,toASCII:function(t){return y(t,(function(t){return l.test(t)?"xn--"+S(t):t}))},toUnicode:function(t){return y(t,(function(t){return c.test(t)?x(t.slice(4).toLowerCase()):t}))}},void 0===(r=function(){return a}.call(exports,e,exports,t))||(t.exports=r)}()}).call(this,e("9YbPW59L")(t),e("aY11sVfy"))},y1n3bGum:function(t,exports,e){var n;!function(r){var i=/^\s+/,o=/\s+$/,a=0,s=r.round,u=r.min,c=r.max,l=r.random;function f(t,e){if(e=e||{},(t=t||"")instanceof f)return t;if(!(this instanceof f))return new f(t,e);var n=function(t){var e={r:0,g:0,b:0},n=1,a=null,s=null,l=null,f=!1,h=!1;"string"==typeof t&&(t=function(t){t=t.replace(i,"").replace(o,"").toLowerCase();var e,n=!1;if(E[t])t=E[t],n=!0;else if("transparent"==t)return{r:0,g:0,b:0,a:0,format:"name"};if(e=B.rgb.exec(t))return{r:e[1],g:e[2],b:e[3]};if(e=B.rgba.exec(t))return{r:e[1],g:e[2],b:e[3],a:e[4]};if(e=B.hsl.exec(t))return{h:e[1],s:e[2],l:e[3]};if(e=B.hsla.exec(t))return{h:e[1],s:e[2],l:e[3],a:e[4]};if(e=B.hsv.exec(t))return{h:e[1],s:e[2],v:e[3]};if(e=B.hsva.exec(t))return{h:e[1],s:e[2],v:e[3],a:e[4]};if(e=B.hex8.exec(t))return{r:P(e[1]),g:P(e[2]),b:P(e[3]),a:L(e[4]),format:n?"name":"hex8"};if(e=B.hex6.exec(t))return{r:P(e[1]),g:P(e[2]),b:P(e[3]),format:n?"name":"hex"};if(e=B.hex4.exec(t))return{r:P(e[1]+""+e[1]),g:P(e[2]+""+e[2]),b:P(e[3]+""+e[3]),a:L(e[4]+""+e[4]),format:n?"name":"hex8"};if(e=B.hex3.exec(t))return{r:P(e[1]+""+e[1]),g:P(e[2]+""+e[2]),b:P(e[3]+""+e[3]),format:n?"name":"hex"};return!1}(t));"object"==typeof t&&(H(t.r)&&H(t.g)&&H(t.b)?(d=t.r,p=t.g,g=t.b,e={r:255*I(d,255),g:255*I(p,255),b:255*I(g,255)},f=!0,h="%"===String(t.r).substr(-1)?"prgb":"rgb"):H(t.h)&&H(t.s)&&H(t.v)?(a=U(t.s),s=U(t.v),e=function(t,e,n){t=6*I(t,360),e=I(e,100),n=I(n,100);var i=r.floor(t),o=t-i,a=n*(1-e),s=n*(1-o*e),u=n*(1-(1-o)*e),c=i%6;return{r:255*[n,s,a,a,u,n][c],g:255*[u,n,n,s,a,a][c],b:255*[a,a,u,n,n,s][c]}}(t.h,a,s),f=!0,h="hsv"):H(t.h)&&H(t.s)&&H(t.l)&&(a=U(t.s),l=U(t.l),e=function(t,e,n){var r,i,o;function a(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}if(t=I(t,360),e=I(e,100),n=I(n,100),0===e)r=i=o=n;else{var s=n<.5?n*(1+e):n+e-n*e,u=2*n-s;r=a(u,s,t+1/3),i=a(u,s,t),o=a(u,s,t-1/3)}return{r:255*r,g:255*i,b:255*o}}(t.h,a,l),f=!0,h="hsl"),t.hasOwnProperty("a")&&(n=t.a));var d,p,g;return n=R(n),{ok:f,format:t.format||h,r:u(255,c(e.r,0)),g:u(255,c(e.g,0)),b:u(255,c(e.b,0)),a:n}}(t);this._originalInput=t,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=s(100*this._a)/100,this._format=e.format||n.format,this._gradientType=e.gradientType,this._r<1&&(this._r=s(this._r)),this._g<1&&(this._g=s(this._g)),this._b<1&&(this._b=s(this._b)),this._ok=n.ok,this._tc_id=a++}function h(t,e,n){t=I(t,255),e=I(e,255),n=I(n,255);var r,i,o=c(t,e,n),a=u(t,e,n),s=(o+a)/2;if(o==a)r=i=0;else{var l=o-a;switch(i=s>.5?l/(2-o-a):l/(o+a),o){case t:r=(e-n)/l+(e>1)+720)%360;--e;)r.h=(r.h+i)%360,o.push(f(r));return o}function C(t,e){e=e||6;for(var n=f(t).toHsv(),r=n.h,i=n.s,o=n.v,a=[],s=1/e;e--;)a.push(f({h:r,s:i,v:o})),o=(o+s)%1;return a}f.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var t=this.toRgb();return(299*t.r+587*t.g+114*t.b)/1e3},getLuminance:function(){var t,e,n,i=this.toRgb();return t=i.r/255,e=i.g/255,n=i.b/255,.2126*(t<=.03928?t/12.92:r.pow((t+.055)/1.055,2.4))+.7152*(e<=.03928?e/12.92:r.pow((e+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:r.pow((n+.055)/1.055,2.4))},setAlpha:function(t){return this._a=R(t),this._roundA=s(100*this._a)/100,this},toHsv:function(){var t=d(this._r,this._g,this._b);return{h:360*t.h,s:t.s,v:t.v,a:this._a}},toHsvString:function(){var t=d(this._r,this._g,this._b),e=s(360*t.h),n=s(100*t.s),r=s(100*t.v);return 1==this._a?"hsv("+e+", "+n+"%, "+r+"%)":"hsva("+e+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var t=h(this._r,this._g,this._b);return{h:360*t.h,s:t.s,l:t.l,a:this._a}},toHslString:function(){var t=h(this._r,this._g,this._b),e=s(360*t.h),n=s(100*t.s),r=s(100*t.l);return 1==this._a?"hsl("+e+", "+n+"%, "+r+"%)":"hsla("+e+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(t){return p(this._r,this._g,this._b,t)},toHexString:function(t){return"#"+this.toHex(t)},toHex8:function(t){return function(t,e,n,r,i){var o=[D(s(t).toString(16)),D(s(e).toString(16)),D(s(n).toString(16)),D(F(r))];if(i&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)&&o[3].charAt(0)==o[3].charAt(1))return o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0);return o.join("")}(this._r,this._g,this._b,this._a,t)},toHex8String:function(t){return"#"+this.toHex8(t)},toRgb:function(){return{r:s(this._r),g:s(this._g),b:s(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+s(this._r)+", "+s(this._g)+", "+s(this._b)+")":"rgba("+s(this._r)+", "+s(this._g)+", "+s(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:s(100*I(this._r,255))+"%",g:s(100*I(this._g,255))+"%",b:s(100*I(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+s(100*I(this._r,255))+"%, "+s(100*I(this._g,255))+"%, "+s(100*I(this._b,255))+"%)":"rgba("+s(100*I(this._r,255))+"%, "+s(100*I(this._g,255))+"%, "+s(100*I(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(j[p(this._r,this._g,this._b,!0)]||!1)},toFilter:function(t){var e="#"+g(this._r,this._g,this._b,this._a),n=e,r=this._gradientType?"GradientType = 1, ":"";if(t){var i=f(t);n="#"+g(i._r,i._g,i._b,i._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+e+",endColorstr="+n+")"},toString:function(t){var e=!!t;t=t||this._format;var n=!1,r=this._a<1&&this._a>=0;return e||!r||"hex"!==t&&"hex6"!==t&&"hex3"!==t&&"hex4"!==t&&"hex8"!==t&&"name"!==t?("rgb"===t&&(n=this.toRgbString()),"prgb"===t&&(n=this.toPercentageRgbString()),"hex"!==t&&"hex6"!==t||(n=this.toHexString()),"hex3"===t&&(n=this.toHexString(!0)),"hex4"===t&&(n=this.toHex8String(!0)),"hex8"===t&&(n=this.toHex8String()),"name"===t&&(n=this.toName()),"hsl"===t&&(n=this.toHslString()),"hsv"===t&&(n=this.toHsvString()),n||this.toHexString()):"name"===t&&0===this._a?this.toName():this.toRgbString()},clone:function(){return f(this.toString())},_applyModification:function(t,e){var n=t.apply(null,[this].concat([].slice.call(e)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(b,arguments)},brighten:function(){return this._applyModification(_,arguments)},darken:function(){return this._applyModification(w,arguments)},desaturate:function(){return this._applyModification(v,arguments)},saturate:function(){return this._applyModification(y,arguments)},greyscale:function(){return this._applyModification(m,arguments)},spin:function(){return this._applyModification(x,arguments)},_applyCombination:function(t,e){return t.apply(null,[this].concat([].slice.call(e)))},analogous:function(){return this._applyCombination(A,arguments)},complement:function(){return this._applyCombination(S,arguments)},monochromatic:function(){return this._applyCombination(C,arguments)},splitcomplement:function(){return this._applyCombination(k,arguments)},triad:function(){return this._applyCombination(O,arguments)},tetrad:function(){return this._applyCombination(T,arguments)}},f.fromRatio=function(t,e){if("object"==typeof t){var n={};for(var r in t)t.hasOwnProperty(r)&&(n[r]="a"===r?t[r]:U(t[r]));t=n}return f(t,e)},f.equals=function(t,e){return!(!t||!e)&&f(t).toRgbString()==f(e).toRgbString()},f.random=function(){return f.fromRatio({r:l(),g:l(),b:l()})},f.mix=function(t,e,n){n=0===n?0:n||50;var r=f(t).toRgb(),i=f(e).toRgb(),o=n/100;return f({r:(i.r-r.r)*o+r.r,g:(i.g-r.g)*o+r.g,b:(i.b-r.b)*o+r.b,a:(i.a-r.a)*o+r.a})},f.readability=function(t,e){var n=f(t),i=f(e);return(r.max(n.getLuminance(),i.getLuminance())+.05)/(r.min(n.getLuminance(),i.getLuminance())+.05)},f.isReadable=function(t,e,n){var r,i,o=f.readability(t,e);switch(i=!1,(r=function(t){var e,n;e=((t=t||{level:"AA",size:"small"}).level||"AA").toUpperCase(),n=(t.size||"small").toLowerCase(),"AA"!==e&&"AAA"!==e&&(e="AA");"small"!==n&&"large"!==n&&(n="small");return{level:e,size:n}}(n)).level+r.size){case"AAsmall":case"AAAlarge":i=o>=4.5;break;case"AAlarge":i=o>=3;break;case"AAAsmall":i=o>=7}return i},f.mostReadable=function(t,e,n){var r,i,o,a,s=null,u=0;i=(n=n||{}).includeFallbackColors,o=n.level,a=n.size;for(var c=0;cu&&(u=r,s=f(e[c]));return f.isReadable(t,s,{level:o,size:a})||!i?s:(n.includeFallbackColors=!1,f.mostReadable(t,["#fff","#000"],n))};var E=f.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},j=f.hexNames=function(t){var e={};for(var n in t)t.hasOwnProperty(n)&&(e[t[n]]=n);return e}(E);function R(t){return t=parseFloat(t),(isNaN(t)||t<0||t>1)&&(t=1),t}function I(t,e){(function(t){return"string"==typeof t&&-1!=t.indexOf(".")&&1===parseFloat(t)})(t)&&(t="100%");var n=function(t){return"string"==typeof t&&-1!=t.indexOf("%")}(t);return t=u(e,c(0,parseFloat(t))),n&&(t=parseInt(t*e,10)/100),r.abs(t-e)<1e-6?1:t%e/parseFloat(e)}function M(t){return u(1,c(0,t))}function P(t){return parseInt(t,16)}function D(t){return 1==t.length?"0"+t:""+t}function U(t){return t<=1&&(t=100*t+"%"),t}function F(t){return r.round(255*parseFloat(t)).toString(16)}function L(t){return P(t)/255}var N,z,q,B=(z="[\\s|\\(]+("+(N="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+N+")[,|\\s]+("+N+")\\s*\\)?",q="[\\s|\\(]+("+N+")[,|\\s]+("+N+")[,|\\s]+("+N+")[,|\\s]+("+N+")\\s*\\)?",{CSS_UNIT:new RegExp(N),rgb:new RegExp("rgb"+z),rgba:new RegExp("rgba"+q),hsl:new RegExp("hsl"+z),hsla:new RegExp("hsla"+q),hsv:new RegExp("hsv"+z),hsva:new RegExp("hsva"+q),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function H(t){return!!B.CSS_UNIT.exec(t)}t.exports?t.exports=f:void 0===(n=function(){return f}.call(exports,e,exports,t))||(t.exports=n)}(Math)},yAcToaBS:function(t,exports,e){"use strict";var n=e("DGPF6u+k");t.exports=function(t){var e=typeof t;if("string"===e){var r=t;if(0===(t=+t)&&n(r))return!1}else if("number"!==e)return!1;return t-t<1}},yGVfroSW:function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r),o=(n("nPXWvuAJ"),n("L+5XEiOD")),a=n("HbbeyvOy"),s=n("8GJ6oOEd");function u(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return c(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n2&&void 0!==arguments[2]?arguments[2]:function(){},r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=f(e),a="".concat(this.URL+encodeURIComponent(t),"/preferences"),u=Object(o.b)("PUT",a,{preferences:i}).then((function(){r&&s.a.success("User preferences successfully saved"),n(e)}),(function(e){s.a.error('Saving of preferences for "'.concat(t,'" failed with status: ').concat(e),"Could not save user preferences")}));return l.saveUserPreferences.promise(u),u},loadUserPreferences:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){},n=this.URL+encodeURIComponent(t),r=function(e){s.a.error('Loading of user preferences for "'.concat(t,'" failed with status: ').concat(e,". Try reloading the page"),"Could not retrieve user preferences from server")},i=Object(o.b)("GET",n).then((function(t){return e(null==t?void 0:t.preferences)}),r);return l.loadUserPreferences.promise(i),i}});e.default=h},yKnkitJp:function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r),o=n("HbbeyvOy"),a=n("L+5XEiOD"),s=n("21p8kIWv").a.get("AvailableEventDefinitionTypes").AvailableEventDefinitionTypesActions,u=i.a.createStore({listenables:[s],sourceUrl:"/events/entity_types",entityTypes:void 0,init:function(){this.get()},getInitialState:function(){return this.entityTypes},get:function(){var t=this;Object(a.b)("GET",o.f(this.sourceUrl)).then((function(e){t.entityTypes=e,t.trigger(t.entityTypes)}))}});e.default=u},zM4BXaLA:function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r),o=n("pSISWc05"),a=n("HbbeyvOy"),s=n("IU8ofT4O"),u=n("L+5XEiOD"),c=n("JBQWIv26").a.getActions("Session"),l=i.a.createStore({listenables:[c],sourceUrl:"/system/sessions",sessionId:void 0,username:void 0,validatingSession:!1,init:function(){this.validate()},getInitialState:function(){return this.getSessionInfo()},login:function(t,e,n){var r=new u.a("POST",Object(a.f)(this.sourceUrl)).json({username:t,password:e,host:n}).build().then((function(t){return{sessionId:t.session_id,username:t.username}}));c.login.promise(r)},logout:function(t){var e=this,n=new u.a("DELETE",Object(a.f)("".concat(this.sourceUrl,"/").concat(t))).authenticated().build().then((function(t){(t.ok||401===t.status)&&e._removeSession()}),this._removeSession);c.logout.promise(n)},validate:function(){var t=this,e=o.a.get("sessionId"),n=o.a.get("username");this.validatingSession=!0,this._propagateState();var r=this._validateSession(e).then((function(r){return r.is_valid?c.login.completed({sessionId:e||r.session_id,username:n||r.username}):(e&&n&&t._removeSession(),r)})).finally((function(){t.validatingSession=!1,t._propagateState()}));c.validate.promise(r)},_validateSession:function(t){return new u.a("GET",Object(a.f)(s.a.SessionsApiController.validate().url)).session(t).json().build()},_removeSession:function(){o.a.delete("sessionId"),o.a.delete("username"),this.sessionId=void 0,this.username=void 0,this._propagateState()},_propagateState:function(){this.trigger(this.getSessionInfo())},loginCompleted:function(t){o.a.set("sessionId",t.sessionId),o.a.set("username",t.username),this.sessionId=t.sessionId,this.username=t.username,this._propagateState()},isLoggedIn:function(){return void 0!==this.sessionId&&null!==this.sessionId},getSessionId:function(){return this.sessionId},getSessionInfo:function(){return{sessionId:this.sessionId,username:this.username,validatingSession:this.validatingSession}}});e.default=l},zSF5pjBO:function(t,exports,e){"use strict";var n=e("lf8+9Xc7"),r=e("Khpmx9F5"),i=e("LZ3mZdqo").dash,o=e("xE+ZFgwY").extendFlat,a=e("A5P9b9BX").templatedArray,s=e("RX8/LKUw").FORMAT_LINK,u=e("RX8/LKUw").DATE_FORMAT_LINK,c=e("46lPXjlm").ONEDAY,l=e("Vq8+Ip3e"),f=l.HOUR_PATTERN,h=l.WEEKDAY_PATTERN;t.exports={visible:{valType:"boolean",role:"info",editType:"plot",description:["A single toggle to hide the axis while preserving interaction like dragging.","Default is true when a cheater plot is present on the axis, otherwise","false"].join(" ")},color:{valType:"color",dflt:r.defaultLine,role:"style",editType:"ticks",description:["Sets default for all colors associated with this axis","all at once: line, font, tick, and grid colors.","Grid color is lightened by blending this with the plot background","Individual pieces can override this."].join(" ")},title:{text:{valType:"string",role:"info",editType:"ticks",description:["Sets the title of this axis.","Note that before the existence of `title.text`, the title's","contents used to be defined as the `title` attribute itself.","This behavior has been deprecated."].join(" ")},font:n({editType:"ticks",description:["Sets this axis' title font.","Note that the title's font used to be customized","by the now deprecated `titlefont` attribute."].join(" ")}),standoff:{valType:"number",role:"info",min:0,editType:"ticks",description:["Sets the standoff distance (in px) between the axis labels and the title text","The default value is a function of the axis tick labels, the title `font.size`","and the axis `linewidth`.","Note that the axis title position is always constrained within the margins,","so the actual standoff distance is always less than the set or default value.","By setting `standoff` and turning on `automargin`, plotly.js will push the","margins to fit the axis title at given standoff distance."].join(" ")},editType:"ticks"},type:{valType:"enumerated",values:["-","linear","log","date","category","multicategory"],dflt:"-",role:"info",editType:"calc",_noTemplating:!0,description:["Sets the axis type.","By default, plotly attempts to determined the axis type","by looking into the data of the traces that referenced","the axis in question."].join(" ")},autotypenumbers:{valType:"enumerated",values:["convert types","strict"],dflt:"convert types",role:"info",editType:"calc",description:["Using *strict* a numeric string in trace data is not converted to a number.","Using *convert types* a numeric string in trace data may be","treated as a number during automatic axis `type` detection.","Defaults to layout.autotypenumbers."].join(" ")},autorange:{valType:"enumerated",values:[!0,!1,"reversed"],dflt:!0,role:"info",editType:"axrange",impliedEdits:{"range[0]":void 0,"range[1]":void 0},description:["Determines whether or not the range of this axis is","computed in relation to the input data.","See `rangemode` for more info.","If `range` is provided, then `autorange` is set to *false*."].join(" ")},rangemode:{valType:"enumerated",values:["normal","tozero","nonnegative"],dflt:"normal",role:"info",editType:"plot",description:["If *normal*, the range is computed in relation to the extrema","of the input data.","If *tozero*`, the range extends to 0,","regardless of the input data","If *nonnegative*, the range is non-negative,","regardless of the input data.","Applies only to linear axes."].join(" ")},range:{valType:"info_array",role:"info",items:[{valType:"any",editType:"axrange",impliedEdits:{"^autorange":!1},anim:!0},{valType:"any",editType:"axrange",impliedEdits:{"^autorange":!1},anim:!0}],editType:"axrange",impliedEdits:{autorange:!1},anim:!0,description:["Sets the range of this axis.","If the axis `type` is *log*, then you must take the log of your","desired range (e.g. to set the range from 1 to 100,","set the range from 0 to 2).","If the axis `type` is *date*, it should be date strings,","like date data, though Date objects and unix milliseconds","will be accepted and converted to strings.","If the axis `type` is *category*, it should be numbers,","using the scale where each category is assigned a serial","number from zero in the order it appears."].join(" ")},fixedrange:{valType:"boolean",dflt:!1,role:"info",editType:"calc",description:["Determines whether or not this axis is zoom-able.","If true, then zoom is disabled."].join(" ")},scaleanchor:{valType:"enumerated",values:[l.idRegex.x.toString(),l.idRegex.y.toString()],role:"info",editType:"plot",description:["If set to another axis id (e.g. `x2`, `y`), the range of this axis","changes together with the range of the corresponding axis","such that the scale of pixels per unit is in a constant ratio.","Both axes are still zoomable, but when you zoom one, the other will","zoom the same amount, keeping a fixed midpoint.","`constrain` and `constraintoward` determine how we enforce the constraint.","You can chain these, ie `yaxis: {scaleanchor: *x*}, xaxis2: {scaleanchor: *y*}`","but you can only link axes of the same `type`.","The linked axis can have the opposite letter (to constrain the aspect ratio)","or the same letter (to match scales across subplots).","Loops (`yaxis: {scaleanchor: *x*}, xaxis: {scaleanchor: *y*}` or longer) are redundant","and the last constraint encountered will be ignored to avoid possible","inconsistent constraints via `scaleratio`.","Note that setting axes simultaneously in both a `scaleanchor` and a `matches` constraint","is currently forbidden."].join(" ")},scaleratio:{valType:"number",min:0,dflt:1,role:"info",editType:"plot",description:["If this axis is linked to another by `scaleanchor`, this determines the pixel","to unit scale ratio. For example, if this value is 10, then every unit on","this axis spans 10 times the number of pixels as a unit on the linked axis.","Use this for example to create an elevation profile where the vertical scale","is exaggerated a fixed amount with respect to the horizontal."].join(" ")},constrain:{valType:"enumerated",values:["range","domain"],role:"info",editType:"plot",description:["If this axis needs to be compressed (either due to its own `scaleanchor` and","`scaleratio` or those of the other axis), determines how that happens:","by increasing the *range*, or by decreasing the *domain*.","Default is *domain* for axes containing image traces, *range* otherwise."].join(" ")},constraintoward:{valType:"enumerated",values:["left","center","right","top","middle","bottom"],role:"info",editType:"plot",description:["If this axis needs to be compressed (either due to its own `scaleanchor` and","`scaleratio` or those of the other axis), determines which direction we push","the originally specified plot area. Options are *left*, *center* (default),","and *right* for x axes, and *top*, *middle* (default), and *bottom* for y axes."].join(" ")},matches:{valType:"enumerated",values:[l.idRegex.x.toString(),l.idRegex.y.toString()],role:"info",editType:"calc",description:["If set to another axis id (e.g. `x2`, `y`), the range of this axis","will match the range of the corresponding axis in data-coordinates space.","Moreover, matching axes share auto-range values, category lists and","histogram auto-bins.","Note that setting axes simultaneously in both a `scaleanchor` and a `matches` constraint","is currently forbidden.","Moreover, note that matching axes must have the same `type`."].join(" ")},rangebreaks:a("rangebreak",{enabled:{valType:"boolean",role:"info",dflt:!0,editType:"calc",description:["Determines whether this axis rangebreak is enabled or disabled.","Please note that `rangebreaks` only work for *date* axis type."].join(" ")},bounds:{valType:"info_array",role:"info",items:[{valType:"any",editType:"calc"},{valType:"any",editType:"calc"}],editType:"calc",description:["Sets the lower and upper bounds of this axis rangebreak.","Can be used with `pattern`."].join(" ")},pattern:{valType:"enumerated",values:[h,f,""],role:"info",editType:"calc",description:["Determines a pattern on the time line that generates breaks.","If *"+h+"* - days of the week in English e.g. 'Sunday' or `sun`","(matching is case-insensitive and considers only the first three characters),","as well as Sunday-based integers between 0 and 6.","If *"+f+"* - hour (24-hour clock) as decimal numbers between 0 and 24.","for more info.","Examples:","- { pattern: '"+h+"', bounds: [6, 1] }"," or simply { bounds: ['sat', 'mon'] }"," breaks from Saturday to Monday (i.e. skips the weekends).","- { pattern: '"+f+"', bounds: [17, 8] }"," breaks from 5pm to 8am (i.e. skips non-work hours)."].join(" ")},values:{valType:"info_array",freeLength:!0,role:"info",editType:"calc",items:{valType:"any",editType:"calc"},description:["Sets the coordinate values corresponding to the rangebreaks.","An alternative to `bounds`.","Use `dvalue` to set the size of the values along the axis."].join(" ")},dvalue:{valType:"number",role:"info",editType:"calc",min:0,dflt:c,description:["Sets the size of each `values` item.","The default is one day in milliseconds."].join(" ")},editType:"calc"}),tickmode:{valType:"enumerated",values:["auto","linear","array"],role:"info",editType:"ticks",impliedEdits:{tick0:void 0,dtick:void 0},description:["Sets the tick mode for this axis.","If *auto*, the number of ticks is set via `nticks`.","If *linear*, the placement of the ticks is determined by","a starting position `tick0` and a tick step `dtick`","(*linear* is the default value if `tick0` and `dtick` are provided).","If *array*, the placement of the ticks is set via `tickvals`","and the tick text is `ticktext`.","(*array* is the default value if `tickvals` is provided)."].join(" ")},nticks:{valType:"integer",min:0,dflt:0,role:"style",editType:"ticks",description:["Specifies the maximum number of ticks for the particular axis.","The actual number of ticks will be chosen automatically to be","less than or equal to `nticks`.","Has an effect only if `tickmode` is set to *auto*."].join(" ")},tick0:{valType:"any",role:"style",editType:"ticks",impliedEdits:{tickmode:"linear"},description:["Sets the placement of the first tick on this axis.","Use with `dtick`.","If the axis `type` is *log*, then you must take the log of your starting tick","(e.g. to set the starting tick to 100, set the `tick0` to 2)","except when `dtick`=*L* (see `dtick` for more info).","If the axis `type` is *date*, it should be a date string, like date data.","If the axis `type` is *category*, it should be a number, using the scale where","each category is assigned a serial number from zero in the order it appears."].join(" ")},dtick:{valType:"any",role:"style",editType:"ticks",impliedEdits:{tickmode:"linear"},description:["Sets the step in-between ticks on this axis. Use with `tick0`.","Must be a positive number, or special strings available to *log* and *date* axes.","If the axis `type` is *log*, then ticks are set every 10^(n*dtick) where n","is the tick number. For example,","to set a tick mark at 1, 10, 100, 1000, ... set dtick to 1.","To set tick marks at 1, 100, 10000, ... set dtick to 2.","To set tick marks at 1, 5, 25, 125, 625, 3125, ... set dtick to log_10(5), or 0.69897000433.","*log* has several special values; *L*, where `f` is a positive number,","gives ticks linearly spaced in value (but not position).","For example `tick0` = 0.1, `dtick` = *L0.5* will put ticks at 0.1, 0.6, 1.1, 1.6 etc.","To show powers of 10 plus small digits between, use *D1* (all digits) or *D2* (only 2 and 5).","`tick0` is ignored for *D1* and *D2*.","If the axis `type` is *date*, then you must convert the time to milliseconds.","For example, to set the interval between ticks to one day,","set `dtick` to 86400000.0.","*date* also has special values *M* gives ticks spaced by a number of months.","`n` must be a positive integer.","To set ticks on the 15th of every third month, set `tick0` to *2000-01-15* and `dtick` to *M3*.","To set ticks every 4 years, set `dtick` to *M48*"].join(" ")},tickvals:{valType:"data_array",editType:"ticks",description:["Sets the values at which ticks on this axis appear.","Only has an effect if `tickmode` is set to *array*.","Used with `ticktext`."].join(" ")},ticktext:{valType:"data_array",editType:"ticks",description:["Sets the text displayed at the ticks position via `tickvals`.","Only has an effect if `tickmode` is set to *array*.","Used with `tickvals`."].join(" ")},ticks:{valType:"enumerated",values:["outside","inside",""],role:"style",editType:"ticks",description:["Determines whether ticks are drawn or not.","If **, this axis' ticks are not drawn.","If *outside* (*inside*), this axis' are drawn outside (inside)","the axis lines."].join(" ")},tickson:{valType:"enumerated",values:["labels","boundaries"],role:"info",dflt:"labels",editType:"ticks",description:["Determines where ticks and grid lines are drawn with respect to their","corresponding tick labels.","Only has an effect for axes of `type` *category* or *multicategory*.","When set to *boundaries*, ticks and grid lines are drawn half a category","to the left/bottom of labels."].join(" ")},ticklabelmode:{valType:"enumerated",values:["instant","period"],dflt:"instant",role:"info",editType:"ticks",description:["Determines where tick labels are drawn with respect to their","corresponding ticks and grid lines.","Only has an effect for axes of `type` *date*","When set to *period*, tick labels are drawn in the middle of the period","between ticks."].join(" ")},ticklabelposition:{valType:"enumerated",values:["outside","inside","outside top","inside top","outside left","inside left","outside right","inside right","outside bottom","inside bottom"],dflt:"outside",role:"info",editType:"calc",description:["Determines where tick labels are drawn with respect to the axis","Please note that","top or bottom has no effect on x axes or when `ticklabelmode` is set to *period*.","Similarly","left or right has no effect on y axes or when `ticklabelmode` is set to *period*.","Has no effect on *multicategory* axes or when `tickson` is set to *boundaries*.","When used on axes linked by `matches` or `scaleanchor`,","no extra padding for inside labels would be added by autorange,","so that the scales could match."].join(" ")},mirror:{valType:"enumerated",values:[!0,"ticks",!1,"all","allticks"],dflt:!1,role:"style",editType:"ticks+layoutstyle",description:["Determines if the axis lines or/and ticks are mirrored to","the opposite side of the plotting area.","If *true*, the axis lines are mirrored.","If *ticks*, the axis lines and ticks are mirrored.","If *false*, mirroring is disable.","If *all*, axis lines are mirrored on all shared-axes subplots.","If *allticks*, axis lines and ticks are mirrored","on all shared-axes subplots."].join(" ")},ticklen:{valType:"number",min:0,dflt:5,role:"style",editType:"ticks",description:"Sets the tick length (in px)."},tickwidth:{valType:"number",min:0,dflt:1,role:"style",editType:"ticks",description:"Sets the tick width (in px)."},tickcolor:{valType:"color",dflt:r.defaultLine,role:"style",editType:"ticks",description:"Sets the tick color."},showticklabels:{valType:"boolean",dflt:!0,role:"style",editType:"ticks",description:"Determines whether or not the tick labels are drawn."},automargin:{valType:"boolean",dflt:!1,role:"style",editType:"ticks",description:["Determines whether long tick labels automatically grow the figure","margins."].join(" ")},showspikes:{valType:"boolean",dflt:!1,role:"style",editType:"modebar",description:["Determines whether or not spikes (aka droplines) are drawn for this axis.","Note: This only takes affect when hovermode = closest"].join(" ")},spikecolor:{valType:"color",dflt:null,role:"style",editType:"none",description:"Sets the spike color. If undefined, will use the series color"},spikethickness:{valType:"number",dflt:3,role:"style",editType:"none",description:"Sets the width (in px) of the zero line."},spikedash:o({},i,{dflt:"dash",editType:"none"}),spikemode:{valType:"flaglist",flags:["toaxis","across","marker"],role:"style",dflt:"toaxis",editType:"none",description:["Determines the drawing mode for the spike line","If *toaxis*, the line is drawn from the data point to the axis the ","series is plotted on.","If *across*, the line is drawn across the entire plot area, and","supercedes *toaxis*.","If *marker*, then a marker dot is drawn on the axis the series is","plotted on"].join(" ")},spikesnap:{valType:"enumerated",values:["data","cursor","hovered data"],dflt:"data",role:"style",editType:"none",description:"Determines whether spikelines are stuck to the cursor or to the closest datapoints."},tickfont:n({editType:"ticks",description:"Sets the tick font."}),tickangle:{valType:"angle",dflt:"auto",role:"style",editType:"ticks",description:["Sets the angle of the tick labels with respect to the horizontal.","For example, a `tickangle` of -90 draws the tick labels","vertically."].join(" ")},tickprefix:{valType:"string",dflt:"",role:"style",editType:"ticks",description:"Sets a tick label prefix."},showtickprefix:{valType:"enumerated",values:["all","first","last","none"],dflt:"all",role:"style",editType:"ticks",description:["If *all*, all tick labels are displayed with a prefix.","If *first*, only the first tick is displayed with a prefix.","If *last*, only the last tick is displayed with a suffix.","If *none*, tick prefixes are hidden."].join(" ")},ticksuffix:{valType:"string",dflt:"",role:"style",editType:"ticks",description:"Sets a tick label suffix."},showticksuffix:{valType:"enumerated",values:["all","first","last","none"],dflt:"all",role:"style",editType:"ticks",description:"Same as `showtickprefix` but for tick suffixes."},showexponent:{valType:"enumerated",values:["all","first","last","none"],dflt:"all",role:"style",editType:"ticks",description:["If *all*, all exponents are shown besides their significands.","If *first*, only the exponent of the first tick is shown.","If *last*, only the exponent of the last tick is shown.","If *none*, no exponents appear."].join(" ")},exponentformat:{valType:"enumerated",values:["none","e","E","power","SI","B"],dflt:"B",role:"style",editType:"ticks",description:["Determines a formatting rule for the tick exponents.","For example, consider the number 1,000,000,000.","If *none*, it appears as 1,000,000,000.","If *e*, 1e+9.","If *E*, 1E+9.","If *power*, 1x10^9 (with 9 in a super script).","If *SI*, 1G.","If *B*, 1B."].join(" ")},minexponent:{valType:"number",dflt:3,min:0,role:"style",editType:"ticks",description:["Hide SI prefix for 10^n if |n| is below this number.","This only has an effect when `tickformat` is *SI* or *B*."].join(" ")},separatethousands:{valType:"boolean",dflt:!1,role:"style",editType:"ticks",description:['If "true", even 4-digit integers are separated'].join(" ")},tickformat:{valType:"string",dflt:"",role:"style",editType:"ticks",description:["Sets the tick label formatting rule using d3 formatting mini-languages","which are very similar to those in Python. For numbers, see:",s,"And for dates see:",u,"We add one item to d3's date formatter: *%{n}f* for fractional seconds","with n digits. For example, *2016-10-13 09:15:23.456* with tickformat","*%H~%M~%S.%2f* would display *09~15~23.46*"].join(" ")},tickformatstops:a("tickformatstop",{enabled:{valType:"boolean",role:"info",dflt:!0,editType:"ticks",description:["Determines whether or not this stop is used.","If `false`, this stop is ignored even within its `dtickrange`."].join(" ")},dtickrange:{valType:"info_array",role:"info",items:[{valType:"any",editType:"ticks"},{valType:"any",editType:"ticks"}],editType:"ticks",description:["range [*min*, *max*], where *min*, *max* - dtick values","which describe some zoom level, it is possible to omit *min*","or *max* value by passing *null*"].join(" ")},value:{valType:"string",dflt:"",role:"style",editType:"ticks",description:["string - dtickformat for described zoom level, the same as *tickformat*"].join(" ")},editType:"ticks"}),hoverformat:{valType:"string",dflt:"",role:"style",editType:"none",description:["Sets the hover text formatting rule using d3 formatting mini-languages","which are very similar to those in Python. For numbers, see:",s,"And for dates see:",u,"We add one item to d3's date formatter: *%{n}f* for fractional seconds","with n digits. For example, *2016-10-13 09:15:23.456* with tickformat","*%H~%M~%S.%2f* would display *09~15~23.46*"].join(" ")},showline:{valType:"boolean",dflt:!1,role:"style",editType:"ticks+layoutstyle",description:["Determines whether or not a line bounding this axis is drawn."].join(" ")},linecolor:{valType:"color",dflt:r.defaultLine,role:"style",editType:"layoutstyle",description:"Sets the axis line color."},linewidth:{valType:"number",min:0,dflt:1,role:"style",editType:"ticks+layoutstyle",description:"Sets the width (in px) of the axis line."},showgrid:{valType:"boolean",role:"style",editType:"ticks",description:["Determines whether or not grid lines are drawn.","If *true*, the grid lines are drawn at every tick mark."].join(" ")},gridcolor:{valType:"color",dflt:r.lightLine,role:"style",editType:"ticks",description:"Sets the color of the grid lines."},gridwidth:{valType:"number",min:0,dflt:1,role:"style",editType:"ticks",description:"Sets the width (in px) of the grid lines."},zeroline:{valType:"boolean",role:"style",editType:"ticks",description:["Determines whether or not a line is drawn at along the 0 value","of this axis.","If *true*, the zero line is drawn on top of the grid lines."].join(" ")},zerolinecolor:{valType:"color",dflt:r.defaultLine,role:"style",editType:"ticks",description:"Sets the line color of the zero line."},zerolinewidth:{valType:"number",dflt:1,role:"style",editType:"ticks",description:"Sets the width (in px) of the zero line."},showdividers:{valType:"boolean",dflt:!0,role:"style",editType:"ticks",description:["Determines whether or not a dividers are drawn","between the category levels of this axis.","Only has an effect on *multicategory* axes."].join(" ")},dividercolor:{valType:"color",dflt:r.defaultLine,role:"style",editType:"ticks",description:["Sets the color of the dividers","Only has an effect on *multicategory* axes."].join(" ")},dividerwidth:{valType:"number",dflt:1,role:"style",editType:"ticks",description:["Sets the width (in px) of the dividers","Only has an effect on *multicategory* axes."].join(" ")},anchor:{valType:"enumerated",values:["free",l.idRegex.x.toString(),l.idRegex.y.toString()],role:"info",editType:"plot",description:["If set to an opposite-letter axis id (e.g. `x2`, `y`), this axis is bound to","the corresponding opposite-letter axis.","If set to *free*, this axis' position is determined by `position`."].join(" ")},side:{valType:"enumerated",values:["top","bottom","left","right"],role:"info",editType:"plot",description:["Determines whether a x (y) axis is positioned","at the *bottom* (*left*) or *top* (*right*)","of the plotting area."].join(" ")},overlaying:{valType:"enumerated",values:["free",l.idRegex.x.toString(),l.idRegex.y.toString()],role:"info",editType:"plot",description:["If set a same-letter axis id, this axis is overlaid on top of","the corresponding same-letter axis, with traces and axes visible for both","axes.","If *false*, this axis does not overlay any same-letter axes.","In this case, for axes with overlapping domains only the highest-numbered","axis will be visible."].join(" ")},layer:{valType:"enumerated",values:["above traces","below traces"],dflt:"above traces",role:"info",editType:"plot",description:["Sets the layer on which this axis is displayed.","If *above traces*, this axis is displayed above all the subplot's traces","If *below traces*, this axis is displayed below all the subplot's traces,","but above the grid lines.","Useful when used together with scatter-like traces with `cliponaxis`","set to *false* to show markers and/or text nodes above this axis."].join(" ")},domain:{valType:"info_array",role:"info",items:[{valType:"number",min:0,max:1,editType:"plot"},{valType:"number",min:0,max:1,editType:"plot"}],dflt:[0,1],editType:"plot",description:["Sets the domain of this axis (in plot fraction)."].join(" ")},position:{valType:"number",min:0,max:1,dflt:0,role:"style",editType:"plot",description:["Sets the position of this axis in the plotting space","(in normalized coordinates).","Only has an effect if `anchor` is set to *free*."].join(" ")},categoryorder:{valType:"enumerated",values:["trace","category ascending","category descending","array","total ascending","total descending","min ascending","min descending","max ascending","max descending","sum ascending","sum descending","mean ascending","mean descending","median ascending","median descending"],dflt:"trace",role:"info",editType:"calc",description:["Specifies the ordering logic for the case of categorical variables.","By default, plotly uses *trace*, which specifies the order that is present in the data supplied.","Set `categoryorder` to *category ascending* or *category descending* if order should be determined by","the alphanumerical order of the category names.","Set `categoryorder` to *array* to derive the ordering from the attribute `categoryarray`. If a category","is not found in the `categoryarray` array, the sorting behavior for that attribute will be identical to","the *trace* mode. The unspecified categories will follow the categories in `categoryarray`.","Set `categoryorder` to *total ascending* or *total descending* if order should be determined by the","numerical order of the values.","Similarly, the order can be determined by the min, max, sum, mean or median of all the values."].join(" ")},categoryarray:{valType:"data_array",role:"info",editType:"calc",description:["Sets the order in which categories on this axis appear.","Only has an effect if `categoryorder` is set to *array*.","Used with `categoryorder`."].join(" ")},uirevision:{valType:"any",role:"info",editType:"none",description:["Controls persistence of user-driven changes in axis `range`,","`autorange`, and `title` if in `editable: true` configuration.","Defaults to `layout.uirevision`."].join(" ")},editType:"calc",_deprecated:{autotick:{valType:"boolean",role:"info",editType:"ticks",description:["Obsolete.","Set `tickmode` to *auto* for old `autotick` *true* behavior.","Set `tickmode` to *linear* for `autotick` *false*."].join(" ")},title:{valType:"string",role:"info",editType:"ticks",description:["Value of `title` is no longer a simple *string* but a set of sub-attributes.","To set the axis' title, please use `title.text` now."].join(" ")},titlefont:n({editType:"ticks",description:["Former `titlefont` is now the sub-attribute `font` of `title`.","To customize title font properties, please use `title.font` now."].join(" ")})}}},zrBetBEQ:function(t,e,n){"use strict";n.r(e);var r=n("4KF7VOU5"),i=n.n(r).a.createActions({list:{asyncResult:!0},listAll:{asyncResult:!0},close:{asyncResult:!0},delete:{asyncResult:!0},multiple:{asyncResult:!0},reopen:{asyncResult:!0},subscribe:{asyncResult:!1},unsubscribe:{asyncResult:!1}});e.default=i}}); //# sourceMappingURL=builtins.11b9f72925818240e61d.js.map




© 2015 - 2024 Weber Informatics LLC | Privacy Policy