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

web-interface.assets.app.746b58959a350aa1ebcf.js Maven / Gradle / Ivy

There is a newer version: 6.0.6
Show newest version
!function(t){function e(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n=window.webpackJsonp;window.webpackJsonp=function(e,r,i){for(var a,s,u=0,l=[];u1&&(n=n.substr(1,n.length-1),e=o.default.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=o.default.parse(n)),e},replaceHashParam:function(t,e){var n=this.getParsedHash(window.location);n[t]=e,window.location.replace("#"+o.default.stringify(n))},concatURLPath:function(){for(var t=arguments.length,e=Array(t),n=0;n=0&&b.splice(e,1)}function a(t){var e=document.createElement("style");return t.attrs.type="text/css",u(e,t.attrs),o(t,e),e}function s(t){var e=document.createElement("link");return t.attrs.type="text/css",t.attrs.rel="stylesheet",u(e,t.attrs),o(t,e),e}function u(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}function l(t,e){var n,r,o,u;if(e.transform&&t.css){if(!(u=e.transform(t.css)))return function(){};t.css=u}if(e.singleton){var l=v++;n=m||(m=a(e)),r=c.bind(null,n,l,!1),o=c.bind(null,n,l,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=s(e),r=d.bind(null,n,e),o=function(){i(n),n.href&&URL.revokeObjectURL(n.href)}):(n=a(e),r=f.bind(null,n),o=function(){i(n)});return r(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;r(t=e)}else o()}}function c(t,e,n,r){var o=n?"":r.css;if(t.styleSheet)t.styleSheet.cssText=_(e,o);else{var i=document.createTextNode(o),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(i,a[e]):t.appendChild(i)}}function f(t,e){var n=e.css,r=e.media;if(r&&t.setAttribute("media",r),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}function d(t,e,n){var r=n.css,o=n.sourceMap,i=void 0===e.convertToAbsoluteUrls&&o;(e.convertToAbsoluteUrls||i)&&(r=y(r)),o&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var a=new Blob([r],{type:"text/css"}),s=t.href;t.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}var p={},h=function(t){var e;return function(){return void 0===e&&(e=t.apply(this,arguments)),e}}(function(){return window&&document&&document.all&&!window.atob}),g=function(t){var e={};return function(n){return void 0===e[n]&&(e[n]=t.call(this,n)),e[n]}}(function(t){return document.querySelector(t)}),m=null,v=0,b=[],y=e(489);t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");e=e||{},e.attrs="object"==typeof e.attrs?e.attrs:{},e.singleton||(e.singleton=h()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var o=r(t,e);return n(o,e),function(t){for(var i=[],a=0;a>>0;if(""+n!==e||4294967295===n)return NaN;e=n}return e<0?h(t)+e:e}function m(){return!0}function v(t,e,n){return(0===t||void 0!==n&&t<=-n)&&(void 0===e||void 0!==n&&e>=n)}function b(t,e){return _(t,e,0)}function y(t,e){return _(t,e,e)}function _(t,e,n){return void 0===t?n:t<0?Math.max(0,e+t):void 0===e?t:Math.min(e,t)}function x(t){this.next=t}function w(t,e,n,r){var o=0===t?e:1===t?n:[e,n];return r?r.value=o:r={value:o,done:!1},r}function k(){return{value:void 0,done:!0}}function S(t){return!!A(t)}function E(t){return t&&"function"==typeof t.next}function C(t){var e=A(t);return e&&e.call(t)}function A(t){var e=t&&(kn&&t[kn]||t[Sn]);if("function"==typeof e)return e}function O(t){return t&&"number"==typeof t.length}function M(t){return null===t||void 0===t?z():i(t)?t.toSeq():q(t)}function T(t){return null===t||void 0===t?z().toKeyedSeq():i(t)?a(t)?t.toSeq():t.fromEntrySeq():L(t)}function D(t){return null===t||void 0===t?z():i(t)?a(t)?t.entrySeq():t.toIndexedSeq():U(t)}function F(t){return(null===t||void 0===t?z():i(t)?a(t)?t.entrySeq():t:U(t)).toSetSeq()}function P(t){this._array=t,this.size=t.length}function R(t){var e=Object.keys(t);this._object=t,this._keys=e,this.size=e.length}function I(t){this._iterable=t,this.size=t.length||t.size}function j(t){this._iterator=t,this._iteratorCache=[]}function N(t){return!(!t||!t[Cn])}function z(){return An||(An=new P([]))}function L(t){var e=Array.isArray(t)?new P(t).fromEntrySeq():E(t)?new j(t).fromEntrySeq():S(t)?new I(t).fromEntrySeq():"object"==typeof t?new R(t):void 0;if(!e)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+t);return e}function U(t){var e=B(t);if(!e)throw new TypeError("Expected Array or iterable object of values: "+t);return e}function q(t){var e=B(t)||"object"==typeof t&&new R(t);if(!e)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+t);return e}function B(t){return O(t)?new P(t):E(t)?new j(t):S(t)?new I(t):void 0}function H(t,e,n,r){var o=t._cache;if(o){for(var i=o.length-1,a=0;a<=i;a++){var s=o[n?i-a:a];if(!1===e(s[1],r?s[0]:a,t))return a+1}return a}return t.__iterateUncached(e,n)}function G(t,e,n,r){var o=t._cache;if(o){var i=o.length-1,a=0;return new x(function(){var t=o[n?i-a:a];return a++>i?k():w(e,r?t[0]:a-1,t[1])})}return t.__iteratorUncached(e,n)}function V(t,e){return e?W(e,t,"",{"":t}):Y(t)}function W(t,e,n,r){return Array.isArray(e)?t.call(r,n,D(e).map(function(n,r){return W(t,n,r,e)})):K(e)?t.call(r,n,T(e).map(function(n,r){return W(t,n,r,e)})):e}function Y(t){return Array.isArray(t)?D(t).map(Y).toList():K(t)?T(t).map(Y).toMap():t}function K(t){return t&&(t.constructor===Object||void 0===t.constructor)}function Q(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===e||t!==t&&e!==e)return!0;if(!t||!e)return!1}return!("function"!=typeof t.equals||"function"!=typeof e.equals||!t.equals(e))}function X(t,e){if(t===e)return!0;if(!i(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||a(t)!==a(e)||s(t)!==s(e)||l(t)!==l(e))return!1;if(0===t.size&&0===e.size)return!0;var n=!u(t);if(l(t)){var r=t.entries();return e.every(function(t,e){var o=r.next().value;return o&&Q(o[1],t)&&(n||Q(o[0],e))})&&r.next().done}var o=!1;if(void 0===t.size)if(void 0===e.size)"function"==typeof t.cacheResult&&t.cacheResult();else{o=!0;var c=t;t=e,e=c}var f=!0,d=e.__iterate(function(e,r){if(n?!t.has(e):o?!Q(e,t.get(r,vn)):!Q(t.get(r,vn),e))return f=!1,!1});return f&&t.size===d}function Z(t,e){if(!(this instanceof Z))return new Z(t,e);if(this._value=t,this.size=void 0===e?1/0:Math.max(0,e),0===this.size){if(On)return On;On=this}}function J(t,e){if(!t)throw new Error(e)}function tt(t,e,n){if(!(this instanceof tt))return new tt(t,e,n);if(J(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),e>>1&1073741824|3221225471&t}function at(t){if(!1===t||null===t||void 0===t)return 0;if("function"==typeof t.valueOf&&(!1===(t=t.valueOf())||null===t||void 0===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;)t/=4294967295,n^=t;return it(n)}if("string"===e)return t.length>Nn?st(t):ut(t);if("function"==typeof t.hashCode)return t.hashCode();if("object"===e)return lt(t);if("function"==typeof t.toString)return ut(t.toString());throw new Error("Value type "+e+" cannot be hashed.")}function st(t){var e=Un[t];return void 0===e&&(e=ut(t),Ln===zn&&(Ln=0,Un={}),Ln++,Un[t]=e),e}function ut(t){for(var e=0,n=0;n0)switch(t.nodeType){case 1:return t.uniqueID;case 9:return t.documentElement&&t.documentElement.uniqueID}}function ft(t){J(t!==1/0,"Cannot perform this action with an infinite size.")}function dt(t){return null===t||void 0===t?kt():pt(t)&&!l(t)?t:kt().withMutations(function(e){var r=n(t);ft(r.size),r.forEach(function(t,n){return e.set(n,t)})})}function pt(t){return!(!t||!t[qn])}function ht(t,e){this.ownerID=t,this.entries=e}function gt(t,e,n){this.ownerID=t,this.bitmap=e,this.nodes=n}function mt(t,e,n){this.ownerID=t,this.count=e,this.nodes=n}function vt(t,e,n){this.ownerID=t,this.keyHash=e,this.entries=n}function bt(t,e,n){this.ownerID=t,this.keyHash=e,this.entry=n}function yt(t,e,n){this._type=e,this._reverse=n,this._stack=t._root&&xt(t._root)}function _t(t,e){return w(t,e[0],e[1])}function xt(t,e){return{node:t,index:0,__prev:e}}function wt(t,e,n,r){var o=Object.create(Bn);return o.size=t,o._root=e,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function kt(){return Hn||(Hn=wt(0))}function St(t,e,n){var r,o;if(t._root){var i=c(bn),a=c(yn);if(r=Et(t._root,t.__ownerID,0,void 0,e,n,i,a),!a.value)return t;o=t.size+(i.value?n===vn?-1:1:0)}else{if(n===vn)return t;o=1,r=new ht(t.__ownerID,[[e,n]])}return t.__ownerID?(t.size=o,t._root=r,t.__hash=void 0,t.__altered=!0,t):r?wt(o,r):kt()}function Et(t,e,n,r,o,i,a,s){return t?t.update(e,n,r,o,i,a,s):i===vn?t:(f(s),f(a),new bt(e,r,[o,i]))}function Ct(t){return t.constructor===bt||t.constructor===vt}function At(t,e,n,r,o){if(t.keyHash===r)return new vt(e,r,[t.entry,o]);var i,a=(0===n?t.keyHash:t.keyHash>>>n)&mn,s=(0===n?r:r>>>n)&mn;return new gt(e,1<>>=1)a[s]=1&n?e[i++]:void 0;return a[r]=o,new mt(t,i+1,a)}function Dt(t,e,r){for(var o=[],a=0;a>1&1431655765,t=(858993459&t)+(t>>2&858993459),t=t+(t>>4)&252645135,t+=t>>8,127&(t+=t>>16)}function Nt(t,e,n,r){var o=r?t:p(t);return o[e]=n,o}function zt(t,e,n,r){var o=t.length+1;if(r&&e+1===o)return t[e]=n,t;for(var i=new Array(o),a=0,s=0;s0&&oi?0:i-n,l=a-n;return l>gn&&(l=gn),function(){if(o===l)return Xn;var t=e?--l:o++;return r&&r[t]}}function o(t,r,o){var s,u=t&&t.array,l=o>i?0:i-o>>r,c=1+(a-o>>r);return c>gn&&(c=gn),function(){for(;;){if(s){var t=s();if(t!==Xn)return t;s=null}if(l===c)return Xn;var i=e?--c:l++;s=n(u&&u[i],r-hn,o+(i<=t.size||e<0)return t.withMutations(function(t){e<0?Xt(t,e).set(0,n):Xt(t,0,e+1).set(e,n)});e+=t._origin;var r=t._tail,o=t._root,i=c(yn);return e>=Zt(t._capacity)?r=Yt(r,t.__ownerID,0,e,n,i):o=Yt(o,t.__ownerID,t._level,e,n,i),i.value?t.__ownerID?(t._root=o,t._tail=r,t.__hash=void 0,t.__altered=!0,t):Gt(t._origin,t._capacity,t._level,o,r):t}function Yt(t,e,n,r,o,i){var a=r>>>n&mn,s=t&&a0){var l=t&&t.array[a],c=Yt(l,e,n-hn,r,o,i);return c===l?t:(u=Kt(t,e),u.array[a]=c,u)}return s&&t.array[a]===o?t:(f(i),u=Kt(t,e),void 0===o&&a===u.array.length-1?u.array.pop():u.array[a]=o,u)}function Kt(t,e){return e&&t&&e===t.ownerID?t:new Bt(t?t.array.slice():[],e)}function Qt(t,e){if(e>=Zt(t._capacity))return t._tail;if(e<1<0;)n=n.array[e>>>r&mn],r-=hn;return n}}function Xt(t,e,n){void 0!==e&&(e|=0),void 0!==n&&(n|=0);var r=t.__ownerID||new d,o=t._origin,i=t._capacity,a=o+e,s=void 0===n?i:n<0?i+n:o+n;if(a===o&&s===i)return t;if(a>=s)return t.clear();for(var u=t._level,l=t._root,c=0;a+c<0;)l=new Bt(l&&l.array.length?[void 0,l]:[],r),u+=hn,c+=1<=1<f?new Bt([],r):h;if(h&&p>f&&ahn;v-=hn){var b=f>>>v&mn;m=m.array[b]=Kt(m.array[b],r)}m.array[f>>>hn&mn]=h}if(s=p)a-=p,s-=p,u=hn,l=null,g=g&&g.removeBefore(r,0,a);else if(a>o||p>>u&mn;if(y!==p>>>u&mn)break;y&&(c+=(1<o&&(l=l.removeBefore(r,u,a-c)),l&&pa&&(a=l.size),i(u)||(l=l.map(function(t){return V(t)})),o.push(l)}return a>t.size&&(t=t.setSize(a)),Rt(t,e,o)}function Zt(t){return t>>hn<=gn&&a.size>=2*i.size?(o=a.filter(function(t,e){return void 0!==t&&s!==e}),r=o.toKeyedSeq().map(function(t){return t[0]}).flip().toMap(),t.__ownerID&&(r.__ownerID=o.__ownerID=t.__ownerID)):(r=i.remove(e),o=s===a.size-1?a.pop():a.set(s,void 0))}else if(u){if(n===a.get(s)[1])return t;r=i,o=a.set(s,[e,n])}else r=i.set(e,a.size),o=a.set(a.size,[e,n]);return t.__ownerID?(t.size=r.size,t._map=r,t._list=o,t.__hash=void 0,t):ee(r,o)}function oe(t,e){this._iter=t,this._useKeys=e,this.size=t.size}function ie(t){this._iter=t,this.size=t.size}function ae(t){this._iter=t,this.size=t.size}function se(t){this._iter=t,this.size=t.size}function ue(t){var e=Me(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=Te,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===wn){var r=t.__iterator(e,n);return new x(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===xn?_n:xn,n)},e}function le(t,e,n){var r=Me(t);return r.size=t.size,r.has=function(e){return t.has(e)},r.get=function(r,o){var i=t.get(r,vn);return i===vn?o:e.call(n,i,r,t)},r.__iterateUncached=function(r,o){var i=this;return t.__iterate(function(t,o,a){return!1!==r(e.call(n,t,o,a),o,i)},o)},r.__iteratorUncached=function(r,o){var i=t.__iterator(wn,o);return new x(function(){var o=i.next();if(o.done)return o;var a=o.value,s=a[0];return w(r,s,e.call(n,a[1],s,t),o)})},r}function ce(t,e){var n=Me(t);return n._iter=t,n.size=t.size,n.reverse=function(){return t},t.flip&&(n.flip=function(){var e=ue(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=Te,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 fe(t,e,n,r){var o=Me(t);return r&&(o.has=function(r){var o=t.get(r,vn);return o!==vn&&!!e.call(n,o,r,t)},o.get=function(r,o){var i=t.get(r,vn);return i!==vn&&e.call(n,i,r,t)?i:o}),o.__iterateUncached=function(o,i){var a=this,s=0;return t.__iterate(function(t,i,u){if(e.call(n,t,i,u))return s++,o(t,r?i:s-1,a)},i),s},o.__iteratorUncached=function(o,i){var a=t.__iterator(wn,i),s=0;return new x(function(){for(;;){var i=a.next();if(i.done)return i;var u=i.value,l=u[0],c=u[1];if(e.call(n,c,l,t))return w(o,r?l:s++,c,i)}})},o}function de(t,e,n){var r=dt().asMutable();return t.__iterate(function(o,i){r.update(e.call(n,o,i,t),0,function(t){return t+1})}),r.asImmutable()}function pe(t,e,n){var r=a(t),o=(l(t)?Jt():dt()).asMutable();t.__iterate(function(i,a){o.update(e.call(n,i,a,t),function(t){return t=t||[],t.push(r?[a,i]:i),t})});var i=Oe(t);return o.map(function(e){return Ee(t,i(e))})}function he(t,e,n,r){var o=t.size;if(void 0!==e&&(e|=0),void 0!==n&&(n===1/0?n=o:n|=0),v(e,n,o))return t;var i=b(e,o),a=y(n,o);if(i!==i||a!==a)return he(t.toSeq().cacheResult(),e,n,r);var s,u=a-i;u===u&&(s=u<0?0:u);var l=Me(t);return l.size=0===s?s:t.size&&s||void 0,!r&&N(t)&&s>=0&&(l.get=function(e,n){return e=g(this,e),e>=0&&es)return k();var t=o.next();return r||e===xn?t:e===_n?w(e,u-1,void 0,t):w(e,u-1,t.value[1],t)})},l}function ge(t,e,n){var r=Me(t);return r.__iterateUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterate(r,o);var a=0;return t.__iterate(function(t,o,s){return e.call(n,t,o,s)&&++a&&r(t,o,i)}),a},r.__iteratorUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterator(r,o);var a=t.__iterator(wn,o),s=!0;return new x(function(){if(!s)return k();var t=a.next();if(t.done)return t;var o=t.value,u=o[0],l=o[1];return e.call(n,l,u,i)?r===wn?t:w(r,u,l,t):(s=!1,k())})},r}function me(t,e,n,r){var o=Me(t);return o.__iterateUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterate(o,i);var s=!0,u=0;return t.__iterate(function(t,i,l){if(!s||!(s=e.call(n,t,i,l)))return u++,o(t,r?i:u-1,a)}),u},o.__iteratorUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterator(o,i);var s=t.__iterator(wn,i),u=!0,l=0;return new x(function(){var t,i,c;do{if(t=s.next(),t.done)return r||o===xn?t:o===_n?w(o,l++,void 0,t):w(o,l++,t.value[1],t);var f=t.value;i=f[0],c=f[1],u&&(u=e.call(n,c,i,a))}while(u);return o===wn?t:w(o,i,c,t)})},o}function ve(t,e){var r=a(t),o=[t].concat(e).map(function(t){return i(t)?r&&(t=n(t)):t=r?L(t):U(Array.isArray(t)?t:[t]),t}).filter(function(t){return 0!==t.size});if(0===o.length)return t;if(1===o.length){var u=o[0];if(u===t||r&&a(u)||s(t)&&s(u))return u}var l=new P(o);return r?l=l.toKeyedSeq():s(t)||(l=l.toSetSeq()),l=l.flatten(!0),l.size=o.reduce(function(t,e){if(void 0!==t){var n=e.size;if(void 0!==n)return t+n}},0),l}function be(t,e,n){var r=Me(t);return r.__iterateUncached=function(r,o){function a(t,l){var c=this;t.__iterate(function(t,o){return(!e||l0}function Se(t,n,r){var o=Me(t);return o.size=new P(r).map(function(t){return t.size}).min(),o.__iterate=function(t,e){for(var n,r=this.__iterator(xn,e),o=0;!(n=r.next()).done&&!1!==t(n.value,o++,this););return o},o.__iteratorUncached=function(t,o){var i=r.map(function(t){return t=e(t),C(o?t.reverse():t)}),a=0,s=!1;return new x(function(){var e;return s||(e=i.map(function(t){return t.next()}),s=e.some(function(t){return t.done})),s?k():w(t,a++,n.apply(null,e.map(function(t){return t.value})))})},o}function Ee(t,e){return N(t)?e:t.constructor(e)}function Ce(t){if(t!==Object(t))throw new TypeError("Expected [K, V] tuple: "+t)}function Ae(t){return ft(t.size),h(t)}function Oe(t){return a(t)?n:s(t)?r:o}function Me(t){return Object.create((a(t)?T:s(t)?D:F).prototype)}function Te(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):M.prototype.cacheResult.call(this)}function De(t,e){return t>e?1:te?-1:0}function an(t){if(t.size===1/0)return 0;var e=l(t),n=a(t),r=e?1:0;return sn(t.__iterate(n?e?function(t,e){r=31*r+un(at(t),at(e))|0}:function(t,e){r=r+un(at(t),at(e))|0}:e?function(t){r=31*r+at(t)|0}:function(t){r=r+at(t)|0}),r)}function sn(t,e){return e=Dn(e,3432918353),e=Dn(e<<15|e>>>-15,461845907),e=Dn(e<<13|e>>>-13,5),e=(e+3864292196|0)^t,e=Dn(e^e>>>16,2246822507),e=Dn(e^e>>>13,3266489909),e=it(e^e>>>16)}function un(t,e){return t^e+2654435769+(t<<6)+(t>>2)|0}var ln=Array.prototype.slice;t(n,e),t(r,e),t(o,e),e.isIterable=i,e.isKeyed=a,e.isIndexed=s,e.isAssociative=u,e.isOrdered=l,e.Keyed=n,e.Indexed=r,e.Set=o;var cn="@@__IMMUTABLE_ITERABLE__@@",fn="@@__IMMUTABLE_KEYED__@@",dn="@@__IMMUTABLE_INDEXED__@@",pn="@@__IMMUTABLE_ORDERED__@@",hn=5,gn=1<r?k():w(t,o,n[e?r-o++:o++])})},t(R,T),R.prototype.get=function(t,e){return void 0===e||this.has(t)?this._object[t]:e},R.prototype.has=function(t){return this._object.hasOwnProperty(t)},R.prototype.__iterate=function(t,e){for(var n=this._object,r=this._keys,o=r.length-1,i=0;i<=o;i++){var a=r[e?o-i:i];if(!1===t(n[a],a,this))return i+1}return i},R.prototype.__iterator=function(t,e){var n=this._object,r=this._keys,o=r.length-1,i=0;return new x(function(){var a=r[e?o-i:i];return i++>o?k():w(t,a,n[a])})},R.prototype[pn]=!0,t(I,D),I.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);var n=this._iterable,r=C(n),o=0;if(E(r))for(var i;!(i=r.next()).done&&!1!==t(i.value,o++,this););return o},I.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=this._iterable,r=C(n);if(!E(r))return new x(k);var o=0;return new x(function(){var e=r.next();return e.done?e:w(t,o++,e.value)})},t(j,D),j.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);for(var n=this._iterator,r=this._iteratorCache,o=0;o=r.length){var e=n.next();if(e.done)return e;r[o]=e.value}return w(t,o,r[o++])})};var An;t(Z,D),Z.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},Z.prototype.get=function(t,e){return this.has(t)?this._value:e},Z.prototype.includes=function(t){return Q(this._value,t)},Z.prototype.slice=function(t,e){var n=this.size;return v(t,e,n)?this:new Z(this._value,y(e,n)-b(t,n))},Z.prototype.reverse=function(){return this},Z.prototype.indexOf=function(t){return Q(this._value,t)?0:-1},Z.prototype.lastIndexOf=function(t){return Q(this._value,t)?this.size:-1},Z.prototype.__iterate=function(t,e){for(var n=0;n=0&&e=0&&nn?k():w(t,i++,a)})},tt.prototype.equals=function(t){return t instanceof tt?this._start===t._start&&this._end===t._end&&this._step===t._step:X(this,t)};var Mn;t(et,e),t(nt,et),t(rt,et),t(ot,et),et.Keyed=nt,et.Indexed=rt,et.Set=ot;var Tn,Dn="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(t,e){t|=0,e|=0;var n=65535&t,r=65535&e;return n*r+((t>>>16)*r+n*(e>>>16)<<16>>>0)|0},Fn=Object.isExtensible,Pn=function(){try{return Object.defineProperty({},"@",{}),!0}catch(t){return!1}}(),Rn="function"==typeof WeakMap;Rn&&(Tn=new WeakMap);var In=0,jn="__immutablehash__";"function"==typeof Symbol&&(jn=Symbol(jn));var Nn=16,zn=255,Ln=0,Un={};t(dt,nt),dt.of=function(){var t=ln.call(arguments,0);return kt().withMutations(function(e){for(var n=0;n=t.length)throw new Error("Missing value for key: "+t[n]);e.set(t[n],t[n+1])}})},dt.prototype.toString=function(){return this.__toString("Map {","}")},dt.prototype.get=function(t,e){return this._root?this._root.get(0,void 0,t,e):e},dt.prototype.set=function(t,e){return St(this,t,e)},dt.prototype.setIn=function(t,e){return this.updateIn(t,vn,function(){return e})},dt.prototype.remove=function(t){return St(this,t,vn)},dt.prototype.deleteIn=function(t){return this.updateIn(t,function(){return vn})},dt.prototype.update=function(t,e,n){return 1===arguments.length?t(this):this.updateIn([t],e,n)},dt.prototype.updateIn=function(t,e,n){n||(n=e,e=void 0);var r=It(this,Fe(t),e,n);return r===vn?void 0:r},dt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):kt()},dt.prototype.merge=function(){return Dt(this,void 0,arguments)},dt.prototype.mergeWith=function(t){return Dt(this,t,ln.call(arguments,1))},dt.prototype.mergeIn=function(t){var e=ln.call(arguments,1);return this.updateIn(t,kt(),function(t){return"function"==typeof t.merge?t.merge.apply(t,e):e[e.length-1]})},dt.prototype.mergeDeep=function(){return Dt(this,Ft,arguments)},dt.prototype.mergeDeepWith=function(t){var e=ln.call(arguments,1);return Dt(this,Pt(t),e)},dt.prototype.mergeDeepIn=function(t){var e=ln.call(arguments,1);return this.updateIn(t,kt(),function(t){return"function"==typeof t.mergeDeep?t.mergeDeep.apply(t,e):e[e.length-1]})},dt.prototype.sort=function(t){return Jt(xe(this,t))},dt.prototype.sortBy=function(t,e){return Jt(xe(this,e,t))},dt.prototype.withMutations=function(t){var e=this.asMutable();return t(e),e.wasAltered()?e.__ensureOwner(this.__ownerID):this},dt.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new d)},dt.prototype.asImmutable=function(){return this.__ensureOwner()},dt.prototype.wasAltered=function(){return this.__altered},dt.prototype.__iterator=function(t,e){return new yt(this,t,e)},dt.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},dt.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?wt(this.size,this._root,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},dt.isMap=pt;var qn="@@__IMMUTABLE_MAP__@@",Bn=dt.prototype;Bn[qn]=!0,Bn.delete=Bn.remove,Bn.removeIn=Bn.deleteIn,ht.prototype.get=function(t,e,n,r){for(var o=this.entries,i=0,a=o.length;i=Gn)return Ot(t,u,r,o);var h=t&&t===this.ownerID,g=h?u:p(u);return d?s?l===c-1?g.pop():g[l]=g.pop():g[l]=[r,o]:g.push([r,o]),h?(this.entries=g,this):new ht(t,g)}},gt.prototype.get=function(t,e,n,r){void 0===e&&(e=at(n));var o=1<<((0===t?e:e>>>t)&mn),i=this.bitmap;return 0==(i&o)?r:this.nodes[jt(i&o-1)].get(t+hn,e,n,r)},gt.prototype.update=function(t,e,n,r,o,i,a){void 0===n&&(n=at(r));var s=(0===e?n:n>>>e)&mn,u=1<=Vn)return Tt(t,d,l,s,h);if(c&&!h&&2===d.length&&Ct(d[1^f]))return d[1^f];if(c&&h&&1===d.length&&Ct(h))return h;var g=t&&t===this.ownerID,m=c?h?l:l^u:l|u,v=c?h?Nt(d,f,h,g):Lt(d,f,g):zt(d,f,h,g);return g?(this.bitmap=m,this.nodes=v,this):new gt(t,m,v)},mt.prototype.get=function(t,e,n,r){void 0===e&&(e=at(n));var o=(0===t?e:e>>>t)&mn,i=this.nodes[o];return i?i.get(t+hn,e,n,r):r},mt.prototype.update=function(t,e,n,r,o,i,a){void 0===n&&(n=at(r));var s=(0===e?n:n>>>e)&mn,u=o===vn,l=this.nodes,c=l[s];if(u&&!c)return this;var f=Et(c,t,e+hn,n,r,o,i,a);if(f===c)return this;var d=this.count;if(c){if(!f&&--d=0&&t>>e&mn;if(r>=this.array.length)return new Bt([],t);var o,i=0===r;if(e>0){var a=this.array[r];if((o=a&&a.removeBefore(t,e-hn,n))===a&&i)return this}if(i&&!o)return this;var s=Kt(this,t);if(!i)for(var u=0;u>>e&mn;if(r>=this.array.length)return this;var o;if(e>0){var i=this.array[r];if((o=i&&i.removeAfter(t,e-hn,n))===i&&r===this.array.length-1)return this}var a=Kt(this,t);return a.array.splice(r+1),o&&(a.array[r]=o),a};var Qn,Xn={};t(Jt,dt),Jt.of=function(){return this(arguments)},Jt.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Jt.prototype.get=function(t,e){var n=this._map.get(t);return void 0!==n?this._list.get(n)[1]:e},Jt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):ne()},Jt.prototype.set=function(t,e){return re(this,t,e)},Jt.prototype.remove=function(t){return re(this,t,vn)},Jt.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Jt.prototype.__iterate=function(t,e){var n=this;return this._list.__iterate(function(e){return e&&t(e[1],e[0],n)},e)},Jt.prototype.__iterator=function(t,e){return this._list.fromEntrySeq().__iterator(t,e)},Jt.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t),n=this._list.__ensureOwner(t);return t?ee(e,n,t,this.__hash):(this.__ownerID=t,this._map=e,this._list=n,this)},Jt.isOrderedMap=te,Jt.prototype[pn]=!0,Jt.prototype.delete=Jt.prototype.remove;var $n;t(oe,T),oe.prototype.get=function(t,e){return this._iter.get(t,e)},oe.prototype.has=function(t){return this._iter.has(t)},oe.prototype.valueSeq=function(){return this._iter.valueSeq()},oe.prototype.reverse=function(){var t=this,e=ce(this,!0);return this._useKeys||(e.valueSeq=function(){return t._iter.toSeq().reverse()}),e},oe.prototype.map=function(t,e){var n=this,r=le(this,t,e);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(t,e)}),r},oe.prototype.__iterate=function(t,e){var n,r=this;return this._iter.__iterate(this._useKeys?function(e,n){return t(e,n,r)}:(n=e?Ae(this):0,function(o){return t(o,e?--n:n++,r)}),e)},oe.prototype.__iterator=function(t,e){if(this._useKeys)return this._iter.__iterator(t,e);var n=this._iter.__iterator(xn,e),r=e?Ae(this):0;return new x(function(){var o=n.next();return o.done?o:w(t,e?--r:r++,o.value,o)})},oe.prototype[pn]=!0,t(ie,D),ie.prototype.includes=function(t){return this._iter.includes(t)},ie.prototype.__iterate=function(t,e){var n=this,r=0;return this._iter.__iterate(function(e){return t(e,r++,n)},e)},ie.prototype.__iterator=function(t,e){var n=this._iter.__iterator(xn,e),r=0;return new x(function(){var e=n.next();return e.done?e:w(t,r++,e.value,e)})},t(ae,F),ae.prototype.has=function(t){return this._iter.includes(t)},ae.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate(function(e){return t(e,e,n)},e)},ae.prototype.__iterator=function(t,e){var n=this._iter.__iterator(xn,e);return new x(function(){var e=n.next();return e.done?e:w(t,e.value,e.value,e)})},t(se,T),se.prototype.entrySeq=function(){return this._iter.toSeq()},se.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate(function(e){if(e){Ce(e);var r=i(e);return t(r?e.get(1):e[1],r?e.get(0):e[0],n)}},e)},se.prototype.__iterator=function(t,e){var n=this._iter.__iterator(xn,e);return new x(function(){for(;;){var e=n.next();if(e.done)return e;var r=e.value;if(r){Ce(r);var o=i(r);return w(t,o?r.get(0):r[0],o?r.get(1):r[1],e)}}})},ie.prototype.cacheResult=oe.prototype.cacheResult=ae.prototype.cacheResult=se.prototype.cacheResult=Te,t(Pe,nt),Pe.prototype.toString=function(){return this.__toString(Ie(this)+" {","}")},Pe.prototype.has=function(t){return this._defaultValues.hasOwnProperty(t)},Pe.prototype.get=function(t,e){if(!this.has(t))return e;var n=this._defaultValues[t];return this._map?this._map.get(t,n):n},Pe.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var t=this.constructor;return t._empty||(t._empty=Re(this,kt()))},Pe.prototype.set=function(t,e){if(!this.has(t))throw new Error('Cannot set unknown key "'+t+'" on '+Ie(this));if(this._map&&!this._map.has(t)){if(e===this._defaultValues[t])return this}var n=this._map&&this._map.set(t,e);return this.__ownerID||n===this._map?this:Re(this,n)},Pe.prototype.remove=function(t){if(!this.has(t))return this;var e=this._map&&this._map.remove(t);return this.__ownerID||e===this._map?this:Re(this,e)},Pe.prototype.wasAltered=function(){return this._map.wasAltered()},Pe.prototype.__iterator=function(t,e){var r=this;return n(this._defaultValues).map(function(t,e){return r.get(e)}).__iterator(t,e)},Pe.prototype.__iterate=function(t,e){var r=this;return n(this._defaultValues).map(function(t,e){return r.get(e)}).__iterate(t,e)},Pe.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map&&this._map.__ensureOwner(t);return t?Re(this,e,t):(this.__ownerID=t,this._map=e,this)};var Zn=Pe.prototype;Zn.delete=Zn.remove,Zn.deleteIn=Zn.removeIn=Bn.removeIn,Zn.merge=Bn.merge,Zn.mergeWith=Bn.mergeWith,Zn.mergeIn=Bn.mergeIn,Zn.mergeDeep=Bn.mergeDeep,Zn.mergeDeepWith=Bn.mergeDeepWith,Zn.mergeDeepIn=Bn.mergeDeepIn,Zn.setIn=Bn.setIn,Zn.update=Bn.update,Zn.updateIn=Bn.updateIn,Zn.withMutations=Bn.withMutations,Zn.asMutable=Bn.asMutable,Zn.asImmutable=Bn.asImmutable,t(ze,ot),ze.of=function(){return this(arguments)},ze.fromKeys=function(t){return this(n(t).keySeq())},ze.prototype.toString=function(){return this.__toString("Set {","}")},ze.prototype.has=function(t){return this._map.has(t)},ze.prototype.add=function(t){return Ue(this,this._map.set(t,!0))},ze.prototype.remove=function(t){return Ue(this,this._map.remove(t))},ze.prototype.clear=function(){return Ue(this,this._map.clear())},ze.prototype.union=function(){var t=ln.call(arguments,0);return t=t.filter(function(t){return 0!==t.size}),0===t.length?this:0!==this.size||this.__ownerID||1!==t.length?this.withMutations(function(e){for(var n=0;n=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):Qe(t,e)},Ye.prototype.pushAll=function(t){if(t=r(t),0===t.size)return this;ft(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):Qe(e,n)},Ye.prototype.pop=function(){return this.slice(1)},Ye.prototype.unshift=function(){return this.push.apply(this,arguments)},Ye.prototype.unshiftAll=function(t){return this.pushAll(t)},Ye.prototype.shift=function(){return this.pop.apply(this,arguments)},Ye.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):Xe()},Ye.prototype.slice=function(t,e){if(v(t,e,this.size))return this;var n=b(t,this.size);if(y(e,this.size)!==this.size)return rt.prototype.slice.call(this,t,e);for(var r=this.size-n,o=this._head;n--;)o=o.next;return this.__ownerID?(this.size=r,this._head=o,this.__hash=void 0,this.__altered=!0,this):Qe(r,o)},Ye.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?Qe(this.size,this._head,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},Ye.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},Ye.prototype.__iterator=function(t,e){if(e)return this.reverse().__iterator(t);var n=0,r=this._head;return new x(function(){if(r){var e=r.value;return r=r.next,w(t,n++,e)}return k()})},Ye.isStack=Ke;var or="@@__IMMUTABLE_STACK__@@",ir=Ye.prototype;ir[or]=!0,ir.withMutations=Bn.withMutations,ir.asMutable=Bn.asMutable,ir.asImmutable=Bn.asImmutable,ir.wasAltered=Bn.wasAltered;var ar;e.Iterator=x,$e(e,{toArray:function(){ft(this.size);var t=new Array(this.size||0);return this.valueSeq().__iterate(function(e,n){t[n]=e}),t},toIndexedSeq:function(){return new ie(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 oe(this,!0)},toMap:function(){return dt(this.toKeyedSeq())},toObject:function(){ft(this.size);var t={};return this.__iterate(function(e,n){t[n]=e}),t},toOrderedMap:function(){return Jt(this.toKeyedSeq())},toOrderedSet:function(){return He(a(this)?this.valueSeq():this)},toSet:function(){return ze(a(this)?this.valueSeq():this)},toSetSeq:function(){return new ae(this)},toSeq:function(){return s(this)?this.toIndexedSeq():a(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Ye(a(this)?this.valueSeq():this)},toList:function(){return Ut(a(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 Ee(this,ve(this,ln.call(arguments,0)))},includes:function(t){return this.some(function(e){return Q(e,t)})},entries:function(){return this.__iterator(wn)},every:function(t,e){ft(this.size);var n=!0;return this.__iterate(function(r,o,i){if(!t.call(e,r,o,i))return n=!1,!1}),n},filter:function(t,e){return Ee(this,fe(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 ft(this.size),this.__iterate(e?t.bind(e):t)},join:function(t){ft(this.size),t=void 0!==t?""+t:",";var e="",n=!0;return this.__iterate(function(r){n?n=!1:e+=t,e+=null!==r&&void 0!==r?r.toString():""}),e},keys:function(){return this.__iterator(_n)},map:function(t,e){return Ee(this,le(this,t,e))},reduce:function(t,e,n){ft(this.size);var r,o;return arguments.length<2?o=!0:r=e,this.__iterate(function(e,i,a){o?(o=!1,r=e):r=t.call(n,r,e,i,a)}),r},reduceRight:function(t,e,n){var r=this.toKeyedSeq().reverse();return r.reduce.apply(r,arguments)},reverse:function(){return Ee(this,ce(this,!0))},slice:function(t,e){return Ee(this,he(this,t,e,!0))},some:function(t,e){return!this.every(tn(t),e)},sort:function(t){return Ee(this,xe(this,t))},values:function(){return this.__iterator(xn)},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 h(t?this.toSeq().filter(t,e):this)},countBy:function(t,e){return de(this,t,e)},equals:function(t){return X(this,t)},entrySeq:function(){var t=this;if(t._cache)return new P(t._cache);var e=t.toSeq().map(Je).toIndexedSeq();return e.fromEntrySeq=function(){return t.toSeq()},e},filterNot:function(t,e){return this.filter(tn(t),e)},findEntry:function(t,e,n){var r=n;return this.__iterate(function(n,o,i){if(t.call(e,n,o,i))return r=[o,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(m)},flatMap:function(t,e){return Ee(this,ye(this,t,e))},flatten:function(t){return Ee(this,be(this,t,!0))},fromEntrySeq:function(){return new se(this)},get:function(t,e){return this.find(function(e,n){return Q(n,t)},void 0,e)},getIn:function(t,e){for(var n,r=this,o=Fe(t);!(n=o.next()).done;){var i=n.value;if((r=r&&r.get?r.get(i,vn):vn)===vn)return e}return r},groupBy:function(t,e){return pe(this,t,e)},has:function(t){return this.get(t,vn)!==vn},hasIn:function(t){return this.getIn(t,vn)!==vn},isSubset:function(t){return t="function"==typeof t.includes?t:e(t),this.every(function(e){return t.includes(e)})},isSuperset:function(t){return t="function"==typeof t.isSubset?t:e(t),t.isSubset(this)},keyOf:function(t){return this.findKey(function(e){return Q(e,t)})},keySeq:function(){return this.toSeq().map(Ze).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},lastKeyOf:function(t){return this.toKeyedSeq().reverse().keyOf(t)},max:function(t){return we(this,t)},maxBy:function(t,e){return we(this,e,t)},min:function(t){return we(this,t?en(t):on)},minBy:function(t,e){return we(this,e?en(e):on,t)},rest:function(){return this.slice(1)},skip:function(t){return this.slice(Math.max(0,t))},skipLast:function(t){return Ee(this,this.toSeq().reverse().skip(t).reverse())},skipWhile:function(t,e){return Ee(this,me(this,t,e,!0))},skipUntil:function(t,e){return this.skipWhile(tn(t),e)},sortBy:function(t,e){return Ee(this,xe(this,e,t))},take:function(t){return this.slice(0,Math.max(0,t))},takeLast:function(t){return Ee(this,this.toSeq().reverse().take(t).reverse())},takeWhile:function(t,e){return Ee(this,ge(this,t,e))},takeUntil:function(t,e){return this.takeWhile(tn(t),e)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=an(this))}});var sr=e.prototype;sr[cn]=!0,sr[En]=sr.values,sr.__toJS=sr.toArray,sr.__toStringMapper=nn,sr.inspect=sr.toSource=function(){return this.toString()},sr.chain=sr.flatMap,sr.contains=sr.includes,$e(n,{flip:function(){return Ee(this,ue(this))},mapEntries:function(t,e){var n=this,r=0;return Ee(this,this.toSeq().map(function(o,i){return t.call(e,[i,o],r++,n)}).fromEntrySeq())},mapKeys:function(t,e){var n=this;return Ee(this,this.toSeq().flip().map(function(r,o){return t.call(e,r,o,n)}).flip())}});var ur=n.prototype;return ur[fn]=!0,ur[En]=sr.entries,ur.__toJS=sr.toObject,ur.__toStringMapper=function(t,e){return JSON.stringify(e)+": "+nn(t)},$e(r,{toKeyedSeq:function(){return new oe(this,!1)},filter:function(t,e){return Ee(this,fe(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 Ee(this,ce(this,!1))},slice:function(t,e){return Ee(this,he(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=b(t,t<0?this.count():this.size);var r=this.slice(0,t);return Ee(this,1===n?r:r.concat(p(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 Ee(this,be(this,t,!1))},get:function(t,e){return t=g(this,t),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=g(this,t))>=0&&(void 0!==this.size?this.size===1/0||t-1}function p(t,e,n){for(var r=-1,o=null==t?0:t.length;++r-1;);return n}function z(t,e){for(var n=t.length;n--&&k(e,t[n],0)>-1;);return n}function L(t,e){for(var n=t.length,r=0;n--;)t[n]===e&&++r;return r}function U(t){return"\\"+On[t]}function q(t,e){return null==t?ot:t[e]}function B(t){return yn.test(t)}function H(t){return _n.test(t)}function G(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}function V(t){var e=-1,n=Array(t.size);return t.forEach(function(t,r){n[++e]=[r,t]}),n}function W(t,e){return function(n){return t(e(n))}}function Y(t,e){for(var n=-1,r=t.length,o=0,i=[];++n>>1,Lt=[["ary",kt],["bind",mt],["bindKey",vt],["curry",yt],["curryRight",_t],["flip",Et],["partial",xt],["partialRight",wt],["rearg",St]],Ut="[object Arguments]",qt="[object Array]",Bt="[object AsyncFunction]",Ht="[object Boolean]",Gt="[object Date]",Vt="[object DOMException]",Wt="[object Error]",Yt="[object Function]",Kt="[object GeneratorFunction]",Qt="[object Map]",Xt="[object Number]",$t="[object Null]",Zt="[object Object]",Jt="[object Proxy]",te="[object RegExp]",ee="[object Set]",ne="[object String]",re="[object Symbol]",oe="[object Undefined]",ie="[object WeakMap]",ae="[object WeakSet]",se="[object ArrayBuffer]",ue="[object DataView]",le="[object Float32Array]",ce="[object Float64Array]",fe="[object Int8Array]",de="[object Int16Array]",pe="[object Int32Array]",he="[object Uint8Array]",ge="[object Uint8ClampedArray]",me="[object Uint16Array]",ve="[object Uint32Array]",be=/\b__p \+= '';/g,ye=/\b(__p \+=) '' \+/g,_e=/(__e\(.*?\)|\b__t\)) \+\n'';/g,xe=/&(?:amp|lt|gt|quot|#39);/g,we=/[&<>"']/g,ke=RegExp(xe.source),Se=RegExp(we.source),Ee=/<%-([\s\S]+?)%>/g,Ce=/<%([\s\S]+?)%>/g,Ae=/<%=([\s\S]+?)%>/g,Oe=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Me=/^\w*$/,Te=/^\./,De=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Fe=/[\\^$.*+?()[\]{}|]/g,Pe=RegExp(Fe.source),Re=/^\s+|\s+$/g,Ie=/^\s+/,je=/\s+$/,Ne=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ze=/\{\n\/\* \[wrapped with (.+)\] \*/,Le=/,? & /,Ue=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,qe=/\\(\\)?/g,Be=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,He=/\w*$/,Ge=/^[-+]0x[0-9a-f]+$/i,Ve=/^0b[01]+$/i,We=/^\[object .+?Constructor\]$/,Ye=/^0o[0-7]+$/i,Ke=/^(?:0|[1-9]\d*)$/,Qe=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Xe=/($^)/,$e=/['\n\r\u2028\u2029\\]/g,Ze="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Je="\\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",tn="["+Je+"]",en="["+Ze+"]",nn="[a-z\\xdf-\\xf6\\xf8-\\xff]",rn="[^\\ud800-\\udfff"+Je+"\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",on="\\ud83c[\\udffb-\\udfff]",an="(?:\\ud83c[\\udde6-\\uddff]){2}",sn="[\\ud800-\\udbff][\\udc00-\\udfff]",un="[A-Z\\xc0-\\xd6\\xd8-\\xde]",ln="(?:"+nn+"|"+rn+")",cn="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",fn="(?:\\u200d(?:"+["[^\\ud800-\\udfff]",an,sn].join("|")+")[\\ufe0e\\ufe0f]?"+cn+")*",dn="[\\ufe0e\\ufe0f]?"+cn+fn,pn="(?:"+["[\\u2700-\\u27bf]",an,sn].join("|")+")"+dn,hn="(?:"+["[^\\ud800-\\udfff]"+en+"?",en,an,sn,"[\\ud800-\\udfff]"].join("|")+")",gn=RegExp("['’]","g"),mn=RegExp(en,"g"),vn=RegExp(on+"(?="+on+")|"+hn+dn,"g"),bn=RegExp([un+"?"+nn+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[tn,un,"$"].join("|")+")","(?:[A-Z\\xc0-\\xd6\\xd8-\\xde]|[^\\ud800-\\udfff\\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\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[tn,un+ln,"$"].join("|")+")",un+"?"+ln+"+(?:['’](?:d|ll|m|re|s|t|ve))?",un+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:(?:1ST|2ND|3RD|(?![123])\\dTH)\\b)","\\d*(?:(?:1st|2nd|3rd|(?![123])\\dth)\\b)","\\d+",pn].join("|"),"g"),yn=RegExp("[\\u200d\\ud800-\\udfff"+Ze+"\\ufe0e\\ufe0f]"),_n=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,xn=["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"],wn=-1,kn={};kn[le]=kn[ce]=kn[fe]=kn[de]=kn[pe]=kn[he]=kn[ge]=kn[me]=kn[ve]=!0,kn[Ut]=kn[qt]=kn[se]=kn[Ht]=kn[ue]=kn[Gt]=kn[Wt]=kn[Yt]=kn[Qt]=kn[Xt]=kn[Zt]=kn[te]=kn[ee]=kn[ne]=kn[ie]=!1;var Sn={};Sn[Ut]=Sn[qt]=Sn[se]=Sn[ue]=Sn[Ht]=Sn[Gt]=Sn[le]=Sn[ce]=Sn[fe]=Sn[de]=Sn[pe]=Sn[Qt]=Sn[Xt]=Sn[Zt]=Sn[te]=Sn[ee]=Sn[ne]=Sn[re]=Sn[he]=Sn[ge]=Sn[me]=Sn[ve]=!0,Sn[Wt]=Sn[Yt]=Sn[ie]=!1;var En={"À":"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"},Cn={"&":"&","<":"<",">":">",'"':""","'":"'"},An={"&":"&","<":"<",">":">",""":'"',"'":"'"},On={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Mn=parseFloat,Tn=parseInt,Dn="object"==typeof t&&t&&t.Object===Object&&t,Fn="object"==typeof self&&self&&self.Object===Object&&self,Pn=Dn||Fn||Function("return this")(),Rn="object"==typeof exports&&exports&&!exports.nodeType&&exports,In=Rn&&"object"==typeof n&&n&&!n.nodeType&&n,jn=In&&In.exports===Rn,Nn=jn&&Dn.process,zn=function(){try{return Nn&&Nn.binding&&Nn.binding("util")}catch(t){}}(),Ln=zn&&zn.isArrayBuffer,Un=zn&&zn.isDate,qn=zn&&zn.isMap,Bn=zn&&zn.isRegExp,Hn=zn&&zn.isSet,Gn=zn&&zn.isTypedArray,Vn=A("length"),Wn=O(En),Yn=O(Cn),Kn=O(An),Qn=function t(e){function n(t){if(au(t)&&!bd(t)&&!(t instanceof O)){if(t instanceof y)return t;if(vc.call(t,"__wrapped__"))return ra(t)}return new y(t)}function r(){}function y(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=ot}function O(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=jt,this.__views__=[]}function X(){var t=new O(this.__wrapped__);return t.__actions__=Lo(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Lo(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Lo(this.__views__),t}function et(){if(this.__filtered__){var t=new O(this);t.__dir__=-1,t.__filtered__=!0}else t=this.clone(),t.__dir__*=-1;return t}function nt(){var t=this.__wrapped__.value(),e=this.__dir__,n=bd(t),r=e<0,o=n?t.length:0,i=Oi(0,o,this.__views__),a=i.start,s=i.end,u=s-a,l=r?s:a-1,c=this.__iteratees__,f=c.length,d=0,p=Yc(u,this.__takeCount__);if(!n||!r&&o==u&&p==u)return _o(t,this.__actions__);var h=[];t:for(;u--&&d-1}function ln(t,e){var n=this.__data__,r=$n(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}function cn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e=e?t:e)),t}function or(t,e,n,r,o,i){var a,s=e&ft,l=e&dt,c=e&pt;if(n&&(a=o?n(t,r,o,i):n(t)),a!==ot)return a;if(!iu(t))return t;var f=bd(t);if(f){if(a=Di(t),!s)return Lo(t,a)}else{var d=Of(t),p=d==Yt||d==Kt;if(_d(t))return Ao(t,s);if(d==Zt||d==Ut||p&&!o){if(a=l||p?{}:Fi(t),!s)return l?Bo(t,tr(a,t)):qo(t,Jn(a,t))}else{if(!Sn[d])return o?t:{};a=Pi(t,d,or,s)}}i||(i=new En);var h=i.get(t);if(h)return h;i.set(t,a);var g=c?l?_i:yi:l?Bu:qu,m=f?ot:g(t);return u(m||t,function(r,o){m&&(o=r,r=t[o]),Xn(a,o,or(r,e,n,o,t,i))}),a}function ir(t){var e=qu(t);return function(n){return ar(n,t,e)}}function ar(t,e,n){var r=n.length;if(null==t)return!r;for(t=uc(t);r--;){var o=n[r],i=e[o],a=t[o];if(a===ot&&!(o in t)||!i(a))return!1}return!0}function sr(t,e,n){if("function"!=typeof t)throw new fc(st);return Df(function(){t.apply(ot,n)},e)}function ur(t,e,n,r){var o=-1,i=d,a=!0,s=t.length,u=[],l=e.length;if(!s)return u;n&&(e=h(e,R(n))),r?(i=p,a=!1):e.length>=it&&(i=j,a=!1,e=new bn(e));t:for(;++oo?0:o+n),r=r===ot||r>o?o:ku(r),r<0&&(r+=o),r=n>r?0:Su(r);n0&&n(s)?e>1?pr(s,e-1,n,r,o):g(o,s):r||(o[o.length]=s)}return o}function hr(t,e){return t&&bf(t,e,qu)}function gr(t,e){return t&&yf(t,e,qu)}function mr(t,e){return f(e,function(e){return nu(t[e])})}function vr(t,e){e=Eo(e,t);for(var n=0,r=e.length;null!=t&&ne}function xr(t,e){return null!=t&&vc.call(t,e)}function wr(t,e){return null!=t&&e in uc(t)}function kr(t,e,n){return t>=Yc(e,n)&&t=120&&c.length>=120)?new bn(a&&c):ot}c=t[0];var f=-1,g=s[0];t:for(;++f-1;)s!==t&&Dc.call(s,u,1),Dc.call(t,u,1);return t}function Jr(t,e){for(var n=t?e.length:0,r=n-1;n--;){var o=e[n];if(n==r||o!==i){var i=o;ji(o)?Dc.call(t,o,1):vo(t,o)}}return t}function to(t,e){return t+Uc(Xc()*(e-t+1))}function eo(t,e,n,r){for(var o=-1,i=Wc(Lc((e-t)/(n||1)),0),a=rc(i);i--;)a[r?i:++o]=t,t+=n;return a}function no(t,e){var n="";if(!t||e<1||e>Pt)return n;do{e%2&&(n+=t),(e=Uc(e/2))&&(t+=t)}while(e);return n}function ro(t,e){return Ff(Ki(t,e,Dl),t+"")}function oo(t){return In(tl(t))}function io(t,e){var n=tl(t);return Ji(n,rr(e,0,n.length))}function ao(t,e,n,r){if(!iu(t))return t;e=Eo(e,t);for(var o=-1,i=e.length,a=i-1,s=t;null!=s&&++oo?0:o+e),n=n>o?o:n,n<0&&(n+=o),o=e>n?0:n-e>>>0,e>>>=0;for(var i=rc(o);++r>>1,a=t[i];null!==a&&!vu(a)&&(n?a<=e:a=it){var l=e?null:Sf(t);if(l)return K(l);a=!1,o=j,u=new bn}else u=e?[]:s;t:for(;++r=r?t:uo(t,e,n)}function Ao(t,e){if(e)return t.slice();var n=t.length,r=Ac?Ac(n):new t.constructor(n);return t.copy(r),r}function Oo(t){var e=new t.constructor(t.byteLength);return new Cc(e).set(new Cc(t)),e}function Mo(t,e){var n=e?Oo(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}function To(t,e,n){return m(e?n(V(t),ft):V(t),o,new t.constructor)}function Do(t){var e=new t.constructor(t.source,He.exec(t));return e.lastIndex=t.lastIndex,e}function Fo(t,e,n){return m(e?n(K(t),ft):K(t),i,new t.constructor)}function Po(t){return pf?uc(pf.call(t)):{}}function Ro(t,e){var n=e?Oo(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function Io(t,e){if(t!==e){var n=t!==ot,r=null===t,o=t===t,i=vu(t),a=e!==ot,s=null===e,u=e===e,l=vu(e);if(!s&&!l&&!i&&t>e||i&&a&&u&&!s&&!l||r&&a&&u||!n&&u||!o)return 1;if(!r&&!i&&!l&&t=s)return u;return u*("desc"==n[r]?-1:1)}}return t.index-e.index}function No(t,e,n,r){for(var o=-1,i=t.length,a=n.length,s=-1,u=e.length,l=Wc(i-a,0),c=rc(u+l),f=!r;++s1?n[o-1]:ot,a=o>2?n[2]:ot;for(i=t.length>3&&"function"==typeof i?(o--,i):ot,a&&Ni(n[0],n[1],a)&&(i=o<3?ot:i,o=1),e=uc(e);++r-1?o[i?e[a]:a]:ot}}function Jo(t){return bi(function(e){var n=e.length,r=n,o=y.prototype.thru;for(t&&e.reverse();r--;){var i=e[r];if("function"!=typeof i)throw new fc(st);if(o&&!a&&"wrapper"==xi(i))var a=new y([],!0)}for(r=a?r:n;++r1&&b.reverse(),f&&us))return!1;var l=i.get(t);if(l&&i.get(e))return l==e;var c=-1,f=!0,d=n>?new bn:ot;for(i.set(t,e),i.set(e,t);++c1?"& ":"")+e[r],e=e.join(n>2?", ":" "),t.replace(Ne,"{\n/* [wrapped with "+e+"] */\n")}function Ii(t){return bd(t)||vd(t)||!!(Fc&&t&&t[Fc])}function ji(t,e){return!!(e=null==e?Pt:e)&&("number"==typeof t||Ke.test(t))&&t>-1&&t%1==0&&t0){if(++e>=Ot)return arguments[0]}else e=0;return t.apply(ot,arguments)}}function Ji(t,e){var n=-1,r=t.length,o=r-1;for(e=e===ot?r:e;++n=this.__values__.length;return{done:t,value:t?ot:this.__values__[this.__index__++]}}function rs(){return this}function os(t){for(var e,n=this;n instanceof r;){var o=ra(n);o.__index__=0,o.__values__=ot,e?i.__wrapped__=o:e=o;var i=o;n=n.__wrapped__}return i.__wrapped__=t,e}function is(){var t=this.__wrapped__;if(t instanceof O){var e=t;return this.__actions__.length&&(e=new O(this)),e=e.reverse(),e.__actions__.push({func:Ja,args:[Ma],thisArg:ot}),new y(e,this.__chain__)}return this.thru(Ma)}function as(){return _o(this.__wrapped__,this.__actions__)}function ss(t,e,n){var r=bd(t)?c:lr;return n&&Ni(t,e,n)&&(e=ot),r(t,ki(e,3))}function us(t,e){return(bd(t)?f:dr)(t,ki(e,3))}function ls(t,e){return pr(gs(t,e),1)}function cs(t,e){return pr(gs(t,e),Ft)}function fs(t,e,n){return n=n===ot?1:ku(n),pr(gs(t,e),n)}function ds(t,e){return(bd(t)?u:mf)(t,ki(e,3))}function ps(t,e){return(bd(t)?l:vf)(t,ki(e,3))}function hs(t,e,n,r){t=Ys(t)?t:tl(t),n=n&&!r?ku(n):0;var o=t.length;return n<0&&(n=Wc(o+n,0)),mu(t)?n<=o&&t.indexOf(e,n)>-1:!!o&&k(t,e,n)>-1}function gs(t,e){return(bd(t)?h:Br)(t,ki(e,3))}function ms(t,e,n,r){return null==t?[]:(bd(e)||(e=null==e?[]:[e]),n=r?ot:n,bd(n)||(n=null==n?[]:[n]),Kr(t,e,n))}function vs(t,e,n){var r=bd(t)?m:M,o=arguments.length<3;return r(t,ki(e,4),n,o,mf)}function bs(t,e,n){var r=bd(t)?v:M,o=arguments.length<3;return r(t,ki(e,4),n,o,vf)}function ys(t,e){return(bd(t)?f:dr)(t,Ps(ki(e,3)))}function _s(t){return(bd(t)?In:oo)(t)}function xs(t,e,n){return e=(n?Ni(t,e,n):e===ot)?1:ku(e),(bd(t)?Nn:io)(t,e)}function ws(t){return(bd(t)?zn:so)(t)}function ks(t){if(null==t)return 0;if(Ys(t))return mu(t)?J(t):t.length;var e=Of(t);return e==Qt||e==ee?t.size:Lr(t).length}function Ss(t,e,n){var r=bd(t)?b:lo;return n&&Ni(t,e,n)&&(e=ot),r(t,ki(e,3))}function Es(t,e){if("function"!=typeof e)throw new fc(st);return t=ku(t),function(){if(--t<1)return e.apply(this,arguments)}}function Cs(t,e,n){return e=n?ot:e,e=t&&null==e?t.length:e,fi(t,kt,ot,ot,ot,ot,e)}function As(t,e){var n;if("function"!=typeof e)throw new fc(st);return t=ku(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=ot),n}}function Os(t,e,n){e=n?ot:e;var r=fi(t,yt,ot,ot,ot,ot,ot,e);return r.placeholder=Os.placeholder,r}function Ms(t,e,n){e=n?ot:e;var r=fi(t,_t,ot,ot,ot,ot,ot,e);return r.placeholder=Ms.placeholder,r}function Ts(t,e,n){function r(e){var n=d,r=p;return d=p=ot,b=e,g=t.apply(r,n)}function o(t){return b=t,m=Df(s,e),y?r(t):g}function i(t){var n=t-v,r=t-b,o=e-n;return _?Yc(o,h-r):o}function a(t){var n=t-v,r=t-b;return v===ot||n>=e||n<0||_&&r>=h}function s(){var t=ad();if(a(t))return u(t);m=Df(s,i(t))}function u(t){return m=ot,x&&d?r(t):(d=p=ot,g)}function l(){m!==ot&&kf(m),b=0,d=v=p=m=ot}function c(){return m===ot?g:u(ad())}function f(){var t=ad(),n=a(t);if(d=arguments,p=this,v=t,n){if(m===ot)return o(v);if(_)return m=Df(s,e),r(v)}return m===ot&&(m=Df(s,e)),g}var d,p,h,g,m,v,b=0,y=!1,_=!1,x=!0;if("function"!=typeof t)throw new fc(st);return e=Eu(e)||0,iu(n)&&(y=!!n.leading,_="maxWait"in n,h=_?Wc(Eu(n.maxWait)||0,e):h,x="trailing"in n?!!n.trailing:x),f.cancel=l,f.flush=c,f}function Ds(t){return fi(t,Et)}function Fs(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new fc(st);var n=function(){var r=arguments,o=e?e.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=t.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(Fs.Cache||cn),n}function Ps(t){if("function"!=typeof t)throw new fc(st);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)}}function Rs(t){return As(2,t)}function Is(t,e){if("function"!=typeof t)throw new fc(st);return e=e===ot?e:ku(e),ro(t,e)}function js(t,e){if("function"!=typeof t)throw new fc(st);return e=null==e?0:Wc(ku(e),0),ro(function(n){var r=n[e],o=Co(n,0,e);return r&&g(o,r),a(t,this,o)})}function Ns(t,e,n){var r=!0,o=!0;if("function"!=typeof t)throw new fc(st);return iu(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),Ts(t,e,{leading:r,maxWait:e,trailing:o})}function zs(t){return Cs(t,1)}function Ls(t,e){return dd(So(e),t)}function Us(){if(!arguments.length)return[];var t=arguments[0];return bd(t)?t:[t]}function qs(t){return or(t,pt)}function Bs(t,e){return e="function"==typeof e?e:ot,or(t,pt,e)}function Hs(t){return or(t,ft|pt)}function Gs(t,e){return e="function"==typeof e?e:ot,or(t,ft|pt,e)}function Vs(t,e){return null==e||ar(t,e,qu(e))}function Ws(t,e){return t===e||t!==t&&e!==e}function Ys(t){return null!=t&&ou(t.length)&&!nu(t)}function Ks(t){return au(t)&&Ys(t)}function Qs(t){return!0===t||!1===t||au(t)&&yr(t)==Ht}function Xs(t){return au(t)&&1===t.nodeType&&!hu(t)}function $s(t){if(null==t)return!0;if(Ys(t)&&(bd(t)||"string"==typeof t||"function"==typeof t.splice||_d(t)||Ed(t)||vd(t)))return!t.length;var e=Of(t);if(e==Qt||e==ee)return!t.size;if(Bi(t))return!Lr(t).length;for(var n in t)if(vc.call(t,n))return!1;return!0}function Zs(t,e){return Tr(t,e)}function Js(t,e,n){n="function"==typeof n?n:ot;var r=n?n(t,e):ot;return r===ot?Tr(t,e,ot,n):!!r}function tu(t){if(!au(t))return!1;var e=yr(t);return e==Wt||e==Vt||"string"==typeof t.message&&"string"==typeof t.name&&!hu(t)}function eu(t){return"number"==typeof t&&Hc(t)}function nu(t){if(!iu(t))return!1;var e=yr(t);return e==Yt||e==Kt||e==Bt||e==Jt}function ru(t){return"number"==typeof t&&t==ku(t)}function ou(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=Pt}function iu(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function au(t){return null!=t&&"object"==typeof t}function su(t,e){return t===e||Pr(t,e,Ei(e))}function uu(t,e,n){return n="function"==typeof n?n:ot,Pr(t,e,Ei(e),n)}function lu(t){return pu(t)&&t!=+t}function cu(t){if(Mf(t))throw new ic(at);return Rr(t)}function fu(t){return null===t}function du(t){return null==t}function pu(t){return"number"==typeof t||au(t)&&yr(t)==Xt}function hu(t){if(!au(t)||yr(t)!=Zt)return!1;var e=Oc(t);if(null===e)return!0;var n=vc.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&mc.call(n)==xc}function gu(t){return ru(t)&&t>=-Pt&&t<=Pt}function mu(t){return"string"==typeof t||!bd(t)&&au(t)&&yr(t)==ne}function vu(t){return"symbol"==typeof t||au(t)&&yr(t)==re}function bu(t){return t===ot}function yu(t){return au(t)&&Of(t)==ie}function _u(t){return au(t)&&yr(t)==ae}function xu(t){if(!t)return[];if(Ys(t))return mu(t)?tt(t):Lo(t);if(Pc&&t[Pc])return G(t[Pc]());var e=Of(t);return(e==Qt?V:e==ee?K:tl)(t)}function wu(t){if(!t)return 0===t?t:0;if((t=Eu(t))===Ft||t===-Ft){return(t<0?-1:1)*Rt}return t===t?t:0}function ku(t){var e=wu(t),n=e%1;return e===e?n?e-n:e:0}function Su(t){return t?rr(ku(t),0,jt):0}function Eu(t){if("number"==typeof t)return t;if(vu(t))return It;if(iu(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=iu(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(Re,"");var n=Ve.test(t);return n||Ye.test(t)?Tn(t.slice(2),n?2:8):Ge.test(t)?It:+t}function Cu(t){return Uo(t,Bu(t))}function Au(t){return t?rr(ku(t),-Pt,Pt):0===t?t:0}function Ou(t){return null==t?"":go(t)}function Mu(t,e){var n=gf(t);return null==e?n:Jn(n,e)}function Tu(t,e){return x(t,ki(e,3),hr)}function Du(t,e){return x(t,ki(e,3),gr)}function Fu(t,e){return null==t?t:bf(t,ki(e,3),Bu)}function Pu(t,e){return null==t?t:yf(t,ki(e,3),Bu)}function Ru(t,e){return t&&hr(t,ki(e,3))}function Iu(t,e){return t&&gr(t,ki(e,3))}function ju(t){return null==t?[]:mr(t,qu(t))}function Nu(t){return null==t?[]:mr(t,Bu(t))}function zu(t,e,n){var r=null==t?ot:vr(t,e);return r===ot?n:r}function Lu(t,e){return null!=t&&Ti(t,e,xr)}function Uu(t,e){return null!=t&&Ti(t,e,wr)}function qu(t){return Ys(t)?Rn(t):Lr(t)}function Bu(t){return Ys(t)?Rn(t,!0):Ur(t)}function Hu(t,e){var n={};return e=ki(e,3),hr(t,function(t,r,o){er(n,e(t,r,o),t)}),n}function Gu(t,e){var n={};return e=ki(e,3),hr(t,function(t,r,o){er(n,r,e(t,r,o))}),n}function Vu(t,e){return Wu(t,Ps(ki(e)))}function Wu(t,e){if(null==t)return{};var n=h(_i(t),function(t){return[t]});return e=ki(e),Xr(t,n,function(t,n){return e(t,n[0])})}function Yu(t,e,n){e=Eo(e,t);var r=-1,o=e.length;for(o||(o=1,t=ot);++re){var r=t;t=e,e=r}if(n||t%1||e%1){var o=Xc();return Yc(t+o*(e-t+Mn("1e-"+((o+"").length-1))),e)}return to(t,e)}function il(t){return $d(Ou(t).toLowerCase())}function al(t){return(t=Ou(t))&&t.replace(Qe,Wn).replace(mn,"")}function sl(t,e,n){t=Ou(t),e=go(e);var r=t.length;n=n===ot?r:rr(ku(n),0,r);var o=n;return(n-=e.length)>=0&&t.slice(n,o)==e}function ul(t){return t=Ou(t),t&&Se.test(t)?t.replace(we,Yn):t}function ll(t){return t=Ou(t),t&&Pe.test(t)?t.replace(Fe,"\\$&"):t}function cl(t,e,n){t=Ou(t),e=ku(e);var r=e?J(t):0;if(!e||r>=e)return t;var o=(e-r)/2;return oi(Uc(o),n)+t+oi(Lc(o),n)}function fl(t,e,n){t=Ou(t),e=ku(e);var r=e?J(t):0;return e&&r>>0)?(t=Ou(t),t&&("string"==typeof e||null!=e&&!kd(e))&&!(e=go(e))&&B(t)?Co(tt(t),0,n):t.split(e,n)):[]}function vl(t,e,n){return t=Ou(t),n=null==n?0:rr(ku(n),0,t.length),e=go(e),t.slice(n,n+e.length)==e}function bl(t,e,r){var o=n.templateSettings;r&&Ni(t,e,r)&&(e=ot),t=Ou(t),e=Td({},e,o,di);var i,a,s=Td({},e.imports,o.imports,di),u=qu(s),l=I(s,u),c=0,f=e.interpolate||Xe,d="__p += '",p=lc((e.escape||Xe).source+"|"+f.source+"|"+(f===Ae?Be:Xe).source+"|"+(e.evaluate||Xe).source+"|$","g"),h="//# sourceURL="+("sourceURL"in e?e.sourceURL:"lodash.templateSources["+ ++wn+"]")+"\n";t.replace(p,function(e,n,r,o,s,u){return r||(r=o),d+=t.slice(c,u).replace($e,U),n&&(i=!0,d+="' +\n__e("+n+") +\n'"),s&&(a=!0,d+="';\n"+s+";\n__p += '"),r&&(d+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),c=u+e.length,e}),d+="';\n";var g=e.variable;g||(d="with (obj) {\n"+d+"\n}\n"),d=(a?d.replace(be,""):d).replace(ye,"$1").replace(_e,"$1;"),d="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+d+"return __p\n}";var m=Zd(function(){return ac(u,h+"return "+d).apply(ot,l)});if(m.source=d,tu(m))throw m;return m}function yl(t){return Ou(t).toLowerCase()}function _l(t){return Ou(t).toUpperCase()}function xl(t,e,n){if((t=Ou(t))&&(n||e===ot))return t.replace(Re,"");if(!t||!(e=go(e)))return t;var r=tt(t),o=tt(e);return Co(r,N(r,o),z(r,o)+1).join("")}function wl(t,e,n){if((t=Ou(t))&&(n||e===ot))return t.replace(je,"");if(!t||!(e=go(e)))return t;var r=tt(t);return Co(r,0,z(r,tt(e))+1).join("")}function kl(t,e,n){if((t=Ou(t))&&(n||e===ot))return t.replace(Ie,"");if(!t||!(e=go(e)))return t;var r=tt(t);return Co(r,N(r,tt(e))).join("")}function Sl(t,e){var n=Ct,r=At;if(iu(e)){var o="separator"in e?e.separator:o;n="length"in e?ku(e.length):n,r="omission"in e?go(e.omission):r}t=Ou(t);var i=t.length;if(B(t)){var a=tt(t);i=a.length}if(n>=i)return t;var s=n-J(r);if(s<1)return r;var u=a?Co(a,0,s).join(""):t.slice(0,s);if(o===ot)return u+r;if(a&&(s+=u.length-s),kd(o)){if(t.slice(s).search(o)){var l,c=u;for(o.global||(o=lc(o.source,Ou(He.exec(o))+"g")),o.lastIndex=0;l=o.exec(c);)var f=l.index;u=u.slice(0,f===ot?s:f)}}else if(t.indexOf(go(o),s)!=s){var d=u.lastIndexOf(o);d>-1&&(u=u.slice(0,d))}return u+r}function El(t){return t=Ou(t),t&&ke.test(t)?t.replace(xe,Kn):t}function Cl(t,e,n){return t=Ou(t),e=n?ot:e,e===ot?H(t)?rt(t):_(t):t.match(e)||[]}function Al(t){var e=null==t?0:t.length,n=ki();return t=e?h(t,function(t){if("function"!=typeof t[1])throw new fc(st);return[n(t[0]),t[1]]}):[],ro(function(n){for(var r=-1;++rPt)return[];var n=jt,r=Yc(t,jt);e=ki(e),t-=jt;for(var o=F(r,e);++n1?t[e-1]:ot;return n="function"==typeof n?(t.pop(),n):ot,Ka(t,n)}),$f=bi(function(t){var e=t.length,n=e?t[0]:0,r=this.__wrapped__,o=function(e){return nr(e,t)};return!(e>1||this.__actions__.length)&&r instanceof O&&ji(n)?(r=r.slice(n,+n+(e?1:0)),r.__actions__.push({func:Ja,args:[o],thisArg:ot}),new y(r,this.__chain__).thru(function(t){return e&&!t.length&&t.push(ot),t})):this.thru(o)}),Zf=Ho(function(t,e,n){vc.call(t,n)?++t[n]:er(t,n,1)}),Jf=Zo(da),td=Zo(pa),ed=Ho(function(t,e,n){vc.call(t,n)?t[n].push(e):er(t,n,[e])}),nd=ro(function(t,e,n){var r=-1,o="function"==typeof e,i=Ys(t)?rc(t.length):[];return mf(t,function(t){i[++r]=o?a(e,t,n):Cr(t,e,n)}),i}),rd=Ho(function(t,e,n){er(t,n,e)}),od=Ho(function(t,e,n){t[n?0:1].push(e)},function(){return[[],[]]}),id=ro(function(t,e){if(null==t)return[];var n=e.length;return n>1&&Ni(t,e[0],e[1])?e=[]:n>2&&Ni(e[0],e[1],e[2])&&(e=[e[0]]),Kr(t,pr(e,1),[])}),ad=Nc||function(){return Pn.Date.now()},sd=ro(function(t,e,n){var r=mt;if(n.length){var o=Y(n,wi(sd));r|=xt}return fi(t,r,e,n,o)}),ud=ro(function(t,e,n){var r=mt|vt;if(n.length){var o=Y(n,wi(ud));r|=xt}return fi(e,r,t,n,o)}),ld=ro(function(t,e){return sr(t,1,e)}),cd=ro(function(t,e,n){return sr(t,Eu(e)||0,n)});Fs.Cache=cn;var fd=wf(function(t,e){e=1==e.length&&bd(e[0])?h(e[0],R(ki())):h(pr(e,1),R(ki()));var n=e.length;return ro(function(r){for(var o=-1,i=Yc(r.length,n);++o=e}),vd=Ar(function(){return arguments}())?Ar:function(t){return au(t)&&vc.call(t,"callee")&&!Tc.call(t,"callee")},bd=rc.isArray,yd=Ln?R(Ln):Or,_d=Bc||Bl,xd=Un?R(Un):Mr,wd=qn?R(qn):Fr,kd=Bn?R(Bn):Ir,Sd=Hn?R(Hn):jr,Ed=Gn?R(Gn):Nr,Cd=si(qr),Ad=si(function(t,e){return t<=e}),Od=Go(function(t,e){if(Bi(e)||Ys(e))return void Uo(e,qu(e),t);for(var n in e)vc.call(e,n)&&Xn(t,n,e[n])}),Md=Go(function(t,e){Uo(e,Bu(e),t)}),Td=Go(function(t,e,n,r){Uo(e,Bu(e),t,r)}),Dd=Go(function(t,e,n,r){Uo(e,qu(e),t,r)}),Fd=bi(nr),Pd=ro(function(t){return t.push(ot,di),a(Td,ot,t)}),Rd=ro(function(t){return t.push(ot,pi),a(Ld,ot,t)}),Id=ei(function(t,e,n){t[e]=n},Ml(Dl)),jd=ei(function(t,e,n){vc.call(t,e)?t[e].push(n):t[e]=[n]},ki),Nd=ro(Cr),zd=Go(function(t,e,n){Vr(t,e,n)}),Ld=Go(function(t,e,n,r){Vr(t,e,n,r)}),Ud=bi(function(t,e){var n={};if(null==t)return n;var r=!1;e=h(e,function(e){return e=Eo(e,t),r||(r=e.length>1),e}),Uo(t,_i(t),n),r&&(n=or(n,ft|dt|pt,hi));for(var o=e.length;o--;)vo(n,e[o]);return n}),qd=bi(function(t,e){return null==t?{}:Qr(t,e)}),Bd=ci(qu),Hd=ci(Bu),Gd=Qo(function(t,e,n){return e=e.toLowerCase(),t+(n?il(e):e)}),Vd=Qo(function(t,e,n){return t+(n?"-":"")+e.toLowerCase()}),Wd=Qo(function(t,e,n){return t+(n?" ":"")+e.toLowerCase()}),Yd=Ko("toLowerCase"),Kd=Qo(function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}),Qd=Qo(function(t,e,n){return t+(n?" ":"")+$d(e)}),Xd=Qo(function(t,e,n){return t+(n?" ":"")+e.toUpperCase()}),$d=Ko("toUpperCase"),Zd=ro(function(t,e){try{return a(t,ot,e)}catch(t){return tu(t)?t:new ic(t)}}),Jd=bi(function(t,e){return u(e,function(e){e=ta(e),er(t,e,sd(t[e],t))}),t}),tp=Jo(),ep=Jo(!0),np=ro(function(t,e){return function(n){return Cr(n,t,e)}}),rp=ro(function(t,e){return function(n){return Cr(t,n,e)}}),op=ri(h),ip=ri(c),ap=ri(b),sp=ai(),up=ai(!0),lp=ni(function(t,e){return t+e},0),cp=li("ceil"),fp=ni(function(t,e){return t/e},1),dp=li("floor"),pp=ni(function(t,e){return t*e},1),hp=li("round"),gp=ni(function(t,e){return t-e},0);return n.after=Es,n.ary=Cs,n.assign=Od,n.assignIn=Md,n.assignInWith=Td,n.assignWith=Dd,n.at=Fd,n.before=As,n.bind=sd,n.bindAll=Jd,n.bindKey=ud,n.castArray=Us,n.chain=$a,n.chunk=oa,n.compact=ia,n.concat=aa,n.cond=Al,n.conforms=Ol,n.constant=Ml,n.countBy=Zf,n.create=Mu,n.curry=Os,n.curryRight=Ms,n.debounce=Ts,n.defaults=Pd,n.defaultsDeep=Rd,n.defer=ld,n.delay=cd,n.difference=Rf,n.differenceBy=If,n.differenceWith=jf,n.drop=sa,n.dropRight=ua,n.dropRightWhile=la,n.dropWhile=ca,n.fill=fa,n.filter=us,n.flatMap=ls,n.flatMapDeep=cs,n.flatMapDepth=fs,n.flatten=ha,n.flattenDeep=ga,n.flattenDepth=ma,n.flip=Ds,n.flow=tp,n.flowRight=ep,n.fromPairs=va,n.functions=ju,n.functionsIn=Nu,n.groupBy=ed,n.initial=_a,n.intersection=Nf,n.intersectionBy=zf,n.intersectionWith=Lf,n.invert=Id,n.invertBy=jd,n.invokeMap=nd,n.iteratee=Fl,n.keyBy=rd,n.keys=qu,n.keysIn=Bu,n.map=gs,n.mapKeys=Hu,n.mapValues=Gu,n.matches=Pl,n.matchesProperty=Rl,n.memoize=Fs,n.merge=zd,n.mergeWith=Ld,n.method=np,n.methodOf=rp,n.mixin=Il,n.negate=Ps,n.nthArg=zl,n.omit=Ud,n.omitBy=Vu,n.once=Rs,n.orderBy=ms,n.over=op,n.overArgs=fd,n.overEvery=ip,n.overSome=ap,n.partial=dd,n.partialRight=pd,n.partition=od,n.pick=qd,n.pickBy=Wu,n.property=Ll,n.propertyOf=Ul,n.pull=Uf,n.pullAll=Ea,n.pullAllBy=Ca,n.pullAllWith=Aa,n.pullAt=qf,n.range=sp,n.rangeRight=up,n.rearg=hd,n.reject=ys,n.remove=Oa,n.rest=Is,n.reverse=Ma,n.sampleSize=xs,n.set=Ku,n.setWith=Qu,n.shuffle=ws,n.slice=Ta,n.sortBy=id,n.sortedUniq=Na,n.sortedUniqBy=za,n.split=ml,n.spread=js,n.tail=La,n.take=Ua,n.takeRight=qa,n.takeRightWhile=Ba,n.takeWhile=Ha,n.tap=Za,n.throttle=Ns,n.thru=Ja,n.toArray=xu,n.toPairs=Bd,n.toPairsIn=Hd,n.toPath=Yl,n.toPlainObject=Cu,n.transform=Xu,n.unary=zs,n.union=Bf,n.unionBy=Hf,n.unionWith=Gf,n.uniq=Ga,n.uniqBy=Va,n.uniqWith=Wa,n.unset=$u,n.unzip=Ya,n.unzipWith=Ka,n.update=Zu,n.updateWith=Ju,n.values=tl,n.valuesIn=el,n.without=Vf,n.words=Cl,n.wrap=Ls,n.xor=Wf,n.xorBy=Yf,n.xorWith=Kf,n.zip=Qf,n.zipObject=Qa,n.zipObjectDeep=Xa,n.zipWith=Xf,n.entries=Bd,n.entriesIn=Hd,n.extend=Md,n.extendWith=Td,Il(n,n),n.add=lp,n.attempt=Zd,n.camelCase=Gd,n.capitalize=il,n.ceil=cp,n.clamp=nl,n.clone=qs,n.cloneDeep=Hs,n.cloneDeepWith=Gs,n.cloneWith=Bs,n.conformsTo=Vs,n.deburr=al,n.defaultTo=Tl,n.divide=fp,n.endsWith=sl,n.eq=Ws,n.escape=ul,n.escapeRegExp=ll,n.every=ss,n.find=Jf,n.findIndex=da,n.findKey=Tu,n.findLast=td,n.findLastIndex=pa,n.findLastKey=Du,n.floor=dp,n.forEach=ds,n.forEachRight=ps,n.forIn=Fu,n.forInRight=Pu,n.forOwn=Ru,n.forOwnRight=Iu,n.get=zu,n.gt=gd,n.gte=md,n.has=Lu,n.hasIn=Uu,n.head=ba,n.identity=Dl,n.includes=hs,n.indexOf=ya,n.inRange=rl,n.invoke=Nd,n.isArguments=vd,n.isArray=bd,n.isArrayBuffer=yd,n.isArrayLike=Ys,n.isArrayLikeObject=Ks,n.isBoolean=Qs,n.isBuffer=_d,n.isDate=xd,n.isElement=Xs,n.isEmpty=$s,n.isEqual=Zs,n.isEqualWith=Js,n.isError=tu,n.isFinite=eu,n.isFunction=nu,n.isInteger=ru,n.isLength=ou,n.isMap=wd,n.isMatch=su,n.isMatchWith=uu,n.isNaN=lu,n.isNative=cu,n.isNil=du,n.isNull=fu,n.isNumber=pu,n.isObject=iu,n.isObjectLike=au,n.isPlainObject=hu,n.isRegExp=kd,n.isSafeInteger=gu,n.isSet=Sd,n.isString=mu,n.isSymbol=vu,n.isTypedArray=Ed,n.isUndefined=bu,n.isWeakMap=yu,n.isWeakSet=_u,n.join=xa,n.kebabCase=Vd,n.last=wa,n.lastIndexOf=ka,n.lowerCase=Wd,n.lowerFirst=Yd,n.lt=Cd,n.lte=Ad,n.max=Ql,n.maxBy=Xl,n.mean=$l,n.meanBy=Zl,n.min=Jl,n.minBy=tc,n.stubArray=ql,n.stubFalse=Bl,n.stubObject=Hl,n.stubString=Gl,n.stubTrue=Vl,n.multiply=pp,n.nth=Sa,n.noConflict=jl,n.noop=Nl,n.now=ad,n.pad=cl,n.padEnd=fl,n.padStart=dl,n.parseInt=pl,n.random=ol,n.reduce=vs,n.reduceRight=bs,n.repeat=hl,n.replace=gl,n.result=Yu,n.round=hp,n.runInContext=t,n.sample=_s,n.size=ks,n.snakeCase=Kd,n.some=Ss,n.sortedIndex=Da,n.sortedIndexBy=Fa,n.sortedIndexOf=Pa,n.sortedLastIndex=Ra,n.sortedLastIndexBy=Ia,n.sortedLastIndexOf=ja,n.startCase=Qd,n.startsWith=vl,n.subtract=gp,n.sum=ec,n.sumBy=nc,n.template=bl,n.times=Wl,n.toFinite=wu,n.toInteger=ku,n.toLength=Su,n.toLower=yl,n.toNumber=Eu,n.toSafeInteger=Au,n.toString=Ou,n.toUpper=_l,n.trim=xl,n.trimEnd=wl,n.trimStart=kl,n.truncate=Sl,n.unescape=El,n.uniqueId=Kl,n.upperCase=Xd,n.upperFirst=$d,n.each=ds,n.eachRight=ps,n.first=ba,Il(n,function(){var t={};return hr(n,function(e,r){vc.call(n.prototype,r)||(t[r]=e)}),t}(),{chain:!1}),n.VERSION="4.17.4",u(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){n[t].placeholder=n}),u(["drop","take"],function(t,e){O.prototype[t]=function(n){n=n===ot?1:Wc(ku(n),0);var r=this.__filtered__&&!e?new O(this):this.clone();return r.__filtered__?r.__takeCount__=Yc(n,r.__takeCount__):r.__views__.push({size:Yc(n,jt),type:t+(r.__dir__<0?"Right":"")}),r},O.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}}),u(["filter","map","takeWhile"],function(t,e){var n=e+1,r=n==Tt||3==n;O.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:ki(t,3),type:n}),e.__filtered__=e.__filtered__||r,e}}),u(["head","last"],function(t,e){var n="take"+(e?"Right":"");O.prototype[t]=function(){return this[n](1).value()[0]}}),u(["initial","tail"],function(t,e){var n="drop"+(e?"":"Right");O.prototype[t]=function(){return this.__filtered__?new O(this):this[n](1)}}),O.prototype.compact=function(){return this.filter(Dl)},O.prototype.find=function(t){return this.filter(t).head()},O.prototype.findLast=function(t){return this.reverse().find(t)},O.prototype.invokeMap=ro(function(t,e){return"function"==typeof t?new O(this):this.map(function(n){return Cr(n,t,e)})}),O.prototype.reject=function(t){return this.filter(Ps(ki(t)))},O.prototype.slice=function(t,e){t=ku(t);var n=this;return n.__filtered__&&(t>0||e<0)?new O(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==ot&&(e=ku(e),n=e<0?n.dropRight(-e):n.take(e-t)),n)},O.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},O.prototype.toArray=function(){return this.take(jt)},hr(O.prototype,function(t,e){var r=/^(?:filter|find|map|reject)|While$/.test(e),o=/^(?:head|last)$/.test(e),i=n[o?"take"+("last"==e?"Right":""):e],a=o||/^find/.test(e);i&&(n.prototype[e]=function(){var e=this.__wrapped__,s=o?[1]:arguments,u=e instanceof O,l=s[0],c=u||bd(e),f=function(t){var e=i.apply(n,g([t],s));return o&&d?e[0]:e};c&&r&&"function"==typeof l&&1!=l.length&&(u=c=!1);var d=this.__chain__,p=!!this.__actions__.length,h=a&&!d,m=u&&!p;if(!a&&c){e=m?e:new O(this);var v=t.apply(e,s);return v.__actions__.push({func:Ja,args:[f],thisArg:ot}),new y(v,d)}return h&&m?t.apply(this,s):(v=this.thru(f),h?o?v.value()[0]:v.value():v)})}),u(["pop","push","shift","sort","splice","unshift"],function(t){var e=dc[t],r=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",o=/^(?:pop|shift)$/.test(t);n.prototype[t]=function(){var t=arguments;if(o&&!this.__chain__){var n=this.value();return e.apply(bd(n)?n:[],t)}return this[r](function(n){return e.apply(bd(n)?n:[],t)})}}),hr(O.prototype,function(t,e){var r=n[e];if(r){var o=r.name+"";(af[o]||(af[o]=[])).push({name:e,func:r})}}),af[ti(ot,vt).name]=[{name:"wrapper",func:ot}],O.prototype.clone=X,O.prototype.reverse=et,O.prototype.value=nt,n.prototype.at=$f,n.prototype.chain=ts,n.prototype.commit=es,n.prototype.next=ns,n.prototype.plant=os,n.prototype.reverse=is,n.prototype.toJSON=n.prototype.valueOf=n.prototype.value=as,n.prototype.first=n.prototype.head,Pc&&(n.prototype[Pc]=rs),n}();Pn._=Qn,(r=function(){return Qn}.call(exports,e,exports,n))!==ot&&(n.exports=r)}).call(this)}).call(exports,e(30),e(70)(t))},function(t,exports,e){t.exports=e(11)(585)},function(t,exports,e){function n(t,e){return i(o(t,e,r),t+"")}var r=e(210),o=e(573),i=e(574);t.exports=n},,,,,function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var 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},o=e(78),i=n(o),a=e(263),s=e(88),u=n(s),l={};a.PluginStore.exports("routes").forEach(function(t){var e=new u.default(t.path),n=e.segment(),r=n.map(function(t){return t.replace(":","")}).join("_").toUpperCase(),o=n.filter(function(t){return t.startsWith(":")});if(o.length>0)return void(l[r]=function(){for(var t=arguments.length,r=Array(t),i=0;i0;){var e=t.shift();if("function"==typeof e){var n=t.shift(),r=t.shift();e.call(n,r)}else e._settlePromises()}},r.prototype._drainQueues=function(){this._drainQueue(this._normalQueue),this._reset(),this._haveDrainedQueues=!0,this._drainQueue(this._lateQueue)},r.prototype._queueTick=function(){this._isTickUsed||(this._isTickUsed=!0,this._schedule(this.drainQueues))},r.prototype._reset=function(){this._isTickUsed=!1},n.exports=r,n.exports.firstLineError=s},{"./queue":26,"./schedule":29,"./util":36}],3:[function(t,e,exports){"use strict";e.exports=function(t,e,n,r){var o=!1,i=function(t,e){this._reject(e)},a=function(t,e){e.promiseRejectionQueued=!0,e.bindingPromise._then(i,i,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(i){o||(o=!0,t.prototype._propagateFrom=r.propagateFromFunction(),t.prototype._boundValue=r.boundValueFunction());var l=n(i),c=new t(e);c._propagateFrom(this,1);var f=this._target();if(c._setBoundTo(l),l instanceof t){var d={promiseRejectionQueued:!1,promise:c,target:f,bindingPromise:l};f._then(e,a,void 0,c,d),l._then(s,u,void 0,c,d),c._setOnCancel(l)}else c._resolveCallback(f);return c},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";function n(){try{Promise===o&&(Promise=r)}catch(t){}return o}var r;"undefined"!=typeof Promise&&(r=Promise);var o=t("./promise")();o.noConflict=n,e.exports=o},{"./promise":22}],5:[function(t,e,exports){"use strict";var n=Object.create;if(n){var r=n(null),o=n(null);r[" size"]=o[" size"]=0}e.exports=function(e){function n(t,n){var r;if(null!=t&&(r=t[n]),"function"!=typeof r){var o="Object "+s.classString(t)+" has no method '"+s.toString(n)+"'";throw new e.TypeError(o)}return r}function r(t){return n(t,this.pop()).apply(t,this)}function o(t){return t[this]}function i(t){var e=+this;return e<0&&(e=Math.max(0,e+t.length)),t[e]}var a,s=t("./util"),u=s.canEvaluate;s.isIdentifier;e.prototype.call=function(t){var e=[].slice.call(arguments,1);return e.push(t),this._then(r,void 0,void 0,e,void 0)},e.prototype.get=function(t){var e,n="number"==typeof t;if(n)e=i;else if(u){var r=a(t);e=null!==r?r: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,o){var i=t("./util"),a=i.tryCatch,s=i.errorObj,u=e._async;e.prototype.break=e.prototype.cancel=function(){if(!o.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(i.isArray(t))for(var n=0;n=0)return i[t]}var o=!1,i=[];return t.prototype._promiseCreated=function(){},t.prototype._pushContext=function(){},t.prototype._popContext=function(){return null},t._peekContext=t.prototype._peekContext=function(){},e.prototype._pushContext=function(){void 0!==this._trace&&(this._trace._promiseCreated=null,i.push(this._trace))},e.prototype._popContext=function(){if(void 0!==this._trace){var t=i.pop(),e=t._promiseCreated;return t._promiseCreated=null,e}return null},e.CapturedTrace=null,e.create=n,e.deactivateLongStackTraces=function(){},e.activateLongStackTraces=function(){var n=t.prototype._pushContext,i=t.prototype._popContext,a=t._peekContext,s=t.prototype._peekContext,u=t.prototype._promiseCreated;e.deactivateLongStackTraces=function(){t.prototype._pushContext=n,t.prototype._popContext=i,t._peekContext=a,t.prototype._peekContext=s,t.prototype._promiseCreated=u,o=!1},o=!0,t.prototype._pushContext=e.prototype._pushContext,t.prototype._popContext=e.prototype._popContext,t._peekContext=t.prototype._peekContext=r,t.prototype._promiseCreated=function(){var t=this._peekContext();t&&null==t._promiseCreated&&(t._promiseCreated=this)}},e}},{}],9:[function(t,n,exports){"use strict";n.exports=function(n,r){function o(t,e){return{promise:e}}function i(){return!1}function a(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: "+L.toString(t));r._attachCancellationCallback(t)})}catch(t){return t}}function s(t){if(!this._isCancellable())return this;var e=this._onCancel();void 0!==e?L.isArray(e)?e.push(t):this._setOnCancel([e,t]):this._setOnCancel(t)}function u(){return this._onCancelField}function l(t){this._onCancelField=t}function c(){this._cancellationParent=void 0,this._onCancelField=void 0}function f(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)}function d(t,e){0!=(2&e)&&t._isBound()&&this._setBoundTo(t._boundTo)}function p(){var t=this._boundTo;return void 0!==t&&t instanceof n?t.isFulfilled()?t.value():void 0:t}function h(){this._trace=new F(this._peekContext())}function g(t,e){if(U(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=S(t);L.notEnumerableProp(t,"stack",r.message+"\n"+r.stack.join("\n")),L.notEnumerableProp(t,"__stackCleaned__",!0)}}}function m(t,e,n,r,o){if(void 0===t&&null!==e&&X){if(void 0!==o&&o._returnedNonUndefined())return;if(0==(65535&r._bitField))return;n&&(n+=" ");var i="",a="";if(e._trace){for(var s=e._trace.stack.split("\n"),u=w(s),l=u.length-1;l>=0;--l){var c=u[l];if(!B.test(c)){var f=c.match(H);f&&(i="at "+f[1]+":"+f[2]+":"+f[3]+" ");break}}if(u.length>0)for(var d=u[0],l=0;l0&&(a="\n"+s[l-1]);break}}var p="a promise was created in a "+n+"handler "+i+"but was not returned from it, see http://goo.gl/rRqMUw"+a;r._warn(p,!0,e)}}function v(t,e){var n=t+" is deprecated and will be removed in a future version.";return e&&(n+=" Use "+e+" instead."),b(n)}function b(t,e,r){if(st.warnings){var o,i=new z(t);if(e)r._attachExtraTrace(i);else if(st.longStackTraces&&(o=n._peekContext()))o.attachExtraTrace(i);else{var a=S(i);i.stack=a.message+"\n"+a.stack.join("\n")}nt("warning",i)||E(i,"",!0)}}function y(t,e){for(var n=0;n=0;--s)if(r[s]===i){a=s;break}for(var s=a;s>=0;--s){var u=r[s];if(e[o]!==u)break;e.pop(),o--}e=r}}function w(t){for(var e=[],n=0;n0&&"SyntaxError"!=t.name&&(e=e.slice(n)),e}function S(t){var e=t.stack,n=t.toString();return e="string"==typeof e&&e.length>0?k(t):["    (No stack trace)"],{message:n,stack:"SyntaxError"==t.name?e:w(e)}}function E(t,e,n){if("undefined"!=typeof console){var r;if(L.isObject(t)){var o=t.stack;r=e+V(o,t)}else r=e+String(t);"function"==typeof I?I(r,n):"function"!=typeof console.log&&"object"!=typeof console.log||console.log(r)}}function C(t,e,n,r){var o=!1;try{"function"==typeof e&&(o=!0,"rejectionHandled"===t?e(r):e(n,r))}catch(t){N.throwLater(t)}"unhandledRejection"===t?nt(t,n,r)||o||E(n,"Unhandled rejection "):nt(t,r)}function A(t){var e;if("function"==typeof t)e="[function "+(t.name||"anonymous")+"]";else{e=t&&"function"==typeof t.toString?t.toString():L.toString(t);if(/\[object [a-zA-Z0-9$_]+\]/.test(e))try{e=JSON.stringify(t)}catch(t){}0===e.length&&(e="(empty array)")}return"(<"+O(e)+">, no stack trace)"}function O(t){return t.length<41?t:t.substr(0,38)+"..."}function M(){return"function"==typeof at}function T(t){var e=t.match(it);if(e)return{fileName:e[1],line:parseInt(e[2],10)}}function D(t,e){if(M()){for(var n,r,o=t.stack.split("\n"),i=e.stack.split("\n"),a=-1,s=-1,u=0;u=s||(ot=function(t){if(q.test(t))return!0;var e=T(t);return!!(e&&e.fileName===n&&a<=e.line&&e.line<=s)})}}function F(t){this._parent=t,this._promisesCreated=0;var e=this._length=1+(void 0===t?0:t._length);at(this,F),e>32&&this.uncycle()}var P,R,I,j=n._getDomain,N=n._async,z=t("./errors").Warning,L=t("./util"),U=L.canAttachTrace,q=/[\\\/]bluebird[\\\/]js[\\\/](release|debug|instrumented)/,B=/\((?:timers\.js):\d+:\d+\)/,H=/[\/<\(](.+?):(\d+):(\d+)\)?\s*$/,G=null,V=null,W=!1,Y=!(0==L.env("BLUEBIRD_DEBUG")),K=!(0==L.env("BLUEBIRD_WARNINGS")||!Y&&!L.env("BLUEBIRD_WARNINGS")),Q=!(0==L.env("BLUEBIRD_LONG_STACK_TRACES")||!Y&&!L.env("BLUEBIRD_LONG_STACK_TRACES")),X=0!=L.env("BLUEBIRD_W_FORGOTTEN_RETURN")&&(K||!!L.env("BLUEBIRD_W_FORGOTTEN_RETURN"));n.prototype.suppressUnhandledRejections=function(){var t=this._target();t._bitField=-1048577&t._bitField|524288},n.prototype._ensurePossibleRejectionHandled=function(){if(0==(524288&this._bitField)){this._setRejectionIsUnhandled();var t=this;setTimeout(function(){t._notifyUnhandledRejection()},1)}},n.prototype._notifyUnhandledRejectionIsHandled=function(){C("rejectionHandled",P,void 0,this)},n.prototype._setReturnedNonUndefined=function(){this._bitField=268435456|this._bitField},n.prototype._returnedNonUndefined=function(){return 0!=(268435456&this._bitField)},n.prototype._notifyUnhandledRejection=function(){if(this._isRejectionUnhandled()){var t=this._settledValue();this._setUnhandledRejectionIsNotified(),C("unhandledRejection",R,t,this)}},n.prototype._setUnhandledRejectionIsNotified=function(){this._bitField=262144|this._bitField},n.prototype._unsetUnhandledRejectionIsNotified=function(){this._bitField=-262145&this._bitField},n.prototype._isUnhandledRejectionNotified=function(){return(262144&this._bitField)>0},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 b(t,e,n||this)},n.onPossiblyUnhandledRejection=function(t){var e=j();R="function"==typeof t?null===e?t:L.domainBind(e,t):void 0},n.onUnhandledRejectionHandled=function(t){var e=j();P="function"==typeof t?null===e?t:L.domainBind(e,t):void 0};var Z=function(){};n.longStackTraces=function(){if(N.haveItemsQueued()&&!st.longStackTraces)throw new Error("cannot enable long stack traces after promises have been created\n\n    See http://goo.gl/MqrFmX\n");if(!st.longStackTraces&&M()){var t=n.prototype._captureStackTrace,e=n.prototype._attachExtraTrace;st.longStackTraces=!0,Z=function(){if(N.haveItemsQueued()&&!st.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,r.deactivateLongStackTraces(),N.enableTrampoline(),st.longStackTraces=!1},n.prototype._captureStackTrace=h,n.prototype._attachExtraTrace=g,r.activateLongStackTraces(),N.disableTrampolineIfNecessary()}},n.hasLongStackTraces=function(){return st.longStackTraces&&M()};var J=function(){try{if("function"==typeof CustomEvent){var t=new CustomEvent("CustomEvent");return L.global.dispatchEvent(t),function(t,e){var n=new CustomEvent(t.toLowerCase(),{detail:e,cancelable:!0});return!L.global.dispatchEvent(n)}}if("function"==typeof Event){var t=new Event("CustomEvent");return L.global.dispatchEvent(t),function(t,e){var n=new Event(t.toLowerCase(),{cancelable:!0});return n.detail=e,!L.global.dispatchEvent(n)}}var t=document.createEvent("CustomEvent");return t.initCustomEvent("testingtheevent",!1,!0,{}),L.global.dispatchEvent(t),function(t,e){var n=document.createEvent("CustomEvent");return n.initCustomEvent(t.toLowerCase(),!1,!0,e),!L.global.dispatchEvent(n)}}catch(t){}return function(){return!1}}(),tt=function(){return L.isNode?function(){return e.emit.apply(e,arguments)}:L.global?function(t){var e="on"+t.toLowerCase(),n=L.global[e];return!!n&&(n.apply(L.global,[].slice.call(arguments,1)),!0)}:function(){return!1}}(),et={promiseCreated:o,promiseFulfilled:o,promiseRejected:o,promiseResolved:o,promiseCancelled:o,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:o},nt=function(t){var e=!1;try{e=tt.apply(null,arguments)}catch(t){N.throwLater(t),e=!0}var n=!1;try{n=J(t,et[t].apply(null,arguments))}catch(t){N.throwLater(t),n=!0}return n||e};n.config=function(t){if(t=Object(t),"longStackTraces"in t&&(t.longStackTraces?n.longStackTraces():!t.longStackTraces&&n.hasLongStackTraces()&&Z()),"warnings"in t){var e=t.warnings;st.warnings=!!e,X=st.warnings,L.isObject(e)&&"wForgottenReturn"in e&&(X=!!e.wForgottenReturn)}if("cancellation"in t&&t.cancellation&&!st.cancellation){if(N.haveItemsQueued())throw new Error("cannot enable cancellation after promises are in use");n.prototype._clearCancellationData=c,n.prototype._propagateFrom=f,n.prototype._onCancel=u,n.prototype._setOnCancel=l,n.prototype._attachCancellationCallback=s,n.prototype._execute=a,rt=f,st.cancellation=!0}return"monitoring"in t&&(t.monitoring&&!st.monitoring?(st.monitoring=!0,n.prototype._fireEvent=nt):!t.monitoring&&st.monitoring&&(st.monitoring=!1,n.prototype._fireEvent=i)),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._clearCancellationData=function(){},n.prototype._propagateFrom=function(t,e){};var rt=d,ot=function(){return!1},it=/[\/<\(]([^:\/]+):(\d+):(?:\d+)\)?\s*$/;L.inherits(F,Error),r.CapturedTrace=F,F.prototype.uncycle=function(){var t=this._length;if(!(t<2)){for(var e=[],n={},r=0,o=this;void 0!==o;++r)e.push(o),o=o._parent;t=this._length=r;for(var r=t-1;r>=0;--r){var i=e[r].stack;void 0===n[i]&&(n[i]=r)}for(var r=0;r0&&(e[s-1]._parent=void 0,e[s-1]._length=1),e[r]._parent=void 0,e[r]._length=1;var u=r>0?e[r-1]:this;s=0;--c)e[c]._length=l,l++;return}}}},F.prototype.attachExtraTrace=function(t){if(!t.__stackCleaned__){this.uncycle();for(var e=S(t),n=e.message,r=[e.stack],o=this;void 0!==o;)r.push(w(o.stack.split("\n"))),o=o._parent;x(r),_(r),L.notEnumerableProp(t,"stack",y(n,r)),L.notEnumerableProp(t,"__stackCleaned__",!0)}};var at=function(){var t=/^\s*at\s*/,e=function(t,e){return"string"==typeof t?t:void 0!==e.name&&void 0!==e.message?e.toString():A(e)};if("number"==typeof Error.stackTraceLimit&&"function"==typeof Error.captureStackTrace){Error.stackTraceLimit+=6,G=t,V=e;var n=Error.captureStackTrace;return ot=function(t){return q.test(t)},function(t,e){Error.stackTraceLimit+=6,n(t,e),Error.stackTraceLimit-=6}}var r=new Error;if("string"==typeof r.stack&&r.stack.split("\n")[0].indexOf("stackDetection@")>=0)return G=/@/,V=e,W=!0,function(t){t.stack=(new Error).stack};var o;try{throw new Error}catch(t){o="stack"in t}return"stack"in r||!o||"number"!=typeof Error.stackTraceLimit?(V=function(t,e){return"string"==typeof t?t:"object"!=typeof e&&"function"!=typeof e||void 0===e.name||void 0===e.message?A(e):e.toString()},null):(G=t,V=e,function(t){Error.stackTraceLimit+=6;try{throw new Error}catch(e){t.stack=e.stack}Error.stackTraceLimit-=6})}();"undefined"!=typeof console&&void 0!==console.warn&&(I=function(t){console.warn(t)},L.isNode&&e.stderr.isTTY?I=function(t,e){var n=e?"":"";console.warn(n+t+"\n")}:L.isNode||"string"!=typeof(new Error).stack||(I=function(t,e){console.warn("%c"+t,e?"color: darkorange":"color: red")}));var st={warnings:K,longStackTraces:!1,cancellation:!1,monitoring:!1};return Q&&n.longStackTraces(),{longStackTraces:function(){return st.longStackTraces},warnings:function(){return st.warnings},cancellation:function(){return st.cancellation},monitoring:function(){return st.monitoring},propagateFromFunction:function(){return rt},boundValueFunction:function(){return p},checkForgottenReturns:m,setBounds:D,warn:b,deprecated:v,CapturedTrace:F,fireDomEvent:J,fireGlobalEvent:tt}}},{"./errors":12,"./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 o=function(){return r};return this.caught(n,o)}}},{}],11:[function(t,e,exports){"use strict";e.exports=function(t,e){function n(){return i(this)}function r(t,n){return o(t,n,e,e)}var o=t.reduce,i=t.all;t.prototype.each=function(t){return o(this,t,e,0)._then(n,void 0,void 0,this,void 0)},t.prototype.mapSeries=function(t){return o(this,t,e,e)},t.each=function(t,r){return o(t,r,e,0)._then(n,void 0,void 0,t,void 0)},t.mapSeries=r}},{}],12:[function(t,e,exports){"use strict";function n(t,e){function n(r){if(!(this instanceof n))return new n(r);c(this,"message","string"==typeof r?r:e),c(this,"name",t),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):Error.call(this)}return l(n,Error),n}function r(t){if(!(this instanceof r))return new r(t);c(this,"name","OperationalError"),c(this,"message",t),this.cause=t,this.isOperational=!0,t instanceof Error?(c(this,"message",t.message),c(this,"stack",t.stack)):Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}var o,i,a=t("./es5"),s=a.freeze,u=t("./util"),l=u.inherits,c=u.notEnumerableProp,f=n("Warning","warning"),d=n("CancellationError","cancellation error"),p=n("TimeoutError","timeout error"),h=n("AggregateError","aggregate error");try{o=TypeError,i=RangeError}catch(t){o=n("TypeError","type error"),i=n("RangeError","range error")}for(var g="join pop push shift unshift slice filter forEach some every map indexOf lastIndexOf reduce reduceRight sort reverse".split(" "),m=0;m1?t.cancelPromise._reject(e):t.cancelPromise._cancel(),t.cancelPromise=null,!0)}function s(){return l.call(this,this.promise._target()._settledValue())}function u(t){if(!a(this,t))return d.e=t,d}function l(t){var o=this.promise,l=this.handler;if(!this.called){this.called=!0;var c=this.isFinallyHandler()?l.call(o._boundValue()):l.call(o._boundValue(),t);if(c===r)return c;if(void 0!==c){o._setReturnedNonUndefined();var p=n(c,o);if(p instanceof e){if(null!=this.cancelPromise){if(p._isCancelled()){var h=new f("late cancellation observer");return o._attachExtraTrace(h),d.e=h,d}p.isPending()&&p._attachCancellationCallback(new i(this))}return p._then(s,u,void 0,this,void 0)}}}return o.isRejected()?(a(this),d.e=t,d):(a(this),t)}var c=t("./util"),f=e.CancellationError,d=c.errorObj,p=t("./catch_filter")(r);return o.prototype.isFinallyHandler=function(){return 0===this.type},i.prototype._resultCancelled=function(){a(this.finallyHandler)},e.prototype._passThrough=function(t,e,n,r){return"function"!=typeof t?this.then():this._then(n,r,void 0,new o(this,e,t),void 0)},e.prototype.lastly=e.prototype.finally=function(t){return this._passThrough(t,0,l,l)},e.prototype.tap=function(t){return this._passThrough(t,1,l)},e.prototype.tapCatch=function(t){var n=arguments.length;if(1===n)return this._passThrough(t,1,void 0,l);var r,o=new Array(n-1),i=0;for(r=0;r0&&"function"==typeof arguments[e]){t=arguments[e];var r}var o=[].slice.call(arguments);t&&o.pop();var r=new n(o).promise();return void 0!==t?r.spread(t):r}}},{"./util":36}],18:[function(t,e,exports){"use strict";e.exports=function(e,n,r,o,i,a){function s(t,e,n,r){this.constructor$(t),this._promise._captureStackTrace();var o=l();this._callback=null===o?e:c.domainBind(o,e),this._preservedValues=r===i?new Array(this.length()):null,this._limit=n,this._inFlight=0,this._queue=[],p.invoke(this._asyncInit,this,void 0)}function u(t,n,o,i){if("function"!=typeof n)return r("expecting a function but got "+c.classString(n));var a=0;if(void 0!==o){if("object"!=typeof o||null===o)return e.reject(new TypeError("options argument must be an object but it is "+c.classString(o)));if("number"!=typeof o.concurrency)return e.reject(new TypeError("'concurrency' must be a number but it is "+c.classString(o.concurrency)));a=o.concurrency}return a="number"==typeof a&&isFinite(a)&&a>=1?a:0,new s(t,n,a,i).promise()}var l=e._getDomain,c=t("./util"),f=c.tryCatch,d=c.errorObj,p=e._async;c.inherits(s,n),s.prototype._asyncInit=function(){this._init$(void 0,-2)},s.prototype._init=function(){},s.prototype._promiseFulfilled=function(t,n){var r=this._values,i=this.length(),s=this._preservedValues,u=this._limit;if(n<0){if(n=-1*n-1,r[n]=t,u>=1&&(this._inFlight--,this._drainQueue(),this._isResolved()))return!0}else{if(u>=1&&this._inFlight>=u)return r[n]=t,this._queue.push(n),!1;null!==s&&(s[n]=t);var l=this._promise,c=this._callback,p=l._boundValue();l._pushContext();var h=f(c).call(p,t,n,i),g=l._popContext();if(a.checkForgottenReturns(h,g,null!==s?"Promise.filter":"Promise.map",l),h===d)return this._reject(h.e),!0;var m=o(h,this._promise);if(m instanceof e){m=m._target();var v=m._bitField;if(0==(50397184&v))return u>=1&&this._inFlight++,r[n]=m,m._proxy(this,-1*(n+1)),!1;if(0==(33554432&v))return 0!=(16777216&v)?(this._reject(m._reason()),!0):(this._cancel(),!0);h=m._value()}r[n]=h}return++this._totalResolved>=i&&(null!==s?this._filter(r,s):this._resolve(r),!0)},s.prototype._drainQueue=function(){for(var t=this._queue,e=this._limit,n=this._values;t.length>0&&this._inFlight1){i.deprecated("calling Promise.try with more than 1 argument");var l=arguments[1],c=arguments[2];u=a.isArray(l)?s(t).apply(c,l):s(t).call(c,l)}else u=s(t)();var f=r._popContext();return i.checkForgottenReturns(u,f,"Promise.try",r),r._resolveFromSyncValue(u),r},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";function n(t){return t instanceof Error&&l.getPrototypeOf(t)===Error.prototype}function r(t){var e;if(n(t)){e=new u(t),e.name=t.name,e.message=t.message,e.stack=t.stack;for(var r=l.keys(t),o=0;o1){var n,r=new Array(e-1),o=0;for(n=0;n0&&"function"!=typeof t&&"function"!=typeof e){var n=".then() only accepts functions but was passed: "+h.classString(t);arguments.length>1&&(n+=", "+h.classString(e)),this._warn(n)}return this._then(t,e,void 0,void 0,void 0)},i.prototype.done=function(t,e){this._then(t,e,void 0,void 0,void 0)._setIsFinal()},i.prototype.spread=function(t){return"function"!=typeof t?d("expecting a function but got "+h.classString(t)):this.all()._then(t,void 0,void 0,w,void 0)},i.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},i.prototype.all=function(){return arguments.length>0&&this._warn(".all() was passed arguments but it does not take any"),new E(this).promise()},i.prototype.error=function(t){return this.caught(h.originatesFromRejection,t)},i.getNewLibraryCopy=n.exports,i.is=function(t){return t instanceof i},i.fromNode=i.fromCallback=function(t){var e=new i(x);e._captureStackTrace();var n=arguments.length>1&&!!Object(arguments[1]).multiArgs,r=P(t)(D(e,n));return r===F&&e._rejectCallback(r.e,!0),e._isFateSealed()||e._setAsyncGuaranteed(),e},i.all=function(t){return new E(t).promise()},i.cast=function(t){var e=S(t);return e instanceof i||(e=new i(x),e._captureStackTrace(),e._setFulfilled(),e._rejectionHandler0=t),e},i.resolve=i.fulfilled=i.cast,i.reject=i.rejected=function(t){var e=new i(x);return e._captureStackTrace(),e._rejectCallback(t,!0),e},i.setScheduler=function(t){if("function"!=typeof t)throw new y("expecting a function but got "+h.classString(t));return v.setScheduler(t)},i.prototype._then=function(t,e,n,r,o){var a=void 0!==o,s=a?o:new i(x),u=this._target(),c=u._bitField;a||(s._propagateFrom(this,3),s._captureStackTrace(),void 0===r&&0!=(2097152&this._bitField)&&(r=0!=(50397184&c)?this._boundValue():u===this?void 0:this._boundTo),this._fireEvent("promiseChained",this,s));var f=l();if(0!=(50397184&c)){var d,p,g=u._settlePromiseCtx;0!=(33554432&c)?(p=u._rejectionHandler0,d=t):0!=(16777216&c)?(p=u._fulfillmentHandler0,d=e,u._unsetRejectionIsUnhandled()):(g=u._settlePromiseLateCancellationObserver,p=new _("late cancellation observer"),u._attachExtraTrace(p),d=e),v.invoke(g,u,{handler:null===f?d:"function"==typeof d&&h.domainBind(f,d),promise:s,receiver:r,value:p})}else u._addCallbacks(t,e,s,r,f);return s},i.prototype._length=function(){return 65535&this._bitField},i.prototype._isFateSealed=function(){return 0!=(117506048&this._bitField)},i.prototype._isFollowing=function(){return 67108864==(67108864&this._bitField)},i.prototype._setLength=function(t){this._bitField=-65536&this._bitField|65535&t},i.prototype._setFulfilled=function(){this._bitField=33554432|this._bitField,this._fireEvent("promiseFulfilled",this)},i.prototype._setRejected=function(){this._bitField=16777216|this._bitField,this._fireEvent("promiseRejected",this)},i.prototype._setFollowing=function(){this._bitField=67108864|this._bitField,this._fireEvent("promiseResolved",this)},i.prototype._setIsFinal=function(){this._bitField=4194304|this._bitField},i.prototype._isFinal=function(){return(4194304&this._bitField)>0},i.prototype._unsetCancelled=function(){this._bitField=-65537&this._bitField},i.prototype._setCancelled=function(){this._bitField=65536|this._bitField,this._fireEvent("promiseCancelled",this)},i.prototype._setWillBeCancelled=function(){this._bitField=8388608|this._bitField},i.prototype._setAsyncGuaranteed=function(){v.hasCustomScheduler()||(this._bitField=134217728|this._bitField)},i.prototype._receiverAt=function(t){var e=0===t?this._receiver0:this[4*t-4+3];if(e!==p)return void 0===e&&this._isBound()?this._boundValue():e},i.prototype._promiseAt=function(t){return this[4*t-4+2]},i.prototype._fulfillmentHandlerAt=function(t){return this[4*t-4+0]},i.prototype._rejectionHandlerAt=function(t){return this[4*t-4+1]},i.prototype._boundValue=function(){},i.prototype._migrateCallback0=function(t){var e=(t._bitField,t._fulfillmentHandler0),n=t._rejectionHandler0,r=t._promise0,o=t._receiverAt(0);void 0===o&&(o=p),this._addCallbacks(e,n,r,o,null)},i.prototype._migrateCallbackAt=function(t,e){var n=t._fulfillmentHandlerAt(e),r=t._rejectionHandlerAt(e),o=t._promiseAt(e),i=t._receiverAt(e);void 0===i&&(i=p),this._addCallbacks(n,r,o,i,null)},i.prototype._addCallbacks=function(t,e,n,r,o){var i=this._length();if(i>=65531&&(i=0,this._setLength(0)),0===i)this._promise0=n,this._receiver0=r,"function"==typeof t&&(this._fulfillmentHandler0=null===o?t:h.domainBind(o,t)),"function"==typeof e&&(this._rejectionHandler0=null===o?e:h.domainBind(o,e));else{var a=4*i-4;this[a+2]=n,this[a+3]=r,"function"==typeof t&&(this[a+0]=null===o?t:h.domainBind(o,t)),"function"==typeof e&&(this[a+1]=null===o?e:h.domainBind(o,e))}return this._setLength(i+1),i},i.prototype._proxy=function(t,e){this._addCallbacks(void 0,void 0,e,t,null)},i.prototype._resolveCallback=function(t,e){if(0==(117506048&this._bitField)){if(t===this)return this._rejectCallback(c(),!1);var n=S(t,this);if(!(n instanceof i))return this._fulfill(t);e&&this._propagateFrom(n,2);var r=n._target();if(r===this)return void this._reject(c());var o=r._bitField;if(0==(50397184&o)){var a=this._length();a>0&&r._migrateCallback0(this);for(var s=1;s>>16)){if(t===this){var n=c();return this._attachExtraTrace(n),this._reject(n)}this._setFulfilled(),this._rejectionHandler0=t,(65535&e)>0&&(0!=(134217728&e)?this._settlePromises():v.settlePromises(this))}},i.prototype._reject=function(t){var e=this._bitField;if(!((117506048&e)>>>16)){if(this._setRejected(),this._fulfillmentHandler0=t,this._isFinal())return v.fatalError(t,h.isNode);(65535&e)>0?v.settlePromises(this):this._ensurePossibleRejectionHandled()}},i.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()},i.prototype._settledValue=function(){var t=this._bitField;return 0!=(33554432&t)?this._rejectionHandler0:0!=(16777216&t)?this._fulfillmentHandler0:void 0},i.defer=i.pending=function(){return O.deprecated("Promise.defer","new Promise"),{promise:new i(x),resolve:a,reject:s}},h.notEnumerableProp(i,"_makeSelfResolutionError",c),t("./method")(i,x,S,d,O),t("./bind")(i,x,S,O),t("./cancel")(i,E,d,O),t("./direct_resolve")(i),t("./synchronous_inspection")(i),t("./join")(i,E,S,x,v,l),i.Promise=i,i.version="3.5.1",t("./map.js")(i,E,d,S,x,O),t("./call_get.js")(i),t("./using.js")(i,d,S,A,x,O),t("./timers.js")(i,x,O),t("./generators.js")(i,d,x,S,r,O),t("./nodeify.js")(i),t("./promisify.js")(i,x),t("./props.js")(i,E,S,d),t("./race.js")(i,x,S,d),t("./reduce.js")(i,E,d,S,x,O),t("./settle.js")(i,E,O),t("./some.js")(i,E,d),t("./filter.js")(i,x),t("./each.js")(i,x),t("./any.js")(i),h.toFastProperties(i),h.toFastProperties(i.prototype),u({a:1}),u({b:2}),u({c:3}),u(1),u(function(){}),u(void 0),u(!1),u(new i(x)),O.setBounds(m.firstLineError,h.lastLineError),i}},{"./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}],23:[function(t,e,exports){"use strict";e.exports=function(e,n,r,o,i){function a(t){switch(t){case-2:return[];case-3:return{};case-6:return new Map}}function s(t){var r=this._promise=new e(n);t instanceof e&&r._propagateFrom(t,3),r._setOnCancel(this),this._values=t,this._length=0,this._totalResolved=0,this._init(void 0,-2)}var u=t("./util");u.isArray;return u.inherits(s,i),s.prototype.length=function(){return this._length},s.prototype.promise=function(){return this._promise},s.prototype._init=function t(n,i){var s=r(this._values,this._promise);if(s instanceof e){s=s._target();var l=s._bitField;if(this._values=s,0==(50397184&l))return this._promise._setAsyncGuaranteed(),s._then(t,this._reject,void 0,this,i);if(0==(33554432&l))return 0!=(16777216&l)?this._reject(s._reason()):this._cancel();s=s._value()}if(null===(s=u.asArray(s))){var c=o("expecting an array or an iterable object but got "+u.classString(s)).reason();return void this._promise._rejectCallback(c,!1)}if(0===s.length)return void(-5===i?this._resolveEmptyArray():this._resolve(a(i)));this._iterate(s)},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 o=this._promise,i=!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=d(this._values);else{n={};for(var r=this.length(),o=0,i=this.length();o>1},e.prototype.props=function(){return a(this)},e.props=function(t){return a(t)}}},{"./es5":13,"./util":36}],26:[function(t,e,exports){"use strict";function n(t,e,n,r,o){for(var i=0;i=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.prototype.settle=function(){return e.settle(this)}}},{"./util":36}],31:[function(t,e,exports){"use strict";e.exports=function(e,n,r){function o(t){this.constructor$(t),this._howMany=0,this._unwrap=!1,this._initialized=!1}function i(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 o(t),i=n.promise();return n.setHowMany(e),n.init(),i}var a=t("./util"),s=t("./errors").RangeError,u=t("./errors").AggregateError,l=a.isArray,c={};a.inherits(o,n),o.prototype._init=function(){if(this._initialized){if(0===this._howMany)return void this._resolve([]);this._init$(void 0,-5);var t=l(this._values);!this._isResolved()&&t&&this._howMany>this._canPossiblyFulfill()&&this._reject(this._getRangeError(this.length()))}},o.prototype.init=function(){this._initialized=!0,this._init()},o.prototype.setUnwrap=function(){this._unwrap=!0},o.prototype.howMany=function(){return this._howMany},o.prototype.setHowMany=function(t){this._howMany=t},o.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)},o.prototype._promiseRejected=function(t){return this._addRejected(t),this._checkOutcome()},o.prototype._promiseCancelled=function(){return this._values instanceof e||null==this._values?this._cancel():(this._addRejected(c),this._checkOutcome())},o.prototype._checkOutcome=function(){if(this.howMany()>this._canPossiblyFulfill()){for(var t=new u,e=this.length();e0?this._reject(t):this._cancel(),!0}return!1},o.prototype._fulfilled=function(){return this._totalResolved},o.prototype._rejected=function(){return this._values.length-this.length()},o.prototype._addRejected=function(t){this._values.push(t)},o.prototype._addFulfilled=function(t){this._values[this._totalResolved++]=t},o.prototype._canPossiblyFulfill=function(){return this.length()-this._rejected()},o.prototype._getRangeError=function(t){var e="Input array must contain at least "+this._howMany+" items but contains only "+t+" items";return new s(e)},o.prototype._resolveEmptyArray=function(){this._reject(this._getRangeError(0))},e.some=function(t,e){return i(t,e)},e.prototype.some=function(t){return i(this,t)},e._SomePromiseArray=o}},{"./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()},o=e.prototype.isFulfilled=function(){return 0!=(33554432&this._bitField)},i=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 i.call(this._target())},t.prototype.isFulfilled=function(){return o.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){function r(t,r){if(c(t)){if(t instanceof e)return t;var o=i(t);if(o===l){r&&r._pushContext();var u=e.reject(o.e);return r&&r._popContext(),u}if("function"==typeof o){if(a(t)){var u=new e(n);return t._then(u._fulfill,u._reject,void 0,u,null),u}return s(t,o,r)}}return t}function o(t){return t.then}function i(t){try{return o(t)}catch(t){return l.e=t,l}}function a(t){try{return f.call(t,"_promise0")}catch(t){return!1}}function s(t,r,o){function i(t){s&&(s._resolveCallback(t),s=null)}function a(t){s&&(s._rejectCallback(t,f,!0),s=null)}var s=new e(n),c=s;o&&o._pushContext(),s._captureStackTrace(),o&&o._popContext();var f=!0,d=u.tryCatch(r).call(t,i,a);return f=!1,s&&d===l&&(s._rejectCallback(d.e,!0,!0),s=null),c}var u=t("./util"),l=u.errorObj,c=u.isObject,f={}.hasOwnProperty;return r}},{"./util":36}],34:[function(t,e,exports){"use strict";e.exports=function(e,n,r){function o(t){this.handle=t}function i(t){return clearTimeout(this.handle),t}function a(t){throw clearTimeout(this.handle),t}var s=t("./util"),u=e.TimeoutError;o.prototype._resultCancelled=function(){clearTimeout(this.handle)};var l=function(t){return c(+this).thenReturn(t)},c=e.delay=function(t,i){var a,s;return void 0!==i?(a=e.resolve(i)._then(l,null,null,t,void 0),r.cancellation()&&i instanceof e&&a._setOnCancel(i)):(a=new e(n),s=setTimeout(function(){a._fulfill()},+t),r.cancellation()&&a._setOnCancel(new o(s)),a._captureStackTrace()),a._setAsyncGuaranteed(),a};e.prototype.delay=function(t){return c(t,this)};var f=function(t,e,n){var r;r="string"!=typeof e?e instanceof Error?e:new u("operation timed out"):new u(e),s.markAsOriginatingFromRejection(r),t._attachExtraTrace(r),t._reject(r),null!=n&&n.cancel()};e.prototype.timeout=function(t,e){t=+t;var n,s,u=new o(setTimeout(function(){n.isPending()&&f(n,e,s)},t));return r.cancellation()?(s=this.then(),n=s._then(i,a,void 0,u,void 0),n._setOnCancel(u)):n=this._then(i,a,void 0,u,void 0),n}}},{"./util":36}],35:[function(t,e,exports){"use strict";e.exports=function(e,n,r,o,i,a){function s(t){setTimeout(function(){throw t},0)}function u(t){var e=r(t);return e!==t&&"function"==typeof t._isDisposable&&"function"==typeof t._getDisposer&&t._isDisposable()&&e._setDisposable(t._getDisposer()),e}function l(t,n){function o(){if(a>=l)return c._fulfill();var i=u(t[a++]);if(i instanceof e&&i._isDisposable()){try{i=r(i._getDisposer().tryDispose(n),t.promise)}catch(t){return s(t)}if(i instanceof e)return i._then(o,s,null,null,null)}o()}var a=0,l=t.length,c=new e(i);return o(),c}function c(t,e,n){this._data=t,this._promise=e,this._context=n}function f(t,e,n){this.constructor$(t,e,n)}function d(t){return c.isDisposer(t)?(this.resources[this.index]._setDisposable(t),t.promise()):t}function p(t){this.length=t,this.promise=null,this[t-1]=null}var h=t("./util"),g=t("./errors").TypeError,m=t("./util").inherits,v=h.errorObj,b=h.tryCatch,y={};c.prototype.data=function(){return this._data},c.prototype.promise=function(){return this._promise},c.prototype.resource=function(){return this.promise().isFulfilled()?this.promise().value():y},c.prototype.tryDispose=function(t){var e=this.resource(),n=this._context;void 0!==n&&n._pushContext();var r=e!==y?this.doDispose(e,t):null;return void 0!==n&&n._popContext(),this._promise._unsetDisposable(),this._data=null,r},c.isDisposer=function(t){return null!=t&&"function"==typeof t.resource&&"function"==typeof t.tryDispose},m(f,c),f.prototype.doDispose=function(t,e){return this.data().call(t,t,e)},p.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 f(t,this,o());throw new g}}},{"./errors":12,"./util":36}],36:[function(t,r,exports){"use strict";function o(){try{var t=T;return T=null,t.apply(this,arguments)}catch(t){return M.e=t,M}}function i(t){return T=t,o}function a(t){return null==t||!0===t||!1===t||"string"==typeof t||"number"==typeof t}function s(t){return"function"==typeof t||"object"==typeof t&&null!==t}function u(t){return a(t)?new Error(v(t)):t}function l(t,e){var n,r=t.length,o=new Array(r+1);for(n=0;n1,r=e.length>0&&!(1===e.length&&"constructor"===e[0]),o=R.test(t+"")&&A.names(t).length>0;if(n||r||o)return!0}return!1}catch(t){return!1}}function h(t){function e(){}e.prototype=t;for(var n=8;n--;)new e;return t}function g(t){return I.test(t)}function m(t,e,n){for(var r=new Array(t),o=0;o10||t[0]>0}(),q.isNode&&q.toFastProperties(e);try{throw new Error}catch(t){q.lastLineError=t}r.exports=q},{"./es5":13}]},{},[4])(4)}),"undefined"!=typeof window&&null!==window?window.P=window.Promise:"undefined"!=typeof self&&null!==self&&(self.P=self.Promise)}).call(exports,e(283),e(30),e(177).setImmediate)},function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n={gl2ServerUrl:function(){return this.appConfig().gl2ServerUrl},gl2AppPathPrefix:function(){return this.appConfig().gl2AppPathPrefix},gl2DevMode:function(){return"undefined"!=typeof DEVELOPMENT&&DEVELOPMENT},rootTimeZone:function(){return this.appConfig().rootTimeZone},appConfig:function(){return window.appConfig||{}}};exports.default=n,t.exports=exports.default},function(t,exports,e){"use strict";function n(t){return new Date(t.getTime())}function r(t,e){var r=n(t);return r.setMonth(t.getMonth()+e),r}function o(t,e){return!(!t||!e)&&(t.getDate()===e.getDate()&&t.getMonth()===e.getMonth()&&t.getFullYear()===e.getFullYear())}function i(t,e){return n(t).setHours(0,0,0,0)n(e).setHours(0,0,0,0)}function s(t){var e=new Date;return e.setHours(0,0,0,0),i(t,e)}function u(t){var e=new Date((new Date).getTime()+864e5);return e.setHours(0,0,0,0),t>=e}function l(t,e,r){var o=n(t);return o.setHours(0,0,0,0),a(o,e)&&i(o,r)||a(o,r)&&i(o,e)}function c(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{from:null,to:null},n=e.from,r=e.to;return n?n&&r&&o(n,r)&&o(t,n)?(n=null,r=null):r&&i(t,n)?n=t:r&&o(t,r)?(n=t,r=t):(r=t,i(r,n)&&(r=n,n=t)):n=t,{from:n,to:r}}function f(t,e){var n=e.from,r=e.to;return n&&o(t,n)||r&&o(t,r)||n&&r&&l(t,n,r)}function d(t){var e=n(t);return e.setHours(0,0,0),e.setDate(e.getDate()+4-(e.getDay()||7)),Math.ceil(((e-new Date(e.getFullYear(),0,1))/864e5+1)/7)}Object.defineProperty(exports,"__esModule",{value:!0}),exports.clone=n,exports.addMonths=r,exports.isSameDay=o,exports.isDayBefore=i,exports.isDayAfter=a,exports.isPastDay=s,exports.isFutureDay=u,exports.isDayBetween=l,exports.addDayToRange=c,exports.isDayInRange=f,exports.getWeekNumber=d,exports.default={addDayToRange:c,addMonths:r,clone:n,getWeekNumber:d,isDayAfter:a,isDayBefore:i,isDayBetween:l,isDayInRange:f,isFutureDay:u,isPastDay:s,isSameDay:o}},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t){for(var e=0,n=void 0,r=0,o=t.length;re&&(e=n);return e}function o(t){for(var e=Array(t.length),n=0,r=t.length;n=e.x+e.w)&&(!(t.y+t.h<=e.y)&&!(t.y>=e.y+e.h))))}function u(t,e){for(var n=h(t),r=_(t),o=Array(t.length),a=0,s=r.length;a0&&!d(t,e);)e.y--;for(var o=void 0;o=d(t,e);)e.y=o.y+o.h;return e}function c(t,e){for(var n=h(t),r=0,o=t.length;re.cols&&(i.x=e.cols-i.w),i.x<0&&(i.x=0,i.w=e.cols),i.static)for(;d(n,i);)i.y++;else n.push(i)}return t}function f(t,e){for(var n=0,r=t.length;nr;"number"==typeof n&&(e.x=n),"number"==typeof r&&(e.y=r),e.moved=!0;var a=_(t);i&&(a=a.reverse());for(var s=p(a,e),u=0,l=s.length;uc.y&&e.y-c.y>c.h/4||(t=c.static?m(t,c,e,o):m(t,e,c,o)))}return t}function m(t,e,n,r){if(r){var o={x:n.x,y:n.y,w:n.w,h:n.h,i:"-1"};if(o.y=Math.max(e.y-n.h,0),!d(t,o))return g(t,n,void 0,o.y)}return g(t,n,void 0,n.y+1)}function v(t){return 100*t+"%"}function b(t){var e=t.top,n=t.left,r=t.width,o=t.height,i="translate("+n+"px,"+e+"px)";return{transform:i,WebkitTransform:i,MozTransform:i,msTransform:i,OTransform:i,width:r+"px",height:o+"px",position:"absolute"}}function y(t){return{top:t.top+"px",left:t.left+"px",width:t.width+"px",height:t.height+"px",position:"absolute"}}function _(t){return[].concat(t).sort(function(t,e){return t.y>e.y||t.y===e.y&&t.x>e.x?1:t.y===e.y&&t.x===e.x?0:-1})}function x(t,e,n,o){t=t||[];var a=[];return O.default.Children.forEach(e,function(e,n){var o=f(t,e.key||"1");if(o)a[n]=i(o);else{!M&&e.props._grid&&console.warn("`_grid` properties on children have been deprecated as of React 15.2. Please use `data-grid` or add your properties directly to the `layout`.");var s=e.props["data-grid"]||e.props._grid;s?(M||w([s],"ReactGridLayout.children"),a[n]=i(S({},s,{i:e.key}))):a[n]=i({w:1,h:1,x:0,y:r(a),i:e.key||"1"})}}),a=c(a,{cols:n}),a=u(a,o)}function w(t,e){e=e||"Layout";var n=["x","y","w","h"];if(!Array.isArray(t))throw new Error(e+" must be an array!");for(var r=0,o=t.length;r=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}function i(t){return/^[0-9]+$/.test(t)}function a(t){return t.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}function s(t){return void 0===t?"Undefined":String(Object.prototype.toString.call(t)).slice(8,-1)}function u(t){return"Array"===s(t)}function l(t,e){var n,r,o={};if("RegExp"===s(e))o=null;else if(u(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=h,o.decode=decodeURIComponent,o.iso8859=function(){o.encode=escape,o.decode=unescape},o.unicode=function(){o.encode=h,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 _,x={encode:"encode",decode:"decode"},w=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(_ in x)o[_+"PathSegment"]=w("pathname",x[_]),o[_+"UrnPathSegment"]=w("urnpath",x[_]);var k=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("?"),n>-1&&(e.query=t.substring(n+1)||null,t=t.substring(0,n)),"//"===t.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)?(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=""),t=t.replace(/\\/g,"/");var n,r,i=t.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?r:t.length-1);return i>-1&&(-1===r||i-1?p.slice(0,h)+p.slice(h).replace(a,""):p.replace(a,""),!(p.length<=l[0].length||n.ignore&&n.ignore.test(p))){d=c+p.length;var v=e(p,c,d,t);void 0!==v?(v=String(v),t=t.slice(0,c)+v+t.slice(d),r.lastIndex=c+v.length):r.lastIndex=d}}return r.lastIndex=0,t},o.ensureValidHostname=function(e,n){var r=!!e,i=!!n,a=!1;if(i&&(a=c(o.hostProtocols,n)),a&&!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(!(i(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=v),this},b.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},b.clone=function(){return new o(this)},b.valueOf=b.toString=function(){return this.build(!1)._string},b.protocol=g("protocol"),b.username=g("username"),b.password=g("password"),b.hostname=g("hostname"),b.port=g("port"),b.query=m("query","?"),b.fragment=m("fragment","#"),b.search=function(t,e){var n=this.query(t,e);return"string"==typeof n&&n.length?"?"+n:n},b.hash=function(t,e){var n=this.fragment(t,e);return"string"==typeof n&&n.length?"#"+n:n},b.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},b.path=b.pathname,b.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);if(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)y.call(this._parts,n)&&(this._parts[n]=a[n])}return this.build(!e),this},b.is=function(t){var e=!1,r=!1,i=!1,a=!1,s=!1,u=!1,l=!1,c=!this._parts.urn;switch(this._parts.hostname&&(c=!1,r=o.ip4_expression.test(this._parts.hostname),i=o.ip6_expression.test(this._parts.hostname),e=r||i,a=!e,s=a&&n&&n.has(this._parts.hostname),u=a&&o.idn_expression.test(this._parts.hostname),l=a&&o.punycode_expression.test(this._parts.hostname)),t.toLowerCase()){case"relative":return c;case"absolute":return!c;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 l}return null};var S=b.protocol,E=b.port,C=b.hostname;b.protocol=function(t,e){if(t&&(t=t.replace(/:(\/\/)?$/,""),!t.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)},b.scheme=b.protocol,b.port=function(t,e){return this._parts.urn?void 0===t?"":this:(void 0!==t&&(0===t&&(t=null),t&&(t+="",":"===t.charAt(0)&&(t=t.substring(1)),o.ensureValidPort(t))),E.call(this,t,e))},b.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 C.call(this,t,e)},b.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},b.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},b.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},b.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},b.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)},b.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),s=new RegExp("^"+a(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(s,t),this.build(!e),this},b.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(a(this.domain())+"$");this._parts.hostname=this._parts.hostname.replace(i,t)}return this.build(!e),this},b.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("."),o=this._parts.hostname.substring(r+1);return!0!==e&&n&&n.list[o.toLowerCase()]?n.get(this._parts.hostname)||o:o}var i;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]');i=new RegExp(a(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(i,t)}else{if(!this._parts.hostname||this.is("IP"))throw new ReferenceError("cannot set TLD on non-domain host");i=new RegExp(a(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(i,t)}return this.build(!e),this},b.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,s=this._parts.path.substring(0,i),u=new RegExp("^"+a(s));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(u,t),this.build(!e),this},b.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 s=new RegExp(a(this.filename())+"$");return t=o.recodePath(t),this._parts.path=this._parts.path.replace(s,t),i?this.normalizePath(e):this.build(!e),this},b.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(),s=i.lastIndexOf(".");return-1===s?"":(n=i.substring(s+1),r=/^[a-z0-9%]+$/i.test(n)?n:"",t?o.decodePathSegment(r):r)}"."===t.charAt(0)&&(t=t.substring(1));var u,l=this.suffix();if(l)u=t?new RegExp(a(l)+"$"):new RegExp(a("."+l)+"$");else{if(!t)return this;this._parts.path+="."+o.recodePath(t)}return u&&(t=o.recodePath(t),this._parts.path=this._parts.path.replace(u,t)),this.build(!e),this},b.segment=function(t,e,n){var r=this._parts.urn?":":"/",o=this.path(),i="/"===o.substring(0,1),a=o.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(i&&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(u(e)){a=[];for(var s=0,l=e.length;se?1:t>=e?0:NaN}function s(t){return null===t?NaN:+t}function u(t){return!isNaN(t)}function l(t){return{left:function(e,n,r,o){for(arguments.length<3&&(r=0),arguments.length<4&&(o=e.length);r>>1;t(e[i],n)<0?r=i+1:o=i}return r},right:function(e,n,r,o){for(arguments.length<3&&(r=0),arguments.length<4&&(o=e.length);r>>1;t(e[i],n)>0?o=i:r=i+1}return r}}}function c(t){return t.length}function f(t){for(var e=1;t*e%1;)e*=10;return e}function d(t,e){for(var n in e)Object.defineProperty(t.prototype,n,{value:e[n],enumerable:!1})}function p(){this._=Object.create(null)}function h(t){return(t+="")===Sa||t[0]===Ea?Ea+t:t}function g(t){return(t+="")[0]===Ea?t.slice(1):t}function m(t){return h(t)in this._}function v(t){return(t=h(t))in this._&&delete this._[t]}function b(){var t=[];for(var e in this._)t.push(g(e));return t}function y(){var t=0;for(var e in this._)++t;return t}function _(){for(var t in this._)return!1;return!0}function x(){this._=Object.create(null)}function w(t){return t}function k(t,e,n){return function(){var r=n.apply(e,arguments);return r===e?t:r}}function S(t,e){if(e in t)return e;e=e.charAt(0).toUpperCase()+e.slice(1);for(var n=0,r=Ca.length;n=e&&(e=o+1);!(a=s[e])&&++e0&&(t=t.slice(0,s));var l=ja.get(t);return l&&(t=l,u=J),s?e?o:r:e?E:i}function Z(t,e){return function(n){var r=pa.event;pa.event=n,e[0]=this.__data__;try{t.apply(this,e)}finally{pa.event=r}}}function J(t,e){var n=Z(t,e);return function(t){var e=this,r=t.relatedTarget;r&&(r===e||8&r.compareDocumentPosition(e))||n.call(e,t)}}function tt(t){var e=".dragsuppress-"+ ++za,n="click"+e,r=pa.select(i(t)).on("touchmove"+e,O).on("dragstart"+e,O).on("selectstart"+e,O);if(null==Na&&(Na=!("onselectstart"in t)&&S(t.style,"userSelect")),Na){var a=o(t).style,s=a[Na];a[Na]="none"}return function(t){if(r.on(e,null),Na&&(a[Na]=s),t){var o=function(){r.on(n,null)};r.on(n,function(){O(),o()},!0),setTimeout(o,0)}}}function et(t,e){e.changedTouches&&(e=e.changedTouches[0]);var n=t.ownerSVGElement||t;if(n.createSVGPoint){var r=n.createSVGPoint();if(La<0){var o=i(t);if(o.scrollX||o.scrollY){n=pa.select("body").append("svg").style({position:"absolute",top:0,left:0,margin:0,padding:0,border:"none"},"important");var a=n[0][0].getScreenCTM();La=!(a.f||a.e),n.remove()}}return La?(r.x=e.pageX,r.y=e.pageY):(r.x=e.clientX,r.y=e.clientY),r=r.matrixTransform(t.getScreenCTM().inverse()),[r.x,r.y]}var s=t.getBoundingClientRect();return[e.clientX-s.left-t.clientLeft,e.clientY-s.top-t.clientTop]}function nt(){return pa.event.changedTouches[0].identifier}function rt(t){return t>0?1:t<0?-1:0}function ot(t,e,n){return(e[0]-t[0])*(n[1]-t[1])-(e[1]-t[1])*(n[0]-t[0])}function it(t){return t>1?0:t<-1?Ba:Math.acos(t)}function at(t){return t>1?Va:t<-1?-Va:Math.asin(t)}function st(t){return((t=Math.exp(t))-1/t)/2}function ut(t){return((t=Math.exp(t))+1/t)/2}function lt(t){return((t=Math.exp(2*t))-1)/(t+1)}function ct(t){return(t=Math.sin(t/2))*t}function ft(){}function dt(t,e,n){return this instanceof dt?(this.h=+t,this.s=+e,void(this.l=+n)):arguments.length<2?t instanceof dt?new dt(t.h,t.s,t.l):Ct(""+t,At,dt):new dt(t,e,n)}function pt(t,e,n){function r(t){return t>360?t-=360:t<0&&(t+=360),t<60?i+(a-i)*t/60:t<180?a:t<240?i+(a-i)*(240-t)/60:i}function o(t){return Math.round(255*r(t))}var i,a;return t=isNaN(t)?0:(t%=360)<0?t+360:t,e=isNaN(e)?0:e<0?0:e>1?1:e,n=n<0?0:n>1?1:n,a=n<=.5?n*(1+e):n+e-n*e,i=2*n-a,new wt(o(t+120),o(t),o(t-120))}function ht(t,e,n){return this instanceof ht?(this.h=+t,this.c=+e,void(this.l=+n)):arguments.length<2?t instanceof ht?new ht(t.h,t.c,t.l):t instanceof mt?bt(t.l,t.a,t.b):bt((t=Ot((t=pa.rgb(t)).r,t.g,t.b)).l,t.a,t.b):new ht(t,e,n)}function gt(t,e,n){return isNaN(t)&&(t=0),isNaN(e)&&(e=0),new mt(n,Math.cos(t*=Wa)*e,Math.sin(t)*e)}function mt(t,e,n){return this instanceof mt?(this.l=+t,this.a=+e,void(this.b=+n)):arguments.length<2?t instanceof mt?new mt(t.l,t.a,t.b):t instanceof ht?gt(t.h,t.c,t.l):Ot((t=wt(t)).r,t.g,t.b):new mt(t,e,n)}function vt(t,e,n){var r=(t+16)/116,o=r+e/500,i=r-n/200;return o=yt(o)*es,r=yt(r)*ns,i=yt(i)*rs,new wt(xt(3.2404542*o-1.5371385*r-.4985314*i),xt(-.969266*o+1.8760108*r+.041556*i),xt(.0556434*o-.2040259*r+1.0572252*i))}function bt(t,e,n){return t>0?new ht(Math.atan2(n,e)*Ya,Math.sqrt(e*e+n*n),t):new ht(NaN,NaN,t)}function yt(t){return t>.206893034?t*t*t:(t-4/29)/7.787037}function _t(t){return t>.008856?Math.pow(t,1/3):7.787037*t+4/29}function xt(t){return Math.round(255*(t<=.00304?12.92*t:1.055*Math.pow(t,1/2.4)-.055))}function wt(t,e,n){return this instanceof wt?(this.r=~~t,this.g=~~e,void(this.b=~~n)):arguments.length<2?t instanceof wt?new wt(t.r,t.g,t.b):Ct(""+t,wt,pt):new wt(t,e,n)}function kt(t){return new wt(t>>16,t>>8&255,255&t)}function St(t){return kt(t)+""}function Et(t){return t<16?"0"+Math.max(0,t).toString(16):Math.min(255,t).toString(16)}function Ct(t,e,n){var r,o,i,a=0,s=0,u=0;if(r=/([a-z]+)\((.*)\)/.exec(t=t.toLowerCase()))switch(o=r[2].split(","),r[1]){case"hsl":return n(parseFloat(o[0]),parseFloat(o[1])/100,parseFloat(o[2])/100);case"rgb":return e(Tt(o[0]),Tt(o[1]),Tt(o[2]))}return(i=as.get(t))?e(i.r,i.g,i.b):(null==t||"#"!==t.charAt(0)||isNaN(i=parseInt(t.slice(1),16))||(4===t.length?(a=(3840&i)>>4,a|=a>>4,s=240&i,s|=s>>4,u=15&i,u|=u<<4):7===t.length&&(a=(16711680&i)>>16,s=(65280&i)>>8,u=255&i)),e(a,s,u))}function At(t,e,n){var r,o,i=Math.min(t/=255,e/=255,n/=255),a=Math.max(t,e,n),s=a-i,u=(a+i)/2;return s?(o=u<.5?s/(a+i):s/(2-a-i),r=t==a?(e-n)/s+(e0&&u<1?0:r),new dt(r,o,u)}function Ot(t,e,n){t=Mt(t),e=Mt(e),n=Mt(n);var r=_t((.4124564*t+.3575761*e+.1804375*n)/es),o=_t((.2126729*t+.7151522*e+.072175*n)/ns);return mt(116*o-16,500*(r-o),200*(o-_t((.0193339*t+.119192*e+.9503041*n)/rs)))}function Mt(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function Tt(t){var e=parseFloat(t);return"%"===t.charAt(t.length-1)?Math.round(2.55*e):e}function Dt(t){return"function"==typeof t?t:function(){return t}}function Ft(t){return function(e,n,r){return 2===arguments.length&&"function"==typeof n&&(r=n,n=null),Pt(e,n,t,r)}}function Pt(t,e,n,r){function o(){var t,e=u.status;if(!e&&It(u)||e>=200&&e<300||304===e){try{t=n.call(i,u)}catch(t){return void a.error.call(i,t)}a.load.call(i,t)}else a.error.call(i,u)}var i={},a=pa.dispatch("beforesend","progress","load","error"),s={},u=new XMLHttpRequest,l=null;return!this.XDomainRequest||"withCredentials"in u||!/^(http(s)?:)?\/\//.test(t)||(u=new XDomainRequest),"onload"in u?u.onload=u.onerror=o:u.onreadystatechange=function(){u.readyState>3&&o()},u.onprogress=function(t){var e=pa.event;pa.event=t;try{a.progress.call(i,u)}finally{pa.event=e}},i.header=function(t,e){return t=(t+"").toLowerCase(),arguments.length<2?s[t]:(null==e?delete s[t]:s[t]=e+"",i)},i.mimeType=function(t){return arguments.length?(e=null==t?null:t+"",i):e},i.responseType=function(t){return arguments.length?(l=t,i):l},i.response=function(t){return n=t,i},["get","post"].forEach(function(t){i[t]=function(){return i.send.apply(i,[t].concat(ga(arguments)))}}),i.send=function(n,r,o){if(2===arguments.length&&"function"==typeof r&&(o=r,r=null),u.open(n,t,!0),null==e||"accept"in s||(s.accept=e+",*/*"),u.setRequestHeader)for(var c in s)u.setRequestHeader(c,s[c]);return null!=e&&u.overrideMimeType&&u.overrideMimeType(e),null!=l&&(u.responseType=l),null!=o&&i.on("error",o).on("load",function(t){o(null,t)}),a.beforesend.call(i,u),u.send(null==r?null:r),i},i.abort=function(){return u.abort(),i},pa.rebind(i,a,"on"),null==r?i:i.get(Rt(r))}function Rt(t){return 1===t.length?function(e,n){t(null==e?n:null)}:t}function It(t){var e=t.responseType;return e&&"text"!==e?t.response:t.responseText}function jt(t,e,n){var r=arguments.length;r<2&&(e=0),r<3&&(n=Date.now());var o=n+e,i={c:t,t:o,n:null};return us?us.n=i:ss=i,us=i,ls||(cs=clearTimeout(cs),ls=1,fs(Nt)),i}function Nt(){var t=zt(),e=Lt()-t;e>24?(isFinite(e)&&(clearTimeout(cs),cs=setTimeout(Nt,e)),ls=0):(ls=1,fs(Nt))}function zt(){for(var t=Date.now(),e=ss;e;)t>=e.t&&e.c(t-e.t)&&(e.c=null),e=e.n;return t}function Lt(){for(var t,e=ss,n=1/0;e;)e.c?(e.t8?function(t){return t/n}:function(t){return t*n},symbol:t}}function Bt(t){var e=t.decimal,n=t.thousands,r=t.grouping,o=t.currency,i=r&&n?function(t,e){for(var o=t.length,i=[],a=0,s=r[0],u=0;o>0&&s>0&&(u+s+1>e&&(s=Math.max(1,e-u)),i.push(t.substring(o-=s,o+s)),!((u+=s+1)>e));)s=r[a=(a+1)%r.length];return i.reverse().join(n)}:w;return function(t){var n=ps.exec(t),r=n[1]||" ",a=n[2]||">",s=n[3]||"-",u=n[4]||"",l=n[5],c=+n[6],f=n[7],d=n[8],p=n[9],h=1,g="",m="",v=!1,b=!0;switch(d&&(d=+d.substring(1)),(l||"0"===r&&"="===a)&&(l=r="0",a="="),p){case"n":f=!0,p="g";break;case"%":h=100,m="%",p="f";break;case"p":h=100,m="%",p="r";break;case"b":case"o":case"x":case"X":"#"===u&&(g="0"+p.toLowerCase());case"c":b=!1;case"d":v=!0,d=0;break;case"s":h=-1,p="r"}"$"===u&&(g=o[0],m=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=hs.get(p)||Ht;var y=l&&f;return function(t){var n=m;if(v&&t%1)return"";var o=t<0||0===t&&1/t<0?(t=-t,"-"):"-"===s?"":s;if(h<0){var u=pa.formatPrefix(t,d);t=u.scale(t),n=u.symbol+m}else t*=h;t=p(t,d);var _,x,w=t.lastIndexOf(".");if(w<0){var k=b?t.lastIndexOf("e"):-1;k<0?(_=t,x=""):(_=t.substring(0,k),x=t.substring(k))}else _=t.substring(0,w),x=e+t.substring(w+1);!l&&f&&(_=i(_,1/0));var S=g.length+_.length+x.length+(y?0:o.length),E=S"===a?E+o+t:"^"===a?E.substring(0,S>>=1)+o+t+E.substring(S):o+(y?t:E+t))+n}}}function Ht(t){return t+""}function Gt(){this._=new Date(arguments.length>1?Date.UTC.apply(this,arguments):arguments[0])}function Vt(t,e,n){function r(e){var n=t(e),r=i(n,1);return e-n1)for(;a=l)return-1;if(37===(o=e.charCodeAt(s++))){if(a=e.charAt(s++),!(i=M[a in bs?e.charAt(s++):a])||(r=i(t,n,r))<0)return-1}else if(o!=n.charCodeAt(r++))return-1}return r}function r(t,e,n){w.lastIndex=0;var r=w.exec(e.slice(n));return r?(t.w=k.get(r[0].toLowerCase()),n+r[0].length):-1}function o(t,e,n){_.lastIndex=0;var r=_.exec(e.slice(n));return r?(t.w=x.get(r[0].toLowerCase()),n+r[0].length):-1}function i(t,e,n){C.lastIndex=0;var r=C.exec(e.slice(n));return r?(t.m=A.get(r[0].toLowerCase()),n+r[0].length):-1}function a(t,e,n){S.lastIndex=0;var r=S.exec(e.slice(n));return r?(t.m=E.get(r[0].toLowerCase()),n+r[0].length):-1}function s(t,e,r){return n(t,O.c.toString(),e,r)}function u(t,e,r){return n(t,O.x.toString(),e,r)}function l(t,e,r){return n(t,O.X.toString(),e,r)}function c(t,e,n){var r=y.get(e.slice(n,n+=2).toLowerCase());return null==r?-1:(t.p=r,n)}var f=t.dateTime,d=t.date,p=t.time,h=t.periods,g=t.days,m=t.shortDays,v=t.months,b=t.shortMonths;e.utc=function(t){function n(t){try{ms=Gt;var e=new ms;return e._=t,r(e)}finally{ms=Date}}var r=e(t);return n.parse=function(t){try{ms=Gt;var e=r.parse(t);return e&&e._}finally{ms=Date}},n.toString=r.toString,n},e.multi=e.utc.multi=pe;var y=pa.map(),_=Qt(g),x=Xt(g),w=Qt(m),k=Xt(m),S=Qt(v),E=Xt(v),C=Qt(b),A=Xt(b);h.forEach(function(t,e){y.set(t.toLowerCase(),e)});var O={a:function(t){return m[t.getDay()]},A:function(t){return g[t.getDay()]},b:function(t){return b[t.getMonth()]},B:function(t){return v[t.getMonth()]},c:e(f),d:function(t,e){return Kt(t.getDate(),e,2)},e:function(t,e){return Kt(t.getDate(),e,2)},H:function(t,e){return Kt(t.getHours(),e,2)},I:function(t,e){return Kt(t.getHours()%12||12,e,2)},j:function(t,e){return Kt(1+gs.dayOfYear(t),e,3)},L:function(t,e){return Kt(t.getMilliseconds(),e,3)},m:function(t,e){return Kt(t.getMonth()+1,e,2)},M:function(t,e){return Kt(t.getMinutes(),e,2)},p:function(t){return h[+(t.getHours()>=12)]},S:function(t,e){return Kt(t.getSeconds(),e,2)},U:function(t,e){return Kt(gs.sundayOfYear(t),e,2)},w:function(t){return t.getDay()},W:function(t,e){return Kt(gs.mondayOfYear(t),e,2)},x:e(d),X:e(p),y:function(t,e){return Kt(t.getFullYear()%100,e,2)},Y:function(t,e){return Kt(t.getFullYear()%1e4,e,4)},Z:fe,"%":function(){return"%"}},M={a:r,A:o,b:i,B:a,c:s,d:ie,e:ie,H:se,I:se,j:ae,L:ce,m:oe,M:ue,p:c,S:le,U:Zt,w:$t,W:Jt,x:u,X:l,y:ee,Y:te,Z:ne,"%":de};return e}function Kt(t,e,n){var r=t<0?"-":"",o=(r?-t:t)+"",i=o.length;return r+(i68?1900:2e3)}function oe(t,e,n){ys.lastIndex=0;var r=ys.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function ie(t,e,n){ys.lastIndex=0;var r=ys.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function ae(t,e,n){ys.lastIndex=0;var r=ys.exec(e.slice(n,n+3));return r?(t.j=+r[0],n+r[0].length):-1}function se(t,e,n){ys.lastIndex=0;var r=ys.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function ue(t,e,n){ys.lastIndex=0;var r=ys.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function le(t,e,n){ys.lastIndex=0;var r=ys.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function ce(t,e,n){ys.lastIndex=0;var r=ys.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function fe(t){var e=t.getTimezoneOffset(),n=e>0?"-":"+",r=ka(e)/60|0,o=ka(e)%60;return n+Kt(r,"0",2)+Kt(o,"0",2)}function de(t,e,n){_s.lastIndex=0;var r=_s.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function pe(t){for(var e=t.length,n=-1;++n=0?1:-1,s=a*n,u=Math.cos(e),l=Math.sin(e),c=i*l,f=o*u+c*Math.cos(s),d=c*a*Math.sin(s);Cs.add(Math.atan2(d,f)),r=t,o=u,i=l}var e,n,r,o,i;As.point=function(a,s){As.point=t,r=(e=a)*Wa,o=Math.cos(s=(n=s)*Wa/2+Ba/4),i=Math.sin(s)},As.lineEnd=function(){t(e,n)}}function _e(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 xe(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function we(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 ke(t,e){t[0]+=e[0],t[1]+=e[1],t[2]+=e[2]}function Se(t,e){return[t[0]*e,t[1]*e,t[2]*e]}function Ee(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 Ce(t){return[Math.atan2(t[1],t[0]),at(t[2])]}function Ae(t,e){return ka(t[0]-e[0])=0;--s)o.point((f=c[s])[0],f[1])}else r(p.x,p.p.x,-1,o);p=p.p}p=p.o,c=p.z,h=!h}while(!p.v);o.lineEnd()}}}function je(t){if(e=t.length){for(var e,n,r=0,o=t[0];++r0){for(x||(i.polygonStart(),x=!0),i.lineStart();++a1&&2&e&&n.push(n.pop().concat(n.shift())),p.push(n.filter(Le))}var p,h,g,m=e(i),v=o.invert(r[0],r[1]),b={point:a,lineStart:u,lineEnd:l,polygonStart:function(){b.point=c,b.lineStart=f,b.lineEnd=d,p=[],h=[]},polygonEnd:function(){b.point=a,b.lineStart=u,b.lineEnd=l,p=pa.merge(p);var t=Ve(v,h);p.length?(x||(i.polygonStart(),x=!0),Ie(p,qe,t,n,i)):t&&(x||(i.polygonStart(),x=!0),i.lineStart(),n(null,null,1,i),i.lineEnd()),x&&(i.polygonEnd(),x=!1),p=h=null},sphere:function(){i.polygonStart(),i.lineStart(),n(null,null,1,i),i.lineEnd(),i.polygonEnd()}},y=Ue(),_=e(y),x=!1;return b}}function Le(t){return t.length>1}function Ue(){var t,e=[];return{lineStart:function(){e.push(t=[])},point:function(e,n){t.push([e,n])},lineEnd:E,buffer:function(){var n=e;return e=[],t=null,n},rejoin:function(){e.length>1&&e.push(e.pop().concat(e.shift()))}}}function qe(t,e){return((t=t.x)[0]<0?t[1]-Va-Ua:Va-t[1])-((e=e.x)[0]<0?e[1]-Va-Ua:Va-e[1])}function Be(t){var e,n=NaN,r=NaN,o=NaN;return{lineStart:function(){t.lineStart(),e=1},point:function(i,a){var s=i>0?Ba:-Ba,u=ka(i-n);ka(u-Ba)0?Va:-Va),t.point(o,r),t.lineEnd(),t.lineStart(),t.point(s,r),t.point(i,r),e=0):o!==s&&u>=Ba&&(ka(n-o)Ua?Math.atan((Math.sin(e)*(i=Math.cos(r))*Math.sin(n)-Math.sin(r)*(o=Math.cos(e))*Math.sin(t))/(o*i*a)):(e+r)/2}function Ge(t,e,n,r){var o;if(null==t)o=n*Va,r.point(-Ba,o),r.point(0,o),r.point(Ba,o),r.point(Ba,0),r.point(Ba,-o),r.point(0,-o),r.point(-Ba,-o),r.point(-Ba,0),r.point(-Ba,o);else if(ka(t[0]-e[0])>Ua){var i=t[0]=0?1:-1,k=w*x,S=k>Ba,E=h*y;if(Cs.add(Math.atan2(E*w*Math.sin(k),g*_+E*Math.cos(k))),i+=S?x+w*Ha:x,S^d>=n^v>=n){var C=we(_e(f),_e(t));Ee(C);var A=we(o,C);Ee(A);var O=(S^x>=0?-1:1)*at(A[2]);(r>O||r===O&&(C[0]||C[1]))&&(a+=S^x>=0?1:-1)}if(!m++)break;d=v,h=y,g=_,f=t}}return(i<-Ua||ii}function n(t){var n,i,u,l,c;return{lineStart:function(){l=u=!1,c=1},point:function(f,d){var p,h=[f,d],g=e(f,d),m=a?g?0:o(f,d):g?o(f+(f<0?Ba:-Ba),d):0;if(!n&&(l=u=g)&&t.lineStart(),g!==u&&(p=r(n,h),(Ae(n,p)||Ae(h,p))&&(h[0]+=Ua,h[1]+=Ua,g=e(h[0],h[1]))),g!==u)c=0,g?(t.lineStart(),p=r(h,n),t.point(p[0],p[1])):(p=r(n,h),t.point(p[0],p[1]),t.lineEnd()),n=p;else if(s&&n&&a^g){var v;m&i||!(v=r(h,n,!0))||(c=0,a?(t.lineStart(),t.point(v[0][0],v[0][1]),t.point(v[1][0],v[1][1]),t.lineEnd()):(t.point(v[1][0],v[1][1]),t.lineEnd(),t.lineStart(),t.point(v[0][0],v[0][1])))}!g||n&&Ae(n,h)||t.point(h[0],h[1]),n=h,u=g,i=m},lineEnd:function(){u&&t.lineEnd(),n=null},clean:function(){return c|(l&&u)<<1}}}function r(t,e,n){var r=_e(t),o=_e(e),a=[1,0,0],s=we(r,o),u=xe(s,s),l=s[0],c=u-l*l;if(!c)return!n&&t;var f=i*u/c,d=-i*l/c,p=we(a,s),h=Se(a,f);ke(h,Se(s,d));var g=p,m=xe(h,g),v=xe(g,g),b=m*m-v*(xe(h,h)-1);if(!(b<0)){var y=Math.sqrt(b),_=Se(g,(-m-y)/v);if(ke(_,h),_=Ce(_),!n)return _;var x,w=t[0],k=e[0],S=t[1],E=e[1];k0^_[1]<(ka(_[0]-w)Ba^(w<=_[0]&&_[0]<=k)){var M=Se(g,(-m+y)/v);return ke(M,h),[_,Ce(M)]}}}function o(e,n){var r=a?t:Ba-t,o=0;return e<-r?o|=1:e>r&&(o|=2),n<-r?o|=4:n>r&&(o|=8),o}var i=Math.cos(t),a=i>0,s=ka(i)>Ua;return ze(e,n,_n(t,6*Wa),a?[0,-t]:[-Ba,t-Ba])}function Ye(t,e,n,r){return function(o){var i,a=o.a,s=o.b,u=a.x,l=a.y,c=s.x,f=s.y,d=0,p=1,h=c-u,g=f-l;if(i=t-u,h||!(i>0)){if(i/=h,h<0){if(i0){if(i>p)return;i>d&&(d=i)}if(i=n-u,h||!(i<0)){if(i/=h,h<0){if(i>p)return;i>d&&(d=i)}else if(h>0){if(i0)){if(i/=g,g<0){if(i0){if(i>p)return;i>d&&(d=i)}if(i=r-l,g||!(i<0)){if(i/=g,g<0){if(i>p)return;i>d&&(d=i)}else if(g>0){if(i0&&(o.a={x:u+d*h,y:l+d*g}),p<1&&(o.b={x:u+p*h,y:l+p*g}),o}}}}}}function Ke(t,e,n,r){function o(r,o){return ka(r[0]-t)0?0:3:ka(r[0]-n)0?2:1:ka(r[1]-e)0?1:0:o>0?3:2}function i(t,e){return a(t.x,e.x)}function a(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]}return function(s){function u(t){for(var e=0,n=m.length,r=t[1],o=0;or&&ot(l,i,t)>0&&++e:i[1]<=r&&ot(l,i,t)<0&&--e,l=i;return 0!==e}function l(i,s,u,l){var c=0,f=0;if(null==i||(c=o(i,u))!==(f=o(s,u))||a(i,s)<0^u>0)do{l.point(0===c||3===c?t:n,c>1?r:e)}while((c=(c+u+4)%4)!==f);else l.point(s[0],s[1])}function c(o,i){return t<=o&&o<=n&&e<=i&&i<=r}function f(t,e){c(t,e)&&s.point(t,e)}function d(){M.point=h,m&&m.push(v=[]),S=!0,k=!1,x=w=NaN}function p(){g&&(h(b,y),_&&k&&A.rejoin(),g.push(A.buffer())),M.point=f,k&&s.lineEnd()}function h(t,e){t=Math.max(-qs,Math.min(qs,t)),e=Math.max(-qs,Math.min(qs,e));var n=c(t,e);if(m&&v.push([t,e]),S)b=t,y=e,_=n,S=!1,n&&(s.lineStart(),s.point(t,e));else if(n&&k)s.point(t,e);else{var r={a:{x:x,y:w},b:{x:t,y:e}};O(r)?(k||(s.lineStart(),s.point(r.a.x,r.a.y)),s.point(r.b.x,r.b.y),n||s.lineEnd(),E=!1):n&&(s.lineStart(),s.point(t,e),E=!1)}x=t,w=e,k=n}var g,m,v,b,y,_,x,w,k,S,E,C=s,A=Ue(),O=Ye(t,e,n,r),M={point:f,lineStart:d,lineEnd:p,polygonStart:function(){s=A,g=[],m=[],E=!0},polygonEnd:function(){s=C,g=pa.merge(g);var e=u([t,r]),n=E&&e,o=g.length;(n||o)&&(s.polygonStart(),n&&(s.lineStart(),l(null,null,1,s),s.lineEnd()),o&&Ie(g,i,e,l,s),s.polygonEnd()),g=m=v=null}};return M}}function Qe(t){var e=0,n=Ba/3,r=dn(t),o=r(e,n);return o.parallels=function(t){return arguments.length?r(e=t[0]*Ba/180,n=t[1]*Ba/180):[e/Ba*180,n/Ba*180]},o}function Xe(t,e){function n(t,e){var n=Math.sqrt(i-2*o*Math.sin(e))/o;return[n*Math.sin(t*=o),a-n*Math.cos(t)]}var r=Math.sin(t),o=(r+Math.sin(e))/2,i=1+r*(2*o-r),a=Math.sqrt(i)/o;return n.invert=function(t,e){var n=a-e;return[Math.atan2(t,n)/o,at((i-(t*t+n*n)*o*o)/(2*o))]},n}function $e(){function t(t,e){Hs+=o*t-r*e,r=t,o=e}var e,n,r,o;Ks.point=function(i,a){Ks.point=t,e=r=i,n=o=a},Ks.lineEnd=function(){t(e,n)}}function Ze(t,e){tWs&&(Ws=t),eYs&&(Ys=e)}function Je(){function t(t,e){a.push("M",t,",",e,i)}function e(t,e){a.push("M",t,",",e),s.point=n}function n(t,e){a.push("L",t,",",e)}function r(){s.point=t}function o(){a.push("Z")}var i=tn(4.5),a=[],s={point:t,lineStart:function(){s.point=e},lineEnd:r,polygonStart:function(){s.lineEnd=o},polygonEnd:function(){s.lineEnd=r,s.point=t},pointRadius:function(t){return i=tn(t),s},result:function(){if(a.length){var t=a.join("");return a=[],t}}};return s}function tn(t){return"m0,"+t+"a"+t+","+t+" 0 1,1 0,"+-2*t+"a"+t+","+t+" 0 1,1 0,"+2*t+"z"}function en(t,e){Ts+=t,Ds+=e,++Fs}function nn(){function t(t,r){var o=t-e,i=r-n,a=Math.sqrt(o*o+i*i);Ps+=a*(e+t)/2,Rs+=a*(n+r)/2,Is+=a,en(e=t,n=r)}var e,n;Xs.point=function(r,o){Xs.point=t,en(e=r,n=o)}}function rn(){Xs.point=en}function on(){function t(t,e){var n=t-r,i=e-o,a=Math.sqrt(n*n+i*i);Ps+=a*(r+t)/2,Rs+=a*(o+e)/2,Is+=a,a=o*t-r*e,js+=a*(r+t),Ns+=a*(o+e),zs+=3*a,en(r=t,o=e)}var e,n,r,o;Xs.point=function(i,a){Xs.point=t,en(e=r=i,n=o=a)},Xs.lineEnd=function(){t(e,n)}}function an(t){function e(e,n){t.moveTo(e+a,n),t.arc(e,n,a,0,Ha)}function n(e,n){t.moveTo(e,n),s.point=r}function r(e,n){t.lineTo(e,n)}function o(){s.point=e}function i(){t.closePath()}var a=4.5,s={point:e,lineStart:function(){s.point=n},lineEnd:o,polygonStart:function(){s.lineEnd=i},polygonEnd:function(){s.lineEnd=o,s.point=e},pointRadius:function(t){return a=t,s},result:E};return s}function sn(t){function e(t){return(s?r:n)(t)}function n(e){return cn(e,function(n,r){n=t(n,r),e.point(n[0],n[1])})}function r(e){function n(n,r){n=t(n,r),e.point(n[0],n[1])}function r(){y=NaN,S.point=i,e.lineStart()}function i(n,r){var i=_e([n,r]),a=t(n,r);o(y,_,b,x,w,k,y=a[0],_=a[1],b=n,x=i[0],w=i[1],k=i[2],s,e),e.point(y,_)}function a(){S.point=n,e.lineEnd()}function u(){r(),S.point=l,S.lineEnd=c}function l(t,e){i(f=t,d=e),p=y,h=_,g=x,m=w,v=k,S.point=i}function c(){o(y,_,b,x,w,k,p,h,f,g,m,v,s,e),S.lineEnd=a,a()}var f,d,p,h,g,m,v,b,y,_,x,w,k,S={point:n,lineStart:r,lineEnd:a,polygonStart:function(){e.polygonStart(),S.lineStart=u},polygonEnd:function(){e.polygonEnd(),S.lineStart=r}};return S}function o(e,n,r,s,u,l,c,f,d,p,h,g,m,v){var b=c-e,y=f-n,_=b*b+y*y;if(_>4*i&&m--){var x=s+p,w=u+h,k=l+g,S=Math.sqrt(x*x+w*w+k*k),E=Math.asin(k/=S),C=ka(ka(k)-1)i||ka((b*T+y*D)/_-.5)>.3||s*p+u*h+l*g0&&16,e):Math.sqrt(i)},e}function un(t){var e=sn(function(e,n){return t([e*Ya,n*Ya])});return function(t){return pn(e(t))}}function ln(t){this.stream=t}function cn(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 fn(t){return dn(function(){return t})()}function dn(t){function e(t){return t=s(t[0]*Wa,t[1]*Wa),[t[0]*d+u,l-t[1]*d]}function n(t){return(t=s.invert((t[0]-u)/d,(l-t[1])/d))&&[t[0]*Ya,t[1]*Ya]}function r(){s=Pe(a=mn(v,b,y),i);var t=i(g,m);return u=p-t[0]*d,l=h+t[1]*d,o()}function o(){return c&&(c.valid=!1,c=null),e}var i,a,s,u,l,c,f=sn(function(t,e){return t=i(t,e),[t[0]*d+u,l-t[1]*d]}),d=150,p=480,h=250,g=0,m=0,v=0,b=0,y=0,_=Us,x=w,k=null,S=null;return e.stream=function(t){return c&&(c.valid=!1),c=pn(_(a,f(x(t)))),c.valid=!0,c},e.clipAngle=function(t){return arguments.length?(_=null==t?(k=t,Us):We((k=+t)*Wa),o()):k},e.clipExtent=function(t){return arguments.length?(S=t,x=t?Ke(t[0][0],t[0][1],t[1][0],t[1][1]):w,o()):S},e.scale=function(t){return arguments.length?(d=+t,r()):d},e.translate=function(t){return arguments.length?(p=+t[0],h=+t[1],r()):[p,h]},e.center=function(t){return arguments.length?(g=t[0]%360*Wa,m=t[1]%360*Wa,r()):[g*Ya,m*Ya]},e.rotate=function(t){return arguments.length?(v=t[0]%360*Wa,b=t[1]%360*Wa,y=t.length>2?t[2]%360*Wa:0,r()):[v*Ya,b*Ya,y*Ya]},pa.rebind(e,f,"precision"),function(){return i=t.apply(this,arguments),e.invert=i.invert&&n,r()}}function pn(t){return cn(t,function(e,n){t.point(e*Wa,n*Wa)})}function hn(t,e){return[t,e]}function gn(t,e){return[t>Ba?t-Ha:t<-Ba?t+Ha:t,e]}function mn(t,e,n){return t?e||n?Pe(bn(t),yn(e,n)):bn(t):e||n?yn(e,n):gn}function vn(t){return function(e,n){return e+=t,[e>Ba?e-Ha:e<-Ba?e+Ha:e,n]}}function bn(t){var e=vn(t);return e.invert=vn(-t),e}function yn(t,e){function n(t,e){var n=Math.cos(e),s=Math.cos(t)*n,u=Math.sin(t)*n,l=Math.sin(e),c=l*r+s*o;return[Math.atan2(u*i-c*a,s*r-l*o),at(c*i+u*a)]}var r=Math.cos(t),o=Math.sin(t),i=Math.cos(e),a=Math.sin(e);return n.invert=function(t,e){var n=Math.cos(e),s=Math.cos(t)*n,u=Math.sin(t)*n,l=Math.sin(e),c=l*i-u*a;return[Math.atan2(u*i+l*a,s*r+c*o),at(c*r-s*o)]},n}function _n(t,e){var n=Math.cos(t),r=Math.sin(t);return function(o,i,a,s){var u=a*e;null!=o?(o=xn(n,o),i=xn(n,i),(a>0?oi)&&(o+=a*Ha)):(o=t+a*Ha,i=t-.5*u);for(var l,c=o;a>0?c>i:c0?e<-Va+Ua&&(e=-Va+Ua):e>Va-Ua&&(e=Va-Ua);var n=a/Math.pow(o(e),i);return[n*Math.sin(i*t),a-n*Math.cos(i*t)]}var r=Math.cos(t),o=function(t){return Math.tan(Ba/4+t/2)},i=t===e?Math.sin(t):Math.log(r/Math.cos(e))/Math.log(o(e)/o(t)),a=r*Math.pow(o(t),i)/i;return i?(n.invert=function(t,e){var n=a-e,r=rt(i)*Math.sqrt(t*t+n*n);return[Math.atan2(t,n)/i,2*Math.atan(Math.pow(a/r,1/i))-Va]},n):Dn}function Tn(t,e){function n(t,e){var n=i-e;return[n*Math.sin(o*t),i-n*Math.cos(o*t)]}var r=Math.cos(t),o=t===e?Math.sin(t):(r-Math.cos(e))/(e-t),i=r/o+t;return ka(o)1&&ot(t[n[r-2]],t[n[r-1]],t[o])<=0;)--r;n[r++]=o}return n.slice(0,r)}function Nn(t,e){return t[0]-e[0]||t[1]-e[1]}function zn(t,e,n){return(n[0]-e[0])*(t[1]-e[1])<(n[1]-e[1])*(t[0]-e[0])}function Ln(t,e,n,r){var o=t[0],i=n[0],a=e[0]-o,s=r[0]-i,u=t[1],l=n[1],c=e[1]-u,f=r[1]-l,d=(s*(u-l)-f*(o-i))/(f*a-s*c);return[o+d*a,u+d*c]}function Un(t){var e=t[0],n=t[t.length-1];return!(e[0]-n[0]||e[1]-n[1])}function qn(){ur(this),this.edge=this.site=this.circle=null}function Bn(t){var e=cu.pop()||new qn;return e.site=t,e}function Hn(t){Jn(t),su.remove(t),cu.push(t),ur(t)}function Gn(t){var e=t.circle,n=e.x,r=e.cy,o={x:n,y:r},i=t.P,a=t.N,s=[t];Hn(t);for(var u=i;u.circle&&ka(n-u.circle.x)Ua)s=s.L;else{if(!((o=i-Yn(s,a))>Ua)){r>-Ua?(e=s.P,n=s):o>-Ua?(e=s,n=s.N):e=n=s;break}if(!s.R){e=s;break}s=s.R}var u=Bn(t);if(su.insert(e,u),e||n){if(e===n)return Jn(e),n=Bn(e.site),su.insert(u,n),u.edge=n.edge=rr(e.site,u.site),Zn(e),void Zn(n);if(!n)return void(u.edge=rr(e.site,u.site));Jn(e),Jn(n);var l=e.site,c=l.x,f=l.y,d=t.x-c,p=t.y-f,h=n.site,g=h.x-c,m=h.y-f,v=2*(d*m-p*g),b=d*d+p*p,y=g*g+m*m,_={x:(m*b-p*y)/v+c,y:(d*y-g*b)/v+f};ir(n.edge,l,h,_),u.edge=rr(l,t,null,_),n.edge=rr(t,h,null,_),Zn(e),Zn(n)}}function Wn(t,e){var n=t.site,r=n.x,o=n.y,i=o-e;if(!i)return r;var a=t.P;if(!a)return-1/0;n=a.site;var s=n.x,u=n.y,l=u-e;if(!l)return s;var c=s-r,f=1/i-1/l,d=c/l;return f?(-d+Math.sqrt(d*d-2*f*(c*c/(-2*l)-u+l/2+o-i/2)))/f+r:(r+s)/2}function Yn(t,e){var n=t.N;if(n)return Wn(n,e);var r=t.site;return r.y===e?r.x:1/0}function Kn(t){this.site=t,this.edges=[]}function Qn(t){for(var e,n,r,o,i,a,s,u,l,c,f=t[0][0],d=t[1][0],p=t[0][1],h=t[1][1],g=au,m=g.length;m--;)if((i=g[m])&&i.prepare())for(s=i.edges,u=s.length,a=0;aUa||ka(o-n)>Ua)&&(s.splice(a,0,new ar(or(i.site,c,ka(r-f)Ua?{x:f,y:ka(e-f)Ua?{x:ka(n-h)Ua?{x:d,y:ka(e-d)Ua?{x:ka(n-p)=-qa)){var p=u*u+l*l,h=c*c+f*f,g=(f*p-l*h)/d,m=(u*h-c*p)/d,f=m+s,v=fu.pop()||new $n;v.arc=t,v.site=o,v.x=g+a,v.y=f+Math.sqrt(g*g+m*m),v.cy=f,t.circle=v;for(var b=null,y=lu._;y;)if(v.y=s)return;if(d>h){if(i){if(i.y>=l)return}else i={x:m,y:u};n={x:m,y:l}}else{if(i){if(i.y1)if(d>h){if(i){if(i.y>=l)return}else i={x:(u-o)/r,y:u};n={x:(l-o)/r,y:l}}else{if(i){if(i.y=s)return}else i={x:a,y:r*a+o};n={x:s,y:r*s+o}}else{if(i){if(i.xi||f>a||d=_,k=n>=x,S=k<<1|w,E=S+4;Si&&(o=e.slice(i,o),s[a]?s[a]+=o:s[++a]=o),(n=n[0])===(r=r[0])?s[a]?s[a]+=r:s[++a]=r:(s[++a]=null,u.push({i:a,x:wr(n,r)})),i=hu.lastIndex;return i=0&&!(n=pa.interpolators[r](t,e)););return n}function Er(t,e){var n,r=[],o=[],i=t.length,a=e.length,s=Math.min(t.length,e.length);for(n=0;n=1?1:t(e)}}function Ar(t){return function(e){return 1-t(1-e)}}function Or(t){return function(e){return.5*(e<.5?t(2*e):2-t(2-2*e))}}function Mr(t){return t*t}function Tr(t){return t*t*t}function Dr(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 Fr(t){return function(e){return Math.pow(e,t)}}function Pr(t){return 1-Math.cos(t*Va)}function Rr(t){return Math.pow(2,10*(t-1))}function Ir(t){return 1-Math.sqrt(1-t*t)}function jr(t,e){var n;return arguments.length<2&&(e=.45),arguments.length?n=e/Ha*Math.asin(1/t):(t=1,n=e/4),function(r){return 1+t*Math.pow(2,-10*r)*Math.sin((r-n)*Ha/e)}}function Nr(t){return t||(t=1.70158),function(e){return e*e*((t+1)*e-t)}}function zr(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 Lr(t,e){t=pa.hcl(t),e=pa.hcl(e);var n=t.h,r=t.c,o=t.l,i=e.h-n,a=e.c-r,s=e.l-o;return isNaN(a)&&(a=0,r=isNaN(r)?e.c:r),isNaN(i)?(i=0,n=isNaN(n)?e.h:n):i>180?i-=360:i<-180&&(i+=360),function(t){return gt(n+i*t,r+a*t,o+s*t)+""}}function Ur(t,e){t=pa.hsl(t),e=pa.hsl(e);var n=t.h,r=t.s,o=t.l,i=e.h-n,a=e.s-r,s=e.l-o;return isNaN(a)&&(a=0,r=isNaN(r)?e.s:r),isNaN(i)?(i=0,n=isNaN(n)?e.h:n):i>180?i-=360:i<-180&&(i+=360),function(t){return pt(n+i*t,r+a*t,o+s*t)+""}}function qr(t,e){t=pa.lab(t),e=pa.lab(e);var n=t.l,r=t.a,o=t.b,i=e.l-n,a=e.a-r,s=e.b-o;return function(t){return vt(n+i*t,r+a*t,o+s*t)+""}}function Br(t,e){return e-=t,function(n){return Math.round(t+e*n)}}function Hr(t){var e=[t.a,t.b],n=[t.c,t.d],r=Vr(e),o=Gr(e,n),i=Vr(Wr(n,e,-o))||0;e[0]*n[1]180?e+=360:e-t>180&&(t+=360),r.push({i:n.push(Yr(n)+"rotate(",null,")")-2,x:wr(t,e)})):e&&n.push(Yr(n)+"rotate("+e+")")}function Xr(t,e,n,r){t!==e?r.push({i:n.push(Yr(n)+"skewX(",null,")")-2,x:wr(t,e)}):e&&n.push(Yr(n)+"skewX("+e+")")}function $r(t,e,n,r){if(t[0]!==e[0]||t[1]!==e[1]){var o=n.push(Yr(n)+"scale(",null,",",null,")");r.push({i:o-4,x:wr(t[0],e[0])},{i:o-2,x:wr(t[1],e[1])})}else 1===e[0]&&1===e[1]||n.push(Yr(n)+"scale("+e+")")}function Zr(t,e){var n=[],r=[];return t=pa.transform(t),e=pa.transform(e),Kr(t.translate,e.translate,n,r),Qr(t.rotate,e.rotate,n,r),Xr(t.skew,e.skew,n,r),$r(t.scale,e.scale,n,r),t=e=null,function(t){for(var e,o=-1,i=r.length;++o=0;)n.push(o[r])}function fo(t,e){for(var n=[t],r=[];null!=(t=n.pop());)if(r.push(t),(i=t.children)&&(o=i.length))for(var o,i,a=-1;++ao&&(r=n,o=e);return r}function ko(t){return t.reduce(So,0)}function So(t,e){return t+e[1]}function Eo(t,e){return Co(t,Math.ceil(Math.log(e.length)/Math.LN2+1))}function Co(t,e){for(var n=-1,r=+t[0],o=(t[1]-r)/e,i=[];++n<=e;)i[n]=o*n+r;return i}function Ao(t){return[pa.min(t),pa.max(t)]}function Oo(t,e){return t.value-e.value}function Mo(t,e){var n=t._pack_next;t._pack_next=e,e._pack_prev=t,e._pack_next=n,n._pack_prev=e}function To(t,e){t._pack_next=e,e._pack_prev=t}function Do(t,e){var n=e.x-t.x,r=e.y-t.y,o=t.r+e.r;return.999*o*o>n*n+r*r}function Fo(t){function e(t){c=Math.min(t.x-t.r,c),f=Math.max(t.x+t.r,f),d=Math.min(t.y-t.r,d),p=Math.max(t.y+t.r,p)}if((n=t.children)&&(l=n.length)){var n,r,o,i,a,s,u,l,c=1/0,f=-1/0,d=1/0,p=-1/0;if(n.forEach(Po),r=n[0],r.x=-r.r,r.y=0,e(r),l>1&&(o=n[1],o.x=o.r,o.y=0,e(o),l>2))for(i=n[2],jo(r,o,i),e(i),Mo(r,i),r._pack_prev=i,Mo(i,o),o=r._pack_next,a=3;a=0;)e=o[i],e.z+=n,e.m+=n,n+=e.s+(r+=e.c)}function Bo(t,e,n){return t.a.parent===e.parent?t.a:n}function Ho(t){return 1+pa.max(t,function(t){return t.y})}function Go(t){return t.reduce(function(t,e){return t+e.x},0)/t.length}function Vo(t){var e=t.children;return e&&e.length?Vo(e[0]):t}function Wo(t){var e,n=t.children;return n&&(e=n.length)?Wo(n[e-1]):t}function Yo(t){return{x:t.x,y:t.y,dx:t.dx,dy:t.dy}}function Ko(t,e){var n=t.x+e[3],r=t.y+e[0],o=t.dx-e[1]-e[3],i=t.dy-e[0]-e[2];return o<0&&(n+=o/2,o=0),i<0&&(r+=i/2,i=0),{x:n,y:r,dx:o,dy:i}}function Qo(t){var e=t[0],n=t[t.length-1];return e2?ti:$o,u=r?to:Jr;return a=o(t,e,u,n),s=o(e,t,u,Sr),i}function i(t){return a(t)}var a,s;return i.invert=function(t){return s(t)},i.domain=function(e){return arguments.length?(t=e.map(Number),o()):t},i.range=function(t){return arguments.length?(e=t,o()):e},i.rangeRound=function(t){return i.range(t).interpolate(Br)},i.clamp=function(t){return arguments.length?(r=t,o()):r},i.interpolate=function(t){return arguments.length?(n=t,o()):n},i.ticks=function(e){return ii(t,e)},i.tickFormat=function(e,n){return ai(t,e,n)},i.nice=function(e){return ri(t,e),o()},i.copy=function(){return ei(t,e,n,r)},o()}function ni(t,e){return pa.rebind(t,e,"range","rangeRound","interpolate","clamp")}function ri(t,e){return Zo(t,Jo(oi(t,e)[2])),Zo(t,Jo(oi(t,e)[2])),t}function oi(t,e){null==e&&(e=10);var n=Qo(t),r=n[1]-n[0],o=Math.pow(10,Math.floor(Math.log(r/e)/Math.LN10)),i=e/r*o;return i<=.15?o*=10:i<=.35?o*=5:i<=.75&&(o*=2),n[0]=Math.ceil(n[0]/o)*o,n[1]=Math.floor(n[1]/o)*o+.5*o,n[2]=o,n}function ii(t,e){return pa.range.apply(pa,oi(t,e))}function ai(t,e,n){var r=oi(t,e);if(n){var o=ps.exec(n);if(o.shift(),"s"===o[8]){var i=pa.formatPrefix(Math.max(ka(r[0]),ka(r[1])));return o[7]||(o[7]="."+si(i.scale(r[2]))),o[8]="f",n=pa.format(o.join("")),function(t){return n(i.scale(t))+i.symbol}}o[7]||(o[7]="."+ui(o[8],r)),n=o.join("")}else n=",."+si(r[2])+"f";return pa.format(n)}function si(t){return-Math.floor(Math.log(t)/Math.LN10+.01)}function ui(t,e){var n=si(e[2]);return t in Cu?Math.abs(n-si(Math.max(ka(e[0]),ka(e[1]))))+ +("e"!==t):n-2*("%"===t)}function li(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 i(t){return n?Math.pow(e,t):-Math.pow(e,-t)}function a(e){return t(o(e))}return a.invert=function(e){return i(t.invert(e))},a.domain=function(e){return arguments.length?(n=e[0]>=0,t.domain((r=e.map(Number)).map(o)),a):r},a.base=function(n){return arguments.length?(e=+n,t.domain(r.map(o)),a):e},a.nice=function(){var e=Zo(r.map(o),n?Math:Ou);return t.domain(e),r=e.map(i),a},a.ticks=function(){var t=Qo(r),a=[],s=t[0],u=t[1],l=Math.floor(o(s)),c=Math.ceil(o(u)),f=e%1?2:e;if(isFinite(c-l)){if(n){for(;l0;d--)a.push(i(l)*d);for(l=0;a[l]u;c--);a=a.slice(l,c)}return a},a.tickFormat=function(t,n){if(!arguments.length)return Au;arguments.length<2?n=Au:"function"!=typeof n&&(n=pa.format(n));var r=Math.max(1,e*t/a.ticks().length);return function(t){var a=t/i(Math.round(o(t)));return a*e0?o[n-1]:t[0],n0?0:1}function Si(t,e,n,r,o){var i=t[0]-e[0],a=t[1]-e[1],s=(o?r:-r)/Math.sqrt(i*i+a*a),u=s*a,l=-s*i,c=t[0]+u,f=t[1]+l,d=e[0]+u,p=e[1]+l,h=(c+d)/2,g=(f+p)/2,m=d-c,v=p-f,b=m*m+v*v,y=n-r,_=c*p-d*f,x=(v<0?-1:1)*Math.sqrt(Math.max(0,y*y*b-_*_)),w=(_*v-m*x)/b,k=(-_*m-v*x)/b,S=(_*v+m*x)/b,E=(-_*m+v*x)/b,C=w-h,A=k-g,O=S-h,M=E-g;return C*C+A*A>O*O+M*M&&(w=S,k=E),[[w-u,k-l],[w*n/y,k*n/y]]}function Ei(t){function e(e){function a(){l.push("M",i(t(c),s))}for(var u,l=[],c=[],f=-1,d=e.length,p=Dt(n),h=Dt(r);++f1?t.join("L"):t+"Z"}function Ai(t){return t.join("L")+"Z"}function Oi(t){for(var e=0,n=t.length,r=t[0],o=[r[0],",",r[1]];++e1&&o.push("H",r[0]),o.join("")}function Mi(t){for(var e=0,n=t.length,r=t[0],o=[r[0],",",r[1]];++e1){s=e[1],i=t[u],u++,r+="C"+(o[0]+a[0])+","+(o[1]+a[1])+","+(i[0]-s[0])+","+(i[1]-s[1])+","+i[0]+","+i[1];for(var l=2;l9&&(o=3*e/Math.sqrt(o),a[s]=o*n,a[s+1]=o*r));for(s=-1;++s<=u;)o=(t[Math.min(u,s+1)][0]-t[Math.max(0,s-1)][0])/(6*(1+a[s]*a[s])),i.push([o||0,a[s]*o||0]);return i}function Vi(t){return t.length<3?Ci(t):t[0]+Ri(t,Gi(t))}function Wi(t){for(var e,n,r,o=-1,i=t.length;++o0;)d[--s].call(t,a);if(i>=1)return g.event&&g.event.end.call(t,t.__data__,e),--h.count?delete h[r]:delete t[n],1}var u,l,c,f,d,h=t[n]||(t[n]={active:0,count:0}),g=h[r];g||(u=o.time,l=jt(i,0,u),g=h[r]={tween:new p,time:u,timer:l,delay:o.delay,duration:o.duration,ease:o.ease,index:e},o=null,++h.count)}function aa(t,e,n){t.attr("transform",function(t){var r=e(t);return"translate("+(isFinite(r)?r:n(t))+",0)"})}function sa(t,e,n){t.attr("transform",function(t){var r=e(t);return"translate(0,"+(isFinite(r)?r:n(t))+")"})}function ua(t){return t.toISOString()}function la(t,e,n){function r(e){return t(e)}function o(t,n){var r=t[1]-t[0],o=r/n,i=pa.bisect(Ju,o);return i==Ju.length?[e.year,oi(t.map(function(t){return t/31536e6}),n)[2]]:i?e[o/Ju[i-1]1?{floor:function(e){for(;n(e=t.floor(e));)e=ca(e-1);return e},ceil:function(e){for(;n(e=t.ceil(e));)e=ca(+e+1);return e}}:t))},r.ticks=function(t,e){var n=Qo(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],ca(+n[1]+1),e<1?1:e)},r.tickFormat=function(){return n},r.copy=function(){return la(t.copy(),e,n)},ni(r,t)}function ca(t){return new Date(t)}function fa(t){return JSON.parse(t.responseText)}function da(t){var e=ma.createRange();return e.selectNode(ma.body),e.createContextualFragment(t.responseText)}var pa={version:"3.5.17"},ha=[].slice,ga=function(t){return ha.call(t)},ma=this.document;if(ma)try{ga(ma.documentElement.childNodes)[0].nodeType}catch(t){ga=function(t){for(var e=t.length,n=new Array(e);e--;)n[e]=t[e];return n}}if(Date.now||(Date.now=function(){return+new Date}),ma)try{ma.createElement("DIV").style.setProperty("opacity",0,"")}catch(t){var va=this.Element.prototype,ba=va.setAttribute,ya=va.setAttributeNS,_a=this.CSSStyleDeclaration.prototype,xa=_a.setProperty;va.setAttribute=function(t,e){ba.call(this,t,e+"")},va.setAttributeNS=function(t,e,n){ya.call(this,t,e,n+"")},_a.setProperty=function(t,e,n){xa.call(this,t,e+"",n)}}pa.ascending=a,pa.descending=function(t,e){return et?1:e>=t?0:NaN},pa.min=function(t,e){var n,r,o=-1,i=t.length;if(1===arguments.length){for(;++o=r){n=r;break}for(;++or&&(n=r)}else{for(;++o=r){n=r;break}for(;++or&&(n=r)}return n},pa.max=function(t,e){var n,r,o=-1,i=t.length;if(1===arguments.length){for(;++o=r){n=r;break}for(;++on&&(n=r)}else{for(;++o=r){n=r;break}for(;++on&&(n=r)}return n},pa.extent=function(t,e){var n,r,o,i=-1,a=t.length;if(1===arguments.length){for(;++i=r){n=o=r;break}for(;++ir&&(n=r),o=r){n=o=r;break}for(;++ir&&(n=r),o1)return a/(c-1)},pa.deviation=function(){var t=pa.variance.apply(this,arguments);return t?Math.sqrt(t):t};var wa=l(a);pa.bisectLeft=wa.left,pa.bisect=pa.bisectRight=wa.right,pa.bisector=function(t){return l(1===t.length?function(e,n){return a(t(e),n)}:t)},pa.shuffle=function(t,e,n){(i=arguments.length)<3&&(n=t.length,i<2&&(e=0));for(var r,o,i=n-e;i;)o=Math.random()*i--|0,r=t[i+e],t[i+e]=t[o+e],t[o+e]=r;return t},pa.permute=function(t,e){for(var n=e.length,r=new Array(n);n--;)r[n]=t[e[n]];return r},pa.pairs=function(t){for(var e=0,n=t.length-1,r=t[0],o=new Array(n<0?0:n);e=0;)for(r=t[o],e=r.length;--e>=0;)n[--a]=r[e];return n};var ka=Math.abs;pa.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,o=[],i=f(ka(n)),a=-1;if(t*=i,e*=i,n*=i,n<0)for(;(r=t+n*++a)>e;)o.push(r/i);else for(;(r=t+n*++a)=i.length)return r?r.call(o,a):n?a.sort(n):a;for(var u,l,c,f,d=-1,h=a.length,g=i[s++],m=new p;++d=i.length)return t;var r=[],o=a[n++];return t.forEach(function(t,o){r.push({key:t,values:e(o,n)})}),o?r.sort(function(t,e){return o(t.key,e.key)}):r}var n,r,o={},i=[],a=[];return o.map=function(e,n){return t(n,e,0)},o.entries=function(n){return e(t(pa.map,n,0),0)},o.key=function(t){return i.push(t),o},o.sortKeys=function(t){return a[i.length-1]=t,o},o.sortValues=function(t){return n=t,o},o.rollup=function(t){return r=t,o},o},pa.set=function(t){var e=new x;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}},pa.event=null,pa.requote=function(t){return t.replace(Aa,"\\$&")};var Aa=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g,Oa={}.__proto__?function(t,e){t.__proto__=e}:function(t,e){for(var n in e)t[n]=e[n]},Ma=function(t,e){return e.querySelector(t)},Ta=function(t,e){return e.querySelectorAll(t)},Da=function(t,e){var n=t.matches||t[S(t,"matchesSelector")];return(Da=function(t,e){return n.call(t,e)})(t,e)};"function"==typeof Sizzle&&(Ma=function(t,e){return Sizzle(t,e)[0]||null},Ta=Sizzle,Da=Sizzle.matchesSelector),pa.selection=function(){return pa.select(ma.documentElement)};var Fa=pa.selection.prototype=[];Fa.select=function(t){var e,n,r,o,i=[];t=F(t);for(var a=-1,s=this.length;++a=0&&"xmlns"!==(n=t.slice(0,e))&&(t=t.slice(e+1)),Ra.hasOwnProperty(n)?{space:Ra[n],local:t}:t}},Fa.attr=function(t,e){if(arguments.length<2){if("string"==typeof t){var n=this.node();return t=pa.ns.qualify(t),t.local?n.getAttributeNS(t.space,t.local):n.getAttribute(t)}for(e in t)this.each(R(e,t[e]));return this}return this.each(R(t,e))},Fa.classed=function(t,e){if(arguments.length<2){if("string"==typeof t){var n=this.node(),r=(t=N(t)).length,o=-1;if(e=n.classList){for(;++o=0;)(n=r[o])&&(i&&i!==n.nextSibling&&i.parentNode.insertBefore(n,i),i=n);return this},Fa.sort=function(t){t=W.apply(this,arguments);for(var e=-1,n=this.length;++e0&&(e=e.transition().duration(A)),e.call(t.event)}function s(){x&&x.domain(_.range().map(function(t){return(t-S.x)/S.k}).map(_.invert)),k&&k.domain(w.range().map(function(t){return(t-S.y)/S.k}).map(w.invert))}function u(t){M++||t({type:"zoomstart"})}function l(t){s(),t({type:"zoom",scale:S.k,translate:[S.x,S.y]})}function c(t){--M||(t({type:"zoomend"}),m=null)}function f(){function t(){s=1,o(pa.mouse(r),d),l(a)}function n(){f.on(F,null).on(P,null),p(s),c(a)}var r=this,a=I.of(r,arguments),s=0,f=pa.select(i(r)).on(F,t).on(P,n),d=e(pa.mouse(r)),p=tt(r);Hu.call(r),u(a)}function d(){function t(){var t=pa.touches(h);return p=S.k,t.forEach(function(t){t.identifier in m&&(m[t.identifier]=e(t))}),t}function n(){var e=pa.event.target;pa.select(e).on(_,i).on(x,s),w.push(e);for(var n=pa.event.changedTouches,r=0,o=n.length;r1){var c=u[0],f=u[1],d=c[0]-f[0],p=c[1]-f[1];v=d*d+p*p}}function i(){var t,e,n,i,a=pa.touches(h);Hu.call(h);for(var s=0,u=a.length;s=l)return a;if(o)return o=!1,i;var e=c;if(34===t.charCodeAt(e)){for(var n=e;n++=^]))?([+\- ])?([$#])?(0)?(\d+)?(,)?(\.-?\d+)?([a-z%])?/i,hs=pa.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=pa.round(t,Ut(t,e))).toFixed(Math.max(0,Math.min(20,Ut(t*(1+1e-15),e))))}}),gs=pa.time={},ms=Date;Gt.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(){vs.setUTCDate.apply(this._,arguments)},setDay:function(){vs.setUTCDay.apply(this._,arguments)},setFullYear:function(){vs.setUTCFullYear.apply(this._,arguments)},setHours:function(){vs.setUTCHours.apply(this._,arguments)},setMilliseconds:function(){vs.setUTCMilliseconds.apply(this._,arguments)},setMinutes:function(){vs.setUTCMinutes.apply(this._,arguments)},setMonth:function(){vs.setUTCMonth.apply(this._,arguments)},setSeconds:function(){vs.setUTCSeconds.apply(this._,arguments)},setTime:function(){vs.setTime.apply(this._,arguments)}};var vs=Date.prototype;gs.year=Vt(function(t){return t=gs.day(t),t.setMonth(0,1),t},function(t,e){t.setFullYear(t.getFullYear()+e)},function(t){return t.getFullYear()}),gs.years=gs.year.range,gs.years.utc=gs.year.utc.range,gs.day=Vt(function(t){var e=new ms(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}),gs.days=gs.day.range,gs.days.utc=gs.day.utc.range,gs.dayOfYear=function(t){var e=gs.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=gs[t]=Vt(function(t){return(t=gs.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=gs.year(t).getDay();return Math.floor((gs.dayOfYear(t)+(n+e)%7)/7)-(n!==e)});gs[t+"s"]=n.range,gs[t+"s"].utc=n.utc.range,gs[t+"OfYear"]=function(t){var n=gs.year(t).getDay();return Math.floor((gs.dayOfYear(t)+(n+e)%7)/7)}}),gs.week=gs.sunday,gs.weeks=gs.sunday.range,gs.weeks.utc=gs.sunday.utc.range,gs.weekOfYear=gs.sundayOfYear;var bs={"-":"",_:" ",0:"0"},ys=/^\s*\d+/,_s=/^%/;pa.locale=function(t){return{numberFormat:Bt(t),timeFormat:Yt(t)}};var xs=pa.locale({decimal:".",thousands:",",grouping:[3],currency:["$",""],dateTime:"%a %b %e %X %Y",date:"%m/%d/%Y",time:"%H:%M:%S",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"]});pa.format=xs.numberFormat,pa.geo={},he.prototype={s:0,t:0,add:function(t){ge(t,this.t,ws),ge(ws.s,this.s,this),this.s?this.t+=ws.t:this.s=ws.t},reset:function(){this.s=this.t=0},valueOf:function(){return this.s}};var ws=new he;pa.geo.stream=function(t,e){t&&ks.hasOwnProperty(t.type)?ks[t.type](t,e):me(t,e)};var ks={Feature:function(t,e){me(t.geometry,e)},FeatureCollection:function(t,e){for(var n=t.features,r=-1,o=n.length;++rp&&(p=e)}function e(e,n){var r=_e([e*Wa,n*Wa]);if(v){var o=we(v,r),i=[o[1],-o[0],0],a=we(i,o);Ee(a),a=Ce(a);var u=e-h,l=u>0?1:-1,g=a[0]*Ya*l,m=ka(u)>180;if(m^(l*hp&&(p=b)}else if(g=(g+360)%360-180,m^(l*hp&&(p=n);m?es(c,d)&&(d=e):s(e,d)>s(c,d)&&(c=e):d>=c?(ed&&(d=e)):e>h?s(c,e)>s(c,d)&&(d=e):s(e,d)>s(c,d)&&(c=e)}else t(e,n);v=r,h=e}function n(){x.point=e}function r(){_[0]=c,_[1]=d,x.point=t,v=null}function o(t,n){if(v){var r=t-h;b+=ka(r)>180?r+(r>0?360:-360):r}else g=t,m=n;As.point(t,n),e(t,n)}function i(){As.lineStart()}function a(){o(g,m),As.lineEnd(),ka(b)>Ua&&(c=-(d=180)),_[0]=c,_[1]=d,v=null}function s(t,e){return(e-=t)<0?e+360:e}function u(t,e){return t[0]-e[0]}function l(t,e){return e[0]<=e[1]?e[0]<=t&&t<=e[1]:tUa?p=90:b<-Ua&&(f=-90),_[0]=c,_[1]=d}};return function(t){p=d=-(c=f=1/0),y=[],pa.geo.stream(t,x);var e=y.length;if(e){y.sort(u);for(var n,r=1,o=y[0],i=[o];rs(o[0],o[1])&&(o[1]=n[1]),s(n[0],o[1])>s(o[0],o[1])&&(o[0]=n[0])):i.push(o=n);for(var a,n,h=-1/0,e=i.length-1,r=0,o=i[e];r<=e;o=n,++r)n=i[r],(a=s(o[1],n[0]))>h&&(h=a,c=n[0],d=o[1])}return y=_=null,c===1/0||f===1/0?[[NaN,NaN],[NaN,NaN]]:[[c,f],[d,p]]}}(),pa.geo.centroid=function(t){Os=Ms=Ts=Ds=Fs=Ps=Rs=Is=js=Ns=zs=0,pa.geo.stream(t,Ls);var e=js,n=Ns,r=zs,o=e*e+n*n+r*r;return o=.12&&o<.234&&r>=-.425&&r<-.214?a:o>=.166&&o<.234&&r>=-.214&&r<-.115?s:i).invert(t)},t.stream=function(t){var e=i.stream(t),n=a.stream(t),r=s.stream(t);return{point:function(t,o){e.point(t,o),n.point(t,o),r.point(t,o)},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()}}},t.precision=function(e){return arguments.length?(i.precision(e),a.precision(e),s.precision(e),t):i.precision()},t.scale=function(e){return arguments.length?(i.scale(e),a.scale(.35*e),s.scale(e),t.translate(i.translate())):i.scale()},t.translate=function(e){if(!arguments.length)return i.translate();var l=i.scale(),c=+e[0],f=+e[1];return n=i.translate(e).clipExtent([[c-.455*l,f-.238*l],[c+.455*l,f+.238*l]]).stream(u).point,r=a.translate([c-.307*l,f+.201*l]).clipExtent([[c-.425*l+Ua,f+.12*l+Ua],[c-.214*l-Ua,f+.234*l-Ua]]).stream(u).point,o=s.translate([c-.205*l,f+.212*l]).clipExtent([[c-.214*l+Ua,f+.166*l+Ua],[c-.115*l-Ua,f+.234*l-Ua]]).stream(u).point,t},t.scale(1070)};var Bs,Hs,Gs,Vs,Ws,Ys,Ks={point:E,lineStart:E,lineEnd:E,polygonStart:function(){Hs=0,Ks.lineStart=$e},polygonEnd:function(){Ks.lineStart=Ks.lineEnd=Ks.point=E,Bs+=ka(Hs/2)}},Qs={point:Ze,lineStart:E,lineEnd:E,polygonStart:E,polygonEnd:E},Xs={point:en,lineStart:nn,lineEnd:rn,polygonStart:function(){Xs.lineStart=on},polygonEnd:function(){Xs.point=en,Xs.lineStart=nn,Xs.lineEnd=rn}};pa.geo.path=function(){function t(t){return t&&("function"==typeof s&&i.pointRadius(+s.apply(this,arguments)),a&&a.valid||(a=o(i)),pa.geo.stream(t,a)),i.result()}function e(){return a=null,t}var n,r,o,i,a,s=4.5;return t.area=function(t){return Bs=0,pa.geo.stream(t,o(Ks)),Bs},t.centroid=function(t){return Ts=Ds=Fs=Ps=Rs=Is=js=Ns=zs=0,pa.geo.stream(t,o(Xs)),zs?[js/zs,Ns/zs]:Is?[Ps/Is,Rs/Is]:Fs?[Ts/Fs,Ds/Fs]:[NaN,NaN]},t.bounds=function(t){return Ws=Ys=-(Gs=Vs=1/0),pa.geo.stream(t,o(Qs)),[[Gs,Vs],[Ws,Ys]]},t.projection=function(t){return arguments.length?(o=(n=t)?t.stream||un(t):w,e()):n},t.context=function(t){return arguments.length?(i=null==(r=t)?new Je:new an(t),"function"!=typeof s&&i.pointRadius(s),e()):r},t.pointRadius=function(e){return arguments.length?(s="function"==typeof e?e:(i.pointRadius(+e),+e),t):s},t.projection(pa.geo.albersUsa()).context(null)},pa.geo.transform=function(t){return{stream:function(e){var n=new ln(e);for(var r in t)n[r]=t[r];return n}}},ln.prototype={point:function(t,e){this.stream.point(t,e)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}},pa.geo.projection=fn,pa.geo.projectionMutator=dn,(pa.geo.equirectangular=function(){return fn(hn)}).raw=hn.invert=hn,pa.geo.rotation=function(t){function e(e){return e=t(e[0]*Wa,e[1]*Wa),e[0]*=Ya,e[1]*=Ya,e}return t=mn(t[0]%360*Wa,t[1]*Wa,t.length>2?t[2]*Wa:0),e.invert=function(e){return e=t.invert(e[0]*Wa,e[1]*Wa),e[0]*=Ya,e[1]*=Ya,e},e},gn.invert=hn,pa.geo.circle=function(){function t(){var t="function"==typeof r?r.apply(this,arguments):r,e=mn(-t[0]*Wa,-t[1]*Wa,0).invert,o=[];return n(null,null,1,{point:function(t,n){o.push(t=e(t,n)),t[0]*=Ya,t[1]*=Ya}}),{type:"Polygon",coordinates:[o]}}var e,n,r=[0,0],o=6;return t.origin=function(e){return arguments.length?(r=e,t):r},t.angle=function(r){return arguments.length?(n=_n((e=+r)*Wa,o*Wa),t):e},t.precision=function(r){return arguments.length?(n=_n(e*Wa,(o=+r)*Wa),t):o},t.angle(90)},pa.geo.distance=function(t,e){var n,r=(e[0]-t[0])*Wa,o=t[1]*Wa,i=e[1]*Wa,a=Math.sin(r),s=Math.cos(r),u=Math.sin(o),l=Math.cos(o),c=Math.sin(i),f=Math.cos(i);return Math.atan2(Math.sqrt((n=f*a)*n+(n=l*c-u*f*s)*n),u*c+l*f*s)},pa.geo.graticule=function(){function t(){return{type:"MultiLineString",coordinates:e()}}function e(){return pa.range(Math.ceil(i/m)*m,o,m).map(d).concat(pa.range(Math.ceil(l/v)*v,u,v).map(p)).concat(pa.range(Math.ceil(r/h)*h,n,h).filter(function(t){return ka(t%m)>Ua}).map(c)).concat(pa.range(Math.ceil(s/g)*g,a,g).filter(function(t){return ka(t%v)>Ua}).map(f))}var n,r,o,i,a,s,u,l,c,f,d,p,h=10,g=h,m=90,v=360,b=2.5;return t.lines=function(){return e().map(function(t){return{type:"LineString",coordinates:t}})},t.outline=function(){return{type:"Polygon",coordinates:[d(i).concat(p(u).slice(1),d(o).reverse().slice(1),p(l).reverse().slice(1))]}},t.extent=function(e){return arguments.length?t.majorExtent(e).minorExtent(e):t.minorExtent()},t.majorExtent=function(e){return arguments.length?(i=+e[0][0],o=+e[1][0],l=+e[0][1],u=+e[1][1],i>o&&(e=i,i=o,o=e),l>u&&(e=l,l=u,u=e),t.precision(b)):[[i,l],[o,u]]},t.minorExtent=function(e){return arguments.length?(r=+e[0][0],n=+e[1][0],s=+e[0][1],a=+e[1][1],r>n&&(e=r,r=n,n=e),s>a&&(e=s,s=a,a=e),t.precision(b)):[[r,s],[n,a]]},t.step=function(e){return arguments.length?t.majorStep(e).minorStep(e):t.minorStep()},t.majorStep=function(e){return arguments.length?(m=+e[0],v=+e[1],t):[m,v]},t.minorStep=function(e){return arguments.length?(h=+e[0],g=+e[1],t):[h,g]},t.precision=function(e){return arguments.length?(b=+e,c=wn(s,a,90),f=kn(r,n,b),d=wn(l,u,90),p=kn(i,o,b),t):b},t.majorExtent([[-180,-90+Ua],[180,90-Ua]]).minorExtent([[-180,-80-Ua],[180,80+Ua]])},pa.geo.greatArc=function(){function t(){return{type:"LineString",coordinates:[e||r.apply(this,arguments),n||o.apply(this,arguments)]}}var e,n,r=Sn,o=En;return t.distance=function(){return pa.geo.distance(e||r.apply(this,arguments),n||o.apply(this,arguments))},t.source=function(n){return arguments.length?(r=n,e="function"==typeof n?null:n,t):r},t.target=function(e){return arguments.length?(o=e,n="function"==typeof e?null:e,t):o},t.precision=function(){return arguments.length?t:0},t},pa.geo.interpolate=function(t,e){return Cn(t[0]*Wa,t[1]*Wa,e[0]*Wa,e[1]*Wa)},pa.geo.length=function(t){return $s=0,pa.geo.stream(t,Zs),$s};var $s,Zs={sphere:E,point:E,lineStart:An,lineEnd:E,polygonStart:E,polygonEnd:E},Js=On(function(t){return Math.sqrt(2/(1+t))},function(t){return 2*Math.asin(t/2)});(pa.geo.azimuthalEqualArea=function(){return fn(Js)}).raw=Js;var tu=On(function(t){var e=Math.acos(t);return e&&e/Math.sin(e)},w);(pa.geo.azimuthalEquidistant=function(){return fn(tu)}).raw=tu,(pa.geo.conicConformal=function(){return Qe(Mn)}).raw=Mn,(pa.geo.conicEquidistant=function(){return Qe(Tn)}).raw=Tn;var eu=On(function(t){return 1/t},Math.atan);(pa.geo.gnomonic=function(){return fn(eu)}).raw=eu,Dn.invert=function(t,e){return[t,2*Math.atan(Math.exp(e))-Va]},(pa.geo.mercator=function(){return Fn(Dn)}).raw=Dn;var nu=On(function(){return 1},Math.asin);(pa.geo.orthographic=function(){return fn(nu)}).raw=nu;var ru=On(function(t){return 1/(1+t)},function(t){return 2*Math.atan(t)});(pa.geo.stereographic=function(){return fn(ru)}).raw=ru,Pn.invert=function(t,e){return[-e,2*Math.atan(Math.exp(t))-Va]},(pa.geo.transverseMercator=function(){var t=Fn(Pn),e=t.center,n=t.rotate;return t.center=function(t){return t?e([-t[1],t[0]]):(t=e(),[t[1],-t[0]])},t.rotate=function(t){return t?n([t[0],t[1],t.length>2?t[2]+90:90]):(t=n(),[t[0],t[1],t[2]-90])},n([0,0,90])}).raw=Pn,pa.geom={},pa.geom.hull=function(t){function e(t){if(t.length<3)return[];var e,o=Dt(n),i=Dt(r),a=t.length,s=[],u=[];for(e=0;e=0;--e)p.push(t[s[l[e]][2]]);for(e=+f;e=r&&l.x<=i&&l.y>=o&&l.y<=a?[[r,a],[i,a],[i,o],[r,o]]:[]).point=t[s]}),e}function n(t){return t.map(function(t,e){return{x:Math.round(i(t,e)/Ua)*Ua,y:Math.round(a(t,e)/Ua)*Ua,i:e}})}var r=Rn,o=In,i=r,a=o,s=du;return t?e(t):(e.links=function(t){return dr(n(t)).edges.filter(function(t){return t.l&&t.r}).map(function(e){return{source:t[e.l.i],target:t[e.r.i]}})},e.triangles=function(t){var e=[];return dr(n(t)).cells.forEach(function(n,r){for(var o,i=n.site,a=n.edges.sort(Xn),s=-1,u=a.length,l=a[u-1].edge,c=l.l===i?l.r:l.l;++s=l,d=r>=c,p=d<<1|f;t.leaf=!1,t=t.nodes[p]||(t.nodes[p]=vr()),f?o=l:s=l,d?a=c:u=c,i(t,e,n,r,o,a,s,u)}var c,f,d,p,h,g,m,v,b,y=Dt(s),_=Dt(u);if(null!=e)g=e,m=n,v=r,b=o;else if(v=b=-(g=m=1/0),f=[],d=[],h=t.length,a)for(p=0;pv&&(v=c.x),c.y>b&&(b=c.y),f.push(c.x),d.push(c.y);else for(p=0;pv&&(v=x),w>b&&(b=w),f.push(x),d.push(w)}var k=v-g,S=b-m;k>S?b=m+k:v=g+S;var E=vr();if(E.add=function(t){i(E,t,+y(t,++p),+_(t,p),g,m,v,b)},E.visit=function(t){br(t,E,g,m,v,b)},E.find=function(t){return yr(E,t[0],t[1],g,m,v,b)},p=-1,null==e){for(;++p=0?t.slice(0,e):t,r=e>=0?t.slice(e+1):"in";return n=mu.get(n)||gu,r=vu.get(r)||w,Cr(r(n.apply(null,ha.call(arguments,1))))},pa.interpolateHcl=Lr,pa.interpolateHsl=Ur,pa.interpolateLab=qr,pa.interpolateRound=Br,pa.transform=function(t){var e=ma.createElementNS(pa.ns.prefix.svg,"g");return(pa.transform=function(t){if(null!=t){e.setAttribute("transform",t);var n=e.transform.baseVal.consolidate()}return new Hr(n?n.matrix:bu)})(t)},Hr.prototype.toString=function(){return"translate("+this.translate+")rotate("+this.rotate+")skewX("+this.skew+")scale("+this.scale+")"};var bu={a:1,b:0,c:0,d:1,e:0,f:0};pa.interpolateTransform=Zr,pa.layout={},pa.layout.bundle=function(){return function(t){for(var e=[],n=-1,r=t.length;++n0?o=t:(n.c=null,n.t=NaN,n=null,l.end({type:"end",alpha:o=0})):t>0&&(l.start({type:"start",alpha:o=t}),n=jt(u.tick)),u):o},u.start=function(){function t(t,r){if(!n){for(n=new Array(o),u=0;u=0;)a.push(c=l[u]),c.parent=i,c.depth=i.depth+1;r&&(i.value=0),i.children=l}else r&&(i.value=+r.call(t,i,i.depth)||0),delete i.children;return fo(o,function(t){var n,o;e&&(n=t.children)&&n.sort(e),r&&(o=t.parent)&&(o.value+=t.value)}),s}var e=go,n=po,r=ho;return t.sort=function(n){return arguments.length?(e=n,t):e},t.children=function(e){return arguments.length?(n=e,t):n},t.value=function(e){return arguments.length?(r=e,t):r},t.revalue=function(e){return r&&(co(e,function(t){t.children&&(t.value=0)}),fo(e,function(e){var n;e.children||(e.value=+r.call(t,e,e.depth)||0),(n=e.parent)&&(n.value+=e.value)})),e},t},pa.layout.partition=function(){function t(e,n,r,o){var i=e.children;if(e.x=n,e.y=e.depth*o,e.dx=r,e.dy=o,i&&(a=i.length)){var a,s,u,l=-1;for(r=e.value?r/e.value:0;++ls&&(s=r),a.push(r)}for(n=0;n0)for(i=-1;++i=c[0]&&s<=c[1]&&(a=u[pa.bisect(f,s,1,p)-1],a.y+=h,a.push(t[i]));return u}var e=!0,n=Number,r=Ao,o=Eo;return t.value=function(e){return arguments.length?(n=e,t):n},t.range=function(e){return arguments.length?(r=Dt(e),t):r},t.bins=function(e){return arguments.length?(o="number"==typeof e?function(t){return Co(t,e)}:Dt(e),t):o},t.frequency=function(n){return arguments.length?(e=!!n,t):e},t},pa.layout.pack=function(){function t(t,i){var a=n.call(this,t,i),s=a[0],u=o[0],l=o[1],c=null==e?Math.sqrt:"function"==typeof e?e:function(){return e};if(s.x=s.y=0,fo(s,function(t){t.r=+c(t.value)}),fo(s,Fo),r){var f=r*(e?1:Math.max(2*s.r/u,2*s.r/l))/2;fo(s,function(t){t.r+=f}),fo(s,Fo),fo(s,function(t){t.r-=f})}return Io(s,u/2,l/2,e?1:1/Math.max(2*s.r/u,2*s.r/l)),a}var e,n=pa.layout.hierarchy().sort(Oo),r=0,o=[1,1];return t.size=function(e){return arguments.length?(o=e,t):o},t.radius=function(n){return arguments.length?(e=null==n||"function"==typeof n?n:+n,t):e},t.padding=function(e){return arguments.length?(r=+e,t):r},lo(t,n)},pa.layout.tree=function(){function t(t,o){var c=a.call(this,t,o),f=c[0],d=e(f);if(fo(d,n),d.parent.m=-d.z,co(d,r),l)co(f,i);else{var p=f,h=f,g=f;co(f,function(t){t.xh.x&&(h=t),t.depth>g.depth&&(g=t)});var m=s(p,h)/2-p.x,v=u[0]/(h.x+s(h,p)/2+m),b=u[1]/(g.depth||1);co(f,function(t){t.x=(t.x+m)*v,t.y=t.depth*b})}return c}function e(t){for(var e,n={A:null,children:[t]},r=[n];null!=(e=r.pop());)for(var o,i=e.children,a=0,s=i.length;a0&&(Uo(Bo(a,t,n),t,r),l+=r,c+=r),f+=a.m,l+=o.m,d+=u.m,c+=i.m;a&&!Lo(i)&&(i.t=a,i.m+=f-c),o&&!zo(u)&&(u.t=o,u.m+=l-d,n=t)}return n}function i(t){t.x*=u[0],t.y=t.depth*u[1]}var a=pa.layout.hierarchy().sort(null).value(null),s=No,u=[1,1],l=null;return t.separation=function(e){return arguments.length?(s=e,t):s},t.size=function(e){return arguments.length?(l=null==(u=e)?i:null,t):l?null:u},t.nodeSize=function(e){return arguments.length?(l=null==(u=e)?null:i,t):l?u:null},lo(t,a)},pa.layout.cluster=function(){function t(t,i){var a,s=e.call(this,t,i),u=s[0],l=0;fo(u,function(t){var e=t.children;e&&e.length?(t.x=Go(e),t.y=Ho(e)):(t.x=a?l+=n(t,a):0,t.y=0,a=t)});var c=Vo(u),f=Wo(u),d=c.x-n(c,f)/2,p=f.x+n(f,c)/2;return fo(u,o?function(t){t.x=(t.x-u.x)*r[0],t.y=(u.y-t.y)*r[1]}:function(t){t.x=(t.x-d)/(p-d)*r[0],t.y=(1-(u.y?t.y/u.y:1))*r[1]}),s}var e=pa.layout.hierarchy().sort(null).value(null),n=No,r=[1,1],o=!1;return t.separation=function(e){return arguments.length?(n=e,t):n},t.size=function(e){return arguments.length?(o=null==(r=e),t):o?null:r},t.nodeSize=function(e){return arguments.length?(o=null!=(r=e),t):o?r:null},lo(t,e)},pa.layout.treemap=function(){function t(t,e){for(var n,r,o=-1,i=t.length;++o0;)c.push(a=d[u-1]),c.area+=a.area,"squarify"!==p||(s=r(c,g))<=h?(d.pop(),h=s):(c.area-=c.pop().area,o(c,g,l,!1),g=Math.min(l.dx,l.dy),c.length=c.area=0,h=1/0);c.length&&(o(c,g,l,!0),c.length=c.area=0),i.forEach(e)}}function n(e){var r=e.children;if(r&&r.length){var i,a=f(e),s=r.slice(),u=[];for(t(s,a.dx*a.dy/e.value),u.area=0;i=s.pop();)u.push(i),u.area+=i.area,null!=i.z&&(o(u,i.z?a.dx:a.dy,a,!s.length),u.length=u.area=0);r.forEach(n)}}function r(t,e){for(var n,r=t.area,o=0,i=1/0,a=-1,s=t.length;++ao&&(o=n));return r*=r,e*=e,r?Math.max(e*o*h/r,r/(e*i*h)):1/0}function o(t,e,n,r){var o,i=-1,a=t.length,s=n.x,l=n.y,c=e?u(t.area/e):0;if(e==n.dx){for((r||c>n.dy)&&(c=n.dy);++in.dx)&&(c=n.dx);++i1);return t+e*n*Math.sqrt(-2*Math.log(o)/o)}},logNormal:function(){var t=pa.random.normal.apply(pa,arguments);return function(){return Math.exp(t())}},bates:function(t){var e=pa.random.irwinHall(t);return function(){return e()/t}},irwinHall:function(t){return function(){for(var e=0,n=0;nf?0:1;if(l=Ga)return e(l,p)+(t?e(t,1-p):"")+"Z";var h,g,m,v,b,y,_,x,w,k,S,E,C=0,A=0,O=[];if((v=(+u.apply(this,arguments)||0)/2)&&(m=i===Pu?Math.sqrt(t*t+l*l):+i.apply(this,arguments),p||(A*=-1),l&&(A=at(m/l*Math.sin(v))),t&&(C=at(m/t*Math.sin(v)))),l){b=l*Math.cos(c+A),y=l*Math.sin(c+A),_=l*Math.cos(f-A),x=l*Math.sin(f-A);var M=Math.abs(f-c-2*A)<=Ba?0:1;if(A&&ki(b,y,_,x)===p^M){var T=(c+f)/2;b=l*Math.cos(T),y=l*Math.sin(T),_=x=null}}else b=y=0;if(t){w=t*Math.cos(f-C),k=t*Math.sin(f-C),S=t*Math.cos(c+C),E=t*Math.sin(c+C);var D=Math.abs(c-f+2*C)<=Ba?0:1;if(C&&ki(w,k,S,E)===1-p^D){var F=(c+f)/2;w=t*Math.cos(F),k=t*Math.sin(F),S=E=null}}else w=k=0;if(d>Ua&&(h=Math.min(Math.abs(l-t)/2,+o.apply(this,arguments)))>.001){g=tBa)+",1 "+e}function o(t,e,n,r){return"Q 0,0 "+r}var i=Sn,a=En,s=Ki,u=_i,l=xi;return t.radius=function(e){return arguments.length?(s=Dt(e),t):s},t.source=function(e){return arguments.length?(i=Dt(e),t):i},t.target=function(e){return arguments.length?(a=Dt(e),t):a},t.startAngle=function(e){return arguments.length?(u=Dt(e),t):u},t.endAngle=function(e){return arguments.length?(l=Dt(e),t):l},t},pa.svg.diagonal=function(){function t(t,o){var i=e.call(this,t,o),a=n.call(this,t,o),s=(i.y+a.y)/2,u=[i,{x:i.x,y:s},{x:a.x,y:s},a];return u=u.map(r),"M"+u[0]+"C"+u[1]+" "+u[2]+" "+u[3]}var e=Sn,n=En,r=Qi;return t.source=function(n){return arguments.length?(e=Dt(n),t):e},t.target=function(e){return arguments.length?(n=Dt(e),t):n},t.projection=function(e){return arguments.length?(r=e,t):r},t},pa.svg.diagonal.radial=function(){var t=pa.svg.diagonal(),e=Qi,n=t.projection;return t.projection=function(t){return arguments.length?n(Xi(e=t)):e},t},pa.svg.symbol=function(){function t(t,r){return(zu.get(e.call(this,t,r))||Ji)(n.call(this,t,r))}var e=Zi,n=$i;return t.type=function(n){return arguments.length?(e=Dt(n),t):e},t.size=function(e){return arguments.length?(n=Dt(e),t):n},t};var zu=pa.map({circle:Ji,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*Uu)),n=e*Uu;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/Lu),n=e*Lu/2;return"M0,"+n+"L"+e+","+-n+" "+-e+","+-n+"Z"},"triangle-up":function(t){var e=Math.sqrt(t/Lu),n=e*Lu/2;return"M0,"+-n+"L"+e+","+n+" "+-e+","+n+"Z"}});pa.svg.symbolTypes=zu.keys();var Lu=Math.sqrt(3),Uu=Math.tan(30*Wa);Fa.transition=function(t){for(var e,n,r=qu||++Vu,o=oa(t),i=[],a=Bu||{time:Date.now(),ease:Dr,delay:0,duration:250},s=-1,u=this.length;++srect,.s>rect").attr("width",f[1]-f[0])}function r(t){t.select(".extent").attr("y",d[0]),t.selectAll(".extent,.e>rect,.w>rect").attr("height",d[1]-d[0])}function o(){function o(){32==pa.event.keyCode&&(M||(y=null,D[0]-=f[1],D[1]-=d[1],M=2),O())}function g(){32==pa.event.keyCode&&2==M&&(D[0]+=f[1],D[1]+=d[1],M=0,O())}function m(){var t=pa.mouse(x),o=!1;_&&(t[0]+=_[0],t[1]+=_[1]),M||(pa.event.altKey?(y||(y=[(f[0]+f[1])/2,(d[0]+d[1])/2]),D[0]=f[+(t[0]6&&void 0!==arguments[6]&&arguments[6],f=[],d=o&&o>0?o:4e3;if("object"===(void 0===t?"undefined":r(t))&&!Array.isArray(t)){var p=this._firstDataPointTimestamp(t,e.from,a),h=i.default.utc(e.to),g=(0,i.default)(p),m=i.default.duration(1,n),v=((h.valueOf()-p.valueOf())/m.as("milliseconds")).toFixed(),b=v>d?(v/d).toFixed():1,y=0;for(g=s.default.startOfResolution(g,n);g.isBefore(h)||g.isSame(h);){if(y%b==0){var _=String(g.unix()),x=t[_],w=0;null!==x&&void 0!==x&&("object"===(void 0===x?"undefined":r(x))?x.hasOwnProperty(u)&&(w=x[u]):w=x),f.push({x:c?g.unix():g.valueOf(),y:l.default.normalizeGraphNumber(w)})}y+=1,g.add(m)}}return f}};exports.default=c,t.exports=exports.default},function(t,exports,e){t.exports=e(11)(81)},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=Object.assign||function(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{publishSource:!0,clientOffset:null},n=e.publishSource,r=e.clientOffset,o=e.getSourceClientOffset;(0,c.default)((0,d.default)(t),"Expected sourceIds to be an array.");var i=this.getMonitor(),a=this.getRegistry();(0,c.default)(!i.isDragging(),"Cannot call beginDrag while dragging.");for(var s=0;s=0;l--)if(i.canDragSource(t[l])){u=t[l];break}if(null!==u){var f=null;r&&((0,c.default)("function"==typeof o,"When clientOffset is provided, getSourceClientOffset must be a function."),f=o(u));var p=a.getSource(u),g=p.beginDrag(i,u);(0,c.default)((0,h.default)(g),"Item must be an object."),a.pinSource(u);var m=a.getSourceType(u);return{type:v,itemType:m,item:g,sourceId:u,clientOffset:r,sourceClientOffset:f,isSourcePublic:n}}}function o(){if(this.getMonitor().isDragging())return{type:b}}function i(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.clientOffset,r=void 0===n?null:n;(0,c.default)((0,d.default)(t),"Expected targetIds to be an array.");var o=t.slice(0),i=this.getMonitor(),a=this.getRegistry();(0,c.default)(i.isDragging(),"Cannot call hover while not dragging."),(0,c.default)(!i.didDrop(),"Cannot call hover after drop.");for(var s=0;s=0;p--){var h=o[p],g=a.getTargetType(h);(0,m.default)(g,f)||o.splice(p,1)}for(var v=0;v0&&void 0!==arguments[0]?arguments[0]:{},n=this.getMonitor(),r=this.getRegistry();(0,c.default)(n.isDragging(),"Cannot call drop while not dragging."),(0,c.default)(!n.didDrop(),"Cannot call drop twice during one drag operation.");var o=n.getTargetIds().filter(n.canDropOnTarget,n);o.reverse(),o.forEach(function(o,i){var a=r.getTarget(o),s=a.drop(n,o);(0,c.default)(void 0===s||(0,h.default)(s),"Drop result must either be an object or undefined."),void 0===s&&(s=0===i?{}:n.getDropResult()),t.store.dispatch({type:_,dropResult:u({},e,s)})})}function s(){var t=this.getMonitor(),e=this.getRegistry();(0,c.default)(t.isDragging(),"Cannot call endDrag while not dragging.");var n=t.getSourceId();return e.getSource(n,!0).endDrag(t,n),e.unpinSource(),{type:x}}Object.defineProperty(exports,"__esModule",{value:!0}),exports.END_DRAG=exports.DROP=exports.HOVER=exports.PUBLISH_DRAG_SOURCE=exports.BEGIN_DRAG=void 0;var u=Object.assign||function(t){for(var e=1;ee-o&&(i=new RegExp("\\.?0{1,"+(r-(e-o))+"}$"),s=s.replace(i,"")),s}function i(t,e,n){return 0===t._value&&null!==_.zeroFormat?_.zeroFormat:null===t._value&&null!==_.nullFormat?_.nullFormat:e.indexOf("$")>-1?a(t,e,n):e.indexOf("%")>-1?s(t,e,n):e.indexOf(":")>-1?c(t):e.indexOf("b")>-1||e.indexOf("ib")>-1?u(t,e,n):e.indexOf("o")>-1?l(t,e,n):f(t._value,e,n)}function a(t,e,n){var r,o,i=e.indexOf("$"),a=e.indexOf("("),s=e.indexOf("-"),u="";return e.indexOf(" $")>-1?(u=" ",e=e.replace(" $","")):e.indexOf("$ ")>-1?(u=" ",e=e.replace("$ ","")):e=e.replace("$",""),o=f(t._value,e,n),i<=1?o.indexOf("(")>-1||o.indexOf("-")>-1?(o=o.split(""),r=1,(i-1?(o=o.split(""),o.splice(-1,0,u+b[_.currentLanguage].currency.symbol),o=o.join("")):o=o+u+b[_.currentLanguage].currency.symbol,o}function s(t,e,n){var r,o="",i=100*t._value;return e.indexOf(" %")>-1?(o=" ",e=e.replace(" %","")):e=e.replace("%",""),r=f(i,e,n),r.indexOf(")")>-1?(r=r.split(""),r.splice(-1,0,o+"%"),r=r.join("")):r=r+o+"%",r}function u(t,e,n){var r,o,i,a=e.indexOf("ib")>-1?x.iec:x.bytes,s=t._value,u="";for(e.indexOf(" b")>-1||e.indexOf(" ib")>-1?(u=" ",e=e.replace(" ib","").replace(" b","")):e=e.replace("ib","").replace("b",""),r=0;r<=a.length;r++)if(o=Math.pow(1024,r),i=Math.pow(1024,r+1),null===s||0===s||s>=o&&s0&&(s/=o);break}return f(s,e,n)+u}function l(t,e,n){var r="";return e.indexOf(" o")>-1?(r=" ",e=e.replace(" o","")):e=e.replace("o",""),r+=b[_.currentLanguage].ordinal(t._value),f(t._value,e,n)+r}function c(t){var e=Math.floor(t._value/60/60),n=Math.floor((t._value-60*e*60)/60),r=Math.round(t._value-60*e*60-60*n);return e+":"+(n<10?"0"+n:n)+":"+(r<10?"0"+r:r)}function f(t,e,n){var r,i,a,s,u=!1,l=!1,c=!1,f="",d=!1,p=!1,h=!1,g=!1,m=!1,v="",y=!1;return null===t&&(t=0),r=Math.abs(t),e.indexOf("(")>-1?(u=!0,e=e.slice(1,-1)):e.indexOf("+")>-1&&(l=!0,e=e.replace(/\+/g,"")),e.indexOf("a")>-1&&(d=e.indexOf("aK")>=0,p=e.indexOf("aM")>=0,h=e.indexOf("aB")>=0,g=e.indexOf("aT")>=0,m=d||p||h||g,e.indexOf(" a")>-1&&(f=" "),e=e.replace(new RegExp(f+"a[KMBT]?"),""),r>=Math.pow(10,12)&&!m||g?(f+=b[_.currentLanguage].abbreviations.trillion,t/=Math.pow(10,12)):r=Math.pow(10,9)&&!m||h?(f+=b[_.currentLanguage].abbreviations.billion,t/=Math.pow(10,9)):r=Math.pow(10,6)&&!m||p?(f+=b[_.currentLanguage].abbreviations.million,t/=Math.pow(10,6)):(r=Math.pow(10,3)&&!m||d)&&(f+=b[_.currentLanguage].abbreviations.thousand,t/=Math.pow(10,3))),e.indexOf("[.]")>-1&&(c=!0,e=e.replace("[.]",".")),i=t.toString().split(".")[0],a=e.split(".")[1],s=e.indexOf(","),a?(a.indexOf("[")>-1?(a=a.replace("]",""),a=a.split("["),v=o(t,a[0].length+a[1].length,n,a[1].length)):v=o(t,a.length,n),i=v.split(".")[0],v=v.indexOf(".")>-1?b[_.currentLanguage].delimiters.decimal+v.split(".")[1]:"",c&&0===Number(v.slice(1))&&(v="")):i=o(t,null,n),i.indexOf("-")>-1&&(i=i.slice(1),y=!0),s>-1&&(i=i.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+b[_.currentLanguage].delimiters.thousands)),0===e.indexOf(".")&&(i=""),(u&&y?"(":"")+(!u&&y?"-":"")+(!y&&l?"+":"")+i+v+(f||"")+(u&&y?")":"")}function d(t,e){var n,r,o,i,a,s,u=e,l=!1;if(e.indexOf(":")>-1)s=p(e);else if(e===_.zeroFormat||e===_.nullFormat)s=0;else{for("."!==b[_.currentLanguage].delimiters.decimal&&(e=e.replace(/\./g,"").replace(b[_.currentLanguage].delimiters.decimal,".")),n=new RegExp("[^a-zA-Z]"+b[_.currentLanguage].abbreviations.thousand+"(?:\\)|(\\"+b[_.currentLanguage].currency.symbol+")?(?:\\))?)?$"),r=new RegExp("[^a-zA-Z]"+b[_.currentLanguage].abbreviations.million+"(?:\\)|(\\"+b[_.currentLanguage].currency.symbol+")?(?:\\))?)?$"),o=new RegExp("[^a-zA-Z]"+b[_.currentLanguage].abbreviations.billion+"(?:\\)|(\\"+b[_.currentLanguage].currency.symbol+")?(?:\\))?)?$"),i=new RegExp("[^a-zA-Z]"+b[_.currentLanguage].abbreviations.trillion+"(?:\\)|(\\"+b[_.currentLanguage].currency.symbol+")?(?:\\))?)?$"),a=1;a<=x.bytes.length&&!(l=(e.indexOf(x.bytes[a])>-1||e.indexOf(x.iec[a])>-1)&&Math.pow(1024,a));a++);s=l||1,s*=u.match(n)?Math.pow(10,3):1,s*=u.match(r)?Math.pow(10,6):1,s*=u.match(o)?Math.pow(10,9):1,s*=u.match(i)?Math.pow(10,12):1,s*=e.indexOf("%")>-1?.01:1,s*=(e.split("-").length+Math.min(e.split("(").length-1,e.split(")").length-1))%2?1:-1,s*=Number(e.replace(/[^0-9\.]+/g,"")),s=l?Math.ceil(s):s}return t._value=s,t._value}function p(t){var e=t.split(":"),n=0;return 3===e.length?(n+=60*Number(e[0])*60,n+=60*Number(e[1]),n+=Number(e[2])):2===e.length&&(n+=60*Number(e[0]),n+=Number(e[1])),Number(n)}function h(t,e){b[t]=e}function g(t){var e=t.toString().split(".");return e.length<2?1:Math.pow(10,e[1].length)}function m(){return Array.prototype.slice.call(arguments).reduce(function(t,e){var n=g(t),r=g(e);return n>r?n:r},-1/0)}var v,b={},y={currentLanguage:"en",zeroFormat:null,nullFormat:null,defaultFormat:"0,0"},_={currentLanguage:y.currentLanguage,zeroFormat:y.zeroFormat,nullFormat:y.nullFormat,defaultFormat:y.defaultFormat},x={bytes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"],iec:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]};v=function(t){return t=v.isNumeral(t)?t.value():0===t||void 0===t?0:null===t?null:Number(t)?Number(t):v.fn.unformat(t),new e(t)},v.version="1.5.6",v.isNumeral=function(t){return t instanceof e},v.language=function(t,e){if(!t)return _.currentLanguage;if((t=t.toLowerCase())&&!e){if(!b[t])throw new Error("Unknown language : "+t);_.currentLanguage=t}return!e&&b[t]||h(t,e),v},v.reset=function(){for(var t in y)_[t]=y[t]},v.languageData=function(t){if(!t)return b[_.currentLanguage];if(!b[t])throw new Error("Unknown language : "+t);return b[t]},v.language("en",{delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(t){var e=t%10;return 1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th"},currency:{symbol:"$"}}),v.zeroFormat=function(t){_.zeroFormat="string"==typeof t?t:null},v.nullFormat=function(t){_.nullFormat="string"==typeof t?t:null},v.defaultFormat=function(t){_.defaultFormat="string"==typeof t?t:"0.0"},v.validate=function(t,e){var n,r,o,i,a,s,u,l;if("string"!=typeof t&&(t+="",console.warn&&console.warn("Numeral.js: Value is not string. It has been co-erced to: ",t)),t=t.trim(),t.match(/^\d+$/))return!0;if(""===t)return!1;try{u=v.languageData(e)}catch(t){u=v.languageData(v.language())}return o=u.currency.symbol,a=u.abbreviations,n=u.delimiters.decimal,r="."===u.delimiters.thousands?"\\.":u.delimiters.thousands,(null===(l=t.match(/^[^\d]+/))||(t=t.substr(1),l[0]===o))&&((null===(l=t.match(/[^\d]+$/))||(t=t.slice(0,-1),l[0]===a.thousand||l[0]===a.million||l[0]===a.billion||l[0]===a.trillion))&&(s=new RegExp(r+"{2}"),!t.match(/[^\d.,]/g)&&(i=t.split(n),!(i.length>2)&&(i.length<2?!!i[0].match(/^\d+.*\d$/)&&!i[0].match(s):1===i[0].length?!!i[0].match(/^\d+$/)&&!i[0].match(s)&&!!i[1].match(/^\d+$/):!!i[0].match(/^\d+.*\d$/)&&!i[0].match(s)&&!!i[1].match(/^\d+$/)))))},Array.prototype.reduce||(Array.prototype.reduce=function(t){"use strict";if(null===this)throw new TypeError("Array.prototype.reduce called on null or undefined");if("function"!=typeof t)throw new TypeError(t+" is not a function");var e,n=Object(this),r=n.length>>>0,o=0;if(2===arguments.length)e=arguments[1];else{for(;o=r)throw new TypeError("Reduce of empty array with no initial value");e=n[o++]}for(;o0){var e=t.data[0].x,n=t.data[0].y;if("number"!=typeof e||"number"!=typeof n&&null!==n)throw"x and y properties of points should be numbers instead of "+typeof e+" and "+typeof n}if(t.data.length>=3&&(t.data[2].xthis.window.xMax&&(e=!1),e}return!0},this.onUpdate=function(t){this.updateCallbacks.push(t)},this.onConfigure=function(t){this.configureCallbacks.push(t)},this.registerRenderer=function(t){this._renderers=this._renderers||{},this._renderers[t.name]=t},this.configure=function(t){this.config=this.config||{},(t.width||t.height)&&this.setSize(t),e.keys(this.defaults).forEach(function(e){this.config[e]=e in t?t[e]:e in this?this[e]:this.defaults[e]},this),e.keys(this.config).forEach(function(t){this[t]=this.config[t]},this),"stack"in t&&(t.unstack=!t.stack);var n=t.renderer||this.renderer&&this.renderer.name||"stack";this.setRenderer(n,t),this.configureCallbacks.forEach(function(e){e(t)})},this.setRenderer=function(t,e){if("function"==typeof t)this.renderer=new t({graph:r}),this.registerRenderer(this.renderer);else{if(!this._renderers[t])throw"couldn't find renderer "+t;this.renderer=this._renderers[t]}"object"==typeof e&&this.renderer.configure(e)},this.setSize=function(t){if(t=t||{},"undefined"!=typeof window)var e=window.getComputedStyle(this.element,null),n=parseInt(e.getPropertyValue("width"),10),r=parseInt(e.getPropertyValue("height"),10);this.width=t.width||n||400,this.height=t.height||r||250,this.vis&&this.vis.attr("width",this.width).attr("height",this.height)},this.initialize(n)},e.namespace("Rickshaw.Fixtures.Color"),e.Fixtures.Color=function(){this.schemes={},this.schemes.spectrum14=["#ecb796","#dc8f70","#b2a470","#92875a","#716c49","#d2ed82","#bbe468","#a1d05d","#e7cbe6","#d8aad6","#a888c2","#9dc2d3","#649eb9","#387aa3"].reverse(),this.schemes.spectrum2000=["#57306f","#514c76","#646583","#738394","#6b9c7d","#84b665","#a7ca50","#bfe746","#e2f528","#fff726","#ecdd00","#d4b11d","#de8800","#de4800","#c91515","#9a0000","#7b0429","#580839","#31082b"],this.schemes.spectrum2001=["#2f243f","#3c2c55","#4a3768","#565270","#6b6b7c","#72957f","#86ad6e","#a1bc5e","#b8d954","#d3e04e","#ccad2a","#cc8412","#c1521d","#ad3821","#8a1010","#681717","#531e1e","#3d1818","#320a1b"],this.schemes.classic9=["#423d4f","#4a6860","#848f39","#a2b73c","#ddcb53","#c5a32f","#7d5836","#963b20","#7c2626","#491d37","#2f254a"].reverse(),this.schemes.httpStatus={503:"#ea5029",502:"#d23f14",500:"#bf3613",410:"#efacea",409:"#e291dc",403:"#f457e8",408:"#e121d2",401:"#b92dae",405:"#f47ceb",404:"#a82a9f",400:"#b263c6",301:"#6fa024",302:"#87c32b",307:"#a0d84c",304:"#28b55c",200:"#1a4f74",206:"#27839f",201:"#52adc9",202:"#7c979f",203:"#a5b8bd",204:"#c1cdd1"},this.schemes.colorwheel=["#b5b6a9","#858772","#785f43","#96557e","#4682b4","#65b9ac","#73c03a","#cb513a"].reverse(),this.schemes.cool=["#5e9d2f","#73c03a","#4682b4","#7bc3b8","#a9884e","#c1b266","#a47493","#c09fb5"],this.schemes.munin=["#00cc00","#0066b3","#ff8000","#ffcc00","#330099","#990099","#ccff00","#ff0000","#808080","#008f00","#00487d","#b35a00","#b38f00","#6b006b","#8fb300","#b30000","#bebebe","#80ff80","#80c9ff","#ffc080","#ffe680","#aa80ff","#ee00cc","#ff8080","#666600","#ffbfff","#00ffcc","#cc6699","#999900"]},e.namespace("Rickshaw.Fixtures.RandomData"),e.Fixtures.RandomData=function(t){t=t||1;var e=200,n=Math.floor((new Date).getTime()/1e3);this.addData=function(r){var o=100*Math.random()+15+e,i=r[0].length,a=1;r.forEach(function(e){var r=20*Math.random(),s=o/25+a+++15*(Math.cos(i*a*11/960)+2)+7*(Math.cos(i/7)+2)+1*(Math.cos(i/17)+2);e.push({x:i*t+n,y:s+r})}),e=.85*o},this.removeData=function(e){e.forEach(function(t){t.shift()}),n+=t}},e.namespace("Rickshaw.Fixtures.Time"),e.Fixtures.Time=function(){var e=this;this.months=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],this.units=[{name:"decade",seconds:315576e3,formatter:function(t){return 10*parseInt(t.getUTCFullYear()/10,10)}},{name:"year",seconds:31557600,formatter:function(t){return t.getUTCFullYear()}},{name:"month",seconds:2635200,formatter:function(t){return e.months[t.getUTCMonth()]}},{name:"week",seconds:604800,formatter:function(t){return e.formatDate(t)}},{name:"day",seconds:86400,formatter:function(t){return t.getUTCDate()}},{name:"6 hour",seconds:21600,formatter:function(t){return e.formatTime(t)}},{name:"hour",seconds:3600,formatter:function(t){return e.formatTime(t)}},{name:"15 minute",seconds:900,formatter:function(t){return e.formatTime(t)}},{name:"minute",seconds:60,formatter:function(t){return t.getUTCMinutes()+"m"}},{name:"15 second",seconds:15,formatter:function(t){return t.getUTCSeconds()+"s"}},{name:"second",seconds:1,formatter:function(t){return t.getUTCSeconds()+"s"}},{name:"decisecond",seconds:.1,formatter:function(t){return t.getUTCMilliseconds()+"ms"}},{name:"centisecond",seconds:.01,formatter:function(t){return t.getUTCMilliseconds()+"ms"}}],this.unit=function(t){return this.units.filter(function(e){return t==e.name}).shift()},this.formatDate=function(e){return t.time.format("%b %e")(e)},this.formatTime=function(t){return t.toUTCString().match(/(\d+:\d+):/)[1]},this.ceil=function(t,e){var n,r;if("month"==e.name){if(n=new Date(1e3*t),Date.UTC(n.getUTCFullYear(),n.getUTCMonth())/1e3==t)return t;r=n.getUTCFullYear();var o=n.getUTCMonth();return 11==o?(o=0,r+=1):o+=1,Date.UTC(r,o)/1e3}return"year"==e.name?(n=new Date(1e3*t),Date.UTC(n.getUTCFullYear(),0)/1e3==t?t:(r=n.getUTCFullYear()+1,Date.UTC(r,0)/1e3)):Math.ceil(t/e.seconds)*e.seconds}},e.namespace("Rickshaw.Fixtures.Time.Local"),e.Fixtures.Time.Local=function(){var e=this;this.months=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],this.units=[{name:"decade",seconds:315576e3,formatter:function(t){return 10*parseInt(t.getFullYear()/10,10)}},{name:"year",seconds:31557600,formatter:function(t){return t.getFullYear()}},{name:"month",seconds:2635200,formatter:function(t){return e.months[t.getMonth()]}},{name:"week",seconds:604800,formatter:function(t){return e.formatDate(t)}},{name:"day",seconds:86400,formatter:function(t){return t.getDate()}},{name:"6 hour",seconds:21600,formatter:function(t){return e.formatTime(t)}},{name:"hour",seconds:3600,formatter:function(t){return e.formatTime(t)}},{name:"15 minute",seconds:900,formatter:function(t){return e.formatTime(t)}},{name:"minute",seconds:60,formatter:function(t){return t.getMinutes()}},{name:"15 second",seconds:15,formatter:function(t){return t.getSeconds()+"s"}},{name:"second",seconds:1,formatter:function(t){return t.getSeconds()+"s"}},{name:"decisecond",seconds:.1,formatter:function(t){return t.getMilliseconds()+"ms"}},{name:"centisecond",seconds:.01,formatter:function(t){return t.getMilliseconds()+"ms"}}],this.unit=function(t){return this.units.filter(function(e){return t==e.name}).shift()},this.formatDate=function(e){return t.time.format("%b %e")(e)},this.formatTime=function(t){return t.toString().match(/(\d+:\d+):/)[1]},this.ceil=function(t,e){var n,r,o;if("day"==e.name){var i=new Date(1e3*(t+e.seconds-1)),a=new Date(0);return a.setFullYear(i.getFullYear()),a.setMonth(i.getMonth()),a.setDate(i.getDate()),a.setMilliseconds(0),a.setSeconds(0),a.setMinutes(0),a.setHours(0),a.getTime()/1e3}if("month"==e.name){if(n=new Date(1e3*t),new Date(n.getFullYear(),n.getMonth()).getTime()/1e3==t)return t;r=n.getFullYear();var s=n.getMonth();return 11==s?(s=0,r+=1):s+=1,new Date(r,s).getTime()/1e3}return"year"==e.name?(n=new Date(1e3*t),new Date(n.getUTCFullYear(),0).getTime()/1e3==t?t:(r=n.getFullYear()+1,new Date(r,0).getTime()/1e3)):(o=60*new Date(1e3*t).getTimezoneOffset(),Math.ceil((t-o)/e.seconds)*e.seconds+o)}},e.namespace("Rickshaw.Fixtures.Number"),e.Fixtures.Number.formatKMBT=function(t){var e=Math.abs(t);return e>=1e12?t/1e12+"T":e>=1e9?t/1e9+"B":e>=1e6?t/1e6+"M":e>=1e3?t/1e3+"K":e<1&&e>0?t.toFixed(2):0===e?"":t},e.Fixtures.Number.formatBase1024KMGTP=function(t){var e=Math.abs(t);return e>=0x4000000000000?t/0x4000000000000+"P":e>=1099511627776?t/1099511627776+"T":e>=1073741824?t/1073741824+"G":e>=1048576?t/1048576+"M":e>=1024?t/1024+"K":e<1&&e>0?t.toFixed(2):0===e?"":t},e.namespace("Rickshaw.Color.Palette"),e.Color.Palette=function(n){var r=new e.Fixtures.Color;if(n=n||{},this.schemes={},this.scheme=r.schemes[n.scheme]||n.scheme||r.schemes.colorwheel,this.runningIndex=0,this.generatorIndex=0,n.interpolatedStopCount){var o,i,a=this.scheme.length-1,s=[];for(o=0;on.graph.x.range()[1])return e.element&&(e.line.classList.add("offscreen"),e.element.style.display="none"),void e.boxes.forEach(function(t){t.rangeElement&&t.rangeElement.classList.add("offscreen")});if(!e.element){var o=e.element=document.createElement("div");o.classList.add("annotation"),this.elements.timeline.appendChild(o),o.addEventListener("click",function(t){o.classList.toggle("active"),e.line.classList.toggle("active"),e.boxes.forEach(function(t){t.rangeElement&&t.rangeElement.classList.toggle("active")})},!1)}e.element.style.left=r+"px",e.element.style.display="block",e.boxes.forEach(function(t){var o=t.element;if(o||(o=t.element=document.createElement("div"),o.classList.add("content"),o.innerHTML=t.content,e.element.appendChild(o),e.line=document.createElement("div"),e.line.classList.add("annotation_line"),n.graph.element.appendChild(e.line),t.end&&(t.rangeElement=document.createElement("div"),t.rangeElement.classList.add("annotation_range"),n.graph.element.appendChild(t.rangeElement))),t.end){var i=r,a=Math.min(n.graph.x(t.end),n.graph.x.range()[1]);i>a&&(a=r,i=Math.max(n.graph.x(t.end),n.graph.x.range()[0]));var s=a-i;t.rangeElement.style.left=i+"px",t.rangeElement.style.width=s+"px",t.rangeElement.classList.remove("offscreen")}e.line.classList.remove("offscreen"),e.line.style.left=r+"px"})},this)},this.graph.onUpdate(function(){n.update()})},e.namespace("Rickshaw.Graph.Axis.Time"),e.Graph.Axis.Time=function(t){var n=this;this.graph=t.graph,this.elements=[],this.ticksTreatment=t.ticksTreatment||"plain",this.fixedTimeUnit=t.timeUnit;var r=t.timeFixture||new e.Fixtures.Time;this.appropriateTimeUnit=function(){var t,e=r.units,n=this.graph.x.domain(),o=n[1]-n[0];return e.forEach(function(e){Math.floor(o/e.seconds)>=2&&(t=t||e)}),t||r.units[r.units.length-1]},this.tickOffsets=function(){for(var t=this.graph.x.domain(),e=this.fixedTimeUnit||this.appropriateTimeUnit(),n=Math.ceil((t[1]-t[0])/e.seconds),o=t[0],i=[],a=0;an.graph.x.range()[1])){var e=document.createElement("div");e.style.left=n.graph.x(t.value)+"px",e.classList.add("x_tick"),e.classList.add(n.ticksTreatment);var r=document.createElement("div");r.classList.add("title"),r.innerHTML=t.unit.formatter(new Date(1e3*t.value)),e.appendChild(r),n.graph.element.appendChild(e),n.elements.push(e)}})},this.graph.onUpdate(function(){n.render()})},e.namespace("Rickshaw.Graph.Axis.X"),e.Graph.Axis.X=function(e){var n=this;this.initialize=function(e){this.graph=e.graph,this.orientation=e.orientation||"top",this.pixelsPerTick=e.pixelsPerTick||75,e.ticks&&(this.staticTicks=e.ticks),e.tickValues&&(this.tickValues=e.tickValues),this.tickSize=e.tickSize||4,this.ticksTreatment=e.ticksTreatment||"plain",e.element?(this.element=e.element,this._discoverSize(e.element,e),this.vis=t.select(e.element).append("svg:svg").attr("height",this.height).attr("width",this.width).attr("class","rickshaw_graph x_axis_d3"),this.element=this.vis[0][0],this.element.style.position="relative",this.setSize({width:e.width,height:e.height})):this.vis=this.graph.vis,this.graph.onUpdate(function(){n.render()})},this.setSize=function(t){if(t=t||{},this.element){this._discoverSize(this.element.parentNode,t),this.vis.attr("height",this.height).attr("width",1.1*this.width);var e=Math.floor(.1*this.width/2);this.element.style.left=-1*e+"px"}},this.render=function(){void 0!==this._renderWidth&&this.graph.width!==this._renderWidth&&this.setSize({auto:!0});var n=t.svg.axis().scale(this.graph.x).orient(this.orientation);n.tickFormat(e.tickFormat||function(t){return t}),this.tickValues&&n.tickValues(this.tickValues),this.ticks=this.staticTicks||Math.floor(this.graph.width/this.pixelsPerTick);var r,o=Math.floor(.1*this.width/2)||0,i="bar"==this.graph.renderer.name&&Math.ceil(.95*this.graph.width/this.graph.series[0].data.length/2)||0;if("top"==this.orientation){r="translate("+(o+i)+","+(this.height||this.graph.height)+")"}else r="translate("+(o+i)+", 0)";this.element&&this.vis.selectAll("*").remove(),this.vis.append("svg:g").attr("class",["x_ticks_d3",this.ticksTreatment].join(" ")).attr("transform",r).call(n.ticks(this.ticks).tickSubdivide(0).tickSize(this.tickSize));var a=("bottom"==this.orientation?1:-1)*this.graph.height;this.graph.vis.append("svg:g").attr("class","x_grid_d3").call(n.ticks(this.ticks).tickSubdivide(0).tickSize(a)).selectAll("text").each(function(){this.parentNode.setAttribute("data-x-value",this.textContent)}),this._renderHeight=this.graph.height},this._discoverSize=function(t,e){if("undefined"!=typeof window){var n=window.getComputedStyle(t,null),r=parseInt(n.getPropertyValue("height"),10);if(!e.auto)var o=parseInt(n.getPropertyValue("width"),10)}this.width=1.1*(e.width||o||this.graph.width),this.height=e.height||r||40},this.initialize(e)},e.namespace("Rickshaw.Graph.Axis.Y"),e.Graph.Axis.Y=e.Class.create({initialize:function(e){this.graph=e.graph,this.orientation=e.orientation||"right",this.pixelsPerTick=e.pixelsPerTick||75,e.ticks&&(this.staticTicks=e.ticks),e.tickValues&&(this.tickValues=e.tickValues),this.tickSize=e.tickSize||4,this.ticksTreatment=e.ticksTreatment||"plain",this.tickFormat=e.tickFormat||function(t){return t},this.berthRate=.1,e.element?(this.element=e.element,this.vis=t.select(e.element).append("svg:svg").attr("class","rickshaw_graph y_axis"),this.element=this.vis[0][0],this.element.style.position="relative",this.setSize({width:e.width,height:e.height})):this.vis=this.graph.vis;var n=this;this.graph.onUpdate(function(){n.render()})},setSize:function(t){if(t=t||{},this.element){if("undefined"!=typeof window){var e=window.getComputedStyle(this.element.parentNode,null),n=parseInt(e.getPropertyValue("width"),10);if(!t.auto)var r=parseInt(e.getPropertyValue("height"),10)}this.width=t.width||n||this.graph.width*this.berthRate,this.height=t.height||r||this.graph.height,this.vis.attr("width",this.width).attr("height",this.height*(1+this.berthRate));var o=this.height*this.berthRate;"left"==this.orientation&&(this.element.style.top=-1*o+"px")}},render:function(){void 0!==this._renderHeight&&this.graph.height!==this._renderHeight&&this.setSize({auto:!0}),this.ticks=this.staticTicks||Math.floor(this.graph.height/this.pixelsPerTick);var t=this._drawAxis(this.graph.y);this._drawGrid(t),this._renderHeight=this.graph.height},_drawAxis:function(e){var n=t.svg.axis().scale(e).orient(this.orientation);if(n.tickFormat(this.tickFormat),this.tickValues&&n.tickValues(this.tickValues),"left"==this.orientation)var r=this.height*this.berthRate,o="translate("+this.width+", "+r+")";return this.element&&this.vis.selectAll("*").remove(),this.vis.append("svg:g").attr("class",["y_ticks",this.ticksTreatment].join(" ")).attr("transform",o).call(n.ticks(this.ticks).tickSubdivide(0).tickSize(this.tickSize)),n},_drawGrid:function(t){var e=("right"==this.orientation?1:-1)*this.graph.width;this.graph.vis.append("svg:g").attr("class","y_grid").call(t.ticks(this.ticks).tickSubdivide(0).tickSize(e)).selectAll("text").each(function(){this.parentNode.setAttribute("data-y-value",this.textContent)})}}),e.namespace("Rickshaw.Graph.Axis.Y.Scaled"),e.Graph.Axis.Y.Scaled=e.Class.create(e.Graph.Axis.Y,{initialize:function($super,t){if(void 0===t.scale)throw new Error("Scaled requires scale");this.scale=t.scale,void 0===t.grid?this.grid=!0:this.grid=t.grid,$super(t)},_drawAxis:function($super,e){var n=this.scale.domain(),r=this.graph.renderer.domain().y,o=[Math.min.apply(Math,n),Math.max.apply(Math,n)],i=t.scale.linear().domain([0,1]).range(o),a=[i(r[0]),i(r[1])],s=t.scale.linear().domain(o).range(a);return $super(this.scale.copy().domain(n.map(s)).range(e.range()))},_drawGrid:function($super,t){this.grid&&$super(t)}}),e.namespace("Rickshaw.Graph.Behavior.Series.Highlight"),e.Graph.Behavior.Series.Highlight=function(e){this.graph=e.graph,this.legend=e.legend;var n=this,r={},o=null,i=e.disabledColor||function(e){return t.interpolateRgb(e,t.rgb("#d8d8d8"))(.8).toString()};this.addHighlightEvents=function(t){t.element.addEventListener("mouseover",function(e){o||(o=t,n.legend.lines.forEach(function(e){if(t!==e)r[e.series.name]=r[e.series.name]||e.series.color,e.series.color=i(e.series.color);else if(n.graph.renderer.unstack&&(!e.series.renderer||e.series.renderer.unstack)){var o=n.graph.series.indexOf(e.series);e.originalIndex=o;var a=n.graph.series.splice(o,1)[0];n.graph.series.push(a)}}),n.graph.update())},!1),t.element.addEventListener("mouseout",function(e){o&&(o=null,n.legend.lines.forEach(function(e){if(t===e&&e.hasOwnProperty("originalIndex")){var o=n.graph.series.pop();n.graph.series.splice(e.originalIndex,0,o),delete e.originalIndex}r[e.series.name]&&(e.series.color=r[e.series.name])}),n.graph.update())},!1)},this.legend&&this.legend.lines.forEach(function(t){n.addHighlightEvents(t)})},e.namespace("Rickshaw.Graph.Behavior.Series.Order"),e.Graph.Behavior.Series.Order=function(t){this.graph=t.graph,this.legend=t.legend;var e=this;if(void 0===window.jQuery)throw"couldn't find jQuery at window.jQuery";if(void 0===window.jQuery.ui)throw"couldn't find jQuery UI at window.jQuery.ui";jQuery(function(){jQuery(e.legend.list).sortable({containment:"parent",tolerance:"pointer",update:function(t,n){var r=[];jQuery(e.legend.list).find("li").each(function(t,e){e.series&&r.push(e.series)});for(var o=e.graph.series.length-1;o>=0;o--)e.graph.series[o]=r.shift();e.graph.update()}}),jQuery(e.legend.list).disableSelection()}),this.graph.onUpdate(function(){var t=window.getComputedStyle(e.legend.element).height;e.legend.element.style.height=t})},e.namespace("Rickshaw.Graph.Behavior.Series.Toggle"),e.Graph.Behavior.Series.Toggle=function(t){this.graph=t.graph,this.legend=t.legend;var e=this;this.addAnchor=function(t){var n=document.createElement("a");n.innerHTML="✔",n.classList.add("action"),t.element.insertBefore(n,t.element.firstChild),n.onclick=function(n){if(t.series.disabled)t.series.enable(),t.element.classList.remove("disabled");else{if(this.graph.series.filter(function(t){return!t.disabled}).length<=1)return;t.series.disable(),t.element.classList.add("disabled")}e.graph.update()}.bind(this),t.element.getElementsByTagName("span")[0].onclick=function(n){var r=t.series.disabled;if(!r)for(var o=0;ou.svgWidth-1||e<1)){var n=[c.startPX,e].sort(i),r=n[1]-n[0];if(isNaN(r))return o(this);s.attr("fill",u.fill).attr("x",n[0]).attr("width",r)}}function r(){var r=t.select(this);s=r.append("rect").style("opacity",u.opacity).attr("y",0).attr("height","100%"),t.event.preventDefault?t.event.preventDefault():t.event.returnValue=!1,c.target=t.event.target,c.startDt=a(t.event),c.startPX=t.event.offsetX||t.event.layerX,r.on("mousemove",n),t.select(document).on("mouseup",e),t.select(document).on("keyup",function(){t.event.keyCode===l&&o(this)})}function o(e){t.select(e).on("mousemove",null),t.select(document).on("mouseup",null),c={},s.remove()}function i(t,e){return t-e}function a(t){return Math.floor(u.graph.x.invert(t.offsetX||t.layerX))}var s,u=this,l=27,c={startDt:null,stopDt:null,startPX:null,stopPX:null};this.svg.on("mousedown",r)}}),e.namespace("Rickshaw.Graph.HoverDetail"),e.Graph.HoverDetail=e.Class.create({initialize:function(t){var e=this.graph=t.graph;this.xFormatter=t.xFormatter||function(t){return new Date(1e3*t).toUTCString()},this.yFormatter=t.yFormatter||function(t){return null===t?t:t.toFixed(2)};var n=this.element=document.createElement("div");n.className="detail inactive",this.visible=!0,e.element.appendChild(n),this.lastEvent=null,this._addListeners(),this.onShow=t.onShow,this.onHide=t.onHide,this.onRender=t.onRender,this.formatter=t.formatter||this.formatter},formatter:function(t,e,n,r,o,i){return t.name+": "+o},update:function(e){if((e=e||this.lastEvent)&&(this.lastEvent=e,e.target.nodeName.match(/^(path|svg|rect|circle)$/))){var n,r=this.graph,o=e.layerX||e.offsetX,i=e.layerY||e.offsetY,a=0,s=[];if(this.graph.series.active().forEach(function(e){var u=this.graph.stackedData[a++];if(u.length){var l=r.x.invert(o),c=t.scale.linear().domain([u[0].x,u.slice(-1)[0].x]).range([0,u.length-1]),f=Math.round(c(l));f==u.length-1&&f--;for(var d=Math.min(f||0,u.length-1),p=f;pl){d=Math.abs(l-u[p].x)0){f.forEach(function(t){t.classList.remove("left"),t.classList.add("right")});this._calcLayoutError(f)>d&&f.forEach(function(t){t.classList.remove("right"),t.classList.add("left")})}"function"==typeof this.onRender&&this.onRender(t)}},_calcLayoutError:function(t){var e=this.element.parentNode.getBoundingClientRect(),n=0;t.forEach(function(t){var r=t.getBoundingClientRect();r.width&&(r.right>e.right&&(n+=r.right-e.right),r.left=l.previewWidth&&(o[0]-=o[1]-l.previewWidth,o[1]=l.previewWidth)),l.graphs.forEach(function(e){var n=t.scale.linear().interpolate(t.interpolateNumber).domain([0,l.previewWidth]).range(e.dataDomain()),r=[n(o[0]),n(o[1])];l.slideCallbacks.forEach(function(t){t(e,r[0],r[1])}),0===o[0]&&(r[0]=void 0),o[1]===l.previewWidth&&(r[1]=void 0),e.window.xMin=r[0],e.window.xMax=r[1],e.update()})}function n(){u.target=t.event.target,u.start=l._getClientXFromEvent(t.event,u),l.frameBeforeDrag=l.currentFrame.slice(),t.event.preventDefault?t.event.preventDefault():t.event.returnValue=!1,t.select(document).on("mousemove.rickshaw_range_slider_preview",e),t.select(document).on("mouseup.rickshaw_range_slider_preview",a),t.select(document).on("touchmove.rickshaw_range_slider_preview",e),t.select(document).on("touchend.rickshaw_range_slider_preview",a),t.select(document).on("touchcancel.rickshaw_range_slider_preview",a)}function r(t,e){u.left=!0,n()}function o(t,e){u.right=!0,n()}function i(t,e){u.left=!0,u.right=!0,u.rigid=!0,n()}function a(e,n){t.select(document).on("mousemove.rickshaw_range_slider_preview",null),t.select(document).on("mouseup.rickshaw_range_slider_preview",null),t.select(document).on("touchmove.rickshaw_range_slider_preview",null),t.select(document).on("touchend.rickshaw_range_slider_preview",null),t.select(document).on("touchcancel.rickshaw_range_slider_preview",null),delete l.frameBeforeDrag,u.left=!1,u.right=!1,u.rigid=!1}var s=t.select(this.element),u={target:null,start:null,stop:null,left:!1,right:!1,rigid:!1},l=this;s.select("rect.left_handle").on("mousedown",r),s.select("rect.right_handle").on("mousedown",o),s.select("rect.middle_handle").on("mousedown",i),s.select("rect.left_handle").on("touchstart",r),s.select("rect.right_handle").on("touchstart",o),s.select("rect.middle_handle").on("touchstart",i)},_getClientXFromEvent:function(t,e){switch(t.type){case"touchstart":case"touchmove":for(var n=t.changedTouches,r=null,o=0;oi&&(i=e)}}),t.length&&(t[0].xr&&(r=t[t.length-1].x))}),n-=(r-n)*this.padding.left,r+=(r-n)*this.padding.right,o="auto"===this.graph.min?o:this.graph.min||0,i=void 0===this.graph.max?i:this.graph.max,("auto"===this.graph.min||o<0)&&(o-=(i-o)*this.padding.bottom),void 0===this.graph.max&&(i+=(i-o)*this.padding.top),{x:[n,r],y:[o,i]}},render:function(t){t=t||{};var e=this.graph,n=t.series||e.series,r=t.vis||e.vis;r.selectAll("*").remove();var o=n.filter(function(t){return!t.disabled}).map(function(t){return t.stack}),i=r.selectAll("path.path").data(o).enter().append("svg:path").classed("path",!0).attr("d",this.seriesPathFactory());if(this.stroke)var a=r.selectAll("path.stroke").data(o).enter().append("svg:path").classed("stroke",!0).attr("d",this.seriesStrokeFactory());var s=0;n.forEach(function(t){t.disabled||(t.path=i[0][s],this.stroke&&(t.stroke=a[0][s]),this._styleSeries(t),s++)},this)},_styleSeries:function(e){var n=this.fill?e.color:"none",r=this.stroke?e.color:"none",o=e.strokeWidth?e.strokeWidth:this.strokeWidth,i=e.opacity?e.opacity:this.opacity;e.path.setAttribute("fill",n),e.path.setAttribute("stroke",r),e.path.setAttribute("stroke-width",o),e.path.setAttribute("opacity",i),e.className&&t.select(e.path).classed(e.className,!0),e.className&&this.stroke&&t.select(e.stroke).classed(e.className,!0)},configure:function(t){t=t||{},e.keys(this.defaults()).forEach(function(n){if(!t.hasOwnProperty(n))return void(this[n]=this[n]||this.graph[n]||this.defaults()[n]);"object"==typeof this.defaults()[n]?e.keys(this.defaults()[n]).forEach(function(e){this[n][e]=void 0!==t[n][e]?t[n][e]:void 0!==this[n][e]?this[n][e]:this.defaults()[n][e]},this):this[n]=void 0!==t[n]?t[n]:void 0!==this[n]?this[n]:void 0!==this.graph[n]?this.graph[n]:this.defaults()[n]},this)},setStrokeWidth:function(t){void 0!==t&&(this.strokeWidth=t)},setTension:function(t){void 0!==t&&(this.tension=t)}}),e.namespace("Rickshaw.Graph.Renderer.Line"),e.Graph.Renderer.Line=e.Class.create(e.Graph.Renderer,{name:"line",defaults:function($super){return e.extend($super(),{unstack:!0,fill:!1,stroke:!0})},seriesPathFactory:function(){var e=this.graph,n=t.svg.line().x(function(t){return e.x(t.x)}).y(function(t){return e.y(t.y)}).interpolate(this.graph.interpolation).tension(this.tension);return n.defined&&n.defined(function(t){return null!==t.y}),n}}),e.namespace("Rickshaw.Graph.Renderer.Stack"),e.Graph.Renderer.Stack=e.Class.create(e.Graph.Renderer,{name:"stack",defaults:function($super){return e.extend($super(),{fill:!0,stroke:!1,unstack:!1})},seriesPathFactory:function(){var e=this.graph,n=t.svg.area().x(function(t){return e.x(t.x)}).y0(function(t){return e.y(t.y0)}).y1(function(t){return e.y(t.y+t.y0)}).interpolate(this.graph.interpolation).tension(this.tension);return n.defined&&n.defined(function(t){return null!==t.y}),n}}),e.namespace("Rickshaw.Graph.Renderer.Bar"),e.Graph.Renderer.Bar=e.Class.create(e.Graph.Renderer,{name:"bar",defaults:function($super){var t=e.extend($super(),{gapSize:.05,unstack:!1,opacity:1});return delete t.tension,t},initialize:function($super,t){t=t||{},this.gapSize=t.gapSize||this.gapSize,$super(t)},domain:function($super){var t=$super(),e=this._frequentInterval(this.graph.stackedData.slice(-1).shift());return t.x[1]+=Number(e.magnitude),t},barWidth:function(t){var e=this._frequentInterval(t.stack);return this.graph.x.magnitude(e.magnitude)*(1-this.gapSize)},render:function(t){t=t||{};var e=this.graph,n=t.series||e.series,r=t.vis||e.vis;r.selectAll("*").remove();var o=this.barWidth(n.active()[0]),i=0,a=n.filter(function(t){return!t.disabled}).length,s=this.unstack?o/a:o,u=function(t){return"matrix("+[1,0,0,t.y<0?-1:1,0,t.y<0?2*e.y.magnitude(Math.abs(t.y)):0].join(",")+")"};n.forEach(function(t){if(!t.disabled){var n=(this.barWidth(t),r.selectAll("path").data(t.stack.filter(function(t){return null!==t.y})).enter().append("svg:rect").attr("x",function(t){return e.x(t.x)+i}).attr("y",function(t){return e.y(t.y0+Math.abs(t.y))*(t.y<0?-1:1)}).attr("width",s).attr("height",function(t){return e.y.magnitude(Math.abs(t.y))}).attr("opacity",t.opacity).attr("transform",u));Array.prototype.forEach.call(n[0],function(e){e.setAttribute("fill",t.color)}),this.unstack&&(i+=s)}},this)},_frequentInterval:function(t){for(var n={},r=0;r0?this[0].data.forEach(function(e){t.data.push({x:e.x,y:0})}):0===t.data.length&&t.data.push({x:this.timeBase-(this.timeInterval||0),y:0}),this.push(t),this.legend&&this.legend.addLine(this.itemByName(t.name))},addData:function(t,n){var r=this.getIndex();e.keys(t).forEach(function(t){this.itemByName(t)||this.addItem({name:t})},this),this.forEach(function(e){e.data.push({x:n||(r*this.timeInterval||1)+this.timeBase,y:t[e.name]||0})},this)},getIndex:function(){return this[0]&&this[0].data&&this[0].data.length?this[0].data.length:0},itemByName:function(t){for(var e=0;e1;o--)this.currentSize+=1,this.currentIndex+=1,this.forEach(function(t){t.data.unshift({x:((o-1)*this.timeInterval||1)+this.timeBase,y:0,i:o})},this)},addData:function($super,t,e){if($super(t,e),this.currentSize+=1,this.currentIndex+=1,void 0!==this.maxDataPoints)for(;this.currentSize>this.maxDataPoints;)this.dropData()},dropData:function(){this.forEach(function(t){t.data.splice(0,1)}),this.currentSize-=1},getIndex:function(){return this.currentIndex}}),e})},function(t,exports,e){var n,r,o;/*!
 * jQuery UI Widget 1.12.1
 * http://jqueryui.com
 *
 * Copyright jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 */
!function(i){r=[e(14),e(31)],n=i,void 0!==(o="function"==typeof n?n.apply(exports,r):n)&&(t.exports=o)}(function($){var t=0,e=Array.prototype.slice;return $.cleanData=function(t){return function(e){var n,r,o;for(o=0;null!=(r=e[o]);o++)try{n=$._data(r,"events"),n&&n.remove&&$(r).triggerHandler("remove")}catch(t){}t(e)}}($.cleanData),$.widget=function(t,e,n){var r,o,i,a={},s=t.split(".")[0];t=t.split(".")[1];var u=s+"-"+t;return n||(n=e,e=$.Widget),$.isArray(n)&&(n=$.extend.apply(null,[{}].concat(n))),$.expr[":"][u.toLowerCase()]=function(t){return!!$.data(t,u)},$[s]=$[s]||{},r=$[s][t],o=$[s][t]=function(t,e){if(!this._createWidget)return new o(t,e);arguments.length&&this._createWidget(t,e)},$.extend(o,r,{version:n.version,_proto:$.extend({},n),_childConstructors:[]}),i=new e,i.options=$.widget.extend({},i.options),$.each(n,function(t,n){if(!$.isFunction(n))return void(a[t]=n);a[t]=function(){function r(){return e.prototype[t].apply(this,arguments)}function o(n){return e.prototype[t].apply(this,n)}return function(){var t,e=this._super,i=this._superApply;return this._super=r,this._superApply=o,t=n.apply(this,arguments),this._super=e,this._superApply=i,t}}()}),o.prototype=$.widget.extend(i,{widgetEventPrefix:r?i.widgetEventPrefix||t:t},a,{constructor:o,namespace:s,widgetName:t,widgetFullName:u}),r?($.each(r._childConstructors,function(t,e){var n=e.prototype;$.widget(n.namespace+"."+n.widgetName,o,e._proto)}),delete r._childConstructors):e._childConstructors.push(o),$.widget.bridge(t,o),o},$.widget.extend=function(t){for(var n,r,o=e.call(arguments,1),i=0,a=o.length;i",options:{classes:{},disabled:!1,create:null},_createWidget:function(e,n){n=$(n||this.defaultElement||this)[0],this.element=$(n),this.uuid=t++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=$(),this.hoverable=$(),this.focusable=$(),this.classesElementLookup={},n!==this&&($.data(n,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===n&&this.destroy()}}),this.document=$(n.style?n.ownerDocument:n.document||n),this.window=$(this.document[0].defaultView||this.document[0].parentWindow)),this.options=$.widget.extend({},this.options,this._getCreateOptions(),e),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:$.noop,_create:$.noop,_init:$.noop,destroy:function(){var t=this;this._destroy(),$.each(this.classesElementLookup,function(e,n){t._removeClass(n,e)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:$.noop,widget:function(){return this.element},option:function(t,e){var n,r,o,i=t;if(0===arguments.length)return $.widget.extend({},this.options);if("string"==typeof t)if(i={},n=t.split("."),t=n.shift(),n.length){for(r=i[t]=$.widget.extend({},this.options[t]),o=0;o1&&void 0!==arguments[1]?arguments[1]:(0,p.getFirstDayOfWeek)(),n=arguments[2],r=o(t),i=[],a=[],s=[],u=1;u<=r;u+=1)i.push(new Date(t.getFullYear(),t.getMonth(),u,12));i.forEach(function(t){a.length>0&&t.getDay()===e&&(s.push(a),a=[]),a.push(t),i.indexOf(t)===i.length-1&&s.push(a)});for(var l=s[0],c=7-l.length;c>0;c-=1){var f=(0,d.clone)(l[0]);f.setDate(l[0].getDate()-1),l.unshift(f)}for(var h=s[s.length-1],g=h.length;g<7;g+=1){var m=(0,d.clone)(h[h.length-1]);m.setDate(h[h.length-1].getDate()+1),h.push(m)}if(n&&s.length<6)for(var v=void 0,b=s.length;b<6;b+=1){v=s[s.length-1];for(var y=v[v.length-1],_=[],x=0;x<7;x+=1){var w=(0,d.clone)(y);w.setDate(y.getDate()+x+1),_.push(w)}s.push(_)}return s}function c(t){var e=(0,d.clone)(t);return e.setDate(1),e.setHours(12,0,0,0),e}Object.defineProperty(exports,"__esModule",{value:!0});var f=Object.assign||function(t){for(var e=1;e-1}function x(t,e){var n=this.__data__,r=z(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}function w(t){var e=-1,n=null==t?0:t.length;for(this.clear();++el))return!1;var f=s.get(t);if(f&&s.get(e))return f==e;var d=-1,p=!0,h=n&_t?new O:void 0;for(s.set(t,e),s.set(e,t);++d-1&&t%1==0&&t-1&&t%1==0&&t<=xt}function dt(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function pt(t){return null!=t&&"object"==typeof t}function ht(t){return ut(t)?N(t):W(t)}function gt(){return[]}function mt(){return!1}var vt=200,bt="__lodash_hash_undefined__",yt=1,_t=2,xt=9007199254740991,wt="[object Arguments]",kt="[object Array]",St="[object AsyncFunction]",Et="[object Boolean]",Ct="[object Date]",At="[object Error]",Ot="[object Function]",Mt="[object GeneratorFunction]",Tt="[object Map]",Dt="[object Number]",Ft="[object Null]",Pt="[object Object]",Rt="[object Proxy]",It="[object RegExp]",jt="[object Set]",Nt="[object String]",zt="[object Symbol]",Lt="[object Undefined]",Ut="[object ArrayBuffer]",qt="[object DataView]",Bt=/[\\^$.*+?()[\]{}|]/g,Ht=/^\[object .+?Constructor\]$/,Gt=/^(?:0|[1-9]\d*)$/,Vt={};Vt["[object Float32Array]"]=Vt["[object Float64Array]"]=Vt["[object Int8Array]"]=Vt["[object Int16Array]"]=Vt["[object Int32Array]"]=Vt["[object Uint8Array]"]=Vt["[object Uint8ClampedArray]"]=Vt["[object Uint16Array]"]=Vt["[object Uint32Array]"]=!0,Vt[wt]=Vt[kt]=Vt[Ut]=Vt[Et]=Vt[qt]=Vt[Ct]=Vt[At]=Vt[Ot]=Vt[Tt]=Vt[Dt]=Vt[Pt]=Vt[It]=Vt[jt]=Vt[Nt]=Vt["[object WeakMap]"]=!1;var Wt="object"==typeof t&&t&&t.Object===Object&&t,Yt="object"==typeof self&&self&&self.Object===Object&&self,Kt=Wt||Yt||Function("return this")(),Qt="object"==typeof exports&&exports&&!exports.nodeType&&exports,Xt=Qt&&"object"==typeof e&&e&&!e.nodeType&&e,$t=Xt&&Xt.exports===Qt,Zt=$t&&Wt.process,Jt=function(){try{return Zt&&Zt.binding&&Zt.binding("util")}catch(t){}}(),te=Jt&&Jt.isTypedArray,ee=Array.prototype,ne=Function.prototype,re=Object.prototype,oe=Kt["__core-js_shared__"],ie=ne.toString,ae=re.hasOwnProperty,se=function(){var t=/[^.]+$/.exec(oe&&oe.keys&&oe.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),ue=re.toString,le=RegExp("^"+ie.call(ae).replace(Bt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ce=$t?Kt.Buffer:void 0,fe=Kt.Symbol,de=Kt.Uint8Array,pe=re.propertyIsEnumerable,he=ee.splice,ge=fe?fe.toStringTag:void 0,me=Object.getOwnPropertySymbols,ve=ce?ce.isBuffer:void 0,be=function(t,e){return function(n){return t(e(n))}}(Object.keys,Object),ye=J(Kt,"DataView"),_e=J(Kt,"Map"),xe=J(Kt,"Promise"),we=J(Kt,"Set"),ke=J(Kt,"WeakMap"),Se=J(Object,"create"),Ee=at(ye),Ce=at(_e),Ae=at(xe),Oe=at(we),Me=at(ke),Te=fe?fe.prototype:void 0,De=Te?Te.valueOf:void 0;c.prototype.clear=f,c.prototype.delete=d,c.prototype.get=p,c.prototype.has=h,c.prototype.set=g,m.prototype.clear=v,m.prototype.delete=b,m.prototype.get=y,m.prototype.has=_,m.prototype.set=x,w.prototype.clear=k,w.prototype.delete=S,w.prototype.get=E,w.prototype.has=C,w.prototype.set=A,O.prototype.add=O.prototype.push=M,O.prototype.has=T,D.prototype.clear=F,D.prototype.delete=P,D.prototype.get=R,D.prototype.has=I,D.prototype.set=j;var Fe=me?function(t){return null==t?[]:(t=Object(t),n(me(t),function(e){return pe.call(t,e)}))}:gt,Pe=U;(ye&&Pe(new ye(new ArrayBuffer(1)))!=qt||_e&&Pe(new _e)!=Tt||xe&&"[object Promise]"!=Pe(xe.resolve())||we&&Pe(new we)!=jt||ke&&"[object WeakMap]"!=Pe(new ke))&&(Pe=function(t){var e=U(t),n=e==Pt?t.constructor:void 0,r=n?at(n):"";if(r)switch(r){case Ee:return qt;case Ce:return Tt;case Ae:return"[object Promise]";case Oe:return jt;case Me:return"[object WeakMap]"}return e});var Re=q(function(){return arguments}())?q:function(t){return pt(t)&&ae.call(t,"callee")&&!pe.call(t,"callee")},Ie=Array.isArray,je=ve||mt,Ne=te?function(t){return function(e){return t(e)}}(te):V;e.exports=lt}).call(exports,e(30),e(70)(t))},function(t,exports,e){var n=e(81),r=n.Symbol;t.exports=r},function(t,exports,e){function n(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new r;++e-1}var r=e(569);t.exports=n},function(t,exports){function e(t,e,n){for(var r=-1,o=null==t?0:t.length;++r-1},_permissionPredicate:function(t,e){if(t.indexOf(e)>-1||t.indexOf("*")>-1)return!0;var n=e.split(":");if(n.length>=2){var r=n[0],o=n[0]+":"+n[1];return t.indexOf(r)>-1||t.indexOf(r+":*")>-1||t.indexOf(o)>-1||t.indexOf(o+":*")>-1}return t.indexOf(e+":*")>-1},isPermitted:function(t,e){var n=this;return!!this._isWildCard(t)||(e.every?e.every(function(e){return n._permissionPredicate(t,e)}):this._permissionPredicate(t,e))},isAnyPermitted:function(t,e){var n=this;return!!this._isWildCard(t)||e.some(function(e){return n._permissionPredicate(t,e)})}};exports.default=n,t.exports=exports.default},function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=e(374);window.graylogHistory||(window.graylogHistory=(0,n.createHistory)()),exports.default=window.graylogHistory,t.exports=exports.default},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(exports,"__esModule",{value:!0});var a=function(){function t(t,e){for(var n=0;n1}},{interval:"month",unit:"month",step:1,condition:function(t){return 1===t.years()||t.months()>1}},{interval:"day",unit:"date",step:2,condition:function(t){return 1===t.months()||t.days()>10}},{interval:"day",unit:"date",step:1,condition:function(t){return t.days()>3}},{interval:"hour",unit:"hour",step:12,condition:function(t){return t.days()>1}},{interval:"hour",unit:"hour",step:3,condition:function(t){return 1===t.days()}},{interval:"hour",unit:"hour",step:1,condition:function(t){return t.hours()>1}},{interval:"minute",unit:"minute",step:10,condition:function(t){return 1===t.hours()||t.minutes()>30}},{interval:"minute",unit:"minute",step:5,condition:function(t){return t.minutes()>15}},{interval:"minute",unit:"minute",step:1,condition:function(){return!0}}],customDateTimeFormat:function(t){var e=this;return void 0===t&&(t=null),function(n){var r=void 0,i=void 0;return null===t?r=new o.default(n).toMoment():(r=(0,a.default)(n),r.utcOffset(t)),e.dateTimeFormats.some(function(t){if(!0===t.condition(r))return i=r.format(t.formatString),!0}),i}},customTickInterval:function(t){var e=this;return void 0===t&&(t=null),function(n,r,i){var s=[],u=void 0,l=void 0;if(null===t?(u=new o.default(n).toMoment(),l=new o.default(r).toMoment()):(u=(0,a.default)(n),l=(0,a.default)(r),u.utcOffset(t),l.utcOffset(t)),!u.isValid()||!l.isValid())return s;var c=void 0,f=void 0,d=a.default.duration(l.valueOf()-u.valueOf());if(e.intervalResolutions.some(function(t){if(t.condition(d))return c=t.interval,f=t.unit,i=t.step,!0}),u.add(1,c).startOf(c),i>1)for(;u.isBefore(l);)u.get(f)%i==0&&s.push(new Date(u.valueOf())),u.add(1,c);else for(;u.isBefore(l);)s.push(new Date(u.valueOf())),u.add(1,c);return s}}},t.exports=exports.default},function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=e(14),r=function(t){return t&&t.__esModule?t:{default:t}}(n),o=!1,i={init:function(){o||((0,r.default)("#scroll-to-search-hint, #scroll-to-search-hint i").on("click",function(){(0,r.default)("html, body").animate({scrollTop:0},"fast")}),o=!0)},escape:function(t){return t.replace(/(&&|\|\||[:\\\/\+\-!\(\)\{\}\[\]\^"~*\?])/g,"\\$&")},_query:function(){return(0,r.default)("#universalsearch-query")},setQuery:function(t){var e=this._query();e.val(t),e.effect("bounce"),this.scrollToSearchbarHint()},getQuery:function(){return this._query().val()},submit:function(){(0,r.default)("#universalsearch form").submit()},createSourceQuery:function(t){return"source:"+this.escape(t)},queryContainsSegment:function(t){return this.getQuery().split(" ").some(function(e){return e===t})},addSegment:function(t,e){var n=this.getQuery();if(!this.queryContainsSegment(t)){"*"===n&&(n="");var r="";void 0!==e&&""!==n&&(r=n+" "+e+" "),r+=t,this.setQuery(r)}},andOperator:function(){return"AND"},orOperator:function(){return"OR"},notOperator:function(){return"NOT"},scrollToSearchbarHint:function(){(0,r.default)(document).scrollTop()>50&&(0,r.default)("#scroll-to-search-hint").fadeIn("fast").delay(1500).fadeOut("fast")},substringMatcher:function(t,e,n){return function(r,o){var i=[];t.forEach(function(t){if(i.length
',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},e.prototype.init=function(t,e,n){if(this.enabled=!0,this.type=t,this.$element=$(e),this.options=this.getOptions(n),this.$viewport=this.options.viewport&&$($.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var r=this.options.trigger.split(" "),o=r.length;o--;){var i=r[o];if("click"==i)this.$element.on("click."+this.type,this.options.selector,$.proxy(this.toggle,this));else if("manual"!=i){var a="hover"==i?"mouseenter":"focusin",s="hover"==i?"mouseleave":"focusout";this.$element.on(a+"."+this.type,this.options.selector,$.proxy(this.enter,this)),this.$element.on(s+"."+this.type,this.options.selector,$.proxy(this.leave,this))}}this.options.selector?this._options=$.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},e.prototype.getDefaults=function(){return e.DEFAULTS},e.prototype.getOptions=function(t){return t=$.extend({},this.getDefaults(),this.$element.data(),t),t.delay&&"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),t},e.prototype.getDelegateOptions=function(){var t={},e=this.getDefaults();return this._options&&$.each(this._options,function(n,r){e[n]!=r&&(t[n]=r)}),t},e.prototype.enter=function(t){var e=t instanceof this.constructor?t:$(t.currentTarget).data("bs."+this.type);return e||(e=new this.constructor(t.currentTarget,this.getDelegateOptions()),$(t.currentTarget).data("bs."+this.type,e)),t instanceof $.Event&&(e.inState["focusin"==t.type?"focus":"hover"]=!0),e.tip().hasClass("in")||"in"==e.hoverState?void(e.hoverState="in"):(clearTimeout(e.timeout),e.hoverState="in",e.options.delay&&e.options.delay.show?void(e.timeout=setTimeout(function(){"in"==e.hoverState&&e.show()},e.options.delay.show)):e.show())},e.prototype.isInStateTrue=function(){for(var t in this.inState)if(this.inState[t])return!0;return!1},e.prototype.leave=function(t){var e=t instanceof this.constructor?t:$(t.currentTarget).data("bs."+this.type);if(e||(e=new this.constructor(t.currentTarget,this.getDelegateOptions()),$(t.currentTarget).data("bs."+this.type,e)),t instanceof $.Event&&(e.inState["focusout"==t.type?"focus":"hover"]=!1),!e.isInStateTrue()){if(clearTimeout(e.timeout),e.hoverState="out",!e.options.delay||!e.options.delay.hide)return e.hide();e.timeout=setTimeout(function(){"out"==e.hoverState&&e.hide()},e.options.delay.hide)}},e.prototype.show=function(){var t=$.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(t);var n=$.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(t.isDefaultPrevented()||!n)return;var r=this,o=this.tip(),i=this.getUID(this.type);this.setContent(),o.attr("id",i),this.$element.attr("aria-describedby",i),this.options.animation&&o.addClass("fade");var a="function"==typeof this.options.placement?this.options.placement.call(this,o[0],this.$element[0]):this.options.placement,s=/\s?auto?\s?/i,u=s.test(a);u&&(a=a.replace(s,"")||"top"),o.detach().css({top:0,left:0,display:"block"}).addClass(a).data("bs."+this.type,this),this.options.container?o.appendTo(this.options.container):o.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var l=this.getPosition(),c=o[0].offsetWidth,f=o[0].offsetHeight;if(u){var d=a,p=this.getPosition(this.$viewport);a="bottom"==a&&l.bottom+f>p.bottom?"top":"top"==a&&l.top-fp.width?"left":"left"==a&&l.left-ca.top+a.height&&(o.top=a.top+a.height-u)}else{var l=e.left-i,c=e.left+i+n;la.right&&(o.left=a.left+a.width-c)}return o},e.prototype.getTitle=function(){var t=this.$element,e=this.options;return t.attr("data-original-title")||("function"==typeof e.title?e.title.call(t[0]):e.title)},e.prototype.getUID=function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},e.prototype.tip=function(){if(!this.$tip&&(this.$tip=$(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},e.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},e.prototype.enable=function(){this.enabled=!0},e.prototype.disable=function(){this.enabled=!1},e.prototype.toggleEnabled=function(){this.enabled=!this.enabled},e.prototype.toggle=function(t){var e=this;t&&((e=$(t.currentTarget).data("bs."+this.type))||(e=new this.constructor(t.currentTarget,this.getDelegateOptions()),$(t.currentTarget).data("bs."+this.type,e))),t?(e.inState.click=!e.inState.click,e.isInStateTrue()?e.enter(e):e.leave(e)):e.tip().hasClass("in")?e.leave(e):e.enter(e)},e.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide(function(){t.$element.off("."+t.type).removeData("bs."+t.type),t.$tip&&t.$tip.detach(),t.$tip=null,t.$arrow=null,t.$viewport=null,t.$element=null})};var n=$.fn.tooltip;$.fn.tooltip=t,$.fn.tooltip.Constructor=e,$.fn.tooltip.noConflict=function(){return $.fn.tooltip=n,this}}(jQuery)},function(t,exports,e){(function(n){var r,o,r,o;/*! * typeahead.js 0.11.1 * https://github.com/twitter/typeahead.js * Copyright 2013-2015 Twitter, Inc. and other contributors; Licensed MIT */ !function(n,i){r=[e(14)],void 0!==(o=function(t){return n.Bloodhound=i(t)}.apply(exports,r))&&(t.exports=o)}(this,function($){var t=function(){"use strict";return{isMsie:function(){return!!/(msie|trident)/i.test(navigator.userAgent)&&navigator.userAgent.match(/(msie |rv:)(\d+(.\d+)?)/i)[2]},isBlankString:function(t){return!t||/^\s*$/.test(t)},escapeRegExChars:function(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isArray:$.isArray,isFunction:$.isFunction,isObject:$.isPlainObject,isUndefined:function(t){return void 0===t},isElement:function(t){return!(!t||1!==t.nodeType)},isJQuery:function(t){return t instanceof $},toStr:function(e){return t.isUndefined(e)||null===e?"":e+""},bind:$.proxy,each:function(t,e){function n(t,n){return e(n,t)}$.each(t,n)},map:$.map,filter:$.grep,every:function(t,e){var n=!0;return t?($.each(t,function(r,o){if(!(n=e.call(null,o,r,t)))return!1}),!!n):n},some:function(t,e){var n=!1;return t?($.each(t,function(r,o){if(n=e.call(null,o,r,t))return!1}),!!n):n},mixin:$.extend,identity:function(t){return t},clone:function(t){return $.extend(!0,{},t)},getIdGenerator:function(){var t=0;return function(){return t++}},templatify:function(t){function e(){return String(t)}return $.isFunction(t)?t:e},defer:function(t){setTimeout(t,0)},debounce:function(t,e,n){var r,o;return function(){var i,a,s=this,u=arguments;return i=function(){r=null,n||(o=t.apply(s,u))},a=n&&!r,clearTimeout(r),r=setTimeout(i,e),a&&(o=t.apply(s,u)),o}},throttle:function(t,e){var n,r,o,i,a,s;return a=0,s=function(){a=new Date,o=null,i=t.apply(n,r)},function(){var u=new Date,l=e-(u-a);return n=this,r=arguments,l<=0?(clearTimeout(o),o=null,a=u,i=t.apply(n,r)):o||(o=setTimeout(s,l)),i}},stringify:function(e){return t.isString(e)?e:JSON.stringify(e)},noop:function(){}}}(),e="0.11.1",n=function(){"use strict";function e(e){return e=t.toStr(e),e?e.split(/\s+/):[]}function n(e){return e=t.toStr(e),e?e.split(/\W+/):[]}function r(e){return function(n){return n=t.isArray(n)?n:[].slice.call(arguments,0),function(r){var o=[];return t.each(n,function(n){o=o.concat(e(t.toStr(r[n])))}),o}}}return{nonword:n,whitespace:e,obj:{nonword:r(n),whitespace:r(e)}}}(),r=function(){"use strict";function e(e){this.maxSize=t.isNumber(e)?e:100,this.reset(),this.maxSize<=0&&(this.set=this.get=$.noop)}function n(){this.head=this.tail=null}function r(t,e){this.key=t,this.val=e,this.prev=this.next=null}return t.mixin(e.prototype,{set:function(t,e){var n,o=this.list.tail;this.size>=this.maxSize&&(this.list.remove(o),delete this.hash[o.key],this.size--),(n=this.hash[t])?(n.val=e,this.list.moveToFront(n)):(n=new r(t,e),this.list.add(n),this.hash[t]=n,this.size++)},get:function(t){var e=this.hash[t];if(e)return this.list.moveToFront(e),e.val},reset:function(){this.size=0,this.hash={},this.list=new n}}),t.mixin(n.prototype,{add:function(t){this.head&&(t.next=this.head,this.head.prev=t),this.head=t,this.tail=this.tail||t},remove:function(t){t.prev?t.prev.next=t.next:this.head=t.next,t.next?t.next.prev=t.prev:this.tail=t.prev},moveToFront:function(t){this.remove(t),this.add(t)}}),e}(),o=function(){"use strict";function e(e,n){this.prefix=["__",e,"__"].join(""),this.ttlKey="__ttl__",this.keyMatcher=new RegExp("^"+t.escapeRegExChars(this.prefix)),this.ls=n||a,!this.ls&&this._noop()}function n(){return(new Date).getTime()}function r(e){return JSON.stringify(t.isUndefined(e)?null:e)}function o(t){return $.parseJSON(t)}function i(t){var e,n,r=[],o=a.length;for(e=0;er)}}),e}(),i=function(){"use strict";function e(t){t=t||{},this.cancelled=!1,this.lastReq=null,this._send=t.transport,this._get=t.limiter?t.limiter(this._get):this._get,this._cache=!1===t.cache?new r(0):a}var n=0,o={},i=6,a=new r(10);return e.setMaxPendingRequests=function(t){i=t},e.resetCache=function(){a.reset()},t.mixin(e.prototype,{_fingerprint:function(t){return t=t||{},t.url+t.type+$.param(t.data||{})},_get:function(t,e){function r(t){e(null,t),c._cache.set(u,t)}function a(){e(!0)}function s(){n--,delete o[u],c.onDeckRequestArgs&&(c._get.apply(c,c.onDeckRequestArgs),c.onDeckRequestArgs=null)}var u,l,c=this;u=this._fingerprint(t),this.cancelled||u!==this.lastReq||((l=o[u])?l.done(r).fail(a):ne[r]?r++:(o.push(t[n]),n++,r++);return o}var a="c",s="i";return t.mixin(e.prototype,{bootstrap:function(t){this.datums=t.datums,this.trie=t.trie},add:function(e){var o=this;e=t.isArray(e)?e:[e],t.each(e,function(e){var i,u;o.datums[i=o.identify(e)]=e,u=n(o.datumTokenizer(e)),t.each(u,function(t){var e,n,u;for(e=o.trie,n=t.split("");u=n.shift();)e=e[a][u]||(e[a][u]=r()),e[s].push(i)})})},get:function(e){var n=this;return t.map(e,function(t){return n.datums[t]})},search:function(e){var r,u,l=this;return r=n(this.queryTokenizer(e)),t.each(r,function(t){var e,n,r,o;if(u&&0===u.length)return!1;for(e=l.trie,n=t.split("");e&&(r=n.shift());)e=e[a][r];if(!e||0!==n.length)return u=[],!1;o=e[s].slice(0),u=u?i(u,o):o}),u?t.map(o(u),function(t){return l.datums[t]}):[]},all:function(){var t=[];for(var e in this.datums)t.push(this.datums[e]);return t},reset:function(){this.datums={},this.trie=r()},serialize:function(){return{datums:this.datums,trie:this.trie}}}),e}(),s=function(){"use strict";function e(t){this.url=t.url,this.ttl=t.ttl,this.cache=t.cache,this.prepare=t.prepare,this.transform=t.transform,this.transport=t.transport,this.thumbprint=t.thumbprint,this.storage=new o(t.cacheKey)}var n;return n={data:"data",protocol:"protocol",thumbprint:"thumbprint"},t.mixin(e.prototype,{_settings:function(){return{url:this.url,type:"GET",dataType:"json"}},store:function(t){this.cache&&(this.storage.set(n.data,t,this.ttl),this.storage.set(n.protocol,location.protocol,this.ttl),this.storage.set(n.thumbprint,this.thumbprint,this.ttl))},fromCache:function(){var t,e={};return this.cache?(e.data=this.storage.get(n.data),e.protocol=this.storage.get(n.protocol),e.thumbprint=this.storage.get(n.thumbprint),t=e.thumbprint!==this.thumbprint||e.protocol!==location.protocol,e.data&&!t?e.data:null):null},fromNetwork:function(t){function e(){t(!0)}function n(e){t(null,o.transform(e))}var r,o=this;t&&(r=this.prepare(this._settings()),this.transport(r).fail(e).done(n))},clear:function(){return this.storage.clear(),this}}),e}(),u=function(){"use strict";function e(t){this.url=t.url,this.prepare=t.prepare,this.transform=t.transform,this.transport=new i({cache:t.cache,limiter:t.limiter,transport:t.transport})}return t.mixin(e.prototype,{_settings:function(){return{url:this.url,type:"GET",dataType:"json"}},get:function(t,e){function n(t,n){e(t?[]:o.transform(n))}var r,o=this;if(e)return t=t||"",r=this.prepare(t,this._settings()),this.transport.get(r,n)},cancelLastRequest:function(){this.transport.cancel()}}),e}(),l=function(){"use strict";function n(n){var r;return n?(r={url:null,ttl:864e5,cache:!0,cacheKey:null,thumbprint:"",prepare:t.identity,transform:t.identity,transport:null},n=t.isString(n)?{url:n}:n,n=t.mixin(r,n),!n.url&&$.error("prefetch requires url to be set"),n.transform=n.filter||n.transform,n.cacheKey=n.cacheKey||n.url,n.thumbprint=e+n.thumbprint,n.transport=n.transport?a(n.transport):$.ajax,n):null}function r(e){var n;if(e)return n={url:null,cache:!0,prepare:null,replace:null,wildcard:null,limiter:null,rateLimitBy:"debounce",rateLimitWait:300,transform:t.identity,transport:null},e=t.isString(e)?{url:e}:e,e=t.mixin(n,e),!e.url&&$.error("remote requires url to be set"),e.transform=e.filter||e.transform,e.prepare=o(e),e.limiter=i(e),e.transport=e.transport?a(e.transport):$.ajax,delete e.replace,delete e.wildcard,delete e.rateLimitBy,delete e.rateLimitWait,e}function o(t){function e(t,e){return e.url=i(e.url,t),e}function n(t,e){return e.url=e.url.replace(a,encodeURIComponent(t)),e}function r(t,e){return e}var o,i,a;return o=t.prepare,i=t.replace,a=t.wildcard,o||(o=i?e:t.wildcard?n:r)}function i(e){var n,r,o;return n=e.limiter,r=e.rateLimitBy,o=e.rateLimitWait,n||(n=/^throttle$/i.test(r)?function(e){return function(n){return t.throttle(n,e)}}(o):function(e){return function(n){return t.debounce(n,e)}}(o)),n}function a(e){return function(n){function r(e){t.defer(function(){i.resolve(e)})}function o(e){t.defer(function(){i.reject(e)})}var i=$.Deferred();return e(n,r,o),i}}return function(e){var o,i;return o={initialize:!0,identify:t.stringify,datumTokenizer:null,queryTokenizer:null,sufficient:5,sorter:null,local:[],prefetch:null,remote:null},e=t.mixin(o,e||{}),!e.datumTokenizer&&$.error("datumTokenizer is required"),!e.queryTokenizer&&$.error("queryTokenizer is required"),i=e.sorter,e.sorter=i?function(t){return t.sort(i)}:t.identity,e.local=t.isFunction(e.local)?e.local():e.local,e.prefetch=n(e.prefetch),e.remote=r(e.remote),e}}();return function(){"use strict";function e(t){t=l(t),this.sorter=t.sorter,this.identify=t.identify,this.sufficient=t.sufficient,this.local=t.local,this.remote=t.remote?new u(t.remote):null,this.prefetch=t.prefetch?new s(t.prefetch):null,this.index=new a({identify:this.identify,datumTokenizer:t.datumTokenizer,queryTokenizer:t.queryTokenizer}),!1!==t.initialize&&this.initialize()}var r;return r=window&&window.Bloodhound,e.noConflict=function(){return window&&(window.Bloodhound=r),e},e.tokenizers=n,t.mixin(e.prototype,{__ttAdapter:function(){function t(t,e,r){return n.search(t,e,r)}function e(t,e){return n.search(t,e)}var n=this;return this.remote?t:e},_loadPrefetch:function(){function t(t,n){if(t)return e.reject();r.add(n),r.prefetch.store(r.index.serialize()),e.resolve()}var e,n,r=this;return e=$.Deferred(),this.prefetch?(n=this.prefetch.fromCache())?(this.index.bootstrap(n),e.resolve()):this.prefetch.fromNetwork(t):e.resolve(),e.promise()},_initialize:function(){function t(){e.add(e.local)}var e=this;return this.clear(),(this.initPromise=this._loadPrefetch()).done(t),this.initPromise},initialize:function(t){return!this.initPromise||t?this._initialize():this.initPromise},add:function(t){return this.index.add(t),this},get:function(e){return e=t.isArray(e)?e:[].slice.call(arguments),this.index.get(e)},search:function(e,n,r){function o(e){var n=[];t.each(e,function(e){!t.some(i,function(t){return a.identify(e)===a.identify(t)})&&n.push(e)}),r&&r(n)}var i,a=this;return i=this.sorter(this.index.search(e)),n(this.remote?i.slice():i),this.remote&&i.length',menu:'
'}}function r(e){var n={};return t.each(e,function(t,e){n[e]="."+t}),n}function o(){var e={wrapper:{position:"relative",display:"inline-block"},hint:{position:"absolute",top:"0",left:"0",borderColor:"transparent",boxShadow:"none",opacity:"1"},input:{position:"relative",verticalAlign:"top",backgroundColor:"transparent"},inputWithNoHint:{position:"relative",verticalAlign:"top"},menu:{position:"absolute",top:"100%",left:"0",zIndex:"100",display:"none"},ltr:{left:"0",right:"auto"},rtl:{left:"auto",right:" 0"}};return t.isMsie()&&t.mixin(e.input,{backgroundImage:"url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)"}),e}var i={wrapper:"twitter-typeahead",input:"tt-input",hint:"tt-hint",menu:"tt-menu",dataset:"tt-dataset",suggestion:"tt-suggestion",selectable:"tt-selectable",empty:"tt-empty",open:"tt-open",cursor:"tt-cursor",highlight:"tt-highlight"};return e}(),r=function(){"use strict";function e(t){t&&t.el||$.error("EventBus initialized without el"),this.$el=$(t.el)}var n,r;return n="typeahead:",r={render:"rendered",cursorchange:"cursorchanged",select:"selected",autocomplete:"autocompleted"},t.mixin(e.prototype,{_trigger:function(t,e){var r;return r=$.Event(n+t),(e=e||[]).unshift(r),this.$el.trigger.apply(this.$el,e),r},before:function(t){var e,n;return e=[].slice.call(arguments,1),n=this._trigger("before"+t,e),n.isDefaultPrevented()},trigger:function(t){var e;this._trigger(t,[].slice.call(arguments,1)),(e=r[t])&&this._trigger(e,[].slice.call(arguments,1))}}),e}(),o=function(){"use strict";function t(t,e,n,r){var o;if(!n)return this;for(e=e.split(u),n=r?s(n,r):n,this._callbacks=this._callbacks||{};o=e.shift();)this._callbacks[o]=this._callbacks[o]||{sync:[],async:[]},this._callbacks[o][t].push(n);return this}function e(e,n,r){return t.call(this,"async",e,n,r)}function r(e,n,r){return t.call(this,"sync",e,n,r)}function o(t){var e;if(!this._callbacks)return this;for(t=t.split(u);e=t.shift();)delete this._callbacks[e];return this}function i(t){var e,n,r,o,i;if(!this._callbacks)return this;for(t=t.split(u),r=[].slice.call(arguments,1);(e=t.shift())&&(n=this._callbacks[e]);)o=a(n.sync,this,[e].concat(r)),i=a(n.async,this,[e].concat(r)),o()&&l(i);return this}function a(t,e,n){function r(){for(var r,o=0,i=t.length;!r&&o
")}}),e}(),s=function(){"use strict";function e(e,o){e=e||{},e.templates=e.templates||{},e.templates.notFound=e.templates.notFound||e.templates.empty,e.source||$.error("missing source"),e.node||$.error("missing node"),e.name&&!a(e.name)&&$.error("invalid dataset name: "+e.name),o.mixin(this),this.highlight=!!e.highlight,this.name=e.name||u(),this.limit=e.limit||5,this.displayFn=n(e.display||e.displayKey),this.templates=r(e.templates,this.displayFn),this.source=e.source.__ttAdapter?e.source.__ttAdapter():e.source,this.async=t.isUndefined(e.async)?this.source.length>2:!!e.async,this._resetLastSuggestion(),this.$el=$(e.node).addClass(this.classes.dataset).addClass(this.classes.dataset+"-"+this.name)}function n(e){function n(t){return t[e]}return e=e||t.stringify,t.isFunction(e)?e:n}function r(e,n){function r(t){return $("
").text(n(t))}return{notFound:e.notFound&&t.templatify(e.notFound),pending:e.pending&&t.templatify(e.pending),header:e.header&&t.templatify(e.header),footer:e.footer&&t.templatify(e.footer),suggestion:e.suggestion||r}}function a(t){return/^[_a-zA-Z0-9-]+$/.test(t)}var s,u;return s={val:"tt-selectable-display",obj:"tt-selectable-object"},u=t.getIdGenerator(),e.extractData=function(t){var e=$(t);return e.data(s.obj)?{val:e.data(s.val)||"",obj:e.data(s.obj)||null}:null},t.mixin(e.prototype,o,{_overwrite:function(t,e){e=e||[],e.length?this._renderSuggestions(t,e):this.async&&this.templates.pending?this._renderPending(t):!this.async&&this.templates.notFound?this._renderNotFound(t):this._empty(),this.trigger("rendered",this.name,e,!1)},_append:function(t,e){e=e||[],e.length&&this.$lastSuggestion.length?this._appendSuggestions(t,e):e.length?this._renderSuggestions(t,e):!this.$lastSuggestion.length&&this.templates.notFound&&this._renderNotFound(t),this.trigger("rendered",this.name,e,!0)},_renderSuggestions:function(t,e){var n;n=this._getSuggestionsFragment(t,e),this.$lastSuggestion=n.children().last(),this.$el.html(n).prepend(this._getHeader(t,e)).append(this._getFooter(t,e))},_appendSuggestions:function(t,e){var n,r;n=this._getSuggestionsFragment(t,e),r=n.children().last(),this.$lastSuggestion.after(n),this.$lastSuggestion=r},_renderPending:function(t){var e=this.templates.pending;this._resetLastSuggestion(),e&&this.$el.html(e({query:t,dataset:this.name}))},_renderNotFound:function(t){var e=this.templates.notFound;this._resetLastSuggestion(),e&&this.$el.html(e({query:t,dataset:this.name}))},_empty:function(){this.$el.empty(),this._resetLastSuggestion()},_getSuggestionsFragment:function(e,n){var r,o=this;return r=document.createDocumentFragment(),t.each(n,function(t){var n,i;i=o._injectQuery(e,t),n=$(o.templates.suggestion(i)).data(s.obj,t).data(s.val,o.displayFn(t)).addClass(o.classes.suggestion+" "+o.classes.selectable),r.appendChild(n[0])}),this.highlight&&i({className:this.classes.highlight,node:r,pattern:e}),$(r)},_getFooter:function(t,e){return this.templates.footer?this.templates.footer({query:t,suggestions:e,dataset:this.name}):null},_getHeader:function(t,e){return this.templates.header?this.templates.header({query:t,suggestions:e,dataset:this.name}):null},_resetLastSuggestion:function(){this.$lastSuggestion=$()},_injectQuery:function(e,n){return t.isObject(n)?t.mixin({_query:e},n):n},update:function(t){function e(e){i||(i=!0,e=(e||[]).slice(0,r.limit),a=e.length,r._overwrite(t,e),a")}}),e}(),u=function(){"use strict";function e(e,n){function r(t){var e=o.$node.find(t.node).first();return t.node=e.length?e:$("
").appendTo(o.$node),new s(t,n)}var o=this;e=e||{},e.node||$.error("node is required"),n.mixin(this),this.$node=$(e.node),this.query=null,this.datasets=t.map(e.datasets,r)}return t.mixin(e.prototype,o,{_onSelectableClick:function(t){this.trigger("selectableClicked",$(t.currentTarget))},_onRendered:function(t,e,n,r){this.$node.toggleClass(this.classes.empty,this._allDatasetsEmpty()),this.trigger("datasetRendered",e,n,r)},_onCleared:function(){this.$node.toggleClass(this.classes.empty,this._allDatasetsEmpty()),this.trigger("datasetCleared")},_propagate:function(){this.trigger.apply(this,arguments)},_allDatasetsEmpty:function(){function e(t){return t.isEmpty()}return t.every(this.datasets,e)},_getSelectables:function(){return this.$node.find(this.selectors.selectable)},_removeCursor:function(){var t=this.getActiveSelectable();t&&t.removeClass(this.classes.cursor)},_ensureVisible:function(t){var e,n,r,o;e=t.position().top,n=e+t.outerHeight(!0),r=this.$node.scrollTop(),o=this.$node.height()+parseInt(this.$node.css("paddingTop"),10)+parseInt(this.$node.css("paddingBottom"),10),e<0?this.$node.scrollTop(r+e):o"),t.each(this.datasets,e)}}),e}(),l=function(){"use strict";function e(){u.apply(this,[].slice.call(arguments,0))}var n=u.prototype;return t.mixin(e.prototype,u.prototype,{open:function(){return!this._allDatasetsEmpty()&&this._show(),n.open.apply(this,[].slice.call(arguments,0))},close:function(){return this._hide(),n.close.apply(this,[].slice.call(arguments,0))},_onRendered:function(){return this._allDatasetsEmpty()?this._hide():this.isOpen()&&this._show(),n._onRendered.apply(this,[].slice.call(arguments,0))},_onCleared:function(){return this._allDatasetsEmpty()?this._hide():this.isOpen()&&this._show(),n._onCleared.apply(this,[].slice.call(arguments,0))},setLanguageDirection:function(t){return this.$node.css("ltr"===t?this.css.ltr:this.css.rtl),n.setLanguageDirection.apply(this,[].slice.call(arguments,0))},_hide:function(){this.$node.hide()},_show:function(){this.$node.css("display","block")}}),e}(),c=function(){"use strict";function e(e,r){var o,i,a,s,u,l,c,f,d,p,h;e=e||{},e.input||$.error("missing input"),e.menu||$.error("missing menu"),e.eventBus||$.error("missing event bus"),r.mixin(this),this.eventBus=e.eventBus,this.minLength=t.isNumber(e.minLength)?e.minLength:1,this.input=e.input,this.menu=e.menu,this.enabled=!0,this.active=!1,this.input.hasFocus()&&this.activate(),this.dir=this.input.getLangDir(),this._hacks(),this.menu.bind().onSync("selectableClicked",this._onSelectableClicked,this).onSync("asyncRequested",this._onAsyncRequested,this).onSync("asyncCanceled",this._onAsyncCanceled,this).onSync("asyncReceived",this._onAsyncReceived,this).onSync("datasetRendered",this._onDatasetRendered,this).onSync("datasetCleared",this._onDatasetCleared,this),o=n(this,"activate","open","_onFocused"),i=n(this,"deactivate","_onBlurred"),a=n(this,"isActive","isOpen","_onEnterKeyed"),s=n(this,"isActive","isOpen","_onTabKeyed"),u=n(this,"isActive","_onEscKeyed"),l=n(this,"isActive","open","_onUpKeyed"),c=n(this,"isActive","open","_onDownKeyed"),f=n(this,"isActive","isOpen","_onLeftKeyed"),d=n(this,"isActive","isOpen","_onRightKeyed"),p=n(this,"_openIfActive","_onQueryChanged"),h=n(this,"_openIfActive","_onWhitespaceChanged"),this.input.bind().onSync("focused",o,this).onSync("blurred",i,this).onSync("enterKeyed",a,this).onSync("tabKeyed",s,this).onSync("escKeyed",u,this).onSync("upKeyed",l,this).onSync("downKeyed",c,this).onSync("leftKeyed",f,this).onSync("rightKeyed",d,this).onSync("queryChanged",p,this).onSync("whitespaceChanged",h,this).onSync("langDirChanged",this._onLangDirChanged,this)}function n(e){var n=[].slice.call(arguments,1);return function(){var r=[].slice.call(arguments);t.each(n,function(t){return e[t].apply(e,r)})}}return t.mixin(e.prototype,{_hacks:function(){var e,n;e=this.input.$input||$("
"),n=this.menu.$node||$("
"),e.on("blur.tt",function(r){var o,i,a;o=document.activeElement,i=n.is(o),a=n.has(o).length>0,t.isMsie()&&(i||a)&&(r.preventDefault(),r.stopImmediatePropagation(),t.defer(function(){e.focus()}))}),n.on("mousedown.tt",function(t){t.preventDefault()})},_onSelectableClicked:function(t,e){this.select(e)},_onDatasetCleared:function(){this._updateHint()},_onDatasetRendered:function(t,e,n,r){this._updateHint(),this.eventBus.trigger("render",n,r,e)},_onAsyncRequested:function(t,e,n){this.eventBus.trigger("asyncrequest",n,e)},_onAsyncCanceled:function(t,e,n){this.eventBus.trigger("asynccancel",n,e)},_onAsyncReceived:function(t,e,n){this.eventBus.trigger("asyncreceive",n,e)},_onFocused:function(){this._minLengthMet()&&this.menu.update(this.input.getQuery())},_onBlurred:function(){this.input.hasQueryChangedSinceLastFocus()&&this.eventBus.trigger("change",this.input.getQuery())},_onEnterKeyed:function(t,e){var n;(n=this.menu.getActiveSelectable())&&this.select(n)&&e.preventDefault()},_onTabKeyed:function(t,e){var n;(n=this.menu.getActiveSelectable())?this.select(n)&&e.preventDefault():(n=this.menu.getTopSelectable())&&this.autocomplete(n)&&e.preventDefault()},_onEscKeyed:function(){this.close()},_onUpKeyed:function(){this.moveCursor(-1)},_onDownKeyed:function(){this.moveCursor(1)},_onLeftKeyed:function(){"rtl"===this.dir&&this.input.isCursorAtEnd()&&this.autocomplete(this.menu.getTopSelectable())},_onRightKeyed:function(){"ltr"===this.dir&&this.input.isCursorAtEnd()&&this.autocomplete(this.menu.getTopSelectable())},_onQueryChanged:function(t,e){this._minLengthMet(e)?this.menu.update(e):this.menu.empty()},_onWhitespaceChanged:function(){this._updateHint()},_onLangDirChanged:function(t,e){this.dir!==e&&(this.dir=e,this.menu.setLanguageDirection(e))},_openIfActive:function(){this.isActive()&&this.open()},_minLengthMet:function(e){return e=t.isString(e)?e:this.input.getQuery()||"",e.length>=this.minLength},_updateHint:function(){var e,n,r,o,i,s,u;e=this.menu.getTopSelectable(),n=this.menu.getSelectableData(e),r=this.input.getInputValue(),!n||t.isBlankString(r)||this.input.hasOverflow()?this.input.clearHint():(o=a.normalizeQuery(r),i=t.escapeRegExChars(o),s=new RegExp("^(?:"+i+")(.+$)","i"),(u=s.exec(n.val))&&this.input.setHint(r+u[1]))},isEnabled:function(){return this.enabled},enable:function(){this.enabled=!0},disable:function(){this.enabled=!1},isActive:function(){return this.active},activate:function(){return!!this.isActive()||!(!this.isEnabled()||this.eventBus.before("active"))&&(this.active=!0,this.eventBus.trigger("active"),!0)},deactivate:function(){return!this.isActive()||!this.eventBus.before("idle")&&(this.active=!1,this.close(),this.eventBus.trigger("idle"),!0)},isOpen:function(){return this.menu.isOpen()},open:function(){return this.isOpen()||this.eventBus.before("open")||(this.menu.open(),this._updateHint(),this.eventBus.trigger("open")),this.isOpen()},close:function(){return this.isOpen()&&!this.eventBus.before("close")&&(this.menu.close(),this.input.clearHint(),this.input.resetInputValue(),this.eventBus.trigger("close")),!this.isOpen()},setVal:function(e){this.input.setQuery(t.toStr(e))},getVal:function(){return this.input.getQuery()},select:function(t){var e=this.menu.getSelectableData(t);return!(!e||this.eventBus.before("select",e.obj))&&(this.input.setQuery(e.val,!0),this.eventBus.trigger("select",e.obj),this.close(),!0)},autocomplete:function(t){var e,n;return e=this.input.getQuery(),n=this.menu.getSelectableData(t),!(!(n&&e!==n.val)||this.eventBus.before("autocomplete",n.obj))&&(this.input.setQuery(n.val),this.eventBus.trigger("autocomplete",n.obj),!0)},moveCursor:function(t){var e,n,r,o;return e=this.input.getQuery(),n=this.menu.selectableRelativeToCursor(t),r=this.menu.getSelectableData(n),o=r?r.obj:null,!(this._minLengthMet()&&this.menu.update(e))&&!this.eventBus.before("cursorchange",o)&&(this.menu.setCursor(n),r?this.input.setInputValue(r.val):(this.input.resetInputValue(),this._updateHint()),this.eventBus.trigger("cursorchange",o),!0)},destroy:function(){this.input.destroy(),this.menu.destroy()}}),e}();!function(){"use strict";function n(t,e){t.each(function(){var t,n=$(this);(t=n.data(h.typeahead))&&e(t,n)})}function o(t,e){return t.clone().addClass(e.classes.hint).removeData().css(e.css.hint).css(s(t)).prop("readonly",!0).removeAttr("id name placeholder required").attr({autocomplete:"off",spellcheck:"false",tabindex:-1})}function i(t,e){t.data(h.attrs,{dir:t.attr("dir"),autocomplete:t.attr("autocomplete"),spellcheck:t.attr("spellcheck"),style:t.attr("style")}),t.addClass(e.classes.input).attr({autocomplete:"off",spellcheck:!1});try{!t.attr("dir")&&t.attr("dir","auto")}catch(t){}return t}function s(t){return{backgroundAttachment:t.css("background-attachment"),backgroundClip:t.css("background-clip"),backgroundColor:t.css("background-color"),backgroundImage:t.css("background-image"),backgroundOrigin:t.css("background-origin"),backgroundPosition:t.css("background-position"),backgroundRepeat:t.css("background-repeat"),backgroundSize:t.css("background-size")}}function f(e){var n,r;n=e.data(h.www),r=e.parent().filter(n.selectors.wrapper),t.each(e.data(h.attrs),function(n,r){t.isUndefined(n)?e.removeAttr(r):e.attr(r,n)}),e.removeData(h.typeahead).removeData(h.www).removeData(h.attr).removeClass(n.classes.input),r.length&&(e.detach().insertAfter(r),r.remove())}function d(e){var n,r;return n=t.isJQuery(e)||t.isElement(e),r=n?$(e).first():[],r.length?r:null}var p,h,g;p=$.fn.typeahead,h={www:"tt-www",attrs:"tt-attrs",typeahead:"tt-typeahead"},g={initialize:function(n,s){function f(){var e,f,g,m,v,b,y,_,x,w,k;t.each(s,function(t){t.highlight=!!n.highlight}),e=$(this),f=$(p.html.wrapper),g=d(n.hint),m=d(n.menu),v=!1!==n.hint&&!g,b=!1!==n.menu&&!m,v&&(g=o(e,p)),b&&(m=$(p.html.menu).css(p.css.menu)),g&&g.val(""),e=i(e,p),(v||b)&&(f.css(p.css.wrapper),e.css(v?p.css.input:p.css.inputWithNoHint),e.wrap(f).parent().prepend(v?g:null).append(b?m:null)),k=b?l:u,y=new r({el:e}),_=new a({hint:g,input:e},p),x=new k({node:m,datasets:s},p),w=new c({input:_,menu:x,eventBus:y,minLength:n.minLength},p),e.data(h.www,p),e.data(h.typeahead,w)}var p;return s=t.isArray(s)?s:[].slice.call(arguments,1),n=n||{},p=e(n.classNames),this.each(f)},isEnabled:function(){var t;return n(this.first(),function(e){t=e.isEnabled()}),t},enable:function(){return n(this,function(t){t.enable()}),this},disable:function(){return n(this,function(t){t.disable()}),this},isActive:function(){var t;return n(this.first(),function(e){t=e.isActive()}),t},activate:function(){return n(this,function(t){t.activate()}),this},deactivate:function(){return n(this,function(t){t.deactivate()}),this},isOpen:function(){var t;return n(this.first(),function(e){t=e.isOpen()}),t},open:function(){return n(this,function(t){t.open()}),this},close:function(){return n(this,function(t){t.close()}),this},select:function(t){var e=!1,r=$(t);return n(this.first(),function(t){e=t.select(r)}),e},autocomplete:function(t){var e=!1,r=$(t);return n(this.first(),function(t){e=t.autocomplete(r)}),e},moveCursor:function(t){var e=!1;return n(this.first(),function(n){e=n.moveCursor(t)}),e},val:function(t){var e;return arguments.length?(n(this,function(e){e.setVal(t)}),this):(n(this.first(),function(t){e=t.getVal()}),e)},destroy:function(){return n(this,function(t,e){f(e),t.destroy()}),this}},$.fn.typeahead=function(t){return g[t]?g[t].apply(this,[].slice.call(arguments,1)):g.initialize.apply(this,arguments)},$.fn.typeahead.noConflict=function(){return $.fn.typeahead=p,this}}()})}).call(exports,e(177).setImmediate)},function(t,exports,e){(function(t,n){var r;!function(o){function i(t){throw new RangeError(D[t])}function a(t,e){for(var n=t.length,r=[];n--;)r[n]=e(t[n]);return r}function s(t,e){var n=t.split("@"),r="";return n.length>1&&(r=n[0]+"@",t=n[1]),t=t.replace(T,"."),r+a(t.split("."),e).join(".")}function u(t){for(var e,n,r=[],o=0,i=t.length;o=55296&&e<=56319&&o65535&&(t-=65536,e+=R(t>>>10&1023|55296),t=56320|1023&t),e+=R(t)}).join("")}function c(t){return t-48<10?t-22:t-65<26?t-65:t-97<26?t-97:_}function f(t,e){return t+22+75*(t<26)-((0!=e)<<5)}function d(t,e,n){var r=0;for(t=n?P(t/S):t>>1,t+=P(t/e);t>F*w>>1;r+=_)t=P(t/F);return P(r+(F+1)*t/(t+k))}function p(t){var e,n,r,o,a,s,u,f,p,h,g=[],m=t.length,v=0,b=C,k=E;for(n=t.lastIndexOf(A),n<0&&(n=0),r=0;r=128&&i("not-basic"),g.push(t.charCodeAt(r));for(o=n>0?n+1:0;o=m&&i("invalid-input"),f=c(t.charCodeAt(o++)),(f>=_||f>P((y-v)/s))&&i("overflow"),v+=f*s,p=u<=k?x:u>=k+w?w:u-k,!(fP(y/h)&&i("overflow"),s*=h;e=g.length+1,k=d(v-a,e,0==a),P(v/e)>y-b&&i("overflow"),b+=P(v/e),v%=e,g.splice(v++,0,b)}return l(g)}function h(t){var e,n,r,o,a,s,l,c,p,h,g,m,v,b,k,S=[];for(t=u(t),m=t.length,e=C,n=0,a=E,s=0;s=e&&gP((y-n)/v)&&i("overflow"),n+=(l-e)*v,e=l,s=0;sy&&i("overflow"),g==e){for(c=n,p=_;h=p<=a?x:p>=a+w?w:p-a,!(c= 0x80 (not a basic code point)","invalid-input":"Invalid input"},F=_-x,P=Math.floor,R=String.fromCharCode;b={version:"1.3.2",ucs2:{decode:u,encode:l},decode:p,encode:h,toASCII:m,toUnicode:g},void 0!==(r=function(){return b}.call(exports,e,exports,t))&&(t.exports=r)}()}).call(exports,e(70)(t),e(30))},function(t,exports,e){var n,r;/*! * URI.js - Mutating URLs * IPv6 Support * * Version: 1.19.0 * * Author: Rodney Rehm * Web: http://medialize.github.io/URI.js/ * * Licensed under * MIT License http://www.opensource.org/licenses/mit-license * */ !function(o,i){"use strict";"object"==typeof t&&t.exports?t.exports=i():(n=i,void 0!==(r="function"==typeof n?n.call(exports,e,exports,t):n)&&(t.exports=r))}(0,function(t){"use strict";function e(t){var e=t.toLowerCase(),n=e.split(":"),r=n.length,o=8;""===n[0]&&""===n[1]&&""===n[2]?(n.shift(),n.shift()):""===n[0]&&""===n[1]?n.shift():""===n[r-1]&&""===n[r-2]&&n.pop(),r=n.length,-1!==n[r-1].indexOf(".")&&(o=7);var i;for(i=0;i1);u++)a.splice(0,1);n[s]=a.join("")}var l=-1,c=0,f=0,d=-1,p=!1;for(s=0;sc&&(l=d,c=f)):"0"===n[s]&&(p=!0,d=s,f=1);f>c&&(l=d,c=f),c>1&&n.splice(l,c,""),r=n.length;var h="";for(""===n[0]&&(h=":"),s=0;s=t.length-1)return!1;var r=t.lastIndexOf(".",e-1);if(r<=0||r>=e-1)return!1;var o=n.list[t.slice(e+1)];return!!o&&o.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 o=n.list[t.slice(e+1)];return o?o.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})},function(t,exports,e){t.exports=e(11)(927)},function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=e(1),r=function(t){return t&&t.__esModule?t:{default:t}}(n),o=r.default.createActions({list:{asyncResult:!0}});exports.default=o,t.exports=exports.default},function(t,exports,e){"use strict";var n=Object.prototype.hasOwnProperty,r=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),o=function(t){for(var e;t.length;){var n=t.pop();if(e=n.obj[n.prop],Array.isArray(e)){for(var r=[],o=0;o=48&&i<=57||i>=65&&i<=90||i>=97&&i<=122?n+=e.charAt(o):i<128?n+=r[i]:i<2048?n+=r[192|i>>6]+r[128|63&i]:i<55296||i>=57344?n+=r[224|i>>12]+r[128|i>>6&63]+r[128|63&i]:(o+=1,i=65536+((1023&i)<<10|1023&e.charCodeAt(o)),n+=r[240|i>>18]+r[128|i>>12&63]+r[128|i>>6&63]+r[128|63&i])}return n},exports.compact=function(t){for(var e=[{obj:{o:t},prop:"o"}],n=[],r=0;r0&&(d=d.filter(function(e){return e!==t}),0===d.length&&f())}var l=t(e),f=void 0,d=[];return i({},l,{listenBeforeUnload:o,registerBeforeUnloadHook:c.default(a,"registerBeforeUnloadHook is deprecated; use listenBeforeUnload instead"),unregisterBeforeUnloadHook:c.default(u,"unregisterBeforeUnloadHook is deprecated; use the callback returned from listenBeforeUnload instead")})}}exports.__esModule=!0;var i=Object.assign||function(t){for(var e=1;e0)&&(this.handle=this._getHandle(t),!!this.handle&&(this._blurActiveElement(t),this._blockFrames(!0===e.iframeFix?"iframe":e.iframeFix),!0))},_blockFrames:function(t){this.iframeBlocks=this.document.find(t).map(function(){var t=$(this);return $("
").css("position","absolute").appendTo(t.parent()).outerWidth(t.outerWidth()).outerHeight(t.outerHeight()).offset(t.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_blurActiveElement:function(t){var e=$.ui.safeActiveElement(this.document[0]);$(t.target).closest(e).length||$.ui.safeBlur(e)},_mouseStart:function(t){var e=this.options;return this.helper=this._createHelper(t),this._addClass(this.helper,"ui-draggable-dragging"),this._cacheHelperProportions(),$.ui.ddmanager&&($.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css("position"),this.scrollParent=this.helper.scrollParent(!0),this.offsetParent=this.helper.offsetParent(),this.hasFixedAncestor=this.helper.parents().filter(function(){return"fixed"===$(this).css("position")}).length>0,this.positionAbs=this.element.offset(),this._refreshOffsets(t),this.originalPosition=this.position=this._generatePosition(t,!1),this.originalPageX=t.pageX,this.originalPageY=t.pageY,e.cursorAt&&this._adjustOffsetFromHelper(e.cursorAt),this._setContainment(),!1===this._trigger("start",t)?(this._clear(),!1):(this._cacheHelperProportions(),$.ui.ddmanager&&!e.dropBehaviour&&$.ui.ddmanager.prepareOffsets(this,t),this._mouseDrag(t,!0),$.ui.ddmanager&&$.ui.ddmanager.dragStart(this,t),!0)},_refreshOffsets:function(t){this.offset={top:this.positionAbs.top-this.margins.top,left:this.positionAbs.left-this.margins.left,scroll:!1,parent:this._getParentOffset(),relative:this._getRelativeOffset()},this.offset.click={left:t.pageX-this.offset.left,top:t.pageY-this.offset.top}},_mouseDrag:function(t,e){if(this.hasFixedAncestor&&(this.offset.parent=this._getParentOffset()),this.position=this._generatePosition(t,!0),this.positionAbs=this._convertPositionTo("absolute"),!e){var n=this._uiHash();if(!1===this._trigger("drag",t,n))return this._mouseUp(new $.Event("mouseup",t)),!1;this.position=n.position}return this.helper[0].style.left=this.position.left+"px",this.helper[0].style.top=this.position.top+"px",$.ui.ddmanager&&$.ui.ddmanager.drag(this,t),!1},_mouseStop:function(t){var e=this,n=!1;return $.ui.ddmanager&&!this.options.dropBehaviour&&(n=$.ui.ddmanager.drop(this,t)),this.dropped&&(n=this.dropped,this.dropped=!1),"invalid"===this.options.revert&&!n||"valid"===this.options.revert&&n||!0===this.options.revert||$.isFunction(this.options.revert)&&this.options.revert.call(this.element,n)?$(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){!1!==e._trigger("stop",t)&&e._clear()}):!1!==this._trigger("stop",t)&&this._clear(),!1},_mouseUp:function(t){return this._unblockFrames(),$.ui.ddmanager&&$.ui.ddmanager.dragStop(this,t),this.handleElement.is(t.target)&&this.element.trigger("focus"),$.ui.mouse.prototype._mouseUp.call(this,t)},cancel:function(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp(new $.Event("mouseup",{target:this.element[0]})):this._clear(),this},_getHandle:function(t){return!this.options.handle||!!$(t.target).closest(this.element.find(this.options.handle)).length},_setHandleClassName:function(){this.handleElement=this.options.handle?this.element.find(this.options.handle):this.element,this._addClass(this.handleElement,"ui-draggable-handle")},_removeHandleClassName:function(){this._removeClass(this.handleElement,"ui-draggable-handle")},_createHelper:function(t){var e=this.options,n=$.isFunction(e.helper),r=n?$(e.helper.apply(this.element[0],[t])):"clone"===e.helper?this.element.clone().removeAttr("id"):this.element;return r.parents("body").length||r.appendTo("parent"===e.appendTo?this.element[0].parentNode:e.appendTo),n&&r[0]===this.element[0]&&this._setPositionRelative(),r[0]===this.element[0]||/(fixed|absolute)/.test(r.css("position"))||r.css("position","absolute"),r},_setPositionRelative:function(){/^(?:r|a|f)/.test(this.element.css("position"))||(this.element[0].style.position="relative")},_adjustOffsetFromHelper:function(t){"string"==typeof t&&(t=t.split(" ")),$.isArray(t)&&(t={left:+t[0],top:+t[1]||0}),"left"in t&&(this.offset.click.left=t.left+this.margins.left),"right"in t&&(this.offset.click.left=this.helperProportions.width-t.right+this.margins.left),"top"in t&&(this.offset.click.top=t.top+this.margins.top),"bottom"in t&&(this.offset.click.top=this.helperProportions.height-t.bottom+this.margins.top)},_isRootNode:function(t){return/(html|body)/i.test(t.tagName)||t===this.document[0]},_getParentOffset:function(){var t=this.offsetParent.offset(),e=this.document[0];return"absolute"===this.cssPosition&&this.scrollParent[0]!==e&&$.contains(this.scrollParent[0],this.offsetParent[0])&&(t.left+=this.scrollParent.scrollLeft(),t.top+=this.scrollParent.scrollTop()),this._isRootNode(this.offsetParent[0])&&(t={top:0,left:0}),{top:t.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:t.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"!==this.cssPosition)return{top:0,left:0};var t=this.element.position(),e=this._isRootNode(this.scrollParent[0]);return{top:t.top-(parseInt(this.helper.css("top"),10)||0)+(e?0:this.scrollParent.scrollTop()),left:t.left-(parseInt(this.helper.css("left"),10)||0)+(e?0:this.scrollParent.scrollLeft())}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var t,e,n,r=this.options,o=this.document[0];return this.relativeContainer=null,r.containment?"window"===r.containment?void(this.containment=[$(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,$(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,$(window).scrollLeft()+$(window).width()-this.helperProportions.width-this.margins.left,$(window).scrollTop()+($(window).height()||o.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]):"document"===r.containment?void(this.containment=[0,0,$(o).width()-this.helperProportions.width-this.margins.left,($(o).height()||o.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]):r.containment.constructor===Array?void(this.containment=r.containment):("parent"===r.containment&&(r.containment=this.helper[0].parentNode),e=$(r.containment),void((n=e[0])&&(t=/(scroll|auto)/.test(e.css("overflow")),this.containment=[(parseInt(e.css("borderLeftWidth"),10)||0)+(parseInt(e.css("paddingLeft"),10)||0),(parseInt(e.css("borderTopWidth"),10)||0)+(parseInt(e.css("paddingTop"),10)||0),(t?Math.max(n.scrollWidth,n.offsetWidth):n.offsetWidth)-(parseInt(e.css("borderRightWidth"),10)||0)-(parseInt(e.css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(t?Math.max(n.scrollHeight,n.offsetHeight):n.offsetHeight)-(parseInt(e.css("borderBottomWidth"),10)||0)-(parseInt(e.css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relativeContainer=e))):void(this.containment=null)},_convertPositionTo:function(t,e){e||(e=this.position);var n="absolute"===t?1:-1,r=this._isRootNode(this.scrollParent[0]);return{top:e.top+this.offset.relative.top*n+this.offset.parent.top*n-("fixed"===this.cssPosition?-this.offset.scroll.top:r?0:this.offset.scroll.top)*n,left:e.left+this.offset.relative.left*n+this.offset.parent.left*n-("fixed"===this.cssPosition?-this.offset.scroll.left:r?0:this.offset.scroll.left)*n}},_generatePosition:function(t,e){var n,r,o,i,a=this.options,s=this._isRootNode(this.scrollParent[0]),u=t.pageX,l=t.pageY;return s&&this.offset.scroll||(this.offset.scroll={top:this.scrollParent.scrollTop(),left:this.scrollParent.scrollLeft()}),e&&(this.containment&&(this.relativeContainer?(r=this.relativeContainer.offset(),n=[this.containment[0]+r.left,this.containment[1]+r.top,this.containment[2]+r.left,this.containment[3]+r.top]):n=this.containment,t.pageX-this.offset.click.leftn[2]&&(u=n[2]+this.offset.click.left),t.pageY-this.offset.click.top>n[3]&&(l=n[3]+this.offset.click.top)),a.grid&&(o=a.grid[1]?this.originalPageY+Math.round((l-this.originalPageY)/a.grid[1])*a.grid[1]:this.originalPageY,l=n?o-this.offset.click.top>=n[1]||o-this.offset.click.top>n[3]?o:o-this.offset.click.top>=n[1]?o-a.grid[1]:o+a.grid[1]:o,i=a.grid[0]?this.originalPageX+Math.round((u-this.originalPageX)/a.grid[0])*a.grid[0]:this.originalPageX,u=n?i-this.offset.click.left>=n[0]||i-this.offset.click.left>n[2]?i:i-this.offset.click.left>=n[0]?i-a.grid[0]:i+a.grid[0]:i),"y"===a.axis&&(u=this.originalPageX),"x"===a.axis&&(l=this.originalPageY)),{top:l-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.offset.scroll.top:s?0:this.offset.scroll.top),left:u-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.offset.scroll.left:s?0:this.offset.scroll.left)}},_clear:function(){this._removeClass(this.helper,"ui-draggable-dragging"),this.helper[0]===this.element[0]||this.cancelHelperRemoval||this.helper.remove(),this.helper=null,this.cancelHelperRemoval=!1,this.destroyOnClear&&this.destroy()},_trigger:function(t,e,n){return n=n||this._uiHash(),$.ui.plugin.call(this,t,[e,n,this],!0),/^(drag|start|stop)/.test(t)&&(this.positionAbs=this._convertPositionTo("absolute"),n.offset=this.positionAbs),$.Widget.prototype._trigger.call(this,t,e,n)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),$.ui.plugin.add("draggable","connectToSortable",{start:function(t,e,n){var r=$.extend({},e,{item:n.element});n.sortables=[],$(n.options.connectToSortable).each(function(){var e=$(this).sortable("instance");e&&!e.options.disabled&&(n.sortables.push(e),e.refreshPositions(),e._trigger("activate",t,r))})},stop:function(t,e,n){var r=$.extend({},e,{item:n.element});n.cancelHelperRemoval=!1,$.each(n.sortables,function(){var e=this;e.isOver?(e.isOver=0,n.cancelHelperRemoval=!0,e.cancelHelperRemoval=!1,e._storedCSS={position:e.placeholder.css("position"),top:e.placeholder.css("top"),left:e.placeholder.css("left")},e._mouseStop(t),e.options.helper=e.options._helper):(e.cancelHelperRemoval=!0,e._trigger("deactivate",t,r))})},drag:function(t,e,n){$.each(n.sortables,function(){var r=!1,o=this;o.positionAbs=n.positionAbs,o.helperProportions=n.helperProportions,o.offset.click=n.offset.click,o._intersectsWith(o.containerCache)&&(r=!0,$.each(n.sortables,function(){return this.positionAbs=n.positionAbs,this.helperProportions=n.helperProportions,this.offset.click=n.offset.click,this!==o&&this._intersectsWith(this.containerCache)&&$.contains(o.element[0],this.element[0])&&(r=!1),r})),r?(o.isOver||(o.isOver=1,n._parent=e.helper.parent(),o.currentItem=e.helper.appendTo(o.element).data("ui-sortable-item",!0),o.options._helper=o.options.helper,o.options.helper=function(){return e.helper[0]},t.target=o.currentItem[0],o._mouseCapture(t,!0),o._mouseStart(t,!0,!0),o.offset.click.top=n.offset.click.top,o.offset.click.left=n.offset.click.left,o.offset.parent.left-=n.offset.parent.left-o.offset.parent.left,o.offset.parent.top-=n.offset.parent.top-o.offset.parent.top,n._trigger("toSortable",t),n.dropped=o.element,$.each(n.sortables,function(){this.refreshPositions()}),n.currentItem=n.element,o.fromOutside=n),o.currentItem&&(o._mouseDrag(t),e.position=o.position)):o.isOver&&(o.isOver=0,o.cancelHelperRemoval=!0,o.options._revert=o.options.revert,o.options.revert=!1,o._trigger("out",t,o._uiHash(o)),o._mouseStop(t,!0),o.options.revert=o.options._revert,o.options.helper=o.options._helper,o.placeholder&&o.placeholder.remove(),e.helper.appendTo(n._parent),n._refreshOffsets(t),e.position=n._generatePosition(t,!0),n._trigger("fromSortable",t),n.dropped=!1,$.each(n.sortables,function(){this.refreshPositions()}))})}}),$.ui.plugin.add("draggable","cursor",{start:function(t,e,n){var r=$("body"),o=n.options;r.css("cursor")&&(o._cursor=r.css("cursor")),r.css("cursor",o.cursor)},stop:function(t,e,n){var r=n.options;r._cursor&&$("body").css("cursor",r._cursor)}}),$.ui.plugin.add("draggable","opacity",{start:function(t,e,n){var r=$(e.helper),o=n.options;r.css("opacity")&&(o._opacity=r.css("opacity")),r.css("opacity",o.opacity)},stop:function(t,e,n){var r=n.options;r._opacity&&$(e.helper).css("opacity",r._opacity)}}),$.ui.plugin.add("draggable","scroll",{start:function(t,e,n){n.scrollParentNotHidden||(n.scrollParentNotHidden=n.helper.scrollParent(!1)),n.scrollParentNotHidden[0]!==n.document[0]&&"HTML"!==n.scrollParentNotHidden[0].tagName&&(n.overflowOffset=n.scrollParentNotHidden.offset())},drag:function(t,e,n){var r=n.options,o=!1,i=n.scrollParentNotHidden[0],a=n.document[0];i!==a&&"HTML"!==i.tagName?(r.axis&&"x"===r.axis||(n.overflowOffset.top+i.offsetHeight-t.pageY=0;f--)s=n.snapElements[f].left-n.margins.left,u=s+n.snapElements[f].width,l=n.snapElements[f].top-n.margins.top,c=l+n.snapElements[f].height,mu+h||bc+h||!$.contains(n.snapElements[f].item.ownerDocument,n.snapElements[f].item)?(n.snapElements[f].snapping&&n.options.snap.release&&n.options.snap.release.call(n.element,t,$.extend(n._uiHash(),{snapItem:n.snapElements[f].item})),n.snapElements[f].snapping=!1):("inner"!==p.snapMode&&(r=Math.abs(l-b)<=h,o=Math.abs(c-v)<=h,i=Math.abs(s-m)<=h,a=Math.abs(u-g)<=h,r&&(e.position.top=n._convertPositionTo("relative",{top:l-n.helperProportions.height,left:0}).top),o&&(e.position.top=n._convertPositionTo("relative",{top:c,left:0}).top),i&&(e.position.left=n._convertPositionTo("relative",{top:0,left:s-n.helperProportions.width}).left),a&&(e.position.left=n._convertPositionTo("relative",{top:0,left:u}).left)),d=r||o||i||a,"outer"!==p.snapMode&&(r=Math.abs(l-v)<=h,o=Math.abs(c-b)<=h,i=Math.abs(s-g)<=h,a=Math.abs(u-m)<=h,r&&(e.position.top=n._convertPositionTo("relative",{top:l,left:0}).top),o&&(e.position.top=n._convertPositionTo("relative",{top:c-n.helperProportions.height,left:0}).top),i&&(e.position.left=n._convertPositionTo("relative",{top:0,left:s}).left),a&&(e.position.left=n._convertPositionTo("relative",{top:0,left:u-n.helperProportions.width}).left)),!n.snapElements[f].snapping&&(r||o||i||a||d)&&n.options.snap.snap&&n.options.snap.snap.call(n.element,t,$.extend(n._uiHash(),{snapItem:n.snapElements[f].item})),n.snapElements[f].snapping=r||o||i||a||d)}}),$.ui.plugin.add("draggable","stack",{start:function(t,e,n){var r,o=n.options,i=$.makeArray($(o.stack)).sort(function(t,e){return(parseInt($(t).css("zIndex"),10)||0)-(parseInt($(e).css("zIndex"),10)||0)});i.length&&(r=parseInt($(i[0]).css("zIndex"),10)||0,$(i).each(function(t){$(this).css("zIndex",r+t)}),this.css("zIndex",r+i.length))}}),$.ui.plugin.add("draggable","zIndex",{start:function(t,e,n){var r=$(e.helper),o=n.options;r.css("zIndex")&&(o._zIndex=r.css("zIndex")),r.css("zIndex",o.zIndex)},stop:function(t,e,n){var r=n.options;r._zIndex&&$(e.helper).css("zIndex",r._zIndex)}}),$.ui.draggable})},function(t,exports,e){var n,r,o;/*! * jQuery UI Mouse 1.12.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license */ !function(i){r=[e(14),e(405),e(31),e(123)],n=i,void 0!==(o="function"==typeof n?n.apply(exports,r):n)&&(t.exports=o)}(function($){var t=!1;return $(document).on("mouseup",function(){t=!1}),$.widget("ui.mouse",{version:"1.12.1",options:{cancel:"input, textarea, button, select, option",distance:1,delay:0},_mouseInit:function(){var t=this;this.element.on("mousedown."+this.widgetName,function(e){return t._mouseDown(e)}).on("click."+this.widgetName,function(e){if(!0===$.data(e.target,t.widgetName+".preventClickEvent"))return $.removeData(e.target,t.widgetName+".preventClickEvent"),e.stopImmediatePropagation(),!1}),this.started=!1},_mouseDestroy:function(){this.element.off("."+this.widgetName),this._mouseMoveDelegate&&this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(e){if(!t){this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(e),this._mouseDownEvent=e;var n=this,r=1===e.which,o=!("string"!=typeof this.options.cancel||!e.target.nodeName)&&$(e.target).closest(this.options.cancel).length;return!(r&&!o&&this._mouseCapture(e))||(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){n.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=!1!==this._mouseStart(e),!this._mouseStarted)?(e.preventDefault(),!0):(!0===$.data(e.target,this.widgetName+".preventClickEvent")&&$.removeData(e.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(t){return n._mouseMove(t)},this._mouseUpDelegate=function(t){return n._mouseUp(t)},this.document.on("mousemove."+this.widgetName,this._mouseMoveDelegate).on("mouseup."+this.widgetName,this._mouseUpDelegate),e.preventDefault(),t=!0,!0))}},_mouseMove:function(t){if(this._mouseMoved){if($.ui.ie&&(!document.documentMode||document.documentMode<9)&&!t.button)return this._mouseUp(t);if(!t.which)if(t.originalEvent.altKey||t.originalEvent.ctrlKey||t.originalEvent.metaKey||t.originalEvent.shiftKey)this.ignoreMissingWhich=!0;else if(!this.ignoreMissingWhich)return this._mouseUp(t)}return(t.which||t.button)&&(this._mouseMoved=!0),this._mouseStarted?(this._mouseDrag(t),t.preventDefault()):(this._mouseDistanceMet(t)&&this._mouseDelayMet(t)&&(this._mouseStarted=!1!==this._mouseStart(this._mouseDownEvent,t),this._mouseStarted?this._mouseDrag(t):this._mouseUp(t)),!this._mouseStarted)},_mouseUp:function(e){this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,e.target===this._mouseDownEvent.target&&$.data(e.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(e)),this._mouseDelayTimer&&(clearTimeout(this._mouseDelayTimer),delete this._mouseDelayTimer),this.ignoreMissingWhich=!1,t=!1,e.preventDefault()},_mouseDistanceMet:function(t){return Math.max(Math.abs(this._mouseDownEvent.pageX-t.pageX),Math.abs(this._mouseDownEvent.pageY-t.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}})})},function(t,exports,e){!function(){var n=e(445),r=e(191).utf8,o=e(446),i=e(191).bin,a=function(t,e){t.constructor==String?t=e&&"binary"===e.encoding?i.stringToBytes(t):r.stringToBytes(t):o(t)?t=Array.prototype.slice.call(t,0):Array.isArray(t)||(t=t.toString());for(var s=n.bytesToWords(t),u=8*t.length,l=1732584193,c=-271733879,f=-1732584194,d=271733878,p=0;p>>24)|4278255360&(s[p]<<24|s[p]>>>8);s[u>>>5]|=128<>>9<<4)]=u;for(var h=a._ff,g=a._gg,m=a._hh,v=a._ii,p=0;p>>0,c=c+y>>>0,f=f+_>>>0,d=d+x>>>0}return n.endian([l,c,f,d])};a._ff=function(t,e,n,r,o,i,a){var s=t+(e&n|~e&r)+(o>>>0)+a;return(s<>>32-i)+e},a._gg=function(t,e,n,r,o,i,a){var s=t+(e&r|n&~r)+(o>>>0)+a;return(s<>>32-i)+e},a._hh=function(t,e,n,r,o,i,a){var s=t+(e^n^r)+(o>>>0)+a;return(s<>>32-i)+e},a._ii=function(t,e,n,r,o,i,a){var s=t+(n^(e|~r))+(o>>>0)+a;return(s<>>32-i)+e},a._blocksize=16,a._digestsize=16,t.exports=function(t,e){if(void 0===t||null===t)throw new Error("Illegal argument "+t);var r=n.wordsToBytes(a(t,e));return e&&e.asBytes?r:e&&e.asString?i.bytesToString(r):n.bytesToHex(r)}}()},function(t,exports){var e={utf8:{stringToBytes:function(t){return e.bin.stringToBytes(unescape(encodeURIComponent(t)))},bytesToString:function(t){return decodeURIComponent(escape(e.bin.bytesToString(t)))}},bin:{stringToBytes:function(t){for(var e=[],n=0;n1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce(function(r,o){var i=e[o];return n(t,i)&&r.push(o),r},[])}Object.defineProperty(exports,"__esModule",{value:!0}),exports.dayMatchesModifier=n,exports.getModifiersForDay=r;var o=e(79),i=e(125);exports.default={dayMatchesModifier:n,getModifiersForDay:r}},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}exports.__esModule=!0;var a=Object.assign||function(t){for(var e=1;e, without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element.")}},{key:"componentDidMount",value:function(){"undefined"!=typeof SVGElement&&g.default.findDOMNode(this)instanceof SVGElement&&this.setState({isElementSVG:!0})}},{key:"componentWillReceiveProps",value:function(t){!t.position||this.props.position&&t.position.x===this.props.position.x&&t.position.y===this.props.position.y||this.setState({x:t.position.x,y:t.position.y})}},{key:"componentWillUnmount",value:function(){this.setState({dragging:!1})}},{key:"render",value:function(){var t,e={},n=null,o=Boolean(this.props.position),i=!o||this.state.dragging,a=this.props.position||this.props.defaultPosition,u={x:(0,y.canDragX)(this)&&i?this.state.x:a.x,y:(0,y.canDragY)(this)&&i?this.state.y:a.y};this.state.isElementSVG?n=(0,b.createSVGTransform)(u):e=(0,b.createCSSTransform)(u);var l=this.props,c=l.defaultClassName,d=l.defaultClassNameDragging,p=l.defaultClassNameDragged,h=(0,v.default)(this.props.children.props.className||"",c,(t={},r(t,d,this.state.dragging),r(t,p,this.state.dragged),t));return f.default.createElement(w.default,s({},this.props,{onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop}),f.default.cloneElement(f.default.Children.only(this.props.children),{className:h,style:s({},this.props.children.props.style,e),transform:n}))}}]),e}(f.default.Component);E.displayName="Draggable",E.propTypes=s({},w.default.propTypes,{axis:p.default.oneOf(["both","x","y","none"]),bounds:p.default.oneOfType([p.default.shape({left:p.default.number,right:p.default.number,top:p.default.number,bottom:p.default.number}),p.default.string,p.default.oneOf([!1])]),defaultClassName:p.default.string,defaultClassNameDragging:p.default.string,defaultClassNameDragged:p.default.string,defaultPosition:p.default.shape({x:p.default.number,y:p.default.number}),position:p.default.shape({x:p.default.number,y:p.default.number}),className:_.dontSetMe,style:_.dontSetMe,transform:_.dontSetMe}),E.defaultProps=s({},w.default.defaultProps,{axis:"both",bounds:!1,defaultClassName:"react-draggable",defaultClassNameDragging:"react-draggable-dragging",defaultClassNameDragged:"react-draggable-dragged",defaultPosition:{x:0,y:0},position:null}),exports.default=E},function(e,exports){e.exports=t},function(t,exports,e){if("production"!=={DRAGGABLE_DEBUG:void 0}.NODE_ENV){var n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,r=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===n};t.exports=e(4)(r,!0)}else t.exports=e(10)()},function(t,exports,e){"use strict";var n=e(5),r=e(6),o=e(7),i=e(8),a=e(9);t.exports=function(t,e){function s(t){var e=t&&(k&&t[k]||t[S]);if("function"==typeof e)return e}function u(t,e){return t===e?0!==t||1/t==1/e:t!==t&&e!==e}function l(t){this.message=t,this.stack=""}function c(t){function n(n,u,c,f,d,p,h){if(f=f||E,p=p||c,h!==i)if(e)r(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");else if("production"!=={DRAGGABLE_DEBUG:void 0}.NODE_ENV&&"undefined"!=typeof console){var g=f+":"+c;!a[g]&&s<3&&(o(!1,"You are manually calling a React.PropTypes validation function for the `%s` prop on `%s`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.",p,f),a[g]=!0,s++)}return null==u[c]?n?new l(null===u[c]?"The "+d+" `"+p+"` is marked as required in `"+f+"`, but its value is `null`.":"The "+d+" `"+p+"` is marked as required in `"+f+"`, but its value is `undefined`."):null:t(u,c,f,d,p)}if("production"!=={DRAGGABLE_DEBUG:void 0}.NODE_ENV)var a={},s=0;var u=n.bind(null,!1);return u.isRequired=n.bind(null,!0),u}function f(t){function e(e,n,r,o,i,a){var s=e[n];if(_(s)!==t)return new l("Invalid "+o+" `"+i+"` of type `"+x(s)+"` supplied to `"+r+"`, expected `"+t+"`.");return null}return c(e)}function d(t){function e(e,n,r,o,a){if("function"!=typeof t)return new l("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var s=e[n];if(!Array.isArray(s)){return new l("Invalid "+o+" `"+a+"` of type `"+_(s)+"` supplied to `"+r+"`, expected an array.")}for(var u=0;u1?e-1:0),r=1;r2?r-2:0),i=2;i0&&void 0!==arguments[0]?arguments[0]:{};return y({touchAction:"none"},t)}Object.defineProperty(exports,"__esModule",{value:!0});var y=Object.assign||function(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:"transform";if("undefined"==typeof window||void 0===window.document)return"";var e=window.document.documentElement.style;if(t in e)return"";for(var r=0;r1)for(var n=1;n=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}exports.__esModule=!0;var s=Object.assign||function(t){for(var e=1;et[s]&&(r=s)}return r}function r(t,e){if(!e[t])throw new Error("ResponsiveReactGridLayout: `cols` entry for breakpoint "+t+" is missing!");return e[t]}function o(t,e,n,r,o,s){if(t[n])return(0,a.cloneLayout)(t[n]);for(var u=t[r],l=i(e),c=l.slice(l.indexOf(n)),f=0,d=c.length;f0&&void 0!==arguments[0]?arguments[0]:u,e=arguments[1];switch(e.type){case s.BEGIN_DRAG:return{initialSourceClientOffset:e.sourceClientOffset,initialClientOffset:e.clientOffset,clientOffset:e.clientOffset};case s.HOVER:return n(t.clientOffset,e.clientOffset)?t:a({},t,{clientOffset:e.clientOffset});case s.END_DRAG:case s.DROP:return u;default:return t}}function o(t){var e=t.clientOffset,n=t.initialClientOffset,r=t.initialSourceClientOffset;return e&&n&&r?{x:e.x+r.x-n.x,y:e.y+r.y-n.y}:null}function i(t){var e=t.clientOffset,n=t.initialClientOffset;return e&&n?{x:e.x-n.x,y:e.y-n.y}:null}Object.defineProperty(exports,"__esModule",{value:!0});var a=Object.assign||function(t){for(var e=1;e=l&&(d=u,p=!1,e=new r(e));t:for(;++f-1&&t%1==0&&t<=n}var n=9007199254740991;t.exports=e},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(){var t=(arguments.length>0&&void 0!==arguments[0]&&arguments[0],arguments[1]),e=arguments[2];switch(t.type){case l.HOVER:break;case c.ADD_SOURCE:case c.ADD_TARGET:case c.REMOVE_TARGET:case c.REMOVE_SOURCE:return f;case l.BEGIN_DRAG:case l.PUBLISH_DRAG_SOURCE:case l.END_DRAG:case l.DROP:default:return d}var n=t.targetIds,r=e.targetIds,o=(0,a.default)(n,r),i=!1;if(0===o.length){for(var s=0;s0)}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=r,exports.areDirty=o;var i=e(579),a=n(i),s=e(587),u=n(s),l=e(95),c=e(102),f=[],d=[]},function(t,exports,e){function n(t,e,i,a,s){var u=-1,l=t.length;for(i||(i=o),s||(s=[]);++u0&&i(c)?e>1?n(c,e-1,i,a,s):r(s,c):a||(s[s.length]=c)}return s}var r=e(582),o=e(583);t.exports=n},function(t,exports,e){var n=e(584),r=e(82),o=Object.prototype,i=o.hasOwnProperty,a=o.propertyIsEnumerable,s=n(function(){return arguments}())?n:function(t){return r(t)&&i.call(t,"callee")&&!a.call(t,"callee")};t.exports=s},function(t,exports,e){function n(t,e,n){var c=-1,f=o,d=t.length,p=!0,h=[],g=h;if(n)p=!1,f=i;else if(d>=l){var m=e?null:s(t);if(m)return u(m);p=!1,f=a,g=new r}else g=e?[]:h;t:for(;++c, or turn it into a drag source or a drop target itself.")}}function r(t){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!(0,i.isValidElement)(e)){return void t(e,r)}var o=e;n(o);var a=r?function(e){return t(e,r)}:t;return(0,s.default)(o,a)}}function o(t){var e={};return Object.keys(t).forEach(function(n){var o=t[n],i=r(o);e[n]=function(){return i}}),e}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=o;var i=e(2),a=e(610),s=function(t){return t&&t.__esModule?t:{default:t}}(a)},function(t,exports,e){"use strict";function n(t,e){return e===t||null!==e&&null!==t&&(0,o.default)(e,t)}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=n;var r=e(137),o=function(t){return t&&t.__esModule?t:{default:t}}(r)},function(t,exports,e){"use strict";function n(t,e){return"string"==typeof t||"symbol"===(void 0===t?"undefined":r(t))||e&&(0,i.default)(t)&&t.every(function(t){return n(t,!1)})}Object.defineProperty(exports,"__esModule",{value:!0});var 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};exports.default=n;var o=e(56),i=function(t){return t&&t.__esModule?t:{default:t}}(o)},function(t,exports,e){function n(t,e,n){"__proto__"==e&&r?r(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}var r=e(212);t.exports=n},function(t,exports){function e(t,e){return!!(e=null==e?n:e)&&("number"==typeof t||r.test(t))&&t>-1&&t%1==0&&to&&u>a||(t.moveItem(r,o),e.getItem().index=o)}}},b=u.default.createClass({displayName:"SortableListItem",propTypes:{connectDragSource:a.default.func.isRequired,connectDropTarget:a.default.func.isRequired,content:a.default.any.isRequired,disableDragging:a.default.bool,index:a.default.number.isRequired,isDragging:a.default.bool.isRequired,isOver:a.default.bool.isRequired,id:a.default.any.isRequired,moveItem:a.default.func.isRequired},getDefaultProps:function(){return{disableDragging:!1}},render:function(){var t=this.props,e=t.content,n=t.isDragging,r=t.isOver,o=t.connectDragSource,i=t.connectDropTarget,a=[h.default.listGroupItem];n&&a.push("dragging"),r&&a.push("over");var s=u.default.createElement("span",{className:h.default.itemHandle},u.default.createElement("i",{className:"fa fa-sort"})),l=u.default.createElement("div",{className:"sortable-list-item"},u.default.createElement(f.ListGroupItem,{className:a.join(" ")},u.default.createElement("div",null,this.props.disableDragging?null:s,e)));return this.props.disableDragging?l:o(i(l))}});exports.default=(0,d.DropTarget)(g.ITEM,v,o)((0,d.DragSource)(g.ITEM,m,r)(b)),t.exports=exports.default},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,exports,e){t.exports={PluginManifest:e(372),PluginStore:e(373)}},function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n={clone:function(t){return JSON.parse(JSON.stringify(t))},isEmpty:function(t){var e=Object.keys(t);return e&&0===e.length}};exports.default=n,t.exports=exports.default},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(2),o=n(r),i=e(5),a=n(i),s=function(t){var e=t.text;return o.default.createElement("span",null,o.default.createElement("i",{className:"fa fa-spin fa-spinner"})," ",e)};s.propTypes={text:a.default.string},s.defaultProps={text:"Loading..."},exports.default=s,t.exports=exports.default},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(exports,"__esModule",{value:!0});var a=Object.assign||function(t){for(var e=1;e=0)return!0;return!1},register:function(n,r){r=t(r),e[r].push(n)},deregister:function(n,r){r=t(r);for(var o=0;o=0||void 0!==e)&&(i=i.duration(e)),(r>=0||void 0!==r)&&(i=i.delay(r)),i},n.optionalTransition=function(t,e,r,o){return t?function(t){return n.transition(t,e,r,o)}:function(t){return t}},n.afterTransition=function(t,e){if(t.empty()||!t.duration)e.call(t);else{var n=0;t.each(function(){++n}).each("end",function(){--n||e.call(t)})}},n.units={},n.units.integers=function(t,e){return Math.abs(e-t)},n.units.ordinal=function(t,e,n){return n},n.units.fp={},n.units.fp.precision=function(t){var e=function(t,r){var o=Math.abs((r-t)/e.resolution);return n.utils.isNegligible(o-Math.floor(o))?Math.floor(o):Math.ceil(o)};return e.resolution=t,e},n.round={},n.round.floor=function(t){return Math.floor(t)},n.round.ceil=function(t){return Math.ceil(t)},n.round.round=function(t){return Math.round(t)},n.override=function(t,e,n){var r=t[e];t["_"+e]=r,t[e]=n},n.renderlet=function(t){return arguments.length?(n._renderlet=t,n):n._renderlet},n.instanceOfChart=function(t){return t instanceof Object&&t.__dcFlag__&&!0},n.errors={},n.errors.Exception=function(t){var e=t||"Unexpected internal error";this.message=e,this.toString=function(){return e},this.stack=(new Error).stack},n.errors.Exception.prototype=Object.create(Error.prototype),n.errors.Exception.prototype.constructor=n.errors.Exception,n.errors.InvalidStateException=function(){n.errors.Exception.apply(this,arguments)},n.errors.InvalidStateException.prototype=Object.create(n.errors.Exception.prototype),n.errors.InvalidStateException.prototype.constructor=n.errors.InvalidStateException,n.errors.BadArgumentException=function(){n.errors.Exception.apply(this,arguments)},n.errors.BadArgumentException.prototype=Object.create(n.errors.Exception.prototype),n.errors.BadArgumentException.prototype.constructor=n.errors.BadArgumentException,n.dateFormat=t.time.format("%m/%d/%Y"),n.printers={},n.printers.filters=function(t){for(var e="",r=0;r0&&(e+=", "),e+=n.printers.filter(t[r]);return e},n.printers.filter=function(t){var e="";return void 0!==t&&null!==t&&(t instanceof Array?t.length>=2?e="["+n.utils.printSingleValue(t[0])+" -> "+n.utils.printSingleValue(t[1])+"]":t.length>=1&&(e=n.utils.printSingleValue(t[0])):e=n.utils.printSingleValue(t)),e},n.pluck=function(t,e){return e?function(n,r){return e.call(n,n[t],r)}:function(e){return e[t]}},n.utils={},n.utils.printSingleValue=function(t){var e=""+t;return t instanceof Date?e=n.dateFormat(t):"string"==typeof t?e=t:n.utils.isFloat(t)?e=n.utils.printSingleValue.fformat(t):n.utils.isInteger(t)&&(e=Math.round(t)),e},n.utils.printSingleValue.fformat=t.format(".2f"),n.utils.add=function(e,n,r){if("string"==typeof n&&(n=n.replace("%","")),e instanceof Date)return"string"==typeof n&&(n=+n),"millis"===r?new Date(e.getTime()+n):(r=r||"day",t.time[r].offset(e,n));if("string"==typeof n){var o=+n/100;return e>0?e*(1+o):e*(1-o)}return e+n},n.utils.subtract=function(e,n,r){if("string"==typeof n&&(n=n.replace("%","")),e instanceof Date)return"string"==typeof n&&(n=+n),"millis"===r?new Date(e.getTime()-n):(r=r||"day",t.time[r].offset(e,-n));if("string"==typeof n){var o=+n/100;return e<0?e*(1+o):e*(1-o)}return e-n},n.utils.isNumber=function(t){return t===+t},n.utils.isFloat=function(t){return t===+t&&t!==(0|t)},n.utils.isInteger=function(t){return t===+t&&t===(0|t)},n.utils.isNegligible=function(t){return!n.utils.isNumber(t)||t-n.constants.NEGLIGIBLE_NUMBER},n.utils.clamp=function(t,e,n){return tn?n:t};var r=0;return n.utils.uniqueId=function(){return++r},n.utils.nameToId=function(t){return t.toLowerCase().replace(/[\s]/g,"_").replace(/[\.']/g,"")},n.utils.appendOrSelect=function(t,e,n){n=n||e;var r=t.select(e);return r.empty()&&(r=t.append(n)),r},n.utils.safeNumber=function(t){return n.utils.isNumber(+t)?+t:0},n.logger={},n.logger.enableDebugLog=!1,n.logger.warn=function(t){return console&&(console.warn?console.warn(t):console.log&&console.log(t)),n.logger},n.logger.debug=function(t){return n.logger.enableDebugLog&&console&&(console.debug?console.debug(t):console.log&&console.log(t)),n.logger},n.logger.deprecate=function(t,e){function r(){return o||(n.logger.warn(e),o=!0),t.apply(this,arguments)}var o=!1;return r},n.events={current:null},n.events.trigger=function(t,e){if(!e)return void t();n.events.current=t,setTimeout(function(){t===n.events.current&&t()},e)},n.filters={},n.filters.RangedFilter=function(t,e){var n=new Array(t,e);return n.isFiltered=function(t){return t>=this[0]&&t=e[0][0]&&n=e[0][1]&&ry?e:y},x=_,w=200,k=function(t){var e=t&&t.getBoundingClientRect&&t.getBoundingClientRect().height;return e&&e>w?e:w},S=k,E=n.pluck("key"),C=n.pluck("value"),A=n.pluck("key"),O=n.pluck("key"),M=!1,T=function(t){return r.keyAccessor()(t)+": "+r.valueAccessor()(t)},D=!0,F=!1,P=750,R=0,I=n.printers.filters,j=["dimension","group"],N=n.constants.DEFAULT_CHART_GROUP,z=t.dispatch("preRender","postRender","preRedraw","postRedraw","filtered","zoomed","renderlet","pretransition"),L=[],U=function(t,e){return 0===e.length?t.filter(null):1!==e.length||e[0].isFiltered?1===e.length&&"RangedFilter"===e[0].filterType?t.filterRange(e[0]):t.filterFunction(function(t){for(var n=0;n=t)return!0}return!1}):t.filterExact(e[0]),e},q=function(t){return t.all()};r.height=function(e){return arguments.length?(S=t.functor(e||k),g=void 0,r):(n.utils.isNumber(g)||(g=S(f.node())),g)},r.width=function(e){return arguments.length?(x=t.functor(e||_),h=void 0,r):(n.utils.isNumber(h)||(h=x(f.node())),h)},r.minWidth=function(t){return arguments.length?(y=t,r):y},r.minHeight=function(t){return arguments.length?(w=t,r):w},r.dimension=function(t){return arguments.length?(u=t,r.expireCache(),r):u},r.data=function(e){return arguments.length?(q=t.functor(e),r.expireCache(),r):q.call(r,l)},r.group=function(t,e){return arguments.length?(l=t,r._groupName=e,r.expireCache(),r):l},r.ordering=function(t){return arguments.length?(O=t,m=e.quicksort.by(O),r.expireCache(),r):O},r._computeOrderedGroups=function(t){var n=t.slice(0);return n.length<=1?n:(m||(m=e.quicksort.by(O)),m(n,0,n.length))},r.filterAll=function(){return r.filter(null)},r.select=function(t){return f.select(t)},r.selectAll=function(t){return f?f.selectAll(t):null},r.anchor=function(e,o){if(!arguments.length)return c;if(n.instanceOfChart(e))c=e.anchor(),f=e.root(),p=!0;else{if(!e)throw new n.errors.BadArgumentException("parent must be defined");c=e.select&&e.classed?e.node():e,f=t.select(c),f.classed(n.constants.CHART_CLASS,!0),n.registerChart(r,o),p=!1}return N=o,r},r.anchorName=function(){var t=r.anchor();return t&&t.id?t.id:t&&t.replace?t.replace("#",""):"dc-chart"+r.chartID()},r.root=function(t){return arguments.length?(f=t,r):f},r.svg=function(t){return arguments.length?(d=t,r):d},r.resetSvg=function(){return r.select("svg").remove(),i()},r.filterPrinter=function(t){return arguments.length?(I=t,r):I},r.controlsUseVisibility=function(t){return arguments.length?(F=t,r):F},r.turnOnControls=function(){if(f){var t=r.controlsUseVisibility()?"visibility":"display";r.selectAll(".reset").style(t,null),r.selectAll(".filter").text(I(r.filters())).style(t,null)}return r},r.turnOffControls=function(){if(f){var t=r.controlsUseVisibility()?"visibility":"display",e=r.controlsUseVisibility()?"hidden":"none";r.selectAll(".reset").style(t,e),r.selectAll(".filter").style(t,e).text(r.filter())}return r},r.transitionDuration=function(t){return arguments.length?(P=t,r):P},r.transitionDelay=function(t){return arguments.length?(R=t,r):R},r._mandatoryAttributes=function(t){return arguments.length?(j=t,r):j},r.render=function(){g=h=void 0,z.preRender(r),j&&j.forEach(a);var t=r._doRender();return v&&v.render(),r._activateRenderlets("postRender"),t},r._activateRenderlets=function(t){z.pretransition(r),r.transitionDuration()>0&&d?d.transition().duration(r.transitionDuration()).delay(r.transitionDelay()).each("end",function(){z.renderlet(r),t&&z[t](r)}):(z.renderlet(r),t&&z[t](r))},r.redraw=function(){o(),z.preRedraw(r);var t=r._doRedraw();return v&&v.render(),r._activateRenderlets("postRedraw"),t},r.commitHandler=function(t){return arguments.length?(b=t,r):b},r.redrawGroup=function(){return b?b(!1,function(t,e){t?console.log(t):n.redrawAll(r.chartGroup())}):n.redrawAll(r.chartGroup()),r},r.renderGroup=function(){return b?b(!1,function(t,e){t?console.log(t):n.renderAll(r.chartGroup())}):n.renderAll(r.chartGroup()),r},r._invokeFilteredListener=function(t){void 0!==t&&z.filtered(r,t)},r._invokeZoomedListener=function(){z.zoomed(r)};var B=function(t,e){return null===e||void 0===e?t.length>0:t.some(function(t){return e<=t&&e>=t})};r.hasFilterHandler=function(t){return arguments.length?(B=t,r):B},r.hasFilter=function(t){return B(L,t)};var H=function(t,e){for(var n=0;n=e){t.splice(n,1);break}return t};r.removeFilterHandler=function(t){return arguments.length?(H=t,r):H};var G=function(t,e){return t.push(e),t};r.addFilterHandler=function(t){return arguments.length?(G=t,r):G};var V=function(t){return[]};return r.resetFilterHandler=function(t){return arguments.length?(V=t,r):V},r.replaceFilter=function(t){return L=V(L),r.filter(t),r},r.filter=function(t){return arguments.length?(t instanceof Array&&t[0]instanceof Array&&!t.isFiltered?t[0].forEach(function(t){r.hasFilter(t)?H(L,t):G(L,t)}):null===t?L=V(L):r.hasFilter(t)?H(L,t):G(L,t),s(),r._invokeFilteredListener(t),null!==f&&r.hasFilter()?r.turnOnControls():r.turnOffControls(),r):L.length>0?L[0]:null},r.filters=function(){return L},r.highlightSelected=function(e){t.select(e).classed(n.constants.SELECTED_CLASS,!0),t.select(e).classed(n.constants.DESELECTED_CLASS,!1)},r.fadeDeselected=function(e){t.select(e).classed(n.constants.SELECTED_CLASS,!1),t.select(e).classed(n.constants.DESELECTED_CLASS,!0)},r.resetHighlight=function(e){t.select(e).classed(n.constants.SELECTED_CLASS,!1),t.select(e).classed(n.constants.DESELECTED_CLASS,!1)},r.onClick=function(t){var e=r.keyAccessor()(t);n.events.trigger(function(){r.filter(e),r.redrawGroup()})},r.filterHandler=function(t){return arguments.length?(U=t,r):U},r._doRender=function(){return r},r._doRedraw=function(){return r},r.legendables=function(){return[]},r.legendHighlight=function(){},r.legendReset=function(){},r.legendToggle=function(){},r.isLegendableHidden=function(){return!1},r.keyAccessor=function(t){return arguments.length?(E=t,r):E},r.valueAccessor=function(t){return arguments.length?(C=t,r):C},r.label=function(t,e){return arguments.length?(A=t,(void 0===e||e)&&(M=!0),r):A},r.renderLabel=function(t){return arguments.length?(M=t,r):M},r.title=function(t){return arguments.length?(T=t,r):T},r.renderTitle=function(t){return arguments.length?(D=t,r):D},r.renderlet=n.logger.deprecate(function(t){return r.on("renderlet."+n.utils.uniqueId(),t),r},'chart.renderlet has been deprecated. Please use chart.on("renderlet.", renderletFunction)'),r.chartGroup=function(t){return arguments.length?(p||n.deregisterChart(r,N),N=t,p||n.registerChart(r,N),r):N},r.expireCache=function(){return r},r.legend=function(t){return arguments.length?(v=t,v.parent(r),r):v},r.chartID=function(){return r.__dcFlag__},r.options=function(t){var e=["anchor","group","xAxisLabel","yAxisLabel","stack","title","point","getColor","overlayGeoJson"];for(var o in t)"function"==typeof r[o]?t[o]instanceof Array&&-1!==e.indexOf(o)?r[o].apply(r,t[o]):r[o].call(r,t[o]):n.logger.debug("Not a valid option setter name: "+o);return r},r.on=function(t,e){return z.on(t,e),r},r},n.marginMixin=function(t){var e={top:10,right:50,bottom:30,left:30};return t.margins=function(n){return arguments.length?(e=n,t):e},t.effectiveWidth=function(){return t.width()-t.margins().left-t.margins().right},t.effectiveHeight=function(){return t.height()-t.margins().top-t.margins().bottom},t},n.colorMixin=function(e){var r=t.scale.category20c(),o=!0,i=function(t){return e.keyAccessor()(t)};return e.colors=function(n){return arguments.length?(r=n instanceof Array?t.scale.quantize().range(n):t.functor(n),e):r},e.ordinalColors=function(n){return e.colors(t.scale.ordinal().range(n))},e.linearColors=function(n){return e.colors(t.scale.linear().range(n).interpolate(t.interpolateHcl))},e.colorAccessor=function(t){return arguments.length?(i=t,o=!1,e):i},e.defaultColorAccessor=function(){return o},e.colorDomain=function(t){return arguments.length?(r.domain(t),e):r.domain()},e.calculateColorDomain=function(){var n=[t.min(e.data(),e.colorAccessor()),t.max(e.data(),e.colorAccessor())];return r.domain(n),e},e.getColor=function(t,e){return r(i.call(this,t,e))},e.colorCalculator=n.logger.deprecate(function(t){return arguments.length?(e.getColor=t,e):e.getColor},"colorMixin.colorCalculator has been deprecated. Please colorMixin.colors and colorMixin.colorAccessor instead"),e},n.coordinateGridMixin=function(e){function r(t,e){return!t||!e||t.length!==e.length||t.some(function(t,n){return t&&e[n]?t.toString()!==e[n].toString():t===e[n]})}function o(t,n){e.isOrdinal()?(e.elasticX()||0===x.domain().length)&&x.domain(e._ordinalXDomain()):e.elasticX()&&x.domain([e.xAxisMin(),e.xAxisMax()]);var o=x.domain();(n||r(S,o))&&e.rescale(),S=o,e.isOrdinal()?x.rangeBands([0,e.xAxisLength()],nt,e._useOuterPadding()?et:0):x.range([0,e.xAxisLength()]),D=D.scale(e.x()),i(t)}function i(t){var r=t.select("g."+v);if(G){r.empty()&&(r=t.insert("g",":first-child").attr("class",m+" "+v).attr("transform","translate("+e.margins().left+","+e.margins().top+")"));var o=D.tickValues()?D.tickValues():"function"==typeof x.ticks?x.ticks(D.ticks()[0]):x.domain(),i=r.selectAll("line").data(o),a=i.enter().append("line").attr("x1",function(t){return x(t)}).attr("y1",e._xAxisY()-e.margins().top).attr("x2",function(t){return x(t)}).attr("y2",0).attr("opacity",0);n.transition(a,e.transitionDuration(),e.transitionDelay()).attr("opacity",1),n.transition(i,e.transitionDuration(),e.transitionDelay()).attr("x1",function(t){return x(t)}).attr("y1",e._xAxisY()-e.margins().top).attr("x2",function(t){return x(t)}).attr("y2",0),i.exit().remove()}else r.selectAll("line").remove()}function a(){return e._xAxisY()-e.margins().top}function s(){return e.anchorName().replace(/[ .#=\[\]"]/g,"-")+"-clip"}function u(){var t=n.utils.appendOrSelect(b,"defs"),r=s(),o=n.utils.appendOrSelect(t,"#"+r,"clipPath").attr("id",r),i=2*tt;n.utils.appendOrSelect(o,"rect").attr("width",e.xAxisLength()+i).attr("height",e.yAxisHeight()+i).attr("transform","translate(-"+tt+", -"+tt+")")}function l(t){e.isOrdinal()&&(B=!1),o(e.g(),t),e._prepareYAxis(e.g()),e.plotData(),(e.elasticX()||W||t)&&e.renderXAxis(e.g()),(e.elasticY()||W||t)&&e.renderYAxis(e.g()),t?e.renderBrush(e.g(),!1):e.redrawBrush(e.g(),W),e.fadeDeselectedArea(),W=!1}function c(){J?e._enableMouseZoom():Z&&e._disableMouseZoom()}function f(){if(V=!0,K){var t=w;M&&(t=d(t,M.x().domain()));var r=p(e.x().domain(),t);r&&e.x().domain(r)}var o=e.x().domain(),i=n.filters.RangedFilter(o[0],o[1]);e.replaceFilter(i),e.rescale(),e.redraw(),M&&!h(e.filter(),M.filter())&&n.events.trigger(function(){M.replaceFilter(i),M.redraw()}),e._invokeZoomedListener(),n.events.trigger(function(){e.redrawGroup()},n.constants.EVENT_DELAY),V=!h(o,w)}function d(t,e){return(t[0]>e[1]||t[1]e[1]?[Math.max(e[0],n.utils.subtract(e[1],r,"millis")),e[1]]:null}function h(t,e){return!t&&!e||!(!t||!e)&&(0===t.length&&0===e.length||t[0].valueOf()===e[0].valueOf()&&t[1].valueOf()===e[1].valueOf())}function g(t){return t instanceof Array&&t.length>1}var m="grid-line",v="vertical";e=n.colorMixin(n.marginMixin(n.baseMixin(e))),e.colors(t.scale.category10()),e._mandatoryAttributes().push("x");var b,y,_,x,w,k,S,E,C,A,O,M,T,D=t.svg.axis().orient("bottom"),F=n.units.integers,P=0,R="day",I=!1,j=0,N=t.svg.axis().orient("left"),z=0,L=!1,U=0,q=t.svg.brush(),B=!0,H=!1,G=!1,V=!1,W=!1,Y=[1,1/0],K=!0,Q=t.behavior.zoom().on("zoom",f),X=t.behavior.zoom().on("zoom",null),Z=!1,J=!1,tt=0,et=.5,nt=0,rt=!1;return e.rescale=function(){return O=void 0,W=!0,e},e.resizing=function(){return W},e.rangeChart=function(t){return arguments.length?(M=t,M.focusChart(e),e):M},e.zoomScale=function(t){return arguments.length?(Y=t,e):Y},e.zoomOutRestrict=function(t){return arguments.length?(Y[0]=t?1:0,K=t,e):K},e._generateG=function(t){b=void 0===t?e.svg():t;var n=window.location.href.split("#")[0];return y=b.append("g"),_=y.append("g").attr("class","chart-body").attr("transform","translate("+e.margins().left+", "+e.margins().top+")").attr("clip-path","url("+n+"#"+s()+")"),y},e.g=function(t){return arguments.length?(y=t,e):y},e.mouseZoomable=function(t){return arguments.length?(J=t,e):J},e.chartBodyG=function(t){return arguments.length?(_=t,e):_},e.x=function(t){return arguments.length?(x=t,w=x.domain(),e.rescale(),e):x},e.xOriginalDomain=function(){return w},e.xUnits=function(t){return arguments.length?(F=t,e):F},e.xAxis=function(t){return arguments.length?(D=t,e):D},e.elasticX=function(t){return arguments.length?(I=t,e):I},e.xAxisPadding=function(t){return arguments.length?(P=t,e):P},e.xAxisPaddingUnit=function(t){return arguments.length?(R=t,e):R},e.xUnitCount=function(){if(void 0===O){var t=e.xUnits()(e.x().domain()[0],e.x().domain()[1],e.x().domain());O=t instanceof Array?t.length:t}return O},e.useRightYAxis=function(t){return arguments.length?(rt=t,e):rt},e.isOrdinal=function(){return e.xUnits()===n.units.ordinal},e._useOuterPadding=function(){return!0},e._ordinalXDomain=function(){return e._computeOrderedGroups(e.data()).map(e.keyAccessor())},e.renderXAxis=function(t){var r=t.select("g.x");r.empty()&&(r=t.append("g").attr("class","axis x").attr("transform","translate("+e.margins().left+","+e._xAxisY()+")"));var o=t.select("text.x-axis-label");o.empty()&&e.xAxisLabel()&&(o=t.append("text").attr("class","x-axis-label").attr("transform","translate("+(e.margins().left+e.xAxisLength()/2)+","+(e.height()-j)+")").attr("text-anchor","middle")),e.xAxisLabel()&&o.text()!==e.xAxisLabel()&&o.text(e.xAxisLabel()),n.transition(r,e.transitionDuration(),e.transitionDelay()).attr("transform","translate("+e.margins().left+","+e._xAxisY()+")").call(D),n.transition(o,e.transitionDuration(),e.transitionDelay()).attr("transform","translate("+(e.margins().left+e.xAxisLength()/2)+","+(e.height()-j)+")")},e._xAxisY=function(){return e.height()-e.margins().bottom},e.xAxisLength=function(){return e.effectiveWidth()},e.xAxisLabel=function(t,n){return arguments.length?(k=t,e.margins().bottom-=j,j=void 0===n?12:n,e.margins().bottom+=j,e):k},e._prepareYAxis=function(n){if(void 0===E||e.elasticY()){void 0===E&&(E=t.scale.linear());var r=e.yAxisMin()||0,o=e.yAxisMax()||0;E.domain([r,o]).rangeRound([e.yAxisHeight(),0])}E.range([e.yAxisHeight(),0]),N=N.scale(E),rt&&N.orient("right"),e._renderHorizontalGridLinesForAxis(n,E,N)},e.renderYAxisLabel=function(t,r,o,i){i=i||U;var a=e.g().select("text.y-axis-label."+t+"-label"),s=e.margins().top+e.yAxisHeight()/2;a.empty()&&r&&(a=e.g().append("text").attr("transform","translate("+i+","+s+"),rotate("+o+")").attr("class","y-axis-label "+t+"-label").attr("text-anchor","middle").text(r)),r&&a.text()!==r&&a.text(r),n.transition(a,e.transitionDuration(),e.transitionDelay()).attr("transform","translate("+i+","+s+"),rotate("+o+")")},e.renderYAxisAt=function(t,r,o){var i=e.g().select("g."+t);i.empty()&&(i=e.g().append("g").attr("class","axis "+t).attr("transform","translate("+o+","+e.margins().top+")")),n.transition(i,e.transitionDuration(),e.transitionDelay()).attr("transform","translate("+o+","+e.margins().top+")").call(r)},e.renderYAxis=function(){var t=rt?e.width()-e.margins().right:e._yAxisX();e.renderYAxisAt("y",N,t);var n=rt?e.width()-U:U,r=rt?90:-90;e.renderYAxisLabel("y",e.yAxisLabel(),r,n)},e._renderHorizontalGridLinesForAxis=function(t,r,o){var i=t.select("g.horizontal");if(H){var a=o.tickValues()?o.tickValues():r.ticks(o.ticks()[0]);i.empty()&&(i=t.insert("g",":first-child").attr("class",m+" horizontal").attr("transform","translate("+e.margins().left+","+e.margins().top+")"));var s=i.selectAll("line").data(a),u=s.enter().append("line").attr("x1",1).attr("y1",function(t){return r(t)}).attr("x2",e.xAxisLength()).attr("y2",function(t){return r(t)}).attr("opacity",0);n.transition(u,e.transitionDuration(),e.transitionDelay()).attr("opacity",1),n.transition(s,e.transitionDuration(),e.transitionDelay()).attr("x1",1).attr("y1",function(t){return r(t)}).attr("x2",e.xAxisLength()).attr("y2",function(t){return r(t)}),s.exit().remove()}else i.selectAll("line").remove()},e._yAxisX=function(){return e.useRightYAxis()?e.width()-e.margins().right:e.margins().left},e.yAxisLabel=function(t,n){return arguments.length?(C=t,e.margins().left-=U,U=void 0===n?12:n,e.margins().left+=U,e):C},e.y=function(t){return arguments.length?(E=t,e.rescale(),e):E},e.yAxis=function(t){return arguments.length?(N=t,e):N},e.elasticY=function(t){return arguments.length?(L=t,e):L},e.renderHorizontalGridLines=function(t){return arguments.length?(H=t,e):H},e.renderVerticalGridLines=function(t){return arguments.length?(G=t,e):G},e.xAxisMin=function(){var r=t.min(e.data(),function(t){return e.keyAccessor()(t)});return n.utils.subtract(r,P,R)},e.xAxisMax=function(){var r=t.max(e.data(),function(t){return e.keyAccessor()(t)});return n.utils.add(r,P,R)},e.yAxisMin=function(){var r=t.min(e.data(),function(t){return e.valueAccessor()(t)});return n.utils.subtract(r,z)},e.yAxisMax=function(){var r=t.max(e.data(),function(t){return e.valueAccessor()(t)});return n.utils.add(r,z)},e.yAxisPadding=function(t){return arguments.length?(z=t,e):z},e.yAxisHeight=function(){return e.effectiveHeight()},e.round=function(t){return arguments.length?(A=t,e):A},e._rangeBandPadding=function(t){return arguments.length?(nt=t,e):nt},e._outerRangeBandPadding=function(t){return arguments.length?(et=t,e):et},n.override(e,"filter",function(t){return arguments.length?(e._filter(t),t?e.brush().extent(t):e.brush().clear(),e):e._filter()}),e.brush=function(t){return arguments.length?(q=t,e):q},e.renderBrush=function(t){if(B){q.on("brush",e._brushing),q.on("brushstart",e._disableMouseZoom),q.on("brushend",c);var n=t.append("g").attr("class","brush").attr("transform","translate("+e.margins().left+","+e.margins().top+")").call(q.x(e.x()));e.setBrushY(n,!1),e.setHandlePaths(n),e.hasFilter()&&e.redrawBrush(t,!1)}},e.setHandlePaths=function(t){t.selectAll(".resize").append("path").attr("d",e.resizeHandlePath)},e.setBrushY=function(t){t.selectAll("rect").attr("height",a()),t.selectAll(".resize path").attr("d",e.resizeHandlePath)},e.extendBrush=function(){var t=q.extent();return e.round()&&(t[0]=t.map(e.round())[0],t[1]=t.map(e.round())[1],y.select(".brush").call(q.extent(t))),t},e.brushIsEmpty=function(t){return q.empty()||!t||t[1]<=t[0]},e._brushing=function(){var t=e.extendBrush();if(e.redrawBrush(y,!1),e.brushIsEmpty(t))n.events.trigger(function(){e.filter(null),e.redrawGroup()},n.constants.EVENT_DELAY);else{var r=n.filters.RangedFilter(t[0],t[1]);n.events.trigger(function(){e.replaceFilter(r),e.redrawGroup()},n.constants.EVENT_DELAY)}},e.redrawBrush=function(t,r){if(B){e.filter()&&e.brush().empty()&&e.brush().extent(e.filter());var o=n.optionalTransition(r,e.transitionDuration(),e.transitionDelay())(t.select("g.brush"));e.setBrushY(o),o.call(e.brush().x(e.x()).extent(e.brush().extent()))}e.fadeDeselectedArea()},e.fadeDeselectedArea=function(){},e.resizeHandlePath=function(t){var e=+("e"===t),n=e?1:-1,r=a()/3;return"M"+.5*n+","+r+"A6,6 0 0 "+e+" "+6.5*n+","+(r+6)+"V"+(2*r-6)+"A6,6 0 0 "+e+" "+.5*n+","+2*r+"ZM"+2.5*n+","+(r+8)+"V"+(2*r-8)+"M"+4.5*n+","+(r+8)+"V"+(2*r-8)},e.clipPadding=function(t){return arguments.length?(tt=t,e):tt},e._preprocessData=function(){},e._doRender=function(){return e.resetSvg(),e._preprocessData(),e._generateG(),u(),l(!0),c(),e},e._doRedraw=function(){return e._preprocessData(),l(!1),u(),e},e._enableMouseZoom=function(){Z=!0,Q.x(e.x()).scaleExtent(Y).size([e.width(),e.height()]).duration(e.transitionDuration()),e.root().call(Q)},e._disableMouseZoom=function(){e.root().call(X)},e.focus=function(t){g(t)?e.x().domain(t):e.x().domain(w),Q.x(e.x()),f()},e.refocused=function(){return V},e.focusChart=function(t){return arguments.length?(T=t,e.on("filtered",function(t){t.filter()?h(t.filter(),T.filter())||n.events.trigger(function(){T.focus(t.filter())}):n.events.trigger(function(){T.x().domain(T.xOriginalDomain())})}),e):T},e.brushOn=function(t){return arguments.length?(B=t,e):B},e},n.stackMixin=function(e){function r(t,n){var r=t.accessor||e.valueAccessor();return t.name=String(t.name||n),t.values=t.group.all().map(function(n,o){return{x:e.keyAccessor()(n,o),y:t.hidden?null:r(n,o),data:n,layer:t.name,hidden:t.hidden}}),t.values=t.values.filter(o()),t.values}function o(){if(!e.x()||d)return t.functor(!0);var n=e.x().domain();return e.isOrdinal()?function(){return!0}:e.elasticX()?function(){return!0}:function(t){return t.x>=n[0]&&t.x<=n[n.length-1]}}function i(t){var e=l.map(n.pluck("name")).indexOf(t);return l[e]}function a(){var t=e.data().map(function(t){return t.values});return Array.prototype.concat.apply([],t)}function s(t){return!t.hidden}var u=t.layout.stack().values(r),l=[],c={},f=!1,d=!1;return e.stack=function(t,n,r){if(!arguments.length)return l;arguments.length<=2&&(r=n);var o={group:t};return"string"==typeof n&&(o.name=n),"function"==typeof r&&(o.accessor=r),l.push(o),e},n.override(e,"group",function(t,n,r){return arguments.length?(l=[],c={},e.stack(t,n),r&&e.valueAccessor(r),e._group(t,n)):e._group()}),e.hidableStacks=function(t){return arguments.length?(f=t,e):f},e.hideStack=function(t){var n=i(t);return n&&(n.hidden=!0),e},e.showStack=function(t){var n=i(t);return n&&(n.hidden=!1),e},e.getValueAccessorByIndex=function(t){return l[t].accessor||e.valueAccessor()},e.yAxisMin=function(){var r=t.min(a(),function(t){return t.y<0?t.y+t.y0:t.y0});return n.utils.subtract(r,e.yAxisPadding())},e.yAxisMax=function(){var r=t.max(a(),function(t){return t.y>0?t.y+t.y0:t.y0});return n.utils.add(r,e.yAxisPadding())},e.xAxisMin=function(){var r=t.min(a(),n.pluck("x"));return n.utils.subtract(r,e.xAxisPadding(),e.xAxisPaddingUnit())},e.xAxisMax=function(){var r=t.max(a(),n.pluck("x"));return n.utils.add(r,e.xAxisPadding(),e.xAxisPaddingUnit())},n.override(e,"title",function(t,n){return t?"function"==typeof t?e._title(t):t===e._groupName&&"function"==typeof n?e._title(n):"function"!=typeof n?c[t]||e._title():(c[t]=n,e):e._title()}),e.stackLayout=function(n){return arguments.length?(u=n,u.values()===t.layout.stack().values()&&u.values(r),e):u},e.evadeDomainFilter=function(t){return arguments.length?(d=t,e):d},e.data(function(){var t=l.filter(s);return t.length?e.stackLayout()(t):[]}),e._ordinalXDomain=function(){var t=a().map(n.pluck("data"));return e._computeOrderedGroups(t).map(e.keyAccessor())},e.colorAccessor(function(t){return this.layer||this.name||t.name||t.layer}),e.legendables=function(){return l.map(function(t,n){return{chart:e,name:t.name,hidden:t.hidden||!1,color:e.getColor.call(t,t.values,n)}})},e.isLegendableHidden=function(t){var e=i(t.name);return!!e&&e.hidden},e.legendToggle=function(t){f&&(e.isLegendableHidden(t)?e.showStack(t.name):e.hideStack(t.name),e.renderGroup())},e},n.capMixin=function(e){var r=1/0,o="Others",i=function(n){var r=t.sum(n,e.valueAccessor()),o=e.group().all(),i=t.sum(o,e.valueAccessor()),a=n.map(e.keyAccessor()),s=o.map(e.keyAccessor()),u=t.set(a),l=s.filter(function(t){return!u.has(t)});return i>r?n.concat([{others:l,key:e.othersLabel(),value:i-r}]):n};return e.cappedKeyAccessor=function(t,n){return t.others?t.key:e.keyAccessor()(t,n)},e.cappedValueAccessor=function(t,n){return t.others?t.value:e.valueAccessor()(t,n)},e.data(function(t){if(r===1/0)return e._computeOrderedGroups(t.all());var n=t.top(r);return n=e._computeOrderedGroups(n),i?i(n):n}),e.cap=function(t){return arguments.length?(r=t,e):r},e.othersLabel=function(t){return arguments.length?(o=t,e):o},e.othersGrouper=function(t){return arguments.length?(i=t,e):i},n.override(e,"onClick",function(t){t.others&&e.filter([t.others]),e._onClick(t)}),e},n.bubbleMixin=function(e){var r=.3,o=10;e.BUBBLE_NODE_CLASS="node",e.BUBBLE_CLASS="bubble",e.MIN_RADIUS=10,e=n.colorMixin(e),e.renderLabel(!0),e.data(function(t){return t.top(1/0)});var i=t.scale.linear().domain([0,100]),a=function(t){return t.r};e.r=function(t){return arguments.length?(i=t,e):i},e.radiusValueAccessor=function(t){return arguments.length?(a=t,e):a},e.rMin=function(){return t.min(e.data(),function(t){return e.radiusValueAccessor()(t)})},e.rMax=function(){return t.max(e.data(),function(t){return e.radiusValueAccessor()(t)})},e.bubbleR=function(t){var n=e.radiusValueAccessor()(t),r=e.r()(n);return(isNaN(r)||n<=0)&&(r=0),r};var s=function(t){return e.label()(t)},u=function(t){return e.bubbleR(t)>o},l=function(t){return u(t)?1:0},c=function(t){return u(t)?"all":"none"};e._doRenderLabel=function(t){if(e.renderLabel()){var r=t.select("text");r.empty()&&(r=t.append("text").attr("text-anchor","middle").attr("dy",".3em").on("click",e.onClick)),r.attr("opacity",0).attr("pointer-events",c).text(s),n.transition(r,e.transitionDuration(),e.transitionDelay()).attr("opacity",l)}},e.doUpdateLabels=function(t){if(e.renderLabel()){var r=t.select("text").attr("pointer-events",c).text(s);n.transition(r,e.transitionDuration(),e.transitionDelay()).attr("opacity",l)}};var f=function(t){return e.title()(t)};return e._doRenderTitles=function(t){if(e.renderTitle()){t.select("title").empty()&&t.append("title").text(f)}},e.doUpdateTitles=function(t){e.renderTitle()&&t.select("title").text(f)},e.minRadius=function(t){return arguments.length?(e.MIN_RADIUS=t,e):e.MIN_RADIUS},e.minRadiusWithLabel=function(t){return arguments.length?(o=t,e):o},e.maxBubbleRelativeSize=function(t){return arguments.length?(r=t,e):r},e.fadeDeselectedArea=function(){e.hasFilter()?e.selectAll("g."+e.BUBBLE_NODE_CLASS).each(function(t){e.isSelectedNode(t)?e.highlightSelected(this):e.fadeDeselected(this)}):e.selectAll("g."+e.BUBBLE_NODE_CLASS).each(function(){e.resetHighlight(this)})},e.isSelectedNode=function(t){return e.hasFilter(t.key)},e.onClick=function(t){var r=t.key;n.events.trigger(function(){e.filter(r),e.redrawGroup()})},e},n.pieChart=function(e,r){function o(){var e=t.min([Y.width(),Y.height()])/2;D=F&&F=0&&(r="M0,0"),r}function M(e,n){var r;return r=j?t.svg.arc().outerRadius(D-G+j).innerRadius(D-G+j).centroid(e):n.centroid(e),isNaN(r[0])||isNaN(r[1])?"translate(0,0)":"translate("+r+")"}function T(e,n){Y.selectAll("g.pie-slice").each(function(r){e.name===r.data.key&&t.select(this).classed("highlight",n)})}var D,F,P,R,I,j,N="pie-slice",z="pie-label",L="pie-slice-group",U="pie-label-group",q="empty-chart",B="empty",H=0,G=0,V=.5,W=!1,Y=n.capMixin(n.colorMixin(n.baseMixin({})));return Y.colorAccessor(Y.cappedKeyAccessor),Y.title(function(t){return Y.cappedKeyAccessor(t)+": "+Y.cappedValueAccessor(t)}),Y.slicesCap=Y.cap,Y.label(Y.cappedKeyAccessor),Y.renderLabel(!0),Y.transitionDuration(350),Y.transitionDelay(0),Y._doRender=function(){return Y.resetSvg(),P=Y.svg().append("g").attr("transform","translate("+Y.cx()+","+Y.cy()+")"),P.append("g").attr("class",L),P.append("g").attr("class",U),o(),Y},Y._applyLabelText=function(t){t.text(function(t){return!k(t.data)&&!w(t)||_(t)?Y.label()(t.data):""})},Y.externalRadiusPadding=function(t){return arguments.length?(G=t,Y):G},Y.innerRadius=function(t){return arguments.length?(H=t,Y):H},Y.radius=function(t){return arguments.length?(F=t,Y):F},Y.cx=function(t){return arguments.length?(R=t,Y):R||Y.width()/2},Y.cy=function(t){return arguments.length?(I=t,Y):I||Y.height()/2},Y._doRedraw=function(){return o(),Y},Y.minAngleForLabel=function(t){return arguments.length?(V=t,Y):V},Y.emptyTitle=function(t){return 0===arguments.length?B:(B=t,Y)},Y.externalLabels=function(t){return 0===arguments.length?j:(j=t||void 0,Y)},Y.drawPaths=function(t){return 0===arguments.length?W:(W=t,Y)},Y.legendables=function(){return Y.data().map(function(t,e){var n={name:t.key,data:t.value,others:t.others,chart:Y};return n.color=Y.getColor(t,e),n})},Y.legendHighlight=function(t){T(t,!0)},Y.legendReset=function(t){T(t,!1)},Y.legendToggle=function(t){Y.onClick({key:t.name,others:t.others})},Y.anchor(e,r)},n.barChart=function(e,r){function o(t){return n.utils.safeNumber(Math.abs(d.y()(t.y+t.y0)-d.y()(t.y0)))}function i(t,e,r){var i=t.selectAll("text.barLabel").data(r.values,n.pluck("x"));i.enter().append("text").attr("class","barLabel").attr("text-anchor","middle"),d.isOrdinal()&&(i.on("click",d.onClick),i.attr("cursor","pointer")),n.transition(i,d.transitionDuration(),d.transitionDelay()).attr("x",function(t){var e=d.x()(t.x);return h||(e+=l/2),n.utils.safeNumber(e)}).attr("y",function(t){var e=d.y()(t.y+t.y0);return t.y<0&&(e-=o(t)),n.utils.safeNumber(e-f)}).text(function(t){return d.label()(t)}),n.transition(i.exit(),d.transitionDuration(),d.transitionDelay()).attr("height",0).remove()}function a(t,e,r){var i=t.selectAll("rect.bar").data(r.values,n.pluck("x")),a=i.enter().append("rect").attr("class","bar").attr("fill",n.pluck("data",d.getColor)).attr("y",d.yAxisHeight()).attr("height",0);d.renderTitle()&&a.append("title").text(n.pluck("data",d.title(r.name))),d.isOrdinal()&&i.on("click",d.onClick),n.transition(i,d.transitionDuration(),d.transitionDelay()).attr("x",function(t){var e=d.x()(t.x);return h&&(e-=l/2),d.isOrdinal()&&void 0!==p&&(e+=p/2),n.utils.safeNumber(e)}).attr("y",function(t){var e=d.y()(t.y+t.y0);return t.y<0&&(e-=o(t)),n.utils.safeNumber(e)}).attr("width",l).attr("height",function(t){return o(t)}).attr("fill",n.pluck("data",d.getColor)).select("title").text(n.pluck("data",d.title(r.name))),n.transition(i.exit(),d.transitionDuration(),d.transitionDelay()).attr("x",function(t){return d.x()(t.x)}).attr("width",.9*l).remove()}function s(){if(void 0===l){var t=d.xUnitCount();l=d.isOrdinal()&&void 0===p?Math.floor(d.x().rangeBand()):p?Math.floor((d.xAxisLength()-(t-1)*p)/t):Math.floor(d.xAxisLength()/(1+d.barPadding())/t),(l===1/0||isNaN(l)||l=o})}},d.centerBar=function(t){return arguments.length?(h=t,d):h},n.override(d,"onClick",function(t){d._onClick(t.data)}),d.barPadding=function(t){return arguments.length?(d._rangeBandPadding(t),p=void 0,d):d._rangeBandPadding()},d._useOuterPadding=function(){return void 0===p},d.outerPadding=d._outerRangeBandPadding,d.gap=function(t){return arguments.length?(p=t,d):p},d.extendBrush=function(){var t=d.brush().extent();return!d.round()||h&&!g||(t[0]=t.map(d.round())[0],t[1]=t.map(d.round())[1],d.chartBodyG().select(".brush").call(d.brush().extent(t))),t},d.alwaysUseRounding=function(t){return arguments.length?(g=t,d):g},d.legendHighlight=function(t){d.isLegendableHidden(t)||d.g().selectAll("rect.bar").classed("highlight",u(t.color)).classed("fadeout",u(t.color,!0))},d.legendReset=function(){d.g().selectAll("rect.bar").classed("highlight",!1).classed("fadeout",!1)},n.override(d,"xAxisMax",function(){var t=this._xAxisMax();if("resolution"in d.xUnits()){t+=d.xUnits().resolution}return t}),d.anchor(e,r)},n.lineChart=function(e,r){function o(t,e){return E.getColor.call(t,t.values,e)}function i(e,r){var i=t.svg.line().x(function(t){return E.x()(t.x)}).y(function(t){return E.y()(t.y+t.y0)}).interpolate(D).tension(F);b&&i.defined(b);var a=e.append("path").attr("class","line").attr("stroke",o);y&&a.attr("stroke-dasharray",y),n.transition(r.select("path.line"),E.transitionDuration(),E.transitionDelay()).attr("stroke",o).attr("d",function(t){return s(i(t.values))})}function a(e,r){if(C){var i=t.svg.area().x(function(t){return E.x()(t.x)}).y(function(t){return E.y()(t.y+t.y0)}).y0(function(t){return E.y()(t.y0)}).interpolate(D).tension(F);b&&i.defined(b),e.append("path").attr("class","area").attr("fill",o).attr("d",function(t){return s(i(t.values))}),n.transition(r.select("path.area"),E.transitionDuration(),E.transitionDelay()).attr("fill",o).attr("d",function(t){return s(i(t.values))})}}function s(t){return!t||t.indexOf("NaN")>=0?"M0,0":t}function u(e,r){if("always"===E.xyTipsOn()||!E.brushOn()&&E.xyTipsOn()){var o=_+"-list",i=e.select("g."+o);i.empty()&&(i=e.append("g").attr("class",o)),r.each(function(e,r){var o=e.values;b&&(o=o.filter(b));var a=i.select("g."+_+"._"+r);a.empty()&&(a=i.append("g").attr("class",_+" _"+r)),c(a);var s=a.selectAll("circle."+x).data(o,n.pluck("x"));s.enter().append("circle").attr("class",x).attr("r",p()).style("fill-opacity",M).style("stroke-opacity",T).attr("fill",E.getColor).on("mousemove",function(){var e=t.select(this);f(e),d(e,a)}).on("mouseout",function(){h(t.select(this)),g(a)}),s.call(m,e),n.transition(s,E.transitionDuration()).attr("cx",function(t){return n.utils.safeNumber(E.x()(t.x))}).attr("cy",function(t){return n.utils.safeNumber(E.y()(t.y+t.y0))}).attr("fill",E.getColor),s.exit().remove()})}}function l(e){e.each(function(e,r){var o=t.select(this),i=o.selectAll("text.lineLabel").data(e.values,n.pluck("x"));i.enter().append("text").attr("class","lineLabel").attr("text-anchor","middle"),n.transition(i,E.transitionDuration()).attr("x",function(t){return n.utils.safeNumber(E.x()(t.x))}).attr("y",function(t){var e=E.y()(t.y+t.y0)-S;return n.utils.safeNumber(e)}).text(function(t){return E.label()(t)}),n.transition(i.exit(),E.transitionDuration()).attr("height",0).remove()})}function c(t){(t.select("path."+w).empty()?t.append("path").attr("class",w):t.select("path."+w)).style("display","none").attr("stroke-dasharray","5,5"),(t.select("path."+k).empty()?t.append("path").attr("class",k):t.select("path."+k)).style("display","none").attr("stroke-dasharray","5,5")}function f(t){return t.style("fill-opacity",.8),t.style("stroke-opacity",.8),t.attr("r",A),t}function d(t,e){var n=t.attr("cx"),r=t.attr("cy"),o=E._yAxisX()-E.margins().left,i="M"+o+" "+r+"L"+n+" "+r,a="M"+n+" "+E.yAxisHeight()+"L"+n+" "+r;e.select("path."+w).style("display","").attr("d",i),e.select("path."+k).style("display","").attr("d",a)}function p(){return O||A}function h(t){t.style("fill-opacity",M).style("stroke-opacity",T).attr("r",p())}function g(t){t.select("path."+w).style("display","none"),t.select("path."+k).style("display","none")}function m(t,e){E.renderTitle()&&(t.select("title").remove(),t.append("title").text(n.pluck("data",E.title(e.name))))}function v(e,n,r){return function(){var o=t.select(this),i=o.attr("stroke")===e&&o.attr("stroke-dasharray")===(n instanceof Array?n.join(","):null)||o.attr("fill")===e;return r?!i:i}}var b,y,_="dc-tooltip",x="dot",w="yRef",k="xRef",S=3,E=n.stackMixin(n.coordinateGridMixin({})),C=!1,A=5,O=null,M=1e-6,T=1e-6,D="linear",F=.7,P=!0;return E.transitionDuration(500),E.transitionDelay(0),E._rangeBandPadding(1),E.plotData=function(){var t=E.chartBodyG(),e=t.select("g.stack-list");e.empty()&&(e=t.append("g").attr("class","stack-list"));var n=e.selectAll("g.stack").data(E.data()),r=n.enter().append("g").attr("class",function(t,e){return"stack _"+e});i(r,n),a(r,n),u(t,n),E.renderLabel()&&l(n)},E.interpolate=function(t){return arguments.length?(D=t,E):D},E.tension=function(t){return arguments.length?(F=t,E):F},E.defined=function(t){return arguments.length?(b=t,E):b},E.dashStyle=function(t){return arguments.length?(y=t,E):y},E.renderArea=function(t){return arguments.length?(C=t,E):C},E.label(function(t){return n.utils.printSingleValue(t.y0+t.y)},!1),E.xyTipsOn=function(t){return arguments.length?(P=t,E):P},E.dotRadius=function(t){return arguments.length?(A=t,E):A},E.renderDataPoints=function(t){return arguments.length?(t?(M=t.fillOpacity||.8,T=t.strokeOpacity||.8,O=t.radius||2):(M=1e-6,T=1e-6,O=null),E):{fillOpacity:M,strokeOpacity:T,radius:O}},E.legendHighlight=function(t){E.isLegendableHidden(t)||E.g().selectAll("path.line, path.area").classed("highlight",v(t.color,t.dashstyle)).classed("fadeout",v(t.color,t.dashstyle,!0))},E.legendReset=function(){E.g().selectAll("path.line, path.area").classed("highlight",!1).classed("fadeout",!1)},n.override(E,"legendables",function(){var t=E._legendables();return y?t.map(function(t){return t.dashstyle=y,t}):t}),E.anchor(e,r)},n.dataCount=function(e,r){var o=t.format(",d"),i=n.baseMixin({}),a={some:"",all:""};return i.html=function(t){return arguments.length?(t.all&&(a.all=t.all),t.some&&(a.some=t.some),i):a},i.formatNumber=function(t){return arguments.length?(o=t,i):o},i._doRender=function(){var t=i.dimension().size(),e=i.group().value(),n=o(t),r=o(e);return t===e&&""!==a.all?i.root().html(a.all.replace("%total-count",n).replace("%filter-count",r)):""!==a.some?i.root().html(a.some.replace("%total-count",n).replace("%filter-count",r)):(i.selectAll(".total-count").text(n),i.selectAll(".filter-count").text(r)),i},i._doRedraw=function(){return i._doRender()},i.anchor(e,r)},n.dataTable=function(e,r){function o(){var t=!0;if(g.forEach(function(e){t&="function"==typeof e}),!t){var e=p.selectAll("thead").data([0]);e.enter().append("thead"),e.exit().remove();var n=e.selectAll("tr").data([0]);n.enter().append("tr"),n.exit().remove();var r=n.selectAll("th").data(g);r.enter().append("th"),r.exit().remove(),r.attr("class",d).html(function(t){return p._doColumnHeaderFormat(t)})}var o=p.root().selectAll("tbody").data(i(),function(t){return p.keyAccessor()(t)}),a=o.enter().append("tbody");return!0===y&&a.append("tr").attr("class",f).append("td").attr("class",u).attr("colspan",g.length).html(function(t){return p.keyAccessor()(t)}),o.exit().remove(),a}function i(){var e;return e=v===t.ascending?p.dimension().bottom(h):p.dimension().top(h),t.nest().key(p.group()).sortKeys(v).entries(e.sort(function(t,e){return v(m(t),m(e))}).slice(b,s))}function a(t){var e=t.order().selectAll("tr."+l).data(function(t){return t.values}),n=e.enter().append("tr").attr("class",l);return g.forEach(function(t,e){n.append("td").attr("class",c+" _"+e).html(function(e){return p._doColumnValueFormat(t,e)})}),e.exit().remove(),e}var s,u="dc-table-label",l="dc-table-row",c="dc-table-column",f="dc-table-group",d="dc-table-head",p=n.baseMixin({}),h=25,g=[],m=function(t){return t},v=t.ascending,b=0,y=!0;return p._doRender=function(){return p.selectAll("tbody").remove(),a(o()),p},p._doColumnValueFormat=function(t,e){return"function"==typeof t?t(e):"string"==typeof t?e[t]:t.format(e)},p._doColumnHeaderFormat=function(t){return"function"==typeof t?p._doColumnHeaderFnToString(t):"string"==typeof t?p._doColumnHeaderCapitalize(t):String(t.label)},p._doColumnHeaderCapitalize=function(t){return t.charAt(0).toUpperCase()+t.slice(1)},p._doColumnHeaderFnToString=function(t){var e=String(t),n=e.indexOf("return ");if(n>=0){var r=e.lastIndexOf(";");if(r>=0){e=e.substring(n+7,r);e.indexOf("numberFormat")>=0&&(e=e.replace("numberFormat",""))}}return e},p._doRedraw=function(){return p._doRender()},p.size=function(t){return arguments.length?(h=t,p):h},p.beginSlice=function(t){return arguments.length?(b=t,p):b},p.endSlice=function(t){return arguments.length?(s=t,p):s},p.columns=function(t){return arguments.length?(g=t,p):g},p.sortBy=function(t){return arguments.length?(m=t,p):m},p.order=function(t){return arguments.length?(v=t,p):v},p.showGroups=function(t){return arguments.length?(y=t,p):y},p.anchor(e,r)},n.dataGrid=function(e,r){function o(){var t=c.root().selectAll("div."+l).data(i(),function(t){return c.keyAccessor()(t)}),e=t.enter().append("div").attr("class",l);return m&&e.html(function(t){return m(t)}),t.exit().remove(),e}function i(){var e=c.dimension().top(f);return t.nest().key(c.group()).sortKeys(h).entries(e.sort(function(t,e){return h(p(t),p(e))}).slice(g,s))}function a(t){var e=t.order().selectAll("div."+u).data(function(t){return t.values});return e.enter().append("div").attr("class",u).html(function(t){return d(t)}),e.exit().remove(),e}var s,u="dc-grid-item",l="dc-grid-top",c=n.baseMixin({}),f=999,d=function(t){return"you need to provide an html() handling param: "+JSON.stringify(t)},p=function(t){return t},h=t.ascending,g=0,m=function(t){return"

"+c.keyAccessor()(t)+"

"};return c._doRender=function(){return c.selectAll("div."+l).remove(),a(o()),c},c._doRedraw=function(){return c._doRender()},c.beginSlice=function(t){return arguments.length?(g=t,c):g},c.endSlice=function(t){return arguments.length?(s=t,c):s},c.size=function(t){return arguments.length?(f=t,c):f},c.html=function(t){return arguments.length?(d=t,c):d},c.htmlGroup=function(t){return arguments.length?(m=t,c):m},c.sortBy=function(t){return arguments.length?(p=t,c):p},c.order=function(t){return arguments.length?(h=t,c):h},c.anchor(e,r)},n.bubbleChart=function(e,r){function o(t){var e=t.enter().append("g");e.attr("class",l.BUBBLE_NODE_CLASS).attr("transform",d).append("circle").attr("class",function(t,e){return l.BUBBLE_CLASS+" _"+e}).on("click",l.onClick).attr("fill",l.getColor).attr("r",0),n.transition(t,l.transitionDuration(),l.transitionDelay()).select("circle."+l.BUBBLE_CLASS).attr("r",function(t){return l.bubbleR(t)}).attr("opacity",function(t){return l.bubbleR(t)>0?1:0}),l._doRenderLabel(e),l._doRenderTitles(e)}function i(t){n.transition(t,l.transitionDuration(),l.transitionDelay()).attr("transform",d).select("circle."+l.BUBBLE_CLASS).attr("fill",l.getColor).attr("r",function(t){return l.bubbleR(t)}).attr("opacity",function(t){return l.bubbleR(t)>0?1:0}),l.doUpdateLabels(t),l.doUpdateTitles(t)}function a(t){t.exit().remove()}function s(t){var e=l.x()(l.keyAccessor()(t));return isNaN(e)&&(e=0),e}function u(t){var e=l.y()(l.valueAccessor()(t));return isNaN(e)&&(e=0),e}var l=n.bubbleMixin(n.coordinateGridMixin({})),c=!1,f=!1;l.transitionDuration(750),l.transitionDelay(0);var d=function(t){return"translate("+s(t)+","+u(t)+")"};return l.elasticRadius=function(t){return arguments.length?(c=t,l):c},l.sortBubbleSize=function(t){return arguments.length?(f=t,l):f},l.plotData=function(){c&&l.r().domain([l.rMin(),l.rMax()]),l.r().range([l.MIN_RADIUS,l.xAxisLength()*l.maxBubbleRelativeSize()]);var e=l.data();if(f){var n=l.radiusValueAccessor();e.sort(function(e,r){return t.descending(n(e),n(r))})}var r=l.chartBodyG().selectAll("g."+l.BUBBLE_NODE_CLASS).data(e,function(t){return t.key});f&&r.order(),o(r),i(r),a(r),l.fadeDeselectedArea()},l.renderBrush=function(){},l.redrawBrush=function(){l.fadeDeselectedArea()},l.anchor(e,r)},n.compositeChart=function(e,r){function o(t,e){var n,r,o,a,s;return t&&(n=d(),r=g()),e&&(o=p(),a=m()),x.alignYAxes()&&t&&e&&(s=i(n,r,o,a)),s||{lyAxisMin:n,lyAxisMax:r,ryAxisMin:o,ryAxisMax:a}}function i(t,e,n,r){var o=(r-n)/(e-t);return{lyAxisMin:Math.min(t,n/o),lyAxisMax:Math.max(e,r/o),ryAxisMin:Math.min(n,t*o),ryAxisMax:Math.max(r,e*o)}}function a(e){var n=void 0===x.rightY()||x.elasticY(),r=n||x.resizing();void 0===x.rightY()&&x.rightY(t.scale.linear()),n&&x.rightY().domain([e.ryAxisMin,e.ryAxisMax]),r&&x.rightY().rangeRound([x.yAxisHeight(),0]),x.rightY().range([x.yAxisHeight(),0]),x.rightYAxis(x.rightYAxis().scale(x.rightY())),x.rightYAxis().orient("right")}function s(e){var n=void 0===x.y()||x.elasticY(),r=n||x.resizing();void 0===x.y()&&x.y(t.scale.linear()),n&&x.y().domain([e.lyAxisMin,e.lyAxisMax]),r&&x.y().rangeRound([x.yAxisHeight(),0]),x.y().range([x.yAxisHeight(),0]),x.yAxis(x.yAxis().scale(x.y())),x.yAxis().orient("left")}function u(t,e){t._generateG(x.g()),t.g().attr("class",_+" _"+e)}function l(){return w.filter(function(t){return!t.useRightYAxis()})}function c(){return w.filter(function(t){return t.useRightYAxis()})}function f(t){return t.map(function(t){return t.yAxisMin()})}function d(){return t.min(f(l()))}function p(){return t.min(f(c()))}function h(t){return t.map(function(t){return t.yAxisMax()})}function g(){return n.utils.add(t.max(h(l())),x.yAxisPadding())}function m(){return n.utils.add(t.max(h(c())),x.yAxisPadding())}function v(){return w.map(function(t){return t.xAxisMin()})}function b(){return w.map(function(t){return t.xAxisMax()})}var y,_="sub",x=n.coordinateGridMixin({}),w=[],k={},S=!1,E=!0,C=!1,A=t.svg.axis(),O=0,M=12,T=!1;return x._mandatoryAttributes([]),x.transitionDuration(500),x.transitionDelay(0),n.override(x,"_generateG",function(){for(var t=this.__generateG(),e=0;e0&&!T?x._renderHorizontalGridLinesForAxis(x.g(),x.y(),x.yAxis()):c().length>0&&x._renderHorizontalGridLinesForAxis(x.g(),y,A)},x.renderYAxis=function(){0!==l().length&&(x.renderYAxisAt("y",x.yAxis(),x.margins().left),x.renderYAxisLabel("y",x.yAxisLabel(),-90)),0!==c().length&&(x.renderYAxisAt("yr",x.rightYAxis(),x.width()-x.margins().right),x.renderYAxisLabel("yr",x.rightYAxisLabel(),90,x.width()-M))},x.plotData=function(){for(var t=0;t0&&(e[0]=0),e[1]<0&&(e[1]=0),y=t.scale.linear().domain(e).range([0,F.effectiveWidth()])}P.scale(y)}function i(){var t=b.select("g.axis");o(),t.empty()&&(t=b.append("g").attr("class","axis")),t.attr("transform","translate(0, "+F.effectiveHeight()+")"),n.transition(t,F.transitionDuration(),F.transitionDelay()).call(P)}function a(){b.selectAll("g.tick").select("line.grid-line").remove(),b.selectAll("g.tick").append("line").attr("class","grid-line").attr("x1",0).attr("y1",0).attr("x2",0).attr("y2",function(){return-F.effectiveHeight()})}function s(){x=F.data(),i(),a();var t=b.selectAll("g."+M).data(x);u(t),l(t),f(t)}function u(t){var e=t.enter().append("g").attr("class",function(t,e){return M+" _"+e});e.append("rect").attr("width",0),p(e)}function l(t){t.exit().remove()}function c(){var t=y(0);return t===-1/0||t!==t?y(1):t}function f(t){var e,r=x.length;e=O||(F.effectiveHeight()-(r+1)*A)/r,S||(k=e/2);var o=t.attr("transform",function(t,n){return"translate(0,"+((n+1)*A+n*e)+")"}).select("rect").attr("height",e).attr("fill",F.getColor).on("click",g).classed("deselected",function(t){return!!F.hasFilter()&&!v(t)}).classed("selected",function(t){return!!F.hasFilter()&&v(t)});n.transition(o,F.transitionDuration(),F.transitionDelay()).attr("width",function(t){return Math.abs(c()-y(F.valueAccessor()(t)))}).attr("transform",m),d(t),h(t)}function d(t){F.renderTitle()&&(t.select("title").remove(),t.append("title").text(F.title()))}function p(t){F.renderLabel()&&t.append("text").on("click",g),F.renderTitleLabel()&&t.append("text").attr("class",T).on("click",g)}function h(t){if(F.renderLabel()){var e=t.select("text").attr("x",w).attr("y",k).attr("dy",E).on("click",g).attr("class",function(t,e){return M+" _"+e}).text(function(t){return F.label()(t)});n.transition(e,F.transitionDuration(),F.transitionDelay()).attr("transform",m)}if(F.renderTitleLabel()){var r=t.select("."+T).attr("x",F.effectiveWidth()-C).attr("y",k).attr("dy",E).attr("text-anchor","end").on("click",g).attr("class",function(t,e){return T+" _"+e}).text(function(t){return F.title()(t)});n.transition(r,F.transitionDuration(),F.transitionDelay()).attr("transform",m)}}function g(t){F.onClick(t)}function m(t){var e=y(F.cappedValueAccessor(t)),n=c();return"translate("+(e>n?n:e)+",0)"}function v(t){return F.hasFilter(F.cappedKeyAccessor(t))}var b,y,_,x,w=10,k=15,S=!1,E="0.35em",C=2,A=5,O=!1,M="row",T="titlerow",D=!1,F=n.capMixin(n.marginMixin(n.colorMixin(n.baseMixin({})))),P=t.svg.axis().orient("bottom");return F.rowsCap=F.cap,F._doRender=function(){return F.resetSvg(),b=F.svg().append("g").attr("transform","translate("+F.margins().left+","+F.margins().top+")"),s(),F},F.title(function(t){return F.cappedKeyAccessor(t)+": "+F.cappedValueAccessor(t)}),F.label(F.cappedKeyAccessor),F.x=function(t){return arguments.length?(y=t,F):y},F.renderTitleLabel=function(t){return arguments.length?(D=t,F):D},F._doRedraw=function(){return s(),F},F.xAxis=function(){return P},F.fixedBarHeight=function(t){return arguments.length?(O=t,F):O},F.gap=function(t){return arguments.length?(A=t,F):A},F.elasticX=function(t){return arguments.length?(_=t,F):_},F.labelOffsetX=function(t){return arguments.length?(w=t,F):w},F.labelOffsetY=function(t){return arguments.length?(k=t,S=!0,F):k},F.titleLabelOffsetX=function(t){return arguments.length?(C=t,F):C},F.anchor(e,r)},n.legend=function(){function t(){return l+u}var e,r,o,i={},a=0,s=0,u=12,l=5,c=!1,f=560,d=70,p=!1,h=n.pluck("name");return i.parent=function(t){return arguments.length?(e=t,i):e},i.render=function(){e.svg().select("g.dc-legend").remove(),o=e.svg().append("g").attr("class","dc-legend").attr("transform","translate("+a+","+s+")");var i=e.legendables();void 0!==r&&(i=i.slice(0,r));var g=o.selectAll("g.dc-legend-item").data(i).enter().append("g").attr("class","dc-legend-item").on("mouseover",function(t){e.legendHighlight(t)}).on("mouseout",function(t){e.legendReset(t)}).on("click",function(t){t.chart.legendToggle(t)});o.selectAll("g.dc-legend-item").classed("fadeout",function(t){return t.chart.isLegendableHidden(t)}),i.some(n.pluck("dashstyle"))?g.append("line").attr("x1",0).attr("y1",u/2).attr("x2",u).attr("y2",u/2).attr("stroke-width",2).attr("stroke-dasharray",n.pluck("dashstyle")).attr("stroke",n.pluck("color")):g.append("rect").attr("width",u).attr("height",u).attr("fill",function(t){return t?t.color:"blue"}),g.append("text").text(h).attr("x",u+2).attr("y",function(){return u/2+(this.clientHeight?this.clientHeight:13)/2-2});var m=0,v=0;g.attr("transform",function(e,n){if(c){var r=!0===p?this.getBBox().width+l:d;m+r>f&&m>0&&(++v,m=0);var o="translate("+m+","+v*t()+")";return m+=r,o}return"translate(0,"+n*t()+")"})},i.x=function(t){return arguments.length?(a=t,i):a},i.y=function(t){return arguments.length?(s=t,i):s},i.gap=function(t){return arguments.length?(l=t,i):l},i.itemHeight=function(t){return arguments.length?(u=t,i):u},i.horizontal=function(t){return arguments.length?(c=t,i):c},i.legendWidth=function(t){return arguments.length?(f=t,i):f},i.itemWidth=function(t){return arguments.length?(d=t,i):d},i.autoItemWidth=function(t){return arguments.length?(p=t,i):p},i.legendText=function(t){return arguments.length?(h=t,i):h},i.maxItems=function(t){return arguments.length?(r=n.utils.isNumber(t)?t:void 0,i):r},i},n.scatterPlot=function(e,r){function o(t,e){return l(t)?x[e]?Math.pow(p,2):Math.pow(h,2):Math.pow(v,2)}function i(t,e){s.renderTitle()&&(t.selectAll("title").remove(),t.append("title").text(function(t){return s.title()(t)}))}function a(e,r){var o=s.chartBodyG().selectAll(".chart-body path.symbol").filter(function(){return e(t.select(this))}),i=u.size();u.size(Math.pow(r,2)),n.transition(o,s.transitionDuration(),s.transitionDelay()).attr("d",u),u.size(i)}var s=n.coordinateGridMixin({}),u=t.svg.symbol(),l=function(t){return t.value},c=s.keyAccessor();s.keyAccessor(function(t){return c(t)[0]}),s.valueAccessor(function(t){return c(t)[1]}),s.colorAccessor(function(){return s._groupName}),s.title(function(t){return s.keyAccessor()(t)+","+s.valueAccessor()(t)+": "+s.existenceAccessor()(t)});var f=function(t){return"translate("+s.x()(s.keyAccessor()(t))+","+s.y()(s.valueAccessor()(t))+")"},d=7,p=5,h=3,g=null,m=1,v=0,b=0,y=1,_=null,x=[];return u.size(o),n.override(s,"_filter",function(t){return arguments.length?s.__filter(n.filters.RangedTwoDimensionalFilter(t)):s.__filter()}),s.plotData=function(){var t=s.chartBodyG().selectAll("path.symbol").data(s.data());t.enter().append("path").attr("class","symbol").attr("opacity",0).attr("fill",s.getColor).attr("transform",f),t.call(i,s.data()),t.each(function(t,e){x[e]=!s.filter()||s.filter().isFiltered([t.key[0],t.key[1]])}),n.transition(t,s.transitionDuration(),s.transitionDelay()).attr("opacity",function(t,e){return l(t)?x[e]?y:s.excludedOpacity():b}).attr("fill",function(t,e){return _&&!l(t)?_:s.excludedColor()&&!x[e]?s.excludedColor():s.getColor(t)}).attr("transform",f).attr("d",u),n.transition(t.exit(),s.transitionDuration(),s.transitionDelay()).attr("opacity",0).remove()},s.existenceAccessor=function(t){return arguments.length?(l=t,this):l},s.symbol=function(t){return arguments.length?(u.type(t),s):u.type()},s.customSymbol=function(t){return arguments.length?(u=t,u.size(o),s):u},s.symbolSize=function(t){return arguments.length?(p=t,s):p},s.highlightedSize=function(t){return arguments.length?(d=t,s):d},s.excludedSize=function(t){return arguments.length?(h=t,s):h},s.excludedColor=function(t){return arguments.length?(g=t,s):g},s.excludedOpacity=function(t){return arguments.length?(m=t,s):m},s.hiddenSize=s.emptySize=function(t){return arguments.length?(v=t,s):v},s.emptyColor=function(t){return arguments.length?(_=t,s):_},s.emptyOpacity=function(t){return arguments.length?(b=t,s):b},s.nonemptyOpacity=function(t){return arguments.length?(y=t,s):b},s.legendables=function(){return[{chart:s,name:s._groupName,color:s.getColor()}]},s.legendHighlight=function(e){a(function(t){return t.attr("fill")===e.color},d),s.chartBodyG().selectAll(".chart-body path.symbol").filter(function(){return t.select(this).attr("fill")!==e.color}).classed("fadeout",!0)},s.legendReset=function(e){a(function(t){return t.attr("fill")===e.color},p),s.chartBodyG().selectAll(".chart-body path.symbol").filter(function(){return t.select(this).attr("fill")!==e.color}).classed("fadeout",!1)},s.setHandlePaths=function(){},s.extendBrush=function(){var t=s.brush().extent();return s.round()&&(t[0]=t[0].map(s.round()),t[1]=t[1].map(s.round()),s.g().select(".brush").call(s.brush().extent(t))),t},s.brushIsEmpty=function(t){return s.brush().empty()||!t||t[0][0]>=t[1][0]||t[0][1]>=t[1][1]},s._brushing=function(){var t=s.extendBrush();if(s.redrawBrush(s.g()),s.brushIsEmpty(t))n.events.trigger(function(){s.filter(null),s.redrawGroup()});else{var e=n.filters.RangedTwoDimensionalFilter(t);n.events.trigger(function(){s.filter(null),s.filter(e),s.redrawGroup()},n.constants.EVENT_DELAY)}},s.setBrushY=function(t){t.call(s.brush().y(s.y()))},s.anchor(e,r)},n.numberDisplay=function(e,r){var o,i=t.format(".2s"),a=n.baseMixin({}),s={one:"",some:"",none:""};return a._mandatoryAttributes(["group"]),a.html=function(t){return arguments.length?(t.none?s.none=t.none:t.one?s.none=t.one:t.some&&(s.none=t.some),t.one?s.one=t.one:t.some&&(s.one=t.some),t.some?s.some=t.some:t.one&&(s.some=t.one),a):s},a.value=function(){return a.data()},a.data(function(t){var e=t.value?t.value():t.top(1)[0];return a.valueAccessor()(e)}),a.transitionDuration(250),a.transitionDelay(0),a._doRender=function(){var e=a.value(),n=a.selectAll(".number-display");n.empty()&&(n=n.data([0]).enter().append("span").attr("class","number-display")),n.transition().duration(a.transitionDuration()).delay(a.transitionDelay()).ease("quad-out-in").tween("text",function(){var n=isFinite(o)?o:0,r=t.interpolateNumber(n||0,e);return o=e,function(t){var n=null,o=a.formatNumber()(r(t));0===e&&""!==s.none?n=s.none:1===e&&""!==s.one?n=s.one:""!==s.some&&(n=s.some),this.innerHTML=n?n.replace("%number",o):o}})},a._doRedraw=function(){return a._doRender()},a.formatNumber=function(t){return arguments.length?(i=t,a):i},a.anchor(e,r)},n.heatMap=function(e,r){function o(t,e){var r=f.selectAll(".box-group").filter(function(n){return n.key[t]===e}),o=r.filter(function(t){return!f.hasFilter(t.key)});n.events.trigger(function(){var t=o.empty()?r:o,e=t.data().map(function(t){return n.filters.TwoDimensionalFilter(t.key)});f._filter([e]),f.redrawGroup()})}function i(t,e,n){return!e||n[e-1]!==t}var a,s,u,l=6.75,c=6.75,f=n.colorMixin(n.marginMixin(n.baseMixin({})));f._mandatoryAttributes(["group"]),f.title(f.colorAccessor());var d=function(t){return t},p=function(t){return t};f.colsLabel=function(t){return arguments.length?(d=t,f):d},f.rowsLabel=function(t){return arguments.length?(p=t,f):p};var h=function(t){o(0,t)},g=function(t){o(1,t)},m=function(t){var e=t.key;n.events.trigger(function(){f.filter(e),f.redrawGroup()})};return n.override(f,"filter",function(t){return arguments.length?f._filter(n.filters.TwoDimensionalFilter(t)):f._filter()}),f.rows=function(e){if(arguments.length)return u=e,f;if(u)return u;var n=f.data().map(f.valueAccessor());return n.sort(t.ascending),t.scale.ordinal().domain(n.filter(i))},f.cols=function(e){if(arguments.length)return s=e,f;if(s)return s;var n=f.data().map(f.keyAccessor());return n.sort(t.ascending),t.scale.ordinal().domain(n.filter(i))},f._doRender=function(){return f.resetSvg(),a=f.svg().append("g").attr("class","heatmap").attr("transform","translate("+f.margins().left+","+f.margins().top+")"),f._doRedraw()},f._doRedraw=function(){var t=f.rows(),e=f.cols(),r=t.domain().length,o=e.domain().length,i=Math.floor(f.effectiveWidth()/o),s=Math.floor(f.effectiveHeight()/r);e.rangeRoundBands([0,f.effectiveWidth()]),t.rangeRoundBands([f.effectiveHeight(),0]);var u=a.selectAll("g.box-group").data(f.data(),function(t,e){return f.keyAccessor()(t,e)+"\0"+f.valueAccessor()(t,e)}),d=u.enter().append("g").attr("class","box-group");d.append("rect").attr("class","heat-box").attr("fill","white").on("click",f.boxOnClick()),f.renderTitle()&&(d.append("title"),u.select("title").text(f.title())),n.transition(u.select("rect"),f.transitionDuration(),f.transitionDelay()).attr("x",function(t,n){return e(f.keyAccessor()(t,n))}).attr("y",function(e,n){return t(f.valueAccessor()(e,n))}).attr("rx",l).attr("ry",c).attr("fill",f.getColor).attr("width",i).attr("height",s),u.exit().remove();var p=a.select("g.cols");p.empty()&&(p=a.append("g").attr("class","cols axis"));var h=p.selectAll("text").data(e.domain());h.enter().append("text").attr("x",function(t){return e(t)+i/2}).style("text-anchor","middle").attr("y",f.effectiveHeight()).attr("dy",12).on("click",f.xAxisOnClick()).text(f.colsLabel()),n.transition(h,f.transitionDuration(),f.transitionDelay()).text(f.colsLabel()).attr("x",function(t){return e(t)+i/2}).attr("y",f.effectiveHeight()),h.exit().remove();var g=a.select("g.rows");g.empty()&&(g=a.append("g").attr("class","rows axis"));var m=g.selectAll("text").data(t.domain());return m.enter().append("text").attr("dy",6).style("text-anchor","end").attr("x",0).attr("dx",-2).on("click",f.yAxisOnClick()).text(f.rowsLabel()),n.transition(m,f.transitionDuration(),f.transitionDelay()).text(f.rowsLabel()).attr("y",function(e){return t(e)+s/2}),m.exit().remove(),f.hasFilter()?f.selectAll("g.box-group").each(function(t){f.isSelectedNode(t)?f.highlightSelected(this):f.fadeDeselected(this)}):f.selectAll("g.box-group").each(function(){f.resetHighlight(this)}),f},f.boxOnClick=function(t){return arguments.length?(m=t,f):m},f.xAxisOnClick=function(t){return arguments.length?(h=t,f):h},f.yAxisOnClick=function(t){return arguments.length?(g=t,f):g},f.xBorderRadius=function(t){return arguments.length?(l=t,f):l},f.yBorderRadius=function(t){return arguments.length?(c=t,f):c},f.isSelectedNode=function(t){return f.hasFilter(t.key)},f.anchor(e,r)},function(){function e(t){return[0,t.length-1]}function n(e){return[t.quantile(e,.25),t.quantile(e,.5),t.quantile(e,.75)]}t.box=function(){function r(e){e.each(function(e,n){e=e.map(l).sort(t.ascending);var r=t.select(this),p=e.length,h=e[0],g=e[p-1],m=e.quartiles=f(e),v=c&&c.call(this,e,n),b=v&&v.map(function(t){return e[t]}),y=v?t.range(0,v[0]).concat(t.range(v[1]+1,p)):t.range(p),_=t.scale.linear().domain(u&&u.call(this,e,n)||[h,g]).range([i,0]),x=this.__chart__||t.scale.linear().domain([0,1/0]).range(_.range());this.__chart__=_;var w=r.selectAll("line.center").data(b?[b]:[]);w.enter().insert("line","rect").attr("class","center").attr("x1",o/2).attr("y1",function(t){return x(t[0])}).attr("x2",o/2).attr("y2",function(t){return x(t[1])}).style("opacity",1e-6).transition().duration(a).delay(s).style("opacity",1).attr("y1",function(t){return _(t[0])}).attr("y2",function(t){return _(t[1])}),w.transition().duration(a).delay(s).style("opacity",1).attr("x1",o/2).attr("x2",o/2).attr("y1",function(t){return _(t[0])}).attr("y2",function(t){return _(t[1])}),w.exit().transition().duration(a).delay(s).style("opacity",1e-6).attr("y1",function(t){return _(t[0])}).attr("y2",function(t){return _(t[1])}).remove();var k=r.selectAll("rect.box").data([m]);k.enter().append("rect").attr("class","box").attr("x",0).attr("y",function(t){return x(t[2])}).attr("width",o).attr("height",function(t){return x(t[0])-x(t[2])}).transition().duration(a).delay(s).attr("y",function(t){return _(t[2])}).attr("height",function(t){return _(t[0])-_(t[2])}),k.transition().duration(a).delay(s).attr("width",o).attr("y",function(t){return _(t[2])}).attr("height",function(t){return _(t[0])-_(t[2])});var S=r.selectAll("line.median").data([m[1]]);S.enter().append("line").attr("class","median").attr("x1",0).attr("y1",x).attr("x2",o).attr("y2",x).transition().duration(a).delay(s).attr("y1",_).attr("y2",_),S.transition().duration(a).delay(s).attr("x1",0).attr("x2",o).attr("y1",_).attr("y2",_);var E=r.selectAll("line.whisker").data(b||[]);E.enter().insert("line","circle, text").attr("class","whisker").attr("x1",0).attr("y1",x).attr("x2",o).attr("y2",x).style("opacity",1e-6).transition().duration(a).delay(s).attr("y1",_).attr("y2",_).style("opacity",1),E.transition().duration(a).delay(s).attr("x1",0).attr("x2",o).attr("y1",_).attr("y2",_).style("opacity",1),E.exit().transition().duration(a).delay(s).attr("y1",_).attr("y2",_).style("opacity",1e-6).remove();var C=r.selectAll("circle.outlier").data(y,Number);C.enter().insert("circle","text").attr("class","outlier").attr("r",5).attr("cx",o/2).attr("cy",function(t){return x(e[t])}).style("opacity",1e-6).transition().duration(a).delay(s).attr("cy",function(t){return _(e[t])}).style("opacity",1),C.transition().duration(a).delay(s).attr("cx",o/2).attr("cy",function(t){return _(e[t])}).style("opacity",1),C.exit().transition().duration(a).delay(s).attr("cy",function(t){return _(e[t])}).style("opacity",1e-6).remove();var A=d||_.tickFormat(8),O=r.selectAll("text.box").data(m);O.enter().append("text").attr("class","box").attr("dy",".3em").attr("dx",function(t,e){return 1&e?6:-6}).attr("x",function(t,e){return 1&e?o:0}).attr("y",x).attr("text-anchor",function(t,e){return 1&e?"start":"end"}).text(A).transition().duration(a).delay(s).attr("y",_),O.transition().duration(a).delay(s).text(A).attr("x",function(t,e){return 1&e?o:0}).attr("y",_);var M=r.selectAll("text.whisker").data(b||[]);M.enter().append("text").attr("class","whisker").attr("dy",".3em").attr("dx",6).attr("x",o).attr("y",x).text(A).style("opacity",1e-6).transition().duration(a).delay(s).attr("y",_).style("opacity",1),M.transition().duration(a).delay(s).text(A).attr("x",o).attr("y",_).style("opacity",1),M.exit().transition().duration(a).delay(s).attr("y",_).style("opacity",1e-6).remove()}),t.timer.flush()}var o=1,i=1,a=0,s=0,u=null,l=Number,c=e,f=n,d=null;return r.width=function(t){return arguments.length?(o=t,r):o},r.height=function(t){return arguments.length?(i=t,r):i},r.tickFormat=function(t){return arguments.length?(d=t,r):d},r.duration=function(t){return arguments.length?(a=t,r):a},r.domain=function(e){return arguments.length?(u=null===e?e:t.functor(e),r):u},r.value=function(t){return arguments.length?(l=t,r):l},r.whiskers=function(t){return arguments.length?(c=t,r):c},r.quartiles=function(t){return arguments.length?(f=t,r):f},r}}(),n.boxPlot=function(e,r){function o(t){return function(e){var n=e.quartiles[0],r=e.quartiles[2],o=(r-n)*t,i=-1,a=e.length;do{++i}while(e[i]r+o);return[i,a]}}function i(t){t.enter().append("g").attr("class","box").attr("transform",h).call(f).on("click",function(t){u.filter(u.keyAccessor()(t)),u.redrawGroup()})}function a(e){n.transition(e,u.transitionDuration(),u.transitionDelay()).attr("transform",h).call(f).each(function(){t.select(this).select("rect.box").attr("fill",u.getColor)})}function s(t){t.exit().remove().call(f)}var u=n.coordinateGridMixin({}),l=o,c=l(1.5),f=t.box(),d=null,p=function(t,e){return u.isOrdinal()?u.x().rangeBand():t/(1+u.boxPadding())/e};u.yAxisPadding(12),u.x(t.scale.ordinal()),u.xUnits(n.units.ordinal),u.data(function(t){return t.all().map(function(t){return t.map=function(e){return e.call(t,t)},t}).filter(function(t){return 0!==u.valueAccessor()(t).length})}),u.boxPadding=u._rangeBandPadding,u.boxPadding(.8),u.outerPadding=u._outerRangeBandPadding,u.outerPadding(.5),u.boxWidth=function(e){return arguments.length?(p=t.functor(e),u):p};var h=function(t,e){return"translate("+u.x()(u.keyAccessor()(t,e))+", 0)"};return u._preprocessData=function(){u.elasticX()&&u.x().domain([])},u.plotData=function(){var t=p(u.effectiveWidth(),u.xUnitCount());f.whiskers(c).width(t).height(u.effectiveHeight()).value(u.valueAccessor()).domain(u.y().domain()).duration(u.transitionDuration()).tickFormat(d);var e=u.chartBodyG().selectAll("g.box").data(u.data(),u.keyAccessor());i(e),a(e),s(e),u.fadeDeselectedArea()},u.fadeDeselectedArea=function(){if(u.hasFilter())if(u.isOrdinal())u.g().selectAll("g.box").each(function(t){u.isSelectedNode(t)?u.highlightSelected(this):u.fadeDeselected(this)});else{var t=u.brush().extent(),e=t[0],n=t[1],r=u.keyAccessor();u.g().selectAll("g.box").each(function(t){var o=r(t);o=n?u.fadeDeselected(this):u.highlightSelected(this)})}else u.g().selectAll("g.box").each(function(){u.resetHighlight(this)})},u.isSelectedNode=function(t){return u.hasFilter(u.keyAccessor()(t))},u.yAxisMin=function(){var e=t.min(u.data(),function(e){return t.min(u.valueAccessor()(e))});return n.utils.subtract(e,u.yAxisPadding())},u.yAxisMax=function(){var e=t.max(u.data(),function(e){return t.max(u.valueAccessor()(e))});return n.utils.add(e,u.yAxisPadding())},u.tickFormat=function(t){return arguments.length?(d=t,u):d},u.anchor(e,r)},n.abstractBubbleChart=n.bubbleMixin,n.baseChart=n.baseMixin,n.capped=n.capMixin,n.colorChart=n.colorMixin,n.coordinateGridChart=n.coordinateGridMixin,n.marginable=n.marginMixin,n.stackableChart=n.stackMixin,n.d3=t,n.crossfilter=e,n}r=[e(89),e(414)],n=i,void 0!==(o="function"==typeof n?n.apply(exports,r):n)&&(t.exports=o)}()},function(t,exports,e){/*! Moment Duration Format v1.3.0 * https://github.com/jsmreese/moment-duration-format * Date: 2014-07-15 * * Duration format plugin function for the Moment.js library * http://momentjs.com/ * * Copyright 2014 John Madhavan-Reese * Released under the MIT license */ !function(t,n){function r(t){var e="";if(!(t=parseInt(t,10))||t<1)return e;for(;t;)e+="0",t-=1;return e}function o(t,e,n){return null==t&&(t=""),t=""+t,(n?t:"")+r(e-t.length)+(n?"":t)}function i(t){return"[object Array]"===Object.prototype.toString.call(t)}function a(t){return"[object Object]"===Object.prototype.toString.call(t)}function s(t,e){for(var n=t.length;n-=1;)if(e(t[n]))return t[n]}function u(t,e){var n,r=0,o=t.length;for("function"!=typeof e&&(n=e,e=function(t){return t===n});r0?Math.floor(r):Math.ceil(r),i=r-o,a=n+1===y.length,s=!n,l(e,function(e){e.type===t&&(v(e,{value:r,wholeValue:o,decimalValue:i,isLeast:a,isMost:s}),s&&null==w.forceLength&&e.length>1&&(w.forceLength=!0))}),k.subtract(o,t)}),w.trim&&(e=("left"===w.trim?g:m)(e,function(t){return!(t.isLeast||null!=t.type&&t.wholeValue)})),_=!1,"right"===w.trim&&e.reverse(),e=c(e,function(t){var e,n;if(!t.type)return t.token;if(e=t.isLeast&&w.precision<0?(Math.floor(t.wholeValue*Math.pow(10,w.precision))*Math.pow(10,-w.precision)).toString():t.wholeValue.toString(),e=e.replace(/^\-/,""),t.length>1&&(_||t.isMost||w.forceLength)&&(e=o(e,t.length)),t.isLeast&&w.precision>0)switch(n=t.decimalValue.toString().replace(/^\-/,"").split(/\.|e\-/),n.length){case 1:e+="."+o(n[0],w.precision,!0).slice(0,w.precision);break;case 2:e+="."+o(n[1],w.precision,!0).slice(0,w.precision);break;case 3:e+="."+o(r(+n[2]-1)+(n[0]||"0")+n[1],w.precision,!0).slice(0,w.precision);break;default:throw"Moment Duration Format: unable to parse token decimal value."}return t.isMost&&t.value<0&&(e="-"+e),_=!0,e}),"right"===w.trim&&e.reverse(),e.join("")):f(e,"token").join("")},b.duration.fn.format.defaults={escape:/\[(.+?)\]/,years:/[Yy]+/,months:/M+/,weeks:/[Ww]+/,days:/[Dd]+/,hours:/[Hh]+/,minutes:/m+/,seconds:/s+/,milliseconds:/S+/,general:/.+?/,types:"escape years months weeks days hours minutes seconds milliseconds general",trim:"left",precision:0,forceLength:null,template:function(){var t=this.types,e=this.duration;switch(s(t,function(t){return e._data[t]})){case"seconds":return"h:mm:ss";case"minutes":return"d[d] h:mm";case"hours":return"d[d] h[h]";case"days":return"M[m] d[d]";case"weeks":return"y[y] w[w]";case"months":return"y[y] M[m]";case"years":return"y[y]";default:return"y[y] M[m] d[d] h:mm:ss"}}}}(this)},function(t,exports,e){t.exports=e(413).crossfilter},function(t,exports,e){t.exports=e(11)(698)},function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=e(89),r=function(t){return t&&t.__esModule?t:{default:t}}(n),o={glColourPalette:function(){return r.default.scale.ordinal().range(["#16ACE3","#FBB040","#ED8EEF","#7CE255","#8DB3ED","#EAF253","#CED945","#EF8DB6","#D4A8ED","#F495D9"])},tooltipRenderlet:function(t,e,n){t.on("renderlet.tooltip",function(t){r.default.select(t.root()[0][0]).selectAll(e).attr("rel","tooltip").attr("data-original-title",n)})}};exports.default=o,t.exports=exports.default},function(t,exports,e){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(exports,"__esModule",{value:!0});var r=function(){function t(t,e){for(var n=0;n0&&!--r&&(n(),n=null)}},function(t,exports,e){"use strict";(function(n){function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var o=e(5),i=r(o),a=e(2),s=r(a),u=e(39),l=r(u),c=e(118),f=r(c),d=e(271),p=r(d),h=e(269),g=r(h),m=e(89),v=r(m),b=e(272),y=r(b),_=e(69),x=r(_),w=e(50),k=r(w),S=e(91),E=r(S),C=e(273),A=r(C),O=e(120),M=r(O),T=e(170),D=r(T),F=e(14),P=r(F);n.jQuery=P.default,e(172);var R={create:function(t,e,n){var r=void 0;switch(t.renderer){case"line":r=g.default.lineChart(e),A.default.tooltipRenderlet(r,".chart-body circle.dot",n);break;case"area":r=g.default.lineChart(e),r.renderArea(!0),A.default.tooltipRenderlet(r,".chart-body circle.dot",n);break;case"bar":r=g.default.barChart(e),r.centerBar(!0),A.default.tooltipRenderlet(r,".chart-body rect.bar",n);break;case"scatterplot":r=g.default.lineChart(e),r.renderDataPoints({radius:2,fillOpacity:1,strokeOpacity:1}),A.default.tooltipRenderlet(r,".chart-body circle.dot",n);break;default:throw new Error("Unsupported renderer '"+t.renderer+"'")}return"line"!==t.renderer&&"area"!==t.renderer||r.interpolate(t.interpolation),"bar"!==t.renderer&&r.clipPadding(5),r}},I=s.default.createClass({displayName:"GraphVisualization",propTypes:{id:i.default.string.isRequired,data:i.default.object.isRequired,config:i.default.object.isRequired,computationTimeRange:i.default.shape({from:i.default.string.isRequired,to:i.default.string.isRequired}).isRequired,height:i.default.number,width:i.default.number},statics:{getReadableFieldChartStatisticalFunction:function(t){switch(t){case"count":return"total";case"total":return"sum";default:return t}}},getInitialState:function(){return this.triggerRender=!0,this.graphData=(0,p.default)(),this.dimension=this.graphData.dimension(function(t){return t.x}),this.group=this.dimension.group().reduceSum(function(t){return t.y}),{dataPoints:[]}},componentDidMount:function(){this.renderGraph(),this._updateData(this.props.data,this.props.config,this.props.computationTimeRange)},componentDidUpdate:function(){this.drawData()},componentWillReceiveProps:function(t){(0,y.default)(this.props,t)||(t.height===this.props.height&&t.width===this.props.width||this._resizeVisualization(t.width,t.height),this._updateData(t.data,t.config,t.computationTimeRange))},_updateData:function(t,e,n){var r="relative"===e.timerange.type&&0===e.timerange.range,o=E.default.format(t,n,e.interval,this.props.width,r,e.valuetype);this.setState({dataPoints:this._normalizeData(o)})},_normalizeData:function(t){return null!==t&&void 0!==t&&Array.isArray(t)?t.map(function(t){return t.y=M.default.normalizeGraphNumber(t.y),t}):[]},_formatTooltipTitle:function(t){var e=void 0===t.x?t.x:new k.default(t.x).toString(k.default.Formats.COMPLETE),n=void 0;try{n=(0,f.default)(t.y).format("0,0.[00]")}catch(e){n=v.default.format(".2r")(t.y)}return'
'+I.getReadableFieldChartStatisticalFunction(this.props.config.valuetype)+" "+this.props.config.field+": "+n+'
'+e+"
"},_resizeVisualization:function(t,e){this.graph.width(t).height(e),this.triggerRender=!0},drawData:function(){var t=this;this.graph.xUnits(function(){return Math.max(t.state.dataPoints.length-1,1)}),this.graphData.remove(),this.graphData.add(this.state.dataPoints),this.triggerRender?(this.graph.render(),this.triggerRender=!1):this.graph.redraw(),this.props.config.threshold&&this.renderThreshold()},renderThreshold:function(){var t=this.props.config.threshold,e=this.props.config.threshold_color||"#f00",n=this.props.config.threshold_tooltip||"threshold: "+t;this.graph.on("renderlet.threshold",function(r){var o=[{x:r.x().range()[0],y:r.y()(t)},{x:r.x().range()[1],y:r.y()(t)}],i=v.default.svg.line().x(function(t){return t.x}).y(function(t){return t.y}).interpolate("linear"),a=r.select("g.chart-body"),s=a.selectAll("path.threshold").data([o]);s.attr("stroke",e).attr("d",i),s.enter().append("path").attr("class","threshold").attr("stroke",e).attr("stroke-width",1).attr("stroke-dasharray","2").attr("d",i),s.exit().remove();var u=r.data().reduce(function(t,e){return e.values.forEach(function(e){return t.push(e.x)}),t},[]),l=a.selectAll("circle.threshold").data(u);l.enter().append("circle").attr("class","threshold").attr("r",4).attr("rel","tooltip").attr("data-original-title",function(){return'
'+x.default.escape(n)+"
"}).style("stroke-opacity",1e-6).style("fill-opacity",1e-6).on("mousemove",function(){v.default.select(this).style("stroke-opacity",.8).style("fill-opacity",.8)}).on("mouseout",function(){v.default.select(this).style("stroke-opacity",1e-6).style("fill-opacity",1e-6)}),l.attr("cx",function(t){return g.default.utils.safeNumber(r.x()(t))}).attr("cy",function(){return g.default.utils.safeNumber(r.y()(t))}).attr("data-original-title",function(){return'
'+n+"
"}).attr("fill",e),l.exit().remove()})},renderGraph:function(){var t=l.default.findDOMNode(this);this.graph=R.create(this.props.config,t,this._formatTooltipTitle),this.graph.width(this.props.width).height(this.props.height).margins({left:50,right:15,top:10,bottom:35}).dimension(this.dimension).group(this.group).x(v.default.time.scale()).elasticX(!0).elasticY(!0).renderHorizontalGridLines(!0).brushOn(!1).xAxisLabel("Time").yAxisLabel(this.props.config.field).renderTitle(!1).colors(A.default.glColourPalette()),(0,P.default)(t).tooltip({selector:'[rel="tooltip"]',container:"body",placement:"auto",delay:{show:300,hide:100},html:!0}),this.graph.xAxis().ticks(D.default.customTickInterval()).tickFormat(D.default.customDateTimeFormat()),this.graph.yAxis().ticks(3).tickFormat(function(t){return Math.abs(t)>1e30?t.toPrecision(1):v.default.format(".2s")(t)}),this.graph.render()},render:function(){return s.default.createElement("div",{id:"visualization-"+this.props.id,className:"graph "+this.props.config.renderer})}});exports.default=I,t.exports=exports.default}).call(exports,e(30))},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=Object.assign||function(t){for(var e=1;e1?a.default.createElement("span",null,this.props.children):this.props.children:null}});exports.default=h,t.exports=exports.default},function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=e(35),r=function(t){return t&&t.__esModule?t:{default:t}}(n);e(270);var o={isValidDuration:function(t,e){return e(r.default.duration(t).asMilliseconds(),t)},durationStyle:function(t,e,n){var r=n;return r||(r="error"),this.isValidDuration(t,e)?null:r},formatDuration:function(t,e,n){var o=n;return o||(o="error"),this.isValidDuration(t,e)?r.default.duration(t).format():o},humanizeDuration:function(t,e,n){var o=n;return o||(o="error"),this.isValidDuration(t,e)?r.default.duration(t).humanize():o}};exports.default=o,t.exports=exports.default},function(t,exports,e){var n,r=0,o=e(511);"string"==typeof o&&(o=[[t.i,o,""]]),o.locals&&(exports.locals=o.locals),exports.use=exports.ref=function(){return r++||(n=e(21)(o,{})),exports},exports.unuse=exports.unref=function(){r>0&&!--r&&(n(),n=null)}},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(5),o=n(r),i=e(2),a=n(i),s=e(16),u=e(201),l=e(616),c=n(l),f=e(228),d=n(f),p=a.default.createClass({displayName:"SortableList",propTypes:{disableDragging:o.default.bool,items:o.default.arrayOf(o.default.object).isRequired,onMoveItem:o.default.func},getDefaultProps:function(){return{disableDragging:!1}},getInitialState:function(){return{items:this.props.items}},componentWillReceiveProps:function(t){this.setState({items:t.items})},_moveItem:function(t,e){var n=this.state.items,r=n[t];n[t]=n[e],n[e]=r,this.setState({items:n}),"function"==typeof this.props.onMoveItem&&this.props.onMoveItem(n)},render:function(){var t=this,e=this.state.items.map(function(e,n){return a.default.createElement(d.default,{key:"sortable-list-item-"+e.id,disableDragging:t.props.disableDragging,index:n,id:e.id,content:e.title,moveItem:t._moveItem})});return a.default.createElement(s.ListGroup,{className:this.props.disableDragging?"sortable-list":"sortable-list sortable-list-cursor"},e)}});exports.default=(0,u.DragDropContext)(c.default)(p),t.exports=exports.default},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t){var n=e(300);u.default.render(a.default.createElement(p.AppContainer,null,a.default.createElement(n,null)),t)}var o=e(294),i=(n(o),e(2)),a=n(i),s=e(39),u=n(s),l=e(77),c=n(l),f=e(1),d=n(f),p=e(295);c.default.config({cancellation:!0}),d.default.setPromiseFactory(function(t){return new c.default(t)}),window.onload=function(){var t=document.createElement("div");document.body.appendChild(t),r(t)}},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}var r=e(88),o=n(r),i=e(78),a=n(i),s=a.default.gl2DevMode()?"/":"/assets/";e.p=o.default.joinPaths(a.default.gl2AppPathPrefix(),s).path()||s},function(t,exports,e){t.exports=e(296)},function(t,exports,e){"use strict";t.exports=e(297)},function(t,exports,e){"use strict";t.exports.AppContainer=e(298)},function(t,exports,e){"use strict";t.exports=e(299)},function(t,exports,e){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var i=function(){function t(t,e){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof t.action?t.action:this.defaultAction,this.target="function"==typeof t.target?t.target:this.defaultTarget,this.text="function"==typeof t.text?t.text:this.defaultText,this.container="object"===d(t.container)?t.container:document.body}},{key:"listenClick",value:function(t){var e=this;this.listener=(0,f.default)(t,"click",function(t){return e.onClick(t)})}},{key:"onClick",value:function(t){var e=t.delegateTarget||t.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new l.default({action:this.action(e),target:this.target(e),text:this.text(e),container:this.container,trigger:e,emitter:this})}},{key:"defaultAction",value:function(t){return u("action",t)}},{key:"defaultTarget",value:function(t){var e=u("target",t);if(e)return document.querySelector(e)}},{key:"defaultText",value:function(t){return u("text",t)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],e="string"==typeof t?[t]:t,n=!!document.queryCommandSupported;return e.forEach(function(t){n=n&&!!document.queryCommandSupported(t)}),n}}]),e}(c.default);t.exports=h})},function(t,exports,e){var n,r,o;!function(i,a){r=[t,e(305)],n=a,void 0!==(o="function"==typeof n?n.apply(exports,r):n)&&(t.exports=o)}(0,function(t,e){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var r=function(t){return t&&t.__esModule?t:{default:t}}(e),o="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},i=function(){function t(t,e){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{};this.action=t.action,this.container=t.container,this.emitter=t.emitter,this.target=t.target,this.text=t.text,this.trigger=t.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function(){var t=this,e="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return t.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[e?"right":"left"]="-9999px";var n=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.style.top=n+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.container.appendChild(this.fakeElem),this.selectedText=(0,r.default)(this.fakeElem),this.copyText()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=(0,r.default)(this.target),this.copyText()}},{key:"copyText",value:function(){var t=void 0;try{t=document.execCommand(this.action)}catch(e){t=!1}this.handleResult(t)}},{key:"handleResult",value:function(t){this.emitter.emit(t?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=t,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(t){if(void 0!==t){if(!t||"object"!==(void 0===t?"undefined":o(t))||1!==t.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&t.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(t.hasAttribute("readonly")||t.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=t}},get:function(){return this._target}}]),t}();t.exports=a})},function(t,exports){function e(t){var e;if("SELECT"===t.nodeName)t.focus(),e=t.value;else if("INPUT"===t.nodeName||"TEXTAREA"===t.nodeName){var n=t.hasAttribute("readonly");n||t.setAttribute("readonly",""),t.select(),t.setSelectionRange(0,t.value.length),n||t.removeAttribute("readonly"),e=t.value}else{t.hasAttribute("contenteditable")&&t.focus();var r=window.getSelection(),o=document.createRange();o.selectNodeContents(t),r.removeAllRanges(),r.addRange(o),e=r.toString()}return e}t.exports=e},function(t,exports){function e(){}e.prototype={on:function(t,e,n){var r=this.e||(this.e={});return(r[t]||(r[t]=[])).push({fn:e,ctx:n}),this},once:function(t,e,n){function r(){o.off(t,r),e.apply(n,arguments)}var o=this;return r._=e,this.on(t,r,n)},emit:function(t){var e=[].slice.call(arguments,1),n=((this.e||(this.e={}))[t]||[]).slice(),r=0,o=n.length;for(r;r0}function s(t){var e=parseInt(t.val());return e>0&&e<65535}function u(t){return parseInt(t.val())>0}function l(t){return parseInt(t.val())<0}function c(t){return t.val().match("^\\w*$")}function f(t){return u(t)||0==parseInt(t.val())}function d(t){return isNumber(t.val())}function p(t){var e=(0,b.default)(t).val();try{return m.default.parseFromString(e),!0}catch(t){}return!1}function h(t){var e=(0,b.default)(t).parent().parent(),n=(0,b.default)("input[name='from']",e).val(),r=(0,b.default)("input[name='to']",e).val();try{var o=m.default.parseFromString(n).toMoment(),i=m.default.parseFromString(r).toMoment();return o.isBefore(i)||o.isSame(i)}catch(t){}return!1}Object.defineProperty(exports,"__esModule",{value:!0}),exports.validate=r;var g=e(50),m=n(g),v=e(14),b=n(v);t.jQuery=b.default,e(172),e(476)}).call(exports,e(30))},function(t,exports,e){t.exports=e(11)(769)},function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=e(1),r=function(t){return t&&t.__esModule?t:{default:t}}(n),o=r.default.createActions({list:{asyncResult:!0}});exports.default=o,t.exports=exports.default},function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=e(1),r=function(t){return t&&t.__esModule?t:{default:t}}(n),o=r.default.createActions({delete:{asyncResult:!0},list:{asyncResult:!0},save:{asyncResult:!0},update:{asyncResult:!0}});exports.default=o,t.exports=exports.default},function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=e(1),r=function(t){return t&&t.__esModule?t:{default:t}}(n),o=r.default.createActions({available:{asyncResult:!0},delete:{asyncResult:!0},list:{asyncResult:!0},listAll:{asyncResult:!0},save:{asyncResult:!0},update:{asyncResult:!0},get:{asyncResult:!0}});exports.default=o,t.exports=exports.default},function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=e(1),r=function(t){return t&&t.__esModule?t:{default:t}}(n),o=r.default.createActions({available:{asyncResult:!0},listAll:{asyncResult:!0},testAlert:{asyncResult:!0}});exports.default=o,t.exports=exports.default},function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=e(1),r=function(t){return t&&t.__esModule?t:{default:t}}(n),o=r.default.createActions({get:{asyncResult:!0},list:{asyncResult:!0},listPaginated:{asyncResult:!0},listAllPaginated:{asyncResult:!0},listAllStreams:{asyncResult:!0}});exports.default=o,t.exports=exports.default},function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=e(1),r=function(t){return t&&t.__esModule?t:{default:t}}(n),o=r.default.createActions({load:{asyncResult:!0},update:{asyncResult:!0}});exports.default=o,t.exports=exports.default},function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=e(1),r=function(t){return t&&t.__esModule?t:{default:t}}(n),o=r.default.createActions({traffic:{asyncResult:!0}});exports.default=o,t.exports=exports.default},function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=e(1),r=function(t){return t&&t.__esModule?t:{default:t}}(n),o=r.default.createActions({list:{asyncResult:!0},listSearchesClusterConfig:{asyncResult:!0},listMessageProcessorsConfig:{asyncResult:!0},update:{asyncResult:!0},updateMessageProcessorsConfig:{asyncResult:!0}});exports.default=o,t.exports=exports.default},function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=e(1),r=function(t){return t&&t.__esModule?t:{default:t}}(n),o=r.default.createActions({apply:{asyncResult:!0},create:{asyncResult:!0},delete:{asyncResult:!0},export:{asyncResult:!0},list:{asyncResult:!0}});exports.default=o,t.exports=exports.default},function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=e(1),r=function(t){return t&&t.__esModule?t:{default:t}}(n),o=r.default.createActions({create:{asyncResult:!0},delete:{asyncResult:!0},get:{asyncResult:!0},list:{asyncResult:!0},update:{asyncResult:!0},updatePositions:{asyncResult:!0}});exports.default=o,t.exports=exports.default},function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=e(1),r=function(t){return t&&t.__esModule?t:{default:t}}(n),o=r.default.createActions({available:{asyncResult:!0},create:{asyncResult:!0},list:{asyncResult:!0},remove:{asyncResult:!0},update:{asyncResult:!0}});exports.default=o,t.exports=exports.default},function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=e(1),r=function(t){return t&&t.__esModule?t:{default:t}}(n),o=r.default.createActions({cycle:{asyncResult:!0},list:{asyncResult:!0}});exports.default=o,t.exports=exports.default},function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=e(1),r=function(t){return t&&t.__esModule?t:{default:t}}(n),o=r.default.createActions({list:{asyncResult:!0},get:{asyncResult:!0},create:{asyncResult:!0},save:{asyncResult:!0},update:{asyncResult:!0},delete:{asyncResult:!0},order:{asyncResult:!0},import:{}});exports.default=o,t.exports=exports.default},function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=e(1),r=function(t){return t&&t.__esModule?t:{default:t}}(n),o=r.default.createActions({get:{asyncResult:!0},getHistogram:{asyncResult:!0}});exports.default=o,t.exports=exports.default},function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=e(1),r=function(t){return t&&t.__esModule?t:{default:t}}(n),o=r.default.createActions({getStatus:{asyncResult:!0},dismiss:{asyncResult:!0}});exports.default=o,t.exports=exports.default},function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=e(1),r=function(t){return t&&t.__esModule?t:{default:t}}(n),o=r.default.createActions({load:{asyncResult:!0}});exports.default=o,t.exports=exports.default},function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=e(1),r=function(t){return t&&t.__esModule?t:{default:t}}(n),o=r.default.createActions({health:{asyncResult:!0},name:{asyncResult:!0}});exports.default=o,t.exports=exports.default},function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=e(1),r=function(t){return t&&t.__esModule?t:{default:t}}(n),o=r.default.createActions({list:{asyncResult:!0}});exports.default=o,t.exports=exports.default},function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=e(1),r=function(t){return t&&t.__esModule?t:{default:t}}(n),o=r.default.createActions({list:{asyncResult:!0},recalculate:{asyncResult:!0},recalculateIndex:{asyncResult:!0}});exports.default=o,t.exports=exports.default},function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=e(1),r=function(t){return t&&t.__esModule?t:{default:t}}(n),o=r.default.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}});exports.default=o,t.exports=exports.default},function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=e(1),r=function(t){return t&&t.__esModule?t:{default:t}}(n),o=r.default.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}});exports.default=o,t.exports=exports.default},function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=e(1),r=function(t){return t&&t.__esModule?t:{default:t}}(n),o=r.default.createActions({loadRotationStrategies:{asyncResult:!0},loadRetentionStrategies:{asyncResult:!0}});exports.default=o,t.exports=exports.default},function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=e(1),r=function(t){return t&&t.__esModule?t:{default:t}}(n),o=r.default.createActions({list:{asyncResult:!0},get:{asyncResult:!0},getOptional:{asyncResult:!0},create:{asyncResult:!0},delete:{asyncResult:!0},update:{asyncResult:!0}});exports.default=o,t.exports=exports.default},function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=e(1),r=function(t){return t&&t.__esModule?t:{default:t}}(n),o=r.default.createActions({list:{asyncResult:!0},get:{asyncResult:!0}});exports.default=o,t.exports=exports.default},function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=e(1),r=function(t){return t&&t.__esModule?t:{default:t}}(n),o=r.default.createActions({loadSettings:{asyncResult:!0},update:{asyncResult:!0},testServerConnection:{asyncResult:!0},testLogin:{asyncResult:!0}});exports.default=o,t.exports=exports.default},function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=e(1),r=function(t){return t&&t.__esModule?t:{default:t}}(n),o=r.default.createActions({loadGroups:{asyncResult:!0},loadMapping:{asyncResult:!0},saveMapping:{asyncResult:!0}});exports.default=o,t.exports=exports.default},function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=e(1),r=function(t){return t&&t.__esModule?t:{default:t}}(n),o=r.default.createActions({loggers:{asyncResult:!0},subsystems:{asyncResult:!0},setSubsystemLoggerLevel:{asyncResult:!0}});exports.default=o,t.exports=exports.default},function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=e(1),r=function(t){return t&&t.__esModule?t:{default:t}}(n),o=r.default.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}});exports.default=o,t.exports=exports.default},function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=e(1),r=function(t){return t&&t.__esModule?t:{default:t}}(n),o=r.default.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}});exports.default=o,t.exports=exports.default},function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=e(1),r=function(t){return t&&t.__esModule?t:{default:t}}(n),o=r.default.createActions({searchPaginated:{asyncResult:!0},reloadPage:{asyncResult:!0},get:{asyncResult:!0},create:{asyncResult:!0},delete:{asyncResult:!0},update:{asyncResult:!0},getErrors:{asyncResult:!0},lookup:{asyncResult:!0},purgeKey:{asyncResult:!0},purgeAll:{asyncResult:!0},validate:{asyncResult:!0}});exports.default=o,t.exports=exports.default},function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=e(1),r=function(t){return t&&t.__esModule?t:{default:t}}(n),o=r.default.createActions({total:{asyncResult:!0}});exports.default=o,t.exports=exports.default},function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=e(1),r=function(t){return t&&t.__esModule?t:{default:t}}(n),o=r.default.createActions({loadMessage:{asyncResult:!0},fieldTerms:{asyncResult:!0},loadRawMessage:{asyncResult:!0}});exports.default=o,t.exports=exports.default},function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=e(1),r=function(t){return t&&t.__esModule?t:{default:t}}(n),o=r.default.createActions({add:{asyncResult:!0},addGlobal:{asyncResult:!0},clear:{asyncResult:!0},filter:{asyncResult:!0},list:{asyncResult:!0},names:{asyncResult:!0},remove:{asyncResult:!0},removeGlobal:{asyncResult:!0}});exports.default=o,t.exports=exports.default},function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=e(1),r=function(t){return t&&t.__esModule?t:{default:t}}(n),o=r.default.createActions({list:{asyncResult:!0}});exports.default=o,t.exports=exports.default},function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=e(1),r=function(t){return t&&t.__esModule?t:{default:t}}(n),o=r.default.createActions({delete:{asyncResult:!0},list:{asyncResult:!0}});exports.default=o,t.exports=exports.default},function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=e(1),r=function(t){return t&&t.__esModule?t:{default:t}}(n),o=r.default.createActions(["changeInterval","disable","enable"]);exports.default=o,t.exports=exports.default},function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=e(1),r=function(t){return t&&t.__esModule?t:{default:t}}(n),o=r.default.createActions({create:{asyncResult:!0},update:{asyncResult:!0},list:{asyncResult:!0},execute:{asyncResult:!0},delete:{asyncResult:!0}});exports.default=o,t.exports=exports.default},function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=e(1),r=function(t){return t&&t.__esModule?t:{default:t}}(n),o=r.default.createActions(["reportError","reportSuccess"]);exports.default=o,t.exports=exports.default},function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=e(1),r=function(t){return t&&t.__esModule?t:{default:t}}(n),o=r.default.createActions({login:{asyncResult:!0},logout:{asyncResult:!0},validate:{asyncResult:!0}});exports.default=o,t.exports=exports.default},function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=e(1),r=function(t){return t&&t.__esModule?t:{default:t}}(n),o=r.default.createActions({get:{asyncResult:!0}});exports.default=o,t.exports=exports.default},function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=e(1),r=function(t){return t&&t.__esModule?t:{default:t}}(n),o=r.default.createActions({list:{asyncResult:!0},create:{asyncResult:!0},update:{asyncResult:!0},delete:{asyncResult:!0}});exports.default=o,t.exports=exports.default},function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=e(1),r=function(t){return t&&t.__esModule?t:{default:t}}(n),o=r.default.createActions({list:{asyncResult:!0},getJob:{asyncResult:!0},cancelJob:{asyncResult:!0}});exports.default=o,t.exports=exports.default},function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=e(1),r=function(t){return t&&t.__esModule?t:{default:t}}(n),o=r.default.createActions({removeWidget:{asyncResult:!0}});exports.default=o,t.exports=exports.default},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(1),o=n(r),i=e(3),a=n(i),s=e(4),u=n(s),l=e(6),c=n(l),f=e(7),d=n(f),p=e(8),h=n(p),g=h.default.getActions("AlarmCallbackHistory"),m=o.default.createStore({listenables:[g],histories:void 0,getInitialState:function(){return{histories:this.histories}},list:function(t,e){var n=this,r=a.default.qualifyUrl(d.default.AlarmCallbackHistoryApiController.list(t,e).url),o=(0,u.default)("GET",r).then(function(t){return n.histories=t.histories,n.trigger({histories:n.histories}),n.histories},function(t){c.default.error("Fetching notification history for alert '"+e+"' failed with status: "+t,"Could not retrieve notification history.")});g.list.promise(o)}});exports.default=m,t.exports=exports.default},function(t,exports,e){"use strict";var n=e(179),r=e(180),o={brackets:function(t){return t+"[]"},indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},i=Date.prototype.toISOString,a={delimiter:"&",encode:!0,encoder:n.encode,encodeValuesOnly:!1,serializeDate:function(t){return i.call(t)},skipNulls:!1,strictNullHandling:!1},s=function t(e,r,o,i,s,u,l,c,f,d,p,h){var g=e;if("function"==typeof l)g=l(r,g);else if(g instanceof Date)g=d(g);else if(null===g){if(i)return u&&!h?u(r,a.encoder):r;g=""}if("string"==typeof g||"number"==typeof g||"boolean"==typeof g||n.isBuffer(g)){if(u){return[p(h?r:u(r,a.encoder))+"="+p(u(g,a.encoder))]}return[p(r)+"="+p(String(g))]}var m=[];if(void 0===g)return m;var v;if(Array.isArray(l))v=l;else{var b=Object.keys(g);v=c?b.sort(c):b}for(var y=0;y0?A+C:""}},function(t,exports,e){"use strict";var n=e(179),r=Object.prototype.hasOwnProperty,o={allowDots:!1,allowPrototypes:!1,arrayLimit:20,decoder:n.decode,delimiter:"&",depth:5,parameterLimit:1e3,plainObjects:!1,strictNullHandling:!1},i=function(t,e){for(var n={},i=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,a=e.parameterLimit===1/0?void 0:e.parameterLimit,s=i.split(e.delimiter,a),u=0;u=0;--o){var i,a=t[o];if("[]"===a)i=[],i=i.concat(r);else{i=n.plainObjects?Object.create(null):{};var s="["===a.charAt(0)&&"]"===a.charAt(a.length-1)?a.slice(1,-1):a,u=parseInt(s,10);!isNaN(u)&&a!==s&&String(u)===s&&u>=0&&n.parseArrays&&u<=n.arrayLimit?(i=[],i[u]=r):i[s]=r}r=i}return r},s=function(t,e,n){if(t){var o=n.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,i=/(\[[^[\]]*])/,s=/(\[[^[\]]*])/g,u=i.exec(o),l=u?o.slice(0,u.index):o,c=[];if(l){if(!n.plainObjects&&r.call(Object.prototype,l)&&!n.allowPrototypes)return;c.push(l)}for(var f=0;null!==(u=s.exec(o))&&f0?2==i.length?"function"==typeof i[1]?this[i[0]]=i[1].call(this,s):this[i[0]]=i[1]:3==i.length?"function"!=typeof i[1]||i[1].exec&&i[1].test?this[i[0]]=s?s.replace(i[1],i[2]):void 0:this[i[0]]=s?i[1].call(this,s,i[2]):void 0:4==i.length&&(this[i[0]]=s?i[3].call(this,s.replace(i[1],i[2])):void 0):this[i]=s||void 0;u+=2}},str:function(t,e){for(var n in e)if("object"==typeof e[n]&&e[n].length>0){for(var r=0;r=400){var s="cannot "+e.method+" "+e.url+" ("+a.status+")";t=new i(s),t.status=a.status,t.body=a.body,t.res=a,r(t)}else o?r(new i(o.message,o)):n(a)}),"function"==typeof o&&o(function(){e.abort()})})},o.prototype.then=function(){var t=this.promise();return t.then.apply(t,arguments)},o.prototype.catch=function(){var t=this.promise();return t.catch.apply(t,arguments)}},function(t,exports,e){function n(){}function r(t){if(!h(t))return t;var e=[];for(var n in t)o(e,n,t[n]);return e.join("&")}function o(t,e,n){if(null!=n)if(Array.isArray(n))n.forEach(function(n){o(t,e,n)});else if(h(n))for(var r in n)o(t,e+"["+r+"]",n[r]);else t.push(encodeURIComponent(e)+"="+encodeURIComponent(n));else null===n&&t.push(encodeURIComponent(e))}function i(t){for(var e,n,r={},o=t.split("&"),i=0,a=o.length;i=2&&t._responseTimeoutTimer&&clearTimeout(t._responseTimeoutTimer),4==n){var r;try{r=e.status}catch(t){r=0}if(!r){if(t.timedout||t._aborted)return;return t.crossDomainError()}t.emit("end")}};var r=function(e,n){n.total>0&&(n.percent=n.loaded/n.total*100),n.direction=e,t.emit("progress",n)};if(this.hasListeners("progress"))try{e.onprogress=r.bind(null,"download"),e.upload&&(e.upload.onprogress=r.bind(null,"upload"))}catch(t){}try{this.username&&this.password?e.open(this.method,this.url,!0,this.username,this.password):e.open(this.method,this.url,!0)}catch(t){return this.callback(t)}if(this._withCredentials&&(e.withCredentials=!0),!this._formData&&"GET"!=this.method&&"HEAD"!=this.method&&"string"!=typeof n&&!this._isHost(n)){var o=this._header["content-type"],i=this._serializer||v.serialize[o?o.split(";")[0]:""];!i&&s(o)&&(i=v.serialize["application/json"]),i&&(n=i(n))}for(var a in this.header)null!=this.header[a]&&this.header.hasOwnProperty(a)&&e.setRequestHeader(a,this.header[a]);return this._responseType&&(e.responseType=this._responseType),this.emit("request",this),e.send(void 0!==n?n:null),this},v.agent=function(){return new m},["GET","POST","OPTIONS","PATCH","PUT","DELETE"].forEach(function(t){m.prototype[t.toLowerCase()]=function(e,n){var r=new v.Request(t,e);return this._setDefaults(r),n&&r.end(n),r}}),m.prototype.del=m.prototype.delete,v.get=function(t,e,n){var r=v("GET",t);return"function"==typeof e&&(n=e,e=null),e&&r.query(e),n&&r.end(n),r},v.head=function(t,e,n){var r=v("HEAD",t);return"function"==typeof e&&(n=e,e=null),e&&r.query(e),n&&r.end(n),r},v.options=function(t,e,n){var r=v("OPTIONS",t);return"function"==typeof e&&(n=e,e=null),e&&r.send(e),n&&r.end(n),r},v.del=c,v.delete=c,v.patch=function(t,e,n){var r=v("PATCH",t);return"function"==typeof e&&(n=e,e=null),e&&r.send(e),n&&r.end(n),r},v.post=function(t,e,n){var r=v("POST",t);return"function"==typeof e&&(n=e,e=null),e&&r.send(e),n&&r.end(n),r},v.put=function(t,e,n){var r=v("PUT",t);return"function"==typeof e&&(n=e,e=null),e&&r.send(e),n&&r.end(n),r}},function(t,exports,e){function n(t){if(t)return r(t)}function r(t){for(var e in n.prototype)t[e]=n.prototype[e];return t}t.exports=n,n.prototype.on=n.prototype.addEventListener=function(t,e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+t]=this._callbacks["$"+t]||[]).push(e),this},n.prototype.once=function(t,e){function n(){this.off(t,n),e.apply(this,arguments)}return n.fn=e,this.on(t,n),this},n.prototype.off=n.prototype.removeListener=n.prototype.removeAllListeners=n.prototype.removeEventListener=function(t,e){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n=this._callbacks["$"+t];if(!n)return this;if(1==arguments.length)return delete this._callbacks["$"+t],this;for(var r,o=0;o=this._maxRetries)return!1;if(this._retryCallback)try{var n=this._retryCallback(t,e);if(!0===n)return!0;if(!1===n)return!1}catch(t){console.error(t)}if(e&&e.status&&e.status>=500&&501!=e.status)return!0;if(t){if(t.code&&~i.indexOf(t.code))return!0;if(t.timeout&&"ECONNABORTED"==t.code)return!0;if(t.crossDomain)return!0}return!1},n.prototype._retry=function(){return this.clearTimeout(),this.req&&(this.req=null,this.req=this.request()),this._aborted=!1,this.timedout=!1,this._end()},n.prototype.then=function(t,e){if(!this._fullfilledPromise){var n=this;this._endCalled&&console.warn("Warning: superagent request was sent twice, because both .end() and .then() were called. Never call .end() if you use promises"),this._fullfilledPromise=new Promise(function(t,e){n.end(function(n,r){n?e(n):t(r)})})}return this._fullfilledPromise.then(t,e)},n.prototype.catch=function(t){return this.then(void 0,t)},n.prototype.use=function(t){return t(this),this},n.prototype.ok=function(t){if("function"!=typeof t)throw Error("Callback required");return this._okCallback=t,this},n.prototype._isResponseOK=function(t){return!!t&&(this._okCallback?this._okCallback(t):t.status>=200&&t.status<300)},n.prototype.get=function(t){return this._header[t.toLowerCase()]},n.prototype.getHeader=n.prototype.get,n.prototype.set=function(t,e){if(o(t)){for(var n in t)this.set(n,t[n]);return this}return this._header[t.toLowerCase()]=e,this.header[t]=e,this},n.prototype.unset=function(t){return delete this._header[t.toLowerCase()],delete this.header[t],this},n.prototype.field=function(t,e){if(null===t||void 0===t)throw new Error(".field(name, val) name can not be empty");if(this._data&&console.error(".field() can't be used if .send() is used. Please use only .send() or only .field() & .attach()"),o(t)){for(var n in t)this.field(n,t[n]);return this}if(Array.isArray(e)){for(var r in e)this.field(t,e[r]);return this}if(null===e||void 0===e)throw new Error(".field(name, val) val can not be empty");return"boolean"==typeof e&&(e=""+e),this._getFormData().append(t,e),this},n.prototype.abort=function(){return this._aborted?this:(this._aborted=!0,this.xhr&&this.xhr.abort(),this.req&&this.req.abort(),this.clearTimeout(),this.emit("abort"),this)},n.prototype._auth=function(t,e,n,r){switch(n.type){case"basic":this.set("Authorization","Basic "+r(t+":"+e));break;case"auto":this.username=t,this.password=e;break;case"bearer":this.set("Authorization","Bearer "+t)}return this},n.prototype.withCredentials=function(t){return void 0==t&&(t=!0),this._withCredentials=t,this},n.prototype.redirects=function(t){return this._maxRedirects=t,this},n.prototype.maxResponseSize=function(t){if("number"!=typeof t)throw TypeError("Invalid argument");return this._maxResponseSize=t,this},n.prototype.toJSON=function(){return{method:this.method,url:this.url,data:this._data,headers:this._header}},n.prototype.send=function(t){var e=o(t),n=this._header["content-type"];if(this._formData&&console.error(".send() can't be used if .attach() or .field() is used. Please use only .send() or only .field() & .attach()"),e&&!this._data)Array.isArray(t)?this._data=[]:this._isHost(t)||(this._data={});else if(t&&this._data&&this._isHost(this._data))throw Error("Can't merge these send calls");if(e&&o(this._data))for(var r in t)this._data[r]=t[r];else"string"==typeof t?(n||this.type("form"),n=this._header["content-type"],this._data="application/x-www-form-urlencoded"==n?this._data?this._data+"&"+t:t:(this._data||"")+t):this._data=t;return!e||this._isHost(t)?this:(n||this.type("json"),this)},n.prototype.sortQuery=function(t){return this._sort=void 0===t||t,this},n.prototype._finalizeQueryString=function(){var t=this._query.join("&");if(t&&(this.url+=(this.url.indexOf("?")>=0?"&":"?")+t),this._query.length=0,this._sort){var e=this.url.indexOf("?");if(e>=0){var n=this.url.substring(e+1).split("&");"function"==typeof this._sort?n.sort(this._sort):n.sort(),this.url=this.url.substring(0,e)+"?"+n.join("&")}}},n.prototype._appendQueryString=function(){console.trace("Unsupported")},n.prototype._timeoutError=function(t,e,n){if(!this._aborted){var r=new Error(t+e+"ms exceeded");r.timeout=e,r.code="ECONNABORTED",r.errno=n,this.timedout=!0,this.abort(),this.callback(r)}},n.prototype._setTimeouts=function(){var t=this;this._timeout&&!this._timer&&(this._timer=setTimeout(function(){t._timeoutError("Timeout of ",t._timeout,"ETIME")},this._timeout)),this._responseTimeout&&!this._responseTimeoutTimer&&(this._responseTimeoutTimer=setTimeout(function(){t._timeoutError("Response timeout of ",t._responseTimeout,"ETIMEDOUT")},this._responseTimeout))}},function(t,exports,e){"use strict";function n(t){if(t)return r(t)}function r(t){for(var e in n.prototype)t[e]=n.prototype[e];return t}var o=e(370);t.exports=n,n.prototype.get=function(t){return this.header[t.toLowerCase()]},n.prototype._setHeaderProperties=function(t){var e=t["content-type"]||"";this.type=o.type(e);var n=o.params(e);for(var r in n)this[r]=n[r];this.links={};try{t.link&&(this.links=o.parseLinks(t.link))}catch(t){}},n.prototype._setStatusProperties=function(t){var e=t/100|0;this.status=this.statusCode=t,this.statusType=e,this.info=1==e,this.ok=2==e,this.redirect=3==e,this.clientError=4==e,this.serverError=5==e,this.error=(4==e||5==e)&&this.toError(),this.accepted=202==t,this.noContent=204==t,this.badRequest=400==t,this.unauthorized=401==t,this.notAcceptable=406==t,this.forbidden=403==t,this.notFound=404==t}},function(t,exports,e){"use strict";exports.type=function(t){return t.split(/ *; */).shift()},exports.params=function(t){return t.split(/ *; */).reduce(function(t,e){var n=e.split(/ *= */),r=n.shift(),o=n.shift();return r&&o&&(t[r]=o),t},{})},exports.parseLinks=function(t){return t.split(/ *, */).reduce(function(t,e){var n=e.split(/ *; */),r=n[0].slice(1,-1);return t[n[1].split(/ *= */)[1].slice(1,-1)]=r,t},{})},exports.cleanHeader=function(t,e){return delete t["content-type"],delete t["content-length"],delete t["transfer-encoding"],delete t.host,e&&(delete t.authorization,delete t.cookie),t}},function(t,exports){function e(){this._defaults=[]}["use","on","once","set","query","type","accept","auth","withCredentials","sortQuery","retry","ok","redirects","timeout","buffer","serialize","parse","ca","key","pfx","cert"].forEach(function(t){e.prototype[t]=function(){return this._defaults.push({fn:t,arguments:arguments}),this}}),e.prototype._setDefaults=function(t){this._defaults.forEach(function(e){t[e.fn].apply(t,e.arguments)})},t.exports=e},function(t,exports,e){"use strict";var n=function(t,exports){return{metadata:t,exports:exports}};t.exports=n},function(t,exports,e){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(exports,"__esModule",{value:!0});var r=function(){function t(t,e){for(var n=0;n=0;n--)l($(e[n]),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(){g(t)}}),!0)}function c(t){return m=$("
").attr("id",t.containerId).addClass(t.positionClass),m.appendTo($(t.target)),m}function f(){return{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}}function d(t){v&&v(t)}function p(t){function n(t){return null==t&&(t=""),t.replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function r(){var e="";switch(t.iconClass){case"toast-success":case"toast-info":e="polite";break;default:e="assertive"}S.attr("aria-live",e)}function o(){t.iconClass&&S.addClass(x.toastClass).addClass(w)}function i(){x.newestOnTop?m.prepend(S):m.append(S)}function a(){if(t.title){var e=t.title;x.escapeHtml&&(e=n(t.title)),E.append(e).addClass(x.titleClass),S.append(E)}}function s(){if(t.message){var e=t.message;x.escapeHtml&&(e=n(t.message)),C.append(e).addClass(x.messageClass),S.append(C)}}function u(){x.closeButton&&(O.addClass(x.closeClass).attr("role","button"),S.prepend(O))}function l(){x.progressBar&&(A.addClass(x.progressClass),S.prepend(A))}function c(){x.rtl&&S.addClass("rtl")}function f(t){var e=t&&!1!==x.closeMethod?x.closeMethod:x.hideMethod,n=t&&!1!==x.closeDuration?x.closeDuration:x.hideDuration,r=t&&!1!==x.closeEasing?x.closeEasing:x.hideEasing;if(!$(":focus",S).length||t)return clearTimeout(M.intervalId),S[e]({duration:n,easing:r,complete:function(){g(S),clearTimeout(k),x.onHidden&&"hidden"!==T.state&&x.onHidden(),T.state="hidden",T.endTime=new Date,d(T)}})}function p(){(x.timeOut>0||x.extendedTimeOut>0)&&(k=setTimeout(f,x.extendedTimeOut),M.maxHideTime=parseFloat(x.extendedTimeOut),M.hideEta=(new Date).getTime()+M.maxHideTime)}function v(){clearTimeout(k),M.hideEta=0,S.stop(!0,!0)[x.showMethod]({duration:x.showDuration,easing:x.showEasing})}function _(){var t=(M.hideEta-(new Date).getTime())/M.maxHideTime*100;A.width(t+"%")}var x=h(),w=t.iconClass||x.iconClass;if(void 0!==t.optionsOverride&&(x=$.extend(x,t.optionsOverride),w=t.optionsOverride.iconClass||w),!function(t,e){if(t.preventDuplicates){if(e.message===b)return!0;b=e.message}return!1}(x,t)){y++,m=e(x,!0);var k=null,S=$("
"),E=$("
"),C=$("
"),A=$("
"),O=$(x.closeHtml),M={intervalId:null,hideEta:null,maxHideTime:null},T={toastId:y,state:"visible",startTime:new Date,options:x,map:t};return function(){o(),a(),s(),u(),l(),c(),i(),r()}(),function(){S.hide(),S[x.showMethod]({duration:x.showDuration,easing:x.showEasing,complete:x.onShown}),x.timeOut>0&&(k=setTimeout(f,x.timeOut),M.maxHideTime=parseFloat(x.timeOut),M.hideEta=(new Date).getTime()+M.maxHideTime,x.progressBar&&(M.intervalId=setInterval(_,10)))}(),function(){x.closeOnHover&&S.hover(v,p),!x.onclick&&x.tapToDismiss&&S.click(f),x.closeButton&&O&&O.click(function(t){t.stopPropagation?t.stopPropagation():void 0!==t.cancelBubble&&!0!==t.cancelBubble&&(t.cancelBubble=!0),x.onCloseClick&&x.onCloseClick(t),f(!0)}),x.onclick&&S.click(function(t){x.onclick(t),f()})}(),d(T),x.debug&&console&&console.log(T),S}}function h(){return $.extend({},f(),x.options)}function g(t){m||(m=e()),t.is(":visible")||(t.remove(),t=null,0===m.children().length&&(m.remove(),b=void 0))}var m,v,b,y=0,_={error:"error",info:"info",success:"success",warning:"warning"},x={clear:a,remove:s,error:t,getContainer:e,info:n,options:{},subscribe:r,success:o,version:"2.1.4",warning:i};return x}()}.apply(exports,n))&&(t.exports=r)}(e(387))},function(t,exports){t.exports=function(){throw new Error("define cannot be used indirect")}},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(1),o=n(r),i=e(8),a=n(i),s=e(6),u=n(s),l=e(3),c=n(l),f=e(7),d=n(f),p=e(4),h=n(p),g=a.default.getActions("AlarmCallbacks"),m=o.default.createStore({listenables:[g],list:function(t){var e=function(t){return u.default.error("Fetching alert notifications failed with status: "+t.message,"Could not retrieve alert notification")},n=c.default.qualifyUrl(d.default.AlarmCallbacksApiController.list(t).url),r=(0,h.default)("GET",n).then(function(t){return t.alarmcallbacks},e);g.list.promise(r)},save:function(t,e){var n=function(t){var e=t.additional&&400===t.additional.status?t.additional.body.message:t.message;u.default.error("Saving alert notification failed with status: "+e,"Could not save alert notification")},r=c.default.qualifyUrl(d.default.AlarmCallbacksApiController.create(t).url),o=(0,h.default)("POST",r,e);o.then(function(){return u.default.success("Alert notification saved successfully")},n),g.save.promise(o)},delete:function(t,e){var n=function(t){return u.default.error("Removing alert notification failed with status: "+t.message,"Could not remove alert notification")},r=c.default.qualifyUrl(d.default.AlarmCallbacksApiController.delete(t,e).url),o=(0,h.default)("DELETE",r);o.then(function(){return u.default.success("Alert notification deleted successfully")},n),g.delete.promise(o)},update:function(t,e,n){var r=function(t){var n=t.additional&&400===t.additional.status?t.additional.body.message:t.message;u.default.error("Updating alert notification '"+e+"' failed with status: "+n,"Could not update alert notification")},o=c.default.qualifyUrl(d.default.AlarmCallbacksApiController.update(t,e).url),i=(0,h.default)("PUT",o,n);i.then(function(){return u.default.success("Alert notification updated successfully")},r),g.update.promise(i)}});exports.default=m,t.exports=exports.default},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(1),o=n(r),i=e(69),a=n(i),s=e(6),u=n(s),l=e(3),c=n(l),f=e(7),d=n(f),p=e(4),h=n(p),g=e(8),m=n(g),v=m.default.getActions("AlertConditions"),b=o.default.createStore({listenables:v,init:function(){this.available()},getInitialState:function(){return{types:this.types,allAlertConditions:this.allAlertConditions}},available:function(){var t=this,e=c.default.qualifyUrl(d.default.AlertConditionsApiController.available().url),n=(0,h.default)("GET",e).then(function(e){t.types=e,t.trigger(t.getInitialState())});return v.available.promise(n),n},delete:function(t,e){var n=function(t){u.default.error("Removing Alert Condition failed with status: "+t,"Could not remove Alert Conditions")},r=c.default.qualifyUrl(d.default.StreamAlertsApiController.delete(t,e).url),o=(0,h.default)("DELETE",r).then(function(){v.listAll(),u.default.success("Condition deleted successfully")},n);return v.delete.promise(o),o},listAll:function(){var t=this,e=c.default.qualifyUrl(d.default.AlertConditionsApiController.list().url),n=(0,h.default)("GET",e).then(function(e){return t.allAlertConditions=e.conditions,t.trigger({allAlertConditions:t.allAlertConditions}),t.allAlertConditions},function(t){u.default.error("Fetching alert conditions failed with status: "+t,"Could not get alert conditions")});v.listAll.promise(n)},list:function(t){var e=this,n=function(t){u.default.error("Fetching Alert Conditions failed with status: "+t,"Could not retrieve Alert Conditions")},r=c.default.qualifyUrl(d.default.StreamAlertsApiController.list(t).url),o=(0,h.default)("GET",r).then(function(n){var r=n.conditions.map(function(e){var n=a.default.clone(e);return n.stream_id=t,n});return e.trigger({alertConditions:r}),r},n);return v.list.promise(o),o},save:function(t,e){var n=function(t){u.default.error("Saving Alert Condition failed with status: "+t,"Could not save Alert Condition")},r=c.default.qualifyUrl(d.default.StreamAlertsApiController.create(t).url),o=(0,h.default)("POST",r,e).then(function(t){return u.default.success("Condition created successfully"),t.alert_condition_id},n);return v.save.promise(o),o},update:function(t,e,n){var r=function(t){u.default.error("Saving Alert Condition failed with status: "+t,"Could not save Alert Condition")},o=c.default.qualifyUrl(d.default.StreamAlertsApiController.update(t,e).url),i=(0,h.default)("PUT",o,n).then(function(t){return u.default.success("Condition updated successfully"),t},r);return v.update.promise(i),i},get:function(t,e,n){var r=this,o=function(t){u.default.error("Fetching Alert Condition "+e+" failed with status: "+t,"Could not retrieve Alert Condition")},i=c.default.qualifyUrl(d.default.StreamAlertsApiController.get(t,e).url),a=(0,h.default)("GET",i);a.then(function(t){return r.trigger({alertCondition:t}),t},function(t){return"function"==typeof n?n(t):o(t)}),v.get.promise(a)}});exports.default=b,t.exports=exports.default},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(1),o=n(r),i=e(8),a=n(i),s=e(6),u=n(s),l=e(3),c=n(l),f=e(7),d=n(f),p=e(4),h=n(p),g=a.default.getActions("AlertNotifications"),m=o.default.createStore({listenables:[g],availableNotifications:void 0,allNotifications:void 0,getInitialState:function(){return{availableNotifications:this.availableNotifications,allNotifications:this.allNotifications}},available:function(){var t=this,e=c.default.qualifyUrl(d.default.AlarmCallbacksApiController.available().url),n=(0,h.default)("GET",e);n.then(function(e){return t.availableNotifications=e.types,t.trigger({availableNotifications:t.availableNotifications}),t.availableNotifications},function(t){u.default.error("Fetching available alert notification types failed with status: "+t.message,"Could not retrieve available alert notifications")}),g.available.promise(n)},listAll:function(){var t=this,e=c.default.qualifyUrl(d.default.AlarmCallbacksApiController.listAll().url),n=(0,h.default)("GET",e);n.then(function(e){return t.allNotifications=e.alarmcallbacks,t.trigger({allNotifications:t.allNotifications}),t.allNotifications},function(t){u.default.error("Fetching alert notifications failed with status: "+t.message,"Could not retrieve alert notifications")}),g.listAll.promise(n)},testAlert:function(t){var e=c.default.qualifyUrl(d.default.AlarmCallbacksApiController.testAlert(t).url),n=(0,h.default)("POST",e);return n.then(function(){return u.default.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;u.default.error("Sending test alert notification failed with message: "+e,"Could not send test alert notification")}),g.testAlert.promise(n),n}});exports.default=m,t.exports=exports.default},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(1),o=n(r),i=e(7),a=n(i),s=e(4),u=n(s),l=e(3),c=n(l),f=e(6),d=n(f),p=e(8),h=n(p),g=h.default.getActions("Alerts"),m=o.default.createStore({listenables:[g],list:function(t,e){var n=this,r=c.default.qualifyUrl(a.default.AlertsApiController.list(t.id,e).url),o=(0,u.default)("GET",r);o.then(function(t){return n.trigger({alerts:t})},function(e){d.default.error('Fetching alerts for stream "'+t.title+'" failed with status: '+e.message,'Could not retrieve alerts for stream "'+t.title+'".')}),g.list.promise(o)},listPaginated:function(t,e,n){var r=this,o=c.default.qualifyUrl(a.default.AlertsApiController.listPaginated(t,e,n).url),i=(0,u.default)("GET",o);i.then(function(t){return r.trigger({alerts:t})},function(t){d.default.error("Fetching alerts failed with status: "+t.message,"Could not retrieve alerts.")}),g.listPaginated.promise(i)},listAllPaginated:function(t,e,n){var r=this,o=c.default.qualifyUrl(a.default.AlertsApiController.listAllPaginated(t,e,n).url),i=(0,u.default)("GET",o);i.then(function(t){return r.trigger({alerts:t})},function(t){d.default.error("Fetching alerts failed with status: "+t.message,"Could not retrieve alerts.")}),g.listAllPaginated.promise(i)},listAllStreams:function(t){var e=this,n=c.default.qualifyUrl(a.default.AlertsApiController.listAllStreams(t).url),r=(0,u.default)("GET",n);r.then(function(t){return e.trigger({alerts:t})},function(t){d.default.error("Fetching alerts failed with status: "+t.message,"Could not retrieve alerts.")}),g.listAllStreams.promise(r)},get:function(t){var e=this,n=c.default.qualifyUrl(a.default.AlertsApiController.get(t).url),r=(0,u.default)("GET",n);r.then(function(t){return e.trigger({alert:t}),t},function(e){d.default.error("Fetching alert '"+t+"' failed with status: "+e.message,"Could not retrieve alert.")}),g.get.promise(r)}});exports.default=m,t.exports=exports.default},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(1),o=n(r),i=e(3),a=n(i),s=e(4),u=n(s),l=e(6),c=n(l),f=e(8),d=n(f),p=d.default.getActions("Authentication"),h=o.default.createStore({listenables:[p],sourceUrl:"/system/authentication/config",getInitialState:function(){return{authenticators:null}},load:function(){var t=this,e=a.default.qualifyUrl(this.sourceUrl),n=(0,u.default)("GET",e).then(function(e){return t.trigger({authenticators:e}),e},function(t){return c.default.error("Unable to load authentication configuration: "+t,"Could not load authenticators")});p.load.promise(n)},update:function(t,e){var n=this,r=a.default.qualifyUrl(this.sourceUrl);if("providers"===t){var o=(0,u.default)("PUT",r,e).then(function(t){return n.trigger({authenticators:t}),c.default.success("Configuration updated successfully"),t},function(t){return c.default.error("Unable to save authentication provider configuration: "+t,"Could not save configuration")});p.update.promise(o)}}});exports.default=h,t.exports=exports.default},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(1),o=n(r),i=e(3),a=n(i),s=e(6),u=n(s),l=e(4),c=n(l),f=e(23),d=n(f),p=d.default.getStore("Nodes"),h=d.default.getStore("SystemProcessing"),g=d.default.getStore("SystemLoadBalancer"),m=o.default.createStore({sourceUrl:"/cluster",clusterOverview:void 0,init:function(){this.cluster(),this.listenTo(h,this.cluster),this.listenTo(g,this.cluster),this.listenTo(p,this.cluster)},getInitialState:function(){return{clusterOverview:this.clusterOverview}},cluster:function(){var t=this,e=(0,c.default)("GET",a.default.qualifyUrl(this.sourceUrl));return e.then(function(e){t.clusterOverview=e,t.trigger({clusterOverview:t.clusterOverview})},function(t){return u.default.error("Getting cluster overview failed: "+t,"Could not get cluster overview")}),e},threadDump:function(t){return(0,c.default)("GET",a.default.qualifyUrl(this.sourceUrl+"/"+t+"/threaddump")).then(function(t){return t.threaddump},function(e){return u.default.error("Getting thread dump for node '"+t+"' failed: "+e,"Could not get thread dump")})},jvm:function(t){var e=(0,c.default)("GET",a.default.qualifyUrl(this.sourceUrl+"/"+t+"/jvm"));return e.catch(function(e){return u.default.error("Getting JVM information for node '"+t+"' failed: "+e,"Could not get JVM information")}),e}});exports.default=m,t.exports=exports.default},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(1),o=n(r),i=e(3),a=n(i),s=e(4),u=n(s),l=e(8),c=n(l),f=c.default.getActions("ClusterTraffic"),d=o.default.createStore({listenables:f,traffic:function(){var t=this,e=(0,u.default)("GET",a.default.qualifyUrl("/system/cluster/traffic"));return e.then(function(e){t.trigger(e)}),e}});exports.default=d,t.exports=exports.default},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(1),o=n(r),i=e(7),a=n(i),s=e(4),u=n(s),l=e(3),c=n(l),f=e(6),d=n(f),p=e(178),h=n(p),g=o.default.createStore({listenables:[h.default],codecTypes:void 0,getInitialState:function(){return{codecTypes:this.codecTypes}},list:function(){var t=this,e=(0,u.default)("GET",c.default.qualifyUrl(a.default.CodecTypesController.list().url));e.then(function(e){t.codecTypes=e,t.trigger(t.getInitialState())},function(t){d.default.error("Fetching codec types failed with status: "+t,"Could not retrieve codec types")}),h.default.list.promise(e)}});exports.default=g,t.exports=exports.default},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(1),o=n(r),i=e(3),a=n(i),s=e(4),u=n(s),l=e(7),c=n(l),f=e(8),d=n(f),p=e(23),h=n(p),g=d.default.getActions("Session"),m=d.default.getActions("ConfigurationBundles"),v=h.default.getStore("Session"),b=o.default.createStore({listenables:[m],apply:function(t){var e=(0,u.default)("POST",a.default.qualifyUrl(c.default.BundlesApiController.apply(t).url));m.apply.promise(e)},create:function(t){var e=(0,u.default)("POST",a.default.qualifyUrl(c.default.BundlesApiController.create().url),t);m.create.promise(e)},createCompleted:function(){this.list()},delete:function(t){var e=(0,u.default)("DELETE",a.default.qualifyUrl(c.default.BundlesApiController.delete(t).url));m.delete.promise(e)},deleteCompleted:function(){this.list()},export:function(t){var e=new s.Builder("POST",a.default.qualifyUrl(c.default.BundlesApiController.export().url)).authenticated().build(),n=e.type("json").accept("json").send(t).then(function(t){if(t.ok)return t.text;throw new s.FetchError(t.statusText,t)},function(t){throw 401===t.status&&g.logout(v.getSessionId()),new s.FetchError(t.statusText,t)});m.export.promise(n)},list:function(){var t=this,e=(0,u.default)("GET",a.default.qualifyUrl(c.default.BundlesApiController.list().url)).then(function(e){return t.trigger({configurationBundles:e}),e});m.list.promise(e)}});exports.default=b,t.exports=exports.default},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(1),o=n(r),i=e(3),a=n(i),s=e(4),u=n(s),l=e(6),c=n(l),f=e(8),d=n(f),p=d.default.getActions("Configuration"),h=o.default.createStore({listenables:[p],configuration:{},_url:function(t){return a.default.qualifyUrl("/system/cluster_config"+t)},list:function(t){var e=this,n=(0,u.default)("GET",this._url("/"+t));n.then(function(n){return e.configuration[t]=n,e.trigger({configuration:e.configuration}),n}),p.list.promise(n)},listSearchesClusterConfig:function(){var t=this,e=(0,u.default)("GET",this._url("/org.graylog2.indexer.searches.SearchesClusterConfig")).then(function(e){return t.trigger({searchesClusterConfig:e}),e});p.listSearchesClusterConfig.promise(e)},listMessageProcessorsConfig:function(t){var e=this,n=(0,u.default)("GET",a.default.qualifyUrl("/system/messageprocessors/config")).then(function(n){return e.configuration[t]=n,e.trigger({configuration:e.configuration}),n});p.listMessageProcessorsConfig.promise(n)},update:function(t,e){var n=this,r=(0,u.default)("PUT",this._url("/"+t),e);r.then(function(e){return n.configuration[t]=e,n.trigger({configuration:n.configuration}),c.default.success("Configuration updated successfully"),e},function(e){c.default.error("Search config update failed: "+e,"Could not update search config: "+t)}),p.update.promise(r)},updateMessageProcessorsConfig:function(t,e){var n=this,r=(0,u.default)("PUT",a.default.qualifyUrl("/system/messageprocessors/config"),e);r.then(function(e){return n.configuration[t]=e,n.trigger({configuration:n.configuration}),c.default.success("Configuration updated successfully"),e},function(e){c.default.error("Message processors config update failed: "+e,"Could not update config: "+t)}),p.updateMessageProcessorsConfig.promise(r)}});exports.default=h,t.exports=exports.default},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(1),o=n(r),i=e(3),a=n(i),s=e(4),u=n(s),l=e(7),c=n(l),f=e(68),d=n(f),p=d.default.get("Session"),h=p.SessionStore,g=p.SessionActions,m=d.default.get("Startpage"),v=m.StartpageStore,b=o.default.createStore({listenables:[g],currentUser:void 0,init:function(){this.listenTo(h,this.sessionUpdate,this.sessionUpdate),this.listenTo(v,this.reload,this.reload)},getInitialState:function(){return{currentUser:this.currentUser}},get:function(){return this.currentUser},sessionUpdate:function(t){if(t.sessionId&&t.username){var e=t.username;this.update(e)}else this.currentUser=void 0,this.trigger({currentUser:this.currentUser})},reload:function(){if(void 0!==this.currentUser)return this.update(this.currentUser.username)},update:function(t){var e=this;return(0,u.default)("GET",a.default.qualifyUrl(c.default.UsersApiController.load(encodeURIComponent(t)).url)).then(function(t){e.currentUser=t,e.trigger({currentUser:e.currentUser})})}});exports.default=b,t.exports=exports.default},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(1),o=n(r),i=e(54),a=n(i),s=e(8),u=n(s),l=e(7),c=n(l),f=e(68),d=n(f),p=e(4),h=n(p),g=e(167),m=n(g),v=e(3),b=n(v),y=e(6),_=n(y),x=d.default.get("CurrentUser"),w=x.CurrentUserStore,k=u.default.getActions("Dashboards");exports.default=o.default.createStore({listenables:[k],dashboards:void 0,writableDashboards:void 0,permissions:[],init:function(){this.listenTo(w,this.currentUserUpdated),k.list()},currentUserUpdated:function(t){t&&t.currentUser&&(this.permissions=t.currentUser.permissions,k.list())},getInitialState:function(){return{dashboards:this.dashboards,writableDashboards:this.writableDashboards}},create:function(t,e){var n=b.default.qualifyUrl(c.default.DashboardsApiController.create().url),r=(0,h.default)("POST",n,{title:t,description:e}).then(function(t){return _.default.success("Dashboard successfully created"),t.dashboard_id},function(e){_.default.error('Creating dashboard "'+t+'" failed with status: '+e,"Could not create dashboard")});return k.create.promise(r),r},createCompleted:function(){w.reload(),k.list()},delete:function(t){var e=b.default.qualifyUrl(c.default.DashboardsApiController.delete(t.id).url),n=(0,h.default)("DELETE",e);return n.then(function(){_.default.success("Dashboard successfully deleted")},function(e){_.default.error('Deleting dashboard "'+t.title+'" failed with status: '+e,"Could not delete dashboard")}),k.delete.promise(n),n},deleteCompleted:function(){k.list()},get:function(t){var e=b.default.qualifyUrl(c.default.DashboardsApiController.get(t).url),n=(0,p.fetchPeriodically)("GET",e);return n.catch(function(t){t.additional&&404!==t.additional.status&&_.default.error("Loading your dashboard failed with status: "+t.message,"Could not load your dashboard")}),k.get.promise(n),n},list:function(){var t=this,e=b.default.qualifyUrl(c.default.DashboardsApiController.index().url),n=(0,h.default)("GET",e).then(function(e){var n=a.default.List(e.dashboards),r=t.getWritableDashboardList(n,t.permissions);t.dashboards=n,t.writableDashboards=r;var o={dashboards:n,writableDashboards:r};return t.trigger(o),o},function(t){t.additional&&404===t.additional.status||_.default.error("Loading dashboard list failed with status: "+t,"Could not load dashboards")});return k.list.promise(n),n},getWritableDashboardList:function(t,e){return t.toArray().filter(function(t){return m.default.isPermitted(e,"dashboards:edit:"+t.id)})},update:function(t){var e=b.default.qualifyUrl(c.default.DashboardsApiController.update(t.id).url),n=(0,h.default)("PUT",e,{title:t.title,description:t.description});return n.then(function(){_.default.success("Dashboard successfully updated")},function(e){_.default.error('Saving dashboard "'+t.title+'" failed with status: '+e,"Could not save dashboard")}),k.update.promise(n),n},updateCompleted:function(){k.list()},updatePositions:function(t,e){var n=b.default.qualifyUrl(c.default.DashboardsApiController.updatePositions(t.id).url),r=(0,h.default)("PUT",n,{positions:e}).catch(function(e){return _.default.error('Updating widget positions for dashboard "'+t.title+'" failed with status: '+e.message,"Could not update dashboard"),e});return k.updatePositions.promise(r),r}}),t.exports=exports.default},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(1),o=n(r),i=e(3),a=n(i),s=e(7),u=n(s),l=e(4),c=n(l),f=e(8),d=n(f),p=d.default.getActions("Decorators"),h=o.default.createStore({listenables:[p],state:{},getInitialState:function(){return this.state},init:function(){p.available(),p.list()},list:function(){var t=this,e=a.default.qualifyUrl(u.default.DecoratorsResource.get().url),n=(0,c.default)("GET",e);return n.then(function(e){t.trigger({decorators:e}),t.state.decorators=e}),p.list.promise(n),n},available:function(){var t=this,e=a.default.qualifyUrl(u.default.DecoratorsResource.available().url),n=(0,c.default)("GET",e);return n.then(function(e){t.trigger({types:e}),t.state.types=e}),p.available.promise(n),n},create:function(t){var e=a.default.qualifyUrl(u.default.DecoratorsResource.create().url),n=(0,c.default)("POST",e,t);return p.create.promise(n),n},createCompleted:function(){p.list()},remove:function(t){var e=a.default.qualifyUrl(u.default.DecoratorsResource.remove(t).url),n=(0,c.default)("DELETE",e);return p.remove.promise(n),n},removeCompleted:function(){p.list()},update:function(t,e){var n=a.default.qualifyUrl(u.default.DecoratorsResource.update(t).url),r=(0,c.default)("PUT",n,e);return p.update.promise(r),r},updateCompleted:function(){p.list()}});exports.default=h,t.exports=exports.default},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(1),o=n(r),i=e(3),a=n(i),s=e(7),u=n(s),l=e(4),c=n(l),f=e(8),d=n(f),p=d.default.getActions("Deflector"),h=o.default.createStore({listenables:[p],deflector:{info:void 0},getInitialState:function(){return{deflector:this.deflector}},cycle:function(t){var e=a.default.qualifyUrl(u.default.DeflectorApiController.cycle(t).url),n=(0,c.default)("POST",e);p.cycle.promise(n)},list:function(t){var e=this,n=a.default.qualifyUrl(u.default.DeflectorApiController.list(t).url),r=(0,c.default)("GET",n).then(function(t){e.deflector.info=t,e.trigger({deflector:e.deflector})});p.list.promise(r)}});exports.default=h,t.exports=exports.default},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(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}}Object.defineProperty(exports,"__esModule",{value:!0});var o=e(1),i=n(o),a=e(7),s=n(a),u=e(4),l=n(u),c=e(8),f=n(c),d=e(267),p=n(d),h=e(77),g=n(h),m=e(3),v=n(m),b=e(6),y=n(b),_=f.default.getActions("Extractors"),x=i.default.createStore({listenables:[_],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=(0,l.default)("GET",v.default.qualifyUrl(v.default.concatURLPath(this.sourceUrl,t,"extractors")));n.then(function(t){e.extractors=t.extractors,e.trigger({extractors:e.extractors})}),_.list.promise(n)},new:function(t,e){if(-1===p.default.EXTRACTOR_TYPES.indexOf(t))throw new Error("Invalid extractor type provided: "+t);return{type:t,source_field:e,converters:[],extractor_config:{},target_field:""}},get:function(t,e){var n=this,r=(0,l.default)("GET",v.default.qualifyUrl(v.default.concatURLPath(this.sourceUrl,t,"extractors",e)));r.then(function(t){n.extractor=t,n.trigger({extractor:n.extractor})}),_.get.promise(r)},save:function(t,e){var n=void 0;n=e.id?this.update(t,e,!0):this.create(t,e,!0),_.save.promise(n)},_silentExtractorCreate:function(t,e){var n=v.default.qualifyUrl(s.default.ExtractorsController.create(t).url);return(0,l.default)("POST",n,r(e))},create:function(t,e,n){var r=this,o=this._silentExtractorCreate(t,e);return o.then(function(){y.default.success("Extractor "+e.title+" created successfully"),r.extractor&&_.get.triggerPromise(t,e.id)}).catch(function(t){y.default.error("Creating extractor failed: "+t,"Could not create extractor")}),n||_.create.promise(o),o},update:function(t,e,n){var o=this,i=v.default.qualifyUrl(s.default.ExtractorsController.update(t,e.id).url),a=(0,l.default)("PUT",i,r(e));return a.then(function(){y.default.success('Extractor "'+e.title+'" updated successfully'),o.extractor&&_.get.triggerPromise(t,e.id)}).catch(function(t){y.default.error("Updating extractor failed: "+t,"Could not update extractor")}),n||_.update.promise(a),a},delete:function(t,e){var n=this,r=v.default.qualifyUrl(s.default.ExtractorsController.delete(t,e.id).url),o=(0,l.default)("DELETE",r);o.then(function(){y.default.success('Extractor "'+e.title+'" deleted successfully'),n.extractors&&_.list.triggerPromise(t)}).catch(function(t){y.default.error("Deleting extractor failed: "+t,"Could not delete extractor "+e.title)}),_.delete.promise(o)},order:function(t,e){var n=this,r=v.default.qualifyUrl(s.default.ExtractorsController.order(t).url),o={};e.forEach(function(t,e){return o[e]=t.id});var i=(0,l.default)("POST",r,{order:o});i.then(function(){y.default.success("Extractor positions updated successfully"),n.extractors&&_.list.triggerPromise(t)}),i.catch(function(t){y.default.error("Changing extractor positions failed: "+t,"Could not update extractor positions")}),_.order.promise(i)},import:function(t,e){var n=this,r=0,o=0,i=[];e.forEach(function(e){var a=n._silentExtractorCreate(t,e);a.then(function(){return r++}).catch(function(){return o++}),i.push(a)}),g.default.settle(i).then(function(){0===o?y.default.success("Import results: "+r+" extractor(s) imported.","Import operation successful"):y.default.warning("Import results: "+r+" extractor(s) imported, "+o+" error(s).","Import operation completed")})}});exports.default=x,t.exports=exports.default},function(t,exports,e){"use strict";var $=e(14),n=e(54),r=e(187),o=e(404),i=o.generateId,a=o.FieldChart,s=e(274),u=e(6),l=function(){function t(){var t=this;this.resetStore(),this._eventsThrottle=new s,$(document).on("created.graylog.fieldgraph",function(e,n){t.saveGraph(n.graphOptions.chartid,n.graphOptions),t.combineStackedGraphs(n.graphOptions.chartid),t.renderedGraphs.add(n.graphOptions.chartid),"function"==typeof t.onFieldGraphCreated&&t.onFieldGraphCreated(n.graphOptions.chartid)}),$(document).on("failed.graylog.fieldgraph",function(e,n){u.error(n.errorMessage,"Could not create field graph"),t.deleteGraph(n.graphId)}),$(document).on("updated.graylog.fieldgraph",function(e,n){t.saveGraph(n.graphOptions.chartid,n.graphOptions)}),$(document).on("merged.graylog.fieldgraph",function(e,n){t.updateStackedGraphs(n.targetGraphId,n.draggedGraphId)}),window.addEventListener("resize",function(){t._eventsThrottle.throttle(function(){return t.redrawGraphs()})})}return t.prototype.resetStore=function(){this.renderedGraphs=n.Set(),this._fieldGraphs=n.Map(r.get("pinned-field-charts")),this._stackedGraphs=n.fromJS(r.get("stacked-graphs")||{},function(t,e){return n.Iterable.isIndexed(e)?e.toSet():e.toMap()}),a.reload()},Object.defineProperty(t.prototype,"fieldGraphs",{get:function(){return this._fieldGraphs},set:function(t){this._fieldGraphs=t,r.set("pinned-field-charts",t.toJS()),"function"==typeof this.onFieldGraphsUpdated&&this.onFieldGraphsUpdated(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"stackedGraphs",{get:function(){return this._stackedGraphs},set:function(t){this._stackedGraphs=t,r.set("stacked-graphs",t.toJS()),"function"==typeof this.onFieldGraphsMerged&&this.onFieldGraphsMerged(t)},enumerable:!0,configurable:!0}),t.prototype.combineStackedGraphs=function(t){var e=this;if(this.renderedGraphs=this.renderedGraphs.add(t),this.stackedGraphs.has(t)){this.stackedGraphs.get(t).forEach(function(n){e.renderedGraphs.has(n)&&e.stackGraphs(t,n)})}else this.stackedGraphs.forEach(function(n,r){n.has(t)&&e.renderedGraphs.has(r)&&e.stackGraphs(r,t)})},t.prototype.saveGraph=function(t,e){this.fieldGraphs=this.fieldGraphs.set(t,e)},t.prototype.deleteGraph=function(t){this.fieldGraphs.has(t)&&(this.fieldGraphs=this.fieldGraphs.delete(t),this.stackedGraphs.has(t)&&this.deleteStackedGraphs(t))},t.prototype.updateStackedGraphs=function(t,e){var r=this.stackedGraphs;if(r.has(t))r=r.set(t,r.get(t).add(e));else if(r.has(e)){var o=r.get(e);r=r.set(t,o.add(e)),r=r.delete(e)}else r=r.set(t,n.Set().add(e));this.stackedGraphs=r},t.prototype.deleteStackedGraphs=function(t){var e=this;this.stackedGraphs.get(t).forEach(function(t){return e.deleteGraph(t)}),this.stackedGraphs=this.stackedGraphs.delete(t)},t.prototype.newFieldGraph=function(t,e){var r=i(),o=n.Map(e),a=n.Map({chartid:r,field:t});this.saveGraph(r,a.merge(o).toJS())},t.prototype.renderFieldGraph=function(t,e,n){void 0===n&&(n={new:!0}),n.new?a.renderNewFieldChart(t,e):a.renderFieldChart(t,e,{newGraph:!1})},t.prototype.updateFieldGraphData=function(t,e){var n,r=t,o=this.fieldGraphs.get(t);this.stackedGraphs.some(function(e,r){if(e.has(t))return n=r,!0}),n||(n=t),a.updateFieldChartData(n,o,r,$(e))},t.prototype.stackGraphs=function(t,e){a.stackGraphs(t,e)},t.prototype.getFieldGraphAsCreateWidgetRequestParams=function(t,e){var n=this.fieldGraphs.get(t);if(void 0===n)throw'Invalid graph ID "'+t+'"';var r={valuetype:n.valuetype,renderer:n.renderer,interpolation:n.interpolation,interval:n.interval,field:n.field,query:n.query,rangeType:n.rangetype};switch(n.rangetype){case"relative":r.relative=n.range.relative;break;case"absolute":r.from=n.range.from,r.to=n.range.to;break;case"keyword":r.keyword=n.range.keyword}return r},t.prototype.getSeriesInformation=function(t){return{query:t.query,field:t.field,statistical_function:t.valuetype}},t.prototype.getStackedGraphAsCreateWidgetRequestParams=function(t,e){var n=this,r=this.fieldGraphs.get(t);if(void 0===r)throw'Invalid graph ID "'+t+'"';var o={renderer:r.renderer,interpolation:r.interpolation,interval:r.interval},i=[this.getSeriesInformation(r)];return this.stackedGraphs.get(t).forEach(function(t){var e=n.fieldGraphs.get(t);i.push(n.getSeriesInformation(e))},this),o.series=i,o},t.prototype.redrawGraphs=function(){this.fieldGraphs.forEach(function(t,e){return a.redraw(e)})},t.FUNCTIONS=n.OrderedMap({count:"Total",mean:"Mean",min:"Minimum",max:"Maximum",total:"Sum",cardinality:"Cardinality"}),t}(),c=new l;t.exports=c},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(){return Math.random().toString(36).substr(2,9)}function o(){for(var t="",e=0;e<4;e++)t+=r();return t}function i(t,e){(0,c.default)(document).trigger("failed.graylog.fieldgraph",{graphId:t,errorMessage:e})}function a(t){(0,c.default)(document).trigger("created.graylog.fieldgraph",{graphOptions:t})}function s(t){(0,c.default)(document).trigger("updated.graylog.fieldgraph",{graphOptions:t})}function u(t,e){(0,c.default)(document).trigger("merged.graylog.fieldgraph",{targetGraphId:t,draggedGraphId:e})}Object.defineProperty(exports,"__esModule",{value:!0}),exports.FieldChart=void 0,exports.generateId=o;var l=e(14),c=n(l);e(188),e(411);var f=e(35),d=n(f),p=e(118),h=n(p),g=e(122),m=n(g),v=e(284),b=(n(v),e(285)),y=(n(b),e(50)),_=n(y),x=e(280),w=n(x),k=e(3),S=n(k),E=e(4),C=n(E),A=e(7),O=n(A),M=e(6),T=n(M),D=e(87),F=n(D),P=e(91),R=n(P),I=e(23),j=n(I),N=j.default.getStore("Search"),z=exports.FieldChart={fieldGraphs:{},GRAPH_HEIGHT:120,palette:new m.default.Color.Palette({scheme:"colorwheel"}),reload:function(){this.palette=new m.default.Color.Palette({scheme:"colorwheel"})},_getDefaultOptions:function(t){var e=N.getOriginalSearchParams().toJS();switch(void 0===t.chartid&&(t.chartid=o()),void 0===t.interval&&(t.interval=e.interval||"minute"),void 0===t.interpolation&&(t.interpolation="linear"),void 0===t.renderer&&(t.renderer="bar"),void 0===t.valuetype&&(t.valuetype="count"),void 0===t.query&&(t.query=e.query),void 0===t.createdAt&&(t.createdAt=(0,d.default)().valueOf()),t.streamid=e.streamId,t.rangetype=e.range_type,t.range={},t.rangetype){case"relative":t.range.relative=e.relative;break;case"absolute":t.range.from=e.from,t.range.to=e.to;break;case"keyword":t.range.keyword=e.keyword}return t},_getTimeRangeParams:function(t){var e={};switch(t.rangetype){case"relative":e.range=t.range.relative;break;case"absolute":e.from=t.range.from,e.to=t.range.to;break;case"keyword":e.keyword=t.range.keyword}return e},_onFieldHistogramLoad:function(t,e,n,r,o){r.query.trim().length>0?(0,c.default)(".field-graph-query",t).text(r.query):(0,c.default)(".field-graph-query",t).text("*");var i=[];i.push(JSON.stringify(r)),t.attr("data-lines",i),this._updateStatisticalFunctionText(t,r);var a=(void 0!==t.data("from")&&o.from,new m.default.Graph({element:e[0],width:e.width(),height:this.GRAPH_HEIGHT,interpolation:r.interpolation,renderer:r.renderer,resolution:o.interval,series:[{name:r.chartid,data:o.values,color:"#26ADE4",gl2_query:r.query,valuetype:w.default.getReadableFieldChartStatisticalFunction(r.valuetype),field:r.field}]}));new m.default.Graph.Axis.Y({graph:a,tickFormat:m.default.Fixtures.Number.formatKMBT,orientation:"left",element:n[0],pixelsPerTick:30}),new m.default.Graph.Axis.Time({graph:a,ticksTreatment:"glow",timeFixture:new m.default.Fixtures.Graylog2Time}),new m.default.Graph.HoverDetail({graph:a,formatter:function(t,e,n){var r=''+new _.default(1e3*e).toString(_.default.Formats.COMPLETE)+"";return'['+t.valuetype+"] "+t.field+": "+(0,h.default)(n).format("0,0.[000]")+"
"+r}}),new m.default.Graph.Graylog2Selector({graph:a}),"scatterplot"===r.renderer&&(a.renderer.dotSize=2),"area"===r.renderer&&(a.renderer.stroke=!0),a.render(),this.fieldGraphs[r.chartid]=a,t.draggable({handle:".reposition-handle",cursor:"move",scope:"#field-graphs",revert:"invalid",opacity:.5,containment:(0,c.default)("#field-graphs"),axis:"y",snap:(0,c.default)(".field-graph-container"),snapMode:"inner"});var s=this;t.droppable({scope:"#field-graphs",tolerance:"intersect",activate:function(t,e){(0,c.default)("#field-graphs .merge-hint").not((0,c.default)(".merge-hint",e.draggable)).show()},deactivate:function(){(0,c.default)("#field-graphs .merge-hint").hide()},over:function(){(0,c.default)(this).css("background-color","#C7E2ED"),(0,c.default)(".merge-hint span",(0,c.default)(this)).switchClass("alpha80","merge-drop-ready")},out:function(){(0,c.default)(this).css("background-color","#fff"),(0,c.default)(".merge-hint span",(0,c.default)(this)).switchClass("merge-drop-ready","alpha80")},drop:function(t,e){var n=(0,c.default)(this).attr("data-chart-id"),r=e.draggable.attr("data-chart-id");e.draggable.hide(),(0,c.default)(this).css("background-color","#fff"),s._mergeCharts(n,r)}})},_onFieldHistogramFail:function(t,e,n){if(n.additional&&400===n.additional.status)i(e.chartid,"Field graphs are only available for numeric fields.");else{var r=(0,c.default)("
").addClass("alert").addClass("alert-warning").text("Field graph could not be loaded, please try again after reloading the page.");t.html(r);var o=n.additional?" with status "+n.additional.status:" with error: "+n.message;T.default.error("Loading field graph for '"+e.field+"' failed "+o),console.error(n)}},_chartOptionsFromContainer:function(t){try{return JSON.parse(t.attr("data-lines"))}catch(t){return this._getDefaultOptions()}},_changeGraphConfig:function(t,e,n){var r=this._chartOptionsFromContainer(t);r[e]=n,t.attr("data-lines",JSON.stringify(r)),s(r)},_insertSpinner:function(t,e){e&&(this._getGraphElement(t).hide(),this._getGraphYAxis(t).hide());var n=(0,c.default)('
');t.append(n)},_deleteSpinner:function(t,e){(0,c.default)(".spinner",t).remove(),e&&(this._getGraphElement(t).show(),this._getGraphYAxis(t).show())},_fetchData:function(t,e){var n=O.default.UniversalSearchApiController.fieldHistogram(t.rangetype,t.query||"*",t.field,t.interval,e,t.streamid,"cardinality"===t.valuetype).url;return(0,C.default)("GET",S.default.qualifyUrl(n)).then(function(e){var n={time:e.time,interval:e.interval,from:e.queried_timerange.from,to:e.queried_timerange.to};return n.values=R.default.format(e.results,e.queried_timerange,t.interval,(0,c.default)(window).width(),"relative"===t.rangetype&&0===t.range.relative,t.valuetype,!0),n})},_getGraphElement:function(t){return(0,c.default)(".field-graph",t)},_getGraphYAxis:function(t){return(0,c.default)(".field-graph-y-axis",t)},renderFieldChart:function(t,e,n){var r=this,o=n||{},i=(0,c.default)(e),s=this._getGraphElement(i),u=this._getGraphYAxis(i);o.newGraph&&this._insertSpinner(i),t=this._getDefaultOptions(t);var l=this._getTimeRangeParams(t);this._fetchData(t,l).then(function(e){s.html(""),u.html(""),u.hide(),r._onFieldHistogramLoad(i,s,u,t,e),o.newGraph&&a(t)}).catch(function(e){return r._onFieldHistogramFail(s,t,e)}).finally(function(){u.show(),o.newGraph&&r._deleteSpinner(i)})},updateFieldChartData:function(t,e,n,r){var o=this;e=this._getDefaultOptions(e);var i=this._getTimeRangeParams(e);this._insertSpinner(r,!0),this._fetchData(e,i).then(function(r){var i=o.fieldGraphs[t];if(i){var a=i.series.filter(function(t){return t.name===n})[0];a&&(a.valuetype=w.default.getReadableFieldChartStatisticalFunction(e.valuetype),a.data=r.values,i.update())}},function(t){T.default.error("Updating field graph data failed: "+t,"Could not update field graph data")}).finally(function(){o._deleteSpinner(r,!0)})},_updateStatisticalFunctionText:function(t,e){(0,c.default)(".type-description",t).text("["+w.default.getReadableFieldChartStatisticalFunction(e.valuetype)+"] "+e.field+", ")},renderNewFieldChart:function(t,e){this.renderFieldChart(t,e,{newGraph:!0})},changeInterpolation:function(t,e){var n=this._chartOptionsFromContainer(t);this._changeGraphConfig(t,"interpolation",e);var r=this.fieldGraphs[n.chartid];r.interpolation=e,r.render()},changeRenderer:function(t,e){var n=this._chartOptionsFromContainer(t);this._changeGraphConfig(t,"renderer",e);var r=this.fieldGraphs[n.chartid];r.setRenderer(e),"scatterplot"===e&&(r.renderer.dotSize=2),"area"===e&&(r.renderer.stroke=!0),r.renderer.unstack=!0,r.render()},changeResolution:function(t,e){var n=this._chartOptionsFromContainer(t);n.interval=e,this._changeGraphConfig(t,"interval",e),this.updateFieldChartData(n.chartid,n,n.chartid,t)},changeStatisticalFunction:function(t,e){var n=this._chartOptionsFromContainer(t);n.valuetype=e,this._changeGraphConfig(t,"valuetype",e),this.updateFieldChartData(n.chartid,n,n.chartid,t),this._updateStatisticalFunctionText(t,n)},_mergeCharts:function(t,e){for(var n=this.fieldGraphs[t],r=this.fieldGraphs[e],o=(0,c.default)(".field-graph-container[data-chart-id='"+t+"']"),i=0;i
['+F.default.escapeHTML(s.valuetype)+"] "+s.field+', Query: '+F.default.escapeHTML(l)+"";(0,c.default)("ul.field-graph-query-container",o).append("
  • "+f+"
  • ");var d={name:s.name,color:a,gl2_query:l,valuetype:s.valuetype,field:s.field};d.data=s.data,n.series.push(d)}n.renderer.unstack=!0,u(t,e),n.update(),n.render()},stackGraphs:function(t,e){this._mergeCharts(t,e),(0,c.default)('.field-graph-container[data-chart-id="'+e+'"]').hide()},redraw:function(t){var e=this.fieldGraphs[t];if(e){var n=(0,c.default)('.field-graph-container[data-chart-id="'+t+'"]'),r=(0,c.default)(".field-graph",n);e.configure({width:r.width()}),e.render()}}};(0,c.default)(document).on("click",".field-graph-container ul.renderer-selector li a",function(t){t.preventDefault();var e=(0,c.default)(this).closest(".field-graph-container"),n=(0,c.default)(this).attr("data-type");z.changeRenderer(e,n)}),(0,c.default)(document).on("click",".field-graph-container ul.interpolation-selector li a",function(t){t.preventDefault();var e=(0,c.default)(this).closest(".field-graph-container"),n=(0,c.default)(this).attr("data-type");z.changeInterpolation(e,n)}),(0,c.default)(document).on("click",".field-graph-container ul.interval-selector li a",function(t){t.preventDefault();var e=(0,c.default)(this).closest(".field-graph-container"),n=(0,c.default)(this).attr("data-type");z.changeResolution(e,n)}),(0,c.default)(document).on("click",".field-graph-container ul.valuetype-selector li a",function(t){t.preventDefault();var e=(0,c.default)(this).closest(".field-graph-container"),n=(0,c.default)(this).attr("data-type");z.changeStatisticalFunction(e,n)})},function(t,exports,e){var n,r,o;!function(i){r=[e(14),e(31)],n=i,void 0!==(o="function"==typeof n?n.apply(exports,r):n)&&(t.exports=o)}(function($){return $.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase())})},function(t,exports,e){var n,r,o;/*! * jQuery UI :data 1.12.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license */ !function(i){r=[e(14),e(31)],n=i,void 0!==(o="function"==typeof n?n.apply(exports,r):n)&&(t.exports=o)}(function($){return $.extend($.expr[":"],{data:$.expr.createPseudo?$.expr.createPseudo(function(t){return function(e){return!!$.data(e,t)}}):function(t,e,n){return!!$.data(t,n[3])}})})},function(t,exports,e){var n,r,o;!function(i){r=[e(14),e(31)],n=i,void 0!==(o="function"==typeof n?n.apply(exports,r):n)&&(t.exports=o)}(function($){return $.ui.plugin={add:function(t,e,n){var r,o=$.ui[t].prototype;for(r in n)o.plugins[r]=o.plugins[r]||[],o.plugins[r].push([e,n[r]])},call:function(t,e,n,r){var o,i=t.plugins[e];if(i&&(r||t.element[0].parentNode&&11!==t.element[0].parentNode.nodeType))for(o=0;o=e&&t=c&&a<=d||u>=c&&u<=d||ad)&&(i>=l&&i<=f||s>=l&&s<=f||if);default:return!1}}}();return $.ui.ddmanager={current:null,droppables:{default:[]},prepareOffsets:function(t,e){var n,r,o=$.ui.ddmanager.droppables[t.options.scope]||[],i=e?e.type:null,a=(t.currentItem||t.element).find(":data(ui-droppable)").addBack();t:for(n=0;nt?0:r.max")[0],p=t.each;d.style.cssText="background-color:rgba(1,1,1,.5)",f.rgba=d.style.backgroundColor.indexOf("rgba")>-1,p(l,function(t,e){e.cache="_"+t,e.props.alpha={idx:3,type:"percent",def:1}}),u.fn=t.extend(u.prototype,{parse:function(e,o,a,s){if(void 0===e)return this._rgba=[null,null,null,null],this;(e.jquery||e.nodeType)&&(e=t(e).css(o),o=void 0);var c=this,f=t.type(e),d=this._rgba=[];return void 0!==o&&(e=[e,o,a,s],f="array"),"string"===f?this.parse(r(e)||i._default):"array"===f?(p(l.rgba.props,function(t,r){d[r.idx]=n(e[r.idx],r)}),this):"object"===f?(e instanceof u?p(l,function(t,n){e[n.cache]&&(c[n.cache]=e[n.cache].slice())}):p(l,function(r,o){var i=o.cache;p(o.props,function(t,r){if(!c[i]&&o.to){if("alpha"===t||null==e[t])return;c[i]=o.to(c._rgba)}c[i][r.idx]=n(e[t],r,!0)}),c[i]&&t.inArray(null,c[i].slice(0,3))<0&&(c[i][3]=1,o.from&&(c._rgba=o.from(c[i])))}),this):void 0},is:function(t){var e=u(t),n=!0,r=this;return p(l,function(t,o){var i,a=e[o.cache];return a&&(i=r[o.cache]||o.to&&o.to(r._rgba)||[],p(o.props,function(t,e){if(null!=a[e.idx])return n=a[e.idx]===i[e.idx]})),n}),n},_space:function(){var t=[],e=this;return p(l,function(n,r){e[r.cache]&&t.push(n)}),t.pop()},transition:function(t,e){var r=u(t),o=r._space(),i=l[o],a=0===this.alpha()?u("transparent"):this,s=a[i.cache]||i.to(a._rgba),f=s.slice();return r=r[i.cache],p(i.props,function(t,o){var i=o.idx,a=s[i],u=r[i],l=c[o.type]||{};null!==u&&(null===a?f[i]=u:(l.mod&&(u-a>l.mod/2?a+=l.mod:a-u>l.mod/2&&(a-=l.mod)),f[i]=n((u-a)*e+a,o)))}),this[o](f)},blend:function(e){if(1===this._rgba[3])return this;var n=this._rgba.slice(),r=n.pop(),o=u(e)._rgba;return u(t.map(n,function(t,e){return(1-r)*o[e]+r*t}))},toRgbaString:function(){var e="rgba(",n=t.map(this._rgba,function(t,e){return null==t?e>2?1:0:t});return 1===n[3]&&(n.pop(),e="rgb("),e+n.join()+")"},toHslaString:function(){var e="hsla(",n=t.map(this.hsla(),function(t,e){return null==t&&(t=e>2?1:0),e&&e<3&&(t=Math.round(100*t)+"%"),t});return 1===n[3]&&(n.pop(),e="hsl("),e+n.join()+")"},toHexString:function(e){var n=this._rgba.slice(),r=n.pop();return e&&n.push(~~(255*r)),"#"+t.map(n,function(t){return t=(t||0).toString(16),1===t.length?"0"+t:t}).join("")},toString:function(){return 0===this._rgba[3]?"transparent":this.toRgbaString()}}),u.fn.parse.prototype=u.fn,l.hsla.to=function(t){if(null==t[0]||null==t[1]||null==t[2])return[null,null,null,t[3]];var e,n,r=t[0]/255,o=t[1]/255,i=t[2]/255,a=t[3],s=Math.max(r,o,i),u=Math.min(r,o,i),l=s-u,c=s+u,f=.5*c;return e=u===s?0:r===s?60*(o-i)/l+360:o===s?60*(i-r)/l+120:60*(r-o)/l+240,n=0===l?0:f<=.5?l/c:l/(2-c),[Math.round(e)%360,n,f,null==a?1:a]},l.hsla.from=function(t){if(null==t[0]||null==t[1]||null==t[2])return[null,null,null,t[3]];var e=t[0]/360,n=t[1],r=t[2],i=t[3],a=r<=.5?r*(1+n):r+n-r*n,s=2*r-a;return[Math.round(255*o(s,a,e+1/3)),Math.round(255*o(s,a,e)),Math.round(255*o(s,a,e-1/3)),i]},p(l,function(e,r){var o=r.props,i=r.cache,s=r.to,l=r.from;u.fn[e]=function(e){if(s&&!this[i]&&(this[i]=s(this._rgba)),void 0===e)return this[i].slice();var r,a=t.type(e),c="array"===a||"object"===a?e:arguments,f=this[i].slice();return p(o,function(t,e){var r=c["object"===a?t:e.idx];null==r&&(r=f[e.idx]),f[e.idx]=n(r,e)}),l?(r=u(l(f)),r[i]=f,r):u(f)},p(o,function(n,r){u.fn[n]||(u.fn[n]=function(o){var i,s=t.type(o),u="alpha"===n?this._hsla?"hsla":"rgba":e,l=this[u](),c=l[r.idx];return"undefined"===s?c:("function"===s&&(o=o.call(this,c),s=t.type(o)),null==o&&r.empty?this:("string"===s&&(i=a.exec(o))&&(o=c+parseFloat(i[2])*("+"===i[1]?1:-1)),l[r.idx]=o,this[u](l)))})})}),u.hook=function(e){var n=e.split(" ");p(n,function(e,n){t.cssHooks[n]={set:function(e,o){var i,a,s="";if("transparent"!==o&&("string"!==t.type(o)||(i=r(o)))){if(o=u(i||o),!f.rgba&&1!==o._rgba[3]){for(a="backgroundColor"===n?e.parentNode:e;(""===s||"transparent"===s)&&a&&a.style;)try{s=t.css(a,"backgroundColor"),a=a.parentNode}catch(t){}o=o.blend(s&&"transparent"!==s?s:"_default")}o=o.toRgbaString()}try{e.style[n]=o}catch(t){}}},t.fx.step[n]=function(e){e.colorInit||(e.start=u(e.elem,n),e.end=u(e.end),e.colorInit=!0),t.cssHooks[n].set(e.elem,e.start.transition(e.end,e.pos))}})},u.hook("backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor"),t.cssHooks.borderColor={expand:function(t){var e={};return p(["Top","Right","Bottom","Left"],function(n,r){e["border"+r+"Color"]=t}),e}},i=t.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"}}(e),function(){function t(t){var e,n,r=t.ownerDocument.defaultView?t.ownerDocument.defaultView.getComputedStyle(t,null):t.currentStyle,o={};if(r&&r.length&&r[0]&&r[r[0]])for(n=r.length;n--;)e=r[n],"string"==typeof r[e]&&(o[$.camelCase(e)]=r[e]);else for(e in r)"string"==typeof r[e]&&(o[e]=r[e]);return o}function n(t,e){var n,r,i={};for(n in e)r=e[n],t[n]!==r&&(o[n]||!$.fx.step[n]&&isNaN(parseFloat(r))||(i[n]=r));return i}var r=["add","remove","toggle"],o={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};$.each(["borderLeftStyle","borderRightStyle","borderBottomStyle","borderTopStyle"],function(t,n){$.fx.step[n]=function(t){("none"!==t.end&&!t.setAttr||1===t.pos&&!t.setAttr)&&(e.style(t.elem,n,t.end),t.setAttr=!0)}}),$.fn.addBack||($.fn.addBack=function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}),$.effects.animateClass=function(e,o,i,a){var s=$.speed(o,i,a);return this.queue(function(){var o,i=$(this),a=i.attr("class")||"",u=s.children?i.find("*").addBack():i;u=u.map(function(){return{el:$(this),start:t(this)}}),o=function(){$.each(r,function(t,n){e[n]&&i[n+"Class"](e[n])})},o(),u=u.map(function(){return this.end=t(this.el[0]),this.diff=n(this.start,this.end),this}),i.attr("class",a),u=u.map(function(){var t=this,e=$.Deferred(),n=$.extend({},s,{queue:!1,complete:function(){e.resolve(t)}});return this.el.animate(this.diff,n),e.promise()}),$.when.apply($,u.get()).done(function(){o(),$.each(arguments,function(){var t=this.el;$.each(this.diff,function(e){t.css(e,"")})}),s.complete.call(i[0])})})},$.fn.extend({addClass:function(t){return function(e,n,r,o){return n?$.effects.animateClass.call(this,{add:e},n,r,o):t.apply(this,arguments)}}($.fn.addClass),removeClass:function(t){return function(e,n,r,o){return arguments.length>1?$.effects.animateClass.call(this,{remove:e},n,r,o):t.apply(this,arguments)}}($.fn.removeClass),toggleClass:function(t){return function(e,n,r,o,i){return"boolean"==typeof n||void 0===n?r?$.effects.animateClass.call(this,n?{add:e}:{remove:e},r,o,i):t.apply(this,arguments):$.effects.animateClass.call(this,{toggle:e},n,r,o)}}($.fn.toggleClass),switchClass:function(t,e,n,r,o){return $.effects.animateClass.call(this,{add:e,remove:t},n,r,o)}})}(),function(){function e(t,e,n,r){return $.isPlainObject(t)&&(e=t,t=t.effect),t={effect:t},null==e&&(e={}),$.isFunction(e)&&(r=e,n=null,e={}),("number"==typeof e||$.fx.speeds[e])&&(r=n,n=e,e={}),$.isFunction(n)&&(r=n,n=null),e&&$.extend(t,e),n=n||e.duration,t.duration=$.fx.off?0:"number"==typeof n?n:n in $.fx.speeds?$.fx.speeds[n]:$.fx.speeds._default,t.complete=r||e.complete,t}function n(t){return!(t&&"number"!=typeof t&&!$.fx.speeds[t])||("string"==typeof t&&!$.effects.effect[t]||(!!$.isFunction(t)||"object"==typeof t&&!t.effect))}function r(t,e){var n=e.outerWidth(),r=e.outerHeight(),o=/^rect\((-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto)\)$/,i=o.exec(t)||["",0,n,r,0];return{top:parseFloat(i[1])||0,right:"auto"===i[2]?n:parseFloat(i[2]),bottom:"auto"===i[3]?r:parseFloat(i[3]),left:parseFloat(i[4])||0}}$.expr&&$.expr.filters&&$.expr.filters.animated&&($.expr.filters.animated=function(e){return function(n){return!!$(n).data(t)||e(n)}}($.expr.filters.animated)),!1!==$.uiBackCompat&&$.extend($.effects,{save:function(t,e){for(var n=0,r=e.length;n
    ").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),r={width:t.width(),height:t.height()},o=document.activeElement;try{o.id}catch(t){o=document.body}return t.wrap(n),(t[0]===o||$.contains(t[0],o))&&$(o).trigger("focus"),n=t.parent(),"static"===t.css("position")?(n.css({position:"relative"}),t.css({position:"relative"})):($.extend(e,{position:t.css("position"),zIndex:t.css("z-index")}),$.each(["top","left","bottom","right"],function(n,r){e[r]=t.css(r),isNaN(parseInt(e[r],10))&&(e[r]="auto")}),t.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),t.css(r),n.css(e).show()},removeWrapper:function(t){var e=document.activeElement;return t.parent().is(".ui-effects-wrapper")&&(t.parent().replaceWith(t),(t[0]===e||$.contains(t[0],e))&&$(e).trigger("focus")),t}}),$.extend($.effects,{version:"1.12.1",define:function(t,e,n){return n||(n=e,e="effect"),$.effects.effect[t]=n,$.effects.effect[t].mode=e,n},scaledDimensions:function(t,e,n){if(0===e)return{height:0,width:0,outerHeight:0,outerWidth:0};var r="horizontal"!==n?(e||100)/100:1,o="vertical"!==n?(e||100)/100:1;return{height:t.height()*o,width:t.width()*r,outerHeight:t.outerHeight()*o,outerWidth:t.outerWidth()*r}},clipToBox:function(t){return{width:t.clip.right-t.clip.left,height:t.clip.bottom-t.clip.top,left:t.clip.left,top:t.clip.top}},unshift:function(t,e,n){var r=t.queue();e>1&&r.splice.apply(r,[1,0].concat(r.splice(e,n))),t.dequeue()},saveStyle:function(t){t.data("ui-effects-style",t[0].style.cssText)},restoreStyle:function(t){t[0].style.cssText=t.data("ui-effects-style")||"",t.removeData("ui-effects-style")},mode:function(t,e){var n=t.is(":hidden");return"toggle"===e&&(e=n?"show":"hide"),(n?"hide"===e:"show"===e)&&(e="none"),e},getBaseline:function(t,e){var n,r;switch(t[0]){case"top":n=0;break;case"middle":n=.5;break;case"bottom":n=1;break;default:n=t[0]/e.height}switch(t[1]){case"left":r=0;break;case"center":r=.5;break;case"right":r=1;break;default:r=t[1]/e.width}return{x:r,y:n}},createPlaceholder:function(t){var e,n=t.css("position"),r=t.position();return t.css({marginTop:t.css("marginTop"),marginBottom:t.css("marginBottom"),marginLeft:t.css("marginLeft"),marginRight:t.css("marginRight")}).outerWidth(t.outerWidth()).outerHeight(t.outerHeight()),/^(static|relative)/.test(n)&&(n="absolute",e=$("<"+t[0].nodeName+">").insertAfter(t).css({display:/^(inline|ruby)/.test(t.css("display"))?"inline-block":"block",visibility:"hidden",marginTop:t.css("marginTop"),marginBottom:t.css("marginBottom"),marginLeft:t.css("marginLeft"),marginRight:t.css("marginRight"),float:t.css("float")}).outerWidth(t.outerWidth()).outerHeight(t.outerHeight()).addClass("ui-effects-placeholder"),t.data("ui-effects-placeholder",e)),t.css({position:n,left:r.left,top:r.top}),e},removePlaceholder:function(t){var e="ui-effects-placeholder",n=t.data(e);n&&(n.remove(),t.removeData(e))},cleanUp:function(t){$.effects.restoreStyle(t),$.effects.removePlaceholder(t)},setTransition:function(t,e,n,r){return r=r||{},$.each(e,function(e,o){var i=t.cssUnit(o);i[0]>0&&(r[o]=i[0]*n+i[1])}),r}}),$.fn.extend({effect:function(){function n(e){function n(){s.removeData(t),$.effects.cleanUp(s),"hide"===r.mode&&s.hide(),a()}function a(){$.isFunction(u)&&u.call(s[0]),$.isFunction(e)&&e()}var s=$(this);r.mode=c.shift(),!1===$.uiBackCompat||i?"none"===r.mode?(s[l](),a()):o.call(s[0],r,n):(s.is(":hidden")?"hide"===l:"show"===l)?(s[l](),a()):o.call(s[0],r,a)}var r=e.apply(this,arguments),o=$.effects.effect[r.effect],i=o.mode,a=r.queue,s=a||"fx",u=r.complete,l=r.mode,c=[],f=function(e){var n=$(this),r=$.effects.mode(n,l)||i;n.data(t,!0),c.push(r),i&&("show"===r||r===i&&"hide"===r)&&n.show(),i&&"none"===r||$.effects.saveStyle(n),$.isFunction(e)&&e()};return $.fx.off||!o?l?this[l](r.duration,u):this.each(function(){u&&u.call(this)}):!1===a?this.each(f).each(n):this.queue(s,f).queue(s,n)},show:function(t){return function(r){if(n(r))return t.apply(this,arguments);var o=e.apply(this,arguments);return o.mode="show",this.effect.call(this,o)}}($.fn.show),hide:function(t){return function(r){if(n(r))return t.apply(this,arguments);var o=e.apply(this,arguments);return o.mode="hide",this.effect.call(this,o)}}($.fn.hide),toggle:function(t){return function(r){if(n(r)||"boolean"==typeof r)return t.apply(this,arguments);var o=e.apply(this,arguments);return o.mode="toggle",this.effect.call(this,o)}}($.fn.toggle),cssUnit:function(t){var e=this.css(t),n=[];return $.each(["em","px","%","pt"],function(t,r){e.indexOf(r)>0&&(n=[parseFloat(e),r])}),n},cssClip:function(t){return t?this.css("clip","rect("+t.top+"px "+t.right+"px "+t.bottom+"px "+t.left+"px)"):r(this.css("clip"),this)},transfer:function(t,e){var n=$(this),r=$(t.to),o="fixed"===r.css("position"),i=$("body"),a=o?i.scrollTop():0,s=o?i.scrollLeft():0,u=r.offset(),l={top:u.top-a,left:u.left-s,height:r.innerHeight(),width:r.innerWidth()},c=n.offset(),f=$("
    ").appendTo("body").addClass(t.className).css({top:c.top-a,left:c.left-s,height:n.innerHeight(),width:n.innerWidth(),position:o?"fixed":"absolute"}).animate(l,t.duration,t.easing,function(){f.remove(),$.isFunction(e)&&e()})}}),$.fx.step.clip=function(t){t.clipInit||(t.start=$(t.elem).cssClip(),"string"==typeof t.end&&(t.end=r(t.end,t.elem)),t.clipInit=!0),$(t.elem).cssClip({top:t.pos*(t.end.top-t.start.top)+t.start.top,right:t.pos*(t.end.right-t.start.right)+t.start.right,bottom:t.pos*(t.end.bottom-t.start.bottom)+t.start.bottom,left:t.pos*(t.end.left-t.start.left)+t.start.left})}}(),function(){var t={};$.each(["Quad","Cubic","Quart","Quint","Expo"],function(e,n){t[n]=function(t){return Math.pow(t,e+2)}}),$.extend(t,{Sine:function(t){return 1-Math.cos(t*Math.PI/2)},Circ:function(t){return 1-Math.sqrt(1-t*t)},Elastic:function(t){return 0===t||1===t?t:-Math.pow(2,8*(t-1))*Math.sin((80*(t-1)-7.5)*Math.PI/15)},Back:function(t){return t*t*(3*t-2)},Bounce:function(t){for(var e,n=4;t<((e=Math.pow(2,--n))-1)/11;);return 1/Math.pow(4,3-n)-7.5625*Math.pow((3*e-2)/22-t,2)}}),$.each(t,function(t,e){$.easing["easeIn"+t]=e,$.easing["easeOut"+t]=function(t){return 1-e(1-t)},$.easing["easeInOut"+t]=function(t){return t<.5?e(2*t)/2:1-e(-2*t+2)/2}})}(),$.effects})},function(t,exports){!function(exports){function t(t){return t}function e(t,e){for(var n=0,r=e.length,o=new Array(r);n>>1;t(e[i])>>1;n>>1);--i>0;)r(t,i,o,e);return t}function n(t,e,n){for(var o,i=n-e;--i>0;)o=t[e],t[e]=t[e+i],t[e+i]=o,r(t,1,i,e);return t}function r(e,n,r,o){for(var i,a=e[--o+n],s=t(a);(i=n<<1)<=r&&(it(e[o+i+1])&&i++,!(s<=t(e[o+i])));)e[o+n]=e[o+i],n=i;e[o+n]=a}return e.sort=n,e}function o(t){function e(e,r,o,i){var a,s,u,l=new Array(i=Math.min(o-r,i));for(s=0;sa&&(l[0]=u,a=t(n(l,0,i)[0]))}while(++rn&&t(e[i-1])>s;--i)e[i]=e[i-1];e[i]=a}return e}return e}function a(t){function e(t,e,o){return(o-e>1,c=l-a,f=l+a,d=n[s],p=t(d),h=n[c],g=t(h),m=n[l],v=t(m),b=n[f],y=t(b),_=n[u],x=t(_);p>g&&(i=d,d=h,h=i,i=p,p=g,g=i),y>x&&(i=b,b=_,_=i,i=y,y=x,x=i),p>v&&(i=d,d=m,m=i,i=p,p=v,v=i),g>v&&(i=h,h=m,m=i,i=g,g=v,v=i),p>y&&(i=d,d=b,b=i,i=p,p=y,y=i),v>y&&(i=m,m=b,b=i,i=v,v=y,y=i),g>x&&(i=h,h=_,_=i,i=g,g=x,x=i),g>v&&(i=h,h=m,m=i,i=g,g=v,v=i),y>x&&(i=b,b=_,_=i,i=y,y=x,x=i);var w=h,k=g,S=b,E=y;n[s]=d,n[c]=n[r],n[l]=m,n[f]=n[o-1],n[u]=_;var C=r+1,A=o-2,O=k<=E&&k>=E;if(O)for(var M=C;M<=A;++M){var T=n[M],D=t(T);if(Dk)for(;;){var F=t(n[A]);{if(!(F>k)){if(FE)for(;;){var F=t(n[A]);{if(!(F>E)){Fu){for(var P,F;(P=t(n[C]))<=k&&P>=k;)++C;for(;(F=t(n[A]))<=E&&F>=E;)--A;for(var M=C;M<=A;M++){var T=n[M],D=t(T);if(D<=k&&D>=k)M!==C&&(n[M]=n[C],n[C]=T),C++;else if(D<=E&&D>=E)for(;;){var F=t(n[A]);{if(!(F<=E&&F>=E)){F32)throw new Error("invalid array width!");return t}function c(t,e){return function(n){var r=n.length;return[t.left(n,e,0,r),t.right(n,e,0,r)]}}function f(t,e){var n=e[0],r=e[1];return function(e){var o=e.length;return[t.left(e,n,0,o),t.left(e,r,0,o)]}}function d(t){return[0,t.length]}function p(){return null}function h(){return 0}function g(t){return t+1}function m(t){return t-1}function v(t){return function(e,n){return e+ +t(n)}}function b(t){return function(e,n){return e-t(n)}}function y(){function n(t){var e=C,n=t.length;return n&&(S=S.concat(t),D=O(D,C+=n),P.forEach(function(r){r(t,e,n)})),y}function i(){for(var t=_(C,C),e=[],n=0,r=0;nr;)D[--C]=0}function s(n){function i(t,r,o){W=t.map(n),Y=J(x(o),0,o),W=e(W,Y);var i,a=tt(W),s=a[0],u=a[1];if(K)for(i=0;irt)for(r=rt,o=Math.min(e,ot);rot)for(r=Math.max(e,ot),o=n;r=rt&&t>0;)D[e=V[r]]||(n.push(S[e]),--t);return n}function U(t){for(var e,n=[],r=rt;r0;)D[e=V[r]]||(n.push(S[e]),--t),r++;return n}function q(e){function n(t,n,r,o){function i(){++W===H&&(b=M(b,B<<=1),j=M(j,B),H=w(B))}var c,f,d,h,g,m,v=I,b=_(W,H),y=L,x=q,k=W,E=0,A=0;for(Q&&(y=x=p),I=new Array(W),W=0,j=k>1?O(j,C):_(C,H),k&&(d=(f=v[0]).key);A=h);)++A;for(;Am||(j[c=n[A]+r]=W,D[c]&Z||(g.value=y(g.value,S[c])),++A>=o));)h=e(t[A]);i()}for(;EE)for(E=0;E1?(Y=a,K=u):(!W&&J&&(W=1,I=[{key:null,value:x()}]),1===W?(Y=s,K=l):(Y=p,K=p),j=null),F[c]=Y}function i(){if(W>1){for(var t=W,e=I,n=_(t,t),r=0,o=0;r1)for(var r=0;r1?(K=u,Y=a):1===W?(K=l,Y=s):K=Y=p}else if(1===W){if(J)return;for(var r=0;r=0&&F.splice(t,1),t=et.indexOf(n),t>=0&&et.splice(t,1),t=R.indexOf(i),t>=0&&R.splice(t,1),P}var P={top:f,all:c,reduce:d,reduceCount:y,reduceSum:x,order:k,orderNatural:E,size:A,dispose:T,remove:T};nt.push(P);var I,j,N,z,L,U,q,B=8,H=w(B),W=0,Y=p,K=p,Q=!0,J=e===p;return arguments.length<1&&(e=t),F.push(Y),et.push(n),R.push(i),n(G,V,0,C),y().orderNatural()}function B(){var t=q(p),e=t.all;return delete t.all,delete t.top,delete t.order,delete t.orderNatural,delete t.size,t.value=function(){return e()[0].value},t}function H(){nt.forEach(function(t){t.dispose()});var t=P.indexOf(i);return t>=0&&P.splice(t,1),t=P.indexOf(s),t>=0&&P.splice(t,1),t=R.indexOf(u),t>=0&&R.splice(t,1),A&=Z,j()}var G,V,W,Y,K,Q={filter:y,filterExact:E,filterRange:I,filterFunction:N,filterAll:j,top:L,bottom:U,group:q,groupAll:B,dispose:H,remove:H},X=~A&-~A,Z=~X,J=a(function(t){return W[t]}),tt=d,et=[],nt=[],rt=0,ot=0;return P.unshift(i),P.push(s),R.push(u),A|=X,(T>=32?!X:A&-(1<=0&&F.splice(n),n=P.indexOf(t),n>=0&&P.splice(n),d}var u,l,c,f,d={reduce:r,reduceCount:o,reduceSum:i,value:a,dispose:s,remove:s},p=!0;return F.push(e),P.push(t),t(S,0,C),o()}function l(){return C}var y={add:n,remove:i,dimension:s,groupAll:u,size:l},S=[],C=0,A=0,T=8,D=E(0),F=[],P=[],R=[];return arguments.length?n(arguments[0]):y}function _(t,e){return(e<257?E:e<65537?C:A)(t)}function x(t){for(var e=_(t,t),n=-1;++n=e)return t;var n=new t.constructor(e);return n.set(t),n},M=function(t,e){var n;switch(e){case 16:n=C(t.length);break;case 32:n=A(t.length);break;default:throw new Error("invalid array width!")}return n.set(t),n}),exports.crossfilter=y}(void 0!==exports&&exports||this)},function(t,exports,e){t.exports=e(415).crossfilter},function(t,exports){!function(exports){function t(t){return t}function e(t,e){for(var n=0,r=e.length,o=new Array(r);n>>1;t(e[i])>>1;n>>1);--i>0;)r(t,i,o,e);return t}function n(t,e,n){for(var o,i=n-e;--i>0;)o=t[e],t[e]=t[e+i],t[e+i]=o,r(t,1,i,e);return t}function r(e,n,r,o){for(var i,a=e[--o+n],s=t(a);(i=n<<1)<=r&&(it(e[o+i+1])&&i++,!(s<=t(e[o+i])));)e[o+n]=e[o+i],n=i;e[o+n]=a}return e.sort=n,e}function o(t){function e(e,r,o,i){var a,s,u,l=new Array(i=Math.min(o-r,i));for(s=0;sa&&(l[0]=u,a=t(n(l,0,i)[0]))}while(++rn&&t(e[i-1])>s;--i)e[i]=e[i-1];e[i]=a}return e}return e}function a(t){function e(t,e,o){return(o-e>1,c=l-a,f=l+a,d=n[s],p=t(d),h=n[c],g=t(h),m=n[l],v=t(m),b=n[f],y=t(b),_=n[u],x=t(_);p>g&&(i=d,d=h,h=i,i=p,p=g,g=i),y>x&&(i=b,b=_,_=i,i=y,y=x,x=i),p>v&&(i=d,d=m,m=i,i=p,p=v,v=i),g>v&&(i=h,h=m,m=i,i=g,g=v,v=i),p>y&&(i=d,d=b,b=i,i=p,p=y,y=i),v>y&&(i=m,m=b,b=i,i=v,v=y,y=i),g>x&&(i=h,h=_,_=i,i=g,g=x,x=i),g>v&&(i=h,h=m,m=i,i=g,g=v,v=i),y>x&&(i=b,b=_,_=i,i=y,y=x,x=i);var w=h,k=g,S=b,E=y;n[s]=d,n[c]=n[r],n[l]=m,n[f]=n[o-1],n[u]=_;var C=r+1,A=o-2,O=k<=E&&k>=E;if(O)for(var M=C;M<=A;++M){var T=n[M],D=t(T);if(Dk)for(;;){var F=t(n[A]);{if(!(F>k)){if(FE)for(;;){var F=t(n[A]);{if(!(F>E)){Fu){for(var P,F;(P=t(n[C]))<=k&&P>=k;)++C;for(;(F=t(n[A]))<=E&&F>=E;)--A;for(var M=C;M<=A;M++){var T=n[M],D=t(T);if(D<=k&&D>=k)M!==C&&(n[M]=n[C],n[C]=T),C++;else if(D<=E&&D>=E)for(;;){var F=t(n[A]);{if(!(F<=E&&F>=E)){F32)throw new Error("invalid array width!");return t}function c(t,e){return function(n){var r=n.length;return[t.left(n,e,0,r),t.right(n,e,0,r)]}}function f(t,e){var n=e[0],r=e[1];return function(e){var o=e.length;return[t.left(e,n,0,o),t.left(e,r,0,o)]}}function d(t){return[0,t.length]}function p(){return null}function h(){return 0}function g(t){return t+1}function m(t){return t-1}function v(t){return function(e,n){return e+ +t(n)}}function b(t){return function(e,n){return e-t(n)}}function y(){function n(t){var e=C,n=t.length;return n&&(S=S.concat(t),D=O(D,C+=n),P.forEach(function(r){r(t,e,n)})),y}function i(){for(var t=_(C,C),e=[],n=0,r=0;nr;)D[--C]=0}function s(n){function i(t,r,o){W=t.map(n),Y=J(x(o),0,o),W=e(W,Y);var i,a=tt(W),s=a[0],u=a[1];if(K)for(i=0;irt)for(r=rt,o=Math.min(e,ot);rot)for(r=Math.max(e,ot),o=n;r=rt&&t>0;)D[e=V[r]]||(n.push(S[e]),--t);return n}function U(t){for(var e,n=[],r=rt;r0;)D[e=V[r]]||(n.push(S[e]),--t),r++;return n}function q(e){function n(t,n,r,o){function i(){++W===H&&(b=M(b,B<<=1),j=M(j,B),H=w(B))}var c,f,d,h,g,m,v=I,b=_(W,H),y=L,x=q,k=W,E=0,A=0;for(Q&&(y=x=p),I=new Array(W),W=0,j=k>1?O(j,C):_(C,H),k&&(d=(f=v[0]).key);A=h);)++A;for(;Am||(j[c=n[A]+r]=W,D[c]&Z||(g.value=y(g.value,S[c])),++A>=o));)h=e(t[A]);i()}for(;EE)for(E=0;E1?(Y=a,K=u):(!W&&J&&(W=1,I=[{key:null,value:x()}]),1===W?(Y=s,K=l):(Y=p,K=p),j=null),F[c]=Y}function i(){if(W>1){for(var t=W,e=I,n=_(t,t),r=0,o=0;r1)for(var r=0;r1?(K=u,Y=a):1===W?(K=l,Y=s):K=Y=p}else if(1===W){if(J)return;for(var r=0;r=0&&F.splice(t,1),t=et.indexOf(n),t>=0&&et.splice(t,1),t=R.indexOf(i),t>=0&&R.splice(t,1),P}var P={top:f,all:c,reduce:d,reduceCount:y,reduceSum:x,order:k,orderNatural:E,size:A,dispose:T,remove:T};nt.push(P);var I,j,N,z,L,U,q,B=8,H=w(B),W=0,Y=p,K=p,Q=!0,J=e===p;return arguments.length<1&&(e=t),F.push(Y),et.push(n),R.push(i),n(G,V,0,C),y().orderNatural()}function B(){var t=q(p),e=t.all;return delete t.all,delete t.top,delete t.order,delete t.orderNatural,delete t.size,t.value=function(){return e()[0].value},t}function H(){nt.forEach(function(t){t.dispose()});var t=P.indexOf(i);return t>=0&&P.splice(t,1),t=P.indexOf(s),t>=0&&P.splice(t,1),t=R.indexOf(u),t>=0&&R.splice(t,1),A&=Z,j()}var G,V,W,Y,K,Q={filter:y,filterExact:E,filterRange:I,filterFunction:N,filterAll:j,top:L,bottom:U,group:q,groupAll:B,dispose:H,remove:H},X=~A&-~A,Z=~X,J=a(function(t){return W[t]}),tt=d,et=[],nt=[],rt=0,ot=0;return P.unshift(i),P.push(s),R.push(u),A|=X,(T>=32?!X:A&-(1<=0&&F.splice(n),n=P.indexOf(t),n>=0&&P.splice(n),d}var u,l,c,f,d={reduce:r,reduceCount:o,reduceSum:i,value:a,dispose:s,remove:s},p=!0;return F.push(e),P.push(t),t(S,0,C),o()}function l(){return C}var y={add:n,remove:i,dimension:s,groupAll:u,size:l},S=[],C=0,A=0,T=8,D=E(0),F=[],P=[],R=[];return arguments.length?n(arguments[0]):y}function _(t,e){return(e<257?E:e<65537?C:A)(t)}function x(t){for(var e=_(t,t),n=-1;++n=e)return t;var n=new t.constructor(e);return n.set(t),n},M=function(t,e){var n;switch(e){case 16:n=C(t.length);break;case 32:n=A(t.length);break;default:throw new Error("invalid array width!")}return n.set(t),n}),exports.crossfilter=y}(void 0!==exports&&exports||this)},function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=e(35),r=function(t){return t&&t.__esModule?t:{default:t}}(n),o={startOfResolution:function(t,e){var n=e;return"week"===e&&(n="isoWeek"),(0,r.default)(t).startOf(n)}};exports.default=o,t.exports=exports.default},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(1),o=n(r),i=e(3),a=n(i),s=e(7),u=n(s),l=e(4),c=n(l),f=e(6),d=n(f),p=e(68),h=n(p),g=h.default.get("Search"),m=g.SearchStore,v=h.default.get("FieldQuickValues"),b=v.FieldQuickValuesActions,y=o.default.createStore({listenables:[b],get:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.order,o=n.tableSize,i=n.stackedFields;this.trigger({loading:!0});var s=m.getOriginalSearchURLParams(),l=m.searchInStream?m.searchInStream.id:null,f=s.get("rangetype"),p={};switch(f){case"relative":p.range=s.get("relative");break;case"absolute":p.from=s.get("from"),p.to=s.get("to");break;case"keyword":p.keyword=s.get("keyword")}var h=u.default.UniversalSearchApiController.fieldTerms(f,s.get("q")||"*",t,r,o,i,p,l).url,g=(0,c.default)("GET",a.default.qualifyUrl(h));g.then(function(t){e.trigger({data:t,loading:!1})},function(t){d.default.error("Loading quick values failed with status: "+t,"Could not load quick values")}),b.get.promise(g)},getHistogram:function(t,e){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=r.order,i=r.limit,s=r.stackedFields,l=r.interval;this.trigger({loading:!0});var f=m.getOriginalSearchURLParams(),p=m.searchInStream?m.searchInStream.id:null,h=f.get("rangetype"),g={};switch(h){case"relative":g.range=f.get("relative");break;case"absolute":g.from=f.get("from"),g.to=f.get("to");break;case"keyword":g.keyword=f.get("keyword")}var v=m.appendFieldQueryObjectToQueryString(f.get("q")||"*",e,m.AND_OPERATOR),y=u.default.UniversalSearchApiController.fieldTermsHistogram(h,v,t,o,i,s,g,l,p).url,_=(0,c.default)("GET",a.default.qualifyUrl(y));_.then(function(t){n.trigger({data:t,loading:!1})},function(t){d.default.error("Loading quick values histogram failed with status: "+t,"Could not load quick values histogram")}),b.getHistogram.promise(_)}});exports.default=y,t.exports=exports.default},function(t,exports,e){"use strict";var n=e(7),r=e(4).default,o=e(6),i=e(3),a={loadFields:function(){var t=n.SystemApiController.fields().url,e=r("GET",i.qualifyUrl(t));return e=e.then(function(t){return t.fields}),e.catch(function(t){o.error("Loading field information failed with status: "+t.additional.message,"Could not load field information")}),e}};t.exports=a},function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=e(4).default,r=e(54),o=e(7),i=e(3),a=e(6),s=e(23),u=s.getStore("Search"),l={FUNCTIONS:r.OrderedMap({count:"Total",mean:"Mean",min:"Minimum",max:"Maximum",std_deviation:"Std. deviation",variance:"Variance",sum:"Sum",cardinality:"Cardinality"}),getFieldStatistics:function(t){var e=u.getOriginalSearchURLParams(),r=u.searchInStream?u.searchInStream.id:null,s=e.get("rangetype"),l={};switch(s){case"relative":l.range=e.get("relative");break;case"absolute":l.from=e.get("from"),l.to=e.get("to");break;case"keyword":l.keyword=e.get("keyword")}var c=o.UniversalSearchApiController.fieldStats(s,e.get("q")||"*",t,l,r).url;c=i.qualifyUrl(c);var f=n("GET",c);return f.catch(function(t){a.error("Loading field statistics failed with status: "+t,"Could not load field statistics")}),f}};t.exports=l},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(1),o=n(r),i=e(14),a=n(i),s=o.default.createStore({focus:!0,init:function(){var t=this;(0,a.default)(window).blur(function(){t.trigger({focus:!1}),t.focus=!1}),(0,a.default)(window).focus(function(){t.trigger({focus:!0}),t.focus=!0})},getInitialState:function(){return{focus:this.focus}}});exports.default=s,t.exports=exports.default},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(1),o=n(r),i=e(4),a=n(i),s=e(8),u=n(s),l=e(6),c=n(l),f=e(3),d=n(f),p=u.default.getActions("GettingStarted"),h=o.default.createStore({listenables:[p],sourceUrl:"/system/gettingstarted",status:void 0,init:function(){this.getStatus()},getInitialState:function(){return{status:this.status}},get:function(){return this.status},getStatus:function(){var t=this,e=(0,a.default)("GET",d.default.qualifyUrl(this.sourceUrl));e.then(function(e){return t.status=e,t.trigger({status:t.status}),e},function(t){return console.error(t)}),p.getStatus.promise(e)},dismiss:function(){var t=this,e=(0,a.default)("POST",d.default.qualifyUrl(this.sourceUrl+"/dismiss"),"{}");e.then(function(e){return t.getStatus(),e},function(t){c.default.error("Dismissing Getting Started Guide failed with status: "+t,"Could not dismiss guide")}),p.dismiss.promise(e)}});exports.default=h,t.exports=exports.default},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(1),o=n(r),i=e(23),a=n(i),s=e(8),u=n(s),l=a.default.getStore("Metrics"),c=u.default.getActions("Metrics"),f=o.default.createStore({listenables:[],metrics:{input:"org.graylog2.throughput.input.1-sec-rate",output:"org.graylog2.throughput.output.1-sec-rate"},init:function(){c.addGlobal(this.metrics.input),c.addGlobal(this.metrics.output),this.listenTo(l,this.updateMetrics),setInterval(c.list,this.INTERVAL)},INTERVAL:2e3,updateMetrics:function(t){var e=this;if(t.metrics){var n={input:0,output:0};Object.keys(t.metrics).forEach(function(r){var o=t.metrics[r][e.metrics.input],i=t.metrics[r][e.metrics.output];o&&(n.input+=o.metric.value),i&&(n.output+=i.metric.value)}),this.trigger({throughput:n})}}});exports.default=f,t.exports=exports.default},function(t,exports,e){"use strict";var n=e(6),r=e(3),o=e(4).default,i=e(4).fetchPlainText,a={URL:r.qualifyUrl("/system/grok"),loadPatterns:function(t){var e=function(t){n.error("Loading Grok patterns failed with status: "+t.message,"Could not load Grok patterns")};o("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},e)},savePattern:function(t,e){var r,i=function(e){n.error('Saving Grok pattern "'+t.name+'" failed with status: '+e.message,"Could not save Grok pattern")},a={id:t.id,pattern:t.pattern,name:t.name,content_pack:t.content_pack},s=this.URL;""===t.id?r="POST":(s+="/"+t.id,r="PUT"),o(r,s,a).then(function(r){e();var o=""===t.id?"created":"updated",i='Grok pattern "'+t.name+'" successfully '+o;return n.success(i),r},i)},deletePattern:function(t,e){var r=function(e){n.error('Deleting Grok pattern "'+t.name+'" failed with status: '+e.message,"Could not delete Grok pattern")};o("DELETE",this.URL+"/"+t.id).then(function(r){return e(),n.success('Grok pattern "'+t.name+'" successfully deleted'),r},r)},bulkImport:function(t,e){var r=function(t){n.error("Importing Grok pattern file failed with status: "+t.message,"Could not load Grok patterns")},o=i("POST",this.URL+"?replace="+e,t);return o.catch(r),o}};t.exports=a},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(1),o=n(r),i=e(3),a=n(i),s=e(4),u=n(s),l=e(6),c=n(l),f=e(88),d=n(f),p=e(91),h=n(p),g=e(8),m=n(g),v=m.default.getActions("HistogramData"),b=o.default.createStore({listenables:[v],sourceUrl:"/search/universal/relative/histogram",histogram:void 0,getInitialState:function(){return{histogram:this.histogram}},load:function(t,e,n){var r=(0,d.default)(a.default.qualifyUrl(this.sourceUrl)),o={};void 0!==e&&e instanceof Array?o.query=e.map(function(t){return"source:"+t}).join(" OR "):o.query="*";var i="minute",s=Number(t);s>=31536e3||0===s?i="day":s>=2678400&&(i="hour"),o.range=t,o.interval=i,r.query(o);var l=(0,u.default)("GET",r.toString()).then(function(t){return t.histogram=h.default.format(t.results,t.queried_timerange,i,n,0===s,null),t},function(t){c.default.warning("Loading of histogram data failed with status: "+t,"Could not load histogram data")});v.load.promise(l)}});exports.default=b,t.exports=exports.default},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(1),o=n(r),i=e(3),a=n(i),s=e(7),u=n(s),l=e(4),c=n(l),f=e(8),d=n(f),p=d.default.getActions("IndexerCluster"),h=o.default.createStore({listenables:[p],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=a.default.qualifyUrl(u.default.IndexerClusterApiController.health().url),e=(0,c.default)("GET",t);return p.health.promise(e),e},name:function(){var t=a.default.qualifyUrl(u.default.IndexerClusterApiController.name().url),e=(0,c.default)("GET",t);return p.name.promise(e),e}});exports.default=h,t.exports=exports.default},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(1),o=n(r),i=e(35),a=n(i),s=e(6),u=(n(s),e(3)),l=n(u),c=e(7),f=n(c),d=e(4),p=n(d),h=o.default.createStore({listenables:[],list:function(t,e){var n=l.default.qualifyUrl(f.default.IndexerFailuresApiController.list(t,e).url);return(0,p.default)("GET",n)},count:function(t){var e=t.format?t:(0,a.default)(t),n=e.format("YYYY-MM-DDTHH:mm:ss.SSS"),r=l.default.qualifyUrl(f.default.IndexerFailuresApiController.count(n).url);return(0,p.default)("GET",r)}});exports.default=h,t.exports=exports.default},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(1),o=n(r),i=e(3),a=n(i),s=e(7),u=n(s),l=e(4),c=n(l),f=e(8),d=n(f),p=d.default.getActions("IndexerOverview"),h=o.default.createStore({listenables:[p],list:function(t){var e=this,n=a.default.qualifyUrl(u.default.IndexerOverviewApiResource.list(t).url),r=(0,c.default)("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})}}),p.list.promise(r),r}});exports.default=h,t.exports=exports.default},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(1),o=n(r),i=e(6),a=n(i),s=e(3),u=n(s),l=e(7),c=n(l),f=e(4),d=n(f),p=e(8),h=n(p),g=h.default.getActions("IndexRanges"),m=o.default.createStore({listenables:[g],indexRanges:void 0,getInitialState:function(){return{indexRanges:this.indexRanges}},init:function(){g.list()},list:function(){var t=this,e=u.default.qualifyUrl(c.default.IndexRangesApiController.list().url),n=(0,d.default)("GET",e).then(function(e){t.indexRanges=e.ranges,t.trigger(t.getInitialState())});g.list.promise(n)},recalculate:function(t){var e=u.default.qualifyUrl(c.default.IndexRangesApiController.rebuild(t).url),n=(0,d.default)("POST",e);n.then(a.default.success("Index ranges will be recalculated shortly")).catch(function(t){a.default.error("Could not create a job to start index ranges recalculation, reason: "+t,"Error starting index ranges recalculation")}),g.recalculate.promise(n)},recalculateIndex:function(t){var e=u.default.qualifyUrl(c.default.IndexRangesApiController.rebuildSingle(t).url),n=(0,d.default)("POST",e);n.then(a.default.success("Index ranges for "+t+" will be recalculated shortly")).catch(function(e){a.default.error("Could not create a job to start index ranges recalculation for "+t+", reason: "+e,"Error starting index ranges recalculation for "+t)}),g.recalculateIndex.promise(n)}});exports.default=m,t.exports=exports.default},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(1),o=n(r),i=e(7),a=n(i),s=e(4),u=n(s),l=e(3),c=n(l),f=e(6),d=n(f),p=e(8),h=n(p),g=h.default.getActions("IndexSets"),m=o.default.createStore({listenables:[g],list:function(t){var e=this,n=c.default.qualifyUrl(a.default.IndexSetsApiController.list(t).url),r=(0,u.default)("GET",n);r.then(function(t){return e.trigger({indexSetsCount:t.total,indexSets:t.index_sets,indexSetStats:t.stats})},function(t){d.default.error("Fetching index sets list failed: "+t.message,"Could not retrieve index sets.")}),g.list.promise(r)},listPaginated:function(t,e,n){var r=this,o=c.default.qualifyUrl(a.default.IndexSetsApiController.listPaginated(t,e,n).url),i=(0,u.default)("GET",o);i.then(function(t){return r.trigger({indexSetsCount:t.total,indexSets:t.index_sets,indexSetStats:t.stats})},function(t){d.default.error("Fetching index sets list failed: "+r._errorMessage(t),"Could not retrieve index sets.")}),g.listPaginated.promise(i)},get:function(t){var e=this,n=c.default.qualifyUrl(a.default.IndexSetsApiController.get(t).url),r=(0,u.default)("GET",n);r.then(function(t){return e.trigger({indexSet:t}),t},function(n){d.default.error("Fetching index set '"+t+"' failed with status: "+e._errorMessage(n),"Could not retrieve index set.")}),g.get.promise(r)},update:function(t){var e=this,n=c.default.qualifyUrl(a.default.IndexSetsApiController.get(t.id).url),r=(0,u.default)("PUT",n,t);r.then(function(n){return d.default.success("Successfully updated index set '"+t.title+"'","Success"),e.trigger({indexSet:n}),n},function(n){d.default.error("Updating index set '"+t.title+"' failed with status: "+e._errorMessage(n),"Could not update index set.")}),g.update.promise(r)},create:function(t){var e=this,n=c.default.qualifyUrl(a.default.IndexSetsApiController.create().url),r=(0,u.default)("POST",n,t);r.then(function(n){return d.default.success("Successfully created index set '"+t.title+"'","Success"),e.trigger({indexSet:n}),n},function(n){d.default.error("Creating index set '"+t.title+"' failed with status: "+e._errorMessage(n),"Could not create index set.")}),g.create.promise(r)},delete:function(t,e){var n=this,r=c.default.qualifyUrl(a.default.IndexSetsApiController.delete(t.id,e).url),o=(0,u.default)("DELETE",r);o.then(function(){d.default.success("Successfully deleted index set '"+t.title+"'","Success")},function(e){d.default.error("Deleting index set '"+t.title+"' failed with status: "+n._errorMessage(e),"Could not delete index set.")}),g.delete.promise(o)},setDefault:function(t){var e=this,n=c.default.qualifyUrl(a.default.IndexSetsApiController.setDefault(t.id).url),r=(0,u.default)("PUT",n);r.then(function(){d.default.success("Successfully set index set '"+t.title+"' as default","Success")},function(n){d.default.error("Setting index set '"+t.title+"' as default failed with status: "+e._errorMessage(n),"Could not set default index set.")}),g.setDefault.promise(r)},stats:function(){var t=this,e=c.default.qualifyUrl(a.default.IndexSetsApiController.stats().url),n=(0,u.default)("GET",e);n.then(function(e){return t.trigger({globalIndexSetStats:{indices:e.indices,documents:e.documents,size:e.size}})},function(t){d.default.error("Fetching global index stats failed: "+t.message,"Could not retrieve global index stats.")}),g.stats.promise(n)},_errorMessage:function(t){try{return t.additional.body.message}catch(e){return t.message}}});exports.default=m,t.exports=exports.default},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(1),o=n(r),i=e(3),a=n(i),s=e(7),u=n(s),l=e(4),c=n(l),f=e(8),d=n(f),p=d.default.getActions("Indices"),h=o.default.createStore({listenables:[p],indices:void 0,closedIndices:void 0,registrations:{},getInitialState:function(){return{indices:this.indices,closedIndices:this.closedIndices}},list:function(t){var e=this,n=a.default.qualifyUrl(u.default.IndicesApiController.list(t).url),r=(0,c.default)("GET",n).then(function(t){return e.indices=t.all.indices,e.closedIndices=t.closed.indices,e.trigger({indices:e.indices,closedIndices:e.closedIndices}),{indices:e.indices,closedIndices:e.closedIndices}});p.list.promise(r)},listAll:function(){var t=this,e=a.default.qualifyUrl(u.default.IndicesApiController.listAll().url),n=(0,c.default)("GET",e).then(function(e){return t.indices=e.all.indices,t.closedIndices=e.closed.indices,t.trigger({indices:t.indices,closedIndices:t.closedIndices}),{indices:t.indices,closedIndices:t.closedIndices}});p.listAll.promise(n)},multiple:function(){var t=this,e=Object.keys(this.registrations);if(!(e.length<=0)){var n=a.default.qualifyUrl(u.default.IndicesApiController.multiple().url),r={indices:e},o=(0,c.default)("POST",n,r).then(function(e){return t.indices?Object.keys(e).forEach(function(n){t.indices[n]=e[n]}):t.indices=e,t.trigger({indices:t.indices,closedIndices:t.closedIndices}),{indices:t.indices,closedIndices:t.closedIndices}});p.multiple.promise(o)}},close:function(t){var e=a.default.qualifyUrl(u.default.IndicesApiController.close(t).url),n=(0,c.default)("POST",e);p.close.promise(n)},delete:function(t){var e=a.default.qualifyUrl(u.default.IndicesApiController.delete(t).url),n=(0,c.default)("DELETE",e);p.delete.promise(n)},reopen:function(t){var e=a.default.qualifyUrl(u.default.IndicesApiController.reopen(t).url),n=(0,c.default)("POST",e);p.reopen.promise(n)},subscribe:function(t){this.registrations[t]=this.registrations[t]?this.registrations[t]+1:1},unsubscribe:function(t){this.registrations[t]=this.registrations[t]>0?this.registrations[t]-1:0,0===this.registrations[t]&&delete this.registrations[t]}});exports.default=h,t.exports=exports.default},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(1),o=n(r),i=e(6),a=n(i),s=e(3),u=n(s),l=e(4),c=n(l),f=e(8),d=n(f),p=d.default.getActions("IndicesConfiguration"),h=o.default.createStore({listenables:[p],rotationStrategies:void 0,retentionStrategies:void 0,getInitialState:function(){return{activeRotationConfig:void 0,rotationStrategies:void 0,activeRetentionConfig:void 0,retentionStrategies:void 0}},_url:function(t){return u.default.qualifyUrl("/system/indices"+t)},loadRotationStrategies:function(){var t=this,e=(0,c.default)("GET",this._url("/rotation/strategies"));e.then(function(e){t.rotationStrategies=e.strategies,t.trigger({rotationStrategies:e.strategies})},function(t){a.default.error("Fetching rotation strategies failed: "+t,"Could not retrieve rotation strategies")}),p.loadRotationStrategies.promise(e)},loadRetentionStrategies:function(){var t=this,e=(0,c.default)("GET",this._url("/retention/strategies"));e.then(function(e){t.retentionStrategies=e.strategies,t.trigger({retentionStrategies:e.strategies})},function(t){a.default.error("Fetching retention strategies failed: "+t,"Could not retrieve retention strategies")}),p.loadRetentionStrategies.promise(e)}});exports.default=h,t.exports=exports.default},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(1),o=n(r),i=e(3),a=n(i),s=e(4),u=n(s),l=e(6),c=n(l),f=e(23),d=n(f),p=e(8),h=n(p),g=d.default.getStore("InputStaticFields"),m=h.default.getActions("Inputs"),v=o.default.createStore({listenables:[m],sourceUrl:"/system/inputs",inputs:void 0,input:void 0,init:function(){this.trigger({inputs:this.inputs,input:this.input}),this.listenTo(g,this.list)},list:function(){var t=this,e=(0,u.default)("GET",a.default.qualifyUrl(this.sourceUrl));e.then(function(e){return t.inputs=e.inputs,t.trigger({inputs:t.inputs}),t.inputs},function(t){c.default.error("Fetching Inputs failed with status: "+t,"Could not retrieve Inputs")}),m.list.promise(e)},get:function(t){return this.getOptional(t,!0)},getOptional:function(t,e){var n=this,r=(0,u.default)("GET",a.default.qualifyUrl(this.sourceUrl+"/"+t));r.then(function(t){return n.input=t,n.trigger({input:n.input}),n.input},function(r){e?c.default.error("Fetching input "+t+" failed with status: "+r,"Could not retrieve input"):n.trigger({input:{}})}),m.get.promise(r)},create:function(t){var e=(0,u.default)("POST",a.default.qualifyUrl(this.sourceUrl),t);e.then(function(){c.default.success("Input '"+t.title+"' launched successfully"),m.list()},function(e){c.default.error("Launching input '"+t.title+"' failed with status: "+e,"Could not launch input")}),m.create.promise(e)},delete:function(t){var e=t.id,n=t.title,r=(0,u.default)("DELETE",a.default.qualifyUrl(this.sourceUrl+"/"+e));r.then(function(){c.default.success("Input '"+n+"' deleted successfully"),m.list()},function(t){c.default.error("Deleting input '"+n+"' failed with status: "+t,"Could not delete input")}),m.delete.promise(r)},update:function(t,e){var n=(0,u.default)("PUT",a.default.qualifyUrl(this.sourceUrl+"/"+t),e);n.then(function(){c.default.success("Input '"+e.title+"' updated successfully"),m.list()},function(t){c.default.error("Updating input '"+e.title+"' failed with status: "+t,"Could not update input")}),m.update.promise(n)}});v.inputsAsMap=function(t){var e={};return t.forEach(function(t){e[t.id]=t}),e},exports.default=v,t.exports=exports.default},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(1),o=n(r),i=e(6),a=n(i),s=e(3),u=n(s),l=e(7),c=n(l),f=e(4),d=n(f),p=o.default.createStore({listenables:[],init:function(){this.list()},getInitialState:function(){return{inputStates:this.inputStates}},list:function(){var t=this,e=u.default.qualifyUrl(c.default.ClusterInputStatesController.list().url);return(0,d.default)("GET",e).then(function(e){var n={};return Object.keys(e).forEach(function(t){e[t]&&e[t].forEach(function(e){n[e.id]||(n[e.id]={}),n[e.id][t]=e})}),t.inputStates=n,t.trigger({inputStates:t.inputStates}),n})},_checkInputStateChangeResponse:function(t,e,n){var r=Object.keys(e).filter(function(e){return!!t.global||e===t.node}),o=r.filter(function(t){return null===e[t]});0===o.length?a.default.success("Request to "+n.toLowerCase()+" input '"+t.title+"' was sent successfully.","Input '"+t.title+"' will be "+("START"===n?"started":"stopped")+" shortly"):o.length===r.length?a.default.error("Request to "+n.toLowerCase()+" input '"+t.title+"' failed. Check your Graylog logs for more information.","Input '"+t.title+"' could not be "+("START"===n?"started":"stopped")):a.default.warning("Request to "+n.toLowerCase()+" input '"+t.title+"' failed in some nodes. Check your Graylog logs for more information.","Input '"+t.title+"' could not be "+("START"===n?"started":"stopped")+" in all nodes")},start:function(t){var e=this,n=u.default.qualifyUrl(c.default.ClusterInputStatesController.start(t.id).url);return(0,d.default)("PUT",n).then(function(n){return e._checkInputStateChangeResponse(t,n,"START"),e.list(),n},function(e){a.default.error("Error starting input '"+t.title+"': "+e,"Input '"+t.title+"' could not be started")})},stop:function(t){var e=this,n=u.default.qualifyUrl(c.default.ClusterInputStatesController.stop(t.id).url);return(0,d.default)("DELETE",n).then(function(n){return e._checkInputStateChangeResponse(t,n,"STOP"),e.list(),n},function(e){a.default.error("Error stopping input '"+t.title+"': "+e,"Input '"+t.title+"' could not be stopped")})}});exports.default=p,t.exports=exports.default},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(1),o=n(r),i=e(6),a=n(i),s=e(3),u=n(s),l=e(7),c=(n(l),e(4)),f=n(c),d=o.default.createStore({listenables:[],sourceUrl:function(t){return"/system/inputs/"+t+"/staticfields"},create:function(t,e,n){var r=this,o=u.default.qualifyUrl(this.sourceUrl(t.id)),i=(0,f.default)("POST",o,{key:e,value:n});return i.then(function(n){return r.trigger({}),a.default.success("Static field '"+e+"' added to '"+t.title+"' successfully"),n},function(e){a.default.error("Adding static field to input failed with: "+e,"Could not add static field to input '"+t.title+"'")}),i},destroy:function(t,e){var n=this,r=u.default.qualifyUrl(this.sourceUrl(t.id)+"/"+e),o=(0,f.default)("DELETE",r);return o.then(function(r){return n.trigger({}),a.default.success("Static field '"+e+"' removed from '"+t.title+"' successfully"),r},function(n){a.default.error("Removing static field from input failed with: "+n,"Could not remove static field '"+e+" from input '"+t.title+"'")}),o}});exports.default=d,t.exports=exports.default},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(1),o=n(r),i=e(3),a=n(i),s=e(4),u=n(s),l=e(6),c=n(l),f=e(8),d=n(f),p=d.default.getActions("InputTypes"),h=o.default.createStore({listenables:[p],sourceUrl:"/system/inputs/types",inputTypes:void 0,inputDescriptions:void 0,init:function(){this.list()},getInitialState:function(){return{inputTypes:this.inputTypes,inputDescriptions:this.inputDescriptions}},list:function(){var t=this,e=(0,u.default)("GET",a.default.qualifyUrl(this.sourceUrl)),n=(0,u.default)("GET",a.default.qualifyUrl(this.sourceUrl+"/all")),r=Promise.all([e,n]);r.then(function(e){t.inputTypes=e[0].types,t.inputDescriptions=e[1],t.trigger(t.getInitialState())},function(t){c.default.error("Fetching Input Types failed with status: "+t,"Could not retrieve Inputs")}),p.list.promise(r)},get:function(t){var e=(0,u.default)("GET",a.default.qualifyUrl(this.sourceUrl+"/"+t));e.catch(function(e){c.default.error("Fetching input "+t+" failed with status: "+e,"Could not retrieve input")}),p.get.promise(e)}});exports.default=h,t.exports=exports.default},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(1),o=n(r),i=e(3),a=n(i),s=e(6),u=n(s),l=e(4),c=n(l),f=o.default.createStore({sourceUrl:function(t){return"/cluster/"+t+"/journal"},get:function(t){var e=(0,c.default)("GET",a.default.qualifyUrl(this.sourceUrl(t)));return e.catch(function(e){u.default.error("Getting journal information on node "+t+" failed: "+e,"Could not get journal information")}),e}});exports.default=f,t.exports=exports.default},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(1),o=n(r),i=e(3),a=n(i),s=e(6),u=n(s),l=e(4),c=n(l),f=e(8),d=n(f),p=d.default.getActions("LdapGroups"),h=o.default.createStore({listenables:[p],sourceUrl:"/system/ldap",groups:void 0,mapping:void 0,getInitialState:function(){return{groups:this.groups,mapping:this.mapping}},loadGroups:function(){var t=this,e=a.default.qualifyUrl(this.sourceUrl+"/groups"),n=(0,c.default)("GET",e);n.then(function(e){t.groups=e,t.trigger({groups:t.groups})},function(t){400!==t.additional.status&&u.default.error("Loading LDAP group list failed with status: "+t,"Could not load LDAP group list")}),p.loadGroups.promise(n)},loadMapping:function(){var t=this,e=a.default.qualifyUrl(this.sourceUrl+"/settings/groups"),n=(0,c.default)("GET",e);n.then(function(e){t.mapping=e,t.trigger({mapping:t.mapping})},function(t){u.default.error("Loading LDAP group mapping failed with status: "+t,"Could not load LDAP group mapping")}),p.loadMapping.promise(n)},saveMapping:function(t){var e=this,n=a.default.qualifyUrl(this.sourceUrl+"/settings/groups"),r=(0,c.default)("PUT",n,t);r.then(function(){e.loadMapping(),u.default.success("LDAP group mapping successfully updated.")},function(t){u.default.error("Updating LDAP group mapping failed with status: "+t,"Could not update LDAP group mapping")}),p.saveMapping.promise(r)}});exports.default=h,t.exports=exports.default},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(1),o=n(r),i=e(3),a=n(i),s=e(6),u=n(s),l=e(4),c=n(l),f=e(8),d=n(f),p=d.default.getActions("Ldap"),h=o.default.createStore({listenables:[p],sourceUrl:"/system/ldap/",ldapSettings:void 0,getInitialState:function(){return{ldapSettings:this.ldapSettings}},loadSettings:function(){var t=this,e=a.default.qualifyUrl(this.sourceUrl+"/settings"),n=(0,c.default)("GET",e);n.then(function(e){t.ldapSettings=e,t.trigger({ldapSettings:e})}),p.loadSettings.promise(n)},update:function(t){var e=this,n=a.default.qualifyUrl(this.sourceUrl+"/settings"),r=(0,c.default)("PUT",n,t);r.then(function(){e.loadSettings(),u.default.success("LDAP settings saved successfully")},function(t){return u.default.error("Saving LDAP settings failed: "+t,"Could not save LDAP settings")}),p.update.promise(r)},_ldapTest:function(t){var e=a.default.qualifyUrl(this.sourceUrl+"/test");return(0,c.default)("POST",e,t)},testServerConnection:function(t){var e={test_connect_only:!0,ldap_uri:t.ldap_uri,system_username:t.system_username,system_password:t.system_password,use_start_tls:t.use_start_tls,trust_all_certificates:t.trust_all_certificates,active_directory:t.active_directory},n=this._ldapTest(e);p.testServerConnection.promise(n)},testLogin:function(t,e,n){var r={test_connect_only:!1,principal:e,password:n,ldap_uri:t.ldap_uri,system_username:t.system_username,system_password:t.system_password,use_start_tls:t.use_start_tls,trust_all_certificates:t.trust_all_certificates,active_directory:t.active_directory,search_base:t.search_base,search_pattern:t.search_pattern,group_search_base:t.group_search_base,group_id_attribute:t.group_id_attribute,group_search_pattern:t.group_search_pattern},o=this._ldapTest(r);p.testLogin.promise(o)}});exports.default=h,t.exports=exports.default},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(1),o=n(r),i=e(3),a=n(i),s=e(7),u=n(s),l=e(4),c=n(l),f=e(8),d=n(f),p=d.default.getActions("Loggers"),h=o.default.createStore({listenables:[p],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=a.default.qualifyUrl(u.default.ClusterLoggersResource.loggers().url),n=(0,c.default)("GET",e).then(function(e){return t.state.loggers=e,t.trigger(t.state),e});p.loggers.promise(n)},subsystems:function(){var t=this,e=a.default.qualifyUrl(u.default.ClusterLoggersResource.subsystems().url),n=(0,c.default)("GET",e).then(function(e){return t.state.subsystems=e,t.trigger(t.state),e});p.loggers.promise(n)},setSubsystemLoggerLevel:function(t,e,n){var r=this,o=a.default.qualifyUrl(u.default.ClusterLoggersResource.setSubsystemLoggerLevel(t,e,n).url),i=(0,c.default)("PUT",o);i.then(function(){r.init()}),p.setSubsystemLoggerLevel.promise(i)}});exports.default=h,t.exports=exports.default},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(1),o=n(r),i=e(6),a=n(i),s=e(3),u=n(s),l=e(4),c=n(l),f=e(8),d=n(f),p=d.default.getActions("LookupTables"),h=o.default.createStore({listenables:[p],init:function(){this.pagination={page:1,per_page:10,total:0,count:0,query:null}},getInitialState:function(){return{pagination:this.pagination,errorStates:{tables:{},caches:{},dataAdapters:{}}}},reloadPage:function(){var t=this.searchPaginated(this.pagination.page,this.pagination.per_page,this.pagination.query);return p.reloadPage.promise(t),t},searchPaginated:function(t,e,n){var r=this,o=void 0;o=n?this._url("tables?page="+t+"&per_page="+e+"&query="+encodeURIComponent(n)+"&resolve=true"):this._url("tables?page="+t+"&per_page="+e+"&resolve=true");var i=(0,c.default)("GET",o);return i.then(function(t){r.pagination={count:t.count,total:t.total,page:t.page,per_page:t.per_page,query:t.query},r.trigger({tables:t.lookup_tables,caches:t.caches,dataAdapters:t.data_adapters,pagination:r.pagination})},this._errorHandler("Fetching lookup tables failed","Could not retrieve the lookup tables")),p.searchPaginated.promise(i),i},get:function(t){var e=this,n=this._url("tables/"+t+"?resolve=true"),r=(0,c.default)("GET",n);return r.then(function(t){var n=t.lookup_tables[0];e.trigger({table:n,cache:t.caches[n.cache_id],dataAdapter:t.data_adapters[n.data_adapter_id]})},this._errorHandler("Fetching lookup table "+t+" failed","Could not retrieve lookup table")),p.get.promise(r),r},create:function(t){var e=this._url("tables"),n=(0,c.default)("POST",e,t);return n.catch(this._errorHandler("Creating lookup table failed",'Could not create lookup table "'+t.name+'"')),p.create.promise(n),n},update:function(t){var e=this._url("tables/"+t.id),n=(0,c.default)("PUT",e,t);return n.catch(this._errorHandler("Updating lookup table failed",'Could not update lookup table "'+t.name+'"')),p.update.promise(n),n},delete:function(t){var e=this._url("tables/"+t),n=(0,c.default)("DELETE",e);return n.catch(this._errorHandler("Deleting lookup table failed",'Could not delete lookup table "'+t+'"')),p.delete.promise(n),n},getErrors:function(t,e,n){var r=this,o={};t&&(o.tables=t),e&&(o.caches=e),n&&(o.data_adapters=n);var i=(0,c.default)("POST",this._url("errorstates"),o);return i.then(function(t){r.trigger({errorStates:{tables:t.tables||{},caches:t.caches||{},dataAdapters:t.data_adapters||{}}})},this._errorHandler("Fetching lookup table error state failed.","Could not error states")),p.getErrors.promise(i),i},lookup:function(t,e){var n=this,r=(0,c.default)("GET",this._url("tables/"+t+"/query?key="+e));return r.then(function(t){n.trigger({lookupResult:t})},this._errorHandler("Lookup failed",'Could not lookup value for key "'+e+'" in lookup table "'+t+'"')),p.lookup.promise(r),r},purgeKey:function(t,e){var n=(0,c.default)("POST",this._url("tables/"+t.id+"/purge?key="+e));return n.then(function(){a.default.success('Purging cache key "'+e+'" for lookup table "'+t.name+'"',"Success!")},this._errorHandler('Could not purge cache for key "'+e+'" in lookup table "'+t.name+'"',"Failed!")),p.purgeKey.promise(n),n},purgeAll:function(t){var e=(0,c.default)("POST",this._url("tables/"+t.id+"/purge"));return e.then(function(){a.default.success('Purging cache for lookup table "'+t.name+'"',"Success!")},this._errorHandler('Could not purge cache for lookup table "'+t.name+'"',"Failed!")),p.purgeAll.promise(e),e},validate:function(t){var e=this,n=this._url("tables/validate"),r=(0,c.default)("POST",n,t);return r.then(function(t){e.trigger({validationErrors:t.errors})},this._errorHandler("Lookup table validation failed",'Could not validate lookup table "'+t.name+'"')),p.validate.promise(r),r},_errorHandler:function(t,e,n){return function(r){try{if(r.additional.body[0].message_template)return}catch(t){}var o=void 0;try{o=r.additional.body.message}catch(t){o=r.message}a.default.error(t+": "+o,e),n&&n(r)}},_url:function(t){return u.default.qualifyUrl("/system/lookup/"+t)}});exports.default=h,t.exports=exports.default},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(1),o=n(r),i=e(6),a=n(i),s=e(3),u=n(s),l=e(4),c=n(l),f=e(8),d=n(f),p=d.default.getActions("LookupTableCaches"),h=o.default.createStore({listenables:[p],init:function(){this.pagination={page:1,per_page:10,total:0,count:0,query:null}},getInitialState:function(){return{caches:void 0,pagination:this.pagination,validationErrors:{}}},reloadPage:function(){var t=this.searchPaginated(this.pagination.page,this.pagination.per_page,this.pagination.query);return p.reloadPage.promise(t),t},searchPaginated:function(t,e,n){var r=this,o=void 0;o=n?this._url("caches?page="+t+"&per_page="+e+"&query="+encodeURIComponent(n)):this._url("caches?page="+t+"&per_page="+e);var i=(0,c.default)("GET",o);return i.then(function(t){r.pagination={count:t.count,total:t.total,page:t.page,per_page:t.per_page,query:t.query},r.trigger({pagination:r.pagination,caches:t.caches})},this._errorHandler("Fetching lookup table caches failed","Could not retrieve the lookup caches")),p.searchPaginated.promise(i),i},get:function(t){var e=this,n=this._url("caches/"+t),r=(0,c.default)("GET",n);return r.then(function(t){e.trigger({cache:t})},this._errorHandler("Fetching lookup table cache "+t+" failed","Could not retrieve lookup table cache")),p.get.promise(r),r},create:function(t){var e=this,n=this._url("caches"),r=(0,c.default)("POST",n,t);return r.then(function(t){e.trigger({cache:t})},this._errorHandler("Creating lookup table cache failed",'Could not create lookup table cache "'+t.name+'"')),p.create.promise(r),r},update:function(t){var e=this,n=this._url("caches/"+t.id),r=(0,c.default)("PUT",n,t);return r.then(function(t){e.trigger({cache:t})},this._errorHandler("Updating lookup table cache failed",'Could not update lookup table cache "'+t.name+'"')),p.update.promise(r),r},getTypes:function(){var t=this,e=this._url("types/caches"),n=(0,c.default)("GET",e);return n.then(function(e){t.trigger({types:e})},this._errorHandler("Fetching available types failed","Could not fetch the available lookup table cache types")),p.getTypes.promise(n),n},delete:function(t){var e=this._url("caches/"+t),n=(0,c.default)("DELETE",e);return n.catch(this._errorHandler("Deleting lookup table cache failed",'Could not delete lookup table cache "'+t+'"')),p.delete.promise(n),n},validate:function(t){var e=this,n=this._url("caches/validate"),r=(0,c.default)("POST",n,t);return r.then(function(t){e.trigger({validationErrors:t.errors})},this._errorHandler("Lookup table cache validation failed",'Could not validate lookup table cache "'+t.name+'"')),p.validate.promise(r),r},_errorHandler:function(t,e,n){return function(r){var o=void 0;try{o=r.additional.body.message}catch(t){o=r.message}a.default.error(t+": "+o,e),n&&n(r)}},_url:function(t){return u.default.qualifyUrl("/system/lookup/"+t)}});exports.default=h,t.exports=exports.default},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(1),o=n(r),i=e(6),a=n(i),s=e(3),u=n(s),l=e(4),c=n(l),f=e(8),d=n(f),p=d.default.getActions("LookupTableDataAdapters"),h=o.default.createStore({listenables:[p],init:function(){this.pagination={page:1,per_page:10,total:0,count:0,query:null}},getInitialState:function(){return{dataAdapters:void 0,pagination:this.pagination,validationErrors:{}}},reloadPage:function(){var t=this.searchPaginated(this.pagination.page,this.pagination.per_page,this.pagination.query);return p.reloadPage.promise(t),t},searchPaginated:function(t,e,n){var r=this,o=void 0;o=n?this._url("adapters?page="+t+"&per_page="+e+"&query="+encodeURIComponent(n)):this._url("adapters?page="+t+"&per_page="+e);var i=(0,c.default)("GET",o);return i.then(function(t){r.pagination={count:t.count,total:t.total,page:t.page,per_page:t.per_page,query:t.query},r.trigger({pagination:r.pagination,dataAdapters:t.data_adapters})},this._errorHandler("Fetching lookup table data adapters failed","Could not retrieve the lookup dataAdapters")),p.searchPaginated.promise(i),i},get:function(t){var e=this,n=this._url("adapters/"+t),r=(0,c.default)("GET",n);return r.then(function(t){e.trigger({dataAdapter:t})},this._errorHandler("Fetching lookup table data adapter "+t+" failed","Could not retrieve lookup table data adapter")),p.get.promise(r),r},create:function(t){var e=this,n=this._url("adapters"),r=(0,c.default)("POST",n,t);return r.then(function(t){e.trigger({dataAdapter:t})},this._errorHandler("Creating lookup table data adapter failed",'Could not create lookup table data adapter "'+t.name+'"')),p.create.promise(r),r},update:function(t){var e=this,n=this._url("adapters/"+t.id),r=(0,c.default)("PUT",n,t);return r.then(function(t){e.trigger({dataAdapter:t})},this._errorHandler("Updating lookup table data adapter failed",'Could not update lookup table data adapter "'+t.name+'"')),p.update.promise(r),r},getTypes:function(){var t=this,e=this._url("types/adapters"),n=(0,c.default)("GET",e);return n.then(function(e){t.trigger({types:e})},this._errorHandler("Fetching available types failed","Could not fetch the available lookup table data adapter types")),p.getTypes.promise(n),n},delete:function(t){var e=this._url("adapters/"+t),n=(0,c.default)("DELETE",e);return n.catch(this._errorHandler("Deleting lookup table data adapter failed",'Could not delete lookup table data adapter "'+t+'"')),p.delete.promise(n),n},lookup:function(t,e){var n=this,r=(0,c.default)("GET",this._url("adapters/"+t+"/query?key="+e));return r.then(function(t){n.trigger({lookupResult:t})},this._errorHandler("Lookup failed",'Could not lookup value for key "'+e+'" in lookup table data adapter "'+t+'"')),p.lookup.promise(r),r},validate:function(t){var e=this,n=this._url("adapters/validate"),r=(0,c.default)("POST",n,t);return r.then(function(t){e.trigger({validationErrors:t.errors})},this._errorHandler("Lookup table data adapter validation failed",'Could not validate lookup table data adapter "'+t.name+'"')),p.validate.promise(r),r},_errorHandler:function(t,e,n){return function(r){var o=void 0;try{o=r.additional.body.message}catch(t){o=r.message}a.default.error(t+": "+o,e),n&&n(r)}},_url:function(t){return u.default.qualifyUrl("/system/lookup/"+t)}});exports.default=h,t.exports=exports.default},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(1),o=n(r),i=e(3),a=n(i),s=e(7),u=n(s),l=e(4),c=n(l),f=e(8),d=n(f),p=d.default.getActions("MessageCounts"),h=o.default.createStore({listenables:[p],events:void 0,init:function(){this.total()},total:function(){var t=this,e=a.default.qualifyUrl(u.default.CountsApiController.total().url),n=(0,c.default)("GET",e).then(function(e){return t.events=e.events,t.trigger({events:e.events}),e.events});return p.total.promise(n),n}});exports.default=h,t.exports=exports.default},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(1),o=n(r),i=e(190),a=n(i),s=e(3),u=n(s),l=e(7),c=n(l),f=e(4),d=n(f),p=o.default.createStore({listenables:[],fields:void 0,init:function(){this.list()},getInitialState:function(){return{fields:this.fields}},list:function(){var t=this,e=u.default.qualifyUrl(c.default.MessageFieldsApiController.list().url);return(0,d.default)("GET",e).then(function(e){var n=e.fields.map(function(t){return{hash:(0,a.default)(t),name:t,standard_selected:"message"===t||"source"===t}});return t.fields=n,t.trigger(t.getInitialState()),n})}});exports.default=p,t.exports=exports.default},function(t,exports){!function(){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n={rotl:function(t,e){return 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-i)&63)):n.push("=");return n.join("")},base64ToBytes:function(t){t=t.replace(/[^A-Z0-9+\/]/gi,"");for(var n=[],r=0,o=0;r>>6-2*o);return n}};t.exports=n}()},function(t,exports){function e(t){return!!t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}function n(t){return"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&e(t.slice(0,0))}/*! * Determine if an object is a Buffer * * @author Feross Aboukhadijeh * @license MIT */ t.exports=function(t){return null!=t&&(e(t)||n(t)||!!t._isBuffer)}},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(1),o=n(r),i=e(4),a=n(i),s=e(192),u=n(s),l=e(7),c=n(l),f=e(3),d=n(f),p=e(6),h=n(p),g=e(87),m=n(g),v=e(8),b=n(v),y=b.default.getActions("Messages"),_=o.default.createStore({listenables:[y],sourceUrl:"",getInitialState:function(){return{}},loadMessage:function(t,e){var n=c.default.MessagesController.single(t.trim(),e.trim()).url,r=(0,a.default)("GET",d.default.qualifyUrl(n)).then(function(t){return u.default.formatResultMessage(t)},function(t){h.default.error("Loading message information failed with status: "+t,"Could not load message information")});y.loadMessage.promise(r)},fieldTerms:function(t,e){var n=c.default.MessagesController.analyze(t,encodeURIComponent(m.default.stringify(e))).url,r=(0,a.default)("GET",d.default.qualifyUrl(n)).then(function(t){return t.tokens},function(t){h.default.error("Loading field terms failed with status: "+t,"Could not load field terms.")});y.fieldTerms.promise(r)},loadRawMessage:function(t,e,n,r){var o=c.default.MessagesController.parse().url,i={message:t,remote_address:e,codec:n,configuration:r},s=(0,a.default)("POST",d.default.qualifyUrl(o),i).then(function(t){return u.default.formatResultMessage(t)},function(t){if(t.additional&&400===t.additional.status)return void h.default.error("Please ensure the selected codec and its configuration are right. Check your server logs for more information.","Could not load raw message");h.default.error("Loading raw message failed with status: "+t,"Could not load raw message")});y.loadRawMessage.promise(s)}});exports.default=_,t.exports=exports.default},function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n={FILTERED_FIELDS:["_id","_ttl","_source","_all","_index","_type","_score","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}};exports.default=n,t.exports=exports.default},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(1),o=n(r),i=e(3),a=n(i),s=e(7),u=n(s),l=e(4),c=n(l),f=e(268),d=n(f),p=e(23),h=n(p),g=e(8),m=n(g),v=h.default.getStore("Session"),b=h.default.getStore("Nodes"),y=m.default.getActions("Session"),_=m.default.getActions("Metrics"),x=o.default.createStore({listenables:[_,y],namespace:"org",registrations:{},globalRegistrations:{},promises:{},init:function(){this.listenTo(b,this.updateNodes)},getInitialState:function(){return{metricsNames:this.metricsNames,metrics:this.metrics}},updateNodes:function(t){this.nodes=t.nodes},_allResults:function(t){var e=[],n=Promise.resolve(null);return t.forEach(function(t){n=n.then(function(){return t}).then(function(t){return e.push(t)},function(t){return e.push(t)})}),n.then(function(){return e})},_metricsToFetch:function(t,e){var n={};return Object.keys(t).filter(function(e){return Object.keys(t[e].length>0)}).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(v.isLoggedIn()){var e=this._metricsToFetch(this.registrations,this.globalRegistrations),n=a.default.qualifyUrl(u.default.ClusterMetricsApiController.multipleAllNodes().url);if(!this.promises.list){var r=(0,l.fetchPeriodically)("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:d.default.nowInSeconds()}),t.metrics}),this.promises.list=r}return _.list.promise(this.promises.list),this.promises.list}},names:function(){var t=this;if(!this.nodes)return void console.warn("Node list not yet available, not fetching metrics.");var e=this._allResults(Object.keys(this.nodes).map(function(e){var n=a.default.qualifyUrl(u.default.ClusterMetricsApiController.byNamespace(e,t.namespace).url);return(0,c.default)("GET",n).then(function(t){return{nodeId:e,names:t.metrics}})})).then(function(e){var n={};return e.forEach(function(t){t.nodeId&&(n[t.nodeId]=t.names)}),t.trigger({metricsNames:n}),t.metricsNames=n,n});_.names.promise(e)},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])}});exports.default=x,t.exports=exports.default},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(1),o=n(r),i=e(3),a=n(i),s=e(4),u=e(7),l=n(u),c=e(68),f=n(c),d=f.default.get("Nodes"),p=d.NodesActions,h=f.default.get("Session"),g=h.SessionStore,m=o.default.createStore({listenables:[p],nodes:void 0,clusterId:void 0,nodeCount:0,INTERVAL:5e3,promises:{},init:function(){void 0===this.nodes&&(this._triggerList(),setInterval(this._triggerList,this.INTERVAL))},_triggerList:function(){g.isLoggedIn()&&p.list()},getInitialState:function(){return this.getNodesInfo()},getNodesInfo:function(){return{nodes:this.nodes,clusterId:this.clusterId,nodeCount:this.nodeCount}},list:function(){var t=this,e=this.promises.list||(0,s.fetchPeriodically)("GET",a.default.qualifyUrl(l.default.ClusterApiResource.list().url)).then(function(e){return t.nodes={},e.nodes.forEach(function(e){t.nodes[e.node_id]=e}),t.clusterId=t._clusterId(),t.nodeCount=t._nodeCount(),t._propagateState(),e}).finally(function(){return delete t.promises.list});this.promises.list=e,p.list.promise(e)},getNode:function(t){return this.nodes[t]},_clusterId:function(){var t=this,e=Object.keys(this.nodes).map(function(e){return t.nodes[e]}).find(function(t){return t.cluster_id});return e?e.cluster_id.toUpperCase():void 0},_nodeCount:function(){return Object.keys(this.nodes).length},_propagateState:function(){this.trigger(this.getNodesInfo())}});exports.default=m,t.exports=exports.default},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(1),o=n(r),i=e(3),a=n(i),s=e(7),u=n(s),l=e(4),c=n(l),f=e(8),d=n(f),p=d.default.getActions("Notifications"),h=o.default.createStore({listenables:[p],notifications:void 0,promises:{},init:function(){this.list()},getInitialState:function(){return this.notifications?this.notifications:{}},list:function(){var t=this,e=a.default.qualifyUrl(u.default.NotificationsApiController.list().url),n=this.promises.list||(0,l.fetchPeriodically)("GET",e).finally(function(){return delete t.promises.list});this.promises.list=n,p.list.promise(n)},listCompleted:function(t){this.notifications=t,this.trigger(t)},delete:function(t){var e=a.default.qualifyUrl(u.default.NotificationsApiController.delete(t).url),n=(0,c.default)("DELETE",e);p.delete.promise(n)},deleteCompleted:function(){this.list()}});exports.default=h,t.exports=exports.default},function(t,exports,e){"use strict";var n=e(6),r=e(3),o=e(7),i=e(4).default,a={OUTPUTS_URL:r.qualifyUrl(o.OutputsApiController.index().url),load:function(t){i("GET",this.OUTPUTS_URL).then(t,this._failCallback)},loadForStreamId:function(t,e){var n=r.qualifyUrl(o.StreamOutputsApiController.index(t).url);i("GET",n).then(e,this._failCallback)},loadAvailableTypes:function(t){var e=r.qualifyUrl(o.OutputsApiController.availableTypes().url);i("GET",e).then(t,this._failCallback)},loadAvailable:function(t,e){var n=r.qualifyUrl(o.OutputsApiController.availableTypes().url);i("GET",n).then(function(e){return e.types[t]},this._failCallback).then(e)},remove:function(t,e){var a=r.qualifyUrl(o.OutputsApiController.delete(t).url);i("DELETE",a).then(e,function(t){n.error("Terminating output failed with status: "+t,"Could not terminate output")})},save:function(t,e){var a=function(e){n.error('Saving Output "'+t.title+'" failed with status: '+e,"Could not save Output")},s=r.qualifyUrl(o.OutputsApiController.create().url);i("POST",s,t).then(e,a)},update:function(t,e,a){var s=function(e){n.error('Updating Output "'+t.title+'" failed with status: '+e,"Could not update Output")},u=r.qualifyUrl(o.OutputsApiController.update(t.id).url);i("PUT",u,e).then(a,s)},_failCallback:function(t){n.error("Loading outputs failed with status: "+t,"Could not load outputs")}};t.exports=a},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(1),o=n(r),i=e(3),a=n(i),s=e(6),u=n(s),l=e(4),c=n(l),f=o.default.createStore({sourceUrl:function(t){return"/cluster/"+t+"/plugins"},list:function(t){return(0,c.default)("GET",a.default.qualifyUrl(this.sourceUrl(t))).then(function(t){return t.plugins},function(e){return u.default.error('Getting plugins on node "'+t+'" failed: '+e,"Could not get plugins")})}});exports.default=f,t.exports=exports.default},function(t,exports,e){"use strict";var n=e(6),r=e(3),o=e(4).default,i={URL:r.qualifyUrl("/users/"),convertPreferenceMapToArray:function(t){t=t||{};var e=Object.keys(t).map(function(e){return{name:e,value:t[e]}});return e=e.sort(function(t,e){return t.name.localeCompare(e.name)})},convertPreferenceArrayToMap:function(t){var e={};return t.forEach(function(t){e[t.name]=!0===t.value||"true"===t.value}),e},saveUserPreferences:function(t,e){var r=this;if(!this._userName)throw new Error("Need to load user preferences before you can save them");var i=this.convertPreferenceArrayToMap(t),a=this.URL+this._userName+"/preferences";o("PUT",a,{preferences:i}).then(function(){n.success("User preferences successfully saved"),e(t)},function(t){n.error('Saving of preferences for "'+r._userName+'" failed with status: '+t,"Could not save user preferences")})},loadUserPreferences:function(t,e){var r=this;this._userName=t;var i=this.URL+t,a=function(t){var n=r.convertPreferenceMapToArray(t.preferences);e(n)},s=function(e){n.error('Loading of user preferences for "'+t+'" failed with status: '+e+". Try reloading the page","Could not retrieve user preferences from server")};o("GET",i).then(a,s)}};t.exports=i},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(1),o=n(r),i=e(8),a=n(i),s=a.default.getActions("Refresh"),u=o.default.createStore({listenables:[s],interval:5e3,enabled:!1,getInitialState:function(){return{interval:this.interval,enabled:this.enabled}},changeInterval:function(t){this.interval=t,this._update()},disable:function(){this.enabled=!1,this._update()},enable:function(){this.enabled=!0,this._update()},_update:function(){this.trigger(this.getInitialState())}});exports.default=u,t.exports=exports.default},function(t,exports,e){"use strict";var n=e(6),r=e(3),o=e(7),i=e(4).default,a={loadRoles:function(){return i("GET",r.qualifyUrl(o.RolesApiController.listRoles().url)).then(function(t){return t.roles},function(t){404!==t.additional.status&&n.error("Loading role list failed with status: "+t,"Could not load role list")})},createRole:function(t){var e=r.qualifyUrl(o.RolesApiController.createRole().url),a=i("POST",e,t);return a.then(function(t){n.success('Role "'+t.name+'" was created successfully')},function(e){n.error('Creating role "'+t.name+'" failed with status: '+e,"Could not create role")}),a},updateRole:function(t,e){var a=i("PUT",r.qualifyUrl(o.RolesApiController.updateRole(encodeURIComponent(t)).url),e);return a.then(function(t){n.success('Role "'+t.name+'" was updated successfully')},function(t){404!==t.additional.status&&n.error("Updating role failed with status: "+t,"Could not update role")}),a},deleteRole:function(t){var e=r.qualifyUrl(o.RolesApiController.deleteRole(encodeURIComponent(t)).url),a=i("DELETE",e);return a.then(function(){n.success('Role "'+t+'" was deleted successfully')},function(t){404!==t.additional.status&&n.error("Deleting role failed with status: "+t,"Could not delete role")}),a},getMembers:function(t){var e=r.qualifyUrl(o.RolesApiController.loadMembers(encodeURIComponent(t)).url),a=i("GET",e);return a.catch(function(t){404!==t.additional.status&&n.error("Could not load role's members with status: "+t,"Could not load role members")}),a}};t.exports=a},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(1),o=n(r),i=e(90),a=n(i),s=e(4),u=n(s),l=e(7),c=n(l),f=e(76),d=n(f),p=e(8),h=n(p),g=e(23),m=n(g),v=e(3),b=n(v),y=e(6),_=n(y),x=h.default.getActions("SavedSearches"),w=m.default.getStore("Search"),k=o.default.createStore({listenables:[x],sourceUrl:"/search/saved",savedSearches:void 0,init:function(){this.trigger({savedSearches:this.savedSearches})},list:function(){var t=this,e=(0,u.default)("GET",b.default.qualifyUrl(b.default.concatURLPath(this.sourceUrl))).then(function(e){return t.savedSearches=e.searches,t.trigger({savedSearches:t.savedSearches}),e},function(t){_.default.error("Fetching saved searches failed with status: "+t,"Could not get saved searches")});x.list.promise(e)},getSavedSearch:function(t){for(var e=void 0,n=0;n0?t:"*"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"page",{get:function(){return this._page},set:function(t){void 0===this._page?this._page=t:this._reloadSearchWithNewParam("page",t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rangeType",{get:function(){return this._rangeType},set:function(t){this._rangeType=t,this.rangeParams=this.originalSearch.get("rangeType")===t?this.originalSearch.get("rangeParams"):n.Map(),void 0!==this.onParamsChanged&&this.onParamsChanged(this.getParams())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"originalRangeType",{get:function(){return this.originalSearch.get("rangeType")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rangeParams",{get:function(){return this._rangeParams},set:function(t){this._rangeParams=t,void 0!==this.onParamsChanged&&this.onParamsChanged(this.getParams())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"originalRangeParams",{get:function(){return this.originalSearch.get("rangeParams")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"resolution",{get:function(){return this._resolution},set:function(t){void 0===this._resolution?this._resolution=t:this._reloadSearchWithNewParam("interval",t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"fields",{get:function(){return this._fields},set:function(t){this._fields=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"highlightMessage",{get:function(){return this._highlightMessage},set:function(t){this._highlightMessage=t},enumerable:!0,configurable:!0}),t.prototype.sort=function(t,e){this._reloadSearchWithNewParams(n.Map({sortField:t,sortOrder:e}))},t._initializeOriginalSearch=function(t){var e=n.Map();e=e.set("query",t.get("q","")),e=e.set("resolution",t.get("interval")),e=e.set("page",Math.max(t.get("page",1),1)),e=e.set("rangeType",t.get("rangetype","relative")),e=e.set("sortField",t.get("sortField","timestamp")),e=e.set("sortOrder",t.get("sortOrder","desc")),e=e.set("highlightMessage",t.get("highlightMessage","")),void 0!==t.get("saved")&&(e=e.set("saved",t.get("saved")));var r;switch(e.get("rangeType")){case"relative":r=n.Map({relative:Number(t.get("relative",300))});break;case"absolute":r=n.Map({from:t.get("from",null),to:t.get("to",null)});break;case"keyword":r=n.Map({keyword:t.get("keyword","")});break;default:throw"Unsupported range type "+e.get("rangeType")}return e.set("rangeParams",r)},t.prototype.appendToQueryString=function(e,n,r,o){var i=r;if("timestamp"===n){i=new s(r).toTimeZone("UTC").toString(s.Formats.TIMESTAMP)}var a=n+":"+t.escape(i),u=o||t.AND_OPERATOR;return this.addQueryTerm(e,a,u)},t.prototype.appendFieldQueryObjectToQueryString=function(e,n,r){var o=this,i=n.map(function(e){return"("+e.reduce(function(e,n){return o.appendToQueryString(e,n.field,n.value,t.AND_OPERATOR)},"")+")"}).join(" "+t.OR_OPERATOR+" ");return e&&""!==e&&"*"!==e?e+" "+(r||t.AND_OPERATOR)+" ("+i+")":i},t.prototype.addSearchTerm=function(t,e,n){var r=this.appendToQueryString(this.query,t,e,n);this.query!==r&&(this.query=r,void 0!==this.onAddQueryTerm&&this.onAddQueryTerm())},t.prototype.addSearchTermWithMapping=function(t,e,n,r){var o=this;if(!t[n])return this.addSearchTerm(e,n,r);t[n].forEach(function(t){o.addSearchTerm(t.field,t.value,r)})},t.prototype.changeTimeRange=function(t,e){this.rangeType=t,this.rangeParams=n.fromJS(e)},t.prototype._submitSearch=function(t){void 0!==this.onSubmitSearch&&this.onSubmitSearch()},t.prototype.savedSearchDeleted=function(t){t===this.savedSearch&&this._submitSearch(null)},t.isPhrase=function(t){return-1!==String(t).indexOf(" ")},t.escape=function(t){var e=String(t);return e=e.replace(/\r\n/g," "),e=e.replace(/\n/g," "),e=e.replace(/
    /g," "),this.isPhrase(e)?(e=String(e).replace(/\"/g,'\\"'),e='"'+e+'"'):e=String(e).replace(/(&&|\|\||[\:\\\/\+\-\!\(\)\{\}\[\]\^\"\~\*\?])/g,"\\$&"),e},t.prototype.queryContainsTerm=function(t,e){return-1!=t.indexOf(e)},t.prototype.addQueryTerm=function(t,e,n){if(this.queryContainsTerm(t,e))return t;var r="";return void 0!==n&&""!==t&&"*"!==t&&(r=t+" "+n+" "),r+=e},t.prototype.getParams=function(){return{query:this.query,rangeType:this.rangeType,rangeParams:this.rangeParams}},t.prototype.getOriginalSearchParams=function(){var t=n.Map();return t=t.set("range_type",this.originalSearch.get("rangeType")),t=t.merge(this.originalSearch.get("rangeParams")),t=t.set("query",this.originalSearch.get("query")),t=t.set("interval",this.originalSearch.get("resolution")),this.searchInStream&&(t=t.set("streamId",this.searchInStream.id)),t},t.prototype.getOriginalSearchParamsWithFields=function(){var t=this.getOriginalSearchParams();return t=t.set("fields",this.fields.join(","))},t.prototype.getOriginalSearchURLParams=function(){var t=n.Map();return t=t.set("rangetype",this.originalSearch.get("rangeType")),t=t.merge(this.originalSearch.get("rangeParams")),t=t.set("q",this.originalSearch.get("query")),t=t.set("interval",this.originalSearch.get("resolution")),t=t.set("page",this.originalSearch.get("page")),t=t.set("fields",this.fields?this.fields.join(","):""),t=t.set("sortField",this.originalSearch.get("sortField")),t=t.set("sortOrder",this.originalSearch.get("sortOrder")),this.originalSearch.has("saved")&&(t=t.set("saved",this.originalSearch.get("saved"))),t},t.prototype.searchBaseLocation=function(t){return this.searchInStream?r.stream_search(this.searchInStream.id):r.SEARCH},t.prototype._reloadSearchWithNewParam=function(t,e){var n=this.getOriginalSearchURLParams();n=n.set("width",this.width),n=n.set(t,e),this.executeSearch(this.searchBaseLocation("index")+"?"+o.stringify(n.toJS()))},t.prototype._reloadSearchWithNewParams=function(t){var e=this.getOriginalSearchURLParams();e=e.set("width",this.width),e=e.merge(t),this.executeSearch(this.searchBaseLocation("index")+"?"+o.stringify(e.toJS()))},t.prototype.executeSearch=function(t){a.pushState(null,t)},t.prototype.searchSurroundingMessages=function(e,n,r,i){var a=this.getOriginalSearchParamsWithFields().toJS(),s=Object.keys(i).filter(function(t){return i[t]}).map(function(e){return e+':"'+t.escape(i[e])+'"'}).join(" AND "),u={rangetype:"absolute",from:n,to:r,q:s,highlightMessage:e,fields:a.fields};return this.searchBaseLocation("index")+"?"+o.stringify(u)},t.NOT_OPERATOR="NOT",t.OR_OPERATOR="OR",t.AND_OPERATOR="AND",t}(),l=new u;t.exports=l},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(1),o=n(r),i=e(3),a=n(i),s=e(7),u=n(s),l=e(4),c=e(8),f=n(c),d=f.default.getActions("ServerAvailability"),p=o.default.createStore({listenables:[d],server:{up:!0},init:function(){this.ping()},getInitialState:function(){return{server:this.server}},ping:function(){return new l.Builder("GET",a.default.qualifyUrl(u.default.ping().url)).setHeader("Accept","application/json").setHeader("X-Graylog-No-Session-Extension","true").build().then(function(){return d.reportSuccess()},function(t){return d.reportError(t)})},reportError:function(t){this.server.up&&(this.server={up:!1,error:t},this.trigger({server:this.server}))},reportSuccess:function(){this.server.up||(this.server={up:!0},this.trigger({server:this.server}))}});exports.default=p,t.exports=exports.default},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(1),o=n(r),i=e(187),a=n(i),s=e(3),u=n(s),l=e(7),c=n(l),f=e(4),d=e(8),p=n(d),h=p.default.getActions("Session"),g=o.default.createStore({listenables:[h],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 f.Builder("POST",u.default.qualifyUrl(this.sourceUrl)).json({username:t,password:e,host:n}),o=r.build().then(function(e){return{sessionId:e.session_id,username:t}});h.login.promise(o)},logout:function(t){var e=this,n=new f.Builder("DELETE",u.default.qualifyUrl(this.sourceUrl+"/"+t)).authenticated().build().then(function(t){(t.ok||401===t.status)&&e._removeSession()},this._removeSession);h.logout.promise(n)},validate:function(){var t=this,e=a.default.get("sessionId"),n=a.default.get("username");this.validatingSession=!0,this._propagateState(),this._validateSession(e).then(function(r){return r.is_valid?h.login.completed({sessionId:e||r.session_id,username:n||r.username}):(e&&n&&t._removeSession(),r)}).finally(function(){t.validatingSession=!1,t._propagateState()})},_validateSession:function(t){return new f.Builder("GET",u.default.qualifyUrl(c.default.SessionsApiController.validate().url)).session(t).json().build()},_removeSession:function(){a.default.delete("sessionId"),a.default.delete("username"),this.sessionId=void 0,this.username=void 0,this._propagateState()},_propagateState:function(){this.trigger(this.getSessionInfo())},loginCompleted:function(t){a.default.set("sessionId",t.sessionId),a.default.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}}});exports.default=g,t.exports=exports.default},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(1),o=n(r),i=e(3),a=n(i),s=e(4),u=n(s),l=e(8),c=n(l),f=c.default.getActions("SingleNode"),d=o.default.createStore({listenables:[f],sourceUrl:"/system/cluster/node",node:void 0,init:function(){this._propagateState()},getInitialState:function(){return this._getNodeInfo()},_getNodeInfo:function(){return{node:this.node}},_propagateState:function(){this.trigger(this._getNodeInfo())},get:function(t){var e=this,n=(0,u.default)("GET",a.default.qualifyUrl(t?a.default.concatURLPath(this.sourceUrl,t):this.sourceUrl)).then(function(t){e.node=t,e._propagateState()});f.get.promise(n)}});exports.default=d,t.exports=exports.default},function(t,exports,e){"use strict";var $=e(14),n=e(6),r=e(3),o=e(87),i=e(4).default,a=function(t){var e=0,n=[];return $.each(t,function(t,r){e+=Number(r),n.push({name:o.escapeHTML(t),message_count:r})}),n.forEach(function(t){t.percentage=t.message_count/e*100}),n},s={SOURCES_URL:"/sources",loadSources:function(t,e){var o=r.qualifyUrl(this.SOURCES_URL);void 0!==t&&(o+="?range="+t),i("GET",o).then(function(t){var n=a(t.sources);e(n)}).catch(function(t){n.error("Loading of sources data failed with status: "+t+". Try reloading the page.","Could not load sources data")})}};t.exports=s},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(1),o=n(r),i=e(7),a=n(i),s=e(6),u=n(s),l=e(3),c=n(l),f=e(4),d=n(f),p=o.default.createStore({listenables:[],set:function(t,e,n){var r=this,o=c.default.qualifyUrl(a.default.UsersApiController.update(t).url),i={};return e&&n&&(i.type=e,i.id=n),(0,d.default)("PUT",o,{startpage:i}).then(function(t){return r.trigger(),u.default.success("Your start page was changed successfully"),t},function(t){return u.default.error("Changing your start page failed with error: "+t,"Could not change your start page")})}});exports.default=p,t.exports=exports.default},function(t,exports,e){"use strict";var n=e(7),r=e(6),o=e(3),i=e(4).default,a=e(69),s=function(){function t(){this.callbacks=[]}return t.prototype.types=function(t){return i("GET",o.qualifyUrl("/streams/null/rules/types"))},t.prototype.list=function(t,e){var a=function(t){r.error("Fetching Stream Rules failed with status: "+t,"Could not retrieve Stream Rules")};i("GET",o.qualifyUrl(n.StreamRulesApiController.list(t).url)).then(e,a)},t.prototype.update=function(t,e,a,s){var u=function(t){r.error("Updating Stream Rule failed with status: "+t,"Could not update Stream Rule")},l=o.qualifyUrl(n.StreamRulesApiController.update(t,e).url),c={field:a.field,type:a.type,value:a.value,inverted:a.inverted,description:a.description};i("PUT",l,c).then(s,u).then(this._emitChange.bind(this))},t.prototype.remove=function(t,e,a){var s=function(t){r.error("Deleting Stream Rule failed with status: "+t,"Could not delete Stream Rule")},u=o.qualifyUrl(n.StreamRulesApiController.delete(t,e).url);i("DELETE",u).then(a,s).then(this._emitChange.bind(this))},t.prototype.create=function(t,e,a){var s=function(t){r.error("Creating Stream Rule failed with status: "+t,"Could not create Stream Rule")},u=o.qualifyUrl(n.StreamRulesApiController.create(t).url);i("POST",u,e).then(a,s).then(this._emitChange.bind(this))},t.prototype.onChange=function(t){this.callbacks.push(t)},t.prototype._emitChange=function(){this.callbacks.forEach(function(t){return t()})},t.prototype.unregister=function(t){a.pull(this.callbacks,t)},t}(),u=new s;t.exports=u},function(t,exports,e){"use strict";var n=e(6),r=e(3),o=e(7),i=e(4).default,a=e(69),s=function(){function t(){this.callbacks=[]}return t.prototype.listStreams=function(){return i("GET",r.qualifyUrl("/streams")).then(function(t){return t.streams}).catch(function(t){n.error("Loading streams failed with status: "+t,"Could not load streams")})},t.prototype.load=function(t){this.listStreams().then(function(e){t(e)})},t.prototype.get=function(t,e){var a=function(t){n.error("Loading Stream failed with status: "+t,"Could not retrieve Stream")},s=o.StreamsApiController.get(t).url;i("GET",r.qualifyUrl(s)).then(e,a)},t.prototype.remove=function(t,e){var a=function(t){n.error("Removing Stream failed with status: "+t,"Could not remove Stream")},s=r.qualifyUrl(o.StreamsApiController.delete(t).url);i("DELETE",s).then(e,a).then(this._emitChange.bind(this))},t.prototype.pause=function(t,e){var a=this,s=function(t){n.error("Pausing Stream failed with status: "+t,"Could not pause Stream")},u=r.qualifyUrl(o.StreamsApiController.pause(t).url);return i("POST",u).then(e,s).then(function(t){return a._emitChange(),t})},t.prototype.resume=function(t,e){var a=this,s=function(t){n.error("Resuming Stream failed with status: "+t,"Could not resume Stream")},u=r.qualifyUrl(o.StreamsApiController.resume(t).url);return i("POST",u).then(e,s).then(function(t){return a._emitChange(),t})},t.prototype.save=function(t,e){var a=function(t){n.error("Saving Stream failed with status: "+t,"Could not save Stream")},s=r.qualifyUrl(o.StreamsApiController.create().url);i("POST",s,t).then(e,a).then(this._emitChange.bind(this))},t.prototype.update=function(t,e,a){var s=function(t){n.error("Updating Stream failed with status: "+t,"Could not update Stream")},u=r.qualifyUrl(o.StreamsApiController.update(t).url);i("PUT",u,e).then(a,s).then(this._emitChange.bind(this))},t.prototype.cloneStream=function(t,e,a){var s=function(t){n.error("Cloning Stream failed with status: "+t,"Could not clone Stream")},u=r.qualifyUrl(o.StreamsApiController.cloneStream(t).url);i("POST",u,e).then(a,s).then(this._emitChange.bind(this))},t.prototype.removeOutput=function(t,e,a){var s=r.qualifyUrl(o.StreamOutputsApiController.delete(t,e).url);i("DELETE",s).then(a,function(t){n.error("Removing output from stream failed with status: "+t,"Could not remove output from stream")}).then(this._emitChange.bind(this))},t.prototype.addOutput=function(t,e,a){var s=r.qualifyUrl(o.StreamOutputsApiController.add(t,e).url);i("POST",s,{outputs:[e]}).then(a,function(t){n.error("Adding output to stream failed with status: "+t,"Could not add output to stream")}).then(this._emitChange.bind(this))},t.prototype.testMatch=function(t,e,a){var s=r.qualifyUrl(o.StreamsApiController.testMatch(t).url);i("POST",s,e).then(a,function(t){n.error("Testing stream rules of stream failed with status: "+t.message,"Could not test stream rules of stream")})},t.prototype.onChange=function(t){this.callbacks.push(t)},t.prototype._emitChange=function(){this.callbacks.forEach(function(t){return t()})},t.prototype.unregister=function(t){a.pull(this.callbacks,t)},t}(),u=new s;t.exports=u},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(1),o=n(r),i=e(3),a=n(i),s=e(7),u=n(s),l=e(4),c=n(l),f=e(77),d=n(f),p=o.default.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=a.default.qualifyUrl(u.default.SystemApiController.info().url);return(0,c.default)("GET",t)},jvm:function(){var t=a.default.qualifyUrl(u.default.SystemApiController.jvm().url);return(0,c.default)("GET",t)},systemLocales:function(){var t=a.default.qualifyUrl(u.default.SystemApiController.locales().url);return(0,c.default)("GET",t)},elasticsearchVersion:function(){var t=a.default.qualifyUrl(u.default.ClusterApiResource.elasticsearchStats().url);return new d.default(function(e,n){(0,c.default)("GET",t).then(function(t){var n=t.cluster_version.split(".");e({major:n[0],minor:n[1],patch:n[2]})}).catch(n)})}});exports.default=p,t.exports=exports.default},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(1),o=n(r),i=e(3),a=n(i),s=e(7),u=n(s),l=e(4),c=n(l),f=e(8),d=n(f),p=d.default.getActions("SystemJobs"),h=o.default.createStore({listenables:[p],jobsById:{},getInitialState:function(){return{jobs:this.jobs,jobsById:this.jobsById}},list:function(){var t=this,e=a.default.qualifyUrl(u.default.SystemJobsApiController.list().url),n=(0,l.fetchPeriodically)("GET",e).then(function(e){return t.jobs=e,t.trigger({jobs:e}),e});p.list.promise(n)},getJob:function(t){var e=this,n=a.default.qualifyUrl(u.default.SystemJobsApiController.getJob(t).url),r=(0,c.default)("GET",n).then(function(t){return e.jobsById[t.id]=t,e.trigger({jobsById:e.jobsById}),t},function(){delete e.jobsById[t],e.trigger({jobsById:e.jobsById})});p.getJob.promise(r)},cancelJob:function(t){var e=this,n=a.default.qualifyUrl(u.default.SystemJobsApiController.cancelJob(t).url),r=(0,c.default)("DELETE",n).then(function(t){delete e.jobsById[t.id]});p.cancelJob.promise(r)}});exports.default=h,t.exports=exports.default},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(1),o=n(r),i=e(3),a=n(i),s=e(6),u=n(s),l=e(4),c=n(l),f=o.default.createStore({sourceUrl:function(t){return"/cluster/"+t+"/lbstatus"},override:function(t,e){var n=this;return(0,c.default)("PUT",a.default.qualifyUrl(this.sourceUrl(t)+"/override/"+e)).then(function(){n.trigger({}),u.default.success("Load balancer status successfully changed do '"+e+"' in node '"+t+"'")},function(n){u.default.error("Changing load balancer status in '"+t+"' failed: "+n,"Could not change load balancer status to '"+e+"' in node '"+t+"'")})}});exports.default=f,t.exports=exports.default},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(1),o=n(r),i=e(3),a=n(i),s=e(7),u=n(s),l=e(4),c=o.default.createStore({listenables:[],all:function(t){var e=a.default.qualifyUrl(u.default.SystemMessagesApiController.all(t).url);return(0,l.fetchPeriodically)("GET",e)}});exports.default=c,t.exports=exports.default},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(1),o=n(r),i=e(3),a=n(i),s=e(6),u=n(s),l=e(4),c=n(l),f=o.default.createStore({sourceUrl:function(t){return"/cluster/"+t+"/processing"},pause:function(t){var e=this;return(0,c.default)("POST",a.default.qualifyUrl(this.sourceUrl(t)+"/pause")).then(function(){e.trigger({}),u.default.success("Message processing paused successfully in '"+t+"'")},function(e){u.default.error("Pausing message processing in '"+t+"' failed: "+e,"Could not pause message processing in node '"+t+"'")})},resume:function(t){var e=this;return(0,c.default)("POST",a.default.qualifyUrl(this.sourceUrl(t)+"/resume")).then(function(){e.trigger({}),u.default.success("Message processing resumed successfully in '"+t+"'")},function(e){u.default.error("Resuming message processing in '"+t+"' failed: "+e,"Could not resume message processing in node '"+t+"'")})}});exports.default=f,t.exports=exports.default},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(1),o=n(r),i=e(3),a=n(i),s=e(6),u=n(s),l=e(4),c=n(l),f=o.default.createStore({sourceUrl:function(t){return"/cluster/"+t+"/shutdown"},shutdown:function(t){var e=this;return(0,c.default)("POST",a.default.qualifyUrl(this.sourceUrl(t))).then(function(){e.trigger({}),u.default.success("Node '"+t+"' will shutdown shortly")},function(e){u.default.error("Shutting down node '"+t+"' failed: "+e,"Could not send shutdown signal to node '"+t+"'")})}});exports.default=f,t.exports=exports.default},function(t,exports,e){"use strict";var n=e(7),r=e(3),o=e(6),i=e(4).default,a={testNaturalDate:function(t){var e=n.ToolsApiController.naturalDateTest(t).url,a=i("GET",r.qualifyUrl(e));return a.catch(function(t){422!==t.additional.status&&o.error("Loading keyword preview failed with status: "+t,"Could not load keyword preview")}),a},testGrok:function(t,e,a){var s=n.ToolsApiController.grokTest().url,u=i("POST",r.qualifyUrl(s),{pattern:t,string:a,named_captures_only:e});return u.catch(function(t){o.error("Details: "+t,"We were not able to run the grok extraction. Please check your parameters.")}),u},testJSON:function(t,e,a,s,u,l,c,f){var d=n.ToolsApiController.jsonTest().url,p={flatten:t,list_separator:e,key_separator:a,kv_separator:s,replace_key_whitespace:u,key_whitespace_replacement:l,key_prefix:c,string:f},h=i("POST",r.qualifyUrl(d),p);return h.catch(function(t){o.error("Details: "+t,"We were not able to run the JSON extraction. Please check your parameters.")}),h},testRegex:function(t,e){var a=n.ToolsApiController.regexTest().url,s=i("POST",r.qualifyUrl(a),{regex:t,string:e});return s.catch(function(t){o.error("Details: "+t,"Could not try regular expression. Make sure that it is valid.")}),s},testRegexReplace:function(t,e,a,s){var u=n.ToolsApiController.regexReplaceTest().url,l={regex:t,replacement:e,replace_all:a,string:s},c=i("POST",r.qualifyUrl(u),l);return c.catch(function(t){o.error("Details: "+t,"Could not try regular expression. Make sure that it is valid.")}),c},testSplitAndIndex:function(t,e,a){var s=n.ToolsApiController.splitAndIndexTest().url,u={split_by:t,index:e,string:a},l=i("POST",r.qualifyUrl(s),u);return l.catch(function(t){o.error("Details: "+t,"We were not able to run the split and index extraction. Please check your parameters.")}),l},testSubstring:function(t,e,a){var s=n.ToolsApiController.substringTest().url,u={start:t,end:e,string:a},l=i("POST",r.qualifyUrl(s),u);return l.catch(function(t){o.error("Details: "+t,"We were not able to run the substring extraction. Please check index boundaries.")}),l},testContainsString:function(t,e){var a=n.ToolsApiController.containsStringTest().url,s=i("POST",r.qualifyUrl(a),{search_string:t,string:e});return s.catch(function(t){o.error("Details: "+t,"Could not check if field contains the string")}),s},testLookupTable:function(t,e){var a=n.ToolsApiController.lookupTableTest().url,s=i("POST",r.qualifyUrl(a),{lookup_table_name:t,string:e});return s.catch(function(t){o.error("Details: "+t,"Could not check if lookup table translates the string")}),s}};t.exports=a},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(1),o=n(r),i=e(14),a=n(i),s=e(190),u=n(s),l=e(91),c=n(l),f=e(192),d=n(f),p=e(3),h=n(p),g=e(7),m=n(g),v=e(4),b=n(v),y=o.default.createStore({DEFAULT_LIMIT:150,listenables:[],search:function(t,e,n,r,o,i,s,l,c){var f=y.extractTimeRange(t,n),p=o||this.DEFAULT_LIMIT,g=(i-1)*p,v=h.default.qualifyUrl(m.default.UniversalSearchApiController.search(t,e,f,r,p,g,s,l,c).url);return(0,b.default)("GET",v).then(function(t){var e=a.default.extend({},t);return e.fields=t.fields.map(function(t){return{hash:(0,u.default)(t),name:t,standard_selected:"message"===t||"source"===t}}),e.messages=e.messages.map(function(t){return d.default.formatMessageSummary(t)}),e})},histogram:function(t,e,n,r,o,i){var a=y.extractTimeRange(t,n),s=h.default.qualifyUrl(m.default.UniversalSearchApiController.histogram(t,e,r,a,o).url);return(0,b.default)("GET",s).then(function(e){return e.histogram_boundaries=e.queried_timerange,e.histogram=c.default.format(e.results,e.histogram_boundaries,r,i,"relative"===t&&0===n.relative,null,!0),e})}});y.extractTimeRange=function(t,e){return"relative"===t?{range:e.relative}:e},exports.default=y,t.exports=exports.default},function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=e(6),r=e(3),o=e(7),i=e(4).default;exports.UsersStore={editUserFormUrl:function(t){return r.qualifyUrl("/system/users/edit/"+t)},create:function(t){var e=r.qualifyUrl(o.UsersApiController.create().url);return i("POST",e,t)},loadUsers:function(){var t=r.qualifyUrl(o.UsersApiController.list().url);return i("GET",t).then(function(t){return t.users},function(t){404!==t.additional.status&&n.error("Loading user list failed with status: "+t,"Could not load user list")})},load:function(t){var e=r.qualifyUrl(o.UsersApiController.load(encodeURIComponent(t)).url),a=i("GET",e);return a.catch(function(e){n.error("Loading user failed with status: "+e,"Could not load user "+t)}),a},deleteUser:function(t){var e=r.qualifyUrl(o.UsersApiController.delete(encodeURIComponent(t)).url),a=i("DELETE",e);return a.then(function(){n.success('User "'+t+'" was deleted successfully')},function(t){404!==t.additional.status&&n.error("Delete user failed with status: "+t,"Could not delete user")}),a},changePassword:function(t,e){var n=r.qualifyUrl(o.UsersApiController.changePassword(encodeURIComponent(t)).url);return i("PUT",n,e)},update:function(t,e){var n=r.qualifyUrl(o.UsersApiController.update(encodeURIComponent(t)).url);return i("PUT",n,e)}},t.exports=exports.UsersStore},function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=e(1),r=e(6),o=e(7),i=e(3),a=e(4).fetchPeriodically,s=e(4).default,u=e(8),l=u.getActions("Widgets"),c=n.createStore({listenables:[l],_serializeWidgetForUpdate:function(t){return{description:t.description,type:t.type,cache_time:t.cache_time,creator_user_id:t.creator_user_id,config:t.config}},addWidget:function(t,e,n,a){var u={description:n,type:e,config:a},l=i.qualifyUrl(o.DashboardsApiController.addWidget(t).url),c=s("POST",l,u);return c.then(function(t){return r.success("Widget created successfully"),t},function(t){404!==t.additional.status&&r.error("Creating widget failed with status: "+t,"Could not create widget")}),c},loadWidget:function(t,e){var n=i.qualifyUrl(o.DashboardsApiController.widget(t,e).url),s=a("GET",n);return s.catch(function(t){404!==t.additional.status&&r.error("Loading widget information failed with status: "+t,"Could not load widget information")}),s},updateWidget:function(t,e){var n=i.qualifyUrl(o.DashboardsApiController.updateWidget(t,e.id).url),a=s("PUT",n,this._serializeWidgetForUpdate(e));return a.then(function(t){return r.success("Widget updated successfully"),t},function(t){r.error('Updating widget "'+e.description+'" failed with status: '+t.message,"Could not update widget")}),a},loadValue:function(t,e,n){var r=i.qualifyUrl(o.DashboardsApiController.widgetValue(t,e,n).url);return a("GET",r)},removeWidget:function(t,e){var n=this,r=i.qualifyUrl(o.DashboardsApiController.removeWidget(t,e).url),a=s("DELETE",r).then(function(t){return n.trigger({delete:e}),t});return l.removeWidget.promise(a),a}});t.exports=c},function(t,exports){+function($){"use strict";function t(t){return this.each(function(){var n=$(this),r=n.data("bs.popover"),o="object"==typeof t&&t;!r&&/destroy|hide/.test(t)||(r||n.data("bs.popover",r=new e(this,o)),"string"==typeof t&&r[t]())})}var e=function(t,e){this.init("popover",t,e)};if(!$.fn.tooltip)throw new Error("Popover requires tooltip.js");e.VERSION="3.3.7",e.DEFAULTS=$.extend({},$.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:''}),e.prototype=$.extend({},$.fn.tooltip.Constructor.prototype),e.prototype.constructor=e,e.prototype.getDefaults=function(){return e.DEFAULTS},e.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),n=this.getContent();t.find(".popover-title")[this.options.html?"html":"text"](e),t.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof n?"html":"append":"text"](n),t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide()},e.prototype.hasContent=function(){return this.getTitle()||this.getContent()},e.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},e.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var n=$.fn.popover;$.fn.popover=t,$.fn.popover.Constructor=e,$.fn.popover.noConflict=function(){return $.fn.popover=n,this}}(jQuery)},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t,e){var n={};for(var r in t)e.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}Object.defineProperty(exports,"__esModule",{value:!0});var o=Object.assign||function(t){for(var e=1;e=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}function i(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e0)}},{key:"allowYearChange",value:function(){return this.props.canChangeMonth}},{key:"showMonth",value:function(t,e){var n=this;this.allowMonth(t)&&this.setState({currentMonth:S.startOfMonth(t)},function(){e&&e(),n.props.onMonthChange&&n.props.onMonthChange(n.state.currentMonth)})}},{key:"showNextMonth",value:function(t){if(this.allowNextMonth()){var e=this.props.pagedNavigation?this.props.numberOfMonths:1,n=C.addMonths(this.state.currentMonth,e);this.showMonth(n,t)}}},{key:"showPreviousMonth",value:function(t){if(this.allowPreviousMonth()){var e=this.props.pagedNavigation?this.props.numberOfMonths:1,n=C.addMonths(this.state.currentMonth,-e);this.showMonth(n,t)}}},{key:"showNextYear",value:function(){if(this.allowYearChange()){var t=C.addMonths(this.state.currentMonth,12);this.showMonth(t)}}},{key:"showPreviousYear",value:function(){if(this.allowYearChange()){var t=C.addMonths(this.state.currentMonth,-12);this.showMonth(t)}}},{key:"focusFirstDayOfMonth",value:function(){this.getDayNodes()[0].focus()}},{key:"focusLastDayOfMonth",value:function(){var t=this.getDayNodes();t[t.length-1].focus()}},{key:"focusPreviousDay",value:function(t){var e=this,n=this.getDayNodes(),r=[].concat(i(n)).indexOf(t);0===r?this.showPreviousMonth(function(){return e.focusLastDayOfMonth()}):n[r-1].focus()}},{key:"focusNextDay",value:function(t){var e=this,n=this.getDayNodes(),r=[].concat(i(n)).indexOf(t);r===n.length-1?this.showNextMonth(function(){return e.focusFirstDayOfMonth()}):n[r+1].focus()}},{key:"focusNextWeek",value:function(t){var e=this,n=this.getDayNodes(),r=[].concat(i(n)).indexOf(t);r>n.length-8?this.showNextMonth(function(){var t=n.length-r,o=7-t;e.getDayNodes()[o].focus()}):n[r+7].focus()}},{key:"focusPreviousWeek",value:function(t){var e=this,n=this.getDayNodes(),r=[].concat(i(n)).indexOf(t);r<=6?this.showPreviousMonth(function(){var t=e.getDayNodes();t[t.length-7+r].focus()}):n[r-7].focus()}},{key:"handleKeyDown",value:function(t){switch(t.persist(),t.keyCode){case R.default.LEFT:this.showPreviousMonth();break;case R.default.RIGHT:this.showNextMonth();break;case R.default.UP:this.showPreviousYear();break;case R.default.DOWN:this.showNextYear()}this.props.onKeyDown&&this.props.onKeyDown(t)}},{key:"handleDayKeyDown",value:function(t,e,n){switch(n.persist(),n.keyCode){case R.default.LEFT:S.cancelEvent(n),this.focusPreviousDay(n.target);break;case R.default.RIGHT:S.cancelEvent(n),this.focusNextDay(n.target);break;case R.default.UP:S.cancelEvent(n),this.focusPreviousWeek(n.target);break;case R.default.DOWN:S.cancelEvent(n),this.focusNextWeek(n.target);break;case R.default.ENTER:case R.default.SPACE:S.cancelEvent(n),this.props.onDayClick&&this.handleDayClick(t,e,n)}this.props.onDayKeyDown&&this.props.onDayKeyDown(t,e,n)}},{key:"handleDayClick",value:function(t,e,n){n.persist(),e.outside&&this.handleOutsideDayClick(t),this.props.onDayClick(t,e,n)}},{key:"handleOutsideDayClick",value:function(t){var e=this.state.currentMonth,n=this.props.numberOfMonths,r=S.getMonthsDiff(e,t);r>0&&r>=n?this.showNextMonth():r<0&&this.showPreviousMonth()}},{key:"renderNavbar",value:function(){var t=this.props,e=t.labels,n=t.locale,r=t.localeUtils,i=t.canChangeMonth,a=t.navbarElement,s=o(t,["labels","locale","localeUtils","canChangeMonth","navbarElement"]);if(!i)return null;var u={classNames:this.props.classNames,className:this.props.classNames.navBar,nextMonth:this.getNextNavigableMonth(),previousMonth:this.getPreviousNavigableMonth(),showPreviousButton:this.allowPreviousMonth(),showNextButton:this.allowNextMonth(),onNextClick:this.showNextMonth,onPreviousClick:this.showPreviousMonth,dir:s.dir,labels:e,locale:n,localeUtils:r};return d.default.isValidElement(a)?d.default.cloneElement(a,u):d.default.createElement(a,u)}},{key:"renderDayInMonth",value:function(t,e){var n=S.getModifiersFromProps(this.props),r=T.getModifiersForDay(t,n);C.isSameDay(t,new Date)&&!Object.prototype.hasOwnProperty.call(n,this.props.classNames.today)&&r.push(this.props.classNames.today),t.getMonth()!==e.getMonth()&&r.push(this.props.classNames.outside);var o=t.getMonth()!==e.getMonth(),i=null;this.props.onDayClick&&!o&&(i=-1,1===t.getDate()&&(i=this.props.tabIndex));var a=""+t.getFullYear()+t.getMonth()+t.getDate(),s={};return r.forEach(function(t){s[t]=!0}),d.default.createElement(_.default,{key:(o?"outside-":"")+a,classNames:this.props.classNames,day:t,modifiers:s,modifiersStyles:this.props.modifiersStyles,empty:o&&!this.props.enableOutsideDays&&!this.props.fixedWeeks,tabIndex:i,ariaLabel:this.props.localeUtils.formatDay(t,this.props.locale),ariaDisabled:o||r.indexOf("disabled")>-1,ariaSelected:r.indexOf("selected")>-1,onMouseEnter:this.props.onDayMouseEnter,onMouseLeave:this.props.onDayMouseLeave,onKeyDown:this.handleDayKeyDown,onTouchStart:this.props.onDayTouchStart,onTouchEnd:this.props.onDayTouchEnd,onFocus:this.props.onDayFocus,onClick:this.props.onDayClick?this.handleDayClick:void 0},this.props.renderDay(t,s))}},{key:"renderMonths",value:function(){for(var t=[],e=S.getFirstDayOfWeekFromProps(this.props),n=0;n1&&t.fromMonth){var r=S.getMonthsDiff(t.fromMonth,n);n=C.addMonths(t.fromMonth,Math.floor(r/t.numberOfMonths)*t.numberOfMonths)}return{currentMonth:n}},this.dayPicker=null,this.handleTodayButtonClick=function(e){t.showMonth(new Date),e.target.blur()}};exports.default=N},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t){var e=t.classNames,n=t.date,r=t.months,o=t.locale,a=t.localeUtils,s=t.onClick;return i.default.createElement("div",{className:e.caption,onClick:s,role:"heading"},r?r[n.getMonth()]+" "+n.getFullYear():a.formatMonthTitle(n,o))}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=r;var o=e(2),i=n(o),a=e(51),s=n(a);r.propTypes={date:s.default.instanceOf(Date),months:s.default.arrayOf(s.default.string),locale:s.default.string,localeUtils:s.default.localeUtils,onClick:s.default.func,classNames:s.default.shape({caption:s.default.string.isRequired}).isRequired}},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t){var e=t.classNames,n=t.month,r=t.months,o=t.fixedWeeks,a=t.captionElement,s=t.weekdayElement,u=t.locale,d=t.localeUtils,p=t.weekdaysLong,h=t.weekdaysShort,g=t.firstDayOfWeek,m=t.onCaptionClick,v=t.children,b=t.footer,y=t.showWeekNumbers,_=t.onWeekClick,x={date:n,classNames:e,months:r,localeUtils:d,locale:u,onClick:m?function(t){return m(n,t)}:void 0},w=i.default.isValidElement(a)?i.default.cloneElement(a,x):i.default.createElement(a,x),k=(0,c.getWeekArray)(n,g,o);return i.default.createElement("div",{className:e.month,role:"grid"},w,i.default.createElement(l.default,{classNames:e,weekdaysShort:h,weekdaysLong:p,firstDayOfWeek:g,showWeekNumbers:y,locale:u,localeUtils:d,weekdayElement:s}),i.default.createElement("div",{className:e.body,role:"rowgroup"},k.map(function(t){var r=void 0;return y&&(r=(0,f.getWeekNumber)(t[0])),i.default.createElement("div",{key:t[0].getTime(),className:e.week,role:"row"},y&&i.default.createElement("div",{className:e.weekNumber,tabIndex:0,role:"gridcell",onClick:function(e){return _(r,t,e)}},r),t.map(function(t){return v(t,n)}))})),b&&i.default.createElement("div",{className:e.footer},b))}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=r;var o=e(2),i=n(o),a=e(51),s=n(a),u=e(484),l=n(u),c=e(125),f=e(79);r.propTypes={classNames:s.default.shape({month:s.default.string.isRequired,body:s.default.string.isRequired,week:s.default.string.isRequired}).isRequired,month:s.default.instanceOf(Date).isRequired,months:s.default.arrayOf(s.default.string),fixedWeeks:s.default.bool,captionElement:s.default.oneOfType([s.default.element,s.default.func,s.default.instanceOf(i.default.Component)]).isRequired,weekdayElement:s.default.oneOfType([s.default.element,s.default.func,s.default.instanceOf(i.default.Component)]),footer:s.default.node,showWeekNumbers:s.default.bool,onWeekClick:s.default.func,locale:s.default.string.isRequired,localeUtils:s.default.localeUtils.isRequired,weekdaysLong:s.default.arrayOf(s.default.string),weekdaysShort:s.default.arrayOf(s.default.string),firstDayOfWeek:s.default.number.isRequired,onCaptionClick:s.default.func,children:s.default.func.isRequired}},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t){for(var e=t.classNames,n=t.firstDayOfWeek,r=t.showWeekNumbers,o=t.weekdaysLong,a=t.weekdaysShort,s=t.locale,u=t.localeUtils,l=t.weekdayElement,c=[],f=0;f<7;f+=1){var d=(f+n)%7,p={key:f,className:e.weekday,weekday:d,weekdaysLong:o,weekdaysShort:a,localeUtils:u,locale:s},h=i.default.isValidElement(l)?i.default.cloneElement(l,p):i.default.createElement(l,p);c.push(h)}return i.default.createElement("div",{className:e.weekdays,role:"rowgroup"},i.default.createElement("div",{className:e.weekdaysRow,role:"row"},r&&i.default.createElement("div",{className:e.weekday}),c))}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=r;var o=e(2),i=n(o),a=e(51),s=n(a);r.propTypes={classNames:s.default.shape({weekday:s.default.string.isRequired,weekdays:s.default.string.isRequired,weekdaysRow:s.default.string.isRequired}).isRequired,firstDayOfWeek:s.default.number.isRequired,weekdaysLong:s.default.arrayOf(s.default.string),weekdaysShort:s.default.arrayOf(s.default.string),showWeekNumbers:s.default.bool,locale:s.default.string.isRequired,localeUtils:s.default.localeUtils.isRequired,weekdayElement:s.default.oneOfType([s.default.element,s.default.func,s.default.instanceOf(i.default.Component)])}},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t,e,n){if(t)return function(r){r.persist(),t(e,n,r)}}function o(t){var e=t.classNames,n=t.modifiersStyles,o=t.day,i=t.tabIndex,s=t.empty,l=t.modifiers,c=t.onMouseEnter,f=t.onMouseLeave,d=t.onClick,p=t.onKeyDown,h=t.onTouchStart,g=t.onTouchEnd,m=t.onFocus,v=t.ariaLabel,b=t.ariaDisabled,y=t.ariaSelected,_=t.children,x=e.day;e!==u.default?x+=" "+Object.keys(l).join(" "):x+=Object.keys(l).map(function(t){return" "+x+"--"+t}).join("");var w=void 0;return n&&Object.keys(l).filter(function(t){return!!n[t]}).forEach(function(t){w=Object.assign({},w,n[t])}),s?a.default.createElement("div",{role:"gridcell","aria-disabled":!0,className:x,style:w}):a.default.createElement("div",{className:x,tabIndex:i||0,style:w,role:"gridcell","aria-label":v,"aria-disabled":b.toString(),"aria-selected":y.toString(),onClick:r(d,o,l),onKeyDown:r(p,o,l),onMouseEnter:r(c,o,l),onMouseLeave:r(f,o,l),onTouchEnd:r(g,o,l),onTouchStart:r(h,o,l),onFocus:r(m,o,l)},_)}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=o;var i=e(2),a=n(i),s=e(124),u=n(s),l=e(51),c=n(l);o.propTypes={classNames:c.default.shape({day:c.default.string.isRequired}).isRequired,day:c.default.instanceOf(Date).isRequired,children:c.default.node.isRequired,ariaDisabled:c.default.bool,ariaLabel:c.default.string,ariaSelected:c.default.bool,empty:c.default.bool,modifiers:c.default.object,modifiersStyles:c.default.object,onClick:c.default.func,onKeyDown:c.default.func,onMouseEnter:c.default.func,onMouseLeave:c.default.func,onTouchEnd:c.default.func,onTouchStart:c.default.func,onFocus:c.default.func,tabIndex:c.default.number},o.defaultProps={modifiers:{},empty:!1}},function(t,exports,e){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default={LEFT:37,UP:38,RIGHT:39,DOWN:40,ENTER:13,SPACE:32,ESC:27}},function(t,exports,e){var n=e(488);"string"==typeof n&&(n=[[t.i,n,""]]);var r={};r.transform=void 0;e(21)(n,r);n.locals&&(t.exports=n.locals)},function(t,exports,e){exports=t.exports=e(20)(void 0),exports.push([t.i,'.DayPicker{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;position:relative;padding:1rem 0;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.DayPicker,.DayPicker-Month{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.DayPicker-Month{display:table;border-collapse:collapse;border-spacing:0;margin:0 1rem}.DayPicker-NavBar{position:absolute;left:0;right:0;padding:0 .5rem;top:1rem}.DayPicker-NavButton{position:absolute;width:1.5rem;height:1.5rem;background-repeat:no-repeat;background-position:50%;background-size:contain;cursor:pointer}.DayPicker-NavButton--prev{left:1rem;background-image:url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjI2cHgiIGhlaWdodD0iNTBweCIgdmlld0JveD0iMCAwIDI2IDUwIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy4zLjIgKDEyMDQzKSAtIGh0dHA6Ly93d3cuYm9oZW1pYW5jb2RpbmcuY29tL3NrZXRjaCAtLT4KICAgIDx0aXRsZT5wcmV2PC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPgogICAgPGRlZnM+PC9kZWZzPgogICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgc2tldGNoOnR5cGU9Ik1TUGFnZSI+CiAgICAgICAgPGcgaWQ9InByZXYiIHNrZXRjaDp0eXBlPSJNU0xheWVyR3JvdXAiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEzLjM5MzE5MywgMjUuMDAwMDAwKSBzY2FsZSgtMSwgMSkgdHJhbnNsYXRlKC0xMy4zOTMxOTMsIC0yNS4wMDAwMDApIHRyYW5zbGF0ZSgwLjg5MzE5MywgMC4wMDAwMDApIiBmaWxsPSIjNTY1QTVDIj4KICAgICAgICAgICAgPHBhdGggZD0iTTAsNDkuMTIzNzMzMSBMMCw0NS4zNjc0MzQ1IEwyMC4xMzE4NDU5LDI0LjcyMzA2MTIgTDAsNC4yMzEzODMxNCBMMCwwLjQ3NTA4NDQ1OSBMMjUsMjQuNzIzMDYxMiBMMCw0OS4xMjM3MzMxIEwwLDQ5LjEyMzczMzEgWiIgaWQ9InJpZ2h0IiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIj48L3BhdGg+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4K")}.DayPicker-NavButton--next{right:1rem;background-image:url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjI2cHgiIGhlaWdodD0iNTBweCIgdmlld0JveD0iMCAwIDI2IDUwIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy4zLjIgKDEyMDQzKSAtIGh0dHA6Ly93d3cuYm9oZW1pYW5jb2RpbmcuY29tL3NrZXRjaCAtLT4KICAgIDx0aXRsZT5uZXh0PC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPgogICAgPGRlZnM+PC9kZWZzPgogICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgc2tldGNoOnR5cGU9Ik1TUGFnZSI+CiAgICAgICAgPGcgaWQ9Im5leHQiIHNrZXRjaDp0eXBlPSJNU0xheWVyR3JvdXAiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAuOTUxNDUxLCAwLjAwMDAwMCkiIGZpbGw9IiM1NjVBNUMiPgogICAgICAgICAgICA8cGF0aCBkPSJNMCw0OS4xMjM3MzMxIEwwLDQ1LjM2NzQzNDUgTDIwLjEzMTg0NTksMjQuNzIzMDYxMiBMMCw0LjIzMTM4MzE0IEwwLDAuNDc1MDg0NDU5IEwyNSwyNC43MjMwNjEyIEwwLDQ5LjEyMzczMzEgTDAsNDkuMTIzNzMzMSBaIiBpZD0icmlnaHQiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPgo=")}.DayPicker-Caption{display:table-caption;height:1.5rem;text-align:center}.DayPicker-Weekdays{display:table-header-group}.DayPicker-WeekdaysRow{display:table-row}.DayPicker-Weekday{display:table-cell;padding:.5rem;font-size:.875em;text-align:center;color:#8b9898}.DayPicker-Body{display:table-row-group}.DayPicker-Week{display:table-row}.DayPicker-Day{border:1px solid #eaecec;text-align:center}.DayPicker-Day,.DayPicker-WeekNumber{display:table-cell;padding:.5rem;cursor:pointer;vertical-align:middle}.DayPicker-WeekNumber{text-align:right;min-width:1rem;font-size:.75em;color:#8b9898}.DayPicker--interactionDisabled .DayPicker-Day{cursor:default}.DayPicker-Footer{display:table-caption;caption-side:bottom;padding-top:.5rem}.DayPicker-TodayButton{border:none;background-image:none;background-color:transparent;-webkit-box-shadow:none;box-shadow:none;cursor:pointer;color:#4a90e2;font-size:.875em}.DayPicker-Day--today{color:#d0021b;font-weight:500}.DayPicker-Day--disabled{background-color:#eff1f1}.DayPicker-Day--disabled,.DayPicker-Day--outside{color:#dce0e0;cursor:default}.DayPicker-Day--sunday{background-color:#f7f8f8}.DayPicker-Day--sunday:not(.DayPicker-Day--today){color:#dce0e0}.DayPicker-Day--selected:not(.DayPicker-Day--disabled):not(.DayPicker-Day--outside){color:#fff;background-color:#4a90e2}.DayPickerInput{display:inline-block}.DayPickerInput-OverlayWrapper{position:relative}.DayPickerInput-Overlay{left:0;position:absolute;background:#fff;-webkit-box-shadow:0 2px 5px rgba(0,0,0,.15);box-shadow:0 2px 5px rgba(0,0,0,.15)}',""])},function(t,exports){t.exports=function(t){var e="undefined"!=typeof window&&window.location;if(!e)throw new Error("fixUrls requires window.location");if(!t||"string"!=typeof t)return t;var n=e.protocol+"//"+e.host,r=n+e.pathname.replace(/\/[^\/]*$/,"/");return t.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(t,e){var o=e.trim().replace(/^"(.*)"$/,function(t,e){return e}).replace(/^'(.*)'$/,function(t,e){return e});if(/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/)/i.test(o))return t;var i;return i=0===o.indexOf("//")?o:0===o.indexOf("/")?n+o:r+o.replace(/^\.\//,""),"url("+JSON.stringify(i)+")"})}},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(5),o=n(r),i=e(2),a=n(i),s=a.default.createClass({displayName:"DocumentTitle",propTypes:{title:o.default.string.isRequired,children:o.default.oneOfType([o.default.arrayOf(o.default.element),o.default.element]).isRequired},componentDidMount:function(){document.title=document.title+" - "+this.props.title},componentWillUnmount:function(){document.title=this.defaultTitle},defaultTitle:"Graylog",render:function(){return this.props.children}});exports.default=s,t.exports=exports.default},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(2),o=n(r),i=e(5),a=n(i),s=e(69),u=n(s),l=o.default.createClass({displayName:"ExternalLink",propTypes:{href:a.default.string,children:a.default.node.isRequired,target:a.default.string,iconClass:a.default.string,className:a.default.string},getDefaultProps:function(){return{href:"",target:"_blank",iconClass:"fa-external-link",className:""}},render:function(){var t=o.default.createElement("span",null,this.props.children," ",o.default.createElement("i",{className:"fa "+this.props.iconClass}));return""===u.default.trim(this.props.href)?t:o.default.createElement("a",{href:this.props.href,target:this.props.target,className:this.props.className},t)}});exports.default=l,t.exports=exports.default},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t,e){var n={};for(var r in t)e.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}Object.defineProperty(exports,"__esModule",{value:!0});var o=e(2),i=n(o),a=e(5),s=n(a),u=e(16),l=e(46),c=i.default.createClass({displayName:"ExternalLinkButton",propTypes:{href:s.default.string.isRequired,children:s.default.node.isRequired,bsStyle:s.default.string,bsSize:s.default.string,target:s.default.string,iconClass:s.default.string,className:s.default.string,disabled:s.default.bool},getDefaultProps:function(){return{bsStyle:"default",bsSize:"",target:"_blank",iconClass:"fa-external-link",className:"",disabled:!1}},render:function(){var t=this.props,e=t.iconClass,n=t.children,o=r(t,["iconClass","children"]);return i.default.createElement(u.Button,o,i.default.createElement(l.ExternalLink,{iconClass:e},n))}});exports.default=c,t.exports=exports.default},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(5),o=n(r),i=e(2),a=n(i),s=e(47),u=e(290),l=n(u),c=a.default.createClass({displayName:"ISODurationInput",propTypes:{duration:o.default.string.isRequired,update:o.default.func.isRequired,label:o.default.string,help:o.default.string,validator:o.default.func,errorText:o.default.string,autoFocus:o.default.bool,required:o.default.bool},getDefaultProps:function(){return{label:"Duration",help:"as ISO8601 Duration",validator:function(){return!0},errorText:"invalid",autoFocus:!1,required:!1}},getInitialState:function(){return{duration:this.props.duration}},_onUpdate:function(){var t=this.refs.isoDuration.getValue().toUpperCase();t.startsWith("P")||(t="P"+t),this.setState({duration:t}),l.default.isValidDuration(t,this.props.validator)&&this.props.update(t)},render:function(){return a.default.createElement(s.Input,{type:"text",ref:"isoDuration",label:this.props.label,onChange:this._onUpdate,value:this.state.duration,help:this.props.help,addonAfter:l.default.humanizeDuration(this.state.duration,this.props.validator,this.props.errorText),bsStyle:l.default.durationStyle(this.state.duration,this.props.validator),autofocus:this.props.autoFocus,required:this.props.required})}});exports.default=c,t.exports=exports.default},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(5),o=n(r),i=e(2),a=n(i),s=e(1),u=n(s),l=e(277),c=e(23),f=n(c),d=e(76),p=n(d),h=e(46),g=f.default.getStore("Nodes"),m=a.default.createClass({displayName:"LinkToNode",propTypes:{nodeId:o.default.string.isRequired},mixins:[u.default.connect(g)],render:function(){if(!this.state.nodes)return a.default.createElement(h.Spinner,null);var t=this.state.nodes[this.props.nodeId];if(t){var e=t.is_master?"fa fa-star master-node":"fa fa-code-fork",n=t.is_master?"This is the master node in the cluster":"";return a.default.createElement(l.Link,{to:p.default.SYSTEM.NODES.SHOW(this.props.nodeId)},a.default.createElement("i",{className:e,title:n})," ",t.short_node_id," / ",t.hostname)}return a.default.createElement("i",null,"Unknown Node")}});exports.default=m,t.exports=exports.default},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(5),o=n(r),i=e(2),a=n(i),s=e(16),u=e(46),l=e(496),c=n(l),f=a.default.createClass({displayName:"LoadingIndicator",propTypes:{text:o.default.string},getDefaultProps:function(){return{text:"Loading..."}},render:function(){return a.default.createElement(s.Alert,{bsStyle:"info",className:c.default.loadingIndicator},a.default.createElement(u.Spinner,{text:this.props.text}))}});exports.default=f,t.exports=exports.default},function(t,exports,e){var n=e(497);"string"==typeof n&&(n=[[t.i,n,""]]);var r={};r.transform=void 0;e(21)(n,r);n.locals&&(t.exports=n.locals)},function(t,exports,e){exports=t.exports=e(20)(void 0),exports.push([t.i,"._3UCIyTaK6eZ7SAxXLfUXVD.alert.alert-info{box-shadow:0 2px 10px rgba(0,0,0,.2);position:fixed;top:60px;left:50%;height:32px;width:200px;margin-left:-100px;padding:5px 10px;text-align:center;z-index:2000}",""]),exports.locals={loadingIndicator:"_3UCIyTaK6eZ7SAxXLfUXVD"}},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=Object.assign||function(t){for(var e=1;er?1:0}))},_renderOption:function(t){return s.default.createElement("span",{key:t.value,title:"{option.value} [{option.value}]"},t.label," [",t.value,"]")},render:function(){if(!this.state.locales)return s.default.createElement(Spinner,null);var t=this._formatLocales(this.state.locales);return s.default.createElement(f.default,r({ref:"locale"},this.props,{placeholder:"Pick a locale",options:t,optionRenderer:this._renderOption}))}});exports.default=g,t.exports=exports.default},function(t,e,n){"use strict";function r(t){var e=t.onMouseDown;return b.a.createElement("span",{className:"Select-arrow",onMouseDown:e})}function o(t){for(var e=0;e-1)return!1;if(r.filterOption)return r.filterOption.call(a,t,e);if(!e)return!0;var i=String(t[r.valueKey]),s=String(t[r.labelKey]);return r.ignoreAccents&&("label"!==r.matchProp&&(i=o(i)),"value"!==r.matchProp&&(s=o(s))),r.ignoreCase&&("label"!==r.matchProp&&(i=i.toLowerCase()),"value"!==r.matchProp&&(s=s.toLowerCase())),"start"===r.matchPos?"label"!==r.matchProp&&i.substr(0,e.length)===e||"value"!==r.matchProp&&s.substr(0,e.length)===e:"label"!==r.matchProp&&i.indexOf(e)>=0||"value"!==r.matchProp&&s.indexOf(e)>=0})}function s(t){var e=t.focusedOption,n=t.focusOption,r=t.inputValue,o=t.instancePrefix,i=(t.labelKey,t.onFocus),a=t.onOptionRef,s=t.onSelect,u=t.optionClassName,l=t.optionComponent,c=t.optionRenderer,f=t.options,d=t.removeValue,p=t.selectValue,h=t.valueArray,g=t.valueKey,m=l;return f.map(function(t,l){var f=h&&h.some(function(e){return e[g]==t[g]}),v=t===e,y=E()(u,{"Select-option":!0,"is-selected":f,"is-focused":v,"is-disabled":t.disabled});return b.a.createElement(m,{className:y,focusOption:n,inputValue:r,instancePrefix:o,isDisabled:t.disabled,isFocused:v,isSelected:f,key:"option-"+l+"-"+t[g],onFocus:i,onSelect:s,option:t,optionIndex:l,ref:function(t){a(t,v)},removeValue:d,selectValue:p},c(t,l,r))})}function u(){return b.a.createElement("span",{className:"Select-clear",dangerouslySetInnerHTML:{__html:"×"}})}function l(t){return b.a.createElement(q,t)}function c(t){return b.a.createElement(q,t)}function f(t){var e=t.option,n=t.options,r=t.labelKey,o=t.valueKey;return 0===n.filter(function(t){return t[r]===e[r]||t[o]===e[o]}).length}function d(t){return!!t.label}function p(t){var e=t.label,n=t.labelKey,r=t.valueKey,o={};return o[r]=e,o[n]=e,o.className="Select-create-option-placeholder",o}function h(t){return'Create option "'+t+'"'}function g(t){switch(t.keyCode){case 9:case 13:case 188:return!0;default:return!1}}function m(t){return b.a.createElement(q,t)}Object.defineProperty(e,"__esModule",{value:!0}),n.d(e,"Async",function(){return V}),n.d(e,"AsyncCreatable",function(){return Y}),n.d(e,"Creatable",function(){return W}),n.d(e,"Value",function(){return j}),n.d(e,"Option",function(){return I}),n.d(e,"defaultMenuRenderer",function(){return s}),n.d(e,"defaultArrowRenderer",function(){return r}),n.d(e,"defaultClearRenderer",function(){return u}),n.d(e,"defaultFilterOptions",function(){return a});var v=n(2),b=n.n(v),y=n(5),_=n.n(y),x=n(39),w=(n.n(x),n(500)),k=n.n(w),S=n(121),E=n.n(S);r.propTypes={onMouseDown:_.a.func};var C=[{base:"A",letters:/[\u0041\u24B6\uFF21\u00C0\u00C1\u00C2\u1EA6\u1EA4\u1EAA\u1EA8\u00C3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\u00C4\u01DE\u1EA2\u00C5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F]/g},{base:"AA",letters:/[\uA732]/g},{base:"AE",letters:/[\u00C6\u01FC\u01E2]/g},{base:"AO",letters:/[\uA734]/g},{base:"AU",letters:/[\uA736]/g},{base:"AV",letters:/[\uA738\uA73A]/g},{base:"AY",letters:/[\uA73C]/g},{base:"B",letters:/[\u0042\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181]/g},{base:"C",letters:/[\u0043\u24B8\uFF23\u0106\u0108\u010A\u010C\u00C7\u1E08\u0187\u023B\uA73E]/g},{base:"D",letters:/[\u0044\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779]/g},{base:"DZ",letters:/[\u01F1\u01C4]/g},{base:"Dz",letters:/[\u01F2\u01C5]/g},{base:"E",letters:/[\u0045\u24BA\uFF25\u00C8\u00C9\u00CA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\u00CB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E]/g},{base:"F",letters:/[\u0046\u24BB\uFF26\u1E1E\u0191\uA77B]/g},{base:"G",letters:/[\u0047\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E]/g},{base:"H",letters:/[\u0048\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D]/g},{base:"I",letters:/[\u0049\u24BE\uFF29\u00CC\u00CD\u00CE\u0128\u012A\u012C\u0130\u00CF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197]/g},{base:"J",letters:/[\u004A\u24BF\uFF2A\u0134\u0248]/g},{base:"K",letters:/[\u004B\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2]/g},{base:"L",letters:/[\u004C\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780]/g},{base:"LJ",letters:/[\u01C7]/g},{base:"Lj",letters:/[\u01C8]/g},{base:"M",letters:/[\u004D\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C]/g},{base:"N",letters:/[\u004E\u24C3\uFF2E\u01F8\u0143\u00D1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4]/g},{base:"NJ",letters:/[\u01CA]/g},{base:"Nj",letters:/[\u01CB]/g},{base:"O",letters:/[\u004F\u24C4\uFF2F\u00D2\u00D3\u00D4\u1ED2\u1ED0\u1ED6\u1ED4\u00D5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\u00D6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\u00D8\u01FE\u0186\u019F\uA74A\uA74C]/g},{base:"OI",letters:/[\u01A2]/g},{base:"OO",letters:/[\uA74E]/g},{base:"OU",letters:/[\u0222]/g},{base:"P",letters:/[\u0050\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754]/g},{base:"Q",letters:/[\u0051\u24C6\uFF31\uA756\uA758\u024A]/g},{base:"R",letters:/[\u0052\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782]/g},{base:"S",letters:/[\u0053\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784]/g},{base:"T",letters:/[\u0054\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786]/g},{base:"TZ",letters:/[\uA728]/g},{base:"U",letters:/[\u0055\u24CA\uFF35\u00D9\u00DA\u00DB\u0168\u1E78\u016A\u1E7A\u016C\u00DC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244]/g},{base:"V",letters:/[\u0056\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245]/g},{base:"VY",letters:/[\uA760]/g},{base:"W",letters:/[\u0057\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72]/g},{base:"X",letters:/[\u0058\u24CD\uFF38\u1E8A\u1E8C]/g},{base:"Y",letters:/[\u0059\u24CE\uFF39\u1EF2\u00DD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE]/g},{base:"Z",letters:/[\u005A\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762]/g},{base:"a",letters:/[\u0061\u24D0\uFF41\u1E9A\u00E0\u00E1\u00E2\u1EA7\u1EA5\u1EAB\u1EA9\u00E3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\u00E4\u01DF\u1EA3\u00E5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250]/g},{base:"aa",letters:/[\uA733]/g},{base:"ae",letters:/[\u00E6\u01FD\u01E3]/g},{base:"ao",letters:/[\uA735]/g},{base:"au",letters:/[\uA737]/g},{base:"av",letters:/[\uA739\uA73B]/g},{base:"ay",letters:/[\uA73D]/g},{base:"b",letters:/[\u0062\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253]/g},{base:"c",letters:/[\u0063\u24D2\uFF43\u0107\u0109\u010B\u010D\u00E7\u1E09\u0188\u023C\uA73F\u2184]/g},{base:"d",letters:/[\u0064\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A]/g},{base:"dz",letters:/[\u01F3\u01C6]/g},{base:"e",letters:/[\u0065\u24D4\uFF45\u00E8\u00E9\u00EA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\u00EB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD]/g},{base:"f",letters:/[\u0066\u24D5\uFF46\u1E1F\u0192\uA77C]/g},{base:"g",letters:/[\u0067\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F]/g},{base:"h",letters:/[\u0068\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265]/g},{base:"hv",letters:/[\u0195]/g},{base:"i",letters:/[\u0069\u24D8\uFF49\u00EC\u00ED\u00EE\u0129\u012B\u012D\u00EF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131]/g},{base:"j",letters:/[\u006A\u24D9\uFF4A\u0135\u01F0\u0249]/g},{base:"k",letters:/[\u006B\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3]/g},{base:"l",letters:/[\u006C\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u017F\u0142\u019A\u026B\u2C61\uA749\uA781\uA747]/g},{base:"lj",letters:/[\u01C9]/g},{base:"m",letters:/[\u006D\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F]/g},{base:"n",letters:/[\u006E\u24DD\uFF4E\u01F9\u0144\u00F1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5]/g},{base:"nj",letters:/[\u01CC]/g},{base:"o",letters:/[\u006F\u24DE\uFF4F\u00F2\u00F3\u00F4\u1ED3\u1ED1\u1ED7\u1ED5\u00F5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\u00F6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\u00F8\u01FF\u0254\uA74B\uA74D\u0275]/g},{base:"oi",letters:/[\u01A3]/g},{base:"ou",letters:/[\u0223]/g},{base:"oo",letters:/[\uA74F]/g},{base:"p",letters:/[\u0070\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755]/g},{base:"q",letters:/[\u0071\u24E0\uFF51\u024B\uA757\uA759]/g},{base:"r",letters:/[\u0072\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783]/g},{base:"s",letters:/[\u0073\u24E2\uFF53\u00DF\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B]/g},{base:"t",letters:/[\u0074\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787]/g},{base:"tz",letters:/[\uA729]/g},{base:"u",letters:/[\u0075\u24E4\uFF55\u00F9\u00FA\u00FB\u0169\u1E79\u016B\u1E7B\u016D\u00FC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289]/g},{base:"v",letters:/[\u0076\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C]/g},{base:"vy",letters:/[\uA761]/g},{base:"w",letters:/[\u0077\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73]/g},{base:"x",letters:/[\u0078\u24E7\uFF58\u1E8B\u1E8D]/g},{base:"y",letters:/[\u0079\u24E8\uFF59\u1EF3\u00FD\u0177\u1EF9\u0233\u1E8F\u00FF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF]/g},{base:"z",letters:/[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763]/g}],A="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},O=(function(){function t(t){this.value=t}function e(e){function n(t,e){return new Promise(function(n,o){var s={key:t,arg:e,resolve:n,reject:o,next:null};a?a=a.next=s:(i=a=s,r(t,e))})}function r(n,i){try{var a=e[n](i),s=a.value;s instanceof t?Promise.resolve(s.value).then(function(t){r("next",t)},function(t){r("throw",t)}):o(a.done?"return":"normal",a.value)}catch(t){o("throw",t)}}function o(t,e){switch(t){case"return":i.resolve({value:e,done:!0});break;case"throw":i.reject(e);break;default:i.resolve({value:e,done:!1})}i=i.next,i?r(i.key,i.arg):a=null}var i,a;this._invoke=n,"function"!=typeof e.return&&(this.return=void 0)}"function"==typeof Symbol&&Symbol.asyncIterator&&(e.prototype[Symbol.asyncIterator]=function(){return this}),e.prototype.next=function(t){return this._invoke("next",t)},e.prototype.throw=function(t){return this._invoke("throw",t)},e.prototype.return=function(t){return this._invoke("return",t)}}(),function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}),M=function(){function t(t,e){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n},R=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e},I=function(t){function e(t){O(this,e);var n=R(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.handleMouseDown=n.handleMouseDown.bind(n),n.handleMouseEnter=n.handleMouseEnter.bind(n),n.handleMouseMove=n.handleMouseMove.bind(n),n.handleTouchStart=n.handleTouchStart.bind(n),n.handleTouchEnd=n.handleTouchEnd.bind(n),n.handleTouchMove=n.handleTouchMove.bind(n),n.onFocus=n.onFocus.bind(n),n}return F(e,t),M(e,[{key:"blockEvent",value:function(t){t.preventDefault(),t.stopPropagation(),"A"===t.target.tagName&&"href"in t.target&&(t.target.target?window.open(t.target.href,t.target.target):window.location.href=t.target.href)}},{key:"handleMouseDown",value:function(t){t.preventDefault(),t.stopPropagation(),this.props.onSelect(this.props.option,t)}},{key:"handleMouseEnter",value:function(t){this.onFocus(t)}},{key:"handleMouseMove",value:function(t){this.onFocus(t)}},{key:"handleTouchEnd",value:function(t){this.dragging||this.handleMouseDown(t)}},{key:"handleTouchMove",value:function(t){this.dragging=!0}},{key:"handleTouchStart",value:function(t){this.dragging=!1}},{key:"onFocus",value:function(t){this.props.isFocused||this.props.onFocus(this.props.option,t)}},{key:"render",value:function(){var t=this.props,e=t.option,n=t.instancePrefix,r=t.optionIndex,o=E()(this.props.className,e.className);return e.disabled?b.a.createElement("div",{className:o,onMouseDown:this.blockEvent,onClick:this.blockEvent},this.props.children):b.a.createElement("div",{className:o,style:e.style,role:"option","aria-label":e.label,onMouseDown:this.handleMouseDown,onMouseEnter:this.handleMouseEnter,onMouseMove:this.handleMouseMove,onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove,onTouchEnd:this.handleTouchEnd,id:n+"-option-"+r,title:e.title},this.props.children)}}]),e}(b.a.Component);I.propTypes={children:_.a.node,className:_.a.string,instancePrefix:_.a.string.isRequired,isDisabled:_.a.bool,isFocused:_.a.bool,isSelected:_.a.bool,onFocus:_.a.func,onSelect:_.a.func,onUnfocus:_.a.func,option:_.a.object.isRequired,optionIndex:_.a.number};var j=function(t){function e(t){O(this,e);var n=R(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.handleMouseDown=n.handleMouseDown.bind(n),n.onRemove=n.onRemove.bind(n),n.handleTouchEndRemove=n.handleTouchEndRemove.bind(n),n.handleTouchMove=n.handleTouchMove.bind(n),n.handleTouchStart=n.handleTouchStart.bind(n),n}return F(e,t),M(e,[{key:"handleMouseDown",value:function(t){if("mousedown"!==t.type||0===t.button)return this.props.onClick?(t.stopPropagation(),void this.props.onClick(this.props.value,t)):void(this.props.value.href&&t.stopPropagation())}},{key:"onRemove",value:function(t){t.preventDefault(),t.stopPropagation(),this.props.onRemove(this.props.value)}},{key:"handleTouchEndRemove",value:function(t){this.dragging||this.onRemove(t)}},{key:"handleTouchMove",value:function(t){this.dragging=!0}},{key:"handleTouchStart",value:function(t){this.dragging=!1}},{key:"renderRemoveIcon",value:function(){if(!this.props.disabled&&this.props.onRemove)return b.a.createElement("span",{className:"Select-value-icon","aria-hidden":"true",onMouseDown:this.onRemove,onTouchEnd:this.handleTouchEndRemove,onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove},"×")}},{key:"renderLabel",value:function(){return this.props.onClick||this.props.value.href?b.a.createElement("a",{className:"Select-value-label",href:this.props.value.href,target:this.props.value.target,onMouseDown:this.handleMouseDown,onTouchEnd:this.handleMouseDown},this.props.children):b.a.createElement("span",{className:"Select-value-label",role:"option","aria-selected":"true",id:this.props.id},this.props.children)}},{key:"render",value:function(){return b.a.createElement("div",{className:E()("Select-value",this.props.value.className),style:this.props.value.style,title:this.props.value.title},this.renderRemoveIcon(),this.renderLabel())}}]),e}(b.a.Component);j.propTypes={children:_.a.node,disabled:_.a.bool,id:_.a.string,onClick:_.a.func,onRemove:_.a.func,value:_.a.object.isRequired};/*! Copyright (c) 2017 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/react-select */ var N=function(t){return"string"==typeof t?t:null!==t&&JSON.stringify(t)||""},z=_.a.oneOfType([_.a.string,_.a.node]),L=_.a.oneOfType([_.a.string,_.a.number]),U=1,q=function(t){function e(t){O(this,e);var n=R(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return["clearValue","focusOption","handleInputBlur","handleInputChange","handleInputFocus","handleInputValueChange","handleKeyDown","handleMenuScroll","handleMouseDown","handleMouseDownOnArrow","handleMouseDownOnMenu","handleRequired","handleTouchOutside","handleTouchMove","handleTouchStart","handleTouchEnd","handleTouchEndClearValue","handleValueClick","getOptionLabel","onOptionRef","removeValue","selectValue"].forEach(function(t){return n[t]=n[t].bind(n)}),n.state={inputValue:"",isFocused:!1,isOpen:!1,isPseudoFocused:!1,required:!1},n}return F(e,t),M(e,[{key:"componentWillMount",value:function(){this._instancePrefix="react-select-"+(this.props.instanceId||++U)+"-";var t=this.getValueArray(this.props.value);this.props.required&&this.setState({required:this.handleRequired(t[0],this.props.multi)})}},{key:"componentDidMount",value:function(){void 0!==this.props.autofocus&&"undefined"!=typeof console&&console.warn("Warning: The autofocus prop has changed to autoFocus, support will be removed after [email protected]"),(this.props.autoFocus||this.props.autofocus)&&this.focus()}},{key:"componentWillReceiveProps",value:function(t){var e=this.getValueArray(t.value,t);t.required?this.setState({required:this.handleRequired(e[0],t.multi)}):this.props.required&&this.setState({required:!1})}},{key:"componentDidUpdate",value:function(t,e){if(this.menu&&this.focused&&this.state.isOpen&&!this.hasScrolledToOption){var n=Object(x.findDOMNode)(this.focused),r=Object(x.findDOMNode)(this.menu),o=r.scrollTop,i=o+r.offsetHeight,a=n.offsetTop,s=a+n.offsetHeight;(o>a||if.bottom?l.scrollTop=u.offsetTop+u.clientHeight-l.offsetHeight:c.tope.offsetHeight&&e.scrollHeight-e.offsetHeight-e.scrollTop<=0&&this.props.onMenuScrollToBottom()}}},{key:"handleRequired",value:function(t,e){return!t||(e?0===t.length:0===Object.keys(t).length)}},{key:"getOptionLabel",value:function(t){return t[this.props.labelKey]}},{key:"getValueArray",value:function(t,e){var n=this,r="object"===(void 0===e?"undefined":A(e))?e:this.props;if(r.multi){if("string"==typeof t&&(t=t.split(r.delimiter)),!Array.isArray(t)){if(null===t||void 0===t)return[];t=[t]}return t.map(function(t){return n.expandValue(t,r)}).filter(function(t){return t})}var o=this.expandValue(t,r);return o?[o]:[]}},{key:"expandValue",value:function(t,e){var n=void 0===t?"undefined":A(t);if("string"!==n&&"number"!==n&&"boolean"!==n)return t;var r=e.options,o=e.valueKey;if(r)for(var i=0;ir&&this.focusOption(n[r+1])}},{key:"popValue",value:function(){var t=this.getValueArray(this.props.value);t.length&&!1!==t[t.length-1].clearableValue&&this.setValue(this.props.multi?t.slice(0,t.length-1):null)}},{key:"removeValue",value:function(t){var e=this,n=this.getValueArray(this.props.value);this.setValue(n.filter(function(n){return n[e.props.valueKey]!==t[e.props.valueKey]})),this.focus()}},{key:"clearValue",value:function(t){t&&"mousedown"===t.type&&0!==t.button||(t.preventDefault(),this.setValue(this.getResetValue()),this.setState({isOpen:!1,inputValue:this.handleInputValueChange("")},this.focus))}},{key:"getResetValue",value:function(){return void 0!==this.props.resetValue?this.props.resetValue:this.props.multi?[]:null}},{key:"focusOption",value:function(t){this.setState({focusedOption:t})}},{key:"focusNextOption",value:function(){this.focusAdjacentOption("next")}},{key:"focusPreviousOption",value:function(){this.focusAdjacentOption("previous")}},{key:"focusPageUpOption",value:function(){this.focusAdjacentOption("page_up")}},{key:"focusPageDownOption",value:function(){this.focusAdjacentOption("page_down")}},{key:"focusStartOption",value:function(){this.focusAdjacentOption("start")}},{key:"focusEndOption",value:function(){this.focusAdjacentOption("end")}},{key:"focusAdjacentOption",value:function(t){var e=this._visibleOptions.map(function(t,e){return{option:t,index:e}}).filter(function(t){return!t.option.disabled});if(this._scrollToFocusedOptionOnUpdate=!0,!this.state.isOpen)return void this.setState({isOpen:!0,inputValue:"",focusedOption:this._focusedOption||(e.length?e["next"===t?0:e.length-1].option:null)});if(e.length){for(var n=-1,r=0;r0?n-=1:n=e.length-1;else if("start"===t)n=0;else if("end"===t)n=e.length-1;else if("page_up"===t){var o=n-this.props.pageSize;n=o<0?0:o}else if("page_down"===t){var o=n+this.props.pageSize;n=o>e.length-1?e.length-1:o}-1===n&&(n=0),this.setState({focusedIndex:e[n].index,focusedOption:e[n].option})}}},{key:"getFocusedOption",value:function(){return this._focusedOption}},{key:"selectFocusedOption",value:function(){if(this._focusedOption)return this.selectValue(this._focusedOption)}},{key:"renderLoading",value:function(){if(this.props.isLoading)return b.a.createElement("span",{className:"Select-loading-zone","aria-hidden":"true"},b.a.createElement("span",{className:"Select-loading"}))}},{key:"renderValue",value:function(t,e){var n=this,r=this.props.valueRenderer||this.getOptionLabel,o=this.props.valueComponent;if(!t.length)return this.state.inputValue?null:b.a.createElement("div",{className:"Select-placeholder"},this.props.placeholder);var i=this.props.onValueClick?this.handleValueClick:null;return this.props.multi?t.map(function(t,e){return b.a.createElement(o,{id:n._instancePrefix+"-value-"+e,instancePrefix:n._instancePrefix,disabled:n.props.disabled||!1===t.clearableValue,key:"value-"+e+"-"+t[n.props.valueKey],onClick:i,onRemove:n.removeValue,value:t},r(t,e),b.a.createElement("span",{className:"Select-aria-only"}," "))}):this.state.inputValue?void 0:(e&&(i=null),b.a.createElement(o,{id:this._instancePrefix+"-value-item",disabled:this.props.disabled,instancePrefix:this._instancePrefix,onClick:i,value:t[0]},r(t[0])))}},{key:"renderInput",value:function(t,e){var n,r=this,o=E()("Select-input",this.props.inputProps.className),i=!!this.state.isOpen,a=E()((n={},T(n,this._instancePrefix+"-list",i),T(n,this._instancePrefix+"-backspace-remove-message",this.props.multi&&!this.props.disabled&&this.state.isFocused&&!this.state.inputValue),n)),s=D({},this.props.inputProps,{role:"combobox","aria-expanded":""+i,"aria-owns":a,"aria-haspopup":""+i,"aria-activedescendant":i?this._instancePrefix+"-option-"+e:this._instancePrefix+"-value","aria-describedby":this.props["aria-describedby"],"aria-labelledby":this.props["aria-labelledby"],"aria-label":this.props["aria-label"],className:o,tabIndex:this.props.tabIndex,onBlur:this.handleInputBlur,onChange:this.handleInputChange,onFocus:this.handleInputFocus,ref:function(t){return r.input=t},required:this.state.required,value:this.state.inputValue});if(this.props.inputRenderer)return this.props.inputRenderer(s);if(this.props.disabled||!this.props.searchable){var u=this.props.inputProps,l=(u.inputClassName,P(u,["inputClassName"])),c=E()(T({},this._instancePrefix+"-list",i));return b.a.createElement("div",D({},l,{role:"combobox","aria-expanded":i,"aria-owns":c,"aria-activedescendant":i?this._instancePrefix+"-option-"+e:this._instancePrefix+"-value","aria-labelledby":this.props["aria-labelledby"],"aria-label":this.props["aria-label"],className:o,tabIndex:this.props.tabIndex||0,onBlur:this.handleInputBlur,onFocus:this.handleInputFocus,ref:function(t){return r.input=t},"aria-disabled":""+!!this.props.disabled,style:{border:0,width:1,display:"inline-block"}}))}return this.props.autosize?b.a.createElement(k.a,D({id:this.props.id},s,{minWidth:"5"})):b.a.createElement("div",{className:o,key:"input-wrap"},b.a.createElement("input",D({id:this.props.id},s)))}},{key:"renderClear",value:function(){var t=this.getValueArray(this.props.value);if(this.props.clearable&&t.length&&!this.props.disabled&&!this.props.isLoading){var e=this.props.clearRenderer();return b.a.createElement("span",{className:"Select-clear-zone",title:this.props.multi?this.props.clearAllText:this.props.clearValueText,"aria-label":this.props.multi?this.props.clearAllText:this.props.clearValueText,onMouseDown:this.clearValue,onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove,onTouchEnd:this.handleTouchEndClearValue},e)}}},{key:"renderArrow",value:function(){if(this.props.arrowRenderer){var t=this.handleMouseDownOnArrow,e=this.state.isOpen,n=this.props.arrowRenderer({onMouseDown:t,isOpen:e});return n?b.a.createElement("span",{className:"Select-arrow-zone",onMouseDown:t},n):null}}},{key:"filterOptions",value:function(t){var e=this.state.inputValue,n=this.props.options||[];if(this.props.filterOptions){return("function"==typeof this.props.filterOptions?this.props.filterOptions:a)(n,e,t,{filterOption:this.props.filterOption,ignoreAccents:this.props.ignoreAccents,ignoreCase:this.props.ignoreCase,labelKey:this.props.labelKey,matchPos:this.props.matchPos,matchProp:this.props.matchProp,valueKey:this.props.valueKey,trimFilter:this.props.trimFilter})}return n}},{key:"onOptionRef",value:function(t,e){e&&(this.focused=t)}},{key:"renderMenu",value:function(t,e,n){return t&&t.length?this.props.menuRenderer({focusedOption:n,focusOption:this.focusOption,inputValue:this.state.inputValue,instancePrefix:this._instancePrefix,labelKey:this.props.labelKey,onFocus:this.focusOption,onSelect:this.selectValue,optionClassName:this.props.optionClassName,optionComponent:this.props.optionComponent,optionRenderer:this.props.optionRenderer||this.getOptionLabel,options:t,selectValue:this.selectValue,removeValue:this.removeValue,valueArray:e,valueKey:this.props.valueKey,onOptionRef:this.onOptionRef}):this.props.noResultsText?b.a.createElement("div",{className:"Select-noresults"},this.props.noResultsText):null}},{key:"renderHiddenField",value:function(t){var e=this;if(this.props.name){if(this.props.joinValues){var n=t.map(function(t){return N(t[e.props.valueKey])}).join(this.props.delimiter);return b.a.createElement("input",{type:"hidden",ref:function(t){return e.value=t},name:this.props.name,value:n,disabled:this.props.disabled})}return t.map(function(t,n){return b.a.createElement("input",{key:"hidden."+n,type:"hidden",ref:"value"+n,name:e.props.name,value:N(t[e.props.valueKey]),disabled:e.props.disabled})})}}},{key:"getFocusableOptionIndex",value:function(t){var e=this._visibleOptions;if(!e.length)return null;var n=this.props.valueKey,r=this.state.focusedOption||t;if(r&&!r.disabled){var o=-1;if(e.some(function(t,e){var i=t[n]===r[n];return i&&(o=e),i}),-1!==o)return o}for(var i=0;i=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(exports,"__esModule",{value:!0});var s=Object.assign||function(t){for(var e=1;e0&&!--r&&(n(),n=null)}},function(t,exports,e){exports=t.exports=e(20)(void 0),exports.push([t.i,".Select{position:relative}.Select input::-webkit-contacts-auto-fill-button,.Select input::-webkit-credentials-auto-fill-button{display:none!important}.Select input::-ms-clear,.Select input::-ms-reveal{display:none!important}.Select,.Select div,.Select input,.Select span{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.Select.is-disabled .Select-arrow-zone{cursor:default;pointer-events:none;opacity:.35}.Select.is-disabled>.Select-control{background-color:#f9f9f9}.Select.is-disabled>.Select-control:hover{box-shadow:none}.Select.is-open>.Select-control{border-bottom-right-radius:0;border-bottom-left-radius:0;background:#fff;border-color:#b3b3b3 #ccc #d9d9d9}.Select.is-open>.Select-control .Select-arrow{top:-2px;border-color:transparent transparent #999;border-width:0 5px 5px}.Select.is-searchable.is-focused:not(.is-open)>.Select-control,.Select.is-searchable.is-open>.Select-control{cursor:text}.Select.is-focused>.Select-control{background:#fff}.Select.is-focused:not(.is-open)>.Select-control{border-color:#007eff;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 0 3px rgba(0,126,255,.1);background:#fff}.Select.has-value.is-clearable.Select--single>.Select-control .Select-value{padding-right:42px}.Select.has-value.is-pseudo-focused.Select--single>.Select-control .Select-value .Select-value-label,.Select.has-value.Select--single>.Select-control .Select-value .Select-value-label{color:#333}.Select.has-value.is-pseudo-focused.Select--single>.Select-control .Select-value a.Select-value-label,.Select.has-value.Select--single>.Select-control .Select-value a.Select-value-label{cursor:pointer;text-decoration:none}.Select.has-value.is-pseudo-focused.Select--single>.Select-control .Select-value a.Select-value-label:focus,.Select.has-value.is-pseudo-focused.Select--single>.Select-control .Select-value a.Select-value-label:hover,.Select.has-value.Select--single>.Select-control .Select-value a.Select-value-label:focus,.Select.has-value.Select--single>.Select-control .Select-value a.Select-value-label:hover{color:#007eff;outline:none;text-decoration:underline}.Select.has-value.is-pseudo-focused.Select--single>.Select-control .Select-value a.Select-value-label:focus,.Select.has-value.Select--single>.Select-control .Select-value a.Select-value-label:focus{background:#fff}.Select.has-value.is-pseudo-focused .Select-input{opacity:0}.Select.is-open .Select-arrow,.Select .Select-arrow-zone:hover>.Select-arrow{border-top-color:#666}.Select.Select--rtl{direction:rtl;text-align:right}.Select-control{background-color:#fff;border-color:#d9d9d9 #ccc #b3b3b3;border-radius:4px;border:1px solid #ccc;color:#333;cursor:default;display:table;border-spacing:0;border-collapse:separate;height:36px;outline:none;overflow:hidden;position:relative;width:100%}.Select-control:hover{box-shadow:0 1px 0 rgba(0,0,0,.06)}.Select-control .Select-input:focus{outline:none;background:#fff}.Select--single>.Select-control .Select-value,.Select-placeholder{bottom:0;color:#aaa;left:0;line-height:34px;padding-left:10px;padding-right:10px;position:absolute;right:0;top:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.Select-input{height:34px;padding-left:10px;padding-right:10px;vertical-align:middle}.Select-input>input{width:100%;background:none transparent;border:0 none;box-shadow:none;cursor:default;display:inline-block;font-family:inherit;font-size:inherit;margin:0;outline:none;line-height:17px;padding:8px 0 12px;-webkit-appearance:none}.is-focused .Select-input>input{cursor:text}.has-value.is-pseudo-focused .Select-input{opacity:0}.Select-control:not(.is-searchable)>.Select-input{outline:none}.Select-loading-zone{cursor:pointer;display:table-cell;text-align:center}.Select-loading,.Select-loading-zone{position:relative;vertical-align:middle;width:16px}.Select-loading{-webkit-animation:Select-animation-spin .4s infinite linear;-o-animation:Select-animation-spin .4s infinite linear;animation:Select-animation-spin .4s infinite linear;height:16px;box-sizing:border-box;border-radius:50%;border:2px solid #ccc;border-right-color:#333;display:inline-block}.Select-clear-zone{-webkit-animation:Select-animation-fadeIn .2s;-o-animation:Select-animation-fadeIn .2s;animation:Select-animation-fadeIn .2s;color:#999;cursor:pointer;display:table-cell;position:relative;text-align:center;vertical-align:middle;width:17px}.Select-clear-zone:hover{color:#d0021b}.Select-clear{display:inline-block;font-size:18px;line-height:1}.Select--multi .Select-clear-zone{width:17px}.Select-arrow-zone{cursor:pointer;display:table-cell;position:relative;text-align:center;vertical-align:middle;width:25px;padding-right:5px}.Select--rtl .Select-arrow-zone{padding-right:0;padding-left:5px}.Select-arrow{border-color:#999 transparent transparent;border-style:solid;border-width:5px 5px 2.5px;display:inline-block;height:0;width:0;position:relative}.Select-control>:last-child{padding-right:5px}.Select--multi .Select-multi-value-wrapper{display:inline-block}.Select .Select-aria-only{position:absolute;display:inline-block;height:1px;width:1px;margin:-1px;clip:rect(0,0,0,0);overflow:hidden;float:left}@-webkit-keyframes Select-animation-fadeIn{0%{opacity:0}to{opacity:1}}@keyframes Select-animation-fadeIn{0%{opacity:0}to{opacity:1}}.Select-menu-outer{border-bottom-right-radius:4px;border-bottom-left-radius:4px;background-color:#fff;border:1px solid #ccc;border-top-color:#e6e6e6;box-shadow:0 1px 0 rgba(0,0,0,.06);box-sizing:border-box;margin-top:-1px;max-height:200px;position:absolute;top:100%;width:100%;z-index:1;-webkit-overflow-scrolling:touch}.Select-menu{max-height:198px;overflow-y:auto}.Select-option{box-sizing:border-box;background-color:#fff;color:#666;cursor:pointer;display:block;padding:8px 10px}.Select-option:last-child{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.Select-option.is-selected{background-color:#f5faff;background-color:rgba(0,126,255,.04);color:#333}.Select-option.is-focused{background-color:#ebf5ff;background-color:rgba(0,126,255,.08);color:#333}.Select-option.is-disabled{color:#ccc;cursor:default}.Select-noresults{box-sizing:border-box;color:#999;cursor:default;display:block;padding:8px 10px}.Select--multi .Select-input{vertical-align:middle;margin-left:10px;padding:0}.Select--multi.Select--rtl .Select-input{margin-left:0;margin-right:10px}.Select--multi.has-value .Select-input{margin-left:5px}.Select--multi .Select-value{background-color:#ebf5ff;background-color:rgba(0,126,255,.08);border-radius:2px;border:1px solid #c2e0ff;border:1px solid rgba(0,126,255,.24);color:#007eff;display:inline-block;font-size:.9em;line-height:1.4;margin-left:5px;margin-top:5px;vertical-align:top}.Select--multi .Select-value-icon,.Select--multi .Select-value-label{display:inline-block;vertical-align:middle}.Select--multi .Select-value-label{border-bottom-right-radius:2px;border-top-right-radius:2px;cursor:default;padding:2px 5px}.Select--multi a.Select-value-label{color:#007eff;cursor:pointer;text-decoration:none}.Select--multi a.Select-value-label:hover{text-decoration:underline}.Select--multi .Select-value-icon{cursor:pointer;border-bottom-left-radius:2px;border-top-left-radius:2px;border-right:1px solid #c2e0ff;border-right:1px solid rgba(0,126,255,.24);padding:1px 5px 3px}.Select--multi .Select-value-icon:focus,.Select--multi .Select-value-icon:hover{background-color:#d8eafd;background-color:rgba(0,113,230,.08);color:#0071e6}.Select--multi .Select-value-icon:active{background-color:#c2e0ff;background-color:rgba(0,126,255,.24)}.Select--multi.Select--rtl .Select-value{margin-left:0;margin-right:5px}.Select--multi.Select--rtl .Select-value-icon{border-right:none;border-left:1px solid #c2e0ff;border-left:1px solid rgba(0,126,255,.24)}.Select--multi.is-disabled .Select-value{background-color:#fcfcfc;border:1px solid #e3e3e3;color:#333}.Select--multi.is-disabled .Select-value-icon{cursor:not-allowed;border-right:1px solid #e3e3e3}.Select--multi.is-disabled .Select-value-icon:active,.Select--multi.is-disabled .Select-value-icon:focus,.Select--multi.is-disabled .Select-value-icon:hover{background-color:#fcfcfc}@keyframes Select-animation-spin{to{transform:rotate(1turn)}}@-webkit-keyframes Select-animation-spin{to{-webkit-transform:rotate(1turn)}}",""])},function(t,exports,e){var n,r=0,o=e(504);"string"==typeof o&&(o=[[t.i,o,""]]),o.locals&&(exports.locals=o.locals),exports.use=exports.ref=function(){return r++||(n=e(21)(o,{})),exports},exports.unuse=exports.unref=function(){r>0&&!--r&&(n(),n=null)}},function(t,exports,e){exports=t.exports=e(20)(void 0),exports.push([t.i,".select-sm .Select-control,.select-sm .Select-input,.select-sm .Select-input>input{height:28px}.select-sm .Select-placeholder,.select-sm .Select-value{line-height:28px!important}.select-sm .Select-input>input{padding:0}",""])},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(5),o=n(r),i=e(2),a=n(i),s=e(16),u=e(47),l=e(264),c=n(l),f=e(506),d=(n(f),a.default.createClass({displayName:"KeyValueTable",propTypes:{pairs:o.default.object.isRequired,headers:o.default.array,editable:o.default.bool,onChange:o.default.func,className:o.default.string,containerClassName:o.default.string,actionsSize:o.default.oneOf(["large","medium","small","xsmall"])},getInitialState:function(){return{newKey:"",newValue:""}},getDefaultProps:function(){return{headers:["Name","Value","Actions"],editable:!1,actionsSize:"xsmall",className:"",containerClassName:""}},_onPairsChange:function(t){this.props.onChange&&this.props.onChange(t)},_bindValue:function(t){var e={};e[t.target.name]=t.target.value,this.setState(e)},_addRow:function(){var t=c.default.clone(this.props.pairs);t[this.state.newKey]=this.state.newValue,this._onPairsChange(t),this.setState({newKey:"",newValue:""})},_deleteRow:function(t){var e=this;return function(){if(window.confirm("Are you sure you want to delete property '"+t+"'?")){var n=c.default.clone(e.props.pairs);delete n[t],e._onPairsChange(n)}}},_formattedHeaders:function(t){var e=this;return a.default.createElement("tr",null,t.map(function(n,r){var o={};if(r===t.length-1){if(!e.props.editable)return null;o.width=75}return a.default.createElement("th",{key:n,style:o},n)}))},_formattedRows:function(t){var e=this;return Object.keys(t).sort().map(function(n){var r=void 0;if(e.props.editable){var o=[];o.push(a.default.createElement(s.Button,{key:"delete-"+n,bsStyle:"danger",bsSize:e.props.actionsSize,onClick:e._deleteRow(n)},"Delete")),r=a.default.createElement("td",null,o)}return a.default.createElement("tr",{key:n},a.default.createElement("td",null,n),a.default.createElement("td",null,t[n]),r)})},_newRow:function(){if(!this.props.editable)return null;var t=!this.state.newKey||!this.state.newValue;return a.default.createElement("tr",null,a.default.createElement("td",null,a.default.createElement(u.Input,{type:"text",name:"newKey",id:"newKey",bsSize:"small",placeholder:this.props.headers[0],value:this.state.newKey,onChange:this._bindValue})),a.default.createElement("td",null,a.default.createElement(u.Input,{type:"text",name:"newValue",id:"newValue",bsSize:"small",placeholder:this.props.headers[1],value:this.state.newValue,onChange:this._bindValue})),a.default.createElement("td",null,a.default.createElement(s.Button,{bsStyle:"success",bsSize:"small",onClick:this._addRow,disabled:t},"Add")))},render:function(){return a.default.createElement("div",{className:"key-value-table-component"},a.default.createElement("div",{className:"table-responsive "+this.props.containerClassName},a.default.createElement("table",{className:"table table-striped "+this.props.className},a.default.createElement("thead",null,this._formattedHeaders(this.props.headers)),a.default.createElement("tbody",null,this._formattedRows(this.props.pairs),this._newRow()))))}}));exports.default=d,t.exports=exports.default},function(t,exports,e){var n=e(507);"string"==typeof n&&(n=[[t.i,n,""]]);var r={};r.transform=void 0;e(21)(n,r);n.locals&&(t.exports=n.locals)},function(t,exports,e){exports=t.exports=e(20)(void 0),exports.push([t.i,".form-horizontal .form-group .key-value-table-component .form-group{margin-left:0;margin-right:0}",""])},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(5),o=n(r),i=e(2),a=n(i),s=e(16),u=a.default.createClass({displayName:"OverlayElement",propTypes:{overlay:o.default.element,placement:o.default.oneOf(["top","bottom","right","left"]),trigger:o.default.oneOfType([o.default.oneOf(["click","hover","focus"]),o.default.arrayOf(o.default.oneOf(["click","hover","focus"]))]),useOverlay:o.default.bool,children:o.default.oneOfType([o.default.arrayOf(o.default.element),o.default.element]).isRequired},render:function(){return this.props.overlay&&this.props.useOverlay?a.default.createElement(s.OverlayTrigger,{placement:this.props.placement,trigger:this.props.trigger,overlay:this.props.overlay,rootClose:!0},a.default.createElement("span",null,this.props.children)):this.props.children}});exports.default=u,t.exports=exports.default},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(5),o=n(r),i=e(2),a=n(i),s=e(16),u=a.default.createClass({displayName:"Page",propTypes:{href:o.default.string,page:o.default.oneOfType([o.default.string,o.default.number]).isRequired,onPageChanged:o.default.func.isRequired,isDisabled:o.default.bool,isActive:o.default.bool},render:function(){var t=this,e="";return this.props.isActive&&(e="active"),a.default.createElement(s.Pager.Item,{href:this.props.href,className:e,disabled:this.props.isDisabled,onSelect:function(){return t.props.onPageChanged(t.props.page)}},this.props.page)}});exports.default=u,t.exports=exports.default},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(5),o=n(r),i=e(2),a=n(i),s=e(16),u=e(291),l=n(u),c=a.default.createClass({displayName:"PageErrorOverview",propTypes:{errors:o.default.array.isRequired},componentDidMount:function(){l.default.use()},componentWillUnmount:function(){l.default.unuse()},_formatErrors:function(t){var e=t?t.map(function(t){return a.default.createElement("li",null,t.toString())}):[];return a.default.createElement("ul",null,e,a.default.createElement("li",null,"Check your Graylog logs for more information."))},render:function(){return a.default.createElement(s.Row,{className:"jumbotron-container"},a.default.createElement(s.Col,{mdOffset:2,md:8},a.default.createElement(s.Jumbotron,null,a.default.createElement("h1",null,"Error getting data"),a.default.createElement("p",null,"We had trouble fetching some data required to build this page, so here is a picture instead."),this._formatErrors(this.props.errors))))}});exports.default=c,t.exports=exports.default},function(t,exports,e){exports=t.exports=e(20)(void 0),exports.push([t.i,"body{background:url("+e(512)+") no-repeat 50% fixed;-moz-background-size:cover;-webkit-background-size:cover;-o-background-size:cover;background-size:cover}.jumbotron-container{height:82vh}.jumbotron{background-color:hsla(0,0%,100%,.8);text-align:center}.jumbotron h1{font-size:52px;margin-bottom:15px}",""])},function(t,exports,e){t.exports=e.p+"31a71554a7917f4d60fb34b775a158da.jpg"},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(5),o=n(r),i=e(2),a=n(i),s=e(16),u=e(47),l=a.default.createClass({displayName:"PaginatedList",propTypes:{children:o.default.node.isRequired,onChange:o.default.func.isRequired,pageSize:o.default.number,pageSizes:o.default.arrayOf(o.default.number),totalItems:o.default.number.isRequired,showPageSizeSelect:o.default.bool},getDefaultProps:function(){var t=[10,50,100];return{pageSizes:t,pageSize:t[0],showPageSizeSelect:!0}},getInitialState:function(){return{currentPage:1,pageSize:this.props.pageSize}},_onChangePageSize:function(t){t.preventDefault();var e=Number(t.target.value);this.setState({pageSize:e}),this.props.onChange(this.state.currentPage,e)},_onChangePage:function(t,e){e.preventDefault();var n=Number(t);this.setState({currentPage:n}),this.props.onChange(n,this.state.pageSize)},_pageSizeSelect:function(){return this.props.showPageSizeSelect?a.default.createElement("div",{className:"form-inline page-size",style:{float:"right"}},a.default.createElement(u.Input,{type:"select",bsSize:"small",label:"Show:",value:this.state.pageSize,onChange:this._onChangePageSize},this.props.pageSizes.map(function(t){return a.default.createElement("option",{key:"option-"+t,value:t},t)}))):null},render:function(){var t=Math.ceil(this.props.totalItems/this.state.pageSize);return 0===t?a.default.createElement("span",null,this.props.children):a.default.createElement("span",null,this._pageSizeSelect(),this.props.children,a.default.createElement("div",{className:"text-center"},a.default.createElement(s.Pagination,{bsSize:"small",items:t,maxButtons:10,activePage:this.state.currentPage,onSelect:this._onChangePage,prev:!0,next:!0,first:!0,last:!0})))}});exports.default=l,t.exports=exports.default},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(5),o=n(r),i=e(2),a=n(i),s=e(87),u=n(s),l=a.default.createClass({displayName:"Pluralize",propTypes:{singular:o.default.string.isRequired,plural:o.default.string.isRequired,value:o.default.oneOfType([o.default.number,o.default.string]).isRequired},render:function(){return a.default.createElement("span",null,u.default.pluralize(this.props.value,this.props.singular,this.props.plural))}});exports.default=l,t.exports=exports.default},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(5),o=n(r),i=e(2),a=n(i),s=e(516);e(523),e(525);var u=e(527),l=n(u),c=(0,s.WidthProvider)(s.Responsive),f={xxl:6,xl:5,lg:4,md:3,sm:2,xs:1},d={xxl:350*f.xxl,xl:350*f.xl,lg:350*f.lg,md:350*f.md,sm:350*f.sm,xs:350*f.xs},p=a.default.createClass({displayName:"ReactGridContainer",propTypes:{positions:o.default.object.isRequired,children:o.default.node.isRequired,onPositionsChange:o.default.func.isRequired,locked:o.default.bool,isResizable:a.default.PropTypes.bool,rowHeight:a.default.PropTypes.number},getDefaultProps:function(){return{locked:!1,isResizable:!0,rowHeight:200}},_onLayoutChange:function(t){var e=[];t.forEach(function(t){e.push({id:t.i,col:t.x+1,row:t.y+1,height:t.h,width:t.w})}),this.props.onPositionsChange(e)},render:function(){var t=this.props,e=t.children,n=t.locked,r=t.isResizable,o=t.positions,i=t.rowHeight,s=Object.keys(o).map(function(t){var e=o[t],n=e.col,r=e.row,i=e.height,a=e.width;return{i:t,x:n?Math.max(n-1,0):0,y:void 0===r||r<=0?1/0:r-1,h:i||1,w:a||1}});return a.default.createElement(c,{className:l.default.reactGridLayout+" "+(n||!r?"locked":"unlocked"),layouts:{xxl:s,xl:s,lg:s,md:s,sm:s,xs:s},breakpoints:d,cols:f,rowHeight:i,margin:[10,10],onDragStop:this._onLayoutChange,onResizeStop:this._onLayoutChange,draggableHandle:n?".no-handle":""},e)}});exports.default=p,t.exports=exports.default},function(t,exports,e){t.exports=e(197).default,t.exports.utils=e(80),t.exports.Responsive=e(521).default,t.exports.Responsive.utils=e(200),t.exports.WidthProvider=e(522).default},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}exports.__esModule=!0;var a=Object.assign||function(t){for(var e=1;et.w||n>t.maxW?new Error("minWidth larger than item width/maxWidth"):void 0},maxW:function(t,e){var n=t[e];return"number"!=typeof n?new Error("maxWidth not Number"):nt.h||n>t.maxH?new Error("minHeight larger than item height/maxHeight"):void 0},maxH:function(t,e){var n=t[e];return"number"!=typeof n?new Error("maxHeight not Number"):n=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}exports.__esModule=!0;var s=Object.assign||function(t){for(var e=1;e=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}exports.__esModule=!0;var s=Object.assign||function(t){for(var e=1;e.react-resizable-handle{position:absolute;width:20px;height:20px;bottom:0;right:0;background:url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/Pg08IS0tIEdlbmVyYXRvcjogQWRvYmUgRmlyZXdvcmtzIENTNiwgRXhwb3J0IFNWRyBFeHRlbnNpb24gYnkgQWFyb24gQmVhbGwgKGh0dHA6Ly9maXJld29ya3MuYWJlYWxsLmNvbSkgLiBWZXJzaW9uOiAwLjYuMSAgLS0+DTwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DTxzdmcgaWQ9IlVudGl0bGVkLVBhZ2UlMjAxIiB2aWV3Qm94PSIwIDAgNiA2IiBzdHlsZT0iYmFja2dyb3VuZC1jb2xvcjojZmZmZmZmMDAiIHZlcnNpb249IjEuMSINCXhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbDpzcGFjZT0icHJlc2VydmUiDQl4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjZweCIgaGVpZ2h0PSI2cHgiDT4NCTxnIG9wYWNpdHk9IjAuMzAyIj4NCQk8cGF0aCBkPSJNIDYgNiBMIDAgNiBMIDAgNC4yIEwgNCA0LjIgTCA0LjIgNC4yIEwgNC4yIDAgTCA2IDAgTCA2IDYgTCA2IDYgWiIgZmlsbD0iIzAwMDAwMCIvPg0JPC9nPg08L3N2Zz4=");background-position:100% 100%;padding:0 3px 3px 0;background-repeat:no-repeat;background-origin:content-box;box-sizing:border-box;cursor:se-resize}',""])},function(t,exports,e){var n=e(526);"string"==typeof n&&(n=[[t.i,n,""]]);var r={};r.transform=void 0;e(21)(n,r);n.locals&&(t.exports=n.locals)},function(t,exports,e){exports=t.exports=e(20)(void 0),exports.push([t.i,'.react-resizable{position:relative}.react-resizable-handle{position:absolute;width:20px;height:20px;bottom:0;right:0;background:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2IDYiIHN0eWxlPSJiYWNrZ3JvdW5kLWNvbG9yOiNmZmZmZmYwMCIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSI2cHgiIGhlaWdodD0iNnB4Ij48ZyBvcGFjaXR5PSIwLjMwMiI+PHBhdGggZD0iTSA2IDYgTCAwIDYgTCAwIDQuMiBMIDQgNC4yIEwgNC4yIDQuMiBMIDQuMiAwIEwgNiAwIEwgNiA2IEwgNiA2IFoiIGZpbGw9IiMwMDAwMDAiLz48L2c+PC9zdmc+");background-position:100% 100%;padding:0 3px 3px 0;background-repeat:no-repeat;background-origin:content-box;box-sizing:border-box;cursor:se-resize}',""])},function(t,exports,e){var n=e(528);"string"==typeof n&&(n=[[t.i,n,""]]);var r={};r.transform=void 0;e(21)(n,r);n.locals&&(t.exports=n.locals)},function(t,exports,e){exports=t.exports=e(20)(void 0),exports.push([t.i,".VaBZyqgObt_Yviuulmpvo{margin:-10px -10px 0}.VaBZyqgObt_Yviuulmpvo.unlocked .react-draggable{cursor:move}.VaBZyqgObt_Yviuulmpvo.locked .react-resizable-handle{display:none}.VaBZyqgObt_Yviuulmpvo .react-grid-placeholder{background:#16ace3}",""]),exports.locals={reactGridLayout:"VaBZyqgObt_Yviuulmpvo"}},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(5),o=n(r),i=e(2),a=n(i),s=e(16),u=e(46),l=a.default.createClass({displayName:"SearchForm",propTypes:{onSearch:o.default.func.isRequired,onReset:o.default.func,label:o.default.string,placeholder:o.default.string,wrapperClass:o.default.string,queryWidth:o.default.any,topMargin:o.default.number,buttonLeftMargin:o.default.number,searchBsStyle:o.default.string,searchButtonLabel:o.default.string,resetButtonLabel:o.default.string,loadingLabel:o.default.string,useLoadingState:o.default.bool,children:o.default.oneOfType([o.default.arrayOf(o.default.element),o.default.element])},getDefaultProps:function(){return{placeholder:"Enter search query...",wrapperClass:"search",queryWidth:"auto",topMargin:15,buttonLeftMargin:5,searchBsStyle:"default",searchButtonLabel:"Search",resetButtonLabel:"Reset",loadingLabel:"Loading..."}},getInitialState:function(){return{isLoading:!1}},componentWillReceiveProps:function(){this._resetLoadingState()},_setLoadingState:function(){this.props.useLoadingState&&this.setState({isLoading:!0})},_resetLoadingState:function(){this.props.useLoadingState&&this.setState({isLoading:!1})},_onSearch:function(t){t.preventDefault(),this._setLoadingState(),this.props.onSearch(this.refs.query.value,this._resetLoadingState)},_onReset:function(){this._resetLoadingState(),this.refs.query.value="",this.props.onReset()},render:function(){return a.default.createElement("div",{className:this.props.wrapperClass,style:{marginTop:this.props.topMargin}},a.default.createElement("form",{className:"form-inline",onSubmit:this._onSearch},a.default.createElement("div",{className:"form-group"},this.props.label&&a.default.createElement("label",{className:"control-label"},this.props.label),a.default.createElement("input",{ref:"query",placeholder:this.props.placeholder,type:"text",style:{width:this.props.queryWidth},label:"Search",className:"query form-control",autoComplete:"off",spellCheck:"false"})),a.default.createElement("div",{className:"form-group",style:{marginLeft:this.props.buttonLeftMargin}},a.default.createElement(s.Button,{bsStyle:this.props.searchBsStyle,type:"submit",disabled:this.state.isLoading,className:"submit-button"},this.state.isLoading?a.default.createElement(u.Spinner,{text:this.props.loadingLabel}):this.props.searchButtonLabel)),this.props.onReset&&a.default.createElement("div",{className:"form-group",style:{marginLeft:this.props.buttonLeftMargin}},a.default.createElement(s.Button,{type:"reset",className:"reset-button",onClick:this._onReset},this.props.resetButtonLabel)),this.props.children))}});exports.default=l,t.exports=exports.default},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(5),o=n(r),i=e(2),a=n(i),s=e(16),u=e(46),l=a.default.createClass({displayName:"SelectableList",propTypes:{options:o.default.any,selectedOptionsType:o.default.oneOf(["string","object"]),selectedOptions:o.default.arrayOf([o.default.string,o.default.object]),displayKey:o.default.string,idKey:o.default.string,onChange:o.default.func,autoFocus:o.default.bool},getDefaultProps:function(){return{selectedOptionsType:"string",displayKey:"label",idKey:"value"}},componentWillReceiveProps:function(t){this.props.selectedOptions!==t.selectedOptions&&this.refs.select.clearValue()},_getOptionId:function(t){return"string"==typeof t?t:t[this.props.idKey]},_getOptionDisplayValue:function(t){return"string"==typeof t?t:t[this.props.displayKey]},_onAddOption:function(t){var e=this;if(""!==t){var n=this.props.selectedOptions.slice();"string"===this.props.selectedOptionsType?n.push(t):n.push(this.props.options.filter(function(n){return e._getOptionId(n)===t})[0]),"function"==typeof this.props.onChange&&this.props.onChange(n)}},_onRemoveOption:function(t){var e=this;return function(){var n=e.props.selectedOptions.filter(function(e,n){return n!==t});"function"==typeof e.props.onChange&&e.props.onChange(n)}},render:function(){var t=this,e=this.props.selectedOptions.map(function(e,n){return a.default.createElement(s.ListGroupItem,{key:t._getOptionId(e)+"-"+n},a.default.createElement("div",{className:"pull-right"},a.default.createElement(s.Button,{bsStyle:"primary",bsSize:"xsmall",onClick:t._onRemoveOption(n)},"Remove")),t._getOptionDisplayValue(e))});return a.default.createElement("div",null,a.default.createElement(u.Select,{ref:"select",autoFocus:this.props.autoFocus,options:this.props.options,onChange:this._onAddOption,clearable:!1}),e.length>0&&a.default.createElement(s.ListGroup,{style:{marginTop:10}},e))}});exports.default=l,t.exports=exports.default},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(532);Object.defineProperty(exports,"DragDropManager",{enumerable:!0,get:function(){return n(r).default}});var o=e(596);Object.defineProperty(exports,"DragSource",{enumerable:!0,get:function(){return n(o).default}});var i=e(597);Object.defineProperty(exports,"DropTarget",{enumerable:!0,get:function(){return n(i).default}});var a=e(598);Object.defineProperty(exports,"createTestBackend",{enumerable:!0,get:function(){return n(a).default}})},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(exports,"__esModule",{value:!0});var o=function(){function t(t,e){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{};r(this,t);var o=(0,a.default)(u.default);this.context=n,this.store=o,this.monitor=new d.default(o),this.registry=this.monitor.registry,this.backend=e(this),o.subscribe(this.handleRefCountChange.bind(this))}return o(t,[{key:"handleRefCountChange",value:function(){var t=this.store.getState().refCount>0;t&&!this.isSetUp?(this.backend.setup(),this.isSetUp=!0):!t&&this.isSetUp&&(this.backend.teardown(),this.isSetUp=!1)}},{key:"getContext",value:function(){return this.context}},{key:"getMonitor",value:function(){return this.monitor}},{key:"getBackend",value:function(){return this.backend}},{key:"getRegistry",value:function(){return this.registry}},{key:"getActions",value:function(){function t(t){return function(){for(var r=arguments.length,o=Array(r),i=0;i0&&void 0!==arguments[0]?arguments[0]:{},e=arguments[1];return{dirtyHandlerIds:(0,f.default)(t.dirtyHandlerIds,e,t.dragOperation),dragOffset:(0,i.default)(t.dragOffset,e),refCount:(0,l.default)(t.refCount,e),dragOperation:(0,s.default)(t.dragOperation,e),stateId:(0,p.default)(t.stateId)}}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=r;var o=e(204),i=n(o),a=e(542),s=n(a),u=e(578),l=n(u),c=e(214),f=n(c),d=e(590),p=n(d)},function(t,exports,e){"use strict";function n(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u,e=arguments[1];switch(e.type){case a.BEGIN_DRAG:return r({},t,{itemType:e.itemType,item:e.item,sourceId:e.sourceId,isSourcePublic:e.isSourcePublic,dropResult:null,didDrop:!1});case a.PUBLISH_DRAG_SOURCE:return r({},t,{isSourcePublic:!0});case a.HOVER:return r({},t,{targetIds:e.targetIds});case s.REMOVE_TARGET:return-1===t.targetIds.indexOf(e.targetId)?t:r({},t,{targetIds:(0,i.default)(t.targetIds,e.targetId)});case a.DROP:return r({},t,{dropResult:e.dropResult,didDrop:!0,targetIds:[]});case a.END_DRAG:return r({},t,{itemType:null,item:null,sourceId:null,dropResult:null,didDrop:!1,isSourcePublic:null,targetIds:[]});default:return t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=Object.assign||function(t){for(var e=1;e-1}var r=e(98);t.exports=n},function(t,exports,e){function n(t,e){var n=this.__data__,o=r(n,t);return o<0?(++this.size,n.push([t,e])):n[o][1]=e,this}var r=e(98);t.exports=n},function(t,exports,e){var n=e(97),r=e(81),o=n(r,"Map");t.exports=o},function(t,exports,e){function n(t){var e=r(this,t).delete(t);return this.size-=e?1:0,e}var r=e(100);t.exports=n},function(t,exports){function e(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}t.exports=e},function(t,exports,e){function n(t){return r(this,t).get(t)}var r=e(100);t.exports=n},function(t,exports,e){function n(t){return r(this,t).has(t)}var r=e(100);t.exports=n},function(t,exports,e){function n(t,e){var n=r(this,t),o=n.size;return n.set(t,e),this.size+=n.size==o?0:1,this}var r=e(100);t.exports=n},function(t,exports){function e(t){return this.__data__.set(t,n),this}var n="__lodash_hash_undefined__";t.exports=e},function(t,exports){function e(t){return this.__data__.has(t)}t.exports=e},function(t,exports,e){function n(t,e,n){return e===e?i(t,e,n):r(t,o,n)}var r=e(570),o=e(571),i=e(572);t.exports=n},function(t,exports){function e(t,e,n,r){for(var o=t.length,i=n+(r?1:-1);r?i--:++i0){if(++e>=n)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}var n=800,r=16,o=Date.now;t.exports=e},function(t,exports,e){"use strict";function n(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;switch(arguments[1].type){case r.ADD_SOURCE:case r.ADD_TARGET:return t+1;case r.REMOVE_SOURCE:case r.REMOVE_TARGET:return t-1;default:return t}}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=n;var r=e(102)},function(t,exports,e){var n=e(580),r=e(71),o=e(581),i=e(101),a=r(function(t){return o(n(t,i))});t.exports=a},function(t,exports){function e(t,e){for(var n=-1,r=null==t?0:t.length,o=0,i=[];++n=120&&v.length>=120)?new r(p&&v):void 0}v=t[0];var b=-1,y=h[0];t:for(;++b0&&void 0!==arguments[0]?arguments[0]:0)+1}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=n},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(exports,"__esModule",{value:!0});var o=function(){function t(t,e){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{},r=n.handlerIds;(0,a.default)("function"==typeof t,"listener must be a function."),(0,a.default)(void 0===r||(0,u.default)(r),"handlerIds, when specified, must be an array of strings.");var o=this.store.getState().stateId,i=function(){var n=e.store.getState(),i=n.stateId;try{i===o||i===o+1&&!(0,h.areDirty)(n.dirtyHandlerIds,r)||t()}finally{o=i}};return this.store.subscribe(i)}},{key:"subscribeToOffsetChange",value:function(t){var e=this;(0,a.default)("function"==typeof t,"listener must be a function.");var n=this.store.getState().dragOffset,r=function(){var r=e.store.getState().dragOffset;r!==n&&(n=r,t())};return this.store.subscribe(r)}},{key:"canDragSource",value:function(t){var e=this.registry.getSource(t);return(0,a.default)(e,"Expected to find a valid source."),!this.isDragging()&&e.canDrag(this,t)}},{key:"canDropOnTarget",value:function(t){var e=this.registry.getTarget(t);if((0,a.default)(e,"Expected to find a valid target."),!this.isDragging()||this.didDrop())return!1;var n=this.registry.getTargetType(t),r=this.getItemType();return(0,c.default)(n,r)&&e.canDrop(this,t)}},{key:"isDragging",value:function(){return Boolean(this.getItemType())}},{key:"isDraggingSource",value:function(t){var e=this.registry.getSource(t,!0);return(0,a.default)(e,"Expected to find a valid source."),!(!this.isDragging()||!this.isSourcePublic())&&(this.registry.getSourceType(t)===this.getItemType()&&e.isDragging(this,t))}},{key:"isOverTarget",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{shallow:!1},n=e.shallow;if(!this.isDragging())return!1;var r=this.registry.getTargetType(t),o=this.getItemType();if(!(0,c.default)(r,o))return!1;var i=this.getTargetIds();if(!i.length)return!1;var a=i.indexOf(t);return n?a===i.length-1:a>-1}},{key:"getItemType",value:function(){return this.store.getState().dragOperation.itemType}},{key:"getItem",value:function(){return this.store.getState().dragOperation.item}},{key:"getSourceId",value:function(){return this.store.getState().dragOperation.sourceId}},{key:"getTargetIds",value:function(){return this.store.getState().dragOperation.targetIds}},{key:"getDropResult",value:function(){return this.store.getState().dragOperation.dropResult}},{key:"didDrop",value:function(){return this.store.getState().dragOperation.didDrop}},{key:"isSourcePublic",value:function(){return this.store.getState().dragOperation.isSourcePublic}},{key:"getInitialClientOffset",value:function(){return this.store.getState().dragOffset.initialClientOffset}},{key:"getInitialSourceClientOffset",value:function(){return this.store.getState().dragOffset.initialSourceClientOffset}},{key:"getClientOffset",value:function(){return this.store.getState().dragOffset.clientOffset}},{key:"getSourceClientOffset",value:function(){return(0,p.getSourceClientOffset)(this.store.getState().dragOffset)}},{key:"getDifferenceFromInitialOffset",value:function(){return(0,p.getDifferenceFromInitialOffset)(this.store.getState().dragOffset)}}]),t}();exports.default=g},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t){(0,d.default)("function"==typeof t.canDrag,"Expected canDrag to be a function."),(0,d.default)("function"==typeof t.beginDrag,"Expected beginDrag to be a function."),(0,d.default)("function"==typeof t.endDrag,"Expected endDrag to be a function.")}function i(t){(0,d.default)("function"==typeof t.canDrop,"Expected canDrop to be a function."),(0,d.default)("function"==typeof t.hover,"Expected hover to be a function."),(0,d.default)("function"==typeof t.drop,"Expected beginDrag to be a function.")}function a(t,e){if(e&&(0,h.default)(t))return void t.forEach(function(t){return a(t,!1)});(0,d.default)("string"==typeof t||"symbol"===(void 0===t?"undefined":c(t)),e?"Type can only be a string, a symbol, or an array of either.":"Type can only be a string or a symbol.")}function s(t){var e=(0,y.default)().toString();switch(t){case _.SOURCE:return"S"+e;case _.TARGET:return"T"+e;default:(0,d.default)(!1,"Unknown role: "+t)}}function u(t){switch(t[0]){case"S":return _.SOURCE;case"T":return _.TARGET;default:(0,d.default)(!1,"Cannot parse handler ID: "+t)}}Object.defineProperty(exports,"__esModule",{value:!0});var l=function(){function t(t,e){for(var n=0;nl){for(var e=0,n=a.length-u;e1&&void 0!==arguments[1]?arguments[1]:{};return E.default.apply(void 0,["DragLayer","collect[, options]"].concat(Array.prototype.slice.call(arguments))),(0,y.default)("function"==typeof t,'Expected "collect" provided as the first argument to DragLayer to be a function that collects props to inject into the component. ',"Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-layer.html",t),(0,y.default)((0,v.default)(e),'Expected "options" provided as the second argument to DragLayer to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-layer.html',e),function(n){var a,d,h=e.arePropsEqual,m=void 0===h?k.default:h,v=n.displayName||n.name||"Component",b=(d=a=function(e){function a(t,e){r(this,a);var n=o(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,t));return n.handleChange=n.handleChange.bind(n),n.manager=e.dragDropManager,(0,y.default)("object"===u(n.manager),"Could not find the drag and drop manager in the context of %s. Make sure to wrap the top-level component of your app with DragDropContext. Read more: http://react-dnd.github.io/react-dnd/docs-troubleshooting.html#could-not-find-the-drag-and-drop-manager-in-the-context",v,v),n.state=n.getCurrentState(),n}return i(a,e),l(a,[{key:"getDecoratedComponentInstance",value:function(){return(0,y.default)(this.child,"In order to access an instance of the decorated component it can not be a stateless component."),this.child}},{key:"shouldComponentUpdate",value:function(t,e){return!m(t,this.props)||!(0,x.default)(e,this.state)}}]),l(a,[{key:"componentDidMount",value:function(){this.isCurrentlyMounted=!0;var t=this.manager.getMonitor();this.unsubscribeFromOffsetChange=t.subscribeToOffsetChange(this.handleChange),this.unsubscribeFromStateChange=t.subscribeToStateChange(this.handleChange),this.handleChange()}},{key:"componentWillUnmount",value:function(){this.isCurrentlyMounted=!1,this.unsubscribeFromOffsetChange(),this.unsubscribeFromStateChange()}},{key:"handleChange",value:function(){if(this.isCurrentlyMounted){var t=this.getCurrentState();(0,x.default)(t,this.state)||this.setState(t)}}},{key:"getCurrentState",value:function(){var e=this.manager.getMonitor();return t(e)}},{key:"render",value:function(){var t=this;return f.default.createElement(n,s({},this.props,this.state,{ref:function(e){t.child=e}}))}}]),a}(c.Component),a.DecoratedComponent=n,a.displayName="DragLayer("+v+")",a.contextTypes={dragDropManager:p.default.object.isRequired},d);return(0,g.default)(b,n)}}Object.defineProperty(exports,"__esModule",{value:!0});var s=Object.assign||function(t){for(var e=1;e3&&void 0!==arguments[3]?arguments[3]:{};l.default.apply(void 0,["DragSource","type, spec, collect[, options]"].concat(Array.prototype.slice.call(arguments)));var o=t;"function"!=typeof t&&((0,i.default)((0,x.default)(t),'Expected "type" provided as the first argument to DragSource to be a string, or a function that returns a string given the current props. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',t),o=function(){return t}),(0,i.default)((0,s.default)(e),'Expected "spec" provided as the second argument to DragSource to be a plain object. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',e);var a=(0,g.default)(e);return(0,i.default)("function"==typeof n,'Expected "collect" provided as the third argument to DragSource to be a function that returns a plain object of props to inject. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',n),(0,i.default)((0,s.default)(r),'Expected "options" provided as the fourth argument to DragSource to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',n),function(t){return(0,f.default)({connectBackend:function(t,e){return t.connectDragSource(e)},containerDisplayName:"DragSource",createHandler:a,registerHandler:p.default,createMonitor:v.default,createConnector:y.default,DecoratedComponent:t,getType:o,collect:n,options:r})}}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=r;var o=e(25),i=n(o),a=e(55),s=n(a),u=e(103),l=n(u),c=e(221),f=n(c),d=e(606),p=n(d),h=e(607),g=n(h),m=e(608),v=n(m),b=e(609),y=n(b),_=e(224),x=n(_)},function(t,exports,e){"use strict";var n=function(t){return t&&t.__esModule?t:{default:t}};exports.__esModule=!0;var r=e(138),o=n(r);exports.isDisposable=o.default;var i=e(603),a=n(i);exports.Disposable=a.default;var s=e(604),u=n(s);exports.CompositeDisposable=u.default;var l=e(605),c=n(l);exports.SerialDisposable=c.default},function(t,exports,e){"use strict";var n=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},r=function(){function t(t,e){for(var n=0;n-1,'Expected the drag source specification to only have some of the following keys: %s. Instead received a specification with an unexpected "%s" key. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',l.join(", "),e),(0,s.default)("function"==typeof t[e],"Expected %s in the drag source specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html",e,e,t[e])}),c.forEach(function(e){(0,s.default)("function"==typeof t[e],"Expected %s in the drag source specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html",e,e,t[e])});var e=function(){function e(t){r(this,e),this.monitor=t,this.props=null,this.component=null}return i(e,[{key:"receiveProps",value:function(t){this.props=t}},{key:"receiveComponent",value:function(t){this.component=t}},{key:"canDrag",value:function(){return!t.canDrag||t.canDrag(this.props,this.monitor)}},{key:"isDragging",value:function(e,n){return t.isDragging?t.isDragging(this.props,this.monitor):n===e.getSourceId()}},{key:"beginDrag",value:function(){var e=t.beginDrag(this.props,this.monitor,this.component);return e}},{key:"endDrag",value:function(){t.endDrag&&t.endDrag(this.props,this.monitor,this.component)}}]),e}();return function(t){return new e(t)}}Object.defineProperty(exports,"__esModule",{value:!0});var i=function(){function t(t,e){for(var n=0;n or
    . Read more: https://facebook.github.io/react/docs/more-about-refs.html#the-ref-callback-attribute"),n?(0,i.cloneElement)(t,{ref:function(t){e(t),n&&n(t)}}):(0,i.cloneElement)(t,{ref:e})}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=n;var r=e(25),o=function(t){return t&&t.__esModule?t:{default:t}}(r),i=e(2)},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};l.default.apply(void 0,["DropTarget","type, spec, collect[, options]"].concat(Array.prototype.slice.call(arguments)));var o=t;"function"!=typeof t&&((0,i.default)((0,x.default)(t,!0),'Expected "type" provided as the first argument to DropTarget to be a string, an array of strings, or a function that returns either given the current props. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',t),o=function(){return t}),(0,i.default)((0,s.default)(e),'Expected "spec" provided as the second argument to DropTarget to be a plain object. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',e);var a=(0,g.default)(e);return(0,i.default)("function"==typeof n,'Expected "collect" provided as the third argument to DropTarget to be a function that returns a plain object of props to inject. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',n),(0,i.default)((0,s.default)(r),'Expected "options" provided as the fourth argument to DropTarget to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',n),function(t){return(0,f.default)({connectBackend:function(t,e){return t.connectDropTarget(e)},containerDisplayName:"DropTarget",createHandler:a,registerHandler:p.default,createMonitor:v.default,createConnector:y.default,DecoratedComponent:t,getType:o,collect:n,options:r})}}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=r;var o=e(25),i=n(o),a=e(55),s=n(a),u=e(103),l=n(u),c=e(221),f=n(c),d=e(612),p=n(d),h=e(613),g=n(h),m=e(614),v=n(m),b=e(615),y=n(b),_=e(224),x=n(_)},function(t,exports,e){"use strict";function n(t,e,n){function r(){o.removeTarget(i)}var o=n.getRegistry(),i=o.addTarget(t,e);return{handlerId:i,unregister:r}}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=n},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t){Object.keys(t).forEach(function(e){(0,s.default)(l.indexOf(e)>-1,'Expected the drop target specification to only have some of the following keys: %s. Instead received a specification with an unexpected "%s" key. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',l.join(", "),e),(0,s.default)("function"==typeof t[e],"Expected %s in the drop target specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html",e,e,t[e])});var e=function(){function e(t){r(this,e),this.monitor=t,this.props=null,this.component=null}return i(e,[{key:"receiveProps",value:function(t){this.props=t}},{key:"receiveMonitor",value:function(t){this.monitor=t}},{key:"receiveComponent",value:function(t){this.component=t}},{key:"canDrop",value:function(){return!t.canDrop||t.canDrop(this.props,this.monitor)}},{key:"hover",value:function(){t.hover&&t.hover(this.props,this.monitor,this.component)}},{key:"drop",value:function(){if(t.drop){var e=t.drop(this.props,this.monitor,this.component);return e}}}]),e}();return function(t){return new e(t)}}Object.defineProperty(exports,"__esModule",{value:!0});var i=function(){function t(t,e){for(var n=0;n1?n[i-1]:void 0,s=i>2?n[2]:void 0;for(a=t.length>3&&"function"==typeof a?(i--,a):void 0,s&&o(n[0],n[1],s)&&(a=i<3?void 0:a,i=1),e=Object(e);++r0}},{key:"leave",value:function(t){var e=this.entered.length;return this.entered=(0,u.default)(this.entered.filter(function(t){return document.documentElement.contains(t)}),t),e>0&&0===this.entered.length}},{key:"reset",value:function(){this.entered=[]}}]),t}();exports.default=l},function(t,exports,e){var n=e(215),r=e(71),o=e(217),i=e(101),a=r(function(t){return o(n(t,1,i,!0))});t.exports=a},function(t,exports,e){function n(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError(o);var i=function(){var n=arguments,r=e?e.apply(this,n):n[0],o=i.cache;if(o.has(r))return o.get(r);var a=t.apply(this,n);return i.cache=o.set(r,a)||o,a};return i.cache=new(n.Cache||r),i}var r=e(208),o="Expected a function";n.Cache=r,t.exports=n},function(t,exports,e){"use strict";function n(t){var e=t.nodeType===c?t:t.parentElement;if(!e)return null;var n=e.getBoundingClientRect(),r=n.top;return{x:n.left,y:r}}function r(t){return{x:t.clientX,y:t.clientY}}function o(t){return"IMG"===t.nodeName&&((0,s.isFirefox)()||!document.documentElement.contains(t))}function i(t,e,n,r){var o=t?e.width:n,i=t?e.height:r;return(0,s.isSafari)()&&t&&(i/=window.devicePixelRatio,o/=window.devicePixelRatio),{dragPreviewWidth:o,dragPreviewHeight:i}}function a(t,e,r,a,u){var c=o(e),f=c?t:e,d=n(f),p={x:r.x-d.x,y:r.y-d.y},h=t.offsetWidth,g=t.offsetHeight,m=a.anchorX,v=a.anchorY,b=i(c,e,h,g),y=b.dragPreviewWidth,_=b.dragPreviewHeight,x=u.offsetX,w=u.offsetY,k=0===x||x,S=0===w||w;return{x:k?x:function(){return new l.default([0,.5,1],[p.x,p.x/h*y,p.x+y-h]).interpolate(m)}(),y:S?w:function(){var t=new l.default([0,.5,1],[p.y,p.y/g*_,p.y+_-g]),e=t.interpolate(v);return(0,s.isSafari)()&&c&&(e+=(window.devicePixelRatio-1)*_),e}()}}Object.defineProperty(exports,"__esModule",{value:!0}),exports.getNodeClientOffset=n,exports.getEventClientOffset=r,exports.getDragPreviewOffset=a;var s=e(227),u=e(641),l=function(t){return t&&t.__esModule?t:{default:t}}(u),c=1},function(t,exports,e){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(exports,"__esModule",{value:!0});var r=function(){function t(t,e){for(var n=0;nt))return n[l];u=l-1}}a=Math.max(0,u);var f=t-e[a],d=f*f;return n[a]+r[a]*f+o[a]*d+i[a]*f*d}}]),t}();exports.default=o},function(t,exports,e){"use strict";function n(t,e){for(var n in e){var r=e[n];r.configurable=r.enumerable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,n,r)}return t}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function i(t,e,n){var r=e.reduce(function(e,n){return e||t.getData(n)},null);return null!=r?r:n}function a(t){var e=d[t],o=e.exposeProperty,i=e.matchesTypes,a=e.getData;return function(){function t(){var e,i;r(this,t),this.item=(e={},i={},i[o]=i[o]||{},i[o].get=function(){return console.warn("Browser doesn't allow reading \""+o+'" until the drop event.'),null},n(e,i),e)}return l(t,[{key:"mutateItemByReadingDataTransfer",value:function(t){delete this.item[o],this.item[o]=a(t,i)}},{key:"canDrag",value:function(){return!0}},{key:"beginDrag",value:function(){return this.item}},{key:"isDragging",value:function(t,e){return e===t.getSourceId()}},{key:"endDrag",value:function(){}}]),t}()}function s(t){var e=Array.prototype.slice.call(t.types||[]);return Object.keys(d).filter(function(t){return d[t].matchesTypes.some(function(t){return e.indexOf(t)>-1})})[0]||null}Object.defineProperty(exports,"__esModule",{value:!0});var u,l=function(){function t(t,e){for(var n=0;n1&&(t=this.props.headerActionsFactory(this.state.selected));var e=a.default.createElement("div",null,t,a.default.createElement(c.Input,{type:"checkbox",label:"Select all",checked:this.state.allSelected,onChange:this._toggleSelectAll,groupClassName:"form-group-inline"}));return a.default.createElement(l.ListGroupItem,{className:"list-group-header",header:e})},_toggleSelectAll:function(t){var e=this,n=t.target.checked?u.default.Set(this.state.filteredItems.map(function(t){return t[e.props.idKey]})):u.default.Set();this.setState({selected:n,allSelected:!this.state.allSelected})},_formatItem:function(t){var e=a.default.createElement("div",null,a.default.createElement("div",{className:"pull-right",style:{marginTop:10,marginBottom:10}},this.props.itemActionsFactory(t)),a.default.createElement(c.Input,{type:"checkbox",label:t[this.props.titleKey],checked:this.state.selected.includes(t[this.props.idKey]),onChange:this._onItemSelect(t[this.props.idKey]),groupClassName:"form-group-inline"}));return a.default.createElement(l.ListGroupItem,{key:"item-"+t[this.props.idKey],header:e},a.default.createElement("span",{style:{marginLeft:20}},t[this.props.descriptionKey]))},_onItemSelect:function(t){var e=this;return function(n){var r=n.target.checked?e.state.selected.add(t):e.state.selected.delete(t);e.setState({selected:r})}},render:function(){var t=this;if(0===this.props.items.count())return a.default.createElement(l.Row,null,a.default.createElement(l.Col,{md:12},a.default.createElement("div",null,"No items to display.")));var e=this.state.filteredItems.map(function(e){return t._formatItem(e)}).toJS(),n=void 0;return 0!==this.props.filterKeys.length&&(n=a.default.createElement(l.Row,null,a.default.createElement(l.Col,{md:5},a.default.createElement(f.TypeAheadDataFilter,{label:this.props.filterLabel,data:this.props.items,displayKey:"value",filterSuggestions:[],searchInKeys:this.props.filterKeys,onDataFiltered:this._filterItems})))),0===this.state.filteredItems.count()?a.default.createElement("div",null,n,a.default.createElement("div",null,"No items match your filter criteria")):a.default.createElement("div",null,n,a.default.createElement(l.ListGroup,null,this._headerItem(),e))}});exports.default=d,t.exports=exports.default},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(5),o=n(r),i=e(2),a=n(i),s=e(50),u=n(s),l=a.default.createClass({displayName:"Timestamp",propTypes:{dateTime:o.default.oneOfType([o.default.string,o.default.object]).isRequired,format:o.default.string,relative:o.default.bool,tz:o.default.string},getDefaultProps:function(){return{format:u.default.Formats.TIMESTAMP}},_formatDateTime:function(){var t=new u.default(this.props.dateTime);if(this.props.relative)return t.toRelativeString();switch(this.props.tz){case null:case void 0:return t.toString(this.props.format);case"browser":return t.toBrowserLocalTime().toString(this.props.format);default:return t.toTimeZone(this.props.tz).toString(this.props.format)}},render:function(){return a.default.createElement("time",{key:"time-"+this.props.dateTime,dateTime:this.props.dateTime,title:this.props.dateTime},this._formatDateTime())}});exports.default=l,t.exports=exports.default},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=Object.assign||function(t){for(var e=1;e1?r[0]:t._UNCLASSIFIED_AREA,i=r.length>1?r[1]:r[0];e[o]||(e[o]=[]),e[o].push(i)}),[].concat.apply([],Object.keys(e).sort().map(function(n){return[{label:n,disabled:!0,value:n}].concat(f.default.unique(e[n]).sort().map(function(e){return{value:n===t._UNCLASSIFIED_AREA?e:n+"/"+e,label:e.replace("_"," ")}}))}))},_renderOption:function(t){return t.disabled?s.default.createElement("span",{key:t.value,title:t.value},t.label):s.default.createElement("span",{key:t.value,title:t.value},"  ",t.label)},render:function(){var t=this._formatTimezones();return s.default.createElement(p.default,r({ref:"timezone"},this.props,{placeholder:"Pick a time zone",options:t,optionRenderer:this._renderOption}))}});exports.default=h,t.exports=exports.default},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var 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},o=e(5),i=n(o),a=e(2),s=n(a),u=e(16),l=e(54),c=n(l),f=e(46),d=s.default.createClass({displayName:"TypeAheadDataFilter",propTypes:{data:i.default.array,displayKey:i.default.string,filterBy:i.default.string,filterData:i.default.func,filterSuggestionAccessor:i.default.string,filterSuggestions:i.default.array,label:i.default.string,onDataFiltered:i.default.func,searchInKeys:i.default.array},getInitialState:function(){return{filterText:"",filters:c.default.OrderedSet(),filterByKey:this.props.filterBy+"s"}},_onSearchTextChanged:function(t){t.preventDefault(),this.setState({filterText:this.refs.typeAheadInput.getValue()},this.filterData)},_onFilterAdded:function(t,e){this.setState({filters:this.state.filters.add(e[this.props.displayKey]),filterText:""},this.filterData),this.refs.typeAheadInput.clear()},_onFilterRemoved:function(t){t.preventDefault(),this.setState({filters:this.state.filters.delete(t.target.getAttribute("data-target"))},this.filterData)},_matchFilters:function(t){var e=this;return this.state.filters.every(function(n){var r=t[e.state.filterByKey];return r=e.props.filterSuggestionAccessor?r.map(function(t){return t[e.props.filterSuggestionAccessor].toLocaleLowerCase()}):r.map(function(t){return t.toLocaleLowerCase()}),-1!==r.indexOf(n.toLocaleLowerCase())},this)},_matchStringSearch:function(t){var e=this;return this.props.searchInKeys.some(function(n){var o=t[n],i=e.state.filterText;if(null===o)return!1;var a=function(t,e){return void 0!==t&&-1!==t.toLocaleLowerCase().indexOf(e.toLocaleLowerCase())};return"object"===(void 0===o?"undefined":r(o))?o.some(function(t){return a(t,i)}):a(o,i)},this)},_resetFilters:function(){this.refs.typeAheadInput.clear(),this.setState({filterText:"",filters:c.default.OrderedSet()},this.filterData)},filterData:function(){var t=this;if("function"==typeof this.props.filterData)return this.props.filterData(this.props.data);var e=this.props.data.filter(function(e){return t._matchFilters(e)&&t._matchStringSearch(e)},this);this.props.onDataFiltered(e)},render:function(){var t=this,e=this.state.filters.map(function(e){return s.default.createElement("li",{key:"li-"+e},s.default.createElement("span",{className:"pill label label-default"},t.props.filterBy,": ",e,s.default.createElement("a",{className:"tag-remove","data-target":e,onClick:t._onFilterRemoved})))}),n=void 0;return n=this.props.filterSuggestionAccessor?this.props.filterSuggestions.map(function(e){return e[t.props.filterSuggestionAccessor].toLocaleLowerCase()}):this.props.filterSuggestions.map(function(t){return t.toLocaleLowerCase()}),n.filter(function(e){return!t.state.filters.includes(e)}),s.default.createElement("div",{className:"filter"},s.default.createElement("form",{className:"form-inline",onSubmit:this._onSearchTextChanged,style:{display:"inline"}},s.default.createElement(f.TypeAheadInput,{ref:"typeAheadInput",onSuggestionSelected:this._onFilterAdded,suggestionText:"Filter by "+this.props.filterBy+": ",suggestions:n,label:this.props.label,displayKey:this.props.displayKey}),s.default.createElement(u.Button,{type:"submit",style:{marginLeft:5}},"Filter"),s.default.createElement(u.Button,{type:"button",style:{marginLeft:5},onClick:this._resetFilters,disabled:0===this.state.filters.count()&&""===this.state.filterText},"Reset")),s.default.createElement("ul",{className:"pill-list"},e))}});exports.default=d,t.exports=exports.default},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=Object.assign||function(t){for(var e=1;e"+t.suggestionText+" "+e[t.displayKey]+"
    ":"
    "+e.value+"
    "}}}),"function"==typeof t.onTypeaheadLoaded&&(t.onTypeaheadLoaded(),e.typeahead("close")),(0,p.default)(this.fieldFormGroup).on("typeahead:select typeahead:autocomplete",function(e,n){t.onSuggestionSelected&&t.onSuggestionSelected(e,n)})},render:function(){return a.default.createElement(l.Input,{type:"text",ref:"fieldInput",wrapperClassName:"typeahead-wrapper",label:this.props.label,onKeyPress:this.props.onKeyPress})}}));exports.default=g,t.exports=exports.default},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(5),o=n(r),i=e(2),a=n(i),s=e(16),u=e(47),l=[{value:"STRING",label:"string"},{value:"NUMBER",label:"number"},{value:"OBJECT",label:"object"},{value:"ARRAY",label:"array"},{value:"BOOLEAN",label:"boolean"},{value:"NULL",label:"null"}],c=a.default.createClass({displayName:"JSONValueInput",propTypes:{update:o.default.func.isRequired,label:o.default.string,help:o.default.oneOfType([o.default.string,o.default.object]),required:o.default.bool,validationState:o.default.string,value:o.default.string,valueType:o.default.oneOf(l.map(function(t){return t.value})),allowedTypes:function(t,e,n){var r=l.map(function(t){return t.value}),o=[];return t[e]instanceof Array?(t[e].forEach(function(t){r.indexOf(t)<0&&o.push(t)}),o.length>0?new Error("Invalid prop "+e+" supplied to "+n+". Expected array of "+r+" but got invalid "+o):null):new Error("Invalid prop "+e+" supplied to "+n+". Expected an array but got "+t[e])},labelClassName:o.default.string,wrapperClassName:o.default.string},getDefaultProps:function(){return{value:"",valueType:"STRING",allowedTypes:l.map(function(t){return t.value}),label:"",help:"",required:!1,validationState:null,labelClassName:void 0,wrapperClassName:void 0}},getInitialState:function(){return this._computeInitialState(this.props)},componentWillReceiveProps:function(t){this.setState(this._computeInitialState(t))},_computeInitialState:function(t){return{value:t.value,valueType:t.valueType}},_propagateState:function(){this.props.update(this.state.value,this.state.valueType)},_onUpdate:function(t){var e=t.target.value;this.setState({value:e},this._propagateState)},_onValueTypeSelect:function(t){this.setState({valueType:t},this._propagateState)},render:function(){var t=this,e=l.filter(function(e){return t.props.allowedTypes.indexOf(e.value)>-1}).map(function(e){return a.default.createElement(s.MenuItem,{key:e.value,onSelect:function(){return t._onValueTypeSelect(e.value)}},e.label)});return a.default.createElement(s.FormGroup,{validationState:this.props.validationState},this.props.label&&a.default.createElement(s.ControlLabel,{className:this.props.labelClassName},this.props.label),a.default.createElement(u.InputWrapper,{className:this.props.wrapperClassName},a.default.createElement(s.InputGroup,null,a.default.createElement(s.FormControl,{type:"text",onChange:this._onUpdate,value:this.state.value,required:this.props.required}),a.default.createElement(s.DropdownButton,{componentClass:s.InputGroup.Button,id:"input-dropdown-addon",bsStyle:"error"===this.props.validationState?"danger":null,title:l.filter(function(e){return e.value===t.props.valueType})[0].label},e)),this.props.help&&a.default.createElement(s.HelpBlock,null,this.props.help)))}});exports.default=c,t.exports=exports.default},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(5),o=n(r),i=e(2),a=n(i),s=e(16),u=e(47),l=a.default.createClass({displayName:"TimeUnitInput",propTypes:{update:o.default.func.isRequired,label:o.default.string,help:o.default.string,required:o.default.bool,enabled:o.default.bool,value:o.default.number,unit:o.default.oneOf(["NANOSECONDS","MICROSECONDS","MILLISECONDS","SECONDS","MINUTES","HOURS","DAYS"]),labelClassName:o.default.string,wrapperClassName:o.default.string},getDefaultProps:function(){return{value:1,unit:"SECONDS",label:"",help:"",required:!1,enabled:!1,labelClassName:void 0,wrapperClassName:void 0}},getInitialState:function(){return{checked:this.props.required||this.props.enabled,value:this.props.value,unit:this.props.unit}},OPTIONS:[{value:"NANOSECONDS",label:"nanoseconds"},{value:"MICROSECONDS",label:"microseconds"},{value:"MILLISECONDS",label:"milliseconds"},{value:"SECONDS",label:"seconds"},{value:"MINUTES",label:"minutes"},{value:"HOURS",label:"hours"},{value:"DAYS",label:"days"}],_propagateState:function(){this.props.update(this.state.value,this.state.unit,this.state.checked)},_onToggleEnable:function(t){this.setState({checked:t.target.checked},this._propagateState)},_onUpdate:function(t){var e=t.target.value;this.setState({value:e},this._propagateState)},_onUnitSelect:function(t){this.setState({unit:t},this._propagateState)},render:function(){var t=this,e=this.OPTIONS.map(function(e){return a.default.createElement(s.MenuItem,{key:e.value,onSelect:function(){return t._onUnitSelect(e.value)}},e.label)}),n=a.default.createElement(s.InputGroup.Addon,null,a.default.createElement("input",{type:"checkbox",checked:this.state.checked,onChange:this._onToggleEnable}));return a.default.createElement(s.FormGroup,null,this.props.label&&a.default.createElement(s.ControlLabel,{className:this.props.labelClassName},this.props.label),a.default.createElement(u.InputWrapper,{className:this.props.wrapperClassName},a.default.createElement(s.InputGroup,null,!this.props.required&&n,a.default.createElement(s.FormControl,{type:"text",disabled:!this.state.checked,onChange:this._onUpdate,value:this.state.value}),a.default.createElement(s.DropdownButton,{componentClass:s.InputGroup.Button,id:"input-dropdown-addon",title:this.OPTIONS.filter(function(e){return e.value===t.state.unit})[0].label},e)),this.props.help&&a.default.createElement(s.HelpBlock,null,this.props.help)))}});exports.default=l,t.exports=exports.default},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(5),o=n(r),i=e(2),a=n(i),s=a.default.createClass({displayName:"TimeUnit",propTypes:{value:o.default.number.isRequired,unit:o.default.oneOf(["NANOSECONDS","MICROSECONDS","MILLISECONDS","SECONDS","MINUTES","HOURS","DAYS"]).isRequired,zeroIsNever:o.default.bool},getDefaultProps:function(){return{zeroIsNever:!0}},UNITS:{NANOSECONDS:"nanoseconds",MICROSECONDS:"microseconds",MILLISECONDS:"milliseconds",SECONDS:"seconds",MINUTES:"minutes",HOURS:"hours",DAYS:"days"},render:function(){return 0===this.props.value&&this.props.zeroIsNever?a.default.createElement("span",null,"Never"):a.default.createElement("span",null,this.props.value," ",this.UNITS[this.props.unit])}});exports.default=s,t.exports=exports.default},function(t,exports,e){exports=t.exports=e(20)(void 0),exports.push([t.i,"body{font-family:Open Sans,sans-serif;background:url("+e(282)+") no-repeat 50% fixed;-moz-background-size:cover;-webkit-background-size:cover;-o-background-size:cover;background-size:cover}#disconnected-box{margin-top:120px}#disconnected-box-content{background-color:#fff;-moz-box-shadow:0 0 5px #888;-webkit-box-shadow:0 0 5px #888;box-shadow:0 0 40px #000}.never-seen-warning{margin-top:4px;margin-left:10px}.via-node-headline{margin-left:20px}.via-node-headline:hover{cursor:pointer}.discovered-node-link{margin-left:20px}.discovered-node-link:hover{cursor:pointer}#nodes-box,hr{margin-top:10px}hr{margin-bottom:10px}.loading-text{font-size:14px}",""])},function(t,exports,e){var n,r=e(2),o={loadComponent:function(t){return n?t&&t(n):e.e(2).then(function(){n=e(913),t&&t(n)}.bind(null,e)).catch(e.oe),n}};e(119)(r,o),t.exports=r.createClass(o),t.exports.Mixin=o},function(t,exports,e){var n,r=e(2),o={loadComponent:function(t){return n?t&&t(n):e.e(1).then(function(){n=e(914),t&&t(n)}.bind(null,e)).catch(e.oe),n}};e(119)(r,o),t.exports=r.createClass(o),t.exports.Mixin=o},function(t,exports,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(5),o=n(r),i=e(2),a=n(i),s=e(16),u=e(46),l=e(3),c=n(l),f=e(279),d=n(f),p=a.default.createClass({displayName:"ServerUnavailablePage",propTypes:{server:o.default.object},getInitialState:function(){return{showDetails:!1}},componentDidMount:function(){d.default.use()},componentWillUnmount:function(){d.default.unuse()},_toggleDetails:function(){this.setState({showDetails:!this.state.showDetails})},_formatErrorMessage:function(){if(!this.state.showDetails)return null;var t=a.default.createElement("div",null,a.default.createElement("hr",null),a.default.createElement("p",null,"There is no information available."));if(!this.props.server||!this.props.server.error)return t;var e=this.props.server.error,n=[];if(e.message&&n.push(a.default.createElement("dt",{key:"error-title"},"Error message"),a.default.createElement("dd",{key:"error-desc"},e.message)),e.originalError){var r=e.originalError;n.push(a.default.createElement("dt",{key:"status-original-request-title"},"Original Request"),a.default.createElement("dd",{key:"status-original-request-content"},String(r.method)," ",String(r.url))),n.push(a.default.createElement("dt",{key:"status-code-title"},"Status code"),a.default.createElement("dd",{key:"status-code-desc"},String(r.status))),"function"==typeof r.toString&&n.push(a.default.createElement("dt",{key:"full-error-title"},"Full error message"),a.default.createElement("dd",{key:"full-error-desc"},r.toString()))}return 0===n.length?t:a.default.createElement("div",null,a.default.createElement("hr",{style:{marginTop:10,marginBottom:10}}),a.default.createElement("p",null,"This is the last response we received from the server:"),a.default.createElement(s.Well,{bsSize:"small",style:{whiteSpace:"pre-line"}},a.default.createElement("dl",{style:{marginBottom:0}},n)))},render:function(){return a.default.createElement(u.DocumentTitle,{title:"Server unavailable"},a.default.createElement(s.Modal,{show:!0},a.default.createElement(s.Modal.Header,null,a.default.createElement(s.Modal.Title,null,a.default.createElement("i",{className:"fa fa-exclamation-triangle"})," Server currently unavailable")),a.default.createElement(s.Modal.Body,null,a.default.createElement("div",null,a.default.createElement("p",null,"We are experiencing problems connecting to the Graylog server running on ",a.default.createElement("i",null,c.default.qualifyUrl("")),". Please verify that the server is healthy and working correctly."),a.default.createElement("p",null,"You will be automatically redirected to the previous page once we can connect to the server."),a.default.createElement("p",null,"Do you need a hand?"," ",a.default.createElement("a",{href:"https://www.graylog.org/community-support",target:"_blank"},"We can help you"),"."),a.default.createElement("div",null,a.default.createElement("a",{href:"#",onClick:this._toggleDetails},this.state.showDetails?"Less details":"More details"),this._formatErrorMessage())))))}});exports.default=p,t.exports=exports.default},function(t,exports,e){var n=e(660);"string"==typeof n&&(n=[[t.i,n,""]]);var r={};r.transform=void 0;e(21)(n,r);n.locals&&(t.exports=n.locals)},function(t,exports,e){exports=t.exports=e(20)(void 0),exports.push([t.i,'/*!\n * Bootstrap v3.3.7 (http://getbootstrap.com)\n * Copyright 2011-2016 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n *//*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */@media print{*,:after,:before{background:transparent!important;color:#000!important;box-shadow:none!important;text-shadow:none!important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}a[href^="#"]:after,a[href^="javascript:"]:after{content:""}blockquote,pre{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}img,tr{page-break-inside:avoid}img{max-width:100%!important}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}.navbar{display:none}.btn>.caret,.dropup>.btn>.caret{border-top-color:#000!important}.label{border:1px solid #000}.table{border-collapse:collapse!important}.table td,.table th{background-color:#fff!important}.table-bordered td,.table-bordered th{border:1px solid #ddd!important}}@font-face{font-family:Glyphicons Halflings;src:url("/assets/fontsglyphicons-halflings-regular.eot");src:url("/assets/fontsglyphicons-halflings-regular.eot?#iefix") format("embedded-opentype"),url("/assets/fontsglyphicons-halflings-regular.woff2") format("woff2"),url("/assets/fontsglyphicons-halflings-regular.woff") format("woff"),url("/assets/fontsglyphicons-halflings-regular.ttf") format("truetype"),url("/assets/fontsglyphicons-halflings-regular.svg#glyphicons_halflingsregular") format("svg")}.glyphicon{position:relative;top:1px;display:inline-block;font-family:Glyphicons Halflings;font-style:normal;font-weight:400;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.glyphicon-asterisk:before{content:"*"}.glyphicon-plus:before{content:"+"}.glyphicon-eur:before,.glyphicon-euro:before{content:"\\20AC"}.glyphicon-minus:before{content:"\\2212"}.glyphicon-cloud:before{content:"\\2601"}.glyphicon-envelope:before{content:"\\2709"}.glyphicon-pencil:before{content:"\\270F"}.glyphicon-glass:before{content:"\\E001"}.glyphicon-music:before{content:"\\E002"}.glyphicon-search:before{content:"\\E003"}.glyphicon-heart:before{content:"\\E005"}.glyphicon-star:before{content:"\\E006"}.glyphicon-star-empty:before{content:"\\E007"}.glyphicon-user:before{content:"\\E008"}.glyphicon-film:before{content:"\\E009"}.glyphicon-th-large:before{content:"\\E010"}.glyphicon-th:before{content:"\\E011"}.glyphicon-th-list:before{content:"\\E012"}.glyphicon-ok:before{content:"\\E013"}.glyphicon-remove:before{content:"\\E014"}.glyphicon-zoom-in:before{content:"\\E015"}.glyphicon-zoom-out:before{content:"\\E016"}.glyphicon-off:before{content:"\\E017"}.glyphicon-signal:before{content:"\\E018"}.glyphicon-cog:before{content:"\\E019"}.glyphicon-trash:before{content:"\\E020"}.glyphicon-home:before{content:"\\E021"}.glyphicon-file:before{content:"\\E022"}.glyphicon-time:before{content:"\\E023"}.glyphicon-road:before{content:"\\E024"}.glyphicon-download-alt:before{content:"\\E025"}.glyphicon-download:before{content:"\\E026"}.glyphicon-upload:before{content:"\\E027"}.glyphicon-inbox:before{content:"\\E028"}.glyphicon-play-circle:before{content:"\\E029"}.glyphicon-repeat:before{content:"\\E030"}.glyphicon-refresh:before{content:"\\E031"}.glyphicon-list-alt:before{content:"\\E032"}.glyphicon-lock:before{content:"\\E033"}.glyphicon-flag:before{content:"\\E034"}.glyphicon-headphones:before{content:"\\E035"}.glyphicon-volume-off:before{content:"\\E036"}.glyphicon-volume-down:before{content:"\\E037"}.glyphicon-volume-up:before{content:"\\E038"}.glyphicon-qrcode:before{content:"\\E039"}.glyphicon-barcode:before{content:"\\E040"}.glyphicon-tag:before{content:"\\E041"}.glyphicon-tags:before{content:"\\E042"}.glyphicon-book:before{content:"\\E043"}.glyphicon-bookmark:before{content:"\\E044"}.glyphicon-print:before{content:"\\E045"}.glyphicon-camera:before{content:"\\E046"}.glyphicon-font:before{content:"\\E047"}.glyphicon-bold:before{content:"\\E048"}.glyphicon-italic:before{content:"\\E049"}.glyphicon-text-height:before{content:"\\E050"}.glyphicon-text-width:before{content:"\\E051"}.glyphicon-align-left:before{content:"\\E052"}.glyphicon-align-center:before{content:"\\E053"}.glyphicon-align-right:before{content:"\\E054"}.glyphicon-align-justify:before{content:"\\E055"}.glyphicon-list:before{content:"\\E056"}.glyphicon-indent-left:before{content:"\\E057"}.glyphicon-indent-right:before{content:"\\E058"}.glyphicon-facetime-video:before{content:"\\E059"}.glyphicon-picture:before{content:"\\E060"}.glyphicon-map-marker:before{content:"\\E062"}.glyphicon-adjust:before{content:"\\E063"}.glyphicon-tint:before{content:"\\E064"}.glyphicon-edit:before{content:"\\E065"}.glyphicon-share:before{content:"\\E066"}.glyphicon-check:before{content:"\\E067"}.glyphicon-move:before{content:"\\E068"}.glyphicon-step-backward:before{content:"\\E069"}.glyphicon-fast-backward:before{content:"\\E070"}.glyphicon-backward:before{content:"\\E071"}.glyphicon-play:before{content:"\\E072"}.glyphicon-pause:before{content:"\\E073"}.glyphicon-stop:before{content:"\\E074"}.glyphicon-forward:before{content:"\\E075"}.glyphicon-fast-forward:before{content:"\\E076"}.glyphicon-step-forward:before{content:"\\E077"}.glyphicon-eject:before{content:"\\E078"}.glyphicon-chevron-left:before{content:"\\E079"}.glyphicon-chevron-right:before{content:"\\E080"}.glyphicon-plus-sign:before{content:"\\E081"}.glyphicon-minus-sign:before{content:"\\E082"}.glyphicon-remove-sign:before{content:"\\E083"}.glyphicon-ok-sign:before{content:"\\E084"}.glyphicon-question-sign:before{content:"\\E085"}.glyphicon-info-sign:before{content:"\\E086"}.glyphicon-screenshot:before{content:"\\E087"}.glyphicon-remove-circle:before{content:"\\E088"}.glyphicon-ok-circle:before{content:"\\E089"}.glyphicon-ban-circle:before{content:"\\E090"}.glyphicon-arrow-left:before{content:"\\E091"}.glyphicon-arrow-right:before{content:"\\E092"}.glyphicon-arrow-up:before{content:"\\E093"}.glyphicon-arrow-down:before{content:"\\E094"}.glyphicon-share-alt:before{content:"\\E095"}.glyphicon-resize-full:before{content:"\\E096"}.glyphicon-resize-small:before{content:"\\E097"}.glyphicon-exclamation-sign:before{content:"\\E101"}.glyphicon-gift:before{content:"\\E102"}.glyphicon-leaf:before{content:"\\E103"}.glyphicon-fire:before{content:"\\E104"}.glyphicon-eye-open:before{content:"\\E105"}.glyphicon-eye-close:before{content:"\\E106"}.glyphicon-warning-sign:before{content:"\\E107"}.glyphicon-plane:before{content:"\\E108"}.glyphicon-calendar:before{content:"\\E109"}.glyphicon-random:before{content:"\\E110"}.glyphicon-comment:before{content:"\\E111"}.glyphicon-magnet:before{content:"\\E112"}.glyphicon-chevron-up:before{content:"\\E113"}.glyphicon-chevron-down:before{content:"\\E114"}.glyphicon-retweet:before{content:"\\E115"}.glyphicon-shopping-cart:before{content:"\\E116"}.glyphicon-folder-close:before{content:"\\E117"}.glyphicon-folder-open:before{content:"\\E118"}.glyphicon-resize-vertical:before{content:"\\E119"}.glyphicon-resize-horizontal:before{content:"\\E120"}.glyphicon-hdd:before{content:"\\E121"}.glyphicon-bullhorn:before{content:"\\E122"}.glyphicon-bell:before{content:"\\E123"}.glyphicon-certificate:before{content:"\\E124"}.glyphicon-thumbs-up:before{content:"\\E125"}.glyphicon-thumbs-down:before{content:"\\E126"}.glyphicon-hand-right:before{content:"\\E127"}.glyphicon-hand-left:before{content:"\\E128"}.glyphicon-hand-up:before{content:"\\E129"}.glyphicon-hand-down:before{content:"\\E130"}.glyphicon-circle-arrow-right:before{content:"\\E131"}.glyphicon-circle-arrow-left:before{content:"\\E132"}.glyphicon-circle-arrow-up:before{content:"\\E133"}.glyphicon-circle-arrow-down:before{content:"\\E134"}.glyphicon-globe:before{content:"\\E135"}.glyphicon-wrench:before{content:"\\E136"}.glyphicon-tasks:before{content:"\\E137"}.glyphicon-filter:before{content:"\\E138"}.glyphicon-briefcase:before{content:"\\E139"}.glyphicon-fullscreen:before{content:"\\E140"}.glyphicon-dashboard:before{content:"\\E141"}.glyphicon-paperclip:before{content:"\\E142"}.glyphicon-heart-empty:before{content:"\\E143"}.glyphicon-link:before{content:"\\E144"}.glyphicon-phone:before{content:"\\E145"}.glyphicon-pushpin:before{content:"\\E146"}.glyphicon-usd:before{content:"\\E148"}.glyphicon-gbp:before{content:"\\E149"}.glyphicon-sort:before{content:"\\E150"}.glyphicon-sort-by-alphabet:before{content:"\\E151"}.glyphicon-sort-by-alphabet-alt:before{content:"\\E152"}.glyphicon-sort-by-order:before{content:"\\E153"}.glyphicon-sort-by-order-alt:before{content:"\\E154"}.glyphicon-sort-by-attributes:before{content:"\\E155"}.glyphicon-sort-by-attributes-alt:before{content:"\\E156"}.glyphicon-unchecked:before{content:"\\E157"}.glyphicon-expand:before{content:"\\E158"}.glyphicon-collapse-down:before{content:"\\E159"}.glyphicon-collapse-up:before{content:"\\E160"}.glyphicon-log-in:before{content:"\\E161"}.glyphicon-flash:before{content:"\\E162"}.glyphicon-log-out:before{content:"\\E163"}.glyphicon-new-window:before{content:"\\E164"}.glyphicon-record:before{content:"\\E165"}.glyphicon-save:before{content:"\\E166"}.glyphicon-open:before{content:"\\E167"}.glyphicon-saved:before{content:"\\E168"}.glyphicon-import:before{content:"\\E169"}.glyphicon-export:before{content:"\\E170"}.glyphicon-send:before{content:"\\E171"}.glyphicon-floppy-disk:before{content:"\\E172"}.glyphicon-floppy-saved:before{content:"\\E173"}.glyphicon-floppy-remove:before{content:"\\E174"}.glyphicon-floppy-save:before{content:"\\E175"}.glyphicon-floppy-open:before{content:"\\E176"}.glyphicon-credit-card:before{content:"\\E177"}.glyphicon-transfer:before{content:"\\E178"}.glyphicon-cutlery:before{content:"\\E179"}.glyphicon-header:before{content:"\\E180"}.glyphicon-compressed:before{content:"\\E181"}.glyphicon-earphone:before{content:"\\E182"}.glyphicon-phone-alt:before{content:"\\E183"}.glyphicon-tower:before{content:"\\E184"}.glyphicon-stats:before{content:"\\E185"}.glyphicon-sd-video:before{content:"\\E186"}.glyphicon-hd-video:before{content:"\\E187"}.glyphicon-subtitles:before{content:"\\E188"}.glyphicon-sound-stereo:before{content:"\\E189"}.glyphicon-sound-dolby:before{content:"\\E190"}.glyphicon-sound-5-1:before{content:"\\E191"}.glyphicon-sound-6-1:before{content:"\\E192"}.glyphicon-sound-7-1:before{content:"\\E193"}.glyphicon-copyright-mark:before{content:"\\E194"}.glyphicon-registration-mark:before{content:"\\E195"}.glyphicon-cloud-download:before{content:"\\E197"}.glyphicon-cloud-upload:before{content:"\\E198"}.glyphicon-tree-conifer:before{content:"\\E199"}.glyphicon-tree-deciduous:before{content:"\\E200"}.glyphicon-cd:before{content:"\\E201"}.glyphicon-save-file:before{content:"\\E202"}.glyphicon-open-file:before{content:"\\E203"}.glyphicon-level-up:before{content:"\\E204"}.glyphicon-copy:before{content:"\\E205"}.glyphicon-paste:before{content:"\\E206"}.glyphicon-alert:before{content:"\\E209"}.glyphicon-equalizer:before{content:"\\E210"}.glyphicon-king:before{content:"\\E211"}.glyphicon-queen:before{content:"\\E212"}.glyphicon-pawn:before{content:"\\E213"}.glyphicon-bishop:before{content:"\\E214"}.glyphicon-knight:before{content:"\\E215"}.glyphicon-baby-formula:before{content:"\\E216"}.glyphicon-tent:before{content:"\\26FA"}.glyphicon-blackboard:before{content:"\\E218"}.glyphicon-bed:before{content:"\\E219"}.glyphicon-apple:before{content:"\\F8FF"}.glyphicon-erase:before{content:"\\E221"}.glyphicon-hourglass:before{content:"\\231B"}.glyphicon-lamp:before{content:"\\E223"}.glyphicon-duplicate:before{content:"\\E224"}.glyphicon-piggy-bank:before{content:"\\E225"}.glyphicon-scissors:before{content:"\\E226"}.glyphicon-bitcoin:before,.glyphicon-btc:before,.glyphicon-xbt:before{content:"\\E227"}.glyphicon-jpy:before,.glyphicon-yen:before{content:"\\A5"}.glyphicon-rub:before,.glyphicon-ruble:before{content:"\\20BD"}.glyphicon-scale:before{content:"\\E230"}.glyphicon-ice-lolly:before{content:"\\E231"}.glyphicon-ice-lolly-tasted:before{content:"\\E232"}.glyphicon-education:before{content:"\\E233"}.glyphicon-option-horizontal:before{content:"\\E234"}.glyphicon-option-vertical:before{content:"\\E235"}.glyphicon-menu-hamburger:before{content:"\\E236"}.glyphicon-modal-window:before{content:"\\E237"}.glyphicon-oil:before{content:"\\E238"}.glyphicon-grain:before{content:"\\E239"}.glyphicon-sunglasses:before{content:"\\E240"}.glyphicon-text-size:before{content:"\\E241"}.glyphicon-text-color:before{content:"\\E242"}.glyphicon-text-background:before{content:"\\E243"}.glyphicon-object-align-top:before{content:"\\E244"}.glyphicon-object-align-bottom:before{content:"\\E245"}.glyphicon-object-align-horizontal:before{content:"\\E246"}.glyphicon-object-align-left:before{content:"\\E247"}.glyphicon-object-align-vertical:before{content:"\\E248"}.glyphicon-object-align-right:before{content:"\\E249"}.glyphicon-triangle-right:before{content:"\\E250"}.glyphicon-triangle-left:before{content:"\\E251"}.glyphicon-triangle-bottom:before{content:"\\E252"}.glyphicon-triangle-top:before{content:"\\E253"}.glyphicon-console:before{content:"\\E254"}.glyphicon-superscript:before{content:"\\E255"}.glyphicon-subscript:before{content:"\\E256"}.glyphicon-menu-left:before{content:"\\E257"}.glyphicon-menu-right:before{content:"\\E258"}.glyphicon-menu-down:before{content:"\\E259"}.glyphicon-menu-up:before{content:"\\E260"}*,:after,:before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{font-size:10px;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{font-family:Open Sans,Helvetica Neue,Helvetica,Arial,sans-serif;font-size:14px;line-height:1.42857143;color:#666;background-color:#fff}button,input,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{color:#9e1f63;text-decoration:none}a:focus,a:hover{color:#5e123b;text-decoration:underline}a:focus{outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}figure{margin:0}img{vertical-align:middle}.carousel-inner>.item>a>img,.carousel-inner>.item>img,.img-responsive,.thumbnail>img,.thumbnail a>img{display:block;max-width:100%;height:auto}.img-rounded{border-radius:6px}.img-thumbnail{padding:4px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out;display:inline-block;max-width:100%;height:auto}.img-circle{border-radius:50%}hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #fff}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}[role=button]{cursor:pointer}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{font-family:inherit;font-weight:500;line-height:1.1;color:inherit}.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{font-weight:400;line-height:1;color:#aaa}.h1,.h2,.h3,h1,h2,h3{margin-top:20px;margin-bottom:10px}.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small{font-size:65%}.h4,.h5,.h6,h4,h5,h6{margin-top:10px;margin-bottom:10px}.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{font-size:75%}.h1,h1{font-size:36px}.h2,h2{font-size:30px}.h3,h3{font-size:24px}.h4,h4{font-size:18px}.h5,h5{font-size:14px}.h6,h6{font-size:12px}p{margin:0 0 10px}.lead{margin-bottom:20px;font-size:16px;font-weight:300;line-height:1.4}@media (min-width:768px){.lead{font-size:21px}}.small,small{font-size:85%}.mark,mark{background-color:#fcf8e3;padding:.2em}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}.text-justify{text-align:justify}.text-nowrap{white-space:nowrap}.text-lowercase{text-transform:lowercase}.text-uppercase{text-transform:uppercase}.text-capitalize{text-transform:capitalize}.text-muted{color:#aaa}.text-primary{color:#9e1f63}a.text-primary:focus,a.text-primary:hover{color:#731748}.text-success{color:#3c763d}a.text-success:focus,a.text-success:hover{color:#2b542c}.text-info{color:#31708f}a.text-info:focus,a.text-info:hover{color:#245269}.text-warning{color:#8a6d3b}a.text-warning:focus,a.text-warning:hover{color:#66512c}.text-danger{color:#a94442}a.text-danger:focus,a.text-danger:hover{color:#843534}.bg-primary{color:#fff;background-color:#9e1f63}a.bg-primary:focus,a.bg-primary:hover{background-color:#731748}.bg-success{background-color:#dff0d8}a.bg-success:focus,a.bg-success:hover{background-color:#c1e2b3}.bg-info{background-color:#d9edf7}a.bg-info:focus,a.bg-info:hover{background-color:#afd9ee}.bg-warning{background-color:#fcf8e3}a.bg-warning:focus,a.bg-warning:hover{background-color:#f7ecb5}.bg-danger{background-color:#f2dede}a.bg-danger:focus,a.bg-danger:hover{background-color:#e4b9b9}.page-header{padding-bottom:9px;margin:40px 0 20px;border-bottom:1px solid #fff}ol,ul{margin-top:0;margin-bottom:10px}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}.list-inline,.list-unstyled{padding-left:0;list-style:none}.list-inline{margin-left:-5px}.list-inline>li{display:inline-block;padding-left:5px;padding-right:5px}dl{margin-top:0;margin-bottom:20px}dd,dt{line-height:1.42857143}dt{font-weight:700}dd{margin-left:0}@media (min-width:768px){.dl-horizontal dt{float:left;width:160px;clear:left;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}}abbr[data-original-title],abbr[title]{cursor:help;border-bottom:1px dotted #aaa}.initialism{font-size:90%;text-transform:uppercase}blockquote{padding:10px 20px;margin:0 0 20px;font-size:17.5px;border-left:5px solid #fff}blockquote ol:last-child,blockquote p:last-child,blockquote ul:last-child{margin-bottom:0}blockquote .small,blockquote footer,blockquote small{display:block;font-size:80%;line-height:1.42857143;color:#aaa}blockquote .small:before,blockquote footer:before,blockquote small:before{content:"\\2014 \\A0"}.blockquote-reverse,blockquote.pull-right{padding-right:15px;padding-left:0;border-right:5px solid #fff;border-left:0;text-align:right}.blockquote-reverse .small:before,.blockquote-reverse footer:before,.blockquote-reverse small:before,blockquote.pull-right .small:before,blockquote.pull-right footer:before,blockquote.pull-right small:before{content:""}.blockquote-reverse .small:after,.blockquote-reverse footer:after,.blockquote-reverse small:after,blockquote.pull-right .small:after,blockquote.pull-right footer:after,blockquote.pull-right small:after{content:"\\A0 \\2014"}address{margin-bottom:20px;font-style:normal;line-height:1.42857143}code,kbd,pre,samp{font-family:Menlo,Monaco,Consolas,Courier New,monospace}code{color:#c7254e;background-color:#f9f2f4;border-radius:4px}code,kbd{padding:2px 4px;font-size:90%}kbd{color:#fff;background-color:#333;border-radius:3px;box-shadow:inset 0 -1px 0 rgba(0,0,0,.25)}kbd kbd{padding:0;font-size:100%;font-weight:700;box-shadow:none}pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.42857143;word-break:break-all;word-wrap:break-word;color:#666;background-color:#f5f5f5;border:1px solid #ccc;border-radius:4px}pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border-radius:0}.pre-scrollable{max-height:340px;overflow-y:scroll}.container{margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}@media (min-width:768px){.container{width:750px}}@media (min-width:992px){.container{width:970px}}@media (min-width:1200px){.container{width:1170px}}.container-fluid{margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}.row{margin-left:-15px;margin-right:-15px}.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12,.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12,.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12,.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{position:relative;min-height:1px;padding-left:15px;padding-right:15px}.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media (min-width:768px){.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media (min-width:992px){.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media (min-width:1200px){.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}table{background-color:transparent}caption{padding-top:8px;padding-bottom:8px;color:#aaa}caption,th{text-align:left}.table{width:100%;max-width:100%;margin-bottom:20px}.table>tbody>tr>td,.table>tbody>tr>th,.table>tfoot>tr>td,.table>tfoot>tr>th,.table>thead>tr>td,.table>thead>tr>th{padding:8px;line-height:1.42857143;vertical-align:top;border-top:1px solid #ddd}.table>thead>tr>th{vertical-align:bottom;border-bottom:2px solid #ddd}.table>caption+thead>tr:first-child>td,.table>caption+thead>tr:first-child>th,.table>colgroup+thead>tr:first-child>td,.table>colgroup+thead>tr:first-child>th,.table>thead:first-child>tr:first-child>td,.table>thead:first-child>tr:first-child>th{border-top:0}.table>tbody+tbody{border-top:2px solid #ddd}.table .table{background-color:#fff}.table-condensed>tbody>tr>td,.table-condensed>tbody>tr>th,.table-condensed>tfoot>tr>td,.table-condensed>tfoot>tr>th,.table-condensed>thead>tr>td,.table-condensed>thead>tr>th{padding:5px}.table-bordered,.table-bordered>tbody>tr>td,.table-bordered>tbody>tr>th,.table-bordered>tfoot>tr>td,.table-bordered>tfoot>tr>th,.table-bordered>thead>tr>td,.table-bordered>thead>tr>th{border:1px solid #ddd}.table-bordered>thead>tr>td,.table-bordered>thead>tr>th{border-bottom-width:2px}.table-striped>tbody>tr:nth-of-type(odd){background-color:#f9f9f9}.table-hover>tbody>tr:hover{background-color:#f5f5f5}table col[class*=col-]{position:static;float:none;display:table-column}table td[class*=col-],table th[class*=col-]{position:static;float:none;display:table-cell}.table>tbody>tr.active>td,.table>tbody>tr.active>th,.table>tbody>tr>td.active,.table>tbody>tr>th.active,.table>tfoot>tr.active>td,.table>tfoot>tr.active>th,.table>tfoot>tr>td.active,.table>tfoot>tr>th.active,.table>thead>tr.active>td,.table>thead>tr.active>th,.table>thead>tr>td.active,.table>thead>tr>th.active{background-color:#f5f5f5}.table-hover>tbody>tr.active:hover>td,.table-hover>tbody>tr.active:hover>th,.table-hover>tbody>tr:hover>.active,.table-hover>tbody>tr>td.active:hover,.table-hover>tbody>tr>th.active:hover{background-color:#e8e8e8}.table>tbody>tr.success>td,.table>tbody>tr.success>th,.table>tbody>tr>td.success,.table>tbody>tr>th.success,.table>tfoot>tr.success>td,.table>tfoot>tr.success>th,.table>tfoot>tr>td.success,.table>tfoot>tr>th.success,.table>thead>tr.success>td,.table>thead>tr.success>th,.table>thead>tr>td.success,.table>thead>tr>th.success{background-color:#dff0d8}.table-hover>tbody>tr.success:hover>td,.table-hover>tbody>tr.success:hover>th,.table-hover>tbody>tr:hover>.success,.table-hover>tbody>tr>td.success:hover,.table-hover>tbody>tr>th.success:hover{background-color:#d0e9c6}.table>tbody>tr.info>td,.table>tbody>tr.info>th,.table>tbody>tr>td.info,.table>tbody>tr>th.info,.table>tfoot>tr.info>td,.table>tfoot>tr.info>th,.table>tfoot>tr>td.info,.table>tfoot>tr>th.info,.table>thead>tr.info>td,.table>thead>tr.info>th,.table>thead>tr>td.info,.table>thead>tr>th.info{background-color:#d9edf7}.table-hover>tbody>tr.info:hover>td,.table-hover>tbody>tr.info:hover>th,.table-hover>tbody>tr:hover>.info,.table-hover>tbody>tr>td.info:hover,.table-hover>tbody>tr>th.info:hover{background-color:#c4e3f3}.table>tbody>tr.warning>td,.table>tbody>tr.warning>th,.table>tbody>tr>td.warning,.table>tbody>tr>th.warning,.table>tfoot>tr.warning>td,.table>tfoot>tr.warning>th,.table>tfoot>tr>td.warning,.table>tfoot>tr>th.warning,.table>thead>tr.warning>td,.table>thead>tr.warning>th,.table>thead>tr>td.warning,.table>thead>tr>th.warning{background-color:#fcf8e3}.table-hover>tbody>tr.warning:hover>td,.table-hover>tbody>tr.warning:hover>th,.table-hover>tbody>tr:hover>.warning,.table-hover>tbody>tr>td.warning:hover,.table-hover>tbody>tr>th.warning:hover{background-color:#faf2cc}.table>tbody>tr.danger>td,.table>tbody>tr.danger>th,.table>tbody>tr>td.danger,.table>tbody>tr>th.danger,.table>tfoot>tr.danger>td,.table>tfoot>tr.danger>th,.table>tfoot>tr>td.danger,.table>tfoot>tr>th.danger,.table>thead>tr.danger>td,.table>thead>tr.danger>th,.table>thead>tr>td.danger,.table>thead>tr>th.danger{background-color:#f2dede}.table-hover>tbody>tr.danger:hover>td,.table-hover>tbody>tr.danger:hover>th,.table-hover>tbody>tr:hover>.danger,.table-hover>tbody>tr>td.danger:hover,.table-hover>tbody>tr>th.danger:hover{background-color:#ebcccc}.table-responsive{overflow-x:auto;min-height:.01%}@media screen and (max-width:767px){.table-responsive{width:100%;margin-bottom:15px;overflow-y:hidden;-ms-overflow-style:-ms-autohiding-scrollbar;border:1px solid #ddd}.table-responsive>.table{margin-bottom:0}.table-responsive>.table>tbody>tr>td,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tfoot>tr>td,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>thead>tr>th{white-space:nowrap}.table-responsive>.table-bordered{border:0}.table-responsive>.table-bordered>tbody>tr>td:first-child,.table-responsive>.table-bordered>tbody>tr>th:first-child,.table-responsive>.table-bordered>tfoot>tr>td:first-child,.table-responsive>.table-bordered>tfoot>tr>th:first-child,.table-responsive>.table-bordered>thead>tr>td:first-child,.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.table-responsive>.table-bordered>tbody>tr>td:last-child,.table-responsive>.table-bordered>tbody>tr>th:last-child,.table-responsive>.table-bordered>tfoot>tr>td:last-child,.table-responsive>.table-bordered>tfoot>tr>th:last-child,.table-responsive>.table-bordered>thead>tr>td:last-child,.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.table-responsive>.table-bordered>tbody>tr:last-child>td,.table-responsive>.table-bordered>tbody>tr:last-child>th,.table-responsive>.table-bordered>tfoot>tr:last-child>td,.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}}fieldset{margin:0;min-width:0}fieldset,legend{padding:0;border:0}legend{display:block;width:100%;margin-bottom:20px;font-size:21px;line-height:inherit;color:#666;border-bottom:1px solid #e5e5e5}label{display:inline-block;max-width:100%;margin-bottom:5px;font-weight:700}input[type=search]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}input[type=checkbox],input[type=radio]{margin:4px 0 0;margin-top:1px\\9;line-height:normal}input[type=file]{display:block}input[type=range]{display:block;width:100%}select[multiple],select[size]{height:auto}input[type=checkbox]:focus,input[type=file]:focus,input[type=radio]:focus{outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}output{padding-top:7px}.form-control,output{display:block;font-size:14px;line-height:1.42857143;color:#888}.form-control{width:100%;height:34px;padding:6px 12px;background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;-o-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}.form-control:focus{border-color:#66afe9;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}.form-control::-moz-placeholder{color:#999;opacity:1}.form-control:-ms-input-placeholder{color:#999}.form-control::-webkit-input-placeholder{color:#999}.form-control::-ms-expand{border:0;background-color:transparent}.form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control{background-color:#fff;opacity:1}.form-control[disabled],fieldset[disabled] .form-control{cursor:not-allowed}textarea.form-control{height:auto}input[type=search]{-webkit-appearance:none}@media screen and (-webkit-min-device-pixel-ratio:0){input[type=date].form-control,input[type=datetime-local].form-control,input[type=month].form-control,input[type=time].form-control{line-height:34px}.input-group-sm input[type=date],.input-group-sm input[type=datetime-local],.input-group-sm input[type=month],.input-group-sm input[type=time],input[type=date].input-sm,input[type=datetime-local].input-sm,input[type=month].input-sm,input[type=time].input-sm{line-height:30px}.input-group-lg input[type=date],.input-group-lg input[type=datetime-local],.input-group-lg input[type=month],.input-group-lg input[type=time],input[type=date].input-lg,input[type=datetime-local].input-lg,input[type=month].input-lg,input[type=time].input-lg{line-height:46px}}.form-group{margin-bottom:15px}.checkbox,.radio{position:relative;display:block;margin-top:10px;margin-bottom:10px}.checkbox label,.radio label{min-height:20px;padding-left:20px;margin-bottom:0;font-weight:400;cursor:pointer}.checkbox-inline input[type=checkbox],.checkbox input[type=checkbox],.radio-inline input[type=radio],.radio input[type=radio]{position:absolute;margin-left:-20px;margin-top:4px\\9}.checkbox+.checkbox,.radio+.radio{margin-top:-5px}.checkbox-inline,.radio-inline{position:relative;display:inline-block;padding-left:20px;margin-bottom:0;vertical-align:middle;font-weight:400;cursor:pointer}.checkbox-inline+.checkbox-inline,.radio-inline+.radio-inline{margin-top:0;margin-left:10px}.checkbox-inline.disabled,.checkbox.disabled label,.radio-inline.disabled,.radio.disabled label,fieldset[disabled] .checkbox-inline,fieldset[disabled] .checkbox label,fieldset[disabled] .radio-inline,fieldset[disabled] .radio label,fieldset[disabled] input[type=checkbox],fieldset[disabled] input[type=radio],input[type=checkbox].disabled,input[type=checkbox][disabled],input[type=radio].disabled,input[type=radio][disabled]{cursor:not-allowed}.form-control-static{padding-top:7px;padding-bottom:7px;margin-bottom:0;min-height:34px}.form-control-static.input-lg,.form-control-static.input-sm{padding-left:0;padding-right:0}.input-sm{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-sm{height:30px;line-height:30px}select[multiple].input-sm,textarea.input-sm{height:auto}.form-group-sm .form-control{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.form-group-sm select.form-control{height:30px;line-height:30px}.form-group-sm select[multiple].form-control,.form-group-sm textarea.form-control{height:auto}.form-group-sm .form-control-static{height:30px;min-height:32px;padding:6px 10px;font-size:12px;line-height:1.5}.input-lg{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}select.input-lg{height:46px;line-height:46px}select[multiple].input-lg,textarea.input-lg{height:auto}.form-group-lg .form-control{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}.form-group-lg select.form-control{height:46px;line-height:46px}.form-group-lg select[multiple].form-control,.form-group-lg textarea.form-control{height:auto}.form-group-lg .form-control-static{height:46px;min-height:38px;padding:11px 16px;font-size:18px;line-height:1.3333333}.has-feedback{position:relative}.has-feedback .form-control{padding-right:42.5px}.form-control-feedback{position:absolute;top:0;right:0;z-index:2;display:block;width:34px;height:34px;line-height:34px;text-align:center;pointer-events:none}.form-group-lg .form-control+.form-control-feedback,.input-group-lg+.form-control-feedback,.input-lg+.form-control-feedback{width:46px;height:46px;line-height:46px}.form-group-sm .form-control+.form-control-feedback,.input-group-sm+.form-control-feedback,.input-sm+.form-control-feedback{width:30px;height:30px;line-height:30px}.has-success .checkbox,.has-success .checkbox-inline,.has-success.checkbox-inline label,.has-success.checkbox label,.has-success .control-label,.has-success .help-block,.has-success .radio,.has-success .radio-inline,.has-success.radio-inline label,.has-success.radio label{color:#3c763d}.has-success .form-control{border-color:#3c763d;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-success .form-control:focus{border-color:#2b542c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168}.has-success .input-group-addon{color:#3c763d;border-color:#3c763d;background-color:#dff0d8}.has-success .form-control-feedback{color:#3c763d}.has-warning .checkbox,.has-warning .checkbox-inline,.has-warning.checkbox-inline label,.has-warning.checkbox label,.has-warning .control-label,.has-warning .help-block,.has-warning .radio,.has-warning .radio-inline,.has-warning.radio-inline label,.has-warning.radio label{color:#8a6d3b}.has-warning .form-control{border-color:#8a6d3b;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-warning .form-control:focus{border-color:#66512c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b}.has-warning .input-group-addon{color:#8a6d3b;border-color:#8a6d3b;background-color:#fcf8e3}.has-warning .form-control-feedback{color:#8a6d3b}.has-error .checkbox,.has-error .checkbox-inline,.has-error.checkbox-inline label,.has-error.checkbox label,.has-error .control-label,.has-error .help-block,.has-error .radio,.has-error .radio-inline,.has-error.radio-inline label,.has-error.radio label{color:#a94442}.has-error .form-control{border-color:#a94442;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-error .form-control:focus{border-color:#843534;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483}.has-error .input-group-addon{color:#a94442;border-color:#a94442;background-color:#f2dede}.has-error .form-control-feedback{color:#a94442}.has-feedback label~.form-control-feedback{top:25px}.has-feedback label.sr-only~.form-control-feedback{top:0}.help-block{display:block;margin-top:5px;margin-bottom:10px;color:#a6a6a6}@media (min-width:768px){.form-inline .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.form-inline .form-control{display:inline-block;width:auto;vertical-align:middle}.form-inline .form-control-static{display:inline-block}.form-inline .input-group{display:inline-table;vertical-align:middle}.form-inline .input-group .form-control,.form-inline .input-group .input-group-addon,.form-inline .input-group .input-group-btn{width:auto}.form-inline .input-group>.form-control{width:100%}.form-inline .control-label{margin-bottom:0;vertical-align:middle}.form-inline .checkbox,.form-inline .radio{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.form-inline .checkbox label,.form-inline .radio label{padding-left:0}.form-inline .checkbox input[type=checkbox],.form-inline .radio input[type=radio]{position:relative;margin-left:0}.form-inline .has-feedback .form-control-feedback{top:0}}.form-horizontal .checkbox,.form-horizontal .checkbox-inline,.form-horizontal .radio,.form-horizontal .radio-inline{margin-top:0;margin-bottom:0;padding-top:7px}.form-horizontal .checkbox,.form-horizontal .radio{min-height:27px}.form-horizontal .form-group{margin-left:-15px;margin-right:-15px}@media (min-width:768px){.form-horizontal .control-label{text-align:right;margin-bottom:0;padding-top:7px}}.form-horizontal .has-feedback .form-control-feedback{right:15px}@media (min-width:768px){.form-horizontal .form-group-lg .control-label{padding-top:11px;font-size:18px}}@media (min-width:768px){.form-horizontal .form-group-sm .control-label{padding-top:6px;font-size:12px}}.btn{display:inline-block;margin-bottom:0;font-weight:400;text-align:center;vertical-align:middle;touch-action:manipulation;cursor:pointer;background-image:none;border:1px solid transparent;white-space:nowrap;padding:6px 12px;font-size:14px;line-height:1.42857143;border-radius:4px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.btn.active.focus,.btn.active:focus,.btn.focus,.btn:active.focus,.btn:active:focus,.btn:focus{outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn.focus,.btn:focus,.btn:hover{color:#333;text-decoration:none}.btn.active,.btn:active{outline:0;background-image:none;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn.disabled,.btn[disabled],fieldset[disabled] .btn{cursor:not-allowed;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none}a.btn.disabled,fieldset[disabled] a.btn{pointer-events:none}.btn-default{color:#333;background-color:#f1f2f2;border-color:#e3e5e5}.btn-default.focus,.btn-default:focus{color:#333;background-color:#d7d9d9;border-color:#a1a8a8}.btn-default.active,.btn-default:active,.btn-default:hover,.open>.dropdown-toggle.btn-default{color:#333;background-color:#d7d9d9;border-color:#c3c8c8}.btn-default.active.focus,.btn-default.active:focus,.btn-default.active:hover,.btn-default:active.focus,.btn-default:active:focus,.btn-default:active:hover,.open>.dropdown-toggle.btn-default.focus,.open>.dropdown-toggle.btn-default:focus,.open>.dropdown-toggle.btn-default:hover{color:#333;background-color:#c4c8c8;border-color:#a1a8a8}.btn-default.active,.btn-default:active,.open>.dropdown-toggle.btn-default{background-image:none}.btn-default.disabled.focus,.btn-default.disabled:focus,.btn-default.disabled:hover,.btn-default[disabled].focus,.btn-default[disabled]:focus,.btn-default[disabled]:hover,fieldset[disabled] .btn-default.focus,fieldset[disabled] .btn-default:focus,fieldset[disabled] .btn-default:hover{background-color:#f1f2f2;border-color:#e3e5e5}.btn-default .badge{color:#f1f2f2;background-color:#333}.btn-primary{color:#fff;background-color:#9e1f63;border-color:#891b56}.btn-primary.focus,.btn-primary:focus{color:#fff;background-color:#731748;border-color:#1e0613}.btn-primary.active,.btn-primary:active,.btn-primary:hover,.open>.dropdown-toggle.btn-primary{color:#fff;background-color:#731748;border-color:#561136}.btn-primary.active.focus,.btn-primary.active:focus,.btn-primary.active:hover,.btn-primary:active.focus,.btn-primary:active:focus,.btn-primary:active:hover,.open>.dropdown-toggle.btn-primary.focus,.open>.dropdown-toggle.btn-primary:focus,.open>.dropdown-toggle.btn-primary:hover{color:#fff;background-color:#561136;border-color:#1e0613}.btn-primary.active,.btn-primary:active,.open>.dropdown-toggle.btn-primary{background-image:none}.btn-primary.disabled.focus,.btn-primary.disabled:focus,.btn-primary.disabled:hover,.btn-primary[disabled].focus,.btn-primary[disabled]:focus,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary.focus,fieldset[disabled] .btn-primary:focus,fieldset[disabled] .btn-primary:hover{background-color:#9e1f63;border-color:#891b56}.btn-primary .badge{color:#9e1f63;background-color:#fff}.btn-success{color:#fff;background-color:#8dc63f;border-color:#80b636}.btn-success.focus,.btn-success:focus{color:#fff;background-color:#72a230;border-color:#3b5319}.btn-success.active,.btn-success:active,.btn-success:hover,.open>.dropdown-toggle.btn-success{color:#fff;background-color:#72a230;border-color:#5f8628}.btn-success.active.focus,.btn-success.active:focus,.btn-success.active:hover,.btn-success:active.focus,.btn-success:active:focus,.btn-success:active:hover,.open>.dropdown-toggle.btn-success.focus,.open>.dropdown-toggle.btn-success:focus,.open>.dropdown-toggle.btn-success:hover{color:#fff;background-color:#5e8628;border-color:#3b5319}.btn-success.active,.btn-success:active,.open>.dropdown-toggle.btn-success{background-image:none}.btn-success.disabled.focus,.btn-success.disabled:focus,.btn-success.disabled:hover,.btn-success[disabled].focus,.btn-success[disabled]:focus,.btn-success[disabled]:hover,fieldset[disabled] .btn-success.focus,fieldset[disabled] .btn-success:focus,fieldset[disabled] .btn-success:hover{background-color:#8dc63f;border-color:#80b636}.btn-success .badge{color:#8dc63f;background-color:#fff}.btn-info{color:#fff;background-color:#16ace3;border-color:#149acc}.btn-info.focus,.btn-info:focus{color:#fff;background-color:#1189b5;border-color:#084258}.btn-info.active,.btn-info:active,.btn-info:hover,.open>.dropdown-toggle.btn-info{color:#fff;background-color:#1189b5;border-color:#0e7094}.btn-info.active.focus,.btn-info.active:focus,.btn-info.active:hover,.btn-info:active.focus,.btn-info:active:focus,.btn-info:active:hover,.open>.dropdown-toggle.btn-info.focus,.open>.dropdown-toggle.btn-info:focus,.open>.dropdown-toggle.btn-info:hover{color:#fff;background-color:#0e7094;border-color:#084258}.btn-info.active,.btn-info:active,.open>.dropdown-toggle.btn-info{background-image:none}.btn-info.disabled.focus,.btn-info.disabled:focus,.btn-info.disabled:hover,.btn-info[disabled].focus,.btn-info[disabled]:focus,.btn-info[disabled]:hover,fieldset[disabled] .btn-info.focus,fieldset[disabled] .btn-info:focus,fieldset[disabled] .btn-info:hover{background-color:#16ace3;border-color:#149acc}.btn-info .badge{color:#16ace3;background-color:#fff}.btn-warning{color:#fff;background-color:#f7941e;border-color:#f38809}.btn-warning.focus,.btn-warning:focus{color:#fff;background-color:#da7a08;border-color:#784304}.btn-warning.active,.btn-warning:active,.btn-warning:hover,.open>.dropdown-toggle.btn-warning{color:#fff;background-color:#da7a08;border-color:#b86707}.btn-warning.active.focus,.btn-warning.active:focus,.btn-warning.active:hover,.btn-warning:active.focus,.btn-warning:active:focus,.btn-warning:active:hover,.open>.dropdown-toggle.btn-warning.focus,.open>.dropdown-toggle.btn-warning:focus,.open>.dropdown-toggle.btn-warning:hover{color:#fff;background-color:#b86707;border-color:#784304}.btn-warning.active,.btn-warning:active,.open>.dropdown-toggle.btn-warning{background-image:none}.btn-warning.disabled.focus,.btn-warning.disabled:focus,.btn-warning.disabled:hover,.btn-warning[disabled].focus,.btn-warning[disabled]:focus,.btn-warning[disabled]:hover,fieldset[disabled] .btn-warning.focus,fieldset[disabled] .btn-warning:focus,fieldset[disabled] .btn-warning:hover{background-color:#f7941e;border-color:#f38809}.btn-warning .badge{color:#f7941e;background-color:#fff}.btn-danger{color:#fff;background-color:#ff3b00;border-color:#e63500}.btn-danger.focus,.btn-danger:focus{color:#fff;background-color:#cc2f00;border-color:#661800}.btn-danger.active,.btn-danger:active,.btn-danger:hover,.open>.dropdown-toggle.btn-danger{color:#fff;background-color:#cc2f00;border-color:#a82700}.btn-danger.active.focus,.btn-danger.active:focus,.btn-danger.active:hover,.btn-danger:active.focus,.btn-danger:active:focus,.btn-danger:active:hover,.open>.dropdown-toggle.btn-danger.focus,.open>.dropdown-toggle.btn-danger:focus,.open>.dropdown-toggle.btn-danger:hover{color:#fff;background-color:#a82700;border-color:#661800}.btn-danger.active,.btn-danger:active,.open>.dropdown-toggle.btn-danger{background-image:none}.btn-danger.disabled.focus,.btn-danger.disabled:focus,.btn-danger.disabled:hover,.btn-danger[disabled].focus,.btn-danger[disabled]:focus,.btn-danger[disabled]:hover,fieldset[disabled] .btn-danger.focus,fieldset[disabled] .btn-danger:focus,fieldset[disabled] .btn-danger:hover{background-color:#ff3b00;border-color:#e63500}.btn-danger .badge{color:#ff3b00;background-color:#fff}.btn-link{color:#9e1f63;font-weight:400;border-radius:0}.btn-link,.btn-link.active,.btn-link:active,.btn-link[disabled],fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.btn-link,.btn-link:active,.btn-link:focus,.btn-link:hover{border-color:transparent}.btn-link:focus,.btn-link:hover{color:#5e123b;text-decoration:underline;background-color:transparent}.btn-link[disabled]:focus,.btn-link[disabled]:hover,fieldset[disabled] .btn-link:focus,fieldset[disabled] .btn-link:hover{color:#aaa;text-decoration:none}.btn-group-lg>.btn,.btn-lg{padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}.btn-group-sm>.btn,.btn-sm{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-group-xs>.btn,.btn-xs{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:5px}input[type=button].btn-block,input[type=reset].btn-block,input[type=submit].btn-block{width:100%}.fade{opacity:0;-webkit-transition:opacity .15s linear;-o-transition:opacity .15s linear;transition:opacity .15s linear}.fade.in{opacity:1}.collapse{display:none}.collapse.in{display:block}tr.collapse.in{display:table-row}tbody.collapse.in{display:table-row-group}.collapsing{position:relative;height:0;overflow:hidden;-webkit-transition-property:height,visibility;transition-property:height,visibility;-webkit-transition-duration:.35s;transition-duration:.35s;-webkit-transition-timing-function:ease;transition-timing-function:ease}.caret{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:4px dashed;border-top:4px solid\\9;border-right:4px solid transparent;border-left:4px solid transparent}.dropdown,.dropup{position:relative}.dropdown-toggle:focus{outline:0}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;list-style:none;font-size:14px;text-align:left;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,.15);border-radius:4px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175);background-clip:padding-box}.dropdown-menu.pull-right{right:0;left:auto}.dropdown-menu .divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.dropdown-menu>li>a{display:block;padding:3px 20px;clear:both;font-weight:400;line-height:1.42857143;color:#666;white-space:nowrap}.dropdown-menu>li>a:focus,.dropdown-menu>li>a:hover{text-decoration:none;color:#595959;background-color:#f5f5f5}.dropdown-menu>.active>a,.dropdown-menu>.active>a:focus,.dropdown-menu>.active>a:hover{color:#fff;text-decoration:none;outline:0;background-color:#9e1f63}.dropdown-menu>.disabled>a,.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover{color:#aaa}.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover{text-decoration:none;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);cursor:not-allowed}.open>.dropdown-menu{display:block}.open>a{outline:0}.dropdown-menu-right{left:auto;right:0}.dropdown-menu-left{left:0;right:auto}.dropdown-header{display:block;padding:3px 20px;font-size:12px;line-height:1.42857143;color:#aaa;white-space:nowrap}.dropdown-backdrop{position:fixed;left:0;right:0;bottom:0;top:0;z-index:990}.pull-right>.dropdown-menu{right:0;left:auto}.dropup .caret,.navbar-fixed-bottom .dropdown .caret{border-top:0;border-bottom:4px dashed;border-bottom:4px solid\\9;content:""}.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:2px}@media (min-width:768px){.navbar-right .dropdown-menu{left:auto;right:0}.navbar-right .dropdown-menu-left{left:0;right:auto}}.btn-group,.btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}.btn-group-vertical>.btn,.btn-group>.btn{position:relative;float:left}.btn-group-vertical>.btn.active,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:hover,.btn-group>.btn.active,.btn-group>.btn:active,.btn-group>.btn:focus,.btn-group>.btn:hover{z-index:2}.btn-group .btn+.btn,.btn-group .btn+.btn-group,.btn-group .btn-group+.btn,.btn-group .btn-group+.btn-group{margin-left:-1px}.btn-toolbar{margin-left:-5px}.btn-toolbar .btn,.btn-toolbar .btn-group,.btn-toolbar .input-group{float:left}.btn-toolbar>.btn,.btn-toolbar>.btn-group,.btn-toolbar>.input-group{margin-left:5px}.btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.btn-group>.btn:first-child{margin-left:0}.btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-bottom-right-radius:0;border-top-right-radius:0}.btn-group>.btn:last-child:not(:first-child),.btn-group>.dropdown-toggle:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.btn-group>.btn-group{float:left}.btn-group>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-bottom-right-radius:0;border-top-right-radius:0}.btn-group>.btn-group:last-child:not(:first-child)>.btn:first-child{border-bottom-left-radius:0;border-top-left-radius:0}.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0}.btn-group>.btn+.dropdown-toggle{padding-left:8px;padding-right:8px}.btn-group>.btn-lg+.dropdown-toggle{padding-left:12px;padding-right:12px}.btn-group.open .dropdown-toggle{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn-group.open .dropdown-toggle.btn-link{-webkit-box-shadow:none;box-shadow:none}.btn .caret{margin-left:0}.btn-lg .caret{border-width:5px 5px 0;border-bottom-width:0}.dropup .btn-lg .caret{border-width:0 5px 5px}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group,.btn-group-vertical>.btn-group>.btn{display:block;float:none;width:100%;max-width:100%}.btn-group-vertical>.btn-group>.btn{float:none}.btn-group-vertical>.btn+.btn,.btn-group-vertical>.btn+.btn-group,.btn-group-vertical>.btn-group+.btn,.btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.btn-group-vertical>.btn:not(:first-child):not(:last-child){border-radius:0}.btn-group-vertical>.btn:first-child:not(:last-child){border-top-right-radius:4px;border-top-left-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn:last-child:not(:first-child){border-top-right-radius:0;border-top-left-radius:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}.btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group-vertical>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group-vertical>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-right-radius:0;border-top-left-radius:0}.btn-group-justified{display:table;width:100%;table-layout:fixed;border-collapse:separate}.btn-group-justified>.btn,.btn-group-justified>.btn-group{float:none;display:table-cell;width:1%}.btn-group-justified>.btn-group .btn{width:100%}.btn-group-justified>.btn-group .dropdown-menu{left:auto}[data-toggle=buttons]>.btn-group>.btn input[type=checkbox],[data-toggle=buttons]>.btn-group>.btn input[type=radio],[data-toggle=buttons]>.btn input[type=checkbox],[data-toggle=buttons]>.btn input[type=radio]{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.input-group{position:relative;display:table;border-collapse:separate}.input-group[class*=col-]{float:none;padding-left:0;padding-right:0}.input-group .form-control{position:relative;z-index:2;float:left;width:100%;margin-bottom:0}.input-group .form-control:focus{z-index:3}.input-group-lg>.form-control,.input-group-lg>.input-group-addon,.input-group-lg>.input-group-btn>.btn{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}select.input-group-lg>.form-control,select.input-group-lg>.input-group-addon,select.input-group-lg>.input-group-btn>.btn{height:46px;line-height:46px}select[multiple].input-group-lg>.form-control,select[multiple].input-group-lg>.input-group-addon,select[multiple].input-group-lg>.input-group-btn>.btn,textarea.input-group-lg>.form-control,textarea.input-group-lg>.input-group-addon,textarea.input-group-lg>.input-group-btn>.btn{height:auto}.input-group-sm>.form-control,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.btn{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-group-sm>.form-control,select.input-group-sm>.input-group-addon,select.input-group-sm>.input-group-btn>.btn{height:30px;line-height:30px}select[multiple].input-group-sm>.form-control,select[multiple].input-group-sm>.input-group-addon,select[multiple].input-group-sm>.input-group-btn>.btn,textarea.input-group-sm>.form-control,textarea.input-group-sm>.input-group-addon,textarea.input-group-sm>.input-group-btn>.btn{height:auto}.input-group-addon,.input-group-btn,.input-group .form-control{display:table-cell}.input-group-addon:not(:first-child):not(:last-child),.input-group-btn:not(:first-child):not(:last-child),.input-group .form-control:not(:first-child):not(:last-child){border-radius:0}.input-group-addon,.input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.input-group-addon{padding:6px 12px;font-size:14px;font-weight:400;line-height:1;color:#888;text-align:center;background-color:#fff;border:1px solid #ccc;border-radius:4px}.input-group-addon.input-sm{padding:5px 10px;font-size:12px;border-radius:3px}.input-group-addon.input-lg{padding:10px 16px;font-size:18px;border-radius:6px}.input-group-addon input[type=checkbox],.input-group-addon input[type=radio]{margin-top:0}.input-group-addon:first-child,.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group>.btn,.input-group-btn:first-child>.dropdown-toggle,.input-group-btn:last-child>.btn-group:not(:last-child)>.btn,.input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle),.input-group .form-control:first-child{border-bottom-right-radius:0;border-top-right-radius:0}.input-group-addon:first-child{border-right:0}.input-group-addon:last-child,.input-group-btn:first-child>.btn-group:not(:first-child)>.btn,.input-group-btn:first-child>.btn:not(:first-child),.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group>.btn,.input-group-btn:last-child>.dropdown-toggle,.input-group .form-control:last-child{border-bottom-left-radius:0;border-top-left-radius:0}.input-group-addon:last-child{border-left:0}.input-group-btn{font-size:0;white-space:nowrap}.input-group-btn,.input-group-btn>.btn{position:relative}.input-group-btn>.btn+.btn{margin-left:-1px}.input-group-btn>.btn:active,.input-group-btn>.btn:focus,.input-group-btn>.btn:hover{z-index:2}.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group{margin-right:-1px}.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group{z-index:2;margin-left:-1px}.nav{margin-bottom:0;padding-left:0;list-style:none}.nav>li,.nav>li>a{position:relative;display:block}.nav>li>a{padding:10px 15px}.nav>li>a:focus,.nav>li>a:hover{text-decoration:none;background-color:#fff}.nav>li.disabled>a{color:#aaa}.nav>li.disabled>a:focus,.nav>li.disabled>a:hover{color:#aaa;text-decoration:none;background-color:transparent;cursor:not-allowed}.nav .open>a,.nav .open>a:focus,.nav .open>a:hover{background-color:#fff;border-color:#9e1f63}.nav .nav-divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.nav>li>a>img{max-width:none}.nav-tabs{border-bottom:1px solid #ddd}.nav-tabs>li{float:left;margin-bottom:-1px}.nav-tabs>li>a{margin-right:2px;line-height:1.42857143;border:1px solid transparent;border-radius:4px 4px 0 0}.nav-tabs>li>a:hover{border-color:#fff #fff #ddd}.nav-tabs>li.active>a,.nav-tabs>li.active>a:focus,.nav-tabs>li.active>a:hover{color:#888;background-color:#fff;border:1px solid #ddd;border-bottom-color:transparent;cursor:default}.nav-tabs.nav-justified{width:100%;border-bottom:0}.nav-tabs.nav-justified>li{float:none}.nav-tabs.nav-justified>li>a{text-align:center;margin-bottom:5px}.nav-tabs.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-tabs.nav-justified>li{display:table-cell;width:1%}.nav-tabs.nav-justified>li>a{margin-bottom:0}}.nav-tabs.nav-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){.nav-tabs.nav-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:hover{border-bottom-color:#fff}}.nav-pills>li{float:left}.nav-pills>li>a{border-radius:4px}.nav-pills>li+li{margin-left:2px}.nav-pills>li.active>a,.nav-pills>li.active>a:focus,.nav-pills>li.active>a:hover{color:#fff;background-color:#9e1f63}.nav-stacked>li{float:none}.nav-stacked>li+li{margin-top:2px;margin-left:0}.nav-justified{width:100%}.nav-justified>li{float:none}.nav-justified>li>a{text-align:center;margin-bottom:5px}.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-justified>li{display:table-cell;width:1%}.nav-justified>li>a{margin-bottom:0}}.nav-tabs-justified{border-bottom:0}.nav-tabs-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:focus,.nav-tabs-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){.nav-tabs-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:focus,.nav-tabs-justified>.active>a:hover{border-bottom-color:#fff}}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-right-radius:0;border-top-left-radius:0}.navbar{position:relative;min-height:50px;margin-bottom:20px;border:1px solid transparent}@media (min-width:768px){.navbar{border-radius:4px}}@media (min-width:768px){.navbar-header{float:left}}.navbar-collapse{overflow-x:visible;padding-right:15px;padding-left:15px;border-top:1px solid transparent;box-shadow:inset 0 1px 0 hsla(0,0%,100%,.1);-webkit-overflow-scrolling:touch}.navbar-collapse.in{overflow-y:auto}@media (min-width:768px){.navbar-collapse{width:auto;border-top:0;box-shadow:none}.navbar-collapse.collapse{display:block!important;height:auto!important;padding-bottom:0;overflow:visible!important}.navbar-collapse.in{overflow-y:visible}.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse,.navbar-static-top .navbar-collapse{padding-left:0;padding-right:0}}.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse{max-height:340px}@media (max-device-width:480px) and (orientation:landscape){.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse{max-height:200px}}.container-fluid>.navbar-collapse,.container-fluid>.navbar-header,.container>.navbar-collapse,.container>.navbar-header{margin-right:-15px;margin-left:-15px}@media (min-width:768px){.container-fluid>.navbar-collapse,.container-fluid>.navbar-header,.container>.navbar-collapse,.container>.navbar-header{margin-right:0;margin-left:0}}.navbar-static-top{z-index:1000;border-width:0 0 1px}@media (min-width:768px){.navbar-static-top{border-radius:0}}.navbar-fixed-bottom,.navbar-fixed-top{position:fixed;right:0;left:0;z-index:1030}@media (min-width:768px){.navbar-fixed-bottom,.navbar-fixed-top{border-radius:0}}.navbar-fixed-top{top:0;border-width:0 0 1px}.navbar-fixed-bottom{bottom:0;margin-bottom:0;border-width:1px 0 0}.navbar-brand{float:left;padding:15px;font-size:18px;line-height:20px;height:50px}.navbar-brand:focus,.navbar-brand:hover{text-decoration:none}.navbar-brand>img{display:block}@media (min-width:768px){.navbar>.container-fluid .navbar-brand,.navbar>.container .navbar-brand{margin-left:-15px}}.navbar-toggle{position:relative;float:right;margin-right:15px;padding:9px 10px;margin-top:8px;margin-bottom:8px;background-color:transparent;background-image:none;border:1px solid transparent;border-radius:4px}.navbar-toggle:focus{outline:0}.navbar-toggle .icon-bar{display:block;width:22px;height:2px;border-radius:1px}.navbar-toggle .icon-bar+.icon-bar{margin-top:4px}@media (min-width:768px){.navbar-toggle{display:none}}.navbar-nav{margin:7.5px -15px}.navbar-nav>li>a{padding-top:10px;padding-bottom:10px;line-height:20px}@media (max-width:767px){.navbar-nav .open .dropdown-menu{position:static;float:none;width:auto;margin-top:0;background-color:transparent;border:0;box-shadow:none}.navbar-nav .open .dropdown-menu .dropdown-header,.navbar-nav .open .dropdown-menu>li>a{padding:5px 15px 5px 25px}.navbar-nav .open .dropdown-menu>li>a{line-height:20px}.navbar-nav .open .dropdown-menu>li>a:focus,.navbar-nav .open .dropdown-menu>li>a:hover{background-image:none}}@media (min-width:768px){.navbar-nav{float:left;margin:0}.navbar-nav>li{float:left}.navbar-nav>li>a{padding-top:15px;padding-bottom:15px}}.navbar-form{margin:8px -15px;padding:10px 15px;border-top:1px solid transparent;border-bottom:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 hsla(0,0%,100%,.1),0 1px 0 hsla(0,0%,100%,.1);box-shadow:inset 0 1px 0 hsla(0,0%,100%,.1),0 1px 0 hsla(0,0%,100%,.1)}@media (min-width:768px){.navbar-form .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.navbar-form .form-control{display:inline-block;width:auto;vertical-align:middle}.navbar-form .form-control-static{display:inline-block}.navbar-form .input-group{display:inline-table;vertical-align:middle}.navbar-form .input-group .form-control,.navbar-form .input-group .input-group-addon,.navbar-form .input-group .input-group-btn{width:auto}.navbar-form .input-group>.form-control{width:100%}.navbar-form .control-label{margin-bottom:0;vertical-align:middle}.navbar-form .checkbox,.navbar-form .radio{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.navbar-form .checkbox label,.navbar-form .radio label{padding-left:0}.navbar-form .checkbox input[type=checkbox],.navbar-form .radio input[type=radio]{position:relative;margin-left:0}.navbar-form .has-feedback .form-control-feedback{top:0}}@media (max-width:767px){.navbar-form .form-group{margin-bottom:5px}.navbar-form .form-group:last-child{margin-bottom:0}}@media (min-width:768px){.navbar-form{width:auto;border:0;margin-left:0;margin-right:0;padding-top:0;padding-bottom:0;-webkit-box-shadow:none;box-shadow:none}}.navbar-nav>li>.dropdown-menu{margin-top:0;border-top-right-radius:0;border-top-left-radius:0}.navbar-fixed-bottom .navbar-nav>li>.dropdown-menu{margin-bottom:0;border-top-right-radius:4px;border-top-left-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.navbar-btn{margin-top:8px;margin-bottom:8px}.navbar-btn.btn-sm{margin-top:10px;margin-bottom:10px}.navbar-btn.btn-xs{margin-top:14px;margin-bottom:14px}.navbar-text{margin-top:15px;margin-bottom:15px}@media (min-width:768px){.navbar-text{float:left;margin-left:15px;margin-right:15px}}@media (min-width:768px){.navbar-left{float:left!important}.navbar-right{float:right!important;margin-right:-15px}.navbar-right~.navbar-right{margin-right:0}}.navbar-default{background-color:#f8f8f8;border-color:#e7e7e7}.navbar-default .navbar-brand{color:#777}.navbar-default .navbar-brand:focus,.navbar-default .navbar-brand:hover{color:#5e5e5e;background-color:transparent}.navbar-default .navbar-nav>li>a,.navbar-default .navbar-text{color:#777}.navbar-default .navbar-nav>li>a:focus,.navbar-default .navbar-nav>li>a:hover{color:#333;background-color:transparent}.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.active>a:focus,.navbar-default .navbar-nav>.active>a:hover{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav>.disabled>a,.navbar-default .navbar-nav>.disabled>a:focus,.navbar-default .navbar-nav>.disabled>a:hover{color:#ccc;background-color:transparent}.navbar-default .navbar-toggle{border-color:#ddd}.navbar-default .navbar-toggle:focus,.navbar-default .navbar-toggle:hover{background-color:#ddd}.navbar-default .navbar-toggle .icon-bar{background-color:#888}.navbar-default .navbar-collapse,.navbar-default .navbar-form{border-color:#e7e7e7}.navbar-default .navbar-nav>.open>a,.navbar-default .navbar-nav>.open>a:focus,.navbar-default .navbar-nav>.open>a:hover{background-color:#e7e7e7;color:#555}@media (max-width:767px){.navbar-default .navbar-nav .open .dropdown-menu>li>a{color:#777}.navbar-default .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>li>a:hover{color:#333;background-color:transparent}.navbar-default .navbar-nav .open .dropdown-menu>.active>a,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:hover{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#ccc;background-color:transparent}}.navbar-default .navbar-link{color:#777}.navbar-default .navbar-link:hover{color:#333}.navbar-default .btn-link{color:#777}.navbar-default .btn-link:focus,.navbar-default .btn-link:hover{color:#333}.navbar-default .btn-link[disabled]:focus,.navbar-default .btn-link[disabled]:hover,fieldset[disabled] .navbar-default .btn-link:focus,fieldset[disabled] .navbar-default .btn-link:hover{color:#ccc}.navbar-inverse{background-color:#222;border-color:#080808}.navbar-inverse .navbar-brand{color:#d0d0d0}.navbar-inverse .navbar-brand:focus,.navbar-inverse .navbar-brand:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav>li>a,.navbar-inverse .navbar-text{color:#d0d0d0}.navbar-inverse .navbar-nav>li>a:focus,.navbar-inverse .navbar-nav>li>a:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav>.active>a,.navbar-inverse .navbar-nav>.active>a:focus,.navbar-inverse .navbar-nav>.active>a:hover{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav>.disabled>a,.navbar-inverse .navbar-nav>.disabled>a:focus,.navbar-inverse .navbar-nav>.disabled>a:hover{color:#444;background-color:transparent}.navbar-inverse .navbar-toggle{border-color:#333}.navbar-inverse .navbar-toggle:focus,.navbar-inverse .navbar-toggle:hover{background-color:#333}.navbar-inverse .navbar-toggle .icon-bar{background-color:#fff}.navbar-inverse .navbar-collapse,.navbar-inverse .navbar-form{border-color:#101010}.navbar-inverse .navbar-nav>.open>a,.navbar-inverse .navbar-nav>.open>a:focus,.navbar-inverse .navbar-nav>.open>a:hover{background-color:#080808;color:#fff}@media (max-width:767px){.navbar-inverse .navbar-nav .open .dropdown-menu>.dropdown-header{border-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu .divider{background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a{color:#d0d0d0}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:hover{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#444;background-color:transparent}}.navbar-inverse .navbar-link{color:#d0d0d0}.navbar-inverse .navbar-link:hover{color:#fff}.navbar-inverse .btn-link{color:#d0d0d0}.navbar-inverse .btn-link:focus,.navbar-inverse .btn-link:hover{color:#fff}.navbar-inverse .btn-link[disabled]:focus,.navbar-inverse .btn-link[disabled]:hover,fieldset[disabled] .navbar-inverse .btn-link:focus,fieldset[disabled] .navbar-inverse .btn-link:hover{color:#444}.breadcrumb{padding:8px 15px;margin-bottom:20px;list-style:none;background-color:#f5f5f5;border-radius:4px}.breadcrumb>li{display:inline-block}.breadcrumb>li+li:before{content:"/\\A0";padding:0 5px;color:#ccc}.breadcrumb>.active{color:#aaa}.pagination{display:inline-block;padding-left:0;margin:20px 0;border-radius:4px}.pagination>li{display:inline}.pagination>li>a,.pagination>li>span{position:relative;float:left;padding:6px 12px;line-height:1.42857143;text-decoration:none;color:#9e1f63;background-color:#fff;border:1px solid #ddd;margin-left:-1px}.pagination>li:first-child>a,.pagination>li:first-child>span{margin-left:0;border-bottom-left-radius:4px;border-top-left-radius:4px}.pagination>li:last-child>a,.pagination>li:last-child>span{border-bottom-right-radius:4px;border-top-right-radius:4px}.pagination>li>a:focus,.pagination>li>a:hover,.pagination>li>span:focus,.pagination>li>span:hover{z-index:2;color:#5e123b;background-color:#fff;border-color:#ddd}.pagination>.active>a,.pagination>.active>a:focus,.pagination>.active>a:hover,.pagination>.active>span,.pagination>.active>span:focus,.pagination>.active>span:hover{z-index:3;color:#fff;background-color:#9e1f63;border-color:#9e1f63;cursor:default}.pagination>.disabled>a,.pagination>.disabled>a:focus,.pagination>.disabled>a:hover,.pagination>.disabled>span,.pagination>.disabled>span:focus,.pagination>.disabled>span:hover{color:#aaa;background-color:#fff;border-color:#ddd;cursor:not-allowed}.pagination-lg>li>a,.pagination-lg>li>span{padding:10px 16px;font-size:18px;line-height:1.3333333}.pagination-lg>li:first-child>a,.pagination-lg>li:first-child>span{border-bottom-left-radius:6px;border-top-left-radius:6px}.pagination-lg>li:last-child>a,.pagination-lg>li:last-child>span{border-bottom-right-radius:6px;border-top-right-radius:6px}.pagination-sm>li>a,.pagination-sm>li>span{padding:5px 10px;font-size:12px;line-height:1.5}.pagination-sm>li:first-child>a,.pagination-sm>li:first-child>span{border-bottom-left-radius:3px;border-top-left-radius:3px}.pagination-sm>li:last-child>a,.pagination-sm>li:last-child>span{border-bottom-right-radius:3px;border-top-right-radius:3px}.pager{padding-left:0;margin:20px 0;list-style:none;text-align:center}.pager li{display:inline}.pager li>a,.pager li>span{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;border-radius:15px}.pager li>a:focus,.pager li>a:hover{text-decoration:none;background-color:#fff}.pager .next>a,.pager .next>span{float:right}.pager .previous>a,.pager .previous>span{float:left}.pager .disabled>a,.pager .disabled>a:focus,.pager .disabled>a:hover,.pager .disabled>span{color:#aaa;background-color:#fff;cursor:not-allowed}.label{display:inline;padding:.2em .6em .3em;font-size:75%;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em}a.label:focus,a.label:hover{color:#fff;text-decoration:none;cursor:pointer}.label:empty{display:none}.btn .label{position:relative;top:-1px}.label-default{background-color:#aaa}.label-default[href]:focus,.label-default[href]:hover{background-color:#919191}.label-primary{background-color:#9e1f63}.label-primary[href]:focus,.label-primary[href]:hover{background-color:#731748}.label-success{background-color:#8dc63f}.label-success[href]:focus,.label-success[href]:hover{background-color:#72a230}.label-info{background-color:#16ace3}.label-info[href]:focus,.label-info[href]:hover{background-color:#1189b5}.label-warning{background-color:#f7941e}.label-warning[href]:focus,.label-warning[href]:hover{background-color:#da7a08}.label-danger{background-color:#ff3b00}.label-danger[href]:focus,.label-danger[href]:hover{background-color:#cc2f00}.badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:12px;font-weight:700;color:#fff;line-height:1;vertical-align:middle;white-space:nowrap;text-align:center;background-color:#aaa;border-radius:10px}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.btn-group-xs>.btn .badge,.btn-xs .badge{top:0;padding:1px 5px}a.badge:focus,a.badge:hover{color:#fff;text-decoration:none;cursor:pointer}.list-group-item.active>.badge,.nav-pills>.active>a>.badge{color:#9e1f63;background-color:#fff}.list-group-item>.badge{float:right}.list-group-item>.badge+.badge{margin-right:5px}.nav-pills>li>a>.badge{margin-left:3px}.jumbotron{padding-top:30px;padding-bottom:30px;margin-bottom:30px;background-color:#fff}.jumbotron,.jumbotron .h1,.jumbotron h1{color:inherit}.jumbotron p{margin-bottom:15px;font-size:21px;font-weight:200}.jumbotron>hr{border-top-color:#e6e6e6}.container-fluid .jumbotron,.container .jumbotron{border-radius:6px;padding-left:15px;padding-right:15px}.jumbotron .container{max-width:100%}@media screen and (min-width:768px){.jumbotron{padding-top:48px;padding-bottom:48px}.container-fluid .jumbotron,.container .jumbotron{padding-left:60px;padding-right:60px}.jumbotron .h1,.jumbotron h1{font-size:63px}}.thumbnail{display:block;padding:4px;margin-bottom:20px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:border .2s ease-in-out;-o-transition:border .2s ease-in-out;transition:border .2s ease-in-out}.thumbnail>img,.thumbnail a>img{margin-left:auto;margin-right:auto}a.thumbnail.active,a.thumbnail:focus,a.thumbnail:hover{border-color:#9e1f63}.thumbnail .caption{padding:9px;color:#666}.alert{padding:15px;margin-bottom:20px;border:1px solid transparent;border-radius:4px}.alert h4{margin-top:0;color:inherit}.alert .alert-link{font-weight:700}.alert>p,.alert>ul{margin-bottom:0}.alert>p+p{margin-top:5px}.alert-dismissable,.alert-dismissible{padding-right:35px}.alert-dismissable .close,.alert-dismissible .close{position:relative;top:-2px;right:-21px;color:inherit}.alert-success{background-color:#dff0d8;border-color:#d6e9c6;color:#3c763d}.alert-success hr{border-top-color:#c9e2b3}.alert-success .alert-link{color:#2b542c}.alert-info{background-color:#d9edf7;border-color:#bce8f1;color:#31708f}.alert-info hr{border-top-color:#a6e1ec}.alert-info .alert-link{color:#245269}.alert-warning{background-color:#fcf8e3;border-color:#faebcc;color:#8a6d3b}.alert-warning hr{border-top-color:#f7e1b5}.alert-warning .alert-link{color:#66512c}.alert-danger{background-color:#f2dede;border-color:#ebccd1;color:#a94442}.alert-danger hr{border-top-color:#e4b9c0}.alert-danger .alert-link{color:#843534}@-webkit-keyframes progress-bar-stripes{0%{background-position:40px 0}to{background-position:0 0}}@keyframes progress-bar-stripes{0%{background-position:40px 0}to{background-position:0 0}}.progress{overflow:hidden;height:20px;margin-bottom:20px;background-color:#f5f5f5;border-radius:4px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);box-shadow:inset 0 1px 2px rgba(0,0,0,.1)}.progress-bar{float:left;width:0;height:100%;font-size:12px;line-height:20px;color:#fff;text-align:center;background-color:#9e1f63;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);-webkit-transition:width .6s ease;-o-transition:width .6s ease;transition:width .6s ease}.progress-bar-striped,.progress-striped .progress-bar{background-image:-webkit-linear-gradient(45deg,hsla(0,0%,100%,.15) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.15) 0,hsla(0,0%,100%,.15) 75%,transparent 0,transparent);background-image:-o-linear-gradient(45deg,hsla(0,0%,100%,.15) 25%,transparent 25%,transparent 50%,hsla(0,0%,100%,.15) 50%,hsla(0,0%,100%,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,hsla(0,0%,100%,.15) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.15) 0,hsla(0,0%,100%,.15) 75%,transparent 0,transparent);background-size:40px 40px}.progress-bar.active,.progress.active .progress-bar{-webkit-animation:progress-bar-stripes 2s linear infinite;-o-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.progress-bar-success{background-color:#8dc63f}.progress-striped .progress-bar-success{background-image:-webkit-linear-gradient(45deg,hsla(0,0%,100%,.15) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.15) 0,hsla(0,0%,100%,.15) 75%,transparent 0,transparent);background-image:-o-linear-gradient(45deg,hsla(0,0%,100%,.15) 25%,transparent 25%,transparent 50%,hsla(0,0%,100%,.15) 50%,hsla(0,0%,100%,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,hsla(0,0%,100%,.15) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.15) 0,hsla(0,0%,100%,.15) 75%,transparent 0,transparent)}.progress-bar-info{background-color:#16ace3}.progress-striped .progress-bar-info{background-image:-webkit-linear-gradient(45deg,hsla(0,0%,100%,.15) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.15) 0,hsla(0,0%,100%,.15) 75%,transparent 0,transparent);background-image:-o-linear-gradient(45deg,hsla(0,0%,100%,.15) 25%,transparent 25%,transparent 50%,hsla(0,0%,100%,.15) 50%,hsla(0,0%,100%,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,hsla(0,0%,100%,.15) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.15) 0,hsla(0,0%,100%,.15) 75%,transparent 0,transparent)}.progress-bar-warning{background-color:#f7941e}.progress-striped .progress-bar-warning{background-image:-webkit-linear-gradient(45deg,hsla(0,0%,100%,.15) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.15) 0,hsla(0,0%,100%,.15) 75%,transparent 0,transparent);background-image:-o-linear-gradient(45deg,hsla(0,0%,100%,.15) 25%,transparent 25%,transparent 50%,hsla(0,0%,100%,.15) 50%,hsla(0,0%,100%,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,hsla(0,0%,100%,.15) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.15) 0,hsla(0,0%,100%,.15) 75%,transparent 0,transparent)}.progress-bar-danger{background-color:#ff3b00}.progress-striped .progress-bar-danger{background-image:-webkit-linear-gradient(45deg,hsla(0,0%,100%,.15) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.15) 0,hsla(0,0%,100%,.15) 75%,transparent 0,transparent);background-image:-o-linear-gradient(45deg,hsla(0,0%,100%,.15) 25%,transparent 25%,transparent 50%,hsla(0,0%,100%,.15) 50%,hsla(0,0%,100%,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,hsla(0,0%,100%,.15) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.15) 0,hsla(0,0%,100%,.15) 75%,transparent 0,transparent)}.media{margin-top:15px}.media:first-child{margin-top:0}.media,.media-body{zoom:1;overflow:hidden}.media-body{width:10000px}.media-object{display:block}.media-object.img-thumbnail{max-width:none}.media-right,.media>.pull-right{padding-left:10px}.media-left,.media>.pull-left{padding-right:10px}.media-body,.media-left,.media-right{display:table-cell;vertical-align:top}.media-middle{vertical-align:middle}.media-bottom{vertical-align:bottom}.media-heading{margin-top:0;margin-bottom:5px}.media-list{padding-left:0;list-style:none}.list-group{margin-bottom:20px;padding-left:0}.list-group-item{position:relative;display:block;padding:10px 15px;margin-bottom:-1px;background-color:#fff;border:1px solid #ddd}.list-group-item:first-child{border-top-right-radius:4px;border-top-left-radius:4px}.list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}a.list-group-item,button.list-group-item{color:#555}a.list-group-item .list-group-item-heading,button.list-group-item .list-group-item-heading{color:#333}a.list-group-item:focus,a.list-group-item:hover,button.list-group-item:focus,button.list-group-item:hover{text-decoration:none;color:#555;background-color:#f5f5f5}button.list-group-item{width:100%;text-align:left}.list-group-item.disabled,.list-group-item.disabled:focus,.list-group-item.disabled:hover{background-color:#fff;color:#aaa;cursor:not-allowed}.list-group-item.disabled .list-group-item-heading,.list-group-item.disabled:focus .list-group-item-heading,.list-group-item.disabled:hover .list-group-item-heading{color:inherit}.list-group-item.disabled .list-group-item-text,.list-group-item.disabled:focus .list-group-item-text,.list-group-item.disabled:hover .list-group-item-text{color:#aaa}.list-group-item.active,.list-group-item.active:focus,.list-group-item.active:hover{z-index:2;color:#fff;background-color:#9e1f63;border-color:#9e1f63}.list-group-item.active .list-group-item-heading,.list-group-item.active .list-group-item-heading>.small,.list-group-item.active .list-group-item-heading>small,.list-group-item.active:focus .list-group-item-heading,.list-group-item.active:focus .list-group-item-heading>.small,.list-group-item.active:focus .list-group-item-heading>small,.list-group-item.active:hover .list-group-item-heading,.list-group-item.active:hover .list-group-item-heading>.small,.list-group-item.active:hover .list-group-item-heading>small{color:inherit}.list-group-item.active .list-group-item-text,.list-group-item.active:focus .list-group-item-text,.list-group-item.active:hover .list-group-item-text{color:#ec9dc7}.list-group-item-success{color:#3c763d;background-color:#dff0d8}a.list-group-item-success,button.list-group-item-success{color:#3c763d}a.list-group-item-success .list-group-item-heading,button.list-group-item-success .list-group-item-heading{color:inherit}a.list-group-item-success:focus,a.list-group-item-success:hover,button.list-group-item-success:focus,button.list-group-item-success:hover{color:#3c763d;background-color:#d0e9c6}a.list-group-item-success.active,a.list-group-item-success.active:focus,a.list-group-item-success.active:hover,button.list-group-item-success.active,button.list-group-item-success.active:focus,button.list-group-item-success.active:hover{color:#fff;background-color:#3c763d;border-color:#3c763d}.list-group-item-info{color:#31708f;background-color:#d9edf7}a.list-group-item-info,button.list-group-item-info{color:#31708f}a.list-group-item-info .list-group-item-heading,button.list-group-item-info .list-group-item-heading{color:inherit}a.list-group-item-info:focus,a.list-group-item-info:hover,button.list-group-item-info:focus,button.list-group-item-info:hover{color:#31708f;background-color:#c4e3f3}a.list-group-item-info.active,a.list-group-item-info.active:focus,a.list-group-item-info.active:hover,button.list-group-item-info.active,button.list-group-item-info.active:focus,button.list-group-item-info.active:hover{color:#fff;background-color:#31708f;border-color:#31708f}.list-group-item-warning{color:#8a6d3b;background-color:#fcf8e3}a.list-group-item-warning,button.list-group-item-warning{color:#8a6d3b}a.list-group-item-warning .list-group-item-heading,button.list-group-item-warning .list-group-item-heading{color:inherit}a.list-group-item-warning:focus,a.list-group-item-warning:hover,button.list-group-item-warning:focus,button.list-group-item-warning:hover{color:#8a6d3b;background-color:#faf2cc}a.list-group-item-warning.active,a.list-group-item-warning.active:focus,a.list-group-item-warning.active:hover,button.list-group-item-warning.active,button.list-group-item-warning.active:focus,button.list-group-item-warning.active:hover{color:#fff;background-color:#8a6d3b;border-color:#8a6d3b}.list-group-item-danger{color:#a94442;background-color:#f2dede}a.list-group-item-danger,button.list-group-item-danger{color:#a94442}a.list-group-item-danger .list-group-item-heading,button.list-group-item-danger .list-group-item-heading{color:inherit}a.list-group-item-danger:focus,a.list-group-item-danger:hover,button.list-group-item-danger:focus,button.list-group-item-danger:hover{color:#a94442;background-color:#ebcccc}a.list-group-item-danger.active,a.list-group-item-danger.active:focus,a.list-group-item-danger.active:hover,button.list-group-item-danger.active,button.list-group-item-danger.active:focus,button.list-group-item-danger.active:hover{color:#fff;background-color:#a94442;border-color:#a94442}.list-group-item-heading{margin-top:0;margin-bottom:5px}.list-group-item-text{margin-bottom:0;line-height:1.3}.panel{margin-bottom:20px;background-color:#fff;border:1px solid transparent;border-radius:4px;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.05);box-shadow:0 1px 1px rgba(0,0,0,.05)}.panel-body{padding:15px}.panel-heading{padding:10px 15px;border-bottom:1px solid transparent;border-top-right-radius:3px;border-top-left-radius:3px}.panel-heading>.dropdown .dropdown-toggle,.panel-title{color:inherit}.panel-title{margin-top:0;margin-bottom:0;font-size:16px}.panel-title>.small,.panel-title>.small>a,.panel-title>a,.panel-title>small,.panel-title>small>a{color:inherit}.panel-footer{padding:10px 15px;background-color:#f5f5f5;border-top:1px solid #ddd;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.list-group,.panel>.panel-collapse>.list-group{margin-bottom:0}.panel>.list-group .list-group-item,.panel>.panel-collapse>.list-group .list-group-item{border-width:1px 0;border-radius:0}.panel>.list-group:first-child .list-group-item:first-child,.panel>.panel-collapse>.list-group:first-child .list-group-item:first-child{border-top:0;border-top-right-radius:3px;border-top-left-radius:3px}.panel>.list-group:last-child .list-group-item:last-child,.panel>.panel-collapse>.list-group:last-child .list-group-item:last-child{border-bottom:0;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.panel-heading+.panel-collapse>.list-group .list-group-item:first-child{border-top-right-radius:0;border-top-left-radius:0}.list-group+.panel-footer,.panel-heading+.list-group .list-group-item:first-child{border-top-width:0}.panel>.panel-collapse>.table,.panel>.table,.panel>.table-responsive>.table{margin-bottom:0}.panel>.panel-collapse>.table caption,.panel>.table-responsive>.table caption,.panel>.table caption{padding-left:15px;padding-right:15px}.panel>.table-responsive:first-child>.table:first-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child,.panel>.table:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child,.panel>.table:first-child>thead:first-child>tr:first-child{border-top-right-radius:3px;border-top-left-radius:3px}.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:first-child,.panel>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table:first-child>thead:first-child>tr:first-child th:first-child{border-top-left-radius:3px}.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:last-child,.panel>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table:first-child>thead:first-child>tr:first-child th:last-child{border-top-right-radius:3px}.panel>.table-responsive:last-child>.table:last-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child,.panel>.table:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child{border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:first-child,.panel>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:first-child{border-bottom-left-radius:3px}.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:last-child{border-bottom-right-radius:3px}.panel>.panel-body+.table,.panel>.panel-body+.table-responsive,.panel>.table+.panel-body,.panel>.table-responsive+.panel-body{border-top:1px solid #ddd}.panel>.table>tbody:first-child>tr:first-child td,.panel>.table>tbody:first-child>tr:first-child th{border-top:0}.panel>.table-bordered,.panel>.table-responsive>.table-bordered{border:0}.panel>.table-bordered>tbody>tr>td:first-child,.panel>.table-bordered>tbody>tr>th:first-child,.panel>.table-bordered>tfoot>tr>td:first-child,.panel>.table-bordered>tfoot>tr>th:first-child,.panel>.table-bordered>thead>tr>td:first-child,.panel>.table-bordered>thead>tr>th:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:first-child,.panel>.table-responsive>.table-bordered>thead>tr>td:first-child,.panel>.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.panel>.table-bordered>tbody>tr>td:last-child,.panel>.table-bordered>tbody>tr>th:last-child,.panel>.table-bordered>tfoot>tr>td:last-child,.panel>.table-bordered>tfoot>tr>th:last-child,.panel>.table-bordered>thead>tr>td:last-child,.panel>.table-bordered>thead>tr>th:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:last-child,.panel>.table-responsive>.table-bordered>thead>tr>td:last-child,.panel>.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.panel>.table-bordered>tbody>tr:first-child>td,.panel>.table-bordered>tbody>tr:first-child>th,.panel>.table-bordered>tbody>tr:last-child>td,.panel>.table-bordered>tbody>tr:last-child>th,.panel>.table-bordered>tfoot>tr:last-child>td,.panel>.table-bordered>tfoot>tr:last-child>th,.panel>.table-bordered>thead>tr:first-child>td,.panel>.table-bordered>thead>tr:first-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>th,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>td,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>th,.panel>.table-responsive>.table-bordered>thead>tr:first-child>td,.panel>.table-responsive>.table-bordered>thead>tr:first-child>th{border-bottom:0}.panel>.table-responsive{border:0;margin-bottom:0}.panel-group{margin-bottom:20px}.panel-group .panel{margin-bottom:0;border-radius:4px}.panel-group .panel+.panel{margin-top:5px}.panel-group .panel-heading{border-bottom:0}.panel-group .panel-heading+.panel-collapse>.list-group,.panel-group .panel-heading+.panel-collapse>.panel-body{border-top:1px solid #ddd}.panel-group .panel-footer{border-top:0}.panel-group .panel-footer+.panel-collapse .panel-body{border-bottom:1px solid #ddd}.panel-default{border-color:#ddd}.panel-default>.panel-heading{color:#666;background-color:#f5f5f5;border-color:#ddd}.panel-default>.panel-heading+.panel-collapse>.panel-body{border-top-color:#ddd}.panel-default>.panel-heading .badge{color:#f5f5f5;background-color:#666}.panel-default>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#ddd}.panel-primary{border-color:#9e1f63}.panel-primary>.panel-heading{color:#fff;background-color:#9e1f63;border-color:#9e1f63}.panel-primary>.panel-heading+.panel-collapse>.panel-body{border-top-color:#9e1f63}.panel-primary>.panel-heading .badge{color:#9e1f63;background-color:#fff}.panel-primary>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#9e1f63}.panel-success{border-color:#d6e9c6}.panel-success>.panel-heading{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.panel-success>.panel-heading+.panel-collapse>.panel-body{border-top-color:#d6e9c6}.panel-success>.panel-heading .badge{color:#dff0d8;background-color:#3c763d}.panel-success>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#d6e9c6}.panel-info{border-color:#bce8f1}.panel-info>.panel-heading{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.panel-info>.panel-heading+.panel-collapse>.panel-body{border-top-color:#bce8f1}.panel-info>.panel-heading .badge{color:#d9edf7;background-color:#31708f}.panel-info>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#bce8f1}.panel-warning{border-color:#faebcc}.panel-warning>.panel-heading{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.panel-warning>.panel-heading+.panel-collapse>.panel-body{border-top-color:#faebcc}.panel-warning>.panel-heading .badge{color:#fcf8e3;background-color:#8a6d3b}.panel-warning>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#faebcc}.panel-danger{border-color:#ebccd1}.panel-danger>.panel-heading{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.panel-danger>.panel-heading+.panel-collapse>.panel-body{border-top-color:#ebccd1}.panel-danger>.panel-heading .badge{color:#f2dede;background-color:#a94442}.panel-danger>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#ebccd1}.embed-responsive{position:relative;display:block;height:0;padding:0;overflow:hidden}.embed-responsive .embed-responsive-item,.embed-responsive embed,.embed-responsive iframe,.embed-responsive object,.embed-responsive video{position:absolute;top:0;left:0;bottom:0;height:100%;width:100%;border:0}.embed-responsive-16by9{padding-bottom:56.25%}.embed-responsive-4by3{padding-bottom:75%}.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#e3e5e5;border:1px solid #d0d4d4;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.05);box-shadow:inset 0 1px 1px rgba(0,0,0,.05)}.well blockquote{border-color:#ddd;border-color:rgba(0,0,0,.15)}.well-lg{padding:24px;border-radius:6px}.well-sm{padding:9px;border-radius:3px}.close{float:right;font-size:21px;font-weight:700;line-height:1;color:#000;text-shadow:0 1px 0 #fff;opacity:.2;filter:alpha(opacity=20)}.close:focus,.close:hover{color:#000;text-decoration:none;cursor:pointer;opacity:.5;filter:alpha(opacity=50)}button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-appearance:none}.modal,.modal-open{overflow:hidden}.modal{display:none;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1050;-webkit-overflow-scrolling:touch;outline:0}.modal.fade .modal-dialog{-webkit-transform:translateY(-25%);-ms-transform:translateY(-25%);-o-transform:translateY(-25%);transform:translateY(-25%);-webkit-transition:-webkit-transform .3s ease-out;-moz-transition:-moz-transform .3s ease-out;-o-transition:-o-transform .3s ease-out;transition:transform .3s ease-out}.modal.in .modal-dialog{-webkit-transform:translate(0);-ms-transform:translate(0);-o-transform:translate(0);transform:translate(0)}.modal-open .modal{overflow-x:hidden;overflow-y:auto}.modal-dialog{position:relative;width:auto;margin:10px}.modal-content{position:relative;background-color:#fff;border:1px solid #999;border:1px solid rgba(0,0,0,.2);border-radius:6px;-webkit-box-shadow:0 3px 9px rgba(0,0,0,.5);box-shadow:0 3px 9px rgba(0,0,0,.5);background-clip:padding-box;outline:0}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#000}.modal-backdrop.fade{opacity:0;filter:alpha(opacity=0)}.modal-backdrop.in{opacity:.5;filter:alpha(opacity=50)}.modal-header{padding:15px;border-bottom:1px solid #e5e5e5}.modal-header .close{margin-top:-2px}.modal-title{margin:0;line-height:1.42857143}.modal-body{position:relative;padding:15px}.modal-footer{padding:15px;text-align:right;border-top:1px solid #e5e5e5}.modal-footer .btn+.btn{margin-left:5px;margin-bottom:0}.modal-footer .btn-group .btn+.btn{margin-left:-1px}.modal-footer .btn-block+.btn-block{margin-left:0}.modal-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}@media (min-width:768px){.modal-dialog{width:600px;margin:30px auto}.modal-content{-webkit-box-shadow:0 5px 15px rgba(0,0,0,.5);box-shadow:0 5px 15px rgba(0,0,0,.5)}.modal-sm{width:300px}}@media (min-width:992px){.modal-lg{width:900px}}.tooltip{position:absolute;z-index:1070;display:block;font-family:Open Sans,Helvetica Neue,Helvetica,Arial,sans-serif;font-style:normal;font-weight:400;letter-spacing:normal;line-break:auto;line-height:1.42857143;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;white-space:normal;word-break:normal;word-spacing:normal;word-wrap:normal;font-size:12px;opacity:0;filter:alpha(opacity=0)}.tooltip.in{opacity:.9;filter:alpha(opacity=90)}.tooltip.top{margin-top:-3px;padding:5px 0}.tooltip.right{margin-left:3px;padding:0 5px}.tooltip.bottom{margin-top:3px;padding:5px 0}.tooltip.left{margin-left:-3px;padding:0 5px}.tooltip-inner{max-width:200px;padding:3px 8px;color:#fff;text-align:center;background-color:#000;border-radius:4px}.tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-left .tooltip-arrow{right:5px}.tooltip.top-left .tooltip-arrow,.tooltip.top-right .tooltip-arrow{bottom:0;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-right .tooltip-arrow{left:5px}.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-width:5px 5px 5px 0;border-right-color:#000}.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-width:5px 0 5px 5px;border-left-color:#000}.tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom-left .tooltip-arrow{top:0;right:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom-right .tooltip-arrow{top:0;left:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#000}.popover{position:absolute;top:0;left:0;z-index:1060;display:none;max-width:276px;padding:1px;font-family:Open Sans,Helvetica Neue,Helvetica,Arial,sans-serif;font-style:normal;font-weight:400;letter-spacing:normal;line-break:auto;line-height:1.42857143;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;white-space:normal;word-break:normal;word-spacing:normal;word-wrap:normal;font-size:14px;background-color:#fff;background-clip:padding-box;border:1px solid #ccc;border:1px solid rgba(0,0,0,.2);border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,.2);box-shadow:0 5px 10px rgba(0,0,0,.2)}.popover.top{margin-top:-10px}.popover.right{margin-left:10px}.popover.bottom{margin-top:10px}.popover.left{margin-left:-10px}.popover-title{margin:0;padding:8px 14px;font-size:14px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-radius:5px 5px 0 0}.popover-content{padding:9px 14px}.popover>.arrow,.popover>.arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.popover>.arrow{border-width:11px}.popover>.arrow:after{border-width:10px;content:""}.popover.top>.arrow{left:50%;margin-left:-11px;border-bottom-width:0;border-top-color:#999;border-top-color:rgba(0,0,0,.25);bottom:-11px}.popover.top>.arrow:after{content:" ";bottom:1px;margin-left:-10px;border-bottom-width:0;border-top-color:#fff}.popover.right>.arrow{top:50%;left:-11px;margin-top:-11px;border-left-width:0;border-right-color:#999;border-right-color:rgba(0,0,0,.25)}.popover.right>.arrow:after{content:" ";left:1px;bottom:-10px;border-left-width:0;border-right-color:#fff}.popover.bottom>.arrow{left:50%;margin-left:-11px;border-top-width:0;border-bottom-color:#999;border-bottom-color:rgba(0,0,0,.25);top:-11px}.popover.bottom>.arrow:after{content:" ";top:1px;margin-left:-10px;border-top-width:0;border-bottom-color:#fff}.popover.left>.arrow{top:50%;right:-11px;margin-top:-11px;border-right-width:0;border-left-color:#999;border-left-color:rgba(0,0,0,.25)}.popover.left>.arrow:after{content:" ";right:1px;border-right-width:0;border-left-color:#fff;bottom:-10px}.carousel,.carousel-inner{position:relative}.carousel-inner{overflow:hidden;width:100%}.carousel-inner>.item{display:none;position:relative;-webkit-transition:left .6s ease-in-out;-o-transition:.6s ease-in-out left;transition:left .6s ease-in-out}.carousel-inner>.item>a>img,.carousel-inner>.item>img{line-height:1}@media (-webkit-transform-3d),(transform-3d){.carousel-inner>.item{-webkit-transition:-webkit-transform .6s ease-in-out;-moz-transition:-moz-transform .6s ease-in-out;-o-transition:-o-transform .6s ease-in-out;transition:transform .6s ease-in-out;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;backface-visibility:hidden;-webkit-perspective:1000px;-moz-perspective:1000px;perspective:1000px}.carousel-inner>.item.active.right,.carousel-inner>.item.next{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);left:0}.carousel-inner>.item.active.left,.carousel-inner>.item.prev{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0);left:0}.carousel-inner>.item.active,.carousel-inner>.item.next.left,.carousel-inner>.item.prev.right{-webkit-transform:translateZ(0);transform:translateZ(0);left:0}}.carousel-inner>.active,.carousel-inner>.next,.carousel-inner>.prev{display:block}.carousel-inner>.active{left:0}.carousel-inner>.next,.carousel-inner>.prev{position:absolute;top:0;width:100%}.carousel-inner>.next{left:100%}.carousel-inner>.prev{left:-100%}.carousel-inner>.next.left,.carousel-inner>.prev.right{left:0}.carousel-inner>.active.left{left:-100%}.carousel-inner>.active.right{left:100%}.carousel-control{position:absolute;top:0;left:0;bottom:0;width:15%;opacity:.5;filter:alpha(opacity=50);font-size:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6);background-color:transparent}.carousel-control.left{background-image:-webkit-linear-gradient(left,rgba(0,0,0,.5),rgba(0,0,0,.0001));background-image:-o-linear-gradient(left,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);background-image:linear-gradient(90deg,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001));background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#80000000",endColorstr="#00000000",GradientType=1)}.carousel-control.right{left:auto;right:0;background-image:-webkit-linear-gradient(left,rgba(0,0,0,.0001),rgba(0,0,0,.5));background-image:-o-linear-gradient(left,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);background-image:linear-gradient(90deg,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5));background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#00000000",endColorstr="#80000000",GradientType=1)}.carousel-control:focus,.carousel-control:hover{outline:0;color:#fff;text-decoration:none;opacity:.9;filter:alpha(opacity=90)}.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next,.carousel-control .icon-prev{position:absolute;top:50%;margin-top:-10px;z-index:5;display:inline-block}.carousel-control .glyphicon-chevron-left,.carousel-control .icon-prev{left:50%;margin-left:-10px}.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next{right:50%;margin-right:-10px}.carousel-control .icon-next,.carousel-control .icon-prev{width:20px;height:20px;line-height:1;font-family:serif}.carousel-control .icon-prev:before{content:"\\2039"}.carousel-control .icon-next:before{content:"\\203A"}.carousel-indicators{position:absolute;bottom:10px;left:50%;z-index:15;width:60%;margin-left:-30%;padding-left:0;list-style:none;text-align:center}.carousel-indicators li{display:inline-block;width:10px;height:10px;margin:1px;text-indent:-999px;border:1px solid #fff;border-radius:10px;cursor:pointer;background-color:#000\\9;background-color:transparent}.carousel-indicators .active{margin:0;width:12px;height:12px;background-color:#fff}.carousel-caption{position:absolute;left:15%;right:15%;bottom:20px;z-index:10;padding-top:20px;padding-bottom:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6)}.carousel-caption .btn{text-shadow:none}@media screen and (min-width:768px){.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next,.carousel-control .icon-prev{width:30px;height:30px;margin-top:-10px;font-size:30px}.carousel-control .glyphicon-chevron-left,.carousel-control .icon-prev{margin-left:-10px}.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next{margin-right:-10px}.carousel-caption{left:20%;right:20%;padding-bottom:30px}.carousel-indicators{bottom:20px}}.btn-group-vertical>.btn-group:after,.btn-group-vertical>.btn-group:before,.btn-toolbar:after,.btn-toolbar:before,.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.dl-horizontal dd:after,.dl-horizontal dd:before,.form-horizontal .form-group:after,.form-horizontal .form-group:before,.modal-footer:after,.modal-footer:before,.modal-header:after,.modal-header:before,.nav:after,.nav:before,.navbar-collapse:after,.navbar-collapse:before,.navbar-header:after,.navbar-header:before,.navbar:after,.navbar:before,.pager:after,.pager:before,.panel-body:after,.panel-body:before,.row:after,.row:before{content:" ";display:table}.btn-group-vertical>.btn-group:after,.btn-toolbar:after,.clearfix:after,.container-fluid:after,.container:after,.dl-horizontal dd:after,.form-horizontal .form-group:after,.modal-footer:after,.modal-header:after,.nav:after,.navbar-collapse:after,.navbar-header:after,.navbar:after,.pager:after,.panel-body:after,.row:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.pull-right{float:right!important}.pull-left{float:left!important}.hide{display:none!important}.show{display:block!important}.invisible{visibility:hidden}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.hidden{display:none!important}.affix{position:fixed}@-ms-viewport{width:device-width}.visible-lg,.visible-lg-block,.visible-lg-inline,.visible-lg-inline-block,.visible-md,.visible-md-block,.visible-md-inline,.visible-md-inline-block,.visible-sm,.visible-sm-block,.visible-sm-inline,.visible-sm-inline-block,.visible-xs,.visible-xs-block,.visible-xs-inline,.visible-xs-inline-block{display:none!important}@media (max-width:767px){.visible-xs{display:block!important}table.visible-xs{display:table!important}tr.visible-xs{display:table-row!important}td.visible-xs,th.visible-xs{display:table-cell!important}}@media (max-width:767px){.visible-xs-block{display:block!important}}@media (max-width:767px){.visible-xs-inline{display:inline!important}}@media (max-width:767px){.visible-xs-inline-block{display:inline-block!important}}@media (min-width:768px) and (max-width:991px){.visible-sm{display:block!important}table.visible-sm{display:table!important}tr.visible-sm{display:table-row!important}td.visible-sm,th.visible-sm{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.visible-sm-block{display:block!important}}@media (min-width:768px) and (max-width:991px){.visible-sm-inline{display:inline!important}}@media (min-width:768px) and (max-width:991px){.visible-sm-inline-block{display:inline-block!important}}@media (min-width:992px) and (max-width:1199px){.visible-md{display:block!important}table.visible-md{display:table!important}tr.visible-md{display:table-row!important}td.visible-md,th.visible-md{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.visible-md-block{display:block!important}}@media (min-width:992px) and (max-width:1199px){.visible-md-inline{display:inline!important}}@media (min-width:992px) and (max-width:1199px){.visible-md-inline-block{display:inline-block!important}}@media (min-width:1200px){.visible-lg{display:block!important}table.visible-lg{display:table!important}tr.visible-lg{display:table-row!important}td.visible-lg,th.visible-lg{display:table-cell!important}}@media (min-width:1200px){.visible-lg-block{display:block!important}}@media (min-width:1200px){.visible-lg-inline{display:inline!important}}@media (min-width:1200px){.visible-lg-inline-block{display:inline-block!important}}@media (max-width:767px){.hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.hidden-md{display:none!important}}@media (min-width:1200px){.hidden-lg{display:none!important}}.visible-print{display:none!important}@media print{.visible-print{display:block!important}table.visible-print{display:table!important}tr.visible-print{display:table-row!important}td.visible-print,th.visible-print{display:table-cell!important}}.visible-print-block{display:none!important}@media print{.visible-print-block{display:block!important}}.visible-print-inline{display:none!important}@media print{.visible-print-inline{display:inline!important}}.visible-print-inline-block{display:none!important}@media print{.visible-print-inline-block{display:inline-block!important}}@media print{.hidden-print{display:none!important}}',""])},function(t,exports,e){var n=e(662);"string"==typeof n&&(n=[[t.i,n,""]]);var r={};r.transform=void 0;e(21)(n,r);n.locals&&(t.exports=n.locals)},function(t,exports,e){exports=t.exports=e(20)(void 0),exports.push([t.i,"/*!\n * Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome\n * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)\n */@font-face{font-family:FontAwesome;src:url("+e(663)+");src:url("+e(664)+'?#iefix&v=4.7.0) format("embedded-opentype"),url('+e(665)+') format("woff2"),url('+e(666)+') format("woff"),url('+e(667)+') format("truetype"),url('+e(668)+'#fontawesomeregular) format("svg");font-weight:400;font-style:normal}.fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-lg{font-size:1.33333333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571429em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14285714em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14285714em;width:2.14285714em;top:.14285714em;text-align:center}.fa-li.fa-lg{left:-1.85714286em}.fa-border{padding:.2em .25em .15em;border:.08em solid #eee;border-radius:.1em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left{margin-right:.3em}.fa.fa-pull-right{margin-left:.3em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}.fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";-webkit-transform:scaleX(-1);-ms-transform:scaleX(-1);transform:scaleX(-1)}.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";-webkit-transform:scaleY(-1);-ms-transform:scaleY(-1);transform:scaleY(-1)}:root .fa-flip-horizontal,:root .fa-flip-vertical,:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270{filter:none}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-glass:before{content:"\\F000"}.fa-music:before{content:"\\F001"}.fa-search:before{content:"\\F002"}.fa-envelope-o:before{content:"\\F003"}.fa-heart:before{content:"\\F004"}.fa-star:before{content:"\\F005"}.fa-star-o:before{content:"\\F006"}.fa-user:before{content:"\\F007"}.fa-film:before{content:"\\F008"}.fa-th-large:before{content:"\\F009"}.fa-th:before{content:"\\F00A"}.fa-th-list:before{content:"\\F00B"}.fa-check:before{content:"\\F00C"}.fa-close:before,.fa-remove:before,.fa-times:before{content:"\\F00D"}.fa-search-plus:before{content:"\\F00E"}.fa-search-minus:before{content:"\\F010"}.fa-power-off:before{content:"\\F011"}.fa-signal:before{content:"\\F012"}.fa-cog:before,.fa-gear:before{content:"\\F013"}.fa-trash-o:before{content:"\\F014"}.fa-home:before{content:"\\F015"}.fa-file-o:before{content:"\\F016"}.fa-clock-o:before{content:"\\F017"}.fa-road:before{content:"\\F018"}.fa-download:before{content:"\\F019"}.fa-arrow-circle-o-down:before{content:"\\F01A"}.fa-arrow-circle-o-up:before{content:"\\F01B"}.fa-inbox:before{content:"\\F01C"}.fa-play-circle-o:before{content:"\\F01D"}.fa-repeat:before,.fa-rotate-right:before{content:"\\F01E"}.fa-refresh:before{content:"\\F021"}.fa-list-alt:before{content:"\\F022"}.fa-lock:before{content:"\\F023"}.fa-flag:before{content:"\\F024"}.fa-headphones:before{content:"\\F025"}.fa-volume-off:before{content:"\\F026"}.fa-volume-down:before{content:"\\F027"}.fa-volume-up:before{content:"\\F028"}.fa-qrcode:before{content:"\\F029"}.fa-barcode:before{content:"\\F02A"}.fa-tag:before{content:"\\F02B"}.fa-tags:before{content:"\\F02C"}.fa-book:before{content:"\\F02D"}.fa-bookmark:before{content:"\\F02E"}.fa-print:before{content:"\\F02F"}.fa-camera:before{content:"\\F030"}.fa-font:before{content:"\\F031"}.fa-bold:before{content:"\\F032"}.fa-italic:before{content:"\\F033"}.fa-text-height:before{content:"\\F034"}.fa-text-width:before{content:"\\F035"}.fa-align-left:before{content:"\\F036"}.fa-align-center:before{content:"\\F037"}.fa-align-right:before{content:"\\F038"}.fa-align-justify:before{content:"\\F039"}.fa-list:before{content:"\\F03A"}.fa-dedent:before,.fa-outdent:before{content:"\\F03B"}.fa-indent:before{content:"\\F03C"}.fa-video-camera:before{content:"\\F03D"}.fa-image:before,.fa-photo:before,.fa-picture-o:before{content:"\\F03E"}.fa-pencil:before{content:"\\F040"}.fa-map-marker:before{content:"\\F041"}.fa-adjust:before{content:"\\F042"}.fa-tint:before{content:"\\F043"}.fa-edit:before,.fa-pencil-square-o:before{content:"\\F044"}.fa-share-square-o:before{content:"\\F045"}.fa-check-square-o:before{content:"\\F046"}.fa-arrows:before{content:"\\F047"}.fa-step-backward:before{content:"\\F048"}.fa-fast-backward:before{content:"\\F049"}.fa-backward:before{content:"\\F04A"}.fa-play:before{content:"\\F04B"}.fa-pause:before{content:"\\F04C"}.fa-stop:before{content:"\\F04D"}.fa-forward:before{content:"\\F04E"}.fa-fast-forward:before{content:"\\F050"}.fa-step-forward:before{content:"\\F051"}.fa-eject:before{content:"\\F052"}.fa-chevron-left:before{content:"\\F053"}.fa-chevron-right:before{content:"\\F054"}.fa-plus-circle:before{content:"\\F055"}.fa-minus-circle:before{content:"\\F056"}.fa-times-circle:before{content:"\\F057"}.fa-check-circle:before{content:"\\F058"}.fa-question-circle:before{content:"\\F059"}.fa-info-circle:before{content:"\\F05A"}.fa-crosshairs:before{content:"\\F05B"}.fa-times-circle-o:before{content:"\\F05C"}.fa-check-circle-o:before{content:"\\F05D"}.fa-ban:before{content:"\\F05E"}.fa-arrow-left:before{content:"\\F060"}.fa-arrow-right:before{content:"\\F061"}.fa-arrow-up:before{content:"\\F062"}.fa-arrow-down:before{content:"\\F063"}.fa-mail-forward:before,.fa-share:before{content:"\\F064"}.fa-expand:before{content:"\\F065"}.fa-compress:before{content:"\\F066"}.fa-plus:before{content:"\\F067"}.fa-minus:before{content:"\\F068"}.fa-asterisk:before{content:"\\F069"}.fa-exclamation-circle:before{content:"\\F06A"}.fa-gift:before{content:"\\F06B"}.fa-leaf:before{content:"\\F06C"}.fa-fire:before{content:"\\F06D"}.fa-eye:before{content:"\\F06E"}.fa-eye-slash:before{content:"\\F070"}.fa-exclamation-triangle:before,.fa-warning:before{content:"\\F071"}.fa-plane:before{content:"\\F072"}.fa-calendar:before{content:"\\F073"}.fa-random:before{content:"\\F074"}.fa-comment:before{content:"\\F075"}.fa-magnet:before{content:"\\F076"}.fa-chevron-up:before{content:"\\F077"}.fa-chevron-down:before{content:"\\F078"}.fa-retweet:before{content:"\\F079"}.fa-shopping-cart:before{content:"\\F07A"}.fa-folder:before{content:"\\F07B"}.fa-folder-open:before{content:"\\F07C"}.fa-arrows-v:before{content:"\\F07D"}.fa-arrows-h:before{content:"\\F07E"}.fa-bar-chart-o:before,.fa-bar-chart:before{content:"\\F080"}.fa-twitter-square:before{content:"\\F081"}.fa-facebook-square:before{content:"\\F082"}.fa-camera-retro:before{content:"\\F083"}.fa-key:before{content:"\\F084"}.fa-cogs:before,.fa-gears:before{content:"\\F085"}.fa-comments:before{content:"\\F086"}.fa-thumbs-o-up:before{content:"\\F087"}.fa-thumbs-o-down:before{content:"\\F088"}.fa-star-half:before{content:"\\F089"}.fa-heart-o:before{content:"\\F08A"}.fa-sign-out:before{content:"\\F08B"}.fa-linkedin-square:before{content:"\\F08C"}.fa-thumb-tack:before{content:"\\F08D"}.fa-external-link:before{content:"\\F08E"}.fa-sign-in:before{content:"\\F090"}.fa-trophy:before{content:"\\F091"}.fa-github-square:before{content:"\\F092"}.fa-upload:before{content:"\\F093"}.fa-lemon-o:before{content:"\\F094"}.fa-phone:before{content:"\\F095"}.fa-square-o:before{content:"\\F096"}.fa-bookmark-o:before{content:"\\F097"}.fa-phone-square:before{content:"\\F098"}.fa-twitter:before{content:"\\F099"}.fa-facebook-f:before,.fa-facebook:before{content:"\\F09A"}.fa-github:before{content:"\\F09B"}.fa-unlock:before{content:"\\F09C"}.fa-credit-card:before{content:"\\F09D"}.fa-feed:before,.fa-rss:before{content:"\\F09E"}.fa-hdd-o:before{content:"\\F0A0"}.fa-bullhorn:before{content:"\\F0A1"}.fa-bell:before{content:"\\F0F3"}.fa-certificate:before{content:"\\F0A3"}.fa-hand-o-right:before{content:"\\F0A4"}.fa-hand-o-left:before{content:"\\F0A5"}.fa-hand-o-up:before{content:"\\F0A6"}.fa-hand-o-down:before{content:"\\F0A7"}.fa-arrow-circle-left:before{content:"\\F0A8"}.fa-arrow-circle-right:before{content:"\\F0A9"}.fa-arrow-circle-up:before{content:"\\F0AA"}.fa-arrow-circle-down:before{content:"\\F0AB"}.fa-globe:before{content:"\\F0AC"}.fa-wrench:before{content:"\\F0AD"}.fa-tasks:before{content:"\\F0AE"}.fa-filter:before{content:"\\F0B0"}.fa-briefcase:before{content:"\\F0B1"}.fa-arrows-alt:before{content:"\\F0B2"}.fa-group:before,.fa-users:before{content:"\\F0C0"}.fa-chain:before,.fa-link:before{content:"\\F0C1"}.fa-cloud:before{content:"\\F0C2"}.fa-flask:before{content:"\\F0C3"}.fa-cut:before,.fa-scissors:before{content:"\\F0C4"}.fa-copy:before,.fa-files-o:before{content:"\\F0C5"}.fa-paperclip:before{content:"\\F0C6"}.fa-floppy-o:before,.fa-save:before{content:"\\F0C7"}.fa-square:before{content:"\\F0C8"}.fa-bars:before,.fa-navicon:before,.fa-reorder:before{content:"\\F0C9"}.fa-list-ul:before{content:"\\F0CA"}.fa-list-ol:before{content:"\\F0CB"}.fa-strikethrough:before{content:"\\F0CC"}.fa-underline:before{content:"\\F0CD"}.fa-table:before{content:"\\F0CE"}.fa-magic:before{content:"\\F0D0"}.fa-truck:before{content:"\\F0D1"}.fa-pinterest:before{content:"\\F0D2"}.fa-pinterest-square:before{content:"\\F0D3"}.fa-google-plus-square:before{content:"\\F0D4"}.fa-google-plus:before{content:"\\F0D5"}.fa-money:before{content:"\\F0D6"}.fa-caret-down:before{content:"\\F0D7"}.fa-caret-up:before{content:"\\F0D8"}.fa-caret-left:before{content:"\\F0D9"}.fa-caret-right:before{content:"\\F0DA"}.fa-columns:before{content:"\\F0DB"}.fa-sort:before,.fa-unsorted:before{content:"\\F0DC"}.fa-sort-desc:before,.fa-sort-down:before{content:"\\F0DD"}.fa-sort-asc:before,.fa-sort-up:before{content:"\\F0DE"}.fa-envelope:before{content:"\\F0E0"}.fa-linkedin:before{content:"\\F0E1"}.fa-rotate-left:before,.fa-undo:before{content:"\\F0E2"}.fa-gavel:before,.fa-legal:before{content:"\\F0E3"}.fa-dashboard:before,.fa-tachometer:before{content:"\\F0E4"}.fa-comment-o:before{content:"\\F0E5"}.fa-comments-o:before{content:"\\F0E6"}.fa-bolt:before,.fa-flash:before{content:"\\F0E7"}.fa-sitemap:before{content:"\\F0E8"}.fa-umbrella:before{content:"\\F0E9"}.fa-clipboard:before,.fa-paste:before{content:"\\F0EA"}.fa-lightbulb-o:before{content:"\\F0EB"}.fa-exchange:before{content:"\\F0EC"}.fa-cloud-download:before{content:"\\F0ED"}.fa-cloud-upload:before{content:"\\F0EE"}.fa-user-md:before{content:"\\F0F0"}.fa-stethoscope:before{content:"\\F0F1"}.fa-suitcase:before{content:"\\F0F2"}.fa-bell-o:before{content:"\\F0A2"}.fa-coffee:before{content:"\\F0F4"}.fa-cutlery:before{content:"\\F0F5"}.fa-file-text-o:before{content:"\\F0F6"}.fa-building-o:before{content:"\\F0F7"}.fa-hospital-o:before{content:"\\F0F8"}.fa-ambulance:before{content:"\\F0F9"}.fa-medkit:before{content:"\\F0FA"}.fa-fighter-jet:before{content:"\\F0FB"}.fa-beer:before{content:"\\F0FC"}.fa-h-square:before{content:"\\F0FD"}.fa-plus-square:before{content:"\\F0FE"}.fa-angle-double-left:before{content:"\\F100"}.fa-angle-double-right:before{content:"\\F101"}.fa-angle-double-up:before{content:"\\F102"}.fa-angle-double-down:before{content:"\\F103"}.fa-angle-left:before{content:"\\F104"}.fa-angle-right:before{content:"\\F105"}.fa-angle-up:before{content:"\\F106"}.fa-angle-down:before{content:"\\F107"}.fa-desktop:before{content:"\\F108"}.fa-laptop:before{content:"\\F109"}.fa-tablet:before{content:"\\F10A"}.fa-mobile-phone:before,.fa-mobile:before{content:"\\F10B"}.fa-circle-o:before{content:"\\F10C"}.fa-quote-left:before{content:"\\F10D"}.fa-quote-right:before{content:"\\F10E"}.fa-spinner:before{content:"\\F110"}.fa-circle:before{content:"\\F111"}.fa-mail-reply:before,.fa-reply:before{content:"\\F112"}.fa-github-alt:before{content:"\\F113"}.fa-folder-o:before{content:"\\F114"}.fa-folder-open-o:before{content:"\\F115"}.fa-smile-o:before{content:"\\F118"}.fa-frown-o:before{content:"\\F119"}.fa-meh-o:before{content:"\\F11A"}.fa-gamepad:before{content:"\\F11B"}.fa-keyboard-o:before{content:"\\F11C"}.fa-flag-o:before{content:"\\F11D"}.fa-flag-checkered:before{content:"\\F11E"}.fa-terminal:before{content:"\\F120"}.fa-code:before{content:"\\F121"}.fa-mail-reply-all:before,.fa-reply-all:before{content:"\\F122"}.fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:"\\F123"}.fa-location-arrow:before{content:"\\F124"}.fa-crop:before{content:"\\F125"}.fa-code-fork:before{content:"\\F126"}.fa-chain-broken:before,.fa-unlink:before{content:"\\F127"}.fa-question:before{content:"\\F128"}.fa-info:before{content:"\\F129"}.fa-exclamation:before{content:"\\F12A"}.fa-superscript:before{content:"\\F12B"}.fa-subscript:before{content:"\\F12C"}.fa-eraser:before{content:"\\F12D"}.fa-puzzle-piece:before{content:"\\F12E"}.fa-microphone:before{content:"\\F130"}.fa-microphone-slash:before{content:"\\F131"}.fa-shield:before{content:"\\F132"}.fa-calendar-o:before{content:"\\F133"}.fa-fire-extinguisher:before{content:"\\F134"}.fa-rocket:before{content:"\\F135"}.fa-maxcdn:before{content:"\\F136"}.fa-chevron-circle-left:before{content:"\\F137"}.fa-chevron-circle-right:before{content:"\\F138"}.fa-chevron-circle-up:before{content:"\\F139"}.fa-chevron-circle-down:before{content:"\\F13A"}.fa-html5:before{content:"\\F13B"}.fa-css3:before{content:"\\F13C"}.fa-anchor:before{content:"\\F13D"}.fa-unlock-alt:before{content:"\\F13E"}.fa-bullseye:before{content:"\\F140"}.fa-ellipsis-h:before{content:"\\F141"}.fa-ellipsis-v:before{content:"\\F142"}.fa-rss-square:before{content:"\\F143"}.fa-play-circle:before{content:"\\F144"}.fa-ticket:before{content:"\\F145"}.fa-minus-square:before{content:"\\F146"}.fa-minus-square-o:before{content:"\\F147"}.fa-level-up:before{content:"\\F148"}.fa-level-down:before{content:"\\F149"}.fa-check-square:before{content:"\\F14A"}.fa-pencil-square:before{content:"\\F14B"}.fa-external-link-square:before{content:"\\F14C"}.fa-share-square:before{content:"\\F14D"}.fa-compass:before{content:"\\F14E"}.fa-caret-square-o-down:before,.fa-toggle-down:before{content:"\\F150"}.fa-caret-square-o-up:before,.fa-toggle-up:before{content:"\\F151"}.fa-caret-square-o-right:before,.fa-toggle-right:before{content:"\\F152"}.fa-eur:before,.fa-euro:before{content:"\\F153"}.fa-gbp:before{content:"\\F154"}.fa-dollar:before,.fa-usd:before{content:"\\F155"}.fa-inr:before,.fa-rupee:before{content:"\\F156"}.fa-cny:before,.fa-jpy:before,.fa-rmb:before,.fa-yen:before{content:"\\F157"}.fa-rouble:before,.fa-rub:before,.fa-ruble:before{content:"\\F158"}.fa-krw:before,.fa-won:before{content:"\\F159"}.fa-bitcoin:before,.fa-btc:before{content:"\\F15A"}.fa-file:before{content:"\\F15B"}.fa-file-text:before{content:"\\F15C"}.fa-sort-alpha-asc:before{content:"\\F15D"}.fa-sort-alpha-desc:before{content:"\\F15E"}.fa-sort-amount-asc:before{content:"\\F160"}.fa-sort-amount-desc:before{content:"\\F161"}.fa-sort-numeric-asc:before{content:"\\F162"}.fa-sort-numeric-desc:before{content:"\\F163"}.fa-thumbs-up:before{content:"\\F164"}.fa-thumbs-down:before{content:"\\F165"}.fa-youtube-square:before{content:"\\F166"}.fa-youtube:before{content:"\\F167"}.fa-xing:before{content:"\\F168"}.fa-xing-square:before{content:"\\F169"}.fa-youtube-play:before{content:"\\F16A"}.fa-dropbox:before{content:"\\F16B"}.fa-stack-overflow:before{content:"\\F16C"}.fa-instagram:before{content:"\\F16D"}.fa-flickr:before{content:"\\F16E"}.fa-adn:before{content:"\\F170"}.fa-bitbucket:before{content:"\\F171"}.fa-bitbucket-square:before{content:"\\F172"}.fa-tumblr:before{content:"\\F173"}.fa-tumblr-square:before{content:"\\F174"}.fa-long-arrow-down:before{content:"\\F175"}.fa-long-arrow-up:before{content:"\\F176"}.fa-long-arrow-left:before{content:"\\F177"}.fa-long-arrow-right:before{content:"\\F178"}.fa-apple:before{content:"\\F179"}.fa-windows:before{content:"\\F17A"}.fa-android:before{content:"\\F17B"}.fa-linux:before{content:"\\F17C"}.fa-dribbble:before{content:"\\F17D"}.fa-skype:before{content:"\\F17E"}.fa-foursquare:before{content:"\\F180"}.fa-trello:before{content:"\\F181"}.fa-female:before{content:"\\F182"}.fa-male:before{content:"\\F183"}.fa-gittip:before,.fa-gratipay:before{content:"\\F184"}.fa-sun-o:before{content:"\\F185"}.fa-moon-o:before{content:"\\F186"}.fa-archive:before{content:"\\F187"}.fa-bug:before{content:"\\F188"}.fa-vk:before{content:"\\F189"}.fa-weibo:before{content:"\\F18A"}.fa-renren:before{content:"\\F18B"}.fa-pagelines:before{content:"\\F18C"}.fa-stack-exchange:before{content:"\\F18D"}.fa-arrow-circle-o-right:before{content:"\\F18E"}.fa-arrow-circle-o-left:before{content:"\\F190"}.fa-caret-square-o-left:before,.fa-toggle-left:before{content:"\\F191"}.fa-dot-circle-o:before{content:"\\F192"}.fa-wheelchair:before{content:"\\F193"}.fa-vimeo-square:before{content:"\\F194"}.fa-try:before,.fa-turkish-lira:before{content:"\\F195"}.fa-plus-square-o:before{content:"\\F196"}.fa-space-shuttle:before{content:"\\F197"}.fa-slack:before{content:"\\F198"}.fa-envelope-square:before{content:"\\F199"}.fa-wordpress:before{content:"\\F19A"}.fa-openid:before{content:"\\F19B"}.fa-bank:before,.fa-institution:before,.fa-university:before{content:"\\F19C"}.fa-graduation-cap:before,.fa-mortar-board:before{content:"\\F19D"}.fa-yahoo:before{content:"\\F19E"}.fa-google:before{content:"\\F1A0"}.fa-reddit:before{content:"\\F1A1"}.fa-reddit-square:before{content:"\\F1A2"}.fa-stumbleupon-circle:before{content:"\\F1A3"}.fa-stumbleupon:before{content:"\\F1A4"}.fa-delicious:before{content:"\\F1A5"}.fa-digg:before{content:"\\F1A6"}.fa-pied-piper-pp:before{content:"\\F1A7"}.fa-pied-piper-alt:before{content:"\\F1A8"}.fa-drupal:before{content:"\\F1A9"}.fa-joomla:before{content:"\\F1AA"}.fa-language:before{content:"\\F1AB"}.fa-fax:before{content:"\\F1AC"}.fa-building:before{content:"\\F1AD"}.fa-child:before{content:"\\F1AE"}.fa-paw:before{content:"\\F1B0"}.fa-spoon:before{content:"\\F1B1"}.fa-cube:before{content:"\\F1B2"}.fa-cubes:before{content:"\\F1B3"}.fa-behance:before{content:"\\F1B4"}.fa-behance-square:before{content:"\\F1B5"}.fa-steam:before{content:"\\F1B6"}.fa-steam-square:before{content:"\\F1B7"}.fa-recycle:before{content:"\\F1B8"}.fa-automobile:before,.fa-car:before{content:"\\F1B9"}.fa-cab:before,.fa-taxi:before{content:"\\F1BA"}.fa-tree:before{content:"\\F1BB"}.fa-spotify:before{content:"\\F1BC"}.fa-deviantart:before{content:"\\F1BD"}.fa-soundcloud:before{content:"\\F1BE"}.fa-database:before{content:"\\F1C0"}.fa-file-pdf-o:before{content:"\\F1C1"}.fa-file-word-o:before{content:"\\F1C2"}.fa-file-excel-o:before{content:"\\F1C3"}.fa-file-powerpoint-o:before{content:"\\F1C4"}.fa-file-image-o:before,.fa-file-photo-o:before,.fa-file-picture-o:before{content:"\\F1C5"}.fa-file-archive-o:before,.fa-file-zip-o:before{content:"\\F1C6"}.fa-file-audio-o:before,.fa-file-sound-o:before{content:"\\F1C7"}.fa-file-movie-o:before,.fa-file-video-o:before{content:"\\F1C8"}.fa-file-code-o:before{content:"\\F1C9"}.fa-vine:before{content:"\\F1CA"}.fa-codepen:before{content:"\\F1CB"}.fa-jsfiddle:before{content:"\\F1CC"}.fa-life-bouy:before,.fa-life-buoy:before,.fa-life-ring:before,.fa-life-saver:before,.fa-support:before{content:"\\F1CD"}.fa-circle-o-notch:before{content:"\\F1CE"}.fa-ra:before,.fa-rebel:before,.fa-resistance:before{content:"\\F1D0"}.fa-empire:before,.fa-ge:before{content:"\\F1D1"}.fa-git-square:before{content:"\\F1D2"}.fa-git:before{content:"\\F1D3"}.fa-hacker-news:before,.fa-y-combinator-square:before,.fa-yc-square:before{content:"\\F1D4"}.fa-tencent-weibo:before{content:"\\F1D5"}.fa-qq:before{content:"\\F1D6"}.fa-wechat:before,.fa-weixin:before{content:"\\F1D7"}.fa-paper-plane:before,.fa-send:before{content:"\\F1D8"}.fa-paper-plane-o:before,.fa-send-o:before{content:"\\F1D9"}.fa-history:before{content:"\\F1DA"}.fa-circle-thin:before{content:"\\F1DB"}.fa-header:before{content:"\\F1DC"}.fa-paragraph:before{content:"\\F1DD"}.fa-sliders:before{content:"\\F1DE"}.fa-share-alt:before{content:"\\F1E0"}.fa-share-alt-square:before{content:"\\F1E1"}.fa-bomb:before{content:"\\F1E2"}.fa-futbol-o:before,.fa-soccer-ball-o:before{content:"\\F1E3"}.fa-tty:before{content:"\\F1E4"}.fa-binoculars:before{content:"\\F1E5"}.fa-plug:before{content:"\\F1E6"}.fa-slideshare:before{content:"\\F1E7"}.fa-twitch:before{content:"\\F1E8"}.fa-yelp:before{content:"\\F1E9"}.fa-newspaper-o:before{content:"\\F1EA"}.fa-wifi:before{content:"\\F1EB"}.fa-calculator:before{content:"\\F1EC"}.fa-paypal:before{content:"\\F1ED"}.fa-google-wallet:before{content:"\\F1EE"}.fa-cc-visa:before{content:"\\F1F0"}.fa-cc-mastercard:before{content:"\\F1F1"}.fa-cc-discover:before{content:"\\F1F2"}.fa-cc-amex:before{content:"\\F1F3"}.fa-cc-paypal:before{content:"\\F1F4"}.fa-cc-stripe:before{content:"\\F1F5"}.fa-bell-slash:before{content:"\\F1F6"}.fa-bell-slash-o:before{content:"\\F1F7"}.fa-trash:before{content:"\\F1F8"}.fa-copyright:before{content:"\\F1F9"}.fa-at:before{content:"\\F1FA"}.fa-eyedropper:before{content:"\\F1FB"}.fa-paint-brush:before{content:"\\F1FC"}.fa-birthday-cake:before{content:"\\F1FD"}.fa-area-chart:before{content:"\\F1FE"}.fa-pie-chart:before{content:"\\F200"}.fa-line-chart:before{content:"\\F201"}.fa-lastfm:before{content:"\\F202"}.fa-lastfm-square:before{content:"\\F203"}.fa-toggle-off:before{content:"\\F204"}.fa-toggle-on:before{content:"\\F205"}.fa-bicycle:before{content:"\\F206"}.fa-bus:before{content:"\\F207"}.fa-ioxhost:before{content:"\\F208"}.fa-angellist:before{content:"\\F209"}.fa-cc:before{content:"\\F20A"}.fa-ils:before,.fa-shekel:before,.fa-sheqel:before{content:"\\F20B"}.fa-meanpath:before{content:"\\F20C"}.fa-buysellads:before{content:"\\F20D"}.fa-connectdevelop:before{content:"\\F20E"}.fa-dashcube:before{content:"\\F210"}.fa-forumbee:before{content:"\\F211"}.fa-leanpub:before{content:"\\F212"}.fa-sellsy:before{content:"\\F213"}.fa-shirtsinbulk:before{content:"\\F214"}.fa-simplybuilt:before{content:"\\F215"}.fa-skyatlas:before{content:"\\F216"}.fa-cart-plus:before{content:"\\F217"}.fa-cart-arrow-down:before{content:"\\F218"}.fa-diamond:before{content:"\\F219"}.fa-ship:before{content:"\\F21A"}.fa-user-secret:before{content:"\\F21B"}.fa-motorcycle:before{content:"\\F21C"}.fa-street-view:before{content:"\\F21D"}.fa-heartbeat:before{content:"\\F21E"}.fa-venus:before{content:"\\F221"}.fa-mars:before{content:"\\F222"}.fa-mercury:before{content:"\\F223"}.fa-intersex:before,.fa-transgender:before{content:"\\F224"}.fa-transgender-alt:before{content:"\\F225"}.fa-venus-double:before{content:"\\F226"}.fa-mars-double:before{content:"\\F227"}.fa-venus-mars:before{content:"\\F228"}.fa-mars-stroke:before{content:"\\F229"}.fa-mars-stroke-v:before{content:"\\F22A"}.fa-mars-stroke-h:before{content:"\\F22B"}.fa-neuter:before{content:"\\F22C"}.fa-genderless:before{content:"\\F22D"}.fa-facebook-official:before{content:"\\F230"}.fa-pinterest-p:before{content:"\\F231"}.fa-whatsapp:before{content:"\\F232"}.fa-server:before{content:"\\F233"}.fa-user-plus:before{content:"\\F234"}.fa-user-times:before{content:"\\F235"}.fa-bed:before,.fa-hotel:before{content:"\\F236"}.fa-viacoin:before{content:"\\F237"}.fa-train:before{content:"\\F238"}.fa-subway:before{content:"\\F239"}.fa-medium:before{content:"\\F23A"}.fa-y-combinator:before,.fa-yc:before{content:"\\F23B"}.fa-optin-monster:before{content:"\\F23C"}.fa-opencart:before{content:"\\F23D"}.fa-expeditedssl:before{content:"\\F23E"}.fa-battery-4:before,.fa-battery-full:before,.fa-battery:before{content:"\\F240"}.fa-battery-3:before,.fa-battery-three-quarters:before{content:"\\F241"}.fa-battery-2:before,.fa-battery-half:before{content:"\\F242"}.fa-battery-1:before,.fa-battery-quarter:before{content:"\\F243"}.fa-battery-0:before,.fa-battery-empty:before{content:"\\F244"}.fa-mouse-pointer:before{content:"\\F245"}.fa-i-cursor:before{content:"\\F246"}.fa-object-group:before{content:"\\F247"}.fa-object-ungroup:before{content:"\\F248"}.fa-sticky-note:before{content:"\\F249"}.fa-sticky-note-o:before{content:"\\F24A"}.fa-cc-jcb:before{content:"\\F24B"}.fa-cc-diners-club:before{content:"\\F24C"}.fa-clone:before{content:"\\F24D"}.fa-balance-scale:before{content:"\\F24E"}.fa-hourglass-o:before{content:"\\F250"}.fa-hourglass-1:before,.fa-hourglass-start:before{content:"\\F251"}.fa-hourglass-2:before,.fa-hourglass-half:before{content:"\\F252"}.fa-hourglass-3:before,.fa-hourglass-end:before{content:"\\F253"}.fa-hourglass:before{content:"\\F254"}.fa-hand-grab-o:before,.fa-hand-rock-o:before{content:"\\F255"}.fa-hand-paper-o:before,.fa-hand-stop-o:before{content:"\\F256"}.fa-hand-scissors-o:before{content:"\\F257"}.fa-hand-lizard-o:before{content:"\\F258"}.fa-hand-spock-o:before{content:"\\F259"}.fa-hand-pointer-o:before{content:"\\F25A"}.fa-hand-peace-o:before{content:"\\F25B"}.fa-trademark:before{content:"\\F25C"}.fa-registered:before{content:"\\F25D"}.fa-creative-commons:before{content:"\\F25E"}.fa-gg:before{content:"\\F260"}.fa-gg-circle:before{content:"\\F261"}.fa-tripadvisor:before{content:"\\F262"}.fa-odnoklassniki:before{content:"\\F263"}.fa-odnoklassniki-square:before{content:"\\F264"}.fa-get-pocket:before{content:"\\F265"}.fa-wikipedia-w:before{content:"\\F266"}.fa-safari:before{content:"\\F267"}.fa-chrome:before{content:"\\F268"}.fa-firefox:before{content:"\\F269"}.fa-opera:before{content:"\\F26A"}.fa-internet-explorer:before{content:"\\F26B"}.fa-television:before,.fa-tv:before{content:"\\F26C"}.fa-contao:before{content:"\\F26D"}.fa-500px:before{content:"\\F26E"}.fa-amazon:before{content:"\\F270"}.fa-calendar-plus-o:before{content:"\\F271"}.fa-calendar-minus-o:before{content:"\\F272"}.fa-calendar-times-o:before{content:"\\F273"}.fa-calendar-check-o:before{content:"\\F274"}.fa-industry:before{content:"\\F275"}.fa-map-pin:before{content:"\\F276"}.fa-map-signs:before{content:"\\F277"}.fa-map-o:before{content:"\\F278"}.fa-map:before{content:"\\F279"}.fa-commenting:before{content:"\\F27A"}.fa-commenting-o:before{content:"\\F27B"}.fa-houzz:before{content:"\\F27C"}.fa-vimeo:before{content:"\\F27D"}.fa-black-tie:before{content:"\\F27E"}.fa-fonticons:before{content:"\\F280"}.fa-reddit-alien:before{content:"\\F281"}.fa-edge:before{content:"\\F282"}.fa-credit-card-alt:before{content:"\\F283"}.fa-codiepie:before{content:"\\F284"}.fa-modx:before{content:"\\F285"}.fa-fort-awesome:before{content:"\\F286"}.fa-usb:before{content:"\\F287"}.fa-product-hunt:before{content:"\\F288"}.fa-mixcloud:before{content:"\\F289"}.fa-scribd:before{content:"\\F28A"}.fa-pause-circle:before{content:"\\F28B"}.fa-pause-circle-o:before{content:"\\F28C"}.fa-stop-circle:before{content:"\\F28D"}.fa-stop-circle-o:before{content:"\\F28E"}.fa-shopping-bag:before{content:"\\F290"}.fa-shopping-basket:before{content:"\\F291"}.fa-hashtag:before{content:"\\F292"}.fa-bluetooth:before{content:"\\F293"}.fa-bluetooth-b:before{content:"\\F294"}.fa-percent:before{content:"\\F295"}.fa-gitlab:before{content:"\\F296"}.fa-wpbeginner:before{content:"\\F297"}.fa-wpforms:before{content:"\\F298"}.fa-envira:before{content:"\\F299"}.fa-universal-access:before{content:"\\F29A"}.fa-wheelchair-alt:before{content:"\\F29B"}.fa-question-circle-o:before{content:"\\F29C"}.fa-blind:before{content:"\\F29D"}.fa-audio-description:before{content:"\\F29E"}.fa-volume-control-phone:before{content:"\\F2A0"}.fa-braille:before{content:"\\F2A1"}.fa-assistive-listening-systems:before{content:"\\F2A2"}.fa-american-sign-language-interpreting:before,.fa-asl-interpreting:before{content:"\\F2A3"}.fa-deaf:before,.fa-deafness:before,.fa-hard-of-hearing:before{content:"\\F2A4"}.fa-glide:before{content:"\\F2A5"}.fa-glide-g:before{content:"\\F2A6"}.fa-sign-language:before,.fa-signing:before{content:"\\F2A7"}.fa-low-vision:before{content:"\\F2A8"}.fa-viadeo:before{content:"\\F2A9"}.fa-viadeo-square:before{content:"\\F2AA"}.fa-snapchat:before{content:"\\F2AB"}.fa-snapchat-ghost:before{content:"\\F2AC"}.fa-snapchat-square:before{content:"\\F2AD"}.fa-pied-piper:before{content:"\\F2AE"}.fa-first-order:before{content:"\\F2B0"}.fa-yoast:before{content:"\\F2B1"}.fa-themeisle:before{content:"\\F2B2"}.fa-google-plus-circle:before,.fa-google-plus-official:before{content:"\\F2B3"}.fa-fa:before,.fa-font-awesome:before{content:"\\F2B4"}.fa-handshake-o:before{content:"\\F2B5"}.fa-envelope-open:before{content:"\\F2B6"}.fa-envelope-open-o:before{content:"\\F2B7"}.fa-linode:before{content:"\\F2B8"}.fa-address-book:before{content:"\\F2B9"}.fa-address-book-o:before{content:"\\F2BA"}.fa-address-card:before,.fa-vcard:before{content:"\\F2BB"}.fa-address-card-o:before,.fa-vcard-o:before{content:"\\F2BC"}.fa-user-circle:before{content:"\\F2BD"}.fa-user-circle-o:before{content:"\\F2BE"}.fa-user-o:before{content:"\\F2C0"}.fa-id-badge:before{content:"\\F2C1"}.fa-drivers-license:before,.fa-id-card:before{content:"\\F2C2"}.fa-drivers-license-o:before,.fa-id-card-o:before{content:"\\F2C3"}.fa-quora:before{content:"\\F2C4"}.fa-free-code-camp:before{content:"\\F2C5"}.fa-telegram:before{content:"\\F2C6"}.fa-thermometer-4:before,.fa-thermometer-full:before,.fa-thermometer:before{content:"\\F2C7"}.fa-thermometer-3:before,.fa-thermometer-three-quarters:before{content:"\\F2C8"}.fa-thermometer-2:before,.fa-thermometer-half:before{content:"\\F2C9"}.fa-thermometer-1:before,.fa-thermometer-quarter:before{content:"\\F2CA"}.fa-thermometer-0:before,.fa-thermometer-empty:before{content:"\\F2CB"}.fa-shower:before{content:"\\F2CC"}.fa-bath:before,.fa-bathtub:before,.fa-s15:before{content:"\\F2CD"}.fa-podcast:before{content:"\\F2CE"}.fa-window-maximize:before{content:"\\F2D0"}.fa-window-minimize:before{content:"\\F2D1"}.fa-window-restore:before{content:"\\F2D2"}.fa-times-rectangle:before,.fa-window-close:before{content:"\\F2D3"}.fa-times-rectangle-o:before,.fa-window-close-o:before{content:"\\F2D4"}.fa-bandcamp:before{content:"\\F2D5"}.fa-grav:before{content:"\\F2D6"}.fa-etsy:before{content:"\\F2D7"}.fa-imdb:before{content:"\\F2D8"}.fa-ravelry:before{content:"\\F2D9"}.fa-eercast:before{content:"\\F2DA"}.fa-microchip:before{content:"\\F2DB"}.fa-snowflake-o:before{content:"\\F2DC"}.fa-superpowers:before{content:"\\F2DD"}.fa-wpexplorer:before{content:"\\F2DE"}.fa-meetup:before{content:"\\F2E0"}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}',""])},function(t,exports,e){t.exports=e.p+"674f50d287a8c48dc19ba404d20fe713.eot"},function(t,exports,e){t.exports=e.p+"674f50d287a8c48dc19ba404d20fe713.eot"},function(t,exports,e){t.exports=e.p+"af7ae505a9eed503f8b8e6982036873e.woff2"},function(t,exports,e){t.exports=e.p+"fee66e712a8a08eef5805a46892932ad.woff"},function(t,exports,e){t.exports=e.p+"b06871f281fee6b241d60582ae9369b9.ttf"},function(t,exports,e){t.exports=e.p+"912ec66d7572ff821749319396470bde.svg"},function(t,exports,e){var n=e(670);"string"==typeof n&&(n=[[t.i,n,""]]);var r={};r.transform=void 0;e(21)(n,r);n.locals&&(t.exports=n.locals)},function(t,exports,e){exports=t.exports=e(20)(void 0),exports.push([t.i,'@font-face{font-family:Open Sans;src:local("Open Sans Light"),local("OpenSans-Light"),url('+e(671)+') format("woff2"),url('+e(672)+') format("woff"),url('+e(673)+') format("truetype");font-weight:300;font-style:normal}@font-face{font-family:Open Sans;src:local("Open Sans Light Italic"),local("OpenSansLight-Italic"),url('+e(674)+') format("woff2"),url('+e(675)+') format("woff"),url('+e(676)+') format("truetype");font-weight:300;font-style:italic}@font-face{font-family:Open Sans;src:local("Open Sans"),local("OpenSans"),url('+e(677)+') format("woff2"),url('+e(678)+') format("woff"),url('+e(679)+') format("truetype");font-weight:400;font-style:normal}@font-face{font-family:Open Sans;src:local("Open Sans Italic"),local("OpenSans-Italic"),url('+e(680)+') format("woff2"),url('+e(681)+') format("woff"),url('+e(682)+') format("truetype");font-weight:400;font-style:italic}@font-face{font-family:Open Sans;src:local("Open Sans Semibold"),local("OpenSans-Semibold"),url('+e(683)+') format("woff2"),url('+e(684)+') format("woff"),url('+e(685)+') format("truetype");font-weight:600;font-style:normal}@font-face{font-family:Open Sans;src:local("Open Sans Semibold Italic"),local("OpenSans-SemiboldItalic"),url('+e(686)+') format("woff2"),url('+e(687)+') format("woff"),url('+e(688)+') format("truetype");font-weight:600;font-style:italic}@font-face{font-family:Open Sans;src:local("Open Sans Bold"),local("OpenSans-Bold"),url('+e(689)+') format("woff2"),url('+e(690)+') format("woff"),url('+e(691)+') format("truetype");font-weight:700;font-style:normal}@font-face{font-family:Open Sans;src:local("Open Sans Bold Italic"),local("OpenSans-BoldItalic"),url('+e(692)+') format("woff2"),url('+e(693)+') format("woff"),url('+e(694)+') format("truetype");font-weight:700;font-style:italic}@font-face{font-family:Open Sans;src:local("Open Sans Extrabold"),local("OpenSans-Extrabold"),url('+e(695)+') format("woff2"),url('+e(696)+') format("woff"),url('+e(697)+') format("truetype");font-weight:800;font-style:normal}@font-face{font-family:Open Sans;src:local("Open Sans Extrabold Italic"),local("OpenSans-ExtraboldItalic"),url('+e(698)+') format("woff2"),url('+e(699)+') format("woff"),url('+e(700)+') format("truetype");font-weight:800;font-style:italic}',""])},function(t,exports,e){t.exports=e.p+"aac07fc6db99e7eb977e36c5b2571716.woff2"},function(t,exports,e){t.exports=e.p+"9a0cfeda5ce5de1674106cd0a66ed55e.woff"},function(t,exports,e){t.exports=e.p+"25ad8d1b471db8cc26d864db84a86bd5.ttf"},function(t,exports,e){t.exports=e.p+"3b472a011c149d4e3e20899165f9d836.woff2"},function(t,exports,e){t.exports=e.p+"03fa0fb46f93a7cd5fbac457f20228e2.woff"},function(t,exports,e){t.exports=e.p+"161f7fcb431023d65bbd20417b321328.ttf"},function(t,exports,e){t.exports=e.p+"48aa7ad98beedc63d82925f45fd8e72c.woff2"},function(t,exports,e){t.exports=e.p+"811c8baeca3bb3329488f729979c1fbc.woff"},function(t,exports,e){t.exports=e.p+"d2a705b59e370eaa5d145962f3b1ade1.ttf"},function(t,exports,e){t.exports=e.p+"fbf7f082bb8abfeef11c89c77452f796.woff2"},function(t,exports,e){t.exports=e.p+"576f55c34a35e2d1e8d46dc916dd53de.woff"},function(t,exports,e){t.exports=e.p+"bf2f6b57cd6438b1e1ca22dd53c319c0.ttf"},function(t,exports,e){t.exports=e.p+"86dd4197bc664e69cc2dcba53bd2e6bc.woff2"},function(t,exports,e){t.exports=e.p+"299b3be898e809232985246037e615b9.woff"},function(t,exports,e){t.exports=e.p+"483351b66d7f49ef56b83ecb00dd3712.ttf"},function(t,exports,e){t.exports=e.p+"1e7892227286bddc889ed66c71863ce9.woff2"},function(t,exports,e){t.exports=e.p+"09c3b5a4acf6c0c8acdb419be166b4c8.woff"},function(t,exports,e){t.exports=e.p+"9e4f913fb70d77b2898dd935c62b626a.ttf"},function(t,exports,e){t.exports=e.p+"313824e85557a721d326424b6eb63fec.woff2"},function(t,exports,e){t.exports=e.p+"6f05808b4f6a11d3feb1716291c7c038.woff"},function(t,exports,e){t.exports=e.p+"b87efff09ad1fd0e8da7f17ce94c4a83.ttf"},function(t,exports,e){t.exports=e.p+"5f80e2b1fe2352fbe3f757c44ab1d590.woff2"},function(t,exports,e){t.exports=e.p+"90b8cd144632dbd7c51c77336b7f5171.woff"},function(t,exports,e){t.exports=e.p+"47cf698e57af0651962238787bea4d2f.ttf"},function(t,exports,e){t.exports=e.p+"0f5ecd4c02213b058c52b19a729b2308.woff2"},function(t,exports,e){t.exports=e.p+"6794db0115fe57ff032c2bc4d2fec757.woff"},function(t,exports,e){t.exports=e.p+"a4e0d32f8d8cb67da4af27c3f948600d.ttf"},function(t,exports,e){t.exports=e.p+"51d4b21e8b8a03b7b5b6fb3681edbabf.woff2"},function(t,exports,e){t.exports=e.p+"cb00b819da6093c52289da36f470549a.woff"},function(t,exports,e){t.exports=e.p+"41274fc221d9fe727256b3f302904a4e.ttf"},function(t,exports,e){var n=e(702);"string"==typeof n&&(n=[[t.i,n,""]]);var r={};r.transform=void 0;e(21)(n,r);n.locals&&(t.exports=n.locals)},function(t,exports,e){exports=t.exports=e(20)(void 0),exports.push([t.i,'.dropdown-submenu{position:relative}.dropdown-submenu>.dropdown-menu{top:0;left:100%;margin-top:-6px;margin-left:-1px;-webkit-border-radius:0 6px 6px 6px;-moz-border-radius:0 6px 6px 6px;border-radius:0 6px 6px 6px}.dropdown-submenu:hover>.dropdown-menu{display:block}.dropdown-submenu>a:after{display:block;content:" ";float:right;width:0;height:0;border-color:transparent;border-style:solid;border-width:5px 0 5px 5px;border-left-color:#ccc;margin-top:5px;margin-right:-10px}.dropdown-submenu:hover>a:after{border-left-color:#fff}.dropdown-submenu.pull-left{float:none}.dropdown-submenu.pull-left>.dropdown-menu{left:-100%;margin-left:10px;-webkit-border-radius:6px 0 6px 6px;-moz-border-radius:6px 0 6px 6px;border-radius:6px 0 6px 6px}.right-menu{right:0;left:auto}.left-submenu{float:none}.left-submenu>.dropdown-menu{border-radius:6px 0 6px 6px;left:auto;margin-left:10px;right:98%}',""])},function(t,exports,e){var n=e(704);"string"==typeof n&&(n=[[t.i,n,""]]);var r={};r.transform=void 0;e(21)(n,r);n.locals&&(t.exports=n.locals)},function(t,exports,e){exports=t.exports=e(20)(void 0),exports.push([t.i,'.toast-title{font-weight:700}.toast-message{-ms-word-wrap:break-word;word-wrap:break-word}.toast-message a,.toast-message label{color:#fff}.toast-message a:hover{color:#ccc;text-decoration:none}.toast-close-button{position:relative;right:-.3em;top:-.3em;float:right;font-size:20px;font-weight:700;color:#fff;-webkit-text-shadow:0 1px 0 #fff;text-shadow:0 1px 0 #fff;opacity:.8;-ms-filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=80);filter:alpha(opacity=80);line-height:1}.toast-close-button:focus,.toast-close-button:hover{color:#000;text-decoration:none;cursor:pointer;opacity:.4;-ms-filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=40);filter:alpha(opacity=40)}.rtl .toast-close-button{left:-.3em;float:left;right:.3em}button.toast-close-button{padding:0;cursor:pointer;background:transparent;border:0;-webkit-appearance:none}.toast-top-center{top:0;right:0;width:100%}.toast-bottom-center{bottom:0;right:0;width:100%}.toast-top-full-width{top:0;right:0;width:100%}.toast-bottom-full-width{bottom:0;right:0;width:100%}.toast-top-left{top:12px;left:12px}.toast-top-right{top:12px;right:12px}.toast-bottom-right{right:12px;bottom:12px}.toast-bottom-left{bottom:12px;left:12px}#toast-container{position:fixed;z-index:999999;pointer-events:none}#toast-container *{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}#toast-container>div{position:relative;pointer-events:auto;overflow:hidden;margin:0 0 6px;padding:15px 15px 15px 50px;width:300px;-moz-border-radius:3px 3px 3px 3px;-webkit-border-radius:3px 3px 3px 3px;border-radius:3px 3px 3px 3px;background-position:15px;background-repeat:no-repeat;-moz-box-shadow:0 0 12px #999;-webkit-box-shadow:0 0 12px #999;box-shadow:0 0 12px #999;color:#fff;opacity:.8;-ms-filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=80);filter:alpha(opacity=80)}#toast-container>div.rtl{direction:rtl;padding:15px 50px 15px 15px;background-position:right 15px center}#toast-container>div:hover{-moz-box-shadow:0 0 12px #000;-webkit-box-shadow:0 0 12px #000;box-shadow:0 0 12px #000;opacity:1;-ms-filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100);filter:alpha(opacity=100);cursor:pointer}#toast-container>.toast-info{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGwSURBVEhLtZa9SgNBEMc9sUxxRcoUKSzSWIhXpFMhhYWFhaBg4yPYiWCXZxBLERsLRS3EQkEfwCKdjWJAwSKCgoKCcudv4O5YLrt7EzgXhiU3/4+b2ckmwVjJSpKkQ6wAi4gwhT+z3wRBcEz0yjSseUTrcRyfsHsXmD0AmbHOC9Ii8VImnuXBPglHpQ5wwSVM7sNnTG7Za4JwDdCjxyAiH3nyA2mtaTJufiDZ5dCaqlItILh1NHatfN5skvjx9Z38m69CgzuXmZgVrPIGE763Jx9qKsRozWYw6xOHdER+nn2KkO+Bb+UV5CBN6WC6QtBgbRVozrahAbmm6HtUsgtPC19tFdxXZYBOfkbmFJ1VaHA1VAHjd0pp70oTZzvR+EVrx2Ygfdsq6eu55BHYR8hlcki+n+kERUFG8BrA0BwjeAv2M8WLQBtcy+SD6fNsmnB3AlBLrgTtVW1c2QN4bVWLATaIS60J2Du5y1TiJgjSBvFVZgTmwCU+dAZFoPxGEEs8nyHC9Bwe2GvEJv2WXZb0vjdyFT4Cxk3e/kIqlOGoVLwwPevpYHT+00T+hWwXDf4AJAOUqWcDhbwAAAAASUVORK5CYII=")!important}#toast-container>.toast-error{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAHOSURBVEhLrZa/SgNBEMZzh0WKCClSCKaIYOED+AAKeQQLG8HWztLCImBrYadgIdY+gIKNYkBFSwu7CAoqCgkkoGBI/E28PdbLZmeDLgzZzcx83/zZ2SSXC1j9fr+I1Hq93g2yxH4iwM1vkoBWAdxCmpzTxfkN2RcyZNaHFIkSo10+8kgxkXIURV5HGxTmFuc75B2RfQkpxHG8aAgaAFa0tAHqYFfQ7Iwe2yhODk8+J4C7yAoRTWI3w/4klGRgR4lO7Rpn9+gvMyWp+uxFh8+H+ARlgN1nJuJuQAYvNkEnwGFck18Er4q3egEc/oO+mhLdKgRyhdNFiacC0rlOCbhNVz4H9FnAYgDBvU3QIioZlJFLJtsoHYRDfiZoUyIxqCtRpVlANq0EU4dApjrtgezPFad5S19Wgjkc0hNVnuF4HjVA6C7QrSIbylB+oZe3aHgBsqlNqKYH48jXyJKMuAbiyVJ8KzaB3eRc0pg9VwQ4niFryI68qiOi3AbjwdsfnAtk0bCjTLJKr6mrD9g8iq/S/B81hguOMlQTnVyG40wAcjnmgsCNESDrjme7wfftP4P7SP4N3CJZdvzoNyGq2c/HWOXJGsvVg+RA/k2MC/wN6I2YA2Pt8GkAAAAASUVORK5CYII=")!important}#toast-container>.toast-success{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADsSURBVEhLY2AYBfQMgf///3P8+/evAIgvA/FsIF+BavYDDWMBGroaSMMBiE8VC7AZDrIFaMFnii3AZTjUgsUUWUDA8OdAH6iQbQEhw4HyGsPEcKBXBIC4ARhex4G4BsjmweU1soIFaGg/WtoFZRIZdEvIMhxkCCjXIVsATV6gFGACs4Rsw0EGgIIH3QJYJgHSARQZDrWAB+jawzgs+Q2UO49D7jnRSRGoEFRILcdmEMWGI0cm0JJ2QpYA1RDvcmzJEWhABhD/pqrL0S0CWuABKgnRki9lLseS7g2AlqwHWQSKH4oKLrILpRGhEQCw2LiRUIa4lwAAAABJRU5ErkJggg==")!important}#toast-container>.toast-warning{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGYSURBVEhL5ZSvTsNQFMbXZGICMYGYmJhAQIJAICYQPAACiSDB8AiICQQJT4CqQEwgJvYASAQCiZiYmJhAIBATCARJy+9rTsldd8sKu1M0+dLb057v6/lbq/2rK0mS/TRNj9cWNAKPYIJII7gIxCcQ51cvqID+GIEX8ASG4B1bK5gIZFeQfoJdEXOfgX4QAQg7kH2A65yQ87lyxb27sggkAzAuFhbbg1K2kgCkB1bVwyIR9m2L7PRPIhDUIXgGtyKw575yz3lTNs6X4JXnjV+LKM/m3MydnTbtOKIjtz6VhCBq4vSm3ncdrD2lk0VgUXSVKjVDJXJzijW1RQdsU7F77He8u68koNZTz8Oz5yGa6J3H3lZ0xYgXBK2QymlWWA+RWnYhskLBv2vmE+hBMCtbA7KX5drWyRT/2JsqZ2IvfB9Y4bWDNMFbJRFmC9E74SoS0CqulwjkC0+5bpcV1CZ8NMej4pjy0U+doDQsGyo1hzVJttIjhQ7GnBtRFN1UarUlH8F3xict+HY07rEzoUGPlWcjRFRr4/gChZgc3ZL2d8oAAAAASUVORK5CYII=")!important}#toast-container.toast-bottom-center>div,#toast-container.toast-top-center>div{width:300px;margin-left:auto;margin-right:auto}#toast-container.toast-bottom-full-width>div,#toast-container.toast-top-full-width>div{width:96%;margin-left:auto;margin-right:auto}.toast{background-color:#030303}.toast-success{background-color:#51a351}.toast-error{background-color:#bd362f}.toast-info{background-color:#2f96b4}.toast-warning{background-color:#f89406}.toast-progress{position:absolute;left:0;bottom:0;height:4px;background-color:#000;opacity:.4;-ms-filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=40);filter:alpha(opacity=40)}@media (max-width:240px){#toast-container>div{padding:8px 8px 8px 50px;width:11em}#toast-container>div.rtl{padding:8px 50px 8px 8px}#toast-container .toast-close-button{right:-.2em;top:-.2em}#toast-container .rtl .toast-close-button{left:-.2em;right:.2em}}@media (min-width:241px) and (max-width:480px){#toast-container>div{padding:8px 8px 8px 50px;width:18em}#toast-container>div.rtl{padding:8px 50px 8px 8px}#toast-container .toast-close-button{right:-.2em;top:-.2em}#toast-container .rtl .toast-close-button{left:-.2em;right:.2em}}@media (min-width:481px) and (max-width:768px){#toast-container>div{padding:15px 15px 15px 50px;width:25em}#toast-container>div.rtl{padding:15px 50px 15px 15px}}',""])},function(t,exports,e){var n=e(706);"string"==typeof n&&(n=[[t.i,n,""]]);var r={};r.transform=void 0;e(21)(n,r);n.locals&&(t.exports=n.locals)},function(t,exports,e){exports=t.exports=e(20)(void 0),exports.push([t.i,'.rickshaw_graph .detail{pointer-events:none;position:absolute;top:0;z-index:2;background:rgba(0,0,0,.1);bottom:0;width:1px;transition:opacity .25s linear;-moz-transition:opacity .25s linear;-o-transition:opacity .25s linear;-webkit-transition:opacity .25s linear}.rickshaw_graph .detail.inactive{opacity:0}.rickshaw_graph .detail .x_label{font-family:Arial,sans-serif;border-radius:3px;padding:6px;opacity:.5;border:1px solid #e0e0e0;font-size:12px;position:absolute;background:#fff;white-space:nowrap}.rickshaw_graph .detail .x_label.left{left:0}.rickshaw_graph .detail .x_label.right{right:0}.rickshaw_graph .detail .item{position:absolute;z-index:2;border-radius:3px;padding:.25em;font-size:12px;font-family:Arial,sans-serif;opacity:0;background:rgba(0,0,0,.4);color:#fff;border:1px solid rgba(0,0,0,.4);margin-left:1em;margin-right:1em;margin-top:-1em;white-space:nowrap}.rickshaw_graph .detail .item.left{left:0}.rickshaw_graph .detail .item.right{right:0}.rickshaw_graph .detail .item.active{opacity:1;background:rgba(0,0,0,.8)}.rickshaw_graph .detail .item:after{position:absolute;display:block;width:0;height:0;content:"";border:5px solid transparent}.rickshaw_graph .detail .item.left:after{top:1em;left:-5px;margin-top:-5px;border-right-color:rgba(0,0,0,.8);border-left-width:0}.rickshaw_graph .detail .item.right:after{top:1em;right:-5px;margin-top:-5px;border-left-color:rgba(0,0,0,.8);border-right-width:0}.rickshaw_graph .detail .dot{width:4px;height:4px;margin-left:-3px;margin-top:-3.5px;border-radius:5px;position:absolute;box-shadow:0 0 2px rgba(0,0,0,.6);box-sizing:content-box;-moz-box-sizing:content-box;background:#fff;border-width:2px;border-style:solid;display:none;background-clip:padding-box}.rickshaw_graph .detail .dot.active{display:block}.rickshaw_graph{position:relative}.rickshaw_graph svg{display:block;overflow:hidden}.rickshaw_graph .x_tick{position:absolute;top:0;bottom:0;width:0;border-left:1px dotted rgba(0,0,0,.2);pointer-events:none}.rickshaw_graph .x_tick .title{position:absolute;font-size:12px;font-family:Arial,sans-serif;opacity:.5;white-space:nowrap;margin-left:3px;bottom:1px}.rickshaw_annotation_timeline{height:1px;border-top:1px solid #e0e0e0;margin-top:10px;position:relative}.rickshaw_annotation_timeline .annotation{position:absolute;height:6px;width:6px;margin-left:-2px;top:-3px;border-radius:5px;background-color:rgba(0,0,0,.25)}.rickshaw_graph .annotation_line{position:absolute;top:0;bottom:-6px;width:0;border-left:2px solid rgba(0,0,0,.3);display:none}.rickshaw_graph .annotation_line.active{display:block}.rickshaw_graph .annotation_range{background:rgba(0,0,0,.1);display:none;position:absolute;top:0;bottom:-6px}.rickshaw_graph .annotation_range.active{display:block}.rickshaw_graph .annotation_range.active.offscreen{display:none}.rickshaw_annotation_timeline .annotation .content{background:#fff;color:#000;opacity:.9;padding:5px;box-shadow:0 0 2px rgba(0,0,0,.8);border-radius:3px;position:relative;z-index:20;font-size:12px;padding:6px 8px 8px;top:18px;left:-11px;width:160px;display:none;cursor:pointer}.rickshaw_annotation_timeline .annotation .content:before{content:"\\25B2";position:absolute;top:-11px;color:#fff;text-shadow:0 -1px 1px rgba(0,0,0,.8)}.rickshaw_annotation_timeline .annotation.active,.rickshaw_annotation_timeline .annotation:hover{background-color:rgba(0,0,0,.8);cursor:none}.rickshaw_annotation_timeline .annotation .content:hover{z-index:50}.rickshaw_annotation_timeline .annotation.active .content{display:block}.rickshaw_annotation_timeline .annotation:hover .content{display:block;z-index:50}.rickshaw_graph .x_axis_d3,.rickshaw_graph .y_axis{fill:none}.rickshaw_graph .x_ticks_d3 .tick,.rickshaw_graph .y_ticks .tick line{stroke:rgba(0,0,0,.16);stroke-width:2px;shape-rendering:crisp-edges;pointer-events:none}.rickshaw_graph .x_grid_d3 .tick,.rickshaw_graph .y_grid .tick{z-index:-1;stroke:rgba(0,0,0,.2);stroke-width:1px;stroke-dasharray:1 1}.rickshaw_graph .y_grid .tick[data-y-value="0"]{stroke-dasharray:1 0}.rickshaw_graph .x_grid_d3 path,.rickshaw_graph .y_grid path{fill:none;stroke:none}.rickshaw_graph .x_ticks_d3 path,.rickshaw_graph .y_ticks path{fill:none;stroke:gray}.rickshaw_graph .x_ticks_d3 text,.rickshaw_graph .y_ticks text{opacity:.5;font-size:12px;pointer-events:none}.rickshaw_graph .x_tick.glow .title,.rickshaw_graph .y_ticks.glow text{fill:#000;color:#000;text-shadow:-1px 1px 0 hsla(0,0%,100%,.1),1px -1px 0 hsla(0,0%,100%,.1),1px 1px 0 hsla(0,0%,100%,.1),0 1px 0 hsla(0,0%,100%,.1),0 -1px 0 hsla(0,0%,100%,.1),1px 0 0 hsla(0,0%,100%,.1),-1px 0 0 hsla(0,0%,100%,.1),-1px -1px 0 hsla(0,0%,100%,.1)}.rickshaw_graph .x_tick.inverse .title,.rickshaw_graph .y_ticks.inverse text{fill:#fff;color:#fff;text-shadow:-1px 1px 0 rgba(0,0,0,.8),1px -1px 0 rgba(0,0,0,.8),1px 1px 0 rgba(0,0,0,.8),0 1px 0 rgba(0,0,0,.8),0 -1px 0 rgba(0,0,0,.8),1px 0 0 rgba(0,0,0,.8),-1px 0 0 rgba(0,0,0,.8),-1px -1px 0 rgba(0,0,0,.8)}.rickshaw_legend{font-family:Arial;font-size:12px;color:#fff;background:#404040;display:inline-block;padding:12px 5px;border-radius:2px;position:relative}.rickshaw_legend:hover{z-index:10}.rickshaw_legend .swatch{width:10px;height:10px;border:1px solid rgba(0,0,0,.2)}.rickshaw_legend .line{clear:both;line-height:140%;padding-right:15px}.rickshaw_legend .line .swatch{display:inline-block;margin-right:3px;border-radius:2px}.rickshaw_legend .label{margin:0;white-space:nowrap;display:inline;font-size:inherit;background-color:transparent;color:inherit;font-weight:400;line-height:normal;padding:0;text-shadow:none}.rickshaw_legend .action:hover{opacity:.6}.rickshaw_legend .action{margin-right:.2em;font-size:10px;opacity:.2;cursor:pointer;font-size:14px}.rickshaw_legend .line.disabled{opacity:.4}.rickshaw_legend ul{list-style-type:none;margin:0;padding:0;margin:2px;cursor:pointer}.rickshaw_legend li{padding:0 0 0 2px;min-width:80px;white-space:nowrap}.rickshaw_legend li:hover{background:hsla(0,0%,100%,.08);border-radius:3px}.rickshaw_legend li:active{background:hsla(0,0%,100%,.2);border-radius:3px}',""])},function(t,exports,e){var n=e(708);"string"==typeof n&&(n=[[t.i,n,""]]);var r={};r.transform=void 0;e(21)(n,r);n.locals&&(t.exports=n.locals)},function(t,exports,e){exports=t.exports=e(20)(void 0),exports.push([t.i,'#editor{height:256px}body{background-color:#e3e3e3;font-family:Open Sans,sans-serif;font-size:12px;overflow-x:hidden;margin-top:45px}ul{list-style-type:none;margin:0}ul.no-padding{padding:0}hr{border-top:1px solid #e3e3e3}h1,h2,h3,h4,h5,h6{font-weight:400;padding:0;margin:0;color:#333}h1{font-size:28px}h2{font-size:21px}h3{font-size:18px}h4{font-weight:700;font-size:14px;font-weight:400}a{color:#16ace3}.btn:active,a:active,input[type=checkbox]:active,input[type=file]:active,input[type=radio]:active,select:active{outline:none;outline-offset:0}input.form-control,select.form-control,textarea.form-control{color:#666}.input-group-addon.input-group-separator{border-right-width:0;border-left-width:0}label{font-size:14px}legend small{color:#aaa;margin-left:5px}.btn:focus{background-position:0}#footer{text-align:center;font-size:11px;color:#aaa;margin-bottom:15px}.modal-title{font-size:21px}.modal-dialog{margin-top:55px!important}.modal .modal-backdrop{z-index:0}.modal-backdrop{height:100000%;z-index:1030}.navbar-brand{width:155px}#universalsearch{padding:15px;background-color:#fff;border:1px solid #d1d1d1}#universalsearch-container{padding:0 25px}.content{padding-top:15px;padding-bottom:15px;background-color:#fff;border:1px solid #d1d1d1;margin-bottom:10px}.content p.description{margin-top:3px}.content-head{padding-bottom:0}.content p.description{color:#939393}.content-head p{margin-top:15px}.content-head .actions-lg{float:right}.actions-lg .actions-container{height:60px;margin-top:10px;padding-left:50px}.content-head .actions-sm{padding-bottom:15px}.content-head .description-tooltips .fa-stack{margin-right:3px}.content p.description-tooltips-small .fa-stack{margin-right:1px;position:relative;top:-1px}.content p.description-tooltips{margin-top:10px}.content-col{padding:15px 10px;background-color:#fff;border:1px solid #d1d1d1;margin-top:15px}#sidebar{padding-left:0}@media (max-height:991px){#sidebar{padding-right:0}}@media (min-width:991px){#sidebar{padding-right:15px}}@media (max-width:991px){#sidebar .affix{position:relative}}@media (min-width:991px){#sidebar .affix{top:45px;z-index:1000;position:fixed}}#sidebar .actions{margin-top:10px}#sidebar .actions>div{margin:5px 5px 0 0}#sidebar hr{margin-top:15px;margin-bottom:10px}#main-row{margin-bottom:0}#main-content-sidebar{padding-left:0;padding-right:0}#main-content{margin-top:10px;padding:5px 25px}#main-content-search{margin-bottom:0;margin-top:-15px}#universalsearch{padding:5px;margin-bottom:0;margin-top:15px}.universalsearch-timerange-selector{font-size:12px}.universalsearch-timerange-selector label{font-size:12px;margin-left:5px!important}.universalsearch-timerange-selector .radio input{margin-left:-17px;position:relative;top:-2px}.universalsearch-form{margin-bottom:0}.universalsearch-form #search-container{margin-left:5px}.universalsearch-form button{font-size:13px}.universalsearch-form button.btn-sm{font-size:12px}.universalsearch-form div .query{margin-left:45px;margin-right:25px}.universalsearch-form .query input{font-family:monospace;font-size:13px;width:100%;border:0;background-color:#fff;box-shadow:none;color:inherit;-moz-box-shadow:none;-webkit-box-shadow:none;-webkit-transition:none;-moz-transition:none;transition:none;outline:none;padding:0;margin-left:5px;margin-bottom:5px}.universalsearch-form .form-group{margin-bottom:0}a.fields-set-chooser{margin-right:2px;margin-left:2px}#result-graph-container{margin-right:12px;margin-bottom:25px}#result-graph{margin-top:5px}#result-graph,#result-graph-timeline{margin-left:40px}#y_axis{float:left;height:200px;width:40px}.search-result-fields{margin-top:3px;padding-left:0}.search-result-fields li{margin-top:1px;margin-bottom:1px;padding:2px 0}.search-result-fields label{font-size:12px;display:inline;position:relative;top:3px;font-weight:400!important}.search-result-fields .form-group{margin-bottom:0}.search-result-fields .checkbox{margin:0}.search-result-fields input[type=checkbox]{position:relative;right:4px}.search-result-fields .dropdown .caret{display:none}.search-result-fields button.dropdown-toggle{padding:0}.message-terms{margin-right:8px;font-family:monospace}.systemjob{margin-top:10px;border-bottom:1px solid #ccc}.systemjob .progress{margin-top:2px;margin-bottom:5px}.systemjob .finished{display:none;position:relative;top:-1px;left:2px;font-family:Arial,sans-serif;font-size:11px}.notifications-none,.systemjobs-none{margin-top:10px}.notification-badge-link:hover{border:0!important;text-decoration:none!important}.row{margin-bottom:15px}.alert,.no-bm{margin-bottom:0}.alert{margin-top:5px}.system-messages{font-size:12px}.notification{margin-top:10px!important}.notification i{color:#000}.notification-head{margin-bottom:5px}.notification-timestamp{margin-left:3px;font-size:10px}.notification-solutions{margin-top:10px}.notification-solutions label{font-size:13px}.notification form{margin-bottom:0}.notification-solutions h4{font-size:13px;font-weight:700;margin-bottom:1px}.notification-solutions .btn{margin-top:3px;font-size:12px;padding:3px 11px}.node-row{border-bottom:1px solid #ccc;padding-bottom:8px;margin-top:15px;margin-bottom:0}.change-message-processing{position:relative;top:-1px}.es-cluster-status{margin-top:10px;margin-bottom:5px}.node-row .hostname{font-size:12px}.rickshaw_graph .x_tick{position:relative;top:38px}.graph-resolution-selector{margin-top:5px;margin-bottom:20px}.graph-resolution-selector li{padding-right:0}.graph-resolution-selector a{text-transform:capitalize}.selected-resolution{font-weight:700}.search-result-fields .fa-cog{position:relative;top:3px}.modal form{margin-bottom:0}s .input-list h2{margin-bottom:5px}.node-row{margin-bottom:8px;margin-top:0}.node-row .well{margin-bottom:0;margin-top:3px;font-family:monospace;font-size:11px}.node-row-info{position:relative;top:2px}.node-row-info form{display:inline}.node-row-info .text{position:relative;top:3px}.node-row-info-negative-correction{position:relative;top:-15px}.input-list .alert{margin-top:10px}.input-new{margin-bottom:8px}.alert-bar{margin:10px -20px 0}.system-messages a{color:#000}.xtrc-new-example{margin-bottom:5px;font-family:monospace;font-size:14px;white-space:pre-wrap;word-wrap:break-word}.xtrc-no-example{margin-top:15px;margin-bottom:12px}.xtrc-hl{background-color:#f8b9b7;padding-top:3px;padding-bottom:3px}#create-extractor{margin-top:10px}.xtrc-converter-subfields{margin-left:20px}.xtrc-list-container{margin-top:15px}.xtrc-list-container h2{margin-bottom:5px}.xtrc-list-container .alert{margin-top:5px}.xtrc-list-drag{margin-top:10px}.manual-selector-form{margin-top:5px}.node-row .xtrc-converters{margin-top:10px}.node-row .xtrc-config li,.node-row .xtrc-converters li{margin-left:10px}.node-row .xtrc-converter-config li{margin-left:20px}.u-light{border-bottom:1px dotted #bbb;margin-bottom:5px;padding-bottom:5px}.xtrc-metrics{margin-top:7px;margin-left:5px}.xtrc-metrics .span4{margin-left:0}.xtrc-metrics h3 .unit{font-size:11px}.xtrc-metrics dl{margin-top:3px;margin-bottom:0}.xtrc-metrics dt{float:left}.xtrc-metrics dd{margin-left:130px}.xtrc-exception-bubble{position:relative;top:-7px;margin-left:2px;cursor:pointer}.extractor-condition-summary{margin-left:5px;margin-top:10px}.success-match{color:#408140}.fail-match{color:#da4f49}.input-docs{margin-left:3px}.input-docs:hover{text-decoration:none}.open-analyze-field{cursor:pointer;font-size:16px;position:relative;top:4px;color:#16ace3}.open-analyze-field-active,.open-analyze-field:hover{color:#1189b5}.analyze-field{margin-top:10px}.analyzer-content dl{margin-top:10px;margin-bottom:5px;border-left:3px solid #eee;padding-left:7px;padding-top:1px;padding-bottom:1px}.analyzer-content dt{float:left;height:25px}.analyzer-content dd{margin-left:120px;height:25px}.analyze-field .statistics .wrong-type{margin-top:5px;color:#bbb}.timerange-selector-container{border-bottom:1px solid #eee;padding-bottom:6px;margin-bottom:8px;margin-left:5px}.input-append,.timerange-selector-container .input-prepend,.timerange-selector select{margin-bottom:0}.timerange-chooser{float:left;margin-right:5px}.timerange-chooser .btn{padding:6px 7px;line-height:15px;font-size:12px}.timerange-chooser .btn .caret{margin-left:1px}.timerange-chooser .selected a{font-weight:700}.master-node{color:#f89406}.permission-select{width:350px}.loglevel-metrics-row{margin-top:2px;margin-left:10px}.loglevel-metrics dl{margin-bottom:5px;margin-top:5px}.loglevel-metrics dt{float:left;margin-right:5px}.subsystems{margin-top:10px;margin-left:10px}.subsystems-row{margin-bottom:10px}#universalsearch .timerange-selector-container .keyword .icon{margin-left:5px}#universalsearch .timerange-selector-container .keyword .keyword-preview{margin-top:4px;margin-left:45px;font-size:11px}#universalsearch .timerange-selector-container .keyword .keyword-preview .fromto span{background-color:#fec;padding-left:3px;padding-right:3px}.no-active-nodes{margin-top:8px}.alpha80{background:#000 transparent;background:rgba(0,0,0,.8)}.alpha70,.alpha80{filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000,endColorstr=#99000000);-ms-filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000,endColorstr=#99000000)}.alpha70{background:#000 transparent;background:rgba(0,0,0,.7)}#scroll-to-hint{position:fixed;left:50%;margin-left:-125px;top:50px;color:#fff;font-size:80px;padding:25px;z-index:2000;width:200px;text-align:center;-webkit-border-radius:10px 10px 10px 10px;-moz-border-radius:10px 10px 10px 10px;cursor:pointer;border-radius:10px 10px 10px 10px}.graph-range-selector{outline:1px solid #eee;background:rgba(0,0,0,.3);position:absolute;top:0;z-index:1;cursor:pointer;pointer-events:none}.rickshaw_graph:active,.rickshaw_graph :active,.rickshaw_graph:focus,.rickshaw_graph :focus{cursor:crosshair!important}.rickshaw_graph .detail .x_label{display:none}.rickshaw_graph .detail .item{line-height:1.4;padding:.5em}.detail_swatch{display:inline-block;width:10px;height:10px;margin:0 4px 0 0}.rickshaw_graph .detail .date{color:#a0a0a0}.input-io .total{color:#b8b8b8}.input-list .static-fields{margin-top:10px;margin-left:3px}.input-list .static-fields ul{margin:0;padding:0}.input-list .static-fields ul .remove-static-field{margin-left:5px}.field-graph-container{padding-bottom:35px}.field-graph-container .dropdown-menu a.selected{font-weight:700}.field-graph-container .type-description{color:#bbb;font-size:11px}.field-graph-container .field-graph-components{margin-top:10px;margin-right:12px}.field-graph-container .field-graph{margin-left:40px;margin-bottom:25px}.field-graph-container .field-graph-y-axis{float:left;height:200px;width:40px}#field-graphs .spinner{margin-bottom:10px;text-align:center}.sources.overlay{background-color:#aaa;height:200px;line-height:200px;opacity:.2;position:absolute;text-align:center;font-size:50px}ul.index-list{margin-left:25px;margin-top:5px;list-style-type:square}.metric-list{padding:0}.metric-list li{margin-bottom:5px}.metric-list li .prefix{color:#aaa}.metric-list li .name{font-size:13px;font-family:monospace;word-break:break-all}.metric-list li .metric{margin-left:10px;padding:10px}.metric-list li .metric h3{margin-bottom:5px}.metric-list dl{margin-top:0;margin-bottom:0}.metrics-filter{margin-bottom:15px!important}dl.metric-def dt{float:left}dl.metric-timer dd{margin-left:125px}dl.metric-meter dd{margin-left:95px}dl.metric-counter dd,dl.metric-gauge dd{margin-left:80px}dl.metric-histogram dd{margin-left:125px}.metric-list li .name .open:hover{text-decoration:none}#user-list th.user-type{width:50px}td.centered{text-align:center}td.limited{max-width:180px;overflow:hidden;text-overflow:ellipsis}.dashboard{color:#333;height:100%;margin:0;width:100%}.dashboard .widget{height:inherit;margin:0;padding:15px}.dashboard .widget .widget-top{position:relative;margin-bottom:-15px;top:-5px;font-size:11px;line-height:11px}.dashboard .widget .controls{position:relative;left:-3px}.dashboard .widget .reloading{margin-right:2px;font-weight:700;color:#0085a7;display:none}.dashboard .widget .loading-failed{color:#ff4646!important}.dashboard .widget .controls{display:none}.datatable-badge{border-radius:2px;display:inline-block;padding:5px;vertical-align:baseline}.tooltip .tooltip-inner{max-width:300px}.tooltip .tooltip-inner .datapoint-info{text-align:left}.tooltip .tooltip-inner .datapoint-info .date{color:#e3e5e5}.dashboard .widget .dc-chart{float:none}.dashboard .widget .widget-title{font-size:18px;height:25px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dashboard .widget .load-error{color:#ff3b00;margin-right:5px}.dashboard .widget .widget-update-info{text-align:left;float:left;font-size:11px;position:absolute;bottom:10px;width:130px}.dashboard .widget .configuration dt{text-transform:capitalize}.dashboard .widget svg{overflow:hidden}.dashboard .widget .quickvalues-visualization{overflow:auto}.dashboard .widget .quickvalues-graph{text-align:center}.dashboard .widget .graph.scatterplot path.line{display:none}.dashboard .widget .actions{position:absolute;right:15px;bottom:10px}.dashboard .widget .actions div{display:inline-block;margin-left:5px}.dashboard .widget .actions button{padding:0 5px}.dashboard .widget .not-available{font-size:70px}.dashboard .widget .loading,.dashboard .widget .not-available{line-height:100px;text-align:center}.dashboard .widget .loading .spinner,.dashboard .widget .not-available .spinner{vertical-align:middle}.configuration-field-optional{margin-left:5px;font-size:11px}.message-result-fields-range{font-size:11px}.message-result-fields-set{margin-bottom:10px}.message-result-fields-set .btn-mini{padding-top:1px}.index-description{margin-bottom:7px}.index-description .index-info,.index-description .index-info dl{margin-top:5px}.index-details{margin-left:5px}.index-label{vertical-align:text-top}.index-label .label{margin-right:5px}.index-more-actions{font-size:90%;margin-left:5px}.shard-meters{margin-top:10px}.shard-meters dl{margin-bottom:0;margin-top:0}.shard-meters dl dt{float:left}.shard-meters dl dd{margin-left:65px}.shards{margin:0;padding:0;margin-top:5px}.shard-routing .shards .shard{padding:10px;margin:5px;width:50px;float:left;text-align:center}.shard-routing .shards .shard-started{background-color:#dff0d8}.shard-routing .shards .shard-relocating{background-color:#de9df4}.shard-routing .shards .shard-initializing{background-color:#f4ddbc}.shard-routing .shards .shard-unassigned{background-color:#c3c3c3}.shard-routing .shards .shard-primary .id{font-weight:700;margin-bottom:3px;border-bottom:1px solid #000}.shard-routing .description{font-size:11px;margin-top:2px;margin-left:6px}.node-buffer-usage{margin-top:10px;margin-bottom:7px}.journal-details-usage .progress-bar,.node-buffer-usage .progress-bar{text-shadow:0 1px 2px rgba(0,0,0,.4),2px -1px 3px hsla(0,0%,100%,.5)}.journal-details-usage .progress-bar span,.node-buffer-usage .progress-bar span{margin-left:1px}.system-system dt{float:left}.system-system dd{margin-left:75px}dl.system-journal{margin-top:5px;margin-bottom:0}.system-journal dt{float:left}.system-journal dd{margin-left:120px}dl.system-dl{margin:0}.system-dl dt{float:left;clear:left}.system-dl dd{margin-left:180px}.system-rest dt{float:left}.system-rest dd{margin-left:120px}.closed-indices{cursor:pointer}.closed-indices ul{margin-top:5px;list-style-type:square;margin-left:25px}#streamrule-form-modal .well{font-family:Open Sans,sans-serif!important}.search-help{margin:0 5px;line-height:34px}.no-widgets{margin-top:15px}table .dc-table-column{word-break:break-all}.quickvalues-table th,.sources th{background-color:#333;color:#fff;font-weight:400}.quickvalues-table .dc-table-column._3,.sources .dc-table-column._3{padding-right:0;text-align:right}.dynatable-per-page-label,.dynatable-search{font-size:14px}.dynatable-per-page select,.dynatable-search input{position:relative;top:3px;margin-left:3px}.dynatable-pagination-links li:first-child{display:none}.field-graph-query-container{position:relative;padding-left:10px}.field-graph-query{font-family:monospace;color:#9da096}.field-graph-container .reposition-handle{cursor:move}.field-graph-container .merge-hint{text-align:center;position:relative;top:-115px;margin-bottom:-21px;display:none;z-index:2000}.field-graph-container .merge-hint span{padding:15px 50px;font-size:15px;color:#fff}.field-graph-container .merge-drop-ready{background-color:#000}.parse-error{background-color:#f2dede;color:#a94442;padding-left:2px;padding-right:2px}.field-graph-query-color{width:8px;height:8px;display:inline-block;margin-right:1px}.messages th i.sort-order-desc{position:relative;top:-1px}.messages th i.sort-order-item{margin-right:2px;color:#222}.messages th:hover i.sort-order-item,.messages th i.sort-order-active{color:#fff}.add-alert-type{margin-bottom:0}.alert-type-form{font-size:14px;margin-top:15px}.alert-type-form .help-text{color:#939393;font-size:12px;margin-left:10px}.alert-type-form input[type=number],.alert-type-form input[type=text],.alert-type-form select{padding:0 0 0 5px;height:25px;vertical-align:baseline;width:50px}.alert-type-form input[type=text]{width:200px}.alert-type-form input.alert-type-title{width:300px}.add-alert-destination-type{margin-bottom:0}.alert-destination-form{display:none;font-size:14px;margin-top:15px}#add-alert-receivers{margin-top:15px}#add-alert-receivers span.twitter-typeahead{vertical-align:middle}.alert-receivers{padding-left:10px}.alerts{margin-top:15px}.alerts tbody{border:none}.alerts th{background-color:#333;color:#fff;font-weight:400}.alerts th a{display:block}.alerts th a:focus{color:#fff}li.alert-condition-item:not(:last-child){margin-bottom:10px;border-bottom:1px solid #ececec}.alert-condition .in-grace{color:#8c8e86}.alert-conditions hr{margin-top:7px;margin-bottom:7px}.dashboardeditpermissions,.streameditpermissions{margin-top:10px}.query-exception{margin-bottom:0}input.required-input-highlight{border-color:#e9322d;color:#e9322d}.widget .replay-link{color:#000}.widget .replay-link:hover{text-decoration:none}.zeroclipboard-is-hover{color:#333;background-color:#d7d9d9;border-color:#c3c8c8;cursor:move}.zeroclipboard-is-active{color:#1a5273}.result-highlight-colored{background-color:#ffec3d}.result-highlight-control label{display:inline-block;font-size:1em;line-height:20px}.node-state{cursor:help}.node-row .dropdown-menu a.selected{font-weight:700}#result-graph-timeline .annotation .content{left:-120px}#result-graph-timeline .annotation .content:before{left:117px}.annotation .content{margin-bottom:10px;cursor:auto!important}.xtrc-order-handle{cursor:move;margin-right:2px}.xtrc-order-active{background-color:#00a5cf}textarea.textarea-xlarge{width:95%;height:300px}.extractor-json{font-family:monospace;font-size:13px}.scrollable-table{width:100%;overflow:auto}.well.configuration-well{margin-top:5px;margin-bottom:0;padding:9px;font-family:monospace;word-wrap:break-word}.well.configuration-well>ul{padding:0;margin:0}.well.react-configuration-well{white-space:pre-line}.well.configuration-well .configuration-section{margin-bottom:10px}.well.configuration-well li:not(:last-child){margin-bottom:5px}.well.configuration-well .key{display:inline}.alert-callback .well.configuration-well .key{display:inline-block;min-width:140px;vertical-align:top}.well.configuration-well .value{display:inline}.alert-callback .well.configuration-well .value{display:inline-block}.card{padding:12px 20px;font-size:15px;font-weight:300;background-color:#fafafa;border:1px solid #ececec;border-radius:2px;margin:10px}.card h1{margin-bottom:5px;font-size:28px;line-height:1;letter-spacing:-1}.card label{font-weight:inherit}.card div{margin-left:0}.card ul li{margin-bottom:5px}.card.info p{margin:0}.card .configuration-bundles .bundle-preview{border:1px solid #ececec;border-radius:2px;background-color:#fff;padding:20px}.card .configuration-bundles .bundle-preview pre{background-color:#f5f5f5}.configuration-bundles .accordion{background-color:#fff;border:1px solid #ececec;border-radius:2px}.configuration-bundles .accordion-group{margin:0;border:0;border-bottom:1px solid #ececec;border-radius:0;-webkit-border-radius:0;-moz-border-radius:0}.configuration-bundles .accordion-inner{padding-left:30px}.configuration-bundles .accordion-inner .upload input[type=file]{height:32px}.configuration-bundles .bundle-preview{background-color:#f5f5f5;border:1px solid #e3e3e3;border-radius:3px;box-shadow:inset 0 1px 1px rgba(0,0,0,.05);padding:10px}.configuration-bundles .bundle-preview .preview-actions form{display:inline-block;margin-left:20px;margin-bottom:0}.configuration-bundles .bundle-preview .preview-actions form:first-child{margin-left:0}.configuration-bundles .bundle-preview pre{background-color:#cfcfcf}.configuration-bundles .bundle-preview dd{margin-bottom:10px}.bundle-preview ol,.bundle-preview ul{margin:0 0 10px 25px}.bundle-preview ul{list-style-type:circle}.build-content-pack button.select-all{margin-top:7px;padding:0}#react-configuration-bundles{font-size:14px;font-weight:400;line-height:20px;margin-top:15px}.form-inline label{margin-right:10px}.form-horizontal .help-block.help-standalone{line-height:20px;margin-top:7px}.form-horizontal.pull-left label.control-label{width:auto}.form-horizontal.pull-left div.controls{display:inline-block;float:right;margin-left:20px}.sources-title{height:22px;line-height:22px;vertical-align:top}.sources-filtering{margin-top:10px}.sources-filtering .control-group{margin-bottom:0}#dc-sources-pie-chart svg{margin-top:20px}#dc-sources-pie-chart g.pie-slice.highlighted{fill-opacity:.8}.form-horizontal .control-group .controls .checkbox-control:first-child{padding-top:5px}.form-horizontal .control-group .controls .checkbox-control label.checkbox{display:inline-block}.form-horizontal .control-group .controls .checkbox-control span.help-inline{vertical-align:top}form.extractor-form .control-group label{display:inline-block}.fa-mini{font-size:10px}.configuration-bundles input[type=file]{line-height:inherit!important}table td.actions,table th.actions{width:110px}#grok-pattern-list th.name{min-width:200px}#grok-pattern-list td{word-break:break-all}.btn-text{font-family:Open Sans,sans-serif;font-size:12px;padding:0;vertical-align:baseline}.message-loader-form input{margin-right:5px}ul.streams{padding:0;margin:0}ul.streams li.stream{display:block;padding:15px 0}ul.streams li.stream:not(:last-child){border-bottom:1px solid #6dcff6}ul.streams li.stream .stream-data{margin-top:8px}ul.streams li.stream .stream-data .stream-actions{position:relative;float:right;right:0;bottom:20px}ul.streams li.stream .stream-data .stream-actions form.action-form{display:inline-block}ul.streams li.stream .stream-data .stream-actions .btn-delete{margin-left:15px;margin-right:15px}ul.streams li.stream .stream-data .stream-actions .btn-delete.last{margin-right:0}ul.streams li.stream .stream-description{margin-bottom:3px}ul.streams li.stream .streamrules-details{margin-top:15px}ul.streams li.stream .streamrules-list{margin:0;padding:0}ul.streams li.stream .streamrules-list li{margin-bottom:3px}.stream-stopped{position:relative;top:-3px}ul.entity-list{padding:0;margin:0}ul.entity-list li.entity-list-item{display:block;padding:15px 0}ul.entity-list li.entity-list-item h2 .label{margin-left:5px;line-height:2;vertical-align:bottom}ul.entity-list li.entity-list-item .item-description{min-height:17px;margin:5px 0}ul.entity-list li.entity-list-item .item-actions>.btn,ul.entity-list li.entity-list-item .item-actions>.btn-group,ul.entity-list li.entity-list-item .item-actions>span>.btn{margin-left:5px;margin-bottom:5px}ul.entity-list li.entity-list-item:not(:last-child){border-bottom:1px solid #6dcff6}.breadcrumb{margin-bottom:10px!important;margin-left:-15px;margin-right:-15px}.graylog-node{margin-top:15px}.graylog-node-title{margin-top:8px}dl.graylog-node-state{margin-top:0;margin-bottom:0}dl.graylog-node-state dt{float:left}dl.graylog-node-state dd{margin-left:180px}.graylog-node .graylog-node-heap{margin-top:10px}.graylog-node .graylog-node-heap .progress{height:25px;margin-bottom:5px}span.blob{display:inline-block;width:9px;height:9px;margin-left:2px}#message-table-paginator-top{width:90%}#message-table-paginator-top ul{margin:0}#message-table-paginator-bottom{height:75px;margin-top:20px}#message-table-paginator-bottom nav{background-color:hsla(0,0%,100%,.9);border-top:1px solid #ddd;margin-left:-10px}#message-table-paginator-bottom .affix{z-index:3;bottom:1px}#message-table-paginator-bottom .affix-bottom{position:absolute}#message-table-paginator-bottom .affix-bottom nav{border:0}.search-results-table{border-left:2px solid #e3e3e3;margin-left:-13px;overflow-y:auto}.search-results-table>div{border-left:1px solid #d1d1d1}.messages-container{padding-right:13px;width:100%}table.messages{position:relative;font-size:11px;margin-top:15px;margin-bottom:60px;border-collapse:collapse;padding-left:13px;width:100%;word-break:break-all}table.messages thead>tr{color:#fff}table.messages td,table.messages th{position:relative;left:13px}table.messages>thead th{border:0;font-size:11px;font-weight:400;background-color:#222;white-space:nowrap}table.messages tr{border:0!important}table.messages tbody.message-group{border-top:0}table.messages tbody.message-group-toggled{border-left:7px solid #16ace3}table.messages tbody.message-highlight{border-left:7px solid #8dc63f}table.messages tr.fields-row{cursor:pointer}table.messages tr.fields-row td{padding-top:10px}table.messages tr.message-row td{border-top:0;padding-top:0;padding-bottom:5px;font-family:monospace;color:#16ace3}table.messages tr.message-row{margin-bottom:5px;cursor:pointer}table.messages tr.message-row .message-wrapper{line-height:1.5em;white-space:pre-line;max-height:6em;overflow:hidden}table.messages tr.message-row .message-wrapper:after{content:"";text-align:right;position:absolute;width:99%;left:5px;top:4.5em;height:1.5em;background:linear-gradient(180deg,hsla(0,0%,100%,0),#fff 95%)}table.messages tr.message-detail-row{display:none}table.messages tr.message-detail-row td{padding-top:5px;border-top:0}table.messages tr.message-detail-row .row{margin-right:0}table.messages tr.message-detail-row div[class*=col-]{padding-right:0}.message-details-title{height:30px}.message-details-title a{color:#000}.message-details-title .label{font-size:50%;line-height:200%;margin-left:5px;vertical-align:bottom}dl.message-details{margin-top:10px;margin-bottom:0}dl.message-details dt{font-weight:700;margin-left:1px}dl.message-details dd{margin-bottom:5px;padding-bottom:5px;margin-left:1px}dl.message-details-fields span:not(:last-child) dd{border-bottom:1px solid #ececec}dl.message-details-fields dd{white-space:pre-wrap}dl.message-details-fields .field-value{font-family:monospace}dl.message-details-fields dd.message-field .field-value{max-height:500px;overflow:auto}dl.message-details dd.stream-list ul{list-style-type:disc;padding-left:25px}dl.message-details dd.stream-list ul li{margin-top:3px}dl.message-details dd div.message-field-actions{padding-left:10px;position:relative;top:-10px}.greyed-out{filter:alpha(opacity=50);opacity:.5;-moz-opacity:.5;z-index:20}div#navigation-bar ul.dropdown-menu li a{font-size:12px}div#navigation-bar ul.dropdown-menu{padding-top:10px;padding-bottom:10px}div#navigation-bar ul.dropdown-menu li{padding:2px 2px 2px 0}div#navigation-bar ul.dropdown-menu li.divider{padding:0}.indexer-failures-body select.dynatable-per-page-select{position:relative;top:0}table.indexer-failures{margin-top:10px}.graylog-node-heap .progress,.journal-details-usage .progress,.node-buffer-usage .progress,div.row-sm{margin-bottom:5px}.journal-details-usage .progress{margin-top:10px}.journal-details-usage .progress .progress-bar{min-width:3em}.progress-bar{max-width:100%}.graylog-node-heap p{margin-bottom:0}.graylog-node-heap .used-memory{background-color:#9e1f63}.graylog-node-heap .committed-memory{background-color:#f7941e}.graylog-node-heap .max-memory{background-color:#f5f5f5}dl.system-rest,dl.system-system{margin-top:5px;margin-bottom:0}.table-sm{margin-bottom:0}.graylog-input{margin-top:15px;border-bottom:1px}.graylog-input-actions{margin-top:5px;text-align:right}.graylog-input-subtitle{margin-top:5px;margin-bottom:0}.graylog-input-error{position:relative;top:-4px;margin:0;padding:7px 7px 7px 10px}.graylog-input-error a{font-weight:400}.graylog-input-error i.master-node{display:none}.graylog-input-metrics{margin-top:5px}.react-input-metrics{margin-top:5px;font-size:13px}.input-io .value{font-family:monospace}.input-io .persec{margin-left:3px}.input-io .channel-direction{position:relative;left:-1px}.input-io .channel-direction-down{position:relative;top:1px}.input-io .channel-direction-up{position:relative;top:-1px}#field-statistics th{cursor:pointer}.alert-type-form{line-height:26px}.alert-type-form label.radio-inline{margin-right:0;vertical-align:baseline}.alert-type-form .radio-inline input[type=radio]{position:relative;margin-left:-20px;margin-right:5px}.alert-type-form div.well{margin-bottom:0}.alert-type-form .threshold-type{margin:0 5px;vertical-align:baseline}.form-inline .alert-type-form .form-control{vertical-align:baseline}.filter .form-inline .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.no-alarm-callbacks{margin-top:10px}div.alert-callback hr{margin-top:10px;margin-bottom:10px}div.alert-callbacks{margin-top:10px}.alarm-callbacks{padding:0}.alarm-callbacks li:not(:last-child){margin-bottom:10px;padding-bottom:10px;border-bottom:1px solid #ececec}.triggered-alerts .page-size{margin-top:-23px}.toggle-stream-button{width:8.5em}.threaddump{font-size:11px}.stream-rules-link{margin-left:5px}.modal-body .form-group{margin-bottom:5px}h2.extractor-title{margin-bottom:2px}p.failure-exception{margin-top:5px;margin-bottom:10px;color:#aaa}i.error-icon{position:relative;top:-3px}.support-sources ul{margin:0;padding:0;margin-top:5px}.failure-object{padding:6px 10px 10px;margin:10px 0 0;font-family:monospace}.stream-description .fa-cube{margin-right:5px}.content-head .btn-lg{font-size:16px}.stream-loader{margin-top:5px}.streamrules-list{margin:0;padding:0}#field-statistics table{margin-top:10px}.quickvalues-visualization{padding-top:15px}.quickvalues-visualization .dc-chart{float:none}.quickvalues-visualization .col-md-8{padding-right:0}.form-inline .typeahead-wrapper{display:inline-block;vertical-align:middle;width:auto}.list-group-header{background-color:#f1f2f2;padding:0 15px}.list-group-header .form-group{margin:0}.form-group-inline{display:inline-block;margin:0}ul.pill-list,ul.tag-list{display:inline-block;list-style:none;padding:0;position:relative}ul.pill-list{margin-left:10px;vertical-align:middle}ul.pill-list>li,ul.tag-list>li{display:inline-block;vertical-align:middle}.tags-input ul.tag-list>li{padding-top:10px;padding-bottom:5px}.pill,.tag{font-size:14px;margin-right:5px}.pill{color:#333;background-color:#e3e5e5;padding:6px 12px}.pill-remove,.tag-remove{color:#333;cursor:pointer;margin-left:5px}.pill-remove:before,.tag-remove:before{content:"\\D7"}.streamrule-connector-type-form label{font-size:12px}.streamrule-connector-type-form{margin-top:10px;margin-bottom:13px}.streamrule-connector-type-form .form-group{margin-bottom:5px}.streamrule-connector-type-form .radio{margin-top:0;margin-bottom:0}.streamrule-connector-type-form input[type=radio]{margin-top:2px;margin-bottom:2px}#react-gettingstarted{margin-left:-19px;margin-right:-19px;margin-top:-4px}#react-gettingstarted iframe{height:1000px}.sortable-list-cursor{cursor:move}.sortable-list .dragging{opacity:.5}.sortable-list .over{border:1px dashed #8c8e86}.sortable-list .sortable-list-item:first-child .list-group-item{border-top-right-radius:4px;border-top-left-radius:4px}.sortable-list .sortable-list-item:last-child .list-group-item{border-bottom-right-radius:4px;border-bottom-left-radius:4px;margin-bottom:0}.sortable-list .list-group-item:first-child{border-top-right-radius:0;border-top-left-radius:0}.sortable-list .list-group-item:last-child{border-bottom-right-radius:0;border-bottom-left-radius:0}.field-analyzer{margin-left:0!important;margin-top:10px!important}.save-button-margin{margin-right:5px}.form-control.message-id-input{width:300px}',""])}]); //# sourceMappingURL=app.746b58959a350aa1ebcf.js.map