!function(e){var t={};function n(g){if(t[g])return t[g].exports;var r=t[g]={i:g,l:!1,exports:{}};return e[g].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,g){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:g})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var g=Object.create(null);if(n.r(g),Object.defineProperty(g,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(g,r,function(t){return e[t]}.bind(null,r));return g},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=11)}([function(e,t,n){e.exports=n(12)()},function(e,t){e.exports=React},function(e,t,n){var g;
/*!
  Copyright (c) 2017 Jed Watson.
  Licensed under the MIT License (MIT), see
  http://jedwatson.github.io/classnames
*/
/*!
  Copyright (c) 2017 Jed Watson.
  Licensed under the MIT License (MIT), see
  http://jedwatson.github.io/classnames
*/
!function(){"use strict";var n={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var g=arguments[t];if(g){var a=typeof g;if("string"===a||"number"===a)e.push(g);else if(Array.isArray(g)&&g.length){var C=r.apply(null,g);C&&e.push(C)}else if("object"===a)for(var A in g)n.call(g,A)&&g[A]&&e.push(A)}}return e.join(" ")}void 0!==e&&e.exports?(r.default=r,e.exports=r):void 0===(g=function(){return r}.apply(t,[]))||(e.exports=g)}()},function(e,t){e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n=function(e,t){var n=e[1]||"",g=e[3];if(!g)return n;if(t&&"function"==typeof btoa){var r=function(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */"}(g),a=g.sources.map(function(e){return"/*# sourceURL="+g.sourceRoot+e+" */"});return[n].concat(a).concat([r]).join("\n")}return[n].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+n+"}":n}).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var g={},r=0;r<this.length;r++){var a=this[r][0];"number"==typeof a&&(g[a]=!0)}for(r=0;r<e.length;r++){var C=e[r];"number"==typeof C[0]&&g[C[0]]||(n&&!C[2]?C[2]=n:n&&(C[2]="("+C[2]+") and ("+n+")"),t.push(C))}},t}},function(e,t,n){var g={},r=function(e){var t;return function(){return void 0===t&&(t=e.apply(this,arguments)),t}}(function(){return window&&document&&document.all&&!window.atob}),a=function(e){var t={};return function(e){return void 0===t[e]&&(t[e]=function(e){return document.querySelector(e)}.call(this,e)),t[e]}}(),C=null,A=0,i=[],I=n(24);function o(e,t){for(var n=0;n<e.length;n++){var r=e[n],a=g[r.id];if(a){a.refs++;for(var C=0;C<a.parts.length;C++)a.parts[C](r.parts[C]);for(;C<r.parts.length;C++)a.parts.push(h(r.parts[C],t))}else{var A=[];for(C=0;C<r.parts.length;C++)A.push(h(r.parts[C],t));g[r.id]={id:r.id,refs:1,parts:A}}}}function s(e,t){for(var n=[],g={},r=0;r<e.length;r++){var a=e[r],C=t.base?a[0]+t.base:a[0],A={css:a[1],media:a[2],sourceMap:a[3]};g[C]?g[C].parts.push(A):n.push(g[C]={id:C,parts:[A]})}return n}function u(e,t){var n=a(e.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var g=i[i.length-1];if("top"===e.insertAt)g?g.nextSibling?n.insertBefore(t,g.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),i.push(t);else{if("bottom"!==e.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");n.appendChild(t)}}function c(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e);var t=i.indexOf(e);t>=0&&i.splice(t,1)}function l(e){var t=document.createElement("style");return e.attrs.type="text/css",f(t,e.attrs),u(e,t),t}function f(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}function h(e,t){var n,g,r,a;if(t.transform&&e.css){if(!(a=t.transform(e.css)))return function(){};e.css=a}if(t.singleton){var i=A++;n=C||(C=l(t)),g=d.bind(null,n,i,!1),r=d.bind(null,n,i,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(e){var t=document.createElement("link");return e.attrs.type="text/css",e.attrs.rel="stylesheet",f(t,e.attrs),u(e,t),t}(t),g=function(e,t,n){var g=n.css,r=n.sourceMap,a=void 0===t.convertToAbsoluteUrls&&r;(t.convertToAbsoluteUrls||a)&&(g=I(g));r&&(g+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var C=new Blob([g],{type:"text/css"}),A=e.href;e.href=URL.createObjectURL(C),A&&URL.revokeObjectURL(A)}.bind(null,n,t),r=function(){c(n),n.href&&URL.revokeObjectURL(n.href)}):(n=l(t),g=function(e,t){var n=t.css,g=t.media;g&&e.setAttribute("media",g);if(e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}.bind(null,n),r=function(){c(n)});return g(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;g(e=t)}else r()}}e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||(t.singleton=r()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=s(e,t);return o(n,t),function(e){for(var r=[],a=0;a<n.length;a++){var C=n[a];(A=g[C.id]).refs--,r.push(A)}e&&o(s(e,t),t);for(a=0;a<r.length;a++){var A;if(0===(A=r[a]).refs){for(var i=0;i<A.parts.length;i++)A.parts[i]();delete g[A.id]}}}};var p=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}();function d(e,t,n,g){var r=n?"":g.css;if(e.styleSheet)e.styleSheet.cssText=p(t,r);else{var a=document.createTextNode(r),C=e.childNodes;C[t]&&e.removeChild(C[t]),C.length?e.insertBefore(a,C[t]):e.appendChild(a)}}},function(e,t,n){var g,r=n(14),a=n(15),C=n(17),A=100,i=/(\+|\-|\*|\\|[^a-z]|)(\s*)(\()/g;e.exports=function(e,t){function n(e,a,I){if(g++>A)throw g=0,new Error("Call stack overflow for "+I);if(""===e)throw new Error(a+"(): '"+I+"' must contain a non-whitespace string");var o=function(e){var t=[],n=[],g=/[\.0-9]([%a-z]+)/gi,r=g.exec(e);for(;r;)r&&r[1]&&(-1===n.indexOf(r[1].toLowerCase())&&(t.push(r[1]),n.push(r[1].toLowerCase())),r=g.exec(e));return t}(e=function(e,t){var g,a="",C=e=e.replace(/((?:\-[a-z]+\-)?calc)/g,"");for(;g=i.exec(C);){g[0].index>0&&(a+=C.substring(0,g[0].index));var A=r("(",")",C.substring([0].index));if(""===A.body)throw new Error("'"+e+"' must contain a non-whitespace string");var I=n(A.body,"",t);a+=A.pre+I,C=A.post}return a+C}(e,I));if(o.length>1||e.indexOf("var(")>-1)return a+"("+e+")";var s=o[0]||"";"%"===s&&(e=e.replace(/\b[0-9\.]+%/g,function(e){return.01*parseFloat(e.slice(0,-1))}));var u,c=e.replace(new RegExp(s,"gi"),"");try{u=C.eval(c)}catch(t){return a+"("+e+")"}return"%"===s&&(u*=100),(a.length||"%"===s)&&(u=Math.round(u*t)/t),u+=s}return g=0,t=Math.pow(10,void 0===t?5:t),e=e.replace(/\n+/g," "),a(e,/((?:\-[a-z]+\-)?calc)\(/,n)}},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";(function(e){var n=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some(function(e,g){return e[0]===t&&(n=g,!0)}),n}return function(){function t(){this.__entries__=[]}var n={size:{configurable:!0}};return n.size.get=function(){return this.__entries__.length},t.prototype.get=function(t){var n=e(this.__entries__,t),g=this.__entries__[n];return g&&g[1]},t.prototype.set=function(t,n){var g=e(this.__entries__,t);~g?this.__entries__[g][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,g=e(n,t);~g&&n.splice(g,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,g=this.__entries__;n<g.length;n+=1){var r=g[n];e.call(t,r[1],r[0])}},Object.defineProperties(t.prototype,n),t}()}(),g="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,r=void 0!==e&&e.Math===Math?e:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),a="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(r):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)},C=2,A=["top","right","bottom","left","width","height","size","weight"],i="undefined"!=typeof MutationObserver,I=function(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,g=!1,r=0;function A(){n&&(n=!1,e()),g&&I()}function i(){a(A)}function I(){var e=Date.now();if(n){if(e-r<C)return;g=!0}else n=!0,g=!1,setTimeout(i,t);r=e}return I}(this.refresh.bind(this),20)};I.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},I.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},I.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},I.prototype.updateObservers_=function(){var e=this.observers_.filter(function(e){return e.gatherActive(),e.hasActive()});return e.forEach(function(e){return e.broadcastActive()}),e.length>0},I.prototype.connect_=function(){g&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),i?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},I.prototype.disconnect_=function(){g&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},I.prototype.onTransitionEnd_=function(e){var t=e.propertyName;void 0===t&&(t=""),A.some(function(e){return!!~t.indexOf(e)})&&this.refresh()},I.getInstance=function(){return this.instance_||(this.instance_=new I),this.instance_},I.instance_=null;var o=function(e,t){for(var n=0,g=Object.keys(t);n<g.length;n+=1){var r=g[n];Object.defineProperty(e,r,{value:t[r],enumerable:!1,writable:!1,configurable:!0})}return e},s=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||r},u=d(0,0,0,0);function c(e){return parseFloat(e)||0}function l(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return t.reduce(function(t,n){return t+c(e["border-"+n+"-width"])},0)}function f(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return u;var g=s(e).getComputedStyle(e),r=function(e){for(var t={},n=0,g=["top","right","bottom","left"];n<g.length;n+=1){var r=g[n],a=e["padding-"+r];t[r]=c(a)}return t}(g),a=r.left+r.right,C=r.top+r.bottom,A=c(g.width),i=c(g.height);if("border-box"===g.boxSizing&&(Math.round(A+a)!==t&&(A-=l(g,"left","right")+a),Math.round(i+C)!==n&&(i-=l(g,"top","bottom")+C)),!function(e){return e===s(e).document.documentElement}(e)){var I=Math.round(A+a)-t,o=Math.round(i+C)-n;1!==Math.abs(I)&&(A-=I),1!==Math.abs(o)&&(i-=o)}return d(r.left,r.top,A,i)}var h="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof s(e).SVGGraphicsElement}:function(e){return e instanceof s(e).SVGElement&&"function"==typeof e.getBBox};function p(e){return g?h(e)?function(e){var t=e.getBBox();return d(0,0,t.width,t.height)}(e):f(e):u}function d(e,t,n,g){return{x:e,y:t,width:n,height:g}}var m=function(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=d(0,0,0,0),this.target=e};m.prototype.isActive=function(){var e=p(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},m.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e};var y=function(e,t){var n=function(e){var t=e.x,n=e.y,g=e.width,r=e.height,a="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,C=Object.create(a.prototype);return o(C,{x:t,y:n,width:g,height:r,top:n,right:t+g,bottom:r+n,left:t}),C}(t);o(this,{target:e,contentRect:n})},v=function(e,t,g){if(this.activeObservations_=[],this.observations_=new n,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=g};v.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof s(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new m(e)),this.controller_.addObserver(this),this.controller_.refresh())}},v.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof s(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},v.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},v.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach(function(t){t.isActive()&&e.activeObservations_.push(t)})},v.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map(function(e){return new y(e.target,e.broadcastRect())});this.callback_.call(e,t,e),this.clearActive()}},v.prototype.clearActive=function(){this.activeObservations_.splice(0)},v.prototype.hasActive=function(){return this.activeObservations_.length>0};var b="undefined"!=typeof WeakMap?new WeakMap:new n,x=function(e){if(!(this instanceof x))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var t=I.getInstance(),n=new v(e,t,this);b.set(this,n)};["observe","unobserve","disconnect"].forEach(function(e){x.prototype[e]=function(){return(t=b.get(this))[e].apply(t,arguments);var t}});var _=void 0!==r.ResizeObserver?r.ResizeObserver:x;t.a=_}).call(this,n(6))},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return Re});var g=n(0),r=n.n(g),a=n(1),C=n.n(a),A=n(5),i=n.n(A);function I(e,t){for(var n=0;n<t.length;n++){var g=t[n];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(e,g.key,g)}}function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var g in n)Object.prototype.hasOwnProperty.call(n,g)&&(e[g]=n[g])}return e}).apply(this,arguments)}function s(e){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e,t){if(null==e)return{};var n,g,r=function(e,t){if(null==e)return{};var n,g,r={},a=Object.keys(e);for(g=0;g<a.length;g++)n=a[g],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(g=0;g<a.length;g++)n=a[g],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function l(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var f="undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:{},h="object"==typeof f&&f&&f.Object===Object&&f,p="object"==typeof self&&self&&self.Object===Object&&self,d=h||p||Function("return this")(),m=d.Symbol,y=Object.prototype,v=y.hasOwnProperty,b=y.toString,x=m?m.toStringTag:void 0;var _=function(e){var t=v.call(e,x),n=e[x];try{e[x]=void 0}catch(e){}var g=b.call(e);return t?e[x]=n:delete e[x],g},w=Object.prototype.toString;var T=function(e){return w.call(e)},O="[object Null]",k="[object Undefined]",P=m?m.toStringTag:void 0;var N=function(e){return null==e?void 0===e?k:O:P&&P in Object(e)?_(e):T(e)};var E=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},M="[object AsyncFunction]",R="[object Function]",S="[object GeneratorFunction]",j="[object Proxy]";var D=function(e){if(!E(e))return!1;var t=N(e);return t==R||t==S||t==M||t==j},z=d["__core-js_shared__"],W=function(){var e=/[^.]+$/.exec(z&&z.keys&&z.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();var L=function(e){return!!W&&W in e},F=Function.prototype.toString;var Z=function(e){if(null!=e){try{return F.call(e)}catch(e){}try{return e+""}catch(e){}}return""},G=/^\[object .+?Constructor\]$/,U=Function.prototype,V=Object.prototype,Y=U.toString,K=V.hasOwnProperty,q=RegExp("^"+Y.call(K).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var H=function(e){return!(!E(e)||L(e))&&(D(e)?q:G).test(Z(e))};var B=function(e,t){return null==e?void 0:e[t]};var Q=function(e,t){var n=B(e,t);return H(n)?n:void 0},X=Q(Object,"create");var J=function(){this.__data__=X?X(null):{},this.size=0};var $=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},ee="__lodash_hash_undefined__",te=Object.prototype.hasOwnProperty;var ne=function(e){var t=this.__data__;if(X){var n=t[e];return n===ee?void 0:n}return te.call(t,e)?t[e]:void 0},ge=Object.prototype.hasOwnProperty;var re=function(e){var t=this.__data__;return X?void 0!==t[e]:ge.call(t,e)},ae="__lodash_hash_undefined__";var Ce=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=X&&void 0===t?ae:t,this};function Ae(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var g=e[t];this.set(g[0],g[1])}}Ae.prototype.clear=J,Ae.prototype.delete=$,Ae.prototype.get=ne,Ae.prototype.has=re,Ae.prototype.set=Ce;var ie=Ae;var Ie=function(){this.__data__=[],this.size=0};var oe=function(e,t){return e===t||e!=e&&t!=t};var se=function(e,t){for(var n=e.length;n--;)if(oe(e[n][0],t))return n;return-1},ue=Array.prototype.splice;var ce=function(e){var t=this.__data__,n=se(t,e);return!(n<0||(n==t.length-1?t.pop():ue.call(t,n,1),--this.size,0))};var le=function(e){var t=this.__data__,n=se(t,e);return n<0?void 0:t[n][1]};var fe=function(e){return se(this.__data__,e)>-1};var he=function(e,t){var n=this.__data__,g=se(n,e);return g<0?(++this.size,n.push([e,t])):n[g][1]=t,this};function pe(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var g=e[t];this.set(g[0],g[1])}}pe.prototype.clear=Ie,pe.prototype.delete=ce,pe.prototype.get=le,pe.prototype.has=fe,pe.prototype.set=he;var de=pe,me=Q(d,"Map");var ye=function(){this.size=0,this.__data__={hash:new ie,map:new(me||de),string:new ie}};var ve=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};var be=function(e,t){var n=e.__data__;return ve(t)?n["string"==typeof t?"string":"hash"]:n.map};var xe=function(e){var t=be(this,e).delete(e);return this.size-=t?1:0,t};var _e=function(e){return be(this,e).get(e)};var we=function(e){return be(this,e).has(e)};var Te=function(e,t){var n=be(this,e),g=n.size;return n.set(e,t),this.size+=n.size==g?0:1,this};function Oe(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var g=e[t];this.set(g[0],g[1])}}Oe.prototype.clear=ye,Oe.prototype.delete=xe,Oe.prototype.get=_e,Oe.prototype.has=we,Oe.prototype.set=Te;var ke=Oe,Pe="Expected a function";function Ne(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(Pe);var n=function(){var g=arguments,r=t?t.apply(this,g):g[0],a=n.cache;if(a.has(r))return a.get(r);var C=e.apply(this,g);return n.cache=a.set(r,C)||a,C};return n.cache=new(Ne.Cache||ke),n}Ne.Cache=ke;var Ee="__react_svg_text_measurement_id";var Me=Ne(function(e,t){try{var n=document.getElementById(Ee);if(!n){var g=document.createElementNS("http://www.w3.org/2000/svg","svg");g.style.width=0,g.style.height=0,g.style.position="absolute",g.style.top="-100%",g.style.left="-100%",(n=document.createElementNS("http://www.w3.org/2000/svg","text")).setAttribute("id",Ee),g.appendChild(n),document.body.appendChild(g)}return Object.assign(n.style,t),n.textContent=e,n.getComputedTextLength()}catch(e){return null}},function(e,t){return"".concat(e,"_").concat(JSON.stringify(t))}),Re=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=l(this,s(t).call(this,e))).state={wordsByLines:[]},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(t,a["Component"]),function(e,t,n){t&&I(e.prototype,t),n&&I(e,n)}(t,[{key:"componentWillMount",value:function(){this.updateWordsByLines(this.props,!0)}},{key:"componentWillReceiveProps",value:function(e){var t=this.props.children!==e.children||this.props.style!==e.style;this.updateWordsByLines(e,t)}},{key:"updateWordsByLines",value:function(e,t){if(e.width||e.scaleToFit){if(t){var n=e.children?e.children.toString().split(/\s+/):[];this.wordsWithComputedWidth=n.map(function(t){return{word:t,width:Me(t,e.style)}}),this.spaceWidth=Me(" ",e.style)}var g=this.calculateWordsByLines(this.wordsWithComputedWidth,this.spaceWidth,e.width);this.setState({wordsByLines:g})}else this.updateWordsWithoutCalculate(e)}},{key:"updateWordsWithoutCalculate",value:function(e){var t=e.children?e.children.toString().split(/\s+/):[];this.setState({wordsByLines:[{words:t}]})}},{key:"calculateWordsByLines",value:function(e,t,n){var g=this.props.scaleToFit;return e.reduce(function(e,r){var a=r.word,C=r.width,A=e[e.length-1];if(A&&(null==n||g||A.width+C+t<n))A.words.push(a),A.width+=C+t;else{var i={words:[a],width:C};e.push(i)}return e},[])}},{key:"render",value:function(){var e,t=this.props,n=t.dx,g=t.dy,r=t.textAnchor,a=t.verticalAnchor,A=t.scaleToFit,I=t.angle,s=t.lineHeight,u=t.capHeight,l=t.innerRef,f=c(t,["dx","dy","textAnchor","verticalAnchor","scaleToFit","angle","lineHeight","capHeight","innerRef"]),h=this.state.wordsByLines,p=f.x,d=f.y;switch(a){case"start":e=i()("calc(".concat(u,")"));break;case"middle":e=i()("calc(".concat((h.length-1)/2," * -").concat(s," + (").concat(u," / 2))"));break;default:e=i()("calc(".concat(h.length-1," * -").concat(s,")"))}var m=[];if(A&&h.length){var y=h[0].width,v=this.props.width/y,b=v,x=p-v*p,_=d-b*d;m.push("matrix(".concat(v,", 0, 0, ").concat(b,", ").concat(x,", ").concat(_,")"))}return I&&m.push("rotate(".concat(I,", ").concat(p,", ").concat(d,")")),m.length&&(f.transform=m.join(" ")),C.a.createElement("svg",{ref:l,x:n,y:g,fontSize:f.fontSize,style:{overflow:"visible"}},C.a.createElement("text",o({},f,{textAnchor:r}),h.map(function(t,n){return C.a.createElement("tspan",{x:p,dy:0===n?e:s,key:n},t.words.join(" "))})))}}]),t}();Re.defaultProps={x:0,y:0,dx:0,dy:0,lineHeight:"1em",capHeight:"0.71em",scaleToFit:!1,textAnchor:"start",verticalAnchor:"end"},Re.propTypes={scaleToFit:r.a.bool,angle:r.a.number,textAnchor:r.a.oneOf(["start","middle","end","inherit"]),verticalAnchor:r.a.oneOf(["start","middle","end"]),style:r.a.object,innerRef:r.a.func,x:r.a.oneOfType([r.a.number,r.a.string]),y:r.a.oneOfType([r.a.number,r.a.string]),dx:r.a.oneOfType([r.a.number,r.a.string]),dy:r.a.oneOfType([r.a.number,r.a.string]),lineHeight:r.a.oneOfType([r.a.number,r.a.string]),capHeight:r.a.oneOfType([r.a.number,r.a.string])}}).call(this,n(6))},function(e,t){e.exports=ReactDOM},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return X});var g=n(0),r=n.n(g),a=n(7),C=n(1),A=n.n(C);function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function I(e,t){for(var n=0;n<t.length;n++){var g=t[n];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(e,g.key,g)}}function o(e,t,n){return t&&I(e.prototype,t),n&&I(e,n),e}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(){return(u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var g in n)Object.prototype.hasOwnProperty.call(n,g)&&(e[g]=n[g])}return e}).apply(this,arguments)}function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e,t){if(null==e)return{};var n,g,r=function(e,t){if(null==e)return{};var n,g,r={},a=Object.keys(e);for(g=0;g<a.length;g++)n=a[g],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(g=0;g<a.length;g++)n=a[g],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?p(e):t}r.a.func,r.a.oneOfType([r.a.number,r.a.string]),r.a.oneOfType([r.a.number,r.a.string]),r.a.oneOfType([r.a.number,r.a.string]),r.a.oneOfType([r.a.number,r.a.string]),r.a.string;var m=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},y="undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:{},v="object"==typeof y&&y&&y.Object===Object&&y,b="object"==typeof self&&self&&self.Object===Object&&self,x=v||b||Function("return this")(),_=function(){return x.Date.now()},w=x.Symbol,T=Object.prototype,O=T.hasOwnProperty,k=T.toString,P=w?w.toStringTag:void 0;var N=function(e){var t=O.call(e,P),n=e[P];try{e[P]=void 0}catch(e){}var g=k.call(e);return t?e[P]=n:delete e[P],g},E=Object.prototype.toString;var M=function(e){return E.call(e)},R="[object Null]",S="[object Undefined]",j=w?w.toStringTag:void 0;var D=function(e){return null==e?void 0===e?S:R:j&&j in Object(e)?N(e):M(e)};var z=function(e){return null!=e&&"object"==typeof e},W="[object Symbol]";var L=function(e){return"symbol"==typeof e||z(e)&&D(e)==W},F=NaN,Z=/^\s+|\s+$/g,G=/^[-+]0x[0-9a-f]+$/i,U=/^0b[01]+$/i,V=/^0o[0-7]+$/i,Y=parseInt;var K=function(e){if("number"==typeof e)return e;if(L(e))return F;if(m(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=m(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(Z,"");var n=U.test(e);return n||V.test(e)?Y(e.slice(2),n?2:8):G.test(e)?F:+e},q="Expected a function",H=Math.max,B=Math.min;var Q=function(e,t,n){var g,r,a,C,A,i,I=0,o=!1,s=!1,u=!0;if("function"!=typeof e)throw new TypeError(q);function c(t){var n=g,a=r;return g=r=void 0,I=t,C=e.apply(a,n)}function l(e){var n=e-i;return void 0===i||n>=t||n<0||s&&e-I>=a}function f(){var e=_();if(l(e))return h(e);A=setTimeout(f,function(e){var n=t-(e-i);return s?B(n,a-(e-I)):n}(e))}function h(e){return A=void 0,u&&g?c(e):(g=r=void 0,C)}function p(){var e=_(),n=l(e);if(g=arguments,r=this,i=e,n){if(void 0===A)return function(e){return I=e,A=setTimeout(f,t),o?c(e):C}(i);if(s)return A=setTimeout(f,t),c(i)}return void 0===A&&(A=setTimeout(f,t)),C}return t=K(t)||0,m(n)&&(o=!!n.leading,a=(s="maxWait"in n)?H(K(n.maxWait)||0,t):a,u="trailing"in n?!!n.trailing:u),p.cancel=function(){void 0!==A&&clearTimeout(A),I=0,g=i=r=A=void 0},p.flush=function(){return void 0===A?C:h(_())},p},X=function(e){function t(e){var n;return i(this,t),(n=d(this,l(t).call(this,e))).state={width:0,height:0,top:0,left:0},n.resize=Q(n.resize.bind(p(p(n))),e.debounceTime),n.setTarget=n.setTarget.bind(p(p(n))),n.animationFrameID=null,n}return c(t,A.a.Component),o(t,[{key:"componentDidMount",value:function(){var e=this;this.ro=new a.a(function(t,n){var g=!0,r=!1,a=void 0;try{for(var C,A=function(){var t=C.value.contentRect,n=t.left,g=t.top,r=t.width,a=t.height;e.animationFrameID=window.requestAnimationFrame(function(){e.resize({width:r,height:a,top:g,left:n})})},i=t[Symbol.iterator]();!(g=(C=i.next()).done);g=!0)A()}catch(e){r=!0,a=e}finally{try{g||null==i.return||i.return()}finally{if(r)throw a}}}),this.ro.observe(this.target)}},{key:"componentWillUnmount",value:function(){window.cancelAnimationFrame(this.animationFrameID),this.ro.disconnect()}},{key:"resize",value:function(e){var t=e.width,n=e.height,g=e.top,r=e.left;this.setState(function(){return{width:t,height:n,top:g,left:r}})}},{key:"setTarget",value:function(e){this.target=e}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.children,g=(e.debounceTime,h(e,["className","children","debounceTime"]));return A.a.createElement("div",u({style:{width:"100%",height:"100%"},ref:this.setTarget,className:t},g),n(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},g=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(g=g.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),g.forEach(function(t){s(e,t,n[t])})}return e}({},this.state,{ref:this.target,resize:this.resize})))}}]),t}();X.defaultProps={debounceTime:300},X.propTypes={className:r.a.string,children:r.a.func.isRequired,debounceTime:r.a.number}}).call(this,n(6))},function(e,t,n){e.exports=n(31)},function(e,t,n){"use strict";var g=n(13);function r(){}e.exports=function(){function e(e,t,n,r,a,C){if(C!==g){var A=new Error("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");throw A.name="Invariant Violation",A}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t){function n(e,t,n){e instanceof RegExp&&(e=g(e,n)),t instanceof RegExp&&(t=g(t,n));var a=r(e,t,n);return a&&{start:a[0],end:a[1],pre:n.slice(0,a[0]),body:n.slice(a[0]+e.length,a[1]),post:n.slice(a[1]+t.length)}}function g(e,t){var n=t.match(e);return n?n[0]:null}function r(e,t,n){var g,r,a,C,A,i=n.indexOf(e),I=n.indexOf(t,i+1),o=i;if(i>=0&&I>0){for(g=[],a=n.length;o>=0&&!A;)o==i?(g.push(o),i=n.indexOf(e,o+1)):1==g.length?A=[g.pop(),I]:((r=g.pop())<a&&(a=r,C=I),I=n.indexOf(t,o+1)),o=i<I&&i>=0?i:I;g.length&&(A=[a,C])}return A}e.exports=n,n.range=r},function(e,t,n){var g=n(16);function r(e,t,n){var a=e;return function(e,t){var n=[],r="string"==typeof t?new RegExp("\\b("+t+")\\("):t;do{var a=r.exec(e);if(!a)return n;if(void 0===a[1])throw new Error("Missing the first couple of parenthesis to get the function identifier in "+t);var C=a[1],A=a.index,i=g("(",")",e.substring(A));if(!i||i.start!==a[0].length-1)throw new SyntaxError(C+"(): missing closing ')' in the value '"+e+"'");n.push({matches:i,functionIdentifier:C}),e=i.post}while(r.test(e));return n}(e,t).reduce(function(e,g){return e.replace(g.functionIdentifier+"("+g.matches.body+")",function(e,t,n,g,a){return n(r(e,a,n),t,g)}(g.matches.body,g.functionIdentifier,n,a,t))},e)}e.exports=r},function(e,t){function n(e,t,n){e instanceof RegExp&&(e=g(e,n)),t instanceof RegExp&&(t=g(t,n));var a=r(e,t,n);return a&&{start:a[0],end:a[1],pre:n.slice(0,a[0]),body:n.slice(a[0]+e.length,a[1]),post:n.slice(a[1]+t.length)}}function g(e,t){var n=t.match(e);return n?n[0]:null}function r(e,t,n){var g,r,a,C,A,i=n.indexOf(e),I=n.indexOf(t,i+1),o=i;if(i>=0&&I>0){for(g=[],a=n.length;o>=0&&!A;)o==i?(g.push(o),i=n.indexOf(e,o+1)):1==g.length?A=[g.pop(),I]:((r=g.pop())<a&&(a=r,C=I),I=n.indexOf(t,o+1)),o=i<I&&i>=0?i:I;g.length&&(A=[a,C])}return A}e.exports=n,n.range=r},function(e,t,n){var g=n(18);g.prototype.formulaEval=function(){"use strict";for(var e,t,n,g=[],r=this.value,a=0;a<r.length;a++)1===r[a].type||3===r[a].type?g.push({value:3===r[a].type?r[a].show:r[a].value,type:1}):13===r[a].type?g.push({value:r[a].show,type:1}):0===r[a].type?g[g.length-1]={value:r[a].show+("-"!=r[a].show?"(":"")+g[g.length-1].value+("-"!=r[a].show?")":""),type:0}:7===r[a].type?g[g.length-1]={value:(1!=g[g.length-1].type?"(":"")+g[g.length-1].value+(1!=g[g.length-1].type?")":"")+r[a].show,type:7}:10===r[a].type?(e=g.pop(),t=g.pop(),"P"===r[a].show||"C"===r[a].show?g.push({value:"<sup>"+t.value+"</sup>"+r[a].show+"<sub>"+e.value+"</sub>",type:10}):g.push({value:(1!=t.type?"(":"")+t.value+(1!=t.type?")":"")+"<sup>"+e.value+"</sup>",type:1})):2===r[a].type||9===r[a].type?(e=g.pop(),t=g.pop(),g.push({value:(1!=t.type?"(":"")+t.value+(1!=t.type?")":"")+r[a].show+(1!=e.type?"(":"")+e.value+(1!=e.type?")":""),type:r[a].type})):12===r[a].type&&(e=g.pop(),t=g.pop(),n=g.pop(),g.push({value:r[a].show+"("+n.value+","+t.value+","+e.value+")",type:12}));return g[0].value},e.exports=g},function(e,t,n){var g=n(19);g.prototype.postfixEval=function(e){"use strict";(e=e||{}).PI=Math.PI,e.E=Math.E;for(var t,n,r,a=[],C=this.value,A=void 0!==e.n,i=0;i<C.length;i++)1===C[i].type?a.push({value:C[i].value,type:1}):3===C[i].type?a.push({value:e[C[i].value],type:1}):0===C[i].type?void 0===a[a.length-1].type?a[a.length-1].value.push(C[i]):a[a.length-1].value=C[i].value(a[a.length-1].value):7===C[i].type?void 0===a[a.length-1].type?a[a.length-1].value.push(C[i]):a[a.length-1].value=C[i].value(a[a.length-1].value):8===C[i].type?(t=a.pop(),n=a.pop(),a.push({type:1,value:C[i].value(n.value,t.value)})):10===C[i].type?(t=a.pop(),void 0===(n=a.pop()).type?(n.value=n.concat(t),n.value.push(C[i]),a.push(n)):void 0===t.type?(t.unshift(n),t.push(C[i]),a.push(t)):a.push({type:1,value:C[i].value(n.value,t.value)})):2===C[i].type||9===C[i].type?(t=a.pop(),void 0===(n=a.pop()).type?(console.log(n),(n=n.concat(t)).push(C[i]),a.push(n)):void 0===t.type?(t.unshift(n),t.push(C[i]),a.push(t)):a.push({type:1,value:C[i].value(n.value,t.value)})):12===C[i].type?(void 0!==(t=a.pop()).type&&(t=[t]),n=a.pop(),r=a.pop(),a.push({type:1,value:C[i].value(r.value,n.value,new g(t))})):13===C[i].type&&(A?a.push({value:e[C[i].value],type:3}):a.push([C[i]]));if(a.length>1)throw new g.exception("Uncaught Syntax error");return a[0].value>1e15?"Infinity":parseFloat(a[0].value.toFixed(15))},g.eval=function(e,t,n){return void 0===t?this.lex(e).toPostfix().postfixEval():void 0===n?void 0!==t.length?this.lex(e,t).toPostfix().postfixEval():this.lex(e).toPostfix().postfixEval(t):this.lex(e,t).toPostfix().postfixEval(n)},e.exports=g},function(e,t,n){var g=n(20);g.prototype.toPostfix=function(){"use strict";for(var e,t,n,r,a,C=[],A=[{value:"(",type:4,pre:0}],i=this.value,I=1;I<i.length;I++)if(1===i[I].type||3===i[I].type||13===i[I].type)1===i[I].type&&(i[I].value=Number(i[I].value)),C.push(i[I]);else if(4===i[I].type)A.push(i[I]);else if(5===i[I].type)for(;4!==(t=A.pop()).type;)C.push(t);else if(11===i[I].type){for(;4!==(t=A.pop()).type;)C.push(t);A.push(t)}else{r=(e=i[I]).pre,n=(a=A[A.length-1]).pre;var o="Math.pow"==a.value&&"Math.pow"==e.value;if(r>n)A.push(e);else{for(;n>=r&&!o||o&&r<n;)t=A.pop(),a=A[A.length-1],C.push(t),n=a.pre,o="Math.pow"==e.value&&"Math.pow"==a.value;A.push(e)}}return new g(C)},e.exports=g},function(e,t,n){var g=n(21);function r(e,t){for(var n=0;n<e.length;n++)e[n]+=t;return e}var a=["sin","cos","tan","pi","(",")","P","C","asin","acos","atan","7","8","9","int","cosh","acosh","ln","^","root","4","5","6","/","!","tanh","atanh","Mod","1","2","3","*","sinh","asinh","e","log","0",".","+","-",",","Sigma","n","Pi","pow"],C=["sin","cos","tan","&pi;","(",")","P","C","asin","acos","atan","7","8","9","Int","cosh","acosh"," ln","^","root","4","5","6","&divide;","!","tanh","atanh"," Mod ","1","2","3","&times;","sinh","asinh","e"," log","0",".","+","-",",","&Sigma;","n","&Pi;","pow"],A=[g.math.sin,g.math.cos,g.math.tan,"PI","(",")",g.math.P,g.math.C,g.math.asin,g.math.acos,g.math.atan,"7","8","9",Math.floor,g.math.cosh,g.math.acosh,Math.log,Math.pow,Math.sqrt,"4","5","6",g.math.div,g.math.fact,g.math.tanh,g.math.atanh,g.math.mod,"1","2","3",g.math.mul,g.math.sinh,g.math.asinh,"E",g.math.log,"0",".",g.math.add,g.math.sub,",",g.math.sigma,"n",g.math.Pi,Math.pow],I={0:11,1:0,2:3,3:0,4:0,5:0,6:0,7:11,8:11,9:1,10:10,11:0,12:11,13:0},o=[0,0,0,3,4,5,10,10,0,0,0,1,1,1,0,0,0,0,10,0,1,1,1,2,7,0,0,2,1,1,1,2,0,0,3,0,1,6,9,9,11,12,13,12,8],s={0:!0,1:!0,3:!0,4:!0,6:!0,8:!0,9:!0,12:!0,13:!0},u={0:!0,1:!0,2:!0,3:!0,4:!0,5:!0,6:!0,7:!0,8:!0,9:!0,10:!0,11:!0,12:!0,13:!0},c={0:!0,3:!0,4:!0,8:!0,12:!0,13:!0},l={},f={0:!0,1:!0,3:!0,4:!0,6:!0,8:!0,12:!0,13:!0},h={1:!0},p=[[],["1","2","3","7","8","9","4","5","6","+","-","*","/","(",")","^","!","P","C","e","0",".",",","n"],["pi","ln","Pi"],["sin","cos","tan","Del","int","Mod","log","pow"],["asin","acos","atan","cosh","root","tanh","sinh"],["acosh","atanh","asinh","Sigma"]];function d(e,t,n,g){for(var r=0;r<g;r++)if(e[n+r]!==t[r])return!1;return!0}g.addToken=function(e){for(i=0;i<e.length;i++){x=e[i].token.length;var t=-1;if(x<p.length)for(y=0;y<p[x].length;y++)if(e[i].token===p[x][y]){t=a.indexOf(p[x][y]);break}-1===t?(a.push(e[i].token),o.push(e[i].type),p.length<=e[i].token.length&&(p[e[i].token.length]=[]),p[e[i].token.length].push(e[i].token),A.push(e[i].value),C.push(e[i].show)):(a[t]=e[i].token,o[t]=e[i].type,A[t]=e[i].value,C[t]=e[i].show)}},g.lex=function(e,t){"use strict";var n,i,m,y,v=[{type:4,value:"(",show:"(",pre:0}],b=[],x=e,_=0,w=s,T=0,O=l,k="";void 0!==t&&g.addToken(t);var P={};for(i=0;i<x.length;i++)if(" "!=x[i]){n="";e:for(m=x.length-i>p.length-2?p.length-1:x.length-i;m>0;m--)for(y=0;y<p[m].length;y++)if(d(x,p[m][y],i,m)){n=p[m][y];break e}if(i+=n.length-1,""===n)throw new g.exception("Can't understand after "+x.slice(i));var N=a.indexOf(n),E=n,M=o[N],R=A[N],S=I[M],j=C[N],D=v[v.length-1];for(z=b.length;z--;)if(0===b[z]&&-1!==[0,2,3,5,9,11,12,13].indexOf(M)){if(!0!==w[M])throw new g.exception(n+" is not allowed after "+k);v.push({value:")",type:5,pre:0,show:")"}),w=u,O=f,r(b,-1).pop()}if(!0!==w[M])throw new g.exception(n+" is not allowed after "+k);if(!0===O[M]&&(M=2,R=g.math.mul,j="&times;",S=3,i-=n.length),P={value:R,type:M,pre:S,show:j},0===M)w=s,O=l,r(b,2).push(2),v.push(P),v.push({value:"(",type:4,pre:0,show:"("});else if(1===M)1===D.type?(D.value+=R,r(b,1)):v.push(P),w=u,O=c;else if(2===M)w=s,O=l,r(b,2),v.push(P);else if(3===M)v.push(P),w=u,O=f;else if(4===M)_+=b.length,b=[],T++,w=s,O=l,v.push(P);else if(5===M){if(!T)throw new g.exception("Closing parenthesis are more than opening one, wait What!!!");for(;_--;)v.push({value:")",type:5,pre:0,show:")"});_=0,T--,w=u,O=f,v.push(P)}else if(6===M){if(D.hasDec)throw new g.exception("Two decimals are not allowed in one number");1!==D.type&&(D={value:0,type:1,pre:0},v.push(D),r(b,-1)),w=h,r(b,1),O=l,D.value+=R,D.hasDec=!0}else 7===M&&(w=u,O=f,r(b,1),v.push(P));8===M?(w=s,O=l,r(b,4).push(4),v.push(P),v.push({value:"(",type:4,pre:0,show:"("})):9===M?(9===D.type?D.value===g.math.add?(D.value=R,D.show=j,r(b,1)):D.value===g.math.sub&&"-"===j&&(D.value=g.math.add,D.show="+",r(b,1)):5!==D.type&&7!==D.type&&1!==D.type&&3!==D.type&&13!==D.type?"-"===E&&(w=s,O=l,r(b,2).push(2),v.push({value:g.math.changeSign,type:0,pre:21,show:"-"}),v.push({value:"(",type:4,pre:0,show:"("})):(v.push(P),r(b,2)),w=s,O=l):10===M?(w=s,O=l,r(b,2),v.push(P)):11===M?(w=s,O=l,v.push(P)):12===M?(w=s,O=l,r(b,6).push(6),v.push(P),v.push({value:"(",type:4,pre:0})):13===M&&(w=u,O=f,v.push(P)),r(b,-1),k=n}for(var z=b.length;z--;)0===b[z]&&(v.push({value:")",show:")",type:5,pre:3}),r(b,-1).pop());if(!0!==w[5])throw new g.exception("complete the expression");for(;T--;)v.push({value:")",show:")",type:5,pre:3});return v.push({type:5,value:")",show:")",pre:0}),new g(v)},e.exports=g},function(e,t){var n=function(e){this.value=e};n.math={isDegree:!0,acos:function(e){return n.math.isDegree?180/Math.PI*Math.acos(e):Math.acos(e)},add:function(e,t){return e+t},asin:function(e){return n.math.isDegree?180/Math.PI*Math.asin(e):Math.asin(e)},atan:function(e){return n.math.isDegree?180/Math.PI*Math.atan(e):Math.atan(e)},acosh:function(e){return Math.log(e+Math.sqrt(e*e-1))},asinh:function(e){return Math.log(e+Math.sqrt(e*e+1))},atanh:function(e){return Math.log((1+e)/(1-e))},C:function(e,t){var g=1,r=e-t,a=t;a<r&&(a=r,r=t);for(var C=a+1;C<=e;C++)g*=C;return g/n.math.fact(r)},changeSign:function(e){return-e},cos:function(e){return n.math.isDegree&&(e=n.math.toRadian(e)),Math.cos(e)},cosh:function(e){return(Math.pow(Math.E,e)+Math.pow(Math.E,-1*e))/2},div:function(e,t){return e/t},fact:function(e){if(e%1!=0)return"NAN";for(var t=1,n=2;n<=e;n++)t*=n;return t},inverse:function(e){return 1/e},log:function(e){return Math.log(e)/Math.log(10)},mod:function(e,t){return e%t},mul:function(e,t){return e*t},P:function(e,t){for(var n=1,g=Math.floor(e)-Math.floor(t)+1;g<=Math.floor(e);g++)n*=g;return n},Pi:function(e,t,n){for(var g=1,r=e;r<=t;r++)g*=Number(n.postfixEval({n:r}));return g},pow10x:function(e){for(var t=1;e--;)t*=10;return t},sigma:function(e,t,n){for(var g=0,r=e;r<=t;r++)g+=Number(n.postfixEval({n:r}));return g},sin:function(e){return n.math.isDegree&&(e=n.math.toRadian(e)),Math.sin(e)},sinh:function(e){return(Math.pow(Math.E,e)-Math.pow(Math.E,-1*e))/2},sub:function(e,t){return e-t},tan:function(e){return n.math.isDegree&&(e=n.math.toRadian(e)),Math.tan(e)},tanh:function(e){return n.sinha(e)/n.cosha(e)},toRadian:function(e){return e*Math.PI/180}},n.exception=function(e){this.message=e},e.exports=n},function(e,t,n){var g=n(23);"string"==typeof g&&(g=[[e.i,g,""]]);var r={transform:void 0};n(4)(g,r);g.locals&&(e.exports=g.locals)},function(e,t,n){(e.exports=n(3)(!1)).push([e.i,".dv-ChartContainer__child{margin-left:auto;margin-right:auto;max-width:1200px;padding:0 1rem}#data_table .dv-ChartContainer{padding:2rem 0}@media (min-width:640px){.rt-td:first-child{position:-webkit-sticky!important;position:sticky!important;left:0;top:0;z-index:1;background-color:#fff}}@media (min-width:640px){.rt-tr.-odd .rt-td:first-child{background-color:#f5f5f5}}@media (min-width:640px){.rt-th:first-child{position:-webkit-sticky!important;position:sticky!important;left:0;top:0;z-index:1;background-color:#fff}}",""])},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var n=t.protocol+"//"+t.host,g=n+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(e,t){var r,a=t.trim().replace(/^"(.*)"$/,function(e,t){return t}).replace(/^'(.*)'$/,function(e,t){return t});return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/)/i.test(a)?e:(r=0===a.indexOf("//")?a:0===a.indexOf("/")?n+a:g+a.replace(/^\.\//,""),"url("+JSON.stringify(r)+")")})}},function(e,t,n){var g=n(26);"string"==typeof g&&(g=[[e.i,g,""]]);var r={transform:void 0};n(4)(g,r);g.locals&&(e.exports=g.locals)},function(e,t,n){(e.exports=n(3)(!1)).push([e.i,".dv-Chart{width:100%;margin-left:auto;margin-right:auto}.dv-legend-container{position:absolute;width:100%;display:flex;justify-content:center}.vx-legend-item:last-child .vx-legend-label{margin-right:0!important}.vx-legend-label{font-size:12px}.vx-axis-label{font-size:10px;text-transform:uppercase;font-weight:700;letter-spacing:.05em;fill:#333}.vx-axis-line{stroke:rgba(0,0,0,.2)}.vx-axis-tick{font-size:11px;fill:#333;font-weight:400;font-family:Circular}.vx-axis-tick .vx-line{stroke:rgba(0,0,0,.2)}.vx-columns .vx-line,.vx-rows .vx-line{stroke:#ddd}.annotation-note-label{font-size:12px;font-family:Circular;fill:#333}",""])},function(e,t,n){var g=n(28);"string"==typeof g&&(g=[[e.i,g,""]]);var r={transform:void 0};n(4)(g,r);g.locals&&(e.exports=g.locals)},function(e,t,n){(e.exports=n(3)(!1)).push([e.i,".dv-chart__description{display:block;font-size:14px;padding-bottom:1rem}.dv-chart__title{font-size:1.125rem;line-height:1.35rem;margin:0;padding-bottom:1rem}.dv-ChartContainer{width:100%;position:relative;padding:1rem;background-color:#f5f5f5}.dv-ChartContainer-nobg{padding:0;background-color:transparent}.dv-chart__source{display:block;padding-top:1rem;font-size:.75rem}",""])},function(e,t,n){var g=n(30);"string"==typeof g&&(g=[[e.i,g,""]]);var r={transform:void 0};n(4)(g,r);g.locals&&(e.exports=g.locals)},function(e,t,n){(e.exports=n(3)(!1)).push([e.i,'.ReactTable{position:relative;display:flex;flex-direction:column;border:1px solid rgba(0,0,0,.1)}.ReactTable *{box-sizing:border-box}.ReactTable .rt-table{flex:auto 1;display:flex;flex-direction:column;align-items:stretch;width:100%;border-collapse:collapse;overflow:auto}.ReactTable .rt-thead{flex:1 0 auto;display:flex;flex-direction:column;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ReactTable .rt-thead.-headerGroups{background:rgba(0,0,0,.03)}.ReactTable .rt-thead.-filters,.ReactTable .rt-thead.-headerGroups{border-bottom:1px solid rgba(0,0,0,.05)}.ReactTable .rt-thead.-filters input,.ReactTable .rt-thead.-filters select{border:1px solid rgba(0,0,0,.1);background:#fff;padding:5px 7px;font-size:inherit;border-radius:3px;font-weight:400;outline:none}.ReactTable .rt-thead.-filters .rt-th{border-right:1px solid rgba(0,0,0,.02)}.ReactTable .rt-thead.-header{box-shadow:0 2px 15px 0 rgba(0,0,0,.15)}.ReactTable .rt-thead .rt-tr{text-align:center}.ReactTable .rt-thead .rt-td,.ReactTable .rt-thead .rt-th{padding:5px;line-height:normal;position:relative;border-right:1px solid rgba(0,0,0,.05);transition:box-shadow .3s cubic-bezier(.175,.885,.32,1.275);box-shadow:inset 0 0 0 0 transparent}.ReactTable .rt-thead .rt-td.-sort-asc,.ReactTable .rt-thead .rt-th.-sort-asc{box-shadow:inset 0 3px 0 0 rgba(0,0,0,.6)}.ReactTable .rt-thead .rt-td.-sort-desc,.ReactTable .rt-thead .rt-th.-sort-desc{box-shadow:inset 0 -3px 0 0 rgba(0,0,0,.6)}.ReactTable .rt-thead .rt-td.-cursor-pointer,.ReactTable .rt-thead .rt-th.-cursor-pointer{cursor:pointer}.ReactTable .rt-thead .rt-td:last-child,.ReactTable .rt-thead .rt-th:last-child{border-right:0}.ReactTable .rt-thead .rt-resizable-header{overflow:visible}.ReactTable .rt-thead .rt-resizable-header:last-child{overflow:hidden}.ReactTable .rt-thead .rt-resizable-header-content{overflow:hidden;text-overflow:ellipsis}.ReactTable .rt-thead .rt-header-pivot{border-right-color:#f7f7f7}.ReactTable .rt-thead .rt-header-pivot:after,.ReactTable .rt-thead .rt-header-pivot:before{left:100%;top:50%;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none}.ReactTable .rt-thead .rt-header-pivot:after{border-color:hsla(0,0%,100%,0) hsla(0,0%,100%,0) hsla(0,0%,100%,0) #fff;border-width:8px;margin-top:-8px}.ReactTable .rt-thead .rt-header-pivot:before{border-color:hsla(0,0%,40%,0) hsla(0,0%,40%,0) hsla(0,0%,40%,0) #f7f7f7;border-width:10px;margin-top:-10px}.ReactTable .rt-tbody{flex:99999 1 auto;display:flex;flex-direction:column;overflow:auto}.ReactTable .rt-tbody .rt-tr-group{border-bottom:1px solid rgba(0,0,0,.05)}.ReactTable .rt-tbody .rt-tr-group:last-child{border-bottom:0}.ReactTable .rt-tbody .rt-td{border-right:1px solid rgba(0,0,0,.02)}.ReactTable .rt-tbody .rt-td:last-child{border-right:0}.ReactTable .rt-tbody .rt-expandable{cursor:pointer;text-overflow:clip}.ReactTable .rt-tr-group{flex:1 0 auto;display:flex;flex-direction:column;align-items:stretch}.ReactTable .rt-tr{flex:1 0 auto;display:inline-flex}.ReactTable .rt-td,.ReactTable .rt-th{flex:1 0 0;white-space:nowrap;text-overflow:ellipsis;padding:7px 5px;overflow:hidden;transition:.3s ease;transition-property:width,min-width,padding,opacity}.ReactTable .rt-td.-hidden,.ReactTable .rt-th.-hidden{width:0!important;min-width:0!important;padding:0!important;border:0!important;opacity:0!important}.ReactTable .rt-expander{display:inline-block;position:relative;color:transparent;margin:0 10px}.ReactTable .rt-expander:after{content:"";position:absolute;width:0;height:0;top:50%;left:50%;-webkit-transform:translate(-50%,-50%) rotate(-90deg);transform:translate(-50%,-50%) rotate(-90deg);border-left:5.04px solid transparent;border-right:5.04px solid transparent;border-top:7px solid rgba(0,0,0,.8);transition:all .3s cubic-bezier(.175,.885,.32,1.275);cursor:pointer}.ReactTable .rt-expander.-open:after{-webkit-transform:translate(-50%,-50%) rotate(0);transform:translate(-50%,-50%) rotate(0)}.ReactTable .rt-resizer{display:inline-block;position:absolute;width:36px;top:0;bottom:0;right:-18px;cursor:col-resize;z-index:10}.ReactTable .rt-tfoot{flex:1 0 auto;display:flex;flex-direction:column;box-shadow:0 0 15px 0 rgba(0,0,0,.15)}.ReactTable .rt-tfoot .rt-td{border-right:1px solid rgba(0,0,0,.05)}.ReactTable .rt-tfoot .rt-td:last-child{border-right:0}.ReactTable.-striped .rt-tr.-odd{background:rgba(0,0,0,.03)}.ReactTable.-highlight .rt-tbody .rt-tr:not(.-padRow):hover{background:rgba(0,0,0,.05)}.ReactTable .-pagination{z-index:1;display:flex;justify-content:space-between;align-items:stretch;flex-wrap:wrap;padding:3px;box-shadow:0 0 15px 0 rgba(0,0,0,.1);border-top:2px solid rgba(0,0,0,.1)}.ReactTable .-pagination input,.ReactTable .-pagination select{border:1px solid rgba(0,0,0,.1);background:#fff;padding:5px 7px;font-size:inherit;border-radius:3px;font-weight:400;outline:none}.ReactTable .-pagination .-btn{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:block;width:100%;height:100%;border:0;border-radius:3px;padding:6px;font-size:1em;color:rgba(0,0,0,.6);background:rgba(0,0,0,.1);transition:all .1s ease;cursor:pointer;outline:none}.ReactTable .-pagination .-btn[disabled]{opacity:.5;cursor:default}.ReactTable .-pagination .-btn:not([disabled]):hover{background:rgba(0,0,0,.3);color:#fff}.ReactTable .-pagination .-next,.ReactTable .-pagination .-previous{flex:1;text-align:center}.ReactTable .-pagination .-center{flex:1.5;text-align:center;margin-bottom:0;display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:space-around}.ReactTable .-pagination .-pageInfo{display:inline-block;margin:3px 10px;white-space:nowrap}.ReactTable .-pagination .-pageJump{display:inline-block}.ReactTable .-pagination .-pageJump input{width:70px;text-align:center}.ReactTable .-pagination .-pageSizeOptions{margin:3px 10px}.ReactTable .rt-noData{left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);z-index:1;padding:20px;color:rgba(0,0,0,.5)}.ReactTable .-loading,.ReactTable .rt-noData{display:block;position:absolute;background:hsla(0,0%,100%,.8);transition:all .3s ease;pointer-events:none}.ReactTable .-loading{left:0;right:0;top:0;bottom:0;z-index:-1;opacity:0}.ReactTable .-loading>div{position:absolute;display:block;text-align:center;width:100%;top:50%;left:0;font-size:15px;color:rgba(0,0,0,.6);-webkit-transform:translateY(-52%);transform:translateY(-52%);transition:all .3s cubic-bezier(.25,.46,.45,.94)}.ReactTable .-loading.-active{opacity:1;z-index:2;pointer-events:all}.ReactTable .-loading.-active>div{-webkit-transform:translateY(50%);transform:translateY(50%)}.ReactTable .rt-resizing .rt-td,.ReactTable .rt-resizing .rt-th{transition:none!important;cursor:col-resize;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ReactTable{border:none}.ReactTable .rt-table{border:1px solid rgba(0,0,0,.1)}.ReactTable .rt-thead.-header{box-shadow:none}.ReactTable .rt-thead{text-align:center;background-color:#fff;color:#2c2f35;padding:.5rem 0;font-weight:700}.ReactTable .rt-td,.ReactTable .rt-th{white-space:normal;padding:10px;font-size:14px}.rt-tr.-even{background-color:#fff!important}.ReactTable .rt-resizable-header{padding:6px 24px!important;box-shadow:none!important;background-position:100%;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAQAAADYWf5HAAAAkElEQVQoz7XQMQ5AQBCF4dWQSJxC5wwax1Cq1e7BAdxD5SL+Tq/QCM1oNiJidwox0355mXnG/DrEtIQ6azioNZQxI0ykPhTQIwhCR+BmBYtlK7kLJYwWCcJA9M4qdrZrd8pPjZWPtOqdRQy320YSV17OatFC4euts6z39GYMKRPCTKY9UnPQ6P+GtMRfGtPnBCiqhAeJPmkqAAAAAElFTkSuQmCC);background-repeat:no-repeat}.ReactTable .rt-thead .rt-th{display:flex;justify-content:center;align-items:center}.-odd,.-odd .-sticky{background-color:#f4f4f4!important}.rt-tbody{overflow:visible!important}.-centered{justify-content:start;text-align:left}.-centered,.pagination{display:flex;align-items:center}.pagination{justify-content:space-between}.pagination__number-of-entries{font-size:14px;font-style:italic}.pagination__controls{display:flex;justify-content:flex-end;align-items:center;padding:1rem 0}.pagination__page-info{display:flex;align-items:center;padding:0 .5rem;font-size:14px}.pagination__page-jump input{width:4rem;height:2rem;padding:0 .25rem;margin:0 .5rem}.pagination__total-pages{padding-left:.25rem}.pagination__btn{padding:0 .5rem;font-size:14px;text-transform:capitalize;font-weight:700;letter-spacing:normal;color:#2c2f35;outline:none;border:none;background-color:transparent;cursor:pointer}.pagination__next .pagination__btn{padding-right:0}.pagination__btn:hover{color:#2ebcb3}.pagination__btn:disabled:hover{color:#2c2f35}.pagination__btn:disabled{cursor:not-allowed}.Table__pageButton--active{color:#2c2f35;font-weight:700}.rt-th.rt-resizable-header.-sort-asc{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAACXBIWXMAAAsTAAALEwEAmpwYAAA58mlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4KPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxMTEgNzkuMTU4MzI1LCAyMDE1LzA5LzEwLTAxOjEwOjIwICAgICAgICAiPgogICA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPgogICAgICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgICAgICAgICB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iCiAgICAgICAgICAgIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIKICAgICAgICAgICAgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIgogICAgICAgICAgICB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIKICAgICAgICAgICAgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIKICAgICAgICAgICAgeG1sbnM6dGlmZj0iaHR0cDovL25zLmFkb2JlLmNvbS90aWZmLzEuMC8iCiAgICAgICAgICAgIHhtbG5zOmV4aWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20vZXhpZi8xLjAvIj4KICAgICAgICAgPHhtcDpDcmVhdG9yVG9vbD5BZG9iZSBQaG90b3Nob3AgQ0MgMjAxNSAoTWFjaW50b3NoKTwveG1wOkNyZWF0b3JUb29sPgogICAgICAgICA8eG1wOkNyZWF0ZURhdGU+MjAxNi0wOS0yN1QxNDo0MToxNi0wNDowMDwveG1wOkNyZWF0ZURhdGU+CiAgICAgICAgIDx4bXA6TW9kaWZ5RGF0ZT4yMDE2LTA5LTI3VDE0OjQzOjAyLTA0OjAwPC94bXA6TW9kaWZ5RGF0ZT4KICAgICAgICAgPHhtcDpNZXRhZGF0YURhdGU+MjAxNi0wOS0yN1QxNDo0MzowMi0wNDowMDwveG1wOk1ldGFkYXRhRGF0ZT4KICAgICAgICAgPGRjOmZvcm1hdD5pbWFnZS9wbmc8L2RjOmZvcm1hdD4KICAgICAgICAgPHBob3Rvc2hvcDpDb2xvck1vZGU+MzwvcGhvdG9zaG9wOkNvbG9yTW9kZT4KICAgICAgICAgPHhtcE1NOkluc3RhbmNlSUQ+eG1wLmlpZDpkMTAxZTcyZS03YmM5LTQyNDQtYTkxYi0zZjhjN2U5YTExYjE8L3htcE1NOkluc3RhbmNlSUQ+CiAgICAgICAgIDx4bXBNTTpEb2N1bWVudElEPmFkb2JlOmRvY2lkOnBob3Rvc2hvcDphMWZkYjAwNC1jNTcwLTExNzktOGMyMy1iNzkyNjY4ZTkwYjk8L3htcE1NOkRvY3VtZW50SUQ+CiAgICAgICAgIDx4bXBNTTpPcmlnaW5hbERvY3VtZW50SUQ+eG1wLmRpZDo3ZmUwODc5ZC1hNzhhLTQzYTQtODFmNy1mZTk4NjM0ZjcwN2I8L3htcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD4KICAgICAgICAgPHhtcE1NOkhpc3Rvcnk+CiAgICAgICAgICAgIDxyZGY6U2VxPgogICAgICAgICAgICAgICA8cmRmOmxpIHJkZjpwYXJzZVR5cGU9IlJlc291cmNlIj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OmFjdGlvbj5jcmVhdGVkPC9zdEV2dDphY3Rpb24+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDppbnN0YW5jZUlEPnhtcC5paWQ6N2ZlMDg3OWQtYTc4YS00M2E0LTgxZjctZmU5ODYzNGY3MDdiPC9zdEV2dDppbnN0YW5jZUlEPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6d2hlbj4yMDE2LTA5LTI3VDE0OjQxOjE2LTA0OjAwPC9zdEV2dDp3aGVuPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6c29mdHdhcmVBZ2VudD5BZG9iZSBQaG90b3Nob3AgQ0MgMjAxNSAoTWFjaW50b3NoKTwvc3RFdnQ6c29mdHdhcmVBZ2VudD4KICAgICAgICAgICAgICAgPC9yZGY6bGk+CiAgICAgICAgICAgICAgIDxyZGY6bGkgcmRmOnBhcnNlVHlwZT0iUmVzb3VyY2UiPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6YWN0aW9uPnNhdmVkPC9zdEV2dDphY3Rpb24+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDppbnN0YW5jZUlEPnhtcC5paWQ6ZDEwMWU3MmUtN2JjOS00MjQ0LWE5MWItM2Y4YzdlOWExMWIxPC9zdEV2dDppbnN0YW5jZUlEPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6d2hlbj4yMDE2LTA5LTI3VDE0OjQzOjAyLTA0OjAwPC9zdEV2dDp3aGVuPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6c29mdHdhcmVBZ2VudD5BZG9iZSBQaG90b3Nob3AgQ0MgMjAxNSAoTWFjaW50b3NoKTwvc3RFdnQ6c29mdHdhcmVBZ2VudD4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OmNoYW5nZWQ+Lzwvc3RFdnQ6Y2hhbmdlZD4KICAgICAgICAgICAgICAgPC9yZGY6bGk+CiAgICAgICAgICAgIDwvcmRmOlNlcT4KICAgICAgICAgPC94bXBNTTpIaXN0b3J5PgogICAgICAgICA8dGlmZjpPcmllbnRhdGlvbj4xPC90aWZmOk9yaWVudGF0aW9uPgogICAgICAgICA8dGlmZjpYUmVzb2x1dGlvbj43MjAwMDAvMTAwMDA8L3RpZmY6WFJlc29sdXRpb24+CiAgICAgICAgIDx0aWZmOllSZXNvbHV0aW9uPjcyMDAwMC8xMDAwMDwvdGlmZjpZUmVzb2x1dGlvbj4KICAgICAgICAgPHRpZmY6UmVzb2x1dGlvblVuaXQ+MjwvdGlmZjpSZXNvbHV0aW9uVW5pdD4KICAgICAgICAgPGV4aWY6Q29sb3JTcGFjZT42NTUzNTwvZXhpZjpDb2xvclNwYWNlPgogICAgICAgICA8ZXhpZjpQaXhlbFhEaW1lbnNpb24+MTk8L2V4aWY6UGl4ZWxYRGltZW5zaW9uPgogICAgICAgICA8ZXhpZjpQaXhlbFlEaW1lbnNpb24+MTk8L2V4aWY6UGl4ZWxZRGltZW5zaW9uPgogICAgICA8L3JkZjpEZXNjcmlwdGlvbj4KICAgPC9yZGY6UkRGPgo8L3g6eG1wbWV0YT4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAKPD94cGFja2V0IGVuZD0idyI/Ps/9p2gAAAAgY0hSTQAAeiUAAICDAAD5/wAAgOkAAHUwAADqYAAAOpgAABdvkl/FRgAAAIlJREFUeNrs0q0NwlAAReFXUxKSTlFHbnLVcZiOgUSj2YMOwB4oFkHiETVNax6GmgbTnxRExbGfOiHGGOYqLIrJbGUuMukc2FmmlTlNwmR2Mk+ZKPOQyUdhMonM9QN1lTLJGKyQefWwSmY/CJPJZO49qOsmsxmCHWUamfpLjczh95+t2Ir9G/YeAPwn67OWPCHxAAAAAElFTkSuQmCC)}.rt-th.rt-resizable-header.-sort-desc{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAACXBIWXMAAAsTAAALEwEAmpwYAAA58mlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4KPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxMTEgNzkuMTU4MzI1LCAyMDE1LzA5LzEwLTAxOjEwOjIwICAgICAgICAiPgogICA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPgogICAgICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgICAgICAgICB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iCiAgICAgICAgICAgIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIKICAgICAgICAgICAgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIgogICAgICAgICAgICB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIKICAgICAgICAgICAgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIKICAgICAgICAgICAgeG1sbnM6dGlmZj0iaHR0cDovL25zLmFkb2JlLmNvbS90aWZmLzEuMC8iCiAgICAgICAgICAgIHhtbG5zOmV4aWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20vZXhpZi8xLjAvIj4KICAgICAgICAgPHhtcDpDcmVhdG9yVG9vbD5BZG9iZSBQaG90b3Nob3AgQ0MgMjAxNSAoTWFjaW50b3NoKTwveG1wOkNyZWF0b3JUb29sPgogICAgICAgICA8eG1wOkNyZWF0ZURhdGU+MjAxNi0wOS0yN1QxNDo0MToxNC0wNDowMDwveG1wOkNyZWF0ZURhdGU+CiAgICAgICAgIDx4bXA6TW9kaWZ5RGF0ZT4yMDE2LTA5LTI3VDE0OjQyOjQ2LTA0OjAwPC94bXA6TW9kaWZ5RGF0ZT4KICAgICAgICAgPHhtcDpNZXRhZGF0YURhdGU+MjAxNi0wOS0yN1QxNDo0Mjo0Ni0wNDowMDwveG1wOk1ldGFkYXRhRGF0ZT4KICAgICAgICAgPGRjOmZvcm1hdD5pbWFnZS9wbmc8L2RjOmZvcm1hdD4KICAgICAgICAgPHBob3Rvc2hvcDpDb2xvck1vZGU+MzwvcGhvdG9zaG9wOkNvbG9yTW9kZT4KICAgICAgICAgPHhtcE1NOkluc3RhbmNlSUQ+eG1wLmlpZDpmMzQzMzEwNS0xZDQxLTQxZjktYjc5ZS1kZDk5NTRhZmUyNTQ8L3htcE1NOkluc3RhbmNlSUQ+CiAgICAgICAgIDx4bXBNTTpEb2N1bWVudElEPmFkb2JlOmRvY2lkOnBob3Rvc2hvcDo5NGQxYTg3MS1jNTcwLTExNzktOGMyMy1iNzkyNjY4ZTkwYjk8L3htcE1NOkRvY3VtZW50SUQ+CiAgICAgICAgIDx4bXBNTTpPcmlnaW5hbERvY3VtZW50SUQ+eG1wLmRpZDplNzA0OTcwNy02NDhjLTRkNTEtOGExNi0wZDFlOTdkNTlmZjY8L3htcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD4KICAgICAgICAgPHhtcE1NOkhpc3Rvcnk+CiAgICAgICAgICAgIDxyZGY6U2VxPgogICAgICAgICAgICAgICA8cmRmOmxpIHJkZjpwYXJzZVR5cGU9IlJlc291cmNlIj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OmFjdGlvbj5jcmVhdGVkPC9zdEV2dDphY3Rpb24+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDppbnN0YW5jZUlEPnhtcC5paWQ6ZTcwNDk3MDctNjQ4Yy00ZDUxLThhMTYtMGQxZTk3ZDU5ZmY2PC9zdEV2dDppbnN0YW5jZUlEPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6d2hlbj4yMDE2LTA5LTI3VDE0OjQxOjE0LTA0OjAwPC9zdEV2dDp3aGVuPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6c29mdHdhcmVBZ2VudD5BZG9iZSBQaG90b3Nob3AgQ0MgMjAxNSAoTWFjaW50b3NoKTwvc3RFdnQ6c29mdHdhcmVBZ2VudD4KICAgICAgICAgICAgICAgPC9yZGY6bGk+CiAgICAgICAgICAgICAgIDxyZGY6bGkgcmRmOnBhcnNlVHlwZT0iUmVzb3VyY2UiPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6YWN0aW9uPnNhdmVkPC9zdEV2dDphY3Rpb24+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDppbnN0YW5jZUlEPnhtcC5paWQ6ZjM0MzMxMDUtMWQ0MS00MWY5LWI3OWUtZGQ5OTU0YWZlMjU0PC9zdEV2dDppbnN0YW5jZUlEPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6d2hlbj4yMDE2LTA5LTI3VDE0OjQyOjQ2LTA0OjAwPC9zdEV2dDp3aGVuPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6c29mdHdhcmVBZ2VudD5BZG9iZSBQaG90b3Nob3AgQ0MgMjAxNSAoTWFjaW50b3NoKTwvc3RFdnQ6c29mdHdhcmVBZ2VudD4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OmNoYW5nZWQ+Lzwvc3RFdnQ6Y2hhbmdlZD4KICAgICAgICAgICAgICAgPC9yZGY6bGk+CiAgICAgICAgICAgIDwvcmRmOlNlcT4KICAgICAgICAgPC94bXBNTTpIaXN0b3J5PgogICAgICAgICA8dGlmZjpPcmllbnRhdGlvbj4xPC90aWZmOk9yaWVudGF0aW9uPgogICAgICAgICA8dGlmZjpYUmVzb2x1dGlvbj43MjAwMDAvMTAwMDA8L3RpZmY6WFJlc29sdXRpb24+CiAgICAgICAgIDx0aWZmOllSZXNvbHV0aW9uPjcyMDAwMC8xMDAwMDwvdGlmZjpZUmVzb2x1dGlvbj4KICAgICAgICAgPHRpZmY6UmVzb2x1dGlvblVuaXQ+MjwvdGlmZjpSZXNvbHV0aW9uVW5pdD4KICAgICAgICAgPGV4aWY6Q29sb3JTcGFjZT42NTUzNTwvZXhpZjpDb2xvclNwYWNlPgogICAgICAgICA8ZXhpZjpQaXhlbFhEaW1lbnNpb24+MTk8L2V4aWY6UGl4ZWxYRGltZW5zaW9uPgogICAgICAgICA8ZXhpZjpQaXhlbFlEaW1lbnNpb24+MTk8L2V4aWY6UGl4ZWxZRGltZW5zaW9uPgogICAgICA8L3JkZjpEZXNjcmlwdGlvbj4KICAgPC9yZGY6UkRGPgo8L3g6eG1wbWV0YT4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAKPD94cGFja2V0IGVuZD0idyI/Pha0btIAAAAgY0hSTQAAeiUAAICDAAD5/wAAgOkAAHUwAADqYAAAOpgAABdvkl/FRgAAAIpJREFUeNrs0iEOwlAURNHWQELCKnBkkquuw7AMJBrNPmAB7APFRpB4BIYU8zGoBlOKgVSMPcl7M1UppfpWqgEbsL/AgqtgE7y/SRNcd8HGwWOwvMkpOO10ZnARvLWga3DZ+WfBOrhvYYdg/VEBwVnw/IIuwXmvNoOb4CO47T2N4Ci4C05+d7TPAQDI0+uzXmmUKgAAAABJRU5ErkJggg==)}',""])},function(e,t,n){"use strict";n.r(t);var g=n(1),r=n.n(g),a=n(0),C=n.n(a),A=n(10),i=n(2),I=n.n(i),o=n(9),s=n.n(o);function u(e,t){for(var n=0;n<t.length;n++){var g=t[n];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(e,g.key,g)}}function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var g in n)Object.prototype.hasOwnProperty.call(n,g)&&(e[g]=n[g])}return e}).apply(this,arguments)}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var p={top:0,right:0,bottom:0,left:0,width:0,height:0};C.a.shape({top:C.a.number.isRequired,right:C.a.number.isRequired,bottom:C.a.number.isRequired,left:C.a.number.isRequired,width:C.a.number.isRequired,height:C.a.number.isRequired}),C.a.func;function d(e,t){for(var n=0;n<t.length;n++){var g=t[n];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(e,g.key,g)}}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(){return(y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var g in n)Object.prototype.hasOwnProperty.call(n,g)&&(e[g]=n[g])}return e}).apply(this,arguments)}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},g=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(g=g.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),g.forEach(function(t){m(e,t,n[t])})}return e}function b(e){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function x(e,t){return(x=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _(e,t){if(null==e)return{};var n,g,r=function(e,t){if(null==e)return{};var n,g,r={},a=Object.keys(e);for(g=0;g<a.length;g++)n=a[g],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(g=0;g<a.length;g++)n=a[g],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function w(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}C.a.bool,C.a.number,C.a.number,C.a.object,C.a.func,C.a.func,C.a.func;function T(e){var t=e.className,n=e.top,g=e.left,a=e.style,C=e.children,A=_(e,["className","top","left","style","children"]);return r.a.createElement("div",y({className:I()("vx-tooltip-portal",t),style:v({position:"absolute",backgroundColor:"white",color:"#666666",padding:".3rem .5rem",borderRadius:"3px",fontSize:"14px",boxShadow:"0 1px 2px rgba(33,33,33,0.2)",lineHeight:"1em",pointerEvents:"none",top:n,left:g},a)},A),C)}T.propTypes={left:C.a.oneOfType([C.a.number,C.a.string]),top:C.a.oneOfType([C.a.number,C.a.string]),className:C.a.string,style:C.a.object,children:C.a.any};var O=C.a.shape({top:C.a.number.isRequired,right:C.a.number.isRequired,bottom:C.a.number.isRequired,left:C.a.number.isRequired,width:C.a.number.isRequired,height:C.a.number.isRequired}),k=v({},{getRects:C.a.func,rect:O,parentRect:O},{left:C.a.oneOfType([C.a.number,C.a.string]),top:C.a.oneOfType([C.a.number,C.a.string]),className:C.a.string,style:C.a.object,children:C.a.any},{offsetLeft:C.a.number,offsetTop:C.a.number});function P(e){var t=e.left,n=e.top,g=e.offsetLeft,a=void 0===g?10:g,C=e.offsetTop,A=void 0===C?10:C,i=e.rect,I=e.parentRect,o=(e.getRects,e.children),s=e.style,u=_(e,["left","top","offsetLeft","offsetTop","rect","parentRect","getRects","children","style"]),c=t,l=n;return i&&I&&(c=a+i.right>I.right||a+i.right>window.innerWidth?c-i.width-a:c+a,l=A+i.bottom>I.bottom||A+i.bottom>window.innerHeight?l-i.height-A:l+A),c=Math.round(c),l=Math.round(l),r.a.createElement(T,y({style:v({top:0,transform:"translate(".concat(c,"px, ").concat(l,"px)")},s)},u),o)}P.propTypes=k,P.defaultProps={};var N=function(e){var t=function(t){function n(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),(t=function(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?h(e):t}(this,l(n).call(this,e))).state={rect:void 0,parentRect:void 0},t.getRects=t.getRects.bind(h(h(t))),t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}(n,r.a.PureComponent),function(e,t,n){t&&u(e.prototype,t),n&&u(e,n)}(n,[{key:"componentDidMount",value:function(){var e=this;this.node=s.a.findDOMNode(this),this.setState(function(){return e.getRects()})}},{key:"getRects",value:function(){if(!this.node)return this.state;var e=this.node,t=this.node.parentNode;return{rect:e.getBoundingClientRect?e.getBoundingClientRect():p,parentRect:t&&t.getBoundingClientRect?t.getBoundingClientRect():p}}},{key:"render",value:function(){return r.a.createElement(e,c({getRects:this.getRects},this.state,this.props))}}]),n}();return t.propTypes=e.propTypes,t.defaultProps=e.defaultProps,t.displayName="withBoundingRects(".concat(e.displayName||"",")"),t}(P);function E(e,t){for(var n=0;n<t.length;n++){var g=t[n];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(e,g.key,g)}}var M=function(){function e(t){var n=t.x,g=void 0===n?0:n,r=t.y,a=void 0===r?0:r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.x=g,this.y=a}return function(e,t,n){t&&E(e.prototype,t),n&&E(e,n)}(e,[{key:"value",value:function(){return{x:this.x,y:this.y}}},{key:"toArray",value:function(){return[this.x,this.y]}}]),e}();function R(e,t){if(e){if(e.target)for(e=(t=e).target.ownerSVGElement;e.ownerSVGElement;)e=e.ownerSVGElement;var n=t,g=n.clientX,r=n.clientY;if(t.changedTouches&&(g=t.changedTouches[0].clientX,r=t.changedTouches[0].clientY),e.createSVGPoint){var a=e.createSVGPoint();return a.x=g,a.y=r,a=a.matrixTransform(e.getScreenCTM().inverse()),new M({x:a.x,y:a.y})}var C=e.getBoundingClientRect();return new M({x:g-C.left-e.clientLeft,y:r-C.top-e.clientTop})}}function S(){return(S=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var g in n)Object.prototype.hasOwnProperty.call(n,g)&&(e[g]=n[g])}return e}).apply(this,arguments)}function j(e,t){if(null==e)return{};var n,g,r=function(e,t){if(null==e)return{};var n,g,r={},a=Object.keys(e);for(g=0;g<a.length;g++)n=a[g],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(g=0;g<a.length;g++)n=a[g],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function D(e){var t=e.top,n=void 0===t?0:t,g=e.left,a=void 0===g?0:g,C=e.transform,A=e.className,i=e.children,o=j(e,["top","left","transform","className","children"]);return r.a.createElement("g",S({className:I()("vx-group",A),transform:C||"translate(".concat(a,", ").concat(n,")")},o),i)}D.propTypes={top:C.a.number,left:C.a.number,transform:C.a.string,className:C.a.string,children:C.a.any};var z=Math.PI,W=2*z,L=W-1e-6;function F(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function Z(){return new F}F.prototype=Z.prototype={constructor:F,moveTo:function(e,t){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(e,t){this._+="L"+(this._x1=+e)+","+(this._y1=+t)},quadraticCurveTo:function(e,t,n,g){this._+="Q"+ +e+","+ +t+","+(this._x1=+n)+","+(this._y1=+g)},bezierCurveTo:function(e,t,n,g,r,a){this._+="C"+ +e+","+ +t+","+ +n+","+ +g+","+(this._x1=+r)+","+(this._y1=+a)},arcTo:function(e,t,n,g,r){e=+e,t=+t,n=+n,g=+g,r=+r;var a=this._x1,C=this._y1,A=n-e,i=g-t,I=a-e,o=C-t,s=I*I+o*o;if(r<0)throw new Error("negative radius: "+r);if(null===this._x1)this._+="M"+(this._x1=e)+","+(this._y1=t);else if(s>1e-6)if(Math.abs(o*A-i*I)>1e-6&&r){var u=n-a,c=g-C,l=A*A+i*i,f=u*u+c*c,h=Math.sqrt(l),p=Math.sqrt(s),d=r*Math.tan((z-Math.acos((l+s-f)/(2*h*p)))/2),m=d/p,y=d/h;Math.abs(m-1)>1e-6&&(this._+="L"+(e+m*I)+","+(t+m*o)),this._+="A"+r+","+r+",0,0,"+ +(o*u>I*c)+","+(this._x1=e+y*A)+","+(this._y1=t+y*i)}else this._+="L"+(this._x1=e)+","+(this._y1=t);else;},arc:function(e,t,n,g,r,a){e=+e,t=+t;var C=(n=+n)*Math.cos(g),A=n*Math.sin(g),i=e+C,I=t+A,o=1^a,s=a?g-r:r-g;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+i+","+I:(Math.abs(this._x1-i)>1e-6||Math.abs(this._y1-I)>1e-6)&&(this._+="L"+i+","+I),n&&(s<0&&(s=s%W+W),s>L?this._+="A"+n+","+n+",0,1,"+o+","+(e-C)+","+(t-A)+"A"+n+","+n+",0,1,"+o+","+(this._x1=i)+","+(this._y1=I):s>1e-6&&(this._+="A"+n+","+n+",0,"+ +(s>=z)+","+o+","+(this._x1=e+n*Math.cos(r))+","+(this._y1=t+n*Math.sin(r))))},rect:function(e,t,n,g){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)+"h"+ +n+"v"+ +g+"h"+-n+"Z"},toString:function(){return this._}};var G=Z,U=function(e){return function(){return e}},V=(Math.abs,Math.atan2,Math.cos,Math.max,Math.min,Math.sin,Math.sqrt,1e-12),Y=Math.PI,K=2*Y;function q(e){this._context=e}q.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t)}}};var H=function(e){return new q(e)};function B(e){return e[0]}function Q(e){return e[1]}var X=function(){var e=B,t=Q,n=U(!0),g=null,r=H,a=null;function C(C){var A,i,I,o=C.length,s=!1;for(null==g&&(a=r(I=G())),A=0;A<=o;++A)!(A<o&&n(i=C[A],A,C))===s&&((s=!s)?a.lineStart():a.lineEnd()),s&&a.point(+e(i,A,C),+t(i,A,C));if(I)return a=null,I+""||null}return C.x=function(t){return arguments.length?(e="function"==typeof t?t:U(+t),C):e},C.y=function(e){return arguments.length?(t="function"==typeof e?e:U(+e),C):t},C.defined=function(e){return arguments.length?(n="function"==typeof e?e:U(!!e),C):n},C.curve=function(e){return arguments.length?(r=e,null!=g&&(a=r(g)),C):r},C.context=function(e){return arguments.length?(null==e?g=a=null:a=r(g=e),C):g},C},J=function(){var e=B,t=null,n=U(0),g=Q,r=U(!0),a=null,C=H,A=null;function i(i){var I,o,s,u,c,l=i.length,f=!1,h=new Array(l),p=new Array(l);for(null==a&&(A=C(c=G())),I=0;I<=l;++I){if(!(I<l&&r(u=i[I],I,i))===f)if(f=!f)o=I,A.areaStart(),A.lineStart();else{for(A.lineEnd(),A.lineStart(),s=I-1;s>=o;--s)A.point(h[s],p[s]);A.lineEnd(),A.areaEnd()}f&&(h[I]=+e(u,I,i),p[I]=+n(u,I,i),A.point(t?+t(u,I,i):h[I],g?+g(u,I,i):p[I]))}if(c)return A=null,c+""||null}function I(){return X().defined(r).curve(C).context(a)}return i.x=function(n){return arguments.length?(e="function"==typeof n?n:U(+n),t=null,i):e},i.x0=function(t){return arguments.length?(e="function"==typeof t?t:U(+t),i):e},i.x1=function(e){return arguments.length?(t=null==e?null:"function"==typeof e?e:U(+e),i):t},i.y=function(e){return arguments.length?(n="function"==typeof e?e:U(+e),g=null,i):n},i.y0=function(e){return arguments.length?(n="function"==typeof e?e:U(+e),i):n},i.y1=function(e){return arguments.length?(g=null==e?null:"function"==typeof e?e:U(+e),i):g},i.lineX0=i.lineY0=function(){return I().x(e).y(n)},i.lineY1=function(){return I().x(e).y(g)},i.lineX1=function(){return I().x(t).y(n)},i.defined=function(e){return arguments.length?(r="function"==typeof e?e:U(!!e),i):r},i.curve=function(e){return arguments.length?(C=e,null!=a&&(A=C(a)),i):C},i.context=function(e){return arguments.length?(null==e?a=A=null:A=C(a=e),i):a},i};ee(H);function $(e){this._curve=e}function ee(e){function t(t){return new $(e(t))}return t._curve=e,t}$.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(e,t){this._curve.point(t*Math.sin(e),t*-Math.cos(e))}};var te=Array.prototype.slice;Math.sqrt(1/3);var ne=Math.sin(Y/10)/Math.sin(7*Y/10),ge=(Math.sin(K/10),Math.cos(K/10),Math.sqrt(3),Math.sqrt(3),Math.sqrt(12),function(){});function re(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function ae(e){this._context=e}ae.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:re(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:re(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function Ce(e){this._context=e}Ce.prototype={areaStart:ge,areaEnd:ge,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:re(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function Ae(e){this._context=e}Ae.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,g=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,g):this._context.moveTo(n,g);break;case 3:this._point=4;default:re(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function ie(e,t){this._basis=new ae(e),this._beta=t}ie.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var e=this._x,t=this._y,n=e.length-1;if(n>0)for(var g,r=e[0],a=t[0],C=e[n]-r,A=t[n]-a,i=-1;++i<=n;)g=i/n,this._basis.point(this._beta*e[i]+(1-this._beta)*(r+g*C),this._beta*t[i]+(1-this._beta)*(a+g*A));this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}};(function e(t){function n(e){return 1===t?new ae(e):new ie(e,t)}return n.beta=function(t){return e(+t)},n})(.85);function Ie(e,t,n){e._context.bezierCurveTo(e._x1+e._k*(e._x2-e._x0),e._y1+e._k*(e._y2-e._y0),e._x2+e._k*(e._x1-t),e._y2+e._k*(e._y1-n),e._x2,e._y2)}function oe(e,t){this._context=e,this._k=(1-t)/6}oe.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:Ie(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2,this._x1=e,this._y1=t;break;case 2:this._point=3;default:Ie(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};(function e(t){function n(e){return new oe(e,t)}return n.tension=function(t){return e(+t)},n})(0);function se(e,t){this._context=e,this._k=(1-t)/6}se.prototype={areaStart:ge,areaEnd:ge,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:Ie(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};(function e(t){function n(e){return new se(e,t)}return n.tension=function(t){return e(+t)},n})(0);function ue(e,t){this._context=e,this._k=(1-t)/6}ue.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Ie(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};(function e(t){function n(e){return new ue(e,t)}return n.tension=function(t){return e(+t)},n})(0);function ce(e,t,n){var g=e._x1,r=e._y1,a=e._x2,C=e._y2;if(e._l01_a>V){var A=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,i=3*e._l01_a*(e._l01_a+e._l12_a);g=(g*A-e._x0*e._l12_2a+e._x2*e._l01_2a)/i,r=(r*A-e._y0*e._l12_2a+e._y2*e._l01_2a)/i}if(e._l23_a>V){var I=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,o=3*e._l23_a*(e._l23_a+e._l12_a);a=(a*I+e._x1*e._l23_2a-t*e._l12_2a)/o,C=(C*I+e._y1*e._l23_2a-n*e._l12_2a)/o}e._context.bezierCurveTo(g,r,a,C,e._x2,e._y2)}function le(e,t){this._context=e,this._alpha=t}le.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,g=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+g*g,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3;default:ce(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};(function e(t){function n(e){return t?new le(e,t):new oe(e,0)}return n.alpha=function(t){return e(+t)},n})(.5);function fe(e,t){this._context=e,this._alpha=t}fe.prototype={areaStart:ge,areaEnd:ge,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,g=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+g*g,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:ce(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};(function e(t){function n(e){return t?new fe(e,t):new se(e,0)}return n.alpha=function(t){return e(+t)},n})(.5);function he(e,t){this._context=e,this._alpha=t}he.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,g=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+g*g,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:ce(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};(function e(t){function n(e){return t?new he(e,t):new ue(e,0)}return n.alpha=function(t){return e(+t)},n})(.5);function pe(e){this._context=e}pe.prototype={areaStart:ge,areaEnd:ge,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}};function de(e){return e<0?-1:1}function me(e,t,n){var g=e._x1-e._x0,r=t-e._x1,a=(e._y1-e._y0)/(g||r<0&&-0),C=(n-e._y1)/(r||g<0&&-0),A=(a*r+C*g)/(g+r);return(de(a)+de(C))*Math.min(Math.abs(a),Math.abs(C),.5*Math.abs(A))||0}function ye(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function ve(e,t,n){var g=e._x0,r=e._y0,a=e._x1,C=e._y1,A=(a-g)/3;e._context.bezierCurveTo(g+A,r+A*t,a-A,C-A*n,a,C)}function be(e){this._context=e}function xe(e){this._context=new _e(e)}function _e(e){this._context=e}function we(e){this._context=e}function Te(e){var t,n,g=e.length-1,r=new Array(g),a=new Array(g),C=new Array(g);for(r[0]=0,a[0]=2,C[0]=e[0]+2*e[1],t=1;t<g-1;++t)r[t]=1,a[t]=4,C[t]=4*e[t]+2*e[t+1];for(r[g-1]=2,a[g-1]=7,C[g-1]=8*e[g-1]+e[g],t=1;t<g;++t)n=r[t]/a[t-1],a[t]-=n,C[t]-=n*C[t-1];for(r[g-1]=C[g-1]/a[g-1],t=g-2;t>=0;--t)r[t]=(C[t]-r[t+1])/a[t];for(a[g-1]=(e[g]+r[g-1])/2,t=0;t<g-1;++t)a[t]=2*e[t+1]-r[t+1];return[r,a]}be.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:ve(this,this._t0,ye(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(t=+t,(e=+e)!==this._x1||t!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,ve(this,ye(this,n=me(this,e,t)),n);break;default:ve(this,this._t0,n=me(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}},(xe.prototype=Object.create(be.prototype)).point=function(e,t){be.prototype.point.call(this,t,e)},_e.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,g,r,a){this._context.bezierCurveTo(t,e,g,n,a,r)}},we.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,n=e.length;if(n)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),2===n)this._context.lineTo(e[1],t[1]);else for(var g=Te(e),r=Te(t),a=0,C=1;C<n;++a,++C)this._context.bezierCurveTo(g[0][a],r[0][a],g[1][a],r[1][a],e[C],t[C]);(this._line||0!==this._line&&1===n)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}};function Oe(e,t){this._context=e,this._t=t}Oe.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}};var ke=function(e,t){if((r=e.length)>1)for(var n,g,r,a=1,C=e[t[0]],A=C.length;a<r;++a)for(g=C,C=e[t[a]],n=0;n<A;++n)C[n][1]+=C[n][0]=isNaN(g[n][1])?g[n][0]:g[n][1]},Pe=function(e){for(var t=e.length,n=new Array(t);--t>=0;)n[t]=t;return n};function Ne(e,t){return e[t]}var Ee=function(){var e=U([]),t=Pe,n=ke,g=Ne;function r(r){var a,C,A=e.apply(this,arguments),i=r.length,I=A.length,o=new Array(I);for(a=0;a<I;++a){for(var s,u=A[a],c=o[a]=new Array(i),l=0;l<i;++l)c[l]=s=[0,+g(r[l],u,l,r)],s.data=r[l];c.key=u}for(a=0,C=t(o);a<I;++a)o[C[a]].index=a;return n(o,C),o}return r.keys=function(t){return arguments.length?(e="function"==typeof t?t:U(te.call(t)),r):e},r.value=function(e){return arguments.length?(g="function"==typeof e?e:U(+e),r):g},r.order=function(e){return arguments.length?(t=null==e?Pe:"function"==typeof e?e:U(te.call(e)),r):t},r.offset=function(e){return arguments.length?(n=null==e?ke:e,r):n},r},Me=function(e,t){if((g=e.length)>0){for(var n,g,r,a=0,C=e[0].length;a<C;++a){for(r=n=0;n<g;++n)r+=e[n][a][1]||0;if(r)for(n=0;n<g;++n)e[n][a][1]/=r}ke(e,t)}},Re=function(e,t){if((A=e.length)>1)for(var n,g,r,a,C,A,i=0,I=e[t[0]].length;i<I;++i)for(a=C=0,n=0;n<A;++n)(r=(g=e[t[n]][i])[1]-g[0])>=0?(g[0]=a,g[1]=a+=r):r<0?(g[1]=C,g[0]=C+=r):g[0]=a},Se=function(e,t){if((n=e.length)>0){for(var n,g=0,r=e[t[0]],a=r.length;g<a;++g){for(var C=0,A=0;C<n;++C)A+=e[C][g][1]||0;r[g][1]+=r[g][0]=-A/2}ke(e,t)}},je=function(e,t){if((r=e.length)>0&&(g=(n=e[t[0]]).length)>0){for(var n,g,r,a=0,C=1;C<g;++C){for(var A=0,i=0,I=0;A<r;++A){for(var o=e[t[A]],s=o[C][1]||0,u=(s-(o[C-1][1]||0))/2,c=0;c<A;++c){var l=e[t[c]];u+=(l[C][1]||0)-(l[C-1][1]||0)}i+=s,I+=u*s}n[C-1][1]+=n[C-1][0]=a,i&&(a-=I/i)}n[C-1][1]+=n[C-1][0]=a,ke(e,t)}};function De(e){for(var t,n=-1,g=0,r=e.length,a=-1/0;++n<r;)(t=+e[n][1])>a&&(a=t,g=n);return g}var ze=function(e){var t=e.map(We);return Pe(e).sort(function(e,n){return t[e]-t[n]})};function We(e){for(var t,n=0,g=-1,r=e.length;++g<r;)(t=+e[g][1])&&(n+=t);return n}var Le=function(e){return ze(e).reverse()},Fe=function(e){var t,n,g=e.length,r=e.map(We),a=function(e){var t=e.map(De);return Pe(e).sort(function(e,n){return t[e]-t[n]})}(e),C=0,A=0,i=[],I=[];for(t=0;t<g;++t)n=a[t],C<A?(C+=r[n],i.push(n)):(A+=r[n],I.push(n));return I.reverse().concat(i)},Ze=function(e){return Pe(e).reverse()};function Ge(){return(Ge=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var g in n)Object.prototype.hasOwnProperty.call(n,g)&&(e[g]=n[g])}return e}).apply(this,arguments)}function Ue(e,t){if(null==e)return{};var n,g,r=function(e,t){if(null==e)return{};var n,g,r={},a=Object.keys(e);for(g=0;g<a.length;g++)n=a[g],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(g=0;g<a.length;g++)n=a[g],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Ve(e){var t=e.from,n=void 0===t?new M({x:0,y:0}):t,g=e.to,a=void 0===g?new M({x:1,y:1}):g,C=e.fill,A=void 0===C?"transparent":C,i=e.className,o=void 0===i?"":i,s=e.innerRef,u=Ue(e,["from","to","fill","className","innerRef"]);return r.a.createElement("line",Ge({ref:s,className:I()("vx-line",o),x1:n.x,y1:n.y,x2:a.x,y2:a.y,fill:A},u))}function Ye(e){var t=e.children,n=e.data,g=e.x,a=e.y,C=e.fill,A=void 0===C?"transparent":C,i=e.className,o=e.curve,s=e.innerRef,u=e.defined,c=void 0===u?function(){return!0}:u,l=Ue(e,["children","data","x","y","fill","className","curve","innerRef","defined"]),f=X();return g&&f.x(g),a&&f.y(a),c&&f.defined(c),o&&f.curve(o),t?t({path:f}):r.a.createElement("path",Ge({ref:s,className:I()("vx-linepath",i),d:f(n),fill:A},l))}C.a.string,C.a.any,C.a.func,C.a.func,C.a.oneOfType([C.a.func,C.a.number]),C.a.oneOfType([C.a.func,C.a.number]),C.a.oneOfType([C.a.func,C.a.number]),C.a.oneOfType([C.a.func,C.a.number]),C.a.oneOfType([C.a.func,C.a.number]),C.a.oneOfType([C.a.func,C.a.number]),C.a.oneOfType([C.a.func,C.a.number]),C.a.oneOfType([C.a.func,C.a.number]),C.a.string,C.a.number,C.a.number,C.a.array,C.a.oneOfType([C.a.func,C.a.number]),C.a.oneOfType([C.a.func,C.a.number]),C.a.oneOfType([C.a.func,C.a.number]),C.a.oneOfType([C.a.func,C.a.number]),C.a.oneOfType([C.a.func,C.a.number]),C.a.oneOfType([C.a.func,C.a.number]),C.a.oneOfType([C.a.func,C.a.number]),C.a.oneOfType([C.a.func,C.a.number]),C.a.oneOfType([C.a.func,C.a.number]),C.a.func,C.a.func,C.a.func,Ve.propTypes={className:C.a.string,innerRef:C.a.func,from:C.a.shape({x:C.a.number,y:C.a.number}),to:C.a.shape({x:C.a.number,y:C.a.number})},Ye.propTypes={innerRef:C.a.func,data:C.a.array,curve:C.a.func,defined:C.a.oneOf([C.a.func,C.a.bool]),x:C.a.oneOfType([C.a.func,C.a.number]),y:C.a.oneOfType([C.a.func,C.a.number])},C.a.func,C.a.string,C.a.any,C.a.func,C.a.oneOfType([C.a.func,C.a.number]),C.a.oneOfType([C.a.func,C.a.number]),C.a.func,C.a.string,C.a.any,C.a.func,C.a.func,C.a.func,C.a.oneOfType([C.a.func,C.a.number]),C.a.oneOfType([C.a.func,C.a.number]),C.a.oneOfType([C.a.func,C.a.number]),C.a.oneOfType([C.a.func,C.a.number]),C.a.oneOfType([C.a.func,C.a.number]),C.a.oneOfType([C.a.func,C.a.number]),C.a.func,C.a.string,C.a.any,C.a.func,C.a.func,C.a.func,C.a.func,C.a.oneOfType([C.a.func,C.a.number]),C.a.oneOfType([C.a.func,C.a.number]),C.a.oneOfType([C.a.func,C.a.number]),C.a.oneOfType([C.a.func,C.a.number]),C.a.oneOfType([C.a.func,C.a.number]);var Ke={ascending:ze,descending:Le,insideout:Fe,none:Pe,reverse:Ze};Object.keys(Ke);function qe(e){return Ke[e]||Ke.none}var He={expand:Me,diverging:Re,none:ke,silhouette:Se,wiggle:je};Object.keys(He);function Be(e){return He[e]||He.none}function Qe(e){var t=e.className,n=e.top,g=e.left,a=e.keys,C=e.data,A=e.curve,i=e.defined,o=e.x,s=e.x0,u=e.x1,c=e.y0,l=e.y1,f=e.value,h=e.order,p=e.offset,d=e.color,m=e.children,y=Ue(e,["className","top","left","keys","data","curve","defined","x","x0","x1","y0","y1","value","order","offset","color","children"]),v=Ee();a&&v.keys(a),f&&v.value(f),h&&v.order(qe(h)),p&&v.offset(Be(p));var b=J();o&&b.x(o),s&&b.x0(s),u&&b.x1(u),c&&b.y0(c),l&&b.y1(l),A&&b.curve(A),i&&b.defined(i);var x=v(C);return m?m({stacks:x,path:b,stack:v}):r.a.createElement(D,{top:n,left:g},x.map(function(e,n){return r.a.createElement("path",Ge({className:I()("vx-stack",t),key:"stack-".concat(n,"-").concat(e.key||""),d:b(e),fill:d(e.key,n)},y))}))}function Xe(e){var t=e.className,n=e.innerRef,g=Ue(e,["className","innerRef"]);return r.a.createElement("rect",Ge({ref:n,className:I()("vx-bar",t)},g))}function Je(e,t){return!!e[t]&&"function"==typeof e[t]}function $e(e){var t=e.data,n=e.className,g=e.top,a=e.left,C=e.x0,A=e.x0Scale,i=e.x1Scale,o=e.yScale,s=e.color,u=e.keys,c=e.height,l=e.children,f=Ue(e,["data","className","top","left","x0","x0Scale","x1Scale","yScale","color","keys","height","children"]),h=i.range(),p=i.domain(),d=Je(i,"bandwidth")?i.bandwidth():Math.abs(h[h.length-1]-h[0])/p.length,m=t.map(function(e,t){return{index:t,x0:A(C(e)),bars:u.map(function(t,n){var g=e[t];return{index:n,key:t,value:g,width:d,x:i(t),y:o(g),color:s(t,n),height:c-o(g)}})}});return l?l(m):r.a.createElement(D,{className:I()("vx-bar-group",n),top:g,left:a},m.map(function(e){return r.a.createElement(D,{key:"bar-group-".concat(e.index,"-").concat(e.x0),left:e.x0},e.bars.map(function(t){return r.a.createElement(Xe,Ge({key:"bar-group-bar-".concat(e.index,"-").concat(t.index,"-").concat(t.value,"-").concat(t.key),x:t.x,y:t.y,width:t.width,height:t.height,fill:t.color},f))}))}))}function et(e){var t=e.data,n=e.className,g=e.top,a=e.left,C=e.y,A=e.x0,i=void 0===A?function(e){return e[0]}:A,o=e.x1,s=void 0===o?function(e){return e[1]}:o,u=e.xScale,c=e.yScale,l=e.color,f=e.keys,h=e.value,p=e.order,d=e.offset,m=e.children,y=Ue(e,["data","className","top","left","y","x0","x1","xScale","yScale","color","keys","value","order","offset","children"]),v=Ee();f&&v.keys(f),h&&v.value(h),p&&v.order(qe(p)),d&&v.offset(Be(d));var b=v(t),x=c.range(),_=c.domain(),w=Je(c,"bandwidth")?c.bandwidth():Math.abs(x[x.length-1]-x[0])/_.length,T=b.map(function(e,t){var n=e.key;return{index:t,key:n,bars:e.map(function(t,g){var r=u(s(t))-u(i(t)),a=u(i(t)),A=Je(c,"bandwidth")?c(C(t.data)):Math.max(c(C(t.data))-r/2);return{bar:t,key:n,index:g,height:w,width:r,x:a,y:A,color:l(e.key,g)}})}});return m?m(T):r.a.createElement(D,{className:I()("vx-bar-stack-horizontal",n),top:g,left:a},T.map(function(e){return e.bars.map(function(t){return r.a.createElement(Xe,Ge({key:"bar-stack-".concat(e.index,"-").concat(t.index),x:t.x,y:t.y,height:t.height,width:t.width,fill:t.color},y))})}))}Qe.propTypes={data:C.a.array.isRequired,className:C.a.string,top:C.a.number,left:C.a.number,curve:C.a.func,color:C.a.func,keys:C.a.array,children:C.a.func,x:C.a.oneOfType([C.a.func,C.a.number]),x0:C.a.oneOfType([C.a.func,C.a.number]),x1:C.a.oneOfType([C.a.func,C.a.number]),y:C.a.oneOfType([C.a.func,C.a.number]),y0:C.a.oneOfType([C.a.func,C.a.number]),y1:C.a.oneOfType([C.a.func,C.a.number]),value:C.a.oneOfType([C.a.func,C.a.number]),defined:C.a.oneOfType([C.a.func,C.a.bool]),order:C.a.oneOfType([C.a.func,C.a.array,C.a.string]),offset:C.a.oneOfType([C.a.func,C.a.array,C.a.string])},C.a.string,C.a.number,C.a.number,C.a.array,C.a.array,C.a.func,C.a.func,C.a.func,C.a.oneOfType([C.a.func,C.a.number]),C.a.oneOfType([C.a.func,C.a.number]),C.a.oneOfType([C.a.func,C.a.number]),C.a.oneOfType([C.a.func,C.a.number]),C.a.oneOfType([C.a.func,C.a.number]),C.a.oneOfType([C.a.func,C.a.number]),C.a.oneOfType([C.a.func,C.a.number]),C.a.oneOfType([C.a.func,C.a.bool]),C.a.oneOfType([C.a.func,C.a.array,C.a.string]),C.a.oneOfType([C.a.func,C.a.array,C.a.string]),Xe.propTypes={innerRef:C.a.func,className:C.a.string},$e.propTypes={data:C.a.array.isRequired,x0:C.a.func.isRequired,x0Scale:C.a.func.isRequired,x1Scale:C.a.func.isRequired,yScale:C.a.func.isRequired,color:C.a.func.isRequired,keys:C.a.array.isRequired,height:C.a.number.isRequired,className:C.a.string,top:C.a.number,left:C.a.number,children:C.a.func},C.a.array.isRequired,C.a.func.isRequired,C.a.func.isRequired,C.a.func.isRequired,C.a.func.isRequired,C.a.func.isRequired,C.a.array.isRequired,C.a.number.isRequired,C.a.string,C.a.func,C.a.number,C.a.number,C.a.func,C.a.array.isRequired,C.a.func.isRequired,C.a.func.isRequired,C.a.func.isRequired,C.a.func.isRequired,C.a.array.isRequired,C.a.string,C.a.number,C.a.number,C.a.func,C.a.func,C.a.func,C.a.oneOfType([C.a.func,C.a.array,C.a.string]),C.a.oneOfType([C.a.func,C.a.array,C.a.string]),C.a.oneOfType([C.a.func,C.a.number]),et.propTypes={data:C.a.array.isRequired,y:C.a.func.isRequired,x0:C.a.func,x1:C.a.func,xScale:C.a.func.isRequired,yScale:C.a.func.isRequired,color:C.a.func.isRequired,keys:C.a.array.isRequired,className:C.a.string,top:C.a.number,left:C.a.number,order:C.a.oneOfType([C.a.func,C.a.array,C.a.string]),offset:C.a.oneOfType([C.a.func,C.a.array,C.a.string]),value:C.a.oneOfType([C.a.func,C.a.number]),children:C.a.func};C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.number,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.number,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.number,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.number,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.number,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.number.isRequired,C.a.number.isRequired,C.a.string,C.a.number,C.a.func,C.a.func,C.a.shape({x:C.a.number,y:C.a.number});function tt(){return(tt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var g in n)Object.prototype.hasOwnProperty.call(n,g)&&(e[g]=n[g])}return e}).apply(this,arguments)}function nt(e,t){if(null==e)return{};var n,g,r=function(e,t){if(null==e)return{};var n,g,r={},a=Object.keys(e);for(g=0;g<a.length;g++)n=a[g],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(g=0;g<a.length;g++)n=a[g],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function gt(e){var t=e.top,n=void 0===t?0:t,g=e.left,a=void 0===g?0:g,C=e.transform,A=e.className,i=e.children,o=nt(e,["top","left","transform","className","children"]);return r.a.createElement("g",tt({className:I()("vx-group",A),transform:C||"translate(".concat(a,", ").concat(n,")")},o),i)}function rt(){return(rt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var g in n)Object.prototype.hasOwnProperty.call(n,g)&&(e[g]=n[g])}return e}).apply(this,arguments)}function at(e,t){if(null==e)return{};var n,g,r=function(e,t){if(null==e)return{};var n,g,r={},a=Object.keys(e);for(g=0;g<a.length;g++)n=a[g],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(g=0;g<a.length;g++)n=a[g],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Ct(e){var t=e.from,n=void 0===t?new M({x:0,y:0}):t,g=e.to,a=void 0===g?new M({x:1,y:1}):g,C=e.fill,A=void 0===C?"transparent":C,i=e.className,o=void 0===i?"":i,s=e.innerRef,u=at(e,["from","to","fill","className","innerRef"]);return r.a.createElement("line",rt({ref:s,className:I()("vx-line",o),x1:n.x,y1:n.y,x2:a.x,y2:a.y,fill:A},u))}C.a.func,C.a.string,C.a.string,C.a.any,C.a.func,C.a.func,C.a.oneOfType([C.a.func,C.a.number]),C.a.oneOfType([C.a.func,C.a.number]),C.a.oneOfType([C.a.func,C.a.number]),C.a.oneOfType([C.a.func,C.a.number]),C.a.oneOfType([C.a.func,C.a.number]),C.a.oneOfType([C.a.func,C.a.number]),C.a.oneOfType([C.a.func,C.a.number]),C.a.oneOfType([C.a.func,C.a.number]),C.a.string,C.a.number,C.a.number,C.a.array,C.a.oneOfType([C.a.func,C.a.number]),C.a.oneOfType([C.a.func,C.a.number]),C.a.oneOfType([C.a.func,C.a.number]),C.a.oneOfType([C.a.func,C.a.number]),C.a.oneOfType([C.a.func,C.a.number]),C.a.oneOfType([C.a.func,C.a.number]),C.a.oneOfType([C.a.func,C.a.number]),C.a.oneOfType([C.a.func,C.a.number]),C.a.oneOfType([C.a.func,C.a.number]),C.a.func,C.a.func,C.a.func,Ct.propTypes={className:C.a.string,innerRef:C.a.func,from:C.a.shape({x:C.a.number,y:C.a.number}),to:C.a.shape({x:C.a.number,y:C.a.number})},C.a.func,C.a.array,C.a.func,C.a.oneOf([C.a.func,C.a.bool]),C.a.oneOfType([C.a.func,C.a.number]),C.a.oneOfType([C.a.func,C.a.number]),C.a.func,C.a.string,C.a.any,C.a.func,C.a.oneOfType([C.a.func,C.a.number]),C.a.oneOfType([C.a.func,C.a.number]),C.a.func,C.a.string,C.a.any,C.a.func,C.a.func,C.a.func,C.a.oneOfType([C.a.func,C.a.number]),C.a.oneOfType([C.a.func,C.a.number]),C.a.oneOfType([C.a.func,C.a.number]),C.a.oneOfType([C.a.func,C.a.number]),C.a.oneOfType([C.a.func,C.a.number]),C.a.oneOfType([C.a.func,C.a.number]),C.a.func,C.a.string,C.a.any,C.a.func,C.a.func,C.a.func,C.a.func,C.a.oneOfType([C.a.func,C.a.number]),C.a.oneOfType([C.a.func,C.a.number]),C.a.oneOfType([C.a.func,C.a.number]),C.a.oneOfType([C.a.func,C.a.number]),C.a.oneOfType([C.a.func,C.a.number]);var At={ascending:ze,descending:Le,insideout:Fe,none:Pe,reverse:Ze};Object.keys(At);function it(e){return At[e]||At.none}var It={expand:Me,diverging:Re,none:ke,silhouette:Se,wiggle:je};Object.keys(It);function ot(e){return It[e]||It.none}function st(e){var t=e.className,n=e.top,g=e.left,a=e.keys,C=e.data,A=e.curve,i=e.defined,o=e.x,s=e.x0,u=e.x1,c=e.y0,l=e.y1,f=e.value,h=e.order,p=e.offset,d=e.color,m=e.children,y=at(e,["className","top","left","keys","data","curve","defined","x","x0","x1","y0","y1","value","order","offset","color","children"]),v=Ee();a&&v.keys(a),f&&v.value(f),h&&v.order(it(h)),p&&v.offset(ot(p));var b=J();o&&b.x(o),s&&b.x0(s),u&&b.x1(u),c&&b.y0(c),l&&b.y1(l),A&&b.curve(A),i&&b.defined(i);var x=v(C);return m?m({stacks:x,path:b,stack:v}):r.a.createElement(gt,{top:n,left:g},x.map(function(e,n){return r.a.createElement("path",rt({className:I()("vx-stack",t),key:"stack-".concat(n,"-").concat(e.key||""),d:b(e),fill:d(e.key,n)},y))}))}function ut(e){var t=e.className,n=e.innerRef,g=at(e,["className","innerRef"]);return r.a.createElement("rect",rt({ref:n,className:I()("vx-bar",t)},g))}st.propTypes={data:C.a.array.isRequired,className:C.a.string,top:C.a.number,left:C.a.number,curve:C.a.func,color:C.a.func,keys:C.a.array,children:C.a.func,x:C.a.oneOfType([C.a.func,C.a.number]),x0:C.a.oneOfType([C.a.func,C.a.number]),x1:C.a.oneOfType([C.a.func,C.a.number]),y:C.a.oneOfType([C.a.func,C.a.number]),y0:C.a.oneOfType([C.a.func,C.a.number]),y1:C.a.oneOfType([C.a.func,C.a.number]),value:C.a.oneOfType([C.a.func,C.a.number]),defined:C.a.oneOfType([C.a.func,C.a.bool]),order:C.a.oneOfType([C.a.func,C.a.array,C.a.string]),offset:C.a.oneOfType([C.a.func,C.a.array,C.a.string])},C.a.string,C.a.number,C.a.number,C.a.array,C.a.array,C.a.func,C.a.func,C.a.func,C.a.oneOfType([C.a.func,C.a.number]),C.a.oneOfType([C.a.func,C.a.number]),C.a.oneOfType([C.a.func,C.a.number]),C.a.oneOfType([C.a.func,C.a.number]),C.a.oneOfType([C.a.func,C.a.number]),C.a.oneOfType([C.a.func,C.a.number]),C.a.oneOfType([C.a.func,C.a.number]),C.a.oneOfType([C.a.func,C.a.bool]),C.a.oneOfType([C.a.func,C.a.array,C.a.string]),C.a.oneOfType([C.a.func,C.a.array,C.a.string]),ut.propTypes={innerRef:C.a.func,className:C.a.string},C.a.array.isRequired,C.a.func.isRequired,C.a.func.isRequired,C.a.func.isRequired,C.a.func.isRequired,C.a.func.isRequired,C.a.array.isRequired,C.a.number.isRequired,C.a.string,C.a.number,C.a.number,C.a.func,C.a.array.isRequired,C.a.func.isRequired,C.a.func.isRequired,C.a.func.isRequired,C.a.func.isRequired,C.a.func.isRequired,C.a.array.isRequired,C.a.number.isRequired,C.a.string,C.a.func,C.a.number,C.a.number,C.a.func,C.a.array.isRequired,C.a.func.isRequired,C.a.func.isRequired,C.a.func.isRequired,C.a.func.isRequired,C.a.array.isRequired,C.a.string,C.a.number,C.a.number,C.a.func,C.a.func,C.a.func,C.a.oneOfType([C.a.func,C.a.array,C.a.string]),C.a.oneOfType([C.a.func,C.a.array,C.a.string]),C.a.oneOfType([C.a.func,C.a.number]),C.a.array.isRequired,C.a.func.isRequired,C.a.func,C.a.func,C.a.func.isRequired,C.a.func.isRequired,C.a.func.isRequired,C.a.array.isRequired,C.a.string,C.a.number,C.a.number,C.a.oneOfType([C.a.func,C.a.array,C.a.string]),C.a.oneOfType([C.a.func,C.a.array,C.a.string]),C.a.oneOfType([C.a.func,C.a.number]),C.a.func;C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.number,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.number,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.number,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.number,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.number,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.func,C.a.number.isRequired,C.a.number.isRequired,C.a.string,C.a.number,C.a.func,C.a.func,C.a.shape({x:C.a.number,y:C.a.number});C.a.func,C.a.string;var ct=n(8);function lt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ft(){return(ft=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var g in n)Object.prototype.hasOwnProperty.call(n,g)&&(e[g]=n[g])}return e}).apply(this,arguments)}function ht(e){return e}var pt={top:"top",left:"left",right:"right",bottom:"bottom"};var dt={axisClassName:C.a.string,axisLineClassName:C.a.string,hideAxisLine:C.a.bool,hideTicks:C.a.bool,hideZero:C.a.bool,label:C.a.string,labelClassName:C.a.string,labelOffset:C.a.number,labelProps:C.a.object,left:C.a.number,numTicks:C.a.number,orientation:C.a.oneOf([pt.top,pt.right,pt.bottom,pt.left]),rangePadding:C.a.number,scale:C.a.func.isRequired,stroke:C.a.string,strokeWidth:C.a.number,strokeDasharray:C.a.string,tickClassName:C.a.string,tickFormat:C.a.func,tickLabelProps:C.a.func,tickLength:C.a.number,tickStroke:C.a.string,tickTransform:C.a.string,tickValues:C.a.array,tickComponent:C.a.func,top:C.a.number,children:C.a.func};function mt(e){var t=e.children,n=e.axisClassName,g=e.axisLineClassName,a=e.hideAxisLine,C=void 0!==a&&a,A=e.hideTicks,i=void 0!==A&&A,o=e.hideZero,s=void 0!==o&&o,u=e.label,c=void 0===u?"":u,l=e.labelClassName,f=e.labelOffset,h=void 0===f?14:f,p=e.labelProps,d=void 0===p?{textAnchor:"middle",fontFamily:"Arial",fontSize:10,fill:"black"}:p,m=e.left,y=void 0===m?0:m,v=e.numTicks,b=void 0===v?10:v,x=e.orientation,_=void 0===x?pt.bottom:x,w=e.rangePadding,T=void 0===w?0:w,O=e.scale,k=e.stroke,P=void 0===k?"black":k,N=e.strokeWidth,E=void 0===N?1:N,R=e.strokeDasharray,S=e.tickClassName,j=e.tickFormat,D=e.tickLabelProps,z=void 0===D?function(e,t){return{textAnchor:"middle",fontFamily:"Arial",fontSize:10,fill:"black"}}:D,W=e.tickLength,L=void 0===W?8:W,F=e.tickStroke,Z=void 0===F?"black":F,G=e.tickTransform,U=e.tickValues,V=e.tickComponent,Y=e.top,K=void 0===Y?0:Y,q=O.ticks?O.ticks(b):O.domain();U&&(q=U);var H=O.tickFormat?O.tickFormat():ht;j&&(H=j);var B=O.range(),Q=B[0]+.5-T,X=B[B.length-1]+.5+T,J=_!==pt.left&&_!==pt.right,$=_===pt.left,ee=_===pt.top,te=$||ee?-1:1,ne=(O.bandwidth?function(e){var t=e.bandwidth()/2;return e.round()&&(t=Math.round(t)),function(n){return e(n)+t}}:ht)(O.copy()),ge=new M({x:J?Q:0,y:J?0:Q}),re=new M({x:J?X:0,y:J?0:X}),ae=10;return t?r.a.createElement(gt,{className:I()("vx-axis",n),top:K,left:y},t({axisFromPoint:ge,axisToPoint:re,horizontal:J,tickSign:te,numTicks:b,label:c,rangePadding:T,tickLength:L,tickFormat:H,tickPosition:ne,ticks:q.map(function(e,t){return{value:e,index:t,from:new M({x:J?ne(e):0,y:J?0:ne(e)}),to:new M({x:J?ne(e):te*L,y:J?L*te:ne(e)}),formattedValue:H(e,t)}})})):r.a.createElement(gt,{className:I()("vx-axis",n),top:K,left:y},q.map(function(e,t){if(s&&0===e)return null;var n=new M({x:J?ne(e):0,y:J?0:ne(e)}),g=new M({x:J?ne(e):te*L,y:J?L*te:ne(e)}),a=z(e,t);return ae=Math.max(ae,a.fontSize||0),r.a.createElement(gt,{key:"vx-tick-".concat(e,"-").concat(t),className:I()("vx-axis-tick",S),transform:G},!i&&r.a.createElement(Ct,{from:n,to:g,stroke:Z}),V?V(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},g=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(g=g.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),g.forEach(function(t){lt(e,t,n[t])})}return e}({x:g.x,y:g.y+(J&&!ee?ae:0),formattedValue:H(e,t)},a)):r.a.createElement(ct.a,ft({x:g.x,y:g.y+(J&&!ee?ae:0)},a),H(e,t)))}),!C&&r.a.createElement(Ct,{className:I()("vx-axis-line",g),from:ge,to:re,stroke:P,strokeWidth:E,strokeDasharray:R}),c&&r.a.createElement(ct.a,ft({className:I()("vx-axis-label",l)},function(e){var t,n,g=e.labelOffset,r=e.labelProps,a=e.orientation,C=e.range,A=e.tickLabelFontSize,i=e.tickLength,I=a===pt.left||a===pt.top?-1:1,o=null;return a===pt.top||a===pt.bottom?(t=(C[0]+C[C.length-1])/2,n=I*(i+g+A+(a===pt.bottom?r.fontSize:0))):(t=I*((C[0]+C[C.length-1])/2),n=-(i+g),o="rotate(".concat(90*I,")")),{x:t,y:n,transform:o}}({labelOffset:h,labelProps:d,orientation:_,range:B,tickLabelFontSize:ae,tickLength:L}),d),c))}mt.propTypes=dt;var yt={axisClassName:C.a.string,axisLineClassName:C.a.string,hideAxisLine:C.a.bool,hideTicks:C.a.bool,hideZero:C.a.bool,label:C.a.string,labelClassName:C.a.string,labelOffset:C.a.number,labelProps:C.a.object,left:C.a.number,numTicks:C.a.number,rangePadding:C.a.number,scale:C.a.func.isRequired,stroke:C.a.string,strokeWidth:C.a.number,strokeDasharray:C.a.string,tickClassName:C.a.string,tickFormat:C.a.func,tickLabelProps:C.a.func,tickLength:C.a.number,tickStroke:C.a.string,tickTransform:C.a.string,tickValues:C.a.array,tickComponent:C.a.func,top:C.a.number,children:C.a.func};function vt(e){var t=e.children,n=e.axisClassName,g=e.axisLineClassName,a=e.hideAxisLine,C=e.hideTicks,A=e.hideZero,i=e.label,o=e.labelClassName,s=e.labelOffset,u=void 0===s?36:s,c=e.labelProps,l=e.left,f=e.numTicks,h=e.rangePadding,p=e.scale,d=e.stroke,m=e.strokeWidth,y=e.strokeDasharray,v=e.tickClassName,b=e.tickFormat,x=e.tickLabelProps,_=void 0===x?function(e){e.tick,e.index;return{dx:"-0.25em",dy:"0.25em",fill:"black",fontFamily:"Arial",fontSize:10,textAnchor:"end"}}:x,w=e.tickLength,T=void 0===w?8:w,O=e.tickStroke,k=e.tickTransform,P=e.tickValues,N=e.tickComponent,E=e.top;return r.a.createElement(mt,{axisClassName:I()("vx-axis-left",n),axisLineClassName:g,hideAxisLine:a,hideTicks:C,hideZero:A,label:i,labelClassName:o,labelOffset:u,labelProps:c,left:l,numTicks:f,orientation:pt.left,rangePadding:h,scale:p,stroke:d,strokeWidth:m,strokeDasharray:y,tickClassName:v,tickFormat:b,tickLabelProps:_,tickLength:T,tickStroke:O,tickTransform:k,tickValues:P,tickComponent:N,top:E,children:t})}vt.propTypes=yt;C.a.string,C.a.string,C.a.bool,C.a.bool,C.a.bool,C.a.string,C.a.string,C.a.number,C.a.object,C.a.number,C.a.number,C.a.number,C.a.func.isRequired,C.a.string,C.a.number,C.a.string,C.a.string,C.a.func,C.a.func,C.a.number,C.a.string,C.a.string,C.a.array,C.a.func,C.a.number,C.a.func;C.a.string,C.a.string,C.a.bool,C.a.bool,C.a.bool,C.a.string,C.a.string,C.a.number,C.a.object,C.a.number,C.a.number,C.a.number,C.a.func.isRequired,C.a.string,C.a.number,C.a.string,C.a.string,C.a.func,C.a.func,C.a.number,C.a.string,C.a.string,C.a.array,C.a.func,C.a.number,C.a.func;var bt={axisClassName:C.a.string,axisLineClassName:C.a.string,hideAxisLine:C.a.bool,hideTicks:C.a.bool,hideZero:C.a.bool,label:C.a.string,labelClassName:C.a.string,labelOffset:C.a.number,labelProps:C.a.object,left:C.a.number,numTicks:C.a.number,rangePadding:C.a.number,scale:C.a.func.isRequired,stroke:C.a.string,strokeWidth:C.a.number,strokeDasharray:C.a.string,tickClassName:C.a.string,tickFormat:C.a.func,tickLabelProps:C.a.func,tickLength:C.a.number,tickStroke:C.a.string,tickTransform:C.a.string,tickValues:C.a.array,tickComponent:C.a.func,top:C.a.number,children:C.a.func};function xt(e){var t=e.children,n=e.axisClassName,g=e.axisLineClassName,a=e.hideAxisLine,C=e.hideTicks,A=e.hideZero,i=e.label,o=e.labelClassName,s=e.labelOffset,u=void 0===s?8:s,c=e.labelProps,l=e.left,f=e.numTicks,h=e.rangePadding,p=e.scale,d=e.stroke,m=e.strokeWidth,y=e.strokeDasharray,v=e.tickClassName,b=e.tickFormat,x=e.tickLabelProps,_=void 0===x?function(e){e.tick,e.index;return{dy:"0.25em",fill:"black",fontFamily:"Arial",fontSize:10,textAnchor:"middle"}}:x,w=e.tickLength,T=void 0===w?8:w,O=e.tickStroke,k=e.tickTransform,P=e.tickValues,N=e.tickComponent,E=e.top;return r.a.createElement(mt,{axisClassName:I()("vx-axis-bottom",n),axisLineClassName:g,hideAxisLine:a,hideTicks:C,hideZero:A,label:i,labelClassName:o,labelOffset:u,labelProps:c,left:l,numTicks:f,orientation:pt.bottom,rangePadding:h,scale:p,stroke:d,strokeWidth:m,strokeDasharray:y,tickClassName:v,tickFormat:b,tickLabelProps:_,tickLength:T,tickStroke:O,tickTransform:k,tickValues:P,tickComponent:N,top:E,children:t})}xt.propTypes=bt;var _t=function(e,t){return e<t?-1:e>t?1:e>=t?0:NaN},wt=function(e){return 1===e.length&&(e=function(e){return function(t,n){return _t(e(t),n)}}(e)),{left:function(t,n,g,r){for(null==g&&(g=0),null==r&&(r=t.length);g<r;){var a=g+r>>>1;e(t[a],n)<0?g=a+1:r=a}return g},right:function(t,n,g,r){for(null==g&&(g=0),null==r&&(r=t.length);g<r;){var a=g+r>>>1;e(t[a],n)>0?r=a:g=a+1}return g}}};var Tt=wt(_t),Ot=Tt.right,kt=(Tt.left,Ot);var Pt=function(e,t){var n,g,r,a=e.length,C=-1;if(null==t){for(;++C<a;)if(null!=(n=e[C])&&n>=n)for(g=r=n;++C<a;)null!=(n=e[C])&&(g>n&&(g=n),r<n&&(r=n))}else for(;++C<a;)if(null!=(n=t(e[C],C,e))&&n>=n)for(g=r=n;++C<a;)null!=(n=t(e[C],C,e))&&(g>n&&(g=n),r<n&&(r=n));return[g,r]},Nt=Array.prototype,Et=(Nt.slice,Nt.map,function(e,t,n){e=+e,t=+t,n=(r=arguments.length)<2?(t=e,e=0,1):r<3?1:+n;for(var g=-1,r=0|Math.max(0,Math.ceil((t-e)/n)),a=new Array(r);++g<r;)a[g]=e+g*n;return a}),Mt=Math.sqrt(50),Rt=Math.sqrt(10),St=Math.sqrt(2),jt=function(e,t,n){var g,r,a,C,A=-1;if(n=+n,(e=+e)===(t=+t)&&n>0)return[e];if((g=t<e)&&(r=e,e=t,t=r),0===(C=Dt(e,t,n))||!isFinite(C))return[];if(C>0)for(e=Math.ceil(e/C),t=Math.floor(t/C),a=new Array(r=Math.ceil(t-e+1));++A<r;)a[A]=(e+A)*C;else for(e=Math.floor(e*C),t=Math.ceil(t*C),a=new Array(r=Math.ceil(e-t+1));++A<r;)a[A]=(e-A)/C;return g&&a.reverse(),a};function Dt(e,t,n){var g=(t-e)/Math.max(0,n),r=Math.floor(Math.log(g)/Math.LN10),a=g/Math.pow(10,r);return r>=0?(a>=Mt?10:a>=Rt?5:a>=St?2:1)*Math.pow(10,r):-Math.pow(10,-r)/(a>=Mt?10:a>=Rt?5:a>=St?2:1)}function zt(e,t,n){var g=Math.abs(t-e)/Math.max(0,n),r=Math.pow(10,Math.floor(Math.log(g)/Math.LN10)),a=g/r;return a>=Mt?r*=10:a>=Rt?r*=5:a>=St&&(r*=2),t<e?-r:r}var Wt=function(e,t){var n,g,r=e.length,a=-1;if(null==t){for(;++a<r;)if(null!=(n=e[a])&&n>=n)for(g=n;++a<r;)null!=(n=e[a])&&n>g&&(g=n)}else for(;++a<r;)if(null!=(n=t(e[a],a,e))&&n>=n)for(g=n;++a<r;)null!=(n=t(e[a],a,e))&&n>g&&(g=n);return g};function Lt(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}function Ft(){}function Zt(e,t){var n=new Ft;if(e instanceof Ft)e.each(function(e,t){n.set(t,e)});else if(Array.isArray(e)){var g,r=-1,a=e.length;if(null==t)for(;++r<a;)n.set(r,e[r]);else for(;++r<a;)n.set(t(g=e[r],r,e),g)}else if(e)for(var C in e)n.set(C,e[C]);return n}Ft.prototype=Zt.prototype={constructor:Ft,has:function(e){return"$"+e in this},get:function(e){return this["$"+e]},set:function(e,t){return this["$"+e]=t,this},remove:function(e){var t="$"+e;return t in this&&delete this[t]},clear:function(){for(var e in this)"$"===e[0]&&delete this[e]},keys:function(){var e=[];for(var t in this)"$"===t[0]&&e.push(t.slice(1));return e},values:function(){var e=[];for(var t in this)"$"===t[0]&&e.push(this[t]);return e},entries:function(){var e=[];for(var t in this)"$"===t[0]&&e.push({key:t.slice(1),value:this[t]});return e},size:function(){var e=0;for(var t in this)"$"===t[0]&&++e;return e},empty:function(){for(var e in this)if("$"===e[0])return!1;return!0},each:function(e){for(var t in this)"$"===t[0]&&e(this[t],t.slice(1),this)}};var Gt=Zt;function Ut(){}var Vt=Gt.prototype;function Yt(e,t){var n=new Ut;if(e instanceof Ut)e.each(function(e){n.add(e)});else if(e){var g=-1,r=e.length;if(null==t)for(;++g<r;)n.add(e[g]);else for(;++g<r;)n.add(t(e[g],g,e))}return n}Ut.prototype=Yt.prototype={constructor:Ut,has:Vt.has,add:function(e){return this["$"+(e+="")]=e,this},remove:Vt.remove,clear:Vt.clear,values:Vt.keys,size:Vt.size,empty:Vt.empty,each:Vt.each};var Kt=Array.prototype,qt=Kt.map,Ht=Kt.slice,Bt={name:"implicit"};function Qt(){var e=Gt(),t=[],n=[],g=Bt;function r(r){var a=r+"",C=e.get(a);if(!C){if(g!==Bt)return g;e.set(a,C=t.push(r))}return n[(C-1)%n.length]}return r.domain=function(n){if(!arguments.length)return t.slice();t=[],e=Gt();for(var g,a,C=-1,A=n.length;++C<A;)e.has(a=(g=n[C])+"")||e.set(a,t.push(g));return r},r.range=function(e){return arguments.length?(n=Ht.call(e),r):n.slice()},r.unknown=function(e){return arguments.length?(g=e,r):g},r.copy=function(){return Qt(t,n).unknown(g)},Lt.apply(r,arguments),r}function Xt(){var e,t,n=Qt().unknown(void 0),g=n.domain,r=n.range,a=[0,1],C=!1,A=0,i=0,I=.5;function o(){var n=g().length,o=a[1]<a[0],s=a[o-0],u=a[1-o];e=(u-s)/Math.max(1,n-A+2*i),C&&(e=Math.floor(e)),s+=(u-s-e*(n-A))*I,t=e*(1-A),C&&(s=Math.round(s),t=Math.round(t));var c=Et(n).map(function(t){return s+e*t});return r(o?c.reverse():c)}return delete n.unknown,n.domain=function(e){return arguments.length?(g(e),o()):g()},n.range=function(e){return arguments.length?(a=[+e[0],+e[1]],o()):a.slice()},n.rangeRound=function(e){return a=[+e[0],+e[1]],C=!0,o()},n.bandwidth=function(){return t},n.step=function(){return e},n.round=function(e){return arguments.length?(C=!!e,o()):C},n.padding=function(e){return arguments.length?(A=Math.min(1,i=+e),o()):A},n.paddingInner=function(e){return arguments.length?(A=Math.min(1,e),o()):A},n.paddingOuter=function(e){return arguments.length?(i=+e,o()):i},n.align=function(e){return arguments.length?(I=Math.max(0,Math.min(1,e)),o()):I},n.copy=function(){return Xt(g(),a).round(C).paddingInner(A).paddingOuter(i).align(I)},Lt.apply(o(),arguments)}var Jt=function(e,t,n){e.prototype=t.prototype=n,n.constructor=e};function $t(e,t){var n=Object.create(e.prototype);for(var g in t)n[g]=t[g];return n}function en(){}var tn="\\s*([+-]?\\d+)\\s*",nn="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",gn="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",rn=/^#([0-9a-f]{3})$/,an=/^#([0-9a-f]{6})$/,Cn=new RegExp("^rgb\\("+[tn,tn,tn]+"\\)$"),An=new RegExp("^rgb\\("+[gn,gn,gn]+"\\)$"),In=new RegExp("^rgba\\("+[tn,tn,tn,nn]+"\\)$"),on=new RegExp("^rgba\\("+[gn,gn,gn,nn]+"\\)$"),sn=new RegExp("^hsl\\("+[nn,gn,gn]+"\\)$"),un=new RegExp("^hsla\\("+[nn,gn,gn,nn]+"\\)$"),cn={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function ln(e){var t;return e=(e+"").trim().toLowerCase(),(t=rn.exec(e))?new mn((t=parseInt(t[1],16))>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):(t=an.exec(e))?fn(parseInt(t[1],16)):(t=Cn.exec(e))?new mn(t[1],t[2],t[3],1):(t=An.exec(e))?new mn(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=In.exec(e))?hn(t[1],t[2],t[3],t[4]):(t=on.exec(e))?hn(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=sn.exec(e))?vn(t[1],t[2]/100,t[3]/100,1):(t=un.exec(e))?vn(t[1],t[2]/100,t[3]/100,t[4]):cn.hasOwnProperty(e)?fn(cn[e]):"transparent"===e?new mn(NaN,NaN,NaN,0):null}function fn(e){return new mn(e>>16&255,e>>8&255,255&e,1)}function hn(e,t,n,g){return g<=0&&(e=t=n=NaN),new mn(e,t,n,g)}function pn(e){return e instanceof en||(e=ln(e)),e?new mn((e=e.rgb()).r,e.g,e.b,e.opacity):new mn}function dn(e,t,n,g){return 1===arguments.length?pn(e):new mn(e,t,n,null==g?1:g)}function mn(e,t,n,g){this.r=+e,this.g=+t,this.b=+n,this.opacity=+g}function yn(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function vn(e,t,n,g){return g<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new xn(e,t,n,g)}function bn(e,t,n,g){return 1===arguments.length?function(e){if(e instanceof xn)return new xn(e.h,e.s,e.l,e.opacity);if(e instanceof en||(e=ln(e)),!e)return new xn;if(e instanceof xn)return e;var t=(e=e.rgb()).r/255,n=e.g/255,g=e.b/255,r=Math.min(t,n,g),a=Math.max(t,n,g),C=NaN,A=a-r,i=(a+r)/2;return A?(C=t===a?(n-g)/A+6*(n<g):n===a?(g-t)/A+2:(t-n)/A+4,A/=i<.5?a+r:2-a-r,C*=60):A=i>0&&i<1?0:C,new xn(C,A,i,e.opacity)}(e):new xn(e,t,n,null==g?1:g)}function xn(e,t,n,g){this.h=+e,this.s=+t,this.l=+n,this.opacity=+g}function _n(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}Jt(en,ln,{displayable:function(){return this.rgb().displayable()},hex:function(){return this.rgb().hex()},toString:function(){return this.rgb()+""}}),Jt(mn,dn,$t(en,{brighter:function(e){return e=null==e?1/.7:Math.pow(1/.7,e),new mn(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new mn(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return 0<=this.r&&this.r<=255&&0<=this.g&&this.g<=255&&0<=this.b&&this.b<=255&&0<=this.opacity&&this.opacity<=1},hex:function(){return"#"+yn(this.r)+yn(this.g)+yn(this.b)},toString:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}})),Jt(xn,bn,$t(en,{brighter:function(e){return e=null==e?1/.7:Math.pow(1/.7,e),new xn(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new xn(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,g=n+(n<.5?n:1-n)*t,r=2*n-g;return new mn(_n(e>=240?e-240:e+120,r,g),_n(e,r,g),_n(e<120?e+240:e-120,r,g),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1}}));var wn=Math.PI/180,Tn=180/Math.PI,On=.96422,kn=1,Pn=.82521,Nn=4/29,En=6/29,Mn=3*En*En,Rn=En*En*En;function Sn(e){if(e instanceof Dn)return new Dn(e.l,e.a,e.b,e.opacity);if(e instanceof Un){if(isNaN(e.h))return new Dn(e.l,0,0,e.opacity);var t=e.h*wn;return new Dn(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}e instanceof mn||(e=pn(e));var n,g,r=Fn(e.r),a=Fn(e.g),C=Fn(e.b),A=zn((.2225045*r+.7168786*a+.0606169*C)/kn);return r===a&&a===C?n=g=A:(n=zn((.4360747*r+.3850649*a+.1430804*C)/On),g=zn((.0139322*r+.0971045*a+.7141733*C)/Pn)),new Dn(116*A-16,500*(n-A),200*(A-g),e.opacity)}function jn(e,t,n,g){return 1===arguments.length?Sn(e):new Dn(e,t,n,null==g?1:g)}function Dn(e,t,n,g){this.l=+e,this.a=+t,this.b=+n,this.opacity=+g}function zn(e){return e>Rn?Math.pow(e,1/3):e/Mn+Nn}function Wn(e){return e>En?e*e*e:Mn*(e-Nn)}function Ln(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function Fn(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function Zn(e){if(e instanceof Un)return new Un(e.h,e.c,e.l,e.opacity);if(e instanceof Dn||(e=Sn(e)),0===e.a&&0===e.b)return new Un(NaN,0,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*Tn;return new Un(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}function Gn(e,t,n,g){return 1===arguments.length?Zn(e):new Un(e,t,n,null==g?1:g)}function Un(e,t,n,g){this.h=+e,this.c=+t,this.l=+n,this.opacity=+g}Jt(Dn,jn,$t(en,{brighter:function(e){return new Dn(this.l+18*(null==e?1:e),this.a,this.b,this.opacity)},darker:function(e){return new Dn(this.l-18*(null==e?1:e),this.a,this.b,this.opacity)},rgb:function(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,n=isNaN(this.b)?e:e-this.b/200;return new mn(Ln(3.1338561*(t=On*Wn(t))-1.6168667*(e=kn*Wn(e))-.4906146*(n=Pn*Wn(n))),Ln(-.9787684*t+1.9161415*e+.033454*n),Ln(.0719453*t-.2289914*e+1.4052427*n),this.opacity)}})),Jt(Un,Gn,$t(en,{brighter:function(e){return new Un(this.h,this.c,this.l+18*(null==e?1:e),this.opacity)},darker:function(e){return new Un(this.h,this.c,this.l-18*(null==e?1:e),this.opacity)},rgb:function(){return Sn(this).rgb()}}));var Vn=1.78277,Yn=-.29227,Kn=-.90649,qn=1.97294,Hn=qn*Kn,Bn=qn*Vn,Qn=Vn*Yn- -.14861*Kn;function Xn(e,t,n,g){return 1===arguments.length?function(e){if(e instanceof Jn)return new Jn(e.h,e.s,e.l,e.opacity);e instanceof mn||(e=pn(e));var t=e.r/255,n=e.g/255,g=e.b/255,r=(Qn*g+Hn*t-Bn*n)/(Qn+Hn-Bn),a=g-r,C=(qn*(n-r)-Yn*a)/Kn,A=Math.sqrt(C*C+a*a)/(qn*r*(1-r)),i=A?Math.atan2(C,a)*Tn-120:NaN;return new Jn(i<0?i+360:i,A,r,e.opacity)}(e):new Jn(e,t,n,null==g?1:g)}function Jn(e,t,n,g){this.h=+e,this.s=+t,this.l=+n,this.opacity=+g}function $n(e,t,n,g,r){var a=e*e,C=a*e;return((1-3*e+3*a-C)*t+(4-6*a+3*C)*n+(1+3*e+3*a-3*C)*g+C*r)/6}Jt(Jn,Xn,$t(en,{brighter:function(e){return e=null==e?1/.7:Math.pow(1/.7,e),new Jn(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new Jn(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=isNaN(this.h)?0:(this.h+120)*wn,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),g=Math.cos(e),r=Math.sin(e);return new mn(255*(t+n*(-.14861*g+Vn*r)),255*(t+n*(Yn*g+Kn*r)),255*(t+n*(qn*g)),this.opacity)}}));var eg=function(e){return function(){return e}};function tg(e,t){return function(n){return e+n*t}}function ng(e,t){var n=t-e;return n?tg(e,n>180||n<-180?n-360*Math.round(n/360):n):eg(isNaN(e)?t:e)}function gg(e){return 1==(e=+e)?rg:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(g){return Math.pow(e+g*t,n)}}(t,n,e):eg(isNaN(t)?n:t)}}function rg(e,t){var n=t-e;return n?tg(e,n):eg(isNaN(e)?t:e)}var ag=function e(t){var n=gg(t);function g(e,t){var g=n((e=dn(e)).r,(t=dn(t)).r),r=n(e.g,t.g),a=n(e.b,t.b),C=rg(e.opacity,t.opacity);return function(t){return e.r=g(t),e.g=r(t),e.b=a(t),e.opacity=C(t),e+""}}return g.gamma=e,g}(1);function Cg(e){return function(t){var n,g,r=t.length,a=new Array(r),C=new Array(r),A=new Array(r);for(n=0;n<r;++n)g=dn(t[n]),a[n]=g.r||0,C[n]=g.g||0,A[n]=g.b||0;return a=e(a),C=e(C),A=e(A),g.opacity=1,function(e){return g.r=a(e),g.g=C(e),g.b=A(e),g+""}}}Cg(function(e){var t=e.length-1;return function(n){var g=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),r=e[g],a=e[g+1],C=g>0?e[g-1]:2*r-a,A=g<t-1?e[g+2]:2*a-r;return $n((n-g/t)*t,C,r,a,A)}}),Cg(function(e){var t=e.length;return function(n){var g=Math.floor(((n%=1)<0?++n:n)*t),r=e[(g+t-1)%t],a=e[g%t],C=e[(g+1)%t],A=e[(g+2)%t];return $n((n-g/t)*t,r,a,C,A)}});var Ag=function(e,t){return t-=e=+e,function(n){return e+t*n}},ig=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Ig=new RegExp(ig.source,"g");var og,sg,ug,cg,lg=function(e,t){var n,g=typeof t;return null==t||"boolean"===g?eg(t):("number"===g?Ag:"string"===g?(n=ln(t))?(t=n,ag):function(e,t){var n,g,r,a=ig.lastIndex=Ig.lastIndex=0,C=-1,A=[],i=[];for(e+="",t+="";(n=ig.exec(e))&&(g=Ig.exec(t));)(r=g.index)>a&&(r=t.slice(a,r),A[C]?A[C]+=r:A[++C]=r),(n=n[0])===(g=g[0])?A[C]?A[C]+=g:A[++C]=g:(A[++C]=null,i.push({i:C,x:Ag(n,g)})),a=Ig.lastIndex;return a<t.length&&(r=t.slice(a),A[C]?A[C]+=r:A[++C]=r),A.length<2?i[0]?function(e){return function(t){return e(t)+""}}(i[0].x):function(e){return function(){return e}}(t):(t=i.length,function(e){for(var n,g=0;g<t;++g)A[(n=i[g]).i]=n.x(e);return A.join("")})}:t instanceof ln?ag:t instanceof Date?function(e,t){var n=new Date;return t-=e=+e,function(g){return n.setTime(e+t*g),n}}:Array.isArray(t)?function(e,t){var n,g=t?t.length:0,r=e?Math.min(g,e.length):0,a=new Array(r),C=new Array(g);for(n=0;n<r;++n)a[n]=lg(e[n],t[n]);for(;n<g;++n)C[n]=t[n];return function(e){for(n=0;n<r;++n)C[n]=a[n](e);return C}}:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?function(e,t){var n,g={},r={};for(n in null!==e&&"object"==typeof e||(e={}),null!==t&&"object"==typeof t||(t={}),t)n in e?g[n]=lg(e[n],t[n]):r[n]=t[n];return function(e){for(n in g)r[n]=g[n](e);return r}}:Ag)(e,t)},fg=function(e,t){return t-=e=+e,function(n){return Math.round(e+t*n)}},hg=180/Math.PI,pg={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1},dg=function(e,t,n,g,r,a){var C,A,i;return(C=Math.sqrt(e*e+t*t))&&(e/=C,t/=C),(i=e*n+t*g)&&(n-=e*i,g-=t*i),(A=Math.sqrt(n*n+g*g))&&(n/=A,g/=A,i/=A),e*g<t*n&&(e=-e,t=-t,i=-i,C=-C),{translateX:r,translateY:a,rotate:Math.atan2(t,e)*hg,skewX:Math.atan(i)*hg,scaleX:C,scaleY:A}};function mg(e,t,n,g){function r(e){return e.length?e.pop()+" ":""}return function(a,C){var A=[],i=[];return a=e(a),C=e(C),function(e,g,r,a,C,A){if(e!==r||g!==a){var i=C.push("translate(",null,t,null,n);A.push({i:i-4,x:Ag(e,r)},{i:i-2,x:Ag(g,a)})}else(r||a)&&C.push("translate("+r+t+a+n)}(a.translateX,a.translateY,C.translateX,C.translateY,A,i),function(e,t,n,a){e!==t?(e-t>180?t+=360:t-e>180&&(e+=360),a.push({i:n.push(r(n)+"rotate(",null,g)-2,x:Ag(e,t)})):t&&n.push(r(n)+"rotate("+t+g)}(a.rotate,C.rotate,A,i),function(e,t,n,a){e!==t?a.push({i:n.push(r(n)+"skewX(",null,g)-2,x:Ag(e,t)}):t&&n.push(r(n)+"skewX("+t+g)}(a.skewX,C.skewX,A,i),function(e,t,n,g,a,C){if(e!==n||t!==g){var A=a.push(r(a)+"scale(",null,",",null,")");C.push({i:A-4,x:Ag(e,n)},{i:A-2,x:Ag(t,g)})}else 1===n&&1===g||a.push(r(a)+"scale("+n+","+g+")")}(a.scaleX,a.scaleY,C.scaleX,C.scaleY,A,i),a=C=null,function(e){for(var t,n=-1,g=i.length;++n<g;)A[(t=i[n]).i]=t.x(e);return A.join("")}}}mg(function(e){return"none"===e?pg:(og||(og=document.createElement("DIV"),sg=document.documentElement,ug=document.defaultView),og.style.transform=e,e=ug.getComputedStyle(sg.appendChild(og),null).getPropertyValue("transform"),sg.removeChild(og),e=e.slice(7,-1).split(","),dg(+e[0],+e[1],+e[2],+e[3],+e[4],+e[5]))},"px, ","px)","deg)"),mg(function(e){return null==e?pg:(cg||(cg=document.createElementNS("http://www.w3.org/2000/svg","g")),cg.setAttribute("transform",e),(e=cg.transform.baseVal.consolidate())?(e=e.matrix,dg(e.a,e.b,e.c,e.d,e.e,e.f)):pg)},", ",")",")"),Math.SQRT2;function yg(e){return function(t,n){var g=e((t=bn(t)).h,(n=bn(n)).h),r=rg(t.s,n.s),a=rg(t.l,n.l),C=rg(t.opacity,n.opacity);return function(e){return t.h=g(e),t.s=r(e),t.l=a(e),t.opacity=C(e),t+""}}}yg(ng),yg(rg);function vg(e){return function(t,n){var g=e((t=Gn(t)).h,(n=Gn(n)).h),r=rg(t.c,n.c),a=rg(t.l,n.l),C=rg(t.opacity,n.opacity);return function(e){return t.h=g(e),t.c=r(e),t.l=a(e),t.opacity=C(e),t+""}}}vg(ng),vg(rg);function bg(e){return function t(n){function g(t,g){var r=e((t=Xn(t)).h,(g=Xn(g)).h),a=rg(t.s,g.s),C=rg(t.l,g.l),A=rg(t.opacity,g.opacity);return function(e){return t.h=r(e),t.s=a(e),t.l=C(Math.pow(e,n)),t.opacity=A(e),t+""}}return n=+n,g.gamma=t,g}(1)}bg(ng),bg(rg);var xg=function(e){return function(){return e}},_g=function(e){return+e},wg=[0,1];function Tg(e){return e}function Og(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:xg(isNaN(t)?NaN:.5)}function kg(e){var t,n=e[0],g=e[e.length-1];return n>g&&(t=n,n=g,g=t),function(e){return Math.max(n,Math.min(g,e))}}function Pg(e,t,n){var g=e[0],r=e[1],a=t[0],C=t[1];return r<g?(g=Og(r,g),a=n(C,a)):(g=Og(g,r),a=n(a,C)),function(e){return a(g(e))}}function Ng(e,t,n){var g=Math.min(e.length,t.length)-1,r=new Array(g),a=new Array(g),C=-1;for(e[g]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++C<g;)r[C]=Og(e[C],e[C+1]),a[C]=n(t[C],t[C+1]);return function(t){var n=kt(e,t,1,g)-1;return a[n](r[n](t))}}function Eg(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function Mg(){var e,t,n,g,r,a,C=wg,A=wg,i=lg,I=Tg;function o(){return g=Math.min(C.length,A.length)>2?Ng:Pg,r=a=null,s}function s(t){return isNaN(t=+t)?n:(r||(r=g(C.map(e),A,i)))(e(I(t)))}return s.invert=function(n){return I(t((a||(a=g(A,C.map(e),Ag)))(n)))},s.domain=function(e){return arguments.length?(C=qt.call(e,_g),I===Tg||(I=kg(C)),o()):C.slice()},s.range=function(e){return arguments.length?(A=Ht.call(e),o()):A.slice()},s.rangeRound=function(e){return A=Ht.call(e),i=fg,o()},s.clamp=function(e){return arguments.length?(I=e?kg(C):Tg,s):I!==Tg},s.interpolate=function(e){return arguments.length?(i=e,o()):i},s.unknown=function(e){return arguments.length?(n=e,s):n},function(n,g){return e=n,t=g,o()}}function Rg(e,t){return Mg()(e,t)}var Sg=function(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,g=e.slice(0,n);return[g.length>1?g[0]+g.slice(2):g,+e.slice(n+1)]},jg=function(e){return(e=Sg(Math.abs(e)))?e[1]:NaN},Dg=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function zg(e){return new Wg(e)}function Wg(e){if(!(t=Dg.exec(e)))throw new Error("invalid format: "+e);var t;this.fill=t[1]||" ",this.align=t[2]||">",this.sign=t[3]||"-",this.symbol=t[4]||"",this.zero=!!t[5],this.width=t[6]&&+t[6],this.comma=!!t[7],this.precision=t[8]&&+t[8].slice(1),this.trim=!!t[9],this.type=t[10]||""}zg.prototype=Wg.prototype,Wg.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(null==this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(null==this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var Lg,Fg,Zg,Gg,Ug=function(e){e:for(var t,n=e.length,g=1,r=-1;g<n;++g)switch(e[g]){case".":r=t=g;break;case"0":0===r&&(r=g),t=g;break;default:if(r>0){if(!+e[g])break e;r=0}}return r>0?e.slice(0,r)+e.slice(t+1):e},Vg=function(e,t){var n=Sg(e,t);if(!n)return e+"";var g=n[0],r=n[1];return r<0?"0."+new Array(-r).join("0")+g:g.length>r+1?g.slice(0,r+1)+"."+g.slice(r+1):g+new Array(r-g.length+2).join("0")},Yg={"%":function(e,t){return(100*e).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:function(e){return Math.round(e).toString(10)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return Vg(100*e,t)},r:Vg,s:function(e,t){var n=Sg(e,t);if(!n)return e+"";var g=n[0],r=n[1],a=r-(Lg=3*Math.max(-8,Math.min(8,Math.floor(r/3))))+1,C=g.length;return a===C?g:a>C?g+new Array(a-C+1).join("0"):a>0?g.slice(0,a)+"."+g.slice(a):"0."+new Array(1-a).join("0")+Sg(e,Math.max(0,t+a-1))[0]},X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}},Kg=function(e){return e},qg=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"],Hg=function(e){var t=e.grouping&&e.thousands?function(e,t){return function(n,g){for(var r=n.length,a=[],C=0,A=e[0],i=0;r>0&&A>0&&(i+A+1>g&&(A=Math.max(1,g-i)),a.push(n.substring(r-=A,r+A)),!((i+=A+1)>g));)A=e[C=(C+1)%e.length];return a.reverse().join(t)}}(e.grouping,e.thousands):Kg,n=e.currency,g=e.decimal,r=e.numerals?function(e){return function(t){return t.replace(/[0-9]/g,function(t){return e[+t]})}}(e.numerals):Kg,a=e.percent||"%";function C(e){var C=(e=zg(e)).fill,A=e.align,i=e.sign,I=e.symbol,o=e.zero,s=e.width,u=e.comma,c=e.precision,l=e.trim,f=e.type;"n"===f?(u=!0,f="g"):Yg[f]||(null==c&&(c=12),l=!0,f="g"),(o||"0"===C&&"="===A)&&(o=!0,C="0",A="=");var h="$"===I?n[0]:"#"===I&&/[boxX]/.test(f)?"0"+f.toLowerCase():"",p="$"===I?n[1]:/[%p]/.test(f)?a:"",d=Yg[f],m=/[defgprs%]/.test(f);function y(e){var n,a,I,y=h,v=p;if("c"===f)v=d(e)+v,e="";else{var b=(e=+e)<0;if(e=d(Math.abs(e),c),l&&(e=Ug(e)),b&&0==+e&&(b=!1),y=(b?"("===i?i:"-":"-"===i||"("===i?"":i)+y,v=("s"===f?qg[8+Lg/3]:"")+v+(b&&"("===i?")":""),m)for(n=-1,a=e.length;++n<a;)if(48>(I=e.charCodeAt(n))||I>57){v=(46===I?g+e.slice(n+1):e.slice(n))+v,e=e.slice(0,n);break}}u&&!o&&(e=t(e,1/0));var x=y.length+e.length+v.length,_=x<s?new Array(s-x+1).join(C):"";switch(u&&o&&(e=t(_+e,_.length?s-v.length:1/0),_=""),A){case"<":e=y+e+v+_;break;case"=":e=y+_+e+v;break;case"^":e=_.slice(0,x=_.length>>1)+y+e+v+_.slice(x);break;default:e=_+y+e+v}return r(e)}return c=null==c?6:/[gprs]/.test(f)?Math.max(1,Math.min(21,c)):Math.max(0,Math.min(20,c)),y.toString=function(){return e+""},y}return{format:C,formatPrefix:function(e,t){var n=C(((e=zg(e)).type="f",e)),g=3*Math.max(-8,Math.min(8,Math.floor(jg(t)/3))),r=Math.pow(10,-g),a=qg[8+g/3];return function(e){return n(r*e)+a}}}};!function(e){Fg=Hg(e),Zg=Fg.format,Gg=Fg.formatPrefix}({decimal:".",thousands:",",grouping:[3],currency:["$",""]});var Bg=function(e,t,n,g){var r,a=zt(e,t,n);switch((g=zg(null==g?",f":g)).type){case"s":var C=Math.max(Math.abs(e),Math.abs(t));return null!=g.precision||isNaN(r=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(jg(t)/3)))-jg(Math.abs(e)))}(a,C))||(g.precision=r),Gg(g,C);case"":case"e":case"g":case"p":case"r":null!=g.precision||isNaN(r=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,jg(t)-jg(e))+1}(a,Math.max(Math.abs(e),Math.abs(t))))||(g.precision=r-("e"===g.type));break;case"f":case"%":null!=g.precision||isNaN(r=function(e){return Math.max(0,-jg(Math.abs(e)))}(a))||(g.precision=r-2*("%"===g.type))}return Zg(g)};function Qg(e){var t=e.domain;return e.ticks=function(e){var n=t();return jt(n[0],n[n.length-1],null==e?10:e)},e.tickFormat=function(e,n){var g=t();return Bg(g[0],g[g.length-1],null==e?10:e,n)},e.nice=function(n){null==n&&(n=10);var g,r=t(),a=0,C=r.length-1,A=r[a],i=r[C];return i<A&&(g=A,A=i,i=g,g=a,a=C,C=g),(g=Dt(A,i,n))>0?g=Dt(A=Math.floor(A/g)*g,i=Math.ceil(i/g)*g,n):g<0&&(g=Dt(A=Math.ceil(A*g)/g,i=Math.floor(i*g)/g,n)),g>0?(r[a]=Math.floor(A/g)*g,r[C]=Math.ceil(i/g)*g,t(r)):g<0&&(r[a]=Math.ceil(A*g)/g,r[C]=Math.floor(i*g)/g,t(r)),e},e}var Xg=new Date,Jg=new Date;function $g(e,t,n,g){function r(t){return e(t=new Date(+t)),t}return r.floor=r,r.ceil=function(n){return e(n=new Date(n-1)),t(n,1),e(n),n},r.round=function(e){var t=r(e),n=r.ceil(e);return e-t<n-e?t:n},r.offset=function(e,n){return t(e=new Date(+e),null==n?1:Math.floor(n)),e},r.range=function(n,g,a){var C,A=[];if(n=r.ceil(n),a=null==a?1:Math.floor(a),!(n<g&&a>0))return A;do{A.push(C=new Date(+n)),t(n,a),e(n)}while(C<n&&n<g);return A},r.filter=function(n){return $g(function(t){if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)},function(e,g){if(e>=e)if(g<0)for(;++g<=0;)for(;t(e,-1),!n(e););else for(;--g>=0;)for(;t(e,1),!n(e););})},n&&(r.count=function(t,g){return Xg.setTime(+t),Jg.setTime(+g),e(Xg),e(Jg),Math.floor(n(Xg,Jg))},r.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?r.filter(g?function(t){return g(t)%e==0}:function(t){return r.count(0,t)%e==0}):r:null}),r}var er=$g(function(){},function(e,t){e.setTime(+e+t)},function(e,t){return t-e});er.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?$g(function(t){t.setTime(Math.floor(t/e)*e)},function(t,n){t.setTime(+t+n*e)},function(t,n){return(n-t)/e}):er:null};er.range;var tr=6e4,nr=6048e5,gr=$g(function(e){e.setTime(1e3*Math.floor(e/1e3))},function(e,t){e.setTime(+e+1e3*t)},function(e,t){return(t-e)/1e3},function(e){return e.getUTCSeconds()}),rr=(gr.range,$g(function(e){e.setTime(Math.floor(e/tr)*tr)},function(e,t){e.setTime(+e+t*tr)},function(e,t){return(t-e)/tr},function(e){return e.getMinutes()})),ar=(rr.range,$g(function(e){var t=e.getTimezoneOffset()*tr%36e5;t<0&&(t+=36e5),e.setTime(36e5*Math.floor((+e-t)/36e5)+t)},function(e,t){e.setTime(+e+36e5*t)},function(e,t){return(t-e)/36e5},function(e){return e.getHours()})),Cr=(ar.range,$g(function(e){e.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+t)},function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*tr)/864e5},function(e){return e.getDate()-1})),Ar=Cr;Cr.range;function ir(e){return $g(function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+7*t)},function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*tr)/nr})}var Ir=ir(0),or=ir(1),sr=ir(2),ur=ir(3),cr=ir(4),lr=ir(5),fr=ir(6),hr=(Ir.range,or.range,sr.range,ur.range,cr.range,lr.range,fr.range,$g(function(e){e.setDate(1),e.setHours(0,0,0,0)},function(e,t){e.setMonth(e.getMonth()+t)},function(e,t){return t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())},function(e){return e.getMonth()})),pr=(hr.range,$g(function(e){e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,t){e.setFullYear(e.getFullYear()+t)},function(e,t){return t.getFullYear()-e.getFullYear()},function(e){return e.getFullYear()}));pr.every=function(e){return isFinite(e=Math.floor(e))&&e>0?$g(function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,n){t.setFullYear(t.getFullYear()+n*e)}):null};var dr=pr,mr=(pr.range,$g(function(e){e.setUTCSeconds(0,0)},function(e,t){e.setTime(+e+t*tr)},function(e,t){return(t-e)/tr},function(e){return e.getUTCMinutes()})),yr=(mr.range,$g(function(e){e.setUTCMinutes(0,0,0)},function(e,t){e.setTime(+e+36e5*t)},function(e,t){return(t-e)/36e5},function(e){return e.getUTCHours()})),vr=(yr.range,$g(function(e){e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+t)},function(e,t){return(t-e)/864e5},function(e){return e.getUTCDate()-1})),br=vr;vr.range;function xr(e){return $g(function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+7*t)},function(e,t){return(t-e)/nr})}var _r=xr(0),wr=xr(1),Tr=xr(2),Or=xr(3),kr=xr(4),Pr=xr(5),Nr=xr(6),Er=(_r.range,wr.range,Tr.range,Or.range,kr.range,Pr.range,Nr.range,$g(function(e){e.setUTCDate(1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCMonth(e.getUTCMonth()+t)},function(e,t){return t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())},function(e){return e.getUTCMonth()})),Mr=(Er.range,$g(function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)},function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()},function(e){return e.getUTCFullYear()}));Mr.every=function(e){return isFinite(e=Math.floor(e))&&e>0?$g(function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)}):null};var Rr=Mr;Mr.range;function Sr(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function jr(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function Dr(e){return{y:e,m:0,d:1,H:0,M:0,S:0,L:0}}var zr,Wr,Lr,Fr={"-":"",_:" ",0:"0"},Zr=/^\s*\d+/,Gr=/^%/,Ur=/[\\^$*+?|[\]().{}]/g;function Vr(e,t,n){var g=e<0?"-":"",r=(g?-e:e)+"",a=r.length;return g+(a<n?new Array(n-a+1).join(t)+r:r)}function Yr(e){return e.replace(Ur,"\\$&")}function Kr(e){return new RegExp("^(?:"+e.map(Yr).join("|")+")","i")}function qr(e){for(var t={},n=-1,g=e.length;++n<g;)t[e[n].toLowerCase()]=n;return t}function Hr(e,t,n){var g=Zr.exec(t.slice(n,n+1));return g?(e.w=+g[0],n+g[0].length):-1}function Br(e,t,n){var g=Zr.exec(t.slice(n,n+1));return g?(e.u=+g[0],n+g[0].length):-1}function Qr(e,t,n){var g=Zr.exec(t.slice(n,n+2));return g?(e.U=+g[0],n+g[0].length):-1}function Xr(e,t,n){var g=Zr.exec(t.slice(n,n+2));return g?(e.V=+g[0],n+g[0].length):-1}function Jr(e,t,n){var g=Zr.exec(t.slice(n,n+2));return g?(e.W=+g[0],n+g[0].length):-1}function $r(e,t,n){var g=Zr.exec(t.slice(n,n+4));return g?(e.y=+g[0],n+g[0].length):-1}function ea(e,t,n){var g=Zr.exec(t.slice(n,n+2));return g?(e.y=+g[0]+(+g[0]>68?1900:2e3),n+g[0].length):-1}function ta(e,t,n){var g=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return g?(e.Z=g[1]?0:-(g[2]+(g[3]||"00")),n+g[0].length):-1}function na(e,t,n){var g=Zr.exec(t.slice(n,n+2));return g?(e.m=g[0]-1,n+g[0].length):-1}function ga(e,t,n){var g=Zr.exec(t.slice(n,n+2));return g?(e.d=+g[0],n+g[0].length):-1}function ra(e,t,n){var g=Zr.exec(t.slice(n,n+3));return g?(e.m=0,e.d=+g[0],n+g[0].length):-1}function aa(e,t,n){var g=Zr.exec(t.slice(n,n+2));return g?(e.H=+g[0],n+g[0].length):-1}function Ca(e,t,n){var g=Zr.exec(t.slice(n,n+2));return g?(e.M=+g[0],n+g[0].length):-1}function Aa(e,t,n){var g=Zr.exec(t.slice(n,n+2));return g?(e.S=+g[0],n+g[0].length):-1}function ia(e,t,n){var g=Zr.exec(t.slice(n,n+3));return g?(e.L=+g[0],n+g[0].length):-1}function Ia(e,t,n){var g=Zr.exec(t.slice(n,n+6));return g?(e.L=Math.floor(g[0]/1e3),n+g[0].length):-1}function oa(e,t,n){var g=Gr.exec(t.slice(n,n+1));return g?n+g[0].length:-1}function sa(e,t,n){var g=Zr.exec(t.slice(n));return g?(e.Q=+g[0],n+g[0].length):-1}function ua(e,t,n){var g=Zr.exec(t.slice(n));return g?(e.Q=1e3*+g[0],n+g[0].length):-1}function ca(e,t){return Vr(e.getDate(),t,2)}function la(e,t){return Vr(e.getHours(),t,2)}function fa(e,t){return Vr(e.getHours()%12||12,t,2)}function ha(e,t){return Vr(1+Ar.count(dr(e),e),t,3)}function pa(e,t){return Vr(e.getMilliseconds(),t,3)}function da(e,t){return pa(e,t)+"000"}function ma(e,t){return Vr(e.getMonth()+1,t,2)}function ya(e,t){return Vr(e.getMinutes(),t,2)}function va(e,t){return Vr(e.getSeconds(),t,2)}function ba(e){var t=e.getDay();return 0===t?7:t}function xa(e,t){return Vr(Ir.count(dr(e),e),t,2)}function _a(e,t){var n=e.getDay();return e=n>=4||0===n?cr(e):cr.ceil(e),Vr(cr.count(dr(e),e)+(4===dr(e).getDay()),t,2)}function wa(e){return e.getDay()}function Ta(e,t){return Vr(or.count(dr(e),e),t,2)}function Oa(e,t){return Vr(e.getFullYear()%100,t,2)}function ka(e,t){return Vr(e.getFullYear()%1e4,t,4)}function Pa(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+Vr(t/60|0,"0",2)+Vr(t%60,"0",2)}function Na(e,t){return Vr(e.getUTCDate(),t,2)}function Ea(e,t){return Vr(e.getUTCHours(),t,2)}function Ma(e,t){return Vr(e.getUTCHours()%12||12,t,2)}function Ra(e,t){return Vr(1+br.count(Rr(e),e),t,3)}function Sa(e,t){return Vr(e.getUTCMilliseconds(),t,3)}function ja(e,t){return Sa(e,t)+"000"}function Da(e,t){return Vr(e.getUTCMonth()+1,t,2)}function za(e,t){return Vr(e.getUTCMinutes(),t,2)}function Wa(e,t){return Vr(e.getUTCSeconds(),t,2)}function La(e){var t=e.getUTCDay();return 0===t?7:t}function Fa(e,t){return Vr(_r.count(Rr(e),e),t,2)}function Za(e,t){var n=e.getUTCDay();return e=n>=4||0===n?kr(e):kr.ceil(e),Vr(kr.count(Rr(e),e)+(4===Rr(e).getUTCDay()),t,2)}function Ga(e){return e.getUTCDay()}function Ua(e,t){return Vr(wr.count(Rr(e),e),t,2)}function Va(e,t){return Vr(e.getUTCFullYear()%100,t,2)}function Ya(e,t){return Vr(e.getUTCFullYear()%1e4,t,4)}function Ka(){return"+0000"}function qa(){return"%"}function Ha(e){return+e}function Ba(e){return Math.floor(+e/1e3)}!function(e){zr=function(e){var t=e.dateTime,n=e.date,g=e.time,r=e.periods,a=e.days,C=e.shortDays,A=e.months,i=e.shortMonths,I=Kr(r),o=qr(r),s=Kr(a),u=qr(a),c=Kr(C),l=qr(C),f=Kr(A),h=qr(A),p=Kr(i),d=qr(i),m={a:function(e){return C[e.getDay()]},A:function(e){return a[e.getDay()]},b:function(e){return i[e.getMonth()]},B:function(e){return A[e.getMonth()]},c:null,d:ca,e:ca,f:da,H:la,I:fa,j:ha,L:pa,m:ma,M:ya,p:function(e){return r[+(e.getHours()>=12)]},Q:Ha,s:Ba,S:va,u:ba,U:xa,V:_a,w:wa,W:Ta,x:null,X:null,y:Oa,Y:ka,Z:Pa,"%":qa},y={a:function(e){return C[e.getUTCDay()]},A:function(e){return a[e.getUTCDay()]},b:function(e){return i[e.getUTCMonth()]},B:function(e){return A[e.getUTCMonth()]},c:null,d:Na,e:Na,f:ja,H:Ea,I:Ma,j:Ra,L:Sa,m:Da,M:za,p:function(e){return r[+(e.getUTCHours()>=12)]},Q:Ha,s:Ba,S:Wa,u:La,U:Fa,V:Za,w:Ga,W:Ua,x:null,X:null,y:Va,Y:Ya,Z:Ka,"%":qa},v={a:function(e,t,n){var g=c.exec(t.slice(n));return g?(e.w=l[g[0].toLowerCase()],n+g[0].length):-1},A:function(e,t,n){var g=s.exec(t.slice(n));return g?(e.w=u[g[0].toLowerCase()],n+g[0].length):-1},b:function(e,t,n){var g=p.exec(t.slice(n));return g?(e.m=d[g[0].toLowerCase()],n+g[0].length):-1},B:function(e,t,n){var g=f.exec(t.slice(n));return g?(e.m=h[g[0].toLowerCase()],n+g[0].length):-1},c:function(e,n,g){return _(e,t,n,g)},d:ga,e:ga,f:Ia,H:aa,I:aa,j:ra,L:ia,m:na,M:Ca,p:function(e,t,n){var g=I.exec(t.slice(n));return g?(e.p=o[g[0].toLowerCase()],n+g[0].length):-1},Q:sa,s:ua,S:Aa,u:Br,U:Qr,V:Xr,w:Hr,W:Jr,x:function(e,t,g){return _(e,n,t,g)},X:function(e,t,n){return _(e,g,t,n)},y:ea,Y:$r,Z:ta,"%":oa};function b(e,t){return function(n){var g,r,a,C=[],A=-1,i=0,I=e.length;for(n instanceof Date||(n=new Date(+n));++A<I;)37===e.charCodeAt(A)&&(C.push(e.slice(i,A)),null!=(r=Fr[g=e.charAt(++A)])?g=e.charAt(++A):r="e"===g?" ":"0",(a=t[g])&&(g=a(n,r)),C.push(g),i=A+1);return C.push(e.slice(i,A)),C.join("")}}function x(e,t){return function(n){var g,r,a=Dr(1900);if(_(a,e,n+="",0)!=n.length)return null;if("Q"in a)return new Date(a.Q);if("p"in a&&(a.H=a.H%12+12*a.p),"V"in a){if(a.V<1||a.V>53)return null;"w"in a||(a.w=1),"Z"in a?(g=(r=(g=jr(Dr(a.y))).getUTCDay())>4||0===r?wr.ceil(g):wr(g),g=br.offset(g,7*(a.V-1)),a.y=g.getUTCFullYear(),a.m=g.getUTCMonth(),a.d=g.getUTCDate()+(a.w+6)%7):(g=(r=(g=t(Dr(a.y))).getDay())>4||0===r?or.ceil(g):or(g),g=Ar.offset(g,7*(a.V-1)),a.y=g.getFullYear(),a.m=g.getMonth(),a.d=g.getDate()+(a.w+6)%7)}else("W"in a||"U"in a)&&("w"in a||(a.w="u"in a?a.u%7:"W"in a?1:0),r="Z"in a?jr(Dr(a.y)).getUTCDay():t(Dr(a.y)).getDay(),a.m=0,a.d="W"in a?(a.w+6)%7+7*a.W-(r+5)%7:a.w+7*a.U-(r+6)%7);return"Z"in a?(a.H+=a.Z/100|0,a.M+=a.Z%100,jr(a)):t(a)}}function _(e,t,n,g){for(var r,a,C=0,A=t.length,i=n.length;C<A;){if(g>=i)return-1;if(37===(r=t.charCodeAt(C++))){if(r=t.charAt(C++),!(a=v[r in Fr?t.charAt(C++):r])||(g=a(e,n,g))<0)return-1}else if(r!=n.charCodeAt(g++))return-1}return g}return m.x=b(n,m),m.X=b(g,m),m.c=b(t,m),y.x=b(n,y),y.X=b(g,y),y.c=b(t,y),{format:function(e){var t=b(e+="",m);return t.toString=function(){return e},t},parse:function(e){var t=x(e+="",Sr);return t.toString=function(){return e},t},utcFormat:function(e){var t=b(e+="",y);return t.toString=function(){return e},t},utcParse:function(e){var t=x(e,jr);return t.toString=function(){return e},t}}}(e),zr.format,zr.parse,Wr=zr.utcFormat,Lr=zr.utcParse}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});Date.prototype.toISOString||Wr("%Y-%m-%dT%H:%M:%S.%LZ");+new Date("2000-01-01T00:00:00.000Z")||Lr("%Y-%m-%dT%H:%M:%S.%LZ");var Qa=function(e){var t=e.range,n=e.rangeRound,g=e.domain,r=e.padding,a=e.paddingInner,C=e.paddingOuter,A=e.align,i=e.tickFormat,I=Xt();return I.type="band",t&&I.range(t),n&&I.rangeRound(n),g&&I.domain(g),r&&I.padding(r),a&&I.paddingInner(a),C&&I.paddingOuter(C),A&&I.align(A),i&&(I.tickFormat=i),I},Xa=function(e){var t=e.range,n=e.rangeRound,g=e.domain,r=e.nice,a=void 0!==r&&r,C=e.clamp,A=void 0!==C&&C,i=function e(){var t=Rg(Tg,Tg);return t.copy=function(){return Eg(t,e())},Lt.apply(t,arguments),Qg(t)}();return i.type="linear",t&&i.range(t),n&&i.rangeRound(n),g&&i.domain(g),a&&i.nice(),A&&i.clamp(!0),i};Object.prototype.hasOwnProperty;function Ja(){return(Ja=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var g in n)Object.prototype.hasOwnProperty.call(n,g)&&(e[g]=n[g])}return e}).apply(this,arguments)}function $a(e,t){if(null==e)return{};var n,g,r=function(e,t){if(null==e)return{};var n,g,r={},a=Object.keys(e);for(g=0;g<a.length;g++)n=a[g],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(g=0;g<a.length;g++)n=a[g],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function eC(e){var t=e.top,n=void 0===t?0:t,g=e.left,a=void 0===g?0:g,C=e.scale,A=e.width,i=e.stroke,o=void 0===i?"#eaf0f6":i,s=e.strokeWidth,u=void 0===s?1:s,c=e.strokeDasharray,l=e.className,f=e.numTicks,h=void 0===f?10:f,p=e.lineStyle,d=e.offset,m=e.tickValues,y=$a(e,["top","left","scale","width","stroke","strokeWidth","strokeDasharray","className","numTicks","lineStyle","offset","tickValues"]),v=C.ticks?C.ticks(h):C.domain();return m&&(v=m),r.a.createElement(D,{className:I()("vx-rows",l),top:n,left:a},v.map(function(e,t){var n=d?C(e)+d:C(e),g=new M({x:0,y:n}),a=new M({x:A,y:n});return r.a.createElement(Ve,Ja({key:"row-line-".concat(e,"-").concat(t),from:g,to:a,stroke:o,strokeWidth:u,strokeDasharray:c,style:p},y))}))}function tC(e){var t=e.top,n=void 0===t?0:t,g=e.left,a=void 0===g?0:g,C=e.scale,A=e.height,i=e.stroke,o=void 0===i?"#eaf0f6":i,s=e.strokeWidth,u=void 0===s?1:s,c=e.strokeDasharray,l=e.className,f=e.numTicks,h=void 0===f?10:f,p=e.lineStyle,d=e.offset,m=e.tickValues,y=$a(e,["top","left","scale","height","stroke","strokeWidth","strokeDasharray","className","numTicks","lineStyle","offset","tickValues"]),v=C.ticks?C.ticks(h):C.domain();return m&&(v=m),r.a.createElement(D,{className:I()("vx-columns",l),top:n,left:a},v.map(function(e,t){var n=d?C(e)+d:C(e),g=new M({x:n,y:0}),a=new M({x:n,y:A});return r.a.createElement(Ve,Ja({key:"column-line-".concat(e,"-").concat(t),from:g,to:a,stroke:o,strokeWidth:u,strokeDasharray:c,style:p},y))}))}function nC(e){var t=e.top,n=e.left,g=e.xScale,a=e.yScale,C=e.width,A=e.height,i=e.className,o=e.stroke,s=e.strokeWidth,u=e.strokeDasharray,c=e.numTicksRows,l=e.numTicksColumns,f=e.rowLineStyle,h=e.columnLineStyle,p=e.xOffset,d=e.yOffset,m=e.rowTickValues,y=e.columnTickValues,v=$a(e,["top","left","xScale","yScale","width","height","className","stroke","strokeWidth","strokeDasharray","numTicksRows","numTicksColumns","rowLineStyle","columnLineStyle","xOffset","yOffset","rowTickValues","columnTickValues"]);return r.a.createElement(D,{className:I()("vx-grid",i),top:t,left:n},r.a.createElement(eC,Ja({className:i,scale:a,width:C,stroke:o,strokeWidth:s,strokeDasharray:u,numTicks:c,style:f,offset:d,tickValues:m},v)),r.a.createElement(tC,Ja({className:i,scale:g,height:A,stroke:o,strokeWidth:s,strokeDasharray:u,numTicks:l,style:h,offset:p,tickValues:y},v)))}function gC(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function rC(){return(rC=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var g in n)Object.prototype.hasOwnProperty.call(n,g)&&(e[g]=n[g])}return e}).apply(this,arguments)}function aC(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},g=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(g=g.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),g.forEach(function(t){gC(e,t,n[t])})}return e}function CC(e,t){if(null==e)return{};var n,g,r=function(e,t){if(null==e)return{};var n,g,r={},a=Object.keys(e);for(g=0;g<a.length;g++)n=a[g],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(g=0;g<a.length;g++)n=a[g],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function AC(e){var t=e.flexDirection,n=void 0===t?"row":t,g=e.alignItems,a=void 0===g?"center":g,C=e.margin,A=void 0===C?"0":C,i=e.display,I=void 0===i?"flex":i,o=e.children,s=CC(e,["flexDirection","alignItems","margin","display","children"]);return r.a.createElement("div",rC({className:"vx-legend-item",style:{display:I,alignItems:a,flexDirection:n,margin:A}},s),o)}function iC(e){var t=e.flex,n=void 0===t?"1":t,g=e.label,a=e.margin,C=void 0===a?"5px 0":a,A=e.align,i=void 0===A?"left":A,I=e.children;return r.a.createElement("div",{className:"vx-legend-label",style:{justifyContent:i,display:"flex",flex:n,margin:C}},I||g)}function IC(e){var t=e.fill,n=e.width,g=e.height,a=e.style;return r.a.createElement("div",{style:aC({width:n,height:g,background:t},a)})}function oC(e){var t=e.fill,n=e.width,g=e.height,a=e.style;"string"==typeof n&&(n=0),"string"==typeof g&&(g=0);var C=Math.max(n,g),A=C/2;return r.a.createElement("svg",{width:C,height:C},r.a.createElement(D,{top:A,left:A},r.a.createElement("circle",{r:A,fill:t,style:a})))}function sC(e){return e&&e.value?e.value:e}function uC(e){var t=e.shape,n=void 0===t?IC:t,g=e.width,a=e.height,C=e.margin,A=e.label,i=e.fill,I=e.size,o=e.shapeStyle;return r.a.createElement("div",{className:"vx-legend-shape",style:{display:"flex",width:I?I(aC({},A)):g,height:I?I(aC({},A)):a,margin:C}},function(e){var t=e.shape,n=void 0===t?"rect":t,g=e.fill,a=void 0===g?sC:g,C=e.size,A=void 0===C?sC:C,i=e.width,I=e.height,o=e.label,s=e.shapeStyle,u=void 0===s?function(e){}:s,c={width:i,height:I,label:o,fill:a(aC({},o)),size:A(aC({},o)),style:u(aC({},o))};return"string"==typeof n?"rect"===n?r.a.createElement(IC,c):r.a.createElement(oC,c):r.a.isValidElement(n)?r.a.cloneElement(n,c):r.a.createElement(n,c)}({shape:n,label:A,width:g,height:a,fill:i,shapeStyle:o}))}eC.propTypes={top:C.a.number,left:C.a.number,className:C.a.string,stroke:C.a.string,strokeWidth:C.a.oneOfType([C.a.string,C.a.number]),strokeDasharray:C.a.string,numTicks:C.a.number,lineStyle:C.a.object,offset:C.a.number,scale:C.a.func.isRequired,width:C.a.number.isRequired,tickValues:C.a.array},tC.propTypes={top:C.a.number,left:C.a.number,className:C.a.string,stroke:C.a.string,strokeWidth:C.a.oneOfType([C.a.string,C.a.number]),strokeDasharray:C.a.string,numTicks:C.a.number,lineStyle:C.a.object,offset:C.a.number,scale:C.a.func.isRequired,height:C.a.number.isRequired,tickValues:C.a.array},nC.propTypes={top:C.a.number,left:C.a.number,className:C.a.string,stroke:C.a.string,strokeWidth:C.a.oneOfType([C.a.string,C.a.number]),strokeDasharray:C.a.string,numTicksRows:C.a.number,numTicksColumns:C.a.number,rowLineStyle:C.a.object,columnLineStyle:C.a.object,xOffset:C.a.number,yOffset:C.a.number,xScale:C.a.func.isRequired,yScale:C.a.func.isRequired,height:C.a.number.isRequired,width:C.a.number.isRequired,rowTickValues:C.a.array,columnTickValues:C.a.array},AC.propTypes={flexDirection:C.a.string,alignItems:C.a.string,margin:C.a.oneOfType([C.a.string,C.a.number]),children:C.a.any},iC.propTypes={align:C.a.string,label:C.a.any,flex:C.a.oneOfType([C.a.string,C.a.number]),margin:C.a.oneOfType([C.a.string,C.a.number]),children:C.a.any},IC.propTypes={fill:C.a.any,width:C.a.oneOfType([C.a.number,C.a.string]),height:C.a.oneOfType([C.a.number,C.a.string]),style:C.a.object},oC.propTypes={fill:C.a.any,width:C.a.oneOfType([C.a.number,C.a.string]),height:C.a.oneOfType([C.a.number,C.a.string]),style:C.a.object},uC.propTypes={shape:C.a.any,width:C.a.any,height:C.a.any,margin:C.a.any,label:C.a.any,fill:C.a.any,size:C.a.any,shapeStyle:C.a.any},lC.propTypes={className:C.a.string,style:C.a.any,domain:C.a.array,scale:C.a.oneOfType([C.a.func,C.a.object]).isRequired,shapeWidth:C.a.oneOfType([C.a.number,C.a.string]),shapeHeight:C.a.oneOfType([C.a.number,C.a.string]),shapeMargin:C.a.any,labelAlign:C.a.string,labelFlex:C.a.string,labelMargin:C.a.string,itemMargin:C.a.string,direction:C.a.string,itemDirection:C.a.string,fill:C.a.any,size:C.a.any,shape:C.a.any,shapeStyle:C.a.any,labelFormat:C.a.func,labelTransform:C.a.func,children:C.a.func};var cC={display:"flex"};function lC(e){var t=e.className,n=e.style,g=void 0===n?cC:n,a=e.shapeStyle,C=e.scale,A=e.shape,i=e.domain,o=e.fill,s=void 0===o?sC:o,u=e.size,c=void 0===u?sC:u,l=e.labelFormat,f=void 0===l?sC:l,h=e.labelTransform,p=void 0===h?fC:h,d=e.shapeWidth,m=void 0===d?15:d,y=e.shapeHeight,v=void 0===y?15:y,b=e.shapeMargin,x=void 0===b?"2px 4px 2px 0":b,_=e.labelAlign,w=void 0===_?"left":_,T=e.labelFlex,O=void 0===T?"1":T,k=e.labelMargin,P=void 0===k?"0 4px":k,N=e.itemMargin,E=void 0===N?"0":N,M=e.direction,R=void 0===M?"column":M,S=e.itemDirection,j=void 0===S?"row":S,D=e.children,z=CC(e,["className","style","shapeStyle","scale","shape","domain","fill","size","labelFormat","labelTransform","shapeWidth","shapeHeight","shapeMargin","labelAlign","labelFlex","labelMargin","itemMargin","direction","itemDirection","children"]),W=(i=i||C.domain()).map(p({scale:C,labelFormat:f}));return D?D(W):r.a.createElement("div",{className:I()("vx-legend",t),style:aC({},g,{flexDirection:R})},W.map(function(e,t){var n=e.text;return r.a.createElement(AC,rC({key:"legend-".concat(e,"-").concat(t),margin:E,flexDirection:j,label:e},z),r.a.createElement(uC,{shape:A,height:v,width:m,margin:x,label:e,fill:s,size:c,shapeStyle:a}),r.a.createElement(iC,{label:n,flex:O,margin:P,align:w}))}))}function fC(e){var t=e.scale,n=e.labelFormat;return function(e,g){return{datum:e,index:g,text:"".concat(n(e,g)),value:t(e)}}}function hC(e){var t=e.scale,n=e.domain,g=e.labelTransform,a=void 0===g?pC:g,C=e.labelFormat,A=void 0===C?sC:C,i=CC(e,["scale","domain","labelTransform","labelFormat"]);return r.a.createElement(lC,rC({scale:t,domain:n,labelFormat:A,labelTransform:a},i))}function pC(e){var t=e.scale,n=e.labelFormat;return function(e,g){return{datum:e,index:g,text:"".concat(n(e,g)),value:t(e)}}}function dC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mC(e,t){for(var n=0;n<t.length;n++){var g=t[n];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(e,g.key,g)}}function yC(e,t,n){return t&&mC(e.prototype,t),n&&mC(e,n),e}function vC(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bC(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},g=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(g=g.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),g.forEach(function(t){vC(e,t,n[t])})}return e}function xC(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&function(e,t){(Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}(e,t)}function _C(e){return(_C=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function wC(e,t){if(null==e)return{};var n,g,r=function(e,t){if(null==e)return{};var n,g,r={},a=Object.keys(e);for(g=0;g<a.length;g++)n=a[g],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(g=0;g<a.length;g++)n=a[g],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function TC(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OC(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?TC(e):t}C.a.func.isRequired,C.a.array,C.a.func,C.a.func,C.a.string,C.a.func.isRequired,C.a.array,C.a.number,C.a.func,C.a.func,hC.propTypes={scale:C.a.func.isRequired,domain:C.a.array,labelTransform:C.a.func,labelFormat:C.a.func},C.a.func.isRequired,C.a.array,C.a.func,C.a.func,C.a.string,C.a.string,C.a.string;var kC=function(e){function t(e){var n;return dC(this,t),(n=OC(this,_C(t).call(this,e))).handleMouseEnter=n.handleMouseEnter.bind(TC(TC(n))),n.handleMouseLeave=n.handleMouseLeave.bind(TC(TC(n))),n.tooltipTimeout=null,n}return xC(t,r.a.Component),yC(t,[{key:"componentWillUnmount",value:function(){this.tooltipTimeout&&clearTimeout(this.tooltipTimeout)}},{key:"handleMouseEnter",value:function(e){var t=e.event,n=e.datum,g=e.coords,r=wC(e,["event","datum","coords"]),a=this.props.showTooltip;this.tooltipTimeout&&clearTimeout(this.tooltipTimeout);var C={x:0,y:0};t&&t.target&&t.target.ownerSVGElement&&(C=R(t.target.ownerSVGElement,t)),a({tooltipLeft:(C=bC({},C,g)).x,tooltipTop:C.y,tooltipData:bC({event:t,datum:n},r)})}},{key:"handleMouseLeave",value:function(){var e=this.props.hideTooltip;this.tooltipTimeout=setTimeout(function(){e()},200)}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.tooltipData,g=e.tooltipOpen,a=e.tooltipLeft,C=e.tooltipTop,A=e.renderTooltip,i=this.handleMouseEnter,I=this.handleMouseLeave,o=g&&A(n);return r.a.createElement(r.a.Fragment,null,t({handleMouseEnter:i,handleMouseLeave:I,tooltipOpen:g}),g&&r.a.createElement(N,{top:C,left:a,style:{borderRadius:0,boxShadow:"0 2px 5px 0 rgba(0, 0, 0, 0.15), 0 2px 10px 0 rgba(0, 0, 0, 0.1)"}},o))}}]),t}();kC.propTypes={children:C.a.func,tooltipData:C.a.object,tooltipOpen:C.a.bool,tooltipLeft:C.a.number,tooltipTop:C.a.number,renderTooltip:C.a.func.isRequired};var PC=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{style:{position:"relative",width:"inherit",height:"inherit"}};return function(n){function g(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,g),(t=function(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?w(e):t}(this,b(g).call(this,e))).state={tooltipOpen:!1,tooltipLeft:void 0,tooltipTop:void 0,tooltipData:void 0},t.updateTooltip=t.updateTooltip.bind(w(w(t))),t.showTooltip=t.showTooltip.bind(w(w(t))),t.hideTooltip=t.hideTooltip.bind(w(w(t))),t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&x(e,t)}(g,r.a.PureComponent),function(e,t,n){t&&d(e.prototype,t),n&&d(e,n)}(g,[{key:"updateTooltip",value:function(e){var t=e.tooltipOpen,n=e.tooltipLeft,g=e.tooltipTop,r=e.tooltipData;this.setState(function(e){return v({},e,{tooltipOpen:t,tooltipLeft:n,tooltipTop:g,tooltipData:r})})}},{key:"showTooltip",value:function(e){var t=e.tooltipLeft,n=e.tooltipTop,g=e.tooltipData;this.updateTooltip({tooltipOpen:!0,tooltipLeft:t,tooltipTop:n,tooltipData:g})}},{key:"hideTooltip",value:function(){this.updateTooltip({tooltipOpen:!1,tooltipLeft:void 0,tooltipTop:void 0,tooltipData:void 0})}},{key:"render",value:function(){return r.a.createElement("div",t,r.a.createElement(e,y({updateTooltip:this.updateTooltip,showTooltip:this.showTooltip,hideTooltip:this.hideTooltip},this.state,this.props)))}}]),g}()}(kC),NC=function(e){var t=e.maxWidth,n=e.height,g=e.aspectRatio,a=e.renderTooltip,C=e.renderLegend,i=e.renderAnnotation,I=e.children,o=wC(e,["maxWidth","height","aspectRatio","renderTooltip","renderLegend","renderAnnotation","children"]);return r.a.createElement("div",{style:{maxWidth:t,height:n},className:"dv-Chart"},C&&r.a.createElement("div",{className:"dv-legend-container"},C()),r.a.createElement(A.a,null,function(e){var t=e.width,C=e.height;if(t<10)return null;var A=n?C:t*g;return a?r.a.createElement(PC,{renderTooltip:a},function(e){var n=e.handleMouseEnter,g=e.handleMouseLeave,a=e.tooltipOpen;return r.a.createElement("svg",{width:t,height:A},I(bC({width:t,height:A,handleMouseEnter:n,handleMouseLeave:g,tooltipOpen:a},o)),i&&i({width:t,height:A}))}):r.a.createElement("svg",{width:t,height:A},I(bC({width:t,height:A},o)),i&&i({width:t,height:A}))}))};NC.propTypes={maxWidth:C.a.oneOfType([C.a.string,C.a.number]).isRequired,height:function(e,t,n){return e.height||e.aspectRatio?e.aspectRatio||"string"==typeof e.height||"number"==typeof e.height?void 0:new Error("'".concat(t,"' prop in '").concat(n,"' must be a number or a string.")):new Error("One of props 'height' or 'aspectRatio' was not specified in '".concat(n,"'."))},aspectRatio:function(e,t,n){return e.height||e.aspectRatio?e.height||"number"==typeof e.aspectRatio?void 0:new Error("'".concat(t,"' prop in '").concat(n,"' must be a number.")):new Error("One of props 'height' or 'aspectRatio' was not specified in '".concat(n,"'."))},renderTooltip:C.a.func,renderLegend:C.a.func,renderAnnotation:C.a.func,children:C.a.func},NC.defaultProps={maxWidth:"100%"};var EC=function(e){var t=e.maxWidth,n=e.height,g=e.aspectRatio,a=e.renderTooltip,C=e.renderAnnotation,A=e.data,i=e.x,I=e.y,o=e.xFormat,s=e.yFormat,u=e.xAxisLabel,c=e.yAxisLabel,l=e.numTicksY,f=e.color,h=e.margin;return r.a.createElement(NC,{maxWidth:t,height:n,aspectRatio:g,renderTooltip:a,renderAnnotation:C},function(e){var t=e.width,n=e.height,g=e.handleMouseEnter,C=e.handleMouseLeave,p=t-h.left-h.right,d=n-h.top-h.bottom,m=Qa({rangeRound:[0,p],domain:A.map(i),padding:.2}),y=Xa({rangeRound:[d,0],domain:[0,Wt(A,I)]});return r.a.createElement(D,{top:h.top,left:h.left},r.a.createElement(eC,{scale:y,width:p,numTicks:"function"==typeof l?l(n):l}),r.a.createElement(D,null,A.map(function(e,t){return r.a.createElement(Xe,{key:"bar-".concat(t),x:m(i(e)),y:y(I(e)),width:m.bandwidth(),height:d-y(I(e)),fill:f,onMouseMove:function(t){return a?g({event:t,data:A,datum:e}):null},onMouseLeave:a?C:null})})),r.a.createElement(vt,{scale:y,hideTicks:!0,hideAxisLine:!0,numTicks:"function"==typeof l?l(n):l,tickFormat:s,tickLabelProps:function(){return{textAnchor:"end",verticalAnchor:"middle"}},label:c,labelProps:{textAnchor:"middle",verticalAnchor:"end"}}),r.a.createElement(xt,{top:d,scale:m,label:u,hideAxisLine:!1,hideTicks:!1,tickFormat:o,tickLabelProps:function(){return{textAnchor:"middle",width:m.bandwidth(),verticalAnchor:"middle"}},labelProps:{dy:"3em",textAnchor:"middle",y:0}}))})};EC.propTypes={maxWidth:C.a.oneOfType([C.a.number,C.a.string]),height:C.a.oneOfType([C.a.number,C.a.string]),aspectRatio:C.a.number,renderTooltip:C.a.func,renderAnnotation:C.a.func,data:C.a.array.isRequired,x:C.a.func.isRequired,y:C.a.func.isRequired,xFormat:C.a.func,yFormat:C.a.func,xAxisLabel:C.a.string,yAxisLabel:C.a.string,numTicksY:C.a.oneOfType([C.a.number,C.a.func]),color:C.a.string,margin:C.a.shape({top:C.a.number.isRequired,right:C.a.number.isRequired,bottom:C.a.number.isRequired,left:C.a.number.isRequired})},EC.defaultProps={numTicksY:5,color:"#22C8A3",margin:{top:10,left:55,right:10,bottom:30}};function MC(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function RC(e){this._context=e}function SC(e){return new RC(e)}function jC(e){return e<0?-1:1}function DC(e,t,n){var g=e._x1-e._x0,r=t-e._x1,a=(e._y1-e._y0)/(g||r<0&&-0),C=(n-e._y1)/(r||g<0&&-0),A=(a*r+C*g)/(g+r);return(jC(a)+jC(C))*Math.min(Math.abs(a),Math.abs(C),.5*Math.abs(A))||0}function zC(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function WC(e,t,n){var g=e._x0,r=e._y0,a=e._x1,C=e._y1,A=(a-g)/3;e._context.bezierCurveTo(g+A,r+A*t,a-A,C-A*n,a,C)}function LC(e){this._context=e}function FC(e){this._context=e}Math.PI,Math.PI,RC.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:MC(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:MC(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},LC.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:WC(this,this._t0,zC(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(t=+t,(e=+e)!==this._x1||t!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,WC(this,zC(this,n=DC(this,e,t)),n);break;default:WC(this,this._t0,n=DC(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}},(function(e){this._context=new FC(e)}.prototype=Object.create(LC.prototype)).point=function(e,t){LC.prototype.point.call(this,t,e)},FC.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,g,r,a){this._context.bezierCurveTo(t,e,g,n,a,r)}};var ZC=function(e){var t=e.top,n=e.bottom,g=e.tooltipLeft,a=e.tooltipTop;return r.a.createElement("g",null,r.a.createElement(Ve,{from:{x:g,y:t},to:{x:g,y:n},stroke:"#ababab",strokeWidth:1,style:{pointerEvents:"none"},strokeDasharray:"2,2"}),r.a.createElement("circle",{cx:g,cy:a,r:8,fill:"#22C8A3",fillOpacity:.2,style:{pointerEvents:"none"}}),r.a.createElement("circle",{cx:g,cy:a,r:4,fill:"#22C8A3",style:{pointerEvents:"none"}}))},GC=function(e){function t(e){var n;return dC(this,t),vC(TC(TC(n=OC(this,_C(t).call(this,e)))),"handleMouseMove",function(e){var t=e.data,g=e.event,r=e.tooltipParentFunc,a=e.xAccessor,C=e.yAccessor,A=e.xScale,i=e.yScale,I=e.margin,o=wt(a).left,s=R(g.target.ownerSVGElement,g).x;s-=I.left;var u=A.invert(s),c=o(t,u);if(!(c>t.length-1||c<1)){var l=t[c-1],f=t[c],h=u-A(a(l))>A(a(f))-u?f:l,p=A(a(h)),d=i(C(h));r({datum:h,coords:{x:p+I.left,y:d+I.top}}),n.setState({x:p,y:d})}}),n.state={x:0,y:0},n.handleMouseMove=n.handleMouseMove.bind(TC(TC(n))),n}return xC(t,r.a.Component),yC(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.maxWidth,g=t.height,a=t.aspectRatio,C=t.renderTooltip,A=t.renderAnnotation,i=t.data,I=t.x,o=t.y,s=t.xAxisLabel,u=t.yAxisLabel,c=t.yFormat,l=t.xFormat,f=t.numTicksX,h=t.numTicksY,p=t.margin,d=t.stroke,m=t.strokeWidth;return r.a.createElement(NC,{maxWidth:n,height:g,aspectRatio:a,renderTooltip:C,renderAnnotation:A},function(t){var n,g=t.width,a=t.height,A=t.handleMouseEnter,y=t.handleMouseLeave,v=t.tooltipOpen,b=g-p.left-p.right,x=a-p.top-p.bottom,_=Xa({domain:Pt(i,I),range:[0,b]}),w=Xa({domain:[0,Wt(i,o)],range:[x,0]});return r.a.createElement(D,{top:p.top,left:p.left},r.a.createElement(eC,{scale:w,width:b,numTicks:h}),r.a.createElement(Ye,{data:i,x:function(e){return _(I(e))},y:function(e){return w(o(e))},stroke:d,strokeWidth:m,curve:SC}),r.a.createElement("rect",{x:0,y:0,width:b,height:x,fill:"transparent",onMouseMove:function(t){C&&e.handleMouseMove({event:t,data:i,xScale:_,yScale:w,margin:p,xAccessor:I,yAccessor:o,tooltipParentFunc:A})},onMouseLeave:C?y:null}),v&&r.a.createElement(ZC,{top:0,bottom:x,tooltipLeft:e.state.x,tooltipTop:e.state.y}),r.a.createElement(vt,{scale:w,hideTicks:!0,hideAxisLine:!0,tickFormat:c,numTicks:h,tickLabelProps:function(){return{textAnchor:"end",verticalAnchor:"middle"}},label:u,labelProps:{textAnchor:"middle",verticalAnchor:"end"}}),r.a.createElement(xt,(vC(n={scale:_,top:x,tickFormat:l,numTicks:"function"==typeof f?f(g):f,tickLabelProps:function(){return{textAnchor:"middle",verticalAnchor:"middle"}}},"tickFormat",function(e){return e}),vC(n,"label",s),vC(n,"labelProps",{dy:"2.5em",textAnchor:"middle",verticalAnchor:"start"}),n)))})}}]),t}();GC.propTypes={maxWidth:C.a.oneOfType([C.a.number,C.a.string]),height:C.a.oneOfType([C.a.number,C.a.string]),aspectRatio:C.a.number,renderTooltip:C.a.func,renderAnnotation:C.a.func,data:C.a.array.isRequired,x:C.a.func.isRequired,y:C.a.func.isRequired,xFormat:C.a.func,yFormat:C.a.func,xAxisLabel:C.a.string,yAxisLabel:C.a.string,numTicksY:C.a.oneOfType([C.a.number,C.a.func]),numTicksX:C.a.oneOfType([C.a.number,C.a.func]),stroke:C.a.string,strokeWidth:C.a.number,margin:C.a.shape({top:C.a.number.isRequired,right:C.a.number.isRequired,bottom:C.a.number.isRequired,left:C.a.number.isRequired})},GC.defaultProps={numTicksX:10,numTicksY:5,stroke:"#22C8A3",strokeWidth:2,margin:{top:10,left:55,bottom:30,right:10}};var UC=function(e){var t=e.children,n=e.style,g=(e.className,e.full),a=e.noBackground;return r.a.createElement("div",{className:"dv-ChartContainer ".concat(a?"dv-ChartContainer-nobg":""),style:n},g?r.a.createElement("div",{className:"dv-ChartContainer__child"},t):t)},VC=function(e){var t=e.children,n=e.className,g=e.style;return r.a.createElement("h3",{className:"dv-chart__title ".concat(n),style:g},t)},YC=function(e){var t=e.children,n=e.className,g=e.style;return r.a.createElement("span",{className:"dv-chart__description ".concat(n),style:g},t)},KC=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var g in n)Object.prototype.hasOwnProperty.call(n,g)&&(e[g]=n[g])}return e};function qC(e,t){var n={};for(var g in e)t.indexOf(g)>=0||Object.prototype.hasOwnProperty.call(e,g)&&(n[g]=e[g]);return n}var HC={get:function(e,t,n){if(!t)return e;var g=QC(t),r=void 0;try{r=g.reduce(function(e,t){return e[t]},e)}catch(e){}return void 0!==r?r:n},set:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1],n=arguments[2],g=QC(t),r=void 0,a=e;for(;(r=g.shift())&&g.length;)a[r]||(a[r]={}),a=a[r];return a[r]=n,e},takeRight:function(e,t){var n=t>e.length?0:e.length-t;return e.slice(n)},last:function(e){return e[e.length-1]},orderBy:function(e,t,n,g){return e.sort(function(e,r){for(var a=0;a<t.length;a+=1){var C=t[a],A=!1===n[a]||"desc"===n[a],i=C(e,r);if(i)return A?-i:i}return n[0]?e[g]-r[g]:r[g]-e[g]})},range:function(e){for(var t=[],n=0;n<e;n+=1)t.push(e);return t},remove:function(e,t){return e.filter(function(n,g){var r=t(n);return!!r&&(e.splice(g,1),!0)})},clone:function(e){try{return JSON.parse(JSON.stringify(e,function(e,t){return"function"==typeof t?t.toString():t}))}catch(t){return e}},getFirstDefined:function(){for(var e=0;e<arguments.length;e+=1)if(void 0!==(arguments.length<=e?void 0:arguments[e]))return arguments.length<=e?void 0:arguments[e]},sum:function(e){return e.reduce(function(e,t){return e+t},0)},makeTemplateComponent:function(e,t){if(!t)throw new Error("No displayName found for template component:",e);var n=function(t){var n=t.children,g=t.className,a=qC(t,["children","className"]);return r.a.createElement("div",KC({className:I()(e,g)},a),n)};return n.displayName=t,n},groupBy:function(e,t){return e.reduce(function(e,n,g){var r="function"==typeof t?t(n,g):n[t];return e[r]=BC(e[r])?e[r]:[],e[r].push(n),e},{})},isArray:BC,splitProps:function(e){var t=e.className,n=e.style,g=qC(e,["className","style"]);return{className:t,style:n,rest:g||{}}},compactObject:function(e){var t={};e&&Object.keys(e).map(function(n){return Object.prototype.hasOwnProperty.call(e,n)&&void 0!==e[n]&&void 0!==e[n]&&(t[n]=e[n]),!0});return t},isSortingDesc:function(e){return!("desc"!==e.sort&&!0!==e.desc&&!1!==e.asc)},normalizeComponent:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e;return"function"==typeof e?Object.getPrototypeOf(e).isReactComponent?r.a.createElement(e,t):e(t):n},asPx:function(e){return e=Number(e),Number.isNaN(e)?null:e+"px"}};function BC(e){return Array.isArray(e)}function QC(e){return function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(BC(t))for(var g=0;g<t.length;g+=1)e(t[g],n);else n.push(t);return n}(e).join(".").replace(/\[/g,".").replace(/\]/g,"").split(".")}var XC=function(){function e(e,t){for(var n=0;n<t.length;n++){var g=t[n];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(e,g.key,g)}}return function(t,n,g){return n&&e(t.prototype,n),g&&e(t,g),t}}();var JC=function(e){return function(t){function n(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(n.__proto__||Object.getPrototypeOf(n)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,e),XC(n,[{key:"componentWillMount",value:function(){this.setStateWithData(this.getDataModel(this.getResolvedState(),!0))}},{key:"componentDidMount",value:function(){this.fireFetchData()}},{key:"componentWillReceiveProps",value:function(e,t){var n=this.getResolvedState(),g=this.getResolvedState(e,t);["sorted","filtered","resized","expanded"].forEach(function(e){var t="default"+(e.charAt(0).toUpperCase()+e.slice(1));JSON.stringify(n[t])!==JSON.stringify(g[t])&&(g[e]=g[t])});["sortable","filterable","resizable"].forEach(function(e){if(n[e]!==g[e]){var t=e.replace("able","")+"ed",r="default"+(t.charAt(0).toUpperCase()+t.slice(1));g[t]=g[r]}}),n.data===g.data&&n.columns===g.columns&&n.pivotBy===g.pivotBy&&n.sorted===g.sorted&&n.filtered===g.filtered||this.setStateWithData(this.getDataModel(g,n.data!==g.data))}},{key:"setStateWithData",value:function(e,t){var n=this,g=this.getResolvedState(),r=this.getResolvedState({},e),a=r.freezeWhenExpanded;if(r.frozen=!1,a)for(var C=Object.keys(r.expanded),A=0;A<C.length;A+=1)if(r.expanded[C[A]]){r.frozen=!0;break}return(g.frozen&&!r.frozen||g.sorted!==r.sorted||g.filtered!==r.filtered||g.showFilters!==r.showFilters||!r.frozen&&g.resolvedData!==r.resolvedData)&&((g.sorted!==r.sorted&&this.props.collapseOnSortingChange||g.filtered!==r.filtered||g.showFilters!==r.showFilters||g.sortedData&&!r.frozen&&g.resolvedData!==r.resolvedData&&this.props.collapseOnDataChange)&&(r.expanded={}),Object.assign(r,this.getSortedData(r))),g.filtered!==r.filtered&&(r.page=0),r.sortedData&&(r.pages=r.manual?r.pages:Math.ceil(r.sortedData.length/r.pageSize),r.page=Math.max(r.page>=r.pages?r.pages-1:r.page,0)),this.setState(r,function(){t&&t(),g.page===r.page&&g.pageSize===r.pageSize&&g.sorted===r.sorted&&g.filtered===r.filtered||n.fireFetchData()})}}]),n}()},$C=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],g=!0,r=!1,a=void 0;try{for(var C,A=e[Symbol.iterator]();!(g=(C=A.next()).done)&&(n.push(C.value),!t||n.length!==t);g=!0);}catch(e){r=!0,a=e}finally{try{!g&&A.return&&A.return()}finally{if(r)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),eA=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var g in n)Object.prototype.hasOwnProperty.call(n,g)&&(e[g]=n[g])}return e},tA=function(){function e(e,t){for(var n=0;n<t.length;n++){var g=t[n];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(e,g.key,g)}}return function(t,n,g){return n&&e(t.prototype,n),g&&e(t,g),t}}();function nA(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function gA(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var rA=function(e){return function(t){function n(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(n.__proto__||Object.getPrototypeOf(n)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,e),tA(n,[{key:"getResolvedState",value:function(e,t){return eA({},HC.compactObject(this.state),HC.compactObject(this.props),HC.compactObject(t),HC.compactObject(e))}},{key:"getDataModel",value:function(e,t){var n=this,g=e.columns,a=e.pivotBy,C=void 0===a?[]:a,A=e.data,i=e.resolveData,I=e.pivotIDKey,o=e.pivotValKey,s=e.subRowsKey,u=e.aggregatedKey,c=e.nestingLevelKey,l=e.originalKey,f=e.indexKey,h=e.groupedByPivotKey,p=e.SubComponent,d=!1;g.forEach(function(e){e.columns&&(d=!0)});var m=[].concat(gA(g)),y=g.find(function(e){return e.expander||e.columns&&e.columns.some(function(e){return e.expander})});y&&!y.expander&&(y=y.columns.find(function(e){return e.expander})),p&&!y&&(m=[y={expander:!0}].concat(gA(m)));var v=[],b=function(e,t){var g=function(e,t){var g=void 0;if((g=e.expander?eA({},n.props.column,n.props.expanderDefaults,e):eA({},n.props.column,e)).maxWidth<g.minWidth&&(g.minWidth=g.maxWidth),t&&(g.parentColumn=t),"string"==typeof g.accessor){g.id=g.id||g.accessor;var r=g.accessor;return g.accessor=function(e){return HC.get(e,r)},g}if(g.accessor&&!g.id)throw console.warn(g),new Error("A column id is required if using a non-string accessor for column above.");return g.accessor||(g.accessor=function(){}),g}(e,t);return v.push(g),g},x=m.map(function(e){return e.columns?eA({},e,{columns:e.columns.map(function(t){return b(t,e)})}):b(e)}).slice(),_=[],w=(x=(x=x.map(function(e){if(e.columns){var t=e.columns.filter(function(e){return!(C.indexOf(e.id)>-1)&&HC.getFirstDefined(e.show,!0)});return eA({},e,{columns:t})}return e})).filter(function(e){return e.columns?e.columns.length:!(C.indexOf(e.id)>-1)&&HC.getFirstDefined(e.show,!0)})).findIndex(function(e){return e.pivot});if(C.length){var T=[];C.forEach(function(e){var t=v.find(function(t){return t.id===e});t&&T.push(t)});var O=T.reduce(function(e,t){return e&&e===t.parentColumn&&t.parentColumn},T[0].parentColumn),k=d&&O.Header,P={Header:k=k||function(){return r.a.createElement("strong",null,"Pivoted")},columns:T.map(function(e){return eA({},n.props.pivotDefaults,e,{pivoted:!0})})};w>=0?(P=eA({},x[w],P),x.splice(w,1,P)):x.unshift(P)}var N=[],E=[],M=function(e,t){N.push(eA({},n.props.column,t,{columns:e})),E=[]};x.forEach(function(e){if(e.columns)return _=_.concat(e.columns),E.length>0&&M(E),void M(e.columns,e);_.push(e),E.push(e)}),d&&E.length>0&&M(E);var R=this.resolvedData;this.resolvedData&&!t||(R=i(A),this.resolvedData=R),R=R.map(function(e,t){return function e(t,n){var g,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,a=(nA(g={},l,t),nA(g,f,n),nA(g,s,t[s]),nA(g,c,r),g);return v.forEach(function(e){e.expander||(a[e.id]=e.accessor(t))}),a[s]&&(a[s]=a[s].map(function(t,n){return e(t,n,r+1)})),a}(e,t)});var S=_.filter(function(e){return!e.expander&&e.aggregate});if(C.length){R=function e(t,n){var g=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(g===n.length)return t;var r=Object.entries(HC.groupBy(t,n[g])).map(function(e){var t,r=$C(e,2),a=r[0],C=r[1];return nA(t={},I,n[g]),nA(t,o,a),nA(t,n[g],a),nA(t,s,C),nA(t,c,g),nA(t,h,!0),t});return r=r.map(function(t){var r,a=e(t[s],n,g+1);return eA({},t,(nA(r={},s,a),nA(r,u,!0),r),function(e){var t={};return S.forEach(function(n){var g=e.map(function(e){return e[n.id]});t[n.id]=n.aggregate(g,e)}),t}(a))})}(R,C)}return eA({},e,{resolvedData:R,allVisibleColumns:_,headerGroups:N,allDecoratedColumns:v,hasHeaderGroups:d})}},{key:"getSortedData",value:function(e){var t=e.manual,n=e.sorted,g=e.filtered,r=e.defaultFilterMethod,a=e.resolvedData,C=e.allVisibleColumns,A={};return e.allDecoratedColumns.filter(function(e){return e.sortMethod}).forEach(function(e){A[e.id]=e.sortMethod}),{sortedData:t?a:this.sortData(this.filterData(a,g,r,C),n,A)}}},{key:"fireFetchData",value:function(){this.props.onFetchData(this.getResolvedState(),this)}},{key:"getPropOrState",value:function(e){return HC.getFirstDefined(this.props[e],this.state[e])}},{key:"getStateOrProp",value:function(e){return HC.getFirstDefined(this.state[e],this.props[e])}},{key:"filterData",value:function(e,t,n,g){var r=this,a=e;return t.length&&(a=(a=t.reduce(function(e,t){var r=g.find(function(e){return e.id===t.id});if(!r||!1===r.filterable)return e;var a=r.filterMethod||n;return r.filterAll?a(t,e,r):e.filter(function(e){return a(t,e,r)})},a)).map(function(e){return e[r.props.subRowsKey]?eA({},e,nA({},r.props.subRowsKey,r.filterData(e[r.props.subRowsKey],t,n,g))):e}).filter(function(e){return!e[r.props.subRowsKey]||e[r.props.subRowsKey].length>0})),a}},{key:"sortData",value:function(e,t){var n=this,g=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!t.length)return e;var r=(this.props.orderByMethod||HC.orderBy)(e,t.map(function(e){return g[e.id]?function(t,n){return g[e.id](t[e.id],n[e.id],e.desc)}:function(t,g){return n.props.defaultSortMethod(t[e.id],g[e.id],e.desc)}}),t.map(function(e){return!e.desc}),this.props.indexKey);return r.forEach(function(e){e[n.props.subRowsKey]&&(e[n.props.subRowsKey]=n.sortData(e[n.props.subRowsKey],t,g))}),r}},{key:"getMinRows",value:function(){return HC.getFirstDefined(this.props.minRows,this.getStateOrProp("pageSize"))}},{key:"onPageChange",value:function(e){var t=this.props,n=t.onPageChange,g=t.collapseOnPageChange,r={page:e};g&&(r.expanded={}),this.setStateWithData(r,function(){return n&&n(e)})}},{key:"onPageSizeChange",value:function(e){var t=this.props.onPageSizeChange,n=this.getResolvedState(),g=n.pageSize*n.page,r=Math.floor(g/e);this.setStateWithData({pageSize:e,page:r},function(){return t&&t(e,r)})}},{key:"sortColumn",value:function(e,t){var n=this.getResolvedState(),g=n.sorted,r=n.skipNextSort,a=n.defaultSortDesc,C=Object.prototype.hasOwnProperty.call(e,"defaultSortDesc")?e.defaultSortDesc:a,A=!C;if(r)this.setStateWithData({skipNextSort:!1});else{var i=this.props.onSortedChange,I=HC.clone(g||[]).map(function(e){return e.desc=HC.isSortingDesc(e),e});if(HC.isArray(e)){var o=I.findIndex(function(t){return t.id===e[0].id});if(o>-1)I[o].desc===A?t?I.splice(o,e.length):e.forEach(function(e,t){I[o+t].desc=C}):e.forEach(function(e,t){I[o+t].desc=A}),t||(I=I.slice(o,e.length));else I=t?I.concat(e.map(function(e){return{id:e.id,desc:C}})):e.map(function(e){return{id:e.id,desc:C}})}else{var s=I.findIndex(function(t){return t.id===e.id});if(s>-1){var u=I[s];u.desc===A?t?I.splice(s,1):(u.desc=C,I=[u]):(u.desc=A,t||(I=[u]))}else t?I.push({id:e.id,desc:C}):I=[{id:e.id,desc:C}]}this.setStateWithData({page:!g.length&&I.length||!t?0:this.state.page,sorted:I},function(){return i&&i(I,e,t)})}}},{key:"filterColumn",value:function(e,t){var n=this.getResolvedState().filtered,g=this.props.onFilteredChange,r=(n||[]).filter(function(t){return t.id!==e.id});""!==t&&r.push({id:e.id,value:t}),this.setStateWithData({filtered:r},function(){return g&&g(r,e,t)})}},{key:"resizeColumnStart",value:function(e,t,n){var g=this;e.stopPropagation();var r=e.target.parentElement.getBoundingClientRect().width,a=void 0;a=n?e.changedTouches[0].pageX:e.pageX,this.trapEvents=!0,this.setStateWithData({currentlyResizing:{id:t.id,startX:a,parentWidth:r}},function(){n?(document.addEventListener("touchmove",g.resizeColumnMoving),document.addEventListener("touchcancel",g.resizeColumnEnd),document.addEventListener("touchend",g.resizeColumnEnd)):(document.addEventListener("mousemove",g.resizeColumnMoving),document.addEventListener("mouseup",g.resizeColumnEnd),document.addEventListener("mouseleave",g.resizeColumnEnd))})}},{key:"resizeColumnMoving",value:function(e){e.stopPropagation();var t=this.props.onResizedChange,n=this.getResolvedState(),g=n.resized,r=n.currentlyResizing,a=g.filter(function(e){return e.id!==r.id}),C=void 0;"touchmove"===e.type?C=e.changedTouches[0].pageX:"mousemove"===e.type&&(C=e.pageX);var A=Math.max(r.parentWidth+C-r.startX,11);a.push({id:r.id,value:A}),this.setStateWithData({resized:a},function(){return t&&t(a,e)})}},{key:"resizeColumnEnd",value:function(e){e.stopPropagation();var t="touchend"===e.type||"touchcancel"===e.type;t&&(document.removeEventListener("touchmove",this.resizeColumnMoving),document.removeEventListener("touchcancel",this.resizeColumnEnd),document.removeEventListener("touchend",this.resizeColumnEnd)),document.removeEventListener("mousemove",this.resizeColumnMoving),document.removeEventListener("mouseup",this.resizeColumnEnd),document.removeEventListener("mouseleave",this.resizeColumnEnd),t||this.setStateWithData({skipNextSort:!0,currentlyResizing:!1})}}]),n}()},aA=function(){function e(e,t){for(var n=0;n<t.length;n++){var g=t[n];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(e,g.key,g)}}return function(t,n,g){return n&&e(t.prototype,n),g&&e(t,g),t}}(),CA=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var g in n)Object.prototype.hasOwnProperty.call(n,g)&&(e[g]=n[g])}return e};var AA=function(e){return r.a.createElement("button",CA({type:"button"},e,{className:"-btn"}),e.children)},iA=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return n.getSafePage=n.getSafePage.bind(n),n.changePage=n.changePage.bind(n),n.applyPage=n.applyPage.bind(n),n.state={page:e.page},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,g["Component"]),aA(t,[{key:"componentWillReceiveProps",value:function(e){this.setState({page:e.page})}},{key:"getSafePage",value:function(e){return Number.isNaN(e)&&(e=this.props.page),Math.min(Math.max(e,0),this.props.pages-1)}},{key:"changePage",value:function(e){e=this.getSafePage(e),this.setState({page:e}),this.props.page!==e&&this.props.onPageChange(e)}},{key:"applyPage",value:function(e){e&&e.preventDefault();var t=this.state.page;this.changePage(""===t?this.props.page:t)}},{key:"render",value:function(){var e=this,t=this.props,n=t.pages,g=t.page,a=t.showPageSizeOptions,C=t.pageSizeOptions,A=t.pageSize,i=t.showPageJump,o=t.canPrevious,s=t.canNext,u=t.onPageSizeChange,c=t.className,l=t.PreviousComponent,f=void 0===l?AA:l,h=t.NextComponent,p=void 0===h?AA:h;return r.a.createElement("div",{className:I()(c,"-pagination"),style:this.props.style},r.a.createElement("div",{className:"-previous"},r.a.createElement(f,{onClick:function(){o&&e.changePage(g-1)},disabled:!o},this.props.previousText)),r.a.createElement("div",{className:"-center"},r.a.createElement("span",{className:"-pageInfo"},this.props.pageText," ",i?r.a.createElement("div",{className:"-pageJump"},r.a.createElement("input",{type:""===this.state.page?"text":"number",onChange:function(t){var n=t.target.value,g=n-1;if(""===n)return e.setState({page:n});e.setState({page:e.getSafePage(g)})},value:""===this.state.page?"":this.state.page+1,onBlur:this.applyPage,onKeyPress:function(t){13!==t.which&&13!==t.keyCode||e.applyPage()}})):r.a.createElement("span",{className:"-currentPage"},g+1)," ",this.props.ofText," ",r.a.createElement("span",{className:"-totalPages"},n||1)),a&&r.a.createElement("span",{className:"select-wrap -pageSizeOptions"},r.a.createElement("select",{onChange:function(e){return u(Number(e.target.value))},value:A},C.map(function(t,n){return r.a.createElement("option",{key:n,value:t},t," ",e.props.rowsText)})))),r.a.createElement("div",{className:"-next"},r.a.createElement(p,{onClick:function(){s&&e.changePage(g+1)},disabled:!s},this.props.nextText)))}}]),t}(),IA=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var g in n)Object.prototype.hasOwnProperty.call(n,g)&&(e[g]=n[g])}return e};function oA(e,t){var n={};for(var g in e)t.indexOf(g)>=0||Object.prototype.hasOwnProperty.call(e,g)&&(n[g]=e[g]);return n}var sA=function(){return{}},uA={data:[],resolveData:function(e){return e},loading:!1,showPagination:!0,showPaginationTop:!1,showPaginationBottom:!0,showPageSizeOptions:!0,pageSizeOptions:[5,10,20,25,50,100],defaultPageSize:20,showPageJump:!0,collapseOnSortingChange:!0,collapseOnPageChange:!0,collapseOnDataChange:!0,freezeWhenExpanded:!1,sortable:!0,multiSort:!0,resizable:!0,filterable:!1,defaultSortDesc:!1,defaultSorted:[],defaultFiltered:[],defaultResized:[],defaultExpanded:{},defaultFilterMethod:function(e,t,n){var g=e.pivotId||e.id;return void 0===t[g]||String(t[g]).startsWith(e.value)},defaultSortMethod:function(e,t,n){return e=null===e||void 0===e?"":e,t=null===t||void 0===t?"":t,(e="string"==typeof e?e.toLowerCase():e)>(t="string"==typeof t?t.toLowerCase():t)?1:e<t?-1:0},onPageChange:void 0,onPageSizeChange:void 0,onSortedChange:void 0,onFilteredChange:void 0,onResizedChange:void 0,onExpandedChange:void 0,pivotBy:void 0,pivotValKey:"_pivotVal",pivotIDKey:"_pivotID",subRowsKey:"_subRows",aggregatedKey:"_aggregated",nestingLevelKey:"_nestingLevel",originalKey:"_original",indexKey:"_index",groupedByPivotKey:"_groupedByPivot",onFetchData:function(){return null},className:"",style:{},getProps:sA,getTableProps:sA,getTheadGroupProps:sA,getTheadGroupTrProps:sA,getTheadGroupThProps:sA,getTheadProps:sA,getTheadTrProps:sA,getTheadThProps:sA,getTheadFilterProps:sA,getTheadFilterTrProps:sA,getTheadFilterThProps:sA,getTbodyProps:sA,getTrGroupProps:sA,getTrProps:sA,getTdProps:sA,getTfootProps:sA,getTfootTrProps:sA,getTfootTdProps:sA,getPaginationProps:sA,getLoadingProps:sA,getNoDataProps:sA,getResizerProps:sA,column:{Cell:void 0,Header:void 0,Footer:void 0,Aggregated:void 0,Pivot:void 0,PivotValue:void 0,Expander:void 0,Filter:void 0,sortable:void 0,resizable:void 0,filterable:void 0,show:!0,minWidth:100,className:"",style:{},getProps:sA,aggregate:void 0,headerClassName:"",headerStyle:{},getHeaderProps:sA,footerClassName:"",footerStyle:{},getFooterProps:sA,filterMethod:void 0,filterAll:!1,sortMethod:void 0},expanderDefaults:{sortable:!1,resizable:!1,filterable:!1,width:35},pivotDefaults:{},previousText:"Previous",nextText:"Next",loadingText:"Loading...",noDataText:"No rows found",pageText:"Page",ofText:"of",rowsText:"rows",TableComponent:function(e){var t=e.children,n=e.className,g=oA(e,["children","className"]);return r.a.createElement("div",IA({className:I()("rt-table",n),role:"grid"},g),t)},TheadComponent:HC.makeTemplateComponent("rt-thead","Thead"),TbodyComponent:HC.makeTemplateComponent("rt-tbody","Tbody"),TrGroupComponent:function(e){var t=e.children,n=e.className,g=oA(e,["children","className"]);return r.a.createElement("div",IA({className:I()("rt-tr-group",n),role:"rowgroup"},g),t)},TrComponent:function(e){var t=e.children,n=e.className,g=oA(e,["children","className"]);return r.a.createElement("div",IA({className:I()("rt-tr",n),role:"row"},g),t)},ThComponent:function(e){var t=e.toggleSort,n=e.className,g=e.children,a=oA(e,["toggleSort","className","children"]);return r.a.createElement("div",IA({className:I()("rt-th",n),onClick:function(e){return t&&t(e)},role:"columnheader",tabIndex:"-1"},a),g)},TdComponent:function(e){e.toggleSort;var t=e.className,n=e.children,g=oA(e,["toggleSort","className","children"]);return r.a.createElement("div",IA({className:I()("rt-td",t),role:"gridcell"},g),n)},TfootComponent:HC.makeTemplateComponent("rt-tfoot","Tfoot"),FilterComponent:function(e){var t=e.filter,n=e.onChange;return r.a.createElement("input",{type:"text",style:{width:"100%"},value:t?t.value:"",onChange:function(e){return n(e.target.value)}})},ExpanderComponent:function(e){var t=e.isExpanded;return r.a.createElement("div",{className:I()("rt-expander",t&&"-open")},"•")},PivotValueComponent:function(e){var t=e.subRows,n=e.value;return r.a.createElement("span",null,n," ",t&&"("+t.length+")")},AggregatedComponent:function(e){var t=e.subRows,n=e.column,g=t.filter(function(e){return void 0!==e[n.id]}).map(function(e,g){return r.a.createElement("span",{key:g},e[n.id],g<t.length-1?", ":"")});return r.a.createElement("span",null,g)},PivotComponent:void 0,PaginationComponent:iA,PreviousComponent:void 0,NextComponent:void 0,LoadingComponent:function(e){var t=e.className,n=e.loading,g=e.loadingText,a=oA(e,["className","loading","loadingText"]);return r.a.createElement("div",IA({className:I()("-loading",{"-active":n},t)},a),r.a.createElement("div",{className:"-loading-inner"},g))},NoDataComponent:HC.makeTemplateComponent("rt-noData","NoData"),ResizerComponent:HC.makeTemplateComponent("rt-resizer","Resizer"),PadRowComponent:function(){return r.a.createElement("span",null," ")}},cA={data:C.a.any,loading:C.a.bool,showPagination:C.a.bool,showPaginationTop:C.a.bool,showPaginationBottom:C.a.bool,showPageSizeOptions:C.a.bool,pageSizeOptions:C.a.array,defaultPageSize:C.a.number,showPageJump:C.a.bool,collapseOnSortingChange:C.a.bool,collapseOnPageChange:C.a.bool,collapseOnDataChange:C.a.bool,freezeWhenExpanded:C.a.bool,sortable:C.a.bool,resizable:C.a.bool,filterable:C.a.bool,defaultSortDesc:C.a.bool,defaultSorted:C.a.array,defaultFiltered:C.a.array,defaultResized:C.a.array,defaultExpanded:C.a.object,defaultFilterMethod:C.a.func,defaultSortMethod:C.a.func,onPageChange:C.a.func,onPageSizeChange:C.a.func,onSortedChange:C.a.func,onFilteredChange:C.a.func,onResizedChange:C.a.func,onExpandedChange:C.a.func,pivotBy:C.a.array,pivotValKey:C.a.string,pivotIDKey:C.a.string,subRowsKey:C.a.string,aggregatedKey:C.a.string,nestingLevelKey:C.a.string,originalKey:C.a.string,indexKey:C.a.string,groupedByPivotKey:C.a.string,onFetchData:C.a.func,className:C.a.string,style:C.a.object,getProps:C.a.func,getTableProps:C.a.func,getTheadGroupProps:C.a.func,getTheadGroupTrProps:C.a.func,getTheadGroupThProps:C.a.func,getTheadProps:C.a.func,getTheadTrProps:C.a.func,getTheadThProps:C.a.func,getTheadFilterProps:C.a.func,getTheadFilterTrProps:C.a.func,getTheadFilterThProps:C.a.func,getTbodyProps:C.a.func,getTrGroupProps:C.a.func,getTrProps:C.a.func,getTdProps:C.a.func,getTfootProps:C.a.func,getTfootTrProps:C.a.func,getTfootTdProps:C.a.func,getPaginationProps:C.a.func,getLoadingProps:C.a.func,getNoDataProps:C.a.func,getResizerProps:C.a.func,columns:C.a.arrayOf(C.a.shape({Cell:C.a.oneOfType([C.a.element,C.a.string,C.a.func]),Header:C.a.oneOfType([C.a.element,C.a.string,C.a.func]),Footer:C.a.oneOfType([C.a.element,C.a.string,C.a.func]),Aggregated:C.a.oneOfType([C.a.element,C.a.string,C.a.func]),Pivot:C.a.oneOfType([C.a.element,C.a.string,C.a.func]),PivotValue:C.a.oneOfType([C.a.element,C.a.string,C.a.func]),Expander:C.a.oneOfType([C.a.element,C.a.string,C.a.func]),Filter:C.a.oneOfType([C.a.element,C.a.func]),sortable:C.a.bool,resizable:C.a.bool,filterable:C.a.bool,show:C.a.bool,minWidth:C.a.number,className:C.a.string,style:C.a.object,getProps:C.a.func,aggregate:C.a.func,headerClassName:C.a.string,headerStyle:C.a.object,getHeaderProps:C.a.func,footerClassName:C.a.string,footerStyle:C.a.object,getFooterProps:C.a.object,filterMethod:C.a.func,filterAll:C.a.bool,sortMethod:C.a.func})),expanderDefaults:C.a.shape({sortable:C.a.bool,resizable:C.a.bool,filterable:C.a.bool,width:C.a.number}),pivotDefaults:C.a.object,previousText:C.a.node,nextText:C.a.node,loadingText:C.a.node,noDataText:C.a.node,pageText:C.a.node,ofText:C.a.node,rowsText:C.a.node,TableComponent:C.a.oneOfType([C.a.func,C.a.element]),TheadComponent:C.a.oneOfType([C.a.func,C.a.element]),TbodyComponent:C.a.oneOfType([C.a.func,C.a.element]),TrGroupComponent:C.a.oneOfType([C.a.func,C.a.element]),TrComponent:C.a.oneOfType([C.a.func,C.a.element]),ThComponent:C.a.oneOfType([C.a.func,C.a.element]),TdComponent:C.a.oneOfType([C.a.func,C.a.element]),TfootComponent:C.a.oneOfType([C.a.func,C.a.element]),FilterComponent:C.a.oneOfType([C.a.func,C.a.element]),ExpanderComponent:C.a.oneOfType([C.a.func,C.a.element]),PivotValueComponent:C.a.oneOfType([C.a.func,C.a.element]),AggregatedComponent:C.a.oneOfType([C.a.func,C.a.element]),PivotComponent:C.a.oneOfType([C.a.func,C.a.element]),PaginationComponent:C.a.oneOfType([C.a.func,C.a.element]),PreviousComponent:C.a.oneOfType([C.a.func,C.a.element]),NextComponent:C.a.oneOfType([C.a.func,C.a.element]),LoadingComponent:C.a.oneOfType([C.a.func,C.a.element]),NoDataComponent:C.a.oneOfType([C.a.func,C.a.element]),ResizerComponent:C.a.oneOfType([C.a.func,C.a.element]),PadRowComponent:C.a.oneOfType([C.a.func,C.a.element])},lA=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],g=!0,r=!1,a=void 0;try{for(var C,A=e[Symbol.iterator]();!(g=(C=A.next()).done)&&(n.push(C.value),!t||n.length!==t);g=!0);}catch(e){r=!0,a=e}finally{try{!g&&A.return&&A.return()}finally{if(r)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),fA=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var g in n)Object.prototype.hasOwnProperty.call(n,g)&&(e[g]=n[g])}return e},hA=function(){function e(e,t){for(var n=0;n<t.length;n++){var g=t[n];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(e,g.key,g)}}return function(t,n,g){return n&&e(t.prototype,n),g&&e(t,g),t}}();var pA=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return n.getResolvedState=n.getResolvedState.bind(n),n.getDataModel=n.getDataModel.bind(n),n.getSortedData=n.getSortedData.bind(n),n.fireFetchData=n.fireFetchData.bind(n),n.getPropOrState=n.getPropOrState.bind(n),n.getStateOrProp=n.getStateOrProp.bind(n),n.filterData=n.filterData.bind(n),n.sortData=n.sortData.bind(n),n.getMinRows=n.getMinRows.bind(n),n.onPageChange=n.onPageChange.bind(n),n.onPageSizeChange=n.onPageSizeChange.bind(n),n.sortColumn=n.sortColumn.bind(n),n.filterColumn=n.filterColumn.bind(n),n.resizeColumnStart=n.resizeColumnStart.bind(n),n.resizeColumnEnd=n.resizeColumnEnd.bind(n),n.resizeColumnMoving=n.resizeColumnMoving.bind(n),n.state={page:0,pageSize:e.defaultPageSize,sorted:e.defaultSorted,expanded:e.defaultExpanded,filtered:e.defaultFiltered,resized:e.defaultResized,currentlyResizing:!1,skipNextSort:!1},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,rA(JC(g["Component"]))),hA(t,[{key:"render",value:function(){var e=this,t=this.getResolvedState(),n=t.children,g=t.className,a=t.style,C=t.getProps,A=t.getTableProps,i=t.getTheadGroupProps,o=t.getTheadGroupTrProps,s=t.getTheadGroupThProps,u=t.getTheadProps,c=t.getTheadTrProps,l=t.getTheadThProps,f=t.getTheadFilterProps,h=t.getTheadFilterTrProps,p=t.getTheadFilterThProps,d=t.getTbodyProps,m=t.getTrGroupProps,y=t.getTrProps,v=t.getTdProps,b=t.getTfootProps,x=t.getTfootTrProps,_=t.getTfootTdProps,w=t.getPaginationProps,T=t.getLoadingProps,O=t.getNoDataProps,k=t.getResizerProps,P=t.showPagination,N=t.showPaginationTop,E=t.showPaginationBottom,M=t.manual,R=t.loadingText,S=t.noDataText,j=t.sortable,D=t.multiSort,z=t.resizable,W=t.filterable,L=t.pivotIDKey,F=t.pivotValKey,Z=t.pivotBy,G=t.subRowsKey,U=t.aggregatedKey,V=t.originalKey,Y=t.indexKey,K=t.groupedByPivotKey,q=t.loading,H=t.pageSize,B=t.page,Q=t.sorted,X=t.filtered,J=t.resized,$=t.expanded,ee=t.pages,te=t.onExpandedChange,ne=t.TableComponent,ge=t.TheadComponent,re=t.TbodyComponent,ae=t.TrGroupComponent,Ce=t.TrComponent,Ae=t.ThComponent,ie=t.TdComponent,Ie=t.TfootComponent,oe=t.PaginationComponent,se=t.LoadingComponent,ue=t.SubComponent,ce=t.NoDataComponent,le=t.ResizerComponent,fe=t.ExpanderComponent,he=t.PivotValueComponent,pe=t.PivotComponent,de=t.AggregatedComponent,me=t.FilterComponent,ye=t.PadRowComponent,ve=t.resolvedData,be=t.allVisibleColumns,xe=t.headerGroups,_e=t.hasHeaderGroups,we=t.sortedData,Te=t.currentlyResizing,Oe=H*B,ke=Oe+H,Pe=M?ve:we.slice(Oe,ke),Ne=this.getMinRows(),Ee=HC.range(Math.max(Ne-Pe.length,0)),Me=be.some(function(e){return e.Footer}),Re=W||be.some(function(e){return e.filterable}),Se=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],g=arguments.length>2&&void 0!==arguments[2]?arguments[2]:-1;return[t.map(function(t,r){var a=fA({},t,{_viewIndex:g+=1}),C=n.concat([r]);if(a[G]&&HC.get($,C)){var A=e(a[G],C,g),i=lA(A,2);a[G]=i[0],g=i[1]}return a}),g]}(Pe),je=lA(Se,1);Pe=je[0];var De=B>0,ze=B+1<ee,We=HC.sum(be.map(function(e){var t=J.find(function(t){return t.id===e.id})||{};return HC.getFirstDefined(t.value,e.width,e.minWidth)})),Le=-1,Fe=fA({},t,{startRow:Oe,endRow:ke,pageRows:Pe,minRows:Ne,padRows:Ee,hasColumnFooter:Me,canPrevious:De,canNext:ze,rowMinWidth:We}),Ze=HC.splitProps(C(Fe,void 0,void 0,this)),Ge=HC.splitProps(A(Fe,void 0,void 0,this)),Ue=HC.splitProps(d(Fe,void 0,void 0,this)),Ve=T(Fe,void 0,void 0,this),Ye=O(Fe,void 0,void 0,this),Ke=function(t,n){var g=function(e){return(J.find(function(t){return t.id===e.id})||{}).value},a=HC.sum(t.columns.map(function(e){return e.width||g(e)?0:e.minWidth})),C=HC.sum(t.columns.map(function(e){return HC.getFirstDefined(g(e),e.width,e.minWidth)})),A=HC.sum(t.columns.map(function(e){return HC.getFirstDefined(g(e),e.width,e.maxWidth)})),i=HC.splitProps(s(Fe,void 0,t,e)),o=HC.splitProps(t.getHeaderProps(Fe,void 0,t,e)),u=[t.headerClassName,i.className,o.className],c=fA({},t.headerStyle,i.style,o.style),l=fA({},i.rest,o.rest),f={flex:a+" 0 auto",width:HC.asPx(C),maxWidth:HC.asPx(A)};return r.a.createElement(Ae,fA({key:n+"-"+t.id,className:I()(u),style:fA({},c,f)},l),HC.normalizeComponent(t.Header,{data:we,column:t}))},qe=function(t,n){var g=J.find(function(e){return e.id===t.id})||{},a=Q.find(function(e){return e.id===t.id}),C="function"==typeof t.show?t.show():t.show,A=HC.getFirstDefined(g.value,t.width,t.minWidth),i=HC.getFirstDefined(g.value,t.width,t.maxWidth),o=HC.splitProps(l(Fe,void 0,t,e)),s=HC.splitProps(t.getHeaderProps(Fe,void 0,t,e)),u=[t.headerClassName,o.className,s.className],c=fA({},t.headerStyle,o.style,s.style),f=fA({},o.rest,s.rest),h=HC.getFirstDefined(t.resizable,z,!1),p=h?r.a.createElement(le,fA({onMouseDown:function(n){return e.resizeColumnStart(n,t,!1)},onTouchStart:function(n){return e.resizeColumnStart(n,t,!0)}},k("finalState",void 0,t,e))):null,d=HC.getFirstDefined(t.sortable,j,!1);return r.a.createElement(Ae,fA({key:n+"-"+t.id,className:I()(u,h&&"rt-resizable-header",a?a.desc?"-sort-desc":"-sort-asc":"",d&&"-cursor-pointer",!C&&"-hidden",Z&&Z.slice(0,-1).includes(t.id)&&"rt-header-pivot"),style:fA({},c,{flex:A+" 0 auto",width:HC.asPx(A),maxWidth:HC.asPx(i)}),toggleSort:function(n){d&&e.sortColumn(t,!!D&&n.shiftKey)}},f),r.a.createElement("div",{className:I()(h&&"rt-resizable-header-content")},HC.normalizeComponent(t.Header,{data:we,column:t})),p)},He=function(t,n){var g=J.find(function(e){return e.id===t.id})||{},a=HC.getFirstDefined(g.value,t.width,t.minWidth),C=HC.getFirstDefined(g.value,t.width,t.maxWidth),A=HC.splitProps(p(Fe,void 0,t,e)),i=HC.splitProps(t.getHeaderProps(Fe,void 0,t,e)),o=[t.headerClassName,A.className,i.className],s=fA({},t.headerStyle,A.style,i.style),u=fA({},A.rest,i.rest),c=X.find(function(e){return e.id===t.id}),l=t.Filter||me,f=HC.getFirstDefined(t.filterable,W,!1);return r.a.createElement(Ae,fA({key:n+"-"+t.id,className:I()(o),style:fA({},s,{flex:a+" 0 auto",width:HC.asPx(a),maxWidth:HC.asPx(C)})},u),f?HC.normalizeComponent(l,{column:t,filter:c,onChange:function(n){return e.filterColumn(t,n)}},uA.column.Filter):null)},Be=function(t,n){var g=J.find(function(e){return e.id===t.id})||{},a="function"==typeof t.show?t.show():t.show,C=HC.getFirstDefined(g.value,t.width,t.minWidth),A=C,i=HC.getFirstDefined(g.value,t.width,t.maxWidth),o=HC.splitProps(v(Fe,void 0,t,e)),s=HC.splitProps(t.getProps(Fe,void 0,t,e)),u=[o.className,t.className,s.className],c=fA({},o.style,t.style,s.style);return r.a.createElement(ie,fA({key:n+"-"+t.id,className:I()(u,!a&&"hidden"),style:fA({},c,{flex:A+" 0 auto",width:HC.asPx(C),maxWidth:HC.asPx(i)})},o.rest),HC.normalizeComponent(ye))},Qe=function(t,n){var g=m(Fe,void 0,void 0,e),a=HC.splitProps(y(Fe,void 0,void 0,e));return r.a.createElement(ae,fA({key:n},g),r.a.createElement(Ce,{className:I()("-padRow",(Pe.length+n)%2?"-even":"-odd",a.className),style:a.style||{}},be.map(Be)))},Xe=function(t,n){var g=J.find(function(e){return e.id===t.id})||{},a="function"==typeof t.show?t.show():t.show,C=HC.getFirstDefined(g.value,t.width,t.minWidth),A=HC.getFirstDefined(g.value,t.width,t.maxWidth),i=HC.splitProps(_(Fe,void 0,void 0,e)),o=HC.splitProps(t.getProps(Fe,void 0,t,e)),s=HC.splitProps(t.getFooterProps(Fe,void 0,t,e)),u=[i.className,t.className,o.className,s.className],c=fA({},i.style,t.style,o.style,s.style);return r.a.createElement(ie,fA({key:n+"-"+t.id,className:I()(u,!a&&"hidden"),style:fA({},c,{flex:C+" 0 auto",width:HC.asPx(C),maxWidth:HC.asPx(A)})},o.rest,i.rest,s.rest),HC.normalizeComponent(t.Footer,{data:we,column:t}))},Je=function(){var n=function(){var n=HC.splitProps(w(Fe,void 0,void 0,e));return r.a.createElement(oe,fA({},t,{pages:ee,canPrevious:De,canNext:ze,onPageChange:e.onPageChange,onPageSizeChange:e.onPageSizeChange,className:n.className,style:n.style},n.rest))}();return r.a.createElement("div",fA({className:I()("ReactTable",g,Ze.className),style:fA({},a,Ze.style)},Ze.rest),P&&N?r.a.createElement("div",{className:"pagination-top"},n):null,r.a.createElement(ne,fA({className:I()(Ge.className,Te?"rt-resizing":""),style:Ge.style},Ge.rest),_e?function(){var t=HC.splitProps(i(Fe,void 0,void 0,e)),n=HC.splitProps(o(Fe,void 0,void 0,e));return r.a.createElement(ge,fA({className:I()("-headerGroups",t.className),style:fA({},t.style,{minWidth:We+"px"})},t.rest),r.a.createElement(Ce,fA({className:n.className,style:n.style},n.rest),xe.map(Ke)))}():null,function(){var t=HC.splitProps(u(Fe,void 0,void 0,e)),n=HC.splitProps(c(Fe,void 0,void 0,e));return r.a.createElement(ge,fA({className:I()("-header",t.className),style:fA({},t.style,{minWidth:We+"px"})},t.rest),r.a.createElement(Ce,fA({className:n.className,style:n.style},n.rest),be.map(qe)))}(),Re?function(){var t=HC.splitProps(f(Fe,void 0,void 0,e)),n=HC.splitProps(h(Fe,void 0,void 0,e));return r.a.createElement(ge,fA({className:I()("-filters",t.className),style:fA({},t.style,{minWidth:We+"px"})},t.rest),r.a.createElement(Ce,fA({className:n.className,style:n.style},n.rest),be.map(He)))}():null,r.a.createElement(re,fA({className:I()(Ue.className),style:fA({},Ue.style,{minWidth:We+"px"})},Ue.rest),Pe.map(function(t,n){return function t(n,g){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],C={original:n[V],row:n,index:n[Y],viewIndex:Le+=1,pageSize:H,page:B,level:a.length,nestingPath:a.concat([g]),aggregated:n[U],groupedByPivot:n[K],subRows:n[G]},A=HC.get($,C.nestingPath),i=m(Fe,C,void 0,e),o=HC.splitProps(y(Fe,C,void 0,e));return r.a.createElement(ae,fA({key:C.nestingPath.join("_")},i),r.a.createElement(Ce,fA({className:I()(o.className,n._viewIndex%2?"-even":"-odd"),style:o.style},o.rest),be.map(function(t,g){var a=J.find(function(e){return e.id===t.id})||{},i="function"==typeof t.show?t.show():t.show,o=HC.getFirstDefined(a.value,t.width,t.minWidth),s=HC.getFirstDefined(a.value,t.width,t.maxWidth),u=HC.splitProps(v(Fe,C,t,e)),c=HC.splitProps(t.getProps(Fe,C,t,e)),l=[u.className,t.className,c.className],f=fA({},u.style,t.style,c.style),h=fA({},C,{isExpanded:A,column:fA({},t),value:C.row[t.id],pivoted:t.pivoted,expander:t.expander,resized:J,show:i,width:o,maxWidth:s,tdProps:u,columnProps:c,classes:l,styles:f}),p=h.value,d=void 0,m=void 0,y=void 0,b=HC.normalizeComponent(t.Cell,h,p),x=t.Aggregated||(t.aggregate?t.Cell:de),_=t.Expander||fe,w=t.PivotValue||he,T=pe||function(e){return r.a.createElement("div",null,r.a.createElement(_,e),r.a.createElement(w,e))},O=t.Pivot||T;(h.pivoted||h.expander)&&(h.expandable=!0,d=!0,!h.pivoted||h.subRows||ue||(h.expandable=!1)),h.pivoted?(m=C.row[L]===t.id&&h.subRows,y=Z.indexOf(t.id)>Z.indexOf(C.row[L])&&h.subRows,b=m?HC.normalizeComponent(O,fA({},h,{value:n[F]}),n[F]):y?HC.normalizeComponent(x,h,p):null):h.aggregated&&(b=HC.normalizeComponent(x,h,p)),h.expander&&(b=HC.normalizeComponent(_,h,n[F]),Z&&(h.groupedByPivot&&(b=null),h.subRows||ue||(b=null)));var k=d?function(t){var n=HC.clone($);return n=A?HC.set(n,h.nestingPath,!1):HC.set(n,h.nestingPath,{}),e.setStateWithData({expanded:n},function(){return te&&te(n,h.nestingPath,t)})}:function(){},P={onClick:k};return u.rest.onClick&&(P.onClick=function(e){u.rest.onClick(e,function(){return k(e)})}),c.rest.onClick&&(P.onClick=function(e){c.rest.onClick(e,function(){return k(e)})}),r.a.createElement(ie,fA({key:g+"-"+t.id,className:I()(l,!i&&"hidden",h.expandable&&"rt-expandable",(m||y)&&"rt-pivot"),style:fA({},f,{flex:o+" 0 auto",width:HC.asPx(o),maxWidth:HC.asPx(s)})},u.rest,c.rest,P),b)})),C.subRows&&A&&C.subRows.map(function(e,n){return t(e,n,C.nestingPath)}),ue&&!C.subRows&&A&&ue(C))}(t,n)}),Ee.map(Qe)),Me?function(){var t=b(Fe,void 0,void 0,e),n=HC.splitProps(x(Fe,void 0,void 0,e));return r.a.createElement(Ie,fA({className:t.className,style:fA({},t.style,{minWidth:We+"px"})},t.rest),r.a.createElement(Ce,fA({className:I()(n.className),style:n.style},n.rest),be.map(Xe)))}():null),P&&E?r.a.createElement("div",{className:"pagination-bottom"},n):null,!Pe.length&&r.a.createElement(ce,Ye,HC.normalizeComponent(S)),r.a.createElement(se,fA({loading:q,loadingText:R},Ve)))};return n?n(Fe,Je,this):Je()}}]),t}();pA.propTypes=cA,pA.defaultProps=uA;var dA=pA;function mA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yA(e,t){for(var n=0;n<t.length;n++){var g=t[n];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(e,g.key,g)}}function vA(e,t,n){return t&&yA(e.prototype,t),n&&yA(e,n),e}function bA(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xA(){return(xA=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var g in n)Object.prototype.hasOwnProperty.call(n,g)&&(e[g]=n[g])}return e}).apply(this,arguments)}function _A(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&function(e,t){(Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}(e,t)}function wA(e){return(wA=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function TA(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OA(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?TA(e):t}(function(e){function t(e){var n;return mA(this,t),(n=OA(this,wA(t).call(this,e))).state={active:n.props.active},n.handleClick=n.handleClick.bind(TA(TA(n))),n}_A(t,r.a.Component),vA(t,[{key:"handleClick",value:function(e){e.preventDefault(),this.setState({active:e.target.id}),this.props.onChange(e)}},{key:"render",value:function(){var e=this,t=this.props.options,n=this.state.active;return r.a.createElement("div",{className:"dv-btn-group",role:"group"},t.map(function(t){return r.a.createElement("button",{type:"button",className:"dv-btn ".concat(n===t.id?"dv-btn-active":""),onClick:e.handleClick,id:t.id},t.text)}))}}])})(),function(e){function t(e){var n;return mA(this,t),(n=OA(this,wA(t).call(this,e))).state={},n.props.options.forEach(function(e){n.state[e.id]=!!e.checked}),n.handleChange=n.handleChange.bind(TA(TA(n))),n}_A(t,r.a.Component),vA(t,[{key:"handleChange",value:function(e){this.setState(bA({},e.target.id,e.target.checked)),this.props.onChange(e)}},{key:"render",value:function(){var e=this,t=this.props,n=t.orientation,g=t.options,a=t.style,C=t.title;return r.a.createElement("div",{className:"dv-checkbox-container ".concat("vertical"===n?"dv-checkbox-container-vertical":"horizontal"===n?"dv-checkbox-container-horizontal":""),style:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},g=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(g=g.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),g.forEach(function(t){bA(e,t,n[t])})}return e}({},a)},r.a.createElement("span",{className:"dv-checkbox-container__title"},C),g.map(function(t,n){return r.a.createElement("div",{className:"dv-checkbox",key:n},r.a.createElement("input",{id:t.id,type:"checkbox",checked:e.state[t.id],onChange:e.handleChange}),r.a.createElement("label",{htmlFor:t.id,className:"dv-checkbox-label"},t.label))}))}}])}();var kA=function(e){function t(e){var n;return mA(this,t),(n=OA(this,wA(t).call(this,e))).state={search:""},n}return _A(t,r.a.Component),vA(t,[{key:"updateSearch",value:function(e){this.setState({search:e.target.value}),this.props.onChange(e)}},{key:"render",value:function(){var e=this.props,t=e.placeholder,n=e.className,g=e.style;return r.a.createElement("input",{type:"search",placeholder:t||"Search...",onChange:this.updateSearch.bind(this),value:this.state.search,className:"dv-search ".concat(n||""),style:g})}}]),t}();(function(e){function t(e){var n;return mA(this,t),(n=OA(this,wA(t).call(this,e))).onSelectChange=n.onSelectChange.bind(TA(TA(n))),n.state={value:n.props.selected||""},n}_A(t,r.a.Component),vA(t,[{key:"onSelectChange",value:function(e){this.setState({value:e.target.value}),this.props.onChange(e)}},{key:"render",value:function(){var e=this.props,t=e.options,n=(e.selected,e.onChange,e.className),g=function(e,t){if(null==e)return{};var n,g,r=function(e,t){if(null==e)return{};var n,g,r={},a=Object.keys(e);for(g=0;g<a.length;g++)n=a[g],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(g=0;g<a.length;g++)n=a[g],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,["options","selected","onChange","className"]);return r.a.createElement("select",xA({onChange:this.onSelectChange,value:this.state.value,className:"dv-select ".concat(n||"")},g),t.map(function(e,t){return r.a.createElement("option",{value:e,key:e},e)}))}}])})(),function(e){function t(e){var n;return mA(this,t),(n=OA(this,wA(t).call(this,e))).state={value:n.props.value},n.handleChange=n.handleChange.bind(TA(TA(n))),n}_A(t,r.a.Component),vA(t,[{key:"handleChange",value:function(e){this.setState({value:e.target.value}),this.props.onChange(e)}},{key:"render",value:function(){var e=this,t=this.props,n=t.label,g=t.min,a=t.max,C=t.step,A=t.id,i=this.state.value,I=Math.round(+i/+a*1*100);return r.a.createElement("div",{className:"dv-range-slider"},r.a.createElement("div",{className:"dv-range-slider__label-container"},r.a.createElement("span",{className:"dv-range-slider__label"},n),r.a.createElement("span",{className:"dv-range-slider__value"},i," out of ",a)),r.a.createElement("input",{id:A,className:"dv-range-slider__range",type:"range",value:i,min:g,max:a,step:C||1,onChange:function(t){return e.handleChange(t)},style:{background:"linear-gradient(90deg,#2dd1ac ".concat(I,"%,#e3e3e3 ").concat(I,"%)")}}))}}])}(),function(e){function t(e){var n;return mA(this,t),(n=OA(this,wA(t).call(this,e))).state={checked:n.props.checked},n}_A(t,r.a.Component),vA(t,[{key:"handleChange",value:function(e){this.setState({checked:e.target.checked}),this.props.onChange(e)}},{key:"render",value:function(){var e=this,t=this.props,n=t.onLabel,g=t.offLabel,a=t.id,C=this.state.checked;return r.a.createElement("div",{className:"dv-toggle-container"},r.a.createElement("div",{className:"dv-toggle"},r.a.createElement("input",{type:"checkbox",className:"dv-toggle__input",onChange:function(t){return e.handleChange(t)},checked:!!C,id:a}),r.a.createElement("label",{htmlFor:a,className:"dv-toggle__button"})),r.a.createElement("span",{className:"dv-toggle__label"},C?n:g))}}])}();function PA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function NA(e,t){for(var n=0;n<t.length;n++){var g=t[n];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(e,g.key,g)}}function EA(e,t,n){return t&&NA(e.prototype,t),n&&NA(e,n),e}function MA(){return(MA=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var g in n)Object.prototype.hasOwnProperty.call(n,g)&&(e[g]=n[g])}return e}).apply(this,arguments)}function RA(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&function(e,t){(Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}(e,t)}function SA(e){return(SA=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function jA(e,t){if(null==e)return{};var n,g,r=function(e,t){if(null==e)return{};var n,g,r={},a=Object.keys(e);for(g=0;g<a.length;g++)n=a[g],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(g=0;g<a.length;g++)n=a[g],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function DA(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zA(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?DA(e):t}var WA,LA=function(e){return r.a.createElement("button",MA({type:"button"},e,{className:"pagination__btn"}),e.children)},FA=function(e){function t(e){var n;return PA(this,t),(n=zA(this,SA(t).call(this))).getSafePage=n.getSafePage.bind(DA(DA(n))),n.changePage=n.changePage.bind(DA(DA(n))),n.applyPage=n.applyPage.bind(DA(DA(n))),n.state={page:e.page},n}return RA(t,r.a.Component),EA(t,[{key:"componentWillReceiveProps",value:function(e){this.setState({page:e.page})}},{key:"getSafePage",value:function(e){return Number.isNaN(e)&&(e=this.props.page),Math.min(Math.max(e,0),this.props.pages-1)}},{key:"changePage",value:function(e){e=this.getSafePage(e),this.setState({page:e}),this.props.page!==e&&this.props.onPageChange(e)}},{key:"applyPage",value:function(e){e&&e.preventDefault();var t=this.state.page;this.changePage(""===t?this.props.page:t)}},{key:"render",value:function(){var e=this,t=this.props,n=t.pages,g=t.page,a=t.sortedData,C=(t.showPageSizeOptions,t.pageSizeOptions,t.pageSize),A=t.showPageJump,i=t.canPrevious,I=t.canNext,o=(t.onPageSizeChange,t.className,t.PreviousComponent),s=void 0===o?LA:o,u=t.NextComponent,c=void 0===u?LA:u;return r.a.createElement("div",{className:"pagination",style:this.props.style},r.a.createElement("span",{className:"pagination__number-of-entries"},"Showing ",g*C+1," to"," ",g===n-1?a.length:g*C+C," ","of ",a.length," entries"),r.a.createElement("div",{className:"pagination__controls"},r.a.createElement("div",{className:"pagination__previous"},r.a.createElement(s,{onClick:function(){i&&e.changePage(g-1)},disabled:!i},this.props.previousText)),r.a.createElement("div",{className:"pagination__center"},r.a.createElement("span",{className:"pagination__page-info"},this.props.pageText," ",A?r.a.createElement("div",{className:"pagination__page-jump"},r.a.createElement("input",{type:""===this.state.page?"text":"number",onChange:function(t){var n=t.target.value,g=n-1;if(""===n)return e.setState({page:n});e.setState({page:e.getSafePage(g)})},value:""===this.state.page?"":this.state.page+1,onBlur:this.applyPage,onKeyPress:function(t){13!==t.which&&13!==t.keyCode||e.applyPage()}})):r.a.createElement("span",{className:"pagination__current-page"},g+1)," ",this.props.ofText,r.a.createElement("span",{className:"pagination__total-pages"},n||1))),r.a.createElement("div",{className:"pagination__next"},r.a.createElement(c,{onClick:function(){I&&e.changePage(g+1)},disabled:!I},this.props.nextText))))}}]),t}(),ZA=function(e){var t=e.data,n=e.columns,g=e.showPagination,a=e.maxWidth,C=void 0===a?1200:a,A=e.children,i=jA(e,["data","columns","showPagination","maxWidth","children"]);return r.a.createElement("div",{style:{maxWidth:C}},A,r.a.createElement(dA,MA({data:t,columns:n,className:"-striped",showPagination:g||!1,showPageSizeOptions:!1,PaginationComponent:FA},i)))};WA=ZA,function(e){function t(e){var n;return PA(this,t),(n=zA(this,SA(t).call(this,e))).state={search:""},n}RA(t,r.a.Component),EA(t,[{key:"handleChange",value:function(e){this.setState({search:e.target.value})}},{key:"render",value:function(){var e=this.state.search,t=this.props,n=t.data,g=jA(t,["data"]),a=n;return e.length>0&&(a=n.filter(function(t){return Object.keys(t).some(function(n){return"string"==typeof t[n]&&t[n].toLowerCase().includes(e.toLowerCase())})})),r.a.createElement(WA,MA({data:a},g),r.a.createElement(kA,{onChange:this.handleChange.bind(this)}))}}])}();function GA(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},g=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(g=g.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),g.forEach(function(t){UA(e,t,n[t])})}return e}function UA(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var VA=function(e){var t=e.width,n=void 0===t?"20px":t,g=e.height,r=void 0===g?"20px":g,a=e.style;return React.createElement("svg",{className:"passfailcheck",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 17.33 13.75",style:GA({},a,{fill:"none",stroke:"#5dc5a5",strokeLinecap:"square",strokeWidth:"4px",width:n,height:r})},React.createElement("title",null,"check-mark"),React.createElement("g",null,React.createElement("g",null,React.createElement("polyline",{className:"check-mark",points:"3.53 6.9 7.07 10.26 13.79 3.54"}))))},YA=[{Header:"Organization",accessor:"Organization",minWidth:200},{Header:"Mortality Data (Health)",accessor:"Mortality Data (Health)",minWidth:150,Cell:function(e){return e.value?React.createElement(VA,null):null},style:{display:"flex",alignItems:"center"}},{Header:"Overdose (EMS/Law)",accessor:"Overdose (EMS/Law)",minWidth:150,Cell:function(e){return e.value?React.createElement(VA,null):null},style:{display:"flex",alignItems:"center"}},{Header:"Permanent Prescription Drop Boxes",accessor:"Permanent Prescription Drop Boxes",minWidth:150,Cell:function(e){return e.value?React.createElement(VA,null):null},style:{display:"flex",alignItems:"center"}},{Header:"Treatment Facilities",accessor:"Treatment Facilities",minWidth:150,Cell:function(e){return e.value?React.createElement(VA,null):null},style:{display:"flex",alignItems:"center"}},{Header:"# of Prescriptions (from state PDMP)",accessor:"# of Prescriptions (from state PDMP)",minWidth:150,Cell:function(e){return e.value?React.createElement(VA,null):null},style:{display:"flex",alignItems:"center"}},{Header:"Public Naloxone Access",accessor:"Public Naloxone Access",minWidth:150,Cell:function(e){return e.value?React.createElement(VA,null):null},style:{display:"flex",alignItems:"center"}},{Header:"Mental Health Facilities",accessor:"Mental Health Facilities",minWidth:150,Cell:function(e){return e.value?React.createElement(VA,null):null},style:{display:"flex",alignItems:"center"}},{Header:"Hospitilzations",accessor:"Hospitilzations",minWidth:150,Cell:function(e){return e.value?React.createElement(VA,null):null},style:{display:"flex",alignItems:"center"}},{Header:"Law Enforcement Arrests (Heroin Seizures)",accessor:"Law Enforcement Arrests (Heroin Seizures)",minWidth:150,Cell:function(e){return e.value?React.createElement(VA,null):null},style:{display:"flex",alignItems:"center"}},{Header:"Alternative Pain Management (Acupuncture, Chiro, etc)",accessor:"Alternative Pain Management (Acupuncture, Chiro, etc)",minWidth:150,Cell:function(e){return e.value?React.createElement(VA,null):null},style:{display:"flex",alignItems:"center"}},{Header:"Recovery Resources (Post Treatment resources)",accessor:"Recovery Resources (Post Treatment resources)",minWidth:150,Cell:function(e){return e.value?React.createElement(VA,null):null},style:{display:"flex",alignItems:"center"}},{Header:"Wastewater",accessor:"Wastewater",minWidth:150,Cell:function(e){return e.value?React.createElement(VA,null):null},style:{display:"flex",alignItems:"center"}}],KA=(n(22),n(25),n(27),n(29),[]),qA=null,HA={bar_chart:function(e){ReactDOM.render(React.createElement(UC,{style:{maxWidth:650,margin:"auto"}},React.createElement(VC,null,qA.meta[0].title),React.createElement(YC,null,qA.meta[0].description),React.createElement(EC,{data:qA.bar_chart,height:400,x:function(e){return e.abb},y:function(e){return+e.contributions},margin:{left:25,top:10,right:10,bottom:35},renderTooltip:function(e){var t=e.datum;return React.createElement("div",{style:{padding:"0.25rem 0"}},React.createElement("div",{style:{paddingBottom:"0.5rem"}},"State: ",React.createElement("b",null,t.state)),React.createElement("div",null,"Contributions: ",React.createElement("b",null,t.contributions)))}})),e)},data_table:function(e){ReactDOM.render(React.createElement(UC,{full:!0},React.createElement(VC,{style:{paddingBottom:"2rem"}},qA.meta[1].title),React.createElement(ZA,{data:qA.data_table,columns:YA,showPagination:!1,minRows:0})),e)}};fetch("https://na-data-projects.s3.amazonaws.com/data/pit/omi_final_report.json").then(function(e){return e.json()}).then(function(e){qA=e;for(var t=0;t<KA.length;t++)KA[t]()}),window.renderDataViz=function(e){var t=e.getAttribute("id"),n=HA[t];n&&(qA?n(e):KA.push(function(){return n(e)}))}}]);