text: webpackJsonp([0],[function(t,e,n){"use strict";t.exports=n(46)},function(t,e,n){t.exports=n(502)()},function(t,e,n){"use strict";function r(t,e,n,r,a,i,s,u){if(o(e),!t){var c;if(void 0===e)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,a,i,s,u],f=0;c=new Error(e.replace(/%s/g,function(){return l[f++]})),c.name="Invariant Violation"}throw c.framesToPop=1,c}}var o=function(t){};t.exports=r},function(t,e,n){"use strict";var r=n(259);n.d(e,"B",function(){return r.a});var o=n(291);n.d(e,"D",function(){return o.a});var a=n(181);n.d(e,"E",function(){return a.a});var i=n(305);n.d(e,"K",function(){return i.a});var s=n(642);n.d(e,"H",function(){return s.a});var u=n(662);n.d(e,"C",function(){return u.a});var c=n(194);n.d(e,"I",function(){return c.a});var l=n(665);n.d(e,"F",function(){return l.a});var f=n(675);n.d(e,"J",function(){return f.a});var p=n(184);n.d(e,"G",function(){return p.a});var h=n(302);n.d(e,"t",function(){return h.a});var d=n(676);n.d(e,"a",function(){return d.a});var y=n(677);n.d(e,"b",function(){return y.a});var g=n(703);n.d(e,"c",function(){return g.a});var m=n(325);n.d(e,"d",function(){return m.a});var v=n(704);n.d(e,"e",function(){return v.a});var b=n(322);n.d(e,"f",function(){return b.a});var _=n(705);n.d(e,"h",function(){return _.a});var x=n(706);n.d(e,"l",function(){return x.a});var w=n(707);n.d(e,"q",function(){return w.a});var O=n(324);n.d(e,"s",function(){return O.a});var C=n(708);n.d(e,"x",function(){return C.a});var k=n(709);n.d(e,"L",function(){return k.a});var M=n(326);n.d(e,"n",function(){return M.a});var P=n(323);n.d(e,"M",function(){return P.a});var E=n(11);n.d(e,"g",function(){return E.a});var A=n(201);n.d(e,"i",function(){return A.a});var T=n(777);n.d(e,"j",function(){return T.a});var S=n(778);n.d(e,"k",function(){return S.a});var j=n(193);n.d(e,"m",function(){return j.a});var D=n(8);n.d(e,"o",function(){return D.a});var N=n(186);n.d(e,"p",function(){return N.a});var R=n(121);n.d(e,"r",function(){return R.a});var L=n(30);n.d(e,"u",function(){return L.a});var I=n(203);n.d(e,"v",function(){return I.a});var F=n(781);n.d(e,"w",function(){return F.a});var U=n(187);n.d(e,"y",function(){return U.a});var B=n(196);n.d(e,"z",function(){return B.a});var V=(n(81),n(307));n.d(e,"A",function(){return V.a})},function(t,e,n){var r=n(116),o=n(34),a=n(82),i=n(27),s=n(76),u=n(15),c=Object.prototype,l=c.hasOwnProperty,f=a(function(t,e){if(s(e)||i(e))return void o(e,u(e),t);for(var n in e)l.call(e,n)&&r(t,n,e[n])});t.exports=f},function(t,e,n){var r=n(78),o=n(610),a=n(43),i=n(613),s=a(function(t){return t.push(void 0,i),r(o,void 0,t)});t.exports=s},function(t,e,n){"use strict";var r=n(21),o=r;t.exports=o},function(t,e,n){"use strict";function r(t){for(var e=arguments.length-1,n="Minified React error #"+t+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+t,r=0;r<e;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);n+=" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";var o=new Error(n);throw o.name="Invariant Violation",o.framesToPop=1,o}t.exports=r},function(t,e,n){"use strict";var r=n(637),o=n.n(r),a=n(29),i=n.n(a),s=n(167),u=n.n(s),c=n(9),l=n.n(c),f=n(5),p=n.n(f),h=n(11),d=n(0),y=n.n(d);e.a={getPoint:function(t){var e=function(t){return void 0!==t},n=t._x,r=t._x1,o=t._x0,a=t._voronoiX,i=t._y,s=t._y1,u=t._y0,c=t._voronoiY,l=e(r)?r:n,f=e(s)?s:i,h={x:e(a)?a:l,x0:e(o)?o:n,y:e(c)?c:f,y0:e(u)?u:i};return p()({},h,t)},scalePoint:function(t,e){var n=t.scale,r=t.polar,o=this.getPoint(e),a=t.origin||{x:0,y:0},i=n.x(o.x),s=n.x(o.x0),u=n.y(o.y),c=n.y(o.y0);return{x:r?u*Math.cos(i)+a.x:i,x0:r?c*Math.cos(s)+a.x:s,y:r?-u*Math.sin(i)+a.y:u,y0:r?-c*Math.sin(s)+a.x:c}},formatPadding:function(t){var e="number"==typeof t?t:0,n="object"==typeof t?t:{};return{top:n.top||e,bottom:n.bottom||e,left:n.left||e,right:n.right||e}},getPadding:function(t){return this.formatPadding(t.padding)},getStyles:function(t,e){if(!t)return p()({parent:{height:"100%",width:"100%"}},e);var n=t.data,r=t.labels,o=t.parent,a=e&&e.parent||{},i=e&&e.labels||{},s=e&&e.data||{};return{parent:p()({},o,a,{width:"100%",height:"100%"}),labels:p()({},r,i),data:p()({},n,s)}},evaluateProp:function(t,e,n){return l()(t)?t(e,n):t},evaluateStyle:function(t,e,n){var r=this;return t&&Object.keys(t).some(function(e){return l()(t[e])})?Object.keys(t).reduce(function(o,a){return o[a]=r.evaluateProp(t[a],e,n),o},{}):t},degreesToRadians:function(t){return t*(Math.PI/180)},radiansToDegrees:function(t){return t/(Math.PI/180)},getRadius:function(t){var e=this.getPadding(t),n=e.left,r=e.right,o=e.top,a=e.bottom,i=t.width,s=t.height;return Math.min(i-n-r,s-o-a)/2},getPolarOrigin:function(t){var e=t.width,n=t.height,r=this.getPadding(t),o=r.top,a=r.bottom,i=r.left,s=r.right,u=Math.min(e-i-s,n-o-a)/2,c=e/2+i-s,l=n/2+o-a;return{x:c+u>e?u+i-s:c,y:l+u>n?u+o-a:l}},getRange:function(t,e){return t.range&&t.range[e]?t.range[e]:t.range&&Array.isArray(t.range)?t.range:t.polar?this.getPolarRange(t,e):this.getCartesianRange(t,e)},getCartesianRange:function(t,e){var n="x"!==e,r=this.getPadding(t);return n?[t.height-r.bottom,r.top]:[r.left,t.width-r.right]},getPolarRange:function(t,e){if("x"===e){return[this.degreesToRadians(t.startAngle||0),this.degreesToRadians(t.endAngle||360)]}return[t.innerRadius||0,this.getRadius(t)]},createAccessor:function(t){return l()(t)?t:null===t||void 0===t?function(t){return t}:u()(t)},modifyProps:function(t,e,n){var r=t.theme&&t.theme[n]?t.theme[n]:{},o=i()(r,["style"]);return p()({},t,o,e)},getCurrentAxis:function(t,e){var n="x"===t?"y":"x";return e?n:t},isVertical:function(t){return{top:!1,bottom:!1,left:!0,right:!0}[t.orientation||(t.dependentAxis?"left":"bottom")]},stringTicks:function(t){return void 0!==t.tickValues&&h.a.containsStrings(t.tickValues)},reduceChildren:function(t,e){var n=0,r=function(t,a){return o()(t,function(t,o){var i=o.props.name||n;if(n++,o.props&&o.props.children){var s=y.a.Children.toArray(o.props.children),u=r(s,o);t=t.concat(u)}else{var c=e(o,i,a);t=c?t.concat(c):t}return t},[])};return r(t)}}},function(t,e,n){function r(t){if(!a(t))return!1;var e=o(t);return e==s||e==u||e==i||e==c}var o=n(37),a=n(14),i="[object AsyncFunction]",s="[object Function]",u="[object GeneratorFunction]",c="[object Proxy]";t.exports=r},function(t,e,n){"use strict";function r(t){if(null===t||void 0===t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}/*
  object-assign
  (c) Sindre Sorhus
  @license MIT
  */
  var o=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;t.exports=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(e).map(function(t){return e[t]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(t){r[t]=t}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(t){return!1}}()?Object.assign:function(t,e){for(var n,s,u=r(t),c=1;c<arguments.length;c++){n=Object(arguments[c]);for(var l in n)a.call(n,l)&&(u[l]=n[l]);if(o){s=o(n);for(var f=0;f<s.length;f++)i.call(n,s[f])&&(u[s[f]]=n[s[f]])}}return u}},function(t,e,n){"use strict";function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}var o=n(79),a=n.n(o),i=n(185),s=n.n(i),u=n(15),c=n.n(u),l=n(61),f=n.n(l);e.a={isNonEmptyArray:function(t){return Array.isArray(t)&&t.length>0},containsStrings:function(t){return Array.isArray(t)&&t.some(function(t){return"string"==typeof t})},containsDates:function(t){return Array.isArray(t)&&t.some(function(t){return t instanceof Date})},containsNumbers:function(t){return Array.isArray(t)&&t.some(function(t){return"number"==typeof t})},containsOnlyStrings:function(t){return this.isNonEmptyArray(t)&&t.every(function(t){return"string"==typeof t})},isArrayOfArrays:function(t){return this.isNonEmptyArray(t)&&t.every(Array.isArray)},removeUndefined:function(t){return t.filter(function(t){return void 0!==t})},getMaxValue:function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),o=1;o<e;o++)n[o-1]=arguments[o];var a=t.concat(n);return this.containsDates(a)?new Date(Math.max.apply(Math,r(a))):Math.max.apply(Math,r(a))},getMinValue:function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),o=1;o<e;o++)n[o-1]=arguments[o];var a=t.concat(n);return this.containsDates(a)?new Date(Math.min.apply(Math,r(a))):Math.min.apply(Math,r(a))},splitArray:function(t,e){var n=0;return t.reduce(function(r,o,a){return e(o)?(r=r.concat([t.slice(n,a)]),n=a+1):a===t.length-1&&(r=r.concat([t.slice(n,t.length)])),r},[]).filter(function(t){return Array.isArray(t)&&t.length>0})},allSetsEqual:function(t){return t.every(function(t){return f()(t[0],t[1])})},areVictoryPropsEqual:function(t,e){return this.checkEquality(t,e)},checkEquality:function(t,e){var n=this,r=function(t,e){return t===e||typeof t==typeof e&&("function"==typeof t||("object"!=typeof t||c()(t).length===c()(e).length)&&("object"!=typeof t||0===c()(t).length?f()(t,e):void 0))},o=r(t,e);return"boolean"==typeof o?o:c()(t).reduce(function(o,i){if(!o)return!1;var u=t[i],c=e[i],l=r(u,c);return"boolean"==typeof l?l:a()(u)?!!a()(c)&&(s()(u)&&s()(c)||n.checkEquality(u,c)):Array.isArray(u)?!!Array.isArray(c)&&(s()(u)&&s()(c)||n.checkEquality(u,c)):f()(u,c)},!0)}}},function(t,e,n){"use strict";function r(t,e){return 1===t.nodeType&&t.getAttribute(d)===String(e)||8===t.nodeType&&t.nodeValue===" react-text: "+e+" "||8===t.nodeType&&t.nodeValue===" react-empty: "+e+" "}function o(t){for(var e;e=t._renderedComponent;)t=e;return t}function a(t,e){var n=o(t);n._hostNode=e,e[g]=n}function i(t){var e=t._hostNode;e&&(delete e[g],t._hostNode=null)}function s(t,e){if(!(t._flags&y.hasCachedChildNodes)){var n=t._renderedChildren,i=e.firstChild;t:for(var s in n)if(n.hasOwnProperty(s)){var u=n[s],c=o(u)._domID;if(0!==c){for(;null!==i;i=i.nextSibling)if(r(i,c)){a(u,i);continue t}f("32",c)}}t._flags|=y.hasCachedChildNodes}}function u(t){if(t[g])return t[g];for(var e=[];!t[g];){if(e.push(t),!t.parentNode)return null;t=t.parentNode}for(var n,r;t&&(r=t[g]);t=e.pop())n=r,e.length&&s(r,t);return n}function c(t){var e=u(t);return null!=e&&e._hostNode===t?e:null}function l(t){if(void 0===t._hostNode&&f("33"),t._hostNode)return t._hostNode;for(var e=[];!t._hostNode;)e.push(t),t._hostParent||f("34"),t=t._hostParent;for(;e.length;t=e.pop())s(t,t._hostNode);return t._hostNode}var f=n(7),p=n(48),h=n(220),d=(n(2),p.ID_ATTRIBUTE_NAME),y=h,g="__reactInternalInstance$"+Math.random().toString(36).slice(2),m={getClosestInstanceFromNode:u,getInstanceFromNode:c,getNodeFromInstance:l,precacheChildNodes:s,precacheNode:a,uncacheNode:i};t.exports=m},function(t,e){var n=Array.isArray;t.exports=n},function(t,e){function n(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}t.exports=n},function(t,e,n){function r(t){return i(t)?o(t):a(t)}var o=n(269),a=n(270),i=n(27);t.exports=r},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){var r=n(261),o="object"==typeof self&&self&&self.Object===Object&&self,a=r||o||Function("return this")();t.exports=a},function(t,e,n){"use strict";function r(t,e,n,i){function s(e){return t(e=new Date(+e)),e}return s.floor=s,s.ceil=function(n){return t(n=new Date(n-1)),e(n,1),t(n),n},s.round=function(t){var e=s(t),n=s.ceil(t);return t-e<n-t?e:n},s.offset=function(t,n){return e(t=new Date(+t),null==n?1:Math.floor(n)),t},s.range=function(n,r,o){var a=[];if(n=s.ceil(n),o=null==o?1:Math.floor(o),!(n<r&&o>0))return a;do{a.push(new Date(+n))}while(e(n,o),t(n),n<r);return a},s.filter=function(n){return r(function(e){if(e>=e)for(;t(e),!n(e);)e.setTime(e-1)},function(t,r){if(t>=t)if(r<0)for(;++r<=0;)for(;e(t,-1),!n(t););else for(;--r>=0;)for(;e(t,1),!n(t););})},n&&(s.count=function(e,r){return o.setTime(+e),a.setTime(+r),t(o),t(a),Math.floor(n(o,a))},s.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?s.filter(i?function(e){return i(e)%t==0}:function(e){return s.count(0,e)%t==0}):s:null}),s}e.a=r;var o=new Date,a=new Date},function(t,e,n){"use strict";var r=!("undefined"==typeof window||!window.document||!window.document.createElement),o={canUseDOM:r,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:r&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:r&&!!window.screen,isInWorker:!r};t.exports=o},function(t,e,n){var r=n(43),o=n(308),a=n(123),i=n(83),s=r(function(t,e){var n=i(e,a(s));return o(t,64,void 0,e,n)});s.placeholder={},t.exports=s},function(t,e,n){"use strict";function r(t){return function(){return t}}var o=function(){};o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(t){return t},t.exports=o},function(t,e,n){"use strict";var r=n(1),o=n.n(r),a=n(30);e.a={active:o.a.bool,className:o.a.string,data:o.a.array,events:o.a.object,index:o.a.oneOfType([o.a.number,o.a.string]),origin:o.a.shape({x:o.a.number,y:o.a.number}),polar:o.a.bool,role:o.a.string,scale:o.a.oneOfType([a.a.scale,o.a.shape({x:a.a.scale,y:a.a.scale})]),shapeRendering:o.a.string,style:o.a.object}},function(t,e,n){"use strict";n.d(e,"b",function(){return i}),n.d(e,"a",function(){return s});var r=n(1),o=n.n(r),a=n(3),i={categories:o.a.oneOfType([o.a.arrayOf(o.a.string),o.a.shape({x:o.a.arrayOf(o.a.string),y:o.a.arrayOf(o.a.string)})]),data:o.a.array,dataComponent:o.a.element,labelComponent:o.a.element,labels:o.a.oneOfType([o.a.func,o.a.array]),samples:a.u.nonNegative,sortKey:o.a.oneOfType([o.a.func,a.u.allOfType([a.u.integer,a.u.nonNegative]),o.a.string,o.a.arrayOf(o.a.string)]),style:o.a.shape({parent:o.a.object,data:o.a.object,labels:o.a.object}),x:o.a.oneOfType([o.a.func,a.u.allOfType([a.u.integer,a.u.nonNegative]),o.a.string,o.a.arrayOf(o.a.string)]),y:o.a.oneOfType([o.a.func,a.u.allOfType([a.u.integer,a.u.nonNegative]),o.a.string,o.a.arrayOf(o.a.string)]),y0:o.a.oneOfType([o.a.func,a.u.allOfType([a.u.integer,a.u.nonNegative]),o.a.string,o.a.arrayOf(o.a.string)])},s={animate:o.a.oneOfType([o.a.bool,o.a.object]),containerComponent:o.a.element,domain:o.a.oneOfType([a.u.domain,o.a.shape({x:a.u.domain,y:a.u.domain})]),domainPadding:o.a.oneOfType([o.a.shape({x:o.a.oneOfType([o.a.number,o.a.arrayOf(o.a.number)]),y:o.a.oneOfType([o.a.number,o.a.arrayOf(o.a.number)])}),o.a.number,o.a.arrayOf(o.a.number)]),eventKey:o.a.oneOfType([o.a.func,a.u.allOfType([a.u.integer,a.u.nonNegative]),o.a.string]),events:o.a.arrayOf(o.a.shape({target:o.a.oneOf(["data","labels","parent"]),eventKey:o.a.oneOfType([o.a.array,a.u.allOfType([a.u.integer,a.u.nonNegative]),o.a.string]),eventHandlers:o.a.object})),groupComponent:o.a.element,height:a.u.nonNegative,name:o.a.string,origin:o.a.shape({x:o.a.number,y:o.a.number}),padding:o.a.oneOfType([o.a.number,o.a.shape({top:o.a.number,bottom:o.a.number,left:o.a.number,right:o.a.number})]),polar:o.a.bool,range:o.a.oneOfType([a.u.domain,o.a.shape({x:a.u.domain,y:a.u.domain})]),scale:o.a.oneOfType([a.u.scale,o.a.shape({x:a.u.scale,y:a.u.scale})]),sharedEvents:o.a.shape({events:o.a.array,getEventState:o.a.func}),standalone:o.a.bool,theme:o.a.object,width:a.u.nonNegative}},function(t,e,n){"use strict";var r=null;t.exports={debugTool:r}},function(t,e,n){"use strict";function r(){E.ReactReconcileTransaction&&w||l("123")}function o(){this.reinitializeTransaction(),this.dirtyComponentsLength=null,this.callbackQueue=p.getPooled(),this.reconcileTransaction=E.ReactReconcileTransaction.getPooled(!0)}function a(t,e,n,o,a,i){return r(),w.batchedUpdates(t,e,n,o,a,i)}function i(t,e){return t._mountOrder-e._mountOrder}function s(t){var e=t.dirtyComponentsLength;e!==v.length&&l("124",e,v.length),v.sort(i),b++;for(var n=0;n<e;n++){var r=v[n],o=r._pendingCallbacks;r._pendingCallbacks=null;var a;if(d.logTopLevelRenders){var s=r;r._currentElement.type.isReactTopLevelWrapper&&(s=r._renderedComponent),a="React update: "+s.getName(),console.time(a)}if(y.performUpdateIfNecessary(r,t.reconcileTransaction,b),a&&console.timeEnd(a),o)for(var u=0;u<o.length;u++)t.callbackQueue.enqueue(o[u],r.getPublicInstance())}}function u(t){if(r(),!w.isBatchingUpdates)return void w.batchedUpdates(u,t);v.push(t),null==t._updateBatchNumber&&(t._updateBatchNumber=b+1)}function c(t,e){m(w.isBatchingUpdates,"ReactUpdates.asap: Can't enqueue an asap callback in a context whereupdates are not being batched."),_.enqueue(t,e),x=!0}var l=n(7),f=n(10),p=n(224),h=n(39),d=n(225),y=n(49),g=n(97),m=n(2),v=[],b=0,_=p.getPooled(),x=!1,w=null,O={initialize:function(){this.dirtyComponentsLength=v.length},close:function(){this.dirtyComponentsLength!==v.length?(v.splice(0,this.dirtyComponentsLength),M()):v.length=0}},C={initialize:function(){this.callbackQueue.reset()},close:function(){this.callbackQueue.notifyAll()}},k=[O,C];f(o.prototype,g,{getTransactionWrappers:function(){return k},destructor:function(){this.dirtyComponentsLength=null,p.release(this.callbackQueue),this.callbackQueue=null,E.ReactReconcileTransaction.release(this.reconcileTransaction),this.reconcileTransaction=null},perform:function(t,e,n){return g.perform.call(this,this.reconcileTransaction.perform,this.reconcileTransaction,t,e,n)}}),h.addPoolingTo(o);var M=function(){for(;v.length||x;){if(v.length){var t=o.getPooled();t.perform(s,null,t),o.release(t)}if(x){x=!1;var e=_;_=p.getPooled(),e.notifyAll(),p.release(e)}}},P={injectReconcileTransaction:function(t){t||l("126"),E.ReactReconcileTransaction=t},injectBatchingStrategy:function(t){t||l("127"),"function"!=typeof t.batchedUpdates&&l("128"),"boolean"!=typeof t.isBatchingUpdates&&l("129"),w=t}},E={ReactReconcileTransaction:null,batchedUpdates:a,enqueueUpdate:u,flushBatchedUpdates:M,injection:P,asap:c};t.exports=E},function(t,e){function n(t){return null!=t&&"object"==typeof t}t.exports=n},function(t,e,n){function r(t){return null!=t&&a(t.length)&&!o(t)}var o=n(9),a=n(163);t.exports=r},function(t,e){function n(t){return t}t.exports=n},function(t,e,n){var r=n(56),o=n(614),a=n(628),i=n(57),s=n(34),u=n(631),c=n(179),l=n(295),f=c(function(t,e){var n={};if(null==t)return n;var c=!1;e=r(e,function(e){return e=i(e,t),c||(c=e.length>1),e}),s(t,l(t),n),c&&(n=o(n,7,u));for(var f=e.length;f--;)a(n,e[f]);return n});t.exports=f},function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var o=n(632),a=n.n(o),i=n(9),s=n.n(i),u=n(121),c=n(1),l=n.n(c),f=function(t){var e=function(e,n,r,o){var a=n[r];if(void 0===a||null===a)return e?new Error("Required `"+r+"` was not specified in `"+o+"`."):null;for(var i=arguments.length,s=Array(i>4?i-4:0),u=4;u<i;u++)s[u-4]=arguments[u];return t.apply(void 0,[n,r,o].concat(s))},n=e.bind(null,!1);return n.isRequired=e.bind(null,!0),n},p=function(){return null},h=function(){},d=function(t){return void 0===t?h:null===t?p:t.constructor},y=function(t){return void 0===t?"undefined":null===t?"null":Object.prototype.toString.call(t).slice(8,-1)};e.a={deprecated:function(t,e){return function(n,o,a){var i=n[o];return null!==i&&void 0!==i&&u.a.warn('"'+o+'" property of "'+a+'" has been deprecated '+e),l.a.checkPropTypes(r({},o,t),n,o,a)}},allOfType:function(t){return f(function(e,n,r){for(var o=arguments.length,a=Array(o>3?o-3:0),i=3;i<o;i++)a[i-3]=arguments[i];return t.reduce(function(t,o){return t||o.apply(void 0,[e,n,r].concat(a))},void 0)})},nonNegative:f(function(t,e,n){var r=t[e];if("number"!=typeof r||r<0)return new Error("`"+e+"` in `"+n+"` must be a non-negative number.")}),integer:f(function(t,e,n){var r=t[e];if("number"!=typeof r||r%1!=0)return new Error("`"+e+"` in `"+n+"` must be an integer.")}),greaterThanZero:f(function(t,e,n){var r=t[e];if("number"!=typeof r||r<=0)return new Error("`"+e+"` in `"+n+"` must be a number greater than zero.")}),domain:f(function(t,e,n){var r=t[e];if(!Array.isArray(r)||2!==r.length||r[1]===r[0])return new Error("`"+e+"` in `"+n+"` must be an array of two unique numeric values.")}),scale:f(function(t,e,n){var r=["linear","time","log","sqrt"],o=t[e];if(!function(t){return s()(t)?s()(t.copy)&&s()(t.domain)&&s()(t.range):"string"==typeof t&&-1!==r.indexOf(t)}(o))return new Error("`"+e+"` in `"+n+"` must be a d3 scale.")}),homogeneousArray:f(function(t,e,n){var r=t[e];if(!Array.isArray(r))return new Error("`"+e+"` in `"+n+"` must be an array.");if(!(r.length<2)){var o=d(r[0]),i=a()(r,function(t){return o!==d(t)});if(i){var s=y(r[0]),u=y(i);return new Error("Expected `"+e+"` in `"+n+"` to be a homogeneous array, but found types `"+s+"` and `"+u+"`.")}}}),matchDataLength:f(function(t,e){if(t[e]&&Array.isArray(t[e])&&t[e].length!==t.data.length)return new Error("Length of data and "+e+" arrays must match.")})}},function(t,e,n){"use strict";var r={current:null};t.exports=r},function(t,e,n){"use strict";function r(t,e,n,r){this.dispatchConfig=t,this._targetInst=e,this.nativeEvent=n;var o=this.constructor.Interface;for(var a in o)if(o.hasOwnProperty(a)){var s=o[a];s?this[a]=s(n):"target"===a?this.target=r:this[a]=n[a]}var u=null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue;return this.isDefaultPrevented=u?i.thatReturnsTrue:i.thatReturnsFalse,this.isPropagationStopped=i.thatReturnsFalse,this}var o=n(10),a=n(39),i=n(21),s=(n(6),["dispatchConfig","_targetInst","nativeEvent","isDefaultPrevented","isPropagationStopped","_dispatchListeners","_dispatchInstances"]),u={type:null,target:null,currentTarget:i.thatReturnsNull,eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};o(r.prototype,{preventDefault:function(){this.defaultPrevented=!0;var t=this.nativeEvent;t&&(t.preventDefault?t.preventDefault():"unknown"!=typeof t.returnValue&&(t.returnValue=!1),this.isDefaultPrevented=i.thatReturnsTrue)},stopPropagation:function(){var t=this.nativeEvent;t&&(t.stopPropagation?t.stopPropagation():"unknown"!=typeof t.cancelBubble&&(t.cancelBubble=!0),this.isPropagationStopped=i.thatReturnsTrue)},persist:function(){this.isPersistent=i.thatReturnsTrue},isPersistent:i.thatReturnsFalse,destructor:function(){var t=this.constructor.Interface;for(var e in t)this[e]=null;for(var n=0;n<s.length;n++)this[s[n]]=null}}),r.Interface=u,r.augmentClass=function(t,e){var n=this,r=function(){};r.prototype=n.prototype;var i=new r;o(i,t.prototype),t.prototype=i,t.prototype.constructor=t,t.Interface=o({},n.Interface,e),t.augmentClass=n.augmentClass,a.addPoolingTo(t,a.fourArgumentPooler)},a.addPoolingTo(r,a.fourArgumentPooler),t.exports=r},function(t,e,n){(function(r){function o(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type)||("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))}function a(t){var n=this.useColors;if(t[0]=(n?"%c":"")+this.namespace+(n?" %c":" ")+t[0]+(n?"%c ":" ")+"+"+e.humanize(this.diff),n){var r="color: "+this.color;t.splice(1,0,r,"color: inherit");var o=0,a=0;t[0].replace(/%[a-zA-Z%]/g,function(t){"%%"!==t&&(o++,"%c"===t&&(a=o))}),t.splice(a,0,r)}}function i(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}function s(t){try{null==t?e.storage.removeItem("debug"):e.storage.debug=t}catch(t){}}function u(){var t;try{t=e.storage.debug}catch(t){}return!t&&void 0!==r&&"env"in r&&(t=r.env.DEBUG),t}e=t.exports=n(476),e.log=i,e.formatArgs=a,e.save=s,e.load=u,e.useColors=o,e.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(t){}}(),e.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],e.formatters.j=function(t){try{return JSON.stringify(t)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}},e.enable(u())}).call(e,n(145))},function(t,e,n){function r(t,e,n,r){var i=!n;n||(n={});for(var s=-1,u=e.length;++s<u;){var c=e[s],l=r?r(n[c],t[c],c,n,t):void 0;void 0===l&&(l=t[c]),i?a(n,c,l):o(n,c,l)}return n}var o=n(116),a=n(117);t.exports=r},function(t,e,n){"use strict";var r=n(343);n.d(e,"b",function(){return r.a});var o=n(62);n.d(e,"a",function(){return o.a});var a=n(344);n.d(e,"c",function(){return a.a});var i=(n(715),n(716),n(346),n(348),n(717),n(720),n(721),n(352),n(722),n(723),n(724),n(725),n(353),n(345),n(726),n(205));n.d(e,"d",function(){return i.a});var s=n(350);n.d(e,"e",function(){return s.a});var u=(n(727),n(728),n(729),n(351));n.d(e,"h",function(){return u.a}),n.d(e,"f",function(){return u.b}),n.d(e,"g",function(){return u.c});n(354),n(347),n(730)},function(t,e,n){"use strict";n.d(e,"d",function(){return r}),n.d(e,"c",function(){return o}),n.d(e,"b",function(){return a}),n.d(e,"a",function(){return i}),n.d(e,"e",function(){return s});var r=1e3,o=6e4,a=36e5,i=864e5,s=6048e5},function(t,e,n){function r(t){return null==t?void 0===t?u:s:c&&c in Object(t)?a(t):i(t)}var o=n(55),a=n(534),i=n(535),s="[object Null]",u="[object Undefined]",c=o?o.toStringTag:void 0;t.exports=r},function(t,e,n){"use strict";var r=n(172);n.d(e,"a",function(){return r.e}),n.d(e,"f",function(){return r.g}),n.d(e,"d",function(){return r.f});var o=n(595);n.d(e,"e",function(){return o.a}),n.d(e,"c",function(){return o.b});var a=n(596);n.d(e,"b",function(){return a.a})},function(t,e,n){"use strict";var r=n(7),o=(n(2),function(t){var e=this;if(e.instancePool.length){var n=e.instancePool.pop();return e.call(n,t),n}return new e(t)}),a=function(t,e){var n=this;if(n.instancePool.length){var r=n.instancePool.pop();return n.call(r,t,e),r}return new n(t,e)},i=function(t,e,n){var r=this;if(r.instancePool.length){var o=r.instancePool.pop();return r.call(o,t,e,n),o}return new r(t,e,n)},s=function(t,e,n,r){var o=this;if(o.instancePool.length){var a=o.instancePool.pop();return o.call(a,t,e,n,r),a}return new o(t,e,n,r)},u=function(t){var e=this;t instanceof e||r("25"),t.destructor(),e.instancePool.length<e.poolSize&&e.instancePool.push(t)},c=o,l=function(t,e){var n=t;return n.instancePool=[],n.getPooled=e||c,n.poolSize||(n.poolSize=10),n.release=u,n},f={addPoolingTo:l,oneArgumentPooler:o,twoArgumentPooler:a,threeArgumentPooler:i,fourArgumentPooler:s};t.exports=f},function(t,e,n){function r(t){return"function"==typeof t?t:null==t?i:"object"==typeof t?s(t)?a(t[0],t[1]):o(t):u(t)}var o=n(537),a=n(579),i=n(28),s=n(13),u=n(167);t.exports=r},function(t,e){function n(t,e){return t===e||t!==t&&e!==e}t.exports=n},function(t,e,n){function r(t,e){var n=a(t,e);return o(n)?n:void 0}var o=n(549),a=n(552);t.exports=r},function(t,e,n){function r(t,e){return i(a(t,e,o),t+"")}var o=n(28),a=n(279),i=n(169);t.exports=r},function(t,e,n){"use strict";e.a=function(t){return function(){return t}}},function(t,e,n){"use strict";n.d(e,"a",function(){return o}),n.d(e,"b",function(){return a});var r=Array.prototype,o=r.map,a=r.slice},function(t,e,n){"use strict";var r=n(10),o=n(214),a=n(385),i=n(390),s=n(47),u=n(391),c=n(394),l=n(395),f=n(397),p=s.createElement,h=s.createFactory,d=s.cloneElement,y=r,g=function(t){return t},m={Children:{map:a.map,forEach:a.forEach,count:a.count,toArray:a.toArray,only:f},Component:o.Component,PureComponent:o.PureComponent,createElement:p,cloneElement:d,isValidElement:s.isValidElement,PropTypes:u,createClass:l,createFactory:h,createMixin:g,DOM:i,version:c,__spread:y};t.exports=m},function(t,e,n){"use strict";function r(t){return void 0!==t.ref}function o(t){return void 0!==t.key}var a=n(10),i=n(31),s=(n(6),n(216),Object.prototype.hasOwnProperty),u=n(217),c={key:!0,ref:!0,__self:!0,__source:!0},l=function(t,e,n,r,o,a,i){var s={$$typeof:u,type:t,key:e,ref:n,props:i,_owner:a};return s};l.createElement=function(t,e,n){var a,u={},f=null,p=null;if(null!=e){r(e)&&(p=e.ref),o(e)&&(f=""+e.key),void 0===e.__self?null:e.__self,void 0===e.__source?null:e.__source;for(a in e)s.call(e,a)&&!c.hasOwnProperty(a)&&(u[a]=e[a])}var h=arguments.length-2;if(1===h)u.children=n;else if(h>1){for(var d=Array(h),y=0;y<h;y++)d[y]=arguments[y+2];u.children=d}if(t&&t.defaultProps){var g=t.defaultProps;for(a in g)void 0===u[a]&&(u[a]=g[a])}return l(t,f,p,0,0,i.current,u)},l.createFactory=function(t){var e=l.createElement.bind(null,t);return e.type=t,e},l.cloneAndReplaceKey=function(t,e){return l(t.type,e,t.ref,t._self,t._source,t._owner,t.props)},l.cloneElement=function(t,e,n){var u,f=a({},t.props),p=t.key,h=t.ref,d=(t._self,t._source,t._owner);if(null!=e){r(e)&&(h=e.ref,d=i.current),o(e)&&(p=""+e.key);var y;t.type&&t.type.defaultProps&&(y=t.type.defaultProps);for(u in e)s.call(e,u)&&!c.hasOwnProperty(u)&&(void 0===e[u]&&void 0!==y?f[u]=y[u]:f[u]=e[u])}var g=arguments.length-2;if(1===g)f.children=n;else if(g>1){for(var m=Array(g),v=0;v<g;v++)m[v]=arguments[v+2];f.children=m}return l(t.type,p,h,0,0,d,f)},l.isValidElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===u},t.exports=l},function(t,e,n){"use strict";function r(t,e){return(t&e)===e}var o=n(7),a=(n(2),{MUST_USE_PROPERTY:1,HAS_BOOLEAN_VALUE:4,HAS_NUMERIC_VALUE:8,HAS_POSITIVE_NUMERIC_VALUE:24,HAS_OVERLOADED_BOOLEAN_VALUE:32,injectDOMPropertyConfig:function(t){var e=a,n=t.Properties||{},i=t.DOMAttributeNamespaces||{},u=t.DOMAttributeNames||{},c=t.DOMPropertyNames||{},l=t.DOMMutationMethods||{};t.isCustomAttribute&&s._isCustomAttributeFunctions.push(t.isCustomAttribute);for(var f in n){s.properties.hasOwnProperty(f)&&o("48",f);var p=f.toLowerCase(),h=n[f],d={attributeName:p,attributeNamespace:null,propertyName:f,mutationMethod:null,mustUseProperty:r(h,e.MUST_USE_PROPERTY),hasBooleanValue:r(h,e.HAS_BOOLEAN_VALUE),hasNumericValue:r(h,e.HAS_NUMERIC_VALUE),hasPositiveNumericValue:r(h,e.HAS_POSITIVE_NUMERIC_VALUE),hasOverloadedBooleanValue:r(h,e.HAS_OVERLOADED_BOOLEAN_VALUE)};if(d.hasBooleanValue+d.hasNumericValue+d.hasOverloadedBooleanValue<=1||o("50",f),u.hasOwnProperty(f)){var y=u[f];d.attributeName=y}i.hasOwnProperty(f)&&(d.attributeNamespace=i[f]),c.hasOwnProperty(f)&&(d.propertyName=c[f]),l.hasOwnProperty(f)&&(d.mutationMethod=l[f]),s.properties[f]=d}}}),i=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",s={ID_ATTRIBUTE_NAME:"data-reactid",ROOT_ATTRIBUTE_NAME:"data-reactroot",ATTRIBUTE_NAME_START_CHAR:i,ATTRIBUTE_NAME_CHAR:i+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",properties:{},getPossibleStandardName:null,_isCustomAttributeFunctions:[],isCustomAttribute:function(t){for(var e=0;e<s._isCustomAttributeFunctions.length;e++){if((0,s._isCustomAttributeFunctions[e])(t))return!0}return!1},injection:a};t.exports=s},function(t,e,n){"use strict";function r(){o.attachRefs(this,this._currentElement)}var o=n(407),a=(n(24),n(6),{mountComponent:function(t,e,n,o,a,i){var s=t.mountComponent(e,n,o,a,i);return t._currentElement&&null!=t._currentElement.ref&&e.getReactMountReady().enqueue(r,t),s},getHostNode:function(t){return t.getHostNode()},unmountComponent:function(t,e){o.detachRefs(t,t._currentElement),t.unmountComponent(e)},receiveComponent:function(t,e,n,a){var i=t._currentElement;if(e!==i||a!==t._context){var s=o.shouldUpdateRefs(i,e);s&&o.detachRefs(t,i),t.receiveComponent(e,n,a),s&&t._currentElement&&null!=t._currentElement.ref&&n.getReactMountReady().enqueue(r,t)}},performUpdateIfNecessary:function(t,e,n){t._updateBatchNumber===n&&t.performUpdateIfNecessary(e)}});t.exports=a},function(t,e,n){"use strict";function r(t){if(d){var e=t.node,n=t.children;if(n.length)for(var r=0;r<n.length;r++)y(e,n[r],null);else null!=t.html?f(e,t.html):null!=t.text&&h(e,t.text)}}function o(t,e){t.parentNode.replaceChild(e.node,t),r(e)}function a(t,e){d?t.children.push(e):t.node.appendChild(e.node)}function i(t,e){d?t.html=e:f(t.node,e)}function s(t,e){d?t.text=e:h(t.node,e)}function u(){return this.node.nodeName}function c(t){return{node:t,children:[],html:null,text:null,toString:u}}var l=n(141),f=n(99),p=n(142),h=n(229),d="undefined"!=typeof document&&"number"==typeof document.documentMode||"undefined"!=typeof navigator&&"string"==typeof navigator.userAgent&&/\bEdge\/\d/.test(navigator.userAgent),y=p(function(t,e,n){11===e.node.nodeType||1===e.node.nodeType&&"object"===e.node.nodeName.toLowerCase()&&(null==e.node.namespaceURI||e.node.namespaceURI===l.html)?(r(e),t.insertBefore(e.node,n)):(t.insertBefore(e.node,n),r(e))});c.insertTreeBefore=y,c.replaceChildWithTree=o,c.queueChild=a,c.queueHTML=i,c.queueText=s,t.exports=c},function(t,e,n){function r(t){if(t)return o(t)}function o(t){for(var e in r.prototype)t[e]=r.prototype[e];return t}t.exports=r,r.prototype.on=r.prototype.addEventListener=function(t,e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+t]=this._callbacks["$"+t]||[]).push(e),this},r.prototype.once=function(t,e){function n(){this.off(t,n),e.apply(this,arguments)}return n.fn=e,this.on(t,n),this},r.prototype.off=r.prototype.removeListener=r.prototype.removeAllListeners=r.prototype.removeEventListener=function(t,e){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n=this._callbacks["$"+t];if(!n)return this;if(1==arguments.length)return delete this._callbacks["$"+t],this;for(var r,o=0;o<n.length;o++)if((r=n[o])===e||r.fn===e){n.splice(o,1);break}return this},r.prototype.emit=function(t){this._callbacks=this._callbacks||{};var e=[].slice.call(arguments,1),n=this._callbacks["$"+t];if(n){n=n.slice(0);for(var r=0,o=n.length;r<o;++r)n[r].apply(this,e)}return this},r.prototype.listeners=function(t){return this._callbacks=this._callbacks||{},this._callbacks["$"+t]||[]},r.prototype.hasListeners=function(t){return!!this.listeners(t).length}},function(t,e,n){(function(t){function r(t,n){return n("b"+e.packets[t.type]+t.data.data)}function o(t,n,r){if(!n)return e.encodeBase64Packet(t,r);var o=t.data,a=new Uint8Array(o),i=new Uint8Array(1+o.byteLength);i[0]=v[t.type];for(var s=0;s<a.length;s++)i[s+1]=a[s];return r(i.buffer)}function a(t,n,r){if(!n)return e.encodeBase64Packet(t,r);var o=new FileReader;return o.onload=function(){t.data=o.result,e.encodePacket(t,n,!0,r)},o.readAsArrayBuffer(t.data)}function i(t,n,r){if(!n)return e.encodeBase64Packet(t,r);if(m)return a(t,n,r);var o=new Uint8Array(1);return o[0]=v[t.type],r(new x([o.buffer,t.data]))}function s(t){try{t=d.decode(t,{strict:!1})}catch(t){return!1}return t}function u(t,e,n){for(var r=new Array(t.length),o=h(t.length,n),a=0;a<t.length;a++)!function(t,n,o){e(n,function(e,n){r[t]=n,o(e,r)})}(a,t[a],o)}var c,l=n(486),f=n(247),p=n(487),h=n(488),d=n(489);t&&t.ArrayBuffer&&(c=n(490));var y="undefined"!=typeof navigator&&/Android/i.test(navigator.userAgent),g="undefined"!=typeof navigator&&/PhantomJS/i.test(navigator.userAgent),m=y||g;e.protocol=3;var v=e.packets={open:0,close:1,ping:2,pong:3,message:4,upgrade:5,noop:6},b=l(v),_={type:"error",data:"parser error"},x=n(491);e.encodePacket=function(e,n,a,s){"function"==typeof n&&(s=n,n=!1),"function"==typeof a&&(s=a,a=null);var u=void 0===e.data?void 0:e.data.buffer||e.data;if(t.ArrayBuffer&&u instanceof ArrayBuffer)return o(e,n,s);if(x&&u instanceof t.Blob)return i(e,n,s);if(u&&u.base64)return r(e,s);var c=v[e.type];return void 0!==e.data&&(c+=a?d.encode(String(e.data),{strict:!1}):String(e.data)),s(""+c)},e.encodeBase64Packet=function(n,r){var o="b"+e.packets[n.type];if(x&&n.data instanceof t.Blob){var a=new FileReader;return a.onload=function(){var t=a.result.split(",")[1];r(o+t)},a.readAsDataURL(n.data)}var i;try{i=String.fromCharCode.apply(null,new Uint8Array(n.data))}catch(t){for(var s=new Uint8Array(n.data),u=new Array(s.length),c=0;c<s.length;c++)u[c]=s[c];i=String.fromCharCode.apply(null,u)}return o+=t.btoa(i),r(o)},e.decodePacket=function(t,n,r){if(void 0===t)return _;if("string"==typeof t){if("b"===t.charAt(0))return e.decodeBase64Packet(t.substr(1),n);if(r&&!1===(t=s(t)))return _;var o=t.charAt(0);return Number(o)==o&&b[o]?t.length>1?{type:b[o],data:t.substring(1)}:{type:b[o]}:_}var a=new Uint8Array(t),o=a[0],i=p(t,1);return x&&"blob"===n&&(i=new x([i])),{type:b[o],data:i}},e.decodeBase64Packet=function(t,e){var n=b[t.charAt(0)];if(!c)return{type:n,data:{base64:!0,data:t.substr(1)}};var r=c.decode(t.substr(1));return"blob"===e&&x&&(r=new x([r])),{type:n,data:r}},e.encodePayload=function(t,n,r){function o(t){return t.length+":"+t}function a(t,r){e.encodePacket(t,!!i&&n,!1,function(t){r(null,o(t))})}"function"==typeof n&&(r=n,n=null);var i=f(t);return n&&i?x&&!m?e.encodePayloadAsBlob(t,r):e.encodePayloadAsArrayBuffer(t,r):t.length?void u(t,a,function(t,e){return r(e.join(""))}):r("0:")},e.decodePayload=function(t,n,r){if("string"!=typeof t)return e.decodePayloadAsBinary(t,n,r);"function"==typeof n&&(r=n,n=null);var o;if(""===t)return r(_,0,1);for(var a,i,s="",u=0,c=t.length;u<c;u++){var l=t.charAt(u);if(":"===l){if(""===s||s!=(a=Number(s)))return r(_,0,1);if(i=t.substr(u+1,a),s!=i.length)return r(_,0,1);if(i.length){if(o=e.decodePacket(i,n,!1),_.type===o.type&&_.data===o.data)return r(_,0,1);if(!1===r(o,u+a,c))return}u+=a,s=""}else s+=l}return""!==s?r(_,0,1):void 0},e.encodePayloadAsArrayBuffer=function(t,n){function r(t,n){e.encodePacket(t,!0,!0,function(t){return n(null,t)})}if(!t.length)return n(new ArrayBuffer(0));u(t,r,function(t,e){var r=e.reduce(function(t,e){var n;return n="string"==typeof e?e.length:e.byteLength,t+n.toString().length+n+2},0),o=new Uint8Array(r),a=0;return e.forEach(function(t){var e="string"==typeof t,n=t;if(e){for(var r=new Uint8Array(t.length),i=0;i<t.length;i++)r[i]=t.charCodeAt(i);n=r.buffer}o[a++]=e?0:1;for(var s=n.byteLength.toString(),i=0;i<s.length;i++)o[a++]=parseInt(s[i]);o[a++]=255;for(var r=new Uint8Array(n),i=0;i<r.length;i++)o[a++]=r[i]}),n(o.buffer)})},e.encodePayloadAsBlob=function(t,n){function r(t,n){e.encodePacket(t,!0,!0,function(t){var e=new Uint8Array(1);if(e[0]=1,"string"==typeof t){for(var r=new Uint8Array(t.length),o=0;o<t.length;o++)r[o]=t.charCodeAt(o);t=r.buffer,e[0]=0}for(var a=t instanceof ArrayBuffer?t.byteLength:t.size,i=a.toString(),s=new Uint8Array(i.length+1),o=0;o<i.length;o++)s[o]=parseInt(i[o]);if(s[i.length]=255,x){var u=new x([e.buffer,s.buffer,t]);n(null,u)}})}u(t,r,function(t,e){return n(new x(e))})},e.decodePayloadAsBinary=function(t,n,r){"function"==typeof n&&(r=n,n=null);for(var o=t,a=[];o.byteLength>0;){for(var i=new Uint8Array(o),s=0===i[0],u="",c=1;255!==i[c];c++){if(u.length>310)return r(_,0,1);u+=i[c]}o=p(o,2+u.length),u=parseInt(u);var l=p(o,0,u);if(s)try{l=String.fromCharCode.apply(null,new Uint8Array(l))}catch(t){var f=new Uint8Array(l);l="";for(var c=0;c<f.length;c++)l+=String.fromCharCode(f[c])}a.push(l),o=p(o,u)}var h=a.length;a.forEach(function(t,o){r(e.decodePacket(t,n,!0),o,h)})}}).call(e,n(16))},function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;e<this.length;e++){var n=this[e];n[2]?t.push("@media "+n[2]+"{"+n[1]+"}"):t.push(n[1])}return t.join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},o=0;o<this.length;o++){var a=this[o][0];"number"==typeof a&&(r[a]=!0)}for(o=0;o<e.length;o++){var i=e[o];"number"==typeof i[0]&&r[i[0]]||(n&&!i[2]?i[2]=n:n&&(i[2]="("+i[2]+") and ("+n+")"),t.push(i))}},t}},function(t,e){function n(t,e){for(var n=0;n<t.length;n++){var r=t[n],o=p[r.id];if(o){o.refs++;for(var a=0;a<o.parts.length;a++)o.parts[a](r.parts[a]);for(;a<r.parts.length;a++)o.parts.push(u(r.parts[a],e))}else{for(var i=[],a=0;a<r.parts.length;a++)i.push(u(r.parts[a],e));p[r.id]={id:r.id,refs:1,parts:i}}}}function r(t){for(var e=[],n={},r=0;r<t.length;r++){var o=t[r],a=o[0],i=o[1],s=o[2],u=o[3],c={css:i,media:s,sourceMap:u};n[a]?n[a].parts.push(c):e.push(n[a]={id:a,parts:[c]})}return e}function o(t,e){var n=y(),r=v[v.length-1];if("top"===t.insertAt)r?r.nextSibling?n.insertBefore(e,r.nextSibling):n.appendChild(e):n.insertBefore(e,n.firstChild),v.push(e);else{if("bottom"!==t.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");n.appendChild(e)}}function a(t){t.parentNode.removeChild(t);var e=v.indexOf(t);e>=0&&v.splice(e,1)}function i(t){var e=document.createElement("style");return e.type="text/css",o(t,e),e}function s(t){var e=document.createElement("link");return e.rel="stylesheet",o(t,e),e}function u(t,e){var n,r,o;if(e.singleton){var u=m++;n=g||(g=i(e)),r=c.bind(null,n,u,!1),o=c.bind(null,n,u,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=s(e),r=f.bind(null,n),o=function(){a(n),n.href&&URL.revokeObjectURL(n.href)}):(n=i(e),r=l.bind(null,n),o=function(){a(n)});return r(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;r(t=e)}else o()}}function c(t,e,n,r){var o=n?"":r.css;if(t.styleSheet)t.styleSheet.cssText=b(e,o);else{var a=document.createTextNode(o),i=t.childNodes;i[e]&&t.removeChild(i[e]),i.length?t.insertBefore(a,i[e]):t.appendChild(a)}}function l(t,e){var n=e.css,r=e.media;if(r&&t.setAttribute("media",r),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}function f(t,e){var n=e.css,r=e.sourceMap;r&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var o=new Blob([n],{type:"text/css"}),a=t.href;t.href=URL.createObjectURL(o),a&&URL.revokeObjectURL(a)}var p={},h=function(t){var e;return function(){return void 0===e&&(e=t.apply(this,arguments)),e}},d=h(function(){return/msie [6-9]\b/.test(self.navigator.userAgent.toLowerCase())}),y=h(function(){return document.head||document.getElementsByTagName("head")[0]}),g=null,m=0,v=[];t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");e=e||{},void 0===e.singleton&&(e.singleton=d()),void 0===e.insertAt&&(e.insertAt="bottom");var o=r(t);return n(o,e),function(t){for(var a=[],i=0;i<o.length;i++){var s=o[i],u=p[s.id];u.refs--,a.push(u)}if(t){n(r(t),e)}for(var i=0;i<a.length;i++){var u=a[i];if(0===u.refs){for(var c=0;c<u.parts.length;c++)u.parts[c]();delete p[u.id]}}}};var b=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}()},function(t,e,n){var r=n(17),o=r.Symbol;t.exports=o},function(t,e){function n(t,e){for(var n=-1,r=null==t?0:t.length,o=Array(r);++n<r;)o[n]=e(t[n],n,t);return o}t.exports=n},function(t,e,n){function r(t,e){return o(t)?t:a(t,e)?[t]:i(s(t))}var o=n(13),a=n(165),i=n(580),s=n(166);t.exports=r},function(t,e,n){function r(t){if("string"==typeof t||o(t))return t;var e=t+"";return"0"==e&&1/t==-a?"-0":e}var o=n(77),a=1/0;t.exports=r},function(t,e,n){"use strict";var r=n(171);n.d(e,"a",function(){return r.a});var o=(n(287),n(174),n(285),n(288),n(115));n.d(e,"c",function(){return o.a});var a=(n(289),n(597));n.d(e,"d",function(){return a.a});var i=(n(290),n(598),n(601),n(284),n(602),n(603),n(604),n(605));n.d(e,"b",function(){return i.a});n(606)},function(t,e,n){function r(t){return i(t)?o(t,!0):a(t)}var o=n(269),a=n(611),i=n(27);t.exports=r},function(t,e,n){function r(t,e){return o(t,e)}var o=n(158);t.exports=r},function(t,e,n){"use strict";e.a=function(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}},function(t,e,n){"use strict";function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}var o=n(124),a=n.n(o),i=n(131),s=n.n(i),u=n(204),c=n.n(u),l=n(72),f=n.n(l),p=n(125),h=n.n(p),d=n(202),y=n.n(d),g=n(787),m=n.n(g),v=n(9),b=n.n(v),_=n(28),x=n.n(_),w=n(3),O=n(0),C=n.n(O);e.a={getAxis:function(t){if(t.orientation){return{top:"x",bottom:"x",left:"y",right:"y"}[t.orientation]}return t.dependentAxis?"y":"x"},getCurrentAxis:function(t,e){var n="x"===t?"y":"x";return e?n:t},getAxisComponent:function(t,e){var n=function(t){return t.type.getAxis(t.props)===e};return this.findAxisComponents(t,n)[0]},findAxisComponents:function(t,e){e=e||x.a;var n=function(t){return t.reduce(function(t,r){return r.type&&"axis"===r.type.role&&e(r)?t.concat(r):r.props&&r.props.children?t.concat(n(C.a.Children.toArray(r.props.children))):t},[])};return n(t)},getAxisComponentsWithParent:function(t,e){var n=function(t){return"dependent"===e?t.props.dependentAxis:!t.props.dependentAxis},r=function(t){return t.reduce(function(t,e){if(e.type&&"axis"===e.type.role&&n(e))return t.concat(e);if(e.props&&e.props.children){return r(C.a.Children.toArray(e.props.children)).length>0?t.concat(e):t}return t},[])};return r(t)},getOrigin:function(t){var e=function(t){var e=Math.min.apply(Math,r(t)),n=Math.max.apply(Math,r(t));return n<0?n:Math.max(0,e)};return{x:w.g.containsDates(t.x)?new Date(Math.min.apply(Math,r(t.x))):e(t.x),y:w.g.containsDates(t.y)?new Date(Math.min.apply(Math,r(t.y))):e(t.y)}},getOriginSign:function(t,e){return w.g.containsDates(e)?"positive":function(){return t<=0&&Math.max.apply(Math,r(e))<=0?"negative":"positive"}()},getOrientation:function(t,e,n){if(t&&t.props&&t.props.orientation)return t.props.orientation;var r=n||"positive",o={positive:{x:"bottom",y:"left"},negative:{x:"top",y:"right"}},a={positive:{x:"left",y:"bottom"},negative:{x:"right",y:"top"}};if(!t)return o[r][e];var i=t.props.dependentAxis;return!i&&"y"===e||i&&"x"===e?a[r][e]:o[r][e]},isVertical:function(t){return{top:!1,bottom:!1,left:!0,right:!0}[t.orientation||(t.dependentAxis?"left":"bottom")]},stringTicks:function(t){return void 0!==t.tickValues&&w.g.containsStrings(t.tickValues)},getDefaultTickFormat:function(t){var e=t.tickValues,n=t.stringMap,o=e&&!w.g.containsDates(e)?function(t){return t}:void 0;if(n){var a=n&&m()(n),i=f()(c()(n),function(t){return t}),s=i.map(function(t){return a[t]}),u=[""].concat(r(s),[""]);return function(t){return u[t]}}return this.stringTicks(t)?function(t,n){return e[n]}:o},getTickFormat:function(t,e){var n=t.tickFormat,r=t.stringMap;if(n){if(n&&Array.isArray(n))return function(t,e){return n[e]};if(n&&b()(n)){var o=function(e,n,o){var a=m()(r),i=o.map(function(t){return a[t]});return t.tickFormat(a[e],n,i)};return r?o:n}return function(t){return t}}var a=this.getDefaultTickFormat(t),i=e.tickFormat&&b()(e.tickFormat)?e.tickFormat():function(t){return t};return a||i},getStringTicks:function(t){var e=t.stringMap,n=t.categories,r=n&&w.g.containsOnlyStrings(n)?n.map(function(t){return e[t]}):void 0,o=e&&c()(e);return r&&0!==r.length?r:o},getTickArray:function(t){var e=this,n=t.tickValues,o=t.tickFormat,a=t.stringMap,i=n;a&&(i=this.getStringTicks(t)),n&&w.g.containsStrings(n)&&(i=a?n.map(function(t){return a[t]}):h()(1,n.length+1));var s=i?y()(i):function(){if(o&&Array.isArray(o))return w.g.containsStrings(o)?o.map(function(t,e){return e}):o}();return Array.isArray(s)&&s.length?function(n){var o=e.getAxis(t),a=t.domain&&t.domain[o]||t.domain;return Array.isArray(a)?n.filter(function(t){return t>=Math.min.apply(Math,r(a))&&t<=Math.max.apply(Math,r(a))}):n}(s):void 0},downsampleTicks:function(t,e){if(!e||!Array.isArray(t)||t.length<=e)return t;var n=Math.floor(t.length/e);return t.filter(function(t,e){return e%n==0})},getTicks:function(t,e,n){var r=t.tickCount,o=this.getTickArray(t);if(o)return this.downsampleTicks(o,r);if(e.ticks&&b()(e.ticks)){var i=r||5,u=e.ticks(i),c=Array.isArray(u)&&u.length?u:e.domain(),l=this.downsampleTicks(c,r);if(n){var f=s()(l,0)?a()(l,0):l;return f.length?f:l}return l}return e.domain()}}},function(t,e,n){"use strict";function r(t){for(var e=arguments.length-1,n="Minified React error #"+t+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+t,r=0;r<e;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);n+=" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";var o=new Error(n);throw o.name="Invariant Violation",o.framesToPop=1,o}t.exports=r},function(t,e,n){"use strict";function r(t,e,n){var r=e.dispatchConfig.phasedRegistrationNames[n];return m(t,r)}function o(t,e,n){var o=r(t,n,e);o&&(n._dispatchListeners=y(n._dispatchListeners,o),n._dispatchInstances=y(n._dispatchInstances,t))}function a(t){t&&t.dispatchConfig.phasedRegistrationNames&&d.traverseTwoPhase(t._targetInst,o,t)}function i(t){if(t&&t.dispatchConfig.phasedRegistrationNames){var e=t._targetInst,n=e?d.getParentInstance(e):null;d.traverseTwoPhase(n,o,t)}}function s(t,e,n){if(n&&n.dispatchConfig.registrationName){var r=n.dispatchConfig.registrationName,o=m(t,r);o&&(n._dispatchListeners=y(n._dispatchListeners,o),n._dispatchInstances=y(n._dispatchInstances,t))}}function u(t){t&&t.dispatchConfig.registrationName&&s(t._targetInst,null,t)}function c(t){g(t,a)}function l(t){g(t,i)}function f(t,e,n,r){d.traverseEnterLeave(n,r,s,t,e)}function p(t){g(t,u)}var h=n(66),d=n(135),y=n(221),g=n(222),m=(n(6),h.getListener),v={accumulateTwoPhaseDispatches:c,accumulateTwoPhaseDispatchesSkipTarget:l,accumulateDirectDispatches:p,accumulateEnterLeaveDispatches:f};t.exports=v},function(t,e,n){"use strict";function r(t){return"button"===t||"input"===t||"select"===t||"textarea"===t}function o(t,e,n){switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":return!(!n.disabled||!r(e));default:return!1}}var a=n(7),i=n(134),s=n(135),u=n(136),c=n(221),l=n(222),f=(n(2),{}),p=null,h=function(t,e){t&&(s.executeDispatchesInOrder(t,e),t.isPersistent()||t.constructor.release(t))},d=function(t){return h(t,!0)},y=function(t){return h(t,!1)},g=function(t){return"."+t._rootNodeID},m={injection:{injectEventPluginOrder:i.injectEventPluginOrder,injectEventPluginsByName:i.injectEventPluginsByName},putListener:function(t,e,n){"function"!=typeof n&&a("94",e,typeof n);var r=g(t);(f[e]||(f[e]={}))[r]=n;var o=i.registrationNameModules[e];o&&o.didPutListener&&o.didPutListener(t,e,n)},getListener:function(t,e){var n=f[e];if(o(e,t._currentElement.type,t._currentElement.props))return null;var r=g(t);return n&&n[r]},deleteListener:function(t,e){var n=i.registrationNameModules[e];n&&n.willDeleteListener&&n.willDeleteListener(t,e);var r=f[e];if(r){delete r[g(t)]}},deleteAllListeners:function(t){var e=g(t);for(var n in f)if(f.hasOwnProperty(n)&&f[n][e]){var r=i.registrationNameModules[n];r&&r.willDeleteListener&&r.willDeleteListener(t,n),delete f[n][e]}},extractEvents:function(t,e,n,r){for(var o,a=i.plugins,s=0;s<a.length;s++){var u=a[s];if(u){var l=u.extractEvents(t,e,n,r);l&&(o=c(o,l))}}return o},enqueueEvents:function(t){t&&(p=c(p,t))},processEventQueue:function(t){var e=p;p=null,t?l(e,d):l(e,y),p&&a("95"),u.rethrowCaughtError()},__purge:function(){f={}},__getListenerBank:function(){return f}};t.exports=m},function(t,e,n){"use strict";function r(t,e,n,r){return o.call(this,t,e,n,r)}var o=n(32),a=n(137),i={view:function(t){if(t.view)return t.view;var e=a(t);if(e.window===e)return e;var n=e.ownerDocument;return n?n.defaultView||n.parentWindow:window},detail:function(t){return t.detail||0}};o.augmentClass(r,i),t.exports=r},function(t,e,n){"use strict";var r={remove:function(t){t._reactInternalInstance=void 0},get:function(t){return t._reactInternalInstance},has:function(t){return void 0!==t._reactInternalInstance},set:function(t,e){t._reactInternalInstance=e}};t.exports=r},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e,n){var r,o;/*!
    Copyright (c) 2016 Jed Watson.
    Licensed under the MIT License (MIT), see
    http://jedwatson.github.io/classnames
  */
  !function(){"use strict";function n(){for(var t=[],e=0;e<arguments.length;e++){var r=arguments[e];if(r){var o=typeof r;if("string"===o||"number"===o)t.push(r);else if(Array.isArray(r))t.push(n.apply(null,r));else if("object"===o)for(var i in r)a.call(r,i)&&r[i]&&t.push(i)}}return t.join(" ")}var a={}.hasOwnProperty;void 0!==t&&t.exports?t.exports=n:(r=[],void 0!==(o=function(){return n}.apply(e,r))&&(t.exports=o))}()},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var s=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),u=n(0),c=r(u),l=n(1),f=r(l),p=n(503),h=r(p),d=function(t){function e(t){o(this,e);var n=a(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.classList=["widget","widget__"+n.props.name],n.props.size&&n.classList.push("widget--"+n.props.size),n}return i(e,t),s(e,[{key:"componentWillMount",value:function(){var t=this;this.props.socket.on("widget:update:"+this.props.name,function(e){(0,h.default)("info","updating widget: "+t.props.name,e),t.setState(e)})}}]),e}(c.default.Component);e.default=d,d.defaultProps={size:"small"},d.propTypes={size:f.default.string,name:f.default.string.isRequired,socket:f.default.shape.isRequired}},function(t,e,n){var r=n(260),o=n(536),a=n(43),i=n(114),s=a(function(t,e){if(null==t)return[];var n=e.length;return n>1&&i(t,e[0],e[1])?e=[]:n>2&&i(e[0],e[1],e[2])&&(e=[e[0]]),o(t,r(e,1),[])});t.exports=s},function(t,e,n){var r=n(533),o=n(26),a=Object.prototype,i=a.hasOwnProperty,s=a.propertyIsEnumerable,u=r(function(){return arguments}())?r:function(t){return o(t)&&i.call(t,"callee")&&!s.call(t,"callee")};t.exports=u},function(t,e,n){(function(t){var r=n(17),o=n(572),a="object"==typeof e&&e&&!e.nodeType&&e,i=a&&"object"==typeof t&&t&&!t.nodeType&&t,s=i&&i.exports===a,u=s?r.Buffer:void 0,c=u?u.isBuffer:void 0,l=c||o;t.exports=l}).call(e,n(69)(t))},function(t,e){function n(t,e){return!!(e=null==e?r:e)&&("number"==typeof t||o.test(t))&&t>-1&&t%1==0&&t<e}var r=9007199254740991,o=/^(?:0|[1-9]\d*)$/;t.exports=n},function(t,e){function n(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||r)}var r=Object.prototype;t.exports=n},function(t,e,n){function r(t){return"symbol"==typeof t||a(t)&&o(t)==i}var o=n(37),a=n(26),i="[object Symbol]";t.exports=r},function(t,e){function n(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}t.exports=n},function(t,e,n){function r(t){if(!i(t)||o(t)!=s)return!1;var e=a(t);if(null===e)return!0;var n=f.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==p}var o=n(37),a=n(170),i=n(26),s="[object Object]",u=Function.prototype,c=Object.prototype,l=u.toString,f=c.hasOwnProperty,p=l.call(Object);t.exports=r},function(t,e,n){"use strict";function r(t,e){return function(n){return t+n*e}}function o(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(r){return Math.pow(t+r*e,n)}}function a(t,e){var n=e-t;return n?r(t,n>180||n<-180?n-360*Math.round(n/360):n):Object(u.a)(isNaN(t)?e:t)}function i(t){return 1==(t=+t)?s:function(e,n){return n-e?o(e,n,t):Object(u.a)(isNaN(e)?n:e)}}function s(t,e){var n=e-t;return n?r(t,n):Object(u.a)(isNaN(t)?e:t)}e.c=a,e.b=i,e.a=s;var u=n(286)},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var o=n(607),a=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=function(){function t(){r(this,t),this.shouldAnimate=!0,this.subscribers=[],this.loop=this.loop.bind(this),this.timer=Object(o.b)(this.loop)}return a(t,[{key:"bypassAnimation",value:function(){this.shouldAnimate=!1}},{key:"resumeAnimation",value:function(){this.shouldAnimate=!0}},{key:"loop",value:function(){this.subscribers.forEach(function(t){t.callback(Object(o.a)()-t.startTime,t.duration)})}},{key:"start",value:function(){this.timer.start()}},{key:"stop",value:function(){this.timer.stop()}},{key:"subscribe",value:function(t,e){return e=this.shouldAnimate?e:0,this.subscribers.push({startTime:Object(o.a)(),callback:t,duration:e})}},{key:"unsubscribe",value:function(t){null!==t&&delete this.subscribers[t-1]}}]),t}();e.a=i},function(t,e,n){function r(t){return o(function(e,n){var r=-1,o=n.length,i=o>1?n[o-1]:void 0,s=o>2?n[2]:void 0;for(i=t.length>3&&"function"==typeof i?(o--,i):void 0,s&&a(n[0],n[1],s)&&(i=o<3?void 0:i,o=1),e=Object(e);++r<o;){var u=n[r];u&&t(e,u,r,i)}return e})}var o=n(43),a=n(114);t.exports=r},function(t,e){function n(t,e){for(var n=-1,o=t.length,a=0,i=[];++n<o;){var s=t[n];s!==e&&s!==r||(t[n]=r,i[a++]=n)}return i}var r="__lodash_placeholder__";t.exports=n},function(t,e,n){"use strict";var r=n(679);n.d(e,"a",function(){return r.a})},function(t,e,n){"use strict";function r(t){return t>1?0:t<-1?h:Math.acos(t)}function o(t){return t>=1?d:t<=-1?-d:Math.asin(t)}n.d(e,"a",function(){return a}),n.d(e,"d",function(){return i}),n.d(e,"e",function(){return s}),n.d(e,"h",function(){return u}),n.d(e,"i",function(){return c}),n.d(e,"k",function(){return l}),n.d(e,"l",function(){return f}),n.d(e,"f",function(){return p}),n.d(e,"j",function(){return h}),n.d(e,"g",function(){return d}),n.d(e,"m",function(){return y}),e.b=r,e.c=o;var a=Math.abs,i=Math.atan2,s=Math.cos,u=Math.max,c=Math.min,l=Math.sin,f=Math.sqrt,p=1e-12,h=Math.PI,d=h/2,y=2*h},function(t,e,n){"use strict";e.a=function(t,e){if((o=t.length)>1)for(var n,r,o,a=1,i=t[e[0]],s=i.length;a<o;++a)for(r=i,i=t[e[a]],n=0;n<s;++n)i[n][1]+=i[n][0]=isNaN(r[n][1])?r[n][0]:r[n][1]}},function(t,e,n){"use strict";e.a=function(t){for(var e=t.length,n=new Array(e);--e>=0;)n[e]=e;return n}},function(t,e,n){"use strict";e.a=function(t){return null===t?NaN:+t}},function(t,e,n){"use strict";function r(t){var e=t.domain;return t.ticks=function(t){var n=e();return Object(a.h)(n[0],n[n.length-1],null==t?10:t)},t.tickFormat=function(t,n){return Object(u.a)(e(),t,n)},t.nice=function(n){null==n&&(n=10);var r,o=e(),i=0,s=o.length-1,u=o[i],c=o[s];return c<u&&(r=u,u=c,c=r,r=i,i=s,s=r),r=Object(a.f)(u,c,n),r>0?(u=Math.floor(u/r)*r,c=Math.ceil(c/r)*r,r=Object(a.f)(u,c,n)):r<0&&(u=Math.ceil(u*r)/r,c=Math.floor(c*r)/r,r=Object(a.f)(u,c,n)),r>0?(o[i]=Math.floor(u/r)*r,o[s]=Math.ceil(c/r)*r,e(o)):r<0&&(o[i]=Math.ceil(u*r)/r,o[s]=Math.floor(c*r)/r,e(o)),t},t}function o(){var t=Object(s.b)(s.c,i.c);return t.copy=function(){return Object(s.a)(t,o())},r(t)}e.b=r,e.a=o;var a=n(35),i=n(59),s=n(132),u=n(738)},function(t,e,n){"use strict";e.a=function(t){return t.match(/.{6}/g).map(function(t){return"#"+t})}},function(t,e,n){"use strict";function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}var o=n(793),a=n.n(o),i=n(202),s=n.n(i),u=n(20),c=n.n(u),l=n(9),f=n.n(l),p=n(120),h=n.n(p),d=n(5),y=n.n(d),g=n(4),m=n.n(g),v=n(0),b=n.n(v),_=n(63),x=n(3);e.a={getData:function(t,e){return t.data?x.i.getData(t):(e=e||b.a.Children.toArray(t.children),this.getDataFromChildren(e))},getDefaultDomainPadding:function(t,e,n){var r=n.some(function(t){return t.props&&t.props.horizontal}),o=t&&t.horizontal||r,a=n.filter(function(t){return t.type&&t.type.role&&"group"===t.type.role});if(!(a.length<1)){var i=a[0].props,s=i.offset,u=i.children;return(o?{y:s*u.length/2}:{x:s*u.length/2})[e]}},getDomain:function(t,e,n){n=n||b.a.Children.toArray(t.children);var o=x.k.getDomainFromProps(t,e),a=t.polar?0:this.getDefaultDomainPadding(t,e,n),i=void 0;if(o)i=o;else{var s=(t.data||t.y)&&x.i.getData(t),u=s?x.k.getDomainFromData(t,e,s):[],c=this.getDomainFromChildren(t,e,n);i=[x.g.getMinValue([].concat(r(u),r(c))),x.g.getMaxValue([].concat(r(u),r(c)))]}var l=x.k.padDomain(i,m()({domainPadding:a},t),e);return x.k.cleanDomain(l,t,e)},setAnimationState:function(t,e){if(t.animate)if(t.animate.parentState){var n=t.animate.parentState.nodesWillExit,r=n?t:null;this.setState(y()({oldProps:r,nextProps:e},t.animate.parentState))}else{var o=b.a.Children.toArray(t.children),i=b.a.Children.toArray(e.children),s=function(t){var e=function(t){return t.type&&t.type.continuous};return Array.isArray(t)?a()(t,e):e(t)},u=!t.polar&&a()(o,function(t){return s(t)||t.props.children&&s(t.props.children)}),c=x.A.getInitialTransitionState(o,i),l=c.nodesWillExit,f=c.nodesWillEnter,p=c.childrenTransitions,h=c.nodesShouldEnter;this.setState({nodesWillExit:l,nodesWillEnter:f,nodesShouldEnter:h,childrenTransitions:x.g.isArrayOfArrays(p)?p[0]:p,oldProps:l?t:null,nextProps:e,continuous:u})}},getAllEvents:function(t){var e=["groupComponent","containerComponent","labelComponent"];if(this.componentEvents=x.m.getComponentEvents(t,e),Array.isArray(this.componentEvents)){var n;return Array.isArray(t.events)?(n=this.componentEvents).concat.apply(n,r(t.events)):this.componentEvents}return t.events},getAnimationProps:function(t,e,n){var r=this;if(!t.animate)return e.props.animate;var o=t.animate&&t.animate.getTransitions,a=function(){var t=r.state&&r.state.childrenTransitions;return t=x.g.isArrayOfArrays(t)?t[n]:t,y()({childrenTransitions:t},r.state)}(),i=t.animate&&t.animate.parentState||a;if(!o){var s=x.A.getTransitionPropsFactory(t,a,function(t){return r.setState(t)});o=c()(s,n)}return y()({getTransitions:o,parentState:i},t.animate,e.props.animate)},getDomainFromChildren:function(t,e,n){for(var r=[],o=0,a=n?n.slice(0):b.a.Children.toArray(t.children),i=a.length,s=n.some(function(t){return t.props&&t.props.horizontal}),u=t&&t.horizontal||s.length>0,c=_.a.getCurrentAxis(e,u),l=t.data?x.i.getData(t,e):void 0,p=t.polar,h=t.startAngle,d=t.endAngle,y=l?{data:l,polar:p,startAngle:h,endAngle:d}:{polar:p,startAngle:h,endAngle:d};i>0;){var g=a[--i];if(g.type&&f()(g.type.getDomain)){var v=m()({},g.props,y),w=g.props&&g.type.getDomain(v,c);if(w)for(var O=w.length,C=0;C<O;C++)r[o++]=w[C]}else if(g.props&&g.props.children)for(var k=b.a.Children.toArray(g.props.children),M=k.length,P=0;P<M;P++)a[i++]=k[P]}var E=x.g.getMinValue(r),A=x.g.getMaxValue(r);return 0===r.length?[0,1]:[E,A]},getDataFromChildren:function(t,e){for(var n=e?e.slice(0).reverse():b.a.Children.toArray(t.children).reverse(),r=n.length,o=[],a=0;r>0;){var i=n[--r];if(i.type&&"axis"===i.type.role)a=a;else if(i.type&&"axis"!==i.type.role&&f()(i.type.getData))o[a++]=i.type.getData(i.props);else if(i.props&&i.props.children)for(var s=b.a.Children.toArray(i.props.children),u=s.length,c=0;c<u;c++)n[r++]=s[c];else o[a++]=function(t){var e=x.i.getData(t);return Array.isArray(e)&&e.length>0?e:void 0}(i.props)}return o},getStackedDomain:function(t,e){var n=x.k.getDomainFromProps(t,e);if(n)return n;var r=t.horizontal,o=this.getDataFromChildren(t);return function(t){return"y"===e&&!r||"x"===e&&r?[x.g.getMinValue(t,0),x.g.getMaxValue(t,0)]:t}(x.k.getDomainFromGroupedData(t,e,o))},getColor:function(t,e,n){var r=t.style,o=t.colorScale,a=t.color;if(r&&r.data&&r.data.fill)return r.data.fill;if(o=e.props&&e.props.colorScale?e.props.colorScale:o,a=e.props&&e.props.color?e.props.color:a,o||a){var i=Array.isArray(o)?o:x.y.getColorScale(o);return a||i[n%i.length]}},getWidth:function(t){var e=t.datasets,n=t.scale,r=t.horizontal,o=r?n.y.range():n.x.range(),a=Math.abs(o[1]-o[0]),i=e.length*(e[0].length||1)+2;return{width:Math.round(.5*a/i)}},getChildStyle:function(t,e,n){var r=n.style,o=n.role,a=t.props.style||{};if(Array.isArray(a))return a;var i=t.type&&t.type.role,s="stack"===i?void 0:this.getColor(n,t,e),u="line"===i?{fill:"none",stroke:s}:{fill:s},c="stack"===o?{}:this.getWidth(n),l=y()({},a.data,m()({},c,r.data,u)),f=y()({},a.labels,r.labels);return{parent:r.parent,data:l,labels:f}},getStringsFromCategories:function(t,e){for(var n=[],r=0,o=t.slice(0).reverse(),a=o.length;a>0;){var i=o[--a];if(i.props&&i.props.categories)for(var s=x.i.getStringsFromCategories(i.props,e),u=s.length,c=0;c<u;c++)n[r++]=s[c];else if(i.props&&i.props.children)for(var l=b.a.Children.toArray(i.props.children),f=l.length,p=0;p<f;p++)o[a++]=l[p]}return n},getStringsFromData:function(t,e){for(var n=[],r=0,o=t.slice(0).reverse(),a=o.length;a>0;){var i=o[--a];if(i.props&&i.props.data)for(var s=x.i.getStringsFromData(i.props,e),u=s.length,c=0;c<u;c++)n[r++]=s[c];else if(i.type&&f()(i.type.getData))for(var l=h()(i.type.getData(i.props)),p="x"===e?"xName":"yName",d=0;d<l.length;d++){var y=l[d];y[p]&&(n[r++]=y[p])}else if(i.props&&i.props.children)for(var g=b.a.Children.toArray(i.props.children),m=g.length,v=0;v<m;v++)o[a++]=g[v]}return n},getStringsFromChildren:function(t,e,n){n=n||b.a.Children.toArray(t.children);var o=_.a.getAxisComponent(n,e),a=o?x.i.getStringsFromAxes(o.props,e):[],i=this.getStringsFromCategories(n,e),u=this.getStringsFromData(n,e);return s()(h()([].concat(r(i),r(u),r(a))))},getCategories:function(t,e){var n=x.i.getCategories(t,e)||this.getStringsFromChildren(t,e);return n.length>0?n:void 0},getY0:function(t,e,n){if(t.y0)return t.y0;var r=n.datasets,o=t._y,a=r.slice(0,e),i=a.reduce(function(e,n){return e.concat(n.filter(function(e){return t._x instanceof Date?e._x.getTime()===t._x.getTime():e._x===t._x}).map(function(t){return t._y||0}))},[]),s=i.length&&i.reduce(function(t,e){return o<0&&e<0||o>=0&&e>=0?+e+t:t},0);return i.some(function(t){return t instanceof Date})?new Date(s):s}}},function(t,e,n){function r(t){return o(t)&&t!=+t}var o=n(370);t.exports=r},function(t,e,n){"use strict";function r(t,e,n){return(t[0]-n[0])*(e[1]-t[1])-(t[0]-e[0])*(n[1]-t[1])}function o(t,e){return e[1]-t[1]||e[0]-t[0]}function a(t,e){var n,r,a,y=t.sort(o).pop();for(c=[],s=new Array(t.length),i=new d.b,u=new d.b;;)if(a=p.c,y&&(!a||y[1]<a.y||y[1]===a.y&&y[0]<a.x))y[0]===n&&y[1]===r||(Object(l.a)(y),n=y[0],r=y[1]),y=t.pop();else{if(!a)break;Object(l.b)(a.arc)}if(Object(f.d)(),e){var g=+e[0][0],m=+e[0][1],v=+e[1][0],b=+e[1][1];Object(h.a)(g,m,v,b),Object(f.b)(g,m,v,b)}this.edges=c,this.cells=s,i=u=c=s=null}n.d(e,"f",function(){return y}),n.d(e,"g",function(){return g}),n.d(e,"a",function(){return i}),n.d(e,"b",function(){return s}),n.d(e,"c",function(){return u}),n.d(e,"e",function(){return c}),e.d=a;var i,s,u,c,l=n(812),f=n(372),p=n(373),h=n(212),d=n(211),y=1e-6,g=1e-12;a.prototype={constructor:a,polygons:function(){var t=this.edges;return this.cells.map(function(e){var n=e.halfedges.map(function(n){return Object(f.a)(e,t[n])});return n.data=e.site.data,n})},triangles:function(){var t=[],e=this.edges;return this.cells.forEach(function(n,o){if(i=(a=n.halfedges).length)for(var a,i,s,u=n.site,c=-1,l=e[a[i-1]],f=l.left===u?l.right:l.left;++c<i;)s=f,l=e[a[c]],f=l.left===u?l.right:l.left,s&&f&&o<s.index&&o<f.index&&r(u,s,f)<0&&t.push([u.data,s.data,f.data])}),t},links:function(){return this.edges.filter(function(t){return t.right}).map(function(t){return{source:t.left.data,target:t.right.data}})},find:function(t,e,n){for(var r,o,a=this,i=a._found||0,s=a.cells.length;!(o=a.cells[i]);)if(++i>=s)return null;var u=t-o.site[0],c=e-o.site[1],l=u*u+c*c;do{o=a.cells[r=i],i=null,o.halfedges.forEach(function(n){var r=a.edges[n],s=r.left;if(s!==o.site&&s||(s=r.right)){var u=t-s[0],c=e-s[1],f=u*u+c*c;f<l&&(l=f,i=s.index)}})}while(null!==i);return a._found=r,null==n||l<=n*n?o.site:null}}},function(t,e,n){function r(t,e,n){var r=!0,s=!0;if("function"!=typeof t)throw new TypeError(i);return a(n)&&(r="leading"in n?!!n.leading:r,s="trailing"in n?!!n.trailing:s),o(t,e,{leading:r,maxWait:e,trailing:s})}var o=n(815),a=n(14),i="Expected a function";t.exports=r},function(t,e,n){"use strict";n.d(e,"a",function(){return a});var r=n(176),o=n.n(r),a=function(t){return function(){return{mutations:t.apply(void 0,arguments),id:o()("throttledEvent")}}}},function(t,e,n){"use strict";var r={};t.exports=r},function(t,e,n){"use strict";var r=n(7),o=(n(2),{}),a={reinitializeTransaction:function(){this.transactionWrappers=this.getTransactionWrappers(),this.wrapperInitData?this.wrapperInitData.length=0:this.wrapperInitData=[],this._isInTransaction=!1},_isInTransaction:!1,getTransactionWrappers:null,isInTransaction:function(){return!!this._isInTransaction},perform:function(t,e,n,o,a,i,s,u){this.isInTransaction()&&r("27");var c,l;try{this._isInTransaction=!0,c=!0,this.initializeAll(0),l=t.call(e,n,o,a,i,s,u),c=!1}finally{try{if(c)try{this.closeAll(0)}catch(t){}else this.closeAll(0)}finally{this._isInTransaction=!1}}return l},initializeAll:function(t){for(var e=this.transactionWrappers,n=t;n<e.length;n++){var r=e[n];try{this.wrapperInitData[n]=o,this.wrapperInitData[n]=r.initialize?r.initialize.call(this):null}finally{if(this.wrapperInitData[n]===o)try{this.initializeAll(n+1)}catch(t){}}}},closeAll:function(t){this.isInTransaction()||r("28");for(var e=this.transactionWrappers,n=t;n<e.length;n++){var a,i=e[n],s=this.wrapperInitData[n];try{a=!0,s!==o&&i.close&&i.close.call(this,s),a=!1}finally{if(a)try{this.closeAll(n+1)}catch(t){}}}this.wrapperInitData.length=0}};t.exports=a},function(t,e,n){"use strict";function r(t,e,n,r){return o.call(this,t,e,n,r)}var o=n(67),a=n(228),i=n(139),s={screenX:null,screenY:null,clientX:null,clientY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:i,button:function(t){var e=t.button;return"which"in t?e:2===e?2:4===e?1:0},buttons:null,relatedTarget:function(t){return t.relatedTarget||(t.fromElement===t.srcElement?t.toElement:t.fromElement)},pageX:function(t){return"pageX"in t?t.pageX:t.clientX+a.currentScrollLeft},pageY:function(t){return"pageY"in t?t.pageY:t.clientY+a.currentScrollTop}};o.augmentClass(r,s),t.exports=r},function(t,e,n){"use strict";var r,o=n(19),a=n(141),i=/^[ \r\n\t\f]/,s=/<(!--|link|noscript|meta|script|style)[ \r\n\t\f\/>]/,u=n(142),c=u(function(t,e){if(t.namespaceURI!==a.svg||"innerHTML"in t)t.innerHTML=e;else{r=r||document.createElement("div"),r.innerHTML="<svg>"+e+"</svg>";for(var n=r.firstChild;n.firstChild;)t.appendChild(n.firstChild)}});if(o.canUseDOM){var l=document.createElement("div");l.innerHTML=" ",""===l.innerHTML&&(c=function(t,e){if(t.parentNode&&t.parentNode.replaceChild(t,t),i.test(e)||"<"===e[0]&&s.test(e)){t.innerHTML=String.fromCharCode(65279)+e;var n=t.firstChild;1===n.data.length?t.removeChild(n):n.deleteData(0,1)}else t.innerHTML=e}),l=null}t.exports=c},function(t,e,n){"use strict";function r(t){var e=""+t,n=a.exec(e);if(!n)return e;var r,o="",i=0,s=0;for(i=n.index;i<e.length;i++){switch(e.charCodeAt(i)){case 34:r="&quot;";break;case 38:r="&amp;";break;case 39:r="&#x27;";break;case 60:r="&lt;";break;case 62:r="&gt;";break;default:continue}s!==i&&(o+=e.substring(s,i)),s=i+1,o+=r}return s!==i?o+e.substring(s,i):o}function o(t){return"boolean"==typeof t||"number"==typeof t?""+t:r(t)}var a=/["'&<>]/;t.exports=o},function(t,e,n){"use strict";function r(t){return Object.prototype.hasOwnProperty.call(t,y)||(t[y]=h++,f[t[y]]={}),f[t[y]]}var o,a=n(10),i=n(134),s=n(428),u=n(228),c=n(429),l=n(138),f={},p=!1,h=0,d={topAbort:"abort",topAnimationEnd:c("animationend")||"animationend",topAnimationIteration:c("animationiteration")||"animationiteration",topAnimationStart:c("animationstart")||"animationstart",topBlur:"blur",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topChange:"change",topClick:"click",topCompositionEnd:"compositionend",topCompositionStart:"compositionstart",topCompositionUpdate:"compositionupdate",topContextMenu:"contextmenu",topCopy:"copy",topCut:"cut",topDoubleClick:"dblclick",topDrag:"drag",topDragEnd:"dragend",topDragEnter:"dragenter",topDragExit:"dragexit",topDragLeave:"dragleave",topDragOver:"dragover",topDragStart:"dragstart",topDrop:"drop",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topFocus:"focus",topInput:"input",topKeyDown:"keydown",topKeyPress:"keypress",topKeyUp:"keyup",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topMouseDown:"mousedown",topMouseMove:"mousemove",topMouseOut:"mouseout",topMouseOver:"mouseover",topMouseUp:"mouseup",topPaste:"paste",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topScroll:"scroll",topSeeked:"seeked",topSeeking:"seeking",topSelectionChange:"selectionchange",topStalled:"stalled",topSuspend:"suspend",topTextInput:"textInput",topTimeUpdate:"timeupdate",topTouchCancel:"touchcancel",topTouchEnd:"touchend",topTouchMove:"touchmove",topTouchStart:"touchstart",topTransitionEnd:c("transitionend")||"transitionend",topVolumeChange:"volumechange",topWaiting:"waiting",topWheel:"wheel"},y="_reactListenersID"+String(Math.random()).slice(2),g=a({},s,{ReactEventListener:null,injection:{injectReactEventListener:function(t){t.setHandleTopLevel(g.handleTopLevel),g.ReactEventListener=t}},setEnabled:function(t){g.ReactEventListener&&g.ReactEventListener.setEnabled(t)},isEnabled:function(){return!(!g.ReactEventListener||!g.ReactEventListener.isEnabled())},listenTo:function(t,e){for(var n=e,o=r(n),a=i.registrationNameDependencies[t],s=0;s<a.length;s++){var u=a[s];o.hasOwnProperty(u)&&o[u]||("topWheel"===u?l("wheel")?g.ReactEventListener.trapBubbledEvent("topWheel","wheel",n):l("mousewheel")?g.ReactEventListener.trapBubbledEvent("topWheel","mousewheel",n):g.ReactEventListener.trapBubbledEvent("topWheel","DOMMouseScroll",n):"topScroll"===u?l("scroll",!0)?g.ReactEventListener.trapCapturedEvent("topScroll","scroll",n):g.ReactEventListener.trapBubbledEvent("topScroll","scroll",g.ReactEventListener.WINDOW_HANDLE):"topFocus"===u||"topBlur"===u?(l("focus",!0)?(g.ReactEventListener.trapCapturedEvent("topFocus","focus",n),g.ReactEventListener.trapCapturedEvent("topBlur","blur",n)):l("focusin")&&(g.ReactEventListener.trapBubbledEvent("topFocus","focusin",n),g.ReactEventListener.trapBubbledEvent("topBlur","focusout",n)),o.topBlur=!0,o.topFocus=!0):d.hasOwnProperty(u)&&g.ReactEventListener.trapBubbledEvent(u,d[u],n),o[u]=!0)}},trapBubbledEvent:function(t,e,n){return g.ReactEventListener.trapBubbledEvent(t,e,n)},trapCapturedEvent:function(t,e,n){return g.ReactEventListener.trapCapturedEvent(t,e,n)},supportsEventPageXY:function(){if(!document.createEvent)return!1;var t=document.createEvent("MouseEvent");return null!=t&&"pageX"in t},ensureScrollValueMonitoring:function(){if(void 0===o&&(o=g.supportsEventPageXY()),!o&&!p){var t=u.refreshScrollValues;g.ReactEventListener.monitorScrollValue(t),p=!0}}});t.exports=g},function(t,e){e.encode=function(t){var e="";for(var n in t)t.hasOwnProperty(n)&&(e.length&&(e+="&"),e+=encodeURIComponent(n)+"="+encodeURIComponent(t[n]));return e},e.decode=function(t){for(var e={},n=t.split("&"),r=0,o=n.length;r<o;r++){var a=n[r].split("=");e[decodeURIComponent(a[0])]=decodeURIComponent(a[1])}return e}},function(t,e){t.exports=function(t,e){var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}},function(t,e,n){function r(t){var e=this.__data__=new o(t);this.size=e.size}var o=n(105),a=n(544),i=n(545),s=n(546),u=n(547),c=n(548);r.prototype.clear=a,r.prototype.delete=i,r.prototype.get=s,r.prototype.has=u,r.prototype.set=c,t.exports=r},function(t,e,n){function r(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}var o=n(539),a=n(540),i=n(541),s=n(542),u=n(543);r.prototype.clear=o,r.prototype.delete=a,r.prototype.get=i,r.prototype.has=s,r.prototype.set=u,t.exports=r},function(t,e,n){function r(t,e){for(var n=t.length;n--;)if(o(t[n][0],e))return n;return-1}var o=n(41);t.exports=r},function(t,e,n){var r=n(42),o=r(Object,"create");t.exports=o},function(t,e,n){function r(t,e){var n=t.__data__;return o(e)?n["string"==typeof e?"string":"hash"]:n.map}var o=n(561);t.exports=r},function(t,e){function n(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}t.exports=n},function(t,e,n){var r=n(573),o=n(164),a=n(574),i=a&&a.isTypedArray,s=i?o(i):r;t.exports=s},function(t,e,n){var r=n(576),o=n(156),a=n(577),i=n(272),s=n(273),u=n(37),c=n(262),l=c(r),f=c(o),p=c(a),h=c(i),d=c(s),y=u;(r&&"[object DataView]"!=y(new r(new ArrayBuffer(1)))||o&&"[object Map]"!=y(new o)||a&&"[object Promise]"!=y(a.resolve())||i&&"[object Set]"!=y(new i)||s&&"[object WeakMap]"!=y(new s))&&(y=function(t){var e=u(t),n="[object Object]"==e?t.constructor:void 0,r=n?c(n):"";if(r)switch(r){case l:return"[object DataView]";case f:return"[object Map]";case p:return"[object Promise]";case h:return"[object Set]";case d:return"[object WeakMap]"}return e}),t.exports=y},function(t,e,n){function r(t,e){e=o(e,t);for(var n=0,r=e.length;null!=t&&n<r;)t=t[a(e[n++])];return n&&n==r?t:void 0}var o=n(57),a=n(58);t.exports=r},function(t,e,n){var r=n(168),o=n(590),a=o(r);t.exports=a},function(t,e,n){function r(t,e,n){if(!s(n))return!1;var r=typeof e;return!!("number"==r?a(n)&&i(e,n.length):"string"==r&&e in n)&&o(n[e],t)}var o=n(41),a=n(27),i=n(75),s=n(14);t.exports=r},function(t,e,n){"use strict";e.a=function(t,e){return t=+t,e-=t,function(n){return t+e*n}}},function(t,e,n){function r(t,e,n){var r=t[e];s.call(t,e)&&a(r,n)&&(void 0!==n||e in t)||o(t,e,n)}var o=n(117),a=n(41),i=Object.prototype,s=i.hasOwnProperty;t.exports=r},function(t,e,n){function r(t,e,n){"__proto__"==e&&o?o(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}var o=n(281);t.exports=r},function(t,e){function n(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n<r;)e[n]=t[n];return e}t.exports=n},function(t,e,n){var r=n(14),o=Object.create,a=function(){function t(){}return function(e){if(!r(e))return{};if(o)return o(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();t.exports=a},function(t,e,n){function r(t){return(null==t?0:t.length)?o(t,1):[]}var o=n(260);t.exports=r},function(t,e,n){"use strict";e.a={warn:function(t){}}},function(t,e,n){function r(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=o(t.prototype),r=t.apply(n,e);return a(r)?r:n}}var o=n(119),a=n(14);t.exports=r},function(t,e){function n(t){return t.placeholder}t.exports=n},function(t,e,n){var r=n(658),o=n(43),a=n(304),i=o(function(t,e){return a(t)?r(t,e):[]});t.exports=i},function(t,e,n){var r=n(667),o=r();t.exports=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(678);n.d(e,"arc",function(){return r.a});var o=n(328);n.d(e,"area",function(){return o.a});var a=n(197);n.d(e,"line",function(){return a.a});var i=n(680);n.d(e,"pie",function(){return i.a});var s=n(683);n.d(e,"areaRadial",function(){return s.a}),n.d(e,"radialArea",function(){return s.a});var u=n(330);n.d(e,"lineRadial",function(){return u.a}),n.d(e,"radialLine",function(){return u.a});var c=n(331);n.d(e,"pointRadial",function(){return c.a});var l=n(684);n.d(e,"linkHorizontal",function(){return l.a}),n.d(e,"linkVertical",function(){return l.c}),n.d(e,"linkRadial",function(){return l.b});var f=n(685);n.d(e,"symbol",function(){return f.a}),n.d(e,"symbols",function(){return f.b});var p=n(333);n.d(e,"symbolCircle",function(){return p.a});var h=n(334);n.d(e,"symbolCross",function(){return h.a});var d=n(335);n.d(e,"symbolDiamond",function(){return d.a});var y=n(337);n.d(e,"symbolSquare",function(){return y.a});var g=n(336);n.d(e,"symbolStar",function(){return g.a});var m=n(338);n.d(e,"symbolTriangle",function(){return m.a});var v=n(339);n.d(e,"symbolWye",function(){return v.a});var b=n(686);n.d(e,"curveBasisClosed",function(){return b.a});var _=n(687);n.d(e,"curveBasisOpen",function(){return _.a});var x=n(129);n.d(e,"curveBasis",function(){return x.b});var w=n(688);n.d(e,"curveBundle",function(){return w.a});var O=n(340);n.d(e,"curveCardinalClosed",function(){return O.b});var C=n(341);n.d(e,"curveCardinalOpen",function(){return C.b});var k=n(130);n.d(e,"curveCardinal",function(){return k.b});var M=n(689);n.d(e,"curveCatmullRomClosed",function(){return M.a});var P=n(690);n.d(e,"curveCatmullRomOpen",function(){return P.a});var E=n(199);n.d(e,"curveCatmullRom",function(){return E.a});var A=n(691);n.d(e,"curveLinearClosed",function(){return A.a});var T=n(127);n.d(e,"curveLinear",function(){return T.a});var S=n(692);n.d(e,"curveMonotoneX",function(){return S.a}),n.d(e,"curveMonotoneY",function(){return S.b});var j=n(693);n.d(e,"curveNatural",function(){return j.a});var D=n(694);n.d(e,"curveStep",function(){return D.a}),n.d(e,"curveStepAfter",function(){return D.b}),n.d(e,"curveStepBefore",function(){return D.c});var N=n(695);n.d(e,"stack",function(){return N.a});var R=n(696);n.d(e,"stackOffsetExpand",function(){return R.a});var L=n(697);n.d(e,"stackOffsetDiverging",function(){return L.a});var I=n(86);n.d(e,"stackOffsetNone",function(){return I.a});var F=n(698);n.d(e,"stackOffsetSilhouette",function(){return F.a});var U=n(699);n.d(e,"stackOffsetWiggle",function(){return U.a});var B=n(200);n.d(e,"stackOrderAscending",function(){return B.a});var V=n(700);n.d(e,"stackOrderDescending",function(){return V.a});var W=n(701);n.d(e,"stackOrderInsideOut",function(){return W.a});var z=n(87);n.d(e,"stackOrderNone",function(){return z.a});var Y=n(702);n.d(e,"stackOrderReverse",function(){return Y.a})},function(t,e,n){"use strict";function r(t){this._context=t}r.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(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e)}}},e.a=function(t){return new r(t)}},function(t,e,n){"use strict";e.a=function(){}},function(t,e,n){"use strict";function r(t,e,n){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+n)/6)}function o(t){this._context=t}e.c=r,e.a=o,o.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:r(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(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);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:r(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},e.b=function(t){return new o(t)}},function(t,e,n){"use strict";function r(t,e,n){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-e),t._y2+t._k*(t._y1-n),t._x2,t._y2)}function o(t,e){this._context=t,this._k=(1-e)/6}e.c=r,e.a=o,o.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:r(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:r(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}},e.b=function t(e){function n(t){return new o(t,e)}return n.tension=function(e){return t(+e)},n}(0)},function(t,e,n){function r(t,e,n,r){t=a(t)?t:u(t),n=n&&!r?s(n):0;var l=t.length;return n<0&&(n=c(l+n,0)),i(t)?n<=l&&t.indexOf(e,n)>-1:!!l&&o(t,e,n)>-1}var o=n(320),a=n(27),i=n(711),s=n(180),u=n(204),c=Math.max;t.exports=r},function(t,e,n){"use strict";function r(t,e){return(e-=t=+t)?function(n){return(n-t)/e}:Object(h.a)(e)}function o(t){return function(e,n){var r=t(e=+e,n=+n);return function(t){return t<=e?0:t>=n?1:r(t)}}}function a(t){return function(e,n){var r=t(e=+e,n=+n);return function(t){return t<=0?e:t>=1?n:r(t)}}}function i(t,e,n,r){var o=t[0],a=t[1],i=e[0],s=e[1];return a<o?(o=n(a,o),i=r(s,i)):(o=n(o,a),i=r(i,s)),function(t){return i(o(t))}}function s(t,e,n,r){var o=Math.min(t.length,e.length)-1,a=new Array(o),i=new Array(o),s=-1;for(t[o]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++s<o;)a[s]=n(t[s],t[s+1]),i[s]=r(e[s],e[s+1]);return function(e){var n=Object(l.b)(t,e,1,o)-1;return i[n](a[n](e))}}function u(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp())}function c(t,e){function n(){return c=Math.min(g.length,m.length)>2?s:i,l=h=null,u}function u(e){return(l||(l=c(g,m,b?o(t):t,v)))(+e)}var c,l,h,g=y,m=y,v=f.a,b=!1;return u.invert=function(t){return(h||(h=c(m,g,r,b?a(e):e)))(+t)},u.domain=function(t){return arguments.length?(g=p.a.call(t,d.a),n()):g.slice()},u.range=function(t){return arguments.length?(m=p.b.call(t),n()):m.slice()},u.rangeRound=function(t){return m=p.b.call(t),v=f.d,n()},u.clamp=function(t){return arguments.length?(b=!!t,n()):b},u.interpolate=function(t){return arguments.length?(v=t,n()):v},n()}e.c=r,e.a=u,e.b=c;var l=n(35),f=n(59),p=n(45),h=n(207),d=n(356),y=[0,1]},function(t,e,n){"use strict";var r=n(208);e.a=function(t){return t=Object(r.a)(Math.abs(t)),t?t[1]:NaN}},function(t,e,n){"use strict";function r(){if(s)for(var t in u){var e=u[t],n=s.indexOf(t);if(n>-1||i("96",t),!c.plugins[n]){e.extractEvents||i("97",t),c.plugins[n]=e;var r=e.eventTypes;for(var a in r)o(r[a],e,a)||i("98",a,t)}}}function o(t,e,n){c.eventNameDispatchConfigs.hasOwnProperty(n)&&i("99",n),c.eventNameDispatchConfigs[n]=t;var r=t.phasedRegistrationNames;if(r){for(var o in r)if(r.hasOwnProperty(o)){var s=r[o];a(s,e,n)}return!0}return!!t.registrationName&&(a(t.registrationName,e,n),!0)}function a(t,e,n){c.registrationNameModules[t]&&i("100",t),c.registrationNameModules[t]=e,c.registrationNameDependencies[t]=e.eventTypes[n].dependencies}var i=n(7),s=(n(2),null),u={},c={plugins:[],eventNameDispatchConfigs:{},registrationNameModules:{},registrationNameDependencies:{},possibleRegistrationNames:null,injectEventPluginOrder:function(t){s&&i("101"),s=Array.prototype.slice.call(t),r()},injectEventPluginsByName:function(t){var e=!1;for(var n in t)if(t.hasOwnProperty(n)){var o=t[n];u.hasOwnProperty(n)&&u[n]===o||(u[n]&&i("102",n),u[n]=o,e=!0)}e&&r()},getPluginModuleForEvent:function(t){var e=t.dispatchConfig;if(e.registrationName)return c.registrationNameModules[e.registrationName]||null;if(void 0!==e.phasedRegistrationNames){var n=e.phasedRegistrationNames;for(var r in n)if(n.hasOwnProperty(r)){var o=c.registrationNameModules[n[r]];if(o)return o}}return null},_resetEventPlugins:function(){s=null;for(var t in u)u.hasOwnProperty(t)&&delete u[t];c.plugins.length=0;var e=c.eventNameDispatchConfigs;for(var n in e)e.hasOwnProperty(n)&&delete e[n];var r=c.registrationNameModules;for(var o in r)r.hasOwnProperty(o)&&delete r[o]}};t.exports=c},function(t,e,n){"use strict";function r(t){return"topMouseUp"===t||"topTouchEnd"===t||"topTouchCancel"===t}function o(t){return"topMouseMove"===t||"topTouchMove"===t}function a(t){return"topMouseDown"===t||"topTouchStart"===t}function i(t,e,n,r){var o=t.type||"unknown-event";t.currentTarget=m.getNodeFromInstance(r),e?y.invokeGuardedCallbackWithCatch(o,n,t):y.invokeGuardedCallback(o,n,t),t.currentTarget=null}function s(t,e){var n=t._dispatchListeners,r=t._dispatchInstances;if(Array.isArray(n))for(var o=0;o<n.length&&!t.isPropagationStopped();o++)i(t,e,n[o],r[o]);else n&&i(t,e,n,r);t._dispatchListeners=null,t._dispatchInstances=null}function u(t){var e=t._dispatchListeners,n=t._dispatchInstances;if(Array.isArray(e)){for(var r=0;r<e.length&&!t.isPropagationStopped();r++)if(e[r](t,n[r]))return n[r]}else if(e&&e(t,n))return n;return null}function c(t){var e=u(t);return t._dispatchInstances=null,t._dispatchListeners=null,e}function l(t){var e=t._dispatchListeners,n=t._dispatchInstances;Array.isArray(e)&&d("103"),t.currentTarget=e?m.getNodeFromInstance(n):null;var r=e?e(t):null;return t.currentTarget=null,t._dispatchListeners=null,t._dispatchInstances=null,r}function f(t){return!!t._dispatchListeners}var p,h,d=n(7),y=n(136),g=(n(2),n(6),{injectComponentTree:function(t){p=t},injectTreeTraversal:function(t){h=t}}),m={isEndish:r,isMoveish:o,isStartish:a,executeDirectDispatch:l,executeDispatchesInOrder:s,executeDispatchesInOrderStopAtTrue:c,hasDispatches:f,getInstanceFromNode:function(t){return p.getInstanceFromNode(t)},getNodeFromInstance:function(t){return p.getNodeFromInstance(t)},isAncestor:function(t,e){return h.isAncestor(t,e)},getLowestCommonAncestor:function(t,e){return h.getLowestCommonAncestor(t,e)},getParentInstance:function(t){return h.getParentInstance(t)},traverseTwoPhase:function(t,e,n){return h.traverseTwoPhase(t,e,n)},traverseEnterLeave:function(t,e,n,r,o){return h.traverseEnterLeave(t,e,n,r,o)},injection:g};t.exports=m},function(t,e,n){"use strict";function r(t,e,n){try{e(n)}catch(t){null===o&&(o=t)}}var o=null,a={invokeGuardedCallback:r,invokeGuardedCallbackWithCatch:r,rethrowCaughtError:function(){if(o){var t=o;throw o=null,t}}};t.exports=a},function(t,e,n){"use strict";function r(t){var e=t.target||t.srcElement||window;return e.correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}t.exports=r},function(t,e,n){"use strict";/**
   * Checks if an event is supported in the current execution environment.
   *
   * NOTE: This will not work correctly for non-generic events such as `change`,
   * `reset`, `load`, `error`, and `select`.
   *
   * Borrows from Modernizr.
   *
   * @param {string} eventNameSuffix Event name, e.g. "click".
   * @param {?boolean} capture Check if the capture phase is supported.
   * @return {boolean} True if the event is supported.
   * @internal
   * @license Modernizr 3.0.0pre (Custom Build) | MIT
   */
  function r(t,e){if(!a.canUseDOM||e&&!("addEventListener"in document))return!1;var n="on"+t,r=n in document;if(!r){var i=document.createElement("div");i.setAttribute(n,"return;"),r="function"==typeof i[n]}return!r&&o&&"wheel"===t&&(r=document.implementation.hasFeature("Events.wheel","3.0")),r}var o,a=n(19);a.canUseDOM&&(o=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("","")),t.exports=r},function(t,e,n){"use strict";function r(t){var e=this,n=e.nativeEvent;if(n.getModifierState)return n.getModifierState(t);var r=a[t];return!!r&&!!n[r]}function o(t){return r}var a={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};t.exports=o},function(t,e,n){"use strict";function r(t,e){return Array.isArray(e)&&(e=e[1]),e?e.nextSibling:t.firstChild}function o(t,e,n){l.insertTreeBefore(t,e,n)}function a(t,e,n){Array.isArray(e)?s(t,e[0],e[1],n):y(t,e,n)}function i(t,e){if(Array.isArray(e)){var n=e[1];e=e[0],u(t,e,n),t.removeChild(n)}t.removeChild(e)}function s(t,e,n,r){for(var o=e;;){var a=o.nextSibling;if(y(t,o,r),o===n)break;o=a}}function u(t,e,n){for(;;){var r=e.nextSibling;if(r===n)break;t.removeChild(r)}}function c(t,e,n){var r=t.parentNode,o=t.nextSibling;o===e?n&&y(r,document.createTextNode(n),o):n?(d(o,n),u(r,o,e)):u(r,t,e)}var l=n(50),f=n(413),p=(n(12),n(24),n(142)),h=n(99),d=n(229),y=p(function(t,e,n){t.insertBefore(e,n)}),g=f.dangerouslyReplaceNodeWithMarkup,m={dangerouslyReplaceNodeWithMarkup:g,replaceDelimitedText:c,processUpdates:function(t,e){for(var n=0;n<e.length;n++){var s=e[n];switch(s.type){case"INSERT_MARKUP":o(t,s.content,r(t,s.afterNode));break;case"MOVE_EXISTING":a(t,s.fromNode,r(t,s.afterNode));break;case"SET_MARKUP":h(t,s.content);break;case"TEXT_CONTENT":d(t,s.content);break;case"REMOVE_NODE":i(t,s.fromNode)}}}};t.exports=m},function(t,e,n){"use strict";var r={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};t.exports=r},function(t,e,n){"use strict";var r=function(t){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,n,r,o){MSApp.execUnsafeLocalFunction(function(){return t(e,n,r,o)})}:t};t.exports=r},function(t,e,n){"use strict";function r(t){null!=t.checkedLink&&null!=t.valueLink&&s("87")}function o(t){r(t),(null!=t.value||null!=t.onChange)&&s("88")}function a(t){r(t),(null!=t.checked||null!=t.onChange)&&s("89")}function i(t){if(t){var e=t.getName();if(e)return" Check the render method of `"+e+"`."}return""}var s=n(7),u=n(431),c=n(218),l=n(46),f=c(l.isValidElement),p=(n(2),n(6),{button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0}),h={value:function(t,e,n){return!t[e]||p[t.type]||t.onChange||t.readOnly||t.disabled?null:new Error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.")},checked:function(t,e,n){return!t[e]||t.onChange||t.readOnly||t.disabled?null:new Error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")},onChange:f.func},d={},y={checkPropTypes:function(t,e,n){for(var r in h){if(h.hasOwnProperty(r))var o=h[r](e,r,t,"prop",null,u);if(o instanceof Error&&!(o.message in d)){d[o.message]=!0;i(n)}}},getValue:function(t){return t.valueLink?(o(t),t.valueLink.value):t.value},getChecked:function(t){return t.checkedLink?(a(t),t.checkedLink.value):t.checked},executeOnChange:function(t,e){return t.valueLink?(o(t),t.valueLink.requestChange(e.target.value)):t.checkedLink?(a(t),t.checkedLink.requestChange(e.target.checked)):t.onChange?t.onChange.call(void 0,e):void 0}};t.exports=y},function(t,e,n){"use strict";var r=n(7),o=(n(2),!1),a={replaceNodeWithMarkup:null,processChildrenUpdates:null,injection:{injectEnvironment:function(t){o&&r("104"),a.replaceNodeWithMarkup=t.replaceNodeWithMarkup,a.processChildrenUpdates=t.processChildrenUpdates,o=!0}}};t.exports=a},function(t,e){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function o(t){if(l===setTimeout)return setTimeout(t,0);if((l===n||!l)&&setTimeout)return l=setTimeout,setTimeout(t,0);try{return l(t,0)}catch(e){try{return l.call(null,t,0)}catch(e){return l.call(this,t,0)}}}function a(t){if(f===clearTimeout)return clearTimeout(t);if((f===r||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(t);try{return f(t)}catch(e){try{return f.call(null,t)}catch(e){return f.call(this,t)}}}function i(){y&&h&&(y=!1,h.length?d=h.concat(d):g=-1,d.length&&s())}function s(){if(!y){var t=o(i);y=!0;for(var e=d.length;e;){for(h=d,d=[];++g<e;)h&&h[g].run();g=-1,e=d.length}h=null,y=!1,a(t)}}function u(t,e){this.fun=t,this.array=e}function c(){}var l,f,p=t.exports={};!function(){try{l="function"==typeof setTimeout?setTimeout:n}catch(t){l=n}try{f="function"==typeof clearTimeout?clearTimeout:r}catch(t){f=r}}();var h,d=[],y=!1,g=-1;p.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];d.push(new u(t,e)),1!==d.length||y||o(s)},u.prototype.run=function(){this.fun.apply(null,this.array)},p.title="browser",p.browser=!0,p.env={},p.argv=[],p.version="",p.versions={},p.on=c,p.addListener=c,p.once=c,p.off=c,p.removeListener=c,p.removeAllListeners=c,p.emit=c,p.prependListener=c,p.prependOnceListener=c,p.listeners=function(t){return[]},p.binding=function(t){throw new Error("process.binding is not supported")},p.cwd=function(){return"/"},p.chdir=function(t){throw new Error("process.chdir is not supported")},p.umask=function(){return 0}},function(t,e,n){"use strict";function r(t,e){return t===e?0!==t||0!==e||1/t==1/e:t!==t&&e!==e}function o(t,e){if(r(t,e))return!0;if("object"!=typeof t||null===t||"object"!=typeof e||null===e)return!1;var n=Object.keys(t),o=Object.keys(e);if(n.length!==o.length)return!1;for(var i=0;i<n.length;i++)if(!a.call(e,n[i])||!r(t[n[i]],e[n[i]]))return!1;return!0}var a=Object.prototype.hasOwnProperty;t.exports=o},function(t,e,n){"use strict";function r(t,e){var n=null===t||!1===t,r=null===e||!1===e;if(n||r)return n===r;var o=typeof t,a=typeof e;return"string"===o||"number"===o?"string"===a||"number"===a:"object"===a&&t.type===e.type&&t.key===e.key}t.exports=r},function(t,e,n){"use strict";function r(t){var e={"=":"=0",":":"=2"};return"$"+(""+t).replace(/[=:]/g,function(t){return e[t]})}function o(t){var e=/(=0|=2)/g,n={"=0":"=","=2":":"};return(""+("."===t[0]&&"$"===t[1]?t.substring(2):t.substring(1))).replace(e,function(t){return n[t]})}var a={escape:r,unescape:o};t.exports=a},function(t,e,n){"use strict";function r(t){u.enqueueUpdate(t)}function o(t){var e=typeof t;if("object"!==e)return e;var n=t.constructor&&t.constructor.name||e,r=Object.keys(t);return r.length>0&&r.length<20?n+" (keys: "+r.join(", ")+")":n}function a(t,e){var n=s.get(t);if(!n){return null}return n}var i=n(7),s=(n(31),n(68)),u=(n(24),n(25)),c=(n(2),n(6),{isMounted:function(t){var e=s.get(t);return!!e&&!!e._renderedComponent},enqueueCallback:function(t,e,n){c.validateCallback(e,n);var o=a(t);if(!o)return null;o._pendingCallbacks?o._pendingCallbacks.push(e):o._pendingCallbacks=[e],r(o)},enqueueCallbackInternal:function(t,e){t._pendingCallbacks?t._pendingCallbacks.push(e):t._pendingCallbacks=[e],r(t)},enqueueForceUpdate:function(t){var e=a(t,"forceUpdate");e&&(e._pendingForceUpdate=!0,r(e))},enqueueReplaceState:function(t,e,n){var o=a(t,"replaceState");o&&(o._pendingStateQueue=[e],o._pendingReplaceState=!0,void 0!==n&&null!==n&&(c.validateCallback(n,"replaceState"),o._pendingCallbacks?o._pendingCallbacks.push(n):o._pendingCallbacks=[n]),r(o))},enqueueSetState:function(t,e){var n=a(t,"setState");if(n){(n._pendingStateQueue||(n._pendingStateQueue=[])).push(e),r(n)}},enqueueElementInternal:function(t,e,n){t._pendingElement=e,t._context=n,r(t)},validateCallback:function(t,e){t&&"function"!=typeof t&&i("122",e,o(t))}});t.exports=c},function(t,e,n){"use strict";var r=(n(10),n(21)),o=(n(6),r);t.exports=o},function(t,e,n){"use strict";function r(t){var e,n=t.keyCode;return"charCode"in t?0===(e=t.charCode)&&13===n&&(e=13):e=n,e>=32||13===e?e:0}t.exports=r},function(t,e,n){function r(){}function o(t){var n=""+t.type;return e.BINARY_EVENT!==t.type&&e.BINARY_ACK!==t.type||(n+=t.attachments+"-"),t.nsp&&"/"!==t.nsp&&(n+=t.nsp+","),null!=t.id&&(n+=t.id),null!=t.data&&(n+=JSON.stringify(t.data)),f("encoded %j as %s",t,n),n}function a(t,e){function n(t){var n=d.deconstructPacket(t),r=o(n.packet),a=n.buffers;a.unshift(r),e(a)}d.removeBlobs(t,n)}function i(){this.reconstructor=null}function s(t){var n=0,r={type:Number(t.charAt(0))};if(null==e.types[r.type])return l();if(e.BINARY_EVENT===r.type||e.BINARY_ACK===r.type){for(var o="";"-"!==t.charAt(++n)&&(o+=t.charAt(n),n!=t.length););if(o!=Number(o)||"-"!==t.charAt(n))throw new Error("Illegal attachments");r.attachments=Number(o)}if("/"===t.charAt(n+1))for(r.nsp="";++n;){var a=t.charAt(n);if(","===a)break;if(r.nsp+=a,n===t.length)break}else r.nsp="/";var i=t.charAt(n+1);if(""!==i&&Number(i)==i){for(r.id="";++n;){var a=t.charAt(n);if(null==a||Number(a)!=a){--n;break}if(r.id+=t.charAt(n),n===t.length)break}r.id=Number(r.id)}return t.charAt(++n)&&(r=u(r,t.substr(n))),f("decoded %s as %j",t,r),r}function u(t,e){try{t.data=JSON.parse(e)}catch(t){return l()}return t}function c(t){this.reconPack=t,this.buffers=[]}function l(){return{type:e.ERROR,data:"parser error"}}var f=n(33)("socket.io-parser"),p=n(51),h=n(247),d=n(479),y=n(248);e.protocol=4,e.types=["CONNECT","DISCONNECT","EVENT","ACK","ERROR","BINARY_EVENT","BINARY_ACK"],e.CONNECT=0,e.DISCONNECT=1,e.EVENT=2,e.ACK=3,e.ERROR=4,e.BINARY_EVENT=5,e.BINARY_ACK=6,e.Encoder=r,e.Decoder=i,r.prototype.encode=function(t,n){if(t.type!==e.EVENT&&t.type!==e.ACK||!h(t.data)||(t.type=t.type===e.EVENT?e.BINARY_EVENT:e.BINARY_ACK),f("encoding packet %j",t),e.BINARY_EVENT===t.type||e.BINARY_ACK===t.type)a(t,n);else{n([o(t)])}},p(i.prototype),i.prototype.add=function(t){var n;if("string"==typeof t)n=s(t),e.BINARY_EVENT===n.type||e.BINARY_ACK===n.type?(this.reconstructor=new c(n),0===this.reconstructor.reconPack.attachments&&this.emit("decoded",n)):this.emit("decoded",n);else{if(!y(t)&&!t.base64)throw new Error("Unknown type: "+t);if(!this.reconstructor)throw new Error("got binary data when not reconstructing a packet");(n=this.reconstructor.takeBinaryData(t))&&(this.reconstructor=null,this.emit("decoded",n))}},i.prototype.destroy=function(){this.reconstructor&&this.reconstructor.finishedReconstruction()},c.prototype.takeBinaryData=function(t){if(this.buffers.push(t),this.buffers.length===this.reconPack.attachments){var e=d.reconstructPacket(this.reconPack,this.buffers);return this.finishedReconstruction(),e}return null},c.prototype.finishedReconstruction=function(){this.reconPack=null,this.buffers=[]}},function(t,e,n){(function(e){var r=n(484);t.exports=function(t){var n=t.xdomain,o=t.xscheme,a=t.enablesXDR;try{if("undefined"!=typeof XMLHttpRequest&&(!n||r))return new XMLHttpRequest}catch(t){}try{if("undefined"!=typeof XDomainRequest&&!o&&a)return new XDomainRequest}catch(t){}if(!n)try{return new(e[["Active"].concat("Object").join("X")])("Microsoft.XMLHTTP")}catch(t){}}}).call(e,n(16))},function(t,e,n){function r(t){this.path=t.path,this.hostname=t.hostname,this.port=t.port,this.secure=t.secure,this.query=t.query,this.timestampParam=t.timestampParam,this.timestampRequests=t.timestampRequests,this.readyState="",this.agent=t.agent||!1,this.socket=t.socket,this.enablesXDR=t.enablesXDR,this.pfx=t.pfx,this.key=t.key,this.passphrase=t.passphrase,this.cert=t.cert,this.ca=t.ca,this.ciphers=t.ciphers,this.rejectUnauthorized=t.rejectUnauthorized,this.forceNode=t.forceNode,this.extraHeaders=t.extraHeaders,this.localAddress=t.localAddress}var o=n(52),a=n(51);t.exports=r,a(r.prototype),r.prototype.onError=function(t,e){var n=new Error(t);return n.type="TransportError",n.description=e,this.emit("error",n),this},r.prototype.open=function(){return"closed"!==this.readyState&&""!==this.readyState||(this.readyState="opening",this.doOpen()),this},r.prototype.close=function(){return"opening"!==this.readyState&&"open"!==this.readyState||(this.doClose(),this.onClose()),this},r.prototype.send=function(t){if("open"!==this.readyState)throw new Error("Transport not open");this.write(t)},r.prototype.onOpen=function(){this.readyState="open",this.writable=!0,this.emit("open")},r.prototype.onData=function(t){var e=o.decodePacket(t,this.socket.binaryType);this.onPacket(e)},r.prototype.onPacket=function(t){this.emit("packet",t)},r.prototype.onClose=function(){this.readyState="closed",this.emit("close")}},function(t,e){function n(t,e){for(var n=-1,r=e.length,o=t.length;++n<r;)t[o+n]=e[n];return t}t.exports=n},function(t,e,n){var r=n(42),o=n(17),a=r(o,"Map");t.exports=a},function(t,e,n){function r(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}var o=n(553),a=n(560),i=n(562),s=n(563),u=n(564);r.prototype.clear=o,r.prototype.delete=a,r.prototype.get=i,r.prototype.has=s,r.prototype.set=u,t.exports=r},function(t,e,n){function r(t,e,n,i,s){return t===e||(null==t||null==e||!a(t)&&!a(e)?t!==t&&e!==e:o(t,e,n,i,r,s))}var o=n(565),a=n(26);t.exports=r},function(t,e,n){function r(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new o;++e<n;)this.add(t[e])}var o=n(157),a=n(566),i=n(567);r.prototype.add=r.prototype.push=a,r.prototype.has=i,t.exports=r},function(t,e){function n(t,e){return t.has(e)}t.exports=n},function(t,e){function n(t){var e=-1,n=Array(t.size);return t.forEach(function(t,r){n[++e]=[r,t]}),n}t.exports=n},function(t,e,n){var r=n(570),o=n(268),a=Object.prototype,i=a.propertyIsEnumerable,s=Object.getOwnPropertySymbols,u=s?function(t){return null==t?[]:(t=Object(t),r(s(t),function(e){return i.call(t,e)}))}:o;t.exports=u},function(t,e){function n(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=r}var r=9007199254740991;t.exports=n},function(t,e){function n(t){return function(e){return t(e)}}t.exports=n},function(t,e,n){function r(t,e){if(o(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!a(t))||(s.test(t)||!i.test(t)||null!=e&&t in Object(e))}var o=n(13),a=n(77),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/;t.exports=r},function(t,e,n){function r(t){return null==t?"":o(t)}var o=n(583);t.exports=r},function(t,e,n){function r(t){return i(t)?o(s(t)):a(t)}var o=n(586),a=n(587),i=n(165),s=n(58);t.exports=r},function(t,e,n){function r(t,e){return t&&o(t,e,a)}var o=n(278),a=n(15);t.exports=r},function(t,e,n){var r=n(594),o=n(282),a=o(r);t.exports=a},function(t,e,n){var r=n(271),o=r(Object.getPrototypeOf,Object);t.exports=o},function(t,e,n){"use strict";var r=n(38),o=n(284),a=n(287),i=n(288),s=n(115),u=n(289),c=n(290),l=n(286);e.a=function(t,e){var n,f=typeof e;return null==e||"boolean"===f?Object(l.a)(e):("number"===f?s.a:"string"===f?(n=Object(r.a)(e))?(e=n,o.a):c.a:e instanceof r.a?o.a:e instanceof Date?i.a:Array.isArray(e)?a.a:"function"!=typeof e.valueOf&&"function"!=typeof e.toString||isNaN(e)?u.a:s.a)(t,e)}},function(t,e,n){"use strict";function r(){}function o(t){var e;return t=(t+"").trim().toLowerCase(),(e=x.exec(t))?(e=parseInt(e[1],16),new c(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1)):(e=w.exec(t))?a(parseInt(e[1],16)):(e=O.exec(t))?new c(e[1],e[2],e[3],1):(e=C.exec(t))?new c(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=k.exec(t))?i(e[1],e[2],e[3],e[4]):(e=M.exec(t))?i(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=P.exec(t))?l(e[1],e[2]/100,e[3]/100,1):(e=E.exec(t))?l(e[1],e[2]/100,e[3]/100,e[4]):A.hasOwnProperty(t)?a(A[t]):"transparent"===t?new c(NaN,NaN,NaN,0):null}function a(t){return new c(t>>16&255,t>>8&255,255&t,1)}function i(t,e,n,r){return r<=0&&(t=e=n=NaN),new c(t,e,n,r)}function s(t){return t instanceof r||(t=o(t)),t?(t=t.rgb(),new c(t.r,t.g,t.b,t.opacity)):new c}function u(t,e,n,r){return 1===arguments.length?s(t):new c(t,e,n,null==r?1:r)}function c(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function l(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new h(t,e,n,r)}function f(t){if(t instanceof h)return new h(t.h,t.s,t.l,t.opacity);if(t instanceof r||(t=o(t)),!t)return new h;if(t instanceof h)return t;t=t.rgb();var e=t.r/255,n=t.g/255,a=t.b/255,i=Math.min(e,n,a),s=Math.max(e,n,a),u=NaN,c=s-i,l=(s+i)/2;return c?(u=e===s?(n-a)/c+6*(n<a):n===s?(a-e)/c+2:(e-n)/c+4,c/=l<.5?s+i:2-s-i,u*=60):c=l>0&&l<1?0:u,new h(u,c,l,t.opacity)}function p(t,e,n,r){return 1===arguments.length?f(t):new h(t,e,n,null==r?1:r)}function h(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function d(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}e.a=r,n.d(e,"d",function(){return g}),n.d(e,"c",function(){return m}),e.e=o,e.h=s,e.g=u,e.b=c,e.f=p;var y=n(173),g=.7,m=1/g,v="\\s*([+-]?\\d+)\\s*",b="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",_="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",x=/^#([0-9a-f]{3})$/,w=/^#([0-9a-f]{6})$/,O=new RegExp("^rgb\\("+[v,v,v]+"\\)$"),C=new RegExp("^rgb\\("+[_,_,_]+"\\)$"),k=new RegExp("^rgba\\("+[v,v,v,b]+"\\)$"),M=new RegExp("^rgba\\("+[_,_,_,b]+"\\)$"),P=new RegExp("^hsl\\("+[b,_,_]+"\\)$"),E=new RegExp("^hsla\\("+[b,_,_,b]+"\\)$"),A={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};Object(y.a)(r,o,{displayable:function(){return this.rgb().displayable()},toString:function(){return this.rgb()+""}}),Object(y.a)(c,u,Object(y.b)(r,{brighter:function(t){return t=null==t?m:Math.pow(m,t),new c(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?g:Math.pow(g,t),new c(this.r*t,this.g*t,this.b*t,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},toString:function(){var t=this.opacity;return t=isNaN(t)?1:Math.max(0,Math.min(1,t)),(1===t?"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===t?")":", "+t+")")}})),Object(y.a)(h,p,Object(y.b)(r,{brighter:function(t){return t=null==t?m:Math.pow(m,t),new h(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?g:Math.pow(g,t),new h(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,o=2*n-r;return new c(d(t>=240?t-240:t+120,o,r),d(t,o,r),d(t<120?t+240:t-120,o,r),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}}))},function(t,e,n){"use strict";function r(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}e.b=r,e.a=function(t,e,n){t.prototype=e.prototype=n,n.constructor=t}},function(t,e,n){"use strict";function r(t,e,n,r,o){var a=t*t,i=a*t;return((1-3*t+3*a-i)*e+(4-6*a+3*i)*n+(1+3*t+3*a-3*i)*r+i*o)/6}e.a=r,e.b=function(t){var e=t.length-1;return function(n){var o=n<=0?n=0:n>=1?(n=1,e-1):Math.floor(n*e),a=t[o],i=t[o+1],s=o>0?t[o-1]:2*a-i,u=o<e-1?t[o+2]:2*i-a;return r((n-o/e)*e,s,a,i,u)}}},function(t,e,n){"use strict";function r(){return b||(w(o),b=x.now()+_)}function o(){b=0}function a(){this._call=this._time=this._next=null}function i(t,e,n){var r=new a;return r.restart(t,e,n),r}function s(){r(),++d;for(var t,e=p;e;)(t=b-e._time)>=0&&e._call.call(null,t),e=e._next;--d}function u(){b=(v=x.now())+_,d=y=0;try{s()}finally{d=0,l(),b=0}}function c(){var t=x.now(),e=t-v;e>m&&(_-=e,v=t)}function l(){for(var t,e,n=p,r=1/0;n;)n._call?(r>n._time&&(r=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:p=e);h=t,f(r)}function f(t){if(!d){y&&(y=clearTimeout(y));t-b>24?(t<1/0&&(y=setTimeout(u,t-x.now()-_)),g&&(g=clearInterval(g))):(g||(v=x.now(),g=setInterval(c,m)),d=1,w(u))}}e.b=r,e.a=a,e.c=i;var p,h,d=0,y=0,g=0,m=1e3,v=0,b=0,_=0,x="object"==typeof performance&&performance.now?performance:Date,w="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};a.prototype=i.prototype={constructor:a,restart:function(t,e,n){if("function"!=typeof t)throw new TypeError("callback is not a function");n=(null==n?r():+n)+(null==e?0:+e),this._next||h===this||(h?h._next=this:p=this,h=this),this._call=t,this._time=n,f()},stop:function(){this._call&&(this._call=null,this._time=1/0,f())}}},function(t,e,n){function r(t){var e=++a;return o(t)+e}var o=n(166),a=0;t.exports=r},function(t,e,n){function r(t){var e=new t.constructor(t.byteLength);return new o(e).set(new o(t)),e}var o=n(265);t.exports=r},function(t,e){function n(t,e,n,r){var o=-1,a=null==t?0:t.length;for(r&&a&&(n=t[++o]);++o<a;)n=e(n,t[o],o,t);return n}t.exports=n},function(t,e,n){function r(t){return i(a(t,void 0,o),t+"")}var o=n(120),a=n(279),i=n(169);t.exports=r},function(t,e,n){function r(t){var e=o(t),n=e%1;return e===e?n?e-n:e:0}var o=n(300);t.exports=r},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var i=n(182),s=n.n(i),u=n(4),c=n.n(u),l=n(0),f=n.n(l),p=n(1),h=n.n(p),d=n(184),y=n(30),g=n(11),m=n(8),v=n(186),b=n(187),_=n(121),x=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},w=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),O={fill:"#252525",fontSize:14,fontFamily:"'Gill Sans', 'Gill Sans MT', 'Ser­avek', 'Trebuchet MS', sans-serif",stroke:"transparent"},C=function(t){function e(){return r(this,e),o(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return a(e,t),w(e,[{key:"componentWillMount",value:function(){this.cacheAttributes(this.calculateAttributes(this.props))}},{key:"shouldComponentUpdate",value:function(t){var e=this.calculateAttributes(t),n=e.style,r=e.dx,o=e.dy,a=e.x,i=e.y,s=e.content,u=e.lineHeight,c=e.textAnchor,l=e.transform,f=this.props,p=f.angle,h=f.className,d=f.datum,y=f.active;return!g.a.allSetsEqual([[y,t.active],[p,t.angle],[h,t.className],[a,this.x],[i,this.y],[r,this.dx],[o,this.dy],[u,this.lineHeight],[c,this.textAnchor],[l,this.transform],[s,this.content],[n,this.style],[d,t.datum]])&&(this.cacheAttributes(e),!0)}},{key:"cacheAttributes",value:function(t){var e=t.style,n=t.dx,r=t.dy,o=t.x,a=t.y,i=t.content,s=t.textAnchor,u=t.transform,c=t.lineHeight;this.style=e,this.dx=n,this.dy=r,this.x=o,this.y=a,this.content=i,this.textAnchor=s,this.lineHeight=c,this.transform=u}},{key:"calculateAttributes",value:function(t){var e=this.getStyles(t),n=this.getHeight(t,"lineHeight"),r=t.textAnchor?m.a.evaluateProp(t.textAnchor,t.datum):"start",o=this.getContent(t);return{style:e,dx:t.dx?m.a.evaluateProp(t.dx,t.datum):0,dy:this.getDy(t,e,o,n),content:o,lineHeight:n,textAnchor:r,transform:this.getTransform(t,e),x:void 0!==t.x?t.x:this.getPosition(t,"x"),y:void 0!==t.y?t.y:this.getPosition(t,"y")}}},{key:"getPosition",value:function(t,e){return t.datum?m.a.scalePoint(t,t.datum)[e]:0}},{key:"getStyle",value:function(t,e){e=e?s()({},O,e):O;var n=t.datum||t.data,r=m.a.evaluateStyle(e,n,t.active);return c()({},r,{fontSize:this.getFontSize(r)})}},{key:"getStyles",value:function(t){var e=this;return Array.isArray(t.style)?t.style.map(function(n){return e.getStyle(t,n)}):[this.getStyle(t,t.style)]}},{key:"getHeight",value:function(t,e){var n=t.datum||t.data;return m.a.evaluateProp(t[e],n,t.active)}},{key:"getContent",value:function(t){if(void 0===t.text||null===t.text)return[" "];var e=t.datum||t.data;return Array.isArray(t.text)?t.text.map(function(n){return m.a.evaluateProp(n,e,t.active)}):(""+m.a.evaluateProp(t.text,e,t.active)).split("\n")}},{key:"getDy",value:function(t,e,n,r){e=Array.isArray(e)?e[0]:e;var o=e.fontSize,a=t.datum||t.data,i=t.dy?m.a.evaluateProp(t.dy,a):0,s=n.length,u=this.getHeight(t,"capHeight"),c=e.verticalAnchor||t.verticalAnchor;switch(c?m.a.evaluateProp(c,a):"middle"){case"end":return i+(u/2+(.5-s)*r)*o;case"middle":return i+(u/2+(.5-s/2)*r)*o;default:return i+(u/2+r/2)*o}}},{key:"getTransform",value:function(t,e){var n=t.datum,r=t.x,o=t.y,a=t.polar,i=a?v.a.getPolarAngle(t):0,s=e.angle||t.angle||i,u=t.transform||e.transform,c=u&&m.a.evaluateProp(u,n),l=s&&{rotate:[s,r,o]};return c||s?b.a.toTransformString(c,l):void 0}},{key:"getFontSize",value:function(t){var e=t&&t.fontSize;if("number"==typeof e)return e;if(void 0===e||null===e)return O.fontSize;if("string"==typeof e){var n=+e.replace("px","");return isNaN(n)?(_.a.warn("fontSize should be expressed as a number of pixels"),O.fontSize):n}return O.fontSize}},{key:"renderElements",value:function(t){var e=this,n={dx:this.dx,dy:this.dy,x:this.x,y:this.y,transform:this.transform,className:t.className};return f.a.createElement("text",x({},n,t.events),this.props.title&&f.a.createElement("title",null,this.props.title),this.props.desc&&f.a.createElement("desc",null,this.props.desc),this.content.map(function(n,r){var o=e.style[r]||e.style[0],a=e.style[r-1]||e.style[0],i=(o.fontSize+a.fontSize)/2,s=o.textAnchor||e.textAnchor,u=r?e.lineHeight*i:void 0;return f.a.createElement("tspan",{key:r,x:t.x,dy:u,dx:e.dx,style:o,textAnchor:s},n)}))}},{key:"render",value:function(){var t=this.renderElements(this.props);return this.props.renderInPortal?f.a.createElement(d.a,null,t):t}}]),e}(f.a.Component);C.displayName="VictoryLabel",C.role="label",C.propTypes={active:h.a.bool,angle:h.a.oneOfType([h.a.string,h.a.number]),capHeight:h.a.oneOfType([h.a.string,y.a.nonNegative,h.a.func]),className:h.a.string,data:h.a.array,datum:h.a.any,desc:h.a.string,dx:h.a.oneOfType([h.a.number,h.a.string,h.a.func]),dy:h.a.oneOfType([h.a.number,h.a.string,h.a.func]),events:h.a.object,index:h.a.oneOfType([h.a.number,h.a.string]),labelPlacement:h.a.oneOf(["parallel","perpendicular","vertical"]),lineHeight:h.a.oneOfType([h.a.string,y.a.nonNegative,h.a.func]),origin:h.a.shape({x:y.a.nonNegative,y:y.a.nonNegative}),polar:h.a.bool,renderInPortal:h.a.bool,scale:h.a.shape({x:y.a.scale,y:y.a.scale}),style:h.a.oneOfType([h.a.object,h.a.array]),text:h.a.oneOfType([h.a.string,h.a.number,h.a.func,h.a.array]),textAnchor:h.a.oneOfType([h.a.oneOf(["start","middle","end","inherit"]),h.a.func]),title:h.a.string,transform:h.a.oneOfType([h.a.string,h.a.object,h.a.func]),verticalAnchor:h.a.oneOfType([h.a.oneOf(["start","middle","end"]),h.a.func]),x:h.a.oneOfType([h.a.number,h.a.string]),y:h.a.oneOfType([h.a.number,h.a.string])},C.defaultProps={capHeight:.71,lineHeight:1},e.a=C},function(t,e,n){var r=n(183),o=n(82),a=o(function(t,e,n){r(t,e,n)});t.exports=a},function(t,e,n){function r(t,e,n,l,f){t!==e&&i(e,function(i,c){if(u(i))f||(f=new o),s(t,e,c,n,r,l,f);else{var p=l?l(t[c],i,c+"",t,e,f):void 0;void 0===p&&(p=i),a(t,c,p)}},c)}var o=n(104),a=n(303),i=n(278),s=n(635),u=n(14),c=n(60);t.exports=r},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var i=n(29),s=n.n(i),u=n(5),c=n.n(u),l=n(0),f=n.n(l),p=n(1),h=n.n(p),d=n(121),y=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),g=function(t){function e(){return r(this,e),o(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return a(e,t),y(e,[{key:"componentDidMount",value:function(){if(!this.checkedContext){if("function"!=typeof this.context.portalUpdate){d.a.warn("`renderInPortal` is not supported outside of `VictoryContainer`. Component will be rendered in place"),this.renderInPlace=!0}this.checkedContext=!0}this.forceUpdate()}},{key:"componentDidUpdate",value:function(){this.renderInPlace||(this.portalKey=this.portalKey||this.context.portalRegister(),this.context.portalUpdate(this.portalKey,this.element))}},{key:"componentWillUnmount",value:function(){this.context&&this.context.portalDeregister&&this.context.portalDeregister(this.portalKey)}},{key:"renderPortal",value:function(t){return this.renderInPlace?t:(this.element=t,null)}},{key:"render",value:function(){var t=Array.isArray(this.props.children)?this.props.children[0]:this.props.children,e=this.props.groupComponent,n=t&&t.props||{},r=n.groupComponent?{groupComponent:e,standalone:!1}:{},o=c()(r,n,s()(this.props,["children","groupComponent"])),a=t&&f.a.cloneElement(t,o);return this.renderPortal(a)}}]),e}(f.a.Component);g.displayName="VictoryPortal",g.role="portal",g.propTypes={children:h.a.node,groupComponent:h.a.element},g.defaultProps={groupComponent:f.a.createElement("g",null)},g.contextTypes={portalDeregister:h.a.func,portalRegister:h.a.func,portalUpdate:h.a.func},e.a=g},function(t,e,n){function r(t){if(null==t)return!0;if(u(t)&&(s(t)||"string"==typeof t||"function"==typeof t.splice||c(t)||f(t)||i(t)))return!t.length;var e=a(t);if(e==p||e==h)return!t.size;if(l(t))return!o(t).length;for(var n in t)if(y.call(t,n))return!1;return!0}var o=n(270),a=n(111),i=n(73),s=n(13),u=n(27),c=n(74),l=n(76),f=n(110),p="[object Map]",h="[object Set]",d=Object.prototype,y=d.hasOwnProperty;t.exports=r},function(t,e,n){"use strict";var r=n(8);e.a={getText:function(t,e,n){return void 0!==e.label?e.label:Array.isArray(t.labels)?t.labels[n]:t.labels},getVerticalAnchor:function(t,e){var n=e._y>=0?1:-1,r=t.style&&t.style.labels||{};return e.getVerticalAnchor||r.verticalAnchor?e.getVerticalAnchor||r.verticalAnchor:t.horizontal?"middle":n>=0?"end":"start"},getTextAnchor:function(t,e){var n=t.style,r=t.horizontal,o=e._y>=0?1:-1,a=n&&n.labels||{};return e.getVerticalAnchor||a.verticalAnchor?e.getVerticalAnchor||a.verticalAnchor:r?o>=0?"start":"end":"middle"},getAngle:function(t,e){var n=t.style&&t.style.labels||{};return e.angle||n.angle},getPadding:function(t,e){var n=t.horizontal,o=t.style,a=t.active,i=o.labels||{},s=r.a.evaluateProp(i.padding,e,a)||0,u=e._y<0?-1:1;return{x:n?u*s:0,y:n?0:u*s}},getPosition:function(t,e){var n=t.horizontal,o=t.polar,a=r.a.scalePoint(t,e),i=a.x,s=a.y,u=this.getPadding(t,e);if(o){var c=this.getPolarPadding(t,e);return{x:i+c.x,y:s+c.y}}return{x:n?s+u.x:i+u.x,y:n?i+u.y:s-u.y}},getPolarPadding:function(t,e){var n=t.active,o=t.style,a=this.getDegrees(t,e),i=o.labels||{},s=r.a.evaluateProp(i.padding,e,n)||0,u=r.a.degreesToRadians(a);return{x:s*Math.cos(u),y:-s*Math.sin(u)}},getLabelPlacement:function(t){var e=t.labelComponent,n=t.labelPlacement,r=t.polar,o=r?"perpendicular":"vertical";return n||(e.props&&e.props.labelPlacement||o)},getPolarOrientation:function(t){return t<45||t>315?"right":t>=45&&t<=135?"top":t>135&&t<225?"left":"bottom"},getPolarTextAnchor:function(t,e){var n=this.getLabelPlacement(t);return"perpendicular"===n||"vertical"===n&&(90===e||270===e)?"middle":e<=90||e>270?"start":"end"},getPolarVerticalAnchor:function(t,e){var n=this.getLabelPlacement(t),r=this.getPolarOrientation(e);return"parallel"===n||"left"===r||"right"===r?"middle":"top"===r?"end":"start"},getPolarAngle:function(t,e){var n=t.labelPlacement,r=t.datum;if(!n||"vertical"===n)return 0;var o=void 0!==e?e:this.getDegrees(t,r),a=o>90&&o<180||o>270?1:-1,i=void 0;return 0===o||180===o?i=90:o>0&&o<180?i=90-o:o>180&&o<360&&(i=270-o),i+a*("perpendicular"===n?0:90)},getDegrees:function(t,e){var n=r.a.getPoint(e),o=n.x;return r.a.radiansToDegrees(t.scale.x(o))},getProps:function(t,e){var n=t.scale,r=t.data,o=t.style,a=t.horizontal,i=t.polar,s=r[e],u=this.getDegrees(t,s),c=i?this.getPolarTextAnchor(t,u):this.getTextAnchor(t,s),l=i?this.getPolarVerticalAnchor(t,u):this.getVerticalAnchor(t,s),f=this.getAngle(t,s),p=this.getText(t,s,e),h=this.getLabelPlacement(t),d=this.getPosition(t,s);return{angle:f,data:r,datum:s,horizontal:a,index:e,polar:i,scale:n,labelPlacement:h,text:p,textAnchor:c,verticalAnchor:l,x:d.x,y:d.y,style:o.labels}}}},function(t,e,n){"use strict";var r=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),o=1;o<e;o++)n[o-1]=arguments[o];if(n.length>0)return n.reduce(function(t,e){return[t,r(e)].join(" ")},r(t));if(!t||"string"==typeof t)return t;var a=[];for(var i in t)if(t.hasOwnProperty(i)){var s=t[i];a.push(i+"("+s+")")}return a.join(" ")};e.a={toTransformString:r,getColorScale:function(t){var e={grayscale:["#cccccc","#969696","#636363","#252525"],qualitative:["#334D5C","#45B29D","#EFC94C","#E27A3F","#DF5A49","#4F7DA1","#55DBC1","#EFDA97","#E2A37F","#DF948A"],heatmap:["#428517","#77D200","#D6D305","#EC8E19","#C92B05"],warm:["#940031","#C43343","#DC5429","#FF821D","#FFAF55"],cool:["#2746B9","#0B69D4","#2794DB","#31BB76","#60E83B"],red:["#FCAE91","#FB6A4A","#DE2D26","#A50F15","#750B0E"],blue:["#002C61","#004B8F","#006BC9","#3795E5","#65B4F4"],green:["#354722","#466631","#649146","#8AB25C","#A9C97E"]};return t?e[t]:e.grayscale}}},function(t,e,n){function r(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=i,this.__views__=[]}var o=n(119),a=n(189),i=4294967295;r.prototype=o(a.prototype),r.prototype.constructor=r,t.exports=r},function(t,e){function n(){}t.exports=n},function(t,e,n){var r=n(310),o=n(316),a=r?function(t){return r.get(t)}:o;t.exports=a},function(t,e,n){function r(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=void 0}var o=n(119),a=n(189);r.prototype=o(a.prototype),r.prototype.constructor=r,t.exports=r},function(t,e,n){function r(t,e){return!!(null==t?0:t.length)&&o(t,e,0)>-1}var o=n(320);t.exports=r},function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function o(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}var a=n(124),i=n.n(a),s=n(9),u=n.n(s),c=n(185),l=n.n(c),f=n(659),p=n.n(f),h=n(182),d=n.n(h),y=n(660),g=n.n(y),m=n(4),v=n.n(m);e.a={getEvents:function(t,e,n,r){var a=this,i=function(t){var r=function(){var r=t.reduce(function(t,n){return void 0!==n.target?""+n.target==""+e?t.concat(n):t:t.concat(n)},[]);return void 0!==n&&"parent"!==e?r.filter(function(t){var e=t.eventKey,r=function(t){return!t||""+t==""+n};return Array.isArray(e)?e.some(function(t){return r(t)}):r(e)}):r}();return Array.isArray(r)&&r.reduce(function(t,e){return e?v()(t,e.eventHandlers):t},{})},s=function(){if(Array.isArray(a.componentEvents)){var e;return Array.isArray(t.events)?(e=a.componentEvents).concat.apply(e,o(t.events)):a.componentEvents}return t.events}(),c=s&&u()(r)?r(i(s),e):void 0;if(!t.sharedEvents)return c;var l=t.sharedEvents.getEvents,f=t.sharedEvents.events&&l(i(t.sharedEvents.events),e);return v()({},f,c)},getScopedEvents:function(t,e,n,o){var a=this;if(l()(t))return{};o=o||this.baseProps;var s=function(t,e){var n=t.childName,r=t.target,i=t.key,s="props"===e?o:a.state||{},u=void 0!==n&&null!==n&&s[n]?s[n]:s;return"parent"===i?u.parent:u[i]&&u[i][r]},c=function(t,u){var c="parent"===e?t.childName:t.childName||n,l=t.target||e,f=function(e){return"all"===t.eventKey?o[e]?i()(Object.keys(o[e]),"parent"):i()(Object.keys(o),"parent"):void 0===t.eventKey&&"parent"===u?o[e]?Object.keys(o[e]):Object.keys(o):void 0!==t.eventKey?t.eventKey:u},p=function(e,n){var i=function(){return null},u=s({childName:n,key:e,target:l},"props"),c=s({childName:n,key:e,target:l},"state"),f=t.mutation||i,p=f(v()({},u,c),o),h=a.state||{},d=h[n]||{},y=function(t){return"parent"===l?g()(t[e],p):g()(t[e],r({},l,p))};return void 0!==n&&null!==n?g()(h,r({},n,g()(d,r({},e,y(d))))):g()(h,r({},e,y(h)))},h=function(t){var e=f(t);return Array.isArray(e)?e.reduce(function(e,n){return v()(e,p(n,t))},{}):p(e,t)},d="all"===c?i()(Object.keys(o),"parent"):c;return Array.isArray(d)?d.reduce(function(t,e){return v()(t,h(e))},{}):h(d)},f=function(t,e){return Array.isArray(t)?t.reduce(function(t,n){return t=d()({},t,c(n,e))},{}):c(t,e)},p=function(t){var e=function(t){return u()(t.callback)&&t.callback},n=Array.isArray(t)?t.map(function(t){return e(t)}):[e(t)],r=n.filter(function(t){return!1!==t});return r.length?function(){return r.forEach(function(t){return t()})}:void 0},h=function(e,n,r,o){var i=t[o](e,n,r,a);if(i){var s=p(i);a.setState(f(i,r),s)}};return Object.keys(t).reduce(function(t,e){return t[e]=h,t},{})},getPartialEvents:function(t,e,n){return t?Object.keys(t).reduce(function(r,o){return r[o]=p()(t[o],p.a.placeholder,n,e,o),r},{}):{}},getEventState:function(t,e,n){var r=this.state||{};return n?r[n]&&r[n][t]&&r[n][t][e]:"parent"===t?r[t]&&r[t][e]||r[t]:r[t]&&r[t][e]},getComponentEvents:function(t,e){var n=Array.isArray(e)&&e.reduce(function(e,n){var r,a=t[n],i=a&&a.type&&a.type.defaultEvents,s=u()(i)?i(a.props):i;return e=Array.isArray(s)?(r=e).concat.apply(r,o(s)):e},[]);return n&&n.length?n:void 0}}},function(t,e,n){"use strict";var r=n(663),o=n(664);e.a={material:r.a,grayscale:o.a}},function(t,e,n){var r=n(117),o=n(671),a=Object.prototype,i=a.hasOwnProperty,s=o(function(t,e,n){i.call(t,n)?t[n].push(e):r(t,n,[e])});t.exports=s},function(t,e,n){"use strict";function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}var o=n(166),a=n.n(o),i=n(5),s=n.n(i),u=n(182),c=n.n(u),l={"American Typewriter":2.09,Baskerville:2.51,Georgia:2.27,"Hoefler Text":2.39,Palatino:2.26,"Times New Roman":2.48,Arial:2.26,"Gill Sans":2.47,"Gill Sans 300":2.58,"Helvetica Neue":2.24,"Lucida Grande":2.05,Tahoma:2.25,"Trebuchet MS":2.2,Verdana:1.96,"Courier New":1.67,cursive:1.84,fantasy:2.09,monospace:1.81,serif:2.04,"sans-serif":1.89},f={mm:3.8,sm:38,pt:1.33,pc:16,in:96,px:1},p={em:1,ex:.5},h={averageFontConstant:2.1675,widthOverlapCoef:1.25,heightOverlapCoef:1.05,lineCapitalCoef:1.15,lineSpaceHeightCoef:.2},d={lineHeight:1,letterSpacing:"0px",fontSize:0,angle:0,fontFamily:""},y=function(t){return t*Math.PI/180},g=function(t){var e=t.split(",")[0].replace(/'|"/g,"");return l[e]||h.averageFontConstant},m=function(t){return Array.isArray(t)?t:t.toString().split(/\r\n|\r|\n/g)},v=function(t,e,n){var r=y(n);return Math.abs(Math.cos(r)*t)+Math.abs(Math.sin(r)*e)},b=function(t,e){var n=t.match(/[a-zA-Z%]+/)[0],r=t.match(/[0-9.,]+/);return f.hasOwnProperty(n)?r*f[n]:p.hasOwnProperty(n)?(e?r*e:r*d.fontSize)*p[n]:r},_=function(t,e){var n=Array.isArray(t)?t[e]:t,r=s()({},n,d);return c()({},r,{characterConstant:r.characterConstant||g(r.fontFamily),letterSpacing:b(r.letterSpacing,r.fontSize),fontSize:"number"==typeof r.fontSize?r.fontSize:b(String(r.fontSize))})},x=function(t,e){var n=m(t).map(function(t,n){var r=t.toString().length,o=_(e,n);return r*o.fontSize/o.characterConstant+o.letterSpacing*Math.max(r-1,0)});return Math.max.apply(Math,r(n))},w=function(t,e){return m(t).reduce(function(t,n,r){var o=_(e,r),i=a()(n).match(/[(A-Z)(0-9)]/),s=i?o.fontSize*h.lineCapitalCoef:o.fontSize,u=0===r?0:o.fontSize*h.lineSpaceHeightCoef;return t+o.lineHeight*(s+u)},0)},O=function(t,e){var n=Array.isArray(e)?e[0]&&e[0].angle:e&&e.angle,r=w(t,e),o=x(t,e),a=n?v(o,r,n):o,i=n?v(r,o,n):r;return{width:a*h.widthOverlapCoef,height:i*h.heightOverlapCoef}};e.a={approximateTextSize:O,convertLengthToPixels:b}},function(t,e,n){"use strict";var r=n(84),o=n(44),a=n(127),i=n(198);e.a=function(){function t(t){var o,a,i,f=t.length,p=!1;for(null==u&&(l=c(i=Object(r.a)())),o=0;o<=f;++o)!(o<f&&s(a=t[o],o,t))===p&&((p=!p)?l.lineStart():l.lineEnd()),p&&l.point(+e(a,o,t),+n(a,o,t));if(i)return l=null,i+""||null}var e=i.a,n=i.b,s=Object(o.a)(!0),u=null,c=a.a,l=null;return t.x=function(n){return arguments.length?(e="function"==typeof n?n:Object(o.a)(+n),t):e},t.y=function(e){return arguments.length?(n="function"==typeof e?e:Object(o.a)(+e),t):n},t.defined=function(e){return arguments.length?(s="function"==typeof e?e:Object(o.a)(!!e),t):s},t.curve=function(e){return arguments.length?(c=e,null!=u&&(l=c(u)),t):c},t.context=function(e){return arguments.length?(null==e?u=l=null:l=c(u=e),t):u},t}},function(t,e,n){"use strict";function r(t){return t[0]}function o(t){return t[1]}e.a=r,e.b=o},function(t,e,n){"use strict";function r(t,e,n){var r=t._x1,o=t._y1,i=t._x2,s=t._y2;if(t._l01_a>a.f){var u=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,c=3*t._l01_a*(t._l01_a+t._l12_a);r=(r*u-t._x0*t._l12_2a+t._x2*t._l01_2a)/c,o=(o*u-t._y0*t._l12_2a+t._y2*t._l01_2a)/c}if(t._l23_a>a.f){var l=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,f=3*t._l23_a*(t._l23_a+t._l12_a);i=(i*l+t._x1*t._l23_2a-e*t._l12_2a)/f,s=(s*l+t._y1*t._l23_2a-n*t._l12_2a)/f}t._context.bezierCurveTo(r,o,i,s,t._x2,t._y2)}function o(t,e){this._context=t,this._alpha=e}e.b=r;var a=n(85),i=n(130);o.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(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,o=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+o*o,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:r(this,t,e)}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=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}},e.a=function t(e){function n(t){return e?new o(t,e):new i.a(t,0)}return n.alpha=function(e){return t(+e)},n}(.5)},function(t,e,n){"use strict";function r(t){for(var e,n=0,r=-1,o=t.length;++r<o;)(e=+t[r][1])&&(n+=e);return n}e.b=r;var o=n(87);e.a=function(t){var e=t.map(r);return Object(o.a)(t).sort(function(t,n){return e[t]-e[n]})}},function(t,e,n){"use strict";function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}var o=n(72),a=n.n(o),i=n(167),s=n.n(i),u=n(9),c=n.n(u),l=n(298),f=n.n(l),p=n(125),h=n.n(p),d=n(202),y=n.n(d),g=n(4),m=n.n(g),v=n(8),b=n(11),_=n(203);e.a={getData:function(t){var e=void 0;if(t.data){if(t.data.length<1)return[];e=this.formatData(t.data,t)}else e=this.formatData(this.generateData(t),t);return this.addEventKeys(t,e)},generateDataArray:function(t,e){var n=t.domain&&Array.isArray(t.domain)?t.domain:t.domain&&t.domain[e],o=n||_.a.getBaseScale(t,e).domain(),a=t.samples||1,i=Math.max.apply(Math,r(o)),s=Math.min.apply(Math,r(o)),u=(i-s)/a,c=h()(s,i,u);return f()(c)===i?c:c.concat(i)},generateData:function(t){var e=this.generateDataArray(t,"x"),n=this.generateDataArray(t,"y");return e.map(function(t,e){return{x:t,y:n[e]}})},formatData:function(t,e,n){if(!Array.isArray(t))return[];n=n||{x:this.createStringMap(e,"x"),y:this.createStringMap(e,"y")};var r={x:v.a.createAccessor(void 0!==e.x?e.x:"x"),y:v.a.createAccessor(void 0!==e.y?e.y:"y"),y0:v.a.createAccessor(void 0!==e.y0?e.y0:"y0")},o=t.map(function(t,e){var o=void 0!==t._x?t._x:r.x(t),a=void 0!==t._y?t._y:r.y(t),i=void 0!==t._y0?t._y0:r.y0(t),s=void 0!==o?o:e,u=void 0!==a?a:t,c=void 0===i?{x:s,y:u}:{x:s,y:u,y0:i},l=void 0===i?{_x:s,_y:u}:{_x:s,_y:u,_y0:i};return m()(c,t,l,"string"==typeof s?{_x:n.x[s],xName:s}:{},"string"==typeof u?{_y:n.y[u],yName:u}:{},"string"==typeof i?{_y0:n.y[i],yName:i}:{})}),a=this.sortData(o,e.sortKey);return this.cleanData(a,e)},sortData:function(t,e){return e?("x"!==e&&"y"!==e||(e="_"+e),a()(t,e)):t},cleanData:function(t,e){var n={x:_.a.getScaleType(e,"x"),y:_.a.getScaleType(e,"y")};if("log"!==n.x&&"log"!==n.y)return t;var r=function(t,e){return"log"!==n[e]||0!==t["_"+e]};return t.filter(function(t){return r(t,"x")&&r(t,"y")&&r(t,"y0")})},getEventKey:function(t){return c()(t)?t:null===t||void 0===t?function(){}:s()(t)},addEventKeys:function(t,e){var n=this.getEventKey(t.eventKey);return e.map(function(t,e){var r=t.eventKey||n(t)||e;return m()({eventKey:r},t)})},createStringMap:function(t,e){var n=this.getStringsFromAxes(t,e),o=this.getStringsFromCategories(t,e),a=this.getStringsFromData(t,e),i=y()([].concat(r(n),r(o),r(a)));return 0===i.length?null:i.reduce(function(t,e,n){return t[e]=n+1,t},{})},getStringsFromData:function(t,e){if(!Array.isArray(t.data))return[];var n=void 0===t[e]?e:t[e],r=v.a.createAccessor(n);return t.data.map(function(t){return r(t)}).filter(function(t){return"string"==typeof t}).reduce(function(t,e){return void 0!==e&&null!==e&&-1===t.indexOf(e)&&t.push(e),t},[])},getStringsFromAxes:function(t,e){var n=t.tickValues,r=t.tickFormat,o=void 0;return o=n&&(Array.isArray(n)||n[e])?n[e]||n:r&&Array.isArray(r)?r:[],o.filter(function(t){return"string"==typeof t})},getStringsFromCategories:function(t,e){if(!t.categories)return[];var n=this.getCategories(t,e),r=n&&n.filter(function(t){return"string"==typeof t});return r?b.a.removeUndefined(r):[]},getCategories:function(t,e){return t.categories&&!Array.isArray(t.categories)?t.categories[e]:t.categories},downsample:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(t.length>e){var r=Math.pow(2,Math.ceil(Math.log2(t.length/e)));return t.filter(function(t,e){return(e+n)%r==0})}return t}}},function(t,e,n){function r(t){return t&&t.length?o(t):[]}var o=n(342);t.exports=r},function(t,e,n){"use strict";var r=n(9),o=n.n(r),a=n(131),i=n.n(a),s=n(8),u=n(11),c=n(713),l=["linear","time","log","sqrt"];e.a={getDefaultScale:function(){return c.scaleLinear()},toNewName:function(t){return"scale"+function(t){return t&&t[0].toUpperCase()+t.slice(1)}(t)},validScale:function(t){return"function"==typeof t?o()(t.copy)&&o()(t.domain)&&o()(t.range):"string"==typeof t&&i()(l,t)},isScaleDefined:function(t,e){return!!t.scale&&(!t.scale.x&&!t.scale.y||!!t.scale[e])},getScaleTypeFromProps:function(t,e){if(this.isScaleDefined(t,e)){var n=t.scale[e]||t.scale;return"string"==typeof n?n:this.getType(n)}},getScaleFromProps:function(t,e){if(this.isScaleDefined(t,e)){var n=t.scale[e]||t.scale;return this.validScale(n)?o()(n)?n:c[this.toNewName(n)]():void 0}},getScaleTypeFromData:function(t,e){if(!t.data)return"linear";var n=s.a.createAccessor(t[e]),r=t.data.map(n);return u.a.containsDates(r)?"time":"linear"},getBaseScale:function(t,e){var n=this.getScaleFromProps(t,e);if(n)return n;var r=this.getScaleTypeFromData(t,e);return c[this.toNewName(r)]()},getType:function(t){var e=[{name:"log",method:"base"},{name:"ordinal",method:"unknown"},{name:"pow-sqrt",method:"exponent"},{name:"quantile",method:"quantiles"},{name:"quantize-threshold",method:"invertExtent"}],n=e.filter(function(e){return void 0!==t[e.method]})[0];return n?n.name:void 0},getScaleType:function(t,e){return this.getScaleTypeFromProps(t,e)||this.getScaleTypeFromData(t,e)}}},function(t,e,n){function r(t){return null==t?[]:o(t,a(t))}var o=n(712),a=n(15);t.exports=r},function(t,e,n){"use strict";var r=n(88);e.a=function(t,e,n){if(null==n&&(n=r.a),o=t.length){if((e=+e)<=0||o<2)return+n(t[0],0,t);if(e>=1)return+n(t[o-1],o-1,t);var o,a=(o-1)*e,i=Math.floor(a),s=+n(t[i],i,t);return s+(+n(t[i+1],i+1,t)-s)*(a-i)}}},function(t,e,n){"use strict";function r(){}function o(t,e){var n=new r;if(t instanceof r)t.each(function(t,e){n.set(e,t)});else if(Array.isArray(t)){var o,a=-1,i=t.length;if(null==e)for(;++a<i;)n.set(a,t[a]);else for(;++a<i;)n.set(e(o=t[a],a,t),o)}else if(t)for(var s in t)n.set(s,t[s]);return n}n.d(e,"b",function(){return a});var a="$";r.prototype=o.prototype={constructor:r,has:function(t){return a+t in this},get:function(t){return this[a+t]},set:function(t,e){return this[a+t]=e,this},remove:function(t){var e=a+t;return e in this&&delete this[e]},clear:function(){for(var t in this)t[0]===a&&delete this[t]},keys:function(){var t=[];for(var e in this)e[0]===a&&t.push(e.slice(1));return t},values:function(){var t=[];for(var e in this)e[0]===a&&t.push(this[e]);return t},entries:function(){var t=[];for(var e in this)e[0]===a&&t.push({key:e.slice(1),value:this[e]});return t},size:function(){var t=0;for(var e in this)e[0]===a&&++t;return t},empty:function(){for(var t in this)if(t[0]===a)return!1;return!0},each:function(t){for(var e in this)e[0]===a&&t(this[e],e.slice(1),this)}},e.a=o},function(t,e,n){"use strict";e.a=function(t){return function(){return t}}},function(t,e,n){"use strict";e.a=function(t,e){if((n=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var n,r=t.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+t.slice(n+1)]}},function(t,e,n){"use strict";var r=(n(18),n(753));n.d(e,"c",function(){return r.a}),n.d(e,"n",function(){return r.a});var o=n(754);n.d(e,"g",function(){return o.a}),n.d(e,"r",function(){return o.a});var a=n(755);n.d(e,"d",function(){return a.a});var i=n(756);n.d(e,"b",function(){return i.a});var s=n(757);n.d(e,"a",function(){return s.a});var u=n(758);n.d(e,"j",function(){return u.b}),n.d(e,"h",function(){return u.b}),n.d(e,"e",function(){return u.a}),n.d(e,"i",function(){return u.c});var c=n(759);n.d(e,"f",function(){return c.a});var l=n(760);n.d(e,"k",function(){return l.a});var f=n(761);n.d(e,"o",function(){return f.a});var p=n(762);n.d(e,"m",function(){return p.a});var h=n(763);n.d(e,"l",function(){return h.a});var d=n(764);n.d(e,"u",function(){return d.b}),n.d(e,"s",function(){return d.b}),n.d(e,"p",function(){return d.a}),n.d(e,"t",function(){return d.c});var y=n(765);n.d(e,"q",function(){return y.a});var g=n(766);n.d(e,"v",function(){return g.a})},function(t,e,n){"use strict";n.d(e,"a",function(){return o}),n.d(e,"b",function(){return i}),n.d(e,"c",function(){return s});var r,o,a,i,s,u=n(365);!function(t){r=Object(u.a)(t),o=r.format,a=r.parse,i=r.utcFormat,s=r.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"]})},function(t,e,n){"use strict";function r(){this._=null}function o(t){t.U=t.C=t.L=t.R=t.P=t.N=null}function a(t,e){var n=e,r=e.R,o=n.U;o?o.L===n?o.L=r:o.R=r:t._=r,r.U=o,n.U=r,n.R=r.L,n.R&&(n.R.U=n),r.L=n}function i(t,e){var n=e,r=e.L,o=n.U;o?o.L===n?o.L=r:o.R=r:t._=r,r.U=o,n.U=r,n.L=r.R,n.L&&(n.L.U=n),r.R=n}function s(t){for(;t.L;)t=t.L;return t}e.a=o,r.prototype={constructor:r,insert:function(t,e){var n,r,o;if(t){if(e.P=t,e.N=t.N,t.N&&(t.N.P=e),t.N=e,t.R){for(t=t.R;t.L;)t=t.L;t.L=e}else t.R=e;n=t}else this._?(t=s(this._),e.P=null,e.N=t,t.P=t.L=e,n=t):(e.P=e.N=null,this._=e,n=null);for(e.L=e.R=null,e.U=n,e.C=!0,t=e;n&&n.C;)r=n.U,n===r.L?(o=r.R,o&&o.C?(n.C=o.C=!1,r.C=!0,t=r):(t===n.R&&(a(this,n),t=n,n=t.U),n.C=!1,r.C=!0,i(this,r))):(o=r.L,o&&o.C?(n.C=o.C=!1,r.C=!0,t=r):(t===n.L&&(i(this,n),t=n,n=t.U),n.C=!1,r.C=!0,a(this,r))),n=t.U;this._.C=!1},remove:function(t){t.N&&(t.N.P=t.P),t.P&&(t.P.N=t.N),t.N=t.P=null;var e,n,r,o=t.U,u=t.L,c=t.R;if(n=u?c?s(c):u:c,o?o.L===t?o.L=n:o.R=n:this._=n,u&&c?(r=n.C,n.C=t.C,n.L=u,u.U=n,n!==c?(o=n.U,n.U=t.U,t=n.R,o.L=t,n.R=c,c.U=n):(n.U=o,o=n,t=n.R)):(r=t.C,t=n),t&&(t.U=o),!r){if(t&&t.C)return void(t.C=!1);do{if(t===this._)break;if(t===o.L){if(e=o.R,e.C&&(e.C=!1,o.C=!0,a(this,o),e=o.R),e.L&&e.L.C||e.R&&e.R.C){e.R&&e.R.C||(e.L.C=!1,e.C=!0,i(this,e),e=o.R),e.C=o.C,o.C=e.R.C=!1,a(this,o),t=this._;break}}else if(e=o.L,e.C&&(e.C=!1,o.C=!0,i(this,o),e=o.L),e.L&&e.L.C||e.R&&e.R.C){e.L&&e.L.C||(e.R.C=!1,e.C=!0,a(this,e),e=o.L),e.C=o.C,o.C=e.L.C=!1,i(this,o),t=this._;break}e.C=!0,t=o,o=o.U}while(!t.C);t&&(t.C=!1)}}},e.b=r},function(t,e,n){"use strict";function r(t,e,n,r){var o=[null,null],i=c.e.push(o)-1;return o.left=t,o.right=e,n&&a(o,t,e,n),r&&a(o,e,t,r),c.b[t.index].halfedges.push(i),c.b[e.index].halfedges.push(i),o}function o(t,e,n){var r=[e,n];return r.left=t,r}function a(t,e,n,r){t[0]||t[1]?t.left===n?t[1]=r:t[0]=r:(t[0]=r,t.left=e,t.right=n)}function i(t,e,n,r,o){var a,i=t[0],s=t[1],u=i[0],c=i[1],l=s[0],f=s[1],p=0,h=1,d=l-u,y=f-c;if(a=e-u,d||!(a>0)){if(a/=d,d<0){if(a<p)return;a<h&&(h=a)}else if(d>0){if(a>h)return;a>p&&(p=a)}if(a=r-u,d||!(a<0)){if(a/=d,d<0){if(a>h)return;a>p&&(p=a)}else if(d>0){if(a<p)return;a<h&&(h=a)}if(a=n-c,y||!(a>0)){if(a/=y,y<0){if(a<p)return;a<h&&(h=a)}else if(y>0){if(a>h)return;a>p&&(p=a)}if(a=o-c,y||!(a<0)){if(a/=y,y<0){if(a>h)return;a>p&&(p=a)}else if(y>0){if(a<p)return;a<h&&(h=a)}return!(p>0||h<1)||(p>0&&(t[0]=[u+p*d,c+p*y]),h<1&&(t[1]=[u+h*d,c+h*y]),!0)}}}}}function s(t,e,n,r,o){var a=t[1];if(a)return!0;var i,s,u=t[0],c=t.left,l=t.right,f=c[0],p=c[1],h=l[0],d=l[1],y=(f+h)/2,g=(p+d)/2;if(d===p){if(y<e||y>=r)return;if(f>h){if(u){if(u[1]>=o)return}else u=[y,n];a=[y,o]}else{if(u){if(u[1]<n)return}else u=[y,o];a=[y,n]}}else if(i=(f-h)/(d-p),s=g-i*y,i<-1||i>1)if(f>h){if(u){if(u[1]>=o)return}else u=[(n-s)/i,n];a=[(o-s)/i,o]}else{if(u){if(u[1]<n)return}else u=[(o-s)/i,o];a=[(n-s)/i,n]}else if(p<d){if(u){if(u[0]>=r)return}else u=[e,i*e+s];a=[r,i*r+s]}else{if(u){if(u[0]<e)return}else u=[r,i*r+s];a=[e,i*e+s]}return t[0]=u,t[1]=a,!0}function u(t,e,n,r){for(var o,a=c.e.length;a--;)s(o=c.e[a],t,e,n,r)&&i(o,t,e,n,r)&&(Math.abs(o[0][0]-o[1][0])>c.f||Math.abs(o[0][1]-o[1][1])>c.f)||delete c.e[a]}e.c=r,e.b=o,e.d=a,e.a=u;var c=n(93)},function(t,e,n){"use strict";function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}var o=n(5),a=n.n(o),i=n(61),s=n.n(i),u=n(9),c=n.n(u),l=n(94),f=n.n(l),p=n(4),h=n.n(p),d=n(3),y=n(95),g=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},m={withinBounds:function(t,e,n){var r=e.x1,o=e.x2,a=e.y1,i=e.y2,s=t.x,u=t.y;return n=n?n/2:0,s+n>=Math.min(r,o)&&s-n<=Math.max(r,o)&&u+n>=Math.min(a,i)&&u-n<=Math.max(a,i)},getDomainBox:function(t,e,n){var o=t.brushDimension;e=a()({},e,t.domain),n=a()({},n,e);var i=d.w.getDomainCoordinates(t,e),s=d.w.getDomainCoordinates(t,n);return{x1:"y"!==o?Math.min.apply(Math,r(s.x)):Math.min.apply(Math,r(i.x)),x2:"y"!==o?Math.max.apply(Math,r(s.x)):Math.max.apply(Math,r(i.x)),y1:"x"!==o?Math.min.apply(Math,r(s.y)):Math.min.apply(Math,r(i.y)),y2:"x"!==o?Math.max.apply(Math,r(s.y)):Math.max.apply(Math,r(i.y))}},getHandles:function(t,e){var n=e.x1,r=e.x2,o=e.y1,a=e.y2,i=Math.min(n,r),s=Math.max(n,r),u=Math.min(o,a),c=Math.max(o,a),l=t.handleWidth/2;return{left:{x1:i-l,x2:i+l,y1:o,y2:a},right:{x1:s-l,x2:s+l,y1:o,y2:a},top:{x1:n,x2:r,y1:u+l,y2:u-l},bottom:{x1:n,x2:r,y1:c+l,y2:c-l}}},getActiveHandles:function(t,e,n){var r=this,o=this.getHandles(e,n),a=["top","bottom","left","right"].reduce(function(e,n){return e=r.withinBounds(t,o[n])?e.concat(n):e},[]);return a.length&&a},getResizeMutation:function(t,e){var n=t.x1,r=t.y1,o=t.x2,a=t.y2,i={left:{x1:Math.max(n,o),x2:Math.min(n,o),y1:r,y2:a},right:{x1:Math.min(n,o),x2:Math.max(n,o),y1:r,y2:a},top:{y1:Math.max(r,a),y2:Math.min(r,a),x1:n,x2:o},bottom:{y1:Math.min(r,a),y2:Math.max(r,a),x1:n,x2:o}};return e.reduce(function(t,e){return h()(t,i[e])},{})},getMinimumDomain:function(){return{x:[0,1/Number.MAX_SAFE_INTEGER],y:[0,1/Number.MAX_SAFE_INTEGER]}},getSelectionMutation:function(t,e,n){var r=t.x,o=t.y,a=e.x1,i=e.x2,s=e.y1,u=e.y2;return{x1:"y"!==n?r:a,y1:"x"!==n?o:s,x2:"y"!==n?r:i,y2:"x"!==n?o:u}},panBox:function(t,e){var n=t.brushDimension,r=t.domain,o=t.startX,i=t.startY,s=a()({},t.brushDomain,r),u=a()({},t.fullDomain,r),c=t.x1?t:this.getDomainBox(t,u,s),l=c.x1,f=c.x2,p=c.y1,h=c.y2,d=e.x,y=e.y,g={x:o?o-d:0,y:i?i-y:0};return{x1:"y"!==n?Math.min(l,f)-g.x:Math.min(l,f),x2:"y"!==n?Math.max(l,f)-g.x:Math.max(l,f),y1:"x"!==n?Math.min(p,h)-g.y:Math.min(p,h),y2:"x"!==n?Math.max(p,h)-g.y:Math.max(p,h)}},constrainBox:function(t,e){var n=e.x1,r=e.y1,o=e.x2,a=e.y2;return{x1:t.x2>o?o-Math.abs(t.x2-t.x1):Math.max(t.x1,n),y1:t.y2>a?a-Math.abs(t.y2-t.y1):Math.max(t.y1,r),x2:t.x1<n?n+Math.abs(t.x2-t.x1):Math.min(t.x2,o),y2:t.y1<r?r+Math.abs(t.y2-t.y1):Math.min(t.y2,a)}},onMouseDown:function(t,e){var n=this;t.preventDefault();var r=e.brushDimension,o=e.handleWidth,i=e.onBrushDomainChange,u=e.cachedBrushDomain,l=e.domain,f=a()({},e.brushDomain,l),p=e.fullDomainBox||this.getDomainBox(e,l),h=s()(f,u)?e.currentDomain||f||l:f||l,y=d.w.getSVGEventCoordinates(t),m=y.x,v=y.y;if(!this.withinBounds({x:m,y:v},p,o))return{};var b=this.getDomainBox(e,l,h),_=this.getActiveHandles({x:m,y:v},e,b);if(_)return[{target:"parent",mutation:function(){return g({isSelecting:!0,domainBox:b,fullDomainBox:p,cachedBrushDomain:f,currentDomain:h},n.getResizeMutation(b,_))}}];if(this.withinBounds({x:m,y:v},b)&&!s()(l,h))return[{target:"parent",mutation:function(){return g({isPanning:!0,startX:m,startY:v,domainBox:b,fullDomainBox:p,currentDomain:h,cachedBrushDomain:f},b)}}];var x=this.getMinimumDomain(),w=g({isSelecting:!0,domainBox:b,fullDomainBox:p,cachedBrushDomain:f,currentDomain:this.getMinimumDomain()},this.getSelectionMutation({x:m,y:v},b,r));return c()(i)&&i(x,a()({},w,e)),[{target:"parent",mutation:function(){return w}}]},onMouseMove:function(t,e){if(!e.isPanning&&!e.isSelecting)return{};var n=e.brushDimension,r=e.scale,o=e.isPanning,i=e.isSelecting,s=e.fullDomainBox,u=e.onBrushDomainChange,l=d.w.getSVGEventCoordinates(t),f=l.x,p=l.y;if(!this.withinBounds({x:f,y:p},s))return{};if(o){var h=e.startX,y=e.startY,m=this.panBox(e,{x:f,y:p}),v=this.constrainBox(m,s),b=d.w.getBounds(g({},v,{scale:r})),_=g({currentDomain:b,startX:m.x2>=s.x2||m.x1<=s.x1?h:f,startY:m.y2>=s.y2||m.y1<=s.y1?y:p},v);return c()(u)&&u(b,a()({},_,e)),[{target:"parent",mutation:function(){return _}}]}if(i){var x="y"!==n?f:e.x2,w="x"!==n?p:e.y2,O=d.w.getBounds({x2:x,y2:w,x1:e.x1,y1:e.y1,scale:r}),C={x2:x,y2:w,currentDomain:O};return c()(u)&&u(O,a()({},C,e)),[{target:"parent",mutation:function(){return C}}]}return{}},onMouseUp:function(t,e){var n=e.x1,r=e.y1,o=e.x2,i=e.y2,s=e.onBrushDomainChange,u=e.domain;if(n===o||r===i){var l={isPanning:!1,isSelecting:!1,currentDomain:u};return c()(s)&&s(u,a()({},l,e)),[{target:"parent",mutation:function(){return l}}]}return[{target:"parent",mutation:function(){return{isPanning:!1,isSelecting:!1}}}]},onMouseLeave:function(t){return"svg"===t.target.nodeName?[{target:"parent",mutation:function(){return{isPanning:!1,isSelecting:!1}}}]:[]}};e.a=g({},m,{onMouseDown:m.onMouseDown.bind(m),onMouseUp:m.onMouseUp.bind(m),onMouseLeave:m.onMouseLeave.bind(m),onMouseMove:f()(Object(y.a)(m.onMouseMove.bind(m)),16,{leading:!0,trailing:!1})})},function(t,e,n){"use strict";function r(t,e,n){this.props=t,this.context=e,this.refs=c,this.updater=n||u}function o(t,e,n){this.props=t,this.context=e,this.refs=c,this.updater=n||u}function a(){}var i=n(64),s=n(10),u=n(215),c=(n(216),n(96));n(2),n(384);r.prototype.isReactComponent={},r.prototype.setState=function(t,e){"object"!=typeof t&&"function"!=typeof t&&null!=t&&i("85"),this.updater.enqueueSetState(this,t),e&&this.updater.enqueueCallback(this,e,"setState")},r.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this),t&&this.updater.enqueueCallback(this,t,"forceUpdate")};a.prototype=r.prototype,o.prototype=new a,o.prototype.constructor=o,s(o.prototype,r.prototype),o.prototype.isPureReactComponent=!0,t.exports={Component:r,PureComponent:o}},function(t,e,n){"use strict";var r=(n(6),{isMounted:function(t){return!1},enqueueCallback:function(t,e){},enqueueForceUpdate:function(t){},enqueueReplaceState:function(t,e){},enqueueSetState:function(t,e){}});t.exports=r},function(t,e,n){"use strict";var r=!1;t.exports=r},function(t,e,n){"use strict";var r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;t.exports=r},function(t,e,n){"use strict";var r=n(392);t.exports=function(t){return r(t,!1)}},function(t,e,n){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(t,e,n){"use strict";var r={hasCachedChildNodes:1};t.exports=r},function(t,e,n){"use strict";function r(t,e){return null==e&&o("30"),null==t?e:Array.isArray(t)?Array.isArray(e)?(t.push.apply(t,e),t):(t.push(e),t):Array.isArray(e)?[t].concat(e):[t,e]}var o=n(7);n(2);t.exports=r},function(t,e,n){"use strict";function r(t,e,n){Array.isArray(t)?t.forEach(e,n):t&&e.call(n,t)}t.exports=r},function(t,e,n){"use strict";function r(){return!a&&o.canUseDOM&&(a="textContent"in document.documentElement?"textContent":"innerText"),a}var o=n(19),a=null;t.exports=r},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var o=n(7),a=n(39),i=(n(2),function(){function t(e){r(this,t),this._callbacks=null,this._contexts=null,this._arg=e}return t.prototype.enqueue=function(t,e){this._callbacks=this._callbacks||[],this._callbacks.push(t),this._contexts=this._contexts||[],this._contexts.push(e)},t.prototype.notifyAll=function(){var t=this._callbacks,e=this._contexts,n=this._arg;if(t&&e){t.length!==e.length&&o("24"),this._callbacks=null,this._contexts=null;for(var r=0;r<t.length;r++)t[r].call(e[r],n);t.length=0,e.length=0}},t.prototype.checkpoint=function(){return this._callbacks?this._callbacks.length:0},t.prototype.rollback=function(t){this._callbacks&&this._contexts&&(this._callbacks.length=t,this._contexts.length=t)},t.prototype.reset=function(){this._callbacks=null,this._contexts=null},t.prototype.destructor=function(){this.reset()},t}());t.exports=a.addPoolingTo(i)},function(t,e,n){"use strict";var r={logTopLevelRenders:!1};t.exports=r},function(t,e,n){"use strict";function r(t){var e=t.type,n=t.nodeName;return n&&"input"===n.toLowerCase()&&("checkbox"===e||"radio"===e)}function o(t){return t._wrapperState.valueTracker}function a(t,e){t._wrapperState.valueTracker=e}function i(t){t._wrapperState.valueTracker=null}function s(t){var e;return t&&(e=r(t)?""+t.checked:t.value),e}var u=n(12),c={_getTrackerFromNode:function(t){return o(u.getInstanceFromNode(t))},track:function(t){if(!o(t)){var e=u.getNodeFromInstance(t),n=r(e)?"checked":"value",s=Object.getOwnPropertyDescriptor(e.constructor.prototype,n),c=""+e[n];e.hasOwnProperty(n)||"function"!=typeof s.get||"function"!=typeof s.set||(Object.defineProperty(e,n,{enumerable:s.enumerable,configurable:!0,get:function(){return s.get.call(this)},set:function(t){c=""+t,s.set.call(this,t)}}),a(t,{getValue:function(){return c},setValue:function(t){c=""+t},stopTracking:function(){i(t),delete e[n]}}))}},updateValueIfChanged:function(t){if(!t)return!1;var e=o(t);if(!e)return c.track(t),!0;var n=e.getValue(),r=s(u.getNodeFromInstance(t));return r!==n&&(e.setValue(r),!0)},stopTracking:function(t){var e=o(t);e&&e.stopTracking()}};t.exports=c},function(t,e,n){"use strict";function r(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return"input"===e?!!o[t.type]:"textarea"===e}var o={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};t.exports=r},function(t,e,n){"use strict";var r={currentScrollLeft:0,currentScrollTop:0,refreshScrollValues:function(t){r.currentScrollLeft=t.x,r.currentScrollTop=t.y}};t.exports=r},function(t,e,n){"use strict";var r=n(19),o=n(100),a=n(99),i=function(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&3===n.nodeType)return void(n.nodeValue=e)}t.textContent=e};r.canUseDOM&&("textContent"in document.documentElement||(i=function(t,e){if(3===t.nodeType)return void(t.nodeValue=e);a(t,o(e))})),t.exports=i},function(t,e,n){"use strict";function r(t){try{t.focus()}catch(t){}}t.exports=r},function(t,e,n){"use strict";function r(t,e){return t+e.charAt(0).toUpperCase()+e.substring(1)}var o={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},a=["Webkit","ms","Moz","O"];Object.keys(o).forEach(function(t){a.forEach(function(e){o[r(e,t)]=o[t]})});var i={background:{backgroundAttachment:!0,backgroundColor:!0,backgroundImage:!0,backgroundPositionX:!0,backgroundPositionY:!0,backgroundRepeat:!0},backgroundPosition:{backgroundPositionX:!0,backgroundPositionY:!0},border:{borderWidth:!0,borderStyle:!0,borderColor:!0},borderBottom:{borderBottomWidth:!0,borderBottomStyle:!0,borderBottomColor:!0},borderLeft:{borderLeftWidth:!0,borderLeftStyle:!0,borderLeftColor:!0},borderRight:{borderRightWidth:!0,borderRightStyle:!0,borderRightColor:!0},borderTop:{borderTopWidth:!0,borderTopStyle:!0,borderTopColor:!0},font:{fontStyle:!0,fontVariant:!0,fontWeight:!0,fontSize:!0,lineHeight:!0,fontFamily:!0},outline:{outlineWidth:!0,outlineStyle:!0,outlineColor:!0}},s={isUnitlessNumber:o,shorthandPropertyExpansions:i};t.exports=s},function(t,e,n){"use strict";function r(t){return!!c.hasOwnProperty(t)||!u.hasOwnProperty(t)&&(s.test(t)?(c[t]=!0,!0):(u[t]=!0,!1))}function o(t,e){return null==e||t.hasBooleanValue&&!e||t.hasNumericValue&&isNaN(e)||t.hasPositiveNumericValue&&e<1||t.hasOverloadedBooleanValue&&!1===e}var a=n(48),i=(n(12),n(24),n(427)),s=(n(6),new RegExp("^["+a.ATTRIBUTE_NAME_START_CHAR+"]["+a.ATTRIBUTE_NAME_CHAR+"]*$")),u={},c={},l={createMarkupForID:function(t){return a.ID_ATTRIBUTE_NAME+"="+i(t)},setAttributeForID:function(t,e){t.setAttribute(a.ID_ATTRIBUTE_NAME,e)},createMarkupForRoot:function(){return a.ROOT_ATTRIBUTE_NAME+'=""'},setAttributeForRoot:function(t){t.setAttribute(a.ROOT_ATTRIBUTE_NAME,"")},createMarkupForProperty:function(t,e){var n=a.properties.hasOwnProperty(t)?a.properties[t]:null;if(n){if(o(n,e))return"";var r=n.attributeName;return n.hasBooleanValue||n.hasOverloadedBooleanValue&&!0===e?r+'=""':r+"="+i(e)}return a.isCustomAttribute(t)?null==e?"":t+"="+i(e):null},createMarkupForCustomAttribute:function(t,e){return r(t)&&null!=e?t+"="+i(e):""},setValueForProperty:function(t,e,n){var r=a.properties.hasOwnProperty(e)?a.properties[e]:null;if(r){var i=r.mutationMethod;if(i)i(t,n);else{if(o(r,n))return void this.deleteValueForProperty(t,e);if(r.mustUseProperty)t[r.propertyName]=n;else{var s=r.attributeName,u=r.attributeNamespace;u?t.setAttributeNS(u,s,""+n):r.hasBooleanValue||r.hasOverloadedBooleanValue&&!0===n?t.setAttribute(s,""):t.setAttribute(s,""+n)}}}else if(a.isCustomAttribute(e))return void l.setValueForAttribute(t,e,n)},setValueForAttribute:function(t,e,n){if(r(e)){null==n?t.removeAttribute(e):t.setAttribute(e,""+n)}},deleteValueForAttribute:function(t,e){t.removeAttribute(e)},deleteValueForProperty:function(t,e){var n=a.properties.hasOwnProperty(e)?a.properties[e]:null;if(n){var r=n.mutationMethod;if(r)r(t,void 0);else if(n.mustUseProperty){var o=n.propertyName;n.hasBooleanValue?t[o]=!1:t[o]=""}else t.removeAttribute(n.attributeName)}else a.isCustomAttribute(e)&&t.removeAttribute(e)}};t.exports=l},function(t,e,n){"use strict";function r(){if(this._rootNodeID&&this._wrapperState.pendingUpdate){this._wrapperState.pendingUpdate=!1;var t=this._currentElement.props,e=s.getValue(t);null!=e&&o(this,Boolean(t.multiple),e)}}function o(t,e,n){var r,o,a=u.getNodeFromInstance(t).options;if(e){for(r={},o=0;o<n.length;o++)r[""+n[o]]=!0;for(o=0;o<a.length;o++){var i=r.hasOwnProperty(a[o].value);a[o].selected!==i&&(a[o].selected=i)}}else{for(r=""+n,o=0;o<a.length;o++)if(a[o].value===r)return void(a[o].selected=!0);a.length&&(a[0].selected=!0)}}function a(t){var e=this._currentElement.props,n=s.executeOnChange(e,t);return this._rootNodeID&&(this._wrapperState.pendingUpdate=!0),c.asap(r,this),n}var i=n(10),s=n(143),u=n(12),c=n(25),l=(n(6),!1),f={getHostProps:function(t,e){return i({},e,{onChange:t._wrapperState.onChange,value:void 0})},mountWrapper:function(t,e){var n=s.getValue(e);t._wrapperState={pendingUpdate:!1,initialValue:null!=n?n:e.defaultValue,listeners:null,onChange:a.bind(t),wasMultiple:Boolean(e.multiple)},void 0===e.value||void 0===e.defaultValue||l||(l=!0)},getSelectValueContext:function(t){return t._wrapperState.initialValue},postUpdateWrapper:function(t){var e=t._currentElement.props;t._wrapperState.initialValue=void 0;var n=t._wrapperState.wasMultiple;t._wrapperState.wasMultiple=Boolean(e.multiple);var r=s.getValue(e);null!=r?(t._wrapperState.pendingUpdate=!1,o(t,Boolean(e.multiple),r)):n!==Boolean(e.multiple)&&(null!=e.defaultValue?o(t,Boolean(e.multiple),e.defaultValue):o(t,Boolean(e.multiple),e.multiple?[]:""))}};t.exports=f},function(t,e,n){"use strict";function r(t){if(t){var e=t.getName();if(e)return" Check the render method of `"+e+"`."}return""}function o(t){return"function"==typeof t&&void 0!==t.prototype&&"function"==typeof t.prototype.mountComponent&&"function"==typeof t.prototype.receiveComponent}function a(t,e){var n;if(null===t||!1===t)n=c.create(a);else if("object"==typeof t){var s=t,u=s.type;if("function"!=typeof u&&"string"!=typeof u){var p="";p+=r(s._owner),i("130",null==u?u:typeof u,p)}"string"==typeof s.type?n=l.createInternalComponent(s):o(s.type)?(n=new s.type(s),n.getHostNode||(n.getHostNode=n.getNativeNode)):n=new f(s)}else"string"==typeof t||"number"==typeof t?n=l.createInstanceForText(t):i("131",typeof t);return n._mountIndex=0,n._mountImage=null,n}var i=n(7),s=n(10),u=n(436),c=n(236),l=n(237),f=(n(437),n(2),n(6),function(t){this.construct(t)});s(f.prototype,u,{_instantiateReactComponent:a}),t.exports=a},function(t,e,n){"use strict";var r=n(7),o=n(46),a=(n(2),{HOST:0,COMPOSITE:1,EMPTY:2,getType:function(t){return null===t||!1===t?a.EMPTY:o.isValidElement(t)?"function"==typeof t.type?a.COMPOSITE:a.HOST:void r("26",t)}});t.exports=a},function(t,e,n){"use strict";var r,o={injectEmptyComponentFactory:function(t){r=t}},a={create:function(t){return r(t)}};a.injection=o,t.exports=a},function(t,e,n){"use strict";function r(t){return s||i("111",t.type),new s(t)}function o(t){return new u(t)}function a(t){return t instanceof u}var i=n(7),s=(n(2),null),u=null,c={injectGenericComponentClass:function(t){s=t},injectTextComponentClass:function(t){u=t}},l={createInternalComponent:r,createInstanceForText:o,isTextComponent:a,injection:c};t.exports=l},function(t,e,n){"use strict";function r(t,e){return t&&"object"==typeof t&&null!=t.key?c.escape(t.key):e.toString(36)}function o(t,e,n,a){var p=typeof t;if("undefined"!==p&&"boolean"!==p||(t=null),null===t||"string"===p||"number"===p||"object"===p&&t.$$typeof===s)return n(a,t,""===e?l+r(t,0):e),1;var h,d,y=0,g=""===e?l:e+f;if(Array.isArray(t))for(var m=0;m<t.length;m++)h=t[m],d=g+r(h,m),y+=o(h,d,n,a);else{var v=u(t);if(v){var b,_=v.call(t);if(v!==t.entries)for(var x=0;!(b=_.next()).done;)h=b.value,d=g+r(h,x++),y+=o(h,d,n,a);else for(;!(b=_.next()).done;){var w=b.value;w&&(h=w[1],d=g+c.escape(w[0])+f+r(h,0),y+=o(h,d,n,a))}}else if("object"===p){var O="",C=String(t);i("31","[object Object]"===C?"object with keys {"+Object.keys(t).join(", ")+"}":C,O)}}return y}function a(t,e,n){return null==t?0:o(t,"",e,n)}var i=n(7),s=(n(31),n(438)),u=n(439),c=(n(2),n(148)),l=(n(6),"."),f=":";t.exports=a},function(t,e,n){"use strict";function r(t){var e=Function.prototype.toString,n=Object.prototype.hasOwnProperty,r=RegExp("^"+e.call(n).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");try{var o=e.call(t);return r.test(o)}catch(t){return!1}}function o(t){var e=c(t);if(e){var n=e.childIDs;l(t),n.forEach(o)}}function a(t,e,n){return"\n    in "+(t||"Unknown")+(e?" (at "+e.fileName.replace(/^.*[\\\/]/,"")+":"+e.lineNumber+")":n?" (created by "+n+")":"")}function i(t){return null==t?"#empty":"string"==typeof t||"number"==typeof t?"#text":"string"==typeof t.type?t.type:t.type.displayName||t.type.name||"Unknown"}function s(t){var e,n=k.getDisplayName(t),r=k.getElement(t),o=k.getOwnerID(t);return o&&(e=k.getDisplayName(o)),a(n,r&&r._source,e)}var u,c,l,f,p,h,d,y=n(64),g=n(31),m=(n(2),n(6),"function"==typeof Array.from&&"function"==typeof Map&&r(Map)&&null!=Map.prototype&&"function"==typeof Map.prototype.keys&&r(Map.prototype.keys)&&"function"==typeof Set&&r(Set)&&null!=Set.prototype&&"function"==typeof Set.prototype.keys&&r(Set.prototype.keys));if(m){var v=new Map,b=new Set;u=function(t,e){v.set(t,e)},c=function(t){return v.get(t)},l=function(t){v.delete(t)},f=function(){return Array.from(v.keys())},p=function(t){b.add(t)},h=function(t){b.delete(t)},d=function(){return Array.from(b.keys())}}else{var _={},x={},w=function(t){return"."+t},O=function(t){return parseInt(t.substr(1),10)};u=function(t,e){var n=w(t);_[n]=e},c=function(t){var e=w(t);return _[e]},l=function(t){var e=w(t);delete _[e]},f=function(){return Object.keys(_).map(O)},p=function(t){var e=w(t);x[e]=!0},h=function(t){var e=w(t);delete x[e]},d=function(){return Object.keys(x).map(O)}}var C=[],k={onSetChildren:function(t,e){var n=c(t);n||y("144"),n.childIDs=e;for(var r=0;r<e.length;r++){var o=e[r],a=c(o);a||y("140"),null==a.childIDs&&"object"==typeof a.element&&null!=a.element&&y("141"),a.isMounted||y("71"),null==a.parentID&&(a.parentID=t),a.parentID!==t&&y("142",o,a.parentID,t)}},onBeforeMountComponent:function(t,e,n){u(t,{element:e,parentID:n,text:null,childIDs:[],isMounted:!1,updateCount:0})},onBeforeUpdateComponent:function(t,e){var n=c(t);n&&n.isMounted&&(n.element=e)},onMountComponent:function(t){var e=c(t);e||y("144"),e.isMounted=!0,0===e.parentID&&p(t)},onUpdateComponent:function(t){var e=c(t);e&&e.isMounted&&e.updateCount++},onUnmountComponent:function(t){var e=c(t);if(e){e.isMounted=!1;0===e.parentID&&h(t)}C.push(t)},purgeUnmountedComponents:function(){if(!k._preventPurging){for(var t=0;t<C.length;t++){o(C[t])}C.length=0}},isMounted:function(t){var e=c(t);return!!e&&e.isMounted},getCurrentStackAddendum:function(t){var e="";if(t){var n=i(t),r=t._owner;e+=a(n,t._source,r&&r.getName())}var o=g.current,s=o&&o._debugID;return e+=k.getStackAddendumByID(s)},getStackAddendumByID:function(t){for(var e="";t;)e+=s(t),t=k.getParentID(t);return e},getChildIDs:function(t){var e=c(t);return e?e.childIDs:[]},getDisplayName:function(t){var e=k.getElement(t);return e?i(e):null},getElement:function(t){var e=c(t);return e?e.element:null},getOwnerID:function(t){var e=k.getElement(t);return e&&e._owner?e._owner._debugID:null},getParentID:function(t){var e=c(t);return e?e.parentID:null},getSource:function(t){var e=c(t),n=e?e.element:null;return null!=n?n._source:null},getText:function(t){var e=k.getElement(t);return"string"==typeof e?e:"number"==typeof e?""+e:null},getUpdateCount:function(t){var e=c(t);return e?e.updateCount:0},getRootIDs:d,getRegisteredIDs:f,pushNonStandardWarningStack:function(t,e){if("function"==typeof console.reactStack){var n=[],r=g.current,o=r&&r._debugID;try{for(t&&n.push({name:o?k.getDisplayName(o):null,fileName:e?e.fileName:null,lineNumber:e?e.lineNumber:null});o;){var a=k.getElement(o),i=k.getParentID(o),s=k.getOwnerID(o),u=s?k.getDisplayName(s):null,c=a&&a._source;n.push({name:u,fileName:c?c.fileName:null,lineNumber:c?c.lineNumber:null}),o=i}}catch(t){}console.reactStack(n)}},popNonStandardWarningStack:function(){"function"==typeof console.reactStackEnd&&console.reactStackEnd()}};t.exports=k},function(t,e,n){"use strict";var r=n(21),o={listen:function(t,e,n){return t.addEventListener?(t.addEventListener(e,n,!1),{remove:function(){t.removeEventListener(e,n,!1)}}):t.attachEvent?(t.attachEvent("on"+e,n),{remove:function(){t.detachEvent("on"+e,n)}}):void 0},capture:function(t,e,n){return t.addEventListener?(t.addEventListener(e,n,!0),{remove:function(){t.removeEventListener(e,n,!0)}}):{remove:r}},registerDefault:function(){}};t.exports=o},function(t,e,n){"use strict";function r(t){return a(document.documentElement,t)}var o=n(451),a=n(453),i=n(230),s=n(242),u={hasSelectionCapabilities:function(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&("input"===e&&"text"===t.type||"textarea"===e||"true"===t.contentEditable)},getSelectionInformation:function(){var t=s();return{focusedElem:t,selectionRange:u.hasSelectionCapabilities(t)?u.getSelection(t):null}},restoreSelection:function(t){var e=s(),n=t.focusedElem,o=t.selectionRange;e!==n&&r(n)&&(u.hasSelectionCapabilities(n)&&u.setSelection(n,o),i(n))},getSelection:function(t){var e;if("selectionStart"in t)e={start:t.selectionStart,end:t.selectionEnd};else if(document.selection&&t.nodeName&&"input"===t.nodeName.toLowerCase()){var n=document.selection.createRange();n.parentElement()===t&&(e={start:-n.moveStart("character",-t.value.length),end:-n.moveEnd("character",-t.value.length)})}else e=o.getOffsets(t);return e||{start:0,end:0}},setSelection:function(t,e){var n=e.start,r=e.end;if(void 0===r&&(r=n),"selectionStart"in t)t.selectionStart=n,t.selectionEnd=Math.min(r,t.value.length);else if(document.selection&&t.nodeName&&"input"===t.nodeName.toLowerCase()){var a=t.createTextRange();a.collapse(!0),a.moveStart("character",n),a.moveEnd("character",r-n),a.select()}else o.setOffsets(t,e)}};t.exports=u},function(t,e,n){"use strict";function r(t){if(void 0===(t=t||("undefined"!=typeof document?document:void 0)))return null;try{return t.activeElement||t.body}catch(e){return t.body}}t.exports=r},function(t,e,n){"use strict";function r(t,e){for(var n=Math.min(t.length,e.length),r=0;r<n;r++)if(t.charAt(r)!==e.charAt(r))return r;return t.length===e.length?-1:n}function o(t){return t?t.nodeType===N?t.documentElement:t.firstChild:null}function a(t){return t.getAttribute&&t.getAttribute(S)||""}function i(t,e,n,r,o){var a;if(x.logTopLevelRenders){var i=t._currentElement.props.child,s=i.type;a="React mount: "+("string"==typeof s?s:s.displayName||s.name),console.time(a)}var u=C.mountComponent(t,n,null,b(t,e),o,0);a&&console.timeEnd(a),t._renderedComponent._topLevelWrapper=t,U._mountImageIntoNode(u,e,t,r,n)}function s(t,e,n,r){var o=M.ReactReconcileTransaction.getPooled(!n&&_.useCreateElement);o.perform(i,null,t,e,o,n,r),M.ReactReconcileTransaction.release(o)}function u(t,e,n){for(C.unmountComponent(t,n),e.nodeType===N&&(e=e.documentElement);e.lastChild;)e.removeChild(e.lastChild)}function c(t){var e=o(t);if(e){var n=v.getInstanceFromNode(e);return!(!n||!n._hostParent)}}function l(t){return!(!t||t.nodeType!==D&&t.nodeType!==N&&t.nodeType!==R)}function f(t){var e=o(t),n=e&&v.getInstanceFromNode(e);return n&&!n._hostParent?n:null}function p(t){var e=f(t);return e?e._hostContainerInfo._topLevelWrapper:null}var h=n(7),d=n(50),y=n(48),g=n(46),m=n(101),v=(n(31),n(12)),b=n(468),_=n(469),x=n(225),w=n(68),O=(n(24),n(470)),C=n(49),k=n(149),M=n(25),P=n(96),E=n(234),A=(n(2),n(99)),T=n(147),S=(n(6),y.ID_ATTRIBUTE_NAME),j=y.ROOT_ATTRIBUTE_NAME,D=1,N=9,R=11,L={},I=1,F=function(){this.rootID=I++};F.prototype.isReactComponent={},F.prototype.render=function(){return this.props.child},F.isReactTopLevelWrapper=!0;var U={TopLevelWrapper:F,_instancesByReactRootID:L,scrollMonitor:function(t,e){e()},_updateRootComponent:function(t,e,n,r,o){return U.scrollMonitor(r,function(){k.enqueueElementInternal(t,e,n),o&&k.enqueueCallbackInternal(t,o)}),t},_renderNewRootComponent:function(t,e,n,r){l(e)||h("37"),m.ensureScrollValueMonitoring();var o=E(t,!1);M.batchedUpdates(s,o,e,n,r);var a=o._instance.rootID;return L[a]=o,o},renderSubtreeIntoContainer:function(t,e,n,r){return null!=t&&w.has(t)||h("38"),U._renderSubtreeIntoContainer(t,e,n,r)},_renderSubtreeIntoContainer:function(t,e,n,r){k.validateCallback(r,"ReactDOM.render"),g.isValidElement(e)||h("39","string"==typeof e?" Instead of passing a string like 'div', pass React.createElement('div') or <div />.":"function"==typeof e?" Instead of passing a class like Foo, pass React.createElement(Foo) or <Foo />.":null!=e&&void 0!==e.props?" This may be caused by unintentionally loading two independent copies of React.":"");var i,s=g.createElement(F,{child:e});if(t){var u=w.get(t);i=u._processChildContext(u._context)}else i=P;var l=p(n);if(l){var f=l._currentElement,d=f.props.child;if(T(d,e)){var y=l._renderedComponent.getPublicInstance(),m=r&&function(){r.call(y)};return U._updateRootComponent(l,s,i,n,m),y}U.unmountComponentAtNode(n)}var v=o(n),b=v&&!!a(v),_=c(n),x=b&&!l&&!_,O=U._renderNewRootComponent(s,n,x,i)._renderedComponent.getPublicInstance();return r&&r.call(O),O},render:function(t,e,n){return U._renderSubtreeIntoContainer(null,t,e,n)},unmountComponentAtNode:function(t){l(t)||h("40");var e=p(t);if(!e){c(t),1===t.nodeType&&t.hasAttribute(j);return!1}return delete L[e._instance.rootID],M.batchedUpdates(u,e,t,!1),!0},_mountImageIntoNode:function(t,e,n,a,i){if(l(e)||h("41"),a){var s=o(e);if(O.canReuseMarkup(t,s))return void v.precacheNode(n,s);var u=s.getAttribute(O.CHECKSUM_ATTR_NAME);s.removeAttribute(O.CHECKSUM_ATTR_NAME);var c=s.outerHTML;s.setAttribute(O.CHECKSUM_ATTR_NAME,u);var f=t,p=r(f,c),y=" (client) "+f.substring(p-20,p+20)+"\n (server) "+c.substring(p-20,p+20);e.nodeType===N&&h("42",y)}if(e.nodeType===N&&h("43"),i.useCreateElement){for(;e.lastChild;)e.removeChild(e.lastChild);d.insertTreeBefore(e,t,null)}else A(e,t),v.precacheNode(n,e.firstChild)}};t.exports=U},function(t,e,n){"use strict";function r(t){for(var e;(e=t._renderedNodeType)===o.COMPOSITE;)t=t._renderedComponent;return e===o.HOST?t._renderedComponent:e===o.EMPTY?null:void 0}var o=n(235);t.exports=r},function(t,e,n){function r(t,e){"object"==typeof t&&(e=t,t=void 0),e=e||{};var n,r=o(t),a=r.source,c=r.id,l=r.path,f=u[c]&&l in u[c].nsps,p=e.forceNew||e["force new connection"]||!1===e.multiplex||f;return p?(s("ignoring socket cache for %s",a),n=i(a,e)):(u[c]||(s("new io instance for %s",a),u[c]=i(a,e)),n=u[c]),r.query&&!e.query&&(e.query=r.query),n.socket(r.path,e)}var o=n(475),a=n(152),i=n(249),s=n(33)("socket.io-client");t.exports=e=r;var u=e.managers={};e.protocol=a.protocol,e.connect=r,e.Manager=n(249),e.Socket=n(254)},function(t,e){var n=/^(?:(?![^:@]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,r=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];t.exports=function(t){var e=t,o=t.indexOf("["),a=t.indexOf("]");-1!=o&&-1!=a&&(t=t.substring(0,o)+t.substring(o,a).replace(/:/g,";")+t.substring(a,t.length));for(var i=n.exec(t||""),s={},u=14;u--;)s[r[u]]=i[u]||"";return-1!=o&&-1!=a&&(s.source=e,s.host=s.host.substring(1,s.host.length-1).replace(/;/g,":"),s.authority=s.authority.replace("[","").replace("]","").replace(/;/g,":"),s.ipv6uri=!0),s}},function(t,e,n){(function(e){function r(t){if(!t||"object"!=typeof t)return!1;if(o(t)){for(var n=0,a=t.length;n<a;n++)if(r(t[n]))return!0;return!1}if("function"==typeof e.Buffer&&e.Buffer.isBuffer&&e.Buffer.isBuffer(t)||"function"==typeof e.ArrayBuffer&&t instanceof ArrayBuffer||i&&t instanceof Blob||s&&t instanceof File)return!0;if(t.toJSON&&"function"==typeof t.toJSON&&1===arguments.length)return r(t.toJSON(),!0);for(var u in t)if(Object.prototype.hasOwnProperty.call(t,u)&&r(t[u]))return!0;return!1}var o=n(478),a=Object.prototype.toString,i="function"==typeof e.Blob||"[object BlobConstructor]"===a.call(e.Blob),s="function"==typeof e.File||"[object FileConstructor]"===a.call(e.File);t.exports=r}).call(e,n(16))},function(t,e,n){(function(e){function n(t){return e.Buffer&&e.Buffer.isBuffer(t)||e.ArrayBuffer&&t instanceof ArrayBuffer}t.exports=n}).call(e,n(16))},function(t,e,n){function r(t,e){if(!(this instanceof r))return new r(t,e);t&&"object"==typeof t&&(e=t,t=void 0),e=e||{},e.path=e.path||"/socket.io",this.nsps={},this.subs=[],this.opts=e,this.reconnection(!1!==e.reconnection),this.reconnectionAttempts(e.reconnectionAttempts||1/0),this.reconnectionDelay(e.reconnectionDelay||1e3),this.reconnectionDelayMax(e.reconnectionDelayMax||5e3),this.randomizationFactor(e.randomizationFactor||.5),this.backoff=new p({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(null==e.timeout?2e4:e.timeout),this.readyState="closed",this.uri=t,this.connecting=[],this.lastPing=null,this.encoding=!1,this.packetBuffer=[];var n=e.parser||s;this.encoder=new n.Encoder,this.decoder=new n.Decoder,this.autoConnect=!1!==e.autoConnect,this.autoConnect&&this.open()}var o=n(481),a=n(254),i=n(51),s=n(152),u=n(255),c=n(256),l=n(33)("socket.io-client:manager"),f=n(253),p=n(497),h=Object.prototype.hasOwnProperty;t.exports=r,r.prototype.emitAll=function(){this.emit.apply(this,arguments);for(var t in this.nsps)h.call(this.nsps,t)&&this.nsps[t].emit.apply(this.nsps[t],arguments)},r.prototype.updateSocketIds=function(){for(var t in this.nsps)h.call(this.nsps,t)&&(this.nsps[t].id=this.generateId(t))},r.prototype.generateId=function(t){return("/"===t?"":t+"#")+this.engine.id},i(r.prototype),r.prototype.reconnection=function(t){return arguments.length?(this._reconnection=!!t,this):this._reconnection},r.prototype.reconnectionAttempts=function(t){return arguments.length?(this._reconnectionAttempts=t,this):this._reconnectionAttempts},r.prototype.reconnectionDelay=function(t){return arguments.length?(this._reconnectionDelay=t,this.backoff&&this.backoff.setMin(t),this):this._reconnectionDelay},r.prototype.randomizationFactor=function(t){return arguments.length?(this._randomizationFactor=t,this.backoff&&this.backoff.setJitter(t),this):this._randomizationFactor},r.prototype.reconnectionDelayMax=function(t){return arguments.length?(this._reconnectionDelayMax=t,this.backoff&&this.backoff.setMax(t),this):this._reconnectionDelayMax},r.prototype.timeout=function(t){return arguments.length?(this._timeout=t,this):this._timeout},r.prototype.maybeReconnectOnOpen=function(){!this.reconnecting&&this._reconnection&&0===this.backoff.attempts&&this.reconnect()},r.prototype.open=r.prototype.connect=function(t,e){if(l("readyState %s",this.readyState),~this.readyState.indexOf("open"))return this;l("opening %s",this.uri),this.engine=o(this.uri,this.opts);var n=this.engine,r=this;this.readyState="opening",this.skipReconnect=!1;var a=u(n,"open",function(){r.onopen(),t&&t()}),i=u(n,"error",function(e){if(l("connect_error"),r.cleanup(),r.readyState="closed",r.emitAll("connect_error",e),t){var n=new Error("Connection error");n.data=e,t(n)}else r.maybeReconnectOnOpen()});if(!1!==this._timeout){var s=this._timeout;l("connect attempt will timeout after %d",s);var c=setTimeout(function(){l("connect attempt timed out after %d",s),a.destroy(),n.close(),n.emit("error","timeout"),r.emitAll("connect_timeout",s)},s);this.subs.push({destroy:function(){clearTimeout(c)}})}return this.subs.push(a),this.subs.push(i),this},r.prototype.onopen=function(){l("open"),this.cleanup(),this.readyState="open",this.emit("open");var t=this.engine;this.subs.push(u(t,"data",c(this,"ondata"))),this.subs.push(u(t,"ping",c(this,"onping"))),this.subs.push(u(t,"pong",c(this,"onpong"))),this.subs.push(u(t,"error",c(this,"onerror"))),this.subs.push(u(t,"close",c(this,"onclose"))),this.subs.push(u(this.decoder,"decoded",c(this,"ondecoded")))},r.prototype.onping=function(){this.lastPing=new Date,this.emitAll("ping")},r.prototype.onpong=function(){this.emitAll("pong",new Date-this.lastPing)},r.prototype.ondata=function(t){this.decoder.add(t)},r.prototype.ondecoded=function(t){this.emit("packet",t)},r.prototype.onerror=function(t){l("error",t),this.emitAll("error",t)},r.prototype.socket=function(t,e){function n(){~f(o.connecting,r)||o.connecting.push(r)}var r=this.nsps[t];if(!r){r=new a(this,t,e),this.nsps[t]=r;var o=this;r.on("connecting",n),r.on("connect",function(){r.id=o.generateId(t)}),this.autoConnect&&n()}return r},r.prototype.destroy=function(t){var e=f(this.connecting,t);~e&&this.connecting.splice(e,1),this.connecting.length||this.close()},r.prototype.packet=function(t){l("writing packet %j",t);var e=this;t.query&&0===t.type&&(t.nsp+="?"+t.query),e.encoding?e.packetBuffer.push(t):(e.encoding=!0,this.encoder.encode(t,function(n){for(var r=0;r<n.length;r++)e.engine.write(n[r],t.options);e.encoding=!1,e.processPacketQueue()}))},r.prototype.processPacketQueue=function(){if(this.packetBuffer.length>0&&!this.encoding){var t=this.packetBuffer.shift();this.packet(t)}},r.prototype.cleanup=function(){l("cleanup");for(var t=this.subs.length,e=0;e<t;e++){this.subs.shift().destroy()}this.packetBuffer=[],this.encoding=!1,this.lastPing=null,this.decoder.destroy()},r.prototype.close=r.prototype.disconnect=function(){l("disconnect"),this.skipReconnect=!0,this.reconnecting=!1,"opening"===this.readyState&&this.cleanup(),this.backoff.reset(),this.readyState="closed",this.engine&&this.engine.close()},r.prototype.onclose=function(t){l("onclose"),this.cleanup(),this.backoff.reset(),this.readyState="closed",this.emit("close",t),this._reconnection&&!this.skipReconnect&&this.reconnect()},r.prototype.reconnect=function(){if(this.reconnecting||this.skipReconnect)return this;var t=this;if(this.backoff.attempts>=this._reconnectionAttempts)l("reconnect failed"),this.backoff.reset(),this.emitAll("reconnect_failed"),this.reconnecting=!1;else{var e=this.backoff.duration();l("will wait %dms before reconnect attempt",e),this.reconnecting=!0;var n=setTimeout(function(){t.skipReconnect||(l("attempting reconnect"),t.emitAll("reconnect_attempt",t.backoff.attempts),t.emitAll("reconnecting",t.backoff.attempts),t.skipReconnect||t.open(function(e){e?(l("reconnect attempt error"),t.reconnecting=!1,t.reconnect(),t.emitAll("reconnect_error",e.data)):(l("reconnect success"),t.onreconnect())}))},e);this.subs.push({destroy:function(){clearTimeout(n)}})}},r.prototype.onreconnect=function(){var t=this.backoff.attempts;this.reconnecting=!1,this.backoff.reset(),this.updateSocketIds(),this.emitAll("reconnect",t)}},function(t,e,n){(function(t){function r(e){var n=!1,r=!1,s=!1!==e.jsonp;if(t.location){var u="https:"===location.protocol,c=location.port;c||(c=u?443:80),n=e.hostname!==location.hostname||c!==e.port,r=e.secure!==u}if(e.xdomain=n,e.xscheme=r,"open"in new o(e)&&!e.forceJSONP)return new a(e);if(!s)throw new Error("JSONP disabled");return new i(e)}var o=n(153),a=n(485),i=n(492),s=n(493);e.polling=r,e.websocket=s}).call(e,n(16))},function(t,e,n){function r(t){var e=t&&t.forceBase64;l&&!e||(this.supportsBinary=!1),o.call(this,t)}var o=n(154),a=n(102),i=n(52),s=n(103),u=n(252),c=n(33)("engine.io-client:polling");t.exports=r;var l=function(){return null!=new(n(153))({xdomain:!1}).responseType}();s(r,o),r.prototype.name="polling",r.prototype.doOpen=function(){this.poll()},r.prototype.pause=function(t){function e(){c("paused"),n.readyState="paused",t()}var n=this;if(this.readyState="pausing",this.polling||!this.writable){var r=0;this.polling&&(c("we are currently polling - waiting to pause"),r++,this.once("pollComplete",function(){c("pre-pause polling complete"),--r||e()})),this.writable||(c("we are currently writing - waiting to pause"),r++,this.once("drain",function(){c("pre-pause writing complete"),--r||e()}))}else e()},r.prototype.poll=function(){c("polling"),this.polling=!0,this.doPoll(),this.emit("poll")},r.prototype.onData=function(t){var e=this;c("polling got data %s",t);var n=function(t,n,r){if("opening"===e.readyState&&e.onOpen(),"close"===t.type)return e.onClose(),!1;e.onPacket(t)};i.decodePayload(t,this.socket.binaryType,n),"closed"!==this.readyState&&(this.polling=!1,this.emit("pollComplete"),"open"===this.readyState?this.poll():c('ignoring poll - transport state "%s"',this.readyState))},r.prototype.doClose=function(){function t(){c("writing close packet"),e.write([{type:"close"}])}var e=this;"open"===this.readyState?(c("transport open - closing"),t()):(c("transport not open - deferring close"),this.once("open",t))},r.prototype.write=function(t){var e=this;this.writable=!1;var n=function(){e.writable=!0,e.emit("drain")};i.encodePayload(t,this.supportsBinary,function(t){e.doWrite(t,n)})},r.prototype.uri=function(){var t=this.query||{},e=this.secure?"https":"http",n="";return!1!==this.timestampRequests&&(t[this.timestampParam]=u()),this.supportsBinary||t.sid||(t.b64=1),t=a.encode(t),this.port&&("https"===e&&443!==Number(this.port)||"http"===e&&80!==Number(this.port))&&(n=":"+this.port),t.length&&(t="?"+t),e+"://"+(-1!==this.hostname.indexOf(":")?"["+this.hostname+"]":this.hostname)+n+this.path+t}},function(t,e,n){"use strict";function r(t){var e="";do{e=s[t%u]+e,t=Math.floor(t/u)}while(t>0);return e}function o(t){var e=0;for(f=0;f<t.length;f++)e=e*u+c[t.charAt(f)];return e}function a(){var t=r(+new Date);return t!==i?(l=0,i=t):t+"."+r(l++)}for(var i,s="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),u=64,c={},l=0,f=0;f<u;f++)c[s[f]]=f;a.encode=r,a.decode=o,t.exports=a},function(t,e){var n=[].indexOf;t.exports=function(t,e){if(n)return t.indexOf(e);for(var r=0;r<t.length;++r)if(t[r]===e)return r;return-1}},function(t,e,n){function r(t,e,n){this.io=t,this.nsp=e,this.json=this,this.ids=0,this.acks={},this.receiveBuffer=[],this.sendBuffer=[],this.connected=!1,this.disconnected=!0,n&&n.query&&(this.query=n.query),this.io.autoConnect&&this.open()}var o=n(152),a=n(51),i=n(496),s=n(255),u=n(256),c=n(33)("socket.io-client:socket"),l=n(102);t.exports=r;var f={connect:1,connect_error:1,connect_timeout:1,connecting:1,disconnect:1,error:1,reconnect:1,reconnect_attempt:1,reconnect_failed:1,reconnect_error:1,reconnecting:1,ping:1,pong:1},p=a.prototype.emit;a(r.prototype),r.prototype.subEvents=function(){if(!this.subs){var t=this.io;this.subs=[s(t,"open",u(this,"onopen")),s(t,"packet",u(this,"onpacket")),s(t,"close",u(this,"onclose"))]}},r.prototype.open=r.prototype.connect=function(){return this.connected?this:(this.subEvents(),this.io.open(),"open"===this.io.readyState&&this.onopen(),this.emit("connecting"),this)},r.prototype.send=function(){var t=i(arguments);return t.unshift("message"),this.emit.apply(this,t),this},r.prototype.emit=function(t){if(f.hasOwnProperty(t))return p.apply(this,arguments),this;var e=i(arguments),n={type:o.EVENT,data:e};return n.options={},n.options.compress=!this.flags||!1!==this.flags.compress,"function"==typeof e[e.length-1]&&(c("emitting packet with ack id %d",this.ids),this.acks[this.ids]=e.pop(),n.id=this.ids++),this.connected?this.packet(n):this.sendBuffer.push(n),delete this.flags,this},r.prototype.packet=function(t){t.nsp=this.nsp,this.io.packet(t)},r.prototype.onopen=function(){if(c("transport is open - connecting"),"/"!==this.nsp)if(this.query){var t="object"==typeof this.query?l.encode(this.query):this.query;c("sending connect packet with query %s",t),this.packet({type:o.CONNECT,query:t})}else this.packet({type:o.CONNECT})},r.prototype.onclose=function(t){c("close (%s)",t),this.connected=!1,this.disconnected=!0,delete this.id,this.emit("disconnect",t)},r.prototype.onpacket=function(t){if(t.nsp===this.nsp)switch(t.type){case o.CONNECT:this.onconnect();break;case o.EVENT:case o.BINARY_EVENT:this.onevent(t);break;case o.ACK:case o.BINARY_ACK:this.onack(t);break;case o.DISCONNECT:this.ondisconnect();break;case o.ERROR:this.emit("error",t.data)}},r.prototype.onevent=function(t){var e=t.data||[];c("emitting event %j",e),null!=t.id&&(c("attaching ack callback to event"),e.push(this.ack(t.id))),this.connected?p.apply(this,e):this.receiveBuffer.push(e)},r.prototype.ack=function(t){var e=this,n=!1;return function(){if(!n){n=!0;var r=i(arguments);c("sending ack %j",r),e.packet({type:o.ACK,id:t,data:r})}}},r.prototype.onack=function(t){var e=this.acks[t.id];"function"==typeof e?(c("calling ack %s with %j",t.id,t.data),e.apply(this,t.data),delete this.acks[t.id]):c("bad ack %s",t.id)},r.prototype.onconnect=function(){this.connected=!0,this.disconnected=!1,this.emit("connect"),this.emitBuffered()},r.prototype.emitBuffered=function(){var t;for(t=0;t<this.receiveBuffer.length;t++)p.apply(this,this.receiveBuffer[t]);for(this.receiveBuffer=[],t=0;t<this.sendBuffer.length;t++)this.packet(this.sendBuffer[t]);this.sendBuffer=[]},r.prototype.ondisconnect=function(){c("server disconnect (%s)",this.nsp),this.destroy(),this.onclose("io server disconnect")},r.prototype.destroy=function(){if(this.subs){for(var t=0;t<this.subs.length;t++)this.subs[t].destroy();this.subs=null}this.io.destroy(this)},r.prototype.close=r.prototype.disconnect=function(){return this.connected&&(c("performing disconnect (%s)",this.nsp),this.packet({type:o.DISCONNECT})),this.destroy(),this.connected&&this.onclose("io client disconnect"),this},r.prototype.compress=function(t){return this.flags=this.flags||{},this.flags.compress=t,this}},function(t,e){function n(t,e,n){return t.on(e,n),{destroy:function(){t.removeListener(e,n)}}}t.exports=n},function(t,e){var n=[].slice;t.exports=function(t,e){if("string"==typeof e&&(e=t[e]),"function"!=typeof e)throw new Error("bind() requires a function");var r=n.call(arguments,2);return function(){return e.apply(t,r.concat(n.call(arguments)))}}},function(t,e,n){var r,o;/*! @preserve
   * numeral.js
   * version : 2.0.6
   * author : Adam Draper
   * license : MIT
   * http://adamwdraper.github.com/Numeral-js/
   */
  !function(a,i){r=i,void 0!==(o="function"==typeof r?r.call(e,n,e,t):r)&&(t.exports=o)}(0,function(){function t(t,e){this._input=t,this._value=e}var e,n,r={},o={},a={currentLocale:"en",zeroFormat:null,nullFormat:null,defaultFormat:"0,0",scalePercentBy100:!0},i={currentLocale:a.currentLocale,zeroFormat:a.zeroFormat,nullFormat:a.nullFormat,defaultFormat:a.defaultFormat,scalePercentBy100:a.scalePercentBy100};return e=function(o){var a,s,u,c;if(e.isNumeral(o))a=o.value();else if(0===o||void 0===o)a=0;else if(null===o||n.isNaN(o))a=null;else if("string"==typeof o)if(i.zeroFormat&&o===i.zeroFormat)a=0;else if(i.nullFormat&&o===i.nullFormat||!o.replace(/[^0-9]+/g,"").length)a=null;else{for(s in r)if((c="function"==typeof r[s].regexps.unformat?r[s].regexps.unformat():r[s].regexps.unformat)&&o.match(c)){u=r[s].unformat;break}u=u||e._.stringToNumber,a=u(o)}else a=Number(o)||null;return new t(o,a)},e.version="2.0.6",e.isNumeral=function(e){return e instanceof t},e._=n={numberToFormat:function(t,n,r){var a,i,s,u,c,l,f,p=o[e.options.currentLocale],h=!1,d=!1,y=0,g="",m="",v=!1;if(t=t||0,i=Math.abs(t),e._.includes(n,"(")?(h=!0,n=n.replace(/[\(|\)]/g,"")):(e._.includes(n,"+")||e._.includes(n,"-"))&&(c=e._.includes(n,"+")?n.indexOf("+"):t<0?n.indexOf("-"):-1,n=n.replace(/[\+|\-]/g,"")),e._.includes(n,"a")&&(a=n.match(/a(k|m|b|t)?/),a=!!a&&a[1],e._.includes(n," a")&&(g=" "),n=n.replace(new RegExp(g+"a[kmbt]?"),""),i>=1e12&&!a||"t"===a?(g+=p.abbreviations.trillion,t/=1e12):i<1e12&&i>=1e9&&!a||"b"===a?(g+=p.abbreviations.billion,t/=1e9):i<1e9&&i>=1e6&&!a||"m"===a?(g+=p.abbreviations.million,t/=1e6):(i<1e6&&i>=1e3&&!a||"k"===a)&&(g+=p.abbreviations.thousand,t/=1e3)),e._.includes(n,"[.]")&&(d=!0,n=n.replace("[.]",".")),s=t.toString().split(".")[0],u=n.split(".")[1],l=n.indexOf(","),y=(n.split(".")[0].split(",")[0].match(/0/g)||[]).length,u?(e._.includes(u,"[")?(u=u.replace("]",""),u=u.split("["),m=e._.toFixed(t,u[0].length+u[1].length,r,u[1].length)):m=e._.toFixed(t,u.length,r),s=m.split(".")[0],m=e._.includes(m,".")?p.delimiters.decimal+m.split(".")[1]:"",d&&0===Number(m.slice(1))&&(m="")):s=e._.toFixed(t,0,r),g&&!a&&Number(s)>=1e3&&g!==p.abbreviations.trillion)switch(s=String(Number(s)/1e3),g){case p.abbreviations.thousand:g=p.abbreviations.million;break;case p.abbreviations.million:g=p.abbreviations.billion;break;case p.abbreviations.billion:g=p.abbreviations.trillion}if(e._.includes(s,"-")&&(s=s.slice(1),v=!0),s.length<y)for(var b=y-s.length;b>0;b--)s="0"+s;return l>-1&&(s=s.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+p.delimiters.thousands)),0===n.indexOf(".")&&(s=""),f=s+m+(g||""),h?f=(h&&v?"(":"")+f+(h&&v?")":""):c>=0?f=0===c?(v?"-":"+")+f:f+(v?"-":"+"):v&&(f="-"+f),f},stringToNumber:function(t){var e,n,r,a=o[i.currentLocale],s=t,u={thousand:3,million:6,billion:9,trillion:12};if(i.zeroFormat&&t===i.zeroFormat)n=0;else if(i.nullFormat&&t===i.nullFormat||!t.replace(/[^0-9]+/g,"").length)n=null;else{n=1,"."!==a.delimiters.decimal&&(t=t.replace(/\./g,"").replace(a.delimiters.decimal,"."));for(e in u)if(r=new RegExp("[^a-zA-Z]"+a.abbreviations[e]+"(?:\\)|(\\"+a.currency.symbol+")?(?:\\))?)?$"),s.match(r)){n*=Math.pow(10,u[e]);break}n*=(t.split("-").length+Math.min(t.split("(").length-1,t.split(")").length-1))%2?1:-1,t=t.replace(/[^0-9\.]+/g,""),n*=Number(t)}return n},isNaN:function(t){return"number"==typeof t&&isNaN(t)},includes:function(t,e){return-1!==t.indexOf(e)},insert:function(t,e,n){return t.slice(0,n)+e+t.slice(n)},reduce:function(t,e){if(null===this)throw new TypeError("Array.prototype.reduce called on null or undefined");if("function"!=typeof e)throw new TypeError(e+" is not a function");var n,r=Object(t),o=r.length>>>0,a=0;if(3===arguments.length)n=arguments[2];else{for(;a<o&&!(a in r);)a++;if(a>=o)throw new TypeError("Reduce of empty array with no initial value");n=r[a++]}for(;a<o;a++)a in r&&(n=e(n,r[a],a,r));return n},multiplier:function(t){var e=t.toString().split(".");return e.length<2?1:Math.pow(10,e[1].length)},correctionFactor:function(){return Array.prototype.slice.call(arguments).reduce(function(t,e){var r=n.multiplier(e);return t>r?t:r},1)},toFixed:function(t,e,n,r){var o,a,i,s,u=t.toString().split("."),c=e-(r||0);return o=2===u.length?Math.min(Math.max(u[1].length,c),e):c,i=Math.pow(10,o),s=(n(t+"e+"+o)/i).toFixed(o),r>e-o&&(a=new RegExp("\\.?0{1,"+(r-(e-o))+"}$"),s=s.replace(a,"")),s}},e.options=i,e.formats=r,e.locales=o,e.locale=function(t){return t&&(i.currentLocale=t.toLowerCase()),i.currentLocale},e.localeData=function(t){if(!t)return o[i.currentLocale];if(t=t.toLowerCase(),!o[t])throw new Error("Unknown locale : "+t);return o[t]},e.reset=function(){for(var t in a)i[t]=a[t]},e.zeroFormat=function(t){i.zeroFormat="string"==typeof t?t:null},e.nullFormat=function(t){i.nullFormat="string"==typeof t?t:null},e.defaultFormat=function(t){i.defaultFormat="string"==typeof t?t:"0.0"},e.register=function(t,e,n){if(e=e.toLowerCase(),this[t+"s"][e])throw new TypeError(e+" "+t+" already registered.");return this[t+"s"][e]=n,n},e.validate=function(t,n){var r,o,a,i,s,u,c,l;if("string"!=typeof t&&(t+="",console.warn&&console.warn("Numeral.js: Value is not string. It has been co-erced to: ",t)),t=t.trim(),t.match(/^\d+$/))return!0;if(""===t)return!1;try{c=e.localeData(n)}catch(t){c=e.localeData(e.locale())}return a=c.currency.symbol,s=c.abbreviations,r=c.delimiters.decimal,o="."===c.delimiters.thousands?"\\.":c.delimiters.thousands,(null===(l=t.match(/^[^\d]+/))||(t=t.substr(1),l[0]===a))&&((null===(l=t.match(/[^\d]+$/))||(t=t.slice(0,-1),l[0]===s.thousand||l[0]===s.million||l[0]===s.billion||l[0]===s.trillion))&&(u=new RegExp(o+"{2}"),!t.match(/[^\d.,]/g)&&(i=t.split(r),!(i.length>2)&&(i.length<2?!!i[0].match(/^\d+.*\d$/)&&!i[0].match(u):1===i[0].length?!!i[0].match(/^\d+$/)&&!i[0].match(u)&&!!i[1].match(/^\d+$/):!!i[0].match(/^\d+.*\d$/)&&!i[0].match(u)&&!!i[1].match(/^\d+$/)))))},e.fn=t.prototype={clone:function(){return e(this)},format:function(t,n){var o,a,s,u=this._value,c=t||i.defaultFormat;if(n=n||Math.round,0===u&&null!==i.zeroFormat)a=i.zeroFormat;else if(null===u&&null!==i.nullFormat)a=i.nullFormat;else{for(o in r)if(c.match(r[o].regexps.format)){s=r[o].format;break}s=s||e._.numberToFormat,a=s(u,c,n)}return a},value:function(){return this._value},input:function(){return this._input},set:function(t){return this._value=Number(t),this},add:function(t){function e(t,e,n,o){return t+Math.round(r*e)}var r=n.correctionFactor.call(null,this._value,t);return this._value=n.reduce([this._value,t],e,0)/r,this},subtract:function(t){function e(t,e,n,o){return t-Math.round(r*e)}var r=n.correctionFactor.call(null,this._value,t);return this._value=n.reduce([t],e,Math.round(this._value*r))/r,this},multiply:function(t){function e(t,e,r,o){var a=n.correctionFactor(t,e);return Math.round(t*a)*Math.round(e*a)/Math.round(a*a)}return this._value=n.reduce([this._value,t],e,1),this},divide:function(t){function e(t,e,r,o){var a=n.correctionFactor(t,e);return Math.round(t*a)/Math.round(e*a)}return this._value=n.reduce([this._value,t],e),this},difference:function(t){return Math.abs(e(this._value).subtract(t).value())}},e.register("locale","en",{delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(t){var e=t%10;return 1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th"},currency:{symbol:"$"}}),function(){e.register("format","bps",{regexps:{format:/(BPS)/,unformat:/(BPS)/},format:function(t,n,r){var o,a=e._.includes(n," BPS")?" ":"";return t*=1e4,n=n.replace(/\s?BPS/,""),o=e._.numberToFormat(t,n,r),e._.includes(o,")")?(o=o.split(""),o.splice(-1,0,a+"BPS"),o=o.join("")):o=o+a+"BPS",o},unformat:function(t){return+(1e-4*e._.stringToNumber(t)).toFixed(15)}})}(),function(){var t={base:1e3,suffixes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]},n={base:1024,suffixes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},r=t.suffixes.concat(n.suffixes.filter(function(e){return t.suffixes.indexOf(e)<0})),o=r.join("|");o="("+o.replace("B","B(?!PS)")+")",e.register("format","bytes",{regexps:{format:/([0\s]i?b)/,unformat:new RegExp(o)},format:function(r,o,a){var i,s,u,c=e._.includes(o,"ib")?n:t,l=e._.includes(o," b")||e._.includes(o," ib")?" ":"";for(o=o.replace(/\s?i?b/,""),i=0;i<=c.suffixes.length;i++)if(s=Math.pow(c.base,i),u=Math.pow(c.base,i+1),null===r||0===r||r>=s&&r<u){l+=c.suffixes[i],s>0&&(r/=s);break}return e._.numberToFormat(r,o,a)+l},unformat:function(r){var o,a,i=e._.stringToNumber(r);if(i){for(o=t.suffixes.length-1;o>=0;o--){if(e._.includes(r,t.suffixes[o])){a=Math.pow(t.base,o);break}if(e._.includes(r,n.suffixes[o])){a=Math.pow(n.base,o);break}}i*=a||1}return i}})}(),function(){e.register("format","currency",{regexps:{format:/(\$)/},format:function(t,n,r){var o,a,i=e.locales[e.options.currentLocale],s={before:n.match(/^([\+|\-|\(|\s|\$]*)/)[0],after:n.match(/([\+|\-|\)|\s|\$]*)$/)[0]};for(n=n.replace(/\s?\$\s?/,""),o=e._.numberToFormat(t,n,r),t>=0?(s.before=s.before.replace(/[\-\(]/,""),s.after=s.after.replace(/[\-\)]/,"")):t<0&&!e._.includes(s.before,"-")&&!e._.includes(s.before,"(")&&(s.before="-"+s.before),a=0;a<s.before.length;a++)switch(s.before[a]){case"$":o=e._.insert(o,i.currency.symbol,a);break;case" ":o=e._.insert(o," ",a+i.currency.symbol.length-1)}for(a=s.after.length-1;a>=0;a--)switch(s.after[a]){case"$":o=a===s.after.length-1?o+i.currency.symbol:e._.insert(o,i.currency.symbol,-(s.after.length-(1+a)));break;case" ":o=a===s.after.length-1?o+" ":e._.insert(o," ",-(s.after.length-(1+a)+i.currency.symbol.length-1))}return o}})}(),function(){e.register("format","exponential",{regexps:{format:/(e\+|e-)/,unformat:/(e\+|e-)/},format:function(t,n,r){var o="number"!=typeof t||e._.isNaN(t)?"0e+0":t.toExponential(),a=o.split("e");return n=n.replace(/e[\+|\-]{1}0/,""),e._.numberToFormat(Number(a[0]),n,r)+"e"+a[1]},unformat:function(t){function n(t,n,r,o){var a=e._.correctionFactor(t,n);return t*a*(n*a)/(a*a)}var r=e._.includes(t,"e+")?t.split("e+"):t.split("e-"),o=Number(r[0]),a=Number(r[1]);return a=e._.includes(t,"e-")?a*=-1:a,e._.reduce([o,Math.pow(10,a)],n,1)}})}(),function(){e.register("format","ordinal",{regexps:{format:/(o)/},format:function(t,n,r){var o=e.locales[e.options.currentLocale],a=e._.includes(n," o")?" ":"";return n=n.replace(/\s?o/,""),a+=o.ordinal(t),e._.numberToFormat(t,n,r)+a}})}(),function(){e.register("format","percentage",{regexps:{format:/(%)/,unformat:/(%)/},format:function(t,n,r){var o,a=e._.includes(n," %")?" ":"";return e.options.scalePercentBy100&&(t*=100),n=n.replace(/\s?\%/,""),o=e._.numberToFormat(t,n,r),e._.includes(o,")")?(o=o.split(""),o.splice(-1,0,a+"%"),o=o.join("")):o=o+a+"%",o},unformat:function(t){var n=e._.stringToNumber(t);return e.options.scalePercentBy100?.01*n:n}})}(),function(){e.register("format","time",{regexps:{format:/(:)/,unformat:/(:)/},format:function(t,e,n){var r=Math.floor(t/60/60),o=Math.floor((t-60*r*60)/60),a=Math.round(t-60*r*60-60*o);return r+":"+(o<10?"0"+o:o)+":"+(a<10?"0"+a:a)},unformat:function(t){var e=t.split(":"),n=0;return 3===e.length?(n+=60*Number(e[0])*60,n+=60*Number(e[1]),n+=Number(e[2])):2===e.length&&(n+=60*Number(e[0]),n+=Number(e[1])),Number(n)}})}(),e})},function(t,e,n){(function(t){!function(e,n){t.exports=n()}(0,function(){"use strict";function e(){return Pr.apply(null,arguments)}function n(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function r(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function o(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var e;for(e in t)if(t.hasOwnProperty(e))return!1;return!0}function a(t){return void 0===t}function i(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function s(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function u(t,e){var n,r=[];for(n=0;n<t.length;++n)r.push(e(t[n],n));return r}function c(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function l(t,e){for(var n in e)c(e,n)&&(t[n]=e[n]);return c(e,"toString")&&(t.toString=e.toString),c(e,"valueOf")&&(t.valueOf=e.valueOf),t}function f(t,e,n,r){return Ce(t,e,n,r,!0).utc()}function p(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function h(t){return null==t._pf&&(t._pf=p()),t._pf}function d(t){if(null==t._isValid){var e=h(t),n=Er.call(e.parsedDateParts,function(t){return null!=t}),r=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&n);if(t._strict&&(r=r&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return r;t._isValid=r}return t._isValid}function y(t){var e=f(NaN);return null!=t?l(h(e),t):h(e).userInvalidated=!0,e}function g(t,e){var n,r,o;if(a(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),a(e._i)||(t._i=e._i),a(e._f)||(t._f=e._f),a(e._l)||(t._l=e._l),a(e._strict)||(t._strict=e._strict),a(e._tzm)||(t._tzm=e._tzm),a(e._isUTC)||(t._isUTC=e._isUTC),a(e._offset)||(t._offset=e._offset),a(e._pf)||(t._pf=h(e)),a(e._locale)||(t._locale=e._locale),Ar.length>0)for(n=0;n<Ar.length;n++)r=Ar[n],o=e[r],a(o)||(t[r]=o);return t}function m(t){g(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===Tr&&(Tr=!0,e.updateOffset(this),Tr=!1)}function v(t){return t instanceof m||null!=t&&null!=t._isAMomentObject}function b(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function _(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=b(e)),n}function x(t,e,n){var r,o=Math.min(t.length,e.length),a=Math.abs(t.length-e.length),i=0;for(r=0;r<o;r++)(n&&t[r]!==e[r]||!n&&_(t[r])!==_(e[r]))&&i++;return i+a}function w(t){!1===e.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function O(t,n){var r=!0;return l(function(){if(null!=e.deprecationHandler&&e.deprecationHandler(null,t),r){for(var o,a=[],i=0;i<arguments.length;i++){if(o="","object"==typeof arguments[i]){o+="\n["+i+"] ";for(var s in arguments[0])o+=s+": "+arguments[0][s]+", ";o=o.slice(0,-2)}else o=arguments[i];a.push(o)}w(t+"\nArguments: "+Array.prototype.slice.call(a).join("")+"\n"+(new Error).stack),r=!1}return n.apply(this,arguments)},n)}function C(t,n){null!=e.deprecationHandler&&e.deprecationHandler(t,n),Sr[t]||(w(n),Sr[t]=!0)}function k(t){return t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function M(t){var e,n;for(n in t)e=t[n],k(e)?this[n]=e:this["_"+n]=e;this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function P(t,e){var n,o=l({},t);for(n in e)c(e,n)&&(r(t[n])&&r(e[n])?(o[n]={},l(o[n],t[n]),l(o[n],e[n])):null!=e[n]?o[n]=e[n]:delete o[n]);for(n in t)c(t,n)&&!c(e,n)&&r(t[n])&&(o[n]=l({},o[n]));return o}function E(t){null!=t&&this.set(t)}function A(t,e,n){var r=this._calendar[t]||this._calendar.sameElse;return k(r)?r.call(e,n):r}function T(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.replace(/MMMM|MM|DD|dddd/g,function(t){return t.slice(1)}),this._longDateFormat[t])}function S(){return this._invalidDate}function j(t){return this._ordinal.replace("%d",t)}function D(t,e,n,r){var o=this._relativeTime[n];return k(o)?o(t,e,n,r):o.replace(/%d/i,t)}function N(t,e){var n=this._relativeTime[t>0?"future":"past"];return k(n)?n(e):n.replace(/%s/i,e)}function R(t,e){var n=t.toLowerCase();Ir[n]=Ir[n+"s"]=Ir[e]=t}function L(t){return"string"==typeof t?Ir[t]||Ir[t.toLowerCase()]:void 0}function I(t){var e,n,r={};for(n in t)c(t,n)&&(e=L(n))&&(r[e]=t[n]);return r}function F(t,e){Fr[t]=e}function U(t){var e=[];for(var n in t)e.push({unit:n,priority:Fr[n]});return e.sort(function(t,e){return t.priority-e.priority}),e}function B(t,e,n){var r=""+Math.abs(t),o=e-r.length;return(t>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,o)).toString().substr(1)+r}function V(t,e,n,r){var o=r;"string"==typeof r&&(o=function(){return this[r]()}),t&&(Wr[t]=o),e&&(Wr[e[0]]=function(){return B(o.apply(this,arguments),e[1],e[2])}),n&&(Wr[n]=function(){return this.localeData().ordinal(o.apply(this,arguments),t)})}function W(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function z(t){var e,n,r=t.match(Ur);for(e=0,n=r.length;e<n;e++)Wr[r[e]]?r[e]=Wr[r[e]]:r[e]=W(r[e]);return function(e){var o,a="";for(o=0;o<n;o++)a+=k(r[o])?r[o].call(e,t):r[o];return a}}function Y(t,e){return t.isValid()?(e=H(e,t.localeData()),Vr[e]=Vr[e]||z(e),Vr[e](t)):t.localeData().invalidDate()}function H(t,e){function n(t){return e.longDateFormat(t)||t}var r=5;for(Br.lastIndex=0;r>=0&&Br.test(t);)t=t.replace(Br,n),Br.lastIndex=0,r-=1;return t}function q(t,e,n){io[t]=k(e)?e:function(t,r){return t&&n?n:e}}function K(t,e){return c(io,t)?io[t](e._strict,e._locale):new RegExp(X(t))}function X(t){return G(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,n,r,o){return e||n||r||o}))}function G(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function $(t,e){var n,r=e;for("string"==typeof t&&(t=[t]),i(e)&&(r=function(t,n){n[e]=_(t)}),n=0;n<t.length;n++)so[t[n]]=r}function Z(t,e){$(t,function(t,n,r,o){r._w=r._w||{},e(t,r._w,r,o)})}function Q(t,e,n){null!=e&&c(so,t)&&so[t](e,n._a,n,t)}function J(t){return tt(t)?366:365}function tt(t){return t%4==0&&t%100!=0||t%400==0}function et(){return tt(this.year())}function nt(t,n){return function(r){return null!=r?(ot(this,t,r),e.updateOffset(this,n),this):rt(this,t)}}function rt(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function ot(t,e,n){t.isValid()&&!isNaN(n)&&("FullYear"===e&&tt(t.year())?t._d["set"+(t._isUTC?"UTC":"")+e](n,t.month(),ut(n,t.month())):t._d["set"+(t._isUTC?"UTC":"")+e](n))}function at(t){return t=L(t),k(this[t])?this[t]():this}function it(t,e){if("object"==typeof t){t=I(t);for(var n=U(t),r=0;r<n.length;r++)this[n[r].unit](t[n[r].unit])}else if(t=L(t),k(this[t]))return this[t](e);return this}function st(t,e){return(t%e+e)%e}function ut(t,e){if(isNaN(t)||isNaN(e))return NaN;var n=st(e,12);return t+=(e-n)/12,1===n?tt(t)?29:28:31-n%7%2}function ct(t,e){return t?n(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||_o).test(e)?"format":"standalone"][t.month()]:n(this._months)?this._months:this._months.standalone}function lt(t,e){return t?n(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[_o.test(e)?"format":"standalone"][t.month()]:n(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function ft(t,e,n){var r,o,a,i=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)a=f([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(a,"").toLocaleLowerCase();return n?"MMM"===e?(o=vo.call(this._shortMonthsParse,i),-1!==o?o:null):(o=vo.call(this._longMonthsParse,i),-1!==o?o:null):"MMM"===e?-1!==(o=vo.call(this._shortMonthsParse,i))?o:(o=vo.call(this._longMonthsParse,i),-1!==o?o:null):-1!==(o=vo.call(this._longMonthsParse,i))?o:(o=vo.call(this._shortMonthsParse,i),-1!==o?o:null)}function pt(t,e,n){var r,o,a;if(this._monthsParseExact)return ft.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(o=f([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(o,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(o,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(a="^"+this.months(o,"")+"|^"+this.monthsShort(o,""),this._monthsParse[r]=new RegExp(a.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[r].test(t))return r;if(n&&"MMM"===e&&this._shortMonthsParse[r].test(t))return r;if(!n&&this._monthsParse[r].test(t))return r}}function ht(t,e){var n;if(!t.isValid())return t;if("string"==typeof e)if(/^\d+$/.test(e))e=_(e);else if(e=t.localeData().monthsParse(e),!i(e))return t;return n=Math.min(t.date(),ut(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n),t}function dt(t){return null!=t?(ht(this,t),e.updateOffset(this,!0),this):rt(this,"Month")}function yt(){return ut(this.year(),this.month())}function gt(t){return this._monthsParseExact?(c(this,"_monthsRegex")||vt.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(c(this,"_monthsShortRegex")||(this._monthsShortRegex=Oo),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)}function mt(t){return this._monthsParseExact?(c(this,"_monthsRegex")||vt.call(this),t?this._monthsStrictRegex:this._monthsRegex):(c(this,"_monthsRegex")||(this._monthsRegex=Co),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)}function vt(){function t(t,e){return e.length-t.length}var e,n,r=[],o=[],a=[];for(e=0;e<12;e++)n=f([2e3,e]),r.push(this.monthsShort(n,"")),o.push(this.months(n,"")),a.push(this.months(n,"")),a.push(this.monthsShort(n,""));for(r.sort(t),o.sort(t),a.sort(t),e=0;e<12;e++)r[e]=G(r[e]),o[e]=G(o[e]);for(e=0;e<24;e++)a[e]=G(a[e]);this._monthsRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function bt(t,e,n,r,o,a,i){var s=new Date(t,e,n,r,o,a,i);return t<100&&t>=0&&isFinite(s.getFullYear())&&s.setFullYear(t),s}function _t(t){var e=new Date(Date.UTC.apply(null,arguments));return t<100&&t>=0&&isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t),e}function xt(t,e,n){var r=7+e-n;return-(7+_t(t,0,r).getUTCDay()-e)%7+r-1}function wt(t,e,n,r,o){var a,i,s=(7+n-r)%7,u=xt(t,r,o),c=1+7*(e-1)+s+u;return c<=0?(a=t-1,i=J(a)+c):c>J(t)?(a=t+1,i=c-J(t)):(a=t,i=c),{year:a,dayOfYear:i}}function Ot(t,e,n){var r,o,a=xt(t.year(),e,n),i=Math.floor((t.dayOfYear()-a-1)/7)+1;return i<1?(o=t.year()-1,r=i+Ct(o,e,n)):i>Ct(t.year(),e,n)?(r=i-Ct(t.year(),e,n),o=t.year()+1):(o=t.year(),r=i),{week:r,year:o}}function Ct(t,e,n){var r=xt(t,e,n),o=xt(t+1,e,n);return(J(t)-r+o)/7}function kt(t){return Ot(t,this._week.dow,this._week.doy).week}function Mt(){return this._week.dow}function Pt(){return this._week.doy}function Et(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")}function At(t){var e=Ot(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")}function Tt(t,e){return"string"!=typeof t?t:isNaN(t)?(t=e.weekdaysParse(t),"number"==typeof t?t:null):parseInt(t,10)}function St(t,e){return"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}function jt(t,e){return t?n(this._weekdays)?this._weekdays[t.day()]:this._weekdays[this._weekdays.isFormat.test(e)?"format":"standalone"][t.day()]:n(this._weekdays)?this._weekdays:this._weekdays.standalone}function Dt(t){return t?this._weekdaysShort[t.day()]:this._weekdaysShort}function Nt(t){return t?this._weekdaysMin[t.day()]:this._weekdaysMin}function Rt(t,e,n){var r,o,a,i=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)a=f([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===e?(o=vo.call(this._weekdaysParse,i),-1!==o?o:null):"ddd"===e?(o=vo.call(this._shortWeekdaysParse,i),-1!==o?o:null):(o=vo.call(this._minWeekdaysParse,i),-1!==o?o:null):"dddd"===e?-1!==(o=vo.call(this._weekdaysParse,i))?o:-1!==(o=vo.call(this._shortWeekdaysParse,i))?o:(o=vo.call(this._minWeekdaysParse,i),-1!==o?o:null):"ddd"===e?-1!==(o=vo.call(this._shortWeekdaysParse,i))?o:-1!==(o=vo.call(this._weekdaysParse,i))?o:(o=vo.call(this._minWeekdaysParse,i),-1!==o?o:null):-1!==(o=vo.call(this._minWeekdaysParse,i))?o:-1!==(o=vo.call(this._weekdaysParse,i))?o:(o=vo.call(this._shortWeekdaysParse,i),-1!==o?o:null)}function Lt(t,e,n){var r,o,a;if(this._weekdaysParseExact)return Rt.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(o=f([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(o,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(o,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(o,"").replace(".",".?")+"$","i")),this._weekdaysParse[r]||(a="^"+this.weekdays(o,"")+"|^"+this.weekdaysShort(o,"")+"|^"+this.weekdaysMin(o,""),this._weekdaysParse[r]=new RegExp(a.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[r].test(t))return r;if(n&&"ddd"===e&&this._shortWeekdaysParse[r].test(t))return r;if(n&&"dd"===e&&this._minWeekdaysParse[r].test(t))return r;if(!n&&this._weekdaysParse[r].test(t))return r}}function It(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=Tt(t,this.localeData()),this.add(t-e,"d")):e}function Ft(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")}function Ut(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=St(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7}function Bt(t){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||zt.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(c(this,"_weekdaysRegex")||(this._weekdaysRegex=Ao),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}function Vt(t){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||zt.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(c(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=To),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Wt(t){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||zt.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(c(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=So),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function zt(){function t(t,e){return e.length-t.length}var e,n,r,o,a,i=[],s=[],u=[],c=[];for(e=0;e<7;e++)n=f([2e3,1]).day(e),r=this.weekdaysMin(n,""),o=this.weekdaysShort(n,""),a=this.weekdays(n,""),i.push(r),s.push(o),u.push(a),c.push(r),c.push(o),c.push(a);for(i.sort(t),s.sort(t),u.sort(t),c.sort(t),e=0;e<7;e++)s[e]=G(s[e]),u[e]=G(u[e]),c[e]=G(c[e]);this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+i.join("|")+")","i")}function Yt(){return this.hours()%12||12}function Ht(){return this.hours()||24}function qt(t,e){V(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function Kt(t,e){return e._meridiemParse}function Xt(t){return"p"===(t+"").toLowerCase().charAt(0)}function Gt(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"}function $t(t){return t?t.toLowerCase().replace("_","-"):t}function Zt(t){for(var e,n,r,o,a=0;a<t.length;){for(o=$t(t[a]).split("-"),e=o.length,n=$t(t[a+1]),n=n?n.split("-"):null;e>0;){if(r=Qt(o.slice(0,e).join("-")))return r;if(n&&n.length>=e&&x(o,n,!0)>=e-1)break;e--}a++}return null}function Qt(e){var n=null;if(!Lo[e]&&void 0!==t&&t&&t.exports)try{n=jo._abbr;!function(){var t=new Error('Cannot find module "./locale"');throw t.code="MODULE_NOT_FOUND",t}(),Jt(n)}catch(t){}return Lo[e]}function Jt(t,e){var n;return t&&(n=a(e)?ne(t):te(t,e))&&(jo=n),jo._abbr}function te(t,e){if(null!==e){var n=Ro;if(e.abbr=t,null!=Lo[t])C("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=Lo[t]._config;else if(null!=e.parentLocale){if(null==Lo[e.parentLocale])return Io[e.parentLocale]||(Io[e.parentLocale]=[]),Io[e.parentLocale].push({name:t,config:e}),null;n=Lo[e.parentLocale]._config}return Lo[t]=new E(P(n,e)),Io[t]&&Io[t].forEach(function(t){te(t.name,t.config)}),Jt(t),Lo[t]}return delete Lo[t],null}function ee(t,e){if(null!=e){var n,r=Ro;null!=Lo[t]&&(r=Lo[t]._config),e=P(r,e),n=new E(e),n.parentLocale=Lo[t],Lo[t]=n,Jt(t)}else null!=Lo[t]&&(null!=Lo[t].parentLocale?Lo[t]=Lo[t].parentLocale:null!=Lo[t]&&delete Lo[t]);return Lo[t]}function ne(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return jo;if(!n(t)){if(e=Qt(t))return e;t=[t]}return Zt(t)}function re(){return jr(Lo)}function oe(t){var e,n=t._a;return n&&-2===h(t).overflow&&(e=n[co]<0||n[co]>11?co:n[lo]<1||n[lo]>ut(n[uo],n[co])?lo:n[fo]<0||n[fo]>24||24===n[fo]&&(0!==n[po]||0!==n[ho]||0!==n[yo])?fo:n[po]<0||n[po]>59?po:n[ho]<0||n[ho]>59?ho:n[yo]<0||n[yo]>999?yo:-1,h(t)._overflowDayOfYear&&(e<uo||e>lo)&&(e=lo),h(t)._overflowWeeks&&-1===e&&(e=go),h(t)._overflowWeekday&&-1===e&&(e=mo),h(t).overflow=e),t}function ae(t,e,n){return null!=t?t:null!=e?e:n}function ie(t){var n=new Date(e.now());return t._useUTC?[n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()]:[n.getFullYear(),n.getMonth(),n.getDate()]}function se(t){var e,n,r,o,a=[];if(!t._d){for(r=ie(t),t._w&&null==t._a[lo]&&null==t._a[co]&&ue(t),null!=t._dayOfYear&&(o=ae(t._a[uo],r[uo]),(t._dayOfYear>J(o)||0===t._dayOfYear)&&(h(t)._overflowDayOfYear=!0),n=_t(o,0,t._dayOfYear),t._a[co]=n.getUTCMonth(),t._a[lo]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=a[e]=r[e];for(;e<7;e++)t._a[e]=a[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[fo]&&0===t._a[po]&&0===t._a[ho]&&0===t._a[yo]&&(t._nextDay=!0,t._a[fo]=0),t._d=(t._useUTC?_t:bt).apply(null,a),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[fo]=24),t._w&&void 0!==t._w.d&&t._w.d!==t._d.getDay()&&(h(t).weekdayMismatch=!0)}}function ue(t){var e,n,r,o,a,i,s,u;if(e=t._w,null!=e.GG||null!=e.W||null!=e.E)a=1,i=4,n=ae(e.GG,t._a[uo],Ot(ke(),1,4).year),r=ae(e.W,1),((o=ae(e.E,1))<1||o>7)&&(u=!0);else{a=t._locale._week.dow,i=t._locale._week.doy;var c=Ot(ke(),a,i);n=ae(e.gg,t._a[uo],c.year),r=ae(e.w,c.week),null!=e.d?((o=e.d)<0||o>6)&&(u=!0):null!=e.e?(o=e.e+a,(e.e<0||e.e>6)&&(u=!0)):o=a}r<1||r>Ct(n,a,i)?h(t)._overflowWeeks=!0:null!=u?h(t)._overflowWeekday=!0:(s=wt(n,r,o,a,i),t._a[uo]=s.year,t._dayOfYear=s.dayOfYear)}function ce(t){var e,n,r,o,a,i,s=t._i,u=Fo.exec(s)||Uo.exec(s);if(u){for(h(t).iso=!0,e=0,n=Vo.length;e<n;e++)if(Vo[e][1].exec(u[1])){o=Vo[e][0],r=!1!==Vo[e][2];break}if(null==o)return void(t._isValid=!1);if(u[3]){for(e=0,n=Wo.length;e<n;e++)if(Wo[e][1].exec(u[3])){a=(u[2]||" ")+Wo[e][0];break}if(null==a)return void(t._isValid=!1)}if(!r&&null!=a)return void(t._isValid=!1);if(u[4]){if(!Bo.exec(u[4]))return void(t._isValid=!1);i="Z"}t._f=o+(a||"")+(i||""),me(t)}else t._isValid=!1}function le(t,e,n,r,o,a){var i=[fe(t),wo.indexOf(e),parseInt(n,10),parseInt(r,10),parseInt(o,10)];return a&&i.push(parseInt(a,10)),i}function fe(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}function pe(t){return t.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}function he(t,e,n){if(t){if(Po.indexOf(t)!==new Date(e[0],e[1],e[2]).getDay())return h(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}function de(t,e,n){if(t)return Ho[t];if(e)return 0;var r=parseInt(n,10),o=r%100;return(r-o)/100*60+o}function ye(t){var e=Yo.exec(pe(t._i));if(e){var n=le(e[4],e[3],e[2],e[5],e[6],e[7]);if(!he(e[1],n,t))return;t._a=n,t._tzm=de(e[8],e[9],e[10]),t._d=_t.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),h(t).rfc2822=!0}else t._isValid=!1}function ge(t){var n=zo.exec(t._i);if(null!==n)return void(t._d=new Date(+n[1]));ce(t),!1===t._isValid&&(delete t._isValid,ye(t),!1===t._isValid&&(delete t._isValid,e.createFromInputFallback(t)))}function me(t){if(t._f===e.ISO_8601)return void ce(t);if(t._f===e.RFC_2822)return void ye(t);t._a=[],h(t).empty=!0;var n,r,o,a,i,s=""+t._i,u=s.length,c=0;for(o=H(t._f,t._locale).match(Ur)||[],n=0;n<o.length;n++)a=o[n],r=(s.match(K(a,t))||[])[0],r&&(i=s.substr(0,s.indexOf(r)),i.length>0&&h(t).unusedInput.push(i),s=s.slice(s.indexOf(r)+r.length),c+=r.length),Wr[a]?(r?h(t).empty=!1:h(t).unusedTokens.push(a),Q(a,r,t)):t._strict&&!r&&h(t).unusedTokens.push(a);h(t).charsLeftOver=u-c,s.length>0&&h(t).unusedInput.push(s),t._a[fo]<=12&&!0===h(t).bigHour&&t._a[fo]>0&&(h(t).bigHour=void 0),h(t).parsedDateParts=t._a.slice(0),h(t).meridiem=t._meridiem,t._a[fo]=ve(t._locale,t._a[fo],t._meridiem),se(t),oe(t)}function ve(t,e,n){var r;return null==n?e:null!=t.meridiemHour?t.meridiemHour(e,n):null!=t.isPM?(r=t.isPM(n),r&&e<12&&(e+=12),r||12!==e||(e=0),e):e}function be(t){var e,n,r,o,a;if(0===t._f.length)return h(t).invalidFormat=!0,void(t._d=new Date(NaN));for(o=0;o<t._f.length;o++)a=0,e=g({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[o],me(e),d(e)&&(a+=h(e).charsLeftOver,a+=10*h(e).unusedTokens.length,h(e).score=a,(null==r||a<r)&&(r=a,n=e));l(t,n||e)}function _e(t){if(!t._d){var e=I(t._i);t._a=u([e.year,e.month,e.day||e.date,e.hour,e.minute,e.second,e.millisecond],function(t){return t&&parseInt(t,10)}),se(t)}}function xe(t){var e=new m(oe(we(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function we(t){var e=t._i,r=t._f;return t._locale=t._locale||ne(t._l),null===e||void 0===r&&""===e?y({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),v(e)?new m(oe(e)):(s(e)?t._d=e:n(r)?be(t):r?me(t):Oe(t),d(t)||(t._d=null),t))}function Oe(t){var o=t._i;a(o)?t._d=new Date(e.now()):s(o)?t._d=new Date(o.valueOf()):"string"==typeof o?ge(t):n(o)?(t._a=u(o.slice(0),function(t){return parseInt(t,10)}),se(t)):r(o)?_e(t):i(o)?t._d=new Date(o):e.createFromInputFallback(t)}function Ce(t,e,a,i,s){var u={};return!0!==a&&!1!==a||(i=a,a=void 0),(r(t)&&o(t)||n(t)&&0===t.length)&&(t=void 0),u._isAMomentObject=!0,u._useUTC=u._isUTC=s,u._l=a,u._i=t,u._f=e,u._strict=i,xe(u)}function ke(t,e,n,r){return Ce(t,e,n,r,!1)}function Me(t,e){var r,o;if(1===e.length&&n(e[0])&&(e=e[0]),!e.length)return ke();for(r=e[0],o=1;o<e.length;++o)e[o].isValid()&&!e[o][t](r)||(r=e[o]);return r}function Pe(){return Me("isBefore",[].slice.call(arguments,0))}function Ee(){return Me("isAfter",[].slice.call(arguments,0))}function Ae(t){for(var e in t)if(-1===vo.call(Go,e)||null!=t[e]&&isNaN(t[e]))return!1;for(var n=!1,r=0;r<Go.length;++r)if(t[Go[r]]){if(n)return!1;parseFloat(t[Go[r]])!==_(t[Go[r]])&&(n=!0)}return!0}function Te(){return this._isValid}function Se(){return $e(NaN)}function je(t){var e=I(t),n=e.year||0,r=e.quarter||0,o=e.month||0,a=e.week||0,i=e.day||0,s=e.hour||0,u=e.minute||0,c=e.second||0,l=e.millisecond||0;this._isValid=Ae(e),this._milliseconds=+l+1e3*c+6e4*u+1e3*s*60*60,this._days=+i+7*a,this._months=+o+3*r+12*n,this._data={},this._locale=ne(),this._bubble()}function De(t){return t instanceof je}function Ne(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function Re(t,e){V(t,0,0,function(){var t=this.utcOffset(),n="+";return t<0&&(t=-t,n="-"),n+B(~~(t/60),2)+e+B(~~t%60,2)})}function Le(t,e){var n=(e||"").match(t);if(null===n)return null;var r=n[n.length-1]||[],o=(r+"").match($o)||["-",0,0],a=60*o[1]+_(o[2]);return 0===a?0:"+"===o[0]?a:-a}function Ie(t,n){var r,o;return n._isUTC?(r=n.clone(),o=(v(t)||s(t)?t.valueOf():ke(t).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+o),e.updateOffset(r,!1),r):ke(t).local()}function Fe(t){return 15*-Math.round(t._d.getTimezoneOffset()/15)}function Ue(t,n,r){var o,a=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"==typeof t){if(null===(t=Le(ro,t)))return this}else Math.abs(t)<16&&!r&&(t*=60);return!this._isUTC&&n&&(o=Fe(this)),this._offset=t,this._isUTC=!0,null!=o&&this.add(o,"m"),a!==t&&(!n||this._changeInProgress?en(this,$e(t-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,e.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?a:Fe(this)}function Be(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function Ve(t){return this.utcOffset(0,t)}function We(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Fe(this),"m")),this}function ze(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=Le(no,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this}function Ye(t){return!!this.isValid()&&(t=t?ke(t).utcOffset():0,(this.utcOffset()-t)%60==0)}function He(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function qe(){if(!a(this._isDSTShifted))return this._isDSTShifted;var t={};if(g(t,this),t=we(t),t._a){var e=t._isUTC?f(t._a):ke(t._a);this._isDSTShifted=this.isValid()&&x(t._a,e.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function Ke(){return!!this.isValid()&&!this._isUTC}function Xe(){return!!this.isValid()&&this._isUTC}function Ge(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function $e(t,e){var n,r,o,a=t,s=null;return De(t)?a={ms:t._milliseconds,d:t._days,M:t._months}:i(t)?(a={},e?a[e]=t:a.milliseconds=t):(s=Zo.exec(t))?(n="-"===s[1]?-1:1,a={y:0,d:_(s[lo])*n,h:_(s[fo])*n,m:_(s[po])*n,s:_(s[ho])*n,ms:_(Ne(1e3*s[yo]))*n}):(s=Qo.exec(t))?(n="-"===s[1]?-1:(s[1],1),a={y:Ze(s[2],n),M:Ze(s[3],n),w:Ze(s[4],n),d:Ze(s[5],n),h:Ze(s[6],n),m:Ze(s[7],n),s:Ze(s[8],n)}):null==a?a={}:"object"==typeof a&&("from"in a||"to"in a)&&(o=Je(ke(a.from),ke(a.to)),a={},a.ms=o.milliseconds,a.M=o.months),r=new je(a),De(t)&&c(t,"_locale")&&(r._locale=t._locale),r}function Ze(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function Qe(t,e){var n={milliseconds:0,months:0};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function Je(t,e){var n;return t.isValid()&&e.isValid()?(e=Ie(e,t),t.isBefore(e)?n=Qe(t,e):(n=Qe(e,t),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function tn(t,e){return function(n,r){var o,a;return null===r||isNaN(+r)||(C(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),a=n,n=r,r=a),n="string"==typeof n?+n:n,o=$e(n,r),en(this,o,t),this}}function en(t,n,r,o){var a=n._milliseconds,i=Ne(n._days),s=Ne(n._months);t.isValid()&&(o=null==o||o,s&&ht(t,rt(t,"Month")+s*r),i&&ot(t,"Date",rt(t,"Date")+i*r),a&&t._d.setTime(t._d.valueOf()+a*r),o&&e.updateOffset(t,i||s))}function nn(t,e){var n=t.diff(e,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function rn(t,n){var r=t||ke(),o=Ie(r,this).startOf("day"),a=e.calendarFormat(this,o)||"sameElse",i=n&&(k(n[a])?n[a].call(this,r):n[a]);return this.format(i||this.localeData().calendar(a,this,ke(r)))}function on(){return new m(this)}function an(t,e){var n=v(t)?t:ke(t);return!(!this.isValid()||!n.isValid())&&(e=L(a(e)?"millisecond":e),"millisecond"===e?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(e).valueOf())}function sn(t,e){var n=v(t)?t:ke(t);return!(!this.isValid()||!n.isValid())&&(e=L(a(e)?"millisecond":e),"millisecond"===e?this.valueOf()<n.valueOf():this.clone().endOf(e).valueOf()<n.valueOf())}function un(t,e,n,r){return r=r||"()",("("===r[0]?this.isAfter(t,n):!this.isBefore(t,n))&&(")"===r[1]?this.isBefore(e,n):!this.isAfter(e,n))}function cn(t,e){var n,r=v(t)?t:ke(t);return!(!this.isValid()||!r.isValid())&&(e=L(e||"millisecond"),"millisecond"===e?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(e).valueOf()<=n&&n<=this.clone().endOf(e).valueOf()))}function ln(t,e){return this.isSame(t,e)||this.isAfter(t,e)}function fn(t,e){return this.isSame(t,e)||this.isBefore(t,e)}function pn(t,e,n){var r,o,a;if(!this.isValid())return NaN;if(r=Ie(t,this),!r.isValid())return NaN;switch(o=6e4*(r.utcOffset()-this.utcOffset()),e=L(e)){case"year":a=hn(this,r)/12;break;case"month":a=hn(this,r);break;case"quarter":a=hn(this,r)/3;break;case"second":a=(this-r)/1e3;break;case"minute":a=(this-r)/6e4;break;case"hour":a=(this-r)/36e5;break;case"day":a=(this-r-o)/864e5;break;case"week":a=(this-r-o)/6048e5;break;default:a=this-r}return n?a:b(a)}function hn(t,e){var n,r,o=12*(e.year()-t.year())+(e.month()-t.month()),a=t.clone().add(o,"months");return e-a<0?(n=t.clone().add(o-1,"months"),r=(e-a)/(a-n)):(n=t.clone().add(o+1,"months"),r=(e-a)/(n-a)),-(o+r)||0}function dn(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function yn(){if(!this.isValid())return null;var t=this.clone().utc();return t.year()<0||t.year()>9999?Y(t,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):k(Date.prototype.toISOString)?this.toDate().toISOString():Y(t,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]")}function gn(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t="moment",e="";this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",e="Z");var n="["+t+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",o=e+'[")]';return this.format(n+r+"-MM-DD[T]HH:mm:ss.SSS"+o)}function mn(t){t||(t=this.isUtc()?e.defaultFormatUtc:e.defaultFormat);var n=Y(this,t);return this.localeData().postformat(n)}function vn(t,e){return this.isValid()&&(v(t)&&t.isValid()||ke(t).isValid())?$e({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function bn(t){return this.from(ke(),t)}function _n(t,e){return this.isValid()&&(v(t)&&t.isValid()||ke(t).isValid())?$e({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function xn(t){return this.to(ke(),t)}function wn(t){var e;return void 0===t?this._locale._abbr:(e=ne(t),null!=e&&(this._locale=e),this)}function On(){return this._locale}function Cn(t){switch(t=L(t)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===t&&this.weekday(0),"isoWeek"===t&&this.isoWeekday(1),"quarter"===t&&this.month(3*Math.floor(this.month()/3)),this}function kn(t){return void 0===(t=L(t))||"millisecond"===t?this:("date"===t&&(t="day"),this.startOf(t).add(1,"isoWeek"===t?"week":t).subtract(1,"ms"))}function Mn(){return this._d.valueOf()-6e4*(this._offset||0)}function Pn(){return Math.floor(this.valueOf()/1e3)}function En(){return new Date(this.valueOf())}function An(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function Tn(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}}function Sn(){return this.isValid()?this.toISOString():null}function jn(){return d(this)}function Dn(){return l({},h(this))}function Nn(){return h(this).overflow}function Rn(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Ln(t,e){V(0,[t,t.length],0,e)}function In(t){return Vn.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Fn(t){return Vn.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)}function Un(){return Ct(this.year(),1,4)}function Bn(){var t=this.localeData()._week;return Ct(this.year(),t.dow,t.doy)}function Vn(t,e,n,r,o){var a;return null==t?Ot(this,r,o).year:(a=Ct(t,r,o),e>a&&(e=a),Wn.call(this,t,e,n,r,o))}function Wn(t,e,n,r,o){var a=wt(t,e,n,r,o),i=_t(a.year,0,a.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}function zn(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)}function Yn(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")}function Hn(t,e){e[yo]=_(1e3*("0."+t))}function qn(){return this._isUTC?"UTC":""}function Kn(){return this._isUTC?"Coordinated Universal Time":""}function Xn(t){return ke(1e3*t)}function Gn(){return ke.apply(null,arguments).parseZone()}function $n(t){return t}function Zn(t,e,n,r){var o=ne(),a=f().set(r,e);return o[n](a,t)}function Qn(t,e,n){if(i(t)&&(e=t,t=void 0),t=t||"",null!=e)return Zn(t,e,n,"month");var r,o=[];for(r=0;r<12;r++)o[r]=Zn(t,r,n,"month");return o}function Jn(t,e,n,r){"boolean"==typeof t?(i(e)&&(n=e,e=void 0),e=e||""):(e=t,n=e,t=!1,i(e)&&(n=e,e=void 0),e=e||"");var o=ne(),a=t?o._week.dow:0;if(null!=n)return Zn(e,(n+a)%7,r,"day");var s,u=[];for(s=0;s<7;s++)u[s]=Zn(e,(s+a)%7,r,"day");return u}function tr(t,e){return Qn(t,e,"months")}function er(t,e){return Qn(t,e,"monthsShort")}function nr(t,e,n){return Jn(t,e,n,"weekdays")}function rr(t,e,n){return Jn(t,e,n,"weekdaysShort")}function or(t,e,n){return Jn(t,e,n,"weekdaysMin")}function ar(){var t=this._data;return this._milliseconds=ca(this._milliseconds),this._days=ca(this._days),this._months=ca(this._months),t.milliseconds=ca(t.milliseconds),t.seconds=ca(t.seconds),t.minutes=ca(t.minutes),t.hours=ca(t.hours),t.months=ca(t.months),t.years=ca(t.years),this}function ir(t,e,n,r){var o=$e(e,n);return t._milliseconds+=r*o._milliseconds,t._days+=r*o._days,t._months+=r*o._months,t._bubble()}function sr(t,e){return ir(this,t,e,1)}function ur(t,e){return ir(this,t,e,-1)}function cr(t){return t<0?Math.floor(t):Math.ceil(t)}function lr(){var t,e,n,r,o,a=this._milliseconds,i=this._days,s=this._months,u=this._data;return a>=0&&i>=0&&s>=0||a<=0&&i<=0&&s<=0||(a+=864e5*cr(pr(s)+i),i=0,s=0),u.milliseconds=a%1e3,t=b(a/1e3),u.seconds=t%60,e=b(t/60),u.minutes=e%60,n=b(e/60),u.hours=n%24,i+=b(n/24),o=b(fr(i)),s+=o,i-=cr(pr(o)),r=b(s/12),s%=12,u.days=i,u.months=s,u.years=r,this}function fr(t){return 4800*t/146097}function pr(t){return 146097*t/4800}function hr(t){if(!this.isValid())return NaN;var e,n,r=this._milliseconds;if("month"===(t=L(t))||"year"===t)return e=this._days+r/864e5,n=this._months+fr(e),"month"===t?n:n/12;switch(e=this._days+Math.round(pr(this._months)),t){case"week":return e/7+r/6048e5;case"day":return e+r/864e5;case"hour":return 24*e+r/36e5;case"minute":return 1440*e+r/6e4;case"second":return 86400*e+r/1e3;case"millisecond":return Math.floor(864e5*e)+r;default:throw new Error("Unknown unit "+t)}}function dr(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*_(this._months/12):NaN}function yr(t){return function(){return this.as(t)}}function gr(){return $e(this)}function mr(t){return t=L(t),this.isValid()?this[t+"s"]():NaN}function vr(t){return function(){return this.isValid()?this._data[t]:NaN}}function br(){return b(this.days()/7)}function _r(t,e,n,r,o){return o.relativeTime(e||1,!!n,t,r)}function xr(t,e,n){var r=$e(t).abs(),o=ka(r.as("s")),a=ka(r.as("m")),i=ka(r.as("h")),s=ka(r.as("d")),u=ka(r.as("M")),c=ka(r.as("y")),l=o<=Ma.ss&&["s",o]||o<Ma.s&&["ss",o]||a<=1&&["m"]||a<Ma.m&&["mm",a]||i<=1&&["h"]||i<Ma.h&&["hh",i]||s<=1&&["d"]||s<Ma.d&&["dd",s]||u<=1&&["M"]||u<Ma.M&&["MM",u]||c<=1&&["y"]||["yy",c];return l[2]=e,l[3]=+t>0,l[4]=n,_r.apply(null,l)}function wr(t){return void 0===t?ka:"function"==typeof t&&(ka=t,!0)}function Or(t,e){return void 0!==Ma[t]&&(void 0===e?Ma[t]:(Ma[t]=e,"s"===t&&(Ma.ss=e-1),!0))}function Cr(t){if(!this.isValid())return this.localeData().invalidDate();var e=this.localeData(),n=xr(this,!t,e);return t&&(n=e.pastFuture(+this,n)),e.postformat(n)}function kr(t){return(t>0)-(t<0)||+t}function Mr(){if(!this.isValid())return this.localeData().invalidDate();var t,e,n,r=Pa(this._milliseconds)/1e3,o=Pa(this._days),a=Pa(this._months);t=b(r/60),e=b(t/60),r%=60,t%=60,n=b(a/12),a%=12;var i=n,s=a,u=o,c=e,l=t,f=r?r.toFixed(3).replace(/\.?0+$/,""):"",p=this.asSeconds();if(!p)return"P0D";var h=p<0?"-":"",d=kr(this._months)!==kr(p)?"-":"",y=kr(this._days)!==kr(p)?"-":"",g=kr(this._milliseconds)!==kr(p)?"-":"";return h+"P"+(i?d+i+"Y":"")+(s?d+s+"M":"")+(u?y+u+"D":"")+(c||l||f?"T":"")+(c?g+c+"H":"")+(l?g+l+"M":"")+(f?g+f+"S":"")}var Pr,Er;Er=Array.prototype.some?Array.prototype.some:function(t){for(var e=Object(this),n=e.length>>>0,r=0;r<n;r++)if(r in e&&t.call(this,e[r],r,e))return!0;return!1};var Ar=e.momentProperties=[],Tr=!1,Sr={};e.suppressDeprecationWarnings=!1,e.deprecationHandler=null;var jr;jr=Object.keys?Object.keys:function(t){var e,n=[];for(e in t)c(t,e)&&n.push(e);return n};var Dr={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},Nr={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},Rr=/\d{1,2}/,Lr={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},Ir={},Fr={},Ur=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Br=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Vr={},Wr={},zr=/\d/,Yr=/\d\d/,Hr=/\d{3}/,qr=/\d{4}/,Kr=/[+-]?\d{6}/,Xr=/\d\d?/,Gr=/\d\d\d\d?/,$r=/\d\d\d\d\d\d?/,Zr=/\d{1,3}/,Qr=/\d{1,4}/,Jr=/[+-]?\d{1,6}/,to=/\d+/,eo=/[+-]?\d+/,no=/Z|[+-]\d\d:?\d\d/gi,ro=/Z|[+-]\d\d(?::?\d\d)?/gi,oo=/[+-]?\d+(\.\d{1,3})?/,ao=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,io={},so={},uo=0,co=1,lo=2,fo=3,po=4,ho=5,yo=6,go=7,mo=8;V("Y",0,0,function(){var t=this.year();return t<=9999?""+t:"+"+t}),V(0,["YY",2],0,function(){return this.year()%100}),V(0,["YYYY",4],0,"year"),V(0,["YYYYY",5],0,"year"),V(0,["YYYYYY",6,!0],0,"year"),R("year","y"),F("year",1),q("Y",eo),q("YY",Xr,Yr),q("YYYY",Qr,qr),q("YYYYY",Jr,Kr),q("YYYYYY",Jr,Kr),$(["YYYYY","YYYYYY"],uo),$("YYYY",function(t,n){n[uo]=2===t.length?e.parseTwoDigitYear(t):_(t)}),$("YY",function(t,n){n[uo]=e.parseTwoDigitYear(t)}),$("Y",function(t,e){e[uo]=parseInt(t,10)}),e.parseTwoDigitYear=function(t){return _(t)+(_(t)>68?1900:2e3)};var vo,bo=nt("FullYear",!0);vo=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1},V("M",["MM",2],"Mo",function(){return this.month()+1}),V("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),V("MMMM",0,0,function(t){return this.localeData().months(this,t)}),R("month","M"),F("month",8),q("M",Xr),q("MM",Xr,Yr),q("MMM",function(t,e){return e.monthsShortRegex(t)}),q("MMMM",function(t,e){return e.monthsRegex(t)}),$(["M","MM"],function(t,e){e[co]=_(t)-1}),$(["MMM","MMMM"],function(t,e,n,r){var o=n._locale.monthsParse(t,r,n._strict);null!=o?e[co]=o:h(n).invalidMonth=t});var _o=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,xo="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),wo="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Oo=ao,Co=ao;V("w",["ww",2],"wo","week"),V("W",["WW",2],"Wo","isoWeek"),R("week","w"),R("isoWeek","W"),F("week",5),F("isoWeek",5),q("w",Xr),q("ww",Xr,Yr),q("W",Xr),q("WW",Xr,Yr),Z(["w","ww","W","WW"],function(t,e,n,r){e[r.substr(0,1)]=_(t)});var ko={dow:0,doy:6};V("d",0,"do","day"),V("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),V("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),V("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),V("e",0,0,"weekday"),V("E",0,0,"isoWeekday"),R("day","d"),R("weekday","e"),R("isoWeekday","E"),F("day",11),F("weekday",11),F("isoWeekday",11),q("d",Xr),q("e",Xr),q("E",Xr),q("dd",function(t,e){return e.weekdaysMinRegex(t)}),q("ddd",function(t,e){return e.weekdaysShortRegex(t)}),q("dddd",function(t,e){return e.weekdaysRegex(t)}),Z(["dd","ddd","dddd"],function(t,e,n,r){var o=n._locale.weekdaysParse(t,r,n._strict);null!=o?e.d=o:h(n).invalidWeekday=t}),Z(["d","e","E"],function(t,e,n,r){e[r]=_(t)});var Mo="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Po="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Eo="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ao=ao,To=ao,So=ao;V("H",["HH",2],0,"hour"),V("h",["hh",2],0,Yt),V("k",["kk",2],0,Ht),V("hmm",0,0,function(){return""+Yt.apply(this)+B(this.minutes(),2)}),V("hmmss",0,0,function(){return""+Yt.apply(this)+B(this.minutes(),2)+B(this.seconds(),2)}),V("Hmm",0,0,function(){return""+this.hours()+B(this.minutes(),2)}),V("Hmmss",0,0,function(){return""+this.hours()+B(this.minutes(),2)+B(this.seconds(),2)}),qt("a",!0),qt("A",!1),R("hour","h"),F("hour",13),q("a",Kt),q("A",Kt),q("H",Xr),q("h",Xr),q("k",Xr),q("HH",Xr,Yr),q("hh",Xr,Yr),q("kk",Xr,Yr),q("hmm",Gr),q("hmmss",$r),q("Hmm",Gr),q("Hmmss",$r),$(["H","HH"],fo),$(["k","kk"],function(t,e,n){var r=_(t);e[fo]=24===r?0:r}),$(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),$(["h","hh"],function(t,e,n){e[fo]=_(t),h(n).bigHour=!0}),$("hmm",function(t,e,n){var r=t.length-2;e[fo]=_(t.substr(0,r)),e[po]=_(t.substr(r)),h(n).bigHour=!0}),$("hmmss",function(t,e,n){var r=t.length-4,o=t.length-2;e[fo]=_(t.substr(0,r)),e[po]=_(t.substr(r,2)),e[ho]=_(t.substr(o)),h(n).bigHour=!0}),$("Hmm",function(t,e,n){var r=t.length-2;e[fo]=_(t.substr(0,r)),e[po]=_(t.substr(r))}),$("Hmmss",function(t,e,n){var r=t.length-4,o=t.length-2;e[fo]=_(t.substr(0,r)),e[po]=_(t.substr(r,2)),e[ho]=_(t.substr(o))});var jo,Do=/[ap]\.?m?\.?/i,No=nt("Hours",!0),Ro={calendar:Dr,longDateFormat:Nr,invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:Rr,relativeTime:Lr,months:xo,monthsShort:wo,week:ko,weekdays:Mo,weekdaysMin:Eo,weekdaysShort:Po,meridiemParse:Do},Lo={},Io={},Fo=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Uo=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Bo=/Z|[+-]\d\d(?::?\d\d)?/,Vo=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],Wo=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],zo=/^\/?Date\((\-?\d+)/i,Yo=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Ho={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};e.createFromInputFallback=O("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))}),e.ISO_8601=function(){},e.RFC_2822=function(){};var qo=O("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=ke.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:y()}),Ko=O("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=ke.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:y()}),Xo=function(){return Date.now?Date.now():+new Date},Go=["year","quarter","month","week","day","hour","minute","second","millisecond"];Re("Z",":"),Re("ZZ",""),q("Z",ro),q("ZZ",ro),$(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=Le(ro,t)});var $o=/([\+\-]|\d\d)/gi;e.updateOffset=function(){};var Zo=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Qo=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;$e.fn=je.prototype,$e.invalid=Se;var Jo=tn(1,"add"),ta=tn(-1,"subtract");e.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",e.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var ea=O("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return void 0===t?this.localeData():this.locale(t)});V(0,["gg",2],0,function(){return this.weekYear()%100}),V(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Ln("gggg","weekYear"),Ln("ggggg","weekYear"),Ln("GGGG","isoWeekYear"),Ln("GGGGG","isoWeekYear"),R("weekYear","gg"),R("isoWeekYear","GG"),F("weekYear",1),F("isoWeekYear",1),q("G",eo),q("g",eo),q("GG",Xr,Yr),q("gg",Xr,Yr),q("GGGG",Qr,qr),q("gggg",Qr,qr),q("GGGGG",Jr,Kr),q("ggggg",Jr,Kr),Z(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,r){e[r.substr(0,2)]=_(t)}),Z(["gg","GG"],function(t,n,r,o){n[o]=e.parseTwoDigitYear(t)}),V("Q",0,"Qo","quarter"),R("quarter","Q"),F("quarter",7),q("Q",zr),$("Q",function(t,e){e[co]=3*(_(t)-1)}),V("D",["DD",2],"Do","date"),R("date","D"),F("date",9),q("D",Xr),q("DD",Xr,Yr),q("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),$(["D","DD"],lo),$("Do",function(t,e){e[lo]=_(t.match(Xr)[0],10)});var na=nt("Date",!0);V("DDD",["DDDD",3],"DDDo","dayOfYear"),R("dayOfYear","DDD"),F("dayOfYear",4),q("DDD",Zr),q("DDDD",Hr),$(["DDD","DDDD"],function(t,e,n){n._dayOfYear=_(t)}),V("m",["mm",2],0,"minute"),R("minute","m"),F("minute",14),q("m",Xr),q("mm",Xr,Yr),$(["m","mm"],po);var ra=nt("Minutes",!1);V("s",["ss",2],0,"second"),R("second","s"),F("second",15),q("s",Xr),q("ss",Xr,Yr),$(["s","ss"],ho);var oa=nt("Seconds",!1);V("S",0,0,function(){return~~(this.millisecond()/100)}),V(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),V(0,["SSS",3],0,"millisecond"),V(0,["SSSS",4],0,function(){return 10*this.millisecond()}),V(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),V(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),V(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),V(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),V(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),R("millisecond","ms"),F("millisecond",16),q("S",Zr,zr),q("SS",Zr,Yr),q("SSS",Zr,Hr);var aa;for(aa="SSSS";aa.length<=9;aa+="S")q(aa,to);for(aa="S";aa.length<=9;aa+="S")$(aa,Hn);var ia=nt("Milliseconds",!1);V("z",0,0,"zoneAbbr"),V("zz",0,0,"zoneName");var sa=m.prototype;sa.add=Jo,sa.calendar=rn,sa.clone=on,sa.diff=pn,sa.endOf=kn,sa.format=mn,sa.from=vn,sa.fromNow=bn,sa.to=_n,sa.toNow=xn,sa.get=at,sa.invalidAt=Nn,sa.isAfter=an,sa.isBefore=sn,sa.isBetween=un,sa.isSame=cn,sa.isSameOrAfter=ln,sa.isSameOrBefore=fn,sa.isValid=jn,sa.lang=ea,sa.locale=wn,sa.localeData=On,sa.max=Ko,sa.min=qo,sa.parsingFlags=Dn,sa.set=it,sa.startOf=Cn,sa.subtract=ta,sa.toArray=An,sa.toObject=Tn,sa.toDate=En,sa.toISOString=yn,sa.inspect=gn,sa.toJSON=Sn,sa.toString=dn,sa.unix=Pn,sa.valueOf=Mn,sa.creationData=Rn,sa.year=bo,sa.isLeapYear=et,sa.weekYear=In,sa.isoWeekYear=Fn,sa.quarter=sa.quarters=zn,sa.month=dt,sa.daysInMonth=yt,sa.week=sa.weeks=Et,sa.isoWeek=sa.isoWeeks=At,sa.weeksInYear=Bn,sa.isoWeeksInYear=Un,sa.date=na,sa.day=sa.days=It,sa.weekday=Ft,sa.isoWeekday=Ut,sa.dayOfYear=Yn,sa.hour=sa.hours=No,sa.minute=sa.minutes=ra,sa.second=sa.seconds=oa,sa.millisecond=sa.milliseconds=ia,sa.utcOffset=Ue,sa.utc=Ve,sa.local=We,sa.parseZone=ze,sa.hasAlignedHourOffset=Ye,sa.isDST=He,sa.isLocal=Ke,sa.isUtcOffset=Xe,sa.isUtc=Ge,sa.isUTC=Ge,sa.zoneAbbr=qn,sa.zoneName=Kn,sa.dates=O("dates accessor is deprecated. Use date instead.",na),sa.months=O("months accessor is deprecated. Use month instead",dt),sa.years=O("years accessor is deprecated. Use year instead",bo),sa.zone=O("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Be),sa.isDSTShifted=O("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",qe);var ua=E.prototype;ua.calendar=A,ua.longDateFormat=T,ua.invalidDate=S,ua.ordinal=j,ua.preparse=$n,ua.postformat=$n,ua.relativeTime=D,ua.pastFuture=N,ua.set=M,ua.months=ct,ua.monthsShort=lt,ua.monthsParse=pt,ua.monthsRegex=mt,ua.monthsShortRegex=gt,ua.week=kt,ua.firstDayOfYear=Pt,ua.firstDayOfWeek=Mt,ua.weekdays=jt,ua.weekdaysMin=Nt,ua.weekdaysShort=Dt,ua.weekdaysParse=Lt,ua.weekdaysRegex=Bt,ua.weekdaysShortRegex=Vt,ua.weekdaysMinRegex=Wt,ua.isPM=Xt,ua.meridiem=Gt,Jt("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===_(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),e.lang=O("moment.lang is deprecated. Use moment.locale instead.",Jt),e.langData=O("moment.langData is deprecated. Use moment.localeData instead.",ne);var ca=Math.abs,la=yr("ms"),fa=yr("s"),pa=yr("m"),ha=yr("h"),da=yr("d"),ya=yr("w"),ga=yr("M"),ma=yr("y"),va=vr("milliseconds"),ba=vr("seconds"),_a=vr("minutes"),xa=vr("hours"),wa=vr("days"),Oa=vr("months"),Ca=vr("years"),ka=Math.round,Ma={ss:44,s:45,m:45,h:22,d:26,M:11},Pa=Math.abs,Ea=je.prototype;return Ea.isValid=Te,Ea.abs=ar,Ea.add=sr,Ea.subtract=ur,Ea.as=hr,Ea.asMilliseconds=la,Ea.asSeconds=fa,Ea.asMinutes=pa,Ea.asHours=ha,Ea.asDays=da,Ea.asWeeks=ya,Ea.asMonths=ga,Ea.asYears=ma,Ea.valueOf=dr,Ea._bubble=lr,Ea.clone=gr,Ea.get=mr,Ea.milliseconds=va,Ea.seconds=ba,Ea.minutes=_a,Ea.hours=xa,Ea.days=wa,Ea.weeks=br,Ea.months=Oa,Ea.years=Ca,Ea.humanize=Cr,Ea.toISOString=Mr,Ea.toString=Mr,Ea.toJSON=Mr,Ea.locale=wn,Ea.localeData=On,Ea.toIsoString=O("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Mr),Ea.lang=ea,V("X",0,0,"unix"),V("x",0,0,"valueOf"),q("x",eo),q("X",oo),$("X",function(t,e,n){n._d=new Date(1e3*parseFloat(t,10))}),$("x",function(t,e,n){n._d=new Date(_(t))}),e.version="2.19.1",function(t){Pr=t}(ke),e.fn=sa,e.min=Pe,e.max=Ee,e.now=Xo,e.utc=f,e.unix=Xn,e.months=tr,e.isDate=s,e.locale=Jt,e.invalid=y,e.duration=$e,e.isMoment=v,e.weekdays=nr,e.parseZone=Gn,e.localeData=ne,e.isDuration=De,e.monthsShort=er,e.weekdaysMin=or,e.defineLocale=te,e.updateLocale=ee,e.locales=re,e.weekdaysShort=rr,e.normalizeUnits=L,e.relativeTimeRounding=wr,e.relativeTimeThreshold=Or,e.calendarFormat=nn,e.prototype=sa,e})}).call(e,n(69)(t))},function(t,e,n){"use strict";function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var s=n(0),u=n.n(s),c=n(1),l=n.n(c),f=n(520),p=n(531),h=n(81),d=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),y=function(t){function e(t){o(this,e);var n=a(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.state={data:Array.isArray(n.props.data)?n.props.data[0]:n.props.data,animationInfo:{progress:0,animating:!1}},n.interpolator=null,n.queue=Array.isArray(n.props.data)?n.props.data.slice(1):[],n.ease=f[n.toNewName(n.props.easing)],n.functionToBeRunEachFrame=n.functionToBeRunEachFrame.bind(n),n.getTimer=n.getTimer.bind(n),n}return i(e,t),d(e,[{key:"componentDidMount",value:function(){this.queue.length&&this.traverseQueue()}},{key:"componentWillReceiveProps",value:function(t){if(this.getTimer().unsubscribe(this.loopID),Array.isArray(t.data)){var e;(e=this.queue).push.apply(e,r(t.data))}else this.queue.length=0,this.queue.push(t.data);this.traverseQueue()}},{key:"componentWillUnmount",value:function(){this.loopID?this.getTimer().unsubscribe(this.loopID):this.getTimer().stop()}},{key:"getTimer",value:function(){return this.context.getTimer?this.context.getTimer():(this.timer||(this.timer=new h.a),this.timer)}},{key:"toNewName",value:function(t){return"ease"+function(t){return t&&t[0].toUpperCase()+t.slice(1)}(t)}},{key:"traverseQueue",value:function(){var t=this;if(this.queue.length){var e=this.queue[0];this.interpolator=Object(p.a)(this.state.data,e),this.props.delay?setTimeout(function(){t.loopID=t.getTimer().subscribe(t.functionToBeRunEachFrame,t.props.duration)},this.props.delay):this.loopID=this.getTimer().subscribe(this.functionToBeRunEachFrame,this.props.duration)}else this.props.onEnd&&this.props.onEnd()}},{key:"functionToBeRunEachFrame",value:function(t,e){e=void 0!==e?e:this.props.duration;var n=e?t/e:1;if(n>=1)return this.setState({data:this.interpolator(1),animationInfo:{progress:1,animating:!1}}),this.loopID&&this.getTimer().unsubscribe(this.loopID),this.queue.shift(),void this.traverseQueue();this.setState({data:this.interpolator(this.ease(n)),animationInfo:{progress:n,animating:n<1}})}},{key:"render",value:function(){return this.props.children(this.state.data,this.state.animationInfo)}}]),e}(u.a.Component);y.displayName="VictoryAnimation",y.propTypes={children:l.a.func,data:l.a.oneOfType([l.a.object,l.a.array]),delay:l.a.number,duration:l.a.number,easing:l.a.oneOf(["back","backIn","backOut","backInOut","bounce","bounceIn","bounceOut","bounceInOut","circle","circleIn","circleOut","circleInOut","linear","linearIn","linearOut","linearInOut","cubic","cubicIn","cubicOut","cubicInOut","elastic","elasticIn","elasticOut","elasticInOut","exp","expIn","expOut","expInOut","poly","polyIn","polyOut","polyInOut","quad","quadIn","quadOut","quadInOut","sin","sinIn","sinOut","sinInOut"]),onEnd:l.a.func},y.defaultProps={data:{},delay:0,duration:1e3,easing:"quadInOut"},y.contextTypes={getTimer:l.a.func},e.a=y},function(t,e,n){function r(t,e,n,i,s){var u=-1,c=t.length;for(n||(n=a),s||(s=[]);++u<c;){var l=t[u];e>0&&n(l)?e>1?r(l,e-1,n,i,s):o(s,l):i||(s[s.length]=l)}return s}var o=n(155),a=n(532);t.exports=r},function(t,e,n){(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.exports=n}).call(e,n(16))},function(t,e){function n(t){if(null!=t){try{return o.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var r=Function.prototype,o=r.toString;t.exports=n},function(t,e,n){function r(t,e,n,r,c,l){var f=n&s,p=t.length,h=e.length;if(p!=h&&!(f&&h>p))return!1;var d=l.get(t);if(d&&l.get(e))return d==e;var y=-1,g=!0,m=n&u?new o:void 0;for(l.set(t,e),l.set(e,t);++y<p;){var v=t[y],b=e[y];if(r)var _=f?r(b,v,y,e,t,l):r(v,b,y,t,e,l);if(void 0!==_){if(_)continue;g=!1;break}if(m){if(!a(e,function(t,e){if(!i(m,e)&&(v===t||c(v,t,n,r,l)))return m.push(e)})){g=!1;break}}else if(v!==b&&!c(v,b,n,r,l)){g=!1;break}}return l.delete(t),l.delete(e),g}var o=n(159),a=n(264),i=n(160),s=1,u=2;t.exports=r},function(t,e){function n(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}t.exports=n},function(t,e,n){var r=n(17),o=r.Uint8Array;t.exports=o},function(t,e,n){function r(t){return o(t,i,a)}var o=n(267),a=n(162),i=n(15);t.exports=r},function(t,e,n){function r(t,e,n){var r=e(t);return a(t)?r:o(r,n(t))}var o=n(155),a=n(13);t.exports=r},function(t,e){function n(){return[]}t.exports=n},function(t,e,n){function r(t,e){var n=i(t),r=!n&&a(t),l=!n&&!r&&s(t),p=!n&&!r&&!l&&c(t),h=n||r||l||p,d=h?o(t.length,String):[],y=d.length;for(var g in t)!e&&!f.call(t,g)||h&&("length"==g||l&&("offset"==g||"parent"==g)||p&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||u(g,y))||d.push(g);return d}var o=n(571),a=n(73),i=n(13),s=n(74),u=n(75),c=n(110),l=Object.prototype,f=l.hasOwnProperty;t.exports=r},function(t,e,n){function r(t){if(!o(t))return a(t);var e=[];for(var n in Object(t))s.call(t,n)&&"constructor"!=n&&e.push(n);return e}var o=n(76),a=n(575),i=Object.prototype,s=i.hasOwnProperty;t.exports=r},function(t,e){function n(t,e){return function(n){return t(e(n))}}t.exports=n},function(t,e,n){var r=n(42),o=n(17),a=r(o,"Set");t.exports=a},function(t,e,n){var r=n(42),o=n(17),a=r(o,"WeakMap");t.exports=a},function(t,e,n){function r(t){return t===t&&!o(t)}var o=n(14);t.exports=r},function(t,e){function n(t,e){return function(n){return null!=n&&(n[t]===e&&(void 0!==e||t in Object(n)))}}t.exports=n},function(t,e,n){function r(t,e,n){var r=null==t?void 0:o(t,e);return void 0===r?n:r}var o=n(112);t.exports=r},function(t,e,n){function r(t,e){return null!=t&&a(t,e,o)}var o=n(584),a=n(585);t.exports=r},function(t,e,n){var r=n(589),o=r();t.exports=o},function(t,e,n){function r(t,e,n){return e=a(void 0===e?t.length-1:e,0),function(){for(var r=arguments,i=-1,s=a(r.length-e,0),u=Array(s);++i<s;)u[i]=r[e+i];i=-1;for(var c=Array(e+1);++i<e;)c[i]=r[i];return c[e]=n(u),o(t,this,c)}}var o=n(78),a=Math.max;t.exports=r},function(t,e){function n(t){return function(){return t}}t.exports=n},function(t,e,n){var r=n(42),o=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},function(t,e){function n(t){var e=0,n=0;return function(){var i=a(),s=o-(i-n);if(n=i,s>0){if(++e>=r)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}var r=800,o=16,a=Date.now;t.exports=n},function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return o});var r=Math.PI/180,o=180/Math.PI},function(t,e,n){"use strict";function r(t){return function(e){var n,r,a=e.length,i=new Array(a),s=new Array(a),u=new Array(a);for(n=0;n<a;++n)r=Object(o.f)(e[n]),i[n]=r.r||0,s[n]=r.g||0,u[n]=r.b||0;return i=t(i),s=t(s),u=t(u),r.opacity=1,function(t){return r.r=i(t),r.g=s(t),r.b=u(t),r+""}}}var o=n(38),a=n(174),i=n(285),s=n(80);e.a=function t(e){function n(t,e){var n=r((t=Object(o.f)(t)).r,(e=Object(o.f)(e)).r),a=r(t.g,e.g),i=r(t.b,e.b),u=Object(s.a)(t.opacity,e.opacity);return function(e){return t.r=n(e),t.g=a(e),t.b=i(e),t.opacity=u(e),t+""}}var r=Object(s.b)(e);return n.gamma=t,n}(1);r(a.b),r(i.a)},function(t,e,n){"use strict";var r=n(174);e.a=function(t){var e=t.length;return function(n){var o=Math.floor(((n%=1)<0?++n:n)*e),a=t[(o+e-1)%e],i=t[o%e],s=t[(o+1)%e],u=t[(o+2)%e];return Object(r.a)((n-o/e)*e,a,i,s,u)}}},function(t,e,n){"use strict";e.a=function(t){return function(){return t}}},function(t,e,n){"use strict";var r=n(171);e.a=function(t,e){var n,o=e?e.length:0,a=t?Math.min(o,t.length):0,i=new Array(o),s=new Array(o);for(n=0;n<a;++n)i[n]=Object(r.a)(t[n],e[n]);for(;n<o;++n)s[n]=e[n];return function(t){for(n=0;n<a;++n)s[n]=i[n](t);return s}}},function(t,e,n){"use strict";e.a=function(t,e){var n=new Date;return t=+t,e-=t,function(r){return n.setTime(t+e*r),n}}},function(t,e,n){"use strict";var r=n(171);e.a=function(t,e){var n,o={},a={};null!==t&&"object"==typeof t||(t={}),null!==e&&"object"==typeof e||(e={});for(n in e)n in t?o[n]=Object(r.a)(t[n],e[n]):a[n]=e[n];return function(t){for(n in o)a[n]=o[n](t);return a}}},function(t,e,n){"use strict";function r(t){return function(){return t}}function o(t){return function(e){return t(e)+""}}var a=n(115),i=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,s=new RegExp(i.source,"g");e.a=function(t,e){var n,u,c,l=i.lastIndex=s.lastIndex=0,f=-1,p=[],h=[];for(t+="",e+="";(n=i.exec(t))&&(u=s.exec(e));)(c=u.index)>l&&(c=e.slice(l,c),p[f]?p[f]+=c:p[++f]=c),(n=n[0])===(u=u[0])?p[f]?p[f]+=u:p[++f]=u:(p[++f]=null,h.push({i:f,x:Object(a.a)(n,u)})),l=s.lastIndex;return l<e.length&&(c=e.slice(l),p[f]?p[f]+=c:p[++f]=c),p.length<2?h[0]?o(h[0].x):r(e):(e=h.length,function(t){for(var n,r=0;r<e;++r)p[(n=h[r]).i]=n.x(t);return p.join("")})}},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var i=n(14),s=n.n(i),u=n(176),c=n.n(u),l=n(5),f=n.n(l),p=n(29),h=n.n(p),d=n(4),y=n.n(d),g=n(0),m=n.n(g),v=n(1),b=n.n(v),_=n(30),x=n(302),w=n(81),O=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},C=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),k=function(t){function e(t){r(this,e);var n=o(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.getTimer=n.getTimer.bind(n),n.containerId=s()(t)&&void 0!==t.containerId?t.containerId:c()("victory-container-"),n}return a(e,t),C(e,[{key:"getChildContext",value:function(){return{portalUpdate:this.portalUpdate,portalRegister:this.portalRegister,portalDeregister:this.portalDeregister,getTimer:this.getTimer}}},{key:"componentWillMount",value:function(){var t=this;this.savePortalRef=function(e){return t.portalRef=e,e},this.portalUpdate=function(e,n){return t.portalRef.portalUpdate(e,n)},this.portalRegister=function(){return t.portalRef.portalRegister()},this.portalDeregister=function(e){return t.portalRef.portalDeregister(e)}}},{key:"componentWillUnmount",value:function(){this.context.getTimer||this.getTimer().stop()}},{key:"getTimer",value:function(){return this.context.getTimer?this.context.getTimer():(this.timer||(this.timer=new w.a),this.timer)}},{key:"getIdForElement",value:function(t){return this.containerId+"-"+t}},{key:"getChildren",value:function(t){return t.children}},{key:"renderContainer",value:function(t,e,n){var r=t.title,o=t.desc,a=t.portalComponent,i=t.className,s=t.width,u=t.height,c=t.portalZIndex,l=t.responsive,p=this.getChildren(t),h=l?{width:"100%",height:"100%"}:{width:s,height:u},d=y()({pointerEvents:"none",touchAction:"none",position:"relative"},h),g=y()({zIndex:c,position:"absolute",top:0,left:0},h),v=y()({pointerEvents:"all"},h),b=y()({overflow:"visible"},h),_={width:s,height:u,viewBox:e.viewBox,style:b};return m.a.createElement("div",{style:f()({},n,d),className:i,ref:t.containerRef},m.a.createElement("svg",O({},e,{style:v}),r?m.a.createElement("title",{id:this.getIdForElement("title")},r):null,o?m.a.createElement("desc",{id:this.getIdForElement("desc")},o):null,p),m.a.createElement("div",{style:g},m.a.cloneElement(a,O({},_,{ref:this.savePortalRef}))))}},{key:"render",value:function(){var t=this.props,e=t.width,n=t.height,r=t.responsive,o=t.events,a=r?this.props.style:h()(this.props.style,["height","width"]),i=y()({width:e,height:n,role:"img","aria-labelledby":this.getIdForElement("title")+" "+this.getIdForElement("desc"),viewBox:r?"0 0 "+e+" "+n:void 0},o);return this.renderContainer(this.props,i,a)}}]),e}(m.a.Component);k.displayName="VictoryContainer",k.role="container",k.propTypes={children:b.a.oneOfType([b.a.arrayOf(b.a.node),b.a.node]),className:b.a.string,containerId:b.a.oneOfType([b.a.number,b.a.string]),containerRef:b.a.func,desc:b.a.string,events:b.a.object,height:_.a.nonNegative,origin:b.a.shape({x:_.a.nonNegative,y:_.a.nonNegative}),polar:b.a.bool,portalComponent:b.a.element,portalZIndex:_.a.integer,responsive:b.a.bool,style:b.a.object,theme:b.a.object,title:b.a.string,width:_.a.nonNegative},k.defaultProps={className:"VictoryContainer",portalComponent:m.a.createElement(x.a,null),portalZIndex:99,responsive:!0},k.contextTypes={getTimer:b.a.func},k.childContextTypes={portalUpdate:b.a.func,portalRegister:b.a.func,portalDeregister:b.a.func,getTimer:b.a.func},e.a=k},function(t,e){function n(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););return t}t.exports=n},function(t,e,n){(function(t){function r(t,e){if(e)return t.slice();var n=t.length,r=c?c(n):new t.constructor(n);return t.copy(r),r}var o=n(17),a="object"==typeof e&&e&&!e.nodeType&&e,i=a&&"object"==typeof t&&t&&!t.nodeType&&t,s=i&&i.exports===a,u=s?o.Buffer:void 0,c=u?u.allocUnsafe:void 0;t.exports=r}).call(e,n(69)(t))},function(t,e,n){var r=n(155),o=n(170),a=n(162),i=n(268),s=Object.getOwnPropertySymbols,u=s?function(t){for(var e=[];t;)r(e,a(t)),t=o(t);return e}:i;t.exports=u},function(t,e,n){function r(t){return o(t,i,a)}var o=n(267),a=n(294),i=n(60);t.exports=r},function(t,e,n){function r(t,e){var n=e?o(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}var o=n(177);t.exports=r},function(t,e,n){function r(t){return"function"!=typeof t.constructor||i(t)?{}:o(a(t))}var o=n(119),a=n(170),i=n(76);t.exports=r},function(t,e){function n(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}t.exports=n},function(t,e){function n(t,e,n,r){for(var o=t.length,a=n+(r?1:-1);r?a--:++a<o;)if(e(t[a],a,t))return a;return-1}t.exports=n},function(t,e,n){function r(t){if(!t)return 0===t?t:0;if((t=o(t))===a||t===-a){return(t<0?-1:1)*i}return t===t?t:0}var o=n(301),a=1/0,i=1.7976931348623157e308;t.exports=r},function(t,e,n){function r(t){if("number"==typeof t)return t;if(a(t))return i;if(o(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=o(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(s,"");var n=c.test(t);return n||l.test(t)?f(t.slice(2),n?2:8):u.test(t)?i:+t}var o=n(14),a=n(77),i=NaN,s=/^\s+|\s+$/g,u=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,l=/^0o[0-7]+$/i,f=parseInt;t.exports=r},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var i=n(0),s=n.n(i),u=n(1),c=n.n(u),l=n(30),f=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),p=function(t){function e(t){r(this,e);var n=o(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.map={},n.index=1,n.portalUpdate=n.portalUpdate.bind(n),n.portalRegister=n.portalRegister.bind(n),n.portalDeregister=n.portalDeregister.bind(n),n}return a(e,t),f(e,[{key:"portalRegister",value:function(){return++this.index}},{key:"portalUpdate",value:function(t,e){this.map[t]=e,this.forceUpdate()}},{key:"portalDeregister",value:function(t){delete this.map[t]}},{key:"getChildren",value:function(){var t=this;return Object.keys(this.map).map(function(e){var n=t.map[e];return n?s.a.cloneElement(n,{key:e}):n})}},{key:"render",value:function(){return s.a.createElement("svg",this.props,this.getChildren())}}]),e}(s.a.Component);p.displayName="Portal",p.propTypes={className:c.a.string,height:l.a.nonNegative,style:c.a.object,viewBox:c.a.string,width:l.a.nonNegative},e.a=p},function(t,e,n){function r(t,e,n){(void 0===n||a(t[e],n))&&(void 0!==n||e in t)||o(t,e,n)}var o=n(117),a=n(41);t.exports=r},function(t,e,n){function r(t){return a(t)&&o(t)}var o=n(27),a=n(26);t.exports=r},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var i=n(14),s=n.n(i),u=n(306),c=n.n(u),l=n(9),f=n.n(l),p=n(5),h=n.n(p),d=n(0),y=n.n(d),g=n(1),m=n.n(g),v=n(259),b=n(11),_=n(8),x=n(81),w=n(307),O=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},C=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),k=function(t){function e(t){r(this,e);var n=o(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));n.state={nodesShouldLoad:!1,nodesDoneLoad:!1};var a=n.props.children,i=a.props.polar;return n.continuous=!i&&a.type&&!0===a.type.continuous,n.getTransitionState=n.getTransitionState.bind(n),n.getTimer=n.getTimer.bind(n),n}return a(e,t),C(e,[{key:"componentDidMount",value:function(){this.setState({nodesShouldLoad:!0})}},{key:"componentWillReceiveProps",value:function(t){var e=this;this.getTimer().bypassAnimation(),this.setState(this.getTransitionState(this.props,t),function(){return e.getTimer().resumeAnimation()})}},{key:"componentWillUnmount",value:function(){this.getTimer().stop()}},{key:"getTimer",value:function(){return this.context.getTimer?this.context.getTimer():(this.timer||(this.timer=new x.a),this.timer)}},{key:"getTransitionState",value:function(t,e){var n=t.animate;if(n){if(n.parentState){return{oldProps:n.parentState.nodesWillExit?t:null,nextProps:e}}var r=y.a.Children.toArray(t.children),o=y.a.Children.toArray(e.children),a=w.a.getInitialTransitionState(r,o),i=a.nodesWillExit;return{nodesWillExit:i,nodesWillEnter:a.nodesWillEnter,childrenTransitions:a.childrenTransitions,nodesShouldEnter:a.nodesShouldEnter,oldProps:i?t:null,nextProps:e}}return{}}},{key:"getDomainFromChildren",value:function(t,e){var n=function(t){return t.reduce(function(t,r){if(r.type&&f()(r.type.getDomain)){var o=r.props&&r.type.getDomain(r.props,e);return o?t.concat(o):t}return r.props&&r.props.children?t.concat(n(y.a.Children.toArray(r.props.children))):t},[])},r=y.a.Children.toArray(t.children)[0],o=r.props||{},a=Array.isArray(o.domain)?o.domain:o.domain&&o.domain[e];if(!o.children&&a)return a;var i=n([r]);return 0===i.length?[0,1]:[b.a.getMinValue(i),b.a.getMaxValue(i)]}},{key:"pickProps",value:function(){return this.state&&this.state.nodesWillExit?this.state.oldProps||this.props:this.props}},{key:"pickDomainProps",value:function(t){var e=s()(t.animate)&&t.animate.parentState;return e&&e.nodesWillExit?this.continous||e.continuous?e.nextProps||this.state.nextProps||t:t:this.continuous&&this.state.nodesWillExit?this.state.nextProps||t:t}},{key:"getClipWidth",value:function(t,e){var n=this.transitionProps?this.transitionProps.clipWidth:void 0;return void 0!==n?n:function(){var n=_.a.getRange(e.props,"x");return n?Math.abs(n[1]-n[0]):t.width}()}},{key:"render",value:function(){var t=this,e=this.pickProps(),n=s()(this.props.animate)&&this.props.animate.getTransitions?this.props.animate.getTransitions:w.a.getTransitionPropsFactory(e,this.state,function(e){return t.setState(e)}),r=y.a.Children.toArray(e.children)[0],o=n(r);this.transitionProps=o;var a={x:this.getDomainFromChildren(this.pickDomainProps(e),"x"),y:this.getDomainFromChildren(e,"y")},i=this.getClipWidth(e,r),u=h()({domain:a,clipWidth:i},o,r.props),l=e.animationWhitelist||[],f=l.concat(["clipWidth"]),p=f.length?c()(u,f):u;return y.a.createElement(v.a,O({},u.animate,{data:p}),function(e){if(r.props.groupComponent){var n=t.continuous?y.a.cloneElement(r.props.groupComponent,{clipWidth:e.clipWidth||0}):r.props.groupComponent;return y.a.cloneElement(r,h()({animate:null,animating:!0,groupComponent:n},e,u))}return y.a.cloneElement(r,h()({animate:null,animating:!0},e,u))})}}]),e}(y.a.Component);k.displayName="VictoryTransition",k.propTypes={animate:m.a.oneOfType([m.a.bool,m.a.object]),animationWhitelist:m.a.array,children:m.a.node},e.a=k},function(t,e,n){var r=n(639),o=n(179),a=o(function(t,e){return null==t?{}:r(t,e)});t.exports=a},function(t,e,n){"use strict";function r(t,e){return(t.key||e).toString()}function o(t){return t.reduce(function(t,e,n){return t[r(e,n)]=e,t},{})}function a(t,e){var n=!1,r=Object.keys(t).reduce(function(t,r){return r in e||(n=!0,t[r]=!0),t},{});return n&&r}function i(t,e){var n=t&&o(t),r=e&&o(e);return{entering:n&&a(r,n),exiting:r&&a(n,r)}}function s(t){return t.type&&t.type.getData?t.type.getData(t.props):t.props&&t.props.data||!1}function u(t,e){var n=!1,r=!1,o=function(t,e){if(!e||t.type!==e.type)return{};var o=i(s(t),s(e))||{},a=o.entering,u=o.exiting;return n=n||!!u,r=r||!!a,{entering:a||!1,exiting:u||!1}},a=function(t,e){return t.map(function(n,r){return n&&n.props&&n.props.children?a(O.a.Children.toArray(t[r].props.children),O.a.Children.toArray(e[r].props.children)):o(n,e[r])})},u=a(O.a.Children.toArray(t),O.a.Children.toArray(e));return{nodesWillExit:n,nodesWillEnter:r,childrenTransitions:u,nodesShouldEnter:!1}}function c(t,e){var n=t.onEnter&&t.onEnter.after?t.onEnter.after:m.a;return{data:e.map(function(t,r){return x()({},t,n(t,r,e))})}}function l(t,e,n,r){if((t=x()({},t,{onEnd:r}))&&t.onLoad&&!t.onLoad.duration)return{animate:t,data:n};var o=t.onLoad&&t.onLoad.before?t.onLoad.before:m.a;return n=n.map(function(t,e){return x()({},t,o(t,e,n))}),{animate:t,data:n,clipWidth:0}}function f(t,e,n){if((t=x()({},t,{onEnd:n}))&&t.onLoad&&!t.onLoad.duration)return{animate:t,data:e};var r=t.onLoad&&t.onLoad.after?t.onLoad.after:m.a;return e=e.map(function(t,n){return x()({},t,r(t,n,e))}),{animate:t,data:e}}function p(t,e,n,r,o){var a=t&&t.onExit;if(t=x()({},t,a),r){t.onEnd=o;var i=t.onExit&&t.onExit.before?t.onExit.before:m.a;n=n.map(function(t,e){var o=(t.key||e).toString();return r[o]?x()({},t,i(t,e,n)):t})}return{animate:t,data:n}}function h(t,e,n,r,o){if(r){t=x()({},t,{onEnd:o});var a=t.onEnter&&t.onEnter.before?t.onEnter.before:m.a;n=n.map(function(t,e){var o=(t.key||e).toString();return r[o]?x()({},t,a(t,e,n)):t})}return{animate:t,data:n}}function d(t,e,n,o){var a=t&&t.onEnter;if(t=x()({},t,a),n){t.onEnd=o;var i=t.onEnter&&t.onEnter.after?t.onEnter.after:m.a;e=e.map(function(t,o){var a=r(t,o);return n[a]?x()({},t,i(t,o,e)):t})}return{animate:t,data:e}}function y(t,e,n){var r=e&&e.nodesWillExit,o=e&&e.nodesWillEnter,a=e&&e.nodesShouldEnter,i=e&&e.nodesShouldLoad,u=e&&e.nodesDoneLoad,y=e&&e.childrenTransitions||[],g={enter:t.animate&&t.animate.onEnter&&t.animate.onEnter.duration,exit:t.animate&&t.animate.onExit&&t.animate.onExit.duration,load:t.animate&&t.animate.onLoad&&t.animate.onLoad.duration,move:t.animate&&t.animate.duration},m=function(t,e,r){return i?f(r,e,function(){n({nodesShouldLoad:!1,nodesDoneLoad:!0})}):l(r,t,e,function(){n({nodesDoneLoad:!0})})},v=function(t,e,r,o){return p(o,e,r,t,function(){n({nodesWillExit:!1})})},_=function(t,e,r,o){return a?d(o,r,t,function(){n({nodesWillEnter:!1})}):h(o,e,r,t,function(){n({nodesShouldEnter:!0})})},w=function(t,e){var n=t.props.animate;if(!t.type)return{};var r=t.props&&t.props.polar?t.type.defaultPolarTransitions||t.type.defaultTransitions:t.type.defaultTransitions;if(r){var o=n[e]&&n[e].duration;return void 0!==o?o:r[e]&&r[e].duration}return{}};return function(n,i){var l=s(n)||[],f=b()({},t.animate,n.props.animate),p=n.props.polar?n.type.defaultPolarTransitions||n.type.defaultTransitions:n.type.defaultTransitions;f.onExit=b()({},f.onExit,p&&p.onExit),f.onEnter=b()({},f.onEnter,p&&p.onEnter),f.onLoad=b()({},f.onLoad,p&&p.onLoad);var h=y[i]||y[0];if(!u){var d=void 0!==g.load?g.load:w(n,"onLoad"),O={duration:d};return m(n,l,x()({},f,O))}if(r){var C=h&&h.exiting,k=void 0!==g.exit?g.exit:w(n,"onExit"),M=C?{duration:k}:{delay:k};return v(C,n,l,x()({},f,M))}if(o){var P=h&&h.entering,E=void 0!==g.enter?g.enter:w(n,"onEnter"),A=void 0!==g.move?g.move:n.props.animate&&n.props.animate.duration,T={duration:a&&P?E:A};return _(P,n,l,x()({},f,T))}return!e&&f&&f.onExit?c(f,l):{animate:f,data:l}}}var g=n(28),m=n.n(g),v=n(5),b=n.n(v),_=n(4),x=n.n(_),w=n(0),O=n.n(w);e.a={getInitialTransitionState:u,getTransitionPropsFactory:y}},function(t,e,n){function r(t,e,n,r,w,O,C,k){var M=e&g;if(!M&&"function"!=typeof t)throw new TypeError(d);var P=r?r.length:0;if(P||(e&=~(b|_),r=w=void 0),C=void 0===C?C:x(h(C),0),k=void 0===k?k:h(k),P-=w?w.length:0,e&_){var E=r,A=w;r=w=void 0}var T=M?void 0:c(t),S=[t,e,n,r,w,E,A,O,C,k];if(T&&l(S,T),t=S[0],e=S[1],n=S[2],r=S[3],w=S[4],k=S[9]=void 0===S[9]?M?0:t.length:x(S[9]-P,0),!k&&e&(m|v)&&(e&=~(m|v)),e&&e!=y)j=e==m||e==v?i(t,e,k):e!=b&&e!=(y|b)||w.length?s.apply(void 0,S):u(t,e,n,r);else var j=a(t,e,n);return p((T?o:f)(j,S),t,e)}var o=n(309),a=n(644),i=n(645),s=n(311),u=n(656),c=n(190),l=n(657),f=n(318),p=n(319),h=n(180),d="Expected a function",y=1,g=2,m=8,v=16,b=32,_=64,x=Math.max;t.exports=r},function(t,e,n){var r=n(28),o=n(310),a=o?function(t,e){return o.set(t,e),t}:r;t.exports=a},function(t,e,n){var r=n(273),o=r&&new r;t.exports=o},function(t,e,n){function r(t,e,n,b,_,x,w,O,C,k){function M(){for(var h=arguments.length,d=Array(h),y=h;y--;)d[y]=arguments[y];if(T)var g=c(M),m=i(d,g);if(b&&(d=o(d,b,_,T)),x&&(d=a(d,x,w,T)),h-=m,T&&h<k){var v=f(d,g);return u(t,e,r,M.placeholder,n,d,v,O,C,k-h)}var D=E?n:this,N=A?D[t]:t;return h=d.length,O?d=l(d,O):S&&h>1&&d.reverse(),P&&C<h&&(d.length=C),this&&this!==p&&this instanceof M&&(N=j||s(N)),N.apply(D,d)}var P=e&m,E=e&h,A=e&d,T=e&(y|g),S=e&v,j=A?void 0:s(t);return M}var o=n(312),a=n(313),i=n(646),s=n(122),u=n(314),c=n(123),l=n(655),f=n(83),p=n(17),h=1,d=2,y=8,g=16,m=128,v=512;t.exports=r},function(t,e){function n(t,e,n,o){for(var a=-1,i=t.length,s=n.length,u=-1,c=e.length,l=r(i-s,0),f=Array(c+l),p=!o;++u<c;)f[u]=e[u];for(;++a<s;)(p||a<i)&&(f[n[a]]=t[a]);for(;l--;)f[u++]=t[a++];return f}var r=Math.max;t.exports=n},function(t,e){function n(t,e,n,o){for(var a=-1,i=t.length,s=-1,u=n.length,c=-1,l=e.length,f=r(i-u,0),p=Array(f+l),h=!o;++a<f;)p[a]=t[a];for(var d=a;++c<l;)p[d+c]=e[c];for(;++s<u;)(h||a<i)&&(p[d+n[s]]=t[a++]);return p}var r=Math.max;t.exports=n},function(t,e,n){function r(t,e,n,r,h,d,y,g,m,v){var b=e&l,_=b?y:void 0,x=b?void 0:y,w=b?d:void 0,O=b?void 0:d;e|=b?f:p,(e&=~(b?p:f))&c||(e&=~(s|u));var C=[t,e,h,w,_,O,x,g,m,v],k=n.apply(void 0,C);return o(t)&&a(k,C),k.placeholder=r,i(k,t,e)}var o=n(315),a=n(318),i=n(319),s=1,u=2,c=4,l=8,f=32,p=64;t.exports=r},function(t,e,n){function r(t){var e=i(t),n=s[e];if("function"!=typeof n||!(e in o.prototype))return!1;if(t===n)return!0;var r=a(n);return!!r&&t===r[0]}var o=n(188),a=n(190),i=n(317),s=n(648);t.exports=r},function(t,e){function n(){}t.exports=n},function(t,e,n){function r(t){for(var e=t.name+"",n=o[e],r=i.call(o,e)?n.length:0;r--;){var a=n[r],s=a.func;if(null==s||s==t)return a.name}return e}var o=n(647),a=Object.prototype,i=a.hasOwnProperty;t.exports=r},function(t,e,n){var r=n(309),o=n(282),a=o(r);t.exports=a},function(t,e,n){function r(t,e,n){var r=e+"";return i(t,a(r,s(o(r),n)))}var o=n(650),a=n(651),i=n(169),s=n(652);t.exports=r},function(t,e,n){function r(t,e,n){return e===e?i(t,e,n):o(t,a,n)}var o=n(299),a=n(653),i=n(654);t.exports=r},function(t,e){function n(t,e,n){for(var r=-1,o=null==t?0:t.length;++r<o;)if(n(e,t[r]))return!0;return!1}t.exports=n},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var i=n(0),s=n.n(i),u=n(1),c=n.n(u),l=n(30),f=n(8),p=n(11),h=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),d=function(t){function e(){return r(this,e),o(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return a(e,t),h(e,[{key:"componentWillMount",value:function(){Object.assign(this,this.calculateAttributes(this.props))}},{key:"shouldComponentUpdate",value:function(t){var e=this.calculateAttributes(t),n=this.props,r=n.className,o=n.clipId,a=n.clipWidth,i=n.translateX,s=n.translateY;return!p.a.allSetsEqual([[r,t.className],[o,t.clipId],[a,t.clipWidth],[i,t.translateX],[s,t.translateY],[this.x,e.x],[this.y,e.y],[this.height,e.height],[this.width,e.width]])&&(Object.assign(this,e),!0)}},{key:"calculateAttributes",value:function(t){var e=t.polar,n=t.origin,r=t.clipWidth,o=void 0===r?0:r,a=t.clipHeight,i=void 0===a?0:a,s=t.translateX,u=void 0===s?0:s,c=t.translateY,l=void 0===c?0:c,p=f.a.getPadding({padding:t.clipPadding}),h=t.radius||f.a.getRadius(t);return{x:(e?n.x:u)-p.left,y:(e?n.y:l)-p.top,width:Math.max((e?h:o)+p.left+p.right,0),height:Math.max((e?h:i)+p.top+p.bottom,0)}}},{key:"renderClipPath",value:function(t,e){return s.a.createElement("defs",null,s.a.createElement("clipPath",{id:e},s.a.createElement("rect",t)))}},{key:"renderPolarClipPath",value:function(t,e){return s.a.createElement("defs",null,s.a.createElement("clipPath",{id:e},s.a.createElement("circle",t)))}},{key:"render",value:function(){var t=this.props,e=t.clipId,n=t.className,r=t.polar,o=r?{className:n,cx:this.x,cy:this.y,r:Math.max(this.width,this.height)}:{className:n,x:this.x,y:this.y,width:this.width,height:this.height};return r?this.renderPolarClipPath(o,e):this.renderClipPath(o,e)}}]),e}(s.a.Component);d.propTypes={className:c.a.string,clipHeight:l.a.nonNegative,clipId:c.a.oneOfType([c.a.number,c.a.string]),clipPadding:c.a.oneOfType([c.a.number,c.a.shape({top:c.a.number,bottom:c.a.number,left:c.a.number,right:c.a.number})]),clipWidth:l.a.nonNegative,origin:c.a.shape({x:c.a.number,y:c.a.number}),polar:c.a.bool,radius:c.a.number,translateX:c.a.number,translateY:c.a.number},e.a=d},function(t,e,n){"use strict";function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var s=n(185),u=n.n(s),c=n(124),l=n.n(c),f=n(306),p=n.n(f),h=n(20),d=n.n(h),y=n(9),g=n.n(y),m=n(15),v=n.n(m),b=n(4),_=n.n(b),x=n(5),w=n.n(x),O=n(0),C=n.n(O),k=n(193),M=n(11),P=n(305),E=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),A=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var a=Object.getPrototypeOf(e);return null===a?void 0:t(a,n,r)}if("value"in o)return o.value;var i=o.get;if(void 0!==i)return i.call(r)},T=[{name:"parent",index:"parent"},{name:"data"},{name:"labels"}];e.a=function(t,e){return function(n){function s(){return o(this,s),a(this,(s.__proto__||Object.getPrototypeOf(s)).apply(this,arguments))}return i(s,n),E(s,[{key:"componentWillMount",value:function(){g()(A(s.prototype.__proto__||Object.getPrototypeOf(s.prototype),"componentWillMount",this))&&A(s.prototype.__proto__||Object.getPrototypeOf(s.prototype),"componentWillMount",this).call(this);var t=k.a.getScopedEvents.bind(this);this.getEvents=d()(k.a.getEvents.bind(this),t),this.getEventState=k.a.getEventState.bind(this);var e=this.getCalculatedValues(this.props);this.cacheValues(e),this.stateChanges=this.getStateChanges(this.props,e)}},{key:"shouldComponentUpdate",value:function(t){var e=this.getCalculatedValues(t);if(this.props.animate||this.props.animating)return this.cacheValues(e),!0;var n=this.getStateChanges(t,e);return M.a.areVictoryPropsEqual(this.calculatedState,n)?!M.a.areVictoryPropsEqual(this.props,t)&&(this.cacheValues(e),!0):(this.cacheValues(e),this.calculatedState=n,!0)}},{key:"getStateChanges",value:function(t,n){var r=this,o=n.hasEvents,a=n.getSharedEventState;if(!o)return{};var i=function(t,e){var n=w()({},r.getEventState(t,e),a(t,e));return u()(n)?void 0:n};return e=e||{},(e.components||T).map(function(e){return t.standalone||"parent"!==e.name?void 0!==e.index?i(e.index,e.name):n.dataKeys.map(function(t){return i(t,e.name)}):void 0}).filter(Boolean)}},{key:"getCalculatedValues",value:function(e){var n=e.sharedEvents,r=t.expectedComponents,o=k.a.getComponentEvents(e,r),a=n&&g()(n.getEventState)?n.getEventState:function(){},i=this.getBaseProps(e,a);return{componentEvents:o,getSharedEventState:a,baseProps:i,dataKeys:v()(i).filter(function(t){return"parent"!==t}),hasEvents:e.events||e.sharedEvents||o,events:this.getAllEvents(e)}}},{key:"cacheValues",value:function(t){var e=this;v()(t).forEach(function(n){e[n]=t[n]})}},{key:"getBaseProps",value:function(e,n){n=n||this.getSharedEventState;var r=n("parent","parent"),o=this.getEventState("parent","parent"),a=w()({},o,r),i=a.parentControlledProps,s=i?p()(a,i):{},u=w()({},s,e);return g()(t.getBaseProps)?t.getBaseProps(u):{}}},{key:"getAllEvents",value:function(t){if(Array.isArray(this.componentEvents)){var e;return Array.isArray(t.events)?(e=this.componentEvents).concat.apply(e,r(t.events)):this.componentEvents}return t.events}},{key:"getComponentProps",value:function(e,n,r){var o=t.role,a=this.dataKeys&&this.dataKeys[r]||r,i=this.baseProps[a][n]||this.baseProps[a];if(i||this.hasEvents){if(this.hasEvents){var s=this.getEvents(this.props,n,a),u=w()({index:r,key:o+"-"+n+"-"+a},this.getEventState(a,n),this.getSharedEventState(a,n),e.props,i),c=w()({},k.a.getPartialEvents(s,a,u),u.events);return _()({},u,{events:c})}return w()({index:r,key:o+"-"+n+"-"+a},e.props,i)}}},{key:"renderContainer",value:function(t,e){var n=t.type&&"container"===t.type.role,r=n?this.getComponentProps(t,"parent","parent"):{};return C.a.cloneElement(t,r,e)}},{key:"animateComponent",value:function(t,e){return C.a.createElement(P.a,{animate:t.animate,animationWhitelist:e},C.a.createElement(this.constructor,t))}},{key:"renderContinuousData",value:function(t){var e=this,n=t.dataComponent,o=t.labelComponent,a=t.groupComponent,i=l()(this.dataKeys,"all"),s=i.reduce(function(t,n){var r=e.getComponentProps(o,"labels",n);return r&&void 0!==r.text&&null!==r.text&&(t=t.concat(C.a.cloneElement(o,r))),t},[]),u=this.getComponentProps(n,"data","all"),c=[C.a.cloneElement(n,u)].concat(r(s));return this.renderContainer(a,c)}},{key:"renderData",value:function(t){var e=this,n=t.dataComponent,o=t.labelComponent,a=t.groupComponent,i=this.dataKeys.map(function(t,r){var o=e.getComponentProps(n,"data",r);return C.a.cloneElement(n,o)}),s=this.dataKeys.map(function(t,n){var r=e.getComponentProps(o,"labels",n);if(void 0!==r.text&&null!==r.text)return C.a.cloneElement(o,r)}).filter(Boolean),u=[].concat(r(i),r(s));return this.renderContainer(a,u)}}]),s}(t)}},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var i=n(0),s=n.n(i),u=n(1),c=n.n(u),l=n(8),f=n(11),p=n(674),h=n(22),d=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},y=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),g=function(t){function e(){return r(this,e),o(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return a(e,t),y(e,[{key:"componentWillMount",value:function(){var t=this.calculateAttributes(this.props),e=t.style,n=t.path;this.style=e,this.path=n}},{key:"shouldComponentUpdate",value:function(t){var e=this.calculateAttributes(t),n=e.style,r=e.path,o=this.props,a=o.className,i=o.datum,s=o.x,u=o.y,c=o.size,l=o.symbol;return!f.a.allSetsEqual([[a,t.className],[s,t.x],[u,t.y],[c,t.size],[l,t.symbol],[r,this.path],[n,this.style],[i,t.datum]])&&(this.style=n,this.path=r,!0)}},{key:"calculateAttributes",value:function(t){var e=t.style,n=t.datum,r=t.active;return{style:l.a.evaluateStyle(e,n,r),path:this.getPath(t)}}},{key:"getPath",value:function(t){var e=t.datum,n=t.active,r=t.x,o=t.y,a=l.a.evaluateProp(t.size,e,n);if(t.getPath)return t.getPath(r,o,a);var i={circle:p.a.circle,square:p.a.square,diamond:p.a.diamond,triangleDown:p.a.triangleDown,triangleUp:p.a.triangleUp,plus:p.a.plus,star:p.a.star},s=l.a.evaluateProp(t.symbol,e,n);return("function"==typeof i[s]?i[s]:i.circle)(r,o,a)}},{key:"renderPoint",value:function(t,e,n){var r=this.props,o=r.role,a=r.shapeRendering,i=r.className;return s.a.createElement("path",d({},n,{d:t,className:i,role:o||"presentation",shapeRendering:a||"auto",style:e}))}},{key:"render",value:function(){return this.renderPoint(this.path,this.style,this.props.events)}}]),e}(s.a.Component);g.propTypes=d({},h.a,{datum:c.a.object,getPath:c.a.func,size:c.a.oneOfType([c.a.number,c.a.func]),symbol:c.a.oneOfType([c.a.oneOf(["circle","diamond","plus","square","star","triangleDown","triangleUp"]),c.a.func]),x:c.a.number,y:c.a.number}),e.a=g},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var i=n(4),s=n.n(i),u=n(0),c=n.n(u),l=n(1),f=n.n(l),p=n(8),h=n(11),d=n(22),y=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},g=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),m=function(t){function e(){return r(this,e),o(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return a(e,t),g(e,[{key:"componentWillMount",value:function(){this.style=this.getStyle(this.props)}},{key:"shouldComponentUpdate",value:function(t){var e=this.props,n=e.className,r=e.x,o=e.y,a=this.getStyle(t);return!h.a.allSetsEqual([[n,t.className],[r,t.x],[o,t.y],[a,this.style]])&&(this.style=a,!0)}},{key:"getStyle",value:function(t){var e=t.style,n=t.datum,r=t.active;return p.a.evaluateStyle(s()({fill:"none"},e),n,r)}},{key:"renderBorder",value:function(t,e,n){var r=this.props,o=r.role,a=r.shapeRendering,i=r.className;return c.a.createElement("rect",y({},t,{className:i,style:e,role:o||"presentation",shapeRendering:a||"auto",vectorEffect:"non-scaling-stroke"},n))}},{key:"render",value:function(){var t=this.props,e=t.x,n=t.y,r=t.width,o=t.height,a=t.events;return this.renderBorder({x:e,y:n,width:r,height:o},this.style,a)}}]),e}(c.a.Component);m.propTypes=y({},d.a,{height:f.a.number,width:f.a.number,x:f.a.number,y:f.a.number}),e.a=m},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var i=n(0),s=n.n(i),u=n(1),c=n.n(u),l=n(8),f=n(11),p=n(22),h=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},d=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),y=function(t){function e(){return r(this,e),o(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return a(e,t),d(e,[{key:"componentWillMount",value:function(){var t=this.calculateAttributes(this.props),e=t.style,n=t.path;this.style=e,this.path=n}},{key:"shouldComponentUpdate",value:function(t){var e=this.calculateAttributes(t),n=e.style,r=e.path,o=this.props,a=o.className,i=o.cornerRadius,s=o.datum,u=o.dx,c=o.dy,l=o.height,p=o.width,h=o.orientation,d=o.pointerLength,y=o.pointerWidth,g=o.x,m=o.y;return!f.a.allSetsEqual([[a,t.className],[i,t.cornerRadius],[u,t.dx],[c,t.dy],[g,t.x],[m,t.y],[l,t.height],[p,t.width],[h,t.orientation],[d,t.pointerLength],[y,t.pointerWidth],[r,this.path],[n,this.style],[s,t.datum]])&&(this.style=n,this.path=r,!0)}},{key:"calculateAttributes",value:function(t){var e=t.datum,n=t.active,r=t.style;return{style:l.a.evaluateStyle(r,e,n),path:this.getFlyoutPath(t)}}},{key:"getVerticalPath",value:function(t){var e=t.pointerLength,n=t.pointerWidth,r=t.cornerRadius,o=t.orientation,a=t.width,i=t.height,s="top"===o?1:-1,u=t.x+(t.dx||0),c=t.y-s*(t.dy||0),l=c-s*e,f=c-s*e-s*i,p=u+a/2,h=u-a/2,d="top"===o?"0 0 0":"0 0 1",y=Math.round(r)+" "+Math.round(r)+" "+d;return"M "+Math.round(u-n/2)+", "+Math.round(l)+"\n      L "+Math.round(u)+", "+Math.round(c)+"\n      L "+Math.round(u+n/2)+", "+Math.round(l)+"\n      L "+Math.round(p-r)+", "+Math.round(l)+"\n      A "+y+" "+Math.round(p)+", "+Math.round(l-s*r)+"\n      L "+Math.round(p)+", "+Math.round(f+s*r)+"\n      A "+y+" "+Math.round(p-r)+", "+Math.round(f)+"\n      L "+Math.round(h+r)+", "+Math.round(f)+"\n      A "+y+" "+Math.round(h)+", "+Math.round(f+s*r)+"\n      L "+Math.round(h)+", "+Math.round(l-s*r)+"\n      A "+y+" "+Math.round(h+r)+", "+Math.round(l)+"\n      z"}},{key:"getHorizontalPath",value:function(t){var e=t.pointerLength,n=t.pointerWidth,r=t.cornerRadius,o=t.orientation,a=t.width,i=t.height,s="right"===o?1:-1,u=t.x+s*(t.dx||0),c=t.y-(t.dy||0),l=u+s*e,f=u+s*e+s*a,p=c+i/2,h=c-i/2,d="right"===o?"0 0 0":"0 0 1",y=Math.round(r)+" "+Math.round(r)+" "+d;return"M "+Math.round(l)+", "+Math.round(c-n/2)+"\n      L "+Math.round(u)+", "+Math.round(c)+"\n      L "+Math.round(l)+", "+Math.round(c+n/2)+"\n      L "+Math.round(l)+", "+Math.round(p-r)+"\n      A "+y+" "+Math.round(l+s*r)+", "+Math.round(p)+"\n      L "+(f-s*r)+", "+p+"\n      A "+y+" "+Math.round(f)+", "+Math.round(p-r)+"\n      L "+f+", "+(h+r)+"\n      A "+y+" "+Math.round(f-s*r)+", "+Math.round(h)+"\n      L "+Math.round(l+s*r)+", "+Math.round(h)+"\n      A "+y+" "+Math.round(l)+", "+Math.round(h+r)+"\n      z"}},{key:"getFlyoutPath",value:function(t){var e=t.orientation||"top";return"left"===e||"right"===e?this.getHorizontalPath(t):this.getVerticalPath(t)}},{key:"renderFlyout",value:function(t,e,n){var r=this.props,o=r.role,a=r.shapeRendering,i=r.className;return s.a.createElement("path",h({className:i,d:t,style:e,shapeRendering:a||"auto",role:o||"presentation"},n))}},{key:"render",value:function(){return this.renderFlyout(this.path,this.style,this.props.events)}}]),e}(s.a.Component);y.propTypes=h({},p.a,{cornerRadius:c.a.number,datum:c.a.object,dx:c.a.number,dy:c.a.number,height:c.a.number,orientation:c.a.oneOf(["top","bottom","left","right"]),pointerLength:c.a.number,pointerWidth:c.a.number,width:c.a.number,x:c.a.number,y:c.a.number}),e.a=y},function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"c",function(){return o}),n.d(e,"e",function(){return a}),n.d(e,"d",function(){return i}),n.d(e,"b",function(){return s});var r=function(t){var e=void 0!==t._y1?t._y1:t._y;return null!==e&&void 0!==e&&null!==t._y0},o=function(t){return function(e){return t.x(void 0!==e._x1?e._x1:e._x)}},a=function(t){return function(e){return t.y(void 0!==e._y1?e._y1:e._y)}},i=function(t){return function(e){return t.y(e._y0)}},s=function(t){return function(e){return-1*t.x(void 0!==e._x1?e._x1:e._x)+Math.PI/2}}},function(t,e,n){"use strict";var r=n(84),o=n(44),a=n(127),i=n(197),s=n(198);e.a=function(){function t(t){var e,o,a,i,s,y=t.length,g=!1,m=new Array(y),v=new Array(y);for(null==p&&(d=h(s=Object(r.a)())),e=0;e<=y;++e){if(!(e<y&&f(i=t[e],e,t))===g)if(g=!g)o=e,d.areaStart(),d.lineStart();else{for(d.lineEnd(),d.lineStart(),a=e-1;a>=o;--a)d.point(m[a],v[a]);d.lineEnd(),d.areaEnd()}g&&(m[e]=+n(i,e,t),v[e]=+c(i,e,t),d.point(u?+u(i,e,t):m[e],l?+l(i,e,t):v[e]))}if(s)return d=null,s+""||null}function e(){return Object(i.a)().defined(f).curve(h).context(p)}var n=s.a,u=null,c=Object(o.a)(0),l=s.b,f=Object(o.a)(!0),p=null,h=a.a,d=null;return t.x=function(e){return arguments.length?(n="function"==typeof e?e:Object(o.a)(+e),u=null,t):n},t.x0=function(e){return arguments.length?(n="function"==typeof e?e:Object(o.a)(+e),t):n},t.x1=function(e){return arguments.length?(u=null==e?null:"function"==typeof e?e:Object(o.a)(+e),t):u},t.y=function(e){return arguments.length?(c="function"==typeof e?e:Object(o.a)(+e),l=null,t):c},t.y0=function(e){return arguments.length?(c="function"==typeof e?e:Object(o.a)(+e),t):c},t.y1=function(e){return arguments.length?(l=null==e?null:"function"==typeof e?e:Object(o.a)(+e),t):l},t.lineX0=t.lineY0=function(){return e().x(n).y(c)},t.lineY1=function(){return e().x(n).y(l)},t.lineX1=function(){return e().x(u).y(c)},t.defined=function(e){return arguments.length?(f="function"==typeof e?e:Object(o.a)(!!e),t):f},t.curve=function(e){return arguments.length?(h=e,null!=p&&(d=h(p)),t):h},t.context=function(e){return arguments.length?(null==e?p=d=null:d=h(p=e),t):p},t}},function(t,e,n){"use strict";function r(t){this._curve=t}function o(t){function e(e){return new r(t(e))}return e._curve=t,e}n.d(e,"a",function(){return i}),e.b=o;var a=n(127),i=o(a.a);r.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(t,e){this._curve.point(e*Math.sin(t),e*-Math.cos(t))}}},function(t,e,n){"use strict";function r(t){var e=t.curve;return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t.curve=function(t){return arguments.length?e(Object(o.b)(t)):e()._curve},t}e.b=r;var o=n(329),a=n(197);e.a=function(){return r(Object(a.a)().curve(o.a))}},function(t,e,n){"use strict";e.a=function(t,e){return[(e=+e)*Math.cos(t-=Math.PI/2),e*Math.sin(t)]}},function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r=Array.prototype.slice},function(t,e,n){"use strict";var r=n(85);e.a={draw:function(t,e){var n=Math.sqrt(e/r.j);t.moveTo(n,0),t.arc(0,0,n,0,r.m)}}},function(t,e,n){"use strict";e.a={draw:function(t,e){var n=Math.sqrt(e/5)/2;t.moveTo(-3*n,-n),t.lineTo(-n,-n),t.lineTo(-n,-3*n),t.lineTo(n,-3*n),t.lineTo(n,-n),t.lineTo(3*n,-n),t.lineTo(3*n,n),t.lineTo(n,n),t.lineTo(n,3*n),t.lineTo(-n,3*n),t.lineTo(-n,n),t.lineTo(-3*n,n),t.closePath()}}},function(t,e,n){"use strict";var r=Math.sqrt(1/3),o=2*r;e.a={draw:function(t,e){var n=Math.sqrt(e/o),a=n*r;t.moveTo(0,-n),t.lineTo(a,0),t.lineTo(0,n),t.lineTo(-a,0),t.closePath()}}},function(t,e,n){"use strict";var r=n(85),o=Math.sin(r.j/10)/Math.sin(7*r.j/10),a=Math.sin(r.m/10)*o,i=-Math.cos(r.m/10)*o;e.a={draw:function(t,e){var n=Math.sqrt(.8908130915292852*e),o=a*n,s=i*n;t.moveTo(0,-n),t.lineTo(o,s);for(var u=1;u<5;++u){var c=r.m*u/5,l=Math.cos(c),f=Math.sin(c);t.lineTo(f*n,-l*n),t.lineTo(l*o-f*s,f*o+l*s)}t.closePath()}}},function(t,e,n){"use strict";e.a={draw:function(t,e){var n=Math.sqrt(e),r=-n/2;t.rect(r,r,n,n)}}},function(t,e,n){"use strict";var r=Math.sqrt(3);e.a={draw:function(t,e){var n=-Math.sqrt(e/(3*r));t.moveTo(0,2*n),t.lineTo(-r*n,-n),t.lineTo(r*n,-n),t.closePath()}}},function(t,e,n){"use strict";var r=-.5,o=Math.sqrt(3)/2,a=1/Math.sqrt(12),i=3*(a/2+1);e.a={draw:function(t,e){var n=Math.sqrt(e/i),s=n/2,u=n*a,c=s,l=n*a+n,f=-c,p=l;t.moveTo(s,u),t.lineTo(c,l),t.lineTo(f,p),t.lineTo(r*s-o*u,o*s+r*u),t.lineTo(r*c-o*l,o*c+r*l),t.lineTo(r*f-o*p,o*f+r*p),t.lineTo(r*s+o*u,r*u-o*s),t.lineTo(r*c+o*l,r*l-o*c),t.lineTo(r*f+o*p,r*p-o*f),t.closePath()}}},function(t,e,n){"use strict";function r(t,e){this._context=t,this._k=(1-e)/6}e.a=r;var o=n(128),a=n(130);r.prototype={areaStart:o.a,areaEnd:o.a,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(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:Object(a.c)(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}},e.b=function t(e){function n(t){return new r(t,e)}return n.tension=function(e){return t(+e)},n}(0)},function(t,e,n){"use strict";function r(t,e){this._context=t,this._k=(1-e)/6}e.a=r;var o=n(130);r.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(t,e){switch(t=+t,e=+e,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:Object(o.c)(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}},e.b=function t(e){function n(t){return new r(t,e)}return n.tension=function(e){return t(+e)},n}(0)},function(t,e,n){function r(t,e,n){var r=-1,f=a,p=t.length,h=!0,d=[],y=d;if(n)h=!1,f=i;else if(p>=l){var g=e?null:u(t);if(g)return c(g);h=!1,f=s,y=new o}else y=e?[]:d;t:for(;++r<p;){var m=t[r],v=e?e(m):m;if(m=n||0!==m?m:0,h&&v===v){for(var b=y.length;b--;)if(y[b]===v)continue t;e&&y.push(v),d.push(m)}else f(y,v,n)||(y!==d&&y.push(v),d.push(m))}return d}var o=n(159),a=n(192),i=n(321),s=n(160),u=n(710),c=n(109),l=200;t.exports=r},function(t,e,n){"use strict";var r=n(62),o=n(344),a=Object(o.a)(r.a),i=a.right;a.left;e.a=i},function(t,e,n){"use strict";function r(t){return function(e,n){return Object(o.a)(t(e),n)}}var o=n(62);e.a=function(t){return 1===t.length&&(t=r(t)),{left:function(e,n,r,o){for(null==r&&(r=0),null==o&&(o=e.length);r<o;){var a=r+o>>>1;t(e[a],n)<0?r=a+1:o=a}return r},right:function(e,n,r,o){for(null==r&&(r=0),null==o&&(o=e.length);r<o;){var a=r+o>>>1;t(e[a],n)>0?o=a:r=a+1}return r}}}},function(t,e,n){"use strict";function r(t,e){return[t,e]}e.a=r},function(t,e,n){"use strict";var r=n(347);e.a=function(t,e){var n=Object(r.a)(t,e);return n?Math.sqrt(n):n}},function(t,e,n){"use strict";var r=n(88);e.a=function(t,e){var n,o,a=t.length,i=0,s=-1,u=0,c=0;if(null==e)for(;++s<a;)isNaN(n=Object(r.a)(t[s]))||(o=n-u,u+=o/++i,c+=o*(n-u));else for(;++s<a;)isNaN(n=Object(r.a)(e(t[s],s,t)))||(o=n-u,u+=o/++i,c+=o*(n-u));if(i>1)return c/(i-1)}},function(t,e,n){"use strict";e.a=function(t,e){var n,r,o,a=t.length,i=-1;if(null==e){for(;++i<a;)if(null!=(n=t[i])&&n>=n)for(r=o=n;++i<a;)null!=(n=t[i])&&(r>n&&(r=n),o<n&&(o=n))}else for(;++i<a;)if(null!=(n=e(t[i],i,t))&&n>=n)for(r=o=n;++i<a;)null!=(n=e(t[i],i,t))&&(r>n&&(r=n),o<n&&(o=n));return[r,o]}},function(t,e,n){"use strict";n.d(e,"b",function(){return o}),n.d(e,"a",function(){return a});var r=Array.prototype,o=r.slice,a=r.map},function(t,e,n){"use strict";e.a=function(t,e,n){t=+t,e=+e,n=(o=arguments.length)<2?(e=t,t=0,1):o<3?1:+n;for(var r=-1,o=0|Math.max(0,Math.ceil((e-t)/n)),a=new Array(o);++r<o;)a[r]=t+r*n;return a}},function(t,e,n){"use strict";function r(t,e,n){var r=(e-t)/Math.max(0,n),o=Math.floor(Math.log(r)/Math.LN10),u=r/Math.pow(10,o);return o>=0?(u>=a?10:u>=i?5:u>=s?2:1)*Math.pow(10,o):-Math.pow(10,-o)/(u>=a?10:u>=i?5:u>=s?2:1)}function o(t,e,n){var r=Math.abs(e-t)/Math.max(0,n),o=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),u=r/o;return u>=a?o*=10:u>=i?o*=5:u>=s&&(o*=2),e<t?-o:o}e.b=r,e.c=o;var a=Math.sqrt(50),i=Math.sqrt(10),s=Math.sqrt(2);e.a=function(t,e,n){var o,a,i,s,u=-1;if(e=+e,t=+t,n=+n,t===e&&n>0)return[t];if((o=e<t)&&(a=t,t=e,e=a),0===(s=r(t,e,n))||!isFinite(s))return[];if(s>0)for(t=Math.ceil(t/s),e=Math.floor(e/s),i=new Array(a=Math.ceil(e-t+1));++u<a;)i[u]=(t+u)*s;else for(t=Math.floor(t*s),e=Math.ceil(e*s),i=new Array(a=Math.ceil(t-e+1));++u<a;)i[u]=(t-u)/s;return o&&i.reverse(),i}},function(t,e,n){"use strict";e.a=function(t){return Math.ceil(Math.log(t.length)/Math.LN2)+1}},function(t,e,n){"use strict";e.a=function(t,e){var n,r,o=t.length,a=-1;if(null==e){for(;++a<o;)if(null!=(n=t[a])&&n>=n)for(r=n;++a<o;)null!=(n=t[a])&&r>n&&(r=n)}else for(;++a<o;)if(null!=(n=e(t[a],a,t))&&n>=n)for(r=n;++a<o;)null!=(n=e(t[a],a,t))&&r>n&&(r=n);return r}},function(t,e,n){"use strict";function r(t){return t.length}var o=n(353);e.a=function(t){if(!(i=t.length))return[];for(var e=-1,n=Object(o.a)(t,r),a=new Array(n);++e<n;)for(var i,s=-1,u=a[e]=new Array(i);++s<i;)u[s]=t[s][e];return a}},function(t,e,n){"use strict";function r(t){function e(e){var r=e+"",o=n.get(r);if(!o){if(u!==i)return u;n.set(r,o=s.push(e))}return t[(o-1)%t.length]}var n=Object(o.a)(),s=[],u=i;return t=null==t?[]:a.b.call(t),e.domain=function(t){if(!arguments.length)return s.slice();s=[],n=Object(o.a)();for(var r,a,i=-1,u=t.length;++i<u;)n.has(a=(r=t[i])+"")||n.set(a,s.push(r));return e},e.range=function(n){return arguments.length?(t=a.b.call(n),e):t.slice()},e.unknown=function(t){return arguments.length?(u=t,e):u},e.copy=function(){return r().domain(s).range(t).unknown(u)},e}n.d(e,"b",function(){return i}),e.a=r;var o=n(731),a=n(45),i={name:"implicit"}},function(t,e,n){"use strict";e.a=function(t){return+t}},function(t,e,n){"use strict";var r=n(739);n.d(e,"a",function(){return r.a}),n.d(e,"b",function(){return r.b});var o=(n(358),n(359));n.d(e,"c",function(){return o.a});var a=n(745);n.d(e,"d",function(){return a.a});var i=n(746);n.d(e,"e",function(){return i.a});var s=n(747);n.d(e,"f",function(){return s.a})},function(t,e,n){"use strict";var r=n(133),o=n(740),a=n(741),i=n(359),s=n(360),u=n(361),c=n(744),l=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];e.a=function(t){function e(t){function e(t){var e,a,i,s=_,p=x;if("c"===b)p=w(t)+p,t="";else{t=+t;var y=t<0;if(t=w(Math.abs(t),v),y&&0==+t&&(y=!1),s=(y?"("===o?o:"-":"-"===o||"("===o?"":o)+s,p=p+("s"===b?l[8+u.b/3]:"")+(y&&"("===o?")":""),O)for(e=-1,a=t.length;++e<a;)if(48>(i=t.charCodeAt(e))||i>57){p=(46===i?h+t.slice(e+1):t.slice(e))+p,t=t.slice(0,e);break}}m&&!c&&(t=f(t,1/0));var C=s.length+t.length+p.length,k=C<g?new Array(g-C+1).join(n):"";switch(m&&c&&(t=f(k+t,k.length?g-p.length:1/0),k=""),r){case"<":t=s+t+p+k;break;case"=":t=s+k+t+p;break;case"^":t=k.slice(0,C=k.length>>1)+s+t+p+k.slice(C);break;default:t=k+s+t+p}return d(t)}t=Object(i.a)(t);var n=t.fill,r=t.align,o=t.sign,a=t.symbol,c=t.zero,g=t.width,m=t.comma,v=t.precision,b=t.type,_="$"===a?p[0]:"#"===a&&/[boxX]/.test(b)?"0"+b.toLowerCase():"",x="$"===a?p[1]:/[%p]/.test(b)?y:"",w=s.a[b],O=!b||/[defgprs%]/.test(b);return v=null==v?b?6:12:/[gprs]/.test(b)?Math.max(1,Math.min(21,v)):Math.max(0,Math.min(20,v)),e.toString=function(){return t+""},e}function n(t,n){var o=e((t=Object(i.a)(t),t.type="f",t)),a=3*Math.max(-8,Math.min(8,Math.floor(Object(r.a)(n)/3))),s=Math.pow(10,-a),u=l[8+a/3];return function(t){return o(s*t)+u}}var f=t.grouping&&t.thousands?Object(o.a)(t.grouping,t.thousands):c.a,p=t.currency,h=t.decimal,d=t.numerals?Object(a.a)(t.numerals):c.a,y=t.percent||"%";return{format:e,formatPrefix:n}}},function(t,e,n){"use strict";function r(t){return new o(t)}function o(t){if(!(e=i.exec(t)))throw new Error("invalid format: "+t);var e,n=e[1]||" ",r=e[2]||">",o=e[3]||"-",s=e[4]||"",u=!!e[5],c=e[6]&&+e[6],l=!!e[7],f=e[8]&&+e[8].slice(1),p=e[9]||"";"n"===p?(l=!0,p="g"):a.a[p]||(p=""),(u||"0"===n&&"="===r)&&(u=!0,n="0",r="="),this.fill=n,this.align=r,this.sign=o,this.symbol=s,this.zero=u,this.width=c,this.comma=l,this.precision=f,this.type=p}e.a=r;var a=n(360),i=/^(?:(.)?([<>=^]))?([+\-\( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?([a-z%])?$/i;r.prototype=o.prototype,o.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.type}},function(t,e,n){"use strict";var r=n(742),o=n(361),a=n(743);e.a={"":r.a,"%":function(t,e){return(100*t).toFixed(e)},b:function(t){return Math.round(t).toString(2)},c:function(t){return t+""},d:function(t){return Math.round(t).toString(10)},e:function(t,e){return t.toExponential(e)},f:function(t,e){return t.toFixed(e)},g:function(t,e){return t.toPrecision(e)},o:function(t){return Math.round(t).toString(8)},p:function(t,e){return Object(a.a)(100*t,e)},r:a.a,s:o.a,X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}}},function(t,e,n){"use strict";n.d(e,"b",function(){return r});var r,o=n(208);e.a=function(t,e){var n=Object(o.a)(t,e);if(!n)return t+"";var a=n[0],i=n[1],s=i-(r=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,u=a.length;return s===u?a:s>u?a+new Array(s-u+1).join("0"):s>0?a.slice(0,s)+"."+a.slice(s):"0."+new Array(1-s).join("0")+Object(o.a)(t,Math.max(0,e+s-1))[0]}},function(t,e,n){"use strict";e.a=function(t,e){t=t.slice();var n,r=0,o=t.length-1,a=t[r],i=t[o];return i<a&&(n=r,r=o,o=n,n=a,a=i,i=n),t[r]=e.floor(a),t[o]=e.ceil(i),t}},function(t,e,n){"use strict";function r(t){return new Date(t)}function o(t){return t instanceof Date?+t:+new Date(+t)}function a(t,e,n,u,c,_,x,w,O){function C(r){return(x(r)<r?A:_(r)<r?T:c(r)<r?S:u(r)<r?j:e(r)<r?n(r)<r?D:N:t(r)<r?R:L)(r)}function k(e,n,r,o){if(null==e&&(e=10),"number"==typeof e){var a=Math.abs(r-n)/e,s=Object(i.c)(function(t){return t[2]}).right(I,a);s===I.length?(o=Object(i.g)(n/b,r/b,e),e=t):s?(s=I[a/I[s-1][2]<I[s][2]/a?s-1:s],o=s[1],e=s[0]):(o=Object(i.g)(n,r,e),e=w)}return null==o?e:e.every(o)}var M=Object(f.b)(f.c,s.c),P=M.invert,E=M.domain,A=O(".%L"),T=O(":%S"),S=O("%I:%M"),j=O("%I %p"),D=O("%a %d"),N=O("%b %d"),R=O("%B"),L=O("%Y"),I=[[x,1,h],[x,5,5*h],[x,15,15*h],[x,30,30*h],[_,1,d],[_,5,5*d],[_,15,15*d],[_,30,30*d],[c,1,y],[c,3,3*y],[c,6,6*y],[c,12,12*y],[u,1,g],[u,2,2*g],[n,1,m],[e,1,v],[e,3,3*v],[t,1,b]];return M.invert=function(t){return new Date(P(t))},M.domain=function(t){return arguments.length?E(l.a.call(t,o)):E().map(r)},M.ticks=function(t,e){var n,r=E(),o=r[0],a=r[r.length-1],i=a<o;return i&&(n=o,o=a,a=n),n=k(t,o,a,e),n=n?n.range(o,a+1):[],i?n.reverse():n},M.tickFormat=function(t,e){return null==e?C:O(e)},M.nice=function(t,e){var n=E();return(t=k(t,n[0],n[n.length-1],e))?E(Object(p.a)(n,t)):M},M.copy=function(){return Object(f.a)(M,a(t,e,n,u,c,_,x,w,O))},M}e.a=a;var i=n(35),s=n(59),u=n(209),c=n(364),l=n(45),f=n(132),p=n(362),h=1e3,d=60*h,y=60*d,g=24*y,m=7*g,v=30*g,b=365*g;e.b=function(){return a(u.k,u.f,u.j,u.a,u.b,u.d,u.g,u.c,c.a).domain([new Date(2e3,0,1),new Date(2e3,0,2)])}},function(t,e,n){"use strict";var r=n(210);n.d(e,"a",function(){return r.a}),n.d(e,"b",function(){return r.b});n(365),n(366),n(767)},function(t,e,n){"use strict";function r(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function o(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function a(t){return{y:t,m:0,d:1,H:0,M:0,S:0,L:0}}function i(t){function e(t,e){return function(n){var r,o,a,i=[],s=-1,u=0,c=t.length;for(n instanceof Date||(n=new Date(+n));++s<c;)37===t.charCodeAt(s)&&(i.push(t.slice(u,s)),null!=(o=dt[r=t.charAt(++s)])?r=t.charAt(++s):o="e"===r?" ":"0",(a=e[r])&&(r=a(n,o)),i.push(r),u=s+1);return i.push(t.slice(u,s)),i.join("")}}function n(t,e){return function(n){var r,s,u=a(1900),c=i(u,t,n+="",0);if(c!=n.length)return null;if("Q"in u)return new Date(u.Q);if("p"in u&&(u.H=u.H%12+12*u.p),"V"in u){if(u.V<1||u.V>53)return null;"w"in u||(u.w=1),"Z"in u?(r=o(a(u.y)),s=r.getUTCDay(),r=s>4||0===s?ht.p.ceil(r):Object(ht.p)(r),r=ht.l.offset(r,7*(u.V-1)),u.y=r.getUTCFullYear(),u.m=r.getUTCMonth(),u.d=r.getUTCDate()+(u.w+6)%7):(r=e(a(u.y)),s=r.getDay(),r=s>4||0===s?ht.e.ceil(r):Object(ht.e)(r),r=ht.a.offset(r,7*(u.V-1)),u.y=r.getFullYear(),u.m=r.getMonth(),u.d=r.getDate()+(u.w+6)%7)}else("W"in u||"U"in u)&&("w"in u||(u.w="u"in u?u.u%7:"W"in u?1:0),s="Z"in u?o(a(u.y)).getUTCDay():e(a(u.y)).getDay(),u.m=0,u.d="W"in u?(u.w+6)%7+7*u.W-(s+5)%7:u.w+7*u.U-(s+6)%7);return"Z"in u?(u.H+=u.Z/100|0,u.M+=u.Z%100,o(u)):e(u)}}function i(t,e,n,r){for(var o,a,i=0,s=e.length,u=n.length;i<s;){if(r>=u)return-1;if(37===(o=e.charCodeAt(i++))){if(o=e.charAt(i++),!(a=Zt[o in dt?e.charAt(i++):o])||(r=a(t,n,r))<0)return-1}else if(o!=n.charCodeAt(r++))return-1}return r}function s(t,e,n){var r=Ut.exec(e.slice(n));return r?(t.p=Bt[r[0].toLowerCase()],n+r[0].length):-1}function u(t,e,n){var r=zt.exec(e.slice(n));return r?(t.w=Yt[r[0].toLowerCase()],n+r[0].length):-1}function yt(t,e,n){var r=Vt.exec(e.slice(n));return r?(t.w=Wt[r[0].toLowerCase()],n+r[0].length):-1}function gt(t,e,n){var r=Kt.exec(e.slice(n));return r?(t.m=Xt[r[0].toLowerCase()],n+r[0].length):-1}function mt(t,e,n){var r=Ht.exec(e.slice(n));return r?(t.m=qt[r[0].toLowerCase()],n+r[0].length):-1}function vt(t,e,n){return i(t,St,e,n)}function bt(t,e,n){return i(t,jt,e,n)}function _t(t,e,n){return i(t,Dt,e,n)}function xt(t){return Lt[t.getDay()]}function wt(t){return Rt[t.getDay()]}function Ot(t){return Ft[t.getMonth()]}function Ct(t){return It[t.getMonth()]}function kt(t){return Nt[+(t.getHours()>=12)]}function Mt(t){return Lt[t.getUTCDay()]}function Pt(t){return Rt[t.getUTCDay()]}function Et(t){return Ft[t.getUTCMonth()]}function At(t){return It[t.getUTCMonth()]}function Tt(t){return Nt[+(t.getUTCHours()>=12)]}var St=t.dateTime,jt=t.date,Dt=t.time,Nt=t.periods,Rt=t.days,Lt=t.shortDays,It=t.months,Ft=t.shortMonths,Ut=c(Nt),Bt=l(Nt),Vt=c(Rt),Wt=l(Rt),zt=c(Lt),Yt=l(Lt),Ht=c(It),qt=l(It),Kt=c(Ft),Xt=l(Ft),Gt={a:xt,A:wt,b:Ot,B:Ct,c:null,d:T,e:T,f:R,H:S,I:j,j:D,L:N,m:L,M:I,p:kt,Q:ft,s:pt,S:F,u:U,U:B,V:V,w:W,W:z,x:null,X:null,y:Y,Y:H,Z:q,"%":lt},$t={a:Mt,A:Pt,b:Et,B:At,c:null,d:K,e:K,f:Q,H:X,I:G,j:$,L:Z,m:J,M:tt,p:Tt,Q:ft,s:pt,S:et,u:nt,U:rt,V:ot,w:at,W:it,x:null,X:null,y:st,Y:ut,Z:ct,"%":lt},Zt={a:u,A:yt,b:gt,B:mt,c:vt,d:_,e:_,f:M,H:w,I:w,j:x,L:k,m:b,M:O,p:s,Q:E,s:A,S:C,u:p,U:h,V:d,w:f,W:y,x:bt,X:_t,y:m,Y:g,Z:v,"%":P};return Gt.x=e(jt,Gt),Gt.X=e(Dt,Gt),Gt.c=e(St,Gt),$t.x=e(jt,$t),$t.X=e(Dt,$t),$t.c=e(St,$t),{format:function(t){var n=e(t+="",Gt);return n.toString=function(){return t},n},parse:function(t){var e=n(t+="",r);return e.toString=function(){return t},e},utcFormat:function(t){var n=e(t+="",$t);return n.toString=function(){return t},n},utcParse:function(t){var e=n(t,o);return e.toString=function(){return t},e}}}function s(t,e,n){var r=t<0?"-":"",o=(r?-t:t)+"",a=o.length;return r+(a<n?new Array(n-a+1).join(e)+o:o)}function u(t){return t.replace(mt,"\\$&")}function c(t){return new RegExp("^(?:"+t.map(u).join("|")+")","i")}function l(t){for(var e={},n=-1,r=t.length;++n<r;)e[t[n].toLowerCase()]=n;return e}function f(t,e,n){var r=yt.exec(e.slice(n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function p(t,e,n){var r=yt.exec(e.slice(n,n+1));return r?(t.u=+r[0],n+r[0].length):-1}function h(t,e,n){var r=yt.exec(e.slice(n,n+2));return r?(t.U=+r[0],n+r[0].length):-1}function d(t,e,n){var r=yt.exec(e.slice(n,n+2));return r?(t.V=+r[0],n+r[0].length):-1}function y(t,e,n){var r=yt.exec(e.slice(n,n+2));return r?(t.W=+r[0],n+r[0].length):-1}function g(t,e,n){var r=yt.exec(e.slice(n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function m(t,e,n){var r=yt.exec(e.slice(n,n+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function v(t,e,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function b(t,e,n){var r=yt.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function _(t,e,n){var r=yt.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function x(t,e,n){var r=yt.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function w(t,e,n){var r=yt.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function O(t,e,n){var r=yt.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function C(t,e,n){var r=yt.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function k(t,e,n){var r=yt.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function M(t,e,n){var r=yt.exec(e.slice(n,n+6));return r?(t.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function P(t,e,n){var r=gt.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function E(t,e,n){var r=yt.exec(e.slice(n));return r?(t.Q=+r[0],n+r[0].length):-1}function A(t,e,n){var r=yt.exec(e.slice(n));return r?(t.Q=1e3*+r[0],n+r[0].length):-1}function T(t,e){return s(t.getDate(),e,2)}function S(t,e){return s(t.getHours(),e,2)}function j(t,e){return s(t.getHours()%12||12,e,2)}function D(t,e){return s(1+ht.a.count(Object(ht.k)(t),t),e,3)}function N(t,e){return s(t.getMilliseconds(),e,3)}function R(t,e){return N(t,e)+"000"}function L(t,e){return s(t.getMonth()+1,e,2)}function I(t,e){return s(t.getMinutes(),e,2)}function F(t,e){return s(t.getSeconds(),e,2)}function U(t){var e=t.getDay();return 0===e?7:e}function B(t,e){return s(ht.h.count(Object(ht.k)(t),t),e,2)}function V(t,e){var n=t.getDay();return t=n>=4||0===n?Object(ht.i)(t):ht.i.ceil(t),s(ht.i.count(Object(ht.k)(t),t)+(4===Object(ht.k)(t).getDay()),e,2)}function W(t){return t.getDay()}function z(t,e){return s(ht.e.count(Object(ht.k)(t),t),e,2)}function Y(t,e){return s(t.getFullYear()%100,e,2)}function H(t,e){return s(t.getFullYear()%1e4,e,4)}function q(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+s(e/60|0,"0",2)+s(e%60,"0",2)}function K(t,e){return s(t.getUTCDate(),e,2)}function X(t,e){return s(t.getUTCHours(),e,2)}function G(t,e){return s(t.getUTCHours()%12||12,e,2)}function $(t,e){return s(1+ht.l.count(Object(ht.v)(t),t),e,3)}function Z(t,e){return s(t.getUTCMilliseconds(),e,3)}function Q(t,e){return Z(t,e)+"000"}function J(t,e){return s(t.getUTCMonth()+1,e,2)}function tt(t,e){return s(t.getUTCMinutes(),e,2)}function et(t,e){return s(t.getUTCSeconds(),e,2)}function nt(t){var e=t.getUTCDay();return 0===e?7:e}function rt(t,e){return s(ht.s.count(Object(ht.v)(t),t),e,2)}function ot(t,e){var n=t.getUTCDay();return t=n>=4||0===n?Object(ht.t)(t):ht.t.ceil(t),s(ht.t.count(Object(ht.v)(t),t)+(4===Object(ht.v)(t).getUTCDay()),e,2)}function at(t){return t.getUTCDay()}function it(t,e){return s(ht.p.count(Object(ht.v)(t),t),e,2)}function st(t,e){return s(t.getUTCFullYear()%100,e,2)}function ut(t,e){return s(t.getUTCFullYear()%1e4,e,4)}function ct(){return"+0000"}function lt(){return"%"}function ft(t){return+t}function pt(t){return Math.floor(+t/1e3)}e.a=i;var ht=n(209),dt={"-":"",_:" ",0:"0"},yt=/^\s*\d+/,gt=/^%/,mt=/[\\^$*+?|[\]().{}]/g},function(t,e,n){"use strict";function r(t){return t.toISOString()}n.d(e,"a",function(){return a});var o=n(210),a="%Y-%m-%dT%H:%M:%S.%LZ";Date.prototype.toISOString||Object(o.b)(a)},function(t,e,n){"use strict";function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var s=n(20),u=n.n(s),c=n(4),l=n.n(c),f=n(1),p=n.n(f),h=n(0),d=n.n(h),y=n(3),g=n(784),m=n(63),v=n(23),b=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},_=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),x={width:450,height:300,padding:50},w=["style","domain","range","tickCount","tickValues","offsetX","offsetY","padding","width","height"],O={components:[{name:"axis",index:0},{name:"axisLabel",index:0},{name:"grid"},{name:"parent",index:"parent"},{name:"ticks"},{name:"tickLabels"}]},C=function(t){function e(){return o(this,e),a(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),_(e,[{key:"renderLine",value:function(t){var e=t.axisComponent,n=this.getComponentProps(e,"axis",0);return d.a.cloneElement(e,n)}},{key:"renderLabel",value:function(t){var e=t.axisLabelComponent;if(!t.label)return null;var n=this.getComponentProps(e,"axisLabel",0);return d.a.cloneElement(e,n)}},{key:"renderGridAndTicks",value:function(t){var e=this,n=t.tickComponent,r=t.tickLabelComponent,o=t.gridComponent;return this.dataKeys.map(function(a,i){var s=e.getComponentProps(n,"ticks",i),u=d.a.cloneElement(n,s),c=e.getComponentProps(o,"grid",i),l=d.a.cloneElement(o,c),f=e.getComponentProps(r,"tickLabels",i),p=d.a.cloneElement(r,f);return d.a.cloneElement(t.groupComponent,{key:"tick-group-"+a},l,u,p)})}},{key:"fixLabelOverlap",value:function(t,e){var n=y.o.isVertical(e),r=n?e.height:e.width,o=function(t){return t.type&&"label"===t.type.role},a=t.map(function(t){return t.props.children}).reduce(function(t,e){return t.concat(e)}).filter(o).map(function(t){return t.props}),i=function(t){return"object"==typeof t?l()({},{top:0,right:0,bottom:0,left:0},t):{top:t,right:t,bottom:t,left:t}},s=a.reduce(function(t,e){var r=i(e.style.padding),o=y.z.approximateTextSize(e.text,{angle:e.angle,fontSize:e.style.fontSize,letterSpacing:e.style.letterSpacing,fontFamily:e.style.fontFamily});return t+(n?o.height+r.top+r.bottom:o.width+r.right+r.left)},0),u=Math.floor(r*t.length/s),c=Math.ceil(t.length/u)||1,f=function(t){return t.props.children.filter(o).reduce(function(t,e){return(n?e.props.y:e.props.x)||0},0)};return t.sort(function(t,e){return n?f(e)-f(t):f(t)-f(e)}).filter(function(t,e){return e%c==0})}},{key:"shouldAnimate",value:function(){return!!this.props.animate}},{key:"render",value:function(){var t=y.o.modifyProps(this.props,x,"axis");if(this.shouldAnimate())return this.animateComponent(t,w);var e=this.renderGridAndTicks(t),n=t.fixLabelOverlap?this.fixLabelOverlap(e,t):e,o=[this.renderLine(t),this.renderLabel(t)].concat(r(n));return t.standalone?this.renderContainer(t.containerComponent,o):d.a.cloneElement(t.groupComponent,{},o)}}]),e}(d.a.Component);C.displayName="VictoryAxis",C.role="axis",C.defaultTransitions={onExit:{duration:500},onEnter:{duration:500}},C.propTypes=b({},v.a,{axisComponent:p.a.element,axisLabelComponent:p.a.element,categories:p.a.arrayOf(p.a.string),crossAxis:p.a.bool,dependentAxis:p.a.bool,events:p.a.arrayOf(p.a.shape({target:p.a.oneOf(["axis","axisLabel","grid","ticks","tickLabels"]),eventKey:p.a.oneOfType([p.a.array,y.u.allOfType([y.u.integer,y.u.nonNegative]),p.a.string]),eventHandlers:p.a.object})),fixLabelOverlap:p.a.bool,gridComponent:p.a.element,groupComponent:p.a.element,invertAxis:p.a.bool,label:p.a.any,offsetX:p.a.number,offsetY:p.a.number,orientation:p.a.oneOf(["top","bottom","left","right"]),origin:p.a.shape({x:p.a.number,y:p.a.number}),stringMap:p.a.object,style:p.a.shape({parent:p.a.object,axis:p.a.object,axisLabel:p.a.object,grid:p.a.object,ticks:p.a.object,tickLabels:p.a.object}),tickComponent:p.a.element,tickCount:y.u.allOfType([y.u.integer,y.u.greaterThanZero]),tickFormat:p.a.oneOfType([p.a.func,y.u.homogeneousArray]),tickLabelComponent:p.a.element,tickValues:y.u.homogeneousArray}),C.defaultProps={axisComponent:d.a.createElement(y.q,{type:"axis"}),axisLabelComponent:d.a.createElement(y.E,null),tickLabelComponent:d.a.createElement(y.E,null),tickComponent:d.a.createElement(y.q,{type:"tick"}),gridComponent:d.a.createElement(y.q,{type:"grid"}),scale:"linear",standalone:!0,theme:y.I.grayscale,containerComponent:d.a.createElement(y.D,null),groupComponent:d.a.createElement("g",{role:"presentation"}),fixLabelOverlap:!1},C.getDomain=g.a.getDomain.bind(g.a),C.getAxis=m.a.getAxis.bind(m.a),C.getScale=g.a.getScale.bind(g.a),C.getStyles=u()(g.a.getStyles.bind(g.a),x.style),C.getBaseProps=u()(g.a.getBaseProps.bind(g.a),x),C.expectedComponents=["axisComponent","axisLabelComponent","groupComponent","containerComponent","tickComponent","tickLabelComponent","gridComponent"],e.a=Object(y.M)(C,O)},function(t,e,n){var r=n(78),o=n(43),a=n(785),i=n(786),s=o(function(t){return t.push(void 0,a),r(i,void 0,t)});t.exports=s},function(t,e,n){"use strict";function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var s=n(20),u=n.n(s),c=n(4),l=n.n(c),f=n(0),p=n.n(f),h=n(1),d=n.n(h),y=n(3),g=n(790),m=n(23),v=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},b=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),_={width:450,height:300,padding:50},x=["style","domain","range","tickCount","tickValues","padding","width","height"],w={components:[{name:"axis",index:0},{name:"axisLabel",index:0},{name:"grid"},{name:"parent",index:"parent"},{name:"ticks"},{name:"tickLabels"}]},O=function(t){function e(){return o(this,e),a(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),b(e,[{key:"renderAxisLine",value:function(t){var e=t.dependentAxis,n=e?t.axisComponent:t.circularAxisComponent,r=this.getComponentProps(n,"axis",0);return p.a.cloneElement(n,r)}},{key:"renderLabel",value:function(t){var e=t.axisLabelComponent,n=t.dependentAxis;if(!t.label||!n)return null;var r=this.getComponentProps(e,"axisLabel",0);return p.a.cloneElement(e,r)}},{key:"renderAxis",value:function(t){var e=this,n=t.tickComponent,o=t.tickLabelComponent,a=t.dependentAxis?"radial":"angular",i="radial"===a?t.circularGridComponent:t.gridComponent,s=this.dataKeys.map(function(t,r){var o=l()({key:"tick-"+t},e.getComponentProps(n,"ticks",r));return p.a.cloneElement(n,o)}),u=this.dataKeys.map(function(t,n){var r=l()({key:"grid-"+t},e.getComponentProps(i,"grid",n));return p.a.cloneElement(i,r)}),c=this.dataKeys.map(function(t,n){var r=l()({key:"tick-"+t},e.getComponentProps(o,"tickLabels",n));return p.a.cloneElement(o,r)}),f=this.renderAxisLine(t),h=this.renderLabel(t),d=[f,h].concat(r(s),r(u),r(c));return this.renderGroup(t,d)}},{key:"renderGroup",value:function(t,e){var n=t.groupComponent,r=n.props||{},o=y.o.getPolarOrigin(t),a=r.transform||"translate("+o.x+", "+o.y+")";return p.a.cloneElement(n,{transform:a},e)}},{key:"shouldAnimate",value:function(){return!!this.props.animate}},{key:"render",value:function(){var t=y.o.modifyProps(this.props,_,"axis");if(this.shouldAnimate())return this.animateComponent(t,x);var e=this.renderAxis(t);return t.standalone?this.renderContainer(t.containerComponent,e):e}}]),e}(p.a.Component);O.displayName="VictoryAxis",O.role="axis",O.defaultTransitions={onExit:{duration:500},onEnter:{duration:500}},O.propTypes=v({},m.a,{axisAngle:d.a.number,axisComponent:d.a.element,axisLabelComponent:d.a.element,axisValue:d.a.number,categories:d.a.arrayOf(d.a.string),circularAxisComponent:d.a.element,circularGridComponent:d.a.element,containerComponent:d.a.element,dependentAxis:d.a.bool,endAngle:d.a.number,events:d.a.arrayOf(d.a.shape({target:d.a.oneOf(["axis","axisLabel","grid","ticks","tickLabels"]),eventKey:d.a.oneOfType([d.a.array,y.u.allOfType([y.u.integer,y.u.nonNegative]),d.a.string]),eventHandlers:d.a.object})),gridComponent:d.a.element,innerRadius:y.u.nonNegative,labelPlacement:d.a.oneOf(["parallel","perpendicular","vertical"]),startAngle:d.a.number,stringMap:d.a.object,style:d.a.shape({parent:d.a.object,axis:d.a.object,axisLabel:d.a.object,grid:d.a.object,ticks:d.a.object,tickLabels:d.a.object}),tickComponent:d.a.element,tickCount:y.u.allOfType([y.u.integer,y.u.greaterThanZero]),tickFormat:d.a.oneOfType([d.a.func,y.u.homogeneousArray]),tickLabelComponent:d.a.element,tickValues:y.u.homogeneousArray}),O.defaultProps={axisComponent:p.a.createElement(y.q,{type:"axis"}),axisLabelComponent:p.a.createElement(y.E,null),circularAxisComponent:p.a.createElement(y.a,{type:"axis"}),circularGridComponent:p.a.createElement(y.a,{type:"grid"}),containerComponent:p.a.createElement(y.D,null),endAngle:360,gridComponent:p.a.createElement(y.q,{type:"grid"}),groupComponent:p.a.createElement("g",{role:"presentation"}),labelPlacement:"parallel",scale:"linear",startAngle:0,standalone:!0,theme:y.I.grayscale,tickComponent:p.a.createElement(y.q,{type:"tick"}),tickLabelComponent:p.a.createElement(y.E,null)},O.getDomain=g.a.getDomain.bind(g.a),O.getAxis=g.a.getAxis.bind(g.a),O.getScale=g.a.getScale.bind(g.a),O.getStyles=u()(g.a.getStyles.bind(g.a),_.style),O.getBaseProps=u()(g.a.getBaseProps.bind(g.a),_),O.expectedComponents=["axisComponent","circularAxisComponent","groupComponent","containerComponent","tickComponent","tickLabelComponent","gridComponent","circularGridComponent"],e.a=Object(y.M)(O,w)},function(t,e,n){function r(t){return"number"==typeof t||a(t)&&o(t)==i}var o=n(37),a=n(26),i="[object Number]";t.exports=r},function(t,e,n){"use strict";var r=n(809);n.d(e,"a",function(){return r.a})},function(t,e,n){"use strict";function r(t){return l.b[t.index]={site:t,halfedges:[]}}function o(t,e){var n=t.site,r=e.left,o=e.right;return n===o&&(o=r,r=n),o?Math.atan2(o[1]-r[1],o[0]-r[0]):(n===r?(r=e[1],o=e[0]):(r=e[0],o=e[1]),Math.atan2(r[0]-o[0],o[1]-r[1]))}function a(t,e){return e[+(e.left!==t.site)]}function i(t,e){return e[+(e.left===t.site)]}function s(){for(var t,e,n,r,a=0,i=l.b.length;a<i;++a)if((t=l.b[a])&&(r=(e=t.halfedges).length)){var s=new Array(r),u=new Array(r);for(n=0;n<r;++n)s[n]=n,u[n]=o(t,l.e[e[n]]);for(s.sort(function(t,e){return u[e]-u[t]}),n=0;n<r;++n)u[n]=e[s[n]];for(n=0;n<r;++n)e[n]=u[n]}}function u(t,e,n,r){var o,s,u,f,p,h,d,y,g,m,v,b,_=l.b.length,x=!0;for(o=0;o<_;++o)if(s=l.b[o]){for(u=s.site,p=s.halfedges,f=p.length;f--;)l.e[p[f]]||p.splice(f,1);for(f=0,h=p.length;f<h;)m=i(s,l.e[p[f]]),v=m[0],b=m[1],d=a(s,l.e[p[++f%h]]),y=d[0],g=d[1],(Math.abs(v-y)>l.f||Math.abs(b-g)>l.f)&&(p.splice(f,0,l.e.push(Object(c.b)(u,m,Math.abs(v-t)<l.f&&r-b>l.f?[t,Math.abs(y-t)<l.f?g:r]:Math.abs(b-r)<l.f&&n-v>l.f?[Math.abs(g-r)<l.f?y:n,r]:Math.abs(v-n)<l.f&&b-e>l.f?[n,Math.abs(y-n)<l.f?g:e]:Math.abs(b-e)<l.f&&v-t>l.f?[Math.abs(g-e)<l.f?y:t,e]:null))-1),++h);h&&(x=!1)}if(x){var w,O,C,k=1/0;for(o=0,x=null;o<_;++o)(s=l.b[o])&&(u=s.site,w=u[0]-t,O=u[1]-e,(C=w*w+O*O)<k&&(k=C,x=s));if(x){var M=[t,e],P=[t,r],E=[n,r],A=[n,e];x.halfedges.push(l.e.push(Object(c.b)(u=x.site,M,P))-1,l.e.push(Object(c.b)(u,P,E))-1,l.e.push(Object(c.b)(u,E,A))-1,l.e.push(Object(c.b)(u,A,M))-1)}}for(o=0;o<_;++o)(s=l.b[o])&&(s.halfedges.length||delete l.b[o])}e.c=r,e.a=a,e.d=s,e.b=u;var c=n(212),l=n(93)},function(t,e,n){"use strict";function r(){Object(s.a)(this),this.x=this.y=this.arc=this.site=this.cy=null}function o(t){var e=t.P,n=t.N;if(e&&n){var o=e.site,a=t.site,s=n.site;if(o!==s){var l=a[0],f=a[1],p=o[0]-l,h=o[1]-f,d=s[0]-l,y=s[1]-f,g=2*(p*y-h*d);if(!(g>=-u.g)){var m=p*p+h*h,v=d*d+y*y,b=(y*m-h*v)/g,_=(p*v-d*m)/g,x=c.pop()||new r;x.arc=t,x.site=a,x.x=b+l,x.y=(x.cy=_+f)+Math.sqrt(b*b+_*_),t.circle=x;for(var w=null,O=u.c._;O;)if(x.y<O.y||x.y===O.y&&x.x<=O.x){if(!O.L){w=O.P;break}O=O.L}else{if(!O.R){w=O;break}O=O.R}u.c.insert(w,x),w||(i=x)}}}}function a(t){var e=t.circle;e&&(e.P||(i=e.N),u.c.remove(e),c.push(e),Object(s.a)(e),t.circle=null)}n.d(e,"c",function(){return i}),e.a=o,e.b=a;var i,s=n(211),u=n(93),c=[]},function(t,e,n){"use strict";function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}n.d(e,"b",function(){return g});var s=n(1),u=n.n(s),c=n(0),l=n.n(c),f=n(3),p=n(375),h=this,d=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},y=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),g=function(t){var e,n;return n=e=function(t){function e(){return o(this,e),a(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),y(e,[{key:"getRect",value:function(t){var e=t.x1,n=t.x2,r=t.y1,o=t.y2,a=t.selectionStyle,i=t.selectionComponent,s=Math.abs(n-e)||1,u=Math.abs(o-r)||1,c=Math.min(e,n),f=Math.min(r,o);return o&&n&&e&&r?l.a.cloneElement(i,{x:c,y:f,width:s,height:u,style:a}):null}},{key:"getChildren",value:function(t){return[].concat(r(l.a.Children.toArray(t.children)),[this.getRect(t)]).map(function(t,e){return t?l.a.cloneElement(t,{key:e}):null})}}]),e}(t),e.displayName="VictorySelectionContainer",e.propTypes=d({},f.D.propTypes,{onSelection:u.a.func,onSelectionCleared:u.a.func,selectionComponent:u.a.element,selectionDimension:u.a.oneOf(["x","y"]),selectionStyle:u.a.object}),e.defaultProps=d({},f.D.defaultProps,{selectionComponent:l.a.createElement("rect",null),selectionStyle:{stroke:"transparent",fill:"black",fillOpacity:.1}}),e.defaultEvents=[{target:"parent",eventHandlers:{onMouseDown:function(t,e){return p.a.onMouseDown(t,e)},onTouchStart:function(t,e){return p.a.onMouseDown(t,e)},onMouseMove:function(t,e){var n=p.a.onMouseMove(t,e);if(n.id!==h.mouseMoveMutationId)return h.mouseMoveMutationId=n.id,n.mutations},onTouchMove:function(t,e){var n=p.a.onMouseMove(t,e);if(n.id!==h.mouseMoveMutationId)return h.mouseMoveMutationId=n.id,n.mutations},onMouseUp:function(t,e){return p.a.onMouseUp(t,e)},onTouchEnd:function(t,e){return p.a.onMouseUp(t,e)}}}],n};e.a=g(f.D)},function(t,e,n){"use strict";var r=n(9),o=n.n(r),a=n(94),i=n.n(a),s=n(5),u=n.n(s),c=n(4),l=n.n(c),f=n(3),p=n(0),h=n.n(p),d=n(95),y={getDatasets:function(t){if(t.data)return[{data:t.data}];var e=function(t){var e=f.i.getData(t);return Array.isArray(e)&&e.length>0?e:void 0},n=function(t,n,r){if(t.type&&"axis"===t.type.role)return null;if(t.type&&o()(t.type.getData)){t=r?h.a.cloneElement(t,r.props):t;var a=t.props&&t.type.getData(t.props);return a?{childName:n,data:a}:null}var i=e(t.props);return i?{childName:n,data:i}:null};return f.o.reduceChildren(h.a.Children.toArray(t.children),n)},filterDatasets:function(t,e,n){var r=this,o=e.reduce(function(e,o){var a=r.getSelectedData(t,o.data,n);return e=a?e.concat({childName:o.childName,eventKey:a.eventKey,data:a.data}):e},[]);return o.length?o:null},getSelectedData:function(t,e){for(var n=t.x1,r=t.y1,o=t.x2,a=t.y2,i=[],s=[],u=0,c=0,l=e.length;c<l;c++){var p=e[c];(function(e){var i=f.o.scalePoint(t,e);return i.x>=Math.min(n,o)&&i.x<=Math.max(n,o)&&i.y>=Math.min(r,a)&&i.y<=Math.max(r,a)})(p)&&(s[u]=p,i[u]=void 0===p.eventKey?c:p.eventKey,u++)}return u>0?{eventKey:i,data:s}:null},onMouseDown:function(t,e){t.preventDefault();var n=e.polar,r=e.selectionDimension,a=e.datasets||[],i=f.w.getSVGEventCoordinates(t),s=i.x,c=i.y,l=n||"y"!==r?s:f.w.getDomainCoordinates(e).x[0],p=n||"x"!==r?c:f.w.getDomainCoordinates(e).y[0],h=n||"y"!==r?s:f.w.getDomainCoordinates(e).x[1],d=n||"x"!==r?c:f.w.getDomainCoordinates(e).y[1],y={x1:l,y1:p,select:!0,x2:h,y2:d};return o()(e.onSelectionCleared)&&e.onSelectionCleared(u()({},y,e)),[{target:"parent",mutation:function(){return y}},{target:"data",childName:e.children||a.length?"all":void 0,eventKey:"all",mutation:function(){return null}}]},onMouseMove:function(t,e){var n=e.select,r=e.polar,o=e.selectionDimension;if(n){var a=f.w.getSVGEventCoordinates(t),i=a.x,s=a.y,u=r||"y"!==o?i:f.w.getDomainCoordinates(e).x[1],c=r||"x"!==o?s:f.w.getDomainCoordinates(e).y[1];return{target:"parent",mutation:function(){return{x2:u,y2:c}}}}return{}},onMouseUp:function(t,e){var n=e.x2,r=e.y2;if(!n||!r)return[{target:"parent",mutation:function(){return{select:!1,x1:null,x2:null,y1:null,y2:null}}}];var a=this.getDatasets(e),i=f.w.getBounds(e),s=this.filterDatasets(e,a,i),c={datasets:a,select:!1,x1:null,x2:null,y1:null,y2:null},p=s&&o()(e.onSelection)?e.onSelection(s,i,u()({},c,e)):{},h=[{target:"parent",mutation:function(){return c}}],d=s?s.map(function(t){return{childName:t.childName,eventKey:t.eventKey,target:"data",mutation:function(){return l()({active:!0},p)}}}):[];return h.concat(d)}};e.a={onMouseDown:y.onMouseDown.bind(y),onMouseUp:y.onMouseUp.bind(y),onMouseMove:i()(Object(d.a)(y.onMouseMove.bind(y)),16,{leading:!0,trailing:!1})}},function(t,e,n){"use strict";function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}n.d(e,"a",function(){return w});var s=n(61),u=n.n(s),c=n(5),l=n.n(c),f=n(4),p=n.n(f),h=n(1),d=n.n(h),y=n(0),g=n.n(y),m=n(3),v=n(213),b=this,_=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},x=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),w=function(t){var e,n;return n=e=function(t){function e(){return o(this,e),a(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),x(e,[{key:"getSelectBox",value:function(t,e){var n=e.x,r=e.y,o=t.brushStyle,a=t.brushComponent,i=a.props&&a.props.style;return n[0]!==n[1]&&r[0]!==r[1]?g.a.cloneElement(a,{width:Math.abs(n[1]-n[0])||1,height:Math.abs(r[1]-r[0])||1,x:Math.min(n[0],n[1]),y:Math.min(r[0],r[1]),cursor:"move",style:l()({},i,o)}):null}},{key:"getHandles",value:function(t,e){var n=t.brushDimension,r=t.handleWidth,o=t.handleStyle,a=t.handleComponent,i=e.x,s=e.y,u=Math.abs(i[1]-i[0])||1,c=Math.abs(s[1]-s[0])||1,f=a.props&&a.props.style||{},h=l()({},f,o),d={style:h,width:u,height:r,cursor:"ns-resize"},y={style:h,width:r,height:c,cursor:"ew-resize"},m={top:"x"!==n&&p()({x:i[0],y:s[1]-r/2},d),bottom:"x"!==n&&p()({x:i[0],y:s[0]-r/2},d),left:"y"!==n&&p()({y:s[1],x:i[0]-r/2},y),right:"y"!==n&&p()({y:s[1],x:i[1]-r/2},y)},v=["top","bottom","left","right"].reduce(function(t,e){return t=m[e]?t.concat(g.a.cloneElement(a,p()({key:"handle-"+e},m[e]))):t},[]);return v.length?v:null}},{key:"getRect",value:function(t){var e=t.currentDomain,n=t.cachedBrushDomain,r=l()({},t.brushDomain,t.domain),o=u()(r,n)?l()({},e,r):r,a=m.w.getDomainCoordinates(t,o),i=this.getSelectBox(t,a);return i?g.a.createElement("g",null,i,this.getHandles(t,a)):null}},{key:"getChildren",value:function(t){return[].concat(r(g.a.Children.toArray(t.children)),[this.getRect(t)]).map(function(t,e){return t?g.a.cloneElement(t,{key:e}):null})}}]),e}(t),e.displayName="VictoryBrushContainer",e.propTypes=_({},m.D.propTypes,{brushComponent:d.a.element,brushDimension:d.a.oneOf(["x","y"]),brushDomain:d.a.shape({x:d.a.array,y:d.a.array}),brushStyle:d.a.object,handleComponent:d.a.element,handleStyle:d.a.object,handleWidth:d.a.number,onBrushDomainChange:d.a.func}),e.defaultProps=_({},m.D.defaultProps,{brushComponent:g.a.createElement("rect",null),brushStyle:{stroke:"transparent",fill:"black",fillOpacity:.1},handleComponent:g.a.createElement("rect",null),handleStyle:{stroke:"transparent",fill:"transparent"},handleWidth:8}),e.defaultEvents=[{target:"parent",eventHandlers:{onMouseDown:function(t,e){return v.a.onMouseDown(t,e)},onTouchStart:function(t,e){return v.a.onMouseDown(t,e)},onMouseMove:function(t,e){var n=v.a.onMouseMove(t,e);if(n.id!==b.mouseMoveMutationId)return b.mouseMoveMutationId=n.id,n.mutations},onTouchMove:function(t,e){var n=v.a.onMouseMove(t,e);if(n.id!==b.mouseMoveMutationId)return b.mouseMoveMutationId=n.id,n.mutations},onMouseUp:function(t,e){return v.a.onMouseUp(t,e)},onTouchEnd:function(t,e){return v.a.onMouseUp(t,e)},onMouseLeave:function(t,e){return v.a.onMouseLeave(t,e)},onTouchCancel:function(t,e){return v.a.onMouseLeave(t,e)}}}],n};e.b=w(m.D)},function(t,e,n){"use strict";function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}n.d(e,"b",function(){return _});var s=n(5),u=n.n(s),c=n(29),l=n.n(c),f=n(1),p=n.n(f),h=n(0),d=n.n(h),y=n(3),g=n(378),m=this,v=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},b=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),_=function(t){var e,n;return n=e=function(t){function e(){return o(this,e),a(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),b(e,[{key:"getLabelPadding",value:function(t){if(!t)return 0;var e=Array.isArray(t)?t.map(function(t){return t.padding}):[t.padding];return Math.max.apply(Math,r(e).concat([0]))}},{key:"getFlyoutSize",value:function(t,e,n){var r=this.getLabelPadding(n),o=y.z.approximateTextSize(e,n);return{x:t.width||o.width+r,y:t.height||o.height+r}}},{key:"getLabelCornerRadius",value:function(t,e){if(void 0!==e.cornerRadius)return e.cornerRadius;var n=t.theme||e.theme;return n.tooltip&&n.tooltip.cornerRadius||0}},{key:"getFlyoutExtent",value:function(t,e,n){var o=n.text,a=n.style,i=n.orientation,s=n.dx,u=void 0===s?0:s,c=n.dy,l=void 0===c?0:c,f=this.getFlyoutSize(e.labelComponent,o,a),p=this.getLabelCornerRadius(e,n),h=t.x+u+2*p,d=t.y+l+2*p,y="top"===i||"bottom"===i?f.x/2:f.x,g="left"===i?-1:1,m="bottom"===i?1:-1,v={};return v.x="top"===i||"bottom"===i?[h-y,h+y]:[h,h+g*y],v.y=[d,d+m*f.y],{x:[Math.min.apply(Math,r(v.x)),Math.max.apply(Math,r(v.x))],y:[Math.min.apply(Math,r(v.y)),Math.max.apply(Math,r(v.y))]}}},{key:"getLabelPosition",value:function(t,e,n){var o=t.mousePosition,a=t.voronoiDimension,i=t.scale,s=t.voronoiPadding,u=y.o.scalePoint(t,l()(e[0],["_voronoiX","_voronoiY"]));if(!a||e.length<2)return u;var c="y"===a?o.x:u.x,f="x"===a?o.y:u.y;if(t.polar)return{x:c,y:f};var p={x:i.x.range(),y:i.y.range()},h={x:[Math.min.apply(Math,r(p.x))+s,Math.max.apply(Math,r(p.x))-s],y:[Math.min.apply(Math,r(p.y))+s,Math.max.apply(Math,r(p.y))-s]},d=this.getFlyoutExtent({x:c,y:f},t,n),g={x:[d.x[0]<h.x[0]?h.x[0]-d.x[0]:0,d.x[1]>h.x[1]?d.x[1]-h.x[1]:0],y:[d.y[0]<h.y[0]?h.y[0]-d.y[0]:0,d.y[1]>h.y[1]?d.y[1]-h.y[1]:0]};return{x:Math.round(c+g.x[0]-g.x[1]),y:Math.round(f+g.y[0]-g.y[1])}}},{key:"getStyle",value:function(t,e,n){var r=t.labels,o=t.labelComponent,a=t.theme,i=o.props||{},s=a&&a.voronoi&&a.voronoi.style?a.voronoi.style:{},c="flyout"===n?i.flyoutStyle:i.style;return e.reduce(function(t,e,o){var a=y.o.evaluateProp(r,e,!0),i=a?(""+a).split("\n"):[],l=e.style&&e.style[n]||{},f=Array.isArray(c)?c[o]:c,p=y.o.evaluateStyle(u()({},f,l,s[n]),e,!0),h=i.length?i.map(function(){return p}):[p];return t=t.concat(h)},[])}},{key:"getDefaultLabelProps",value:function(t,e){var n=t.voronoiDimension,r=n&&e.length>1;return{orientation:r?"top":void 0,pointerLength:r?0:void 0}}},{key:"getLabelProps",value:function(t,e){var n=t.labels,r=t.scale,o=t.labelComponent,a=t.theme,i=e.reduce(function(t,e){var r=y.o.evaluateProp(n,e,!0);return null===r||void 0===r?t:t=t.concat((""+r).split("\n"))},[]),s=o.props||{},c=this.getStyle(t,e,"labels"),f=u()({active:!0,datum:l()(e[0],["childName","style","continuous"]),flyoutStyle:this.getStyle(t,e,"flyout")[0],renderInPortal:!1,scale:r,style:c,theme:a,text:i},s,this.getDefaultLabelProps(t,e)),p=this.getLabelPosition(t,e,f);return v({},p,f)}},{key:"getTooltip",value:function(t){var e=t.labels,n=t.activePoints,r=t.labelComponent;return e&&Array.isArray(n)&&n.length?d.a.cloneElement(r,this.getLabelProps(t,n)):null}},{key:"getChildren",value:function(t){return[].concat(r(d.a.Children.toArray(t.children)),[this.getTooltip(t)]).map(function(t,e){return t?d.a.cloneElement(t,{key:e}):null})}}]),e}(t),e.displayName="VictoryVoronoiContainer",e.propTypes=v({},y.D.propTypes,{labelComponent:p.a.element,labels:p.a.func,onActivated:p.a.func,onDeactivated:p.a.func,radius:p.a.number,voronoiDimension:p.a.oneOf(["x","y"]),voronoiPadding:p.a.number}),e.defaultProps=v({},y.D.defaultProps,{labelComponent:d.a.createElement(y.J,null),voronoiPadding:5}),e.defaultEvents=[{target:"parent",eventHandlers:{onMouseLeave:function(t,e){return g.a.onMouseLeave(t,e)},onTouchCancel:function(t,e){return g.a.onMouseLeave(t,e)},onMouseMove:function(t,e){var n=g.a.onMouseMove(t,e);if(n.id!==m.mouseMoveMutationId)return m.mouseMoveMutationId=n.id,n.mutations},onTouchMove:function(t,e){var n=g.a.onMouseMove(t,e);if(n.id!==m.mouseMoveMutationId)return m.mouseMoveMutationId=n.id,n.mutations}}},{target:"data",eventHandlers:{onMouseOver:function(){return null},onMouseOut:function(){return null},onMouseMove:function(){return null}}}],n};e.a=_(y.D)},function(t,e,n){"use strict";function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}var o=n(61),a=n.n(o),i=n(15),s=n.n(i),u=n(195),c=n.n(u),l=n(9),f=n.n(l),p=n(94),h=n.n(p),d=n(4),y=n.n(d),g=n(3),m=n(371),v=n(0),b=n.n(v),_=n(95),x=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},w={withinBounds:function(t,e){var n=t.width,o=t.height,a=t.voronoiPadding,i=t.polar,s=t.origin,u=t.scale,c=a||0,l=e.x,f=e.y;if(i){var p=Math.pow(l-s.x,2)+Math.pow(f-s.y,2),h=Math.max.apply(Math,r(u.y.range()));return p<Math.pow(h,2)}return l>=c&&l<=n-c&&f>=c&&f<=o-c},getDatasets:function(t){var e=function(e,n,r){var o=r&&r.type&&r.type.continuous,a=r?r.props&&r.props.style:t.style;return e.map(function(e,r){var i=g.o.getPoint(e),s=i.x,u=i.y;return y()({_voronoiX:"y"===t.voronoiDimension?0:s,_voronoiY:"x"===t.voronoiDimension?0:u,childName:n,eventKey:r,continuous:o,style:a},e)})};if(t.data)return e(t.data);var n=function(t){var e=g.i.getData(t);return Array.isArray(e)&&e.length>0?e:void 0},r=function(r,o,a){if(r.type&&"axis"===r.type.role||"legend"===r.type.role)return null;if(r.type&&f()(r.type.getData)){r=a?b.a.cloneElement(r,a.props):r;var i=r.props&&r.type.getData(x({},r.props,{domain:t.domain}));return i?e(i,o,r):null}var s=n(x({},r.props,{domain:t.domain}));return s?e(s,o,r):null};return g.o.reduceChildren(b.a.Children.toArray(t.children),r)},mergeDatasets:function(t,e){var n=c()(e,function(e){var n=g.o.scalePoint(t,e);return n.x+","+n.y});return s()(n).map(function(t){var e=t.split(",");return{x:+e[0],y:+e[1],points:n[t]}})},getVoronoi:function(t,e){var n=t.width,r=t.height,o=t.voronoiPadding,a=o||0,i=Object(m.a)().x(function(t){return t.x}).y(function(t){return t.y}).extent([[a,a],[n-a,r-a]]),s=this.getDatasets(t),u=i(this.mergeDatasets(t,s)),c=t.voronoiDimension?void 0:t.radius;return u.find(e.x,e.y,c)},getActiveMutations:function(t,e){var n=e.childName,r=e.continuous;return(t.labels?["data"]:["data","labels"]).map(function(t){var o=!0===r&&"data"===t?"all":e.eventKey;return{childName:n,eventKey:o,target:t,mutation:function(){return{active:!0}}}})},getInactiveMutations:function(t,e){var n=e.childName,r=e.continuous;return(t.labels?["data"]:["data","labels"]).map(function(t){var o=r&&"data"===t?"all":e.eventKey;return{childName:n,eventKey:o,target:t,mutation:function(){return null}}})},getParentMutation:function(t,e){return[{target:"parent",eventKey:"parent",mutation:function(){return{activePoints:t,mousePosition:e}}}]},onActivated:function(t,e){f()(t.onActivated)&&t.onActivated(e,t)},onDeactivated:function(t,e){f()(t.onDeactivated)&&t.onDeactivated(e,t)},onMouseLeave:function(t,e){var n,o=this,a=e.activePoints||[];this.onDeactivated(e,a);var i=a.length?a.map(function(t){return o.getInactiveMutations(e,t)}):[];return(n=this.getParentMutation([])).concat.apply(n,r(i))},onMouseMove:function(t,e){var n=this,o=e.activePoints||[],i=g.w.getSVGEventCoordinates(t);if(!this.withinBounds(e,i)){var s;this.onDeactivated(e,o);var u=o.length?o.map(function(t){return n.getInactiveMutations(e,t)}):[];return(s=this.getParentMutation([],i)).concat.apply(s,r(u))}var c=this.getVoronoi(e,i),l=c?c.data.points:[],f=this.getParentMutation(l,i);if(o.length&&a()(l,o))return f;this.onActivated(e,l),this.onDeactivated(e,o);var p=l.length?l.map(function(t){return n.getActiveMutations(e,t)}):[],h=o.length?o.map(function(t){return n.getInactiveMutations(e,t)}):[];return f.concat.apply(f,r(h).concat(r(p)))}};e.a={onMouseLeave:w.onMouseLeave.bind(w),onMouseMove:h()(Object(_.a)(w.onMouseMove.bind(w)),32,{leading:!0,trailing:!1})}},function(t,e,n){"use strict";function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}n.d(e,"a",function(){return k});var u=n(14),c=n.n(u),l=n(817),f=n.n(l),p=n(370),h=n.n(p),d=n(5),y=n.n(d),g=n(1),m=n.n(g),v=n(0),b=n.n(v),_=n(3),x=n(380),w=this,O=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},C=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),k=function(t){var e,n;return n=e=function(t){function e(){return a(this,e),i(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return s(e,t),C(e,[{key:"getCursorPosition",value:function(t){var e=t.cursorValue,n=t.defaultCursorValue,r=t.cursorDimension,a=t.domain;return e||(h()(n)?o({x:(a.x[0]+a.x[1])/2,y:(a.y[0]+a.y[1])/2},r,n):n)}},{key:"getCursorLabelOffset",value:function(t){var e=t.cursorLabelOffset;return h()(e)?{x:e,y:e}:e}},{key:"getPadding",value:function(t){if(f()(t.padding)){var e=t.children.find(function(t){return c()(t.props)&&!f()(t.props.padding)});return _.o.getPadding(e.props)}return _.o.getPadding(t)}},{key:"getCursorElements",value:function(t){var e=t.scale,n=t.cursorDimension,r=t.cursorLabelComponent,o=t.cursorLabel,a=t.cursorComponent,i=t.width,s=t.height,u=this.getCursorPosition(t),c=this.getCursorLabelOffset(t);if(!u)return[];var l=[],f=this.getPadding(t),p={x:e.x(u.x),y:e.y(u.y)};return o&&l.push(b.a.cloneElement(r,y()({active:!0},r.props,{x:p.x+c.x,y:p.y+c.y,text:_.o.evaluateProp(o,u,!0),active:!0,key:"cursor-label"}))),"x"!==n&&void 0!==n||l.push(b.a.cloneElement(a,{key:"x-cursor",x1:p.x,x2:p.x,y1:f.top,y2:s-f.bottom})),"y"!==n&&void 0!==n||l.push(b.a.cloneElement(a,{key:"y-cursor",x1:f.left,x2:i-f.right,y1:p.y,y2:p.y})),l}},{key:"getChildren",value:function(t){return[].concat(r(b.a.Children.toArray(t.children)),r(this.getCursorElements(t)))}}]),e}(t),e.displayName="VictoryCursorContainer",e.propTypes=O({},_.D.propTypes,{cursorDimension:m.a.oneOf(["x","y"]),cursorLabel:m.a.func,cursorLabelComponent:m.a.element,cursorLabelOffset:m.a.oneOfType([m.a.number,m.a.shape({x:m.a.number,y:m.a.number})]),defaultCursorValue:m.a.oneOfType([m.a.number,m.a.shape({x:m.a.number,y:m.a.number})]),onCursorChange:m.a.func}),e.defaultProps=O({},_.D.defaultProps,{cursorLabelComponent:b.a.createElement(_.E,null),cursorLabelOffset:{x:5,y:-10},cursorComponent:b.a.createElement(_.q,null)}),e.defaultEvents=[{target:"parent",eventHandlers:{onMouseLeave:function(){return[]},onTouchCancel:function(){return[]},onMouseMove:function(t,e){var n=x.a.onMouseMove(t,e);return n.id!==w.mouseMoveMutationId?(w.mouseMoveMutationId=n.id,n.mutations):[]},onTouchMove:function(t,e){var n=x.a.onMouseMove(t,e);return n.id!==w.mouseMoveMutationId?(w.mouseMoveMutationId=n.id,n.mutations):[]}}}],n};e.b=k(_.D)},function(t,e,n){"use strict";var r=n(9),o=n.n(r),a=n(94),i=n.n(a),s=n(3),u=n(95),c=n(213),l={onMouseMove:function(t,e){var n=e.onCursorChange,r=e.cursorDimension,a=e.domain,i=s.w.getSVGEventCoordinates(t),u=s.w.getDataCoordinates(e,e.scale,i.x,i.y),l=c.a.withinBounds(u,{x1:a.x[0],x2:a.x[1],y1:a.y[0],y2:a.y[1]});if(l||(u=null),o()(n))if(l){var f=r?u[r]:u;n(f,e)}else u!==e.cursorValue&&n(e.defaultCursorValue||null,e);return[{target:"parent",eventKey:"parent",mutation:function(){return{cursorValue:u}}}]}};e.a={onMouseMove:i()(Object(u.a)(l.onMouseMove.bind(l)),32,{leading:!0,trailing:!1})}},function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function o(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}n.d(e,"b",function(){return x});var u=n(276),c=n.n(u),l=n(5),f=n.n(l),p=n(1),h=n.n(p),d=n(0),y=n.n(d),g=n(382),m=n(3),v=this,b=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},_=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),x=function(t){var e,n;return n=e=function(t){function e(){return a(this,e),i(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return s(e,t),_(e,[{key:"clipDataComponents",value:function(t,e){var n=e.scale,r=e.clipContainerComponent,a=e.polar,i=e.origin,s=n.x.range(),u=n.y.range(),c=Math.abs(s[0]-s[1]),l=Math.abs(u[0]-u[1]),f=Math.max.apply(Math,o(u)),p=y.a.cloneElement(r,b({clipWidth:c,clipHeight:l,translateX:Math.min.apply(Math,o(s)),translateY:Math.min.apply(Math,o(u)),polar:a,origin:a?i:void 0,radius:a?f:void 0},r.props));return y.a.Children.toArray(t).map(function(t){var e=t&&t.type&&t.type.role;return"axis"===e||"legend"===e||"label"===e?t:y.a.cloneElement(t,{groupComponent:p})})}},{key:"modifyPolarDomain",value:function(t,e){return{x:e.x,y:[0,t.y[1]]}}},{key:"downsampleZoomData",value:function(t,e,n){var r=t.downsample,o=c()(e,"data");if(r&&o&&n){var a=e.x||e.y?m.i.formatData(o,e):o,i=!0===r?150:r,s=t.zoomDimension||"x",u=a.findIndex(function(t){return t[s]>=n[s][0]}),l=a.findIndex(function(t){return t[s]>n[s][1]});0!==u&&(u-=1),-1!==l&&(l+=1);var f=a.slice(u,l);return m.i.downsample(f,i,u)}}},{key:"modifyChildren",value:function(t){var e=this;return y.a.Children.toArray(t.children).map(function(n){var o=n&&n.type&&n.type.role,a=n,i=t.currentDomain,s=t.zoomActive,u=t.allowZoom,c=f()({},t.originalDomain,t.domain),l=f()({},t.zoomDomain,t.domain),p=f()({},t.cachedZoomDomain,t.domain),h=void 0;h=function(t,e){return+t.x[0]==+e.x[0]&&+t.x[1]==+e.x[1]&&+t.y[0]==+e.y[0]&&+t.y[1]==+e.y[1]}(l,p)?u&&!s?a.props.domain:f()({},i,c):l;var d=t.polar?e.modifyPolarDomain(h,c):h;return d&&t.zoomDimension&&(d=b({},l,r({},t.zoomDimension,d[t.zoomDimension]))),y.a.cloneElement(a,f()({domain:d,data:"legend"===o?void 0:e.downsampleZoomData(t,a.props,d)},a.props))})}},{key:"getChildren",value:function(t){var e=this.modifyChildren(t);return this.clipDataComponents(e,t)}}]),e}(t),e.displayName="VictoryZoomContainer",e.propTypes=b({},m.D.propTypes,{allowPan:h.a.bool,allowZoom:h.a.bool,clipContainerComponent:h.a.element.isRequired,downsample:h.a.oneOfType([h.a.bool,h.a.number]),minimumZoom:h.a.shape({x:h.a.number,y:h.a.number}),onZoomDomainChange:h.a.func,zoomDimension:h.a.oneOf(["x","y"]),zoomDomain:h.a.shape({x:m.u.domain,y:m.u.domain})}),e.defaultProps=b({},m.D.defaultProps,{clipContainerComponent:y.a.createElement(m.C,null),allowPan:!0,allowZoom:!0,zoomActive:!1}),e.defaultEvents=[{target:"parent",eventHandlers:{onMouseDown:function(t,e){return g.a.onMouseDown(t,e)},onTouchStart:function(t,e){return g.a.onMouseDown(t,e)},onMouseUp:function(t,e){return g.a.onMouseUp(t,e)},onTouchEnd:function(t,e){return g.a.onMouseUp(t,e)},onMouseLeave:function(t,e){return g.a.onMouseLeave(t,e)},onTouchCancel:function(t,e){return g.a.onMouseLeave(t,e)},onMouseMove:function(t,e,n,r){t.preventDefault();var o=g.a.onMouseMove(t,e,n,r);if(o.id!==v.mouseMoveMutationId)return v.mouseMoveMutationId=o.id,o.mutations},onTouchMove:function(t,e,n,r){t.preventDefault();var o=g.a.onMouseMove(t,e,n,r);if(o.id!==v.mouseMoveMutationId)return v.mouseMoveMutationId=o.id,o.mutations},onWheel:function(t,e,n,r){e.allowZoom&&t.preventDefault();var o=g.a.onWheel(t,e,n,r);if(o.id!==v.wheelMutationId)return v.wheelMutationId=o.id,o.mutations}}}],n};e.a=x(m.D)},function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var o=n(61),a=n.n(o),i=n(5),s=n.n(i),u=n(9),c=n.n(u),l=n(94),f=n.n(l),p=n(0),h=(n.n(p),n(3)),d=n(95),y=n(91),g=function(){function t(t,e){var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=t[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!e||n.length!==e);r=!0);}catch(t){o=!0,a=t}finally{try{!r&&s.return&&s.return()}finally{if(o)throw a}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),m={checkDomainEquality:function(t,e){var n=function(n){var r=t&&t[n],o=e&&e[n];return!r&&!o||!(!r||!o)&&(+r[0]==+o[0]&&+r[1]==+o[1])};return n("x")&&n("y")},scale:function(t,e,n,r){var o=g(t,2),a=o[0],i=o[1],s=Math.abs(i-a),u=n.minimumZoom&&n.minimumZoom[r],c=this.getScaleFactor(e);if(u&&s<=u&&c<1)return t;var l=g(this.getDomain(n)[r],2),f=l[0],p=l[1],d=this.getScalePercent(e,n,r),y=c*a+d*(c*s),m=this.getMinimumDomain(y,n,r),v=this.getScaledDomain(t,c,d),b=g(v,2),_=b[0],x=b[1],w=[_>f&&_<p?_:f,x<p&&x>f?x:p],O=Math.abs(m[1]-m[0])>Math.abs(w[1]-w[0])?m:w;return h.g.containsDates([f,p])?[new Date(O[0]),new Date(O[1])]:O},getScaledDomain:function(t,e,n){var r=g(t,2),o=r[0],a=r[1],i=Math.abs(a-o),s=i-i*e,u=+o+s*n,c=+a-s*(1-n);return[Math.min(u,c),Math.max(u,c)]},getMinimumDomain:function(t,e,n){var r=e.minimumZoom,o=this.getDomain(e)[n],a=g(o,2),i=a[0],s=a[1],u=Math.abs(i-s)/1e3,c=r?r[n]||u:u,l=t-c/2,f=t+c/2;return[l>i&&l<s?l:i,f<s&&f>i?f:+i+c/2]},zoommingOut:function(t){return t.deltaY>0},getScaleFactor:function(t){var e=this.zoommingOut(t)?1:-1,n=Math.min(Math.abs(t.deltaY/300),.5);return Math.abs(1+e*n)},getScalePercent:function(t,e,n){var r=this.getDomain(e),o=g(r[n],2),a=o[0],i=o[1];return(this.getPosition(t,e,r)[n]-a)/Math.abs(i-a)},getPosition:function(t,e,n){var r=h.w.getSVGEventCoordinates(t),o=r.x,a=r.y,i={x:e.scale.x.domain(n.x),y:e.scale.y.domain(n.y)};return h.w.getDataCoordinates(e,i,o,a)},pan:function(t,e,n){var r=t.map(function(t){return+t}),o=g(r,2),a=o[0],i=o[1],s=e.map(function(t){return+t}),u=g(s,2),c=u[0],l=u[1],f=a+n,p=i+n,d=void 0;if(f>c&&p<l)d=[f,p];else if(f<c){var y=i-a;d=[c,c+y]}else if(p>l){var m=i-a;d=[l-m,l]}else d=t;return h.g.containsDates(t)||h.g.containsDates(e)?d.map(function(t){return new Date(t)}):d},getDomainScale:function(t,e,n){var r=Array.isArray(t)?t:t[n],o=g(r,2),a=o[0],i=o[1],s=e[n].range();return Math.abs(s[0]-s[1])/(i-a)},handleAnimation:function(t){var e=c()(t.getTimer)&&t.getTimer.bind(t);if(e&&c()(e().bypassAnimation))return e().bypassAnimation(),c()(e().resumeAnimation)?function(){return e().resumeAnimation()}:void 0},getLastDomain:function(t,e){var n=t.zoomDomain,r=t.cachedZoomDomain,o=t.currentDomain,a=t.domain;return n&&!this.checkDomainEquality(n,r)?s()({},n,a):s()({},o||n||e,a)},getDomain:function(t){var e=t.originalDomain,n=t.domain,o=t.children,a=t.zoomDimension,i=p.Children.toArray(o),u={};return i.length&&(u=a?r({},a,y.a.getDomainFromChildren(t,a,i)):{x:y.a.getDomainFromChildren(t,"x",i),y:y.a.getDomainFromChildren(t,"y",i)}),s()({},u,e,n)},onMouseDown:function(t,e){if(t.preventDefault(),e.allowPan){var n=h.w.getSVGEventCoordinates(t),r=n.x,o=n.y;return[{target:"parent",mutation:function(){return{startX:r,startY:o,panning:!0,parentControlledProps:["domain"]}}}]}},onMouseUp:function(t,e){if(e.allowPan)return[{target:"parent",mutation:function(){return{panning:!1}}}]},onMouseLeave:function(t,e){if(e.allowPan)return[{target:"parent",mutation:function(){return{panning:!1}}}]},onMouseMove:function(t,e,n,r){if(e.panning&&e.allowPan){var o=e.scale,a=e.startX,i=e.startY,u=e.onZoomDomainChange,l=e.zoomDimension,f=e.zoomDomain,p=h.w.getSVGEventCoordinates(t),d=p.x,y=p.y,g=this.getDomain(e),m=this.getLastDomain(e,g),v=(a-d)/this.getDomainScale(m,o,"x"),b=(y-i)/this.getDomainScale(m,o,"y"),_={x:"y"===l?g.x:this.pan(m.x,g.x,v),y:"x"===l?g.y:this.pan(m.y,g.y,b)},x=this.handleAnimation(r),w={parentControlledProps:["domain"],startX:d,startY:y,domain:_,currentDomain:_,originalDomain:g,cachedZoomDomain:f};return c()(u)&&u(_,s()({},w,e)),[{target:"parent",callback:x,mutation:function(){return w}}]}},onWheel:function(t,e,n,r){if(e.allowZoom){var o=e.onZoomDomainChange,i=e.zoomDimension,u=e.zoomDomain,l=this.getDomain(e),f=this.getLastDomain(e,l),p=f.x,h=f.y,d={x:"y"===i?f.x:this.scale(p,t,e,"x"),y:"x"===i?f.y:this.scale(h,t,e,"y")},y=this.handleAnimation(r),g=!this.zoommingOut(t)||e.zoomActive&&!a()(l,f),m={domain:d,currentDomain:d,originalDomain:l,cachedZoomDomain:u,parentControlledProps:["domain"],panning:!1,zoomActive:g};return c()(o)&&o(d,s()({},m,e)),[{target:"parent",callback:y,mutation:function(){return m}}]}}};e.a={onMouseDown:m.onMouseDown.bind(m),onMouseUp:m.onMouseUp.bind(m),onMouseLeave:m.onMouseLeave.bind(m),onMouseMove:f()(Object(d.a)(m.onMouseMove.bind(m)),16,{leading:!0,trailing:!1}),onWheel:f()(Object(d.a)(m.onWheel.bind(m)),16,{leading:!0,trailing:!1})}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var o=n(0),a=r(o),i=n(398),s=r(i),u=n(245),c=r(u);n(498);var l=n(500),f=r(l),p=n(501),h=r(p),d=n(507),y=(r(d),n(511)),g=(r(y),n(514)),m=r(g),v=n(518);r(v),(0,c.default)("http://"+window.location.host);s.default.render(a.default.createElement(f.default,null,a.default.createElement(m.default,{name:"CoinTicker",title:"Portfolio",format:"+0.0a",metric:"%"}),a.default.createElement(h.default,{name:"TimeToWork",title:"Time to CP",format:"0",metric:"mins"}),a.default.createElement(h.default,{name:"LocationTemp",title:"Current Weather"})),document.getElementById("content"))},function(t,e,n){"use strict";var r=function(){};t.exports=r},function(t,e,n){"use strict";function r(t){return(""+t).replace(_,"$&/")}function o(t,e){this.func=t,this.context=e,this.count=0}function a(t,e,n){var r=t.func,o=t.context;r.call(o,e,t.count++)}function i(t,e,n){if(null==t)return t;var r=o.getPooled(e,n);m(t,a,r),o.release(r)}function s(t,e,n,r){this.result=t,this.keyPrefix=e,this.func=n,this.context=r,this.count=0}function u(t,e,n){var o=t.result,a=t.keyPrefix,i=t.func,s=t.context,u=i.call(s,e,t.count++);Array.isArray(u)?c(u,o,n,g.thatReturnsArgument):null!=u&&(y.isValidElement(u)&&(u=y.cloneAndReplaceKey(u,a+(!u.key||e&&e.key===u.key?"":r(u.key)+"/")+n)),o.push(u))}function c(t,e,n,o,a){var i="";null!=n&&(i=r(n)+"/");var c=s.getPooled(e,i,o,a);m(t,u,c),s.release(c)}function l(t,e,n){if(null==t)return t;var r=[];return c(t,r,null,e,n),r}function f(t,e,n){return null}function p(t,e){return m(t,f,null)}function h(t){var e=[];return c(t,e,null,g.thatReturnsArgument),e}var d=n(386),y=n(47),g=n(21),m=n(387),v=d.twoArgumentPooler,b=d.fourArgumentPooler,_=/\/+/g;o.prototype.destructor=function(){this.func=null,this.context=null,this.count=0},d.addPoolingTo(o,v),s.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},d.addPoolingTo(s,b);var x={forEach:i,map:l,mapIntoWithKeyPrefixInternal:c,count:p,toArray:h};t.exports=x},function(t,e,n){"use strict";var r=n(64),o=(n(2),function(t){var e=this;if(e.instancePool.length){var n=e.instancePool.pop();return e.call(n,t),n}return new e(t)}),a=function(t,e){var n=this;if(n.instancePool.length){var r=n.instancePool.pop();return n.call(r,t,e),r}return new n(t,e)},i=function(t,e,n){var r=this;if(r.instancePool.length){var o=r.instancePool.pop();return r.call(o,t,e,n),o}return new r(t,e,n)},s=function(t,e,n,r){var o=this;if(o.instancePool.length){var a=o.instancePool.pop();return o.call(a,t,e,n,r),a}return new o(t,e,n,r)},u=function(t){var e=this;t instanceof e||r("25"),t.destructor(),e.instancePool.length<e.poolSize&&e.instancePool.push(t)},c=o,l=function(t,e){var n=t;return n.instancePool=[],n.getPooled=e||c,n.poolSize||(n.poolSize=10),n.release=u,n},f={addPoolingTo:l,oneArgumentPooler:o,twoArgumentPooler:a,threeArgumentPooler:i,fourArgumentPooler:s};t.exports=f},function(t,e,n){"use strict";function r(t,e){return t&&"object"==typeof t&&null!=t.key?c.escape(t.key):e.toString(36)}function o(t,e,n,a){var p=typeof t;if("undefined"!==p&&"boolean"!==p||(t=null),null===t||"string"===p||"number"===p||"object"===p&&t.$$typeof===s)return n(a,t,""===e?l+r(t,0):e),1;var h,d,y=0,g=""===e?l:e+f;if(Array.isArray(t))for(var m=0;m<t.length;m++)h=t[m],d=g+r(h,m),y+=o(h,d,n,a);else{var v=u(t);if(v){var b,_=v.call(t);if(v!==t.entries)for(var x=0;!(b=_.next()).done;)h=b.value,d=g+r(h,x++),y+=o(h,d,n,a);else for(;!(b=_.next()).done;){var w=b.value;w&&(h=w[1],d=g+c.escape(w[0])+f+r(h,0),y+=o(h,d,n,a))}}else if("object"===p){var O="",C=String(t);i("31","[object Object]"===C?"object with keys {"+Object.keys(t).join(", ")+"}":C,O)}}return y}function a(t,e,n){return null==t?0:o(t,"",e,n)}var i=n(64),s=(n(31),n(217)),u=n(388),c=(n(2),n(389)),l=(n(6),"."),f=":";t.exports=a},function(t,e,n){"use strict";function r(t){var e=t&&(o&&t[o]||t[a]);if("function"==typeof e)return e}var o="function"==typeof Symbol&&Symbol.iterator,a="@@iterator";t.exports=r},function(t,e,n){"use strict";function r(t){var e={"=":"=0",":":"=2"};return"$"+(""+t).replace(/[=:]/g,function(t){return e[t]})}function o(t){var e=/(=0|=2)/g,n={"=0":"=","=2":":"};return(""+("."===t[0]&&"$"===t[1]?t.substring(2):t.substring(1))).replace(e,function(t){return n[t]})}var a={escape:r,unescape:o};t.exports=a},function(t,e,n){"use strict";var r=n(47),o=r.createFactory,a={a:o("a"),abbr:o("abbr"),address:o("address"),area:o("area"),article:o("article"),aside:o("aside"),audio:o("audio"),b:o("b"),base:o("base"),bdi:o("bdi"),bdo:o("bdo"),big:o("big"),blockquote:o("blockquote"),body:o("body"),br:o("br"),button:o("button"),canvas:o("canvas"),caption:o("caption"),cite:o("cite"),code:o("code"),col:o("col"),colgroup:o("colgroup"),data:o("data"),datalist:o("datalist"),dd:o("dd"),del:o("del"),details:o("details"),dfn:o("dfn"),dialog:o("dialog"),div:o("div"),dl:o("dl"),dt:o("dt"),em:o("em"),embed:o("embed"),fieldset:o("fieldset"),figcaption:o("figcaption"),figure:o("figure"),footer:o("footer"),form:o("form"),h1:o("h1"),h2:o("h2"),h3:o("h3"),h4:o("h4"),h5:o("h5"),h6:o("h6"),head:o("head"),header:o("header"),hgroup:o("hgroup"),hr:o("hr"),html:o("html"),i:o("i"),iframe:o("iframe"),img:o("img"),input:o("input"),ins:o("ins"),kbd:o("kbd"),keygen:o("keygen"),label:o("label"),legend:o("legend"),li:o("li"),link:o("link"),main:o("main"),map:o("map"),mark:o("mark"),menu:o("menu"),menuitem:o("menuitem"),meta:o("meta"),meter:o("meter"),nav:o("nav"),noscript:o("noscript"),object:o("object"),ol:o("ol"),optgroup:o("optgroup"),option:o("option"),output:o("output"),p:o("p"),param:o("param"),picture:o("picture"),pre:o("pre"),progress:o("progress"),q:o("q"),rp:o("rp"),rt:o("rt"),ruby:o("ruby"),s:o("s"),samp:o("samp"),script:o("script"),section:o("section"),select:o("select"),small:o("small"),source:o("source"),span:o("span"),strong:o("strong"),style:o("style"),sub:o("sub"),summary:o("summary"),sup:o("sup"),table:o("table"),tbody:o("tbody"),td:o("td"),textarea:o("textarea"),tfoot:o("tfoot"),th:o("th"),thead:o("thead"),time:o("time"),title:o("title"),tr:o("tr"),track:o("track"),u:o("u"),ul:o("ul"),var:o("var"),video:o("video"),wbr:o("wbr"),circle:o("circle"),clipPath:o("clipPath"),defs:o("defs"),ellipse:o("ellipse"),g:o("g"),image:o("image"),line:o("line"),linearGradient:o("linearGradient"),mask:o("mask"),path:o("path"),pattern:o("pattern"),polygon:o("polygon"),polyline:o("polyline"),radialGradient:o("radialGradient"),rect:o("rect"),stop:o("stop"),svg:o("svg"),text:o("text"),tspan:o("tspan")};t.exports=a},function(t,e,n){"use strict";var r=n(47),o=r.isValidElement,a=n(218);t.exports=a(o)},function(t,e,n){"use strict";var r=n(21),o=n(2),a=n(6),i=n(219),s=n(393);t.exports=function(t,e){function n(t){var e=t&&(C&&t[C]||t[k]);if("function"==typeof e)return e}function u(t,e){return t===e?0!==t||1/t==1/e:t!==t&&e!==e}function c(t){this.message=t,this.stack=""}function l(t){function n(n,r,a,s,u,l,f){if(s=s||M,l=l||a,f!==i)if(e)o(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");else;return null==r[a]?n?new c(null===r[a]?"The "+u+" `"+l+"` is marked as required in `"+s+"`, but its value is `null`.":"The "+u+" `"+l+"` is marked as required in `"+s+"`, but its value is `undefined`."):null:t(r,a,s,u,l)}var r=n.bind(null,!1);return r.isRequired=n.bind(null,!0),r}function f(t){function e(e,n,r,o,a,i){var s=e[n];if(_(s)!==t)return new c("Invalid "+o+" `"+a+"` of type `"+x(s)+"` supplied to `"+r+"`, expected `"+t+"`.");return null}return l(e)}function p(t){function e(e,n,r,o,a){if("function"!=typeof t)return new c("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var s=e[n];if(!Array.isArray(s)){return new c("Invalid "+o+" `"+a+"` of type `"+_(s)+"` supplied to `"+r+"`, expected an array.")}for(var u=0;u<s.length;u++){var l=t(s,u,r,o,a+"["+u+"]",i);if(l instanceof Error)return l}return null}return l(e)}function h(t){function e(e,n,r,o,a){if(!(e[n]instanceof t)){var i=t.name||M;return new c("Invalid "+o+" `"+a+"` of type `"+O(e[n])+"` supplied to `"+r+"`, expected instance of `"+i+"`.")}return null}return l(e)}function d(t){function e(e,n,r,o,a){for(var i=e[n],s=0;s<t.length;s++)if(u(i,t[s]))return null;return new c("Invalid "+o+" `"+a+"` of value `"+i+"` supplied to `"+r+"`, expected one of "+JSON.stringify(t)+".")}return Array.isArray(t)?l(e):r.thatReturnsNull}function y(t){function e(e,n,r,o,a){if("function"!=typeof t)return new c("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var s=e[n],u=_(s);if("object"!==u)return new c("Invalid "+o+" `"+a+"` of type `"+u+"` supplied to `"+r+"`, expected an object.");for(var l in s)if(s.hasOwnProperty(l)){var f=t(s,l,r,o,a+"."+l,i);if(f instanceof Error)return f}return null}return l(e)}function g(t){function e(e,n,r,o,a){for(var s=0;s<t.length;s++){if(null==(0,t[s])(e,n,r,o,a,i))return null}return new c("Invalid "+o+" `"+a+"` supplied to `"+r+"`.")}if(!Array.isArray(t))return r.thatReturnsNull;for(var n=0;n<t.length;n++){var o=t[n];if("function"!=typeof o)return a(!1,"Invalid argument supplid to oneOfType. Expected an array of check functions, but received %s at index %s.",w(o),n),r.thatReturnsNull}return l(e)}function m(t){function e(e,n,r,o,a){var s=e[n],u=_(s);if("object"!==u)return new c("Invalid "+o+" `"+a+"` of type `"+u+"` supplied to `"+r+"`, expected `object`.");for(var l in t){var f=t[l];if(f){var p=f(s,l,r,o,a+"."+l,i);if(p)return p}}return null}return l(e)}function v(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(v);if(null===e||t(e))return!0;var r=n(e);if(!r)return!1;var o,a=r.call(e);if(r!==e.entries){for(;!(o=a.next()).done;)if(!v(o.value))return!1}else for(;!(o=a.next()).done;){var i=o.value;if(i&&!v(i[1]))return!1}return!0;default:return!1}}function b(t,e){return"symbol"===t||("Symbol"===e["@@toStringTag"]||"function"==typeof Symbol&&e instanceof Symbol)}function _(t){var e=typeof t;return Array.isArray(t)?"array":t instanceof RegExp?"object":b(e,t)?"symbol":e}function x(t){if(void 0===t||null===t)return""+t;var e=_(t);if("object"===e){if(t instanceof Date)return"date";if(t instanceof RegExp)return"regexp"}return e}function w(t){var e=x(t);switch(e){case"array":case"object":return"an "+e;case"boolean":case"date":case"regexp":return"a "+e;default:return e}}function O(t){return t.constructor&&t.constructor.name?t.constructor.name:M}var C="function"==typeof Symbol&&Symbol.iterator,k="@@iterator",M="<<anonymous>>",P={array:f("array"),bool:f("boolean"),func:f("function"),number:f("number"),object:f("object"),string:f("string"),symbol:f("symbol"),any:function(){return l(r.thatReturnsNull)}(),arrayOf:p,element:function(){function e(e,n,r,o,a){var i=e[n];if(!t(i)){return new c("Invalid "+o+" `"+a+"` of type `"+_(i)+"` supplied to `"+r+"`, expected a single ReactElement.")}return null}return l(e)}(),instanceOf:h,node:function(){function t(t,e,n,r,o){return v(t[e])?null:new c("Invalid "+r+" `"+o+"` supplied to `"+n+"`, expected a ReactNode.")}return l(t)}(),objectOf:y,oneOf:d,oneOfType:g,shape:m};return c.prototype=Error.prototype,P.checkPropTypes=s,P.PropTypes=P,P}},function(t,e,n){"use strict";function r(t,e,n,r,o){}t.exports=r},function(t,e,n){"use strict";t.exports="15.6.2"},function(t,e,n){"use strict";var r=n(214),o=r.Component,a=n(47),i=a.isValidElement,s=n(215),u=n(396);t.exports=u(o,i,s)},function(t,e,n){"use strict";function r(t){return t}function o(t,e,n){function o(t,e){var n=v.hasOwnProperty(e)?v[e]:null;w.hasOwnProperty(e)&&s("OVERRIDE_BASE"===n,"ReactClassInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.",e),t&&s("DEFINE_MANY"===n||"DEFINE_MANY_MERGED"===n,"ReactClassInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",e)}function c(t,n){if(n){s("function"!=typeof n,"ReactClass: You're attempting to use a component class or function as a mixin. Instead, just use a regular object."),s(!e(n),"ReactClass: You're attempting to use a component as a mixin. Instead, just use a regular object.");var r=t.prototype,a=r.__reactAutoBindPairs;n.hasOwnProperty(u)&&b.mixins(t,n.mixins);for(var i in n)if(n.hasOwnProperty(i)&&i!==u){var c=n[i],l=r.hasOwnProperty(i);if(o(l,i),b.hasOwnProperty(i))b[i](t,c);else{var f=v.hasOwnProperty(i),d="function"==typeof c,y=d&&!f&&!l&&!1!==n.autobind;if(y)a.push(i,c),r[i]=c;else if(l){var g=v[i];s(f&&("DEFINE_MANY_MERGED"===g||"DEFINE_MANY"===g),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",g,i),"DEFINE_MANY_MERGED"===g?r[i]=p(r[i],c):"DEFINE_MANY"===g&&(r[i]=h(r[i],c))}else r[i]=c}}}else;}function l(t,e){if(e)for(var n in e){var r=e[n];if(e.hasOwnProperty(n)){var o=n in b;s(!o,'ReactClass: You are attempting to define a reserved property, `%s`, that shouldn\'t be on the "statics" key. Define it as an instance property instead; it will still be accessible on the constructor.',n);var a=n in t;s(!a,"ReactClass: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",n),t[n]=r}}}function f(t,e){s(t&&e&&"object"==typeof t&&"object"==typeof e,"mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects.");for(var n in e)e.hasOwnProperty(n)&&(s(void 0===t[n],"mergeIntoWithNoDuplicateKeys(): Tried to merge two objects with the same key: `%s`. This conflict may be due to a mixin; in particular, this may be caused by two getInitialState() or getDefaultProps() methods returning objects with clashing keys.",n),t[n]=e[n]);return t}function p(t,e){return function(){var n=t.apply(this,arguments),r=e.apply(this,arguments);if(null==n)return r;if(null==r)return n;var o={};return f(o,n),f(o,r),o}}function h(t,e){return function(){t.apply(this,arguments),e.apply(this,arguments)}}function d(t,e){var n=e.bind(t);return n}function y(t){for(var e=t.__reactAutoBindPairs,n=0;n<e.length;n+=2){var r=e[n],o=e[n+1];t[r]=d(t,o)}}function g(t){var e=r(function(t,r,o){this.__reactAutoBindPairs.length&&y(this),this.props=t,this.context=r,this.refs=i,this.updater=o||n,this.state=null;var a=this.getInitialState?this.getInitialState():null;s("object"==typeof a&&!Array.isArray(a),"%s.getInitialState(): must return an object or null",e.displayName||"ReactCompositeComponent"),this.state=a});e.prototype=new O,e.prototype.constructor=e,e.prototype.__reactAutoBindPairs=[],m.forEach(c.bind(null,e)),c(e,_),c(e,t),c(e,x),e.getDefaultProps&&(e.defaultProps=e.getDefaultProps()),s(e.prototype.render,"createClass(...): Class specification must implement a `render` method.");for(var o in v)e.prototype[o]||(e.prototype[o]=null);return e}var m=[],v={mixins:"DEFINE_MANY",statics:"DEFINE_MANY",propTypes:"DEFINE_MANY",contextTypes:"DEFINE_MANY",childContextTypes:"DEFINE_MANY",getDefaultProps:"DEFINE_MANY_MERGED",getInitialState:"DEFINE_MANY_MERGED",getChildContext:"DEFINE_MANY_MERGED",render:"DEFINE_ONCE",componentWillMount:"DEFINE_MANY",componentDidMount:"DEFINE_MANY",componentWillReceiveProps:"DEFINE_MANY",shouldComponentUpdate:"DEFINE_ONCE",componentWillUpdate:"DEFINE_MANY",componentDidUpdate:"DEFINE_MANY",componentWillUnmount:"DEFINE_MANY",updateComponent:"OVERRIDE_BASE"},b={displayName:function(t,e){t.displayName=e},mixins:function(t,e){if(e)for(var n=0;n<e.length;n++)c(t,e[n])},childContextTypes:function(t,e){t.childContextTypes=a({},t.childContextTypes,e)},contextTypes:function(t,e){t.contextTypes=a({},t.contextTypes,e)},getDefaultProps:function(t,e){t.getDefaultProps?t.getDefaultProps=p(t.getDefaultProps,e):t.getDefaultProps=e},propTypes:function(t,e){t.propTypes=a({},t.propTypes,e)},statics:function(t,e){l(t,e)},autobind:function(){}},_={componentDidMount:function(){this.__isMounted=!0}},x={componentWillUnmount:function(){this.__isMounted=!1}},w={replaceState:function(t,e){this.updater.enqueueReplaceState(this,t,e)},isMounted:function(){return!!this.__isMounted}},O=function(){};return a(O.prototype,t.prototype,w),g}var a=n(10),i=n(96),s=n(2),u="mixins";t.exports=o},function(t,e,n){"use strict";function r(t){return a.isValidElement(t)||o("143"),t}var o=n(64),a=n(47);n(2);t.exports=r},function(t,e,n){"use strict";t.exports=n(399)},function(t,e,n){"use strict";var r=n(12),o=n(400),a=n(243),i=n(49),s=n(25),u=n(472),c=n(473),l=n(244),f=n(474);n(6);o.inject();var p={findDOMNode:c,render:a.render,unmountComponentAtNode:a.unmountComponentAtNode,version:u,unstable_batchedUpdates:s.batchedUpdates,unstable_renderSubtreeIntoContainer:f};"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.inject&&__REACT_DEVTOOLS_GLOBAL_HOOK__.inject({ComponentTree:{getClosestInstanceFromNode:r.getClosestInstanceFromNode,getNodeFromInstance:function(t){return t._renderedComponent&&(t=l(t)),t?r.getNodeFromInstance(t):null}},Mount:a,Reconciler:i});t.exports=p},function(t,e,n){"use strict";function r(){O||(O=!0,v.EventEmitter.injectReactEventListener(m),v.EventPluginHub.injectEventPluginOrder(s),v.EventPluginUtils.injectComponentTree(p),v.EventPluginUtils.injectTreeTraversal(d),v.EventPluginHub.injectEventPluginsByName({SimpleEventPlugin:w,EnterLeaveEventPlugin:u,ChangeEventPlugin:i,SelectEventPlugin:x,BeforeInputEventPlugin:a}),v.HostComponent.injectGenericComponentClass(f),v.HostComponent.injectTextComponentClass(y),v.DOMProperty.injectDOMPropertyConfig(o),v.DOMProperty.injectDOMPropertyConfig(c),v.DOMProperty.injectDOMPropertyConfig(_),v.EmptyComponent.injectEmptyComponentFactory(function(t){return new h(t)}),v.Updates.injectReconcileTransaction(b),v.Updates.injectBatchingStrategy(g),v.Component.injectEnvironment(l))}var o=n(401),a=n(402),i=n(406),s=n(409),u=n(410),c=n(411),l=n(412),f=n(418),p=n(12),h=n(443),d=n(444),y=n(445),g=n(446),m=n(447),v=n(449),b=n(450),_=n(456),x=n(457),w=n(458),O=!1;t.exports={inject:r}},function(t,e,n){"use strict";var r={Properties:{"aria-current":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},DOMAttributeNames:{},DOMPropertyNames:{}};t.exports=r},function(t,e,n){"use strict";function r(t){return(t.ctrlKey||t.altKey||t.metaKey)&&!(t.ctrlKey&&t.altKey)}function o(t){switch(t){case"topCompositionStart":return k.compositionStart;case"topCompositionEnd":return k.compositionEnd;case"topCompositionUpdate":return k.compositionUpdate}}function a(t,e){return"topKeyDown"===t&&e.keyCode===v}function i(t,e){switch(t){case"topKeyUp":return-1!==m.indexOf(e.keyCode);case"topKeyDown":return e.keyCode!==v;case"topKeyPress":case"topMouseDown":case"topBlur":return!0;default:return!1}}function s(t){var e=t.detail;return"object"==typeof e&&"data"in e?e.data:null}function u(t,e,n,r){var u,c;if(b?u=o(t):P?i(t,n)&&(u=k.compositionEnd):a(t,n)&&(u=k.compositionStart),!u)return null;w&&(P||u!==k.compositionStart?u===k.compositionEnd&&P&&(c=P.getData()):P=d.getPooled(r));var l=y.getPooled(u,e,n,r);if(c)l.data=c;else{var f=s(n);null!==f&&(l.data=f)}return p.accumulateTwoPhaseDispatches(l),l}function c(t,e){switch(t){case"topCompositionEnd":return s(e);case"topKeyPress":return e.which!==O?null:(M=!0,C);case"topTextInput":var n=e.data;return n===C&&M?null:n;default:return null}}function l(t,e){if(P){if("topCompositionEnd"===t||!b&&i(t,e)){var n=P.getData();return d.release(P),P=null,n}return null}switch(t){case"topPaste":return null;case"topKeyPress":return e.which&&!r(e)?String.fromCharCode(e.which):null;case"topCompositionEnd":return w?null:e.data;default:return null}}function f(t,e,n,r){var o;if(!(o=x?c(t,n):l(t,n)))return null;var a=g.getPooled(k.beforeInput,e,n,r);return a.data=o,p.accumulateTwoPhaseDispatches(a),a}var p=n(65),h=n(19),d=n(403),y=n(404),g=n(405),m=[9,13,27,32],v=229,b=h.canUseDOM&&"CompositionEvent"in window,_=null;h.canUseDOM&&"documentMode"in document&&(_=document.documentMode);var x=h.canUseDOM&&"TextEvent"in window&&!_&&!function(){var t=window.opera;return"object"==typeof t&&"function"==typeof t.version&&parseInt(t.version(),10)<=12}(),w=h.canUseDOM&&(!b||_&&_>8&&_<=11),O=32,C=String.fromCharCode(O),k={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["topCompositionEnd","topKeyPress","topTextInput","topPaste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:["topBlur","topCompositionEnd","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:["topBlur","topCompositionStart","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:["topBlur","topCompositionUpdate","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]}},M=!1,P=null,E={eventTypes:k,extractEvents:function(t,e,n,r){return[u(t,e,n,r),f(t,e,n,r)]}};t.exports=E},function(t,e,n){"use strict";function r(t){this._root=t,this._startText=this.getText(),this._fallbackText=null}var o=n(10),a=n(39),i=n(223);o(r.prototype,{destructor:function(){this._root=null,this._startText=null,this._fallbackText=null},getText:function(){return"value"in this._root?this._root.value:this._root[i()]},getData:function(){if(this._fallbackText)return this._fallbackText;var t,e,n=this._startText,r=n.length,o=this.getText(),a=o.length;for(t=0;t<r&&n[t]===o[t];t++);var i=r-t;for(e=1;e<=i&&n[r-e]===o[a-e];e++);var s=e>1?1-e:void 0;return this._fallbackText=o.slice(t,s),this._fallbackText}}),a.addPoolingTo(r),t.exports=r},function(t,e,n){"use strict";function r(t,e,n,r){return o.call(this,t,e,n,r)}var o=n(32),a={data:null};o.augmentClass(r,a),t.exports=r},function(t,e,n){"use strict";function r(t,e,n,r){return o.call(this,t,e,n,r)}var o=n(32),a={data:null};o.augmentClass(r,a),t.exports=r},function(t,e,n){"use strict";function r(t,e,n){var r=M.getPooled(S.change,t,e,n);return r.type="change",w.accumulateTwoPhaseDispatches(r),r}function o(t){var e=t.nodeName&&t.nodeName.toLowerCase();return"select"===e||"input"===e&&"file"===t.type}function a(t){var e=r(D,t,E(t));k.batchedUpdates(i,e)}function i(t){x.enqueueEvents(t),x.processEventQueue(!1)}function s(t,e){j=t,D=e,j.attachEvent("onchange",a)}function u(){j&&(j.detachEvent("onchange",a),j=null,D=null)}function c(t,e){var n=P.updateValueIfChanged(t),r=!0===e.simulated&&L._allowSimulatedPassThrough;if(n||r)return t}function l(t,e){if("topChange"===t)return e}function f(t,e,n){"topFocus"===t?(u(),s(e,n)):"topBlur"===t&&u()}function p(t,e){j=t,D=e,j.attachEvent("onpropertychange",d)}function h(){j&&(j.detachEvent("onpropertychange",d),j=null,D=null)}function d(t){"value"===t.propertyName&&c(D,t)&&a(t)}function y(t,e,n){"topFocus"===t?(h(),p(e,n)):"topBlur"===t&&h()}function g(t,e,n){if("topSelectionChange"===t||"topKeyUp"===t||"topKeyDown"===t)return c(D,n)}function m(t){var e=t.nodeName;return e&&"input"===e.toLowerCase()&&("checkbox"===t.type||"radio"===t.type)}function v(t,e,n){if("topClick"===t)return c(e,n)}function b(t,e,n){if("topInput"===t||"topChange"===t)return c(e,n)}function _(t,e){if(null!=t){var n=t._wrapperState||e._wrapperState;if(n&&n.controlled&&"number"===e.type){var r=""+e.value;e.getAttribute("value")!==r&&e.setAttribute("value",r)}}}var x=n(66),w=n(65),O=n(19),C=n(12),k=n(25),M=n(32),P=n(226),E=n(137),A=n(138),T=n(227),S={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:["topBlur","topChange","topClick","topFocus","topInput","topKeyDown","topKeyUp","topSelectionChange"]}},j=null,D=null,N=!1;O.canUseDOM&&(N=A("change")&&(!document.documentMode||document.documentMode>8));var R=!1;O.canUseDOM&&(R=A("input")&&(!document.documentMode||document.documentMode>9));var L={eventTypes:S,_allowSimulatedPassThrough:!0,_isInputEventSupported:R,extractEvents:function(t,e,n,a){var i,s,u=e?C.getNodeFromInstance(e):window;if(o(u)?N?i=l:s=f:T(u)?R?i=b:(i=g,s=y):m(u)&&(i=v),i){var c=i(t,e,n);if(c){return r(c,n,a)}}s&&s(t,u,e),"topBlur"===t&&_(e,u)}};t.exports=L},function(t,e,n){"use strict";function r(t,e,n){"function"==typeof t?t(e.getPublicInstance()):a.addComponentAsRefTo(e,t,n)}function o(t,e,n){"function"==typeof t?t(null):a.removeComponentAsRefFrom(e,t,n)}var a=n(408),i={};i.attachRefs=function(t,e){if(null!==e&&"object"==typeof e){var n=e.ref;null!=n&&r(n,t,e._owner)}},i.shouldUpdateRefs=function(t,e){var n=null,r=null;null!==t&&"object"==typeof t&&(n=t.ref,r=t._owner);var o=null,a=null;return null!==e&&"object"==typeof e&&(o=e.ref,a=e._owner),n!==o||"string"==typeof o&&a!==r},i.detachRefs=function(t,e){if(null!==e&&"object"==typeof e){var n=e.ref;null!=n&&o(n,t,e._owner)}},t.exports=i},function(t,e,n){"use strict";function r(t){return!(!t||"function"!=typeof t.attachRef||"function"!=typeof t.detachRef)}var o=n(7),a=(n(2),{addComponentAsRefTo:function(t,e,n){r(n)||o("119"),n.attachRef(e,t)},removeComponentAsRefFrom:function(t,e,n){r(n)||o("120");var a=n.getPublicInstance();a&&a.refs[e]===t.getPublicInstance()&&n.detachRef(e)}});t.exports=a},function(t,e,n){"use strict";var r=["ResponderEventPlugin","SimpleEventPlugin","TapEventPlugin","EnterLeaveEventPlugin","ChangeEventPlugin","SelectEventPlugin","BeforeInputEventPlugin"];t.exports=r},function(t,e,n){"use strict";var r=n(65),o=n(12),a=n(98),i={mouseEnter:{registrationName:"onMouseEnter",dependencies:["topMouseOut","topMouseOver"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["topMouseOut","topMouseOver"]}},s={eventTypes:i,extractEvents:function(t,e,n,s){if("topMouseOver"===t&&(n.relatedTarget||n.fromElement))return null;if("topMouseOut"!==t&&"topMouseOver"!==t)return null;var u;if(s.window===s)u=s;else{var c=s.ownerDocument;u=c?c.defaultView||c.parentWindow:window}var l,f;if("topMouseOut"===t){l=e;var p=n.relatedTarget||n.toElement;f=p?o.getClosestInstanceFromNode(p):null}else l=null,f=e;if(l===f)return null;var h=null==l?u:o.getNodeFromInstance(l),d=null==f?u:o.getNodeFromInstance(f),y=a.getPooled(i.mouseLeave,l,n,s);y.type="mouseleave",y.target=h,y.relatedTarget=d;var g=a.getPooled(i.mouseEnter,f,n,s);return g.type="mouseenter",g.target=d,g.relatedTarget=h,r.accumulateEnterLeaveDispatches(y,g,l,f),[y,g]}};t.exports=s},function(t,e,n){"use strict";var r=n(48),o=r.injection.MUST_USE_PROPERTY,a=r.injection.HAS_BOOLEAN_VALUE,i=r.injection.HAS_NUMERIC_VALUE,s=r.injection.HAS_POSITIVE_NUMERIC_VALUE,u=r.injection.HAS_OVERLOADED_BOOLEAN_VALUE,c={isCustomAttribute:RegExp.prototype.test.bind(new RegExp("^(data|aria)-["+r.ATTRIBUTE_NAME_CHAR+"]*$")),Properties:{accept:0,acceptCharset:0,accessKey:0,action:0,allowFullScreen:a,allowTransparency:0,alt:0,as:0,async:a,autoComplete:0,autoPlay:a,capture:a,cellPadding:0,cellSpacing:0,charSet:0,challenge:0,checked:o|a,cite:0,classID:0,className:0,cols:s,colSpan:0,content:0,contentEditable:0,contextMenu:0,controls:a,controlsList:0,coords:0,crossOrigin:0,data:0,dateTime:0,default:a,defer:a,dir:0,disabled:a,download:u,draggable:0,encType:0,form:0,formAction:0,formEncType:0,formMethod:0,formNoValidate:a,formTarget:0,frameBorder:0,headers:0,height:0,hidden:a,high:0,href:0,hrefLang:0,htmlFor:0,httpEquiv:0,icon:0,id:0,inputMode:0,integrity:0,is:0,keyParams:0,keyType:0,kind:0,label:0,lang:0,list:0,loop:a,low:0,manifest:0,marginHeight:0,marginWidth:0,max:0,maxLength:0,media:0,mediaGroup:0,method:0,min:0,minLength:0,multiple:o|a,muted:o|a,name:0,nonce:0,noValidate:a,open:a,optimum:0,pattern:0,placeholder:0,playsInline:a,poster:0,preload:0,profile:0,radioGroup:0,readOnly:a,referrerPolicy:0,rel:0,required:a,reversed:a,role:0,rows:s,rowSpan:i,sandbox:0,scope:0,scoped:a,scrolling:0,seamless:a,selected:o|a,shape:0,size:s,sizes:0,span:s,spellCheck:0,src:0,srcDoc:0,srcLang:0,srcSet:0,start:i,step:0,style:0,summary:0,tabIndex:0,target:0,title:0,type:0,useMap:0,value:0,width:0,wmode:0,wrap:0,about:0,datatype:0,inlist:0,prefix:0,property:0,resource:0,typeof:0,vocab:0,autoCapitalize:0,autoCorrect:0,autoSave:0,color:0,itemProp:0,itemScope:a,itemType:0,itemID:0,itemRef:0,results:0,security:0,unselectable:0},DOMAttributeNames:{acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},DOMPropertyNames:{},DOMMutationMethods:{value:function(t,e){if(null==e)return t.removeAttribute("value");"number"!==t.type||!1===t.hasAttribute("value")?t.setAttribute("value",""+e):t.validity&&!t.validity.badInput&&t.ownerDocument.activeElement!==t&&t.setAttribute("value",""+e)}}};t.exports=c},function(t,e,n){"use strict";var r=n(140),o=n(417),a={processChildrenUpdates:o.dangerouslyProcessChildrenUpdates,replaceNodeWithMarkup:r.dangerouslyReplaceNodeWithMarkup};t.exports=a},function(t,e,n){"use strict";var r=n(7),o=n(50),a=n(19),i=n(414),s=n(21),u=(n(2),{dangerouslyReplaceNodeWithMarkup:function(t,e){if(a.canUseDOM||r("56"),e||r("57"),"HTML"===t.nodeName&&r("58"),"string"==typeof e){var n=i(e,s)[0];t.parentNode.replaceChild(n,t)}else o.replaceChildWithTree(t,e)}});t.exports=u},function(t,e,n){"use strict";function r(t){var e=t.match(l);return e&&e[1].toLowerCase()}function o(t,e){var n=c;c||u(!1);var o=r(t),a=o&&s(o);if(a){n.innerHTML=a[1]+t+a[2];for(var l=a[0];l--;)n=n.lastChild}else n.innerHTML=t;var f=n.getElementsByTagName("script");f.length&&(e||u(!1),i(f).forEach(e));for(var p=Array.from(n.childNodes);n.lastChild;)n.removeChild(n.lastChild);return p}var a=n(19),i=n(415),s=n(416),u=n(2),c=a.canUseDOM?document.createElement("div"):null,l=/^\s*<(\w+)/;t.exports=o},function(t,e,n){"use strict";function r(t){var e=t.length;if((Array.isArray(t)||"object"!=typeof t&&"function"!=typeof t)&&i(!1),"number"!=typeof e&&i(!1),0===e||e-1 in t||i(!1),"function"==typeof t.callee&&i(!1),t.hasOwnProperty)try{return Array.prototype.slice.call(t)}catch(t){}for(var n=Array(e),r=0;r<e;r++)n[r]=t[r];return n}function o(t){return!!t&&("object"==typeof t||"function"==typeof t)&&"length"in t&&!("setInterval"in t)&&"number"!=typeof t.nodeType&&(Array.isArray(t)||"callee"in t||"item"in t)}function a(t){return o(t)?Array.isArray(t)?t.slice():r(t):[t]}var i=n(2);t.exports=a},function(t,e,n){"use strict";function r(t){return i||a(!1),p.hasOwnProperty(t)||(t="*"),s.hasOwnProperty(t)||(i.innerHTML="*"===t?"<link />":"<"+t+"></"+t+">",s[t]=!i.firstChild),s[t]?p[t]:null}var o=n(19),a=n(2),i=o.canUseDOM?document.createElement("div"):null,s={},u=[1,'<select multiple="true">',"</select>"],c=[1,"<table>","</table>"],l=[3,"<table><tbody><tr>","</tr></tbody></table>"],f=[1,'<svg xmlns="http://www.w3.org/2000/svg">',"</svg>"],p={"*":[1,"?<div>","</div>"],area:[1,"<map>","</map>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],legend:[1,"<fieldset>","</fieldset>"],param:[1,"<object>","</object>"],tr:[2,"<table><tbody>","</tbody></table>"],optgroup:u,option:u,caption:c,colgroup:c,tbody:c,tfoot:c,thead:c,td:l,th:l};["circle","clipPath","defs","ellipse","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","text","tspan"].forEach(function(t){p[t]=f,s[t]=!0}),t.exports=r},function(t,e,n){"use strict";var r=n(140),o=n(12),a={dangerouslyProcessChildrenUpdates:function(t,e){var n=o.getNodeFromInstance(t);r.processUpdates(n,e)}};t.exports=a},function(t,e,n){"use strict";function r(t){if(t){var e=t._currentElement._owner||null;if(e){var n=e.getName();if(n)return" This DOM node was rendered by `"+n+"`."}}return""}function o(t,e){e&&(G[t._tag]&&(null!=e.children||null!=e.dangerouslySetInnerHTML)&&g("137",t._tag,t._currentElement._owner?" Check the render method of "+t._currentElement._owner.getName()+".":""),null!=e.dangerouslySetInnerHTML&&(null!=e.children&&g("60"),"object"==typeof e.dangerouslySetInnerHTML&&z in e.dangerouslySetInnerHTML||g("61")),null!=e.style&&"object"!=typeof e.style&&g("62",r(t)))}function a(t,e,n,r){if(!(r instanceof N)){var o=t._hostContainerInfo,a=o._node&&o._node.nodeType===H,s=a?o._node:o._ownerDocument;B(e,s),r.getReactMountReady().enqueue(i,{inst:t,registrationName:e,listener:n})}}function i(){var t=this;C.putListener(t.inst,t.registrationName,t.listener)}function s(){var t=this;A.postMountWrapper(t)}function u(){var t=this;j.postMountWrapper(t)}function c(){var t=this;T.postMountWrapper(t)}function l(){L.track(this)}function f(){var t=this;t._rootNodeID||g("63");var e=U(t);switch(e||g("64"),t._tag){case"iframe":case"object":t._wrapperState.listeners=[M.trapBubbledEvent("topLoad","load",e)];break;case"video":case"audio":t._wrapperState.listeners=[];for(var n in q)q.hasOwnProperty(n)&&t._wrapperState.listeners.push(M.trapBubbledEvent(n,q[n],e));break;case"source":t._wrapperState.listeners=[M.trapBubbledEvent("topError","error",e)];break;case"img":t._wrapperState.listeners=[M.trapBubbledEvent("topError","error",e),M.trapBubbledEvent("topLoad","load",e)];break;case"form":t._wrapperState.listeners=[M.trapBubbledEvent("topReset","reset",e),M.trapBubbledEvent("topSubmit","submit",e)];break;case"input":case"select":case"textarea":t._wrapperState.listeners=[M.trapBubbledEvent("topInvalid","invalid",e)]}}function p(){S.postUpdateWrapper(this)}function h(t){Q.call(Z,t)||($.test(t)||g("65",t),Z[t]=!0)}function d(t,e){return t.indexOf("-")>=0||null!=e.is}function y(t){var e=t.type;h(e),this._currentElement=t,this._tag=e.toLowerCase(),this._namespaceURI=null,this._renderedChildren=null,this._previousStyle=null,this._previousStyleCopy=null,this._hostNode=null,this._hostParent=null,this._rootNodeID=0,this._domID=0,this._hostContainerInfo=null,this._wrapperState=null,this._topLevelWrapper=null,this._flags=0}var g=n(7),m=n(10),v=n(419),b=n(420),_=n(50),x=n(141),w=n(48),O=n(232),C=n(66),k=n(134),M=n(101),P=n(220),E=n(12),A=n(430),T=n(432),S=n(233),j=n(433),D=(n(24),n(434)),N=n(441),R=(n(21),n(100)),L=(n(2),n(138),n(146),n(226)),I=(n(150),n(6),P),F=C.deleteListener,U=E.getNodeFromInstance,B=M.listenTo,V=k.registrationNameModules,W={string:!0,number:!0},z="__html",Y={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null},H=11,q={topAbort:"abort",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topSeeked:"seeked",topSeeking:"seeking",topStalled:"stalled",topSuspend:"suspend",topTimeUpdate:"timeupdate",topVolumeChange:"volumechange",topWaiting:"waiting"},K={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},X={listing:!0,pre:!0,textarea:!0},G=m({menuitem:!0},K),$=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Z={},Q={}.hasOwnProperty,J=1;y.displayName="ReactDOMComponent",y.Mixin={mountComponent:function(t,e,n,r){this._rootNodeID=J++,this._domID=n._idCounter++,this._hostParent=e,this._hostContainerInfo=n;var a=this._currentElement.props;switch(this._tag){case"audio":case"form":case"iframe":case"img":case"link":case"object":case"source":case"video":this._wrapperState={listeners:null},t.getReactMountReady().enqueue(f,this);break;case"input":A.mountWrapper(this,a,e),a=A.getHostProps(this,a),t.getReactMountReady().enqueue(l,this),t.getReactMountReady().enqueue(f,this);break;case"option":T.mountWrapper(this,a,e),a=T.getHostProps(this,a);break;case"select":S.mountWrapper(this,a,e),a=S.getHostProps(this,a),t.getReactMountReady().enqueue(f,this);break;case"textarea":j.mountWrapper(this,a,e),a=j.getHostProps(this,a),t.getReactMountReady().enqueue(l,this),t.getReactMountReady().enqueue(f,this)}o(this,a);var i,p;null!=e?(i=e._namespaceURI,p=e._tag):n._tag&&(i=n._namespaceURI,p=n._tag),(null==i||i===x.svg&&"foreignobject"===p)&&(i=x.html),i===x.html&&("svg"===this._tag?i=x.svg:"math"===this._tag&&(i=x.mathml)),this._namespaceURI=i;var h;if(t.useCreateElement){var d,y=n._ownerDocument;if(i===x.html)if("script"===this._tag){var g=y.createElement("div"),m=this._currentElement.type;g.innerHTML="<"+m+"></"+m+">",d=g.removeChild(g.firstChild)}else d=a.is?y.createElement(this._currentElement.type,a.is):y.createElement(this._currentElement.type);else d=y.createElementNS(i,this._currentElement.type);E.precacheNode(this,d),this._flags|=I.hasCachedChildNodes,this._hostParent||O.setAttributeForRoot(d),this._updateDOMProperties(null,a,t);var b=_(d);this._createInitialChildren(t,a,r,b),h=b}else{var w=this._createOpenTagMarkupAndPutListeners(t,a),C=this._createContentMarkup(t,a,r);h=!C&&K[this._tag]?w+"/>":w+">"+C+"</"+this._currentElement.type+">"}switch(this._tag){case"input":t.getReactMountReady().enqueue(s,this),a.autoFocus&&t.getReactMountReady().enqueue(v.focusDOMComponent,this);break;case"textarea":t.getReactMountReady().enqueue(u,this),a.autoFocus&&t.getReactMountReady().enqueue(v.focusDOMComponent,this);break;case"select":case"button":a.autoFocus&&t.getReactMountReady().enqueue(v.focusDOMComponent,this);break;case"option":t.getReactMountReady().enqueue(c,this)}return h},_createOpenTagMarkupAndPutListeners:function(t,e){var n="<"+this._currentElement.type;for(var r in e)if(e.hasOwnProperty(r)){var o=e[r];if(null!=o)if(V.hasOwnProperty(r))o&&a(this,r,o,t);else{"style"===r&&(o&&(o=this._previousStyleCopy=m({},e.style)),o=b.createMarkupForStyles(o,this));var i=null;null!=this._tag&&d(this._tag,e)?Y.hasOwnProperty(r)||(i=O.createMarkupForCustomAttribute(r,o)):i=O.createMarkupForProperty(r,o),i&&(n+=" "+i)}}return t.renderToStaticMarkup?n:(this._hostParent||(n+=" "+O.createMarkupForRoot()),n+=" "+O.createMarkupForID(this._domID))},_createContentMarkup:function(t,e,n){var r="",o=e.dangerouslySetInnerHTML;if(null!=o)null!=o.__html&&(r=o.__html);else{var a=W[typeof e.children]?e.children:null,i=null!=a?null:e.children;if(null!=a)r=R(a);else if(null!=i){var s=this.mountChildren(i,t,n);r=s.join("")}}return X[this._tag]&&"\n"===r.charAt(0)?"\n"+r:r},_createInitialChildren:function(t,e,n,r){var o=e.dangerouslySetInnerHTML;if(null!=o)null!=o.__html&&_.queueHTML(r,o.__html);else{var a=W[typeof e.children]?e.children:null,i=null!=a?null:e.children;if(null!=a)""!==a&&_.queueText(r,a);else if(null!=i)for(var s=this.mountChildren(i,t,n),u=0;u<s.length;u++)_.queueChild(r,s[u])}},receiveComponent:function(t,e,n){var r=this._currentElement;this._currentElement=t,this.updateComponent(e,r,t,n)},updateComponent:function(t,e,n,r){var a=e.props,i=this._currentElement.props;switch(this._tag){case"input":a=A.getHostProps(this,a),i=A.getHostProps(this,i);break;case"option":a=T.getHostProps(this,a),i=T.getHostProps(this,i);break;case"select":a=S.getHostProps(this,a),i=S.getHostProps(this,i);break;case"textarea":a=j.getHostProps(this,a),i=j.getHostProps(this,i)}switch(o(this,i),this._updateDOMProperties(a,i,t),this._updateDOMChildren(a,i,t,r),this._tag){case"input":A.updateWrapper(this),L.updateValueIfChanged(this);break;case"textarea":j.updateWrapper(this);break;case"select":t.getReactMountReady().enqueue(p,this)}},_updateDOMProperties:function(t,e,n){var r,o,i;for(r in t)if(!e.hasOwnProperty(r)&&t.hasOwnProperty(r)&&null!=t[r])if("style"===r){var s=this._previousStyleCopy;for(o in s)s.hasOwnProperty(o)&&(i=i||{},i[o]="");this._previousStyleCopy=null}else V.hasOwnProperty(r)?t[r]&&F(this,r):d(this._tag,t)?Y.hasOwnProperty(r)||O.deleteValueForAttribute(U(this),r):(w.properties[r]||w.isCustomAttribute(r))&&O.deleteValueForProperty(U(this),r);for(r in e){var u=e[r],c="style"===r?this._previousStyleCopy:null!=t?t[r]:void 0;if(e.hasOwnProperty(r)&&u!==c&&(null!=u||null!=c))if("style"===r)if(u?u=this._previousStyleCopy=m({},u):this._previousStyleCopy=null,c){for(o in c)!c.hasOwnProperty(o)||u&&u.hasOwnProperty(o)||(i=i||{},i[o]="");for(o in u)u.hasOwnProperty(o)&&c[o]!==u[o]&&(i=i||{},i[o]=u[o])}else i=u;else if(V.hasOwnProperty(r))u?a(this,r,u,n):c&&F(this,r);else if(d(this._tag,e))Y.hasOwnProperty(r)||O.setValueForAttribute(U(this),r,u);else if(w.properties[r]||w.isCustomAttribute(r)){var l=U(this);null!=u?O.setValueForProperty(l,r,u):O.deleteValueForProperty(l,r)}}i&&b.setValueForStyles(U(this),i,this)},_updateDOMChildren:function(t,e,n,r){var o=W[typeof t.children]?t.children:null,a=W[typeof e.children]?e.children:null,i=t.dangerouslySetInnerHTML&&t.dangerouslySetInnerHTML.__html,s=e.dangerouslySetInnerHTML&&e.dangerouslySetInnerHTML.__html,u=null!=o?null:t.children,c=null!=a?null:e.children,l=null!=o||null!=i,f=null!=a||null!=s;null!=u&&null==c?this.updateChildren(null,n,r):l&&!f&&this.updateTextContent(""),null!=a?o!==a&&this.updateTextContent(""+a):null!=s?i!==s&&this.updateMarkup(""+s):null!=c&&this.updateChildren(c,n,r)},getHostNode:function(){return U(this)},unmountComponent:function(t){switch(this._tag){case"audio":case"form":case"iframe":case"img":case"link":case"object":case"source":case"video":var e=this._wrapperState.listeners;if(e)for(var n=0;n<e.length;n++)e[n].remove();break;case"input":case"textarea":L.stopTracking(this);break;case"html":case"head":case"body":g("66",this._tag)}this.unmountChildren(t),E.uncacheNode(this),C.deleteAllListeners(this),this._rootNodeID=0,this._domID=0,this._wrapperState=null},getPublicInstance:function(){return U(this)}},m(y.prototype,y.Mixin,D.Mixin),t.exports=y},function(t,e,n){"use strict";var r=n(12),o=n(230),a={focusDOMComponent:function(){o(r.getNodeFromInstance(this))}};t.exports=a},function(t,e,n){"use strict";var r=n(231),o=n(19),a=(n(24),n(421),n(423)),i=n(424),s=n(426),u=(n(6),s(function(t){return i(t)})),c=!1,l="cssFloat";if(o.canUseDOM){var f=document.createElement("div").style;try{f.font=""}catch(t){c=!0}void 0===document.documentElement.style.cssFloat&&(l="styleFloat")}var p={createMarkupForStyles:function(t,e){var n="";for(var r in t)if(t.hasOwnProperty(r)){var o=0===r.indexOf("--"),i=t[r];null!=i&&(n+=u(r)+":",n+=a(r,i,e,o)+";")}return n||null},setValueForStyles:function(t,e,n){var o=t.style;for(var i in e)if(e.hasOwnProperty(i)){var s=0===i.indexOf("--"),u=a(i,e[i],n,s);if("float"!==i&&"cssFloat"!==i||(i=l),s)o.setProperty(i,u);else if(u)o[i]=u;else{var f=c&&r.shorthandPropertyExpansions[i];if(f)for(var p in f)o[p]="";else o[i]=""}}}};t.exports=p},function(t,e,n){"use strict";function r(t){return o(t.replace(a,"ms-"))}var o=n(422),a=/^-ms-/;t.exports=r},function(t,e,n){"use strict";function r(t){return t.replace(o,function(t,e){return e.toUpperCase()})}var o=/-(.)/g;t.exports=r},function(t,e,n){"use strict";function r(t,e,n,r){if(null==e||"boolean"==typeof e||""===e)return"";var o=isNaN(e);if(r||o||0===e||a.hasOwnProperty(t)&&a[t])return""+e;if("string"==typeof e){e=e.trim()}return e+"px"}var o=n(231),a=(n(6),o.isUnitlessNumber);t.exports=r},function(t,e,n){"use strict";function r(t){return o(t).replace(a,"-ms-")}var o=n(425),a=/^ms-/;t.exports=r},function(t,e,n){"use strict";function r(t){return t.replace(o,"-$1").toLowerCase()}var o=/([A-Z])/g;t.exports=r},function(t,e,n){"use strict";function r(t){var e={};return function(n){return e.hasOwnProperty(n)||(e[n]=t.call(this,n)),e[n]}}t.exports=r},function(t,e,n){"use strict";function r(t){return'"'+o(t)+'"'}var o=n(100);t.exports=r},function(t,e,n){"use strict";function r(t){o.enqueueEvents(t),o.processEventQueue(!1)}var o=n(66),a={handleTopLevel:function(t,e,n,a){r(o.extractEvents(t,e,n,a))}};t.exports=a},function(t,e,n){"use strict";function r(t,e){var n={};return n[t.toLowerCase()]=e.toLowerCase(),n["Webkit"+t]="webkit"+e,n["Moz"+t]="moz"+e,n["ms"+t]="MS"+e,n["O"+t]="o"+e.toLowerCase(),n}function o(t){if(s[t])return s[t];if(!i[t])return t;var e=i[t];for(var n in e)if(e.hasOwnProperty(n)&&n in u)return s[t]=e[n];return""}var a=n(19),i={animationend:r("Animation","AnimationEnd"),animationiteration:r("Animation","AnimationIteration"),animationstart:r("Animation","AnimationStart"),transitionend:r("Transition","TransitionEnd")},s={},u={};a.canUseDOM&&(u=document.createElement("div").style,"AnimationEvent"in window||(delete i.animationend.animation,delete i.animationiteration.animation,delete i.animationstart.animation),"TransitionEvent"in window||delete i.transitionend.transition),t.exports=o},function(t,e,n){"use strict";function r(){this._rootNodeID&&p.updateWrapper(this)}function o(t){return"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}function a(t){var e=this._currentElement.props,n=c.executeOnChange(e,t);f.asap(r,this);var o=e.name;if("radio"===e.type&&null!=o){for(var a=l.getNodeFromInstance(this),s=a;s.parentNode;)s=s.parentNode;for(var u=s.querySelectorAll("input[name="+JSON.stringify(""+o)+'][type="radio"]'),p=0;p<u.length;p++){var h=u[p];if(h!==a&&h.form===a.form){var d=l.getInstanceFromNode(h);d||i("90"),f.asap(r,d)}}}return n}var i=n(7),s=n(10),u=n(232),c=n(143),l=n(12),f=n(25),p=(n(2),n(6),{getHostProps:function(t,e){var n=c.getValue(e),r=c.getChecked(e);return s({type:void 0,step:void 0,min:void 0,max:void 0},e,{defaultChecked:void 0,defaultValue:void 0,value:null!=n?n:t._wrapperState.initialValue,checked:null!=r?r:t._wrapperState.initialChecked,onChange:t._wrapperState.onChange})},mountWrapper:function(t,e){var n=e.defaultValue;t._wrapperState={initialChecked:null!=e.checked?e.checked:e.defaultChecked,initialValue:null!=e.value?e.value:n,listeners:null,onChange:a.bind(t),controlled:o(e)}},updateWrapper:function(t){var e=t._currentElement.props,n=e.checked;null!=n&&u.setValueForProperty(l.getNodeFromInstance(t),"checked",n||!1);var r=l.getNodeFromInstance(t),o=c.getValue(e);if(null!=o)if(0===o&&""===r.value)r.value="0";else if("number"===e.type){var a=parseFloat(r.value,10)||0;(o!=a||o==a&&r.value!=o)&&(r.value=""+o)}else r.value!==""+o&&(r.value=""+o);else null==e.value&&null!=e.defaultValue&&r.defaultValue!==""+e.defaultValue&&(r.defaultValue=""+e.defaultValue),null==e.checked&&null!=e.defaultChecked&&(r.defaultChecked=!!e.defaultChecked)},postMountWrapper:function(t){var e=t._currentElement.props,n=l.getNodeFromInstance(t);switch(e.type){case"submit":case"reset":break;case"color":case"date":case"datetime":case"datetime-local":case"month":case"time":case"week":n.value="",n.value=n.defaultValue;break;default:n.value=n.value}var r=n.name;""!==r&&(n.name=""),n.defaultChecked=!n.defaultChecked,n.defaultChecked=!n.defaultChecked,""!==r&&(n.name=r)}});t.exports=p},function(t,e,n){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(t,e,n){"use strict";function r(t){var e="";return a.Children.forEach(t,function(t){null!=t&&("string"==typeof t||"number"==typeof t?e+=t:u||(u=!0))}),e}var o=n(10),a=n(46),i=n(12),s=n(233),u=(n(6),!1),c={mountWrapper:function(t,e,n){var o=null;if(null!=n){var a=n;"optgroup"===a._tag&&(a=a._hostParent),null!=a&&"select"===a._tag&&(o=s.getSelectValueContext(a))}var i=null;if(null!=o){var u;if(u=null!=e.value?e.value+"":r(e.children),i=!1,Array.isArray(o)){for(var c=0;c<o.length;c++)if(""+o[c]===u){i=!0;break}}else i=""+o===u}t._wrapperState={selected:i}},postMountWrapper:function(t){var e=t._currentElement.props;if(null!=e.value){i.getNodeFromInstance(t).setAttribute("value",e.value)}},getHostProps:function(t,e){var n=o({selected:void 0,children:void 0},e);null!=t._wrapperState.selected&&(n.selected=t._wrapperState.selected);var a=r(e.children);return a&&(n.children=a),n}};t.exports=c},function(t,e,n){"use strict";function r(){this._rootNodeID&&l.updateWrapper(this)}function o(t){var e=this._currentElement.props,n=s.executeOnChange(e,t);return c.asap(r,this),n}var a=n(7),i=n(10),s=n(143),u=n(12),c=n(25),l=(n(2),n(6),{getHostProps:function(t,e){return null!=e.dangerouslySetInnerHTML&&a("91"),i({},e,{value:void 0,defaultValue:void 0,children:""+t._wrapperState.initialValue,onChange:t._wrapperState.onChange})},mountWrapper:function(t,e){var n=s.getValue(e),r=n;if(null==n){var i=e.defaultValue,u=e.children;null!=u&&(null!=i&&a("92"),Array.isArray(u)&&(u.length<=1||a("93"),u=u[0]),i=""+u),null==i&&(i=""),r=i}t._wrapperState={initialValue:""+r,listeners:null,onChange:o.bind(t)}},updateWrapper:function(t){var e=t._currentElement.props,n=u.getNodeFromInstance(t),r=s.getValue(e);if(null!=r){var o=""+r;o!==n.value&&(n.value=o),null==e.defaultValue&&(n.defaultValue=o)}null!=e.defaultValue&&(n.defaultValue=e.defaultValue)},postMountWrapper:function(t){var e=u.getNodeFromInstance(t),n=e.textContent;n===t._wrapperState.initialValue&&(e.value=n)}});t.exports=l},function(t,e,n){"use strict";function r(t,e,n){return{type:"INSERT_MARKUP",content:t,fromIndex:null,fromNode:null,toIndex:n,afterNode:e}}function o(t,e,n){return{type:"MOVE_EXISTING",content:null,fromIndex:t._mountIndex,fromNode:p.getHostNode(t),toIndex:n,afterNode:e}}function a(t,e){return{type:"REMOVE_NODE",content:null,fromIndex:t._mountIndex,fromNode:e,toIndex:null,afterNode:null}}function i(t){return{type:"SET_MARKUP",content:t,fromIndex:null,fromNode:null,toIndex:null,afterNode:null}}function s(t){return{type:"TEXT_CONTENT",content:t,fromIndex:null,fromNode:null,toIndex:null,afterNode:null}}function u(t,e){return e&&(t=t||[],t.push(e)),t}function c(t,e){f.processChildrenUpdates(t,e)}var l=n(7),f=n(144),p=(n(68),n(24),n(31),n(49)),h=n(435),d=(n(21),n(440)),y=(n(2),{Mixin:{_reconcilerInstantiateChildren:function(t,e,n){return h.instantiateChildren(t,e,n)},_reconcilerUpdateChildren:function(t,e,n,r,o,a){var i,s=0;return i=d(e,s),h.updateChildren(t,i,n,r,o,this,this._hostContainerInfo,a,s),i},mountChildren:function(t,e,n){var r=this._reconcilerInstantiateChildren(t,e,n);this._renderedChildren=r;var o=[],a=0;for(var i in r)if(r.hasOwnProperty(i)){var s=r[i],u=0,c=p.mountComponent(s,e,this,this._hostContainerInfo,n,u);s._mountIndex=a++,o.push(c)}return o},updateTextContent:function(t){var e=this._renderedChildren;h.unmountChildren(e,!1);for(var n in e)e.hasOwnProperty(n)&&l("118");c(this,[s(t)])},updateMarkup:function(t){var e=this._renderedChildren;h.unmountChildren(e,!1);for(var n in e)e.hasOwnProperty(n)&&l("118");c(this,[i(t)])},updateChildren:function(t,e,n){this._updateChildren(t,e,n)},_updateChildren:function(t,e,n){var r=this._renderedChildren,o={},a=[],i=this._reconcilerUpdateChildren(r,t,a,o,e,n);if(i||r){var s,l=null,f=0,h=0,d=0,y=null;for(s in i)if(i.hasOwnProperty(s)){var g=r&&r[s],m=i[s];g===m?(l=u(l,this.moveChild(g,y,f,h)),h=Math.max(g._mountIndex,h),g._mountIndex=f):(g&&(h=Math.max(g._mountIndex,h)),l=u(l,this._mountChildAtIndex(m,a[d],y,f,e,n)),d++),f++,y=p.getHostNode(m)}for(s in o)o.hasOwnProperty(s)&&(l=u(l,this._unmountChild(r[s],o[s])));l&&c(this,l),this._renderedChildren=i}},unmountChildren:function(t){var e=this._renderedChildren;h.unmountChildren(e,t),this._renderedChildren=null},moveChild:function(t,e,n,r){if(t._mountIndex<r)return o(t,e,n)},createChild:function(t,e,n){return r(n,e,t._mountIndex)},removeChild:function(t,e){return a(t,e)},_mountChildAtIndex:function(t,e,n,r,o,a){return t._mountIndex=r,this.createChild(t,n,e)},_unmountChild:function(t,e){var n=this.removeChild(t,e);return t._mountIndex=null,n}}});t.exports=y},function(t,e,n){"use strict";(function(e){function r(t,e,n,r){var o=void 0===t[n];null!=e&&o&&(t[n]=a(e,!0))}var o=n(49),a=n(234),i=(n(148),n(147)),s=n(238);n(6);void 0!==e&&e.env;var u={instantiateChildren:function(t,e,n,o){if(null==t)return null;var a={};return s(t,r,a),a},updateChildren:function(t,e,n,r,s,u,c,l,f){if(e||t){var p,h;for(p in e)if(e.hasOwnProperty(p)){h=t&&t[p];var d=h&&h._currentElement,y=e[p];if(null!=h&&i(d,y))o.receiveComponent(h,y,s,l),e[p]=h;else{h&&(r[p]=o.getHostNode(h),o.unmountComponent(h,!1));var g=a(y,!0);e[p]=g;var m=o.mountComponent(g,s,u,c,l,f);n.push(m)}}for(p in t)!t.hasOwnProperty(p)||e&&e.hasOwnProperty(p)||(h=t[p],r[p]=o.getHostNode(h),o.unmountComponent(h,!1))}},unmountChildren:function(t,e){for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];o.unmountComponent(r,e)}}};t.exports=u}).call(e,n(145))},function(t,e,n){"use strict";function r(t){}function o(t){return!(!t.prototype||!t.prototype.isReactComponent)}function a(t){return!(!t.prototype||!t.prototype.isPureReactComponent)}var i=n(7),s=n(10),u=n(46),c=n(144),l=n(31),f=n(136),p=n(68),h=(n(24),n(235)),d=n(49),y=n(96),g=(n(2),n(146)),m=n(147),v=(n(6),{ImpureClass:0,PureClass:1,StatelessFunctional:2});r.prototype.render=function(){var t=p.get(this)._currentElement.type,e=t(this.props,this.context,this.updater);return e};var b=1,_={construct:function(t){this._currentElement=t,this._rootNodeID=0,this._compositeType=null,this._instance=null,this._hostParent=null,this._hostContainerInfo=null,this._updateBatchNumber=null,this._pendingElement=null,this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,this._renderedNodeType=null,this._renderedComponent=null,this._context=null,this._mountOrder=0,this._topLevelWrapper=null,this._pendingCallbacks=null,this._calledComponentWillUnmount=!1},mountComponent:function(t,e,n,s){this._context=s,this._mountOrder=b++,this._hostParent=e,this._hostContainerInfo=n;var c,l=this._currentElement.props,f=this._processContext(s),h=this._currentElement.type,d=t.getUpdateQueue(),g=o(h),m=this._constructComponent(g,l,f,d);g||null!=m&&null!=m.render?a(h)?this._compositeType=v.PureClass:this._compositeType=v.ImpureClass:(c=m,null===m||!1===m||u.isValidElement(m)||i("105",h.displayName||h.name||"Component"),m=new r(h),this._compositeType=v.StatelessFunctional);m.props=l,m.context=f,m.refs=y,m.updater=d,this._instance=m,p.set(m,this);var _=m.state;void 0===_&&(m.state=_=null),("object"!=typeof _||Array.isArray(_))&&i("106",this.getName()||"ReactCompositeComponent"),this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1;var x;return x=m.unstable_handleError?this.performInitialMountWithErrorHandling(c,e,n,t,s):this.performInitialMount(c,e,n,t,s),m.componentDidMount&&t.getReactMountReady().enqueue(m.componentDidMount,m),x},_constructComponent:function(t,e,n,r){return this._constructComponentWithoutOwner(t,e,n,r)},_constructComponentWithoutOwner:function(t,e,n,r){var o=this._currentElement.type;return t?new o(e,n,r):o(e,n,r)},performInitialMountWithErrorHandling:function(t,e,n,r,o){var a,i=r.checkpoint();try{a=this.performInitialMount(t,e,n,r,o)}catch(s){r.rollback(i),this._instance.unstable_handleError(s),this._pendingStateQueue&&(this._instance.state=this._processPendingState(this._instance.props,this._instance.context)),i=r.checkpoint(),this._renderedComponent.unmountComponent(!0),r.rollback(i),a=this.performInitialMount(t,e,n,r,o)}return a},performInitialMount:function(t,e,n,r,o){var a=this._instance,i=0;a.componentWillMount&&(a.componentWillMount(),this._pendingStateQueue&&(a.state=this._processPendingState(a.props,a.context))),void 0===t&&(t=this._renderValidatedComponent());var s=h.getType(t);this._renderedNodeType=s;var u=this._instantiateReactComponent(t,s!==h.EMPTY);this._renderedComponent=u;var c=d.mountComponent(u,r,e,n,this._processChildContext(o),i);return c},getHostNode:function(){return d.getHostNode(this._renderedComponent)},unmountComponent:function(t){if(this._renderedComponent){var e=this._instance;if(e.componentWillUnmount&&!e._calledComponentWillUnmount)if(e._calledComponentWillUnmount=!0,t){var n=this.getName()+".componentWillUnmount()";f.invokeGuardedCallback(n,e.componentWillUnmount.bind(e))}else e.componentWillUnmount();this._renderedComponent&&(d.unmountComponent(this._renderedComponent,t),this._renderedNodeType=null,this._renderedComponent=null,this._instance=null),this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,this._pendingCallbacks=null,this._pendingElement=null,this._context=null,this._rootNodeID=0,this._topLevelWrapper=null,p.remove(e)}},_maskContext:function(t){var e=this._currentElement.type,n=e.contextTypes;if(!n)return y;var r={};for(var o in n)r[o]=t[o];return r},_processContext:function(t){var e=this._maskContext(t);return e},_processChildContext:function(t){var e,n=this._currentElement.type,r=this._instance;if(r.getChildContext&&(e=r.getChildContext()),e){"object"!=typeof n.childContextTypes&&i("107",this.getName()||"ReactCompositeComponent");for(var o in e)o in n.childContextTypes||i("108",this.getName()||"ReactCompositeComponent",o);return s({},t,e)}return t},_checkContextTypes:function(t,e,n){},receiveComponent:function(t,e,n){var r=this._currentElement,o=this._context;this._pendingElement=null,this.updateComponent(e,r,t,o,n)},performUpdateIfNecessary:function(t){null!=this._pendingElement?d.receiveComponent(this,this._pendingElement,t,this._context):null!==this._pendingStateQueue||this._pendingForceUpdate?this.updateComponent(t,this._currentElement,this._currentElement,this._context,this._context):this._updateBatchNumber=null},updateComponent:function(t,e,n,r,o){var a=this._instance;null==a&&i("136",this.getName()||"ReactCompositeComponent");var s,u=!1;this._context===o?s=a.context:(s=this._processContext(o),u=!0);var c=e.props,l=n.props;e!==n&&(u=!0),u&&a.componentWillReceiveProps&&a.componentWillReceiveProps(l,s);var f=this._processPendingState(l,s),p=!0;this._pendingForceUpdate||(a.shouldComponentUpdate?p=a.shouldComponentUpdate(l,f,s):this._compositeType===v.PureClass&&(p=!g(c,l)||!g(a.state,f))),this._updateBatchNumber=null,p?(this._pendingForceUpdate=!1,this._performComponentUpdate(n,l,f,s,t,o)):(this._currentElement=n,this._context=o,a.props=l,a.state=f,a.context=s)},_processPendingState:function(t,e){var n=this._instance,r=this._pendingStateQueue,o=this._pendingReplaceState;if(this._pendingReplaceState=!1,this._pendingStateQueue=null,!r)return n.state;if(o&&1===r.length)return r[0];for(var a=s({},o?r[0]:n.state),i=o?1:0;i<r.length;i++){var u=r[i];s(a,"function"==typeof u?u.call(n,a,t,e):u)}return a},_performComponentUpdate:function(t,e,n,r,o,a){var i,s,u,c=this._instance,l=Boolean(c.componentDidUpdate);l&&(i=c.props,s=c.state,u=c.context),c.componentWillUpdate&&c.componentWillUpdate(e,n,r),this._currentElement=t,this._context=a,c.props=e,c.state=n,c.context=r,this._updateRenderedComponent(o,a),l&&o.getReactMountReady().enqueue(c.componentDidUpdate.bind(c,i,s,u),c)},_updateRenderedComponent:function(t,e){var n=this._renderedComponent,r=n._currentElement,o=this._renderValidatedComponent(),a=0;if(m(r,o))d.receiveComponent(n,o,t,this._processChildContext(e));else{var i=d.getHostNode(n);d.unmountComponent(n,!1);var s=h.getType(o);this._renderedNodeType=s;var u=this._instantiateReactComponent(o,s!==h.EMPTY);this._renderedComponent=u;var c=d.mountComponent(u,t,this._hostParent,this._hostContainerInfo,this._processChildContext(e),a);this._replaceNodeWithMarkup(i,c,n)}},_replaceNodeWithMarkup:function(t,e,n){c.replaceNodeWithMarkup(t,e,n)},_renderValidatedComponentWithoutOwnerOrContext:function(){var t=this._instance;return t.render()},_renderValidatedComponent:function(){var t;if(this._compositeType!==v.StatelessFunctional){l.current=this;try{t=this._renderValidatedComponentWithoutOwnerOrContext()}finally{l.current=null}}else t=this._renderValidatedComponentWithoutOwnerOrContext();return null===t||!1===t||u.isValidElement(t)||i("109",this.getName()||"ReactCompositeComponent"),t},attachRef:function(t,e){var n=this.getPublicInstance();null==n&&i("110");var r=e.getPublicInstance();(n.refs===y?n.refs={}:n.refs)[t]=r},detachRef:function(t){delete this.getPublicInstance().refs[t]},getName:function(){var t=this._currentElement.type,e=this._instance&&this._instance.constructor;return t.displayName||e&&e.displayName||t.name||e&&e.name||null},getPublicInstance:function(){var t=this._instance;return this._compositeType===v.StatelessFunctional?null:t},_instantiateReactComponent:null};t.exports=_},function(t,e,n){"use strict";function r(){return o++}var o=1;t.exports=r},function(t,e,n){"use strict";var r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;t.exports=r},function(t,e,n){"use strict";function r(t){var e=t&&(o&&t[o]||t[a]);if("function"==typeof e)return e}var o="function"==typeof Symbol&&Symbol.iterator,a="@@iterator";t.exports=r},function(t,e,n){"use strict";(function(e){function r(t,e,n,r){if(t&&"object"==typeof t){var o=t,a=void 0===o[n];a&&null!=e&&(o[n]=e)}}function o(t,e){if(null==t)return t;var n={};return a(t,r,n),n}var a=(n(148),n(238));n(6);void 0!==e&&e.env,t.exports=o}).call(e,n(145))},function(t,e,n){"use strict";function r(t){this.reinitializeTransaction(),this.renderToStaticMarkup=t,this.useCreateElement=!1,this.updateQueue=new s(this)}var o=n(10),a=n(39),i=n(97),s=(n(24),n(442)),u=[],c={enqueue:function(){}},l={getTransactionWrappers:function(){return u},getReactMountReady:function(){return c},getUpdateQueue:function(){return this.updateQueue},destructor:function(){},checkpoint:function(){},rollback:function(){}};o(r.prototype,i,l),a.addPoolingTo(r),t.exports=r},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var o=n(149),a=(n(6),function(){function t(e){r(this,t),this.transaction=e}return t.prototype.isMounted=function(t){return!1},t.prototype.enqueueCallback=function(t,e,n){this.transaction.isInTransaction()&&o.enqueueCallback(t,e,n)},t.prototype.enqueueForceUpdate=function(t){this.transaction.isInTransaction()&&o.enqueueForceUpdate(t)},t.prototype.enqueueReplaceState=function(t,e){this.transaction.isInTransaction()&&o.enqueueReplaceState(t,e)},t.prototype.enqueueSetState=function(t,e){this.transaction.isInTransaction()&&o.enqueueSetState(t,e)},t}());t.exports=a},function(t,e,n){"use strict";var r=n(10),o=n(50),a=n(12),i=function(t){this._currentElement=null,this._hostNode=null,this._hostParent=null,this._hostContainerInfo=null,this._domID=0};r(i.prototype,{mountComponent:function(t,e,n,r){var i=n._idCounter++;this._domID=i,this._hostParent=e,this._hostContainerInfo=n;var s=" react-empty: "+this._domID+" ";if(t.useCreateElement){var u=n._ownerDocument,c=u.createComment(s);return a.precacheNode(this,c),o(c)}return t.renderToStaticMarkup?"":"\x3c!--"+s+"--\x3e"},receiveComponent:function(){},getHostNode:function(){return a.getNodeFromInstance(this)},unmountComponent:function(){a.uncacheNode(this)}}),t.exports=i},function(t,e,n){"use strict";function r(t,e){"_hostNode"in t||u("33"),"_hostNode"in e||u("33");for(var n=0,r=t;r;r=r._hostParent)n++;for(var o=0,a=e;a;a=a._hostParent)o++;for(;n-o>0;)t=t._hostParent,n--;for(;o-n>0;)e=e._hostParent,o--;for(var i=n;i--;){if(t===e)return t;t=t._hostParent,e=e._hostParent}return null}function o(t,e){"_hostNode"in t||u("35"),"_hostNode"in e||u("35");for(;e;){if(e===t)return!0;e=e._hostParent}return!1}function a(t){return"_hostNode"in t||u("36"),t._hostParent}function i(t,e,n){for(var r=[];t;)r.push(t),t=t._hostParent;var o;for(o=r.length;o-- >0;)e(r[o],"captured",n);for(o=0;o<r.length;o++)e(r[o],"bubbled",n)}function s(t,e,n,o,a){for(var i=t&&e?r(t,e):null,s=[];t&&t!==i;)s.push(t),t=t._hostParent;for(var u=[];e&&e!==i;)u.push(e),e=e._hostParent;var c;for(c=0;c<s.length;c++)n(s[c],"bubbled",o);for(c=u.length;c-- >0;)n(u[c],"captured",a)}var u=n(7);n(2);t.exports={isAncestor:o,getLowestCommonAncestor:r,getParentInstance:a,traverseTwoPhase:i,traverseEnterLeave:s}},function(t,e,n){"use strict";var r=n(7),o=n(10),a=n(140),i=n(50),s=n(12),u=n(100),c=(n(2),n(150),function(t){this._currentElement=t,this._stringText=""+t,this._hostNode=null,this._hostParent=null,this._domID=0,this._mountIndex=0,this._closingComment=null,this._commentNodes=null});o(c.prototype,{mountComponent:function(t,e,n,r){var o=n._idCounter++,a=" react-text: "+o+" ";if(this._domID=o,this._hostParent=e,t.useCreateElement){var c=n._ownerDocument,l=c.createComment(a),f=c.createComment(" /react-text "),p=i(c.createDocumentFragment());return i.queueChild(p,i(l)),this._stringText&&i.queueChild(p,i(c.createTextNode(this._stringText))),i.queueChild(p,i(f)),s.precacheNode(this,l),this._closingComment=f,p}var h=u(this._stringText);return t.renderToStaticMarkup?h:"\x3c!--"+a+"--\x3e"+h+"\x3c!-- /react-text --\x3e"},receiveComponent:function(t,e){if(t!==this._currentElement){this._currentElement=t;var n=""+t;if(n!==this._stringText){this._stringText=n;var r=this.getHostNode();a.replaceDelimitedText(r[0],r[1],n)}}},getHostNode:function(){var t=this._commentNodes;if(t)return t;if(!this._closingComment)for(var e=s.getNodeFromInstance(this),n=e.nextSibling;;){if(null==n&&r("67",this._domID),8===n.nodeType&&" /react-text "===n.nodeValue){this._closingComment=n;break}n=n.nextSibling}return t=[this._hostNode,this._closingComment],this._commentNodes=t,t},unmountComponent:function(){this._closingComment=null,this._commentNodes=null,s.uncacheNode(this)}}),t.exports=c},function(t,e,n){"use strict";function r(){this.reinitializeTransaction()}var o=n(10),a=n(25),i=n(97),s=n(21),u={initialize:s,close:function(){p.isBatchingUpdates=!1}},c={initialize:s,close:a.flushBatchedUpdates.bind(a)},l=[c,u];o(r.prototype,i,{getTransactionWrappers:function(){return l}});var f=new r,p={isBatchingUpdates:!1,batchedUpdates:function(t,e,n,r,o,a){var i=p.isBatchingUpdates;return p.isBatchingUpdates=!0,i?t(e,n,r,o,a):f.perform(t,null,e,n,r,o,a)}};t.exports=p},function(t,e,n){"use strict";function r(t){for(;t._hostParent;)t=t._hostParent;var e=f.getNodeFromInstance(t),n=e.parentNode;return f.getClosestInstanceFromNode(n)}function o(t,e){this.topLevelType=t,this.nativeEvent=e,this.ancestors=[]}function a(t){var e=h(t.nativeEvent),n=f.getClosestInstanceFromNode(e),o=n;do{t.ancestors.push(o),o=o&&r(o)}while(o);for(var a=0;a<t.ancestors.length;a++)n=t.ancestors[a],y._handleTopLevel(t.topLevelType,n,t.nativeEvent,h(t.nativeEvent))}function i(t){t(d(window))}var s=n(10),u=n(240),c=n(19),l=n(39),f=n(12),p=n(25),h=n(137),d=n(448);s(o.prototype,{destructor:function(){this.topLevelType=null,this.nativeEvent=null,this.ancestors.length=0}}),l.addPoolingTo(o,l.twoArgumentPooler);var y={_enabled:!0,_handleTopLevel:null,WINDOW_HANDLE:c.canUseDOM?window:null,setHandleTopLevel:function(t){y._handleTopLevel=t},setEnabled:function(t){y._enabled=!!t},isEnabled:function(){return y._enabled},trapBubbledEvent:function(t,e,n){return n?u.listen(n,e,y.dispatchEvent.bind(null,t)):null},trapCapturedEvent:function(t,e,n){return n?u.capture(n,e,y.dispatchEvent.bind(null,t)):null},monitorScrollValue:function(t){var e=i.bind(null,t);u.listen(window,"scroll",e)},dispatchEvent:function(t,e){if(y._enabled){var n=o.getPooled(t,e);try{p.batchedUpdates(a,n)}finally{o.release(n)}}}};t.exports=y},function(t,e,n){"use strict";function r(t){return t.Window&&t instanceof t.Window?{x:t.pageXOffset||t.document.documentElement.scrollLeft,y:t.pageYOffset||t.document.documentElement.scrollTop}:{x:t.scrollLeft,y:t.scrollTop}}t.exports=r},function(t,e,n){"use strict";var r=n(48),o=n(66),a=n(135),i=n(144),s=n(236),u=n(101),c=n(237),l=n(25),f={Component:i.injection,DOMProperty:r.injection,EmptyComponent:s.injection,EventPluginHub:o.injection,EventPluginUtils:a.injection,EventEmitter:u.injection,HostComponent:c.injection,Updates:l.injection};t.exports=f},function(t,e,n){"use strict";function r(t){this.reinitializeTransaction(),this.renderToStaticMarkup=!1,this.reactMountReady=a.getPooled(null),this.useCreateElement=t}var o=n(10),a=n(224),i=n(39),s=n(101),u=n(241),c=(n(24),n(97)),l=n(149),f={initialize:u.getSelectionInformation,close:u.restoreSelection},p={initialize:function(){var t=s.isEnabled();return s.setEnabled(!1),t},close:function(t){s.setEnabled(t)}},h={initialize:function(){this.reactMountReady.reset()},close:function(){this.reactMountReady.notifyAll()}},d=[f,p,h],y={getTransactionWrappers:function(){return d},getReactMountReady:function(){return this.reactMountReady},getUpdateQueue:function(){return l},checkpoint:function(){return this.reactMountReady.checkpoint()},rollback:function(t){this.reactMountReady.rollback(t)},destructor:function(){a.release(this.reactMountReady),this.reactMountReady=null}};o(r.prototype,c,y),i.addPoolingTo(r),t.exports=r},function(t,e,n){"use strict";function r(t,e,n,r){return t===n&&e===r}function o(t){var e=document.selection,n=e.createRange(),r=n.text.length,o=n.duplicate();o.moveToElementText(t),o.setEndPoint("EndToStart",n);var a=o.text.length;return{start:a,end:a+r}}function a(t){var e=window.getSelection&&window.getSelection();if(!e||0===e.rangeCount)return null;var n=e.anchorNode,o=e.anchorOffset,a=e.focusNode,i=e.focusOffset,s=e.getRangeAt(0);try{s.startContainer.nodeType,s.endContainer.nodeType}catch(t){return null}var u=r(e.anchorNode,e.anchorOffset,e.focusNode,e.focusOffset),c=u?0:s.toString().length,l=s.cloneRange();l.selectNodeContents(t),l.setEnd(s.startContainer,s.startOffset);var f=r(l.startContainer,l.startOffset,l.endContainer,l.endOffset),p=f?0:l.toString().length,h=p+c,d=document.createRange();d.setStart(n,o),d.setEnd(a,i);var y=d.collapsed;return{start:y?h:p,end:y?p:h}}function i(t,e){var n,r,o=document.selection.createRange().duplicate();void 0===e.end?(n=e.start,r=n):e.start>e.end?(n=e.end,r=e.start):(n=e.start,r=e.end),o.moveToElementText(t),o.moveStart("character",n),o.setEndPoint("EndToStart",o),o.moveEnd("character",r-n),o.select()}function s(t,e){if(window.getSelection){var n=window.getSelection(),r=t[l()].length,o=Math.min(e.start,r),a=void 0===e.end?o:Math.min(e.end,r);if(!n.extend&&o>a){var i=a;a=o,o=i}var s=c(t,o),u=c(t,a);if(s&&u){var f=document.createRange();f.setStart(s.node,s.offset),n.removeAllRanges(),o>a?(n.addRange(f),n.extend(u.node,u.offset)):(f.setEnd(u.node,u.offset),n.addRange(f))}}}var u=n(19),c=n(452),l=n(223),f=u.canUseDOM&&"selection"in document&&!("getSelection"in window),p={getOffsets:f?o:a,setOffsets:f?i:s};t.exports=p},function(t,e,n){"use strict";function r(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function o(t){for(;t;){if(t.nextSibling)return t.nextSibling;t=t.parentNode}}function a(t,e){for(var n=r(t),a=0,i=0;n;){if(3===n.nodeType){if(i=a+n.textContent.length,a<=e&&i>=e)return{node:n,offset:e-a};a=i}n=r(o(n))}}t.exports=a},function(t,e,n){"use strict";function r(t,e){return!(!t||!e)&&(t===e||!o(t)&&(o(e)?r(t,e.parentNode):"contains"in t?t.contains(e):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(e))))}var o=n(454);t.exports=r},function(t,e,n){"use strict";function r(t){return o(t)&&3==t.nodeType}var o=n(455);t.exports=r},function(t,e,n){"use strict";function r(t){var e=t?t.ownerDocument||t:document,n=e.defaultView||window;return!(!t||!("function"==typeof n.Node?t instanceof n.Node:"object"==typeof t&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName))}t.exports=r},function(t,e,n){"use strict";var r={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"},o={accentHeight:"accent-height",accumulate:0,additive:0,alignmentBaseline:"alignment-baseline",allowReorder:"allowReorder",alphabetic:0,amplitude:0,arabicForm:"arabic-form",ascent:0,attributeName:"attributeName",attributeType:"attributeType",autoReverse:"autoReverse",azimuth:0,baseFrequency:"baseFrequency",baseProfile:"baseProfile",baselineShift:"baseline-shift",bbox:0,begin:0,bias:0,by:0,calcMode:"calcMode",capHeight:"cap-height",clip:0,clipPath:"clip-path",clipRule:"clip-rule",clipPathUnits:"clipPathUnits",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",contentScriptType:"contentScriptType",contentStyleType:"contentStyleType",cursor:0,cx:0,cy:0,d:0,decelerate:0,descent:0,diffuseConstant:"diffuseConstant",direction:0,display:0,divisor:0,dominantBaseline:"dominant-baseline",dur:0,dx:0,dy:0,edgeMode:"edgeMode",elevation:0,enableBackground:"enable-background",end:0,exponent:0,externalResourcesRequired:"externalResourcesRequired",fill:0,fillOpacity:"fill-opacity",fillRule:"fill-rule",filter:0,filterRes:"filterRes",filterUnits:"filterUnits",floodColor:"flood-color",floodOpacity:"flood-opacity",focusable:0,fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",glyphRef:"glyphRef",gradientTransform:"gradientTransform",gradientUnits:"gradientUnits",hanging:0,horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",ideographic:0,imageRendering:"image-rendering",in:0,in2:0,intercept:0,k:0,k1:0,k2:0,k3:0,k4:0,kernelMatrix:"kernelMatrix",kernelUnitLength:"kernelUnitLength",kerning:0,keyPoints:"keyPoints",keySplines:"keySplines",keyTimes:"keyTimes",lengthAdjust:"lengthAdjust",letterSpacing:"letter-spacing",lightingColor:"lighting-color",limitingConeAngle:"limitingConeAngle",local:0,markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",markerHeight:"markerHeight",markerUnits:"markerUnits",markerWidth:"markerWidth",mask:0,maskContentUnits:"maskContentUnits",maskUnits:"maskUnits",mathematical:0,mode:0,numOctaves:"numOctaves",offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pathLength:"pathLength",patternContentUnits:"patternContentUnits",patternTransform:"patternTransform",patternUnits:"patternUnits",pointerEvents:"pointer-events",points:0,pointsAtX:"pointsAtX",pointsAtY:"pointsAtY",pointsAtZ:"pointsAtZ",preserveAlpha:"preserveAlpha",preserveAspectRatio:"preserveAspectRatio",primitiveUnits:"primitiveUnits",r:0,radius:0,refX:"refX",refY:"refY",renderingIntent:"rendering-intent",repeatCount:"repeatCount",repeatDur:"repeatDur",requiredExtensions:"requiredExtensions",requiredFeatures:"requiredFeatures",restart:0,result:0,rotate:0,rx:0,ry:0,scale:0,seed:0,shapeRendering:"shape-rendering",slope:0,spacing:0,specularConstant:"specularConstant",specularExponent:"specularExponent",speed:0,spreadMethod:"spreadMethod",startOffset:"startOffset",stdDeviation:"stdDeviation",stemh:0,stemv:0,stitchTiles:"stitchTiles",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",string:0,stroke:0,strokeDasharray:"stroke-dasharray",strokeDashoffset:"stroke-dashoffset",strokeLinecap:"stroke-linecap",strokeLinejoin:"stroke-linejoin",strokeMiterlimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",surfaceScale:"surfaceScale",systemLanguage:"systemLanguage",tableValues:"tableValues",targetX:"targetX",targetY:"targetY",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",textLength:"textLength",to:0,transform:0,u1:0,u2:0,underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicode:0,unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",values:0,vectorEffect:"vector-effect",version:0,vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",viewBox:"viewBox",viewTarget:"viewTarget",visibility:0,widths:0,wordSpacing:"word-spacing",writingMode:"writing-mode",x:0,xHeight:"x-height",x1:0,x2:0,xChannelSelector:"xChannelSelector",xlinkActuate:"xlink:actuate",xlinkArcrole:"xlink:arcrole",xlinkHref:"xlink:href",xlinkRole:"xlink:role",xlinkShow:"xlink:show",xlinkTitle:"xlink:title",xlinkType:"xlink:type",xmlBase:"xml:base",xmlns:0,xmlnsXlink:"xmlns:xlink",xmlLang:"xml:lang",xmlSpace:"xml:space",y:0,y1:0,y2:0,yChannelSelector:"yChannelSelector",z:0,zoomAndPan:"zoomAndPan"},a={Properties:{},DOMAttributeNamespaces:{xlinkActuate:r.xlink,xlinkArcrole:r.xlink,xlinkHref:r.xlink,xlinkRole:r.xlink,xlinkShow:r.xlink,xlinkTitle:r.xlink,xlinkType:r.xlink,xmlBase:r.xml,xmlLang:r.xml,xmlSpace:r.xml},DOMAttributeNames:{}};Object.keys(o).forEach(function(t){a.Properties[t]=0,o[t]&&(a.DOMAttributeNames[t]=o[t])}),t.exports=a},function(t,e,n){"use strict";function r(t){if("selectionStart"in t&&u.hasSelectionCapabilities(t))return{start:t.selectionStart,end:t.selectionEnd};if(window.getSelection){var e=window.getSelection();return{anchorNode:e.anchorNode,anchorOffset:e.anchorOffset,focusNode:e.focusNode,focusOffset:e.focusOffset}}if(document.selection){var n=document.selection.createRange();return{parentElement:n.parentElement(),text:n.text,top:n.boundingTop,left:n.boundingLeft}}}function o(t,e){if(v||null==y||y!==l())return null;var n=r(y);if(!m||!p(m,n)){m=n;var o=c.getPooled(d.select,g,t,e);return o.type="select",o.target=y,a.accumulateTwoPhaseDispatches(o),o}return null}var a=n(65),i=n(19),s=n(12),u=n(241),c=n(32),l=n(242),f=n(227),p=n(146),h=i.canUseDOM&&"documentMode"in document&&document.documentMode<=11,d={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:["topBlur","topContextMenu","topFocus","topKeyDown","topKeyUp","topMouseDown","topMouseUp","topSelectionChange"]}},y=null,g=null,m=null,v=!1,b=!1,_={eventTypes:d,extractEvents:function(t,e,n,r){if(!b)return null;var a=e?s.getNodeFromInstance(e):window;switch(t){case"topFocus":(f(a)||"true"===a.contentEditable)&&(y=a,g=e,m=null);break;case"topBlur":y=null,g=null,m=null;break;case"topMouseDown":v=!0;break;case"topContextMenu":case"topMouseUp":return v=!1,o(n,r);case"topSelectionChange":if(h)break;case"topKeyDown":case"topKeyUp":return o(n,r)}return null},didPutListener:function(t,e,n){"onSelect"===e&&(b=!0)}};t.exports=_},function(t,e,n){"use strict";function r(t){return"."+t._rootNodeID}function o(t){return"button"===t||"input"===t||"select"===t||"textarea"===t}var a=n(7),i=n(240),s=n(65),u=n(12),c=n(459),l=n(460),f=n(32),p=n(461),h=n(462),d=n(98),y=n(464),g=n(465),m=n(466),v=n(67),b=n(467),_=n(21),x=n(151),w=(n(2),{}),O={};["abort","animationEnd","animationIteration","animationStart","blur","canPlay","canPlayThrough","click","contextMenu","copy","cut","doubleClick","drag","dragEnd","dragEnter","dragExit","dragLeave","dragOver","dragStart","drop","durationChange","emptied","encrypted","ended","error","focus","input","invalid","keyDown","keyPress","keyUp","load","loadedData","loadedMetadata","loadStart","mouseDown","mouseMove","mouseOut","mouseOver","mouseUp","paste","pause","play","playing","progress","rateChange","reset","scroll","seeked","seeking","stalled","submit","suspend","timeUpdate","touchCancel","touchEnd","touchMove","touchStart","transitionEnd","volumeChange","waiting","wheel"].forEach(function(t){var e=t[0].toUpperCase()+t.slice(1),n="on"+e,r="top"+e,o={phasedRegistrationNames:{bubbled:n,captured:n+"Capture"},dependencies:[r]};w[t]=o,O[r]=o});var C={},k={eventTypes:w,extractEvents:function(t,e,n,r){var o=O[t];if(!o)return null;var i;switch(t){case"topAbort":case"topCanPlay":case"topCanPlayThrough":case"topDurationChange":case"topEmptied":case"topEncrypted":case"topEnded":case"topError":case"topInput":case"topInvalid":case"topLoad":case"topLoadedData":case"topLoadedMetadata":case"topLoadStart":case"topPause":case"topPlay":case"topPlaying":case"topProgress":case"topRateChange":case"topReset":case"topSeeked":case"topSeeking":case"topStalled":case"topSubmit":case"topSuspend":case"topTimeUpdate":case"topVolumeChange":case"topWaiting":i=f;break;case"topKeyPress":if(0===x(n))return null;case"topKeyDown":case"topKeyUp":i=h;break;case"topBlur":case"topFocus":i=p;break;case"topClick":if(2===n.button)return null;case"topDoubleClick":case"topMouseDown":case"topMouseMove":case"topMouseUp":case"topMouseOut":case"topMouseOver":case"topContextMenu":i=d;break;case"topDrag":case"topDragEnd":case"topDragEnter":case"topDragExit":case"topDragLeave":case"topDragOver":case"topDragStart":case"topDrop":i=y;break;case"topTouchCancel":case"topTouchEnd":case"topTouchMove":case"topTouchStart":i=g;break;case"topAnimationEnd":case"topAnimationIteration":case"topAnimationStart":i=c;break;case"topTransitionEnd":i=m;break;case"topScroll":i=v;break;case"topWheel":i=b;break;case"topCopy":case"topCut":case"topPaste":i=l}i||a("86",t);var u=i.getPooled(o,e,n,r);return s.accumulateTwoPhaseDispatches(u),u},didPutListener:function(t,e,n){if("onClick"===e&&!o(t._tag)){var a=r(t),s=u.getNodeFromInstance(t);C[a]||(C[a]=i.listen(s,"click",_))}},willDeleteListener:function(t,e){if("onClick"===e&&!o(t._tag)){var n=r(t);C[n].remove(),delete C[n]}}};t.exports=k},function(t,e,n){"use strict";function r(t,e,n,r){return o.call(this,t,e,n,r)}var o=n(32),a={animationName:null,elapsedTime:null,pseudoElement:null};o.augmentClass(r,a),t.exports=r},function(t,e,n){"use strict";function r(t,e,n,r){return o.call(this,t,e,n,r)}var o=n(32),a={clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}};o.augmentClass(r,a),t.exports=r},function(t,e,n){"use strict";function r(t,e,n,r){return o.call(this,t,e,n,r)}var o=n(67),a={relatedTarget:null};o.augmentClass(r,a),t.exports=r},function(t,e,n){"use strict";function r(t,e,n,r){return o.call(this,t,e,n,r)}var o=n(67),a=n(151),i=n(463),s=n(139),u={key:i,location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:s,charCode:function(t){return"keypress"===t.type?a(t):0},keyCode:function(t){return"keydown"===t.type||"keyup"===t.type?t.keyCode:0},which:function(t){return"keypress"===t.type?a(t):"keydown"===t.type||"keyup"===t.type?t.keyCode:0}};o.augmentClass(r,u),t.exports=r},function(t,e,n){"use strict";function r(t){if(t.key){var e=a[t.key]||t.key;if("Unidentified"!==e)return e}if("keypress"===t.type){var n=o(t);return 13===n?"Enter":String.fromCharCode(n)}return"keydown"===t.type||"keyup"===t.type?i[t.keyCode]||"Unidentified":""}var o=n(151),a={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},i={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};t.exports=r},function(t,e,n){"use strict";function r(t,e,n,r){return o.call(this,t,e,n,r)}var o=n(98),a={dataTransfer:null};o.augmentClass(r,a),t.exports=r},function(t,e,n){"use strict";function r(t,e,n,r){return o.call(this,t,e,n,r)}var o=n(67),a=n(139),i={touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:a};o.augmentClass(r,i),t.exports=r},function(t,e,n){"use strict";function r(t,e,n,r){return o.call(this,t,e,n,r)}var o=n(32),a={propertyName:null,elapsedTime:null,pseudoElement:null};o.augmentClass(r,a),t.exports=r},function(t,e,n){"use strict";function r(t,e,n,r){return o.call(this,t,e,n,r)}var o=n(98),a={deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:null,deltaMode:null};o.augmentClass(r,a),t.exports=r},function(t,e,n){"use strict";function r(t,e){var n={_topLevelWrapper:t,_idCounter:1,_ownerDocument:e?e.nodeType===o?e:e.ownerDocument:null,_node:e,_tag:e?e.nodeName.toLowerCase():null,_namespaceURI:e?e.namespaceURI:null};return n}var o=(n(150),9);t.exports=r},function(t,e,n){"use strict";var r={useCreateElement:!0,useFiber:!1};t.exports=r},function(t,e,n){"use strict";var r=n(471),o=/\/?>/,a=/^<\!\-\-/,i={CHECKSUM_ATTR_NAME:"data-react-checksum",addChecksumToMarkup:function(t){var e=r(t);return a.test(t)?t:t.replace(o," "+i.CHECKSUM_ATTR_NAME+'="'+e+'"$&')},canReuseMarkup:function(t,e){var n=e.getAttribute(i.CHECKSUM_ATTR_NAME);return n=n&&parseInt(n,10),r(t)===n}};t.exports=i},function(t,e,n){"use strict";function r(t){for(var e=1,n=0,r=0,a=t.length,i=-4&a;r<i;){for(var s=Math.min(r+4096,i);r<s;r+=4)n+=(e+=t.charCodeAt(r))+(e+=t.charCodeAt(r+1))+(e+=t.charCodeAt(r+2))+(e+=t.charCodeAt(r+3));e%=o,n%=o}for(;r<a;r++)n+=e+=t.charCodeAt(r);return e%=o,n%=o,e|n<<16}var o=65521;t.exports=r},function(t,e,n){"use strict";t.exports="15.6.2"},function(t,e,n){"use strict";function r(t){if(null==t)return null;if(1===t.nodeType)return t;var e=i.get(t);if(e)return e=s(e),e?a.getNodeFromInstance(e):null;"function"==typeof t.render?o("44"):o("45",Object.keys(t))}var o=n(7),a=(n(31),n(12)),i=n(68),s=n(244);n(2),n(6);t.exports=r},function(t,e,n){"use strict";var r=n(243);t.exports=r.renderSubtreeIntoContainer},function(t,e,n){(function(e){function r(t,n){var r=t;n=n||e.location,null==t&&(t=n.protocol+"//"+n.host),"string"==typeof t&&("/"===t.charAt(0)&&(t="/"===t.charAt(1)?n.protocol+t:n.host+t),/^(https?|wss?):\/\//.test(t)||(a("protocol-less url %s",t),t=void 0!==n?n.protocol+"//"+t:"https://"+t),a("parse %s",t),r=o(t)),r.port||(/^(http|ws)$/.test(r.protocol)?r.port="80":/^(http|ws)s$/.test(r.protocol)&&(r.port="443")),r.path=r.path||"/";var i=-1!==r.host.indexOf(":"),s=i?"["+r.host+"]":r.host;return r.id=r.protocol+"://"+s+":"+r.port,r.href=r.protocol+"://"+s+(n&&n.port===r.port?"":":"+r.port),r}var o=n(246),a=n(33)("socket.io-client:url");t.exports=r}).call(e,n(16))},function(t,e,n){function r(t){var n,r=0;for(n in t)r=(r<<5)-r+t.charCodeAt(n),r|=0;return e.colors[Math.abs(r)%e.colors.length]}function o(t){function n(){if(n.enabled){var t=n,r=+new Date,o=r-(c||r);t.diff=o,t.prev=c,t.curr=r,c=r;for(var a=new Array(arguments.length),i=0;i<a.length;i++)a[i]=arguments[i];a[0]=e.coerce(a[0]),"string"!=typeof a[0]&&a.unshift("%O");var s=0;a[0]=a[0].replace(/%([a-zA-Z%])/g,function(n,r){if("%%"===n)return n;s++;var o=e.formatters[r];if("function"==typeof o){var i=a[s];n=o.call(t,i),a.splice(s,1),s--}return n}),e.formatArgs.call(t,a);(n.log||e.log||console.log.bind(console)).apply(t,a)}}return n.namespace=t,n.enabled=e.enabled(t),n.useColors=e.useColors(),n.color=r(t),"function"==typeof e.init&&e.init(n),n}function a(t){e.save(t),e.names=[],e.skips=[];for(var n=("string"==typeof t?t:"").split(/[\s,]+/),r=n.length,o=0;o<r;o++)n[o]&&(t=n[o].replace(/\*/g,".*?"),"-"===t[0]?e.skips.push(new RegExp("^"+t.substr(1)+"$")):e.names.push(new RegExp("^"+t+"$")))}function i(){e.enable("")}function s(t){var n,r;for(n=0,r=e.skips.length;n<r;n++)if(e.skips[n].test(t))return!1;for(n=0,r=e.names.length;n<r;n++)if(e.names[n].test(t))return!0;return!1}function u(t){return t instanceof Error?t.stack||t.message:t}e=t.exports=o.debug=o.default=o,e.coerce=u,e.disable=i,e.enable=a,e.enabled=s,e.humanize=n(477),e.names=[],e.skips=[],e.formatters={};var c},function(t,e){function n(t){if(t=String(t),!(t.length>100)){var e=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(t);if(e){var n=parseFloat(e[1]);switch((e[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return n*l;case"days":case"day":case"d":return n*c;case"hours":case"hour":case"hrs":case"hr":case"h":return n*u;case"minutes":case"minute":case"mins":case"min":case"m":return n*s;case"seconds":case"second":case"secs":case"sec":case"s":return n*i;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}}}function r(t){return t>=c?Math.round(t/c)+"d":t>=u?Math.round(t/u)+"h":t>=s?Math.round(t/s)+"m":t>=i?Math.round(t/i)+"s":t+"ms"}function o(t){return a(t,c,"day")||a(t,u,"hour")||a(t,s,"minute")||a(t,i,"second")||t+" ms"}function a(t,e,n){if(!(t<e))return t<1.5*e?Math.floor(t/e)+" "+n:Math.ceil(t/e)+" "+n+"s"}var i=1e3,s=60*i,u=60*s,c=24*u,l=365.25*c;t.exports=function(t,e){e=e||{};var a=typeof t;if("string"===a&&t.length>0)return n(t);if("number"===a&&!1===isNaN(t))return e.long?o(t):r(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}},function(t,e){var n={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},function(t,e,n){(function(t){function r(t,e){if(!t)return t;if(i(t)){var n={_placeholder:!0,num:e.length};return e.push(t),n}if(a(t)){for(var o=new Array(t.length),s=0;s<t.length;s++)o[s]=r(t[s],e);return o}if("object"==typeof t&&!(t instanceof Date)){var o={};for(var u in t)o[u]=r(t[u],e);return o}return t}function o(t,e){if(!t)return t;if(t&&t._placeholder)return e[t.num];if(a(t))for(var n=0;n<t.length;n++)t[n]=o(t[n],e);else if("object"==typeof t)for(var r in t)t[r]=o(t[r],e);return t}var a=n(480),i=n(248),s=Object.prototype.toString,u="function"==typeof t.Blob||"[object BlobConstructor]"===s.call(t.Blob),c="function"==typeof t.File||"[object FileConstructor]"===s.call(t.File);e.deconstructPacket=function(t){var e=[],n=t.data,o=t;return o.data=r(n,e),o.attachments=e.length,{packet:o,buffers:e}},e.reconstructPacket=function(t,e){return t.data=o(t.data,e),t.attachments=void 0,t},e.removeBlobs=function(t,e){function n(t,s,l){if(!t)return t;if(u&&t instanceof Blob||c&&t instanceof File){r++;var f=new FileReader;f.onload=function(){l?l[s]=this.result:o=this.result,--r||e(o)},f.readAsArrayBuffer(t)}else if(a(t))for(var p=0;p<t.length;p++)n(t[p],p,t);else if("object"==typeof t&&!i(t))for(var h in t)n(t[h],h,t)}var r=0,o=t;n(o),r||e(o)}}).call(e,n(16))},function(t,e){var n={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},function(t,e,n){t.exports=n(482)},function(t,e,n){t.exports=n(483),t.exports.parser=n(52)},function(t,e,n){(function(e){function r(t,n){if(!(this instanceof r))return new r(t,n);n=n||{},t&&"object"==typeof t&&(n=t,t=null),t?(t=l(t),n.hostname=t.host,n.secure="https"===t.protocol||"wss"===t.protocol,n.port=t.port,t.query&&(n.query=t.query)):n.host&&(n.hostname=l(n.host).host),this.secure=null!=n.secure?n.secure:e.location&&"https:"===location.protocol,n.hostname&&!n.port&&(n.port=this.secure?"443":"80"),this.agent=n.agent||!1,this.hostname=n.hostname||(e.location?location.hostname:"localhost"),this.port=n.port||(e.location&&location.port?location.port:this.secure?443:80),this.query=n.query||{},"string"==typeof this.query&&(this.query=p.decode(this.query)),this.upgrade=!1!==n.upgrade,this.path=(n.path||"/engine.io").replace(/\/$/,"")+"/",this.forceJSONP=!!n.forceJSONP,this.jsonp=!1!==n.jsonp,this.forceBase64=!!n.forceBase64,this.enablesXDR=!!n.enablesXDR,this.timestampParam=n.timestampParam||"t",this.timestampRequests=n.timestampRequests,this.transports=n.transports||["polling","websocket"],this.transportOptions=n.transportOptions||{},this.readyState="",this.writeBuffer=[],this.prevBufferLen=0,this.policyPort=n.policyPort||843,this.rememberUpgrade=n.rememberUpgrade||!1,this.binaryType=null,this.onlyBinaryUpgrades=n.onlyBinaryUpgrades,this.perMessageDeflate=!1!==n.perMessageDeflate&&(n.perMessageDeflate||{}),!0===this.perMessageDeflate&&(this.perMessageDeflate={}),this.perMessageDeflate&&null==this.perMessageDeflate.threshold&&(this.perMessageDeflate.threshold=1024),this.pfx=n.pfx||null,this.key=n.key||null,this.passphrase=n.passphrase||null,this.cert=n.cert||null,this.ca=n.ca||null,this.ciphers=n.ciphers||null,this.rejectUnauthorized=void 0===n.rejectUnauthorized||n.rejectUnauthorized,this.forceNode=!!n.forceNode;var o="object"==typeof e&&e;o.global===o&&(n.extraHeaders&&Object.keys(n.extraHeaders).length>0&&(this.extraHeaders=n.extraHeaders),n.localAddress&&(this.localAddress=n.localAddress)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingIntervalTimer=null,this.pingTimeoutTimer=null,this.open()}function o(t){var e={};for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}var a=n(250),i=n(51),s=n(33)("engine.io-client:socket"),u=n(253),c=n(52),l=n(246),f=n(495),p=n(102);t.exports=r,r.priorWebsocketSuccess=!1,i(r.prototype),r.protocol=c.protocol,r.Socket=r,r.Transport=n(154),r.transports=n(250),r.parser=n(52),r.prototype.createTransport=function(t){s('creating transport "%s"',t);var e=o(this.query);e.EIO=c.protocol,e.transport=t;var n=this.transportOptions[t]||{};return this.id&&(e.sid=this.id),new a[t]({query:e,socket:this,agent:n.agent||this.agent,hostname:n.hostname||this.hostname,port:n.port||this.port,secure:n.secure||this.secure,path:n.path||this.path,forceJSONP:n.forceJSONP||this.forceJSONP,jsonp:n.jsonp||this.jsonp,forceBase64:n.forceBase64||this.forceBase64,enablesXDR:n.enablesXDR||this.enablesXDR,timestampRequests:n.timestampRequests||this.timestampRequests,timestampParam:n.timestampParam||this.timestampParam,policyPort:n.policyPort||this.policyPort,pfx:n.pfx||this.pfx,key:n.key||this.key,passphrase:n.passphrase||this.passphrase,cert:n.cert||this.cert,ca:n.ca||this.ca,ciphers:n.ciphers||this.ciphers,rejectUnauthorized:n.rejectUnauthorized||this.rejectUnauthorized,perMessageDeflate:n.perMessageDeflate||this.perMessageDeflate,extraHeaders:n.extraHeaders||this.extraHeaders,forceNode:n.forceNode||this.forceNode,localAddress:n.localAddress||this.localAddress,requestTimeout:n.requestTimeout||this.requestTimeout,protocols:n.protocols||void 0})},r.prototype.open=function(){var t;if(this.rememberUpgrade&&r.priorWebsocketSuccess&&-1!==this.transports.indexOf("websocket"))t="websocket";else{if(0===this.transports.length){var e=this;return void setTimeout(function(){e.emit("error","No transports available")},0)}t=this.transports[0]}this.readyState="opening";try{t=this.createTransport(t)}catch(t){return this.transports.shift(),void this.open()}t.open(),this.setTransport(t)},r.prototype.setTransport=function(t){s("setting transport %s",t.name);var e=this;this.transport&&(s("clearing existing transport %s",this.transport.name),this.transport.removeAllListeners()),this.transport=t,t.on("drain",function(){e.onDrain()}).on("packet",function(t){e.onPacket(t)}).on("error",function(t){e.onError(t)}).on("close",function(){e.onClose("transport close")})},r.prototype.probe=function(t){function e(){if(p.onlyBinaryUpgrades){var e=!this.supportsBinary&&p.transport.supportsBinary;f=f||e}f||(s('probe transport "%s" opened',t),l.send([{type:"ping",data:"probe"}]),l.once("packet",function(e){if(!f)if("pong"===e.type&&"probe"===e.data){if(s('probe transport "%s" pong',t),p.upgrading=!0,p.emit("upgrading",l),!l)return;r.priorWebsocketSuccess="websocket"===l.name,s('pausing current transport "%s"',p.transport.name),p.transport.pause(function(){f||"closed"!==p.readyState&&(s("changing transport and sending upgrade packet"),c(),p.setTransport(l),l.send([{type:"upgrade"}]),p.emit("upgrade",l),l=null,p.upgrading=!1,p.flush())})}else{s('probe transport "%s" failed',t);var n=new Error("probe error");n.transport=l.name,p.emit("upgradeError",n)}}))}function n(){f||(f=!0,c(),l.close(),l=null)}function o(e){var r=new Error("probe error: "+e);r.transport=l.name,n(),s('probe transport "%s" failed because of error: %s',t,e),p.emit("upgradeError",r)}function a(){o("transport closed")}function i(){o("socket closed")}function u(t){l&&t.name!==l.name&&(s('"%s" works - aborting "%s"',t.name,l.name),n())}function c(){l.removeListener("open",e),l.removeListener("error",o),l.removeListener("close",a),p.removeListener("close",i),p.removeListener("upgrading",u)}s('probing transport "%s"',t);var l=this.createTransport(t,{probe:1}),f=!1,p=this;r.priorWebsocketSuccess=!1,l.once("open",e),l.once("error",o),l.once("close",a),this.once("close",i),this.once("upgrading",u),l.open()},r.prototype.onOpen=function(){if(s("socket open"),this.readyState="open",r.priorWebsocketSuccess="websocket"===this.transport.name,this.emit("open"),this.flush(),"open"===this.readyState&&this.upgrade&&this.transport.pause){s("starting upgrade probes");for(var t=0,e=this.upgrades.length;t<e;t++)this.probe(this.upgrades[t])}},r.prototype.onPacket=function(t){if("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState)switch(s('socket receive: type "%s", data "%s"',t.type,t.data),this.emit("packet",t),this.emit("heartbeat"),t.type){case"open":this.onHandshake(f(t.data));break;case"pong":this.setPing(),this.emit("pong");break;case"error":var e=new Error("server error");e.code=t.data,this.onError(e);break;case"message":this.emit("data",t.data),this.emit("message",t.data)}else s('packet received with socket readyState "%s"',this.readyState)},r.prototype.onHandshake=function(t){this.emit("handshake",t),this.id=t.sid,this.transport.query.sid=t.sid,this.upgrades=this.filterUpgrades(t.upgrades),this.pingInterval=t.pingInterval,this.pingTimeout=t.pingTimeout,this.onOpen(),"closed"!==this.readyState&&(this.setPing(),this.removeListener("heartbeat",this.onHeartbeat),this.on("heartbeat",this.onHeartbeat))},r.prototype.onHeartbeat=function(t){clearTimeout(this.pingTimeoutTimer);var e=this;e.pingTimeoutTimer=setTimeout(function(){"closed"!==e.readyState&&e.onClose("ping timeout")},t||e.pingInterval+e.pingTimeout)},r.prototype.setPing=function(){var t=this;clearTimeout(t.pingIntervalTimer),t.pingIntervalTimer=setTimeout(function(){s("writing ping packet - expecting pong within %sms",t.pingTimeout),t.ping(),t.onHeartbeat(t.pingTimeout)},t.pingInterval)},r.prototype.ping=function(){var t=this;this.sendPacket("ping",function(){t.emit("ping")})},r.prototype.onDrain=function(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,0===this.writeBuffer.length?this.emit("drain"):this.flush()},r.prototype.flush=function(){"closed"!==this.readyState&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length&&(s("flushing %d packets in socket",this.writeBuffer.length),this.transport.send(this.writeBuffer),this.prevBufferLen=this.writeBuffer.length,this.emit("flush"))},r.prototype.write=r.prototype.send=function(t,e,n){return this.sendPacket("message",t,e,n),this},r.prototype.sendPacket=function(t,e,n,r){if("function"==typeof e&&(r=e,e=void 0),"function"==typeof n&&(r=n,n=null),"closing"!==this.readyState&&"closed"!==this.readyState){n=n||{},n.compress=!1!==n.compress;var o={type:t,data:e,options:n};this.emit("packetCreate",o),this.writeBuffer.push(o),r&&this.once("flush",r),this.flush()}},r.prototype.close=function(){function t(){r.onClose("forced close"),s("socket closing - telling transport to close"),r.transport.close()}function e(){r.removeListener("upgrade",e),r.removeListener("upgradeError",e),t()}function n(){r.once("upgrade",e),r.once("upgradeError",e)}if("opening"===this.readyState||"open"===this.readyState){this.readyState="closing";var r=this;this.writeBuffer.length?this.once("drain",function(){this.upgrading?n():t()}):this.upgrading?n():t()}return this},r.prototype.onError=function(t){s("socket error %j",t),r.priorWebsocketSuccess=!1,this.emit("error",t),this.onClose("transport error",t)},r.prototype.onClose=function(t,e){if("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState){s('socket close with reason: "%s"',t);var n=this;clearTimeout(this.pingIntervalTimer),clearTimeout(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),this.readyState="closed",this.id=null,this.emit("close",t,e),n.writeBuffer=[],n.prevBufferLen=0}},r.prototype.filterUpgrades=function(t){for(var e=[],n=0,r=t.length;n<r;n++)~u(this.transports,t[n])&&e.push(t[n]);return e}}).call(e,n(16))},function(t,e){try{t.exports="undefined"!=typeof XMLHttpRequest&&"withCredentials"in new XMLHttpRequest}catch(e){t.exports=!1}},function(t,e,n){(function(e){function r(){}function o(t){if(u.call(this,t),this.requestTimeout=t.requestTimeout,this.extraHeaders=t.extraHeaders,e.location){var n="https:"===location.protocol,r=location.port;r||(r=n?443:80),this.xd=t.hostname!==e.location.hostname||r!==t.port,this.xs=t.secure!==n}}function a(t){this.method=t.method||"GET",this.uri=t.uri,this.xd=!!t.xd,this.xs=!!t.xs,this.async=!1!==t.async,this.data=void 0!==t.data?t.data:null,this.agent=t.agent,this.isBinary=t.isBinary,this.supportsBinary=t.supportsBinary,this.enablesXDR=t.enablesXDR,this.requestTimeout=t.requestTimeout,this.pfx=t.pfx,this.key=t.key,this.passphrase=t.passphrase,this.cert=t.cert,this.ca=t.ca,this.ciphers=t.ciphers,this.rejectUnauthorized=t.rejectUnauthorized,this.extraHeaders=t.extraHeaders,this.create()}function i(){for(var t in a.requests)a.requests.hasOwnProperty(t)&&a.requests[t].abort()}var s=n(153),u=n(251),c=n(51),l=n(103),f=n(33)("engine.io-client:polling-xhr");t.exports=o,t.exports.Request=a,l(o,u),o.prototype.supportsBinary=!0,o.prototype.request=function(t){return t=t||{},t.uri=this.uri(),t.xd=this.xd,t.xs=this.xs,t.agent=this.agent||!1,t.supportsBinary=this.supportsBinary,t.enablesXDR=this.enablesXDR,t.pfx=this.pfx,t.key=this.key,t.passphrase=this.passphrase,t.cert=this.cert,t.ca=this.ca,t.ciphers=this.ciphers,t.rejectUnauthorized=this.rejectUnauthorized,t.requestTimeout=this.requestTimeout,t.extraHeaders=this.extraHeaders,new a(t)},o.prototype.doWrite=function(t,e){var n="string"!=typeof t&&void 0!==t,r=this.request({method:"POST",data:t,isBinary:n}),o=this;r.on("success",e),r.on("error",function(t){o.onError("xhr post error",t)}),this.sendXhr=r},o.prototype.doPoll=function(){f("xhr poll");var t=this.request(),e=this;t.on("data",function(t){e.onData(t)}),t.on("error",function(t){e.onError("xhr poll error",t)}),this.pollXhr=t},c(a.prototype),a.prototype.create=function(){var t={agent:this.agent,xdomain:this.xd,xscheme:this.xs,enablesXDR:this.enablesXDR};t.pfx=this.pfx,t.key=this.key,t.passphrase=this.passphrase,t.cert=this.cert,t.ca=this.ca,t.ciphers=this.ciphers,t.rejectUnauthorized=this.rejectUnauthorized;var n=this.xhr=new s(t),r=this;try{f("xhr open %s: %s",this.method,this.uri),n.open(this.method,this.uri,this.async);try{if(this.extraHeaders){n.setDisableHeaderCheck&&n.setDisableHeaderCheck(!0);for(var o in this.extraHeaders)this.extraHeaders.hasOwnProperty(o)&&n.setRequestHeader(o,this.extraHeaders[o])}}catch(t){}if("POST"===this.method)try{this.isBinary?n.setRequestHeader("Content-type","application/octet-stream"):n.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch(t){}try{n.setRequestHeader("Accept","*/*")}catch(t){}"withCredentials"in n&&(n.withCredentials=!0),this.requestTimeout&&(n.timeout=this.requestTimeout),this.hasXDR()?(n.onload=function(){r.onLoad()},n.onerror=function(){r.onError(n.responseText)}):n.onreadystatechange=function(){if(2===n.readyState){var t;try{t=n.getResponseHeader("Content-Type")}catch(t){}"application/octet-stream"===t&&(n.responseType="arraybuffer")}4===n.readyState&&(200===n.status||1223===n.status?r.onLoad():setTimeout(function(){r.onError(n.status)},0))},f("xhr data %s",this.data),n.send(this.data)}catch(t){return void setTimeout(function(){r.onError(t)},0)}e.document&&(this.index=a.requestsCount++,a.requests[this.index]=this)},a.prototype.onSuccess=function(){this.emit("success"),this.cleanup()},a.prototype.onData=function(t){this.emit("data",t),this.onSuccess()},a.prototype.onError=function(t){this.emit("error",t),this.cleanup(!0)},a.prototype.cleanup=function(t){if(void 0!==this.xhr&&null!==this.xhr){if(this.hasXDR()?this.xhr.onload=this.xhr.onerror=r:this.xhr.onreadystatechange=r,t)try{this.xhr.abort()}catch(t){}e.document&&delete a.requests[this.index],this.xhr=null}},a.prototype.onLoad=function(){var t;try{var e;try{e=this.xhr.getResponseHeader("Content-Type")}catch(t){}t="application/octet-stream"===e?this.xhr.response||this.xhr.responseText:this.xhr.responseText}catch(t){this.onError(t)}null!=t&&this.onData(t)},a.prototype.hasXDR=function(){return void 0!==e.XDomainRequest&&!this.xs&&this.enablesXDR},a.prototype.abort=function(){this.cleanup()},a.requestsCount=0,a.requests={},e.document&&(e.attachEvent?e.attachEvent("onunload",i):e.addEventListener&&e.addEventListener("beforeunload",i,!1))}).call(e,n(16))},function(t,e){t.exports=Object.keys||function(t){var e=[],n=Object.prototype.hasOwnProperty;for(var r in t)n.call(t,r)&&e.push(r);return e}},function(t,e){t.exports=function(t,e,n){var r=t.byteLength;if(e=e||0,n=n||r,t.slice)return t.slice(e,n);if(e<0&&(e+=r),n<0&&(n+=r),n>r&&(n=r),e>=r||e>=n||0===r)return new ArrayBuffer(0);for(var o=new Uint8Array(t),a=new Uint8Array(n-e),i=e,s=0;i<n;i++,s++)a[s]=o[i];return a.buffer}},function(t,e){function n(t,e,n){function o(t,r){if(o.count<=0)throw new Error("after called too many times");--o.count,t?(a=!0,e(t),e=n):0!==o.count||a||e(null,r)}var a=!1;return n=n||r,o.count=t,0===t?e():o}function r(){}t.exports=n},function(t,e,n){(function(t,r){var o;!function(a){function i(t){for(var e,n,r=[],o=0,a=t.length;o<a;)e=t.charCodeAt(o++),e>=55296&&e<=56319&&o<a?(n=t.charCodeAt(o++),56320==(64512&n)?r.push(((1023&e)<<10)+(1023&n)+65536):(r.push(e),o--)):r.push(e);return r}function s(t){for(var e,n=t.length,r=-1,o="";++r<n;)e=t[r],e>65535&&(e-=65536,o+=_(e>>>10&1023|55296),e=56320|1023&e),o+=_(e);return o}function u(t,e){if(t>=55296&&t<=57343){if(e)throw Error("Lone surrogate U+"+t.toString(16).toUpperCase()+" is not a scalar value");return!1}return!0}function c(t,e){return _(t>>e&63|128)}function l(t,e){if(0==(4294967168&t))return _(t);var n="";return 0==(4294965248&t)?n=_(t>>6&31|192):0==(4294901760&t)?(u(t,e)||(t=65533),n=_(t>>12&15|224),n+=c(t,6)):0==(4292870144&t)&&(n=_(t>>18&7|240),n+=c(t,12),n+=c(t,6)),n+=_(63&t|128)}function f(t,e){e=e||{};for(var n,r=!1!==e.strict,o=i(t),a=o.length,s=-1,u="";++s<a;)n=o[s],u+=l(n,r);return u}function p(){if(b>=v)throw Error("Invalid byte index");var t=255&m[b];if(b++,128==(192&t))return 63&t;throw Error("Invalid continuation byte")}function h(t){var e,n,r,o,a;if(b>v)throw Error("Invalid byte index");if(b==v)return!1;if(e=255&m[b],b++,0==(128&e))return e;if(192==(224&e)){if(n=p(),(a=(31&e)<<6|n)>=128)return a;throw Error("Invalid continuation byte")}if(224==(240&e)){if(n=p(),r=p(),(a=(15&e)<<12|n<<6|r)>=2048)return u(a,t)?a:65533;throw Error("Invalid continuation byte")}if(240==(248&e)&&(n=p(),r=p(),o=p(),(a=(7&e)<<18|n<<12|r<<6|o)>=65536&&a<=1114111))return a;throw Error("Invalid UTF-8 detected")}function d(t,e){e=e||{};var n=!1!==e.strict;m=i(t),v=m.length,b=0;for(var r,o=[];!1!==(r=h(n));)o.push(r);return s(o)}var y="object"==typeof e&&e,g=("object"==typeof t&&t&&t.exports,"object"==typeof r&&r);var m,v,b,_=String.fromCharCode,x={version:"2.1.2",encode:f,decode:d};void 0!==(o=function(){return x}.call(e,n,e,t))&&(t.exports=o)}()}).call(e,n(69)(t),n(16))},function(t,e){!function(){"use strict";for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n=new Uint8Array(256),r=0;r<t.length;r++)n[t.charCodeAt(r)]=r;e.encode=function(e){var n,r=new Uint8Array(e),o=r.length,a="";for(n=0;n<o;n+=3)a+=t[r[n]>>2],a+=t[(3&r[n])<<4|r[n+1]>>4],a+=t[(15&r[n+1])<<2|r[n+2]>>6],a+=t[63&r[n+2]];return o%3==2?a=a.substring(0,a.length-1)+"=":o%3==1&&(a=a.substring(0,a.length-2)+"=="),a},e.decode=function(t){var e,r,o,a,i,s=.75*t.length,u=t.length,c=0;"="===t[t.length-1]&&(s--,"="===t[t.length-2]&&s--);var l=new ArrayBuffer(s),f=new Uint8Array(l);for(e=0;e<u;e+=4)r=n[t.charCodeAt(e)],o=n[t.charCodeAt(e+1)],a=n[t.charCodeAt(e+2)],i=n[t.charCodeAt(e+3)],f[c++]=r<<2|o>>4,f[c++]=(15&o)<<4|a>>2,f[c++]=(3&a)<<6|63&i;return l}}()},function(t,e,n){(function(e){function n(t){for(var e=0;e<t.length;e++){var n=t[e];if(n.buffer instanceof ArrayBuffer){var r=n.buffer;if(n.byteLength!==r.byteLength){var o=new Uint8Array(n.byteLength);o.set(new Uint8Array(r,n.byteOffset,n.byteLength)),r=o.buffer}t[e]=r}}}function r(t,e){e=e||{};var r=new a;n(t);for(var o=0;o<t.length;o++)r.append(t[o]);return e.type?r.getBlob(e.type):r.getBlob()}function o(t,e){return n(t),new Blob(t,e||{})}var a=e.BlobBuilder||e.WebKitBlobBuilder||e.MSBlobBuilder||e.MozBlobBuilder,i=function(){try{return 2===new Blob(["hi"]).size}catch(t){return!1}}(),s=i&&function(){try{return 2===new Blob([new Uint8Array([1,2])]).size}catch(t){return!1}}(),u=a&&a.prototype.append&&a.prototype.getBlob;t.exports=function(){return i?s?e.Blob:o:u?r:void 0}()}).call(e,n(16))},function(t,e,n){(function(e){function r(){}function o(t){a.call(this,t),this.query=this.query||{},s||(e.___eio||(e.___eio=[]),s=e.___eio),this.index=s.length;var n=this;s.push(function(t){n.onData(t)}),this.query.j=this.index,e.document&&e.addEventListener&&e.addEventListener("beforeunload",function(){n.script&&(n.script.onerror=r)},!1)}var a=n(251),i=n(103);t.exports=o;var s,u=/\n/g,c=/\\n/g;i(o,a),o.prototype.supportsBinary=!1,o.prototype.doClose=function(){this.script&&(this.script.parentNode.removeChild(this.script),this.script=null),this.form&&(this.form.parentNode.removeChild(this.form),this.form=null,this.iframe=null),a.prototype.doClose.call(this)},o.prototype.doPoll=function(){var t=this,e=document.createElement("script");this.script&&(this.script.parentNode.removeChild(this.script),this.script=null),e.async=!0,e.src=this.uri(),e.onerror=function(e){t.onError("jsonp poll error",e)};var n=document.getElementsByTagName("script")[0];n?n.parentNode.insertBefore(e,n):(document.head||document.body).appendChild(e),this.script=e,"undefined"!=typeof navigator&&/gecko/i.test(navigator.userAgent)&&setTimeout(function(){var t=document.createElement("iframe");document.body.appendChild(t),document.body.removeChild(t)},100)},o.prototype.doWrite=function(t,e){function n(){r(),e()}function r(){if(o.iframe)try{o.form.removeChild(o.iframe)}catch(t){o.onError("jsonp polling iframe removal error",t)}try{var t='<iframe src="javascript:0" name="'+o.iframeId+'">';a=document.createElement(t)}catch(t){a=document.createElement("iframe"),a.name=o.iframeId,a.src="javascript:0"}a.id=o.iframeId,o.form.appendChild(a),o.iframe=a}var o=this;if(!this.form){var a,i=document.createElement("form"),s=document.createElement("textarea"),l=this.iframeId="eio_iframe_"+this.index;i.className="socketio",i.style.position="absolute",i.style.top="-1000px",i.style.left="-1000px",i.target=l,i.method="POST",i.setAttribute("accept-charset","utf-8"),s.name="d",i.appendChild(s),document.body.appendChild(i),this.form=i,this.area=s}this.form.action=this.uri(),r(),t=t.replace(c,"\\\n"),this.area.value=t.replace(u,"\\n");try{this.form.submit()}catch(t){}this.iframe.attachEvent?this.iframe.onreadystatechange=function(){"complete"===o.iframe.readyState&&n()}:this.iframe.onload=n}}).call(e,n(16))},function(t,e,n){(function(e){function r(t){t&&t.forceBase64&&(this.supportsBinary=!1),this.perMessageDeflate=t.perMessageDeflate,this.usingBrowserWebSocket=f&&!t.forceNode,this.protocols=t.protocols,this.usingBrowserWebSocket||(p=o),a.call(this,t)}var o,a=n(154),i=n(52),s=n(102),u=n(103),c=n(252),l=n(33)("engine.io-client:websocket"),f=e.WebSocket||e.MozWebSocket;if("undefined"==typeof window)try{o=n(494)}catch(t){}var p=f;p||"undefined"!=typeof window||(p=o),t.exports=r,u(r,a),r.prototype.name="websocket",r.prototype.supportsBinary=!0,r.prototype.doOpen=function(){if(this.check()){var t=this.uri(),e=this.protocols,n={agent:this.agent,perMessageDeflate:this.perMessageDeflate};n.pfx=this.pfx,n.key=this.key,n.passphrase=this.passphrase,n.cert=this.cert,n.ca=this.ca,n.ciphers=this.ciphers,n.rejectUnauthorized=this.rejectUnauthorized,this.extraHeaders&&(n.headers=this.extraHeaders),this.localAddress&&(n.localAddress=this.localAddress);try{this.ws=this.usingBrowserWebSocket?e?new p(t,e):new p(t):new p(t,e,n)}catch(t){return this.emit("error",t)}void 0===this.ws.binaryType&&(this.supportsBinary=!1),this.ws.supports&&this.ws.supports.binary?(this.supportsBinary=!0,this.ws.binaryType="nodebuffer"):this.ws.binaryType="arraybuffer",this.addEventListeners()}},r.prototype.addEventListeners=function(){var t=this;this.ws.onopen=function(){t.onOpen()},this.ws.onclose=function(){t.onClose()},this.ws.onmessage=function(e){t.onData(e.data)},this.ws.onerror=function(e){t.onError("websocket error",e)}},r.prototype.write=function(t){function n(){r.emit("flush"),setTimeout(function(){r.writable=!0,r.emit("drain")},0)}var r=this;this.writable=!1;for(var o=t.length,a=0,s=o;a<s;a++)!function(t){i.encodePacket(t,r.supportsBinary,function(a){if(!r.usingBrowserWebSocket){var i={};if(t.options&&(i.compress=t.options.compress),r.perMessageDeflate){("string"==typeof a?e.Buffer.byteLength(a):a.length)<r.perMessageDeflate.threshold&&(i.compress=!1)}}try{r.usingBrowserWebSocket?r.ws.send(a):r.ws.send(a,i)}catch(t){l("websocket closed before onclose event")}--o||n()})}(t[a])},r.prototype.onClose=function(){a.prototype.onClose.call(this)},r.prototype.doClose=function(){void 0!==this.ws&&this.ws.close()},r.prototype.uri=function(){var t=this.query||{},e=this.secure?"wss":"ws",n="";return this.port&&("wss"===e&&443!==Number(this.port)||"ws"===e&&80!==Number(this.port))&&(n=":"+this.port),this.timestampRequests&&(t[this.timestampParam]=c()),this.supportsBinary||(t.b64=1),t=s.encode(t),t.length&&(t="?"+t),e+"://"+(-1!==this.hostname.indexOf(":")?"["+this.hostname+"]":this.hostname)+n+this.path+t},r.prototype.check=function(){return!(!p||"__initialize"in p&&this.name===r.prototype.name)}}).call(e,n(16))},function(t,e){},function(t,e,n){(function(e){var n=/^[\],:{}\s]*$/,r=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,o=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,a=/(?:^|:|,)(?:\s*\[)+/g,i=/^\s+/,s=/\s+$/;t.exports=function(t){return"string"==typeof t&&t?(t=t.replace(i,"").replace(s,""),e.JSON&&JSON.parse?JSON.parse(t):n.test(t.replace(r,"@").replace(o,"]").replace(a,""))?new Function("return "+t)():void 0):null}}).call(e,n(16))},function(t,e){function n(t,e){var n=[];e=e||0;for(var r=e||0;r<t.length;r++)n[r-e]=t[r];return n}t.exports=n},function(t,e){function n(t){t=t||{},this.ms=t.min||100,this.max=t.max||1e4,this.factor=t.factor||2,this.jitter=t.jitter>0&&t.jitter<=1?t.jitter:0,this.attempts=0}t.exports=n,n.prototype.duration=function(){var t=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var e=Math.random(),n=Math.floor(e*this.jitter*t);t=0==(1&Math.floor(10*e))?t-n:t+n}return 0|Math.min(t,this.max)},n.prototype.reset=function(){this.attempts=0},n.prototype.setMin=function(t){this.ms=t},n.prototype.setMax=function(t){this.max=t},n.prototype.setJitter=function(t){this.jitter=t}},function(t,e,n){var r=n(499);"string"==typeof r&&(r=[[t.i,r,""]]);n(54)(r,{});r.locals&&(t.exports=r.locals)},function(t,e,n){e=t.exports=n(53)(),e.push([t.i,"*,:after,:before{box-sizing:border-box}body{font-size:2vw;color:#fff;font-family:Saira,sans-serif;background-color:#222;box-sizing:border-box}body,h1,h2,h3,h4,h5,p{padding:0;margin:0}.dashboard{display:grid;grid-template-columns:repeat(auto-fill,minmax(18rem,1fr));grid-auto-rows:minmax(15rem,auto);grid-gap:1rem;margin:0 auto;max-width:100vw;padding:1rem}.widget{position:relative;text-align:center;padding:1.25rem;color:#333;background-color:#12b0c5}.widget--medium{grid-column:span 2}.widget__title{text-align:center;font-size:1.875rem;font-weight:400;color:#fff}.widget__value{text-transform:uppercase;padding:.725rem 0;font-size:4.4rem;font-weight:700;color:#fff}.widget__updatedAt{position:absolute;left:0;right:0;bottom:.3rem;font-size:.8rem;text-align:center;color:hsla(0,0%,100%,.7)}.widget__LocationTemp .widget__value{font-size:2rem}.widget__LocationTemp .widget__value small{display:block}",""])},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t){var e=(0,c.default)("http://"+window.location.host);return s.default.Children.map(t.children,function(t){return s.default.cloneElement(t,{socket:e})})}function a(t){return s.default.createElement("div",{className:"dashboard"},o(t))}Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),s=r(i),u=n(245),c=r(u);e.default=a},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var u=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),c=n(0),l=r(c),f=n(1),p=r(f),h=n(70),d=r(h),y=n(257),g=r(y),m=n(71),v=r(m);n(505);var b=function(t){function e(t){a(this,e);var n=i(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.state={value:void 0,updatedAt:void 0},n}return s(e,t),u(e,[{key:"render",value:function(){var t=d.default.apply(void 0,o(this.classList).concat(["widget__number"])),e=this.props.format?(0,g.default)(this.state.value).format(this.props.format):this.state.value;return l.default.createElement("div",{className:t},l.default.createElement("h1",{className:"widget__title"},this.props.title),l.default.createElement("h2",{className:"widget__value"},void 0!==this.state.value?e:"---",this.props.metric&&l.default.createElement("small",null,this.props.metric)),this.state.updatedAt&&l.default.createElement("p",{className:"widget__updatedAt"},this.state.updatedAt))}}]),e}(v.default);e.default=b,b.propTypes={format:p.default.string,metric:p.default.string,title:p.default.string.isRequired}},function(t,e,n){"use strict";var r=n(21),o=n(2),a=n(219);t.exports=function(){function t(t,e,n,r,i,s){s!==a&&o(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function e(){return t}t.isRequired=t;var n={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e};return n.checkPropTypes=r,n.PropTypes=n,n}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(258),o=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default=function(t,e,n){var r=(0,o.default)().format("D/M/YYYY-h:mm:ss"),a=r+" ["+t+"] ->";console.log(a,e||"",n||"")}},function(t,e){function n(t){throw new Error("Cannot find module '"+t+"'.")}n.keys=function(){return[]},n.resolve=n,t.exports=n,n.id=504},function(t,e,n){var r=n(506);"string"==typeof r&&(r=[[t.i,r,""]]);n(54)(r,{});r.locals&&(t.exports=r.locals)},function(t,e,n){e=t.exports=n(53)(),e.push([t.i,".widget__number{background-color:#47bbb3}.widget__number:nth-child(4n+1),.widget__number:nth-child(4n+2){background:#2ecec5}.widget__number:nth-child(4n+3),.widget__number:nth-child(4n+4){background:#694d70}.widget__number:nth-child(4n+5){background:#525174}.widget__number:nth-child(4n+6),.widget__number:nth-child(4n+7){background:#694d70}.widget__number:nth-child(4n+8){background:#525174}",""])},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var u=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),c=n(0),l=r(c),f=n(1),p=r(f),h=n(70),d=r(h),y=n(71),g=r(y),m=n(508);n(509);var v=function(t){function e(t){a(this,e);var n=i(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.state={time:void 0,updatedAt:void 0,status:void 0},n}return s(e,t),u(e,[{key:"render",value:function(){var t=this.state.time?(0,m.parseTime)(this.state.time):{unit:"---",metric:""},e=d.default.apply(void 0,o(this.classList).concat(["widget__ping","widget__ping--"+(0,m.parseStatusCode)(this.state.status)]));return l.default.createElement("div",{className:e},l.default.createElement("h1",{className:"widget__title"},this.props.title),l.default.createElement("h2",{className:"widget__value"},t.unit,l.default.createElement("small",null,t.metric)),this.state.updatedAt&&l.default.createElement("p",{className:"widget__updatedAt"},this.state.updatedAt))}}]),e}(g.default);e.default=v,v.propTypes={title:p.default.string.isRequired}},function(t,e,n){"use strict";function r(t){var e=i.default.duration(t);return t<1e3?{unit:e.asMilliseconds(),metric:"ms"}:t>=1e3&&t<6e4?{unit:parseFloat(e.asSeconds()).toFixed(2),metric:"s"}:{unit:parseFloat(e.asMinutes()).toFixed(2),metric:"m"}}function o(t){return 200!==t?"down":"up"}Object.defineProperty(e,"__esModule",{value:!0}),e.parseTime=r,e.parseStatusCode=o;var a=n(258),i=function(t){return t&&t.__esModule?t:{default:t}}(a)},function(t,e,n){var r=n(510);"string"==typeof r&&(r=[[t.i,r,""]]);n(54)(r,{});r.locals&&(t.exports=r.locals)},function(t,e,n){e=t.exports=n(53)(),e.push([t.i,".widget__ping{background-color:#a7bda7}.widget__ping .widget__value{font-size:4.4rem}.widget__ping--up{background-color:#ff9618}.widget__ping--down{background-color:#f42a2a}",""])},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var u=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),c=n(0),l=r(c),f=n(1),p=r(f),h=n(70),d=r(h),y=n(71),g=r(y);n(512);var m=function(t){function e(t){a(this,e);var n=i(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.state={outcome:void 0,updatedAt:void 0},n}return s(e,t),u(e,[{key:"render",value:function(){var t=d.default.apply(void 0,o(this.classList).concat(["widget__buildStatus","widget--"+this.state.outcome]));return l.default.createElement("div",{className:t},l.default.createElement("h1",{className:"widget__title"},this.props.title),l.default.createElement("h2",{className:"widget__value"},this.state.outcome?this.state.outcome:"---"),this.state.updatedAt&&l.default.createElement("p",{className:"widget__updatedAt"},this.state.updatedAt))}}]),e}(g.default);e.default=m,m.propTypes={title:p.default.string.isRequired}},function(t,e,n){var r=n(513);"string"==typeof r&&(r=[[t.i,r,""]]);n(54)(r,{});r.locals&&(t.exports=r.locals)},function(t,e,n){e=t.exports=n(53)(),e.push([t.i,".widget__buildStatus .widget__value{padding:1.375rem 0 0;font-size:3.75rem}.widget__buildStatus.widget--success{background-color:#4cbf55}.widget__buildStatus.widget--fail{background-color:#f42a2a}.widget__buildStatus.widget--medium .widget__value{padding:.625rem 0 0;font-size:4.8rem}",""])},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var u=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),c=n(0),l=r(c),f=n(1),p=r(f),h=n(257),d=r(h),y=n(70),g=r(y),m=n(515),v=n(71),b=r(v);n(516);var _=function(t){function e(t){a(this,e);var n=i(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.state={value:void 0,updatedAt:void 0},n}return s(e,t),u(e,[{key:"render",value:function(){var t=this.state.value?this.state.value.slice(-1).pop():0,e=g.default.apply(void 0,o(this.classList).concat(["widget__sparkline"]));return l.default.createElement("div",{className:e},l.default.createElement("div",{className:"sparkline"},void 0!==this.state.value&&l.default.createElement("div",null,l.default.createElement(m.Sparklines,{data:this.state.value},l.default.createElement(m.SparklinesLine,{color:"white"}),l.default.createElement(m.SparklinesSpots,null)))),l.default.createElement("h1",{className:"widget__title"},this.props.title),l.default.createElement("h2",{className:"widget__value"},l.default.createElement("span",null,this.props.format?(0,d.default)(t).format(this.props.format):t,this.props.metric&&l.default.createElement("small",null,this.props.metric))),this.state.updatedAt&&l.default.createElement("p",{className:"widget__updatedAt"},this.state.updatedAt))}}]),e}(b.default);e.default=_,_.propTypes={format:p.default.string,metric:p.default.string,title:p.default.string.isRequired}},function(t,e,n){!function(e,r){t.exports=r(n(0))}(0,function(t){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/",e(e.s=11)}([function(t,e,n){(function(e){if("production"!==e.env.NODE_ENV){var r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,o=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===r};t.exports=n(14)(o,!0)}else t.exports=n(16)()}).call(e,n(2))},function(e,n){e.exports=t},function(t,e){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function o(t){if(l===setTimeout)return setTimeout(t,0);if((l===n||!l)&&setTimeout)return l=setTimeout,setTimeout(t,0);try{return l(t,0)}catch(e){try{return l.call(null,t,0)}catch(e){return l.call(this,t,0)}}}function a(t){if(f===clearTimeout)return clearTimeout(t);if((f===r||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(t);try{return f(t)}catch(e){try{return f.call(null,t)}catch(e){return f.call(this,t)}}}function i(){y&&h&&(y=!1,h.length?d=h.concat(d):g=-1,d.length&&s())}function s(){if(!y){var t=o(i);y=!0;for(var e=d.length;e;){for(h=d,d=[];++g<e;)h&&h[g].run();g=-1,e=d.length}h=null,y=!1,a(t)}}function u(t,e){this.fun=t,this.array=e}function c(){}var l,f,p=t.exports={};!function(){try{l="function"==typeof setTimeout?setTimeout:n}catch(t){l=n}try{f="function"==typeof clearTimeout?clearTimeout:r}catch(t){f=r}}();var h,d=[],y=!1,g=-1;p.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];d.push(new u(t,e)),1!==d.length||y||o(s)},u.prototype.run=function(){this.fun.apply(null,this.array)},p.title="browser",p.browser=!0,p.env={},p.argv=[],p.version="",p.versions={},p.on=c,p.addListener=c,p.once=c,p.off=c,p.removeListener=c,p.removeAllListeners=c,p.emit=c,p.prependListener=c,p.prependOnceListener=c,p.listeners=function(t){return[]},p.binding=function(t){throw new Error("process.binding is not supported")},p.cwd=function(){return"/"},p.chdir=function(t){throw new Error("process.chdir is not supported")},p.umask=function(){return 0}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return t.reduce(function(t,e){return t+e})/t.length}},function(t,e,n){"use strict";function r(t){return function(){return t}}var o=function(){};o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(t){return t},t.exports=o},function(t,e,n){"use strict";(function(e){function n(t,e,n,o,a,i,s,u){if(r(e),!t){var c;if(void 0===e)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,o,a,i,s,u],f=0;c=new Error(e.replace(/%s/g,function(){return l[f++]})),c.name="Invariant Violation"}throw c.framesToPop=1,c}}var r=function(t){};"production"!==e.env.NODE_ENV&&(r=function(t){if(void 0===t)throw new Error("invariant requires an error message argument")}),t.exports=n}).call(e,n(2))},function(t,e,n){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return Math.min.apply(Math,t)}},function(t,e,n){"use strict";(function(e){var r=n(4),o=r;if("production"!==e.env.NODE_ENV){var a=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];var o=0,a="Warning: "+t.replace(/%s/g,function(){return n[o++]});"undefined"!=typeof console&&console.error(a);try{throw new Error(a)}catch(t){}};o=function(t,e){if(void 0===e)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(0!==e.indexOf("Failed Composite propType: ")&&!t){for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];a.apply(void 0,[e].concat(r))}}}t.exports=o}).call(e,n(2))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return Math.max.apply(Math,t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(3),o=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default=function(t){var e=(0,o.default)(t),n=t.map(function(t){return Math.pow(t-e,2)}),r=(0,o.default)(n);return Math.sqrt(r)}},function(t,e,n){t.exports=n(12)},function(t,e,n){"use strict";t.exports=n(13)},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0}),e.SparklinesText=e.SparklinesNormalBand=e.SparklinesReferenceLine=e.SparklinesSpots=e.SparklinesBars=e.SparklinesCurve=e.SparklinesLine=e.Sparklines=void 0;var s=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),u=n(0),c=r(u),l=n(1),f=r(l),p=n(17),h=r(p),d=n(18),y=r(d),g=n(19),m=r(g),v=n(20),b=r(v),_=n(21),x=r(_),w=n(22),O=r(w),C=n(27),k=r(C),M=n(28),P=r(M),E=function(t){function e(t){return o(this,e),a(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t))}return i(e,t),s(e,[{key:"render",value:function(){var t=this.props,e=t.data,n=t.limit,r=t.width,o=t.height,a=t.svgWidth,i=t.svgHeight,s=t.preserveAspectRatio,u=t.margin,c=t.style,l=t.max,p=t.min;if(0===e.length)return null;var h=(0,P.default)({data:e,limit:n,width:r,height:o,margin:u,max:l,min:p}),d={style:c,viewBox:"0 0 "+r+" "+o,preserveAspectRatio:s};return a>0&&(d.width=a),i>0&&(d.height=i),f.default.createElement("svg",d,f.default.Children.map(this.props.children,function(t){return f.default.cloneElement(t,{data:e,points:h,width:r,height:o,margin:u})}))}}]),e}(l.PureComponent);E.propTypes={data:c.default.array,limit:c.default.number,width:c.default.number,height:c.default.number,svgWidth:c.default.number,svgHeight:c.default.number,preserveAspectRatio:c.default.string,margin:c.default.number,style:c.default.object,min:c.default.number,max:c.default.number,onMouseMove:c.default.func},E.defaultProps={data:[],width:240,height:60,preserveAspectRatio:"none",margin:2},e.Sparklines=E,e.SparklinesLine=y.default,e.SparklinesCurve=m.default,e.SparklinesBars=b.default,e.SparklinesSpots=x.default,e.SparklinesReferenceLine=O.default,e.SparklinesNormalBand=k.default,e.SparklinesText=h.default},function(t,e,n){"use strict";(function(e){var r=n(4),o=n(5),a=n(8),i=n(6),s=n(15);t.exports=function(t,n){function u(t){var e=t&&(k&&t[k]||t[M]);if("function"==typeof e)return e}function c(t,e){return t===e?0!==t||1/t==1/e:t!==t&&e!==e}function l(t){this.message=t,this.stack=""}function f(t){function r(r,c,f,p,h,d,y){if(p=p||P,d=d||f,y!==i)if(n)o(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");else if("production"!==e.env.NODE_ENV&&"undefined"!=typeof console){var g=p+":"+f;!s[g]&&u<3&&(a(!1,"You are manually calling a React.PropTypes validation function for the `%s` prop on `%s`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.",d,p),s[g]=!0,u++)}return null==c[f]?r?new l(null===c[f]?"The "+h+" `"+d+"` is marked as required in `"+p+"`, but its value is `null`.":"The "+h+" `"+d+"` is marked as required in `"+p+"`, but its value is `undefined`."):null:t(c,f,p,h,d)}if("production"!==e.env.NODE_ENV)var s={},u=0;var c=r.bind(null,!1);return c.isRequired=r.bind(null,!0),c}function p(t){function e(e,n,r,o,a,i){var s=e[n];if(x(s)!==t)return new l("Invalid "+o+" `"+a+"` of type `"+w(s)+"` supplied to `"+r+"`, expected `"+t+"`.");return null}return f(e)}function h(t){function e(e,n,r,o,a){if("function"!=typeof t)return new l("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var s=e[n];if(!Array.isArray(s)){return new l("Invalid "+o+" `"+a+"` of type `"+x(s)+"` supplied to `"+r+"`, expected an array.")}for(var u=0;u<s.length;u++){var c=t(s,u,r,o,a+"["+u+"]",i);if(c instanceof Error)return c}return null}return f(e)}function d(t){function e(e,n,r,o,a){if(!(e[n]instanceof t)){var i=t.name||P;return new l("Invalid "+o+" `"+a+"` of type `"+C(e[n])+"` supplied to `"+r+"`, expected instance of `"+i+"`.")}return null}return f(e)}function y(t){function n(e,n,r,o,a){for(var i=e[n],s=0;s<t.length;s++)if(c(i,t[s]))return null;return new l("Invalid "+o+" `"+a+"` of value `"+i+"` supplied to `"+r+"`, expected one of "+JSON.stringify(t)+".")}return Array.isArray(t)?f(n):("production"!==e.env.NODE_ENV&&a(!1,"Invalid argument supplied to oneOf, expected an instance of array."),r.thatReturnsNull)}function g(t){function e(e,n,r,o,a){if("function"!=typeof t)return new l("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var s=e[n],u=x(s);if("object"!==u)return new l("Invalid "+o+" `"+a+"` of type `"+u+"` supplied to `"+r+"`, expected an object.");for(var c in s)if(s.hasOwnProperty(c)){var f=t(s,c,r,o,a+"."+c,i);if(f instanceof Error)return f}return null}return f(e)}function m(t){function n(e,n,r,o,a){for(var s=0;s<t.length;s++){if(null==(0,t[s])(e,n,r,o,a,i))return null}return new l("Invalid "+o+" `"+a+"` supplied to `"+r+"`.")}if(!Array.isArray(t))return"production"!==e.env.NODE_ENV&&a(!1,"Invalid argument supplied to oneOfType, expected an instance of array."),r.thatReturnsNull;for(var o=0;o<t.length;o++){var s=t[o];if("function"!=typeof s)return a(!1,"Invalid argument supplid to oneOfType. Expected an array of check functions, but received %s at index %s.",O(s),o),r.thatReturnsNull}return f(n)}function v(t){function e(e,n,r,o,a){var s=e[n],u=x(s);if("object"!==u)return new l("Invalid "+o+" `"+a+"` of type `"+u+"` supplied to `"+r+"`, expected `object`.");for(var c in t){var f=t[c];if(f){var p=f(s,c,r,o,a+"."+c,i);if(p)return p}}return null}return f(e)}function b(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(b);if(null===e||t(e))return!0;var n=u(e);if(!n)return!1;var r,o=n.call(e);if(n!==e.entries){for(;!(r=o.next()).done;)if(!b(r.value))return!1}else for(;!(r=o.next()).done;){var a=r.value;if(a&&!b(a[1]))return!1}return!0;default:return!1}}function _(t,e){return"symbol"===t||("Symbol"===e["@@toStringTag"]||"function"==typeof Symbol&&e instanceof Symbol)}function x(t){var e=typeof t;return Array.isArray(t)?"array":t instanceof RegExp?"object":_(e,t)?"symbol":e}function w(t){if(void 0===t||null===t)return""+t;var e=x(t);if("object"===e){if(t instanceof Date)return"date";if(t instanceof RegExp)return"regexp"}return e}function O(t){var e=w(t);switch(e){case"array":case"object":return"an "+e;case"boolean":case"date":case"regexp":return"a "+e;default:return e}}function C(t){return t.constructor&&t.constructor.name?t.constructor.name:P}var k="function"==typeof Symbol&&Symbol.iterator,M="@@iterator",P="<<anonymous>>",E={array:p("array"),bool:p("boolean"),func:p("function"),number:p("number"),object:p("object"),string:p("string"),symbol:p("symbol"),any:function(){return f(r.thatReturnsNull)}(),arrayOf:h,element:function(){function e(e,n,r,o,a){var i=e[n];if(!t(i)){return new l("Invalid "+o+" `"+a+"` of type `"+x(i)+"` supplied to `"+r+"`, expected a single ReactElement.")}return null}return f(e)}(),instanceOf:d,node:function(){function t(t,e,n,r,o){return b(t[e])?null:new l("Invalid "+r+" `"+o+"` supplied to `"+n+"`, expected a ReactNode.")}return f(t)}(),objectOf:g,oneOf:y,oneOfType:m,shape:v};return l.prototype=Error.prototype,E.checkPropTypes=s,E.PropTypes=E,E}}).call(e,n(2))},function(t,e,n){"use strict";(function(e){function r(t,n,r,u,c){if("production"!==e.env.NODE_ENV)for(var l in t)if(t.hasOwnProperty(l)){var f;try{o("function"==typeof t[l],"%s: %s type `%s` is invalid; it must be a function, usually from React.PropTypes.",u||"React class",r,l),f=t[l](n,l,u,r,null,i)}catch(t){f=t}if(a(!f||f instanceof Error,"%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",u||"React class",r,l,typeof f),f instanceof Error&&!(f.message in s)){s[f.message]=!0;var p=c?c():"";a(!1,"Failed %s type: %s%s",r,f.message,null!=p?p:"")}}}if("production"!==e.env.NODE_ENV)var o=n(5),a=n(8),i=n(6),s={};t.exports=r}).call(e,n(2))},function(t,e,n){"use strict";var r=n(4),o=n(5),a=n(6);t.exports=function(){function t(t,e,n,r,i,s){s!==a&&o(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function e(){return t}t.isRequired=t;var n={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e};return n.checkPropTypes=r,n.PropTypes=n,n}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var s=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),u=n(0),c=r(u),l=n(1),f=r(l),p=function(t){function e(){return o(this,e),a(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),s(e,[{key:"render",value:function(){var t=this.props,e=t.point,n=t.text,r=t.fontSize,o=t.fontFamily,a=e.x,i=e.y;return f.default.createElement("g",null,f.default.createElement("text",{x:a,y:i,fontFamily:o||"Verdana",fontSize:r||10},n))}}]),e}(f.default.Component);p.propTypes={text:c.default.string,point:c.default.object,fontSize:c.default.number,fontFamily:c.default.string},p.defaultProps={text:"",point:{x:0,y:0}},e.default=p},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var s=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),u=n(0),c=r(u),l=n(1),f=r(l),p=function(t){function e(){return o(this,e),a(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),s(e,[{key:"render",value:function(){var t=this.props,e=t.data,n=t.points,r=(t.width,t.height),o=t.margin,a=t.color,i=t.style,s=t.onMouseMove,u=n.map(function(t){return[t.x,t.y]}).reduce(function(t,e){return t.concat(e)}),c=[n[n.length-1].x,r-o,o,r-o,o,n[0].y],l=u.concat(c),p={stroke:a||i.stroke||"slategray",strokeWidth:i.strokeWidth||"1",strokeLinejoin:i.strokeLinejoin||"round",strokeLinecap:i.strokeLinecap||"round",fill:"none"},h={stroke:i.stroke||"none",strokeWidth:"0",fillOpacity:i.fillOpacity||".1",fill:i.fill||a||"slategray",pointerEvents:"auto"},d=n.map(function(t,n){return f.default.createElement("circle",{key:n,cx:t.x,cy:t.y,r:2,style:h,onMouseEnter:function(r){return s("enter",e[n],t)},onClick:function(r){return s("click",e[n],t)}})});return f.default.createElement("g",null,d,f.default.createElement("polyline",{points:l.join(" "),style:h}),f.default.createElement("polyline",{points:u.join(" "),style:p}))}}]),e}(f.default.Component);p.propTypes={color:c.default.string,style:c.default.object},p.defaultProps={style:{},onMouseMove:function(){}},e.default=p},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var s=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),u=n(0),c=r(u),l=n(1),f=r(l),p=function(t){function e(){return o(this,e),a(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),s(e,[{key:"render",value:function(){var t=this.props,e=t.points,n=(t.width,t.height),r=t.margin,o=t.color,a=t.style,i=t.divisor,s=void 0===i?.25:i,u=void 0,c=function(t){var e=void 0;if(u){var n=(t.x-u.x)*s;e=["C",u.x+n,u.y,t.x-n,t.y,t.x,t.y]}else e=[t.x,t.y];return u=t,e},l=e.map(function(t){return c(t)}).reduce(function(t,e){return t.concat(e)}),p=["L"+e[e.length-1].x,n-r,r,n-r,r,e[0].y],h=l.concat(p),d={stroke:o||a.stroke||"slategray",strokeWidth:a.strokeWidth||"1",strokeLinejoin:a.strokeLinejoin||"round",strokeLinecap:a.strokeLinecap||"round",fill:"none"},y={stroke:a.stroke||"none",strokeWidth:"0",fillOpacity:a.fillOpacity||".1",fill:a.fill||o||"slategray"};return f.default.createElement("g",null,f.default.createElement("path",{d:"M"+h.join(" "),style:y}),f.default.createElement("path",{d:"M"+l.join(" "),style:d}))}}]),e}(f.default.Component);p.propTypes={color:c.default.string,style:c.default.object},p.defaultProps={style:{}},e.default=p},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var s=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),u=n(0),c=r(u),l=n(1),f=r(l),p=function(t){function e(){return o(this,e),a(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),s(e,[{key:"render",value:function(){var t=this,e=this.props,n=e.points,r=e.height,o=e.style,a=e.barWidth,i=e.margin,s=e.onMouseMove,u=1*(o&&o.strokeWidth||0),c=i?2*i:0,l=a||(n&&n.length>=2?Math.max(0,n[1].x-n[0].x-u-c):0);return f.default.createElement("g",{transform:"scale(1,-1)"},n.map(function(e,n){return f.default.createElement("rect",{key:n,x:e.x-(l+u)/2,y:-r,width:l,height:Math.max(0,r-e.y),style:o,onMouseMove:s&&s.bind(t,e)})}))}}]),e}(f.default.Component);p.propTypes={points:c.default.arrayOf(c.default.object),height:c.default.number,style:c.default.object,barWidth:c.default.number,margin:c.default.number,onMouseMove:c.default.func},p.defaultProps={style:{fill:"slategray"}},e.default=p},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var s=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),u=n(0),c=r(u),l=n(1),f=r(l),p=function(t){function e(){return o(this,e),a(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),s(e,[{key:"lastDirection",value:function(t){return Math.sign=Math.sign||function(t){return t>0?1:-1},t.length<2?0:Math.sign(t[t.length-2].y-t[t.length-1].y)}},{key:"render",value:function(){var t=this.props,e=t.points,n=(t.width,t.height,t.size),r=t.style,o=t.spotColors,a=f.default.createElement("circle",{cx:e[0].x,cy:e[0].y,r:n,style:r}),i=f.default.createElement("circle",{cx:e[e.length-1].x,cy:e[e.length-1].y,r:n,style:r||{fill:o[this.lastDirection(e)]}});return f.default.createElement("g",null,r&&a,i)}}]),e}(f.default.Component);p.propTypes={size:c.default.number,style:c.default.object,spotColors:c.default.object},p.defaultProps={size:2,spotColors:{"-1":"red",0:"black",1:"green"}},e.default=p},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var s=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),u=n(0),c=r(u),l=n(1),f=r(l),p=n(23),h=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(p),d=function(t){function e(){return o(this,e),a(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),s(e,[{key:"render",value:function(){var t=this.props,e=t.points,n=t.margin,r=t.type,o=t.style,a=t.value,i=e.map(function(t){return t.y}),s="custom"==r?a:h[r](i);return f.default.createElement("line",{x1:e[0].x,y1:s+n,x2:e[e.length-1].x,y2:s+n,style:o})}}]),e}(f.default.Component);d.propTypes={type:c.default.oneOf(["max","min","mean","avg","median","custom"]),value:c.default.number,style:c.default.object},d.defaultProps={type:"mean",style:{stroke:"red",strokeOpacity:.75,strokeDasharray:"2, 2"}},e.default=d},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.variance=e.stdev=e.median=e.midRange=e.avg=e.mean=e.max=e.min=void 0;var o=n(7),a=r(o),i=n(3),s=r(i),u=n(24),c=r(u),l=n(25),f=r(l),p=n(10),h=r(p),d=n(26),y=r(d);e.min=a.default,e.max=a.default,e.mean=s.default,e.avg=s.default,e.midRange=c.default,e.median=f.default,e.stdev=h.default,e.variance=y.default},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(7),a=r(o),i=n(9),s=r(i);e.default=function(t){return(0,s.default)(t)-(0,a.default)(t)/2}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return t.sort(function(t,e){return t-e})[Math.floor(t.length/2)]}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(3),o=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default=function(t){var e=(0,o.default)(t),n=t.map(function(t){return Math.pow(t-e,2)});return(0,o.default)(n)}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var s=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),u=n(0),c=r(u),l=n(1),f=r(l),p=n(3),h=r(p),d=n(10),y=r(d),g=function(t){function e(){return o(this,e),a(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),s(e,[{key:"render",value:function(){var t=this.props,e=t.points,n=t.margin,r=t.style,o=e.map(function(t){return t.y}),a=(0,h.default)(o),i=(0,y.default)(o);return f.default.createElement("rect",{x:e[0].x,y:a-i+n,width:e[e.length-1].x-e[0].x,height:2*y.default,style:r})}}]),e}(f.default.Component);g.propTypes={style:c.default.object},g.defaultProps={style:{fill:"red",fillOpacity:.1}},e.default=g},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(7),a=r(o),i=n(9),s=r(i);e.default=function(t){var e=t.data,n=t.limit,r=t.width,o=void 0===r?1:r,i=t.height,u=void 0===i?1:i,c=t.margin,l=void 0===c?0:c,f=t.max,p=void 0===f?(0,s.default)(e):f,h=t.min,d=void 0===h?(0,a.default)(e):h,y=e.length;n&&n<y&&(e=e.slice(y-n));var g=(u-2*l)/(p-d||2),m=(o-2*l)/((n||y)-(y>1?1:0));return e.map(function(t,e){return{x:e*m+l,y:(p===d?1:p-t)*g+l}})}}])})},function(t,e,n){var r=n(517);"string"==typeof r&&(r=[[t.i,r,""]]);n(54)(r,{});r.locals&&(t.exports=r.locals)},function(t,e,n){e=t.exports=n(53)(),e.push([t.i,".widget__sparkline{background-color:#9c4274}.widget__sparkline .widget__value{z-index:1;padding-top:.75rem}.widget__sparkline .sparkline{position:relative;width:100%;height:0;overflow:visible}.widget__sparkline .sparkline>div{position:absolute;left:-20px;right:-20px;bottom:-220px;opacity:.3}",""])},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var u=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),c=n(0),l=r(c),f=n(1),p=r(f),h=n(70),d=r(h),y=n(519),g=n(71),m=r(g);n(830);var v=function(t){function e(t){a(this,e);var n=i(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.state={progress:void 0,updatedAt:void 0},n}return s(e,t),u(e,[{key:"parseProgress",value:function(t){return[{x:1,y:t},{x:2,y:100-t,fill:"#b57b9b"}]}},{key:"render",value:function(){var t=d.default.apply(void 0,o(this.classList).concat(["widget__progress"])),e=this.parseProgress(this.state.progress);return l.default.createElement("div",{className:t},l.default.createElement("h1",{className:"widget__title"},this.props.title),void 0===this.state.progress&&l.default.createElement("h2",{className:"widget__value"},"---"),void 0!==this.state.progress&&l.default.createElement("svg",{className:"progress",viewBox:"0 0 400 400",width:"100%",height:"100%"},l.default.createElement(y.VictoryPie,{standalone:!1,animate:{duration:1e3},data:e,innerRadius:110,labels:function(){return null}}),l.default.createElement(y.VictoryAnimation,{duration:1e3,data:this.state},function(t){return l.default.createElement(y.VictoryLabel,{className:"progress__text",textAnchor:"middle",verticalAnchor:"middle",x:200,y:200,text:Math.round(t.progress),style:{fill:"#fff",fontSize:125,fontWeight:700,fontFamily:"Saira"}})})),this.state.updatedAt&&l.default.createElement("p",{className:"widget__updatedAt"},this.state.updatedAt))}}]),e}(m.default);e.default=v,v.propTypes={title:p.default.string.isRequired}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(3),o=n(782),a=n(827);n.d(e,"Area",function(){return r.b}),n.d(e,"Bar",function(){return r.c}),n.d(e,"Border",function(){return r.d}),n.d(e,"Candle",function(){return r.e}),n.d(e,"ClipPath",function(){return r.f}),n.d(e,"Curve",function(){return r.h}),n.d(e,"ErrorBar",function(){return r.l}),n.d(e,"Line",function(){return r.q}),n.d(e,"Point",function(){return r.s}),n.d(e,"Slice",function(){return r.x}),n.d(e,"Voronoi",function(){return r.L}),n.d(e,"Flyout",function(){return r.n}),n.d(e,"VictoryAnimation",function(){return r.B}),n.d(e,"VictoryArea",function(){return o.d}),n.d(e,"VictoryAxis",function(){return o.e}),n.d(e,"VictoryPolarAxis",function(){return o.n}),n.d(e,"VictoryBar",function(){return o.f}),n.d(e,"VictoryCandlestick",function(){return o.h}),n.d(e,"VictoryChart",function(){return o.i}),n.d(e,"VictoryErrorBar",function(){return o.k}),n.d(e,"VictoryGroup",function(){return o.l}),n.d(e,"VictoryLine",function(){return o.m}),n.d(e,"VictoryLabel",function(){return r.E}),n.d(e,"VictoryLegend",function(){return r.F}),n.d(e,"VictoryPie",function(){return a.a}),n.d(e,"VictoryScatter",function(){return o.o}),n.d(e,"VictoryStack",function(){return o.q}),n.d(e,"VictoryTheme",function(){return r.I}),n.d(e,"VictoryTransition",function(){return r.K}),n.d(e,"VictorySharedEvents",function(){return r.H}),n.d(e,"VictoryTooltip",function(){return r.J}),n.d(e,"VictoryVoronoi",function(){return o.r}),n.d(e,"VictoryPortal",function(){return r.G}),n.d(e,"Portal",function(){return r.t}),n.d(e,"VictoryContainer",function(){return r.D}),n.d(e,"VictoryClipContainer",function(){return r.C}),n.d(e,"VictoryZoomContainer",function(){return o.t}),n.d(e,"ZoomHelpers",function(){return o.v}),n.d(e,"zoomContainerMixin",function(){return o.C}),n.d(e,"VictorySelectionContainer",function(){return o.p}),n.d(e,"SelectionHelpers",function(){return o.c}),n.d(e,"selectionContainerMixin",function(){return o.A}),n.d(e,"VictoryBrushContainer",function(){return o.g}),n.d(e,"BrushHelpers",function(){return o.a}),n.d(e,"brushContainerMixin",function(){return o.w}),n.d(e,"VictoryCursorContainer",function(){return o.j}),n.d(e,"CursorHelpers",function(){return o.b}),n.d(e,"cursorContainerMixin",function(){return o.z}),n.d(e,"VictoryVoronoiContainer",function(){return o.s}),n.d(e,"VoronoiHelpers",function(){return o.u}),n.d(e,"voronoiContainerMixin",function(){return o.B}),n.d(e,"combineContainerMixins",function(){return o.x}),n.d(e,"createContainer",function(){return o.y}),n.d(e,"addEvents",function(){return r.M}),n.d(e,"Collection",function(){return r.g}),n.d(e,"Data",function(){return r.i}),n.d(e,"DefaultTransitions",function(){return r.j}),n.d(e,"Domain",function(){return r.k}),n.d(e,"Events",function(){return r.m}),n.d(e,"Helpers",function(){return r.o}),n.d(e,"Log",function(){return r.r}),n.d(e,"PropTypes",function(){return r.u}),n.d(e,"Scale",function(){return r.v}),n.d(e,"Style",function(){return r.y}),n.d(e,"TextSize",function(){return r.z}),n.d(e,"Transitions",function(){return r.A}),n.d(e,"Selection",function(){return r.w}),n.d(e,"LabelHelpers",function(){return r.p})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(521);n.d(e,"easeLinear",function(){return r.a});var o=n(522);n.d(e,"easeQuad",function(){return o.b}),n.d(e,"easeQuadIn",function(){return o.a}),n.d(e,"easeQuadOut",function(){return o.c}),n.d(e,"easeQuadInOut",function(){return o.b});var a=n(523);n.d(e,"easeCubic",function(){return a.b}),n.d(e,"easeCubicIn",function(){return a.a}),n.d(e,"easeCubicOut",function(){return a.c}),n.d(e,"easeCubicInOut",function(){return a.b});var i=n(524);n.d(e,"easePoly",function(){return i.b}),n.d(e,"easePolyIn",function(){return i.a}),n.d(e,"easePolyOut",function(){return i.c}),n.d(e,"easePolyInOut",function(){return i.b});var s=n(525);n.d(e,"easeSin",function(){return s.b}),n.d(e,"easeSinIn",function(){return s.a}),n.d(e,"easeSinOut",function(){return s.c}),n.d(e,"easeSinInOut",function(){return s.b});var u=n(526);n.d(e,"easeExp",function(){return u.b}),n.d(e,"easeExpIn",function(){return u.a}),n.d(e,"easeExpOut",function(){return u.c}),n.d(e,"easeExpInOut",function(){return u.b});var c=n(527);n.d(e,"easeCircle",function(){return c.b}),n.d(e,"easeCircleIn",function(){return c.a}),n.d(e,"easeCircleOut",function(){return c.c}),n.d(e,"easeCircleInOut",function(){return c.b});var l=n(528);n.d(e,"easeBounce",function(){return l.c}),n.d(e,"easeBounceIn",function(){return l.a}),n.d(e,"easeBounceOut",function(){return l.c}),n.d(e,"easeBounceInOut",function(){return l.b});var f=n(529);n.d(e,"easeBack",function(){return f.b}),n.d(e,"easeBackIn",function(){return f.a}),n.d(e,"easeBackOut",function(){return f.c}),n.d(e,"easeBackInOut",function(){return f.b});var p=n(530);n.d(e,"easeElastic",function(){return p.c}),n.d(e,"easeElasticIn",function(){return p.a}),n.d(e,"easeElasticOut",function(){return p.c}),n.d(e,"easeElasticInOut",function(){return p.b})},function(t,e,n){"use strict";function r(t){return+t}e.a=r},function(t,e,n){"use strict";function r(t){return t*t}function o(t){return t*(2-t)}function a(t){return((t*=2)<=1?t*t:--t*(2-t)+1)/2}e.a=r,e.c=o,e.b=a},function(t,e,n){"use strict";function r(t){return t*t*t}function o(t){return--t*t*t+1}function a(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}e.a=r,e.c=o,e.b=a},function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"c",function(){return o}),n.d(e,"b",function(){return a});var r=function t(e){function n(t){return Math.pow(t,e)}return e=+e,n.exponent=t,n}(3),o=function t(e){function n(t){return 1-Math.pow(1-t,e)}return e=+e,n.exponent=t,n}(3),a=function t(e){function n(t){return((t*=2)<=1?Math.pow(t,e):2-Math.pow(2-t,e))/2}return e=+e,n.exponent=t,n}(3)},function(t,e,n){"use strict";function r(t){return 1-Math.cos(t*s)}function o(t){return Math.sin(t*s)}function a(t){return(1-Math.cos(i*t))/2}e.a=r,e.c=o,e.b=a;var i=Math.PI,s=i/2},function(t,e,n){"use strict";function r(t){return Math.pow(2,10*t-10)}function o(t){return 1-Math.pow(2,-10*t)}function a(t){return((t*=2)<=1?Math.pow(2,10*t-10):2-Math.pow(2,10-10*t))/2}e.a=r,e.c=o,e.b=a},function(t,e,n){"use strict";function r(t){return 1-Math.sqrt(1-t*t)}function o(t){return Math.sqrt(1- --t*t)}function a(t){return((t*=2)<=1?1-Math.sqrt(1-t*t):Math.sqrt(1-(t-=2)*t)+1)/2}e.a=r,e.c=o,e.b=a},function(t,e,n){"use strict";function r(t){return 1-o(1-t)}function o(t){return(t=+t)<i?y*t*t:t<u?y*(t-=s)*t+c:t<f?y*(t-=l)*t+p:y*(t-=h)*t+d}function a(t){return((t*=2)<=1?1-o(1-t):o(t-1)+1)/2}e.a=r,e.c=o,e.b=a;var i=4/11,s=6/11,u=8/11,c=.75,l=9/11,f=10/11,p=.9375,h=21/22,d=63/64,y=1/i/i},function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"c",function(){return o}),n.d(e,"b",function(){return a});var r=function t(e){function n(t){return t*t*((e+1)*t-e)}return e=+e,n.overshoot=t,n}(1.70158),o=function t(e){function n(t){return--t*t*((e+1)*t+e)+1}return e=+e,n.overshoot=t,n}(1.70158),a=function t(e){function n(t){return((t*=2)<1?t*t*((e+1)*t-e):(t-=2)*t*((e+1)*t+e)+2)/2}return e=+e,n.overshoot=t,n}(1.70158)},function(t,e,n){"use strict";n.d(e,"a",function(){return o}),n.d(e,"c",function(){return a}),n.d(e,"b",function(){return i});var r=2*Math.PI,o=function t(e,n){function o(t){return e*Math.pow(2,10*--t)*Math.sin((a-t)/n)}var a=Math.asin(1/(e=Math.max(1,e)))*(n/=r);return o.amplitude=function(e){return t(e,n*r)},o.period=function(n){return t(e,n)},o}(1,.3),a=function t(e,n){function o(t){return 1-e*Math.pow(2,-10*(t=+t))*Math.sin((t+a)/n)}var a=Math.asin(1/(e=Math.max(1,e)))*(n/=r);return o.amplitude=function(e){return t(e,n*r)},o.period=function(n){return t(e,n)},o}(1,.3),i=function t(e,n){function o(t){return((t=2*t-1)<0?e*Math.pow(2,10*t)*Math.sin((a-t)/n):2-e*Math.pow(2,-10*t)*Math.sin((a+t)/n))/2}var a=Math.asin(1/(e=Math.max(1,e)))*(n/=r);return o.amplitude=function(e){return t(e,n*r)},o.period=function(n){return t(e,n)},o}(1,.3)},function(t,e,n){"use strict";n.d(e,"a",function(){return h});var r=n(72),o=n.n(r),a=n(79),i=n.n(a),s=n(59),u=function(t){if(null!==t)switch(typeof t){case"undefined":return!1;case"number":return!isNaN(t)&&t!==Number.POSITIVE_INFINITY&&t!==Number.NEGATIVE_INFINITY;case"string":return!0;case"boolean":return!1;case"object":return t instanceof Date||Array.isArray(t)||i()(t);case"function":return!0}return!1},c=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return function(r){return r<n?t:e}},l=function(t,e){return function(n){return n>=1?e:function(){var r="function"==typeof t?t.apply(this,arguments):t,o="function"==typeof e?e.apply(this,arguments):e;return Object(s.a)(r,o)(n)}}},f=function(t,e){var n=function(t){return Array.isArray(t)?o()(t,"key"):t},r={},a={},p=void 0;null!==t&&"object"==typeof t||(t={}),null!==e&&"object"==typeof e||(e={});for(p in e)p in t?r[p]=function(t,e){return t!==e&&u(t)&&u(e)?"function"==typeof t||"function"==typeof e?l(t,e):"object"==typeof t&&i()(t)||"object"==typeof e&&i()(e)?f(t,e):Object(s.a)(t,e):c(t,e)}(n(t[p]),n(e[p])):a[p]=e[p];return function(t){for(p in r)a[p]=r[p](t);return a}},p=function(t,e){var n=function(t){return"string"==typeof t?t.replace(/,/g,""):t};return Object(s.a)(n(t),n(e))},h=function(t,e){return t!==e&&u(t)&&u(e)?"function"==typeof t||"function"==typeof e?l(t,e):i()(t)||i()(e)?f(t,e):"string"==typeof t||"string"==typeof e?p(t,e):Object(s.a)(t,e):c(t,e)}},function(t,e,n){function r(t){return i(t)||a(t)||!!(s&&t&&t[s])}var o=n(55),a=n(73),i=n(13),s=o?o.isConcatSpreadable:void 0;t.exports=r},function(t,e,n){function r(t){return a(t)&&o(t)==i}var o=n(37),a=n(26),i="[object Arguments]";t.exports=r},function(t,e,n){function r(t){var e=i.call(t,u),n=t[u];try{t[u]=void 0;var r=!0}catch(t){}var o=s.call(t);return r&&(e?t[u]=n:delete t[u]),o}var o=n(55),a=Object.prototype,i=a.hasOwnProperty,s=a.toString,u=o?o.toStringTag:void 0;t.exports=r},function(t,e){function n(t){return o.call(t)}var r=Object.prototype,o=r.toString;t.exports=n},function(t,e,n){function r(t,e,n){var r=-1;e=o(e.length?e:[l],u(a));var f=i(t,function(t,n,a){return{criteria:o(e,function(e){return e(t)}),index:++r,value:t}});return s(f,function(t,e){return c(t,e,n)})}var o=n(56),a=n(40),i=n(588),s=n(591),u=n(164),c=n(592),l=n(28);t.exports=r},function(t,e,n){function r(t){var e=a(t);return 1==e.length&&e[0][2]?i(e[0][0],e[0][1]):function(n){return n===t||o(n,t,e)}}var o=n(538),a=n(578),i=n(275);t.exports=r},function(t,e,n){function r(t,e,n,r){var u=n.length,c=u,l=!r;if(null==t)return!c;for(t=Object(t);u--;){var f=n[u];if(l&&f[2]?f[1]!==t[f[0]]:!(f[0]in t))return!1}for(;++u<c;){f=n[u];var p=f[0],h=t[p],d=f[1];if(l&&f[2]){if(void 0===h&&!(p in t))return!1}else{var y=new o;if(r)var g=r(h,d,p,t,e,y);if(!(void 0===g?a(d,h,i|s,r,y):g))return!1}}return!0}var o=n(104),a=n(158),i=1,s=2;t.exports=r},function(t,e){function n(){this.__data__=[],this.size=0}t.exports=n},function(t,e,n){function r(t){var e=this.__data__,n=o(e,t);return!(n<0)&&(n==e.length-1?e.pop():i.call(e,n,1),--this.size,!0)}var o=n(106),a=Array.prototype,i=a.splice;t.exports=r},function(t,e,n){function r(t){var e=this.__data__,n=o(e,t);return n<0?void 0:e[n][1]}var o=n(106);t.exports=r},function(t,e,n){function r(t){return o(this.__data__,t)>-1}var o=n(106);t.exports=r},function(t,e,n){function r(t,e){var n=this.__data__,r=o(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}var o=n(106);t.exports=r},function(t,e,n){function r(){this.__data__=new o,this.size=0}var o=n(105);t.exports=r},function(t,e){function n(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}t.exports=n},function(t,e){function n(t){return this.__data__.get(t)}t.exports=n},function(t,e){function n(t){return this.__data__.has(t)}t.exports=n},function(t,e,n){function r(t,e){var n=this.__data__;if(n instanceof o){var r=n.__data__;if(!a||r.length<s-1)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new i(r)}return n.set(t,e),this.size=n.size,this}var o=n(105),a=n(156),i=n(157),s=200;t.exports=r},function(t,e,n){function r(t){return!(!i(t)||a(t))&&(o(t)?d:c).test(s(t))}var o=n(9),a=n(550),i=n(14),s=n(262),u=/[\\^$.*+?()[\]{}|]/g,c=/^\[object .+?Constructor\]$/,l=Function.prototype,f=Object.prototype,p=l.toString,h=f.hasOwnProperty,d=RegExp("^"+p.call(h).replace(u,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=r},function(t,e,n){function r(t){return!!a&&a in t}var o=n(551),a=function(){var t=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();t.exports=r},function(t,e,n){var r=n(17),o=r["__core-js_shared__"];t.exports=o},function(t,e){function n(t,e){return null==t?void 0:t[e]}t.exports=n},function(t,e,n){function r(){this.size=0,this.__data__={hash:new o,map:new(i||a),string:new o}}var o=n(554),a=n(105),i=n(156);t.exports=r},function(t,e,n){function r(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}var o=n(555),a=n(556),i=n(557),s=n(558),u=n(559);r.prototype.clear=o,r.prototype.delete=a,r.prototype.get=i,r.prototype.has=s,r.prototype.set=u,t.exports=r},function(t,e,n){function r(){this.__data__=o?o(null):{},this.size=0}var o=n(107);t.exports=r},function(t,e){function n(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}t.exports=n},function(t,e,n){function r(t){var e=this.__data__;if(o){var n=e[t];return n===a?void 0:n}return s.call(e,t)?e[t]:void 0}var o=n(107),a="__lodash_hash_undefined__",i=Object.prototype,s=i.hasOwnProperty;t.exports=r},function(t,e,n){function r(t){var e=this.__data__;return o?void 0!==e[t]:i.call(e,t)}var o=n(107),a=Object.prototype,i=a.hasOwnProperty;t.exports=r},function(t,e,n){function r(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=o&&void 0===e?a:e,this}var o=n(107),a="__lodash_hash_undefined__";t.exports=r},function(t,e,n){function r(t){var e=o(this,t).delete(t);return this.size-=e?1:0,e}var o=n(108);t.exports=r},function(t,e){function n(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}t.exports=n},function(t,e,n){function r(t){return o(this,t).get(t)}var o=n(108);t.exports=r},function(t,e,n){function r(t){return o(this,t).has(t)}var o=n(108);t.exports=r},function(t,e,n){function r(t,e){var n=o(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this}var o=n(108);t.exports=r},function(t,e,n){function r(t,e,n,r,g,v){var b=c(t),_=c(e),x=b?d:u(t),w=_?d:u(e);x=x==h?y:x,w=w==h?y:w;var O=x==y,C=w==y,k=x==w;if(k&&l(t)){if(!l(e))return!1;b=!0,O=!1}if(k&&!O)return v||(v=new o),b||f(t)?a(t,e,n,r,g,v):i(t,e,x,n,r,g,v);if(!(n&p)){var M=O&&m.call(t,"__wrapped__"),P=C&&m.call(e,"__wrapped__");if(M||P){var E=M?t.value():t,A=P?e.value():e;return v||(v=new o),g(E,A,n,r,v)}}return!!k&&(v||(v=new o),s(t,e,n,r,g,v))}var o=n(104),a=n(263),i=n(568),s=n(569),u=n(111),c=n(13),l=n(74),f=n(110),p=1,h="[object Arguments]",d="[object Array]",y="[object Object]",g=Object.prototype,m=g.hasOwnProperty;t.exports=r},function(t,e){function n(t){return this.__data__.set(t,r),this}var r="__lodash_hash_undefined__";t.exports=n},function(t,e){function n(t){return this.__data__.has(t)}t.exports=n},function(t,e,n){function r(t,e,n,r,o,O,k){switch(n){case w:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case x:return!(t.byteLength!=e.byteLength||!O(new a(t),new a(e)));case p:case h:case g:return i(+t,+e);case d:return t.name==e.name&&t.message==e.message;case m:case b:return t==e+"";case y:var M=u;case v:var P=r&l;if(M||(M=c),t.size!=e.size&&!P)return!1;var E=k.get(t);if(E)return E==e;r|=f,k.set(t,e);var A=s(M(t),M(e),r,o,O,k);return k.delete(t),A;case _:if(C)return C.call(t)==C.call(e)}return!1}var o=n(55),a=n(265),i=n(41),s=n(263),u=n(161),c=n(109),l=1,f=2,p="[object Boolean]",h="[object Date]",d="[object Error]",y="[object Map]",g="[object Number]",m="[object RegExp]",v="[object Set]",b="[object String]",_="[object Symbol]",x="[object ArrayBuffer]",w="[object DataView]",O=o?o.prototype:void 0,C=O?O.valueOf:void 0;t.exports=r},function(t,e,n){function r(t,e,n,r,i,u){var c=n&a,l=o(t),f=l.length;if(f!=o(e).length&&!c)return!1;for(var p=f;p--;){var h=l[p];if(!(c?h in e:s.call(e,h)))return!1}var d=u.get(t);if(d&&u.get(e))return d==e;var y=!0;u.set(t,e),u.set(e,t);for(var g=c;++p<f;){h=l[p];var m=t[h],v=e[h];if(r)var b=c?r(v,m,h,e,t,u):r(m,v,h,t,e,u);if(!(void 0===b?m===v||i(m,v,n,r,u):b)){y=!1;break}g||(g="constructor"==h)}if(y&&!g){var _=t.constructor,x=e.constructor;_!=x&&"constructor"in t&&"constructor"in e&&!("function"==typeof _&&_ instanceof _&&"function"==typeof x&&x instanceof x)&&(y=!1)}return u.delete(t),u.delete(e),y}var o=n(266),a=1,i=Object.prototype,s=i.hasOwnProperty;t.exports=r},function(t,e){function n(t,e){for(var n=-1,r=null==t?0:t.length,o=0,a=[];++n<r;){var i=t[n];e(i,n,t)&&(a[o++]=i)}return a}t.exports=n},function(t,e){function n(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}t.exports=n},function(t,e){function n(){return!1}t.exports=n},function(t,e,n){function r(t){return i(t)&&a(t.length)&&!!s[o(t)]}var o=n(37),a=n(163),i=n(26),s={};s["[object Float32Array]"]=s["[object Float64Array]"]=s["[object Int8Array]"]=s["[object Int16Array]"]=s["[object Int32Array]"]=s["[object Uint8Array]"]=s["[object Uint8ClampedArray]"]=s["[object Uint16Array]"]=s["[object Uint32Array]"]=!0,s["[object Arguments]"]=s["[object Array]"]=s["[object ArrayBuffer]"]=s["[object Boolean]"]=s["[object DataView]"]=s["[object Date]"]=s["[object Error]"]=s["[object Function]"]=s["[object Map]"]=s["[object Number]"]=s["[object Object]"]=s["[object RegExp]"]=s["[object Set]"]=s["[object String]"]=s["[object WeakMap]"]=!1,t.exports=r},function(t,e,n){(function(t){var r=n(261),o="object"==typeof e&&e&&!e.nodeType&&e,a=o&&"object"==typeof t&&t&&!t.nodeType&&t,i=a&&a.exports===o,s=i&&r.process,u=function(){try{return s&&s.binding&&s.binding("util")}catch(t){}}();t.exports=u}).call(e,n(69)(t))},function(t,e,n){var r=n(271),o=r(Object.keys,Object);t.exports=o},function(t,e,n){var r=n(42),o=n(17),a=r(o,"DataView");t.exports=a},function(t,e,n){var r=n(42),o=n(17),a=r(o,"Promise");t.exports=a},function(t,e,n){function r(t){for(var e=a(t),n=e.length;n--;){var r=e[n],i=t[r];e[n]=[r,i,o(i)]}return e}var o=n(274),a=n(15);t.exports=r},function(t,e,n){function r(t,e){return s(t)&&u(e)?c(l(t),e):function(n){var r=a(n,t);return void 0===r&&r===e?i(n,t):o(e,r,f|p)}}var o=n(158),a=n(276),i=n(277),s=n(165),u=n(274),c=n(275),l=n(58),f=1,p=2;t.exports=r},function(t,e,n){var r=n(581),o=/^\./,a=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,s=r(function(t){var e=[];return o.test(t)&&e.push(""),t.replace(a,function(t,n,r,o){e.push(r?o.replace(i,"$1"):n||t)}),e});t.exports=s},function(t,e,n){function r(t){var e=o(t,function(t){return n.size===a&&n.clear(),t}),n=e.cache;return e}var o=n(582),a=500;t.exports=r},function(t,e,n){function r(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError(a);var n=function(){var r=arguments,o=e?e.apply(this,r):r[0],a=n.cache;if(a.has(o))return a.get(o);var i=t.apply(this,r);return n.cache=a.set(o,i)||a,i};return n.cache=new(r.Cache||o),n}var o=n(157),a="Expected a function";r.Cache=o,t.exports=r},function(t,e,n){function r(t){if("string"==typeof t)return t;if(i(t))return a(t,r)+"";if(s(t))return l?l.call(t):"";var e=t+"";return"0"==e&&1/t==-u?"-0":e}var o=n(55),a=n(56),i=n(13),s=n(77),u=1/0,c=o?o.prototype:void 0,l=c?c.toString:void 0;t.exports=r},function(t,e){function n(t,e){return null!=t&&e in Object(t)}t.exports=n},function(t,e,n){function r(t,e,n){e=o(e,t);for(var r=-1,l=e.length,f=!1;++r<l;){var p=c(e[r]);if(!(f=null!=t&&n(t,p)))break;t=t[p]}return f||++r!=l?f:!!(l=null==t?0:t.length)&&u(l)&&s(p,l)&&(i(t)||a(t))}var o=n(57),a=n(73),i=n(13),s=n(75),u=n(163),c=n(58);t.exports=r},function(t,e){function n(t){return function(e){return null==e?void 0:e[t]}}t.exports=n},function(t,e,n){function r(t){return function(e){return o(e,t)}}var o=n(112);t.exports=r},function(t,e,n){function r(t,e){var n=-1,r=a(t)?Array(t.length):[];return o(t,function(t,o,a){r[++n]=e(t,o,a)}),r}var o=n(113),a=n(27);t.exports=r},function(t,e){function n(t){return function(e,n,r){for(var o=-1,a=Object(e),i=r(e),s=i.length;s--;){var u=i[t?s:++o];if(!1===n(a[u],u,a))break}return e}}t.exports=n},function(t,e,n){function r(t,e){return function(n,r){if(null==n)return n;if(!o(n))return t(n,r);for(var a=n.length,i=e?a:-1,s=Object(n);(e?i--:++i<a)&&!1!==r(s[i],i,s););return n}}var o=n(27);t.exports=r},function(t,e){function n(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}t.exports=n},function(t,e,n){function r(t,e,n){for(var r=-1,a=t.criteria,i=e.criteria,s=a.length,u=n.length;++r<s;){var c=o(a[r],i[r]);if(c){if(r>=u)return c;return c*("desc"==n[r]?-1:1)}}return t.index-e.index}var o=n(593);t.exports=r},function(t,e,n){function r(t,e){if(t!==e){var n=void 0!==t,r=null===t,a=t===t,i=o(t),s=void 0!==e,u=null===e,c=e===e,l=o(e);if(!u&&!l&&!i&&t>e||i&&s&&c&&!u&&!l||r&&s&&c||!n&&c||!a)return 1;if(!r&&!i&&!l&&t<e||l&&n&&a&&!r&&!i||u&&n&&a||!s&&a||!c)return-1}return 0}var o=n(77);t.exports=r},function(t,e,n){var r=n(280),o=n(281),a=n(28),i=o?function(t,e){return o(t,"toString",{configurable:!0,enumerable:!1,value:r(e),writable:!0})}:a;t.exports=i},function(t,e,n){"use strict";function r(t){if(t instanceof a)return new a(t.l,t.a,t.b,t.opacity);if(t instanceof p){var e=t.h*y.a;return new a(t.l,Math.cos(e)*t.c,Math.sin(e)*t.c,t.opacity)}t instanceof d.b||(t=Object(d.h)(t));var n=c(t.r),r=c(t.g),o=c(t.b),s=i((.4124564*n+.3575761*r+.1804375*o)/g),u=i((.2126729*n+.7151522*r+.072175*o)/m);return new a(116*u-16,500*(s-u),200*(u-i((.0193339*n+.119192*r+.9503041*o)/v)),t.opacity)}function o(t,e,n,o){return 1===arguments.length?r(t):new a(t,e,n,null==o?1:o)}function a(t,e,n,r){this.l=+t,this.a=+e,this.b=+n,this.opacity=+r}function i(t){return t>w?Math.pow(t,1/3):t/x+b}function s(t){return t>_?t*t*t:x*(t-b)}function u(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function c(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function l(t){if(t instanceof p)return new p(t.h,t.c,t.l,t.opacity);t instanceof a||(t=r(t));var e=Math.atan2(t.b,t.a)*y.b;return new p(e<0?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function f(t,e,n,r){return 1===arguments.length?l(t):new p(t,e,n,null==r?1:r)}function p(t,e,n,r){this.h=+t,this.c=+e,this.l=+n,this.opacity=+r}e.a=o,e.b=f;var h=n(173),d=n(172),y=n(283),g=.95047,m=1,v=1.08883,b=4/29,_=6/29,x=3*_*_,w=_*_*_;Object(h.a)(a,o,Object(h.b)(d.a,{brighter:function(t){return new a(this.l+18*(null==t?1:t),this.a,this.b,this.opacity)},darker:function(t){return new a(this.l-18*(null==t?1:t),this.a,this.b,this.opacity)},rgb:function(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,n=isNaN(this.b)?t:t-this.b/200;return t=m*s(t),e=g*s(e),n=v*s(n),new d.b(u(3.2404542*e-1.5371385*t-.4985314*n),u(-.969266*e+1.8760108*t+.041556*n),u(.0556434*e-.2040259*t+1.0572252*n),this.opacity)}})),Object(h.a)(p,f,Object(h.b)(d.a,{brighter:function(t){return new p(this.h,this.c,this.l+18*(null==t?1:t),this.opacity)},darker:function(t){return new p(this.h,this.c,this.l-18*(null==t?1:t),this.opacity)},rgb:function(){return r(this).rgb()}}))},function(t,e,n){"use strict";function r(t){if(t instanceof a)return new a(t.h,t.s,t.l,t.opacity);t instanceof s.b||(t=Object(s.h)(t));var e=t.r/255,n=t.g/255,r=t.b/255,o=(g*r+d*e-y*n)/(g+d-y),i=r-o,c=(h*(n-o)-f*i)/p,l=Math.sqrt(c*c+i*i)/(h*o*(1-o)),m=l?Math.atan2(c,i)*u.b-120:NaN;return new a(m<0?m+360:m,l,o,t.opacity)}function o(t,e,n,o){return 1===arguments.length?r(t):new a(t,e,n,null==o?1:o)}function a(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}e.a=o;var i=n(173),s=n(172),u=n(283),c=-.14861,l=1.78277,f=-.29227,p=-.90649,h=1.97294,d=h*p,y=h*l,g=l*f-p*c;Object(i.a)(a,o,Object(i.b)(s.a,{brighter:function(t){return t=null==t?s.c:Math.pow(s.c,t),new a(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?s.d:Math.pow(s.d,t),new a(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=isNaN(this.h)?0:(this.h+120)*u.a,e=+this.l,n=isNaN(this.s)?0:this.s*e*(1-e),r=Math.cos(t),o=Math.sin(t);return new s.b(255*(e+n*(c*r+l*o)),255*(e+n*(f*r+p*o)),255*(e+n*(h*r)),this.opacity)}}))},function(t,e,n){"use strict";e.a=function(t,e){return t=+t,e-=t,function(n){return Math.round(t+e*n)}}},function(t,e,n){"use strict";function r(t,e,n,r){function a(t){return t.length?t.pop()+" ":""}function i(t,r,a,i,s,u){if(t!==a||r!==i){var c=s.push("translate(",null,e,null,n);u.push({i:c-4,x:Object(o.a)(t,a)},{i:c-2,x:Object(o.a)(r,i)})}else(a||i)&&s.push("translate("+a+e+i+n)}function s(t,e,n,i){t!==e?(t-e>180?e+=360:e-t>180&&(t+=360),i.push({i:n.push(a(n)+"rotate(",null,r)-2,x:Object(o.a)(t,e)})):e&&n.push(a(n)+"rotate("+e+r)}function u(t,e,n,i){t!==e?i.push({i:n.push(a(n)+"skewX(",null,r)-2,x:Object(o.a)(t,e)}):e&&n.push(a(n)+"skewX("+e+r)}function c(t,e,n,r,i,s){if(t!==n||e!==r){var u=i.push(a(i)+"scale(",null,",",null,")");s.push({i:u-4,x:Object(o.a)(t,n)},{i:u-2,x:Object(o.a)(e,r)})}else 1===n&&1===r||i.push(a(i)+"scale("+n+","+r+")")}return function(e,n){var r=[],o=[];return e=t(e),n=t(n),i(e.translateX,e.translateY,n.translateX,n.translateY,r,o),s(e.rotate,n.rotate,r,o),u(e.skewX,n.skewX,r,o),c(e.scaleX,e.scaleY,n.scaleX,n.scaleY,r,o),e=n=null,function(t){for(var e,n=-1,a=o.length;++n<a;)r[(e=o[n]).i]=e.x(t);return r.join("")}}}var o=n(115),a=n(599);r(a.a,"px, ","px)","deg)"),r(a.b,", ",")",")")},function(t,e,n){"use strict";function r(t){return"none"===t?c.b:(a||(a=document.createElement("DIV"),i=document.documentElement,s=document.defaultView),a.style.transform=t,t=s.getComputedStyle(i.appendChild(a),null).getPropertyValue("transform"),i.removeChild(a),t=t.slice(7,-1).split(","),Object(c.a)(+t[0],+t[1],+t[2],+t[3],+t[4],+t[5]))}function o(t){return null==t?c.b:(u||(u=document.createElementNS("http://www.w3.org/2000/svg","g")),u.setAttribute("transform",t),(t=u.transform.baseVal.consolidate())?(t=t.matrix,Object(c.a)(t.a,t.b,t.c,t.d,t.e,t.f)):c.b)}e.a=r,e.b=o;var a,i,s,u,c=n(600)},function(t,e,n){"use strict";n.d(e,"b",function(){return o});var r=180/Math.PI,o={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};e.a=function(t,e,n,o,a,i){var s,u,c;return(s=Math.sqrt(t*t+e*e))&&(t/=s,e/=s),(c=t*n+e*o)&&(n-=t*c,o-=e*c),(u=Math.sqrt(n*n+o*o))&&(n/=u,o/=u,c/=u),t*o<e*n&&(t=-t,e=-e,c=-c,s=-s),{translateX:a,translateY:i,rotate:Math.atan2(e,t)*r,skewX:Math.atan(c)*r,scaleX:s,scaleY:u}}},function(t,e,n){"use strict";Math.SQRT2},function(t,e,n){"use strict";function r(t){return function(e,n){var r=t((e=Object(o.d)(e)).h,(n=Object(o.d)(n)).h),i=Object(a.a)(e.s,n.s),s=Object(a.a)(e.l,n.l),u=Object(a.a)(e.opacity,n.opacity);return function(t){return e.h=r(t),e.s=i(t),e.l=s(t),e.opacity=u(t),e+""}}}var o=n(38),a=n(80);r(a.c),r(a.a)},function(t,e,n){"use strict";n(38),n(80)},function(t,e,n){"use strict";function r(t){return function(e,n){var r=t((e=Object(o.c)(e)).h,(n=Object(o.c)(n)).h),i=Object(a.a)(e.c,n.c),s=Object(a.a)(e.l,n.l),u=Object(a.a)(e.opacity,n.opacity);return function(t){return e.h=r(t),e.c=i(t),e.l=s(t),e.opacity=u(t),e+""}}}var o=n(38),a=n(80);r(a.c),r(a.a)},function(t,e,n){"use strict";function r(t){return function e(n){function r(e,r){var i=t((e=Object(o.b)(e)).h,(r=Object(o.b)(r)).h),s=Object(a.a)(e.s,r.s),u=Object(a.a)(e.l,r.l),c=Object(a.a)(e.opacity,r.opacity);return function(t){return e.h=i(t),e.s=s(t),e.l=u(Math.pow(t,n)),e.opacity=c(t),e+""}}return n=+n,r.gamma=e,r}(1)}n.d(e,"a",function(){return i});var o=n(38),a=n(80),i=(r(a.c),r(a.a))},function(t,e,n){"use strict"},function(t,e,n){"use strict";var r=n(175);n.d(e,"a",function(){return r.b}),n.d(e,"b",function(){return r.c});n(608),n(609)},function(t,e,n){"use strict";n(175)},function(t,e,n){"use strict";n(175)},function(t,e,n){var r=n(34),o=n(82),a=n(60),i=o(function(t,e,n,o){r(e,a(e),t,o)});t.exports=i},function(t,e,n){function r(t){if(!o(t))return i(t);var e=a(t),n=[];for(var r in t)("constructor"!=r||!e&&u.call(t,r))&&n.push(r);return n}var o=n(14),a=n(76),i=n(612),s=Object.prototype,u=s.hasOwnProperty;t.exports=r},function(t,e){function n(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}t.exports=n},function(t,e,n){function r(t,e,n,r){return void 0===t||o(t,a[n])&&!i.call(r,n)?e:t}var o=n(41),a=Object.prototype,i=a.hasOwnProperty;t.exports=r},function(t,e,n){function r(t,e,n,S,j,D){var N,R=e&O,L=e&C,I=e&k;if(n&&(N=j?n(t,S,j,D):n(t)),void 0!==N)return N;if(!x(t))return t;var F=b(t);if(F){if(N=g(t),!R)return l(t,N)}else{var U=y(t),B=U==P||U==E;if(_(t))return c(t,R);if(U==A||U==M||B&&!j){if(N=L||B?{}:v(t),!R)return L?p(t,u(N,t)):f(t,s(N,t))}else{if(!T[U])return j?t:{};N=m(t,U,r,R)}}D||(D=new o);var V=D.get(t);if(V)return V;D.set(t,N);var W=I?L?d:h:L?keysIn:w,z=F?void 0:W(t);return a(z||t,function(o,a){z&&(a=o,o=t[a]),i(N,a,r(o,e,n,a,t,D))}),N}var o=n(104),a=n(292),i=n(116),s=n(615),u=n(616),c=n(293),l=n(118),f=n(617),p=n(618),h=n(266),d=n(295),y=n(111),g=n(619),m=n(620),v=n(297),b=n(13),_=n(74),x=n(14),w=n(15),O=1,C=2,k=4,M="[object Arguments]",P="[object Function]",E="[object GeneratorFunction]",A="[object Object]",T={};T[M]=T["[object Array]"]=T["[object ArrayBuffer]"]=T["[object DataView]"]=T["[object Boolean]"]=T["[object Date]"]=T["[object Float32Array]"]=T["[object Float64Array]"]=T["[object Int8Array]"]=T["[object Int16Array]"]=T["[object Int32Array]"]=T["[object Map]"]=T["[object Number]"]=T[A]=T["[object RegExp]"]=T["[object Set]"]=T["[object String]"]=T["[object Symbol]"]=T["[object Uint8Array]"]=T["[object Uint8ClampedArray]"]=T["[object Uint16Array]"]=T["[object Uint32Array]"]=!0,T["[object Error]"]=T[P]=T["[object WeakMap]"]=!1,t.exports=r},function(t,e,n){function r(t,e){return t&&o(e,a(e),t)}var o=n(34),a=n(15);t.exports=r},function(t,e,n){function r(t,e){return t&&o(e,a(e),t)}var o=n(34),a=n(60);t.exports=r},function(t,e,n){function r(t,e){return o(t,a(t),e)}var o=n(34),a=n(162);t.exports=r},function(t,e,n){function r(t,e){return o(t,a(t),e)}var o=n(34),a=n(294);t.exports=r},function(t,e){function n(t){var e=t.length,n=t.constructor(e);return e&&"string"==typeof t[0]&&o.call(t,"index")&&(n.index=t.index,n.input=t.input),n}var r=Object.prototype,o=r.hasOwnProperty;t.exports=n},function(t,e,n){function r(t,e,n,r){var T=t.constructor;switch(e){case b:return o(t);case f:case p:return new T(+t);case _:return a(t,r);case x:case w:case O:case C:case k:case M:case P:case E:case A:return l(t,r);case h:return i(t,r,n);case d:case m:return new T(t);case y:return s(t);case g:return u(t,r,n);case v:return c(t)}}var o=n(177),a=n(621),i=n(622),s=n(624),u=n(625),c=n(627),l=n(296),f="[object Boolean]",p="[object Date]",h="[object Map]",d="[object Number]",y="[object RegExp]",g="[object Set]",m="[object String]",v="[object Symbol]",b="[object ArrayBuffer]",_="[object DataView]",x="[object Float32Array]",w="[object Float64Array]",O="[object Int8Array]",C="[object Int16Array]",k="[object Int32Array]",M="[object Uint8Array]",P="[object Uint8ClampedArray]",E="[object Uint16Array]",A="[object Uint32Array]";t.exports=r},function(t,e,n){function r(t,e){var n=e?o(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}var o=n(177);t.exports=r},function(t,e,n){function r(t,e,n){var r=e?n(i(t),s):i(t);return a(r,o,new t.constructor)}var o=n(623),a=n(178),i=n(161),s=1;t.exports=r},function(t,e){function n(t,e){return t.set(e[0],e[1]),t}t.exports=n},function(t,e){function n(t){var e=new t.constructor(t.source,r.exec(t));return e.lastIndex=t.lastIndex,e}var r=/\w*$/;t.exports=n},function(t,e,n){function r(t,e,n){var r=e?n(i(t),s):i(t);return a(r,o,new t.constructor)}var o=n(626),a=n(178),i=n(109),s=1;t.exports=r},function(t,e){function n(t,e){return t.add(e),t}t.exports=n},function(t,e,n){function r(t){return i?Object(i.call(t)):{}}var o=n(55),a=o?o.prototype:void 0,i=a?a.valueOf:void 0;t.exports=r},function(t,e,n){function r(t,e){return e=o(e,t),null==(t=i(t,e))||delete t[s(a(e))]}var o=n(57),a=n(298),i=n(629),s=n(58);t.exports=r},function(t,e,n){function r(t,e){return e.length<2?t:o(t,a(e,0,-1))}var o=n(112),a=n(630);t.exports=r},function(t,e){function n(t,e,n){var r=-1,o=t.length;e<0&&(e=-e>o?0:o+e),n=n>o?o:n,n<0&&(n+=o),o=e>n?0:n-e>>>0,e>>>=0;for(var a=Array(o);++r<o;)a[r]=t[r+e];return a}t.exports=n},function(t,e,n){function r(t){return o(t)?void 0:t}var o=n(79);t.exports=r},function(t,e,n){var r=n(633),o=n(634),a=r(o);t.exports=a},function(t,e,n){function r(t){return function(e,n,r){var s=Object(e);if(!a(e)){var u=o(n,3);e=i(e),n=function(t){return u(s[t],t,s)}}var c=t(e,n,r);return c>-1?s[u?e[c]:c]:void 0}}var o=n(40),a=n(27),i=n(15);t.exports=r},function(t,e,n){function r(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var u=null==n?0:i(n);return u<0&&(u=s(r+u,0)),o(t,a(e,3),u)}var o=n(299),a=n(40),i=n(180),s=Math.max;t.exports=r},function(t,e,n){function r(t,e,n,r,v,b,_){var x=t[n],w=e[n],O=_.get(w);if(O)return void o(t,n,O);var C=b?b(x,w,n+"",t,e,_):void 0,k=void 0===C;if(k){var M=l(w),P=!M&&p(w),E=!M&&!P&&g(w);C=w,M||P||E?l(x)?C=x:f(x)?C=s(x):P?(k=!1,C=a(w,!0)):E?(k=!1,C=i(w,!0)):C=[]:y(w)||c(w)?(C=x,c(x)?C=m(x):(!d(x)||r&&h(x))&&(C=u(w))):k=!1}k&&(_.set(w,C),v(C,w,r,b,_),_.delete(w)),o(t,n,C)}var o=n(303),a=n(293),i=n(296),s=n(118),u=n(297),c=n(73),l=n(13),f=n(304),p=n(74),h=n(9),d=n(14),y=n(79),g=n(110),m=n(636);t.exports=r},function(t,e,n){function r(t){return o(t,a(t))}var o=n(34),a=n(60);t.exports=r},function(t,e,n){function r(t,e,n){var r=u(t)?o:s,c=arguments.length<3;return r(t,i(e,4),n,c,a)}var o=n(178),a=n(113),i=n(40),s=n(638),u=n(13);t.exports=r},function(t,e){function n(t,e,n,r,o){return o(t,function(t,o,a){n=r?(r=!1,t):e(n,t,o,a)}),n}t.exports=n},function(t,e,n){function r(t,e){return o(t,e,function(e,n){return a(t,n)})}var o=n(640),a=n(277);t.exports=r},function(t,e,n){function r(t,e,n){for(var r=-1,s=e.length,u={};++r<s;){var c=e[r],l=o(t,c);n(l,c)&&a(u,i(c,t),l)}return u}var o=n(112),a=n(641),i=n(57);t.exports=r},function(t,e,n){function r(t,e,n,r){if(!s(t))return t;e=a(e,t);for(var c=-1,l=e.length,f=l-1,p=t;null!=p&&++c<l;){var h=u(e[c]),d=n;if(c!=f){var y=p[h];d=r?r(y,h,p):void 0,void 0===d&&(d=s(y)?y:i(e[c+1])?[]:{})}o(p,h,d),p=p[h]}return t}var o=n(116),a=n(57),i=n(75),s=n(14),u=n(58);t.exports=r},function(t,e,n){"use strict";function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var s=n(643),u=n.n(s),c=n(5),l=n.n(c),f=n(20),p=n.n(f),h=n(9),d=n.n(h),y=n(4),g=n.n(y),m=n(0),v=n.n(m),b=n(1),_=n.n(b),x=n(30),w=n(193),O=n(8),C=n(81),k=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),M=function(t){function e(){o(this,e);var t=a(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return t.state=t.state||{},t.getScopedEvents=w.a.getScopedEvents.bind(t),t.getEventState=w.a.getEventState.bind(t),t.getTimer=t.getTimer.bind(t),t}return i(e,t),k(e,[{key:"getChildContext",value:function(){return{getTimer:this.getTimer}}},{key:"componentWillMount",value:function(){this.setUpChildren(this.props)}},{key:"componentWillReceiveProps",value:function(t){this.setUpChildren(t)}},{key:"getTimer",value:function(){return this.context.getTimer?this.context.getTimer():(this.timer||(this.timer=new C.a),this.timer)}},{key:"getAllEvents",value:function(t){var e=["container","groupComponent"];if(this.componentEvents=w.a.getComponentEvents(t,e),Array.isArray(this.componentEvents)){var n;return Array.isArray(t.events)?(n=this.componentEvents).concat.apply(n,r(t.events)):this.componentEvents}return t.events}},{key:"setUpChildren",value:function(t){if(this.events=this.getAllEvents(t),this.events){this.childComponents=v.a.Children.toArray(t.children);var e=this.getBasePropsFromChildren(this.childComponents),n=t.container?t.container.props:{};this.baseProps=g()({},e,{parent:n})}}},{key:"getBasePropsFromChildren",value:function(t){var e=function(t,e,n){if(t.type&&d()(t.type.getBaseProps)){t=n?v.a.cloneElement(t,n.props):t;var r=t.props&&t.type.getBaseProps(t.props);return r?[[e,r]]:null}return null},n=O.a.reduceChildren(t,e);return u()(n)}},{key:"getNewChildren",value:function(t){var e=this,n=t.events,r=t.eventKey,o=Object.keys(this.baseProps),a=function(t){return t.reduce(function(t,i,s){if(i.props.children)return t.concat(v.a.cloneElement(i,i.props,a(v.a.Children.toArray(i.props.children))));if(i.type&&d()(i.type.getBaseProps)){var u=i.props.name||o.shift()||s,c=Array.isArray(n)&&n.filter(function(t){return"parent"!==t.target&&(Array.isArray(t.childName)?t.childName.indexOf(u)>-1:t.childName===u||"all"===t.childName)}),l={events:c,getEvents:p()(e.getScopedEvents,u,e.baseProps),getEventState:p()(e.getEventState,u)};return t.concat(v.a.cloneElement(i,g()({key:"events-"+u,sharedEvents:l,eventKey:r},i.props)))}return t.concat(i)},[])};return a(this.childComponents)}},{key:"getContainer",value:function(t,e){var n=Array.isArray(this.events)&&this.events.filter(function(t){return"parent"===t.target}),r=n.length>0?{events:n,getEvents:p()(this.getScopedEvents,null,this.baseProps),getEventState:p()(this.getEventState,null)}:null,o=this.props.container||this.props.groupComponent,a=o.type&&o.type.role,i=o.props||{},s=w.a.getEvents.bind(this),u=r&&s({sharedEvents:r},"parent"),c=l()({},this.getEventState("parent","parent"),i,this.baseProps.parent,{children:e}),f=l()({},w.a.getPartialEvents(u,"parent",c),i.events);return"container"===a?v.a.cloneElement(o,g()({},c,{events:f})):v.a.cloneElement(o,f,e)}},{key:"render",value:function(){if(this.events){var t=this.getNewChildren(this.props);return this.getContainer(this.props,t)}return v.a.cloneElement(this.props.container,{children:this.props.children})}}]),e}(v.a.Component);M.displayName="VictorySharedEvents",M.role="shared-event-wrapper",M.propTypes={children:_.a.oneOfType([_.a.arrayOf(_.a.node),_.a.node]),container:_.a.node,eventKey:_.a.oneOfType([_.a.array,_.a.func,x.a.allOfType([x.a.integer,x.a.nonNegative]),_.a.string]),events:_.a.arrayOf(_.a.shape({childName:_.a.oneOfType([_.a.string,_.a.array]),eventHandlers:_.a.object,eventKey:_.a.oneOfType([_.a.array,_.a.func,x.a.allOfType([x.a.integer,x.a.nonNegative]),_.a.string]),target:_.a.string})),groupComponent:_.a.node},M.defaultProps={groupComponent:v.a.createElement("g",null)},M.contextTypes={getTimer:_.a.func},M.childContextTypes={getTimer:_.a.func},e.a=M},function(t,e){function n(t){for(var e=-1,n=null==t?0:t.length,r={};++e<n;){var o=t[e];r[o[0]]=o[1]}return r}t.exports=n},function(t,e,n){function r(t,e,n){function r(){return(this&&this!==a&&this instanceof r?u:t).apply(s?n:this,arguments)}var s=e&i,u=o(t);return r}var o=n(122),a=n(17),i=1;t.exports=r},function(t,e,n){function r(t,e,n){function r(){for(var a=arguments.length,p=Array(a),h=a,d=u(r);h--;)p[h]=arguments[h];var y=a<3&&p[0]!==d&&p[a-1]!==d?[]:c(p,d);return(a-=y.length)<n?s(t,e,i,r.placeholder,void 0,p,y,void 0,void 0,n-a):o(this&&this!==l&&this instanceof r?f:t,this,p)}var f=a(t);return r}var o=n(78),a=n(122),i=n(311),s=n(314),u=n(123),c=n(83),l=n(17);t.exports=r},function(t,e){function n(t,e){for(var n=t.length,r=0;n--;)t[n]===e&&++r;return r}t.exports=n},function(t,e){var n={};t.exports=n},function(t,e,n){function r(t){if(u(t)&&!s(t)&&!(t instanceof o)){if(t instanceof a)return t;if(f.call(t,"__wrapped__"))return c(t)}return new a(t)}var o=n(188),a=n(191),i=n(189),s=n(13),u=n(26),c=n(649),l=Object.prototype,f=l.hasOwnProperty;r.prototype=i.prototype,r.prototype.constructor=r,t.exports=r},function(t,e,n){function r(t){if(t instanceof o)return t.clone();var e=new a(t.__wrapped__,t.__chain__);return e.__actions__=i(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}var o=n(188),a=n(191),i=n(118);t.exports=r},function(t,e){function n(t){var e=t.match(r);return e?e[1].split(o):[]}var r=/\{\n\/\* \[wrapped with (.+)\] \*/,o=/,? & /;t.exports=n},function(t,e){function n(t,e){var n=e.length;if(!n)return t;var o=n-1;return e[o]=(n>1?"& ":"")+e[o],e=e.join(n>2?", ":" "),t.replace(r,"{\n/* [wrapped with "+e+"] */\n")}var r=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;t.exports=n},function(t,e,n){function r(t,e){return o(i,function(n){var r="_."+n[0];e&n[1]&&!a(t,r)&&t.push(r)}),t.sort()}var o=n(292),a=n(192),i=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]];t.exports=r},function(t,e){function n(t){return t!==t}t.exports=n},function(t,e){function n(t,e,n){for(var r=n-1,o=t.length;++r<o;)if(t[r]===e)return r;return-1}t.exports=n},function(t,e,n){function r(t,e){for(var n=t.length,r=i(e.length,n),s=o(t);r--;){var u=e[r];t[r]=a(u,n)?s[u]:void 0}return t}var o=n(118),a=n(75),i=Math.min;t.exports=r},function(t,e,n){function r(t,e,n,r){function u(){for(var e=-1,a=arguments.length,s=-1,f=r.length,p=Array(f+a),h=this&&this!==i&&this instanceof u?l:t;++s<f;)p[s]=r[s];for(;a--;)p[s++]=arguments[++e];return o(h,c?n:this,p)}var c=e&s,l=a(t);return u}var o=n(78),a=n(122),i=n(17),s=1;t.exports=r},function(t,e,n){function r(t,e){var n=t[1],r=e[1],y=n|r,g=y<(u|c|p),m=r==p&&n==f||r==p&&n==h&&t[7].length<=e[8]||r==(p|h)&&e[7].length<=e[8]&&n==f;if(!g&&!m)return t;r&u&&(t[2]=e[2],y|=n&u?0:l);var v=e[3];if(v){var b=t[3];t[3]=b?o(b,v,e[4]):v,t[4]=b?i(t[3],s):e[4]}return v=e[5],v&&(b=t[5],t[5]=b?a(b,v,e[6]):v,t[6]=b?i(t[5],s):e[6]),v=e[7],v&&(t[7]=v),r&p&&(t[8]=null==t[8]?e[8]:d(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=y,t}var o=n(312),a=n(313),i=n(83),s="__lodash_placeholder__",u=1,c=2,l=4,f=8,p=128,h=256,d=Math.min;t.exports=r},function(t,e,n){function r(t,e,n,r){var f=-1,p=a,h=!0,d=t.length,y=[],g=e.length;if(!d)return y;n&&(e=s(e,u(n))),r?(p=i,h=!1):e.length>=l&&(p=c,h=!1,e=new o(e));t:for(;++f<d;){var m=t[f],v=null==n?m:n(m);if(m=r||0!==m?m:0,h&&v===v){for(var b=g;b--;)if(e[b]===v)continue t;y.push(m)}else p(e,v,r)||y.push(m)}return y}var o=n(159),a=n(192),i=n(321),s=n(56),u=n(164),c=n(160),l=200;t.exports=r},function(t,e,n){var r=n(43),o=n(308),a=n(123),i=n(83),s=r(function(t,e){var n=i(e,a(s));return o(t,32,void 0,e,n)});s.placeholder={},t.exports=s},function(t,e,n){t.exports=n(661)},function(t,e,n){var r=n(34),o=n(82),a=n(60),i=o(function(t,e){r(e,a(e),t)});t.exports=i},function(t,e,n){"use strict";function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var s=n(176),u=n.n(s),c=n(14),l=n.n(c),f=n(9),p=n.n(f),h=n(5),d=n.n(h),y=n(4),g=n.n(y),m=n(0),v=n.n(m),b=n(1),_=n.n(b),x=n(30),w=n(322),O=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},C=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),k=function(t){function e(t){o(this,e);var n=a(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.clipId=l()(t)&&void 0!==t.clipId?t.clipId:u()("victory-clip-"),n}return i(e,t),C(e,[{key:"renderClippedGroup",value:function(t,e){var n=t.style,r=t.events,o=t.transform,a=t.children,i=t.className,s=this.renderClipComponent(t,e);return v.a.createElement("g",O({className:i,style:n},r,{transform:o}),s,v.a.createElement("g",{clipPath:"url(#"+e+")"},a))}},{key:"renderGroup",value:function(t){var e=t.style,n=t.events,r=t.transform,o=t.children,a=t.className;return v.a.createElement("g",O({className:a,style:e},n,{transform:r}),o)}},{key:"renderClipComponent",value:function(t,e){return v.a.cloneElement(t.clipPathComponent,g()({},t,{clipId:e}))}},{key:"getClipValue",value:function(t,e){var n={x:t.clipWidth,y:t.clipHeight};if(void 0!==n[e])return n[e];var r=this.getRange(t,e);return r?Math.abs(r[0]-r[1])||void 0:void 0}},{key:"getTranslateValue",value:function(t,e){var n={x:t.translateX,y:t.translateY};if(void 0!==n[e])return n[e];var o=this.getRange(t,e);return o?Math.min.apply(Math,r(o)):void 0}},{key:"getRange",value:function(t,e){var n=t.scale||{};if(n[e])return p()(n[e].range)?n[e].range():void 0}},{key:"render",value:function(){var t=this.getClipValue(this.props,"y"),e=this.getClipValue(this.props,"x");if(void 0===e||void 0===t)return this.renderGroup(this.props);var n=this.getTranslateValue(this.props,"x"),r=this.getTranslateValue(this.props,"y"),o=d()({},this.props,{clipHeight:t,clipWidth:e,translateX:n,translateY:r});return this.renderClippedGroup(o,this.clipId)}}]),e}(v.a.Component);k.displayName="VictoryClipContainer",k.role="container",k.propTypes={children:_.a.oneOfType([_.a.arrayOf(_.a.node),_.a.node]),className:_.a.string,clipHeight:x.a.nonNegative,clipId:_.a.number,clipPadding:_.a.shape({top:_.a.number,bottom:_.a.number,left:_.a.number,right:_.a.number}),clipPathComponent:_.a.element,clipWidth:x.a.nonNegative,events:_.a.object,origin:_.a.shape({x:x.a.nonNegative,y:x.a.nonNegative}),polar:_.a.bool,radius:x.a.nonNegative,style:_.a.object,transform:_.a.string,translateX:_.a.number,translateY:_.a.number},k.defaultProps={clipPathComponent:v.a.createElement(w.a,null)},e.a=k},function(t,e,n){"use strict";var r=n(4),o=n.n(r),a=["#F4511E","#FFF59D","#DCE775","#8BC34A","#00796B","#006064"],i={width:350,height:350,padding:50},s={fontFamily:"'Roboto', 'Helvetica Neue', Helvetica, sans-serif",fontSize:12,letterSpacing:"normal",padding:8,fill:"#455A64",stroke:"transparent",strokeWidth:0},u=o()({textAnchor:"middle"},s);e.a={area:o()({style:{data:{fill:"#212121"},labels:u}},i),axis:o()({style:{axis:{fill:"transparent",stroke:"#90A4AE",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},axisLabel:o()({},u,{padding:8,stroke:"transparent"}),grid:{fill:"none",stroke:"#ECEFF1",strokeDasharray:"10, 5",strokeLinecap:"round",strokeLinejoin:"round",pointerEvents:"visible"},ticks:{fill:"transparent",size:5,stroke:"#90A4AE",strokeWidth:1,strokeLinecap:"round",strokeLinejoin:"round"},tickLabels:o()({},s,{fill:"#455A64"})}},i),bar:o()({style:{data:{fill:"#455A64",padding:8,strokeWidth:0},labels:s}},i),candlestick:o()({style:{data:{stroke:"#455A64"},labels:u},candleColors:{positive:"#ffffff",negative:"#455A64"}},i),chart:i,errorbar:o()({borderWidth:8,style:{data:{fill:"transparent",opacity:1,stroke:"#455A64",strokeWidth:2},labels:u}},i),group:o()({colorScale:a},i),line:o()({style:{data:{fill:"transparent",opacity:1,stroke:"#455A64",strokeWidth:2},labels:u}},i),pie:o()({colorScale:a,style:{data:{padding:8,stroke:"#ECEFF1",strokeWidth:1},labels:o()({},s,{padding:20})}},i),scatter:o()({style:{data:{fill:"#455A64",opacity:1,stroke:"transparent",strokeWidth:0},labels:u}},i),stack:o()({colorScale:a},i),tooltip:{style:o()({},u,{padding:5,pointerEvents:"none"}),flyoutStyle:{stroke:"#212121",strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"},cornerRadius:5,pointerLength:10},voronoi:o()({style:{data:{fill:"transparent",stroke:"transparent",strokeWidth:0},labels:o()({},u,{padding:5,pointerEvents:"none"}),flyout:{stroke:"#212121",strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"}}},i),legend:{colorScale:a,gutter:10,orientation:"vertical",titleOrientation:"top",style:{data:{type:"circle"},labels:s,title:o()({},s,{padding:5})}}}},function(t,e,n){"use strict";var r=n(4),o=n.n(r),a=["#252525","#525252","#737373","#969696","#bdbdbd","#d9d9d9","#f0f0f0"],i={width:450,height:300,padding:50,colorScale:a},s={fontFamily:"'Gill Sans', 'Gill Sans MT', 'Ser­avek', 'Trebuchet MS', sans-serif",fontSize:14,letterSpacing:"normal",padding:10,fill:"#252525",stroke:"transparent"},u=o()({textAnchor:"middle"},s);e.a={area:o()({style:{data:{fill:"#252525"},labels:u}},i),axis:o()({style:{axis:{fill:"transparent",stroke:"#252525",strokeWidth:1,strokeLinecap:"round",strokeLinejoin:"round"},axisLabel:o()({},u,{padding:25}),grid:{fill:"none",stroke:"none",pointerEvents:"visible"},ticks:{fill:"transparent",size:1,stroke:"transparent"},tickLabels:s}},i),bar:o()({style:{data:{fill:"#252525",padding:8,strokeWidth:0},labels:s}},i),candlestick:o()({style:{data:{stroke:"#252525",strokeWidth:1},labels:u},candleColors:{positive:"#ffffff",negative:"#252525"}},i),chart:i,errorbar:o()({borderWidth:8,style:{data:{fill:"transparent",stroke:"#252525",strokeWidth:2},labels:u}},i),group:o()({colorScale:a},i),line:o()({style:{data:{fill:"transparent",stroke:"#252525",strokeWidth:2},labels:u}},i),pie:{style:{data:{padding:10,stroke:"transparent",strokeWidth:1},labels:o()({},s,{padding:20})},colorScale:a,width:400,height:400,padding:50},scatter:o()({style:{data:{fill:"#252525",stroke:"transparent",strokeWidth:0},labels:u}},i),stack:o()({colorScale:a},i),tooltip:{style:o()({},u,{padding:5,pointerEvents:"none"}),flyoutStyle:{stroke:"#252525",strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"},cornerRadius:5,pointerLength:10},voronoi:o()({style:{data:{fill:"transparent",stroke:"transparent",strokeWidth:0},labels:o()({},u,{padding:5,pointerEvents:"none"}),flyout:{stroke:"#252525",strokeWidth:1,fill:"#f0f0f0",pointerEvents:"none"}}},i),legend:{colorScale:a,gutter:10,orientation:"vertical",titleOrientation:"top",style:{data:{type:"circle"},labels:s,title:o()({},s,{padding:5})}}}},function(t,e,n){"use strict";function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var s=n(20),u=n.n(s),c=n(0),l=n.n(c),f=n(1),p=n.n(f),h=n(666),d=n(30),y=n(323),g=n(8),m=n(181),v=n(291),b=n(194),_=n(324),x=n(325),w=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),O={orientation:"vertical",width:450,height:300,x:0,y:0},C=[{name:"Series 1"},{name:"Series 2"}],k=function(t){function e(){return o(this,e),a(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),w(e,[{key:"renderChildren",value:function(t){var e=this,n=t.dataComponent,o=t.labelComponent,a=t.title,i=this.dataKeys.map(function(t,r){var o=e.getComponentProps(n,"data",r);return l.a.cloneElement(n,o)}),s=this.dataKeys.map(function(t,n){var r=e.getComponentProps(o,"labels",n);if(void 0!==r.text&&null!==r.text)return l.a.cloneElement(o,r)}).filter(Boolean),u=this.getComponentProps(t.borderComponent,"border",0),c=l.a.cloneElement(t.borderComponent,u);if(a){var f=this.getComponentProps(t.title,"title",0),p=l.a.cloneElement(t.titleComponent,f);return[c].concat(r(i),[p],r(s))}return[c].concat(r(i),r(s))}},{key:"render",value:function(){var t=this.constructor.role,e=g.a.modifyProps(this.props,O,t),n=[this.renderChildren(e)];return e.standalone?this.renderContainer(e.containerComponent,n):l.a.cloneElement(e.groupComponent,{},n)}}]),e}(l.a.Component);k.displayName="VictoryLegend",k.role="legend",k.propTypes={borderComponent:p.a.element,borderPadding:p.a.oneOfType([p.a.number,p.a.shape({top:p.a.number,bottom:p.a.number,left:p.a.number,right:p.a.number})]),centerTitle:p.a.bool,colorScale:p.a.oneOfType([p.a.arrayOf(p.a.string),p.a.oneOf(["grayscale","qualitative","heatmap","warm","cool","red","green","blue"])]),containerComponent:p.a.element,data:p.a.arrayOf(p.a.shape({name:p.a.string.isRequired,label:p.a.object,symbol:p.a.object})),dataComponent:p.a.element,eventKey:p.a.oneOfType([p.a.func,d.a.allOfType([d.a.integer,d.a.nonNegative]),p.a.string]),events:p.a.arrayOf(p.a.shape({target:p.a.oneOf(["data","labels","parent"]),eventKey:p.a.oneOfType([p.a.array,d.a.allOfType([d.a.integer,d.a.nonNegative]),p.a.string]),eventHandlers:p.a.object})),groupComponent:p.a.element,gutter:d.a.nonNegative,height:d.a.nonNegative,itemsPerRow:d.a.nonNegative,labelComponent:p.a.element,orientation:p.a.oneOf(["horizontal","vertical"]),padding:p.a.oneOfType([p.a.number,p.a.shape({top:p.a.number,bottom:p.a.number,left:p.a.number,right:p.a.number})]),sharedEvents:p.a.shape({events:p.a.array,getEventState:p.a.func}),standalone:p.a.bool,style:p.a.shape({border:p.a.object,data:p.a.object,labels:p.a.object,parent:p.a.object,title:p.a.object}),symbolSpacer:p.a.number,theme:p.a.object,title:p.a.oneOfType([p.a.string,p.a.array]),titleComponent:p.a.element,titleOrientation:p.a.oneOf(["top","bottom","left","right"]),width:d.a.nonNegative,x:d.a.nonNegative,y:d.a.nonNegative},k.defaultProps={borderComponent:l.a.createElement(x.a,null),data:C,containerComponent:l.a.createElement(v.a,null),dataComponent:l.a.createElement(_.a,null),groupComponent:l.a.createElement("g",null),labelComponent:l.a.createElement(m.a,null),standalone:!0,theme:b.a.grayscale,titleComponent:l.a.createElement(m.a,null)},k.getBaseProps=u()(h.a,O),k.expectedComponents=["borderComponent","containerComponent","dataComponent","groupComponent","labelComponent","titleComponent"],e.a=Object(y.a)(k)},function(t,e,n){"use strict";function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}var o=n(125),a=n.n(o),i=n(669),s=n.n(i),u=n(15),c=n.n(u),l=n(195),f=n.n(l),p=n(4),h=n.n(p),d=n(5),y=n.n(d),g=n(8),m=n(187),v=n(196),b=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},_=function(t){var e=t.colorScale;return"string"==typeof e?m.a.getColorScale(e):e||[]},x=function(t){var e=t.data,n=t.style;return e.map(function(t){var e=y()({},t.labels,n.labels);return g.a.evaluateStyle(e,t)})},w=function(t,e){var n=t.style||{};e=e||{};var r={height:"100%",width:"100%"};return{parent:y()(n.parent,e.parent,r),data:y()({},n.data,e.data),labels:y()({},n.labels,e.labels),border:y()({},n.border,e.border),title:y()({},n.title,e.title)}},O=function(t){var e=t.orientation,n=t.theme,r=n&&n.legend&&n.legend.style?n.legend.style:{},o=w(t,r),a=_(t),i="horizontal"===e,s=g.a.formatPadding(t.borderPadding);return h()({},t,{style:o,isHorizontal:i,colorScale:a,borderPadding:s})},C=function(t,e){var n=t.itemsPerRow,r=t.isHorizontal;return n?r?e%n:Math.floor(e/n):r?e:0},k=function(t,e){var n=t.itemsPerRow,r=t.isHorizontal;return n?r?Math.floor(e/n):e%n:r?0:e},M=function(t){var e=t.data,n=t.style&&t.style.data||{},r=x(t);return e.map(function(e,o){var a=e.symbol||{},i=r[o].fontSize,s=a.size||n.size||i/2.5,u=t.symbolSpacer||Math.max(s,i);return b({},e,{size:s,symbolSpacer:u,fontSize:i,textSize:v.a.approximateTextSize(e.name,r[o]),column:C(t,o),row:k(t,o)})})},P=function(t,e){var n=f()(e,"column");return c()(n).reduce(function(e,o,a){var i=n[o].map(function(e){return e.textSize.width+t.gutter+e.size+e.symbolSpacer});return e[a]=Math.max.apply(Math,r(i)),e},[])},E=function(t,e){var n=f()(e,"row");return c()(n).reduce(function(t,e,o){var a=n[e],i=a.map(function(t){return t.textSize.height+t.symbolSpacer});return t[o]=Math.max.apply(Math,r(i)),t},[])},A=function(t){var e=t.style&&t.style.title||{},n=v.a.approximateTextSize(t.title,e),r=e.padding||0;return{height:n.height+2*r||0,width:n.width+2*r||0}},T=function(t,e,n){var r=t.column,o=t.row;return{x:a()(r).reduce(function(t,e){return t+=n[e]},0),y:a()(o).reduce(function(t,n){return t+=e[n]},0)}},S=function(t,e){var n={textAnchor:"right"===t?"end":"start",verticalAnchor:"bottom"===t?"end":"start"};if(e){var r="top"===t||"bottom"===t;return{textAnchor:r?"middle":n.textAnchor,verticalAnchor:r?n.verticalAnchor:"middle"}}return n},j=function(t){var e=t.titleOrientation,n=t.centerTitle,r=t.titleComponent,o=t.style&&t.style.title||{},a=r.props&&r.props.style||{},i=S(e,n);return Array.isArray(a)?a.map(function(t){return y()({},t,o,i)}):y()({},a,o,i)},D=function(t,e){var n=t.title,r=t.titleOrientation,o=t.centerTitle,a=t.borderPadding,i=e.height,s=e.width,u=j(t),c=Array.isArray(u)?u[0].padding:u.padding,l="top"===r||"bottom"===r,f="bottom"===r?"bottom":"top",p="right"===r?"right":"left",h={x:o?s/2:a[f]+(c||0),y:o?i/2:a[p]+(c||0)},d=function(){return a[r]+(c||0)},y=l?h.x:d(),g=l?d():h.y;return{x:"right"===r?t.x+s-y:t.x+y,y:"bottom"===r?t.y+i-g:t.y+g,style:u,text:n}},N=function(t,e,n){var r=t.x,o=t.y,a=t.borderPadding,i=t.style;return{x:r,y:o,height:e+a.top+a.bottom,width:n+a.left+a.right,style:i.border}};e.a=function(t,e){var n=g.a.modifyProps(t,e,"legend");t=h()({},n,O(n));var r=t,o=r.data,a=r.standalone,i=r.theme,u=r.padding,c=r.style,l=r.colorScale,f=r.borderPadding,p=r.title,d=r.titleOrientation,m=r.x,v=void 0===m?0:m,b=r.y,_=void 0===b?0:b,w=M(t),C=P(t,w),k=E(0,w),S=x(t),j=p?A(t):{height:0,width:0},R={x:"left"===d?j.width:0,y:"top"===d?j.height:0},L="left"===d||"right"===d?Math.max(s()(k),j.height):s()(k)+j.height,I="left"===d||"right"===d?s()(C)+j.width:Math.max(s()(C),j.width),F={parent:{data:o,standalone:a,theme:i,padding:u,height:t.height,width:t.width,style:c.parent}},U=N(t,L,I),B=D(t,U);return w.reduce(function(t,e,n){var r=l[n%l.length],a=y()({},e.symbol,c.data,{fill:r}),i=e.eventKey||n,s=T(e,k,C),u=_+f.top+e.symbolSpacer,p=v+f.left+e.symbolSpacer,h={index:n,data:o,datum:e,key:"legend-symbol-"+n,symbol:a.type||a.symbol||"circle",size:e.size,style:a,y:u+s.y+R.y,x:p+s.x+R.x},d={datum:e,data:o,key:"legend-label-"+n,text:e.name,style:S[n],y:u+s.y+R.y,x:p+s.x+R.x+e.symbolSpacer+e.size/2};return t[i]=0===i?{data:h,labels:d,border:U,title:B}:{data:h,labels:d},t},F)}},function(t,e,n){function r(t){return function(e,n,r){return r&&"number"!=typeof r&&a(e,n,r)&&(n=r=void 0),e=i(e),void 0===n?(n=e,e=0):n=i(n),r=void 0===r?e<n?1:-1:i(r),o(e,n,r,t)}}var o=n(668),a=n(114),i=n(300);t.exports=r},function(t,e){function n(t,e,n,a){for(var i=-1,s=o(r((e-t)/(n||1)),0),u=Array(s);s--;)u[a?s:++i]=t,t+=n;return u}var r=Math.ceil,o=Math.max;t.exports=n},function(t,e,n){function r(t){return t&&t.length?o(t,a):0}var o=n(670),a=n(28);t.exports=r},function(t,e){function n(t,e){for(var n,r=-1,o=t.length;++r<o;){var a=e(t[r]);void 0!==a&&(n=void 0===n?a:n+a)}return n}t.exports=n},function(t,e,n){function r(t,e){return function(n,r){var u=s(n)?o:a,c=e?e():{};return u(n,t,i(r,2),c)}}var o=n(672),a=n(673),i=n(40),s=n(13);t.exports=r},function(t,e){function n(t,e,n,r){for(var o=-1,a=null==t?0:t.length;++o<a;){var i=t[o];e(r,i,n(i),t)}return r}t.exports=n},function(t,e,n){function r(t,e,n,r){return o(t,function(t,o,a){e(r,t,n(t),a)}),r}var o=n(113);t.exports=r},function(t,e,n){"use strict";var r=n(125),o=n.n(r);e.a={circle:function(t,e,n){return t=Math.round(t),e=Math.round(e),"M "+t+", "+e+"\n      m "+-n+", 0\n      a "+n+", "+n+" 0 1,0 "+2*n+",0\n      a "+n+", "+n+" 0 1,0 "+2*-n+",0"},square:function(t,e,n){t=Math.round(t),e=Math.round(e);var r=.87*n,o=t-r,a=e+r,i=Math.floor(t+r-o);return"M "+o+", "+a+"\n      h"+i+"\n      v-"+i+"\n      h-"+i+"\n      z"},diamond:function(t,e,n){t=Math.round(t),e=Math.round(e);var r=.87*n,o=Math.sqrt(r*r*2);return"M "+t+", "+(e+o)+"\n      l "+o+", -"+o+"\n      l -"+o+", -"+o+"\n      l -"+o+", "+o+"\n      l "+o+", "+o+"\n      z"},triangleDown:function(t,e,n){t=Math.round(t),e=Math.round(e);var r=n/2*Math.sqrt(3),o=t-n,a=t+n,i=e-n;return"M "+o+", "+i+"\n      L "+a+", "+i+"\n      L "+t+", "+(e+r)+"\n      z"},triangleUp:function(t,e,n){t=Math.round(t),e=Math.round(e);var r=n/2*Math.sqrt(3),o=t-n,a=t+n,i=e-r,s=e+n;return"M "+o+", "+s+"\n      L "+a+", "+s+"\n      L "+t+", "+i+"\n      z"},plus:function(t,e,n){t=Math.round(t),e=Math.round(e);var r=1.1*n,o=r/1.5;return"\n      M "+(t-o/2)+", "+(e+r)+"\n      v-"+o+"\n      h-"+o+"\n      v-"+o+"\n      h"+o+"\n      v-"+o+"\n      h"+o+"\n      v"+o+"\n      h"+o+"\n      v"+o+"\n      h-"+o+"\n      v"+o+"\n      z"},star:function(t,e,n){t=Math.round(t),e=Math.round(e);var r=Math.round(1.35*n),a=Math.PI/5;return"M "+o()(10).map(function(n){var o=n%2==0?r:r/2;return o*Math.sin(a*(n+1))+t+",\n        "+(o*Math.cos(a*(n+1))+e)}).join("L")+" z"}}},function(t,e,n){"use strict";function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var s=n(5),u=n.n(s),c=n(4),l=n.n(c),f=n(0),p=n.n(f),h=n(1),d=n.n(h),y=n(30),g=n(196),m=n(8),v=n(11),b=n(186),_=n(181),x=n(194),w=n(326),O=n(184),C=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),k={cornerRadius:5,pointerLength:10,pointerWidth:10},M=function(t){function e(){return o(this,e),a(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),C(e,[{key:"shouldComponentUpdate",value:function(t){return!v.a.areVictoryPropsEqual(this.props,t)}},{key:"getDefaultOrientation",value:function(t){var e=t.datum,n=t.horizontal;if(t.polar)return this.getPolarOrientation(t,e);var r=n?"right":"top",o=n?"left":"bottom";return e&&e.y<0?o:r}},{key:"getPolarOrientation",value:function(t,e){var n=b.a.getDegrees(t,e),r=t.labelPlacement||"vertical";return" vertical"===r?this.getVerticalOrientations(n):"parallel"===r?n<90||n>270?"right":"left":n>180?"bottom":"top"}},{key:"getVerticalOrientations",value:function(t){return t<45||t>315?"right":t>=45&&t<=135?"top":t>135&&t<225?"left":"bottom"}},{key:"getEvaluatedProps",value:function(t){var e=t.horizontal,n=t.datum,r=t.pointerLength,o=t.pointerWidth,a=t.cornerRadius,i=t.width,s=t.height,u=t.dx,c=t.dy,f=t.text,p=t.active,h=Array.isArray(t.style)?t.style.map(function(t){return m.a.evaluateStyle(t,n,p)}):m.a.evaluateStyle(t.style,n,p),d=m.a.evaluateStyle(t.flyoutStyle,n,p),y=d&&d.padding||0,g=e?y:0,v=e?0:y,b=m.a.evaluateProp(t.orientation,n,p)||this.getDefaultOrientation(t);return l()({},t,{style:h,flyoutStyle:d,orientation:b,dx:void 0!==u?m.a.evaluateProp(u,n,p):g,dy:void 0!==c?m.a.evaluateProp(c,n,p):v,cornerRadius:m.a.evaluateProp(a,n,p),pointerLength:m.a.evaluateProp(r,n,p),pointerWidth:m.a.evaluateProp(o,n,p),width:m.a.evaluateProp(i,n,p),height:m.a.evaluateProp(s,n,p),active:m.a.evaluateProp(p,n,p),text:m.a.evaluateProp(f,n,p)})}},{key:"getCalculatedValues",value:function(t){var e=t.style,n=t.text,r=t.datum,o=t.active,a=t.theme||x.a.grayscale,i=a&&a.tooltip&&a.tooltip.style?a.tooltip.style:{},s=Array.isArray(e)?e.map(function(t){return u()({},t,i)}):u()({},e,i),c=a&&a.tooltip&&a.tooltip.flyoutStyle?a.tooltip.flyoutStyle:{},l=t.flyoutStyle?u()({},t.flyoutStyle,c):c,f=Array.isArray(s)?s.map(function(t){return m.a.evaluateStyle(t,r,o)}):m.a.evaluateStyle(s,r,o),p=g.a.approximateTextSize(n,f),h=this.getDimensions(t,p,f);return{labelStyle:f,flyoutStyle:l,labelSize:p,flyoutDimensions:h,flyoutCenter:this.getFlyoutCenter(t,h),transform:this.getTransform(t)}}},{key:"getTransform",value:function(t){var e=t.x,n=t.y,r=t.style,o=r||{},a=o.angle||t.angle||this.getDefaultAngle(t);return a?"rotate("+a+" "+e+" "+n+")":void 0}},{key:"getDefaultAngle",value:function(t){var e=t.polar,n=t.labelPlacement,r=t.orientation,o=t.datum;if(!e||!n||"vertical"===n)return 0;var a=b.a.getDegrees(t,o),i=a>90&&a<180||a>270?1:-1,s="perpendicular"===n?0:90,u=void 0;return 0===a||180===a?u="top"===r&&180===a?270:90:a>0&&a<180?u=90-a:a>180&&a<360&&(u=270-a),u+i*s}},{key:"getFlyoutCenter",value:function(t,e){var n=t.x,r=t.y,o=t.dx,a=t.dy,i=t.pointerLength,s=t.orientation,u=e.height,c=e.width,l="left"===s?-1:1,f="bottom"===s?-1:1;return{x:"left"===s||"right"===s?n+l*(i+c/2+o):n+o,y:"top"===s||"bottom"===s?r-f*(i+u/2+a):r-a}}},{key:"getLabelPadding",value:function(t){if(!t)return 0;var e=Array.isArray(t)?t.map(function(t){return t.padding}):[t.padding];return Math.max.apply(Math,r(e).concat([0]))}},{key:"getDimensions",value:function(t,e,n){var r=t.orientation,o=t.cornerRadius,a=t.pointerLength,i=t.pointerWidth,s=this.getLabelPadding(n);return{height:t.height||function(){var t=e.height+s,n="top"===r||"bottom"===r?2*o:2*o+i;return Math.max(n,t)}()+s/2,width:t.width||function(){var t=e.width+s,n="left"===r||"right"===r?2*o+a:2*o;return Math.max(n,t)}()+s}}},{key:"getLabelProps",value:function(t,e){var n=e.flyoutCenter,r=e.labelStyle,o=e.labelSize,a=e.dy,i=e.dx,s=t.text,c=t.datum,l=t.labelComponent,f=t.index,p=(Array.isArray(r)&&r.length?r[0].textAnchor:r.textAnchor)||"middle";return u()({},l.props,{key:"label-"+f,text:s,datum:c,textAnchor:p,dy:a,dx:i,style:r,x:p&&"middle"!==p?function(){var t="end"===p?-1:1;return n.x-t*(o.width/2)}():n.x,y:n.y,verticalAnchor:"middle",angle:r.angle})}},{key:"getFlyoutProps",value:function(t,e){var n=e.flyoutDimensions,r=e.flyoutStyle,o=t.x,a=t.y,i=t.dx,s=t.dy,c=t.datum,l=t.index,f=t.orientation,p=t.pointerLength,h=t.pointerWidth,d=t.cornerRadius,y=t.events,g=t.flyoutComponent;return u()({},g.props,{x:o,y:a,dx:i,dy:s,datum:c,index:l,orientation:f,pointerLength:p,pointerWidth:h,cornerRadius:d,events:y,key:"flyout-"+l,width:n.width,height:n.height,style:r})}},{key:"renderTooltip",value:function(t){var e=this.getEvaluatedProps(t),n=e.flyoutComponent,r=e.labelComponent,o=e.groupComponent,a=e.active,i=e.renderInPortal;if(!a)return i?p.a.createElement(O.a,null,null):null;var s=this.getCalculatedValues(e),u=[p.a.cloneElement(n,this.getFlyoutProps(e,s)),p.a.cloneElement(r,this.getLabelProps(e,s))],c=p.a.cloneElement(o,{role:"presentation",transform:s.transform},u);return i?p.a.createElement(O.a,null,c):c}},{key:"render",value:function(){var t=m.a.modifyProps(this.props,k,"tooltip");return this.renderTooltip(t)}}]),e}(p.a.Component);M.displayName="VictoryTooltip",M.propTypes={activateData:d.a.bool,active:d.a.oneOfType([d.a.bool,d.a.func]),angle:d.a.number,cornerRadius:d.a.oneOfType([y.a.nonNegative,d.a.func]),data:d.a.array,datum:d.a.object,dx:d.a.oneOfType([d.a.number,d.a.func]),dy:d.a.oneOfType([d.a.number,d.a.func]),events:d.a.object,flyoutComponent:d.a.element,flyoutStyle:d.a.object,groupComponent:d.a.element,height:d.a.oneOfType([y.a.nonNegative,d.a.func]),horizontal:d.a.bool,index:d.a.oneOfType([d.a.number,d.a.string]),labelComponent:d.a.element,orientation:d.a.oneOfType([d.a.oneOf(["top","bottom","left","right"]),d.a.func]),pointerLength:d.a.oneOfType([y.a.nonNegative,d.a.func]),pointerWidth:d.a.oneOfType([y.a.nonNegative,d.a.func]),polar:d.a.bool,renderInPortal:d.a.bool,style:d.a.oneOfType([d.a.object,d.a.array]),text:d.a.oneOfType([d.a.string,d.a.number,d.a.func,d.a.array]),theme:d.a.object,width:d.a.oneOfType([y.a.nonNegative,d.a.func]),x:d.a.number,y:d.a.number},M.defaultProps={active:!1,renderInPortal:!0,labelComponent:p.a.createElement(_.a,null),flyoutComponent:p.a.createElement(w.a,null),groupComponent:p.a.createElement("g",null)},M.defaultEvents=function(t){return[{target:"data",eventHandlers:{onMouseOver:function(){return t.activateData?[{target:"labels",mutation:function(){return{active:!0}}},{target:"data",mutation:function(){return{active:!0}}}]:[{target:"labels",mutation:function(){return{active:!0}}}]},onTouchStart:function(){return t.activateData?[{target:"labels",mutation:function(){return{active:!0}}},{target:"data",mutation:function(){return{active:!0}}}]:[{target:"labels",mutation:function(){return{active:!0}}}]},onMouseOut:function(){return t.activateData?[{target:"labels",mutation:function(){return{active:!1}}},{target:"data",mutation:function(){return{active:!1}}}]:[{target:"labels",mutation:function(){return{active:!1}}}]},onTouchEnd:function(){return t.activateData?[{target:"labels",mutation:function(){return{active:!1}}},{target:"data",mutation:function(){return{active:!1}}}]:[{target:"labels",mutation:function(){return{active:!1}}}]}}}]},e.a=M},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var i=n(61),s=n.n(i),u=n(4),c=n.n(u),l=n(0),f=n.n(l),p=n(1),h=n.n(p),d=n(8),y=n(22),g=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},m=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),v=function(t){function e(){return r(this,e),o(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return a(e,t),m(e,[{key:"componentWillMount",value:function(){this.style=this.getStyle(this.props)}},{key:"shouldComponentUpdate",value:function(t){var e=this.props,n=e.cx,r=e.cy,o=e.r,a=this.getStyle(t);return n!==t.cx||r!==t.cy||o!==t.r?(this.style=a,!0):!s()(a,this.style)&&(this.style=a,!0)}},{key:"getStyle",value:function(t){var e=t.style,n=t.datum,r=t.active;return d.a.evaluateStyle(c()({stroke:"black",fill:"none"},e),n,r)}},{key:"getArcPath",value:function(t){var e=t.cx,n=t.cy,r=t.r,o=t.startAngle,a=t.endAngle,i=t.closedPath,s=Math.abs(a-o)/2+o,u=e+r*Math.cos(d.a.degreesToRadians(o)),c=n-r*Math.sin(d.a.degreesToRadians(o)),l=e+r*Math.cos(d.a.degreesToRadians(s)),f=n-r*Math.sin(d.a.degreesToRadians(s)),p=e+r*Math.cos(d.a.degreesToRadians(a)),h=n-r*Math.sin(d.a.degreesToRadians(a)),y=s-o<=180?0:1,g=a-s<=180?0:1;return(i?" M "+e+", "+n+" L "+u+", "+c:"M "+u+", "+c)+" A "+r+", "+r+", 0, "+y+", 0, "+l+", "+f+" A "+r+", "+r+", 0, "+g+", 0, "+p+", "+h+" "+(i?"Z":"")}},{key:"renderAxisLine",value:function(t,e,n){var r=t.role,o=t.shapeRendering,a=t.className,i=this.getArcPath(t);return f.a.createElement("path",g({className:a,d:i,style:e,role:r||"presentation",shapeRendering:o||"auto"},n))}},{key:"render",value:function(){return this.renderAxisLine(this.props,this.style,this.props.events)}}]),e}(f.a.Component);v.propTypes=g({},y.a,{closedPath:h.a.bool,cx:h.a.number,cy:h.a.number,datum:h.a.any,endAngle:h.a.number,r:h.a.number,startAngle:h.a.number}),e.a=v},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var i=n(4),s=n.n(i),u=n(0),c=n.n(u),l=n(1),f=n.n(l),p=n(11),h=n(8),d=n(327),y=n(126),g=n(22),m=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},v=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),b=function(t){function e(){return r(this,e),o(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return a(e,t),v(e,[{key:"componentWillMount",value:function(){var t=this.calculateAttributes(this.props),e=t.style,n=t.areaPath,r=t.linePath;this.style=e,this.areaPath=n,this.linePath=r}},{key:"shouldComponentUpdate",value:function(t){var e=this.calculateAttributes(t),n=e.style,r=e.areaPath,o=e.linePath,a=this.props,i=a.className,s=a.interpolation;return!p.a.allSetsEqual([[i,t.className],[s,t.interpolation],[o,this.linePath],[r,this.areaPath],[n,this.style]])&&(this.style=n,this.areaPath=r,this.linePath=o,!0)}},{key:"getLineFunction",value:function(t){var e=t.polar,n=t.scale,r=this.toNewName(t.interpolation);return e?y.lineRadial().defined(d.a).curve(y[r+"Closed"]).angle(Object(d.b)(n)).radius(Object(d.d)(n)):y.line().defined(d.a).curve(y[r]).x(Object(d.c)(n)).y(Object(d.e)(n))}},{key:"getAreaFunction",value:function(t){var e=t.polar,n=t.scale,r=this.toNewName(t.interpolation);return e?y.radialArea().defined(d.a).curve(y[r+"Closed"]).angle(Object(d.b)(n)).outerRadius(Object(d.e)(n)).innerRadius(Object(d.d)(n)):y.area().defined(d.a).curve(y[r]).x(Object(d.c)(n)).y1(Object(d.e)(n)).y0(Object(d.d)(n))}},{key:"calculateAttributes",value:function(t){var e=t.style,n=t.data,r=t.active,o=this.getAreaFunction(t),a=this.getLineFunction(t);return{style:h.a.evaluateStyle(s()({fill:"black"},e),n,r),areaPath:o(n),linePath:a(n)}}},{key:"toNewName",value:function(t){return"curve"+function(t){return t&&t[0].toUpperCase()+t.slice(1)}(t)}},{key:"renderArea",value:function(t,e,n){var r=e.stroke?"none":e.fill,o=s()({},e,{stroke:r}),a=this.props,i=a.role,u=a.shapeRendering,l=a.className,f=a.polar,p=a.origin,h=f&&p?"translate("+p.x+", "+p.y+")":void 0;return c.a.createElement("path",m({key:"area",style:o,shapeRendering:u||"auto",role:i||"presentation",d:t,transform:h,className:l},n))}},{key:"renderLine",value:function(t,e,n){if(!e.stroke||"none"===e.stroke||"transparent"===e.stroke)return null;var r=this.props,o=r.role,a=r.shapeRendering,i=r.className,u=r.polar,l=r.origin,f=u&&l?"translate("+l.x+", "+l.y+")":void 0,p=s()({},e,{fill:"none"});return c.a.createElement("path",m({key:"area-stroke",style:p,shapeRendering:a||"auto",role:o||"presentation",d:t,transform:f,className:i},n))}},{key:"render",value:function(){var t=this.props,e=t.events,n=t.groupComponent,r=this.renderArea(this.areaPath,this.style,e),o=this.renderLine(this.linePath,this.style,e);if(!o)return r;var a=[r,o].map(function(t,e){return c.a.cloneElement(t,{key:e})});return c.a.cloneElement(n,{},a)}}]),e}(c.a.Component);b.propTypes=m({},g.a,{groupComponent:f.a.element,interpolation:f.a.string}),b.defaultProps={groupComponent:c.a.createElement("g",null)},e.a=b},function(t,e,n){"use strict";function r(t){return t.innerRadius}function o(t){return t.outerRadius}function a(t){return t.startAngle}function i(t){return t.endAngle}function s(t){return t&&t.padAngle}function u(t,e,n,r,o,a,i,s){var u=n-t,c=r-e,l=i-o,f=s-a,p=(l*(e-a)-f*(t-o))/(f*u-l*c);return[t+p*u,e+p*c]}function c(t,e,n,r,o,a,i){var s=t-n,u=e-r,c=(i?a:-a)/Object(p.l)(s*s+u*u),l=c*u,f=-c*s,h=t+l,d=e+f,y=n+l,g=r+f,m=(h+y)/2,v=(d+g)/2,b=y-h,_=g-d,x=b*b+_*_,w=o-a,O=h*g-y*d,C=(_<0?-1:1)*Object(p.l)(Object(p.h)(0,w*w*x-O*O)),k=(O*_-b*C)/x,M=(-O*b-_*C)/x,P=(O*_+b*C)/x,E=(-O*b+_*C)/x,A=k-m,T=M-v,S=P-m,j=E-v;return A*A+T*T>S*S+j*j&&(k=P,M=E),{cx:k,cy:M,x01:-l,y01:-f,x11:k*(o/w-1),y11:M*(o/w-1)}}var l=n(84),f=n(44),p=n(85);e.a=function(){function t(){var t,r,o=+e.apply(this,arguments),a=+n.apply(this,arguments),i=y.apply(this,arguments)-p.g,s=g.apply(this,arguments)-p.g,f=Object(p.a)(s-i),b=s>i;if(v||(v=t=Object(l.a)()),a<o&&(r=a,a=o,o=r),a>p.f)if(f>p.m-p.f)v.moveTo(a*Object(p.e)(i),a*Object(p.k)(i)),v.arc(0,0,a,i,s,!b),o>p.f&&(v.moveTo(o*Object(p.e)(s),o*Object(p.k)(s)),v.arc(0,0,o,s,i,b));else{var _,x,w=i,O=s,C=i,k=s,M=f,P=f,E=m.apply(this,arguments)/2,A=E>p.f&&(d?+d.apply(this,arguments):Object(p.l)(o*o+a*a)),T=Object(p.i)(Object(p.a)(a-o)/2,+h.apply(this,arguments)),S=T,j=T;if(A>p.f){var D=Object(p.c)(A/o*Object(p.k)(E)),N=Object(p.c)(A/a*Object(p.k)(E));(M-=2*D)>p.f?(D*=b?1:-1,C+=D,k-=D):(M=0,C=k=(i+s)/2),(P-=2*N)>p.f?(N*=b?1:-1,w+=N,O-=N):(P=0,w=O=(i+s)/2)}var R=a*Object(p.e)(w),L=a*Object(p.k)(w),I=o*Object(p.e)(k),F=o*Object(p.k)(k);if(T>p.f){var U=a*Object(p.e)(O),B=a*Object(p.k)(O),V=o*Object(p.e)(C),W=o*Object(p.k)(C);if(f<p.j){var z=M>p.f?u(R,L,V,W,U,B,I,F):[I,F],Y=R-z[0],H=L-z[1],q=U-z[0],K=B-z[1],X=1/Object(p.k)(Object(p.b)((Y*q+H*K)/(Object(p.l)(Y*Y+H*H)*Object(p.l)(q*q+K*K)))/2),G=Object(p.l)(z[0]*z[0]+z[1]*z[1]);S=Object(p.i)(T,(o-G)/(X-1)),j=Object(p.i)(T,(a-G)/(X+1))}}P>p.f?j>p.f?(_=c(V,W,R,L,a,j,b),x=c(U,B,I,F,a,j,b),v.moveTo(_.cx+_.x01,_.cy+_.y01),j<T?v.arc(_.cx,_.cy,j,Object(p.d)(_.y01,_.x01),Object(p.d)(x.y01,x.x01),!b):(v.arc(_.cx,_.cy,j,Object(p.d)(_.y01,_.x01),Object(p.d)(_.y11,_.x11),!b),v.arc(0,0,a,Object(p.d)(_.cy+_.y11,_.cx+_.x11),Object(p.d)(x.cy+x.y11,x.cx+x.x11),!b),v.arc(x.cx,x.cy,j,Object(p.d)(x.y11,x.x11),Object(p.d)(x.y01,x.x01),!b))):(v.moveTo(R,L),v.arc(0,0,a,w,O,!b)):v.moveTo(R,L),o>p.f&&M>p.f?S>p.f?(_=c(I,F,U,B,o,-S,b),x=c(R,L,V,W,o,-S,b),v.lineTo(_.cx+_.x01,_.cy+_.y01),S<T?v.arc(_.cx,_.cy,S,Object(p.d)(_.y01,_.x01),Object(p.d)(x.y01,x.x01),!b):(v.arc(_.cx,_.cy,S,Object(p.d)(_.y01,_.x01),Object(p.d)(_.y11,_.x11),!b),v.arc(0,0,o,Object(p.d)(_.cy+_.y11,_.cx+_.x11),Object(p.d)(x.cy+x.y11,x.cx+x.x11),b),v.arc(x.cx,x.cy,S,Object(p.d)(x.y11,x.x11),Object(p.d)(x.y01,x.x01),!b))):v.arc(0,0,o,k,C,b):v.lineTo(I,F)}else v.moveTo(0,0);if(v.closePath(),t)return v=null,t+""||null}var e=r,n=o,h=Object(f.a)(0),d=null,y=a,g=i,m=s,v=null;return t.centroid=function(){var t=(+e.apply(this,arguments)+ +n.apply(this,arguments))/2,r=(+y.apply(this,arguments)+ +g.apply(this,arguments))/2-p.j/2;return[Object(p.e)(r)*t,Object(p.k)(r)*t]},t.innerRadius=function(n){return arguments.length?(e="function"==typeof n?n:Object(f.a)(+n),t):e},t.outerRadius=function(e){return arguments.length?(n="function"==typeof e?e:Object(f.a)(+e),t):n},t.cornerRadius=function(e){return arguments.length?(h="function"==typeof e?e:Object(f.a)(+e),t):h},t.padRadius=function(e){return arguments.length?(d=null==e?null:"function"==typeof e?e:Object(f.a)(+e),t):d},t.startAngle=function(e){return arguments.length?(y="function"==typeof e?e:Object(f.a)(+e),t):y},t.endAngle=function(e){return arguments.length?(g="function"==typeof e?e:Object(f.a)(+e),t):g},t.padAngle=function(e){return arguments.length?(m="function"==typeof e?e:Object(f.a)(+e),t):m},t.context=function(e){return arguments.length?(v=null==e?null:e,t):v},t}},function(t,e,n){"use strict";function r(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function o(){return new r}var a=Math.PI,i=2*a,s=i-1e-6;r.prototype=o.prototype={constructor:r,moveTo:function(t,e){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,e){this._+="L"+(this._x1=+t)+","+(this._y1=+e)},quadraticCurveTo:function(t,e,n,r){this._+="Q"+ +t+","+ +e+","+(this._x1=+n)+","+(this._y1=+r)},bezierCurveTo:function(t,e,n,r,o,a){this._+="C"+ +t+","+ +e+","+ +n+","+ +r+","+(this._x1=+o)+","+(this._y1=+a)},arcTo:function(t,e,n,r,o){t=+t,e=+e,n=+n,r=+r,o=+o;var i=this._x1,s=this._y1,u=n-t,c=r-e,l=i-t,f=s-e,p=l*l+f*f;if(o<0)throw new Error("negative radius: "+o);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=e);else if(p>1e-6)if(Math.abs(f*u-c*l)>1e-6&&o){var h=n-i,d=r-s,y=u*u+c*c,g=h*h+d*d,m=Math.sqrt(y),v=Math.sqrt(p),b=o*Math.tan((a-Math.acos((y+p-g)/(2*m*v)))/2),_=b/v,x=b/m;Math.abs(_-1)>1e-6&&(this._+="L"+(t+_*l)+","+(e+_*f)),this._+="A"+o+","+o+",0,0,"+ +(f*h>l*d)+","+(this._x1=t+x*u)+","+(this._y1=e+x*c)}else this._+="L"+(this._x1=t)+","+(this._y1=e);else;},arc:function(t,e,n,r,o,u){t=+t,e=+e,n=+n;var c=n*Math.cos(r),l=n*Math.sin(r),f=t+c,p=e+l,h=1^u,d=u?r-o:o-r;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+f+","+p:(Math.abs(this._x1-f)>1e-6||Math.abs(this._y1-p)>1e-6)&&(this._+="L"+f+","+p),n&&(d<0&&(d=d%i+i),d>s?this._+="A"+n+","+n+",0,1,"+h+","+(t-c)+","+(e-l)+"A"+n+","+n+",0,1,"+h+","+(this._x1=f)+","+(this._y1=p):d>1e-6&&(this._+="A"+n+","+n+",0,"+ +(d>=a)+","+h+","+(this._x1=t+n*Math.cos(o))+","+(this._y1=e+n*Math.sin(o))))},rect:function(t,e,n,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}},e.a=o},function(t,e,n){"use strict";var r=n(44),o=n(681),a=n(682),i=n(85);e.a=function(){function t(t){var r,o,a,f,p,h=t.length,d=0,y=new Array(h),g=new Array(h),m=+u.apply(this,arguments),v=Math.min(i.m,Math.max(-i.m,c.apply(this,arguments)-m)),b=Math.min(Math.abs(v)/h,l.apply(this,arguments)),_=b*(v<0?-1:1);for(r=0;r<h;++r)(p=g[y[r]=r]=+e(t[r],r,t))>0&&(d+=p);for(null!=n?y.sort(function(t,e){return n(g[t],g[e])}):null!=s&&y.sort(function(e,n){return s(t[e],t[n])}),r=0,a=d?(v-h*_)/d:0;r<h;++r,m=f)o=y[r],p=g[o],f=m+(p>0?p*a:0)+_,g[o]={data:t[o],index:r,value:p,startAngle:m,endAngle:f,padAngle:b};return g}var e=a.a,n=o.a,s=null,u=Object(r.a)(0),c=Object(r.a)(i.m),l=Object(r.a)(0);return t.value=function(n){return arguments.length?(e="function"==typeof n?n:Object(r.a)(+n),t):e},t.sortValues=function(e){return arguments.length?(n=e,s=null,t):n},t.sort=function(e){return arguments.length?(s=e,n=null,t):s},t.startAngle=function(e){return arguments.length?(u="function"==typeof e?e:Object(r.a)(+e),t):u},t.endAngle=function(e){return arguments.length?(c="function"==typeof e?e:Object(r.a)(+e),t):c},t.padAngle=function(e){return arguments.length?(l="function"==typeof e?e:Object(r.a)(+e),t):l},t}},function(t,e,n){"use strict";e.a=function(t,e){return e<t?-1:e>t?1:e>=t?0:NaN}},function(t,e,n){"use strict";e.a=function(t){return t}},function(t,e,n){"use strict";var r=n(329),o=n(328),a=n(330);e.a=function(){var t=Object(o.a)().curve(r.a),e=t.curve,n=t.lineX0,i=t.lineX1,s=t.lineY0,u=t.lineY1;return t.angle=t.x,delete t.x,t.startAngle=t.x0,delete t.x0,t.endAngle=t.x1,delete t.x1,t.radius=t.y,delete t.y,t.innerRadius=t.y0,delete t.y0,t.outerRadius=t.y1,delete t.y1,t.lineStartAngle=function(){return Object(a.b)(n())},delete t.lineX0,t.lineEndAngle=function(){return Object(a.b)(i())},delete t.lineX1,t.lineInnerRadius=function(){return Object(a.b)(s())},delete t.lineY0,t.lineOuterRadius=function(){return Object(a.b)(u())},delete t.lineY1,t.curve=function(t){return arguments.length?e(Object(r.b)(t)):e()._curve},t}},function(t,e,n){"use strict";function r(t){return t.source}function o(t){return t.target}function a(t){function e(){var e,r=h.a.call(arguments),o=n.apply(this,r),c=a.apply(this,r);if(u||(u=e=Object(p.a)()),t(u,+i.apply(this,(r[0]=o,r)),+s.apply(this,r),+i.apply(this,(r[0]=c,r)),+s.apply(this,r)),e)return u=null,e+""||null}var n=r,a=o,i=y.a,s=y.b,u=null;return e.source=function(t){return arguments.length?(n=t,e):n},e.target=function(t){return arguments.length?(a=t,e):a},e.x=function(t){return arguments.length?(i="function"==typeof t?t:Object(d.a)(+t),e):i},e.y=function(t){return arguments.length?(s="function"==typeof t?t:Object(d.a)(+t),e):s},e.context=function(t){return arguments.length?(u=null==t?null:t,e):u},e}function i(t,e,n,r,o){t.moveTo(e,n),t.bezierCurveTo(e=(e+r)/2,n,e,o,r,o)}function s(t,e,n,r,o){t.moveTo(e,n),t.bezierCurveTo(e,n=(n+o)/2,r,n,r,o)}function u(t,e,n,r,o){var a=Object(g.a)(e,n),i=Object(g.a)(e,n=(n+o)/2),s=Object(g.a)(r,n),u=Object(g.a)(r,o);t.moveTo(a[0],a[1]),t.bezierCurveTo(i[0],i[1],s[0],s[1],u[0],u[1])}function c(){return a(i)}function l(){return a(s)}function f(){var t=a(u);return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t}e.a=c,e.c=l,e.b=f;var p=n(84),h=n(332),d=n(44),y=n(198),g=n(331)},function(t,e,n){"use strict";n.d(e,"b",function(){return p});var r=n(84),o=n(333),a=n(334),i=n(335),s=n(336),u=n(337),c=n(338),l=n(339),f=n(44),p=[o.a,a.a,i.a,u.a,s.a,c.a,l.a];e.a=function(){function t(){var t;if(a||(a=t=Object(r.a)()),e.apply(this,arguments).draw(a,+n.apply(this,arguments)),t)return a=null,t+""||null}var e=Object(f.a)(o.a),n=Object(f.a)(64),a=null;return t.type=function(n){return arguments.length?(e="function"==typeof n?n:Object(f.a)(n),t):e},t.size=function(e){return arguments.length?(n="function"==typeof e?e:Object(f.a)(+e),t):n},t.context=function(e){return arguments.length?(a=null==e?null:e,t):a},t}},function(t,e,n){"use strict";function r(t){this._context=t}var o=n(128),a=n(129);r.prototype={areaStart:o.a,areaEnd:o.a,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(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:Object(a.c)(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},e.a=function(t){return new r(t)}},function(t,e,n){"use strict";function r(t){this._context=t}var o=n(129);r.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(t,e){switch(t=+t,e=+e,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+t)/6,r=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:Object(o.c)(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},e.a=function(t){return new r(t)}},function(t,e,n){"use strict";function r(t,e){this._basis=new o.a(t),this._beta=e}var o=n(129);r.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,e=this._y,n=t.length-1;if(n>0)for(var r,o=t[0],a=e[0],i=t[n]-o,s=e[n]-a,u=-1;++u<=n;)r=u/n,this._basis.point(this._beta*t[u]+(1-this._beta)*(o+r*i),this._beta*e[u]+(1-this._beta)*(a+r*s));this._x=this._y=null,this._basis.lineEnd()},point:function(t,e){this._x.push(+t),this._y.push(+e)}},e.a=function t(e){function n(t){return 1===e?new o.a(t):new r(t,e)}return n.beta=function(e){return t(+e)},n}(.85)},function(t,e,n){"use strict";function r(t,e){this._context=t,this._alpha=e}var o=n(340),a=n(128),i=n(199);r.prototype={areaStart:a.a,areaEnd:a.a,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(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:Object(i.b)(this,t,e)}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=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}},e.a=function t(e){function n(t){return e?new r(t,e):new o.a(t,0)}return n.alpha=function(e){return t(+e)},n}(.5)},function(t,e,n){"use strict";function r(t,e){this._context=t,this._alpha=e}var o=n(341),a=n(199);r.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(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,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:Object(a.b)(this,t,e)}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=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}},e.a=function t(e){function n(t){return e?new r(t,e):new o.a(t,0)}return n.alpha=function(e){return t(+e)},n}(.5)},function(t,e,n){"use strict";function r(t){this._context=t}var o=n(128);r.prototype={areaStart:o.a,areaEnd:o.a,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t=+t,e=+e,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}},e.a=function(t){return new r(t)}},function(t,e,n){"use strict";function r(t){return t<0?-1:1}function o(t,e,n){var o=t._x1-t._x0,a=e-t._x1,i=(t._y1-t._y0)/(o||a<0&&-0),s=(n-t._y1)/(a||o<0&&-0),u=(i*a+s*o)/(o+a);return(r(i)+r(s))*Math.min(Math.abs(i),Math.abs(s),.5*Math.abs(u))||0}function a(t,e){var n=t._x1-t._x0;return n?(3*(t._y1-t._y0)/n-e)/2:e}function i(t,e,n){var r=t._x0,o=t._y0,a=t._x1,i=t._y1,s=(a-r)/3;t._context.bezierCurveTo(r+s,o+s*e,a-s,i-s*n,a,i)}function s(t){this._context=t}function u(t){this._context=new c(t)}function c(t){this._context=t}function l(t){return new s(t)}function f(t){return new u(t)}e.a=l,e.b=f,s.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:i(this,this._t0,a(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var n=NaN;if(t=+t,e=+e,t!==this._x1||e!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,i(this,a(this,n=o(this,t,e)),n);break;default:i(this,this._t0,n=o(this,t,e))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=n}}},(u.prototype=Object.create(s.prototype)).point=function(t,e){s.prototype.point.call(this,e,t)},c.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,n,r,o,a){this._context.bezierCurveTo(e,t,r,n,a,o)}}},function(t,e,n){"use strict";function r(t){this._context=t}function o(t){var e,n,r=t.length-1,o=new Array(r),a=new Array(r),i=new Array(r);for(o[0]=0,a[0]=2,i[0]=t[0]+2*t[1],e=1;e<r-1;++e)o[e]=1,a[e]=4,i[e]=4*t[e]+2*t[e+1];for(o[r-1]=2,a[r-1]=7,i[r-1]=8*t[r-1]+t[r],e=1;e<r;++e)n=o[e]/a[e-1],a[e]-=n,i[e]-=n*i[e-1];for(o[r-1]=i[r-1]/a[r-1],e=r-2;e>=0;--e)o[e]=(i[e]-o[e+1])/a[e];for(a[r-1]=(t[r]+o[r-1])/2,e=0;e<r-1;++e)a[e]=2*t[e+1]-o[e+1];return[o,a]}r.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,e=this._y,n=t.length;if(n)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),2===n)this._context.lineTo(t[1],e[1]);else for(var r=o(t),a=o(e),i=0,s=1;s<n;++i,++s)this._context.bezierCurveTo(r[0][i],a[0][i],r[1][i],a[1][i],t[s],e[s]);(this._line||0!==this._line&&1===n)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,e){this._x.push(+t),this._y.push(+e)}},e.a=function(t){return new r(t)}},function(t,e,n){"use strict";function r(t,e){this._context=t,this._t=e}function o(t){return new r(t,0)}function a(t){return new r(t,1)}e.c=o,e.b=a,r.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(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var n=this._x*(1-this._t)+t*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,e)}}this._x=t,this._y=e}},e.a=function(t){return new r(t,.5)}},function(t,e,n){"use strict";function r(t,e){return t[e]}var o=n(332),a=n(44),i=n(86),s=n(87);e.a=function(){function t(t){var r,o,a=e.apply(this,arguments),i=t.length,s=a.length,l=new Array(s);for(r=0;r<s;++r){for(var f,p=a[r],h=l[r]=new Array(i),d=0;d<i;++d)h[d]=f=[0,+c(t[d],p,d,t)],f.data=t[d];h.key=p}for(r=0,o=n(l);r<s;++r)l[o[r]].index=r;return u(l,o),l}var e=Object(a.a)([]),n=s.a,u=i.a,c=r;return t.keys=function(n){return arguments.length?(e="function"==typeof n?n:Object(a.a)(o.a.call(n)),t):e},t.value=function(e){return arguments.length?(c="function"==typeof e?e:Object(a.a)(+e),t):c},t.order=function(e){return arguments.length?(n=null==e?s.a:"function"==typeof e?e:Object(a.a)(o.a.call(e)),t):n},t.offset=function(e){return arguments.length?(u=null==e?i.a:e,t):u},t}},function(t,e,n){"use strict";var r=n(86);e.a=function(t,e){if((o=t.length)>0){for(var n,o,a,i=0,s=t[0].length;i<s;++i){for(a=n=0;n<o;++n)a+=t[n][i][1]||0;if(a)for(n=0;n<o;++n)t[n][i][1]/=a}Object(r.a)(t,e)}}},function(t,e,n){"use strict";e.a=function(t,e){if((s=t.length)>1)for(var n,r,o,a,i,s,u=0,c=t[e[0]].length;u<c;++u)for(a=i=0,n=0;n<s;++n)(o=(r=t[e[n]][u])[1]-r[0])>=0?(r[0]=a,r[1]=a+=o):o<0?(r[1]=i,r[0]=i+=o):r[0]=a}},function(t,e,n){"use strict";var r=n(86);e.a=function(t,e){if((n=t.length)>0){for(var n,o=0,a=t[e[0]],i=a.length;o<i;++o){for(var s=0,u=0;s<n;++s)u+=t[s][o][1]||0;a[o][1]+=a[o][0]=-u/2}Object(r.a)(t,e)}}},function(t,e,n){"use strict";var r=n(86);e.a=function(t,e){if((a=t.length)>0&&(o=(n=t[e[0]]).length)>0){for(var n,o,a,i=0,s=1;s<o;++s){for(var u=0,c=0,l=0;u<a;++u){for(var f=t[e[u]],p=f[s][1]||0,h=f[s-1][1]||0,d=(p-h)/2,y=0;y<u;++y){var g=t[e[y]];d+=(g[s][1]||0)-(g[s-1][1]||0)}c+=p,l+=d*p}n[s-1][1]+=n[s-1][0]=i,c&&(i-=l/c)}n[s-1][1]+=n[s-1][0]=i,Object(r.a)(t,e)}}},function(t,e,n){"use strict";var r=n(200);e.a=function(t){return Object(r.a)(t).reverse()}},function(t,e,n){"use strict";var r=n(87),o=n(200);e.a=function(t){var e,n,a=t.length,i=t.map(o.b),s=Object(r.a)(t).sort(function(t,e){return i[e]-i[t]}),u=0,c=0,l=[],f=[];for(e=0;e<a;++e)n=s[e],u<c?(u+=i[n],l.push(n)):(c+=i[n],f.push(n));return f.reverse().concat(l)}},function(t,e,n){"use strict";var r=n(87);e.a=function(t){return Object(r.a)(t).reverse()}},function(t,e,n){"use strict";function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var s=n(4),u=n.n(s),c=n(0),l=n.n(c),f=n(1),p=n.n(f),h=n(8),d=n(11),y=n(22),g=n(126),m=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},v=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),b=function(t){function e(){return o(this,e),a(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),v(e,[{key:"componentWillMount",value:function(){var t=this.calculateAttributes(this.props),e=t.style,n=t.path;this.style=e,this.path=n}},{key:"shouldComponentUpdate",value:function(t){var e=this.calculateAttributes(t),n=e.style,r=e.path,o=this.props,a=o.className,i=o.datum,s=o.horizontal,u=o.x,c=o.y,l=o.y0;return!d.a.allSetsEqual([[a,t.className],[u,t.x],[c,t.y],[l,t.y0],[s,t.horizontal],[r,this.path],[n,this.style],[i,t.datum]])&&(this.style=n,this.path=r,!0)}},{key:"calculateAttributes",value:function(t){var e=t.datum,n=t.active,r=t.polar,o=t.style&&t.style.fill||"black",a={fill:"black",stroke:o},i=h.a.evaluateStyle(u()(a,t.style),e,n),s=this.getBarWidth(t,i);return{style:i,path:r?this.getPolarBarPath(t,s):this.getBarPath(t,s)}}},{key:"getPosition",value:function(t,e){var n=t.x,r=t.y,o=t.y0,a=t.horizontal,i=t.alignment||"middle",s="middle"===i?e/2:e,u=a?-1:1,c="start"===i?n:n-u*s,l="end"===i?n:n+u*s;return{y0:Math.round(o),y1:Math.round(r),x0:Math.round(c),x1:Math.round(l)}}},{key:"getVerticalBarPath",value:function(t,e){var n=this.getPosition(t,e),r=n.x0,o=n.x1,a=n.y0,i=n.y1;return"M "+r+", "+a+"\n      L "+r+", "+i+"\n      L "+o+", "+i+"\n      L "+o+", "+a+"\n      L "+r+", "+a+"\n      z"}},{key:"getHorizontalBarPath",value:function(t,e){var n=this.getPosition(t,e),r=n.x0,o=n.x1,a=n.y0,i=n.y1;return"M "+a+", "+r+"\n      L "+a+", "+o+"\n      L "+i+", "+o+"\n      L "+i+", "+r+"\n      L "+a+", "+r+"\n      z"}},{key:"transformAngle",value:function(t){return-1*t+Math.PI/2}},{key:"getAngularWidth",value:function(t,e){var n=t.scale,o=n.y.range(),a=Math.max.apply(Math,r(o)),i=Math.abs(n.x.range()[1]-n.x.range()[0]);return e/(2*Math.PI*a)*i}},{key:"getAngle",value:function(t,e){var n=t.data,r=t.scale,o=void 0===n[e]._x1?"_x":"_x1";return r.x(n[e][o])}},{key:"getStartAngle",value:function(t,e){var n=t.data,r=t.scale,o=t.alignment,a=this.getAngle(t,e),i=Math.abs(r.x.range()[1]-r.x.range()[0]),s=0===e?this.getAngle(t,n.length-1)-2*Math.PI:this.getAngle(t,e-1);return 0===e&&i<2*Math.PI?r.x.range()[0]:"start"===o||"end"===o?"start"===o?s:a:(a+s)/2}},{key:"getEndAngle",value:function(t,e){var n=t.data,r=t.scale,o=t.alignment,a=this.getAngle(t,e),i=Math.abs(r.x.range()[1]-r.x.range()[0]),s=r.x.range()[1]===2*Math.PI?this.getAngle(t,0)+2*Math.PI:r.x.range()[1],u=e===n.length-1?this.getAngle(t,0)+2*Math.PI:this.getAngle(t,e+1);return e===n.length-1&&i<2*Math.PI?s:"start"===o||"end"===o?"start"===o?a:u:(a+u)/2}},{key:"getVerticalPolarBarPath",value:function(t){var e=t.datum,n=t.scale,r=t.style,o=t.index,a=t.alignment,i=n.y(e._y0||0),s=n.y(void 0!==e._y1?e._y1:e._y),u=n.x(void 0!==e._x1?e._x1:e._x),c=void 0,l=void 0;if(r.width){var f=this.getAngularWidth(t,r.width),p="middle"===a?f/2:f;c="start"===a?u:u-p,l="end"===a?u:u+p}else c=this.getStartAngle(t,o),l=this.getEndAngle(t,o);return g.arc().innerRadius(i).outerRadius(s).startAngle(this.transformAngle(c)).endAngle(this.transformAngle(l))()}},{key:"getBarPath",value:function(t,e){return this.props.horizontal?this.getHorizontalBarPath(t,e):this.getVerticalBarPath(t,e)}},{key:"getPolarBarPath",value:function(t){return this.getVerticalPolarBarPath(t)}},{key:"getBarWidth",value:function(t,e){if(e.width)return e.width;var n=t.scale,r=t.data,o=n.x.range(),a=Math.abs(o[1]-o[0]),i=r.length+2,s=r.length<2?8:.5*a/i;return Math.max(1,Math.round(s))}},{key:"renderBar",value:function(t,e,n){var r=this.props,o=r.role,a=r.shapeRendering,i=r.className,s=r.origin,u=r.polar,c=u&&s?"translate("+s.x+", "+s.y+")":void 0;return l.a.createElement("path",m({d:t,transform:c,className:i,style:e,role:o||"presentation",shapeRendering:a||"auto"},n))}},{key:"render",value:function(){return this.renderBar(this.path,this.style,this.props.events)}}]),e}(l.a.Component);b.propTypes=m({},y.a,{alignment:p.a.oneOf(["start","middle","end"]),datum:p.a.object,horizontal:p.a.bool,padding:p.a.oneOfType([p.a.number,p.a.object]),width:p.a.number,x:p.a.number,y:p.a.number,y0:p.a.number}),e.a=b},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var i=n(4),s=n.n(i),u=n(0),c=n.n(u),l=n(1),f=n.n(l),p=n(8),h=n(11),d=n(22),y=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},g=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),m=function(t){function e(){return r(this,e),o(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return a(e,t),g(e,[{key:"componentWillMount",value:function(){var t=this.calculateAttributes(this.props),e=t.style,n=t.candleWidth;this.style=e,this.candleWidth=n}},{key:"shouldComponentUpdate",value:function(t){var e=this.props,n=e.className,r=e.candleHeight,o=e.datum,a=e.x,i=e.y,s=e.y1,u=e.y2,c=this.calculateAttributes(t),l=c.style,f=c.candleWidth;return!h.a.allSetsEqual([[n,t.className],[r,t.candleHeight],[a,t.x],[i,t.y],[s,t.y1],[u,t.y2],[f,this.candleWidth],[l,this.style],[o,t.datum]])&&(this.style=l,this.candleWidth=f,!0)}},{key:"calculateAttributes",value:function(t){var e=t.data,n=t.datum,r=t.active,o=t.width,a=p.a.evaluateStyle(s()({stroke:"black"},t.style),n,r),i=t.padding.left||t.padding;return{style:a,candleWidth:a.width||.5*(o-2*i)/e.length}}},{key:"renderWick",value:function(t){return c.a.createElement("line",t)}},{key:"renderCandle",value:function(t){return c.a.createElement("rect",t)}},{key:"getCandleProps",value:function(t){var e=t.candleHeight,n=t.x,r=t.y,o=t.events,a=t.role,i=t.className,u=t.shapeRendering||"auto",c=n-this.candleWidth/2;return s()({x:c,y:r,style:this.style,role:a,width:this.candleWidth,height:e,shapeRendering:u,className:i},o)}},{key:"getWickProps",value:function(t){var e=t.x,n=t.y1,r=t.y2,o=t.events,a=t.className,i=t.shapeRendering||"auto",u=t.role||"presentation";return s()({x1:e,x2:e,y1:n,y2:r,style:this.style,role:u,shapeRendering:i,className:a},o)}},{key:"render",value:function(){var t=this.getCandleProps(this.props),e=this.getWickProps(this.props);return c.a.cloneElement(this.props.groupComponent,{},this.renderWick(e),this.renderCandle(t))}}]),e}(c.a.Component);m.propTypes=y({},d.a,{candleHeight:f.a.number,datum:f.a.object,groupComponent:f.a.element,padding:f.a.oneOfType([f.a.number,f.a.object]),width:f.a.number,x:f.a.number,y:f.a.number,y1:f.a.number,y2:f.a.number}),m.defaultProps={groupComponent:c.a.createElement("g",null)},e.a=m},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var i=n(4),s=n.n(i),u=n(0),c=n.n(u),l=n(1),f=n.n(l),p=n(8),h=n(327),d=n(11),y=n(126),g=n(22),m=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},v=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),b=function(t){function e(){return r(this,e),o(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return a(e,t),v(e,[{key:"componentWillMount",value:function(){var t=this.calculateAttributes(this.props),e=t.style,n=t.path;this.style=e,this.path=n}},{key:"shouldComponentUpdate",value:function(t){var e=this.calculateAttributes(t),n=e.style,r=e.path,o=this.props,a=o.className,i=o.interpolation;return!d.a.allSetsEqual([[a,t.className],[i,t.interpolation],[r,this.path],[n,this.style]])&&(this.style=n,this.path=r,!0)}},{key:"getLineFunction",value:function(t){var e=t.polar,n=t.scale,r=t.openCurve,o=e&&!r?this.toNewName(t.interpolation)+"Closed":this.toNewName(t.interpolation);return e?y.lineRadial().defined(h.a).curve(y[o]).angle(Object(h.b)(n)).radius(Object(h.e)(n)):y.line().defined(h.a).curve(y[o]).x(Object(h.c)(n)).y(Object(h.e)(n))}},{key:"calculateAttributes",value:function(t){var e=t.style,n=t.data,r=t.active,o=this.getLineFunction(t);return{style:p.a.evaluateStyle(s()({fill:"none",stroke:"black"},e),n,r),path:o(n)}}},{key:"toNewName",value:function(t){return"curve"+function(t){return t&&t[0].toUpperCase()+t.slice(1)}(t)}},{key:"renderLine",value:function(t,e,n){var r=this.props,o=r.role,a=r.shapeRendering,i=r.className,s=r.polar,u=r.origin,l=s&&u?"translate("+u.x+", "+u.y+")":void 0;return c.a.createElement("path",m({style:e,shapeRendering:a||"auto",role:o||"presentation",d:t,transform:l,className:i},n))}},{key:"render",value:function(){var t=this.props.events;return this.renderLine(this.path,this.style,t)}}]),e}(c.a.Component);b.propTypes=m({},g.a,{interpolation:f.a.string,openCurve:f.a.bool,origin:f.a.object,polar:f.a.bool}),e.a=b},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var i=n(4),s=n.n(i),u=n(0),c=n.n(u),l=n(1),f=n.n(l),p=n(8),h=n(11),d=n(22),y=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},g=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),m=function(t){function e(t){return r(this,e),o(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t))}return a(e,t),g(e,[{key:"componentWillMount",value:function(){this.style=this.getStyle(this.props)}},{key:"shouldComponentUpdate",value:function(t){var e=this.props,n=e.borderWidth,r=e.className,o=e.datum,a=e.x,i=e.y,s=e.errorX,u=e.errorY,c=this.getStyle(t);return!h.a.allSetsEqual([[n,t.borderWidth],[r,t.className],[a,t.x],[i,t.y],[s,t.errorX],[u,t.errorY],[this.style,c],[o,t.datum]])&&(this.style=c,!0)}},{key:"getStyle",value:function(t){var e=t.style,n=t.datum,r=t.active;return p.a.evaluateStyle(s()({stroke:"black"},e),n,r)}},{key:"renderLine",value:function(t,e,n){return c.a.createElement("line",y({},t,{style:e},n))}},{key:"renderBorder",value:function(t,e,n){var r=t.x,o=t.y,a=t.borderWidth,i=t.events,s=t.style,u=t.role,c=t.shapeRendering,l=t.className,f="Right"===n||"Left"===n,p=e["error"+n],h={role:u,shapeRendering:c,className:l,key:"border"+n,x1:f?p:r-a,x2:f?p:r+a,y1:f?o-a:p,y2:f?o+a:p};return this.renderLine(h,s,i)}},{key:"renderCross",value:function(t,e,n){var r=t.x,o=t.y,a=t.events,i=t.style,s=t.role,u=t.shapeRendering,c=t.className,l="Top"===n||"Bottom"===n,f=e["error"+n],p={role:s,shapeRendering:u,className:c,key:"cross"+n,x1:r,x2:l?r:f,y1:o,y2:l?f:o};return this.renderLine(p,i,a)}},{key:"renderErrorBar",value:function(t,e){var n=e.groupComponent;return c.a.cloneElement(n,{},t.errorRight?this.renderBorder(e,t,"Right"):null,t.errorLeft?this.renderBorder(e,t,"Left"):null,t.errorBottom?this.renderBorder(e,t,"Bottom"):null,t.errorTop?this.renderBorder(e,t,"Top"):null,t.errorRight?this.renderCross(e,t,"Right"):null,t.errorLeft?this.renderCross(e,t,"Left"):null,t.errorBottom?this.renderCross(e,t,"Bottom"):null,t.errorTop?this.renderCross(e,t,"Top"):null)}},{key:"render",value:function(){var t=this.props,e=t.x,n=t.y,r=t.borderWidth,o=t.groupComponent,a=t.events,i=t.errorX,s=t.errorY,u=t.scale,l=t.role,f=t.shapeRendering,p=t.className,h=void 0,d=void 0,y=void 0,g=void 0,m=void 0,v=void 0,b=void 0,_=void 0,x=void 0,w=void 0;i&&(h=u.x.range(),y=i[0],g=i[1],x=y>=h[1]?h[1]:y,w=g<=h[0]?h[0]:g),s&&(d=u.y.range(),m=s[1],v=s[0],b=m>=d[0]?d[0]:m,_=v<=d[1]?d[1]:v);var O={x:e,y:n,borderWidth:r,groupComponent:o,events:a,className:p,role:l||"presentation",shapeRendering:f||"auto",style:this.style};return c.a.cloneElement(this.props.groupComponent,{},this.renderErrorBar({errorTop:b,errorBottom:_,errorRight:x,errorLeft:w},O))}}]),e}(c.a.Component);m.propTypes=y({},d.a,{borderWidth:f.a.number,datum:f.a.object,errorX:f.a.oneOfType([f.a.number,f.a.array,f.a.bool]),errorY:f.a.oneOfType([f.a.number,f.a.array,f.a.bool]),groupComponent:f.a.element,x:f.a.number,y:f.a.number}),m.defaultProps={groupComponent:c.a.createElement("g",null)},e.a=m},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var i=n(4),s=n.n(i),u=n(0),c=n.n(u),l=n(1),f=n.n(l),p=n(8),h=n(11),d=n(22),y=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},g=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),m=function(t){function e(){return r(this,e),o(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return a(e,t),g(e,[{key:"componentWillMount",value:function(){this.style=this.getStyle(this.props)}},{key:"shouldComponentUpdate",value:function(t){var e=this.props,n=e.className,r=e.datum,o=e.x1,a=e.x2,i=e.y1,s=e.y2,u=this.getStyle(t);return!h.a.allSetsEqual([[n,t.className],[o,t.x1],[a,t.x2],[i,t.y1],[s,t.y2],[u,this.style],[r,t.datum]])&&(this.style=u,!0)}},{key:"getStyle",value:function(t){var e=t.style,n=t.datum,r=t.active;return p.a.evaluateStyle(s()({stroke:"black"},e),n,r)}},{key:"renderAxisLine",value:function(t,e,n){var r=this.props,o=r.role,a=r.shapeRendering,i=r.className;return c.a.createElement("line",y({},t,{className:i,style:e,role:o||"presentation",shapeRendering:a||"auto",vectorEffect:"non-scaling-stroke"},n))}},{key:"render",value:function(){var t=this.props,e=t.x1,n=t.x2,r=t.y1,o=t.y2,a=t.events;return this.renderAxisLine({x1:e,x2:n,y1:r,y2:o},this.style,a)}}]),e}(c.a.Component);m.propTypes=y({},d.a,{datum:f.a.any,x1:f.a.number,x2:f.a.number,y1:f.a.number,y2:f.a.number}),e.a=m},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var i=n(0),s=n.n(i),u=n(1),c=n.n(u),l=n(8),f=n(11),p=n(22),h=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},d=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),y=function(t){function e(){return r(this,e),o(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return a(e,t),d(e,[{key:"componentWillMount",value:function(){var t=this.calculateAttributes(this.props),e=t.style,n=t.path;this.style=e,this.path=n}},{key:"shouldComponentUpdate",value:function(t){var e=this.calculateAttributes(t),n=e.style,r=e.path,o=this.props,a=o.className,i=o.datum,s=o.slice;return!f.a.allSetsEqual([[a,t.className],[r,this.path],[n,this.style],[i,t.datum],[s,t.slice]])&&(this.style=n,this.path=r,!0)}},{key:"calculateAttributes",value:function(t){var e=t.style,n=t.datum,r=t.active,o=t.pathFunction,a=t.slice;return{style:l.a.evaluateStyle(e,n,r),path:o(a)}}},{key:"renderSlice",value:function(t,e,n){var r=this.props,o=r.role,a=r.shapeRendering,i=r.className,u=r.origin,c=u?"translate("+u.x+", "+u.y+")":void 0;return s.a.createElement("path",h({d:t,className:i,role:o||"presentation",style:e,transform:c,shapeRendering:a||"auto"},n))}},{key:"render",value:function(){return this.renderSlice(this.path,this.style,this.props.events)}}]),e}(s.a.Component);y.propTypes=h({},p.a,{datum:c.a.object,pathFunction:c.a.func,slice:c.a.object}),e.a=y},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var i=n(0),s=n.n(i),u=n(1),c=n.n(u),l=n(8),f=n(11),p=n(22),h=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},d=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),y=function(t){function e(){return r(this,e),o(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return a(e,t),d(e,[{key:"componentWillMount",value:function(){var t=this.calculateAttributes(this.props),e=t.style,n=t.circle,r=t.voronoi;this.style=e,this.circle=n,this.voronoi=r}},{key:"shouldComponentUpdate",value:function(t){var e=this.calculateAttributes(t),n=e.style,r=e.circle,o=e.voronoi,a=this.props,i=a.className,s=a.x,u=a.y,c=a.datum;return!f.a.allSetsEqual([[i,t.className],[s,t.x],[u,t.y],[r,this.circle],[o,this.voronoi],[n,this.style],[c,t.datum]])&&(this.style=n,this.circle=r,this.voronoi=o,!0)}},{key:"calculateAttributes",value:function(t){var e=t.style,n=t.datum,r=t.active;return{style:l.a.evaluateStyle(e,n,r),circle:this.getCirclePath(t),voronoi:this.getVoronoiPath(t)}}},{key:"getVoronoiPath",value:function(t){var e=t.polygon;return Array.isArray(e)&&e.length?"M "+t.polygon.join("L")+" Z":""}},{key:"getCirclePath",value:function(t){if(!t.size)return null;var e=t.x,n=t.y,r=t.datum,o=t.active,a=l.a.evaluateProp(t.size,r,o);return"M "+e+", "+n+" m "+-a+", 0\n      a "+a+", "+a+" 0 1,0 "+2*a+",0\n      a "+a+", "+a+" 0 1,0 "+2*-a+",0"}},{key:"renderPoint",value:function(t,e,n){var r=t.circle&&"clipPath-"+Math.random(),o=t.circle?"url(#"+r+")":void 0,a=this.props,i=a.role,u=a.shapeRendering,c=a.className,l=s.a.createElement("path",h({d:t.circle||t.voronoi,className:c,clipPath:o,style:e,role:i||"presentation",shapeRendering:u||"auto"},n));return t.circle?s.a.createElement("g",null,s.a.createElement("defs",null,s.a.createElement("clipPath",{id:r},s.a.createElement("path",{d:t.voronoi,className:c}))),l):l}},{key:"render",value:function(){var t={circle:this.circle,voronoi:this.voronoi};return this.renderPoint(t,this.style,this.props.events)}}]),e}(s.a.Component);y.propTypes=h({},p.a,{datum:c.a.object,polygon:c.a.array,size:c.a.number,x:c.a.number,y:c.a.number}),e.a=y},function(t,e,n){var r=n(272),o=n(316),a=n(109),i=r&&1/a(new r([,-0]))[1]==1/0?function(t){return new r(t)}:o;t.exports=i},function(t,e,n){function r(t){return"string"==typeof t||!a(t)&&i(t)&&o(t)==s}var o=n(37),a=n(13),i=n(26),s="[object String]";t.exports=r},function(t,e,n){function r(t,e){return o(e,function(e){return t[e]})}var o=n(56);t.exports=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(714);n.d(e,"scaleBand",function(){return r.a}),n.d(e,"scalePoint",function(){return r.b});var o=n(737);n.d(e,"scaleIdentity",function(){return o.a});var a=n(89);n.d(e,"scaleLinear",function(){return a.a});var i=n(748);n.d(e,"scaleLog",function(){return i.a});var s=n(355);n.d(e,"scaleOrdinal",function(){return s.a}),n.d(e,"scaleImplicit",function(){return s.b});var u=n(749);n.d(e,"scalePow",function(){return u.a}),n.d(e,"scaleSqrt",function(){return u.b});var c=n(750);n.d(e,"scaleQuantile",function(){return c.a});var l=n(751);n.d(e,"scaleQuantize",function(){return l.a});var f=n(752);n.d(e,"scaleThreshold",function(){return f.a});var p=n(363);n.d(e,"scaleTime",function(){return p.b});var h=n(768);n.d(e,"scaleUtc",function(){return h.a});var d=n(769);n.d(e,"schemeCategory10",function(){return d.a});var y=n(770);n.d(e,"schemeCategory20b",function(){return y.a});var g=n(771);n.d(e,"schemeCategory20c",function(){return g.a});var m=n(772);n.d(e,"schemeCategory20",function(){return m.a});var v=n(773);n.d(e,"interpolateCubehelixDefault",function(){return v.a});var b=n(774);n.d(e,"interpolateRainbow",function(){return b.b}),n.d(e,"interpolateWarm",function(){return b.c}),n.d(e,"interpolateCool",function(){return b.a});var _=n(775);n.d(e,"interpolateViridis",function(){return _.a}),n.d(e,"interpolateMagma",function(){return _.c}),n.d(e,"interpolateInferno",function(){return _.b}),n.d(e,"interpolatePlasma",function(){return _.d});var x=n(776);n.d(e,"scaleSequential",function(){return x.a})},function(t,e,n){"use strict";function r(){function t(){var t=a().length,r=c[1]<c[0],o=c[r-0],s=c[1-r];e=(s-o)/Math.max(1,t-f+2*p),l&&(e=Math.floor(e)),o+=(s-o-e*(t-f))*h,n=e*(1-f),l&&(o=Math.round(o),n=Math.round(n));var d=Object(i.e)(t).map(function(t){return o+e*t});return u(r?d.reverse():d)}var e,n,o=Object(s.a)().unknown(void 0),a=o.domain,u=o.range,c=[0,1],l=!1,f=0,p=0,h=.5;return delete o.unknown,o.domain=function(e){return arguments.length?(a(e),t()):a()},o.range=function(e){return arguments.length?(c=[+e[0],+e[1]],t()):c.slice()},o.rangeRound=function(e){return c=[+e[0],+e[1]],l=!0,t()},o.bandwidth=function(){return n},o.step=function(){return e},o.round=function(e){return arguments.length?(l=!!e,t()):l},o.padding=function(e){return arguments.length?(f=p=Math.max(0,Math.min(1,e)),t()):f},o.paddingInner=function(e){return arguments.length?(f=Math.max(0,Math.min(1,e)),t()):f},o.paddingOuter=function(e){return arguments.length?(p=Math.max(0,Math.min(1,e)),t()):p},o.align=function(e){return arguments.length?(h=Math.max(0,Math.min(1,e)),t()):h},o.copy=function(){return r().domain(a()).range(c).round(l).paddingInner(f).paddingOuter(p).align(h)},t()}function o(t){var e=t.copy;return t.padding=t.paddingOuter,delete t.paddingInner,delete t.paddingOuter,t.copy=function(){return o(e())},t}function a(){return o(r().paddingInner(1))}e.a=r,e.b=a;var i=n(35),s=n(355)},function(t,e,n){"use strict";n(345)},function(t,e,n){"use strict"},function(t,e,n){"use strict";n(349),n(343),n(718),n(348),n(719),n(350),n(351),n(352)},function(t,e,n){"use strict";e.a=function(t){return function(){return t}}},function(t,e,n){"use strict";e.a=function(t){return t}},function(t,e,n){"use strict";n(349),n(62),n(88),n(205)},function(t,e,n){"use strict";n(346)},function(t,e,n){"use strict"},function(t,e,n){"use strict";n(88)},function(t,e,n){"use strict";n(62),n(88),n(205)},function(t,e,n){"use strict"},function(t,e,n){"use strict"},function(t,e,n){"use strict";n(62)},function(t,e,n){"use strict"},function(t,e,n){"use strict"},function(t,e,n){"use strict";n(354)},function(t,e,n){"use strict";var r=(n(732),n(733),n(206));n.d(e,"a",function(){return r.a});n(734),n(735),n(736)},function(t,e,n){"use strict";n(206)},function(t,e,n){"use strict";function r(){}function o(t,e){var n=new r;if(t instanceof r)t.each(function(t){n.add(t)});else if(t){var o=-1,a=t.length;if(null==e)for(;++o<a;)n.add(t[o]);else for(;++o<a;)n.add(e(t[o],o,t))}return n}var a=n(206),i=a.a.prototype;r.prototype=o.prototype={constructor:r,has:i.has,add:function(t){return t+="",this[a.b+t]=t,this},remove:i.remove,clear:i.clear,values:i.keys,size:i.size,empty:i.empty,each:i.each}},function(t,e,n){"use strict"},function(t,e,n){"use strict"},function(t,e,n){"use strict"},function(t,e,n){"use strict";function r(){function t(t){return+t}var e=[0,1];return t.invert=t,t.domain=t.range=function(n){return arguments.length?(e=o.a.call(n,i.a),t):e.slice()},t.copy=function(){return r().domain(e)},Object(a.b)(t)}e.a=r;var o=n(45),a=n(89),i=n(356)},function(t,e,n){"use strict";var r=n(35),o=n(357);e.a=function(t,e,n){var a,i=t[0],s=t[t.length-1],u=Object(r.g)(i,s,null==e?10:e);switch(n=Object(o.c)(null==n?",f":n),n.type){case"s":var c=Math.max(Math.abs(i),Math.abs(s));return null!=n.precision||isNaN(a=Object(o.e)(u,c))||(n.precision=a),Object(o.b)(n,c);case"":case"e":case"g":case"p":case"r":null!=n.precision||isNaN(a=Object(o.f)(u,Math.max(Math.abs(i),Math.abs(s))))||(n.precision=a-("e"===n.type));break;case"f":case"%":null!=n.precision||isNaN(a=Object(o.d)(u))||(n.precision=a-2*("%"===n.type))}return Object(o.a)(n)}},function(t,e,n){"use strict";n.d(e,"a",function(){return o}),n.d(e,"b",function(){return a});var r,o,a,i=n(358);!function(t){r=Object(i.a)(t),o=r.format,a=r.formatPrefix}({decimal:".",thousands:",",grouping:[3],currency:["$",""]})},function(t,e,n){"use strict";e.a=function(t,e){return function(n,r){for(var o=n.length,a=[],i=0,s=t[0],u=0;o>0&&s>0&&(u+s+1>r&&(s=Math.max(1,r-u)),a.push(n.substring(o-=s,o+s)),!((u+=s+1)>r));)s=t[i=(i+1)%t.length];return a.reverse().join(e)}}},function(t,e,n){"use strict";e.a=function(t){return function(e){return e.replace(/[0-9]/g,function(e){return t[+e]})}}},function(t,e,n){"use strict";e.a=function(t,e){t=t.toPrecision(e);t:for(var n,r=t.length,o=1,a=-1;o<r;++o)switch(t[o]){case".":a=n=o;break;case"0":0===a&&(a=o),n=o;break;case"e":break t;default:a>0&&(a=0)}return a>0?t.slice(0,a)+t.slice(n+1):t}},function(t,e,n){"use strict";var r=n(208);e.a=function(t,e){var n=Object(r.a)(t,e);if(!n)return t+"";var o=n[0],a=n[1];return a<0?"0."+new Array(-a).join("0")+o:o.length>a+1?o.slice(0,a+1)+"."+o.slice(a+1):o+new Array(a-o.length+2).join("0")}},function(t,e,n){"use strict";e.a=function(t){return t}},function(t,e,n){"use strict";var r=n(133);e.a=function(t){return Math.max(0,-Object(r.a)(Math.abs(t)))}},function(t,e,n){"use strict";var r=n(133);e.a=function(t,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Object(r.a)(e)/3)))-Object(r.a)(Math.abs(t)))}},function(t,e,n){"use strict";var r=n(133);e.a=function(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,Object(r.a)(e)-Object(r.a)(t))+1}},function(t,e,n){"use strict";function r(t,e){return(e=Math.log(e/t))?function(n){return Math.log(n/t)/e}:Object(p.a)(e)}function o(t,e){return t<0?function(n){return-Math.pow(-e,n)*Math.pow(-t,1-n)}:function(n){return Math.pow(e,n)*Math.pow(t,1-n)}}function a(t){return isFinite(t)?+("1e"+t):t<0?0:t}function i(t){return 10===t?a:t===Math.E?Math.exp:function(e){return Math.pow(t,e)}}function s(t){return t===Math.E?Math.log:10===t&&Math.log10||2===t&&Math.log2||(t=Math.log(t),function(e){return Math.log(e)/t})}function u(t){return function(e){return-t(-e)}}function c(){function t(){return p=s(a),y=i(a),n()[0]<0&&(p=u(p),y=u(y)),e}var e=Object(d.b)(r,o).domain([1,10]),n=e.domain,a=10,p=s(10),y=i(10);return e.base=function(e){return arguments.length?(a=+e,t()):a},e.domain=function(e){return arguments.length?(n(e),t()):n()},e.ticks=function(t){var e,r=n(),o=r[0],i=r[r.length-1];(e=i<o)&&(f=o,o=i,i=f);var s,u,c,f=p(o),h=p(i),d=null==t?10:+t,g=[];if(!(a%1)&&h-f<d){if(f=Math.round(f)-1,h=Math.round(h)+1,o>0){for(;f<h;++f)for(u=1,s=y(f);u<a;++u)if(!((c=s*u)<o)){if(c>i)break;g.push(c)}}else for(;f<h;++f)for(u=a-1,s=y(f);u>=1;--u)if(!((c=s*u)<o)){if(c>i)break;g.push(c)}}else g=Object(l.h)(f,h,Math.min(h-f,d)).map(y);return e?g.reverse():g},e.tickFormat=function(t,n){if(null==n&&(n=10===a?".0e":","),"function"!=typeof n&&(n=Object(f.a)(n)),t===1/0)return n;null==t&&(t=10);var r=Math.max(1,a*t/e.ticks().length);return function(t){var e=t/y(Math.round(p(t)));return e*a<a-.5&&(e*=a),e<=r?n(t):""}},e.nice=function(){return n(Object(h.a)(n(),{floor:function(t){return y(Math.floor(p(t)))},ceil:function(t){return y(Math.ceil(p(t)))}}))},e.copy=function(){return Object(d.a)(e,c().base(a))},e}e.a=c;var l=n(35),f=n(357),p=n(207),h=n(362),d=n(132)},function(t,e,n){"use strict";function r(t,e){return t<0?-Math.pow(-t,e):Math.pow(t,e)}function o(){function t(t,e){return(e=r(e,n)-(t=r(t,n)))?function(o){return(r(o,n)-t)/e}:Object(i.a)(e)}function e(t,e){return e=r(e,n)-(t=r(t,n)),function(o){return r(t+e*o,1/n)}}var n=1,a=Object(u.b)(t,e),c=a.domain;return a.exponent=function(t){return arguments.length?(n=+t,c(c())):n},a.copy=function(){return Object(u.a)(a,o().exponent(n))},Object(s.b)(a)}function a(){return o().exponent(.5)}e.a=o,e.b=a;var i=n(207),s=n(89),u=n(132)},function(t,e,n){"use strict";function r(){function t(){var t=0,r=Math.max(1,i.length);for(s=new Array(r-1);++t<r;)s[t-1]=Object(o.d)(n,t/r);return e}function e(t){if(!isNaN(t=+t))return i[Object(o.b)(s,t)]}var n=[],i=[],s=[];return e.invertExtent=function(t){var e=i.indexOf(t);return e<0?[NaN,NaN]:[e>0?s[e-1]:n[0],e<s.length?s[e]:n[n.length-1]]},e.domain=function(e){if(!arguments.length)return n.slice();n=[];for(var r,a=0,i=e.length;a<i;++a)null==(r=e[a])||isNaN(r=+r)||n.push(r);return n.sort(o.a),t()},e.range=function(e){return arguments.length?(i=a.b.call(e),t()):i.slice()},e.quantiles=function(){return s.slice()},e.copy=function(){return r().domain(n).range(i)},e}e.a=r;var o=n(35),a=n(45)},function(t,e,n){"use strict";function r(){function t(t){if(t<=t)return l[Object(o.b)(c,t,0,u)]}function e(){var e=-1;for(c=new Array(u);++e<u;)c[e]=((e+1)*s-(e-u)*n)/(u+1);return t}var n=0,s=1,u=1,c=[.5],l=[0,1];return t.domain=function(t){return arguments.length?(n=+t[0],s=+t[1],e()):[n,s]},t.range=function(t){return arguments.length?(u=(l=a.b.call(t)).length-1,e()):l.slice()},t.invertExtent=function(t){var e=l.indexOf(t);return e<0?[NaN,NaN]:e<1?[n,c[0]]:e>=u?[c[u-1],s]:[c[e-1],c[e]]},t.copy=function(){return r().domain([n,s]).range(l)},Object(i.b)(t)}e.a=r;var o=n(35),a=n(45),i=n(89)},function(t,e,n){"use strict";function r(){function t(t){if(t<=t)return n[Object(o.b)(e,t,0,i)]}var e=[.5],n=[0,1],i=1;return t.domain=function(r){return arguments.length?(e=a.b.call(r),i=Math.min(e.length,n.length-1),t):e.slice()},t.range=function(r){return arguments.length?(n=a.b.call(r),i=Math.min(e.length,n.length-1),t):n.slice()},t.invertExtent=function(t){var r=n.indexOf(t);return[e[r-1],e[r]]},t.copy=function(){return r().domain(e).range(n)},t}e.a=r;var o=n(35),a=n(45)},function(t,e,n){"use strict";var r=n(18),o=Object(r.a)(function(){},function(t,e){t.setTime(+t+e)},function(t,e){return e-t});o.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?Object(r.a)(function(e){e.setTime(Math.floor(e/t)*t)},function(e,n){e.setTime(+e+n*t)},function(e,n){return(n-e)/t}):o:null},e.a=o;o.range},function(t,e,n){"use strict";var r=n(18),o=n(36),a=Object(r.a)(function(t){t.setTime(Math.floor(t/o.d)*o.d)},function(t,e){t.setTime(+t+e*o.d)},function(t,e){return(e-t)/o.d},function(t){return t.getUTCSeconds()});e.a=a;a.range},function(t,e,n){"use strict";var r=n(18),o=n(36),a=Object(r.a)(function(t){t.setTime(Math.floor(t/o.c)*o.c)},function(t,e){t.setTime(+t+e*o.c)},function(t,e){return(e-t)/o.c},function(t){return t.getMinutes()});e.a=a;a.range},function(t,e,n){"use strict";var r=n(18),o=n(36),a=Object(r.a)(function(t){var e=t.getTimezoneOffset()*o.c%o.b;e<0&&(e+=o.b),t.setTime(Math.floor((+t-e)/o.b)*o.b+e)},function(t,e){t.setTime(+t+e*o.b)},function(t,e){return(e-t)/o.b},function(t){return t.getHours()});e.a=a;a.range},function(t,e,n){"use strict";var r=n(18),o=n(36),a=Object(r.a)(function(t){t.setHours(0,0,0,0)},function(t,e){t.setDate(t.getDate()+e)},function(t,e){return(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*o.c)/o.a},function(t){return t.getDate()-1});e.a=a;a.range},function(t,e,n){"use strict";function r(t){return Object(o.a)(function(e){e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},function(t,e){t.setDate(t.getDate()+7*e)},function(t,e){return(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*a.c)/a.e})}n.d(e,"b",function(){return i}),n.d(e,"a",function(){return s}),n.d(e,"c",function(){return l});var o=n(18),a=n(36),i=r(0),s=r(1),u=r(2),c=r(3),l=r(4),f=r(5),p=r(6);i.range,s.range,u.range,c.range,l.range,f.range,p.range},function(t,e,n){"use strict";var r=n(18),o=Object(r.a)(function(t){t.setDate(1),t.setHours(0,0,0,0)},function(t,e){t.setMonth(t.getMonth()+e)},function(t,e){return e.getMonth()-t.getMonth()+12*(e.getFullYear()-t.getFullYear())},function(t){return t.getMonth()});e.a=o;o.range},function(t,e,n){"use strict";var r=n(18),o=Object(r.a)(function(t){t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,e){t.setFullYear(t.getFullYear()+e)},function(t,e){return e.getFullYear()-t.getFullYear()},function(t){return t.getFullYear()});o.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Object(r.a)(function(e){e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,n){e.setFullYear(e.getFullYear()+n*t)}):null},e.a=o;o.range},function(t,e,n){"use strict";var r=n(18),o=n(36),a=Object(r.a)(function(t){t.setUTCSeconds(0,0)},function(t,e){t.setTime(+t+e*o.c)},function(t,e){return(e-t)/o.c},function(t){return t.getUTCMinutes()});e.a=a;a.range},function(t,e,n){"use strict";var r=n(18),o=n(36),a=Object(r.a)(function(t){t.setUTCMinutes(0,0,0)},function(t,e){t.setTime(+t+e*o.b)},function(t,e){return(e-t)/o.b},function(t){return t.getUTCHours()});e.a=a;a.range},function(t,e,n){"use strict";var r=n(18),o=n(36),a=Object(r.a)(function(t){t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+e)},function(t,e){return(e-t)/o.a},function(t){return t.getUTCDate()-1});e.a=a;a.range},function(t,e,n){"use strict";function r(t){return Object(o.a)(function(e){e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+7*e)},function(t,e){return(e-t)/a.e})}n.d(e,"b",function(){return i}),n.d(e,"a",function(){return s}),n.d(e,"c",function(){return l});var o=n(18),a=n(36),i=r(0),s=r(1),u=r(2),c=r(3),l=r(4),f=r(5),p=r(6);i.range,s.range,u.range,c.range,l.range,f.range,p.range},function(t,e,n){"use strict";var r=n(18),o=Object(r.a)(function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCMonth(t.getUTCMonth()+e)},function(t,e){return e.getUTCMonth()-t.getUTCMonth()+12*(e.getUTCFullYear()-t.getUTCFullYear())},function(t){return t.getUTCMonth()});e.a=o;o.range},function(t,e,n){"use strict";var r=n(18),o=Object(r.a)(function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCFullYear(t.getUTCFullYear()+e)},function(t,e){return e.getUTCFullYear()-t.getUTCFullYear()},function(t){return t.getUTCFullYear()});o.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Object(r.a)(function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,n){e.setUTCFullYear(e.getUTCFullYear()+n*t)}):null},e.a=o;o.range},function(t,e,n){"use strict";function r(t){var e=new Date(t);return isNaN(e)?null:e}var o=n(366),a=n(210);+new Date("2000-01-01T00:00:00.000Z")||Object(a.c)(o.a)},function(t,e,n){"use strict";var r=n(363),o=n(364),a=n(209);e.a=function(){return Object(r.a)(a.v,a.q,a.u,a.l,a.m,a.o,a.r,a.n,o.b).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)])}},function(t,e,n){"use strict";var r=n(90);e.a=Object(r.a)("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf")},function(t,e,n){"use strict";var r=n(90);e.a=Object(r.a)("393b795254a36b6ecf9c9ede6379398ca252b5cf6bcedb9c8c6d31bd9e39e7ba52e7cb94843c39ad494ad6616be7969c7b4173a55194ce6dbdde9ed6")},function(t,e,n){"use strict";var r=n(90);e.a=Object(r.a)("3182bd6baed69ecae1c6dbefe6550dfd8d3cfdae6bfdd0a231a35474c476a1d99bc7e9c0756bb19e9ac8bcbddcdadaeb636363969696bdbdbdd9d9d9")},function(t,e,n){"use strict";var r=n(90);e.a=Object(r.a)("1f77b4aec7e8ff7f0effbb782ca02c98df8ad62728ff98969467bdc5b0d58c564bc49c94e377c2f7b6d27f7f7fc7c7c7bcbd22dbdb8d17becf9edae5")},function(t,e,n){"use strict";var r=n(38),o=n(59);e.a=Object(o.b)(Object(r.b)(300,.5,0),Object(r.b)(-240,.5,1))},function(t,e,n){"use strict";n.d(e,"c",function(){return a}),n.d(e,"a",function(){return i});var r=n(38),o=n(59),a=Object(o.b)(Object(r.b)(-100,.75,.35),Object(r.b)(80,1.5,.8)),i=Object(o.b)(Object(r.b)(260,.75,.35),Object(r.b)(80,1.5,.8)),s=Object(r.b)();e.b=function(t){(t<0||t>1)&&(t-=Math.floor(t));var e=Math.abs(t-.5);return s.h=360*t-100,s.s=1.5-1.5*e,s.l=.8-.9*e,s+""}},function(t,e,n){"use strict";function r(t){var e=t.length;return function(n){return t[Math.max(0,Math.min(e-1,Math.floor(n*e)))]}}n.d(e,"c",function(){return a}),n.d(e,"b",function(){return i}),n.d(e,"d",function(){return s});var o=n(90);e.a=r(Object(o.a)("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"));var a=r(Object(o.a)("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),i=r(Object(o.a)("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),s=r(Object(o.a)("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"))},function(t,e,n){"use strict";function r(t){function e(e){var r=(e-n)/(a-n);return t(i?Math.max(0,Math.min(1,r)):r)}var n=0,a=1,i=!1;return e.domain=function(t){return arguments.length?(n=+t[0],a=+t[1],e):[n,a]},e.clamp=function(t){return arguments.length?(i=!!t,e):i},e.interpolator=function(n){return arguments.length?(t=n,e):t},e.copy=function(){return r(t).domain([n,a]).clamp(i)},Object(o.b)(e)}e.a=r;var o=n(89)},function(t,e,n){"use strict";e.a={continuousTransitions:function(){return{onLoad:{duration:2e3},onExit:{duration:500},onEnter:{duration:500}}},continuousPolarTransitions:function(){return{onLoad:{duration:2e3,before:function(){return{_y:0,_y1:0,_y0:0}},after:function(t){return{_y:t._y,_y1:t._y1,_y0:t._y0}}},onExit:{duration:500,before:function(t,e,n){var r=function(t){return(0===e?n[e+1]:n[e-1])[t]};return{_x:r("_x"),_y:r("_y"),_y0:r("_y0")}}},onEnter:{duration:500,before:function(t,e,n){var r=function(t){return(0===e?n[e+1]:n[e-1])[t]};return{_x:r("_x"),_y:r("_y"),_y0:r("_y0")}},after:function(t){return{_x:t._x,_y:t._y,_y1:t._y1,_y0:t._y0}}}}},discreteTransitions:function(){return{onLoad:{duration:2e3,before:function(){return{opacity:0}},after:function(t){return t}},onExit:{duration:600,before:function(){return{opacity:0}}},onEnter:{duration:600,before:function(){return{opacity:0}},after:function(t){return t}}}}}},function(t,e,n){"use strict";function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}var o=n(779),a=n.n(o),i=n(79),s=n.n(i),u=n(131),c=n.n(u),l=n(120),f=n.n(l),p=n(201),h=n(203),d=n(8),y=n(11);e.a={getDomain:function(t,e){var n=this.getDomainFromProps(t,e);if(n)return this.padDomain(n,t,e);var r=this.getDomainFromCategories(t,e);if(r)return this.padDomain(r,t,e);var o=p.a.getData(t),a=this.getDomainFromData(t,e,o);return this.cleanDomain(this.padDomain(a,t,e),t,e)},cleanDomain:function(t,e,n){if("log"!==h.a.getScaleType(e,n))return t;return function(t){var e=t[0]<0||t[1]<0?-1/Number.MAX_SAFE_INTEGER:1/Number.MAX_SAFE_INTEGER;return[0===t[0]?e:t[0],0===t[1]?e:t[1]]}(t)},getDomainWithZero:function(t,e){var n=this.getDomainFromProps(t,e);if(n)return this.cleanDomain(this.padDomain(n,t,e),t,e);var o=t.horizontal,a=function(t,n){var a=d.a.getCurrentAxis(e,o);if("x"===a)return t;if(!n)return[y.a.getMinValue(t,0),y.a.getMaxValue(t,0)];var i=f()(n),s=i.map(function(t){return t["_"+a+"0"]||0}),u=i.map(function(t){return t["_"+a+"1"]||t["_"+a]||0});return[y.a.getMinValue([].concat(r(t),r(s))),y.a.getMaxValue([].concat(r(t),r(u)))]},i=this.getDomainFromCategories(t,e);if(i)return this.cleanDomain(this.padDomain(a(i),t,e),t,e);var s=p.a.getData(t),u=a(this.getDomainFromData(t,e,s),s);return this.cleanDomain(this.padDomain(u,t,e),t,e)},getDomainFromProps:function(t,e){return t.domain&&t.domain[e]?t.domain[e]:t.domain&&Array.isArray(t.domain)?t.domain:void 0},getDomainFromData:function(t,e,n){var r=d.a.getCurrentAxis(e,t.horizontal),o=f()(n),a=o.map(function(t){return void 0===t["_"+r+"1"]?t["_"+r]:t["_"+r+"1"]}),i=o.map(function(t){return void 0===t["_"+r+"0"]?t["_"+r]:t["_"+r+"0"]});if(a.length<1)return h.a.getBaseScale(t,e).domain();var s=y.a.getMinValue(i),u=y.a.getMaxValue(a),c=void 0;c=+s==+u?this.getSinglePointDomain(u):[s,u];var l=Math.abs((t.startAngle||0)-(t.endAngle||360));return t.polar&&"x"===e&&360===l?this.getSymmetricDomain(c,a):c},getSinglePointDomain:function(t){var e=Math.pow(10,-10);return[t instanceof Date?new Date(+t-1):t-e,t instanceof Date?new Date(+t+1):t+e]},getSymmetricDomain:function(t,e){var n=a()(e.sort(function(t,e){return t-e})),r=n[1]-n[0];return[t[0],t[1]+r]},getDomainFromTickValues:function(t,e){var n=void 0;if(d.a.stringTicks(t))n=[1,t.tickValues.length];else{var r=t.tickValues.map(function(t){return+t}),o=[y.a.getMinValue(r),y.a.getMaxValue(r)];n=t.polar&&"x"===e?this.getSymmetricDomain(o,r):o}return d.a.isVertical(t)&&n.reverse(),n},getDomainFromCategories:function(t,e){var n=p.a.getCategories(t,e);if(n){var r=y.a.containsStrings(n)?p.a.getStringsFromCategories(t,e):[],o=0===r.length?null:r.reduce(function(t,e,n){return t[e]=n+1,t},{}),a=o?n.map(function(t){return o[t]}):n;return[y.a.getMinValue(a),y.a.getMaxValue(a)]}},getDomainFromGroupedData:function(t,e,n){var o=t.horizontal,a="x"===e&&!o||"y"===e&&o;if(a&&t.categories)return this.getDomainFromCategories(t,e);var i=this.getDomainFromData(t,e,n),s=a?[]:this.getCumulativeData(t,e,n),u=s.map(function(t){return t.reduce(function(t,e){return e>0?+e+ +t:t},0)}),c=s.map(function(t){return t.reduce(function(t,e){return e<0?+e+ +t:t},0)}),l=Math.min.apply(Math,r(c)),f=l<0?l:y.a.getMinValue(i),p=y.a.getMaxValue.apply(y.a,[i].concat(r(u)));return+f==+p?this.getSinglePointDomain(f):[f,p]},getCumulativeData:function(t,e,n){var r=d.a.getCurrentAxis(e,t.horizontal),o="x"===r?"y":"x",a=[],i=[];n.forEach(function(t){t.forEach(function(t){void 0===t.category||c()(a,t.category)?c()(i,t["_"+o])||i.push(t["_"+o]):a.push(t.category)})});return 0===a.length?function(){return i.map(function(t,e){return n.map(function(t){return t[e]&&t[e]["_"+r]})})}():function(){return a.map(function(t){return n.reduce(function(n,r){return r.category===t?n.concat(r["_"+e]):n},[])})}()},getDomainPadding:function(t,e){var n=function(t){return Array.isArray(t)?{left:t[0],right:t[1]}:{left:t,right:t}};return n(s()(t.domainPadding)?t.domainPadding[e]:t.domainPadding)},padDomain:function(t,e,n){if(!e.domainPadding)return t;var o=this.getDomainPadding(e,n);if(!o.left&&!o.right)return t;var a=y.a.getMinValue(t),i=y.a.getMaxValue(t),s=d.a.getRange(e,n),u=Math.abs(Math.max.apply(Math,r(s))-Math.min.apply(Math,r(s))),c={left:Math.abs(i-a)*o.left/u,right:Math.abs(i-a)*o.right/u},l={min:a>=0&&a-c.left<=0?0:a.valueOf()-c.left,max:i<=0&&i+c.right>=0?0:i.valueOf()+c.right},f={left:Math.abs(l.max-l.min)*o.left/u,right:Math.abs(l.max-l.min)*o.right/u},p={min:a>=0&&a-f.left<=0?0:a.valueOf()-f.left,max:i>=0&&i+f.right<=0?0:i.valueOf()+f.right};return a instanceof Date||i instanceof Date?[new Date(p.min),new Date(p.max)]:[p.min,p.max]}}},function(t,e,n){function r(t){return t&&t.length?o(t):[]}var o=n(780);t.exports=r},function(t,e,n){function r(t,e){for(var n=-1,r=t.length,a=0,i=[];++n<r;){var s=t[n],u=e?e(s):s;if(!n||!o(u,c)){var c=u;i[a++]=0===s?0:s}}return i}var o=n(41);t.exports=r},function(t,e,n){"use strict";var r=n(9),o=n.n(r),a=n(0),i=n.n(a),s=n(201),u=n(11);e.a={getParentSVG:function(t){return"svg"===t.nodeName?t:this.getParentSVG(t.parentNode)},getTransformationMatrix:function(t){return t.getScreenCTM().inverse()},getSVGEventCoordinates:function(t){if("undefined"==typeof document)return{x:t.nativeEvent.locationX,y:t.nativeEvent.locationY};t=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t;var e=this.getParentSVG(t.target),n=this.getTransformationMatrix(e);return{x:this.transformTarget(t.clientX,n,"x"),y:this.transformTarget(t.clientY,n,"y")}},transformTarget:function(t,e,n){var r=e.a,o=e.d,a=e.e,i=e.f;return"y"===n?o*t+i:r*t+a},getDomainCoordinates:function(t,e){var n=t.scale;return e=e||{x:n.x.domain(),y:n.y.domain()},{x:[n.x(e.x[0]),n.x(e.x[1])],y:[n.y(e.y[0]),n.y(e.y[1])]}},getDataCoordinates:function(t,e,n,r){if(t.polar){var o=t.origin||{x:0,y:0},a=n-o.x,i=r-o.y,s=Math.abs(a*Math.sqrt(1+Math.pow(-i/a,2))),u=(-Math.atan2(i,a)+2*Math.PI)%(2*Math.PI);return{x:e.x.invert(u),y:e.y.invert(s)}}return{x:e.x.invert(n),y:e.y.invert(r)}},getBounds:function(t){var e=t.x1,n=t.x2,r=t.y1,o=t.y2,a=t.scale,i=this.getDataCoordinates(t,a,e,r),s=this.getDataCoordinates(t,a,n,o),c=function(t,e){return[u.a.getMinValue([t,e]),u.a.getMaxValue([t,e])]};return{x:c(i.x,s.x),y:c(i.y,s.y)}},getDatasets:function(t){if(t.data)return[{data:t.data}];for(var e=i.a.Children.toArray(t.children).reverse(),n=e.length,r=[],a=0,u=0;n>0;){var c=e[--n],l=c.props.name||u;if(u++,c.type&&"axis"===c.type.role)u++;else if(c.type&&o()(c.type.getData))r[a++]={childName:l,data:c.type.getData(c.props)};else if(c.props&&c.props.children)for(var f=i.a.Children.toArray(c.props.children),p=f.length,h=0;h<p;h++)e[n++]=f[h];else r[a++]={childName:l,data:function(t){var e=s.a.getData(t);return Array.isArray(e)&&e.length>0?e:void 0}(c.props)}}return r},filterDatasets:function(t,e){var n=this,r=t.reduce(function(t,r){var o=n.getSelectedData(r.data,e);return t=o?t.concat({childName:r.childName,eventKey:o.eventKey,data:o.data}):t},[]);return r.length?r:null},getSelectedData:function(t,e){var n=e.x,r=e.y,o=function(t){return t._x>=n[0]&&t._x<=n[1]&&t._y>=r[0]&&t._y<=r[1]},a=t.reduce(function(t,e,n){return o(e)&&(t.data.push(e),t.eventKey.push(void 0===e.eventKey?n:e.eventKey)),t},{data:[],eventKey:[]});return a.data.length>0?a:null}}},function(t,e,n){"use strict";var r=n(783);n.d(e,"i",function(){return r.a});var o=n(795);n.d(e,"m",function(){return o.a});var a=n(367);n.d(e,"e",function(){return a.a});var i=n(369);n.d(e,"n",function(){return i.a});var s=n(797);n.d(e,"d",function(){return s.a});var u=n(799);n.d(e,"f",function(){return u.a});var c=n(801);n.d(e,"o",function(){return c.a});var l=n(803);n.d(e,"l",function(){return l.a});var f=n(804);n.d(e,"q",function(){return f.a});var p=n(805);n.d(e,"k",function(){return p.a});var h=n(807);n.d(e,"r",function(){return h.a});var d=n(813);n.d(e,"h",function(){return d.a});var y=n(374);n.d(e,"A",function(){return y.b}),n.d(e,"p",function(){return y.a});var g=n(376);n.d(e,"w",function(){return g.a}),n.d(e,"g",function(){return g.b});var m=n(377);n.d(e,"B",function(){return m.b}),n.d(e,"s",function(){return m.a});var v=n(379);n.d(e,"z",function(){return v.a}),n.d(e,"j",function(){return v.b});var b=n(381);n.d(e,"C",function(){return b.b}),n.d(e,"t",function(){return b.a});var _=n(818);n.d(e,"x",function(){return _.a}),n.d(e,"y",function(){return _.b});var x=n(213);n.d(e,"a",function(){return x.a});var w=n(380);n.d(e,"b",function(){return w.a});var O=n(375);n.d(e,"c",function(){return O.a});var C=n(378);n.d(e,"u",function(){return C.a});var k=n(382);n.d(e,"v",function(){return k.a})},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var i=n(5),s=n.n(i),u=n(1),c=n.n(u),l=n(0),f=n.n(l),p=n(3),h=n(367),d=n(369),y=n(792),g=n(63),m=n(91),v=n(23),b=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},_=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),x={width:450,height:300,padding:50},w=function(t){function e(t){r(this,e);var n=o(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.state={},t.animate&&(n.state={nodesShouldLoad:!1,nodesDoneLoad:!1,animating:!0}),n.setAnimationState=m.a.setAnimationState.bind(n),n.events=m.a.getAllEvents(t),n}return a(e,t),_(e,[{key:"componentWillMount",value:function(){this.events=m.a.getAllEvents(this.props)}},{key:"componentWillReceiveProps",value:function(t){this.props.animate&&this.setAnimationState(this.props,t),this.events=m.a.getAllEvents(t)}},{key:"getStyles",value:function(t){var e=t.style&&t.style.parent;return{parent:s()({},e,{height:"100%",width:"100%",userSelect:"none"})}}},{key:"getAxisProps",value:function(t,e,n){var r=n.domain,o=n.scale,a=n.originSign,i=n.stringMap,s=n.categories,u=n.horizontal,c=t.props||{},l=t.type.getAxis(c),f=g.a.getCurrentAxis(l,u),p="x"===l?"y":"x",h=y.a.getAxisOffset(e,n),d="y"===l?void 0:h.y,m="x"===l?void 0:h.x,v=!1!==c.crossAxis,b=g.a.getOrientation(t,l,a[p]);return{stringMap:i[f],categories:s[f],startAngle:e.startAngle,endAngle:e.endAngle,innerRadius:e.innerRadius,domain:r,scale:o,offsetY:void 0!==c.offsetY?c.offsetY:d,offsetX:void 0!==c.offsetX?c.offsetX:m,crossAxis:v,orientation:b}}},{key:"getChildProps",value:function(t,e,n){var r=g.a.findAxisComponents([t]);return r.length>0?this.getAxisProps(r[0],e,n):{categories:n.categories,domain:n.domain,range:n.range,scale:n.scale}}},{key:"getCalculatedProps",value:function(t,e){var n=this.getStyles(t),r=e.some(function(t){return t.props&&t.props.horizontal}),o={x:g.a.getAxisComponent(e,"x"),y:g.a.getAxisComponent(e,"y")},a={x:y.a.getDomain(t,"x",e),y:y.a.getDomain(t,"y",e)},i={x:t.polar?p.o.getPolarRange(t,"x"):p.o.getRange(t,"x"),y:t.polar?p.o.getPolarRange(t,"y"):p.o.getRange(t,"y")},s={x:p.v.getScaleFromProps(t,"x")||o.x&&o.x.type.getScale(o.x.props)||p.v.getDefaultScale(),y:p.v.getScaleFromProps(t,"y")||o.y&&o.y.type.getScale(o.y.props)||p.v.getDefaultScale()},u={x:s.x.domain(a.x).range(i.x),y:s.y.domain(a.y).range(i.y)},c=t.polar?p.o.getPolarOrigin(t):g.a.getOrigin(a),l={x:g.a.getOriginSign(c.x,a.x),y:g.a.getOriginSign(c.y,a.y)};return{axisComponents:o,categories:{x:m.a.getCategories(t,"x",e),y:m.a.getCategories(t,"y",e)},domain:a,range:i,horizontal:r,scale:u,stringMap:{x:y.a.createStringMap(t,"x",e),y:y.a.createStringMap(t,"y",e)},style:n,origin:c,originSign:l,defaultDomainPadding:y.a.getDefaultDomainPadding(e,r),padding:p.o.getPadding(t)}}},{key:"getNewChildren",value:function(t,e,n){var r=this,o=n.style.parent,a=m.a.getAnimationProps.bind(this),i=t.height,u=t.polar,c=t.theme,l=t.width,p=n.origin;return e.map(function(e,h){var d=Array.isArray(e.props.style)?e.props.style:s()({},e.props.style,{parent:o}),y=r.getChildProps(e,t,n),g=s()({height:i,polar:u,theme:c,width:l,style:d,origin:u?p:void 0,animate:a(t,e,h),padding:n.padding,key:h,standalone:!1},y);return f.a.cloneElement(e,g)})}},{key:"renderContainer",value:function(t,e){var n=s()({},t.props,e);return f.a.cloneElement(t,n)}},{key:"getContainerProps",value:function(t,e){var n=t.width,r=t.height,o=t.standalone,a=t.theme,i=t.polar,s=e.domain,u=e.scale,c=e.style,l=e.origin,f=e.radius;return{domain:s,scale:u,width:n,height:r,standalone:o,theme:a,style:c.parent,polar:i,radius:f,origin:i?l:void 0}}},{key:"render",value:function(){var t=this.state&&this.state.nodesWillExit?this.state.oldProps||this.props:this.props,e=p.o.modifyProps(t,x,"chart"),n=e.eventKey,r=e.containerComponent,o=e.groupComponent,a=e.standalone,i=t.polar?e.defaultPolarAxes:e.defaultAxes,s=y.a.getChildComponents(e,i),u=this.getCalculatedProps(e,s),c=this.getNewChildren(e,s,u),l=a?this.getContainerProps(e,u):{},h=a?this.renderContainer(r,l):o;return this.events?f.a.createElement(p.H,{events:this.events,eventKey:n,container:h},c):f.a.cloneElement(h,h.props,c)}}]),e}(f.a.Component);w.displayName="VictoryChart",w.propTypes=b({},v.a,{children:c.a.oneOfType([c.a.arrayOf(c.a.node),c.a.node]),defaultAxes:c.a.shape({independent:c.a.element,dependent:c.a.element}),defaultPolarAxes:c.a.shape({independent:c.a.element,dependent:c.a.element}),endAngle:c.a.number,innerRadius:p.u.nonNegative,startAngle:c.a.number}),w.defaultProps={containerComponent:f.a.createElement(p.D,null),defaultAxes:{independent:f.a.createElement(h.a,null),dependent:f.a.createElement(h.a,{dependentAxis:!0})},defaultPolarAxes:{independent:f.a.createElement(d.a,null),dependent:f.a.createElement(d.a,{dependentAxis:!0})},groupComponent:f.a.createElement("g",null),standalone:!0,theme:p.I.grayscale},w.expectedComponents=["groupComponent","containerComponent"],e.a=w},function(t,e,n){"use strict";function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}var o=n(9),a=n.n(o),i=n(368),s=n.n(i),u=n(5),c=n.n(u),l=n(63),f=n(3),p={top:-1,left:-1,right:1,bottom:1};e.a={evaluateProp:function(t,e,n){return a()(t)?t(e,n):t},evaluateStyle:function(t,e,n){var r=this;return t&&Object.keys(t).some(function(e){return a()(t[e])})?Object.keys(t).reduce(function(o,a){return o[a]=r.evaluateProp(t[a],e,n),o},{}):t},getDomain:function(t,e){var n=this.getAxis(t);if(!e||e===n){var r=void 0;Array.isArray(t.domain)?r=t.domain:t.domain&&t.domain[n]?r=t.domain[n]:Array.isArray(t.tickValues)&&t.tickValues.length>1&&(r=f.k.getDomainFromTickValues(t,e));var o=f.k.padDomain(r,t,n);return r?f.k.cleanDomain(o,t,n):void 0}},getAxis:function(t,e){if(t.orientation){return{top:"x",bottom:"x",left:"y",right:"y"}[t.orientation]}var n=t.dependentAxis?"dependent":"independent",r={dependent:"x",independent:"y"},o={independent:"x",dependent:"y"};return e?r[n]:o[n]},getScale:function(t){var e=this.getAxis(t),n=f.v.getBaseScale(t,e),r=this.getDomain(t)||n.domain();return n.range(f.o.getRange(t,e)),n.domain(r),n},getStyleObject:function(t){var e=t.theme,n=t.dependentAxis,r=e&&e.axis&&e.axis.style,o=n?"dependentAxis":"independentAxis",a=e&&e[o]&&e[o].style;return r&&a?s()({},a,r):a||r},getStyles:function(t,e){var n=t.style||{};e=e||{};var r={height:"100%",width:"100%"};return{parent:c()(n.parent,e.parent,r),axis:c()({},n.axis,e.axis),axisLabel:c()({},n.axisLabel,e.axisLabel),grid:c()({},n.grid,e.grid),ticks:c()({},n.ticks,e.ticks),tickLabels:c()({},n.tickLabels,e.tickLabels)}},getTickProps:function(t,e,n){var r=t.position,o=t.transform;return{x1:o.x,y1:o.y,x2:o.x+r.x2,y2:o.y+r.y2,style:e,datum:n}},getTickLabelProps:function(t,e,n,r,o){var a=t.position,i=t.transform;return{style:e,x:i.x+a.x,y:i.y+a.y,verticalAnchor:n.verticalAnchor,textAnchor:n.textAnchor,angle:e.angle,text:o,datum:r}},getGridProps:function(t,e,n){var r=t.edge,o=t.transform;return{x1:o.x,y1:o.y,x2:r.x+o.x,y2:r.y+o.y,style:e,datum:n}},getAxisProps:function(t,e,n){var r=e.style,o=e.padding,a=e.isVertical,i=t.width,s=t.height;return{style:r.axis,x1:a?n.x:o.left+n.x,x2:a?n.x:i-o.right+n.x,y1:a?o.top+n.y:n.y,y2:a?s-o.bottom+n.y:n.y}},getLayoutProps:function(t,e){var n=this.getOffset(t,e);return{globalTransform:this.getTransform(t,e,n),gridOffset:this.getGridOffset(t,e,n),gridEdge:this.getGridEdge(t,e)}},getEvaluatedStyles:function(t,e,n){return{tickStyle:this.evaluateStyle(t.ticks,e,n),labelStyle:this.evaluateStyle(t.tickLabels,e,n),gridStyle:this.evaluateStyle(t.grid,e,n)}},getRole:function(t){return t.dependentAxis?t.theme&&t.theme.dependentAxis?"dependentAxis":"axis":t.theme&&t.theme.independentAxis?"independentAxis":"axis"},getShallowMergedThemeProps:function(t,e){var n=t.theme.axis||{};return c()({},t.theme[e],n)},modifyProps:function(t,e,n){return"axis"!==n&&(t.theme[n]=this.getShallowMergedThemeProps(t,n)),f.o.modifyProps(t,e,n)},getBaseProps:function(t,e){var n=this,r=this.getRole(t);t=this.modifyProps(t,e,r);var o=this.getCalculatedValues(t),a=o.style,i=o.orientation,s=o.isVertical,u=o.scale,c=o.ticks,l=o.tickFormat,f=o.anchors,p=o.domain,h=o.stringTicks,d=t,y=d.width,g=d.height,m=d.standalone,v=d.theme,b=d.polar,_=d.padding,x=this.getLayoutProps(t,o),w=x.globalTransform,O=x.gridOffset,C=x.gridEdge,k=this.getAxisProps(t,o,w),M=this.getAxisLabelProps(t,o,w),P={parent:{style:a.parent,ticks:c,scale:u,width:y,height:g,domain:p,standalone:m,theme:v,polar:b,padding:_}};return c.reduce(function(t,e,r){var o=h?h[r]:e,p=n.getEvaluatedStyles(a,o,r),d={position:n.getTickPosition(p,i,s),transform:n.getTickTransform(u(e),w,s)},y={edge:C,transform:{x:s?-O.x+w.x:u(e)+w.x,y:s?u(e)+w.y:O.y+w.y}};return t[r]={axis:k,axisLabel:M,ticks:n.getTickProps(d,p.tickStyle,e),tickLabels:n.getTickLabelProps(d,p.labelStyle,f,e,l(e,r,c)),grid:n.getGridProps(y,p.gridStyle,e)},t},P)},getCalculatedValues:function(t){var e=this.getStyleObject(t),n=this.getStyles(t,e),r=f.o.getPadding(t),o=t.orientation||(t.dependentAxis?"left":"bottom"),a=f.o.isVertical(t),i=this.getLabelPadding(t,n),s=f.o.stringTicks(t)?t.tickValues:void 0,u=this.getScale(t),c=this.getDomain(t),p=l.a.getTicks(t,u,t.crossAxis),h=l.a.getTickFormat(t,u);return{style:n,padding:r,orientation:o,isVertical:a,labelPadding:i,stringTicks:s,anchors:this.getAnchors(o,a),scale:u,ticks:p,tickFormat:h,domain:c}},getAxisLabelProps:function(t,e,n){var r=e.style,o=e.orientation,a=e.padding,i=e.labelPadding,s=e.isVertical,u=p[o],c=a.left+a.right,l=a.top+a.bottom,f=u<0?"end":"start",h=r.axisLabel,d=s?-90:0;return{x:s?n.x+u*i:(t.width-c)/2+a.left+n.x,y:s?(t.height-l)/2+a.top+n.y:u*i+n.y,verticalAnchor:h.verticalAnchor||f,textAnchor:h.textAnchor||"middle",angle:h.angle||d,style:h,text:t.label}},getAnchors:function(t,e){var n={top:"end",left:"end",right:"start",bottom:"start"},r=n[t];return{textAnchor:e?r:"middle",verticalAnchor:e?"middle":r}},getLabelPadding:function(t,e){var n=e.axisLabel||{};if(void 0!==n.padding&&null!==n.padding)return n.padding;var r=f.o.isVertical(t),o=n.fontSize||14;return t.label?o*(r?2.3:1.6):0},getOffset:function(t,e){var n=this,o=e.style,a=e.padding,i=e.isVertical,s=e.orientation,u=e.labelPadding,c=e.stringTicks,l=e.ticks,f="right"===s?a.right:a.left,p="top"===s?a.top:a.bottom,h=o.axisLabel.fontSize||14,d=null!==t.offsetX&&void 0!==t.offsetX?t.offsetX:f,y=null!==t.offsetY&&void 0!==t.offsetY?t.offsetY:p,g=l.map(function(e){var r=c?t.tickValues[e-1]:e;return n.evaluateStyle(o.ticks,r).size||0}),m=h+2*Math.max.apply(Math,r(g))+u,v=1.2*h,b=i?m:v,_=i?v:m;return{x:null!==d&&void 0!==d?d:b,y:null!==y&&void 0!==y?y:_}},getTransform:function(t,e,n){var r=e.orientation;return{top:{x:0,y:n.y},bottom:{x:0,y:t.height-n.y},left:{x:n.x,y:0},right:{x:t.width-n.x,y:0}}[r]},getTickPosition:function(t,e,n){var r=t.tickStyle,o=t.labelStyle,a=r.size||0,i=r.padding||0,s=o.padding||0,u=a+i+s,c=p[e];return{x:n?c*u:0,x2:n?c*a:0,y:n?0:c*u,y2:n?0:c*a}},getTickTransform:function(t,e,n){return{x:n?e.x:t+e.x,y:n?t+e.y:e.y}},getGridEdge:function(t,e){var n=e.orientation,r=e.padding,o=e.isVertical,a=-p[n];return{x:o?a*(t.width-(r.left+r.right)):0,y:o?0:a*(t.height-(r.top+r.bottom))}},getGridOffset:function(t,e,n){var r=e.padding,o=e.orientation,a="right"===o?r.right:r.left,i="top"===o?r.top:r.bottom;return{x:t.crossAxis?n.x-a:0,y:t.crossAxis?n.y-i:0}}}},function(t,e,n){function r(t,e,n,i,s,u){return a(t)&&a(e)&&(u.set(e,t),o(t,e,void 0,r,u),u.delete(e)),t}var o=n(183),a=n(14);t.exports=r},function(t,e,n){var r=n(183),o=n(82),a=o(function(t,e,n,o){r(t,e,n,o)});t.exports=a},function(t,e,n){var r=n(280),o=n(788),a=n(28),i=o(function(t,e,n){t[e]=n},r(a));t.exports=i},function(t,e,n){function r(t,e){return function(n,r){return o(n,t,e(r),{})}}var o=n(789);t.exports=r},function(t,e,n){function r(t,e,n,r){return o(t,function(t,o,a){e(r,n(t),o,a)}),r}var o=n(168);t.exports=r},function(t,e,n){"use strict";var r=n(9),o=n.n(r),a=n(368),i=n.n(a),s=n(5),u=n.n(s),c=n(791),l=n.n(c),f=n(4),p=n.n(f),h=n(63),d=n(3);e.a={getCalculatedValues:function(t){var e=this.getStyleObject(t),n=this.getStyles(t,e),r=d.o.getPadding(t),o=this.getAxis(t),a=this.getAxisType(t),i=d.o.stringTicks(t)?t.tickValues:void 0,s=this.getDomain(t,o),u=this.getRange(t,o),c=this.getScale(t),l=h.a.getTicks(t,c);return{axis:o,style:n,padding:r,stringTicks:i,axisType:a,scale:c,ticks:"angular"===a?this.filterTicks(l,c):l,tickFormat:h.a.getTickFormat(t,c),domain:s,range:u,radius:this.getRadius(t)}},evaluateProp:function(t,e,n){return o()(t)?t(e,n):t},evaluateStyle:function(t,e,n){var r=this;return t&&Object.keys(t).some(function(e){return o()(t[e])})?Object.keys(t).reduce(function(o,a){return o[a]=r.evaluateProp(t[a],e,n),o},{}):t},getDomain:function(t,e){var n=this.getAxis(t);if(!e||e===n){var r=void 0;Array.isArray(t.domain)?r=t.domain:t.domain&&t.domain[n]?r=t.domain[n]:Array.isArray(t.tickValues)&&t.tickValues.length>1&&(r=this.getDomainFromTickValues(t,e));var o=d.k.padDomain(r,t,n);return r?d.k.cleanDomain(o,t,n):void 0}},getDomainFromTickValues:function(t,e){var n=t.tickValues,r=t.startAngle,o=void 0===r?0:r,a=t.endAngle,i=void 0===a?360:a;if(d.o.stringTicks(t))return[1,n.length];var s=n.map(function(t){return+t}),u=[d.g.getMinValue(s),d.g.getMaxValue(s)];return"x"===e&&360===Math.abs(o-i)?d.k.getSymmetricDomain(u,s):u},getRadius:function(t){var e=d.o.getPadding(t),n=e.left,r=e.right,o=e.top,a=e.bottom,i=t.width,s=t.height;return Math.min(i-n-r,s-o-a)/2},getRange:function(t,e){if(t.range&&t.range[e])return t.range[e];if(t.range&&Array.isArray(t.range))return t.range;if("angular"===this.getAxisType(t))return[d.o.degreesToRadians(t.startAngle),d.o.degreesToRadians(t.endAngle)];var n=this.getRadius(t);return[t.innerRadius||0,n]},getAxis:function(t,e){var n=t.dependentAxis?"y":"x",r="x"===n?"y":"x";return e?r:n},getAxisType:function(t){var e=t.dependentAxis?"radial":"angular",n="angular"===e?"radial":"angular";return t.horizontal?n:e},getScale:function(t){var e=this.getAxis(t),n=d.v.getBaseScale(t,e),r=this.getDomain(t,e)||n.domain(),o=this.getRange(t,e);return n.range(o),n.domain(r),n},getStyleObject:function(t){var e=t.theme,n=t.dependentAxis,r=e&&e.axis&&e.axis.style,o=n?"dependentAxis":"independentAxis",a=e&&e[o]&&e[o].style;return r&&a?i()({},a,r):a||r},getStyles:function(t,e){var n=t.style||{};e=e||{};var r={height:"auto",width:"100%"};return{parent:u()(r,n.parent,e.parent),axis:u()({},n.axis,e.axis),axisLabel:u()({},n.axisLabel,e.axisLabel),grid:u()({},n.grid,e.grid),ticks:u()({},n.ticks,e.ticks),tickLabels:u()({},n.tickLabels,e.tickLabels)}},getAxisAngle:function(t){var e=t.axisAngle,n=t.startAngle,r=t.axisValue,o=t.dependentAxis,a=t.scale,i="y"===this.getAxis(t)?"x":"y";return void 0!==r&&o&&void 0!==a[i]?d.o.radiansToDegrees(a.x(r)):e||n},getTickProps:function(t,e,n,r){var o=e.axisType,a=e.radius,i=e.scale,s=e.style,u=e.stringTicks,c=u?u[r]:n,l=this.getEvaluatedStyles(s,c,r),f=l.tickStyle,p=f.padding||0,h=p,d="radial"===o?this.getAxisAngle(t,i):void 0;return"angular"===o?{index:r,datum:n,style:f,x1:a*Math.cos(i(n)),y1:-a*Math.sin(i(n)),x2:(a+p)*Math.cos(i(n)),y2:-(a+p)*Math.sin(i(n))}:{style:s,index:r,datum:n,x1:i(n)/2*Math.cos(d-h),x2:i(n)/2*Math.cos(d+h),y1:-i(n)/2*Math.sin(d-h),y2:-i(n)/2*Math.sin(d+h)}},getTickLabelProps:function(t,e,n,r){var o=e.axisType,a=e.radius,i=e.tickFormat,s=e.style,u=e.scale,c=e.ticks,l=e.stringTicks,f=l?l[r]:n,h=this.getEvaluatedStyles(s,f,r),y=h.labelStyle,g=t.tickLabelComponent,m=g.props&&g.props.labelPlacement?g.props.labelPlacement:t.labelPlacement,v=y.padding||0,b="radial"===o?this.getAxisAngle(t,u):void 0,_="angular"===o?d.o.radiansToDegrees(u(n)):b+0,x=y.angle||d.p.getPolarAngle(p()({},t,{labelPlacement:m}),_),w="angular"===o?a+v:u(n);return{index:r,datum:n,style:y,angle:x,textAnchor:y.textAnchor||d.p.getPolarTextAnchor(p()({},t,{labelPlacement:m}),_),text:i(n,r,c),x:w*Math.cos(d.o.degreesToRadians(_)),y:-w*Math.sin(d.o.degreesToRadians(_))}},getGridProps:function(t,e,n,r){var o=e.axisType,a=e.radius,i=e.style,s=e.scale,u=e.stringTicks,c=t.startAngle,l=t.endAngle,f=t.innerRadius,p=void 0===f?0:f,h=u?u[r]:n,d=this.getEvaluatedStyles(i,h,r),y=d.gridStyle,g=s(n);return"angular"===o?{index:r,datum:n,style:y,x1:this.getPosition(a,g,"x"),y1:this.getPosition(a,g,"y"),x2:this.getPosition(p,g,"x"),y2:this.getPosition(p,g,"y")}:{style:y,index:r,datum:n,cx:0,cy:0,r:s(n),startAngle:c,endAngle:l}},getAxisLabelProps:function(t,e){var n=e.axisType,r=e.radius,o=e.style,a=e.scale,i=t.axisLabelComponent;if("radial"!==n)return{};var s=i.props&&i.props.labelPlacement?i.props.labelPlacement:t.labelPlacement,u=o&&o.axisLabel||{},c="radial"===n?this.getAxisAngle(t,a):void 0,l=u.angle||d.p.getPolarAngle(p()({},t,{labelPlacement:s}),c),f=r+(u.padding||0);return{style:u,angle:l,textAnchor:u.textAnchor||d.p.getTextPolarAnchor(p()({},t,{labelPlacement:s}),c),verticalAnchor:u.verticalAnchor||d.p.getPolarVerticalAnchor(p()({},t,{labelPlacement:s}),c),text:t.label,x:this.getPosition(f,d.o.degreesToRadians(c),"x"),y:this.getPosition(f,d.o.degreesToRadians(c),"y")}},getPosition:function(t,e,n){return"x"===n?t*Math.cos(e):-t*Math.sin(e)},getAxisProps:function(t,e){var n=e.style,r=e.axisType,o=e.radius,a=e.scale,i=t.startAngle,s=t.endAngle,u=t.innerRadius,c=void 0===u?0:u,l="radial"===r?d.o.degreesToRadians(this.getAxisAngle(t,a)):void 0;return"radial"===r?{style:n.axis,x1:this.getPosition(c,l,"x"),x2:this.getPosition(o,l,"x"),y1:this.getPosition(c,l,"y"),y2:this.getPosition(o,l,"y")}:{style:n.axis,cx:0,cy:0,r:o,startAngle:i,endAngle:s}},getEvaluatedStyles:function(t,e,n){return{tickStyle:this.evaluateStyle(t.ticks,e,n),labelStyle:this.evaluateStyle(t.tickLabels,e,n),gridStyle:this.evaluateStyle(t.grid,e,n)}},getRole:function(t){return t.dependentAxis?t.theme&&t.theme.dependentAxis?"dependentAxis":"axis":t.theme&&t.theme.independentAxis?"independentAxis":"axis"},getShallowMergedThemeProps:function(t,e){var n=t.theme.axis||{};return u()({},t.theme[e],n)},modifyProps:function(t,e,n){return"axis"!==n&&(t.theme[n]=this.getShallowMergedThemeProps(t,n)),d.o.modifyProps(t,e,n)},getBaseProps:function(t,e){var n=this,r=this.getRole(t);t=this.modifyProps(t,e,r);var o=this.getCalculatedValues(t),a=o.style,i=o.scale,s=o.ticks,u=o.domain,c=t,l=c.width,f=c.height,p=c.standalone,h=c.theme,d=this.getAxisProps(t,o),y=this.getAxisLabelProps(t,o),g={parent:{style:a.parent,ticks:s,scale:i,width:l,height:f,domain:u,standalone:p,theme:h}};return s.reduce(function(e,r,a){return e[a]={axis:d,axisLabel:y,ticks:n.getTickProps(t,o,r,a),tickLabels:n.getTickLabelProps(t,o,r,a),grid:n.getGridProps(t,o,r,a)},e},g)},filterTicks:function(t,e){var n=function(t){return e(t)%(2*Math.PI)};return l()(t,n)}}},function(t,e,n){function r(t,e){return t&&t.length?a(t,o(e,2)):[]}var o=n(40),a=n(342);t.exports=r},function(t,e,n){"use strict";function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}var o=n(63),a=n(91),i=n(0),s=n.n(i),u=n(3);e.a={getChildComponents:function(t,e){var n=s.a.Children.toArray(t.children);if(0===n.length)return[e.independent,e.dependent];var a={dependent:o.a.getAxisComponentsWithParent(n,"dependent"),independent:o.a.getAxisComponentsWithParent(n,"independent")};if(0===a.dependent.length&&0===a.independent.length)return n.concat([e.independent,e.dependent]);if(a.independent.length>1){u.r.warn("Only one independent VictoryAxis component is allowed when using the VictoryChart wrapper. Only the first axis will be used. Please compose multi-axis charts manually");var i=this.getDataComponents(n);return u.g.removeUndefined(i.concat([].concat(r(a.dependent),[a.independent[0]])))}return n},getDefaultDomainPadding:function(t,e){var n=t.filter(function(t){return t.type&&t.type.role&&"group-wrapper"===t.type.role});if(!(n.length<1)){var r=n[0].props,o=r.offset,a=r.children;return e?{y:o*a.length/2}:{x:o*a.length/2}}},getDataComponents:function(t){var e=function(t){return t.reduce(function(t,n){return n.type&&"axis"===n.type.role?t:n.props&&n.props.children?t.concat(e(s.a.Children.toArray(n.props.children))):t.concat(n)},[])};return e(t)},getDomain:function(t,e,n){n=n||s.a.Children.toArray(t.children);var r=a.a.getDomain(t,e,n),i=o.a.getAxisComponent(n,e);return i&&i.props&&i.props.invertAxis?r.concat().reverse():r},getAxisOffset:function(t,e){var n=e.axisComponents,r=e.scale,a=e.origin,i=e.domain,s=e.originSign,u=e.padding,c=u.top,l=u.bottom,f=u.left,p=u.right,h={x:o.a.getOrientation(n.x,"x",s.y),y:o.a.getOrientation(n.y,"y",s.x)},d={y:"bottom"===h.x?l:c,x:"left"===h.y?f:p},y={x:"left"===h.y?0:t.width,y:"bottom"===h.x?t.height:0},g={x:a.x===i.x[0]||a.x===i.x[1]?0:r.x(a.x),y:a.y===i.y[0]||a.y===i.y[1]?0:r.y(a.y)},m={x:g.x?Math.abs(y.x-g.x):d.x,y:g.y?Math.abs(y.y-g.y):d.y};return{x:n.x&&void 0!==n.x.offsetX?n.x.offsetX:m.x,y:n.y&&void 0!==n.y.offsetY?n.y.offsetY:m.y}},createStringMap:function(t,e,n){var r=a.a.getStringsFromChildren(t,e,n);return 0===r.length?null:r.reduce(function(t,e,n){return t[e]=n+1,t},{})}}},function(t,e,n){function r(t,e,n){var r=s(t)?o:i;return n&&u(t,e,n)&&(e=void 0),r(t,a(e,3))}var o=n(264),a=n(40),i=n(794),s=n(13),u=n(114);t.exports=r},function(t,e,n){function r(t,e){var n;return o(t,function(t,r,o){return!(n=e(t,r,o))}),!!n}var o=n(113);t.exports=r},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var i=n(20),s=n.n(i),u=n(1),c=n.n(u),l=n(0),f=n.n(l),p=n(796),h=n(3),d=n(23),y=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},g=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),m={width:450,height:300,padding:50,interpolation:"linear"},v={components:[{name:"parent",index:"parent"},{name:"data",index:"all"},{name:"labels"}]},b=["data","domain","height","padding","samples","style","width"],_=function(t){function e(){return r(this,e),o(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return a(e,t),g(e,[{key:"shouldAnimate",value:function(){return!!this.props.animate}},{key:"render",value:function(){var t=this.constructor.role,e=h.o.modifyProps(this.props,m,t);if(this.shouldAnimate())return this.animateComponent(e,b);var n=this.renderContinuousData(e);return e.standalone?this.renderContainer(e.containerComponent,n):n}}]),e}(f.a.Component);_.displayName="VictoryLine",_.role="line",_.defaultTransitions=h.j.continuousTransitions(),_.defaultPolarTransitions=h.j.continuousPolarTransitions(),_.continuous=!0,_.propTypes=y({},d.a,d.b,{interpolation:c.a.oneOf(["basis","bundle","cardinal","catmullRom","linear","monotoneX","monotoneY","natural","step","stepAfter","stepBefore"]),label:h.u.deprecated(c.a.string,"Use `labels` instead for individual data labels")}),_.defaultProps={samples:50,scale:"linear",standalone:!0,sortKey:"x",dataComponent:f.a.createElement(h.h,null),labelComponent:f.a.createElement(h.E,{renderInPortal:!0}),containerComponent:f.a.createElement(h.D,null),groupComponent:f.a.createElement(h.C,null),theme:h.I.grayscale},_.getDomain=h.k.getDomain.bind(h.k),_.getData=h.i.getData.bind(h.i),_.getBaseProps=s()(p.a.getBaseProps.bind(p.a),m),_.expectedComponents=["dataComponent","labelComponent","groupComponent","containerComponent"],e.a=Object(h.M)(_,v)},function(t,e,n){"use strict";var r=n(4),o=n.n(r),a=n(3);e.a={getBaseProps:function(t,e){var n=a.o.modifyProps(t,e,"line");t=o()({},n,this.getCalculatedValues(n));var r=t,i=r.data,s=r.domain,u=r.events,c=r.groupComponent,l=r.height,f=r.interpolation,p=r.origin,h=r.padding,d=r.polar,y=r.scale,g=r.sharedEvents,m=r.standalone,v=r.style,b=r.theme,_=r.width,x={parent:{style:v.parent,scale:y,data:i,height:l,width:_,domain:s,standalone:m,polar:d,origin:p,padding:h},all:{data:{polar:d,origin:p,scale:y,data:i,interpolation:f,groupComponent:c,theme:b,style:v.data}}};return i.reduce(function(e,n,r){var o=a.p.getText(t,n,r);if(void 0!==o&&null!==o||u||g){e[n.eventKey||r]={labels:a.p.getProps(t,r)}}return e},x)},getCalculatedValues:function(t){var e=a.i.getData(t);e.length<2&&(e=[]);var n={x:a.o.getRange(t,"x"),y:a.o.getRange(t,"y")},r={x:a.k.getDomain(t,"x"),y:a.k.getDomain(t,"y")},o={x:a.v.getBaseScale(t,"x").domain(r.x).range(n.x),y:a.v.getBaseScale(t,"y").domain(r.y).range(n.y)},i=t.polar?t.origin||a.o.getPolarOrigin(t):void 0,s=t.theme&&t.theme.line&&t.theme.line.style?t.theme.line.style:{};return{domain:r,data:e,scale:o,style:a.o.getStyles(t.style,s),origin:i}}}},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var i=n(20),s=n.n(i),u=n(1),c=n.n(u),l=n(0),f=n.n(l),p=n(798),h=n(3),d=n(23),y=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},g=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),m={width:450,height:300,padding:50,interpolation:"linear"},v={components:[{name:"parent",index:"parent"},{name:"data",index:"all"},{name:"labels"}]},b=["data","domain","height","padding","style","width"],_=function(t){function e(){return r(this,e),o(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return a(e,t),g(e,[{key:"shouldAnimate",value:function(){return!!this.props.animate}},{key:"render",value:function(){var t=this.constructor.role,e=h.o.modifyProps(this.props,m,t);if(this.shouldAnimate())return this.animateComponent(e,b);var n=this.renderContinuousData(e);return e.standalone?this.renderContainer(e.containerComponent,n):n}}]),e}(f.a.Component);_.propTypes=y({},d.a,d.b,{interpolation:c.a.oneOf(["basis","cardinal","catmullRom","linear","monotoneX","monotoneY","natural","step","stepAfter","stepBefore"]),label:h.u.deprecated(c.a.string,"Use `labels` instead for individual data labels")}),_.defaultProps={dataComponent:f.a.createElement(h.b,null),labelComponent:f.a.createElement(h.E,{renderInPortal:!0}),scale:"linear",samples:50,standalone:!0,containerComponent:f.a.createElement(h.D,null),groupComponent:f.a.createElement(h.C,null),theme:h.I.grayscale},_.displayName="VictoryArea",_.role="area",_.continuous=!0,_.defaultTransitions=h.j.continuousTransitions(),_.defaultPolarTransitions=h.j.continuousPolarTransitions(),_.getDomain=h.k.getDomainWithZero.bind(h.k),_.getData=h.i.getData.bind(h.i),_.getBaseProps=s()(p.a.getBaseProps.bind(p.a),m),_.expectedComponents=["dataComponent","labelComponent","groupComponent","containerComponent"],e.a=Object(h.M)(_,v)},function(t,e,n){"use strict";function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}var o=n(4),a=n.n(o),i=n(3);e.a={getBaseProps:function(t,e){var n=i.o.modifyProps(t,e,"area");t=a()({},n,this.getCalculatedValues(n));var r=t,o=r.data,s=r.domain,u=r.events,c=r.groupComponent,l=r.height,f=r.interpolation,p=r.origin,h=r.padding,d=r.polar,y=r.scale,g=r.sharedEvents,m=r.standalone,v=r.style,b=r.theme,_=r.width,x={parent:{style:v.parent,width:_,height:l,scale:y,data:o,domain:s,standalone:m,theme:b,polar:d,origin:p,padding:h},all:{data:{polar:d,origin:p,scale:y,data:o,interpolation:f,groupComponent:c,style:v.data}}};return o.reduce(function(e,n,r){var o=i.p.getText(t,n,r);if(void 0!==o&&null!==o||u||g){e[n.eventKey||r]={labels:i.p.getProps(t,r)}}return e},x)},getCalculatedValues:function(t){var e=t.theme,n=t.polar,r=e&&e.area&&e.area.style?e.area.style:{},o=i.o.getStyles(t.style,r),a={x:i.o.getRange(t,"x"),y:i.o.getRange(t,"y")},s={x:i.k.getDomainWithZero(t,"x"),y:i.k.getDomainWithZero(t,"y")},u={x:i.v.getBaseScale(t,"x").domain(s.x).range(a.x),y:i.v.getBaseScale(t,"y").domain(s.y).range(a.y)},c=n?t.origin||i.o.getPolarOrigin(t):void 0;return{style:o,data:this.getDataWithBaseline(t,u),scale:u,domain:s,origin:c}},getDataWithBaseline:function(t,e){var n=i.i.getData(t);n.length<2&&(n=[]);var o="log"===i.v.getType(e.y)?1/Number.MAX_SAFE_INTEGER:0,s=e.y.domain(),u=Math.min.apply(Math,r(s))>0?Math.min.apply(Math,r(s)):o;return n.map(function(t){var e=void 0!==t._y1?t._y1:t._y,n=void 0!==t._y0?t._y0:u;return a()({},t,{_y0:n,_y1:e})})}}},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var i=n(20),s=n.n(i),u=n(1),c=n.n(u),l=n(0),f=n.n(l),p=n(800),h=n(3),d=n(23),y=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},g=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),m={width:450,height:300,padding:50},v=[{x:1,y:1},{x:2,y:2},{x:3,y:3},{x:4,y:4}],b=["data","domain","height","padding","style","width"],_=function(t){function e(){return r(this,e),o(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return a(e,t),g(e,[{key:"shouldAnimate",value:function(){return!!this.props.animate}},{key:"render",value:function(){var t=this.constructor.role,e=h.o.modifyProps(this.props,m,t);if(this.shouldAnimate())return this.animateComponent(e,b);var n=this.renderData(e);return e.standalone?this.renderContainer(e.containerComponent,n):n}}]),e}(f.a.Component);_.displayName="VictoryBar",_.role="bar",_.defaultTransitions={onLoad:{duration:2e3,before:function(){return{_y:0,_y1:0,_y0:0}},after:function(t){return{_y:t._y,_y1:t._y1,_y0:t._y0}}},onExit:{duration:500,before:function(){return{_y:0,yOffset:0}}},onEnter:{duration:500,before:function(){return{_y:0,_y1:0,_y0:0}},after:function(t){return{_y:t._y,_y1:t._y1,_y0:t._y0}}}},_.propTypes=y({},d.a,d.b,{alignment:c.a.oneOf(["start","middle","end"]),horizontal:c.a.bool}),_.defaultProps={data:v,dataComponent:f.a.createElement(h.c,null),labelComponent:f.a.createElement(h.E,null),scale:"linear",standalone:!0,containerComponent:f.a.createElement(h.D,null),groupComponent:f.a.createElement("g",{role:"presentation"}),theme:h.I.grayscale},_.getDomain=h.k.getDomainWithZero.bind(h.k),_.getData=h.i.getData.bind(h.i),_.getBaseProps=s()(p.a.getBaseProps.bind(p.a),m),_.expectedComponents=["dataComponent","labelComponent","groupComponent","containerComponent"],e.a=Object(h.M)(_)},function(t,e,n){"use strict";function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}var o=n(92),a=n.n(o),i=n(29),s=n.n(i),u=n(15),c=n.n(u),l=n(5),f=n.n(l),p=n(4),h=n.n(p),d=n(3);e.a={getBarPosition:function(t,e){var n=function(n){var r="log"===d.v.getType(t.scale[n])?1/Number.MAX_SAFE_INTEGER:0;return e["_"+n]instanceof Date?new Date(r):r},r=void 0!==e._y0?e._y0:n("y"),o=void 0!==e._x0?e._x0:n("x");return d.o.scalePoint(t,h()({},e,{_y0:r,_x0:o}))},getBarStyle:function(t,e){var n=c()(t).filter(function(t){return a()(t)}),o=["x","y","y0","_x","_y","_y0","name","label","eventKey"],i=s()(t,[].concat(o,r(n)));return f()({},i,e)},getCalculatedValues:function(t){var e=t.theme,n=t.horizontal,r=t.polar,o=e&&e.bar&&e.bar.style?e.bar.style:{},a=d.o.getStyles(t.style,o),i=d.i.getData(t),s={x:d.o.getRange(t,"x"),y:d.o.getRange(t,"y")},u={x:d.k.getDomainWithZero(t,"x"),y:d.k.getDomainWithZero(t,"y")},c=d.v.getBaseScale(t,"x").domain(u.x).range(s.x),l=d.v.getBaseScale(t,"y").domain(u.y).range(s.y);return{style:a,data:i,scale:{x:n?l:c,y:n?c:l},domain:u,origin:r?t.origin||d.o.getPolarOrigin(t):void 0}},getBaseProps:function(t,e){var n=this,r=d.o.modifyProps(t,e,"bar");t=h()({},r,this.getCalculatedValues(r));var o=t,a=o.alignment,i=o.data,s=o.domain,u=o.events,c=o.height,l=o.horizontal,f=o.origin,p=o.padding,y=o.polar,g=o.scale,m=o.sharedEvents,v=o.standalone,b=o.style,_=o.theme,x=o.width,w={parent:{domain:s,scale:g,width:x,height:c,data:i,standalone:v,theme:_,polar:y,origin:f,padding:p,style:b.parent}};return i.reduce(function(e,r,o){var s=r.eventKey||o,h=n.getBarPosition(t,r),v=h.x,_=h.y,w=h.y0,O=h.x0,C=n.getBarStyle(r,b.data),k={alignment:a,data:i,datum:r,horizontal:l,index:o,padding:p,polar:y,origin:f,scale:g,style:C,width:x,height:c,x:v,y:_,y0:w,x0:O};e[s]={data:k};var M=d.p.getText(t,r,o);return(void 0!==M&&null!==M||u||m)&&(e[s].labels=d.p.getProps(t,o)),e},w)}}},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var i=n(20),s=n.n(i),u=n(1),c=n.n(u),l=n(0),f=n.n(l),p=n(3),h=n(802),d=n(23),y=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},g=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),m={width:450,height:300,padding:50,size:3,symbol:"circle"},v=["data","domain","height","maxBubbleSize","padding","samples","size","style","width"],b=function(t){function e(){return r(this,e),o(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return a(e,t),g(e,[{key:"shouldAnimate",value:function(){return!!this.props.animate}},{key:"render",value:function(){var t=this.constructor.role,e=p.o.modifyProps(this.props,m,t);if(this.shouldAnimate())return this.animateComponent(e,v);var n=this.renderData(e);return e.standalone?this.renderContainer(e.containerComponent,n):n}}]),e}(f.a.Component);b.displayName="VictoryScatter",b.role="scatter",b.defaultTransitions=p.j.discreteTransitions(),b.propTypes=y({},d.a,d.b,{bubbleProperty:c.a.string,maxBubbleSize:p.u.nonNegative,minBubbleSize:p.u.nonNegative,size:c.a.oneOfType([p.u.nonNegative,c.a.func]),symbol:c.a.oneOfType([c.a.oneOf(["circle","diamond","plus","square","star","triangleDown","triangleUp"]),c.a.func])}),b.defaultProps={samples:50,scale:"linear",standalone:!0,dataComponent:f.a.createElement(p.s,null),labelComponent:f.a.createElement(p.E,null),containerComponent:f.a.createElement(p.D,null),groupComponent:f.a.createElement("g",null),theme:p.I.grayscale},b.getDomain=p.k.getDomain.bind(p.k),b.getData=p.i.getData.bind(p.i),b.getBaseProps=s()(h.a.getBaseProps.bind(h.a),m),b.expectedComponents=["dataComponent","labelComponent","groupComponent","containerComponent"],e.a=Object(p.M)(b)},function(t,e,n){"use strict";function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}var o=n(92),a=n.n(o),i=n(5),s=n.n(i),u=n(29),c=n.n(u),l=n(204),f=n.n(l),p=n(15),h=n.n(p),d=n(4),y=n.n(d),g=n(3);e.a={getBaseProps:function(t,e){var n=this,r=g.o.modifyProps(t,e,"scatter");t=y()({},r,this.getCalculatedValues(r));var o=t,a=o.data,i=o.domain,s=o.events,u=o.height,c=o.origin,l=o.padding,f=o.polar,p=o.scale,h=o.sharedEvents,d=o.standalone,m=o.style,v=o.theme,b=o.width,_={parent:{style:m.parent,scale:p,domain:i,data:a,height:u,width:b,standalone:d,theme:v,origin:c,polar:f,padding:l}};return a.reduce(function(e,r,o){var i=r.eventKey,u=g.o.scalePoint(t,r),l=u.x,d=u.y,y={x:l,y:d,datum:r,data:a,index:o,scale:p,polar:f,origin:c,size:n.getSize(r,t),symbol:n.getSymbol(r,t),style:n.getDataStyles(r,m.data)};e[i]={data:y};var v=g.p.getText(t,r,o);return(void 0!==v&&null!==v||s||h)&&(e[i].labels=g.p.getProps(t,o)),e},_)},getCalculatedValues:function(t){var e=t.theme&&t.theme.scatter&&t.theme.scatter.style?t.theme.scatter.style:{},n=g.o.getStyles(t.style,e),r=g.i.getData(t),o={x:g.o.getRange(t,"x"),y:g.o.getRange(t,"y")},a={x:g.k.getDomain(t,"x"),y:g.k.getDomain(t,"y")};return{domain:a,data:r,scale:{x:g.v.getBaseScale(t,"x").domain(a.x).range(o.x),y:g.v.getBaseScale(t,"y").domain(a.y).range(o.y)},style:n,origin:t.polar?t.origin||g.o.getPolarOrigin(t):void 0,z:t.bubbleProperty||"z"}},getDataStyles:function(t,e){var n=h()(t).filter(function(t){return a()(t)}),o=["x","y","_x","_y","z","size","symbol","eventKey","label"],i=c()(t,[].concat(o,r(n)));return s()({},i,e)},getSymbol:function(t,e){return e.bubbleProperty?"circle":t.symbol||e.symbol},getBubbleSize:function(t,e){var n=e.data,o=e.z,a=e.maxBubbleSize,i=e.minBubbleSize,s=n.map(function(t){return t[o]}),u=Math.min.apply(Math,r(s)),c=Math.max.apply(Math,r(s)),l=a||function(){var t=Math.min.apply(Math,r(f()(g.o.getPadding(e))));return Math.max(t,5)}(),p=i||.1*l,h=Math.PI*Math.pow(l,2),d=Math.PI*Math.pow(p,2),y=(t[o]-u)/(c-u)*h,m=Math.max(y,d),v=Math.sqrt(m/Math.PI);return Math.max(v,1)},getSize:function(t,e){var n=e.size,r=e.z;return t.size?"function"==typeof t.size?t.size:Math.max(t.size,1):"function"==typeof e.size?n:t[r]?this.getBubbleSize(t,e):Math.max(n||0,1)}}},function(t,e,n){"use strict";function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var s=n(5),u=n.n(s),c=n(4),l=n.n(c),f=n(1),p=n.n(f),h=n(0),d=n.n(h),y=n(3),g=n(91),m=n(23),v=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},b=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),_={width:450,height:300,padding:50,offset:0},x=function(t){function e(t){o(this,e);var n=a(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return t.animate&&(n.state={nodesShouldLoad:!1,nodesDoneLoad:!1,animating:!0},n.setAnimationState=g.a.setAnimationState.bind(n),n.events=g.a.getAllEvents(t)),n}return i(e,t),b(e,[{key:"componentWillMount",value:function(){this.events=g.a.getAllEvents(this.props)}},{key:"componentWillReceiveProps",value:function(t){this.props.animate&&this.setAnimationState(this.props,t),this.events=g.a.getAllEvents(t)}},{key:"getCalculatedProps",value:function(t,e){var n=this.constructor.role,r=this.getStyle(t.theme,t.style,n),o=y.o.modifyProps(t,_),a=o.offset,i=o.colorScale,s=o.color,u=o.polar,c=o.horizontal||e.every(function(t){return t.props&&t.props.horizontal}),l=g.a.getDataFromChildren(o),f={x:g.a.getDomain(o,"x",e),y:g.a.getDomain(o,"y",e)},p={x:y.o.getRange(o,"x"),y:y.o.getRange(o,"y")},h={x:y.v.getScaleFromProps(o,"x")||y.v.getDefaultScale(),y:y.v.getScaleFromProps(o,"y")||y.v.getDefaultScale()},d=h.x.domain(f.x).range(p.x),m=h.y.domain(f.y).range(p.y),v={x:c?m:d,y:c?d:m};return{datasets:l,categories:{x:g.a.getCategories(o,"x"),y:g.a.getCategories(o,"y")},range:p,domain:f,horizontal:c,scale:v,style:r,colorScale:i,color:s,offset:a,origin:u?t.origin:y.o.getPolarOrigin(o),padding:y.o.getPadding(t)}}},{key:"pixelsToValue",value:function(t,e,n){if(!t.offset)return 0;var o=d.a.Children.toArray(t.children),a=o.some(function(t){return t.props.horizontal}),i=t&&t.horizontal||a.length>0,s=y.o.getCurrentAxis(e,i),u=n.domain[s],c=n.range[s];return(Math.max.apply(Math,r(u))-Math.min.apply(Math,r(u)))/(Math.max.apply(Math,r(c))-Math.min.apply(Math,r(c)))*t.offset}},{key:"getX0",value:function(t,e,n){return(n-(e.datasets.length-1)/2)*this.pixelsToValue(t,"x",e)}},{key:"getPolarX0",value:function(t,e,n){return(n-(e.datasets.length-1)/2)*this.getAngularWidth(t,e)}},{key:"getAngularWidth",value:function(t,e){var n=e.range,o=Math.abs(n.x[1]-n.x[0]),a=Math.max.apply(Math,r(n.y));return t.offset/(2*Math.PI*a)*o}},{key:"getLabels",value:function(t,e,n){if(t.labels)return Math.floor(e.length/2)===n?t.labels:void 0}},{key:"getChildProps",value:function(t,e){var n=e.categories,r=e.domain,o=e.range,a=e.scale,i=e.horizontal,s=e.origin,u=e.padding,c=t.width;return{height:t.height,width:c,theme:t.theme,polar:t.polar,origin:s,categories:n,domain:r,range:o,scale:a,horizontal:i,padding:u,standalone:!1}}},{key:"getColorScale",value:function(t,e){var n=e.type&&e.type.role,r=e.props.colorScale||t.colorScale;if("group"===n||"stack"===n)return t.theme&&t.theme.group?r||t.theme.group.colorScale:r}},{key:"getDataWithOffset",value:function(t,e,n){var r=t.data||t.y?y.i.getData(t):e,o=n||0;return r.map(function(t){var e=t._x instanceof Date?new Date(t._x+o):t._x+o;return l()({},t,{_x1:e})})}},{key:"getNewChildren",value:function(t,e,n){var r=this,o=n.datasets,a=t.labelComponent,i=t.polar,s=this.getChildProps(t,n),u=g.a.getAnimationProps.bind(this);return e.map(function(e,c){var f=e.type&&e.type.role,p=i?r.getPolarX0(t,n,c):r.getX0(t,n,c),h="voronoi"===f||"tooltip"===f||"label"===f?e.props.style:g.a.getChildStyle(e,c,n),y=t.labels?r.getLabels(t,o,c):e.props.labels;return d.a.cloneElement(e,l()({labels:y,style:h,key:c,data:r.getDataWithOffset(t,o[c],p),animate:u(t,e,c),colorScale:r.getColorScale(t,e),labelComponent:a||e.props.labelComponent,xOffset:"stack"===f?p:void 0},s))})}},{key:"renderContainer",value:function(t,e){var n=u()({},t.props,e);return d.a.cloneElement(t,n)}},{key:"getContainerProps",value:function(t,e){var n=t.width,r=t.height,o=t.standalone,a=t.theme,i=t.polar,s=e.domain,u=e.scale,c=e.style,l=e.origin;return{domain:s,scale:u,width:n,height:r,standalone:o,theme:a,style:c.parent,polar:i,origin:l}}},{key:"getStyle",value:function(t,e,n){var r=t&&t[n]&&t[n].style?t[n].style:{};return y.o.getStyles(e,r)}},{key:"render",value:function(){var t=this.constructor.role,e=this.state&&this.state.nodesWillExit?this.state.oldProps||this.props:this.props,n=y.o.modifyProps(e,_,t),r=n.eventKey,o=n.containerComponent,a=n.standalone,i=n.groupComponent,s=d.a.Children.toArray(n.children),u=this.getCalculatedProps(n,s),c=this.getNewChildren(n,s,u),l=a?this.getContainerProps(n,u):{},f=a?this.renderContainer(o,l):i;return this.events?d.a.createElement(y.H,{events:this.events,eventKey:r,container:f},c):d.a.cloneElement(f,f.props,c)}}]),e}(d.a.Component);x.displayName="VictoryGroup",x.role="group",x.propTypes=v({},m.a,m.b,{children:p.a.oneOfType([p.a.arrayOf(p.a.node),p.a.node]),color:p.a.string,colorScale:p.a.oneOfType([p.a.arrayOf(p.a.string),p.a.oneOf(["grayscale","qualitative","heatmap","warm","cool","red","green","blue"])]),horizontal:p.a.bool,offset:p.a.number}),x.defaultProps={containerComponent:d.a.createElement(y.D,null),groupComponent:d.a.createElement("g",null),samples:50,scale:"linear",standalone:!0,theme:y.I.grayscale},x.expectedComponents=["groupComponent","containerComponent","labelComponent"],x.getDomain=g.a.getDomain.bind(g.a),x.getData=g.a.getData.bind(g.a),e.a=x},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var i=n(5),s=n.n(i),u=n(4),c=n.n(u),l=n(1),f=n.n(l),p=n(0),h=n.n(p),d=n(3),y=n(91),g=n(23),m=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},v=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),b={width:450,height:300,padding:50},_=function(t){function e(t){r(this,e);var n=o(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return t.animate&&(n.state={nodesShouldLoad:!1,nodesDoneLoad:!1,animating:!0},n.setAnimationState=y.a.setAnimationState.bind(n),n.events=y.a.getAllEvents(t)),n}return a(e,t),v(e,[{key:"componentWillMount",value:function(){this.events=y.a.getAllEvents(this.props)}},{key:"componentWillReceiveProps",value:function(t){this.props.animate&&this.setAnimationState(this.props,t),this.events=y.a.getAllEvents(t)}},{key:"getCalculatedProps",value:function(t,e){var n=this.constructor.role,r=this.getStyle(t.theme,t.style,n),o=t.horizontal||e.every(function(t){return t.props.horizontal}),a=y.a.getDataFromChildren(t),i={x:y.a.getStackedDomain(t,"x",a),y:y.a.getStackedDomain(t,"y",a)},s={x:d.o.getRange(t,"x"),y:d.o.getRange(t,"y")},u={x:d.v.getScaleFromProps(t,"x")||d.v.getDefaultScale(),y:d.v.getScaleFromProps(t,"y")||d.v.getDefaultScale()},c=u.x.domain(i.x).range(s.x),l=u.y.domain(i.y).range(s.y),f={x:o?l:c,y:o?c:l};return{datasets:a,categories:{x:y.a.getCategories(t,"x"),y:y.a.getCategories(t,"y")},range:s,domain:i,horizontal:o,scale:f,style:r,colorScale:t.colorScale,role:n}}},{key:"addLayoutData",value:function(t,e,n,r){var o=t.xOffset||0;return n[r].map(function(t){var n=y.a.getY0(t,r,e)||0;return c()({},t,{_y0:t._y instanceof Date?n&&new Date(n)||t._y:n,_y1:t._y instanceof Date?new Date(+t._y+ +n):t._y+n,_x1:t._x instanceof Date?new Date(+t._x+ +o):t._x+o})})}},{key:"getLabels",value:function(t,e,n){if(t.labels)return e.length===n+1?t.labels:void 0}},{key:"getChildProps",value:function(t,e){var n=e.categories,r=e.domain,o=e.range,a=e.scale,i=e.horizontal;return{height:t.height,width:t.width,padding:d.o.getPadding(t),standalone:!1,theme:t.theme,categories:n,domain:r,range:o,scale:a,horizontal:i}}},{key:"getColorScale",value:function(t,e){var n=e.type&&e.type.role,r=e.props.colorScale||t.colorScale;if("group"===n||"stack"===n)return t.theme?r||t.theme.props.colorScale:r}},{key:"getNewChildren",value:function(t,e,n){var r=this,o=n.datasets,a=this.getChildProps(t,n),i=y.a.getAnimationProps.bind(this);return e.map(function(e,s){var u=r.addLayoutData(t,n,o,s),l=y.a.getChildStyle(e,s,n),f=t.labels?r.getLabels(t,o,s):e.props.labels;return h.a.cloneElement(e,c()({animate:i(t,e,s),key:s,labels:f,domainPadding:e.props.domainPadding||t.domainPadding,theme:t.theme,labelComponent:t.labelComponent||e.props.labelComponent,style:l,colorScale:r.getColorScale(t,e),data:u,polar:t.polar},a))})}},{key:"renderContainer",value:function(t,e){var n=s()({},t.props,e);return h.a.cloneElement(t,n)}},{key:"getContainerProps",value:function(t,e){var n=t.width,r=t.height,o=t.standalone,a=t.theme,i=t.polar,s=e.domain,u=e.scale,c=e.style,l=e.origin;return{domain:s,scale:u,width:n,height:r,standalone:o,theme:a,style:c.parent,polar:i,origin:l}}},{key:"getStyle",value:function(t,e,n){var r=t&&t[n]&&t[n].style?t[n].style:{};return d.o.getStyles(e,r)}},{key:"render",value:function(){var t=this.constructor.role,e=this.state&&this.state.nodesWillExit?this.state.oldProps||this.props:this.props,n=d.o.modifyProps(e,b,t),r=n.eventKey,o=n.containerComponent,a=n.standalone,i=n.groupComponent,s=h.a.Children.toArray(n.children),u=this.getCalculatedProps(n,s),c=this.getNewChildren(n,s,u),l=a?this.getContainerProps(n,u):{},f=a?this.renderContainer(o,l):i;return this.events?h.a.createElement(d.H,{events:this.events,eventKey:r,container:f},c):h.a.cloneElement(f,f.props,c)}}]),e}(h.a.Component);_.displayName="VictoryStack",_.role="stack",_.propTypes=m({},g.a,{categories:f.a.oneOfType([f.a.arrayOf(f.a.string),f.a.shape({x:f.a.arrayOf(f.a.string),y:f.a.arrayOf(f.a.string)})]),children:f.a.oneOfType([f.a.arrayOf(f.a.node),f.a.node]),colorScale:f.a.oneOfType([f.a.arrayOf(f.a.string),f.a.oneOf(["grayscale","qualitative","heatmap","warm","cool","red","green","blue"])]),horizontal:f.a.bool,labelComponent:f.a.element,labels:f.a.oneOfType([f.a.func,f.a.array]),style:f.a.shape({parent:f.a.object,data:f.a.object,labels:f.a.object}),xOffset:f.a.number}),_.defaultProps={containerComponent:h.a.createElement(d.D,null),groupComponent:h.a.createElement("g",null),scale:"linear",standalone:!0,theme:d.I.grayscale},_.expectedComponents=["groupComponent","containerComponent","labelComponent"],_.getDomain=y.a.getStackedDomain.bind(y.a),_.getData=y.a.getData.bind(y.a),e.a=_},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var i=n(20),s=n.n(i),u=n(1),c=n.n(u),l=n(0),f=n.n(l),p=n(3),h=n(806),d=n(23),y=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},g=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),m={width:450,height:300,padding:50},v=[{x:1,y:1,errorX:.1,errorY:.1},{x:2,y:2,errorX:.2,errorY:.2},{x:3,y:3,errorX:.3,errorY:.3},{x:4,y:4,errorX:.4,errorY:.4}],b=["data","domain","height","padding","samples","style","width","errorX","errorY","borderWidth"],_=function(t){function e(){return r(this,e),o(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return a(e,t),g(e,[{key:"shouldAnimate",value:function(){return!!this.props.animate}},{key:"render",value:function(){var t=this.constructor.role,e=p.o.modifyProps(this.props,m,t);if(this.shouldAnimate())return this.animateComponent(e,b);var n=this.renderData(e);return e.standalone?this.renderContainer(e.containerComponent,n):n}}]),e}(f.a.Component);_.displayName="VictoryErrorBar",_.role="errorBar",_.defaultTransitions=p.j.discreteTransitions(),_.propTypes=y({},d.a,d.b,{borderWidth:c.a.number,errorX:c.a.oneOfType([c.a.func,p.u.allOfType([p.u.integer,p.u.nonNegative]),c.a.string,c.a.arrayOf(c.a.string)]),errorY:c.a.oneOfType([c.a.func,p.u.allOfType([p.u.integer,p.u.nonNegative]),c.a.string,c.a.arrayOf(c.a.string)]),horizontal:c.a.bool}),_.defaultProps={data:v,scale:"linear",standalone:!0,dataComponent:f.a.createElement(p.l,null),labelComponent:f.a.createElement(p.E,null),containerComponent:f.a.createElement(p.D,null),groupComponent:f.a.createElement("g",{role:"presentation"}),theme:p.I.grayscale},_.getDomain=h.a.getDomain.bind(h.a),_.getData=p.i.getData.bind(p.i),_.getBaseProps=s()(h.a.getBaseProps.bind(h.a),m),_.expectedComponents=["dataComponent","labelComponent","groupComponent","containerComponent"],e.a=Object(p.M)(_)},function(t,e,n){"use strict";function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}var o=n(92),a=n.n(o),i=n(72),s=n.n(i),u=n(120),c=n.n(u),l=n(13),f=n.n(l),p=n(5),h=n.n(p),d=n(29),y=n.n(d),g=n(15),m=n.n(g),v=n(4),b=n.n(v),_=n(3);e.a={getBaseProps:function(t,e){var n=this;t=_.o.modifyProps(t,e,"errorbar");var r=this.getCalculatedValues(t,e),o=r.data,a=r.style,i=r.scale,s=r.domain,u=r.origin,c=t,l=c.groupComponent,f=c.height,p=c.width,h=c.borderWidth,d=c.standalone,y=c.theme,g=c.polar,m=c.padding,v={parent:{domain:s,scale:i,data:o,height:f,width:p,standalone:d,theme:y,polar:g,origin:u,padding:m,style:a.parent}};return o.reduce(function(e,r,s){var u=r.eventKey||s,c=i.x(void 0!==r._x1?r._x1:r._x),f=i.y(void 0!==r._y1?r._y1:r._y),p={x:c,y:f,scale:i,datum:r,data:o,index:s,groupComponent:l,borderWidth:h,style:n.getDataStyles(r,a.data),errorX:n.getErrors(r,i,"x"),errorY:n.getErrors(r,i,"y")};e[u]={data:p};var d=_.p.getText(t,r,s);return(void 0!==d&&null!==d||t.events||t.sharedEvents)&&(e[u].labels=n.getLabelProps(p,d,a)),e},v)},getLabelProps:function(t,e,n){var r=t.x,o=t.index,a=t.scale,i=t.errorY,s=i&&Array.isArray(i)?i[0]:i,u=s||t.y,c=n.labels||{};return{style:c,y:u-(c.padding||0),x:r,text:e,index:o,scale:a,datum:t.datum,data:t.data,textAnchor:c.textAnchor,verticalAnchor:c.verticalAnchor||"end",angle:c.angle}},getErrorData:function(t){if(t.data)return t.data.length<1?[]:this.formatErrorData(t.data,t);var e=(t.errorX||t.errorY)&&this.generateData(t);return this.formatErrorData(e,t)},getErrors:function(t,e,n){var r={x:"errorX",y:"errorY"},o=t[r[n]];return 0!==o&&(f()(o)?[0!==o[0]&&e[n](o[0]+t["_"+n]),0!==o[1]&&e[n](t["_"+n]-o[1])]:[e[n](o+t["_"+n]),e[n](t["_"+n]-o)])},formatErrorData:function(t,e){if(!t)return[];var n={x:_.o.createAccessor(void 0!==e.x?e.x:"x"),y:_.o.createAccessor(void 0!==e.y?e.y:"y"),errorX:_.o.createAccessor(void 0!==e.errorX?e.errorX:"errorX"),errorY:_.o.createAccessor(void 0!==e.errorY?e.errorY:"errorY")},r=function(t){var e=function(t){return!t||t<0?0:t};return f()(t)?t.map(function(t){return e(t)}):e(t)},o={x:_.i.createStringMap(e,"x"),y:_.i.createStringMap(e,"y")};return this.sortData(t.map(function(t,e){var a=n.x(t),i=n.y(t),s=void 0!==a?a:e,u=void 0!==i?i:t,c=r(n.errorX(t)),l=r(n.errorY(t));return b()({},t,{_x:s,_y:u,errorX:c,errorY:l},"string"==typeof s?{_x:o.x[s],x:s}:{},"string"==typeof u?{_y:o.y[u],y:u}:{})}),e.sortKey)},sortData:function(t,e){return e?("x"!==e&&"y"!==e||(e="_"+e),s()(t,e)):t},getDomain:function(t,e){var n=_.k.getDomainFromProps(t,e);if(n)return _.k.padDomain(n,t,e);var r=_.k.getDomainFromCategories(t,e);if(r)return _.k.padDomain(r,t,e);var o=this.getErrorData(t);if(o.length<1)return _.v.getBaseScale(t,e).domain();var a=this.getDomainFromData(t,e,o);return _.k.cleanDomain(_.k.padDomain(a,t,e),t)},getDomainFromData:function(t,e,n){var o=_.o.getCurrentAxis(e,t.horizontal),a=void 0;"x"===o?a="errorX":"y"===o&&(a="errorY");var i=c()(n).map(function(t){return t["_"+o]}),s=c()(c()(n).map(function(t){var e=void 0,n=void 0;return f()(t[a])?(e=t[a][0]+t["_"+o],n=t["_"+o]-t[a][1]):(e=t[a]+t["_"+o],n=t["_"+o]-t[a]),[e,n]})),u=i.concat(s),l=Math.min.apply(Math,r(u)),p=Math.max.apply(Math,r(u));return+l==+p?_.k.getSinglePointDomain(p):[l,p]},getCalculatedValues:function(t){var e=t.theme&&t.theme.errorbar&&t.theme.errorbar.style?t.theme.errorbar.style:{},n=_.o.getStyles(t.style,e)||{},r=b()(_.i.getData(t),this.getErrorData(t)),o=_.i.addEventKeys(t,r),a={x:_.o.getRange(t,"x"),y:_.o.getRange(t,"y")},i={x:this.getDomain(t,"x"),y:this.getDomain(t,"y")};return{domain:i,data:o,scale:{x:_.v.getBaseScale(t,"x").domain(i.x).range(a.x),y:_.v.getBaseScale(t,"y").domain(i.y).range(a.y)},style:n,origin:t.polar?t.origin||_.o.getPolarOrigin(t):void 0}},getDataStyles:function(t,e){var n=m()(t).filter(function(t){return a()(t)}),o=["x","y","_x","_y","name","errorX","errorY","eventKey","label"],i=y()(t,[].concat(o,r(n)));return h()({},i,e)}}},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var i=n(20),s=n.n(i),u=n(0),c=n.n(u),l=n(3),f=n(808),p=n(23),h=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},d=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),y={width:450,height:300,padding:50},g=["data","domain","height","padding","samples","size","style","width"],m=function(t){function e(){return r(this,e),o(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return a(e,t),d(e,[{key:"shouldAnimate",value:function(){return!!this.props.animate}},{key:"render",value:function(){var t=this.constructor.role,e=l.o.modifyProps(this.props,y,t);if(this.shouldAnimate())return this.animateComponent(e,g);var n=this.renderData(e);return e.standalone?this.renderContainer(e.containerComponent,n):n}}]),e}(c.a.Component);m.displayName="VictoryVoronoi",m.role="voronoi",m.defaultTransitions=l.j.discreteTransitions(),m.propTypes=h({},p.a,p.b,{size:l.u.nonNegative}),m.defaultProps={samples:50,scale:"linear",standalone:!0,dataComponent:c.a.createElement(l.L,null),labelComponent:c.a.createElement(l.E,null),containerComponent:c.a.createElement(l.D,null),groupComponent:c.a.createElement("g",{role:"presentation"}),theme:l.I.grayscale},m.getDomain=l.k.getDomain.bind(l.k),m.getData=l.i.getData.bind(l.i),m.getBaseProps=s()(f.a.getBaseProps.bind(f.a),y),m.expectedComponents=["dataComponent","labelComponent","groupComponent","containerComponent"],e.a=Object(l.M)(m)},function(t,e,n){"use strict";function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}var o=n(92),a=n.n(o),i=n(124),s=n.n(i),u=n(5),c=n.n(u),l=n(29),f=n.n(l),p=n(15),h=n.n(p),d=n(4),y=n.n(d),g=n(3),m=n(371);e.a={getBaseProps:function(t,e){var n=this,r=g.o.modifyProps(t,e,"scatter");t=y()({},r,this.getCalculatedValues(r));var o=t,a=o.data,i=o.domain,u=o.events,c=o.height,l=o.origin,f=o.padding,p=o.polar,h=o.polygons,d=o.scale,m=o.sharedEvents,v=o.standalone,b=o.style,_=o.theme,x=o.width,w={parent:{style:b.parent,scale:d,domain:i,data:a,standalone:v,height:c,width:x,theme:_,origin:l,polar:p,padding:f}};return a.reduce(function(e,r,o){var i=s()(h[o],"data"),c=r.eventKey,f=g.o.scalePoint(t,r),p=f.x,y=f.y,v={x:p,y:y,datum:r,data:a,index:o,scale:d,polygon:i,origin:l,size:t.size,style:n.getDataStyles(r,b.data)};e[c]={data:v};var _=g.p.getText(t,r,o);return(void 0!==_&&null!==_||u||m)&&(e[c].labels=g.p.getProps(t,o)),e},w)},getCalculatedValues:function(t){var e=t.theme&&t.theme.voronoi&&t.theme.voronoi.style?t.theme.voronoi.style:{},n=g.o.getStyles(t.style,e),r=g.i.getData(t),o={x:g.o.getRange(t,"x"),y:g.o.getRange(t,"y")},a={x:g.k.getDomain(t,"x"),y:g.k.getDomain(t,"y")},i={x:g.v.getBaseScale(t,"x").domain(a.x).range(o.x),y:g.v.getBaseScale(t,"y").domain(a.y).range(o.y)};return{domain:a,data:r,scale:i,style:n,polygons:this.getVoronoi(t,o,i).polygons(r),origin:t.polar?t.origin||g.o.getPolarOrigin(t):void 0}},getVoronoi:function(t,e,n){var o=[Math.min.apply(Math,r(e.x)),Math.min.apply(Math,r(e.y))],a=[Math.max.apply(Math,r(e.x)),Math.max.apply(Math,r(e.y))],i=function(t){return-1*n.x(void 0!==t._x1?t._x1:t._x)+Math.PI/2},s=function(t){return n.x(void 0!==t._x1?t._x1:t._x)};return Object(m.a)().x(function(e){return t.polar?i(e):s(e)}).y(function(t){return n.y(void 0!==t._y1?t._y1:t._y)}).extent([o,a])},getDataStyles:function(t,e){var n=h()(t).filter(function(t){return a()(t)}),o=["x","y","_x","_y","eventKey","label"],i=f()(t,[].concat(o,r(n)));return c()({},i,e)}}},function(t,e,n){"use strict";var r=n(810),o=n(811),a=n(93);e.a=function(){function t(t){return new a.d(t.map(function(r,o){var i=[Math.round(e(r,o,t)/a.f)*a.f,Math.round(n(r,o,t)/a.f)*a.f];return i.index=o,i.data=r,i}),i)}var e=o.a,n=o.b,i=null;return t.polygons=function(e){return t(e).polygons()},t.links=function(e){return t(e).links()},t.triangles=function(e){return t(e).triangles()},t.x=function(n){return arguments.length?(e="function"==typeof n?n:Object(r.a)(+n),t):e},t.y=function(e){return arguments.length?(n="function"==typeof e?e:Object(r.a)(+e),t):n},t.extent=function(e){return arguments.length?(i=null==e?null:[[+e[0][0],+e[0][1]],[+e[1][0],+e[1][1]]],t):i&&[[i[0][0],i[0][1]],[i[1][0],i[1][1]]]},t.size=function(e){return arguments.length?(i=null==e?null:[[0,0],[+e[0],+e[1]]],t):i&&[i[1][0]-i[0][0],i[1][1]-i[0][1]]},t}},function(t,e,n){"use strict";e.a=function(t){return function(){return t}}},function(t,e,n){"use strict";function r(t){return t[0]}function o(t){return t[1]}e.a=r,e.b=o},function(t,e,n){"use strict";function r(){Object(l.a)(this),this.edge=this.site=this.circle=null}function o(t){var e=y.pop()||new r;return e.site=t,e}function a(t){Object(p.b)(t),d.a.remove(t),y.push(t),Object(l.a)(t)}function i(t){var e=t.circle,n=e.x,r=e.cy,o=[n,r],i=t.P,s=t.N,u=[t];a(t);for(var c=i;c.circle&&Math.abs(n-c.circle.x)<d.f&&Math.abs(r-c.circle.cy)<d.f;)i=c.P,u.unshift(c),a(c),c=i;u.unshift(c),Object(p.b)(c);for(var l=s;l.circle&&Math.abs(n-l.circle.x)<d.f&&Math.abs(r-l.circle.cy)<d.f;)s=l.N,u.push(l),a(l),l=s;u.push(l),Object(p.b)(l);var f,y=u.length;for(f=1;f<y;++f)l=u[f],c=u[f-1],Object(h.d)(l.edge,c.site,l.site,o);c=u[0],l=u[y-1],l.edge=Object(h.c)(c.site,l.site,null,o),Object(p.a)(c),Object(p.a)(l)}function s(t){for(var e,n,r,a,i=t[0],s=t[1],l=d.a._;l;)if((r=u(l,s)-i)>d.f)l=l.L;else{if(!((a=i-c(l,s))>d.f)){r>-d.f?(e=l.P,n=l):a>-d.f?(e=l,n=l.N):e=n=l;break}if(!l.R){e=l;break}l=l.R}Object(f.c)(t);var y=o(t);if(d.a.insert(e,y),e||n){if(e===n)return Object(p.b)(e),n=o(e.site),d.a.insert(y,n),y.edge=n.edge=Object(h.c)(e.site,y.site),Object(p.a)(e),void Object(p.a)(n);if(!n)return void(y.edge=Object(h.c)(e.site,y.site));Object(p.b)(e),Object(p.b)(n);var g=e.site,m=g[0],v=g[1],b=t[0]-m,_=t[1]-v,x=n.site,w=x[0]-m,O=x[1]-v,C=2*(b*O-_*w),k=b*b+_*_,M=w*w+O*O,P=[(O*k-_*M)/C+m,(b*M-w*k)/C+v];Object(h.d)(n.edge,g,x,P),y.edge=Object(h.c)(g,t,null,P),n.edge=Object(h.c)(t,x,null,P),Object(p.a)(e),Object(p.a)(n)}}function u(t,e){var n=t.site,r=n[0],o=n[1],a=o-e;if(!a)return r;var i=t.P;if(!i)return-1/0;n=i.site;var s=n[0],u=n[1],c=u-e;if(!c)return s;var l=s-r,f=1/a-1/c,p=l/c;return f?(-p+Math.sqrt(p*p-2*f*(l*l/(-2*c)-u+c/2+o-a/2)))/f+r:(r+s)/2}function c(t,e){var n=t.N;if(n)return u(n,e);var r=t.site;return r[1]===e?r[0]:1/0}e.b=i,e.a=s;var l=n(211),f=n(372),p=n(373),h=n(212),d=n(93),y=[]},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var i=n(20),s=n.n(i),u=n(1),c=n.n(u),l=n(0),f=n.n(l),p=n(3),h=n(814),d=n(23),y=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},g=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),m={width:450,height:300,padding:50,candleColors:{positive:"#ffffff",negative:"#252525"}},v=[{x:new Date(2016,6,1),open:5,close:10,high:15,low:0},{x:new Date(2016,6,2),open:10,close:15,high:20,low:5},{x:new Date(2016,6,3),open:15,close:20,high:25,low:10},{x:new Date(2016,6,4),open:20,close:25,high:30,low:15},{x:new Date(2016,6,5),open:25,close:30,high:35,low:20},{x:new Date(2016,6,6),open:30,close:35,high:40,low:25},{x:new Date(2016,6,7),open:35,close:40,high:45,low:30},{x:new Date(2016,6,8),open:40,close:45,high:50,low:35}],b=["data","domain","height","padding","samples","size","style","width"],_=function(t){function e(){return r(this,e),o(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return a(e,t),g(e,[{key:"shouldAnimate",value:function(){return!!this.props.animate}},{key:"render",value:function(){var t=this.constructor.role,e=p.o.modifyProps(this.props,m,t);if(this.shouldAnimate())return this.animateComponent(e,b);var n=this.renderData(e);return e.standalone?this.renderContainer(e.containerComponent,n):n}}]),e}(f.a.Component);_.displayName="VictoryCandlestick",_.role="candlestick",_.defaultTransitions=p.j.discreteTransitions(),_.propTypes=y({},d.a,d.b,{candleColors:c.a.shape({positive:c.a.string,negative:c.a.string}),close:c.a.oneOfType([c.a.func,p.u.allOfType([p.u.integer,p.u.nonNegative]),c.a.string,c.a.arrayOf(c.a.string)]),high:c.a.oneOfType([c.a.func,p.u.allOfType([p.u.integer,p.u.nonNegative]),c.a.string,c.a.arrayOf(c.a.string)]),low:c.a.oneOfType([c.a.func,p.u.allOfType([p.u.integer,p.u.nonNegative]),c.a.string,c.a.arrayOf(c.a.string)]),open:c.a.oneOfType([c.a.func,p.u.allOfType([p.u.integer,p.u.nonNegative]),c.a.string,c.a.arrayOf(c.a.string)])}),_.defaultProps={samples:50,scale:"linear",data:v,standalone:!0,dataComponent:f.a.createElement(p.e,null),labelComponent:f.a.createElement(p.E,null),containerComponent:f.a.createElement(p.D,null),groupComponent:f.a.createElement("g",{role:"presentation"}),theme:p.I.grayscale},_.getDomain=h.a.getDomain.bind(h.a),_.getData=h.a.getData.bind(h.a),_.getBaseProps=s()(h.a.getBaseProps.bind(h.a),m),_.expectedComponents=["dataComponent","labelComponent","groupComponent","containerComponent"],e.a=Object(p.M)(_)},function(t,e,n){"use strict";function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}var o=n(92),a=n.n(o),i=n(5),s=n.n(i),u=n(29),c=n.n(u),l=n(15),f=n.n(l),p=n(72),h=n.n(p),d=n(4),y=n.n(d),g=n(3);e.a={getBaseProps:function(t,e){var n=this;t=g.o.modifyProps(t,e,"candlestick");var r=this.getCalculatedValues(t),o=r.data,a=r.style,i=r.scale,s=r.domain,u=r.origin,c=t,l=c.groupComponent,f=c.width,p=c.height,h=c.padding,d=c.standalone,y=c.theme,m=c.polar,v={parent:{domain:s,scale:i,width:f,height:p,data:o,standalone:d,theme:y,polar:m,origin:u,style:a.parent,padding:h}};return o.reduce(function(e,r,s){var c=r.eventKey||s,p=i.x(void 0!==r._x1?r._x1:r._x),d=i.y(r._high),y=i.y(r._low),v=Math.abs(i.y(r._open)-i.y(r._close)),b=i.y(Math.max(r._open,r._close)),_=n.getDataStyles(r,a.data,t),x={x:p,y:b,y1:d,y2:y,candleHeight:v,scale:i,data:o,datum:r,groupComponent:l,index:s,style:_,padding:h,width:f,polar:m,origin:u};e[c]={data:x};var w=g.p.getText(t,r,s);return(void 0!==w&&null!==w||t.events||t.sharedEvents)&&(e[c].labels=n.getLabelProps(x,w,a)),e},v)},getLabelProps:function(t,e,n){var r=t.x,o=t.y1,a=t.index,i=t.scale,s=t.datum,u=t.data,c=n.labels||{};return{style:c,y:o-(c.padding||0),x:r,text:e,index:a,scale:i,datum:s,data:u,textAnchor:c.textAnchor,verticalAnchor:c.verticalAnchor||"end",angle:c.angle}},getCalculatedValues:function(t){var e=t.theme,n=t.polar,r=e&&e.candlestick&&e.candlestick.style?e.candlestick.style:{},o=g.o.getStyles(t.style,r),a=g.i.addEventKeys(t,this.getData(t)),i={x:g.o.getRange(t,"x"),y:g.o.getRange(t,"y")},s={x:this.getDomain(t,"x"),y:this.getDomain(t,"y")};return{domain:s,data:a,scale:{x:g.v.getBaseScale(t,"x").domain(s.x).range(i.x),y:g.v.getBaseScale(t,"y").domain(s.y).range(i.y)},style:o,origin:n?t.origin||g.o.getPolarOrigin(t):void 0}},getData:function(t){if(!t.data||t.data.length<1)return[];var e={x:g.i.createStringMap(t,"x")},n={x:g.o.createAccessor(void 0!==t.x?t.x:"x"),open:g.o.createAccessor(void 0!==t.open?t.open:"open"),close:g.o.createAccessor(void 0!==t.close?t.close:"close"),high:g.o.createAccessor(void 0!==t.high?t.high:"high"),low:g.o.createAccessor(void 0!==t.low?t.low:"low")};return this.sortData(t.data.map(function(t,r){var o=n.x(t),a=void 0!==o?o:r,i=n.open(t),s=n.close(t),u=n.high(t),c=n.low(t),l=[i,s,u,c];return y()({},t,{_x:a,_y:l,_open:i,_close:s,_high:u,_low:c},"string"==typeof a?{_x:e.x[a],x:a}:{})}),t.sortKey)},sortData:function(t,e){return e?("x"!==e&&"y"!==e||(e="_"+e),h()(t,e)):t},getDomain:function(t,e){var n=void 0;if(t.domain&&t.domain[e])n=t.domain[e];else if(t.domain&&Array.isArray(t.domain))n=t.domain;else{var o=this.getData(t),a=o.reduce(function(t,n){return Array.isArray(n["_"+e])?t.concat.apply(t,r(n["_"+e])):t.concat(n["_"+e])},[]);if(a.length<1)return g.v.getBaseScale(t,e).domain();var i=Math.min.apply(Math,r(a)),s=Math.max.apply(Math,r(a));if(+i==+s)return g.k.getSinglePointDomain(s);n=[i,s]}return g.k.cleanDomain(g.k.padDomain(n,t,e),t)},isTransparent:function(t){return"none"===t||"transparent"===t},getDataStyles:function(t,e,n){e=e||{};var o=f()(t).filter(function(t){return a()(t)}),i=["x","_x","_y","_y0","size","name","label","open","close","high","low","eventKey"],u=c()(t,[].concat(i,r(o))),l=t.open>t.close?n.candleColors.negative:n.candleColors.positive,p=t.fill||e.fill||l,h=t.stroke||e.stroke,d=this.isTransparent(h)?p:h||"black";return s()({},u,{stroke:d,fill:p},e)}}},function(t,e,n){function r(t,e,n){function r(e){var n=v,r=b;return v=b=void 0,C=e,x=t.apply(r,n)}function l(t){return C=t,w=setTimeout(h,e),k?r(t):x}function f(t){var n=t-O,r=t-C,o=e-n;return M?c(o,_-r):o}function p(t){var n=t-O,r=t-C;return void 0===O||n>=e||n<0||M&&r>=_}function h(){var t=a();if(p(t))return d(t);w=setTimeout(h,f(t))}function d(t){return w=void 0,P&&v?r(t):(v=b=void 0,x)}function y(){void 0!==w&&clearTimeout(w),C=0,v=O=b=w=void 0}function g(){return void 0===w?x:d(a())}function m(){var t=a(),n=p(t);if(v=arguments,b=this,O=t,n){if(void 0===w)return l(O);if(M)return w=setTimeout(h,e),r(O)}return void 0===w&&(w=setTimeout(h,e)),x}var v,b,_,x,w,O,C=0,k=!1,M=!1,P=!0;if("function"!=typeof t)throw new TypeError(s);return e=i(e)||0,o(n)&&(k=!!n.leading,M="maxWait"in n,_=M?u(i(n.maxWait)||0,e):_,P="trailing"in n?!!n.trailing:P),m.cancel=y,m.flush=g,m}var o=n(14),a=n(816),i=n(301),s="Expected a function",u=Math.max,c=Math.min;t.exports=r},function(t,e,n){var r=n(17),o=function(){return r.Date.now()};t.exports=o},function(t,e){function n(t){return void 0===t}t.exports=n},function(t,e,n){"use strict";function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}n.d(e,"a",function(){return A});var s=n(819),u=n.n(s),c=n(131),l=n.n(c),f=n(821),p=n.n(f),h=n(195),d=n.n(h),y=n(823),g=n.n(y),m=n(3),v=n(377),b=n(381),_=n(374),x=n(376),w=n(379),O=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},C=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),k=function(){function t(t,e){var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=t[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!e||n.length!==e);r=!0);}catch(t){o=!0,a=t}finally{try{!r&&s.return&&s.return()}finally{if(o)throw a}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),M=function(t){return t?Array.isArray(t)?t:[t]:[]},P=function(t){return t.reduce(function(t,e){return p()(t,function(t,n){var r=e[n];e[n]=r?function(){var e=M(r.apply(void 0,arguments)),n=M(t.apply(void 0,arguments));return e.concat(n)}:t}),e})},E=function(t){var e=d()(t,"target");return g()(e).map(function(t){var e=k(t,2),n=e[0],r=e[1];return{target:n,eventHandlers:P(r.map(function(t){return t.eventHandlers}))}})},A=function(t,e){var n,s,c=t.map(function(t){return t(e)}),l=c.map(function(t){return new t}),f=u()(t)(e),p=c.map(function(t){return t.displayName.match(/Victory(.*)Container/)[1]||""}).join("");return s=n=function(t){function e(){return o(this,e),a(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),C(e,[{key:"getChildren",value:function(t){return l.reduce(function(e,n){return n.getChildren(O({},t,{children:e}))},t.children)}}]),e}(f),n.displayName="Victory"+p+"Container",n.propTypes=c.reduce(function(t,e){return O({},t,e.propTypes)},{}),n.defaultProps=c.reduce(function(t,e){return O({},t,e.defaultProps)},{}),n.defaultEvents=E(c.reduce(function(t,e){return[].concat(r(t),r(e.defaultEvents))},[])),s},T=function(t,e){t&&!l()(e,t)&&m.r.warn('"'+t+'" is not a valid behavior. Choose from ['+e.join(", ")+"].")};e.b=function(t,e){return function(n,o){var a=Object.keys(t);T(n,a),T(o,a),(arguments.length<=2?0:arguments.length-2)&&m.r.warn("too many arguments given to createContainer (maximum accepted: 2).");var i=t[n],s=t[o]||[];return i?A([].concat(r(i),r(s)),e):e}}({zoom:[b.b],voronoi:[v.b],selection:[_.b],cursor:[w.a],brush:[x.a]},m.D)},function(t,e,n){var r=n(820),o=r();t.exports=o},function(t,e,n){function r(t){return a(function(e){var n=e.length,r=n,a=o.prototype.thru;for(t&&e.reverse();r--;){var y=e[r];if("function"!=typeof y)throw new TypeError(l);if(a&&!g&&"wrapper"==s(y))var g=new o([],!0)}for(r=g?r:n;++r<n;){y=e[r];var m=s(y),v="wrapper"==m?i(y):void 0;g=v&&c(v[0])&&v[1]==(h|f|p|d)&&!v[4].length&&1==v[9]?g[s(v[0])].apply(g,v[3]):1==y.length&&c(y)?g[m]():g.thru(y)}return function(){var t=arguments,r=t[0];if(g&&1==t.length&&u(r))return g.plant(r).value();for(var o=0,a=n?e[o].apply(this,t):r;++o<n;)a=e[o].call(this,a);return a}})}var o=n(191),a=n(179),i=n(190),s=n(317),u=n(13),c=n(315),l="Expected a function",f=8,p=32,h=128,d=256;t.exports=r},function(t,e,n){function r(t,e){return t&&o(t,a(e))}var o=n(168),a=n(822);t.exports=r},function(t,e,n){function r(t){return"function"==typeof t?t:o}var o=n(28);t.exports=r},function(t,e,n){var r=n(824),o=n(15),a=r(o);t.exports=a},function(t,e,n){function r(t){return function(e){var n=a(e);return n==u?i(e):n==c?s(e):o(e,t(e))}}var o=n(825),a=n(111),i=n(161),s=n(826),u="[object Map]",c="[object Set]";t.exports=r},function(t,e,n){function r(t,e){return o(e,function(e){return[e,t[e]]})}var o=n(56);t.exports=r},function(t,e){function n(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=[t,t]}),n}t.exports=n},function(t,e,n){"use strict";var r=n(828);n.d(e,"a",function(){return r.a})},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var i=n(20),s=n.n(i),u=n(0),c=n.n(u),l=n(1),f=n.n(l),p=n(3),h=n(829),d=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),y={endAngle:360,height:400,innerRadius:0,cornerRadius:0,padAngle:0,padding:30,width:400,startAngle:0,colorScale:["#ffffff","#f0f0f0","#d9d9d9","#bdbdbd","#969696","#737373","#525252","#252525","#000000"]},g=["data","endAngle","height","innerRadius","cornerRadius","padAngle","padding","colorScale","startAngle","style","width"],m=function(t){function e(){return r(this,e),o(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return a(e,t),d(e,[{key:"shouldAnimate",value:function(){return Boolean(this.props.animate)}},{key:"render",value:function(){var t=this.constructor.role,e=p.o.modifyProps(this.props,y,t);if(this.shouldAnimate())return this.animateComponent(e,g);var n=this.renderData(e);return e.standalone?this.renderContainer(e.containerComponent,n):n}}]),e}(c.a.Component);m.displayName="VictoryPie",m.defaultTransitions={onExit:{duration:500,before:function(){return{_y:0,label:" "}}},onEnter:{duration:500,before:function(){return{_y:0,label:" "}},after:function(t){return{y_:t._y,label:t.label}}}},m.propTypes={animate:f.a.oneOfType([f.a.bool,f.a.object]),colorScale:f.a.oneOfType([f.a.arrayOf(f.a.string),f.a.oneOf(["grayscale","qualitative","heatmap","warm","cool","red","green","blue"])]),containerComponent:f.a.element,cornerRadius:p.u.nonNegative,data:f.a.array,dataComponent:f.a.element,endAngle:f.a.number,eventKey:f.a.oneOfType([f.a.func,p.u.allOfType([p.u.integer,p.u.nonNegative]),f.a.string]),events:f.a.arrayOf(f.a.shape({target:f.a.oneOf(["data","labels","parent"]),eventKey:f.a.oneOfType([f.a.func,p.u.allOfType([p.u.integer,p.u.nonNegative]),f.a.string]),eventHandlers:f.a.object})),groupComponent:f.a.element,height:p.u.nonNegative,innerRadius:p.u.nonNegative,labelComponent:f.a.element,labelRadius:f.a.oneOfType([p.u.nonNegative,f.a.func]),labels:f.a.oneOfType([f.a.func,f.a.array]),name:f.a.string,padAngle:p.u.nonNegative,padding:f.a.oneOfType([f.a.number,f.a.shape({top:f.a.number,bottom:f.a.number,left:f.a.number,right:f.a.number})]),sharedEvents:f.a.shape({events:f.a.array,getEventState:f.a.func}),sortKey:f.a.oneOfType([f.a.func,p.u.allOfType([p.u.integer,p.u.nonNegative]),f.a.string,f.a.arrayOf(f.a.string)]),standalone:f.a.bool,startAngle:f.a.number,style:f.a.shape({parent:f.a.object,data:f.a.object,labels:f.a.object}),theme:f.a.object,width:p.u.nonNegative,x:f.a.oneOfType([f.a.func,p.u.allOfType([p.u.integer,p.u.nonNegative]),f.a.string,f.a.arrayOf(f.a.string)]),y:f.a.oneOfType([f.a.func,p.u.allOfType([p.u.integer,p.u.nonNegative]),f.a.string,f.a.arrayOf(f.a.string)])},m.defaultProps={data:[{x:"A",y:1},{x:"B",y:2},{x:"C",y:3},{x:"D",y:1},{x:"E",y:2}],standalone:!0,dataComponent:c.a.createElement(p.x,null),labelComponent:c.a.createElement(p.E,null),containerComponent:c.a.createElement(p.D,null),groupComponent:c.a.createElement("g",null),theme:p.I.grayscale},m.getBaseProps=s()(h.a.getBaseProps.bind(h.a),y),m.getData=p.i.getData.bind(p.i),m.expectedComponents=["dataComponent","labelComponent","groupComponent","containerComponent"],e.a=Object(p.M)(m)},function(t,e,n){"use strict";var r=n(29),o=n.n(r),a=n(9),i=n.n(a),s=n(5),u=n.n(s),c=n(4),l=n.n(c),f=n(126),p=n(3);e.a={degreesToRadians:function(t){return t*(Math.PI/180)},checkForValidText:function(t){return void 0===t||null===t?t:""+t},getSliceStyle:function(t,e,n){var r=n.style,a=n.colors,i=this.getColor(r,a,e),s=o()(t,["_x","_y","x","y","label"]);return u()({},s,{fill:i},r.data)},getBaseProps:function(t,e){t=p.o.modifyProps(t,e,"pie");for(var n=this.getCalculatedValues(t),r=n.slices,o=n.style,a=n.pathFunction,i=n.data,s=n.origin,u={parent:{standalone:t.standalone,slices:r,pathFunction:a,width:t.width,height:t.height,style:o.parent}},c=0,l=r.length;c<l;c++){var f=r[c],h=i[c],d=h.eventKey||c,y={index:c,slice:f,pathFunction:a,datum:h,data:i,origin:s,style:this.getSliceStyle(h,c,n)};u[d]={data:y,labels:this.getLabelProps(t,y,n)}}return u},getLabelProps:function(t,e,n){var r=e.index,o=e.datum,a=e.data,i=e.slice,s=n.style,u=n.radius,c=n.origin,f=p.o.evaluateStyle(l()({padding:0},s.labels),o,t.active),h=p.o.evaluateProp(t.labelRadius,o),d=this.getLabelPosition(u,h,f),y=d.centroid(i),g=this.getLabelOrientation(i);return{index:r,datum:o,data:a,slice:i,orientation:g,style:f,x:Math.round(y[0])+c.x,y:Math.round(y[1])+c.y,text:this.getLabelText(t,o,r),textAnchor:f.textAnchor||this.getTextAnchor(g),verticalAnchor:f.verticalAnchor||this.getVerticalAnchor(g),angle:f.angle}},getCalculatedValues:function(t){var e=t.theme,n=t.colorScale,r=t.width,o=t.height,a=e&&e.pie&&e.pie.style?e.pie.style:{},i=p.o.getStyles(t.style,a,"auto","100%"),s=Array.isArray(n)?n:p.y.getColorScale(n),u=p.o.getPadding(t),c=this.getRadius(t,u),l=(c+u.left+(r-c-u.right))/2,h=(c+u.top+(o-c-u.bottom))/2,d={x:l,y:h},y=p.i.getData(t);return{style:i,colors:s,padding:u,radius:c,data:y,slices:this.getSlices(t,y),pathFunction:f.arc().cornerRadius(t.cornerRadius).outerRadius(c).innerRadius(t.innerRadius),origin:d}},getColor:function(t,e,n){return t&&t.data&&t.data.fill?t.data.fill:e&&e[n%e.length]},getRadius:function(t,e){return Math.min(t.width-e.left-e.right,t.height-e.top-e.bottom)/2},getLabelPosition:function(t,e,n){var r=n&&n.padding||0,o=e||t+r;return f.arc().outerRadius(o).innerRadius(o)},getLabelOrientation:function(t){var e=function(t){return t*(180/Math.PI)},n=e(t.startAngle),r=e(t.endAngle),o=n+(r-n)/2;return o<45||o>315?"top":o>=45&&o<135?"right":o>=135&&o<225?"bottom":"left"},getTextAnchor:function(t){return"top"===t||"bottom"===t?"middle":"right"===t?"start":"end"},getVerticalAnchor:function(t){return"left"===t||"right"===t?"middle":"bottom"===t?"start":"end"},getLabelText:function(t,e,n){var r=void 0;return r=e.label?e.label:Array.isArray(t.labels)?t.labels[n]:i()(t.labels)?t.labels(e):e.xName||e._x,this.checkForValidText(r)},getSlices:function(t,e){return f.pie().sort(null).startAngle(this.degreesToRadians(t.startAngle)).endAngle(this.degreesToRadians(t.endAngle)).padAngle(this.degreesToRadians(t.padAngle)).value(function(t){return t._y})(e)}}},function(t,e,n){var r=n(831);"string"==typeof r&&(r=[[t.i,r,""]]);n(54)(r,{});r.locals&&(t.exports=r.locals)},function(t,e,n){e=t.exports=n(53)(),e.push([t.i,".widget__progress{background-color:#9c4274}.widget__progress .widget__value{padding-top:1.7rem;font-size:3rem}.widget__progress .progress{position:absolute;top:58px;width:160px;height:160px;left:calc(50% - 80px)}",""])}],[383]);